@arcgis/map-components 4.31.0-next.98 → 4.32.0-next.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/arcgis-map-components/26RVOVEC.js +6 -0
- package/dist/arcgis-map-components/2V6UXU6P.js +6 -0
- package/dist/arcgis-map-components/327OXNT5.js +6 -0
- package/dist/arcgis-map-components/3CKLCOIH.js +6 -0
- package/dist/arcgis-map-components/3R2MPXOH.js +6 -0
- package/dist/arcgis-map-components/3R7EOYY3.js +6 -0
- package/dist/arcgis-map-components/46EZ5CLU.js +6 -0
- package/dist/arcgis-map-components/577SG2LO.js +6 -0
- package/dist/arcgis-map-components/674RWNZK.js +6 -0
- package/dist/arcgis-map-components/6TSLGWQT.js +6 -0
- package/dist/arcgis-map-components/6ZWNHYVL.js +6 -0
- package/dist/arcgis-map-components/73ZPAYZL.js +6 -0
- package/dist/arcgis-map-components/74C4V7KH.js +6 -0
- package/dist/arcgis-map-components/74DFQCVS.js +6 -0
- package/dist/arcgis-map-components/AHIVLV3N.js +6 -0
- package/dist/arcgis-map-components/B6Z3K5E6.js +6 -0
- package/dist/arcgis-map-components/BODCRIXB.js +6 -0
- package/dist/arcgis-map-components/C7HA6EHC.js +6 -0
- package/dist/arcgis-map-components/D4XIASG2.js +6 -0
- package/dist/arcgis-map-components/DQK27YBW.js +6 -0
- package/dist/arcgis-map-components/EFVHFMSS.js +6 -0
- package/dist/arcgis-map-components/EQTBXL27.js +6 -0
- package/dist/arcgis-map-components/FKQWYYJJ.js +6 -0
- package/dist/arcgis-map-components/G6YHMY2X.js +6 -0
- package/dist/arcgis-map-components/GGMK22ZD.js +6 -0
- package/dist/arcgis-map-components/GMTDFL22.js +6 -0
- package/dist/arcgis-map-components/HEBIFCHW.js +6 -0
- package/dist/arcgis-map-components/HNDOGSLA.js +6 -0
- package/dist/arcgis-map-components/JD3NDKYH.js +6 -0
- package/dist/arcgis-map-components/JHGXWM55.js +6 -0
- package/dist/arcgis-map-components/KF46FZNO.js +6 -0
- package/dist/arcgis-map-components/KGEFWFO6.js +6 -0
- package/dist/arcgis-map-components/KRNTNUDC.js +6 -0
- package/dist/arcgis-map-components/LDDW6F6M.js +6 -0
- package/dist/arcgis-map-components/LMZOA6VS.js +8 -0
- package/dist/arcgis-map-components/LQPFVUFQ.js +6 -0
- package/dist/arcgis-map-components/MCZ4R2D2.js +6 -0
- package/dist/arcgis-map-components/MOMHFVR6.js +6 -0
- package/dist/arcgis-map-components/MPO7H3FA.js +6 -0
- package/dist/arcgis-map-components/MXAGX7OA.js +6 -0
- package/dist/arcgis-map-components/NAY7H67N.js +6 -0
- package/dist/arcgis-map-components/OTOXD6WT.js +6 -0
- package/dist/arcgis-map-components/OUFCLRMG.js +6 -0
- package/dist/arcgis-map-components/P3X6SURG.js +6 -0
- package/dist/arcgis-map-components/QCYUUWJP.js +6 -0
- package/dist/arcgis-map-components/QJE6C2KB.js +6 -0
- package/dist/arcgis-map-components/QMWMI2KR.js +6 -0
- package/dist/arcgis-map-components/QWQXCAI5.js +6 -0
- package/dist/arcgis-map-components/RHLWBYBO.js +6 -0
- package/dist/arcgis-map-components/RVUHEIL2.js +6 -0
- package/dist/arcgis-map-components/SOKO6DPY.js +6 -0
- package/dist/arcgis-map-components/SPLN4VXX.js +6 -0
- package/dist/arcgis-map-components/T73URWJF.js +6 -0
- package/dist/arcgis-map-components/TOG7VHWN.js +6 -0
- package/dist/arcgis-map-components/TOS6QE45.js +6 -0
- package/dist/arcgis-map-components/TY4LRMYB.js +6 -0
- package/dist/arcgis-map-components/U3A7NBMN.js +6 -0
- package/dist/arcgis-map-components/VURDEWQI.js +6 -0
- package/dist/arcgis-map-components/W5BYKY5K.js +6 -0
- package/dist/arcgis-map-components/WAIK2ZZN.js +6 -0
- package/dist/arcgis-map-components/WLPAGIVE.js +6 -0
- package/dist/arcgis-map-components/XAOANEKX.js +6 -0
- package/dist/arcgis-map-components/XL42GVGB.js +6 -0
- package/dist/arcgis-map-components/XRJ6T3QX.js +6 -0
- package/dist/arcgis-map-components/Y7DD72RA.js +6 -0
- package/dist/arcgis-map-components/YAS7GDPA.js +6 -0
- package/dist/arcgis-map-components/YRMMQFCN.js +6 -0
- package/dist/arcgis-map-components/YYYNB4EI.js +6 -0
- package/dist/arcgis-map-components/Z6FLHF4Y.js +6 -0
- package/dist/arcgis-map-components/ZATBD4AU.js +6 -0
- package/dist/arcgis-map-components/ZJDGS42S.js +6 -0
- package/dist/arcgis-map-components/arcgis-map-components.css +1 -0
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +4 -4
- 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 -8369
- 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 +57 -29
- package/dist/arcgis-map-components/index.esm.js +0 -5
- package/dist/arcgis-map-components/p-09daa12c.entry.js +0 -6
- package/dist/arcgis-map-components/p-0b10ab85.entry.js +0 -6
- package/dist/arcgis-map-components/p-0c89ed36.entry.js +0 -6
- package/dist/arcgis-map-components/p-113c760e.entry.js +0 -6
- package/dist/arcgis-map-components/p-1471f798.entry.js +0 -6
- package/dist/arcgis-map-components/p-194c9bb2.entry.js +0 -6
- package/dist/arcgis-map-components/p-1a7bc0aa.entry.js +0 -6
- package/dist/arcgis-map-components/p-24eb6d1b.js +0 -6
- package/dist/arcgis-map-components/p-26c27b52.js +0 -6
- package/dist/arcgis-map-components/p-2710cc39.entry.js +0 -6
- package/dist/arcgis-map-components/p-333018f0.entry.js +0 -6
- package/dist/arcgis-map-components/p-35215a92.entry.js +0 -6
- package/dist/arcgis-map-components/p-3f835ce0.entry.js +0 -6
- package/dist/arcgis-map-components/p-43ded72f.entry.js +0 -6
- package/dist/arcgis-map-components/p-4657a55e.entry.js +0 -6
- package/dist/arcgis-map-components/p-467a3ef9.entry.js +0 -6
- package/dist/arcgis-map-components/p-484f6ab3.js +0 -6
- package/dist/arcgis-map-components/p-492f1c2c.entry.js +0 -6
- package/dist/arcgis-map-components/p-4e3114d6.entry.js +0 -6
- package/dist/arcgis-map-components/p-4e572cb1.js +0 -7
- package/dist/arcgis-map-components/p-4f4648de.js +0 -6
- package/dist/arcgis-map-components/p-5753543f.entry.js +0 -6
- package/dist/arcgis-map-components/p-5adebef7.entry.js +0 -6
- package/dist/arcgis-map-components/p-5c1b188e.entry.js +0 -6
- package/dist/arcgis-map-components/p-5c5c23ec.entry.js +0 -6
- package/dist/arcgis-map-components/p-5db93b56.js +0 -6
- package/dist/arcgis-map-components/p-5ec62fb4.entry.js +0 -6
- package/dist/arcgis-map-components/p-607c3f02.entry.js +0 -6
- package/dist/arcgis-map-components/p-62063ad2.js +0 -6
- package/dist/arcgis-map-components/p-6b743acb.entry.js +0 -6
- package/dist/arcgis-map-components/p-6d43e136.entry.js +0 -6
- package/dist/arcgis-map-components/p-708cf7c3.entry.js +0 -6
- package/dist/arcgis-map-components/p-72f8577a.entry.js +0 -6
- package/dist/arcgis-map-components/p-73a6fe72.entry.js +0 -6
- package/dist/arcgis-map-components/p-78ec2f7e.entry.js +0 -6
- package/dist/arcgis-map-components/p-798b0b97.entry.js +0 -6
- package/dist/arcgis-map-components/p-7b7e4801.entry.js +0 -6
- package/dist/arcgis-map-components/p-7d5ad539.entry.js +0 -6
- package/dist/arcgis-map-components/p-7e080938.entry.js +0 -6
- package/dist/arcgis-map-components/p-7f59e072.entry.js +0 -6
- package/dist/arcgis-map-components/p-83ae543f.entry.js +0 -6
- package/dist/arcgis-map-components/p-86640deb.entry.js +0 -6
- package/dist/arcgis-map-components/p-9308b6ec.entry.js +0 -6
- package/dist/arcgis-map-components/p-94bfdb66.js +0 -6
- package/dist/arcgis-map-components/p-a406de12.js +0 -6
- package/dist/arcgis-map-components/p-a481663c.entry.js +0 -6
- package/dist/arcgis-map-components/p-a49938e8.entry.js +0 -6
- package/dist/arcgis-map-components/p-a52612c7.entry.js +0 -6
- package/dist/arcgis-map-components/p-ab8f67a2.entry.js +0 -6
- package/dist/arcgis-map-components/p-ac03e0cf.entry.js +0 -6
- package/dist/arcgis-map-components/p-aea3ec62.entry.js +0 -6
- package/dist/arcgis-map-components/p-afa0de82.entry.js +0 -6
- package/dist/arcgis-map-components/p-b2e33417.entry.js +0 -6
- package/dist/arcgis-map-components/p-bd10776e.entry.js +0 -6
- package/dist/arcgis-map-components/p-c0cae9a2.entry.js +0 -6
- package/dist/arcgis-map-components/p-c13be1de.entry.js +0 -6
- package/dist/arcgis-map-components/p-d2dbf6e0.entry.js +0 -6
- package/dist/arcgis-map-components/p-d6bbd321.js +0 -6
- package/dist/arcgis-map-components/p-d92f86fa.entry.js +0 -6
- package/dist/arcgis-map-components/p-d9ac76f1.entry.js +0 -6
- package/dist/arcgis-map-components/p-dfe9c3ba.entry.js +0 -6
- package/dist/arcgis-map-components/p-eb7c60e4.entry.js +0 -6
- package/dist/arcgis-map-components/p-f12536c2.entry.js +0 -6
- package/dist/arcgis-map-components/p-f1dc48ed.entry.js +0 -6
- package/dist/arcgis-map-components/p-f45af00a.entry.js +0 -6
- package/dist/arcgis-map-components/p-f5daccdf.entry.js +0 -6
- package/dist/arcgis-map-components/p-f781a140.entry.js +0 -6
- package/dist/arcgis-map-components/p-fd528297.entry.js +0 -6
- package/dist/arcgis-map-components/p-fe1c1876.entry.js +0 -6
- package/dist/cjs/app-globals-33fab07e.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 -92
- 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 -377
- 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 -233
- 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 -88
- 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 -313
- 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-01bf693b.js +0 -299
- package/dist/cjs/disconnected-e94c9a9a.js +0 -50
- package/dist/cjs/globalCss-41a8ef54.js +0 -52
- package/dist/cjs/index-3807d59e.js +0 -1129
- package/dist/cjs/index-5e9b05fd.js +0 -139
- package/dist/cjs/index-e02af421.js +0 -1905
- package/dist/cjs/index-f4c580a1.js +0 -1465
- package/dist/cjs/index.cjs.js +0 -7
- package/dist/cjs/loader.cjs.js +0 -20
- package/dist/cjs/useViewModel-a5125c03.js +0 -124
- package/dist/cjs/useWidget-bdbed993.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 -109
- 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 -251
- 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 -105
- 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 -331
- 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 -353
- 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 -289
- 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 -135
- 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-913cca84.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 -88
- 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 -372
- 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 -229
- 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 -84
- 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 -309
- 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-fef50fe4.js +0 -289
- package/dist/esm/disconnected-a8ea93b3.js +0 -48
- package/dist/esm/globalCss-94641557.js +0 -50
- package/dist/esm/index-00ee3636.js +0 -1874
- package/dist/esm/index-7153e8fb.js +0 -1453
- package/dist/esm/index-880a56ef.js +0 -135
- package/dist/esm/index-f390619b.js +0 -1030
- package/dist/esm/index.js +0 -5
- package/dist/esm/loader.js +0 -16
- package/dist/esm/useViewModel-df2c0c4a.js +0 -121
- package/dist/esm/useWidget-747e5aa5.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 -100
- package/dist/types/components/basemap-toggle/basemap-toggle.d.ts +0 -99
- 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 -76
- 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 -245
- 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 -90
- 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 -138
- package/dist/types/components/layer-list/layer-list.d.ts +0 -94
- 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 -128
- package/dist/types/components/map/map.d.ts +0 -391
- 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 -104
- package/dist/types/components/scale-range-slider/scale-range-slider.d.ts +0 -69
- package/dist/types/components/scene/scene.d.ts +0 -361
- 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 -99
- 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 -203
- package/dist/types/components/weather/weather.d.ts +0 -60
- package/dist/types/components/zoom/zoom.d.ts +0 -107
- 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 -65
- 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,1453 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
4
|
-
* v4.31.0-next.98
|
5
|
-
*/
|
6
|
-
import { c as isNotUndefined, d as safeCall, D as Deferred, e as safeAsyncCall, f as devToolsAwareTimeout, h as importCoreAccessor, j as importCoreAccessorSupportDecorators, k as camelToKebab, i as importCoreReactiveUtils } from './index-f390619b.js';
|
7
|
-
|
8
|
-
// src/framework.ts
|
9
|
-
function retrieveComponentMembers(component, isLit) {
|
10
|
-
if (isLit) {
|
11
|
-
const elementProperties = component.constructor.elementProperties;
|
12
|
-
component.manager.internals.members = Object.fromEntries(
|
13
|
-
Array.from(
|
14
|
-
elementProperties,
|
15
|
-
([name, descriptor]) => descriptor.noAccessor ? void 0 : [
|
16
|
-
name,
|
17
|
-
[
|
18
|
-
(descriptor.readOnly ? 2048 /* ReadOnly */ : 0) | (descriptor.state ? 32 /* State */ : 16 /* Unknown */)
|
19
|
-
]
|
20
|
-
]
|
21
|
-
).filter(isNotUndefined)
|
22
|
-
);
|
23
|
-
} else {
|
24
|
-
const constructor = component.constructor;
|
25
|
-
const members = constructor.__registerControllers?.(component) ?? void 0;
|
26
|
-
constructor.__registerControllers = void 0;
|
27
|
-
if (typeof members !== "object") {
|
28
|
-
throw new Error(
|
29
|
-
"Failed to retrieve component meta"
|
30
|
-
);
|
31
|
-
}
|
32
|
-
component.manager.internals.members = Object.fromEntries(
|
33
|
-
Object.entries(members).filter(([_name, [propType]]) => (propType & 63 /* PropLike */) !== 0)
|
34
|
-
);
|
35
|
-
}
|
36
|
-
}
|
37
|
-
function parsePropertyValue(value, type = 8 /* Any */) {
|
38
|
-
const isComplex = value == null || typeof value === "object" || typeof value === "function";
|
39
|
-
if (isComplex) {
|
40
|
-
return value;
|
41
|
-
}
|
42
|
-
if ((type & 4 /* Boolean */) !== 0) {
|
43
|
-
return value === "false" ? false : value === "" || !!value;
|
44
|
-
} else if ((type & 2 /* Number */) !== 0) {
|
45
|
-
return Number.parseFloat(value);
|
46
|
-
} else if ((type & 1 /* String */) !== 0) {
|
47
|
-
return String(value);
|
48
|
-
} else {
|
49
|
-
return value;
|
50
|
-
}
|
51
|
-
}
|
52
|
-
var getMemberType = (component, name) => component.manager.internals.members?.[name]?.[0];
|
53
|
-
|
54
|
-
// src/types.ts
|
55
|
-
var controllerSymbol = Symbol.for("controller");
|
56
|
-
|
57
|
-
// src/utils.ts
|
58
|
-
var isController = (value) => typeof value === "object" && value !== null && (controllerSymbol in value || "hostConnected" in value || "hostDisconnected" in value || "hostUpdate" in value || "hostUpdated" in value);
|
59
|
-
|
60
|
-
// src/ControllerInternals.ts
|
61
|
-
var ambientComponent;
|
62
|
-
function setAmbientComponent(component) {
|
63
|
-
if (ambientComponent === component) {
|
64
|
-
return;
|
65
|
-
}
|
66
|
-
ambientComponent = component;
|
67
|
-
queueMicrotask(() => {
|
68
|
-
if (ambientComponent === component) {
|
69
|
-
ambientComponent = void 0;
|
70
|
-
}
|
71
|
-
});
|
72
|
-
}
|
73
|
-
function retrieveComponent(name2) {
|
74
|
-
return ambientComponent;
|
75
|
-
}
|
76
|
-
var ambientControllers = [];
|
77
|
-
function setParentController(controller) {
|
78
|
-
if (controller === void 0) {
|
79
|
-
ambientControllers = [];
|
80
|
-
return;
|
81
|
-
}
|
82
|
-
const index = ambientControllers.indexOf(controller);
|
83
|
-
ambientControllers = index === -1 ? [...ambientControllers, controller] : ambientControllers.slice(0, index + 1);
|
84
|
-
queueMicrotask(() => {
|
85
|
-
ambientControllers = [];
|
86
|
-
});
|
87
|
-
}
|
88
|
-
function retrieveParentControllers() {
|
89
|
-
return ambientControllers;
|
90
|
-
}
|
91
|
-
var ambientChildController;
|
92
|
-
function setAmbientChildController(controller) {
|
93
|
-
if (ambientChildController === controller) {
|
94
|
-
return;
|
95
|
-
}
|
96
|
-
ambientChildController = controller;
|
97
|
-
queueMicrotask(() => {
|
98
|
-
if (ambientChildController === controller) {
|
99
|
-
ambientChildController = void 0;
|
100
|
-
}
|
101
|
-
});
|
102
|
-
}
|
103
|
-
function retrieveAmbientChildController() {
|
104
|
-
const controller = ambientChildController;
|
105
|
-
ambientChildController = void 0;
|
106
|
-
return controller;
|
107
|
-
}
|
108
|
-
var use = async (value, watchExports) => {
|
109
|
-
const controller = useRefSync(value);
|
110
|
-
if (controller === void 0) {
|
111
|
-
return value;
|
112
|
-
}
|
113
|
-
await controller.ready;
|
114
|
-
if (typeof watchExports === "function") {
|
115
|
-
const unsubscribe = controller.watchExports(
|
116
|
-
(exports) => watchExports(exports, unsubscribe)
|
117
|
-
);
|
118
|
-
}
|
119
|
-
return controller.exports;
|
120
|
-
};
|
121
|
-
var useRef = async (value) => {
|
122
|
-
const controller = useRefSync(value);
|
123
|
-
await controller.ready;
|
124
|
-
return controller;
|
125
|
-
};
|
126
|
-
var useRefSync = (value) => {
|
127
|
-
const ambientChildController2 = retrieveAmbientChildController();
|
128
|
-
if (ambientChildController2 !== void 0) {
|
129
|
-
return ambientChildController2;
|
130
|
-
}
|
131
|
-
const component = retrieveComponent();
|
132
|
-
const controller = component.manager.internals.resolveExports(value);
|
133
|
-
if (controller !== void 0) {
|
134
|
-
return controller;
|
135
|
-
}
|
136
|
-
if (isController(value)) {
|
137
|
-
return value;
|
138
|
-
}
|
139
|
-
return void 0;
|
140
|
-
};
|
141
|
-
var shouldBypass = {
|
142
|
-
setter: false,
|
143
|
-
getter: false,
|
144
|
-
readOnly: false
|
145
|
-
};
|
146
|
-
var elementToInstance = /* @__PURE__ */ new WeakMap();
|
147
|
-
var _a;
|
148
|
-
_a = controllerSymbol;
|
149
|
-
var Controller = class {
|
150
|
-
constructor(component) {
|
151
|
-
this._callbacks = {
|
152
|
-
hostConnected: [],
|
153
|
-
hostDisconnected: [],
|
154
|
-
hostLoad: [],
|
155
|
-
hostLoaded: [],
|
156
|
-
hostUpdate: [],
|
157
|
-
hostUpdated: [],
|
158
|
-
hostDestroy: [],
|
159
|
-
hostLifecycle: []
|
160
|
-
};
|
161
|
-
this._ready = new Deferred();
|
162
|
-
this._lifecycleCleanups = [];
|
163
|
-
this.connectedCalled = false;
|
164
|
-
this._loadCalled = false;
|
165
|
-
this.loadedCalled = false;
|
166
|
-
this[_a] = true;
|
167
|
-
this.ready = this._ready.promise;
|
168
|
-
/*
|
169
|
-
* Setting default exports to "this" so that controllers that don't use
|
170
|
-
* exports/proxyExports(), could still be used as if they did
|
171
|
-
* (i.e with controller.use)
|
172
|
-
*/
|
173
|
-
this._exports = makeProvisionalValue(this);
|
174
|
-
this._exportWatchers = /* @__PURE__ */ new Set();
|
175
|
-
const resolvedComponent = toControllerHost(component ?? retrieveComponent());
|
176
|
-
{
|
177
|
-
this.component = resolvedComponent;
|
178
|
-
}
|
179
|
-
this.component.addController(this);
|
180
|
-
setParentController(this);
|
181
|
-
const manager = this.component.manager;
|
182
|
-
const isInControllerManager = manager === void 0;
|
183
|
-
if (!isInControllerManager) {
|
184
|
-
queueMicrotask(() => this.catchUpLifecycle());
|
185
|
-
}
|
186
|
-
}
|
187
|
-
/**
|
188
|
-
* If controller is being added dynamically, after the component
|
189
|
-
* construction, then trigger connected and load right away
|
190
|
-
*/
|
191
|
-
catchUpLifecycle() {
|
192
|
-
const { manager } = this.component;
|
193
|
-
const connectedWillStillHappen = !manager.connectedCalled;
|
194
|
-
if (!connectedWillStillHappen && !this.connectedCalled) {
|
195
|
-
this.triggerConnected();
|
196
|
-
}
|
197
|
-
const loadWillStillHappen = !manager._loadCalled;
|
198
|
-
if (loadWillStillHappen) {
|
199
|
-
return;
|
200
|
-
}
|
201
|
-
this.triggerLoad().then(() => {
|
202
|
-
const loadedWillStillHappen = !manager.loadedCalled;
|
203
|
-
if (loadedWillStillHappen) {
|
204
|
-
return;
|
205
|
-
}
|
206
|
-
this.triggerLoaded();
|
207
|
-
}).catch(console.error);
|
208
|
-
}
|
209
|
-
get exports() {
|
210
|
-
return this._exports;
|
211
|
-
}
|
212
|
-
/**
|
213
|
-
* Set controller's exports property (for usage with proxyExports()) and mark
|
214
|
-
* controller as ready (for usage in other controllers). Also, triggers
|
215
|
-
* re-render of the component
|
216
|
-
*/
|
217
|
-
set exports(exports) {
|
218
|
-
const oldExports = this._exports;
|
219
|
-
if (oldExports !== exports) {
|
220
|
-
this._exports = exports;
|
221
|
-
this._exportWatchers.forEach(safeCall);
|
222
|
-
if (this.connectedCalled && this.assignedProperty !== false) {
|
223
|
-
this.component.requestUpdate(this.assignedProperty, oldExports);
|
224
|
-
}
|
225
|
-
}
|
226
|
-
this._ready.resolve(exports);
|
227
|
-
}
|
228
|
-
setProvisionalExports(exports) {
|
229
|
-
this._exports = makeProvisionalValue(exports);
|
230
|
-
this._exportWatchers.forEach(safeCall);
|
231
|
-
}
|
232
|
-
watchExports(callback) {
|
233
|
-
const safeCallback = () => callback(this._exports);
|
234
|
-
this._exportWatchers.add(safeCallback);
|
235
|
-
return () => void this._exportWatchers.delete(safeCallback);
|
236
|
-
}
|
237
|
-
/**
|
238
|
-
* A flexible utility for making sure a controller is loaded before it's used,
|
239
|
-
* regardless of how or where a controller was defined:
|
240
|
-
*
|
241
|
-
* @example
|
242
|
-
* makeGenericController(async (component, controller) => {
|
243
|
-
* // Await some controller from the component:
|
244
|
-
* await controller.use(component.someController);
|
245
|
-
* // Initialize new controllers
|
246
|
-
* await controller.use(load(importCoreReactiveUtils));
|
247
|
-
* await controller.use(new ViewModelController(component,newWidgetsHomeHomeViewModel));
|
248
|
-
* await controller.use(someController(component));
|
249
|
-
* });
|
250
|
-
*
|
251
|
-
* @remarks
|
252
|
-
* If your controller is not async, and you are not creating it async, then
|
253
|
-
* you are not required to use controller.use - you can use it directly.
|
254
|
-
* Similarly, accessing controllers after componentWillLoad callback does not
|
255
|
-
* require awaiting them as they are guaranteed to be loaded by then.
|
256
|
-
*/
|
257
|
-
get use() {
|
258
|
-
setAmbientComponent(this.component);
|
259
|
-
return use;
|
260
|
-
}
|
261
|
-
/**
|
262
|
-
* Just like controller.use, but returns the controller itself, rather than it's
|
263
|
-
* exports
|
264
|
-
*
|
265
|
-
* Use cases:
|
266
|
-
* - You have a controller and you want to make sure it's loaded before you
|
267
|
-
* try to use it
|
268
|
-
* - Your controller is not using exports, so you wish to access some props on
|
269
|
-
* it directly
|
270
|
-
* - You have a controller exports only, and you want to retrieve the
|
271
|
-
* controller itself. This is useful if you wish to call .watchExports() or
|
272
|
-
* some other method on the controller
|
273
|
-
*/
|
274
|
-
get useRef() {
|
275
|
-
setAmbientComponent(this.component);
|
276
|
-
return useRef;
|
277
|
-
}
|
278
|
-
/**
|
279
|
-
* Like useRef, but doesn't wait for the controller to get ready
|
280
|
-
*
|
281
|
-
* @internal
|
282
|
-
*/
|
283
|
-
get useRefSync() {
|
284
|
-
setAmbientComponent(this.component);
|
285
|
-
return useRefSync;
|
286
|
-
}
|
287
|
-
controllerRemoved() {
|
288
|
-
if (this.component.el.isConnected) {
|
289
|
-
this.triggerDisconnected();
|
290
|
-
}
|
291
|
-
this.triggerDestroy();
|
292
|
-
}
|
293
|
-
// Register a lifecycle callback
|
294
|
-
onConnected(callback) {
|
295
|
-
this._callbacks.hostConnected.push(callback);
|
296
|
-
}
|
297
|
-
onDisconnected(callback) {
|
298
|
-
this._callbacks.hostDisconnected.push(callback);
|
299
|
-
}
|
300
|
-
onLoad(callback) {
|
301
|
-
this._callbacks.hostLoad.push(callback);
|
302
|
-
}
|
303
|
-
onLoaded(callback) {
|
304
|
-
this._callbacks.hostLoaded.push(callback);
|
305
|
-
}
|
306
|
-
onUpdate(callback) {
|
307
|
-
this._callbacks.hostUpdate.push(callback);
|
308
|
-
}
|
309
|
-
onUpdated(callback) {
|
310
|
-
this._callbacks.hostUpdated.push(callback);
|
311
|
-
}
|
312
|
-
onDestroy(callback) {
|
313
|
-
this._callbacks.hostDestroy.push(callback);
|
314
|
-
}
|
315
|
-
onLifecycle(callback) {
|
316
|
-
this._callbacks.hostLifecycle.push(callback);
|
317
|
-
if (this.connectedCalled && this.component.el.isConnected) {
|
318
|
-
this._callLifecycle(callback);
|
319
|
-
}
|
320
|
-
}
|
321
|
-
// Call each lifecycle hook
|
322
|
-
/** @internal */
|
323
|
-
triggerConnected() {
|
324
|
-
const genericController = this;
|
325
|
-
if (genericController.hostConnected) {
|
326
|
-
safeCall(genericController.hostConnected, genericController);
|
327
|
-
}
|
328
|
-
this._callbacks.hostConnected.forEach(safeCall);
|
329
|
-
this.triggerLifecycle();
|
330
|
-
this.connectedCalled = true;
|
331
|
-
}
|
332
|
-
/** @internal */
|
333
|
-
triggerDisconnected() {
|
334
|
-
const genericController = this;
|
335
|
-
if (genericController.hostDisconnected) {
|
336
|
-
safeCall(genericController.hostDisconnected, genericController);
|
337
|
-
}
|
338
|
-
this._callbacks.hostDisconnected.forEach(safeCall);
|
339
|
-
this._lifecycleCleanups.forEach(safeCall);
|
340
|
-
this._lifecycleCleanups = [];
|
341
|
-
}
|
342
|
-
/** @internal */
|
343
|
-
async triggerLoad() {
|
344
|
-
if (this._loadCalled) {
|
345
|
-
return;
|
346
|
-
}
|
347
|
-
this._loadCalled = true;
|
348
|
-
const genericController = this;
|
349
|
-
if (genericController.hostLoad) {
|
350
|
-
await safeAsyncCall(genericController.hostLoad, genericController);
|
351
|
-
}
|
352
|
-
if (this._callbacks.hostLoad.length > 0) {
|
353
|
-
await Promise.allSettled(this._callbacks.hostLoad.map(safeAsyncCall));
|
354
|
-
}
|
355
|
-
this._ready.resolve(this._exports);
|
356
|
-
}
|
357
|
-
/** @internal */
|
358
|
-
triggerLoaded() {
|
359
|
-
if (this.loadedCalled) {
|
360
|
-
return;
|
361
|
-
}
|
362
|
-
const genericController = this;
|
363
|
-
if (genericController.hostLoaded) {
|
364
|
-
safeCall(genericController.hostLoaded, genericController);
|
365
|
-
}
|
366
|
-
this._callbacks.hostLoaded.forEach(safeCall);
|
367
|
-
this.loadedCalled = true;
|
368
|
-
}
|
369
|
-
/** @internal */
|
370
|
-
triggerUpdate(changedProperties) {
|
371
|
-
const genericController = this;
|
372
|
-
if (genericController.hostUpdate) {
|
373
|
-
safeCall(genericController.hostUpdate, genericController, changedProperties);
|
374
|
-
}
|
375
|
-
this._callbacks.hostUpdate.forEach(callUpdate, changedProperties);
|
376
|
-
}
|
377
|
-
/** @internal */
|
378
|
-
triggerUpdated(changedProperties) {
|
379
|
-
const genericController = this;
|
380
|
-
if (genericController.hostUpdated) {
|
381
|
-
safeCall(genericController.hostUpdated, genericController, changedProperties);
|
382
|
-
}
|
383
|
-
this._callbacks.hostUpdated.forEach(callUpdate, changedProperties);
|
384
|
-
}
|
385
|
-
/** @internal */
|
386
|
-
triggerDestroy() {
|
387
|
-
const genericController = this;
|
388
|
-
if (genericController.hostDestroy) {
|
389
|
-
safeCall(genericController.hostDestroy, genericController);
|
390
|
-
}
|
391
|
-
this._callbacks.hostDestroy.forEach(safeCall);
|
392
|
-
}
|
393
|
-
/** @internal */
|
394
|
-
triggerLifecycle() {
|
395
|
-
const genericController = this;
|
396
|
-
if (genericController.hostLifecycle) {
|
397
|
-
this._callLifecycle(() => genericController.hostLifecycle());
|
398
|
-
}
|
399
|
-
this._callbacks.hostLifecycle.forEach(this._callLifecycle, this);
|
400
|
-
}
|
401
|
-
_callLifecycle(callback) {
|
402
|
-
setAmbientComponent(this.component);
|
403
|
-
const cleanupRaw = safeCall(callback);
|
404
|
-
const cleanup = Array.isArray(cleanupRaw) ? cleanupRaw : [cleanupRaw];
|
405
|
-
cleanup.forEach((cleanup2) => {
|
406
|
-
if (typeof cleanup2 === "function") {
|
407
|
-
this._lifecycleCleanups.push(cleanup2);
|
408
|
-
} else if (typeof cleanup2 === "object" && typeof cleanup2.remove === "function") {
|
409
|
-
this._lifecycleCleanups.push(cleanup2.remove);
|
410
|
-
}
|
411
|
-
});
|
412
|
-
}
|
413
|
-
};
|
414
|
-
function callUpdate(callback) {
|
415
|
-
safeCall(callback, void 0, this);
|
416
|
-
}
|
417
|
-
var GenericController = Controller;
|
418
|
-
function makeProvisionalValue(base) {
|
419
|
-
if (typeof base !== "object" && typeof base !== "function" || base === null) {
|
420
|
-
return base;
|
421
|
-
}
|
422
|
-
const proxy = new Proxy(base, {
|
423
|
-
get(target, prop, receiver) {
|
424
|
-
if (cyclical.has(prop) && prop in target && target[prop] === proxy) {
|
425
|
-
return void 0;
|
426
|
-
}
|
427
|
-
if (prop in target || prop in Promise.prototype || typeof prop === "symbol") {
|
428
|
-
return typeof target === "function" ? target[prop] : Reflect.get(target, prop, receiver);
|
429
|
-
}
|
430
|
-
return void 0;
|
431
|
-
},
|
432
|
-
set: (target, prop, newValue, receiver) => {
|
433
|
-
return Reflect.set(target, prop, newValue, receiver);
|
434
|
-
}
|
435
|
-
});
|
436
|
-
return proxy;
|
437
|
-
}
|
438
|
-
var cyclical = /* @__PURE__ */ new Set(["exports", "_exports"]);
|
439
|
-
function toControllerHost(component) {
|
440
|
-
{
|
441
|
-
return component;
|
442
|
-
}
|
443
|
-
}
|
444
|
-
function trackPropertyKey(object, onResolved, defaultValue) {
|
445
|
-
const keys = Object.keys(object);
|
446
|
-
const keyCount = keys.length;
|
447
|
-
if (keyTrackMap === void 0) {
|
448
|
-
queueMicrotask(keyTrackResolve);
|
449
|
-
}
|
450
|
-
keyTrackMap ?? (keyTrackMap = /* @__PURE__ */ new Map());
|
451
|
-
let pendingTrackers = keyTrackMap.get(object);
|
452
|
-
if (pendingTrackers === void 0) {
|
453
|
-
pendingTrackers = { callbacks: [], keyCount };
|
454
|
-
keyTrackMap.set(object, pendingTrackers);
|
455
|
-
}
|
456
|
-
if (pendingTrackers.keyCount !== keyCount) {
|
457
|
-
pendingTrackers.callbacks.forEach((resolve) => resolve(keys));
|
458
|
-
pendingTrackers.callbacks = [];
|
459
|
-
pendingTrackers.keyCount = keyCount;
|
460
|
-
}
|
461
|
-
pendingTrackers.callbacks.push((keys2) => {
|
462
|
-
const callback = (key2) => safeCall(onResolved, null, key2);
|
463
|
-
const key = keys2[keyCount];
|
464
|
-
if (key === void 0) {
|
465
|
-
callback(void 0);
|
466
|
-
} else if (object[key] === defaultValue) {
|
467
|
-
callback(key);
|
468
|
-
} else {
|
469
|
-
callback(void 0);
|
470
|
-
}
|
471
|
-
});
|
472
|
-
return defaultValue;
|
473
|
-
}
|
474
|
-
var keyTrackMap = void 0;
|
475
|
-
function keyTrackResolve() {
|
476
|
-
Array.from(keyTrackMap?.entries() ?? []).forEach(([object, { callbacks }]) => {
|
477
|
-
const keys = Object.keys(object);
|
478
|
-
callbacks.forEach((commit) => commit(keys));
|
479
|
-
});
|
480
|
-
keyTrackMap = void 0;
|
481
|
-
}
|
482
|
-
function watch(component, property, callback) {
|
483
|
-
var _a2;
|
484
|
-
const genericProperty = property;
|
485
|
-
const internals = component.manager.internals;
|
486
|
-
(_a2 = internals.allWatchers)[genericProperty] ?? (_a2[genericProperty] = []);
|
487
|
-
const watchers = internals.allWatchers[genericProperty];
|
488
|
-
const genericCallback = callback;
|
489
|
-
const safeCallback = (newValue, oldValue, propertyName) => safeCall(genericCallback, null, newValue, oldValue, propertyName);
|
490
|
-
watchers.push(safeCallback);
|
491
|
-
return () => {
|
492
|
-
const index = watchers.indexOf(safeCallback);
|
493
|
-
if (index !== -1) {
|
494
|
-
watchers.splice(index, 1);
|
495
|
-
}
|
496
|
-
};
|
497
|
-
}
|
498
|
-
|
499
|
-
// src/ComponentInternals.ts
|
500
|
-
var ComponentInternals = class {
|
501
|
-
constructor(component) {
|
502
|
-
/**
|
503
|
-
* When watchers are set, they are set into `allWatchers`. When watchers are
|
504
|
-
* read in the setter, they are read from `enabledWatchers`.
|
505
|
-
*
|
506
|
-
* In Stencil, on connectedCallback(), controller manager does
|
507
|
-
* `enabledWatchers=allWatchers`. Reasoning:
|
508
|
-
* - This disables watchers until connected callback (matches behavior of
|
509
|
-
* Stencil's watchers)
|
510
|
-
* - This removes the need for a check in the setter for whether the watchers
|
511
|
-
* were enabled already or not (as getters/setters are hot path, and should
|
512
|
-
* be streamlined)
|
513
|
-
*
|
514
|
-
* In Lit, we set enabledWatchers to allWatchers in the constructor.
|
515
|
-
* Reasoning:
|
516
|
-
* - While in Stencil all user provided properties are either set before the
|
517
|
-
* component constructor (this is possible since Stencil's props store is
|
518
|
-
* externalized) or after connectedCallback, in Lit the properties may be
|
519
|
-
* set by attributeChangedCallback before connectedCallback. Thus, we need
|
520
|
-
* to enable watchers even before connectedCallback.
|
521
|
-
* - This means, that a watcher set for some prop before your component got
|
522
|
-
* a chance to set the default value will trigger the watcher when the
|
523
|
-
* default value is set - but, that is inline with Lit's willUpdate behavior
|
524
|
-
* of triggering for default values AND, the only way to set a watcher
|
525
|
-
* before default value is if you called watcher inside a controller. For
|
526
|
-
* now, there are no controllers written outside of arcgis-map-components
|
527
|
-
* package, so I was able to verify that this change would have no
|
528
|
-
* negative impact.
|
529
|
-
*
|
530
|
-
* In either way, I plan to remove watchers from controllers once Stencil
|
531
|
-
* support is removed.
|
532
|
-
*/
|
533
|
-
this.enabledWatchers = {};
|
534
|
-
this.allWatchers = {};
|
535
|
-
/**
|
536
|
-
* "readOnly" is not enabled initially since we need to allow to set property
|
537
|
-
* default values in the constructor.
|
538
|
-
* For Stencil, readonly is enabled by the `readonly()` controller.
|
539
|
-
* For Lit, we have the following logic:
|
540
|
-
*/
|
541
|
-
this.enableReadonly = () => {
|
542
|
-
this.enableReadonly = void 0;
|
543
|
-
if (!this.component.manager.isLit) {
|
544
|
-
return;
|
545
|
-
}
|
546
|
-
const internals = this.component.manager.internals;
|
547
|
-
Object.entries(internals.members).forEach(([name2, [type]]) => {
|
548
|
-
var _a2;
|
549
|
-
const isReadOnly = type & 2048 /* ReadOnly */;
|
550
|
-
if (isReadOnly) {
|
551
|
-
(_a2 = internals.setters)[name2] ?? (_a2[name2] = []);
|
552
|
-
internals.setters[name2].push(internals.readonlySetter);
|
553
|
-
}
|
554
|
-
});
|
555
|
-
};
|
556
|
-
this.trackedValue = nothing;
|
557
|
-
this.keyTrackers = [];
|
558
|
-
this.getters = {};
|
559
|
-
this.setters = {};
|
560
|
-
this.accessorGetter = {};
|
561
|
-
this.accessorSetter = {};
|
562
|
-
this.reactiveUtilsIntegrations = /* @__PURE__ */ new Set();
|
563
|
-
this._exports = /* @__PURE__ */ new WeakMap();
|
564
|
-
this.readonlySetter = (newValue, _oldValue, property) => {
|
565
|
-
if (shouldBypass.readOnly) {
|
566
|
-
return newValue;
|
567
|
-
}
|
568
|
-
throw new Error(
|
569
|
-
`Cannot assign to read-only property "${property}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(
|
570
|
-
newValue
|
571
|
-
)}"`
|
572
|
-
);
|
573
|
-
};
|
574
|
-
{
|
575
|
-
this.component = component;
|
576
|
-
}
|
577
|
-
}
|
578
|
-
firePropTrackers(key, value) {
|
579
|
-
const trackers = this.keyTrackers;
|
580
|
-
this.trackedValue = nothing;
|
581
|
-
this.keyTrackers = [];
|
582
|
-
trackers.forEach((tracker) => tracker(key, value));
|
583
|
-
}
|
584
|
-
// REFACTOR: once Stencil is no longer supported, simplify this with Lit's getPropertyDescriptor(), or https://github.com/shoelace-style/shoelace/issues/1990
|
585
|
-
/**
|
586
|
-
* Configure a getter or setter for a given \@Prop/\@State
|
587
|
-
*
|
588
|
-
* Since props are defined on the prototype, they are shared between all
|
589
|
-
* instances of a component. Thus, instead of passing a reference to the
|
590
|
-
* getter/setter function, you should update the
|
591
|
-
* ComponentInternals.getters/setters properties, and then call getSetProxy
|
592
|
-
* to apply the changes to the prototype
|
593
|
-
*/
|
594
|
-
getSetProxy(property) {
|
595
|
-
const component = this.component;
|
596
|
-
const classPrototype = component.constructor.prototype;
|
597
|
-
this._getSetProxy(classPrototype, property, "class");
|
598
|
-
if (component.manager.isLit) {
|
599
|
-
return;
|
600
|
-
}
|
601
|
-
const htmlPrototype = component.el.constructor.prototype;
|
602
|
-
if (classPrototype !== htmlPrototype) {
|
603
|
-
this._getSetProxy(htmlPrototype, property, "html");
|
604
|
-
}
|
605
|
-
}
|
606
|
-
_getSetProxy(prototype, name2, type) {
|
607
|
-
const component = this.component;
|
608
|
-
const propType = getMemberType(component, name2);
|
609
|
-
let descriptor;
|
610
|
-
do {
|
611
|
-
descriptor = Object.getOwnPropertyDescriptor(prototype, name2);
|
612
|
-
} while (!descriptor && (prototype = Object.getPrototypeOf(prototype)));
|
613
|
-
if (!descriptor) {
|
614
|
-
return void 0;
|
615
|
-
}
|
616
|
-
const originalGet = descriptor.get;
|
617
|
-
const originalSet = descriptor.set;
|
618
|
-
const isGetterAlreadyOverwritten = customAccessor in originalGet;
|
619
|
-
const isSetterAlreadyOverwritten = customAccessor in originalSet;
|
620
|
-
if (isGetterAlreadyOverwritten && isSetterAlreadyOverwritten) {
|
621
|
-
return;
|
622
|
-
}
|
623
|
-
const shouldOverwriteGet = !isGetterAlreadyOverwritten;
|
624
|
-
const shouldOverwriteSet = !isSetterAlreadyOverwritten;
|
625
|
-
const finalGetter = shouldOverwriteGet ? function getter() {
|
626
|
-
let value = originalGet.call(this);
|
627
|
-
const component2 = elementToInstance.get(this);
|
628
|
-
if (shouldBypass.getter || component2 === void 0) {
|
629
|
-
return value;
|
630
|
-
}
|
631
|
-
const internals = component2.manager.internals;
|
632
|
-
value = internals.accessorGetter[name2](value, name2);
|
633
|
-
const getters = internals.getters[name2] ?? emptyArray;
|
634
|
-
for (let i = 0; i < getters.length; i++) {
|
635
|
-
value = getters[i](value, name2);
|
636
|
-
}
|
637
|
-
return value;
|
638
|
-
} : originalGet;
|
639
|
-
const finalSetter = shouldOverwriteSet ? function setter(rawNewValue) {
|
640
|
-
const oldValue = originalGet.call(this);
|
641
|
-
const component2 = elementToInstance.get(this);
|
642
|
-
if (component2 === void 0) {
|
643
|
-
originalSet.call(this, rawNewValue);
|
644
|
-
return;
|
645
|
-
}
|
646
|
-
let newValue = component2.manager.isLit ? (
|
647
|
-
/*
|
648
|
-
* Cast `null` to `undefined`.
|
649
|
-
* See https://devtopia.esri.com/WebGIS/arcgis-web-components/discussions/1299
|
650
|
-
*/
|
651
|
-
rawNewValue ?? void 0
|
652
|
-
) : parsePropertyValue(rawNewValue, propType);
|
653
|
-
const internals = component2.manager.internals;
|
654
|
-
if (newValue === oldValue) {
|
655
|
-
originalSet.call(this, newValue);
|
656
|
-
} else {
|
657
|
-
const setters = shouldBypass.setter ? emptyArray : internals.setters[name2] ?? emptyArray;
|
658
|
-
for (let i = 0; i < setters.length; i++) {
|
659
|
-
newValue = setters[i](newValue, oldValue, name2);
|
660
|
-
if (newValue === oldValue) {
|
661
|
-
break;
|
662
|
-
}
|
663
|
-
}
|
664
|
-
newValue = internals.accessorSetter[name2](newValue, oldValue, name2);
|
665
|
-
originalSet.call(this, newValue);
|
666
|
-
if (newValue !== oldValue) {
|
667
|
-
internals.enabledWatchers[name2]?.forEach((watcher) => watcher(newValue, oldValue, name2));
|
668
|
-
}
|
669
|
-
}
|
670
|
-
if (internals.keyTrackers.length > 0) {
|
671
|
-
internals?.firePropTrackers(name2, rawNewValue);
|
672
|
-
}
|
673
|
-
} : originalSet;
|
674
|
-
if (shouldOverwriteGet) {
|
675
|
-
finalGetter[customAccessor] = true;
|
676
|
-
}
|
677
|
-
if (shouldOverwriteSet) {
|
678
|
-
finalSetter[customAccessor] = true;
|
679
|
-
}
|
680
|
-
Object.defineProperty(prototype, name2, {
|
681
|
-
...descriptor,
|
682
|
-
get: finalGetter,
|
683
|
-
set: finalSetter
|
684
|
-
});
|
685
|
-
}
|
686
|
-
/**
|
687
|
-
* Associate an exports object with a controller for reverse lookup in
|
688
|
-
* controller.use
|
689
|
-
*/
|
690
|
-
markExports(controller, exports) {
|
691
|
-
if (typeof exports === "object" && exports !== null || typeof exports === "function") {
|
692
|
-
this._exports.set(exports, controller);
|
693
|
-
}
|
694
|
-
}
|
695
|
-
resolveExports(exports) {
|
696
|
-
if (typeof exports === "object" && exports !== null || typeof exports === "function") {
|
697
|
-
return this._exports.get(exports);
|
698
|
-
} else {
|
699
|
-
return void 0;
|
700
|
-
}
|
701
|
-
}
|
702
|
-
};
|
703
|
-
var emptyArray = [];
|
704
|
-
var customAccessor = Symbol();
|
705
|
-
var nothing = Symbol() ;
|
706
|
-
var useControllerManager = (component, forceUpdate) => new ControllerManager(component, forceUpdate);
|
707
|
-
var ControllerManager = class extends GenericController {
|
708
|
-
constructor(component, forceUpdate) {
|
709
|
-
const isLit = "addController" in component;
|
710
|
-
const controllers = /* @__PURE__ */ new Set();
|
711
|
-
function addController(controller) {
|
712
|
-
controllers.add(controller);
|
713
|
-
if (!(controllerSymbol in controller) && component.renderRoot && component.el.isConnected) {
|
714
|
-
controller.hostConnected?.();
|
715
|
-
}
|
716
|
-
}
|
717
|
-
function removeController(controller) {
|
718
|
-
void controllers.delete(controller);
|
719
|
-
controller.controllerRemoved?.();
|
720
|
-
}
|
721
|
-
const controllerHost = component;
|
722
|
-
controllerHost.addController = addController;
|
723
|
-
controllerHost.removeController = removeController;
|
724
|
-
if (!isLit) {
|
725
|
-
const update = forceUpdate ?? component.constructor.__forceUpdate;
|
726
|
-
controllerHost.requestUpdate = () => update(component);
|
727
|
-
}
|
728
|
-
super(component);
|
729
|
-
/** @internal */
|
730
|
-
this.internals = new ComponentInternals(this.component);
|
731
|
-
this.destroyed = false;
|
732
|
-
this._updatePromise = new Deferred();
|
733
|
-
this._originalLifecycles = {};
|
734
|
-
this.isLit = isLit;
|
735
|
-
this.component.manager = this;
|
736
|
-
retrieveComponentMembers(component, isLit);
|
737
|
-
this._controllers = controllers;
|
738
|
-
this.exports = void 0;
|
739
|
-
this.hasDestroy = autoDestroyDisabledPropName in this.component && typeof this.component.destroy === "function";
|
740
|
-
this._bindLifecycleMethods();
|
741
|
-
const internals = this.internals;
|
742
|
-
Object.keys(internals.members).forEach((name2) => {
|
743
|
-
internals.accessorGetter[name2] = defaultGetterSetter;
|
744
|
-
internals.accessorSetter[name2] = defaultGetterSetter;
|
745
|
-
internals.getSetProxy(name2);
|
746
|
-
});
|
747
|
-
if (isLit) {
|
748
|
-
this.internals.enabledWatchers = this.internals.allWatchers;
|
749
|
-
} else {
|
750
|
-
Object.defineProperty(component, "updateComplete", {
|
751
|
-
get: async () => await this._updatePromise.promise
|
752
|
-
});
|
753
|
-
}
|
754
|
-
queueMicrotask(internals.enableReadonly);
|
755
|
-
setParentController(void 0);
|
756
|
-
setAmbientComponent(component);
|
757
|
-
elementToInstance.set(component.el, component);
|
758
|
-
elementToInstance.set(component, component);
|
759
|
-
}
|
760
|
-
_bindLifecycleMethods() {
|
761
|
-
const component = this.component;
|
762
|
-
const isLit = this.isLit;
|
763
|
-
const isStencilDistBuild = component.el === component;
|
764
|
-
this._originalLifecycles = {
|
765
|
-
// These component's callbacks will be called by Lit, so we don't have to
|
766
|
-
_connectedCallback: isLit || isStencilDistBuild ? void 0 : component.connectedCallback,
|
767
|
-
_disconnectedCallback: isLit || isStencilDistBuild ? void 0 : component.disconnectedCallback,
|
768
|
-
_load: isLit ? component.load : component.componentWillLoad,
|
769
|
-
_loaded: isLit ? component.loaded : component.componentDidLoad,
|
770
|
-
_willUpdate: isLit ? void 0 : component.componentWillUpdate,
|
771
|
-
_updated: isLit ? void 0 : component.componentDidUpdate,
|
772
|
-
_destroy: component.destroy
|
773
|
-
};
|
774
|
-
const hostConnected = this._connectedCallback.bind(this);
|
775
|
-
const hostDisconnected = this._disconnectedCallback.bind(this);
|
776
|
-
const hostUpdate = this._update.bind(this);
|
777
|
-
const hostUpdated = this._updated.bind(this);
|
778
|
-
if (isLit) {
|
779
|
-
component.constructor.prototype.addController.call(component, {
|
780
|
-
// Lit will call these callbacks
|
781
|
-
hostConnected,
|
782
|
-
hostDisconnected,
|
783
|
-
hostUpdate,
|
784
|
-
hostUpdated
|
785
|
-
});
|
786
|
-
} else {
|
787
|
-
component.connectedCallback = hostConnected;
|
788
|
-
component.disconnectedCallback = hostDisconnected;
|
789
|
-
component.componentWillLoad = this._load.bind(this);
|
790
|
-
component.componentDidLoad = this._loaded.bind(this);
|
791
|
-
component.componentWillUpdate = hostUpdate;
|
792
|
-
component.componentDidUpdate = hostUpdated;
|
793
|
-
}
|
794
|
-
if (this.hasDestroy) {
|
795
|
-
component.destroy = this.destroy.bind(this);
|
796
|
-
}
|
797
|
-
}
|
798
|
-
/**
|
799
|
-
* Private because this is not supposed to be called by Component directly.
|
800
|
-
* Instead, _bindLifecycleMethods will take care of that. Otherwise, you risk
|
801
|
-
* calling lifecycle methods twice.
|
802
|
-
*
|
803
|
-
* @internal
|
804
|
-
*/
|
805
|
-
_connectedCallback() {
|
806
|
-
if (this.destroyed) {
|
807
|
-
const tagName = this.component.el.tagName.toLowerCase();
|
808
|
-
this.component.el.remove();
|
809
|
-
throw new Error(
|
810
|
-
`The ${tagName} component has already been destroyed. It can not be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${autoDestroyDisabledPropName} prop.`
|
811
|
-
);
|
812
|
-
}
|
813
|
-
if (this._autoDestroyTimeout !== void 0) {
|
814
|
-
clearTimeout(this._autoDestroyTimeout);
|
815
|
-
}
|
816
|
-
const internals = this.internals;
|
817
|
-
internals.enabledWatchers = internals.allWatchers;
|
818
|
-
keyTrackResolve();
|
819
|
-
internals.enableReadonly?.();
|
820
|
-
this._controllers.forEach(callConnected);
|
821
|
-
this._originalLifecycles._connectedCallback?.call(this.component);
|
822
|
-
}
|
823
|
-
/** @internal */
|
824
|
-
_disconnectedCallback() {
|
825
|
-
if (this.destroyed) {
|
826
|
-
return;
|
827
|
-
}
|
828
|
-
this._controllers.forEach(callDisconnected);
|
829
|
-
this._originalLifecycles._disconnectedCallback?.call(this.component);
|
830
|
-
if (this.hasDestroy) {
|
831
|
-
this._setAutoDestroyTimeout();
|
832
|
-
}
|
833
|
-
}
|
834
|
-
/** @internal */
|
835
|
-
async _load() {
|
836
|
-
const integrations = this.internals.reactiveUtilsIntegrations;
|
837
|
-
if (integrations.size > 0) {
|
838
|
-
for (const controller of integrations) {
|
839
|
-
if ("triggerLoad" in controller) {
|
840
|
-
await controller.triggerLoad();
|
841
|
-
} else {
|
842
|
-
await safeAsyncCall(controller.hostLoad, controller);
|
843
|
-
}
|
844
|
-
}
|
845
|
-
}
|
846
|
-
await Promise.allSettled(Array.from(this._controllers, callLoad, integrations));
|
847
|
-
await this._originalLifecycles._load?.call(this.component);
|
848
|
-
if (this.hasDestroy) {
|
849
|
-
watch(this.component, autoDestroyDisabledPropName, () => this._setAutoDestroyTimeout());
|
850
|
-
}
|
851
|
-
}
|
852
|
-
/** @internal */
|
853
|
-
_loaded() {
|
854
|
-
this._controllers.forEach(callLoaded);
|
855
|
-
this._originalLifecycles._loaded?.call(this.component);
|
856
|
-
}
|
857
|
-
_update() {
|
858
|
-
const maybeLitComponent = this.component;
|
859
|
-
this._controllers.forEach(callUpdate2, maybeLitComponent.$changes);
|
860
|
-
this._originalLifecycles._willUpdate?.call(this.component);
|
861
|
-
}
|
862
|
-
_updated() {
|
863
|
-
const maybeLitComponent = this.component;
|
864
|
-
this._controllers.forEach(callUpdated, maybeLitComponent.$changes);
|
865
|
-
this._originalLifecycles._updated?.call(this.component);
|
866
|
-
if (this.isLit) {
|
867
|
-
maybeLitComponent.$changes = /* @__PURE__ */ new Map();
|
868
|
-
} else {
|
869
|
-
const updatePromise = this._updatePromise;
|
870
|
-
this._updatePromise = new Deferred();
|
871
|
-
updatePromise.resolve(true);
|
872
|
-
}
|
873
|
-
}
|
874
|
-
async destroy() {
|
875
|
-
if (this.destroyed) {
|
876
|
-
return;
|
877
|
-
}
|
878
|
-
if (this.component.el.isConnected) {
|
879
|
-
this.hasDestroy = false;
|
880
|
-
try {
|
881
|
-
this.component.el.remove();
|
882
|
-
} finally {
|
883
|
-
this.hasDestroy = true;
|
884
|
-
}
|
885
|
-
}
|
886
|
-
this._autoDestroyTimeout = void 0;
|
887
|
-
this.destroyed = true;
|
888
|
-
this._controllers.forEach(callDestroy);
|
889
|
-
this._controllers.clear();
|
890
|
-
await this._originalLifecycles._destroy?.call(this.component);
|
891
|
-
}
|
892
|
-
_setAutoDestroyTimeout() {
|
893
|
-
if (this._autoDestroyTimeout !== void 0) {
|
894
|
-
clearTimeout(this._autoDestroyTimeout);
|
895
|
-
}
|
896
|
-
if (!this.component.el.isConnected && !this.component.autoDestroyDisabled) {
|
897
|
-
const destroy = () => void this.destroy().catch(console.error);
|
898
|
-
{
|
899
|
-
this._autoDestroyTimeout = devToolsAwareTimeout(destroy, autoDestroyOnDisconnectTimeout);
|
900
|
-
}
|
901
|
-
}
|
902
|
-
}
|
903
|
-
};
|
904
|
-
var autoDestroyDisabledPropName = "autoDestroyDisabled";
|
905
|
-
var autoDestroyOnDisconnectTimeout = 1e3;
|
906
|
-
var defaultGetterSetter = (value) => value;
|
907
|
-
function callConnected(controller) {
|
908
|
-
if ("triggerConnected" in controller) {
|
909
|
-
controller.triggerConnected();
|
910
|
-
} else {
|
911
|
-
safeCall(controller.hostConnected, controller);
|
912
|
-
}
|
913
|
-
}
|
914
|
-
function callDisconnected(controller) {
|
915
|
-
if ("triggerDisconnected" in controller) {
|
916
|
-
controller.triggerDisconnected();
|
917
|
-
} else {
|
918
|
-
safeCall(controller.hostDisconnected, controller);
|
919
|
-
}
|
920
|
-
}
|
921
|
-
async function callLoad(controller) {
|
922
|
-
if (!this.has(controller)) {
|
923
|
-
if ("triggerLoad" in controller) {
|
924
|
-
await controller.triggerLoad();
|
925
|
-
} else {
|
926
|
-
await safeAsyncCall(controller.hostLoad, controller);
|
927
|
-
}
|
928
|
-
}
|
929
|
-
}
|
930
|
-
function callLoaded(controller) {
|
931
|
-
if ("triggerLoaded" in controller) {
|
932
|
-
controller.triggerLoaded();
|
933
|
-
} else {
|
934
|
-
safeCall(controller.hostLoaded, controller);
|
935
|
-
}
|
936
|
-
}
|
937
|
-
function callUpdate2(controller) {
|
938
|
-
if ("triggerUpdate" in controller) {
|
939
|
-
controller.triggerUpdate(this);
|
940
|
-
} else {
|
941
|
-
safeCall(controller.hostUpdate, controller, this);
|
942
|
-
}
|
943
|
-
}
|
944
|
-
function callUpdated(controller) {
|
945
|
-
if ("triggerUpdated" in controller) {
|
946
|
-
controller.triggerUpdated(this);
|
947
|
-
} else {
|
948
|
-
safeCall(controller.hostUpdated, controller, this);
|
949
|
-
}
|
950
|
-
}
|
951
|
-
function callDestroy(controller) {
|
952
|
-
if ("triggerDestroy" in controller) {
|
953
|
-
controller.triggerDestroy();
|
954
|
-
} else {
|
955
|
-
safeCall(controller.hostDestroy, controller);
|
956
|
-
}
|
957
|
-
}
|
958
|
-
function trackPropKey(component, onResolved, defaultValue) {
|
959
|
-
const internals = component.manager.internals;
|
960
|
-
if (internals.trackedValue !== nothing && internals.trackedValue !== defaultValue) {
|
961
|
-
internals.firePropTrackers(void 0, void 0);
|
962
|
-
}
|
963
|
-
if (internals.keyTrackers.length === 0) {
|
964
|
-
queueMicrotask(() => internals.firePropTrackers(void 0, void 0));
|
965
|
-
}
|
966
|
-
internals.trackedValue = defaultValue;
|
967
|
-
internals.keyTrackers.push((key, value) => safeCall(onResolved, void 0, defaultValue === value ? key : void 0));
|
968
|
-
return defaultValue;
|
969
|
-
}
|
970
|
-
|
971
|
-
// src/trackKey.ts
|
972
|
-
function trackKey(hostsCandidates, onResolved, defaultValue) {
|
973
|
-
const candidateHosts = Array.isArray(hostsCandidates) ? hostsCandidates : [hostsCandidates];
|
974
|
-
let leftToResolve = candidateHosts.length + 1;
|
975
|
-
const resolved = (resolution) => {
|
976
|
-
leftToResolve -= 1;
|
977
|
-
if (resolution !== void 0) {
|
978
|
-
leftToResolve = Math.min(leftToResolve, 0);
|
979
|
-
}
|
980
|
-
if (leftToResolve === 0) {
|
981
|
-
onResolved(resolution);
|
982
|
-
}
|
983
|
-
};
|
984
|
-
candidateHosts.forEach(
|
985
|
-
(host) => trackPropertyKey(
|
986
|
-
host,
|
987
|
-
(key) => resolved(
|
988
|
-
key === void 0 ? void 0 : {
|
989
|
-
key,
|
990
|
-
host,
|
991
|
-
isReactive: false
|
992
|
-
}
|
993
|
-
),
|
994
|
-
defaultValue
|
995
|
-
)
|
996
|
-
);
|
997
|
-
const component = candidateHosts.find(
|
998
|
-
(host) => "manager" in host && typeof host.manager === "object" && host.manager.component === host
|
999
|
-
);
|
1000
|
-
if (component) {
|
1001
|
-
trackPropKey(
|
1002
|
-
component,
|
1003
|
-
(key) => resolved(
|
1004
|
-
key === void 0 ? void 0 : {
|
1005
|
-
key,
|
1006
|
-
host: component,
|
1007
|
-
isReactive: getMemberType(component, key) !== void 0
|
1008
|
-
}
|
1009
|
-
),
|
1010
|
-
defaultValue
|
1011
|
-
);
|
1012
|
-
}
|
1013
|
-
return defaultValue;
|
1014
|
-
}
|
1015
|
-
|
1016
|
-
// src/getSet.ts
|
1017
|
-
function getSet(defaultValue, getSet2) {
|
1018
|
-
const component = retrieveComponent();
|
1019
|
-
return trackPropKey(
|
1020
|
-
component,
|
1021
|
-
(rawName) => {
|
1022
|
-
const name2 = rawName;
|
1023
|
-
const manager = component.manager;
|
1024
|
-
const genericComponent = component;
|
1025
|
-
const value = genericComponent[name2];
|
1026
|
-
const isStencilHotReload = "production" !== "production" ;
|
1027
|
-
if (value != null && value !== defaultValue && typeof getSet2.set === "function" && !isStencilHotReload) {
|
1028
|
-
const newValue = getSet2.set(value, defaultValue, name2);
|
1029
|
-
if (newValue !== value) {
|
1030
|
-
if (manager.isLit) {
|
1031
|
-
genericComponent[name2] = newValue;
|
1032
|
-
} else {
|
1033
|
-
let firstConnected = true;
|
1034
|
-
manager.onConnected(() => {
|
1035
|
-
if (!firstConnected) {
|
1036
|
-
return;
|
1037
|
-
}
|
1038
|
-
firstConnected = true;
|
1039
|
-
bypassSetter(() => {
|
1040
|
-
genericComponent[name2] = newValue;
|
1041
|
-
});
|
1042
|
-
});
|
1043
|
-
}
|
1044
|
-
}
|
1045
|
-
}
|
1046
|
-
genericGetSet(component, name2, getSet2);
|
1047
|
-
},
|
1048
|
-
defaultValue
|
1049
|
-
);
|
1050
|
-
}
|
1051
|
-
function bypassSetter(callback) {
|
1052
|
-
shouldBypass.setter = true;
|
1053
|
-
try {
|
1054
|
-
return callback();
|
1055
|
-
} finally {
|
1056
|
-
shouldBypass.setter = false;
|
1057
|
-
}
|
1058
|
-
}
|
1059
|
-
function bypassGetter(callback) {
|
1060
|
-
shouldBypass.getter = true;
|
1061
|
-
try {
|
1062
|
-
return callback();
|
1063
|
-
} finally {
|
1064
|
-
shouldBypass.getter = false;
|
1065
|
-
}
|
1066
|
-
}
|
1067
|
-
function genericGetSet(component, property, getSet2) {
|
1068
|
-
var _a2, _b;
|
1069
|
-
const genericGetSet2 = getSet2;
|
1070
|
-
const internals = component.manager.internals;
|
1071
|
-
const get = typeof genericGetSet2.get === "function" ? genericGetSet2.get : void 0;
|
1072
|
-
if (get) {
|
1073
|
-
(_a2 = internals.getters)[property] ?? (_a2[property] = []);
|
1074
|
-
internals.getters[property].unshift(get);
|
1075
|
-
}
|
1076
|
-
const set = genericGetSet2.set === "ignore" ? ignoreSet : genericGetSet2.set;
|
1077
|
-
if (set) {
|
1078
|
-
(_b = internals.setters)[property] ?? (_b[property] = []);
|
1079
|
-
internals.setters[property].unshift(
|
1080
|
-
set
|
1081
|
-
);
|
1082
|
-
}
|
1083
|
-
}
|
1084
|
-
var ignoreSet = (_, value) => value;
|
1085
|
-
|
1086
|
-
// src/readonly.ts
|
1087
|
-
function readonly(value) {
|
1088
|
-
const component = retrieveComponent();
|
1089
|
-
return getSet(value, { set: component.manager.internals.readonlySetter });
|
1090
|
-
}
|
1091
|
-
function bypassReadOnly(callback) {
|
1092
|
-
shouldBypass.readOnly = true;
|
1093
|
-
try {
|
1094
|
-
return callback();
|
1095
|
-
} finally {
|
1096
|
-
shouldBypass.readOnly = false;
|
1097
|
-
}
|
1098
|
-
}
|
1099
|
-
|
1100
|
-
// src/proxyExports.ts
|
1101
|
-
var proxyExports = (Class) => (...args) => {
|
1102
|
-
const ambientControllers2 = retrieveParentControllers();
|
1103
|
-
const instance = new Class(...args);
|
1104
|
-
const initialExports = instance.exports;
|
1105
|
-
setParentController(ambientControllers2.at(-1));
|
1106
|
-
const internals = instance.component.manager.internals;
|
1107
|
-
internals.markExports(instance, initialExports);
|
1108
|
-
instance.watchExports((exports) => internals.markExports(instance, exports));
|
1109
|
-
setAmbientChildController(instance);
|
1110
|
-
const hostCandidates = [instance.component, ...ambientControllers2].reverse();
|
1111
|
-
return trackKey(
|
1112
|
-
hostCandidates,
|
1113
|
-
(resolution) => resolution === void 0 ? void 0 : setProxy(instance, resolution, initialExports),
|
1114
|
-
initialExports
|
1115
|
-
);
|
1116
|
-
};
|
1117
|
-
function setProxy(controller, { host, key, isReactive: assignedToProp }, initialExports) {
|
1118
|
-
const genericHost = host;
|
1119
|
-
const controllerValueChanged = genericHost[key] !== controller.exports;
|
1120
|
-
const hostValueChanged = genericHost[key] !== initialExports;
|
1121
|
-
const controllerUpdatedExports = initialExports !== controller.exports;
|
1122
|
-
if (controllerValueChanged && !hostValueChanged && controllerUpdatedExports) {
|
1123
|
-
genericHost[key] = controller.exports;
|
1124
|
-
}
|
1125
|
-
const isProxyExportsOnComponent = host === controller.component;
|
1126
|
-
if (isProxyExportsOnComponent) {
|
1127
|
-
if (assignedToProp) {
|
1128
|
-
const internals = controller.component.manager.internals;
|
1129
|
-
if (hostValueChanged) {
|
1130
|
-
internals.markExports(controller, genericHost[key]);
|
1131
|
-
}
|
1132
|
-
watch(controller.component, key, (value) => {
|
1133
|
-
if (value !== controller.exports) {
|
1134
|
-
internals.markExports(controller, value);
|
1135
|
-
}
|
1136
|
-
});
|
1137
|
-
}
|
1138
|
-
controller.assignedProperty = assignedToProp ? void 0 : key;
|
1139
|
-
}
|
1140
|
-
controller.watchExports(() => {
|
1141
|
-
if (genericHost[key] === controller.exports) {
|
1142
|
-
return;
|
1143
|
-
}
|
1144
|
-
const manager = controller.component.manager;
|
1145
|
-
const isReadOnly = manager.internals.setters[key]?.includes(manager.internals.readonlySetter);
|
1146
|
-
if (isReadOnly) {
|
1147
|
-
bypassReadOnly(() => {
|
1148
|
-
genericHost[key] = controller.exports;
|
1149
|
-
});
|
1150
|
-
} else {
|
1151
|
-
genericHost[key] = controller.exports;
|
1152
|
-
}
|
1153
|
-
});
|
1154
|
-
}
|
1155
|
-
|
1156
|
-
var reactiveUtils;
|
1157
|
-
async function loadReactiveUtils() {
|
1158
|
-
reactiveUtils ?? (reactiveUtils = importCoreReactiveUtils());
|
1159
|
-
return await reactiveUtils;
|
1160
|
-
}
|
1161
|
-
var accessorPromise = Promise.all([importCoreAccessor(), importCoreAccessorSupportDecorators()]);
|
1162
|
-
var ReactiveUtilsIntegration = class extends Controller {
|
1163
|
-
async hostLoad() {
|
1164
|
-
const [Accessor, { subclass, property }] = await accessorPromise;
|
1165
|
-
class AccessorSubclass extends Accessor {
|
1166
|
-
}
|
1167
|
-
const getter = (_value, propertyName) => accessor[propertyName];
|
1168
|
-
function setter(newValue, _oldValue, propertyName) {
|
1169
|
-
if (accessor !== void 0) {
|
1170
|
-
accessor[propertyName] = newValue;
|
1171
|
-
}
|
1172
|
-
return newValue;
|
1173
|
-
}
|
1174
|
-
const component = this.component;
|
1175
|
-
const internals = component.manager.internals;
|
1176
|
-
const enabledMembers = [];
|
1177
|
-
bypassGetter(
|
1178
|
-
() => Object.keys(internals.members).forEach((name) => {
|
1179
|
-
const alreadyIntegrated = internals.accessorSetter[name] !== defaultGetterSetter;
|
1180
|
-
if (alreadyIntegrated) {
|
1181
|
-
return;
|
1182
|
-
}
|
1183
|
-
enabledMembers.push(name);
|
1184
|
-
internals.accessorGetter[name] = getter;
|
1185
|
-
internals.accessorSetter[name] = setter;
|
1186
|
-
property({
|
1187
|
-
value: component[name]
|
1188
|
-
})(AccessorSubclass.prototype, name);
|
1189
|
-
})
|
1190
|
-
);
|
1191
|
-
this._enabledMembers = enabledMembers;
|
1192
|
-
if (enabledMembers.length === 0) {
|
1193
|
-
return;
|
1194
|
-
}
|
1195
|
-
const Subclass = subclass(component.el.tagName)(AccessorSubclass);
|
1196
|
-
const accessor = new Subclass();
|
1197
|
-
this._instance = accessor;
|
1198
|
-
}
|
1199
|
-
controllerRemoved() {
|
1200
|
-
super.controllerRemoved();
|
1201
|
-
const internals = this.component.manager.internals;
|
1202
|
-
this._instance?.destroy();
|
1203
|
-
this._enabledMembers?.forEach((name) => {
|
1204
|
-
internals.accessorGetter[name] = defaultGetterSetter;
|
1205
|
-
internals.accessorSetter[name] = defaultGetterSetter;
|
1206
|
-
});
|
1207
|
-
}
|
1208
|
-
};
|
1209
|
-
|
1210
|
-
// src/accessor/useAccessor.ts
|
1211
|
-
var makeAccessorController = (loadAccessor, _options) => (component, options) => proxy(component, loadAccessor, options);
|
1212
|
-
var AccessorController = class extends GenericController {
|
1213
|
-
constructor(component, _loadAccessor, _options) {
|
1214
|
-
super(component);
|
1215
|
-
this._loadAccessor = _loadAccessor;
|
1216
|
-
this._options = _options;
|
1217
|
-
// A mapping from bound component's "prop" name to Accessor instance's "property"
|
1218
|
-
this._watchedProperties = /* @__PURE__ */ new Map();
|
1219
|
-
this._isBinding = { value: true };
|
1220
|
-
this.setProvisionalExports(
|
1221
|
-
accessorSupport.makeGetterProxy(
|
1222
|
-
component,
|
1223
|
-
this._watchedProperties,
|
1224
|
-
this._isBinding,
|
1225
|
-
this.constructor.allowedPropNameMismatches
|
1226
|
-
)
|
1227
|
-
);
|
1228
|
-
const integrations = component.manager.internals.reactiveUtilsIntegrations;
|
1229
|
-
integrations.add(this);
|
1230
|
-
const reactiveUtilsIntegration = Array.from(integrations).find(
|
1231
|
-
(integration) => integration instanceof ReactiveUtilsIntegration
|
1232
|
-
);
|
1233
|
-
if (reactiveUtilsIntegration) {
|
1234
|
-
integrations.delete(reactiveUtilsIntegration);
|
1235
|
-
}
|
1236
|
-
integrations.add(reactiveUtilsIntegration ?? new ReactiveUtilsIntegration(this.component));
|
1237
|
-
trackPropKey(
|
1238
|
-
component,
|
1239
|
-
(resolved) => {
|
1240
|
-
if (resolved) {
|
1241
|
-
this._instancePropName = resolved;
|
1242
|
-
}
|
1243
|
-
},
|
1244
|
-
this.exports
|
1245
|
-
);
|
1246
|
-
}
|
1247
|
-
hostConnected() {
|
1248
|
-
this._isBinding.value = false;
|
1249
|
-
}
|
1250
|
-
async hostLoad() {
|
1251
|
-
this.reactiveUtils = await loadReactiveUtils();
|
1252
|
-
const component = this.component;
|
1253
|
-
const parameters = this._gatherParameters();
|
1254
|
-
const finalParameters = this._options?.editConstructorProperties?.call(component, parameters) ?? parameters;
|
1255
|
-
const awaitedParameters = finalParameters instanceof Promise ? await finalParameters : finalParameters;
|
1256
|
-
const genericComponent = component;
|
1257
|
-
const existingInstance = typeof this._instancePropName === "string" ? genericComponent[this._instancePropName] : void 0;
|
1258
|
-
const hasInstance = existingInstance != null && existingInstance !== this.exports;
|
1259
|
-
if (hasInstance) {
|
1260
|
-
this._instance = existingInstance;
|
1261
|
-
existingInstance.set(awaitedParameters);
|
1262
|
-
} else {
|
1263
|
-
this._instance = await this._createInstance(awaitedParameters);
|
1264
|
-
}
|
1265
|
-
if (component.manager.destroyed) {
|
1266
|
-
return;
|
1267
|
-
}
|
1268
|
-
accessorSupport.watchComponentUpdates(this, this._instance, this._watchedProperties);
|
1269
|
-
accessorSupport.watchAccessorUpdates(this, this._instance, this._watchedProperties);
|
1270
|
-
this.exports = this._instance;
|
1271
|
-
}
|
1272
|
-
_gatherParameters() {
|
1273
|
-
const data = Object.fromEntries(
|
1274
|
-
Array.from(
|
1275
|
-
this._watchedProperties,
|
1276
|
-
([prop, property]) => [property, this.component[prop]]
|
1277
|
-
).filter(([, value]) => value !== void 0)
|
1278
|
-
);
|
1279
|
-
const props = data ;
|
1280
|
-
return props;
|
1281
|
-
}
|
1282
|
-
async _createInstance(parameters) {
|
1283
|
-
if (this._isAccessorConstructor(this._loadAccessor)) {
|
1284
|
-
return new this._loadAccessor(parameters);
|
1285
|
-
} else {
|
1286
|
-
return await this._loadAccessor(parameters);
|
1287
|
-
}
|
1288
|
-
}
|
1289
|
-
_isAccessorConstructor(loader) {
|
1290
|
-
return "prototype" in loader && "declaredClass" in loader.prototype;
|
1291
|
-
}
|
1292
|
-
hostDestroy() {
|
1293
|
-
if (this._instance) {
|
1294
|
-
this._instance.destroy();
|
1295
|
-
}
|
1296
|
-
}
|
1297
|
-
async reCreate() {
|
1298
|
-
this.hostDestroy();
|
1299
|
-
await this.hostLoad();
|
1300
|
-
}
|
1301
|
-
};
|
1302
|
-
var proxy = proxyExports(AccessorController);
|
1303
|
-
var accessorSupport = {
|
1304
|
-
makeGetterProxy: (component, watchedProperties, isBinding, allowedPropNameMismatches) => new Proxy(
|
1305
|
-
{},
|
1306
|
-
{
|
1307
|
-
/*
|
1308
|
-
* Without this, makeProvisionalValue() will throw on accessing
|
1309
|
-
* non-existent prop
|
1310
|
-
*/
|
1311
|
-
has: (target, prop) => typeof prop === "string" || prop in target,
|
1312
|
-
get: (target, prop) => {
|
1313
|
-
const value = Reflect.get(target, prop);
|
1314
|
-
if (typeof prop === "symbol" || prop in Promise.prototype) {
|
1315
|
-
return value;
|
1316
|
-
}
|
1317
|
-
const hasProp = prop in target;
|
1318
|
-
const doBinding = isBinding?.value ?? true;
|
1319
|
-
if (hasProp || !doBinding) {
|
1320
|
-
return value;
|
1321
|
-
}
|
1322
|
-
return trackKey(
|
1323
|
-
component,
|
1324
|
-
(resolved) => {
|
1325
|
-
if (resolved !== void 0) {
|
1326
|
-
watchedProperties.set(resolved.key, prop);
|
1327
|
-
}
|
1328
|
-
},
|
1329
|
-
value
|
1330
|
-
);
|
1331
|
-
}
|
1332
|
-
}
|
1333
|
-
),
|
1334
|
-
// Update Accessor on component prop change
|
1335
|
-
watchComponentUpdates(controller, instance, watchedProperties) {
|
1336
|
-
function getter(_value, propName) {
|
1337
|
-
const propertyName = watchedProperties.get(propName);
|
1338
|
-
const value = instance[propertyName];
|
1339
|
-
const flipBoolean = typeof value === "boolean" && propertyName !== propName && propName.toLowerCase().includes("disable");
|
1340
|
-
return flipBoolean ? !value : value;
|
1341
|
-
}
|
1342
|
-
const setter = (newValue, _oldValue, propName) => {
|
1343
|
-
const propertyName = watchedProperties.get(propName);
|
1344
|
-
const value = instance[propertyName];
|
1345
|
-
const flipBoolean = typeof value === "boolean" && propertyName !== propName && propName.toLowerCase().includes("disable");
|
1346
|
-
const currentValue = flipBoolean ? !value : component.manager.isLit ? value ?? void 0 : value;
|
1347
|
-
if (currentValue === newValue) {
|
1348
|
-
return newValue;
|
1349
|
-
}
|
1350
|
-
instance[propertyName] = flipBoolean ? !newValue : newValue;
|
1351
|
-
const finalValue = instance[propertyName];
|
1352
|
-
return flipBoolean ? !finalValue : finalValue;
|
1353
|
-
};
|
1354
|
-
const component = controller.component;
|
1355
|
-
const internals = component.manager.internals;
|
1356
|
-
watchedProperties.forEach((_propName, propertyName) => {
|
1357
|
-
internals.accessorGetter[propertyName] = getter;
|
1358
|
-
internals.accessorSetter[propertyName] = setter;
|
1359
|
-
});
|
1360
|
-
},
|
1361
|
-
// Update component on Accessor prop change
|
1362
|
-
watchAccessorUpdates(controller, instance, watchedProperties) {
|
1363
|
-
const { component } = controller;
|
1364
|
-
const genericComponent = component;
|
1365
|
-
const genericInstance = instance;
|
1366
|
-
const readonlyProps = findReadOnlyAccessorProps(instance);
|
1367
|
-
bypassGetter(
|
1368
|
-
() => (
|
1369
|
-
// Careful: Map's forEach callback arguments are (value, key), not (key, value)
|
1370
|
-
watchedProperties.forEach((propertyName, propName) => {
|
1371
|
-
if (readonlyProps.has(propertyName)) {
|
1372
|
-
return;
|
1373
|
-
}
|
1374
|
-
const domValue = genericComponent[propName];
|
1375
|
-
let modelValue = genericInstance[propertyName];
|
1376
|
-
if (component.manager.isLit) {
|
1377
|
-
modelValue ?? (modelValue = void 0);
|
1378
|
-
}
|
1379
|
-
const flipBoolean = typeof domValue === "boolean" && propertyName !== propName && propName.toLowerCase().includes("disable");
|
1380
|
-
const resolvedDomValue = flipBoolean ? !domValue : domValue;
|
1381
|
-
if (resolvedDomValue != null && modelValue !== resolvedDomValue) {
|
1382
|
-
genericInstance[propertyName] = resolvedDomValue;
|
1383
|
-
}
|
1384
|
-
})
|
1385
|
-
)
|
1386
|
-
);
|
1387
|
-
controller.onLifecycle(() => {
|
1388
|
-
if (instance.destroyed) {
|
1389
|
-
return;
|
1390
|
-
}
|
1391
|
-
return Array.from(
|
1392
|
-
watchedProperties,
|
1393
|
-
([propName, propertyName]) => controller.reactiveUtils.watch(
|
1394
|
-
() => genericInstance[propertyName],
|
1395
|
-
() => {
|
1396
|
-
const newValue = genericInstance[propertyName];
|
1397
|
-
const flipBoolean = typeof newValue === "boolean" && propertyName !== propName && propName.toLowerCase().includes("disable");
|
1398
|
-
const resolvedNewValue = flipBoolean ? !newValue : newValue;
|
1399
|
-
bypassSetter(() => {
|
1400
|
-
genericComponent[propName] = resolvedNewValue;
|
1401
|
-
});
|
1402
|
-
},
|
1403
|
-
{ initial: true }
|
1404
|
-
)
|
1405
|
-
);
|
1406
|
-
});
|
1407
|
-
},
|
1408
|
-
// REFACTOR: remove this once Stencil is no longer supported
|
1409
|
-
reEmitAccessorEvents(controller, instance, reactiveUtils2, prefix) {
|
1410
|
-
const isEvented = "on" in instance && typeof instance.on === "function";
|
1411
|
-
if (!isEvented) {
|
1412
|
-
return;
|
1413
|
-
}
|
1414
|
-
const toListen = Object.entries(controller.component).map(([key, unknown]) => {
|
1415
|
-
const value = unknown;
|
1416
|
-
if (!key.startsWith(prefix) || key === prefix || typeof value !== "object" || value === null || !("emit" in value) || typeof value.emit !== "function") {
|
1417
|
-
return void 0;
|
1418
|
-
}
|
1419
|
-
const emit = value.emit;
|
1420
|
-
const trimmedEventName = key.slice(prefix.length);
|
1421
|
-
const camelCaseEventName = camelToKebab(trimmedEventName);
|
1422
|
-
const eventName = camelCaseEventName.toLowerCase();
|
1423
|
-
return [eventName, emit];
|
1424
|
-
}).filter(isNotUndefined);
|
1425
|
-
if (toListen.length === 0) {
|
1426
|
-
return;
|
1427
|
-
}
|
1428
|
-
const eventTarget = instance;
|
1429
|
-
const getEventTarget = () => eventTarget;
|
1430
|
-
controller.onLifecycle(() => {
|
1431
|
-
if (instance.destroyed) {
|
1432
|
-
return;
|
1433
|
-
}
|
1434
|
-
return toListen.map(([eventName, emit]) => reactiveUtils2.on(getEventTarget, eventName, emit));
|
1435
|
-
});
|
1436
|
-
},
|
1437
|
-
async reCreate(instance, component) {
|
1438
|
-
const accessorController = component.manager.useRefSync(instance);
|
1439
|
-
if (accessorController === void 0) {
|
1440
|
-
return;
|
1441
|
-
}
|
1442
|
-
await accessorController.reCreate();
|
1443
|
-
}
|
1444
|
-
};
|
1445
|
-
function findReadOnlyAccessorProps(instance) {
|
1446
|
-
const accessor = instance;
|
1447
|
-
const properties = Object.entries(accessor.__accessor__?.metadata ?? {});
|
1448
|
-
return new Set(
|
1449
|
-
properties.filter(([_property, descriptor]) => descriptor?.readOnly === true).map(([property]) => property)
|
1450
|
-
);
|
1451
|
-
}
|
1452
|
-
|
1453
|
-
export { AccessorController as A, Controller as C, accessorSupport as a, getSet as g, makeAccessorController as m, proxyExports as p, readonly as r, setAmbientComponent as s, trackPropKey as t, useControllerManager as u, watch as w };
|