@arcgis/map-components 5.2.0-next.1 → 5.2.0-next.2
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/24UHFJSD.js +2 -0
- package/dist/cdn/2MJTTQRU.js +2 -0
- package/dist/cdn/{BDDXZ4ML.js → A7P3DUN2.js} +1 -1
- package/dist/cdn/AEV7DYPK.js +2 -0
- package/dist/cdn/{CZ3FVANK.js → AOC4VUP6.js} +1 -1
- package/dist/cdn/{IAPVYBIO.js → JBRTOHPW.js} +1 -1
- package/dist/cdn/JBWWGDI5.js +2 -0
- package/dist/cdn/L5DJYP26.js +2 -0
- package/dist/cdn/P2YOSZ4V.js +2 -0
- package/dist/cdn/PYZZBY6S.js +2 -0
- package/dist/cdn/RL5PFJGE.js +2 -0
- package/dist/cdn/S37FED24.js +2 -0
- package/dist/cdn/THRRGHTM.js +2 -0
- package/dist/cdn/ZF7CLHYV.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +60 -111
- package/dist/components/arcgis-daylight/customElement.d.ts +1 -0
- package/dist/components/arcgis-daylight/customElement.js +98 -112
- package/dist/components/arcgis-feature-table/customElement.d.ts +8 -0
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-features-next/customElement.d.ts +2 -0
- package/dist/components/arcgis-features-next/customElement.js +69 -63
- package/dist/components/arcgis-features-next/index.js +1 -0
- package/dist/components/arcgis-link-chart/customElement.d.ts +10 -3
- package/dist/components/arcgis-link-chart/customElement.js +11 -11
- package/dist/components/arcgis-map/customElement.d.ts +10 -3
- package/dist/components/arcgis-map/customElement.js +9 -9
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +3 -3
- package/dist/components/arcgis-popup/customElement.d.ts +2 -0
- package/dist/components/arcgis-popup/customElement.js +9 -9
- package/dist/components/arcgis-scene/customElement.d.ts +10 -3
- package/dist/components/arcgis-scene/customElement.js +24 -24
- package/dist/components/arcgis-search/customElement.js +6 -6
- package/dist/components/arcgis-video/customElement.d.ts +15 -2
- package/dist/components/arcgis-video/customElement.js +5 -5
- package/dist/components/arcgis-video-player/customElement.d.ts +7 -0
- package/dist/components/arcgis-video-player/customElement.js +14 -11
- package/dist/components/arcgis-video-player-controls-group/customElement.js +19 -17
- package/dist/components/arcgis-video-player-settings/customElement.js +20 -18
- package/dist/components/arcgis-video-player-settings/index.js +1 -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 +8 -8
- package/dist/types/lumina.d.ts +4 -4
- package/dist/types/preact.d.ts +4 -4
- package/dist/types/react.d.ts +4 -4
- package/dist/types/stencil.d.ts +4 -4
- package/package.json +4 -4
- package/dist/cdn/4XR7RDUC.js +0 -2
- package/dist/cdn/6NEHIRSM.js +0 -2
- package/dist/cdn/7LPXFLXF.js +0 -2
- package/dist/cdn/CPQQEWKH.js +0 -2
- package/dist/cdn/CWWTUOR7.js +0 -2
- package/dist/cdn/J6G5UUNA.js +0 -2
- package/dist/cdn/NEXYYXWU.js +0 -2
- package/dist/cdn/QZPKGHKG.js +0 -2
- package/dist/cdn/TFLKRVDZ.js +0 -2
- package/dist/cdn/X4COPBRD.js +0 -2
- package/dist/cdn/ZCULSTYU.js +0 -2
|
@@ -5,19 +5,19 @@ import { watch as t } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
5
5
|
import f from "@arcgis/core/widgets/VideoPlayer/VideoPlayerViewModel.js";
|
|
6
6
|
import { LitElement as g, createEvent as l, safeClassMap as m } from "@arcgis/lumina";
|
|
7
7
|
import { usePropertyChange as v } from "@arcgis/lumina/controllers";
|
|
8
|
-
import { classes as
|
|
9
|
-
import { createRef as
|
|
10
|
-
import { u as
|
|
11
|
-
import { m as
|
|
12
|
-
import { g as
|
|
8
|
+
import { classes as p } from "@arcgis/toolkit/dom";
|
|
9
|
+
import { createRef as _, ref as y } from "lit/directives/ref.js";
|
|
10
|
+
import { u as w } from "../../chunks/useT9n.js";
|
|
11
|
+
import { m as V } from "../../chunks/useViewModel.js";
|
|
12
|
+
import { g as $ } from "../../chunks/globalCss.js";
|
|
13
13
|
import { n as r } from "../../chunks/video-utils.js";
|
|
14
|
-
const M = u`:host{--arcgis-internal-video-player-controls-spacing: 16px;width:531px;height:100%}:host([inline]){width:auto;height:auto}.root,.content{height:100%}.inline{display:flex;gap:var(--calcite-spacing-xs);background-color:var(--calcite-color-foreground-1);padding:var(--calcite-spacing-xxs)}.footer{flex:1}arcgis-video{display:flex;flex:1 1 auto;aspect-ratio:16 / 9;min-height:0}`, b =
|
|
14
|
+
const M = u`:host{--arcgis-internal-video-player-controls-spacing: 16px;width:531px;height:100%}:host([inline]){width:auto;height:auto}.root,.content{height:100%}.inline{display:flex;gap:var(--calcite-spacing-xs);background-color:var(--calcite-color-foreground-1);padding:var(--calcite-spacing-xxs)}.footer{flex:1}arcgis-video{display:flex;flex:1 1 auto;aspect-ratio:16 / 9;min-height:0}`, b = V(f);
|
|
15
15
|
class T extends g {
|
|
16
16
|
constructor() {
|
|
17
|
-
super(...arguments), this.messages =
|
|
17
|
+
super(...arguments), this.messages = w({ blocking: !0 }), this.viewModel = b(this), this._videoViewRef = _(), this._metadataVisible = !1, this._duration = 0, this._currentTime = 0, this._bufferedValue = 0, this._currentValue = 0, this._isBuffering = !1, this._videoViewReady = !1, this._loopPlayback = !1, this.icon = "video-web", this.state = this.viewModel.state, this.layer = this.viewModel.layer, this.autoDestroyDisabled = !1, this.inline = !1, this.showFullscreenToggle = !1, this.operationalDataVisible = !1, this.hideHeader = !1, this.view = this.viewModel.view, this.arcgisPropertyChange = v()("state", "layer"), this.arcgisReady = l(), this.arcgisVideoReady = l();
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
|
-
this.properties = { _metadataVisible: 16, _duration: 16, _currentTime: 16, _bufferedValue: 16, _currentValue: 16, _isBuffering: 16, _videoViewReady: 16, _layerTitle: 16, _isLive: 16, referenceElement: 1, icon: 1, state: 32, followingMode: 1, layer: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 3, inline: 7, showFullscreenToggle: 5, hideHeader: 5, view: 0 };
|
|
20
|
+
this.properties = { _metadataVisible: 16, _duration: 16, _currentTime: 16, _bufferedValue: 16, _currentValue: 16, _isBuffering: 16, _videoViewReady: 16, _layerTitle: 16, _isLive: 16, _loopPlayback: 16, referenceElement: 1, icon: 1, state: 32, followingMode: 1, layer: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 3, inline: 7, showFullscreenToggle: 5, operationalDataVisible: 5, hideHeader: 5, view: 0 };
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
23
|
this.styles = M;
|
|
@@ -43,11 +43,14 @@ class T extends g {
|
|
|
43
43
|
t(() => this.layer?.isLive, (i) => {
|
|
44
44
|
this._isLive = i ?? void 0;
|
|
45
45
|
}, { initial: !0 }),
|
|
46
|
+
t(() => this.layer?.playbackRate, (i) => {
|
|
47
|
+
typeof i == "number" && this.viewModel.changePlaybackSpeed(i);
|
|
48
|
+
}, { initial: !0 }),
|
|
46
49
|
t(() => this.viewModel.view?.map, () => this.requestUpdate())
|
|
47
50
|
]);
|
|
48
51
|
}
|
|
49
52
|
render() {
|
|
50
|
-
return e`<div class=${m(
|
|
53
|
+
return e`<div class=${m(p(this.inline ? "inline" : "root", $.widget))}><calcite-panel .heading=${this.hideHeader || this.inline ? void 0 : this._layerTitle ?? this.messages.videoPlayer}>${this.inline || this.hideHeader || !this.showFullscreenToggle ? null : e`<calcite-action slot=header-actions-end icon=full-screen-exit text=minimize @click=${() => this.inline = !this.inline}></calcite-action>`}${this.inline ? e`<div class="inline">${this._renderActionBar()}${this._renderSlider()}${this.showFullscreenToggle ? e`<calcite-action icon=full-screen text=maximize @click=${() => this.inline = !this.inline}></calcite-action>` : null}</div>` : e`<div class="content">${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}</div>`}${this.inline ? null : e`<div slot=footer class="footer">${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</div>`}</calcite-panel></div>`;
|
|
51
54
|
}
|
|
52
55
|
_renderLoadingScrim() {
|
|
53
56
|
return this._videoViewReady ? null : e`<calcite-scrim .loading=${this.state !== "error"}>${this.state === "error" ? this.messages.errorLoadingLayer : null}</calcite-scrim>`;
|
|
@@ -56,9 +59,9 @@ class T extends g {
|
|
|
56
59
|
return this._isBuffering ? e`<calcite-progress type=indeterminate></calcite-progress>` : null;
|
|
57
60
|
}
|
|
58
61
|
_renderVideoSection() {
|
|
59
|
-
return e`<arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} @arcgisViewReadyChange=${() => {
|
|
62
|
+
return e`<arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} .operationalDataVisible=${this.operationalDataVisible} @arcgisViewReadyChange=${() => {
|
|
60
63
|
this._videoViewReady = !0, this.arcgisVideoReady.emit();
|
|
61
|
-
}} ${
|
|
64
|
+
}} ${y(this._videoViewRef)}></arcgis-video>`;
|
|
62
65
|
}
|
|
63
66
|
_renderSlider() {
|
|
64
67
|
return this._isLive ? null : e`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue * 100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as b } from "../../chunks/runtime.js";
|
|
3
3
|
import { html as i } from "lit";
|
|
4
|
-
import { watch as
|
|
5
|
-
import { LitElement as
|
|
6
|
-
function u(
|
|
7
|
-
return
|
|
4
|
+
import { watch as w } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
+
import { LitElement as h } from "@arcgis/lumina";
|
|
6
|
+
function u(a) {
|
|
7
|
+
return a.followingMode === "none" ? "circle-disallowed" : a.followingMode === "follow-sensor" ? "zoom-to-object" : a.followingMode === "follow-frame" ? "follow" : "video";
|
|
8
8
|
}
|
|
9
|
-
class
|
|
9
|
+
class v extends h {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments), this._disabled = !1;
|
|
12
12
|
}
|
|
@@ -15,25 +15,27 @@ class h extends w {
|
|
|
15
15
|
}
|
|
16
16
|
loaded() {
|
|
17
17
|
this.manager.onLifecycle(() => [
|
|
18
|
-
|
|
18
|
+
w(() => this.viewModel.state, (e) => {
|
|
19
19
|
this._disabled = e === "not-ready" || e === "waiting";
|
|
20
20
|
}, { initial: !0 })
|
|
21
21
|
]);
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
const { viewModel: e, messages: l, _disabled:
|
|
24
|
+
const { viewModel: e, messages: l, _disabled: o } = this, t = e.currentTime > 0, c = !!e.layer?.telemetry?.sensorLocation, n = !!e.layer?.telemetry?.sensorPath, r = !!e.layer?.telemetry?.sensorTrail, d = !!e.layer?.telemetry?.lineOfSight, m = !!e.layer?.telemetry?.frameCenter, s = !!e.layer?.telemetry?.frameOutline, g = !!e.layer?.groundControlPoints, $ = i`<div><calcite-popover auto-close .label=${l.layers} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=layers-action scale=s><calcite-panel .heading=${l.layers}><calcite-list .label=${l.layers} selection-mode=multiple><calcite-list-item .disabled=${t && !c} .label=${l.sensor} @click=${() => {
|
|
25
25
|
e.toggleSensorDisplay();
|
|
26
|
-
}} .selected=${!!e.layer?.telemetryDisplay?.sensorLocation}></calcite-list-item><calcite-list-item .disabled=${t && !
|
|
26
|
+
}} .selected=${!!e.layer?.telemetryDisplay?.sensorLocation}></calcite-list-item><calcite-list-item .disabled=${t && !d} .label=${l.sightLine} @click=${() => {
|
|
27
27
|
e.toggleSensorSightLineDisplay();
|
|
28
|
-
}} .selected=${!!e.layer?.telemetryDisplay?.lineOfSight}></calcite-list-item><calcite-list-item .disabled=${t && !n} .label=${l.
|
|
28
|
+
}} .selected=${!!e.layer?.telemetryDisplay?.lineOfSight}></calcite-list-item><calcite-list-item .disabled=${t && !n} .label=${l.sensorPath} @click=${() => {
|
|
29
|
+
e.toggleSensorPathDisplay();
|
|
30
|
+
}} .selected=${!!e.layer?.telemetryDisplay?.sensorPath}></calcite-list-item><calcite-list-item .disabled=${t && !r} .label=${l.sensorTrail} @click=${() => {
|
|
29
31
|
e.toggleSensorTrailDisplay();
|
|
30
|
-
}} .selected=${!!e.layer?.telemetryDisplay?.sensorTrail}></calcite-list-item><calcite-list-item .disabled=${t && !
|
|
32
|
+
}} .selected=${!!e.layer?.telemetryDisplay?.sensorTrail}></calcite-list-item><calcite-list-item .disabled=${t && !m} .label=${l.frameCenter} @click=${() => {
|
|
31
33
|
e.toggleFrameCenterDisplay();
|
|
32
34
|
}} .selected=${!!e.layer?.telemetryDisplay?.frameCenter}></calcite-list-item><calcite-list-item .disabled=${t && !s} .label=${l.frameOutline} @click=${() => {
|
|
33
35
|
e.toggleFrameOutlineDisplay();
|
|
34
|
-
}} .selected=${!!e.layer?.telemetryDisplay?.frameOutline}></calcite-list-item><calcite-list-item .disabled=${t && !
|
|
36
|
+
}} .selected=${!!e.layer?.telemetryDisplay?.frameOutline}></calcite-list-item><calcite-list-item .disabled=${t && !g} .label=${l.frame} @click=${() => {
|
|
35
37
|
e.toggleFrameDisplay();
|
|
36
|
-
}} .selected=${!!e.layer?.telemetryDisplay?.frame}></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${
|
|
38
|
+
}} .selected=${!!e.layer?.telemetryDisplay?.frame}></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${o} icon=layers id=layers-action scale=s slot=trigger .text=${l.layers}></calcite-action></div>`, y = i`<div><calcite-popover auto-close .label=${l.follow} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=follow-action scale=s><calcite-panel .heading=${l.follow}><calcite-list .label=${l.follow} selection-mode=single><calcite-list-item .label=${l.none} @click=${() => {
|
|
37
39
|
e.followingMode = "none";
|
|
38
40
|
}} .selected=${e.followingMode === "none"}><calcite-icon icon=circle-disallowed scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .disabled=${t && !c} .label=${l.sensor} @click=${() => {
|
|
39
41
|
e.followingMode = "follow-sensor";
|
|
@@ -41,11 +43,11 @@ class h extends w {
|
|
|
41
43
|
e.followingMode = "follow-frame";
|
|
42
44
|
}} .selected=${e.followingMode === "follow-frame"}><calcite-icon icon=follow scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .disabled=${t && !s && !c} .label=${l.video} @click=${() => {
|
|
43
45
|
e.followingMode = "follow-both";
|
|
44
|
-
}} .selected=${e.followingMode === "follow-both"}><calcite-icon icon=video scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${
|
|
45
|
-
return i`<calcite-action-bar expand-disabled layout=horizontal scale=s>${[
|
|
46
|
+
}} .selected=${e.followingMode === "follow-both"}><calcite-icon icon=video scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${o} .icon=${u(e)} id=follow-action scale=s slot=trigger .text=${l.follow}></calcite-action></div>`, f = i`<arcgis-video-player-settings .messages=${l} .viewModel=${e}></arcgis-video-player-settings>`, p = i`<calcite-action alignment=center .disabled=${o} icon=feature-details @click=${() => this.toggleMetadata()} scale=s .text=${l.metadata}></calcite-action>`;
|
|
47
|
+
return i`<calcite-action-bar expand-disabled layout=horizontal scale=s>${[$, y, f, p]}</calcite-action-bar>`;
|
|
46
48
|
}
|
|
47
49
|
}
|
|
48
|
-
|
|
50
|
+
b("arcgis-video-player-controls-group", v);
|
|
49
51
|
export {
|
|
50
|
-
|
|
52
|
+
v as VideoPlayerControlsGroup
|
|
51
53
|
};
|
|
@@ -1,42 +1,44 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as v } from "../../chunks/runtime.js";
|
|
3
3
|
import { html as c } from "lit";
|
|
4
4
|
import d from "@arcgis/core/Color.js";
|
|
5
5
|
import { watch as g } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
6
|
import { LitElement as _ } from "@arcgis/lumina";
|
|
7
|
-
import { useDirection as
|
|
8
|
-
const u = ["Auto"],
|
|
9
|
-
function
|
|
10
|
-
return `${
|
|
7
|
+
import { useDirection as b } from "@arcgis/lumina/controllers";
|
|
8
|
+
const u = ["Auto"], w = [0.25, 0.5, 1, 1.5, 2], r = new d([255, 127, 0]);
|
|
9
|
+
function o(s, t) {
|
|
10
|
+
return `${t.format(s)}x`;
|
|
11
11
|
}
|
|
12
|
-
class
|
|
12
|
+
class k extends _ {
|
|
13
13
|
constructor() {
|
|
14
|
-
super(...arguments), this._color = null, this._speed = 1, this._quality = "Auto", this._direction =
|
|
14
|
+
super(...arguments), this._color = null, this._speed = 1, this._quality = "Auto", this._direction = b(), this._disabled = !1;
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.properties = { _disabled: 16, _active: 16, viewModel: 0, messages: 0 };
|
|
18
18
|
}
|
|
19
19
|
loaded() {
|
|
20
20
|
this.manager.onLifecycle(() => [
|
|
21
|
-
g(() => this.viewModel.state, (
|
|
22
|
-
this._disabled =
|
|
21
|
+
g(() => this.viewModel.state, (t) => {
|
|
22
|
+
this._disabled = t === "not-ready" || t === "waiting";
|
|
23
23
|
}, { initial: !0 })
|
|
24
24
|
]);
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
const { viewModel:
|
|
27
|
+
const { viewModel: t, messages: e } = this, l = this._direction === "rtl" ? "chevron-left" : "chevron-right", a = new Intl.NumberFormat(this.messages._lang, {
|
|
28
28
|
minimumFractionDigits: 0,
|
|
29
29
|
maximumFractionDigits: 2
|
|
30
|
-
}), h = c`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active === "speed"} @calciteFlowItemBack=${() => this._active = void 0}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${
|
|
31
|
-
this._speed =
|
|
32
|
-
}} .selected=${
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
}), h = c`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active === "speed"} @calciteFlowItemBack=${() => this._active = void 0}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${w.map((i) => c`<calcite-list-item .disabled=${t?.layer?.isLive && i !== 1} .label=${o(i, a)} @click=${() => {
|
|
31
|
+
this._speed = i, t.changePlaybackSpeed(i);
|
|
32
|
+
}} .selected=${i === this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`, m = c`<calcite-flow-item .heading=${e.quality} .selected=${this._active === "quality"} @calciteFlowItemBack=${() => this._active = void 0}><calcite-list .label=${e.quality} selection-mode=single-persist>${u.map((i) => c`<calcite-list-item .label=${i} @click=${() => this._quality = i} .selected=${i === this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`, p = c`<calcite-flow-item .heading=${e.loopPlayback} .selected=${this._active === "loop"} @calciteFlowItemBack=${() => this._active = void 0}><calcite-block .label=${e.loop} expanded><calcite-switch .disabled=${t?.layer?.isLive} .label=${e.loopPlayback} .checked=${t?.layer?.loop} .labelTextStart=${e.loop} @calciteSwitchChange=${() => {
|
|
33
|
+
t.toggleLoopPlayback();
|
|
34
|
+
}}></calcite-switch></calcite-block></calcite-flow-item>`, $ = c`<calcite-flow-item .heading=${e.graphics} .selected=${this._active === "color"} @calciteFlowItemBack=${() => this._active = void 0}><calcite-block .heading=${e.color} expanded><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex() ?? r.toHex()} @calciteColorPickerChange=${({ currentTarget: i }) => {
|
|
35
|
+
const n = i.value?.toString() ?? null;
|
|
36
|
+
this._color = n ? new d(n) : null, this._color && t.changeGraphicsColor(this._color);
|
|
35
37
|
}}></calcite-color-picker></calcite-block></calcite-flow-item>`;
|
|
36
|
-
return c`<div><calcite-popover auto-close .label=${e.settings} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=settings-action scale=s @calcitePopoverClose=${() => this._active = void 0}><calcite-flow><calcite-flow-item .heading=${e.settings} .selected=${!this._active}><calcite-list .label=${e.settings}><calcite-list-item .label=${e.speed} @click=${() => this._active = "speed"}><div slot=content-end><calcite-chip .label=${
|
|
38
|
+
return c`<div><calcite-popover auto-close .label=${e.settings} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=settings-action scale=s @calcitePopoverClose=${() => this._active = void 0}><calcite-flow><calcite-flow-item .heading=${e.settings} .selected=${!this._active}><calcite-list .label=${e.settings}><calcite-list-item .label=${e.loop} @click=${() => this._active = "loop"}><div slot=content-end><calcite-chip .label=${e.loopPlayback} .icon=${this.viewModel.layer?.loop ? "recurrence" : "break-recurrence"}></calcite-chip></div><calcite-icon .icon=${l} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.speed} @click=${() => this._active = "speed"}><div slot=content-end><calcite-chip .label=${o(this._speed, a)} scale=s>${o(this._speed, a)}</calcite-chip></div><calcite-icon .icon=${l} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.quality} @click=${() => this._active = "quality"}><div slot=content-end><calcite-chip .label=${this._quality} scale=s>${this._quality}</calcite-chip></div><calcite-icon .icon=${l} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.graphics} @click=${() => this._active = "color"}><calcite-color-picker-swatch .color=${this._color?.toString() ?? r.toString()} scale=s slot=content-end></calcite-color-picker-swatch><calcite-icon .icon=${l} scale=s slot=content-end></calcite-icon></calcite-list-item></calcite-list></calcite-flow-item>${this._active === "speed" ? h : null}${this._active === "quality" ? m : null}${this._active === "color" ? $ : null}${this._active === "loop" ? p : null}</calcite-flow></calcite-popover><calcite-action alignment=center .disabled=${this._disabled} icon=sliders id=settings-action scale=s slot=trigger .text=${e.settings}></calcite-action></div>`;
|
|
37
39
|
}
|
|
38
40
|
}
|
|
39
|
-
|
|
41
|
+
v("arcgis-video-player-settings", k);
|
|
40
42
|
export {
|
|
41
|
-
|
|
43
|
+
k as VideoPlayerSettings
|
|
42
44
|
};
|
|
@@ -2,6 +2,7 @@ import "@esri/calcite-components/components/calcite-flow-item";
|
|
|
2
2
|
import "@esri/calcite-components/components/calcite-list";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-list-item";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-block";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-switch";
|
|
5
6
|
import "@esri/calcite-components/components/calcite-color-picker";
|
|
6
7
|
import "@esri/calcite-components/components/calcite-popover";
|
|
7
8
|
import "@esri/calcite-components/components/calcite-flow";
|