@arcgis/map-components 4.34.0-next.4 → 4.34.0-next.41
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/{23HVPN5Y.js → 2UDXY4MN.js} +1 -1
- package/dist/cdn/2VR67Z3K.js +4 -0
- package/dist/cdn/2XWFBJVL.js +4 -0
- package/dist/cdn/35ZIOQQU.js +4 -0
- package/dist/cdn/3CMPSWM5.js +4 -0
- package/dist/cdn/3EIK5WHG.js +4 -0
- package/dist/cdn/3HZT6XVE.js +4 -0
- package/dist/cdn/3INPB7QO.js +4 -0
- package/dist/cdn/3OYYII23.js +4 -0
- package/dist/cdn/{HKQYPN7I.js → 3R3BNUDT.js} +1 -1
- package/dist/cdn/3TXWS2ZG.js +4 -0
- package/dist/cdn/3X5WBNC5.js +4 -0
- package/dist/cdn/4CAZ4YN6.js +4 -0
- package/dist/cdn/4DO5HSJS.js +4 -0
- package/dist/cdn/4JVQSFLO.js +4 -0
- package/dist/cdn/4LU4NHDW.js +4 -0
- package/dist/cdn/{PAOQYXUG.js → 4WTYINOC.js} +1 -1
- package/dist/cdn/4ZLXB4ID.js +4 -0
- package/dist/cdn/5BU55WZU.js +4 -0
- package/dist/cdn/5E7HRZM6.js +4 -0
- package/dist/cdn/5FOZWVJH.js +4 -0
- package/dist/cdn/5T3XY7FC.js +4 -0
- package/dist/cdn/5WN22XHI.js +4 -0
- package/dist/cdn/664AGPKD.js +4 -0
- package/dist/cdn/6AJRKLLW.js +4 -0
- package/dist/cdn/6DTA43I2.js +4 -0
- package/dist/cdn/6EPWCQW3.js +4 -0
- package/dist/cdn/6WPSHYF2.js +4 -0
- package/dist/cdn/6XJQPHV3.js +4 -0
- package/dist/cdn/72N4XQM2.js +4 -0
- package/dist/cdn/73YDCK2S.js +4 -0
- package/dist/cdn/75KKANDX.js +4 -0
- package/dist/cdn/7CLQFHSR.js +4 -0
- package/dist/cdn/{3L3QQBXT.js → 7ER33GUI.js} +2 -2
- package/dist/cdn/7JHFI5FS.js +4 -0
- package/dist/cdn/7LSGCSTQ.js +4 -0
- package/dist/cdn/7MZT7NFP.js +4 -0
- package/dist/cdn/7VXGTDMK.js +4 -0
- package/dist/cdn/7YKFFIK7.js +4 -0
- package/dist/cdn/A3EXITBZ.js +4 -0
- package/dist/cdn/AFOZNJ4E.js +4 -0
- package/dist/cdn/AOXBC6NA.js +4 -0
- package/dist/cdn/AW7WB4DU.js +4 -0
- package/dist/cdn/AX5FGZME.js +4 -0
- package/dist/cdn/{QQSFIVFC.js → AZRQKR2P.js} +2 -2
- package/dist/cdn/B2I4NJEE.js +4 -0
- package/dist/cdn/B4YE5QY5.js +4 -0
- package/dist/cdn/BBWMZC7D.js +4 -0
- package/dist/cdn/CHEI45BY.js +4 -0
- package/dist/cdn/CIMZHST2.js +4 -0
- package/dist/cdn/CNGKT2UO.js +4 -0
- package/dist/cdn/CYAINZUB.js +4 -0
- package/dist/cdn/D7TRQNWK.js +4 -0
- package/dist/cdn/DA2Y7T63.js +4 -0
- package/dist/cdn/DA6DRPI5.js +4 -0
- package/dist/cdn/DJKGGXCW.js +6 -0
- package/dist/cdn/DNZ4LRZH.js +4 -0
- package/dist/cdn/DPCVH67U.js +4 -0
- package/dist/cdn/DWHJOHXY.js +4 -0
- package/dist/cdn/DZJ5LB3Q.js +4 -0
- package/dist/cdn/E4NSKGOI.js +4 -0
- package/dist/cdn/EBEMDNAY.js +4 -0
- package/dist/cdn/EGLKANZ7.js +4 -0
- package/dist/cdn/{ZNYIHOBS.js → ETVD7G6G.js} +2 -2
- package/dist/cdn/F7RMV6MY.js +4 -0
- package/dist/cdn/FD6BBDHF.js +4 -0
- package/dist/cdn/FJ3M47TG.js +4 -0
- package/dist/cdn/FN2GYH2R.js +4 -0
- package/dist/cdn/FQJX4D6Q.js +4 -0
- package/dist/cdn/FUSBYL4L.js +4 -0
- package/dist/cdn/FUTUEVD3.js +4 -0
- package/dist/cdn/{6MFND45L.js → G2G46TZD.js} +2 -2
- package/dist/cdn/G33AS2KY.js +4 -0
- package/dist/cdn/GASE4CKR.js +4 -0
- package/dist/cdn/GFCDQPJ5.js +4 -0
- package/dist/cdn/GKCBGOTF.js +4 -0
- package/dist/cdn/GKOPVJFH.js +4 -0
- package/dist/cdn/{Z56QLV5B.js → GZXNA7M5.js} +2 -2
- package/dist/cdn/H4IEDURF.js +4 -0
- package/dist/cdn/{W47LCTBG.js → HAURYBJV.js} +2 -2
- package/dist/cdn/HJ7BEQFG.js +4 -0
- package/dist/cdn/HVP5QW5F.js +4 -0
- package/dist/cdn/I3OP44VC.js +4 -0
- package/dist/cdn/I4TEOS2H.js +4 -0
- package/dist/cdn/I5PCQQGA.js +4 -0
- package/dist/cdn/ICMQSPY3.js +4 -0
- package/dist/cdn/IE5A52FU.js +4 -0
- package/dist/cdn/IFMTECAC.js +4 -0
- package/dist/cdn/{LEPO6MP3.js → IK3CRJX4.js} +2 -2
- package/dist/cdn/ILP6YGEK.js +4 -0
- package/dist/cdn/IOE3MPKA.js +4 -0
- package/dist/cdn/IUHLHZ7V.js +4 -0
- package/dist/cdn/IW5RK467.js +4 -0
- package/dist/cdn/IYOFUQUG.js +4 -0
- package/dist/cdn/J6NTHOXW.js +4 -0
- package/dist/cdn/{SUW77QCI.js → JSXX3VJ6.js} +2 -2
- package/dist/cdn/JYLQHDC3.js +4 -0
- package/dist/cdn/{TD2GCLNS.js → JYVXGIJ3.js} +1 -1
- package/dist/cdn/{4HGMI6ZO.js → K4XH4BGG.js} +2 -2
- package/dist/cdn/KDQB6MSO.js +4 -0
- package/dist/cdn/KPTSIZWZ.js +4 -0
- package/dist/cdn/KSWN2B4O.js +4 -0
- package/dist/cdn/L6KLOOFP.js +4 -0
- package/dist/cdn/LEH3VVWU.js +4 -0
- package/dist/cdn/LOFBOD63.js +4 -0
- package/dist/cdn/LUNI6CJ7.js +4 -0
- package/dist/cdn/M5FIAZAD.js +4 -0
- package/dist/cdn/MQG2Q7BI.js +4 -0
- package/dist/cdn/MQG4RXFK.js +4 -0
- package/dist/cdn/{SBFO6UJ3.js → MQWBAGUQ.js} +2 -2
- package/dist/cdn/MXW4JAUN.js +4 -0
- package/dist/cdn/NA5WRK7O.js +5 -0
- package/dist/cdn/{6Q2QPWAU.js → NE3JRRA3.js} +2 -2
- package/dist/cdn/NERILTZ7.js +4 -0
- package/dist/cdn/NF7PYZVJ.js +4 -0
- package/dist/cdn/NIHRUDKM.js +4 -0
- package/dist/cdn/NMCB5AZ7.js +4 -0
- package/dist/cdn/NQPSTS4Y.js +4 -0
- package/dist/cdn/NRO7A7OH.js +4 -0
- package/dist/cdn/NSMQAOLJ.js +4 -0
- package/dist/cdn/NTJILV6C.js +4 -0
- package/dist/cdn/O2XNE7FL.js +4 -0
- package/dist/cdn/OAEKUWIN.js +4 -0
- package/dist/cdn/OGGNGPY4.js +4 -0
- package/dist/cdn/OH6KDHZC.js +4 -0
- package/dist/cdn/ONYSDVKX.js +4 -0
- package/dist/cdn/OOERMGNR.js +4 -0
- package/dist/cdn/OPKXSYXW.js +4 -0
- package/dist/cdn/P2WA5TTX.js +4 -0
- package/dist/cdn/P7UFLFS6.js +4 -0
- package/dist/cdn/PCJ55Y5X.js +4 -0
- package/dist/cdn/PVFHHS23.js +4 -0
- package/dist/cdn/Q2DCIWAB.js +4 -0
- package/dist/cdn/Q2HWP2QP.js +4 -0
- package/dist/cdn/Q65H2SUQ.js +4 -0
- package/dist/cdn/QGHIRHF5.js +4 -0
- package/dist/cdn/QHBAL3TU.js +4 -0
- package/dist/cdn/QOIVTH5D.js +4 -0
- package/dist/cdn/{VCDM3JXH.js → QROQA7DH.js} +1 -1
- package/dist/cdn/QUAMQSS3.js +4 -0
- package/dist/cdn/QXYBUBL7.js +4 -0
- package/dist/cdn/R35K5X4W.js +4 -0
- package/dist/cdn/R7KCK5G3.js +4 -0
- package/dist/cdn/RARW7Z5H.js +4 -0
- package/dist/cdn/RKHU3QFD.js +4 -0
- package/dist/cdn/RNLVJZQW.js +4 -0
- package/dist/cdn/SARZYQFP.js +4 -0
- package/dist/cdn/SFHOV6OU.js +4 -0
- package/dist/cdn/SW33NOJE.js +4 -0
- package/dist/cdn/T2FZDDKK.js +4 -0
- package/dist/cdn/T5RXZR4E.js +4 -0
- package/dist/cdn/TDVNPKHB.js +4 -0
- package/dist/cdn/{7LVS3WYQ.js → TOGHIEGN.js} +1 -1
- package/dist/cdn/TPAQZIYW.js +4 -0
- package/dist/cdn/TTGXE7VS.js +4 -0
- package/dist/cdn/U2GBTPHJ.js +4 -0
- package/dist/cdn/U65LPYJK.js +4 -0
- package/dist/cdn/UBKHMNGJ.js +4 -0
- package/dist/cdn/UH2DOHHW.js +4 -0
- package/dist/cdn/UKAGFOIP.js +4 -0
- package/dist/cdn/UVOZQLJR.js +4 -0
- package/dist/cdn/VIBPWP3S.js +4 -0
- package/dist/cdn/{AIBT7DAE.js → VJBEGEGY.js} +2 -2
- package/dist/cdn/VM6K7KSN.js +4 -0
- package/dist/cdn/VUPEXRX7.js +4 -0
- package/dist/cdn/WBBX5OYI.js +4 -0
- package/dist/cdn/WBWFCEVU.js +4 -0
- package/dist/cdn/WJVJAIPU.js +4 -0
- package/dist/cdn/WN7GCWQ3.js +4 -0
- package/dist/cdn/WWFEEACC.js +4 -0
- package/dist/cdn/WYYICMMI.js +4 -0
- package/dist/cdn/X53GS5I3.js +4 -0
- package/dist/cdn/X7W62SF6.js +4 -0
- package/dist/cdn/XSW4AHOF.js +4 -0
- package/dist/cdn/XVGH4BB2.js +4 -0
- package/dist/cdn/YIHP4IHU.js +4 -0
- package/dist/cdn/YXY4GEES.js +4 -0
- package/dist/cdn/{VEN3DMN6.js → Z65FIHDB.js} +1 -1
- package/dist/cdn/Z72YM6XT.js +4 -0
- package/dist/cdn/ZE7F7KD2.js +4 -0
- package/dist/cdn/ZK7C7C2J.js +4 -0
- package/dist/cdn/ZQ2TTZKB.js +4 -0
- package/dist/cdn/ZWHVONCF.js +4 -0
- package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +4 -4
- package/dist/chunks/async-utils.js +3 -3
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +66 -0
- package/dist/chunks/chartCommon.js +19 -0
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +145 -0
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +13 -13
- 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 +4 -4
- 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.d.ts +5 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +111 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -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.d.ts +5 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +11 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +5 -5
- package/dist/components/arcgis-bookmarks/customElement.d.ts +6 -3
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +26 -14
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +10 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +6 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +3 -3
- package/dist/components/arcgis-daylight/customElement.d.ts +27 -13
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +112 -9
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-directional-pad/customElement.d.ts +10 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +7 -2
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +6 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +28 -20
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +10 -4
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +6 -1
- package/dist/components/arcgis-feature/customElement.js +10 -9
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +16 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +31 -0
- package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
- package/dist/components/arcgis-feature-attachments/index.js +3 -0
- package/dist/components/arcgis-feature-content/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-content/customElement.js +66 -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-element-info/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +43 -0
- package/dist/components/arcgis-feature-element-info/index.d.ts +1 -0
- package/dist/components/arcgis-feature-element-info/index.js +1 -0
- package/dist/components/arcgis-feature-expression/customElement.d.ts +19 -0
- package/dist/components/arcgis-feature-expression/customElement.js +242 -0
- package/dist/components/arcgis-feature-expression/index.d.ts +5 -0
- package/dist/components/arcgis-feature-expression/index.js +5 -0
- package/dist/components/arcgis-feature-fields/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-fields/customElement.js +143 -0
- package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
- package/dist/components/arcgis-feature-fields/index.js +2 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +7 -2
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
- package/dist/components/arcgis-feature-media/customElement.d.ts +38 -0
- package/dist/components/arcgis-feature-media/customElement.js +577 -0
- package/dist/components/arcgis-feature-media/index.d.ts +3 -0
- package/dist/components/arcgis-feature-media/index.js +3 -0
- package/dist/components/arcgis-feature-table/customElement.d.ts +7 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -0
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +5 -0
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -0
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +21 -2
- package/dist/components/arcgis-fullscreen/customElement.js +33 -19
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +39 -16
- 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.d.ts +5 -0
- 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.d.ts +5 -0
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +75 -19
- package/dist/components/arcgis-line-of-sight/customElement.js +10 -13
- package/dist/components/arcgis-link-chart/customElement.d.ts +20 -10
- package/dist/components/arcgis-link-chart/customElement.js +19 -8
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -2
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -26
- package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
- package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
- package/dist/components/arcgis-locate/LocateViewModel.d.ts +4 -5
- package/dist/components/arcgis-locate/customElement.d.ts +17 -5
- package/dist/components/arcgis-locate/customElement.js +45 -45
- package/dist/components/arcgis-map/customElement.d.ts +27 -14
- package/dist/components/arcgis-map/customElement.js +25 -14
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -0
- 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 +17 -13
- package/dist/components/arcgis-navigation-toggle/customElement.js +14 -11
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.d.ts +5 -0
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +54 -40
- package/dist/components/arcgis-print/customElement.js +39 -33
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-export-button/customElement.js +3 -4
- 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.d.ts +1 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-main-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -22
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +23 -18
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -19
- 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 +11 -2
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +144 -81
- package/dist/components/arcgis-scene/customElement.js +27 -16
- package/dist/components/arcgis-search/customElement.d.ts +52 -16
- 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.d.ts +92 -30
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +5 -0
- package/dist/components/arcgis-sketch/customElement.js +27 -19
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -1
- package/dist/components/arcgis-slice/customElement.d.ts +77 -18
- package/dist/components/arcgis-slice/customElement.js +33 -41
- package/dist/components/arcgis-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +28 -2
- package/dist/components/arcgis-swipe/customElement.js +39 -39
- package/dist/components/arcgis-table-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -0
- 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 +26 -9
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.d.ts +6 -2
- package/dist/components/arcgis-unit-select/customElement.js +15 -8
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +16 -13
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +5 -0
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +14 -5
- package/dist/components/arcgis-version-management/customElement.js +48 -50
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +11 -11
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +19 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +45 -45
- package/dist/components/arcgis-video/customElement.d.ts +27 -10
- package/dist/components/arcgis-video/customElement.js +15 -24
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -5
- package/dist/components/arcgis-video-player/customElement.js +36 -29
- 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/WeatherViewModel.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +52 -3
- package/dist/components/arcgis-weather/customElement.js +3 -3
- package/dist/components/arcgis-zoom/customElement.d.ts +10 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/Handles.d.ts +2 -2
- package/dist/controllers/useHandles.d.ts +4 -4
- package/dist/docs/api.json +1544 -516
- package/dist/docs/docs.json +1469 -737
- package/dist/docs/vscode.html-custom-data.json +208 -108
- package/dist/docs/web-types.json +472 -239
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +23 -17
- package/dist/support/heading.d.ts +2 -1
- package/dist/types/lumina.d.ts +19 -13
- package/dist/types/preact.d.ts +19 -13
- package/dist/types/react.d.ts +19 -13
- package/dist/types/stencil.d.ts +19 -13
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +30 -0
- package/dist/utils/related-feature-utils.d.ts +17 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +5 -4
- package/dist/cdn/24QCAR23.js +0 -4
- package/dist/cdn/2F3VHU6V.js +0 -4
- package/dist/cdn/2ZMNNXHS.js +0 -4
- package/dist/cdn/3PFMM57M.js +0 -4
- package/dist/cdn/4F36IAZ7.js +0 -4
- package/dist/cdn/4NG4JOQP.js +0 -4
- package/dist/cdn/55FCKHUW.js +0 -4
- package/dist/cdn/5DWV4QYU.js +0 -4
- package/dist/cdn/637V7MBM.js +0 -4
- package/dist/cdn/6LL6GANH.js +0 -4
- package/dist/cdn/6MJTJDVW.js +0 -4
- package/dist/cdn/6RDZEEQ3.js +0 -4
- package/dist/cdn/6ROCC4GF.js +0 -4
- package/dist/cdn/6RSZZWDZ.js +0 -4
- package/dist/cdn/7GYK2I76.js +0 -4
- package/dist/cdn/7IET7A5H.js +0 -4
- package/dist/cdn/7ODPBN7V.js +0 -4
- package/dist/cdn/7QQAGBLE.js +0 -4
- package/dist/cdn/7ZAX32TI.js +0 -4
- package/dist/cdn/A4ULRWZG.js +0 -4
- package/dist/cdn/AC5U3NYZ.js +0 -4
- package/dist/cdn/ANZO55OT.js +0 -4
- package/dist/cdn/BQ4U6UMN.js +0 -4
- package/dist/cdn/BUCVAAEN.js +0 -4
- package/dist/cdn/CMBNVRX4.js +0 -4
- package/dist/cdn/D6MGY4ZG.js +0 -4
- package/dist/cdn/DOURUCK4.js +0 -4
- package/dist/cdn/DUCTZYWY.js +0 -4
- package/dist/cdn/EAIBQGHI.js +0 -4
- package/dist/cdn/EFGCTCBU.js +0 -4
- package/dist/cdn/F7S6WPMH.js +0 -4
- package/dist/cdn/FJLEVPNO.js +0 -4
- package/dist/cdn/FKAPKNBK.js +0 -4
- package/dist/cdn/FMUBO2SM.js +0 -4
- package/dist/cdn/FP272N3B.js +0 -4
- package/dist/cdn/FR5GZWQ6.js +0 -4
- package/dist/cdn/FTMB44PL.js +0 -4
- package/dist/cdn/FUVKUX3F.js +0 -4
- package/dist/cdn/G4CXV4NF.js +0 -4
- package/dist/cdn/GFL63DN7.js +0 -4
- package/dist/cdn/GL7SUTZC.js +0 -4
- package/dist/cdn/GLFXDT4O.js +0 -4
- package/dist/cdn/GR4O6BEU.js +0 -4
- package/dist/cdn/GUHP2PZF.js +0 -4
- package/dist/cdn/GZPGD27B.js +0 -6
- package/dist/cdn/HUV7GHIN.js +0 -4
- package/dist/cdn/IAXNFEPP.js +0 -4
- package/dist/cdn/IGWPHMX5.js +0 -4
- package/dist/cdn/ILGO5YVA.js +0 -4
- package/dist/cdn/IZNGYRHV.js +0 -4
- package/dist/cdn/J7QN3PZF.js +0 -4
- package/dist/cdn/JVVOVQFU.js +0 -4
- package/dist/cdn/KGHAGZY4.js +0 -4
- package/dist/cdn/KO6DPIWR.js +0 -4
- package/dist/cdn/L4YRXMVR.js +0 -4
- package/dist/cdn/L7ML76QM.js +0 -4
- package/dist/cdn/L7PXJ66C.js +0 -4
- package/dist/cdn/LHISUI6W.js +0 -4
- package/dist/cdn/LHKNQO6E.js +0 -4
- package/dist/cdn/LQ2SBKQY.js +0 -4
- package/dist/cdn/LVUAE6PC.js +0 -4
- package/dist/cdn/M4TXLEZN.js +0 -4
- package/dist/cdn/MF2DQEZU.js +0 -4
- package/dist/cdn/NCM6TOGJ.js +0 -4
- package/dist/cdn/NKEZIJO5.js +0 -4
- package/dist/cdn/NRVD3YPY.js +0 -4
- package/dist/cdn/OJUNMDUD.js +0 -4
- package/dist/cdn/OMDERSQZ.js +0 -4
- package/dist/cdn/PTTXNCL2.js +0 -4
- package/dist/cdn/PZKQVM4A.js +0 -4
- package/dist/cdn/Q5C26WCX.js +0 -4
- package/dist/cdn/Q77K3LVO.js +0 -4
- package/dist/cdn/QF4MHKQN.js +0 -4
- package/dist/cdn/QFFUI3FI.js +0 -4
- package/dist/cdn/QKFIJZ6Y.js +0 -4
- package/dist/cdn/QMATOY57.js +0 -4
- package/dist/cdn/QNDB6SQ6.js +0 -4
- package/dist/cdn/QNUXQPPT.js +0 -4
- package/dist/cdn/QYOYVCWC.js +0 -4
- package/dist/cdn/R5VIFHLX.js +0 -4
- package/dist/cdn/RBYK77JC.js +0 -4
- package/dist/cdn/SBVPQITU.js +0 -4
- package/dist/cdn/SOUISCIY.js +0 -4
- package/dist/cdn/SR67U4DI.js +0 -4
- package/dist/cdn/TMP2IYQ2.js +0 -4
- package/dist/cdn/TXQ2JI7T.js +0 -4
- package/dist/cdn/UC5VZITI.js +0 -4
- package/dist/cdn/UFNFAWDA.js +0 -4
- package/dist/cdn/UMZJE6UL.js +0 -4
- package/dist/cdn/VDTUN3EA.js +0 -4
- package/dist/cdn/VI4PPH6M.js +0 -4
- package/dist/cdn/VNUITTUC.js +0 -4
- package/dist/cdn/VRCJUC36.js +0 -4
- package/dist/cdn/WF5UHW5E.js +0 -4
- package/dist/cdn/WTF7JDXK.js +0 -4
- package/dist/cdn/Y7WJXUDZ.js +0 -4
- package/dist/cdn/YDINXYCI.js +0 -4
- package/dist/cdn/YKZKDYG3.js +0 -4
- package/dist/cdn/YPWZFYOY.js +0 -4
- package/dist/cdn/YU37LD7Q.js +0 -4
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as
|
|
1
|
+
import { c as g } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as l } from "lit-html";
|
|
3
3
|
import { createRef as u, ref as f } from "lit-html/directives/ref.js";
|
|
4
|
-
import { LitElement as V, createEvent as
|
|
5
|
-
import { css as
|
|
4
|
+
import { LitElement as V, createEvent as d, noShadowRoot as $ } from "@arcgis/lumina";
|
|
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.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
9
|
-
const
|
|
10
|
-
class
|
|
8
|
+
v4.34.0-next.41 */
|
|
9
|
+
const x = I`@layer{:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}}`;
|
|
10
|
+
class C extends V {
|
|
11
11
|
constructor() {
|
|
12
|
-
super(...arguments), this._flowItemElement = u(), this._switchToVersion = !0, this._switchToVersionCheckboxElement = u(), this._versionNameInputElement = u(), this.selected = !1, this.showBackButton = !1, this.arcgisAlterVersion =
|
|
12
|
+
super(...arguments), this._flowItemElement = u(), this._switchToVersion = !0, this._switchToVersionCheckboxElement = u(), this._versionNameInputElement = u(), this.selected = !1, this.showBackButton = !1, this.arcgisAlterVersion = d(), this.arcgisCreateVersion = d(), this.arcgisFlowItemBack = d(), this.arcgisFlowItemClose = d();
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
15
|
this.properties = { selected: 7, showBackButton: 7, versionPropertiesElementProps: 0 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
|
-
this.shadowRootOptions =
|
|
18
|
+
this.shadowRootOptions = $;
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
|
-
this.styles =
|
|
21
|
+
this.styles = x;
|
|
22
22
|
}
|
|
23
23
|
load() {
|
|
24
|
-
const { versionPropertiesElementProps: { versionInfo:
|
|
25
|
-
|
|
24
|
+
const { versionPropertiesElementProps: { versionInfo: e } } = this;
|
|
25
|
+
e ? (this._mode = "edit", this._fullVersionName = e.versionIdentifier.name, this._ownerName = this._fullVersionName.substring(0, this._fullVersionName.lastIndexOf(".")), this._versionName = this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".") + 1)) : this._mode = "create";
|
|
26
26
|
}
|
|
27
27
|
updated() {
|
|
28
28
|
this._mode === "create" && this._versionNameInputElement.value?.setFocus();
|
|
@@ -35,62 +35,62 @@ class k extends V {
|
|
|
35
35
|
_handleCancel() {
|
|
36
36
|
this.arcgisFlowItemBack.emit();
|
|
37
37
|
}
|
|
38
|
-
_handleChange(
|
|
39
|
-
const { _mode:
|
|
40
|
-
let { _alterVersionParameters:
|
|
41
|
-
switch (
|
|
38
|
+
_handleChange(e) {
|
|
39
|
+
const { _mode: i, _ownerName: h, _versionName: m, versionPropertiesElementProps: { currentUser: p, isVersionAdministrator: t, serviceUrl: r, versionInfo: a } } = this;
|
|
40
|
+
let { _alterVersionParameters: c, _createVersionParameters: s } = this;
|
|
41
|
+
switch (i === "create" && (s || (s = {
|
|
42
42
|
access: "public",
|
|
43
43
|
description: "",
|
|
44
|
-
featureServerUrl:
|
|
45
|
-
ownerName:
|
|
44
|
+
featureServerUrl: r,
|
|
45
|
+
ownerName: p,
|
|
46
46
|
versionName: ""
|
|
47
|
-
})),
|
|
48
|
-
featureServerUrl:
|
|
49
|
-
versionIdentifier:
|
|
50
|
-
ownerName:
|
|
51
|
-
versionName:
|
|
52
|
-
access:
|
|
53
|
-
description:
|
|
54
|
-
})),
|
|
47
|
+
})), i === "edit" && (c || (c = {
|
|
48
|
+
featureServerUrl: r,
|
|
49
|
+
versionIdentifier: a.versionIdentifier,
|
|
50
|
+
ownerName: h,
|
|
51
|
+
versionName: m,
|
|
52
|
+
access: a.access,
|
|
53
|
+
description: a.description
|
|
54
|
+
})), e.type) {
|
|
55
55
|
case "calciteChipGroupSelect": {
|
|
56
|
-
const
|
|
57
|
-
|
|
56
|
+
const o = e.target.label, n = e.target.selectedItems[0].label;
|
|
57
|
+
i === "create" && (s = { ...s, [o]: n }), i === "edit" && (c = { ...c, [o]: n });
|
|
58
58
|
break;
|
|
59
59
|
}
|
|
60
60
|
case "calciteInputTextInput": {
|
|
61
|
-
const
|
|
62
|
-
|
|
61
|
+
const o = e.target.name, n = e.target.value;
|
|
62
|
+
i === "create" && (s = { ...s, [o]: n }), i === "edit" && (c = { ...c, [o]: n });
|
|
63
63
|
break;
|
|
64
64
|
}
|
|
65
65
|
case "calciteTextAreaInput": {
|
|
66
|
-
const
|
|
67
|
-
|
|
66
|
+
const o = e.target.name, n = e.target.value;
|
|
67
|
+
i === "create" && (s = { ...s, [o]: n }), i === "edit" && (c = { ...c, [o]: n });
|
|
68
68
|
break;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
|
|
71
|
+
i === "create" && (s.access !== "public" && p.toUpperCase() !== s.ownerName?.toUpperCase() && !t ? (this._switchToVersionCheckboxElement.value.checked = !1, this._switchToVersionCheckboxElement.value.disabled = !0, this._switchToVersion = !1) : this._switchToVersionCheckboxElement.value.disabled = !1, this._createVersionParameters = s), i === "edit" && (this._alterVersionParameters = c);
|
|
72
72
|
}
|
|
73
73
|
_handleClose() {
|
|
74
74
|
this.arcgisFlowItemClose.emit();
|
|
75
75
|
}
|
|
76
76
|
_handleSave() {
|
|
77
|
-
const { _alterVersionParameters:
|
|
78
|
-
|
|
79
|
-
createVersionParameters:
|
|
80
|
-
switchToVersion:
|
|
81
|
-
}),
|
|
82
|
-
alterVersionParameters:
|
|
77
|
+
const { _alterVersionParameters: e, _createVersionParameters: i, _mode: h, _switchToVersion: m } = this;
|
|
78
|
+
h === "create" && this.arcgisCreateVersion.emit({
|
|
79
|
+
createVersionParameters: i,
|
|
80
|
+
switchToVersion: m
|
|
81
|
+
}), h === "edit" && this.arcgisAlterVersion.emit({
|
|
82
|
+
alterVersionParameters: e
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
|
-
_handleSwitchToVersionChange(
|
|
86
|
-
this._switchToVersion =
|
|
85
|
+
_handleSwitchToVersionChange(e) {
|
|
86
|
+
this._switchToVersion = e.target.checked;
|
|
87
87
|
}
|
|
88
88
|
render() {
|
|
89
|
-
const { selected:
|
|
90
|
-
return
|
|
89
|
+
const { selected: e, showBackButton: i, versionPropertiesElementProps: { closable: h, currentUser: m, state: p, strings: t, versionInfo: r }, _mode: a, _ownerName: c, _versionName: s } = this, o = l`<div class="properties-buttons"><calcite-button appearance=outline width=half @click=${this._handleCancel}>${t.actions.cancelSave}</calcite-button><calcite-button width=half @click=${this._handleSave}>${t.actions.saveVersion}</calcite-button></div>`, n = l`<calcite-label>${t.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${a === "edit" && r.access === "public" || a === "create"} label=public>${t.accessLevels.public}</calcite-chip><calcite-chip .selected=${a === "edit" && r.access === "protected"} label=protected>${t.accessLevels.protected}</calcite-chip><calcite-chip .selected=${a === "edit" && r.access === "private"} label=private>${t.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`, v = l`<calcite-label>${t.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${a === "edit" ? r.description : ""}></calcite-text-area></calcite-label>`, b = l`<calcite-label>${t.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${a === "edit" ? s : ""} ${f(this._versionNameInputElement)}></calcite-input-text></calcite-label>`, _ = l`<calcite-label>${t.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .value=${a === "edit" ? c : m}></calcite-input-text></calcite-label>`, w = a === "create" ? l`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${f(this._switchToVersionCheckboxElement)}></calcite-checkbox>${t.actions.switchToVersion}</calcite-label>` : void 0;
|
|
90
|
+
return l`<calcite-flow-item .closable=${h} .description=${r ? r.versionIdentifier.name : ""} .heading=${r ? t.actions.editVersion : t.actions.newVersion} .selected=${e} .showBackButton=${i} @calciteFlowItemClose=${this._handleClose} ${f(this._flowItemElement)}><calcite-panel .loading=${p === "executing"}><calcite-block .label=${t.headers.versionProperties} open>${b}${v}${n}${_}${w}${o}</calcite-block></calcite-panel></calcite-flow-item>`;
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
|
|
93
|
+
g("arcgis-version-management-version-properties", C);
|
|
94
94
|
export {
|
|
95
|
-
|
|
95
|
+
C as ArcgisVersionManagementVersionProperties
|
|
96
96
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
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
|
|
|
8
|
-
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"> & {
|
|
9
8
|
autoDestroyDisabled: boolean;
|
|
10
9
|
destroy: () => Promise<void>;
|
|
11
10
|
}) => VideoView;
|
|
@@ -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,13 @@ 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
|
-
|
|
50
|
-
|
|
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;
|
|
51
68
|
/** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
|
|
52
69
|
destroy(): Promise<void>;
|
|
53
70
|
readonly arcgisViewReadyChange: TargetedEvent<this, void>;
|
|
@@ -1,56 +1,47 @@
|
|
|
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
|
|
4
|
-
import r from "@arcgis/core/layers/VideoLayer.js";
|
|
3
|
+
import { watch as e } from "@arcgis/core/core/reactiveUtils.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.41 */
|
|
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 m 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.map = this.view.map, 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, map: 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();
|
|
37
28
|
}
|
|
38
29
|
load() {
|
|
39
|
-
const
|
|
40
|
-
|
|
30
|
+
const i = this;
|
|
31
|
+
i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container = i.el.childElem;
|
|
41
32
|
}
|
|
42
33
|
loaded() {
|
|
43
34
|
this.manager.onLifecycle(() => [
|
|
44
|
-
|
|
35
|
+
e(() => this.layer, () => {
|
|
45
36
|
this.layer && this.view && (this.view.layer = this.layer, this.layer.loaded || this.layer.load());
|
|
46
37
|
}, { initial: !0 }),
|
|
47
|
-
|
|
38
|
+
e(() => this.view.ready, () => {
|
|
48
39
|
this.view.ready && this.arcgisViewReadyChange.emit();
|
|
49
40
|
}, { initial: this.view.ready })
|
|
50
41
|
]);
|
|
51
42
|
}
|
|
52
43
|
}
|
|
53
|
-
t("arcgis-video",
|
|
44
|
+
t("arcgis-video", m);
|
|
54
45
|
export {
|
|
55
|
-
|
|
46
|
+
m 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,10 +63,14 @@ 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
|
+
/**
|
|
70
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
71
|
+
*
|
|
72
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
73
|
+
*/
|
|
69
74
|
referenceElement?: ArcgisReferenceElement | string;
|
|
70
75
|
/** @default "top-left" */
|
|
71
76
|
position: __esri.UIPosition;
|
|
@@ -83,13 +88,22 @@ export declare class ArcgisVideoPlayer extends LitElement {
|
|
|
83
88
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-VideoPlayer-VideoPlayerViewModel.html#state)
|
|
84
89
|
*/
|
|
85
90
|
readonly state: "ready" | "error" | "playing" | "waiting" | "can-play" | "not-ready" | "paused" | "data-loaded";
|
|
91
|
+
/**
|
|
92
|
+
* Determines which telemetry elements to follow when the video layer is playing.
|
|
93
|
+
*
|
|
94
|
+
* @default "follow-both"
|
|
95
|
+
*/
|
|
96
|
+
get followingMode(): VideoPlayerViewModel["followingMode"];
|
|
97
|
+
set followingMode(value: VideoPlayerViewModel["followingMode"]);
|
|
86
98
|
/**
|
|
87
99
|
* 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
100
|
*
|
|
89
101
|
* @noautocast
|
|
90
102
|
* @example
|
|
103
|
+
* ```js
|
|
91
104
|
* // Create a new Video Player with a VideoLayer
|
|
92
105
|
* videoPlayer.layer = videoLayer;
|
|
106
|
+
* ```
|
|
93
107
|
* @default null
|
|
94
108
|
*/
|
|
95
109
|
layer: nullish | __esri.VideoLayer;
|
|
@@ -103,7 +117,11 @@ export declare class ArcgisVideoPlayer extends LitElement {
|
|
|
103
117
|
* @default false
|
|
104
118
|
*/
|
|
105
119
|
autoDestroyDisabled: boolean;
|
|
106
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* Replace localized message strings with your own strings.
|
|
122
|
+
*
|
|
123
|
+
* _**Note**: Individual message keys may change between releases._
|
|
124
|
+
*/
|
|
107
125
|
messageOverrides?: typeof this.messages._overrides;
|
|
108
126
|
/** The component's default label. */
|
|
109
127
|
label?: string;
|
|
@@ -1,75 +1,82 @@
|
|
|
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
|
-
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
7
|
import { LitElement as m, createEvent as a, noShadowRoot as g, safeClassMap as o } from "@arcgis/lumina";
|
|
8
|
-
import { createRef as
|
|
9
|
-
import { u as
|
|
10
|
-
import { m as
|
|
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.34/esri/copyright.txt for details.
|
|
15
|
-
v4.34.0-next.
|
|
16
|
-
const
|
|
15
|
+
v4.34.0-next.41 */
|
|
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
|
+
}, $ = _(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
|
-
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
31
|
this.shadowRootOptions = g;
|
|
32
32
|
}
|
|
33
|
+
get followingMode() {
|
|
34
|
+
return this.viewModel.followingMode;
|
|
35
|
+
}
|
|
36
|
+
set followingMode(e) {
|
|
37
|
+
this.viewModel.followingMode = e;
|
|
38
|
+
}
|
|
33
39
|
async destroy() {
|
|
34
40
|
await this.manager.destroy();
|
|
35
41
|
}
|
|
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;
|
|
50
|
+
}, { initial: !0 }),
|
|
51
|
+
t(() => this.layer?.title, (e) => {
|
|
52
|
+
this._layerTitle = e ?? void 0;
|
|
44
53
|
}, { initial: !0 }),
|
|
45
|
-
t(() => this.
|
|
46
|
-
this._layerTitle = i ?? void 0;
|
|
47
|
-
}, { initial: !0 })
|
|
54
|
+
t(() => this.viewModel.view?.map, () => this.requestUpdate())
|
|
48
55
|
]);
|
|
49
56
|
}
|
|
50
57
|
render() {
|
|
51
|
-
return
|
|
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>`;
|
|
52
59
|
}
|
|
53
60
|
_renderLoadingScrim() {
|
|
54
|
-
return this._videoViewReady ? null :
|
|
61
|
+
return this._videoViewReady ? null : i`<calcite-scrim .loading=${this.state !== "error"}>${this.state === "error" ? this.messages.errorLoadingLayer : null}</calcite-scrim>`;
|
|
55
62
|
}
|
|
56
63
|
_renderBuffering() {
|
|
57
|
-
return this._isBuffering ?
|
|
64
|
+
return this._isBuffering ? i`<calcite-progress type=indeterminate></calcite-progress>` : null;
|
|
58
65
|
}
|
|
59
66
|
_renderVideoSection() {
|
|
60
|
-
return
|
|
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>`;
|
|
61
68
|
}
|
|
62
69
|
_renderSlider() {
|
|
63
|
-
return
|
|
70
|
+
return i`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue * 100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`;
|
|
64
71
|
}
|
|
65
72
|
_renderActionBar() {
|
|
66
|
-
return
|
|
73
|
+
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
74
|
}
|
|
68
75
|
_renderMetadataSection() {
|
|
69
|
-
return this._metadataVisible ?
|
|
76
|
+
return this._metadataVisible ? i`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>` : null;
|
|
70
77
|
}
|
|
71
78
|
}
|
|
72
|
-
h("arcgis-video-player",
|
|
79
|
+
h("arcgis-video-player", b);
|
|
73
80
|
export {
|
|
74
|
-
|
|
81
|
+
b as ArcgisVideoPlayer
|
|
75
82
|
};
|
|
@@ -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.41 */
|
|
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.41 */
|
|
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.41 */
|
|
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.41 */
|
|
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.41 */
|
|
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.41 */
|
|
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`,
|