@esri/solutions-components 0.11.36 → 0.11.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/asyncToGenerator-c7fc3ee4.js +92 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +1 -1
- package/dist/cjs/buffer-tools_2.cjs.entry.js +1 -1
- package/dist/cjs/card-manager_3.cjs.entry.js +3 -3
- package/dist/cjs/consent-manager.cjs.entry.js +3 -3
- package/dist/cjs/create-feature_4.cjs.entry.js +7 -7
- package/dist/cjs/create-related-feature_3.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
- package/dist/cjs/delete-dialog.cjs.entry.js +1 -1
- package/dist/cjs/downloadUtils-a5154543.js +5377 -0
- package/dist/cjs/feature-list.cjs.entry.js +4 -4
- package/dist/cjs/index.es-3c2404c3.js +11195 -0
- package/dist/cjs/json-editor_7.cjs.entry.js +1 -1
- package/dist/cjs/map-layer-picker.cjs.entry.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
- package/dist/cjs/popupUtils-7b26453a.js +121 -0
- package/dist/cjs/public-notification.cjs.entry.js +3 -3
- package/dist/cjs/purify-3d951edc.js +1364 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +1 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js +1 -1
- package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/collection/components/info-card/info-card.css +4 -0
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/vendor/calcite-components/2ADYSLPZ.js +4 -0
- package/dist/collection/vendor/calcite-components/2BYCWVAC.js +4 -0
- package/dist/collection/vendor/calcite-components/2DJLQG4A.js +4 -0
- package/dist/collection/vendor/calcite-components/2KN7VFV3.js +4 -0
- package/dist/collection/vendor/calcite-components/2QQE6RBG.js +4 -0
- package/dist/collection/vendor/calcite-components/2W46C5IT.js +4 -0
- package/dist/collection/vendor/calcite-components/2WEHZC4R.js +4 -0
- package/dist/collection/vendor/calcite-components/2YD4Z56B.js +4 -0
- package/dist/collection/vendor/calcite-components/2YU4JUQK.js +4 -0
- package/dist/collection/vendor/calcite-components/323UDHL6.js +4 -0
- package/dist/collection/vendor/calcite-components/35N5CZK3.js +4 -0
- package/dist/collection/vendor/calcite-components/3GWF5ELI.js +4 -0
- package/dist/collection/vendor/calcite-components/3JWBMHMV.js +4 -0
- package/dist/collection/vendor/calcite-components/3NUUOJEI.js +4 -0
- package/dist/collection/vendor/calcite-components/3O4S27LQ.js +4 -0
- package/dist/collection/vendor/calcite-components/3O5VK4VN.js +4 -0
- package/dist/collection/vendor/calcite-components/3OFHBVGT.js +4 -0
- package/dist/collection/vendor/calcite-components/3XJDMBMJ.js +4 -0
- package/dist/collection/vendor/calcite-components/3YYHU67H.js +4 -0
- package/dist/collection/vendor/calcite-components/44ZIVGS7.js +4 -0
- package/dist/collection/vendor/calcite-components/4BEUN427.js +4 -0
- package/dist/collection/vendor/calcite-components/4G4MW34F.js +4 -0
- package/dist/collection/vendor/calcite-components/4GGWE4M3.js +4 -0
- package/dist/collection/vendor/calcite-components/4HF2MH3F.js +4 -0
- package/dist/collection/vendor/calcite-components/4KGTT6I3.js +4 -0
- package/dist/collection/vendor/calcite-components/4QHW2KCC.js +4 -0
- package/dist/collection/vendor/calcite-components/52AGH4NW.js +4 -0
- package/dist/collection/vendor/calcite-components/5A4SCMTT.js +4 -0
- package/dist/collection/vendor/calcite-components/5B6WX2DL.js +4 -0
- package/dist/collection/vendor/calcite-components/5BW6OEX4.js +4 -0
- package/dist/collection/vendor/calcite-components/5FDKP64C.js +4 -0
- package/dist/collection/vendor/calcite-components/5MAYMOZA.js +4 -0
- package/dist/collection/vendor/calcite-components/5UXZD2PW.js +4 -0
- package/dist/collection/vendor/calcite-components/5WEHUHTX.js +4 -0
- package/dist/collection/vendor/calcite-components/5ZOOOTHO.js +4 -0
- package/dist/collection/vendor/calcite-components/6C6KOC25.js +4 -0
- package/dist/collection/vendor/calcite-components/6DU5XIRS.js +4 -0
- package/dist/collection/vendor/calcite-components/6IRQP6SO.js +4 -0
- package/dist/collection/vendor/calcite-components/6M4MQUQE.js +4 -0
- package/dist/collection/vendor/calcite-components/6MCHN6SO.js +4 -0
- package/dist/collection/vendor/calcite-components/6NCXFBVI.js +4 -0
- package/dist/collection/vendor/calcite-components/6NJ2XB5D.js +4 -0
- package/dist/collection/vendor/calcite-components/6NPZR4ED.js +4 -0
- package/dist/collection/vendor/calcite-components/74XIV7EB.js +6 -0
- package/dist/collection/vendor/calcite-components/77RD52T4.js +4 -0
- package/dist/collection/vendor/calcite-components/7BOAE3LM.js +4 -0
- package/dist/collection/vendor/calcite-components/7DY27BCZ.js +5 -0
- package/dist/collection/vendor/calcite-components/7EIGV5FV.js +4 -0
- package/dist/collection/vendor/calcite-components/7MV5X5YY.js +4 -0
- package/dist/collection/vendor/calcite-components/7SAECUZA.js +4 -0
- package/dist/collection/vendor/calcite-components/7SFM2X2V.js +4 -0
- package/dist/collection/vendor/calcite-components/7SQTVACB.js +4 -0
- package/dist/collection/vendor/calcite-components/7U3ECTM6.js +4 -0
- package/dist/collection/vendor/calcite-components/7WRGOM4T.js +4 -0
- package/dist/collection/vendor/calcite-components/7XDJ54GY.js +4 -0
- package/dist/collection/vendor/calcite-components/ABXKDQDM.js +4 -0
- package/dist/collection/vendor/calcite-components/AN6BRRC4.js +4 -0
- package/dist/collection/vendor/calcite-components/AS3OWJAM.js +4 -0
- package/dist/collection/vendor/calcite-components/AUQ7MLX2.js +4 -0
- package/dist/collection/vendor/calcite-components/AWXNBIWS.js +4 -0
- package/dist/collection/vendor/calcite-components/AZOHNXOH.js +4 -0
- package/dist/collection/vendor/calcite-components/B45JROQX.js +4 -0
- package/dist/collection/vendor/calcite-components/B4YIOD3M.js +4 -0
- package/dist/collection/vendor/calcite-components/B7HWVLZ4.js +4 -0
- package/dist/collection/vendor/calcite-components/B7IG4G6I.js +4 -0
- package/dist/collection/vendor/calcite-components/B7MQCVNK.js +4 -0
- package/dist/collection/vendor/calcite-components/BFDAS53F.js +4 -0
- package/dist/collection/vendor/calcite-components/BHTF7FU6.js +4 -0
- package/dist/collection/vendor/calcite-components/BKNRSH5I.js +4 -0
- package/dist/collection/vendor/calcite-components/BTOGKDPW.js +4 -0
- package/dist/collection/vendor/calcite-components/BZAVOPTZ.js +4 -0
- package/dist/collection/vendor/calcite-components/CATJWSUR.js +4 -0
- package/dist/collection/vendor/calcite-components/CY5CVEEO.js +4 -0
- package/dist/collection/vendor/calcite-components/D4CU2ELJ.js +4 -0
- package/dist/collection/vendor/calcite-components/DFFLO6RQ.js +4 -0
- package/dist/collection/vendor/calcite-components/DIIIRTRD.js +4 -0
- package/dist/collection/vendor/calcite-components/DJ65IGAJ.js +4 -0
- package/dist/collection/vendor/calcite-components/DR6TNPNP.js +4 -0
- package/dist/collection/vendor/calcite-components/DSV6O5SN.js +4 -0
- package/dist/collection/vendor/calcite-components/DWSKOILM.js +4 -0
- package/dist/collection/vendor/calcite-components/E2K7V264.js +4 -0
- package/dist/collection/vendor/calcite-components/E5276FGO.js +4 -0
- package/dist/collection/vendor/calcite-components/EJZAAUYU.js +4 -0
- package/dist/collection/vendor/calcite-components/EO6WGEPM.js +4 -0
- package/dist/collection/vendor/calcite-components/EOTHRH2D.js +4 -0
- package/dist/collection/vendor/calcite-components/F3XJA6O4.js +4 -0
- package/dist/collection/vendor/calcite-components/F4EMKIHK.js +4 -0
- package/dist/collection/vendor/calcite-components/FA3NO5EU.js +4 -0
- package/dist/collection/vendor/calcite-components/FA3WMFEB.js +22 -0
- package/dist/collection/vendor/calcite-components/FKBMHLD3.js +4 -0
- package/dist/collection/vendor/calcite-components/FP7FM2VM.js +4 -0
- package/dist/collection/vendor/calcite-components/FP7S2M3E.js +4 -0
- package/dist/collection/vendor/calcite-components/FTPC7ETT.js +4 -0
- package/dist/collection/vendor/calcite-components/FWYDKVOD.js +4 -0
- package/dist/collection/vendor/calcite-components/G3CCZ6XE.js +4 -0
- package/dist/collection/vendor/calcite-components/G5S7W2IC.js +4 -0
- package/dist/collection/vendor/calcite-components/GEURCF7X.js +4 -0
- package/dist/collection/vendor/calcite-components/GFAN7OST.js +4 -0
- package/dist/collection/vendor/calcite-components/GGSSFQEY.js +4 -0
- package/dist/collection/vendor/calcite-components/GIAPPW2B.js +4 -0
- package/dist/collection/vendor/calcite-components/GQAZQ3S4.js +4 -0
- package/dist/collection/vendor/calcite-components/GQUIDXCJ.js +4 -0
- package/dist/collection/vendor/calcite-components/GUUZ7ZDV.js +4 -0
- package/dist/collection/vendor/calcite-components/H3XVYGU3.js +4 -0
- package/dist/collection/vendor/calcite-components/H6E5FODU.js +4 -0
- package/dist/collection/vendor/calcite-components/HBMJPX74.js +4 -0
- package/dist/collection/vendor/calcite-components/HEHWLTET.js +4 -0
- package/dist/collection/vendor/calcite-components/HHWADIGN.js +4 -0
- package/dist/collection/vendor/calcite-components/HJBKJ56M.js +4 -0
- package/dist/collection/vendor/calcite-components/HMAFQQAN.js +4 -0
- package/dist/collection/vendor/calcite-components/HMNR3FGX.js +28 -0
- package/dist/collection/vendor/calcite-components/HO6YJDQ6.js +4 -0
- package/dist/collection/vendor/calcite-components/HXRFWMNM.js +4 -0
- package/dist/collection/vendor/calcite-components/HZNGZAMK.js +4 -0
- package/dist/collection/vendor/calcite-components/HZSC2XKV.js +4 -0
- package/dist/collection/vendor/calcite-components/I7NALNEM.js +4 -0
- package/dist/collection/vendor/calcite-components/I7S2F2P2.js +4 -0
- package/dist/collection/vendor/calcite-components/J22MUGVD.js +4 -0
- package/dist/collection/vendor/calcite-components/J2XEN4PC.js +4 -0
- package/dist/collection/vendor/calcite-components/JHSTZGJJ.js +4 -0
- package/dist/collection/vendor/calcite-components/JNK6UYNK.js +4 -0
- package/dist/collection/vendor/calcite-components/JR5RWSNX.js +4 -0
- package/dist/collection/vendor/calcite-components/JSHY6EAI.js +4 -0
- package/dist/collection/vendor/calcite-components/JZB5GBZP.js +4 -0
- package/dist/collection/vendor/calcite-components/JZBTEL4E.js +4 -0
- package/dist/collection/vendor/calcite-components/KE362XQL.js +4 -0
- package/dist/collection/vendor/calcite-components/KGBDVMSN.js +4 -0
- package/dist/collection/vendor/calcite-components/KHFQ3CWL.js +4 -0
- package/dist/collection/vendor/calcite-components/KJ5QSHIV.js +4 -0
- package/dist/collection/vendor/calcite-components/KK2GYQJN.js +4 -0
- package/dist/collection/vendor/calcite-components/KPOLTNRY.js +4 -0
- package/dist/collection/vendor/calcite-components/KUJZNT2T.js +4 -0
- package/dist/collection/vendor/calcite-components/KW5SSXI2.js +4 -0
- package/dist/collection/vendor/calcite-components/KZLGID44.js +4 -0
- package/dist/collection/vendor/calcite-components/L64PNSJ7.js +4 -0
- package/dist/collection/vendor/calcite-components/LBEGPJNS.js +4 -0
- package/dist/collection/vendor/calcite-components/LDPDJTKP.js +4 -0
- package/dist/collection/vendor/calcite-components/LHPTWBKI.js +4 -0
- package/dist/collection/vendor/calcite-components/LPMWWCXO.js +4 -0
- package/dist/collection/vendor/calcite-components/M2Z3Q7XS.js +4 -0
- package/dist/collection/vendor/calcite-components/MADH6ZCD.js +4 -0
- package/dist/collection/vendor/calcite-components/MED7DXL5.js +4 -0
- package/dist/collection/vendor/calcite-components/MN6JS3SO.js +4 -0
- package/dist/collection/vendor/calcite-components/MNQ67HJJ.js +4 -0
- package/dist/collection/vendor/calcite-components/MOOKY73S.js +4 -0
- package/dist/collection/vendor/calcite-components/N3RCOT5M.js +4 -0
- package/dist/collection/vendor/calcite-components/N6SVU4LG.js +4 -0
- package/dist/collection/vendor/calcite-components/NE3OUQ5Q.js +4 -0
- package/dist/collection/vendor/calcite-components/NFHTQLBP.js +4 -0
- package/dist/collection/vendor/calcite-components/NHLJM63F.js +4 -0
- package/dist/collection/vendor/calcite-components/NLWFZFB3.js +4 -0
- package/dist/collection/vendor/calcite-components/NSBYYOY2.js +4 -0
- package/dist/collection/vendor/calcite-components/NSHGJK73.js +4 -0
- package/dist/collection/vendor/calcite-components/NUDAXIBZ.js +4 -0
- package/dist/collection/vendor/calcite-components/O5SN3SJX.js +4 -0
- package/dist/collection/vendor/calcite-components/OEWDESOU.js +4 -0
- package/dist/collection/vendor/calcite-components/OTB6UDF3.js +4 -0
- package/dist/collection/vendor/calcite-components/OXCCRWE7.js +4 -0
- package/dist/collection/vendor/calcite-components/PG3U4QAJ.js +4 -0
- package/dist/collection/vendor/calcite-components/PMUHOU3H.js +4 -0
- package/dist/collection/vendor/calcite-components/PRPWC5NA.js +4 -0
- package/dist/collection/vendor/calcite-components/PSOUNIL7.js +4 -0
- package/dist/collection/vendor/calcite-components/Q6VXEGD5.js +4 -0
- package/dist/collection/vendor/calcite-components/Q752TMWW.js +4 -0
- package/dist/collection/vendor/calcite-components/QMGTBEVK.js +4 -0
- package/dist/collection/vendor/calcite-components/QNL5HVWX.js +4 -0
- package/dist/collection/vendor/calcite-components/QQ2QONXU.js +4 -0
- package/dist/collection/vendor/calcite-components/QQCFFW4X.js +4 -0
- package/dist/collection/vendor/calcite-components/QSRM5BPK.js +4 -0
- package/dist/collection/vendor/calcite-components/QXDDQX5X.js +4 -0
- package/dist/collection/vendor/calcite-components/R4TXKGB3.js +4 -0
- package/dist/collection/vendor/calcite-components/R546VITU.js +4 -0
- package/dist/collection/vendor/calcite-components/RGOMC52G.js +4 -0
- package/dist/collection/vendor/calcite-components/RIMAR2EG.js +4 -0
- package/dist/collection/vendor/calcite-components/RJV2JRQS.js +4 -0
- package/dist/collection/vendor/calcite-components/RLVRPIQB.js +4 -0
- package/dist/collection/vendor/calcite-components/RR6NYECR.js +4 -0
- package/dist/collection/vendor/calcite-components/RVEN4NOD.js +4 -0
- package/dist/collection/vendor/calcite-components/RXONMM2F.js +4 -0
- package/dist/collection/vendor/calcite-components/RYOCULDB.js +4 -0
- package/dist/collection/vendor/calcite-components/SCKKZTVU.js +5 -0
- package/dist/collection/vendor/calcite-components/SKGKFH23.js +4 -0
- package/dist/collection/vendor/calcite-components/SUCAF23Q.js +4 -0
- package/dist/collection/vendor/calcite-components/SWZ5F3MV.js +4 -0
- package/dist/collection/vendor/calcite-components/SX5X4EI7.js +4 -0
- package/dist/collection/vendor/calcite-components/SXYTJEOC.js +4 -0
- package/dist/collection/vendor/calcite-components/SY3OC64V.js +4 -0
- package/dist/collection/vendor/calcite-components/SYD5OQF5.js +4 -0
- package/dist/collection/vendor/calcite-components/SZONZQBZ.js +4 -0
- package/dist/collection/vendor/calcite-components/TEDXU7XB.js +4 -0
- package/dist/collection/vendor/calcite-components/TL6JRD7M.js +5 -0
- package/dist/collection/vendor/calcite-components/TOC7BSNI.js +4 -0
- package/dist/collection/vendor/calcite-components/TYTRJYZL.js +4 -0
- package/dist/collection/vendor/calcite-components/U3FS2FCE.js +4 -0
- package/dist/collection/vendor/calcite-components/UIWDOEUD.js +4 -0
- package/dist/collection/vendor/calcite-components/URGYWK4W.js +4 -0
- package/dist/collection/vendor/calcite-components/V5LFQL3E.js +4 -0
- package/dist/collection/vendor/calcite-components/VGEM6KFP.js +4 -0
- package/dist/collection/vendor/calcite-components/VH2EYQHG.js +4 -0
- package/dist/collection/vendor/calcite-components/VHAES5IP.js +4 -0
- package/dist/collection/vendor/calcite-components/VJ5DDNTG.js +4 -0
- package/dist/collection/vendor/calcite-components/VTUEWQVZ.js +5 -0
- package/dist/collection/vendor/calcite-components/VXIKRCVR.js +4 -0
- package/dist/collection/vendor/calcite-components/W4BKGWAR.js +4 -0
- package/dist/collection/vendor/calcite-components/WB6MZBXE.js +4 -0
- package/dist/collection/vendor/calcite-components/WBAUVVNW.js +4 -0
- package/dist/collection/vendor/calcite-components/WCZACGMB.js +4 -0
- package/dist/collection/vendor/calcite-components/WEHMJO3D.js +4 -0
- package/dist/collection/vendor/calcite-components/WGTFNY3J.js +4 -0
- package/dist/collection/vendor/calcite-components/WHHZYHGQ.js +4 -0
- package/dist/collection/vendor/calcite-components/WOM5JCSF.js +4 -0
- package/dist/collection/vendor/calcite-components/X37LIRIJ.js +4 -0
- package/dist/collection/vendor/calcite-components/XVCE2OUE.js +4 -0
- package/dist/collection/vendor/calcite-components/XVQRC56A.js +4 -0
- package/dist/collection/vendor/calcite-components/XYA7Z3GN.js +4 -0
- package/dist/collection/vendor/calcite-components/YED3P76Q.js +4 -0
- package/dist/collection/vendor/calcite-components/YJZ2YI4N.js +4 -0
- package/dist/collection/vendor/calcite-components/YW6WV5X7.js +4 -0
- package/dist/collection/vendor/calcite-components/Z3IB3JHI.js +4 -0
- package/dist/collection/vendor/calcite-components/Z64MBKLN.js +4 -0
- package/dist/collection/vendor/calcite-components/Z762LC4M.js +4 -0
- package/dist/collection/vendor/calcite-components/ZHYECVB4.js +4 -0
- package/dist/collection/vendor/calcite-components/ZQALJZYZ.js +4 -0
- package/dist/collection/vendor/calcite-components/ZXJF7S7L.js +4 -0
- package/dist/collection/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ar.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.bg.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.bs.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ca.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.cs.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.da.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.de.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.el.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.es.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.et.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.fi.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.fr.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.he.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.hr.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.hu.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.id.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.it.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ja.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ko.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.lt.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.lv.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.nl.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.no.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pl.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pt-BR.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pt-PT.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ro.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ru.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sk.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sl.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sr.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sv.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.th.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.tr.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.uk.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.vi.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-CN.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-HK.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-TW.json +2 -2
- package/dist/collection/vendor/instant-apps-components/instant-apps-components.esm.js +1 -1
- package/dist/collection/vendor/instant-apps-components/p-005a2711.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-032bc629.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-05080364.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-05080364.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-050b8c6e.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-0e4ff0a9.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-2162260c.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-2751b893.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-2751b893.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-2e588fed.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-34b74df9.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-34b74df9.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-40992282.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-45a300a8.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-50b205e8.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-50b205e8.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-5d5a1e7d.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-5d67f7d1.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-625b0358.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-6ab370d8.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-75b6ba72.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-82b50b9d.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-85727adc.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-88c9829f.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-9ef92300.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-a2fbebc1.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-a2fbebc1.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-af343e04.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-b346c8fa.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-b346c8fa.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-b8c8fb6f.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-bbc047f2.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-c0385dc5.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-cda36aea.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-e3d0321c.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-e3d0321c.entry.js.map +1 -0
- package/dist/components/downloadUtils.js +2 -2
- package/dist/components/info-card2.js +3 -3
- package/dist/components/purify.js +491 -684
- package/dist/esm/asyncToGenerator-96b2368d.js +88 -0
- package/dist/esm/basemap-gallery_7.entry.js +1 -1
- package/dist/esm/buffer-tools_2.entry.js +1 -1
- package/dist/esm/card-manager_3.entry.js +3 -3
- package/dist/esm/consent-manager.entry.js +3 -3
- package/dist/esm/create-feature_4.entry.js +7 -7
- package/dist/esm/create-related-feature_3.entry.js +1 -1
- package/dist/esm/crowdsource-manager.entry.js +1 -1
- package/dist/esm/crowdsource-reporter.entry.js +1 -1
- package/dist/esm/delete-dialog.entry.js +1 -1
- package/dist/esm/downloadUtils-b0527cde.js +5371 -0
- package/dist/esm/feature-list.entry.js +4 -4
- package/dist/esm/index.es-87662946.js +11108 -0
- package/dist/esm/json-editor_7.entry.js +1 -1
- package/dist/esm/map-layer-picker.entry.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +3 -3
- package/dist/esm/popupUtils-e38099ea.js +119 -0
- package/dist/esm/public-notification.entry.js +3 -3
- package/dist/esm/purify-ff5f3331.js +1362 -0
- package/dist/esm/solution-configuration.entry.js +1 -1
- package/dist/esm/solution-contents_3.entry.js +1 -1
- package/dist/esm/solution-item-accordion.entry.js +1 -1
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/solutions-components/p-0a60707c.entry.js +6 -0
- package/dist/solutions-components/p-105278a7.entry.js +6 -0
- package/dist/solutions-components/p-1aad0b63.entry.js +6 -0
- package/dist/solutions-components/p-2dc3849e.js +7 -0
- package/dist/solutions-components/p-3aa20e1f.entry.js +6 -0
- package/dist/solutions-components/p-47b7670b.entry.js +6 -0
- package/dist/solutions-components/p-4a2870b0.entry.js +21 -0
- package/dist/solutions-components/p-4fa0753d.entry.js +6 -0
- package/dist/solutions-components/p-50b4945e.entry.js +21 -0
- package/dist/solutions-components/p-5b481f0d.entry.js +6 -0
- package/dist/solutions-components/p-60b1fe27.entry.js +6 -0
- package/dist/solutions-components/p-7f36cfb0.entry.js +6 -0
- package/dist/solutions-components/p-83c42cc2.js +21 -0
- package/dist/solutions-components/p-956a987d.entry.js +6 -0
- package/dist/solutions-components/p-974e8883.js +498 -0
- package/dist/solutions-components/p-9ee56d38.entry.js +6 -0
- package/dist/solutions-components/p-b04179db.entry.js +11 -0
- package/dist/solutions-components/p-b8e4345e.entry.js +6 -0
- package/dist/solutions-components/p-bcdf6872.entry.js +6 -0
- package/dist/solutions-components/p-c83b1a4a.entry.js +6 -0
- package/dist/solutions-components/p-d65f8b73.js +6 -0
- package/dist/solutions-components/p-dc188d13.js +61 -0
- package/dist/solutions-components/p-f6d19f6d.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/vendor/calcite-components/2ADYSLPZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2BYCWVAC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2DJLQG4A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2KN7VFV3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2QQE6RBG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2W46C5IT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2WEHZC4R.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2YD4Z56B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2YU4JUQK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/323UDHL6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/35N5CZK3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3GWF5ELI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3JWBMHMV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3NUUOJEI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3O4S27LQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3O5VK4VN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3OFHBVGT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3XJDMBMJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3YYHU67H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/44ZIVGS7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4BEUN427.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4G4MW34F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4GGWE4M3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4HF2MH3F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4KGTT6I3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4QHW2KCC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/52AGH4NW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5A4SCMTT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5B6WX2DL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5BW6OEX4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5FDKP64C.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5MAYMOZA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5UXZD2PW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5WEHUHTX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5ZOOOTHO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6C6KOC25.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6DU5XIRS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6IRQP6SO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6M4MQUQE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6MCHN6SO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6NCXFBVI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6NJ2XB5D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6NPZR4ED.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/74XIV7EB.js +6 -0
- package/dist/solutions-components/vendor/calcite-components/77RD52T4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7BOAE3LM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7DY27BCZ.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/7EIGV5FV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7MV5X5YY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7SAECUZA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7SFM2X2V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7SQTVACB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7U3ECTM6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7WRGOM4T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7XDJ54GY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ABXKDQDM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AN6BRRC4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AS3OWJAM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AUQ7MLX2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AWXNBIWS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AZOHNXOH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B45JROQX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B4YIOD3M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B7HWVLZ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B7IG4G6I.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B7MQCVNK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BFDAS53F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BHTF7FU6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BKNRSH5I.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BTOGKDPW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BZAVOPTZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CATJWSUR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CY5CVEEO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D4CU2ELJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DFFLO6RQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DIIIRTRD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DJ65IGAJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DR6TNPNP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DSV6O5SN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DWSKOILM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E2K7V264.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E5276FGO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EJZAAUYU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EO6WGEPM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EOTHRH2D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/F3XJA6O4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/F4EMKIHK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FA3NO5EU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FA3WMFEB.js +22 -0
- package/dist/solutions-components/vendor/calcite-components/FKBMHLD3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FP7FM2VM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FP7S2M3E.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FTPC7ETT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FWYDKVOD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G3CCZ6XE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G5S7W2IC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GEURCF7X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GFAN7OST.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GGSSFQEY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GIAPPW2B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GQAZQ3S4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GQUIDXCJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GUUZ7ZDV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H3XVYGU3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H6E5FODU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HBMJPX74.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HEHWLTET.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HHWADIGN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HJBKJ56M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HMAFQQAN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HMNR3FGX.js +28 -0
- package/dist/solutions-components/vendor/calcite-components/HO6YJDQ6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HXRFWMNM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZNGZAMK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZSC2XKV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I7NALNEM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I7S2F2P2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/J22MUGVD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/J2XEN4PC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JHSTZGJJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JNK6UYNK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JR5RWSNX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JSHY6EAI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JZB5GBZP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JZBTEL4E.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KE362XQL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KGBDVMSN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KHFQ3CWL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KJ5QSHIV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KK2GYQJN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KPOLTNRY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KUJZNT2T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KW5SSXI2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KZLGID44.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L64PNSJ7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LBEGPJNS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LDPDJTKP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LHPTWBKI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LPMWWCXO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/M2Z3Q7XS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MADH6ZCD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MED7DXL5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MN6JS3SO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MNQ67HJJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MOOKY73S.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N3RCOT5M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N6SVU4LG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NE3OUQ5Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NFHTQLBP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NHLJM63F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NLWFZFB3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NSBYYOY2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NSHGJK73.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NUDAXIBZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/O5SN3SJX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OEWDESOU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OTB6UDF3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OXCCRWE7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PG3U4QAJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PMUHOU3H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PRPWC5NA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PSOUNIL7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Q6VXEGD5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Q752TMWW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QMGTBEVK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QNL5HVWX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QQ2QONXU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QQCFFW4X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QSRM5BPK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QXDDQX5X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R4TXKGB3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R546VITU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RGOMC52G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RIMAR2EG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RJV2JRQS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RLVRPIQB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RR6NYECR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RVEN4NOD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RXONMM2F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RYOCULDB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SCKKZTVU.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/SKGKFH23.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SUCAF23Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SWZ5F3MV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SX5X4EI7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SXYTJEOC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SY3OC64V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SYD5OQF5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SZONZQBZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TEDXU7XB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TL6JRD7M.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/TOC7BSNI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TYTRJYZL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/U3FS2FCE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UIWDOEUD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/URGYWK4W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/V5LFQL3E.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VGEM6KFP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VH2EYQHG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VHAES5IP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VJ5DDNTG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VTUEWQVZ.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/VXIKRCVR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/W4BKGWAR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WB6MZBXE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WBAUVVNW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WCZACGMB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WEHMJO3D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WGTFNY3J.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WHHZYHGQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WOM5JCSF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X37LIRIJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XVCE2OUE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XVQRC56A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XYA7Z3GN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YED3P76Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YJZ2YI4N.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YW6WV5X7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z3IB3JHI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z64MBKLN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z762LC4M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZHYECVB4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZQALJZYZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZXJF7S7L.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ar.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.bg.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.bs.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ca.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.cs.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.da.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.de.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.el.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.es.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.et.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.fi.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.fr.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.he.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.hr.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.hu.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.id.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.it.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ja.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ko.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.lt.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.lv.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.nl.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.no.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pl.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pt-BR.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pt-PT.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ro.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ru.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sk.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sl.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sr.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sv.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.th.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.tr.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.uk.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.vi.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-CN.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-HK.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-TW.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/instant-apps-components.esm.js +1 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-005a2711.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-032bc629.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-05080364.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-05080364.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-050b8c6e.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-0e4ff0a9.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-2162260c.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-2751b893.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-2751b893.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-2e588fed.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-34b74df9.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-34b74df9.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-40992282.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-45a300a8.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-50b205e8.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-50b205e8.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-5d5a1e7d.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-5d67f7d1.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-625b0358.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-6ab370d8.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-75b6ba72.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-82b50b9d.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-85727adc.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-88c9829f.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-9ef92300.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-a2fbebc1.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-a2fbebc1.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-af343e04.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-b346c8fa.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-b346c8fa.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-b8c8fb6f.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-bbc047f2.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-c0385dc5.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-cda36aea.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-e3d0321c.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-e3d0321c.entry.js.map +1 -0
- package/dist/solutions-components_commit.txt +7 -7
- package/package.json +6 -6
- package/dist/cjs/asyncToGenerator-ccb3278b.js +0 -92
- package/dist/cjs/downloadUtils-fefa863b.js +0 -5377
- package/dist/cjs/index.es-0441a948.js +0 -11195
- package/dist/cjs/popupUtils-a68a20db.js +0 -121
- package/dist/cjs/purify-34cd0c00.js +0 -1557
- package/dist/collection/vendor/calcite-components/22RQB3WE.js +0 -4
- package/dist/collection/vendor/calcite-components/24SER2VV.js +0 -4
- package/dist/collection/vendor/calcite-components/2BGMAPSV.js +0 -4
- package/dist/collection/vendor/calcite-components/2JKKAEPM.js +0 -4
- package/dist/collection/vendor/calcite-components/2M4WCGKG.js +0 -4
- package/dist/collection/vendor/calcite-components/2YAXZHP2.js +0 -4
- package/dist/collection/vendor/calcite-components/345Q4UHX.js +0 -4
- package/dist/collection/vendor/calcite-components/36DMRAV2.js +0 -4
- package/dist/collection/vendor/calcite-components/3DGJ6ZQI.js +0 -4
- package/dist/collection/vendor/calcite-components/3GICXOBQ.js +0 -4
- package/dist/collection/vendor/calcite-components/3IV6JSC2.js +0 -4
- package/dist/collection/vendor/calcite-components/3TOVZEQB.js +0 -4
- package/dist/collection/vendor/calcite-components/45GA6INB.js +0 -4
- package/dist/collection/vendor/calcite-components/46U4MKUU.js +0 -4
- package/dist/collection/vendor/calcite-components/4BSCJ722.js +0 -4
- package/dist/collection/vendor/calcite-components/4SEPDFCP.js +0 -5
- package/dist/collection/vendor/calcite-components/4TQLSUKH.js +0 -4
- package/dist/collection/vendor/calcite-components/4YZ27QWL.js +0 -4
- package/dist/collection/vendor/calcite-components/4Z7JRTON.js +0 -4
- package/dist/collection/vendor/calcite-components/5AVZLE2Q.js +0 -4
- package/dist/collection/vendor/calcite-components/5EPP4MG3.js +0 -4
- package/dist/collection/vendor/calcite-components/66B2H27W.js +0 -4
- package/dist/collection/vendor/calcite-components/6LW27BEV.js +0 -4
- package/dist/collection/vendor/calcite-components/6OZRZ36X.js +0 -4
- package/dist/collection/vendor/calcite-components/6X2SD2PW.js +0 -4
- package/dist/collection/vendor/calcite-components/6XTYGXNG.js +0 -4
- package/dist/collection/vendor/calcite-components/6ZTWHW63.js +0 -4
- package/dist/collection/vendor/calcite-components/7D3VEEUX.js +0 -4
- package/dist/collection/vendor/calcite-components/7E342YOK.js +0 -4
- package/dist/collection/vendor/calcite-components/7KSGVDSR.js +0 -4
- package/dist/collection/vendor/calcite-components/7PWETOIU.js +0 -4
- package/dist/collection/vendor/calcite-components/7QHUEK5R.js +0 -4
- package/dist/collection/vendor/calcite-components/7SX3RD7P.js +0 -4
- package/dist/collection/vendor/calcite-components/7U7FF3Y4.js +0 -4
- package/dist/collection/vendor/calcite-components/7WG5I3MP.js +0 -4
- package/dist/collection/vendor/calcite-components/A5GGYTUQ.js +0 -4
- package/dist/collection/vendor/calcite-components/AI3R3SU6.js +0 -28
- package/dist/collection/vendor/calcite-components/ARHYATTG.js +0 -4
- package/dist/collection/vendor/calcite-components/ATHBUWBY.js +0 -4
- package/dist/collection/vendor/calcite-components/AXXJNFKZ.js +0 -4
- package/dist/collection/vendor/calcite-components/AYZ73RWQ.js +0 -4
- package/dist/collection/vendor/calcite-components/BAHIPAHM.js +0 -4
- package/dist/collection/vendor/calcite-components/BRTDMTZ3.js +0 -4
- package/dist/collection/vendor/calcite-components/BRTESQOJ.js +0 -4
- package/dist/collection/vendor/calcite-components/BSRMWMHQ.js +0 -4
- package/dist/collection/vendor/calcite-components/BZKF5ZXQ.js +0 -4
- package/dist/collection/vendor/calcite-components/C46JYVUP.js +0 -4
- package/dist/collection/vendor/calcite-components/C54C5E23.js +0 -4
- package/dist/collection/vendor/calcite-components/CBSMKHOY.js +0 -4
- package/dist/collection/vendor/calcite-components/CFRBQXK4.js +0 -4
- package/dist/collection/vendor/calcite-components/CIV3PH3Z.js +0 -4
- package/dist/collection/vendor/calcite-components/CJYTY62F.js +0 -4
- package/dist/collection/vendor/calcite-components/CK6HQQX6.js +0 -4
- package/dist/collection/vendor/calcite-components/CMO3X257.js +0 -4
- package/dist/collection/vendor/calcite-components/CNO6NFH5.js +0 -4
- package/dist/collection/vendor/calcite-components/CWPRBG3T.js +0 -4
- package/dist/collection/vendor/calcite-components/CY6C2FDZ.js +0 -4
- package/dist/collection/vendor/calcite-components/D2HDFE7S.js +0 -22
- package/dist/collection/vendor/calcite-components/D36VWSDW.js +0 -4
- package/dist/collection/vendor/calcite-components/DBVNMM6Q.js +0 -4
- package/dist/collection/vendor/calcite-components/DDJ75RTI.js +0 -4
- package/dist/collection/vendor/calcite-components/DH4ISGHV.js +0 -4
- package/dist/collection/vendor/calcite-components/DNYBIAUI.js +0 -4
- package/dist/collection/vendor/calcite-components/DT67ZFPX.js +0 -4
- package/dist/collection/vendor/calcite-components/DTL2LM6T.js +0 -4
- package/dist/collection/vendor/calcite-components/E3R5SMVW.js +0 -4
- package/dist/collection/vendor/calcite-components/E4NMFIKN.js +0 -4
- package/dist/collection/vendor/calcite-components/EAML4EDI.js +0 -5
- package/dist/collection/vendor/calcite-components/ECEZ4R6E.js +0 -4
- package/dist/collection/vendor/calcite-components/EFI2G5WL.js +0 -4
- package/dist/collection/vendor/calcite-components/EHZCT5YZ.js +0 -4
- package/dist/collection/vendor/calcite-components/EOHVH6PN.js +0 -4
- package/dist/collection/vendor/calcite-components/ESBOJTBS.js +0 -4
- package/dist/collection/vendor/calcite-components/F6EGRKXW.js +0 -4
- package/dist/collection/vendor/calcite-components/FCN5RMLA.js +0 -4
- package/dist/collection/vendor/calcite-components/FDIM6DYL.js +0 -4
- package/dist/collection/vendor/calcite-components/FE3A3YUN.js +0 -4
- package/dist/collection/vendor/calcite-components/FHBFGCTR.js +0 -4
- package/dist/collection/vendor/calcite-components/FNFWOOMR.js +0 -4
- package/dist/collection/vendor/calcite-components/FNM4DZZH.js +0 -4
- package/dist/collection/vendor/calcite-components/G2KHDAZD.js +0 -4
- package/dist/collection/vendor/calcite-components/G3LH75CQ.js +0 -4
- package/dist/collection/vendor/calcite-components/G3ZJ2KQT.js +0 -4
- package/dist/collection/vendor/calcite-components/G7WFYVUC.js +0 -5
- package/dist/collection/vendor/calcite-components/GAAXSGWK.js +0 -4
- package/dist/collection/vendor/calcite-components/GE63ETFI.js +0 -4
- package/dist/collection/vendor/calcite-components/GFC7NS6P.js +0 -4
- package/dist/collection/vendor/calcite-components/GGO5TMB4.js +0 -4
- package/dist/collection/vendor/calcite-components/GKKCWEZX.js +0 -4
- package/dist/collection/vendor/calcite-components/GN5CPLSJ.js +0 -4
- package/dist/collection/vendor/calcite-components/GNUSLZWJ.js +0 -4
- package/dist/collection/vendor/calcite-components/GOOHYN3D.js +0 -4
- package/dist/collection/vendor/calcite-components/GPUFLCIT.js +0 -4
- package/dist/collection/vendor/calcite-components/GSXEMGSW.js +0 -4
- package/dist/collection/vendor/calcite-components/GYQTRH4V.js +0 -4
- package/dist/collection/vendor/calcite-components/HFIRIAQA.js +0 -4
- package/dist/collection/vendor/calcite-components/HGTV36FX.js +0 -4
- package/dist/collection/vendor/calcite-components/HKHPJJ34.js +0 -4
- package/dist/collection/vendor/calcite-components/HMVKZP47.js +0 -4
- package/dist/collection/vendor/calcite-components/I2OIH73C.js +0 -4
- package/dist/collection/vendor/calcite-components/I32TMNTO.js +0 -4
- package/dist/collection/vendor/calcite-components/I62DUDHI.js +0 -4
- package/dist/collection/vendor/calcite-components/IH4RXHJJ.js +0 -4
- package/dist/collection/vendor/calcite-components/IJCTXZQB.js +0 -4
- package/dist/collection/vendor/calcite-components/IXRMDUEL.js +0 -4
- package/dist/collection/vendor/calcite-components/IYDN67SF.js +0 -4
- package/dist/collection/vendor/calcite-components/JCWM5Z43.js +0 -4
- package/dist/collection/vendor/calcite-components/JEX42CPR.js +0 -4
- package/dist/collection/vendor/calcite-components/JFYDLHH7.js +0 -4
- package/dist/collection/vendor/calcite-components/JLZYAYOL.js +0 -4
- package/dist/collection/vendor/calcite-components/JUNCR7R2.js +0 -4
- package/dist/collection/vendor/calcite-components/JVNEJ36Z.js +0 -4
- package/dist/collection/vendor/calcite-components/K3ZBW4GY.js +0 -4
- package/dist/collection/vendor/calcite-components/KBDXI6DJ.js +0 -4
- package/dist/collection/vendor/calcite-components/KBNS3CCT.js +0 -4
- package/dist/collection/vendor/calcite-components/KI2NOBMU.js +0 -4
- package/dist/collection/vendor/calcite-components/KSNEQFZX.js +0 -4
- package/dist/collection/vendor/calcite-components/KSVYAIHK.js +0 -4
- package/dist/collection/vendor/calcite-components/KULDQOV2.js +0 -4
- package/dist/collection/vendor/calcite-components/KVSCG5E3.js +0 -6
- package/dist/collection/vendor/calcite-components/KW57BHXD.js +0 -4
- package/dist/collection/vendor/calcite-components/KWOOGTG2.js +0 -4
- package/dist/collection/vendor/calcite-components/L5FDXQMT.js +0 -4
- package/dist/collection/vendor/calcite-components/LB5ATL5Q.js +0 -4
- package/dist/collection/vendor/calcite-components/LH7KSBQC.js +0 -4
- package/dist/collection/vendor/calcite-components/LHSAAMYQ.js +0 -4
- package/dist/collection/vendor/calcite-components/LILDCWFX.js +0 -4
- package/dist/collection/vendor/calcite-components/LLSB73WA.js +0 -4
- package/dist/collection/vendor/calcite-components/LOZEGKG2.js +0 -4
- package/dist/collection/vendor/calcite-components/MBQZPRQ5.js +0 -4
- package/dist/collection/vendor/calcite-components/MCSX2S5T.js +0 -4
- package/dist/collection/vendor/calcite-components/MIKGJ3NM.js +0 -4
- package/dist/collection/vendor/calcite-components/MPAVJ7UH.js +0 -4
- package/dist/collection/vendor/calcite-components/MPX2M2VX.js +0 -4
- package/dist/collection/vendor/calcite-components/MQYH4ONZ.js +0 -4
- package/dist/collection/vendor/calcite-components/MUWK32IE.js +0 -4
- package/dist/collection/vendor/calcite-components/MZRO54UT.js +0 -4
- package/dist/collection/vendor/calcite-components/N2BVYYYP.js +0 -4
- package/dist/collection/vendor/calcite-components/N4MN6VQ7.js +0 -4
- package/dist/collection/vendor/calcite-components/N55N67N5.js +0 -4
- package/dist/collection/vendor/calcite-components/NODC2JA6.js +0 -4
- package/dist/collection/vendor/calcite-components/NVBNX55L.js +0 -4
- package/dist/collection/vendor/calcite-components/NWVCPRVB.js +0 -4
- package/dist/collection/vendor/calcite-components/O4O3TSE5.js +0 -4
- package/dist/collection/vendor/calcite-components/OE2AH2NC.js +0 -4
- package/dist/collection/vendor/calcite-components/OGED6PPP.js +0 -4
- package/dist/collection/vendor/calcite-components/OHOS32IT.js +0 -4
- package/dist/collection/vendor/calcite-components/OLMX7G3J.js +0 -4
- package/dist/collection/vendor/calcite-components/OOSULFCY.js +0 -4
- package/dist/collection/vendor/calcite-components/OPBQNK7J.js +0 -4
- package/dist/collection/vendor/calcite-components/OTHVFLNW.js +0 -4
- package/dist/collection/vendor/calcite-components/OTUG3NVT.js +0 -4
- package/dist/collection/vendor/calcite-components/PNHR5K2L.js +0 -4
- package/dist/collection/vendor/calcite-components/PT2XMADA.js +0 -4
- package/dist/collection/vendor/calcite-components/PZLVQQMT.js +0 -4
- package/dist/collection/vendor/calcite-components/QAYSDI3M.js +0 -5
- package/dist/collection/vendor/calcite-components/QCGLMLKW.js +0 -4
- package/dist/collection/vendor/calcite-components/QHASLHZN.js +0 -4
- package/dist/collection/vendor/calcite-components/QK2H5T7J.js +0 -4
- package/dist/collection/vendor/calcite-components/QLKHJI4P.js +0 -4
- package/dist/collection/vendor/calcite-components/QQ67AVDV.js +0 -4
- package/dist/collection/vendor/calcite-components/QU33PBBI.js +0 -4
- package/dist/collection/vendor/calcite-components/QYGED6CL.js +0 -4
- package/dist/collection/vendor/calcite-components/R3HMG2D6.js +0 -4
- package/dist/collection/vendor/calcite-components/R4RMVIKH.js +0 -4
- package/dist/collection/vendor/calcite-components/R6GNPMSV.js +0 -4
- package/dist/collection/vendor/calcite-components/RAFCSOOQ.js +0 -4
- package/dist/collection/vendor/calcite-components/RAQWKUOJ.js +0 -4
- package/dist/collection/vendor/calcite-components/RESHLE2Y.js +0 -4
- package/dist/collection/vendor/calcite-components/RJLKHCRB.js +0 -4
- package/dist/collection/vendor/calcite-components/RLSQLIV6.js +0 -4
- package/dist/collection/vendor/calcite-components/RMGYRZXR.js +0 -4
- package/dist/collection/vendor/calcite-components/RSAEDAEX.js +0 -4
- package/dist/collection/vendor/calcite-components/RUTUU2EH.js +0 -4
- package/dist/collection/vendor/calcite-components/RVMVJW6K.js +0 -4
- package/dist/collection/vendor/calcite-components/RVQMJBNS.js +0 -4
- package/dist/collection/vendor/calcite-components/S76CXQTI.js +0 -4
- package/dist/collection/vendor/calcite-components/SBZ6VJ75.js +0 -4
- package/dist/collection/vendor/calcite-components/SJKTCGW6.js +0 -4
- package/dist/collection/vendor/calcite-components/SKDMJE3X.js +0 -4
- package/dist/collection/vendor/calcite-components/SMUXJLDL.js +0 -4
- package/dist/collection/vendor/calcite-components/SYEQSDHG.js +0 -4
- package/dist/collection/vendor/calcite-components/T3NRBBZP.js +0 -4
- package/dist/collection/vendor/calcite-components/T5UPGHU3.js +0 -4
- package/dist/collection/vendor/calcite-components/T6HODD4B.js +0 -4
- package/dist/collection/vendor/calcite-components/TNR5VZG2.js +0 -4
- package/dist/collection/vendor/calcite-components/TQIVV2F7.js +0 -4
- package/dist/collection/vendor/calcite-components/TQTAM3XB.js +0 -4
- package/dist/collection/vendor/calcite-components/TSJJLMPA.js +0 -4
- package/dist/collection/vendor/calcite-components/TVDZM7WT.js +0 -4
- package/dist/collection/vendor/calcite-components/U3WK4DZT.js +0 -4
- package/dist/collection/vendor/calcite-components/U725E4ID.js +0 -4
- package/dist/collection/vendor/calcite-components/UELGJSYH.js +0 -4
- package/dist/collection/vendor/calcite-components/UJL3BWDH.js +0 -4
- package/dist/collection/vendor/calcite-components/URM3R65T.js +0 -4
- package/dist/collection/vendor/calcite-components/US3PQV6O.js +0 -4
- package/dist/collection/vendor/calcite-components/V4JZRN7T.js +0 -4
- package/dist/collection/vendor/calcite-components/VCSXFNPO.js +0 -4
- package/dist/collection/vendor/calcite-components/VG7BJBFG.js +0 -4
- package/dist/collection/vendor/calcite-components/VJD4CRQ3.js +0 -4
- package/dist/collection/vendor/calcite-components/VMRLYKNI.js +0 -4
- package/dist/collection/vendor/calcite-components/VNQNKQ2J.js +0 -4
- package/dist/collection/vendor/calcite-components/VST65PDC.js +0 -4
- package/dist/collection/vendor/calcite-components/WKTGTKRJ.js +0 -4
- package/dist/collection/vendor/calcite-components/WPAMFFBY.js +0 -4
- package/dist/collection/vendor/calcite-components/WSGL37LB.js +0 -4
- package/dist/collection/vendor/calcite-components/WWUBU6N5.js +0 -4
- package/dist/collection/vendor/calcite-components/X2UHFJHG.js +0 -4
- package/dist/collection/vendor/calcite-components/XBZLGRRI.js +0 -4
- package/dist/collection/vendor/calcite-components/XOVG6UH3.js +0 -4
- package/dist/collection/vendor/calcite-components/XT32TCZG.js +0 -4
- package/dist/collection/vendor/calcite-components/XXZIOSXQ.js +0 -4
- package/dist/collection/vendor/calcite-components/Y6VF7HSM.js +0 -4
- package/dist/collection/vendor/calcite-components/YA5A7PJR.js +0 -4
- package/dist/collection/vendor/calcite-components/YMRTHS5X.js +0 -4
- package/dist/collection/vendor/calcite-components/YTRT5XZT.js +0 -4
- package/dist/collection/vendor/calcite-components/YXLQFMOA.js +0 -4
- package/dist/collection/vendor/calcite-components/YYJSHQR3.js +0 -4
- package/dist/collection/vendor/calcite-components/Z6GA347Y.js +0 -4
- package/dist/collection/vendor/calcite-components/Z7VNUC77.js +0 -4
- package/dist/collection/vendor/calcite-components/ZA76CHET.js +0 -4
- package/dist/collection/vendor/calcite-components/ZGXTLCGJ.js +0 -4
- package/dist/collection/vendor/calcite-components/ZQO6E4FO.js +0 -4
- package/dist/collection/vendor/calcite-components/ZV442E6X.js +0 -4
- package/dist/collection/vendor/instant-apps-components/p-0b1b0a5a.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-1c4428aa.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-1c4428aa.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-3ce7e35f.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-3e5898bb.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-3e5898bb.entry.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-491aed47.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-4ad06857.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-51f2e0b2.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-51f2e0b2.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-525c0e1c.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-5f6af6b4.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-6c1383dc.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-6e858759.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-946ed90b.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-9f85433e.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-a271203d.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-a72c317d.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-ab4ac65e.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-ab4ac65e.entry.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-ac95a4be.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-b291a1e6.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-b291a1e6.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-b355f972.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-b9eed273.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-c5932580.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-c77b3b1b.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-cd7eea90.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-cfc94a85.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-cfc94a85.entry.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-ef8e7a97.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-f146c213.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-fa2be703.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-fa2be703.entry.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-fcbd42f5.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-fedaae5b.entry.js +0 -2
- package/dist/esm/asyncToGenerator-48cd21fe.js +0 -88
- package/dist/esm/downloadUtils-7ef5420f.js +0 -5371
- package/dist/esm/index.es-c379ea10.js +0 -11108
- package/dist/esm/popupUtils-ef89df87.js +0 -119
- package/dist/esm/purify-b49e5991.js +0 -1555
- package/dist/solutions-components/p-11ad8edc.entry.js +0 -6
- package/dist/solutions-components/p-1325fa9e.entry.js +0 -6
- package/dist/solutions-components/p-1a65c187.entry.js +0 -6
- package/dist/solutions-components/p-2be59c38.entry.js +0 -6
- package/dist/solutions-components/p-4379cc5f.js +0 -498
- package/dist/solutions-components/p-5096280f.entry.js +0 -6
- package/dist/solutions-components/p-51033697.entry.js +0 -6
- package/dist/solutions-components/p-51e04c86.js +0 -21
- package/dist/solutions-components/p-605597cf.entry.js +0 -6
- package/dist/solutions-components/p-62a0aa8e.js +0 -6
- package/dist/solutions-components/p-681a41f3.entry.js +0 -6
- package/dist/solutions-components/p-6d1ee086.js +0 -61
- package/dist/solutions-components/p-7eec82e3.entry.js +0 -21
- package/dist/solutions-components/p-8b05b49c.entry.js +0 -6
- package/dist/solutions-components/p-93ebcb9b.entry.js +0 -6
- package/dist/solutions-components/p-a9c9ff86.entry.js +0 -6
- package/dist/solutions-components/p-ad83a5ba.js +0 -7
- package/dist/solutions-components/p-b1f11c67.entry.js +0 -11
- package/dist/solutions-components/p-b3b5dca4.entry.js +0 -6
- package/dist/solutions-components/p-c45ba7dd.entry.js +0 -6
- package/dist/solutions-components/p-de3ba7be.entry.js +0 -21
- package/dist/solutions-components/p-debeb4dc.entry.js +0 -6
- package/dist/solutions-components/p-f2cfed3a.entry.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/22RQB3WE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/24SER2VV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2BGMAPSV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2JKKAEPM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2M4WCGKG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2YAXZHP2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/345Q4UHX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/36DMRAV2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3DGJ6ZQI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3GICXOBQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3IV6JSC2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3TOVZEQB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/45GA6INB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/46U4MKUU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4BSCJ722.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4SEPDFCP.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/4TQLSUKH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4YZ27QWL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4Z7JRTON.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5AVZLE2Q.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5EPP4MG3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/66B2H27W.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6LW27BEV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6OZRZ36X.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6X2SD2PW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6XTYGXNG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6ZTWHW63.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7D3VEEUX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7E342YOK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7KSGVDSR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7PWETOIU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7QHUEK5R.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7SX3RD7P.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7U7FF3Y4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7WG5I3MP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A5GGYTUQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AI3R3SU6.js +0 -28
- package/dist/solutions-components/vendor/calcite-components/ARHYATTG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ATHBUWBY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AXXJNFKZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AYZ73RWQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BAHIPAHM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BRTDMTZ3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BRTESQOJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BSRMWMHQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BZKF5ZXQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/C46JYVUP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/C54C5E23.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CBSMKHOY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CFRBQXK4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CIV3PH3Z.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CJYTY62F.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CK6HQQX6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CMO3X257.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CNO6NFH5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CWPRBG3T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CY6C2FDZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/D2HDFE7S.js +0 -22
- package/dist/solutions-components/vendor/calcite-components/D36VWSDW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DBVNMM6Q.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DDJ75RTI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DH4ISGHV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DNYBIAUI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DT67ZFPX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DTL2LM6T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E3R5SMVW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E4NMFIKN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EAML4EDI.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/ECEZ4R6E.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EFI2G5WL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EHZCT5YZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EOHVH6PN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ESBOJTBS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/F6EGRKXW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FCN5RMLA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FDIM6DYL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FE3A3YUN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FHBFGCTR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FNFWOOMR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FNM4DZZH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G2KHDAZD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G3LH75CQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G3ZJ2KQT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G7WFYVUC.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/GAAXSGWK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GE63ETFI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GFC7NS6P.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GGO5TMB4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GKKCWEZX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GN5CPLSJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GNUSLZWJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GOOHYN3D.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GPUFLCIT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GSXEMGSW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GYQTRH4V.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HFIRIAQA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HGTV36FX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HKHPJJ34.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HMVKZP47.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/I2OIH73C.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/I32TMNTO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/I62DUDHI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IH4RXHJJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IJCTXZQB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IXRMDUEL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IYDN67SF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JCWM5Z43.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JEX42CPR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JFYDLHH7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JLZYAYOL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JUNCR7R2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JVNEJ36Z.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/K3ZBW4GY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KBDXI6DJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KBNS3CCT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KI2NOBMU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KSNEQFZX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KSVYAIHK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KULDQOV2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KVSCG5E3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/KW57BHXD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KWOOGTG2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/L5FDXQMT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LB5ATL5Q.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LH7KSBQC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LHSAAMYQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LILDCWFX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LLSB73WA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LOZEGKG2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MBQZPRQ5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MCSX2S5T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MIKGJ3NM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MPAVJ7UH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MPX2M2VX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MQYH4ONZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MUWK32IE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MZRO54UT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N2BVYYYP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N4MN6VQ7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N55N67N5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NODC2JA6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NVBNX55L.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NWVCPRVB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/O4O3TSE5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OE2AH2NC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OGED6PPP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OHOS32IT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OLMX7G3J.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OOSULFCY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OPBQNK7J.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OTHVFLNW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OTUG3NVT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PNHR5K2L.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PT2XMADA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PZLVQQMT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QAYSDI3M.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/QCGLMLKW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QHASLHZN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QK2H5T7J.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QLKHJI4P.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QQ67AVDV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QU33PBBI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QYGED6CL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/R3HMG2D6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/R4RMVIKH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/R6GNPMSV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RAFCSOOQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RAQWKUOJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RESHLE2Y.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RJLKHCRB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RLSQLIV6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RMGYRZXR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RSAEDAEX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RUTUU2EH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RVMVJW6K.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RVQMJBNS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/S76CXQTI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SBZ6VJ75.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SJKTCGW6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SKDMJE3X.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SMUXJLDL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SYEQSDHG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/T3NRBBZP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/T5UPGHU3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/T6HODD4B.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TNR5VZG2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TQIVV2F7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TQTAM3XB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TSJJLMPA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TVDZM7WT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/U3WK4DZT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/U725E4ID.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UELGJSYH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UJL3BWDH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/URM3R65T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/US3PQV6O.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/V4JZRN7T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VCSXFNPO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VG7BJBFG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VJD4CRQ3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VMRLYKNI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VNQNKQ2J.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VST65PDC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WKTGTKRJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WPAMFFBY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WSGL37LB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WWUBU6N5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/X2UHFJHG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XBZLGRRI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XOVG6UH3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XT32TCZG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XXZIOSXQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Y6VF7HSM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YA5A7PJR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YMRTHS5X.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YTRT5XZT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YXLQFMOA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YYJSHQR3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Z6GA347Y.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Z7VNUC77.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZA76CHET.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZGXTLCGJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZQO6E4FO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZV442E6X.js +0 -4
- package/dist/solutions-components/vendor/instant-apps-components/p-0b1b0a5a.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-1c4428aa.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-1c4428aa.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-3ce7e35f.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-3e5898bb.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-3e5898bb.entry.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-491aed47.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-4ad06857.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-51f2e0b2.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-51f2e0b2.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-525c0e1c.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-5f6af6b4.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-6c1383dc.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-6e858759.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-946ed90b.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-9f85433e.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-a271203d.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-a72c317d.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-ab4ac65e.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-ab4ac65e.entry.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-ac95a4be.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-b291a1e6.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-b291a1e6.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-b355f972.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-b9eed273.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-c5932580.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-c77b3b1b.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-cd7eea90.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-cfc94a85.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-cfc94a85.entry.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-ef8e7a97.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-f146c213.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-fa2be703.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-fa2be703.entry.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-fcbd42f5.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-fedaae5b.entry.js +0 -2
- /package/dist/cjs/{locale-81070bd9.js → locale-809dbc6e.js} +0 -0
- /package/dist/cjs/{typeof-920a4426.js → typeof-2a7e2dec.js} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-c5932580.js.map → p-005a2711.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-b355f972.entry.js.map → p-032bc629.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-4ad06857.entry.js.map → p-050b8c6e.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-946ed90b.entry.js.map → p-0e4ff0a9.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-491aed47.entry.js.map → p-2162260c.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-9f85433e.entry.js.map → p-2e588fed.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-c77b3b1b.js.map → p-40992282.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-f146c213.js.map → p-45a300a8.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-3ce7e35f.entry.js.map → p-5d5a1e7d.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-5f6af6b4.entry.js.map → p-5d67f7d1.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-ef8e7a97.entry.js.map → p-625b0358.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-a72c317d.entry.js.map → p-6ab370d8.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-6c1383dc.entry.js.map → p-75b6ba72.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-0b1b0a5a.entry.js.map → p-82b50b9d.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-525c0e1c.entry.js.map → p-85727adc.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-b9eed273.entry.js.map → p-88c9829f.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-a271203d.entry.js.map → p-9ef92300.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-fcbd42f5.entry.js.map → p-af343e04.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-6e858759.entry.js.map → p-b8c8fb6f.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-ac95a4be.entry.js.map → p-bbc047f2.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-cd7eea90.entry.js.map → p-c0385dc5.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-fedaae5b.entry.js.map → p-cda36aea.entry.js.map} +0 -0
- /package/dist/esm/{locale-4be8e04f.js → locale-fa8258bf.js} +0 -0
- /package/dist/esm/{typeof-2511410e.js → typeof-ef2a007d.js} +0 -0
- /package/dist/solutions-components/{p-af7e43e0.js → p-4fe489cf.js} +0 -0
- /package/dist/solutions-components/{p-8a74a780.js → p-57be3b9d.js} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-c5932580.js.map → p-005a2711.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-b355f972.entry.js.map → p-032bc629.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-4ad06857.entry.js.map → p-050b8c6e.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-946ed90b.entry.js.map → p-0e4ff0a9.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-491aed47.entry.js.map → p-2162260c.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-9f85433e.entry.js.map → p-2e588fed.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-c77b3b1b.js.map → p-40992282.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-f146c213.js.map → p-45a300a8.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-3ce7e35f.entry.js.map → p-5d5a1e7d.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-5f6af6b4.entry.js.map → p-5d67f7d1.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-ef8e7a97.entry.js.map → p-625b0358.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-a72c317d.entry.js.map → p-6ab370d8.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-6c1383dc.entry.js.map → p-75b6ba72.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-0b1b0a5a.entry.js.map → p-82b50b9d.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-525c0e1c.entry.js.map → p-85727adc.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-b9eed273.entry.js.map → p-88c9829f.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-a271203d.entry.js.map → p-9ef92300.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-fcbd42f5.entry.js.map → p-af343e04.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-6e858759.entry.js.map → p-b8c8fb6f.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-ac95a4be.entry.js.map → p-bbc047f2.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-cd7eea90.entry.js.map → p-c0385dc5.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-fedaae5b.entry.js.map → p-cda36aea.entry.js.map} +0 -0
@@ -1,2 +0,0 @@
|
|
1
|
-
import{h as e,r as t,f as n,g as i}from"./p-6517b6d4.js";import{h as a,s,g as r,v as c,a as l,i as o,b as d,c as p,d as v,e as f,f as u,j as g,u as h,k as m,l as y}from"./p-b291a1e6.js";import{w as _,a as b,i as w,b as k}from"./p-1c4428aa.js";import"./p-eff6e0b8.js";import"./p-51f2e0b2.js";const $=96;function L(e){if(!e){return 0}return e/72*$}var x=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};var z={exports:{}};(function(e,t){(function(e,n){n(t)})(x,(function(e){var t="http://www.w3.org/";var n="".concat(t,"2000/svg");var i="".concat(t,"1999/xlink");var a=[];var s=function(e,t){var n={};Object.keys(e).forEach((function(t){n[t]=e[t]}));if(t){Object.keys(t).forEach((function(e){n[e]=t[e]}))}return n};var r=function(e,t){if(e.vnodeSelector!==t.vnodeSelector){return false}if(e.properties&&t.properties){if(e.properties.key!==t.properties.key){return false}return e.properties.bind===t.properties.bind}return!e.properties&&!t.properties};var c=function(e){if(typeof e!=="string"){throw new Error("Style values must be strings")}};var l=function(e,t,n){if(t.vnodeSelector!==""){for(var i=n;i<e.length;i++){if(r(e[i],t)){return i}}}return-1};var o=function(e,t,n,i){var a=e[t];if(a.vnodeSelector===""){return}var s=a.properties;var c=s?s.key===undefined?s.bind:s.key:undefined;if(!c){for(var l=0;l<e.length;l++){if(l!==t){var o=e[l];if(r(o,a)){throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(a.vnodeSelector," child ").concat(i==="added"?i:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:a}}}}}};var d=function(e){if(e.properties){var t=e.properties.enterAnimation;if(t){t(e.domNode,e.properties)}}};var p=[];var v=false;var f=function(e){(e.children||[]).forEach(f);if(e.properties&&e.properties.afterRemoved){e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])}};var u=function(){v=false;p.forEach(f);p.length=0};var g=function(e){p.push(e);if(!v){v=true;if(typeof window!=="undefined"&&"requestIdleCallback"in window){window.requestIdleCallback(u,{timeout:16})}else{setTimeout(u,16)}}};var h=function(e){var t=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){t.style.pointerEvents="none";var i=function(){if(t.parentNode){t.parentNode.removeChild(t);g(e)}};n(t,i,e.properties);return}}if(t.parentNode){t.parentNode.removeChild(t);g(e)}};var m=function(e,t,a){if(!t){return}var s=a.eventHandlerInterceptor;var r=Object.keys(t);var l=r.length;var o=function(l){var o=r[l];var d=t[o];if(o==="className"){throw new Error('Property "className" is not supported, use "class".')}else if(o==="class"){k(e,d,true)}else if(o==="classes"){var p=Object.keys(d);var v=p.length;for(var f=0;f<v;f++){var u=p[f];if(d[u]){e.classList.add(u)}}}else if(o==="styles"){var g=Object.keys(d);var h=g.length;for(var f=0;f<h;f++){var m=g[f];var y=d[m];if(y){c(y);a.styleApplyer(e,m,y)}}}else if(o==="on"&&d){for(var _=0,b=Object.entries(t.on);_<b.length;_++){var w=b[_],$=w[0],L=w[1];var x=typeof L==="function"?L:L.listener;if(s){x=s($,x,e,t)}if(x){e.addEventListener($,x,typeof L==="function"?undefined:L.options)}}}else if(o!=="key"&&d!==null&&d!==undefined){var z=typeof d;if(z==="function"){if(o.lastIndexOf("on",0)===0){if(s){d=s(o,d,e,t)}if(o==="oninput"){(function(){var e=d;d=function(t){e.apply(this,[t]);t.target["oninput-value"]=t.target.value}})()}}e[o]=d}else if(a.namespace===n){if(o==="href"){e.setAttributeNS(i,o,d)}else{e.setAttribute(o,d)}}else if(z==="string"&&o!=="value"&&o!=="innerHTML"){e.setAttribute(o,d)}else{e[o]=d}}};for(var d=0;d<l;d++){o(d)}};var y=function(e,t,n){if(!t){return}for(var i=0,a=t;i<a.length;i++){var s=a[i];b(s,e,undefined,n)}};var _=function(e,t,n){y(e,t.children,n);if(t.text){e.textContent=t.text}m(e,t.properties,n);if(t.properties&&t.properties.afterCreate){t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,n,t.vnodeSelector,t.properties,t.children])}};var b=function(e,t,i,a){var r;var c;var l=0;var o=e.vnodeSelector;var d=t.ownerDocument;if(o===""){if(e.domNode){e.domNode.nodeValue=e.text}else{c=e.domNode=d.createTextNode(e.text);if(i!==undefined){t.insertBefore(c,i)}else{t.appendChild(c)}}}else{for(var p=0;p<=o.length;++p){var v=o.charAt(p);if(p===o.length||v==="."||v==="#"){var f=o.charAt(l-1);var u=o.slice(l,p);if(f==="."){c.classList.add(u)}else if(f==="#"){c.id=u}else{if(u==="svg"){a=s(a,{namespace:n})}if(a.namespace!==undefined){c=e.domNode=d.createElementNS(a.namespace,u)}else{c=e.domNode=e.domNode||(((r=e.properties)===null||r===void 0?void 0:r.is)?d.createElement(u,{is:e.properties.is}):d.createElement(u));if(u==="input"&&e.properties&&e.properties.type!==undefined){c.setAttribute("type",e.properties.type)}}if(i!==undefined){t.insertBefore(c,i)}else if(c.parentNode!==t){t.appendChild(c)}}l=p+1}}_(c,e,a)}};var w;var k=function(e,t,n){if(!t){return}t.split(" ").forEach((function(t){if(t){e.classList.toggle(t,n)}}))};var $=function(e,t,a,s){if(!a){return}var r=false;var l=Object.keys(a);var o=l.length;for(var d=0;d<o;d++){var p=l[d];var v=a[p];var f=t[p];if(p==="class"){if(f!==v){k(e,f,false);k(e,v,true)}}else if(p==="classes"){var u=e.classList;var g=Object.keys(v);var h=g.length;for(var m=0;m<h;m++){var y=g[m];var _=!!v[y];var b=!!f[y];if(_===b){continue}r=true;if(_){u.add(y)}else{u.remove(y)}}}else if(p==="styles"){var w=Object.keys(v);var $=w.length;for(var m=0;m<$;m++){var L=w[m];var x=v[L];var z=f[L];if(x===z){continue}r=true;if(x){c(x);s.styleApplyer(e,L,x)}else{s.styleApplyer(e,L,"")}}}else{if(!v&&typeof f==="string"){v=""}if(p==="value"){var R=e[p];if(R!==v&&(e["oninput-value"]?R===e["oninput-value"]:v!==f)){e[p]=v;e["oninput-value"]=undefined}if(v!==f){r=true}}else if(v!==f){var C=typeof v;if(C!=="function"||!s.eventHandlerInterceptor){if(s.namespace===n){if(p==="href"){e.setAttributeNS(i,p,v)}else{e.setAttribute(p,v)}}else if(C==="string"&&p!=="innerHTML"){if(p==="role"&&v===""){e.removeAttribute(p)}else{e.setAttribute(p,v)}}else if(e[p]!==v){e[p]=v}r=true}}}}return r};var L=function(e,t,n,i,s){if(n===i){return false}n=n||a;i=i||a;var c=n.length;var p=i.length;var v=0;var f=0;var u;var g=false;while(f<p){var m=v<c?n[v]:undefined;var y=i[f];if(m!==undefined&&r(m,y)){g=w(m,y,s)||g;v++}else{var _=l(n,y,v+1);if(_>=0){for(u=v;u<_;u++){h(n[u]);o(n,u,e,"removed")}g=w(n[_],y,s)||g;v=_+1}else{b(y,t,v<c?n[v].domNode:undefined,s);d(y);o(i,f,e,"added")}}f++}if(c>v){for(u=v;u<c;u++){h(n[u]);o(n,u,e,"removed")}}return g};w=function(e,t,i){var a=e.domNode;var r=false;if(e===t){return false}var c=false;if(t.vnodeSelector===""){if(t.text!==e.text){var l=a.ownerDocument.createTextNode(t.text);a.parentNode.replaceChild(l,a);t.domNode=l;r=true;return r}t.domNode=a}else{if(t.vnodeSelector.lastIndexOf("svg",0)===0){i=s(i,{namespace:n})}if(e.text!==t.text){c=true;if(t.text===undefined){a.removeChild(a.firstChild)}else{a.textContent=t.text}}t.domNode=a;c=L(t,a,e.children,t.children,i)||c;c=$(a,e.properties,t.properties,i)||c;if(t.properties&&t.properties.afterUpdate){t.properties.afterUpdate.apply(t.properties.bind||t.properties,[a,i,t.vnodeSelector,t.properties,t.children])}}if(c&&t.properties&&t.properties.updateAnimation){t.properties.updateAnimation(a,t.properties,e.properties)}return r};var x=function(e,t){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector){throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)")}var i=e;e=n;w(i,n,t)},domNode:e.domNode}};var z={namespace:undefined,performanceLogger:function(){return undefined},eventHandlerInterceptor:undefined,styleApplyer:function(e,t,n){if(t.charAt(0)==="-"){e.style.setProperty(t,n)}else{e.style[t]=n}}};var R=function(e){return s(z,e)};var C={create:function(e,t){t=R(t);b(e,document.createElement("div"),undefined,t);return x(e,t)},append:function(e,t,n){n=R(n);b(t,e,undefined,n);return x(t,n)},insertBefore:function(e,t,n){n=R(n);b(t,e.parentNode,e,n);return x(t,n)},merge:function(e,t,n){n=R(n);t.domNode=e;_(e,t,n);return x(t,n)},replace:function(e,t,n){n=R(n);b(t,e.parentNode,e,n);e.parentNode.removeChild(e);return x(t,n)}};var T=function(e){return{vnodeSelector:"",properties:undefined,children:undefined,text:e.toString(),domNode:null}};var A=function(e,t,n){for(var i=0,a=t.length;i<a;i++){var s=t[i];if(Array.isArray(s)){A(e,s,n)}else{if(s!==null&&s!==undefined&&s!==false){if(typeof s==="string"){s=T(s)}n.push(s)}}}};function E(e,t,n){if(Array.isArray(t)){n=t;t=undefined}else if(t&&(typeof t==="string"||t.vnodeSelector)||n&&(typeof n==="string"||n.vnodeSelector)){throw new Error("h called with invalid arguments")}var i;var a;if(n&&n.length===1&&typeof n[0]==="string"){i=n[0]}else if(n){a=[];A(e,n,a);if(a.length===0){a=undefined}}return{vnodeSelector:e,properties:t,children:a,text:i===""?undefined:i,domNode:null}}var F=function(e,t){var n=[];while(e&&e!==t){n.push(e);e=e.parentNode}return n};var I;if(Array.prototype.find){I=function(e,t){return e.find(t)}}else{I=function(e,t){return e.filter(t)[0]}}var M=function(e,t){var n=e;t.forEach((function(e){n=n&&n.children?I(n.children,(function(t){return t.domNode===e})):undefined}));return n};var S=function(e,t,n){return function(e,t,n,a){return i};function i(i){var a,s;n("domEvent",i);var r=t();var c=F(i.currentTarget,r.domNode);c.reverse();var l=M(r.getLastRender(),c);e.scheduleRender();var o;if(l){var d=(s=(a=l.properties["on".concat(i.type)])!==null&&a!==void 0?a:l.properties.on[i.type].listener)!==null&&s!==void 0?s:l.properties.on[i.type];o=d.apply(l.properties.bind||this,arguments)}n("domEventProcessed",i);return o}};var j=function(e){var t;var n=R(e);var i=n.performanceLogger;var a=true;var s;var r=false;var c=[];var l=[];var o=function(e,a,s){var r;var o=function(){return r};n.eventHandlerInterceptor=S(t,o,i);r=e(a,s(),n);c.push(r);l.push(s)};var d=function(){s=undefined;if(!a){return}a=false;i("renderStart",undefined);for(var e=0;e<c.length;e++){var t=l[e]();i("rendered",undefined);c[e].update(t);i("patched",undefined)}i("renderDone",undefined);a=true};t={renderNow:d,scheduleRender:function(){if(!s&&!r){s=requestAnimationFrame(d)}},stop:function(){if(s){cancelAnimationFrame(s);s=undefined}r=true},resume:function(){r=false;a=true;t.scheduleRender()},append:function(e,t){o(C.append,e,t)},insertBefore:function(e,t){o(C.insertBefore,e,t)},merge:function(e,t){o(C.merge,e,t)},replace:function(e,t){o(C.replace,e,t)},detach:function(e){for(var t=0;t<l.length;t++){if(l[t]===e){l.splice(t,1);return c.splice(t,1)[0]}}throw new Error("renderFunction was not found")}};return t};var N=function(){var e;var t;return{invalidate:function(){t=undefined;e=undefined},result:function(n,i){if(e){for(var a=0;a<n.length;a++){if(e[a]!==n[a]){t=undefined}}}if(!t){t=i();e=n}return t}}};var O=function(e,t,n){var i=[];var a=[];return{results:a,map:function(s){var r=s.map(e);var c=a.slice();var l=0;for(var o=0;o<s.length;o++){var d=s[o];var p=r[o];if(p===i[l]){a[o]=c[l];n(d,c[l],o);l++}else{var v=false;for(var f=1;f<i.length+1;f++){var u=(l+f)%i.length;if(i[u]===p){a[o]=c[u];n(s[o],c[u],o);l=u+1;v=true;break}}if(!v){a[o]=t(d,o)}}}a.length=s.length;i=r}}};e.createCache=N;e.createMapping=O;e.createProjector=j;e.dom=C;e.h=E}))})(z,z.exports);const R=z.exports.createProjector();const C=10;const T=20;const A=10;const E=20;const F={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function I(t="vertical"){const n={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return t==="vertical"?e("svg",{height:"4",width:"10"},e("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:n})):e("svg",{height:"10",width:"10"},e("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:n}))}function M(e,t="vertical"){const n=document.createElement("div");n.style.height=`${T}px`;n.className=F.univariateAboveAndBelowSymbol;if(e!=null){n.style.opacity=e.toString()}R.append(n,I.bind(null,t));return n}function S(e,t,n="vertical",i){e.infos.forEach(((e,a)=>{if(i&&a===2){e.preview=M(t,n)}else{const{size:t}=e;const i=L(t)+(n==="horizontal"?E:A);const a=e.preview.tagName.toLowerCase()==="div";const s=a?e.preview:document.createElement("div");if(s){s.className=F.univariateAboveAndBelowSymbol}if(n==="horizontal"){if(s){s.style.width=`${i}px`}}else{if(s){s.style.height=`${i}px`}}if(!a){if(s){s.appendChild(e.preview)}}e.preview=s}}))}function j(e,t="classic"){const n=e.infos;const i=n[0].size;const a=n[n.length-1].size;if(t==="classic"){return(L(i)+A)/2}return(L(i)-L(a))/2}async function N(e,t){if(!e){return await Promise.resolve(null)}const n=e.infos.map((e=>e.color));const i=await _();const a=i.renderColorRampPreviewHTML(t.type==="full"?n:t.type==="above"?n.slice(0,3):n.slice(2,5),{width:t.width,height:t.height,align:t.rampAlignment,effectList:t.effectList});a.className=F.colorRamp;if(t.opacity!=null){a.style.opacity=t.opacity.toString()}return await Promise.resolve(a)}function O(e,t,n,i="vertical"){let a=0;const s=e.infos;const r=Math.floor(s.length/2);const c=t==="full"||t==="above"?0:r;const l=t==="full"||t==="below"?s.length-1:r;for(let e=c;e<=l;e++){if(n&&e===r){a+=i==="horizontal"?C:T}else{const t=s[e].size;const n=L(t)+(i==="horizontal"?E:A);a+=n}}return Math.round(a)}function P(e,t,n,i="vertical"){const a=O(e,t,n,i);const s=e.infos;const r=Math.floor(s.length/2);const c=t==="full"||t==="above"?0:r;const l=t==="full"||t==="below"?s.length-1:r;const o=t==="full"?s[c].size+s[l].size:t==="above"?s[c].size:s[l].size;const d=n?i==="vertical"?T:C:0;const p=i==="vertical"?A*(t==="full"?2:1):E*(t==="full"?2:1);return Math.round(a-(L(o)/2+d/2+p/2))}function B(e,t,n="vertical"){const i=e.infos;let a=i.find((({type:e})=>e==="size-ramp"));let s=i.find((({type:e})=>e==="color-ramp"));if(a){a={...a};a.infos=[...a.infos];S(a,t,n,true)}if(s){s={...s};s.infos=[...s.infos]}if(n==="horizontal"){a?.infos.reverse();s?.infos.reverse()}return{sizeRampElement:a,colorRampElement:s}}function H(e,t="vertical"){const n=e.infos;let i=n.find((({type:e})=>e==="size-ramp"));let a=n.find((({type:e})=>e==="color-ramp"));if(i){i={...i};i.infos=[...i.infos];S(i,null,t,false)}if(a){a={...a};a.infos=[...a.infos]}if(t==="horizontal"){i?.infos.reverse();a?.infos.reverse()}return{sizeRampElement:i,colorRampElement:a}}function D(e,t){return!0}const q=".sc-instant-apps-interactive-legend-classic-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark:#009af2;--instant-apps-interactive-legend-info-item-background--hover:#e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark:#4a4a4a;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin:20px 15px;--instant-apps-interactive-legend-ui-padding:20px 15px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{--instant-apps-interactive-legend-ui-padding:10px 5px}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}";const W=q;const U={service:"esri-legend__service",label:"esri-legend__service-label",layer:"esri-legend__layer",groupLayer:"esri-legend__group-layer",groupLayerChild:"esri-legend__group-layer-child",layerTable:"esri-legend__layer-table",layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerCaption:"esri-legend__layer-caption",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerCell:"esri-legend__layer-cell",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",imageryLayerCellStretched:"esri-legend__imagery-layer-cell--stretched",imageryLayerInfoStretched:"esri-legend__imagery-layer-info--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",borderlessRamp:"esri-legend__borderless-ramp",rampTick:"esri-legend__ramp-tick",rampFirstTick:"esri-legend__ramp-tick-first",rampLastTick:"esri-legend__ramp-tick-last",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",header:"esri-widget__heading",hidden:"esri-hidden",interactiveLegendHeader:"instant-apps-interactive-legend__header",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"};const V=24;const Y={display:"flex",alignItems:"flex-start"};const G={marginLeft:"3px"};const J={display:"table-cell",verticalAlign:"middle"};const K=class{constructor(e){t(this,e);this.calculatingFeatureCount=false;this.legendvm=undefined;this.zoomTo=false;this.featureCount=false;this.filterMode={type:"filter"};this.messages=undefined;this.isLoading=true}handleFilterModeChange(){if(!this.legendvm?.view){return}a(this.filterMode,this.legendvm.view)}async connectedCallback(){if(this.handles){return}this.handles=await b()}async componentWillLoad(){const e=new MutationObserver((()=>{n(this.el)}));e.observe(this.el,{attributes:true});const[t,i]=await Promise.all([w(),k()]);this.reactiveUtils=i;this.intl=t}async componentDidLoad(){this.initLegend()}async initLegend(){try{await this.reactiveUtils.whenOnce((()=>this.legendvm?.view));const e=async()=>{try{const e=await(this.legendvm?.view?.map?.load());await(e?.basemap?.load());const t=e?.allLayers;const n=t?.map((async e=>await e.load()));const i=await Promise.allSettled(n);const a=i.map((e=>e?.status==="fulfilled"&&e?.value?e.value:null)).filter((e=>!!e));const r=[];a.forEach((e=>{if(this.legendvm?.view){r.push(this.legendvm.view.whenLayerView(e))}}));await Promise.allSettled(r);const c=await f(this.legendvm,this.reactiveUtils);s.set("data",{...o.data,...c});this.isLoading=false;this.setupWatchersAndListeners()}catch(e){console.error(e);this.isLoading=false}};this.legendvm?.view?.when(e);this.legendvm?.view?.map?.layers?.on("after-changes",e)}catch{this.isLoading=false}}disconnectedCallback(){this.handles?.removeAll();this.handles?.destroy();this.handles=null}render(){const t=this.renderFilteredLayers();const n=s.get("compact")?` ${U.compact}`:"";return this.isLoading?e("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:this.messages?.loading,text:this.messages?.loading}):e("div",{key:"interactive-legend-classic-container",class:`${r(this.el)}${n}`},t?.length>0?t:e("div",{class:U.message},this.messages?.noLegend))}renderFilteredLayers(){const e=this.legendvm?.activeLayerInfos?.toArray();return e.map((e=>this.renderLegendForLayer(e))).filter((e=>!!e))}renderLegendForLayer(t,n){if(!t.ready){return null}const i=!!t.children.length;if(i){const i=t.children.map((e=>this.renderLegendForLayer(e,true))).toArray();return e("instant-apps-interactive-legend-group-legend-element",{class:r(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:t,isChild:n},e("div",{style:{paddingLeft:"20px"},id:`${t?.layer?.id}-legend-layer`,slot:"content"},i))}const a=t.legendElements;if(a&&!a.length){return null}const s=a.map(((e,n)=>this.renderLegendForElement(e,t.layer,t.effectList,t,n))).filter((e=>!!e));if(!s.length){return null}return e("instant-apps-interactive-legend-layer-element",{class:r(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:t,messages:this.messages,isChild:!!n},e("div",{slot:"content",id:`${t?.layer?.id}-legend-layer`,class:U.layer},s))}renderLegendForElement(t,n,i,a,s,l,o){const d=t.type==="color-ramp";const p=t.type==="opacity-ramp";const v=t.type==="size-ramp";let f=null;const u=c(a,t,s);const g=t?.type==="relationship-ramp";if(t.type==="symbol-table"||v){const r=t.infos.map(((e,r)=>this.renderLegendForElementInfo(e,n,i,v,t,a,s,r,u,o?o:null))).filter((e=>!!e));if(r.length){f=e("div",{class:U.layerBody},r)}}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){const e=t;f=this.renderLegendForRamp(e,n.opacity)}else if(t.type==="relationship-ramp"){f=e("instant-apps-interactive-legend-relationship",{class:r(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:a,legendElement:t,messages:this.messages})}else if(t.type==="pie-chart-ramp"){const e=t;f=this.renderPieChartRamp(e)}else if(t.type==="univariate-above-and-below-ramp"){const e=t;f=this.renderUnivariateAboveAndBelowRamp(e,n.opacity,i)}else if(t.type==="univariate-color-size-ramp"){const e=t;f=this.renderUnivariateColorSizeRamp(e,n.opacity,i)}if(!f){return null}const h=t.title;let m=null;if(typeof h==="string"){m=h}else if(h){const e=h;const t=this.getTitle(this.messages,e,d||p);if(this.isRendererTitle(d||p)){if("title"in h){const e=h.title;m=`${e} (${t})`}}else{m=t}}return e("instant-apps-interactive-legend-legend-element",{class:r(this.el),activeLayerInfo:a,isSizeRamp:v,isChild:!!l,isColorRamp:d,isRelationshipRamp:g,isInteractive:u,zoomTo:this.zoomTo,legendElement:t,titleText:m,legendvm:this.legendvm,legendElementIndex:s,messages:this.messages},e("div",{slot:"content"},f))}renderPieChartRamp(t){return e("div",{innerHTML:`${t.preview?.outerHTML}`})}async renderUnivariateAboveAndBelowRamp(t,n,i){const{sizeRampElement:a,colorRampElement:s}=B(t,n);if(!a){return null}const r=P(a,"above",true);const c=P(a,"below",true);const l=12;const o=await N(s,{width:l,height:r,rampAlignment:"vertical",opacity:n,type:"above",effectList:i});const d=await N(s,{width:l,height:c,rampAlignment:"vertical",opacity:n,type:"below",effectList:i});const p=j(a);const v=a.infos.map((e=>e.label));const f=v.map(((t,n)=>{const i=n===0;const a=n===2;return i?e("div",{class:t?o?U.univariateAboveAndBelowLabel:U.rampLabel:""},t):a?e("div",null):null}));const u=v.length-1;const g=Math.floor(v.length/2);const h=v.map(((t,n)=>{const i=n===u;const a=n===g;return a||i?e("div",{class:t?o?U.univariateAboveAndBelowLabel:U.rampLabel:""},t):null}));const m={display:"table-cell",verticalAlign:"middle"};const y={marginTop:`${p}px`};const _={height:`${r}px`};const b={height:`${c}px`};return e("div",{key:"univariate-above-and-below-ramp-preview",style:Y},e("div",{class:U.layerBody},a.infos.map(((t,n)=>e("div",{class:`${U.layerRow} ${U.sizeRamp}`},e("div",{class:U.symbol,style:m,innerHTML:t?.preview?.outerHTML??""}),!o&&n%2===0?e("div",{class:U.layerInfo},v[n]):null)))),o?e("div",{style:y,key:"color-ramp-preview"},e("div",{style:G},e("div",{style:J},e("div",{class:U.rampContainer},o)),e("div",{style:J},e("div",{class:U.rampLabelsContainer,style:_},f))),e("div",{style:G},e("div",{style:J},e("div",{class:U.rampContainer},d)),e("div",{style:J},e("div",{class:U.rampLabelsContainer,style:b},h)))):null)}renderUnivariateColorSizeRamp(t,n,i){const{sizeRampElement:a,colorRampElement:s}=H(t);if(!a){return null}const r=j(a);const c=12;const l=P(a,"full",false);const o=N(s,{width:c,height:l,rampAlignment:"vertical",opacity:n,type:"full",effectList:i});const d=a.infos.length-1;const p=a.infos.map(((t,n)=>n===0||n===d?e("div",{class:t.label?s?U.univariateAboveAndBelowLabel:U.rampLabel:""},t.label):null));const v={display:"table-cell",verticalAlign:"middle"};const f={marginTop:`${r}px`};const u={height:`${l}px`};return e("div",{key:"univariate-above-and-below-ramp-preview",style:Y},e("div",{class:U.layerBody},a.infos.map((t=>e("div",{class:`${U.layerRow} ${U.sizeRamp}`},e("div",{class:U.symbol,style:v,innerHTML:t?.preview?.outerHTML??""}))))),e("div",{style:f,key:"color-ramp-preview"},e("div",{style:G},e("div",{style:J},e("div",{class:U.rampContainer},o)),e("div",{style:J},e("div",{class:U.rampLabelsContainer,style:u},p)))))}renderLegendForRamp(t,n){const i=t.infos;const a=t.type==="opacity-ramp";const s=t.type==="heatmap-ramp";const r=t.type==="stretch-ramp";const c=t.preview;const l=a?U.opacityRamp:"";if(c){c.classList.add(U.colorRamp);if(l){c.classList.add(l)}}if(n!=null&&c){c.style.opacity=n.toString()}const o=i.map((t=>{let n;if(s){const e=this.messages[t.label];n=typeof e==="string"?e:t.label}else if(r){n="value"in t?this.getStretchStopLabel(t):t.label}else{n=t.label}return e("div",{class:t.label?U.rampLabel:""},n)}));const d={width:`${V}px`};const p={height:c?.style?.height};return e("div",{class:U.layerRow},e("div",{class:U.symbolContainer,style:{...d}},e("div",{ref:e=>{if(e?.firstChild){e?.firstChild?.remove()}e?.appendChild(c)},class:U.rampContainer})),e("div",{class:U.layerInfo},e("div",{class:U.rampLabelsContainer,style:{...p}},o)))}getStretchStopLabel(e){return e.label?`${this.messages[e.label]}: ${typeof e.value==="string"?e.value:this.intl.formatNumber(e.value,{style:"decimal",notation:e.value.toString().includes("e")?"scientific":"standard"})}`:""}renderLegendForElementInfo(t,n,i,a,c,v,f,u,g,h){if(t.type){return this.renderLegendForElement(t,n,i,v,f,true,t)}let m;const _=!D();if(t.preview){m=e("div",{class:U.symbol,innerHTML:`${t.preview.outerHTML}`})}else if(t.src){m=this.renderImage(t,n,_)}if(!m){return null}const b="";const w=a?` ${U.sizeRamp}`:"";let k;const $=y(n);const L=l($,h);if(o.data){const e=d($,n,t,L,u);const i=L?L?.nestedInfos:$;const a=p(i);k=$?.categories?.size===1?!e?.selected:a||e?.selected}const x=L&&!t?.value?false:g;const z=s.get("compact");const R=this.getTitle(this.messages,t.label,false)||"";return x?e("button",{onClick:this.applyFilter(t,n,u,h),class:`${U.layerRow} ${U.interactiveLayerRow}${k?` ${U.infoSelected}`:""}`,title:z?`${R}`:undefined},e("div",{class:`${U.symbolContainer}${b}${w}`},m),e("div",{class:`${U.layerInfo}${b}`},this.getTitle(this.messages,t.label,false)||""),this.featureCount&&!z?e("instant-apps-interactive-legend-count",{class:r(this.el),categoryId:L?c.title:t.label??n?.id,activeLayerInfo:v,legendvm:this.legendvm,messages:this.messages,selected:!!k,legendElement:c,infoIndex:u}):null):e("div",{class:U.layerRow},e("div",{class:`${U.symbolContainer}${b}${w}`},m),e("div",{class:`${U.layerInfo}${b}`},R))}renderImage(t,n,i){const{label:a,src:s,opacity:r}=t;const c=i?` ${U.imageryLayerStretchedImage}`:"";const l=!i?` ${U.symbol}`:"";const o={opacity:`${r!=null?r:n.opacity}`};return e("img",{alt:this.getTitle(this.messages,a,false),src:s,width:t.width,height:t.height,class:`$${c}${l}`,style:o})}getTitle(e,t,n){if(!t){return undefined}if(typeof t==="string"||typeof t==="number"){return t}if("value"in t||"unit"in t){return this.intl.substitute(e?.dotValue??"",t)}if("colorName"in t||"bandName"in t){const n=t;return`${e[n.colorName]}: ${e[n.bandName]||t.bandName}`}if("showCount"in t){return t.showCount?e.clusterCountTitle:null}let i=null;if(n){const e=t;i=e.ratioPercentTotal?"showRatioPercentTotal":e.ratioPercent?"showRatioPercent":e.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(n)){const e=t;i=e.normField?"showNormField":e.normByPct?"showNormPct":e.field?"showField":null}return i?this.intl?.substitute(i==="showField"?"{field}":e[i],{field:t.field,normField:t.normField}):""}isRendererTitle(e){return!e}setupWatchersAndListeners(){const e=this.legendvm?.view?.map?.allLayers?.filter((e=>e?.type==="feature"));e.forEach((async e=>{try{const t=await(this.legendvm?.view?.whenLayerView(e));const n=`fLayerViewScale-${e?.id}`;if(!this.handles?.has(n)){this.handles?.add(t.watch("visibleAtCurrentScale",(async()=>await this.createDataForLayer(e))),n)}}catch{}}));e?.forEach((e=>{const t=`fLayer-${e?.id}`;if(!this.handles?.has(t)){this.handles?.add(this.reactiveUtils?.watch((()=>e?.visible),(async()=>await this.createDataForLayer(e))),t)}}));this.handles?.add(this.reactiveUtils.when((()=>this.legendvm),(()=>{this.reactiveUtils.watch((()=>this.legendvm?.view?.updating),(()=>{if(this.calculatingFeatureCount){return}if(this.legendvm?.view?.updating){this.calculatingFeatureCount=true;this.reactiveUtils.when((()=>!this.legendvm?.view?.updating),(async()=>{const e=await v(this.legendvm,o.data);s.set("data",{...o.data,...e});this.calculatingFeatureCount=false}),{once:true,initial:true})}}),{initial:true})}),{initial:true,once:true}));this.handles?.add(this.reactiveUtils.on((()=>this.legendvm?.activeLayerInfos),"change",(async e=>{const t=await f(this.legendvm,this.reactiveUtils);s.set("data",{...o.data,...t});n(this.el);this.handles?.add(this.reactiveUtils.on((()=>e.children),"change",(async()=>{const e=await f(this.legendvm,this.reactiveUtils);s.set("data",{...o.data,...e});n(this.el)})))})));this.handles?.add(this.reactiveUtils.on((()=>this.legendvm?.view?.map?.layers),"after-changes",(async()=>{const e=await v(this.legendvm,o.data);s.set("data",{...o.data,...e});this.calculatingFeatureCount=false})))}async createDataForLayer(e){const t=s.get("data");const n=t?.[e?.id];const i=u(this.legendvm?.activeLayerInfos);const a=i?.find((t=>t?.layer?.id===e?.id));if(!n&&a){const t=await g(this.legendvm,a,this.reactiveUtils);h({intLegendLayerData:t,layerId:e?.id});if(this.featureCount){const e=await v(this.legendvm,o.data);s.set("data",{...o.data,...e})}}}applyFilter(e,t,n,i){return async()=>{const a={...o.data?.[t?.id]};if(i){await m(a,e,n,this.filterMode,i)}else{await m(a,e,n,this.filterMode)}h({intLegendLayerData:a,layerId:t?.id})}}get el(){return i(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};K.style=W;export{K as instant_apps_interactive_legend_classic};
|
2
|
-
//# sourceMappingURL=p-9f85433e.entry.js.map
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{r as e,c as n,h as t,g as i}from"./p-6517b6d4.js";import{v as a,g as s}from"./p-b291a1e6.js";import"./p-eff6e0b8.js";import"./p-1c4428aa.js";import"./p-51f2e0b2.js";const p=".sc-instant-apps-interactive-legend-group-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{overflow:hidden}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{margin:0;overflow-x:hidden}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{display:inline-block;font-size:var(--instant-apps-interactive-legend-heading-font-size)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption header.sc-instant-apps-interactive-legend-group-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption h3.sc-instant-apps-interactive-legend-group-legend-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-group-legend-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption span.sc-instant-apps-interactive-legend-group-legend-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-group-legend-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption header.sc-instant-apps-interactive-legend-group-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-group-legend-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-group-legend-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-group-legend-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-group-legend-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-group-legend-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}";const c=p;const r={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container"};const l=class{constructor(t){e(this,t);this.groupLayerCaptionElementExpandUpdatedEvent=n(this,"groupLayerCaptionElementExpandUpdated",7);this.legendvm=undefined;this.featureCount=undefined;this.activeLayerInfo=undefined;this.messages=undefined;this.isChild=false;this.expanded=true}render(){const e=a(this.activeLayerInfo);const{expanded:n}=this;const i=n?this.messages?.collapse:this.messages?.expand;const p=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"";return t("header",{key:"54b3774af9d12ff52ca01429e1edc5aa987481dd",class:`${r.interacitveLegendHeader} ${s(this.el)}`,style:{borderLeft:"1px solid var(--calcite-color-border-3)"}},t("span",{key:"ec9dfadf2376efd474b0333cb6f7d5ddb47c19c8"},t("span",{key:"1ea320fc3b7cd497c5d388d4c7fe7382289a8420",class:r.headerActionContainer},t("calcite-action",{key:"9bd10275be0564e1ec044df25944f4b2b559fe1e",onClick:this.toggleExpanded(),icon:n?"chevron-down":"chevron-up",appearance:"transparent",text:i,label:i,scale:"s"}),t("h3",{key:"3cdfbad64a12e8b968ca8c225b457793721cf59e",class:`${r.header} ${r.label}${p}`,title:this.activeLayerInfo?.title??""},this.activeLayerInfo?.title)),this.featureCount&&e?t("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":true,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded;this.groupLayerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return i(this)}};l.style=c;export{l as instant_apps_interactive_legend_group_legend_element_caption};
|
2
|
-
//# sourceMappingURL=p-a271203d.entry.js.map
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{r as t,c as s,h as i,g as e}from"./p-6517b6d4.js";import{g as o}from"./p-c5932580.js";import{a,c as n,L as c}from"./p-f146c213.js";import{g as r,f as h}from"./p-c77b3b1b.js";import{i as l,k as d,m as p}from"./p-1c4428aa.js";import"./p-eff6e0b8.js";import"./p-5978fda4.js";const u=":host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand:var(--calcite-color-text-3);--calcite-color-brand-hover:var(--calcite-color-text-3)}";const w=u;const m=class{constructor(i){t(this,i);this.selectedLanguageUpdated=s(this,"selectedLanguageUpdated",7);this.icon="language";this.portalItem=undefined;this.view=undefined;this.locales=[];this.defaultLocale=undefined;this.selectedLanguage=null;this.calciteDropdownOverlayPositioning="absolute";this.messages=undefined;this.t9nData=null}async componentWillLoad(){const[t,s]=await Promise.all([l(),d()]);this.intl=t;this.request=s;this.messages=await o(document.createElement("instant-apps-language-translator"));try{this.portalItemResource=await r(this.portalItem);const t=await h(this.portalItemResource);this.t9nData=t??{}}catch(t){this.t9nData={};console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;const s=new URLSearchParams(window.location.search);const i=s.get("locale");const e=this.locales?.map((t=>t?.locale))?.filter((t=>t===i))?.length>0;const o=a(t,this.portalItem.portal);const n=this.locales?.map((t=>t?.locale))?.filter((t=>t===o))?.length>0;this.selectedLanguage=e?i:n?o:this.userLocale;const c=this.selectedLanguage;if(c!==this.userLocale){this.calciteDropdownItemSelectCallback(c)();this.selectedLanguageUpdated.emit({locale:c,data:this.t9nData?.[c]??null})}if(this.view){const t=this.view.map;this.defaultWebMapId=t?.portalItem?.id??"";const s=this.locales?.filter((t=>t?.webmap&&t?.webmap!==this.defaultWebMapId&&t?.locale===this.selectedLanguage))?.[0]?.webmap;if(s){this.view.map=await p({portalItem:{id:s}})}}}}render(){const t=this.renderTrigger();const s=this.renderDropdownItems();const e=this.renderDefaultLocale();return i("calcite-dropdown",{key:"d48e5831173767a89033b16b2a33b7a234927fd5",onCalciteDropdownBeforeOpen:()=>this.trigger.iconEnd="chevron-up",onCalciteDropdownBeforeClose:()=>this.trigger.iconEnd="chevron-down","overlay-positioning":this.calciteDropdownOverlayPositioning,"width-scale":"m"},t,e,s)}renderDefaultLocale(){const{userLocale:t}=this;return i("calcite-dropdown-item",{key:`default-${t}`,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(t),selected:this.selectedLanguage===this.userLocale},this.getSelectedLanguageText(t))}renderTrigger(){return i("calcite-button",{ref:t=>this.trigger=t,slot:"trigger","icon-start":this.icon,"icon-end":"chevron-down",width:"full",appearance:"outline"},this.getSelectedLanguageText(this.selectedLanguage))}renderDropdownItems(){return this.locales?.map((t=>t.locale))?.map((t=>this.renderDropdownItem(t)))}renderDropdownItem(t){const s=this.getSelectedLanguageText(t);const e=t===this.selectedLanguage;return i("calcite-dropdown-item",{key:t,selected:e,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(t)},s)}calciteDropdownItemSelectCallback(t){return async()=>{this.selectedLanguage=t;const{intl:s,selectedLanguage:i,t9nData:e,userLocale:o}=this;const a=this.locales.find((t=>t.locale===i));if(e&&a&&i!==o){a.data=e[t]}const c=new URLSearchParams(window.location.search);const r=await n(this.selectedLanguage);s.setLocale(r);c.set("locale",r);if(this.view){const t=this.locales.filter((t=>t.locale===i))?.[0]?.webmap;if(t){this.view.map=await p({portalItem:{id:t}})}else{const t=this.view?.map?.portalItem?.id;if(t&&this.defaultWebMapId!==t){this.view.map=await p({portalItem:{id:this.defaultWebMapId}})}}}document.documentElement.setAttribute("lang",r);const h=this.intl.prefersRTL();if(h){document.documentElement.setAttribute("dir","rtl")}else{document.documentElement.setAttribute("dir","ltr")}window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${c}`));this.selectedLanguageUpdated.emit(a)}}getSelectedLanguageText(t){const s=Object.keys(c.partial);const i=s.includes(t);const e=i?"partial":"full";const o=c[e];const{language:a,translated:n}=o[t];return`${a} - ${n}`}async refresh(){try{const t=await r(this.portalItem);const s=await h(t);this.t9nData=s;const i={locale:this.selectedLanguage,data:s[this.selectedLanguage]};this.selectedLanguageUpdated.emit(i)}catch{}}get el(){return e(this)}};m.style=w;export{m as instant_apps_language_switcher};
|
2
|
-
//# sourceMappingURL=p-a72c317d.entry.js.map
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{r as t,h as e,H as i,g as n}from"./p-6517b6d4.js";import{c as a}from"./p-eff6e0b8.js";import{g as s}from"./p-51f2e0b2.js";import{b as r,a as l,t as o,u as c,j as d,h as f,v as u}from"./p-1c4428aa.js";import{g as h}from"./p-f146c213.js";import"./p-5978fda4.js";const{state:p,onChange:m}=a({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:true,timeSliderConfig:{},autoPlay:false});const w="time-slider-watch";class g{constructor(){this.initializeModules()}async initializeModules(){try{const t=await r();this.reactiveUtils=t;this.handles=await l()}catch{}}async init(t){if(t){t.innerHTML=""}if(p?.timeSlider?.viewModel?.state==="playing"){p.timeSlider.stop()}const{view:e,timeInfoConfigItems:i}=p;if(!e){return}try{await e.when();if(i.length===1&&i[0]?.type==="map"){this.initTimeSlider(t,i[0])}else{const n=await this.getTimeLayerViews(e,i);p.timeInfoItems=this.generateTimeInfoItems(n,i);this.initTimeSlider(t)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll();this.handles=null;p.timeSlider?.destroy()}async getTimeLayerViews(t,e){const{allLayers:i}=t.map;const n=t=>i.find((({id:e})=>t===e));const a=e.map((({id:t})=>n(t)));const s=a.map((async e=>await t.whenLayerView(e)));return await Promise.all(s)}generateTimeInfoItems(t,e){const i=[...e];return i.map((e=>{const i=t.find((({layer:t})=>t.id===e.id));return this.generateTimeInfoItem(i,e)}))}generateTimeInfoItem(t,{increments:e,rangeStart:i,rangeEnd:n,timeIntervalValue:a}){const s=t?.layer;const r=s?.timeInfo?.fullTimeExtent;const l=r;return{layerView:t,unit:e,timeIntervalValue:a??1,rangeStart:new Date(i),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(t,e){const i=async t=>{p.timeSlider=await u(t);if(p.autoPlay){p.timeSlider.play()}};if(e){const n=await this.getTimeSliderConfig(t,e);i(n)}else{const e=p?.timeInfoItems?.[0];if(!e){return}p.selectedTimeInfoItem=e;const n=await this.getTimeSliderConfig(t);i(n)}if(p.view?.type==="2d"){this.initialize2DView()}}setupFilterModeWatcher(){m("filterMode",(t=>{if(t){p.timeInfoItems.forEach((e=>{const i=e.layerView;this.applyTimeExtent(i,i?.featureEffect?.filter?.timeExtent||i.filter?.timeExtent,t)}))}}))}async getTimeSliderConfig(t,e){const i={container:t,mode:"time-window",view:p.view?.type==="3d"?p.view:null,...p.timeSliderConfig};if(e){const t=p.view?.map?.widgets?.timeSlider;const e={...i,fullTimeExtent:t?.fullTimeExtent,timeExtent:t?.currentTimeExtent};if(t?.stopInterval?.unit&&t?.stopInterval?.value){e.stops={interval:await o({unit:t?.stopInterval?.unit,value:t?.stopInterval?.value})}}return e}else{const[{timeExtent:t,rangeStart:e,rangeEnd:n,unit:a,timeIntervalValue:s}]=p.timeInfoItems;return{...i,fullTimeExtent:t,timeExtent:await c({start:e,end:n}),stops:{interval:await o({unit:a,value:s})}}}}initialize2DView(){p.timeInfoItems.forEach((async t=>this.applyTimeExtent(t.layerView,await c({start:t.rangeStart,end:t.rangeEnd}))));this.setupTimeExtentWatcher()}applyTimeExtent(t,e,i){if(p.filterMode?.type==="effect"){this.applyFeatureEffect(t,e,i)}else{this.applyFeatureFilter(t,e)}}applyFeatureEffect(t,e,i){if(!t){return}if(t.filter){t.set("filter",null)}if(!t?.featureEffect?.filter||i){this.handleUpdatedFeatureEffect(t,e);return}t.featureEffect.filter.timeExtent=e}async handleUpdatedFeatureEffect(t,e){t.featureEffect=await d({filter:{timeExtent:e},includedEffect:await s(p.filterMode?.effect?.includedEffect??"",t,"includedEffect"),excludedEffect:await s(p.filterMode?.effect?.excludedEffect??"",t,"excludedEffect")})}async applyFeatureFilter(t,e){if(t.featureEffect){t.set("featureEffect",null)}if(!t.filter){t.filter=await f({timeExtent:e});return}t.filter.timeExtent=e}setupTimeExtentWatcher(){if(this.handles?.has(w)){this.handles?.remove(w)}if(p?.timeSlider){this.handles?.add(p.timeSlider.watch("timeExtent",(t=>this.applyTimeExtent(p.selectedTimeInfoItem?.layerView,t))),w)}}updateSelectedTimeInfoItem(t){if(!p.timeSlider){return}if(p.selectedTimeInfoItem){p.selectedTimeInfoItem.previousTimeExtent=p.timeSlider.timeExtent}p.selectedTimeInfoItem=t;this.reconfigureTimeSlider(t);this.applyTimeExtent(t.layerView,p.timeSlider.timeExtent);this.setupTimeExtentWatcher()}async reconfigureTimeSlider(t){if(!p.timeSlider){return}p.timeSlider.fullTimeExtent=t.timeExtent;p.timeSlider.timeExtent=await this.getTimeExtent(t);p.timeSlider.stops={interval:await this.getTimeInterval(t)}}async getTimeExtent({rangeStart:t,rangeEnd:e,previousTimeExtent:i}){const n=i??await c({start:t,end:e});return await Promise.resolve(n)}async getTimeInterval(t){const e=t.unit??t.layerView?.layer?.timeInfo?.interval?.unit;return await o({unit:e,value:1})}getLabel(t){return t?.layerView?.layer?.title||""}}const y=new g;const x=".instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand:var(--calcite-ui-text-1);--calcite-ui-brand:var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}";const E=x;const I={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"};const b=class{constructor(e){t(this,e);this.messages=undefined;this.timeSliderRef=undefined;this.timeInfoConfigItems=[];this.filterMode=undefined;this.view=undefined;this.timeSliderConfig=undefined;this.autoPlay=false}async updateTimeInfoConfigItems(){p.timeInfoConfigItems=this.timeInfoConfigItems;await y.init(this.timeSliderRef)}async updateFilterMode(){p.filterMode=this.filterMode}async updateTimeSliderConfig(){p.timeSliderConfig=this.timeSliderConfig;await y.init(this.timeSliderRef)}async updateAutoPlay(){p.autoPlay=this.autoPlay;if(p.timeSlider){if(p.autoPlay){p.timeSlider.play()}else{p.timeSlider.stop()}}}async componentWillLoad(){try{p.view=this.view;p.timeInfoConfigItems=this.timeInfoConfigItems;p.autoPlay=!!this.autoPlay;if(this.timeSliderConfig){p.timeSliderConfig=this.timeSliderConfig}if(this.filterMode){p.filterMode=this.filterMode}await h(this)}catch{}}async componentDidLoad(){try{await y.init(this.timeSliderRef)}catch{}finally{p.loading=false}}disconnectedcallback(){y.destroy()}render(){return e(i,{key:"af5a88e0ffbb9d7c34a78e8aab27edbd8381a4c7"},this._renderBase())}_renderBase(){return e("div",{class:`${I.base}${this.view.type!=="2d"?I.threeD:""}`},this._renderLoader(),this.view.type==="2d"&&this._renderTopEl(),e("div",{key:"time-slider",ref:t=>{if(t){this.timeSliderRef=t}}}))}_renderLoader(){return p.loading&&e("div",null,e("div",{class:I.background}),e("div",{class:I.loadingContainer},e("calcite-loader",{scale:"m",label:this.messages?.loading??"",text:this.messages?.loading})))}_renderTopEl(){const t=this.timeInfoConfigItems.length>1;return t?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){const t=p.selectedTimeInfoItem?.layerView?.layer?.title;return e("span",{class:I.layerTitle},t)}_renderDropdown(){return p.selectedTimeInfoItem&&e("calcite-dropdown",null,this._renderDropdownButton(),this._renderDropdownItems())}_renderDropdownButton(){return e("calcite-button",{slot:"trigger",appearance:"transparent",iconEnd:"chevron-down",width:"full",alignment:"space-between"},y.getLabel(p.selectedTimeInfoItem))}_renderDropdownItems(){return p.timeInfoItems.map((t=>this._renderDropdownItem(t)))}_renderDropdownItem(t){const i=p.selectedTimeInfoItem?.layerView?.layer?.id;const n=t?.layerView?.layer?.id;const a=i===n;return e("calcite-dropdown-item",{onCalciteDropdownItemSelect:()=>y.updateSelectedTimeInfoItem(t),selected:a},y.getLabel(t))}get el(){return n(this)}static get watchers(){return{timeInfoConfigItems:["updateTimeInfoConfigItems"],filterMode:["updateFilterMode"],timeSliderConfig:["updateTimeSliderConfig"],autoPlay:["updateAutoPlay"]}}};b.style=E;export{b as instant_apps_time_filter};
|
2
|
-
//# sourceMappingURL=p-ab4ac65e.entry.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["state","onChange","createStore","timeInfoConfigItems","filterMode","type","view","timeSlider","timeInfoItems","selectedTimeInfoItem","loading","timeSliderConfig","autoPlay","TIME_SLIDER_HANDLE_KEY","InstantAppsTimeFilterViewModel","constructor","this","initializeModules","reactiveUtils","importCoreReactiveUtils","handles","newCoreHandles","init","timeSliderRef","innerHTML","viewModel","stop","when","length","initTimeSlider","timeLayerViews","getTimeLayerViews","generateTimeInfoItems","Promise","resolve","setupFilterModeWatcher","destroy","removeAll","allLayers","map","getTimeLayer","timeInfoLayerId","find","id","timeLayers","timeLVPromises","async","layer","whenLayerView","all","timeConfigItems","items","timeConfigItem","lv","generateTimeInfoItem","layerView","increments","rangeStart","rangeEnd","timeIntervalValue","layerFTE","timeInfo","fullTimeExtent","timeExtent","unit","Date","previousTimeExtent","defaultItem","initializeSlider","config","newWidgetsTimeSlider","play","getTimeSliderConfig","initialTimeInfoItem","initialize2DView","newValue","forEach","timeInfoItem","fLayerView","applyTimeExtent","featureEffect","filter","baseConfig","container","mode","widgets","currentTimeExtent","stopInterval","value","stops","interval","newTimeTimeInterval","newTimeTimeExtent","start","end","setupTimeExtentWatcher","applyFeatureEffect","applyFeatureFilter","set","handleUpdatedFeatureEffect","newLayersSupportFeatureEffect","includedEffect","getMergedEffect","effect","excludedEffect","newLayersSupportFeatureFilter","has","remove","add","watch","updateSelectedTimeInfoItem","reconfigureTimeSlider","getTimeExtent","getTimeInterval","getLabel","title","instantAppsTimeFilterCss","InstantAppsTimeFilterStyle0","CSS","base","layerTitle","loadingContainer","background","threeD","InstantAppsTimeFilter","updateTimeInfoConfigItems","updateFilterMode","updateTimeSliderConfig","updateAutoPlay","componentWillLoad","getMessages","componentDidLoad","disconnectedcallback","render","h","Host","key","_renderBase","class","_renderLoader","_renderTopEl","ref","scale","label","messages","text","moreThanOneTimeLayer","_renderDropdown","_renderLayerTitle","_renderDropdownButton","_renderDropdownItems","slot","appearance","iconEnd","width","alignment","_renderDropdownItem","selectedInfoItemId","timeInfoItemId","selected","onCalciteDropdownItemSelect"],"sources":["src/components/instant-apps-time-filter/TimeFilter/TimeFilterModel.ts","src/components/instant-apps-time-filter/TimeFilter/TimeFilterViewModel.ts","src/components/instant-apps-time-filter/instant-apps-time-filter.scss?tag=instant-apps-time-filter","src/components/instant-apps-time-filter/instant-apps-time-filter.tsx"],"sourcesContent":["import { createStore } from \"@stencil/store\";\nimport type { State } from \"./interfaces/interfaces\";\n\nconst { state, onChange } = createStore<State>({\n timeInfoConfigItems: [],\n filterMode: { type: \"filter\" },\n view: null,\n timeSlider: null,\n timeInfoItems: [],\n selectedTimeInfoItem: null,\n loading: true,\n timeSliderConfig: {},\n autoPlay: false,\n});\n\nexport { state, onChange };\n","import { onChange, state } from \"./TimeFilterModel\";\n\nimport type { ITimeInfoConfigItem, ITimeInfoItem, ITimeItemUnit } from \"./interfaces/interfaces\";\nimport { getMergedEffect } from \"../../../utils/effects\";\nimport type { FilterMode } from \"../../../components\";\nimport {\n importCoreReactiveUtils,\n newCoreHandles,\n newLayersSupportFeatureEffect,\n newLayersSupportFeatureFilter,\n newTimeTimeExtent,\n newTimeTimeInterval,\n newWidgetsTimeSlider,\n} from \"@arcgis/core-adapter\";\n\nconst TIME_SLIDER_HANDLE_KEY = \"time-slider-watch\";\n\nclass InstantAppsTimeFilterViewModel {\n constructor() {\n this.initializeModules();\n }\n\n reactiveUtils!: __esri.reactiveUtils;\n handles!: __esri.Handles | null;\n\n async initializeModules() {\n try {\n const reactiveUtils = await importCoreReactiveUtils();\n\n this.reactiveUtils = reactiveUtils;\n this.handles = await newCoreHandles();\n } catch {\n // Intentionally ignore\n }\n }\n\n async init(timeSliderRef: HTMLDivElement) {\n if (timeSliderRef) {\n timeSliderRef.innerHTML = \"\";\n }\n if (state?.timeSlider?.viewModel?.state === \"playing\") {\n state.timeSlider.stop();\n }\n const { view, timeInfoConfigItems } = state;\n if (!view) {\n return;\n }\n try {\n await view.when();\n if (timeInfoConfigItems.length === 1 && timeInfoConfigItems[0]?.type === \"map\") {\n this.initTimeSlider(timeSliderRef, timeInfoConfigItems[0]);\n } else {\n const timeLayerViews = await this.getTimeLayerViews(view, timeInfoConfigItems);\n state.timeInfoItems = this.generateTimeInfoItems(timeLayerViews!, timeInfoConfigItems);\n this.initTimeSlider(timeSliderRef);\n }\n return Promise.resolve();\n } catch {\n // Intentionally ignore\n } finally {\n this.setupFilterModeWatcher();\n }\n }\n\n destroy() {\n this.handles?.removeAll();\n this.handles = null;\n state.timeSlider?.destroy();\n }\n\n async getTimeLayerViews(\n view: __esri.MapView | __esri.SceneView,\n timeInfoConfigItems: ITimeInfoConfigItem[],\n ): Promise<__esri.LayerView[] | undefined> {\n const { allLayers } = view.map;\n const getTimeLayer = (timeInfoLayerId: string) => allLayers.find(({ id }) => timeInfoLayerId === id);\n const timeLayers = timeInfoConfigItems.map(({ id }) => getTimeLayer(id!));\n const timeLVPromises = timeLayers.map(async (layer) => await view.whenLayerView(layer!));\n return await Promise.all(timeLVPromises);\n }\n\n generateTimeInfoItems(timeLayerViews: __esri.LayerView[], timeConfigItems: ITimeInfoConfigItem[]): ITimeInfoItem[] {\n const items = [...timeConfigItems];\n return items.map((timeConfigItem) => {\n const lv = timeLayerViews.find(({ layer }) => layer.id === timeConfigItem.id)!;\n return this.generateTimeInfoItem(lv, timeConfigItem);\n });\n }\n\n generateTimeInfoItem(\n layerView: __esri.LayerView,\n { increments, rangeStart, rangeEnd, timeIntervalValue }: ITimeInfoConfigItem,\n ): ITimeInfoItem {\n const layer = layerView?.layer as __esri.FeatureLayer;\n const layerFTE = layer?.timeInfo?.fullTimeExtent;\n\n const timeExtent = layerFTE;\n return {\n layerView,\n unit: increments as ITimeItemUnit,\n timeIntervalValue: timeIntervalValue ?? 1,\n rangeStart: new Date(rangeStart),\n rangeEnd: new Date(rangeEnd),\n timeExtent: timeExtent!,\n previousTimeExtent: null,\n };\n }\n\n async initTimeSlider(timeSliderRef: HTMLDivElement, defaultItem?: ITimeInfoConfigItem): Promise<void> {\n const initializeSlider = async (config: __esri.widgetsTimeSliderProperties) => {\n state.timeSlider = await newWidgetsTimeSlider(config);\n if (state.autoPlay) {\n state.timeSlider.play();\n }\n };\n\n if (defaultItem) {\n const config = await this.getTimeSliderConfig(timeSliderRef, defaultItem);\n initializeSlider(config);\n } else {\n const initialTimeInfoItem = state?.timeInfoItems?.[0];\n if (!initialTimeInfoItem) {\n return;\n }\n state.selectedTimeInfoItem = initialTimeInfoItem;\n const config = await this.getTimeSliderConfig(timeSliderRef);\n initializeSlider(config);\n }\n\n if (state.view?.type === \"2d\") {\n this.initialize2DView();\n }\n }\n\n setupFilterModeWatcher() {\n onChange(\"filterMode\", (newValue: FilterMode | null) => {\n if (newValue) {\n state.timeInfoItems.forEach((timeInfoItem) => {\n const fLayerView = timeInfoItem.layerView as __esri.FeatureLayerView;\n this.applyTimeExtent(\n fLayerView,\n (fLayerView?.featureEffect?.filter?.timeExtent || fLayerView.filter?.timeExtent)!,\n newValue,\n );\n });\n }\n });\n }\n\n async getTimeSliderConfig(\n timeSliderRef: HTMLDivElement,\n defaultItem?: ITimeInfoConfigItem,\n ): Promise<__esri.widgetsTimeSliderProperties> {\n const baseConfig = {\n container: timeSliderRef,\n mode: \"time-window\",\n view: state.view?.type === \"3d\" ? state.view : null,\n ...state.timeSliderConfig,\n };\n\n if (defaultItem) {\n const timeSlider = (state.view?.map as __esri.WebMap | __esri.WebScene)?.widgets?.timeSlider;\n const config = {\n ...baseConfig,\n fullTimeExtent: timeSlider?.fullTimeExtent,\n timeExtent: timeSlider?.currentTimeExtent,\n };\n if (timeSlider?.stopInterval?.unit && timeSlider?.stopInterval?.value) {\n config.stops = {\n interval: await newTimeTimeInterval({\n unit: timeSlider?.stopInterval?.unit,\n value: timeSlider?.stopInterval?.value,\n }),\n };\n }\n\n return config as __esri.widgetsTimeSliderProperties;\n } else {\n const [{ timeExtent, rangeStart, rangeEnd, unit, timeIntervalValue }] = state.timeInfoItems;\n return {\n ...baseConfig,\n fullTimeExtent: timeExtent,\n timeExtent: await newTimeTimeExtent({\n start: rangeStart,\n end: rangeEnd,\n }),\n stops: {\n interval: await newTimeTimeInterval({\n unit,\n value: timeIntervalValue,\n }),\n },\n } as __esri.widgetsTimeSliderProperties;\n }\n }\n\n initialize2DView() {\n state.timeInfoItems.forEach(async (timeInfoItem) =>\n this.applyTimeExtent(\n timeInfoItem.layerView as __esri.FeatureLayerView,\n await newTimeTimeExtent({ start: timeInfoItem.rangeStart, end: timeInfoItem.rangeEnd }),\n ),\n );\n\n this.setupTimeExtentWatcher();\n }\n\n applyTimeExtent(layerView: __esri.FeatureLayerView, timeExtent: __esri.TimeExtent, filterMode?: FilterMode) {\n if (state.filterMode?.type === \"effect\") {\n this.applyFeatureEffect(layerView, timeExtent, filterMode);\n } else {\n this.applyFeatureFilter(layerView, timeExtent);\n }\n }\n\n applyFeatureEffect(layerView: __esri.FeatureLayerView, timeExtent: __esri.TimeExtent, filterMode?: FilterMode) {\n if (!layerView) {\n return;\n }\n if (layerView.filter) {\n layerView.set(\"filter\", null);\n }\n if (!layerView?.featureEffect?.filter || filterMode) {\n this.handleUpdatedFeatureEffect(layerView, timeExtent);\n return;\n }\n layerView.featureEffect.filter.timeExtent = timeExtent;\n }\n\n async handleUpdatedFeatureEffect(fLayerView: __esri.FeatureLayerView, timeExtent: __esri.TimeExtent) {\n fLayerView.featureEffect = await newLayersSupportFeatureEffect({\n filter: { timeExtent },\n includedEffect: await getMergedEffect(\n state.filterMode?.effect?.includedEffect ?? \"\",\n fLayerView,\n \"includedEffect\",\n ),\n excludedEffect: await getMergedEffect(\n state.filterMode?.effect?.excludedEffect ?? \"\",\n fLayerView,\n \"excludedEffect\",\n ),\n });\n }\n\n async applyFeatureFilter(layerView: __esri.FeatureLayerView, timeExtent: __esri.TimeExtent) {\n if (layerView.featureEffect) {\n layerView.set(\"featureEffect\", null);\n }\n\n if (!layerView.filter) {\n layerView.filter = await newLayersSupportFeatureFilter({ timeExtent });\n return;\n }\n layerView.filter.timeExtent = timeExtent;\n }\n\n setupTimeExtentWatcher() {\n if (this.handles?.has(TIME_SLIDER_HANDLE_KEY)) {\n this.handles?.remove(TIME_SLIDER_HANDLE_KEY);\n }\n\n if (state?.timeSlider) {\n this.handles?.add(\n state.timeSlider.watch(\"timeExtent\", (timeExtent) =>\n this.applyTimeExtent(state.selectedTimeInfoItem?.layerView as __esri.FeatureLayerView, timeExtent),\n ),\n TIME_SLIDER_HANDLE_KEY,\n );\n }\n }\n\n updateSelectedTimeInfoItem(timeInfoItem: ITimeInfoItem): void {\n if (!state.timeSlider) {\n return;\n }\n if (state.selectedTimeInfoItem) {\n state.selectedTimeInfoItem.previousTimeExtent = state.timeSlider.timeExtent!;\n }\n state.selectedTimeInfoItem = timeInfoItem;\n this.reconfigureTimeSlider(timeInfoItem);\n this.applyTimeExtent(timeInfoItem.layerView as __esri.FeatureLayerView, state.timeSlider.timeExtent!);\n this.setupTimeExtentWatcher();\n }\n\n async reconfigureTimeSlider(timeInfoItem: ITimeInfoItem) {\n if (!state.timeSlider) {\n return;\n }\n state.timeSlider.fullTimeExtent = timeInfoItem.timeExtent!;\n state.timeSlider.timeExtent = await this.getTimeExtent(timeInfoItem);\n state.timeSlider.stops = { interval: await this.getTimeInterval(timeInfoItem) };\n }\n\n async getTimeExtent({ rangeStart, rangeEnd, previousTimeExtent }: ITimeInfoItem): Promise<__esri.TimeExtent> {\n const timeExtent =\n previousTimeExtent ??\n (await newTimeTimeExtent({\n start: rangeStart,\n end: rangeEnd,\n }));\n return await Promise.resolve(timeExtent);\n }\n\n async getTimeInterval(timeInfoItem: ITimeInfoItem): Promise<__esri.TimeInterval> {\n const unit = timeInfoItem.unit ?? (timeInfoItem.layerView?.layer as __esri.FeatureLayer)?.timeInfo?.interval?.unit;\n return await newTimeTimeInterval({\n unit,\n value: 1,\n });\n }\n\n getLabel(timeInfoItem: ITimeInfoItem): string {\n return timeInfoItem?.layerView?.layer?.title || \"\";\n }\n}\n\nexport const viewModel = new InstantAppsTimeFilterViewModel();\n",".instant-apps-time-filter {\n position: relative;\n display: block;\n min-width: 375px;\n min-height: 200px;\n\n &__background {\n background-color: var(--calcite-ui-background);\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 0;\n }\n\n calcite-dropdown {\n width: 100%;\n\n calcite-button {\n --calcite-color-brand: var(--calcite-ui-text-1);\n --calcite-ui-brand: var(--calcite-ui-text-1);\n }\n }\n\n &__layer-title {\n font-weight: 550;\n display: inline-block;\n padding: 10px;\n }\n\n &__loading-container {\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n}\n\n.instant-apps-time-filter--3d {\n min-height: 160px;\n}\n","import { Component, Element, Prop, h } from \"@stencil/core\";\nimport type { FunctionalComponent, HostElement } from \"@stencil/core/internal\";\nimport { Host, State, Watch } from \"@stencil/core/internal\";\n\nimport { state } from \"./TimeFilter/TimeFilterModel\";\nimport { viewModel } from \"./TimeFilter/TimeFilterViewModel\";\n\nimport { getMessages } from \"../../utils/locale\";\n\nimport type TimeFilter_t9n from \"../../assets/t9n/instant-apps-time-filter/messages.en.json\";\n\nimport type { FilterMode } from \"../../interfaces/interfaces\";\nimport type { ITimeInfoConfigItem, ITimeInfoItem } from \"./TimeFilter/interfaces/interfaces\";\n\nconst CSS = {\n base: \"instant-apps-time-filter\",\n layerTitle: \"instant-apps-time-filter__layer-title\",\n loadingContainer: \"instant-apps-time-filter__loading-container\",\n background: \"instant-apps-time-filter__background\",\n threeD: \" instant-apps-time-filter--3d\",\n};\n\n@Component({\n tag: \"instant-apps-time-filter\",\n styleUrl: \"instant-apps-time-filter.scss\",\n shadow: false,\n})\nexport class InstantAppsTimeFilter {\n @Prop()\n messages?: typeof TimeFilter_t9n;\n\n @State()\n timeSliderRef!: HTMLDivElement;\n\n @Element()\n el!: HostElement;\n\n @Prop()\n timeInfoConfigItems: ITimeInfoConfigItem[] = [];\n\n @Prop()\n filterMode!: FilterMode;\n\n @Prop()\n view!: __esri.MapView | __esri.SceneView;\n\n @Prop()\n timeSliderConfig!: __esri.widgetsTimeSliderProperties;\n\n @Prop()\n autoPlay = false;\n\n @Watch(\"timeInfoConfigItems\")\n async updateTimeInfoConfigItems() {\n state.timeInfoConfigItems = this.timeInfoConfigItems;\n await viewModel.init(this.timeSliderRef);\n }\n\n @Watch(\"filterMode\")\n async updateFilterMode() {\n state.filterMode = this.filterMode;\n }\n\n @Watch(\"timeSliderConfig\")\n async updateTimeSliderConfig() {\n state.timeSliderConfig = this.timeSliderConfig;\n await viewModel.init(this.timeSliderRef);\n }\n\n @Watch(\"autoPlay\")\n async updateAutoPlay() {\n state.autoPlay = this.autoPlay;\n if (state.timeSlider) {\n if (state.autoPlay) {\n state.timeSlider.play();\n } else {\n state.timeSlider.stop();\n }\n }\n }\n\n async componentWillLoad() {\n try {\n state.view = this.view;\n state.timeInfoConfigItems = this.timeInfoConfigItems;\n state.autoPlay = !!this.autoPlay;\n if (this.timeSliderConfig) {\n state.timeSliderConfig = this.timeSliderConfig;\n }\n if (this.filterMode) {\n state.filterMode = this.filterMode;\n }\n await getMessages(this);\n } catch {\n // Intentionally ignore\n }\n }\n\n async componentDidLoad() {\n try {\n await viewModel.init(this.timeSliderRef);\n } catch {\n // Intentionally ignore\n } finally {\n state.loading = false;\n }\n }\n\n disconnectedcallback() {\n viewModel.destroy();\n }\n\n render(): HostElement {\n return <Host>{this._renderBase()}</Host>;\n }\n\n private _renderBase(): HTMLDivElement {\n return (\n <div class={`${CSS.base}${this.view.type !== \"2d\" ? CSS.threeD : \"\"}`}>\n {this._renderLoader()}\n {this.view.type === \"2d\" && this._renderTopEl()}\n <div\n key=\"time-slider\"\n ref={(ref?: HTMLDivElement) => {\n if (ref) {\n this.timeSliderRef = ref;\n }\n }}\n />\n </div>\n );\n }\n\n private _renderLoader(): FunctionalComponent | null {\n return (\n state.loading && (\n <div>\n <div class={CSS.background}></div>\n <div class={CSS.loadingContainer}>\n <calcite-loader scale=\"m\" label={this.messages?.loading ?? \"\"} text={this.messages?.loading} />\n </div>\n </div>\n )\n );\n }\n\n private _renderTopEl(): HTMLCalciteDropdownElement | HTMLSpanElement {\n const moreThanOneTimeLayer = this.timeInfoConfigItems.length > 1;\n return moreThanOneTimeLayer ? this._renderDropdown() : this._renderLayerTitle();\n }\n\n private _renderLayerTitle(): HTMLSpanElement {\n const title = state.selectedTimeInfoItem?.layerView?.layer?.title;\n return <span class={CSS.layerTitle}>{title}</span>;\n }\n\n private _renderDropdown(): HTMLCalciteDropdownElement {\n return (\n state.selectedTimeInfoItem && (\n <calcite-dropdown>\n {this._renderDropdownButton()}\n {this._renderDropdownItems()}\n </calcite-dropdown>\n )\n );\n }\n\n private _renderDropdownButton(): HTMLCalciteButtonElement {\n return (\n <calcite-button\n slot=\"trigger\"\n appearance=\"transparent\"\n iconEnd=\"chevron-down\"\n width=\"full\"\n alignment=\"space-between\"\n >\n {viewModel.getLabel(state.selectedTimeInfoItem!)}\n </calcite-button>\n );\n }\n\n private _renderDropdownItems(): HTMLCalciteDropdownItemElement[] {\n return state.timeInfoItems.map((timeInfoItem) => this._renderDropdownItem(timeInfoItem));\n }\n\n private _renderDropdownItem(timeInfoItem: ITimeInfoItem) {\n const selectedInfoItemId = state.selectedTimeInfoItem?.layerView?.layer?.id;\n const timeInfoItemId = timeInfoItem?.layerView?.layer?.id;\n const selected = selectedInfoItemId === timeInfoItemId;\n return (\n <calcite-dropdown-item\n onCalciteDropdownItemSelect={() => viewModel.updateSelectedTimeInfoItem(timeInfoItem)}\n selected={selected}\n >\n {viewModel.getLabel(timeInfoItem)}\n </calcite-dropdown-item>\n );\n }\n}\n"],"mappings":"2QAGA,MAAMA,MAAEA,EAAKC,SAAEA,GAAaC,EAAmB,CAC7CC,oBAAqB,GACrBC,WAAY,CAAEC,KAAM,UACpBC,KAAM,KACNC,WAA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AAWR,OAAOJ,GACzE,MAAMmH,EAAiBjF,GAActB,WAAWR,OAAOJ,GACvD,MAAMoH,EAAWF,IAAuBC,EACxC,OACExB,EAAA,yBACE0B,4BAA6B,IAAMvI,EAAUqF,2BAA2BjC,GACxEkF,SAAUA,GAETtI,EAAUyF,SAASrC,G","ignoreList":[]}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{r as t,c as a,h as n,H as s,g as e,F as i}from"./p-6517b6d4.js";import{d as r,e as o,f as c,s as l,h as p,E as u,l as g,j as h,c as d}from"./p-c5932580.js";import"./p-f146c213.js";import"./p-5978fda4.js";import"./p-1c4428aa.js";import"./p-eff6e0b8.js";const m=`\n .ck.ck-reset.ck-editor.ck-rounded-corners {\n margin-top: 10px !important;\n margin-left: 55px !important;\n }\n .ck-editor__editable {\n height: 70px !important;\n font-size: 0.875rem !important;\n line-height: \t1.375 !important;\n color: var(--calcite-color-text-1) !important;\n }\n\n .ck.ck-editor__editable_inline>:first-child,\n .ck.ck-editor__editable_inline>:last-child {\n --ck-spacing-large: 0.5rem !important;\n }\n\n .ck.ck-balloon-panel.ck-powered-by-balloon {\n --ck-z-modal: 700;\n z-index: 700;\n }\n\n .calcite-mode-dark .ck-editor__editable {\n color: var(--calcite-color-text-inverse) !important;\n }\n`;const f=":host{display:block}";const _=f;const b="instant-apps-components__ckeditor-wrapper";const v=class{constructor(n){t(this,n);this.isFocused=a(this,"isFocused",7);this.dataChanged=a(this,"dataChanged",7);this.value=undefined;this.editorInstance=undefined;this.config=undefined}updateValue(){if(this.value&&this.editorInstance){this.editorInstance.setData(this.value)}}async componentDidLoad(){this.init()}componentDidUpdate(){if(this.editorInstance){this.editorInstance.setData(this.value)}}render(){return n(s,{key:"8558df32969371004c796dde4c825f75495fa250"},n("div",{key:"3d319eb2ed504ce15a533d7a485955c2dd01514b"}))}init(){this.applyStyles();this.initEditor()}applyStyles(){const t=!!document.getElementById(b);if(t){return}const a=document.createElement("style");a.id=b;a.innerHTML=m;document.head.prepend(a)}async initEditor(){const t=await this.createEditor();if(t){this.editorInstance=t;if(this.value||this.value===""){t.setData(this.value)}t.editing.view.document.on("change:isFocused",this.getEditorFocusedCallback(t))}}async createEditor(){try{let t;if(this.config){t=await ClassicEditor.create(this.el,this.config)}else{t=await ClassicEditor.create(this.el)}this.editorInstance=t;return Promise.resolve(t)}catch(t){console.error(t);return await Promise.reject(new Error("Failed to create editor"))}}getEditorFocusedCallback(t){return(a,n,s)=>{if(!s){const a=t.getData();if(this.value!==a){this.value=a;this.dataChanged.emit(a)}}else{this.isFocused.emit()}}}get el(){return e(this)}static get watchers(){return{value:["updateValue"]}}};v.style=_;const x=".sc-instant-apps-language-translator-item-h{display:block}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item.sc-instant-apps-language-translator-item{display:flex}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__top-row.sc-instant-apps-language-translator-item{display:flex;align-items:center;justify-content:space-between}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__label-container.sc-instant-apps-language-translator-item{display:flex;align-items:center}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__label.sc-instant-apps-language-translator-item{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item calcite-input.sc-instant-apps-language-translator-item{margin-top:10px;margin-left:55px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--last-item.sc-instant-apps-language-translator-item{border-bottom:none}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item{background-color:#f1faff}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item:first-child{margin-right:1%}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-popover-content.sc-instant-apps-language-translator-item{display:inline-block;padding:10px;max-width:400px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-items.sc-instant-apps-language-translator-item{display:flex}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-item.sc-instant-apps-language-translator-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__tip.sc-instant-apps-language-translator-item{display:inline-block;font-size:14px;line-height:22px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__info-icon.sc-instant-apps-language-translator-item{color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__info-button.sc-instant-apps-language-translator-item{border:0;background-color:transparent;cursor:pointer}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__nested-input.sc-instant-apps-language-translator-item{margin-left:60px;margin-top:8px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__nested-input.sc-instant-apps-language-translator-item calcite-input.sc-instant-apps-language-translator-item{margin-left:30px}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item{background-color:#f1faff;background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item calcite-action.sc-instant-apps-language-translator-item{--calcite-ui-icon-color:var(--calcite-color-text-inverse)}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item calcite-icon.sc-instant-apps-language-translator-item{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item{border-bottom:none}";const k=x;const y="instant-apps-language-translator-item";const I={section:`${y}__section`,selected:`${y}__section--selected`,collapsed:`${y}__section--collapsed`,topRow:`${y}__top-row`,labelContainer:`${y}__label-container`,label:`${y}__label`,uiLocationPopoverContent:`${y}__ui-location-popover-content`,uiLocationItems:`${y}__ui-location-items`,uiLocationItem:`${y}__ui-location-item`,infoIcon:`${y}__info-icon`,infoButton:`${y}__info-button`,tip:`${y}__tip`,nestedInput:`${y}__nested-input`};const w=class{constructor(n){t(this,n);this.translatorItemDataUpdated=a(this,"translatorItemDataUpdated",7);this.userInputs={};this.translatedInputs={};this.fieldName=undefined;this.translatedLanguageLabels=undefined;this.setting=undefined;this.userLocaleInputOnChangeCallback=undefined;this.translatedLocaleInputOnChangeCallback=undefined}get isTextEditor(){return this.setting.type===r.TextEditor}get calciteMode(){return o()?c.Dark:c.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}componentDidLoad(){if(this.isTextEditor){l.onChange("uiData",(()=>this.handleEditorCollapse()))}}render(){if("content"in this.setting&&this.setting.content?.every((t=>t?.content?.length===0))){return n(i,null)}else{return n(s,{class:this.calciteMode},this.renderBase(),this.renderPopover())}}renderBase(){return n("div",{class:y},this.renderUserLocaleSection(),this.renderTranslatedLanguageSection())}renderPopover(){const t=this.getTip();return n("calcite-popover",{referenceElement:this.tipID,label:"","auto-close":"true",placement:"trailing",closable:true},n("span",{class:I.uiLocationPopoverContent},n("span",{class:I.uiLocationItems},this.getUILocation()),t?n("span",{class:I.tip},t):null))}renderUserLocaleSection(){const t=this.getUIDataItem();const a=t?.userLocaleData;const s=t?.selected;const e=s?` ${I.selected}`:"";const i=a?.label;const r=a?.value;const o=this.setting.id;return n("div",{class:`${I.section}${e}`},this.renderItemHeader(p.User,i,o),this.handleInputRender(p.User,r,o))}renderTranslatedLanguageSection(){const t=this.getUIDataItem();const a=this.setting.id;const s=l.get("currentLanguage");const e=l.get("portalItemResourceT9n");const i=this.translatedLanguageLabels?.[this.fieldName];const r=typeof e==="object"&&e!==null&&s in e&&typeof e!=="number"&&!Array.isArray(e)?String(e[s]?.[a]??""):"";const o=t?.selected?` ${I.selected}`:"";return n("div",{class:`${I.section}${o}`},this.renderItemHeader(p.Translation,i,a),this.handleInputRender(p.Translation,r,a))}handleInputRender(t,a,n){const s=this.getUIDataItem();const e=s?.expanded;return e?this.hasNestedContent?this.renderNestedInputs(t):this.renderInput(t,a,n):null}renderNestedInputs(t,a){const n=a??this.setting;const{content:s}=n;return s?.map((a=>"content"in a?this.renderNestedInputs(t,a):this.renderNestedInput(t,a))).filter((t=>t!==undefined))}renderNestedInput(t,a){const s=l.get("currentLanguage");const e=l.get("portalItemResourceT9n");const i=a?.id;const r=e?.[s];const o=typeof r==="object"&&r!==null?r[i]:undefined;const{label:c,value:u,id:g}=a;const h=t===p.Translation?this.translatedLanguageLabels?.[g]:c;const d=t===p.User;const m=d?u:o??"";return n("div",{class:I.nestedInput},this.renderItemHeader(t,h,i,a),this.renderInput(t,String(m),i,a))}renderItemHeader(t,a,s,e){const i=!this.hasNestedContent;const r=!!e;const o=i||r;return n("div",{class:I.topRow},this.renderItemHeaderLabel(t,a,e),o?this.renderCopyButton(t,s):null)}renderItemHeaderLabel(t,a,s){const e=t===p.User&&!s;return n("div",{class:I.labelContainer},!s?this.renderExpandCollapseButton():null,n("calcite-icon",{icon:this.getIcon(s),scale:"s"}),n("span",{class:I.label},a),e?this.renderInfoButton():null)}renderExpandCollapseButton(){const t=this.getUIDataItem();const a=t?.expanded;const s=a?u.Expanded:u.Collapsed;return n("calcite-action",{onClick:this.handleExpand.bind(this),icon:s,scale:"s",appearance:"transparent",text:""})}renderInfoButton(){return n("button",{id:this.tipID,class:I.infoButton},n("calcite-icon",{class:I.infoIcon,icon:u.Popover,scale:"s"}))}renderCopyButton(t,a){return n("calcite-action",{class:this.calciteMode,onClick:this.copySelection.bind(this,t,a),slot:"action",icon:u.Copy,appearance:"transparent",text:""})}renderInput(t,a,n,s){const e=s??this.setting;const i=e.type==="string"||e.type==="textarea";return i?t===p.User?this.renderUserLocaleInput(a,n):this.renderTranslatedLanguageInput(a,n):this.renderTextEditor(a,t,n)}renderUserLocaleInput(t,a){return n("calcite-input",{ref:t=>{if(t){this.userInputs[a]=t}},key:a,id:a,class:c.Light,"data-field-name":this.fieldName,value:t,onFocus:this.handleSelection,onCalciteInputChange:this.handleUserInputChange.bind(this)})}renderTranslatedLanguageInput(t,a){return n("calcite-input",{ref:t=>{if(t){this.translatedInputs[a]=t}},key:a,id:a,class:c.Light,"data-field-name":this.fieldName,value:t,onFocus:this.handleSelection,onCalciteInputChange:this.handleTranslatedInputChange.bind(this)})}renderTextEditor(t,a,s){const e={toolbar:[]};return n("instant-apps-ckeditor-wrapper",{id:s,ref:this.setEditor.bind(this,a),onDataChanged:this.handleTextEditorDataChange.bind(this,a),onIsFocused:this.handleSelection,value:t??"","data-field-name":this.fieldName,config:e})}getUIDataItem(){if(!g.uiData){return}return g.uiData.get(this.fieldName)}updateT9nStore(t,a){const n=l.get("currentLanguage");const s={[t]:a};const e=h(n,s);l.set("portalItemResourceT9n",e)}handleExpand(){const t=this.getUIDataItem();t.expanded=!t.expanded;const a=new Map(g.uiData);a.set(this.fieldName,t);l.set("uiData",a)}handleEditorCollapse(){const t=l.get("uiData");const a=t?.get(this.fieldName);const n=a?.expanded;if(!n&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){const{userEditorWrapper:t,translatedEditorWrapper:a}=this;const n=t.editorInstance.getData();t.value=n;const s=a.editorInstance.getData();a.value=s;t.editorInstance.destroy();a.editorInstance.destroy()}}handleSelection(t){const a=new Map(g.uiData);const n=d();n.forEach((t=>{const n=a?.get(t);n.selected=false}));n.forEach((n=>{const s=t?.target;const e=s?.getAttribute("data-field-name");if(n===e){const t=a?.get(n);t.selected=true}}));l.set("uiData",a)}getUILocation(){const t=this.getUIDataItem();const{uiLocation:a,userLocaleData:s}=t;const{section:e,subsection:i}=a;const r=[e.label,i.label,s.label].filter((t=>!!t));return r.map(((t,a)=>n("span",{class:I.uiLocationItem},n("span",null,t),a!==r.length-1?n("calcite-icon",{icon:"chevron-right",scale:"s"}):null)))}getTip(){const t=this.getUIDataItem();const{tip:a}=t;return a}copySelection(t,a){if(this.setting.type===r.TextEditor){this.copyTextEditorContent(t)}else{this.copyCalciteInputContent(a,t)}}copyTextEditorContent(t){const a=t===p.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance;const n=50;setTimeout((()=>{this.selectContent(a);setTimeout((()=>this.selectContent(a)),n)}),n);this.copyContent(a)}selectContent(t){t.editing.view.focus();const{model:a}=t;const n=a.document;const s=n.getRoot();if(s){const t=a.createRangeIn(s);a.change((a=>a.setSelection(t)))}}copyContent(t){const a=t.getData();const n=document.createElement("div");n.contentEditable="true";n.innerHTML=a;document.body.appendChild(n);const s=document.createRange();s.selectNodeContents(n);const e=window.getSelection();e?.removeAllRanges();e?.addRange(s);document.execCommand("copy");document.body.removeChild(n)}copyCalciteInputContent(t,a){const n=a===p.User?this.userInputs[t]:this.translatedInputs[t];if(n){n.selectText();const t=n.value;navigator.clipboard.writeText(t)}}setEditor(t,a){if(a){if(t===p.User){this.userEditorWrapper=a}else{this.translatedEditorWrapper=a}}}async handleUserInputChange(t){l.set("saving",true);try{const a=t.target;const n=a.id;const s=a.value;const e=this.getUIDataItem();e.userLocaleData.value=s;await this.userLocaleInputOnChangeCallback(n,s);l.set("saving",false)}catch{l.set("saving",false)}}async handleUserTextEditorChange(t){l.set("saving",true);try{const a=t.detail;const n=t.target;const s=n.id;const e=this.getUIDataItem();e.userLocaleData.value=a;await this.userLocaleInputOnChangeCallback(s,a);l.set("saving",false)}catch{l.set("saving",false)}}async handleTranslatedInputChange(t){l.set("saving",true);try{const a=t.composedPath();const n=a[0];const s=n.id;this.updateT9nStore(s,n.value);const{locale:e,resource:i}=this.getTranslatedLocaleCallbackData();const r=t.target.value;await this.translatedLocaleInputOnChangeCallback(s,r,e,i);setTimeout((()=>l.set("saving",false)),1500);this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t);l.set("saving",false)}}async handleTranslatedTextEditorChange(t){l.set("saving",true);try{const a=t.target;const n=a.id;this.updateT9nStore(n,t.detail);const{locale:s,resource:e}=this.getTranslatedLocaleCallbackData();const i=t.detail;await this.translatedLocaleInputOnChangeCallback(n,i,s,e);setTimeout((()=>l.set("saving",false)),1500);this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t);l.set("saving",false)}}handleTextEditorDataChange(t,a){if(t===p.User){this.handleUserTextEditorChange(a)}else{this.handleTranslatedTextEditorChange(a)}}getTranslatedLocaleCallbackData(){const t=l.get("currentLanguage");const a=l.get("portalItemResource");return{locale:t,resource:a}}getIcon(t){const a=t??this.setting;switch(a.stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}};w.style=k;const C=".sc-instant-apps-language-translator-search-h{display:block;position:relative}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__input.sc-instant-apps-language-translator-search{width:235.5px}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list.sc-instant-apps-language-translator-search{position:absolute;margin:0;padding:0;width:100%;max-height:30vh;overflow:auto;border-left:none;background-color:var(--calcite-color-foreground-1);border:1px solid #c0c0c0;z-index:702}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search:first-child{border:none}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search{margin-top:0;padding:0.8em 1em;border-top:solid 1px rgba(110, 110, 110, 0.3);display:flex;flex-direction:column;cursor:pointer;word-break:break-word}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search:hover{background-color:var(--calcite-color-foreground-2)}";const L=C;const $="instant-apps-language-translator-search";const E={base:$,input:`${$}__input`,suggestionList:`${$}__suggestion-list`,suggestionListItem:`${$}__suggestion-list-item`};const T=class{constructor(n){t(this,n);this.suggestionSelected=a(this,"suggestionSelected",7);this.t9nPlaceholder=undefined;this.results=[]}render(){return n(s,{key:"8c6bf037211a7d6d70908180118a0de69983cf4a"},this.renderSearchInput(),this.renderSuggestions())}renderSearchInput(){return n("calcite-input",{ref:t=>{if(t){this.searchInput=t}},class:E.input,onCalciteInputInput:this.handleSearch.bind(this),type:"search",placeholder:this.t9nPlaceholder,icon:"search"})}renderSuggestions(){return this.results.length>0?this.renderSuggestionList():null}renderSuggestionList(){return n("ul",{class:E.suggestionList},this.results.map((t=>this.renderSuggestionListItem(t))))}renderSuggestionListItem(t){return n("li",{onClick:this.selectSuggestion.bind(this),class:E.suggestionListItem,"data-field-name":t.fieldName},t.userLocaleData.label)}handleSearch(t){const a=t.target;const n=a.value?.toLowerCase()?.trim();const s=l.get("uiData");const e=d();const i=l.get("portalItemResourceT9n");const r=l.get("currentLanguage");const o=i?.[r]??{};const c=this.getSettingDataItems(e);const p=c.filter(this.matchedResultsCallback(s,o,n,r));this.results=[...p.map((t=>{const a={fieldName:t,...s.get(t)};return a}))]}matchedResultsCallback(t,a,n,s){return e=>{const i=t.get(e);const{label:r}=i.userLocaleData;const{value:o}=i.userLocaleData;const c=t.get("translatedLanguageLabels");const l=c?.[s]?.[e];const p=a?.[e];const u=this.testUserInput(r,n);const g=this.testUserInput(o,n);const h=this.testUserInput(l,n);const d=this.testUserInput(p,n);const m=u||g||h||d;return m}}getSettingDataItems(t){return t.filter((t=>t!=="locales"&&t!=="translatedLanguageLabels"))}testUserInput(t,a){return!!t?.trim()&&!!a?.trim()&&t?.toLowerCase()?.search(a)!==-1}selectSuggestion(t){const a=t.target;const n=a.getAttribute("data-field-name");this.suggestionSelected.emit(n);this.resetSearchInput()}resetSearchInput(){this.searchInput.value="";this.results=[]}};T.style=L;export{v as instant_apps_ckeditor_wrapper,w as instant_apps_language_translator_item,T as instant_apps_language_translator_search};
|
2
|
-
//# sourceMappingURL=p-ac95a4be.entry.js.map
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{c as t}from"./p-eff6e0b8.js";import{h as n,j as s}from"./p-1c4428aa.js";import{g as e}from"./p-51f2e0b2.js";const c=t({data:{},relationshipRampExpandStates:{},compact:false});const o=c.state;const i=c;function r(t,n,s){return e=>{const c=e?.layer?.type;if(c==="feature"||c==="group"){const c=a(n,e,s).then((t=>t));if(c){t.push(c)}const o=e=>{const c=a(n,e,s).then((t=>t));if(c){t.push(c)}};e.children.forEach((t=>{o(t);if(t?.children?.length>0){t.children.forEach((t=>{o(t);if(t?.children?.length>0){t.children.forEach((t=>{o(t)}))}}))}}))}}}async function a(t,n,s){try{const e=n?.layer?.type==="group";const c=n?.layer?.layers?.some((t=>t.visible));const o=n?.layer?.layers?.every((t=>!t?.legendEnabled));await s.whenOnce((()=>t?.state==="ready"));if(!e||e&&c){if(e&&o){await s.whenOnce((()=>n?.layer?.loaded))}else{await s.whenOnce((()=>n?.ready))}}else{await s.whenOnce((()=>n?.legendElements))}const i=n?.legendElements?.[0];const r=new Map;const a=n.layer;const f=await(t?.view?.whenLayerView(a));await s.whenOnce((()=>f?.updating===false));const l=a.renderer?.field??"";if(i!==undefined){i?.infos?.forEach((t=>{const n=t.type==="symbol-table";if(n){const n=[];t.infos.forEach((t=>{const s={count:null,selected:false,legendElementInfo:t};n.push(s)}));const s={count:null,selected:false,legendElementInfo:t,nestedInfos:n};r.set(t.title,s)}else{const n={count:null,selected:false,legendElementInfo:t};r.set(t.label??a.id,n)}}))}const u=[];return Promise.resolve({activeLayerInfo:n,title:f?.layer?.title,categories:r,field:l,queryExpressions:u,totalCount:null,fLayerView:f,legendElement:i})}catch{return await Promise.resolve(null)}}async function f(t,n){const s={};const e=[];t.activeLayerInfos.forEach(r(e,t,n));try{const t=await Promise.all(e);t.forEach((t=>{const n=t?.activeLayerInfo?.layer?.id;s[n]=t}));return Promise.resolve(s)}catch(t){return await Promise.reject(new Error("Failed to generate data"))}}function l(t){return Array.from(t,(t=>t[1]))}function u(t,n,s,e,c){return e?e?.nestedInfos?.[c]:t?.categories?.get(s?.label??n?.id)}function $(t){return o?.data?.[t?.id]}async function d(t,c,o,i,r){const{queryExpressions:a,fLayerView:f}=t;y(t,c,o,r);const l=a.every((t=>t&&t.includes("<>")))?" AND ":" OR ";const u=a.join(l);const $=f?.filter?.timeExtent??f?.featureEffect?.filter?.timeExtent??null;const{type:d}=i;if(d==="filter"){f.filter=await n({where:u,timeExtent:$})}else{if(i.effect){const{includedEffect:t,excludedEffect:c}=i.effect;const o=await e(c,f,"excludedEffect");const r=await e(t,f,"includedEffect");f.featureEffect=await s({filter:await n({where:u,timeExtent:$}),includedEffect:r,excludedEffect:o})}}return void await Promise.resolve()}function m(t,n){const s=n?n?.layer?.renderer?.authoringInfo:null;const e=s?s.fields:null;const c=[];if(!e){return""}if(Object.hasOwn(t,"value")){e.forEach((n=>{if(t.value===n){return}const s=`(${t.value} > ${n} OR (${n} IS NULL AND ${t.value} IS NOT NULL AND (${t.value} > 0 OR ${t.value} < 0)))`;c.push(s)}));return c.join(" AND ")}else{const t=[];e.forEach((n=>{t.push(`${n} = 0`)}));const n=[];if(e.length>2){e.forEach((t=>{e.forEach((s=>{if(t===s){return}const c=[];e.forEach((n=>{if(t===n||s===n){return}c.push(`${t} = ${s} AND (${t} > ${n} OR ${t} >= ${n})`)}));n.push(`(${c.join(" AND ")})`)}))}));const s=[];e.forEach((t=>{s.push(`${t} IS NULL`)}));const c=`(${t.join(" AND ")}) OR (${n.join(" OR ")}) OR (${s.join(" AND ")})`;return c}else{const n=[];e.forEach((s=>{e.forEach((e=>{if(s===e){return}n.push(`${s} = ${e}`);n.push(`(${t.join(" AND ")})`)}))}));const s=[];e.forEach((t=>{e.forEach((n=>{if(t===n){return}s.push(`(${t} = 0 AND ${n} IS NULL) OR (${t} IS NULL AND ${n} IS NULL)`)}))}));return`(${n.join(" OR ")}) OR (${s.join(" OR ")})`}}}function y(t,n,s,e){const{field:c,legendElement:o,categories:i,fLayerView:r}=t;const a=t?.queryExpressions;if(e){const n=Array.from(t.categories).map((t=>t[1]));n.forEach((t=>{const n=t.nestedInfos?.every((t=>!t.selected));if(n){t.nestedInfos?.forEach((t=>{const n=c?`${c} = '${t.legendElementInfo.value}'`:null;const s=n?a.indexOf(n):-1;if(n&&s!==-1){a.splice(s,1)}}))}}))}const f=o?.infos;const l=w(r);const u=l?m(n,r):N(n,c,s,o,f??[],"");const $=i?e?i.get(e.title)?.nestedInfos?.[s]:i.get(n.label??r?.layer?.id):null;if($){$.selected=!$?.selected}const d=f&&f.length===1;const y=a.indexOf(u);if(l){const t=a.indexOf(u);if(a.length===0||t===-1){if(a&&a[0]==="1=0"){a.splice(0,1)}a.push(u)}else if(a&&a.length===1&&u===a[0]){a[0]="1=0"}else if(a&&a.length===1){a[0]=u}else if(a.length===1&&u!==a[0]&&a[0]==="1=0"){a[0]=u}else if(a.length===1&&u===a[0]&&a[0]==="1=0"){a[0]=null}else{a.splice(t,1)}a.join(" OR ")}else if(a.length===0||y===-1){if(a&&a[0]==="1=0"){a.splice(0,1)}a.push(u)}else if(a&&a.length===1&&u===a[0]&&!d){a[0]="1=0"}else if(a&&a.length===1&&!d){a[0]=u}else if(a.length===1&&u!==a[0]&&a[0]==="1=0"&&!d){a[0]=u}else if(a.length===1&&u===a[0]&&a[0]==="1=0"&&!d){a[0]=null}else{a.splice(y,1)}if(e){const n=[];const s=Array.from(t.categories).map((t=>t[1]));s.forEach((t=>{const s=t.nestedInfos?.every((t=>!t.selected));if(s){t.nestedInfos?.forEach((t=>{const s=c?`${c} = '${t.legendElementInfo.value}'`:null;if(s){n.push(`${c} = '${t.legendElementInfo.value}'`)}}))}}));n.forEach((t=>{if(!a.includes(t)){a.push(t)}}))}}function N(t,n,s,e,c,o){const{value:i}=t;if(e?.type==="symbol-table"){if(!Object.hasOwn(t,"value")||Array.isArray(t.value)&&c?.length===1){if(Object.hasOwn(c?.[0],"value")&&Array.isArray(c?.[0].value)&&Object.hasOwn(c?.[c.length-2],"value")&&Array.isArray(c?.[c.length-2].value)){const t=o?`((${n}/${o}) > ${c?.[0].value[1]}) OR ((${n}/${o}) < ${c?.[c.length-2].value[0]}) OR ${o} = 0 OR ${o} IS NULL`:`${n} > ${c?.[0].value[1]} OR ${n} < ${c?.[c.length-2].value[0]} OR ${n} IS NULL`;return t}else if(c?.length===1){return"1=0"}else{const t=[];c?.forEach((s=>{if(s?.value){const{value:e}=s;const c=e.indexOf("'")!==-1?e.split("'").join("''"):null;const o=c?`${n} <> '${c}'`:isNaN(e)||typeof e==="string"&&!e.trim()?`${n} <> '${e}'`:`${n} <> ${e} AND ${n} <> '${e}'`;t.push(o)}}));const s=t.join(" AND ");return n&&s?`${s} OR ${n} IS NULL`:""}}else{const e=i.indexOf("'")!==-1?i.split("'").join("''"):null;const r=Array.isArray(t.value);const a=c&&c.length-1===s;const f=!Object.hasOwn(c?.[c.length-1],"value");const l=c&&c.length-2===s;const u=r?o?a||f&&l?`(${n}/${o}) >= ${i[0]} AND (${n}/${o}) <= ${t.value[1]}`:`(${n}/${o}) > ${i[0]} AND (${n}/${o}) <= ${t.value[1]}`:a||f&&l?`${n} >= ${i[0]} AND ${n} <= ${i[1]}`:`${n} > ${i[0]} AND ${n} <= ${i[1]}`:c?.length===1&&n?isNaN(i)||!i.trim().length?`${n} <> '${i}'`:`${n} <> ${i} OR ${n} <> '${i}'`:e?`${n} = '${e}'`:isNaN(i)||!i.trim().length?`${n} = '${i}'`:`${n} = ${i} OR ${n} = '${i}'`;return u}}else{return""}}function p(t){if(Array.isArray(t)){return t.every((t=>!t.selected))}else{return t&&Array.from(t.categories.entries()).every((t=>!t[1].selected))&&t.queryExpressions[0]!=="1=0"}}function w(t){const n=t?.layer?.renderer?.authoringInfo?.type;return n==="predominance"}function A(t){return t?.legendElements[1]?.type==="relationship-ramp"}function O(t,n,s){const e=t.layer;const c=e?.renderer?.field;const o=n?.type;const i=t?.layerView;const r=i?.layer?.renderer?.classBreakInfos;const a=i?.layer?.renderer?.uniqueValueInfos&&c;const f=o==="size-ramp";const l=o==="color-ramp";const u=o==="opacity-ramp";const $=o==="heatmap-ramp";const d=i&&r&&r.length>1;const m=i?.layer?.renderer?.authoringInfo?.type;const y=m==="class-breaks-color";const N=m==="class-breaks-size";const p=n?.infos?.length===1&&!c;const A=m==="relationship"&&n?.type!=="size-ramp"&&n?.type!=="symbol-table";const O=t?.layer?.type==="feature";const b=O&&c&&!l&&!f&&d;const R=!!(O&&c&&!l&&!f&&!d);const E=!!(R||w(i)&&!f||y&&c||N&&c||p&&!c&&c!==null||A||a);const L=t?.layer?.featureReduction&&t?.legendElements?.[s]?.type==="size-ramp";const D=n?.type==="symbol-table"&&n?.infos?.length===1;const I=!t?.legendElements.every((t=>t.type!=="color-ramp"));const g=!t?.legendElements.every((t=>t.type!=="size-ramp"));const x=D&&I;const h=D&&g;const j=n?.infos?.every((t=>typeof t.value==="number"));const P=t?.legendElements?.[0]?.type==="symbol-table"&&t?.legendElements?.[1]?.type==="color-ramp";const v=m==="dot-density";const S=V(t?.layer,c);const U=O&&!L&&!u&&!$&&!x&&!h&&!j&&!P&&!v&&S?r?b||E:R||E:false;return U}function b(t){t.queryExpressions=[];if(t?.fLayerView?.filter?.where){t.fLayerView.filter.where=""}if(t?.fLayerView?.featureEffect?.filter?.where){t.fLayerView.featureEffect=null}t.categories.forEach((t=>{t.selected=false}));return t}function R(t,n){const s=t.categories.get(n);s?.nestedInfos?.forEach((n=>{const s=`${t.field} = '${n.legendElementInfo.value}'`;const e=t.queryExpressions.indexOf(s);if(e!==-1){t.queryExpressions.splice(e,1)}n.selected=false}));const e=[];const c=Array.from(t.categories).map((t=>t[1]));c.forEach((n=>{const s=n.nestedInfos?.every((t=>!t.selected));if(s){n.nestedInfos?.forEach((n=>{e.push(`${t.field} = '${n.legendElementInfo.value}'`)}))}}));e.forEach((n=>{if(!t.queryExpressions.includes(n)){t.queryExpressions.push(n)}}));const o=t.queryExpressions.join(" OR ");const i=c.every((t=>t.nestedInfos?.every((t=>!t.selected))));if(i){if(t?.fLayerView?.filter?.where){t.fLayerView.filter.where=""}if(t?.fLayerView?.featureEffect?.filter?.where){t.fLayerView.featureEffect=null}t.queryExpressions=[]}else{if(t?.fLayerView?.filter?.where){t.fLayerView.filter.where=o}if(t?.fLayerView?.featureEffect?.filter?.where){t.fLayerView.featureEffect.filter.where=o}}return t}async function E(t,n,s){const e=t.fLayerView.createQuery();if(s){const n=s.nestedInfos.every((t=>!t.selected));if(n){const n=s.nestedInfos.map((n=>`${t.field} = '${n.legendElementInfo.value}'`)).join(" OR ");e.where=n}else{const n=s.nestedInfos.filter((t=>t.selected)).map((n=>`${t.field} = '${n.legendElementInfo.value}'`)).join(" OR ");e.where=n}}else{const n=t.queryExpressions.join(" OR ");e.where=n}try{const{extent:s}=await t.fLayerView.layer.queryExtent(e);await n.goTo(s)}catch{}}function L(t){const n=t.map((t=>t?.count)).reduce(((t,n)=>t+n));return n}function D(t){return t.map((t=>t?.nestedInfos?.map((t=>t.count)).reduce(((t,n)=>t+n)))).reduce(((t,n)=>t+n))}async function I(t,n,s,e,c,o,i,r){if(!n){return}const a=V(n?.layer,s);if(!a){return}const f=n?.layer?.type==="feature"?n.createQuery():null;const l=w(n)?m(e,n):e.type?N(i,s,r,e,e.infos):N(e,s,c,o,o.infos);if(f&&l){f.where=l==="1=0"?"1=1":l;if(t){f.geometry=t}}try{const t=f?await n.queryFeatureCount(f):null;return Promise.resolve({[e.label??n?.layer?.id]:t})}catch(t){console.error("FAILURE AT 'getInfoCount': ",t)}return await Promise.resolve(null)}async function g(t,n){const s={...n};const{activeLayerInfos:e}=t;const c=t?.view?.extent;const o={};const i={};e.forEach((async t=>{const s=t.legendElements[0];const e=t.layer;const o=n[t?.layer?.id]?.fLayerView;const r=e.renderer?.field;const a=[];i[t.layer.id]=[];s?.infos?.forEach(((n,e)=>{const f=s.infos?.every((t=>t.type==="symbol-table"));if(f){const a=[];n.infos.forEach(((t,i)=>{const f=I(c,o,r,n,e,s,t,i);a.push(f)}));i[t.layer.id].push(a)}else{a.push(I(c,o,r,n,e,s));i[t.layer.id]=a}}));const f=t=>{const s=[];const e=t.legendElements[0];const o=t.layer;const r=n[t?.layer?.id]?.fLayerView;const a=o.renderer?.field;e?.infos?.forEach(((t,n)=>s.push(I(c,r,a,t,n,e))));i[t.layer.id]=s};t.children.forEach((async t=>{f(t);if(t?.children?.length>0){t.children.forEach((t=>{f(t);if(t?.children?.length>0){t.children.forEach((t=>{f(t)}))}}))}}))}));for(const t in i){let n=o[t];if(!n){n=o[t]={}}const s=await Promise.all(i[t]);if(s.every((t=>Array.isArray(t)))){const e=await Promise.all(s.map((async t=>{const n=await Promise.all(t);const s=n.map((t=>t&&Object.values(t)[0]));return s})));n[t]=e;o[t]={...n[t]}}else{const e={};s.forEach((t=>{if(!t){return}const n=Object.keys(t)[0];e[n]=t[n]}));if(t){n[t]=e}o[t]={...n[t]}}}e.forEach((t=>{const s=n[t.layer.id];const e=t.layer.id;const c=s.categories;c.forEach(((n,c)=>{const i=Array.from(s?.categories);const r=i.findIndex((t=>t[0]===c));if(n?.nestedInfos){n?.nestedInfos.forEach(((n,s)=>{const e=o?.[t?.layer?.id]?.[r]?.[s];n.count=!isNaN(e)?e:null}))}else{const t=o?.[e]?.[c];n.count=!isNaN(t)?t:null}}));const i=t=>{const s=t.layer.id;const e=n[s];e?.categories?.forEach(((t,n)=>{const e=o?.[s]?.[n];t.count=e}))};t.children.forEach((t=>{i(t);if(t?.children?.length>0){t.children.forEach((t=>{i(t);if(t?.children?.length>0){t.children.forEach((t=>{i(t)}))}}))}}))}));return await Promise.resolve(s)}function x(t,n){return t?.nestedInfos?.[n]}function h(t){const n=Array.from(t).map((t=>t[1]));return n.every((t=>!!t?.nestedInfos))}function j(t){return!!t?.legendElements?.[0]?.infos?.every?.((t=>t?.type==="symbol-table"))}function P(t,n){return t?.categories?.get(n?.title)}function v(t){const n=`calcite-mode-`;const s=`${n}light`;const e=`${n}dark`;const c=t.classList.contains(e);return c?e:s}function S(t){if(t.layerId&&t.intLegendLayerData){const n=t.layerId;const s=t.intLegendLayerData;const e={...o.data,[n]:s};i.set("data",e)}}function U(t,n){const{type:s}=t;if(s==="filter"){z(n)}else if(s==="effect"){k(t,n)}}function z(t){t?.allLayerViews?.filter((t=>t?.layer?.type==="feature"))?.forEach((t=>{const n=t;const s=q(n);n.filter=s;n.set("featureEffect",null)}))}function k(t,n){n?.allLayerViews?.filter((t=>t?.layer?.type==="feature")).forEach((async n=>{const c=n;if(t?.effect&&c){const{includedEffect:n,excludedEffect:o}=t.effect;const i=await e(o,c,"excludedEffect");const r=await e(n,c,"includedEffect");const a=q(c);c.featureEffect=await s({filter:a,includedEffect:r,excludedEffect:i});c.set("filter",null)}}))}function q(t){return t?.filter||t?.featureEffect?.filter}function V(t,n){const s=t?.fields;const e=s&&s.map((t=>t.name));return n?e&&e.includes(n):true}function C(t){const n=[];t.forEach((t=>F(t,n)));return n}function F(t,n){n.push(t);if(t.children&&t.children.length>0){t.children.forEach((t=>{F(t,n)}))}}export{P as a,u as b,p as c,g as d,f as e,C as f,v as g,U as h,o as i,a as j,d as k,$ as l,j as m,A as n,R as o,b as p,l as q,h as r,i as s,D as t,S as u,O as v,L as w,x,E as z};
|
2
|
-
//# sourceMappingURL=p-b291a1e6.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["InteractiveLegendStore","createStore","data","relationshipRampExpandStates","compact","interactiveLegendState","state","store","activeLayerInfoCallback","intLegendDataPromises","legendViewModel","reactiveUtils","activeLayerInfo","aclType","layer","type","intLegendDataPromise","createInteractiveLegendDataForLayer","then","res","push","handleALIChild","aliChild","children","forEach","child","length","innerALIChild","innerInnerALIChild","async","isGroup","someVisible","layers","some","visible","noLegendEnabled","every","legendEnabled","whenOnce","loaded","ready","legendElements","legendElement","categories","Map","fLayer","fLayerView","view","whenLayerView","updating","field","renderer","undefined","infos","legendElementInfo","isNestedUniqueSymbol","nestedInfos","nestedUniqueSymbolInfo","category","count","selected","set","title","label","id","queryExpressions","Promise","resolve","totalCount","generateData","activeLayerInfos","intLegendLayerDataObjs","all","intLegendLayerDataObj","layerId","err","reject","Error","getCategoriesArray","Array","from","getCategoryData","elementInfo","parentLegendElementInfoData","infoIndex","get","getIntLegendLayerData","handleFilter","info","filterMode","parentLegendElementInfo","generateQueryExpressions","sep","expression","includes","where","join","timeExtent","filter","featureEffect","newLayersSupportFeatureFilter","effect","includedEffect","excludedEffect","mergedExcludedEffect","getMergedEffect","mergedIncludedEffect","newLayersSupportFeatureEffect","handlePredominanceExpression","featureLayerView","authoringInfo","fields","expressionArr","Object","hasOwn","value","sqlQuery","queryForZeroes","otherExpression","field1","field2","queryForMultiplePredominance","field3","isNull","generatedOtherExpression","expressions","zeroAndNull","nestedCategories","map","entry","nestedCategory","untouched","nestedInfo","expressionIndex","indexOf","splice","legendElementInfos","isPredominance","checkPredominance","queryExpression","generateQueryExpression","hasOneValue","expressionList","normalizationField","isArray","singleQuote","split","isNaN","trim","noExpression","isLastElement","lastElementAndNoValue","secondToLastElement","checkNoneSelected","entries","authoringInfoType","checkRelationshipRamp","validateInteractivity","legendElementIndex","layerView","classBreakInfos","uniqueValueInfos","isSizeRamp","isColorRamp","opacityRamp","heatmapRamp","hasMoreThanOneClassBreak","classifyDataCheckedColorRamp","classifyDataCheckedSizeRamp","singleSymbol","isRelationshipRamp","isFeatureLayer","moreThanOneClassBreak","oneClassBreak","validate","hasClustering","featureReduction","isSingleSymbol","hasColorRamp","hasSizeRamp","singleSymbolColor","singleSymbolSize","isUnclassifiedSizeRamp","isBinning","isDotDensity","fieldExists","checkIfFieldExists","isValidated","showAll","showAllNestedUniqueSymbol","nestedUniqueSymbolCategoryId","nestedUniqueInfoCategory","existingIndex","allUntouched","zoomTo","query","createQuery","noneSelected","extent","queryExtent","goTo","calculateTotalCount","categoriesArr","reduce","acc","curr","calculateTotalFeatureCountForNestedSymbols","getInfoCount","nestedUniqueSymbolInfoIndex","geometry","featureCount","queryFeatureCount","console","error","handleFeatureCount","updatedData","dataCount","countPromises","counts","nestedInfoCounts","infoCount","childCounts","countPromise","countObj","countRes","countResItem","countArr2d","promise","promiseItem","values","layerCountObj","keys","dataFromActiveLayerInfo","key","categoryIndex","findIndex","categoryArrItem","nestedInfoIndex","childLayerId","getNestedInfoData","checkNestedUniqueSymbol","checkNestedUniqueSymbolLegendElement","getParentLegendElementInfoData","getTheme","el","calciteMode","light","dark","isDarkTheme","classList","contains","updateStore","layerData","intLegendLayerData","layerDataToSet","handleFilterChange","updateExistingFilterToFeatureFilter","updateExistingFilterToFeatureEffect","allLayerViews","existingFilter","getExistingFilter","fieldNames","name","getAllActiveLayerInfos","arr","acl","flattenActiveLayerInfos"],"sources":["src/components/instant-apps-interactive-legend/support/store.ts","src/components/instant-apps-interactive-legend/support/helpers.ts"],"sourcesContent":["import { createStore } from \"@stencil/store\";\nimport type { IInteractiveLegendData } from \"../instant-apps-interactive-legend-classic/interfaces/interfaces\";\n\ninterface InteractiveLegendState {\n data: IInteractiveLegendData;\n relationshipRampExpandStates: Record<string, boolean>;\n compact: boolean;\n}\n\nconst InteractiveLegendStore = createStore<InteractiveLegendState>({\n data: {} as IInteractiveLegendData,\n relationshipRampExpandStates: {},\n compact: false,\n});\n\nexport const interactiveLegendState = InteractiveLegendStore.state;\nexport const onInteractiveLegendChange = InteractiveLegendStore.onChange;\nexport const store = InteractiveLegendStore;\n","/* eslint-disable no-restricted-globals, no-restricted-syntax */\n\nimport type {\n IInteractiveLegendData,\n ICategories,\n IIntLegendLayerData,\n ICategory,\n InteractiveLegendElementInfo,\n} from \"../instant-apps-interactive-legend-classic/interfaces/interfaces\";\nimport type { FilterMode } from \"../../../interfaces/interfaces\";\nimport { interactiveLegendState, store } from \"../support/store\";\nimport { newLayersSupportFeatureEffect, newLayersSupportFeatureFilter } from \"@arcgis/core-adapter\";\nimport { getMergedEffect } from \"../../../utils/effects\";\n\n// data handling\nfunction activeLayerInfoCallback(\n intLegendDataPromises: Promise<IIntLegendLayerData | null>[],\n legendViewModel: __esri.LegendViewModel,\n reactiveUtils: __esri.reactiveUtils,\n): (activeLayerInfo: __esri.ActiveLayerInfo) => void {\n return (activeLayerInfo: __esri.ActiveLayerInfo) => {\n const aclType = activeLayerInfo?.layer?.type;\n if (aclType === \"feature\" || aclType === \"group\") {\n // Step 3a. Push to promises array since there are promises within function\n const intLegendDataPromise: Promise<IIntLegendLayerData | null> = createInteractiveLegendDataForLayer(\n legendViewModel,\n activeLayerInfo,\n reactiveUtils,\n ).then((res) => res);\n if (intLegendDataPromise) {\n intLegendDataPromises.push(intLegendDataPromise);\n }\n\n const handleALIChild = (aliChild: __esri.ActiveLayerInfo) => {\n const intLegendDataPromise = createInteractiveLegendDataForLayer(legendViewModel, aliChild, reactiveUtils).then(\n (res) => res,\n );\n if (intLegendDataPromise) {\n intLegendDataPromises.push(intLegendDataPromise);\n }\n };\n\n // Take ACLs children into account\n activeLayerInfo.children.forEach((child) => {\n handleALIChild(child);\n if (child?.children?.length > 0) {\n child.children.forEach((innerALIChild) => {\n handleALIChild(innerALIChild);\n if (innerALIChild?.children?.length > 0) {\n innerALIChild.children.forEach((innerInnerALIChild) => {\n handleALIChild(innerInnerALIChild);\n });\n }\n });\n }\n });\n }\n };\n}\n\nexport async function createInteractiveLegendDataForLayer(\n legendViewModel: __esri.LegendViewModel,\n activeLayerInfo: __esri.ActiveLayerInfo,\n reactiveUtils: __esri.reactiveUtils,\n): Promise<IIntLegendLayerData | null> {\n try {\n // Get first Legend Element from Active LayerInfo - only first legend element will be interactive\n const isGroup = activeLayerInfo?.layer?.type === \"group\";\n const someVisible = (activeLayerInfo?.layer as __esri.GroupLayer)?.layers?.some((layer) => layer.visible);\n const noLegendEnabled = (activeLayerInfo?.layer as __esri.GroupLayer)?.layers?.every(\n (layer) => !(layer as __esri.FeatureLayer)?.legendEnabled,\n );\n await reactiveUtils.whenOnce(() => legendViewModel?.state === \"ready\");\n\n if (!isGroup || (isGroup && someVisible)) {\n if (isGroup && noLegendEnabled) {\n await reactiveUtils.whenOnce(() => activeLayerInfo?.layer?.loaded);\n } else {\n await reactiveUtils.whenOnce(() => activeLayerInfo?.ready);\n }\n } else {\n await reactiveUtils.whenOnce(() => activeLayerInfo?.legendElements);\n }\n\n const legendElement = activeLayerInfo?.legendElements?.[0];\n\n // Each active layer info will have it's own property in object - we'll use the layer ID to categorize each layer\n // Hash map for each layers interactive categories i.e. Global power plants, Hydro, Solar, Wind, etc.\n const categories: ICategories = new Map();\n\n // Layer to access field from it's renderer to be used in expression\n const fLayer = activeLayerInfo.layer as __esri.FeatureLayer;\n // Get Feature Layer View to query\n const fLayerView = await legendViewModel?.view?.whenLayerView(fLayer);\n await reactiveUtils.whenOnce(() => fLayerView?.updating === false);\n const field = (fLayer.renderer as __esri.UniqueValueRenderer)?.field ?? \"\";\n\n if (legendElement !== undefined) {\n legendElement?.infos?.forEach((legendElementInfo) => {\n const isNestedUniqueSymbol = legendElementInfo.type === \"symbol-table\";\n if (isNestedUniqueSymbol) {\n const nestedInfos: any = [];\n legendElementInfo.infos.forEach((nestedUniqueSymbolInfo: any) => {\n const category = {\n count: null,\n selected: false,\n legendElementInfo: nestedUniqueSymbolInfo,\n };\n nestedInfos.push(category);\n });\n const category = {\n count: null,\n selected: false,\n legendElementInfo,\n nestedInfos,\n };\n categories.set(legendElementInfo.title, category);\n } else {\n const category = {\n count: null,\n selected: false,\n legendElementInfo,\n };\n categories.set(legendElementInfo.label ?? fLayer.id, category);\n }\n });\n }\n\n // Generated expression to apply to layer filters\n const queryExpressions: string[] = [];\n\n // Total feature count\n return Promise.resolve({\n activeLayerInfo,\n title: fLayerView?.layer?.title,\n categories,\n field,\n queryExpressions,\n totalCount: null,\n fLayerView,\n legendElement,\n });\n } catch {\n return await Promise.resolve(null);\n }\n}\n\nexport async function generateData(\n legendViewModel: __esri.LegendViewModel,\n reactiveUtils: __esri.reactiveUtils,\n): Promise<IInteractiveLegendData> {\n // Create data object to return\n const data = {} as IInteractiveLegendData;\n\n // Set up Interactive Legend Data for each layer using it's corresponding active layer info\n // Array of promises - needed due to queryFeatureCount and whenLayerView calls\n const intLegendDataPromises = [] as Promise<IIntLegendLayerData>[];\n\n // Iterate through each Active Layer Info and create data bucket for each layer\n\n legendViewModel.activeLayerInfos.forEach(\n activeLayerInfoCallback(intLegendDataPromises, legendViewModel, reactiveUtils),\n );\n\n // Store resolved data\n try {\n const intLegendLayerDataObjs = await Promise.all(intLegendDataPromises);\n intLegendLayerDataObjs.forEach((intLegendLayerDataObj) => {\n const layerId = intLegendLayerDataObj?.activeLayerInfo?.layer?.id;\n data[layerId] = intLegendLayerDataObj;\n });\n\n return Promise.resolve(data);\n } catch (err) {\n return await Promise.reject(new Error(\"Failed to generate data\"));\n }\n}\n\n// data getters\nexport function getCategoriesArray(categories: ICategories): ICategory[] {\n return Array.from(categories, (category) => category[1]);\n}\n\nexport function getCategoryData(\n data: IIntLegendLayerData,\n layer: __esri.Layer,\n elementInfo: InteractiveLegendElementInfo,\n parentLegendElementInfoData: ICategory | undefined,\n infoIndex: number,\n): ICategory {\n return parentLegendElementInfoData\n ? parentLegendElementInfoData?.nestedInfos?.[infoIndex]\n : data?.categories?.get(elementInfo?.label ?? layer?.id);\n}\n\nexport function getIntLegendLayerData(fLayer: __esri.FeatureLayer): IIntLegendLayerData {\n return interactiveLegendState?.data?.[fLayer?.id];\n}\n\n// filtering\nexport async function handleFilter(\n data: IIntLegendLayerData,\n info: any,\n infoIndex: number,\n filterMode: FilterMode,\n parentLegendElementInfo?: any,\n): Promise<void> {\n const { queryExpressions, fLayerView } = data;\n generateQueryExpressions(data, info, infoIndex, parentLegendElementInfo);\n const sep = queryExpressions.every((expression) => expression && expression.includes(\"<>\")) ? \" AND \" : \" OR \";\n const where = queryExpressions.join(sep);\n const timeExtent = fLayerView?.filter?.timeExtent ?? fLayerView?.featureEffect?.filter?.timeExtent ?? null;\n\n const { type } = filterMode;\n\n if (type === \"filter\") {\n fLayerView.filter = await newLayersSupportFeatureFilter({ where, timeExtent });\n } else {\n if (filterMode.effect) {\n const { includedEffect, excludedEffect } = filterMode.effect;\n const mergedExcludedEffect = await getMergedEffect(excludedEffect, fLayerView, \"excludedEffect\");\n const mergedIncludedEffect = await getMergedEffect(includedEffect, fLayerView, \"includedEffect\");\n\n fLayerView.featureEffect = await newLayersSupportFeatureEffect({\n filter: await newLayersSupportFeatureFilter({ where, timeExtent }),\n includedEffect: mergedIncludedEffect,\n excludedEffect: mergedExcludedEffect,\n });\n }\n }\n return void (await Promise.resolve());\n}\n\nexport function handlePredominanceExpression(elementInfo: any, featureLayerView: __esri.FeatureLayerView): string {\n const authoringInfo = featureLayerView ? featureLayerView?.layer?.renderer?.authoringInfo : null;\n const fields = authoringInfo ? authoringInfo.fields : null;\n const expressionArr: string[] = [];\n if (!fields) {\n return \"\";\n }\n if (Object.hasOwn(elementInfo, \"value\")) {\n fields.forEach((field) => {\n if (elementInfo.value === field) {\n return;\n }\n const sqlQuery = `(${elementInfo.value} > ${field} OR (${field} IS NULL AND ${elementInfo.value} IS NOT NULL AND (${elementInfo.value} > 0 OR ${elementInfo.value} < 0)))`;\n expressionArr.push(sqlQuery);\n });\n return expressionArr.join(\" AND \");\n } else {\n const queryForZeroes: string[] = [];\n fields.forEach((field) => {\n queryForZeroes.push(`${field} = 0`);\n });\n\n const otherExpression: string[] = [];\n if (fields.length > 2) {\n fields.forEach((field1) => {\n fields.forEach((field2) => {\n if (field1 === field2) {\n return;\n }\n const queryForMultiplePredominance: string[] = [];\n fields.forEach((field3) => {\n if (field1 === field3 || field2 === field3) {\n return;\n }\n queryForMultiplePredominance.push(\n `${field1} = ${field2} AND (${field1} > ${field3} OR ${field1} >= ${field3})`,\n );\n });\n otherExpression.push(`(${queryForMultiplePredominance.join(\" AND \")})`);\n });\n });\n\n const isNull: string[] = [];\n\n fields.forEach((field) => {\n isNull.push(`${field} IS NULL`);\n });\n const generatedOtherExpression = `(${queryForZeroes.join(\" AND \")}) OR (${otherExpression.join(\" OR \")}) OR (${isNull.join(\" AND \")})`;\n return generatedOtherExpression;\n } else {\n const expressions: string[] = [];\n fields.forEach((field1) => {\n fields.forEach((field2) => {\n if (field1 === field2) {\n return;\n }\n expressions.push(`${field1} = ${field2}`);\n expressions.push(`(${queryForZeroes.join(\" AND \")})`);\n });\n });\n\n const zeroAndNull: string[] = [];\n fields.forEach((field1) => {\n fields.forEach((field2) => {\n if (field1 === field2) {\n return;\n }\n zeroAndNull.push(`(${field1} = 0 AND ${field2} IS NULL) OR (${field1} IS NULL AND ${field2} IS NULL)`);\n });\n });\n\n return `(${expressions.join(\" OR \")}) OR (${zeroAndNull.join(\" OR \")})`;\n }\n }\n}\n\nfunction generateQueryExpressions(\n data: IIntLegendLayerData,\n info: any,\n infoIndex: number,\n parentLegendElementInfo?: any,\n): void {\n const { field, legendElement, categories, fLayerView } = data;\n\n const queryExpressions = data?.queryExpressions;\n\n if (parentLegendElementInfo) {\n const nestedCategories = Array.from(data.categories).map((entry) => entry[1]);\n nestedCategories.forEach((nestedCategory) => {\n const untouched = nestedCategory.nestedInfos?.every((nestedInfo) => !nestedInfo.selected);\n\n if (untouched) {\n nestedCategory.nestedInfos?.forEach((nestedInfo) => {\n const expression = field ? `${field} = '${nestedInfo.legendElementInfo.value}'` : null;\n\n const expressionIndex = expression ? queryExpressions.indexOf(expression) : -1;\n\n if (expression && expressionIndex !== -1) {\n queryExpressions.splice(expressionIndex, 1);\n }\n });\n }\n });\n }\n\n const legendElementInfos = legendElement?.infos;\n\n const isPredominance = checkPredominance(fLayerView);\n\n const queryExpression = isPredominance\n ? handlePredominanceExpression(info, fLayerView)\n : generateQueryExpression(info, field, infoIndex, legendElement, legendElementInfos ?? [], \"\");\n const category = categories\n ? parentLegendElementInfo\n ? (categories.get(parentLegendElementInfo.title)?.nestedInfos?.[infoIndex] as ICategory)\n : categories.get(info.label ?? fLayerView?.layer?.id)!\n : null;\n\n if (category) {\n category.selected = !category?.selected;\n }\n\n const hasOneValue = legendElementInfos && legendElementInfos.length === 1;\n\n const expressionIndex = queryExpressions.indexOf(queryExpression);\n\n if (isPredominance) {\n const expressionIndex = queryExpressions.indexOf(queryExpression);\n if (queryExpressions.length === 0 || expressionIndex === -1) {\n if (queryExpressions && queryExpressions[0] === \"1=0\") {\n queryExpressions.splice(0, 1);\n }\n queryExpressions.push(queryExpression);\n } else if (queryExpressions && queryExpressions.length === 1 && queryExpression === queryExpressions[0]) {\n queryExpressions[0] = \"1=0\";\n } else if (queryExpressions && queryExpressions.length === 1) {\n queryExpressions[0] = queryExpression;\n } else if (\n queryExpressions.length === 1 &&\n queryExpression !== queryExpressions[0] &&\n queryExpressions[0] === \"1=0\"\n ) {\n queryExpressions[0] = queryExpression;\n } else if (\n queryExpressions.length === 1 &&\n queryExpression === queryExpressions[0] &&\n queryExpressions[0] === \"1=0\"\n ) {\n queryExpressions[0] = null;\n } else {\n queryExpressions.splice(expressionIndex, 1);\n }\n\n queryExpressions.join(\" OR \");\n } else if (queryExpressions.length === 0 || expressionIndex === -1) {\n if (queryExpressions && queryExpressions[0] === \"1=0\") {\n queryExpressions.splice(0, 1);\n }\n queryExpressions.push(queryExpression);\n } else if (\n queryExpressions &&\n queryExpressions.length === 1 &&\n queryExpression === queryExpressions[0] &&\n !hasOneValue\n ) {\n queryExpressions[0] = \"1=0\";\n } else if (queryExpressions && queryExpressions.length === 1 && !hasOneValue) {\n queryExpressions[0] = queryExpression;\n } else if (\n queryExpressions.length === 1 &&\n queryExpression !== queryExpressions[0] &&\n queryExpressions[0] === \"1=0\" &&\n !hasOneValue\n ) {\n queryExpressions[0] = queryExpression;\n } else if (\n queryExpressions.length === 1 &&\n queryExpression === queryExpressions[0] &&\n queryExpressions[0] === \"1=0\" &&\n !hasOneValue\n ) {\n queryExpressions[0] = null;\n } else {\n queryExpressions.splice(expressionIndex, 1);\n }\n\n if (parentLegendElementInfo) {\n const expressionList: string[] = [];\n const nestedCategories = Array.from(data.categories).map((entry) => entry[1]);\n nestedCategories.forEach((nestedCategory) => {\n const untouched = nestedCategory.nestedInfos?.every((nestedInfo) => !nestedInfo.selected);\n\n if (untouched) {\n nestedCategory.nestedInfos?.forEach((nestedInfo) => {\n const expression = field ? `${field} = '${nestedInfo.legendElementInfo.value}'` : null;\n if (expression) {\n expressionList.push(`${field} = '${nestedInfo.legendElementInfo.value}'`);\n }\n });\n }\n });\n\n expressionList.forEach((expression) => {\n if (!queryExpressions.includes(expression)) {\n queryExpressions.push(expression);\n }\n });\n }\n}\n\nfunction generateQueryExpression(\n info: any,\n field: string,\n infoIndex: number,\n legendElement: __esri.LegendElement,\n legendElementInfos?: any[],\n normalizationField?: string,\n): string {\n const { value } = info;\n if (legendElement?.type === \"symbol-table\") {\n // Classify data size/color ramp\n if (!Object.hasOwn(info, \"value\") || (Array.isArray(info.value) && legendElementInfos?.length === 1)) {\n // Classify data size/color ramp - 'Other' category\n if (\n Object.hasOwn(legendElementInfos?.[0], \"value\") &&\n Array.isArray(legendElementInfos?.[0].value) &&\n Object.hasOwn(legendElementInfos?.[legendElementInfos.length - 2], \"value\") &&\n Array.isArray(legendElementInfos?.[legendElementInfos.length - 2].value)\n ) {\n const expression = normalizationField\n ? `((${field}/${normalizationField}) > ${legendElementInfos?.[0].value[1]}) OR ((${field}/${normalizationField}) < ${\n legendElementInfos?.[legendElementInfos.length - 2].value[0]\n }) OR ${normalizationField} = 0 OR ${normalizationField} IS NULL`\n : `${field} > ${legendElementInfos?.[0].value[1]} OR ${field} < ${legendElementInfos?.[legendElementInfos.length - 2].value[0]} OR ${field} IS NULL`;\n return expression;\n } else if (legendElementInfos?.length === 1) {\n return \"1=0\";\n } else {\n // Types unique symbols - 'Other' category\n const expressionList = [] as string[];\n legendElementInfos?.forEach((legendElementInfo: any) => {\n if (legendElementInfo?.value) {\n const { value } = legendElementInfo;\n const singleQuote = value.indexOf(\"'\") !== -1 ? value.split(\"'\").join(\"''\") : null;\n const expression = singleQuote\n ? `${field} <> '${singleQuote}'`\n : isNaN(value) || (typeof value === \"string\" && !value.trim())\n ? `${field} <> '${value}'`\n : `${field} <> ${value} AND ${field} <> '${value}'`;\n expressionList.push(expression);\n }\n });\n const noExpression = expressionList.join(\" AND \");\n return field && noExpression ? `${noExpression} OR ${field} IS NULL` : \"\";\n }\n } else {\n const singleQuote = value.indexOf(\"'\") !== -1 ? value.split(\"'\").join(\"''\") : null;\n const isArray = Array.isArray(info.value);\n const isLastElement = legendElementInfos && legendElementInfos.length - 1 === infoIndex;\n const lastElementAndNoValue = !Object.hasOwn(legendElementInfos?.[legendElementInfos.length - 1], \"value\");\n const secondToLastElement = legendElementInfos && legendElementInfos.length - 2 === infoIndex;\n const expression = isArray\n ? normalizationField\n ? isLastElement || (lastElementAndNoValue && secondToLastElement)\n ? `(${field}/${normalizationField}) >= ${value[0]} AND (${field}/${normalizationField}) <= ${info.value[1]}`\n : `(${field}/${normalizationField}) > ${value[0]} AND (${field}/${normalizationField}) <= ${info.value[1]}`\n : isLastElement || (lastElementAndNoValue && secondToLastElement)\n ? `${field} >= ${value[0]} AND ${field} <= ${value[1]}`\n : `${field} > ${value[0]} AND ${field} <= ${value[1]}`\n : legendElementInfos?.length === 1 && field\n ? isNaN(value) || !value.trim().length\n ? `${field} <> '${value}'`\n : `${field} <> ${value} OR ${field} <> '${value}'`\n : singleQuote\n ? `${field} = '${singleQuote}'`\n : isNaN(value) || !value.trim().length\n ? `${field} = '${value}'`\n : `${field} = ${value} OR ${field} = '${value}'`;\n\n return expression;\n }\n } else {\n return \"\";\n }\n}\n\n// checks\nexport function checkAllSelected(data: IIntLegendLayerData): boolean {\n return data && Array.from(data.categories.entries()).every((entry) => entry[1].selected);\n}\n\nexport function checkNoneSelected(data: IIntLegendLayerData): boolean {\n if (Array.isArray(data)) {\n return data.every((entry) => !entry.selected);\n } else {\n return (\n data &&\n Array.from(data.categories.entries()).every((entry) => !entry[1].selected) &&\n data.queryExpressions[0] !== \"1=0\"\n );\n }\n}\n\nexport function checkPredominance(fLayerView: __esri.FeatureLayerView): boolean {\n const authoringInfoType = fLayerView?.layer?.renderer?.authoringInfo?.type;\n return authoringInfoType === \"predominance\";\n}\n\nexport function checkRelationshipRamp(activeLayerInfo: __esri.ActiveLayerInfo): boolean {\n return activeLayerInfo?.legendElements[1]?.type === \"relationship-ramp\";\n}\n\nexport function validateInteractivity(\n activeLayerInfo: __esri.ActiveLayerInfo,\n legendElement?: __esri.LegendElement,\n legendElementIndex?: number,\n): boolean {\n const fLayer = activeLayerInfo.layer as __esri.FeatureLayer;\n const field = (fLayer?.renderer as any)?.field;\n const type = legendElement?.type;\n const layerView = activeLayerInfo?.layerView as __esri.FeatureLayerView;\n const classBreakInfos = (layerView?.layer?.renderer as __esri.ClassBreaksRenderer)?.classBreakInfos;\n const uniqueValueInfos = (layerView?.layer?.renderer as __esri.UniqueValueRenderer)?.uniqueValueInfos && field;\n const isSizeRamp = type === \"size-ramp\";\n const isColorRamp = type === \"color-ramp\";\n const opacityRamp = type === \"opacity-ramp\";\n const heatmapRamp = type === \"heatmap-ramp\";\n\n const hasMoreThanOneClassBreak = layerView && classBreakInfos && classBreakInfos.length > 1;\n\n const authoringInfoType = layerView?.layer?.renderer?.authoringInfo?.type as string;\n const classifyDataCheckedColorRamp = authoringInfoType === \"class-breaks-color\";\n const classifyDataCheckedSizeRamp = authoringInfoType === \"class-breaks-size\";\n\n const singleSymbol = legendElement?.infos?.length === 1 && !field;\n\n const isRelationshipRamp =\n authoringInfoType === \"relationship\" &&\n legendElement?.type !== \"size-ramp\" &&\n legendElement?.type !== \"symbol-table\";\n\n const isFeatureLayer = activeLayerInfo?.layer?.type === \"feature\";\n\n const moreThanOneClassBreak = isFeatureLayer && field && !isColorRamp && !isSizeRamp && hasMoreThanOneClassBreak;\n\n const oneClassBreak = !!(isFeatureLayer && field && !isColorRamp && !isSizeRamp && !hasMoreThanOneClassBreak);\n\n const validate = !!(\n oneClassBreak ||\n (checkPredominance(layerView) && !isSizeRamp) ||\n (classifyDataCheckedColorRamp && field) ||\n (classifyDataCheckedSizeRamp && field) ||\n (singleSymbol && !field && field !== null) ||\n isRelationshipRamp ||\n uniqueValueInfos\n );\n\n const hasClustering =\n (activeLayerInfo?.layer as __esri.FeatureLayer)?.featureReduction &&\n activeLayerInfo?.legendElements?.[legendElementIndex!]?.type === \"size-ramp\";\n\n const isSingleSymbol = legendElement?.type === \"symbol-table\" && legendElement?.infos?.length === 1;\n\n const hasColorRamp = !activeLayerInfo?.legendElements.every((legendElement) => legendElement.type !== \"color-ramp\");\n\n const hasSizeRamp = !activeLayerInfo?.legendElements.every((legendElement) => legendElement.type !== \"size-ramp\");\n\n const singleSymbolColor = isSingleSymbol && hasColorRamp;\n\n const singleSymbolSize = isSingleSymbol && hasSizeRamp;\n\n const isUnclassifiedSizeRamp = legendElement?.infos?.every((info: any) => typeof info.value === \"number\");\n\n const isBinning =\n activeLayerInfo?.legendElements?.[0]?.type === \"symbol-table\" &&\n activeLayerInfo?.legendElements?.[1]?.type === \"color-ramp\";\n\n const isDotDensity = authoringInfoType === \"dot-density\";\n\n const fieldExists = checkIfFieldExists(activeLayerInfo?.layer as __esri.FeatureLayer, field);\n\n const isValidated =\n isFeatureLayer &&\n !hasClustering &&\n !opacityRamp &&\n !heatmapRamp &&\n !singleSymbolColor &&\n !singleSymbolSize &&\n !isUnclassifiedSizeRamp &&\n !isBinning &&\n !isDotDensity &&\n fieldExists\n ? classBreakInfos\n ? moreThanOneClassBreak || validate\n : oneClassBreak || validate\n : false;\n\n return isValidated;\n}\n\n// ui interactions\nexport function showAll(data: IIntLegendLayerData): IIntLegendLayerData {\n data.queryExpressions = [];\n if (data?.fLayerView?.filter?.where) {\n data.fLayerView.filter.where = \"\";\n }\n if (data?.fLayerView?.featureEffect?.filter?.where) {\n (data.fLayerView as any).featureEffect = null;\n }\n\n data.categories.forEach((category) => {\n category.selected = false;\n });\n return data;\n}\n\nexport function showAllNestedUniqueSymbol(\n data: IIntLegendLayerData,\n nestedUniqueSymbolCategoryId: string,\n): IIntLegendLayerData {\n const nestedUniqueInfoCategory = data.categories.get(nestedUniqueSymbolCategoryId);\n\n nestedUniqueInfoCategory?.nestedInfos?.forEach((nestedInfo) => {\n const expression = `${data.field} = '${nestedInfo.legendElementInfo.value}'`;\n const existingIndex = data.queryExpressions.indexOf(expression);\n if (existingIndex !== -1) {\n data.queryExpressions.splice(existingIndex, 1);\n }\n nestedInfo.selected = false;\n });\n\n const expressionList: string[] = [];\n const nestedCategories = Array.from(data.categories).map((entry) => entry[1]);\n nestedCategories.forEach((nestedCategory) => {\n const untouched = nestedCategory.nestedInfos?.every((nestedInfo) => !nestedInfo.selected);\n\n if (untouched) {\n nestedCategory.nestedInfos?.forEach((nestedInfo) => {\n expressionList.push(`${data.field} = '${nestedInfo.legendElementInfo.value}'`);\n });\n }\n });\n\n expressionList.forEach((expression) => {\n if (!data.queryExpressions.includes(expression)) {\n data.queryExpressions.push(expression);\n }\n });\n\n const where = data.queryExpressions.join(\" OR \");\n\n const allUntouched = nestedCategories.every((nestedCategory) =>\n nestedCategory.nestedInfos?.every((nestedInfo) => !nestedInfo.selected),\n );\n\n if (allUntouched) {\n if (data?.fLayerView?.filter?.where) {\n data.fLayerView.filter.where = \"\";\n }\n if (data?.fLayerView?.featureEffect?.filter?.where) {\n (data.fLayerView as any).featureEffect = null;\n }\n data.queryExpressions = [];\n } else {\n if (data?.fLayerView?.filter?.where) {\n data.fLayerView.filter.where = where;\n }\n if (data?.fLayerView?.featureEffect?.filter?.where) {\n (data.fLayerView as any).featureEffect.filter.where = where;\n }\n }\n\n return data;\n}\n\nexport async function zoomTo(data: IIntLegendLayerData, view: __esri.MapView, nestedCategory: any): Promise<void> {\n const query = data.fLayerView.createQuery();\n\n if (nestedCategory) {\n const noneSelected = nestedCategory.nestedInfos.every((nestedInfo: ICategory) => !nestedInfo.selected);\n if (noneSelected) {\n const expression = nestedCategory.nestedInfos\n .map((nestedInfo: any) => `${data.field} = '${nestedInfo.legendElementInfo.value}'`)\n .join(\" OR \");\n query.where = expression;\n } else {\n const expression = nestedCategory.nestedInfos\n .filter((nestedInfo: any) => nestedInfo.selected)\n .map((nestedInfo: any) => `${data.field} = '${nestedInfo.legendElementInfo.value}'`)\n .join(\" OR \");\n query.where = expression;\n }\n } else {\n const where = data.queryExpressions.join(\" OR \");\n query.where = where;\n }\n\n try {\n const { extent } = await data.fLayerView.layer.queryExtent(query);\n await view.goTo(extent);\n } catch {\n // Intentionally ignored\n }\n}\n\n// count\nexport function calculateTotalCount(categoriesArr: ICategory[]): number {\n const totalCount = categoriesArr\n .map((category: any) => category?.count)\n .reduce((acc: number, curr: number) => acc + curr);\n return totalCount;\n}\n\nexport function calculateTotalFeatureCountForNestedSymbols(categoriesArr: ICategory[]) {\n return categoriesArr\n .map((category) =>\n category?.nestedInfos?.map((nestedInfo) => nestedInfo.count).reduce((acc: number, curr: number) => acc + curr),\n )\n .reduce((acc: number, curr: number) => acc + curr);\n}\n\nexport async function getInfoCount(\n extent: __esri.Extent | undefined,\n fLayerView: __esri.FeatureLayerView,\n field: string,\n info: any,\n infoIndex: number,\n legendElement: __esri.LegendElement,\n nestedUniqueSymbolInfo?: any,\n nestedUniqueSymbolInfoIndex?: number,\n): Promise<Record<string, number | null> | null | undefined> {\n if (!fLayerView) {\n return;\n }\n\n const fieldExists = checkIfFieldExists(fLayerView?.layer, field);\n if (!fieldExists) {\n return;\n }\n\n const query = fLayerView?.layer?.type === \"feature\" ? fLayerView.createQuery() : null;\n\n const where = checkPredominance(fLayerView)\n ? handlePredominanceExpression(info, fLayerView)\n : info.type\n ? generateQueryExpression(nestedUniqueSymbolInfo, field, nestedUniqueSymbolInfoIndex!, info, info.infos)\n : generateQueryExpression(info, field, infoIndex, legendElement, legendElement.infos as any[]);\n\n if (query && where) {\n query.where = where === \"1=0\" ? \"1=1\" : where;\n if (extent) {\n query.geometry = extent;\n }\n }\n\n try {\n const featureCount = query ? await fLayerView.queryFeatureCount(query) : null;\n return Promise.resolve({ [info.label ?? fLayerView?.layer?.id]: featureCount });\n } catch (err) {\n console.error(\"FAILURE AT 'getInfoCount': \", err);\n }\n return await Promise.resolve(null);\n}\n\nexport async function handleFeatureCount(\n legendViewModel: __esri.LegendViewModel,\n data: IInteractiveLegendData,\n): Promise<IInteractiveLegendData> {\n const updatedData = { ...data };\n\n const { activeLayerInfos } = legendViewModel;\n const extent = legendViewModel?.view?.extent;\n\n const dataCount: Record<string, Record<string, number>> = {};\n\n const countPromises: Record<string, any[]> = {};\n\n activeLayerInfos.forEach(async (activeLayerInfo) => {\n const legendElement = activeLayerInfo.legendElements[0]!;\n const fLayer = activeLayerInfo.layer as __esri.FeatureLayer;\n const fLayerView = data[activeLayerInfo?.layer?.id]?.fLayerView;\n const field = (fLayer.renderer as __esri.UniqueValueRenderer)?.field;\n const counts: Promise<Record<string, number | null> | null | undefined>[] = [];\n\n countPromises[activeLayerInfo.layer.id] = [];\n\n legendElement?.infos?.forEach((info, infoIndex) => {\n const isNestedUniqueSymbol = legendElement.infos?.every((info) => info.type === \"symbol-table\");\n if (isNestedUniqueSymbol) {\n const nestedInfoCounts: any[] = [];\n info.infos.forEach((nestedUniqueSymbolInfo: any, nestedUniqueSymbolInfoIndex: number) => {\n const infoCount = getInfoCount(\n extent,\n fLayerView,\n field!,\n info,\n infoIndex,\n legendElement,\n nestedUniqueSymbolInfo,\n nestedUniqueSymbolInfoIndex,\n );\n nestedInfoCounts.push(infoCount);\n });\n countPromises[activeLayerInfo.layer.id].push(nestedInfoCounts);\n } else {\n counts.push(getInfoCount(extent, fLayerView, field!, info, infoIndex, legendElement));\n countPromises[activeLayerInfo.layer.id] = counts;\n }\n });\n\n const handleALIChild = (aliChild: __esri.ActiveLayerInfo) => {\n const childCounts: Promise<Record<string, number | null> | null | undefined>[] = [];\n const legendElement = aliChild.legendElements[0]!;\n const fLayer = aliChild.layer as __esri.FeatureLayer;\n const fLayerView = data[aliChild?.layer?.id]?.fLayerView;\n const field = (fLayer.renderer as __esri.UniqueValueRenderer)?.field;\n legendElement?.infos?.forEach((info, infoIndex) =>\n childCounts.push(getInfoCount(extent, fLayerView, field!, info, infoIndex, legendElement)),\n );\n\n countPromises[aliChild.layer.id] = childCounts;\n };\n\n activeLayerInfo.children.forEach(async (aliChild) => {\n handleALIChild(aliChild);\n if (aliChild?.children?.length > 0) {\n aliChild.children.forEach((innerALIChild) => {\n handleALIChild(innerALIChild);\n if (innerALIChild?.children?.length > 0) {\n innerALIChild.children.forEach((innerInnerALIChild) => {\n handleALIChild(innerInnerALIChild);\n });\n }\n });\n }\n });\n });\n for (const countPromise in countPromises) {\n let countObj = dataCount[countPromise] as Record<string, any>;\n\n if (!countObj) {\n // eslint-disable-next-line no-multi-assign\n countObj = dataCount[countPromise] = {};\n }\n\n const countRes = await Promise.all(countPromises[countPromise]);\n\n if (countRes.every((countResItem) => Array.isArray(countResItem))) {\n const countArr2d = await Promise.all(\n countRes.map(async (countResItem) => {\n const promise = await Promise.all(countResItem);\n const count = promise.map((promiseItem) => promiseItem && Object.values(promiseItem)[0]);\n return count;\n }),\n );\n countObj[countPromise] = countArr2d;\n\n dataCount[countPromise] = {\n ...countObj[countPromise],\n };\n } else {\n const layerCountObj: Record<string, number | null> = {};\n\n countRes.forEach((countResItem) => {\n if (!countResItem) {\n return;\n }\n const id = Object.keys(countResItem)[0];\n layerCountObj[id] = countResItem[id];\n });\n\n if (countPromise) {\n countObj[countPromise] = layerCountObj;\n }\n\n dataCount[countPromise] = {\n ...countObj[countPromise],\n };\n }\n }\n\n activeLayerInfos.forEach((activeLayerInfo) => {\n const dataFromActiveLayerInfo = data[activeLayerInfo.layer.id];\n const layerId = activeLayerInfo.layer.id;\n\n const categories = dataFromActiveLayerInfo.categories;\n\n categories.forEach((category: ICategory, key: string) => {\n const categoriesArr = Array.from(dataFromActiveLayerInfo?.categories);\n const categoryIndex = categoriesArr.findIndex((categoryArrItem: any) => categoryArrItem[0] === key);\n\n if (category?.nestedInfos) {\n category?.nestedInfos.forEach((nestedInfo, nestedInfoIndex) => {\n const count = (dataCount?.[activeLayerInfo?.layer?.id] as Record<string, any>)?.[categoryIndex]?.[\n nestedInfoIndex\n ];\n nestedInfo.count = !isNaN(count) ? count : null;\n });\n } else {\n const count = dataCount?.[layerId]?.[key];\n category.count = !isNaN(count) ? count : null;\n }\n });\n\n const handleALIChild = (aliChild: __esri.ActiveLayerInfo) => {\n const childLayerId = aliChild.layer.id;\n const dataFromActiveLayerInfo = data[childLayerId];\n\n dataFromActiveLayerInfo?.categories?.forEach((category: ICategory, key: string) => {\n const count = dataCount?.[childLayerId]?.[key];\n category.count = count;\n });\n };\n\n activeLayerInfo.children.forEach((aliChild) => {\n handleALIChild(aliChild);\n if (aliChild?.children?.length > 0) {\n aliChild.children.forEach((innerALIChild) => {\n handleALIChild(innerALIChild);\n if (innerALIChild?.children?.length > 0) {\n innerALIChild.children.forEach((innerInnerALIChild) => {\n handleALIChild(innerInnerALIChild);\n });\n }\n });\n }\n });\n });\n\n return await Promise.resolve(updatedData);\n}\n\n// nested\nexport function getNestedInfoData(category: ICategory, infoIndex: number): ICategory {\n return category?.nestedInfos?.[infoIndex];\n}\n\nexport function checkNestedUniqueSymbol(categories: ICategories): boolean {\n const categoriesArr = Array.from(categories).map((category: any) => category[1]);\n return categoriesArr.every((category: ICategory) => !!category?.nestedInfos);\n}\n\nexport function checkNestedUniqueSymbolLegendElement(activeLayerInfo: __esri.ActiveLayerInfo): boolean {\n return !!activeLayerInfo?.legendElements?.[0]?.infos?.every?.((info) => info?.type === \"symbol-table\");\n}\n\nexport function getParentLegendElementInfoData(\n data: IIntLegendLayerData,\n parentLegendElementInfo: any,\n): ICategory | undefined {\n return data?.categories?.get(parentLegendElementInfo?.title);\n}\n\n// theme\nexport function getTheme(el: HTMLElement): string {\n const calciteMode = `calcite-mode-`;\n const light = `${calciteMode}light`;\n const dark = `${calciteMode}dark`;\n const isDarkTheme = el.classList.contains(dark);\n return isDarkTheme ? dark : light;\n}\n\n// store\nexport function updateStore(layerData: { intLegendLayerData: IIntLegendLayerData; layerId: string }): void {\n if (layerData.layerId && layerData.intLegendLayerData) {\n const layerId = layerData.layerId;\n const layerDataToSet = layerData.intLegendLayerData;\n const data = { ...interactiveLegendState.data, [layerId]: layerDataToSet } as IInteractiveLegendData;\n store.set(\"data\", data);\n }\n}\n\n// handleFilterChange - Configuration experience\nexport function handleFilterChange(filterMode: FilterMode, view: __esri.MapView | __esri.SceneView): void {\n const { type } = filterMode;\n if (type === \"filter\") {\n updateExistingFilterToFeatureFilter(view);\n } else if (type === \"effect\") {\n updateExistingFilterToFeatureEffect(filterMode, view);\n }\n}\n\nfunction updateExistingFilterToFeatureFilter(view: __esri.MapView | __esri.SceneView): void {\n view?.allLayerViews\n ?.filter((layerView: __esri.LayerView) => layerView?.layer?.type === \"feature\")\n ?.forEach((layerView: __esri.LayerView) => {\n const fLayerView = layerView as __esri.FeatureLayerView;\n const existingFilter = getExistingFilter(fLayerView);\n fLayerView.filter = existingFilter;\n fLayerView.set(\"featureEffect\", null);\n });\n}\n\nfunction updateExistingFilterToFeatureEffect(filterMode: FilterMode, view: __esri.MapView | __esri.SceneView): void {\n view?.allLayerViews\n ?.filter((layerView: __esri.LayerView) => layerView?.layer?.type === \"feature\")\n .forEach(async (layerView: __esri.LayerView) => {\n const fLayerView = layerView as __esri.FeatureLayerView;\n if (filterMode?.effect && fLayerView) {\n const { includedEffect, excludedEffect } = filterMode.effect;\n const mergedExcludedEffect = await getMergedEffect(excludedEffect, fLayerView, \"excludedEffect\");\n const mergedIncludedEffect = await getMergedEffect(includedEffect, fLayerView, \"includedEffect\");\n\n const existingFilter = getExistingFilter(fLayerView);\n\n fLayerView.featureEffect = await newLayersSupportFeatureEffect({\n filter: existingFilter,\n includedEffect: mergedIncludedEffect,\n excludedEffect: mergedExcludedEffect,\n });\n fLayerView.set(\"filter\", null);\n }\n });\n}\n\nfunction getExistingFilter(fLayerView: __esri.FeatureLayerView): __esri.FeatureFilter {\n return (fLayerView?.filter || fLayerView?.featureEffect?.filter)!;\n}\n\nfunction checkIfFieldExists(fLayer: __esri.FeatureLayer, field: string) {\n const fields = fLayer?.fields;\n const fieldNames = fields && fields.map((field) => field.name);\n return field ? fieldNames && fieldNames.includes(field) : true;\n}\n\nexport function getAllActiveLayerInfos(\n activeLayerInfos: __esri.Collection<__esri.ActiveLayerInfo>,\n): __esri.ActiveLayerInfo[] {\n const arr: __esri.ActiveLayerInfo[] = [];\n activeLayerInfos.forEach((acl) => flattenActiveLayerInfos(acl, arr));\n return arr;\n}\n\nfunction flattenActiveLayerInfos(activeLayerInfo: __esri.ActiveLayerInfo, arr: __esri.ActiveLayerInfo[]) {\n arr.push(activeLayerInfo);\n if (activeLayerInfo.children && activeLayerInfo.children.length > 0) {\n activeLayerInfo.children.forEach((child) => {\n flattenActiveLayerInfos(child, arr);\n });\n }\n}\n"],"mappings":"mHASA,MAAMA,EAAyBC,EAAoC,CACjEC,KAAM,GACNC,6BAA8B,GAC9BC,QAAS,Q,MAGEC,EAAyBL,EAAuBM,M,MAEhDC,EAAQP,ECFrB,SAASQ,EACPC,EACAC,EACAC,GAEA,OAAQC,IACN,MAAMC,EAAUD,GAAiBE,OAAOC,KACxC,GAAIF,IAAY,WAAaA,IAAY,QAAS,CAEhD,MAAMG,EAA4DC,EAChEP,EACAE,EACAD,GACAO,MAAMC,GAAQA,IAChB,GAAIH,EAAsB,CACxBP,EAAsBW,KAAKJ,E,CAG7B,MAAMK,EAAkBC,IACtB,MAAMN,EAAuBC,EAAoCP,EAAiBY,EAAUX,GAAeO,MACxGC,GAAQA,IAEX,GAAIH,EAAsB,CACxBP,EAAsBW,KAAKJ,E,GAK/BJ,EAAgBW,SAASC,SAASC,IAChCJ,EAAeI,GACf,GAAIA,GAAOF,UAAUG,OAAS,EAAG,CAC/BD,EAAMF,SAASC,SAASG,IACtBN,EAAeM,GACf,GAAIA,GAAeJ,UAAUG,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WjJ,OAAOC,OAAS,YACpES,SAAQK,MAAOkI,IACd,MAAMjH,EAAaiH,EACnB,GAAItE,GAAYY,QAAUvD,EAAY,CACpC,MAAMwD,eAAEA,EAAcC,eAAEA,GAAmBd,EAAWY,OACtD,MAAMG,QAA6BC,EAAgBF,EAAgBzD,EAAY,kBAC/E,MAAM4D,QAA6BD,EAAgBH,EAAgBxD,EAAY,kBAE/E,MAAMqN,EAAiBC,EAAkBtN,GAEzCA,EAAWqD,oBAAsBQ,EAA8B,CAC7DT,OAAQiK,EACR7J,eAAgBI,EAChBH,eAAgBC,IAElB1D,EAAWe,IAAI,SAAU,K,IAGjC,CAEA,SAASuM,EAAkBtN,GACzB,OAAQA,GAAYoD,QAAUpD,GAAYqD,eAAeD,MAC3D,CAEA,SAASwF,EAAmB7I,EAA6BK,GACvD,MAAM6D,EAASlE,GAAQkE,OACvB,MAAMsJ,EAAatJ,GAAUA,EAAOiB,KAAK9E,GAAUA,EAAMoN,OACzD,OAAOpN,EAAQmN,GAAcA,EAAWvK,SAAS5C,GAAS,IAC5D,C,SAEgBqN,EACdjM,GAEA,MAAMkM,EAAgC,GACtClM,EAAiB9C,SAASiP,GAAQC,EAAwBD,EAAKD,KAC/D,OAAOA,CACT,CAEA,SAASE,EAAwB9P,EAAyC4P,GACxEA,EAAIpP,KAAKR,GACT,GAAIA,EAAgBW,UAAYX,EAAgBW,SAASG,OAAS,EAAG,CACnEd,EAAgBW,SAASC,SAASC,IAChCiP,EAAwBjP,EAAO+O,EAAI,G,CAGzC,Q","ignoreList":[]}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{r as t,h as s,H as e,g as i}from"./p-6517b6d4.js";import{x as a,y as n,z as o,A as c,B as h,C as r}from"./p-1c4428aa.js";const d=".sc-instant-apps-measurement-tool-h .esri-measurement.sc-instant-apps-measurement-tool,.sc-instant-apps-measurement-tool-h .esri-coordinate-conversion.sc-instant-apps-measurement-tool{width:300px}.sc-instant-apps-measurement-tool-h .instant-apps-measurement-tool__hide.sc-instant-apps-measurement-tool{display:none}";const f=d;const l="instant-apps-measurement-tool";const p={base:l,hide:`${l}__hide`};const m=class{constructor(s){t(this,s);this.view=undefined;this.measureConfiguration=undefined;this.activeTool=undefined}async componentWillLoad(){await this._initModules()}componentDidLoad(){this._init()}render(){return s(e,{key:"cd6fdca6a379068e3f246c569a15f18d9251165e"},s("div",{key:"e782bf4e2f03f4e38e66eb3d8b33114b9c34e2b8",class:p.base},s("div",{key:"b81c160144001f25df344b98079acf5fd39a2bf7",ref:t=>{if(t instanceof HTMLElement){this._measureElement=t}}}),s("div",{key:"d1c8a45acc02365f9ebf6cbe490d9899d86fe70c",class:p.hide,ref:t=>{if(t instanceof HTMLElement){this._coordinateElement=t}}})))}disconnectedCallback(){this._measureWidget?.destroy();this._coordinateWidget?.destroy()}async _initModules(){const[t,s,e]=await Promise.all([a(),n(),o()]);this.Measurement=t;this.CoordinateConversion=s;this.Conversion=e}_init(){this._initMeasurementWidget();this._initCoordinateWidget()}_updateToolType(t){this._setActiveTool(t)}async _initMeasurementWidget(){if(this.view&&this._measureElement&&!this._measureWidget){this._measureWidget=await c({view:this.view,container:this._measureElement,...this.measureConfiguration});if(this.measureConfiguration.activeToolType){this._setActiveTool(this.measureConfiguration.activeToolType)}}}_setActiveTool(t){const s=this.view.type;this._measureWidget.clear();this._coordinateElement?.classList.add(p.hide);if(t==="distance"){this._measureWidget.activeTool=s==="2d"?"distance":"direct-line"}else if(t==="area"){this._measureWidget.activeTool="area"}else if(t==="point"){this._coordinateElement?.classList?.remove(p.hide)}}async _initCoordinateWidget(){const{activeToolType:t,coordinateFormat:s}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget){this._coordinateWidget=await h({view:this.view,storageEnabled:false,container:this._coordinateElement});if(s!=null){const t=this._coordinateWidget.formats.find((t=>t.name===s));this._coordinateWidget?.conversions?.splice(0,0,await r({format:t}))}}if(t!=null){this._setActiveTool(t)}}get el(){return i(this)}static get watchers(){return{activeTool:["_updateToolType"]}}};m.style=f;export{m as instant_apps_measurement_tool};
|
2
|
-
//# sourceMappingURL=p-b355f972.entry.js.map
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{r as a,c as t,h as n,H as s,F as e,g as r}from"./p-6517b6d4.js";import{i,g as l,a as o,s as c,E as p,b as g,l as u,c as h,u as d}from"./p-c5932580.js";import{d as m,L as _}from"./p-f146c213.js";import{g as f,f as b}from"./p-c77b3b1b.js";import{i as y,k as v}from"./p-1c4428aa.js";import"./p-eff6e0b8.js";import"./p-5978fda4.js";const w=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}";const x=w;const S="instant-apps-language-translator";const k={BASE:S,header:`${S}__header`,headerText:`${S}__header-text`,savingIndicator:`${S}__saving-indicator`,closeButton:`${S}__close-button`,headerTip:`${S}__header-tip`,topBar:`${S}__top-bar`,topBarSection:`${S}__top-bar-section`,collapseSearchContainer:`${S}__collapse-search-container`,userLangText:`${S}__user-lang-text`,lastItem:`${S}--last-item`,writingIcon:`${S}__writing-icon`,primaryContent:`${S}__primary-content`,lastAutoSave:`${S}__last-auto-save`};const C=class{constructor(n){a(this,n);this.translatorDataUpdated=t(this,"translatorDataUpdated",7);this.portalItem=undefined;this.appSettings=undefined;this.locales=undefined;this.open=false;this.userLocaleInputOnChangeCallback=undefined;this.translatedLocaleInputOnChangeCallback=undefined;this.saving=false;this.messages=undefined;this.isCollapse=true}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData();this.initSelectLanguage()}handleAppSettings(){this.initUIData();this.initSelectLanguage()}componentWillLoad(){i()}async componentDidLoad(){this.initialize()}async initialize(){const[a,t]=await Promise.all([y(),v()]);this.intl=a;this.request=t;await this.initMessages();this.initUIData();this.initPortalItemResourceT9nData();this.initSelectLanguage()}async initMessages(){try{const{el:a}=this;const t=await l(a);this.messages=t;return Promise.resolve()}catch{return void await Promise.reject(new Error("Failed to initialize messages"))}}initUIData(){const{appSettings:a,locales:t}=this;const n=o(a,t);c.set("uiData",n)}initSelectLanguage(){if(!this.intl){return}const{locales:a}=this;const t=a?.[0]?.locale??this.intl.getLocale();const n=c.get("currentLanguage");const s=this.locales.filter((a=>a.locale===n)).length===0;if(s){c.set("currentLanguage",t)}}async initPortalItemResourceT9nData(){try{const a=await f(this.portalItem);c.set("portalItemResource",a);const t=await b(a);c.set("lastSave",t.lastSave);c.set("portalItemResourceT9n",t??{})}catch{}}render(){return n(s,{key:"07a133ae824bb08ed75a34471beb7a1b60e40203"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return n("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){return n("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":true,closable:true},n("div",{class:k.headerTip},this.messages?.headerTip))}renderHeader(){return n("header",{class:k.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){const{messages:a}=this;return n("div",{class:k.headerText},n("span",null,a?.header),n("calcite-button",{id:"headerTip",appearance:"transparent"},n("calcite-icon",{icon:p.Popover,scale:"s"})))}renderSavingIndicator(){const a=this.messages?.saving;return n("div",{class:k.savingIndicator},n("calcite-loader",{label:a,inline:true}),n("span",null,a))}renderContent(){const a=g(this.locales);return n("div",null,this.renderTopBar(),a?.length>0?this.renderUIData():this.renderNotice())}renderTopBar(){return n("div",{class:k.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return n("div",{class:k.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){const a=this.messages?.languages;const t=m();const s=a?.[t];return n("div",{class:k.userLangText},s)}renderCollapseSearchContainer(){return n("div",{class:k.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){const{isCollapse:a,messages:t}=this;const s=a?t?.collapseAll:t?.expandAll;return n(e,null,n("slot",{name:"primary-custom-action"}),n("slot",{name:"secondary-custom-action"}),n("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":p.ExpandCollapse},s))}renderSearch(){return n("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:this.messages?.searchPlaceholder})}renderTrailingTopBarSection(){return n("div",{class:k.topBarSection},this.renderLanguageSelection(),n("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){return n("calcite-label",{layout:"inline"},this.messages?.translatedLanguage,n("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){const a=c.get("uiData");const t=a?.get("locales");const s=g(t);const e=Object.keys(_.partial);return s?.map((a=>{const t=e.includes(a);const s=t?"partial":"full";const r=_[s];const{language:i,translated:l}=r[a];const o=`${i} - ${l}`;return n("calcite-option",{key:`translated-lang-option-${a}`,value:a},o)}))}renderUIData(){if(!u?.uiData){return}const a=h();return n("div",null,a?.map(((t,n)=>this.renderUIDataItem(t,n,a.length))))}renderNotice(){const a=this.messages?.noLanguage;return n("calcite-notice",{open:true,icon:"exclamation-mark-triangle",kind:"warning"},n("div",{slot:"title"},a?.title),n("div",{slot:"message"},a?.message))}renderUIDataItem(a,t,s){const e=this.appSettings?.translatedLanguageLabels?.[u.currentLanguage];const r=t===s-1?k.lastItem:"";const i=this.appSettings.content.find((t=>t.id===a));return n("instant-apps-language-translator-item",{key:`${a}-${t}`,class:r,fieldName:a,translatedLanguageLabels:e,setting:i,userLocaleInputOnChangeCallback:async(a,t)=>{try{await this.userLocaleInputOnChangeCallback(a,t);const n=c.get("portalItemResource");d(n)}catch{}},translatedLocaleInputOnChangeCallback:async(a,t,n,s)=>{try{await this.translatedLocaleInputOnChangeCallback(a,t,n,s);d(s)}catch{}}})}renderPrimaryContent(){return n("div",{class:k.primaryContent,slot:"footer-end"},c.get("saving")?this.renderSavingIndicator():null,c.get("lastSave")?n("span",{key:"last-save",class:k.lastAutoSave},this.messages?.lastAutoSave," ",this.intl.formatDate(c.get("lastSave"))):null,n("calcite-button",{onClick:()=>this.open=false,class:k.closeButton},this.messages?.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;const a=new Map(u.uiData);const t=h();t.forEach((t=>a.get(t).expanded=this.isCollapse));c.set("uiData",a)}onSuggestionSelect(a){const t=a.detail;const n=new Map(u.uiData);const s=h();const e=a=>{const s=n.get(a);if(a===t){s.selected=true;return}s.selected=false};s.forEach(e);c.set("uiData",n)}close(){this.open=false}handleLanguageSelection(a){const t=a.target;const n=t.value;c.set("currentLanguage",n)}async getTranslationData(){return c.get("portalItemResourceT9n")}async setTranslationData(a){void c.set("portalItemResourceT9n",a)}async getPortalItemResource(){return c.get("portalItemResource")}async batchWriteToPortalItemResource(a){c.set("saving",true);try{const t=await this.getPortalItemResource();if(!t){c.set("saving",false);return}const n=Date.now();c.set("lastSave",n);const s=JSON.stringify({...a,lastSave:n});const e=[s];const r={type:"application/json"};const i=new Blob(e,r);await t.update(i);setTimeout((()=>c.set("saving",false)),1500);this.translatorDataUpdated.emit();return Promise.resolve()}catch(a){console.error("Error writing to portal item resource: ",a);c.set("saving",false);return await Promise.reject(new Error("Failed to batch write to portal item resource"))}}get el(){return r(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};C.style=x;export{C as instant_apps_language_translator};
|
2
|
-
//# sourceMappingURL=p-b9eed273.entry.js.map
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{b as t}from"./p-f146c213.js";import{c as n}from"./p-eff6e0b8.js";var e;(function(t){t["User"]="user";t["Translation"]="translation"})(e||(e={}));var a;(function(t){t["String"]="string";t["TextEditor"]="textEditor"})(a||(a={}));var o;(function(t){t["ExpandCollapse"]="list-merge";t["SettingIndicator"]="list-button";t["Popover"]="information";t["Expanded"]="chevron-down";t["Collapsed"]="chevron-right";t["Copy"]="copy-to-clipboard";t["DefaultIcon"]="language";t["Title"]="title";t["Subtitle"]="subheading";t["Text"]="text";t["Description"]="description";t["Button"]="button";t["String"]="string"})(o||(o={}));var s;(function(t){t["Light"]="calcite-mode-light";t["Dark"]="calcite-mode-dark"})(s||(s={}));const c=`\n .instant-apps-language-translator-item__nested-input .ck.ck-reset.ck-editor.ck-rounded-corners {\n margin-left: 30px !important;\n }\n`;const r=n({uiData:null,currentLanguage:null,lastSave:null,saving:false,currentLocaleSettingItem:null,portalItemResource:null,portalItemResourceT9n:null});const l=r.state;const u=r;function i(t,n){if(!t){return}const e=u.get("uiData");const a=new Map;a.set("locales",n);a.set("translatedLanguageLabels",{...t.translatedLanguageLabels});t.content.forEach((t=>{const{type:n,label:o,value:s,uiLocation:c}=t;const r=e?.get(t.id);a.set(t.id,{userLocaleData:{type:n??null,label:o??null,value:s??null},expanded:true,selected:r?.selected??false,uiLocation:c,tip:t?.tip??null})}));const o=t.content.map((t=>t.id));const s=o.every((t=>{const n=a.get(t);return!n.selected}));const c=a.get(o[0]);if(s&&c){const t=e?.get(o[0]);c.selected=t?.selected??true}return a}async function f(n){const e=await t(n);return e[0]}function p(){const t=[];l.uiData?.forEach(((n,e)=>{if(e!=="locales"&&e!=="translatedLanguageLabels"){t.push(e)}}));return t}function d(t,n){const e=u.get("portalItemResourceT9n")||{};let a;if(!e[t]){e[t]={}}a={...e,[t]:{...typeof e[t]==="object"?e[t]:{},...n}};return a}function g(t){return t?.map((t=>t.locale))??[]}function m(){return document.body.classList.contains(s.Dark)}function b(){const t=document.createElement("style");t.innerHTML=c;document.head.appendChild(t)}async function v(t){const n=u.get("portalItemResourceT9n");const e=Date.now();u.set("lastSave",e);const a=JSON.stringify({...n,lastSave:e});const o=[a];const s={type:"application/json"};const c=new Blob(o,s);t.update(c)}export{o as E,i as a,g as b,p as c,a as d,m as e,s as f,f as g,e as h,b as i,d as j,l,u as s,v as u};
|
2
|
-
//# sourceMappingURL=p-c5932580.js.map
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{o as t}from"./p-1c4428aa.js";async function n(t){try{const n=await t.fetch("json",{cacheBust:true});return Promise.resolve(n)}catch(t){console.error("Unable to get resource t9n data.")}}async function o(n){if(!n){return null}const o=await n.fetchResources({num:100});const a=`t9n/${n?.id}.json`;const s=await t({path:a,portalItem:n});const c=o.resources.filter((t=>t.resource.path===a));if(c.length===0){const t="application/json";const o=new Blob([JSON.stringify({})],{type:t});try{await n.addResource(s,o);const t=await n.fetchResources();const a=`t9n/${n?.id}.json`;const c=t.resources.filter((t=>t.resource.path===a));const r=c[0].resource;return Promise.resolve(r)}catch(t){console.error("ERROR: ",t);return await Promise.reject(new Error("Failed to add resource"))}}else{const t=c[0].resource;return await Promise.resolve(t)}}export{n as f,o as g};
|
2
|
-
//# sourceMappingURL=p-c77b3b1b.js.map
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{r as t,c as s,h as e,g as i}from"./p-6517b6d4.js";import{g as n}from"./p-f146c213.js";import"./p-5978fda4.js";import"./p-1c4428aa.js";function a(t){window?.localStorage.setItem(t,"false")}function o(t){const s=window?.localStorage?.getItem(t);return!!s}function h(t){window?.localStorage?.removeItem(t)}const c=":host{--instant-apps-splash-content-max-height:100%;display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:flex;align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom:0}:host .instant-apps-splash__content{max-height:var(--instant-apps-splash-content-max-height)}";const l=c;const r={back:"instant-apps-splash__back-content",content:"instant-apps-splash__content"};const d=class{constructor(e){t(this,e);this.splashClose=s(this,"splashClose",7);this._sanitizer=null;this.localStorageKey=undefined;this.titleText="";this.content="";this.primaryButtonText="";this.open=true;this.closeButtonDisabled=false;this.outsideCloseDisabled=false;this.secondaryButton=false;this.secondaryButtonText=undefined;this.secondaryButtonIcon=undefined;this.secondaryButtonCallback=undefined;this.messages=undefined}sanitizeContent(){}componentWillLoad(){let t;const{localStorageKey:s}=this;if(s){t=this.open&&!o(this.localStorageKey)}else{t=this.open}this.el.open=t;if(this.content&&this._sanitizer){this.sanitizeContent()}}componentDidLoad(){n(this)}render(){return e("calcite-dialog",{key:"d6730c0e412566f230f8e0abde8076aaab8eb4a1",ref:t=>{if(t){t.focusTrapOptions={allowOutsideClick:true};t.open=this.open}},modal:true,heading:this.titleText,onCalciteDialogClose:this.close.bind(this),closeDisabled:this.closeButtonDisabled,outsideCloseDisabled:this.outsideCloseDisabled},e("div",{key:"d392b003f9a369b83dd37526f97fa6ba99f2bba4",innerHTML:this.content}),e("slot",{key:"bbd305b1d969197e8e0d4acf0d830f756e41f55a",name:"custom-action"}),this.localStorageKey?this.renderDontShowThisAgainCheckbox():null,this.secondaryButton?this.renderSecondaryButton():null,this.renderPrimaryButton())}renderDontShowThisAgainCheckbox(){const{localStorageKey:t,messages:s}=this;const i=o(t)?true:null;return e("div",{class:r.back,slot:"footer-start"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{onCalciteCheckboxChange:this.handleDontShowThisAgain.bind(this),checked:i??undefined}),s?.dontShowThisAgain))}renderPrimaryButton(){const{primaryButtonText:t}=this;return e("calcite-button",{onClick:this.close.bind(this),slot:"footer-end"},t?t:"Enter")}renderSecondaryButton(){return e("calcite-button",{onClick:this.secondaryButtonCallback?.bind(this),slot:"footer-end","icon-start":this.secondaryButtonIcon,appearance:"outline"},this.secondaryButtonText)}close(){this.open=false;this.splashClose.emit()}handleDontShowThisAgain(t){const{localStorageKey:s}=this;if(!s){return}const e=t.target;const{checked:i}=e;if(i){a(s)}else{h(s)}}get el(){return i(this)}static get watchers(){return{content:["sanitizeContent"]}}};d.style=l;export{d as instant_apps_splash};
|
2
|
-
//# sourceMappingURL=p-cd7eea90.entry.js.map
|