@arcgis/map-components 4.33.1 → 4.33.3
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/{4TG5QIQI.js → 2NYCOITX.js} +2 -2
- package/dist/cdn/{K6ZIBH6B.js → 2YYNJWOV.js} +2 -2
- package/dist/cdn/{LLY52JWY.js → 32MOXKYT.js} +2 -2
- package/dist/cdn/{WCKGITSP.js → 37YJGO7M.js} +2 -2
- package/dist/cdn/{RIDBU4IW.js → 3FBAARQI.js} +2 -2
- package/dist/cdn/{W4TWQUSB.js → 3KO5BSX6.js} +2 -2
- package/dist/cdn/{QDE64JRZ.js → 3OVHUXHE.js} +2 -2
- package/dist/cdn/{QC5ZKEK4.js → 3VKHCNNV.js} +2 -2
- package/dist/cdn/{EVV2MFHS.js → 44HPTZGL.js} +2 -2
- package/dist/cdn/{37UQDEH5.js → 4AYC6KOL.js} +2 -2
- package/dist/cdn/{ADA5SV76.js → 4FOPIX54.js} +2 -2
- package/dist/cdn/{IU6GR5BD.js → 4OFNSLMG.js} +2 -2
- package/dist/cdn/{DVVWDEX3.js → 4PXAIAG6.js} +2 -2
- package/dist/cdn/{LW742YBL.js → 5352723B.js} +2 -2
- package/dist/cdn/{JWAC6BEU.js → 55EU7PBX.js} +2 -2
- package/dist/cdn/{7BK74YFB.js → 56L7FVSN.js} +2 -2
- package/dist/cdn/{F46NDBYC.js → 5WOEYHKW.js} +2 -2
- package/dist/cdn/{MALB4YPY.js → 5ZBXGPRU.js} +2 -2
- package/dist/cdn/{CVY6DEYG.js → 67AWPCF5.js} +2 -2
- package/dist/cdn/{CIIJBVC4.js → 6QFHM2EG.js} +2 -2
- package/dist/cdn/{GATIY27S.js → 6YAF3ZB5.js} +1 -1
- package/dist/cdn/{BFYFXW7V.js → 73BQHGLX.js} +2 -2
- package/dist/cdn/{L6BWLCZG.js → 73MZTUUH.js} +2 -2
- package/dist/cdn/{VHLPH62G.js → 7IKJ3FS2.js} +2 -2
- package/dist/cdn/{IQLTHUCA.js → A755QDPQ.js} +2 -2
- package/dist/cdn/{MQKQJ65Y.js → AICCGXXL.js} +2 -2
- package/dist/cdn/{I2SEGQNU.js → AJC2T752.js} +2 -2
- package/dist/cdn/{576B4JMD.js → BXGUJ2SN.js} +2 -2
- package/dist/cdn/{MB7WPJOE.js → C4BND6JW.js} +2 -2
- package/dist/cdn/{XBFW2TEJ.js → CABAUGZ6.js} +2 -2
- package/dist/cdn/{PIRSQBTP.js → CAQQ6OTR.js} +2 -2
- package/dist/cdn/{AOQHR6OK.js → CQJ26WZ3.js} +2 -2
- package/dist/cdn/{P4IGGWZV.js → CS4PJG2A.js} +2 -2
- package/dist/cdn/{WDTQJKCJ.js → CWPEXU35.js} +2 -2
- package/dist/cdn/{IBJB2RZE.js → CZAWM6TU.js} +2 -2
- package/dist/cdn/{GRMTVWH3.js → DE6IDCOZ.js} +1 -1
- package/dist/cdn/{LMVDP4TV.js → DG77PPOU.js} +2 -2
- package/dist/cdn/{VUIQYQHJ.js → DL3IXCJI.js} +2 -2
- package/dist/cdn/{B3ED5X7X.js → DSQJRTFQ.js} +2 -2
- package/dist/cdn/{LRFGHVUK.js → E3OLQSZN.js} +2 -2
- package/dist/cdn/{X5GFSRRP.js → E5N7VH5I.js} +2 -2
- package/dist/cdn/{4MCFBTTU.js → EBSEOXIX.js} +2 -2
- package/dist/cdn/{5EJM5KI7.js → EHB66OAC.js} +2 -2
- package/dist/cdn/{WVQNMSLV.js → EJOGQTZP.js} +2 -2
- package/dist/cdn/EWOK3C67.js +4 -0
- package/dist/cdn/{CYOKEDRC.js → F6QT6ECH.js} +2 -2
- package/dist/cdn/{2WTEJL6Y.js → FECV7GAN.js} +2 -2
- package/dist/cdn/{2M5CN2OI.js → FVSSY645.js} +2 -2
- package/dist/cdn/{AQJJENSD.js → GBFNIDKV.js} +2 -2
- package/dist/cdn/{W6IVPP6A.js → GTXEZQU4.js} +2 -2
- package/dist/cdn/{VS6BYEDK.js → GUE6RHTB.js} +2 -2
- package/dist/cdn/{6GSLCRDI.js → HMW5CR2Y.js} +2 -2
- package/dist/cdn/{YJTCDYKS.js → I5HHDRAL.js} +2 -2
- package/dist/cdn/{VMAWTXGQ.js → IGQWYA2U.js} +2 -2
- package/dist/cdn/{WLCYONPP.js → IKKM5CMP.js} +2 -2
- package/dist/cdn/{SA66OZDJ.js → IZYUBF63.js} +2 -2
- package/dist/cdn/{GX337M4H.js → J5M3MFF7.js} +2 -2
- package/dist/cdn/{C3VP4MEH.js → J5SYMPRE.js} +2 -2
- package/dist/cdn/{DZLTDQMS.js → JBZ7JISI.js} +2 -2
- package/dist/cdn/{JAQKTXRP.js → JP5M5O7W.js} +2 -2
- package/dist/cdn/{MKKYDCSB.js → JR2YC2VE.js} +2 -2
- package/dist/cdn/K56I6V2O.js +4 -0
- package/dist/cdn/{Y2JB2AWH.js → KIWR344X.js} +1 -1
- package/dist/cdn/{U5PS4CJE.js → KJQXFBSM.js} +2 -2
- package/dist/cdn/{EEQ7W7FA.js → KWIIYYIZ.js} +2 -2
- package/dist/cdn/{5TMYPGGU.js → LS3GCRRT.js} +2 -2
- package/dist/cdn/{6LGQGIKL.js → M2S7U2BV.js} +2 -2
- package/dist/cdn/{PZ4FJX63.js → M4UXGU43.js} +2 -2
- package/dist/cdn/{6S4X5TNP.js → M4VCLERX.js} +2 -2
- package/dist/cdn/{7FNS5GKL.js → MIK6GUUT.js} +1 -1
- package/dist/cdn/{OQRB3ED6.js → MOJSVOAT.js} +2 -2
- package/dist/cdn/{BIENUJVK.js → MUGJNY6P.js} +2 -2
- package/dist/cdn/{FDAUAGHS.js → N5IG6NTF.js} +2 -2
- package/dist/cdn/{RWRJWN5W.js → N6C4MLSY.js} +2 -2
- package/dist/cdn/{YTFZHSCO.js → NHY7TT2W.js} +2 -2
- package/dist/cdn/{JYSHFWHK.js → NNWYO6PX.js} +2 -2
- package/dist/cdn/{UUTL7VWO.js → OKERQFP7.js} +2 -2
- package/dist/cdn/{JUZQNHUA.js → ONTJELKY.js} +1 -1
- package/dist/cdn/{GMRNW7G2.js → OP5EG4RO.js} +2 -2
- package/dist/cdn/{GR62M3V6.js → P27CO3GJ.js} +2 -2
- package/dist/cdn/{UZQXKSX4.js → P3BOAUMX.js} +2 -2
- package/dist/cdn/{EHP2VCH6.js → Q5QKN4GY.js} +2 -2
- package/dist/cdn/{ZQAKW2FT.js → Q6UZLJI7.js} +2 -2
- package/dist/cdn/{KSSCTJYY.js → QMVIDMZW.js} +2 -2
- package/dist/cdn/{5F7KQLR3.js → QOHHNNXT.js} +2 -2
- package/dist/cdn/{SUU45IDT.js → RQTFN3C6.js} +2 -2
- package/dist/cdn/{GPBPAEM5.js → RVGK4CRM.js} +2 -2
- package/dist/cdn/{JHX46DKS.js → S3TG6536.js} +2 -2
- package/dist/cdn/{OWFMS6XH.js → SAL66TVH.js} +2 -2
- package/dist/cdn/{ZZISHF4E.js → SDUSFOLX.js} +2 -2
- package/dist/cdn/{24JME5L3.js → SK6HYH7L.js} +2 -2
- package/dist/cdn/{VLI5BLBK.js → SK7CEB4O.js} +2 -2
- package/dist/cdn/{6MELQAZG.js → SPVIMYDF.js} +2 -2
- package/dist/cdn/{Y6A6J24B.js → SVHADXEC.js} +2 -2
- package/dist/cdn/{R25PJ3ZK.js → T4TONZC2.js} +2 -2
- package/dist/cdn/{5HIUIDQJ.js → T6XAWRNY.js} +2 -2
- package/dist/cdn/{AFX6V7E6.js → T7Q2PNFK.js} +2 -2
- package/dist/cdn/{FLFHNVOV.js → TLQ7AXTG.js} +2 -2
- package/dist/cdn/{B57HXHPN.js → U2PUNBEB.js} +2 -2
- package/dist/cdn/{TWV2RJNJ.js → UYHM6FHR.js} +2 -2
- package/dist/cdn/{SE7ONTH2.js → V2RZ3H3D.js} +2 -2
- package/dist/cdn/{EHOOKWMP.js → VB2JKL5U.js} +1 -1
- package/dist/cdn/{K4CRKZ32.js → VFIBAPVK.js} +2 -2
- package/dist/cdn/{RDA43LOF.js → VNGJTSYI.js} +1 -1
- package/dist/cdn/{J57UWH7A.js → VSUAHALV.js} +2 -2
- package/dist/cdn/{4R67ACT6.js → VUGOXWOY.js} +2 -2
- package/dist/cdn/{AGECU22T.js → WJJFDNWJ.js} +1 -1
- package/dist/cdn/{NN337C3Q.js → WN765ZVO.js} +2 -2
- package/dist/cdn/{K2KPFMZT.js → X4ZQ7VO4.js} +2 -2
- package/dist/cdn/{QHZXEI4P.js → X5K3EZNA.js} +2 -2
- package/dist/cdn/{7CEG4YKT.js → X6EHC6B5.js} +2 -2
- package/dist/cdn/{T6RYR23O.js → XH2DQEDT.js} +2 -2
- package/dist/cdn/{PBBJ66NS.js → XPYQEFIQ.js} +2 -2
- package/dist/cdn/{DBNU2AD4.js → YAWWW5YY.js} +2 -2
- package/dist/cdn/{WJCTTLME.js → YMJDJJJ4.js} +2 -2
- package/dist/cdn/{GVO5JPGT.js → YRRUNK45.js} +2 -2
- package/dist/cdn/{HSDDK3ON.js → ZHL3AZ4O.js} +2 -2
- package/dist/cdn/{3AIBWFDD.js → ZPEV3LKL.js} +2 -2
- package/dist/cdn/ZSMSQAE5.js +4 -0
- 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.d.ts +16 -4
- 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/SliceViewModel.d.ts +0 -1
- package/dist/components/arcgis-slice/customElement.js +32 -40
- 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 +7 -1
- package/dist/components/arcgis-video/customElement.js +11 -11
- package/dist/components/arcgis-video-player/customElement.js +15 -14
- 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 +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 +46 -5
- package/dist/docs/docs.json +44 -5
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +7 -2
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cdn/352JDFJ4.js +0 -4
- package/dist/cdn/ATVTAIAC.js +0 -4
- package/dist/cdn/Z7W524IM.js +0 -4
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as $ } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as r } from "lit-html";
|
|
3
|
-
import { usePropertyChange as
|
|
4
|
-
import { LitElement as L, createEvent as b, noShadowRoot as
|
|
3
|
+
import { usePropertyChange as w } from "@arcgis/lumina/controllers";
|
|
4
|
+
import { LitElement as L, createEvent as b, noShadowRoot as S, safeClassMap as a, nothing as M } from "@arcgis/lumina";
|
|
5
5
|
import { css as E } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
import { m as C } from "../../chunks/useViewModel.js";
|
|
7
7
|
import { A as k } from "../../chunks/AnalysisViewModel.js";
|
|
8
8
|
import V from "@arcgis/core/analysis/SliceAnalysis.js";
|
|
9
|
-
import { property as
|
|
9
|
+
import { property as h, subclass as G } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
10
10
|
import { u as A } from "../../chunks/useT9n.js";
|
|
11
11
|
import { ignoreAbortErrors as T } from "@arcgis/core/core/promiseUtils.js";
|
|
12
12
|
import { H as D } from "../../chunks/heading.js";
|
|
13
|
-
import { g as
|
|
13
|
+
import { g as f } from "../../chunks/globalCss.js";
|
|
14
14
|
import { watch as H } from "@arcgis/core/core/reactiveUtils.js";
|
|
15
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
16
16
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
17
|
-
v4.33.
|
|
17
|
+
v4.33.3 */
|
|
18
18
|
const O = E`@layer{arcgis-slice{display:block}.arcgis-slice__container{display:flex;padding:var(--esri-widget-padding-y) var(--esri-widget-padding-x);overflow-y:auto;--layer-item-background: var(--calcite-color-foreground-2)}.arcgis-slice__error{color:var(--calcite-color-status-danger)}.arcgis-slice__container,.arcgis-slice__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-slice__error,.arcgis-slice__hint{overflow:hidden;animation:arcgis-slice-fade-in .25s ease-in-out}.arcgis-slice__error p,.arcgis-slice__hint p{margin:0;padding:0}.arcgis-slice__hint:not(:has(*)){display:none}.arcgis-slice__layer-item{--calcite-color-foreground-2: var(--layer-item-background);--calcite-color-foreground-1: var(--layer-item-background)}.arcgis-slice__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}.arcgis-slice__actions:not(:has(*)){display:none}@keyframes arcgis-slice-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`;
|
|
19
|
-
var B = Object.defineProperty, P = Object.getOwnPropertyDescriptor, o = (e, i, t,
|
|
20
|
-
for (var c =
|
|
21
|
-
(
|
|
22
|
-
return
|
|
19
|
+
var B = Object.defineProperty, P = Object.getOwnPropertyDescriptor, o = (e, i, t, d) => {
|
|
20
|
+
for (var c = d > 1 ? void 0 : d ? P(i, t) : i, u = e.length - 1, y; u >= 0; u--)
|
|
21
|
+
(y = e[u]) && (c = (d ? y(i, t, c) : y(c)) || c);
|
|
22
|
+
return d && c && B(i, t, c), c;
|
|
23
23
|
};
|
|
24
24
|
const g = /* @__PURE__ */ new Set();
|
|
25
25
|
let n = class extends k {
|
|
@@ -48,7 +48,7 @@ let n = class extends k {
|
|
|
48
48
|
g.delete(this);
|
|
49
49
|
}
|
|
50
50
|
get state() {
|
|
51
|
-
return this.disabled || !this.ready ? "disabled" : this.
|
|
51
|
+
return this.disabled || !this.ready ? "disabled" : this._excludingLayers ? "excludingLayer" : this.operationState === "active" ? "slicing" : this.analysis.valid ? "sliced" : "ready";
|
|
52
52
|
}
|
|
53
53
|
get shape() {
|
|
54
54
|
return this.analysis.shape;
|
|
@@ -62,9 +62,6 @@ let n = class extends k {
|
|
|
62
62
|
set tiltEnabled(e) {
|
|
63
63
|
this.analysis.tiltEnabled = e;
|
|
64
64
|
}
|
|
65
|
-
get layersMode() {
|
|
66
|
-
return this._excludingLayers ? "exclude" : "none";
|
|
67
|
-
}
|
|
68
65
|
get excludedLayers() {
|
|
69
66
|
return this.analysis.excludedLayers;
|
|
70
67
|
}
|
|
@@ -90,25 +87,22 @@ let n = class extends k {
|
|
|
90
87
|
}
|
|
91
88
|
};
|
|
92
89
|
o([
|
|
93
|
-
|
|
90
|
+
h()
|
|
94
91
|
], n.prototype, "_excludingLayers", 2);
|
|
95
92
|
o([
|
|
96
|
-
|
|
93
|
+
h({ readOnly: !0 })
|
|
97
94
|
], n.prototype, "state", 1);
|
|
98
95
|
o([
|
|
99
|
-
|
|
96
|
+
h()
|
|
100
97
|
], n.prototype, "shape", 1);
|
|
101
98
|
o([
|
|
102
|
-
|
|
99
|
+
h()
|
|
103
100
|
], n.prototype, "tiltEnabled", 1);
|
|
104
101
|
o([
|
|
105
|
-
|
|
106
|
-
], n.prototype, "layersMode", 1);
|
|
107
|
-
o([
|
|
108
|
-
d()
|
|
102
|
+
h()
|
|
109
103
|
], n.prototype, "excludedLayers", 1);
|
|
110
104
|
o([
|
|
111
|
-
|
|
105
|
+
h()
|
|
112
106
|
], n.prototype, "excludeGroundSurface", 1);
|
|
113
107
|
n = o([
|
|
114
108
|
G("esri.components.Slice.SliceViewModel")
|
|
@@ -131,13 +125,13 @@ class N extends L {
|
|
|
131
125
|
constructor() {
|
|
132
126
|
super(...arguments), this.viewModel = I(this), this._messages = A(), this._onNewSliceClick = () => {
|
|
133
127
|
T(this.viewModel.start());
|
|
134
|
-
}, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.excludeGroundSurface = this.viewModel.excludeGroundSurface, this.excludedLayers = this.viewModel.excludedLayers, this.headingLevel = 3, this.icon = "slice", this.position = "bottom-left", this.shape = this.viewModel.shape, this.state = this.viewModel.state, this.tiltEnabled = this.viewModel.tiltEnabled, this.arcgisPropertyChange =
|
|
128
|
+
}, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.excludeGroundSurface = this.viewModel.excludeGroundSurface, this.excludedLayers = this.viewModel.excludedLayers, this.headingLevel = 3, this.icon = "slice", this.position = "bottom-left", this.shape = this.viewModel.shape, this.state = this.viewModel.state, this.tiltEnabled = this.viewModel.tiltEnabled, this.arcgisPropertyChange = w()("analysis", "state"), this.arcgisReady = b();
|
|
135
129
|
}
|
|
136
130
|
static {
|
|
137
131
|
this.properties = { _hasVoxelLayers: 16, analysis: 0, autoDestroyDisabled: 5, excludeGroundSurface: 5, excludedLayers: 0, headingLevel: 9, icon: 3, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, shape: 0, state: 35, tiltEnabled: 5 };
|
|
138
132
|
}
|
|
139
133
|
static {
|
|
140
|
-
this.shadowRootOptions =
|
|
134
|
+
this.shadowRootOptions = S;
|
|
141
135
|
}
|
|
142
136
|
static {
|
|
143
137
|
this.styles = O;
|
|
@@ -166,33 +160,31 @@ class N extends L {
|
|
|
166
160
|
render() {
|
|
167
161
|
return r`<div class=${a({
|
|
168
162
|
[s.base]: !0,
|
|
169
|
-
[
|
|
170
|
-
[
|
|
163
|
+
[f.widget]: !0,
|
|
164
|
+
[f.panel]: !0
|
|
171
165
|
})} role=presentation>${this._renderContainerNode()}</div>`;
|
|
172
166
|
}
|
|
173
167
|
_renderContainerNode() {
|
|
174
|
-
const i = this._messages, { state: t, visible:
|
|
175
|
-
if (!
|
|
168
|
+
const i = this._messages, { state: t, visible: d, supported: c } = this.viewModel, u = t === "slicing" || t === "excludingLayer";
|
|
169
|
+
if (!d || !c)
|
|
176
170
|
return null;
|
|
177
171
|
c || r`<div class=${a(s.container)}><div class=${a(s.error)}><p>${this._messages.unsupported}</p></div></div>`;
|
|
178
|
-
const { excludedLayers:
|
|
179
|
-
return r`<div class=${a(s.container)}><div class=${a(s.hint)}>${t === "excludingLayer" ? r`<p class=${a(s.hintText)}>${i.excludeHint}</p>` : null}${t === "slicing" ? r`<p class=${a(s.hintText)}>${this._hasVoxelLayers ? i.voxelHint : i.hint}</p><p class=${a(s.hintText)}>${i.verticalHint}</p>` : null}</div>${!
|
|
180
|
-
this.excludedLayers.remove(
|
|
172
|
+
const { excludedLayers: y } = this.viewModel, m = this.excludeGroundSurface, v = y.length > 0 || m, p = t === "disabled";
|
|
173
|
+
return r`<div class=${a(s.container)}><div class=${a(s.hint)}>${t === "excludingLayer" ? r`<p class=${a(s.hintText)}>${i.excludeHint}</p>` : null}${t === "slicing" ? r`<p class=${a(s.hintText)}>${this._hasVoxelLayers ? i.voxelHint : i.hint}</p><p class=${a(s.hintText)}>${i.verticalHint}</p>` : null}</div>${!u && v ? r`<div class=${a(s.layerList)}>${D({ class: s.layerListHeading, level: this.headingLevel, children: i.excludedLayers })}${j({ layers: y.toArray(), excludeGroundSurface: m, onLayerClick: (x) => {
|
|
174
|
+
this.excludedLayers.remove(x);
|
|
181
175
|
}, onGroundClick: () => {
|
|
182
176
|
this.excludeGroundSurface = !1;
|
|
183
|
-
}, listLabel: i.excludedLayers, layerActionLabel: i.includeLayer, groundItemTitle: i.ground })}</div>` : null}<div class=${a(s.actions)}>${
|
|
184
|
-
this.viewModel.layersMode === "exclude" && this.viewModel.stop();
|
|
185
|
-
}}>${i.cancel}</calcite-button>` : null}</div></div>`;
|
|
177
|
+
}, listLabel: i.excludedLayers, layerActionLabel: i.includeLayer, groundItemTitle: i.ground })}</div>` : null}<div class=${a(s.actions)}>${u ? null : r`<calcite-button class=${a(s.newSliceButton)} .disabled=${p} @click=${this._onNewSliceClick}>${i.newSlice}</calcite-button>`}${t === "sliced" ? r`<calcite-button appearance=outline-fill class=${a(s.excludeButton)} .disabled=${p} @click=${() => this.viewModel.pickLayerToExclude()}>${i.excludeLayer}</calcite-button>` : null}${t === "excludingLayer" ? r`<calcite-button appearance=outline-fill class=${a(s.cancelButton)} .disabled=${p} @click=${() => this.viewModel.stop()}>${i.cancel}</calcite-button>` : null}</div></div>`;
|
|
186
178
|
}
|
|
187
179
|
}
|
|
188
|
-
function
|
|
189
|
-
return r`<calcite-list-item class=${a(s.layerItem)} data-testid=${`list-item-${e.uid}`} .label=${e.title ?? ""}><calcite-action icon=x @click=${e.onClick} scale=s slot=actions-end .text=${e.actionLabel} title=${e.actionLabel ??
|
|
180
|
+
function _(e) {
|
|
181
|
+
return r`<calcite-list-item class=${a(s.layerItem)} data-testid=${`list-item-${e.uid}`} .label=${e.title ?? ""}><calcite-action icon=x @click=${e.onClick} scale=s slot=actions-end .text=${e.actionLabel} title=${e.actionLabel ?? M}></calcite-action></calcite-list-item>`;
|
|
190
182
|
}
|
|
191
183
|
function j(e) {
|
|
192
|
-
const i = e.layers.map((t) =>
|
|
193
|
-
return e.excludeGroundSurface && i.push(
|
|
184
|
+
const i = e.layers.map((t) => _({ uid: t.uid, title: t.title ?? "", onClick: () => e.onLayerClick(t), actionLabel: e.layerActionLabel }));
|
|
185
|
+
return e.excludeGroundSurface && i.push(_({ uid: "ground", title: e.groundItemTitle, onClick: e.onGroundClick, actionLabel: e.layerActionLabel })), r`<calcite-list .label=${e.listLabel} selection-mode=none>${i}</calcite-list>`;
|
|
194
186
|
}
|
|
195
|
-
|
|
187
|
+
$("arcgis-slice", N);
|
|
196
188
|
export {
|
|
197
189
|
N as ArcgisSlice
|
|
198
190
|
};
|
|
@@ -7,7 +7,7 @@ import { m as g } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.
|
|
10
|
+
v4.33.3 */
|
|
11
11
|
const c = m`@layer{arcgis-slider{min-width:200px;min-height:25px}}`, r = g(n);
|
|
12
12
|
class d extends a {
|
|
13
13
|
constructor() {
|
|
@@ -11,7 +11,7 @@ import { l as b } from "../../chunks/legacyIcon.js";
|
|
|
11
11
|
import { css as A } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
14
|
-
v4.33.
|
|
14
|
+
v4.33.3 */
|
|
15
15
|
const H = A`@layer{arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent!important;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none!important}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input)}.arcgis-swipe__handle--hidden{visibility:hidden}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}`, l = "arcgis-swipe", n = {
|
|
16
16
|
base: l,
|
|
17
17
|
baseDisabled: `${l}--disabled`,
|
|
@@ -8,7 +8,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
import { c as d } from "../../chunks/createCloseEvent.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.
|
|
11
|
+
v4.33.3 */
|
|
12
12
|
const n = h`@layer{arcgis-table-list{display:block}}`, m = a(s);
|
|
13
13
|
class c extends o {
|
|
14
14
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
import { when as r } from "@arcgis/core/core/reactiveUtils.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.
|
|
11
|
+
v4.33.3 */
|
|
12
12
|
const m = d`@layer{arcgis-time-slider{display:block}}`, c = n(o);
|
|
13
13
|
class g extends a {
|
|
14
14
|
constructor() {
|
|
@@ -10,7 +10,7 @@ import { u as $ } from "../../chunks/useView.js";
|
|
|
10
10
|
import { when as y, watch as z } from "@arcgis/core/core/reactiveUtils.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.3 */
|
|
14
14
|
const D = f`@layer{.arcgis-time-zone-label{display:inline-flex;background-color:var(--calcite-color-foreground-1)}.arcgis-time-zone-label__badge{display:flex;padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-1)}.arcgis-time-zone-label__badge--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__badge--hidden{display:none}.arcgis-time-zone-label__badge-icon{align-self:center}.arcgis-time-zone-label__name{--calcite-color-background: transparent;--calcite-color-border-input: transparent;--calcite-font-weight-medium: normal;pointer-events:none}.arcgis-time-zone-label__name--hidden{display:none}.arcgis-time-zone-label__label{--calcite-label-margin-bottom: 0;align-items:center;padding-inline:var(--calcite-spacing-sm)}.arcgis-time-zone-label__label--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__label--hidden{display:none}}`, t = "esri-time-zone-label", i = {
|
|
15
15
|
base: t,
|
|
16
16
|
badge: `${t}__badge`,
|
|
@@ -11,7 +11,7 @@ import { g as c } from "../../chunks/globalCss.js";
|
|
|
11
11
|
import { css as T } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
14
|
-
v4.33.
|
|
14
|
+
v4.33.3 */
|
|
15
15
|
const y = T`@layer{arcgis-track{display:block}}`, $ = {
|
|
16
16
|
base: "esri-track"
|
|
17
17
|
}, D = b(v);
|
|
@@ -6,7 +6,7 @@ import { LitElement as g, createEvent as u, safeClassMap as p } from "@arcgis/lu
|
|
|
6
6
|
import { css as h } 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.3 */
|
|
10
10
|
const b = h`.arcgis-unit-select{width:100%}.arcgis-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}`, $ = "arcgis-unit-select", d = {
|
|
11
11
|
label: `${$}__label`
|
|
12
12
|
};
|
|
@@ -4,7 +4,7 @@ import { LitElement as c, createEvent as r, noShadowRoot as h } from "@arcgis/lu
|
|
|
4
4
|
import { m as A } from "../../chunks/useWidget.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.3 */
|
|
8
8
|
const S = A(a);
|
|
9
9
|
class g extends c {
|
|
10
10
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { LitElement as r, createEvent as a, noShadowRoot as o } from "@arcgis/lu
|
|
|
6
6
|
import { m as l } from "../../chunks/useWidget.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.3 */
|
|
10
10
|
const d = l(s);
|
|
11
11
|
class h extends r {
|
|
12
12
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { LitElement as a, createEvent as r, noShadowRoot as l } from "@arcgis/lu
|
|
|
6
6
|
import { m as h } from "../../chunks/useWidget.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.3 */
|
|
10
10
|
const w = h(
|
|
11
11
|
// Workaround for https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/69562
|
|
12
12
|
s
|
|
@@ -7,7 +7,7 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.
|
|
10
|
+
v4.33.3 */
|
|
11
11
|
const l = r`@layer{arcgis-value-picker{display:block}}`, c = h(s);
|
|
12
12
|
class u extends a {
|
|
13
13
|
constructor() {
|
|
@@ -9,7 +9,7 @@ import { m as A } from "../../chunks/useViewModel.js";
|
|
|
9
9
|
import { css as T } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
12
|
-
v4.33.
|
|
12
|
+
v4.33.3 */
|
|
13
13
|
const O = T`@layer{.arcgis-version-management{.component-container-flow{width:300px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}}`, R = A(C), I = "map-components:version-management";
|
|
14
14
|
class U extends N {
|
|
15
15
|
constructor() {
|
|
@@ -3,7 +3,7 @@ import { LitElement as A, createEvent as t, noShadowRoot as _, safeClassMap as v
|
|
|
3
3
|
import { html as s, render as S } from "lit-html";
|
|
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.3 */
|
|
7
7
|
class U extends A {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this._showInvalidVersionNotice = !0, this.arcgisCreateVersionList = t(), this.arcgisFlowItemBack = t(), this.arcgisFlowItemClose = t(), this.arcgisGetVersions = t(), this.arcgisManageVersion = t(), this.arcgisNewVersion = t();
|
|
@@ -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.3 */
|
|
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.3 */
|
|
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.3 */
|
|
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() {
|
|
@@ -4,7 +4,7 @@ import { Use } from '@arcgis/lumina/controllers';
|
|
|
4
4
|
import { default as VideoView } from '@arcgis/core/views/VideoView.js';
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
6
|
|
|
7
|
-
declare const useVideoView: (component: LitElement & Omit<Pick<VideoView, "container" | "navigation" | "scale" | "ui" | "layer">, "container" | "navigation" | "scale" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "ui"> & {
|
|
7
|
+
declare const useVideoView: (component: LitElement & Omit<Pick<VideoView, "container" | "map" | "navigation" | "scale" | "ui" | "layer">, "container" | "navigation" | "scale" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "ui"> & {
|
|
8
8
|
autoDestroyDisabled: boolean;
|
|
9
9
|
destroy: () => Promise<void>;
|
|
10
10
|
}) => VideoView;
|
|
@@ -59,6 +59,12 @@ export declare class ArcgisVideo extends LitElement {
|
|
|
59
59
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-VideoView.html#layer)
|
|
60
60
|
*/
|
|
61
61
|
layer: nullish | __esri.VideoLayer;
|
|
62
|
+
/**
|
|
63
|
+
* A reference to the associated [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html) or [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html).
|
|
64
|
+
*
|
|
65
|
+
* @default null
|
|
66
|
+
*/
|
|
67
|
+
map: __esri.Map | nullish | __esri.WebMap;
|
|
62
68
|
/** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
|
|
63
69
|
destroy(): Promise<void>;
|
|
64
70
|
readonly arcgisViewReadyChange: TargetedEvent<this, void>;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
|
2
2
|
import { makeAccessorController as s } from "@arcgis/lumina/controllers/accessor";
|
|
3
|
-
import { watch as
|
|
3
|
+
import { watch as e } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import a from "@arcgis/core/views/VideoView.js";
|
|
5
5
|
import { LitElement as r, createEvent as o, noShadowRoot as h } from "@arcgis/lumina";
|
|
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.3 */
|
|
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
|
});
|
|
13
|
-
class
|
|
13
|
+
class m extends r {
|
|
14
14
|
constructor() {
|
|
15
|
-
super(), this.autoDestroyDisabled = !1, this.view = c(this), this.ready = this.view.ready, this.layer = this.view.layer, this.arcgisViewReadyChange = o();
|
|
15
|
+
super(), this.autoDestroyDisabled = !1, this.view = c(this), this.ready = this.view.ready, this.layer = this.view.layer, this.map = this.view.map, this.arcgisViewReadyChange = o();
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
|
-
this.properties = { autoDestroyDisabled: 5, view: 32, ready: 4, layer: 0 };
|
|
18
|
+
this.properties = { autoDestroyDisabled: 5, view: 32, ready: 4, layer: 0, map: 0 };
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
21
|
this.shadowRootOptions = h;
|
|
@@ -27,21 +27,21 @@ class n extends r {
|
|
|
27
27
|
await this.manager.destroy();
|
|
28
28
|
}
|
|
29
29
|
load() {
|
|
30
|
-
const
|
|
31
|
-
|
|
30
|
+
const i = this;
|
|
31
|
+
i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container = i.el.childElem;
|
|
32
32
|
}
|
|
33
33
|
loaded() {
|
|
34
34
|
this.manager.onLifecycle(() => [
|
|
35
|
-
|
|
35
|
+
e(() => this.layer, () => {
|
|
36
36
|
this.layer && this.view && (this.view.layer = this.layer, this.layer.loaded || this.layer.load());
|
|
37
37
|
}, { initial: !0 }),
|
|
38
|
-
|
|
38
|
+
e(() => this.view.ready, () => {
|
|
39
39
|
this.view.ready && this.arcgisViewReadyChange.emit();
|
|
40
40
|
}, { initial: this.view.ready })
|
|
41
41
|
]);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
t("arcgis-video",
|
|
44
|
+
t("arcgis-video", m);
|
|
45
45
|
export {
|
|
46
|
-
|
|
46
|
+
m as ArcgisVideo
|
|
47
47
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { c as h } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as i } from "lit-html";
|
|
3
3
|
import { usePropertyChange as c } from "@arcgis/lumina/controllers";
|
|
4
|
-
import { classes as
|
|
5
|
-
import
|
|
4
|
+
import { classes as v } from "@arcgis/components-utils";
|
|
5
|
+
import u 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 f, ref as
|
|
9
|
-
import { u as
|
|
10
|
-
import { m as
|
|
7
|
+
import { LitElement as m, createEvent as a, noShadowRoot as g, safeClassMap as o } from "@arcgis/lumina";
|
|
8
|
+
import { createRef as f, ref as p } from "lit-html/directives/ref.js";
|
|
9
|
+
import { u as y } from "../../chunks/useT9n.js";
|
|
10
|
+
import { m as _ } 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.3 */
|
|
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
|
-
}, $ =
|
|
20
|
-
class b extends
|
|
19
|
+
}, $ = _(u);
|
|
20
|
+
class b extends m {
|
|
21
21
|
constructor() {
|
|
22
|
-
super(...arguments), this.messages =
|
|
22
|
+
super(...arguments), this.messages = y({ 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
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 };
|
|
@@ -28,7 +28,7 @@ class b extends g {
|
|
|
28
28
|
this.styles = M;
|
|
29
29
|
}
|
|
30
30
|
static {
|
|
31
|
-
this.shadowRootOptions =
|
|
31
|
+
this.shadowRootOptions = g;
|
|
32
32
|
}
|
|
33
33
|
get followingMode() {
|
|
34
34
|
return this.viewModel.followingMode;
|
|
@@ -50,11 +50,12 @@ class b extends g {
|
|
|
50
50
|
}, { initial: !0 }),
|
|
51
51
|
t(() => this.layer?.title, (e) => {
|
|
52
52
|
this._layerTitle = e ?? void 0;
|
|
53
|
-
}, { initial: !0 })
|
|
53
|
+
}, { initial: !0 }),
|
|
54
|
+
t(() => this.viewModel.view?.map, () => this.requestUpdate())
|
|
54
55
|
]);
|
|
55
56
|
}
|
|
56
57
|
render() {
|
|
57
|
-
return i`<div class=${o(
|
|
58
|
+
return i`<div class=${o(v(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>`;
|
|
58
59
|
}
|
|
59
60
|
_renderLoadingScrim() {
|
|
60
61
|
return this._videoViewReady ? null : i`<calcite-scrim .loading=${this.state !== "error"}>${this.state === "error" ? this.messages.errorLoadingLayer : null}</calcite-scrim>`;
|
|
@@ -63,7 +64,7 @@ class b extends g {
|
|
|
63
64
|
return this._isBuffering ? i`<calcite-progress type=indeterminate></calcite-progress>` : null;
|
|
64
65
|
}
|
|
65
66
|
_renderVideoSection() {
|
|
66
|
-
return i`<div class=${o(l.videoView)}><arcgis-video .layer=${this.layer} @arcgisViewReadyChange=${() => this.arcgisVideoReady.emit()} ${
|
|
67
|
+
return i`<div class=${o(l.videoView)}><arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} @arcgisViewReadyChange=${() => this.arcgisVideoReady.emit()} ${p(this._videoViewRef)}></arcgis-video></div>`;
|
|
67
68
|
}
|
|
68
69
|
_renderSlider() {
|
|
69
70
|
return i`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue * 100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`;
|
|
@@ -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.
|
|
8
|
+
v4.33.3 */
|
|
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.
|
|
7
|
+
v4.33.3 */
|
|
8
8
|
class $ extends p {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this._disabled = !1, this._playing = !1;
|
|
@@ -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.3 */
|
|
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.3 */
|
|
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.3 */
|
|
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.3 */
|
|
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.3 */
|
|
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.3 */
|
|
14
14
|
const a = {
|
|
15
15
|
base: "arcgis-zoom",
|
|
16
16
|
horizontalLayout: "arcgis-zoom--horizontal",
|