@arcgis/map-components 4.33.11 → 4.33.13
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/{ZKUTJY3S.js → 2CT4JQKU.js} +2 -2
- package/dist/cdn/{LGMD327F.js → 2JAESMJA.js} +2 -2
- package/dist/cdn/{4G3IZU3F.js → 2REO6HEF.js} +2 -2
- package/dist/cdn/{3HTNHRX6.js → 2WKS6ZFG.js} +2 -2
- package/dist/cdn/{4YZHCMTA.js → 2XQPUX4C.js} +1 -1
- package/dist/cdn/{QZEPYEMP.js → 2ZWF75SV.js} +2 -2
- package/dist/cdn/{2XGPBVM3.js → 3DMFUADF.js} +2 -2
- package/dist/cdn/{4UL6JS7I.js → 3P6FPVFJ.js} +2 -2
- package/dist/cdn/{PP7CUFG5.js → 3SV5PEHC.js} +2 -2
- package/dist/cdn/{E3XQHOT4.js → 4RFCEGOP.js} +2 -2
- package/dist/cdn/{GX5LGQ6N.js → 4TYQGSWG.js} +2 -2
- package/dist/cdn/{ICFIM4WY.js → 4ZS7Z66D.js} +2 -2
- package/dist/cdn/{FQ667E5T.js → 5IYFQIPZ.js} +2 -2
- package/dist/cdn/{G33G3IRH.js → 5VMXG5GZ.js} +2 -2
- package/dist/cdn/{3UUCYZ56.js → 5YOMAARJ.js} +2 -2
- package/dist/cdn/{46LQPELM.js → 6MUW4QTO.js} +2 -2
- package/dist/cdn/6RSKRN65.js +4 -0
- package/dist/cdn/{UEV7LJM3.js → 6W3QUDXU.js} +2 -2
- package/dist/cdn/{KZV5GBGR.js → 7CTLIRPJ.js} +2 -2
- package/dist/cdn/{HVUE5MPV.js → AFVVVMRF.js} +2 -2
- package/dist/cdn/{7QRSVWET.js → AUIIVNGP.js} +2 -2
- package/dist/cdn/{ZS6UEFM4.js → AX4WE237.js} +2 -2
- package/dist/cdn/{HZNBG4VN.js → AYJB5MOM.js} +2 -2
- package/dist/cdn/{27BXMERH.js → B6X4BZHJ.js} +2 -2
- package/dist/cdn/{BI5CFR5T.js → BKJLSM3Y.js} +2 -2
- package/dist/cdn/{ABFQXJAO.js → BVYJZZHF.js} +1 -1
- package/dist/cdn/{7V4VAJST.js → C4BWH7US.js} +2 -2
- package/dist/cdn/{ODAMF6SR.js → C4T46SEE.js} +2 -2
- package/dist/cdn/{P6YG7TPX.js → CFNR3Q3R.js} +2 -2
- package/dist/cdn/{PPURENQX.js → CMFZMR7C.js} +2 -2
- package/dist/cdn/{ADTOPWEO.js → D3MX4ZLD.js} +2 -2
- package/dist/cdn/{ARKT24ZT.js → DXCYBWXJ.js} +1 -1
- package/dist/cdn/{M3HVPC4S.js → E6BJ2Y7S.js} +2 -2
- package/dist/cdn/{3V4FG5A6.js → EF4HWGQ4.js} +2 -2
- package/dist/cdn/{3GDDP2JX.js → EN73NPFL.js} +2 -2
- package/dist/cdn/{O6FLWMD7.js → F2352TT6.js} +2 -2
- package/dist/cdn/{CLPLXSFF.js → F4DDZCNF.js} +2 -2
- package/dist/cdn/{7MDNT3BD.js → FKHKV524.js} +2 -2
- package/dist/cdn/{LI6SSFAR.js → FTRWWNXL.js} +2 -2
- package/dist/cdn/{E7K77PV3.js → GC6UAZSA.js} +2 -2
- package/dist/cdn/{M7DEABXJ.js → GDMEGZLJ.js} +2 -2
- package/dist/cdn/{Q6ZGJMOP.js → GFTIXD4S.js} +2 -2
- package/dist/cdn/{AKMQJ67L.js → GN77FD4V.js} +2 -2
- package/dist/cdn/{B6CGSBFC.js → GRG6YALJ.js} +2 -2
- package/dist/cdn/{6ZZVZJSD.js → H767GQ5C.js} +2 -2
- package/dist/cdn/{KTFJ5HKQ.js → HA5P4MAX.js} +1 -1
- package/dist/cdn/{275LO4BA.js → HX57SHRL.js} +1 -1
- package/dist/cdn/{JUABAUID.js → HXODIMTN.js} +2 -2
- package/dist/cdn/{5ZZRS236.js → HXOMZNNJ.js} +2 -2
- package/dist/cdn/{PHQJZHNM.js → HYYXAZB3.js} +2 -2
- package/dist/cdn/{DV6AEIZK.js → IF4NIMZQ.js} +2 -2
- package/dist/cdn/{NL5CLT22.js → IFIBUTSR.js} +1 -1
- package/dist/cdn/{ZYH25PVY.js → ITPWKYEF.js} +2 -2
- package/dist/cdn/{VT4A2GRG.js → J62MAGF6.js} +2 -2
- package/dist/cdn/{TZEI7VRQ.js → JDUE7Q24.js} +2 -2
- package/dist/cdn/{IPDBAC5T.js → JN2WTNLH.js} +2 -2
- package/dist/cdn/{OP25FVVZ.js → JOLP2NFU.js} +2 -2
- package/dist/cdn/{CYAYILLP.js → JQBGLZ3H.js} +2 -2
- package/dist/cdn/{APIM2OD6.js → JXUQO64W.js} +2 -2
- package/dist/cdn/{A2OUPSDR.js → K4R67VH3.js} +2 -2
- package/dist/cdn/{36NGAQWZ.js → KCKHNAXX.js} +2 -2
- package/dist/cdn/{EXVHMMOU.js → KV34D6UN.js} +2 -2
- package/dist/cdn/{XLYVY2ZS.js → KW27SA4Q.js} +1 -1
- package/dist/cdn/{JXPYFFHD.js → L3C47DRG.js} +2 -2
- package/dist/cdn/{YMYDHBC5.js → L4V6NJTF.js} +2 -2
- package/dist/cdn/{UNSMAKGJ.js → L5IVPIB2.js} +2 -2
- package/dist/cdn/{OJBKPGEN.js → LFIVXLJ7.js} +2 -2
- package/dist/cdn/{WHWYW6NN.js → LHRGLKIQ.js} +2 -2
- package/dist/cdn/{SXRI2ORL.js → LTPCI2TL.js} +2 -2
- package/dist/cdn/{H62VD5TU.js → LU2RETMK.js} +2 -2
- package/dist/cdn/LUNV3LEB.js +4 -0
- package/dist/cdn/{2DI2Z3FW.js → M265V4OW.js} +2 -2
- package/dist/cdn/{UEX3DWD4.js → M62FTTZH.js} +2 -2
- package/dist/cdn/{2DJVMH3H.js → MF2SVVTD.js} +2 -2
- package/dist/cdn/{I7PMIGV5.js → MX24TT2G.js} +2 -2
- package/dist/cdn/{WPCWXWPN.js → MZHKSD55.js} +2 -2
- package/dist/cdn/{G74V5Y23.js → N7CBE2NV.js} +2 -2
- package/dist/cdn/{CXXOISUG.js → N7WR2FVU.js} +2 -2
- package/dist/cdn/{MOSDGTHP.js → NWECLX4Y.js} +2 -2
- package/dist/cdn/{BIRHFXCD.js → OLDK3DQD.js} +2 -2
- package/dist/cdn/{HUK4IW6Z.js → PR63ATMT.js} +2 -2
- package/dist/cdn/{6HCKCQP6.js → PSXQVLRN.js} +2 -2
- package/dist/cdn/{AJCCNEGV.js → QOAWZ5DB.js} +2 -2
- package/dist/cdn/{VSMLYD2D.js → QTQZWXXA.js} +2 -2
- package/dist/cdn/{232YZZ66.js → QYYCZPLH.js} +2 -2
- package/dist/cdn/{EUKA64A3.js → RFQJ32I6.js} +2 -2
- package/dist/cdn/{3CR4IY5P.js → RIYOEDOL.js} +2 -2
- package/dist/cdn/{YTQYL4G3.js → S2DTA2BR.js} +2 -2
- package/dist/cdn/{UCXVKIUF.js → SRG4HPY3.js} +2 -2
- package/dist/cdn/{5GJOUJ4J.js → SU7EQUKE.js} +2 -2
- package/dist/cdn/{5NYCFROI.js → SXFQPOHB.js} +2 -2
- package/dist/cdn/{V24YTCG6.js → SYH3LAK3.js} +2 -2
- package/dist/cdn/{AX3RYBSC.js → THGY6EBD.js} +1 -1
- package/dist/cdn/{E2SIY3Z5.js → UCMRMXAM.js} +2 -2
- package/dist/cdn/{ULJPBG4G.js → UCQSIQ56.js} +2 -2
- package/dist/cdn/UF2DT5CF.js +4 -0
- package/dist/cdn/{RN6X2KLE.js → UHU5WCLQ.js} +2 -2
- package/dist/cdn/{RWZWOWDU.js → UIGRHDMX.js} +2 -2
- package/dist/cdn/{ZCSQYZBP.js → UNSFP25B.js} +2 -2
- package/dist/cdn/{UZ2YTFYA.js → UWFTAKVX.js} +2 -2
- package/dist/cdn/{IDNQYWFS.js → V4MR2PIA.js} +2 -2
- package/dist/cdn/{4PDFEMDU.js → VD6RH4CQ.js} +2 -2
- package/dist/cdn/{DN7VEW5W.js → VGX5A5BD.js} +2 -2
- package/dist/cdn/{TXKGBWMI.js → WEE6AVZ2.js} +2 -2
- package/dist/cdn/{7N5JDTYZ.js → WMUUHQ4Z.js} +2 -2
- package/dist/cdn/{DPKSEQCT.js → WTRRXQWH.js} +2 -2
- package/dist/cdn/{UTASWHIV.js → X44VV7N6.js} +2 -2
- package/dist/cdn/{WGNYX3UY.js → XHUEB5G2.js} +2 -2
- package/dist/cdn/{SJRNAUGQ.js → XMLOAAOU.js} +2 -2
- package/dist/cdn/{WSJYU54K.js → XTQJVTKB.js} +2 -2
- package/dist/cdn/{7RCKJNCG.js → Y2OWIJNO.js} +2 -2
- package/dist/cdn/{KYJRJAB2.js → Y74JZGTS.js} +2 -2
- package/dist/cdn/{WZV5MWJV.js → YG7FIZIV.js} +2 -2
- package/dist/cdn/{JX6OGRWM.js → YNSUMKG7.js} +2 -2
- package/dist/cdn/{QZFBHGSC.js → YUGSC7L3.js} +2 -2
- package/dist/cdn/{L2PLNPHL.js → YWHCCJ54.js} +2 -2
- package/dist/cdn/{WVBJT3KJ.js → YXTFYHB6.js} +2 -2
- package/dist/cdn/{KRNP4CGA.js → Z3RUYS7W.js} +2 -2
- package/dist/cdn/{PWHYQ33C.js → ZNGGIDSV.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.js +1 -1
- 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.js +1 -1
- 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.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.js +1 -1
- 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.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.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +12 -9
- package/dist/components/arcgis-video-player-action-bar/customElement.js +31 -19
- package/dist/components/arcgis-video-player-action-bar/index.d.ts +1 -0
- package/dist/components/arcgis-video-player-action-bar/index.js +1 -0
- package/dist/components/arcgis-video-player-actions-group/customElement.js +18 -15
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- 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 +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/HVBCNPKR.js +0 -4
- package/dist/cdn/KD7SX2KK.js +0 -4
- package/dist/cdn/S6BWNAXH.js +0 -4
|
@@ -3,7 +3,7 @@ import { html as c } from "lit-html";
|
|
|
3
3
|
import { LitElement as v, createEvent as b, noShadowRoot as f, nothing as x } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
6
|
-
v4.33.
|
|
6
|
+
v4.33.13 */
|
|
7
7
|
class I extends v {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this.arcgisManageVersion = b();
|
|
@@ -5,7 +5,7 @@ import { LitElement as L, createEvent as r } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as y } 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.
|
|
8
|
+
v4.33.13 */
|
|
9
9
|
const N = y`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`;
|
|
10
10
|
class U extends L {
|
|
11
11
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { LitElement as V, createEvent as d, noShadowRoot as $ } from "@arcgis/lu
|
|
|
5
5
|
import { css as I } 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.
|
|
8
|
+
v4.33.13 */
|
|
9
9
|
const x = I`@layer{:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}}`;
|
|
10
10
|
class C extends V {
|
|
11
11
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { LitElement as r, createEvent as o, noShadowRoot as h } from "@arcgis/lu
|
|
|
6
6
|
import { css as l } 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.
|
|
9
|
+
v4.33.13 */
|
|
10
10
|
const d = l`@layer{arcgis-video{display:block;height:100%;width:100%;.esri-view{height:100%;width:100%}}}`, c = s(a, {
|
|
11
11
|
omitProps: ["container", "navigation", "scale", "ui"]
|
|
12
12
|
});
|
|
@@ -5,24 +5,24 @@ import { classes as v } from "@arcgis/components-utils";
|
|
|
5
5
|
import u from "@arcgis/core/widgets/VideoPlayer/VideoPlayerViewModel.js";
|
|
6
6
|
import { watch as t } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
7
|
import { LitElement as m, createEvent as a, noShadowRoot as g, safeClassMap as o } from "@arcgis/lumina";
|
|
8
|
-
import { createRef as f, ref as
|
|
9
|
-
import { u as
|
|
10
|
-
import { m as
|
|
8
|
+
import { createRef as f, ref as _ } from "lit-html/directives/ref.js";
|
|
9
|
+
import { u as p } from "../../chunks/useT9n.js";
|
|
10
|
+
import { m as y } 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.
|
|
15
|
+
v4.33.13 */
|
|
16
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
|
-
}, $ =
|
|
19
|
+
}, $ = y(u);
|
|
20
20
|
class b extends m {
|
|
21
21
|
constructor() {
|
|
22
|
-
super(...arguments), this.messages =
|
|
22
|
+
super(...arguments), this.messages = p({ 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, followingMode: 1, 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, _isLive: 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
28
|
this.styles = M;
|
|
@@ -51,6 +51,9 @@ class b extends m {
|
|
|
51
51
|
t(() => this.layer?.title, (e) => {
|
|
52
52
|
this._layerTitle = e ?? void 0;
|
|
53
53
|
}, { initial: !0 }),
|
|
54
|
+
t(() => this.layer?.isLive, (e) => {
|
|
55
|
+
this._isLive = e ?? void 0;
|
|
56
|
+
}, { initial: !0 }),
|
|
54
57
|
t(() => this.viewModel.view?.map, () => this.requestUpdate())
|
|
55
58
|
]);
|
|
56
59
|
}
|
|
@@ -64,10 +67,10 @@ class b extends m {
|
|
|
64
67
|
return this._isBuffering ? i`<calcite-progress type=indeterminate></calcite-progress>` : null;
|
|
65
68
|
}
|
|
66
69
|
_renderVideoSection() {
|
|
67
|
-
return i`<div class=${o(l.videoView)}><arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} @arcgisViewReadyChange=${() => this.arcgisVideoReady.emit()} ${
|
|
70
|
+
return i`<div class=${o(l.videoView)}><arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} @arcgisViewReadyChange=${() => this.arcgisVideoReady.emit()} ${_(this._videoViewRef)}></arcgis-video></div>`;
|
|
68
71
|
}
|
|
69
72
|
_renderSlider() {
|
|
70
|
-
return i`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue * 100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`;
|
|
73
|
+
return this._isLive ? null : i`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue * 100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`;
|
|
71
74
|
}
|
|
72
75
|
_renderActionBar() {
|
|
73
76
|
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>`;
|
|
@@ -1,32 +1,44 @@
|
|
|
1
|
-
import { c
|
|
2
|
-
import { html as
|
|
3
|
-
import { formatDate as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as
|
|
1
|
+
import { c } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as t } from "lit-html";
|
|
3
|
+
import { formatDate as n } from "@arcgis/core/intl.js";
|
|
4
|
+
import { LitElement as d, safeClassMap as i } from "@arcgis/lumina";
|
|
5
|
+
import { css as p } from "@lit/reactive-element/css-tag.js";
|
|
6
|
+
import { watch as g } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
|
+
import { classes as v } from "@arcgis/components-utils";
|
|
6
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.
|
|
9
|
-
const
|
|
10
|
-
playerControlsGroup: `${
|
|
11
|
-
playerTimecode: `${
|
|
12
|
-
playerToolbar: `${
|
|
10
|
+
v4.33.13 */
|
|
11
|
+
const y = p`.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__toolbar-top-padding{padding-top:calc(var(--esri-video-player-controls-spacing) / 2)}.arcgis-video-player__timecode{display:flex;align-items:center;color:var(--calcite-color-text-3)}.arcgis-video-player__controls-group{display:flex;flex:1 0 auto;justify-content:flex-end}.arcgis-video-player__live-icon{color:var(--calcite-color-status-danger)}.arcgis-video-player__controls-container{display:flex;align-items:center;gap:var(--calcite-spacing-md)}`, e = "arcgis-video-player", o = {
|
|
12
|
+
playerControlsGroup: `${e}__controls-group`,
|
|
13
|
+
playerTimecode: `${e}__timecode`,
|
|
14
|
+
playerToolbar: `${e}__toolbar`,
|
|
15
|
+
playerToolbarTopPadding: `${e}__toolbar-top-padding`,
|
|
16
|
+
playerLiveIcon: `${e}__live-icon`,
|
|
17
|
+
playerControlsContainer: `${e}__controls-container`
|
|
13
18
|
};
|
|
14
|
-
function
|
|
15
|
-
return
|
|
19
|
+
function s(r) {
|
|
20
|
+
return n(Math.round(r) * 1e3, { minute: "2-digit", second: "2-digit" });
|
|
16
21
|
}
|
|
17
|
-
class
|
|
22
|
+
class m extends d {
|
|
18
23
|
static {
|
|
19
|
-
this.properties = { viewModel: 0, messages: 0, currentTime: 9, duration: 9, toggleMetadata: 0 };
|
|
24
|
+
this.properties = { _isLive: 16, viewModel: 0, messages: 0, currentTime: 9, duration: 9, toggleMetadata: 0 };
|
|
20
25
|
}
|
|
21
26
|
static {
|
|
22
|
-
this.styles =
|
|
27
|
+
this.styles = y;
|
|
28
|
+
}
|
|
29
|
+
loaded() {
|
|
30
|
+
this.manager.onLifecycle(() => [
|
|
31
|
+
g(() => this.viewModel.layer?.isLive, (a) => {
|
|
32
|
+
this._isLive = a ?? void 0;
|
|
33
|
+
}, { initial: !0 })
|
|
34
|
+
]);
|
|
23
35
|
}
|
|
24
36
|
render() {
|
|
25
|
-
const { messages:
|
|
26
|
-
return
|
|
37
|
+
const { messages: a } = this, l = this._isLive ? o.playerToolbarTopPadding : null;
|
|
38
|
+
return t`<div class=${i(v(o.playerToolbar, l))}><div class=${i(o.playerControlsContainer)}><arcgis-video-player-actions-group .messages=${a} .viewModel=${this.viewModel}></arcgis-video-player-actions-group>${this._isLive ? t`<calcite-icon class=${i(o.playerLiveIcon)} icon=beacon></calcite-icon>` : null}<div class=${i(o.playerTimecode)}>${s(this.currentTime)} / ${s(this.duration)}</div></div><arcgis-video-player-controls-group class=${i(o.playerControlsGroup)} .messages=${a} .toggleMetadata=${() => this.toggleMetadata()} .viewModel=${this.viewModel}></arcgis-video-player-controls-group></div>`;
|
|
27
39
|
}
|
|
28
40
|
}
|
|
29
|
-
|
|
41
|
+
c("arcgis-video-player-action-bar", m);
|
|
30
42
|
export {
|
|
31
|
-
|
|
43
|
+
m as VideoPlayerActionBar
|
|
32
44
|
};
|
|
@@ -1,34 +1,37 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as
|
|
3
|
-
import { watch as
|
|
4
|
-
import { LitElement as
|
|
1
|
+
import { c as p } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as t } from "lit-html";
|
|
3
|
+
import { watch as c } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import { LitElement as m, noShadowRoot as v } 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.
|
|
8
|
-
class
|
|
7
|
+
v4.33.13 */
|
|
8
|
+
class h extends m {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this._disabled = !1, this._playing = !1;
|
|
11
11
|
}
|
|
12
12
|
static {
|
|
13
|
-
this.properties = { _disabled: 16, _playing: 16, viewModel: 0, messages: 0 };
|
|
13
|
+
this.properties = { _disabled: 16, _playing: 16, _isLive: 16, viewModel: 0, messages: 0 };
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
|
-
this.shadowRootOptions =
|
|
16
|
+
this.shadowRootOptions = v;
|
|
17
17
|
}
|
|
18
18
|
loaded() {
|
|
19
19
|
this.manager.onLifecycle(() => [
|
|
20
|
-
|
|
21
|
-
const { state: e, playing:
|
|
22
|
-
this._disabled = e === "not-ready" || e === "waiting", this._playing =
|
|
20
|
+
c(() => [this.viewModel.state, this.viewModel.playing], () => {
|
|
21
|
+
const { state: e, playing: i } = this.viewModel;
|
|
22
|
+
this._disabled = e === "not-ready" || e === "waiting", this._playing = i;
|
|
23
|
+
}, { initial: !0 }),
|
|
24
|
+
c(() => this.viewModel.layer?.isLive, (e) => {
|
|
25
|
+
this._isLive = e ?? void 0;
|
|
23
26
|
}, { initial: !0 })
|
|
24
27
|
]);
|
|
25
28
|
}
|
|
26
29
|
render() {
|
|
27
|
-
const { viewModel: e, messages:
|
|
28
|
-
return
|
|
30
|
+
const { viewModel: e, messages: i, _disabled: a, _playing: n } = this, s = this._isLive, o = t`<calcite-action .active=${n} alignment=center .disabled=${a} .icon=${n ? "pause-f" : "play-f"} @click=${n ? () => e.pause() : () => e.play()} scale=s .text=${n ? i.pause : i.play}></calcite-action>`, l = s ? void 0 : t`<calcite-action alignment=center .disabled=${a} icon=reverse-f @click=${() => e.seekBackward()} scale=s .text=${i.reverse}></calcite-action>`, d = s ? void 0 : t`<calcite-action alignment=center .disabled=${a} icon=forward-f @click=${() => e.seekForward()} scale=s .text=${i.forward}></calcite-action>`, r = s ? void 0 : t`<calcite-action alignment=center .disabled=${a} icon=beginning-f @click=${() => e.seekToBeginning()} scale=s .text=${i.beginning}></calcite-action>`, g = s ? void 0 : t`<calcite-action alignment=center .disabled=${a} icon=end-f @click=${() => e.seekToEnding()} scale=s .text=${i.end}></calcite-action>`;
|
|
31
|
+
return t`<calcite-action-bar expand-disabled layout=horizontal scale=s>${[r, l, o, d, g]}</calcite-action-bar>`;
|
|
29
32
|
}
|
|
30
33
|
}
|
|
31
|
-
|
|
34
|
+
p("arcgis-video-player-actions-group", h);
|
|
32
35
|
export {
|
|
33
|
-
|
|
36
|
+
h as VideoPlayerActionsGroup
|
|
34
37
|
};
|
|
@@ -4,7 +4,7 @@ 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.
|
|
7
|
+
v4.33.13 */
|
|
8
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
|
}
|
|
@@ -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.
|
|
8
|
+
v4.33.13 */
|
|
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.
|
|
9
|
+
v4.33.13 */
|
|
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.
|
|
7
|
+
v4.33.13 */
|
|
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.
|
|
21
|
+
v4.33.13 */
|
|
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.
|
|
13
|
+
v4.33.13 */
|
|
14
14
|
const a = {
|
|
15
15
|
base: "arcgis-zoom",
|
|
16
16
|
horizontalLayout: "arcgis-zoom--horizontal",
|
package/dist/docs/api.json
CHANGED
package/dist/docs/docs.json
CHANGED
package/dist/docs/web-types.json
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s, g as t } from "./chunks/runtime.js";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
|
-
v4.33.
|
|
4
|
+
v4.33.13 */
|
|
5
5
|
const a = s, A = t;
|
|
6
6
|
export {
|
|
7
7
|
A as getArcgisAssetPath,
|
package/dist/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
5
|
-
v4.33.
|
|
5
|
+
v4.33.13 */
|
|
6
6
|
const a = t(e, {
|
|
7
7
|
"arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,snappingOptions:,state,unit,unitOptions:;clear,destroy,start"],
|
|
8
8
|
"arcgis-area-measurement-3d": [() => import("./components/arcgis-area-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;clear,destroy,start"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
|
-
"version": "4.33.
|
|
3
|
+
"version": "4.33.13",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
],
|
|
43
43
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@arcgis/components-utils": "4.33.
|
|
46
|
-
"@arcgis/lumina": "4.33.
|
|
45
|
+
"@arcgis/components-utils": "4.33.13",
|
|
46
|
+
"@arcgis/lumina": "4.33.13",
|
|
47
47
|
"tslib": "^2.8.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
package/dist/cdn/HVBCNPKR.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.11 */
|
|
4
|
-
import{E as n,P as l,U as o,k as a}from"./275LO4BA.js";export default $arcgis.t(([{watch:$}])=>{var s=class extends l{constructor(){super(...arguments),this._disabled=!1,this._playing=!1}static{this.properties={_disabled:16,_playing:16,viewModel:0,messages:0}}static{this.shadowRootOptions=n}loaded(){this.manager.onLifecycle(()=>[$(()=>[this.viewModel.state,this.viewModel.playing],()=>{let{state:e,playing:i}=this.viewModel;this._disabled=e==="not-ready"||e==="waiting",this._playing=i},{initial:!0})])}render(){let{viewModel:e,messages:i,_disabled:t,_playing:c}=this,r=a`<calcite-action .active=${c} alignment=center .disabled=${t} .icon=${c?"pause-f":"play-f"} @click=${c?()=>e.pause():()=>e.play()} scale=s .text=${c?i.pause:i.play}></calcite-action>`,d=a`<calcite-action alignment=center .disabled=${t} icon=reverse-f @click=${()=>e.seekBackward()} scale=s .text=${i.reverse}></calcite-action>`,g=a`<calcite-action alignment=center .disabled=${t} icon=forward-f @click=${()=>e.seekForward()} scale=s .text=${i.forward}></calcite-action>`,p=a`<calcite-action alignment=center .disabled=${t} icon=beginning-f @click=${()=>e.seekToBeginning()} scale=s .text=${i.beginning}></calcite-action>`,m=a`<calcite-action alignment=center .disabled=${t} icon=end-f @click=${()=>e.seekToEnding()} scale=s .text=${i.end}></calcite-action>`;return a`<calcite-action-bar expand-disabled layout=horizontal scale=s>${[p,d,r,g,m]}</calcite-action-bar>`}};o("arcgis-video-player-actions-group",s);return s},"core/reactiveUtils")
|
package/dist/cdn/KD7SX2KK.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.11 */
|
|
4
|
-
import{P as c,Q as e,U as n,j as t,k as l}from"./275LO4BA.js";export default $arcgis.t(([{formatDate:p}])=>{var g=t`.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={playerControlsGroup:`${o}__controls-group`,playerTimecode:`${o}__timecode`,playerToolbar:`${o}__toolbar`};function d(i){return p(Math.round(i)*1e3,{minute:"2-digit",second:"2-digit"})}var a=class extends c{static{this.properties={viewModel:0,messages:0,currentTime:9,duration:9,toggleMetadata:0}}static{this.styles=g}render(){let{messages:s}=this;return l`<div class=${e(r.playerToolbar)}><arcgis-video-player-actions-group .messages=${s} .viewModel=${this.viewModel}></arcgis-video-player-actions-group><div class=${e(r.playerTimecode)}>${d(this.currentTime)} / ${d(this.duration)}</div><arcgis-video-player-controls-group class=${e(r.playerControlsGroup)} .messages=${s} .toggleMetadata=${()=>this.toggleMetadata()} .viewModel=${this.viewModel}></arcgis-video-player-controls-group></div>`}};n("arcgis-video-player-action-bar",a);return a},"intl")
|
package/dist/cdn/S6BWNAXH.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.11 */
|
|
4
|
-
import{a as f,b as _}from"./2DJVMH3H.js";import g from"./5ZZRS236.js";import{a as m}from"./WPCWXWPN.js";import{a as p}from"./KTFJ5HKQ.js";import d from"./I7PMIGV5.js";import b from"./3HTNHRX6.js";import{e as u}from"./GX5LGQ6N.js";import"./TZEI7VRQ.js";import"./ARKT24ZT.js";import{B as s,E as h,P as c,Q as a,U as v,a as l,j as n,k as e}from"./275LO4BA.js";export default $arcgis.t(([M,{watch:t},,,g])=>{var $=n`@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)}}`,y="arcgis-video-player",w={base:y,videoView:`${y}__video-view`},b=g(M),o=class extends c{constructor(){super(...arguments),this.messages=m({blocking:!0}),this.viewModel=b(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=u()("state","layer"),this.arcgisReady=s(),this.arcgisVideoReady=s()}static{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}}static{this.styles=$}static{this.shadowRootOptions=h}get followingMode(){return this.viewModel.followingMode}set followingMode(i){this.viewModel.followingMode=i}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[t(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:i,currentTime:d,duration:r,ended:V}=this.viewModel;this._duration=r,this._currentTime=d,this._bufferedValue=i/(r||1),this._currentValue=d/(r||1),this._isBuffering=!V&&this._bufferedValue<this._currentValue}),t(()=>this._videoViewRef.value?.ready,i=>{this._videoViewReady=!!i},{initial:!0}),t(()=>this.layer?.title,i=>{this._layerTitle=i??void 0},{initial:!0}),t(()=>this.viewModel.view?.map,()=>this.requestUpdate())])}render(){return e`<div class=${a(l(w.base,p.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>`}_renderLoadingScrim(){return this._videoViewReady?null:e`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?e`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return e`<div class=${a(w.videoView)}><arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${_(this._videoViewRef)}></arcgis-video></div>`}_renderSlider(){return e`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return e`<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>`}_renderMetadataSection(){return this._metadataVisible?e`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};v("arcgis-video-player",o);return o},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",b,d,g)
|