@arcgis/map-components 5.2.0-next.87 → 5.2.0-next.88
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/{IOZ5U2X7.js → 2GQ6KVNI.js} +1 -1
- package/dist/cdn/3CFRD2EN.js +2 -0
- package/dist/cdn/{7IWMEBK6.js → 6BNYO33V.js} +1 -1
- package/dist/cdn/{3IY3D62Z.js → JXBEE5GW.js} +1 -1
- package/dist/cdn/JZC42PXS.js +2 -0
- package/dist/cdn/NB5DQKQY.js +2 -0
- package/dist/cdn/TRFWUKXA.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +10 -0
- package/dist/components/arcgis-attachments/customElement.d.ts +10 -0
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +604 -51
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +2 -2
- package/dist/components/arcgis-basemap-layer-list-next/types.d.ts +39 -0
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +10 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +20 -0
- package/dist/components/arcgis-building-explorer/customElement.d.ts +10 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +433 -59
- package/dist/components/arcgis-catalog-layer-list-next/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +41 -6
- package/dist/components/arcgis-compass/customElement.d.ts +10 -0
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -0
- package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +10 -0
- package/dist/components/arcgis-daylight/customElement.d.ts +10 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +10 -0
- package/dist/components/arcgis-directional-pad/customElement.d.ts +10 -0
- package/dist/components/arcgis-directions/customElement.d.ts +10 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -0
- package/dist/components/arcgis-editor/customElement.d.ts +10 -0
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +10 -0
- package/dist/components/arcgis-expand/customElement.d.ts +10 -0
- package/dist/components/arcgis-feature/customElement.d.ts +10 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +10 -0
- package/dist/components/arcgis-feature-next/customElement.d.ts +32 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +10 -0
- package/dist/components/arcgis-feature-templates/customElement.d.ts +10 -0
- package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-features/customElement.d.ts +20 -0
- package/dist/components/arcgis-features-next/customElement.d.ts +32 -1
- package/dist/components/arcgis-features-next/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +10 -0
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +10 -0
- package/dist/components/arcgis-home/customElement.d.ts +10 -0
- package/dist/components/arcgis-layer-list/customElement.d.ts +20 -0
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +285 -123
- package/dist/components/arcgis-layer-list-next/customElement.js +2 -3
- package/dist/components/arcgis-layer-list-next/types.d.ts +44 -6
- package/dist/components/arcgis-legend/customElement.d.ts +10 -0
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +10 -0
- package/dist/components/arcgis-link-chart/customElement.d.ts +10 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +10 -0
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +10 -0
- package/dist/components/arcgis-locate/customElement.d.ts +10 -0
- package/dist/components/arcgis-map/customElement.d.ts +10 -0
- package/dist/components/arcgis-measurement/customElement.d.ts +10 -0
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +25 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +10 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -0
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.d.ts +10 -0
- package/dist/components/arcgis-paste/customElement.d.ts +10 -0
- package/dist/components/arcgis-popup/customElement.d.ts +20 -0
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-presentation/customElement.d.ts +10 -0
- package/dist/components/arcgis-presentation/customElement.js +70 -71
- package/dist/components/arcgis-print/customElement.d.ts +10 -0
- package/dist/components/arcgis-scale-bar/customElement.d.ts +10 -0
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +10 -0
- package/dist/components/arcgis-scene/customElement.d.ts +10 -0
- package/dist/components/arcgis-search/customElement.d.ts +10 -0
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +10 -0
- package/dist/components/arcgis-selection-toolbar/customElement.d.ts +10 -0
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +10 -0
- package/dist/components/arcgis-sketch/customElement.d.ts +10 -0
- package/dist/components/arcgis-slice/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-snapping-controls/customElement.d.ts +10 -0
- package/dist/components/arcgis-swipe/customElement.d.ts +10 -0
- package/dist/components/arcgis-table-list/customElement.d.ts +102 -15
- package/dist/components/arcgis-table-list-next/customElement.d.ts +310 -44
- package/dist/components/arcgis-table-list-next/customElement.js +2 -3
- package/dist/components/arcgis-table-list-next/types.d.ts +37 -0
- package/dist/components/arcgis-time-bar/customElement.d.ts +10 -0
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +10 -0
- package/dist/components/arcgis-time-slider/customElement.d.ts +10 -0
- package/dist/components/arcgis-track/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-location-next/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +10 -0
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-version-management/customElement.d.ts +10 -0
- package/dist/components/arcgis-video/customElement.d.ts +10 -0
- package/dist/components/arcgis-video-player/customElement.d.ts +10 -0
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +22 -1
- package/dist/components/arcgis-weather/customElement.d.ts +10 -0
- package/dist/components/arcgis-zoom/customElement.d.ts +10 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +5 -5
- package/dist/cdn/3UUQJCZL.js +0 -2
- package/dist/cdn/FZHWZNBO.js +0 -2
- package/dist/cdn/TCMRGJTC.js +0 -2
- package/dist/cdn/TUTTPXC5.js +0 -2
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { c as O } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as z, html as g } from "lit";
|
|
4
4
|
import { GenericController as P, proxyExports as E, useDirection as B } from "@arcgis/lumina/controllers";
|
|
5
|
-
import { LitElement as G, createEvent as v, nothing as
|
|
6
|
-
import { u as
|
|
7
|
-
import { m as
|
|
5
|
+
import { LitElement as G, createEvent as v, nothing as y } from "@arcgis/lumina";
|
|
6
|
+
import { u as T } from "../../chunks/useT9n.js";
|
|
7
|
+
import { m as R } from "../../chunks/useViewModel.js";
|
|
8
8
|
import { property as d, subclass as N } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
9
9
|
import H from "@arcgis/core/core/Accessor.js";
|
|
10
10
|
import w from "@arcgis/core/core/Collection.js";
|
|
@@ -21,7 +21,7 @@ import q from "@arcgis/core/graphic/FeatureGraphicOrigin.js";
|
|
|
21
21
|
import { fetchPopupFeaturesFromGraphics as A } from "@arcgis/core/applications/SceneViewer/sceneViewerUtils.js";
|
|
22
22
|
import { s as I } from "../../chunks/resources.js";
|
|
23
23
|
import { d as C, p as J } from "../../chunks/constants2.js";
|
|
24
|
-
const X = z`: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}p{padding:0;margin:0}.root{display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%}.presentation-content{display:flex;width: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(--internal-attribution-
|
|
24
|
+
const X = z`: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}p{padding:0;margin:0}.root{display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%}.presentation-content{display:flex;width: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%}.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{height:100%;align-content:center;border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.slide-list-action{padding-inline:var(--calcite-space-sm)}.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:auto;max-height:calc(100vh - 136px);overflow:hidden auto}.legend{padding:var(--esri-widget-padding);background-color:var(--calcite-color-surface-2)}`;
|
|
25
25
|
var Y = Object.defineProperty, Z = Object.getOwnPropertyDescriptor, o = (i, e, t, s) => {
|
|
26
26
|
for (var n = s > 1 ? void 0 : s ? Z(e, t) : e, r = i.length - 1, a; r >= 0; r--)
|
|
27
27
|
(a = i[r]) && (n = (s ? a(e, t, n) : a(n)) || n);
|
|
@@ -297,9 +297,9 @@ class ee extends P {
|
|
|
297
297
|
await _(() => !c.updating);
|
|
298
298
|
const p = this._tryGetBuildingComponentSublayerView(s, n, c) ?? c;
|
|
299
299
|
await _(() => !p.updating);
|
|
300
|
-
const
|
|
301
|
-
let x = await A(p, [
|
|
302
|
-
return this._featureHasBeenFilledWithAttributes(x) || (await _(() => !e.updating), x = await A(p, [
|
|
300
|
+
const b = this._createFeatureGraphic(s, n, r, a.id);
|
|
301
|
+
let x = await A(p, [b]);
|
|
302
|
+
return this._featureHasBeenFilledWithAttributes(x) || (await _(() => !e.updating), x = await A(p, [b])), x;
|
|
303
303
|
}
|
|
304
304
|
_tryGetBuildingComponentSublayerView(e, t, s) {
|
|
305
305
|
let n;
|
|
@@ -357,27 +357,27 @@ class ee extends P {
|
|
|
357
357
|
}
|
|
358
358
|
//#endregion
|
|
359
359
|
}
|
|
360
|
-
const te = (i) => new ee(i),
|
|
361
|
-
topCenter: { ...
|
|
362
|
-
topLeft: { ...
|
|
363
|
-
topRight: { ...
|
|
364
|
-
bottomCenter: { ...
|
|
365
|
-
bottomLeft: { ...
|
|
366
|
-
bottomRight: { ...
|
|
367
|
-
}),
|
|
360
|
+
const te = (i) => new ee(i), S = Object.freeze({ width: 0, height: 0 }), f = /* @__PURE__ */ new WeakMap(), m = () => ({
|
|
361
|
+
topCenter: { ...S },
|
|
362
|
+
topLeft: { ...S },
|
|
363
|
+
topRight: { ...S },
|
|
364
|
+
bottomCenter: { ...S },
|
|
365
|
+
bottomLeft: { ...S },
|
|
366
|
+
bottomRight: { ...S }
|
|
367
|
+
}), F = (i) => ({
|
|
368
368
|
topCenter: { ...i.topCenter },
|
|
369
369
|
topLeft: { ...i.topLeft },
|
|
370
370
|
topRight: { ...i.topRight },
|
|
371
371
|
bottomCenter: { ...i.bottomCenter },
|
|
372
372
|
bottomLeft: { ...i.bottomLeft },
|
|
373
373
|
bottomRight: { ...i.bottomRight }
|
|
374
|
-
}),
|
|
375
|
-
let e =
|
|
374
|
+
}), $ = (i) => {
|
|
375
|
+
let e = f.get(i);
|
|
376
376
|
return e || (e = {
|
|
377
377
|
observedGroups: /* @__PURE__ */ new Map(),
|
|
378
|
-
observedSizes:
|
|
378
|
+
observedSizes: m(),
|
|
379
379
|
subscribers: /* @__PURE__ */ new Set()
|
|
380
|
-
},
|
|
380
|
+
}, f.set(i, e)), e;
|
|
381
381
|
}, ie = (i) => {
|
|
382
382
|
const e = i?.topCenter.value, t = i?.topLeft.value, s = i?.topRight.value, n = i?.bottomCenter.value, r = i?.bottomLeft.value, a = i?.bottomRight.value;
|
|
383
383
|
return e && t && s && n && r && a ? {
|
|
@@ -389,22 +389,22 @@ const te = (i) => new ee(i), m = Object.freeze({ width: 0, height: 0 }), b = /*
|
|
|
389
389
|
bottomRight: a
|
|
390
390
|
} : null;
|
|
391
391
|
}, se = (i, e) => I.every((t) => i.get(t) === e[t]), ne = (i) => {
|
|
392
|
-
const e =
|
|
392
|
+
const e = F(i.observedSizes);
|
|
393
393
|
i.subscribers.forEach((t) => t(e));
|
|
394
394
|
}, re = (i, e) => {
|
|
395
|
-
const t =
|
|
395
|
+
const t = f.get(i);
|
|
396
396
|
if (!t)
|
|
397
397
|
return;
|
|
398
398
|
let s = !1;
|
|
399
399
|
e.forEach((n) => {
|
|
400
|
-
const r = I.find((
|
|
400
|
+
const r = I.find((b) => t.observedGroups.get(b) === n.target);
|
|
401
401
|
if (!r)
|
|
402
402
|
return;
|
|
403
403
|
const { width: a, height: c } = n.contentRect, h = { width: a, height: c }, p = t.observedSizes[r];
|
|
404
404
|
p.width === h.width && p.height === h.height || (t.observedSizes[r] = h, s = !0);
|
|
405
405
|
}), s && ne(t);
|
|
406
406
|
}, L = (i, e) => {
|
|
407
|
-
const t =
|
|
407
|
+
const t = $(i);
|
|
408
408
|
t.resizeObserver || (t.resizeObserver = new ResizeObserver((n) => {
|
|
409
409
|
re(i, n);
|
|
410
410
|
}));
|
|
@@ -418,10 +418,10 @@ const te = (i) => new ee(i), m = Object.freeze({ width: 0, height: 0 }), b = /*
|
|
|
418
418
|
t.observedGroups.set(n, r), t.resizeObserver?.observe(r);
|
|
419
419
|
}));
|
|
420
420
|
}, ae = (i, e) => {
|
|
421
|
-
const t =
|
|
422
|
-
return t.subscribers.add(e), e(
|
|
423
|
-
const s =
|
|
424
|
-
s && (s.subscribers.delete(e), s.subscribers.size === 0 && (s.resizeObserver?.disconnect(), s.observedGroups.clear(),
|
|
421
|
+
const t = $(i);
|
|
422
|
+
return t.subscribers.add(e), e(F(t.observedSizes)), () => {
|
|
423
|
+
const s = f.get(i);
|
|
424
|
+
s && (s.subscribers.delete(e), s.subscribers.size === 0 && (s.resizeObserver?.disconnect(), s.observedGroups.clear(), f.delete(i)));
|
|
425
425
|
};
|
|
426
426
|
};
|
|
427
427
|
class le extends P {
|
|
@@ -435,10 +435,10 @@ class le extends P {
|
|
|
435
435
|
* @param component The host component that owns the slot group elements.
|
|
436
436
|
*/
|
|
437
437
|
constructor(e) {
|
|
438
|
-
super(e), this.exports =
|
|
438
|
+
super(e), this.exports = m();
|
|
439
439
|
}
|
|
440
440
|
hostDisconnected() {
|
|
441
|
-
this.#i?.(), this.#i = void 0, this.#t = void 0, this.#e = void 0, this.exports =
|
|
441
|
+
this.#i?.(), this.#i = void 0, this.#t = void 0, this.#e = void 0, this.exports = m();
|
|
442
442
|
}
|
|
443
443
|
hostLifecycle() {
|
|
444
444
|
return [
|
|
@@ -447,7 +447,7 @@ class le extends P {
|
|
|
447
447
|
(t) => {
|
|
448
448
|
if (this.#t !== t) {
|
|
449
449
|
if (this.#i?.(), this.#i = void 0, this.#t = t, this.#e = t?.slotGroupRefs, !t) {
|
|
450
|
-
this.exports =
|
|
450
|
+
this.exports = m();
|
|
451
451
|
return;
|
|
452
452
|
}
|
|
453
453
|
this.#i = ae(t, (s) => {
|
|
@@ -475,38 +475,38 @@ class le extends P {
|
|
|
475
475
|
}
|
|
476
476
|
// Compares the newly measured sizes against the currently exported values.
|
|
477
477
|
#n(e) {
|
|
478
|
-
const t = this.exports ??
|
|
478
|
+
const t = this.exports ?? m();
|
|
479
479
|
return I.every((s) => {
|
|
480
480
|
const n = t[s], r = e[s];
|
|
481
481
|
return n.width === r.width && n.height === r.height;
|
|
482
482
|
});
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
const oe = E(le), de =
|
|
485
|
+
const oe = E(le), de = R(l);
|
|
486
486
|
class ce extends G {
|
|
487
487
|
constructor() {
|
|
488
|
-
super(...arguments), this._messages =
|
|
489
|
-
this.#e.captureArrowKeysForNavigation(e, this
|
|
490
|
-
}, this.#
|
|
491
|
-
this.#
|
|
488
|
+
super(...arguments), this._messages = T(), this._direction = B(), this.#e = de(this), this.#i = (e) => {
|
|
489
|
+
this.#e.captureArrowKeysForNavigation(e, this._direction);
|
|
490
|
+
}, this.#s = te(this), this.#r = null, this.#l = (e) => {
|
|
491
|
+
this.#s.closePopup(), this.arcgisSlideApplyStart.emit({ slide: e });
|
|
492
|
+
}, this.#o = (e) => {
|
|
493
|
+
this.#s.openPopup(e), this.sliceAnalysisInteractive && this.#e.setSliceAnalysisInteractive(!0), this.arcgisSlideApplyComplete.emit({ slide: e });
|
|
492
494
|
}, this.#d = (e) => {
|
|
493
|
-
this.#n.openPopup(e), this.sliceAnalysisInteractive && this.#e.setSliceAnalysisInteractive(!0), this.arcgisSlideApplyComplete.emit({ slide: e });
|
|
494
|
-
}, this.#c = (e) => {
|
|
495
495
|
this.sliceAnalysisInteractive && this.#e.setSliceAnalysisInteractive(!0), this.arcgisSlideApplyCancel.emit({ slide: e });
|
|
496
|
-
}, this.#
|
|
496
|
+
}, this.#c = (e) => {
|
|
497
497
|
const t = e.detail?.selectedSlide;
|
|
498
498
|
if (!t)
|
|
499
499
|
return;
|
|
500
|
-
this.#
|
|
501
|
-
const s = Date.now(), n = this.#
|
|
502
|
-
if (this.#
|
|
500
|
+
this.#n?.abort(), this.#n = new AbortController();
|
|
501
|
+
const s = Date.now(), n = this.#r !== null && s - this.#r < C;
|
|
502
|
+
if (this.#r = s, this.#e.applySlide(t, n, this.#n), n) {
|
|
503
503
|
this._showSlideList = !1;
|
|
504
504
|
return;
|
|
505
505
|
}
|
|
506
506
|
setTimeout(() => {
|
|
507
|
-
this.#
|
|
507
|
+
this.#n?.signal.aborted || (this._showSlideList = !1, this.#e.applySlide(t, !1, this.#n));
|
|
508
508
|
}, C);
|
|
509
|
-
}, this.#
|
|
509
|
+
}, this.#a = () => {
|
|
510
510
|
this._showSlideList = !1;
|
|
511
511
|
}, 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 = !1, this.sliceAnalysisInteractive = !1, this.navigationHidden = !1, this.arcgisPopupFeatureNotFound = v(), this.arcgisPopupFeaturesRetrieved = v(), this.arcgisReady = v(), this.arcgisSlideApplyCancel = v(), this.arcgisSlideApplyComplete = v(), this.arcgisSlideApplyStart = v();
|
|
512
512
|
}
|
|
@@ -522,14 +522,13 @@ class ce extends G {
|
|
|
522
522
|
#s;
|
|
523
523
|
#n;
|
|
524
524
|
#r;
|
|
525
|
-
#
|
|
525
|
+
#l;
|
|
526
526
|
#o;
|
|
527
527
|
#d;
|
|
528
528
|
#c;
|
|
529
|
-
#
|
|
530
|
-
#l;
|
|
531
|
-
#u;
|
|
529
|
+
#a;
|
|
532
530
|
#p;
|
|
531
|
+
#h;
|
|
533
532
|
get slideId() {
|
|
534
533
|
return this.#e.slideId;
|
|
535
534
|
}
|
|
@@ -540,69 +539,69 @@ class ce extends G {
|
|
|
540
539
|
await this.manager.destroy();
|
|
541
540
|
}
|
|
542
541
|
loaded() {
|
|
543
|
-
this.#e.onApplySlideStart = this.#
|
|
542
|
+
this.#e.onApplySlideStart = this.#l, this.#e.onApplySlideComplete = this.#o, this.#e.onApplySlideCancel = this.#d, this.#S();
|
|
544
543
|
const e = this;
|
|
545
544
|
this.manager.onLifecycle(() => [
|
|
546
545
|
u(() => this.slidePopupDisabled, (t) => {
|
|
547
546
|
if (this.slideId && !t) {
|
|
548
547
|
const s = this.#e.getSlideBySlideId(this.slideId);
|
|
549
|
-
s && this.#
|
|
550
|
-
} else t && this.#
|
|
548
|
+
s && this.#s?.openPopup(s);
|
|
549
|
+
} else t && this.#s?.closePopup(!0);
|
|
551
550
|
}),
|
|
552
551
|
u(() => this.sliceAnalysisInteractive, (t) => {
|
|
553
552
|
this.#e.setSliceAnalysisInteractive(t);
|
|
554
553
|
}, { initial: !0 }),
|
|
555
554
|
u(() => e.referenceElement, (t) => {
|
|
556
|
-
this.#
|
|
555
|
+
this.#u(t) && (this._slotSizesController = oe(this), this.#h = this.#g());
|
|
557
556
|
}, { once: !0, initial: !0 }),
|
|
558
557
|
{
|
|
559
558
|
remove: () => {
|
|
560
|
-
document.removeEventListener("keydown", this.#
|
|
559
|
+
document.removeEventListener("keydown", this.#i), this.#p?.removeEventListener("arcgisSlideListClose", this.#a), this.#t?.remove(), this.#h?.remove(), this.#n?.abort();
|
|
561
560
|
}
|
|
562
561
|
}
|
|
563
562
|
]);
|
|
564
563
|
}
|
|
565
|
-
#
|
|
564
|
+
#u(e) {
|
|
566
565
|
return e === void 0 || typeof e == "string" ? !1 : "tagName" in e && e.tagName === "ARCGIS-SCENE";
|
|
567
566
|
}
|
|
568
|
-
#
|
|
569
|
-
return u(() => this._slotSizesController, (e) => this.#
|
|
567
|
+
#g() {
|
|
568
|
+
return u(() => this._slotSizesController, (e) => this.#v(e?.topLeft, e?.topRight, e?.bottomLeft, e?.bottomRight), { initial: !0 });
|
|
570
569
|
}
|
|
571
|
-
#
|
|
572
|
-
const r = this
|
|
570
|
+
#v(e, t, s, n) {
|
|
571
|
+
const r = this._direction === "ltr" ? e?.width ?? 0 : t?.width ?? 0, a = this._direction === "ltr" ? t?.width ?? 0 : e?.width ?? 0, c = Math.max(e?.height ?? 0, t?.height ?? 0), h = Math.max(s?.height ?? 0, n?.height ?? 0);
|
|
573
572
|
r > 0 ? this.el.style.setProperty("--arcgis-internal-presentation-padding-start", `calc(var(--calcite-space-lg) + ${r.toString()}px)`) : this.el.style.setProperty("--arcgis-internal-presentation-padding-start", "0px"), a > 0 ? this.el.style.setProperty("--arcgis-internal-presentation-padding-end", `calc(var(--calcite-space-lg) + ${a.toString()}px)`) : this.el.style.setProperty("--arcgis-internal-presentation-padding-end", "0px");
|
|
574
573
|
const p = r <= Math.max(c, h) && a <= Math.max(c, h);
|
|
575
574
|
this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-top", p ? "0" : `${c}px`), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-bottom", p ? "0" : `${h}px`), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-start", p ? `${r}px` : "0"), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-end", p ? `${a}px` : "0");
|
|
576
575
|
}
|
|
577
|
-
#
|
|
578
|
-
this.#
|
|
579
|
-
document.removeEventListener("keydown", this.#
|
|
576
|
+
#S() {
|
|
577
|
+
this.#t = u(() => this.keyboardNavigationEnabled, (e) => {
|
|
578
|
+
document.removeEventListener("keydown", this.#i), e && document.addEventListener("keydown", this.#i);
|
|
580
579
|
}, { initial: !0 });
|
|
581
580
|
}
|
|
582
581
|
render() {
|
|
583
582
|
if (this.#e?.visibleSlides?.length === 0)
|
|
584
583
|
return g`<div></div>`;
|
|
585
|
-
const e = this.#e.visibleSlides.find((r) => r.id === this.slideId), t = this.#
|
|
584
|
+
const e = this.#e.visibleSlides.find((r) => r.id === this.slideId), t = this.#m(), s = this.#b(e), n = this.#y();
|
|
586
585
|
return g`<div class="root"><div class="presentation-content">${s}${n}</div>${t}</div>`;
|
|
587
586
|
}
|
|
588
|
-
#
|
|
587
|
+
#m() {
|
|
589
588
|
if (this.navigationHidden)
|
|
590
589
|
return null;
|
|
591
|
-
const e = this.#e.lastSlideSelected && !this.#e.hasOnlyOneSlide, t = this.#
|
|
592
|
-
return g`<div class="navigation-container"><div class="navigation-slide-list-container">${
|
|
590
|
+
const e = this.#e.lastSlideSelected && !this.#e.hasOnlyOneSlide, t = this.#w();
|
|
591
|
+
return g`<div class="navigation-container"><div class="navigation-slide-list-container">${t}</div><div class="navigation"><div class="slide-list-action-container"><calcite-action id=${J} class="slide-list-action" .text=${this._messages.slideList ?? ""} selection-appearance=highlight icon=list .scale=${this.visualScale === "l" ? "m" : "s"} .label=${this._messages.slideList} title=${this._messages.slideList ?? y} .active=${this._showSlideList} @click=${() => this._showSlideList = !this._showSlideList}></calcite-action></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 ?? y} @click=${() => this.#e.navigateInPresentation(-1)}></calcite-button><div class="slide-counter-text">${this.#f()}</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) ?? y} @click=${() => this.#e.navigateInPresentation(1)}></calcite-button></div></div>`;
|
|
593
592
|
}
|
|
594
|
-
#
|
|
593
|
+
#f() {
|
|
595
594
|
const e = this.#e.slideIndex + 1, t = this._messages?.slideNavAriaText?.replace("${index}", e.toString()).replace("${numberOfSlides}", this.#e.visibleSlides.length.toString());
|
|
596
|
-
return this.#e.slideSelected ? g`<p role=banner aria-label=${t ??
|
|
595
|
+
return this.#e.slideSelected ? g`<p role=banner aria-label=${t ?? y} 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>` : g`<p role=banner data-testId=arcgis-map-presentation-numberOfSlides>${this.#e.visibleSlides?.length} ${this._messages?.slides}</p>`;
|
|
597
596
|
}
|
|
598
|
-
#
|
|
597
|
+
#b(e) {
|
|
599
598
|
return this.slideCaptionsDisabled ? null : g`<arcgis-presentation-captions .slide=${e} .transitionActive=${this.#e.transitionActive}></arcgis-presentation-captions>`;
|
|
600
599
|
}
|
|
601
|
-
#
|
|
600
|
+
#y() {
|
|
602
601
|
return this.slideLegendDisabled || !this.#e.showLegend ? null : g`<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>`;
|
|
603
602
|
}
|
|
604
|
-
#
|
|
605
|
-
return this._showSlideList ? g`<arcgis-presentation-slide-list .slides=${this.#e.visibleSlides} .slideId=${this.#e.slideId} .label=${this._messages.slideList} .visualScale=${this.visualScale} @arcgisSlideListItemSelected=${this.#
|
|
603
|
+
#w() {
|
|
604
|
+
return this._showSlideList ? g`<arcgis-presentation-slide-list .slides=${this.#e.visibleSlides} .slideId=${this.#e.slideId} .label=${this._messages.slideList} .visualScale=${this.visualScale} @arcgisSlideListItemSelected=${this.#c} @arcgisSlideListOutsideClick=${this.#a}></arcgis-presentation-slide-list>` : null;
|
|
606
605
|
}
|
|
607
606
|
}
|
|
608
607
|
O("arcgis-presentation", ce);
|
|
@@ -119,6 +119,16 @@ export abstract class ArcgisPrint extends LitElement {
|
|
|
119
119
|
* prevent memory leaks.
|
|
120
120
|
*
|
|
121
121
|
* @default false
|
|
122
|
+
* @example
|
|
123
|
+
*
|
|
124
|
+
* ```html
|
|
125
|
+
* <arcgis-print auto-destroy-disabled></arcgis-print>
|
|
126
|
+
* ```
|
|
127
|
+
*
|
|
128
|
+
* ```js
|
|
129
|
+
* printElement.autoDestroyDisabled = true;
|
|
130
|
+
* ```
|
|
131
|
+
*
|
|
122
132
|
*/
|
|
123
133
|
accessor autoDestroyDisabled: boolean;
|
|
124
134
|
/**
|
|
@@ -29,6 +29,16 @@ export abstract class ArcgisScaleBar extends LitElement {
|
|
|
29
29
|
* prevent memory leaks.
|
|
30
30
|
*
|
|
31
31
|
* @default false
|
|
32
|
+
* @example
|
|
33
|
+
*
|
|
34
|
+
* ```html
|
|
35
|
+
* <arcgis-scale-bar auto-destroy-disabled></arcgis-scale-bar>
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ```js
|
|
39
|
+
* scaleBarElement.autoDestroyDisabled = true;
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
32
42
|
*/
|
|
33
43
|
accessor autoDestroyDisabled: boolean;
|
|
34
44
|
/**
|
|
@@ -27,6 +27,16 @@ export abstract class ArcgisScaleRangeSlider extends LitElement {
|
|
|
27
27
|
* prevent memory leaks.
|
|
28
28
|
*
|
|
29
29
|
* @default false
|
|
30
|
+
* @example
|
|
31
|
+
*
|
|
32
|
+
* ```html
|
|
33
|
+
* <arcgis-scale-range-slider auto-destroy-disabled></arcgis-scale-range-slider>
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ```js
|
|
37
|
+
* scaleRangeSliderElement.autoDestroyDisabled = true;
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
30
40
|
*/
|
|
31
41
|
accessor autoDestroyDisabled: boolean;
|
|
32
42
|
/**
|
|
@@ -199,6 +199,16 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
199
199
|
* prevent memory leaks.
|
|
200
200
|
*
|
|
201
201
|
* @default false
|
|
202
|
+
* @example
|
|
203
|
+
*
|
|
204
|
+
* ```html
|
|
205
|
+
* <arcgis-scene auto-destroy-disabled></arcgis-scene>
|
|
206
|
+
* ```
|
|
207
|
+
*
|
|
208
|
+
* ```js
|
|
209
|
+
* sceneElement.autoDestroyDisabled = true;
|
|
210
|
+
* ```
|
|
211
|
+
*
|
|
202
212
|
*/
|
|
203
213
|
accessor autoDestroyDisabled: boolean;
|
|
204
214
|
/**
|
|
@@ -87,6 +87,16 @@ export abstract class ArcgisSearch extends LitElement {
|
|
|
87
87
|
* prevent memory leaks.
|
|
88
88
|
*
|
|
89
89
|
* @default false
|
|
90
|
+
* @example
|
|
91
|
+
*
|
|
92
|
+
* ```html
|
|
93
|
+
* <arcgis-search auto-destroy-disabled></arcgis-search>
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
96
|
+
* ```js
|
|
97
|
+
* searchElement.autoDestroyDisabled = true;
|
|
98
|
+
* ```
|
|
99
|
+
*
|
|
90
100
|
*/
|
|
91
101
|
accessor autoDestroyDisabled: boolean;
|
|
92
102
|
/**
|
|
@@ -17,6 +17,16 @@ export abstract class ArcgisSearchResultRenderer extends LitElement {
|
|
|
17
17
|
* prevent memory leaks.
|
|
18
18
|
*
|
|
19
19
|
* @default false
|
|
20
|
+
* @example
|
|
21
|
+
*
|
|
22
|
+
* ```html
|
|
23
|
+
* <arcgis-search-result-renderer auto-destroy-disabled></arcgis-search-result-renderer>
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ```js
|
|
27
|
+
* searchResultRendererElement.autoDestroyDisabled = true;
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
20
30
|
*/
|
|
21
31
|
accessor autoDestroyDisabled: boolean;
|
|
22
32
|
accessor messages: ArcgisSearch["messages"] | undefined;
|
|
@@ -30,6 +30,16 @@ export abstract class ArcgisSelectionToolbar extends LitElement {
|
|
|
30
30
|
* prevent memory leaks.
|
|
31
31
|
*
|
|
32
32
|
* @default false
|
|
33
|
+
* @example
|
|
34
|
+
*
|
|
35
|
+
* ```html
|
|
36
|
+
* <arcgis-selection-toolbar auto-destroy-disabled></arcgis-selection-toolbar>
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ```js
|
|
40
|
+
* selectionToolbarElement.autoDestroyDisabled = true;
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
33
43
|
*/
|
|
34
44
|
accessor autoDestroyDisabled: boolean;
|
|
35
45
|
/**
|
|
@@ -130,6 +130,16 @@ export abstract class ArcgisShadowCast extends LitElement {
|
|
|
130
130
|
* prevent memory leaks.
|
|
131
131
|
*
|
|
132
132
|
* @default false
|
|
133
|
+
* @example
|
|
134
|
+
*
|
|
135
|
+
* ```html
|
|
136
|
+
* <arcgis-shadow-cast auto-destroy-disabled></arcgis-shadow-cast>
|
|
137
|
+
* ```
|
|
138
|
+
*
|
|
139
|
+
* ```js
|
|
140
|
+
* shadowCastElement.autoDestroyDisabled = true;
|
|
141
|
+
* ```
|
|
142
|
+
*
|
|
133
143
|
*/
|
|
134
144
|
accessor autoDestroyDisabled: boolean;
|
|
135
145
|
/**
|
|
@@ -50,6 +50,16 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
50
50
|
* prevent memory leaks.
|
|
51
51
|
*
|
|
52
52
|
* @default false
|
|
53
|
+
* @example
|
|
54
|
+
*
|
|
55
|
+
* ```html
|
|
56
|
+
* <arcgis-sketch auto-destroy-disabled></arcgis-sketch>
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* ```js
|
|
60
|
+
* sketchElement.autoDestroyDisabled = true;
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
53
63
|
*/
|
|
54
64
|
accessor autoDestroyDisabled: boolean;
|
|
55
65
|
/**
|
|
@@ -153,6 +153,16 @@ export abstract class ArcgisSlice extends LitElement {
|
|
|
153
153
|
* prevent memory leaks.
|
|
154
154
|
*
|
|
155
155
|
* @default false
|
|
156
|
+
* @example
|
|
157
|
+
*
|
|
158
|
+
* ```html
|
|
159
|
+
* <arcgis-slice auto-destroy-disabled></arcgis-slice>
|
|
160
|
+
* ```
|
|
161
|
+
*
|
|
162
|
+
* ```js
|
|
163
|
+
* sliceElement.autoDestroyDisabled = true;
|
|
164
|
+
* ```
|
|
165
|
+
*
|
|
156
166
|
*/
|
|
157
167
|
accessor autoDestroyDisabled: boolean;
|
|
158
168
|
/**
|
|
@@ -86,6 +86,16 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
|
|
|
86
86
|
* prevent memory leaks.
|
|
87
87
|
*
|
|
88
88
|
* @default false
|
|
89
|
+
* @example
|
|
90
|
+
*
|
|
91
|
+
* ```html
|
|
92
|
+
* <arcgis-slider-binary-color-size-legacy auto-destroy-disabled></arcgis-slider-binary-color-size-legacy>
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* ```js
|
|
96
|
+
* sliderBinaryColorSizeLegacyElement.autoDestroyDisabled = true;
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
89
99
|
*/
|
|
90
100
|
accessor autoDestroyDisabled: boolean;
|
|
91
101
|
/**
|
|
@@ -98,6 +98,16 @@ export abstract class ArcgisSliderClassedColorLegacy extends LitElement {
|
|
|
98
98
|
* prevent memory leaks.
|
|
99
99
|
*
|
|
100
100
|
* @default false
|
|
101
|
+
* @example
|
|
102
|
+
*
|
|
103
|
+
* ```html
|
|
104
|
+
* <arcgis-slider-classed-color-legacy auto-destroy-disabled></arcgis-slider-classed-color-legacy>
|
|
105
|
+
* ```
|
|
106
|
+
*
|
|
107
|
+
* ```js
|
|
108
|
+
* sliderClassedColorLegacyElement.autoDestroyDisabled = true;
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
101
111
|
*/
|
|
102
112
|
accessor autoDestroyDisabled: boolean;
|
|
103
113
|
/**
|
|
@@ -92,6 +92,16 @@ export abstract class ArcgisSliderClassedSizeLegacy extends LitElement {
|
|
|
92
92
|
* prevent memory leaks.
|
|
93
93
|
*
|
|
94
94
|
* @default false
|
|
95
|
+
* @example
|
|
96
|
+
*
|
|
97
|
+
* ```html
|
|
98
|
+
* <arcgis-slider-classed-size-legacy auto-destroy-disabled></arcgis-slider-classed-size-legacy>
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
101
|
+
* ```js
|
|
102
|
+
* sliderClassedSizeLegacyElement.autoDestroyDisabled = true;
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
95
105
|
*/
|
|
96
106
|
accessor autoDestroyDisabled: boolean;
|
|
97
107
|
/**
|
|
@@ -96,6 +96,16 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
|
|
|
96
96
|
* prevent memory leaks.
|
|
97
97
|
*
|
|
98
98
|
* @default false
|
|
99
|
+
* @example
|
|
100
|
+
*
|
|
101
|
+
* ```html
|
|
102
|
+
* <arcgis-slider-color-legacy auto-destroy-disabled></arcgis-slider-color-legacy>
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* ```js
|
|
106
|
+
* sliderColorLegacyElement.autoDestroyDisabled = true;
|
|
107
|
+
* ```
|
|
108
|
+
*
|
|
99
109
|
*/
|
|
100
110
|
accessor autoDestroyDisabled: boolean;
|
|
101
111
|
/**
|
|
@@ -103,6 +103,16 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
|
|
|
103
103
|
* prevent memory leaks.
|
|
104
104
|
*
|
|
105
105
|
* @default false
|
|
106
|
+
* @example
|
|
107
|
+
*
|
|
108
|
+
* ```html
|
|
109
|
+
* <arcgis-slider-color-size-legacy auto-destroy-disabled></arcgis-slider-color-size-legacy>
|
|
110
|
+
* ```
|
|
111
|
+
*
|
|
112
|
+
* ```js
|
|
113
|
+
* sliderColorSizeLegacyElement.autoDestroyDisabled = true;
|
|
114
|
+
* ```
|
|
115
|
+
*
|
|
106
116
|
*/
|
|
107
117
|
accessor autoDestroyDisabled: boolean;
|
|
108
118
|
/**
|
|
@@ -74,6 +74,16 @@ export abstract class ArcgisSliderHeatmapLegacy extends LitElement {
|
|
|
74
74
|
* prevent memory leaks.
|
|
75
75
|
*
|
|
76
76
|
* @default false
|
|
77
|
+
* @example
|
|
78
|
+
*
|
|
79
|
+
* ```html
|
|
80
|
+
* <arcgis-slider-heatmap-legacy auto-destroy-disabled></arcgis-slider-heatmap-legacy>
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* ```js
|
|
84
|
+
* sliderHeatmapLegacyElement.autoDestroyDisabled = true;
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
77
87
|
*/
|
|
78
88
|
accessor autoDestroyDisabled: boolean;
|
|
79
89
|
/**
|
|
@@ -101,6 +101,16 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
101
101
|
* prevent memory leaks.
|
|
102
102
|
*
|
|
103
103
|
* @default false
|
|
104
|
+
* @example
|
|
105
|
+
*
|
|
106
|
+
* ```html
|
|
107
|
+
* <arcgis-slider-opacity-legacy auto-destroy-disabled></arcgis-slider-opacity-legacy>
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
* ```js
|
|
111
|
+
* sliderOpacityLegacyElement.autoDestroyDisabled = true;
|
|
112
|
+
* ```
|
|
113
|
+
*
|
|
104
114
|
*/
|
|
105
115
|
accessor autoDestroyDisabled: boolean;
|
|
106
116
|
/**
|
|
@@ -24,6 +24,16 @@ export abstract class ArcgisSliderScaleRange extends LitElement {
|
|
|
24
24
|
* prevent memory leaks.
|
|
25
25
|
*
|
|
26
26
|
* @default false
|
|
27
|
+
* @example
|
|
28
|
+
*
|
|
29
|
+
* ```html
|
|
30
|
+
* <arcgis-slider-scale-range auto-destroy-disabled></arcgis-slider-scale-range>
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ```js
|
|
34
|
+
* sliderScaleRangeElement.autoDestroyDisabled = true;
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
27
37
|
*/
|
|
28
38
|
accessor autoDestroyDisabled: boolean;
|
|
29
39
|
/**
|
|
@@ -98,6 +98,16 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
98
98
|
* prevent memory leaks.
|
|
99
99
|
*
|
|
100
100
|
* @default false
|
|
101
|
+
* @example
|
|
102
|
+
*
|
|
103
|
+
* ```html
|
|
104
|
+
* <arcgis-slider-size-legacy auto-destroy-disabled></arcgis-slider-size-legacy>
|
|
105
|
+
* ```
|
|
106
|
+
*
|
|
107
|
+
* ```js
|
|
108
|
+
* sliderSizeLegacyElement.autoDestroyDisabled = true;
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
101
111
|
*/
|
|
102
112
|
accessor autoDestroyDisabled: boolean;
|
|
103
113
|
/**
|