@esri/solutions-components 5.1.0-next.76 → 5.1.0-next.78
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/cdn/{Q3ZEIM5Q.js → 22TA4SJL.js} +1 -1
- package/dist/cdn/{Q3JCFT6P.js → 25HGCZFX.js} +1 -1
- package/dist/cdn/{N7AYXZEX.js → 26RBTMKU.js} +1 -1
- package/dist/cdn/{I2R7UTIJ.js → 27KH7XZL.js} +1 -1
- package/dist/cdn/{FZ7IBZWI.js → 2C676HQP.js} +1 -1
- package/dist/cdn/{Z6ID7QGG.js → 2QHRG2N2.js} +1 -1
- package/dist/cdn/{KHSD4H7I.js → 2SQ65XGX.js} +1 -1
- package/dist/cdn/{ZUG2WJUQ.js → 2UIWWBIH.js} +1 -1
- package/dist/cdn/{PHHDNMAS.js → 2WTVBIT3.js} +1 -1
- package/dist/cdn/{2VBMNWQJ.js → 2XJM3XD7.js} +1 -1
- package/dist/cdn/{NP5KIGP3.js → 33AIZBI7.js} +1 -1
- package/dist/cdn/{JMU5KKZH.js → 3FOUGCWY.js} +1 -1
- package/dist/cdn/{46MUUBPE.js → 3LTRULIX.js} +1 -1
- package/dist/cdn/{KHHT54BU.js → 3OLSNMWN.js} +1 -1
- package/dist/cdn/{2SCW7VSF.js → 3UYIJ6KW.js} +1 -1
- package/dist/cdn/{42CN2HQC.js → 4AW45DXY.js} +1 -1
- package/dist/cdn/{SMQ2U5KS.js → 4GNCJBBI.js} +1 -1
- package/dist/cdn/{ROO45KNC.js → 4PPQA4MT.js} +1 -1
- package/dist/cdn/{GNWP2AAY.js → 4S4OOBWQ.js} +1 -1
- package/dist/cdn/{26K4UTAF.js → 5IIGQVJO.js} +1 -1
- package/dist/cdn/{H5TWIMN3.js → 5MVIKBSS.js} +1 -1
- package/dist/cdn/{4HFHJOS3.js → 5O53T3SW.js} +1 -1
- package/dist/cdn/{NWYHNQFD.js → 5US2XMV6.js} +1 -1
- package/dist/cdn/{NUD23X7L.js → 6GSCRFFW.js} +1 -1
- package/dist/cdn/{Q2UWCF43.js → 6L3O33XA.js} +2 -2
- package/dist/cdn/{KMIVV3RB.js → 6LLGL7KH.js} +1 -1
- package/dist/cdn/{2UPIDLE5.js → 6PVJU2EV.js} +1 -1
- package/dist/cdn/{AFZETCUL.js → 6RTR35JT.js} +1 -1
- package/dist/cdn/{WQSURMPZ.js → 7B7ZJJMJ.js} +1 -1
- package/dist/cdn/{WJSVRU72.js → 7J5LZ73U.js} +1 -1
- package/dist/cdn/A3K7BOI5.js +2 -0
- package/dist/cdn/{5ADMCIGY.js → A4NILC27.js} +1 -1
- package/dist/cdn/AFEFGOFA.js +2 -0
- package/dist/cdn/{WFAI6ZZB.js → AGR2N66Z.js} +1 -1
- package/dist/cdn/{45M33Q5G.js → AJZDBHB6.js} +1 -1
- package/dist/cdn/{FKVDFVJD.js → AOURVIOP.js} +1 -1
- package/dist/cdn/{SUDT3JBM.js → AVSO56QZ.js} +1 -1
- package/dist/cdn/{5HZOUKRN.js → AVT2PNZG.js} +1 -1
- package/dist/cdn/{GEXLEGOL.js → AZ4JB3M3.js} +1 -1
- package/dist/cdn/{XTIRY4UZ.js → B3BNZZVL.js} +1 -1
- package/dist/cdn/{ELD2UQO4.js → B3BR2NG5.js} +1 -1
- package/dist/cdn/B4OQ6W5E.js +2 -0
- package/dist/cdn/BHXMKRJY.js +2 -0
- package/dist/cdn/{P4TF3SMJ.js → BO7FV4W5.js} +1 -1
- package/dist/cdn/{TZEWXG4O.js → BPLLNJ3A.js} +1 -1
- package/dist/cdn/{64Y5CQSL.js → BQVD2BBH.js} +1 -1
- package/dist/cdn/{4RGYIPUO.js → BRJXJE3N.js} +1 -1
- package/dist/cdn/{6XELM7OM.js → BSBNPUTI.js} +1 -1
- package/dist/cdn/{ZR4T2HGR.js → BXOH6SN4.js} +1 -1
- package/dist/cdn/{7TCHZME4.js → C4IFGE7P.js} +1 -1
- package/dist/cdn/{P2YLMWCT.js → C5AR5K23.js} +1 -1
- package/dist/cdn/{S7MMEM3H.js → C5QZMZX7.js} +1 -1
- package/dist/cdn/{WKFXXJP7.js → C6LJNGJU.js} +1 -1
- package/dist/cdn/{SFM524YL.js → CGFMGQ3A.js} +1 -1
- package/dist/cdn/CK5X5IU2.js +2 -0
- package/dist/cdn/{XVXOCPOT.js → CQRK2NYK.js} +1 -1
- package/dist/cdn/{QIS27ICS.js → CWT2ZAQ6.js} +1 -1
- package/dist/cdn/{XD5JASLO.js → D5MQLBMW.js} +1 -1
- package/dist/cdn/{MZY3G7B5.js → D5Y4JMF7.js} +1 -1
- package/dist/cdn/D64WWPJO.js +2 -0
- package/dist/cdn/{JDVVMD4S.js → D66IBZZA.js} +1 -1
- package/dist/cdn/{X4THAL77.js → D6ITCIPE.js} +1 -1
- package/dist/cdn/{QBUVCNNC.js → DBNQXJAC.js} +1 -1
- package/dist/cdn/{P6F5I32T.js → DCM5QRV6.js} +1 -1
- package/dist/cdn/{KOHVDHPZ.js → E4GB5Z4R.js} +1 -1
- package/dist/cdn/{6LBAAWSN.js → E62ERGXQ.js} +1 -1
- package/dist/cdn/{AD2E3YIF.js → EKI654VN.js} +1 -1
- package/dist/cdn/{SKMRPLJ5.js → ELGSNGSL.js} +1 -1
- package/dist/cdn/{JMAUE3FO.js → ETI5PM5G.js} +1 -1
- package/dist/cdn/{AM5URNYD.js → EUPJV6QI.js} +1 -1
- package/dist/cdn/{RIM6ODUZ.js → EWUZF57U.js} +1 -1
- package/dist/cdn/{A4WUUHLP.js → EYFE2OOK.js} +1 -1
- package/dist/cdn/{2MOSXHFG.js → FCSE4STJ.js} +1 -1
- package/dist/cdn/{OQCAP74L.js → FYYEWGIN.js} +1 -1
- package/dist/cdn/G3EBE4SG.js +2 -0
- package/dist/cdn/{C7V2ZOFV.js → G7FUC22M.js} +1 -1
- package/dist/cdn/{JE4X76M2.js → GEHBDP52.js} +1 -1
- package/dist/cdn/{3FMOO3PJ.js → GF4QELNV.js} +1 -1
- package/dist/cdn/{UYYYSJL4.js → GIANH6D4.js} +1 -1
- package/dist/cdn/{BFRX6PST.js → GIOPY5S4.js} +1 -1
- package/dist/cdn/{XPIAEAK5.js → GWSB6X4X.js} +1 -1
- package/dist/cdn/{A45A6TFT.js → H73TAHQU.js} +1 -1
- package/dist/cdn/HNEWW3X6.js +2 -0
- package/dist/cdn/{5TNKWUPA.js → HSQV7EUD.js} +1 -1
- package/dist/cdn/{3NR4SOVS.js → INPXR3VX.js} +1 -1
- package/dist/cdn/IOFPQUQT.js +4 -0
- package/dist/cdn/{PFFHE4IG.js → J4JDMWM4.js} +1 -1
- package/dist/cdn/{M4SSWXDB.js → J7EVCSVS.js} +14 -14
- package/dist/cdn/{FBXNPZPC.js → JAJ3EUEU.js} +1 -1
- package/dist/cdn/{BMBNSJZQ.js → JBNWEBAG.js} +1 -1
- package/dist/cdn/{TM3CBSWO.js → JFJRHOAG.js} +1 -1
- package/dist/cdn/{QV6ENNZ2.js → JFYW5FSM.js} +1 -1
- package/dist/cdn/{6O3XSKQY.js → JR5GBFT2.js} +1 -1
- package/dist/cdn/K53AOGO7.js +2 -0
- package/dist/cdn/{MPJRP2QO.js → K5MMGZY2.js} +1 -1
- package/dist/cdn/K6TX7RXM.js +2 -0
- package/dist/cdn/{EACG35UF.js → KBXEHQIZ.js} +1 -1
- package/dist/cdn/KE3URGMT.js +2 -0
- package/dist/cdn/{LPJHRY3Y.js → KP3AJBAI.js} +1 -1
- package/dist/cdn/{2AIWDT55.js → LEXIWBOG.js} +1 -1
- package/dist/cdn/{EEHNMGTM.js → LRBXQ2IB.js} +1 -1
- package/dist/cdn/{WUM5AKBT.js → MGAKD4WY.js} +1 -1
- package/dist/cdn/{55PTISQ7.js → MOK7GNOH.js} +1 -1
- package/dist/cdn/MRN27OEB.js +2 -0
- package/dist/cdn/{T3KDTF34.js → MXLV3VVN.js} +1 -1
- package/dist/cdn/{OPWB5U5Y.js → MYPJ63EE.js} +1 -1
- package/dist/cdn/{YAAAUTVO.js → MYXGI5F2.js} +1 -1
- package/dist/cdn/{QKDFC32E.js → MZYF5JT4.js} +1 -1
- package/dist/cdn/{LPBP7CBN.js → N2KSPEVT.js} +1 -1
- package/dist/cdn/N3VBZJNB.js +2 -0
- package/dist/cdn/N42YRYTK.js +2 -0
- package/dist/cdn/{7LL2JXP2.js → N5RPCP3A.js} +1 -1
- package/dist/cdn/{ZFERDECY.js → NAXZK2NU.js} +1 -1
- package/dist/cdn/{GQDQ5NO2.js → NB2SOBAF.js} +1 -1
- package/dist/cdn/{PJBORZZO.js → NCIV3HWJ.js} +1 -1
- package/dist/cdn/{KSZQFK3N.js → NI43FKX7.js} +1 -1
- package/dist/cdn/NRKOYVJQ.js +2 -0
- package/dist/cdn/{QBHDEX72.js → NXRV57RV.js} +1 -1
- package/dist/cdn/{54CL4RRW.js → OBA2TIH4.js} +1 -1
- package/dist/cdn/{NTV52CCQ.js → OJQWJ5JQ.js} +1 -1
- package/dist/cdn/{7NDNEWIB.js → OQH2TBQQ.js} +1 -1
- package/dist/cdn/{7JUCAWZY.js → OUHRBNXD.js} +1 -1
- package/dist/cdn/{FE2QUN5Y.js → OXBWKILN.js} +1 -1
- package/dist/cdn/{VYI7OMFI.js → P26C2HKO.js} +1 -1
- package/dist/cdn/{7MSBIQLE.js → P4PCDUNA.js} +1 -1
- package/dist/cdn/{MXFEGFHP.js → PFXXAD6R.js} +1 -1
- package/dist/cdn/{RGMZ4ASW.js → POMV26C6.js} +1 -1
- package/dist/cdn/{LJURF4AO.js → PTQYSYRF.js} +1 -1
- package/dist/cdn/{K7RFTZ56.js → Q5PKFSLK.js} +1 -1
- package/dist/cdn/{SHFWVVGY.js → Q5ZGIKBW.js} +1 -1
- package/dist/cdn/{XVVH74AJ.js → QI3QDEUY.js} +1 -1
- package/dist/cdn/{LCPWL74J.js → QKKYYRVF.js} +1 -1
- package/dist/cdn/{7JEVFHRJ.js → QLOWHDGX.js} +1 -1
- package/dist/cdn/{W3M6A2WM.js → QZLMNSE7.js} +1 -1
- package/dist/cdn/{T4B64LSQ.js → R246WZC7.js} +1 -1
- package/dist/cdn/R2N4GBMQ.js +2 -0
- package/dist/cdn/{DPRHM2QD.js → R4LAWIED.js} +1 -1
- package/dist/cdn/{YEUQVA7X.js → RCZDZTUZ.js} +1 -1
- package/dist/cdn/{Y2ORH4QJ.js → RH47YGDG.js} +1 -1
- package/dist/cdn/{4DFLLD6V.js → RI5IMXL3.js} +1 -1
- package/dist/cdn/{3FZDFAPN.js → RNJF2E2J.js} +1 -1
- package/dist/cdn/RSLFPOX6.js +2 -0
- package/dist/cdn/{PAJG7ACM.js → RUHBLPYT.js} +1 -1
- package/dist/cdn/RYETW3AF.js +6 -0
- package/dist/cdn/{CZKXDUOH.js → SMNWKCWR.js} +1 -1
- package/dist/cdn/{NH5526ON.js → SNBTGG5B.js} +1 -1
- package/dist/cdn/{LNLCO244.js → SNE4DYFB.js} +1 -1
- package/dist/cdn/SNNNPHA4.js +2 -0
- package/dist/cdn/{NG2ORWB2.js → SR2CKHRR.js} +1 -1
- package/dist/cdn/SVGXZT2D.js +2 -0
- package/dist/cdn/{XDADY4F7.js → SXHEEF3S.js} +1 -1
- package/dist/cdn/{HNNENA73.js → TFLS2WXP.js} +1 -1
- package/dist/cdn/{ZYRNI524.js → TJDAE43J.js} +1 -1
- package/dist/cdn/{NO7Q6ULD.js → TJLD6M3R.js} +1 -1
- package/dist/cdn/{FBGVX4VY.js → TTTFI5U6.js} +1 -1
- package/dist/cdn/{KGT5OFIJ.js → UB3G6QGB.js} +1 -1
- package/dist/cdn/{PKDHJR67.js → UJ2CJJL6.js} +1 -1
- package/dist/cdn/{5EBHORLK.js → UNJV2PKC.js} +1 -1
- package/dist/cdn/UWOMOUMR.js +2 -0
- package/dist/cdn/{UDGR2GC5.js → V52O7WYV.js} +1 -1
- package/dist/cdn/{TRADVQJJ.js → VCAHYC6Y.js} +1 -1
- package/dist/cdn/{LF2W2PQP.js → VD6SVO7V.js} +124 -124
- package/dist/cdn/{GSODQ7Y6.js → VKLUFCKS.js} +1 -1
- package/dist/cdn/{UAJXFSQG.js → VTU3SPGB.js} +1 -1
- package/dist/cdn/VY67IEV4.js +2 -0
- package/dist/cdn/{YYUOLIOE.js → W6N2C4I3.js} +1 -1
- package/dist/cdn/WFHPQFNH.js +2 -0
- package/dist/cdn/{3YAZZIXF.js → WIOHBSZV.js} +1 -1
- package/dist/cdn/{ZXA4Y7R7.js → WKGI2FX5.js} +1 -1
- package/dist/cdn/{35XXJCZT.js → WLO44PL6.js} +1 -1
- package/dist/cdn/{Y7JFB2UI.js → WM75XMOB.js} +1 -1
- package/dist/cdn/{XY4ZZKRK.js → WOHWRJVM.js} +1 -1
- package/dist/cdn/{QIBOTABX.js → WQEX3INL.js} +1 -1
- package/dist/cdn/{MS34ZMXL.js → WXWKDOK2.js} +1 -1
- package/dist/cdn/{VQIXSBFT.js → WYEN6ILU.js} +1 -1
- package/dist/cdn/{XXQKFENH.js → X26QOEYN.js} +1 -1
- package/dist/cdn/{S37HZZ6Y.js → X5QI4UGD.js} +1 -1
- package/dist/cdn/{BZT6R6HU.js → XC4IAFAX.js} +1 -1
- package/dist/cdn/{NTBODSSX.js → XJBEBXI7.js} +1 -1
- package/dist/cdn/{AW3YUOA3.js → XMTFJETA.js} +1 -1
- package/dist/cdn/{ZZKXHJSA.js → XS4DWFZ7.js} +1 -1
- package/dist/cdn/{BFGQR5HS.js → Y2YNNMWR.js} +1 -1
- package/dist/cdn/{EBRCBPEM.js → Y3CYPNEY.js} +1 -1
- package/dist/cdn/{ALSK2SPM.js → YFXSWGXE.js} +1 -1
- package/dist/cdn/{3IHLJADI.js → YKB6256M.js} +1 -1
- package/dist/cdn/{MRSF34HA.js → YKM2Z3FM.js} +1 -1
- package/dist/cdn/{4STC55KZ.js → YSUNZHTY.js} +1 -1
- package/dist/cdn/{EHSP3IOY.js → Z7HOLCIT.js} +1 -1
- package/dist/cdn/{FICK6HVH.js → ZRGU46YJ.js} +1 -1
- package/dist/cdn/{5JLXNBOA.js → ZV6TCDGB.js} +1 -1
- package/dist/cdn/{QRWWGRGX.js → ZVOCQW2E.js} +1 -1
- package/dist/cdn/{XFQNCJ4I.js → ZWQVP22R.js} +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/create_design_prompt.js +1 -9
- package/dist/chunks/helpers.js +185 -177
- package/dist/components/arcgis-solutions-assistant/customElement.js +12163 -12434
- package/dist/components/arcgis-solutions-assistant/index.js +2 -5
- package/dist/components/solution-builder-assistant/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +44 -44
- package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
- package/dist/components/solution-item-accordion/customElement.js +1 -4
- package/dist/components/solution-item-diagram/customElement.js +104 -100
- package/dist/components/solutions-deploy-app/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/solutions-components_commit.txt +7 -7
- package/package.json +2 -2
- package/dist/cdn/22QTC3HD.js +0 -2
- package/dist/cdn/3PT5ULE3.js +0 -2
- package/dist/cdn/5H6CPGHD.js +0 -2
- package/dist/cdn/5P6ASR4K.js +0 -2
- package/dist/cdn/DJTRZAV2.js +0 -2
- package/dist/cdn/EINYQ66O.js +0 -2
- package/dist/cdn/F65BV6LP.js +0 -2
- package/dist/cdn/FPV4WS5B.js +0 -2
- package/dist/cdn/FYQQWZMP.js +0 -2
- package/dist/cdn/GGKCCM3W.js +0 -2
- package/dist/cdn/HQTTGUND.js +0 -2
- package/dist/cdn/JZFSA4OH.js +0 -10
- package/dist/cdn/KETCZGYB.js +0 -2
- package/dist/cdn/LRYD34MD.js +0 -2
- package/dist/cdn/N55BWDHJ.js +0 -2
- package/dist/cdn/R3TKXDOE.js +0 -6
- package/dist/cdn/RCO3B4ZO.js +0 -2
- package/dist/cdn/UPXLJJKV.js +0 -2
- package/dist/cdn/UUNXKEXP.js +0 -2
- package/dist/cdn/UYULN6D2.js +0 -2
- package/dist/cdn/VDADP5AY.js +0 -2
- package/dist/cdn/WR3IVHYS.js +0 -2
- package/dist/cdn/XGUPGW5V.js +0 -4
- package/dist/cdn/ZVJLGZDO.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as t}from"./
|
|
2
|
+
import{a as t}from"./4AW45DXY.js";import{u as e}from"./P4PCDUNA.js";var o=e(t,{"instant-apps-app-error":[()=>import("./NB2SOBAF.js"),"_messages:;clearErrorMessage"],"instant-apps-app-guide":[()=>import("./NAXZK2NU.js"),"_messages:,data:,header"],"instant-apps-buffer":[()=>import("./4S4OOBWQ.js").then(m=>m.default.then(e=>({InstantAppsBuffer:e}))),"_messages:,bufferColor:,bufferDistance,bufferGraphicSymbol:,bufferInputStep,bufferLayer:,bufferMaxDistance,bufferMinDistance,bufferOutlineColor:,bufferOutlineWidth,bufferStyle,bufferUnit,distanceValuesSorted:,elevationInfoMode,geodesicBufferEnabled,inputGraphics:,inputMethod,open,readyToBuffer,sources:,view:;clearBufferLayer,close,setFocus"],"instant-apps-buffer-distance-manager":[()=>import("./Y2YNNMWR.js"),"addButtonLabel,bufferDistance,bufferInputStep,bufferMaxDistance,bufferMinDistance,distanceValuesSorted:,inputNumberLabel,removeValueLabel"],"instant-apps-buffer-input-radiogroup":[()=>import("./YSUNZHTY.js"),"disabled,labels:,selectedValue"],"instant-apps-compass":[()=>import("./ZVOCQW2E.js").then(m=>m.default.then(e=>({InstantAppsCompass:e}))),"_messages:,view:"],"instant-apps-control-panel":[()=>import("./INPXR3VX.js").then(m=>m.default.then(e=>({InstantAppsControlPanel:e}))),"components:,view:"],"instant-apps-create":[()=>import("./ETI5PM5G.js").then(m=>m.default.then(e=>({InstantAppsCreate:e}))),"_messages:,content:,mode,options:,popoverIcon,popoverPlacement,popoverPositioning,portal:,showHeader"],"instant-apps-export":[()=>import("./NCIV3HWJ.js").then(m=>m.default.then(e=>({InstantAppsExport:e}))),"_messages:,allowedFileTypes:,beforeExport:,cloneExtraContent,defaultFileType,extraContent:,extraContentLabel,headerTitle,includeExtraContent,includeFileFormat,includeLegend,includeMap,includePopup,logoAltText,logoImage,mapAltText,maskBackground,maskBorder,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showExtraContentInImg,showHeaderTitle,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar,view:"],"instant-apps-export-views":[()=>import("./BO7FV4W5.js").then(m=>m.default.then(e=>({InstantAppsExportViews:e}))),"_messages:,beforeExport:,exportViews:,includeHeader,includeLegend,includeMap,includePopup,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showIncludeHeader,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar"],"instant-apps-filter-list":[()=>import("./P26C2HKO.js").then(m=>m.default.then(e=>({InstantAppsFilterList:e}))),"_messages:,autoUpdateUrl,closeBtn,closeBtnOnClick:,closeBtnText,comboboxOverlayPositioning,extentSelector,extentSelectorConfig:,filterCount,layerExpressions:,openFilters,resetBtn,resetFiltersOnDisconnect,urlParams:,view:,zoomBtn;forceReset,getCurrentLayerExpressions,getFilterInitState,handleUpdatingT9nData,updateInitDefExpressions"],"instant-apps-header":[()=>import("./NI43FKX7.js"),"backgroundColor,customHeaderCss,customHeaderHtml,fontFamily,headerAlignment,infoButton,infoIsOpen,infoTitleText,logoImage,logoImageAltText,logoLink,logoScale,mobileWidthBreakpoint,textColor,titleText,titleTextLink;toggleInfo"],"instant-apps-interactive-legend":[()=>import("./NXRV57RV.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegend:e}))),"_messages:,compact,featureCount,filterMode:,view:,zoomTo"],"instant-apps-interactive-legend-classic":[()=>import("./LEXIWBOG.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendClassic:e}))),"featureCount,filterMode:,legendvm:,messages:,zoomTo"],"instant-apps-interactive-legend-count":[()=>import("./ZRGU46YJ.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendCount:e}))),"_messages:,activeLayerInfo:,categoryId,infoIndex,legendElement:,legendvm:,selected,showTotal"],"instant-apps-interactive-legend-group-legend-element":[()=>import("./J4JDMWM4.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-group-legend-element-caption":[()=>import("./2QHRG2N2.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElementCaption:e}))),"_messages:,activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element":[()=>import("./MYXGI5F2.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element-caption":[()=>import("./YKM2Z3FM.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElementCaption:e}))),"_messages:,activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-legend-element":[()=>import("./6PVJU2EV.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElement:e}))),"activeLayerInfo:,isChild,isColorRamp,isInteractive,isRelationshipRamp,isSizeRamp,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-legend-element-caption":[()=>import("./DBNQXJAC.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElementCaption:e}))),"_messages:,activeLayerInfo:,expanded,isInteractive,layer:,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-relationship":[()=>import("./OUHRBNXD.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendRelationship:e}))),"_messages:,activeLayerInfo:,filterMode:,legendElement:"],"instant-apps-keyboard-shortcuts":[()=>import("./BRJXJE3N.js"),"_messages:,view:"],"instant-apps-landing-page":[()=>import("./6LLGL7KH.js"),"alignment,backgroundImageSrc,descriptionText,disableTransition,enableSignIn,entryButtonScale,entryButtonText,fontFamily,iconImage,iconImageAltText,iconImageScale,oauthappid,open,portal:,subtitleText,titleText"],"instant-apps-language-switcher":[()=>import("./AVSO56QZ.js").then(m=>m.default.then(e=>({InstantAppsLanguageSwitcher:e}))),"calciteDropdownOverlayPositioning,defaultLocale,icon,locales:,portalItem:,selectedLanguage,view:;refresh"],"instant-apps-language-translator":[()=>import("./26RBTMKU.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslator:e}))),"_messages:,appSettings:,locales:,open,portalItem:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:;batchWriteToPortalItemResource,getPortalItemResource,getTranslationData,setTranslationData"],"instant-apps-ckeditor-wrapper":[()=>import("./CWT2ZAQ6.js"),"config:,editorInstance:,value"],"instant-apps-language-translator-content":[()=>import("./DCM5QRV6.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorContent:e}))),"_messages:"],"instant-apps-language-translator-item":[()=>import("./GEHBDP52.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorItem:e}))),"fieldName,setting:,translatedLanguageLabels:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:"],"instant-apps-language-translator-search":[()=>import("./N5RPCP3A.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorSearch:e}))),"t9nPlaceholder"],"instant-apps-measurement":[()=>import("./7B7ZJJMJ.js"),"_messages:,activeToolType,areaUnit,closable,coordinateFormat,linearUnit,showHeading,view:"],"instant-apps-measurement-tool":[()=>import("./2UIWWBIH.js").then(m=>m.default.then(e=>({InstantAppsMeasurementTool:e}))),"activeTool,measureConfiguration:,view:"],"instant-apps-popover":[()=>import("./EYFE2OOK.js"),"_messages:,content,disableAction,imgAlt,imgSrc,index,mediaSrc,messageOverrides:,pagination,parent:,placement,popoverAction:,popoverTitle,referenceElement,refId,subtitle"],"instant-apps-popovers":[()=>import("./C6LJNGJU.js"),"beforeOpen:,currentId,instantAppsPopovers:,inTour;beginTour,close,done,endTour,next,open,previous"],"instant-apps-scoreboard":[()=>import("./E62ERGXQ.js").then(m=>m.default.then(e=>({InstantAppsScoreboard:e}))),"_messages:,autoDockEnabled,geometry:,itemLimit,items:,mode,position,queryType,view:"],"instant-apps-selection-toolbar":[()=>import("./ELGSNGSL.js").then(m=>m.default.then(e=>({InstantAppsSelectionToolbar:e}))),"_messages:,continuousSelectionEnabled,disabled,enabledTool,readyToSelect,selectedCount:,selectionManager:,selectionToolbarViewModel:,sources:,view:;getSelectedFeatures;clearSelection"],"instant-apps-sign-in":[()=>import("./WOHWRJVM.js").then(m=>m.default.then(e=>({InstantAppsSignIn:e}))),"_messages:,closeLandingPage:,landingPage,oauthappid,openInPopup,portal:,showIndicator,signInPopoverItems:,type"],"instant-apps-social-share":[()=>import("./G7FUC22M.js").then(m=>m.default.then(e=>({InstantAppsSocialShare:e}))),"_messages:,autoUpdateShareUrl,defaultUrlParams:,displayTipText,embed,flipRtl,iframeInnerText,inlineSuccessPopoverPlacement,isNativeShareEnabled,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonColor,shareButtonScale,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,successMessage,useNativeShare,view:"],"instant-apps-splash":[()=>import("./H73TAHQU.js"),"_messages:,closeBehavior,closeButtonDisabled,confirmationText,content,isConfirmed:,localStorageKey,open,outsideCloseDisabled,primaryButtonText,secondaryButton,secondaryButtonCallback:,secondaryButtonIcon,secondaryButtonText,titleText"],"instant-apps-time-filter":[()=>import("./SR2CKHRR.js").then(m=>m.default.then(e=>({InstantAppsTimeFilter:e}))),"_messages:,autoPlay,filterMode:,timeInfoConfigItems:,timeSliderConfig:,view:"]});export{o as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as M}from"./PHHDNMAS.js";import"./42CN2HQC.js";import b from"./CEP54NLT.js";import a from"./YVNP437O.js";import{a as L}from"./SHFWVVGY.js";import"./7NDNEWIB.js";import"./46MUUBPE.js";import{b as I}from"./2MOSXHFG.js";import{E as h,F as r,G as $,I as d,J as v,h as g,i as l,l as w,q as _,t as y}from"./7MSBIQLE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,{d:C}])=>{var F=g`@layer{:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-surface-2)}.padding-1-2{padding:.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.z-index-2{z-index:2!important}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-top{border-top:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none!important}.adjusted-height-50_25{height:calc(50% + 25px)}.display-grid{display:grid}.padding-inline-start-75{padding-inline-start:.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button,.esri-floor-filter__level-button,.esri-floor-filter__browse-button{width:40px!important;height:40px!important}.position-absolute-0{position:absolute;inset:0}.visibility-hidden{visibility:hidden;height:0px}.border-width-0{border-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;margin:100px 0;z-index:1}.left-0{left:0}.right-0{right:0}.floating-container .floating-button{box-shadow:0 10px 25px #5c5d5e99;-webkit-transform:translatey(5px);transform:translatey(5px);-webkit-transition:all .3s;transition:all .3s}.z-index-0{z-index:0!important}.z-index-1{z-index:1!important}.filter-content-space{--calcite-dialog-content-space: 0px}.background-dark{background:var(--calcite-color-surface-1)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}calcite-action-bar{--calcite-internal-action-bar-gap: 0px;--calcite-internal-action-bar-padding: 0px}}`,m=class extends ${constructor(){super(),this.coverPageEnabled=!1,this.customInfoText="",this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.honorMapFieldSettings=!1,this.introductionWindowEnabled=!1,this.enableAutoRefresh=!1,this.enableBasemap=!0,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableHome=!0,this.enableLegend=!0,this.enableLayerList=!0,this.enableMapList=!0,this.visibilityIcon="eyeball",this.enableSearch=!0,this.enableShare=!1,this.enableSnapping=!0,this.enableZoom=!0,this.mapInfos=[],this.onlyShowUpdatableLayers=!1,this.popupHeaderColor="",this.popupHeaderHoverColor="",this.popupHeaderHoverTextColor="",this.popupHeaderTextColor="",this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!0,this.theme="light",this.zoomAndScrollToSelected=!1,this.enableSelectionTool=!0,this.featureSelectionMode="multiple",this._deleteDialogOpen=!1,this._enableCreateFeatures=!0,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._translations=L({name:"crowdsource-manager",blocking:!0}),this._layoutMode="GRID",this._panelOpen=!0,this._numSelected=0,this._filterOpen=!1,this._showInformationHeader=!0,this._layerExpressions=[],this._layerIds=[],this._isLoading=!0,this._mapExtentFilterChecked=!1,this._deleteIds=[],this._showInvalidMapAlert=!1,this._currentMapInfos=[],this._defaultAppLayoutHonored=!1,this._defaultCenterHonored=!1,this._defaultLevelHonored=!1,this._layerTable=h(),this._shouldSetMapView=!1,this._filterList=h(),this._mapCard=h(),this._isMapViewOnLoad=!1,this.showIntroductionWindow=_(),this.showCoverPage=_(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"popupClosed",this.popupClosed),this.listenOn(window,"layoutChanged",this.layoutChanged),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"showDelete",this.showDelete),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"relatedRecordToggled",this.relatedRecordToggled),this.listenOn(window,"creatingFeature",this.creatingFeature),M(window)}static{this.properties={appLayout:1,appProxies:1,basemapConfig:0,coverPageEnabled:5,customInfoText:1,defaultAppLayout:1,defaultCenter:1,defaultGlobalId:1,defaultLayer:1,defaultLevel:1,defaultOid:1,defaultWebmap:1,honorMapFieldSettings:5,introductionWindowEnabled:5,enableAutoRefresh:5,enableBasemap:5,enableColumnReorder:5,enableCSV:5,enableFloorFilter:5,enableFullscreen:5,enableHome:5,enableLegend:5,enableLayerList:5,enableMapList:5,visibilityIcon:1,enableSearch:5,enableShare:5,enableSnapping:5,enableZoom:5,mapInfos:0,onlyShowUpdatableLayers:5,popupHeaderColor:1,popupHeaderHoverColor:1,popupHeaderHoverTextColor:1,popupHeaderTextColor:1,searchConfiguration:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,theme:1,zoomAndScrollToSelected:5,zoomToScale:9,enableSelectionTool:5,featureSelectionMode:1,_deleteDialogOpen:16,_enableCreateFeatures:16,_hideFooter:16,_hideTable:16,_isMobile:16,_translations:16,_layer:16,_layoutMode:16,_mapInfo:16,_mapView:16,_panelOpen:16,_numSelected:16,_filterOpen:16,_showInformationHeader:16,_layerExpressions:16,_layerIds:16,_isLoading:16,_mapExtentFilterChecked:16,_deleteIds:16,_showInvalidMapAlert:16,_currentMapInfos:16}}static{this.styles=F}static{this.shadowRootOptions=y}willUpdate(e){e.has("appLayout")&&this.appLayout&&this.appLayoutWatchHandler(this.appLayout,e.get("appLayout")),e.has("enableZoom")&&(this.hasUpdated||this.enableZoom!==!0)&&this.enableZoomWatchHandler(),e.has("mapInfos")&&this.hasUpdated&&this.mapInfosWatchHandler()}appLayoutWatchHandler(e,t){e!==t&&(this._layerTable.value?.validateTableUpdate(e==="splitView"),this._setActiveLayout(e),this.appLayout==="mapView"&&this._layer?.isTable&&this._mapCard.value&&this._mapCard.value.updateLayer(),this._isMapViewOnLoad&&this._layerTable.value&&this._layerTable.value.refresh())}enableZoomWatchHandler(){this._initMapZoom()}mapInfosWatchHandler(){this.updateCurrentMapInfos()}async featureSelectionChange(e){this._numSelected=e.detail?.length}async popupClosed(){this._isMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(e){this._layoutMode=e.detail}async mapChanged(e){this._isMapViewOnLoad&&(this._showMapInFullView(),this._isMapViewOnLoad=!1),this._mapChange=e.detail,this.showHideMapPopupAndTable(!1),this._mapChange?.isValid?await this._mapChange.mapView?.when(async()=>{await this._setMapView()}):(this._mapInfo=this._mapChange&&this._getMapInfo(this._mapChange.id),this._showInvalidMapAlert=!0)}async layerSelectionChange(e){let t=e.detail[0],i=this._mapView&&await C(this._mapView,t);i&&await i.when(()=>{i.isTable&&!this._isMobile&&(this.appLayout="tableView"),this._layer=i,this._initLayerExpressions(),this._handleFilterListReset(),this._isLoading=!1})}async showDelete(e){this._deleteIds=e.detail.ids,this._deleteDialogOpen=!0}async noLayersFound(){this._layer=void 0,this._isLoading=!1}async clearSelection(){this.showHideMapPopupAndTable(!1)}async relatedRecordToggled(e){let t=e.detail;this._relatedTableLayer=t}async creatingFeature(){this.appLayout="splitView"}load(){this.updateCurrentMapInfos(),this._resizeObserver=new ResizeObserver(()=>this._onResize())}render(){let e=this.popupHeaderColor&&this.popupHeaderColor!=="#FFFFFF"?"border-width-0":"",t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",i=this._translations.invalidWebMapMsg?.replace("{{web_map}}",this._mapInfo?.name||"");return l`${this._showInvalidMapAlert&&l`<calcite-alert auto-close class=${d(t)} icon=check-circle kind=danger label @calciteAlertClose=${()=>{this._showInvalidMapAlert=!1}} open placement=top><div slot=message>${i}</div></calcite-alert>`||""}<calcite-shell class="position-relative"><calcite-panel class=${`width-full height-full ${e}`} .loading=${this._isLoading}>${this._getBody(this._layoutMode,this._panelOpen,this._hideTable)}</calcite-panel>${this._getFooter()}</calcite-shell>${this._filterModal()}${!this._isMobile&&this._deleteModal()||""}`}async updated(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}loaded(){this._resizeObserver?.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad=this.appLayout==="mapView",this._setActiveLayout(this.appLayout)}_getFooter(){let e=this._numSelected>0,t=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._relatedTableLayer:this._layer,i=this._layer?.editingEnabled&&this._layer.capabilities?.operations.supportsDelete;return this._isMobile&&e&&!this._hideFooter?l`<div class=${"width-100"} slot=footer><div class="display-flex padding-1-2"><calcite-button appearance=solid id=solutions-show @click=${()=>this.showHideMapPopupAndTable(!0)} width=full>${this._translations.view.replace("{{n}}",this._numSelected.toString())}</calcite-button>${i?l`<delete-button class="padding-inline-start-1 width-full" id=solutions-delete .ids=${this.updateIdsToBeDeleted()} @deleteClicked=${this.updateIdsToBeDeleted} .layer=${t}></delete-button>`:void 0}</div></div>`:void 0}updateIdsToBeDeleted(){return this._deleteIds=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._layerTable.value.selectedRelatedIds:this._layerTable.value?.selectedIds,this._deleteIds}_setActiveLayout(e){e==="splitView"&&!this._panelOpen&&this._toggleLayout(),e==="mapView"?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(e,t){return e==="HORIZONTAL"?t?"chevrons-up":"chevrons-down":e==="VERTICAL"||e==="GRID"?t?"chevrons-left":"chevrons-right":void 0}_getMapSizeClass(e,t,i){let a="";switch(e){case"HORIZONTAL":a=`${t&&!i?"height-1-2 display-grid":t&&i?"height-full":"height-0"} width-full position-relative`;break;case"GRID":a=`height-full position-relative ${t?"width-1-3":"width-0"}`;break;case"VERTICAL":a=`height-full position-relative ${t?"width-1-2":"width-0"}`;break}return a}_getTableSizeClass(e,t){let i="";switch(e){case"HORIZONTAL":i=`${t?"height-1-2":"height-full"} width-full display-flex flex-column`;break;case"GRID":i=`${t?"width-2-3":"width-full"} height-full display-flex`;break;case"VERTICAL":i=`${t?"width-1-2":"width-full"} height-full display-flex`;break}return i}_getBody(e,t,i){let a=e==="HORIZONTAL"?"":"display-flex",s=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",o=document.dir==="rtl"?"left-0":"right-0";return l`<calcite-panel class="width-full height-full position-absolute"><div class=${`width-full height-full overflow-hidden ${a}`}>${this._getMapAndCard(e,t,i)}${this._getTable(e,t,i)}</div>${this.coverPageEnabled&&l`<div class=${`floating-container ${o}`} @click=${this.coverPageButtonClick}><calcite-button appearance=solid class=${`floating-button ${s}`} icon-start=content-minimal kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}${this.introductionWindowEnabled&&l`<div class=${`floating-container ${o}`} @click=${this.infoButtonClick}><calcite-button appearance=solid class=${`floating-button ${s}`} icon-start=information-letter kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}</calcite-panel>`}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(e,t,i){let a=this._getMapSizeClass(e,t,i);return l`<div class=${`${a} overflow-hidden z-index-2`}>${this._getMapNode(t)}${this._getPopupExpandNode()}</div>`}_getMapNode(e){let t=this.appLayout==="mapView",i=this.appLayout==="tableView",a=this._isMobile?"height-full":t||i?"position-absolute-0":this._layoutMode==="HORIZONTAL"&&(!this._isMobile||e)?"":"adjusted-height-50",s=this.defaultWebmap&&this.defaultLayer,o=this.enableSelectionTool&&this.featureSelectionMode==="multiple"&&!this._layer?.isTable,p=["home","legend","search","fullscreen","basemap","floorfilter","layers-list","selectiontool"],c=["map-picker","map-layer-picker"],n=document.dir||"ltr";return l`<div class=${`${a} overflow-hidden`} id=card-mapView><map-card .appLayout=${this.appLayout} .appProxies=${this.appProxies} .basemapConfig=${this.basemapConfig} class="width-full" .defaultLayerId=${s?this.defaultLayer:""} .defaultWebmapId=${this.defaultWebmap} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableLayerList=${this.enableLayerList} .enableSearch=${this.enableSearch} .enableSelectionTool=${o} .enableShare=${this.enableShare} enable-single-expand enable-map-layer-picker enable-map-picker .featureSelectionMode=${this.featureSelectionMode} .hide=${!this._isMobile&&i} zoom-tools-size=s .isMapLayout=${t} .isMobile=${this._isMobile} .mapInfo=${this._mapInfo} .mapInfos=${this._currentMapInfos.filter(u=>u.visible!==!1)} map-widgets-index=0 .mapWidgetsPosition=${n==="rtl"?"top-right":"top-left"} .mobileMapWidgetsPosition=${n==="rtl"?"top-left":"top-right"} map-widgets-size=m .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .selectedFeaturesIds=${this._layerTable.value?.selectedIds??[]} .selectedLayer=${this._layer} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} stack-tools .theme=${this.theme} .visibilityIcon=${this.visibilityIcon} .mapToolsOrder=${p} .mobileToolsOrder=${c} .zoomToScale=${this.zoomToScale} ${r(this._mapCard)}></map-card></div>`}_getPopupExpandNode(){let e=this._isMobile?"height-full":"height-full position-relative",t=this._isMobile&&this._showInformationHeader?"display-none height-0":"",i=this.popupHeaderColor?"":this._isMobile?"calcite-mode-light":"calcite-mode-dark",a=this._isMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isMobile?"display-none height-0":"",s=this._currentMapInfos?.length>1&&this.appLayout==="tableView"?"position-relative top-51":"",o=this.appLayout!=="tableView"?"position-sticky":"";return l`<div class=${`${i} ${e} ${a} ${s} ${o}`} style=${v({"--calcite-color-surface-2":this.popupHeaderColor,"--calcite-color-surface-3":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor})}><calcite-panel>${!this._isMobile&&this._showInformationHeader||this._numSelected>0&&!this._isMobile?l`<div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-icon icon=information scale=s></calcite-icon><div class="padding-inline-start-75">${this._translations.information}</div></div>`:l`<div></div>`}${this._getCardNode()}</calcite-panel></div>`}_getCardNode(){let e=this.appLayout==="mapView",t=this.appLayout==="tableView",i=this._isMobile?"height-full":t&&this._currentMapInfos?.length>1?"adjusted-height-100-51":e||t?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isMobile?"height-full":"height-50":"adjusted-height-50_25",a=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",s=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._relatedTableLayer:this._layer;return l`<div class=${`width-50 height-full ${a}`}><card-manager class=${`${i} width-full`} .customInfoText=${this.customInfoText} .enableCreateFeatures=${this._enableCreateFeatures&&!this._isMobile} .createBtnLabel=${this._mapInfo?.createFeatureButtonLabel} .enableEditGeometry=${this._mapInfo?.enableEditGeometry} .enableSnapping=${this.enableSnapping} .isMobile=${this._isMobile} .layerOrTable=${s} .mapView=${this?._mapView} @backFromCreateWorkFlow=${()=>{this._showInformationHeader=!0}} @createWorkFlowStarted=${()=>{this.appLayout=s?.isTable?"tableView":"mapView",this._showInformationHeader=!1}} @featureOrRecordSubmitted=${()=>this._layerTable.value&&void this._layerTable.value.refresh()} .selectedFeaturesIds=${this._layerTable.value?.selectedIds} .selectingFeatureFromMap=${this.appLayout==="mapView"} .showSketchWidgets=${s?.geometryType!=="point"} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected}></card-manager></div>`}_getTable(e,t,i){let a=this.appLayout==="mapView",s=this.appLayout==="tableView",o=i&&this._isMobile?"visibility-hidden":a?"display-none":"",p=a?"height-full width-full z-index-0":"display-none",c=this._getTableSizeClass(e,t),n=e==="HORIZONTAL"?"horizontal":"vertical",u=e==="HORIZONTAL"?"header":"panel-start",b=this.defaultWebmap&&this.defaultLayer,x=this._isMobile?"border-top":"",f=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,T=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map(S=>Number.parseInt(S,10)):[Number.parseInt(this.defaultOid,10)]:void 0;return l`<calcite-shell class=${`${c} ${x} border-bottom z-index-1`}>${this._isMobile?void 0:l`<calcite-action-bar class="border-sides" expand-disabled .layout=${n} slot=${u??w}>${this.getActions(e,t)}</calcite-action-bar>`}<div class=${`width-full height-full position-relative z-index-0 ${o}`}><layer-table .appLayout=${this.appLayout} .defaultGlobalId=${b?f:void 0} .defaultLayerId=${b?this.defaultLayer:""} .defaultOid=${b&&!f?T:void 0} .enableAutoRefresh=${this.enableAutoRefresh} .enableCSV=${this.enableCSV} .enableColumnReorder=${this.enableColumnReorder} .enableInlineEdit=${this?._mapInfo?.enableInlineEdit} .enableTableAutosave=${this._mapInfo?.enableTableAutosave!==void 0?this._mapInfo?.enableTableAutosave:!0} .enableShare=${this.enableShare} .featureSelectionMode=${this.featureSelectionMode} .honorMapFieldSettings=${this.honorMapFieldSettings} .isMobile=${this._isMobile} .mapHidden=${s} .mapInfo=${this._mapInfo} .mapView=${this?._mapView} .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} .showNewestFirst=${this.showNewestFirst} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected} .zoomToScale=${this.zoomToScale} ${r(this._layerTable)}></layer-table></div><div class=${d(p)} id=full-map-view></div></calcite-shell>`}getActions(e,t){let i=this._getDividerIcon(e,t),a=t?this._translations.close:this._translations.open,s="toggle-layout";return l`<calcite-action .active=${this.appLayout==="splitView"} alignment=center appearance=solid class="toggle-node" icon=browser id=browser-action @click=${()=>{this.appLayout="splitView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-action><span>${this._translations.splitView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="tableView"} alignment=center appearance=solid class="toggle-node" icon=dock-left id=dock-left-action @click=${()=>{this.appLayout="tableView"}} text></calcite-action><calcite-tooltip placement=right reference-element=dock-left-action><span>${this._translations.tableView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="mapView"} alignment=center appearance=solid class="toggle-node" .disabled=${this._layer?.isTable} icon=browser-map id=browser-map-action @click=${()=>{this.appLayout="mapView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-map-action><span>${this._translations.mapView}</span></calcite-tooltip><calcite-action alignment=center appearance=solid class="toggle-node" .icon=${i} id=${s} @click=${()=>this._toggleLayout()} slot=actions-end text></calcite-action><calcite-tooltip placement=bottom .referenceElement=${s}><span>${a}</span></calcite-tooltip>`}_deleteModal(){let e=(this._layerTable.value?.selectedRelatedIds?.length??0)>0?this._relatedTableLayer:this._layer;return l`<delete-dialog id=deleteDialogId .ids=${this._deleteIds} .layer=${e} @deleteDialogClose=${()=>this._deleteDialogOpen=!1} .open=${this._deleteDialogOpen}></delete-dialog>`}_mapExtentFilter(){let e=this._layerExpressions?.length===0;return l`<calcite-panel><div><calcite-block class=${d(this.theme==="dark"?"background-dark":"")} heading menu-placement=bottom-end open><div class="filter-extent-container"><div class="filter-extent-message"><span>${this._translations.filterByExtentMsg}</span><calcite-icon icon=information id=filter-message-info scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top reference-element=filter-message-info>${this._translations.filterByExtentTooltipMsg}</calcite-tooltip></div><calcite-switch .checked=${this._mapExtentFilterChecked} @calciteSwitchChange=${t=>{let i=!!(t.target.checked||this._filterList.value?.filterCount&&this._filterList.value?.filterCount>0);this._layerTable.value&&this._layerTable.value?.filterUpdate(i,t.target.checked),this._mapCard.value&&this._mapCard.value?.updateFilterState(i),this._mapExtentFilterChecked=t.target.checked}} scale=m></calcite-switch></div></calcite-block>${e&&l`<div class="filter-modal-buttons" slot=footer><calcite-button appearance=outline @click=${this._handleFilterListReset} width=full>${this._translations.Resetfilter}</calcite-button><calcite-button @click=${this._closeFilter} width=full>${this._translations.close}</calcite-button></div>`||""}</div></calcite-panel>`}_filterModal(){let e=this._layerExpressions?.length>0,t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-dialog class=${`filter-content-space ${t}`} .heading=${this._translations.filter.replace("{{title}}",this._layer?.title||"")} id=solutions-filter-dialog-manager kind=brand modal @calciteDialogClose=${()=>{this._closeFilter()}} .open=${this._filterOpen} width=s>${!this._layer?.isTable&&this._mapExtentFilter()||""}${e&&this._mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>{this._closeFilter()}} combobox-overlay-positioning=fixed .layerExpressions=${this._layerExpressions} @filterListReset=${this._handleFilterListReset} @filterUpdate=${()=>{this._updateFilter()}} .view=${this._mapView} ${r(this._filterList)}></instant-apps-filter-list>`||""}</calcite-dialog>`}_updateFilter(){let e=this._filterList?.value?.filterCount&&this._filterList.value.filterCount>0||this._mapExtentFilterChecked;this._layerTable.value&&this._layerTable.value?.filterUpdate(e),this._mapCard.value&&this._mapCard.value.updateFilterState(e)}_initLayerExpressions(){let e=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=e?e.filter(t=>t.id===this._layer?.id):[]}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._mapExtentFilterChecked=!1,this._mapCard.value&&this._mapCard.value.resetFilter(),this._layerTable.value&&this._layerTable.value.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.value&&this._layerTable.value.closeFilter())}_onResize(){let e=this.el.offsetWidth<=1024,t=!this._isMobile&&e;this._isMobile=e,t&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this.appLayout="splitView"):(this._layer?.isTable&&(this.appLayout="tableView"),this._isMobile=!1),this._layoutMode=this._isMobile?"HORIZONTAL":"GRID"}updateCurrentMapInfos(){this._currentMapInfos=this.mapInfos,!this.enableMapList&&this.defaultWebmap&&(this._currentMapInfos=this.mapInfos.filter(e=>e.id===this.defaultWebmap))}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if(this.appLayout!=="mapView"){let e=document.getElementById("full-map-view")?.childNodes[0],t=document.getElementById("card-mapView");e&&t&&t.appendChild(e)}}_showMapInFullView(){let e=document.getElementById("card-mapView")?.childNodes,t;e?.forEach(a=>{!t&&a.mapView&&(t=a)});let i=document.getElementById("full-map-view");t&&i&&i.appendChild(t)}showHideMapPopupAndTable(e){this._hideTable=e,this._hideFooter=e}_getMapInfo(e){let t;return this._currentMapInfos.some(i=>i.id===e?(t={...i},!0):!1),t}async _setMapView(){let e=this._mapChange&&this._getMapInfo(this._mapChange.id);if(e&&this._mapChange){this._mapInfo=e,this._initLayerExpressions(),this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView&&(this._mapView.popupEnabled=!1);let t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map(a=>Number.parseFloat(a)),i=!this.defaultLevel||this._defaultLevelHonored?void 0:Number.parseInt(this.defaultLevel,10);t&&i&&(await this._mapView?.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView?.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView?.ui.remove("zoom")}};I("crowdsource-manager",m);return m},a,b)
|
|
2
|
+
import{a as M}from"./2WTVBIT3.js";import"./4AW45DXY.js";import b from"./CEP54NLT.js";import a from"./YVNP437O.js";import{a as L}from"./Q5ZGIKBW.js";import"./OQH2TBQQ.js";import"./3LTRULIX.js";import{b as I}from"./FCSE4STJ.js";import{E as h,F as r,G as $,I as d,J as v,h as g,i as l,l as w,q as _,t as y}from"./P4PCDUNA.js";import"./QPIMTXPL.js";export default $arcgis.t(([,{d:C}])=>{var F=g`@layer{:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-surface-2)}.padding-1-2{padding:.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.z-index-2{z-index:2!important}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-top{border-top:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none!important}.adjusted-height-50_25{height:calc(50% + 25px)}.display-grid{display:grid}.padding-inline-start-75{padding-inline-start:.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button,.esri-floor-filter__level-button,.esri-floor-filter__browse-button{width:40px!important;height:40px!important}.position-absolute-0{position:absolute;inset:0}.visibility-hidden{visibility:hidden;height:0px}.border-width-0{border-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;margin:100px 0;z-index:1}.left-0{left:0}.right-0{right:0}.floating-container .floating-button{box-shadow:0 10px 25px #5c5d5e99;-webkit-transform:translatey(5px);transform:translatey(5px);-webkit-transition:all .3s;transition:all .3s}.z-index-0{z-index:0!important}.z-index-1{z-index:1!important}.filter-content-space{--calcite-dialog-content-space: 0px}.background-dark{background:var(--calcite-color-surface-1)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}calcite-action-bar{--calcite-internal-action-bar-gap: 0px;--calcite-internal-action-bar-padding: 0px}}`,m=class extends ${constructor(){super(),this.coverPageEnabled=!1,this.customInfoText="",this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.honorMapFieldSettings=!1,this.introductionWindowEnabled=!1,this.enableAutoRefresh=!1,this.enableBasemap=!0,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableHome=!0,this.enableLegend=!0,this.enableLayerList=!0,this.enableMapList=!0,this.visibilityIcon="eyeball",this.enableSearch=!0,this.enableShare=!1,this.enableSnapping=!0,this.enableZoom=!0,this.mapInfos=[],this.onlyShowUpdatableLayers=!1,this.popupHeaderColor="",this.popupHeaderHoverColor="",this.popupHeaderHoverTextColor="",this.popupHeaderTextColor="",this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!0,this.theme="light",this.zoomAndScrollToSelected=!1,this.enableSelectionTool=!0,this.featureSelectionMode="multiple",this._deleteDialogOpen=!1,this._enableCreateFeatures=!0,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._translations=L({name:"crowdsource-manager",blocking:!0}),this._layoutMode="GRID",this._panelOpen=!0,this._numSelected=0,this._filterOpen=!1,this._showInformationHeader=!0,this._layerExpressions=[],this._layerIds=[],this._isLoading=!0,this._mapExtentFilterChecked=!1,this._deleteIds=[],this._showInvalidMapAlert=!1,this._currentMapInfos=[],this._defaultAppLayoutHonored=!1,this._defaultCenterHonored=!1,this._defaultLevelHonored=!1,this._layerTable=h(),this._shouldSetMapView=!1,this._filterList=h(),this._mapCard=h(),this._isMapViewOnLoad=!1,this.showIntroductionWindow=_(),this.showCoverPage=_(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"popupClosed",this.popupClosed),this.listenOn(window,"layoutChanged",this.layoutChanged),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"showDelete",this.showDelete),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"relatedRecordToggled",this.relatedRecordToggled),this.listenOn(window,"creatingFeature",this.creatingFeature),M(window)}static{this.properties={appLayout:1,appProxies:1,basemapConfig:0,coverPageEnabled:5,customInfoText:1,defaultAppLayout:1,defaultCenter:1,defaultGlobalId:1,defaultLayer:1,defaultLevel:1,defaultOid:1,defaultWebmap:1,honorMapFieldSettings:5,introductionWindowEnabled:5,enableAutoRefresh:5,enableBasemap:5,enableColumnReorder:5,enableCSV:5,enableFloorFilter:5,enableFullscreen:5,enableHome:5,enableLegend:5,enableLayerList:5,enableMapList:5,visibilityIcon:1,enableSearch:5,enableShare:5,enableSnapping:5,enableZoom:5,mapInfos:0,onlyShowUpdatableLayers:5,popupHeaderColor:1,popupHeaderHoverColor:1,popupHeaderHoverTextColor:1,popupHeaderTextColor:1,searchConfiguration:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,theme:1,zoomAndScrollToSelected:5,zoomToScale:9,enableSelectionTool:5,featureSelectionMode:1,_deleteDialogOpen:16,_enableCreateFeatures:16,_hideFooter:16,_hideTable:16,_isMobile:16,_translations:16,_layer:16,_layoutMode:16,_mapInfo:16,_mapView:16,_panelOpen:16,_numSelected:16,_filterOpen:16,_showInformationHeader:16,_layerExpressions:16,_layerIds:16,_isLoading:16,_mapExtentFilterChecked:16,_deleteIds:16,_showInvalidMapAlert:16,_currentMapInfos:16}}static{this.styles=F}static{this.shadowRootOptions=y}willUpdate(e){e.has("appLayout")&&this.appLayout&&this.appLayoutWatchHandler(this.appLayout,e.get("appLayout")),e.has("enableZoom")&&(this.hasUpdated||this.enableZoom!==!0)&&this.enableZoomWatchHandler(),e.has("mapInfos")&&this.hasUpdated&&this.mapInfosWatchHandler()}appLayoutWatchHandler(e,t){e!==t&&(this._layerTable.value?.validateTableUpdate(e==="splitView"),this._setActiveLayout(e),this.appLayout==="mapView"&&this._layer?.isTable&&this._mapCard.value&&this._mapCard.value.updateLayer(),this._isMapViewOnLoad&&this._layerTable.value&&this._layerTable.value.refresh())}enableZoomWatchHandler(){this._initMapZoom()}mapInfosWatchHandler(){this.updateCurrentMapInfos()}async featureSelectionChange(e){this._numSelected=e.detail?.length}async popupClosed(){this._isMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(e){this._layoutMode=e.detail}async mapChanged(e){this._isMapViewOnLoad&&(this._showMapInFullView(),this._isMapViewOnLoad=!1),this._mapChange=e.detail,this.showHideMapPopupAndTable(!1),this._mapChange?.isValid?await this._mapChange.mapView?.when(async()=>{await this._setMapView()}):(this._mapInfo=this._mapChange&&this._getMapInfo(this._mapChange.id),this._showInvalidMapAlert=!0)}async layerSelectionChange(e){let t=e.detail[0],i=this._mapView&&await C(this._mapView,t);i&&await i.when(()=>{i.isTable&&!this._isMobile&&(this.appLayout="tableView"),this._layer=i,this._initLayerExpressions(),this._handleFilterListReset(),this._isLoading=!1})}async showDelete(e){this._deleteIds=e.detail.ids,this._deleteDialogOpen=!0}async noLayersFound(){this._layer=void 0,this._isLoading=!1}async clearSelection(){this.showHideMapPopupAndTable(!1)}async relatedRecordToggled(e){let t=e.detail;this._relatedTableLayer=t}async creatingFeature(){this.appLayout="splitView"}load(){this.updateCurrentMapInfos(),this._resizeObserver=new ResizeObserver(()=>this._onResize())}render(){let e=this.popupHeaderColor&&this.popupHeaderColor!=="#FFFFFF"?"border-width-0":"",t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",i=this._translations.invalidWebMapMsg?.replace("{{web_map}}",this._mapInfo?.name||"");return l`${this._showInvalidMapAlert&&l`<calcite-alert auto-close class=${d(t)} icon=check-circle kind=danger label @calciteAlertClose=${()=>{this._showInvalidMapAlert=!1}} open placement=top><div slot=message>${i}</div></calcite-alert>`||""}<calcite-shell class="position-relative"><calcite-panel class=${`width-full height-full ${e}`} .loading=${this._isLoading}>${this._getBody(this._layoutMode,this._panelOpen,this._hideTable)}</calcite-panel>${this._getFooter()}</calcite-shell>${this._filterModal()}${!this._isMobile&&this._deleteModal()||""}`}async updated(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}loaded(){this._resizeObserver?.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad=this.appLayout==="mapView",this._setActiveLayout(this.appLayout)}_getFooter(){let e=this._numSelected>0,t=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._relatedTableLayer:this._layer,i=this._layer?.editingEnabled&&this._layer.capabilities?.operations.supportsDelete;return this._isMobile&&e&&!this._hideFooter?l`<div class=${"width-100"} slot=footer><div class="display-flex padding-1-2"><calcite-button appearance=solid id=solutions-show @click=${()=>this.showHideMapPopupAndTable(!0)} width=full>${this._translations.view.replace("{{n}}",this._numSelected.toString())}</calcite-button>${i?l`<delete-button class="padding-inline-start-1 width-full" id=solutions-delete .ids=${this.updateIdsToBeDeleted()} @deleteClicked=${this.updateIdsToBeDeleted} .layer=${t}></delete-button>`:void 0}</div></div>`:void 0}updateIdsToBeDeleted(){return this._deleteIds=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._layerTable.value.selectedRelatedIds:this._layerTable.value?.selectedIds,this._deleteIds}_setActiveLayout(e){e==="splitView"&&!this._panelOpen&&this._toggleLayout(),e==="mapView"?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(e,t){return e==="HORIZONTAL"?t?"chevrons-up":"chevrons-down":e==="VERTICAL"||e==="GRID"?t?"chevrons-left":"chevrons-right":void 0}_getMapSizeClass(e,t,i){let a="";switch(e){case"HORIZONTAL":a=`${t&&!i?"height-1-2 display-grid":t&&i?"height-full":"height-0"} width-full position-relative`;break;case"GRID":a=`height-full position-relative ${t?"width-1-3":"width-0"}`;break;case"VERTICAL":a=`height-full position-relative ${t?"width-1-2":"width-0"}`;break}return a}_getTableSizeClass(e,t){let i="";switch(e){case"HORIZONTAL":i=`${t?"height-1-2":"height-full"} width-full display-flex flex-column`;break;case"GRID":i=`${t?"width-2-3":"width-full"} height-full display-flex`;break;case"VERTICAL":i=`${t?"width-1-2":"width-full"} height-full display-flex`;break}return i}_getBody(e,t,i){let a=e==="HORIZONTAL"?"":"display-flex",s=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",o=document.dir==="rtl"?"left-0":"right-0";return l`<calcite-panel class="width-full height-full position-absolute"><div class=${`width-full height-full overflow-hidden ${a}`}>${this._getMapAndCard(e,t,i)}${this._getTable(e,t,i)}</div>${this.coverPageEnabled&&l`<div class=${`floating-container ${o}`} @click=${this.coverPageButtonClick}><calcite-button appearance=solid class=${`floating-button ${s}`} icon-start=content-minimal kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}${this.introductionWindowEnabled&&l`<div class=${`floating-container ${o}`} @click=${this.infoButtonClick}><calcite-button appearance=solid class=${`floating-button ${s}`} icon-start=information-letter kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}</calcite-panel>`}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(e,t,i){let a=this._getMapSizeClass(e,t,i);return l`<div class=${`${a} overflow-hidden z-index-2`}>${this._getMapNode(t)}${this._getPopupExpandNode()}</div>`}_getMapNode(e){let t=this.appLayout==="mapView",i=this.appLayout==="tableView",a=this._isMobile?"height-full":t||i?"position-absolute-0":this._layoutMode==="HORIZONTAL"&&(!this._isMobile||e)?"":"adjusted-height-50",s=this.defaultWebmap&&this.defaultLayer,o=this.enableSelectionTool&&this.featureSelectionMode==="multiple"&&!this._layer?.isTable,p=["home","legend","search","fullscreen","basemap","floorfilter","layers-list","selectiontool"],c=["map-picker","map-layer-picker"],n=document.dir||"ltr";return l`<div class=${`${a} overflow-hidden`} id=card-mapView><map-card .appLayout=${this.appLayout} .appProxies=${this.appProxies} .basemapConfig=${this.basemapConfig} class="width-full" .defaultLayerId=${s?this.defaultLayer:""} .defaultWebmapId=${this.defaultWebmap} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableLayerList=${this.enableLayerList} .enableSearch=${this.enableSearch} .enableSelectionTool=${o} .enableShare=${this.enableShare} enable-single-expand enable-map-layer-picker enable-map-picker .featureSelectionMode=${this.featureSelectionMode} .hide=${!this._isMobile&&i} zoom-tools-size=s .isMapLayout=${t} .isMobile=${this._isMobile} .mapInfo=${this._mapInfo} .mapInfos=${this._currentMapInfos.filter(u=>u.visible!==!1)} map-widgets-index=0 .mapWidgetsPosition=${n==="rtl"?"top-right":"top-left"} .mobileMapWidgetsPosition=${n==="rtl"?"top-left":"top-right"} map-widgets-size=m .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .selectedFeaturesIds=${this._layerTable.value?.selectedIds??[]} .selectedLayer=${this._layer} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} stack-tools .theme=${this.theme} .visibilityIcon=${this.visibilityIcon} .mapToolsOrder=${p} .mobileToolsOrder=${c} .zoomToScale=${this.zoomToScale} ${r(this._mapCard)}></map-card></div>`}_getPopupExpandNode(){let e=this._isMobile?"height-full":"height-full position-relative",t=this._isMobile&&this._showInformationHeader?"display-none height-0":"",i=this.popupHeaderColor?"":this._isMobile?"calcite-mode-light":"calcite-mode-dark",a=this._isMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isMobile?"display-none height-0":"",s=this._currentMapInfos?.length>1&&this.appLayout==="tableView"?"position-relative top-51":"",o=this.appLayout!=="tableView"?"position-sticky":"";return l`<div class=${`${i} ${e} ${a} ${s} ${o}`} style=${v({"--calcite-color-surface-2":this.popupHeaderColor,"--calcite-color-surface-3":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor})}><calcite-panel>${!this._isMobile&&this._showInformationHeader||this._numSelected>0&&!this._isMobile?l`<div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-icon icon=information scale=s></calcite-icon><div class="padding-inline-start-75">${this._translations.information}</div></div>`:l`<div></div>`}${this._getCardNode()}</calcite-panel></div>`}_getCardNode(){let e=this.appLayout==="mapView",t=this.appLayout==="tableView",i=this._isMobile?"height-full":t&&this._currentMapInfos?.length>1?"adjusted-height-100-51":e||t?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isMobile?"height-full":"height-50":"adjusted-height-50_25",a=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",s=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._relatedTableLayer:this._layer;return l`<div class=${`width-50 height-full ${a}`}><card-manager class=${`${i} width-full`} .customInfoText=${this.customInfoText} .enableCreateFeatures=${this._enableCreateFeatures&&!this._isMobile} .createBtnLabel=${this._mapInfo?.createFeatureButtonLabel} .enableEditGeometry=${this._mapInfo?.enableEditGeometry} .enableSnapping=${this.enableSnapping} .isMobile=${this._isMobile} .layerOrTable=${s} .mapView=${this?._mapView} @backFromCreateWorkFlow=${()=>{this._showInformationHeader=!0}} @createWorkFlowStarted=${()=>{this.appLayout=s?.isTable?"tableView":"mapView",this._showInformationHeader=!1}} @featureOrRecordSubmitted=${()=>this._layerTable.value&&void this._layerTable.value.refresh()} .selectedFeaturesIds=${this._layerTable.value?.selectedIds} .selectingFeatureFromMap=${this.appLayout==="mapView"} .showSketchWidgets=${s?.geometryType!=="point"} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected}></card-manager></div>`}_getTable(e,t,i){let a=this.appLayout==="mapView",s=this.appLayout==="tableView",o=i&&this._isMobile?"visibility-hidden":a?"display-none":"",p=a?"height-full width-full z-index-0":"display-none",c=this._getTableSizeClass(e,t),n=e==="HORIZONTAL"?"horizontal":"vertical",u=e==="HORIZONTAL"?"header":"panel-start",b=this.defaultWebmap&&this.defaultLayer,x=this._isMobile?"border-top":"",f=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,T=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map(S=>Number.parseInt(S,10)):[Number.parseInt(this.defaultOid,10)]:void 0;return l`<calcite-shell class=${`${c} ${x} border-bottom z-index-1`}>${this._isMobile?void 0:l`<calcite-action-bar class="border-sides" expand-disabled .layout=${n} slot=${u??w}>${this.getActions(e,t)}</calcite-action-bar>`}<div class=${`width-full height-full position-relative z-index-0 ${o}`}><layer-table .appLayout=${this.appLayout} .defaultGlobalId=${b?f:void 0} .defaultLayerId=${b?this.defaultLayer:""} .defaultOid=${b&&!f?T:void 0} .enableAutoRefresh=${this.enableAutoRefresh} .enableCSV=${this.enableCSV} .enableColumnReorder=${this.enableColumnReorder} .enableInlineEdit=${this?._mapInfo?.enableInlineEdit} .enableTableAutosave=${this._mapInfo?.enableTableAutosave!==void 0?this._mapInfo?.enableTableAutosave:!0} .enableShare=${this.enableShare} .featureSelectionMode=${this.featureSelectionMode} .honorMapFieldSettings=${this.honorMapFieldSettings} .isMobile=${this._isMobile} .mapHidden=${s} .mapInfo=${this._mapInfo} .mapView=${this?._mapView} .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} .showNewestFirst=${this.showNewestFirst} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected} .zoomToScale=${this.zoomToScale} ${r(this._layerTable)}></layer-table></div><div class=${d(p)} id=full-map-view></div></calcite-shell>`}getActions(e,t){let i=this._getDividerIcon(e,t),a=t?this._translations.close:this._translations.open,s="toggle-layout";return l`<calcite-action .active=${this.appLayout==="splitView"} alignment=center appearance=solid class="toggle-node" icon=browser id=browser-action @click=${()=>{this.appLayout="splitView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-action><span>${this._translations.splitView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="tableView"} alignment=center appearance=solid class="toggle-node" icon=dock-left id=dock-left-action @click=${()=>{this.appLayout="tableView"}} text></calcite-action><calcite-tooltip placement=right reference-element=dock-left-action><span>${this._translations.tableView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="mapView"} alignment=center appearance=solid class="toggle-node" .disabled=${this._layer?.isTable} icon=browser-map id=browser-map-action @click=${()=>{this.appLayout="mapView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-map-action><span>${this._translations.mapView}</span></calcite-tooltip><calcite-action alignment=center appearance=solid class="toggle-node" .icon=${i} id=${s} @click=${()=>this._toggleLayout()} slot=actions-end text></calcite-action><calcite-tooltip placement=bottom .referenceElement=${s}><span>${a}</span></calcite-tooltip>`}_deleteModal(){let e=(this._layerTable.value?.selectedRelatedIds?.length??0)>0?this._relatedTableLayer:this._layer;return l`<delete-dialog id=deleteDialogId .ids=${this._deleteIds} .layer=${e} @deleteDialogClose=${()=>this._deleteDialogOpen=!1} .open=${this._deleteDialogOpen}></delete-dialog>`}_mapExtentFilter(){let e=this._layerExpressions?.length===0;return l`<calcite-panel><div><calcite-block class=${d(this.theme==="dark"?"background-dark":"")} heading menu-placement=bottom-end open><div class="filter-extent-container"><div class="filter-extent-message"><span>${this._translations.filterByExtentMsg}</span><calcite-icon icon=information id=filter-message-info scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top reference-element=filter-message-info>${this._translations.filterByExtentTooltipMsg}</calcite-tooltip></div><calcite-switch .checked=${this._mapExtentFilterChecked} @calciteSwitchChange=${t=>{let i=!!(t.target.checked||this._filterList.value?.filterCount&&this._filterList.value?.filterCount>0);this._layerTable.value&&this._layerTable.value?.filterUpdate(i,t.target.checked),this._mapCard.value&&this._mapCard.value?.updateFilterState(i),this._mapExtentFilterChecked=t.target.checked}} scale=m></calcite-switch></div></calcite-block>${e&&l`<div class="filter-modal-buttons" slot=footer><calcite-button appearance=outline @click=${this._handleFilterListReset} width=full>${this._translations.Resetfilter}</calcite-button><calcite-button @click=${this._closeFilter} width=full>${this._translations.close}</calcite-button></div>`||""}</div></calcite-panel>`}_filterModal(){let e=this._layerExpressions?.length>0,t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-dialog class=${`filter-content-space ${t}`} .heading=${this._translations.filter.replace("{{title}}",this._layer?.title||"")} id=solutions-filter-dialog-manager kind=brand modal @calciteDialogClose=${()=>{this._closeFilter()}} .open=${this._filterOpen} width=s>${!this._layer?.isTable&&this._mapExtentFilter()||""}${e&&this._mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>{this._closeFilter()}} combobox-overlay-positioning=fixed .layerExpressions=${this._layerExpressions} @filterListReset=${this._handleFilterListReset} @filterUpdate=${()=>{this._updateFilter()}} .view=${this._mapView} ${r(this._filterList)}></instant-apps-filter-list>`||""}</calcite-dialog>`}_updateFilter(){let e=this._filterList?.value?.filterCount&&this._filterList.value.filterCount>0||this._mapExtentFilterChecked;this._layerTable.value&&this._layerTable.value?.filterUpdate(e),this._mapCard.value&&this._mapCard.value.updateFilterState(e)}_initLayerExpressions(){let e=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=e?e.filter(t=>t.id===this._layer?.id):[]}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._mapExtentFilterChecked=!1,this._mapCard.value&&this._mapCard.value.resetFilter(),this._layerTable.value&&this._layerTable.value.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.value&&this._layerTable.value.closeFilter())}_onResize(){let e=this.el.offsetWidth<=1024,t=!this._isMobile&&e;this._isMobile=e,t&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this.appLayout="splitView"):(this._layer?.isTable&&(this.appLayout="tableView"),this._isMobile=!1),this._layoutMode=this._isMobile?"HORIZONTAL":"GRID"}updateCurrentMapInfos(){this._currentMapInfos=this.mapInfos,!this.enableMapList&&this.defaultWebmap&&(this._currentMapInfos=this.mapInfos.filter(e=>e.id===this.defaultWebmap))}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if(this.appLayout!=="mapView"){let e=document.getElementById("full-map-view")?.childNodes[0],t=document.getElementById("card-mapView");e&&t&&t.appendChild(e)}}_showMapInFullView(){let e=document.getElementById("card-mapView")?.childNodes,t;e?.forEach(a=>{!t&&a.mapView&&(t=a)});let i=document.getElementById("full-map-view");t&&i&&i.appendChild(t)}showHideMapPopupAndTable(e){this._hideTable=e,this._hideFooter=e}_getMapInfo(e){let t;return this._currentMapInfos.some(i=>i.id===e?(t={...i},!0):!1),t}async _setMapView(){let e=this._mapChange&&this._getMapInfo(this._mapChange.id);if(e&&this._mapChange){this._mapInfo=e,this._initLayerExpressions(),this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView&&(this._mapView.popupEnabled=!1);let t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map(a=>Number.parseFloat(a)),i=!this.defaultLevel||this._defaultLevelHonored?void 0:Number.parseInt(this.defaultLevel,10);t&&i&&(await this._mapView?.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView?.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView?.ui.remove("zoom")}};I("crowdsource-manager",m);return m},a,b)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import b from"./YYUOLIOE.js";import a from"./KGUELU4O.js";export default $arcgis.t(([S,U,q,v,{a:A,b:D}])=>{var T=5e3,Y=1e4,x=Symbol("TIMEOUT");function R(e,n,l,t=T){return Promise.race([e,new Promise(a=>{setTimeout(()=>{console.warn(`[InteractiveLegend] Timed out waiting for ${n}${l?` (layer: ${l})`:""} after ${t}ms; continuing.`),a(x)},t)})])}function O(e,n,l,t=T){return R(S.whenOnce(e).then(()=>!0),n,l,t)}function P(e,n,l){let t=l?.layer?.id;e.push(R(_(n,l),"createInteractiveLegendDataForLayer",t).then(a=>a===x?null:a))}function Z(e,n){return l=>{let t=l?.layer?.type;if(t==="feature"||t==="group"){P(e,n,l);let a=s=>{P(e,n,s)};l.children.forEach(s=>{a(s),s?.children?.length>0&&s.children.forEach(i=>{a(i),i?.children?.length>0&&i.children.forEach(o=>{a(o)})})})}}}async function _(e,n){try{let l=n?.layer?.id,t=n?.layer?.type==="group",a=n?.layer?.layers?.some(d=>d.visible),s=n?.layer?.layers?.every(d=>!d?.legendEnabled);await O(()=>e?.state==="ready","legendViewModel ready",l),!t||t&&a?t&&s?await O(()=>n?.layer?.loaded,"group layer loaded",l):await O(()=>n?.ready,"activeLayerInfo ready",l):await O(()=>!!n?.legendElements,"legendElements",l);let i=n?.legendElements?.[0],o=new Map,r=n.layer,u=e?.view?.whenLayerView(r);if(!u)return null;let c=await R(u,"whenLayerView",l,Y);if(c===x)return null;let f=c,y=r.renderer?.field??"";i!==void 0&&i?.infos?.forEach(d=>{if(d.type==="symbol-table"){let h=[];d.infos.forEach(m=>{let $={count:null,selected:!1,legendElementInfo:m};h.push($)});let E={count:null,selected:!1,legendElementInfo:d,nestedInfos:h};o.set(d.title,E)}else{let h={count:null,selected:!1,legendElementInfo:d};o.set(d.label??r.id,h)}});let p=[];return f?Promise.resolve({activeLayerInfo:n,title:f.layer.title,categories:o,field:y,queryExpressions:p,totalCount:null,fLayerView:f,legendElement:i}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function ie(e){let n={},l=[];e.activeLayerInfos.forEach(Z(l,e));try{return(await Promise.all(l)).forEach(t=>{let a=t?.activeLayerInfo?.layer?.id;n[a]=t}),Promise.resolve(n)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function oe(e){return Array.from(e,n=>n[1])}function fe(e,n,l,t,a){if(t)return t?.nestedInfos?.[a];let s="label"in l&&l?.label?l?.label:n?.id;return e?.categories?.get(s)}function ce(e){return A?.data?.[e?.id]}async function ue(e,n,l,t,a){let{queryExpressions:s,fLayerView:i}=e;ee(e,n,l,a);let o=s.every(f=>f&&f.includes("<>"))?" AND ":" OR ",r=s.join(o),u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null,{type:c}=t;if(c==="filter")i.filter=new q({where:r,timeExtent:u});else if(t.effect){let{includedEffect:f,excludedEffect:y}=t.effect,p=await v(y,i,"excludedEffect"),d=await v(f,i,"includedEffect");i.featureEffect=new U({filter:new q({where:r,timeExtent:u}),includedEffect:d,excludedEffect:p})}return await Promise.resolve()}function k(e,n){let l=n?n?.layer?.renderer?.authoringInfo:null,t=l?l.fields:null,a=[];if(!t)return"";if(Object.hasOwn(e,"value"))return t.forEach(s=>{if(e.value===s)return;let i=`(${e.value} > ${s} OR (${s} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;a.push(i)}),a.join(" AND ");{let s=[];t.forEach(o=>{s.push(`${o} = 0`)});let i=[];if(t.length>2){t.forEach(r=>{t.forEach(u=>{if(r===u)return;let c=[];t.forEach(f=>{r===f||u===f||c.push(`${r} = ${u} AND (${r} > ${f} OR ${r} >= ${f})`)}),i.push(`(${c.join(" AND ")})`)})});let o=[];return t.forEach(r=>{o.push(`${r} IS NULL`)}),`(${s.join(" AND ")}) OR (${i.join(" OR ")}) OR (${o.join(" AND ")})`}else{let o=[];t.forEach(u=>{t.forEach(c=>{u!==c&&(o.push(`${u} = ${c}`),o.push(`(${s.join(" AND ")})`))})});let r=[];return t.forEach(u=>{t.forEach(c=>{u!==c&&r.push(`(${u} = 0 AND ${c} IS NULL) OR (${u} IS NULL AND ${c} IS NULL)`)})}),`(${o.join(" OR ")}) OR (${r.join(" OR ")})`}}}function ee(e,n,l,t){let{field:a,legendElement:s,categories:i,fLayerView:o}=e,r=e?.queryExpressions;t&&Array.from(e.categories).map(h=>h[1]).forEach(h=>{h.nestedInfos?.every(E=>!E.selected)&&h.nestedInfos?.forEach(E=>{let m=a?`${a} = '${E.legendElementInfo.value}'`:null,$=m?r.indexOf(m):-1;m&&$!==-1&&r.splice($,1)})});let u=s?.infos,c=j(o),f=c?k(n,o):b(n,a,l,s,u??[],""),y=i?t?i.get(t.title)?.nestedInfos?.[l]:i.get(n.label??o?.layer?.id):null;y&&(y.selected=!y?.selected);let p=u&&u.length===1,d=r.indexOf(f);if(c){let h=r.indexOf(f);r.length===0||h===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]?r[0]="1=0":r&&r.length===1||r.length===1&&f!==r[0]&&r[0]==="1=0"?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"?r[0]=null:r.splice(h,1),r.join(" OR ")}else r.length===0||d===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]&&!p?r[0]="1=0":r&&r.length===1&&!p||r.length===1&&f!==r[0]&&r[0]==="1=0"&&!p?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"&&!p?r[0]=null:r.splice(d,1);if(t){let h=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every(m=>!m.selected)&&E.nestedInfos?.forEach(m=>{a&&`${a} = '${m.legendElementInfo.value}'`&&h.push(`${a} = '${m.legendElementInfo.value}'`)})}),h.forEach(E=>{r.includes(E)||r.push(E)})}}function b(e,n,l,t,a,s){let{value:i}=e;if(t?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&a?.length===1){if(Object.hasOwn(a?.[0],"value")&&Array.isArray(a?.[0].value)&&Object.hasOwn(a?.[a.length-2],"value")&&Array.isArray(a?.[a.length-2].value))return s?`((${n}/${s}) > ${a?.[0].value[1]}) OR ((${n}/${s}) < ${a?.[a.length-2].value[0]}) OR ${s} = 0 OR ${s} IS NULL`:`${n} > ${a?.[0].value[1]} OR ${n} < ${a?.[a.length-2].value[0]} OR ${n} IS NULL`;if(a?.length===1)return"1=0";{let o=[];a?.forEach(u=>{if(u?.value){let{value:c}=u,f=c.indexOf("'")!==-1?c.split("'").join("''"):null,y=f?`${n} <> '${f}'`:isNaN(c)||typeof c=="string"&&!c.trim()?`${n} <> '${c}'`:`${n} <> ${c} AND ${n} <> '${c}'`;o.push(y)}});let r=o.join(" AND ");return n&&r?`${r} OR ${n} IS NULL`:""}}else{let o=i.indexOf("'")!==-1?i.split("'").join("''"):null,r=Array.isArray(e.value),u=a&&a.length-1===l,c=!Object.hasOwn(a?.[a.length-1],"value"),f=a&&a.length-2===l;return r?s?u||c&&f?`(${n}/${s}) >= ${i[0]} AND (${n}/${s}) <= ${e.value[1]}`:`(${n}/${s}) > ${i[0]} AND (${n}/${s}) <= ${e.value[1]}`:u||c&&f?`${n} >= ${i[0]} AND ${n} <= ${i[1]}`:`${n} > ${i[0]} AND ${n} <= ${i[1]}`:a?.length===1&&n?isNaN(i)||!i.trim().length?`${n} <> '${i}'`:`${n} <> ${i} OR ${n} <> '${i}'`:o?`${n} = '${o}'`:isNaN(i)||!i.trim().length?`${n} = '${i}'`:`${n} = ${i} OR ${n} = '${i}'`}else return""}function de(e){return Array.isArray(e)?e.every(n=>!n.selected):e&&Array.from(e.categories.entries()).every(n=>!n[1].selected)&&e.queryExpressions[0]!=="1=0"}function j(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function ye(e){return e?.legendElements[1]?.type==="relationship-ramp"}function he(e,n,l){let t=e.layer?.renderer?.field,a=n?.type,s=e?.layerView,i=s?.layer?.renderer?.classBreakInfos,o=s?.layer?.renderer?.uniqueValueInfos&&t,r=a==="size-ramp",u=a==="color-ramp",c=a==="opacity-ramp",f=a==="heatmap-ramp",y=s&&i&&i.length>1,p=s?.layer?.renderer?.authoringInfo?.type,d=p==="class-breaks-color",h=p==="class-breaks-size",E=n?.infos?.length===1&&!t,m=p==="relationship"&&n?.type!=="size-ramp"&&n?.type!=="symbol-table",$=e?.layer?.type==="feature",g=$&&t&&!u&&!r&&y,I=!!($&&t&&!u&&!r&&!y),L=!!(I||j(s)&&!r||d&&t||h&&t||E&&!t&&t!==null||m||o),M=e?.layer?.featureReduction&&e?.legendElements?.[l]?.type==="size-ramp",V=n?.type==="symbol-table"&&n?.infos?.length===1,Q=!e?.legendElements.every(w=>w.type!=="color-ramp"),B=!e?.legendElements.every(w=>w.type!=="size-ramp"),J=V&&Q,G=V&&B,H=n?.infos?.every(w=>typeof w.value=="number"),K=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",W=p==="dot-density",X=F(e?.layer,t);return $&&!M&&!c&&!f&&!J&&!G&&!H&&!K&&!W&&X?i?g||L:I||L:!1}function Ee(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(n=>{n.selected=!1}),e}function pe(e,n){e.categories.get(n)?.nestedInfos?.forEach(s=>{let i=`${e.field} = '${s.legendElementInfo.value}'`,o=e.queryExpressions.indexOf(i);o!==-1&&e.queryExpressions.splice(o,1),s.selected=!1});let l=[],t=Array.from(e.categories).map(s=>s[1]);t.forEach(s=>{s.nestedInfos?.every(i=>!i.selected)&&s.nestedInfos?.forEach(i=>{l.push(`${e.field} = '${i.legendElementInfo.value}'`)})}),l.forEach(s=>{e.queryExpressions.includes(s)||e.queryExpressions.push(s)});let a=e.queryExpressions.join(" OR ");return t.every(s=>s.nestedInfos?.every(i=>!i.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=a),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=a)),e}async function me(e,n,l){let t=e.fLayerView.createQuery();if(l)if(l.nestedInfos.every(a=>!a.selected)){let a=l.nestedInfos.map(s=>`${e.field} = '${s.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=l.nestedInfos.filter(s=>s.selected).map(s=>`${e.field} = '${s.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=e.queryExpressions.join(" OR ");t.where=a}try{let{extent:a}=await e.fLayerView.layer.queryExtent(t);await n.goTo(a)}catch{}}function $e(e){return e.map(n=>n?.count).reduce((n,l)=>n+l)}function ge(e){return e.map(n=>n?.nestedInfos?.map(l=>l.count).reduce((l,t)=>l+t)).reduce((n,l)=>n+l)}async function N(e,n,l,t,a,s,i,o){if(!n||!F(n?.layer,l))return;let r=n?.layer?.type==="feature"?n.createQuery():null,u=j(n)?k(t,n):t.type?b(i,l,o,t,t.infos):b(t,l,a,s,s.infos);r&&u&&(r.where=u==="1=0"?"1=1":u,e&&(r.geometry=e));try{let c=r?await n.queryFeatureCount(r):null;return Promise.resolve({[t.label??n?.layer?.id]:c})}catch(c){console.error("FAILURE AT 'getInfoCount': ",c)}return await Promise.resolve(null)}async function we(e,n){let l={...n},{activeLayerInfos:t}=e,a=e?.view?.extent,s={},i={};t.forEach(async o=>{let r=o.legendElements[0],u=o.layer,c=n[o?.layer?.id]?.fLayerView,f=u.renderer?.field,y=[];i[o.layer.id]=[],r?.infos?.forEach((d,h)=>{if(r.infos?.every(E=>E.type==="symbol-table")){let E=[];d.infos.forEach((m,$)=>{let g=N(a,c,f,d,h,r,m,$);E.push(g)}),i[o.layer.id].push(E)}else y.push(N(a,c,f,d,h,r)),i[o.layer.id]=y});let p=d=>{let h=[],E=d.legendElements[0],m=d.layer,$=n[d?.layer?.id]?.fLayerView,g=m.renderer?.field;E?.infos?.forEach((I,L)=>h.push(N(a,$,g,I,L,E))),i[d.layer.id]=h};o.children.forEach(async d=>{p(d),d?.children?.length>0&&d.children.forEach(h=>{p(h),h?.children?.length>0&&h.children.forEach(E=>{p(E)})})})});for(let o in i){let r=s[o];r||(r=s[o]={});let u=await Promise.all(i[o]);if(u.every(c=>Array.isArray(c))){let c=await Promise.all(u.map(async f=>(await Promise.all(f)).map(y=>y&&Object.values(y)[0])));r[o]=c,s[o]={...r[o]}}else{let c={};u.forEach(f=>{if(!f)return;let y=Object.keys(f)[0];c[y]=f[y]}),o&&(r[o]=c),s[o]={...r[o]}}}return t.forEach(o=>{let r=n[o.layer.id],u=o.layer.id;r?.categories?.forEach((f,y)=>{let p=Array.from(r?.categories).findIndex(d=>d[0]===y);if(f?.nestedInfos)f?.nestedInfos.forEach((d,h)=>{let E=s?.[o?.layer?.id]?.[p]?.[h];d.count=isNaN(E)?null:E});else{let d=s?.[u]?.[y];f.count=isNaN(d)?null:d}});let c=f=>{let y=f.layer.id;n[y]?.categories?.forEach((p,d)=>{let h=s?.[y]?.[d];p.count=h})};o?.children?.forEach(f=>{c(f),f?.children?.length>0&&f.children.forEach(y=>{c(y),y?.children?.length>0&&y.children.forEach(p=>{c(p)})})})}),await Promise.resolve(l)}function ve(e,n){return e?.nestedInfos?.[n]}function Ie(e){return Array.from(e).map(n=>n[1]).every(n=>!!n?.nestedInfos)}function Le(e){return!!e?.legendElements?.[0]?.infos?.every?.(n=>n?.type==="symbol-table")}function Oe(e,n){if(typeof n?.title=="string")return e?.categories?.get(n?.title)}function Ae(e){let n="calcite-mode-",l=`${n}light`,t=`${n}dark`;return e.classList.contains(t)?t:l}function Ne(e){if(e.layerId&&e.intLegendLayerData){let n=e.layerId,l=e.intLegendLayerData,t={...A.data,[n]:l};D.set("data",t)}}function be(e,n){let{type:l}=e;l==="filter"?ne(n):l==="effect"&&re(e,n)}function ne(e){e?.allLayerViews?.filter(n=>n?.layer?.type==="feature")?.forEach(n=>{let l=n,t=z(l);l.filter=t,l.set("featureEffect",null)})}function re(e,n){n?.allLayerViews?.filter(l=>l?.layer?.type==="feature").forEach(async l=>{let t=l;if(e?.effect&&t){let{includedEffect:a,excludedEffect:s}=e.effect,i=await v(s,t,"excludedEffect"),o=await v(a,t,"includedEffect"),r=z(t);t.featureEffect=new U({filter:r,includedEffect:o,excludedEffect:i}),t.set("filter",null)}})}function z(e){return e?.filter||e?.featureEffect?.filter}function F(e,n){let l=e?.fields,t=l&&l.map(a=>a.name);return n?t&&t.includes(n):!0}function xe(e){let n=[];return e.forEach(l=>C(l,n)),n}function C(e,n){n.push(e),e.children&&e.children.length>0&&e.children.forEach(l=>{C(l,n)})}return{a:_,b:ie,c:oe,d:fe,e:ce,f:ue,g:de,h:ye,i:he,j:Ee,k:pe,l:me,m:$e,n:ge,o:we,p:ve,q:Ie,r:Le,s:Oe,t:Ae,u:Ne,v:be,w:xe}},"core/reactiveUtils","layers/support/FeatureEffect","layers/support/FeatureFilter",a,b)
|
|
2
|
+
import b from"./W6N2C4I3.js";import a from"./KGUELU4O.js";export default $arcgis.t(([S,U,q,v,{a:A,b:D}])=>{var T=5e3,Y=1e4,x=Symbol("TIMEOUT");function R(e,n,l,t=T){return Promise.race([e,new Promise(a=>{setTimeout(()=>{console.warn(`[InteractiveLegend] Timed out waiting for ${n}${l?` (layer: ${l})`:""} after ${t}ms; continuing.`),a(x)},t)})])}function O(e,n,l,t=T){return R(S.whenOnce(e).then(()=>!0),n,l,t)}function P(e,n,l){let t=l?.layer?.id;e.push(R(_(n,l),"createInteractiveLegendDataForLayer",t).then(a=>a===x?null:a))}function Z(e,n){return l=>{let t=l?.layer?.type;if(t==="feature"||t==="group"){P(e,n,l);let a=s=>{P(e,n,s)};l.children.forEach(s=>{a(s),s?.children?.length>0&&s.children.forEach(i=>{a(i),i?.children?.length>0&&i.children.forEach(o=>{a(o)})})})}}}async function _(e,n){try{let l=n?.layer?.id,t=n?.layer?.type==="group",a=n?.layer?.layers?.some(d=>d.visible),s=n?.layer?.layers?.every(d=>!d?.legendEnabled);await O(()=>e?.state==="ready","legendViewModel ready",l),!t||t&&a?t&&s?await O(()=>n?.layer?.loaded,"group layer loaded",l):await O(()=>n?.ready,"activeLayerInfo ready",l):await O(()=>!!n?.legendElements,"legendElements",l);let i=n?.legendElements?.[0],o=new Map,r=n.layer,u=e?.view?.whenLayerView(r);if(!u)return null;let c=await R(u,"whenLayerView",l,Y);if(c===x)return null;let f=c,y=r.renderer?.field??"";i!==void 0&&i?.infos?.forEach(d=>{if(d.type==="symbol-table"){let h=[];d.infos.forEach(m=>{let $={count:null,selected:!1,legendElementInfo:m};h.push($)});let E={count:null,selected:!1,legendElementInfo:d,nestedInfos:h};o.set(d.title,E)}else{let h={count:null,selected:!1,legendElementInfo:d};o.set(d.label??r.id,h)}});let p=[];return f?Promise.resolve({activeLayerInfo:n,title:f.layer.title,categories:o,field:y,queryExpressions:p,totalCount:null,fLayerView:f,legendElement:i}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function ie(e){let n={},l=[];e.activeLayerInfos.forEach(Z(l,e));try{return(await Promise.all(l)).forEach(t=>{let a=t?.activeLayerInfo?.layer?.id;n[a]=t}),Promise.resolve(n)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function oe(e){return Array.from(e,n=>n[1])}function fe(e,n,l,t,a){if(t)return t?.nestedInfos?.[a];let s="label"in l&&l?.label?l?.label:n?.id;return e?.categories?.get(s)}function ce(e){return A?.data?.[e?.id]}async function ue(e,n,l,t,a){let{queryExpressions:s,fLayerView:i}=e;ee(e,n,l,a);let o=s.every(f=>f&&f.includes("<>"))?" AND ":" OR ",r=s.join(o),u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null,{type:c}=t;if(c==="filter")i.filter=new q({where:r,timeExtent:u});else if(t.effect){let{includedEffect:f,excludedEffect:y}=t.effect,p=await v(y,i,"excludedEffect"),d=await v(f,i,"includedEffect");i.featureEffect=new U({filter:new q({where:r,timeExtent:u}),includedEffect:d,excludedEffect:p})}return await Promise.resolve()}function k(e,n){let l=n?n?.layer?.renderer?.authoringInfo:null,t=l?l.fields:null,a=[];if(!t)return"";if(Object.hasOwn(e,"value"))return t.forEach(s=>{if(e.value===s)return;let i=`(${e.value} > ${s} OR (${s} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;a.push(i)}),a.join(" AND ");{let s=[];t.forEach(o=>{s.push(`${o} = 0`)});let i=[];if(t.length>2){t.forEach(r=>{t.forEach(u=>{if(r===u)return;let c=[];t.forEach(f=>{r===f||u===f||c.push(`${r} = ${u} AND (${r} > ${f} OR ${r} >= ${f})`)}),i.push(`(${c.join(" AND ")})`)})});let o=[];return t.forEach(r=>{o.push(`${r} IS NULL`)}),`(${s.join(" AND ")}) OR (${i.join(" OR ")}) OR (${o.join(" AND ")})`}else{let o=[];t.forEach(u=>{t.forEach(c=>{u!==c&&(o.push(`${u} = ${c}`),o.push(`(${s.join(" AND ")})`))})});let r=[];return t.forEach(u=>{t.forEach(c=>{u!==c&&r.push(`(${u} = 0 AND ${c} IS NULL) OR (${u} IS NULL AND ${c} IS NULL)`)})}),`(${o.join(" OR ")}) OR (${r.join(" OR ")})`}}}function ee(e,n,l,t){let{field:a,legendElement:s,categories:i,fLayerView:o}=e,r=e?.queryExpressions;t&&Array.from(e.categories).map(h=>h[1]).forEach(h=>{h.nestedInfos?.every(E=>!E.selected)&&h.nestedInfos?.forEach(E=>{let m=a?`${a} = '${E.legendElementInfo.value}'`:null,$=m?r.indexOf(m):-1;m&&$!==-1&&r.splice($,1)})});let u=s?.infos,c=j(o),f=c?k(n,o):b(n,a,l,s,u??[],""),y=i?t?i.get(t.title)?.nestedInfos?.[l]:i.get(n.label??o?.layer?.id):null;y&&(y.selected=!y?.selected);let p=u&&u.length===1,d=r.indexOf(f);if(c){let h=r.indexOf(f);r.length===0||h===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]?r[0]="1=0":r&&r.length===1||r.length===1&&f!==r[0]&&r[0]==="1=0"?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"?r[0]=null:r.splice(h,1),r.join(" OR ")}else r.length===0||d===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]&&!p?r[0]="1=0":r&&r.length===1&&!p||r.length===1&&f!==r[0]&&r[0]==="1=0"&&!p?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"&&!p?r[0]=null:r.splice(d,1);if(t){let h=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every(m=>!m.selected)&&E.nestedInfos?.forEach(m=>{a&&`${a} = '${m.legendElementInfo.value}'`&&h.push(`${a} = '${m.legendElementInfo.value}'`)})}),h.forEach(E=>{r.includes(E)||r.push(E)})}}function b(e,n,l,t,a,s){let{value:i}=e;if(t?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&a?.length===1){if(Object.hasOwn(a?.[0],"value")&&Array.isArray(a?.[0].value)&&Object.hasOwn(a?.[a.length-2],"value")&&Array.isArray(a?.[a.length-2].value))return s?`((${n}/${s}) > ${a?.[0].value[1]}) OR ((${n}/${s}) < ${a?.[a.length-2].value[0]}) OR ${s} = 0 OR ${s} IS NULL`:`${n} > ${a?.[0].value[1]} OR ${n} < ${a?.[a.length-2].value[0]} OR ${n} IS NULL`;if(a?.length===1)return"1=0";{let o=[];a?.forEach(u=>{if(u?.value){let{value:c}=u,f=c.indexOf("'")!==-1?c.split("'").join("''"):null,y=f?`${n} <> '${f}'`:isNaN(c)||typeof c=="string"&&!c.trim()?`${n} <> '${c}'`:`${n} <> ${c} AND ${n} <> '${c}'`;o.push(y)}});let r=o.join(" AND ");return n&&r?`${r} OR ${n} IS NULL`:""}}else{let o=i.indexOf("'")!==-1?i.split("'").join("''"):null,r=Array.isArray(e.value),u=a&&a.length-1===l,c=!Object.hasOwn(a?.[a.length-1],"value"),f=a&&a.length-2===l;return r?s?u||c&&f?`(${n}/${s}) >= ${i[0]} AND (${n}/${s}) <= ${e.value[1]}`:`(${n}/${s}) > ${i[0]} AND (${n}/${s}) <= ${e.value[1]}`:u||c&&f?`${n} >= ${i[0]} AND ${n} <= ${i[1]}`:`${n} > ${i[0]} AND ${n} <= ${i[1]}`:a?.length===1&&n?isNaN(i)||!i.trim().length?`${n} <> '${i}'`:`${n} <> ${i} OR ${n} <> '${i}'`:o?`${n} = '${o}'`:isNaN(i)||!i.trim().length?`${n} = '${i}'`:`${n} = ${i} OR ${n} = '${i}'`}else return""}function de(e){return Array.isArray(e)?e.every(n=>!n.selected):e&&Array.from(e.categories.entries()).every(n=>!n[1].selected)&&e.queryExpressions[0]!=="1=0"}function j(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function ye(e){return e?.legendElements[1]?.type==="relationship-ramp"}function he(e,n,l){let t=e.layer?.renderer?.field,a=n?.type,s=e?.layerView,i=s?.layer?.renderer?.classBreakInfos,o=s?.layer?.renderer?.uniqueValueInfos&&t,r=a==="size-ramp",u=a==="color-ramp",c=a==="opacity-ramp",f=a==="heatmap-ramp",y=s&&i&&i.length>1,p=s?.layer?.renderer?.authoringInfo?.type,d=p==="class-breaks-color",h=p==="class-breaks-size",E=n?.infos?.length===1&&!t,m=p==="relationship"&&n?.type!=="size-ramp"&&n?.type!=="symbol-table",$=e?.layer?.type==="feature",g=$&&t&&!u&&!r&&y,I=!!($&&t&&!u&&!r&&!y),L=!!(I||j(s)&&!r||d&&t||h&&t||E&&!t&&t!==null||m||o),M=e?.layer?.featureReduction&&e?.legendElements?.[l]?.type==="size-ramp",V=n?.type==="symbol-table"&&n?.infos?.length===1,Q=!e?.legendElements.every(w=>w.type!=="color-ramp"),B=!e?.legendElements.every(w=>w.type!=="size-ramp"),J=V&&Q,G=V&&B,H=n?.infos?.every(w=>typeof w.value=="number"),K=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",W=p==="dot-density",X=F(e?.layer,t);return $&&!M&&!c&&!f&&!J&&!G&&!H&&!K&&!W&&X?i?g||L:I||L:!1}function Ee(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(n=>{n.selected=!1}),e}function pe(e,n){e.categories.get(n)?.nestedInfos?.forEach(s=>{let i=`${e.field} = '${s.legendElementInfo.value}'`,o=e.queryExpressions.indexOf(i);o!==-1&&e.queryExpressions.splice(o,1),s.selected=!1});let l=[],t=Array.from(e.categories).map(s=>s[1]);t.forEach(s=>{s.nestedInfos?.every(i=>!i.selected)&&s.nestedInfos?.forEach(i=>{l.push(`${e.field} = '${i.legendElementInfo.value}'`)})}),l.forEach(s=>{e.queryExpressions.includes(s)||e.queryExpressions.push(s)});let a=e.queryExpressions.join(" OR ");return t.every(s=>s.nestedInfos?.every(i=>!i.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=a),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=a)),e}async function me(e,n,l){let t=e.fLayerView.createQuery();if(l)if(l.nestedInfos.every(a=>!a.selected)){let a=l.nestedInfos.map(s=>`${e.field} = '${s.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=l.nestedInfos.filter(s=>s.selected).map(s=>`${e.field} = '${s.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=e.queryExpressions.join(" OR ");t.where=a}try{let{extent:a}=await e.fLayerView.layer.queryExtent(t);await n.goTo(a)}catch{}}function $e(e){return e.map(n=>n?.count).reduce((n,l)=>n+l)}function ge(e){return e.map(n=>n?.nestedInfos?.map(l=>l.count).reduce((l,t)=>l+t)).reduce((n,l)=>n+l)}async function N(e,n,l,t,a,s,i,o){if(!n||!F(n?.layer,l))return;let r=n?.layer?.type==="feature"?n.createQuery():null,u=j(n)?k(t,n):t.type?b(i,l,o,t,t.infos):b(t,l,a,s,s.infos);r&&u&&(r.where=u==="1=0"?"1=1":u,e&&(r.geometry=e));try{let c=r?await n.queryFeatureCount(r):null;return Promise.resolve({[t.label??n?.layer?.id]:c})}catch(c){console.error("FAILURE AT 'getInfoCount': ",c)}return await Promise.resolve(null)}async function we(e,n){let l={...n},{activeLayerInfos:t}=e,a=e?.view?.extent,s={},i={};t.forEach(async o=>{let r=o.legendElements[0],u=o.layer,c=n[o?.layer?.id]?.fLayerView,f=u.renderer?.field,y=[];i[o.layer.id]=[],r?.infos?.forEach((d,h)=>{if(r.infos?.every(E=>E.type==="symbol-table")){let E=[];d.infos.forEach((m,$)=>{let g=N(a,c,f,d,h,r,m,$);E.push(g)}),i[o.layer.id].push(E)}else y.push(N(a,c,f,d,h,r)),i[o.layer.id]=y});let p=d=>{let h=[],E=d.legendElements[0],m=d.layer,$=n[d?.layer?.id]?.fLayerView,g=m.renderer?.field;E?.infos?.forEach((I,L)=>h.push(N(a,$,g,I,L,E))),i[d.layer.id]=h};o.children.forEach(async d=>{p(d),d?.children?.length>0&&d.children.forEach(h=>{p(h),h?.children?.length>0&&h.children.forEach(E=>{p(E)})})})});for(let o in i){let r=s[o];r||(r=s[o]={});let u=await Promise.all(i[o]);if(u.every(c=>Array.isArray(c))){let c=await Promise.all(u.map(async f=>(await Promise.all(f)).map(y=>y&&Object.values(y)[0])));r[o]=c,s[o]={...r[o]}}else{let c={};u.forEach(f=>{if(!f)return;let y=Object.keys(f)[0];c[y]=f[y]}),o&&(r[o]=c),s[o]={...r[o]}}}return t.forEach(o=>{let r=n[o.layer.id],u=o.layer.id;r?.categories?.forEach((f,y)=>{let p=Array.from(r?.categories).findIndex(d=>d[0]===y);if(f?.nestedInfos)f?.nestedInfos.forEach((d,h)=>{let E=s?.[o?.layer?.id]?.[p]?.[h];d.count=isNaN(E)?null:E});else{let d=s?.[u]?.[y];f.count=isNaN(d)?null:d}});let c=f=>{let y=f.layer.id;n[y]?.categories?.forEach((p,d)=>{let h=s?.[y]?.[d];p.count=h})};o?.children?.forEach(f=>{c(f),f?.children?.length>0&&f.children.forEach(y=>{c(y),y?.children?.length>0&&y.children.forEach(p=>{c(p)})})})}),await Promise.resolve(l)}function ve(e,n){return e?.nestedInfos?.[n]}function Ie(e){return Array.from(e).map(n=>n[1]).every(n=>!!n?.nestedInfos)}function Le(e){return!!e?.legendElements?.[0]?.infos?.every?.(n=>n?.type==="symbol-table")}function Oe(e,n){if(typeof n?.title=="string")return e?.categories?.get(n?.title)}function Ae(e){let n="calcite-mode-",l=`${n}light`,t=`${n}dark`;return e.classList.contains(t)?t:l}function Ne(e){if(e.layerId&&e.intLegendLayerData){let n=e.layerId,l=e.intLegendLayerData,t={...A.data,[n]:l};D.set("data",t)}}function be(e,n){let{type:l}=e;l==="filter"?ne(n):l==="effect"&&re(e,n)}function ne(e){e?.allLayerViews?.filter(n=>n?.layer?.type==="feature")?.forEach(n=>{let l=n,t=z(l);l.filter=t,l.set("featureEffect",null)})}function re(e,n){n?.allLayerViews?.filter(l=>l?.layer?.type==="feature").forEach(async l=>{let t=l;if(e?.effect&&t){let{includedEffect:a,excludedEffect:s}=e.effect,i=await v(s,t,"excludedEffect"),o=await v(a,t,"includedEffect"),r=z(t);t.featureEffect=new U({filter:r,includedEffect:o,excludedEffect:i}),t.set("filter",null)}})}function z(e){return e?.filter||e?.featureEffect?.filter}function F(e,n){let l=e?.fields,t=l&&l.map(a=>a.name);return n?t&&t.includes(n):!0}function xe(e){let n=[];return e.forEach(l=>C(l,n)),n}function C(e,n){n.push(e),e.children&&e.children.length>0&&e.children.forEach(l=>{C(l,n)})}return{a:_,b:ie,c:oe,d:fe,e:ce,f:ue,g:de,h:ye,i:he,j:Ee,k:pe,l:me,m:$e,n:ge,o:we,p:ve,q:Ie,r:Le,s:Oe,t:Ae,u:Ne,v:be,w:xe}},"core/reactiveUtils","layers/support/FeatureEffect","layers/support/FeatureFilter",a,b)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as s}from"./
|
|
2
|
+
import{a as s}from"./TJDAE43J.js";import{a as l,b as p}from"./6AFP7DRB.js";import{d as m}from"./JUUVYK2H.js";import"./5O53T3SW.js";import{a}from"./AJZDBHB6.js";import"./QPIMTXPL.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{d as m,e as c,f as d,g as f,o as C}from"./
|
|
2
|
+
import{d as m,e as c,f as d,g as f,o as C}from"./P4PCDUNA.js";var P=t=>(...p)=>{let s=c(),e=new t(...p),o=e.exports;m(s.at(-1));let n=e.component.manager;n.W(e,o),e.watchExports(n.W.bind(n,e)),d(e);let r=[e.component,...s].reverse();return C(r,a=>a===void 0?void 0:E(e,a,o),o)},E=(t,{host:p,key:s,isReactive:e},o)=>{let n=p,r=n[s]!==t.exports,a=n[s]!==o,g=o!==t.exports;if(r&&!a&&g&&(n[s]=t.exports),p===t.component){if(e){let i=t.component.manager;a&&i.W(t,n[s]),t.onUpdate(v=>{if(v.has(s)){let x=n[s];x!==t.exports&&i.W(t,x)}})}t.O=e?void 0:s}let h=t.component.constructor.elementProperties.get(s)?.readOnly;t.watchExports(()=>{n[s]!==t.exports&&(h?f(()=>{n[s]=t.exports}):n[s]=t.exports)})};export{P as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a}from"./
|
|
2
|
+
import{a}from"./RYETW3AF.js";import"./QPIMTXPL.js";export default a();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import e from"./CEP54NLT.js";import b from"./YVNP437O.js";import{a as u}from"./
|
|
2
|
+
import e from"./CEP54NLT.js";import b from"./YVNP437O.js";import{a as u}from"./Q5ZGIKBW.js";import"./OQH2TBQQ.js";import"./3LTRULIX.js";import{b as p}from"./FCSE4STJ.js";import{E as c,F as h,G as d,h as l,i as a,q as i,t as n}from"./P4PCDUNA.js";import"./QPIMTXPL.js";export default $arcgis.t(([{b:m},{d:b}])=>{var f=l`@layer{:host{display:block!important}.display-none{display:none}.padding-1{padding:1rem}.position-relative{position:relative}.overflow-auto{overflow:auto}.height-full{height:100%}.position-static{position:static!important}.z-index-500{z-index:500!important}card-manager{display:block}}`,r=class extends d{constructor(){super(),this.customInfoText="",this.enableEditGeometry=!1,this.enableSnapping=!1,this.isMobile=!1,this.zoomAndScrollToSelected=!1,this.selectedFeaturesIds=[],this.enableCreateFeatures=!0,this.createBtnLabel="",this.selectingFeatureFromMap=!1,this.showSketchWidgets=!1,this._cardLoading=!1,this._graphics=[],this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._translations=u({name:"card-manager",blocking:!0}),this._isFeatureCreated=!1,this._createFeature=c(),this.createWorkFlowStarted=i(),this.backFromCreateWorkFlow=i(),this.featureOrRecordSubmitted=i(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"relatedRecordToggled",this.relatedRecordToggled)}static{this.properties={customInfoText:1,enableEditGeometry:5,enableSnapping:5,isMobile:5,layerOrTable:0,mapView:0,zoomAndScrollToSelected:5,selectedFeaturesIds:0,enableCreateFeatures:5,createBtnLabel:1,selectingFeatureFromMap:5,showSketchWidgets:5,_cardLoading:16,_graphics:16,_showCreateFeatureComponent:16,_showSubmitBtn:16,_translations:16}}static{this.styles=f}static{this.shadowRootOptions=n}async featureSelectionChange(e){this._showCreateFeatureComponent&&!this._isFeatureCreated&&this._backFromCreateFeature();let t=e.detail;this._graphics=await this._getFeaturesByIds(t)}async layerSelectionChange(e){this._showCreateFeatureComponent&&this._backFromCreateFeature();let t=e.detail[0];this.layerOrTable=this.mapView?await b(this.mapView,t):void 0}async relatedRecordToggled(e){let t=e.detail;this.layerOrTable=t}async load(){this.selectedFeaturesIds?.length>0&&(this._graphics=await this._getFeaturesByIds(this.selectedFeaturesIds))}render(){let e=this._graphics?.length>0?"":"display-none",t=this._graphics?.length===0&&this._showCreateFeatureComponent?"":"display-none",s=this._graphics?.length>0||this._showCreateFeatureComponent?"display-none":"",g=this.layerOrTable?.isTable,F=this.customInfoText?this.customInfoText:this.selectingFeatureFromMap?this._translations.selectFeaturesFromMapToStart:this._translations.selectFeaturesToStart,w=this.enableCreateFeatures&&this.layerOrTable?.capabilities?.operations?.supportsAdd,o=this.createBtnLabel?this.createBtnLabel:g?this._translations.createRecord:this._translations.createFeature,_=!this.layerOrTable,C=this.enableSnapping&&!this.layerOrTable?.isTable;return a`<div class="overflow-auto height-full"><calcite-shell class=${`position-relative ${e}`}><div class="position-static z-index-500 height-full"><info-card .allowEditing=${this.layerOrTable?.editingEnabled} .enableEditGeometry=${this.enableEditGeometry} .enableSnapping=${C} .graphics=${this._graphics} .isLoading=${this._cardLoading} .isMobile=${this.isMobile} .mapView=${this.mapView} position=relative show-close-btn></info-card></div></calcite-shell><calcite-shell class=${`position-relative ${s}`}><calcite-panel><div class=padding-1><calcite-notice .icon=${this.selectingFeatureFromMap?"map":"table"} icon-flip-rtl open><div slot=message>${F}</div></calcite-notice></div>${!this.isMobile&&w&&a`<calcite-button .disabled=${_} @click=${()=>this._createFeatureBtnClicked()} slot=footer width=full>${o}</calcite-button>`||""}</calcite-panel></calcite-shell><calcite-shell class=${`position-relative ${t}`}><calcite-flow-item selected><calcite-panel .heading=${o}><calcite-action appearance=solid class="back-button hydrated" icon=chevron-left @click=${this._backFromCreateFeature} scale=s slot=header-actions-start text></calcite-action>${this.getEditorComponent()}${this._showSubmitBtn&&a`<calcite-button appearance=solid class="footer-top-button footer-button" @click=${()=>this._createFeature.value&&void this._createFeature.value.submit()} slot=footer width=full>${this._translations.create}</calcite-button>`||""}</calcite-panel></calcite-flow-item></calcite-shell></div>`}getEditorComponent(){let e=this.enableSnapping&&!this.layerOrTable?.isTable&&this.enableCreateFeatures;return a`<div>${this._showCreateFeatureComponent&&a`<create-feature customize-submit .enableSnapping=${e} .mapView=${this.mapView} .isMobile=${this.isMobile} @drawComplete=${()=>{this._showSubmitBtn=!0}} @editingAttachment=${t=>{this._showSubmitBtn=!t.detail}} @progressStatus=${()=>{setTimeout(()=>{this._isFeatureCreated=!1},2e3)}} @success=${this._featureCreated} .showSketchWidgets=${this.showSketchWidgets} .selectedLayerId=${this.layerOrTable?.id} .showLayerVisibilityMsg=${this.layerOrTable?.visible===!1} ${h(this._createFeature)}></create-feature>`||""}</div>`}async _getFeaturesByIds(e){return(e.length>0&&this.layerOrTable&&this.mapView?await m(e,this.layerOrTable,[],!0,this.mapView?.spatialReference):[]).sort((t,s)=>e.indexOf(Number(t.getObjectId()))-e.indexOf(Number(s.getObjectId())))}_createFeatureBtnClicked(){this._showCreateFeatureComponent=!0,this.createWorkFlowStarted.emit()}async _backFromCreateFeature(){this._createFeature.value&&(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)}};p("card-manager",r);return r},b,e)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{H as s}from"./
|
|
2
|
+
import{H as s}from"./P4PCDUNA.js";var t=s({defaultAssetPath:"https://js.arcgis.com/5.0.11/instant-apps-components/",hydratedAttribute:"hydrated"}),{customElement:n,getAssetPath:i,setAssetPath:p}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,n as b,i as c};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import g from"./
|
|
2
|
+
import g from"./2SQ65XGX.js";import e from"./6L3O33XA.js";import"./US5FON7D.js";import"./2WTVBIT3.js";import"./VVZAS55G.js";import"./4AW45DXY.js";import d from"./VY67IEV4.js";import"./2B4SGB3I.js";import"./RUHBLPYT.js";import"./IOFPQUQT.js";import c from"./CEP54NLT.js";import a from"./YVNP437O.js";import{a as y}from"./Q5ZGIKBW.js";import"./OQH2TBQQ.js";import"./3LTRULIX.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import{b as u}from"./FCSE4STJ.js";import{F as f,G as b,h as p,i as m}from"./P4PCDUNA.js";import"./QPIMTXPL.js";export default $arcgis.t(([])=>{var v=p`.height-51{height:51px}.width-51{width:51px}`,h=class extends b{constructor(){super(),this._translations=y({name:"field-selection",blocking:!0}),this._fieldSortOrder="default",this._selectedFields=[],this._fieldVisibilityPopoverClickHandler=i=>{this._fieldVisibilityPopoverNode?this._isInNode(i.target,"arcgis-field-pick-list")||(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0,document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler)):document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler)},this.listenOn(window,"columnReorder",this.handleColumnReorder,{capture:!0})}static{this.properties={configExtraFields:1,layer:0,mapView:0,table:0,tableRef:0,_translations:16}}static{this.styles=v}render(){return m`<calcite-action alignment=center appearance=solid class="height-51 width-51" id=solutions-field-selection .text=${this._translations.fieldVisibility} scale=m @click=${()=>this._handleFieldVisibilityClick()} @mouseover=${()=>this._addTableTooltip(this._fieldVisibilityActionNode,this._translations.fieldVisibility)} @mouseout=${()=>this._removeTableTooltip()} @focus=${()=>this._addTableTooltip(this._fieldVisibilityActionNode,this._translations.fieldVisibility)} ${f(i=>this._fieldVisibilityActionNode=i)}><calcite-icon scale=s icon=gear></calcite-icon></calcite-action>`}handleColumnReorder(){this._fieldSortOrder="default",this._fieldVisibilityPopoverNode&&(this.removeFieldsPickList(),this._handleFieldVisibilityClick())}_handleFieldVisibilityClick(){if(this._fieldVisibilityPopoverNode)return;let i=this.table?.tableTemplate?.columnTemplates;if(this.layer&&this.mapView&&i&&this._fieldVisibilityActionNode){document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler);let t=this.table.fieldColumns.map(l=>({alias:l.field.alias,description:l.field.description,name:l.field.name,type:l.field.type}));if(this._hasAttachmentsEnabled(this.layer)){let l="Attachments";if(this._shouldShowField(l.toUpperCase(),!1)){if(!i.some(s=>s.fieldName.toUpperCase()===l.toUpperCase())){let s={fieldName:l,type:"attachment",visible:!0};i.push(s)}t.push({name:l,alias:"Photos and files",type:"none",description:l})}}if(this.table.relatedRecordsEnabled&&this.layer.relationships&&this.layer.relationships.length>0){let l=this.layer.parent;this.layer.relationships.forEach(s=>{let o,d=this._shouldShowField(s.name||"",!0);if(!i.some(a=>a.fieldName.toLowerCase()===s.name?.toLowerCase()?(o=s.name,!0):!1))if(s.name){o=s.name;let a={fieldName:o,type:"relationship",visible:!0};d=this._shouldShowField(o,!0),i.push(a)}else{let a=[...l?.layers||[],...l?.tables],c;if(a.some(n=>n.layerId===s.relatedTableId?(c=n,!0):!1),c){o=c.title,s.name=o;let n={fieldName:o,type:"relationship",visible:!0};d=this._shouldShowField(o,!0),i.push(n)}}o&&d&&t.push({name:o,alias:`Related ${o}`,type:"none",description:`related:${o}`})})}let e=this._fieldVisibilityPopoverNode?this._fieldVisibilityPopoverNode:document.createElement("arcgis-field-pick-list");e.layer=this.layer,e.fields=t,e.showFieldInfo=!0,e.showFieldName=!0,e.showDescription=!1,e.showSelectionAll=!0,e.hideCancel=!0,e.hideSort=!1,e.showFilterLength=5,e.multiple=!0,e.heading=this._translations.fieldVisibility,e.okBtnText=this._translations.doneWithFieldChanges,e.filterPlaceholderText=this._translations.filterFields,e.sortBy=this._fieldSortOrder??"default";let r=this.table?.visibleColumns.map(l=>l.fieldName.startsWith("EsriFeatureTableRelationshipColumn")||l.fieldName.startsWith("EsriFeatureTableAttachmentsColumn")?l.effectiveLabel:l.fieldName);e.selectedFields=i.reduce((l,s)=>((r?r.indexOf(s.fieldName)>-1:s.visible)&&l.push(s.fieldName),l),[]),this._selectedFields=e.selectedFields,e.style.minHeight="340px",e.popoverProps={refElement:this._fieldVisibilityActionNode,popoverWidth:300,placement:"bottom-end",offsetDistance:-20,triggerDisabled:!1,autoClose:!1},e.addEventListener("arcgisChange",l=>{l.stopPropagation();let s=l.detail.selectedFields,o=this._getDifference(s,this._selectedFields),d=this._getDifference(this._selectedFields,s);o.concat(d).forEach(a=>{let c=this.layer?.relationships?.map(n=>n.name)||[];if(a==="Attachments"){let n=this.table.columns.find(_=>"onShowAttachments"in _);n.hidden=d.indexOf(a)>-1}else c.indexOf(a)>-1?this.table.columns.filter(n=>"relationshipId"in n).forEach(n=>{d.indexOf(a)>-1,a==n.effectiveLabel&&(n.hidden=d.indexOf(a)>-1)}):this.table.toggleColumnVisibility(a)}),this._selectedFields=s,this._updateTable(this.table.tableTemplate)}),e.addEventListener("arcgisSortByChange",l=>{l.stopPropagation(),this._fieldSortOrder=l.detail,this._sortFields(l.detail)}),e.addEventListener("arcgisClose",()=>{this._closePopovers(),setTimeout(()=>this._fieldVisibilityActionNode.setFocus(),200)}),document.body.appendChild(e),this._fieldVisibilityPopoverNode=e,setTimeout(()=>document.addEventListener("click",this._fieldVisibilityPopoverClickHandler),200)}}_shouldShowField(i,t){return(this.configExtraFields||[]).some(e=>t?e.replace("related:","").toUpperCase()===i.toUpperCase():e.toUpperCase()===i.toUpperCase())}removeFieldsPickList(){this._fieldVisibilityPopoverNode&&(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0)}_sortFields(i){let t=this.table.tableTemplate.columnTemplates,e=this._getSortOrder(i),r=t.filter(s=>s.type!=="attachment"&&s.type!=="relationship").sort((s,o)=>{let d=e.indexOf(s.fieldName),a=e.indexOf(o.fieldName);return d===-1&&a!==-1?1:d!==-1&&a===-1?-1:d===-1&&a===-1?0:d-a}),l=t.filter(s=>s.type==="attachment"||s.type==="relationship");this.tableRef.setColumnOrder([...r,...l]),this._updateTable(this.table.tableTemplate)}_getSortOrder(i){let t=[...this.layer.fields];return i==="display"?t.sort((e,r)=>e.alias.localeCompare(r.alias)):i==="field"?t.sort((e,r)=>e.name.localeCompare(r.name)):i==="type"&&t.sort((e,r)=>e.type.localeCompare(r.type)),t.map(e=>e.name)}_getDifference(i,t){return i.filter(e=>!t.includes(e))}_updateTable(i){this.table.tableTemplate=i,this._isStandardView()&&this._syncAttributeTableTemplate()}async _syncAttributeTableTemplate(){let i=this.table.layer;if(i.attributeTableTemplate){let{_modules:t}=this,e=i.attributeTableTemplate.clone();t?.attributeTableTemplateUtils.syncAttributeTableTemplate(this.table,e),JSON.stringify(e)!==JSON.stringify(i.attributeTableTemplate)&&(i.attributeTableTemplate=e)}if(i.attributeTableTemplate?.orderByFields?.length>1){let t=i.attributeTableTemplate.clone(),e=this.table.activeSortOrders[0];t.orderByFields=[{field:e.fieldName,order:e.direction}],i.attributeTableTemplate=t,this._syncColumnDirectionsWithOrderByFields()}}_syncColumnDirectionsWithOrderByFields(){let i=this.table.activeSortOrders[0]?.fieldName;this.table.columns.forEach(t=>{"fieldName"in t&&t.fieldName!==i&&(t.direction=void 0)}),this.table.tableTemplate?.columnTemplates.forEach(t=>{"fieldName"in t&&t.fieldName!==i&&(t.direction=void 0)})}_isStandardView(){return!this.table.relatedTable&&!this.table.attachmentsViewOptions.objectId}_closePopovers(){document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler),this._fieldVisibilityPopoverNode&&(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0)}_addTableTooltip(i,t){let e=document.createElement("calcite-tooltip");e.className="table-tooltip",e.referenceElement=i,e.placement="trailing-start",e.open=!0;let r=document.createElement("div");r.className="tooltip",r.innerHTML=t,e.append(r),document.body.append(e)}_removeTableTooltip(){document.querySelectorAll(".table-tooltip").forEach(i=>i.parentNode?.removeChild(i))}_isInNode(i,t){for(;i;){if(i.nodeName===t.toUpperCase())return!0;i=i.parentElement}return!1}_hasAttachmentsEnabled(i){if(!i?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:e}}}=i;return t&&e}};u("field-selection",h);return h},a,c,d,e,g)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{b as c}from"./
|
|
2
|
+
import{b as c}from"./FCSE4STJ.js";import{E as l,F as n,G as r,h as s,i,q as a}from"./P4PCDUNA.js";import"./QPIMTXPL.js";export default $arcgis.t(([h,d])=>{var m=s`:host{display:block}`,t=class extends r{constructor(){super(...arguments),this._fullscreenElement=l(),this.fullscreenStateChange=a()}static{this.properties={mapView:0,fullscreenWidget:0}}static{this.styles=m}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler()}async mapViewWatchHandler(){await this.mapView?.when(async()=>{await this._initFullscreenWidget()})}render(){return i`<div class="fullscreen-widget" ${n(this._fullscreenElement)}></div>`}async updated(){this.hasUpdated||await this._initFullscreenWidget()}async loaded(){await this._initFullscreenWidget()}async _initFullscreenWidget(){this.mapView&&this._fullscreenElement.value&&!this.fullscreenWidget?(this.fullscreenWidget=new h({view:this.mapView}),await this.fullscreenWidget?.when(()=>{this._fullscreenStateChangeHandle&&this._fullscreenStateChangeHandle.remove(),this._fullscreenStateChangeHandle=d?.watch(()=>this.fullscreenWidget?.viewModel.state,e=>e&&this.fullscreenStateChange.emit(e))})):this.fullscreenWidget&&(this.fullscreenWidget.view=this.mapView)}};c("map-fullscreen",t);return t},"widgets/Fullscreen","core/reactiveUtils")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as w}from"./
|
|
2
|
+
import{a as w}from"./RI5IMXL3.js";import{a as v}from"./HSQV7EUD.js";import{b as y}from"./4AW45DXY.js";import{c as m}from"./OQH2TBQQ.js";import"./3LTRULIX.js";import{E as c,F as l,G as g,h as b,i as o}from"./P4PCDUNA.js";import"./QPIMTXPL.js";export default $arcgis.t(([k,G,{on:x},h,B,L,_])=>{var I=b`:host{--default-width: 375px;--width: var(--default-width);--padding: 10px;--border-style: 1px solid var(--calcite-color-border-1);--close-button-size: 48px;--calcite-icon-color: var(--calcite-color-text-3);display:block;background:var(--background-color, var(--calcite-color-foreground-1));color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1);box-sizing:border-box}::slotted(arcgis-sketch),::slotted(arcgis-search){display:flex;justify-content:center;align-items:center}::slotted(arcgis-sketch){--calcite-action-bar-shadow: none;--calcite-action-bar-corner-radius: none;--calcite-action-group-border-color: var(--calcite-color-border-1)}::slotted(arcgis-search){width:100%;padding:var(--padding)}[hidden]{display:none}[role=dialog]{width:var(--width);>*{padding-inline:var(--padding)}}header{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-inline-end:0}h2{color:inherit;font-size:inherit;font-weight:var(--calcite-font-weight-medium);line-height:1;margin:0}calcite-button.close-dialog{width:var(--close-button-size);height:var(--close-button-size)}.border-bottom{height:1px;border-bottom:var(--border-style)}calcite-label:first-of-type span{padding-block-start:var(--padding)}.main-buttons-wrapper{display:flex;flex-direction:column;gap:var(--padding);padding-block:var(--padding)}`,u={style:"solid",color:[100,100,100,.5],outline:{color:[255,255,255,255],width:.75}};function C(r,e){return new L({geometry:r,symbol:e})}async function $({graphic:r,distance:e,unit:t,isGeodesic:s}){s&&!h.isLoaded()&&await h.load();let a=s?h:B;try{let i={unit:t},n=a.execute(r.geometry,e,i);if(!n)throw new Error("buffer failed");return n}catch(i){console.error(String(i))}}async function A({graphic:r,unit:e,isGeodesic:t,distanceValues:s}){let a=0,i=r,n=[];for(;a<s.length;){let M=s[a],f=await $({graphic:r,distance:M,unit:e,isGeodesic:t});if(!f)continue;let p=_.execute(f,i.geometry);p&&n.push(p),i=C(f,r.symbol),a++}return n}function S(r){let e=r?.assignedElements?.({flatten:!0});if(e?.length)return e.at(0)}var D=["meters","kilometers","miles","yards","feet","us-feet"],d=class extends g{constructor(){super(),this._messages=v({name:"instant-apps-buffer",blocking:!0}),this.#i=c(),this.#s=c(),this.#e=c(),this.#a=c(),this.#r=c(),this.open=!1,this.inputMethod="select-feature",this.inputGraphics=[],this.bufferUnit="miles",this.bufferInputStep=1,this.bufferDistance=1,this.bufferMinDistance=.1,this.bufferMaxDistance=1e6,this.geodesicBufferEnabled=!1,this.bufferColor=u.color,this.bufferStyle=u.style,this.bufferOutlineColor=u.outline.color,this.bufferOutlineWidth=u.outline.width,this.elevationInfoMode="on-the-ground",this.arcgisPropertyChange=m()("open","inputMethod"),this.bufferLayer=new k,this.listen("calciteRadioButtonGroupChange",this._handleBufferInputChange),this.listen("arcgisCreate",this._handleArcgisSketchEventCreate),this.listen("arcgisDelete",this._handleArcgisSketchEventDelete),this.listen("arcgisSearchClear",this._handleArcgisSearchClear),this.listen("arcgisSelectResult",this._handleArcgisSearchSelect)}static{this.properties={open:7,inputMethod:3,bufferLayer:0,inputGraphics:0,view:0,sources:0,bufferUnit:3,bufferInputStep:11,bufferDistance:11,distanceValuesSorted:32,bufferMinDistance:11,bufferMaxDistance:11,geodesicBufferEnabled:7,readyToBuffer:39,bufferColor:0,bufferStyle:1,bufferOutlineColor:0,bufferOutlineWidth:9,bufferGraphicSymbol:32,elevationInfoMode:1}}static{this.styles=I}#i;#s;#e;#a;#r;get#t(){let e=this.#a.value;return S(e)}get#n(){let e=this.#r.value;return S(e)}get distanceValuesSorted(){return this.el.shadowRoot.querySelector("instant-apps-buffer-distance-manager")?.distanceValuesSorted||[]}get readyToBuffer(){return!!this.view&&!!this.bufferLayer&&!!this.inputGraphics?.length&&!!this.distanceValuesSorted?.length}get bufferGraphicSymbol(){let e=typeof this.bufferOutlineWidth=="number"&&this.bufferOutlineWidth>0,t=typeof this.bufferOutlineColor<"u"&&e;return new G({color:this.bufferColor,style:this.bufferStyle,outline:t?{color:this.bufferOutlineColor,width:this.bufferOutlineWidth}:null})}async clearBufferLayer(){this._clearBufferLayer()}async close(){this.open=!1}async setFocus(){await this.#i.value.setFocus()}willUpdate(e){this.view&&this.view.type==="3d"&&(e.has("view")||e.has("elevationInfoMode"))&&(this.bufferLayer.elevationInfo={mode:this.elevationInfoMode}),e.has("inputMethod")&&this.inputMethod&&this._inputMethodChangeCleanUp()}async loaded(){let e=this.#e.value;await e.updateComplete,this.manager.onLifecycle(()=>x(()=>e.selectionManager,"selection-change",()=>this._getSelectedGraphics()))}_inputMethodChangeCleanUp(){this.inputGraphics=[],this.clearBufferLayer(),this.#e?.value?.clearSelection?.(),this.#n?.clear?.(),this.#t?.cancel?.(),this.#t?.delete?.(),this.#t?.layer?.removeAll?.()}_handleBufferInputChange(){let e=(this.#s.value.shadowRoot?.querySelector("calcite-radio-button-group")).selectedItem.value;this.inputMethod=e}_handleArcgisSketchEventCreate(e){e.detail.state==="complete"&&this._assignInputGraphicsFromArcgisSketch()}_handleArcgisSketchEventDelete(e){this._assignInputGraphicsFromArcgisSketch()}_assignInputGraphicsFromArcgisSketch(){this.#t&&(this.inputGraphics=[...this.#t?.layer?.graphics?.toArray()??[]])}async _handleArcgisSearchSelect(){let e=this.#n.resultGraphic;e&&(this.inputGraphics=[e])}_handleArcgisSearchClear(){this.inputGraphics=[]}async _getSelectedGraphics(){let e=await this.#e.value.getSelectedFeatures(),t=[];for(let s of e)t=[...t,...s.data.features];this.inputGraphics=t??[]}_clearBufferLayer(){this.bufferLayer?.removeAll()}async _onCreateBufferClick(){await this._bufferInputGraphics()}_onRemoveBufferClick(){this._clearBufferLayer()}_onBufferUnitChange(e){let t=e.target.value;this.bufferUnit=t}async _bufferInputGraphics(){if(!this.readyToBuffer)return;this.view.map?.layers.indexOf(this.bufferLayer)===-1?this.view.map.add(this.bufferLayer):this.bufferLayer.removeAll();let e=[];for(let a of this.inputGraphics){let i={graphic:a,unit:this.bufferUnit,isGeodesic:this.geodesicBufferEnabled},n;this.distanceValuesSorted.length>1&&(n=A({...i,distanceValues:this.distanceValuesSorted})),this.distanceValuesSorted?.length===1&&(n=$({...i,distance:this.distanceValuesSorted[0]})),e.push(n)}let t=this.bufferGraphicSymbol,s=await Promise.all(e).catch(a=>console.log(String(a)));if(s&&s?.length){let a=s.flat().filter(i=>!!i).map(i=>C(i,t));this.bufferLayer.addMany(a)}}_renderInputMethod(){if(this.inputMethod==="select-feature"){let e=this.sources||this.view?.map?.layers;return o`<instant-apps-selection-toolbar .view=${this.view} continuous-selection-enabled .sources=${e} ${l(this.#e)}></instant-apps-selection-toolbar>`}return this.inputMethod==="draw-graphic"?o`<slot name=arcgis-sketch ${l(this.#a)}></slot>`:this.inputMethod==="search-location"?o`<slot name=arcgis-search ${l(this.#r)}></slot>`:null}render(){return o`<div role=dialog .hidden=${!this.open} aria-labelledby=buffer-title><header><h2 id=buffer-title>${this._messages.title}</h2><calcite-button class="close-dialog" .label=${this._messages.labels.close} appearance=transparent scale=m @click=${this.close} ${l(this.#i)}><calcite-icon icon=x scale=m></calcite-icon></calcite-button></header><instant-apps-buffer-input-radiogroup .labels=${this._messages.inputRadioButtonLabels} .selectedValue=${this.inputMethod} ${l(this.#s)}></instant-apps-buffer-input-radiogroup>${this._renderInputMethod()}<instant-apps-buffer-distance-manager .bufferDistance=${this.bufferDistance} .bufferInputStep=${this.bufferInputStep} .bufferMinDistance=${this.bufferMinDistance} .bufferMaxDistance=${this.bufferMaxDistance} .inputNumberLabel=${this._messages.labels.distance} .addButtonLabel=${this._messages.labels.add} .removeValueLabel=${this._messages.labels.removeDistanceValue}></instant-apps-buffer-distance-manager><calcite-label><span>${this._messages.labels.unit}</span><calcite-select .label=${this._messages.labels.unit} @calciteSelectChange=${this._onBufferUnitChange}>${w(D,e=>e,e=>o`<calcite-option .value=${e} .selected=${this.bufferUnit===e}>${this._messages.units[e]}</calcite-option>`)}</calcite-select></calcite-label><div class="main-buttons-wrapper"><calcite-button @click=${this._onCreateBufferClick}>${this._messages.labels.draw}</calcite-button><calcite-button appearance=outline @click=${this._onRemoveBufferClick}>${this._messages.labels.clear}</calcite-button></div></div>`}};y("instant-apps-buffer",d);return d},"layers/GraphicsLayer","symbols/SimpleFillSymbol","core/reactiveUtils","geometry/operators/geodesicBufferOperator","geometry/operators/bufferOperator","Graphic","geometry/operators/differenceOperator")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{d as e}from"./
|
|
2
|
+
import{d as e}from"./GF4QELNV.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as i}from"./2B76QZR7.js";import{a}from"./SH72A5PB.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./
|
|
2
|
+
import{a as i}from"./2B76QZR7.js";import{a}from"./SH72A5PB.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./GF4QELNV.js";import{a as o}from"./DKB6JTUF.js";import{a as s}from"./3WKKIXVT.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import{b as r}from"./NEKIHEPY.js";import"./UKXDAOCN.js";import"./D3WYLHYH.js";import"./MPGXSCG5.js";import"./TT5Y2WZP.js";import"./JBGQX4DF.js";import"./OQWMBY4L.js";import"./MHD543E6.js";import"./N72IW5CX.js";import"./SNXCUFG4.js";import"./ZDGVCOLK.js";import"./FES7B3SJ.js";import"./4UBLWDFJ.js";import"./SBEC53RV.js";import"./LDQDYCD2.js";import"./RNAN4RW6.js";import"./W5V64SBG.js";import"./TTODV2R4.js";import"./CEZMBNEQ.js";import"./BJMJWUHS.js";import"./NPZQAHW4.js";import"./FKCIW6NV.js";import"./YF26KIY5.js";import"./QPIMTXPL.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,l.thumbnail,i(l),"template",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}}]}]});export{d as buildUiSchema};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as e}from"./
|
|
2
|
+
import{a as e}from"./AJZDBHB6.js";function i(r,n,o){let t=e(r,n);return t!==void 0?t:o}export{i as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import e from"./Q3ZEIM5Q.js";import d from"./Q2UWCF43.js";import"./US5FON7D.js";import"./VVZAS55G.js";import"./XGUPGW5V.js";import b from"./CEP54NLT.js";import a from"./YVNP437O.js";import{a as F}from"./SHFWVVGY.js";import"./7NDNEWIB.js";import"./46MUUBPE.js";import"./TEHBW75B.js";import"./ALSK2SPM.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./BMBNSJZQ.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import{b as L}from"./2MOSXHFG.js";import{E as u,F as c,G as w,I as x,J as I,h as m,i as l,l as _,q as p,t as y}from"./7MSBIQLE.js";import"./QPIMTXPL.js";export default $arcgis.t(([E,S,$,,{c:d,d:g,g:b},,v])=>{var T=m`@layer{:host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.notice-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500}.feature-list-popup-title-small{font-size:small}.feature-list-popup-title-small-ellipsis{font-size:small;white-space:nowrap!important;text-overflow:ellipsis;overflow:hidden}.popup-title{padding:0 5px;word-break:break-word}.profile-img{margin:0 5px;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray!important;font-style:italic}.feature-symbol{padding:0 3px;min-width:30px;display:flex;justify-content:center}.search{padding:10px;background-color:var(--calcite-color-surface-2)!important;border-block-end:1px solid var(--calcite-color-border-3)}}`,f=class extends w{constructor(){super(),this.selectedLayerId="",this.noFeaturesFoundMsg="",this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!1,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.showFullTitle=!0,this.filterByMapExtent=!1,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._searchPlaceHolder="",this._fullTextSearchInfo=[],this._translations=F({name:"feature-list",blocking:!0}),this._pagination=u(),this._calciteList=u(),this._validFieldTypes=["small-integer","integer","big-integer","single","long"],this._abbreviatedLikeCount="",this._likeFieldAvailable=!1,this._searchExpression="",this.featureClick=p(),this.featureSelect=p(),this.listenOn(window,"selectedLanguageUpdated",this.selectedLanguageUpdated)}static{this.properties={selectedLayerId:1,mapView:0,noFeaturesFoundMsg:1,pageSize:9,highlightOnMap:5,highlightOnHover:5,sortingInfo:0,whereClause:1,textSize:1,showInitialLoading:5,showErrorWhenNoFeatures:5,showUserImageInList:5,showFeatureSymbol:5,applyLayerViewFilter:5,reportingOptions:0,showFullTitle:5,filterByMapExtent:5,_featureItems:16,_featuresCount:16,_isLoading:16,_searchPlaceHolder:16,_fullTextSearchInfo:16,_translations:16}}static{this.styles=T}static{this.shadowRootOptions=y}willUpdate(e){e.has("selectedLayerId")&&this.selectedLayerWatchHandler(),e.has("sortingInfo")&&this.sortingInfoWatchHandler(),e.has("whereClause")&&this.whereClauseHandler(),e.has("filterByMapExtent")&&this.hasUpdated&&this.filterByMapExtentWatchHandler(this.filterByMapExtent)}async selectedLayerWatchHandler(){this._selectedLayer=this.mapView&&await g(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async filterByMapExtentWatchHandler(e){e?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(e){if(e&&this._pagination.value){let t={target:{startItem:this._pagination.value.startItem}};await this.pageChanged(t)}else this._searchExpression?await this._searchFullText():await this.initializeFeatureItems()}async selectedLanguageUpdated(e){if(this._pagination.value){let t={target:{startItem:this._pagination.value.startItem}};await this.pageChanged(t)}else await this.initializeFeatureItems()}async load(){this._isLoading=!!this.showInitialLoading,this._popupUtils=new v,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await g(this.mapView,this.selectedLayerId),this._getFullTextSearchInfo()),this.filterByMapExtent&&this.initializeMapExtentFilter()}async loaded(){await this.initializeFeatureItems()}render(){let e=this._canShowFullTextSearch();return l`<calcite-panel>${e&&l`<calcite-input class=search clearable icon=search @calciteInputChange=${this._searchTextChanged} .placeholder=${this._searchPlaceHolder} title type=search></calcite-input>`||""}${this._isLoading&&l`<calcite-loader label scale=m></calcite-loader>`||""}${this.showErrorWhenNoFeatures&&this._featureItems.length===0&&!this._isLoading&&l`<calcite-notice class="notice-msg" icon=feature-details kind=info open><div slot=message>${this.filterByMapExtent?this._translations.featureErrorMsgInCurrentMapView:this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg}</div></calcite-notice>`||""}<calcite-list class=${x(this.textSize==="small"&&!this.showFullTitle?"overflow-hidden":"")} label selection-appearance=border selection-mode=none ${c(this._calciteList)}>${!this._isLoading&&this._featureItems.length>0&&l`<div>${this.filterByMapExtent&&this.getExtentNotice()||""}${this._featureItems}</div>`||""}</calcite-list>${this.pageSize&&this._featuresCount>this.pageSize&&l`<div class="width-full" slot=footer><calcite-pagination class="pagination" @calcitePaginationChange=${this.pageChanged} .pageSize=${this.pageSize} start-item=1 .totalItems=${this._featuresCount} ${c(this._pagination)}></calcite-pagination></div>`||""}</calcite-panel>`}async getWhereCondition(){let e="1=1";if(this.whereClause&&(e=this.whereClause),this._selectedLayer?.definitionExpression&&(e=e+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){let t=this.mapView&&await d(this.mapView,this.selectedLayerId);t?.filter?.where&&(e=e+" AND "+t.filter.where)}return e}async initializeFeatureItems(){if(this._selectedLayer){this._pagination.value?.goTo("start"),this._isLoading=!!this.showInitialLoading,this._featureItems=await this.queryPage(0);let e={where:await this.getWhereCondition(),geometry:this.filterByMapExtent?this.mapView?.extent:null};this._featuresCount=await this._selectedLayer.queryFeatureCount(e),this._isLoading=!1}}initializeMapExtentFilter(){this._filterByMapExtentHandle=$.when(()=>this.mapView?.stationary,()=>{this.initializeFeatureItems()},{initial:!0})}async pageChanged(e){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=void 0);let t=e.target.startItem-1;this._featureItems=await this.queryPage(t),this._isLoading=!1}_canShowFullTextSearch(){return this._selectedLayer?.capabilities?.query?.supportsFullTextSearch&&this._selectedLayer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._selectedLayer?.capabilities?.query?.supportsFullTextSearch){let e=this._selectedLayer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(i=>{t.push(...i.fields.split(","))});let s=[];t.forEach(i=>{let a=this._selectedLayer?.getField(i.trim());s.push(a?.alias||"")}),this._searchPlaceHolder=this._translations.searchPlaceholder?this._translations.searchPlaceholder.replace("{{field_names}}",s.join(", ")):"",this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),await this._searchFullText()}async _searchFullText(){this._searchExpression&&this._clearSearchDefinitionExpression();let e=[];if(this._fullTextSearchInfo&&this._fullTextSearchInfo[0].searchTerm){let t=this._selectedLayer?.createQuery();t&&(t.fullText=this._fullTextSearchInfo,e=await this._selectedLayer?.queryObjectIds(t),await this._updateSearchDefinitionExpression(e?.length?e:[-1]))}await this.initializeFeatureItems()}async _updateSearchDefinitionExpression(e){if(this._selectedLayer){let t=this._selectedLayer.definitionExpression;if(e?.length){let s=`objectId in(${e})`;this._selectedLayer.definitionExpression=this._searchExpression&&t&&t?.indexOf(this._searchExpression)>-1?t.replace(this._searchExpression,s):t?`${t} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}}_clearSearchDefinitionExpression(){if(this._selectedLayer){let e=this._selectedLayer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._selectedLayer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._selectedLayer.definitionExpression=e.replace(this._searchExpression,""))}this._searchExpression=""}async featureClicked(e,t){if(this.featureClick.emit(),this.clearHighlights(),this.highlightOnMap){let s=Number(e.target.value),i=this.mapView&&await d(this.mapView,this.selectedLayerId);this._highlightHandle=i&&this.mapView?await b([s],i,this.mapView,!0):void 0}await this.emitSelectedFeature(t)}async emitSelectedFeature(e){let t=e.layer,s=t.createQuery();s.returnGeometry=!0;let i=Number(e.getObjectId());if(!Number.isNaN(i)&&s){s.objectIds=[i];let a=await t.queryFeatures(s);this.featureSelect.emit(a.features[0])}}async onFeatureHover(e){if(this.clearHighlights(),this.highlightOnHover){let t=Number(e.getObjectId()),s=this.mapView&&await d(this.mapView,this.selectedLayerId);s&&(this._highlightHandle=s.highlight([t],{name:"temporary"}))}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(e){let t=this._selectedLayer;if(t){let s=this.sortingInfo?.field?this.sortingInfo.field:t.objectIdField,i=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),r={start:e,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView?.spatialReference.toJSON(),geometry:this.filterByMapExtent?this.mapView?.extent:null};s&&i&&(r.orderByFields=[s.toString()+" "+i]);let n=await t.queryFeatures(r);return await this.createFeatureItem(n)}else return}async createFeatureItem(e){let t=e?.features,s=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,i=t.map(async a=>{let r=this.mapView?.map&&await this._popupUtils?.getPopupTitle(a,this.mapView.map)||"",n,h;return this.showUserImageInList&&this._selectedLayer?.editFieldsInfo?.creatorField&&(n=await this.getUserInformation(a)),this.showFeatureSymbol&&(h=await this.getFeatureSymbol(a)),s&&this.getAbbreviatedLikeCount(a),this.getFeatureItem(a,r,h,n)});return Promise.all(i)}getExtentNotice(){return l`<calcite-notice class="notice-msg" icon=extent-filter kind=brand open scale=s><div slot=message>${this._translations.extentFilterMsg}</div></calcite-notice>`}getAbbreviatedLikeCount(e){let t=this._selectedLayer;if(t){let s=this.reportingOptions&&this.reportingOptions[t.id].likeField;t.fields.forEach(i=>{if(this._validFieldTypes.indexOf(i.type)>-1&&i.name===s&&this.reportingOptions&&this.reportingOptions[t.id].like){this._likeFieldAvailable=!0;let a=e.attributes[s]||0;a>999&&this._translations.millions_value&&this._translations.thousands_value&&(a=a>999999?this._translations.millions_value.replace("{{millions_value}}",Math.floor(a/1e6).toString()):this._translations.thousands_value.replace("{{thousands_value}}",Math.floor(a/1e3).toString())),this._abbreviatedLikeCount=a}})}}getFeatureItem(e,t,s,i){if(this._selectedLayer?.id&&this._calciteList.value){let a=e.attributes[this._selectedLayer.objectIdField].toString();t=t??a;let r=Number(e.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField||""]).toLocaleString(),n=this.textSize==="small"&&!this.showFullTitle?"feature-list-popup-title-small-ellipsis":this.textSize==="small"?"feature-list-popup-title-small":"feature-list-popup-title",h=this.showUserImageInList?115:65,C=this._calciteList.value.offsetWidth-h;return l`<calcite-list-item @mouseleave=${()=>{this.clearHighlights()}} @mouseover=${()=>{this.onFeatureHover(e)}} @calciteListItemSelect=${o=>{this.featureClicked(o,e)}} .value=${a}>${this.showUserImageInList&&l`<calcite-avatar class=profile-img .fullName=${i?.fullName} scale=m slot=content-start .thumbnail=${i?.userProfileUrl} .userId=${i?.id} .username=${i?.fullName?i.username:void 0}></calcite-avatar>`||""}${this.showFeatureSymbol&&s&&l`<div class=feature-symbol slot=content-start ${c(o=>o&&o.replaceChildren(s))}></div>`||""}<div class=${`popup-title ${n}`} slot=content-start style=${I({maxWidth:this.textSize==="large"?"none":`${C}px`})}>${t}</div>${this._likeFieldAvailable&&l`<div class=like-container id=${a.concat("like")??_} slot=content-end><span>${this._abbreviatedLikeCount}</span><calcite-icon icon=thumbs-up scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${a.concat("like")}>${r}</calcite-tooltip></div>`||""}<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`}else return}async getUserInformation(e){let t=this._selectedLayer?.editFieldsInfo?.creatorField;if(t){e.attributes.hasOwnProperty(t.toLowerCase())?t=t.toLowerCase():e.attributes.hasOwnProperty(t.toUpperCase())&&(t=t.toUpperCase());let s=`${E.portalUrl}/sharing/rest/community/users/${e.attributes[t]}?f=json&returnUserLicensedItems=true`,i=this.mapView?.map?.portalItem.portal?.credential?.token;i&&(s+=`&token=${i}`);let a=await(await fetch(s)).json(),r=a?.username??e.attributes[t],n=`${E.portalUrl}/sharing/rest/community/users/${r}/info/blob.png`;return a?.access&&i&&(n+=`?token=${i}`),a.userProfileUrl=n,a}else return}async getFeatureSymbol(e){let t=document.createElement("div");return await S?.getDisplayedSymbol(e).then(async s=>{if(s&&await S?.renderPreviewHTML(s,{node:t}),t.children?.length){let i=t.children[0];if(i){let a=Number(i.getAttribute("height")),r=Number(i.getAttribute("width"));r>30&&(t.setAttribute("width","30"),i.setAttribute("width","30")),a>30&&(t.setAttribute("height","30"),i.setAttribute("height","30")),i.setAttribute("viewBox",`0 0 ${r} ${a}`),t.setAttribute("viewBox",`0 0 ${r} ${a}`)}}}),t}};L("feature-list",f);return f},"config","symbols/support/symbolUtils","core/reactiveUtils",a,b,d,e)
|
|
2
|
+
import e from"./22TA4SJL.js";import d from"./6L3O33XA.js";import"./US5FON7D.js";import"./VVZAS55G.js";import"./IOFPQUQT.js";import b from"./CEP54NLT.js";import a from"./YVNP437O.js";import{a as F}from"./Q5ZGIKBW.js";import"./OQH2TBQQ.js";import"./3LTRULIX.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import{b as L}from"./FCSE4STJ.js";import{E as u,F as c,G as w,I as x,J as I,h as m,i as l,l as _,q as p,t as y}from"./P4PCDUNA.js";import"./QPIMTXPL.js";export default $arcgis.t(([E,S,$,,{c:d,d:g,g:b},,v])=>{var T=m`@layer{:host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.notice-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500}.feature-list-popup-title-small{font-size:small}.feature-list-popup-title-small-ellipsis{font-size:small;white-space:nowrap!important;text-overflow:ellipsis;overflow:hidden}.popup-title{padding:0 5px;word-break:break-word}.profile-img{margin:0 5px;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray!important;font-style:italic}.feature-symbol{padding:0 3px;min-width:30px;display:flex;justify-content:center}.search{padding:10px;background-color:var(--calcite-color-surface-2)!important;border-block-end:1px solid var(--calcite-color-border-3)}}`,f=class extends w{constructor(){super(),this.selectedLayerId="",this.noFeaturesFoundMsg="",this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!1,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.showFullTitle=!0,this.filterByMapExtent=!1,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._searchPlaceHolder="",this._fullTextSearchInfo=[],this._translations=F({name:"feature-list",blocking:!0}),this._pagination=u(),this._calciteList=u(),this._validFieldTypes=["small-integer","integer","big-integer","single","long"],this._abbreviatedLikeCount="",this._likeFieldAvailable=!1,this._searchExpression="",this.featureClick=p(),this.featureSelect=p(),this.listenOn(window,"selectedLanguageUpdated",this.selectedLanguageUpdated)}static{this.properties={selectedLayerId:1,mapView:0,noFeaturesFoundMsg:1,pageSize:9,highlightOnMap:5,highlightOnHover:5,sortingInfo:0,whereClause:1,textSize:1,showInitialLoading:5,showErrorWhenNoFeatures:5,showUserImageInList:5,showFeatureSymbol:5,applyLayerViewFilter:5,reportingOptions:0,showFullTitle:5,filterByMapExtent:5,_featureItems:16,_featuresCount:16,_isLoading:16,_searchPlaceHolder:16,_fullTextSearchInfo:16,_translations:16}}static{this.styles=T}static{this.shadowRootOptions=y}willUpdate(e){e.has("selectedLayerId")&&this.selectedLayerWatchHandler(),e.has("sortingInfo")&&this.sortingInfoWatchHandler(),e.has("whereClause")&&this.whereClauseHandler(),e.has("filterByMapExtent")&&this.hasUpdated&&this.filterByMapExtentWatchHandler(this.filterByMapExtent)}async selectedLayerWatchHandler(){this._selectedLayer=this.mapView&&await g(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async filterByMapExtentWatchHandler(e){e?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(e){if(e&&this._pagination.value){let t={target:{startItem:this._pagination.value.startItem}};await this.pageChanged(t)}else this._searchExpression?await this._searchFullText():await this.initializeFeatureItems()}async selectedLanguageUpdated(e){if(this._pagination.value){let t={target:{startItem:this._pagination.value.startItem}};await this.pageChanged(t)}else await this.initializeFeatureItems()}async load(){this._isLoading=!!this.showInitialLoading,this._popupUtils=new v,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await g(this.mapView,this.selectedLayerId),this._getFullTextSearchInfo()),this.filterByMapExtent&&this.initializeMapExtentFilter()}async loaded(){await this.initializeFeatureItems()}render(){let e=this._canShowFullTextSearch();return l`<calcite-panel>${e&&l`<calcite-input class=search clearable icon=search @calciteInputChange=${this._searchTextChanged} .placeholder=${this._searchPlaceHolder} title type=search></calcite-input>`||""}${this._isLoading&&l`<calcite-loader label scale=m></calcite-loader>`||""}${this.showErrorWhenNoFeatures&&this._featureItems.length===0&&!this._isLoading&&l`<calcite-notice class="notice-msg" icon=feature-details kind=info open><div slot=message>${this.filterByMapExtent?this._translations.featureErrorMsgInCurrentMapView:this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg}</div></calcite-notice>`||""}<calcite-list class=${x(this.textSize==="small"&&!this.showFullTitle?"overflow-hidden":"")} label selection-appearance=border selection-mode=none ${c(this._calciteList)}>${!this._isLoading&&this._featureItems.length>0&&l`<div>${this.filterByMapExtent&&this.getExtentNotice()||""}${this._featureItems}</div>`||""}</calcite-list>${this.pageSize&&this._featuresCount>this.pageSize&&l`<div class="width-full" slot=footer><calcite-pagination class="pagination" @calcitePaginationChange=${this.pageChanged} .pageSize=${this.pageSize} start-item=1 .totalItems=${this._featuresCount} ${c(this._pagination)}></calcite-pagination></div>`||""}</calcite-panel>`}async getWhereCondition(){let e="1=1";if(this.whereClause&&(e=this.whereClause),this._selectedLayer?.definitionExpression&&(e=e+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){let t=this.mapView&&await d(this.mapView,this.selectedLayerId);t?.filter?.where&&(e=e+" AND "+t.filter.where)}return e}async initializeFeatureItems(){if(this._selectedLayer){this._pagination.value?.goTo("start"),this._isLoading=!!this.showInitialLoading,this._featureItems=await this.queryPage(0);let e={where:await this.getWhereCondition(),geometry:this.filterByMapExtent?this.mapView?.extent:null};this._featuresCount=await this._selectedLayer.queryFeatureCount(e),this._isLoading=!1}}initializeMapExtentFilter(){this._filterByMapExtentHandle=$.when(()=>this.mapView?.stationary,()=>{this.initializeFeatureItems()},{initial:!0})}async pageChanged(e){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=void 0);let t=e.target.startItem-1;this._featureItems=await this.queryPage(t),this._isLoading=!1}_canShowFullTextSearch(){return this._selectedLayer?.capabilities?.query?.supportsFullTextSearch&&this._selectedLayer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._selectedLayer?.capabilities?.query?.supportsFullTextSearch){let e=this._selectedLayer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(i=>{t.push(...i.fields.split(","))});let s=[];t.forEach(i=>{let a=this._selectedLayer?.getField(i.trim());s.push(a?.alias||"")}),this._searchPlaceHolder=this._translations.searchPlaceholder?this._translations.searchPlaceholder.replace("{{field_names}}",s.join(", ")):"",this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),await this._searchFullText()}async _searchFullText(){this._searchExpression&&this._clearSearchDefinitionExpression();let e=[];if(this._fullTextSearchInfo&&this._fullTextSearchInfo[0].searchTerm){let t=this._selectedLayer?.createQuery();t&&(t.fullText=this._fullTextSearchInfo,e=await this._selectedLayer?.queryObjectIds(t),await this._updateSearchDefinitionExpression(e?.length?e:[-1]))}await this.initializeFeatureItems()}async _updateSearchDefinitionExpression(e){if(this._selectedLayer){let t=this._selectedLayer.definitionExpression;if(e?.length){let s=`objectId in(${e})`;this._selectedLayer.definitionExpression=this._searchExpression&&t&&t?.indexOf(this._searchExpression)>-1?t.replace(this._searchExpression,s):t?`${t} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}}_clearSearchDefinitionExpression(){if(this._selectedLayer){let e=this._selectedLayer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._selectedLayer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._selectedLayer.definitionExpression=e.replace(this._searchExpression,""))}this._searchExpression=""}async featureClicked(e,t){if(this.featureClick.emit(),this.clearHighlights(),this.highlightOnMap){let s=Number(e.target.value),i=this.mapView&&await d(this.mapView,this.selectedLayerId);this._highlightHandle=i&&this.mapView?await b([s],i,this.mapView,!0):void 0}await this.emitSelectedFeature(t)}async emitSelectedFeature(e){let t=e.layer,s=t.createQuery();s.returnGeometry=!0;let i=Number(e.getObjectId());if(!Number.isNaN(i)&&s){s.objectIds=[i];let a=await t.queryFeatures(s);this.featureSelect.emit(a.features[0])}}async onFeatureHover(e){if(this.clearHighlights(),this.highlightOnHover){let t=Number(e.getObjectId()),s=this.mapView&&await d(this.mapView,this.selectedLayerId);s&&(this._highlightHandle=s.highlight([t],{name:"temporary"}))}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(e){let t=this._selectedLayer;if(t){let s=this.sortingInfo?.field?this.sortingInfo.field:t.objectIdField,i=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),r={start:e,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView?.spatialReference.toJSON(),geometry:this.filterByMapExtent?this.mapView?.extent:null};s&&i&&(r.orderByFields=[s.toString()+" "+i]);let n=await t.queryFeatures(r);return await this.createFeatureItem(n)}else return}async createFeatureItem(e){let t=e?.features,s=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,i=t.map(async a=>{let r=this.mapView?.map&&await this._popupUtils?.getPopupTitle(a,this.mapView.map)||"",n,h;return this.showUserImageInList&&this._selectedLayer?.editFieldsInfo?.creatorField&&(n=await this.getUserInformation(a)),this.showFeatureSymbol&&(h=await this.getFeatureSymbol(a)),s&&this.getAbbreviatedLikeCount(a),this.getFeatureItem(a,r,h,n)});return Promise.all(i)}getExtentNotice(){return l`<calcite-notice class="notice-msg" icon=extent-filter kind=brand open scale=s><div slot=message>${this._translations.extentFilterMsg}</div></calcite-notice>`}getAbbreviatedLikeCount(e){let t=this._selectedLayer;if(t){let s=this.reportingOptions&&this.reportingOptions[t.id].likeField;t.fields.forEach(i=>{if(this._validFieldTypes.indexOf(i.type)>-1&&i.name===s&&this.reportingOptions&&this.reportingOptions[t.id].like){this._likeFieldAvailable=!0;let a=e.attributes[s]||0;a>999&&this._translations.millions_value&&this._translations.thousands_value&&(a=a>999999?this._translations.millions_value.replace("{{millions_value}}",Math.floor(a/1e6).toString()):this._translations.thousands_value.replace("{{thousands_value}}",Math.floor(a/1e3).toString())),this._abbreviatedLikeCount=a}})}}getFeatureItem(e,t,s,i){if(this._selectedLayer?.id&&this._calciteList.value){let a=e.attributes[this._selectedLayer.objectIdField].toString();t=t??a;let r=Number(e.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField||""]).toLocaleString(),n=this.textSize==="small"&&!this.showFullTitle?"feature-list-popup-title-small-ellipsis":this.textSize==="small"?"feature-list-popup-title-small":"feature-list-popup-title",h=this.showUserImageInList?115:65,C=this._calciteList.value.offsetWidth-h;return l`<calcite-list-item @mouseleave=${()=>{this.clearHighlights()}} @mouseover=${()=>{this.onFeatureHover(e)}} @calciteListItemSelect=${o=>{this.featureClicked(o,e)}} .value=${a}>${this.showUserImageInList&&l`<calcite-avatar class=profile-img .fullName=${i?.fullName} scale=m slot=content-start .thumbnail=${i?.userProfileUrl} .userId=${i?.id} .username=${i?.fullName?i.username:void 0}></calcite-avatar>`||""}${this.showFeatureSymbol&&s&&l`<div class=feature-symbol slot=content-start ${c(o=>o&&o.replaceChildren(s))}></div>`||""}<div class=${`popup-title ${n}`} slot=content-start style=${I({maxWidth:this.textSize==="large"?"none":`${C}px`})}>${t}</div>${this._likeFieldAvailable&&l`<div class=like-container id=${a.concat("like")??_} slot=content-end><span>${this._abbreviatedLikeCount}</span><calcite-icon icon=thumbs-up scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${a.concat("like")}>${r}</calcite-tooltip></div>`||""}<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`}else return}async getUserInformation(e){let t=this._selectedLayer?.editFieldsInfo?.creatorField;if(t){e.attributes.hasOwnProperty(t.toLowerCase())?t=t.toLowerCase():e.attributes.hasOwnProperty(t.toUpperCase())&&(t=t.toUpperCase());let s=`${E.portalUrl}/sharing/rest/community/users/${e.attributes[t]}?f=json&returnUserLicensedItems=true`,i=this.mapView?.map?.portalItem.portal?.credential?.token;i&&(s+=`&token=${i}`);let a=await(await fetch(s)).json(),r=a?.username??e.attributes[t],n=`${E.portalUrl}/sharing/rest/community/users/${r}/info/blob.png`;return a?.access&&i&&(n+=`?token=${i}`),a.userProfileUrl=n,a}else return}async getFeatureSymbol(e){let t=document.createElement("div");return await S?.getDisplayedSymbol(e).then(async s=>{if(s&&await S?.renderPreviewHTML(s,{node:t}),t.children?.length){let i=t.children[0];if(i){let a=Number(i.getAttribute("height")),r=Number(i.getAttribute("width"));r>30&&(t.setAttribute("width","30"),i.setAttribute("width","30")),a>30&&(t.setAttribute("height","30"),i.setAttribute("height","30")),i.setAttribute("viewBox",`0 0 ${r} ${a}`),t.setAttribute("viewBox",`0 0 ${r} ${a}`)}}}),t}};L("feature-list",f);return f},"config","symbols/support/symbolUtils","core/reactiveUtils",a,b,d,e)
|