@arcgis/map-components 5.2.0-next.143 → 5.2.0-next.145

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 (26) hide show
  1. package/dist/cdn/K6D2JHC4.js +1 -1
  2. package/dist/cdn/{Q73T55TC.js → TB4YNDRB.js} +1 -1
  3. package/dist/cdn/W3ENDJ6U.js +1 -1
  4. package/dist/cdn/{WCEDE4CZ.js → WRJNCIEP.js} +1 -1
  5. package/dist/cdn/Y2LELW5Y.js +1 -1
  6. package/dist/cdn/index.js +1 -1
  7. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +8 -3
  8. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +8 -3
  9. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
  10. package/dist/components/arcgis-basemap-gallery/customElement.js +10 -10
  11. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +8 -3
  12. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +8 -3
  13. package/dist/components/arcgis-editor/customElement.d.ts +8 -5
  14. package/dist/components/arcgis-elevation-profile/customElement.d.ts +15 -7
  15. package/dist/components/arcgis-feature-fields/customElement.js +20 -20
  16. package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -0
  17. package/dist/components/arcgis-link-chart/customElement.d.ts +4 -2
  18. package/dist/components/arcgis-map/customElement.d.ts +4 -2
  19. package/dist/components/arcgis-scene/customElement.d.ts +4 -2
  20. package/dist/components/arcgis-sketch/customElement.d.ts +18 -7
  21. package/dist/components/arcgis-volume-measurement/customElement.d.ts +30 -10
  22. package/dist/docs/api.json +1 -1
  23. package/dist/docs/docs.json +1 -1
  24. package/dist/docs/vscode.html-custom-data.json +1 -1
  25. package/dist/docs/web-types.json +1 -1
  26. package/package.json +6 -6
@@ -48,6 +48,9 @@ import type { SystemOrVolumeUnit, SystemOrLengthUnit, LengthUnit, SystemOrAreaUn
48
48
  * and an [IntegratedMesh3DTilesLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/IntegratedMesh3DTilesLayer/).
49
49
  * - This tool does not support WGS 1984 spatial reference in a local
50
50
  * [viewing mode](https://developers.arcgis.com/javascript/latest/references/core/webscene/InitialViewProperties/#viewingMode).
51
+ * - The cut-fill elevation tooltip remains enabled independently of
52
+ * [ViewOptions.tooltips](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#tooltips).
53
+ * Its display and input units can still inherit options on the view.
51
54
  *
52
55
  * **Things to consider**
53
56
  *
@@ -149,7 +152,10 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
149
152
  *
150
153
  * When no area unit is explicitly set on the component or its analysis, this property uses the area unit configured in the view through
151
154
  * [view.options.displayUnits.area](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits).
155
+ * If that option is unset or unavailable in [areaDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#areaDisplayUnitOptions),
156
+ * the component uses its default unit if available, or the first available unit.
152
157
  * This property overrides the area unit on this component's analysis without changing the units configured in the view.
158
+ * The reset button clears both overrides and resumes this inheritance and fallback behavior.
153
159
  *
154
160
  * @since 5.0
155
161
  */
@@ -157,9 +163,9 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
157
163
  /**
158
164
  * List of available units and unit systems (imperial, metric) that are shown in the component's area display unit dropdown.
159
165
  * By default, the following units are included: `metric`, `imperial`, `square-inches`, `square-feet`, `square-yards`, `square-miles`, `square-nautical-miles`, `square-us-feet`, `square-millimeters`, `square-centimeters`, `square-decimeters`, `square-meters`, `square-kilometers`, `acres`, `ares`, `hectares`.
160
- * If the unit inherited from the view through
166
+ * When neither the component nor its analysis has an explicit area unit, the unit inherited from
161
167
  * [view.options.displayUnits.area](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits)
162
- * is not listed in [areaDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#areaDisplayUnitOptions), the component checks whether its default unit is listed there.
168
+ * is used if listed in [areaDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#areaDisplayUnitOptions). Otherwise, the component checks whether its default unit is listed there.
163
169
  * If it is, the component uses that default. If neither unit is listed, it uses the first entry in
164
170
  * [areaDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#areaDisplayUnitOptions).
165
171
  *
@@ -191,7 +197,10 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
191
197
  *
192
198
  * When no elevation unit is explicitly set on the component or its analysis, this property uses the vertical length unit configured in the view through
193
199
  * [view.options.displayUnits.verticalLength](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits).
200
+ * If that option is unset or unavailable in [elevationDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#elevationDisplayUnitOptions),
201
+ * the component uses its default unit if available, or the first available unit.
194
202
  * This property overrides the elevation unit on this component's analysis without changing the units configured in the view.
203
+ * The reset button clears both overrides and resumes this inheritance and fallback behavior.
195
204
  *
196
205
  * @since 5.0
197
206
  */
@@ -199,9 +208,9 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
199
208
  /**
200
209
  * List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
201
210
  * By default, the following units are included: `metric`, `imperial`, `meters`, `millimeters`, `centimeters`, `decimeters`, `kilometers`, `inches`, `feet`, `yards`, `miles`, `nautical-miles`, `us-feet`.
202
- * If the unit inherited from the view through
211
+ * When neither the component nor its analysis has an explicit elevation display unit, the unit inherited from
203
212
  * [view.options.displayUnits.verticalLength](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits)
204
- * is not listed in [elevationDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#elevationDisplayUnitOptions), the component checks whether its default unit is listed there.
213
+ * is used if listed in [elevationDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#elevationDisplayUnitOptions). Otherwise, the component checks whether its default unit is listed there.
205
214
  * If it is, the component uses that default. If neither unit is listed, it uses the first entry in
206
215
  * [elevationDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#elevationDisplayUnitOptions).
207
216
  *
@@ -218,8 +227,11 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
218
227
  * When no elevation input unit is explicitly set on the component or its analysis, this property uses the vertical length input unit configured in the view through
219
228
  * [view.options.inputUnits.verticalLength](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#inputUnits).
220
229
  * The `metric` and `imperial` measurement systems resolve to `meters` and `feet`, respectively.
230
+ * If that option is unset or its resolved unit is unavailable in [elevationInputUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#elevationInputUnitOptions),
231
+ * the component uses its default unit if available, or the first available unit.
221
232
  * This property overrides the elevation input unit on this component's analysis without changing the units configured in the view.
222
233
  * Changing this property preserves the target surface elevation.
234
+ * The reset button clears both overrides and resumes this inheritance and fallback behavior while preserving the target surface elevation.
223
235
  *
224
236
  * @since 5.0
225
237
  */
@@ -229,7 +241,7 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
229
241
  *
230
242
  * By default, the following units are included: `inches`, `feet`, `yards`, `miles`, `nautical-miles`, `us-feet`,
231
243
  * `millimeters`, `centimeters`, `decimeters`, `meters`, `kilometers`.
232
- * The unit inherited from the view through
244
+ * When neither the component nor its analysis has an explicit elevation input unit, the unit inherited from
233
245
  * [view.options.inputUnits.verticalLength](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#inputUnits)
234
246
  * resolves to `meters` for `metric` and `feet` for `imperial`.
235
247
  * If the inherited unit is not listed in [elevationInputUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#elevationInputUnitOptions), the component checks whether its default unit is listed there.
@@ -298,7 +310,9 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
298
310
  */
299
311
  accessor hidePerimeterDisplayUnitSelect: boolean;
300
312
  /**
301
- * If true, all unit-reset buttons will be hidden. Unit selection dropdowns remain available, but users cannot reset units to their defaults using the UI.
313
+ * If true, hides all unit-reset buttons. Unit-selection dropdowns remain available.
314
+ *
315
+ * Resetting a unit clears the corresponding overrides on the component and its analysis. The component then uses the corresponding value from [ViewOptions.displayUnits](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits), or [ViewOptions.inputUnits](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#inputUnits) for input units, when that option is set and its resolved unit is included in the component's available units. Otherwise, it uses its default unit if available, or the first available unit.
302
316
  *
303
317
  * @default false
304
318
  * @since 5.2
@@ -466,7 +480,10 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
466
480
  *
467
481
  * When no perimeter unit is explicitly set on the component or its analysis, this property uses the length unit configured in the view through
468
482
  * [view.options.displayUnits.length](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits).
483
+ * If that option is unset or unavailable in [perimeterDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#perimeterDisplayUnitOptions),
484
+ * the component uses its default unit if available, or the first available unit.
469
485
  * This property overrides the perimeter unit on this component's analysis without changing the units configured in the view.
486
+ * The reset button clears both overrides and resumes this inheritance and fallback behavior.
470
487
  *
471
488
  * @since 5.0
472
489
  */
@@ -474,9 +491,9 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
474
491
  /**
475
492
  * List of available units and unit systems (imperial, metric) that are shown in the component's perimeter display unit dropdown.
476
493
  * By default, the following units are included: `metric`, `imperial`, `meters`, `millimeters`, `centimeters`, `decimeters`, `kilometers`, `inches`, `feet`, `yards`, `miles`, `nautical-miles`, `us-feet`.
477
- * If the unit inherited from the view through
494
+ * When neither the component nor its analysis has an explicit perimeter unit, the unit inherited from
478
495
  * [view.options.displayUnits.length](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits)
479
- * is not listed in [perimeterDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#perimeterDisplayUnitOptions), the component checks whether its default unit is listed there.
496
+ * is used if listed in [perimeterDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#perimeterDisplayUnitOptions). Otherwise, the component checks whether its default unit is listed there.
480
497
  * If it is, the component uses that default. If neither unit is listed, it uses the first entry in
481
498
  * [perimeterDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#perimeterDisplayUnitOptions).
482
499
  *
@@ -511,7 +528,10 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
511
528
  *
512
529
  * When no volume unit is explicitly set on the component or its analysis, this property uses the volume unit configured in the view through
513
530
  * [view.options.displayUnits.volume](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits).
531
+ * If that option is unset or unavailable in [volumeDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#volumeDisplayUnitOptions),
532
+ * the component uses its default unit if available, or the first available unit.
514
533
  * This property overrides the volume unit on this component's analysis without changing the units configured in the view.
534
+ * The reset button clears both overrides and resumes this inheritance and fallback behavior.
515
535
  *
516
536
  * @since 5.0
517
537
  */
@@ -519,9 +539,9 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
519
539
  /**
520
540
  * List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
521
541
  * By default, the following units are included: `imperial`, `metric`, `liters`, `megaliters`, `gigaliters`, `cubic-millimeters`, `cubic-centimeters`, `cubic-decimeters`, `cubic-meters`, `cubic-kilometers`, `cubic-inches`, `cubic-us-feet`, `cubic-feet`, `cubic-yards`, `cubic-miles`.
522
- * If the unit inherited from the view through
542
+ * When neither the component nor its analysis has an explicit volume unit, the unit inherited from
523
543
  * [view.options.displayUnits.volume](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits)
524
- * is not listed in [volumeDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#volumeDisplayUnitOptions), the component checks whether its default unit is listed there.
544
+ * is used if listed in [volumeDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#volumeDisplayUnitOptions). Otherwise, the component checks whether its default unit is listed there.
525
545
  * If it is, the component uses that default. If neither unit is listed, it uses the first entry in
526
546
  * [volumeDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#volumeDisplayUnitOptions).
527
547
  *