@arcgis/map-components 4.34.0-next.7 → 4.34.0-next.70
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/2AR2RL4Y.js +4 -0
- package/dist/cdn/2AWZIA3L.js +4 -0
- package/dist/cdn/2I4CTEGV.js +4 -0
- package/dist/cdn/{73246WZV.js → 2KCAS352.js} +2 -2
- package/dist/cdn/2MLBYMYA.js +4 -0
- package/dist/cdn/2PVEP6H4.js +4 -0
- package/dist/cdn/354NC6VV.js +4 -0
- package/dist/cdn/3A3INGT3.js +4 -0
- package/dist/cdn/3OUX647B.js +4 -0
- package/dist/cdn/3VNO3VMG.js +4 -0
- package/dist/cdn/47XZ6W3K.js +4 -0
- package/dist/cdn/4CC7QROP.js +4 -0
- package/dist/cdn/4F55IKBO.js +4 -0
- package/dist/cdn/4H7DRS3O.js +4 -0
- package/dist/cdn/4O2D4TBD.js +4 -0
- package/dist/cdn/4SIW7M26.js +4 -0
- package/dist/cdn/4UBJIIXV.js +4 -0
- package/dist/cdn/4UEFUOAA.js +4 -0
- package/dist/cdn/5AZIZ3PF.js +4 -0
- package/dist/cdn/5CSIVQNY.js +4 -0
- package/dist/cdn/{IN5MEX7L.js → 5CZOXXGR.js} +2 -2
- package/dist/cdn/{BKCPYV3Y.js → 5EDSTFDH.js} +1 -1
- package/dist/cdn/5LHMHWF3.js +4 -0
- package/dist/cdn/5VYYHNUR.js +4 -0
- package/dist/cdn/5XANDIBI.js +4 -0
- package/dist/cdn/5XBSTGLH.js +4 -0
- package/dist/cdn/{DDSDEOST.js → 5ZULWT7U.js} +2 -2
- package/dist/cdn/{ECQIBBNZ.js → 6IIFVCUH.js} +2 -2
- package/dist/cdn/6RAZA3AP.js +4 -0
- package/dist/cdn/6WTGSRMX.js +4 -0
- package/dist/cdn/6YJ53JQR.js +4 -0
- package/dist/cdn/{4SFJ5GIR.js → 7EFXGXNC.js} +1 -1
- package/dist/cdn/7KVEY34N.js +4 -0
- package/dist/cdn/AAAAM4JS.js +4 -0
- package/dist/cdn/ABJZBV47.js +4 -0
- package/dist/cdn/AIINTYP2.js +4 -0
- package/dist/cdn/AQRGA3CG.js +4 -0
- package/dist/cdn/ATNQTFZB.js +4 -0
- package/dist/cdn/B4VWYF4R.js +4 -0
- package/dist/cdn/BD2SVJPH.js +4 -0
- package/dist/cdn/BFO4H73P.js +4 -0
- package/dist/cdn/BJQ5WB7Y.js +4 -0
- package/dist/cdn/BLS32VQR.js +4 -0
- package/dist/cdn/BMZ7R3XZ.js +4 -0
- package/dist/cdn/BODFPY2F.js +4 -0
- package/dist/cdn/BX3APZPD.js +4 -0
- package/dist/cdn/{LUASKWWP.js → BXZBWMK6.js} +2 -2
- package/dist/cdn/C6MN2WSS.js +4 -0
- package/dist/cdn/C6WNJM44.js +4 -0
- package/dist/cdn/CF7Y5MK6.js +4 -0
- package/dist/cdn/CGKUNVNP.js +4 -0
- package/dist/cdn/CJKPNMKS.js +4 -0
- package/dist/cdn/CKAJNS6I.js +4 -0
- package/dist/cdn/D2MI5TXS.js +4 -0
- package/dist/cdn/{B7KN6YTQ.js → D37I3LMF.js} +2 -2
- package/dist/cdn/DCELIW32.js +4 -0
- package/dist/cdn/DWDFHXAC.js +4 -0
- package/dist/cdn/E7MBDFUE.js +4 -0
- package/dist/cdn/EBLLW3H2.js +4 -0
- package/dist/cdn/EKVSV7IH.js +4 -0
- package/dist/cdn/EMER4YVN.js +6 -0
- package/dist/cdn/EP3IWPAW.js +4 -0
- package/dist/cdn/EWJETCOF.js +4 -0
- package/dist/cdn/EWKMFWBT.js +4 -0
- package/dist/cdn/FHZ4BAXV.js +4 -0
- package/dist/cdn/FKPVE63A.js +4 -0
- package/dist/cdn/FNQNKSR2.js +4 -0
- package/dist/cdn/FO6BAT7N.js +4 -0
- package/dist/cdn/FYTAWAQI.js +4 -0
- package/dist/cdn/GKPZTMAJ.js +4 -0
- package/dist/cdn/GMK6EVBP.js +4 -0
- package/dist/cdn/{JSWLDDUC.js → GMP2KW5X.js} +2 -2
- package/dist/cdn/GPL4UAFP.js +4 -0
- package/dist/cdn/GUQ7OX6Q.js +4 -0
- package/dist/cdn/GVEZBE5M.js +4 -0
- package/dist/cdn/GWAKAXNK.js +4 -0
- package/dist/cdn/GYQDEXP6.js +4 -0
- package/dist/cdn/H36MD5PS.js +4 -0
- package/dist/cdn/HDH3SA27.js +4 -0
- package/dist/cdn/HGECBCSE.js +4 -0
- package/dist/cdn/HIKNK4L5.js +4 -0
- package/dist/cdn/{QAP64MEA.js → HKWWBQUE.js} +1 -1
- package/dist/cdn/HLUFKK5B.js +4 -0
- package/dist/cdn/HMS5KVRL.js +4 -0
- package/dist/cdn/HRXKM2RU.js +4 -0
- package/dist/cdn/HSYVJFUD.js +4 -0
- package/dist/cdn/HXANX6UI.js +4 -0
- package/dist/cdn/I2AJTFGI.js +4 -0
- package/dist/cdn/IABBUAVF.js +4 -0
- package/dist/cdn/IELBU3OR.js +4 -0
- package/dist/cdn/IJCXBO5H.js +4 -0
- package/dist/cdn/IPLHIJA2.js +4 -0
- package/dist/cdn/IQOB2WHM.js +4 -0
- package/dist/cdn/IQU5FXFG.js +4 -0
- package/dist/cdn/ISRIAET4.js +4 -0
- package/dist/cdn/IXAEG2AX.js +4 -0
- package/dist/cdn/J24HQZUE.js +4 -0
- package/dist/cdn/J6GJZPBF.js +4 -0
- package/dist/cdn/JDUEYLBI.js +4 -0
- package/dist/cdn/JHJ3IPEO.js +4 -0
- package/dist/cdn/JJCLARQC.js +4 -0
- package/dist/cdn/JJQ662J6.js +4 -0
- package/dist/cdn/JXG4Q2Q5.js +4 -0
- package/dist/cdn/JXY43SSP.js +4 -0
- package/dist/cdn/K2TRJM27.js +4 -0
- package/dist/cdn/K5Z6FQ7O.js +4 -0
- package/dist/cdn/KHHY53OI.js +4 -0
- package/dist/cdn/KVELDCFU.js +4 -0
- package/dist/cdn/KVVPPPAG.js +4 -0
- package/dist/cdn/LC4O7QMB.js +4 -0
- package/dist/cdn/LWNTGQ4I.js +4 -0
- package/dist/cdn/LX5PHN6W.js +4 -0
- package/dist/cdn/MDJHRHKH.js +5 -0
- package/dist/cdn/MGVM6IXP.js +4 -0
- package/dist/cdn/MKUMSG4G.js +4 -0
- package/dist/cdn/ML7ZZEWH.js +4 -0
- package/dist/cdn/N2OPC5TW.js +4 -0
- package/dist/cdn/{EAVGPD6R.js → N4AMD5OM.js} +1 -1
- package/dist/cdn/NCGGXOKG.js +4 -0
- package/dist/cdn/NEKAFFJA.js +4 -0
- package/dist/cdn/NOWVAMZG.js +4 -0
- package/dist/cdn/NSGPJKHX.js +4 -0
- package/dist/cdn/NSRZO7UM.js +4 -0
- package/dist/cdn/{FAJWL466.js → O673AIIF.js} +2 -2
- package/dist/cdn/OAYIC4MN.js +4 -0
- package/dist/cdn/OC47Z2XQ.js +4 -0
- package/dist/cdn/OCQDH6IW.js +4 -0
- package/dist/cdn/OFSW2VUZ.js +4 -0
- package/dist/cdn/OIPCRWX7.js +4 -0
- package/dist/cdn/ONE42ZUL.js +4 -0
- package/dist/cdn/OXNIPYQL.js +4 -0
- package/dist/cdn/OY3AYNNR.js +4 -0
- package/dist/cdn/{7MLMQPS2.js → PBTBBJK7.js} +1 -1
- package/dist/cdn/PFBMKQBE.js +4 -0
- package/dist/cdn/PMQIZBP2.js +4 -0
- package/dist/cdn/PP7Q7UNI.js +4 -0
- package/dist/cdn/PYFFSITY.js +4 -0
- package/dist/cdn/{KXFOXBSW.js → PZDLSZBV.js} +1 -1
- package/dist/cdn/QBHY6CBB.js +4 -0
- package/dist/cdn/QEI2TTJN.js +4 -0
- package/dist/cdn/QTI5DTMV.js +4 -0
- package/dist/cdn/RF4MOEMZ.js +4 -0
- package/dist/cdn/RKLE6RRM.js +4 -0
- package/dist/cdn/RPRK6C74.js +4 -0
- package/dist/cdn/RSVQX3RP.js +4 -0
- package/dist/cdn/SDJJWQPY.js +4 -0
- package/dist/cdn/SJWH25MD.js +4 -0
- package/dist/cdn/SYTCDH6J.js +4 -0
- package/dist/cdn/T43ZKBUL.js +4 -0
- package/dist/cdn/THPL3AWL.js +4 -0
- package/dist/cdn/TYHMP45B.js +4 -0
- package/dist/cdn/U7GCDM6L.js +4 -0
- package/dist/cdn/UAVTLQX7.js +4 -0
- package/dist/cdn/UH3J53SE.js +4 -0
- package/dist/cdn/UJLVRNX6.js +4 -0
- package/dist/cdn/UKHU2KV4.js +4 -0
- package/dist/cdn/UUKGM4CS.js +4 -0
- package/dist/cdn/UZZO325J.js +4 -0
- package/dist/cdn/VMOB7LDF.js +4 -0
- package/dist/cdn/VOVSPPXO.js +4 -0
- package/dist/cdn/VZKJR64R.js +4 -0
- package/dist/cdn/VZXRN45C.js +4 -0
- package/dist/cdn/WBMYK2NM.js +4 -0
- package/dist/cdn/WQTH5DEY.js +4 -0
- package/dist/cdn/WWK3KN4N.js +4 -0
- package/dist/cdn/{TD3FQAZG.js → WWQ76UBW.js} +1 -1
- package/dist/cdn/{EF5ADWHS.js → X4AY7J4P.js} +2 -2
- package/dist/cdn/X5EFDMTN.js +4 -0
- package/dist/cdn/XAUOLY2L.js +4 -0
- package/dist/cdn/XNWNXAWW.js +4 -0
- package/dist/cdn/XOGYW5MN.js +4 -0
- package/dist/cdn/XQFTJYY2.js +4 -0
- package/dist/cdn/XQZU3IUE.js +4 -0
- package/dist/cdn/XTOHHIAU.js +4 -0
- package/dist/cdn/XWQEZXIF.js +4 -0
- package/dist/cdn/{62NV7NFZ.js → YDKCBMOW.js} +2 -2
- package/dist/cdn/YID6KBLE.js +4 -0
- package/dist/cdn/YKPFG6ZM.js +4 -0
- package/dist/cdn/YN2IBXDY.js +4 -0
- package/dist/cdn/YOUIY6WZ.js +4 -0
- package/dist/cdn/{576TH74N.js → YS2IN3HF.js} +2 -2
- package/dist/cdn/YW5ODCJD.js +4 -0
- package/dist/cdn/Z47CMIYF.js +4 -0
- package/dist/cdn/{42FXNNW7.js → Z6MZTW2K.js} +2 -2
- package/dist/cdn/ZF4GIRLB.js +4 -0
- package/dist/cdn/ZXWVQURO.js +4 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-TW.json +1 -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/assets/version-management/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- 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 +178 -0
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +13 -13
- package/dist/chunks/layer-list.js +2 -2
- 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 +2 -2
- package/dist/chunks/useWidget.js +2 -2
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +113 -11
- package/dist/components/arcgis-area-measurement-3d/customElement.js +19 -23
- package/dist/components/arcgis-attachments/customElement.d.ts +16 -5
- package/dist/components/arcgis-attachments/customElement.js +8 -8
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +31 -29
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +17 -18
- package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +241 -84
- package/dist/components/arcgis-bookmarks/customElement.js +457 -17
- package/dist/components/arcgis-bookmarks/index.d.ts +21 -0
- package/dist/components/arcgis-bookmarks/index.js +21 -0
- package/dist/components/arcgis-bookmarks/interfaces.d.ts +12 -0
- package/dist/components/arcgis-bookmarks/user-state.d.ts +26 -0
- package/dist/components/arcgis-building-explorer/customElement.d.ts +30 -18
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +12 -3
- package/dist/components/arcgis-compass/customElement.js +15 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +36 -18
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +114 -11
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +13 -17
- package/dist/components/arcgis-directional-pad/customElement.d.ts +12 -3
- package/dist/components/arcgis-directional-pad/customElement.js +20 -21
- package/dist/components/arcgis-directional-pad/utils.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +11 -6
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.d.ts +10 -5
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +34 -26
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.d.ts +14 -8
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.d.ts +200 -86
- package/dist/components/arcgis-feature/customElement.js +208 -21
- package/dist/components/arcgis-feature/index.d.ts +8 -0
- package/dist/components/arcgis-feature/index.js +8 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +37 -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 +65 -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 +42 -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 +21 -0
- package/dist/components/arcgis-feature-expression/customElement.js +248 -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 +142 -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 +11 -6
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
- package/dist/components/arcgis-feature-media/customElement.d.ts +36 -0
- package/dist/components/arcgis-feature-media/customElement.js +571 -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-relationship/customElement.d.ts +86 -0
- package/dist/components/arcgis-feature-relationship/customElement.js +402 -0
- package/dist/components/arcgis-feature-relationship/index.d.ts +10 -0
- package/dist/components/arcgis-feature-relationship/index.js +10 -0
- package/dist/components/arcgis-feature-table/customElement.d.ts +11 -5
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +12 -5
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +9 -4
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -5
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.d.ts +23 -4
- package/dist/components/arcgis-fullscreen/customElement.js +32 -19
- package/dist/components/arcgis-grid-controls/customElement.d.ts +16 -7
- package/dist/components/arcgis-grid-controls/customElement.js +16 -16
- package/dist/components/arcgis-grid-controls/gridUtils.d.ts +6 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +31 -10
- package/dist/components/arcgis-home/customElement.js +14 -15
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
- package/dist/components/arcgis-layer-list/customElement.d.ts +14 -6
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +3 -3
- package/dist/components/arcgis-legend/customElement.d.ts +9 -4
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +77 -21
- package/dist/components/arcgis-line-of-sight/customElement.js +19 -23
- package/dist/components/arcgis-link-chart/customElement.d.ts +26 -16
- package/dist/components/arcgis-link-chart/customElement.js +20 -9
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -27
- 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 +19 -7
- package/dist/components/arcgis-locate/customElement.js +115 -113
- package/dist/components/arcgis-locate/index.d.ts +0 -1
- package/dist/components/arcgis-locate/index.js +0 -1
- package/dist/components/arcgis-map/customElement.d.ts +33 -20
- package/dist/components/arcgis-map/customElement.js +26 -15
- package/dist/components/arcgis-measurement/customElement.d.ts +11 -6
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-measurement-content/customElement.d.ts +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +12 -13
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +19 -15
- package/dist/components/arcgis-navigation-toggle/customElement.js +17 -15
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +9 -4
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +7 -2
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +57 -43
- package/dist/components/arcgis-print/customElement.js +38 -33
- package/dist/components/arcgis-print/types.d.ts +40 -0
- package/dist/components/arcgis-print/utils.d.ts +6 -6
- package/dist/components/arcgis-print-custom-text-elements/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
- package/dist/components/arcgis-print-dpi-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-export-button/customElement.js +4 -5
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
- package/dist/components/arcgis-print-format-select/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-format-select/customElement.js +3 -3
- package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-layout-panel/customElement.js +14 -15
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +3 -9
- package/dist/components/arcgis-print-main-panel/customElement.js +12 -13
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -23
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +26 -22
- package/dist/components/arcgis-print-preview-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -20
- package/dist/components/arcgis-print-template-select/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +11 -12
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
- package/dist/components/arcgis-scale-bar/customElement.d.ts +13 -4
- package/dist/components/arcgis-scale-bar/customElement.js +66 -65
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.d.ts +158 -95
- package/dist/components/arcgis-scene/customElement.js +28 -17
- package/dist/components/arcgis-search/customElement.d.ts +59 -27
- package/dist/components/arcgis-search/customElement.js +42 -39
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -2
- package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +97 -34
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +13 -8
- 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 +109 -23
- package/dist/components/arcgis-slice/customElement.js +32 -41
- package/dist/components/arcgis-slider/customElement.d.ts +11 -6
- package/dist/components/arcgis-slider/customElement.js +2 -2
- package/dist/components/arcgis-swipe/customElement.d.ts +31 -5
- package/dist/components/arcgis-swipe/customElement.js +44 -45
- package/dist/components/arcgis-table-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +5 -3
- package/dist/components/arcgis-time-zone-label/customElement.js +11 -12
- package/dist/components/arcgis-track/customElement.d.ts +28 -11
- package/dist/components/arcgis-track/customElement.js +14 -15
- package/dist/components/arcgis-unit-select/customElement.d.ts +7 -3
- package/dist/components/arcgis-unit-select/customElement.js +22 -16
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +20 -17
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +10 -5
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +12 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +10 -5
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.d.ts +16 -9
- package/dist/components/arcgis-version-management/customElement.js +49 -51
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +3 -4
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-item/customElement.js +12 -12
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-list/customElement.js +18 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-properties/customElement.js +43 -44
- package/dist/components/arcgis-video/customElement.d.ts +28 -11
- package/dist/components/arcgis-video/customElement.js +15 -24
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -7
- package/dist/components/arcgis-video-player/customElement.js +39 -33
- package/dist/components/arcgis-video-player-action-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +11 -12
- package/dist/components/arcgis-video-player-actions-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +2 -2
- package/dist/components/arcgis-video-player-controls-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +13 -13
- package/dist/components/arcgis-video-player-metadata/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +10 -11
- package/dist/components/arcgis-video-player-settings/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +8 -9
- package/dist/components/arcgis-video-player-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +6 -7
- package/dist/components/arcgis-weather/WeatherViewModel.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +54 -5
- package/dist/components/arcgis-weather/customElement.js +17 -18
- package/dist/components/arcgis-zoom/customElement.d.ts +12 -3
- package/dist/components/arcgis-zoom/customElement.js +12 -13
- package/dist/controllers/Handles.d.ts +4 -4
- package/dist/controllers/useHandles.d.ts +5 -5
- package/dist/controllers/useView.d.ts +3 -3
- package/dist/controllers/useViewModel.d.ts +4 -4
- package/dist/controllers/useWidget.d.ts +9 -9
- package/dist/docs/api.json +3785 -1107
- package/dist/docs/docs.json +2854 -925
- package/dist/docs/vscode.html-custom-data.json +467 -174
- package/dist/docs/web-types.json +1076 -488
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +12 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +27 -20
- package/dist/support/heading.d.ts +2 -1
- package/dist/support/maybe.d.ts +3 -3
- package/dist/types/lumina.d.ts +28 -18
- package/dist/types/preact.d.ts +29 -18
- package/dist/types/react.d.ts +30 -18
- package/dist/types/stencil.d.ts +28 -18
- package/dist/utils/async-utils.d.ts +7 -7
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/component-utils.d.ts +9 -9
- package/dist/utils/feature-form-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +33 -0
- package/dist/utils/layer-list-utils.d.ts +17 -17
- package/dist/utils/related-feature-utils.d.ts +6 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +7 -5
- package/dist/cdn/3CVTJ6IR.js +0 -4
- package/dist/cdn/3K4LQ5ZH.js +0 -4
- package/dist/cdn/3NYGB5KC.js +0 -4
- package/dist/cdn/3V7IRFXL.js +0 -4
- package/dist/cdn/43IJVAZP.js +0 -4
- package/dist/cdn/4QHWO73K.js +0 -4
- package/dist/cdn/4V2M77YV.js +0 -4
- package/dist/cdn/5FZJ2H3A.js +0 -4
- package/dist/cdn/5H7D7TSV.js +0 -4
- package/dist/cdn/5KK3XQQZ.js +0 -4
- package/dist/cdn/5LHNWCSF.js +0 -4
- package/dist/cdn/5N4BVYD2.js +0 -4
- package/dist/cdn/5ZJSJBH7.js +0 -4
- package/dist/cdn/6DLNCYNJ.js +0 -4
- package/dist/cdn/6EUTPSR3.js +0 -4
- package/dist/cdn/6JC3X4DH.js +0 -4
- package/dist/cdn/6VMYCMSX.js +0 -4
- package/dist/cdn/7DA7Y4DS.js +0 -4
- package/dist/cdn/7S7U4ABF.js +0 -4
- package/dist/cdn/AGNZOUXO.js +0 -4
- package/dist/cdn/APM7HWPV.js +0 -4
- package/dist/cdn/AXC7MHUY.js +0 -6
- package/dist/cdn/B7YWZFHG.js +0 -4
- package/dist/cdn/BGL6T3KT.js +0 -4
- package/dist/cdn/BIDDZ56Y.js +0 -4
- package/dist/cdn/BNXSE33Y.js +0 -4
- package/dist/cdn/BTMPB2XP.js +0 -4
- package/dist/cdn/BWZL65MZ.js +0 -4
- package/dist/cdn/C3JX4XWF.js +0 -4
- package/dist/cdn/C4TSJEJH.js +0 -4
- package/dist/cdn/C5Y2CFYN.js +0 -4
- package/dist/cdn/CPW7VJRT.js +0 -4
- package/dist/cdn/CTEALHBJ.js +0 -4
- package/dist/cdn/CXJCTNJJ.js +0 -4
- package/dist/cdn/CXVJEZRT.js +0 -4
- package/dist/cdn/DMKGED3D.js +0 -4
- package/dist/cdn/DZRQ3FJN.js +0 -4
- package/dist/cdn/EGXWFLZ6.js +0 -4
- package/dist/cdn/ESO25JEU.js +0 -4
- package/dist/cdn/FEHLXR64.js +0 -4
- package/dist/cdn/FOZYNPTO.js +0 -4
- package/dist/cdn/FUIIOE5K.js +0 -4
- package/dist/cdn/G6V7COIW.js +0 -4
- package/dist/cdn/GXHWA464.js +0 -4
- package/dist/cdn/HLUINBW7.js +0 -4
- package/dist/cdn/I3YONNOJ.js +0 -4
- package/dist/cdn/IFU5E2LC.js +0 -4
- package/dist/cdn/IKGGVPEL.js +0 -4
- package/dist/cdn/ITWSP5JU.js +0 -4
- package/dist/cdn/JCV3FTL7.js +0 -4
- package/dist/cdn/JP5OTXJX.js +0 -4
- package/dist/cdn/JZ6AB7NM.js +0 -4
- package/dist/cdn/JZO3ICTU.js +0 -4
- package/dist/cdn/KGJHCOZ4.js +0 -4
- package/dist/cdn/KHCCACST.js +0 -4
- package/dist/cdn/KPKM24HM.js +0 -4
- package/dist/cdn/L7LDYNLW.js +0 -4
- package/dist/cdn/LHUB6IIZ.js +0 -4
- package/dist/cdn/LJC6WRCS.js +0 -4
- package/dist/cdn/LJSRLQJH.js +0 -4
- package/dist/cdn/LTOXWTO6.js +0 -4
- package/dist/cdn/MHERALSB.js +0 -4
- package/dist/cdn/N2HYKSZN.js +0 -4
- package/dist/cdn/N3UCR7B4.js +0 -4
- package/dist/cdn/N7QZNEIJ.js +0 -4
- package/dist/cdn/NAGYELAG.js +0 -4
- package/dist/cdn/NH4L7TUF.js +0 -4
- package/dist/cdn/PITGRP5J.js +0 -4
- package/dist/cdn/Q4LEDOCN.js +0 -4
- package/dist/cdn/QGSP733R.js +0 -4
- package/dist/cdn/QX4PFK5W.js +0 -4
- package/dist/cdn/R4OCIRWR.js +0 -4
- package/dist/cdn/RR5F3SPW.js +0 -4
- package/dist/cdn/RTEPILHE.js +0 -4
- package/dist/cdn/RYH4JLMG.js +0 -4
- package/dist/cdn/SVIUUV22.js +0 -4
- package/dist/cdn/T4FMPBKP.js +0 -4
- package/dist/cdn/T7AW36YP.js +0 -4
- package/dist/cdn/TC2TTTMU.js +0 -4
- package/dist/cdn/TE3QJZJW.js +0 -4
- package/dist/cdn/TQV4YCGY.js +0 -4
- package/dist/cdn/TUT5QPQJ.js +0 -4
- package/dist/cdn/TY2YZASD.js +0 -4
- package/dist/cdn/UOH2BTYV.js +0 -4
- package/dist/cdn/UQXB5REP.js +0 -4
- package/dist/cdn/UV5D3ZXY.js +0 -4
- package/dist/cdn/VENK34O7.js +0 -4
- package/dist/cdn/VGV6LYWI.js +0 -4
- package/dist/cdn/VRTJXWFO.js +0 -4
- package/dist/cdn/VT73N5VK.js +0 -4
- package/dist/cdn/VZX6PQA2.js +0 -4
- package/dist/cdn/W2EA6D3X.js +0 -4
- package/dist/cdn/WFTKJB4P.js +0 -4
- package/dist/cdn/WOY7XX7B.js +0 -4
- package/dist/cdn/XGXYIF65.js +0 -4
- package/dist/cdn/XJ6BZ6DU.js +0 -4
- package/dist/cdn/XV6MSZ6U.js +0 -4
- package/dist/cdn/YTBQINZ7.js +0 -4
- package/dist/cdn/ZEROK655.js +0 -4
- package/dist/cdn/ZH4LI6ZS.js +0 -4
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as
|
|
1
|
+
import { c as g } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as V, html as l } from "lit";
|
|
3
3
|
import { createRef as u, ref as f } from "lit-html/directives/ref.js";
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as x } from "@lit/reactive-element/css-tag.js";
|
|
4
|
+
import { LitElement as $, createEvent as d, noShadowRoot as I } from "@arcgis/lumina";
|
|
6
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
9
|
-
const
|
|
10
|
-
class
|
|
7
|
+
v4.34.0-next.70 */
|
|
8
|
+
const x = V`@layer{:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}}`;
|
|
9
|
+
class C extends $ {
|
|
11
10
|
constructor() {
|
|
12
|
-
super(...arguments), this._flowItemElement = u(), this._switchToVersion = !0, this._switchToVersionCheckboxElement = u(), this._versionNameInputElement = u(), this.selected = !1, this.showBackButton = !1, this.arcgisAlterVersion =
|
|
11
|
+
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
12
|
}
|
|
14
13
|
static {
|
|
15
14
|
this.properties = { selected: 7, showBackButton: 7, versionPropertiesElementProps: 0 };
|
|
@@ -18,11 +17,11 @@ class k extends V {
|
|
|
18
17
|
this.shadowRootOptions = I;
|
|
19
18
|
}
|
|
20
19
|
static {
|
|
21
|
-
this.styles =
|
|
20
|
+
this.styles = x;
|
|
22
21
|
}
|
|
23
22
|
load() {
|
|
24
|
-
const { versionPropertiesElementProps: { versionInfo:
|
|
25
|
-
|
|
23
|
+
const { versionPropertiesElementProps: { versionInfo: e } } = this;
|
|
24
|
+
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
25
|
}
|
|
27
26
|
updated() {
|
|
28
27
|
this._mode === "create" && this._versionNameInputElement.value?.setFocus();
|
|
@@ -35,62 +34,62 @@ class k extends V {
|
|
|
35
34
|
_handleCancel() {
|
|
36
35
|
this.arcgisFlowItemBack.emit();
|
|
37
36
|
}
|
|
38
|
-
_handleChange(
|
|
39
|
-
const { _mode:
|
|
40
|
-
let { _alterVersionParameters:
|
|
41
|
-
switch (
|
|
37
|
+
_handleChange(e) {
|
|
38
|
+
const { _mode: i, _ownerName: h, _versionName: m, versionPropertiesElementProps: { currentUser: p, isVersionAdministrator: t, serviceUrl: r, versionInfo: a } } = this;
|
|
39
|
+
let { _alterVersionParameters: c, _createVersionParameters: s } = this;
|
|
40
|
+
switch (i === "create" && (s || (s = {
|
|
42
41
|
access: "public",
|
|
43
42
|
description: "",
|
|
44
|
-
featureServerUrl:
|
|
45
|
-
ownerName:
|
|
43
|
+
featureServerUrl: r,
|
|
44
|
+
ownerName: p,
|
|
46
45
|
versionName: ""
|
|
47
|
-
})),
|
|
48
|
-
featureServerUrl:
|
|
49
|
-
versionIdentifier:
|
|
50
|
-
ownerName:
|
|
51
|
-
versionName:
|
|
52
|
-
access:
|
|
53
|
-
description:
|
|
54
|
-
})),
|
|
46
|
+
})), i === "edit" && (c || (c = {
|
|
47
|
+
featureServerUrl: r,
|
|
48
|
+
versionIdentifier: a.versionIdentifier,
|
|
49
|
+
ownerName: h,
|
|
50
|
+
versionName: m,
|
|
51
|
+
access: a.access,
|
|
52
|
+
description: a.description
|
|
53
|
+
})), e.type) {
|
|
55
54
|
case "calciteChipGroupSelect": {
|
|
56
|
-
const
|
|
57
|
-
|
|
55
|
+
const o = e.target.label, n = e.target.selectedItems[0].label;
|
|
56
|
+
i === "create" && (s = { ...s, [o]: n }), i === "edit" && (c = { ...c, [o]: n });
|
|
58
57
|
break;
|
|
59
58
|
}
|
|
60
59
|
case "calciteInputTextInput": {
|
|
61
|
-
const
|
|
62
|
-
|
|
60
|
+
const o = e.target.name, n = e.target.value;
|
|
61
|
+
i === "create" && (s = { ...s, [o]: n }), i === "edit" && (c = { ...c, [o]: n });
|
|
63
62
|
break;
|
|
64
63
|
}
|
|
65
64
|
case "calciteTextAreaInput": {
|
|
66
|
-
const
|
|
67
|
-
|
|
65
|
+
const o = e.target.name, n = e.target.value;
|
|
66
|
+
i === "create" && (s = { ...s, [o]: n }), i === "edit" && (c = { ...c, [o]: n });
|
|
68
67
|
break;
|
|
69
68
|
}
|
|
70
69
|
}
|
|
71
|
-
|
|
70
|
+
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
71
|
}
|
|
73
72
|
_handleClose() {
|
|
74
73
|
this.arcgisFlowItemClose.emit();
|
|
75
74
|
}
|
|
76
75
|
_handleSave() {
|
|
77
|
-
const { _alterVersionParameters:
|
|
78
|
-
|
|
79
|
-
createVersionParameters:
|
|
80
|
-
switchToVersion:
|
|
81
|
-
}),
|
|
82
|
-
alterVersionParameters:
|
|
76
|
+
const { _alterVersionParameters: e, _createVersionParameters: i, _mode: h, _switchToVersion: m } = this;
|
|
77
|
+
h === "create" && this.arcgisCreateVersion.emit({
|
|
78
|
+
createVersionParameters: i,
|
|
79
|
+
switchToVersion: m
|
|
80
|
+
}), h === "edit" && this.arcgisAlterVersion.emit({
|
|
81
|
+
alterVersionParameters: e
|
|
83
82
|
});
|
|
84
83
|
}
|
|
85
|
-
_handleSwitchToVersionChange(
|
|
86
|
-
this._switchToVersion =
|
|
84
|
+
_handleSwitchToVersionChange(e) {
|
|
85
|
+
this._switchToVersion = e.target.checked;
|
|
87
86
|
}
|
|
88
87
|
render() {
|
|
89
|
-
const { selected:
|
|
90
|
-
return
|
|
88
|
+
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;
|
|
89
|
+
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
90
|
}
|
|
92
91
|
}
|
|
93
|
-
|
|
92
|
+
g("arcgis-version-management-version-properties", C);
|
|
94
93
|
export {
|
|
95
|
-
|
|
94
|
+
C as ArcgisVersionManagementVersionProperties
|
|
96
95
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../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";
|
|
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.70 */
|
|
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
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
4
|
import { default as VideoPlayerViewModel } from '@arcgis/core/widgets/VideoPlayer/VideoPlayerViewModel.js';
|
|
5
5
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
@@ -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,6 +88,13 @@ 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
|
*
|
|
@@ -105,7 +117,11 @@ export declare class ArcgisVideoPlayer extends LitElement {
|
|
|
105
117
|
* @default false
|
|
106
118
|
*/
|
|
107
119
|
autoDestroyDisabled: boolean;
|
|
108
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* Replace localized message strings with your own strings.
|
|
122
|
+
*
|
|
123
|
+
* _**Note**: Individual message keys may change between releases._
|
|
124
|
+
*/
|
|
109
125
|
messageOverrides?: typeof this.messages._overrides;
|
|
110
126
|
/** The component's default label. */
|
|
111
127
|
label?: string;
|
|
@@ -124,7 +140,7 @@ export declare class ArcgisVideoPlayer extends LitElement {
|
|
|
124
140
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
125
141
|
name: "state" | "layer";
|
|
126
142
|
}>;
|
|
127
|
-
/** Emitted when the component associated with a map or scene view is
|
|
143
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
128
144
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
129
145
|
readonly arcgisVideoReady: TargetedEvent<this, void>;
|
|
130
146
|
private messages: {
|
|
@@ -1,34 +1,39 @@
|
|
|
1
1
|
import { c as h } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as
|
|
3
|
-
import { usePropertyChange as
|
|
4
|
-
import { classes as u } from "@arcgis/
|
|
5
|
-
import
|
|
2
|
+
import { css as c, html as i } from "lit";
|
|
3
|
+
import { usePropertyChange as v } from "@arcgis/lumina/controllers";
|
|
4
|
+
import { classes as u } from "@arcgis/toolkit/dom";
|
|
5
|
+
import m 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 f, safeClassMap as o } from "@arcgis/lumina";
|
|
8
|
+
import { createRef as p, ref as y } from "lit-html/directives/ref.js";
|
|
9
9
|
import { u as _ } from "../../chunks/useT9n.js";
|
|
10
|
-
import { m as
|
|
11
|
-
import { g as
|
|
12
|
-
import { css as V } from "@lit/reactive-element/css-tag.js";
|
|
10
|
+
import { m as w } from "../../chunks/useViewModel.js";
|
|
11
|
+
import { g as V } from "../../chunks/globalCss.js";
|
|
13
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
13
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
15
|
-
v4.34.0-next.
|
|
16
|
-
const
|
|
14
|
+
v4.34.0-next.70 */
|
|
15
|
+
const M = c`@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
16
|
base: d,
|
|
18
17
|
videoView: `${d}__video-view`
|
|
19
|
-
},
|
|
20
|
-
class
|
|
18
|
+
}, $ = w(m);
|
|
19
|
+
class b extends g {
|
|
21
20
|
constructor() {
|
|
22
|
-
super(...arguments), this.messages = _({ blocking: !0 }), this.viewModel =
|
|
21
|
+
super(...arguments), this.messages = _({ blocking: !0 }), this.viewModel = $(this), this._videoViewRef = p(), 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 = v()("state", "layer"), this.arcgisReady = a(), this.arcgisVideoReady = a();
|
|
23
22
|
}
|
|
24
23
|
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 };
|
|
24
|
+
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
25
|
}
|
|
27
26
|
static {
|
|
28
|
-
this.styles =
|
|
27
|
+
this.styles = M;
|
|
29
28
|
}
|
|
30
29
|
static {
|
|
31
|
-
this.shadowRootOptions =
|
|
30
|
+
this.shadowRootOptions = f;
|
|
31
|
+
}
|
|
32
|
+
get followingMode() {
|
|
33
|
+
return this.viewModel.followingMode;
|
|
34
|
+
}
|
|
35
|
+
set followingMode(e) {
|
|
36
|
+
this.viewModel.followingMode = e;
|
|
32
37
|
}
|
|
33
38
|
async destroy() {
|
|
34
39
|
await this.manager.destroy();
|
|
@@ -36,40 +41,41 @@ class M extends m {
|
|
|
36
41
|
loaded() {
|
|
37
42
|
this.manager.onLifecycle(() => [
|
|
38
43
|
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 =
|
|
44
|
+
const { buffered: e, currentTime: s, duration: r, ended: n } = this.viewModel;
|
|
45
|
+
this._duration = r, this._currentTime = s, this._bufferedValue = e / (r || 1), this._currentValue = s / (r || 1), this._isBuffering = !n && this._bufferedValue < this._currentValue;
|
|
41
46
|
}),
|
|
42
|
-
t(() => this._videoViewRef.value?.ready, (
|
|
43
|
-
this._videoViewReady = !!
|
|
47
|
+
t(() => this._videoViewRef.value?.ready, (e) => {
|
|
48
|
+
this._videoViewReady = !!e;
|
|
49
|
+
}, { initial: !0 }),
|
|
50
|
+
t(() => this.layer?.title, (e) => {
|
|
51
|
+
this._layerTitle = e ?? void 0;
|
|
44
52
|
}, { initial: !0 }),
|
|
45
|
-
t(() => this.
|
|
46
|
-
this._layerTitle = i ?? void 0;
|
|
47
|
-
}, { initial: !0 })
|
|
53
|
+
t(() => this.viewModel.view?.map, () => this.requestUpdate())
|
|
48
54
|
]);
|
|
49
55
|
}
|
|
50
56
|
render() {
|
|
51
|
-
return
|
|
57
|
+
return i`<div class=${o(u(l.base, V.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} .map=${this.viewModel.view?.map} @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
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisVideoPlayer } from '../arcgis-video-player/customElement.js';
|
|
5
5
|
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import { formatDate as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
1
|
+
import { c as t } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as l, html as c } from "lit";
|
|
3
|
+
import { formatDate as n } from "@arcgis/core/intl.js";
|
|
4
|
+
import { LitElement as d, safeClassMap as e } from "@arcgis/lumina";
|
|
6
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
9
|
-
const p =
|
|
7
|
+
v4.34.0-next.70 */
|
|
8
|
+
const p = l`.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
9
|
playerControlsGroup: `${o}__controls-group`,
|
|
11
10
|
playerTimecode: `${o}__timecode`,
|
|
12
11
|
playerToolbar: `${o}__toolbar`
|
|
13
12
|
};
|
|
14
|
-
function
|
|
15
|
-
return
|
|
13
|
+
function s(a) {
|
|
14
|
+
return n(Math.round(a) * 1e3, { minute: "2-digit", second: "2-digit" });
|
|
16
15
|
}
|
|
17
|
-
class g extends
|
|
16
|
+
class g extends d {
|
|
18
17
|
static {
|
|
19
18
|
this.properties = { viewModel: 0, messages: 0, currentTime: 9, duration: 9, toggleMetadata: 0 };
|
|
20
19
|
}
|
|
@@ -23,10 +22,10 @@ class g extends n {
|
|
|
23
22
|
}
|
|
24
23
|
render() {
|
|
25
24
|
const { messages: i } = this;
|
|
26
|
-
return
|
|
25
|
+
return c`<div class=${e(r.playerToolbar)}><arcgis-video-player-actions-group .messages=${i} .viewModel=${this.viewModel}></arcgis-video-player-actions-group><div class=${e(r.playerTimecode)}>${s(this.currentTime)} / ${s(this.duration)}</div><arcgis-video-player-controls-group class=${e(r.playerControlsGroup)} .messages=${i} .toggleMetadata=${() => this.toggleMetadata()} .viewModel=${this.viewModel}></arcgis-video-player-controls-group></div>`;
|
|
27
26
|
}
|
|
28
27
|
}
|
|
29
|
-
|
|
28
|
+
t("arcgis-video-player-action-bar", g);
|
|
30
29
|
export {
|
|
31
30
|
g as VideoPlayerActionBar
|
|
32
31
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisVideoPlayer } from '../arcgis-video-player/customElement.js';
|
|
5
5
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as d } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as i } from "lit
|
|
2
|
+
import { html as i } from "lit";
|
|
3
3
|
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.70 */
|
|
8
8
|
class $ extends p {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this._disabled = !1, this._playing = !1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisVideoPlayer } from '../arcgis-video-player/customElement.js';
|
|
5
5
|
|