@arcgis/map-components 4.33.0-next.76 → 4.33.0-next.79
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/arcgis-map-components/{ZKXPDTV4.js → 2MMQ5QMO.js} +2 -2
- package/dist/arcgis-map-components/{3LNSA2ZW.js.LEGAL.txt → 2MMQ5QMO.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{JGBAL3VW.js → 2QJOB7IH.js} +1 -1
- package/dist/arcgis-map-components/{2FOFE2GX.js.LEGAL.txt → 2QJOB7IH.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{MN6D6LGK.js → 2UJR6VJD.js} +2 -2
- package/dist/arcgis-map-components/{3S5CMSCZ.js.LEGAL.txt → 2UJR6VJD.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{Y73EEA67.js → 2VQAWLZS.js} +2 -2
- package/dist/arcgis-map-components/{2OBEVWTT.js.LEGAL.txt → 2VQAWLZS.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{LQGYAZ6I.js → 35DBIQMH.js} +2 -2
- package/dist/arcgis-map-components/35DBIQMH.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/3FTFOANC.js +5 -0
- package/dist/arcgis-map-components/3FTFOANC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{B6XG6RT3.js → 3RUIDEX2.js} +2 -2
- package/dist/arcgis-map-components/3RUIDEX2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{VCDFYXYW.js → 4LSFX37Z.js} +2 -2
- package/dist/arcgis-map-components/4LSFX37Z.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HG652YHU.js → 4ZDIS4BE.js} +2 -2
- package/dist/arcgis-map-components/4ZDIS4BE.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{SI65GUZN.js → 5HXDEHMG.js} +2 -2
- package/dist/arcgis-map-components/5HXDEHMG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{A43CR7YX.js → 5OF2AMTU.js} +4 -4
- package/dist/arcgis-map-components/{A43CR7YX.js.LEGAL.txt → 5OF2AMTU.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{U7Y6HIRA.js → 5SSJDDKV.js} +2 -2
- package/dist/arcgis-map-components/5SSJDDKV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{7POJ6DQS.js → 5UQH7XDP.js} +2 -2
- package/dist/arcgis-map-components/5UQH7XDP.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{WIT4KYRG.js → 5VEFR2TR.js} +2 -2
- package/dist/arcgis-map-components/5VEFR2TR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{BYCOLWEN.js → 5ZDB6O7L.js} +2 -2
- package/dist/arcgis-map-components/5ZDB6O7L.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{X7IJFAEM.js → 6MQUMCFZ.js} +2 -2
- package/dist/arcgis-map-components/6MQUMCFZ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{WHAIJGEK.js → 7A6VKY6E.js} +2 -2
- package/dist/arcgis-map-components/7A6VKY6E.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GG7ZUVGL.js → AB3QVQJG.js} +2 -2
- package/dist/arcgis-map-components/AB3QVQJG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{OBHP7BOX.js → AS6ODELE.js} +2 -2
- package/dist/arcgis-map-components/AS6ODELE.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{OOSCC2KZ.js → COKU2PKM.js} +2 -2
- package/dist/arcgis-map-components/COKU2PKM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{T6EPM33P.js → CRHKLDZ5.js} +2 -2
- package/dist/arcgis-map-components/CRHKLDZ5.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/CTOHEE7S.js +4 -0
- package/dist/arcgis-map-components/CTOHEE7S.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{6E3TSAW7.js → CZ65NF2X.js} +2 -2
- package/dist/arcgis-map-components/CZ65NF2X.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{7QFKAQNL.js → EA2T7BN2.js} +2 -2
- package/dist/arcgis-map-components/EA2T7BN2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ENNGQV2N.js +5 -0
- package/dist/arcgis-map-components/ENNGQV2N.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HCGJGSAR.js → EYS4JK3J.js} +2 -2
- package/dist/arcgis-map-components/EYS4JK3J.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{MUP3H7S2.js → FAQ5IDSR.js} +2 -2
- package/dist/arcgis-map-components/{OFQKPEBI.js → FHX73NZ2.js} +2 -2
- package/dist/arcgis-map-components/FHX73NZ2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GNC6I5PE.js → GBIL6JRO.js} +2 -2
- package/dist/arcgis-map-components/GBIL6JRO.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{SMJ4EGHZ.js → GEWJMQ6A.js} +2 -2
- package/dist/arcgis-map-components/GEWJMQ6A.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QKCEUTMW.js → GYDFVOD7.js} +2 -2
- package/dist/arcgis-map-components/GYDFVOD7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{ZM2PKW7D.js → HEQ227QC.js} +2 -2
- package/dist/arcgis-map-components/HEQ227QC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{JRNXB6YS.js → HIP6VG6B.js} +2 -2
- package/dist/arcgis-map-components/HIP6VG6B.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HADZQHZE.js → HVUDDTEX.js} +2 -2
- package/dist/arcgis-map-components/HVUDDTEX.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{FEAXLGWA.js → ISGKMEPY.js} +2 -2
- package/dist/arcgis-map-components/ISGKMEPY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{763BB7LO.js → ISHIB46O.js} +2 -2
- package/dist/arcgis-map-components/ISHIB46O.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{7NKQ42YN.js → IUB666LS.js} +2 -2
- package/dist/arcgis-map-components/IUB666LS.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{MKW7PFSW.js → J3B7HYJ7.js} +2 -2
- package/dist/arcgis-map-components/J3B7HYJ7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{CYPAWD4J.js → JCPK3KSW.js} +2 -2
- package/dist/arcgis-map-components/JCPK3KSW.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{4FE4TSLL.js → JKWATUQA.js} +2 -2
- package/dist/arcgis-map-components/JKWATUQA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{KISJIQ64.js → JW2VOMYW.js} +2 -2
- package/dist/arcgis-map-components/{KISJIQ64.js.LEGAL.txt → JW2VOMYW.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{UUTPFSBG.js → K4OKH52S.js} +2 -2
- package/dist/arcgis-map-components/{UMCJQAAD.js → K5HDXYNW.js} +2 -2
- package/dist/arcgis-map-components/K5HDXYNW.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{3S5CMSCZ.js → KEO2773V.js} +2 -2
- package/dist/arcgis-map-components/KEO2773V.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{DIJKH6VQ.js → KMN6MAT2.js} +2 -2
- package/dist/arcgis-map-components/KMN6MAT2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{WS65GZW4.js → KNMIRD6W.js} +2 -2
- package/dist/arcgis-map-components/KNMIRD6W.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{J7TRNTKI.js → LQBAEH3I.js} +2 -2
- package/dist/arcgis-map-components/LQBAEH3I.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{OGEK6Q3K.js → MIQUOH2A.js} +2 -2
- package/dist/arcgis-map-components/MIQUOH2A.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{D3RDPV3K.js → MVXQAE3D.js} +2 -2
- package/dist/arcgis-map-components/MVXQAE3D.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GJPVKHZF.js → N2TMWZQL.js} +1 -1
- package/dist/arcgis-map-components/N2TMWZQL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{DLXLS3BU.js → N7SVZJM7.js} +2 -2
- package/dist/arcgis-map-components/N7SVZJM7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{S4553U3R.js → NPESJRYF.js} +2 -2
- package/dist/arcgis-map-components/NPESJRYF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{IXEQ5M4V.js → NPMPOGAS.js} +2 -2
- package/dist/arcgis-map-components/NPMPOGAS.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{6KDVK6YW.js → NQG77HML.js} +2 -2
- package/dist/arcgis-map-components/NQG77HML.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{APYML6RC.js → O633EIUR.js} +2 -2
- package/dist/arcgis-map-components/O633EIUR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{S5GX5ZNK.js → ODW6R2JG.js} +2 -2
- package/dist/arcgis-map-components/ODW6R2JG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{SKCXV3JB.js → P3W3LAK3.js} +2 -2
- package/dist/arcgis-map-components/P3W3LAK3.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{AZTN6UJ5.js → PFGRRTQH.js} +2 -2
- package/dist/arcgis-map-components/PFGRRTQH.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{3LNSA2ZW.js → QCIADCGF.js} +2 -2
- package/dist/arcgis-map-components/QCIADCGF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{P3ZUM6OA.js → RGCERVGT.js} +2 -2
- package/dist/arcgis-map-components/RGCERVGT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{U2IFBOJI.js → RRCGLDFI.js} +2 -2
- package/dist/arcgis-map-components/RRCGLDFI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{R4VEOZZK.js → RWSKZC4E.js} +2 -2
- package/dist/arcgis-map-components/RWSKZC4E.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{YH4UDX6F.js → SYH4YKJW.js} +2 -2
- package/dist/arcgis-map-components/{YH4UDX6F.js.LEGAL.txt → SYH4YKJW.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{IWT4FVCX.js → TIVY63OI.js} +2 -2
- package/dist/arcgis-map-components/TIVY63OI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{Q2YLP6SU.js → TLYMLWAA.js} +2 -2
- package/dist/arcgis-map-components/TLYMLWAA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{JYQ76O6A.js → TUEHS2CC.js} +2 -2
- package/dist/arcgis-map-components/TUEHS2CC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{IV57GZV3.js → TW7H5YEL.js} +2 -2
- package/dist/arcgis-map-components/TW7H5YEL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TSAU3ZS3.js → UCTFK555.js} +2 -2
- package/dist/arcgis-map-components/UCTFK555.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/UPA5OXP7.js +4 -0
- package/dist/arcgis-map-components/UPA5OXP7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QOIQK5TJ.js → UPVWRCGM.js} +2 -2
- package/dist/arcgis-map-components/UPVWRCGM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{2FOFE2GX.js → UWIZFH5S.js} +2 -2
- package/dist/arcgis-map-components/UWIZFH5S.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HN4LGCYU.js → UXXCMRSB.js} +2 -2
- package/dist/arcgis-map-components/UXXCMRSB.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{O4RKZMU6.js → V35MDAEW.js} +2 -2
- package/dist/arcgis-map-components/V35MDAEW.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{SCWTGO3Z.js → VC7LWMO7.js} +2 -2
- package/dist/arcgis-map-components/VC7LWMO7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{2OBEVWTT.js → VPVGIBND.js} +2 -2
- package/dist/arcgis-map-components/VPVGIBND.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TZMDXR3Z.js → VQOUAQ6B.js} +2 -2
- package/dist/arcgis-map-components/VQOUAQ6B.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{N33MINRH.js → W4QMB4QH.js} +2 -2
- package/dist/arcgis-map-components/W4QMB4QH.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{Z3XUNKAQ.js → WGXEUQF7.js} +2 -2
- package/dist/arcgis-map-components/WGXEUQF7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GVRXDQIH.js → WU2N7UMV.js} +2 -2
- package/dist/arcgis-map-components/WU2N7UMV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{6SVCHU2E.js → X56L3T2B.js} +2 -2
- package/dist/arcgis-map-components/X56L3T2B.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HYMB4GQC.js → XDD4X24S.js} +2 -2
- package/dist/arcgis-map-components/XDD4X24S.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{SLUPTXB6.js → XZGAJDLK.js} +2 -2
- package/dist/arcgis-map-components/XZGAJDLK.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{WLBVBKBC.js → YDH3XRKG.js} +2 -2
- package/dist/arcgis-map-components/YDH3XRKG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{E5UDNGBW.js → YETMGDWC.js} +1 -1
- package/dist/arcgis-map-components/YETMGDWC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{MY6OQRKX.js → YETNQNNZ.js} +2 -2
- package/dist/arcgis-map-components/YETNQNNZ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{ZRNPWD33.js → YHTX5JAV.js} +2 -2
- package/dist/arcgis-map-components/{MROM37OC.js → YQVBXNDV.js} +2 -2
- package/dist/arcgis-map-components/YQVBXNDV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{SD77U6ND.js → ZBWLIEXW.js} +2 -2
- package/dist/arcgis-map-components/ZBWLIEXW.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QMOZYQBH.js → ZM263U2P.js} +2 -2
- package/dist/arcgis-map-components/ZM263U2P.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js.LEGAL.txt +1 -1
- package/dist/arcgis-map-components/assets/weather/t9n/messages.ar.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.bg.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.bs.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.ca.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.cs.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.da.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.de.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.el.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.en.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.es.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.et.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.fi.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.fr.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.he.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.hr.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.hu.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.id.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.it.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.ja.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.ko.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.lt.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.lv.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.nl.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.no.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.pl.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.pt-BR.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.pt-PT.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.ro.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.ru.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.sk.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.sl.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.sr.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.sv.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.th.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.tr.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.uk.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.vi.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.zh-CN.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.zh-HK.json +1 -0
- package/dist/arcgis-map-components/assets/weather/t9n/messages.zh-TW.json +1 -0
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/globalCss.js +3 -2
- package/dist/chunks/heading.js +20 -0
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +30 -40
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/LabeledSlider.d.ts +7 -0
- package/dist/components/arcgis-weather/WeatherViewModel.d.ts +41 -0
- package/dist/components/arcgis-weather/css.d.ts +10 -0
- package/dist/components/arcgis-weather/customElement.d.ts +22 -37
- package/dist/components/arcgis-weather/customElement.js +277 -14
- package/dist/components/arcgis-weather/index.d.ts +5 -0
- package/dist/components/arcgis-weather/index.js +5 -0
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +67 -14
- package/dist/docs/docs.json +44 -16
- package/dist/docs/vscode.html-custom-data.json +22 -3
- package/dist/docs/web-types.json +15 -8
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +5 -5
- package/dist/arcgis-map-components/4FE4TSLL.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/6E3TSAW7.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/6KDVK6YW.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/6SVCHU2E.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/763BB7LO.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7NKQ42YN.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7POJ6DQS.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7QFKAQNL.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/APYML6RC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/AZTN6UJ5.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/B6XG6RT3.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/BYCOLWEN.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/CYPAWD4J.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/D3RDPV3K.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DAIGIXTP.js +0 -4
- package/dist/arcgis-map-components/DAIGIXTP.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DIJKH6VQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DLXLS3BU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/E5UDNGBW.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/F7RCAHQO.js +0 -5
- package/dist/arcgis-map-components/F7RCAHQO.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/FEAXLGWA.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GG7ZUVGL.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GJPVKHZF.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GNC6I5PE.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GVRXDQIH.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HADZQHZE.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HCGJGSAR.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HG652YHU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HN4LGCYU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HYMB4GQC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IV57GZV3.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IWT4FVCX.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IXEQ5M4V.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/J7TRNTKI.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/JGBAL3VW.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/JRNXB6YS.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/JYQ76O6A.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/LQGYAZ6I.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/MKW7PFSW.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/MN6D6LGK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/MROM37OC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/MY6OQRKX.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/N33MINRH.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/O4RKZMU6.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/OBHP7BOX.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/OFQKPEBI.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/OGEK6Q3K.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/OOSCC2KZ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/P3ZUM6OA.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/Q2YLP6SU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QKCEUTMW.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QMOZYQBH.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QOIQK5TJ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/R4VEOZZK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/S4553U3R.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/S5GX5ZNK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/SCWTGO3Z.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/SD77U6ND.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/SI65GUZN.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/SKCXV3JB.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/SLUPTXB6.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/SMJ4EGHZ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/T4PVIBPR.js +0 -5
- package/dist/arcgis-map-components/T4PVIBPR.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/T6EPM33P.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TSAU3ZS3.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TZMDXR3Z.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/U2IFBOJI.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/U7Y6HIRA.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/UMCJQAAD.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/VCDFYXYW.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/WHAIJGEK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/WIT4KYRG.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/WLBVBKBC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/WS65GZW4.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/X7IJFAEM.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/Y73EEA67.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/Z3XUNKAQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ZKXPDTV4.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ZM2PKW7D.js.LEGAL.txt +0 -3
- /package/dist/arcgis-map-components/{MUP3H7S2.js.LEGAL.txt → FAQ5IDSR.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-map-components/{UUTPFSBG.js.LEGAL.txt → K4OKH52S.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-map-components/{ZRNPWD33.js.LEGAL.txt → YHTX5JAV.js.LEGAL.txt} +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const css: {
|
|
2
|
+
readonly base: "arcgis-weather";
|
|
3
|
+
readonly content: "arcgis-weather__content";
|
|
4
|
+
readonly hasError: "arcgis-weather__content--has-error";
|
|
5
|
+
readonly selector: "arcgis-weather__selector";
|
|
6
|
+
readonly options: "arcgis-weather__options";
|
|
7
|
+
readonly optionsHidden: "arcgis-weather__options--hidden";
|
|
8
|
+
readonly error: "arcgis-weather__error";
|
|
9
|
+
readonly warning: "arcgis-weather__warning";
|
|
10
|
+
};
|
|
@@ -2,46 +2,19 @@
|
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/components-controllers';
|
|
4
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
|
+
import { HeadingLevel } from '../../support/heading.jsx';
|
|
7
7
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
8
|
+
import { WeatherViewModel } from './WeatherViewModel.js';
|
|
8
9
|
|
|
9
|
-
declare const
|
|
10
|
+
declare const useViewModel: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
10
11
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
11
12
|
el: HTMLElement;
|
|
12
13
|
autoDestroyDisabled?: boolean;
|
|
13
14
|
destroy?: () => Promise<void>;
|
|
14
|
-
} & Pick<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
viewModel?: __esri.WeatherViewModel | undefined;
|
|
18
|
-
icon: Nil | string;
|
|
19
|
-
label: Nil | string;
|
|
20
|
-
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
21
|
-
position: __esri.
|
|
22
|
-
/**
|
|
23
|
-
* If true, the component will not be destroyed automatically when it is
|
|
24
|
-
* disconnected from the document. This is useful when you want to move the
|
|
25
|
-
* component to a different place on the page, or temporarily hide it. If this
|
|
26
|
-
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
|
27
|
-
* memory leaks.
|
|
28
|
-
*/
|
|
29
|
-
UIPosition;
|
|
30
|
-
arcgisReady: import('@arcgis/components-controllers').EventEmitter;
|
|
31
|
-
arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
|
|
32
|
-
name: string;
|
|
33
|
-
}> | undefined;
|
|
34
|
-
el: HTMLElement & {
|
|
35
|
-
childElem?: HTMLElement & {
|
|
36
|
-
ownedBy?: HTMLElement;
|
|
37
|
-
};
|
|
38
|
-
view?: __esri.MapView | __esri.SceneView | Nil;
|
|
39
|
-
};
|
|
40
|
-
autoDestroyDisabled: boolean;
|
|
41
|
-
destroy: () => Promise<void>;
|
|
42
|
-
}, options?: {
|
|
43
|
-
editConstructorProperties(props: __esri.WeatherProperties | undefined): __esri.WeatherProperties | Promise<__esri.WeatherProperties | undefined> | undefined;
|
|
44
|
-
} | undefined) => Weather;
|
|
15
|
+
} & Pick<WeatherViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<WeatherViewModel>, options?: {
|
|
16
|
+
editConstructorProperties(props: unknown): unknown;
|
|
17
|
+
} | undefined) => WeatherViewModel;
|
|
45
18
|
/** Weather component provides an interface for easily selecting and configuring the weather effects in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
46
19
|
*/
|
|
47
20
|
export declare class ArcgisWeather extends LitElement {
|
|
@@ -53,7 +26,19 @@ export declare class ArcgisWeather extends LitElement {
|
|
|
53
26
|
* memory leaks.
|
|
54
27
|
*/
|
|
55
28
|
autoDestroyDisabled: boolean;
|
|
56
|
-
|
|
29
|
+
/**
|
|
30
|
+
* Indicates the heading level to use for the title of the component. By default, this message is rendered as a level 4
|
|
31
|
+
* heading (e.g. `<h4>Time range</h4>`). Depending on the component's placement in your app, you may need to adjust
|
|
32
|
+
* this heading for proper semantics. This is important for meeting accessibility standards.
|
|
33
|
+
*
|
|
34
|
+
* @instance
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
|
|
37
|
+
*/
|
|
38
|
+
headingLevel: HeadingLevel;
|
|
39
|
+
/**
|
|
40
|
+
* Whether to hide the component's header.
|
|
41
|
+
*/
|
|
57
42
|
hideHeader: boolean;
|
|
58
43
|
/**
|
|
59
44
|
* Icon which represents the component.
|
|
@@ -62,10 +47,10 @@ export declare class ArcgisWeather extends LitElement {
|
|
|
62
47
|
*/
|
|
63
48
|
icon: string;
|
|
64
49
|
/** The component's default label. */
|
|
65
|
-
label: string;
|
|
50
|
+
label: string | undefined;
|
|
66
51
|
position: __esri.UIPosition;
|
|
67
52
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
68
|
-
|
|
53
|
+
state: "ready" | "disabled" | "error";
|
|
69
54
|
/** Permanently destroy the component */
|
|
70
55
|
destroy(): Promise<void>;
|
|
71
56
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
@@ -1,25 +1,179 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { c as W } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as o } from "lit-html";
|
|
3
|
+
import { usePropertyChange as x } from "@arcgis/components-controllers";
|
|
4
|
+
import { classes as y } from "@arcgis/components-utils";
|
|
5
|
+
import { watch as b } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
|
+
import { nothing as v, safeStyleMap as O, LitElement as S, createEvent as B, noShadowRoot as E, safeClassMap as g } from "@arcgis/lumina";
|
|
7
|
+
import { u as H } from "../../chunks/useT9n.js";
|
|
8
|
+
import { m as L } from "../../chunks/useViewModel.js";
|
|
9
|
+
import { H as A } from "../../chunks/heading.js";
|
|
10
|
+
import { g as w } from "../../chunks/globalCss.js";
|
|
11
|
+
import { css as D } from "@lit/reactive-element/css-tag.js";
|
|
12
|
+
import k from "@arcgis/core/core/Accessor.js";
|
|
13
|
+
import { property as h, subclass as P } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
14
|
+
import f from "@arcgis/core/views/3d/environment/CloudyWeather.js";
|
|
15
|
+
import _ from "@arcgis/core/views/3d/environment/FoggyWeather.js";
|
|
16
|
+
import $ from "@arcgis/core/views/3d/environment/RainyWeather.js";
|
|
17
|
+
import C from "@arcgis/core/views/3d/environment/SnowyWeather.js";
|
|
18
|
+
import M from "@arcgis/core/views/3d/environment/SunnyWeather.js";
|
|
7
19
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
20
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
10
|
-
const
|
|
11
|
-
|
|
21
|
+
v4.33.0-next.79 */
|
|
22
|
+
const c = "arcgis-weather", d = {
|
|
23
|
+
base: c,
|
|
24
|
+
content: `${c}__content`,
|
|
25
|
+
hasError: `${c}__content--has-error`,
|
|
26
|
+
selector: `${c}__selector`,
|
|
27
|
+
options: `${c}__options`,
|
|
28
|
+
optionsHidden: `${c}__options--hidden`,
|
|
29
|
+
error: `${c}__error`,
|
|
30
|
+
warning: `${c}__warning`
|
|
31
|
+
}, R = D`@layer{.arcgis-weather{position:relative;padding:var(--esri-widget-padding);width:fit-content}.arcgis-weather__content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);width:min-content}.arcgis-weather__content--has-error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.arcgis-weather__selector{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);align-items:center}.arcgis-weather__options{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);calcite-label:last-child{--calcite-label-margin-bottom: 0}}.arcgis-weather__options--hidden{display:none}.arcgis-weather__warning{display:flex;flex-direction:row;gap:var(--calcite-spacing-xs);align-items:center;font-size:var(--calcite-font-size-sm);calcite-icon{color:var(--calcite-color-status-warning)}}}`;
|
|
32
|
+
var V = Object.defineProperty, j = Object.getOwnPropertyDescriptor, a = (t, e, i, s) => {
|
|
33
|
+
for (var r = s > 1 ? void 0 : s ? j(e, i) : e, p = t.length - 1, l; p >= 0; p--)
|
|
34
|
+
(l = t[p]) && (r = (s ? l(e, i, r) : l(r)) || r);
|
|
35
|
+
return s && r && V(e, i, r), r;
|
|
36
|
+
};
|
|
37
|
+
const z = {
|
|
38
|
+
sunny: M,
|
|
39
|
+
cloudy: f,
|
|
40
|
+
rainy: $,
|
|
41
|
+
snowy: C,
|
|
42
|
+
foggy: _
|
|
43
|
+
}, T = Object.keys(z);
|
|
44
|
+
let n = class extends k {
|
|
45
|
+
//#region Lifecycle
|
|
46
|
+
constructor(t) {
|
|
47
|
+
super(t), this.view = null, this._settingWeather = !1, this._weatherByType = {
|
|
48
|
+
sunny: new M(),
|
|
49
|
+
cloudy: new f(),
|
|
50
|
+
rainy: new $(),
|
|
51
|
+
snowy: new C(),
|
|
52
|
+
foggy: new _()
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
initialize() {
|
|
56
|
+
this.addHandles([
|
|
57
|
+
// When the weather is changed directly in the environment (not in the VM),
|
|
58
|
+
// we need to update the corresponding weather instance in the view model.
|
|
59
|
+
b(
|
|
60
|
+
() => this.current,
|
|
61
|
+
(t) => {
|
|
62
|
+
this._settingWeather || t == null || (this._weatherByType = {
|
|
63
|
+
...this._weatherByType,
|
|
64
|
+
[t.type]: t
|
|
65
|
+
});
|
|
66
|
+
},
|
|
67
|
+
{ sync: !0, initial: !0 }
|
|
68
|
+
)
|
|
69
|
+
]);
|
|
70
|
+
}
|
|
71
|
+
get state() {
|
|
72
|
+
if (!this.view?.ready)
|
|
73
|
+
return "disabled";
|
|
74
|
+
if (this.error != null)
|
|
75
|
+
switch (this.error) {
|
|
76
|
+
case "not-visible":
|
|
77
|
+
return "ready";
|
|
78
|
+
default:
|
|
79
|
+
return "error";
|
|
80
|
+
}
|
|
81
|
+
return "ready";
|
|
82
|
+
}
|
|
83
|
+
get disabled() {
|
|
84
|
+
return this.state === "disabled";
|
|
85
|
+
}
|
|
86
|
+
get weatherByType() {
|
|
87
|
+
return this._weatherByType;
|
|
88
|
+
}
|
|
89
|
+
get error() {
|
|
90
|
+
const t = this.view;
|
|
91
|
+
return t?.ready ? t.type !== "3d" ? "unsupported-view" : t.viewingMode === "local" ? "local-scene" : t.environment.atmosphereEnabled ? t.environment.weatherAvailable ? null : "not-visible" : "no-atmosphere" : null;
|
|
92
|
+
}
|
|
93
|
+
get current() {
|
|
94
|
+
return this._environment?.weather ?? this._weatherByType.sunny;
|
|
95
|
+
}
|
|
96
|
+
set current(t) {
|
|
97
|
+
const e = this._environment;
|
|
98
|
+
e && (e.weather = t);
|
|
99
|
+
}
|
|
100
|
+
get _environment() {
|
|
101
|
+
const t = this.view;
|
|
102
|
+
return t != null && t.type === "3d" ? t.environment : null;
|
|
103
|
+
}
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region Public Methods
|
|
106
|
+
setWeatherByType(t) {
|
|
107
|
+
if (!T.includes(t)) {
|
|
108
|
+
console.warn(`"arcgis-weather - ${t}" is not a valid weather type`);
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
const e = this._environment;
|
|
112
|
+
e != null && (this._settingWeather = !0, e.weather = this._weatherByType[t], this._settingWeather = !1);
|
|
113
|
+
}
|
|
114
|
+
setSnowCoverEnabled(t) {
|
|
115
|
+
const e = this.current;
|
|
116
|
+
"snowCover" in e && (e.snowCover = t ? "enabled" : "disabled");
|
|
117
|
+
}
|
|
118
|
+
//#endregion
|
|
119
|
+
};
|
|
120
|
+
a([
|
|
121
|
+
h()
|
|
122
|
+
], n.prototype, "view", 2);
|
|
123
|
+
a([
|
|
124
|
+
h()
|
|
125
|
+
], n.prototype, "state", 1);
|
|
126
|
+
a([
|
|
127
|
+
h()
|
|
128
|
+
], n.prototype, "disabled", 1);
|
|
129
|
+
a([
|
|
130
|
+
h()
|
|
131
|
+
], n.prototype, "weatherByType", 1);
|
|
132
|
+
a([
|
|
133
|
+
h()
|
|
134
|
+
], n.prototype, "error", 1);
|
|
135
|
+
a([
|
|
136
|
+
h()
|
|
137
|
+
], n.prototype, "current", 1);
|
|
138
|
+
a([
|
|
139
|
+
h()
|
|
140
|
+
], n.prototype, "_weatherByType", 2);
|
|
141
|
+
a([
|
|
142
|
+
h()
|
|
143
|
+
], n.prototype, "_environment", 1);
|
|
144
|
+
n = a([
|
|
145
|
+
P("components.weather.WeatherViewModel")
|
|
146
|
+
], n);
|
|
147
|
+
function u({ label: t, value: e, disabled: i, onChange: s }) {
|
|
148
|
+
const r = (p) => {
|
|
149
|
+
const l = p.currentTarget.value;
|
|
150
|
+
s?.(l);
|
|
151
|
+
};
|
|
152
|
+
return o`<calcite-label scale=s>${t}<calcite-slider aria-label=${t ?? v} .disabled=${i} style=${O({
|
|
153
|
+
// Tweaks to make the slider more compact and better-align within the weather component */
|
|
154
|
+
marginInline: "-7px",
|
|
155
|
+
marginBottom: "-7px"
|
|
156
|
+
})} max=1 min=0 step=0.01 .value=${e ?? 0} @calciteSliderChange=${r} @calciteSliderInput=${r}></calcite-slider></calcite-label>`;
|
|
157
|
+
}
|
|
158
|
+
const F = L(n), I = {
|
|
159
|
+
sunny: "brightness",
|
|
160
|
+
cloudy: "partly-cloudy",
|
|
161
|
+
rainy: "rain",
|
|
162
|
+
snowy: "snow",
|
|
163
|
+
foggy: "fog"
|
|
164
|
+
};
|
|
165
|
+
class q extends S {
|
|
12
166
|
constructor() {
|
|
13
|
-
super(...arguments), this.
|
|
167
|
+
super(...arguments), this.viewModel = F(this), this.messages = H(), this.autoDestroyDisabled = !1, this.headingLevel = 4, this.hideHeader = !1, this.icon = "partly-cloudy", this.label = this.messages.componentLabel, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = x()("state"), this.arcgisReady = B();
|
|
14
168
|
}
|
|
15
169
|
static {
|
|
16
170
|
this.properties = { autoDestroyDisabled: 5, headingLevel: 9, hideHeader: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3 };
|
|
17
171
|
}
|
|
18
172
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
173
|
+
this.shadowRootOptions = E;
|
|
20
174
|
}
|
|
21
175
|
static {
|
|
22
|
-
this.styles =
|
|
176
|
+
this.styles = R;
|
|
23
177
|
}
|
|
24
178
|
//#endregion
|
|
25
179
|
//#region Public Methods
|
|
@@ -27,8 +181,117 @@ class n extends i {
|
|
|
27
181
|
async destroy() {
|
|
28
182
|
await this.manager.destroy();
|
|
29
183
|
}
|
|
184
|
+
//#endregion
|
|
185
|
+
//#region Lifecycle
|
|
186
|
+
load() {
|
|
187
|
+
this.manager.onLifecycle(() => [
|
|
188
|
+
b(() => this._renderContent(), () => this.requestUpdate())
|
|
189
|
+
]);
|
|
190
|
+
}
|
|
191
|
+
//#endregion
|
|
192
|
+
//#region Private Methods
|
|
193
|
+
/**
|
|
194
|
+
* When the widget has a non-fatal error, we display the UI but show a warning
|
|
195
|
+
* at the bottom.
|
|
196
|
+
*/
|
|
197
|
+
_getWarningMessage() {
|
|
198
|
+
switch (this.viewModel.error) {
|
|
199
|
+
case "not-visible": {
|
|
200
|
+
const { view: e } = this.viewModel;
|
|
201
|
+
return e?.type === "3d" && e.environment.atmosphereEnabled ? this.messages.error?.notVisible : void 0;
|
|
202
|
+
}
|
|
203
|
+
default:
|
|
204
|
+
return;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* When the widget has a fatal error (i.e. it can't work at all), no weather
|
|
209
|
+
* configuration UI is shown. Instead, the error message is shown.
|
|
210
|
+
*/
|
|
211
|
+
_getErrorMessage() {
|
|
212
|
+
const e = this.messages.error;
|
|
213
|
+
if (e)
|
|
214
|
+
switch (this.viewModel.error) {
|
|
215
|
+
case "local-scene":
|
|
216
|
+
return e.localScene;
|
|
217
|
+
case "no-atmosphere":
|
|
218
|
+
return e.noAtmosphere;
|
|
219
|
+
case "unsupported-view":
|
|
220
|
+
return e.unsupported;
|
|
221
|
+
default:
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
//#endregion
|
|
226
|
+
//#region Rendering
|
|
227
|
+
render() {
|
|
228
|
+
return o`<div aria-label=${this.messages.componentLabelAccessible ?? v} class=${g(y(d.base, w.widget, this.viewModel.disabled && w.widgetDisabled))} role=region>${this._renderContent()}</div>`;
|
|
229
|
+
}
|
|
230
|
+
_renderContent() {
|
|
231
|
+
const { headingLevel: e, messages: i, viewModel: s } = this, r = this._getWarningMessage(), p = s.current, l = s.state === "error";
|
|
232
|
+
return o`${this.hideHeader ? void 0 : A({ level: e, children: i.componentLabel })}${l ? o`<div class=${g(d.error)}>${this._getErrorMessage()}</div>` : void 0}<div class=${g(y({ [d.content]: !0, [d.hasError]: l }))}><div aria-label=${i.weatherType ?? v} class=${g(d.selector)} role=radiogroup>${T.map(this._renderWeatherTypeButton, this)}</div>${Object.values(s.weatherByType).map((m) => o`<div class=${g(y({
|
|
233
|
+
[d.options]: !0,
|
|
234
|
+
[d.optionsHidden]: m.type !== p?.type
|
|
235
|
+
}))}>${this._renderOptions(m)}</div>`)}${r ? this._renderWarning(r) : void 0}</div>`;
|
|
236
|
+
}
|
|
237
|
+
_renderWeatherTypeButton(e) {
|
|
238
|
+
const i = this.messages[e]?.label ?? "", { disabled: s } = this.viewModel, r = !s && this.viewModel.current.type === e;
|
|
239
|
+
return o`<calcite-button .appearance=${r ? "solid" : "outline"} aria-checked=${r ? "true" : "false"} .disabled=${s} .iconStart=${I[e]} .kind=${r ? "brand" : "neutral"} .label=${i} @click=${() => {
|
|
240
|
+
r || this.viewModel.setWeatherByType(e);
|
|
241
|
+
}} scale=l title=${i ?? v}></calcite-button>`;
|
|
242
|
+
}
|
|
243
|
+
_renderOptions(e) {
|
|
244
|
+
switch (e.type) {
|
|
245
|
+
case "sunny":
|
|
246
|
+
return this._renderSunnyOptions(e);
|
|
247
|
+
case "cloudy":
|
|
248
|
+
return this._renderCloudyOptions(e);
|
|
249
|
+
case "rainy":
|
|
250
|
+
return this._renderRainyOptions(e);
|
|
251
|
+
case "snowy":
|
|
252
|
+
return this._renderSnowyOptions(e);
|
|
253
|
+
case "foggy":
|
|
254
|
+
return this._renderFoggyOptions(e);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
_renderSunnyOptions(e) {
|
|
258
|
+
return u({ disabled: this.viewModel.disabled, label: this.messages.sunny?.cloudCover, value: e.cloudCover, onChange: (i) => {
|
|
259
|
+
e.cloudCover = i;
|
|
260
|
+
} });
|
|
261
|
+
}
|
|
262
|
+
_renderCloudyOptions(e) {
|
|
263
|
+
return u({ disabled: this.viewModel.disabled, label: this.messages.cloudy?.cloudCover, value: e.cloudCover, onChange: (i) => {
|
|
264
|
+
e.cloudCover = i;
|
|
265
|
+
} });
|
|
266
|
+
}
|
|
267
|
+
_renderRainyOptions(e) {
|
|
268
|
+
const { disabled: i } = this.viewModel, s = this.messages.rainy;
|
|
269
|
+
return o`${u({ disabled: i, label: s?.cloudCover, value: e.cloudCover, onChange: (r) => {
|
|
270
|
+
e.cloudCover = r;
|
|
271
|
+
} })}${u({ disabled: i, label: s?.precipitation, value: e.precipitation, onChange: (r) => {
|
|
272
|
+
e.precipitation = r;
|
|
273
|
+
} })}`;
|
|
274
|
+
}
|
|
275
|
+
_renderSnowyOptions(e) {
|
|
276
|
+
const { disabled: i } = this.viewModel, s = this.messages.snowy;
|
|
277
|
+
return o`${u({ disabled: i, label: s?.cloudCover, value: e.cloudCover, onChange: (r) => {
|
|
278
|
+
e.cloudCover = r;
|
|
279
|
+
} })}${u({ disabled: i, label: s?.precipitation, value: e.precipitation, onChange: (r) => {
|
|
280
|
+
e.precipitation = r;
|
|
281
|
+
} })}<calcite-label layout=inline scale=s title=${s?.snowCoverTooltip ?? v}><calcite-checkbox .checked=${e.snowCover === "enabled"} .disabled=${i} @calciteCheckboxChange=${(r) => {
|
|
282
|
+
this.viewModel.setSnowCoverEnabled(r.currentTarget.checked);
|
|
283
|
+
}}></calcite-checkbox>${s?.snowCover}</calcite-label>`;
|
|
284
|
+
}
|
|
285
|
+
_renderFoggyOptions(e) {
|
|
286
|
+
return u({ disabled: this.viewModel.disabled, label: this.messages.foggy?.fogStrength, value: e.fogStrength, onChange: (i) => {
|
|
287
|
+
e.fogStrength = i;
|
|
288
|
+
} });
|
|
289
|
+
}
|
|
290
|
+
_renderWarning(e) {
|
|
291
|
+
return o`<div class=${g(d.warning)}><calcite-icon icon=exclamation-mark-triangle scale=s></calcite-icon>${e}</div>`;
|
|
292
|
+
}
|
|
30
293
|
}
|
|
31
|
-
|
|
294
|
+
W("arcgis-weather", q);
|
|
32
295
|
export {
|
|
33
|
-
|
|
296
|
+
q as ArcgisWeather
|
|
34
297
|
};
|
|
@@ -1 +1,6 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-label";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-slider";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-checkbox";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
1
6
|
export * from "./customElement.js";
|
|
@@ -1 +1,6 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-label";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-slider";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-checkbox";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
1
6
|
export * from "./customElement.js";
|
|
@@ -9,7 +9,7 @@ import { m as b } from "../../chunks/useViewModel.js";
|
|
|
9
9
|
import { css as w } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
12
|
-
v4.33.0-next.
|
|
12
|
+
v4.33.0-next.79 */
|
|
13
13
|
const o = {
|
|
14
14
|
base: "arcgis-zoom",
|
|
15
15
|
horizontalLayout: "arcgis-zoom--horizontal",
|
package/dist/docs/api.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-04-
|
|
2
|
+
"timestamp": "2025-04-11T15:22:06",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "4.33.0-next.
|
|
5
|
+
"version": "4.33.0-next.79",
|
|
6
6
|
"typescriptVersion": "5.6.3"
|
|
7
7
|
},
|
|
8
8
|
"schemaVersion": "1.0.0",
|
|
@@ -53918,21 +53918,56 @@
|
|
|
53918
53918
|
{
|
|
53919
53919
|
"kind": "field",
|
|
53920
53920
|
"name": "headingLevel",
|
|
53921
|
-
"description": "Indicates the heading level to use for the title of the
|
|
53921
|
+
"description": "Indicates the heading level to use for the title of the component. By default, this message is rendered as a level 4\nheading (e.g. `<h4>Time range</h4>`). Depending on the component's placement in your app, you may need to adjust\nthis heading for proper semantics. This is important for meeting accessibility standards.",
|
|
53922
53922
|
"type": {
|
|
53923
|
-
"text": "
|
|
53923
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6",
|
|
53924
53924
|
"values": [
|
|
53925
53925
|
{
|
|
53926
|
+
"value": "1",
|
|
53927
|
+
"type": "number"
|
|
53928
|
+
},
|
|
53929
|
+
{
|
|
53930
|
+
"value": "2",
|
|
53931
|
+
"type": "number"
|
|
53932
|
+
},
|
|
53933
|
+
{
|
|
53934
|
+
"value": "3",
|
|
53935
|
+
"type": "number"
|
|
53936
|
+
},
|
|
53937
|
+
{
|
|
53938
|
+
"value": "4",
|
|
53939
|
+
"type": "number"
|
|
53940
|
+
},
|
|
53941
|
+
{
|
|
53942
|
+
"value": "5",
|
|
53943
|
+
"type": "number"
|
|
53944
|
+
},
|
|
53945
|
+
{
|
|
53946
|
+
"value": "6",
|
|
53926
53947
|
"type": "number"
|
|
53927
53948
|
}
|
|
53928
53949
|
]
|
|
53929
53950
|
},
|
|
53930
53951
|
"default": "4",
|
|
53931
|
-
"attribute": "heading-level"
|
|
53952
|
+
"attribute": "heading-level",
|
|
53953
|
+
"docsTags": [
|
|
53954
|
+
{
|
|
53955
|
+
"name": "instance"
|
|
53956
|
+
},
|
|
53957
|
+
{
|
|
53958
|
+
"name": "type",
|
|
53959
|
+
"text": "{number}"
|
|
53960
|
+
},
|
|
53961
|
+
{
|
|
53962
|
+
"name": "see",
|
|
53963
|
+
"text": "[Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)"
|
|
53964
|
+
}
|
|
53965
|
+
]
|
|
53932
53966
|
},
|
|
53933
53967
|
{
|
|
53934
53968
|
"kind": "field",
|
|
53935
53969
|
"name": "hideHeader",
|
|
53970
|
+
"description": "Whether to hide the component's header.",
|
|
53936
53971
|
"type": {
|
|
53937
53972
|
"text": "boolean",
|
|
53938
53973
|
"values": [
|
|
@@ -53971,6 +54006,7 @@
|
|
|
53971
54006
|
}
|
|
53972
54007
|
]
|
|
53973
54008
|
},
|
|
54009
|
+
"default": "\"Weather\"",
|
|
53974
54010
|
"attribute": "label"
|
|
53975
54011
|
},
|
|
53976
54012
|
{
|
|
@@ -54068,7 +54104,6 @@
|
|
|
54068
54104
|
{
|
|
54069
54105
|
"kind": "field",
|
|
54070
54106
|
"name": "state",
|
|
54071
|
-
"description": "The current state of the view model that can be used for rendering the UI of the widget.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Weather-WeatherViewModel.html#state)",
|
|
54072
54107
|
"type": {
|
|
54073
54108
|
"text": "\"disabled\" | \"error\" | \"ready\"",
|
|
54074
54109
|
"values": [
|
|
@@ -54086,11 +54121,8 @@
|
|
|
54086
54121
|
}
|
|
54087
54122
|
]
|
|
54088
54123
|
},
|
|
54089
|
-
"default": "\"disabled\"",
|
|
54090
|
-
"readonly": true,
|
|
54091
54124
|
"attribute": "state",
|
|
54092
|
-
"reflects": true
|
|
54093
|
-
"docsOnlyReadonly": true
|
|
54125
|
+
"reflects": true
|
|
54094
54126
|
}
|
|
54095
54127
|
],
|
|
54096
54128
|
"attributes": [
|
|
@@ -54110,11 +54142,32 @@
|
|
|
54110
54142
|
},
|
|
54111
54143
|
{
|
|
54112
54144
|
"name": "heading-level",
|
|
54113
|
-
"description": "Indicates the heading level to use for the title of the
|
|
54145
|
+
"description": "Indicates the heading level to use for the title of the component. By default, this message is rendered as a level 4\nheading (e.g. `<h4>Time range</h4>`). Depending on the component's placement in your app, you may need to adjust\nthis heading for proper semantics. This is important for meeting accessibility standards.",
|
|
54114
54146
|
"type": {
|
|
54115
|
-
"text": "
|
|
54147
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6",
|
|
54116
54148
|
"values": [
|
|
54117
54149
|
{
|
|
54150
|
+
"value": "1",
|
|
54151
|
+
"type": "number"
|
|
54152
|
+
},
|
|
54153
|
+
{
|
|
54154
|
+
"value": "2",
|
|
54155
|
+
"type": "number"
|
|
54156
|
+
},
|
|
54157
|
+
{
|
|
54158
|
+
"value": "3",
|
|
54159
|
+
"type": "number"
|
|
54160
|
+
},
|
|
54161
|
+
{
|
|
54162
|
+
"value": "4",
|
|
54163
|
+
"type": "number"
|
|
54164
|
+
},
|
|
54165
|
+
{
|
|
54166
|
+
"value": "5",
|
|
54167
|
+
"type": "number"
|
|
54168
|
+
},
|
|
54169
|
+
{
|
|
54170
|
+
"value": "6",
|
|
54118
54171
|
"type": "number"
|
|
54119
54172
|
}
|
|
54120
54173
|
]
|
|
@@ -54124,6 +54177,7 @@
|
|
|
54124
54177
|
},
|
|
54125
54178
|
{
|
|
54126
54179
|
"name": "hide-header",
|
|
54180
|
+
"description": "Whether to hide the component's header.",
|
|
54127
54181
|
"type": {
|
|
54128
54182
|
"text": "boolean",
|
|
54129
54183
|
"values": [
|
|
@@ -54160,6 +54214,7 @@
|
|
|
54160
54214
|
}
|
|
54161
54215
|
]
|
|
54162
54216
|
},
|
|
54217
|
+
"default": "\"Weather\"",
|
|
54163
54218
|
"fieldName": "label"
|
|
54164
54219
|
},
|
|
54165
54220
|
{
|
|
@@ -54222,7 +54277,6 @@
|
|
|
54222
54277
|
},
|
|
54223
54278
|
{
|
|
54224
54279
|
"name": "state",
|
|
54225
|
-
"description": "The current state of the view model that can be used for rendering the UI of the widget.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Weather-WeatherViewModel.html#state)",
|
|
54226
54280
|
"type": {
|
|
54227
54281
|
"text": "\"disabled\" | \"error\" | \"ready\"",
|
|
54228
54282
|
"values": [
|
|
@@ -54240,7 +54294,6 @@
|
|
|
54240
54294
|
}
|
|
54241
54295
|
]
|
|
54242
54296
|
},
|
|
54243
|
-
"default": "\"disabled\"",
|
|
54244
54297
|
"fieldName": "state"
|
|
54245
54298
|
}
|
|
54246
54299
|
],
|