@arcgis/map-components 4.32.0-next.23 → 4.32.0-next.25
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/arcgis-map-components/{KOWHGXFS.js → 2V6TDXZC.js} +2 -2
- package/dist/arcgis-map-components/3VCQ73US.js +6 -0
- package/dist/arcgis-map-components/4AKL7I3J.js +6 -0
- package/dist/arcgis-map-components/{EKC43WOL.js → 4HN2M5A4.js} +2 -2
- package/dist/arcgis-map-components/{FDQCVQC2.js → 5KL5PX4W.js} +2 -2
- package/dist/arcgis-map-components/{COHYFVYI.js → 5RZFLRFC.js} +2 -2
- package/dist/arcgis-map-components/{JUP57YWU.js → 5TUYG6UO.js} +2 -2
- package/dist/arcgis-map-components/{6YYP7GTC.js → 5XADOERC.js} +2 -2
- package/dist/arcgis-map-components/{UTVFQSTD.js → 6GV3BF2U.js} +2 -2
- package/dist/arcgis-map-components/6IAZTH2X.js +6 -0
- package/dist/arcgis-map-components/{ZJSXZB7R.js → 7EI5FVO2.js} +2 -2
- package/dist/arcgis-map-components/{MIDWVT5J.js → 7GDHGRPL.js} +2 -2
- package/dist/arcgis-map-components/{J5FC7PZ3.js → AJUCORAY.js} +2 -2
- package/dist/arcgis-map-components/{I4WZXHD5.js → AWAMC7M7.js} +2 -2
- package/dist/arcgis-map-components/AX2U6SJI.js +6 -0
- package/dist/arcgis-map-components/BDCLGECO.js +6 -0
- package/dist/arcgis-map-components/{VHHUJVWN.js → BHHZM3KT.js} +1 -1
- package/dist/arcgis-map-components/BPI5EIN5.js +6 -0
- package/dist/arcgis-map-components/CXYQRMFF.js +6 -0
- package/dist/arcgis-map-components/DJCWQ36F.js +8 -0
- package/dist/arcgis-map-components/{IO7OUDSX.js → DOU5CN6D.js} +2 -2
- package/dist/arcgis-map-components/{JGOESNEX.js → EYRQS6E5.js} +2 -2
- package/dist/arcgis-map-components/{PKBN2JWN.js → F2FTDLSG.js} +2 -2
- package/dist/arcgis-map-components/{YOCFU6OH.js → F5NT6QSV.js} +2 -2
- package/dist/arcgis-map-components/{EQKHOCZE.js → F7KFR63Y.js} +2 -2
- package/dist/arcgis-map-components/FLRJ4XRG.js +6 -0
- package/dist/arcgis-map-components/FOJSDUGR.js +6 -0
- package/dist/arcgis-map-components/FOQJI6GR.js +6 -0
- package/dist/arcgis-map-components/GUH4D5CE.js +6 -0
- package/dist/arcgis-map-components/HBMFHCC2.js +6 -0
- package/dist/arcgis-map-components/{UKBOVAO5.js → IDATKO2W.js} +2 -2
- package/dist/arcgis-map-components/{QQ5HLWDO.js → IKSNWJDV.js} +2 -2
- package/dist/arcgis-map-components/IX3UYD7N.js +6 -0
- package/dist/arcgis-map-components/{WFYPKHEZ.js → IZB4UG72.js} +2 -2
- package/dist/arcgis-map-components/{3BRNZFOI.js → J3SZZZRS.js} +2 -2
- package/dist/arcgis-map-components/{5YDFCE7J.js → J6P2DVBZ.js} +2 -2
- package/dist/arcgis-map-components/JGIXQ6ZZ.js +6 -0
- package/dist/arcgis-map-components/{RE7EMVVO.js → JXGSY4IM.js} +2 -2
- package/dist/arcgis-map-components/KJP2RBTV.js +6 -0
- package/dist/arcgis-map-components/KLP4HI6P.js +6 -0
- package/dist/arcgis-map-components/{YJMXTBOI.js → KV52L53Q.js} +1 -1
- package/dist/arcgis-map-components/{GTFCFONC.js → L24CORRA.js} +2 -2
- package/dist/arcgis-map-components/{GGUHE3LB.js → MO7SI74O.js} +2 -2
- package/dist/arcgis-map-components/O4CBOLN4.js +6 -0
- package/dist/arcgis-map-components/OANKEY7T.js +6 -0
- package/dist/arcgis-map-components/OT2S6U2U.js +6 -0
- package/dist/arcgis-map-components/{ZCXDEK3V.js → OVXD2F5L.js} +2 -2
- package/dist/arcgis-map-components/P5QCW366.js +6 -0
- package/dist/arcgis-map-components/{P4PYNNDH.js → PDKWAJAP.js} +2 -2
- package/dist/arcgis-map-components/{Y5WNEFOJ.js → Q7G6LWSY.js} +2 -2
- package/dist/arcgis-map-components/{TEQFX3CM.js → QML55D55.js} +2 -2
- package/dist/arcgis-map-components/{7JSNG7XL.js → QZFJBJQB.js} +2 -2
- package/dist/arcgis-map-components/{CLLTAYPK.js → R2UBH2E7.js} +2 -2
- package/dist/arcgis-map-components/{5ZINSNNT.js → RXEZ2OAT.js} +2 -2
- package/dist/arcgis-map-components/RYLT3WGY.js +6 -0
- package/dist/arcgis-map-components/{A2X5YVRZ.js → SAMGWDTY.js} +2 -2
- package/dist/arcgis-map-components/{XKHEU6ST.js → SZDIYNS2.js} +2 -2
- package/dist/arcgis-map-components/T4C4VCPD.js +6 -0
- package/dist/arcgis-map-components/{QNBFKTDD.js → TARTJJIL.js} +2 -2
- package/dist/arcgis-map-components/{T26HFJLF.js → TH7N6NGA.js} +2 -2
- package/dist/arcgis-map-components/{2F2V6HGD.js → TTM4SKYR.js} +2 -2
- package/dist/arcgis-map-components/UKEBBRQC.js +6 -0
- package/dist/arcgis-map-components/V45DA7FI.js +6 -0
- package/dist/arcgis-map-components/V5WYWLPT.js +6 -0
- package/dist/arcgis-map-components/{CJANHVSX.js → VJJESJWB.js} +2 -2
- package/dist/arcgis-map-components/{YDTAIZN3.js → VV4STQCF.js} +2 -2
- package/dist/arcgis-map-components/{OHAKKE3S.js → XNTST7SA.js} +2 -2
- package/dist/arcgis-map-components/{C4TJFQ6S.js → YGUHGWW6.js} +2 -2
- package/dist/arcgis-map-components/{DRWVF6S5.js → YWJECO5Y.js} +2 -2
- package/dist/arcgis-map-components/{NXQFXSB5.js → Z77DBLNK.js} +2 -2
- package/dist/arcgis-map-components/ZG2VSQDP.js +6 -0
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/basemap-gallery-item.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +19 -0
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +8 -1
- package/dist/components/arcgis-home/customElement.js +26 -10089
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +6 -1
- package/dist/components/arcgis-map/customElement.js +8 -8
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +8 -1
- package/dist/components/arcgis-scene/customElement.js +7 -7
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +107 -66
- package/dist/docs/docs.json +55 -10
- package/dist/docs/vscode.html-custom-data.json +4 -1
- package/dist/docs/web-types.json +23 -7
- package/dist/index.d.ts +61 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +6 -5
- package/dist/types/preact.d.ts +5 -5
- package/dist/types/react.d.ts +6 -6
- package/dist/types/stencil.d.ts +5 -4
- package/package.json +5 -5
- package/dist/arcgis-map-components/2GO72YU3.js +0 -6
- package/dist/arcgis-map-components/3HGOKDRP.js +0 -6
- package/dist/arcgis-map-components/467LZTCZ.js +0 -6
- package/dist/arcgis-map-components/5ALVCF6N.js +0 -6
- package/dist/arcgis-map-components/5EPFFKIJ.js +0 -6
- package/dist/arcgis-map-components/5NW3KNL4.js +0 -6
- package/dist/arcgis-map-components/6IQ5UUWE.js +0 -6
- package/dist/arcgis-map-components/6Q55WXV6.js +0 -6
- package/dist/arcgis-map-components/AACE67ZX.js +0 -6
- package/dist/arcgis-map-components/AOR2Y4SU.js +0 -6
- package/dist/arcgis-map-components/BMOKKYTA.js +0 -6
- package/dist/arcgis-map-components/CMWST2HY.js +0 -6
- package/dist/arcgis-map-components/D5RR3SKN.js +0 -6
- package/dist/arcgis-map-components/KRSZTRE4.js +0 -6
- package/dist/arcgis-map-components/N52H4H5T.js +0 -6
- package/dist/arcgis-map-components/NMPQ7DBC.js +0 -6
- package/dist/arcgis-map-components/PF3QG77B.js +0 -6
- package/dist/arcgis-map-components/QYEDV3XN.js +0 -6
- package/dist/arcgis-map-components/ROKRHTKK.js +0 -6
- package/dist/arcgis-map-components/SPXAHAFL.js +0 -6
- package/dist/arcgis-map-components/SRC5FGW4.js +0 -8
- package/dist/arcgis-map-components/V2VAQUBJ.js +0 -6
- package/dist/arcgis-map-components/V364OQWA.js +0 -203
- package/dist/arcgis-map-components/VHMYXI6J.js +0 -6
- package/dist/arcgis-map-components/VIF4AHYD.js +0 -6
- package/dist/arcgis-map-components/XB4O2ELS.js +0 -6
- package/dist/arcgis-map-components/XWZLPHBR.js +0 -6
- package/dist/arcgis-map-components/YS23TDDC.js +0 -6
package/dist/types/lumina.d.ts
CHANGED
@@ -63,9 +63,10 @@ type EventHandler<E> = { bivarianceHack(event: E): void }["bivarianceHack"];
|
|
63
63
|
|
64
64
|
type TargetedEvent<Target extends EventTarget = EventTarget, TypedEvent extends Event = Event> = Omit<
|
65
65
|
TypedEvent,
|
66
|
-
"currentTarget"
|
66
|
+
"currentTarget" | "target"
|
67
67
|
> & {
|
68
68
|
readonly currentTarget: Target;
|
69
|
+
readonly target: Target;
|
69
70
|
};
|
70
71
|
|
71
72
|
interface LuminaArcgisAreaMeasurement2d extends Partial<Pick<ArcgisAreaMeasurement2d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, h.JSX.HTMLAttributes<HTMLArcgisAreaMeasurement2dElement> {
|
@@ -141,7 +142,7 @@ interface LuminaArcgisDirections extends Partial<Pick<ArcgisDirections, 'apiKey'
|
|
141
142
|
onarcgisReady?: EventHandler<TargetedEvent<HTMLArcgisDirectionsElement, CustomEvent<ArcgisDirections["arcgisReady"]["detail"]>>>;
|
142
143
|
}
|
143
144
|
|
144
|
-
interface
|
145
|
+
interface LuminaArcgisDirectlineMeasurement3d extends Partial<Pick<ArcgisDirectLineMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, h.JSX.HTMLAttributes<HTMLArcgisDirectlineMeasurement3dElement> {
|
145
146
|
onarcgisPropertyChange?: EventHandler<TargetedEvent<HTMLArcgisDirectlineMeasurement3dElement, CustomEvent<ArcgisDirectLineMeasurement3d["arcgisPropertyChange"]["detail"]>>>;
|
146
147
|
onarcgisReady?: EventHandler<TargetedEvent<HTMLArcgisDirectlineMeasurement3dElement, CustomEvent<ArcgisDirectLineMeasurement3d["arcgisReady"]["detail"]>>>;
|
147
148
|
}
|
@@ -248,7 +249,7 @@ interface LuminaArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDisa
|
|
248
249
|
onarcgisSuccess?: EventHandler<TargetedEvent<HTMLArcgisLocateElement, CustomEvent<ArcgisLocate["arcgisSuccess"]["detail"]>>>;
|
249
250
|
}
|
250
251
|
|
251
|
-
interface LuminaArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisMapElement> {
|
252
|
+
interface LuminaArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'highlights' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisMapElement> {
|
252
253
|
onarcgisViewChange?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewChange"]["detail"]>>>;
|
253
254
|
onarcgisViewClick?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewClick"]["detail"]>>>;
|
254
255
|
onarcgisViewDoubleClick?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewDoubleClick"]["detail"]>>>;
|
@@ -306,7 +307,7 @@ interface LuminaArcgisScaleRangeSlider extends Partial<Pick<ArcgisScaleRangeSlid
|
|
306
307
|
onarcgisReady?: EventHandler<TargetedEvent<HTMLArcgisScaleRangeSliderElement, CustomEvent<ArcgisScaleRangeSlider["arcgisReady"]["detail"]>>>;
|
307
308
|
}
|
308
309
|
|
309
|
-
interface LuminaArcgisScene extends Partial<Pick<ArcgisScene, 'allLayerViews' | 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisSceneElement> {
|
310
|
+
interface LuminaArcgisScene extends Partial<Pick<ArcgisScene, 'allLayerViews' | 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'highlights' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisSceneElement> {
|
310
311
|
onarcgisViewChange?: EventHandler<TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewChange"]["detail"]>>>;
|
311
312
|
onarcgisViewClick?: EventHandler<TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewClick"]["detail"]>>>;
|
312
313
|
onarcgisViewDoubleClick?: EventHandler<TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewDoubleClick"]["detail"]>>>;
|
@@ -461,7 +462,7 @@ declare module "@arcgis/lumina" {
|
|
461
462
|
"arcgis-daylight": LuminaArcgisDaylight;
|
462
463
|
"arcgis-directional-pad": LuminaArcgisDirectionalPad;
|
463
464
|
"arcgis-directions": LuminaArcgisDirections;
|
464
|
-
"arcgis-directline-measurement-3d":
|
465
|
+
"arcgis-directline-measurement-3d": LuminaArcgisDirectlineMeasurement3d;
|
465
466
|
"arcgis-distance-measurement-2d": LuminaArcgisDistanceMeasurement2d;
|
466
467
|
"arcgis-editor": LuminaArcgisEditor;
|
467
468
|
"arcgis-elevation-profile": LuminaArcgisElevationProfile;
|
package/dist/types/preact.d.ts
CHANGED
@@ -132,7 +132,7 @@ interface PreactArcgisDirections extends Partial<Pick<ArcgisDirections, 'apiKey'
|
|
132
132
|
onarcgisReady?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisDirectionsElement, CustomEvent<ArcgisDirections["arcgisReady"]["detail"]>>>;
|
133
133
|
}
|
134
134
|
|
135
|
-
interface
|
135
|
+
interface PreactArcgisDirectlineMeasurement3d extends Partial<Pick<ArcgisDirectLineMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, PreactJsx.HTMLAttributes<HTMLArcgisDirectlineMeasurement3dElement> {
|
136
136
|
onarcgisPropertyChange?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisDirectlineMeasurement3dElement, CustomEvent<ArcgisDirectLineMeasurement3d["arcgisPropertyChange"]["detail"]>>>;
|
137
137
|
onarcgisReady?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisDirectlineMeasurement3dElement, CustomEvent<ArcgisDirectLineMeasurement3d["arcgisReady"]["detail"]>>>;
|
138
138
|
}
|
@@ -239,7 +239,7 @@ interface PreactArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDisa
|
|
239
239
|
onarcgisSuccess?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisLocateElement, CustomEvent<ArcgisLocate["arcgisSuccess"]["detail"]>>>;
|
240
240
|
}
|
241
241
|
|
242
|
-
interface PreactArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisMapElement> {
|
242
|
+
interface PreactArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'highlights' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisMapElement> {
|
243
243
|
onarcgisViewChange?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewChange"]["detail"]>>>;
|
244
244
|
onarcgisViewClick?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewClick"]["detail"]>>>;
|
245
245
|
onarcgisViewDoubleClick?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewDoubleClick"]["detail"]>>>;
|
@@ -297,7 +297,7 @@ interface PreactArcgisScaleRangeSlider extends Partial<Pick<ArcgisScaleRangeSlid
|
|
297
297
|
onarcgisReady?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisScaleRangeSliderElement, CustomEvent<ArcgisScaleRangeSlider["arcgisReady"]["detail"]>>>;
|
298
298
|
}
|
299
299
|
|
300
|
-
interface PreactArcgisScene extends Partial<Pick<ArcgisScene, 'allLayerViews' | 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisSceneElement> {
|
300
|
+
interface PreactArcgisScene extends Partial<Pick<ArcgisScene, 'allLayerViews' | 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'highlights' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisSceneElement> {
|
301
301
|
onarcgisViewChange?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewChange"]["detail"]>>>;
|
302
302
|
onarcgisViewClick?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewClick"]["detail"]>>>;
|
303
303
|
onarcgisViewDoubleClick?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewDoubleClick"]["detail"]>>>;
|
@@ -452,7 +452,7 @@ declare module 'preact' {
|
|
452
452
|
"arcgis-daylight": PreactArcgisDaylight;
|
453
453
|
"arcgis-directional-pad": PreactArcgisDirectionalPad;
|
454
454
|
"arcgis-directions": PreactArcgisDirections;
|
455
|
-
"arcgis-directline-measurement-3d":
|
455
|
+
"arcgis-directline-measurement-3d": PreactArcgisDirectlineMeasurement3d;
|
456
456
|
"arcgis-distance-measurement-2d": PreactArcgisDistanceMeasurement2d;
|
457
457
|
"arcgis-editor": PreactArcgisEditor;
|
458
458
|
"arcgis-elevation-profile": PreactArcgisElevationProfile;
|
@@ -514,7 +514,7 @@ declare module 'preact' {
|
|
514
514
|
"arcgis-daylight": PreactArcgisDaylight;
|
515
515
|
"arcgis-directional-pad": PreactArcgisDirectionalPad;
|
516
516
|
"arcgis-directions": PreactArcgisDirections;
|
517
|
-
"arcgis-directline-measurement-3d":
|
517
|
+
"arcgis-directline-measurement-3d": PreactArcgisDirectlineMeasurement3d;
|
518
518
|
"arcgis-distance-measurement-2d": PreactArcgisDistanceMeasurement2d;
|
519
519
|
"arcgis-editor": PreactArcgisEditor;
|
520
520
|
"arcgis-elevation-profile": PreactArcgisElevationProfile;
|
package/dist/types/react.d.ts
CHANGED
@@ -146,7 +146,7 @@ interface ReactArcgisDirections extends Partial<Pick<ArcgisDirections, 'apiKey'
|
|
146
146
|
onarcgisReady?: EventHandler<SyntheticEvent<HTMLArcgisDirectionsElement, CustomEvent<ArcgisDirections["arcgisReady"]["detail"]>>>;
|
147
147
|
}
|
148
148
|
|
149
|
-
interface
|
149
|
+
interface ReactArcgisDirectlineMeasurement3d extends Partial<Pick<ArcgisDirectLineMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, HTMLAttributes<HTMLArcgisDirectlineMeasurement3dElement> {
|
150
150
|
ref?: Ref<HTMLArcgisDirectlineMeasurement3dElement>;
|
151
151
|
onarcgisPropertyChange?: EventHandler<SyntheticEvent<HTMLArcgisDirectlineMeasurement3dElement, CustomEvent<ArcgisDirectLineMeasurement3d["arcgisPropertyChange"]["detail"]>>>;
|
152
152
|
onarcgisReady?: EventHandler<SyntheticEvent<HTMLArcgisDirectlineMeasurement3dElement, CustomEvent<ArcgisDirectLineMeasurement3d["arcgisReady"]["detail"]>>>;
|
@@ -272,7 +272,7 @@ interface ReactArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDisab
|
|
272
272
|
onarcgisSuccess?: EventHandler<SyntheticEvent<HTMLArcgisLocateElement, CustomEvent<ArcgisLocate["arcgisSuccess"]["detail"]>>>;
|
273
273
|
}
|
274
274
|
|
275
|
-
interface ReactArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, HTMLAttributes<HTMLArcgisMapElement> {
|
275
|
+
interface ReactArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'highlights' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, HTMLAttributes<HTMLArcgisMapElement> {
|
276
276
|
ref?: Ref<HTMLArcgisMapElement>;
|
277
277
|
onarcgisViewChange?: EventHandler<SyntheticEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewChange"]["detail"]>>>;
|
278
278
|
onarcgisViewClick?: EventHandler<SyntheticEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewClick"]["detail"]>>>;
|
@@ -338,7 +338,7 @@ interface ReactArcgisScaleRangeSlider extends Partial<Pick<ArcgisScaleRangeSlide
|
|
338
338
|
onarcgisReady?: EventHandler<SyntheticEvent<HTMLArcgisScaleRangeSliderElement, CustomEvent<ArcgisScaleRangeSlider["arcgisReady"]["detail"]>>>;
|
339
339
|
}
|
340
340
|
|
341
|
-
interface ReactArcgisScene extends Partial<Pick<ArcgisScene, 'allLayerViews' | 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, HTMLAttributes<HTMLArcgisSceneElement> {
|
341
|
+
interface ReactArcgisScene extends Partial<Pick<ArcgisScene, 'allLayerViews' | 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'highlights' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, HTMLAttributes<HTMLArcgisSceneElement> {
|
342
342
|
ref?: Ref<HTMLArcgisSceneElement>;
|
343
343
|
onarcgisViewChange?: EventHandler<SyntheticEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewChange"]["detail"]>>>;
|
344
344
|
onarcgisViewClick?: EventHandler<SyntheticEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewClick"]["detail"]>>>;
|
@@ -510,7 +510,7 @@ declare module "react" {
|
|
510
510
|
"arcgis-daylight": ReactArcgisDaylight;
|
511
511
|
"arcgis-directional-pad": ReactArcgisDirectionalPad;
|
512
512
|
"arcgis-directions": ReactArcgisDirections;
|
513
|
-
"arcgis-directline-measurement-3d":
|
513
|
+
"arcgis-directline-measurement-3d": ReactArcgisDirectlineMeasurement3d;
|
514
514
|
"arcgis-distance-measurement-2d": ReactArcgisDistanceMeasurement2d;
|
515
515
|
"arcgis-editor": ReactArcgisEditor;
|
516
516
|
"arcgis-elevation-profile": ReactArcgisElevationProfile;
|
@@ -574,7 +574,7 @@ declare module "react/jsx-runtime" {
|
|
574
574
|
"arcgis-daylight": ReactArcgisDaylight;
|
575
575
|
"arcgis-directional-pad": ReactArcgisDirectionalPad;
|
576
576
|
"arcgis-directions": ReactArcgisDirections;
|
577
|
-
"arcgis-directline-measurement-3d":
|
577
|
+
"arcgis-directline-measurement-3d": ReactArcgisDirectlineMeasurement3d;
|
578
578
|
"arcgis-distance-measurement-2d": ReactArcgisDistanceMeasurement2d;
|
579
579
|
"arcgis-editor": ReactArcgisEditor;
|
580
580
|
"arcgis-elevation-profile": ReactArcgisElevationProfile;
|
@@ -638,7 +638,7 @@ declare module "react/jsx-dev-runtime" {
|
|
638
638
|
"arcgis-daylight": ReactArcgisDaylight;
|
639
639
|
"arcgis-directional-pad": ReactArcgisDirectionalPad;
|
640
640
|
"arcgis-directions": ReactArcgisDirections;
|
641
|
-
"arcgis-directline-measurement-3d":
|
641
|
+
"arcgis-directline-measurement-3d": ReactArcgisDirectlineMeasurement3d;
|
642
642
|
"arcgis-distance-measurement-2d": ReactArcgisDistanceMeasurement2d;
|
643
643
|
"arcgis-editor": ReactArcgisEditor;
|
644
644
|
"arcgis-elevation-profile": ReactArcgisElevationProfile;
|
package/dist/types/stencil.d.ts
CHANGED
@@ -63,9 +63,10 @@ type EventHandler<E> = { bivarianceHack(event: E): void }["bivarianceHack"];
|
|
63
63
|
|
64
64
|
type TargetedEvent<Target extends EventTarget = EventTarget, TypedEvent extends Event = Event> = Omit<
|
65
65
|
TypedEvent,
|
66
|
-
"currentTarget"
|
66
|
+
"currentTarget" | "target"
|
67
67
|
> & {
|
68
68
|
readonly currentTarget: Target;
|
69
|
+
readonly target: Target;
|
69
70
|
};
|
70
71
|
|
71
72
|
interface StencilArcgisAreaMeasurement2d extends Partial<Pick<ArcgisAreaMeasurement2d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, StencilJsx.HTMLAttributes<HTMLArcgisAreaMeasurement2dElement> {
|
@@ -248,7 +249,7 @@ interface StencilArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDis
|
|
248
249
|
onArcgisSuccess?: EventHandler<TargetedEvent<HTMLArcgisLocateElement, CustomEvent<ArcgisLocate["arcgisSuccess"]["detail"]>>>;
|
249
250
|
}
|
250
251
|
|
251
|
-
interface StencilArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisMapElement> {
|
252
|
+
interface StencilArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'highlights' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisMapElement> {
|
252
253
|
onArcgisViewChange?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewChange"]["detail"]>>>;
|
253
254
|
onArcgisViewClick?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewClick"]["detail"]>>>;
|
254
255
|
onArcgisViewDoubleClick?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewDoubleClick"]["detail"]>>>;
|
@@ -306,7 +307,7 @@ interface StencilArcgisScaleRangeSlider extends Partial<Pick<ArcgisScaleRangeSli
|
|
306
307
|
onArcgisReady?: EventHandler<TargetedEvent<HTMLArcgisScaleRangeSliderElement, CustomEvent<ArcgisScaleRangeSlider["arcgisReady"]["detail"]>>>;
|
307
308
|
}
|
308
309
|
|
309
|
-
interface StencilArcgisScene extends Partial<Pick<ArcgisScene, 'allLayerViews' | 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisSceneElement> {
|
310
|
+
interface StencilArcgisScene extends Partial<Pick<ArcgisScene, 'allLayerViews' | 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'highlights' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisSceneElement> {
|
310
311
|
onArcgisViewChange?: EventHandler<TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewChange"]["detail"]>>>;
|
311
312
|
onArcgisViewClick?: EventHandler<TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewClick"]["detail"]>>>;
|
312
313
|
onArcgisViewDoubleClick?: EventHandler<TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewDoubleClick"]["detail"]>>>;
|
@@ -459,7 +460,7 @@ interface ExposedElements {
|
|
459
460
|
"arcgis-daylight": StencilArcgisDaylight;
|
460
461
|
"arcgis-directional-pad": StencilArcgisDirectionalPad;
|
461
462
|
"arcgis-directions": StencilArcgisDirections;
|
462
|
-
"arcgis-directline-measurement-3d":
|
463
|
+
"arcgis-directline-measurement-3d": StencilArcgisDirectlineMeasurement3d;
|
463
464
|
"arcgis-distance-measurement-2d": StencilArcgisDistanceMeasurement2d;
|
464
465
|
"arcgis-editor": StencilArcgisEditor;
|
465
466
|
"arcgis-elevation-profile": StencilArcgisElevationProfile;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arcgis/map-components",
|
3
|
-
"version": "4.32.0-next.
|
3
|
+
"version": "4.32.0-next.25",
|
4
4
|
"description": "ArcGIS Map Components",
|
5
5
|
"keywords": [
|
6
6
|
"ArcGIS",
|
@@ -40,10 +40,10 @@
|
|
40
40
|
],
|
41
41
|
"license": "SEE LICENSE IN LICENSE.md",
|
42
42
|
"dependencies": {
|
43
|
-
"@arcgis/components-controllers": "4.32.0-next.
|
44
|
-
"@arcgis/components-utils": "4.32.0-next.
|
45
|
-
"@arcgis/core-adapter": "4.32.0-next.
|
46
|
-
"@arcgis/lumina": "4.32.0-next.
|
43
|
+
"@arcgis/components-controllers": "4.32.0-next.25",
|
44
|
+
"@arcgis/components-utils": "4.32.0-next.25",
|
45
|
+
"@arcgis/core-adapter": "4.32.0-next.25",
|
46
|
+
"@arcgis/lumina": "4.32.0-next.25",
|
47
47
|
"tslib": "^2.7.0"
|
48
48
|
},
|
49
49
|
"peerDependencies": {
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{a as y}from"./YDTAIZN3.js";import"./QQ5HLWDO.js";import{d as s,v as w}from"./GGUHE3LB.js";import{d as c}from"./VHHUJVWN.js";import{D as d,E as n,J as l,g as o,r,s as h}from"./SRC5FGW4.js";var m=h`arcgis-directions{display:block}`,g=y(w),i="map-components:arcgis-directions",a=class extends n{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.apiKey=this.widget.apiKey,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideLayerDetails=this.widget.visibleElements.layerDetails,this.hideSaveAsButton=this.widget.visibleElements.saveAsButton,this.hideSaveButton=this.widget.visibleElements.saveButton,this.icon=this.widget.icon,this.label=this.widget.label,this.lastRoute=this.widget.lastRoute,this.layer=this.widget.layer,this.maxStops=this.widget.maxStops,this.position="bottom-left",this.searchProperties=this.widget.searchProperties,this.state=this.viewModel.state,this.unit=this.widget.unit,this.useDefaultRouteLayer=!1,this.arcgisPropertyChange=r()("lastRoute","state"),this.arcgisReady=d()}static{this.properties={apiKey:1,autoDestroyDisabled:5,headingLevel:9,hideLayerDetails:5,hideSaveAsButton:5,hideSaveButton:5,icon:1,label:1,lastRoute:0,layer:0,maxStops:9,position:1,referenceElement:1,routeLayerItemId:1,searchProperties:0,state:0,unit:1,useDefaultRouteLayer:5}}static{this.shadowRootOptions=o}static{this.styles=m}async destroy(){await this.manager.destroy()}async getDirections(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to get directions`);return await this.widget?.getDirections()}async save(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions`);return await this.widget?.save()}async saveAs(t,e){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions as a Portal Item`);return await this.widget?.saveAs(t,e)}async zoomToRoute(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to zoom to route`);this.widget?.zoomToRoute()}willUpdate(t){if(t.has("routeLayerItemId")){let e=this.routeLayerItemId;c(e)&&!this.useDefaultRouteLayer?(this.widget.view?.map.remove(this.layer),this._setDefaultLayer()):e&&this.widget&&s({portalItem:{id:e}}).then(u=>{this.layer=u,this.widget.view?.map.add(this.layer)}).catch(console.error)}t.has("useDefaultRouteLayer")&&this._setDefaultLayer()}_setDefaultLayer(){this.useDefaultRouteLayer&&!this.routeLayerItemId&&s({}).then(t=>{this.layer=t,this.widget.view?.map.add(this.layer)}).catch(console.error)}};l("arcgis-directions",a);export{a as ArcgisDirections};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{a as n}from"./YDTAIZN3.js";import{d as h}from"./QQ5HLWDO.js";import{F as l}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as o,E as r,J as a,g as e,r as i,s}from"./SRC5FGW4.js";var d=s`arcgis-feature-templates{display:block}`,c=n(l),t=class extends r{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.enableListScroll=this.widget.enableListScroll,this.filterFunction=this.widget.filterFunction,this.filterText=this.widget.filterText,this.groupBy=this.widget.groupBy,this.headingLevel=this.widget.headingLevel,this.hideFilter=this.widget.visibleElements.filter,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.position="bottom-left",this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=o(),this.arcgisSelect=h(()=>this.widget,"select")}static{this.properties={autoDestroyDisabled:5,enableListScroll:5,filterFunction:0,filterText:1,groupBy:1,headingLevel:9,hideFilter:5,icon:1,label:1,layers:0,position:1,referenceElement:1,selectionMode:1,state:3}}static{this.shadowRootOptions=e}static{this.styles=d}async destroy(){await this.manager.destroy()}};a("arcgis-feature-templates",t);export{t as ArcgisFeatureTemplates};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{b as x}from"./P4PYNNDH.js";import{a as $}from"./YJMXTBOI.js";import{a as D,b as S}from"./WFYPKHEZ.js";import"./QQ5HLWDO.js";import{T as B,ja as U,ka as M,ma as R}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as g,E as y,F as a,G as v,J as L,b as d,g as w,p,t as c}from"./SRC5FGW4.js";var r="esri-scale-bar",t={base:r,labelContainer:`${r}__label-container`,rulerLabelContainer:`${r}__label-container--ruler`,lineLabelContainer:`${r}__label-container--line`,topLabelContainer:`${r}__label-container--top`,bottomLabelContainer:`${r}__label-container--bottom`,label:`${r}__label`,line:`${r}__line`,topLine:`${r}__line--top`,bottomLine:`${r}__line--bottom`,ruler:`${r}__ruler`,rulerBlock:`${r}__ruler-block`,barContainer:`${r}__bar-container`,rulerBarContainer:`${r}__bar-container--ruler`,lineBarContainer:`${r}__bar-container--line`};function k(C=0,e=0){return{x:C,y:e}}var O=S(B),f=class extends y{constructor(){super(...arguments),this.intlUtils=p(M),this.messages=D(),this.reactiveUtils=p(U),this._scaleComputedFrom=k(),this.unitUtils=p(R),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.position="top-left",this.arcgisReady=g()}static{this.properties={autoDestroyDisabled:5,barStyle:1,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,unit:1}}static{this.shadowRootOptions=w}get unit(){return this._unit??this._defaultUnit}set unit(e){this._unit=e}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this._defaultUnit=this.unitUtils.getDefaultUnitForView(this.viewModel.view),this.manager.onLifecycle(()=>this.reactiveUtils.watch(()=>{let e=this.viewModel.view;return[e?.stationary,e?.center,e?.scale,e?.zoom]},([e])=>{e&&this.requestUpdate()}))}_handleRootCreateOrUpdate(){if(!this.viewModel)return;let e=this._scaleComputedFrom,s=this.el.getBoundingClientRect(),o=s.left+window.pageXOffset,n=s.top+window.pageYOffset,i=k(o,n);(i.x!==e.x||i.y!==e.y)&&(this._scaleComputedFrom=i)}_formatDistance(e,s){return this.intlUtils.formatNumber(e,{style:"unit",unit:s,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",s={[$.disabled]:e},o,n;if(!e){let{unit:i,barStyle:u}=this,b=i==="imperial"||i==="dual",_=i==="metric"||i==="dual",h=100,m=i==="dual"?"line":u;if(b){let l=this.viewModel.getScaleBarProperties(h,"imperial");l&&(n=m==="ruler"?this._renderRuler(l):this._renderLine(l,"bottom"))}if(_){let l=this.viewModel.getScaleBarProperties(h,"metric");l&&(o=m==="ruler"?this._renderRuler(l):this._renderLine(l,"top"))}}return c`<div class=${a(d(t.base,$.widget,s))} ${x(i=>i?this._handleRootCreateOrUpdate():void 0)}>${o}${n}</div>`}_renderRuler(e){let{length:s,unit:o,value:n}=e,i=Math.round(s),u=this._formatDistance(n,o);return c`<div class=${a(d(t.barContainer,t.rulerBarContainer))}><div class=${a(t.ruler)} style=${v({width:`${i}px`})}><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div></div><div class=${a(d(t.labelContainer,t.rulerLabelContainer))}><div class=${a(t.label)}>0</div><div class=${a(t.label)}>${u}</div></div></div>`}_renderLine(e,s){let{length:o,unit:n,value:i}=e,u=Math.round(o),b=this._formatDistance(i,n),_={[t.topLabelContainer]:s==="top",[t.bottomLabelContainer]:s==="bottom"},h=c`<div class=${a(d(t.labelContainer,t.lineLabelContainer,_))}><div class=${a(t.label)}>${b}</div></div>`,m={[t.topLine]:s==="top",[t.bottomLine]:s==="bottom"},l=c`<div class=${a(d(t.line,m))} style=${v({width:`${u}px`})}></div>`;return c`<div class=${a(d(t.barContainer,t.lineBarContainer))}>${[l,h]}</div>`}};L("arcgis-scale-bar",f);export{f as ArcgisScaleBar};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{a as t}from"./YJMXTBOI.js";import{a as p,b}from"./WFYPKHEZ.js";import"./QQ5HLWDO.js";import{ia as z}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as d,E as h,F as o,H as i,J as u,b as a,g as l,r as n,s as m,t as c}from"./SRC5FGW4.js";var g={base:"esri-zoom",horizontalLayout:"esri-zoom--horizontal"},v=m`arcgis-zoom{display:block}.esri-zoom{display:flex;flex-flow:column nowrap}.esri-zoom .esri-widget--button{box-shadow:none}.esri-zoom .esri-widget--button:first-child{margin-bottom:0}.esri-zoom .esri-widget--button:last-child{border-top:solid 1px var(--calcite-color-border-1)}.esri-zoom.esri-zoom--horizontal{flex-flow:row-reverse nowrap}.esri-zoom.esri-zoom--horizontal .esri-widget--button:last-child{border-top:none}.esri-zoom.esri-zoom--horizontal .esri-widget--button:first-child{border-left:solid 1px var(--calcite-color-border-1)}[dir=rtl] .esri-zoom.esri-zoom--horizontal .esri-widget--button:first-child{border-top:none}[dir=rtl] .esri-zoom.esri-zoom--horizontal .esri-widget--button:last-child{border-left:solid 1px var(--calcite-color-border-1)}`,$=b(z),s=class extends h{constructor(){super(...arguments),this.messages=p({}),this.viewModel=$(this),this.canZoomIn=this.viewModel.canZoomIn,this.canZoomOut=this.viewModel.canZoomOut,this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=n()("state"),this.arcgisReady=d()}static{this.properties={canZoomIn:16,canZoomOut:16,autoDestroyDisabled:5,icon:3,label:1,layout:3,messageOverrides:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=l}static{this.styles=v}async destroy(){await this.manager.destroy()}async zoomIn(){this.viewModel.zoomIn()}async zoomOut(){this.viewModel.zoomOut()}render(){let w={[g.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:f,canZoomOut:y}=this.viewModel,{zoomIn:e,zoomOut:r}=this.messages;return c`<div class=${o(a(g.base,t.widget,w))}><calcite-button class=${o(t.widgetButton)} .disabled=${!f} icon-start=plus kind=neutral .label=${e} @click=${this.zoomIn} title=${e??i}></calcite-button><calcite-button class=${o(t.widgetButton)} .disabled=${!y} icon-start=minus kind=neutral .label=${r} @click=${this.zoomOut} title=${r??i}></calcite-button></div>`}};u("arcgis-zoom",s);export{s as ArcgisZoom};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{a as c}from"./YDTAIZN3.js";import"./QQ5HLWDO.js";import{P as n}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as a,E as o,J as r,g as e,r as i,s}from"./SRC5FGW4.js";var h=s`arcgis-measurement{display:block}`,d=c(n),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.activeWidget=this.widget.activeWidget,this.areaUnit=this.widget.areaUnit,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.linearUnit=this.widget.linearUnit,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=i()("activeTool","state"),this.arcgisReady=a()}static{this.properties={activeTool:1,activeWidget:0,areaUnit:1,autoDestroyDisabled:5,icon:1,label:1,linearUnit:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=e}static{this.styles=h}async clear(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async startMeasurement(){this.widget?.startMeasurement()}};r("arcgis-measurement",t);export{t as ArcgisMeasurement};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{a as c}from"./YDTAIZN3.js";import"./QQ5HLWDO.js";import{U as o}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as a,E as l,J as n,g as i,r as t,s}from"./SRC5FGW4.js";var r=s`arcgis-scale-range-slider{display:block}`,h=c(o),e=class extends l{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.hidePreview=this.widget.visibleElements.preview,this.hideScaleMenusMaxScaleMenu=this.widget.visibleElements.scaleMenus.maxScaleMenu,this.hideScaleMenusMinScaleMenu=this.widget.visibleElements.scaleMenus.minScaleMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.maxScale=this.widget.maxScale,this.maxScaleLimit=this.widget.maxScaleLimit,this.minScale=this.widget.minScale,this.minScaleLimit=this.widget.minScaleLimit,this.mode=this.widget.mode,this.position="bottom-left",this.region=this.widget.region,this.state=this.viewModel.state,this.arcgisPropertyChange=t()("state","minScale","maxScale"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,disabled:7,hidePreview:5,hideScaleMenusMaxScaleMenu:5,hideScaleMenusMinScaleMenu:5,icon:1,label:1,layer:0,maxScale:9,maxScaleLimit:9,minScale:9,minScaleLimit:9,mode:1,position:1,referenceElement:1,region:1,state:3}}static{this.shadowRootOptions=i}static{this.styles=r}async destroy(){await this.manager.destroy()}};n("arcgis-scale-range-slider",e);export{e as ArcgisScaleRangeSlider};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{D as n,E as p,F as L,J as E,g as V,t}from"./SRC5FGW4.js";var g=class extends p{constructor(){super(...arguments),this._arcgisGetVersions=e=>{this.arcgisGetVersions.emit(e.detail)},this._arcgisManageVersion=e=>{this.arcgisManageVersion.emit(e.detail)},this._arcgisNewVersion=e=>{this.arcgisNewVersion.emit(e.detail)},this._versionListEventListeners=new Map,this.arcgisFlowItemBack=n(),this.arcgisFlowItemClose=n(),this.arcgisGetVersions=n(),this.arcgisManageVersion=n(),this.arcgisNewVersion=n()}static{this.properties={serviceItemElementProps:0}}static{this.shadowRootOptions=V}disconnectedCallback(){super.disconnectedCallback(),this._versionList&&this._removeVersionListEventListeners(this._versionList)}_addVersionListEventListeners(e){e.addEventListener("arcgisGetVersions",this._arcgisGetVersions),this._versionListEventListeners.set("arcgisGetVersions",this._arcgisGetVersions),e.addEventListener("arcgisManageVersion",this._arcgisManageVersion),this._versionListEventListeners.set("arcgisManageVersion",this._arcgisManageVersion),e.addEventListener("arcgisNewVersion",this._arcgisNewVersion),this._versionListEventListeners.set("arcgisNewVersion",this._arcgisNewVersion)}_removeVersionListEventListeners(e){for(let[o,c]of this._versionListEventListeners)e.removeEventListener(o,c)}render(){let{serviceItemElementProps:{allowEditing:e,closable:o,currentUser:c,executionError:b,currentVersionIdentifier:l,flowElement:_,hasAdvEditingUte:f,heading:u,isVersionAdministrator:I,isVersioningApiAvailable:w,mode:$,pageSize:x,serviceName:r,serviceUrl:m,state:M,strings:d,versionInfos:a}}=this,{_versionList:s}=this,N=t`<calcite-combobox clear-disabled .label=${r} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${i=>{let k=i.target,A=a.find(C=>C.versionIdentifier.guid===k.value);this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:m,versionInfo:A})}}>${a?a.map(i=>t`<calcite-combobox-item class=${L($==="dialog"?"":"calcite-combobox-item")} .selected=${l.guid===i.versionIdentifier.guid&&l.name===i.versionIdentifier.name} .textLabel=${i.versionIdentifier.name} .value=${i.versionIdentifier.guid}></calcite-combobox-item>`):void 0}</calcite-combobox>`,v,h;return e&&(v=t`<calcite-action .id=${`actionManageVersions_${r}`} icon=list scale=s slot=control text @click=${async()=>{s=document.createElement("arcgis-version-management-version-list"),s.versionListElementProps={closable:o,currentUser:c,currentVersionIdentifier:l,executionError:b,hasAdvEditingUte:f,heading:u,isVersionAdministrator:I,isVersioningApiAvailable:w,pageSize:x,serviceName:r,serviceUrl:m,state:M,strings:d,versionInfos:a},s.addEventListener("calciteFlowItemBack",i=>{i.preventDefault(),this.arcgisFlowItemBack.emit()}),s.addEventListener("calciteFlowItemClose",()=>{this.arcgisFlowItemClose.emit()}),this._addVersionListEventListeners(s),_?.append(s)}}></calcite-action>`,h=t`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${r}`}><span>${d.headers.manageVersions}</span></calcite-tooltip>`),t`<calcite-block open .heading=${r}>${N}${v}${h}</calcite-block>`}};E("arcgis-version-management-service-item",g);export{g as ArcgisVersionManagementServiceItem};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{a as n}from"./YDTAIZN3.js";import"./QQ5HLWDO.js";import{k as h}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as a,E as d,J as o,g as i,r as e,s}from"./SRC5FGW4.js";var r=s`arcgis-attachments{display:block}`,l=n(h),t=class extends d{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.capabilities=this.widget.capabilities,this.displayType=this.widget.displayType,this.graphic=this.widget.graphic,this.hideAddButton=this.widget.visibleElements.addButton,this.hideAddSubmitButton=this.widget.visibleElements.addSubmitButton,this.hideCancelAddButton=this.widget.visibleElements.cancelAddButton,this.hideCancelUpdateButton=this.widget.visibleElements.cancelUpdateButton,this.hideDeleteButton=this.widget.visibleElements.deleteButton,this.hideErrorMessage=this.widget.visibleElements.errorMessage,this.hideProgressBar=this.widget.visibleElements.progressBar,this.hideUpdateButton=this.widget.visibleElements.updateButton,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.submitting=this.widget.submitting,this.arcgisPropertyChange=e()("submitting","state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,capabilities:0,displayType:1,graphic:0,hideAddButton:5,hideAddSubmitButton:5,hideCancelAddButton:5,hideCancelUpdateButton:5,hideDeleteButton:5,hideErrorMessage:5,hideProgressBar:5,hideUpdateButton:5,icon:1,label:1,position:1,referenceElement:1,state:3,submitting:4}}static{this.shadowRootOptions=i}static{this.styles=r}async destroy(){await this.manager.destroy()}};o("arcgis-attachments",t);export{t as ArcgisAttachments};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{a,c as l,d as t}from"./QQ5HLWDO.js";import{e as v,g as m,ja as d}from"./GGUHE3LB.js";import{f as g,g as r}from"./VHHUJVWN.js";import{D as s,E as p,J as c,g as o,p as n,s as w}from"./SRC5FGW4.js";var b=w`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`,_=a(m,{}),f=a(v,{}),h=class extends p{constructor(){super(...arguments),this._map=_(this,{editConstructorProperties:this._editMapProperties}),this.reactiveUtils=n(d),this.view=f(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.constraints=this.view.constraints,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.highlightOptions=this.view.highlightOptions,this.ipsInfo=this._map.ipsInfo,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.arcgisViewChange=s(),this.arcgisViewClick=t(()=>this.view,"click"),this.arcgisViewDoubleClick=t(()=>this.view,"double-click"),this.arcgisViewDrag=t(()=>this.view,"drag"),this.arcgisViewHold=t(()=>this.view,"hold"),this.arcgisViewImmediateClick=t(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=t(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=t(()=>this.view,"key-down"),this.arcgisViewKeyUp=t(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=t(()=>this.view,"layer-view-create"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"layer-view-create-error"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"layer-view-destroy"),this.arcgisViewMouseWheel=t(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=t(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=t(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=t(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=t(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=t(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=s()}static{this.properties={view:32,allLayerViews:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:1,highlightOptions:0,interacting:32,ipsInfo:0,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:0,resizeAlign:1,resolution:8,rotation:9,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,timeZone:1,updating:7,viewpoint:0,zoom:9}}static{this.shadowRootOptions=o}static{this.styles=b}get center(){return this.view.center??this._center}set center(i){let e=r(i,this.ready?this.view:void 0);e&&(this.ready&&(this.view.center=e),this._center=e)}get extent(){return this.view.extent??this._extent}set extent(i){this.view.ready||(this._extent=i),i&&!this.extent?.equals(i)&&(this.view.extent=i)}get gamepad(){return this.ready?this.view.input.gamepad:void 0}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id??this._itemId}set itemId(i){this._itemId=i,this.ready&&l.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error)}get navigating(){return this.view.navigating}get scale(){return this.view.scale??this._scale}set scale(i){this.ready&&(this.view.scale=i),this._scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint??this._viewpoint}set viewpoint(i){g(this.viewpoint,i)&&(this.ready&&(this.view.viewpoint=i),this._viewpoint=i)}get zoom(){return this.view.zoom??this._zoom}set zoom(i){this.ready&&(this.view.zoom=i),this._zoom=i}async addLayer(i,e){this.map?.add(i,e)}async addLayers(i,e){this.map?.addMany(i,e)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,e){return await this.view?.goTo(i,e)}async hitTest(i,e){return await this.view?.hitTest(i,e)}async openPopup(i){await this.view?.openPopup(i)}async takeScreenshot(i){return await this.view?.takeScreenshot(i)}toMap(i){return this.view.toMap(i)}toScreen(i,e){return this.view.toScreen(i,e)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenLayerView(i){return await this.view?.whenLayerView(i)}load(){this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-map"),this.el.append(this.el.childElem),this.view.container??=this.el.childElem}loaded(){let{watch:i}=this.reactiveUtils;this.manager.onLifecycle(()=>[i(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),i(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}_editMapProperties(i){this.map&&(this._map=this.map),this.itemId?i.portalItem={id:this.itemId}:this.basemap?this.basemap==="none"&&(i.basemap=void 0,this.basemap=null):i.basemap="topo-vector";let{basemap:e,...u}=i;e||(i=u);let{ground:y,...V}=i;return y||(i=V),i}async _editViewProperties(i){await this.manager.use(this._map),this.view.ui||(i.ui={components:["attribution"]}),i.map??=this._map;let e=r(this.center,void 0);return e&&(i.center=e),this.viewpoint&&(i.viewpoint=this.viewpoint),this.scale!==void 0&&(i.scale=this.scale),this.extent&&(i.extent=this.extent),this.zoom!==void 0&&(i.zoom=this.zoom),i}};c("arcgis-map",h);export{h as ArcgisMap};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{a as m}from"./YDTAIZN3.js";import{d as n}from"./QQ5HLWDO.js";import{$ as r}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as l,E as a,J as o,g as e,r as i,s}from"./SRC5FGW4.js";var d=s`arcgis-table-list{display:block}`,h=m(r),t=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryTableIndicators=!1,this.arcgisPropertyChange=i()("state"),this.arcgisReady=l(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,visibleElementsCloseButton:5,visibleElementsCollapseButton:5,visibleElementsErrors:5,visibleElementsFilter:5,visibleElementsFlow:5,visibleElementsHeading:5,visibleElementsStatusIndicators:5,visibleElementsTemporaryTableIndicators:5}}static{this.shadowRootOptions=e}static{this.styles=d}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};o("arcgis-table-list",t);export{t as ArcgisTableList};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{a as d}from"./YDTAIZN3.js";import"./QQ5HLWDO.js";import{J as n}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as a,E as r,J as o,g as i,r as e,s}from"./SRC5FGW4.js";var l=s`arcgis-histogram-range-slider{display:block}`,g=d(n),t=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.excludedBarColor=this.widget.excludedBarColor,this.icon=this.widget.icon,this.includedBarColor=this.widget.includedBarColor,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.state=this.viewModel.state,this.values=this.widget.values,this.arcgisPropertyChange=e()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,excludedBarColor:0,icon:1,includedBarColor:0,label:1,labelFormatFunction:0,max:9,min:9,position:1,precision:9,rangeType:1,referenceElement:1,standardDeviation:9,standardDeviationCount:9,state:3,values:0}}static{this.shadowRootOptions=i}static{this.styles=l}async destroy(){await this.manager.destroy()}async generateWhereClause(h){return this.widget.generateWhereClause(h)}};o("arcgis-histogram-range-slider",t);export{t as ArcgisHistogramRangeSlider};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{a as d}from"./YDTAIZN3.js";import{d as e}from"./QQ5HLWDO.js";import{S as n}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as o,E as l,J as h,g as s,r as a,s as r}from"./SRC5FGW4.js";var m=r`arcgis-print{display:block}`,p=d(n),i=class extends l{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.allowedFormats=this.widget.allowedFormats,this.allowedLayouts=this.widget.allowedLayouts,this.autoDestroyDisabled=!1,this.exportedLinks=this.widget.exportedLinks,this.extraParameters=this.widget.extraParameters,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.includeDefaultTemplatesDisabled=this.widget.includeDefaultTemplates,this.label=this.widget.label,this.portal=this.widget.portal,this.position="bottom-left",this.printServiceUrl=this.widget.printServiceUrl,this.showPrintAreaEnabled=this.widget.showPrintAreaEnabled,this.state=this.viewModel.state,this.templateCustomTextElements=this.widget.templateCustomTextElements,this.templateOptions=this.widget.templateOptions,this.arcgisComplete=e(()=>this.widget,"complete"),this.arcgisPropertyChange=a()("state"),this.arcgisReady=o(),this.arcgisSubmit=e(()=>this.widget,"submit")}static{this.properties={allowedFormats:[1,{converter:t=>typeof t=="string"&&t!=="all"?t.split(","):t}],allowedLayouts:[1,{converter:t=>typeof t=="string"&&t!=="all"?t.split(","):t}],autoDestroyDisabled:5,exportedLinks:0,extraParameters:1,headingLevel:9,icon:1,includeDefaultTemplatesDisabled:5,label:1,portal:0,position:1,printServiceUrl:1,referenceElement:1,showPrintAreaEnabled:7,state:3,templateCustomTextElements:0,templateOptions:0}}static{this.shadowRootOptions=s}static{this.styles=m}async destroy(){await this.manager.destroy()}};h("arcgis-print",i);export{i as ArcgisPrint};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{a as o}from"./YJMXTBOI.js";import{a as p,b as f}from"./WFYPKHEZ.js";import"./QQ5HLWDO.js";import{H as g}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as d,E as m,F as i,H as h,J as u,b as r,g as l,r as n,s as c,t as s}from"./SRC5FGW4.js";var v=c`arcgis-fullscreen{display:block}`,M={base:"esri-fullscreen"},$=f(g),a=class extends m{constructor(){super(...arguments),this.messages=p(),this.viewModel=$(this),this.autoDestroyDisabled=!1,this.element=this.viewModel.element,this.icon="zoom-out-fixed",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=n()("state"),this.arcgisReady=d()}static{this.properties={autoDestroyDisabled:5,element:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3}}static{this.shadowRootOptions=l}static{this.styles=v}get fullscreenTitle(){let e=this.viewModel?.state;return e==="active"?this.messages.exit:e==="ready"?this.messages.enter:""}async destroy(){await this.manager.destroy()}_toggle(){this.viewModel.toggle()}render(){let{fullscreenTitle:e,icon:w}=this,t=this.viewModel?.state,b=t==="feature-unsupported",y=t==="ready"||t==="disabled"||t==="feature-unsupported"?"zoom-out-fixed":"zoom-in-fixed";return s`<div class=${i(r(M.base,o.widget))}>${!b&&s`<calcite-button class=${i(o.widgetButton)} .disabled=${t==="disabled"} .iconStart=${w??y} kind=neutral .label=${e} @click=${this._toggle} title=${e??h}></calcite-button>`||""}</div>`}};u("arcgis-fullscreen",a);export{a as ArcgisFullscreen};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{a as h}from"./YDTAIZN3.js";import"./QQ5HLWDO.js";import{R as l,c as n}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as r,E as o,J as d,g as t,r as a,s}from"./SRC5FGW4.js";var y=s`arcgis-oriented-imagery-viewer{display:block}`,c=h(l),e=class extends o{constructor(){super(...arguments),this.widget=c(this),this._hasOrientedImageryLayerToAdd=!1,this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentCoverageVisible=this.widget.currentCoverageVisible,this.disabled=this.widget.disabled,this.galleryOpened=this.widget.galleryOpened,this.icon=this.widget.icon,this.imageEnhancementToolActive=this.widget.imageEnhancementToolActive,this.imageGalleryEnabled=this.widget.imageGalleryEnabled,this.isAdditionalCoverageVisible=this.widget.isAdditionalCoverageVisible,this.isAdditionalPointSourcesVisible=this.widget.isAdditionalPointSourcesVisible,this.label=this.widget.label,this.layer=this.widget.layer,this.mapImageConversionToolState=this.widget.mapImageConversionToolState,this.navigationToolActive=this.widget.navigationToolActive,this.position="bottom-left",this.referencePoint=this.widget.referencePoint,this.arcgisPropertyChange=a()("imageGalleryEnabled","layer"),this.arcgisReady=r()}static{this.properties={autoDestroyDisabled:5,currentCoverageVisible:5,disabled:5,galleryOpened:5,icon:1,imageEnhancementToolActive:5,imageGalleryEnabled:4,isAdditionalCoverageVisible:5,isAdditionalPointSourcesVisible:5,label:1,layer:0,mapImageConversionToolState:5,navigationToolActive:5,orientedImageryLayerItemId:1,position:1,referenceElement:1,referencePoint:0}}static{this.shadowRootOptions=t}static{this.styles=y}async destroy(){await this.manager.destroy()}willUpdate(g){if(g.has("orientedImageryLayerItemId")){let i=this.orientedImageryLayerItemId;i&&this.widget&&n({portalItem:{id:i}}).then(m=>{this.layer=m,this.widget.view?this.widget.view.map.add(this.layer):this._hasOrientedImageryLayerToAdd=!0}).catch(console.error)}}loaded(){this._hasOrientedImageryLayerToAdd&&(this.widget.view?(this.widget.view?.map.add(this.layer),this._hasOrientedImageryLayerToAdd=!1):this.el.addEventListener("arcgisReady",()=>{this.widget.view.map.add(this.layer),this._hasOrientedImageryLayerToAdd=!1},{once:!0}))}};d("arcgis-oriented-imagery-viewer",e);export{e as ArcgisOrientedImageryViewer};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{a as d}from"./YDTAIZN3.js";import{d as h}from"./QQ5HLWDO.js";import{q as r}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as o,E as a,J as l,g as e,r as i,s}from"./SRC5FGW4.js";var n=s`arcgis-catalog-layer-list{display:block}`,c=d(r),t=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.catalogLayer=this.widget.catalogLayer,this.collapsed=this.widget.collapsed,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=i()("state"),this.arcgisReady=o(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,collapsed:7,filterPlaceholder:1,filterText:1,headingLevel:9,hideFlow:5,hideStatusIndicators:5,icon:1,label:1,listItemCreatedFunction:0,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=e}static{this.styles=n}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};l("arcgis-catalog-layer-list",t);export{t as ArcgisCatalogLayerList};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{b as n,c as a,i as c}from"./VHHUJVWN.js";import{D as l,E as o,J as r,g as i,s}from"./SRC5FGW4.js";var h=s`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}`,t=class extends o{constructor(){super(),this._observer=void 0,this.position="bottom-left",this.arcgisReady=l(),this._moveChildren=()=>{if(this.el.childElem.parentElement!==this.el)for(let e=this.el.firstElementChild;e!==null;e=this.el.firstElementChild)this.el.childElem.append(e)},this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-placement__container"),this.listen("arcgisReady",this._startObserving,{once:!0})}static{this.properties={position:1,referenceElement:1}}static{this.shadowRootOptions=i}static{this.styles=h}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&c(this,this.referenceElement),e.has("position")&&this.el.childElem&&this.position!==void 0&&this.el.view?.ui.move(this.el.childElem,this.position)}loaded(){a(this),n(this)}disconnectedCallback(){super.disconnectedCallback(),this.el.childElem&&this.el.view?.ui?.remove(this.el.childElem),this._observer?.disconnect()}_startObserving(){this._moveChildren(),this._observer=new MutationObserver(this._moveChildren),this._observer.observe(this.el,{childList:!0})}};r("arcgis-placement",t);export{t as ArcgisPlacement};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{a as T,b as k}from"./SPXAHAFL.js";import{a as d}from"./YJMXTBOI.js";import{a as E,b as G}from"./WFYPKHEZ.js";import"./QQ5HLWDO.js";import{ja as S,l as U,la as A}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as C,E as I,F as r,G as R,H as m,J as D,K as L,b as p,g as M,p as f,r as B,s as x,t as n}from"./SRC5FGW4.js";var l="esri-basemap-gallery",i={base:l,sourceLoading:`${l}--source-loading`,layoutGrid:`${l}--grid`,narrowItems:`${l}--narrow-items`,loader:`${l}__loader`,item:`${l}__item`,itemContainer:`${l}__item-container`,itemContent:`${l}__item-content`,itemTitle:`${l}__item-title`,itemTagsContainer:`${l}__item-tags-container`,itemThumbnail:`${l}__item-thumbnail`,selectedItem:`${l}__item--selected`,itemError:`${l}__item--error`};function W(t){return t.portalItem?.type==="Web Scene"||t.referenceLayers.some(e=>e.type==="scene")}function q(t){return!!t?.portalItem?.tags?.some(e=>e.toLowerCase()==="beta")}function K({disabled:t,item:e,itemIndex:a,viewModel:s,messages:o,state:c}){let h=e.basemap.thumbnailUrl||L("assets/basemap-gallery/images/basemap-toggle-64.svg"),u=e.basemap.title,g=e.basemap.portalItem?.snippet,$=e.error?.message||g||u,{activeBasemapIndex:y}=s,b=y===a,O=b||y===-1&&a===0?0:-1,P={[i.selectedItem]:b,[i.itemError]:e.state==="error"},_=`basemapgallery-item-${e.uid}`;return n`<div .ariaChecked=${b} .ariaDisabled=${t} aria-labelledby=${_??m} class=${r(p(i.item,P))} data-item=${e??m} data-basemap=${e.basemap.id??m} role=radio tabindex=${O??m} title=${$??m} @click=${()=>{e.state==="ready"&&(s.activeBasemap=e.basemap)}}><img alt class=${r(i.itemThumbnail)} src=${h??m}><div class=${r(i.itemContent)}><div class=${r(i.itemTitle)}><span id=${_??m}>${u}</span></div>${W(e.basemap)?z(e.basemap,o):null}</div>${c==="ready"?null:n`<calcite-scrim><span aria-hidden=true class=${r(d.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`}function z(t,e){return n`<div class=${r(i.itemTagsContainer)}>${V(e)}${q(t)?j(e):null}</div>`}function V(t){return n`<calcite-chip scale=s .value=${t.tag3D}>${t.tag3D}</calcite-chip>`}function j(t){return n`<calcite-chip appearance=outline-fill scale=s .value=${t.tagBeta}>${t.tagBeta}</calcite-chip>`}function F({level:t,class:e,children:a}){let s=N(t),o=`h${s}`,c=T(o);return k`<${c} .ariaLevel=${String(s)} class=${r(p(d.heading,e))} role=heading>${a}</${c}>`}function J(t,e,a){return Math.min(Math.max(t,e),a)}function N(t){return J(Math.ceil(t),1,6)}var Q=x`arcgis-basemap-gallery{display:block}`,X=G(U),v={small:200,default:280,wide:420},w=class extends I{constructor(){super(...arguments),this.messages=E({}),this.viewModel=X(this),this.basemapUtils=f(A),this.reactiveUtils=f(S),this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.disabled=!1,this.headingLevel=2,this.icon="basemap",this.label="",this.position="bottom-left",this.source=this.viewModel.source,this.state=this.viewModel.state,this._width=0,this._state="",this._itemsState="",this.arcgisPropertyChange=B()("activeBasemap","state"),this.arcgisReady=C()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,disabled:7,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,source:0,state:3,_width:16,_state:16,_itemsState:16}}static{this.shadowRootOptions=M}static{this.styles=Q}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[this.reactiveUtils.when(()=>this.source,()=>{this.viewModel.loadSource()},{sync:!0,initial:!0}),this.reactiveUtils.watch(()=>this.source.state,()=>{this._state=this.source.state},{sync:!0}),this.reactiveUtils.watch(()=>this.viewModel.items.filter(s=>s.state!=="ready").length,s=>{this._itemsState=s>0?"loading":"ready"},{sync:!0}),this.reactiveUtils.watch(()=>this.viewModel.activeBasemap,()=>{this.el.childElem?.querySelector(`[data-basemap="${this.viewModel.activeBasemap.id}"]`)?.focus()},{sync:!0})]);let e=new ResizeObserver(s=>{for(let o of s)this._width=o.contentRect.width}),a=this.el.childElem;a&&e.observe(a)}render(){let e=this.source.state==="loading",a=this.disabled||this.state==="disabled",s=this.viewModel.items,o={[i.sourceLoading]:e,[d.disabled]:a,"esri-component":!0},c=this._width;c<=v.small||c>=v.wide?o[i.layoutGrid]=!0:c<v.default&&(o[i.narrowItems]=!0);let h=e?n`<div class=${r(i.loader)}></div>`:null,u=e?null:s.length>0?n`<div aria-disabled=${this.disabled??m} aria-label=${this.label??m} class=${r(i.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${s.map((g,$)=>K({disabled:a,item:g,itemIndex:$,viewModel:this.viewModel,messages:this.messages,state:g.state}))}</div>`:n`<div class=${r(d.empty)}>${F({level:this.headingLevel,children:this.messages.noBasemaps})}</div>`;return n`<div class=${r(p(i.base,d.widget,d.panel,o))} style=${R({"--esri-basemap-gallery-small":`${v.small}px`})}>${[h,u]}</div>`}_getRoundRobinIndex(e,a){return(e+a)%a}_handleKeyDown(e){let{key:a}=e;if(!["ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].includes(a))return;e.preventDefault();let{items:s,activeBasemapIndex:o}=this.viewModel,c=a==="ArrowUp"||a==="ArrowLeft"?this._getRoundRobinIndex(Math.max(o-1,-1),s.length):this._getRoundRobinIndex(o+1,s.length),h=s.at(c);h?.state==="ready"&&(this.viewModel.activeBasemap=h.basemap)}};D("arcgis-basemap-gallery",w);export{w as ArcgisBasemapGallery};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{a as n}from"./YDTAIZN3.js";import{d as h}from"./QQ5HLWDO.js";import{m as l}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as a,E as r,J as o,g as t,r as i,s}from"./SRC5FGW4.js";var d=s`arcgis-basemap-layer-list{display:block}`,c=n(l),e=class extends r{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.baseFilterText=this.widget.baseFilterText,this.baseListItemCreatedFunction=this.widget.baseListItemCreatedFunction,this.basemapTitle=this.widget.basemapTitle,this.catalogOptions=this.widget.catalogOptions,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.editingTitle=this.widget.editingTitle,this.filterPlaceholder=this.widget.filterPlaceholder,this.headingLevel=this.widget.headingLevel,this.hideBaseLayers=this.widget.visibleElements.baseLayers,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideReferenceLayers=this.widget.visibleElements.referenceLayers,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.referenceFilterText=this.widget.referenceFilterText,this.referenceListItemCreatedFunction=this.widget.referenceListItemCreatedFunction,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditTitleButton=this.widget.visibleElements.editTitleButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=i()("state"),this.arcgisReady=a(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,baseFilterText:1,baseItems:32,baseListItemCreatedFunction:0,basemapTitle:1,catalogLayerList:32,catalogOptions:0,collapsed:7,dragEnabled:5,editingTitle:5,filterPlaceholder:1,headingLevel:9,hideBaseLayers:5,hideFlow:5,hideHeading:5,hideReferenceLayers:5,hideStatusIndicators:5,icon:1,label:1,minFilterItems:9,position:1,referenceElement:1,referenceFilterText:1,referenceItems:32,referenceListItemCreatedFunction:0,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showEditTitleButton:5,showErrors:5,showFilter:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=t}static{this.styles=d}get baseItems(){return this.widget.baseItems}get catalogLayerList(){return this.widget.catalogLayerList}get referenceItems(){return this.widget.referenceItems}async destroy(){await this.manager.destroy()}};o("arcgis-basemap-layer-list",e);export{e as ArcgisBasemapLayerList};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{a as n}from"./YDTAIZN3.js";import{d as h}from"./QQ5HLWDO.js";import{L as l}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as a,E as o,J as r,g as e,r as i,s}from"./SRC5FGW4.js";var c=s`arcgis-layer-list{display:block}`,w=n(l),t=class extends o{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.catalogOptions=this.widget.catalogOptions,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideCatalogLayerList=this.widget.visibleElements.catalogLayerList,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.knowledgeGraphOptions=this.widget.knowledgeGraphOptions,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.openedLayers=this.widget.openedLayers,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=i()("state"),this.arcgisReady=a(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogLayerList:32,catalogOptions:0,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterText:1,headingLevel:9,hideCatalogLayerList:5,hideFlow:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:0,operationalItems:32,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,tableList:32,visibilityAppearance:1}}static{this.shadowRootOptions=e}static{this.styles=c}get catalogLayerList(){return this.widget.catalogLayerList}get operationalItems(){return this.widget.operationalItems}get tableList(){return this.widget.tableList}async destroy(){await this.manager.destroy()}async triggerAction(d,g){this.widget?.triggerAction(d,g)}};r("arcgis-layer-list",t);export{t as ArcgisLayerList};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{t as h,u as m,v as S}from"./SRC5FGW4.js";var v=Symbol.for(""),d=a=>{if(a?.r===v)return a?._$litStatic$},_=a=>({_$litStatic$:a,r:v});var p=new Map,n=a=>(e,...l)=>{let i=l.length,u,r,s=[],c=[],o,t=0,$=!1;for(;t<i;){for(o=e[t];t<i&&(r=l[t],(u=d(r))!==void 0);)o+=u+e[++t],$=!0;t!==i&&c.push(r),s.push(o),t++}if(t===i&&s.push(e[i]),$){let f=s.join("$$lit$$");(e=p.get(f))===void 0&&(s.raw=s,p.set(f,e=s)),l=c}return a(e,...l)},w=n(h),b=n(m),k=n(S);export{_ as a,w as b};
|