@arcgis/map-components 5.2.0-next.167 → 5.2.0-next.169
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/263OOI6Z.js +2 -0
- package/dist/cdn/{OP3MZHXU.js → 3YACO47M.js} +1 -1
- package/dist/cdn/42V6ISWG.js +2 -0
- package/dist/cdn/5VOAPFZ5.js +2 -0
- package/dist/cdn/6S5TVS52.js +2 -0
- package/dist/cdn/6ZMVEWJQ.js +2 -0
- package/dist/cdn/{OQPX2UPC.js → AFY6JQ77.js} +1 -1
- package/dist/cdn/{VHM26W3Y.js → AW5FFER6.js} +1 -1
- package/dist/cdn/{OEL57WQN.js → CGKFSTIT.js} +1 -1
- package/dist/cdn/GBTMUEG6.js +2 -0
- package/dist/cdn/K3SCI35Q.js +2 -0
- package/dist/cdn/{NY6QZ4MA.js → ODY56P7R.js} +1 -1
- package/dist/cdn/OIKOOFSR.js +2 -0
- package/dist/cdn/OOCIGOT6.js +2 -0
- package/dist/cdn/PJ2XGEYO.js +2 -0
- package/dist/cdn/{MZ47CPKO.js → RDBCKSUZ.js} +1 -1
- package/dist/cdn/{7XO4NAD5.js → WC5ZQ5SQ.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/screenLocation.js +10 -10
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -7
- package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +4 -4
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -0
- package/dist/components/arcgis-bookmarks/types.d.ts +2 -2
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -4
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +2 -2
- package/dist/components/arcgis-daylight/customElement.d.ts +4 -4
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +4 -4
- package/dist/components/arcgis-directional-pad/customElement.js +53 -58
- package/dist/components/arcgis-directions/customElement.d.ts +4 -4
- package/dist/components/arcgis-editor/customElement.d.ts +19 -2
- package/dist/components/arcgis-expand/customElement.d.ts +2 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +7 -7
- package/dist/components/arcgis-feature-table/customElement.d.ts +25 -25
- package/dist/components/arcgis-features/customElement.d.ts +5 -5
- package/dist/components/arcgis-features-next/customElement.d.ts +4 -4
- package/dist/components/arcgis-features-next/customElement.js +27 -26
- package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +6 -6
- package/dist/components/arcgis-legend/customElement.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
- package/dist/components/arcgis-link-chart/customElement.d.ts +6 -6
- package/dist/components/arcgis-map/customElement.d.ts +13 -17
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +0 -1
- package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +6 -5
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +19 -18
- package/dist/components/arcgis-popup/customElement.d.ts +8 -7
- package/dist/components/arcgis-presentation/customElement.d.ts +5 -5
- package/dist/components/arcgis-presentation/customElement.js +74 -75
- package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +4 -4
- package/dist/components/arcgis-scene/customElement.d.ts +34 -13
- package/dist/components/arcgis-search/customElement.d.ts +4 -4
- package/dist/components/arcgis-selection-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-selection-toolbar/customElement.d.ts +6 -6
- package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +20 -2
- package/dist/components/arcgis-sketch/customElement.js +18 -11
- package/dist/components/arcgis-slice/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +4 -3
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +5 -4
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +4 -4
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-table-list-next/customElement.js +5 -5
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +11 -14
- package/dist/components/arcgis-time-slider/customElement.d.ts +6 -5
- package/dist/components/arcgis-track/customElement.d.ts +4 -4
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-picker/customElement.d.ts +170 -6
- package/dist/components/arcgis-utility-network-picker/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +5 -4
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +19 -15
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +1 -7
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +272 -9
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +25 -33
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +5 -4
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +50 -46
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +9 -8
- package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +2 -4
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +12 -12
- package/dist/components/arcgis-utility-network-trace-results-pane/customElement.d.ts +0 -2
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +14 -16
- package/dist/components/arcgis-video/customElement.d.ts +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +2 -2
- package/dist/components/arcgis-weather/customElement.d.ts +1 -1
- package/dist/components/slider-legacy/types.d.ts +2 -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/package.json +6 -6
- package/dist/cdn/2IAD3DI5.js +0 -2
- package/dist/cdn/67UW6MJM.js +0 -2
- package/dist/cdn/73NABILZ.js +0 -2
- package/dist/cdn/BJ55UYFS.js +0 -2
- package/dist/cdn/BPTZ6LBO.js +0 -2
- package/dist/cdn/C6T7AQOJ.js +0 -2
- package/dist/cdn/CL5JQN4B.js +0 -2
- package/dist/cdn/F3JX74XA.js +0 -2
- package/dist/cdn/FGQJD346.js +0 -2
- package/dist/cdn/OBFJ4JUW.js +0 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { GenericController as $, proxyExports as
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { u as
|
|
7
|
-
import { m as
|
|
8
|
-
import { property as d, subclass as
|
|
9
|
-
import
|
|
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
|
|
12
|
-
import { watch as g, on as
|
|
13
|
-
import
|
|
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 =
|
|
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-spacing-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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
}),
|
|
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 =
|
|
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 =
|
|
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.#
|
|
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.#
|
|
465
|
-
if (this.#i?.(), this.#i = void 0, this.#
|
|
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.#
|
|
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.#
|
|
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.#
|
|
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 =
|
|
502
|
-
class pe extends
|
|
501
|
+
const de = D(oe), ce = B(l);
|
|
502
|
+
class pe extends T {
|
|
503
503
|
constructor() {
|
|
504
|
-
super(...arguments), this._messages =
|
|
505
|
-
this
|
|
506
|
-
}, this.#
|
|
507
|
-
this.#
|
|
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
|
|
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.#
|
|
516
|
+
this.#s?.abort();
|
|
517
517
|
const s = new AbortController();
|
|
518
|
-
this.#
|
|
519
|
-
const n = Date.now(), a = this.#
|
|
520
|
-
if (this.#
|
|
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
|
|
525
|
+
s.signal.aborted || (this._showSlideList = !1);
|
|
526
526
|
}, X(C));
|
|
527
|
-
}, this.#
|
|
527
|
+
}, this.#a = () => {
|
|
528
528
|
this._showSlideList = !1;
|
|
529
|
-
}, this._showSlideList = !1, this.autoDestroyDisabled = !1, this.view = this
|
|
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
|
-
#
|
|
542
|
+
#r;
|
|
543
543
|
#l;
|
|
544
544
|
#o;
|
|
545
545
|
#d;
|
|
546
|
-
#
|
|
547
|
-
#r;
|
|
548
|
-
#h;
|
|
546
|
+
#a;
|
|
549
547
|
#p;
|
|
548
|
+
#c;
|
|
550
549
|
get slideId() {
|
|
551
|
-
return this
|
|
550
|
+
return this._viewModel.slideId;
|
|
552
551
|
}
|
|
553
552
|
set slideId(e) {
|
|
554
|
-
this
|
|
553
|
+
this._viewModel.slideId = e;
|
|
555
554
|
}
|
|
556
555
|
async destroy() {
|
|
557
556
|
await this.manager.destroy();
|
|
558
557
|
}
|
|
559
558
|
loaded() {
|
|
560
|
-
this
|
|
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
|
|
563
|
+
this._viewModel.setSliceAnalysisInteractive(t);
|
|
565
564
|
}, { initial: !0 }),
|
|
566
565
|
g(() => e.referenceElement, (t) => {
|
|
567
|
-
this.#
|
|
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.#
|
|
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
|
-
#
|
|
575
|
+
#h(e) {
|
|
577
576
|
return e === void 0 || typeof e == "string" ? !1 : "tagName" in e && e.tagName === "ARCGIS-SCENE";
|
|
578
577
|
}
|
|
579
|
-
#
|
|
580
|
-
return g(() => this._slotSizesController, (e) => this.#
|
|
578
|
+
#u() {
|
|
579
|
+
return g(() => this._slotSizesController, (e) => this.#g(e?.topLeft, e?.topRight, e?.bottomLeft, e?.bottomRight), { initial: !0 });
|
|
581
580
|
}
|
|
582
|
-
#
|
|
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
|
-
#
|
|
587
|
+
#v() {
|
|
589
588
|
this.#t = g(() => this.keyboardNavigationEnabled, (e) => {
|
|
590
|
-
document.removeEventListener("keydown", this.#
|
|
589
|
+
document.removeEventListener("keydown", this.#e), e && document.addEventListener("keydown", this.#e);
|
|
591
590
|
}, { initial: !0 });
|
|
592
591
|
}
|
|
593
592
|
render() {
|
|
594
|
-
if (this
|
|
593
|
+
if (this._viewModel?.visibleSlides?.length === 0)
|
|
595
594
|
return u`<div></div>`;
|
|
596
|
-
const e = this
|
|
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
|
-
#
|
|
598
|
+
#S() {
|
|
600
599
|
if (this.navigationHidden)
|
|
601
600
|
return null;
|
|
602
|
-
const e = this
|
|
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
|
|
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
|
-
|
|
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(
|
|
610
|
-
return this.
|
|
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
|
|
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
|
-
|
|
618
|
+
z("arcgis-presentation", pe);
|
|
620
619
|
export {
|
|
621
620
|
pe as ArcgisPresentation
|
|
622
621
|
};
|
|
@@ -4,7 +4,7 @@ import { css as l, html as c } from "lit";
|
|
|
4
4
|
import { LitElement as s, createEvent as b } from "@arcgis/lumina";
|
|
5
5
|
import "@arcgis/core/core/accessorSupport/decorators.js";
|
|
6
6
|
import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
|
-
const d = l`:host{--arcgis-internal-presentation-background-opacity: .6}.captions-container{width:100%;height:100%;padding-inline-start:var(--arcgis-internal-presentation-padding-start);padding-inline-end:var(--arcgis-internal-presentation-padding-end)}.captions{height:auto;position:relative;box-sizing:border-box;transition:padding .05s ease-in 0s;min-height:48px;max-width:max(400px,40%);padding:12px 16px;&:before{content:"";position:absolute;inset-block:-16px -144px;inset-inline:calc(-64px - var(--arcgis-internal-presentation-padding-start)) calc(0px - max(360px,32vw));background:var(--caption-gradient);mask:var(--caption-gradient-mask-before);opacity:var(--arcgis-internal-presentation-background-opacity);z-index:-1}&:after{content:"";position:absolute;inset:-32px;z-index:-2;background-color:#fff0;mask:var(--caption-gradient-mask-after);mask-mode:luminance;mask-composite:intersect;background-size:cover;backdrop-filter:blur(2px);opacity:var(--calcite-opacity-dark)}}:dir(rtl) .captions{&:before{mask:var(--caption-gradient-mask-before-RTL)}}.title{text-wrap:pretty;text-align:start;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;text-shadow:var(--title-text-shadow);font-size:var(--caption-title-font-size);font-family:Avenir Next World,sans-serif;font-style:normal;font-weight:var(--calcite-font-weight-bold);line-height:var(--calcite-font-line-height-relative-snug);margin-bottom:2px;color:var(--calcite-color-text-1)}.captions-description{text-wrap:pretty;text-align:start;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;text-shadow:var(--description-text-shadow);font-size:var(--caption-description-font-size);font-style:normal;font-weight:var(--calcite-font-weight-medium);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1)}.cover-container{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;padding-block-start:calc(var(--arcgis-internal-presentation-cover-padding-top) + var(--calcite-space-lg));padding-block-end:calc(var(--arcgis-internal-presentation-cover-padding-bottom) + var(--calcite-space-lg))}.cover{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-inline:8px;min-height:88px;min-width:200px;position:relative;padding-inline-start:16px;padding-inline-end:16px;opacity:1;transition:opacity .25s,color .25s;&:before{content:"";position:absolute;inset:calc(0vw - max(320px,12vw,18vh)) calc(0vw - max(320px,24vw));border-radius:120px;background:var(--cover-gradient-before);mask:var(--cover-mask-before);opacity:var(--arcgis-internal-presentation-background-opacity);z-index:-1}&:after{content:"";position:absolute;inset:-32px;z-index:-2;background-color:#fff0;mask:var(--cover-mask-after);mask-mode:luminance;mask-composite:intersect;background-size:cover;backdrop-filter:blur(2px);opacity:var(--calcite-opacity-dark)}}.cover-description{text-wrap:pretty;text-align:center;text-shadow:var(--description-text-shadow);font-size:var(--cover-description-font-size);font-style:normal;font-weight:var(--calcite-font-weight-medium);line-height:var(--calcite-font-line-height-relative-snug);display:-webkit-box;max-width:75ch;overflow-wrap:break-word;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;color:var(--calcite-color-text-1)}:host{width:100%;height:100%;position:absolute;top:0;left:0;display:flex;align-items:flex-start;box-sizing:border-box;--caption-gradient: linear-gradient( 180deg, rgb(255 255 255 / 100%) 0%, rgb(255 255 255 / 98.3%) 8.1%, rgb(255 255 255 / 95%) 15.5%, rgb(255 255 255 / 90%) 22.5%, rgb(255 255 255 / 83.3%) 29%, rgb(255 255 255 / 73.3%) 35%, rgb(255 255 255 / 65%) 41%, rgb(255 255 255 / 55%) 47%, rgb(255 255 255 / 45%) 53%, rgb(255 255 255 / 35%) 59%, rgb(255 255 255 / 26.7%) 65%, rgb(255 255 255 / 18.3%) 71%, rgb(255 255 255 / 10%) 77%, rgb(255 255 255 / 4%) 84.5%, rgb(255 255 255 / 1%) 91%, rgb(255 255 255 / 0%) 100% );--title-text-shadow: 0 1px 1px #fff3, 0 0 3px #fff2, 0 0 6px #fff2;--caption-gradient-mask-before: linear-gradient( 90deg, rgb(255 255 255 / 100%) 30%, rgb(255 255 255 / 98.3%) 35.6%, rgb(255 255 255 / 95%) 41%, rgb(255 255 255 / 90%) 46%, rgb(255 255 255 / 83.3%) 50.3%, rgb(255 255 255 / 73.3%) 54.5%, rgb(255 255 255 / 65%) 58.7%, rgb(255 255 255 / 55%) 62.9%, rgb(255 255 255 / 45%) 67%, rgb(255 255 255 / 35%) 71%, rgb(255 255 255 / 26.7%) 75.5%, rgb(255 255 255 / 18.3%) 80%, rgb(255 255 255 / 10%) 84%, rgb(255 255 255 / 4%) 89%, rgb(255 255 255 / 1%) 94%, rgb(255 255 255 / 0%) 100% );--caption-gradient-mask-before-RTL: linear-gradient( 270deg, rgb(255 255 255 / 100%) 30%, rgb(255 255 255 / 98.3%) 35.6%, rgb(255 255 255 / 95%) 41%, rgb(255 255 255 / 90%) 46%, rgb(255 255 255 / 83.3%) 50.3%, rgb(255 255 255 / 73.3%) 54.5%, rgb(255 255 255 / 65%) 58.7%, rgb(255 255 255 / 55%) 62.9%, rgb(255 255 255 / 45%) 67%, rgb(255 255 255 / 35%) 71%, rgb(255 255 255 / 26.7%) 75.5%, rgb(255 255 255 / 18.3%) 80%, rgb(255 255 255 / 10%) 84%, rgb(255 255 255 / 4%) 89%, rgb(255 255 255 / 1%) 94%, rgb(255 255 255 / 0%) 100% );--caption-gradient-mask-after: linear-gradient( 90deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 180deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 270deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 0deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% );--description-text-shadow: 0 .5px .5px #fff2, 0 1px 1px #fff2, 0 0 8px #fff2;--caption-title-font-size: max(var(--calcite-font-size-2xl), calc(18px + .64vw) );--caption-description-font-size: max(var(--calcite-font-size), calc(10px + .4vw) );--cover-description-font-size: max(var(--calcite-font-size-md), calc(10px + .5vw) );--cover-gradient-before: linear-gradient( 0deg, rgb(255 255 255 / 0%) 0, rgb(255 255 255 / 1%) 4%, rgb(255 255 255 / 4%) 7.7%, rgb(255 255 255 / 10%) 11.2%, rgb(255 255 255 / 18.3%) 14.5%, rgb(255 255 255 / 26.7%) 17.5%, rgb(255 255 255 / 35%) 20.5%, rgb(255 255 255 / 45%) 23.5%, rgb(255 255 255 / 55%) 26.5%, rgb(255 255 255 / 65%) 29.5%, rgb(255 255 255 / 73.3%) 32.5%, rgb(255 255 255 / 83.3%) 35.5%, rgb(255 255 255 / 90%) 38.5%, rgb(255 255 255 / 95%) 42.2%, rgb(255 255 255 / 98.3%) 46%, rgb(255 255 255 / 100%) 50%, rgb(255 255 255 / 98.3%) 54%, rgb(255 255 255 / 95%) 57.8%, rgb(255 255 255 / 90%) 61.5%, rgb(255 255 255 / 83.3%) 64.5%, rgb(255 255 255 / 73.3%) 67.5%, rgb(255 255 255 / 65%) 70.5%, rgb(255 255 255 / 55%) 73.5%, rgb(255 255 255 / 45%) 76.5%, rgb(255 255 255 / 35%) 79.5%, rgb(255 255 255 / 26.7%) 82.5%, rgb(255 255 255 / 18.3%) 85.5%, rgb(255 255 255 / 10%) 88.8%, rgb(255 255 255 / 4%) 92.3%, rgb(255 255 255 / 1%) 96%, rgb(255 255 255 / 0%) 100% );--cover-mask-before: linear-gradient( 90deg, rgb(255 255 255 / 0%) 0, rgb(255 255 255 / 1%) 3.2%, rgb(255 255 255 / 4%) 6.2%, rgb(255 255 255 / 10%) 9%, rgb(255 255 255 / 18.3%) 11.6%, rgb(255 255 255 / 26.7%) 14%, rgb(255 255 255 / 35%) 16.4%, rgb(255 255 255 / 45%) 18.8%, rgb(255 255 255 / 55%) 21.2%, rgb(255 255 255 / 65%) 23.6%, rgb(255 255 255 / 73.3%) 26%, rgb(255 255 255 / 83.3%) 28.4%, rgb(255 255 255 / 90%) 30.8%, rgb(255 255 255 / 95%) 33.8%, rgb(255 255 255 / 98.3%) 36.8%, rgb(255 255 255 / 100%) 40%, rgb(255 255 255 / 100%) 60%, rgb(255 255 255 / 98.3%) 63.2%, rgb(255 255 255 / 95%) 66.2%, rgb(255 255 255 / 90%) 69.2%, rgb(255 255 255 / 83.3%) 71.6%, rgb(255 255 255 / 73.3%) 74%, rgb(255 255 255 / 65%) 76.4%, rgb(255 255 255 / 55%) 78.8%, rgb(255 255 255 / 45%) 81.2%, rgb(255 255 255 / 35%) 83.6%, rgb(255 255 255 / 26.7%) 86%, rgb(255 255 255 / 18.3%) 88.4%, rgb(255 255 255 / 10%) 91%, rgb(255 255 255 / 4%) 93.9%, rgb(255 255 255 / 1%) 96.8%, rgb(255 255 255 / 0%) 100% );--cover-mask-after: linear-gradient( 90deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 180deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 270deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 0deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% );--cover-gradient-phone: linear-gradient( 0deg, rgb(255 255 255 / 0%) .59%, rgb(255 255 255 / 4%) 4.94%, rgb(255 255 255 / 50%) 25.87%, rgb(255 255 255 / 70%) 37.02%, rgb(255 255 255 / 80%) 48.43%, rgb(255 255 255 / 70%) 60.34%, rgb(255 255 255 / 30%) 80.55%, rgb(255 255 255 / 4%) 93.22%, rgb(255 255 255 / 0%) 99.74% );.fadeOut{opacity:1!important}}`, n = 50, o = 256;
|
|
7
|
+
const d = l`:host{--arcgis-internal-presentation-background-opacity: .6}.captions-container{width:100%;height:100%;padding-inline-start:var(--arcgis-internal-presentation-padding-start);padding-inline-end:var(--arcgis-internal-presentation-padding-end)}.captions{width:fit-content;height:auto;position:relative;box-sizing:border-box;transition:padding .05s ease-in 0s;min-height:48px;max-width:max(400px,40%);padding:12px 16px;&:before{content:"";position:absolute;inset-block:-16px -144px;inset-inline:calc(-64px - var(--arcgis-internal-presentation-padding-start)) calc(0px - max(360px,32vw));background:var(--caption-gradient);mask:var(--caption-gradient-mask-before);opacity:var(--arcgis-internal-presentation-background-opacity);z-index:-1}&:after{content:"";position:absolute;inset:-32px;z-index:-2;background-color:#fff0;mask:var(--caption-gradient-mask-after);mask-mode:luminance;mask-composite:intersect;background-size:cover;backdrop-filter:blur(2px);opacity:var(--calcite-opacity-dark)}}:dir(rtl) .captions{&:before{mask:var(--caption-gradient-mask-before-RTL)}}.title{text-wrap:pretty;text-align:start;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;text-shadow:var(--title-text-shadow);font-size:var(--caption-title-font-size);font-family:Avenir Next World,sans-serif;font-style:normal;font-weight:var(--calcite-font-weight-bold);line-height:var(--calcite-font-line-height-relative-snug);margin-bottom:2px;color:var(--calcite-color-text-1)}.captions-description{text-wrap:pretty;text-align:start;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;text-shadow:var(--description-text-shadow);font-size:var(--caption-description-font-size);font-style:normal;font-weight:var(--calcite-font-weight-medium);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1)}.cover-container{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;padding-block-start:calc(var(--arcgis-internal-presentation-cover-padding-top) + var(--calcite-space-lg));padding-block-end:calc(var(--arcgis-internal-presentation-cover-padding-bottom) + var(--calcite-space-lg))}.cover{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-inline:8px;min-height:88px;min-width:200px;position:relative;padding-inline-start:16px;padding-inline-end:16px;opacity:1;transition:opacity .25s,color .25s;&:before{content:"";position:absolute;inset:calc(0vw - max(320px,12vw,18vh)) calc(0vw - max(320px,24vw));border-radius:120px;background:var(--cover-gradient-before);mask:var(--cover-mask-before);opacity:var(--arcgis-internal-presentation-background-opacity);z-index:-1}&:after{content:"";position:absolute;inset:-32px;z-index:-2;background-color:#fff0;mask:var(--cover-mask-after);mask-mode:luminance;mask-composite:intersect;background-size:cover;backdrop-filter:blur(2px);opacity:var(--calcite-opacity-dark)}}.cover-description{text-wrap:pretty;text-align:center;text-shadow:var(--description-text-shadow);font-size:var(--cover-description-font-size);font-style:normal;font-weight:var(--calcite-font-weight-medium);line-height:var(--calcite-font-line-height-relative-snug);display:-webkit-box;max-width:75ch;overflow-wrap:break-word;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;color:var(--calcite-color-text-1)}:host{width:100%;height:100%;position:absolute;top:0;left:0;display:flex;align-items:flex-start;box-sizing:border-box;--caption-gradient: linear-gradient( 180deg, rgb(255 255 255 / 100%) 0%, rgb(255 255 255 / 98.3%) 8.1%, rgb(255 255 255 / 95%) 15.5%, rgb(255 255 255 / 90%) 22.5%, rgb(255 255 255 / 83.3%) 29%, rgb(255 255 255 / 73.3%) 35%, rgb(255 255 255 / 65%) 41%, rgb(255 255 255 / 55%) 47%, rgb(255 255 255 / 45%) 53%, rgb(255 255 255 / 35%) 59%, rgb(255 255 255 / 26.7%) 65%, rgb(255 255 255 / 18.3%) 71%, rgb(255 255 255 / 10%) 77%, rgb(255 255 255 / 4%) 84.5%, rgb(255 255 255 / 1%) 91%, rgb(255 255 255 / 0%) 100% );--title-text-shadow: 0 1px 1px #fff3, 0 0 3px #fff2, 0 0 6px #fff2;--caption-gradient-mask-before: linear-gradient( 90deg, rgb(255 255 255 / 100%) 30%, rgb(255 255 255 / 98.3%) 35.6%, rgb(255 255 255 / 95%) 41%, rgb(255 255 255 / 90%) 46%, rgb(255 255 255 / 83.3%) 50.3%, rgb(255 255 255 / 73.3%) 54.5%, rgb(255 255 255 / 65%) 58.7%, rgb(255 255 255 / 55%) 62.9%, rgb(255 255 255 / 45%) 67%, rgb(255 255 255 / 35%) 71%, rgb(255 255 255 / 26.7%) 75.5%, rgb(255 255 255 / 18.3%) 80%, rgb(255 255 255 / 10%) 84%, rgb(255 255 255 / 4%) 89%, rgb(255 255 255 / 1%) 94%, rgb(255 255 255 / 0%) 100% );--caption-gradient-mask-before-RTL: linear-gradient( 270deg, rgb(255 255 255 / 100%) 30%, rgb(255 255 255 / 98.3%) 35.6%, rgb(255 255 255 / 95%) 41%, rgb(255 255 255 / 90%) 46%, rgb(255 255 255 / 83.3%) 50.3%, rgb(255 255 255 / 73.3%) 54.5%, rgb(255 255 255 / 65%) 58.7%, rgb(255 255 255 / 55%) 62.9%, rgb(255 255 255 / 45%) 67%, rgb(255 255 255 / 35%) 71%, rgb(255 255 255 / 26.7%) 75.5%, rgb(255 255 255 / 18.3%) 80%, rgb(255 255 255 / 10%) 84%, rgb(255 255 255 / 4%) 89%, rgb(255 255 255 / 1%) 94%, rgb(255 255 255 / 0%) 100% );--caption-gradient-mask-after: linear-gradient( 90deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 180deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 270deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 0deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% );--description-text-shadow: 0 .5px .5px #fff2, 0 1px 1px #fff2, 0 0 8px #fff2;--caption-title-font-size: max(var(--calcite-font-size-2xl), calc(18px + .64vw) );--caption-description-font-size: max(var(--calcite-font-size), calc(10px + .4vw) );--cover-description-font-size: max(var(--calcite-font-size-md), calc(10px + .5vw) );--cover-gradient-before: linear-gradient( 0deg, rgb(255 255 255 / 0%) 0, rgb(255 255 255 / 1%) 4%, rgb(255 255 255 / 4%) 7.7%, rgb(255 255 255 / 10%) 11.2%, rgb(255 255 255 / 18.3%) 14.5%, rgb(255 255 255 / 26.7%) 17.5%, rgb(255 255 255 / 35%) 20.5%, rgb(255 255 255 / 45%) 23.5%, rgb(255 255 255 / 55%) 26.5%, rgb(255 255 255 / 65%) 29.5%, rgb(255 255 255 / 73.3%) 32.5%, rgb(255 255 255 / 83.3%) 35.5%, rgb(255 255 255 / 90%) 38.5%, rgb(255 255 255 / 95%) 42.2%, rgb(255 255 255 / 98.3%) 46%, rgb(255 255 255 / 100%) 50%, rgb(255 255 255 / 98.3%) 54%, rgb(255 255 255 / 95%) 57.8%, rgb(255 255 255 / 90%) 61.5%, rgb(255 255 255 / 83.3%) 64.5%, rgb(255 255 255 / 73.3%) 67.5%, rgb(255 255 255 / 65%) 70.5%, rgb(255 255 255 / 55%) 73.5%, rgb(255 255 255 / 45%) 76.5%, rgb(255 255 255 / 35%) 79.5%, rgb(255 255 255 / 26.7%) 82.5%, rgb(255 255 255 / 18.3%) 85.5%, rgb(255 255 255 / 10%) 88.8%, rgb(255 255 255 / 4%) 92.3%, rgb(255 255 255 / 1%) 96%, rgb(255 255 255 / 0%) 100% );--cover-mask-before: linear-gradient( 90deg, rgb(255 255 255 / 0%) 0, rgb(255 255 255 / 1%) 3.2%, rgb(255 255 255 / 4%) 6.2%, rgb(255 255 255 / 10%) 9%, rgb(255 255 255 / 18.3%) 11.6%, rgb(255 255 255 / 26.7%) 14%, rgb(255 255 255 / 35%) 16.4%, rgb(255 255 255 / 45%) 18.8%, rgb(255 255 255 / 55%) 21.2%, rgb(255 255 255 / 65%) 23.6%, rgb(255 255 255 / 73.3%) 26%, rgb(255 255 255 / 83.3%) 28.4%, rgb(255 255 255 / 90%) 30.8%, rgb(255 255 255 / 95%) 33.8%, rgb(255 255 255 / 98.3%) 36.8%, rgb(255 255 255 / 100%) 40%, rgb(255 255 255 / 100%) 60%, rgb(255 255 255 / 98.3%) 63.2%, rgb(255 255 255 / 95%) 66.2%, rgb(255 255 255 / 90%) 69.2%, rgb(255 255 255 / 83.3%) 71.6%, rgb(255 255 255 / 73.3%) 74%, rgb(255 255 255 / 65%) 76.4%, rgb(255 255 255 / 55%) 78.8%, rgb(255 255 255 / 45%) 81.2%, rgb(255 255 255 / 35%) 83.6%, rgb(255 255 255 / 26.7%) 86%, rgb(255 255 255 / 18.3%) 88.4%, rgb(255 255 255 / 10%) 91%, rgb(255 255 255 / 4%) 93.9%, rgb(255 255 255 / 1%) 96.8%, rgb(255 255 255 / 0%) 100% );--cover-mask-after: linear-gradient( 90deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 180deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 270deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 0deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% );--cover-gradient-phone: linear-gradient( 0deg, rgb(255 255 255 / 0%) .59%, rgb(255 255 255 / 4%) 4.94%, rgb(255 255 255 / 50%) 25.87%, rgb(255 255 255 / 70%) 37.02%, rgb(255 255 255 / 80%) 48.43%, rgb(255 255 255 / 70%) 60.34%, rgb(255 255 255 / 30%) 80.55%, rgb(255 255 255 / 4%) 93.22%, rgb(255 255 255 / 0%) 99.74% );.fadeOut{opacity:1!important}}`, n = 50, o = 256;
|
|
8
8
|
class x extends s {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this.transitionActive = !1, this.autoDestroyDisabled = !1, this.arcgisReady = b();
|
|
@@ -568,7 +568,7 @@ export abstract class ArcgisPrint extends LitElement {
|
|
|
568
568
|
* populated in the Print component under `Advanced options`. These values can be
|
|
569
569
|
* overwritten in the Print component UI, or programmatically using this property.
|
|
570
570
|
* To list all print templates available on the print service to see
|
|
571
|
-
*
|
|
571
|
+
* which templates were published with `customTextElements`, use the
|
|
572
572
|
* [effectiveTemplateCustomTextElements](https://developers.arcgis.com/javascript/latest/references/core/widgets/Print/PrintViewModel/#effectiveTemplateCustomTextElements)
|
|
573
573
|
* property.
|
|
574
574
|
*
|
|
@@ -45,20 +45,20 @@ export abstract class ArcgisScaleRangeSlider extends LitElement {
|
|
|
45
45
|
*/
|
|
46
46
|
accessor disabled: boolean;
|
|
47
47
|
/**
|
|
48
|
-
* Indicates whether the preview thumbnail of the scale is
|
|
49
|
-
* Default value is `
|
|
48
|
+
* Indicates whether the preview thumbnail of the scale is hidden.
|
|
49
|
+
* Default value is `false`.
|
|
50
50
|
*
|
|
51
51
|
* @default false
|
|
52
52
|
*/
|
|
53
53
|
accessor hidePreview: boolean | undefined;
|
|
54
54
|
/**
|
|
55
|
-
* Indicates whether the maximum scale dropdown menu is
|
|
55
|
+
* Indicates whether the maximum scale dropdown menu is hidden. Default value is `false`.
|
|
56
56
|
*
|
|
57
57
|
* @default false
|
|
58
58
|
*/
|
|
59
59
|
accessor hideScaleMenusMaxScaleMenu: boolean | undefined;
|
|
60
60
|
/**
|
|
61
|
-
* Indicates whether the minimum scale dropdown menu is
|
|
61
|
+
* Indicates whether the minimum scale dropdown menu is hidden. Default value is `false`.
|
|
62
62
|
*
|
|
63
63
|
* @default false
|
|
64
64
|
*/
|
|
@@ -625,7 +625,7 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
625
625
|
* };
|
|
626
626
|
*
|
|
627
627
|
* // Add the options to the highlights collection at the first position
|
|
628
|
-
* view.highlights.add(
|
|
628
|
+
* view.highlights.add(selectionHighlightOptions, 0);
|
|
629
629
|
*/
|
|
630
630
|
accessor highlights: Collection<HighlightOptions>;
|
|
631
631
|
/**
|
|
@@ -863,13 +863,13 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
863
863
|
*/
|
|
864
864
|
accessor spatialReference: SpatialReference;
|
|
865
865
|
/**
|
|
866
|
-
* Indicates whether the view is animating, being navigated
|
|
866
|
+
* Indicates whether the view is stationary, meaning it is not animating, being navigated, or resizing.
|
|
867
867
|
*
|
|
868
868
|
* @default false
|
|
869
869
|
*/
|
|
870
870
|
get stationary(): boolean;
|
|
871
871
|
/**
|
|
872
|
-
* Indicates
|
|
872
|
+
* Indicates whether rendering in the view is suspended.
|
|
873
873
|
*
|
|
874
874
|
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#suspended)
|
|
875
875
|
*
|
|
@@ -908,13 +908,13 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
908
908
|
* }
|
|
909
909
|
* });
|
|
910
910
|
*
|
|
911
|
-
* // Create a
|
|
911
|
+
* // Create a scene view showing sales for the last week of March 2019 only.
|
|
912
912
|
* const view = new SceneView({
|
|
913
913
|
* map: map,
|
|
914
914
|
* container: "viewDiv",
|
|
915
915
|
* timeExtent: {
|
|
916
|
-
* start: new Date(
|
|
917
|
-
* end: new Date(
|
|
916
|
+
* start: new Date(2019, 2, 24),
|
|
917
|
+
* end: new Date(2019, 2, 31)
|
|
918
918
|
* }
|
|
919
919
|
* });
|
|
920
920
|
*/
|
|
@@ -982,6 +982,30 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
982
982
|
* the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) method.
|
|
983
983
|
*
|
|
984
984
|
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#viewpoint)
|
|
985
|
+
*
|
|
986
|
+
* @example
|
|
987
|
+
* ```js
|
|
988
|
+
* // Set the initial viewpoint toward the Empire State Building in New York City
|
|
989
|
+
* const viewElement = document.querySelector("arcgis-scene");
|
|
990
|
+
* viewElement.viewpoint = new Viewpoint({
|
|
991
|
+
* camera: new Camera({
|
|
992
|
+
* position: {
|
|
993
|
+
* longitude: -73.9857,
|
|
994
|
+
* latitude: 40.7444,
|
|
995
|
+
* z: 500,
|
|
996
|
+
* },
|
|
997
|
+
* heading: 0,
|
|
998
|
+
* tilt: 60,
|
|
999
|
+
* }),
|
|
1000
|
+
* });
|
|
1001
|
+
* ```
|
|
1002
|
+
* @example
|
|
1003
|
+
* ```js
|
|
1004
|
+
* // Get the initial viewpoint of the view once the view is ready
|
|
1005
|
+
* const viewElement = document.querySelector("arcgis-scene");
|
|
1006
|
+
* await viewElement.viewOnReady();
|
|
1007
|
+
* const initialViewpoint = viewElement.viewpoint.clone();
|
|
1008
|
+
* ```
|
|
985
1009
|
*/
|
|
986
1010
|
accessor viewpoint: Viewpoint;
|
|
987
1011
|
/**
|
|
@@ -1193,8 +1217,8 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
1193
1217
|
*/
|
|
1194
1218
|
readonly arcgisViewAnalysisViewDestroy: import("@arcgis/lumina").TargetedEvent<this, AnalysisViewDestroyEvent>;
|
|
1195
1219
|
/**
|
|
1196
|
-
*
|
|
1197
|
-
*
|
|
1220
|
+
* Fires when the view's [stationary](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#stationary) property changes, including when navigation
|
|
1221
|
+
* starts or stops. It also fires when the component loads.
|
|
1198
1222
|
*
|
|
1199
1223
|
* > The `arcgisViewChange` event may be emitted before the view is fully ready.
|
|
1200
1224
|
* > This means the event can fire before the component's `stationary` property is `true` or before the view has completed its initial setup.
|
|
@@ -1299,7 +1323,7 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
1299
1323
|
*/
|
|
1300
1324
|
readonly arcgisViewKeyUp: import("@arcgis/lumina").TargetedEvent<this, KeyUpEvent>;
|
|
1301
1325
|
/**
|
|
1302
|
-
* Fires after
|
|
1326
|
+
* Fires after a LayerView is created for a layer in the map.
|
|
1303
1327
|
*
|
|
1304
1328
|
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#event-layerview-create)
|
|
1305
1329
|
*/
|
|
@@ -1352,10 +1376,7 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
1352
1376
|
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#event-pointer-up)
|
|
1353
1377
|
*/
|
|
1354
1378
|
readonly arcgisViewPointerUp: import("@arcgis/lumina").TargetedEvent<this, PointerUpEvent>;
|
|
1355
|
-
/**
|
|
1356
|
-
* This event is for the [ready](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#ready) property and will be emitted when the view is ready.
|
|
1357
|
-
* This event will also emit if the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#map) property is changed.
|
|
1358
|
-
*/
|
|
1379
|
+
/** Fires when the [ready](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#ready) property changes, or when the component loads if the view is already ready. */
|
|
1359
1380
|
readonly arcgisViewReadyChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
1360
1381
|
/**
|
|
1361
1382
|
* Fires if the view encounters a content or rendering error.
|
|
@@ -287,7 +287,7 @@ export abstract class ArcgisSearch extends LitElement {
|
|
|
287
287
|
*/
|
|
288
288
|
accessor popupTemplate: PopupTemplate | null | undefined;
|
|
289
289
|
/**
|
|
290
|
-
* It is possible to search a specified portal instance's [locator services](https://doc.esri.com/en/arcgis-enterprise/latest/administer/configure-portal-to-geocode-addresses.html)
|
|
290
|
+
* It is possible to search a specified portal instance's [locator services](https://doc.esri.com/en/arcgis-enterprise/latest/administer/configure-portal-to-geocode-addresses.html).
|
|
291
291
|
* Use this property to set this [ArcGIS Portal](https://enterprise.arcgis.com/en/portal/) instance to search.
|
|
292
292
|
*
|
|
293
293
|
* @since 4.8
|
|
@@ -319,13 +319,13 @@ export abstract class ArcgisSearch extends LitElement {
|
|
|
319
319
|
/** An array of objects, each containing a [SearchResult](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/types/#SearchResult) from the search. */
|
|
320
320
|
get results(): Array<SearchResults> | null | undefined;
|
|
321
321
|
/**
|
|
322
|
-
* By default, the "All" option is displayed
|
|
322
|
+
* By default, the "All" option is displayed to search all sources:
|
|
323
323
|
*
|
|
324
|
-
* 
|
|
325
325
|
*
|
|
326
326
|
* When `true`, no option to search all sources at once is available:
|
|
327
327
|
*
|
|
328
|
-
* 
|
|
329
329
|
*
|
|
330
330
|
* @default false
|
|
331
331
|
*/
|
|
@@ -178,7 +178,7 @@ export abstract class ArcgisSelectionList extends LitElement {
|
|
|
178
178
|
*/
|
|
179
179
|
accessor hideZoomToButton: boolean;
|
|
180
180
|
/**
|
|
181
|
-
* Property controlling whether corresponding features on the view should be highlighted when
|
|
181
|
+
* Property controlling whether corresponding features on the view should not be highlighted when
|
|
182
182
|
* hovering over the associated list item. Only applies to list items representing individual features.
|
|
183
183
|
*
|
|
184
184
|
* @default false
|
|
@@ -333,7 +333,7 @@ export abstract class ArcgisSelectionList extends LitElement {
|
|
|
333
333
|
*/
|
|
334
334
|
get visibleFeatureCount(): number;
|
|
335
335
|
/**
|
|
336
|
-
*
|
|
336
|
+
* Visible [feature items](https://developers.arcgis.com/javascript/latest/references/core/widgets/support/SelectionList/FeatureItem/) in the list, accounting for [maxVisibleFeatureCountPerLayer](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-selection-list/#maxVisibleFeatureCountPerLayer).
|
|
337
337
|
* Excludes [feature items](https://developers.arcgis.com/javascript/latest/references/core/widgets/support/SelectionList/FeatureItem/) hidden by the filter.
|
|
338
338
|
*
|
|
339
339
|
* @since 5.2
|