@arcgis/map-components 4.33.0-next.147 → 4.33.0-next.149
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/{OE4L2TIB.js → 26PSXZFT.js} +2 -2
- package/dist/cdn/{SDDHLS5A.js → 2BQDFL5K.js} +2 -2
- package/dist/cdn/{IO3IK3GQ.js → 2IC3D4FL.js} +2 -2
- package/dist/cdn/{VMJK3XXX.js → 2PU2WWUG.js} +2 -2
- package/dist/cdn/{3GE5E77E.js → 2TEJ63B5.js} +2 -2
- package/dist/cdn/{DERIPN4S.js → 2URM45AF.js} +2 -2
- package/dist/cdn/{VS5LJJNI.js → 2WQRFFZW.js} +1 -1
- package/dist/cdn/{N4S5RTXO.js → 35TWACW6.js} +2 -2
- package/dist/cdn/{V5W4Z6IK.js → 37AGC5O5.js} +2 -2
- package/dist/cdn/{242IOCQO.js → 3D5X5L62.js} +1 -1
- package/dist/cdn/3RWBD22P.js +4 -0
- package/dist/cdn/{XXIO22LG.js → 3VOVJXWX.js} +2 -2
- package/dist/cdn/{74S6BP2C.js → 4274DARK.js} +2 -2
- package/dist/cdn/{AYS4PYIM.js → 4T3QVPNI.js} +2 -2
- package/dist/cdn/{SIVYF6B2.js → 5CVEBY22.js} +2 -2
- package/dist/cdn/{QCAJU5OO.js → 5KOVIKPQ.js} +2 -2
- package/dist/cdn/{PUNZTXJN.js → 5PWQMP2P.js} +2 -2
- package/dist/cdn/{WLLGZGLT.js → 5TMHHOUR.js} +1 -1
- package/dist/cdn/{OB7CD5UB.js → 6AR43MTY.js} +2 -2
- package/dist/cdn/{BZ2LCPOJ.js → 6CCUSBYX.js} +2 -2
- package/dist/cdn/{4QNHUSTN.js → 7QGAFIYJ.js} +2 -2
- package/dist/cdn/{7IOHZUOS.js → AIZTIILS.js} +2 -2
- package/dist/cdn/{C4NGWPW5.js → AKQZRPTU.js} +2 -2
- package/dist/cdn/{J2GF4PVZ.js → AQRH7RSF.js} +2 -2
- package/dist/cdn/{5MXWBXDD.js → ATMJJMCM.js} +2 -2
- package/dist/cdn/{BRFZCB4G.js → B344GKWP.js} +2 -2
- package/dist/cdn/{QE5SHPQJ.js → B4643C6C.js} +2 -2
- package/dist/cdn/{CQMEYLTB.js → BDHK4RAH.js} +2 -2
- package/dist/cdn/{EADXRHBE.js → C27NUXO5.js} +2 -2
- package/dist/cdn/{UXX3PCBF.js → C72LTEYN.js} +2 -2
- package/dist/cdn/{JVXHWNWB.js → CJFAQBGL.js} +2 -2
- package/dist/cdn/{MVJM6Y7Q.js → CKBTJCS6.js} +2 -2
- package/dist/cdn/{3D5RCERJ.js → CQL6NJLV.js} +2 -2
- package/dist/cdn/{UJ4HJHXW.js → DKYJA5ZR.js} +2 -2
- package/dist/cdn/{FKEDB7OB.js → E24E4VRJ.js} +2 -2
- package/dist/cdn/{C5Y3A4H7.js → EPHKLJ26.js} +2 -2
- package/dist/cdn/{AG5LOQB5.js → ESUWG6TF.js} +2 -2
- package/dist/cdn/{FODWE6EX.js → EVVYZKOQ.js} +2 -2
- package/dist/cdn/{DYK3O6UZ.js → EYM72FZ3.js} +2 -2
- package/dist/cdn/{ITLSASZX.js → FCQCDKEX.js} +2 -2
- package/dist/cdn/{PY64VSHY.js → FG2MNMJV.js} +2 -2
- package/dist/cdn/{CIBWHOGE.js → FPPONXLB.js} +2 -2
- package/dist/cdn/{APOYO77T.js → FTE65SAE.js} +2 -2
- package/dist/cdn/{TWJMSB7S.js → FV4TT6MA.js} +2 -2
- package/dist/cdn/{PFZFSKQO.js → FZ7327JD.js} +2 -2
- package/dist/cdn/{B32IKPND.js → FZPGGKUT.js} +2 -2
- package/dist/cdn/{PSCPPWWZ.js → G3W3IDSX.js} +2 -2
- package/dist/cdn/{HW7LU23L.js → GRGGGOVV.js} +2 -2
- package/dist/cdn/{GJE7JOBR.js → GW5B7ZEV.js} +2 -2
- package/dist/cdn/{PV2MBY6W.js → HDN3NHKP.js} +2 -2
- package/dist/cdn/{PIZSQTL5.js → HDUOGFM6.js} +2 -2
- package/dist/cdn/{AKFKO4UZ.js → HGD3574B.js} +1 -1
- package/dist/cdn/{Q5BWCRL5.js → HGJEIF4D.js} +2 -2
- package/dist/cdn/{6TGJXDCE.js → HJBFPAEB.js} +2 -2
- package/dist/cdn/{IC6NHY7K.js → HY6ACP3M.js} +2 -2
- package/dist/cdn/{NI7HBWGW.js → HZRNT6GB.js} +2 -2
- package/dist/cdn/{UPV43TIK.js → I6YPJSC5.js} +2 -2
- package/dist/cdn/{22YZLOBX.js → IEPVX2MI.js} +2 -2
- package/dist/cdn/{QUYHPLFZ.js → IKYZVVEW.js} +2 -2
- package/dist/cdn/IL3E3JOM.js +4 -0
- package/dist/cdn/{UPSLUZ3S.js → IRRSR4N3.js} +2 -2
- package/dist/cdn/{E3DOEOQI.js → J5JIGXGG.js} +2 -2
- package/dist/cdn/{UT6CXN6R.js → J65XM6RK.js} +2 -2
- package/dist/cdn/{TF42QVJD.js → JPRYXRRB.js} +2 -2
- package/dist/cdn/{TNT54AEB.js → JR4ZFJGW.js} +2 -2
- package/dist/cdn/JRT5IKMT.js +4 -0
- package/dist/cdn/{L7Y26BKA.js → LDTJ54Z6.js} +2 -2
- package/dist/cdn/{7EZZEKH2.js → MDJT3SZL.js} +2 -2
- package/dist/cdn/{4LZKDQON.js → MHEEYDOA.js} +2 -2
- package/dist/cdn/{FXIFWAV7.js → MM43JHY6.js} +2 -2
- package/dist/cdn/{LQGAYBOM.js → MSKBG7RJ.js} +2 -2
- package/dist/cdn/{YISWYT7I.js → N6XCAO4J.js} +2 -2
- package/dist/cdn/N7NQK4M6.js +4 -0
- package/dist/cdn/{V7HTQ33S.js → N7TZZ3FI.js} +2 -2
- package/dist/cdn/{GUL6ANKU.js → NRVX25WQ.js} +2 -2
- package/dist/cdn/{7J7BUJ5F.js → NU5PSAZX.js} +2 -2
- package/dist/cdn/{J2I5OCGQ.js → NWE3CJHT.js} +2 -2
- package/dist/cdn/O6QRHF7P.js +4 -0
- package/dist/cdn/{34PGLHZR.js → OB55DTMH.js} +2 -2
- package/dist/cdn/{AK64U7OH.js → OVORVPWH.js} +2 -2
- package/dist/cdn/{ND6HFNHP.js → P7HB6EE5.js} +2 -2
- package/dist/cdn/{VJN2VXK2.js → PBQJPGN5.js} +2 -2
- package/dist/cdn/{ACFBMR3Z.js → PDOBGW56.js} +2 -2
- package/dist/cdn/{FGDYBGFV.js → PG76GNKY.js} +2 -2
- package/dist/cdn/{OKARACTD.js → QGRUBNZ6.js} +2 -2
- package/dist/cdn/{CSBE77CZ.js → QPMAEWGU.js} +2 -2
- package/dist/cdn/{BM4DLNR5.js → QUZS23U4.js} +2 -2
- package/dist/cdn/{JPHYMJ2H.js → QWIHG3P2.js} +2 -2
- package/dist/cdn/{MHCYTMXU.js → R4ECLQXB.js} +2 -2
- package/dist/cdn/{X3KR4UVI.js → RFYKABGQ.js} +2 -2
- package/dist/cdn/{ZRG4PBWZ.js → RMCZL5YP.js} +2 -2
- package/dist/cdn/{37FTP6CS.js → RXYDV4OE.js} +2 -2
- package/dist/cdn/{NHNDVJYT.js → S4MVQY54.js} +2 -2
- package/dist/cdn/{6GHPQB5L.js → SPNROWXH.js} +1 -1
- package/dist/cdn/{IIDKRNEC.js → TFXQECDX.js} +2 -2
- package/dist/cdn/{YVCPQZLT.js → TOT3TAQ6.js} +2 -2
- package/dist/cdn/{B74R7PMD.js → TTF2TPDF.js} +2 -2
- package/dist/cdn/{2XLF2QLO.js → TX7N74W2.js} +2 -2
- package/dist/cdn/{THCYW5DP.js → TZRQJ4WB.js} +2 -2
- package/dist/cdn/{SY2P6UUD.js → U2QZP4MA.js} +2 -2
- package/dist/cdn/{IIZTL7SV.js → UHCKGMUP.js} +2 -2
- package/dist/cdn/{UYTLBYX7.js → URYPYM2I.js} +2 -2
- package/dist/cdn/{SPQZRJBI.js → UVBJ7KT4.js} +2 -2
- package/dist/cdn/{NPZJ7ZZR.js → UW6HY43H.js} +2 -2
- package/dist/cdn/{GZ4X6HRG.js → VGYV5TXT.js} +2 -2
- package/dist/cdn/{GWLFCLOJ.js → VSN2DQRW.js} +2 -2
- package/dist/cdn/{5CXAAX2O.js → W4P62AUC.js} +2 -2
- package/dist/cdn/{7ZEFA5AP.js → X2EIENHI.js} +2 -2
- package/dist/cdn/{IOHNZD64.js → XPZSQ552.js} +2 -2
- package/dist/cdn/{HG35DFYK.js → XVDOB36B.js} +2 -2
- package/dist/cdn/{6YB2KXYD.js → XWWUIQIJ.js} +1 -1
- package/dist/cdn/{KGCJYVWT.js → Y2NFSNYX.js} +2 -2
- package/dist/cdn/{3MCIGYC2.js → Y6H3NBC4.js} +2 -2
- package/dist/cdn/{QUIHPOU7.js → YTJ4WNFK.js} +2 -2
- package/dist/cdn/{PVZJZ5NS.js → ZB64CGXY.js} +2 -2
- package/dist/cdn/{M25EPZXL.js → ZF7D5R3R.js} +2 -2
- package/dist/cdn/{7ZB4AAKY.js → ZMGUGDTS.js} +1 -1
- package/dist/cdn/{WLDOGJTS.js → ZQDXZSDQ.js} +1 -1
- package/dist/cdn/{4XCG6M5L.js → ZY62LZHU.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +1 -2
- package/dist/components/arcgis-line-of-sight/customElement.js +9 -12
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +16 -16
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +14 -14
- package/dist/components/arcgis-search/customElement.js +26 -26
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +18 -7
- package/dist/components/arcgis-video/customElement.js +10 -19
- package/dist/components/arcgis-video-player/customElement.d.ts +7 -0
- package/dist/components/arcgis-video-player/customElement.js +32 -26
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +12 -12
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +121 -89
- package/dist/docs/docs.json +72 -77
- package/dist/docs/vscode.html-custom-data.json +36 -18
- package/dist/docs/web-types.json +53 -42
- package/dist/index.js +1 -1
- package/dist/loader.js +4 -4
- package/dist/types/lumina.d.ts +7 -7
- package/dist/types/preact.d.ts +7 -7
- package/dist/types/react.d.ts +7 -7
- package/dist/types/stencil.d.ts +7 -7
- package/package.json +3 -3
- package/dist/cdn/5NLYDDP2.js +0 -4
- package/dist/cdn/D5BRI4KV.js +0 -4
- package/dist/cdn/HWDHDHCJ.js +0 -4
- package/dist/cdn/KLHXLJLB.js +0 -4
- package/dist/cdn/YMWLGSBA.js +0 -4
|
@@ -83,6 +83,13 @@ export declare class ArcgisVideoPlayer extends LitElement {
|
|
|
83
83
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-VideoPlayer-VideoPlayerViewModel.html#state)
|
|
84
84
|
*/
|
|
85
85
|
readonly state: "ready" | "error" | "playing" | "waiting" | "can-play" | "not-ready" | "paused" | "data-loaded";
|
|
86
|
+
/**
|
|
87
|
+
* Determines which telemetry elements to follow when the video layer is playing.
|
|
88
|
+
*
|
|
89
|
+
* @default "follow-both"
|
|
90
|
+
*/
|
|
91
|
+
get followingMode(): VideoPlayerViewModel["followingMode"];
|
|
92
|
+
set followingMode(value: VideoPlayerViewModel["followingMode"]);
|
|
86
93
|
/**
|
|
87
94
|
* The [VideoLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html) to use as the data source for the video player.
|
|
88
95
|
*
|
|
@@ -1,34 +1,40 @@
|
|
|
1
1
|
import { c as h } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as
|
|
2
|
+
import { html as i } from "lit-html";
|
|
3
3
|
import { usePropertyChange as c } from "@arcgis/lumina/controllers";
|
|
4
4
|
import { classes as u } from "@arcgis/components-utils";
|
|
5
5
|
import v from "@arcgis/core/widgets/VideoPlayer/VideoPlayerViewModel.js";
|
|
6
6
|
import { watch as t } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
|
-
import { LitElement as
|
|
8
|
-
import { createRef as
|
|
7
|
+
import { LitElement as g, createEvent as a, noShadowRoot as m, safeClassMap as o } from "@arcgis/lumina";
|
|
8
|
+
import { createRef as f, ref as y } from "lit-html/directives/ref.js";
|
|
9
9
|
import { u as _ } from "../../chunks/useT9n.js";
|
|
10
10
|
import { m as p } from "../../chunks/useViewModel.js";
|
|
11
11
|
import { g as w } from "../../chunks/globalCss.js";
|
|
12
12
|
import { css as V } from "@lit/reactive-element/css-tag.js";
|
|
13
13
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
14
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
15
|
-
v4.33.0-next.
|
|
16
|
-
const
|
|
15
|
+
v4.33.0-next.149 */
|
|
16
|
+
const M = V`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`, d = "arcgis-video-player", l = {
|
|
17
17
|
base: d,
|
|
18
18
|
videoView: `${d}__video-view`
|
|
19
|
-
},
|
|
20
|
-
class
|
|
19
|
+
}, $ = p(v);
|
|
20
|
+
class b extends g {
|
|
21
21
|
constructor() {
|
|
22
|
-
super(...arguments), this.messages = _({ blocking: !0 }), this.viewModel =
|
|
22
|
+
super(...arguments), this.messages = _({ blocking: !0 }), this.viewModel = $(this), this._videoViewRef = f(), this._metadataVisible = !1, this._duration = 0, this._currentTime = 0, this._bufferedValue = 0, this._currentValue = 0, this._isBuffering = !1, this._videoViewReady = !1, this.position = "top-left", this.icon = "video-web", this.state = this.viewModel.state, this.layer = this.viewModel.layer, this.autoDestroyDisabled = !1, this.hideHeader = !1, this.arcgisPropertyChange = c()("state", "layer"), this.arcgisReady = a(), this.arcgisVideoReady = a();
|
|
23
23
|
}
|
|
24
24
|
static {
|
|
25
|
-
this.properties = { _metadataVisible: 16, _duration: 16, _currentTime: 16, _bufferedValue: 16, _currentValue: 16, _isBuffering: 16, _videoViewReady: 16, _layerTitle: 16, referenceElement: 1, position: 3, icon: 1, state: 3, layer: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 3, hideHeader: 5 };
|
|
25
|
+
this.properties = { _metadataVisible: 16, _duration: 16, _currentTime: 16, _bufferedValue: 16, _currentValue: 16, _isBuffering: 16, _videoViewReady: 16, _layerTitle: 16, referenceElement: 1, position: 3, icon: 1, state: 3, followingMode: 1, layer: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 3, hideHeader: 5 };
|
|
26
26
|
}
|
|
27
27
|
static {
|
|
28
|
-
this.styles =
|
|
28
|
+
this.styles = M;
|
|
29
29
|
}
|
|
30
30
|
static {
|
|
31
|
-
this.shadowRootOptions =
|
|
31
|
+
this.shadowRootOptions = m;
|
|
32
|
+
}
|
|
33
|
+
get followingMode() {
|
|
34
|
+
return this.viewModel.followingMode;
|
|
35
|
+
}
|
|
36
|
+
set followingMode(e) {
|
|
37
|
+
this.viewModel.followingMode = e;
|
|
32
38
|
}
|
|
33
39
|
async destroy() {
|
|
34
40
|
await this.manager.destroy();
|
|
@@ -36,40 +42,40 @@ class M extends m {
|
|
|
36
42
|
loaded() {
|
|
37
43
|
this.manager.onLifecycle(() => [
|
|
38
44
|
t(() => [this.viewModel.currentTime, this.viewModel.duration, this.viewModel.duration, this.viewModel.ended], () => {
|
|
39
|
-
const { buffered:
|
|
40
|
-
this._duration = r, this._currentTime = s, this._bufferedValue =
|
|
45
|
+
const { buffered: e, currentTime: s, duration: r, ended: n } = this.viewModel;
|
|
46
|
+
this._duration = r, this._currentTime = s, this._bufferedValue = e / (r || 1), this._currentValue = s / (r || 1), this._isBuffering = !n && this._bufferedValue < this._currentValue;
|
|
41
47
|
}),
|
|
42
|
-
t(() => this._videoViewRef.value?.ready, (
|
|
43
|
-
this._videoViewReady = !!
|
|
48
|
+
t(() => this._videoViewRef.value?.ready, (e) => {
|
|
49
|
+
this._videoViewReady = !!e;
|
|
44
50
|
}, { initial: !0 }),
|
|
45
|
-
t(() => this.layer?.title, (
|
|
46
|
-
this._layerTitle =
|
|
51
|
+
t(() => this.layer?.title, (e) => {
|
|
52
|
+
this._layerTitle = e ?? void 0;
|
|
47
53
|
}, { initial: !0 })
|
|
48
54
|
]);
|
|
49
55
|
}
|
|
50
56
|
render() {
|
|
51
|
-
return
|
|
57
|
+
return i`<div class=${o(u(l.base, w.widget))}><calcite-panel .heading=${this.hideHeader ? void 0 : this._layerTitle ?? this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`;
|
|
52
58
|
}
|
|
53
59
|
_renderLoadingScrim() {
|
|
54
|
-
return this._videoViewReady ? null :
|
|
60
|
+
return this._videoViewReady ? null : i`<calcite-scrim .loading=${this.state !== "error"}>${this.state === "error" ? this.messages.errorLoadingLayer : null}</calcite-scrim>`;
|
|
55
61
|
}
|
|
56
62
|
_renderBuffering() {
|
|
57
|
-
return this._isBuffering ?
|
|
63
|
+
return this._isBuffering ? i`<calcite-progress type=indeterminate></calcite-progress>` : null;
|
|
58
64
|
}
|
|
59
65
|
_renderVideoSection() {
|
|
60
|
-
return
|
|
66
|
+
return i`<div class=${o(l.videoView)}><arcgis-video .layer=${this.layer} @arcgisViewReadyChange=${() => this.arcgisVideoReady.emit()} ${y(this._videoViewRef)}></arcgis-video></div>`;
|
|
61
67
|
}
|
|
62
68
|
_renderSlider() {
|
|
63
|
-
return
|
|
69
|
+
return i`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue * 100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`;
|
|
64
70
|
}
|
|
65
71
|
_renderActionBar() {
|
|
66
|
-
return
|
|
72
|
+
return i`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${() => this._metadataVisible = !this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`;
|
|
67
73
|
}
|
|
68
74
|
_renderMetadataSection() {
|
|
69
|
-
return this._metadataVisible ?
|
|
75
|
+
return this._metadataVisible ? i`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>` : null;
|
|
70
76
|
}
|
|
71
77
|
}
|
|
72
|
-
h("arcgis-video-player",
|
|
78
|
+
h("arcgis-video-player", b);
|
|
73
79
|
export {
|
|
74
|
-
|
|
80
|
+
b as ArcgisVideoPlayer
|
|
75
81
|
};
|
|
@@ -5,7 +5,7 @@ import { LitElement as n, safeClassMap as e } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
8
|
+
v4.33.0-next.149 */
|
|
9
9
|
const p = d`.arcgis-video-player__toolbar{display:flex;align-items:center;background-color:var(--calcite-color-foreground-1);padding:0 calc(var(--esri-video-player-controls-spacing) / 2) calc(var(--esri-video-player-controls-spacing) / 2);font-size:var(--calcite-font-size--2)}.arcgis-video-player__timecode{display:flex;align-items:center;margin-inline:var(--calcite-size-12, 12px);color:var(--calcite-color-text-3)}.arcgis-video-player__controls-group{display:flex;flex:1 0 auto;justify-content:flex-end}`, o = "arcgis-video-player", r = {
|
|
10
10
|
playerControlsGroup: `${o}__controls-group`,
|
|
11
11
|
playerTimecode: `${o}__timecode`,
|
|
@@ -4,7 +4,7 @@ import { watch as g } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as p, noShadowRoot as m } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.149 */
|
|
8
8
|
class $ extends p {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this._disabled = !1, this._playing = !1;
|
|
@@ -4,11 +4,11 @@ import { watch as d } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as m, noShadowRoot as g } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
8
|
-
function
|
|
7
|
+
v4.33.0-next.149 */
|
|
8
|
+
function f(i) {
|
|
9
9
|
return i.followingMode === "none" ? "circle-disallowed" : i.followingMode === "follow-sensor" ? "zoom-to-object" : i.followingMode === "follow-frame" ? "follow" : "video";
|
|
10
10
|
}
|
|
11
|
-
class
|
|
11
|
+
class p extends m {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments), this._disabled = !1;
|
|
14
14
|
}
|
|
@@ -26,7 +26,7 @@ class f extends m {
|
|
|
26
26
|
]);
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
const { viewModel: e, messages: l, _disabled:
|
|
29
|
+
const { viewModel: e, messages: l, _disabled: o } = this, c = t`<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 .label=${l.sensor} @click=${() => {
|
|
30
30
|
e.toggleSensorDisplay();
|
|
31
31
|
}} .selected=${!!e.layer?.telemetryDisplay?.sensorLocation}></calcite-list-item><calcite-list-item .label=${l.sightLine} @click=${() => {
|
|
32
32
|
e.toggleSensorSightLineDisplay();
|
|
@@ -38,19 +38,19 @@ class f extends m {
|
|
|
38
38
|
e.toggleFrameOutlineDisplay();
|
|
39
39
|
}} .selected=${!!e.layer?.telemetryDisplay?.frameOutline}></calcite-list-item><calcite-list-item .label=${l.frame} @click=${() => {
|
|
40
40
|
e.toggleFrameDisplay();
|
|
41
|
-
}} .selected=${!!e.layer?.telemetryDisplay?.frame}></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${
|
|
41
|
+
}} .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>`, a = t`<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=${() => {
|
|
42
42
|
e.followingMode = "none";
|
|
43
|
-
}}><calcite-icon icon=circle-disallowed scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.sensor} @click=${() => {
|
|
43
|
+
}} .selected=${e.followingMode === "none"}><calcite-icon icon=circle-disallowed scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.sensor} @click=${() => {
|
|
44
44
|
e.followingMode = "follow-sensor";
|
|
45
|
-
}}><calcite-icon icon=zoom-to-object scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.frame} @click=${() => {
|
|
45
|
+
}} .selected=${e.followingMode === "follow-sensor"}><calcite-icon icon=zoom-to-object scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.frame} @click=${() => {
|
|
46
46
|
e.followingMode = "follow-frame";
|
|
47
|
-
}}><calcite-icon icon=follow scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.video} @click=${() => {
|
|
47
|
+
}} .selected=${e.followingMode === "follow-frame"}><calcite-icon icon=follow scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.video} @click=${() => {
|
|
48
48
|
e.followingMode = "follow-both";
|
|
49
|
-
}} selected><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=${
|
|
50
|
-
return t`<calcite-action-bar expand-disabled layout=horizontal scale=s>${[
|
|
49
|
+
}} .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=${f(e)} id=follow-action scale=s slot=trigger .text=${l.follow}></calcite-action></div>`, s = t`<arcgis-video-player-settings .messages=${l} .viewModel=${e}></arcgis-video-player-settings>`, n = t`<calcite-action alignment=center .disabled=${o} icon=feature-details @click=${() => this.toggleMetadata()} scale=s .text=${l.metadata}></calcite-action>`;
|
|
50
|
+
return t`<calcite-action-bar expand-disabled layout=horizontal scale=s>${[c, a, s, n]}</calcite-action-bar>`;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
r("arcgis-video-player-controls-group",
|
|
53
|
+
r("arcgis-video-player-controls-group", p);
|
|
54
54
|
export {
|
|
55
|
-
|
|
55
|
+
p as VideoPlayerControlsGroup
|
|
56
56
|
};
|
|
@@ -5,7 +5,7 @@ import { LitElement as n, safeClassMap as a } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
8
|
+
v4.33.0-next.149 */
|
|
9
9
|
const f = m`.arcgis-metadata-table{display:flex;flex-direction:column;border-top:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__row{display:flex;flex-direction:row;border-bottom:1px solid var(--calcite-color-border-1);border-right:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__data{flex:1;border-left:1px solid var(--calcite-color-border-1);padding:5px}.arcgis-metadata-table__empty-state{width:100%;max-inline-size:unset;transition-duration:0ms}`, o = "arcgis-metadata-table", t = {
|
|
10
10
|
table: o,
|
|
11
11
|
row: `${o}__row`,
|
|
@@ -6,7 +6,7 @@ import { LitElement as p } from "@arcgis/lumina";
|
|
|
6
6
|
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.149 */
|
|
10
10
|
const v = m`.arcgis-video-player__settings-flow{min-width:var(--calcite-size-160)}`, $ = ["Auto"], g = [
|
|
11
11
|
{ label: "0.25x", value: 0.25 },
|
|
12
12
|
{ label: "0.5x", value: 0.5 },
|
|
@@ -4,7 +4,7 @@ import { LitElement as c, safeClassMap as s } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as t } from "@lit/reactive-element/css-tag.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.149 */
|
|
8
8
|
const d = t`.arcgis-video-player__slider-progress-container{position:relative;z-index:1;width:100%}.arcgis-video-player__progress{--esri-video-player-progress-width: 2px;appearance:none;display:block;position:absolute;top:calc(50% - var(--esri-video-player-progress-width) / 2);left:var(--esri-video-player-controls-spacing);border:none;background:var(--calcite-color-border-1);cursor:pointer;width:calc(100% - var(--esri-video-player-controls-spacing) * 2);height:var(--esri-video-player-progress-width)}.arcgis-video-player__progress::-webkit-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__progress::-webkit-progress-value{background-color:var(--calcite-color-border-input)}.arcgis-video-player__progress::-moz-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__slider{--calcite-slider-track-color: transparent;background-color:var(--calcite-color-foreground-1);padding:calc(var(--esri-video-player-controls-spacing) / 4) calc(var(--esri-video-player-controls-spacing) / 2)}`, o = "arcgis-video-player", i = {
|
|
9
9
|
progress: `${o}__progress`,
|
|
10
10
|
slider: `${o}__slider`,
|
|
@@ -18,7 +18,7 @@ import $ from "@arcgis/core/views/3d/environment/SnowyWeather.js";
|
|
|
18
18
|
import C from "@arcgis/core/views/3d/environment/SunnyWeather.js";
|
|
19
19
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
20
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
21
|
-
v4.33.0-next.
|
|
21
|
+
v4.33.0-next.149 */
|
|
22
22
|
const c = "arcgis-weather", d = {
|
|
23
23
|
base: c,
|
|
24
24
|
content: `${c}__content`,
|
|
@@ -10,7 +10,7 @@ import { u as O } from "../../chunks/useView.js";
|
|
|
10
10
|
import { css as Z } from "@lit/reactive-element/css-tag.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
13
|
-
v4.33.0-next.
|
|
13
|
+
v4.33.0-next.149 */
|
|
14
14
|
const a = {
|
|
15
15
|
base: "arcgis-zoom",
|
|
16
16
|
horizontalLayout: "arcgis-zoom--horizontal",
|