@arcgis/map-components 5.2.0-next.11 → 5.2.0-next.13

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.
Files changed (52) hide show
  1. package/dist/cdn/4BGPI3L3.js +2 -0
  2. package/dist/cdn/{GTOGU3CL.js → 5D3ZCD2V.js} +1 -1
  3. package/dist/cdn/{HNGHLDNZ.js → 5Z6MDFHN.js} +1 -1
  4. package/dist/cdn/64S26ZIP.js +2 -0
  5. package/dist/cdn/IJZYN6XT.js +2 -0
  6. package/dist/cdn/{3QWDXECJ.js → K6O7QOW4.js} +1 -1
  7. package/dist/cdn/MCIDCKIS.js +2 -0
  8. package/dist/cdn/O3S3JGUF.js +2 -0
  9. package/dist/cdn/QQPVIXFY.js +2 -0
  10. package/dist/cdn/R66ZOECE.js +2 -0
  11. package/dist/cdn/TPZUKUI7.js +2 -0
  12. package/dist/cdn/UCPXN4Y5.js +2 -0
  13. package/dist/cdn/assets/print/t9n/messages.en.json +1 -1
  14. package/dist/cdn/index.js +1 -1
  15. package/dist/components/arcgis-daylight/customElement.js +32 -23
  16. package/dist/components/arcgis-features/customElement.d.ts +15 -0
  17. package/dist/components/arcgis-features/customElement.js +33 -33
  18. package/dist/components/arcgis-features-next/customElement.d.ts +14 -0
  19. package/dist/components/arcgis-features-next/customElement.js +15 -12
  20. package/dist/components/arcgis-labeled-switch/customElement.js +5 -5
  21. package/dist/components/arcgis-layer-list-next/customElement.d.ts +2 -15
  22. package/dist/components/arcgis-layer-list-next/customElement.js +97 -77
  23. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +71 -72
  24. package/dist/components/arcgis-layer-list-next/types.d.ts +18 -0
  25. package/dist/components/arcgis-map/customElement.d.ts +126 -105
  26. package/dist/components/arcgis-multi-feature-form/customElement.js +14 -14
  27. package/dist/components/arcgis-print/customElement.d.ts +3 -0
  28. package/dist/components/arcgis-print-datum-transformation-input/customElement.js +74 -0
  29. package/dist/components/arcgis-print-datum-transformation-input/index.js +3 -0
  30. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +14 -11
  31. package/dist/components/arcgis-print-layout-advanced-options/index.js +1 -0
  32. package/dist/components/arcgis-print-template-selector/customElement.js +8 -8
  33. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +4 -5
  34. package/dist/components/arcgis-slider-scale-range/customElement.js +69 -56
  35. package/dist/docs/api.json +1 -1
  36. package/dist/docs/docs.json +1 -1
  37. package/dist/docs/vscode.html-custom-data.json +1 -1
  38. package/dist/docs/web-types.json +1 -1
  39. package/dist/loader.js +3 -2
  40. package/dist/types/lumina.d.ts +2 -2
  41. package/dist/types/preact.d.ts +2 -2
  42. package/dist/types/react.d.ts +2 -2
  43. package/dist/types/stencil.d.ts +2 -2
  44. package/package.json +4 -4
  45. package/dist/cdn/AGOMMJPB.js +0 -2
  46. package/dist/cdn/CTHUSEAE.js +0 -2
  47. package/dist/cdn/DNZU7DTQ.js +0 -2
  48. package/dist/cdn/EVMYQ43N.js +0 -2
  49. package/dist/cdn/IKSY73X2.js +0 -2
  50. package/dist/cdn/JE5LMTIW.js +0 -2
  51. package/dist/cdn/OUYGGJ47.js +0 -2
  52. package/dist/cdn/VNP4GF74.js +0 -2
@@ -141,11 +141,15 @@ export abstract class ArcgisMap extends LitElement {
141
141
  *
142
142
  * @since 4.34
143
143
  * @example
144
+ * ```js
144
145
  * // Adds an analysis to the View
145
146
  * view.analyses.add(elevationProfileAnalysis);
147
+ * ```
146
148
  * @example
149
+ * ```js
147
150
  * // Removes an analysis from the View
148
151
  * view.analyses.remove(elevationProfileAnalysis);
152
+ * ```
149
153
  */
150
154
  accessor analyses: Collection<Analysis>;
151
155
  /**
@@ -198,13 +202,12 @@ export abstract class ArcgisMap extends LitElement {
198
202
  * The background color of the Map component.
199
203
  *
200
204
  * @example
201
- * let view = new MapView({
202
- * container: "viewDiv",
203
- * map: map,
204
- * background: { // autocasts new ColorBackground()
205
- * color: "magenta" // autocasts as new Color()
206
- * }
205
+ * ```js
206
+ * const viewElement = document.querySelector("arcgis-map");
207
+ * viewElement.background = new ColorBackground ({
208
+ * color: "magenta" // autocasts as new Color()
207
209
  * });
210
+ * ```
208
211
  */
209
212
  accessor background: ColorBackground | null | undefined;
210
213
  /**
@@ -295,11 +298,11 @@ export abstract class ArcgisMap extends LitElement {
295
298
  * x: 12804.24,
296
299
  * y: -1894032.09,
297
300
  * spatialReference: {
298
- * wkid: view.spatialReference // wkid 2027
301
+ * wkid: viewElement.spatialReference // wkid 2027
299
302
  * }
300
303
  * });
301
304
  * const viewElement = document.querySelector("arcgis-map");
302
- * view.center = centerPoint;
305
+ * viewElement.center = centerPoint;
303
306
  * ```
304
307
  * @example
305
308
  * ```js
@@ -329,7 +332,9 @@ export abstract class ArcgisMap extends LitElement {
329
332
  * @see [TileInfo#create()](https://developers.arcgis.com/javascript/latest/references/core/layers/support/TileInfo/#create)
330
333
  * @see [Zoom and LODs](https://developers.arcgis.com/javascript/latest/references/core/views/View2D/#mapview-lods)
331
334
  * @example
332
- * view.constraints = new MapViewConstraints({
335
+ * ```js
336
+ * const viewElement = document.querySelector("arcgis-map");
337
+ * viewElement.constraints = new MapViewConstraints({
333
338
  * geometry: { // Constrain lateral movement to Lower Manhattan
334
339
  * type: "extent",
335
340
  * xmin: -74.020,
@@ -341,7 +346,9 @@ export abstract class ArcgisMap extends LitElement {
341
346
  * maxScale: 0, // User can overzoom tiles
342
347
  * rotationEnabled: false // Disables map rotation
343
348
  * });
349
+ * ```
344
350
  * @example
351
+ * ```js
345
352
  * // This snippet shows how to set the Map scale 1:1 while generating additional LODs for the constraints.
346
353
  * const spatialReference = new SpatialReference({
347
354
  * wkid: 2154
@@ -364,11 +371,12 @@ export abstract class ArcgisMap extends LitElement {
364
371
  * lods
365
372
  * });
366
373
  *
367
- * const arcgisMap = document.querySelector("arcgis-map");
368
- * arcgisMap.spatialReference = spatialReference;
369
- * arcgisMap.center = center;
370
- * arcgisMap.scale = 1;
371
- * arcgisMap.constraints = constraints;
374
+ * const viewElement = document.querySelector("arcgis-map");
375
+ * viewElement.spatialReference = spatialReference;
376
+ * viewElement.center = center;
377
+ * viewElement.scale = 1;
378
+ * viewElement.constraints = constraints;
379
+ * ```
372
380
  */
373
381
  accessor constraints: MapViewConstraints;
374
382
  /**
@@ -401,13 +409,15 @@ export abstract class ArcgisMap extends LitElement {
401
409
  * @since 4.12
402
410
  * @see [tryFatalErrorRecovery()](https://developers.arcgis.com/javascript/latest/references/core/views/View/#tryFatalErrorRecovery)
403
411
  * @example
412
+ * ```js
404
413
  * reactiveUtils.when(
405
- * () => view.fatalError,
414
+ * () => viewElement.fatalError,
406
415
  * () => {
407
416
  * console.error("Fatal Error! View has lost its WebGL context. Attempting to recover...");
408
- * view.tryFatalErrorRecovery();
417
+ * viewElement.tryFatalErrorRecovery();
409
418
  * }
410
419
  * );
420
+ * ```
411
421
  */
412
422
  accessor fatalError: Error<any> | null | undefined;
413
423
  /**
@@ -418,17 +428,17 @@ export abstract class ArcgisMap extends LitElement {
418
428
  /** Gamepad input specific configuration settings. */
419
429
  get gamepad(): GamepadSettings;
420
430
  /**
421
- * Allows for adding graphics directly to the default graphics in the View.
431
+ * Allows for adding graphics directly to the default graphics in the map component.
422
432
  *
423
433
  * @example
424
434
  * ```js
425
- * // Adds a graphic to the View
426
- * graphics.add(pointGraphic);
435
+ * // Adds a graphic to the map component.
436
+ * viewElement.graphics.add(pointGraphic);
427
437
  * ```
428
438
  * @example
429
439
  * ```js
430
- * // Removes a graphic from the View
431
- * graphics.remove(pointGraphic);
440
+ * // Removes a graphic from the map component.
441
+ * viewElement.graphics.remove(pointGraphic);
432
442
  * ```
433
443
  * @see [Graphic](https://developers.arcgis.com/javascript/latest/references/core/Graphic/)
434
444
  * @see [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer/)
@@ -441,12 +451,7 @@ export abstract class ArcgisMap extends LitElement {
441
451
  * @see [ElevationLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ElevationLayer/)
442
452
  * @see [Ground](https://developers.arcgis.com/javascript/latest/references/core/Ground/)
443
453
  * @example
444
- * // Use the world elevation service
445
- * const map = new Map({
446
- * basemap: "topo-vector",
447
- * ground: "world-elevation"
448
- * });
449
- * @example
454
+ * ```js
450
455
  * // Create a map with the world elevation layer overlaid by a custom elevation layer
451
456
  * const worldElevation = new ElevationLayer({
452
457
  * url: "//elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer"
@@ -460,6 +465,9 @@ export abstract class ArcgisMap extends LitElement {
460
465
  * layers: [ worldElevation, customElevation ]
461
466
  * })
462
467
  * });
468
+ *
469
+ * viewElement.map = map;
470
+ * ```
463
471
  */
464
472
  get ground(): Ground;
465
473
  set ground(value: Ground | string);
@@ -504,40 +512,47 @@ export abstract class ArcgisMap extends LitElement {
504
512
  * @see [Sample: Highlight point features](https://developers.arcgis.com/javascript/latest/sample-code/highlight-point-features/)
505
513
  * @since 4.32
506
514
  * @example
515
+ * ```js
507
516
  * // Use the default highlights collection to apply a highlight to features when you hover over them
508
- *
509
517
  * // A handler can be used to remove any previous highlight when applying a new one
510
518
  * let hoverHighlight;
511
519
  *
512
- * view.on("pointer-move", (event) => {
513
- * // Search for the first feature in the featureLayer at the hovered location
514
- * view.hitTest(event, { include: featureLayer }).then((response) => {
515
- * if (response.results[0]) {
516
- * const graphic = response.results[0].graphic;
517
- * view.whenLayerView(graphic.layer).then((layerView) => {
518
- * // Remove any previous highlight, if it exists
519
- * hoverHighlight?.remove();
520
- * // Highlight the hit features with the temporary highlight options, which are pre-configured for this use case
521
- * hoverHighlight = layerView.highlight(graphic, { name: "temporary"});
522
- * });
520
+ * viewElement.addEventListener("arcgisViewPointerMove", async (event) => {
521
+ * try {
522
+ * await updateHoverHighlight(event);
523
+ * } catch (error) {
524
+ * if (error.name !== "AbortError") {
525
+ * console.error(error);
523
526
  * }
524
- * });
527
+ * }
525
528
  * });
526
- * @example
527
- * // Override the default highlights collection
528
529
  *
529
- * const view = new MapView({
530
- * map: map,
531
- * container: "viewDiv",
530
+ * const updateHoverHighlight = promiseUtils.debounce(async (event) => {
531
+ * // Search for the first feature in the featureLayer at the hovered location
532
+ * const response = await viewElement.hitTest(event.detail, { include: featureLayer });
533
+ * const result = response.results[0];
532
534
  *
533
- * // Set the highlight options to be used in the view
534
- * highlights: [
535
- * { name: "default", color: "orange" },
536
- * { name: "temporary", color: "magenta" },
537
- * { name: "table", color: "cyan", fillOpacity: 0.5, haloOpacity: 0}
538
- * ]
535
+ * // Remove any previous highlight, if it exists
536
+ * hoverHighlight?.remove();
537
+ *
538
+ * if (result?.type === "graphic") {
539
+ * // Highlight the hit feature with the temporary highlight options
540
+ * hoverHighlight = layerView.highlight(result.graphic, { name: "temporary" });
541
+ * }
539
542
  * });
543
+ * ```
544
+ * @example
545
+ * ```js
546
+ * // Override the default highlights collection
547
+ * const viewElement = document.querySelector("arcgis-map");
548
+ * viewElement.highlights = new Collection([
549
+ * { name: "default", color: "orange" },
550
+ * { name: "temporary", color: "magenta" },
551
+ * { name: "table", color: "cyan", fillOpacity: 0.5, haloOpacity: 0}
552
+ * ]);
553
+ * ```
540
554
  * @example
555
+ * ```js
541
556
  * // Add highlight options to the collection after initialization
542
557
  *
543
558
  * const selectionHighlightOptions = {
@@ -548,7 +563,8 @@ export abstract class ArcgisMap extends LitElement {
548
563
  * };
549
564
  *
550
565
  * // Add the options to the highlights collection at the first position
551
- * view.highlights.add(selectionGroup, 0);
566
+ * viewElement.highlights.add(selectionGroup, 0);
567
+ * ```
552
568
  */
553
569
  accessor highlights: Collection<HighlightOptions>;
554
570
  /**
@@ -602,26 +618,21 @@ export abstract class ArcgisMap extends LitElement {
602
618
  *
603
619
  * @since 4.9
604
620
  * @example
621
+ * ```js
605
622
  * // Disable the gamepad usage, single touch panning, panning momentum and mouse wheel zooming.
606
- * const view = new MapView({
607
- * container: "viewDiv",
608
- * map: new Map({
609
- * basemap: "satellite"
610
- * }),
611
- * center: [176.185, -37.643],
612
- * zoom: 13,
613
- * navigation: {
614
- * gamepad: {
615
- * enabled: false
616
- * },
617
- * actionMap: {
618
- * dragSecondary: "none", // Disable rotating the view with the right mouse button
619
- * mouseWheel: "none" // Disable zooming with the mouse wheel
620
- * },
621
- * browserTouchPanEnabled: false,
622
- * momentumEnabled: false,
623
- * }
624
- * });
623
+ * const viewElement = document.querySelector("arcgis-map");
624
+ * viewElement.navigation = {
625
+ * gamepad: {
626
+ * enabled: false
627
+ * },
628
+ * actionMap: {
629
+ * dragSecondary: "none", // Disable rotating the view with the right mouse button
630
+ * mouseWheel: "none" // Disable zooming with the mouse wheel
631
+ * },
632
+ * browserTouchPanEnabled: false,
633
+ * momentumEnabled: false,
634
+ * };
635
+ * ```
625
636
  */
626
637
  accessor navigation: Navigation;
627
638
  /**
@@ -731,22 +742,32 @@ export abstract class ArcgisMap extends LitElement {
731
742
  *
732
743
  * @default 0
733
744
  * @example
734
- * // Due north is rotated 90 degrees, pointing to the right side of the view
735
- * view.rotation = 90;
745
+ * ```html
746
+ * <!-- Due north is rotated 90 degrees, pointing to the right side of the view -->
747
+ * <arcgis-map basemap="satellite" rotation="90"></arcgis-map>
748
+ * ```
736
749
  * @example
750
+ * ```js
737
751
  * // Due north is rotated 180 degrees, pointing to the bottom of the view
738
- * view.rotation = 180;
752
+ * viewElement.rotation = 180;
753
+ * ```
739
754
  * @example
755
+ * ```js
740
756
  * // Due north is rotated 270 degrees, pointing to the left side of the view
741
- * view.rotation = 270;
757
+ * viewElement.rotation = 270;
758
+ * ```
742
759
  * @example
760
+ * ```js
743
761
  * // Due north is rotated 0 degrees, pointing to the top of the view (the default)
744
- * view.rotation = 0; // 360 or multiple of 360 (e.g. 720) works here as well.
762
+ * viewElement.rotation = 0; // 360 or multiple of 360 (e.g. 720) works here as well.
763
+ * ```
745
764
  * @example
765
+ * ```js
746
766
  * // Disables map rotation
747
- * view.constraints = {
767
+ * viewElement.constraints = {
748
768
  * rotationEnabled: false
749
769
  * };
770
+ * ```
750
771
  */
751
772
  accessor rotation: number;
752
773
  /**
@@ -842,12 +863,14 @@ export abstract class ArcgisMap extends LitElement {
842
863
  * @see [Theme](https://developers.arcgis.com/javascript/latest/references/core/views/Theme/)
843
864
  * @see [Sample - Color theming for interactive tools](https://developers.arcgis.com/javascript/latest/sample-code/view-theme/)
844
865
  * @example
866
+ * ```js
845
867
  * // Update the theme to use purple graphics
846
868
  * // and slightly transparent green text
847
869
  * view.theme = new Theme({
848
870
  * accentColor: "purple",
849
871
  * textColor: [125, 255, 13, 0.9]
850
872
  * });
873
+ * ```
851
874
  */
852
875
  accessor theme: Theme | null | undefined;
853
876
  /**
@@ -858,23 +881,21 @@ export abstract class ArcgisMap extends LitElement {
858
881
  *
859
882
  * @since 4.12
860
883
  * @example
884
+ * ```js
861
885
  * // Create a csv layer from an online spreadsheet.
862
- * let csvLayer = new CSVLayer({
886
+ * const csvLayer = new CSVLayer({
863
887
  * url: "http://test.com/daily-magazines-sold-in-new-york.csv",
864
888
  * timeInfo: {
865
889
  * startField: "SaleDate" // The csv field contains date information.
866
890
  * }
867
891
  * });
892
+ * viewElement.map.add(csvLayer);
868
893
  *
869
- * // Create a mapview showing sales for the last week of March 2019 only.
870
- * const view = new MapView({
871
- * map: map,
872
- * container: "viewDiv",
873
- * timeExtent: {
874
- * start: new Date("2019, 2, 24"),
875
- * end: new Date("2019, 2, 31")
876
- * }
877
- * });
894
+ * viewElement.timeExtent = {
895
+ * start: new Date("2019, 2, 24"),
896
+ * end: new Date("2019, 2, 31")
897
+ * };
898
+ * ```
878
899
  */
879
900
  accessor timeExtent: TimeExtent | null | undefined;
880
901
  /**
@@ -885,12 +906,11 @@ export abstract class ArcgisMap extends LitElement {
885
906
  * @default "system"
886
907
  * @see [wikipedia - List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
887
908
  * @example
909
+ * ```js
888
910
  * // Date and time will be displayed in Pacific/Auckland (NZ) time zone
889
- * const view = new MapView({
890
- * map: map,
891
- * container: "viewDiv",
892
- * timeZone: "Pacific/Auckland"
893
- * });
911
+ * const viewElement = document.querySelector("arcgis-map");
912
+ * viewElement.timeZone = "Pacific/Auckland";
913
+ * ```
894
914
  */
895
915
  accessor timeZone: string;
896
916
  /**
@@ -1000,10 +1020,9 @@ export abstract class ArcgisMap extends LitElement {
1000
1020
  * **2D hitTest() behavior by layer type**
1001
1021
  * | Layer type | Hit test behavior |
1002
1022
  * | :--- | :--- |
1003
- * | [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer), [CatalogFootprintLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/catalog/CatalogFootprintLayer), [CSVLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer), [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer), [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/OGCFeatureLayer), [OrientedImageryLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/OrientedImageryLayer), [StreamLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/StreamLayer), [SubtypeGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/SubtypeGroupLayer), [WFSLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WFSLayer) | Returns all intersecting [GraphicHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#GraphicHit) features at the hit location. |
1004
- * | [ParquetLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ParquetLayer) | Returns only the topmost [GraphicHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#GraphicHit) feature when the hit occurs on overlapping features. (as of version 4.34). |
1023
+ * | [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer), [CatalogFootprintLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/catalog/CatalogFootprintLayer), [CSVLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer), [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer), [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/OGCFeatureLayer), [OrientedImageryLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/OrientedImageryLayer), [ParquetLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ParquetLayer), [StreamLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/StreamLayer), [SubtypeGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/SubtypeGroupLayer), [WFSLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WFSLayer) | Returns all intersecting [GraphicHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#GraphicHit) features at the hit location. |
1005
1024
  * | [GeoRSSLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoRSSLayer), [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer), [KMLLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/KMLLayer), [MapNotesLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MapNotesLayer) | Returns all intersecting [GraphicHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#GraphicHit) features at the hit location. |
1006
- * | [ImageryLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ImageryLayer), [ImageryTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ImageryTileLayer)| Returns [RasterHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#RasterHit) result containing raster pixel value used in rendering and bandId info on intersecting pixels. The `screenRect` hitTarget is not supported for these layers. |
1025
+ * | [ImageryLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ImageryLayer), [ImageryTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ImageryTileLayer)| Returns [RasterHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#RasterHit) result containing raster pixel value used in rendering and bandId info on intersecting pixels. The `screenRect` hitTarget returns hit result at the center of the rectangle. |
1007
1026
  * | [VectorTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/VectorTileLayer) | Returns a result for all intersecting [GraphicHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#GraphicHit) features containing attributes of style layers (as of version 4.29; in prior releases, only the topmost style layer result was returned). In addition, the graphic's [origin](https://developers.arcgis.com/javascript/latest/references/core/Graphic#origin) contains the style layer's [id](https://maplibre.org/maplibre-style-spec/layers/#id) and layer index within the [vector tile style](https://doc.arcgis.com/en/arcgis-online/reference/tile-layers.htm#ESRI_SECTION1_8F68399EB47B48FF9EF46719FCC96978). Spatial information about the actual feature represented in the style layer is returned only if the style layer is a [symbol layer](https://maplibre.org/maplibre-style-spec/layers/#symbol). Otherwise, the graphic's geometry is `null`. |
1008
1027
  * | [MediaLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MediaLayer) | Returns [MediaHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#MediaHit) result containing all media elements if the hit is made on intersecting elements. |
1009
1028
  * | [RouteLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/RouteLayer) | Returns [RouteHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#RouteHit) result containing all intersecting route elements if the hit is made on intersecting elements. |
@@ -1019,18 +1038,20 @@ export abstract class ArcgisMap extends LitElement {
1019
1038
  *
1020
1039
  * @param hitTarget
1021
1040
  * @param options
1041
+ * @see [Sample - Access features with hitTest](https://developers.arcgis.com/javascript/latest/sample-code/map-component-hittest/)
1042
+ * @see [Sample - Hit test features by screen rectangle](https://developers.arcgis.com/javascript/latest/sample-code/map-hittest-screen-rectangle/)
1043
+ * @see [Sample - VectorTileLayer hitTest](https://developers.arcgis.com/javascript/latest/sample-code/layers-vectortilelayer-hittest/)
1022
1044
  * @example
1023
1045
  * ```js
1024
- * viewElement.addEventListener("arcgisViewClick", (event) => {
1025
- * viewElement.hitTest(event.detail).then((response) => {
1026
- * const result = response.results[0];
1027
- * if (result?.type === "graphic") {
1028
- * const { longitude, latitude } = result.mapPoint;
1029
- * console.log(`Hit graphic at (${longitude}, ${latitude})`, result.graphic);
1030
- * } else {
1031
- * console.log("Did not hit any graphic");
1032
- * }
1033
- * });
1046
+ * viewElement.addEventListener("arcgisViewClick", async (event) => {
1047
+ * const response = await viewElement.hitTest(event.detail);
1048
+ * const result = response.results[0];
1049
+ * if (result?.type === "graphic") {
1050
+ * const { longitude, latitude } = result.mapPoint;
1051
+ * console.log(`Hit graphic at (${longitude}, ${latitude})`, result.graphic);
1052
+ * } else {
1053
+ * console.log("Did not hit any graphic");
1054
+ * }
1034
1055
  * });
1035
1056
  * ```
1036
1057
  * @example
@@ -1,28 +1,28 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as s } from "../../chunks/runtime.js";
3
- import { usePropertyChange as c } from "@arcgis/lumina/controllers";
2
+ import { c as l } from "../../chunks/runtime.js";
3
+ import { usePropertyChange as n } from "@arcgis/lumina/controllers";
4
4
  import { reEmitEvent as a } from "@arcgis/lumina/controllers/accessor";
5
- import l from "@arcgis/core/widgets/BatchAttributeForm.js";
6
- import { LitElement as d, createEvent as g } from "@arcgis/lumina";
5
+ import s from "@arcgis/core/widgets/BatchAttributeForm.js";
6
+ import { LitElement as d, createEvent as m } from "@arcgis/lumina";
7
7
  import { m as h } from "../../chunks/useWidget.js";
8
- import { css as u } from "lit";
9
- const p = u`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-batch-attribute-form{background-color:var(--calcite-color-background);padding:var(--arcgis-internal-padding, var(--calcite-spacing-md) var(--calcite-spacing-lg))}.esri-batch-attribute-form__notice-error{margin:0 0 var(--calcite-spacing-xxl)}.esri-batch-attribute-form__form{display:flex;flex-direction:column}.esri-batch-attribute-form__centered-button{align-self:center}.esri-batch-attribute-form__description-text{color:var(--calcite-color-text-2)}.esri-batch-attribute-form__label{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;display:flex;position:relative;flex-direction:column;justify-content:space-between;transition:opacity .25s,margin .25s;opacity:1;margin-bottom:var(--calcite-spacing-xs)}.esri-batch-attribute-form__label:last-child{margin-bottom:0}.esri-batch-attribute-form-text-content{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;display:flex;align-items:center}.esri-batch-attribute-form__input--switch{margin:7px 0}.esri-batch-attribute-form__input--radio-label{display:flex;align-items:center}.esri-batch-attribute-form__input--radio-group{display:flex;flex-direction:column}.esri-batch-attribute-form__input--radio-placeholder{color:var(--calcite-color-text-3);font-style:italic}.esri-batch-attribute-form__form-header{margin-bottom:var(--calcite-spacing-md)}.esri-batch-attribute-form__form-header .esri-batch-attribute-form__description-text~.esri-widget__heading{margin-bottom:0}.esri-batch-attribute-form__input{width:100%;&:focus{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:-2px}}.esri-batch-attribute-form__input--disabled{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.esri-batch-attribute-form__individual-element{margin:var(--calcite-spacing-xxl) 0}.esri-batch-attribute-form__date-input-container{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm)}.esri-batch-attribute-form__date-input-container .esri-batch-attribute-form__input{margin-bottom:3px}.esri-batch-attribute-form__date-input-container :last-child{margin-bottom:0}.esri-batch-attribute-form__group{margin:0 0 var(--calcite-spacing-md);background-color:inherit;margin-inline:-10px}.esri-batch-attribute-form__group--sequential{border-bottom:none;border-inline-start:3px solid #adadad4d}.esri-batch-attribute-form__block{margin-inline:-10px}.esri-batch-attribute-form__text-element-input{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal);a{display:inline;position:relative;transition:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start inset-size,opacity,outline-color,transform var(--calcite-animation-timing) ease-in-out 0s,outline 0s,outline-offset 0s;border-style:none;background-color:transparent;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;padding:0;text-decoration:none;color:var(--calcite-color-text-link);&:hover,&:focus{background-size:100% 1px,100% 1px}&:active{background-size:100% 2px,100% 2px}&.calcite--rtl{background-position:100% 100%,100% 100%}}code{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-xs);background-color:var(--calcite-color-foreground-3);padding:var(--calcite-spacing-xxs);white-space:normal;word-break:break-word;color:var(--calcite-color-text-2);font-family:var(--calcite-code-family);font-size:85%}h1,h2,h3,h4,h5{margin-bottom:var(--calcite-spacing-xxs);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}h5{font-weight:var(--calcite-font-weight-medium)}h6{margin-bottom:var(--calcite-spacing-xxs);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium)}p{margin-bottom:var(--calcite-spacing-lg);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal)}strong{font-weight:var(--calcite-font-weight-bold)}}:dir(rtl) .esri-batch-attribute-form__date-input-part:first-child .esri-batch-attribute-form__input{border-right:var(--calcite-spacing-px) solid #adadad4d;border-left:none}`;
8
+ import { css as p } from "lit";
9
+ const g = p`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-batch-attribute-form{background-color:var(--calcite-color-background);padding:var(--arcgis-internal-padding, var(--calcite-space-md) var(--calcite-space-lg))}.esri-batch-attribute-form__notice-error{margin:0 0 var(--calcite-space-2xl)}.esri-batch-attribute-form__form{display:flex;flex-direction:column}.esri-batch-attribute-form__centered-button{align-self:center}.esri-batch-attribute-form__description-text{color:var(--calcite-color-text-3)}.esri-batch-attribute-form__label{white-space:pre-wrap;overflow-wrap:break-word;display:flex;position:relative;flex-direction:column;justify-content:space-between;transition:opacity .25s,margin .25s;opacity:1;margin-bottom:var(--calcite-space-xs);&:last-child{margin-bottom:0}}.esri-batch-attribute-form__label-text-content{white-space:pre-wrap;overflow-wrap:break-word;display:flex;align-items:center}.esri-batch-attribute-form__input--switch{margin:7px 0}.esri-batch-attribute-form__input--radio-label{display:flex;align-items:center}.esri-batch-attribute-form__input--radio-group{display:flex;flex-direction:column}.esri-batch-attribute-form__input--radio-placeholder{color:var(--calcite-color-text-3);font-style:italic}.esri-batch-attribute-form__multiple-choice-input,.esri-batch-attribute-form__multiple-choice-input__other-choice{display:flex;flex-direction:column;gap:var(--calcite-space-sm)}.esri-batch-attribute-form__multiple-choice-input__select-all{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);padding-block-end:var(--calcite-space-sm)}.esri-batch-attribute-form__multiple-choice-input__other-choice--with-select-all{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);padding-block-start:var(--calcite-space-sm)}.esri-batch-attribute-form__form-header{margin-bottom:var(--calcite-space-md);.esri-batch-attribute-form__description-text~.esri-widget__heading{margin-bottom:0}}.esri-batch-attribute-form__input{width:100%;&:not(calcite-checkbox):focus{outline:var(--calcite-space-base) solid var(--calcite-color-brand);outline-offset:-2px}}.esri-batch-attribute-form__input--disabled{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.esri-batch-attribute-form__individual-element{margin:var(--calcite-space-2xl) 0}.esri-batch-attribute-form__date-input-container{display:flex;flex-direction:column;gap:var(--calcite-space-sm);.esri-batch-attribute-form__input{margin-bottom:var(--calcite-space-base)}&:last-child{margin-bottom:0}}.esri-batch-attribute-form__group{margin:0 0 var(--calcite-space-md) 0;background-color:inherit;margin-inline:calc(var(--calcite-space-md) * -1)}.esri-batch-attribute-form__group--sequential{border-bottom:none;border-inline-start:3px solid var(--calcite-color-border-input)}.esri-batch-attribute-form__relationship-element-input{margin-block-end:var(--calcite-space-lg);calcite-notice,.esri-batch-attribute-form__relationship-element-input_list{margin-bottom:var(--calcite-space-md-plus)}}.esri-batch-attribute-form__relationship-element-input_header{color:var(--calcite-color-text-1)}.esri-batch-attribute-form__relationship-element-input_description,.esri-batch-attribute-form__relationship-element-input_header{margin-bottom:var(--calcite-space-md-plus)}.esri-batch-attribute-form__relationship-element-input_list{min-height:var(--calcite-space-2xs)}.esri-batch-attribute-form__relationship-element-input_list-observer{position:relative;bottom:20px;z-index:2;text-align:center}.esri-batch-attribute-form__relationship-element-input_showing-all{.esri-batch-attribute-form__relationship-element-input_add-button{margin-block:var(--calcite-space-md)}}.esri-batch-attribute-form__attachment-element-input{margin:var(--calcite-space-2xl) 0}.esri-batch-attribute-form__attachment-element-label{white-space:pre-wrap;overflow-wrap:break-word;margin-bottom:var(--calcite-space-2xs);color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium)}.esri-batch-attribute-form__attachment-element-list{margin-block:var(--calcite-space-sm);border-block:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.esri-batch-attribute-form__attachment-element-list-item{--calcite-list-item-border-color: var(--calcite-color-border-3);white-space:pre-wrap;overflow-wrap:break-word;min-block-size:var(--calcite-space-2xl)}.esri-batch-attribute-form__attachment-element-list-item-start{display:flex;align-items:center;justify-content:center;border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-3);block-size:var(--calcite-space-3xl);inline-size:var(--calcite-space-3xl);color:var(--calcite-color-text-2)}.esri-batch-attribute-form__attachment-element-list-item-staged-indicator{display:inline-flex;border-radius:50%;background-color:var(--calcite-color-brand);block-size:var(--calcite-space-xs);inline-size:var(--calcite-space-xs)}.esri-batch-attribute-form__attachment-element-list-item-thumb{border-radius:inherit;block-size:100%;inline-size:100%;object-fit:cover}.esri-batch-attribute-form__attachment-element-list-item-icon{color:inherit}.esri-batch-attribute-form__attachment-element-empty-state{padding-block:var(--calcite-space-sm);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}.esri-batch-attribute-form__attachment-element-add-actions{display:flex;flex-direction:column;gap:var(--calcite-space-sm);align-items:flex-start;justify-content:flex-start;inline-size:100%}.esri-batch-attribute-form__attachment-element-capture-notice{inline-size:100%}.esri-batch-attribute-form__attachment-element-empty-action-hint{line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular)}.esri-batch-attribute-form__attachment-element-empty-action-hint-value{color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium)}.esri-batch-attribute-form__attachment-element-all-panel{display:flex;flex-direction:column;gap:var(--calcite-space-md);padding:var(--calcite-space-sm)}.esri-batch-attribute-form__attachment-element-file-input{display:none}.esri-batch-attribute-form__attachment-element-add-panel{display:flex;flex-direction:column;gap:var(--calcite-space-md);padding:var(--calcite-space-sm)}.esri-batch-attribute-form__attachment-element-add-dropzone{box-sizing:border-box;display:flex;flex:1;flex-direction:column;gap:0;align-items:center;justify-content:center;transition:border-color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out;border:var(--calcite-border-width-sm) dashed var(--calcite-color-border-input);border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-lg) var(--calcite-space-md);min-block-size:10.875rem;inline-size:100%;text-align:center}.esri-batch-attribute-form__attachment-element-add-dropzone-icon{margin-block-end:var(--calcite-space-sm);color:var(--calcite-color-text-3)}.esri-batch-attribute-form__attachment-element-add-dropzone-heading{margin-block-end:var(--calcite-space-xs);line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-regular)}.esri-batch-attribute-form__attachment-element-add-dropzone-detail{white-space:pre-wrap;overflow-wrap:break-word;margin-block-end:var(--calcite-space-md);max-inline-size:13rem;line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular)}.esri-batch-attribute-form__attachment-element-add-dropzone calcite-button{align-self:center}.esri-batch-attribute-form__attachment-element-validation-criteria{display:flex;flex-direction:column;gap:var(--calcite-space-xs);padding:var(--calcite-space-sm)}.esri-batch-attribute-form__attachment-element-detail{display:flex;flex-direction:column;gap:var(--calcite-space-md);padding:var(--calcite-space-sm)}.esri-batch-attribute-form__attachment-element-detail-metadata-group{display:flex;flex-direction:column;gap:var(--calcite-space-2xs)}.esri-batch-attribute-form__attachment-element-detail-file-name-row{display:flex;gap:var(--calcite-space-2xs);align-items:center;inline-size:100%}.esri-batch-attribute-form__attachment-element-detail-file-name-input{flex:1 1 auto;min-inline-size:0}.esri-batch-attribute-form__attachment-element-detail-preview{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--calcite-space-sm);align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-sm);inline-size:100%}.esri-batch-attribute-form__attachment-element-detail-preview-image{display:block;block-size:auto;max-block-size:min(24rem,50vh);inline-size:100%;object-fit:contain}.esri-batch-attribute-form__attachment-element-detail-preview-icon{color:var(--calcite-color-text-2)}.esri-batch-attribute-form__attachment-element-detail-actions{display:flex;flex-wrap:wrap;gap:var(--calcite-space-xs)}.esri-batch-attribute-form__attachment-element-detail-metadata{display:flex;flex-direction:column;gap:var(--calcite-space-md);padding-block-start:var(--calcite-space-lg)}.esri-batch-attribute-form__attachment-element-detail-metadata-label{line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular);font-style:normal}.esri-batch-attribute-form__attachment-element-detail-metadata-value{white-space:pre-wrap;overflow-wrap:break-word;line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-regular);font-style:normal}.esri-batch-attribute-form__text-element-input{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular);a{display:inline;position:relative;transition:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start inset-size,opacity,outline-color,transform var(--calcite-animation-timing) ease-in-out 0s,outline 0s,outline-offset 0s;border-style:none;background-color:transparent;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;padding:0;text-decoration:none;color:var(--calcite-color-text-link);&:hover,&:focus{background-size:100% 1px,100% 1px}&:active{background-size:100% 2px,100% 2px}&.calcite--rtl{background-position:100% 100%,100% 100%}}code{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-xs);background-color:var(--calcite-color-surface-4);padding:var(--calcite-space-2xs);white-space:normal;word-break:break-word;color:var(--calcite-color-text-2);font-family:var(--calcite-code-family);font-size:85%}h1,h2,h3,h4,h5{margin-bottom:var(--calcite-space-2xs);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}h5{font-weight:var(--calcite-font-weight-medium)}h6{margin-bottom:var(--calcite-space-2xs);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium)}p{margin-bottom:var(--calcite-space-lg);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular)}strong{font-weight:var(--calcite-font-weight-bold)}}.esri-batch-attribute-form__utility-network-associations-element-input{margin-block-end:var(--calcite-space-md);.esri-feature-utility-network-associations{.esri-feature-element-info__description{color:var(--calcite-color-text-3)}h5{color:var(--calcite-color-text-1);font-size:inherit}}}`;
10
10
  var o = (t) => {
11
11
  throw TypeError(t);
12
- }, n = (t, e, i) => e.has(t) || o("Cannot " + i), m = (t, e, i) => (n(t, e, "read from private field"), i ? i.call(t) : e.get(t)), b = (t, e, i) => e.has(t) ? o("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, i), f = (t, e, i, w) => (n(t, e, "write to private field"), e.set(t, i), i), r;
13
- const _ = h(l);
14
- class v extends d {
12
+ }, c = (t, e, i) => e.has(t) || o("Cannot " + i), u = (t, e, i) => (c(t, e, "read from private field"), i ? i.call(t) : e.get(t)), b = (t, e, i) => e.has(t) ? o("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, i), f = (t, e, i, x) => (c(t, e, "write to private field"), e.set(t, i), i), r;
13
+ const v = h(s);
14
+ class _ extends d {
15
15
  constructor() {
16
- super(...arguments), b(this, r), this.widget = _(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.editType = this.viewModel.editType, this.groupDisplay = this.widget.groupDisplay, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.status = this.viewModel.status, this.valid = this.viewModel.valid, this.label = this.widget.label, this.features = this.widget.features, this.disabled = this.widget.disabled, this.activeFeatureIndex = this.widget.activeFeatureIndex, this.submitHasBeenAttempted = this.viewModel.submitHasBeenAttempted, this.updating = this.viewModel.updating, this.maximumFeatureCount = this.viewModel.maximumFeatureCount, this.maximumFeatureCountWithComplexForms = this.viewModel.maximumFeatureCountWithComplexForms, this.hasTooManyFeatures = this.viewModel.hasTooManyFeatures, this.hasTooManyComplexFeatures = this.viewModel.hasTooManyComplexFeatures, this.readOnly = this.widget.readOnly, this.timeZone = this.widget.timeZone, this.arcgisPropertyChange = c()("status", "valid", "updating", "submitHasBeenAttempted", "activeFeatureIndex"), this.arcgisReady = g(), this.arcgisSubmit = a(() => this.widget, "submit"), this.arcgisValueChange = a(() => this.widget, "value-change");
16
+ super(...arguments), b(this, r), this.widget = v(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.editType = this.viewModel.editType, this.groupDisplay = this.widget.groupDisplay, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.status = this.viewModel.status, this.valid = this.viewModel.valid, this.label = this.widget.label, this.features = this.widget.features, this.disabled = this.widget.disabled, this.activeFeatureIndex = this.widget.activeFeatureIndex, this.submitHasBeenAttempted = this.viewModel.submitHasBeenAttempted, this.updating = this.viewModel.updating, this.maximumFeatureCount = this.viewModel.maximumFeatureCount, this.maximumFeatureCountWithComplexForms = this.viewModel.maximumFeatureCountWithComplexForms, this.hasTooManyFeatures = this.viewModel.hasTooManyFeatures, this.hasTooManyComplexFeatures = this.viewModel.hasTooManyComplexFeatures, this.readOnly = this.widget.readOnly, this.timeZone = this.widget.timeZone, this.arcgisPropertyChange = n()("status", "valid", "updating", "submitHasBeenAttempted", "activeFeatureIndex"), this.arcgisReady = m(), this.arcgisSubmit = a(() => this.widget, "submit"), this.arcgisValueChange = a(() => this.widget, "value-change");
17
17
  }
18
18
  static {
19
19
  this.properties = { view: 0, autoDestroyDisabled: 5, editType: 1, groupDisplay: 1, headingLevel: 9, icon: 1, status: 1, valid: 5, label: 1, features: 0, disabled: 5, activeFeatureIndex: 9, submitHasBeenAttempted: 5, updating: 5, maximumFeatureCount: 9, maximumFeatureCountWithComplexForms: 9, hasTooManyFeatures: 5, hasTooManyComplexFeatures: 5, invalidFeatures: 32, position: 1, referenceElement: 1, readOnly: 5, timeZone: 1 };
20
20
  }
21
21
  static {
22
- this.styles = p;
22
+ this.styles = g;
23
23
  }
24
24
  get layerInfos() {
25
- return m(this, r);
25
+ return u(this, r);
26
26
  }
27
27
  set layerInfos(e) {
28
28
  f(this, r, e);
@@ -44,7 +44,7 @@ class v extends d {
44
44
  }
45
45
  }
46
46
  r = /* @__PURE__ */ new WeakMap();
47
- s("arcgis-multi-feature-form", v);
47
+ l("arcgis-multi-feature-form", _);
48
48
  export {
49
- v as ArcgisMultiFeatureForm
49
+ _ as ArcgisMultiFeatureForm
50
50
  };
@@ -230,6 +230,7 @@ export abstract class ArcgisPrint extends LitElement {
230
230
  northArrow?: string | undefined;
231
231
  scaleBar?: string | undefined;
232
232
  outSpatialReference?: string | undefined;
233
+ datumTransformations?: string | undefined;
233
234
  invalidWkid?: string | undefined;
234
235
  layoutTab?: string | undefined;
235
236
  mapOnlyTab?: string | undefined;
@@ -327,6 +328,7 @@ export abstract class ArcgisPrint extends LitElement {
327
328
  northArrow: string;
328
329
  scaleBar: string;
329
330
  outSpatialReference: string;
331
+ datumTransformations: string;
330
332
  invalidWkid: string;
331
333
  layoutTab: string;
332
334
  mapOnlyTab: string;
@@ -422,6 +424,7 @@ export abstract class ArcgisPrint extends LitElement {
422
424
  northArrow: string;
423
425
  scaleBar: string;
424
426
  outSpatialReference: string;
427
+ datumTransformations: string;
425
428
  invalidWkid: string;
426
429
  layoutTab: string;
427
430
  mapOnlyTab: string;