@arcgis/map-components 6.0.0-next.28 → 6.0.0-next.29

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/A6DDWCVW.js +2 -0
  2. package/dist/cdn/{FUNBSU6V.js → AKIHNM7C.js} +1 -1
  3. package/dist/cdn/APCXGAD5.js +2 -0
  4. package/dist/cdn/{QVD4YHTQ.js → CGGVQCCL.js} +1 -1
  5. package/dist/cdn/FAPDKS2C.js +2 -0
  6. package/dist/cdn/J6ZEZ4NE.js +2 -0
  7. package/dist/cdn/NXLWTRS6.js +3 -0
  8. package/dist/cdn/{HSBDELT3.js → PJIES74D.js} +1 -1
  9. package/dist/cdn/{T4Z2B3T7.js → PSPUWCU5.js} +1 -1
  10. package/dist/cdn/{PYCFYJ6M.js → Q2KWXSLQ.js} +1 -1
  11. package/dist/cdn/UZXVNOOD.js +2 -0
  12. package/dist/cdn/index.js +1 -1
  13. package/dist/cdn/main.css +1 -1
  14. package/dist/components/arcgis-daylight/customElement.d.ts +30 -23
  15. package/dist/components/arcgis-feature-media/customElement.js +63 -60
  16. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  17. package/dist/components/arcgis-popup/customElement.js +144 -138
  18. package/dist/components/arcgis-presentation/customElement.js +74 -75
  19. package/dist/components/arcgis-shadow-cast/customElement.d.ts +17 -10
  20. package/dist/components/arcgis-time-bar/customElement.js +1 -1
  21. package/dist/components/arcgis-utility-network-picker/customElement.d.ts +2 -2
  22. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +7 -4
  23. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +46 -38
  24. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +19 -3
  25. package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +22 -15
  26. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +70 -62
  27. package/dist/components/arcgis-video/customElement.d.ts +10 -0
  28. package/dist/components/arcgis-video/customElement.js +7 -4
  29. package/dist/components/arcgis-video-player/customElement.d.ts +17 -0
  30. package/dist/components/arcgis-video-player/customElement.js +57 -49
  31. package/dist/docs/api.json +1 -1
  32. package/dist/docs/docs.json +1 -1
  33. package/dist/docs/vscode.html-custom-data.json +1 -1
  34. package/dist/docs/web-types.json +1 -1
  35. package/dist/index.d.ts +0 -4
  36. package/dist/loader.js +5 -5
  37. package/dist/types/lumina.d.ts +1 -6
  38. package/dist/types/preact.d.ts +1 -7
  39. package/dist/types/react.d.ts +1 -8
  40. package/dist/types/stencil.d.ts +1 -6
  41. package/package.json +6 -6
  42. package/dist/cdn/3Y6GBQLR.js +0 -3
  43. package/dist/cdn/4CBB6BPG.js +0 -2
  44. package/dist/cdn/J4K4UZ37.js +0 -2
  45. package/dist/cdn/Q6A6EI6P.js +0 -2
  46. package/dist/cdn/R6X3R7P2.js +0 -2
  47. package/dist/cdn/ZJPYW3TN.js +0 -2
  48. package/dist/components/arcgis-feature-form-field/customElement.d.ts +0 -189
  49. package/dist/components/arcgis-feature-form-field/index.d.ts +0 -1
  50. package/dist/components/arcgis-feature-form-field/types.d.ts +0 -7
  51. package/dist/components/arcgis-feature-form-field-number/customElement.d.ts +0 -4
  52. package/dist/components/arcgis-feature-form-field-number/index.d.ts +0 -1
@@ -1,16 +1,16 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as O } from "../../chunks/runtime.js";
3
- import { css as D, html as u } from "lit";
4
- import { GenericController as $, proxyExports as E, useDirection as T } from "@arcgis/lumina/controllers";
5
- import { LitElement as G, createEvent as v, nothing as x } from "@arcgis/lumina";
6
- import { u as B } from "../../chunks/useT9n.js";
7
- import { m as R } from "../../chunks/useViewModel.js";
8
- import { property as d, subclass as N } from "@arcgis/core/core/accessorSupport/decorators.js";
9
- import H from "@arcgis/core/core/Accessor.js";
2
+ import { c as z } from "../../chunks/runtime.js";
3
+ import { css as O, html as u } from "lit";
4
+ import { GenericController as $, proxyExports as D, useDirection as E } from "@arcgis/lumina/controllers";
5
+ import { LitElement as T, createEvent as v, nothing as x } from "@arcgis/lumina";
6
+ import { u as G } from "../../chunks/useT9n.js";
7
+ import { m as B } from "../../chunks/useViewModel.js";
8
+ import { property as d, subclass as R } from "@arcgis/core/core/accessorSupport/decorators.js";
9
+ import N from "@arcgis/core/core/Accessor.js";
10
10
  import y from "@arcgis/core/core/Collection.js";
11
- import { ignoreAbortErrors as k } from "@arcgis/core/core/promiseUtils.js";
12
- import { watch as g, on as V, whenOnce as w } from "@arcgis/core/core/reactiveUtils.js";
13
- import M from "@arcgis/core/Graphic.js";
11
+ import { ignoreAbortErrors as H } from "@arcgis/core/core/promiseUtils.js";
12
+ import { watch as g, on as k, whenOnce as w } from "@arcgis/core/core/reactiveUtils.js";
13
+ import V from "@arcgis/core/Graphic.js";
14
14
  import j from "@arcgis/core/layers/Layer.js";
15
15
  import W from "@arcgis/core/graphic/CSVGraphicOrigin.js";
16
16
  import K from "@arcgis/core/graphic/GeoJSONGraphicOrigin.js";
@@ -22,13 +22,13 @@ import { fetchPopupFeaturesFromGraphics as A } from "@arcgis/core/applications/S
22
22
  import { s as _ } from "../../chunks/resources.js";
23
23
  import { g as X } from "../../chunks/async-utils.js";
24
24
  import { d as C, p as P } from "../../chunks/constants2.js";
25
- const Y = D`:host{width:100%;height:100%;padding:var(--calcite-space-none);margin:var(--calcite-space-none);display:flex;--internal-attribution-height: 16px;--arcgis-internal-presentation-padding-start: unset;--arcgis-internal-presentation-padding-end: unset;--arcgis-internal-presentation-cover-padding-top: unset;--arcgis-internal-presentation-cover-padding-bottom: unset;--arcgis-internal-presentation-cover-padding-start: unset;--arcgis-internal-presentation-cover-padding-end: unset;--arcgis-presentation-navigation-z-index: unset}p{padding:0;margin:0}.root{display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%}.presentation-content{position:absolute;display:flex;width:100%;height:100%;justify-content:flex-end;padding-top:var(--calcite-space-lg);padding-inline-start:calc(var(--calcite-space-lg) + var(--arcgis-internal-presentation-padding-start));padding-inline-end:calc(var(--calcite-space-lg) + var(--arcgis-internal-presentation-padding-end))}.navigation-container{display:flex;flex-direction:column;margin-inline-start:var(--calcite-space-lg);margin-block:auto calc(var(--calcite-space-lg) + var(--arcgis-internal-attribution-space-top));width:fit-content;height:100%;z-index:var(--arcgis-presentation-navigation-z-index)}.navigation{width:fit-content;display:flex;align-items:center;background-color:var(--calcite-color-surface-2);box-shadow:var(--arcgis-internal-box-shadow);pointer-events:auto}.navigation-slide-list-container{position:relative;height:100%;min-height:0;margin-block-start:var(--calcite-space-lg)}.slide-list-action-container{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.slide-counter-text{display:flex;align-items:center;justify-content:center;gap:var(--calcite-space-base);font-size:var(--calcite-font-size-md)}.slide-counter-text-element{box-sizing:border-box;max-width:28px;margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums;min-width:var(--calcite-space-md);text-align:center}.legend-container{pointer-events:all;box-shadow:var(--calcite-shadow-sm);max-width:300px;height:fit-content;max-height:calc(100vh - 136px);overflow:hidden auto}.legend{background-color:var(--calcite-color-surface-2)}`;
25
+ const Y = O`:host{width:100%;height:100%;padding:var(--calcite-space-none);margin:var(--calcite-space-none);display:flex;--internal-attribution-height: 16px;--arcgis-internal-presentation-padding-start: unset;--arcgis-internal-presentation-padding-end: unset;--arcgis-internal-presentation-cover-padding-top: unset;--arcgis-internal-presentation-cover-padding-bottom: unset;--arcgis-internal-presentation-cover-padding-start: unset;--arcgis-internal-presentation-cover-padding-end: unset;--arcgis-presentation-navigation-z-index: unset}p{padding:0;margin:0}.root{display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%}.presentation-content{position:absolute;display:flex;width:100%;height:100%;justify-content:flex-end;padding-top:var(--calcite-space-lg);padding-inline-start:calc(var(--calcite-space-lg) + var(--arcgis-internal-presentation-padding-start));padding-inline-end:calc(var(--calcite-space-lg) + var(--arcgis-internal-presentation-padding-end))}.navigation-container{display:flex;flex-direction:column;margin-inline-start:var(--calcite-space-lg);margin-block:auto calc(var(--calcite-space-lg) + var(--arcgis-internal-attribution-space-top));width:fit-content;height:100%;z-index:var(--arcgis-presentation-navigation-z-index)}.navigation{width:fit-content;display:flex;align-items:center;background-color:var(--calcite-color-surface-2);box-shadow:var(--arcgis-internal-box-shadow);pointer-events:auto}.navigation-slide-list-container{position:relative;height:100%;min-height:0;margin-block-start:var(--calcite-space-lg)}.slide-list-action-container{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.slide-counter-text{display:flex;align-items:center;justify-content:center;gap:var(--calcite-space-base);font-size:var(--calcite-font-size-md)}.slide-counter-text-element{box-sizing:border-box;max-width:28px;margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums;min-width:var(--calcite-space-md);text-align:center}.legend-container{pointer-events:all;box-shadow:var(--calcite-shadow-sm);max-width:300px;height:fit-content;max-height:calc(100vh - 136px);overflow:hidden auto}.legend{background-color:var(--calcite-color-surface-2)}`;
26
26
  var Z = Object.defineProperty, ee = Object.getOwnPropertyDescriptor, o = (i, e, t, s) => {
27
27
  for (var n = s > 1 ? void 0 : s ? ee(e, t) : e, a = i.length - 1, r; a >= 0; a--)
28
28
  (r = i[a]) && (n = (s ? r(e, t, n) : r(n)) || n);
29
29
  return s && n && Z(e, t, n), n;
30
30
  };
31
- let l = class extends H {
31
+ let l = class extends N {
32
32
  //endregion
33
33
  //#region Lifecycle
34
34
  constructor(i) {
@@ -136,7 +136,7 @@ let l = class extends H {
136
136
  async applySlide(i, e, t) {
137
137
  if (this.view) {
138
138
  const s = t ? { signal: t?.signal } : {};
139
- await k(
139
+ await H(
140
140
  i.applyTo(this.view, {
141
141
  ...s,
142
142
  animate: !e
@@ -156,7 +156,7 @@ let l = class extends H {
156
156
  }
157
157
  _startWatchSlides() {
158
158
  this._subscribeToSlideEvents(this.slides), this.addHandles(
159
- V(
159
+ k(
160
160
  () => this.slides,
161
161
  "change",
162
162
  (i) => {
@@ -238,7 +238,7 @@ o([
238
238
  d()
239
239
  ], l.prototype, "getSlideIndexBySlideId", 1);
240
240
  l = o([
241
- N("components.presentation.PresentationViewModel")
241
+ R("components.presentation.PresentationViewModel")
242
242
  ], l);
243
243
  class te extends $ {
244
244
  constructor(e) {
@@ -338,7 +338,7 @@ class te extends $ {
338
338
  e.geometry == null && t && (e.geometry = t.clone());
339
339
  }
340
340
  _createFeatureGraphic(e, t, s, n) {
341
- const a = this._getGlobalIdFieldNameFromLayer(s), r = n.type === "global-id" && a ? a : s.objectIdField, c = this._getGraphicOrigin(e, t), p = new M({ attributes: {}, layer: e, origin: c });
341
+ const a = this._getGlobalIdFieldNameFromLayer(s), r = n.type === "global-id" && a ? a : s.objectIdField, c = this._getGraphicOrigin(e, t), p = new V({ attributes: {}, layer: e, origin: c });
342
342
  return p.attributes[r] = n.value, p;
343
343
  }
344
344
  _getGraphicOrigin(e, t) {
@@ -387,7 +387,7 @@ const ie = (i) => new te(i), S = Object.freeze({ width: 0, height: 0 }), b = /*
387
387
  bottomCenter: { ...i.bottomCenter },
388
388
  bottomLeft: { ...i.bottomLeft },
389
389
  bottomRight: { ...i.bottomRight }
390
- }), z = (i) => {
390
+ }), M = (i) => {
391
391
  let e = b.get(i);
392
392
  return e || (e = {
393
393
  observedGroups: /* @__PURE__ */ new Map(),
@@ -420,7 +420,7 @@ const ie = (i) => new te(i), S = Object.freeze({ width: 0, height: 0 }), b = /*
420
420
  h.width === p.width && h.height === p.height || (t.observedSizes[a] = p, s = !0);
421
421
  }), s && ae(t);
422
422
  }, I = (i, e) => {
423
- const t = z(i);
423
+ const t = M(i);
424
424
  t.resizeObserver || (t.resizeObserver = new ResizeObserver((n) => {
425
425
  re(i, n);
426
426
  }));
@@ -434,7 +434,7 @@ const ie = (i) => new te(i), S = Object.freeze({ width: 0, height: 0 }), b = /*
434
434
  t.observedGroups.set(n, a), t.resizeObserver?.observe(a);
435
435
  }));
436
436
  }, le = (i, e) => {
437
- const t = z(i);
437
+ const t = M(i);
438
438
  return t.subscribers.add(e), e(F(t.observedSizes)), () => {
439
439
  const s = b.get(i);
440
440
  s && (s.subscribers.delete(e), s.subscribers.size === 0 && (s.resizeObserver?.disconnect(), s.observedGroups.clear(), b.delete(i)));
@@ -442,8 +442,8 @@ const ie = (i) => new te(i), S = Object.freeze({ width: 0, height: 0 }), b = /*
442
442
  };
443
443
  class oe extends $ {
444
444
  // References to the slot group elements owned by the host component.
445
- #e;
446
445
  #t;
446
+ #e;
447
447
  #i;
448
448
  /**
449
449
  * Creates a controller that measures the host component's slot group containers.
@@ -454,21 +454,21 @@ class oe extends $ {
454
454
  super(e), this.exports = m();
455
455
  }
456
456
  hostDisconnected() {
457
- this.#i?.(), this.#i = void 0, this.#t = void 0, this.#e = void 0, this.exports = m();
457
+ this.#i?.(), this.#i = void 0, this.#e = void 0, this.#t = void 0, this.exports = m();
458
458
  }
459
459
  hostLifecycle() {
460
460
  return [
461
461
  g(
462
462
  () => this.#s(),
463
463
  (t) => {
464
- if (this.#t !== t) {
465
- if (this.#i?.(), this.#i = void 0, this.#t = t, this.#e = t?.slotGroupRefs, !t) {
464
+ if (this.#e !== t) {
465
+ if (this.#i?.(), this.#i = void 0, this.#e = t, this.#t = t?.slotGroupRefs, !t) {
466
466
  this.exports = m();
467
467
  return;
468
468
  }
469
469
  this.#i = le(t, (s) => {
470
470
  this.#n(s) || (this.exports = s);
471
- }), I(t, this.#e);
471
+ }), I(t, this.#t);
472
472
  }
473
473
  },
474
474
  { sync: !0, initial: !0 }
@@ -476,7 +476,7 @@ class oe extends $ {
476
476
  g(
477
477
  () => this.#s()?.slotGroupRefs,
478
478
  (t) => {
479
- this.#e = t, this.#t && t && I(this.#t, t);
479
+ this.#t = t, this.#e && t && I(this.#e, t);
480
480
  },
481
481
  { sync: !0, initial: !0 }
482
482
  )
@@ -487,7 +487,7 @@ class oe extends $ {
487
487
  return e && typeof e != "string" ? e : void 0;
488
488
  }
489
489
  hostUpdated() {
490
- !this.#t || !this.#e || I(this.#t, this.#e);
490
+ !this.#e || !this.#t || I(this.#e, this.#t);
491
491
  }
492
492
  // Compares the newly measured sizes against the currently exported values.
493
493
  #n(e) {
@@ -498,35 +498,35 @@ class oe extends $ {
498
498
  });
499
499
  }
500
500
  }
501
- const de = E(oe), ce = R(l);
502
- class pe extends G {
501
+ const de = D(oe), ce = B(l);
502
+ class pe extends T {
503
503
  constructor() {
504
- super(...arguments), this._messages = B(), this._direction = T(), this.#e = ce(this), this.#i = (e) => {
505
- this.#e.captureArrowKeysForNavigation(e, this._direction);
506
- }, this.#s = ie(this), this.#a = null, this.#l = (e) => {
507
- this.#s.closePopup(), this.arcgisSlideApplyStart.emit({ slide: e });
504
+ super(...arguments), this._messages = G(), this._direction = E(), this._viewModel = ce(this), this.#e = (e) => {
505
+ this._viewModel.captureArrowKeysForNavigation(e, this._direction);
506
+ }, this.#i = ie(this), this.#n = null, this.#r = (e) => {
507
+ this.#i.closePopup(), this.arcgisSlideApplyStart.emit({ slide: e });
508
+ }, this.#l = (e) => {
509
+ this.#i.openPopup(e), this.sliceAnalysisInteractive && this._viewModel.setSliceAnalysisInteractive(!0), this.arcgisSlideApplyComplete.emit({ slide: e });
508
510
  }, this.#o = (e) => {
509
- this.#s.openPopup(e), this.sliceAnalysisInteractive && this.#e.setSliceAnalysisInteractive(!0), this.arcgisSlideApplyComplete.emit({ slide: e });
511
+ this.sliceAnalysisInteractive && this._viewModel.setSliceAnalysisInteractive(!0), this.arcgisSlideApplyCancel.emit({ slide: e });
510
512
  }, this.#d = (e) => {
511
- this.sliceAnalysisInteractive && this.#e.setSliceAnalysisInteractive(!0), this.arcgisSlideApplyCancel.emit({ slide: e });
512
- }, this.#c = (e) => {
513
513
  const t = e.detail?.selectedSlide;
514
514
  if (!t)
515
515
  return;
516
- this.#n?.abort();
516
+ this.#s?.abort();
517
517
  const s = new AbortController();
518
- this.#n = s;
519
- const n = Date.now(), a = this.#a !== null && n - this.#a < C;
520
- if (this.#a = n, this.#e.applySlide(t, a, s), a) {
518
+ this.#s = s;
519
+ const n = Date.now(), a = this.#n !== null && n - this.#n < C;
520
+ if (this.#n = n, this._viewModel.applySlide(t, a, s), a) {
521
521
  this._showSlideList = !1;
522
522
  return;
523
523
  }
524
524
  setTimeout(() => {
525
- s.signal.aborted || (this._showSlideList = !1, this.#e.applySlide(t, !1, s));
525
+ s.signal.aborted || (this._showSlideList = !1);
526
526
  }, X(C));
527
- }, this.#r = () => {
527
+ }, this.#a = () => {
528
528
  this._showSlideList = !1;
529
- }, this._showSlideList = !1, this.autoDestroyDisabled = !1, this.view = this.#e.view, this.visualScale = "m", this.keyboardNavigationEnabled = !1, this.slidePopupDisabled = !1, this.slideCaptionsDisabled = !1, this.slideLegendDisabled = this.#e.slideLegendDisabled, this.sliceAnalysisInteractive = !1, this.navigationHidden = !1, this.arcgisPopupFeatureNotFound = v(), this.arcgisPopupFeaturesRetrieved = v(), this.arcgisReady = v(), this.arcgisSlideApplyCancel = v(), this.arcgisSlideApplyComplete = v(), this.arcgisSlideApplyStart = v();
529
+ }, this._showSlideList = !1, this.autoDestroyDisabled = !1, this.view = this._viewModel.view, this.visualScale = "m", this.keyboardNavigationEnabled = !1, this.slidePopupDisabled = !1, this.slideCaptionsDisabled = !1, this.slideLegendDisabled = this._viewModel.slideLegendDisabled, this.sliceAnalysisInteractive = !1, this.navigationHidden = !1, this.arcgisPopupFeatureNotFound = v(), this.arcgisPopupFeaturesRetrieved = v(), this.arcgisReady = v(), this.arcgisSlideApplyCancel = v(), this.arcgisSlideApplyComplete = v(), this.arcgisSlideApplyStart = v();
530
530
  }
531
531
  static {
532
532
  this.properties = { _slotSizesController: 16, _showSlideList: 16, slideId: 1, autoDestroyDisabled: 5, view: 0, visualScale: 1, keyboardNavigationEnabled: 5, slidePopupDisabled: 5, slideCaptionsDisabled: 5, slideLegendDisabled: 5, sliceAnalysisInteractive: 5, navigationHidden: 5 };
@@ -534,89 +534,88 @@ class pe extends G {
534
534
  static {
535
535
  this.styles = Y;
536
536
  }
537
- #e;
538
537
  #t;
538
+ #e;
539
539
  #i;
540
540
  #s;
541
541
  #n;
542
- #a;
542
+ #r;
543
543
  #l;
544
544
  #o;
545
545
  #d;
546
- #c;
547
- #r;
548
- #h;
546
+ #a;
549
547
  #p;
548
+ #c;
550
549
  get slideId() {
551
- return this.#e.slideId;
550
+ return this._viewModel.slideId;
552
551
  }
553
552
  set slideId(e) {
554
- this.#e.slideId = e;
553
+ this._viewModel.slideId = e;
555
554
  }
556
555
  async destroy() {
557
556
  await this.manager.destroy();
558
557
  }
559
558
  loaded() {
560
- this.#e.onApplySlideStart = this.#l, this.#e.onApplySlideComplete = this.#o, this.#e.onApplySlideCancel = this.#d, this.#S();
559
+ this._viewModel.onApplySlideStart = this.#r, this._viewModel.onApplySlideComplete = this.#l, this._viewModel.onApplySlideCancel = this.#o, this.#v();
561
560
  const e = this;
562
561
  this.manager.onLifecycle(() => [
563
562
  g(() => this.sliceAnalysisInteractive, (t) => {
564
- this.#e.setSliceAnalysisInteractive(t);
563
+ this._viewModel.setSliceAnalysisInteractive(t);
565
564
  }, { initial: !0 }),
566
565
  g(() => e.referenceElement, (t) => {
567
- this.#u(t) && (this._slotSizesController = de(this), this.#p = this.#g());
566
+ this.#h(t) && (this._slotSizesController = de(this), this.#c = this.#u());
568
567
  }, { once: !0, initial: !0 }),
569
568
  {
570
569
  remove: () => {
571
- document.removeEventListener("keydown", this.#i), this.#h?.removeEventListener("arcgisSlideListClose", this.#r), this.#t?.remove(), this.#p?.remove(), this.#n?.abort();
570
+ document.removeEventListener("keydown", this.#e), this.#p?.removeEventListener("arcgisSlideListClose", this.#a), this.#t?.remove(), this.#c?.remove(), this.#s?.abort();
572
571
  }
573
572
  }
574
573
  ]);
575
574
  }
576
- #u(e) {
575
+ #h(e) {
577
576
  return e === void 0 || typeof e == "string" ? !1 : "tagName" in e && e.tagName === "ARCGIS-SCENE";
578
577
  }
579
- #g() {
580
- return g(() => this._slotSizesController, (e) => this.#v(e?.topLeft, e?.topRight, e?.bottomLeft, e?.bottomRight), { initial: !0 });
578
+ #u() {
579
+ return g(() => this._slotSizesController, (e) => this.#g(e?.topLeft, e?.topRight, e?.bottomLeft, e?.bottomRight), { initial: !0 });
581
580
  }
582
- #v(e, t, s, n) {
581
+ #g(e, t, s, n) {
583
582
  const a = this._direction === "ltr" ? e?.width ?? 0 : t?.width ?? 0, r = this._direction === "ltr" ? t?.width ?? 0 : e?.width ?? 0, c = Math.max(e?.height ?? 0, t?.height ?? 0), p = Math.max(s?.height ?? 0, n?.height ?? 0);
584
583
  a > 0 ? this.el.style.setProperty("--arcgis-internal-presentation-padding-start", `calc(var(--calcite-space-lg) + ${a.toString()}px)`) : this.el.style.setProperty("--arcgis-internal-presentation-padding-start", "0px"), r > 0 ? this.el.style.setProperty("--arcgis-internal-presentation-padding-end", `calc(var(--calcite-space-lg) + ${r.toString()}px)`) : this.el.style.setProperty("--arcgis-internal-presentation-padding-end", "0px");
585
584
  const h = a <= Math.max(c, p) && r <= Math.max(c, p);
586
585
  this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-top", h ? "0" : `${c}px`), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-bottom", h ? "0" : `${p}px`), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-start", h ? `${a}px` : "0"), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-end", h ? `${r}px` : "0");
587
586
  }
588
- #S() {
587
+ #v() {
589
588
  this.#t = g(() => this.keyboardNavigationEnabled, (e) => {
590
- document.removeEventListener("keydown", this.#i), e && document.addEventListener("keydown", this.#i);
589
+ document.removeEventListener("keydown", this.#e), e && document.addEventListener("keydown", this.#e);
591
590
  }, { initial: !0 });
592
591
  }
593
592
  render() {
594
- if (this.#e?.visibleSlides?.length === 0)
593
+ if (this._viewModel?.visibleSlides?.length === 0)
595
594
  return u`<div></div>`;
596
- const e = this.#e.visibleSlides.find((a) => a.id === this.slideId), t = this.#m(), s = this.#f(e), n = this.#y();
595
+ const e = this._viewModel.visibleSlides.find((a) => a.id === this.slideId), t = this.#S(), s = this.#b(e), n = this.#f();
597
596
  return u`<div class="root"><div class="presentation-content">${s}${n}</div>${t}</div>`;
598
597
  }
599
- #m() {
598
+ #S() {
600
599
  if (this.navigationHidden)
601
600
  return null;
602
- const e = this.#e.lastSlideSelected && !this.#e.hasOnlyOneSlide, t = this.#w();
603
- return u`<div class="navigation-container"><div class="navigation-slide-list-container">${t}</div><div class="navigation"><div class="slide-list-action-container" id=${P}><calcite-action-bar expand-toggle-disabled layout=horizontal .scale=${this.visualScale === "l" ? "m" : "s"}><calcite-action .text=${this._messages.slideList ?? ""} selection-appearance=highlight icon=list .scale=${this.visualScale === "l" ? "m" : "s"} .label=${this._messages.slideList} .active=${this._showSlideList} @click=${() => this._showSlideList = !this._showSlideList}></calcite-action></calcite-action-bar><calcite-tooltip .referenceElement=${P} placement=bottom><span>${this._messages.slideList}</span></calcite-tooltip></div><calcite-button appearance=transparent icon-start=chevron-left icon-flip-rtl=start kind=neutral .scale=${this.visualScale} .disabled=${this.#e.firstSlideSelected || !this.#e.slideSelected} .label=${this._messages.previous} title=${this._messages.previous ?? x} @click=${() => this.#e.navigateInPresentation(-1)}></calcite-button><div class="slide-counter-text">${this.#b()}</div><calcite-button appearance=transparent icon-start=${e ? "reset" : "chevron-right"} icon-flip-rtl=start kind=neutral .scale=${this.visualScale} .label=${e ? this._messages.restart : this._messages.next} title=${(e ? this._messages.restart : this._messages.next) ?? x} @click=${() => this.#e.navigateInPresentation(1)}></calcite-button></div></div>`;
601
+ const e = this._viewModel.lastSlideSelected && !this._viewModel.hasOnlyOneSlide, t = this.#y();
602
+ return u`<div class="navigation-container"><div class="navigation-slide-list-container">${t}</div><div class="navigation"><div class="slide-list-action-container" id=${P}><calcite-action-bar expand-toggle-disabled layout=horizontal .scale=${this.visualScale === "l" ? "m" : "s"}><calcite-action .text=${this._messages.slideList ?? ""} selection-appearance=highlight icon=list .scale=${this.visualScale === "l" ? "m" : "s"} .label=${this._messages.slideList} .active=${this._showSlideList} @click=${() => this._showSlideList = !this._showSlideList}></calcite-action></calcite-action-bar><calcite-tooltip .referenceElement=${P} placement=bottom><span>${this._messages.slideList}</span></calcite-tooltip></div><calcite-button appearance=transparent icon-start=chevron-left icon-flip-rtl=start kind=neutral .scale=${this.visualScale} .disabled=${this._viewModel.firstSlideSelected || !this._viewModel.slideSelected} .label=${this._messages.previous} title=${this._messages.previous ?? x} @click=${() => this._viewModel.navigateInPresentation(-1)}></calcite-button><div class="slide-counter-text">${this.#m()}</div><calcite-button appearance=transparent icon-start=${e ? "reset" : "chevron-right"} icon-flip-rtl=start kind=neutral .scale=${this.visualScale} .label=${e ? this._messages.restart : this._messages.next} title=${(e ? this._messages.restart : this._messages.next) ?? x} @click=${() => this._viewModel.navigateInPresentation(1)}></calcite-button></div></div>`;
603
+ }
604
+ #m() {
605
+ const e = this._viewModel.slideIndex + 1, t = this._messages?.slideNavAriaText?.replace("${index}", e.toString()).replace("${numberOfSlides}", this._viewModel.visibleSlides.length.toString());
606
+ return this._viewModel.slideSelected ? u`<p role=banner aria-label=${t ?? x} aria-live=polite><div class="slide-counter-text-element" data-testId=arcgis-map-presentation-slideIndex>${e}</div><div>/</div><p class="slide-counter-text-element" data-testId=arcgis-map-presentation-numberOfSlides>${this._viewModel.visibleSlides.length}</p></p>` : u`<p role=banner data-testId=arcgis-map-presentation-numberOfSlides>${this._viewModel.visibleSlides?.length} ${this._messages?.slides}</p>`;
604
607
  }
605
- #b() {
606
- const e = this.#e.slideIndex + 1, t = this._messages?.slideNavAriaText?.replace("${index}", e.toString()).replace("${numberOfSlides}", this.#e.visibleSlides.length.toString());
607
- return this.#e.slideSelected ? u`<p role=banner aria-label=${t ?? x} aria-live=polite><div class="slide-counter-text-element" data-testId=arcgis-map-presentation-slideIndex>${e}</div><div>/</div><p class="slide-counter-text-element" data-testId=arcgis-map-presentation-numberOfSlides>${this.#e.visibleSlides.length}</p></p>` : u`<p role=banner data-testId=arcgis-map-presentation-numberOfSlides>${this.#e.visibleSlides?.length} ${this._messages?.slides}</p>`;
608
+ #b(e) {
609
+ return this.slideCaptionsDisabled ? null : u`<arcgis-presentation-captions .slide=${e} .transitionActive=${this._viewModel.transitionActive}></arcgis-presentation-captions>`;
608
610
  }
609
- #f(e) {
610
- return this.slideCaptionsDisabled ? null : u`<arcgis-presentation-captions .slide=${e} .transitionActive=${this.#e.transitionActive}></arcgis-presentation-captions>`;
611
+ #f() {
612
+ return this._viewModel.showLegend ? u`<calcite-panel data-testid=presentation-legend class="legend-container" .heading=${this._messages.legend} closable @calcitePanelClose=${() => this._viewModel.showLegend = !1}><arcgis-legend class="legend" .view=${this.view} @arcgisReady=${(e) => e.stopPropagation()}></arcgis-legend></calcite-panel>` : null;
611
613
  }
612
614
  #y() {
613
- return this.#e.showLegend ? u`<calcite-panel data-testid=presentation-legend class="legend-container" .heading=${this._messages.legend} closable @calcitePanelClose=${() => this.#e.showLegend = !1}><arcgis-legend class="legend" .view=${this.view} @arcgisReady=${(e) => e.stopPropagation()}></arcgis-legend></calcite-panel>` : null;
614
- }
615
- #w() {
616
- return this._showSlideList ? u`<arcgis-presentation-slide-list .slides=${this.#e.visibleSlides} .slideId=${this.#e.slideId} .label=${this._messages.slideList} .visualScale=${this.visualScale} @arcgisSlideListItemSelected=${this.#c} @arcgisSlideListOutsideClick=${this.#r}></arcgis-presentation-slide-list>` : null;
615
+ return this._showSlideList ? u`<arcgis-presentation-slide-list .slides=${this._viewModel.visibleSlides} .slideId=${this._viewModel.slideId} .label=${this._messages.slideList} .visualScale=${this.visualScale} @arcgisSlideListItemSelected=${this.#d} @arcgisSlideListOutsideClick=${this.#a}></arcgis-presentation-slide-list>` : null;
617
616
  }
618
617
  }
619
- O("arcgis-presentation", pe);
618
+ z("arcgis-presentation", pe);
620
619
  export {
621
620
  pe as ArcgisPresentation
622
621
  };
@@ -19,7 +19,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
19
19
  * By default, the component visualizes shadows. When [visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#visualizeSunlight) is `true`,
20
20
  * it visualizes sunlight exposure instead.
21
21
  *
22
- * The component provides controls for the date, time range, timezone, visualization mode, colors, intervals, and whether
22
+ * The component provides controls for the date, time range, UTC offset, visualization mode, colors, intervals, and whether
23
23
  * to visualize shadows or sunlight.
24
24
  *
25
25
  * The [date](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#date), [startTimeOfDay](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#startTimeOfDay),
@@ -27,8 +27,14 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
27
27
  * define the date, time range, and UTC offset used to compute the analysis overlay. They do not change the lighting in
28
28
  * the scene. To control scene lighting, use the [arcgis-daylight](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/) component.
29
29
  *
30
- * The [utcOffset](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#utcOffset) property determines the time zone used to interpret the selected
31
- * date and time range.
30
+ * The [utcOffset](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#utcOffset) property specifies a numeric offset from Coordinated Universal
31
+ * Time (UTC) used to interpret the selected date and time range. A UTC offset does not identify a regional time zone,
32
+ * such as `Europe/Zurich`, or automatically account for daylight saving time.
33
+ *
34
+ * The UTC offset selector, labeled **Timezone** in the component, sets [utcOffset](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#utcOffset).
35
+ * Changing the selection does not modify [arcgis-scene.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#timeZone).
36
+ * Use it to select the appropriate offset for the analysis date and time range, including any daylight saving time
37
+ * adjustment. The selector can be hidden using the [hideTimezone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#hideTimezone) property.
32
38
  *
33
39
  * > [!IMPORTANT]
34
40
  * >
@@ -54,10 +60,9 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
54
60
  * * As a result, shadow duration may be underestimated and sunlight duration may be overestimated in areas where terrain
55
61
  * would normally block sunlight. To avoid incorrect visualization, `startTimeOfDay` should be set after local sunrise
56
62
  * and `endTimeOfDay` before local sunset.
57
- * * The analysis does not take daylight savings into account. Use the timezone picker to adjust the offset from the
58
- * Coordinated Universal Time (UTC) and account for daylight saving time.
59
- * * The timezone is automatically detected by the component based on the camera location. In some situations, this might
60
- * not be accurate. In case of an inaccurate timezone, users can set it manually using the timezone picker.
63
+ * * When [utcOffset](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#utcOffset) is not specified, the component estimates the UTC offset from
64
+ * the camera's longitude. It does not determine the regional time zone at the camera's location. If the estimated offset
65
+ * is not appropriate for the analysis date and location, users can set it manually using the UTC offset selector.
61
66
  *
62
67
  * **See also**
63
68
  *
@@ -274,7 +279,7 @@ export abstract class ArcgisShadowCast extends LitElement {
274
279
  */
275
280
  accessor hideTimeRangeSlider: boolean;
276
281
  /**
277
- * If true, the timezone picker will be hidden.
282
+ * If true, the UTC offset selector, labeled **Timezone** in the component, is hidden.
278
283
  *
279
284
  * @default false
280
285
  */
@@ -531,8 +536,10 @@ export abstract class ArcgisShadowCast extends LitElement {
531
536
  */
532
537
  accessor totalDurationMode: ShadowCastTotalDurationMode;
533
538
  /**
534
- * The UTC offset in hours used to interpret the selected date and time range for the analysis. If not specified, the
535
- * component automatically determines an approximate UTC offset based on the camera location.
539
+ * The UTC offset in hours used to interpret the selected date and time range for the analysis. This numeric offset
540
+ * does not identify a regional time zone or automatically account for daylight saving time.
541
+ *
542
+ * If not specified, the component estimates the UTC offset from the camera's longitude.
536
543
  * This property is separate from [arcgis-scene.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#timeZone). Changing one does not update the other.
537
544
  */
538
545
  accessor utcOffset: number | null | undefined;
@@ -249,7 +249,7 @@ let n = class extends j {
249
249
  //#endregion
250
250
  //#region Public Methods
251
251
  destroy() {
252
- T(this, w).abort(), this.view?.unregisterComponent(this), d(this, h, M).call(this);
252
+ T(this, w).abort(), this.view?.unregisterComponent(this), d(this, h, M).call(this), super.destroy();
253
253
  }
254
254
  formatDate(t) {
255
255
  return this._formatDate(t, this._dateFormat);
@@ -13,7 +13,7 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
13
13
  * [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/)
14
14
  * whose web map contains utility networks. The component loads the map and the selected network.
15
15
  * The component displays the network's [title](https://developers.arcgis.com/javascript/latest/references/core/networks/Network/#title)
16
- * when the map contains one utility network, or a [Combobox](https://developers.arcgis.com/calcite-design-system/components/combobox/)
16
+ * when the map contains one utility network, or a [combobox](https://developers.arcgis.com/calcite-design-system/components/combobox/)
17
17
  * for multiple utility networks.
18
18
  *
19
19
  * When the map's networks are loaded, the first network is selected if the current selection
@@ -125,7 +125,7 @@ export abstract class ArcgisUtilityNetworkPicker extends LitElement {
125
125
  */
126
126
  accessor error: string | undefined;
127
127
  /**
128
- * The heading above the utility network title or selector.
128
+ * The heading above the utility network title or combobox.
129
129
  * When not set or empty, the component uses the localized utility network label.
130
130
  */
131
131
  accessor heading: string | undefined;
@@ -36,9 +36,6 @@ import type { UtilityNetworkTraceAnalysisState } from "@arcgis/core/networks/Uti
36
36
  * > The path trace provides the same functionality to return a shortest path result while offering additional capabilities to find paths in your network.
37
37
  *
38
38
  * The component can display the following from a trace result: elements (as [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#traceResultFeatures)), aggregated geometries, and function results.
39
- * If the trace result includes elements that originate from a [feature layer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/)
40
- * that is not included in the map, the Results tab displays an `Unknown` layer with a count of those elements.
41
- * The component's [traceResultFeatures](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#traceResultFeatures) property also does not include these elements.
42
39
  *
43
40
  * > [!WARNING]
44
41
  * >
@@ -151,6 +148,12 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
151
148
  * @see [Popup actions sample](https://developers.arcgis.com/javascript/latest/sample-code/popup-actions/)
152
149
  */
153
150
  accessor actions: ArcgisFeaturesNext["actions"] | undefined;
151
+ /**
152
+ * The color used to render graphics for aggregated geometries in trace results.
153
+ *
154
+ * @deprecated since 5.2. Use [aggregatedGeometryResultsGraphicsColor](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#aggregatedGeometryResultsGraphicsColor) instead. This property is planned for removal in 6.0.
155
+ */
156
+ accessor aggregatedGeometryGraphicsColor: Color;
154
157
  /**
155
158
  * The color used to render graphics for aggregated geometries in trace results, specified as a
156
159
  * [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/) object.
@@ -438,7 +441,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
438
441
  */
439
442
  readonly arcgisHideGraphicsChange: import("@arcgis/lumina").TargetedEvent<this, boolean>;
440
443
  /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
441
- readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "aggregatedGeometryResultsGraphicsColor" | "hideGraphics" | "state" | "traceError" | "traceResult"; }>;
444
+ readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "aggregatedGeometryGraphicsColor" | "aggregatedGeometryResultsGraphicsColor" | "hideGraphics" | "state" | "traceError" | "traceResult"; }>;
442
445
  /** Emitted when the component associated with a map or scene view is ready for user interaction. */
443
446
  readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
444
447
  /**