@arcgis/map-components 4.34.0-next.10 → 4.34.0-next.101
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/LICENSE.md +10 -6
- package/README.md +6 -13
- package/dist/cdn/2I7EQV2V.js +4 -0
- package/dist/cdn/2MX5L5DX.js +4 -0
- package/dist/cdn/2OY47CB2.js +4 -0
- package/dist/cdn/2RSTUEOJ.js +4 -0
- package/dist/cdn/3BUZWGIU.js +4 -0
- package/dist/cdn/3C6PDNGL.js +4 -0
- package/dist/cdn/3KP2EFVC.js +4 -0
- package/dist/cdn/3MGXG23X.js +4 -0
- package/dist/cdn/3ZD6FVIS.js +4 -0
- package/dist/cdn/42Q3UCIZ.js +4 -0
- package/dist/cdn/43UKSJRE.js +4 -0
- package/dist/cdn/464WTEJ6.js +4 -0
- package/dist/cdn/{6IBMQQD7.js → 4B5KQNZX.js} +1 -1
- package/dist/cdn/4EMJADIO.js +4 -0
- package/dist/cdn/5AYDOAPN.js +4 -0
- package/dist/cdn/5IGGX4RH.js +4 -0
- package/dist/cdn/5MO6A3YG.js +4 -0
- package/dist/cdn/5XM6VEQ2.js +4 -0
- package/dist/cdn/5XT2TWUZ.js +4 -0
- package/dist/cdn/63MG7I2D.js +4 -0
- package/dist/cdn/6EX65S7U.js +4 -0
- package/dist/cdn/6HNSCNIH.js +4 -0
- package/dist/cdn/6KEWNT6M.js +4 -0
- package/dist/cdn/6LTK4F4Y.js +4 -0
- package/dist/cdn/6MJWHPV3.js +4 -0
- package/dist/cdn/6OSUF2HW.js +4 -0
- package/dist/cdn/6XS34HPD.js +4 -0
- package/dist/cdn/6Y5G5GGI.js +4 -0
- package/dist/cdn/{6NNREAHG.js → 6ZH5IM6W.js} +2 -2
- package/dist/cdn/764CHXYQ.js +4 -0
- package/dist/cdn/7A2GMAYK.js +4 -0
- package/dist/cdn/7V5BSNGM.js +4 -0
- package/dist/cdn/{JXLB6SA5.js → A24SWQ2U.js} +2 -2
- package/dist/cdn/A4FBZ75L.js +4 -0
- package/dist/cdn/AE6JB7ZS.js +4 -0
- package/dist/cdn/AHE4HJ4T.js +4 -0
- package/dist/cdn/AJALNNLM.js +4 -0
- package/dist/cdn/AJQG7XYK.js +4 -0
- package/dist/cdn/AMQVDPAA.js +4 -0
- package/dist/cdn/ANJRFDY6.js +4 -0
- package/dist/cdn/AVXGEIXM.js +4 -0
- package/dist/cdn/{2KXQNIAD.js → B76PX6IX.js} +1 -1
- package/dist/cdn/B7DJ3ITU.js +4 -0
- package/dist/cdn/B7UPBROS.js +4 -0
- package/dist/cdn/BU4FQLR5.js +6 -0
- package/dist/cdn/BWWZUV7J.js +4 -0
- package/dist/cdn/{TQA3YHEI.js → CDXPLNUR.js} +2 -2
- package/dist/cdn/CK4QJ3Z5.js +4 -0
- package/dist/cdn/CL7R5AD6.js +4 -0
- package/dist/cdn/CMW3IVXS.js +4 -0
- package/dist/cdn/CRFUD4RC.js +4 -0
- package/dist/cdn/CSEP7YXH.js +4 -0
- package/dist/cdn/D3LNQSQP.js +4 -0
- package/dist/cdn/D7FJZDGC.js +4 -0
- package/dist/cdn/DBVKCEBM.js +4 -0
- package/dist/cdn/DDF7G52O.js +4 -0
- package/dist/cdn/DGVRHZ2U.js +4 -0
- package/dist/cdn/DSY7ITIB.js +4 -0
- package/dist/cdn/DTJ5CLBI.js +4 -0
- package/dist/cdn/DVPVKYY6.js +4 -0
- package/dist/cdn/DZQVMSNU.js +4 -0
- package/dist/cdn/E53CHP2C.js +4 -0
- package/dist/cdn/E6SFR73V.js +4 -0
- package/dist/cdn/EM2FRM3L.js +4 -0
- package/dist/cdn/EOBWAOYC.js +4 -0
- package/dist/cdn/EPIINSRC.js +4 -0
- package/dist/cdn/EPMGQBYX.js +4 -0
- package/dist/cdn/{TQEFSTH6.js → EQW7KNJX.js} +2 -2
- package/dist/cdn/ERML673E.js +4 -0
- package/dist/cdn/ETE6CFS6.js +4 -0
- package/dist/cdn/FG3JBUXY.js +4 -0
- package/dist/cdn/{BFGI6R5L.js → FNKQDARS.js} +2 -2
- package/dist/cdn/FVI7YIZE.js +4 -0
- package/dist/cdn/FX56VUYH.js +5 -0
- package/dist/cdn/FXTQBGTB.js +4 -0
- package/dist/cdn/GJAWDWXZ.js +4 -0
- package/dist/cdn/GM2FZCHV.js +4 -0
- package/dist/cdn/HGFGQPC3.js +4 -0
- package/dist/cdn/HPG7HVRB.js +4 -0
- package/dist/cdn/IMRBANJP.js +4 -0
- package/dist/cdn/IZIM7PWV.js +4 -0
- package/dist/cdn/J47WG5BH.js +4 -0
- package/dist/cdn/J6CSGSHH.js +4 -0
- package/dist/cdn/JCFVG7US.js +4 -0
- package/dist/cdn/JDHX4XKR.js +4 -0
- package/dist/cdn/JNQGS3L4.js +4 -0
- package/dist/cdn/JXVU5AS7.js +4 -0
- package/dist/cdn/K5VVV26E.js +4 -0
- package/dist/cdn/K6MKDBEZ.js +4 -0
- package/dist/cdn/KF4NDP7W.js +4 -0
- package/dist/cdn/KJRUUXHL.js +4 -0
- package/dist/cdn/KMNGYAWJ.js +4 -0
- package/dist/cdn/KYCCLIVO.js +4 -0
- package/dist/cdn/L22ZJZHR.js +4 -0
- package/dist/cdn/L54L3TUI.js +4 -0
- package/dist/cdn/L6F762VN.js +4 -0
- package/dist/cdn/LD7EPOYG.js +4 -0
- package/dist/cdn/LF5TKZZK.js +4 -0
- package/dist/cdn/LHS2XXRV.js +4 -0
- package/dist/cdn/LP3MDJOJ.js +4 -0
- package/dist/cdn/LPEADVU7.js +4 -0
- package/dist/cdn/{I3JV5MZC.js → LRXR2ZBY.js} +2 -2
- package/dist/cdn/LVJQ5QHW.js +4 -0
- package/dist/cdn/M2T3XID6.js +4 -0
- package/dist/cdn/{C5LFDEPC.js → M75JEP73.js} +2 -2
- package/dist/cdn/MJ67F3XJ.js +4 -0
- package/dist/cdn/MQ5QKII3.js +4 -0
- package/dist/cdn/MXWADH4U.js +4 -0
- package/dist/cdn/N3EYHR35.js +4 -0
- package/dist/cdn/NAD7HQLV.js +4 -0
- package/dist/cdn/NAFZI3J6.js +4 -0
- package/dist/cdn/NHOHNLYC.js +4 -0
- package/dist/cdn/NQM5RO2M.js +4 -0
- package/dist/cdn/O4XRK5Y6.js +4 -0
- package/dist/cdn/OFBCQFKW.js +4 -0
- package/dist/cdn/OFT3CSMR.js +4 -0
- package/dist/cdn/ONM7M3FN.js +4 -0
- package/dist/cdn/OPYE763R.js +4 -0
- package/dist/cdn/ORHGTX2U.js +4 -0
- package/dist/cdn/OVLJIRJ5.js +4 -0
- package/dist/cdn/OX42TCGV.js +4 -0
- package/dist/cdn/OYAQLSQU.js +4 -0
- package/dist/cdn/{5U65VTUS.js → PG2ZKPRB.js} +2 -2
- package/dist/cdn/PGWDW6EW.js +4 -0
- package/dist/cdn/PIABBT55.js +4 -0
- package/dist/cdn/PLENNFFT.js +4 -0
- package/dist/cdn/PRYDQJTC.js +4 -0
- package/dist/cdn/QAQIP3JF.js +4 -0
- package/dist/cdn/QATZWEIK.js +4 -0
- package/dist/cdn/QD2GNNQW.js +4 -0
- package/dist/cdn/QJLXIEFJ.js +4 -0
- package/dist/cdn/QNK7SBIK.js +4 -0
- package/dist/cdn/RPS57FG5.js +4 -0
- package/dist/cdn/RY4GKW46.js +4 -0
- package/dist/cdn/RY77T523.js +4 -0
- package/dist/cdn/S5LPSJSP.js +4 -0
- package/dist/cdn/S7E3FZYK.js +4 -0
- package/dist/cdn/{JHQMXRHC.js → SB4GJOGJ.js} +2 -2
- package/dist/cdn/SFTU4HYV.js +4 -0
- package/dist/cdn/SJ3BASYE.js +4 -0
- package/dist/cdn/SNURZH45.js +4 -0
- package/dist/cdn/SVA6AFXV.js +4 -0
- package/dist/cdn/SVUI4VM7.js +4 -0
- package/dist/cdn/SWJ4ARTW.js +4 -0
- package/dist/cdn/{FAQJ3ZLQ.js → SZLEYWUY.js} +2 -2
- package/dist/cdn/TB4QIY4B.js +4 -0
- package/dist/cdn/TI6WEI2K.js +4 -0
- package/dist/cdn/TISNFNYF.js +4 -0
- package/dist/cdn/TS3J3UY4.js +4 -0
- package/dist/cdn/U2DCX4LB.js +4 -0
- package/dist/cdn/U45EIYCZ.js +4 -0
- package/dist/cdn/U6B2LRCX.js +4 -0
- package/dist/cdn/UF63TCII.js +4 -0
- package/dist/cdn/UGPK73EV.js +4 -0
- package/dist/cdn/ULGZLOJW.js +4 -0
- package/dist/cdn/UPGCGGFI.js +4 -0
- package/dist/cdn/UQC43ZXI.js +4 -0
- package/dist/cdn/UR7ALVLD.js +4 -0
- package/dist/cdn/UYSYCO5R.js +4 -0
- package/dist/cdn/UZH5LWYI.js +4 -0
- package/dist/cdn/V5K7KI2L.js +4 -0
- package/dist/cdn/V76N2VZE.js +4 -0
- package/dist/cdn/VD3RG67A.js +4 -0
- package/dist/cdn/VE32J3OB.js +4 -0
- package/dist/cdn/VM5LTGHR.js +4 -0
- package/dist/cdn/VNY62OBN.js +4 -0
- package/dist/cdn/VTI6JSXM.js +4 -0
- package/dist/cdn/VTPSISPB.js +4 -0
- package/dist/cdn/VYN5LSXT.js +4 -0
- package/dist/cdn/WAPF323F.js +4 -0
- package/dist/cdn/WGZ2GWB7.js +4 -0
- package/dist/cdn/{BLAF5LTU.js → WHN2HWQZ.js} +1 -1
- package/dist/cdn/X2Q652GP.js +4 -0
- package/dist/cdn/X5QMIG7U.js +4 -0
- package/dist/cdn/X7TCNJMO.js +4 -0
- package/dist/cdn/XAF4N3XQ.js +4 -0
- package/dist/cdn/XEQGLWPC.js +4 -0
- package/dist/cdn/{TEYE4CMR.js → XPIIX2FE.js} +1 -1
- package/dist/cdn/XQ5WANNP.js +4 -0
- package/dist/cdn/XXJD3MWH.js +4 -0
- package/dist/cdn/XYHIDUMK.js +4 -0
- package/dist/cdn/YA3M2NYY.js +4 -0
- package/dist/cdn/YUZ5FHB2.js +4 -0
- package/dist/cdn/Z7GI6TZH.js +4 -0
- package/dist/cdn/ZCMVFAKA.js +4 -0
- package/dist/cdn/ZGVJAUFG.js +4 -0
- package/dist/cdn/ZPYNQIDI.js +4 -0
- package/dist/cdn/ZV56UWHM.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 +92 -107
- 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 +12 -10
- package/dist/chunks/slots.js +27 -0
- package/dist/chunks/slots2.js +9 -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 +17 -10
- package/dist/components/arcgis-area-measurement-2d/customElement.js +14 -17
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +115 -13
- package/dist/components/arcgis-area-measurement-3d/customElement.js +75 -82
- package/dist/components/arcgis-attachments/customElement.d.ts +21 -10
- 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 +15 -6
- package/dist/components/arcgis-basemap-gallery/customElement.js +45 -48
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +36 -31
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +13 -8
- 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 +15 -6
- 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 +31 -21
- package/dist/components/arcgis-building-explorer/customElement.js +11 -14
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +13 -8
- package/dist/components/arcgis-catalog-layer-list/customElement.js +13 -16
- package/dist/components/arcgis-compass/customElement.d.ts +17 -7
- package/dist/components/arcgis-compass/customElement.js +22 -25
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +15 -10
- package/dist/components/arcgis-coordinate-conversion/customElement.js +15 -18
- package/dist/components/arcgis-daylight/customElement.d.ts +34 -20
- package/dist/components/arcgis-daylight/customElement.js +9 -12
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +116 -13
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +75 -82
- package/dist/components/arcgis-directional-pad/customElement.d.ts +14 -5
- 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 +15 -10
- package/dist/components/arcgis-directions/customElement.js +30 -33
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +13 -8
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +12 -15
- package/dist/components/arcgis-editor/customElement.d.ts +13 -8
- package/dist/components/arcgis-editor/customElement.js +13 -16
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +37 -29
- package/dist/components/arcgis-elevation-profile/customElement.js +12 -15
- package/dist/components/arcgis-expand/customElement.d.ts +119 -73
- package/dist/components/arcgis-expand/customElement.js +127 -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 +23 -10
- package/dist/components/arcgis-feature-form/customElement.js +14 -17
- 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 +16 -10
- package/dist/components/arcgis-feature-table/customElement.js +27 -30
- package/dist/components/arcgis-feature-templates/customElement.d.ts +13 -8
- package/dist/components/arcgis-feature-templates/customElement.js +14 -17
- package/dist/components/arcgis-features/customElement.d.ts +15 -10
- package/dist/components/arcgis-features/customElement.js +12 -15
- package/dist/components/arcgis-floor-filter/customElement.d.ts +17 -10
- package/dist/components/arcgis-floor-filter/customElement.js +13 -16
- package/dist/components/arcgis-fullscreen/customElement.d.ts +30 -11
- package/dist/components/arcgis-fullscreen/customElement.js +35 -21
- package/dist/components/arcgis-grid-controls/customElement.d.ts +18 -9
- 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 +14 -9
- package/dist/components/arcgis-histogram-range-slider/customElement.js +14 -17
- package/dist/components/arcgis-home/customElement.d.ts +33 -12
- 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 +13 -8
- 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 +12 -7
- package/dist/components/arcgis-legend/customElement.js +12 -15
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +79 -23
- 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 +45 -31
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +15 -5
- 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 +21 -9
- 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 +61 -47
- package/dist/components/arcgis-measurement/customElement.d.ts +18 -11
- 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 +21 -17
- package/dist/components/arcgis-navigation-toggle/customElement.js +22 -22
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +13 -8
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +16 -18
- package/dist/components/arcgis-placement/customElement.d.ts +10 -6
- package/dist/components/arcgis-placement/customElement.js +18 -26
- package/dist/components/arcgis-print/customElement.d.ts +54 -44
- 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 +15 -6
- package/dist/components/arcgis-scale-bar/customElement.js +68 -67
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +13 -8
- 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 +55 -41
- package/dist/components/arcgis-search/css.d.ts +1 -0
- package/dist/components/arcgis-search/customElement.d.ts +42 -31
- 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 +98 -35
- package/dist/components/arcgis-shadow-cast/customElement.js +13 -16
- package/dist/components/arcgis-sketch/customElement.d.ts +13 -8
- 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 +111 -25
- package/dist/components/arcgis-slice/customElement.js +73 -85
- package/dist/components/arcgis-swipe/customElement.d.ts +33 -7
- package/dist/components/arcgis-swipe/customElement.js +35 -38
- package/dist/components/arcgis-table-list/customElement.d.ts +13 -8
- package/dist/components/arcgis-table-list/customElement.js +14 -17
- package/dist/components/arcgis-time-slider/customElement.d.ts +14 -9
- 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 +31 -14
- 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 +24 -21
- package/dist/components/arcgis-utility-network-associations/customElement.js +15 -14
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +14 -9
- package/dist/components/arcgis-utility-network-trace/customElement.js +13 -12
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +14 -9
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +21 -20
- package/dist/components/arcgis-value-picker/customElement.d.ts +17 -10
- package/dist/components/arcgis-value-picker/customElement.js +13 -16
- package/dist/components/arcgis-version-management/customElement.d.ts +19 -12
- 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 +12 -6
- package/dist/components/arcgis-video/customElement.js +27 -24
- package/dist/components/arcgis-video-player/customElement.d.ts +18 -9
- package/dist/components/arcgis-video-player/customElement.js +35 -35
- 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 +8 -11
- 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 +58 -7
- 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 +14 -5
- package/dist/components/arcgis-zoom/customElement.js +24 -28
- package/dist/controllers/Handles.d.ts +4 -4
- package/dist/controllers/useHandles.d.ts +5 -5
- package/dist/controllers/useView.d.ts +4 -4
- package/dist/controllers/useViewModel.d.ts +4 -4
- package/dist/controllers/useWidget.d.ts +10 -10
- package/dist/docs/api.json +4601 -3376
- package/dist/docs/docs.json +3418 -2747
- package/dist/docs/vscode.html-custom-data.json +534 -343
- package/dist/docs/web-types.json +1215 -1053
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +13 -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 +32 -38
- package/dist/types/preact.d.ts +33 -39
- package/dist/types/react.d.ts +34 -40
- package/dist/types/stencil.d.ts +32 -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/22CPQ4XH.js +0 -4
- package/dist/cdn/27YHILTV.js +0 -4
- package/dist/cdn/2BG4ZSWN.js +0 -4
- package/dist/cdn/2DLW2TWX.js +0 -4
- package/dist/cdn/2PGPJAPU.js +0 -4
- package/dist/cdn/2QU4RR7E.js +0 -4
- package/dist/cdn/2UTPEIQE.js +0 -4
- package/dist/cdn/2W6QFQ3Q.js +0 -4
- package/dist/cdn/2YEN3RRG.js +0 -4
- package/dist/cdn/37ROY3XI.js +0 -4
- package/dist/cdn/3Y7E6HKY.js +0 -4
- package/dist/cdn/3Z6E6LUY.js +0 -4
- package/dist/cdn/4SRTBAJO.js +0 -4
- package/dist/cdn/4XP5JP7X.js +0 -4
- package/dist/cdn/5CPD4XYG.js +0 -4
- package/dist/cdn/5V5NSNR7.js +0 -4
- package/dist/cdn/63ML34C3.js +0 -4
- package/dist/cdn/645ZHMYK.js +0 -4
- package/dist/cdn/66HH4O3P.js +0 -4
- package/dist/cdn/6ETTMPIZ.js +0 -4
- package/dist/cdn/6VCT4Q3D.js +0 -4
- package/dist/cdn/73K54NWN.js +0 -4
- package/dist/cdn/75WLCFEI.js +0 -6
- package/dist/cdn/76QAI7UH.js +0 -4
- package/dist/cdn/7I77MXF7.js +0 -4
- package/dist/cdn/AFWWZ7XF.js +0 -4
- package/dist/cdn/AKEJZRV2.js +0 -4
- package/dist/cdn/APMMPLHM.js +0 -4
- package/dist/cdn/APZW5NF5.js +0 -4
- package/dist/cdn/AQI35YOW.js +0 -4
- package/dist/cdn/AUDL2DQJ.js +0 -4
- package/dist/cdn/AVWJJCKX.js +0 -4
- package/dist/cdn/AZGTPL2Z.js +0 -4
- package/dist/cdn/BJTKPMTU.js +0 -4
- package/dist/cdn/BKANRHYB.js +0 -4
- package/dist/cdn/BM2HV6DL.js +0 -4
- package/dist/cdn/BVVV77AF.js +0 -4
- package/dist/cdn/BWZMIWBY.js +0 -4
- package/dist/cdn/CGOJBXQB.js +0 -4
- package/dist/cdn/CJWHJFHJ.js +0 -4
- package/dist/cdn/CSWSYOL2.js +0 -4
- package/dist/cdn/D24ZOCB4.js +0 -4
- package/dist/cdn/DLBZPO4Q.js +0 -4
- package/dist/cdn/ENJ4HE3C.js +0 -4
- package/dist/cdn/ETXYVXCU.js +0 -4
- package/dist/cdn/F5Q77XCM.js +0 -4
- package/dist/cdn/FHPCSGNG.js +0 -4
- package/dist/cdn/FKJX5X6D.js +0 -4
- package/dist/cdn/FRONWW33.js +0 -4
- package/dist/cdn/G4LQJM2X.js +0 -4
- package/dist/cdn/GRB3YDLM.js +0 -4
- package/dist/cdn/GRBLIE4Q.js +0 -4
- package/dist/cdn/HDVJNUUJ.js +0 -4
- package/dist/cdn/HHP2CSAF.js +0 -4
- package/dist/cdn/HUAZNEYW.js +0 -4
- package/dist/cdn/IACGLBK2.js +0 -4
- package/dist/cdn/ICD7RPH2.js +0 -4
- package/dist/cdn/J2MTDODP.js +0 -4
- package/dist/cdn/J3GEXUYW.js +0 -4
- package/dist/cdn/JQKJNYTO.js +0 -4
- package/dist/cdn/KMOVX7EQ.js +0 -4
- package/dist/cdn/KV5ZEHWX.js +0 -4
- package/dist/cdn/L5O4XAD7.js +0 -4
- package/dist/cdn/L7TTW6B7.js +0 -4
- package/dist/cdn/LCJNDBF3.js +0 -4
- package/dist/cdn/LMJGHDRO.js +0 -4
- package/dist/cdn/LPGU2A5R.js +0 -4
- package/dist/cdn/LQVFKMLH.js +0 -4
- package/dist/cdn/LT2OQH6Y.js +0 -4
- package/dist/cdn/M6NBEK2V.js +0 -4
- package/dist/cdn/MEA3UT6O.js +0 -4
- package/dist/cdn/MF7ST5NB.js +0 -4
- package/dist/cdn/N3MU4X6S.js +0 -4
- package/dist/cdn/NTYE62GA.js +0 -4
- package/dist/cdn/OGZ3DANA.js +0 -4
- package/dist/cdn/OJYPMHI5.js +0 -4
- package/dist/cdn/OV64HWMJ.js +0 -4
- package/dist/cdn/PVNKF3M3.js +0 -4
- package/dist/cdn/Q5TTVEFN.js +0 -4
- package/dist/cdn/Q6TBH52M.js +0 -4
- package/dist/cdn/QMJTUPT4.js +0 -4
- package/dist/cdn/QV356VVX.js +0 -4
- package/dist/cdn/R3JFFYZ3.js +0 -4
- package/dist/cdn/R7I7HIMR.js +0 -4
- package/dist/cdn/R7IILRBO.js +0 -4
- package/dist/cdn/R7VYI2AO.js +0 -4
- package/dist/cdn/RGPEZAXD.js +0 -4
- package/dist/cdn/RQSS2GQU.js +0 -4
- package/dist/cdn/S4HMQTV3.js +0 -4
- package/dist/cdn/UKZW4J7Z.js +0 -4
- package/dist/cdn/UMKSU6KV.js +0 -4
- package/dist/cdn/URNQXRHC.js +0 -4
- package/dist/cdn/UY2FHZBS.js +0 -4
- package/dist/cdn/V35S7J5U.js +0 -4
- package/dist/cdn/V36IKRPP.js +0 -4
- package/dist/cdn/VWRZUNZU.js +0 -4
- package/dist/cdn/VXFAVKT4.js +0 -4
- package/dist/cdn/X7AZQXGR.js +0 -4
- package/dist/cdn/XCU6RDWH.js +0 -4
- package/dist/cdn/XKYWZC3G.js +0 -4
- package/dist/cdn/XQ73KMWY.js +0 -4
- package/dist/cdn/Y7E6LPIW.js +0 -4
- package/dist/cdn/YSOBQL3F.js +0 -4
- package/dist/cdn/Z5Z3MXGB.js +0 -4
- package/dist/cdn/ZCNDZSTZ.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
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as l } from "lit
|
|
1
|
+
import { c as _ } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as f, html as l } from "lit";
|
|
3
3
|
import { usePropertyChange as m } from "@arcgis/lumina/controllers";
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { property as O, subclass as A } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
4
|
+
import { LitElement as w, createEvent as v, safeClassMap as a } from "@arcgis/lumina";
|
|
5
|
+
import { g as h } from "../../chunks/globalCss.js";
|
|
6
|
+
import { u as b } from "../../chunks/useT9n.js";
|
|
7
|
+
import { m as x } from "../../chunks/useViewModel.js";
|
|
8
|
+
import { A as y } from "../../chunks/AnalysisViewModel.js";
|
|
9
|
+
import k from "@arcgis/core/analysis/LineOfSightAnalysis.js";
|
|
10
|
+
import { property as $, subclass as z } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
12
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
12
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
14
|
-
v4.34.0-next.
|
|
15
|
-
const
|
|
16
|
-
base:
|
|
17
|
-
actions: `${
|
|
18
|
-
container: `${
|
|
19
|
-
error: `${
|
|
20
|
-
hint: `${
|
|
21
|
-
hintText: `${
|
|
22
|
-
newAnalysisButton: `${
|
|
13
|
+
v4.34.0-next.101 */
|
|
14
|
+
const M = f`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:1.3em}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:#303030}.esri-menu__list-item:active{background-color:#000}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}:host{min-width:300px}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto;width:300px}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}`, o = "arcgis-line-of-sight", s = {
|
|
15
|
+
base: o,
|
|
16
|
+
actions: `${o}__actions`,
|
|
17
|
+
container: `${o}__container`,
|
|
18
|
+
error: `${o}__error`,
|
|
19
|
+
hint: `${o}__hint`,
|
|
20
|
+
hintText: `${o}__hint-text`,
|
|
21
|
+
newAnalysisButton: `${o}__new-analysis-button`
|
|
23
22
|
};
|
|
24
|
-
var
|
|
25
|
-
for (var
|
|
26
|
-
(
|
|
27
|
-
return
|
|
23
|
+
var C = Object.defineProperty, A = Object.getOwnPropertyDescriptor, u = (t, e, r, n) => {
|
|
24
|
+
for (var i = n > 1 ? void 0 : n ? A(e, r) : e, d = t.length - 1, g; d >= 0; d--)
|
|
25
|
+
(g = t[d]) && (i = (n ? g(e, r, i) : g(i)) || i);
|
|
26
|
+
return n && i && C(e, r, i), i;
|
|
28
27
|
};
|
|
29
|
-
let c = class extends
|
|
28
|
+
let c = class extends y {
|
|
30
29
|
constructor() {
|
|
31
30
|
super(...arguments), this.supportedViewType = "3d", this.unsupportedErrorMessage = "The Line Of Sight component is only supported in 3D views.";
|
|
32
31
|
}
|
|
@@ -34,37 +33,31 @@ let c = class extends M {
|
|
|
34
33
|
return this.disabled || !this.ready ? "disabled" : this.operationState === "active" ? "creating" : this.analysis.valid ? "created" : "ready";
|
|
35
34
|
}
|
|
36
35
|
constructAnalysis() {
|
|
37
|
-
return new
|
|
36
|
+
return new k();
|
|
38
37
|
}
|
|
39
38
|
clearAnalysis() {
|
|
40
39
|
this.analysis.observer = null, this.analysis.targets.removeAll();
|
|
41
40
|
}
|
|
42
41
|
async place(t) {
|
|
43
|
-
|
|
42
|
+
await this.analysisView?.place(t);
|
|
44
43
|
}
|
|
45
44
|
};
|
|
46
45
|
u([
|
|
47
|
-
|
|
46
|
+
$({ readOnly: !0 })
|
|
48
47
|
], c.prototype, "state", 1);
|
|
49
48
|
c = u([
|
|
50
|
-
|
|
49
|
+
z("esri.components.LineOfSight.LineOfSightViewModel")
|
|
51
50
|
], c);
|
|
52
|
-
const
|
|
53
|
-
class
|
|
51
|
+
const O = x(c);
|
|
52
|
+
class E extends w {
|
|
54
53
|
constructor() {
|
|
55
|
-
super(...arguments), this.viewModel =
|
|
54
|
+
super(...arguments), this.viewModel = O(this), this._messages = b({ blocking: !0 }), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.icon = "line-of-sight", this.arcgisPropertyChange = m()("analysis", "state"), this.arcgisReady = v();
|
|
56
55
|
}
|
|
57
56
|
static {
|
|
58
|
-
this.properties = { analysis:
|
|
57
|
+
this.properties = { analysis: 0, autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, state: 35, _supported: 16 };
|
|
59
58
|
}
|
|
60
59
|
static {
|
|
61
|
-
this.
|
|
62
|
-
}
|
|
63
|
-
static {
|
|
64
|
-
this.styles = C;
|
|
65
|
-
}
|
|
66
|
-
get analysis() {
|
|
67
|
-
return this.viewModel.analysis;
|
|
60
|
+
this.styles = M;
|
|
68
61
|
}
|
|
69
62
|
get state() {
|
|
70
63
|
return this.viewModel.state;
|
|
@@ -88,29 +81,29 @@ class V extends y {
|
|
|
88
81
|
this.viewModel.stop();
|
|
89
82
|
}
|
|
90
83
|
render() {
|
|
91
|
-
return l`<div class=${
|
|
92
|
-
[
|
|
93
|
-
[
|
|
94
|
-
[
|
|
84
|
+
return l`<div class=${a({
|
|
85
|
+
[s.base]: !0,
|
|
86
|
+
[h.widget]: !0,
|
|
87
|
+
[h.panel]: !0
|
|
95
88
|
})} role=presentation>${this._renderContainerNode()}</div>`;
|
|
96
89
|
}
|
|
97
90
|
_renderContainerNode() {
|
|
98
91
|
if (!this._supported)
|
|
99
|
-
return l`<div class=${
|
|
100
|
-
const e = this.viewModel.state,
|
|
101
|
-
return l`<div class=${
|
|
92
|
+
return l`<div class=${a(s.error)}><p>${this._messages.unsupported}</p></div>`;
|
|
93
|
+
const e = this.viewModel.state, r = e === "creating";
|
|
94
|
+
return l`<div class=${a(s.container)}>${r ? l`<div class=${a(s.hint)}><p class=${a(s.hintText)}>${this._messages.hint}</p></div>` : null}<div class=${a(s.actions)}>${e === "creating" ? p({ onClick: () => {
|
|
102
95
|
this.stop();
|
|
103
|
-
}, children: this._messages.done }) : null}${e === "created" ?
|
|
96
|
+
}, children: this._messages.done }) : null}${e === "created" ? p({ onClick: () => {
|
|
104
97
|
this.continue();
|
|
105
|
-
}, children: this._messages.continueAnalysis }) : null}${
|
|
98
|
+
}, children: this._messages.continueAnalysis }) : null}${p({ className: s.newAnalysisButton, onClick: () => {
|
|
106
99
|
this.start();
|
|
107
100
|
}, primary: !0, disabled: e === "disabled", children: this._messages.newAnalysis })}</div></div>`;
|
|
108
101
|
}
|
|
109
102
|
}
|
|
110
|
-
function
|
|
111
|
-
return l`<calcite-button .appearance=${
|
|
103
|
+
function p({ className: t, onClick: e, primary: r, disabled: n, children: i }) {
|
|
104
|
+
return l`<calcite-button .appearance=${r ? "solid" : "outline-fill"} class=${a(t)} .disabled=${n} @click=${e}>${i}</calcite-button>`;
|
|
112
105
|
}
|
|
113
|
-
|
|
106
|
+
_("arcgis-line-of-sight", E);
|
|
114
107
|
export {
|
|
115
|
-
|
|
108
|
+
E as ArcgisLineOfSight
|
|
116
109
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
3
|
-
import { Use } from '@arcgis/lumina/controllers';
|
|
4
|
-
import { Nil } from '@arcgis/components-utils';
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
5
3
|
import { default as LinkChartView } from '@arcgis/core/views/LinkChartView.js';
|
|
6
4
|
import { default as WebLinkChart } from '@arcgis/core/WebLinkChart.js';
|
|
7
|
-
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
|
+
import { Use } from '@arcgis/lumina/controllers';
|
|
7
|
+
import { nil } from '@arcgis/toolkit/type';
|
|
8
8
|
|
|
9
|
-
declare const useWebLinkChart: (component: LitElement & Omit<Pick<WebLinkChart, "basemap" | "
|
|
9
|
+
declare const useWebLinkChart: (component: LitElement & Omit<Pick<WebLinkChart, "basemap" | "focusAreas" | "ground" | "tables" | "layers" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "bookmarks" | "floorInfo" | "initialViewProperties" | "linkChartProperties" | "mapType" | "portalItem" | "thumbnailUrl">, ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "basemap" | "ground" | "tables" | "presentation" | "layers" | "knowledgeGraph" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "bookmarks" | "entityCount" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "linkChartProperties" | "mapType" | "portalItem" | "relationshipCount" | "thumbnailUrl"> & {
|
|
10
10
|
autoDestroyDisabled: boolean;
|
|
11
11
|
destroy: () => Promise<void>;
|
|
12
12
|
}) => WebLinkChart;
|
|
13
|
-
declare const useLinkChartView: (component: LitElement & Omit<Pick<LinkChartView, "
|
|
13
|
+
declare const useLinkChartView: (component: LitElement & Omit<Pick<LinkChartView, "map" | "background" | "basemapView" | "center" | "constraints" | "extent" | "fatalError" | "graphics" | "highlights" | "navigation" | "padding" | "popup" | "resizeAlign" | "rotation" | "scale" | "spatialReference" | "theme" | "timeExtent" | "timeZone" | "viewpoint" | "zoom" | "floors" | "breakpoints" | "heightBreakpoint" | "popupEnabled" | "widthBreakpoint" | "spatialReferenceLocked" | "container" | "ui" | "animation" | "displayFilterEnabled">, ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "floors" | "breakpoints" | "heightBreakpoint" | "popupEnabled" | "widthBreakpoint" | "spatialReferenceLocked" | "container" | "ui" | "animation" | "displayFilterEnabled" | "highlightOptions"> & {
|
|
14
14
|
autoDestroyDisabled: boolean;
|
|
15
15
|
destroy: () => Promise<void>;
|
|
16
16
|
}) => LinkChartView;
|
|
@@ -66,7 +66,7 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
66
66
|
* For animating the view, see this component's goTo() method.
|
|
67
67
|
*/
|
|
68
68
|
get center(): __esri.LinkChartView["center"];
|
|
69
|
-
set center(newValue: __esri.LinkChartView["center"] |
|
|
69
|
+
set center(newValue: __esri.LinkChartView["center"] | nil | number[] | string);
|
|
70
70
|
/** Specifies constraints to scale, zoom, and rotation that may be applied to the LinkChartView. */
|
|
71
71
|
constraints: __esri.View2DConstraints;
|
|
72
72
|
/**
|
|
@@ -89,13 +89,14 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
89
89
|
fatalError: nullish | __esri.Error;
|
|
90
90
|
/**
|
|
91
91
|
* Allows for adding graphics directly to the default graphics in the View.
|
|
92
|
-
*
|
|
93
|
-
*
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* ```js
|
|
94
95
|
* // Adds a graphic to the View
|
|
95
96
|
* graphics.add(pointGraphic);
|
|
96
97
|
* ```
|
|
97
|
-
*
|
|
98
|
-
* ```
|
|
98
|
+
* @example
|
|
99
|
+
* ```js
|
|
99
100
|
* // Removes a graphic from the View
|
|
100
101
|
* graphics.remove(pointGraphic);
|
|
101
102
|
* ```
|
|
@@ -117,8 +118,8 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
117
118
|
*
|
|
118
119
|
* To configure the portal url you must set the [`portalUrl` property on `config`](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#portalUrl) before the Link Chart component loads.
|
|
119
120
|
*/
|
|
120
|
-
get itemId():
|
|
121
|
-
set itemId(newValue:
|
|
121
|
+
get itemId(): nil | string;
|
|
122
|
+
set itemId(newValue: nil | string);
|
|
122
123
|
/**
|
|
123
124
|
* A collection containing a hierarchical list of all the created
|
|
124
125
|
* [LayerViews](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) of the
|
|
@@ -131,7 +132,7 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
131
132
|
* An instance of a [WebLinkChart](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebLinkChart.html)
|
|
132
133
|
* object to display in the view.
|
|
133
134
|
*/
|
|
134
|
-
map: WebLinkChart;
|
|
135
|
+
map: WebLinkChart | nullish;
|
|
135
136
|
/**
|
|
136
137
|
* Indication whether the view is being navigated (for example when panning).
|
|
137
138
|
*
|
|
@@ -174,7 +175,7 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
174
175
|
*
|
|
175
176
|
* @default "center"
|
|
176
177
|
*/
|
|
177
|
-
resizeAlign: "
|
|
178
|
+
resizeAlign: "bottom-left" | "bottom-right" | "top-left" | "top-right" | "center" | "left" | "right" | "top" | "bottom";
|
|
178
179
|
/**
|
|
179
180
|
* Represents the current value of one pixel in the unit of the view's spatialReference.
|
|
180
181
|
* The value of resolution is calculated by dividing the view's extent width
|
|
@@ -270,14 +271,14 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
270
271
|
set zoom(newValue: number);
|
|
271
272
|
/**
|
|
272
273
|
* @deprecated
|
|
273
|
-
* since 4.33
|
|
274
|
+
* since 4.33, use `element.map.add(layer)` instead.
|
|
274
275
|
*
|
|
275
276
|
* Adds a layer to the map layers collection.
|
|
276
277
|
*/
|
|
277
278
|
addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>;
|
|
278
279
|
/**
|
|
279
280
|
* @deprecated
|
|
280
|
-
* since 4.33
|
|
281
|
+
* since 4.33, use `element.map.addMany([layer])` instead.
|
|
281
282
|
*
|
|
282
283
|
* Adds a layer or array of layers to the map layers collection.
|
|
283
284
|
*/
|
|
@@ -300,8 +301,17 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
300
301
|
/** Gets the LayerView created on the view for the given layer. */
|
|
301
302
|
whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>;
|
|
302
303
|
/**
|
|
303
|
-
* `viewOnReady()` may be leveraged once an instance of the component is created and ready.
|
|
304
|
-
* This method takes two input parameters
|
|
304
|
+
* `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/#view) is created and ready.
|
|
305
|
+
* This method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.
|
|
306
|
+
*
|
|
307
|
+
* @since 4.33
|
|
308
|
+
* @see [Watch for changes - waiting for components or views to be ready](https://developers.arcgis.com/javascript/latest/watch-for-changes/#waiting-for-components-or-views-to-be-ready)
|
|
309
|
+
* @example
|
|
310
|
+
* ```js
|
|
311
|
+
* const viewElement = document.querySelector("arcgis-link-chart");
|
|
312
|
+
* await viewElement.viewOnReady();
|
|
313
|
+
* // The view is now ready to be used.
|
|
314
|
+
* ```
|
|
305
315
|
*/
|
|
306
316
|
viewOnReady(callback?: () => void, errback?: (error: Error) => void): Promise<void>;
|
|
307
317
|
/**
|
|
@@ -349,7 +359,7 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
349
359
|
*/
|
|
350
360
|
readonly arcgisViewReadyChange: TargetedEvent<this, void>;
|
|
351
361
|
readonly _setterTypes: {
|
|
352
|
-
center?: __esri.LinkChartView["center"] |
|
|
362
|
+
center?: __esri.LinkChartView["center"] | nil | number[] | string;
|
|
353
363
|
};
|
|
354
364
|
}
|
|
355
365
|
export {};
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
1
|
+
import { c as p } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as a } from "lit";
|
|
3
3
|
import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import { c as
|
|
8
|
-
import {
|
|
4
|
+
import v from "@arcgis/core/views/LinkChartView.js";
|
|
5
|
+
import m from "@arcgis/core/WebLinkChart.js";
|
|
6
|
+
import { LitElement as l, createEvent as r, safeClassMap as h } from "@arcgis/lumina";
|
|
7
|
+
import { makeAccessorController as c, reEmitEvent as e, reCreateAccessor as g } from "@arcgis/lumina/controllers/accessor";
|
|
8
|
+
import { createRef as n, ref as o } from "lit-html/directives/ref.js";
|
|
9
|
+
import { C as w, s as d } from "../../chunks/slots.js";
|
|
10
|
+
import { c as u, i as y } from "../../chunks/component-utils.js";
|
|
11
|
+
import { s as f, a as V } from "../../chunks/slots2.js";
|
|
9
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
13
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
+
v4.34.0-next.101 */
|
|
15
|
+
const b = c(
|
|
16
|
+
m,
|
|
14
17
|
/**
|
|
15
18
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
16
19
|
* a hack to remove them from the runtime code. This argument is not used at
|
|
@@ -20,27 +23,24 @@ const d = m`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height
|
|
|
20
23
|
* in an externalized package.
|
|
21
24
|
*/
|
|
22
25
|
{}
|
|
23
|
-
),
|
|
24
|
-
class
|
|
26
|
+
), C = c(v, {});
|
|
27
|
+
class k extends l {
|
|
25
28
|
constructor() {
|
|
26
|
-
super(), this._map =
|
|
29
|
+
super(), this._containerRef = n(), this._mapRef = n(), this._map = b(this), this.view = C(this), this.allLayerViews = this.view.allLayerViews, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewChange = r(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r(), this.view.ui = {
|
|
27
30
|
components: ["attribution"]
|
|
28
31
|
};
|
|
29
32
|
}
|
|
30
33
|
static {
|
|
31
|
-
this.properties = { _map: 16, view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, graphics: 0, highlights: 0, interacting: 32, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 4, viewpoint: 0, zoom: 9 };
|
|
34
|
+
this.properties = { _map: 16, view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, focusAreas: 0, graphics: 0, highlights: 0, interacting: 32, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 4, viewpoint: 0, zoom: 9 };
|
|
32
35
|
}
|
|
33
36
|
static {
|
|
34
|
-
this.
|
|
35
|
-
}
|
|
36
|
-
static {
|
|
37
|
-
this.styles = d;
|
|
37
|
+
this.styles = [f, V];
|
|
38
38
|
}
|
|
39
39
|
get center() {
|
|
40
40
|
return this.view.center;
|
|
41
41
|
}
|
|
42
42
|
set center(i) {
|
|
43
|
-
const t =
|
|
43
|
+
const t = u(i, this.view);
|
|
44
44
|
t && (this.view.center = t);
|
|
45
45
|
}
|
|
46
46
|
get extent() {
|
|
@@ -49,6 +49,15 @@ class u extends c {
|
|
|
49
49
|
set extent(i) {
|
|
50
50
|
this.extent?.equals(i) || (this.view.extent = i);
|
|
51
51
|
}
|
|
52
|
+
get focusAreas() {
|
|
53
|
+
return this.map ? this.map?.focusAreas : {
|
|
54
|
+
areas: [],
|
|
55
|
+
style: "bright"
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
set focusAreas(i) {
|
|
59
|
+
this.map && (this.map.focusAreas = i);
|
|
60
|
+
}
|
|
52
61
|
get interacting() {
|
|
53
62
|
return this.view.interacting;
|
|
54
63
|
}
|
|
@@ -56,7 +65,7 @@ class u extends c {
|
|
|
56
65
|
return this._map.portalItem?.id;
|
|
57
66
|
}
|
|
58
67
|
set itemId(i) {
|
|
59
|
-
|
|
68
|
+
g(this._map, this), this._map.portalItem = { id: i }, this.view.map = this._map;
|
|
60
69
|
}
|
|
61
70
|
get navigating() {
|
|
62
71
|
return this.view.navigating;
|
|
@@ -74,7 +83,7 @@ class u extends c {
|
|
|
74
83
|
return this.view.viewpoint;
|
|
75
84
|
}
|
|
76
85
|
set viewpoint(i) {
|
|
77
|
-
|
|
86
|
+
y(this.viewpoint, i) && (this.view.viewpoint = i);
|
|
78
87
|
}
|
|
79
88
|
get zoom() {
|
|
80
89
|
return this.view.zoom;
|
|
@@ -83,10 +92,10 @@ class u extends c {
|
|
|
83
92
|
this.view.zoom = i;
|
|
84
93
|
}
|
|
85
94
|
async addLayer(i, t) {
|
|
86
|
-
this.map
|
|
95
|
+
this.map?.add(i, t);
|
|
87
96
|
}
|
|
88
97
|
async addLayers(i, t) {
|
|
89
|
-
this.map
|
|
98
|
+
this.map?.addMany(i, t);
|
|
90
99
|
}
|
|
91
100
|
async closePopup() {
|
|
92
101
|
this.view.closePopup();
|
|
@@ -115,19 +124,24 @@ class u extends c {
|
|
|
115
124
|
async viewOnReady(i, t) {
|
|
116
125
|
return await this.componentOnReady(), await this.view.whenReady().then(() => i?.()).catch(t);
|
|
117
126
|
}
|
|
118
|
-
load() {
|
|
119
|
-
const i = this;
|
|
120
|
-
i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container = i.el.childElem;
|
|
121
|
-
}
|
|
122
127
|
loaded() {
|
|
123
|
-
|
|
124
|
-
|
|
128
|
+
const i = this;
|
|
129
|
+
i.el.childElem = this._mapRef.value, this.view.container ??= i.el.childElem, this.map ||= this._map, this.manager.onLifecycle(() => [
|
|
130
|
+
s(() => this.map, (t) => {
|
|
131
|
+
t && (this._map = t);
|
|
132
|
+
}, { initial: !0, sync: !0 }),
|
|
125
133
|
s(() => this.view.stationary, () => this.arcgisViewChange.emit(), { initial: !0 }),
|
|
126
134
|
s(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready })
|
|
127
135
|
]);
|
|
128
136
|
}
|
|
137
|
+
renderMain() {
|
|
138
|
+
return a`<div class=${h(w.base)} ${o(this._mapRef)}></div>`;
|
|
139
|
+
}
|
|
140
|
+
render() {
|
|
141
|
+
return a`<section class=${h(w.containerUI)} ${o(this._containerRef)}>${d()}</section>${this.renderMain()}`;
|
|
142
|
+
}
|
|
129
143
|
}
|
|
130
|
-
|
|
144
|
+
p("arcgis-link-chart", k);
|
|
131
145
|
export {
|
|
132
|
-
|
|
146
|
+
k as ArcgisLinkChart
|
|
133
147
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
4
|
import { Use } from '@arcgis/lumina/controllers';
|
|
5
5
|
import { default as LinkChartLayoutSwitcherViewModel } from '@arcgis/core/widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel.js';
|
|
@@ -68,10 +68,14 @@ export declare class ArcgisLinkChartLayoutSwitcher extends LitElement {
|
|
|
68
68
|
* @default "organic-standard"
|
|
69
69
|
*/
|
|
70
70
|
readonly layout: DiagramLayoutType;
|
|
71
|
-
/**
|
|
71
|
+
/**
|
|
72
|
+
* Replace localized message strings with your own strings.
|
|
73
|
+
*
|
|
74
|
+
* _**Note**: Individual message keys may change between releases._
|
|
75
|
+
*/
|
|
72
76
|
messageOverrides?: typeof this.messages._overrides;
|
|
73
|
-
/** @
|
|
74
|
-
position
|
|
77
|
+
/** @deprecated since 4.34, use `slot` instead. */
|
|
78
|
+
position?: __esri.UIPosition;
|
|
75
79
|
/**
|
|
76
80
|
* Prevents extent from updating on changes to the layout.
|
|
77
81
|
*
|
|
@@ -80,6 +84,12 @@ export declare class ArcgisLinkChartLayoutSwitcher extends LitElement {
|
|
|
80
84
|
* @default false
|
|
81
85
|
*/
|
|
82
86
|
preventExtentUpdate: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
89
|
+
*
|
|
90
|
+
* See also:
|
|
91
|
+
* - [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
92
|
+
*/
|
|
83
93
|
referenceElement?: ArcgisReferenceElement | string;
|
|
84
94
|
/**
|
|
85
95
|
* The current state of the widget.
|
|
@@ -108,7 +118,7 @@ export declare class ArcgisLinkChartLayoutSwitcher extends LitElement {
|
|
|
108
118
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
109
119
|
name: "state";
|
|
110
120
|
}>;
|
|
111
|
-
/** Emitted when the component associated with a map or scene view is
|
|
121
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
112
122
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
113
123
|
private messages: Partial<{
|
|
114
124
|
layoutOptions: string;
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as e } from "lit
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import g from "
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { reEmitEvent as w } from "@arcgis/lumina/controllers/accessor";
|
|
10
|
-
import { LitElement as b, createEvent as f, noShadowRoot as v, safeClassMap as c } from "@arcgis/lumina";
|
|
11
|
-
import { css as $ } from "@lit/reactive-element/css-tag.js";
|
|
1
|
+
import { c as n } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as h, html as e } from "lit";
|
|
3
|
+
import d from "@arcgis/core/widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel.js";
|
|
4
|
+
import { usePropertyChange as m } from "@arcgis/lumina/controllers";
|
|
5
|
+
import { m as g } from "../../chunks/useViewModel.js";
|
|
6
|
+
import { u as p } from "../../chunks/useT9n.js";
|
|
7
|
+
import { reEmitEvent as u } from "@arcgis/lumina/controllers/accessor";
|
|
8
|
+
import { LitElement as y, createEvent as w, safeClassMap as b } from "@arcgis/lumina";
|
|
12
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
14
|
-
v4.34.0-next.
|
|
15
|
-
const
|
|
11
|
+
v4.34.0-next.101 */
|
|
12
|
+
const v = h``, c = {
|
|
16
13
|
basicLayoutCategory: [
|
|
17
14
|
"basic-grid"
|
|
18
15
|
/* SIMPLE */
|
|
@@ -37,7 +34,7 @@ const L = $`@layer{arcgis-link-chart-layout-switcher{display:block}}`, l = {
|
|
|
37
34
|
"chronological-multi-timeline"
|
|
38
35
|
/* CHRONOLOGICAL_MULTIPLE */
|
|
39
36
|
]
|
|
40
|
-
},
|
|
37
|
+
}, s = {
|
|
41
38
|
"organic-standard": "force-directed-link-chart-layout",
|
|
42
39
|
"organic-community": "community-link-chart-layout",
|
|
43
40
|
"basic-grid": "simple-link-chart-layout",
|
|
@@ -47,7 +44,7 @@ const L = $`@layer{arcgis-link-chart-layout-switcher{display:block}}`, l = {
|
|
|
47
44
|
"geographic-organic-standard": "geographic-link-chart-layout",
|
|
48
45
|
"chronological-mono-timeline": "single-timeline",
|
|
49
46
|
"chronological-multi-timeline": "multi-timeline"
|
|
50
|
-
},
|
|
47
|
+
}, l = {
|
|
51
48
|
"organic-standard": "forceDirected",
|
|
52
49
|
"organic-community": "community",
|
|
53
50
|
"basic-grid": "simple",
|
|
@@ -57,21 +54,18 @@ const L = $`@layer{arcgis-link-chart-layout-switcher{display:block}}`, l = {
|
|
|
57
54
|
"geographic-organic-standard": "geographic",
|
|
58
55
|
"chronological-mono-timeline": "chronologicalSingle",
|
|
59
56
|
"chronological-multi-timeline": "chronologicalMultiple"
|
|
60
|
-
},
|
|
61
|
-
base: "
|
|
62
|
-
},
|
|
63
|
-
class
|
|
57
|
+
}, L = {
|
|
58
|
+
base: "link-chart-layout-switcher"
|
|
59
|
+
}, $ = g(d);
|
|
60
|
+
class f extends y {
|
|
64
61
|
constructor() {
|
|
65
|
-
super(...arguments), this.messages =
|
|
62
|
+
super(...arguments), this.messages = p(), this.viewModel = $(this), this.appearance = "dropdown", this.autoDestroyDisabled = !1, this.closeOnSelectDisabled = !1, this.icon = "nodes-link", this.layout = this.viewModel.layout, this.preventExtentUpdate = this.viewModel.preventExtentUpdate, this.state = this.viewModel.state, this.arcgisSwitchLayout = u(() => this.viewModel, "switchLayout"), this.arcgisPropertyChange = m()("state"), this.arcgisReady = w();
|
|
66
63
|
}
|
|
67
64
|
static {
|
|
68
65
|
this.properties = { appearance: 1, autoDestroyDisabled: 5, closeOnSelectDisabled: 5, icon: 1, label: 1, layout: 32, messageOverrides: 0, position: 3, preventExtentUpdate: 5, referenceElement: 1, state: 3 };
|
|
69
66
|
}
|
|
70
67
|
static {
|
|
71
|
-
this.
|
|
72
|
-
}
|
|
73
|
-
static {
|
|
74
|
-
this.styles = L;
|
|
68
|
+
this.styles = v;
|
|
75
69
|
}
|
|
76
70
|
async destroy() {
|
|
77
71
|
await this.manager.destroy();
|
|
@@ -80,19 +74,19 @@ class C extends b {
|
|
|
80
74
|
this.viewModel.switchLayout(t);
|
|
81
75
|
}
|
|
82
76
|
_renderDropdown() {
|
|
83
|
-
const { messages: t, icon:
|
|
84
|
-
return e`<calcite-dropdown scale=s width=m max-items=9 .closeOnSelectDisabled=${this.closeOnSelectDisabled}><calcite-
|
|
77
|
+
const { messages: t, icon: a } = this;
|
|
78
|
+
return e`<calcite-dropdown scale=s width=m max-items=9 .closeOnSelectDisabled=${this.closeOnSelectDisabled}><calcite-action slot=trigger .disabled=${this.viewModel.state === "disabled"} .icon=${a ?? void 0} .label=${t.layoutOptions ?? "Layout"} appearance=solid scale=s .text=${t.layoutOptions ?? "Layout"}></calcite-action>${Object.entries(c).map(([r, i]) => e`<calcite-dropdown-group selection-mode=single .groupTitle=${this.messages[r]}>${i.map((o) => e`<calcite-dropdown-item .iconStart=${s[o]} .selected=${o === this.layout ? !0 : void 0} @click=${() => void this.switchLayout(o)}>${t[l[o]]}</calcite-dropdown-item>`)}</calcite-dropdown-group>`)}</calcite-dropdown>`;
|
|
85
79
|
}
|
|
86
80
|
_renderMenuBar() {
|
|
87
81
|
const { messages: t } = this;
|
|
88
|
-
return e`<calcite-action-bar scale=s floating overflow-actions-disabled>${Object.entries(
|
|
82
|
+
return e`<calcite-action-bar scale=s floating overflow-actions-disabled>${Object.entries(c).map(([a, r]) => e`<calcite-action-group .label=${this.messages[a]}>${r.map((i) => e`<calcite-action scale=s .icon=${s[i]} .active=${i === this.layout ? !0 : void 0} @click=${() => void this.switchLayout(i)} .text=${t[l[i]]}></calcite-action>`)}</calcite-action-group>`)}</calcite-action-bar>`;
|
|
89
83
|
}
|
|
90
84
|
render() {
|
|
91
|
-
const { appearance: t } = this,
|
|
92
|
-
return e`<div class=${
|
|
85
|
+
const { appearance: t } = this, a = t === "menu-bar" ? this._renderMenuBar() : this._renderDropdown();
|
|
86
|
+
return e`<div class=${b(L.base)}>${a}</div>`;
|
|
93
87
|
}
|
|
94
88
|
}
|
|
95
|
-
|
|
89
|
+
n("arcgis-link-chart-layout-switcher", f);
|
|
96
90
|
export {
|
|
97
|
-
|
|
91
|
+
f as ArcgisLinkChartLayoutSwitcher
|
|
98
92
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-dropdown";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-
|
|
2
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-dropdown-group";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-dropdown-item";
|
|
5
5
|
import "@esri/calcite-components/components/calcite-action-bar";
|
|
6
6
|
import "@esri/calcite-components/components/calcite-action-group";
|
|
7
|
-
import "@esri/calcite-components/components/calcite-action";
|
|
8
7
|
export * from "./customElement.js";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-dropdown";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-
|
|
2
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-dropdown-group";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-dropdown-item";
|
|
5
5
|
import "@esri/calcite-components/components/calcite-action-bar";
|
|
6
6
|
import "@esri/calcite-components/components/calcite-action-group";
|
|
7
|
-
import "@esri/calcite-components/components/calcite-action";
|
|
8
7
|
export * from "./customElement.js";
|