@arcgis/map-components 4.32.0-next.1 → 4.32.0-next.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/arcgis-map-components/27GM6TMI.js +6 -0
- package/dist/arcgis-map-components/2QCUAEYR.js +6 -0
- package/dist/arcgis-map-components/2QNOIF3U.js +6 -0
- package/dist/arcgis-map-components/2V3FF3OU.js +6 -0
- package/dist/arcgis-map-components/33JP7447.js +6 -0
- package/dist/arcgis-map-components/3DSKXAXC.js +6 -0
- package/dist/arcgis-map-components/3GXNNJO6.js +6 -0
- package/dist/arcgis-map-components/3N74S77Y.js +6 -0
- package/dist/arcgis-map-components/3SPCVWDW.js +6 -0
- package/dist/arcgis-map-components/443N6XGY.js +6 -0
- package/dist/arcgis-map-components/4ONG4MQT.js +6 -0
- package/dist/arcgis-map-components/4TCWP63S.js +6 -0
- package/dist/arcgis-map-components/4UXCF4OM.js +6 -0
- package/dist/arcgis-map-components/5SEPUASD.js +6 -0
- package/dist/arcgis-map-components/5TUO2PJB.js +6 -0
- package/dist/arcgis-map-components/62KCQDGE.js +6 -0
- package/dist/arcgis-map-components/6QELDRLR.js +6 -0
- package/dist/arcgis-map-components/6V7GUT2B.js +8 -0
- package/dist/arcgis-map-components/727Y4EHZ.js +6 -0
- package/dist/arcgis-map-components/73XACXR7.js +6 -0
- package/dist/arcgis-map-components/7QAPWEN2.js +6 -0
- package/dist/arcgis-map-components/7R2QORO5.js +6 -0
- package/dist/arcgis-map-components/7T3FSXQW.js +6 -0
- package/dist/arcgis-map-components/ASAHKP4M.js +6 -0
- package/dist/arcgis-map-components/BECLJD75.js +6 -0
- package/dist/arcgis-map-components/BJV7COFA.js +6 -0
- package/dist/arcgis-map-components/BLKWSBBC.js +6 -0
- package/dist/arcgis-map-components/BLY2ABPE.js +6 -0
- package/dist/arcgis-map-components/C7QHC5XF.js +6 -0
- package/dist/arcgis-map-components/CJE6T4C4.js +6 -0
- package/dist/arcgis-map-components/CKYC5GML.js +6 -0
- package/dist/arcgis-map-components/CXXLK64M.js +6 -0
- package/dist/arcgis-map-components/E4A6DD7W.js +6 -0
- package/dist/arcgis-map-components/ED2X3KMJ.js +6 -0
- package/dist/arcgis-map-components/FLIQGWQE.js +6 -0
- package/dist/arcgis-map-components/GEEPX5R5.js +6 -0
- package/dist/arcgis-map-components/HI2KTAFJ.js +6 -0
- package/dist/arcgis-map-components/I2RWV7WW.js +6 -0
- package/dist/arcgis-map-components/ISHF2ZKS.js +6 -0
- package/dist/arcgis-map-components/ITCPQV4W.js +6 -0
- package/dist/arcgis-map-components/IUEFMVKN.js +6 -0
- package/dist/arcgis-map-components/J3HCS7H5.js +6 -0
- package/dist/arcgis-map-components/JL3UO3KO.js +6 -0
- package/dist/arcgis-map-components/JZVQISNS.js +6 -0
- package/dist/arcgis-map-components/LMTZHUBA.js +6 -0
- package/dist/arcgis-map-components/MXTMPFAC.js +6 -0
- package/dist/arcgis-map-components/N2XIIREH.js +6 -0
- package/dist/arcgis-map-components/NWPR6F5M.js +6 -0
- package/dist/arcgis-map-components/OXL7PTVB.js +6 -0
- package/dist/arcgis-map-components/P7RGEXXO.js +6 -0
- package/dist/arcgis-map-components/PQWYNCT6.js +6 -0
- package/dist/arcgis-map-components/Q3VEG4LZ.js +6 -0
- package/dist/arcgis-map-components/QXMZ555H.js +6 -0
- package/dist/arcgis-map-components/SNV65KM3.js +6 -0
- package/dist/arcgis-map-components/TL2O77FA.js +6 -0
- package/dist/arcgis-map-components/TPVWPS2P.js +6 -0
- package/dist/arcgis-map-components/TQXQLXXI.js +6 -0
- package/dist/arcgis-map-components/TVI3FCBK.js +6 -0
- package/dist/arcgis-map-components/TXCD4CDR.js +6 -0
- package/dist/arcgis-map-components/UF3GQO25.js +6 -0
- package/dist/arcgis-map-components/UMTYNFPZ.js +6 -0
- package/dist/arcgis-map-components/XAGDSS6M.js +6 -0
- package/dist/arcgis-map-components/XLLCOPOL.js +6 -0
- package/dist/arcgis-map-components/XYXKVL6L.js +6 -0
- package/dist/arcgis-map-components/YKPN7EV6.js +6 -0
- package/dist/arcgis-map-components/YOIY3V4Q.js +6 -0
- package/dist/arcgis-map-components/YORHXSHC.js +6 -0
- package/dist/arcgis-map-components/YXWDKDOD.js +6 -0
- package/dist/arcgis-map-components/ZAYVEXCC.js +6 -0
- package/dist/arcgis-map-components/ZNPPQB57.js +6 -0
- package/dist/arcgis-map-components/ZZVNYAFB.js +6 -0
- package/dist/arcgis-map-components/arcgis-map-components.css +1 -0
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +3 -3
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.ar.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.bg.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.bs.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.ca.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.cs.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.da.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.de.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.el.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.en.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.es.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.et.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.fi.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.fr.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.he.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.hr.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.hu.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.id.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.it.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.ja.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.ko.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.lt.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.lv.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.nb.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.nl.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.pl.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.pt-BR.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.pt-PT.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.ro.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.ru.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.sk.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.sl.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.sr.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.sv.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.th.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.tr.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.uk.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.vi.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.zh-CN.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.zh-HK.json +1 -4
- package/dist/arcgis-map-components/assets/basemap-toggle/t9n/basemap-toggle.t9n.zh-TW.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.ar.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.bg.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.bs.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.ca.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.cs.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.da.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.de.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.el.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.en.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.es.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.et.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.fi.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.fr.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.he.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.hr.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.hu.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.id.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.it.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.ja.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.ko.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.lt.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.lv.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.nb.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.nl.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.pl.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.pt-BR.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.pt-PT.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.ro.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.ru.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.sk.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.sl.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.sr.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.sv.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.th.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.tr.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.uk.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.vi.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.zh-CN.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.zh-HK.json +1 -4
- package/dist/arcgis-map-components/assets/compass/t9n/compass.t9n.zh-TW.json +1 -4
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.ar.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.bg.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.bs.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.ca.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.cs.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.da.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.de.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.el.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.en.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.es.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.et.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.fi.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.fr.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.he.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.hr.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.hu.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.id.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.it.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.ja.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.ko.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.lt.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.lv.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.nb.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.nl.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.pl.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.pt-BR.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.pt-PT.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.ro.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.ru.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.sk.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.sl.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.sr.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.sv.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.th.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.tr.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.uk.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.vi.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.zh-CN.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.zh-HK.json +1 -5
- package/dist/arcgis-map-components/assets/fullscreen/t9n/fullscreen.t9n.zh-TW.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.ar.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.bg.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.bs.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.ca.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.cs.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.da.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.de.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.el.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.en.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.es.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.et.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.fi.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.fr.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.he.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.home.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.hr.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.hu.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.id.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.it.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.ja.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.ko.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.lt.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.lv.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.nb.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.nl.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.pl.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.pt-BR.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.pt-PT.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.ro.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.ru.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.sk.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.sl.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.sr.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.sv.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.th.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.tr.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.uk.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.vi.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.zh-CN.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.zh-HK.json +1 -5
- package/dist/arcgis-map-components/assets/home/t9n/home.t9n.zh-TW.json +1 -5
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.ar.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.bg.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.bs.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.ca.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.cs.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.da.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.de.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.el.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.en.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.es.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.et.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.fi.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.fr.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.he.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.hr.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.hu.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.id.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.it.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.ja.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.ko.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.lt.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.lv.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.nb.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.nl.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.pl.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.pt-BR.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.pt-PT.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.ro.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.ru.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.sk.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.sl.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.sr.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.sv.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.th.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.tr.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.uk.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.vi.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.zh-CN.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.zh-HK.json +1 -17
- package/dist/arcgis-map-components/assets/locate/t9n/locate.t9n.zh-TW.json +1 -17
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.ar.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.bg.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.bs.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.ca.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.cs.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.da.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.de.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.el.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.en.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.es.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.et.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.fi.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.fr.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.he.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.hr.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.hu.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.id.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.it.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.ja.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.ko.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.lt.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.lv.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.nb.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.nl.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.pl.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.pt-BR.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.pt-PT.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.ro.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.ru.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.sk.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.sl.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.sr.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.sv.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.th.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.tr.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.uk.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.vi.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.zh-CN.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.zh-HK.json +1 -3
- package/dist/arcgis-map-components/assets/scale-bar/t9n/scale-bar.t9n.zh-TW.json +1 -3
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.ar.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.bg.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.bs.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.ca.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.cs.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.da.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.de.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.el.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.en.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.es.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.et.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.fi.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.fr.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.he.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.hr.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.hu.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.id.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.it.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.ja.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.ko.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.lt.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.lv.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.nb.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.nl.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.pl.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.pt-BR.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.pt-PT.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.ro.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.ru.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.sk.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.sl.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.sr.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.sv.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.th.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.tr.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.uk.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.vi.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.zh-CN.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.zh-HK.json +1 -8
- package/dist/arcgis-map-components/assets/track/t9n/track.t9n.zh-TW.json +1 -8
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.ar.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.bg.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.bs.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.ca.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.cs.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.da.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.de.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.el.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.en.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.es.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.et.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.fi.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.fr.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.he.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.hr.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.hu.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.id.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.it.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.ja.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.ko.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.lt.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.lv.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.nb.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.nl.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.pl.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.pt-BR.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.pt-PT.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.ro.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.ru.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.sk.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.sl.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.sr.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.sv.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.th.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.tr.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.uk.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.vi.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.zh-CN.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.zh-HK.json +1 -39
- package/dist/arcgis-map-components/assets/version-management/t9n/version-management.t9n.zh-TW.json +1 -39
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.ar.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.bg.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.bs.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.ca.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.cs.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.da.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.de.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.el.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.en.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.es.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.et.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.fi.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.fr.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.he.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.hr.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.hu.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.id.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.it.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.ja.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.ko.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.lt.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.lv.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.nb.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.nl.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.pl.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.pt-BR.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.pt-PT.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.ro.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.ru.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.sk.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.sl.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.sr.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.sv.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.th.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.tr.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.uk.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.vi.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.zh-CN.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.zh-HK.json +1 -5
- package/dist/arcgis-map-components/assets/zoom/t9n/zoom.t9n.zh-TW.json +1 -5
- package/dist/chunks/component-utils.js +132 -0
- package/dist/chunks/disconnected.js +18 -0
- package/dist/chunks/globalCss.js +51 -0
- package/dist/chunks/index.js +728 -0
- package/dist/chunks/runtime.js +13 -0
- package/dist/chunks/useViewModel.js +70 -0
- package/dist/chunks/useWidget.js +120 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +62 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +35 -0
- package/dist/components/arcgis-area-measurement-2d/index.d.ts +1 -0
- package/dist/components/arcgis-area-measurement-2d/index.js +1 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +61 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.js +38 -0
- package/dist/components/arcgis-area-measurement-3d/index.d.ts +1 -0
- package/dist/components/arcgis-area-measurement-3d/index.js +1 -0
- package/dist/components/arcgis-attachments/customElement.d.ts +68 -0
- package/dist/components/arcgis-attachments/customElement.js +32 -0
- package/dist/components/arcgis-attachments/index.d.ts +1 -0
- package/dist/components/arcgis-attachments/index.js +1 -0
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +60 -0
- package/dist/components/arcgis-basemap-gallery/customElement.js +32 -0
- package/dist/components/arcgis-basemap-gallery/index.d.ts +1 -0
- package/dist/components/arcgis-basemap-gallery/index.js +1 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +89 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +45 -0
- package/dist/components/arcgis-basemap-layer-list/index.d.ts +1 -0
- package/dist/components/arcgis-basemap-layer-list/index.js +1 -0
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +69 -0
- package/dist/components/arcgis-basemap-toggle/customElement.js +62 -0
- package/dist/components/arcgis-basemap-toggle/index.d.ts +4 -0
- package/dist/components/arcgis-basemap-toggle/index.js +4 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +74 -0
- package/dist/components/arcgis-bookmarks/customElement.js +33 -0
- package/dist/components/arcgis-bookmarks/index.d.ts +1 -0
- package/dist/components/arcgis-bookmarks/index.js +1 -0
- package/dist/components/arcgis-building-explorer/customElement.d.ts +63 -0
- package/dist/components/arcgis-building-explorer/customElement.js +32 -0
- package/dist/components/arcgis-building-explorer/index.d.ts +1 -0
- package/dist/components/arcgis-building-explorer/index.js +1 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +77 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +37 -0
- package/dist/components/arcgis-catalog-layer-list/index.d.ts +1 -0
- package/dist/components/arcgis-catalog-layer-list/index.js +1 -0
- package/dist/components/arcgis-compass/customElement.d.ts +58 -0
- package/dist/components/arcgis-compass/customElement.js +57 -0
- package/dist/components/arcgis-compass/index.d.ts +3 -0
- package/dist/components/arcgis-compass/index.js +3 -0
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +78 -0
- package/dist/components/arcgis-coordinate-conversion/customElement.js +35 -0
- package/dist/components/arcgis-coordinate-conversion/index.d.ts +1 -0
- package/dist/components/arcgis-coordinate-conversion/index.js +1 -0
- package/dist/components/arcgis-daylight/customElement.d.ts +65 -0
- package/dist/components/arcgis-daylight/customElement.js +31 -0
- package/dist/components/arcgis-daylight/index.d.ts +1 -0
- package/dist/components/arcgis-daylight/index.js +1 -0
- package/dist/components/arcgis-directional-pad/customElement.d.ts +58 -0
- package/dist/components/arcgis-directional-pad/customElement.js +32 -0
- package/dist/components/arcgis-directional-pad/index.d.ts +1 -0
- package/dist/components/arcgis-directional-pad/index.js +1 -0
- package/dist/components/arcgis-directions/customElement.d.ts +75 -0
- package/dist/components/arcgis-directions/customElement.js +76 -0
- package/dist/components/arcgis-directions/index.d.ts +1 -0
- package/dist/components/arcgis-directions/index.js +1 -0
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +61 -0
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +38 -0
- package/dist/components/arcgis-directline-measurement-3d/index.d.ts +1 -0
- package/dist/components/arcgis-directline-measurement-3d/index.js +1 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +65 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +32 -0
- package/dist/components/arcgis-distance-measurement-2d/index.d.ts +1 -0
- package/dist/components/arcgis-distance-measurement-2d/index.js +1 -0
- package/dist/components/arcgis-editor/customElement.d.ts +80 -0
- package/dist/components/arcgis-editor/customElement.js +53 -0
- package/dist/components/arcgis-editor/index.d.ts +1 -0
- package/dist/components/arcgis-editor/index.js +1 -0
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +75 -0
- package/dist/components/arcgis-elevation-profile/customElement.js +38 -0
- package/dist/components/arcgis-elevation-profile/index.d.ts +1 -0
- package/dist/components/arcgis-elevation-profile/index.js +1 -0
- package/dist/components/arcgis-expand/customElement.d.ts +69 -0
- package/dist/components/arcgis-expand/customElement.js +46 -0
- package/dist/components/arcgis-expand/index.d.ts +1 -0
- package/dist/components/arcgis-expand/index.js +1 -0
- package/dist/components/arcgis-feature/customElement.d.ts +72 -0
- package/dist/components/arcgis-feature/customElement.js +41 -0
- package/dist/components/arcgis-feature/index.d.ts +1 -0
- package/dist/components/arcgis-feature/index.js +1 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +66 -0
- package/dist/components/arcgis-feature-form/customElement.js +39 -0
- package/dist/components/arcgis-feature-form/index.d.ts +1 -0
- package/dist/components/arcgis-feature-form/index.js +1 -0
- package/dist/components/arcgis-feature-table/customElement.d.ts +205 -0
- package/dist/components/arcgis-feature-table/customElement.js +113 -0
- package/dist/components/arcgis-feature-table/index.d.ts +1 -0
- package/dist/components/arcgis-feature-table/index.js +1 -0
- package/dist/components/arcgis-feature-templates/customElement.d.ts +65 -0
- package/dist/components/arcgis-feature-templates/customElement.js +33 -0
- package/dist/components/arcgis-feature-templates/index.d.ts +1 -0
- package/dist/components/arcgis-feature-templates/index.js +1 -0
- package/dist/components/arcgis-features/customElement.d.ts +88 -0
- package/dist/components/arcgis-features/customElement.js +54 -0
- package/dist/components/arcgis-features/index.d.ts +1 -0
- package/dist/components/arcgis-features/index.js +1 -0
- package/dist/components/arcgis-floor-filter/customElement.d.ts +58 -0
- package/dist/components/arcgis-floor-filter/customElement.js +34 -0
- package/dist/components/arcgis-floor-filter/index.d.ts +1 -0
- package/dist/components/arcgis-floor-filter/index.js +1 -0
- package/dist/components/arcgis-fullscreen/customElement.d.ts +60 -0
- package/dist/components/arcgis-fullscreen/customElement.js +53 -0
- package/dist/components/arcgis-fullscreen/index.d.ts +2 -0
- package/dist/components/arcgis-fullscreen/index.js +2 -0
- package/dist/components/arcgis-histogram/customElement.d.ts +65 -0
- package/dist/components/arcgis-histogram/customElement.js +32 -0
- package/dist/components/arcgis-histogram/index.d.ts +1 -0
- package/dist/components/arcgis-histogram/index.js +1 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +80 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.js +39 -0
- package/dist/components/arcgis-histogram-range-slider/index.d.ts +1 -0
- package/dist/components/arcgis-histogram-range-slider/index.js +1 -0
- package/dist/components/arcgis-home/customElement.d.ts +115 -0
- package/dist/components/arcgis-home/customElement.js +1563 -0
- package/dist/components/arcgis-home/index.d.ts +2 -0
- package/dist/components/arcgis-home/index.js +2 -0
- package/dist/components/arcgis-layer-list/customElement.d.ts +87 -0
- package/dist/components/arcgis-layer-list/customElement.js +48 -0
- package/dist/components/arcgis-layer-list/index.d.ts +1 -0
- package/dist/components/arcgis-layer-list/index.js +1 -0
- package/dist/components/arcgis-legend/customElement.d.ts +64 -0
- package/dist/components/arcgis-legend/customElement.js +32 -0
- package/dist/components/arcgis-legend/index.d.ts +1 -0
- package/dist/components/arcgis-legend/index.js +1 -0
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +61 -0
- package/dist/components/arcgis-line-of-sight/customElement.js +44 -0
- package/dist/components/arcgis-line-of-sight/index.d.ts +1 -0
- package/dist/components/arcgis-line-of-sight/index.js +1 -0
- package/dist/components/arcgis-locate/customElement.d.ts +70 -0
- package/dist/components/arcgis-locate/customElement.js +183 -0
- package/dist/components/arcgis-locate/index.d.ts +3 -0
- package/dist/components/arcgis-locate/index.js +3 -0
- package/dist/components/arcgis-map/customElement.d.ts +301 -0
- package/dist/components/arcgis-map/customElement.js +212 -0
- package/dist/components/arcgis-map/index.d.ts +1 -0
- package/dist/components/arcgis-map/index.js +1 -0
- package/dist/components/arcgis-measurement/customElement.d.ts +62 -0
- package/dist/components/arcgis-measurement/customElement.js +38 -0
- package/dist/components/arcgis-measurement/index.d.ts +1 -0
- package/dist/components/arcgis-measurement/index.js +1 -0
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +58 -0
- package/dist/components/arcgis-navigation-toggle/customElement.js +35 -0
- package/dist/components/arcgis-navigation-toggle/index.d.ts +1 -0
- package/dist/components/arcgis-navigation-toggle/index.js +1 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +70 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +51 -0
- package/dist/components/arcgis-oriented-imagery-viewer/index.d.ts +1 -0
- package/dist/components/arcgis-oriented-imagery-viewer/index.js +1 -0
- package/dist/components/arcgis-placement/customElement.d.ts +11 -0
- package/dist/components/arcgis-placement/customElement.js +58 -0
- package/dist/components/arcgis-placement/index.d.ts +1 -0
- package/dist/components/arcgis-placement/index.js +1 -0
- package/dist/components/arcgis-print/customElement.d.ts +69 -0
- package/dist/components/arcgis-print/customElement.js +33 -0
- package/dist/components/arcgis-print/index.d.ts +1 -0
- package/dist/components/arcgis-print/index.js +1 -0
- package/dist/components/arcgis-scale-bar/customElement.d.ts +70 -0
- package/dist/components/arcgis-scale-bar/customElement.js +130 -0
- package/dist/components/arcgis-scale-bar/index.d.ts +1 -0
- package/dist/components/arcgis-scale-bar/index.js +1 -0
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +67 -0
- package/dist/components/arcgis-scale-range-slider/customElement.js +32 -0
- package/dist/components/arcgis-scale-range-slider/index.d.ts +1 -0
- package/dist/components/arcgis-scale-range-slider/index.js +1 -0
- package/dist/components/arcgis-scene/customElement.d.ts +303 -0
- package/dist/components/arcgis-scene/customElement.js +283 -0
- package/dist/components/arcgis-scene/index.d.ts +1 -0
- package/dist/components/arcgis-scene/index.js +1 -0
- package/dist/components/arcgis-search/customElement.d.ts +94 -0
- package/dist/components/arcgis-search/customElement.js +48 -0
- package/dist/components/arcgis-search/index.d.ts +1 -0
- package/dist/components/arcgis-search/index.js +1 -0
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +73 -0
- package/dist/components/arcgis-shadow-cast/customElement.js +41 -0
- package/dist/components/arcgis-shadow-cast/index.d.ts +1 -0
- package/dist/components/arcgis-shadow-cast/index.js +1 -0
- package/dist/components/arcgis-sketch/customElement.d.ts +107 -0
- package/dist/components/arcgis-sketch/customElement.js +69 -0
- package/dist/components/arcgis-sketch/index.d.ts +1 -0
- package/dist/components/arcgis-sketch/index.js +1 -0
- package/dist/components/arcgis-slice/customElement.d.ts +64 -0
- package/dist/components/arcgis-slice/customElement.js +38 -0
- package/dist/components/arcgis-slice/index.d.ts +1 -0
- package/dist/components/arcgis-slice/index.js +1 -0
- package/dist/components/arcgis-slider/customElement.d.ts +91 -0
- package/dist/components/arcgis-slider/customElement.js +37 -0
- package/dist/components/arcgis-slider/index.d.ts +1 -0
- package/dist/components/arcgis-slider/index.js +1 -0
- package/dist/components/arcgis-swipe/customElement.d.ts +65 -0
- package/dist/components/arcgis-swipe/customElement.js +32 -0
- package/dist/components/arcgis-swipe/index.d.ts +1 -0
- package/dist/components/arcgis-swipe/index.js +1 -0
- package/dist/components/arcgis-table-list/customElement.d.ts +76 -0
- package/dist/components/arcgis-table-list/customElement.js +37 -0
- package/dist/components/arcgis-table-list/index.d.ts +1 -0
- package/dist/components/arcgis-table-list/index.js +1 -0
- package/dist/components/arcgis-time-slider/customElement.d.ts +76 -0
- package/dist/components/arcgis-time-slider/customElement.js +51 -0
- package/dist/components/arcgis-time-slider/index.d.ts +1 -0
- package/dist/components/arcgis-time-slider/index.js +1 -0
- package/dist/components/arcgis-track/customElement.d.ts +75 -0
- package/dist/components/arcgis-track/customElement.js +70 -0
- package/dist/components/arcgis-track/index.d.ts +3 -0
- package/dist/components/arcgis-track/index.js +3 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +48 -0
- package/dist/components/arcgis-utility-network-associations/customElement.js +222 -0
- package/dist/components/arcgis-utility-network-associations/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-associations/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +43 -0
- package/dist/components/arcgis-utility-network-trace/customElement.js +115 -0
- package/dist/components/arcgis-utility-network-trace/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace/index.js +1 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +27 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +75 -0
- package/dist/components/arcgis-utility-network-validate-topology/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-validate-topology/index.js +1 -0
- package/dist/components/arcgis-value-picker/customElement.d.ts +83 -0
- package/dist/components/arcgis-value-picker/customElement.js +45 -0
- package/dist/components/arcgis-value-picker/index.d.ts +1 -0
- package/dist/components/arcgis-value-picker/index.js +1 -0
- package/dist/components/arcgis-version-management/customElement.d.ts +69 -0
- package/dist/components/arcgis-version-management/customElement.js +221 -0
- package/dist/components/arcgis-version-management/index.d.ts +6 -0
- package/dist/components/arcgis-version-management/index.js +6 -0
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +37 -0
- package/dist/components/arcgis-version-management-service-item/customElement.js +75 -0
- package/dist/components/arcgis-version-management-service-item/index.d.ts +6 -0
- package/dist/components/arcgis-version-management-service-item/index.js +6 -0
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +21 -0
- package/dist/components/arcgis-version-management-version-item/customElement.js +37 -0
- package/dist/components/arcgis-version-management-version-item/index.d.ts +5 -0
- package/dist/components/arcgis-version-management-version-item/index.js +5 -0
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +36 -0
- package/dist/components/arcgis-version-management-version-list/customElement.js +93 -0
- package/dist/components/arcgis-version-management-version-list/index.d.ts +12 -0
- package/dist/components/arcgis-version-management-version-list/index.js +12 -0
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +25 -0
- package/dist/components/arcgis-version-management-version-properties/customElement.js +94 -0
- package/dist/components/arcgis-version-management-version-properties/index.d.ts +11 -0
- package/dist/components/arcgis-version-management-version-properties/index.js +11 -0
- package/dist/components/arcgis-weather/customElement.d.ts +58 -0
- package/dist/components/arcgis-weather/customElement.js +32 -0
- package/dist/components/arcgis-weather/index.d.ts +1 -0
- package/dist/components/arcgis-weather/index.js +1 -0
- package/dist/components/arcgis-zoom/customElement.d.ts +66 -0
- package/dist/components/arcgis-zoom/customElement.js +58 -0
- package/dist/components/arcgis-zoom/index.d.ts +2 -0
- package/dist/components/arcgis-zoom/index.js +2 -0
- package/dist/components/types.d.ts +5 -0
- package/dist/controllers/Handles.d.ts +109 -0
- package/dist/controllers/useHandles.d.ts +104 -0
- package/dist/controllers/useT9n.d.ts +1 -0
- package/dist/controllers/useViewModel.d.ts +81 -0
- package/dist/controllers/useWidget.d.ts +97 -0
- package/dist/docs/docs.json +41916 -0
- package/dist/docs/manifest.json +52495 -0
- package/dist/docs/vscode.css-custom-data.json +6 -0
- package/dist/docs/vscode.html-custom-data.json +7756 -0
- package/dist/docs/web-types.json +14902 -0
- package/dist/index.d.ts +1280 -0
- package/dist/index.js +10 -1
- package/dist/loader.d.ts +2 -0
- package/dist/loader.js +74 -0
- package/dist/runtime.d.ts +6 -0
- package/dist/types/components.d.ts +3 -8437
- package/dist/types/lumina.d.ts +542 -0
- package/dist/types/preact.d.ts +599 -0
- package/dist/types/react.d.ts +731 -0
- package/dist/types/stencil.d.ts +542 -0
- package/dist/utils/component-utils.d.ts +68 -0
- package/dist/utils/disconnected.d.ts +3 -0
- package/dist/utils/mapping-utils.d.ts +3 -0
- package/dist/utils/screen-utils.d.ts +3 -0
- package/package.json +58 -30
- package/dist/arcgis-map-components/index.esm.js +0 -5
- package/dist/arcgis-map-components/p-03604a4b.entry.js +0 -6
- package/dist/arcgis-map-components/p-037b8697.entry.js +0 -6
- package/dist/arcgis-map-components/p-0f00040a.entry.js +0 -6
- package/dist/arcgis-map-components/p-109622b7.js +0 -6
- package/dist/arcgis-map-components/p-12fad1ef.js +0 -6
- package/dist/arcgis-map-components/p-1b784f59.entry.js +0 -6
- package/dist/arcgis-map-components/p-1c457689.entry.js +0 -6
- package/dist/arcgis-map-components/p-1d072461.entry.js +0 -6
- package/dist/arcgis-map-components/p-23dfa2aa.entry.js +0 -6
- package/dist/arcgis-map-components/p-33bf16a8.entry.js +0 -6
- package/dist/arcgis-map-components/p-34075ffa.entry.js +0 -6
- package/dist/arcgis-map-components/p-345fe371.entry.js +0 -6
- package/dist/arcgis-map-components/p-35a7a344.entry.js +0 -6
- package/dist/arcgis-map-components/p-37d90da9.entry.js +0 -6
- package/dist/arcgis-map-components/p-38828a4b.entry.js +0 -6
- package/dist/arcgis-map-components/p-3e177484.entry.js +0 -6
- package/dist/arcgis-map-components/p-4217d4ae.entry.js +0 -6
- package/dist/arcgis-map-components/p-45c24534.entry.js +0 -6
- package/dist/arcgis-map-components/p-494c087e.entry.js +0 -6
- package/dist/arcgis-map-components/p-51cbd917.js +0 -7
- package/dist/arcgis-map-components/p-533c23a8.entry.js +0 -6
- package/dist/arcgis-map-components/p-55bfac1a.entry.js +0 -6
- package/dist/arcgis-map-components/p-58be3da6.js +0 -6
- package/dist/arcgis-map-components/p-612d25b2.entry.js +0 -6
- package/dist/arcgis-map-components/p-6272f2fb.entry.js +0 -6
- package/dist/arcgis-map-components/p-6b973c50.entry.js +0 -6
- package/dist/arcgis-map-components/p-71481614.js +0 -6
- package/dist/arcgis-map-components/p-7333a3c4.entry.js +0 -6
- package/dist/arcgis-map-components/p-7359c5ef.entry.js +0 -6
- package/dist/arcgis-map-components/p-75616e4c.js +0 -6
- package/dist/arcgis-map-components/p-787a49fb.entry.js +0 -6
- package/dist/arcgis-map-components/p-79188c1a.entry.js +0 -6
- package/dist/arcgis-map-components/p-7aa11843.entry.js +0 -6
- package/dist/arcgis-map-components/p-7fc5dd14.entry.js +0 -6
- package/dist/arcgis-map-components/p-85624626.entry.js +0 -6
- package/dist/arcgis-map-components/p-911c3148.entry.js +0 -6
- package/dist/arcgis-map-components/p-94bcf165.entry.js +0 -6
- package/dist/arcgis-map-components/p-975505cb.entry.js +0 -6
- package/dist/arcgis-map-components/p-9dcacc74.entry.js +0 -6
- package/dist/arcgis-map-components/p-9fde0411.entry.js +0 -6
- package/dist/arcgis-map-components/p-a5d2b31c.js +0 -6
- package/dist/arcgis-map-components/p-a60152b2.entry.js +0 -6
- package/dist/arcgis-map-components/p-af950f1a.entry.js +0 -6
- package/dist/arcgis-map-components/p-b0826037.entry.js +0 -6
- package/dist/arcgis-map-components/p-b4688884.entry.js +0 -6
- package/dist/arcgis-map-components/p-b9ac1c88.entry.js +0 -6
- package/dist/arcgis-map-components/p-be3eafef.entry.js +0 -6
- package/dist/arcgis-map-components/p-c18ca689.entry.js +0 -6
- package/dist/arcgis-map-components/p-c4dc8ee5.entry.js +0 -6
- package/dist/arcgis-map-components/p-c63ac346.js +0 -6
- package/dist/arcgis-map-components/p-c7d345e0.entry.js +0 -6
- package/dist/arcgis-map-components/p-c818aa0e.entry.js +0 -6
- package/dist/arcgis-map-components/p-c84665f8.entry.js +0 -6
- package/dist/arcgis-map-components/p-c9fea559.entry.js +0 -6
- package/dist/arcgis-map-components/p-cbb89767.js +0 -6
- package/dist/arcgis-map-components/p-cdd73436.entry.js +0 -6
- package/dist/arcgis-map-components/p-cefed1fd.entry.js +0 -6
- package/dist/arcgis-map-components/p-d267b5b4.entry.js +0 -6
- package/dist/arcgis-map-components/p-d31def96.entry.js +0 -6
- package/dist/arcgis-map-components/p-d98e91df.entry.js +0 -6
- package/dist/arcgis-map-components/p-da75728b.entry.js +0 -6
- package/dist/arcgis-map-components/p-e0ef8f23.entry.js +0 -6
- package/dist/arcgis-map-components/p-e0efea5b.entry.js +0 -6
- package/dist/arcgis-map-components/p-e2c42f2b.entry.js +0 -6
- package/dist/arcgis-map-components/p-e617be84.entry.js +0 -6
- package/dist/arcgis-map-components/p-ef1c941b.entry.js +0 -6
- package/dist/arcgis-map-components/p-f018a865.entry.js +0 -6
- package/dist/arcgis-map-components/p-f34e4651.entry.js +0 -6
- package/dist/arcgis-map-components/p-fad10fcc.js +0 -6
- package/dist/cjs/app-globals-f2405bb9.js +0 -10
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +0 -54
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +0 -59
- package/dist/cjs/arcgis-attachments.cjs.entry.js +0 -62
- package/dist/cjs/arcgis-basemap-gallery.cjs.entry.js +0 -54
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +0 -89
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +0 -110
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +0 -68
- package/dist/cjs/arcgis-building-explorer_2.cjs.entry.js +0 -463
- package/dist/cjs/arcgis-catalog-layer-list.cjs.entry.js +0 -73
- package/dist/cjs/arcgis-compass.cjs.entry.js +0 -85
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +0 -67
- package/dist/cjs/arcgis-daylight.cjs.entry.js +0 -59
- package/dist/cjs/arcgis-directional-pad.cjs.entry.js +0 -52
- package/dist/cjs/arcgis-directions.cjs.entry.js +0 -136
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +0 -59
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +0 -52
- package/dist/cjs/arcgis-editor.cjs.entry.js +0 -88
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +0 -73
- package/dist/cjs/arcgis-expand.cjs.entry.js +0 -78
- package/dist/cjs/arcgis-feature-form.cjs.entry.js +0 -64
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +0 -246
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js +0 -59
- package/dist/cjs/arcgis-feature.cjs.entry.js +0 -72
- package/dist/cjs/arcgis-features.cjs.entry.js +0 -96
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js +0 -54
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js +0 -81
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +0 -72
- package/dist/cjs/arcgis-histogram.cjs.entry.js +0 -59
- package/dist/cjs/arcgis-home.cjs.entry.js +0 -101
- package/dist/cjs/arcgis-layer-list.cjs.entry.js +0 -92
- package/dist/cjs/arcgis-legend.cjs.entry.js +0 -53
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +0 -63
- package/dist/cjs/arcgis-locate.cjs.entry.js +0 -222
- package/dist/cjs/arcgis-map-components.cjs.js +0 -30
- package/dist/cjs/arcgis-map.cjs.entry.js +0 -314
- package/dist/cjs/arcgis-measurement.cjs.entry.js +0 -60
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +0 -54
- package/dist/cjs/arcgis-oriented-imagery-viewer.cjs.entry.js +0 -102
- package/dist/cjs/arcgis-placement.cjs.entry.js +0 -59
- package/dist/cjs/arcgis-print.cjs.entry.js +0 -67
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js +0 -181
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +0 -63
- package/dist/cjs/arcgis-search.cjs.entry.js +0 -98
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +0 -73
- package/dist/cjs/arcgis-sketch.cjs.entry.js +0 -131
- package/dist/cjs/arcgis-slice.cjs.entry.js +0 -62
- package/dist/cjs/arcgis-slider.cjs.entry.js +0 -89
- package/dist/cjs/arcgis-swipe.cjs.entry.js +0 -55
- package/dist/cjs/arcgis-table-list.cjs.entry.js +0 -72
- package/dist/cjs/arcgis-time-slider.cjs.entry.js +0 -82
- package/dist/cjs/arcgis-track.cjs.entry.js +0 -122
- package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +0 -363
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +0 -225
- package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +0 -110
- package/dist/cjs/arcgis-value-picker.cjs.entry.js +0 -77
- package/dist/cjs/arcgis-version-management-service-item_2.cjs.entry.js +0 -252
- package/dist/cjs/arcgis-version-management-version-item_2.cjs.entry.js +0 -152
- package/dist/cjs/arcgis-version-management.cjs.entry.js +0 -321
- package/dist/cjs/arcgis-weather.cjs.entry.js +0 -52
- package/dist/cjs/arcgis-zoom.cjs.entry.js +0 -91
- package/dist/cjs/component-utils-745e45f1.js +0 -307
- package/dist/cjs/disconnected-39c6db1e.js +0 -50
- package/dist/cjs/globalCss-39371f66.js +0 -52
- package/dist/cjs/index-7afc8bdb.js +0 -1465
- package/dist/cjs/index-93401d08.js +0 -1905
- package/dist/cjs/index-dfe41475.js +0 -141
- package/dist/cjs/index-e1fdc7fa.js +0 -1129
- package/dist/cjs/index.cjs.js +0 -7
- package/dist/cjs/loader.cjs.js +0 -20
- package/dist/cjs/useViewModel-60f6d1bd.js +0 -124
- package/dist/cjs/useWidget-41c772e8.js +0 -235
- package/dist/components/arcgis-area-measurement-2d.d.ts +0 -11
- package/dist/components/arcgis-area-measurement-2d.js +0 -71
- package/dist/components/arcgis-area-measurement-3d.d.ts +0 -11
- package/dist/components/arcgis-area-measurement-3d.js +0 -76
- package/dist/components/arcgis-assets.d.ts +0 -35
- package/dist/components/arcgis-assets.js +0 -12
- package/dist/components/arcgis-attachments.d.ts +0 -11
- package/dist/components/arcgis-attachments.js +0 -79
- package/dist/components/arcgis-basemap-gallery.d.ts +0 -11
- package/dist/components/arcgis-basemap-gallery.js +0 -71
- package/dist/components/arcgis-basemap-layer-list.d.ts +0 -11
- package/dist/components/arcgis-basemap-layer-list.js +0 -106
- package/dist/components/arcgis-basemap-toggle.d.ts +0 -11
- package/dist/components/arcgis-basemap-toggle.js +0 -130
- package/dist/components/arcgis-bookmarks.d.ts +0 -11
- package/dist/components/arcgis-bookmarks.js +0 -85
- package/dist/components/arcgis-building-explorer.d.ts +0 -11
- package/dist/components/arcgis-building-explorer.js +0 -74
- package/dist/components/arcgis-catalog-layer-list.d.ts +0 -11
- package/dist/components/arcgis-catalog-layer-list.js +0 -90
- package/dist/components/arcgis-compass.d.ts +0 -11
- package/dist/components/arcgis-compass.js +0 -104
- package/dist/components/arcgis-coordinate-conversion.d.ts +0 -11
- package/dist/components/arcgis-coordinate-conversion.js +0 -84
- package/dist/components/arcgis-daylight.d.ts +0 -11
- package/dist/components/arcgis-daylight.js +0 -76
- package/dist/components/arcgis-directional-pad.d.ts +0 -11
- package/dist/components/arcgis-directional-pad.js +0 -69
- package/dist/components/arcgis-directions.d.ts +0 -11
- package/dist/components/arcgis-directions.js +0 -154
- package/dist/components/arcgis-directline-measurement-3d.d.ts +0 -11
- package/dist/components/arcgis-directline-measurement-3d.js +0 -76
- package/dist/components/arcgis-distance-measurement-2d.d.ts +0 -11
- package/dist/components/arcgis-distance-measurement-2d.js +0 -69
- package/dist/components/arcgis-editor.d.ts +0 -11
- package/dist/components/arcgis-editor.js +0 -105
- package/dist/components/arcgis-elevation-profile.d.ts +0 -11
- package/dist/components/arcgis-elevation-profile.js +0 -90
- package/dist/components/arcgis-expand.d.ts +0 -11
- package/dist/components/arcgis-expand.js +0 -95
- package/dist/components/arcgis-feature-form.d.ts +0 -11
- package/dist/components/arcgis-feature-form.js +0 -81
- package/dist/components/arcgis-feature-table.d.ts +0 -11
- package/dist/components/arcgis-feature-table.js +0 -264
- package/dist/components/arcgis-feature-templates.d.ts +0 -11
- package/dist/components/arcgis-feature-templates.js +0 -76
- package/dist/components/arcgis-feature.d.ts +0 -11
- package/dist/components/arcgis-feature.js +0 -89
- package/dist/components/arcgis-features.d.ts +0 -11
- package/dist/components/arcgis-features.js +0 -113
- package/dist/components/arcgis-floor-filter.d.ts +0 -11
- package/dist/components/arcgis-floor-filter.js +0 -71
- package/dist/components/arcgis-fullscreen.d.ts +0 -11
- package/dist/components/arcgis-fullscreen.js +0 -99
- package/dist/components/arcgis-histogram-range-slider.d.ts +0 -11
- package/dist/components/arcgis-histogram-range-slider.js +0 -89
- package/dist/components/arcgis-histogram.d.ts +0 -11
- package/dist/components/arcgis-histogram.js +0 -76
- package/dist/components/arcgis-home.d.ts +0 -11
- package/dist/components/arcgis-home.js +0 -120
- package/dist/components/arcgis-layer-list.d.ts +0 -11
- package/dist/components/arcgis-layer-list.js +0 -109
- package/dist/components/arcgis-legend.d.ts +0 -11
- package/dist/components/arcgis-legend.js +0 -70
- package/dist/components/arcgis-line-of-sight.d.ts +0 -11
- package/dist/components/arcgis-line-of-sight.js +0 -80
- package/dist/components/arcgis-locate.d.ts +0 -11
- package/dist/components/arcgis-locate.js +0 -242
- package/dist/components/arcgis-map.d.ts +0 -11
- package/dist/components/arcgis-map.js +0 -332
- package/dist/components/arcgis-measurement.d.ts +0 -11
- package/dist/components/arcgis-measurement.js +0 -77
- package/dist/components/arcgis-navigation-toggle.d.ts +0 -11
- package/dist/components/arcgis-navigation-toggle.js +0 -71
- package/dist/components/arcgis-oriented-imagery-viewer.d.ts +0 -11
- package/dist/components/arcgis-oriented-imagery-viewer.js +0 -119
- package/dist/components/arcgis-placement.d.ts +0 -11
- package/dist/components/arcgis-placement.js +0 -79
- package/dist/components/arcgis-print.d.ts +0 -11
- package/dist/components/arcgis-print.js +0 -84
- package/dist/components/arcgis-scale-bar.d.ts +0 -11
- package/dist/components/arcgis-scale-bar.js +0 -198
- package/dist/components/arcgis-scale-range-slider.d.ts +0 -11
- package/dist/components/arcgis-scale-range-slider.js +0 -80
- package/dist/components/arcgis-scene.d.ts +0 -11
- package/dist/components/arcgis-scene.js +0 -439
- package/dist/components/arcgis-search.d.ts +0 -11
- package/dist/components/arcgis-search.js +0 -115
- package/dist/components/arcgis-shadow-cast.d.ts +0 -11
- package/dist/components/arcgis-shadow-cast.js +0 -90
- package/dist/components/arcgis-sketch.d.ts +0 -11
- package/dist/components/arcgis-sketch.js +0 -148
- package/dist/components/arcgis-slice.d.ts +0 -11
- package/dist/components/arcgis-slice.js +0 -79
- package/dist/components/arcgis-slider.d.ts +0 -11
- package/dist/components/arcgis-slider.js +0 -106
- package/dist/components/arcgis-swipe.d.ts +0 -11
- package/dist/components/arcgis-swipe.js +0 -72
- package/dist/components/arcgis-table-list.d.ts +0 -11
- package/dist/components/arcgis-table-list.js +0 -89
- package/dist/components/arcgis-time-slider.d.ts +0 -11
- package/dist/components/arcgis-time-slider.js +0 -99
- package/dist/components/arcgis-track.d.ts +0 -11
- package/dist/components/arcgis-track.js +0 -141
- package/dist/components/arcgis-utility-network-associations.d.ts +0 -11
- package/dist/components/arcgis-utility-network-associations.js +0 -432
- package/dist/components/arcgis-utility-network-trace.d.ts +0 -11
- package/dist/components/arcgis-utility-network-trace.js +0 -272
- package/dist/components/arcgis-utility-network-validate-topology.d.ts +0 -11
- package/dist/components/arcgis-utility-network-validate-topology.js +0 -137
- package/dist/components/arcgis-value-picker.d.ts +0 -11
- package/dist/components/arcgis-value-picker.js +0 -94
- package/dist/components/arcgis-version-management-service-item.d.ts +0 -11
- package/dist/components/arcgis-version-management-service-item.js +0 -11
- package/dist/components/arcgis-version-management-version-item.d.ts +0 -11
- package/dist/components/arcgis-version-management-version-item.js +0 -11
- package/dist/components/arcgis-version-management-version-list.d.ts +0 -11
- package/dist/components/arcgis-version-management-version-list.js +0 -11
- package/dist/components/arcgis-version-management-version-properties.d.ts +0 -11
- package/dist/components/arcgis-version-management-version-properties.js +0 -11
- package/dist/components/arcgis-version-management.d.ts +0 -11
- package/dist/components/arcgis-version-management.js +0 -366
- package/dist/components/arcgis-weather.d.ts +0 -11
- package/dist/components/arcgis-weather.js +0 -69
- package/dist/components/arcgis-zoom.d.ts +0 -11
- package/dist/components/arcgis-zoom.js +0 -109
- package/dist/components/component-utils.js +0 -296
- package/dist/components/disconnected.js +0 -48
- package/dist/components/globalCss.js +0 -50
- package/dist/components/index.d.ts +0 -18
- package/dist/components/index.js +0 -7
- package/dist/components/index2.js +0 -1030
- package/dist/components/index3.js +0 -137
- package/dist/components/index4.js +0 -1453
- package/dist/components/useViewModel.js +0 -121
- package/dist/components/useWidget.js +0 -233
- package/dist/components/version-management-service-item.js +0 -138
- package/dist/components/version-management-version-item.js +0 -59
- package/dist/components/version-management-version-list.js +0 -154
- package/dist/components/version-management-version-properties.js +0 -178
- package/dist/esm/app-globals-94d7a32e.js +0 -8
- package/dist/esm/arcgis-area-measurement-2d.entry.js +0 -50
- package/dist/esm/arcgis-area-measurement-3d.entry.js +0 -55
- package/dist/esm/arcgis-attachments.entry.js +0 -58
- package/dist/esm/arcgis-basemap-gallery.entry.js +0 -50
- package/dist/esm/arcgis-basemap-layer-list.entry.js +0 -85
- package/dist/esm/arcgis-basemap-toggle.entry.js +0 -106
- package/dist/esm/arcgis-bookmarks.entry.js +0 -64
- package/dist/esm/arcgis-building-explorer_2.entry.js +0 -458
- package/dist/esm/arcgis-catalog-layer-list.entry.js +0 -69
- package/dist/esm/arcgis-compass.entry.js +0 -81
- package/dist/esm/arcgis-coordinate-conversion.entry.js +0 -63
- package/dist/esm/arcgis-daylight.entry.js +0 -55
- package/dist/esm/arcgis-directional-pad.entry.js +0 -48
- package/dist/esm/arcgis-directions.entry.js +0 -132
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +0 -55
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +0 -48
- package/dist/esm/arcgis-editor.entry.js +0 -84
- package/dist/esm/arcgis-elevation-profile.entry.js +0 -69
- package/dist/esm/arcgis-expand.entry.js +0 -74
- package/dist/esm/arcgis-feature-form.entry.js +0 -60
- package/dist/esm/arcgis-feature-table.entry.js +0 -242
- package/dist/esm/arcgis-feature-templates.entry.js +0 -55
- package/dist/esm/arcgis-feature.entry.js +0 -68
- package/dist/esm/arcgis-features.entry.js +0 -92
- package/dist/esm/arcgis-floor-filter.entry.js +0 -50
- package/dist/esm/arcgis-fullscreen.entry.js +0 -77
- package/dist/esm/arcgis-histogram-range-slider.entry.js +0 -68
- package/dist/esm/arcgis-histogram.entry.js +0 -55
- package/dist/esm/arcgis-home.entry.js +0 -97
- package/dist/esm/arcgis-layer-list.entry.js +0 -88
- package/dist/esm/arcgis-legend.entry.js +0 -49
- package/dist/esm/arcgis-line-of-sight.entry.js +0 -59
- package/dist/esm/arcgis-locate.entry.js +0 -218
- package/dist/esm/arcgis-map-components.js +0 -25
- package/dist/esm/arcgis-map.entry.js +0 -310
- package/dist/esm/arcgis-measurement.entry.js +0 -56
- package/dist/esm/arcgis-navigation-toggle.entry.js +0 -50
- package/dist/esm/arcgis-oriented-imagery-viewer.entry.js +0 -98
- package/dist/esm/arcgis-placement.entry.js +0 -55
- package/dist/esm/arcgis-print.entry.js +0 -63
- package/dist/esm/arcgis-scale-bar.entry.js +0 -177
- package/dist/esm/arcgis-scale-range-slider.entry.js +0 -59
- package/dist/esm/arcgis-search.entry.js +0 -94
- package/dist/esm/arcgis-shadow-cast.entry.js +0 -69
- package/dist/esm/arcgis-sketch.entry.js +0 -127
- package/dist/esm/arcgis-slice.entry.js +0 -58
- package/dist/esm/arcgis-slider.entry.js +0 -85
- package/dist/esm/arcgis-swipe.entry.js +0 -51
- package/dist/esm/arcgis-table-list.entry.js +0 -68
- package/dist/esm/arcgis-time-slider.entry.js +0 -78
- package/dist/esm/arcgis-track.entry.js +0 -118
- package/dist/esm/arcgis-utility-network-associations.entry.js +0 -359
- package/dist/esm/arcgis-utility-network-trace.entry.js +0 -221
- package/dist/esm/arcgis-utility-network-validate-topology.entry.js +0 -106
- package/dist/esm/arcgis-value-picker.entry.js +0 -73
- package/dist/esm/arcgis-version-management-service-item_2.entry.js +0 -247
- package/dist/esm/arcgis-version-management-version-item_2.entry.js +0 -147
- package/dist/esm/arcgis-version-management.entry.js +0 -317
- package/dist/esm/arcgis-weather.entry.js +0 -48
- package/dist/esm/arcgis-zoom.entry.js +0 -87
- package/dist/esm/component-utils-46531994.js +0 -296
- package/dist/esm/disconnected-c59ecc72.js +0 -48
- package/dist/esm/globalCss-824cddf9.js +0 -50
- package/dist/esm/index-28f66413.js +0 -1874
- package/dist/esm/index-ad7f5bc4.js +0 -137
- package/dist/esm/index-c52668d4.js +0 -1030
- package/dist/esm/index-d8e1295e.js +0 -1453
- package/dist/esm/index.js +0 -5
- package/dist/esm/loader.js +0 -16
- package/dist/esm/useViewModel-7315c480.js +0 -121
- package/dist/esm/useWidget-5ce73029.js +0 -233
- package/dist/index.cjs.js +0 -1
- package/dist/loader/cdn.js +0 -6
- package/dist/loader/index.cjs.js +0 -6
- package/dist/loader/index.d.ts +0 -24
- package/dist/loader/index.es2017.js +0 -6
- package/dist/loader/index.js +0 -7
- package/dist/loader/package.json +0 -11
- package/dist/types/components/area-measurement-2d/area-measurement-2d.d.ts +0 -66
- package/dist/types/components/area-measurement-3d/area-measurement-3d.d.ts +0 -63
- package/dist/types/components/attachments/attachments.d.ts +0 -70
- package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +0 -62
- package/dist/types/components/basemap-layer-list/basemap-layer-list.d.ts +0 -97
- package/dist/types/components/basemap-toggle/basemap-toggle.d.ts +0 -90
- package/dist/types/components/bookmarks/bookmarks.d.ts +0 -76
- package/dist/types/components/building-explorer/building-explorer.d.ts +0 -65
- package/dist/types/components/catalog-layer-list/catalog-layer-list.d.ts +0 -81
- package/dist/types/components/compass/compass.d.ts +0 -67
- package/dist/types/components/coordinate-conversion/coordinate-conversion.d.ts +0 -73
- package/dist/types/components/daylight/daylight.d.ts +0 -68
- package/dist/types/components/directional-pad/directional-pad.d.ts +0 -66
- package/dist/types/components/directions/directions.d.ts +0 -87
- package/dist/types/components/directline-measurement-3d/directline-measurement-3d.d.ts +0 -71
- package/dist/types/components/distance-measurement-2d/distance-measurement-2d.d.ts +0 -60
- package/dist/types/components/editor/editor.d.ts +0 -83
- package/dist/types/components/elevation-profile/elevation-profile.d.ts +0 -85
- package/dist/types/components/expand/expand.d.ts +0 -75
- package/dist/types/components/feature/feature.d.ts +0 -74
- package/dist/types/components/feature-form/feature-form.d.ts +0 -68
- package/dist/types/components/feature-table/feature-table.d.ts +0 -258
- package/dist/types/components/feature-templates/feature-templates.d.ts +0 -75
- package/dist/types/components/features/features.d.ts +0 -90
- package/dist/types/components/floor-filter/floor-filter.d.ts +0 -61
- package/dist/types/components/fullscreen/fullscreen.d.ts +0 -80
- package/dist/types/components/histogram/histogram.d.ts +0 -67
- package/dist/types/components/histogram-range-slider/histogram-range-slider.d.ts +0 -78
- package/dist/types/components/home/home.d.ts +0 -128
- package/dist/types/components/layer-list/layer-list.d.ts +0 -99
- package/dist/types/components/legend/legend.d.ts +0 -66
- package/dist/types/components/line-of-sight/line-of-sight.d.ts +0 -63
- package/dist/types/components/locate/locate.d.ts +0 -106
- package/dist/types/components/map/map.d.ts +0 -395
- package/dist/types/components/measurement/measurement.d.ts +0 -64
- package/dist/types/components/navigation-toggle/navigation-toggle.d.ts +0 -60
- package/dist/types/components/oriented-imagery-viewer/oriented-imagery-viewer.d.ts +0 -73
- package/dist/types/components/placement/placement.d.ts +0 -19
- package/dist/types/components/print/print.d.ts +0 -74
- package/dist/types/components/scale-bar/scale-bar.d.ts +0 -96
- package/dist/types/components/scale-range-slider/scale-range-slider.d.ts +0 -69
- package/dist/types/components/scene/scene.d.ts +0 -379
- package/dist/types/components/search/search.d.ts +0 -104
- package/dist/types/components/shadow-cast/shadow-cast.d.ts +0 -75
- package/dist/types/components/sketch/sketch.d.ts +0 -114
- package/dist/types/components/slice/slice.d.ts +0 -66
- package/dist/types/components/slider/slider.d.ts +0 -93
- package/dist/types/components/swipe/swipe.d.ts +0 -75
- package/dist/types/components/table-list/table-list.d.ts +0 -88
- package/dist/types/components/time-slider/time-slider.d.ts +0 -78
- package/dist/types/components/track/track.d.ts +0 -86
- package/dist/types/components/types.d.ts +0 -30
- package/dist/types/components/utility-network-associations/utility-network-associations.d.ts +0 -82
- package/dist/types/components/utility-network-trace/utility-network-trace.d.ts +0 -66
- package/dist/types/components/utility-network-validate-topology/utility-network-validate-topology.d.ts +0 -40
- package/dist/types/components/value-picker/value-picker.d.ts +0 -78
- package/dist/types/components/version-management/components/version-management-service-item/version-management-service-item.d.ts +0 -47
- package/dist/types/components/version-management/components/version-management-version-item/version-management-version-item.d.ts +0 -23
- package/dist/types/components/version-management/components/version-management-version-list/version-management-version-list.d.ts +0 -48
- package/dist/types/components/version-management/components/version-management-version-properties/version-management-version-properties.d.ts +0 -43
- package/dist/types/components/version-management/version-management.d.ts +0 -159
- package/dist/types/components/weather/weather.d.ts +0 -60
- package/dist/types/components/zoom/zoom.d.ts +0 -97
- package/dist/types/controllers/Handles.d.ts +0 -116
- package/dist/types/controllers/useHandles.d.ts +0 -114
- package/dist/types/controllers/useT9n.d.ts +0 -1
- package/dist/types/controllers/useViewModel.d.ts +0 -81
- package/dist/types/controllers/useWidget.d.ts +0 -97
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stencil.config.d.ts +0 -2
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/internal/stories/AddLayersMap.stories.d.ts +0 -10
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/internal/stories/AddLayersScene.stories.d.ts +0 -10
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/internal/stories/Fullscreen.stories.d.ts +0 -8
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/internal/stories/QuickMap.stories.d.ts +0 -17
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/internal/stories/QuickScene.stories.d.ts +0 -17
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/internal/stories/Swipe.stories.d.ts +0 -5
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/internal/stories/ValuePicker.stories.d.ts +0 -5
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/AreaMeasurement2D.stories.d.ts +0 -9
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/AreaMeasurement3D.stories.d.ts +0 -9
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/BasemapGallery.stories.d.ts +0 -8
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/BasemapLayerList.stories.d.ts +0 -9
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/BasemapToggle.stories.d.ts +0 -9
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Bookmarks.stories.d.ts +0 -7
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/BuildingExplorer.stories.d.ts +0 -10
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/CatalogLayerList.stories.d.ts +0 -5
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Compass.stories.d.ts +0 -8
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/CoordinateConversion.stories.d.ts +0 -10
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Daylight.stories.d.ts +0 -7
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/DirectionalPad.stories.d.ts +0 -8
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Directions.stories.d.ts +0 -14
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/DirectlineMeasurement3D.stories.d.ts +0 -9
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/DistanceMeasurement2D.stories.d.ts +0 -9
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Editor.stories.d.ts +0 -9
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/ElevationProfile.stories.d.ts +0 -7
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Expand.stories.d.ts +0 -18
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/FeatureTable.stories.d.ts +0 -16
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/FloorFilter.stories.d.ts +0 -8
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Home.stories.d.ts +0 -8
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/LayerList.stories.d.ts +0 -8
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Legend.stories.d.ts +0 -13
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/LineOfSight.stories.d.ts +0 -7
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Locate.stories.d.ts +0 -12
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Map.stories.d.ts +0 -7
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/NavigationToggle.stories.d.ts +0 -7
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/OrientedImageryViewer.stories.d.ts +0 -7
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Print.stories.d.ts +0 -11
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/ScaleBar.stories.d.ts +0 -10
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/ScaleRangeSlider.stories.d.ts +0 -13
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Scene.stories.d.ts +0 -7
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Search.stories.d.ts +0 -8
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/ShadowCast.stories.d.ts +0 -7
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Sketch.stories.d.ts +0 -11
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Slice.stories.d.ts +0 -7
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Swipe.stories.d.ts +0 -5
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/TableList.stories.d.ts +0 -7
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/TimeSlider.stories.d.ts +0 -15
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Track.stories.d.ts +0 -8
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/UtilityNetworkAssociations.stories.d.ts +0 -8
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/UtilityNetworkTrace.stories.d.ts +0 -8
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/UtilityNetworkValidateTopology.stories.d.ts +0 -7
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/VersionManagement.stories.d.ts +0 -9
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Weather.stories.d.ts +0 -7
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-packages/map-components/.stencil/stories/reference/stories/Zoom.stories.d.ts +0 -9
- package/dist/types/dependencies.d.ts +0 -21
- package/dist/types/index.d.ts +0 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -1674
- package/dist/types/utils/component-utils.d.ts +0 -66
- package/dist/types/utils/disconnected.d.ts +0 -3
- package/dist/types/utils/mapping-utils.d.ts +0 -2
- package/dist/types/utils/screen-utils.d.ts +0 -1
- package/dist/types/utils/types.d.ts +0 -3
- /package/dist/{types/components/basemap-toggle → components/arcgis-basemap-toggle}/css.d.ts +0 -0
- /package/dist/{types/components/compass → components/arcgis-compass}/t9n-types.d.ts +0 -0
- /package/dist/{types/components/scale-bar → components/arcgis-scale-bar}/css.d.ts +0 -0
- /package/dist/{types/components/track → components/arcgis-track}/t9n-types.d.ts +0 -0
- /package/dist/{types/components/zoom → components/arcgis-zoom}/css.d.ts +0 -0
- /package/dist/{types/utils → utils}/globalCss.d.ts +0 -0
- /package/dist/{types/utils → utils}/legacyIcon.d.ts +0 -0
@@ -1,1465 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.1
|
5
|
-
*/
|
6
|
-
'use strict';
|
7
|
-
|
8
|
-
const index = require('./index-e1fdc7fa.js');
|
9
|
-
|
10
|
-
// src/framework.ts
|
11
|
-
function retrieveComponentMembers(component, isLit) {
|
12
|
-
if (isLit) {
|
13
|
-
const elementProperties = component.constructor.elementProperties;
|
14
|
-
component.manager.internals.members = Object.fromEntries(
|
15
|
-
Array.from(
|
16
|
-
elementProperties,
|
17
|
-
([name, descriptor]) => descriptor.noAccessor ? void 0 : [
|
18
|
-
name,
|
19
|
-
[
|
20
|
-
(descriptor.readOnly ? 2048 /* ReadOnly */ : 0) | (descriptor.state ? 32 /* State */ : 16 /* Unknown */)
|
21
|
-
]
|
22
|
-
]
|
23
|
-
).filter(index.isNotUndefined)
|
24
|
-
);
|
25
|
-
} else {
|
26
|
-
const constructor = component.constructor;
|
27
|
-
const members = constructor.__registerControllers?.(component) ?? void 0;
|
28
|
-
constructor.__registerControllers = void 0;
|
29
|
-
if (typeof members !== "object") {
|
30
|
-
throw new Error(
|
31
|
-
"Failed to retrieve component meta"
|
32
|
-
);
|
33
|
-
}
|
34
|
-
component.manager.internals.members = Object.fromEntries(
|
35
|
-
Object.entries(members).filter(([_name, [propType]]) => (propType & 63 /* PropLike */) !== 0)
|
36
|
-
);
|
37
|
-
}
|
38
|
-
}
|
39
|
-
function parsePropertyValue(value, type = 8 /* Any */) {
|
40
|
-
const isComplex = value == null || typeof value === "object" || typeof value === "function";
|
41
|
-
if (isComplex) {
|
42
|
-
return value;
|
43
|
-
}
|
44
|
-
if ((type & 4 /* Boolean */) !== 0) {
|
45
|
-
return value === "false" ? false : value === "" || !!value;
|
46
|
-
} else if ((type & 2 /* Number */) !== 0) {
|
47
|
-
return Number.parseFloat(value);
|
48
|
-
} else if ((type & 1 /* String */) !== 0) {
|
49
|
-
return String(value);
|
50
|
-
} else {
|
51
|
-
return value;
|
52
|
-
}
|
53
|
-
}
|
54
|
-
var getMemberType = (component, name) => component.manager.internals.members?.[name]?.[0];
|
55
|
-
|
56
|
-
// src/types.ts
|
57
|
-
var controllerSymbol = Symbol.for("controller");
|
58
|
-
|
59
|
-
// src/utils.ts
|
60
|
-
var isController = (value) => typeof value === "object" && value !== null && (controllerSymbol in value || "hostConnected" in value || "hostDisconnected" in value || "hostUpdate" in value || "hostUpdated" in value);
|
61
|
-
|
62
|
-
// src/ControllerInternals.ts
|
63
|
-
var ambientComponent;
|
64
|
-
function setAmbientComponent(component) {
|
65
|
-
if (ambientComponent === component) {
|
66
|
-
return;
|
67
|
-
}
|
68
|
-
ambientComponent = component;
|
69
|
-
queueMicrotask(() => {
|
70
|
-
if (ambientComponent === component) {
|
71
|
-
ambientComponent = void 0;
|
72
|
-
}
|
73
|
-
});
|
74
|
-
}
|
75
|
-
function retrieveComponent(name2) {
|
76
|
-
return ambientComponent;
|
77
|
-
}
|
78
|
-
var ambientControllers = [];
|
79
|
-
function setParentController(controller) {
|
80
|
-
if (controller === void 0) {
|
81
|
-
ambientControllers = [];
|
82
|
-
return;
|
83
|
-
}
|
84
|
-
const index = ambientControllers.indexOf(controller);
|
85
|
-
ambientControllers = index === -1 ? [...ambientControllers, controller] : ambientControllers.slice(0, index + 1);
|
86
|
-
queueMicrotask(() => {
|
87
|
-
ambientControllers = [];
|
88
|
-
});
|
89
|
-
}
|
90
|
-
function retrieveParentControllers() {
|
91
|
-
return ambientControllers;
|
92
|
-
}
|
93
|
-
var ambientChildController;
|
94
|
-
function setAmbientChildController(controller) {
|
95
|
-
if (ambientChildController === controller) {
|
96
|
-
return;
|
97
|
-
}
|
98
|
-
ambientChildController = controller;
|
99
|
-
queueMicrotask(() => {
|
100
|
-
if (ambientChildController === controller) {
|
101
|
-
ambientChildController = void 0;
|
102
|
-
}
|
103
|
-
});
|
104
|
-
}
|
105
|
-
function retrieveAmbientChildController() {
|
106
|
-
const controller = ambientChildController;
|
107
|
-
ambientChildController = void 0;
|
108
|
-
return controller;
|
109
|
-
}
|
110
|
-
var use = async (value, watchExports) => {
|
111
|
-
const controller = useRefSync(value);
|
112
|
-
if (controller === void 0) {
|
113
|
-
return value;
|
114
|
-
}
|
115
|
-
await controller.ready;
|
116
|
-
if (typeof watchExports === "function") {
|
117
|
-
const unsubscribe = controller.watchExports(
|
118
|
-
(exports) => watchExports(exports, unsubscribe)
|
119
|
-
);
|
120
|
-
}
|
121
|
-
return controller.exports;
|
122
|
-
};
|
123
|
-
var useRef = async (value) => {
|
124
|
-
const controller = useRefSync(value);
|
125
|
-
await controller.ready;
|
126
|
-
return controller;
|
127
|
-
};
|
128
|
-
var useRefSync = (value) => {
|
129
|
-
const ambientChildController2 = retrieveAmbientChildController();
|
130
|
-
if (ambientChildController2 !== void 0) {
|
131
|
-
return ambientChildController2;
|
132
|
-
}
|
133
|
-
const component = retrieveComponent();
|
134
|
-
const controller = component.manager.internals.resolveExports(value);
|
135
|
-
if (controller !== void 0) {
|
136
|
-
return controller;
|
137
|
-
}
|
138
|
-
if (isController(value)) {
|
139
|
-
return value;
|
140
|
-
}
|
141
|
-
return void 0;
|
142
|
-
};
|
143
|
-
var shouldBypass = {
|
144
|
-
setter: false,
|
145
|
-
getter: false,
|
146
|
-
readOnly: false
|
147
|
-
};
|
148
|
-
var elementToInstance = /* @__PURE__ */ new WeakMap();
|
149
|
-
var _a;
|
150
|
-
_a = controllerSymbol;
|
151
|
-
var Controller = class {
|
152
|
-
constructor(component) {
|
153
|
-
this._callbacks = {
|
154
|
-
hostConnected: [],
|
155
|
-
hostDisconnected: [],
|
156
|
-
hostLoad: [],
|
157
|
-
hostLoaded: [],
|
158
|
-
hostUpdate: [],
|
159
|
-
hostUpdated: [],
|
160
|
-
hostDestroy: [],
|
161
|
-
hostLifecycle: []
|
162
|
-
};
|
163
|
-
this._ready = new index.Deferred();
|
164
|
-
this._lifecycleCleanups = [];
|
165
|
-
this.connectedCalled = false;
|
166
|
-
this._loadCalled = false;
|
167
|
-
this.loadedCalled = false;
|
168
|
-
this[_a] = true;
|
169
|
-
this.ready = this._ready.promise;
|
170
|
-
/*
|
171
|
-
* Setting default exports to "this" so that controllers that don't use
|
172
|
-
* exports/proxyExports(), could still be used as if they did
|
173
|
-
* (i.e with controller.use)
|
174
|
-
*/
|
175
|
-
this._exports = makeProvisionalValue(this);
|
176
|
-
this._exportWatchers = /* @__PURE__ */ new Set();
|
177
|
-
const resolvedComponent = toControllerHost(component ?? retrieveComponent());
|
178
|
-
{
|
179
|
-
this.component = resolvedComponent;
|
180
|
-
}
|
181
|
-
this.component.addController(this);
|
182
|
-
setParentController(this);
|
183
|
-
const manager = this.component.manager;
|
184
|
-
const isInControllerManager = manager === void 0;
|
185
|
-
if (!isInControllerManager) {
|
186
|
-
queueMicrotask(() => this.catchUpLifecycle());
|
187
|
-
}
|
188
|
-
}
|
189
|
-
/**
|
190
|
-
* If controller is being added dynamically, after the component
|
191
|
-
* construction, then trigger connected and load right away
|
192
|
-
*/
|
193
|
-
catchUpLifecycle() {
|
194
|
-
const { manager } = this.component;
|
195
|
-
const connectedWillStillHappen = !manager.connectedCalled;
|
196
|
-
if (!connectedWillStillHappen && !this.connectedCalled) {
|
197
|
-
this.triggerConnected();
|
198
|
-
}
|
199
|
-
const loadWillStillHappen = !manager._loadCalled;
|
200
|
-
if (loadWillStillHappen) {
|
201
|
-
return;
|
202
|
-
}
|
203
|
-
this.triggerLoad().then(() => {
|
204
|
-
const loadedWillStillHappen = !manager.loadedCalled;
|
205
|
-
if (loadedWillStillHappen) {
|
206
|
-
return;
|
207
|
-
}
|
208
|
-
this.triggerLoaded();
|
209
|
-
}).catch(console.error);
|
210
|
-
}
|
211
|
-
get exports() {
|
212
|
-
return this._exports;
|
213
|
-
}
|
214
|
-
/**
|
215
|
-
* Set controller's exports property (for usage with proxyExports()) and mark
|
216
|
-
* controller as ready (for usage in other controllers). Also, triggers
|
217
|
-
* re-render of the component
|
218
|
-
*/
|
219
|
-
set exports(exports) {
|
220
|
-
const oldExports = this._exports;
|
221
|
-
if (oldExports !== exports) {
|
222
|
-
this._exports = exports;
|
223
|
-
this._exportWatchers.forEach(index.safeCall);
|
224
|
-
if (this.connectedCalled && this.assignedProperty !== false) {
|
225
|
-
this.component.requestUpdate(this.assignedProperty, oldExports);
|
226
|
-
}
|
227
|
-
}
|
228
|
-
this._ready.resolve(exports);
|
229
|
-
}
|
230
|
-
setProvisionalExports(exports) {
|
231
|
-
this._exports = makeProvisionalValue(exports);
|
232
|
-
this._exportWatchers.forEach(index.safeCall);
|
233
|
-
}
|
234
|
-
watchExports(callback) {
|
235
|
-
const safeCallback = () => callback(this._exports);
|
236
|
-
this._exportWatchers.add(safeCallback);
|
237
|
-
return () => void this._exportWatchers.delete(safeCallback);
|
238
|
-
}
|
239
|
-
/**
|
240
|
-
* A flexible utility for making sure a controller is loaded before it's used,
|
241
|
-
* regardless of how or where a controller was defined:
|
242
|
-
*
|
243
|
-
* @example
|
244
|
-
* makeGenericController(async (component, controller) => {
|
245
|
-
* // Await some controller from the component:
|
246
|
-
* await controller.use(component.someController);
|
247
|
-
* // Initialize new controllers
|
248
|
-
* await controller.use(load(importCoreReactiveUtils));
|
249
|
-
* await controller.use(new ViewModelController(component,newWidgetsHomeHomeViewModel));
|
250
|
-
* await controller.use(someController(component));
|
251
|
-
* });
|
252
|
-
*
|
253
|
-
* @remarks
|
254
|
-
* If your controller is not async, and you are not creating it async, then
|
255
|
-
* you are not required to use controller.use - you can use it directly.
|
256
|
-
* Similarly, accessing controllers after componentWillLoad callback does not
|
257
|
-
* require awaiting them as they are guaranteed to be loaded by then.
|
258
|
-
*/
|
259
|
-
get use() {
|
260
|
-
setAmbientComponent(this.component);
|
261
|
-
return use;
|
262
|
-
}
|
263
|
-
/**
|
264
|
-
* Just like controller.use, but returns the controller itself, rather than it's
|
265
|
-
* exports
|
266
|
-
*
|
267
|
-
* Use cases:
|
268
|
-
* - You have a controller and you want to make sure it's loaded before you
|
269
|
-
* try to use it
|
270
|
-
* - Your controller is not using exports, so you wish to access some props on
|
271
|
-
* it directly
|
272
|
-
* - You have a controller exports only, and you want to retrieve the
|
273
|
-
* controller itself. This is useful if you wish to call .watchExports() or
|
274
|
-
* some other method on the controller
|
275
|
-
*/
|
276
|
-
get useRef() {
|
277
|
-
setAmbientComponent(this.component);
|
278
|
-
return useRef;
|
279
|
-
}
|
280
|
-
/**
|
281
|
-
* Like useRef, but doesn't wait for the controller to get ready
|
282
|
-
*
|
283
|
-
* @internal
|
284
|
-
*/
|
285
|
-
get useRefSync() {
|
286
|
-
setAmbientComponent(this.component);
|
287
|
-
return useRefSync;
|
288
|
-
}
|
289
|
-
controllerRemoved() {
|
290
|
-
if (this.component.el.isConnected) {
|
291
|
-
this.triggerDisconnected();
|
292
|
-
}
|
293
|
-
this.triggerDestroy();
|
294
|
-
}
|
295
|
-
// Register a lifecycle callback
|
296
|
-
onConnected(callback) {
|
297
|
-
this._callbacks.hostConnected.push(callback);
|
298
|
-
}
|
299
|
-
onDisconnected(callback) {
|
300
|
-
this._callbacks.hostDisconnected.push(callback);
|
301
|
-
}
|
302
|
-
onLoad(callback) {
|
303
|
-
this._callbacks.hostLoad.push(callback);
|
304
|
-
}
|
305
|
-
onLoaded(callback) {
|
306
|
-
this._callbacks.hostLoaded.push(callback);
|
307
|
-
}
|
308
|
-
onUpdate(callback) {
|
309
|
-
this._callbacks.hostUpdate.push(callback);
|
310
|
-
}
|
311
|
-
onUpdated(callback) {
|
312
|
-
this._callbacks.hostUpdated.push(callback);
|
313
|
-
}
|
314
|
-
onDestroy(callback) {
|
315
|
-
this._callbacks.hostDestroy.push(callback);
|
316
|
-
}
|
317
|
-
onLifecycle(callback) {
|
318
|
-
this._callbacks.hostLifecycle.push(callback);
|
319
|
-
if (this.connectedCalled && this.component.el.isConnected) {
|
320
|
-
this._callLifecycle(callback);
|
321
|
-
}
|
322
|
-
}
|
323
|
-
// Call each lifecycle hook
|
324
|
-
/** @internal */
|
325
|
-
triggerConnected() {
|
326
|
-
const genericController = this;
|
327
|
-
if (genericController.hostConnected) {
|
328
|
-
index.safeCall(genericController.hostConnected, genericController);
|
329
|
-
}
|
330
|
-
this._callbacks.hostConnected.forEach(index.safeCall);
|
331
|
-
this.triggerLifecycle();
|
332
|
-
this.connectedCalled = true;
|
333
|
-
}
|
334
|
-
/** @internal */
|
335
|
-
triggerDisconnected() {
|
336
|
-
const genericController = this;
|
337
|
-
if (genericController.hostDisconnected) {
|
338
|
-
index.safeCall(genericController.hostDisconnected, genericController);
|
339
|
-
}
|
340
|
-
this._callbacks.hostDisconnected.forEach(index.safeCall);
|
341
|
-
this._lifecycleCleanups.forEach(index.safeCall);
|
342
|
-
this._lifecycleCleanups = [];
|
343
|
-
}
|
344
|
-
/** @internal */
|
345
|
-
async triggerLoad() {
|
346
|
-
if (this._loadCalled) {
|
347
|
-
return;
|
348
|
-
}
|
349
|
-
this._loadCalled = true;
|
350
|
-
const genericController = this;
|
351
|
-
if (genericController.hostLoad) {
|
352
|
-
await index.safeAsyncCall(genericController.hostLoad, genericController);
|
353
|
-
}
|
354
|
-
if (this._callbacks.hostLoad.length > 0) {
|
355
|
-
await Promise.allSettled(this._callbacks.hostLoad.map(index.safeAsyncCall));
|
356
|
-
}
|
357
|
-
this._ready.resolve(this._exports);
|
358
|
-
}
|
359
|
-
/** @internal */
|
360
|
-
triggerLoaded() {
|
361
|
-
if (this.loadedCalled) {
|
362
|
-
return;
|
363
|
-
}
|
364
|
-
const genericController = this;
|
365
|
-
if (genericController.hostLoaded) {
|
366
|
-
index.safeCall(genericController.hostLoaded, genericController);
|
367
|
-
}
|
368
|
-
this._callbacks.hostLoaded.forEach(index.safeCall);
|
369
|
-
this.loadedCalled = true;
|
370
|
-
}
|
371
|
-
/** @internal */
|
372
|
-
triggerUpdate(changedProperties) {
|
373
|
-
const genericController = this;
|
374
|
-
if (genericController.hostUpdate) {
|
375
|
-
index.safeCall(genericController.hostUpdate, genericController, changedProperties);
|
376
|
-
}
|
377
|
-
this._callbacks.hostUpdate.forEach(callUpdate, changedProperties);
|
378
|
-
}
|
379
|
-
/** @internal */
|
380
|
-
triggerUpdated(changedProperties) {
|
381
|
-
const genericController = this;
|
382
|
-
if (genericController.hostUpdated) {
|
383
|
-
index.safeCall(genericController.hostUpdated, genericController, changedProperties);
|
384
|
-
}
|
385
|
-
this._callbacks.hostUpdated.forEach(callUpdate, changedProperties);
|
386
|
-
}
|
387
|
-
/** @internal */
|
388
|
-
triggerDestroy() {
|
389
|
-
const genericController = this;
|
390
|
-
if (genericController.hostDestroy) {
|
391
|
-
index.safeCall(genericController.hostDestroy, genericController);
|
392
|
-
}
|
393
|
-
this._callbacks.hostDestroy.forEach(index.safeCall);
|
394
|
-
}
|
395
|
-
/** @internal */
|
396
|
-
triggerLifecycle() {
|
397
|
-
const genericController = this;
|
398
|
-
if (genericController.hostLifecycle) {
|
399
|
-
this._callLifecycle(() => genericController.hostLifecycle());
|
400
|
-
}
|
401
|
-
this._callbacks.hostLifecycle.forEach(this._callLifecycle, this);
|
402
|
-
}
|
403
|
-
_callLifecycle(callback) {
|
404
|
-
setAmbientComponent(this.component);
|
405
|
-
const cleanupRaw = index.safeCall(callback);
|
406
|
-
const cleanup = Array.isArray(cleanupRaw) ? cleanupRaw : [cleanupRaw];
|
407
|
-
cleanup.forEach((cleanup2) => {
|
408
|
-
if (typeof cleanup2 === "function") {
|
409
|
-
this._lifecycleCleanups.push(cleanup2);
|
410
|
-
} else if (typeof cleanup2 === "object" && typeof cleanup2.remove === "function") {
|
411
|
-
this._lifecycleCleanups.push(cleanup2.remove);
|
412
|
-
}
|
413
|
-
});
|
414
|
-
}
|
415
|
-
};
|
416
|
-
function callUpdate(callback) {
|
417
|
-
index.safeCall(callback, void 0, this);
|
418
|
-
}
|
419
|
-
var GenericController = Controller;
|
420
|
-
function makeProvisionalValue(base) {
|
421
|
-
if (typeof base !== "object" && typeof base !== "function" || base === null) {
|
422
|
-
return base;
|
423
|
-
}
|
424
|
-
const proxy = new Proxy(base, {
|
425
|
-
get(target, prop, receiver) {
|
426
|
-
if (cyclical.has(prop) && prop in target && target[prop] === proxy) {
|
427
|
-
return void 0;
|
428
|
-
}
|
429
|
-
if (prop in target || prop in Promise.prototype || typeof prop === "symbol") {
|
430
|
-
return typeof target === "function" ? target[prop] : Reflect.get(target, prop, receiver);
|
431
|
-
}
|
432
|
-
return void 0;
|
433
|
-
},
|
434
|
-
set: (target, prop, newValue, receiver) => {
|
435
|
-
return Reflect.set(target, prop, newValue, receiver);
|
436
|
-
}
|
437
|
-
});
|
438
|
-
return proxy;
|
439
|
-
}
|
440
|
-
var cyclical = /* @__PURE__ */ new Set(["exports", "_exports"]);
|
441
|
-
function toControllerHost(component) {
|
442
|
-
{
|
443
|
-
return component;
|
444
|
-
}
|
445
|
-
}
|
446
|
-
function trackPropertyKey(object, onResolved, defaultValue) {
|
447
|
-
const keys = Object.keys(object);
|
448
|
-
const keyCount = keys.length;
|
449
|
-
if (keyTrackMap === void 0) {
|
450
|
-
queueMicrotask(keyTrackResolve);
|
451
|
-
}
|
452
|
-
keyTrackMap ?? (keyTrackMap = /* @__PURE__ */ new Map());
|
453
|
-
let pendingTrackers = keyTrackMap.get(object);
|
454
|
-
if (pendingTrackers === void 0) {
|
455
|
-
pendingTrackers = { callbacks: [], keyCount };
|
456
|
-
keyTrackMap.set(object, pendingTrackers);
|
457
|
-
}
|
458
|
-
if (pendingTrackers.keyCount !== keyCount) {
|
459
|
-
pendingTrackers.callbacks.forEach((resolve) => resolve(keys));
|
460
|
-
pendingTrackers.callbacks = [];
|
461
|
-
pendingTrackers.keyCount = keyCount;
|
462
|
-
}
|
463
|
-
pendingTrackers.callbacks.push((keys2) => {
|
464
|
-
const callback = (key2) => index.safeCall(onResolved, null, key2);
|
465
|
-
const key = keys2[keyCount];
|
466
|
-
if (key === void 0) {
|
467
|
-
callback(void 0);
|
468
|
-
} else if (object[key] === defaultValue) {
|
469
|
-
callback(key);
|
470
|
-
} else {
|
471
|
-
callback(void 0);
|
472
|
-
}
|
473
|
-
});
|
474
|
-
return defaultValue;
|
475
|
-
}
|
476
|
-
var keyTrackMap = void 0;
|
477
|
-
function keyTrackResolve() {
|
478
|
-
Array.from(keyTrackMap?.entries() ?? []).forEach(([object, { callbacks }]) => {
|
479
|
-
const keys = Object.keys(object);
|
480
|
-
callbacks.forEach((commit) => commit(keys));
|
481
|
-
});
|
482
|
-
keyTrackMap = void 0;
|
483
|
-
}
|
484
|
-
function watch(component, property, callback) {
|
485
|
-
var _a2;
|
486
|
-
const genericProperty = property;
|
487
|
-
const internals = component.manager.internals;
|
488
|
-
(_a2 = internals.allWatchers)[genericProperty] ?? (_a2[genericProperty] = []);
|
489
|
-
const watchers = internals.allWatchers[genericProperty];
|
490
|
-
const genericCallback = callback;
|
491
|
-
const safeCallback = (newValue, oldValue, propertyName) => index.safeCall(genericCallback, null, newValue, oldValue, propertyName);
|
492
|
-
watchers.push(safeCallback);
|
493
|
-
return () => {
|
494
|
-
const index = watchers.indexOf(safeCallback);
|
495
|
-
if (index !== -1) {
|
496
|
-
watchers.splice(index, 1);
|
497
|
-
}
|
498
|
-
};
|
499
|
-
}
|
500
|
-
|
501
|
-
// src/ComponentInternals.ts
|
502
|
-
var ComponentInternals = class {
|
503
|
-
constructor(component) {
|
504
|
-
/**
|
505
|
-
* When watchers are set, they are set into `allWatchers`. When watchers are
|
506
|
-
* read in the setter, they are read from `enabledWatchers`.
|
507
|
-
*
|
508
|
-
* In Stencil, on connectedCallback(), controller manager does
|
509
|
-
* `enabledWatchers=allWatchers`. Reasoning:
|
510
|
-
* - This disables watchers until connected callback (matches behavior of
|
511
|
-
* Stencil's watchers)
|
512
|
-
* - This removes the need for a check in the setter for whether the watchers
|
513
|
-
* were enabled already or not (as getters/setters are hot path, and should
|
514
|
-
* be streamlined)
|
515
|
-
*
|
516
|
-
* In Lit, we set enabledWatchers to allWatchers in the constructor.
|
517
|
-
* Reasoning:
|
518
|
-
* - While in Stencil all user provided properties are either set before the
|
519
|
-
* component constructor (this is possible since Stencil's props store is
|
520
|
-
* externalized) or after connectedCallback, in Lit the properties may be
|
521
|
-
* set by attributeChangedCallback before connectedCallback. Thus, we need
|
522
|
-
* to enable watchers even before connectedCallback.
|
523
|
-
* - This means, that a watcher set for some prop before your component got
|
524
|
-
* a chance to set the default value will trigger the watcher when the
|
525
|
-
* default value is set - but, that is inline with Lit's willUpdate behavior
|
526
|
-
* of triggering for default values AND, the only way to set a watcher
|
527
|
-
* before default value is if you called watcher inside a controller. For
|
528
|
-
* now, there are no controllers written outside of arcgis-map-components
|
529
|
-
* package, so I was able to verify that this change would have no
|
530
|
-
* negative impact.
|
531
|
-
*
|
532
|
-
* In either way, I plan to remove watchers from controllers once Stencil
|
533
|
-
* support is removed.
|
534
|
-
*/
|
535
|
-
this.enabledWatchers = {};
|
536
|
-
this.allWatchers = {};
|
537
|
-
/**
|
538
|
-
* "readOnly" is not enabled initially since we need to allow to set property
|
539
|
-
* default values in the constructor.
|
540
|
-
* For Stencil, readonly is enabled by the `readonly()` controller.
|
541
|
-
* For Lit, we have the following logic:
|
542
|
-
*/
|
543
|
-
this.enableReadonly = () => {
|
544
|
-
this.enableReadonly = void 0;
|
545
|
-
if (!this.component.manager.isLit) {
|
546
|
-
return;
|
547
|
-
}
|
548
|
-
const internals = this.component.manager.internals;
|
549
|
-
Object.entries(internals.members).forEach(([name2, [type]]) => {
|
550
|
-
var _a2;
|
551
|
-
const isReadOnly = type & 2048 /* ReadOnly */;
|
552
|
-
if (isReadOnly) {
|
553
|
-
(_a2 = internals.setters)[name2] ?? (_a2[name2] = []);
|
554
|
-
internals.setters[name2].push(internals.readonlySetter);
|
555
|
-
}
|
556
|
-
});
|
557
|
-
};
|
558
|
-
this.trackedValue = nothing;
|
559
|
-
this.keyTrackers = [];
|
560
|
-
this.getters = {};
|
561
|
-
this.setters = {};
|
562
|
-
this.accessorGetter = {};
|
563
|
-
this.accessorSetter = {};
|
564
|
-
this.reactiveUtilsIntegrations = /* @__PURE__ */ new Set();
|
565
|
-
this._exports = /* @__PURE__ */ new WeakMap();
|
566
|
-
this.readonlySetter = (newValue, _oldValue, property) => {
|
567
|
-
if (shouldBypass.readOnly) {
|
568
|
-
return newValue;
|
569
|
-
}
|
570
|
-
throw new Error(
|
571
|
-
`Cannot assign to read-only property "${property}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(
|
572
|
-
newValue
|
573
|
-
)}"`
|
574
|
-
);
|
575
|
-
};
|
576
|
-
{
|
577
|
-
this.component = component;
|
578
|
-
}
|
579
|
-
}
|
580
|
-
firePropTrackers(key, value) {
|
581
|
-
const trackers = this.keyTrackers;
|
582
|
-
this.trackedValue = nothing;
|
583
|
-
this.keyTrackers = [];
|
584
|
-
trackers.forEach((tracker) => tracker(key, value));
|
585
|
-
}
|
586
|
-
// REFACTOR: once Stencil is no longer supported, simplify this with Lit's getPropertyDescriptor(), or https://github.com/shoelace-style/shoelace/issues/1990
|
587
|
-
/**
|
588
|
-
* Configure a getter or setter for a given \@Prop/\@State
|
589
|
-
*
|
590
|
-
* Since props are defined on the prototype, they are shared between all
|
591
|
-
* instances of a component. Thus, instead of passing a reference to the
|
592
|
-
* getter/setter function, you should update the
|
593
|
-
* ComponentInternals.getters/setters properties, and then call getSetProxy
|
594
|
-
* to apply the changes to the prototype
|
595
|
-
*/
|
596
|
-
getSetProxy(property) {
|
597
|
-
const component = this.component;
|
598
|
-
const classPrototype = component.constructor.prototype;
|
599
|
-
this._getSetProxy(classPrototype, property, "class");
|
600
|
-
if (component.manager.isLit) {
|
601
|
-
return;
|
602
|
-
}
|
603
|
-
const htmlPrototype = component.el.constructor.prototype;
|
604
|
-
if (classPrototype !== htmlPrototype) {
|
605
|
-
this._getSetProxy(htmlPrototype, property, "html");
|
606
|
-
}
|
607
|
-
}
|
608
|
-
_getSetProxy(prototype, name2, type) {
|
609
|
-
const component = this.component;
|
610
|
-
const propType = getMemberType(component, name2);
|
611
|
-
let descriptor;
|
612
|
-
do {
|
613
|
-
descriptor = Object.getOwnPropertyDescriptor(prototype, name2);
|
614
|
-
} while (!descriptor && (prototype = Object.getPrototypeOf(prototype)));
|
615
|
-
if (!descriptor) {
|
616
|
-
return void 0;
|
617
|
-
}
|
618
|
-
const originalGet = descriptor.get;
|
619
|
-
const originalSet = descriptor.set;
|
620
|
-
const isGetterAlreadyOverwritten = customAccessor in originalGet;
|
621
|
-
const isSetterAlreadyOverwritten = customAccessor in originalSet;
|
622
|
-
if (isGetterAlreadyOverwritten && isSetterAlreadyOverwritten) {
|
623
|
-
return;
|
624
|
-
}
|
625
|
-
const shouldOverwriteGet = !isGetterAlreadyOverwritten;
|
626
|
-
const shouldOverwriteSet = !isSetterAlreadyOverwritten;
|
627
|
-
const finalGetter = shouldOverwriteGet ? function getter() {
|
628
|
-
let value = originalGet.call(this);
|
629
|
-
const component2 = elementToInstance.get(this);
|
630
|
-
if (shouldBypass.getter || component2 === void 0) {
|
631
|
-
return value;
|
632
|
-
}
|
633
|
-
const internals = component2.manager.internals;
|
634
|
-
value = internals.accessorGetter[name2](value, name2);
|
635
|
-
const getters = internals.getters[name2] ?? emptyArray;
|
636
|
-
for (let i = 0; i < getters.length; i++) {
|
637
|
-
value = getters[i](value, name2);
|
638
|
-
}
|
639
|
-
return value;
|
640
|
-
} : originalGet;
|
641
|
-
const finalSetter = shouldOverwriteSet ? function setter(rawNewValue) {
|
642
|
-
const oldValue = originalGet.call(this);
|
643
|
-
const component2 = elementToInstance.get(this);
|
644
|
-
if (component2 === void 0) {
|
645
|
-
originalSet.call(this, rawNewValue);
|
646
|
-
return;
|
647
|
-
}
|
648
|
-
let newValue = component2.manager.isLit ? (
|
649
|
-
/*
|
650
|
-
* Cast `null` to `undefined`.
|
651
|
-
* See https://devtopia.esri.com/WebGIS/arcgis-web-components/discussions/1299
|
652
|
-
*/
|
653
|
-
rawNewValue ?? void 0
|
654
|
-
) : parsePropertyValue(rawNewValue, propType);
|
655
|
-
const internals = component2.manager.internals;
|
656
|
-
if (newValue === oldValue) {
|
657
|
-
originalSet.call(this, newValue);
|
658
|
-
} else {
|
659
|
-
const setters = shouldBypass.setter ? emptyArray : internals.setters[name2] ?? emptyArray;
|
660
|
-
for (let i = 0; i < setters.length; i++) {
|
661
|
-
newValue = setters[i](newValue, oldValue, name2);
|
662
|
-
if (newValue === oldValue) {
|
663
|
-
break;
|
664
|
-
}
|
665
|
-
}
|
666
|
-
newValue = internals.accessorSetter[name2](newValue, oldValue, name2);
|
667
|
-
originalSet.call(this, newValue);
|
668
|
-
if (newValue !== oldValue) {
|
669
|
-
internals.enabledWatchers[name2]?.forEach((watcher) => watcher(newValue, oldValue, name2));
|
670
|
-
}
|
671
|
-
}
|
672
|
-
if (internals.keyTrackers.length > 0) {
|
673
|
-
internals?.firePropTrackers(name2, rawNewValue);
|
674
|
-
}
|
675
|
-
} : originalSet;
|
676
|
-
if (shouldOverwriteGet) {
|
677
|
-
finalGetter[customAccessor] = true;
|
678
|
-
}
|
679
|
-
if (shouldOverwriteSet) {
|
680
|
-
finalSetter[customAccessor] = true;
|
681
|
-
}
|
682
|
-
Object.defineProperty(prototype, name2, {
|
683
|
-
...descriptor,
|
684
|
-
get: finalGetter,
|
685
|
-
set: finalSetter
|
686
|
-
});
|
687
|
-
}
|
688
|
-
/**
|
689
|
-
* Associate an exports object with a controller for reverse lookup in
|
690
|
-
* controller.use
|
691
|
-
*/
|
692
|
-
markExports(controller, exports) {
|
693
|
-
if (typeof exports === "object" && exports !== null || typeof exports === "function") {
|
694
|
-
this._exports.set(exports, controller);
|
695
|
-
}
|
696
|
-
}
|
697
|
-
resolveExports(exports) {
|
698
|
-
if (typeof exports === "object" && exports !== null || typeof exports === "function") {
|
699
|
-
return this._exports.get(exports);
|
700
|
-
} else {
|
701
|
-
return void 0;
|
702
|
-
}
|
703
|
-
}
|
704
|
-
};
|
705
|
-
var emptyArray = [];
|
706
|
-
var customAccessor = Symbol();
|
707
|
-
var nothing = Symbol() ;
|
708
|
-
var useControllerManager = (component, forceUpdate) => new ControllerManager(component, forceUpdate);
|
709
|
-
var ControllerManager = class extends GenericController {
|
710
|
-
constructor(component, forceUpdate) {
|
711
|
-
const isLit = "addController" in component;
|
712
|
-
const controllers = /* @__PURE__ */ new Set();
|
713
|
-
function addController(controller) {
|
714
|
-
controllers.add(controller);
|
715
|
-
if (!(controllerSymbol in controller) && component.renderRoot && component.el.isConnected) {
|
716
|
-
controller.hostConnected?.();
|
717
|
-
}
|
718
|
-
}
|
719
|
-
function removeController(controller) {
|
720
|
-
void controllers.delete(controller);
|
721
|
-
controller.controllerRemoved?.();
|
722
|
-
}
|
723
|
-
const controllerHost = component;
|
724
|
-
controllerHost.addController = addController;
|
725
|
-
controllerHost.removeController = removeController;
|
726
|
-
if (!isLit) {
|
727
|
-
const update = forceUpdate ?? component.constructor.__forceUpdate;
|
728
|
-
controllerHost.requestUpdate = () => update(component);
|
729
|
-
}
|
730
|
-
super(component);
|
731
|
-
/** @internal */
|
732
|
-
this.internals = new ComponentInternals(this.component);
|
733
|
-
this.destroyed = false;
|
734
|
-
this._updatePromise = new index.Deferred();
|
735
|
-
this._originalLifecycles = {};
|
736
|
-
this.isLit = isLit;
|
737
|
-
this.component.manager = this;
|
738
|
-
retrieveComponentMembers(component, isLit);
|
739
|
-
this._controllers = controllers;
|
740
|
-
this.exports = void 0;
|
741
|
-
this.hasDestroy = autoDestroyDisabledPropName in this.component && typeof this.component.destroy === "function";
|
742
|
-
this._bindLifecycleMethods();
|
743
|
-
const internals = this.internals;
|
744
|
-
Object.keys(internals.members).forEach((name2) => {
|
745
|
-
internals.accessorGetter[name2] = defaultGetterSetter;
|
746
|
-
internals.accessorSetter[name2] = defaultGetterSetter;
|
747
|
-
internals.getSetProxy(name2);
|
748
|
-
});
|
749
|
-
if (isLit) {
|
750
|
-
this.internals.enabledWatchers = this.internals.allWatchers;
|
751
|
-
} else {
|
752
|
-
Object.defineProperty(component, "updateComplete", {
|
753
|
-
get: async () => await this._updatePromise.promise
|
754
|
-
});
|
755
|
-
}
|
756
|
-
queueMicrotask(internals.enableReadonly);
|
757
|
-
setParentController(void 0);
|
758
|
-
setAmbientComponent(component);
|
759
|
-
elementToInstance.set(component.el, component);
|
760
|
-
elementToInstance.set(component, component);
|
761
|
-
}
|
762
|
-
_bindLifecycleMethods() {
|
763
|
-
const component = this.component;
|
764
|
-
const isLit = this.isLit;
|
765
|
-
const isStencilDistBuild = component.el === component;
|
766
|
-
this._originalLifecycles = {
|
767
|
-
// These component's callbacks will be called by Lit, so we don't have to
|
768
|
-
_connectedCallback: isLit || isStencilDistBuild ? void 0 : component.connectedCallback,
|
769
|
-
_disconnectedCallback: isLit || isStencilDistBuild ? void 0 : component.disconnectedCallback,
|
770
|
-
_load: isLit ? component.load : component.componentWillLoad,
|
771
|
-
_loaded: isLit ? component.loaded : component.componentDidLoad,
|
772
|
-
_willUpdate: isLit ? void 0 : component.componentWillUpdate,
|
773
|
-
_updated: isLit ? void 0 : component.componentDidUpdate,
|
774
|
-
_destroy: component.destroy
|
775
|
-
};
|
776
|
-
const hostConnected = this._connectedCallback.bind(this);
|
777
|
-
const hostDisconnected = this._disconnectedCallback.bind(this);
|
778
|
-
const hostUpdate = this._update.bind(this);
|
779
|
-
const hostUpdated = this._updated.bind(this);
|
780
|
-
if (isLit) {
|
781
|
-
component.constructor.prototype.addController.call(component, {
|
782
|
-
// Lit will call these callbacks
|
783
|
-
hostConnected,
|
784
|
-
hostDisconnected,
|
785
|
-
hostUpdate,
|
786
|
-
hostUpdated
|
787
|
-
});
|
788
|
-
} else {
|
789
|
-
component.connectedCallback = hostConnected;
|
790
|
-
component.disconnectedCallback = hostDisconnected;
|
791
|
-
component.componentWillLoad = this._load.bind(this);
|
792
|
-
component.componentDidLoad = this._loaded.bind(this);
|
793
|
-
component.componentWillUpdate = hostUpdate;
|
794
|
-
component.componentDidUpdate = hostUpdated;
|
795
|
-
}
|
796
|
-
if (this.hasDestroy) {
|
797
|
-
component.destroy = this.destroy.bind(this);
|
798
|
-
}
|
799
|
-
}
|
800
|
-
/**
|
801
|
-
* Private because this is not supposed to be called by Component directly.
|
802
|
-
* Instead, _bindLifecycleMethods will take care of that. Otherwise, you risk
|
803
|
-
* calling lifecycle methods twice.
|
804
|
-
*
|
805
|
-
* @internal
|
806
|
-
*/
|
807
|
-
_connectedCallback() {
|
808
|
-
if (this.destroyed) {
|
809
|
-
const tagName = this.component.el.tagName.toLowerCase();
|
810
|
-
this.component.el.remove();
|
811
|
-
throw new Error(
|
812
|
-
`The ${tagName} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${autoDestroyDisabledPropName} prop.`
|
813
|
-
);
|
814
|
-
}
|
815
|
-
if (this._autoDestroyTimeout !== void 0) {
|
816
|
-
clearTimeout(this._autoDestroyTimeout);
|
817
|
-
}
|
818
|
-
const internals = this.internals;
|
819
|
-
internals.enabledWatchers = internals.allWatchers;
|
820
|
-
keyTrackResolve();
|
821
|
-
internals.enableReadonly?.();
|
822
|
-
this._controllers.forEach(callConnected);
|
823
|
-
this._originalLifecycles._connectedCallback?.call(this.component);
|
824
|
-
}
|
825
|
-
/** @internal */
|
826
|
-
_disconnectedCallback() {
|
827
|
-
if (this.destroyed) {
|
828
|
-
return;
|
829
|
-
}
|
830
|
-
this._controllers.forEach(callDisconnected);
|
831
|
-
this._originalLifecycles._disconnectedCallback?.call(this.component);
|
832
|
-
if (this.hasDestroy) {
|
833
|
-
this._setAutoDestroyTimeout();
|
834
|
-
}
|
835
|
-
}
|
836
|
-
/** @internal */
|
837
|
-
async _load() {
|
838
|
-
const integrations = this.internals.reactiveUtilsIntegrations;
|
839
|
-
if (integrations.size > 0) {
|
840
|
-
for (const controller of integrations) {
|
841
|
-
if ("triggerLoad" in controller) {
|
842
|
-
await controller.triggerLoad();
|
843
|
-
} else {
|
844
|
-
await index.safeAsyncCall(controller.hostLoad, controller);
|
845
|
-
}
|
846
|
-
}
|
847
|
-
}
|
848
|
-
await Promise.allSettled(Array.from(this._controllers, callLoad, integrations));
|
849
|
-
await this._originalLifecycles._load?.call(this.component);
|
850
|
-
if (this.hasDestroy) {
|
851
|
-
watch(this.component, autoDestroyDisabledPropName, () => this._setAutoDestroyTimeout());
|
852
|
-
}
|
853
|
-
}
|
854
|
-
/** @internal */
|
855
|
-
_loaded() {
|
856
|
-
this._controllers.forEach(callLoaded);
|
857
|
-
this._originalLifecycles._loaded?.call(this.component);
|
858
|
-
}
|
859
|
-
_update() {
|
860
|
-
const maybeLitComponent = this.component;
|
861
|
-
this._controllers.forEach(callUpdate2, maybeLitComponent.$changes);
|
862
|
-
this._originalLifecycles._willUpdate?.call(this.component);
|
863
|
-
}
|
864
|
-
_updated() {
|
865
|
-
const maybeLitComponent = this.component;
|
866
|
-
this._controllers.forEach(callUpdated, maybeLitComponent.$changes);
|
867
|
-
this._originalLifecycles._updated?.call(this.component);
|
868
|
-
if (this.isLit) {
|
869
|
-
maybeLitComponent.$changes = /* @__PURE__ */ new Map();
|
870
|
-
} else {
|
871
|
-
const updatePromise = this._updatePromise;
|
872
|
-
this._updatePromise = new index.Deferred();
|
873
|
-
updatePromise.resolve(true);
|
874
|
-
}
|
875
|
-
}
|
876
|
-
async destroy() {
|
877
|
-
if (this.destroyed) {
|
878
|
-
return;
|
879
|
-
}
|
880
|
-
if (this.component.el.isConnected) {
|
881
|
-
this.hasDestroy = false;
|
882
|
-
try {
|
883
|
-
this.component.el.remove();
|
884
|
-
} finally {
|
885
|
-
this.hasDestroy = true;
|
886
|
-
}
|
887
|
-
}
|
888
|
-
this._autoDestroyTimeout = void 0;
|
889
|
-
this.destroyed = true;
|
890
|
-
this._controllers.forEach(callDestroy);
|
891
|
-
this._controllers.clear();
|
892
|
-
await this._originalLifecycles._destroy?.call(this.component);
|
893
|
-
}
|
894
|
-
_setAutoDestroyTimeout() {
|
895
|
-
if (this._autoDestroyTimeout !== void 0) {
|
896
|
-
clearTimeout(this._autoDestroyTimeout);
|
897
|
-
}
|
898
|
-
if (!this.component.el.isConnected && !this.component.autoDestroyDisabled) {
|
899
|
-
const destroy = () => void this.destroy().catch(console.error);
|
900
|
-
{
|
901
|
-
this._autoDestroyTimeout = index.devToolsAwareTimeout(destroy, autoDestroyOnDisconnectTimeout);
|
902
|
-
}
|
903
|
-
}
|
904
|
-
}
|
905
|
-
};
|
906
|
-
var autoDestroyDisabledPropName = "autoDestroyDisabled";
|
907
|
-
var autoDestroyOnDisconnectTimeout = 1e3;
|
908
|
-
var defaultGetterSetter = (value) => value;
|
909
|
-
function callConnected(controller) {
|
910
|
-
if ("triggerConnected" in controller) {
|
911
|
-
controller.triggerConnected();
|
912
|
-
} else {
|
913
|
-
index.safeCall(controller.hostConnected, controller);
|
914
|
-
}
|
915
|
-
}
|
916
|
-
function callDisconnected(controller) {
|
917
|
-
if ("triggerDisconnected" in controller) {
|
918
|
-
controller.triggerDisconnected();
|
919
|
-
} else {
|
920
|
-
index.safeCall(controller.hostDisconnected, controller);
|
921
|
-
}
|
922
|
-
}
|
923
|
-
async function callLoad(controller) {
|
924
|
-
if (!this.has(controller)) {
|
925
|
-
if ("triggerLoad" in controller) {
|
926
|
-
await controller.triggerLoad();
|
927
|
-
} else {
|
928
|
-
await index.safeAsyncCall(controller.hostLoad, controller);
|
929
|
-
}
|
930
|
-
}
|
931
|
-
}
|
932
|
-
function callLoaded(controller) {
|
933
|
-
if ("triggerLoaded" in controller) {
|
934
|
-
controller.triggerLoaded();
|
935
|
-
} else {
|
936
|
-
index.safeCall(controller.hostLoaded, controller);
|
937
|
-
}
|
938
|
-
}
|
939
|
-
function callUpdate2(controller) {
|
940
|
-
if ("triggerUpdate" in controller) {
|
941
|
-
controller.triggerUpdate(this);
|
942
|
-
} else {
|
943
|
-
index.safeCall(controller.hostUpdate, controller, this);
|
944
|
-
}
|
945
|
-
}
|
946
|
-
function callUpdated(controller) {
|
947
|
-
if ("triggerUpdated" in controller) {
|
948
|
-
controller.triggerUpdated(this);
|
949
|
-
} else {
|
950
|
-
index.safeCall(controller.hostUpdated, controller, this);
|
951
|
-
}
|
952
|
-
}
|
953
|
-
function callDestroy(controller) {
|
954
|
-
if ("triggerDestroy" in controller) {
|
955
|
-
controller.triggerDestroy();
|
956
|
-
} else {
|
957
|
-
index.safeCall(controller.hostDestroy, controller);
|
958
|
-
}
|
959
|
-
}
|
960
|
-
function trackPropKey(component, onResolved, defaultValue) {
|
961
|
-
const internals = component.manager.internals;
|
962
|
-
if (internals.trackedValue !== nothing && internals.trackedValue !== defaultValue) {
|
963
|
-
internals.firePropTrackers(void 0, void 0);
|
964
|
-
}
|
965
|
-
if (internals.keyTrackers.length === 0) {
|
966
|
-
queueMicrotask(() => internals.firePropTrackers(void 0, void 0));
|
967
|
-
}
|
968
|
-
internals.trackedValue = defaultValue;
|
969
|
-
internals.keyTrackers.push((key, value) => index.safeCall(onResolved, void 0, defaultValue === value ? key : void 0));
|
970
|
-
return defaultValue;
|
971
|
-
}
|
972
|
-
|
973
|
-
// src/trackKey.ts
|
974
|
-
function trackKey(hostsCandidates, onResolved, defaultValue) {
|
975
|
-
const candidateHosts = Array.isArray(hostsCandidates) ? hostsCandidates : [hostsCandidates];
|
976
|
-
let leftToResolve = candidateHosts.length + 1;
|
977
|
-
const resolved = (resolution) => {
|
978
|
-
leftToResolve -= 1;
|
979
|
-
if (resolution !== void 0) {
|
980
|
-
leftToResolve = Math.min(leftToResolve, 0);
|
981
|
-
}
|
982
|
-
if (leftToResolve === 0) {
|
983
|
-
onResolved(resolution);
|
984
|
-
}
|
985
|
-
};
|
986
|
-
candidateHosts.forEach(
|
987
|
-
(host) => trackPropertyKey(
|
988
|
-
host,
|
989
|
-
(key) => resolved(
|
990
|
-
key === void 0 ? void 0 : {
|
991
|
-
key,
|
992
|
-
host,
|
993
|
-
isReactive: false
|
994
|
-
}
|
995
|
-
),
|
996
|
-
defaultValue
|
997
|
-
)
|
998
|
-
);
|
999
|
-
const component = candidateHosts.find(
|
1000
|
-
(host) => "manager" in host && typeof host.manager === "object" && host.manager.component === host
|
1001
|
-
);
|
1002
|
-
if (component) {
|
1003
|
-
trackPropKey(
|
1004
|
-
component,
|
1005
|
-
(key) => resolved(
|
1006
|
-
key === void 0 ? void 0 : {
|
1007
|
-
key,
|
1008
|
-
host: component,
|
1009
|
-
isReactive: getMemberType(component, key) !== void 0
|
1010
|
-
}
|
1011
|
-
),
|
1012
|
-
defaultValue
|
1013
|
-
);
|
1014
|
-
}
|
1015
|
-
return defaultValue;
|
1016
|
-
}
|
1017
|
-
|
1018
|
-
// src/getSet.ts
|
1019
|
-
function getSet(defaultValue, getSet2) {
|
1020
|
-
const component = retrieveComponent();
|
1021
|
-
return trackPropKey(
|
1022
|
-
component,
|
1023
|
-
(rawName) => {
|
1024
|
-
const name2 = rawName;
|
1025
|
-
const manager = component.manager;
|
1026
|
-
const genericComponent = component;
|
1027
|
-
const value = genericComponent[name2];
|
1028
|
-
const isStencilHotReload = "production" !== "production" ;
|
1029
|
-
if (value != null && value !== defaultValue && typeof getSet2.set === "function" && !isStencilHotReload) {
|
1030
|
-
const newValue = getSet2.set(value, defaultValue, name2);
|
1031
|
-
if (newValue !== value) {
|
1032
|
-
if (manager.isLit) {
|
1033
|
-
genericComponent[name2] = newValue;
|
1034
|
-
} else {
|
1035
|
-
let firstConnected = true;
|
1036
|
-
manager.onConnected(() => {
|
1037
|
-
if (!firstConnected) {
|
1038
|
-
return;
|
1039
|
-
}
|
1040
|
-
firstConnected = true;
|
1041
|
-
bypassSetter(() => {
|
1042
|
-
genericComponent[name2] = newValue;
|
1043
|
-
});
|
1044
|
-
});
|
1045
|
-
}
|
1046
|
-
}
|
1047
|
-
}
|
1048
|
-
genericGetSet(component, name2, getSet2);
|
1049
|
-
},
|
1050
|
-
defaultValue
|
1051
|
-
);
|
1052
|
-
}
|
1053
|
-
function bypassSetter(callback) {
|
1054
|
-
shouldBypass.setter = true;
|
1055
|
-
try {
|
1056
|
-
return callback();
|
1057
|
-
} finally {
|
1058
|
-
shouldBypass.setter = false;
|
1059
|
-
}
|
1060
|
-
}
|
1061
|
-
function bypassGetter(callback) {
|
1062
|
-
shouldBypass.getter = true;
|
1063
|
-
try {
|
1064
|
-
return callback();
|
1065
|
-
} finally {
|
1066
|
-
shouldBypass.getter = false;
|
1067
|
-
}
|
1068
|
-
}
|
1069
|
-
function genericGetSet(component, property, getSet2) {
|
1070
|
-
var _a2, _b;
|
1071
|
-
const genericGetSet2 = getSet2;
|
1072
|
-
const internals = component.manager.internals;
|
1073
|
-
const get = typeof genericGetSet2.get === "function" ? genericGetSet2.get : void 0;
|
1074
|
-
if (get) {
|
1075
|
-
(_a2 = internals.getters)[property] ?? (_a2[property] = []);
|
1076
|
-
internals.getters[property].unshift(get);
|
1077
|
-
}
|
1078
|
-
const set = genericGetSet2.set === "ignore" ? ignoreSet : genericGetSet2.set;
|
1079
|
-
if (set) {
|
1080
|
-
(_b = internals.setters)[property] ?? (_b[property] = []);
|
1081
|
-
internals.setters[property].unshift(
|
1082
|
-
set
|
1083
|
-
);
|
1084
|
-
}
|
1085
|
-
}
|
1086
|
-
var ignoreSet = (_, value) => value;
|
1087
|
-
|
1088
|
-
// src/readonly.ts
|
1089
|
-
function readonly(value) {
|
1090
|
-
const component = retrieveComponent();
|
1091
|
-
return getSet(value, { set: component.manager.internals.readonlySetter });
|
1092
|
-
}
|
1093
|
-
function bypassReadOnly(callback) {
|
1094
|
-
shouldBypass.readOnly = true;
|
1095
|
-
try {
|
1096
|
-
return callback();
|
1097
|
-
} finally {
|
1098
|
-
shouldBypass.readOnly = false;
|
1099
|
-
}
|
1100
|
-
}
|
1101
|
-
|
1102
|
-
// src/proxyExports.ts
|
1103
|
-
var proxyExports = (Class) => (...args) => {
|
1104
|
-
const ambientControllers2 = retrieveParentControllers();
|
1105
|
-
const instance = new Class(...args);
|
1106
|
-
const initialExports = instance.exports;
|
1107
|
-
setParentController(ambientControllers2.at(-1));
|
1108
|
-
const internals = instance.component.manager.internals;
|
1109
|
-
internals.markExports(instance, initialExports);
|
1110
|
-
instance.watchExports((exports) => internals.markExports(instance, exports));
|
1111
|
-
setAmbientChildController(instance);
|
1112
|
-
const hostCandidates = [instance.component, ...ambientControllers2].reverse();
|
1113
|
-
return trackKey(
|
1114
|
-
hostCandidates,
|
1115
|
-
(resolution) => resolution === void 0 ? void 0 : setProxy(instance, resolution, initialExports),
|
1116
|
-
initialExports
|
1117
|
-
);
|
1118
|
-
};
|
1119
|
-
function setProxy(controller, { host, key, isReactive: assignedToProp }, initialExports) {
|
1120
|
-
const genericHost = host;
|
1121
|
-
const controllerValueChanged = genericHost[key] !== controller.exports;
|
1122
|
-
const hostValueChanged = genericHost[key] !== initialExports;
|
1123
|
-
const controllerUpdatedExports = initialExports !== controller.exports;
|
1124
|
-
if (controllerValueChanged && !hostValueChanged && controllerUpdatedExports) {
|
1125
|
-
genericHost[key] = controller.exports;
|
1126
|
-
}
|
1127
|
-
const isProxyExportsOnComponent = host === controller.component;
|
1128
|
-
if (isProxyExportsOnComponent) {
|
1129
|
-
if (assignedToProp) {
|
1130
|
-
const internals = controller.component.manager.internals;
|
1131
|
-
if (hostValueChanged) {
|
1132
|
-
internals.markExports(controller, genericHost[key]);
|
1133
|
-
}
|
1134
|
-
watch(controller.component, key, (value) => {
|
1135
|
-
if (value !== controller.exports) {
|
1136
|
-
internals.markExports(controller, value);
|
1137
|
-
}
|
1138
|
-
});
|
1139
|
-
}
|
1140
|
-
controller.assignedProperty = assignedToProp ? void 0 : key;
|
1141
|
-
}
|
1142
|
-
controller.watchExports(() => {
|
1143
|
-
if (genericHost[key] === controller.exports) {
|
1144
|
-
return;
|
1145
|
-
}
|
1146
|
-
const manager = controller.component.manager;
|
1147
|
-
const isReadOnly = manager.internals.setters[key]?.includes(manager.internals.readonlySetter);
|
1148
|
-
if (isReadOnly) {
|
1149
|
-
bypassReadOnly(() => {
|
1150
|
-
genericHost[key] = controller.exports;
|
1151
|
-
});
|
1152
|
-
} else {
|
1153
|
-
genericHost[key] = controller.exports;
|
1154
|
-
}
|
1155
|
-
});
|
1156
|
-
}
|
1157
|
-
|
1158
|
-
var reactiveUtils;
|
1159
|
-
async function loadReactiveUtils() {
|
1160
|
-
reactiveUtils ?? (reactiveUtils = index.importCoreReactiveUtils());
|
1161
|
-
return await reactiveUtils;
|
1162
|
-
}
|
1163
|
-
var accessorPromise = Promise.all([index.importCoreAccessor(), index.importCoreAccessorSupportDecorators()]);
|
1164
|
-
var ReactiveUtilsIntegration = class extends Controller {
|
1165
|
-
async hostLoad() {
|
1166
|
-
const [Accessor, { subclass, property }] = await accessorPromise;
|
1167
|
-
class AccessorSubclass extends Accessor {
|
1168
|
-
}
|
1169
|
-
const getter = (_value, propertyName) => accessor[propertyName];
|
1170
|
-
function setter(newValue, _oldValue, propertyName) {
|
1171
|
-
if (accessor !== void 0) {
|
1172
|
-
accessor[propertyName] = newValue;
|
1173
|
-
}
|
1174
|
-
return newValue;
|
1175
|
-
}
|
1176
|
-
const component = this.component;
|
1177
|
-
const internals = component.manager.internals;
|
1178
|
-
const enabledMembers = [];
|
1179
|
-
bypassGetter(
|
1180
|
-
() => Object.keys(internals.members).forEach((name) => {
|
1181
|
-
const alreadyIntegrated = internals.accessorSetter[name] !== defaultGetterSetter;
|
1182
|
-
if (alreadyIntegrated) {
|
1183
|
-
return;
|
1184
|
-
}
|
1185
|
-
enabledMembers.push(name);
|
1186
|
-
internals.accessorGetter[name] = getter;
|
1187
|
-
internals.accessorSetter[name] = setter;
|
1188
|
-
property({
|
1189
|
-
value: component[name]
|
1190
|
-
})(AccessorSubclass.prototype, name);
|
1191
|
-
})
|
1192
|
-
);
|
1193
|
-
this._enabledMembers = enabledMembers;
|
1194
|
-
if (enabledMembers.length === 0) {
|
1195
|
-
return;
|
1196
|
-
}
|
1197
|
-
const Subclass = subclass(component.el.tagName)(AccessorSubclass);
|
1198
|
-
const accessor = new Subclass();
|
1199
|
-
this._instance = accessor;
|
1200
|
-
}
|
1201
|
-
controllerRemoved() {
|
1202
|
-
super.controllerRemoved();
|
1203
|
-
const internals = this.component.manager.internals;
|
1204
|
-
this._instance?.destroy();
|
1205
|
-
this._enabledMembers?.forEach((name) => {
|
1206
|
-
internals.accessorGetter[name] = defaultGetterSetter;
|
1207
|
-
internals.accessorSetter[name] = defaultGetterSetter;
|
1208
|
-
});
|
1209
|
-
}
|
1210
|
-
};
|
1211
|
-
|
1212
|
-
// src/accessor/useAccessor.ts
|
1213
|
-
var makeAccessorController = (loadAccessor, _options) => (component, options) => proxy(component, loadAccessor, options);
|
1214
|
-
var AccessorController = class extends GenericController {
|
1215
|
-
constructor(component, _loadAccessor, _options) {
|
1216
|
-
super(component);
|
1217
|
-
this._loadAccessor = _loadAccessor;
|
1218
|
-
this._options = _options;
|
1219
|
-
// A mapping from bound component's "prop" name to Accessor instance's "property"
|
1220
|
-
this._watchedProperties = /* @__PURE__ */ new Map();
|
1221
|
-
this._isBinding = { value: true };
|
1222
|
-
this.setProvisionalExports(
|
1223
|
-
accessorSupport.makeGetterProxy(
|
1224
|
-
component,
|
1225
|
-
this._watchedProperties,
|
1226
|
-
this._isBinding,
|
1227
|
-
this.constructor.allowedPropNameMismatches
|
1228
|
-
)
|
1229
|
-
);
|
1230
|
-
const integrations = component.manager.internals.reactiveUtilsIntegrations;
|
1231
|
-
integrations.add(this);
|
1232
|
-
const reactiveUtilsIntegration = Array.from(integrations).find(
|
1233
|
-
(integration) => integration instanceof ReactiveUtilsIntegration
|
1234
|
-
);
|
1235
|
-
if (reactiveUtilsIntegration) {
|
1236
|
-
integrations.delete(reactiveUtilsIntegration);
|
1237
|
-
}
|
1238
|
-
integrations.add(reactiveUtilsIntegration ?? new ReactiveUtilsIntegration(this.component));
|
1239
|
-
trackPropKey(
|
1240
|
-
component,
|
1241
|
-
(resolved) => {
|
1242
|
-
if (resolved) {
|
1243
|
-
this._instancePropName = resolved;
|
1244
|
-
}
|
1245
|
-
},
|
1246
|
-
this.exports
|
1247
|
-
);
|
1248
|
-
}
|
1249
|
-
hostConnected() {
|
1250
|
-
this._isBinding.value = false;
|
1251
|
-
}
|
1252
|
-
async hostLoad() {
|
1253
|
-
this.reactiveUtils = await loadReactiveUtils();
|
1254
|
-
const component = this.component;
|
1255
|
-
const parameters = this._gatherParameters();
|
1256
|
-
const finalParameters = this._options?.editConstructorProperties?.call(component, parameters) ?? parameters;
|
1257
|
-
const awaitedParameters = finalParameters instanceof Promise ? await finalParameters : finalParameters;
|
1258
|
-
const genericComponent = component;
|
1259
|
-
const existingInstance = typeof this._instancePropName === "string" ? genericComponent[this._instancePropName] : void 0;
|
1260
|
-
const hasInstance = existingInstance != null && existingInstance !== this.exports;
|
1261
|
-
if (hasInstance) {
|
1262
|
-
this._instance = existingInstance;
|
1263
|
-
existingInstance.set(awaitedParameters);
|
1264
|
-
} else {
|
1265
|
-
this._instance = await this._createInstance(awaitedParameters);
|
1266
|
-
}
|
1267
|
-
if (component.manager.destroyed) {
|
1268
|
-
return;
|
1269
|
-
}
|
1270
|
-
accessorSupport.watchComponentUpdates(this, this._instance, this._watchedProperties);
|
1271
|
-
accessorSupport.watchAccessorUpdates(this, this._instance, this._watchedProperties);
|
1272
|
-
this.exports = this._instance;
|
1273
|
-
}
|
1274
|
-
_gatherParameters() {
|
1275
|
-
const data = Object.fromEntries(
|
1276
|
-
Array.from(
|
1277
|
-
this._watchedProperties,
|
1278
|
-
([prop, property]) => [property, this.component[prop]]
|
1279
|
-
).filter(([, value]) => value !== void 0)
|
1280
|
-
);
|
1281
|
-
const props = data ;
|
1282
|
-
return props;
|
1283
|
-
}
|
1284
|
-
async _createInstance(parameters) {
|
1285
|
-
if (this._isAccessorConstructor(this._loadAccessor)) {
|
1286
|
-
return new this._loadAccessor(parameters);
|
1287
|
-
} else {
|
1288
|
-
return await this._loadAccessor(parameters);
|
1289
|
-
}
|
1290
|
-
}
|
1291
|
-
_isAccessorConstructor(loader) {
|
1292
|
-
return "prototype" in loader && "declaredClass" in loader.prototype;
|
1293
|
-
}
|
1294
|
-
hostDestroy() {
|
1295
|
-
if (this._instance) {
|
1296
|
-
this._instance.destroy();
|
1297
|
-
}
|
1298
|
-
}
|
1299
|
-
async reCreate() {
|
1300
|
-
this.hostDestroy();
|
1301
|
-
await this.hostLoad();
|
1302
|
-
}
|
1303
|
-
};
|
1304
|
-
var proxy = proxyExports(AccessorController);
|
1305
|
-
var accessorSupport = {
|
1306
|
-
makeGetterProxy: (component, watchedProperties, isBinding, allowedPropNameMismatches) => new Proxy(
|
1307
|
-
{},
|
1308
|
-
{
|
1309
|
-
/*
|
1310
|
-
* Without this, makeProvisionalValue() will throw on accessing
|
1311
|
-
* non-existent prop
|
1312
|
-
*/
|
1313
|
-
has: (target, prop) => typeof prop === "string" || prop in target,
|
1314
|
-
get: (target, prop) => {
|
1315
|
-
const value = Reflect.get(target, prop);
|
1316
|
-
if (typeof prop === "symbol" || prop in Promise.prototype) {
|
1317
|
-
return value;
|
1318
|
-
}
|
1319
|
-
const hasProp = prop in target;
|
1320
|
-
const doBinding = isBinding?.value ?? true;
|
1321
|
-
if (hasProp || !doBinding) {
|
1322
|
-
return value;
|
1323
|
-
}
|
1324
|
-
return trackKey(
|
1325
|
-
component,
|
1326
|
-
(resolved) => {
|
1327
|
-
if (resolved !== void 0) {
|
1328
|
-
watchedProperties.set(resolved.key, prop);
|
1329
|
-
}
|
1330
|
-
},
|
1331
|
-
value
|
1332
|
-
);
|
1333
|
-
}
|
1334
|
-
}
|
1335
|
-
),
|
1336
|
-
// Update Accessor on component prop change
|
1337
|
-
watchComponentUpdates(controller, instance, watchedProperties) {
|
1338
|
-
function getter(_value, propName) {
|
1339
|
-
const propertyName = watchedProperties.get(propName);
|
1340
|
-
const value = instance[propertyName];
|
1341
|
-
const flipBoolean = typeof value === "boolean" && propertyName !== propName && propName.toLowerCase().includes("disable");
|
1342
|
-
return flipBoolean ? !value : value;
|
1343
|
-
}
|
1344
|
-
const setter = (newValue, _oldValue, propName) => {
|
1345
|
-
const propertyName = watchedProperties.get(propName);
|
1346
|
-
const value = instance[propertyName];
|
1347
|
-
const flipBoolean = typeof value === "boolean" && propertyName !== propName && propName.toLowerCase().includes("disable");
|
1348
|
-
const currentValue = flipBoolean ? !value : component.manager.isLit ? value ?? void 0 : value;
|
1349
|
-
if (currentValue === newValue) {
|
1350
|
-
return newValue;
|
1351
|
-
}
|
1352
|
-
instance[propertyName] = flipBoolean ? !newValue : newValue;
|
1353
|
-
const finalValue = instance[propertyName];
|
1354
|
-
return flipBoolean ? !finalValue : finalValue;
|
1355
|
-
};
|
1356
|
-
const component = controller.component;
|
1357
|
-
const internals = component.manager.internals;
|
1358
|
-
watchedProperties.forEach((_propName, propertyName) => {
|
1359
|
-
internals.accessorGetter[propertyName] = getter;
|
1360
|
-
internals.accessorSetter[propertyName] = setter;
|
1361
|
-
});
|
1362
|
-
},
|
1363
|
-
// Update component on Accessor prop change
|
1364
|
-
watchAccessorUpdates(controller, instance, watchedProperties) {
|
1365
|
-
const { component } = controller;
|
1366
|
-
const genericComponent = component;
|
1367
|
-
const genericInstance = instance;
|
1368
|
-
const readonlyProps = findReadOnlyAccessorProps(instance);
|
1369
|
-
bypassGetter(
|
1370
|
-
() => (
|
1371
|
-
// Careful: Map's forEach callback arguments are (value, key), not (key, value)
|
1372
|
-
watchedProperties.forEach((propertyName, propName) => {
|
1373
|
-
if (readonlyProps.has(propertyName)) {
|
1374
|
-
return;
|
1375
|
-
}
|
1376
|
-
const domValue = genericComponent[propName];
|
1377
|
-
let modelValue = genericInstance[propertyName];
|
1378
|
-
if (component.manager.isLit) {
|
1379
|
-
modelValue ?? (modelValue = void 0);
|
1380
|
-
}
|
1381
|
-
const flipBoolean = typeof domValue === "boolean" && propertyName !== propName && propName.toLowerCase().includes("disable");
|
1382
|
-
const resolvedDomValue = flipBoolean ? !domValue : domValue;
|
1383
|
-
if (resolvedDomValue != null && modelValue !== resolvedDomValue) {
|
1384
|
-
genericInstance[propertyName] = resolvedDomValue;
|
1385
|
-
}
|
1386
|
-
})
|
1387
|
-
)
|
1388
|
-
);
|
1389
|
-
controller.onLifecycle(() => {
|
1390
|
-
if (instance.destroyed) {
|
1391
|
-
return;
|
1392
|
-
}
|
1393
|
-
return Array.from(
|
1394
|
-
watchedProperties,
|
1395
|
-
([propName, propertyName]) => controller.reactiveUtils.watch(
|
1396
|
-
() => genericInstance[propertyName],
|
1397
|
-
() => {
|
1398
|
-
const newValue = genericInstance[propertyName];
|
1399
|
-
const flipBoolean = typeof newValue === "boolean" && propertyName !== propName && propName.toLowerCase().includes("disable");
|
1400
|
-
const resolvedNewValue = flipBoolean ? !newValue : newValue;
|
1401
|
-
bypassSetter(() => {
|
1402
|
-
genericComponent[propName] = resolvedNewValue;
|
1403
|
-
});
|
1404
|
-
},
|
1405
|
-
{ initial: true }
|
1406
|
-
)
|
1407
|
-
);
|
1408
|
-
});
|
1409
|
-
},
|
1410
|
-
// REFACTOR: remove this once Stencil is no longer supported
|
1411
|
-
reEmitAccessorEvents(controller, instance, reactiveUtils2, prefix) {
|
1412
|
-
const isEvented = "on" in instance && typeof instance.on === "function";
|
1413
|
-
if (!isEvented) {
|
1414
|
-
return;
|
1415
|
-
}
|
1416
|
-
const toListen = Object.entries(controller.component).map(([key, unknown]) => {
|
1417
|
-
const value = unknown;
|
1418
|
-
if (!key.startsWith(prefix) || key === prefix || typeof value !== "object" || value === null || !("emit" in value) || typeof value.emit !== "function") {
|
1419
|
-
return void 0;
|
1420
|
-
}
|
1421
|
-
const emit = value.emit;
|
1422
|
-
const trimmedEventName = key.slice(prefix.length);
|
1423
|
-
const camelCaseEventName = index.camelToKebab(trimmedEventName);
|
1424
|
-
const eventName = camelCaseEventName.toLowerCase();
|
1425
|
-
return [eventName, emit];
|
1426
|
-
}).filter(index.isNotUndefined);
|
1427
|
-
if (toListen.length === 0) {
|
1428
|
-
return;
|
1429
|
-
}
|
1430
|
-
const eventTarget = instance;
|
1431
|
-
const getEventTarget = () => eventTarget;
|
1432
|
-
controller.onLifecycle(() => {
|
1433
|
-
if (instance.destroyed) {
|
1434
|
-
return;
|
1435
|
-
}
|
1436
|
-
return toListen.map(([eventName, emit]) => reactiveUtils2.on(getEventTarget, eventName, emit));
|
1437
|
-
});
|
1438
|
-
},
|
1439
|
-
async reCreate(instance, component) {
|
1440
|
-
const accessorController = component.manager.useRefSync(instance);
|
1441
|
-
if (accessorController === void 0) {
|
1442
|
-
return;
|
1443
|
-
}
|
1444
|
-
await accessorController.reCreate();
|
1445
|
-
}
|
1446
|
-
};
|
1447
|
-
function findReadOnlyAccessorProps(instance) {
|
1448
|
-
const accessor = instance;
|
1449
|
-
const properties = Object.entries(accessor.__accessor__?.metadata ?? {});
|
1450
|
-
return new Set(
|
1451
|
-
properties.filter(([_property, descriptor]) => descriptor?.readOnly === true).map(([property]) => property)
|
1452
|
-
);
|
1453
|
-
}
|
1454
|
-
|
1455
|
-
exports.AccessorController = AccessorController;
|
1456
|
-
exports.Controller = Controller;
|
1457
|
-
exports.accessorSupport = accessorSupport;
|
1458
|
-
exports.getSet = getSet;
|
1459
|
-
exports.makeAccessorController = makeAccessorController;
|
1460
|
-
exports.proxyExports = proxyExports;
|
1461
|
-
exports.readonly = readonly;
|
1462
|
-
exports.setAmbientComponent = setAmbientComponent;
|
1463
|
-
exports.trackPropKey = trackPropKey;
|
1464
|
-
exports.useControllerManager = useControllerManager;
|
1465
|
-
exports.watch = watch;
|