@esri/solutions-components 0.11.35 → 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 +4 -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/components/layer-table/layer-table.js +1 -0
- 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/layer-table2.js +1 -0
- 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 +4 -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 +8 -8
- 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-0993fcd7.entry.js +0 -6
- 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-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
@@ -7,7 +7,7 @@ import { g as getElement, r as registerInstance, h, H as Host } from './index-21
|
|
7
7
|
import { g as getSolutionVariables, a as getOrganizationVariables, b as getInventoryItems } from './templates-60f33938.js';
|
8
8
|
import { s as state } from './solution-store-f036dcc0.js';
|
9
9
|
import './solution-resource-30a29505.js';
|
10
|
-
import { g as getLocaleComponentStrings } from './locale-
|
10
|
+
import { g as getLocaleComponentStrings } from './locale-fa8258bf.js';
|
11
11
|
import { r as request, N as NODEJS_DEFAULT_REFERER_HEADER, c as cleanUrl, e as encodeQueryString, A as ArcGISAuthError } from './update-ad0b88fa.js';
|
12
12
|
import './interfaces-659e3836.js';
|
13
13
|
import './restHelpersGet-a7fda344.js';
|
@@ -5,7 +5,7 @@
|
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-21b6e87e.js';
|
7
7
|
import { s as state } from './solution-store-f036dcc0.js';
|
8
|
-
import { g as getLocaleComponentStrings } from './locale-
|
8
|
+
import { g as getLocaleComponentStrings } from './locale-fa8258bf.js';
|
9
9
|
import { n as nodeListToArray } from './common-c8dc0e85.js';
|
10
10
|
import { C as CSpatialRefCustomizingPrefix, g as CSpatialRefCustomizingSuffix } from './interfaces-659e3836.js';
|
11
11
|
import './index-9932ffd2.js';
|
@@ -4,7 +4,7 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-21b6e87e.js';
|
7
|
-
import { g as getLocaleComponentStrings } from './locale-
|
7
|
+
import { g as getLocaleComponentStrings } from './locale-fa8258bf.js';
|
8
8
|
import './_commonjsHelpers-089957fe.js';
|
9
9
|
|
10
10
|
const solutionItemAccordionCss = ":host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color:var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}";
|
@@ -4,7 +4,7 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { g as getElement, r as registerInstance, c as createEvent, h, H as Host } from './index-21b6e87e.js';
|
7
|
-
import { g as getLocaleComponentStrings } from './locale-
|
7
|
+
import { g as getLocaleComponentStrings } from './locale-fa8258bf.js';
|
8
8
|
import { n as nodeListToArray } from './common-c8dc0e85.js';
|
9
9
|
import './_commonjsHelpers-089957fe.js';
|
10
10
|
import './solution-resource-30a29505.js';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as e,g as i,h as s,H as a}from"./p-934e8935.js";import{g as o}from"./p-57be3b9d.js";import"./p-d4056c1c.js";const c=class{constructor(i){t(this,i),this.editsComplete=e(this,"editsComplete",7),this.deleteDialogClose=e(this,"deleteDialogClose",7),this.ids=[],this.layer=void 0,this.locale=void 0,this.open=!1,this._isDeleting=!1,this._translations=void 0}get el(){return i(this)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}editsComplete;deleteDialogClose;async componentWillLoad(){await this._getTranslations()}render(){const t=1===this.ids.length?this._translations?.confirmSingle:this._translations?.confirmMultiple;return s(a,{key:"c75cf86cce1b728837422e4102fd9cdffc33c78a"},s("calcite-dialog",{key:"026e1b0a55ebd740f2352da820d5b15afa050f78",heading:this._translations?.deleteFeature,kind:"danger",modal:!0,onCalciteDialogClose:()=>this._close(),open:this.open,widthScale:"s"},s("div",{key:"3f8e4aef2995387b758f1af8e1443253207998bc"},t),s("calcite-button",{key:"3005fafc853db910adc787290a328dcc161401bb",appearance:"outline",kind:"danger",onClick:()=>this._close(),slot:"footer-end",width:"full"},this._translations?.cancel),s("calcite-button",{key:"42e9da99a45f416fa9b9b5cfefdb10b045593ecb",kind:"danger",loading:this._isDeleting,onClick:()=>{this._deleteFeatures()},slot:"footer-end",width:"full"},this._translations?.delete)))}async _deleteFeatures(){this._isDeleting=!0;const t=this.ids.map((t=>({objectId:t})));await this.layer.applyEdits({deleteFeatures:t}),this._isDeleting=!1,this._close(),this.editsComplete.emit("delete")}_close(){this.open=!1,this.deleteDialogClose.emit()}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};c.style=":host{display:block}.delete-modal{position:fixed}";export{c as delete_dialog}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,g as e,h as s,F as a,H as h}from"./p-934e8935.js";import{l as o,g as n}from"./p-57be3b9d.js";import{a as d,g as c}from"./p-5693ce7a.js";import{P as r}from"./p-83c42cc2.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-974e8883.js";import"./p-4fe489cf.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const l=class{constructor(e){t(this,e),this.success=i(this,"success",7),this.fail=i(this,"fail",7),this.drawComplete=i(this,"drawComplete",7),this.editingAttachment=i(this,"editingAttachment",7),this.progressStatus=i(this,"progressStatus",7),this.modeChanged=i(this,"modeChanged",7),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel=void 0,this.formElements=void 0,this.isMobile=void 0,this.locale=void 0,this.mapView=void 0,this.searchConfiguration=void 0,this.selectedLayerId=void 0,this.showGuidingMsg=!0,this.submitNewReportsMessage=void 0,this._currentPage="templatePicker",this._editorLoading=!1,this._translations=void 0}get el(){return e(this)}Editor;ExpressionInfo;FeatureLayer;FieldElement;FormTemplate;MapView;Search;_addingAttachment;_calciteNotice;_container;_editor;_isSubmitBtnClicked=!1;_mapViewContainer;reactiveUtils;_search;_searchDiv;_selectedLayer;_updatedMapView;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(t){if(t){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){const t={layer:this._selectedLayer,template:this._selectedLayer.templates[0]};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(t),await this.hideEditorsElements()}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(t){this._editor&&this._setFloorLevel(t)}success;fail;drawComplete;editingAttachment;progressStatus;modeChanged;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async componentDidLoad(){await this.init()}componentDidRender(){this.isMobile&&(this._mapViewContainer.style.top=`${this._calciteNotice.offsetHeight+this._searchDiv.offsetHeight+80}px`)}disconnectedCallback(){this._editor&&(this._editor.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel?.destroy(),this._editor.destroy(),this.enableSnapping&&(this.mapView.ui.view.grid=null))}render(){const t="drawing"===this._currentPage?"":"display-none",i=this._editorLoading?"":"display-none",e=this._editorLoading?"display-none":"",h=this.isMobile?"show-map":"display-none";let o=this._translations.chooseCategoryMsg;return"drawing"===this._currentPage?o=this._translations.provideLocationMsg:"featureForm"===this._currentPage&&(o=this._translations.provideDetailsMsg),s(a,{key:"3a448bdb1ffdef55993b20f99b3f1bd1643b6e2f"},this.showGuidingMsg&&"templatePicker"!==this._currentPage&&s("calcite-notice",{key:"5a9f000003d75c93ff613f1a4ddba14711653173",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0,ref:t=>this._calciteNotice=t},s("div",{key:"751a2c932838a798b102e14340cba2103abdf971",slot:"message"},o)),s("calcite-loader",{key:"e6ae257cd070bc9d7ea55c725ecf95d096effbc0",class:i,label:"",scale:"s"}),s("div",{key:"c25373774f6b87f7a6db4febd62a25b870d9be79",class:e,id:"feature-form"}),this.enableSearch&&s("div",{key:"3deb4ffc1f8a633d92e3c27f64247a6f21c58e56",class:`search-widget ${t} ${e}`,id:"search-widget-ref",ref:t=>this._searchDiv=t}),s("div",{key:"c72a6826cddbac45675a788e941a6cabd320740a",class:`${h}`,ref:t=>{this._mapViewContainer=t}}))}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile?this.createMobileMapView():this._loadWidgets()))}async initModules(){const[t,i,e,s,a,h,n]=await o(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView"]);this.Editor=t,this.reactiveUtils=i,this.Search=e,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=h,this.MapView=n}async createMobileMapView(){this._mapViewContainer.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer,zoom:this.mapView.zoom}).when((t=>{this._updatedMapView=t,this._loadWidgets()}),(t=>{console.log(t)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();const t=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar");const i=await d(this._updatedMapView);this._selectedLayer=await c(this.mapView,this.selectedLayerId),this._selectedLayer?.isTable||i.forEach((async i=>{t.push({layer:i,enabled:"feature"===i?.type&&i?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this._editor=new this.Editor({view:this._updatedMapView,layerInfos:t,visibleElements:{settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping,createFeaturesSection:!0,editFeaturesSection:!1,flow:!0,sketch:!1},container:this._container}),this._mapViewContainer?this.el.insertBefore(this._container,this._mapViewContainer):this.el.appendChild(this._container);const e=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(e);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&"create-features"!==this._editor.viewModel?.activeWorkflow?.type&&(this.progressStatus.emit(50),this._editorLoading=!0)}));this._editor.viewModel.addHandles(s);const a=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&(this._mapViewContainer?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this)),setTimeout((()=>{this._setFloorLevel(this.floorLevel)}),50),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit())}));this._editor.viewModel.addHandles(a);const h=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"creating-features"===t&&"disabled"===this._editor.viewModel.featureFormViewModel.state&&(this._mapViewContainer?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))}));this._editor.viewModel.addHandles(h)}async startCreate(){return await this.hideEditorsElements(),new Promise(((t,i)=>{if(this._editor.viewModel.featureTemplatesViewModel.items?.length){const e=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.on("select",(()=>{this.progressStatus.emit(75),setTimeout((()=>{this.hideEditorsElements().then((()=>{t({})}),(t=>i(t)))}),700)})),1===e.length&&this._editor.viewModel.featureTemplatesViewModel.select(e[0]);const s=e.length>1;this.hideEditorsElements().then((()=>{s&&t({})}),(t=>s&&i(t)))}}))}async createSearchWidget(){let t={view:this._updatedMapView};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(t),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let i=null;this._search.on("search-complete",(t=>{this._updatedMapView.goTo(t.results[0].results[0].extent),"point"===this._selectedLayer.geometryType&&(i=t.results[0].results[0]?.feature.geometry)}));const e=this.reactiveUtils.watch((()=>this._search.viewModel.state),(t=>{"ready"===t&&setTimeout((()=>{this._editor.viewModel.sketchViewModel.createGraphic&&i&&(this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",i),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements())}),100)}));this._search.viewModel.addHandles(e)}_getSearchConfig(t,i){const e=t.sources;return e?.length>0?(t.includeDefaultSources=!1,e.forEach((t=>{if(t.hasOwnProperty("layer")){const e=t,s=e.layer?.id,a=s?i.map.findLayerById(s):null,h=e?.layer?.url;a?e.layer=a:h&&(e.layer=new this.FeatureLayer(h))}})),e?.forEach((t=>{if(t.hasOwnProperty("locator")){const i=t;"ArcGIS World Geocoding Service"===i?.name&&(i.outFields=i.outFields||["Addr_type","Match_addr","StAddr","City"],i.singleLineFieldName="SingleLine"),i.url=i.url,delete i.url}}))):t={...t,includeDefaultSources:!0},t}async _setFloorLevel(t){if(!t)return;const i=this._selectedLayer;if(i?.floorInfo?.floorField){const e=i.fields.find((t=>t.name===i.floorInfo.floorField));if(e&&!i?.formTemplate)this._editor.viewModel.featureFormViewModel.setValue(e.name,t),e.editable=!1;else if(i.formTemplate&&this.formElements){const e=new this.ExpressionInfo({expression:`"${t}"`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),s=new this.FieldElement({label:i.floorInfo.floorField,editableExpression:"false",fieldName:i.floorInfo.floorField,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:e.name});this._updatedMapView.map.editableLayers.forEach((t=>{const i=this.formElements.orgExpressionInfos,a=[...this.formElements.orgElements];a.push(s);const h=new this.FormTemplate({title:t.formTemplate.title,description:t.formTemplate.description,elements:a,expressionInfos:[e].concat(i)});t.formTemplate=h}))}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],isMobile:["isMobileHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};l.style=":host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none !important}.esri-editor__panel-content{padding-block:0px !important}.esri-editor .esri-item-list__group__header{display:none !important}.esri-editor__panel-content__section .esri-widget__heading{display:none !important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px !important;padding-inline:10px !important}.search-widget{width:92% !important;margin:5px 14px 20px 14px}.display-none{display:none !important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px !important;position:absolute !important;bottom:0;height:auto !important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.esri-editor__panel-content{padding-block:10px !important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0 !important;min-height:0 !important}}";const p=class{constructor(e){t(this,e),this.editsComplete=i(this,"editsComplete",7),this.deleteDialog=void 0,this.buttonType="button",this.disabled=!1,this.icon=void 0,this.ids=[],this.layer=void 0,this.locale=void 0,this._confirmDelete=!1,this._deleteEndabled=!1,this._supportsDelete=void 0,this._translations=void 0}get el(){return e(this)}async idsWatchHandler(){this._setDeleteEnabled()}async layerWatchHandler(){this._setDeleteEnabled()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}editsComplete;async componentWillLoad(){await this._getTranslations()}render(){return s(h,{key:"a8b845e5a7283318d4e313914e8bf992c5405d82"},"button"===this.buttonType?s("calcite-button",{appearance:"outline",disabled:!this._deleteEndabled,id:"solutions-delete",kind:"danger",onClick:()=>this._delete(),width:"full"},this._translations.deleteCount.replace("{{n}}",this.ids.length.toString())):s("calcite-action",{appearance:"solid",disabled:!this._deleteEndabled,id:this.icon,onClick:()=>this._delete(),scale:"s",text:this._translations.delete},s("calcite-button",{appearance:"transparent",iconStart:this.icon,kind:"danger"},this._translations.delete)),this._deleteMessage(),s("calcite-tooltip",{key:"63e746d5066e96a13066cae6d3ad0b23c81437dc",placement:"bottom","reference-element":"button"===this.buttonType?"solutions-delete":this.icon},s("span",{key:"9f6708e8ff0255d6634c69cb66d9544dc5b053ba"},this._translations.delete)))}async componentDidLoad(){this._setDeleteEnabled()}_setDeleteEnabled(){this._supportsDelete=this.layer?.editingEnabled&&this.layer?.capabilities?.operations?.supportsDelete,this._deleteEndabled=!this.disabled||this._supportsDelete&&this.ids.length>0}_delete(){this._confirmDelete=!0}_deleteMessage(){return this.deleteDialog?this.deleteDialog:s("delete-dialog",{id:"solution-delete-dialog",ids:this.ids,layer:this.layer,locale:this.locale,onDeleteDialogClose:()=>this._confirmDelete=!1,open:this._confirmDelete})}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{ids:["idsWatchHandler"],layer:["layerWatchHandler"],locale:["localeWatchHandler"]}}};p.style=":host{display:block}.delete-modal{position:fixed}";const f=class{constructor(e){t(this,e),this.closeEdit=i(this,"closeEdit",7),this.editorInitialized=i(this,"editorInitialized",7),this.editsComplete=i(this,"editsComplete",7),this.refreshGraphics=i(this,"refreshGraphics",7),this.enableEditGeometry=!1,this.enableSnapping=!1,this.graphicIndex=0,this.graphics=void 0,this.locale=void 0,this.mapView=void 0,this.open=!1,this._editorLoading=!1,this._translations=void 0}get el(){return e(this)}_activeWorkflowHandle;_addRelatedRecordHandle;_attachmentHandle;_editHandle;_layerEditHandle;Editor;_editor;_layer;_editContainer;_editControlElements;_editingDisabled;_shouldClose=!1;reactiveUtils;async graphicsWatchHandler(){0===this.graphics.length&&this.open&&await this._closeEdit(!0)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async openWatchHandler(t){t&&this.graphics?.length>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit(!0)}closeEdit;editorInitialized;editsComplete;refreshGraphics;async featureSelectionChange(){this.open&&await this._closeEdit(!1)}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){this.graphics?.length>0&&this.graphics[0]?.layer&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove(),this._layerEditHandle=("subtype-sublayer"===this._layer.type?this._layer.parent:this._layer).on("edits",(()=>{setTimeout((()=>{this.editsComplete.emit()}),50)})))}render(){const t=this._editorLoading?"display-none":"position-absolute",i=this._editorLoading?"":"display-none";return s(h,{key:"5d0380d4dbd7412c90e6e3b9aa28b580bf5a6ac4"},s("div",{key:"29825ee6c26acce86fcb6678d3e3db957358e314",class:"position-absolute"},this.graphics?.length>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled?void 0:s("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},s("div",{slot:"message"},this._translations.enableEditing)),s("div",{key:"35fc876d6857fb72c8808cff311e894dd9890afe",class:"position-absolute"},s("div",{key:"c95f3453d5fc4dac7ba5f1e7db69490405861059",class:t,id:"feature-form",ref:t=>this._editContainer=t}),s("calcite-loader",{key:"211fd81ec4b13a731a895c882fafcb438fbf235c",class:i,label:"",scale:"s"}))))}async _initModules(){const[t,i]=await o(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div"),i=await d(this.mapView),e=this.enableSnapping&&this.enableEditGeometry,s=i.map((t=>({layer:t,geometryUpdatesEnabled:this.enableEditGeometry})));this._editor=new this.Editor({view:this.mapView,layerInfos:s,visibleElements:{flow:!0,settingsMenu:e,sketch:!1,snappingControls:e},container:t}),this._attachmentHandle&&this._activeWorkflowHandle&&(this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils.when((()=>"adding-attachment"===this._editor.viewModel.state||"editing-attachment"===this._editor.viewModel.state||"creating-features"===this._editor.viewModel.state),(()=>{this._shouldClose=!1})),this._activeWorkflowHandle=this.reactiveUtils.watch((()=>this._editor.viewModel.activeWorkflow?.activeWorkflow),(t=>{"update-table-record"!==t?.type&&"create-features"!==t?.type||(this._shouldClose=!1),(t?.type||t?.hasPendingEdits||this._editor.activeWorkflow)&&this._editor?.activeWorkflow?.started||(this.open=!1)})),this.enableSnapping||t.classList.add("hide-editor-toolbar"),this._editContainer.appendChild(t),this.editorInitialized.emit(this._editor)}}async _closeEdit(t){this._shouldClose=!0,t&&this._editor?.activeWorkflow?(this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits&&(await this._editor.activeWorkflow.reset(),await this._editor.cancelWorkflow()),this._editor.destroy()):this.graphicIndex>-1&&this.graphics?.length>0&&this.refreshGraphics.emit(this.graphics),this.enableSnapping&&(this.mapView.ui.view.grid=null),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],locale:["localeWatchHandler"],open:["openWatchHandler"]}}};f.style=":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-color-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1) !important}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none !important}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-editor__panel-content{padding-block:10px !important}";const b=class{constructor(e){t(this,e),this.popupClosed=i(this,"popupClosed",7),this.clearSelection=i(this,"clearSelection",7),this.selectionChanged=i(this,"selectionChanged",7),this.enableEditGeometry=!1,this.enableSnapping=!1,this.graphics=void 0,this.isLoading=!1,this.isMobile=void 0,this.mapView=void 0,this.allowEditing=!0,this.highlightEnabled=!0,this.locale=void 0,this.paginationEnabled=!0,this.position="absolute",this.showCloseBtn=!1,this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._mobileTitle="",this._showListView=!1,this._translations=void 0,this._navigatedToRelatedFeature=void 0}get el(){return e(this)}Features;_editEnabled;_features;_layer;_popupUtils;_featuresNodeId="features-node"+(new Date).getMilliseconds().toString();reactiveUtils;_relatedFeature;async graphicsWatchHandler(){this._navigatedToRelatedFeature&&this._features&&(this._features.clear(),this._features.close(),this._count="",this._navigatedToRelatedFeature=!1),await this.setGraphics()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async localeWatchHandler(){if(this.el.lang=this.locale,await this._getTranslations(),this._features){const t=[...this.graphics];this.graphics=[],this.graphics=t}}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async refresh(){await this.setGraphics()}async back(){this._features.previous(),this._count=this._getCount()}async next(){this._features.next(),this._count=this._getCount()}async toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async updateCurrentGraphic(t){this._features.selectedFeatureWidget.graphic=t}popupClosed;clearSelection;selectionChanged;async closeEdit(){this._editRecordOpen=!1}async layerSelectionChange(){this._showListView=!1,this._features?.viewModel&&(this._features.viewModel.featureMenuOpen=!1,this._features.close())}async refreshGraphics(t){this._navigatedToRelatedFeature||(this.graphics=[...t.detail])}async componentWillLoad(){await this._initModules(),await this._getTranslations(),this._popupUtils=new r}async componentDidLoad(){this.graphics?.length>0&&await this.setGraphics()}render(){const t=this.isLoading?"":"display-none",i=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",e=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",a=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",o=this._features?.features?.length<2||this._navigatedToRelatedFeature,n=this.isMobile?"display-none":"",d=this._features?.selectedFeature?.getObjectId(),c=parseInt(d?.toString(),10)>-1?[d]:[],r=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete,l=this._relatedFeature?[this._relatedFeature]:this.graphics,p=this._navigatedToRelatedFeature?0:this._features?.selectedFeatureIndex;return s(h,{key:"b62820abf5a5ce69261a7170dbc102ee8f656907"},s("calcite-shell",{key:"feb2ebd5716bec29c64c7bb020bb87df72bb0cc7",class:"z-index-1",style:{position:this.position}},this._getHeader(),s("calcite-loader",{key:"74532f9e237511ad017afcc217381f9f19354934",class:t,label:this._translations.fetchingData}),s("div",{key:"d030b3f6a15babb9aba9f74f565470d2cf39f3dc",class:"esri-widget feature-node "+i,id:this._featuresNodeId}),s("div",{key:"46fa92415601074c32cd3d46f78af21a5d963c4f",class:`${a} width-100`,slot:"footer"},this.allowEditing&&s("div",{key:"725fb6e0f570a1f127b2614b83753073f52c5391",class:"display-flex top-border padding-1-2"},s("calcite-button",{key:"74ad86069f3c010e3014f750ad1024c11f932b5b",appearance:"solid",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),this.isMobile&&r?s("delete-button",{class:"padding-inline-start-1 width-100",id:"solutions-delete",ids:c,layer:this._layer,locale:this.locale,onEditsComplete:()=>this._closePopup()}):void 0,s("calcite-tooltip",{key:"2947105e00b8c79d2a13a5459739882a19d700e7",placement:"bottom","reference-element":"solutions-edit"},s("span",{key:"da1ebe7b11d1af757c84a47fbcda1962a0045322"},this._translations.edit)),this.isMobile&&r?s("calcite-tooltip",{placement:"bottom","reference-element":"solutions-delete"},s("span",null,this._translations.delete)):void 0),this.paginationEnabled&&!o&&s("div",{key:"8dddcb1333affe41e0694498bf79258fd65225ed",class:`display-flex padding-1-2 button-container top-border ${n}`},s("div",{key:"d69db86cb3cc183187f773b80f5bd3114f669819"},s("calcite-button",{key:"55f4c0fd4a931ef4ef22f4572b0f39436ee8cbe9",appearance:"transparent",disabled:o,iconFlipRtl:"both",iconStart:"chevron-left",id:"solutions-back",onClick:()=>this._back(),width:"full"}),s("calcite-tooltip",{key:"c1b2fddd73dbfb9a8ad00dfa3743948d36d1e8a7",placement:"top","reference-element":"solutions-back"},s("span",{key:"fc2cceaea3fe11a1acefbb95f1189a896eb91581"},this._translations.back))),s("calcite-action",{key:"5219050c21822df8c51e8da572b1eaaf896646cc",class:"pagination-action",iconFlipRtl:!0,onClick:()=>this._toggleListView(),scale:"s",text:"",textEnabled:!0},s("span",{key:"e51a287db5873de4aad8739356b9994e95d0c6d6",class:"pagination-count"},this._count)),s("div",{key:"a522f805fe82c39888700b6c4d1ea4104e02afe1"},s("calcite-button",{key:"adfe85cb3c21cd23e61cca438bd65eb93d5dcee5",appearance:"transparent",disabled:o,iconFlipRtl:"both",iconStart:"chevron-right",id:"solutions-next",onClick:()=>this._next(),width:"full"}),s("calcite-tooltip",{key:"16bae6e689345fe41c538b1fda660661e17ff72b",placement:"top","reference-element":"solutions-next"},s("span",{key:"b637ef729b811f4471edec8409956822e3df345c"},this._translations.next))))),s("edit-card",{key:"6651ae37cd238f6ff8500d023638d0ce9c94df36",class:e,enableEditGeometry:this.enableEditGeometry,enableSnapping:this.enableSnapping,graphicIndex:p,graphics:l,locale:this.locale,mapView:this.mapView,open:this._editRecordOpen}),s("calcite-alert",{key:"578199425f16e20af223f1b3445dbc698d5de075",icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},s("div",{key:"e3f5f985b4e9559c7e74e851e1b6ce03f65b2158",slot:"title"},this._translations.editDisabled),s("div",{key:"2f5689262311db25dc85bc1db6486102cfd875e2",slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,i]=await o(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=i}async setGraphics(){this._features||await this._initFeaturesWidget(),this.graphics.length>0?(this._layer=this.graphics[0]?.layer,this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._mobileTitle=await this._popupUtils.getPopupTitle(this.graphics[0],this.mapView.map),this._features.open({features:this.graphics})):(this._features?.clear(),this._features?.close()),this._count=this._getCount()}async _initFeaturesWidget(){return void 0!==this.isMobile?await(this.mapView?.when((()=>{this._features?(this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=this.showCloseBtn,this._features.visibleElements.heading=!this.isMobile):(this._features=new this.Features({view:this.mapView,container:this._featuresNodeId,visibleElements:{actionBar:!1,closeButton:this.showCloseBtn,featureMenuHeading:!1,heading:!this.isMobile}}),this._features.viewModel.highlightEnabled=this.highlightEnabled,this.reactiveUtils.watch((()=>this._features.viewModel.featureMenuOpen),(t=>{this._count=this._getCount(),t||(this._showListView=t)})),this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit({selectedFeature:[this._features.selectedFeature],selectedFeatureIndex:this._features.selectedFeatureIndex})})),this.reactiveUtils.watch((()=>this._features.selectedDrillInFeature),(t=>{t?(this._relatedFeature=t,this._navigatedToRelatedFeature=!0):(this._relatedFeature=null,this._navigatedToRelatedFeature=!1)})),this.el.querySelector("#"+this._featuresNodeId).addEventListener("calciteFlowItemClose",(()=>{this.clearSelection.emit()})))}))):Promise.resolve()}_getHeader(){return this.isMobile&&!this._editRecordOpen?s("calcite-panel",{class:"border-width-0",slot:"header"},s("calcite-action",{class:"end-border",icon:"chevron-left",iconFlipRtl:!0,onClick:()=>this._closePopup(),scale:"s",slot:"header-actions-start",text:""}),s("span",{class:"font-bold",slot:"header-content"},this._mobileTitle)):void 0}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features.previous(),this._count=this._getCount()}_next(){this._features.next(),this._count=this._getCount()}_getCount(){const t=(this._features?.viewModel.selectedFeatureIndex+1).toString(),i=this._features?.features?.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",i)}_toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],isMobile:["isMobileWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};b.style=":host{display:block;--calcite-label-margin-bottom:0}.padding-1-2{padding:0.5rem}.display-none{display:none !important}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.feature-node{position:relative !important}.feature-node .esri-features__footer{display:none !important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-color-foreground-1) !important;height:100% !important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:bold}.z-index-1{z-index:1}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}";export{l as create_feature,p as delete_button,f as edit_card,b as info_card}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as e,g as i,h as a,H as s}from"./p-934e8935.js";import{s as l}from"./p-76291afb.js";import{g as c}from"./p-57be3b9d.js";import{n}from"./p-8850bd21.js";import{C as r,g as o}from"./p-80cb7c73.js";import"./p-c6e42ad1.js";import"./p-4f236b5d.js";import"./p-d4056c1c.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const h=class{constructor(i){t(this,i),this.solutionItemSelected=e(this,"solutionItemSelected",7),this.selectedItemId=void 0,this.templateHierarchy=[]}get el(){return i(this)}valueWatchHandler(t,e){t&&t!==e&&Array.isArray(t)&&t.length>0&&this._treeItemSelected(t[0].id)}componentWillLoad(){this.valueWatchHandler(this.templateHierarchy,[])}render(){return a(s,{key:"7ad948b5b3cd3610c1cc3fef3ae745151115f4fb"},a("calcite-tree",{key:"8352f4878695b764a7bd0ff4cd9457784bc02687"},this.renderHierarchy(this.templateHierarchy)))}renderHierarchy(t){return t.map((t=>{const e=this.selectedItemId&&this.selectedItemId===t.id;return t.dependencies&&t.dependencies.length>0?a("calcite-tree-item",{onClick:e=>this._treeItemSelected(t.id,e),selected:e},a("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),a("span",{class:"icon-text",title:t.title},t.title),a("calcite-tree",{slot:"children"},this.renderHierarchy(t.dependencies))):a("calcite-tree-item",{onClick:e=>this._treeItemSelected(t.id,e),selected:e},a("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),a("span",{class:"icon-text",title:t.title},t.title))}))}solutionItemSelected;_treeItemSelected(t,e){const i=e?.target?.closest("calcite-tree-item");i&&(i.expanded=!i?.expanded),this.selectedItemId=t,this.solutionItemSelected.emit(t)}static get assetsDirs(){return["item-type-icons"]}static get watchers(){return{templateHierarchy:["valueWatchHandler"]}}};h.style=".icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const d=class{constructor(e){t(this,e),this.authentication=void 0,this.itemId="",this.locale=void 0,this.solutionVariables="",this.organizationVariables="",this.itemType=void 0,this._translations=void 0}get el(){return i(this)}itemIdWatchHandler(){const t=l.getItemInfo(this.itemId);this.itemType=t.type}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async componentWillLoad(){return this._getTranslations()}render(){return a(s,{key:"7f309120b815365553cd0da7418b3748cf2eea89"},a("div",{key:"543d5208d617d76e7983349303b433d23547ac8b",class:"configuration-container"},a("div",{key:"bd13f67b70d9fa4f46f7f67f68046b7ecd7eb7f2",class:"configuration"},this._showGroupTabs("Group"===this.itemType),this._showItemTabs("Group"!==this.itemType))))}_showGroupTabs(t){return a("calcite-tabs",{class:"config-tabs",style:{display:t?"inherit":"none"}},a("calcite-tab-nav",{slot:"tab-nav"},a("calcite-tab-title",null,this._translations.groupDetailsTab),a("calcite-tab-title",null,this._translations.sharingTab)),a("calcite-tab",{class:"config-tab",id:"group-tab",selected:!0},a("solution-item-details",{"item-id":this.itemId,locale:this.locale})),a("calcite-tab",{class:"config-tab",id:"share-tab"},a("solution-item-sharing",{"group-id":this.itemId,locale:this.locale})))}_showItemTabs(t){return a("calcite-tabs",{class:"config-tabs",style:{display:t?"inherit":"none"}},a("calcite-tab-nav",{slot:"tab-nav"},a("calcite-tab-title",null,this._translations.itemDetailsTab),a("calcite-tab-title",null,this._translations.dataTab),a("calcite-tab-title",null,this._translations.propertiesTab),a("calcite-tab-title",null,this._translations.resourcesTab)),a("calcite-tab",{class:"config-tab",selected:!0},a("solution-item-details",{"item-id":this.itemId,locale:this.locale})),a("calcite-tab",{class:"config-tab",id:"data-tab"},a("solution-template-data",{instanceid:"data","item-id":this.itemId,locale:this.locale,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),a("calcite-tab",{class:"config-tab",id:"props-tab"},a("solution-template-data",{instanceid:"properties","item-id":this.itemId,locale:this.locale,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),a("calcite-tab",{class:"config-tab",id:"resources-tab"},a("solution-resource-item",{authentication:this.authentication,class:"solutions-resource-container","item-id":this.itemId,locale:this.locale})))}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{itemId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};d.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%;overflow-y:auto;height:inherit}";const f="3857",b=class{constructor(i){t(this,i),this.featureServiceSpatialReferenceChange=e(this,"featureServiceSpatialReferenceChange",7),this.enableDefaultSpatialReferenceChange=e(this,"enableDefaultSpatialReferenceChange",7),this.enabledSpatialReferenceChange=e(this,"enabledSpatialReferenceChange",7),this.enabled=!1,this.enableDefault=!1,this.featureServices=[],this.locale=void 0,this._translations=void 0}get el(){return i(this)}enabledChanged(){this._handleSpatialRefParamChange()}enableDefaultChanged(){this._handleDefaultSpatialRefParamChange()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}componentWillLoad(){return this._updateUIFromStore(),this._getTranslations()}render(){return this._updateUIFromStore(),a(s,{key:"102d0df259f9cb116389ff05680e62515a1ee232"},a("label",{key:"95373549163385b3ed84a3997d5fb63ccca0945b",class:"switch-label"},a("calcite-switch",{key:"9430142bc9146348f40c72aedd64c7d8e3bac61b",checked:this.enabled,class:"spatial-ref-switch",onCalciteSwitchChange:t=>this.enabled=t.target.checked,scale:"m"}),this._translations.enableSpatialReference),a("br",{key:"91c034b58499fbee49e57bc3ba5913f09baa2728"}),a("div",{key:"0394d2f031f163b1e3b0c278568f23a0c7f7c0f5",class:"spatial-ref-component",id:"spatialRefDefn"},this._renderFeatureServicesList(this.featureServices)),a("label",{key:"41591a9be82c20350df4dc1812c7f749ca080194",class:"switch-label spatial-ref-component"},a("calcite-switch",{key:"65399800bf22df3b38e3d71f210216547f7474a0",checked:this.enableDefault,class:"spatial-ref-switch",disabled:!this.enabled,onCalciteSwitchChange:t=>this.enableDefault=t.target.checked,scale:"m"}),this._translations.enableDefaultSpatialReference))}featureServiceSpatialReferenceChange;enableDefaultSpatialReferenceChange;enabledSpatialReferenceChange;solutionStoreHasChanges(){this.featureServices=l.getStoreInfo("featureServices")}async _testAccess(t,e,i,a){switch(t){case"_parameterizeWkid":return Promise.resolve(this._parameterizeWkid(e));case"_unparameterizeWkid":return Promise.resolve(this._unparameterizeWkid(e))}return Promise.resolve(null)}_clearFeatureServiceDefaults(t){n(this.el.getElementsByClassName("spatial-ref-item-switch")).forEach((t=>t.checked=!1)),t.forEach((t=>this._updateEnabledServices({detail:{switched:!1}},t)))}_handleDefaultSpatialRefParamChange(){this._updateStore(),this.enableDefaultSpatialReferenceChange.emit({defaultWkid:this.enableDefault?f:""})}_handleSpatialRefParamChange(){this.enabled||(this.enableDefault=!1,this._clearFeatureServiceDefaults(this.featureServices)),this._updateStore(),this.enabledSpatialReferenceChange.emit({enabled:this.enabled})}_parameterizeWkid(t){return t?t.toString().startsWith(r)?t:`${r}${t}${o}`:t}_renderFeatureServicesList(t){const e=l.getStoreInfo("spatialReferenceInfo"),i=t.filter((t=>Object.keys(e.services).some((e=>e===t.id))));return i.length>0?a("div",null,a("label",{class:"spatial-ref-item-title"},this._translations.featureServicesHeading),a("ul",{class:"spatial-ref-services-list"},i.map((t=>a("li",{class:"spatial-ref-services-list-item"},a("label",{class:"switch-label"},a("calcite-switch",{checked:e.services[t.id],class:"spatial-ref-item-switch",disabled:!this.enabled,onCalciteSwitchChange:e=>this._updateEnabledServices(e,t),scale:"m"}),t.name)))))):null}_updateEnabledServices(t,e){const i=l.getStoreInfo("spatialReferenceInfo");i.services[e.id]=void 0!==t.detail?.switched?t.detail.switched:void 0===t.target?.checked||t.target.checked,l.setStoreInfo("spatialReferenceInfo",i),this._updateStore(),this.featureServiceSpatialReferenceChange.emit(e)}_unparameterizeWkid(t){return t&&t.toString().startsWith(r)?t.substring(r.length,t.length-o.length):t}_updateFeatureServices(t){t.enabled||Object.keys(t.services).forEach((e=>{t.services[e]=!1})),this.featureServices.forEach((e=>{e.enabled=t.services[e.id],e.wkid=e.enabled?this._parameterizeWkid(e.wkid):this._unparameterizeWkid(e.wkid)})),l.setStoreInfo("featureServices",this.featureServices)}_updateStore(){const t=l.getStoreInfo("spatialReferenceInfo");t.enabled=this.enabled,this.enabled&&this.enableDefault?t.default=f:t.hasOwnProperty("default")&&delete t.default,l.setStoreInfo("spatialReferenceInfo",t),this._updateFeatureServices(t)}_updateUIFromStore(){const t=l.getStoreInfo("spatialReferenceInfo");this.enabled=t.enabled,this.enableDefault=!!t.default,this.featureServices=l.getStoreInfo("featureServices")}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{enabled:["enabledChanged"],enableDefault:["enableDefaultChanged"],locale:["localeWatchHandler"]}}};b.style=".spatial-ref-switch{margin-inline-end:0.5rem}.spatial-ref-component{margin-top:0.625rem;margin-inline-start:2.5rem}#spatialRefDefn .sc-calcite-label-h label.sc-calcite-label{margin:0px;background-color:#CBC3E3}.spatial-ref-item-title{margin-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem}.spatial-ref-item-switch{margin-inline-end:0.5rem}.switch-label{font-size:0.875rem;line-height:1.25rem}.spatial-ref-services-list{margin-block-start:0.5em;margin-block-end:0.5em;list-style-type:none;padding-inline-start:2em}.spatial-ref-services-list-item{margin-top:0.25rem}";export{h as solution_contents,d as solution_item,b as solution_spatial_ref}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{c as t}from"./p-d4056c1c.js";var e={exports:{}};
|
7
|
+
/*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */e.exports=function(){const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:i}=Object;let{freeze:r,seal:a,create:l}=Object,{apply:s,construct:c}="undefined"!=typeof Reflect&&Reflect;r||(r=function(t){return t}),a||(a=function(t){return t}),s||(s=function(t,e,n){return t.apply(e,n)}),c||(c=function(t,e){return new t(...e)});const u=A(Array.prototype.forEach),f=A(Array.prototype.lastIndexOf),p=A(Array.prototype.pop),m=A(Array.prototype.push),d=A(Array.prototype.splice),g=A(String.prototype.toLowerCase),h=A(String.prototype.toString),y=A(String.prototype.match),b=A(String.prototype.replace),w=A(String.prototype.indexOf),x=A(String.prototype.trim),v=A(Object.prototype.hasOwnProperty),T=A(RegExp.prototype.test),S=(k=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return c(k,e)});var k;function A(t){return function(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return s(t,e,o)}}function E(t,o){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g;e&&e(t,null);let r=o.length;for(;r--;){let e=o[r];if("string"==typeof e){const t=i(e);t!==e&&(n(o)||(o[r]=t),e=t)}t[e]=!0}return t}function R(t){for(let e=0;e<t.length;e++)v(t,e)||(t[e]=null);return t}function _(e){const n=l(null);for(const[o,i]of t(e))v(e,o)&&(n[o]=Array.isArray(i)?R(i):i&&"object"==typeof i&&i.constructor===Object?_(i):i);return n}function z(t,e){for(;null!==t;){const n=i(t,e);if(n){if(n.get)return A(n.get);if("function"==typeof n.value)return A(n.value)}t=o(t)}return function(){return null}}const O=r(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),D=r(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),L=r(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),M=r(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=r(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),F=r(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),P=r(["#text"]),N=r(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),C=r(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),j=r(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),U=r(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),B=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),W=a(/<%[\w\W]*|[\w\W]*%>/gm),H=a(/\$\{[\w\W]*/gm),q=a(/^data-[\-\w.\u00B7-\uFFFF]+$/),Y=a(/^aria-[\-\w]+$/),X=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=a(/^(?:\w+script|data):/i),G=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),K=a(/^html$/i),V=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var J=Object.freeze({__proto__:null,ARIA_ATTR:Y,ATTR_WHITESPACE:G,CUSTOM_ELEMENT:V,DATA_ATTR:q,DOCTYPE_NAME:K,ERB_EXPR:W,IS_ALLOWED_URI:X,IS_SCRIPT_OR_DATA:$,MUSTACHE_EXPR:B,TMPLIT_EXPR:H});const Q=1,Z=3,tt=7,et=8,nt=9,ot=function(){return"undefined"==typeof window?null:window};var it=function e(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ot();const o=t=>e(t);if(o.version="3.2.4",o.removed=[],!n||!n.document||n.document.nodeType!==nt||!n.Element)return o.isSupported=!1,o;let{document:i}=n;const a=i,s=a.currentScript,{DocumentFragment:c,HTMLTemplateElement:k,Node:A,Element:R,NodeFilter:B,NamedNodeMap:W=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:H,DOMParser:q,trustedTypes:Y}=n,$=R.prototype,G=z($,"cloneNode"),V=z($,"remove"),it=z($,"nextSibling"),rt=z($,"childNodes"),at=z($,"parentNode");if("function"==typeof k){const t=i.createElement("template");t.content&&t.content.ownerDocument&&(i=t.content.ownerDocument)}let lt,st="";const{implementation:ct,createNodeIterator:ut,createDocumentFragment:ft,getElementsByTagName:pt}=i,{importNode:mt}=a;let dt={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};o.isSupported="function"==typeof t&&"function"==typeof at&&ct&&void 0!==ct.createHTMLDocument;const{MUSTACHE_EXPR:gt,ERB_EXPR:ht,TMPLIT_EXPR:yt,DATA_ATTR:bt,ARIA_ATTR:wt,IS_SCRIPT_OR_DATA:xt,ATTR_WHITESPACE:vt,CUSTOM_ELEMENT:Tt}=J;let{IS_ALLOWED_URI:St}=J,kt=null;const At=E({},[...O,...D,...L,...I,...P]);let Et=null;const Rt=E({},[...N,...C,...j,...U]);let _t=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),zt=null,Ot=null,Dt=!0,Lt=!0,Mt=!1,It=!0,Ft=!1,Pt=!0,Nt=!1,Ct=!1,jt=!1,Ut=!1,Bt=!1,Wt=!1,Ht=!0,qt=!1,Yt=!0,Xt=!1,$t={},Gt=null;const Kt=E({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Vt=null;const Jt=E({},["audio","video","img","source","image","track"]);let Qt=null;const Zt=E({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),te="http://www.w3.org/1998/Math/MathML",ee="http://www.w3.org/2000/svg",ne="http://www.w3.org/1999/xhtml";let oe=ne,ie=!1,re=null;const ae=E({},[te,ee,ne],h);let le=E({},["mi","mo","mn","ms","mtext"]),se=E({},["annotation-xml"]);const ce=E({},["title","style","font","a","script"]);let ue=null;const fe=["application/xhtml+xml","text/html"];let pe=null,me=null;const de=i.createElement("form"),ge=function(t){return t instanceof RegExp||t instanceof Function},he=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!me||me!==t){if(t&&"object"==typeof t||(t={}),t=_(t),ue=-1===fe.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,pe="application/xhtml+xml"===ue?h:g,kt=v(t,"ALLOWED_TAGS")?E({},t.ALLOWED_TAGS,pe):At,Et=v(t,"ALLOWED_ATTR")?E({},t.ALLOWED_ATTR,pe):Rt,re=v(t,"ALLOWED_NAMESPACES")?E({},t.ALLOWED_NAMESPACES,h):ae,Qt=v(t,"ADD_URI_SAFE_ATTR")?E(_(Zt),t.ADD_URI_SAFE_ATTR,pe):Zt,Vt=v(t,"ADD_DATA_URI_TAGS")?E(_(Jt),t.ADD_DATA_URI_TAGS,pe):Jt,Gt=v(t,"FORBID_CONTENTS")?E({},t.FORBID_CONTENTS,pe):Kt,zt=v(t,"FORBID_TAGS")?E({},t.FORBID_TAGS,pe):{},Ot=v(t,"FORBID_ATTR")?E({},t.FORBID_ATTR,pe):{},$t=!!v(t,"USE_PROFILES")&&t.USE_PROFILES,Dt=!1!==t.ALLOW_ARIA_ATTR,Lt=!1!==t.ALLOW_DATA_ATTR,Mt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,It=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Ft=t.SAFE_FOR_TEMPLATES||!1,Pt=!1!==t.SAFE_FOR_XML,Nt=t.WHOLE_DOCUMENT||!1,Ut=t.RETURN_DOM||!1,Bt=t.RETURN_DOM_FRAGMENT||!1,Wt=t.RETURN_TRUSTED_TYPE||!1,jt=t.FORCE_BODY||!1,Ht=!1!==t.SANITIZE_DOM,qt=t.SANITIZE_NAMED_PROPS||!1,Yt=!1!==t.KEEP_CONTENT,Xt=t.IN_PLACE||!1,St=t.ALLOWED_URI_REGEXP||X,oe=t.NAMESPACE||ne,le=t.MATHML_TEXT_INTEGRATION_POINTS||le,se=t.HTML_INTEGRATION_POINTS||se,_t=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ge(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(_t.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ge(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(_t.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(_t.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ft&&(Lt=!1),Bt&&(Ut=!0),$t&&(kt=E({},P),Et=[],!0===$t.html&&(E(kt,O),E(Et,N)),!0===$t.svg&&(E(kt,D),E(Et,C),E(Et,U)),!0===$t.svgFilters&&(E(kt,L),E(Et,C),E(Et,U)),!0===$t.mathMl&&(E(kt,I),E(Et,j),E(Et,U))),t.ADD_TAGS&&(kt===At&&(kt=_(kt)),E(kt,t.ADD_TAGS,pe)),t.ADD_ATTR&&(Et===Rt&&(Et=_(Et)),E(Et,t.ADD_ATTR,pe)),t.ADD_URI_SAFE_ATTR&&E(Qt,t.ADD_URI_SAFE_ATTR,pe),t.FORBID_CONTENTS&&(Gt===Kt&&(Gt=_(Gt)),E(Gt,t.FORBID_CONTENTS,pe)),Yt&&(kt["#text"]=!0),Nt&&E(kt,["html","head","body"]),kt.table&&(E(kt,["tbody"]),delete zt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');lt=t.TRUSTED_TYPES_POLICY,st=lt.createHTML("")}else void 0===lt&&(lt=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";e&&e.hasAttribute(o)&&(n=e.getAttribute(o));const i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(Y,s)),null!==lt&&"string"==typeof st&&(st=lt.createHTML(""));r&&r(t),me=t}},ye=E({},[...D,...L,...M]),be=E({},[...I,...F]),we=function(t){m(o.removed,{element:t});try{at(t).removeChild(t)}catch(e){V(t)}},xe=function(t,e){try{m(o.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){m(o.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if(Ut||Bt)try{we(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},ve=function(t){let e=null,n=null;if(jt)t="<remove></remove>"+t;else{const e=y(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===ue&&oe===ne&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const o=lt?lt.createHTML(t):t;if(oe===ne)try{e=(new q).parseFromString(o,ue)}catch(t){}if(!e||!e.documentElement){e=ct.createDocument(oe,"template",null);try{e.documentElement.innerHTML=ie?st:o}catch(t){}}const r=e.body||e.documentElement;return t&&n&&r.insertBefore(i.createTextNode(n),r.childNodes[0]||null),oe===ne?pt.call(e,Nt?"html":"body")[0]:Nt?e.documentElement:r},Te=function(t){return ut.call(t.ownerDocument||t,t,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},Se=function(t){return t instanceof H&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof W)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ke=function(t){return"function"==typeof A&&t instanceof A};function Ae(t,e,n){u(t,(t=>{t.call(o,e,n,me)}))}const Ee=function(t){let e=null;if(Ae(dt.beforeSanitizeElements,t,null),Se(t))return we(t),!0;const n=pe(t.nodeName);if(Ae(dt.uponSanitizeElement,t,{tagName:n,allowedTags:kt}),t.hasChildNodes()&&!ke(t.firstElementChild)&&T(/<[/\w]/g,t.innerHTML)&&T(/<[/\w]/g,t.textContent))return we(t),!0;if(t.nodeType===tt)return we(t),!0;if(Pt&&t.nodeType===et&&T(/<[/\w]/g,t.data))return we(t),!0;if(!kt[n]||zt[n]){if(!zt[n]&&_e(n)){if(_t.tagNameCheck instanceof RegExp&&T(_t.tagNameCheck,n))return!1;if(_t.tagNameCheck instanceof Function&&_t.tagNameCheck(n))return!1}if(Yt&&!Gt[n]){const e=at(t)||t.parentNode,n=rt(t)||t.childNodes;if(n&&e)for(let o=n.length-1;o>=0;--o){const i=G(n[o],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,it(t))}}return we(t),!0}return t instanceof R&&!function(t){let e=at(t);e&&e.tagName||(e={namespaceURI:oe,tagName:"template"});const n=g(t.tagName),o=g(e.tagName);return!!re[t.namespaceURI]&&(t.namespaceURI===ee?e.namespaceURI===ne?"svg"===n:e.namespaceURI===te?"svg"===n&&("annotation-xml"===o||le[o]):Boolean(ye[n]):t.namespaceURI===te?e.namespaceURI===ne?"math"===n:e.namespaceURI===ee?"math"===n&&se[o]:Boolean(be[n]):t.namespaceURI===ne?!(e.namespaceURI===ee&&!se[o])&&!(e.namespaceURI===te&&!le[o])&&!be[n]&&(ce[n]||!ye[n]):!("application/xhtml+xml"!==ue||!re[t.namespaceURI]))}(t)?(we(t),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!T(/<\/no(script|embed|frames)/i,t.innerHTML)?(Ft&&t.nodeType===Z&&(e=t.textContent,u([gt,ht,yt],(t=>{e=b(e,t," ")})),t.textContent!==e&&(m(o.removed,{element:t.cloneNode()}),t.textContent=e)),Ae(dt.afterSanitizeElements,t,null),!1):(we(t),!0)},Re=function(t,e,n){if(Ht&&("id"===e||"name"===e)&&(n in i||n in de))return!1;if(Lt&&!Ot[e]&&T(bt,e));else if(Dt&&T(wt,e));else if(!Et[e]||Ot[e]){if(!(_e(t)&&(_t.tagNameCheck instanceof RegExp&&T(_t.tagNameCheck,t)||_t.tagNameCheck instanceof Function&&_t.tagNameCheck(t))&&(_t.attributeNameCheck instanceof RegExp&&T(_t.attributeNameCheck,e)||_t.attributeNameCheck instanceof Function&&_t.attributeNameCheck(e))||"is"===e&&_t.allowCustomizedBuiltInElements&&(_t.tagNameCheck instanceof RegExp&&T(_t.tagNameCheck,n)||_t.tagNameCheck instanceof Function&&_t.tagNameCheck(n))))return!1}else if(Qt[e]);else if(T(St,b(n,vt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==w(n,"data:")||!Vt[t])if(Mt&&!T(xt,b(n,vt,"")));else if(n)return!1;return!0},_e=function(t){return"annotation-xml"!==t&&y(t,Tt)},ze=function(t){Ae(dt.beforeSanitizeAttributes,t,null);const{attributes:e}=t;if(!e||Se(t))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Et,forceKeepAttr:void 0};let i=e.length;for(;i--;){const r=e[i],{name:a,namespaceURI:l,value:s}=r,c=pe(a);let f="value"===a?s:x(s);if(n.attrName=c,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,Ae(dt.uponSanitizeAttribute,t,n),f=n.attrValue,!qt||"id"!==c&&"name"!==c||(xe(a,t),f="user-content-"+f),Pt&&T(/((--!?|])>)|<\/(style|title)/i,f)){xe(a,t);continue}if(n.forceKeepAttr)continue;if(xe(a,t),!n.keepAttr)continue;if(!It&&T(/\/>/i,f)){xe(a,t);continue}Ft&&u([gt,ht,yt],(t=>{f=b(f,t," ")}));const m=pe(t.nodeName);if(Re(m,c,f)){if(lt&&"object"==typeof Y&&"function"==typeof Y.getAttributeType)if(l);else switch(Y.getAttributeType(m,c)){case"TrustedHTML":f=lt.createHTML(f);break;case"TrustedScriptURL":f=lt.createScriptURL(f)}try{l?t.setAttributeNS(l,a,f):t.setAttribute(a,f),Se(t)?we(t):p(o.removed)}catch(t){}}}Ae(dt.afterSanitizeAttributes,t,null)},Oe=function t(e){let n=null;const o=Te(e);for(Ae(dt.beforeSanitizeShadowDOM,e,null);n=o.nextNode();)Ae(dt.uponSanitizeShadowNode,n,null),Ee(n),ze(n),n.content instanceof c&&t(n.content);Ae(dt.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,i=null,r=null,l=null;if(ie=!t,ie&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ke(t)){if("function"!=typeof t.toString)throw S("toString is not a function");if("string"!=typeof(t=t.toString()))throw S("dirty is not a string, aborting")}if(!o.isSupported)return t;if(Ct||he(e),o.removed=[],"string"==typeof t&&(Xt=!1),Xt){if(t.nodeName){const e=pe(t.nodeName);if(!kt[e]||zt[e])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof A)n=ve("\x3c!----\x3e"),i=n.ownerDocument.importNode(t,!0),i.nodeType===Q&&"BODY"===i.nodeName||"HTML"===i.nodeName?n=i:n.appendChild(i);else{if(!Ut&&!Ft&&!Nt&&-1===t.indexOf("<"))return lt&&Wt?lt.createHTML(t):t;if(n=ve(t),!n)return Ut?null:Wt?st:""}n&&jt&&we(n.firstChild);const s=Te(Xt?t:n);for(;r=s.nextNode();)Ee(r),ze(r),r.content instanceof c&&Oe(r.content);if(Xt)return t;if(Ut){if(Bt)for(l=ft.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Et.shadowroot||Et.shadowrootmode)&&(l=mt.call(a,l,!0)),l}let f=Nt?n.outerHTML:n.innerHTML;return Nt&&kt["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&T(K,n.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+f),Ft&&u([gt,ht,yt],(t=>{f=b(f,t," ")})),lt&&Wt?lt.createHTML(f):f},o.setConfig=function(){he(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ct=!0},o.clearConfig=function(){me=null,Ct=!1},o.isValidAttribute=function(t,e,n){me||he({});const o=pe(t),i=pe(e);return Re(o,i,n)},o.addHook=function(t,e){"function"==typeof e&&m(dt[t],e)},o.removeHook=function(t,e){if(void 0!==e){const n=f(dt[t],e);return-1===n?void 0:d(dt[t],n,1)[0]}return p(dt[t])},o.removeHooks=function(t){dt[t]=[]},o.removeAllHooks=function(){dt={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},o}();return it}();const n=e.exports,o=Object.freeze(Object.assign(Object.create(null),e.exports,{default:n}));export{o as p}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,g as s,h as e,H as h}from"./p-934e8935.js";import{g as a,l as o}from"./p-57be3b9d.js";import{g as l,q as n,e as c,f as r,c as d}from"./p-5693ce7a.js";import{d as p}from"./p-974e8883.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-4fe489cf.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const b=class{constructor(s){t(this,s),this.createWorkFlowStarted=i(this,"createWorkFlowStarted",7),this.backFromCreateWorkFlow=i(this,"backFromCreateWorkFlow",7),this.featureOrRecordSubmitted=i(this,"featureOrRecordSubmitted",7),this.customInfoText=void 0,this.enableEditGeometry=!1,this.enableSnapping=!1,this.isMobile=void 0,this.layer=void 0,this.locale=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this.selectedFeaturesIds=void 0,this.enableCreateFeatures=!0,this.selectingFeatureFromMap=void 0,this._cardLoading=!1,this._graphics=void 0,this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._translations=void 0}get el(){return s(this)}_isFeatureCreated=!1;_createFeature;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}createWorkFlowStarted;backFromCreateWorkFlow;featureOrRecordSubmitted;async featureSelectionChange(t){this._showCreateFeatureComponent&&!this._isFeatureCreated&&this._backFromCreateFeature();const i=t.detail;this._graphics=await this._getFeaturesByIds(i)}async layerSelectionChange(t){this._showCreateFeatureComponent&&this._backFromCreateFeature();const i=t.detail[0];this.layer=await l(this.mapView,i)}async componentWillLoad(){await this._getTranslations(),this.selectedFeaturesIds?.length>0&&(this._graphics=await this._getFeaturesByIds(this.selectedFeaturesIds))}render(){const t=this._graphics?.length>0?"":"display-none",i=0===this._graphics?.length&&this._showCreateFeatureComponent?"":"display-none",s=this._graphics?.length>0||this._showCreateFeatureComponent?"display-none":"",a=this.layer?.isTable,o=a?this._translations.createRecord:this._translations.createFeature,l=this.customInfoText?this.customInfoText:this.selectingFeatureFromMap?this._translations.selectFeaturesFromMapToStart:this._translations.selectFeaturesToStart,n=this.enableCreateFeatures&&this.layer?.capabilities?.operations?.supportsAdd;return e(h,{key:"803f5130e6f4fa0bf97cfdd2776e176786e736cc"},e("div",{key:"7c0a756f5de5f536b52d2e9f6629593eb3c85781",class:"overflow-auto height-full"},e("calcite-shell",{key:"9a6366bba429d5c29a5f1c556d6812f44d28ee2c",class:"position-relative "+t},e("div",{key:"61cb9f7942eb209e5e0bd751ab4b5ca026086882",class:"position-static z-index-500"},e("info-card",{key:"aa2e8443af374a37dfebd0d5e87ca052221339a7",enableEditGeometry:this.enableEditGeometry,enableSnapping:this.enableSnapping,graphics:this._graphics,highlightEnabled:!1,isLoading:this._cardLoading,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,showCloseBtn:!0}))),e("calcite-shell",{key:"4979b9d94cd68f36b5d9e6ea59ffc0baecd180c0",class:"position-relative "+s},e("calcite-panel",{key:"9e02f86010e2348668a995de7d3644f0ddf838a6"},e("div",{key:"83a5ac2003838734308d81dc2903313cb6c07e9a",class:"padding-1"},e("calcite-notice",{key:"e380ab334a7b4d65fb64b51bc2b7feb61771f813",icon:this.selectingFeatureFromMap?"map":"table",iconFlipRtl:!0,open:!0},e("div",{key:"2ac48545c9c825d8d266a96b034dba7d17c024c1",slot:"message"},l))),!this.isMobile&&n&&e("calcite-button",{key:"300e922dcf00b72657ca48382579746073a1a646",disabled:!this.layer,onClick:()=>this._createFeatureBtnClicked(),slot:"footer",width:"full"},a?this._translations.createRecord:this._translations.createFeature))),e("calcite-shell",{key:"1c279da12e0885ed5ecae714a0958e76ac3734d5",class:"position-relative "+i},e("calcite-flow-item",{key:"8e54e6abf83e3d8ce487a2f76e1bdd8635f4d7b5",selected:!0},e("calcite-panel",{key:"d31997df187797550eeaee6df294e4f41e6653b5",heading:o},e("calcite-action",{key:"636c83f8d5f361c1eb35a5b524565d0bd072489f",class:"back-button hydrated",icon:"chevron-left",onClick:this._backFromCreateFeature.bind(this),scale:"s",slot:"header-actions-start",text:""}),this.getEditorComponent(),this._showSubmitBtn&&e("calcite-button",{key:"bd1a3ee472e275c57e9c40c217a3c0ac9c8e8715",appearance:"solid",class:"footer-top-button footer-button",onClick:()=>{this._createFeature.submit()},slot:"footer",width:"full"},this._translations.create))))))}getEditorComponent(){return e("div",null,this._showCreateFeatureComponent&&e("create-feature",{customizeSubmit:!0,enableSnapping:this.enableSnapping&&this.enableCreateFeatures,locale:this.locale,mapView:this.mapView,onDrawComplete:()=>{this._showSubmitBtn=!0},onEditingAttachment:t=>{this._showSubmitBtn=!t.detail},onProgressStatus:()=>{setTimeout((()=>{this._isFeatureCreated=!1}),2e3)},onSuccess:this._featureCreated.bind(this),ref:t=>this._createFeature=t,selectedLayerId:this.layer?.id,showGuidingMsg:!1}))}async _getFeaturesByIds(t){return(t.length>0?await n(t,this.layer,[],!0,this.mapView.spatialReference):[]).sort(((i,s)=>t.indexOf(i.getObjectId())-t.indexOf(s.getObjectId())))}_createFeatureBtnClicked(){this._showCreateFeatureComponent=!0,this.createWorkFlowStarted.emit()}async _backFromCreateFeature(){this._createFeature&&(this._showCreateFeatureComponent=!1,this.backFromCreateWorkFlow.emit()),this._showSubmitBtn=!1}_featureCreated(){this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._isFeatureCreated=!0,this.featureOrRecordSubmitted.emit(),setTimeout((()=>{this._showCreateFeatureComponent=!0}),50)}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};b.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}.position-static{position:static !important}.z-index-500{z-index:500 !important}card-manager{display:block}";const f=class{constructor(s){t(this,s),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.toggleFilter=i(this,"toggleFilter",7),this.showDelete=i(this,"showDelete",7),this.appLayout=void 0,this.defaultGlobalId=void 0,this.defaultLayerId=void 0,this.defaultOid=void 0,this.enableAutoRefresh=void 0,this.enableColumnReorder=!0,this.enableCSV=void 0,this.enableInlineEdit=void 0,this.enableShare=void 0,this.honorMapFieldSettings=void 0,this.isMobile=void 0,this.locale=void 0,this.mapHidden=void 0,this.mapInfo=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.selectedIds=[],this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this.zoomToScale=void 0,this.createFilterModal=!0,this._allIds=[],this._controlsThatFit=void 0,this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._filterOpen=!1,this._layer=void 0,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=void 0,this._translations=void 0,this._fullTextSearchInfo=void 0,this._searchPlaceHolder="",this._size=0,this._queryingData=!1}get el(){return s(this)}FeatureTable;TableTemplate;_columnsInfo;_currentId;_editEnabled;_defaultFilterHonored=!1;_defaultGlobalIdHonored=!1;_defaultOidHonored=!1;_defaultVisibleToolSizeInfos;_definitionExpression;_deleteEnabled;_editor;_filterList;_floorExpression;_floorField;_floorFacility;_floorLevel;_floorSite;_layerExpressions;_loaded=!1;_mapClickHandle;_observerSet=!1;_previousCurrentId;reactiveUtils;_refreshHandle;_resizeObserver;_selectAllElement;_selectionFromMap=!1;_shareNode;_showHideDropdown;_moreDropdown;_table;_tableNode;_timeout;_toolbar;_toolbarSizeInfos;_searchExpression;_skipEditCheck=!1;_currentFeatureHighlightHandle;_defaultFeaturesHandle;_temporaryFeatureHandle;_filterByExtentHandle;_tempSelectedIds;_outOFExtentOids=[];_shouldUpdateTableOnExtentChange=!0;_selectedLayerView;appLayoutWatchHandler(){this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}enableCSVWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}mapHiddenWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}isMobileWatchHandler(){this._toolInfos||this.isMobile||this._initToolInfos()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression=void 0,this._searchExpression=void 0,this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",(t=>{this._mapClicked(t)})))}async _layerWatchHandler(){this._fetchingData=!0,await(this._layer?.when((async()=>{this._definitionExpression=this._layer.definitionExpression,this._floorField=this._layer.floorInfo?.floorField,this._updateFloorDefinitionExpression(),await this._resetTable(),this.createFilterModal&&this._initLayerExpressions(),this._updateShareUrl(),this._fetchingData=!1})))}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table.filterGeometry=void 0,this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(t,i){await this._handleFilterUpdate(t),i?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):!1===i&&(this._table.filterGeometry=void 0,this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(t){this._shouldUpdateTableOnExtentChange=t}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}featureSelectionChange;toggleFilter;showDelete;async beforeMapInfoChange(t){const i=t.detail.ref,s=t.detail.mapInfo;if(this._hasPendingEdits()){t.preventDefault();const e=await this._validateActiveEdits([],this.selectedIds);await i.setMapByID(e?s.id:t.detail.currentId,!e)}}async editorInitialized(t){this._shouldUpdateTableOnExtentChange=!1,this._editor=t.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(t){const i=t.detail.selectedFeature[0],s=i.getObjectId(),e=this._table;if(e.rowHighlightIds.length&&e.rowHighlightIds.removeAll(),e.rowHighlightIds.add(s),this._highlightFeatures(s),this.zoomAndScrollToSelected){const t=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(t);const e=i.layer;let h;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===e.title&&"feature"===t.layer.type)return h=t,!0})),h&&await c([s],h,this.mapView,!0,void 0,this.zoomToScale)}}async beforeLayerSelectionChange(t){if(this._hasPendingEdits()){t.preventDefault();const i=t.detail.ref,s=await this._validateActiveEdits([],this.selectedIds);return t.detail.selectedIds?await i.setLayerByIds(s?t.detail.newIds:t.detail.currentIds,!0):await i.setLayerById(s?t.detail.newId:t.detail.currentId,!0)}}async layerSelectionChange(t){await this._layerSelectionChanged(t)}async editsComplete(t){const i=t.detail;"delete"!==i&&"add"!==i||(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(t){this._floorFacility=t.detail,this._updateFloorDefinitionExpression()}async levelChanged(t){this._floorLevel=t.detail,this._updateFloorDefinitionExpression()}async siteChanged(t){this._floorSite=t.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._onResize())))}render(){const t=this._fetchingData?"display-none":"",i=this._fetchingData?"":"display-none",s=this._queryingData?"":"display-none",a=this._size.toString(),o=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",n=this._canShowFullTextSearch();return this._validateActiveActions(),e(h,{key:"2d4fa2f8d4cce83ef1f972444cac99ab17ccf09a"},e("div",{key:"b53e3d454a7c2c1886bfd61e960ca7aa27bf5761"},e("calcite-scrim",{key:"9a0e507b26707b8010f4d0ac3acd5a1eb8820780",class:s,loading:this._queryingData}),e("calcite-shell",{key:"1f1815e38773a834b7c1f6bdb783717477331522"},this._getTableControlRow("header"),e("div",{key:"fd2b3ca04bbb6b5ed9c2e044722079704b1c778e",class:`width-full ${l}`},e("calcite-panel",{key:"0355028dce084ac034fe4b5ea8f7a0b1fec18b83",class:"height-full width-full"},n&&e("div",{key:"3169fdf7d876b504c6ee1d11a0b41a55815cbc87",class:"search-container border-bottom"},e("calcite-input",{key:"116960c2b95658c23c2ed2ee4b5282af0fa44f27",class:"search",clearable:!0,icon:"search",onCalciteInputChange:t=>{this._searchTextChanged(t)},placeholder:this._searchPlaceHolder,title:this._searchPlaceHolder,type:"search"})),e("calcite-loader",{key:"83fdb600a68786dc0dd0dbbcfee1bc59bd311763",class:i,label:this._translations.fetchingData,scale:"l"}),e("div",{key:"4983053113d687a459f7749bfe7723964551c3df",class:t,ref:this.onTableNodeCreate}))),this.isMobile?void 0:e("div",{class:"bottom-left text-color height-19",id:"solutions-selected-count-div"},this._translations.recordsSelected.replace("{{total}}",a).replace("{{selected}}",o))),this.createFilterModal&&this._filterModal()))}_deleteDialog;async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0)}componentDidRender(){document.onclick=t=>this._handleDocumentClick(t),this._updateToolbar()}async _initModules(){const[t,i,s]=await o(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate"]);this.FeatureTable=t,this.reactiveUtils=i,this.TableTemplate=s}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),this._searchFullText()}async _searchFullText(){let t=[],i=!1;if(this._showOnlySelected)t=this._tempSelectedIds,i=!0;else{if(!await this._validateActiveEdits([],this.selectedIds))return;this._clearSelection(),this._tempSelectedIds=[]}this._searchExpression&&this._clearSearchDefinitionExpression();let s=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){const e=this._layer.createQuery();e.fullText=this._fullTextSearchInfo,s=await this._layer.queryObjectIds(e),i&&t?.length&&(s=s.filter((i=>t.includes(i)))),await this._updateSearchDefinitionExpression(s?.length?s:[-1])}i&&s?.length&&(this._showOnlySelected=!0,this._table.highlightIds.addMany(s.reverse())),await new Promise((t=>setTimeout(t,800))),await this._updateAllIds()}_clearSearchDefinitionExpression(){const t=this._layer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._layer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async _updateSearchDefinitionExpression(t){const i=this._layer.definitionExpression;if(t?.length){const s=`objectId in(${t})`;this._layer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return((this._layer?.capabilities)?.query)?.supportsFullTextSearch&&this._layer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._layer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._layer.indexes?.filter((t=>"FullText"==t.indexType));if(t?.length){const i=[];t.forEach((t=>{i.push(...t.fields.split(","))}));const s=[];i.forEach((t=>{const i=this._layer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_onResize(){this._updateToolbar()}_getTableControlRow(t){return e("div",{class:"display-flex height-51-px border-bottom",ref:t=>this._toolbar=t,slot:t},this._getActionBar(),this.isMobile?void 0:this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile?this._getShare("share"):void 0)}_getActionBar(){const t=this.isMobile?"width-full":"",i=this.isMobile?"border-top":"";return e("calcite-action-bar",{class:t,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("div",{class:`border-end ${t} ${i}`,id:"solutions-map-layer-picker-container"},e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",scale:"l",selectedIds:this._layer?[this._layer?.id]:[],showSingleLayerAsLabel:!0,showTables:!0,type:"dropdown"})),this.isMobile?void 0:this._getActions())}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(i.isDanger?this._getDangerAction(i.icon,i.label,i.func,i.disabled):i.isSublist&&this._table?.columns?.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,id:this._getId(i.icon),onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._showHideDropdown=t},this._getAction(i.active,this._showHideOpen?"chevron-down":i.icon,i.indicator,i.label,i.func,i.disabled,i.loading,"trigger"),this._showHideOpen?this._getFieldlist():void 0):this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getFieldlist(){return this._columnsInfo?e("calcite-dropdown-group",{"selection-mode":"multiple"},Object.keys(this._columnsInfo).map((t=>{const i=this._columnsInfo[t];return e("calcite-dropdown-item",{id:`layer-table-${t.toLowerCase().replaceAll(" ","")}`,label:t,onClick:t=>{const i=t.target;this._columnsInfo[i.label]=!i.selected,i.selected?this._table.hideColumn(i.label):this._table.showColumn(i.label)},selected:i},t)}))):void 0}_validateEnabledActions(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_validateActiveActions(){const t=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&("filter"===i.icon&&(i.indicator=this._filterActive),"list-check-all"===i.icon&&(i.active=this._selectAllActive),"selected-items-filter"===i.icon&&(i.active=this._showOnlySelected,i.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))}))}_initToolInfos(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate&&!1,s=!this.mapHidden&&!this._layer?.isTable,e=this._featuresEmpty(),h=!this._layer?.isTable||this._hasFilterExpressions();this._translations&&(this._toolInfos=[s?{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1}:void 0,h?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.createFilterModal?this._toggleFilter():this.toggleFilter.emit(),disabled:!1,isOverflow:!1}:void 0,i?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!i,isOverflow:!1}:void 0,this._deleteEnabled?{active:void 0,icon:"trash",indicator:void 0,label:this._translations.delete,func:()=>this._showDelete(),disabled:!t,isDanger:!0,isOverflow:!1}:void 0,{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>{this.clearSelection()},disabled:!t,isOverflow:!1},{active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!t,isOverflow:!1},{active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:e,isOverflow:!1},{active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:e,isOverflow:!1},{active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1,isOverflow:!1},this.enableCSV?{active:!1,icon:"export",indicator:!1,func:()=>{this._exportToCSV()},label:this._translations.exportCSV,loading:this._csvExporting,disabled:e,isOverflow:!1}:void 0,{active:!1,icon:this._showHideOpen?"chevron-down":"chevron-right",indicator:!1,func:()=>this._toggleShowHide(),label:this._translations.showHideColumns,disabled:!1,isOverflow:!1,isSublist:!0}],this._defaultVisibleToolSizeInfos=void 0)}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){const t=`${this._floorField} = '${this._floorLevel}'`,i=this._layer.definitionExpression;this._layer.definitionExpression=i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):i?`${i} AND (${t})`:t,this._floorExpression=t}}_featuresSelected(){return this.selectedIds.length>0}_featuresEmpty(){return 0===this._allIds.length}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this._layer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this._layer.id))),t?.length>0}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(i>t?i-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let h=!1;const a=[...this._defaultVisibleToolSizeInfos].reduce(((a,o)=>(!h&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),a.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(h=!0),a)),[]);this._setControlsThatFit(a,s)}}),100))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this._layer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:`${t.disabled?"disabled":""} ${"trash"===t.icon?"delete-red":""}`,selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.isSublist&&this._showHideOpen?"chevron-down":t.loading?"":t.icon,id:`layer-table-${t.icon}`,onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label))))),this._showHideOpen?this._getFieldlist():void 0):void 0}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_getAction(t,i,s,h,a,o,l,n){const c=void 0===this._layer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:`layer-table-${i}`,indicator:s,label:h,loading:l,onClick:a,text:h,textEnabled:!0}),this._getToolTip("bottom",i,h))}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,flipRtl:!0,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this.mapInfo?.id?i.searchParams.set("webmap",this.mapInfo.id):i.searchParams.delete("webmap"),this._layer?.id?i.searchParams.set("layer",this._layer.id):i.searchParams.delete("layer"),this.selectedIds?.length>0?i.searchParams.set("oid",this.selectedIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":i},e("span",null,s)):void 0}_getId(t){return`solutions-action-${t}`}_getDangerAction(t,i,s,h){const a=void 0===this._layer||h;return e("div",{class:"display-flex",id:this._getId(t)},e("calcite-action",{appearance:"solid",disabled:a,id:t,onClick:s,text:""},e("calcite-button",{appearance:"transparent",iconStart:t,kind:"danger"},i)),this._getToolTip("bottom",t,i))}_getIds(){return this._table?.highlightIds?.map((t=>parseInt(t.toString(),10))).toArray()}onTableNodeCreate=t=>{this._tableNode=t};async _getTable(t,i){this._layer&&(await this._layer.when((()=>{this._table=new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!1,multiSortEnabled:!1,attachmentsEnabled:!0,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:i},container:t})})),await this._table.when((()=>{const t=this._table.highlightIds.on("change",(t=>{this._handleOnChange(t)}));this._table.viewModel.addHandles(t),this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this)),this._table.on("cell-pointerout",this._removeTempHighlight.bind(this)),this._tableNode.addEventListener("mouseleave",this._removeTempHighlight.bind(this));const i=this.reactiveUtils.watch((()=>this._table.size),(t=>{this._size=t}));this._table.viewModel.addHandles(i)})))}async _handleOnChange(t){if(!await this._validateActiveEdits([...t.added],[...t.removed]))return;const i=[...this._getIds()];this.selectedIds=i.reverse(),this._tempSelectedIds=[...this.selectedIds],this._finishOnChange(),this._selectionFromMap=!1,this._highlightFeatures(this.selectedIds[0])}async _validateActiveEdits(t,i){let s=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let e=!1;try{await this._editor.cancelWorkflow({force:!1})}catch(t){e="workflow:cancel-denied"===t.name}e&&(s=!1,this._skipEditCheck=!0,t.length>0?this._table.highlightIds.removeMany(t):i.length>0&&this._table.highlightIds.addMany(i))}}else s=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=s,s}_hasPendingEdits(){const t=this._editor?.viewModel?.hasPendingEdits,i=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return t||i}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected()),this.featureSelectionChange.emit(this.selectedIds)}tempHighlightOnHover(t){if(this._removeTempHighlight(),this._selectedLayerView){const i=t.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([i],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(t){if(this._clearHighlights(),this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([t],{name:"current-selection"}),this.selectedIds.length>1)){const i=this.selectedIds.filter((i=>i!==t));this._defaultFeaturesHandle=this._selectedLayerView?.highlight(i,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){const t=this._getColumnTemplates(this._layer?.id,this._layer?.fields);0===t?.length?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");const i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some(((t,s)=>JSON.stringify(i[s])!==JSON.stringify(t)));if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=new this.TableTemplate({columnTemplates:t});const i=t.map((t=>t.fieldName));this._initColumnsInfo(i)}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),this._table)this._table.view=this.mapView,this._table.layer=this._layer;else{const t=this._getColumnTemplates(this._layer.id,this._layer?.fields);await this._getTable(this._tableNode,t)}await this._initLayerRefresh(),this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout((()=>{this._loaded||this.finishLoading()}),1e3),await this.reactiveUtils.once((()=>"loaded"===this._table.state)).then((async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),this._initToolInfos(),this._controlsThatFitWatchHandler(),this._updateToolbar()}catch(t){console.log(t)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._refreshHandle=this._layer.on("refresh",(t=>{t.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){const t=await this.queryAllIds(),i=this.selectedIds.filter((t=>this._allIds.indexOf(t)>-1));JSON.stringify(t)===JSON.stringify(this._allIds)&&JSON.stringify(this.selectedIds)===JSON.stringify(i)||(this._allIds=t,this.selectedIds=i,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=void 0,this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId?.length>0&&this._table){const t=await r(this.defaultGlobalId,this._layer),i=t?.length>0?t.map((t=>t.getObjectId())):void 0;i&&await this._selectDefaultFeature(i),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=void 0,this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(t){const i=this._table?.columns.reduce(((i,s)=>((!t||t?.indexOf(s.name)>-1)&&(i[s.name]=!s.hidden),i)),{}),s=this._table?.columns.map((t=>t.name));(t?t.filter((t=>s.indexOf(t)<0)):[]).forEach((t=>{i[t]=!0})),this._columnsInfo=t?t.reduce(((t,s)=>(t[s]=i[s],t)),{}):i}async _selectDefaultFeature(t){t.length>0&&this._table.highlightIds.addMany(t)}_checkEditEnabled(){this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._deleteEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsDelete}async _sortTable(){let t,i=this._layer?.objectIdField,s="desc";this.mapInfo?.layerOptions?.layers?.length>0&&this._layer?.id&&(t=this.mapInfo.layerOptions.layers.filter((t=>t.id===this._layer.id)),t&&t.length>0&&(t=t[0],t.sortField&&t.fields?.includes(t.sortField)&&(i=t.sortField),s=t?.sortOrder?t.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when((()=>{this._table.sortColumn(i,s)})))}_forceShowHide(){this._showHideDropdown&&(this._showHideDropdown.open=this._showHideOpen),this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_closeShowHide(){this._showHideOpen=!1}_handleDocumentClick(t){const i=t.target?.id;i.startsWith("layer-table-")&&this._moreDropdown?this._moreDropdown.open=!0:this._showHideOpen&&Object.keys(this._columnsInfo).indexOf(i)<0&&"chevron-right"!==i&&(this._closeShowHide(),this._moreDropdown&&(this._moreDropdown.open=!1),this._showHideDropdown&&(this._showHideDropdown.open=!1))}_filterModal(){return alert("_filterModal how does this one get hit??"),e("calcite-dialog",{class:"filter-content-space",heading:this._translations?.filter?.replace("{{title}}",this._layer?.title),id:"solutions-filter-dialog",kind:"brand",modal:!0,onCalciteDialogClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:()=>{this._closeFilter()},comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>{this._handleFilterListReset()},onFilterUpdate:()=>{this._handleFilterUpdate(this._filterList.filterCount>0)},ref:t=>this._filterList=t,view:this.mapView,zoomBtn:!1}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(t){const i=this._layer.definitionExpression;if(this._floorExpression){const t=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=i&&this._floorField&&i.indexOf(`${this._floorField} = '`)>-1?i.replace(t,this._floorExpression):i?`${i} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=t,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(async()=>{if(this._shouldUpdateTableOnExtentChange){await new Promise((t=>setTimeout(t,800))),this._table.filterGeometry=this.mapView.extent;const t={geometry:this.mapView.extent},i=await this._layer.queryObjectIds(t),s=this.selectedIds.filter((t=>!i.includes(t))),e=this._outOFExtentOids.filter((t=>i.includes(t)));s.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(s),this._outOFExtentOids=[...this._outOFExtentOids,...s]),e.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...e])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter((t=>!e.includes(t))))}this._allIds=await this.queryAllIds()}),{initial:!0}))}async _closeFilter(){this._filterOpen&&(this._allIds=await this.queryAllIds(),this._filterOpen=!1)}async queryAllIds(){const t=this._layer.createQuery();return t.geometry=this._filterByExtentHandle?this.mapView.extent:null,t.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(t)}async _mapClicked(t){const i={include:this._layer},s=await this.mapView.hitTest(t.screenPoint,i);s.results.length>0?(s.results.forEach((t=>{const i=t.graphic.getObjectId();this._table.highlightIds.indexOf(i)<0&&(this._selectionFromMap=!0,this._table.highlightIds.add(i))})),this._showOnlySelected&&(this._table.filterBySelectionEnabled=!0)):await this.clearSelection()}async _selectAll(){const t=this._allIds,i=t.filter((t=>this.selectedIds.indexOf(t)<0));await this._validateActiveEdits(i,this.selectedIds)?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table.filterBySelectionEnabled=this._showOnlySelected}_clearSelection(){this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll(),this._finishOnChange()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){const t=this.mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._filterList.layerExpressions=this._layerExpressions,this._filterActive=this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0)).length>0}async _switchSelected(){const t=[...this.selectedIds],i=this._allIds.reduce(((i,s)=>(t.indexOf(s)<0&&i.push(s),i)),[]).sort(((t,i)=>t-i));await this._validateActiveEdits(i,t)?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(i),this.selectedIds=i,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){const t={},i=this._getIds();t[this._layer.id]={selectionSetNames:[this._layer.title],ids:i,layer:this._layer};const s=this._table.columns.toArray().reduce(((t,i)=>{if(!i.hidden){const s=i?.name||i?.fieldName;s&&t.push(s.toLocaleLowerCase())}return t}),[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,await p(this.mapView.map,t,!1,!1,!0,s,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}_updateToolInfoLoading(t,i){this._toolInfos.some((s=>{if(s?.icon===t)return s.loading=i,!0}))}async _refresh(){await this._validateActiveEdits([],this.selectedIds)&&(await(this._table?.refresh()),this._allIds=await this.queryAllIds(),this.featureSelectionChange.emit(this.selectedIds))}async _zoom(){this._layer&&await c(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(t){const i=t.detail[0];if(i!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0;const t=await l(this.mapView,i);t&&await t.when((async()=>{this._selectedLayerView=t.isTable?null:await d(this.mapView,t.id),this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=t,this._getFullTextSearchInfo()}))}this._fetchingData=!1}_getColumnTemplates(t,i){let s;this.mapInfo?.layerOptions?.layers.some((i=>{if(i.id===t)return s=i,!0}));const e=this._layer?.attributeTableTemplate?.elements;let h=[];e?.length>0&&this.honorMapFieldSettings&&(h=e.map((t=>t.fieldName)));const a=s?.fields&&s?.fieldOrder?s.fieldOrder.filter((t=>s.fields.indexOf(t)>-1)):h.length>0?h:void 0;let o;return i&&(o=i.reduce(((t,i)=>{const e={type:"field",fieldName:i.name,label:i.alias,menuConfig:this._getMenuConfig(i.name)};return s&&s?.fields?s.fields.indexOf(i.name)>-1&&t.push(e):h.length>0?h.indexOf(i.name)>-1&&t.push(e):t.push(e),t}),[])),a?o?.sort(this._sortFields.bind(this,a)):o}_sortFields(t,i,s){return t?.indexOf(i.fieldName)-t.indexOf(s.fieldName)}_getMenuConfig(t){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(t)}}]}}_handleHideClick(t){this._columnsInfo[t]=!1,this._table.hideColumn(t),this._table.tableTemplate.columnTemplates.forEach((i=>{i.fieldName===t&&(i.visible=!1)}))}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],defaultOid:["defaultOidWatchHandler"],defaultGlobalId:["defaultGlobalIdWatchHandler"],enableCSV:["enableCSVWatchHandler"],enableInlineEdit:["enableInlineEditWatchHandler"],enableShare:["enableShareWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"],locale:["localeWatchHandler"],mapHidden:["mapHiddenWatchHandler"],isMobile:["isMobileWatchHandler"],mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],selectedIds:["selectedIdsWatchHandler"]}}};function u(t){return function(t){return-1!==t?.indexOf("http://")}(t)?t.replace(/^http:\/\//,"https://"):t}f.style=':host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0;left:unset}html[dir="rtl"] .share-action{left:0;right:unset}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1) !important}.search{--calcite-color-border-input:var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color:var(--calcite-color-status-danger);--calcite-color-text-1:var(--calcite-color-status-danger);--calcite-color-text-3:var(--calcite-color-status-danger)}';const m=class{constructor(s){t(this,s),this.mapChanged=i(this,"mapChanged",7),this.beforeMapChanged=i(this,"beforeMapChanged",7),this.toggleFilter=i(this,"toggleFilter",7),this.clearSelection=i(this,"clearSelection",7),this.appLayout=void 0,this.appProxies=void 0,this.defaultWebmapId="",this.defaultLayerId=void 0,this.enableHome=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableShare=!1,this.enableSingleExpand=!0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.hidden=void 0,this.homeZoomIndex=3,this.homeZoomPosition="top-left",this.homeZoomToolsSize="m",this.locale=void 0,this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.mapView=void 0,this.stackTools=!0,this.theme=void 0,this.toolOrder=void 0,this.isMapLayout=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.selectedFeaturesIds=void 0,this.selectedLayer=void 0,this.zoomToScale=void 0,this.onlyShowUpdatableLayers=void 0,this.isMobile=void 0,this.mapInfo=void 0,this._translations=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0,this._showHideOpen=!1,this._toolInfos=void 0,this._controlsThatFit=void 0}get el(){return s(this)}esriConfig;Home;MapView;WebMap;_defaultWebmapHonored=!1;_homeWidget;_loadedId="";_mapDiv;_mapPicker;_mapTools;_moreDropdown;_mapListExpanded=!1;_filterActive=!1;_definitionExpression;_mapLayerPicker;_resizeObserver;_shareNode;_showHideDropdown;_toolbar;_timeout;_toolbarSizeInfos;_defaultVisibleToolSizeInfos;_observerSet=!1;appLayoutWatchHandler(){this._updateShareUrl()}enableHomeWatchHandler(){this._initHome()}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){this.mapView&&this._updateShareUrl()}async selectedLayerWatchHandler(){await(this.selectedLayer?.when((async()=>{this._definitionExpression=this.selectedLayer.definitionExpression})))}async selectedFeaturesIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async resetFilter(){this._filterActive=!1,this._updateShareUrl()}async updateFilterState(t){this._filterActive=t,this._updateShareUrl()}async updateLayer(){this._mapLayerPicker.updateLayer()}mapChanged;beforeMapChanged;toggleFilter;clearSelection;async mapInfoChange(t){await this._loadMap(t.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}layerSelectionChange(){setTimeout((()=>{this._initToolInfos()}),50)}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._updateToolbar())))}render(){const t=this.isMapLayout?"display-flex height-49-px":"",i=this.hidden?"visibility-hidden-1":"",s="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",a=this.mapInfos?.length>1||this.isMapLayout?"map-height":"height-full",o=this.isMapLayout?"":"display-none";return this._validateActiveActions(),e(h,{key:"0dbff0683a2ba0aa956344c84719990b8316bdee"},e("div",{key:"af68bee85faa0da7189d4d8d831eb858600038d8",class:`${t} width-full`,ref:t=>this._toolbar=t},this._getActionBar(),!this.isMobile&&this.isMapLayout&&this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile&&this.isMapLayout?this._getShare("share"):void 0),e("calcite-progress",{key:"5c4d2dacfe7eb4b13d115731981b8e50870a271d",class:o,value:0}),e("div",{key:"357d395aa75ee86fa5060bfc0d48b62a7aad31fc",class:`${a} ${i}`,ref:t=>this._mapDiv=t}),e("map-tools",{key:"ec965773008f144944a04253ca5cea818d38cc69",basemapConfig:this.basemapConfig,class:`box-shadow ${s}`,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableSingleExpand:this.enableSingleExpand,homeZoomToolsSize:this.homeZoomToolsSize,locale:this.locale,mapView:this.mapView,mapWidgetsSize:this.mapWidgetsSize,position:this.mapWidgetsPosition,ref:t=>this._mapTools=t,searchConfiguration:this._searchConfiguration,stackTools:this.stackTools,toolOrder:this.toolOrder}))}async componentDidRender(){this.isMapLayout&&this._updateToolbar(),document.onclick=t=>this._handleDocumentClick(t)}async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0),this._updateShareUrl()}async _initModules(){const[t,i,s,e]=await o(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=t,this.MapView=i,this.Home=s,this.esriConfig=e}async _loadMap(t){const i=!this._defaultWebmapHonored&&this.defaultWebmapId,s=this.mapInfos?.filter((t=>t.id===this.defaultWebmapId)),e=JSON.stringify(t)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&s?s[0]:!t?.id&&this.mapInfos.length>0?this.mapInfos[0]:t;const h=this._webMapInfo.id,a=i&&t?.id===this.defaultWebmapId;if(this._loadedId!==h&&!i||a){const t=new this.WebMap({portalItem:{id:h}});this.appProxies&&(await t.load(),await(o=t,l=this.esriConfig,n=this.appProxies,n&&n.forEach((t=>{o.allLayers.forEach((i=>{i&&i.url===t.sourceUrl&&(i.url=u(t.proxyUrl),i.portalItem&&i.portalItem.when((()=>{i.portalItem.url=u(t.proxyUrl)})),l.request?.interceptors?.push({urls:t.sourceUrl,before:i=>{i.url&&i.url===t.sourceUrl&&(i.url=u(t.proxyUrl))}}))}))})),o)),this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"center"}),this._loadedId=h,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{this._initHome(),this.mapView.ui.add(this._mapTools,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=!!a||this._defaultWebmapHonored,this.mapChanged.emit({id:h,mapView:this.mapView})}))}else i?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(h)):e&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:h,mapView:this.mapView}));var o,l,n;this._updateShareUrl()}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(i>t?i-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let h=!1;const a=[...this._defaultVisibleToolSizeInfos].reduce(((a,o)=>(!h&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),a.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(h=!0),a)),[]);this._setControlsThatFit(a,s)}}),250))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionBar(){const t=this.mapInfos?.length>1?"":"display-none",i=this.isMapLayout?"display-flex":"display-block",s=this.isMobile?"border-top":"",h=this.isMapLayout?"":"display-none";return e("calcite-action-bar",{class:i,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("map-picker",{class:t,id:"map-picker",isMapLayout:this.isMapLayout,locale:this.locale,mapInfos:this.mapInfos,ref:t=>this._mapPicker=t}),e("div",{class:`mapView-header display-flex ${h}`,id:"solutions-map-layer-picker-container"},e("div",{class:`border-end ${i} ${s}`},this.mapView&&e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",ref:t=>this._mapLayerPicker=t,scale:"l",selectedIds:this.selectedLayer?[this.selectedLayer.id]:[],showSingleLayerAsLabel:!0,showTables:!0,showTablesDisabled:!0,type:"dropdown"}))),!this.isMobile&&this.isMapLayout?this._getActions():void 0)}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this.selectedLayer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:t.disabled?"disabled":"",selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.icon,id:"solutions-subset-list",onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label)))))):void 0}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,flipRtl:!0,popoverButtonIconScale:"s",ref:t=>{this._shareNode=t,this._updateShareUrl()},scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._loadedId?i.searchParams.set("webmap",this._loadedId):i.searchParams.delete("webmap"),this.selectedLayer?.id?i.searchParams.set("layer",this.selectedLayer.id):i.searchParams.delete("layer"),this.selectedFeaturesIds?.length>0?i.searchParams.set("oid",this.selectedFeaturesIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_closeShowHide(){this._showHideOpen=!1}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_initToolInfos(){const t=this.selectedFeaturesIds?.length>0,i=this.selectedFeaturesIds?.length>1&&!1;this._translations&&(this._toolInfos=[{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1,isOverflow:!1},i?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!i,isOverflow:!1}:void 0,{active:!1,icon:"refresh",indicator:!1,label:this._translations.refresh,func:()=>this.selectedLayer.refresh(),disabled:!1,isOverflow:!1},{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this.clearSelection.emit(),disabled:!t,isOverflow:!1}],this._defaultVisibleToolSizeInfos=void 0)}_validateActiveActions(){const t=["filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&"filter"===i.icon&&(i.indicator=this._filterActive)}))}_validateEnabledActions(){const t=this.selectedFeaturesIds?.length>0,i=this.selectedFeaturesIds?.length>1&&this.selectedLayer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_initHome(){if(this.enableHome){this._homeWidget=new this.Home({view:this.mapView}),this.mapView.ui.add(this._homeWidget,{position:this.homeZoomPosition,index:this.homeZoomIndex});const t="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";this._homeWidget.domNode.style.height=t,this._homeWidget.domNode.style.width=t}else this._homeWidget&&this.mapView.ui.remove(this._homeWidget)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_forceShowHide(){this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_handleDocumentClick(t){const i=t.target?.id;"solutions-subset-list"===i?this._moreDropdown.open=!0:this._showHideOpen&&"solutions-subset-list"!==i&&"solutions-more"!==i&&"chevron-down"!==i&&this._moreDropdown&&(this._showHideOpen=!1,this._moreDropdown.open=!1),"MAP-PICKER"===t.target.tagName&&(this._mapListExpanded=!this._mapListExpanded,this._mapPicker.toggle(this._mapListExpanded)),"MAP-PICKER"!==t.target.tagName&&(this._mapListExpanded=!1,this._mapPicker.close())}async _zoom(){if(this.selectedLayer){const t=await d(this.mapView,this.selectedLayer.id);await c(this.selectedFeaturesIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _toggleFilter(){this.toggleFilter.emit()}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this.selectedLayer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this.selectedLayer.id))),t?.length>0}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":"map-"+i},e("span",null,s)):void 0}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getAction(t,i,s,h,a,o,l,n){const c=void 0===this.selectedLayer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:"map-"+i,indicator:s,label:h,loading:l,onClick:a,text:h,textEnabled:!0}),this._getToolTip("bottom",i,h))}_getId(t){return`solutions-action-${t}`}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableHome:["enableHomeWatchHandler"],enableShare:["enableShareWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],selectedLayer:["selectedLayerWatchHandler"],selectedFeaturesIds:["selectedFeaturesIdsWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}.display-block{display:block}";export{b as card_manager,f as layer_table,m as map_card}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,g as i,h as s,H as e,c as a}from"./p-934e8935.js";import{l as h,g as n}from"./p-57be3b9d.js";import"./p-d4056c1c.js";const o=class{constructor(i){t(this,i),this.mapView=void 0,this.basemapConfig=void 0,this.basemapWidget=void 0}get el(){return i(this)}BasemapGallery;PortalBasemapsSource;_basemapElement;async basemapConfigWatchHandler(){if(this.basemapWidget?.source){const t=this.basemapWidget?.source;t.query=this.basemapConfig?.basemapGroupId?`id:${this.basemapConfig.basemapGroupId}`:null,await t.refresh()}}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initBaseMapGallery(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"cc7e423a47742c0f5c3a5023b77157af09e56433"},s("div",{key:"9b41466e49c93e533f1d2a621707c5189c5092b3",ref:t=>{this._basemapElement=t}}))}async componentDidLoad(){this.mapView&&await this.mapViewWatchHandler()}async _initModules(){const[t,i]=await h(["esri/widgets/BasemapGallery","esri/widgets/BasemapGallery/support/PortalBasemapsSource"]);this.BasemapGallery=t,this.PortalBasemapsSource=i}async _initBaseMapGallery(t){if(this.BasemapGallery){const i=new this.PortalBasemapsSource({query:this.basemapConfig?.basemapGroupId?`id:${this.basemapConfig.basemapGroupId}`:null,filterFunction:this.basemapConfig?t=>!this.basemapConfig.basemapIdsToFilter.includes(t.portalItem.id):()=>!0});await i.refresh(),this.basemapWidget?(this.basemapWidget.view=t,this.basemapWidget.source=i):this.basemapWidget=new this.BasemapGallery({container:this._basemapElement,view:t,source:i})}}static get watchers(){return{basemapConfig:["basemapConfigWatchHandler"],mapView:["mapViewWatchHandler"]}}};o.style=":host{display:block}";const r=class{constructor(i){t(this,i),this.facilityChanged=a(this,"facilityChanged",7),this.levelChanged=a(this,"levelChanged",7),this.siteChanged=a(this,"siteChanged",7),this.enabled=void 0,this.floorFilterWidget=void 0,this.mapView=void 0}get el(){return i(this)}FloorFilter;_floorFilterElement;reactiveUtils;_facilityHandle;_levelHandle;_siteHandle;async mapViewWatchHandler(){await this._initFloorFilter(this.mapView)}async enabledWatchHandler(){this.enabled?await this._initFloorFilter(this.mapView):this.enabled||this._destroyWidget()}facilityChanged;levelChanged;siteChanged;async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"dd7fa68ddc1e417cb8924549e50e81742f9e891a"},s("div",{key:"294837a32ed7e8f955bce7dc2403895c7dd9984f",ref:t=>{this._floorFilterElement=t}}))}async componentDidLoad(){this.mapView&&!this.floorFilterWidget&&await this._initFloorFilter(this.mapView)}async _initModules(){const[t,i]=await h(["esri/widgets/FloorFilter","esri/core/reactiveUtils"]);this.FloorFilter=t,this.reactiveUtils=i}_destroyWidget(){this.floorFilterWidget&&(this.floorFilterWidget.destroy(),this.floorFilterWidget=void 0),this._floorFilterElement&&this._floorFilterElement.remove()}_initContainer(){this._destroyWidget(),this._floorFilterElement=document.createElement("div")}async _initFloorFilter(t){const i=t?.map;await i.when((()=>{t&&this.enabled&&this.FloorFilter&&i?.floorInfo&&(this._initContainer(),this.floorFilterWidget=new this.FloorFilter({container:this._floorFilterElement,view:t}),this._facilityHandle?.remove(),this._facilityHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.facility),(t=>{this.facilityChanged.emit(t)})),this._levelHandle?.remove(),this._levelHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.level),(t=>{this.levelChanged.emit(t)})),this._siteHandle?.remove(),this._siteHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.site),(t=>{this.siteChanged.emit(t)})))}))}static get watchers(){return{mapView:["mapViewWatchHandler"],enabled:["enabledWatchHandler"]}}};r.style=":host{display:block}";const c=class{constructor(i){t(this,i),this.fullscreenStateChange=a(this,"fullscreenStateChange",7),this.mapView=void 0,this.fullscreenWidget=void 0}Fullscreen;_fullscreenElement;_fullscreenStateChangeHandle;reactiveUtils;async mapViewWatchHandler(){await this.mapView.when((async()=>{await this._initFullscreenWidget()}))}fullscreenStateChange;async componentWillLoad(){await this._initModules()}render(){return s(e,{key:"7eec3dc5ab76a4ad8fdd24d8d18f8e6cf2820dde"},s("div",{key:"2093cc2a6a3678209e61eea63ebde2f69ec00011",class:"fullscreen-widget",ref:t=>{this._fullscreenElement=t}}))}async componentDidUpdate(){await this._initFullscreenWidget()}async componentDidLoad(){await this._initFullscreenWidget()}async _initModules(){const[t,i]=await h(["esri/widgets/Fullscreen","esri/core/reactiveUtils"]);this.Fullscreen=t,this.reactiveUtils=i}async _initFullscreenWidget(){this.mapView&&this._fullscreenElement&&!this.fullscreenWidget?(this.fullscreenWidget=new this.Fullscreen({view:this.mapView}),await this.fullscreenWidget.when((()=>{this._fullscreenStateChangeHandle&&this._fullscreenStateChangeHandle.remove(),this._fullscreenStateChangeHandle=this.reactiveUtils.watch((()=>this.fullscreenWidget.viewModel.state),(t=>this.fullscreenStateChange.emit(t)))}))):this.fullscreenWidget&&(this.fullscreenWidget.view=this.mapView)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};c.style=":host{display:block}";const l=class{constructor(i){t(this,i),this.mapView=void 0,this.legendWidget=void 0}get el(){return i(this)}Legend;_legendElement;async mapViewWatchHandler(){await this.mapView.when((()=>{this._initLegend(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"768d9d69042516c6d4edc55fcb0af23f90d33e6e"},s("div",{key:"e1147cf58240e7a6fcb9a00fce3649a380755e3d",ref:t=>{this._legendElement=t}}))}async componentDidLoad(){this.mapView&&await this.mapViewWatchHandler()}async _initModules(){const[t]=await h(["esri/widgets/Legend"]);this.Legend=t}_initLegend(t){t&&this.Legend&&(this.legendWidget?this.legendWidget.view=t:this.legendWidget=new this.Legend({container:this._legendElement,respectLayerDefinitionExpression:!0,view:t}))}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};l.style=":host{display:block}";const d=class{constructor(i){t(this,i),this.beforeMapInfoChange=a(this,"beforeMapInfoChange",7),this.mapInfoChange=a(this,"mapInfoChange",7),this.locale=void 0,this.mapInfos=[],this.isMapLayout=void 0,this._mapListExpanded=!1,this._translations=void 0,this._webMapInfo=void 0}get el(){return i(this)}_list;_loadedId="";_skipEditCheck=!1;_webMapInfoWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&(this._loadedId=t?.id,this.mapInfoChange.emit(t))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapInfosWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._webMapSelected(t[0])}async setMapByID(t,i=!1){this._skipEditCheck=i;const s=this.mapInfos?.filter((i=>i.id===t));t&&s?.length>0&&this._webMapSelected(s[0]),this._skipEditCheck=!1}async close(){this._mapListExpanded&&(this._mapListExpanded=!1)}async toggle(t){this._mapListExpanded=t}beforeMapInfoChange;mapInfoChange;async componentWillLoad(){await this._getTranslations()}render(){return s(e,{key:"6b4b2bc101fa29a1eaadfdcc772131b7c40cedec"},this._getToolbar(),this._getMapNameList(this._mapListExpanded))}async componentDidLoad(){const t=this.mapInfos&&this.mapInfos.length>0?this.mapInfos[0]:void 0;t&&this._webMapSelected(t)}_getMapPicker(){const t="map-picker-expand-toggle";return s("div",{class:"width-full"},s("calcite-button",{alignment:"icon-end-space-between",appearance:"transparent",class:"width-full height-full",iconEnd:this._mapListExpanded?"chevron-up":"chevron-down",iconStart:"map",id:t,kind:"neutral",onClick:()=>this._chooseMap(),width:"full"},this._webMapInfo?.name),s("calcite-tooltip",{placement:"bottom","reference-element":t},s("span",null,this._translations.switchMap)))}_getToolbar(){return s("div",{class:"display-flex border-right"},s("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:"header"},this._getMapPicker()))}_getMapNameList(t){return s("div",{class:t?"map-list border-bottom-1 adjusted-height "+(this.isMapLayout?"width-26":"width-full"):"display-none"},s("calcite-list",{id:"mapList",label:"",ref:t=>this._list=t,selectionAppearance:"border",selectionMode:"single"},this.mapInfos.map((t=>s("calcite-list-item",{label:t.name,onClick:()=>this._webMapSelected(t),selected:t.id===this._loadedId,value:t.id})))))}_webMapSelected(t){const i=this._loadedId;this._loadedId=t.id,this._skipEditCheck?this._webMapInfo=t:this.beforeMapInfoChange.emit({currentId:i,mapInfo:t,ref:this.el}).defaultPrevented||(this._webMapInfo=t),this._mapListExpanded=!1}_chooseMap(){this._mapListExpanded=!this._mapListExpanded}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{_webMapInfo:["_webMapInfoWatchHandler"],locale:["localeWatchHandler"],mapInfos:["mapInfosWatchHandler"]}}};d.style=":host{display:block;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100%}.width-26{width:26% !important}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.border-right{border-right:1px solid var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.align-center{align-items:center}.adjusted-height{max-height:calc(100% - 52px);overflow-y:auto}";const p=class{constructor(i){t(this,i),this.mapView=void 0,this.popupEnabled=!1,this.resultGraphicEnabled=!1,this.searchConfiguration=void 0,this.searchTerm=void 0,this.searchWidget=void 0}FeatureLayer;Search;_searchElement;_searchResult;async watchSearchConfigurationHandler(){this._initSearchWidget()}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initSearchWidget()}))}async componentWillLoad(){await this._initModules()}async componentDidLoad(){return this._initSearchWidget()}render(){return s(e,{key:"36e0fb49fdedbe9e8789fba37f86a2f2d57b4e45"},s("div",{key:"796ee258723e9277dc98323ba76def22bd7dca3a",class:"search-widget",ref:t=>{this._searchElement=t}}))}async _initModules(){const[t,i]=await h(["esri/widgets/Search","esri/layers/FeatureLayer"]);this.Search=t,this.FeatureLayer=i}_initSearchWidget(){if(this.mapView&&this._searchElement&&!this.searchWidget){let t={view:this.mapView,container:this._searchElement,searchTerm:this.searchTerm};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this.mapView)}),this.searchWidget=new this.Search(t),this.searchWidget.popupEnabled=this.popupEnabled,this.searchWidget.resultGraphicEnabled=this.resultGraphicEnabled}else this.searchWidget&&(this.searchWidget.view=this.mapView)}_getSearchConfig(t,i){const s=t.sources;return s?.length>0?(t.includeDefaultSources=!1,s.forEach((t=>{if(t.hasOwnProperty("layer")){const s=t,e=s.layer?.id,a=e?i.map.findLayerById(e):null,h=s?.layer?.url;a?s.layer=a:h&&(s.layer=new this.FeatureLayer(h))}})),s?.forEach((t=>{if(t.hasOwnProperty("locator")){const i=t;"ArcGIS World Geocoding Service"===i?.name&&(i.outFields=i.outFields||["Addr_type","Match_addr","StAddr","City"],i.singleLineFieldName="SingleLine"),i.url=i.url,delete i.url}}))):t={...t,includeDefaultSources:!0},t}static get watchers(){return{searchConfiguration:["watchSearchConfigurationHandler"],mapView:["mapViewWatchHandler"]}}};p.style=":host{display:block}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}";const m=class{constructor(i){t(this,i),this.basemapConfig=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableSearch=void 0,this.enableBasemap=void 0,this.enableHome=void 0,this.enableSingleExpand=void 0,this.homeZoomToolsSize="m",this.layout="vertical",this.locale=void 0,this.mapView=void 0,this.mapWidgetsSize="m",this.position="top-right",this.searchConfiguration=void 0,this.stackTools=!0,this.toolOrder=void 0,this._hasFloorInfo=!1,this._translations=void 0,this._showTools=!0,this._showBasemapWidget=!1,this._showFloorFilter=!1,this._showFullscreen=!1,this._showLegendWidget=!1,this._showSearchWidget=!1}get el(){return i(this)}Expand;_basemapElement;_floorFilterElement;_fullscreenElement;_legendElement;_searchElement;_widgets=[];async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((()=>{this._hasFloorInfo=this.mapView?.map?.floorInfo}))}async _showBasemapWidgetWatchHandler(t){t?this.mapView.ui.add(this._basemapElement.basemapWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._basemapElement.basemapWidget)}async _showFloorFilterWatchHandler(t){const i=this._floorFilterElement.floorFilterWidget;t?this.mapView.ui.add(i,{position:this.position,index:1}):this.mapView.ui.remove(i)}async _showFullscreenWatchHandler(t){const i=this._fullscreenElement.fullscreenWidget;t?"ready"===i.viewModel.state&&i.viewModel.enter():"active"===i.viewModel.state&&i.viewModel.exit()}async _showLegendWidgetWatchHandler(t){t?this.mapView.ui.add(this._legendElement.legendWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._legendElement.legendWidget)}async _showSearchWidgetWatchHandler(t){t?this.mapView.ui.add(this._searchElement.searchWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._searchElement.searchWidget)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){this._setZoomToolsSize();const t=this._showTools?"":"display-none",i=this._showSearchWidget?"":"display-none",a=this._showBasemapWidget?"":"display-none",h=this._showLegendWidget?"":"display-none",n=this._showFloorFilter?"":"display-none",o=this._showFullscreen?"":"display-none",r=this.enableSingleExpand?"margin-top-1-2":"",c=this.toolOrder?this.toolOrder:["legend","search","fullscreen","floorfilter"],l=this.stackTools?"box-shadow":"";return s(e,{key:"6a707a10b3cbe094548a863b13d0852969c46f94"},s("div",{key:"c1e349ba8577a87f967b31a7a042be30cb933d34",class:this.enableBasemap||this.enableFullscreen||this.enableLegend||this.enableSearch?"":"display-none"},this.enableSingleExpand?s("div",{class:"box-shadow"},this._getActionGroup(this._showTools?"chevrons-up":"chevrons-down",!1,this._showTools?this._translations.collapse:this._translations.expand,(()=>this._toggleTools()))):void 0,s("div",{key:"7120793f9d707fb0d1914f5aeffb3293532ab891",class:`${r} ${l} ${t}`},this._getMapWidgets(c))),s("basemap-gallery",{key:"11e280302f6b1f5287aa83c7eb33542f3a9d87ab",basemapConfig:this.basemapConfig,class:a,mapView:this.mapView,ref:t=>{this._basemapElement=t}}),s("map-search",{key:"c3afd22dc8d652877f48a6def87e486546993d61",class:i,mapView:this.mapView,ref:t=>{this._searchElement=t},resultGraphicEnabled:!0,searchConfiguration:this.searchConfiguration}),s("map-legend",{key:"b8fad3cdbc3b96b4f3441316651ad78b4ed3de65",class:h,mapView:this.mapView,ref:t=>{this._legendElement=t}}),s("map-fullscreen",{key:"e34111225f1ec80fedfd548196e407786d28200b",class:o,mapView:this.mapView,onFullscreenStateChange:t=>this._fullscreenStateChange(t.detail),ref:t=>{this._fullscreenElement=t}}),s("floor-filter",{key:"2db5c7e6182d77786b162692169263495b2752f5",class:n,enabled:this.enableFloorFilter,mapView:this.mapView,ref:t=>{this._floorFilterElement=t}}))}async _initModules(){const[t]=await h(["esri/widgets/Expand"]);this.Expand=t}_setZoomToolsSize(){const t=document.getElementsByClassName("esri-zoom")[0]?.children[0],i=document.getElementsByClassName("esri-zoom")[0]?.children[1];if(t&&i){const s="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";t.style.width=s,t.style.height=s,i.style.width=s,i.style.height=s}}_getMapWidgets(t){const i=this._showFullscreen?"full-screen-exit":"full-screen",s=this._showFullscreen?this._translations.exitFullscreen:this._translations.enterFullscreen;return t.map((t=>{switch(t){case"legend":return this.enableLegend&&this.enableSingleExpand?this._getActionGroup("legend",!1,this._translations.legend,(()=>this._showLegend())):this.enableLegend?this._getWidget(t,this._legendElement?.legendWidget,!0):void 0;case"search":return this.enableSearch&&this.enableSingleExpand?this._getActionGroup("magnifying-glass",!1,this._translations.search,(()=>this._search())):this.enableSearch?this._getWidget(t,this._searchElement?.searchWidget,!0):void 0;case"fullscreen":return this.enableFullscreen&&this.enableSingleExpand?this._getActionGroup(i,!1,s,(()=>this._expand())):this.enableFullscreen?this._getWidget(t,this._fullscreenElement?.fullscreenWidget,!1):void 0;case"basemap":return this.enableBasemap&&this.enableSingleExpand?this._getActionGroup("basemap",!1,this._translations.basemap,(()=>this._toggleBasemapPicker())):this.enableBasemap?this._getWidget(t,this._basemapElement?.basemapWidget,!0):void 0;case"floorfilter":return this.enableFloorFilter&&this._hasFloorInfo&&this.enableSingleExpand?this._getActionGroup("urban-model",!1,this._translations.floorFilter,(()=>this._toggleFloorFilter())):this.enableFloorFilter&&this._hasFloorInfo?this._getWidget(t,this._floorFilterElement?.floorFilterWidget,!0):void 0}}))}_fullscreenStateChange(t){"ready"===t&&this._showFullscreen?this._showFullscreen=!1:"active"!==t||this._showFullscreen||(this._showFullscreen=!0)}_getActionGroup(t,i,e,a){return s("div",null,s("calcite-action",{alignment:"center",class:`${"s"===this.mapWidgetsSize?"square-32":"m"===this.mapWidgetsSize?"square-40":"square-48"} ${this.stackTools?"":"margin-bottom-1-2"} border-bottom ${this.stackTools?"":"box-shadow"}`,disabled:i,icon:t,id:t,onClick:a,scale:"s",text:""},s("calcite-icon",{icon:"cheveron-up",scale:"s",slot:"icon"})),s("calcite-tooltip",{label:"",placement:"trailing","reference-element":t},s("span",null,e)))}_getWidget(t,i,s){if(this._widgets.indexOf(t)<0&&this.mapView&&i){const e=this.toolOrder.indexOf(t),a=new this.Expand({view:this.mapView,content:i});this.mapView.ui.add(s?a:i,{position:this.position,index:e>-1?e+(this.enableHome?2:1):1}),this._widgets.push(t)}}_showLegend(){this._showLegendWidget=!this._showLegendWidget,this._showTools=!1}_search(){this._showSearchWidget=!this._showSearchWidget,this._showTools=!1}_toggleBasemapPicker(){this._showBasemapWidget=!this._showBasemapWidget,this._showTools=!1}_toggleFloorFilter(){this._showFloorFilter=!this._showFloorFilter,this._showTools=!1}_expand(){this._showFullscreen=!this._showFullscreen}_toggleTools(){this._showTools||(this._showBasemapWidget=!1,this._showSearchWidget=!1,this._showLegendWidget=!1,this._showFloorFilter=!1),this._showTools=!this._showTools}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_showBasemapWidget:["_showBasemapWidgetWatchHandler"],_showFloorFilter:["_showFloorFilterWatchHandler"],_showFullscreen:["_showFullscreenWatchHandler"],_showLegendWidget:["_showLegendWidgetWatchHandler"],_showSearchWidget:["_showSearchWidgetWatchHandler"]}}};m.style=":host{display:block}.display-none{display:none}.margin-top-1-2{margin-top:0.5rem}.square-32{width:32px;height:32px}.square-40{width:40px;height:40px}.square-48{width:48px;height:48px}.width-40{width:40px}.square-40-41{width:40px;height:41px}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.box-shadow{box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.margin-bottom-1-2{margin-bottom:0.5rem}";export{o as basemap_gallery,r as floor_filter,c as map_fullscreen,l as map_legend,d as map_picker,p as map_search,m as map_tools}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{g as t,r as e,h as i,H as n}from"./p-934e8935.js";import{g as s,a as r,b as o}from"./p-f6e81cf8.js";import{s as a}from"./p-76291afb.js";import"./p-4f236b5d.js";import{g as h}from"./p-57be3b9d.js";import{r as c,N as u,c as l,e as f,A as d}from"./p-0668e30d.js";import"./p-80cb7c73.js";import"./p-570b13d9.js";import"./p-c6e42ad1.js";import"./p-d4056c1c.js";
|
7
|
+
/*! *****************************************************************************
|
8
|
+
Copyright (c) Microsoft Corporation.
|
9
|
+
|
10
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
11
|
+
purpose with or without fee is hereby granted.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
14
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
15
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
16
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
17
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
18
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
19
|
+
PERFORMANCE OF THIS SOFTWARE.
|
20
|
+
***************************************************************************** */
|
21
|
+
var p=function(){return p=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var s in e=arguments[i])Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t},p.apply(this,arguments)};function w(t,e){var i=e;return i.rawResponse=!1,c(t,i).then((function(t){var e={token:t.access_token,username:t.username,expires:new Date(Date.now()+(1e3*t.expires_in-1e3)),ssl:!0===t.ssl};return t.refresh_token&&(e.refreshToken=t.refresh_token),e}))}function m(t,e){var i=e;return i.params.referer="undefined"!=typeof window&&window.location&&window.location.host?window.location.host:u,c(t,i)}var g=/^https?:\/\/(\S+)\.arcgis\.com.+/;function v(t){return g.test(t)}function b(t){if(!g.test(t))return null;var e=t.match(g)[1].split(".").pop();return e.includes("dev")?"dev":e.includes("qa")?"qa":"production"}var k=function(){function t(t){if(this.clientId=t.clientId,this._refreshToken=t.refreshToken,this._refreshTokenExpires=t.refreshTokenExpires,this.username=t.username,this.password=t.password,this._token=t.token,this._tokenExpires=t.tokenExpires,this.portal=t.portal?l(t.portal):"https://www.arcgis.com/sharing/rest",this.ssl=t.ssl,this.provider=t.provider||"arcgis",this.tokenDuration=t.tokenDuration||20160,this.redirectUri=t.redirectUri,this.refreshTokenTTL=t.refreshTokenTTL||20160,this.server=t.server,this.federatedServers={},this.trustedDomains=[],t.server){var e=this.getServerRootUrl(t.server);this.federatedServers[e]={token:t.token,expires:t.tokenExpires}}this._pendingTokenRequests={}}return Object.defineProperty(t.prototype,"token",{get:function(){return this._token},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tokenExpires",{get:function(){return this._tokenExpires},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refreshToken",{get:function(){return this._refreshToken},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refreshTokenExpires",{get:function(){return this._refreshTokenExpires},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trustedServers",{get:function(){return console.log("DEPRECATED: use federatedServers instead"),this.federatedServers},enumerable:!1,configurable:!0}),t.beginOAuth2=function(e,i){void 0===i&&(i=window),e.duration&&console.log("DEPRECATED: 'duration' is deprecated - use 'expiration' instead");var n,s=p({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",state:e.clientId,locale:""},e),r=s.portal,o=s.provider,a=s.clientId,h=s.expiration,c=s.redirectUri,u=s.popup,l=s.popupWindowFeatures,w=s.state,m=s.locale,g=s.params;if(n="arcgis"===o?r+"/oauth2/authorize?client_id="+a+"&response_type=token&expiration="+(e.duration||h)+"&redirect_uri="+encodeURIComponent(c)+"&state="+w+"&locale="+m:r+"/oauth2/social/authorize?client_id="+a+"&socialLoginProviderName="+o+"&autoAccountCreateForSocial=true&response_type=token&expiration="+(e.duration||h)+"&redirect_uri="+encodeURIComponent(c)+"&state="+w+"&locale="+m,g&&(n=n+"&"+f(g)),u){var v,b=((v={promise:null,resolve:null,reject:null}).promise=new Promise((function(t,e){v.resolve=t,v.reject=e})),v);return i["__ESRI_REST_AUTH_HANDLER_"+a]=function(e,i){if(e){var n=JSON.parse(e);b.reject(new d(n.errorMessage,n.error))}else if(i){var s=JSON.parse(i);b.resolve(new t({clientId:a,portal:r,ssl:s.ssl,token:s.token,tokenExpires:new Date(s.expires),username:s.username}))}},i.open(n,"oauth-window",l),b.promise}i.location.href=n},t.completeOAuth2=function(e,i){void 0===i&&(i=window);var n=p({portal:"https://www.arcgis.com/sharing/rest",popup:!0},e),s=n.portal,r=n.clientId,o=n.popup;function a(e,n){try{var a=void 0,h="__ESRI_REST_AUTH_HANDLER_"+r;if(o&&(i.opener?i.opener.parent&&i.opener.parent[h]?a=i.opener.parent[h]:i.opener&&i.opener[h]&&(a=i.opener[h]):i!==i.parent&&i.parent&&i.parent[h]&&(a=i.parent[h]),a))return a(e?JSON.stringify(e):void 0,JSON.stringify(n)),void i.close()}catch(t){throw new d('Unable to complete authentication. It\'s possible you specified popup based oAuth2 but no handler from "beginOAuth2()" present. This generally happens because the "popup" option differs between "beginOAuth2()" and "completeOAuth2()".')}if(e)throw new d(e.errorMessage,e.error);return new t({clientId:r,portal:s,ssl:n.ssl,token:n.token,tokenExpires:n.expires,username:n.username})}var h=i.location.hash.replace(/^#/,"").split("&").reduce((function(t,e){var i=function(t){var e=t.split("="),i=e[1];return{key:decodeURIComponent(e[0]),value:decodeURIComponent(i)}}(e);return t[i.key]=i.value,t}),{});if(!h.access_token){var c=void 0,u="Unknown error";return h.error&&(c=h.error,u=h.error_description),a({error:c,errorMessage:u})}return a(void 0,{token:h.access_token,expires:new Date(Date.now()+1e3*parseInt(h.expires_in,10)-6e4),ssl:"true"===h.ssl,username:h.username})},t.fromParent=function(e,i){var n;return!i&&window&&(i=window),new Promise((function(s,r){i.addEventListener("message",n=function(e){if(e.source===i.parent&&e.data)try{return s(t.parentMessageHandler(e))}catch(t){return r(t)}},!1),i.parent.postMessage({type:"arcgis:auth:requestCredential"},e)})).then((function(t){return i.removeEventListener("message",n,!1),t}))},t.authorize=function(t,e){t.duration&&console.log("DEPRECATED: 'duration' is deprecated - use 'expiration' instead");var i=p({portal:"https://arcgis.com/sharing/rest",expiration:20160},t);e.writeHead(301,{Location:i.portal+"/oauth2/authorize?client_id="+i.clientId+"&expiration="+(t.duration||i.expiration)+"&response_type=code&redirect_uri="+encodeURIComponent(i.redirectUri)}),e.end()},t.exchangeAuthorizationCode=function(e,i){var n=p({portal:"https://www.arcgis.com/sharing/rest",refreshTokenTTL:20160},e),s=n.portal,r=n.clientId,o=n.redirectUri,a=n.refreshTokenTTL;return w(s+"/oauth2/token",{params:{grant_type:"authorization_code",client_id:r,redirect_uri:o,code:i}}).then((function(e){return new t({clientId:r,portal:s,ssl:e.ssl,redirectUri:o,refreshToken:e.refreshToken,refreshTokenTTL:a,refreshTokenExpires:new Date(Date.now()+60*(a-1)*1e3),token:e.token,tokenExpires:e.expires,username:e.username})}))},t.deserialize=function(e){var i=JSON.parse(e);return new t({clientId:i.clientId,refreshToken:i.refreshToken,refreshTokenExpires:new Date(i.refreshTokenExpires),username:i.username,password:i.password,token:i.token,tokenExpires:new Date(i.tokenExpires),portal:i.portal,ssl:i.ssl,tokenDuration:i.tokenDuration,redirectUri:i.redirectUri,refreshTokenTTL:i.refreshTokenTTL})},t.fromCredential=function(e){var i=void 0===e.ssl||e.ssl,n=e.expires||Date.now()+72e5;return new t({portal:e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest",ssl:i,token:e.token,username:e.userId,tokenExpires:new Date(n)})},t.parentMessageHandler=function(e){if("arcgis:auth:credential"===e.data.type)return t.fromCredential(e.data.credential);if("arcgis:auth:error"===e.data.type){var i=new Error(e.data.error.message);throw i.name=e.data.error.name,i}throw new Error("Unknown message type.")},t.prototype.toCredential=function(){return{expires:this.tokenExpires.getTime(),server:this.portal,ssl:this.ssl,token:this.token,userId:this.username}},t.prototype.getUser=function(t){var e=this;if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);var i=this.portal+"/community/self",n=p(p({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingUserRequest=c(i,n).then((function(t){return e._user=t,e._pendingUserRequest=null,t})),this._pendingUserRequest},t.prototype.getPortal=function(t){var e=this;if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);var i=this.portal+"/portals/self",n=p(p({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingPortalRequest=c(i,n).then((function(t){return e._portalInfo=t,e._pendingPortalRequest=null,t})),this._pendingPortalRequest},t.prototype.getUsername=function(){return this.username?Promise.resolve(this.username):this._user?Promise.resolve(this._user.username):this.getUser().then((function(t){return t.username}))},t.prototype.getToken=function(t,e){return n=t,s=v(i=this.portal),r=v(n),o=b(i),a=b(n),s&&r&&o===a||new RegExp(this.portal,"i").test(t)?this.getFreshToken(e):this.getTokenForServer(t,e);var i,n,s,r,o,a},t.prototype.validateAppAccess=function(t){return this.getToken(this.portal).then((function(e){return function(t,e,i){return void 0===i&&(i="https://www.arcgis.com/sharing/rest"),c(i+"/oauth2/validateAppAccess",{method:"POST",params:{f:"json",client_id:e,token:t}})}(e,t)}))},t.prototype.toJSON=function(){return{clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,refreshTokenTTL:this.refreshTokenTTL}},t.prototype.serialize=function(){return JSON.stringify(this)},t.prototype.enablePostMessageAuth=function(t,e){!e&&window&&(e=window),this._hostHandler=this.createPostMessageHandler(t),e.addEventListener("message",this._hostHandler,!1)},t.prototype.disablePostMessageAuth=function(t){!t&&window&&(t=window),t.removeEventListener("message",this._hostHandler,!1)},t.prototype.refreshSession=function(t){return this._user=null,this.username&&this.password?this.refreshWithUsernameAndPassword(t):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new d("Unable to refresh token."))},t.prototype.getServerRootUrl=function(t){var e=l(t).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/)[0].match(/(https?:\/\/)(.+)/),i=e[1],n=e[2].split("/"),s=n[0],r=n.slice(1);return""+i+s.toLowerCase()+"/"+r.join("/")},t.prototype.getDomainCredentials=function(t){return this.trustedDomains&&this.trustedDomains.length&&this.trustedDomains.some((function(e){return t.startsWith(e)}))?"include":"same-origin"},t.prototype.createPostMessageHandler=function(t){var e=this;return function(i){var n=t.indexOf(i.origin)>-1,s="arcgis:auth:requestCredential"===i.data.type,r=e.tokenExpires.getTime()>Date.now();if(n&&s){var o={};if(r){var a=e.toCredential();a.server=a.server.replace("/sharing/rest",""),o={type:"arcgis:auth:credential",credential:a}}else o={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Session token was expired, and not returned to the child application"}};i.source.postMessage(o,i.origin)}}},t.prototype.getTokenForServer=function(t,e){var i=this,n=this.getServerRootUrl(t),s=this.federatedServers[n];return s&&s.expires&&s.expires.getTime()>Date.now()?Promise.resolve(s.token):(this._pendingTokenRequests[n]||(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then((function(){return c(n+"/rest/info",{credentials:i.getDomainCredentials(t)}).then((function(s){if(s.owningSystemUrl){if(r=s.owningSystemUrl,o=l(function(t){if(!g.test(t))return t;switch(b(t)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}(i.portal)).replace(/https?:\/\//,""),a=l(r).replace(/https?:\/\//,""),new RegExp(a,"i").test(o))return c(s.owningSystemUrl+"/sharing/rest/info",e);throw new d(t+" is not federated with "+i.portal+".","NOT_FEDERATED")}var r,o,a;if(s.authInfo&&void 0!==i.federatedServers[n])return Promise.resolve({authInfo:s.authInfo});throw new d(t+" is not federated with any portal and is not explicitly trusted.","NOT_FEDERATED")})).then((function(t){return t.authInfo.tokenServicesUrl})).then((function(e){return i.token&&i.tokenExpires.getTime()>Date.now()?m(e,{params:{token:i.token,serverUrl:t,expiration:i.tokenDuration,client:"referer"}}):m(e,{params:{username:i.username,password:i.password,expiration:i.tokenDuration,client:"referer"}}).then((function(t){return i._token=t.token,i._tokenExpires=new Date(t.expires),t}))})).then((function(t){return i.federatedServers[n]={expires:new Date(t.expires),token:t.token},delete i._pendingTokenRequests[n],t.token}))}))),this._pendingTokenRequests[n])},t.prototype.getFreshToken=function(t){var e=this;return this.token&&!this.tokenExpires||this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshSession(t).then((function(t){return e._pendingTokenRequests[e.portal]=null,t.token}))),this._pendingTokenRequests[this.portal])},t.prototype.refreshWithUsernameAndPassword=function(t){var e=this,i=p({params:{username:this.username,password:this.password,expiration:this.tokenDuration}},t);return m(this.portal+"/generateToken",i).then((function(t){return e._token=t.token,e._tokenExpires=new Date(t.expires),e}))},t.prototype.refreshWithRefreshToken=function(t){var e=this;if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()<Date.now())return this.refreshRefreshToken(t);var i=p({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},t);return w(this.portal+"/oauth2/token",i).then((function(t){return e._token=t.token,e._tokenExpires=t.expires,e}))},t.prototype.refreshRefreshToken=function(t){var e=this,i=p({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},t);return w(this.portal+"/oauth2/token",i).then((function(t){return e._token=t.token,e._tokenExpires=t.expires,e._refreshToken=t.refreshToken,e._refreshTokenExpires=new Date(Date.now()+60*(e.refreshTokenTTL-1)*1e3),e}))},t.prototype.fetchAuthorizedDomains=function(){var t=this;return this.server||!this.portal?Promise.resolve(this):this.getPortal().then((function(e){return e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(t.trustedDomains=e.authorizedCrossOriginDomains.filter((function(t){return!t.startsWith("http://")})).map((function(t){return t.startsWith("https://")?t:"https://"+t}))),t}))},t}();const y=class{get el(){return t(this)}async serializedAuthenticationWatchHandler(){this.authentication=this.serializedAuthentication?k.deserialize(this.serializedAuthentication):new k({})}async valueWatchHandler(){await this._loadSolution(this.solutionItemId)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}constructor(t){e(this,t),this.authentication=new k({}),this.locale=void 0,this.serializedAuthentication="",this.solutionItemId="",this.showLoading=!1,this._currentEditItemId="",this._organizationVariables="",this._solutionContentsComponent=void 0,this._solutionIsLoaded=!1,this._solutionVariables="",this._templateHierarchy=[],this._translations=void 0,this._treeOpen=!0,this.serializedAuthentication&&(this.authentication=k.deserialize(this.serializedAuthentication)),this._loadSolution(this.solutionItemId),window.addEventListener("solutionStoreHasChanges",(t=>{this._updateSaveability(this._solutionStoreHasChanges=t.detail,this._solutionEditorHasChanges,this._solutionEditorHasErrors)})),window.addEventListener("solutionEditorHasChanges",(t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges=t.detail,this._solutionEditorHasErrors)})),window.addEventListener("solutionEditorHasErrors",(t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges,this._solutionEditorHasErrors=t.detail)}))}async componentWillLoad(){return this._getTranslations()}render(){const t=a.getStoreInfo("spatialReferenceInfo"),e=a.getStoreInfo("featureServices").length>0,o=a.getStoreInfo("solutionData");return this._solutionVariables=JSON.stringify(s(o.templates,this._translations)),this._organizationVariables=JSON.stringify(r(this._translations)),i(n,{key:"c3119f5d0485eacbbd1380db442ef9c28f772dec"},this._solutionIsLoaded?null:i("calcite-loader",{label:""}),i("div",{key:"f363b65e521bde0dff7290ec7345b95cd61a6d75",class:"configuration-container"},i("div",{key:"bcc9dac3ec183cb36da61bca5c1718395ff76efd",class:"configuration"},i("calcite-tabs",{key:"76d8e022c66e2d9157ecd44d26d080f5bfbfee4e",class:"config-tabs"},i("calcite-tab-nav",{key:"1b40a68e10b69189496325bfea5116655d715c97",slot:"tab-nav"},i("calcite-tab-title",{key:"2c729b8fe2a3fd3a0ac0964d2b825e9fc113f51f"},this._translations.definitionTab),e?i("calcite-tab-title",null,this._translations.spatialReferenceTab):null),i("calcite-tab",{key:"99c4e95166fa304a16efac7261888bbbc970b66a",class:"config-tab",selected:!0},i("div",{key:"ec17e4d65348b3e6d496f7a7564f6a771b0d051b",class:"config-solution"},i("div",{key:"2f2e72b5fd3a9137e9c6edae9d2a4f2a1b12f826",class:this._treeOpen?"config-inventory":"config-inventory-hide"},i("solution-contents",{id:"configInventory",key:`${this.solutionItemId}-contents`,ref:t=>this._solutionContentsComponent=t})),i("calcite-button",{key:"696f310d8a8e1c1cb37b738f0a5a6f38003aef39",appearance:"transparent",class:"collapse-btn","icon-start":this._treeOpen?"chevrons-left":"chevrons-right",id:"collapse-vars",onClick:()=>this._toggleTree(),scale:"s",title:this._treeOpen?this._translations.collapse:this._translations.expand}),i("div",{key:"e6d9a56d72753ce4d625b547adbe8991a8697f54",class:"config-item"},i("solution-item",{authentication:this.authentication,"item-id":this._currentEditItemId,key:`${this.solutionItemId}-item`,locale:this.locale,"organization-variables":this._organizationVariables,"solution-item-id":this.solutionItemId,"solution-variables":this._solutionVariables})))),e?i("calcite-tab",{class:"config-tab"},i("div",{class:"config-solution"},i("solution-spatial-ref",{enableDefault:!!t.default,enabled:t?.enabled,featureServices:a.getStoreInfo("featureServices").map((t=>t.name)),id:"configure-solution-spatial-ref",key:`${this.solutionItemId}-spatial-ref`,locale:this.locale}))):null))))}_solutionStoreHasChanges=!1;_solutionEditorHasChanges=!1;_solutionEditorHasErrors=!1;_canSave=!1;_solutionItemSelected(t){this._currentEditItemId=t.detail}async getSpatialReferenceInfo(){return Promise.resolve(a.getStoreInfo("spatialReferenceInfo"))}async saveSolution(){this._solutionIsLoaded=!1,await a.saveSolution(),this._solutionIsLoaded=!0,this.solutionItemId=null}async unloadSolution(){this.solutionItemId=null}_initProps(){const t=a.getStoreInfo("solutionData");let e;this._templateHierarchy=[...o(t.templates)],this._solutionContentsComponent&&(this._solutionContentsComponent.templateHierarchy=this._templateHierarchy),this._templateHierarchy.length>0&&(e=a.getItemInfo(this._templateHierarchy[0].id)),this._currentEditItemId=e?e.itemId:""}async _loadSolution(t){return t?(this._solutionIsLoaded=!1,await a.loadSolution(t,this.authentication),this._initProps(),this._solutionIsLoaded=!0):this._reset(),Promise.resolve()}_reset(){this._currentEditItemId="",this._organizationVariables="",this._solutionVariables="",this._templateHierarchy=[]}_toggleTree(){this._treeOpen=!this._treeOpen}_updateSaveability(t,e,i){const n=(t||e)&&!i;this._canSave!==n&&window.dispatchEvent(new CustomEvent("solutionCanSave",{detail:n,bubbles:!0,cancelable:!1,composed:!0})),this._canSave=n}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{serializedAuthentication:["serializedAuthenticationWatchHandler"],solutionItemId:["valueWatchHandler"],locale:["localeWatchHandler"]}}};y.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%}.config-solution{position:absolute;top:3.5rem;right:-1px;bottom:-1px;left:-1px;display:flex;padding:0.5rem}.config-inventory{display:inline;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-inventory-hide{display:none;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-item{position:relative;display:inline;flex-grow:1;overflow-y:auto;margin-inline-start:0.5rem}solution-contents{position:relative;height:100%}solution-item{position:relative;height:100%}solution-spatial-ref{position:relative;height:100%;width:100%;overflow-y:auto}";export{y as solution_configuration}
|