@arcgis/map-components 5.0.0-next.161 → 5.0.0-next.163
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{JAGDFQG6.js → 25HB2UBJ.js} +1 -1
- package/dist/cdn/{VFMEHZZD.js → 2AHY7O7C.js} +1 -1
- package/dist/cdn/{IJ55LHCM.js → 2FTXKTA4.js} +1 -1
- package/dist/cdn/{HRF5IALK.js → 3HYCJV4V.js} +1 -1
- package/dist/cdn/{GQVWDA6I.js → 42WUBROP.js} +1 -1
- package/dist/cdn/{SA36LNKO.js → 4WMWNIPN.js} +1 -1
- package/dist/cdn/522HNMQI.js +2 -0
- package/dist/cdn/55TRWAT7.js +2 -0
- package/dist/cdn/{5ZA7DJQS.js → 5LG4S2WV.js} +1 -1
- package/dist/cdn/{ZUNZDQUR.js → 6424II7L.js} +1 -1
- package/dist/cdn/{W3OOBNAC.js → 67DKLGTW.js} +1 -1
- package/dist/cdn/{YMUDLENL.js → 6IPVLMFQ.js} +1 -1
- package/dist/cdn/6IUQ5UHX.js +2 -0
- package/dist/cdn/{XC73PUXJ.js → 7AGJFQHK.js} +1 -1
- package/dist/cdn/{YK2QFDB6.js → 7NOD6U2Y.js} +1 -1
- package/dist/cdn/{VZERD7WA.js → 7OOAOM5T.js} +1 -1
- package/dist/cdn/{K2WVDLY4.js → AEMKZZZS.js} +1 -1
- package/dist/cdn/{QZPZSZPM.js → AJ64UYFM.js} +1 -1
- package/dist/cdn/{7SLLFJRR.js → AJIZTCGT.js} +1 -1
- package/dist/cdn/{OOUV2QP3.js → ANP7PYGJ.js} +1 -1
- package/dist/cdn/{LS7DJQ5K.js → AX23Q2XH.js} +1 -1
- package/dist/cdn/{IIMYW42S.js → B7SDETM6.js} +1 -1
- package/dist/cdn/{4JVUUWOR.js → BHPXKX47.js} +1 -1
- package/dist/cdn/{S74R5TS2.js → BKYII5LQ.js} +1 -1
- package/dist/cdn/{227PGZWD.js → CEB3VR24.js} +1 -1
- package/dist/cdn/{UUFU74F2.js → CO7UZYM2.js} +1 -1
- package/dist/cdn/{WR7YFN6J.js → CSU7GLED.js} +1 -1
- package/dist/cdn/{ZM4HRRLA.js → CXHSL2Y4.js} +1 -1
- package/dist/cdn/{PFYBNJ7Q.js → D4PJU376.js} +1 -1
- package/dist/cdn/{DNDFQB6M.js → DB2NOQ3D.js} +1 -1
- package/dist/cdn/{GPRLA5XG.js → E5SXPWDJ.js} +1 -1
- package/dist/cdn/{AELXLN3Z.js → EO66UQLI.js} +1 -1
- package/dist/cdn/{JM5UC74N.js → ESNK6MCY.js} +1 -1
- package/dist/cdn/{KLCFGWID.js → F2HPTFLQ.js} +1 -1
- package/dist/cdn/{APTCZIC5.js → F6QNNUIN.js} +1 -1
- package/dist/cdn/{PZEM6N6R.js → FA3Z6QOE.js} +1 -1
- package/dist/cdn/{USU73B2B.js → FD4A66OJ.js} +1 -1
- package/dist/cdn/{OYYIEGIF.js → FKQSJXNW.js} +1 -1
- package/dist/cdn/{7BVN4DHV.js → FRGWWVJK.js} +1 -1
- package/dist/cdn/{ZFIWGLC3.js → G4FP7GXM.js} +1 -1
- package/dist/cdn/{ND443SHN.js → GAH6OGQE.js} +1 -1
- package/dist/cdn/{YIMKE3ZS.js → GCFNRINR.js} +1 -1
- package/dist/cdn/{TWRNR5SM.js → GMR2QJNU.js} +1 -1
- package/dist/cdn/{VPFMRSZ6.js → H5RGMC7S.js} +1 -1
- package/dist/cdn/H7O5I4IF.js +2 -0
- package/dist/cdn/{ND6JN4YZ.js → HKVQWRPL.js} +1 -1
- package/dist/cdn/{ZEJQO6MG.js → HYBTGX3N.js} +1 -1
- package/dist/cdn/{CABYEVH5.js → I5M2Z7WS.js} +1 -1
- package/dist/cdn/{XOMA7SZS.js → IKOLSNGV.js} +1 -1
- package/dist/cdn/{WBIRVQFF.js → IL56ZRDO.js} +1 -1
- package/dist/cdn/{JBDUMA6A.js → ILFME5US.js} +1 -1
- package/dist/cdn/{ECEHRM4F.js → INYYRLED.js} +1 -1
- package/dist/cdn/{COSJIIOV.js → IQ7EVFBF.js} +1 -1
- package/dist/cdn/{HAGRUIX6.js → J4XU75P7.js} +1 -1
- package/dist/cdn/{XX7YW667.js → JCW65STL.js} +1 -1
- package/dist/cdn/{2VP56JYP.js → JUHCPSPF.js} +1 -1
- package/dist/cdn/{3PBCQSML.js → JZXMWXVD.js} +1 -1
- package/dist/cdn/K4PC3ILQ.js +2 -0
- package/dist/cdn/{S2OPU6EB.js → KAZBQ6OA.js} +1 -1
- package/dist/cdn/{TEZDBCLU.js → KGJGLAWM.js} +1 -1
- package/dist/cdn/{VXRHLDSF.js → KRVBBG4M.js} +1 -1
- package/dist/cdn/{FZJKT7BV.js → KWIBK4I5.js} +1 -1
- package/dist/cdn/{CNAGRWBY.js → L5JWLRD3.js} +1 -1
- package/dist/cdn/L6YZXUBB.js +2 -0
- package/dist/cdn/{VWFVE3N5.js → LT5ALQM5.js} +1 -1
- package/dist/cdn/{T6MNZWQJ.js → MAM7YHLA.js} +1 -1
- package/dist/cdn/{S2WF243X.js → MD36SH63.js} +1 -1
- package/dist/cdn/{YGRKF7FM.js → N7QKWBTM.js} +1 -1
- package/dist/cdn/{VU4FTMX6.js → NWXN5M4S.js} +1 -1
- package/dist/cdn/{GSULD3SQ.js → ODGGFBDK.js} +1 -1
- package/dist/cdn/{THO22RHZ.js → OFQNQF6N.js} +1 -1
- package/dist/cdn/{NYXESRIT.js → ONPN5M3Z.js} +1 -1
- package/dist/cdn/{N472QGAH.js → ORVYHFUJ.js} +1 -1
- package/dist/cdn/{CGXCY6GA.js → P76K34HQ.js} +1 -1
- package/dist/cdn/{SGG7SP3T.js → P7PWOUNZ.js} +1 -1
- package/dist/cdn/{6TBMOJWN.js → PQ5PGLJM.js} +1 -1
- package/dist/cdn/{RM2HMUW5.js → PYMUS3H4.js} +1 -1
- package/dist/cdn/{BFJ4VLH7.js → PZ2JPHRS.js} +1 -1
- package/dist/cdn/{FHDRIX57.js → Q4B4MXH4.js} +1 -1
- package/dist/cdn/{XLPNOCX2.js → QF7RABZH.js} +1 -1
- package/dist/cdn/{T3ZQTVDW.js → QKSSTPS3.js} +1 -1
- package/dist/cdn/{CFNAG4UQ.js → QUHJMEBB.js} +1 -1
- package/dist/cdn/{GIIC5RQS.js → R2FIOZIL.js} +1 -1
- package/dist/cdn/{ZA6HMKG3.js → RB7GCEEB.js} +1 -1
- package/dist/cdn/{U7UXBPOB.js → RE2BXNZ3.js} +1 -1
- package/dist/cdn/{OLRMETYO.js → RMFIN5AS.js} +1 -1
- package/dist/cdn/{Z2BF5ON2.js → RN57AN5P.js} +1 -1
- package/dist/cdn/{7DRCEN4I.js → RU5U2DVA.js} +1 -1
- package/dist/cdn/{AR4EHDQE.js → RYKRMJMK.js} +1 -1
- package/dist/cdn/{2WRZHA7I.js → RZ4T32PU.js} +1 -1
- package/dist/cdn/{K5TOSB65.js → SDWQW3ZX.js} +1 -1
- package/dist/cdn/{UBCQ3OXU.js → SK6O74LF.js} +1 -1
- package/dist/cdn/SKIP3GUP.js +2 -0
- package/dist/cdn/{FKFLM37F.js → T3JWZEB6.js} +1 -1
- package/dist/cdn/{WBEN5CWQ.js → TGUIWWDN.js} +1 -1
- package/dist/cdn/TQRR2FH6.js +2 -0
- package/dist/cdn/{W2Z72SWO.js → U3H7EVCU.js} +1 -1
- package/dist/cdn/{Y27IRNJL.js → U4TAMNG3.js} +1 -1
- package/dist/cdn/{OE3W5FEW.js → UBGE4QNR.js} +1 -1
- package/dist/cdn/{RAXYFKPT.js → UELD2T53.js} +1 -1
- package/dist/cdn/{JKBRLNJZ.js → UNLAUFXF.js} +1 -1
- package/dist/cdn/URUFNID2.js +2 -0
- package/dist/cdn/{H6TQCFMC.js → UW3G2BPO.js} +1 -1
- package/dist/cdn/{PTIYROPJ.js → WBGZAAEK.js} +1 -1
- package/dist/cdn/{ZX4R6K46.js → WDTFIXMM.js} +1 -1
- package/dist/cdn/{NS2J3AS6.js → WLNRPTCN.js} +1 -1
- package/dist/cdn/{ETJEFAUU.js → WTTBFFC2.js} +1 -1
- package/dist/cdn/{TRID34Q5.js → WV6XSMZW.js} +1 -1
- package/dist/cdn/X7QWBVC2.js +2 -0
- package/dist/cdn/{KEJZKHZZ.js → XCDPFMHG.js} +1 -1
- package/dist/cdn/{C45HGFAM.js → XIOIZK7A.js} +1 -1
- package/dist/cdn/{A724KY7J.js → Y4RMI55P.js} +1 -1
- package/dist/cdn/YLLIMNEW.js +2 -0
- package/dist/cdn/{DETI55RG.js → YXYCWJFF.js} +1 -1
- package/dist/cdn/{OE46TF5I.js → Z6LXLPK7.js} +1 -1
- package/dist/cdn/{WWASOGVO.js → ZOBY4YF2.js} +1 -1
- package/dist/cdn/{DHY6U2TQ.js → ZVTV4UKT.js} +1 -1
- package/dist/cdn/assets/elevation-profile/t9n/messages.fr.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +7 -7
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +10 -10
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -7
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
- package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -3
- package/dist/components/arcgis-bookmarks/types.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +4 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -6
- package/dist/components/arcgis-clipboard/customElement.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +14 -14
- package/dist/components/arcgis-daylight/customElement.js +2 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +7 -7
- package/dist/components/arcgis-directions/customElement.d.ts +4 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-editor/customElement.d.ts +2 -3
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +9 -9
- package/dist/components/arcgis-feature/customElement.d.ts +7 -7
- package/dist/components/arcgis-feature-fields/customElement.js +7 -7
- package/dist/components/arcgis-feature-form/customElement.d.ts +3 -4
- package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
- package/dist/components/arcgis-feature-table/customElement.d.ts +16 -23
- package/dist/components/arcgis-feature-templates/customElement.d.ts +4 -6
- package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
- package/dist/components/arcgis-features/customElement.d.ts +41 -43
- package/dist/components/arcgis-features/customElement.js +48 -42
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -5
- package/dist/components/arcgis-grid-controls/customElement.d.ts +8 -8
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.d.ts +9 -11
- package/dist/components/arcgis-legend/customElement.d.ts +4 -4
- package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -5
- package/dist/components/arcgis-link-chart/customElement.d.ts +21 -23
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +58 -60
- package/dist/components/arcgis-measurement/customElement.d.ts +3 -3
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +8 -10
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -3
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +9 -9
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +3 -3
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +2 -2
- package/dist/components/arcgis-paste/customElement.d.ts +4 -4
- package/dist/components/arcgis-popup/customElement.d.ts +50 -52
- package/dist/components/arcgis-popup/customElement.js +50 -55
- package/dist/components/arcgis-popup/types.d.ts +1 -1
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -2
- package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +12 -13
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +54 -56
- package/dist/components/arcgis-search/customElement.d.ts +18 -20
- package/dist/components/arcgis-search/customElement.js +8 -9
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +29 -29
- package/dist/components/arcgis-sketch/customElement.d.ts +3 -4
- package/dist/components/arcgis-slice/customElement.d.ts +12 -12
- package/dist/components/arcgis-slice/types.d.ts +2 -2
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +11 -11
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +9 -9
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +10 -10
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +13 -13
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +20 -20
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +9 -9
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +14 -14
- package/dist/components/arcgis-swipe/customElement.d.ts +5 -5
- package/dist/components/arcgis-table-list/customElement.d.ts +7 -8
- package/dist/components/arcgis-time-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +7 -30
- package/dist/components/arcgis-time-zone-label/customElement.js +15 -48
- package/dist/components/arcgis-time-zone-label/index.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +6 -9
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -4
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +28 -26
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -3
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +44 -44
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +17 -18
- package/dist/components/arcgis-version-management/customElement.d.ts +3 -4
- package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +17 -17
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +5 -5
- package/dist/components/types.d.ts +3 -3
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -2
- package/dist/types/preact.d.ts +1 -2
- package/dist/types/react.d.ts +1 -2
- package/dist/types/stencil.d.ts +1 -2
- package/package.json +4 -4
- package/dist/cdn/2LQLX6UN.js +0 -2
- package/dist/cdn/43GVPQTY.js +0 -2
- package/dist/cdn/BVJCLI2O.js +0 -2
- package/dist/cdn/F6ZBZTSB.js +0 -2
- package/dist/cdn/JWX6Z3ZF.js +0 -2
- package/dist/cdn/LEJDJAPO.js +0 -2
- package/dist/cdn/LT6PKSRL.js +0 -2
- package/dist/cdn/MTTO5ISS.js +0 -2
- package/dist/cdn/QCAKPRXK.js +0 -2
- package/dist/cdn/RHWPLIDI.js +0 -2
- package/dist/cdn/T5J4CTR7.js +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
3
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
2
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
5
|
import type { EsriClipboard } from "@arcgis/core/applications/Components/clipboard.js";
|
|
6
6
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type Point from "@arcgis/core/geometry/Point.js";
|
|
3
3
|
import type Conversion from "@arcgis/core/widgets/CoordinateConversion/support/Conversion.js";
|
|
4
4
|
import type Format from "@arcgis/core/widgets/CoordinateConversion/support/Format.js";
|
|
5
|
-
import type
|
|
5
|
+
import type Collection from "@arcgis/core/core/Collection.js";
|
|
6
6
|
import type PictureMarkerSymbol from "@arcgis/core/symbols/PictureMarkerSymbol.js";
|
|
7
7
|
import type SimpleMarkerSymbol from "@arcgis/core/symbols/SimpleMarkerSymbol.js";
|
|
8
8
|
import type CIMSymbol from "@arcgis/core/symbols/CIMSymbol.js";
|
|
@@ -64,7 +64,7 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
64
64
|
* ```
|
|
65
65
|
* @since 4.7
|
|
66
66
|
*/
|
|
67
|
-
accessor conversions:
|
|
67
|
+
accessor conversions: Collection<Conversion>;
|
|
68
68
|
/**
|
|
69
69
|
* Describes the location of the coordinates currently displayed by the component as a [Point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/).
|
|
70
70
|
* Setting this property will update all conversions.
|
|
@@ -109,7 +109,7 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
109
109
|
* coordinateConversionComponent.formats.removeMany(toRemove);
|
|
110
110
|
* ```
|
|
111
111
|
*/
|
|
112
|
-
accessor formats:
|
|
112
|
+
accessor formats: Collection<Format>;
|
|
113
113
|
/**
|
|
114
114
|
* This function provides the ability to override either the [arcgis-map.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) or [arcgis-scene.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) methods.
|
|
115
115
|
*
|
|
@@ -345,7 +345,7 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
345
345
|
/**
|
|
346
346
|
* Attempt to convert a string into a [point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/). The format of the
|
|
347
347
|
* string must be specified. A [collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) of available formats can be
|
|
348
|
-
* obtained from the [formats](
|
|
348
|
+
* obtained from the [formats](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-coordinate-conversion/#formats) property.
|
|
349
349
|
*
|
|
350
350
|
* @param coordinate - The coordinate string.
|
|
351
351
|
* @param format - Specifies the format of the input coordinate.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
2
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
|
|
5
5
|
import type { Season } from "./types.js";
|
|
@@ -7,10 +7,10 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
|
7
7
|
import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* The Daylight component can be used to manipulate the lighting conditions of
|
|
11
|
-
* [
|
|
10
|
+
* The Daylight component can be used to manipulate the lighting conditions of an
|
|
11
|
+
* [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
|
|
12
12
|
* To achieve this, the component modifies the `lighting` property of the
|
|
13
|
-
* [environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment) of the Scene component.
|
|
13
|
+
* [arcgis-scene.environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment) of the Scene component.
|
|
14
14
|
*
|
|
15
15
|
* To illuminate the scene, one can either use a configuration of date and time to position the
|
|
16
16
|
* [sun](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/) or switch to the
|
|
@@ -20,16 +20,16 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
20
20
|
* When illuminating the scene with **[sunlight](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/)**
|
|
21
21
|
* and adjusting the time and date, the positions of the sun and stars are updated accordingly. This also updates the
|
|
22
22
|
* [date](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/#date) property of
|
|
23
|
-
* [environment
|
|
23
|
+
* [arcgis-scene.environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment).
|
|
24
24
|
*
|
|
25
25
|
* [](https://developers.arcgis.com/javascript/latest/sample-code/daylight/)
|
|
26
26
|
*
|
|
27
27
|
* The component has an option to select the timezone. When the user makes any adjustments here, a new time
|
|
28
28
|
* in the chosen timezone is calculated and displayed in the slider. The timezone selector can be disabled
|
|
29
|
-
* by using the [hideTimezone](
|
|
29
|
+
* by using the [hideTimezone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#hideTimezone) property.
|
|
30
30
|
*
|
|
31
31
|
* By default, a calendar is displayed to select the day, month, and year.
|
|
32
|
-
* With the [dateOrSeason](
|
|
32
|
+
* With the [dateOrSeason](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#dateOrSeason) property, the calendar can be replaced with
|
|
33
33
|
* a dropdown menu where a season can be selected instead:
|
|
34
34
|
*
|
|
35
35
|
* 
|
|
@@ -37,7 +37,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
37
37
|
* There are two play buttons: one corresponds to the time-of-day slider and animates the lighting
|
|
38
38
|
* over the course of a day, while the other corresponds to the date picker
|
|
39
39
|
* and animates the lighting over the course of a year (month by month). The speed of the time-of-day animation can
|
|
40
|
-
* be set using the [playSpeedMultiplier](
|
|
40
|
+
* be set using the [playSpeedMultiplier](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#playSpeedMultiplier) property.
|
|
41
41
|
*
|
|
42
42
|
* 
|
|
43
43
|
*
|
|
@@ -53,7 +53,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
53
53
|
*
|
|
54
54
|
* **Things to consider**
|
|
55
55
|
*
|
|
56
|
-
* * Daylight is only supported in a 3D [
|
|
56
|
+
* * Daylight is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
57
57
|
* * The Daylight component uses UTC time and does not account for the daylight savings times in different countries and regions of the world.
|
|
58
58
|
* * When using the [virtual light](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/VirtualLighting/),
|
|
59
59
|
* setting the time and date programmatically does not have an influence on the lighting conditions of the scene.
|
|
@@ -61,9 +61,9 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
61
61
|
* the time slider and time zone automatically react to the changes of the camera (e.g., position, rotation, pan, zoom) because the position of the simulated sun
|
|
62
62
|
* is updated to maintain a consistent solar time of day based on the camera's current longitude. This can be adjusted using the
|
|
63
63
|
* [cameraTrackingEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/#cameraTrackingEnabled)
|
|
64
|
-
* property on [environment
|
|
64
|
+
* property on [arcgis-scene.environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment).
|
|
65
65
|
*
|
|
66
|
-
* @see [
|
|
66
|
+
* @see [arcgis-scene.environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment)
|
|
67
67
|
* @see [SunLighting](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/)
|
|
68
68
|
* @see [VirtualLighting](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/VirtualLighting/)
|
|
69
69
|
* @see [Sample - Daylight component](https://developers.arcgis.com/javascript/latest/sample-code/daylight/)
|
|
@@ -84,7 +84,7 @@ export abstract class ArcgisDaylight extends LitElement {
|
|
|
84
84
|
* Sets the season that is used when the component displays the season picker.
|
|
85
85
|
* Each season uses a fixed date corresponding to the seasonal equinoxes and solstices.
|
|
86
86
|
*
|
|
87
|
-
* @see [dateOrSeason](
|
|
87
|
+
* @see [dateOrSeason](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#dateOrSeason)
|
|
88
88
|
*/
|
|
89
89
|
accessor currentSeason: Season;
|
|
90
90
|
/**
|
|
@@ -128,7 +128,7 @@ export abstract class ArcgisDaylight extends LitElement {
|
|
|
128
128
|
/** The component's default label. */
|
|
129
129
|
accessor label: string | undefined;
|
|
130
130
|
/**
|
|
131
|
-
* The calendar date in the timezone given by [utcOffset](
|
|
131
|
+
* The calendar date in the timezone given by [utcOffset](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#utcOffset).
|
|
132
132
|
*
|
|
133
133
|
* @example
|
|
134
134
|
* ```js
|
|
@@ -212,7 +212,7 @@ export abstract class ArcgisDaylight extends LitElement {
|
|
|
212
212
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
213
213
|
/**
|
|
214
214
|
* Slider position for the time of day in the timezone
|
|
215
|
-
* given by [utcOffset](
|
|
215
|
+
* given by [utcOffset](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#utcOffset). The position represents the time
|
|
216
216
|
* of the day in minutes. Possible values range between 0 and 1440.
|
|
217
217
|
*
|
|
218
218
|
* @example
|
|
@@ -320,7 +320,8 @@ class Xe extends fe {
|
|
|
320
320
|
const r = i.lighting, n = this.#n;
|
|
321
321
|
this.#n = r;
|
|
322
322
|
const s = {
|
|
323
|
-
directShadowsEnabled: r.directShadowsEnabled
|
|
323
|
+
directShadowsEnabled: r.directShadowsEnabled,
|
|
324
|
+
glow: r.glow
|
|
324
325
|
};
|
|
325
326
|
p(r) && (s.cameraTrackingEnabled = r.cameraTrackingEnabled);
|
|
326
327
|
const o = e ? "virtual" : "sun";
|
|
@@ -9,7 +9,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
9
9
|
import type { SystemOrLengthUnit } from "@arcgis/core/core/units.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* The Direct Line Measurement 3D component can be added to
|
|
12
|
+
* The Direct Line Measurement 3D component can be added to an [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
|
|
13
13
|
* component to calculate and display vertical, horizontal, and direct distances between two points.
|
|
14
14
|
*
|
|
15
15
|
* [](https://developers.arcgis.com/javascript/latest/sample-code/measurement-3d/)
|
|
@@ -37,8 +37,8 @@ import type { SystemOrLengthUnit } from "@arcgis/core/core/units.js";
|
|
|
37
37
|
*
|
|
38
38
|
* **Things to consider**
|
|
39
39
|
*
|
|
40
|
-
* * Direct Line Measurement 3D is designed to work in the Scene component. For measurements in the [
|
|
41
|
-
* component, use [
|
|
40
|
+
* * Direct Line Measurement 3D is designed to work in the Scene component. For measurements in the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/)
|
|
41
|
+
* component, use [arcgis-distance-measurement-2d](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-distance-measurement-2d/).
|
|
42
42
|
* * Snapping is enabled by default. This can be temporarily disabled by holding the `CTRL` key.
|
|
43
43
|
* * Layer types currently supported for snapping are:
|
|
44
44
|
* [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/),
|
|
@@ -63,9 +63,9 @@ export abstract class ArcgisDirectLineMeasurement3d extends LitElement {
|
|
|
63
63
|
* The [DirectLineMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/DirectLineMeasurementAnalysis/)
|
|
64
64
|
* created or modified by the component.
|
|
65
65
|
*
|
|
66
|
-
* When connecting the Direct Line Measurement 3D component to
|
|
66
|
+
* When connecting the Direct Line Measurement 3D component to an [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
|
|
67
67
|
* component, it automatically creates an empty analysis and adds it to the Scene's
|
|
68
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
68
|
+
* [arcgis-scene.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
69
69
|
* You can then wait for the [DirectLineMeasurementAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/DirectLineMeasurementAnalysisView3D/)
|
|
70
70
|
* to be created before accessing the analysis results.
|
|
71
71
|
*
|
|
@@ -208,13 +208,13 @@ export abstract class ArcgisDirectLineMeasurement3d extends LitElement {
|
|
|
208
208
|
get state(): DirectLineMeasurement3DState;
|
|
209
209
|
/**
|
|
210
210
|
* Unit system (imperial, metric) or specific unit used for displaying the distance values. Possible values are listed in
|
|
211
|
-
* [unitOptions](
|
|
211
|
+
* [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-direct-line-measurement-3d/#unitOptions).
|
|
212
212
|
*/
|
|
213
213
|
accessor unit: SystemOrLengthUnit;
|
|
214
214
|
/**
|
|
215
215
|
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
216
216
|
* By default, the following units are included: `metric`, `imperial`, `inches`, `feet`, `us-feet`, `yards`, `miles`, `nautical-miles`, `meters`, `kilometers`.
|
|
217
|
-
* Possible [unit](
|
|
217
|
+
* Possible [unit](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-direct-line-measurement-3d/#unit) values can only be a subset of this list.
|
|
218
218
|
*/
|
|
219
219
|
accessor unitOptions: Array<SystemOrLengthUnit>;
|
|
220
220
|
/**
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type RouteLayer from "@arcgis/core/layers/RouteLayer.js";
|
|
3
|
-
import type PortalItem from "@arcgis/core/portal/PortalItem";
|
|
4
|
-
import type PortalFolder from "@arcgis/core/portal/PortalFolder";
|
|
3
|
+
import type PortalItem from "@arcgis/core/portal/PortalItem.js";
|
|
4
|
+
import type PortalFolder from "@arcgis/core/portal/PortalFolder.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
6
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
7
|
-
import type { RouteLayerSolveResult } from "@arcgis/core/layers/types";
|
|
7
|
+
import type { RouteLayerSolveResult } from "@arcgis/core/layers/types.js";
|
|
8
8
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
9
9
|
import type { GoToOverride, HeadingLevel } from "@arcgis/core/widgets/support/types.js";
|
|
10
10
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
11
|
-
import type { RouteLayerSolveResult as RouteLayerSolveResult2 } from "@arcgis/core/layers/types.js";
|
|
12
11
|
import type { SearchProperties } from "@arcgis/core/widgets/Search.js";
|
|
13
12
|
import type { State } from "@arcgis/core/widgets/Directions/DirectionsViewModel.js";
|
|
14
13
|
import type { SystemOrLengthUnit } from "@arcgis/core/core/units.js";
|
|
@@ -123,7 +122,7 @@ export abstract class ArcgisDirections extends LitElement {
|
|
|
123
122
|
*
|
|
124
123
|
* @see [RouteLayer#solve()](https://developers.arcgis.com/javascript/latest/references/core/layers/RouteLayer/#solve)
|
|
125
124
|
*/
|
|
126
|
-
get lastRoute():
|
|
125
|
+
get lastRoute(): RouteLayerSolveResult | null | undefined;
|
|
127
126
|
/**
|
|
128
127
|
* The [RouteLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/RouteLayer/) associated with the Directions component.
|
|
129
128
|
* This property is required.
|
|
@@ -10,7 +10,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
10
10
|
import type { SystemOrLengthUnit } from "@arcgis/core/core/units.js";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* The Distance Measurement 2D component can be added to
|
|
13
|
+
* The Distance Measurement 2D component can be added to an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/)
|
|
14
14
|
* component to calculate and display the length of a polyline.
|
|
15
15
|
*
|
|
16
16
|
* How distances are computed depends on the scene's spatial reference.
|
|
@@ -26,9 +26,9 @@ export abstract class ArcgisDistanceMeasurement2d extends LitElement {
|
|
|
26
26
|
* The [DistanceMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/DistanceMeasurementAnalysis/)
|
|
27
27
|
* created or modified by the component.
|
|
28
28
|
*
|
|
29
|
-
* When connecting the Distance Measurement 2D component to the [
|
|
29
|
+
* When connecting the Distance Measurement 2D component to the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/)
|
|
30
30
|
* component, it automatically creates an empty analysis and adds it to the Map's
|
|
31
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#analyses) collection.
|
|
31
|
+
* [arcgis-map.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#analyses) collection.
|
|
32
32
|
* You can then wait for the [DistanceMeasurementAnalysisView2D](https://developers.arcgis.com/javascript/latest/references/core/views/2d/analysis/DistanceMeasurementAnalysisView2D/)
|
|
33
33
|
* to be created before accessing the analysis results.
|
|
34
34
|
*
|
|
@@ -180,13 +180,13 @@ export abstract class ArcgisDistanceMeasurement2d extends LitElement {
|
|
|
180
180
|
get state(): DistanceMeasurement2DState;
|
|
181
181
|
/**
|
|
182
182
|
* Unit system (imperial, metric) or specific unit used for displaying the distance values. Possible values are listed in
|
|
183
|
-
* [unitOptions](
|
|
183
|
+
* [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-distance-measurement-2d/#unitOptions).
|
|
184
184
|
*/
|
|
185
185
|
accessor unit: SystemOrLengthUnit;
|
|
186
186
|
/**
|
|
187
187
|
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
188
188
|
* By default, the following units are included: `metric`, `imperial`, `inches`, `feet`, `us-feet`, `yards`, `miles`, `nautical-miles`, `meters`, `kilometers`.
|
|
189
|
-
* Possible [unit](
|
|
189
|
+
* Possible [unit](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-distance-measurement-2d/#unit) values can only be a subset of this list.
|
|
190
190
|
*/
|
|
191
191
|
accessor unitOptions: Array<SystemOrLengthUnit>;
|
|
192
192
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type Graphic from "@arcgis/core/Graphic";
|
|
2
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
3
|
import type CreateFeaturesWorkflow from "@arcgis/core/widgets/Editor/CreateFeaturesWorkflow.js";
|
|
4
4
|
import type UpdateWorkflow from "@arcgis/core/widgets/Editor/UpdateWorkflow.js";
|
|
5
5
|
import type SketchLabelOptions from "@arcgis/core/views/interactive/sketch/SketchLabelOptions.js";
|
|
@@ -8,11 +8,10 @@ import type SketchTooltipOptions from "@arcgis/core/views/interactive/sketch/Ske
|
|
|
8
8
|
import type { CreateFeaturesCreationInfo } from "@arcgis/core/widgets/Editor.js";
|
|
9
9
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
10
10
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
11
|
-
import type { EditorSketchUpdateEvent, EditorSketchCreateEvent } from "@arcgis/core/widgets/Editor/types";
|
|
11
|
+
import type { EditorSketchUpdateEvent, EditorSketchCreateEvent, LayerInfo, State, SupportingWidgetDefaults } from "@arcgis/core/widgets/Editor/types.js";
|
|
12
12
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
13
13
|
import type { HeadingLevel } from "@arcgis/core/widgets/support/types.js";
|
|
14
14
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
15
|
-
import type { LayerInfo, State, SupportingWidgetDefaults } from "@arcgis/core/widgets/Editor/types.js";
|
|
16
15
|
|
|
17
16
|
/**
|
|
18
17
|
* The Editor component provides an out-of-the-box editing experience to help streamline editing within a web application.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type Graphic from "@arcgis/core/Graphic";
|
|
2
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
3
|
import type ElevationProfileAnalysis from "@arcgis/core/analysis/ElevationProfileAnalysis.js";
|
|
4
4
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
5
5
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
@@ -20,14 +20,14 @@ import type { SystemOrLengthUnit } from "@arcgis/core/core/units.js";
|
|
|
20
20
|
*
|
|
21
21
|
* [](https://developers.arcgis.com/javascript/latest/sample-code/elevation-profile/)
|
|
22
22
|
*
|
|
23
|
-
* The component can visualize multiple profile lines, depending on whether it is used in
|
|
23
|
+
* The component can visualize multiple profile lines, depending on whether it is used in an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) component or an [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component and on the available elevation source data:
|
|
24
24
|
*
|
|
25
|
-
* * [**ElevationProfileLineGround**](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineGround/): represents a profile line that uses elevation from [
|
|
25
|
+
* * [**ElevationProfileLineGround**](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineGround/): represents a profile line that uses elevation from [arcgis-map.ground](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#ground) of the connected Map or Scene component. The profile recomputes automatically when ground layers are added, removed, or their visibility changes.
|
|
26
26
|
* * [**ElevationProfileLineInput**](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineInput/): represents a profile line that reads elevation from the analysis geometry itself; typically used for polylines with z values. If the line lacks z values but is displayed with a non-draped elevation mode, a profile is still computed. If `elevationInfo` is set to `on-the-ground`, elevation comes from the Ground (when ground layers are present). An elevation offset can be applied. In a Map this requires client-side graphics that already contain z values.
|
|
27
27
|
* * [**ElevationProfileLineQuery**](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineQuery/): represents a profile line that samples elevation from the elevation source set in the [source](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineQuery/#source) property. The elevation source can be an [ElevationLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ElevationLayer/) or an object with a method called `queryElevation` that has the same signature as [queryElevation()](https://developers.arcgis.com/javascript/latest/references/core/layers/ElevationLayer/#queryElevation).
|
|
28
28
|
* * [**ElevationProfileLineScene**](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineScene/): represents a profile line that derives elevation from the `Scene` and all its volumetric objects (e.g. SceneLayer, IntegratedMeshLayer).
|
|
29
29
|
*
|
|
30
|
-
* You can choose to display one or several profile lines in the chart, by setting them in the [profiles](
|
|
30
|
+
* You can choose to display one or several profile lines in the chart, by setting them in the [profiles](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-elevation-profile/#profiles) property.
|
|
31
31
|
*
|
|
32
32
|
* Hovering over the chart shows an overlaid tooltip with elevation values of all profiles, and displays colored dot markers at the matching positions.
|
|
33
33
|
*
|
|
@@ -45,7 +45,7 @@ import type { SystemOrLengthUnit } from "@arcgis/core/core/units.js";
|
|
|
45
45
|
* **Known limitations**
|
|
46
46
|
*
|
|
47
47
|
* - [ElevationProfileLineInput](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineInput/) in 2D is only valid when the analysis [geometry](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/#geometry) has z values, `hasZ===true` and no [elevationInfo](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/#elevationInfo) is set.
|
|
48
|
-
* - [ElevationProfileLineScene](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineScene/) is only supported in a 3D [
|
|
48
|
+
* - [ElevationProfileLineScene](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineScene/) is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
49
49
|
*
|
|
50
50
|
* **See also**
|
|
51
51
|
*
|
|
@@ -160,11 +160,11 @@ export abstract class ArcgisElevationProfile extends LitElement {
|
|
|
160
160
|
* The [ElevationProfileAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/)
|
|
161
161
|
* created or modified by the component.
|
|
162
162
|
*
|
|
163
|
-
* When connecting the Elevation Profile component to the [
|
|
164
|
-
* or [
|
|
163
|
+
* When connecting the Elevation Profile component to the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/)
|
|
164
|
+
* or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
|
|
165
165
|
* components, it automatically creates an empty analysis and adds it to the Map's
|
|
166
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#analyses) collection or the Scene's
|
|
167
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
166
|
+
* [arcgis-map.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#analyses) collection or the Scene's
|
|
167
|
+
* [arcgis-scene.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
168
168
|
* You can then wait for the [ElevationProfileAnalysisView2D](https://developers.arcgis.com/javascript/latest/references/core/views/2d/analysis/ElevationProfileAnalysisView2D/)
|
|
169
169
|
* or [ElevationProfileAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ElevationProfileAnalysisView3D/)
|
|
170
170
|
* to be created (depending on whether you are using a Map or Scene component) before accessing the analysis results.
|
|
@@ -18,7 +18,7 @@ import type { State } from "@arcgis/core/widgets/Feature/types.js";
|
|
|
18
18
|
* If wanting to show a feature's content with [actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions), [related](https://developers.arcgis.com/javascript/latest/references/core/popup/content/RelationshipContent/), or [clustering](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/#popupTemplate), etc., then use the [arcgis-features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/) component.
|
|
19
19
|
*
|
|
20
20
|
* When Arcade expressions that use `$map` or [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/) are defined in any popup template content or as expression elements,
|
|
21
|
-
* the [map](
|
|
21
|
+
* the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#map) and [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#spatialReference) properties need to be defined in the Feature component.
|
|
22
22
|
*
|
|
23
23
|
* @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
|
|
24
24
|
* @see [Arcade - expression language](https://developers.arcgis.com/javascript/latest/arcade/)
|
|
@@ -94,16 +94,16 @@ export abstract class ArcgisFeature extends LitElement {
|
|
|
94
94
|
*/
|
|
95
95
|
accessor graphic: Graphic | null | undefined;
|
|
96
96
|
/**
|
|
97
|
-
* The title for the feature. This can be disabled by setting the [
|
|
97
|
+
* The title for the feature. This can be disabled by setting the [hideHeading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#hideHeading) property to `true`.
|
|
98
98
|
*
|
|
99
99
|
* @default null
|
|
100
100
|
* @since 4.34
|
|
101
|
-
* @see [headingLevel](
|
|
102
|
-
* @see [hideHeading](
|
|
101
|
+
* @see [headingLevel](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#headingLevel)
|
|
102
|
+
* @see [hideHeading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#hideHeading)
|
|
103
103
|
*/
|
|
104
104
|
get heading(): string;
|
|
105
105
|
/**
|
|
106
|
-
* Indicates the heading level to use for the [heading](
|
|
106
|
+
* Indicates the heading level to use for the [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#heading) of the component.
|
|
107
107
|
* By default, the title is rendered
|
|
108
108
|
* as a level 2 heading (e.g. `<h2>Title of content</h2>`). Depending on the component's placement
|
|
109
109
|
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
@@ -154,7 +154,7 @@ export abstract class ArcgisFeature extends LitElement {
|
|
|
154
154
|
*/
|
|
155
155
|
accessor hideFieldsContent: boolean;
|
|
156
156
|
/**
|
|
157
|
-
* This property provides the ability to hide or show the component's [heading](
|
|
157
|
+
* This property provides the ability to hide or show the component's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#heading).
|
|
158
158
|
*
|
|
159
159
|
* @default false
|
|
160
160
|
* @since 4.34
|
|
@@ -211,7 +211,7 @@ export abstract class ArcgisFeature extends LitElement {
|
|
|
211
211
|
*/
|
|
212
212
|
accessor location: Point | null | undefined;
|
|
213
213
|
/**
|
|
214
|
-
* A map is required when the input [graphic](
|
|
214
|
+
* A map is required when the input [graphic](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#graphic) has a popupTemplate that contains [Arcade](https://developers.arcgis.com/arcade) expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/ExpressionInfo/) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) that may use the `$map` profile variable to access data from layers within a map. Without a map, expressions that use `$map` will throw an error.
|
|
215
215
|
*
|
|
216
216
|
* @default null
|
|
217
217
|
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
@@ -4,9 +4,9 @@ import { css as f, html as p } from "lit";
|
|
|
4
4
|
import { renderingSanitizer as c } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
5
5
|
import { LitElement as b } from "@arcgis/lumina";
|
|
6
6
|
import { addLtrMark as u } from "@arcgis/toolkit/string";
|
|
7
|
-
import { j as v, k as $, l as
|
|
7
|
+
import { j as v, k as $, l as w } from "../../chunks/feature-utils.js";
|
|
8
8
|
import { replace as g } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
9
|
-
const
|
|
9
|
+
const I = [
|
|
10
10
|
{
|
|
11
11
|
pattern: /^\s*(https?:\/\/([^\s]+))\s*$/iu,
|
|
12
12
|
target: "_blank",
|
|
@@ -78,8 +78,8 @@ const F = [
|
|
|
78
78
|
appName: "Microsoft Power Bi"
|
|
79
79
|
}
|
|
80
80
|
];
|
|
81
|
-
function
|
|
82
|
-
const e =
|
|
81
|
+
function F(d, t) {
|
|
82
|
+
const e = I.find((l) => l.pattern.test(t));
|
|
83
83
|
if (!e)
|
|
84
84
|
return t;
|
|
85
85
|
const i = t.match(e.pattern)?.[2], a = g(
|
|
@@ -91,7 +91,7 @@ function w(d, t) {
|
|
|
91
91
|
appName: e.appName
|
|
92
92
|
}
|
|
93
93
|
), n = e.target ? ` target="${e.target}"` : "", r = e.target === "_blank" ? ' rel="noreferrer"' : "";
|
|
94
|
-
return c.sanitizeUrl(new URL(t, window.location.origin).toString()).replace(e.pattern, `<a${n} href="$1"${r}>${a}</a>`);
|
|
94
|
+
return c.sanitizeUrl(new URL(t, window.location.origin === "null" ? void 0 : window.location.origin).toString()).replace(e.pattern, `<a${n} href="$1"${r}>${a}</a>`);
|
|
95
95
|
}
|
|
96
96
|
const N = f`.table{border:none;width:100%;border-collapse:collapse;color:var(--calcite-color-text-2)}.table caption{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.table tr:nth-child(odd){background-color:var(--calcite-color-foreground-1)}.table tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}.table tr a{color:var(--calcite-color-text-link)}.table tr a:hover,.table tr a:focus{color:var(--calcite-color-brand-hover)}.table tr td,.table tr th{padding:var(--calcite-spacing-xs) var(--calcite-spacing-sm);vertical-align:top;word-break:break-word;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular);line-height:var(--calcite-font-line-height-relative-normal)}.table tr th{border-inline-end:var(--calcite-border-width-md) solid var(--calcite-color-border-3);width:50%;text-align:start}.table tr td{width:50%}`;
|
|
97
97
|
class y extends b {
|
|
@@ -112,7 +112,7 @@ class y extends b {
|
|
|
112
112
|
const o = r.clone();
|
|
113
113
|
o.label = v({ fieldInfo: o, expressionInfos: t, layer: s, graphic: i, isContentFieldInfos: a });
|
|
114
114
|
const m = $({ fieldInfo: r, graphic: i, layer: s });
|
|
115
|
-
m && (o.fieldFormat =
|
|
115
|
+
m && (o.fieldFormat = w({
|
|
116
116
|
configurableFieldsContainer: m,
|
|
117
117
|
fieldInfo: o,
|
|
118
118
|
isContentFieldInfos: a
|
|
@@ -126,7 +126,7 @@ class y extends b {
|
|
|
126
126
|
const { values: e } = this, s = t.fieldName || "", i = t.label || s, a = e ? e[s] == null ? "" : e[s] : "", n = t?.fieldFormat?.type === "date-time", r = {
|
|
127
127
|
openInApp: this.messages?.openInApp ?? "",
|
|
128
128
|
view: this.messages?.view ?? ""
|
|
129
|
-
}, l = typeof a == "number" && !n ? u(`${a}`) : typeof a == "string" ?
|
|
129
|
+
}, l = typeof a == "number" && !n ? u(`${a}`) : typeof a == "string" ? F(r, a) : `${a}`;
|
|
130
130
|
return p`<tr><th .innerHTML=${c.sanitize(i) ?? ""}></th><td .innerHTML=${c.sanitize(l) ?? ""}></td></tr>`;
|
|
131
131
|
}
|
|
132
132
|
_renderFields() {
|
|
@@ -4,12 +4,11 @@ import type FormTemplate from "@arcgis/core/form/FormTemplate.js";
|
|
|
4
4
|
import type Map from "@arcgis/core/Map.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
6
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
7
|
-
import type { ValueChangeEvent, SubmitEvent } from "@arcgis/core/widgets/FeatureForm/FeatureFormViewModel";
|
|
7
|
+
import type { ValueChangeEvent, SubmitEvent, FeatureFormViewModelState } from "@arcgis/core/widgets/FeatureForm/FeatureFormViewModel.js";
|
|
8
8
|
import type { EditType } from "@arcgis/core/widgets/support/forms/types.js";
|
|
9
9
|
import type { HeadingLevel } from "@arcgis/core/widgets/support/types.js";
|
|
10
10
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
11
11
|
import type { FeatureFormLayerUnion } from "@arcgis/core/widgets/FeatureForm/types.js";
|
|
12
|
-
import type { FeatureFormViewModelState } from "@arcgis/core/widgets/FeatureForm/FeatureFormViewModel.js";
|
|
13
12
|
|
|
14
13
|
export abstract class ArcgisFeatureForm extends LitElement {
|
|
15
14
|
/**
|
|
@@ -166,7 +165,7 @@ export abstract class ArcgisFeatureForm extends LitElement {
|
|
|
166
165
|
*/
|
|
167
166
|
accessor layer: FeatureFormLayerUnion | null | undefined;
|
|
168
167
|
/**
|
|
169
|
-
* A map is required when the input [
|
|
168
|
+
* A map is required when the input [layer](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-form/#layer) has a popupTemplate that contains [Arcade](https://developers.arcgis.com/arcade) expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/ExpressionInfo/) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) that may use the `$map` profile variable to access data from layers within a map. Without a map, expressions that use `$map` will throw an error.
|
|
170
169
|
*
|
|
171
170
|
* @default null
|
|
172
171
|
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
@@ -210,7 +209,7 @@ export abstract class ArcgisFeatureForm extends LitElement {
|
|
|
210
209
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
|
|
211
210
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
212
211
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
213
|
-
/** Fires when the [submit()](
|
|
212
|
+
/** Fires when the [submit()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-form/#submit) method is called. */
|
|
214
213
|
readonly arcgisSubmit: import("@arcgis/lumina").TargetedEvent<this, SubmitEvent>;
|
|
215
214
|
/** Fires when a field value is updated. */
|
|
216
215
|
readonly arcgisValueChange: import("@arcgis/lumina").TargetedEvent<this, ValueChangeEvent>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
|
-
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
|
|
4
|
-
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer";
|
|
5
|
-
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer";
|
|
3
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
4
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
5
|
+
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
6
6
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
7
|
-
import type { GeometryUnion } from "@arcgis/core/geometry/types";
|
|
8
|
-
import type { SymbolUnion } from "@arcgis/core/symbols/types";
|
|
7
|
+
import type { GeometryUnion } from "@arcgis/core/geometry/types.js";
|
|
8
|
+
import type { SymbolUnion } from "@arcgis/core/symbols/types.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* The Feature Image component generates a feature swatch representing a
|