@arcgis/map-components 4.34.0-next.2 → 4.34.0-next.21
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/2DIKFW7K.js +4 -0
- package/dist/cdn/{VRX7IRTW.js → 2FYM5HUD.js} +2 -2
- package/dist/cdn/{O57FJWKG.js → 3DS726OD.js} +2 -2
- package/dist/cdn/{IE47QEIE.js → 3KEZHG7W.js} +2 -2
- package/dist/cdn/3MMOB4OK.js +4 -0
- package/dist/cdn/{BOWV4BI5.js → 424JEX3C.js} +2 -2
- package/dist/cdn/{YTQ5WKUI.js → 43PD534X.js} +2 -2
- package/dist/cdn/4BAEO7AP.js +4 -0
- package/dist/cdn/{JXL7WD2E.js → 4JOU6IR7.js} +2 -2
- package/dist/cdn/{M6KBDQ4B.js → 53L3YUOX.js} +2 -2
- package/dist/cdn/{5APGWHKF.js → 5F6GXQGE.js} +2 -2
- package/dist/cdn/{DKMOPJ25.js → 5NKRC3D7.js} +2 -2
- package/dist/cdn/{M67BOC6R.js → 5REOJGCZ.js} +2 -2
- package/dist/cdn/{WIZ7RQYM.js → 5RL5K3OT.js} +2 -2
- package/dist/cdn/{LQXNDSAI.js → 5SEOV35O.js} +2 -2
- package/dist/cdn/{CUYQCXUJ.js → 5ZRRIWMB.js} +2 -2
- package/dist/cdn/{RKKLVIKS.js → 642ZLA6X.js} +2 -2
- package/dist/cdn/{6ESK4QPA.js → 66QYKE2Z.js} +2 -2
- package/dist/cdn/{FG2UUN5Y.js → 6FZFDLZE.js} +2 -2
- package/dist/cdn/{HSYMUXB2.js → 6JHKCUPI.js} +2 -2
- package/dist/cdn/{LLSIG464.js → 6JJ56G4C.js} +2 -2
- package/dist/cdn/{FVCCBN6R.js → 7LRZIJD4.js} +2 -2
- package/dist/cdn/{76V2F3M5.js → 7OYYQFDC.js} +2 -2
- package/dist/cdn/{QGDMGHZ3.js → A23355Z6.js} +2 -2
- package/dist/cdn/{V4FN65Z4.js → AAR2FOAL.js} +2 -2
- package/dist/cdn/{VIU4ZSIY.js → BGMADJYI.js} +2 -2
- package/dist/cdn/{A5THM6EA.js → BNVGHHPA.js} +2 -2
- package/dist/cdn/{LRCALZS4.js → BPLHLHQI.js} +2 -2
- package/dist/cdn/{VMDVUG52.js → BUMNG3LD.js} +1 -1
- package/dist/cdn/{AACC3FYE.js → BX4E7VS7.js} +1 -1
- package/dist/cdn/{3TIDM52T.js → C24AID7J.js} +2 -2
- package/dist/cdn/{YXIBBCVA.js → CB5UF2XM.js} +2 -2
- package/dist/cdn/{U7HB3CPN.js → CB7JLC5X.js} +2 -2
- package/dist/cdn/{ESEGUX5O.js → CLRYXHEP.js} +2 -2
- package/dist/cdn/{T7VRSGAE.js → CLW2LXNE.js} +2 -2
- package/dist/cdn/{DHZBSCQC.js → CNIJHZ6G.js} +2 -2
- package/dist/cdn/{FQM7ZIUE.js → CS43UYS3.js} +2 -2
- package/dist/cdn/DEYMBEU3.js +4 -0
- package/dist/cdn/{T356JENG.js → DFZCDEDC.js} +2 -2
- package/dist/cdn/{O24P7Q3C.js → DHJGGWH3.js} +2 -2
- package/dist/cdn/{LIRUDJLH.js → DRQJRZPI.js} +2 -2
- package/dist/cdn/{TEM46PXT.js → DZPKP76T.js} +2 -2
- package/dist/cdn/{MQJ7XLGK.js → EBWTFJHE.js} +2 -2
- package/dist/cdn/{RAN4WBBO.js → EF63U2JV.js} +2 -2
- package/dist/cdn/{PNN554XV.js → EQ7EDIWI.js} +2 -2
- package/dist/cdn/{3E5JGS7I.js → ETD3XMI3.js} +2 -2
- package/dist/cdn/{3ZGNCN4N.js → EVNA5MC3.js} +2 -2
- package/dist/cdn/{YL5UD5QK.js → F3GJKUFE.js} +2 -2
- package/dist/cdn/{N762OEGT.js → FKPX7WM5.js} +2 -2
- package/dist/cdn/{LG2VTIMN.js → FQDORCBB.js} +2 -2
- package/dist/cdn/{AX6ZNG7O.js → FRGNCM64.js} +2 -2
- package/dist/cdn/{AXKSXWQK.js → FRZCSSHL.js} +2 -2
- package/dist/cdn/{2HMQBLGX.js → G2R2TI3S.js} +2 -2
- package/dist/cdn/{4P26B2AA.js → GJ5VNK7J.js} +2 -2
- package/dist/cdn/{WBS3PEXG.js → H6CCKH3K.js} +2 -2
- package/dist/cdn/{JSU4NS5T.js → HN67NNCU.js} +2 -2
- package/dist/cdn/{R6KUTRWE.js → HU437PBD.js} +2 -2
- package/dist/cdn/{LQPNE6GS.js → I6SJPORS.js} +2 -2
- package/dist/cdn/{X5HMIK3S.js → IJ7MA37M.js} +2 -2
- package/dist/cdn/{R42MVK6T.js → J7JF3XPD.js} +2 -2
- package/dist/cdn/{6QZWTGCD.js → JBL7IRTU.js} +2 -2
- package/dist/cdn/JPLKNPQA.js +4 -0
- package/dist/cdn/{Z4ZNKWSQ.js → JRDM5MDJ.js} +2 -2
- package/dist/cdn/{6KAI6YXC.js → JZCLD3KO.js} +2 -2
- package/dist/cdn/{E6EE4TT7.js → K7HCPE2N.js} +1 -1
- package/dist/cdn/{ZV44DXHW.js → KKGH2C3Z.js} +2 -2
- package/dist/cdn/{E77FQK43.js → L4DKFMF5.js} +2 -2
- package/dist/cdn/{47WXI5OV.js → LIYKJGIW.js} +2 -2
- package/dist/cdn/{42ZLP4TO.js → MV7VWEYM.js} +2 -2
- package/dist/cdn/{IBKAQQBC.js → N4ZIWHV3.js} +2 -2
- package/dist/cdn/{R63E5IDP.js → NPNSCUQO.js} +2 -2
- package/dist/cdn/{OBPKMGHI.js → O356CRDT.js} +2 -2
- package/dist/cdn/{X7Q6FQWN.js → OEXDVI45.js} +2 -2
- package/dist/cdn/{JPZTEH2M.js → OMHCZ2JB.js} +2 -2
- package/dist/cdn/{D6KJDF5I.js → OTNIXMGB.js} +2 -2
- package/dist/cdn/{5IGCHT4A.js → OTUHRWHR.js} +2 -2
- package/dist/cdn/{Z5VECA2W.js → OU5G2DJR.js} +2 -2
- package/dist/cdn/{ARSEOYQC.js → OVOEHU54.js} +2 -2
- package/dist/cdn/{BGVGYLIS.js → P7L7BDYD.js} +2 -2
- package/dist/cdn/PHWCCAQ2.js +4 -0
- package/dist/cdn/PSDSRTPJ.js +4 -0
- package/dist/cdn/{BTB5CEYG.js → PTDXUPZF.js} +2 -2
- package/dist/cdn/{BL6FEQUL.js → PW2HC2NU.js} +1 -1
- package/dist/cdn/{UJWLDNQL.js → PZ4RMX6S.js} +2 -2
- package/dist/cdn/{QDLWV3GL.js → Q73PVO5W.js} +2 -2
- package/dist/cdn/{7CVQJHEU.js → QAA6DTB4.js} +2 -2
- package/dist/cdn/{L3FVC43E.js → QEHF2KLL.js} +2 -2
- package/dist/cdn/{FPQAF5U2.js → QQB4P4ZC.js} +2 -2
- package/dist/cdn/{NBZE6Q5O.js → QRMDO65V.js} +1 -1
- package/dist/cdn/{HDHYECZP.js → QUJG3MRO.js} +1 -1
- package/dist/cdn/{YM2YPJK6.js → QZYW5VJZ.js} +2 -2
- package/dist/cdn/{OPRL4XLU.js → RN5XSBBC.js} +2 -2
- package/dist/cdn/{2Z4KRGOJ.js → RYHE2Z3B.js} +1 -1
- package/dist/cdn/{PVCZG5NR.js → SRAVTPGX.js} +2 -2
- package/dist/cdn/{DH3QB5M5.js → SSM2TMFU.js} +2 -2
- package/dist/cdn/T27TN2ZA.js +4 -0
- package/dist/cdn/{QTUCLDNK.js → TCVH3XKB.js} +1 -1
- package/dist/cdn/{QS6PLBTH.js → TJECRHFL.js} +2 -2
- package/dist/cdn/{ZF2Y2DMS.js → TR2YSPHO.js} +2 -2
- package/dist/cdn/{LE6LUZKM.js → TZVXJLRY.js} +2 -2
- package/dist/cdn/{YF5TCRIS.js → UCBVSKFA.js} +2 -2
- package/dist/cdn/{WXDH6ABX.js → UCT65SQB.js} +2 -2
- package/dist/cdn/UEZ5YQ3H.js +4 -0
- package/dist/cdn/{BBUM7LXZ.js → UWRMR7WR.js} +2 -2
- package/dist/cdn/{QWVS3J6Z.js → VF6QOAJ5.js} +2 -2
- package/dist/cdn/{54LBYLM4.js → VS4AYNWU.js} +2 -2
- package/dist/cdn/{2DFTJYET.js → WABX3KLG.js} +2 -2
- package/dist/cdn/{6YEXM7GA.js → WGIICTQ3.js} +2 -2
- package/dist/cdn/{HRAFJUBY.js → WRQSDQRN.js} +2 -2
- package/dist/cdn/{Y6UM5JRX.js → XBYMLIMK.js} +2 -2
- package/dist/cdn/{YXTLBEV3.js → XCTEMILF.js} +2 -2
- package/dist/cdn/{2ITL25LA.js → XGYPWURU.js} +2 -2
- package/dist/cdn/{DXPQND6H.js → XI675RK3.js} +2 -2
- package/dist/cdn/XYQWQY4J.js +4 -0
- package/dist/cdn/{TV675TMD.js → YWYJIIEX.js} +2 -2
- package/dist/cdn/{MSGRPQLQ.js → Z5F4NJ2I.js} +2 -2
- package/dist/cdn/ZCA755OW.js +4 -0
- package/dist/cdn/{FMX5JKGL.js → ZI53EUJK.js} +2 -2
- package/dist/cdn/{OSL33XSZ.js → ZU62IMDO.js} +2 -2
- package/dist/cdn/{V2GGQDQV.js → ZV376OBS.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +5 -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.d.ts +5 -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.d.ts +5 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +3 -3
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-directional-pad/customElement.d.ts +5 -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.d.ts +2 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.d.ts +25 -0
- package/dist/components/arcgis-feature-content/customElement.js +92 -0
- package/dist/components/arcgis-feature-content/index.d.ts +2 -0
- package/dist/components/arcgis-feature-content/index.js +2 -0
- 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.d.ts +11 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +5 -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 +18 -12
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +6 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +9 -12
- package/dist/components/arcgis-link-chart/customElement.d.ts +24 -7
- package/dist/components/arcgis-link-chart/customElement.js +14 -5
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +8 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +5 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +27 -9
- package/dist/components/arcgis-map/customElement.js +25 -14
- 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.d.ts +5 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +52 -34
- 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.d.ts +6 -2
- 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.d.ts +29 -9
- package/dist/components/arcgis-scene/customElement.js +23 -12
- package/dist/components/arcgis-search/customElement.d.ts +40 -15
- package/dist/components/arcgis-search/customElement.js +39 -36
- 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.d.ts +8 -3
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +6 -2
- 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.d.ts +3 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +6 -2
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.d.ts +5 -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.d.ts +9 -5
- 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 +20 -9
- package/dist/components/arcgis-video/customElement.js +10 -19
- package/dist/components/arcgis-video-player/customElement.d.ts +18 -5
- package/dist/components/arcgis-video-player/customElement.js +32 -26
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +12 -12
- package/dist/components/arcgis-video-player-metadata/customElement.js +2 -2
- package/dist/components/arcgis-video-player-settings/customElement.js +2 -2
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +5 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +5 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +746 -233
- package/dist/docs/docs.json +666 -223
- package/dist/docs/vscode.html-custom-data.json +71 -32
- package/dist/docs/web-types.json +188 -100
- package/dist/index.d.ts +19 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +9 -8
- package/dist/types/lumina.d.ts +17 -11
- package/dist/types/preact.d.ts +18 -11
- package/dist/types/react.d.ts +19 -11
- package/dist/types/stencil.d.ts +17 -11
- package/dist/utils/feature-utils.d.ts +10 -0
- package/package.json +3 -3
- package/dist/cdn/4B65IRU5.js +0 -4
- package/dist/cdn/4WJ66SFY.js +0 -4
- package/dist/cdn/6X652SXL.js +0 -4
- package/dist/cdn/DNMZ4O6N.js +0 -4
- package/dist/cdn/HP3N5VUA.js +0 -4
- package/dist/cdn/NR7JLVJV.js +0 -4
- package/dist/cdn/NTUHH5NA.js +0 -4
- package/dist/cdn/OZTG4AFE.js +0 -4
- package/dist/cdn/XLHDAUF2.js +0 -4
- package/dist/cdn/ZB452APZ.js +0 -4
|
@@ -3,7 +3,7 @@ import { html as c } from "lit-html";
|
|
|
3
3
|
import { LitElement as b, createEvent as f, noShadowRoot as x, nothing as I } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
6
|
-
v4.34.0-next.
|
|
6
|
+
v4.34.0-next.21 */
|
|
7
7
|
class E extends b {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this.arcgisManageVersion = f();
|
|
@@ -5,7 +5,7 @@ import { LitElement as y, createEvent as r } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as U } 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.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
8
|
+
v4.34.0-next.21 */
|
|
9
9
|
const A = U`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`;
|
|
10
10
|
class N extends y {
|
|
11
11
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { LitElement as V, createEvent as p, noShadowRoot as I } from "@arcgis/lu
|
|
|
5
5
|
import { css as x } 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.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
8
|
+
v4.34.0-next.21 */
|
|
9
9
|
const C = x`@layer{:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}}`;
|
|
10
10
|
class k extends V {
|
|
11
11
|
constructor() {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
1
2
|
/// <reference types="../../index.d.ts" />
|
|
2
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
3
|
-
import { Nil } from '@arcgis/components-utils';
|
|
4
|
-
import { default as VideoLayer } from '@arcgis/core/layers/VideoLayer.js';
|
|
5
4
|
import { default as VideoView } from '@arcgis/core/views/VideoView.js';
|
|
6
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
6
|
|
|
@@ -14,17 +13,31 @@ declare const useVideoView: (component: LitElement & Omit<Pick<VideoView, "conta
|
|
|
14
13
|
* [VideoLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html).
|
|
15
14
|
* It is designed to render and interact with video layers.
|
|
16
15
|
*
|
|
17
|
-
* A Video component must have a valid
|
|
16
|
+
* A Video component must have a valid VideoLayer.
|
|
18
17
|
* It supports various features such as navigating, zooming, and panning, making it suitable for
|
|
19
18
|
* applications that require interactive video overlays.
|
|
20
19
|
*
|
|
21
|
-
*
|
|
20
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-video/)
|
|
22
21
|
*
|
|
22
|
+
* @example
|
|
23
23
|
* ```html
|
|
24
|
-
* <arcgis-video
|
|
24
|
+
* <arcgis-video></arcgis-video>
|
|
25
25
|
* ```
|
|
26
26
|
*
|
|
27
|
-
*
|
|
27
|
+
* ```js
|
|
28
|
+
* const VideoLayer = await $arcgis.import("@arcgis/core/layers/VideoLayer.js");
|
|
29
|
+
* const videoElement = document.querySelector("arcgis-video");
|
|
30
|
+
*
|
|
31
|
+
* const videoLayer = new VideoLayer({
|
|
32
|
+
* url: "YOUR_VIDEO_LAYER_URL",
|
|
33
|
+
* });
|
|
34
|
+
*
|
|
35
|
+
* await videoLayer.load();
|
|
36
|
+
* if (videoLayer.loaded) {
|
|
37
|
+
* videoElement.layer = videoLayer;
|
|
38
|
+
* }
|
|
39
|
+
* ```
|
|
40
|
+
* @since 4.33
|
|
28
41
|
*/
|
|
29
42
|
export declare class ArcgisVideo extends LitElement {
|
|
30
43
|
/** @default false */
|
|
@@ -45,9 +58,7 @@ export declare class ArcgisVideo extends LitElement {
|
|
|
45
58
|
*
|
|
46
59
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-VideoView.html#layer)
|
|
47
60
|
*/
|
|
48
|
-
layer: nullish | VideoLayer;
|
|
49
|
-
get layerUrl(): Nil | string;
|
|
50
|
-
set layerUrl(newValue: Nil | string);
|
|
61
|
+
layer: nullish | __esri.VideoLayer;
|
|
51
62
|
/** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
|
|
52
63
|
destroy(): Promise<void>;
|
|
53
64
|
readonly arcgisViewReadyChange: TargetedEvent<this, void>;
|
|
@@ -1,36 +1,27 @@
|
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
|
2
2
|
import { makeAccessorController as s } from "@arcgis/lumina/controllers/accessor";
|
|
3
3
|
import { watch as i } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
-
import r from "@arcgis/core/layers/VideoLayer.js";
|
|
5
4
|
import a from "@arcgis/core/views/VideoView.js";
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import { css as
|
|
5
|
+
import { LitElement as r, createEvent as o, noShadowRoot as h } from "@arcgis/lumina";
|
|
6
|
+
import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
8
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
11
|
-
const
|
|
9
|
+
v4.34.0-next.21 */
|
|
10
|
+
const d = l`@layer{arcgis-video{display:block;height:100%;width:100%;.esri-view{height:100%;width:100%}}}`, c = s(a, {
|
|
12
11
|
omitProps: ["container", "navigation", "scale", "ui"]
|
|
13
12
|
});
|
|
14
|
-
class
|
|
13
|
+
class n extends r {
|
|
15
14
|
constructor() {
|
|
16
|
-
super(), this.autoDestroyDisabled = !1, this.view =
|
|
17
|
-
components: ["attribution"]
|
|
18
|
-
};
|
|
15
|
+
super(), this.autoDestroyDisabled = !1, this.view = c(this), this.ready = this.view.ready, this.layer = this.view.layer, this.arcgisViewReadyChange = o();
|
|
19
16
|
}
|
|
20
17
|
static {
|
|
21
|
-
this.properties = { autoDestroyDisabled: 5, view: 32, ready: 4, layer: 0
|
|
18
|
+
this.properties = { autoDestroyDisabled: 5, view: 32, ready: 4, layer: 0 };
|
|
22
19
|
}
|
|
23
20
|
static {
|
|
24
21
|
this.shadowRootOptions = h;
|
|
25
22
|
}
|
|
26
23
|
static {
|
|
27
|
-
this.styles =
|
|
28
|
-
}
|
|
29
|
-
get layerUrl() {
|
|
30
|
-
return this.layer?.url;
|
|
31
|
-
}
|
|
32
|
-
set layerUrl(e) {
|
|
33
|
-
this.layer = new r({ url: e });
|
|
24
|
+
this.styles = d;
|
|
34
25
|
}
|
|
35
26
|
async destroy() {
|
|
36
27
|
await this.manager.destroy();
|
|
@@ -50,7 +41,7 @@ class y extends o {
|
|
|
50
41
|
]);
|
|
51
42
|
}
|
|
52
43
|
}
|
|
53
|
-
t("arcgis-video",
|
|
44
|
+
t("arcgis-video", n);
|
|
54
45
|
export {
|
|
55
|
-
|
|
46
|
+
n as ArcgisVideo
|
|
56
47
|
};
|
|
@@ -20,15 +20,16 @@ declare const useVideoPlayerViewModel: (component: LitElement & Pick<VideoPlayer
|
|
|
20
20
|
*
|
|
21
21
|
* The [VideoPlayerViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-VideoPlayer-VideoPlayerViewModel.html) class provides the logic for the Video Player.
|
|
22
22
|
*
|
|
23
|
-
* **Known
|
|
23
|
+
* **Known limitations**
|
|
24
24
|
*
|
|
25
25
|
* * Not supported in 3D [Scenes](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
|
|
26
26
|
* * Not supported on macOS and iOS devices.
|
|
27
27
|
*
|
|
28
28
|
* [](https://mediaspace.esri.com/media/1_ctc3psfr)
|
|
29
29
|
*
|
|
30
|
-
*
|
|
30
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-video-player/)
|
|
31
31
|
*
|
|
32
|
+
* @example
|
|
32
33
|
* ```html
|
|
33
34
|
* <arcgis-map>
|
|
34
35
|
* <arcgis-video-player></arcgis-video-player>
|
|
@@ -62,8 +63,7 @@ declare const useVideoPlayerViewModel: (component: LitElement & Pick<VideoPlayer
|
|
|
62
63
|
* await viewElement.whenLayerView(videoLayer);
|
|
63
64
|
* viewElement.goTo(videoLayer.fullExtent);
|
|
64
65
|
* ```
|
|
65
|
-
*
|
|
66
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-video-player/)
|
|
66
|
+
* @since 4.33
|
|
67
67
|
*/
|
|
68
68
|
export declare class ArcgisVideoPlayer extends LitElement {
|
|
69
69
|
referenceElement?: ArcgisReferenceElement | string;
|
|
@@ -83,13 +83,22 @@ export declare class ArcgisVideoPlayer extends LitElement {
|
|
|
83
83
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-VideoPlayer-VideoPlayerViewModel.html#state)
|
|
84
84
|
*/
|
|
85
85
|
readonly state: "ready" | "error" | "playing" | "waiting" | "can-play" | "not-ready" | "paused" | "data-loaded";
|
|
86
|
+
/**
|
|
87
|
+
* Determines which telemetry elements to follow when the video layer is playing.
|
|
88
|
+
*
|
|
89
|
+
* @default "follow-both"
|
|
90
|
+
*/
|
|
91
|
+
get followingMode(): VideoPlayerViewModel["followingMode"];
|
|
92
|
+
set followingMode(value: VideoPlayerViewModel["followingMode"]);
|
|
86
93
|
/**
|
|
87
94
|
* The [VideoLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html) to use as the data source for the video player.
|
|
88
95
|
*
|
|
89
96
|
* @noautocast
|
|
90
97
|
* @example
|
|
98
|
+
* ```js
|
|
91
99
|
* // Create a new Video Player with a VideoLayer
|
|
92
100
|
* videoPlayer.layer = videoLayer;
|
|
101
|
+
* ```
|
|
93
102
|
* @default null
|
|
94
103
|
*/
|
|
95
104
|
layer: nullish | __esri.VideoLayer;
|
|
@@ -103,7 +112,11 @@ export declare class ArcgisVideoPlayer extends LitElement {
|
|
|
103
112
|
* @default false
|
|
104
113
|
*/
|
|
105
114
|
autoDestroyDisabled: boolean;
|
|
106
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* Replace localized message strings with your own strings.
|
|
117
|
+
*
|
|
118
|
+
* _**Note**: Individual message keys may change between releases._
|
|
119
|
+
*/
|
|
107
120
|
messageOverrides?: typeof this.messages._overrides;
|
|
108
121
|
/** The component's default label. */
|
|
109
122
|
label?: string;
|
|
@@ -1,34 +1,40 @@
|
|
|
1
1
|
import { c as h } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as
|
|
2
|
+
import { html as i } from "lit-html";
|
|
3
3
|
import { usePropertyChange as c } from "@arcgis/lumina/controllers";
|
|
4
4
|
import { classes as u } from "@arcgis/components-utils";
|
|
5
5
|
import v from "@arcgis/core/widgets/VideoPlayer/VideoPlayerViewModel.js";
|
|
6
6
|
import { watch as t } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
|
-
import { LitElement as
|
|
8
|
-
import { createRef as
|
|
7
|
+
import { LitElement as g, createEvent as a, noShadowRoot as m, safeClassMap as o } from "@arcgis/lumina";
|
|
8
|
+
import { createRef as f, ref as y } from "lit-html/directives/ref.js";
|
|
9
9
|
import { u as _ } from "../../chunks/useT9n.js";
|
|
10
10
|
import { m as p } from "../../chunks/useViewModel.js";
|
|
11
11
|
import { g as w } from "../../chunks/globalCss.js";
|
|
12
12
|
import { css as V } from "@lit/reactive-element/css-tag.js";
|
|
13
13
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
14
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
15
|
-
v4.34.0-next.
|
|
16
|
-
const
|
|
15
|
+
v4.34.0-next.21 */
|
|
16
|
+
const M = V`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`, d = "arcgis-video-player", l = {
|
|
17
17
|
base: d,
|
|
18
18
|
videoView: `${d}__video-view`
|
|
19
|
-
},
|
|
20
|
-
class
|
|
19
|
+
}, $ = p(v);
|
|
20
|
+
class b extends g {
|
|
21
21
|
constructor() {
|
|
22
|
-
super(...arguments), this.messages = _({ blocking: !0 }), this.viewModel =
|
|
22
|
+
super(...arguments), this.messages = _({ blocking: !0 }), this.viewModel = $(this), this._videoViewRef = f(), this._metadataVisible = !1, this._duration = 0, this._currentTime = 0, this._bufferedValue = 0, this._currentValue = 0, this._isBuffering = !1, this._videoViewReady = !1, this.position = "top-left", this.icon = "video-web", this.state = this.viewModel.state, this.layer = this.viewModel.layer, this.autoDestroyDisabled = !1, this.hideHeader = !1, this.arcgisPropertyChange = c()("state", "layer"), this.arcgisReady = a(), this.arcgisVideoReady = a();
|
|
23
23
|
}
|
|
24
24
|
static {
|
|
25
|
-
this.properties = { _metadataVisible: 16, _duration: 16, _currentTime: 16, _bufferedValue: 16, _currentValue: 16, _isBuffering: 16, _videoViewReady: 16, _layerTitle: 16, referenceElement: 1, position: 3, icon: 1, state: 3, layer: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 3, hideHeader: 5 };
|
|
25
|
+
this.properties = { _metadataVisible: 16, _duration: 16, _currentTime: 16, _bufferedValue: 16, _currentValue: 16, _isBuffering: 16, _videoViewReady: 16, _layerTitle: 16, referenceElement: 1, position: 3, icon: 1, state: 3, followingMode: 1, layer: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 3, hideHeader: 5 };
|
|
26
26
|
}
|
|
27
27
|
static {
|
|
28
|
-
this.styles =
|
|
28
|
+
this.styles = M;
|
|
29
29
|
}
|
|
30
30
|
static {
|
|
31
|
-
this.shadowRootOptions =
|
|
31
|
+
this.shadowRootOptions = m;
|
|
32
|
+
}
|
|
33
|
+
get followingMode() {
|
|
34
|
+
return this.viewModel.followingMode;
|
|
35
|
+
}
|
|
36
|
+
set followingMode(e) {
|
|
37
|
+
this.viewModel.followingMode = e;
|
|
32
38
|
}
|
|
33
39
|
async destroy() {
|
|
34
40
|
await this.manager.destroy();
|
|
@@ -36,40 +42,40 @@ class M extends m {
|
|
|
36
42
|
loaded() {
|
|
37
43
|
this.manager.onLifecycle(() => [
|
|
38
44
|
t(() => [this.viewModel.currentTime, this.viewModel.duration, this.viewModel.duration, this.viewModel.ended], () => {
|
|
39
|
-
const { buffered:
|
|
40
|
-
this._duration = r, this._currentTime = s, this._bufferedValue =
|
|
45
|
+
const { buffered: e, currentTime: s, duration: r, ended: n } = this.viewModel;
|
|
46
|
+
this._duration = r, this._currentTime = s, this._bufferedValue = e / (r || 1), this._currentValue = s / (r || 1), this._isBuffering = !n && this._bufferedValue < this._currentValue;
|
|
41
47
|
}),
|
|
42
|
-
t(() => this._videoViewRef.value?.ready, (
|
|
43
|
-
this._videoViewReady = !!
|
|
48
|
+
t(() => this._videoViewRef.value?.ready, (e) => {
|
|
49
|
+
this._videoViewReady = !!e;
|
|
44
50
|
}, { initial: !0 }),
|
|
45
|
-
t(() => this.layer?.title, (
|
|
46
|
-
this._layerTitle =
|
|
51
|
+
t(() => this.layer?.title, (e) => {
|
|
52
|
+
this._layerTitle = e ?? void 0;
|
|
47
53
|
}, { initial: !0 })
|
|
48
54
|
]);
|
|
49
55
|
}
|
|
50
56
|
render() {
|
|
51
|
-
return
|
|
57
|
+
return i`<div class=${o(u(l.base, w.widget))}><calcite-panel .heading=${this.hideHeader ? void 0 : this._layerTitle ?? this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`;
|
|
52
58
|
}
|
|
53
59
|
_renderLoadingScrim() {
|
|
54
|
-
return this._videoViewReady ? null :
|
|
60
|
+
return this._videoViewReady ? null : i`<calcite-scrim .loading=${this.state !== "error"}>${this.state === "error" ? this.messages.errorLoadingLayer : null}</calcite-scrim>`;
|
|
55
61
|
}
|
|
56
62
|
_renderBuffering() {
|
|
57
|
-
return this._isBuffering ?
|
|
63
|
+
return this._isBuffering ? i`<calcite-progress type=indeterminate></calcite-progress>` : null;
|
|
58
64
|
}
|
|
59
65
|
_renderVideoSection() {
|
|
60
|
-
return
|
|
66
|
+
return i`<div class=${o(l.videoView)}><arcgis-video .layer=${this.layer} @arcgisViewReadyChange=${() => this.arcgisVideoReady.emit()} ${y(this._videoViewRef)}></arcgis-video></div>`;
|
|
61
67
|
}
|
|
62
68
|
_renderSlider() {
|
|
63
|
-
return
|
|
69
|
+
return i`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue * 100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`;
|
|
64
70
|
}
|
|
65
71
|
_renderActionBar() {
|
|
66
|
-
return
|
|
72
|
+
return i`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${() => this._metadataVisible = !this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`;
|
|
67
73
|
}
|
|
68
74
|
_renderMetadataSection() {
|
|
69
|
-
return this._metadataVisible ?
|
|
75
|
+
return this._metadataVisible ? i`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>` : null;
|
|
70
76
|
}
|
|
71
77
|
}
|
|
72
|
-
h("arcgis-video-player",
|
|
78
|
+
h("arcgis-video-player", b);
|
|
73
79
|
export {
|
|
74
|
-
|
|
80
|
+
b as ArcgisVideoPlayer
|
|
75
81
|
};
|
|
@@ -5,7 +5,7 @@ import { LitElement as n, safeClassMap as e } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
8
|
+
v4.34.0-next.21 */
|
|
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.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.21 */
|
|
8
8
|
class $ extends p {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this._disabled = !1, this._playing = !1;
|
|
@@ -4,11 +4,11 @@ import { watch as d } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as m, noShadowRoot as g } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
8
|
-
function
|
|
7
|
+
v4.34.0-next.21 */
|
|
8
|
+
function f(i) {
|
|
9
9
|
return i.followingMode === "none" ? "circle-disallowed" : i.followingMode === "follow-sensor" ? "zoom-to-object" : i.followingMode === "follow-frame" ? "follow" : "video";
|
|
10
10
|
}
|
|
11
|
-
class
|
|
11
|
+
class p extends m {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments), this._disabled = !1;
|
|
14
14
|
}
|
|
@@ -26,7 +26,7 @@ class f extends m {
|
|
|
26
26
|
]);
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
const { viewModel: e, messages: l, _disabled:
|
|
29
|
+
const { viewModel: e, messages: l, _disabled: o } = this, c = t`<div><calcite-popover auto-close .label=${l.layers} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=layers-action scale=s><calcite-panel .heading=${l.layers}><calcite-list .label=${l.layers} selection-mode=multiple><calcite-list-item .label=${l.sensor} @click=${() => {
|
|
30
30
|
e.toggleSensorDisplay();
|
|
31
31
|
}} .selected=${!!e.layer?.telemetryDisplay?.sensorLocation}></calcite-list-item><calcite-list-item .label=${l.sightLine} @click=${() => {
|
|
32
32
|
e.toggleSensorSightLineDisplay();
|
|
@@ -38,19 +38,19 @@ class f extends m {
|
|
|
38
38
|
e.toggleFrameOutlineDisplay();
|
|
39
39
|
}} .selected=${!!e.layer?.telemetryDisplay?.frameOutline}></calcite-list-item><calcite-list-item .label=${l.frame} @click=${() => {
|
|
40
40
|
e.toggleFrameDisplay();
|
|
41
|
-
}} .selected=${!!e.layer?.telemetryDisplay?.frame}></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${
|
|
41
|
+
}} .selected=${!!e.layer?.telemetryDisplay?.frame}></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${o} icon=layers id=layers-action scale=s slot=trigger .text=${l.layers}></calcite-action></div>`, a = t`<div><calcite-popover auto-close .label=${l.follow} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=follow-action scale=s><calcite-panel .heading=${l.follow}><calcite-list .label=${l.follow} selection-mode=single><calcite-list-item .label=${l.none} @click=${() => {
|
|
42
42
|
e.followingMode = "none";
|
|
43
|
-
}}><calcite-icon icon=circle-disallowed scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.sensor} @click=${() => {
|
|
43
|
+
}} .selected=${e.followingMode === "none"}><calcite-icon icon=circle-disallowed scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.sensor} @click=${() => {
|
|
44
44
|
e.followingMode = "follow-sensor";
|
|
45
|
-
}}><calcite-icon icon=zoom-to-object scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.frame} @click=${() => {
|
|
45
|
+
}} .selected=${e.followingMode === "follow-sensor"}><calcite-icon icon=zoom-to-object scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.frame} @click=${() => {
|
|
46
46
|
e.followingMode = "follow-frame";
|
|
47
|
-
}}><calcite-icon icon=follow scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.video} @click=${() => {
|
|
47
|
+
}} .selected=${e.followingMode === "follow-frame"}><calcite-icon icon=follow scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.video} @click=${() => {
|
|
48
48
|
e.followingMode = "follow-both";
|
|
49
|
-
}} selected><calcite-icon icon=video scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${
|
|
50
|
-
return t`<calcite-action-bar expand-disabled layout=horizontal scale=s>${[
|
|
49
|
+
}} .selected=${e.followingMode === "follow-both"}><calcite-icon icon=video scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${o} .icon=${f(e)} id=follow-action scale=s slot=trigger .text=${l.follow}></calcite-action></div>`, s = t`<arcgis-video-player-settings .messages=${l} .viewModel=${e}></arcgis-video-player-settings>`, n = t`<calcite-action alignment=center .disabled=${o} icon=feature-details @click=${() => this.toggleMetadata()} scale=s .text=${l.metadata}></calcite-action>`;
|
|
50
|
+
return t`<calcite-action-bar expand-disabled layout=horizontal scale=s>${[c, a, s, n]}</calcite-action-bar>`;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
r("arcgis-video-player-controls-group",
|
|
53
|
+
r("arcgis-video-player-controls-group", p);
|
|
54
54
|
export {
|
|
55
|
-
|
|
55
|
+
p as VideoPlayerControlsGroup
|
|
56
56
|
};
|
|
@@ -5,7 +5,7 @@ import { LitElement as n, safeClassMap as a } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
8
|
+
v4.34.0-next.21 */
|
|
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`,
|
|
@@ -42,7 +42,7 @@ class h extends n {
|
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
44
|
const { messages: i } = this;
|
|
45
|
-
return this._disabled || !this._hasMetadata ? s`<calcite-tile class=${a(t.emptyState)} .description=${i.metadataDescription} .heading=${i.metadataNotLoaded}></calcite-tile>` : s`<calcite-block .heading=${i.metadata}
|
|
45
|
+
return this._disabled || !this._hasMetadata ? s`<calcite-tile class=${a(t.emptyState)} .description=${i.metadataDescription} .heading=${i.metadataNotLoaded}></calcite-tile>` : s`<calcite-block .heading=${i.metadata} expanded><calcite-accordion appearance=solid selection-mode=single><calcite-accordion-item .heading=${i.missionInfo}><div class=${a(t.table)}>${Object.keys(this._missionInfo).map((e) => s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._missionInfo[e]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${i.platformInfo}><div class=${a(t.table)}>${Object.keys(this._platformInfo).map((e) => s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._platformInfo[e]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${i.frameInfo}><div class=${a(t.table)}>${Object.keys(this._frameInfo).map((e) => s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._frameInfo[e]}</div></div>`)}</div></calcite-accordion-item></calcite-accordion></calcite-block>`;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
l("arcgis-video-player-metadata", h);
|
|
@@ -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.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.21 */
|
|
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 },
|
|
@@ -34,7 +34,7 @@ class _ extends p {
|
|
|
34
34
|
render() {
|
|
35
35
|
const { viewModel: c, messages: e } = this, o = i`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active === "speed"} @calciteFlowItemBack=${() => this._active = void 0}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${g.map(({ label: t, value: l }) => i`<calcite-list-item .label=${t} @click=${() => {
|
|
36
36
|
this._speed = t, c.changePlaybackSpeed(l);
|
|
37
|
-
}} .selected=${t === this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`, n = i`<calcite-flow-item .heading=${e.quality} .selected=${this._active === "quality"} @calciteFlowItemBack=${() => this._active = void 0}><calcite-list .label=${e.quality} selection-mode=single-persist>${$.map((t) => i`<calcite-list-item .label=${t} @click=${() => this._quality = t} .selected=${t === this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`, r = i`<calcite-flow-item .heading=${e.graphics} .selected=${this._active === "color"} @calciteFlowItemBack=${() => this._active = void 0}><calcite-block .heading=${e.color}
|
|
37
|
+
}} .selected=${t === this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`, n = i`<calcite-flow-item .heading=${e.quality} .selected=${this._active === "quality"} @calciteFlowItemBack=${() => this._active = void 0}><calcite-list .label=${e.quality} selection-mode=single-persist>${$.map((t) => i`<calcite-list-item .label=${t} @click=${() => this._quality = t} .selected=${t === this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`, r = i`<calcite-flow-item .heading=${e.graphics} .selected=${this._active === "color"} @calciteFlowItemBack=${() => this._active = void 0}><calcite-block .heading=${e.color} expanded><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex() ?? s.toHex()} @calciteColorPickerChange=${({ currentTarget: t }) => {
|
|
38
38
|
const l = t.value?.toString() ?? null;
|
|
39
39
|
this._color = l ? new a(l) : null, this._color && c.changeGraphicsColor(this._color);
|
|
40
40
|
}}></calcite-color-picker></calcite-block></calcite-flow-item>`;
|
|
@@ -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.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.21 */
|
|
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`,
|
|
@@ -54,7 +54,11 @@ export declare class ArcgisWeather extends LitElement {
|
|
|
54
54
|
* @default "Weather"
|
|
55
55
|
*/
|
|
56
56
|
label: string | undefined;
|
|
57
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* Replace localized message strings with your own strings.
|
|
59
|
+
*
|
|
60
|
+
* _**Note**: Individual message keys may change between releases._
|
|
61
|
+
*/
|
|
58
62
|
messageOverrides?: typeof this.messages._overrides;
|
|
59
63
|
/** @default "bottom-left" */
|
|
60
64
|
position: __esri.UIPosition;
|
|
@@ -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.34/esri/copyright.txt for details.
|
|
21
|
-
v4.34.0-next.
|
|
21
|
+
v4.34.0-next.21 */
|
|
22
22
|
const c = "arcgis-weather", d = {
|
|
23
23
|
base: c,
|
|
24
24
|
content: `${c}__content`,
|
|
@@ -39,7 +39,11 @@ export declare class ArcgisZoom extends LitElement {
|
|
|
39
39
|
* @default "vertical"
|
|
40
40
|
*/
|
|
41
41
|
layout: Layout;
|
|
42
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* Replace localized message strings with your own strings.
|
|
44
|
+
*
|
|
45
|
+
* _**Note**: Individual message keys may change between releases._
|
|
46
|
+
*/
|
|
43
47
|
messageOverrides?: typeof this.messages._overrides;
|
|
44
48
|
/** @default "top-left" */
|
|
45
49
|
position: __esri.UIPosition;
|
|
@@ -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.34/esri/copyright.txt for details.
|
|
13
|
-
v4.34.0-next.
|
|
13
|
+
v4.34.0-next.21 */
|
|
14
14
|
const a = {
|
|
15
15
|
base: "arcgis-zoom",
|
|
16
16
|
horizontalLayout: "arcgis-zoom--horizontal",
|