@arcgis/map-components 4.34.0-next.9 → 4.34.0-next.90
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/27OOFMLZ.js +4 -0
- package/dist/cdn/2HBAESJL.js +4 -0
- package/dist/cdn/2OZ353ZD.js +4 -0
- package/dist/cdn/{LPEUXS4H.js → 2X6EXAGC.js} +1 -1
- package/dist/cdn/2XTSKLWI.js +4 -0
- package/dist/cdn/2ZK5YGFN.js +4 -0
- package/dist/cdn/34V5574X.js +4 -0
- package/dist/cdn/3AZPXKH6.js +5 -0
- package/dist/cdn/3FJ4J3EP.js +4 -0
- package/dist/cdn/3GVM5Z2W.js +4 -0
- package/dist/cdn/3JOLWR65.js +4 -0
- package/dist/cdn/3T5NN3B4.js +4 -0
- package/dist/cdn/3VZG6FZB.js +4 -0
- package/dist/cdn/3XBIX5BI.js +4 -0
- package/dist/cdn/42NFAYXN.js +4 -0
- package/dist/cdn/4HHBJDS4.js +4 -0
- package/dist/cdn/4NIIB5KI.js +4 -0
- package/dist/cdn/4OFXBS73.js +4 -0
- package/dist/cdn/4RQNUJKW.js +4 -0
- package/dist/cdn/4S7DKQKT.js +4 -0
- package/dist/cdn/4VK3PNEF.js +4 -0
- package/dist/cdn/4VZJ56NM.js +4 -0
- package/dist/cdn/4W5BSYKM.js +4 -0
- package/dist/cdn/56UMM25C.js +4 -0
- package/dist/cdn/57SDPN3G.js +4 -0
- package/dist/cdn/67M3PAI4.js +4 -0
- package/dist/cdn/6JZ7ZQY7.js +4 -0
- package/dist/cdn/{RQLMUVPB.js → 6PU7LNWI.js} +2 -2
- package/dist/cdn/6PXGHRUM.js +4 -0
- package/dist/cdn/7GQ6KNEV.js +4 -0
- package/dist/cdn/7HEWJAWH.js +4 -0
- package/dist/cdn/7O3YOW64.js +4 -0
- package/dist/cdn/7WYU3ZK3.js +4 -0
- package/dist/cdn/7XCXVAYI.js +4 -0
- package/dist/cdn/A4QPNLYY.js +4 -0
- package/dist/cdn/A6SH46A3.js +4 -0
- package/dist/cdn/AP6VF5WA.js +4 -0
- package/dist/cdn/ARKKPQ5T.js +4 -0
- package/dist/cdn/AVJ6NLSR.js +4 -0
- package/dist/cdn/B32T5S6T.js +4 -0
- package/dist/cdn/B3NYZD5Z.js +4 -0
- package/dist/cdn/{XXHY2KCZ.js → BTZJLBEC.js} +2 -2
- package/dist/cdn/C4LYDFEJ.js +4 -0
- package/dist/cdn/{AQUKBXCX.js → CFJ4DY33.js} +2 -2
- package/dist/cdn/CHNK7KDE.js +4 -0
- package/dist/cdn/CJFQXJQO.js +4 -0
- package/dist/cdn/CJYJTRDV.js +4 -0
- package/dist/cdn/CNLHOKB7.js +4 -0
- package/dist/cdn/CQ3VLHRQ.js +4 -0
- package/dist/cdn/{6SPEI7A5.js → DADK6YP3.js} +2 -2
- package/dist/cdn/DBIGV3ZM.js +4 -0
- package/dist/cdn/DG6MIR4T.js +4 -0
- package/dist/cdn/DOYRT66I.js +4 -0
- package/dist/cdn/DPWE3VHP.js +4 -0
- package/dist/cdn/DTQL2GQS.js +4 -0
- package/dist/cdn/DW5VJ3XJ.js +4 -0
- package/dist/cdn/DXZP7KAM.js +4 -0
- package/dist/cdn/EACBDAMJ.js +4 -0
- package/dist/cdn/EAI7TDMC.js +4 -0
- package/dist/cdn/ECMG4ZTU.js +4 -0
- package/dist/cdn/ENSLJQW2.js +4 -0
- package/dist/cdn/EOIFRFHK.js +4 -0
- package/dist/cdn/EPD5RUOO.js +4 -0
- package/dist/cdn/ETEAASLS.js +4 -0
- package/dist/cdn/{PT3JQOCE.js → EWUCWYPL.js} +2 -2
- package/dist/cdn/EXUH4V5N.js +4 -0
- package/dist/cdn/EZL65AK6.js +4 -0
- package/dist/cdn/FCTIVO5D.js +4 -0
- package/dist/cdn/FJNRWFU3.js +4 -0
- package/dist/cdn/FO75NDO3.js +4 -0
- package/dist/cdn/{AE4OIXKM.js → FPGRIYHT.js} +2 -2
- package/dist/cdn/G43LQYWF.js +4 -0
- package/dist/cdn/GHTWKFKL.js +4 -0
- package/dist/cdn/GMA3GUBO.js +4 -0
- package/dist/cdn/GPDEGYDU.js +4 -0
- package/dist/cdn/HBUESJDU.js +4 -0
- package/dist/cdn/HFWOBRSP.js +4 -0
- package/dist/cdn/{7OSH6D4V.js → HILNUDJ4.js} +1 -1
- package/dist/cdn/HLBZTK6D.js +4 -0
- package/dist/cdn/HZ6E7JOS.js +4 -0
- package/dist/cdn/I2BUQQE7.js +4 -0
- package/dist/cdn/{F523DQRJ.js → I6QRBYNL.js} +1 -1
- package/dist/cdn/IHPTBHJX.js +4 -0
- package/dist/cdn/IPR5YRJZ.js +4 -0
- package/dist/cdn/IRLC6VR5.js +4 -0
- package/dist/cdn/IWEYVP7M.js +4 -0
- package/dist/cdn/IYSQNL4O.js +4 -0
- package/dist/cdn/JQ5NLF65.js +4 -0
- package/dist/cdn/KAHOZ2TQ.js +4 -0
- package/dist/cdn/KQDNDEVM.js +4 -0
- package/dist/cdn/KQK7ASTA.js +4 -0
- package/dist/cdn/KUOJTFGP.js +4 -0
- package/dist/cdn/LH2HMFHN.js +4 -0
- package/dist/cdn/LHKIS7FR.js +4 -0
- package/dist/cdn/LIIS6DI4.js +4 -0
- package/dist/cdn/LWU3UW5Q.js +4 -0
- package/dist/cdn/LYXCIUT6.js +4 -0
- package/dist/cdn/LZ6XGNQ6.js +4 -0
- package/dist/cdn/MDDKBYVW.js +4 -0
- package/dist/cdn/MFDW43A7.js +4 -0
- package/dist/cdn/MJFFELBO.js +4 -0
- package/dist/cdn/MQCN5Z5N.js +4 -0
- package/dist/cdn/MUOD7JJC.js +4 -0
- package/dist/cdn/N2BUVQJO.js +4 -0
- package/dist/cdn/NHEEE4TQ.js +4 -0
- package/dist/cdn/NHPA5AOQ.js +4 -0
- package/dist/cdn/NIGLPX2A.js +4 -0
- package/dist/cdn/{TZFX4YNN.js → NUJKXBGP.js} +2 -2
- package/dist/cdn/NWER2ZMF.js +4 -0
- package/dist/cdn/{6REBF3AA.js → NWUECZLR.js} +2 -2
- package/dist/cdn/O6JERRE4.js +4 -0
- package/dist/cdn/OCXGQKXF.js +4 -0
- package/dist/cdn/OEIY3AMK.js +4 -0
- package/dist/cdn/{4P2D723H.js → OHLXS7XN.js} +2 -2
- package/dist/cdn/OMYHLDJA.js +4 -0
- package/dist/cdn/ONNT6H4U.js +4 -0
- package/dist/cdn/OO2JG2NE.js +4 -0
- package/dist/cdn/{EIYMUMGV.js → ORFRWFHR.js} +2 -2
- package/dist/cdn/P5MGZLBI.js +4 -0
- package/dist/cdn/PCH4RUCZ.js +4 -0
- package/dist/cdn/PIYLGEGM.js +4 -0
- package/dist/cdn/PNX7YQS6.js +4 -0
- package/dist/cdn/PUCK73GT.js +4 -0
- package/dist/cdn/PV2TSAWP.js +4 -0
- package/dist/cdn/PW72OETX.js +4 -0
- package/dist/cdn/Q4X3NB6Z.js +4 -0
- package/dist/cdn/QAGR2WTB.js +4 -0
- package/dist/cdn/QGEGIOEW.js +4 -0
- package/dist/cdn/QRSRGKE6.js +4 -0
- package/dist/cdn/QVC2PJZS.js +4 -0
- package/dist/cdn/RCMMLFC5.js +4 -0
- package/dist/cdn/RGTNPU2I.js +4 -0
- package/dist/cdn/RMIB4V5C.js +4 -0
- package/dist/cdn/RS37RJ6C.js +4 -0
- package/dist/cdn/RS4JGVZL.js +4 -0
- package/dist/cdn/RXWLS3OV.js +4 -0
- package/dist/cdn/S73YC2Y6.js +4 -0
- package/dist/cdn/SDO37XGK.js +4 -0
- package/dist/cdn/SE3ACKOQ.js +4 -0
- package/dist/cdn/SK2JKBQU.js +4 -0
- package/dist/cdn/SNQ26NSB.js +4 -0
- package/dist/cdn/ST7TFW2C.js +4 -0
- package/dist/cdn/T3MLKANC.js +4 -0
- package/dist/cdn/TIATUW3G.js +4 -0
- package/dist/cdn/TLCZREEK.js +4 -0
- package/dist/cdn/UA66GFXA.js +4 -0
- package/dist/cdn/UC6NRE4X.js +4 -0
- package/dist/cdn/UDDPYGHK.js +4 -0
- package/dist/cdn/UEBUBSC4.js +4 -0
- package/dist/cdn/{FWIYWK4Y.js → UFYVE6QQ.js} +1 -1
- package/dist/cdn/UGMY46OJ.js +4 -0
- package/dist/cdn/UIIVKIIX.js +4 -0
- package/dist/cdn/UO55RI4F.js +4 -0
- package/dist/cdn/UPCQNWMU.js +4 -0
- package/dist/cdn/US7U3M7G.js +4 -0
- package/dist/cdn/UTJP7AI5.js +4 -0
- package/dist/cdn/UUCJQ7RC.js +4 -0
- package/dist/cdn/V24FI2AA.js +4 -0
- package/dist/cdn/VCPFEF6K.js +4 -0
- package/dist/cdn/VE67IX6N.js +4 -0
- package/dist/cdn/VISPKYWI.js +4 -0
- package/dist/cdn/VLUA4BW7.js +4 -0
- package/dist/cdn/VRK6LIFB.js +4 -0
- package/dist/cdn/VZZTB44T.js +4 -0
- package/dist/cdn/W2BZUNU4.js +4 -0
- package/dist/cdn/W3ZLDQGI.js +4 -0
- package/dist/cdn/WJLDS6RC.js +4 -0
- package/dist/cdn/WQNFT2J2.js +4 -0
- package/dist/cdn/WSJVJCZK.js +4 -0
- package/dist/cdn/WUSJJMUC.js +4 -0
- package/dist/cdn/WWYX6DPM.js +4 -0
- package/dist/cdn/X63MGGBQ.js +4 -0
- package/dist/cdn/X7CUVTSL.js +4 -0
- package/dist/cdn/XE2VD7PP.js +4 -0
- package/dist/cdn/XOBLQBDX.js +4 -0
- package/dist/cdn/XUB3ACL5.js +4 -0
- package/dist/cdn/Y56K3OIQ.js +4 -0
- package/dist/cdn/YIVGIAQM.js +4 -0
- package/dist/cdn/YPRPLCIS.js +4 -0
- package/dist/cdn/YX6HVUUB.js +4 -0
- package/dist/cdn/YZGGMRBU.js +4 -0
- package/dist/cdn/ZB5PNOJN.js +6 -0
- package/dist/cdn/ZK2Z4BTE.js +4 -0
- package/dist/cdn/ZMCBWIZB.js +4 -0
- package/dist/cdn/ZMNP2JFB.js +4 -0
- package/dist/cdn/ZRDFYWJM.js +4 -0
- package/dist/cdn/ZXCLCUNJ.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/expand/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/expand/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/legend/images/transparent-bg.png +0 -0
- package/dist/cdn/assets/version-management/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/weather/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 +2 -2
- package/dist/chunks/chart-utils.js +66 -0
- package/dist/chunks/chartCommon.js +19 -0
- package/dist/chunks/component-utils.js +99 -115
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +178 -0
- package/dist/chunks/globalCss.js +2 -2
- package/dist/chunks/heading.js +13 -13
- package/dist/chunks/index.js +17 -0
- package/dist/chunks/layer-list.js +4 -4
- 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/slots.js +27 -0
- 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 +35 -35
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +12 -7
- package/dist/components/arcgis-area-measurement-2d/customElement.js +14 -17
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +113 -11
- package/dist/components/arcgis-area-measurement-3d/customElement.js +75 -82
- package/dist/components/arcgis-attachments/customElement.d.ts +18 -7
- package/dist/components/arcgis-attachments/customElement.js +9 -12
- package/dist/components/arcgis-basemap-gallery/basemap-gallery-resources.d.ts +13 -13
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +44 -47
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +37 -32
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +13 -16
- package/dist/components/arcgis-basemap-toggle/css.d.ts +9 -9
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +31 -35
- package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +240 -83
- package/dist/components/arcgis-bookmarks/customElement.js +456 -19
- 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 +28 -18
- package/dist/components/arcgis-building-explorer/customElement.js +11 -14
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +13 -16
- package/dist/components/arcgis-compass/customElement.d.ts +15 -5
- package/dist/components/arcgis-compass/customElement.js +22 -25
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +12 -7
- package/dist/components/arcgis-coordinate-conversion/customElement.js +15 -18
- package/dist/components/arcgis-daylight/customElement.d.ts +31 -17
- package/dist/components/arcgis-daylight/customElement.js +9 -12
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +114 -11
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +75 -82
- package/dist/components/arcgis-directional-pad/customElement.d.ts +12 -3
- package/dist/components/arcgis-directional-pad/customElement.js +26 -30
- package/dist/components/arcgis-directional-pad/utils.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +12 -7
- package/dist/components/arcgis-directions/customElement.js +30 -33
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +12 -15
- package/dist/components/arcgis-editor/customElement.d.ts +10 -5
- package/dist/components/arcgis-editor/customElement.js +13 -16
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +34 -26
- package/dist/components/arcgis-elevation-profile/customElement.js +12 -15
- package/dist/components/arcgis-expand/customElement.d.ts +112 -73
- package/dist/components/arcgis-expand/customElement.js +119 -19
- package/dist/components/arcgis-expand/index.d.ts +5 -0
- package/dist/components/arcgis-expand/index.js +5 -0
- package/dist/components/arcgis-feature/customElement.d.ts +200 -86
- package/dist/components/arcgis-feature/customElement.js +206 -22
- 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 +34 -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 +62 -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 +39 -0
- package/dist/components/arcgis-feature-expression/customElement.d.ts +21 -0
- package/dist/components/arcgis-feature-expression/customElement.js +245 -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 +139 -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 +12 -7
- package/dist/components/arcgis-feature-form/customElement.js +13 -16
- 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 +568 -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 +391 -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 +13 -7
- package/dist/components/arcgis-feature-table/customElement.js +27 -30
- package/dist/components/arcgis-feature-templates/customElement.d.ts +10 -5
- package/dist/components/arcgis-feature-templates/customElement.js +14 -17
- package/dist/components/arcgis-features/customElement.d.ts +12 -7
- package/dist/components/arcgis-features/customElement.js +12 -15
- package/dist/components/arcgis-floor-filter/customElement.d.ts +17 -8
- package/dist/components/arcgis-floor-filter/customElement.js +13 -16
- package/dist/components/arcgis-fullscreen/customElement.d.ts +28 -9
- package/dist/components/arcgis-fullscreen/customElement.js +35 -21
- package/dist/components/arcgis-grid-controls/customElement.d.ts +16 -7
- package/dist/components/arcgis-grid-controls/customElement.js +83 -86
- package/dist/components/arcgis-grid-controls/gridUtils.d.ts +6 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +11 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.js +14 -17
- package/dist/components/arcgis-home/customElement.d.ts +31 -10
- package/dist/components/arcgis-home/customElement.js +18 -22
- 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 +10 -5
- package/dist/components/arcgis-layer-list/customElement.js +13 -16
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +41 -44
- package/dist/components/arcgis-legend/customElement.d.ts +9 -4
- package/dist/components/arcgis-legend/customElement.js +12 -15
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +77 -21
- package/dist/components/arcgis-line-of-sight/customElement.js +45 -52
- package/dist/components/arcgis-link-chart/customElement.d.ts +30 -20
- package/dist/components/arcgis-link-chart/customElement.js +70 -57
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -31
- 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 +125 -125
- 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 +37 -35
- package/dist/components/arcgis-map/customElement.js +79 -66
- package/dist/components/arcgis-measurement/customElement.d.ts +13 -8
- package/dist/components/arcgis-measurement/customElement.js +13 -16
- 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/css.d.ts +1 -0
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +19 -15
- package/dist/components/arcgis-navigation-toggle/customElement.js +22 -22
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +14 -17
- package/dist/components/arcgis-placement/customElement.d.ts +8 -4
- package/dist/components/arcgis-placement/customElement.js +18 -26
- package/dist/components/arcgis-print/customElement.d.ts +57 -43
- package/dist/components/arcgis-print/customElement.js +37 -35
- package/dist/components/arcgis-print/types.d.ts +40 -0
- package/dist/components/arcgis-print/utils.d.ts +5 -5
- package/dist/components/arcgis-print-custom-text-elements/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +15 -18
- package/dist/components/arcgis-print-dpi-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +17 -25
- package/dist/components/arcgis-print-export-button/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-export-button/customElement.js +8 -12
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exported-link/customElement.js +28 -32
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exports-panel/customElement.js +9 -10
- package/dist/components/arcgis-print-format-select/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-format-select/customElement.js +9 -12
- 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 +6 -9
- 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 +68 -67
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +10 -5
- package/dist/components/arcgis-scale-range-slider/customElement.js +10 -13
- package/dist/components/arcgis-scene/customElement.d.ts +159 -102
- package/dist/components/arcgis-scene/customElement.js +112 -99
- package/dist/components/arcgis-search/css.d.ts +1 -0
- package/dist/components/arcgis-search/customElement.d.ts +40 -29
- package/dist/components/arcgis-search/customElement.js +65 -64
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -2
- package/dist/components/arcgis-search-result-renderer/customElement.js +31 -35
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +97 -34
- package/dist/components/arcgis-shadow-cast/customElement.js +13 -16
- package/dist/components/arcgis-sketch/customElement.d.ts +10 -5
- package/dist/components/arcgis-sketch/customElement.js +28 -23
- 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 +71 -83
- package/dist/components/arcgis-swipe/customElement.d.ts +31 -5
- package/dist/components/arcgis-swipe/customElement.js +35 -38
- package/dist/components/arcgis-table-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-table-list/customElement.js +14 -17
- package/dist/components/arcgis-time-slider/customElement.d.ts +11 -6
- package/dist/components/arcgis-time-slider/customElement.js +18 -21
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +5 -3
- package/dist/components/arcgis-time-zone-label/customElement.js +36 -40
- package/dist/components/arcgis-track/customElement.d.ts +29 -12
- package/dist/components/arcgis-track/customElement.js +20 -24
- 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 +21 -18
- package/dist/components/arcgis-utility-network-associations/customElement.js +15 -14
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +11 -6
- package/dist/components/arcgis-utility-network-trace/customElement.js +13 -12
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +11 -6
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +21 -20
- package/dist/components/arcgis-value-picker/customElement.d.ts +14 -7
- package/dist/components/arcgis-value-picker/customElement.js +13 -16
- package/dist/components/arcgis-version-management/customElement.d.ts +17 -10
- package/dist/components/arcgis-version-management/customElement.js +99 -104
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +3 -4
- package/dist/components/arcgis-version-management-service-item/customElement.js +21 -25
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-item/customElement.js +11 -14
- 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 -47
- package/dist/components/arcgis-video/customElement.d.ts +29 -12
- package/dist/components/arcgis-video/customElement.js +26 -33
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -7
- package/dist/components/arcgis-video-player/customElement.js +45 -39
- package/dist/components/arcgis-video-player-action-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +30 -19
- package/dist/components/arcgis-video-player-action-bar/index.d.ts +1 -0
- package/dist/components/arcgis-video-player-action-bar/index.js +1 -0
- package/dist/components/arcgis-video-player-actions-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +17 -17
- package/dist/components/arcgis-video-player-controls-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +11 -14
- 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/css.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +56 -5
- package/dist/components/arcgis-weather/customElement.js +92 -100
- package/dist/components/arcgis-weather/index.d.ts +1 -1
- package/dist/components/arcgis-weather/index.js +1 -1
- package/dist/components/arcgis-zoom/css.d.ts +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +12 -3
- package/dist/components/arcgis-zoom/customElement.js +23 -27
- 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 +4260 -3067
- package/dist/docs/docs.json +9690 -9054
- package/dist/docs/vscode.html-custom-data.json +477 -347
- package/dist/docs/web-types.json +1161 -1015
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +12 -34
- package/dist/index.js +1 -1
- package/dist/loader.js +28 -22
- package/dist/support/heading.d.ts +2 -1
- package/dist/support/maybe.d.ts +3 -3
- package/dist/support/measurementUtils.d.ts +2 -2
- package/dist/support/resources.d.ts +17 -0
- package/dist/support/slots.d.ts +2 -0
- package/dist/types/lumina.d.ts +31 -38
- package/dist/types/preact.d.ts +32 -39
- package/dist/types/react.d.ts +33 -40
- package/dist/types/stencil.d.ts +31 -38
- 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/globalCss.d.ts +1 -1
- 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/2PX76PIK.js +0 -4
- package/dist/cdn/2RDNB6AQ.js +0 -4
- package/dist/cdn/2XDJ5YCX.js +0 -4
- package/dist/cdn/2XVWX7F6.js +0 -4
- package/dist/cdn/3ZYU6ULV.js +0 -4
- package/dist/cdn/4BQLC4XH.js +0 -4
- package/dist/cdn/4FZ6VPTD.js +0 -4
- package/dist/cdn/4WDV7YJH.js +0 -4
- package/dist/cdn/5RCO7E6Z.js +0 -4
- package/dist/cdn/5USOFHHM.js +0 -4
- package/dist/cdn/5ZEROLRI.js +0 -4
- package/dist/cdn/6EPOXABT.js +0 -4
- package/dist/cdn/6PLTWBYF.js +0 -4
- package/dist/cdn/75MJBRSJ.js +0 -4
- package/dist/cdn/7IQCRGNV.js +0 -4
- package/dist/cdn/7M4P7OGP.js +0 -4
- package/dist/cdn/7YU45FPO.js +0 -4
- package/dist/cdn/A5JTOBLJ.js +0 -4
- package/dist/cdn/AWJMF4JH.js +0 -4
- package/dist/cdn/B4AIZOHR.js +0 -4
- package/dist/cdn/B5TBXJPB.js +0 -4
- package/dist/cdn/B6L5NPQ4.js +0 -4
- package/dist/cdn/B7JXTTR5.js +0 -4
- package/dist/cdn/BNRO4CJJ.js +0 -4
- package/dist/cdn/CCGRNRV5.js +0 -4
- package/dist/cdn/CLHIHH24.js +0 -4
- package/dist/cdn/CNI6AOEX.js +0 -4
- package/dist/cdn/CWUWXSUN.js +0 -4
- package/dist/cdn/DIQPU5P6.js +0 -4
- package/dist/cdn/DLIZPORJ.js +0 -4
- package/dist/cdn/EAPCLKYM.js +0 -4
- package/dist/cdn/EMB2KILS.js +0 -4
- package/dist/cdn/EQCPZYIL.js +0 -4
- package/dist/cdn/EVPK7HHS.js +0 -4
- package/dist/cdn/EVYXMCHJ.js +0 -4
- package/dist/cdn/FBWAUVL3.js +0 -4
- package/dist/cdn/FVBVSQPN.js +0 -4
- package/dist/cdn/FVMJB5JT.js +0 -4
- package/dist/cdn/GC3WHXRW.js +0 -4
- package/dist/cdn/GJVB4X55.js +0 -4
- package/dist/cdn/GNIBMNAJ.js +0 -4
- package/dist/cdn/GZ5L22IV.js +0 -4
- package/dist/cdn/HG57BRGL.js +0 -4
- package/dist/cdn/HKEC6RFB.js +0 -4
- package/dist/cdn/HMWRO37Q.js +0 -4
- package/dist/cdn/HQUWHYRU.js +0 -4
- package/dist/cdn/HYECZDEG.js +0 -4
- package/dist/cdn/HYPGMF36.js +0 -4
- package/dist/cdn/I5GFPX46.js +0 -4
- package/dist/cdn/IT5ZZIW7.js +0 -4
- package/dist/cdn/IUMLKCFQ.js +0 -4
- package/dist/cdn/IWXNLEZE.js +0 -4
- package/dist/cdn/IY3LFEYN.js +0 -4
- package/dist/cdn/JEUSHXT4.js +0 -4
- package/dist/cdn/JP3MOR2C.js +0 -4
- package/dist/cdn/JQTAZ4FZ.js +0 -4
- package/dist/cdn/JSKR65AM.js +0 -4
- package/dist/cdn/KCB6OY27.js +0 -4
- package/dist/cdn/KE7YCDIR.js +0 -4
- package/dist/cdn/KFY24TGV.js +0 -4
- package/dist/cdn/KGGAVF52.js +0 -4
- package/dist/cdn/KM7AHX5U.js +0 -4
- package/dist/cdn/LTNITWJW.js +0 -4
- package/dist/cdn/LVDHW7PZ.js +0 -4
- package/dist/cdn/LZS3AC2V.js +0 -4
- package/dist/cdn/MCF7QH3Q.js +0 -4
- package/dist/cdn/MGJIA7LY.js +0 -4
- package/dist/cdn/MHOWCSK3.js +0 -4
- package/dist/cdn/MV3FHHL3.js +0 -4
- package/dist/cdn/N36DJFDS.js +0 -4
- package/dist/cdn/NKAPTCC6.js +0 -4
- package/dist/cdn/NWFOVY5D.js +0 -4
- package/dist/cdn/OT2NTJRQ.js +0 -4
- package/dist/cdn/PERDYUOQ.js +0 -4
- package/dist/cdn/PZFHN3TS.js +0 -4
- package/dist/cdn/Q46OJVEQ.js +0 -4
- package/dist/cdn/QH7K5YNC.js +0 -4
- package/dist/cdn/QIIAHUSH.js +0 -4
- package/dist/cdn/RLZBP45L.js +0 -4
- package/dist/cdn/RNUE7TKS.js +0 -4
- package/dist/cdn/S7ESEKBE.js +0 -4
- package/dist/cdn/S7LZWAX4.js +0 -4
- package/dist/cdn/SME3IWXV.js +0 -4
- package/dist/cdn/TBWQ5GM3.js +0 -4
- package/dist/cdn/TRW5TO2V.js +0 -4
- package/dist/cdn/TSC5KCHG.js +0 -4
- package/dist/cdn/UWVJW3A3.js +0 -4
- package/dist/cdn/VKOB545Q.js +0 -4
- package/dist/cdn/VQRUAXMJ.js +0 -4
- package/dist/cdn/W4NACTPH.js +0 -4
- package/dist/cdn/WPVPOHXM.js +0 -4
- package/dist/cdn/WQJMDMY4.js +0 -4
- package/dist/cdn/WTB4IPLY.js +0 -4
- package/dist/cdn/XGENESWE.js +0 -4
- package/dist/cdn/XLDKDOAB.js +0 -4
- package/dist/cdn/XQFNPD2C.js +0 -4
- package/dist/cdn/Y33OJSVI.js +0 -4
- package/dist/cdn/YDAFDXTM.js +0 -4
- package/dist/cdn/YLB5UFJQ.js +0 -4
- package/dist/cdn/YWAGCLJF.js +0 -4
- package/dist/cdn/YXP3ZDIM.js +0 -4
- package/dist/cdn/YXZV2R2K.js +0 -4
- package/dist/cdn/ZBKVGEVP.js +0 -6
- package/dist/cdn/ZER3JGD6.js +0 -4
- package/dist/cdn/ZUE2OXRG.js +0 -4
- package/dist/components/arcgis-slider/customElement.d.ts +0 -240
- package/dist/components/arcgis-slider/customElement.js +0 -32
- /package/dist/components/{arcgis-slider → arcgis-feature-element-info}/index.d.ts +0 -0
- /package/dist/components/{arcgis-slider → arcgis-feature-element-info}/index.js +0 -0
|
@@ -0,0 +1,568 @@
|
|
|
1
|
+
import { c as W } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as j, html as y } from "lit";
|
|
3
|
+
import { ref as G } from "lit/directives/ref.js";
|
|
4
|
+
import { keyed as q } from "lit/directives/keyed.js";
|
|
5
|
+
import { useMedia as K } from "@arcgis/lumina/controllers";
|
|
6
|
+
import { getColorsFromRenderer as J } from "@arcgis/core/renderers/support/utils.js";
|
|
7
|
+
import { LitElement as Q, safeClassMap as C, nothing as A } from "@arcgis/lumina";
|
|
8
|
+
import { substitute as Z } from "@arcgis/core/intl.js";
|
|
9
|
+
import { c as S } from "../../chunks/utils.js";
|
|
10
|
+
import { watch as ee } from "@arcgis/core/core/reactiveUtils.js";
|
|
11
|
+
import te from "@arcgis/core/popup/FieldInfo.js";
|
|
12
|
+
import P from "@arcgis/core/popup/content/support/ChartMediaInfoValueSeries.js";
|
|
13
|
+
import { unsafeGetCalciteModeName as ie } from "@arcgis/toolkit/dom";
|
|
14
|
+
import { renderingSanitizer as X } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
15
|
+
import { i as $, s as N, f as E, a as Y, b as ae, g as U, c as re, d as ne, e as se, h as oe } from "../../chunks/feature-utils.js";
|
|
16
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
18
|
+
v4.34.0-next.90 */
|
|
19
|
+
const le = j`:host{display:block}.arcgis-feature-media__container{display:flex;flex-flow:row wrap;align-items:center;margin-top:var(--calcite-spacing-xs);width:100%;min-height:150px}.arcgis-feature-media__container .arcgis-feature-media__pagination-button{display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;padding-block:var(--calcite-spacing-xs);padding-inline:var(--calcite-spacing-xs);color:var(--calcite-color-text-3)}.arcgis-feature-media__container .arcgis-feature-media__pagination-button:hover,.arcgis-feature-media__container .arcgis-feature-media__pagination-button:focus{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1);fill:var(--calcite-color-text-1)}.arcgis-feature-media__item-title{margin:0;font-size:var(--calcite-font-size-md)}.arcgis-feature-media__item-caption{padding-block-start:var(--calcite-spacing-xxs);font-size:var(--calcite-font-size)}.arcgis-feature-media__item{display:flex;align-items:flex-start;justify-content:center;margin-block:var(--calcite-spacing-xs);width:100%;height:auto}.arcgis-feature-media__item-navigation{display:flex;flex:0 1 100%;align-items:flex-start;justify-content:space-between;margin-block-end:var(--calcite-spacing-xs)}.arcgis-feature-media__item-text{margin-inline-end:var(--calcite-spacing-xs)}.arcgis-feature-media__pagination{display:flex;flex:0 0 auto;align-items:center;overflow:hidden}.arcgis-feature-media__pagination:only-child{margin-inline-start:auto}.arcgis-feature-media__pagination-text{padding-inline:var(--calcite-spacing-xxs);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.arcgis-feature-media__item-container{flex:0 1 auto;width:100%}.arcgis-feature-media__item-container img{max-width:100%}.arcgis-feature-media__item-container img[src$=".SVG"],.arcgis-feature-media__item-container img[src$=".svg"]{width:100%}.arcgis-feature-media__chart{width:100%;height:155px}`;
|
|
20
|
+
function V(R) {
|
|
21
|
+
if (!$(R))
|
|
22
|
+
return null;
|
|
23
|
+
const [e, t] = R.split("/").slice(1);
|
|
24
|
+
return { layerId: e, fieldName: t };
|
|
25
|
+
}
|
|
26
|
+
const I = "arcgis-feature-media", v = {
|
|
27
|
+
base: I,
|
|
28
|
+
mediaContainer: `${I}__container`,
|
|
29
|
+
mediaItemContainer: `${I}__item-container`,
|
|
30
|
+
mediaItem: `${I}__item`,
|
|
31
|
+
mediaItemText: `${I}__item-text`,
|
|
32
|
+
mediaItemTitle: `${I}__item-title`,
|
|
33
|
+
mediaItemCaption: `${I}__item-caption`,
|
|
34
|
+
mediaNavigation: `${I}__item-navigation`,
|
|
35
|
+
mediaPagination: `${I}__pagination`,
|
|
36
|
+
mediaPaginationText: `${I}__pagination-text`,
|
|
37
|
+
mediaChart: `${I}__chart`,
|
|
38
|
+
mediaPaginationButton: `${I}__pagination-button`,
|
|
39
|
+
mediaPaginationIcon: `${I}__pagination-icon`,
|
|
40
|
+
mediaChartRendered: `${I}__chart--rendered`
|
|
41
|
+
}, z = 15, w = "category", T = "value", ce = "rgba(50, 50, 50, 1)", de = 250, me = 500, ue = 200;
|
|
42
|
+
class he extends Q {
|
|
43
|
+
constructor() {
|
|
44
|
+
super(...arguments), this._prefersReducedMotion = K("(prefers-reduced-motion)"), this.activeMediaInfoIndex = 0, this.chartAnimationDisabled = !1, this.isAggregate = !1, this.headingLevel = 2;
|
|
45
|
+
}
|
|
46
|
+
static {
|
|
47
|
+
this.properties = { _refreshIntervalInfo: 16, messages: 0, values: 0, activeMediaInfoIndex: 9, chartAnimationDisabled: 5, activeMediaInfo: 32, formattedMediaInfos: 32, description: 1, fieldInfoMap: 0, layer: 0, mediaInfos: 0, popupTemplate: 0, relatedInfos: 0, formattedValues: 0, heading: 1, isAggregate: 5, formattedMediaInfoCount: 32, headingLevel: 9 };
|
|
48
|
+
}
|
|
49
|
+
static {
|
|
50
|
+
this.styles = le;
|
|
51
|
+
}
|
|
52
|
+
get activeMediaInfo() {
|
|
53
|
+
return this.formattedMediaInfos[this.activeMediaInfoIndex] || null;
|
|
54
|
+
}
|
|
55
|
+
get formattedMediaInfos() {
|
|
56
|
+
return this._formatMediaInfos() || [];
|
|
57
|
+
}
|
|
58
|
+
get formattedMediaInfoCount() {
|
|
59
|
+
return this.formattedMediaInfos.length;
|
|
60
|
+
}
|
|
61
|
+
next() {
|
|
62
|
+
this._pageContentElementMedia(1);
|
|
63
|
+
}
|
|
64
|
+
previous() {
|
|
65
|
+
this._pageContentElementMedia(-1);
|
|
66
|
+
}
|
|
67
|
+
setActiveMedia(e) {
|
|
68
|
+
this._setContentElementMedia(e);
|
|
69
|
+
}
|
|
70
|
+
loaded() {
|
|
71
|
+
this.manager.onLifecycle(() => [
|
|
72
|
+
ee(() => [this.activeMediaInfo, this.activeMediaInfoIndex], () => this._setupMediaRefreshTimer(), { initial: !0 }),
|
|
73
|
+
{ remove: () => this._clearMediaRefreshTimer() }
|
|
74
|
+
]);
|
|
75
|
+
}
|
|
76
|
+
_setContentElementMedia(e) {
|
|
77
|
+
const { formattedMediaInfoCount: t } = this, i = (e + t) % t;
|
|
78
|
+
this.activeMediaInfoIndex = i;
|
|
79
|
+
}
|
|
80
|
+
_pageContentElementMedia(e) {
|
|
81
|
+
const { activeMediaInfoIndex: t } = this, i = t + e;
|
|
82
|
+
this._setContentElementMedia(i);
|
|
83
|
+
}
|
|
84
|
+
_formatMediaInfos() {
|
|
85
|
+
const { mediaInfos: e, layer: t } = this, i = this.values ?? {}, a = this.formattedValues ?? {}, r = this.fieldInfoMap ?? /* @__PURE__ */ new Map();
|
|
86
|
+
return e?.map((s) => {
|
|
87
|
+
const n = s?.clone();
|
|
88
|
+
if (!n)
|
|
89
|
+
return null;
|
|
90
|
+
if (n.title = N({
|
|
91
|
+
values: i,
|
|
92
|
+
fieldInfoMap: r,
|
|
93
|
+
globalValues: a,
|
|
94
|
+
layer: t,
|
|
95
|
+
text: n.title
|
|
96
|
+
}), n.caption = N({
|
|
97
|
+
values: i,
|
|
98
|
+
fieldInfoMap: r,
|
|
99
|
+
globalValues: a,
|
|
100
|
+
layer: t,
|
|
101
|
+
text: n.caption
|
|
102
|
+
}), n.altText = N({
|
|
103
|
+
values: i,
|
|
104
|
+
fieldInfoMap: r,
|
|
105
|
+
globalValues: a,
|
|
106
|
+
layer: t,
|
|
107
|
+
text: n.altText
|
|
108
|
+
}), n.type === "image") {
|
|
109
|
+
if (!n.value)
|
|
110
|
+
return null;
|
|
111
|
+
const o = n.value;
|
|
112
|
+
return this._setImageValue({
|
|
113
|
+
value: o,
|
|
114
|
+
formattedValues: a,
|
|
115
|
+
layer: t
|
|
116
|
+
}), o.sourceURL ? n : void 0;
|
|
117
|
+
}
|
|
118
|
+
if (n.type === "pie-chart" || n.type === "line-chart" || n.type === "column-chart" || n.type === "bar-chart") {
|
|
119
|
+
if (!n.value)
|
|
120
|
+
return null;
|
|
121
|
+
const o = n.value;
|
|
122
|
+
return this._setChartValue({
|
|
123
|
+
value: o,
|
|
124
|
+
chartType: n.type,
|
|
125
|
+
values: i,
|
|
126
|
+
formattedValues: a,
|
|
127
|
+
layer: t
|
|
128
|
+
}), n;
|
|
129
|
+
}
|
|
130
|
+
return null;
|
|
131
|
+
}).filter((s) => s != null) ?? [];
|
|
132
|
+
}
|
|
133
|
+
_setImageValue(e) {
|
|
134
|
+
const t = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { value: i, formattedValues: a, layer: r } = e, { linkURL: s, sourceURL: n } = i;
|
|
135
|
+
if (n) {
|
|
136
|
+
const o = E(n, r);
|
|
137
|
+
i.sourceURL = Y({
|
|
138
|
+
formattedValues: a,
|
|
139
|
+
template: o,
|
|
140
|
+
fieldInfoMap: t
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
if (s) {
|
|
144
|
+
const o = E(s, r);
|
|
145
|
+
i.linkURL = Y({
|
|
146
|
+
formattedValues: a,
|
|
147
|
+
template: o,
|
|
148
|
+
fieldInfoMap: t
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
_setChartValue(e) {
|
|
153
|
+
const { value: t, values: i, formattedValues: a, chartType: r, layer: s } = e, { popupTemplate: n, relatedInfos: o } = this, { fields: d, normalizeField: p } = t, u = s;
|
|
154
|
+
if (t.fields = ae(d, u), p && (t.normalizeField = U(p, u)), !d.some((c) => !!(a[c] != null || $(c) && o?.size)))
|
|
155
|
+
return;
|
|
156
|
+
const m = n?.fieldInfos ?? [];
|
|
157
|
+
t.series = [], d.forEach((c, h) => {
|
|
158
|
+
const f = t.colors?.[h];
|
|
159
|
+
if ($(c)) {
|
|
160
|
+
t.series = [
|
|
161
|
+
...t.series,
|
|
162
|
+
...this._getRelatedChartInfos({ fieldInfos: m, fieldName: c, formattedValues: a, chartType: r, value: t, color: f })
|
|
163
|
+
];
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
const g = this._getChartOption({
|
|
167
|
+
value: t,
|
|
168
|
+
values: i,
|
|
169
|
+
chartType: r,
|
|
170
|
+
formattedValues: a,
|
|
171
|
+
fieldName: c,
|
|
172
|
+
fieldInfos: m,
|
|
173
|
+
color: f
|
|
174
|
+
});
|
|
175
|
+
t.series.push(g);
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
_getRelatedChartInfos(e) {
|
|
179
|
+
const { fieldInfos: t, fieldName: i, formattedValues: a, chartType: r, value: s, color: n } = e, o = [], d = V(i), p = d && this.relatedInfos?.get(d.layerId);
|
|
180
|
+
if (!p)
|
|
181
|
+
return o;
|
|
182
|
+
const { relatedFeatures: u, relation: l } = p;
|
|
183
|
+
if (!l || !u)
|
|
184
|
+
return o;
|
|
185
|
+
const { cardinality: m } = l;
|
|
186
|
+
return u.forEach((h) => {
|
|
187
|
+
const f = h.attributes;
|
|
188
|
+
f && Object.keys(f).forEach((g) => {
|
|
189
|
+
g === d.fieldName && o.push(this._getChartOption({
|
|
190
|
+
value: s,
|
|
191
|
+
values: f,
|
|
192
|
+
formattedValues: a,
|
|
193
|
+
fieldName: i,
|
|
194
|
+
chartType: r,
|
|
195
|
+
relatedFieldName: g,
|
|
196
|
+
hasMultipleRelatedFeatures: u?.length > 1,
|
|
197
|
+
fieldInfos: t,
|
|
198
|
+
color: n
|
|
199
|
+
}));
|
|
200
|
+
});
|
|
201
|
+
}), m && (m === "one-to-many" || m === "many-to-many") ? o : [o[0]];
|
|
202
|
+
}
|
|
203
|
+
_getTooltip({ label: e, value: t, chartType: i }) {
|
|
204
|
+
return i === "pie-chart" ? `${e}` : `${e}: ${t}`;
|
|
205
|
+
}
|
|
206
|
+
_getChartOption(e) {
|
|
207
|
+
const { value: t, values: i, formattedValues: a, fieldName: r, relatedFieldName: s, fieldInfos: n, chartType: o, hasMultipleRelatedFeatures: d, color: p } = e, u = this.layer, l = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { normalizeField: m, tooltipField: c } = t, h = m ? $(m) ? i[V(m).fieldName] : i[m] : null, f = re(r) && a?.[r] !== void 0 ? a[r] : s && i[s] !== void 0 ? i[s] : i[r] !== void 0 ? i[r] : a[r], g = f === void 0 ? null : f && h && typeof f == "number" && typeof h == "number" ? f / h : f, x = ne(n, r), _ = U(r, u), M = (c && a[c] !== void 0 ? a[c] : se(x || new te({ fieldName: _ }), this.popupTemplate?.expressionInfos)) ?? "", F = a[_] ?? "", b = typeof g == "number" ? g : Number(g);
|
|
208
|
+
if ($(r)) {
|
|
209
|
+
const k = l.get(r.toLowerCase()), D = c ? l.get(c.toLowerCase()) : null, B = k?.fieldName ?? r, L = d && c ? V(c).fieldName : D?.fieldName ?? c, H = (d && L ? i[L] : a[L] ?? k?.label ?? k?.fieldName ?? s) ?? "", O = (d && s ? i[s] : a[B]) ?? "";
|
|
210
|
+
return new P({
|
|
211
|
+
fieldName: r,
|
|
212
|
+
tooltip: this._getTooltip({
|
|
213
|
+
label: H,
|
|
214
|
+
value: O,
|
|
215
|
+
chartType: o
|
|
216
|
+
}),
|
|
217
|
+
color: p,
|
|
218
|
+
value: b
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
return new P({
|
|
222
|
+
fieldName: r,
|
|
223
|
+
tooltip: this._getTooltip({
|
|
224
|
+
label: M,
|
|
225
|
+
value: F,
|
|
226
|
+
chartType: o
|
|
227
|
+
}),
|
|
228
|
+
color: p,
|
|
229
|
+
value: b
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
_getRenderer() {
|
|
233
|
+
const e = this.layer;
|
|
234
|
+
return this.isAggregate && e?.featureReduction && "renderer" in e.featureReduction ? e.featureReduction.renderer : e?.renderer;
|
|
235
|
+
}
|
|
236
|
+
async _getSeriesColors(e) {
|
|
237
|
+
const { color: t } = await import("@amcharts/amcharts5/index.js"), i = /* @__PURE__ */ new Map();
|
|
238
|
+
return e.forEach((a) => {
|
|
239
|
+
a.color && i.set(a, t(a.color.toCss(!0)));
|
|
240
|
+
}), i;
|
|
241
|
+
}
|
|
242
|
+
async _getRendererColors() {
|
|
243
|
+
const { color: e } = await import("@amcharts/amcharts5/index.js"), t = /* @__PURE__ */ new Map(), i = this._getRenderer(), a = "default";
|
|
244
|
+
if (!i)
|
|
245
|
+
return t;
|
|
246
|
+
const r = await J(i);
|
|
247
|
+
return r.delete(a), Array.from(r.values()).every((n) => n?.length === 1) && Array.from(r.keys()).forEach((n) => {
|
|
248
|
+
const o = r.get(n)?.[0]?.toCss(!0);
|
|
249
|
+
o && t.set(n, e(o));
|
|
250
|
+
}), t;
|
|
251
|
+
}
|
|
252
|
+
async _createChart(e) {
|
|
253
|
+
const { activeMediaInfo: t } = this;
|
|
254
|
+
if (!e || !t)
|
|
255
|
+
return;
|
|
256
|
+
const { createRoot: i } = await import("../../chunks/chart-utils.js"), a = await i(e);
|
|
257
|
+
this._chartRoot = a, this._renderChart({
|
|
258
|
+
mediaInfo: t,
|
|
259
|
+
root: a
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
_handleMediaKeyup(e) {
|
|
263
|
+
const { key: t } = e;
|
|
264
|
+
t === "ArrowLeft" && (e.stopPropagation(), this.previous()), t === "ArrowRight" && (e.stopPropagation(), this.next());
|
|
265
|
+
}
|
|
266
|
+
_canAnimateChart() {
|
|
267
|
+
return !this.chartAnimationDisabled && !this._prefersReducedMotion;
|
|
268
|
+
}
|
|
269
|
+
_getChartAnimationMS() {
|
|
270
|
+
return this._canAnimateChart() ? de : 0;
|
|
271
|
+
}
|
|
272
|
+
_getChartSeriesAnimationMS() {
|
|
273
|
+
return this._canAnimateChart() ? me : 0;
|
|
274
|
+
}
|
|
275
|
+
_getDirection() {
|
|
276
|
+
return S(this.el) ? "rtl" : "ltr";
|
|
277
|
+
}
|
|
278
|
+
async _customizeChartTooltip(e, t = "horizontal") {
|
|
279
|
+
const { color: i } = await import("@amcharts/amcharts5/index.js");
|
|
280
|
+
e.setAll({
|
|
281
|
+
pointerOrientation: t
|
|
282
|
+
}), e.get("background")?.setAll({
|
|
283
|
+
stroke: i(ce)
|
|
284
|
+
}), e.label.setAll({
|
|
285
|
+
direction: this._getDirection(),
|
|
286
|
+
oversizedBehavior: "wrap",
|
|
287
|
+
maxWidth: ue
|
|
288
|
+
});
|
|
289
|
+
}
|
|
290
|
+
async _createPieChart(e, t) {
|
|
291
|
+
const [{ Tooltip: i }, { PieChart: a, PieSeries: r }] = await Promise.all([
|
|
292
|
+
import("@amcharts/amcharts5/index.js"),
|
|
293
|
+
import("@amcharts/amcharts5/percent.js")
|
|
294
|
+
]), { mediaInfo: s, root: n } = e, { title: o } = s, d = 5, p = s?.altText || s?.title || "", u = n.container.children.push(a.new(n, {
|
|
295
|
+
role: "figure",
|
|
296
|
+
ariaLabel: p,
|
|
297
|
+
focusable: !0,
|
|
298
|
+
paddingBottom: d,
|
|
299
|
+
paddingTop: d,
|
|
300
|
+
paddingLeft: d,
|
|
301
|
+
paddingRight: d
|
|
302
|
+
})), l = `{category}: {valuePercentTotal.formatNumber('0.00')}%
|
|
303
|
+
({value})`, m = i.new(n, {
|
|
304
|
+
labelText: l
|
|
305
|
+
}), c = u.series.push(r.new(n, {
|
|
306
|
+
name: o,
|
|
307
|
+
valueField: T,
|
|
308
|
+
categoryField: w,
|
|
309
|
+
tooltip: m
|
|
310
|
+
}));
|
|
311
|
+
c.ticks.template.set("forceHidden", !0), c.labels.template.set("forceHidden", !0), c.slices.template.states.create("active", {
|
|
312
|
+
shiftRadius: d
|
|
313
|
+
}), this._customizeChartTooltip(m), c.slices.template.setAll({
|
|
314
|
+
ariaLabel: l,
|
|
315
|
+
focusable: !0,
|
|
316
|
+
templateField: "columnSettings"
|
|
317
|
+
}), c.data.setAll(t), c.appear(this._getChartSeriesAnimationMS()), u.appear(this._getChartAnimationMS()), u.root.dom.classList.toggle(v.mediaChartRendered, !0);
|
|
318
|
+
}
|
|
319
|
+
_getMinSeriesValue(e) {
|
|
320
|
+
let t = 0;
|
|
321
|
+
return e.forEach((i) => t = Math.min(i.value, t)), t;
|
|
322
|
+
}
|
|
323
|
+
async _createColumnChart(e, t, i) {
|
|
324
|
+
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis: d, ColumnSeries: p }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: u, root: l } = t, { value: m, title: c } = u;
|
|
325
|
+
e.setAll({
|
|
326
|
+
wheelX: "panX",
|
|
327
|
+
wheelY: "zoomX"
|
|
328
|
+
});
|
|
329
|
+
const h = e.xAxes.push(s.new(l, {
|
|
330
|
+
renderer: n.new(l, {
|
|
331
|
+
inversed: S(this.el)
|
|
332
|
+
}),
|
|
333
|
+
categoryField: w
|
|
334
|
+
}));
|
|
335
|
+
h.get("renderer").labels.template.setAll({
|
|
336
|
+
forceHidden: !0
|
|
337
|
+
});
|
|
338
|
+
const f = e.yAxes.push(d.new(l, {
|
|
339
|
+
renderer: o.new(l, { inside: !1 }),
|
|
340
|
+
min: this._getMinSeriesValue(m.series)
|
|
341
|
+
}));
|
|
342
|
+
f.get("renderer").labels.template.setAll({
|
|
343
|
+
direction: this._getDirection()
|
|
344
|
+
});
|
|
345
|
+
const g = "{categoryX}", x = a.new(l, {
|
|
346
|
+
labelText: g
|
|
347
|
+
}), _ = e.series.push(p.new(l, {
|
|
348
|
+
name: c,
|
|
349
|
+
xAxis: h,
|
|
350
|
+
yAxis: f,
|
|
351
|
+
valueYField: T,
|
|
352
|
+
categoryXField: w,
|
|
353
|
+
tooltip: x
|
|
354
|
+
}));
|
|
355
|
+
this._customizeChartTooltip(x), _.columns.template.setAll({
|
|
356
|
+
ariaLabel: g,
|
|
357
|
+
focusable: !0,
|
|
358
|
+
templateField: "columnSettings"
|
|
359
|
+
}), m.series.length > z && e.set("scrollbarX", r.new(l, {
|
|
360
|
+
orientation: "horizontal"
|
|
361
|
+
})), h.data.setAll(i), _.data.setAll(i), _.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
362
|
+
}
|
|
363
|
+
async _createBarChart(e, t, i) {
|
|
364
|
+
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis: d, ColumnSeries: p }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: u, root: l } = t, { value: m, title: c } = u;
|
|
365
|
+
e.setAll({
|
|
366
|
+
wheelX: "panY",
|
|
367
|
+
wheelY: "zoomY"
|
|
368
|
+
});
|
|
369
|
+
const h = e.yAxes.push(s.new(l, {
|
|
370
|
+
renderer: o.new(l, {
|
|
371
|
+
inversed: !0
|
|
372
|
+
}),
|
|
373
|
+
categoryField: w
|
|
374
|
+
}));
|
|
375
|
+
h.get("renderer").labels.template.setAll({
|
|
376
|
+
forceHidden: !0
|
|
377
|
+
});
|
|
378
|
+
const f = e.xAxes.push(d.new(l, {
|
|
379
|
+
renderer: n.new(l, {
|
|
380
|
+
inside: !1,
|
|
381
|
+
inversed: S(this.el)
|
|
382
|
+
}),
|
|
383
|
+
min: this._getMinSeriesValue(m.series)
|
|
384
|
+
}));
|
|
385
|
+
f.get("renderer").labels.template.setAll({
|
|
386
|
+
direction: this._getDirection()
|
|
387
|
+
});
|
|
388
|
+
const g = "{categoryY}", x = a.new(l, {
|
|
389
|
+
labelText: g
|
|
390
|
+
}), _ = e.series.push(p.new(l, {
|
|
391
|
+
name: c,
|
|
392
|
+
xAxis: f,
|
|
393
|
+
yAxis: h,
|
|
394
|
+
valueXField: T,
|
|
395
|
+
categoryYField: w,
|
|
396
|
+
tooltip: x
|
|
397
|
+
}));
|
|
398
|
+
this._customizeChartTooltip(x, "vertical"), _.columns.template.setAll({
|
|
399
|
+
ariaLabel: g,
|
|
400
|
+
focusable: !0,
|
|
401
|
+
templateField: "columnSettings"
|
|
402
|
+
}), m.series.length > z && e.set("scrollbarY", r.new(l, {
|
|
403
|
+
orientation: "vertical"
|
|
404
|
+
})), h.data.setAll(i), _.data.setAll(i), _.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
405
|
+
}
|
|
406
|
+
async _createLineChart(e, t, i) {
|
|
407
|
+
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis: d, LineSeries: p }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { root: u, mediaInfo: l } = t, { value: m, title: c } = l;
|
|
408
|
+
e.setAll({
|
|
409
|
+
wheelX: "panX",
|
|
410
|
+
wheelY: "zoomX"
|
|
411
|
+
});
|
|
412
|
+
const h = e.xAxes.push(s.new(u, {
|
|
413
|
+
renderer: n.new(u, {
|
|
414
|
+
inversed: S(this.el)
|
|
415
|
+
}),
|
|
416
|
+
categoryField: w
|
|
417
|
+
}));
|
|
418
|
+
h.get("renderer").labels.template.setAll({
|
|
419
|
+
forceHidden: !0
|
|
420
|
+
});
|
|
421
|
+
const f = e.yAxes.push(d.new(u, {
|
|
422
|
+
renderer: o.new(u, { inside: !1 }),
|
|
423
|
+
min: this._getMinSeriesValue(m.series)
|
|
424
|
+
}));
|
|
425
|
+
f.get("renderer").labels.template.setAll({
|
|
426
|
+
direction: this._getDirection()
|
|
427
|
+
});
|
|
428
|
+
const g = "{categoryX}", x = i[0]?.lineSettings?.stroke, _ = a.new(u, {
|
|
429
|
+
getFillFromSprite: !x,
|
|
430
|
+
labelText: g
|
|
431
|
+
});
|
|
432
|
+
x && _.get("background")?.setAll({
|
|
433
|
+
fill: x
|
|
434
|
+
});
|
|
435
|
+
const M = e.series.push(p.new(u, {
|
|
436
|
+
name: c,
|
|
437
|
+
xAxis: h,
|
|
438
|
+
yAxis: f,
|
|
439
|
+
valueYField: T,
|
|
440
|
+
categoryXField: w,
|
|
441
|
+
tooltip: _
|
|
442
|
+
}));
|
|
443
|
+
M.strokes.template.setAll({
|
|
444
|
+
templateField: "lineSettings"
|
|
445
|
+
}), this._customizeChartTooltip(_, "vertical"), m.series.length > z && e.set("scrollbarX", r.new(u, {
|
|
446
|
+
orientation: "horizontal"
|
|
447
|
+
})), h.data.setAll(i), M.data.setAll(i), M.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
448
|
+
}
|
|
449
|
+
async _createXYChart(e, t) {
|
|
450
|
+
const { XYChart: i, XYCursor: a } = await import("@amcharts/amcharts5/xy.js"), { root: r, mediaInfo: s } = e, { type: n } = s, o = s?.altText || s?.title || "", d = r.container.children.push(i.new(r, {
|
|
451
|
+
role: "figure",
|
|
452
|
+
ariaLabel: o,
|
|
453
|
+
focusable: !0,
|
|
454
|
+
panX: !0,
|
|
455
|
+
panY: !0
|
|
456
|
+
}));
|
|
457
|
+
d.set("cursor", a.new(r, {})), n === "column-chart" && await this._createColumnChart(d, e, t), n === "bar-chart" && await this._createBarChart(d, e, t), n === "line-chart" && await this._createLineChart(d, e, t), d.root.dom.classList.toggle(v.mediaChartRendered, !0);
|
|
458
|
+
}
|
|
459
|
+
_clearMediaRefreshTimer() {
|
|
460
|
+
const { _refreshTimer: e } = this;
|
|
461
|
+
e && (clearTimeout(e), this._refreshTimer = void 0);
|
|
462
|
+
}
|
|
463
|
+
_updateMediaInfoTimestamp(e) {
|
|
464
|
+
const t = Date.now();
|
|
465
|
+
this._refreshIntervalInfo = {
|
|
466
|
+
timestamp: t,
|
|
467
|
+
sourceURL: e && this._getImageSource(e, t)
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
_setupMediaRefreshTimer() {
|
|
471
|
+
this._clearMediaRefreshTimer();
|
|
472
|
+
const { activeMediaInfo: e } = this;
|
|
473
|
+
e?.type === "image" && e.refreshInterval > 0 && this._setRefreshTimeout(e);
|
|
474
|
+
}
|
|
475
|
+
_setRefreshTimeout(e) {
|
|
476
|
+
const { refreshInterval: t, value: i } = e, a = t * 6e4;
|
|
477
|
+
this._updateMediaInfoTimestamp(i.sourceURL);
|
|
478
|
+
const r = window.setInterval(() => {
|
|
479
|
+
this._updateMediaInfoTimestamp(i.sourceURL);
|
|
480
|
+
}, a);
|
|
481
|
+
this._refreshTimer = r;
|
|
482
|
+
}
|
|
483
|
+
_getImageSource(e, t) {
|
|
484
|
+
const i = e.includes("?") ? "&" : "?", [a, r = ""] = e.split("#");
|
|
485
|
+
return `${a}${i}timestamp=${t}${r ? "#" : ""}${r}`;
|
|
486
|
+
}
|
|
487
|
+
_updateChartElement(e) {
|
|
488
|
+
if (!e) {
|
|
489
|
+
this._chartRoot?.dispose(), this._chartRoot = void 0;
|
|
490
|
+
return;
|
|
491
|
+
}
|
|
492
|
+
this._createChart(e);
|
|
493
|
+
}
|
|
494
|
+
render() {
|
|
495
|
+
return y`<div class=${C(v.base)} @keyup=${this._handleMediaKeyup}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderMedia()}</div>`;
|
|
496
|
+
}
|
|
497
|
+
_renderMedia() {
|
|
498
|
+
const { formattedMediaInfoCount: e, activeMediaInfoIndex: t } = this, i = this._renderMediaText();
|
|
499
|
+
return e ? y`<div class=${C(v.mediaContainer)}>${this._renderMediaInfo()}<div class=${C(v.mediaNavigation)}>${i}${e > 1 ? y`<div class=${C(v.mediaPagination)}>${this._renderMediaPageButton("previous")}<span class=${C(v.mediaPaginationText)}>${Z(this.messages?.pageText ?? "", {
|
|
500
|
+
index: t + 1,
|
|
501
|
+
total: e
|
|
502
|
+
})}</span>${this._renderMediaPageButton("next")}</div>` : null}</div></div>` : null;
|
|
503
|
+
}
|
|
504
|
+
_renderMediaText() {
|
|
505
|
+
const { activeMediaInfo: e } = this;
|
|
506
|
+
if (!e)
|
|
507
|
+
return null;
|
|
508
|
+
const t = e?.title ? y`<div class=${C(v.mediaItemTitle)} .innerHTML=${X.sanitize(e.title) ?? ""}></div>` : null, i = e?.caption ? y`<div class=${C(v.mediaItemCaption)} .innerHTML=${X.sanitize(e.caption) ?? ""}></div>` : null;
|
|
509
|
+
return t || i ? y`<div class=${C(v.mediaItemText)}>${t}${i}</div>` : null;
|
|
510
|
+
}
|
|
511
|
+
_renderImageMediaInfo(e) {
|
|
512
|
+
if (!e.value)
|
|
513
|
+
return null;
|
|
514
|
+
const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: a, altText: r, title: s } = e, { sourceURL: n, linkURL: o } = i, p = oe(o ?? void 0) ? "_blank" : "_self", u = p === "_blank" ? "noreferrer" : "", l = a ? t : null, m = l ? l.sourceURL : n, c = y`<img alt=${(r || s) ?? A} src=${m ?? void 0 ?? A}>`;
|
|
515
|
+
return (o ? y`<a href=${o ?? A} rel=${u ?? A} target=${p ?? A} title=${s ?? A}>${c}</a>` : null) ?? c;
|
|
516
|
+
}
|
|
517
|
+
_renderChartMediaInfo(e) {
|
|
518
|
+
const { activeMediaInfoIndex: t, formattedMediaInfoCount: i } = this;
|
|
519
|
+
return q(`media-${e.type}-${t}-${i}`, y`<div class=${C(v.mediaChart)} ${G(this._updateChartElement)}></div>`);
|
|
520
|
+
}
|
|
521
|
+
_renderMediaInfoType() {
|
|
522
|
+
const { activeMediaInfo: e } = this;
|
|
523
|
+
return e ? e.type === "image" ? this._renderImageMediaInfo(e) : e.type.includes("chart") ? this._renderChartMediaInfo(e) : null : null;
|
|
524
|
+
}
|
|
525
|
+
_renderMediaInfo() {
|
|
526
|
+
const { activeMediaInfo: e } = this;
|
|
527
|
+
return e ? y`<div class=${C(v.mediaItemContainer)}><div class=${C(v.mediaItem)}>${this._renderMediaInfoType()}</div></div>` : null;
|
|
528
|
+
}
|
|
529
|
+
_renderMediaPageButton(e) {
|
|
530
|
+
if (this.formattedMediaInfoCount < 2)
|
|
531
|
+
return null;
|
|
532
|
+
const t = e === "previous", i = t ? this.messages?.previous ?? "" : this.messages?.next ?? "", a = t ? "chevron-left" : "chevron-right", r = t ? this.previous : this.next;
|
|
533
|
+
return y`<button .ariaLabel=${i} class=${C(v.mediaPaginationButton)} @click=${r} tabindex=0 title=${i ?? A} type=button><calcite-icon flip-rtl class=${C(v.mediaPaginationIcon)} .icon=${a} scale=s></calcite-icon></button>`;
|
|
534
|
+
}
|
|
535
|
+
async _renderChart(e) {
|
|
536
|
+
const { root: t, mediaInfo: i } = e, { value: a, type: r } = i, [{ default: s }, { default: n }, { default: o }, { esriChartColorSet: d }, { ColorSet: p, Theme: u }] = await Promise.all([
|
|
537
|
+
import("@amcharts/amcharts5/themes/Animated.js"),
|
|
538
|
+
import("@amcharts/amcharts5/themes/Dark.js"),
|
|
539
|
+
import("@amcharts/amcharts5/themes/Responsive.js"),
|
|
540
|
+
import("../../chunks/chartCommon.js"),
|
|
541
|
+
import("@amcharts/amcharts5/index.js")
|
|
542
|
+
]), l = u.new(t);
|
|
543
|
+
l.rule("ColorSet").set("colors", d), l.rule("ColorSet").set("reuse", !0);
|
|
544
|
+
const m = [o.new(t), l];
|
|
545
|
+
ie(this.el) === "dark" && m.push(n.new(t)), this._canAnimateChart() && m.push(s.new(t)), t.setThemes(m);
|
|
546
|
+
const c = await this._getRendererColors(), h = await this._getSeriesColors(a.series), f = p.new(t, {}), g = h.get(a.series[0]), x = g ? {
|
|
547
|
+
lineSettings: {
|
|
548
|
+
stroke: g
|
|
549
|
+
}
|
|
550
|
+
} : void 0, _ = a.series.map((M, F) => {
|
|
551
|
+
const b = h.get(M) || c.get(M.fieldName) || f.getIndex(F);
|
|
552
|
+
return {
|
|
553
|
+
[w]: M.tooltip,
|
|
554
|
+
[T]: M.value,
|
|
555
|
+
columnSettings: {
|
|
556
|
+
fill: b,
|
|
557
|
+
stroke: b
|
|
558
|
+
},
|
|
559
|
+
...x
|
|
560
|
+
};
|
|
561
|
+
}).filter((M) => r === "pie-chart" ? M.value != null && M.value > 0 : !0);
|
|
562
|
+
r === "pie-chart" ? this._createPieChart(e, _) : this._createXYChart(e, _);
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
W("arcgis-feature-media", he);
|
|
566
|
+
export {
|
|
567
|
+
he as ArcgisFeatureMedia
|
|
568
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { HeadingLevel } from '../../support/heading';
|
|
4
|
+
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
|
+
import { ArcgisFeature, FlowItemType, FlowItemComponent } from '../arcgis-feature/customElement.js';
|
|
7
|
+
export interface FeatureRelationshipCategory {
|
|
8
|
+
count: number;
|
|
9
|
+
value: number | string;
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
type RelatableFeatureSupportedLayer = {
|
|
13
|
+
capabilities: __esri.Capabilities | Nil;
|
|
14
|
+
objectIdField: Nil | string;
|
|
15
|
+
parent: __esri.Layer["parent"] | Nil | RelatableFeatureSupportedLayer;
|
|
16
|
+
loaded: boolean;
|
|
17
|
+
relationships: __esri.Relationship[] | Nil;
|
|
18
|
+
subtypeField: Nil | string;
|
|
19
|
+
subtypes: __esri.Subtype[] | Nil;
|
|
20
|
+
gdbVersion: Nil | string;
|
|
21
|
+
historicMoment: Date | Nil;
|
|
22
|
+
queryRelatedFeaturesCount: __esri.FeatureLayer["queryRelatedFeaturesCount"];
|
|
23
|
+
queryRelatedFeatures: __esri.FeatureLayer["queryRelatedFeatures"];
|
|
24
|
+
createQuery: __esri.FeatureLayer["createQuery"];
|
|
25
|
+
formTemplate: __esri.FormTemplate | Nil;
|
|
26
|
+
fields?: __esri.Field[];
|
|
27
|
+
findSublayerForSubtypeCode?: __esri.SubtypeGroupLayer["findSublayerForSubtypeCode"];
|
|
28
|
+
} & (__esri.FeatureLayer | __esri.Layer | __esri.Sublayer | __esri.SubtypeGroupLayer | __esri.SubtypeSublayer);
|
|
29
|
+
|
|
30
|
+
/** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature-relationship/) */
|
|
31
|
+
export declare class ArcgisFeatureRelationship extends LitElement {
|
|
32
|
+
/**
|
|
33
|
+
* If true, the component will not be destroyed automatically when it is
|
|
34
|
+
* disconnected from the document. This is useful when you want to move the
|
|
35
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
36
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature-relationship/#destroy) method when you are done to
|
|
37
|
+
* prevent memory leaks.
|
|
38
|
+
*
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
autoDestroyDisabled: boolean;
|
|
42
|
+
get featurePage(): number;
|
|
43
|
+
set featurePage(value: number);
|
|
44
|
+
/** @default 10 */
|
|
45
|
+
featuresPerPage: number;
|
|
46
|
+
flowItems?: __esri.Collection<FlowItemComponent>;
|
|
47
|
+
/** @default "feature-relationship" */
|
|
48
|
+
flowType: FlowItemType;
|
|
49
|
+
/** @default 2 */
|
|
50
|
+
headingLevel: HeadingLevel;
|
|
51
|
+
messages?: ArcgisFeature["messages"];
|
|
52
|
+
get heading(): string | undefined;
|
|
53
|
+
set heading(value: string | undefined);
|
|
54
|
+
description?: string;
|
|
55
|
+
values?: HashMap<number | string>;
|
|
56
|
+
activeCategory?: FeatureRelationshipCategory;
|
|
57
|
+
/**
|
|
58
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
59
|
+
*
|
|
60
|
+
* @default false
|
|
61
|
+
*/
|
|
62
|
+
hideHeading: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
65
|
+
*
|
|
66
|
+
* @default false
|
|
67
|
+
*/
|
|
68
|
+
hideDescription: boolean;
|
|
69
|
+
get displayCount(): number;
|
|
70
|
+
set displayCount(value: number);
|
|
71
|
+
graphic?: __esri.Graphic;
|
|
72
|
+
layer?: RelatableFeatureSupportedLayer;
|
|
73
|
+
map?: __esri.Map;
|
|
74
|
+
view?: __esri.MapView | __esri.SceneView;
|
|
75
|
+
spatialReference?: __esri.SpatialReference;
|
|
76
|
+
timeZone?: string;
|
|
77
|
+
orderByFields?: __esri.RelatedRecordsInfoFieldOrder[];
|
|
78
|
+
relationshipId?: number;
|
|
79
|
+
/** @default false */
|
|
80
|
+
showAllEnabled: boolean;
|
|
81
|
+
/** The component's default label. */
|
|
82
|
+
label?: string;
|
|
83
|
+
/** Permanently destroy the component. */
|
|
84
|
+
destroy(): Promise<void>;
|
|
85
|
+
}
|
|
86
|
+
export {};
|