@esri/solutions-components 1.0.0-next.20250529.1 → 1.0.0-next.20250530
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/{PZHEASS4.js → 23QD6NT3.js} +2 -2
- package/dist/cdn/{5QPQAJMG.js → 2BKGC3GR.js} +2 -2
- package/dist/cdn/{S6OH6PAD.js → 2EOEAV5E.js} +2 -2
- package/dist/cdn/2NWAL23W.js +4 -0
- package/dist/cdn/{ZOFGHLQB.js → 2VNIKRUP.js} +2 -2
- package/dist/cdn/{UZ2HGN74.js → 2WTCHQJH.js} +2 -2
- package/dist/cdn/{WWXALFP5.js → 2XITJCRB.js} +2 -2
- package/dist/cdn/{V6P4UD6W.js → 2Z3TWB2K.js} +2 -2
- package/dist/cdn/{C4JYYMYJ.js → 36LI3UQA.js} +2 -2
- package/dist/cdn/{DRS4Z435.js → 3CHLZWTV.js} +2 -2
- package/dist/cdn/{HCK5TCOJ.js → 43ULSAMW.js} +2 -2
- package/dist/cdn/{NNKQPDXS.js → 474ZEOFB.js} +1 -1
- package/dist/cdn/{FR4X4TDZ.js → 4AKAPNSY.js} +2 -2
- package/dist/cdn/{WHS2SJGC.js → 4FC3X2PR.js} +2 -2
- package/dist/cdn/{4ZHIBJJZ.js → 4M4MXT54.js} +2 -2
- package/dist/cdn/{RJS3KPCL.js → 4MBXYMTN.js} +2 -2
- package/dist/cdn/{AXBMCFIY.js → 4UN2BYLH.js} +1 -1
- package/dist/cdn/{P2ZWJVGZ.js → 4WQSWJOC.js} +6 -6
- package/dist/cdn/{GX7WAJDW.js → 57KRALMV.js} +2 -2
- package/dist/cdn/{BIGEZCHV.js → 5AXS3KFI.js} +2 -2
- package/dist/cdn/{ATXF6EM5.js → 5HIKUFVB.js} +2 -2
- package/dist/cdn/{OK3FOLOF.js → 5LO4GJR2.js} +2 -2
- package/dist/cdn/{TKOIJYF4.js → 5S2LGZK4.js} +2 -2
- package/dist/cdn/5S33JONB.js +18 -0
- package/dist/cdn/{CH6BDUYO.js → 5TJLMZD4.js} +2 -2
- package/dist/cdn/{2RGHQMD7.js → 5TRKAS2N.js} +1 -1
- package/dist/cdn/{CLTGVNIT.js → 5Y5ORVLB.js} +1 -1
- package/dist/cdn/{EGBONIMT.js → 5ZNOFKZT.js} +2 -2
- package/dist/cdn/{F3APXHAE.js → 623GWCXD.js} +2 -2
- package/dist/cdn/{5ZJ5HMBU.js → 624IUPMH.js} +2 -2
- package/dist/cdn/{NVSZ6TEP.js → 65WW5KKH.js} +2 -2
- package/dist/cdn/{MQSTZCGJ.js → 66KXCMW2.js} +2 -2
- package/dist/cdn/{L5VFVPQH.js → 6B752FN2.js} +2 -2
- package/dist/cdn/{HXCZBWLK.js → 6DWD2XLO.js} +2 -2
- package/dist/cdn/{RNNWBWHE.js → 6EHPMLHH.js} +2 -2
- package/dist/cdn/{DOZSTXHI.js → 6OHWZOS5.js} +2 -2
- package/dist/cdn/{HCV2XISF.js → 6PMWYOH6.js} +2 -2
- package/dist/cdn/{FZAQQCT2.js → 6TLILFC7.js} +2 -2
- package/dist/cdn/{6QYC63ET.js → 6WM4LAYI.js} +1 -1
- package/dist/cdn/{GRGAE7XV.js → 6Y2HFRCC.js} +2 -2
- package/dist/cdn/{I6CL4W66.js → 73MN3UQT.js} +2 -2
- package/dist/cdn/{QMAHKDVR.js → 76ZVHQZN.js} +2 -2
- package/dist/cdn/{T44MUET5.js → 77XUB3YE.js} +2 -2
- package/dist/cdn/7DEB6EKJ.js +4 -0
- package/dist/cdn/{EF6B6NVS.js → 7HKKUGXJ.js} +3 -3
- package/dist/cdn/{V5KXBFEN.js → 7ICYEZEV.js} +1 -1
- package/dist/cdn/{32U4CX5C.js → 7MSPLAAS.js} +1 -1
- package/dist/cdn/{EFQVEZGK.js → 7RRAT3I3.js} +2 -2
- package/dist/cdn/{226TJMEY.js → A3472HMO.js} +2 -2
- package/dist/cdn/{AO367CCB.js → A7QSMG5S.js} +1 -1
- package/dist/cdn/{Q2GQGU3O.js → AAZLISVR.js} +2 -2
- package/dist/cdn/{ZGN6IAVH.js → ACD5DGKO.js} +2 -2
- package/dist/cdn/{FUKHM2ED.js → ADKZI66G.js} +2 -2
- package/dist/cdn/{LGXVU5RZ.js → AOWCHDDD.js} +2 -2
- package/dist/cdn/{OHVQU6ZJ.js → ASAQWYLX.js} +2 -2
- package/dist/cdn/{DW2GOOJO.js → ASMSD26H.js} +2 -2
- package/dist/cdn/{5JSGC5AY.js → AWWFUP7R.js} +2 -2
- package/dist/cdn/{4FINQGFN.js → B5VH5463.js} +2 -2
- package/dist/cdn/{TANB4M2J.js → B6D7BVKN.js} +2 -2
- package/dist/cdn/{FTLPMKAC.js → B6UMTBML.js} +2 -2
- package/dist/cdn/{5BPG7NP4.js → B7LQMG3R.js} +2 -2
- package/dist/cdn/{DCZ6I6AY.js → BHDI3U4H.js} +2 -2
- package/dist/cdn/{2M3XDJVT.js → BJMWCYCG.js} +1 -1
- package/dist/cdn/{XRHJGG6M.js → BLRHWO52.js} +2 -2
- package/dist/cdn/{FLGIBCK5.js → BTLOBHUI.js} +2 -2
- package/dist/cdn/BWUWGBTF.js +4 -0
- package/dist/cdn/{3DGCRE6C.js → C5O32W6W.js} +2 -2
- package/dist/cdn/{AD3MI4SK.js → C6W5EVRT.js} +2 -2
- package/dist/cdn/{UP4YI4TT.js → C7F3GRAL.js} +2 -2
- package/dist/cdn/{PCME4I7V.js → CDW32ZV2.js} +2 -2
- package/dist/cdn/{KMFOS5KM.js → CIR5U4D6.js} +2 -2
- package/dist/cdn/{OQKQMGDN.js → CNE6Q3HD.js} +2 -2
- package/dist/cdn/{YEH3K6PV.js → COHNJZCA.js} +2 -2
- package/dist/cdn/{UD6TTT2A.js → CRVOSDOH.js} +2 -2
- package/dist/cdn/{QQ53NCYV.js → CVHD4WPU.js} +2 -2
- package/dist/cdn/{JGLLOYRV.js → CVY3C2IL.js} +2 -2
- package/dist/cdn/{KZXLFT6A.js → D3CEKY4I.js} +2 -2
- package/dist/cdn/{RIOHLLW6.js → D64CJOFO.js} +2 -2
- package/dist/cdn/{5GRAGQQP.js → DFVGHMS4.js} +2 -2
- package/dist/cdn/DI3ZJNYG.js +4 -0
- package/dist/cdn/{DUZUSI6P.js → DKFDVAPB.js} +2 -2
- package/dist/cdn/{WP6BQVIA.js → DMOHDVMJ.js} +2 -2
- package/dist/cdn/{7C4LS7IK.js → DPCZKJNP.js} +2 -2
- package/dist/cdn/{5YPIARSS.js → DPQI6KC3.js} +2 -2
- package/dist/cdn/{N47B2PFI.js → DTFCT5IZ.js} +2 -2
- package/dist/cdn/{BDSZY6HF.js → DXVTCY4M.js} +2 -2
- package/dist/cdn/{VKBPB4XL.js → EDGMFTA5.js} +1 -1
- package/dist/cdn/{KAYEVXTW.js → FBFPEXXQ.js} +2 -2
- package/dist/cdn/{5LOR6WOH.js → FINGXX6A.js} +2 -2
- package/dist/cdn/{VWNZ5PHO.js → FIZQWFHG.js} +2 -2
- package/dist/cdn/{QUYSAWNZ.js → FJZZPZAP.js} +1 -1
- package/dist/cdn/{TATQRKRO.js → FLMBYBSQ.js} +2 -2
- package/dist/cdn/{RAL76SQT.js → FMBJIOBG.js} +2 -2
- package/dist/cdn/{2VW6H67C.js → FOARVMCU.js} +1 -1
- package/dist/cdn/{N3WHAHAE.js → FT36ADUC.js} +2 -2
- package/dist/cdn/{RSHSVMPO.js → FVYY2V6T.js} +2 -2
- package/dist/cdn/{3GOXEHUM.js → FX4JCXT3.js} +2 -2
- package/dist/cdn/{KWPSUDAQ.js → G2RF3XGL.js} +2 -2
- package/dist/cdn/{SJSKBJDQ.js → G6J2G3OU.js} +2 -2
- package/dist/cdn/{YQ56TKXB.js → G6RPSMZU.js} +2 -2
- package/dist/cdn/{UXS2JZES.js → GAJRZJ5F.js} +2 -2
- package/dist/cdn/{FBJW6XEX.js → GHOZRGNX.js} +2 -2
- package/dist/cdn/GIZRBHCR.js +18 -0
- package/dist/cdn/{WJHLFCHB.js → GNLCPEV7.js} +2 -2
- package/dist/cdn/{KKJXYILX.js → GPVKAG4C.js} +2 -2
- package/dist/cdn/{XXLWKLVG.js → GULDKM5K.js} +2 -2
- package/dist/cdn/{EAVTHFWC.js → GVMSMEI4.js} +2 -2
- package/dist/cdn/{22TLYMB5.js → GWZJKQMN.js} +2 -2
- package/dist/cdn/{TKSTFENU.js → H22ZUYLG.js} +3 -3
- package/dist/cdn/H3WID2XT.js +18 -0
- package/dist/cdn/{CAIDATL7.js → H3YXFKQG.js} +2 -2
- package/dist/cdn/{OJE3CXRA.js → H46M3Z3P.js} +2 -2
- package/dist/cdn/{WGOOZUKO.js → H46O6YAN.js} +2 -2
- package/dist/cdn/{N2ME4PMY.js → H5ZIHIO2.js} +3 -3
- package/dist/cdn/{5OFRMSV6.js → H6V2DNZK.js} +2 -2
- package/dist/cdn/{XIXMB2G5.js → HBZ4X7UP.js} +2 -2
- package/dist/cdn/{TD5MSEEV.js → HF75TXAE.js} +2 -2
- package/dist/cdn/{VJBYZT6W.js → HK4LMSCI.js} +2 -2
- package/dist/cdn/{JNZWDT5I.js → HOZJEHZI.js} +2 -2
- package/dist/cdn/{EFN3IWLQ.js → HPD42QK2.js} +2 -2
- package/dist/cdn/{E6AZUM5D.js → HSDQUCF6.js} +2 -2
- package/dist/cdn/{BAEITQ2C.js → HUJDORKB.js} +2 -2
- package/dist/cdn/{57OJYSCR.js → IAZYT5SM.js} +2 -2
- package/dist/cdn/{G5HPM6N2.js → IFQJHKJ3.js} +2 -2
- package/dist/cdn/{VHODC5K7.js → INHTUKGG.js} +2 -2
- package/dist/cdn/{73CALEXO.js → IOFFIYTL.js} +1 -1
- package/dist/cdn/{Q5577CJV.js → IWEV46QA.js} +2 -2
- package/dist/cdn/{OLAVIJIT.js → IY4EENZ5.js} +2 -2
- package/dist/cdn/{NMOQUXR6.js → JDBE77NZ.js} +2 -2
- package/dist/cdn/{JQOJYSOZ.js → JDPFMWSP.js} +2 -2
- package/dist/cdn/{XWZRUTOX.js → JHW7VZTV.js} +2 -2
- package/dist/cdn/{5UMSFFPF.js → JL5VELML.js} +2 -2
- package/dist/cdn/{LKCOVVSL.js → JQ5YNHDK.js} +2 -2
- package/dist/cdn/{NO53EZBW.js → JRD5PLWA.js} +2 -2
- package/dist/cdn/{A3TE2CYP.js → JSUMCSCE.js} +2 -2
- package/dist/cdn/{IAHGXPQT.js → K4F6G4OQ.js} +1 -1
- package/dist/cdn/{TXF5RICI.js → KPU6AFJN.js} +2 -2
- package/dist/cdn/KVNQHEXQ.js +4 -0
- package/dist/cdn/{N2Q43IJ2.js → LCP3BY3N.js} +2 -2
- package/dist/cdn/{RFC7Q3JW.js → LCUHKJMS.js} +2 -2
- package/dist/cdn/{DB2PWS76.js → LI5GC7CN.js} +2 -2
- package/dist/cdn/{5YLKLSMJ.js → LMGSYVDG.js} +1 -1
- package/dist/cdn/{ABWWFNZH.js → LQRMHTGZ.js} +2 -2
- package/dist/cdn/{BGG35RUD.js → LRUGHWTN.js} +1 -1
- package/dist/cdn/{Y3VKMBT2.js → LXA33IHT.js} +2 -2
- package/dist/cdn/{NB2KN2PS.js → LZS774B3.js} +1 -1
- package/dist/cdn/{3WUBH6ZI.js → MFK4TJVR.js} +2 -2
- package/dist/cdn/{DLLKABZH.js → MHWXPIZF.js} +2 -2
- package/dist/cdn/{3TNNRRLR.js → MJ7SNROO.js} +2 -2
- package/dist/cdn/{E4MUA2ED.js → MJ7WUNVY.js} +2 -2
- package/dist/cdn/{FKBPJVRW.js → MPF442O4.js} +2 -2
- package/dist/cdn/{ZLKFLJAK.js → MPJ2AA4Y.js} +2 -2
- package/dist/cdn/{FRI7HIM7.js → MSAGS3RU.js} +2 -2
- package/dist/cdn/{7YM72QZ3.js → MSC6SQKC.js} +2 -2
- package/dist/cdn/{RMQSJKXT.js → MTI5LVZW.js} +2 -2
- package/dist/cdn/{6FVEXKJS.js → MZNCYU5F.js} +2 -2
- package/dist/cdn/{4HJRJ7KX.js → N4SJLKUB.js} +2 -2
- package/dist/cdn/{JGO5DBSA.js → N6WVCUYZ.js} +2 -2
- package/dist/cdn/{2SNUWJEH.js → NFHEIYMD.js} +2 -2
- package/dist/cdn/{ZHJOJK4D.js → NGOP7PKK.js} +2 -2
- package/dist/cdn/{NBFO57MD.js → NIVL5UGT.js} +2 -2
- package/dist/cdn/{GWPISXDC.js → NKOVTFUU.js} +1 -1
- package/dist/cdn/{TS32X4ID.js → NO2SL2YF.js} +1 -1
- package/dist/cdn/{BQW56YYM.js → NOSOENXA.js} +2 -2
- package/dist/cdn/{IJJ6XUUA.js → NPELRLAT.js} +1 -1
- package/dist/cdn/{KBDBSCXP.js → NQHY7XX2.js} +2 -2
- package/dist/cdn/{RWQERXH4.js → NUCJR6CY.js} +2 -2
- package/dist/cdn/{6BG4LKDW.js → NW4KXWWN.js} +2 -2
- package/dist/cdn/{BDLLR4WH.js → O34SMVFC.js} +2 -2
- package/dist/cdn/{ATBQXDJR.js → O7VNTXYR.js} +1 -1
- package/dist/cdn/{T3ZRKXLY.js → OFMVTSKF.js} +2 -2
- package/dist/cdn/{UPDKM5C4.js → OGSX3AIB.js} +2 -2
- package/dist/cdn/{XMAMECK7.js → OK6EFAL5.js} +2 -2
- package/dist/cdn/{X7VDVXPT.js → OKMLPIEO.js} +2 -2
- package/dist/cdn/{WOWKKDEA.js → OL6BCU24.js} +2 -2
- package/dist/cdn/{EMR2T3VS.js → OLE4GCSZ.js} +2 -2
- package/dist/cdn/{I4GUWHGI.js → OOIVSIXL.js} +2 -2
- package/dist/cdn/{E45HF3Y4.js → OTV4TIHA.js} +1 -1
- package/dist/cdn/{EUCKEPMP.js → OY2EULMD.js} +1 -1
- package/dist/cdn/{WAD3QU5V.js → PC7NVT5O.js} +2 -2
- package/dist/cdn/{NMW6Q45K.js → PKQBHNHV.js} +2 -2
- package/dist/cdn/{44KIKBNN.js → PLZQ55P6.js} +1 -1
- package/dist/cdn/{4KEBF4LC.js → PNYGXVOF.js} +2 -2
- package/dist/cdn/{ERDDFJBU.js → PQ6UKR2D.js} +2 -2
- package/dist/cdn/PQF5AGW3.js +18 -0
- package/dist/cdn/{E6ANX74E.js → PUL6DFZP.js} +2 -2
- package/dist/cdn/{LB4MHZTX.js → PYTYKQXT.js} +2 -2
- package/dist/cdn/{WIJOUEJP.js → Q2NP2O3M.js} +1 -1
- package/dist/cdn/{GOFL3CLI.js → QHCRENJA.js} +2 -2
- package/dist/cdn/{64GGJXW2.js → QKSO2DZS.js} +2 -2
- package/dist/cdn/{LFFZU6FW.js → QQFRILT6.js} +2 -2
- package/dist/cdn/{AQ4EWNIS.js → QSOWUBRL.js} +2 -2
- package/dist/cdn/{XE4V3N2H.js → QUXU6A5O.js} +2 -2
- package/dist/cdn/{EMX7A46W.js → QWW5LVKF.js} +1 -1
- package/dist/cdn/{E2WTZA5A.js → R2MSIDPH.js} +2 -2
- package/dist/cdn/{CINMF5MV.js → R4TKAAQV.js} +2 -2
- package/dist/cdn/{OK6HLZPD.js → R7RG6ML5.js} +2 -2
- package/dist/cdn/{NTIAFN5V.js → RFBPGTLV.js} +2 -2
- package/dist/cdn/{EMSROVVK.js → RJMRH5EB.js} +2 -2
- package/dist/cdn/{ITFUMWIC.js → RM2TEOMI.js} +2 -2
- package/dist/cdn/{IUKZJEZR.js → RTSDGCAZ.js} +2 -2
- package/dist/cdn/{YBYPMK5B.js → RU4LFZ43.js} +2 -2
- package/dist/cdn/{EZZ43ZR6.js → RUXEHYBS.js} +2 -2
- package/dist/cdn/{SAYEB7BP.js → RUZUM5JL.js} +2 -2
- package/dist/cdn/{YFXB4ISW.js → RVP3IPFW.js} +2 -2
- package/dist/cdn/{XJNGHFQY.js → RZ64SXIZ.js} +2 -2
- package/dist/cdn/S3DJ42LQ.js +4 -0
- package/dist/cdn/{6D3RDJX7.js → S76CATML.js} +2 -2
- package/dist/cdn/{7Z62O7FH.js → S7HDN545.js} +2 -2
- package/dist/cdn/{US5FGYHG.js → SAVY6UWC.js} +2 -2
- package/dist/cdn/{INGNQIJ3.js → SFZSSATF.js} +1 -1
- package/dist/cdn/{D4E4KVMH.js → SITUZTCB.js} +1 -1
- package/dist/cdn/{F67L3FFT.js → SM4ERQVS.js} +2 -2
- package/dist/cdn/SOCFGEQX.js +4 -0
- package/dist/cdn/{UTTBCGBU.js → STR7L3II.js} +1 -1
- package/dist/cdn/{UYHG2K2R.js → SUYA6BJE.js} +2 -2
- package/dist/cdn/SWLTPJE7.js +19 -0
- package/dist/cdn/{WIVHCBPP.js → T6ENDM5I.js} +2 -2
- package/dist/cdn/{CQEENTBO.js → TDAFNKRF.js} +2 -2
- package/dist/cdn/{MLEBNSOQ.js → TGF4D4AP.js} +2 -2
- package/dist/cdn/{DJW5RED2.js → TJYWSXAE.js} +2 -2
- package/dist/cdn/{KU56AQD3.js → TNKUKSQO.js} +2 -2
- package/dist/cdn/{LPCTO7JL.js → TZB4SIVB.js} +2 -2
- package/dist/cdn/{BFH5SRQZ.js → U4AOWHPN.js} +2 -2
- package/dist/cdn/{2WOG7EWC.js → UCOGDUDQ.js} +2 -2
- package/dist/cdn/{JNLPWAOW.js → UF7C45QH.js} +1 -1
- package/dist/cdn/{LH2RWSHL.js → UFB3TUWD.js} +2 -2
- package/dist/cdn/{T5M4F7YY.js → UJIWOKHV.js} +2 -2
- package/dist/cdn/ULUZHD23.js +18 -0
- package/dist/cdn/{44BN27VD.js → UMIMUVFB.js} +2 -2
- package/dist/cdn/{6SEI3MD4.js → UMQ6LGJX.js} +2 -2
- package/dist/cdn/{422X4AIN.js → UPY2LA6F.js} +2 -2
- package/dist/cdn/{KHZT65GM.js → USLNR5GM.js} +2 -2
- package/dist/cdn/{CYMZ5TR6.js → UTUTEFAQ.js} +2 -2
- package/dist/cdn/{AQLKL2NA.js → UU5CNOQW.js} +1 -1
- package/dist/cdn/{4YOYUXOM.js → UVD3URNY.js} +2 -2
- package/dist/cdn/{HOSQ2AT7.js → V3UMFOSY.js} +2 -2
- package/dist/cdn/{OVZZDA7E.js → VI4S4LJS.js} +1 -1
- package/dist/cdn/{MXKTM3JR.js → VNKBLONB.js} +2 -2
- package/dist/cdn/{JUFXEC5B.js → VQNKIJYJ.js} +2 -2
- package/dist/cdn/{2H6MMKLC.js → VSFHEXKM.js} +2 -2
- package/dist/cdn/{LVYTI5YO.js → VUE2KPGT.js} +1 -1
- package/dist/cdn/{CUWBKPW3.js → VVBT7KBI.js} +2 -2
- package/dist/cdn/{DIPTKS7N.js → VVKUWUHS.js} +2 -2
- package/dist/cdn/{RZS7265A.js → W3LLXNL3.js} +1 -1
- package/dist/cdn/{XNMPWNJU.js → W77AHKSW.js} +2 -2
- package/dist/cdn/{RPDZRAZN.js → WB3MRH4D.js} +2 -2
- package/dist/cdn/{FWU3TXCH.js → WFQNYZM4.js} +2 -2
- package/dist/cdn/{KLDZGQR7.js → WG6YT6NR.js} +2 -2
- package/dist/cdn/{DE4JUMCH.js → WJF7O2KL.js} +2 -2
- package/dist/cdn/{P6V7CQGP.js → WTHR4PDS.js} +2 -2
- package/dist/cdn/{JAHBNPDG.js → WVOYVMPB.js} +2 -2
- package/dist/cdn/{JC4DSHFM.js → X472G43W.js} +2 -2
- package/dist/cdn/{5OKFWPQF.js → X5I4YW2D.js} +2 -2
- package/dist/cdn/{4L3V2YYV.js → X7YNYBQ7.js} +1 -1
- package/dist/cdn/{5FNUZG6X.js → XANWM4XJ.js} +2 -2
- package/dist/cdn/{XE5DWVXG.js → XJHNY525.js} +2 -2
- package/dist/cdn/XJJZC34E.js +4 -0
- package/dist/cdn/{R3HTIQI4.js → XQTZGROY.js} +2 -2
- package/dist/cdn/{7PPW7OOE.js → XS2PGUTI.js} +2 -2
- package/dist/cdn/{PSTKPUKW.js → XUI76RRO.js} +2 -2
- package/dist/cdn/{5MAI7MEC.js → XXHTK6SD.js} +2 -2
- package/dist/cdn/{UA2S4SRX.js → Y6GOEXCP.js} +1 -1
- package/dist/cdn/{TWKAESRO.js → YDQ3OJQO.js} +1 -1
- package/dist/cdn/{OZ6MXTPT.js → YEZ45MYI.js} +2 -2
- package/dist/cdn/{STM2LDCR.js → YGOJWFRE.js} +1 -1
- package/dist/cdn/{WBEQ7VK3.js → YHPDJ5FN.js} +2 -2
- package/dist/cdn/{XEKWJEF6.js → YUXVO62S.js} +2 -2
- package/dist/cdn/YWKKYK5K.js +18 -0
- package/dist/cdn/{MKZNNMPC.js → YWR7J3GR.js} +2 -2
- package/dist/cdn/{5BWSNQ4C.js → Z25W4Z6L.js} +2 -2
- package/dist/cdn/{CJZSQT35.js → Z3VO6XU3.js} +2 -2
- package/dist/cdn/{QQD353LD.js → ZBE4V2ZL.js} +2 -2
- package/dist/cdn/{6VV6QBNS.js → ZK3VF62M.js} +1 -1
- package/dist/cdn/{NZ6MHZKX.js → ZKKTR3BI.js} +1 -1
- package/dist/cdn/{3OJVS3LV.js → ZKOIDQFC.js} +2 -2
- package/dist/cdn/assets/solution-deploying-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploying-panel/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +140 -138
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.d.ts +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.d.ts +12 -5
- package/dist/components/create-feature/customElement.js +44 -50
- package/dist/components/create-related-feature/customElement.js +3 -3
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.d.ts +0 -6
- package/dist/components/crowdsource-reporter/customElement.js +98 -87
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.d.ts +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.d.ts +2 -0
- package/dist/components/feature-details/customElement.js +7 -5
- package/dist/components/feature-list/customElement.d.ts +2 -0
- package/dist/components/feature-list/customElement.js +20 -20
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +11 -13
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.d.ts +1 -1
- package/dist/components/map-picker/customElement.js +5 -8
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-panel/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-panel/customElement.d.ts +1 -0
- package/dist/components/solution-deploy-panel/customElement.js +5 -5
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-panel/customElement.d.ts +7 -0
- package/dist/components/solution-deploying-panel/customElement.js +48 -15
- package/dist/components/solution-deploying-panel/index.d.ts +7 -0
- package/dist/components/solution-deploying-panel/index.js +7 -0
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
- package/dist/components/solution-item-accordion/customElement.js +4 -4
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-items-diagram/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +127 -49
- package/dist/docs/docs.json +149 -38
- package/dist/docs/vscode.html-custom-data.json +14 -14
- package/dist/docs/web-types.json +63 -31
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +6 -4
- package/dist/types/preact.d.ts +6 -4
- package/dist/types/react.d.ts +6 -4
- package/dist/types/stencil.d.ts +6 -4
- package/package.json +1 -1
- package/dist/cdn/4NCQ3IS4.js +0 -18
- package/dist/cdn/5Z3SFZPV.js +0 -19
- package/dist/cdn/627NUP22.js +0 -4
- package/dist/cdn/6K3XKNF7.js +0 -18
- package/dist/cdn/FLEZVTRW.js +0 -4
- package/dist/cdn/KNHIVMQR.js +0 -4
- package/dist/cdn/QY3WDSZE.js +0 -4
- package/dist/cdn/RE3SUTYT.js +0 -18
- package/dist/cdn/RHY65LV5.js +0 -18
- package/dist/cdn/U2HFGKIV.js +0 -18
- package/dist/cdn/VJLQ32GX.js +0 -4
- package/dist/cdn/WRJ2IISI.js +0 -18
- package/dist/cdn/X4XTLJM6.js +0 -4
- package/dist/cdn/X6K34YQK.js +0 -4
- package/dist/cdn/XLPJWPRX.js +0 -4
package/dist/types/stencil.d.ts
CHANGED
@@ -94,7 +94,7 @@ interface StencilConsentManager extends Required<Pick<ConsentManager, 'firstUseV
|
|
94
94
|
onConsentGranted?: EventHandler<HTMLConsentManagerElement["consentGranted"]>;
|
95
95
|
}
|
96
96
|
|
97
|
-
interface StencilCreateFeature extends Partial<Pick<CreateFeature, 'customizeSubmit' | 'enableSearch' | 'enableSnapping' | 'floorLevel' | 'formElements' | 'isMobile' | 'mapView' | 'reportingAreaLayer' | '
|
97
|
+
interface StencilCreateFeature extends Partial<Pick<CreateFeature, 'customizeSubmit' | 'enableSearch' | 'enableSnapping' | 'floorLevel' | 'formElements' | 'isMobile' | 'mapView' | 'reportingArea' | 'reportingAreaLayer' | 'reportingAreaMessage' | 'searchConfiguration' | 'selectedLayerId' | 'showGuidingMsg' | 'showSketchWidgets' | 'submitNewReportsMessage' | 'updateMapPosition'>>, StencilJsx.HTMLAttributes<HTMLCreateFeatureElement> {
|
98
98
|
onDrawComplete?: EventHandler<HTMLCreateFeatureElement["drawComplete"]>;
|
99
99
|
onEditingAttachment?: EventHandler<HTMLCreateFeatureElement["editingAttachment"]>;
|
100
100
|
onEditingLocation?: EventHandler<HTMLCreateFeatureElement["editingLocation"]>;
|
@@ -116,7 +116,7 @@ interface StencilCrowdsourceManager extends Partial<Pick<CrowdsourceManager, 'ap
|
|
116
116
|
onShowIntroductionWindow?: EventHandler<HTMLCrowdsourceManagerElement["showIntroductionWindow"]>;
|
117
117
|
}
|
118
118
|
|
119
|
-
interface StencilCrowdsourceReporter extends Partial<Pick<CrowdsourceReporter, 'center' | 'commentButtonText' | 'commentSubmittedMessage' | 'defaultWebmap' | 'description' | 'enableAnonymousAccess' | 'enableAnonymousComments' | 'enableComments' | 'enableHome' | 'enableLogin' | 'enableNewReports' | 'enableSearch' | 'enableSnapping' | 'enableZoom' | 'filterByMapExtent' | 'floorLevel' | 'isMobile' | 'layerExpressions' | 'layerId' | 'level' | 'loginTitle' | 'mapInfos' | 'mapView' | 'objectId' | 'reportButtonText' | 'reportingArea' | 'reportingAreaLayer' | 'reportingAreaMessage' | 'reportingOptions' | '
|
119
|
+
interface StencilCrowdsourceReporter extends Partial<Pick<CrowdsourceReporter, 'center' | 'commentButtonText' | 'commentSubmittedMessage' | 'defaultWebmap' | 'description' | 'enableAnonymousAccess' | 'enableAnonymousComments' | 'enableComments' | 'enableHome' | 'enableLogin' | 'enableNewReports' | 'enableSearch' | 'enableSnapping' | 'enableZoom' | 'filterByMapExtent' | 'floorLevel' | 'isMobile' | 'layerExpressions' | 'layerId' | 'level' | 'loginTitle' | 'mapInfos' | 'mapView' | 'objectId' | 'reportButtonText' | 'reportingArea' | 'reportingAreaLayer' | 'reportingAreaMessage' | 'reportingOptions' | 'reportsHeader' | 'reportSubmittedMessage' | 'searchConfiguration' | 'showComments' | 'showFeatureSymbol' | 'showFullCommentTitle' | 'showMyReportsOnly' | 'showUserImageInCommentsList' | 'sortOption' | 'submitNewReportsMessage' | 'theme' | 'zoomToScale'>>, StencilJsx.HTMLAttributes<HTMLCrowdsourceReporterElement> {
|
120
120
|
onTogglePanel?: EventHandler<HTMLCrowdsourceReporterElement["togglePanel"]>;
|
121
121
|
}
|
122
122
|
|
@@ -143,6 +143,7 @@ interface StencilEditCard extends Partial<Pick<EditCard, 'enableEditGeometry' |
|
|
143
143
|
|
144
144
|
interface StencilFeatureDetails extends Partial<Pick<FeatureDetails, 'enableSnapping' | 'graphics' | 'layerItemsHash' | 'mapView' | 'reportingOptions' | 'showFullCommentTitle' | 'showUserImageInCommentsList'>>, StencilJsx.HTMLAttributes<HTMLFeatureDetailsElement> {
|
145
145
|
onAddComment?: EventHandler<HTMLFeatureDetailsElement["addComment"]>;
|
146
|
+
onCommentClick?: EventHandler<HTMLFeatureDetailsElement["commentClick"]>;
|
146
147
|
onCommentSelect?: EventHandler<HTMLFeatureDetailsElement["commentSelect"]>;
|
147
148
|
onFeatureSelectionChange?: EventHandler<HTMLFeatureDetailsElement["featureSelectionChange"]>;
|
148
149
|
onLikeOrDislikeClicked?: EventHandler<HTMLFeatureDetailsElement["likeOrDislikeClicked"]>;
|
@@ -150,6 +151,7 @@ interface StencilFeatureDetails extends Partial<Pick<FeatureDetails, 'enableSnap
|
|
150
151
|
}
|
151
152
|
|
152
153
|
interface StencilFeatureList extends Partial<Pick<FeatureList, 'applyLayerViewFilter' | 'filterByMapExtent' | 'highlightOnHover' | 'highlightOnMap' | 'mapView' | 'noFeaturesFoundMsg' | 'pageSize' | 'reportingOptions' | 'selectedLayerId' | 'showErrorWhenNoFeatures' | 'showFeatureSymbol' | 'showFullTitle' | 'showInitialLoading' | 'showUserImageInList' | 'sortingInfo' | 'textSize' | 'whereClause'>>, StencilJsx.HTMLAttributes<HTMLFeatureListElement> {
|
154
|
+
onFeatureClick?: EventHandler<HTMLFeatureListElement["featureClick"]>;
|
153
155
|
onFeatureSelect?: EventHandler<HTMLFeatureListElement["featureSelect"]>;
|
154
156
|
}
|
155
157
|
|
@@ -274,7 +276,7 @@ interface StencilSolutionDeployPanel extends Partial<Pick<SolutionDeployPanel, '
|
|
274
276
|
interface StencilSolutionDeployedCard extends Partial<Pick<SolutionDeployedCard, 'deployedDate' | 'description' | 'heading' | 'itemId' | 'owner' | 'thumbnail' | 'updateAvailable'>>, StencilJsx.HTMLAttributes<HTMLSolutionDeployedCardElement> {
|
275
277
|
}
|
276
278
|
|
277
|
-
interface StencilSolutionDeployingPanel extends StencilJsx.HTMLAttributes<HTMLSolutionDeployingPanelElement> {
|
279
|
+
interface StencilSolutionDeployingPanel extends Partial<Pick<SolutionDeployingPanel, 'solutionItem'>>, StencilJsx.HTMLAttributes<HTMLSolutionDeployingPanelElement> {
|
278
280
|
}
|
279
281
|
|
280
282
|
interface StencilSolutionDetailsCard extends Partial<Pick<SolutionDetailsCard, 'chip' | 'description' | 'heading' | 'itemId' | 'thumbnail'>>, StencilJsx.HTMLAttributes<HTMLSolutionDetailsCardElement> {
|
@@ -286,7 +288,7 @@ interface StencilSolutionDetailsPanel extends StencilJsx.HTMLAttributes<HTMLSolu
|
|
286
288
|
interface StencilSolutionItem extends Partial<Pick<SolutionItem, 'authentication' | 'itemId' | 'organizationVariables' | 'solutionVariables'>>, StencilJsx.HTMLAttributes<HTMLSolutionItemElement> {
|
287
289
|
}
|
288
290
|
|
289
|
-
interface StencilSolutionItemAccordion extends Partial<Pick<SolutionItemAccordion, 'linkType' | 'listSelectionMode' | 'templateInfos'>>, StencilJsx.HTMLAttributes<HTMLSolutionItemAccordionElement> {
|
291
|
+
interface StencilSolutionItemAccordion extends Partial<Pick<SolutionItemAccordion, 'linkType' | 'listSelectionMode' | 'templateInfos' | 'typeKeywords'>>, StencilJsx.HTMLAttributes<HTMLSolutionItemAccordionElement> {
|
290
292
|
onSolutionItemHover?: EventHandler<HTMLSolutionItemAccordionElement["solutionItemHover"]>;
|
291
293
|
onSolutionItemSelect?: EventHandler<HTMLSolutionItemAccordionElement["solutionItemSelect"]>;
|
292
294
|
onSolutionTypeHover?: EventHandler<HTMLSolutionItemAccordionElement["solutionTypeHover"]>;
|
package/package.json
CHANGED
package/dist/cdn/4NCQ3IS4.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250529.1 */
|
4
|
-
import{a as h}from"./4KEBF4LC.js";import{D as d,I as p,c as a,d as l,g as c,o as n}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var u=a`/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/:host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color: var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}.underline{text-decoration:underline}`,r=class extends d{constructor(){super(...arguments),this.linkType="item",this.listSelectionMode="none",this.templateInfos=[],this._sortedTemplateInfos=[],this._translations=h({name:"solution-item-accordion",blocking:!0}),this._sortOrder=["Hub Site Application","Hub Page","Web Experience","Instant App","Web Mapping Application","Dashboard","StoryMap","Form","QuickCapture Project","Workflow","Big Data Analytic (hosted)","Real Time Analytic (hosted)","Feed (hosted)","Tool","Notebook","Data Pipeline","Project Package","Desktop Application Template","TypeNotFound","Web Map","Web Scene","Feature Layer (hosted, view)","Feature Layer (hosted)","Table (hosted, view)","Table (hosted)","Tile Layer","CSV","Microsoft Excel","Microsoft Word","Report Template","Rule Package","Group"],this.solutionItemHover=n(),this.solutionItemSelect=n(),this.solutionTypeHover=n()}static{this.properties={linkType:1,listSelectionMode:1,templateInfos:0,_sortedTemplateInfos:16,_translations:16}}static{this.styles=u}willUpdate(e){e.has("templateInfos")&&(this.hasUpdated||this.templateInfos?.length>0)&&this.templateInfosWatchHandler()}async templateInfosWatchHandler(){this._sortedTemplateInfos=this._sortTemplates()}async collapseAll(){this.el?.shadowRoot?.querySelectorAll("calcite-accordion-item")?.forEach(e=>{e.expanded=!1})}async deselectAll(){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(e=>{e.selected&&(e.selected=!1,(e.parentElement?.parentElement).expanded=!1)})}async selectItem(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id===e&&(t.selected=!0,(t.parentElement?.parentElement).expanded=!0)})}async load(){this._sortedTemplateInfos=this._sortTemplates()}render(){return this._getAccordion()}_deselectOthers(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id!==e&&(t.selected=!1)})}_getAccordion(){let e=[],t=this._sortedTemplateInfos.reduce((i,o)=>{let s=this._getTypeForDisplay(o.type,o.typeKeywords);return e.indexOf(s)<0&&(e.push(s),i.push(this._getAccordionItem(o))),i},[]);return l`<calcite-accordion class="border-override" selection-mode=single>${t}</calcite-accordion>`}_getAccordionItem(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords),i=this._sortedTemplateInfos.filter(o=>this._getTypeForDisplay(o.type,o.typeKeywords)===t);return l`<calcite-accordion-item .description=${`${t} (${i.length})`} @mouseenter=${()=>this.solutionTypeHover.emit({itemType:t,entering:!0})} @mouseleave=${()=>this.solutionTypeHover.emit({itemType:t,entering:!1})}><solution-item-icon class="padding-start-1 display-flex align-center" slot=actions-start .type=${e.type} .typeKeywords=${e.typeKeywords}></solution-item-icon>${this._getList(i)}</calcite-accordion-item>`}_getList(e){let t=this._sortTemplatesByTitle(e);return l`<calcite-list label selection-appearance=border .selectionMode=${this.listSelectionMode}>${t.map(i=>this._getListItem(i))}</calcite-list>`}_getListItem(e){let t=e.typeKeywords.includes("Deployed")&&e.url,i=this.linkType==="action";return l`<calcite-list-item id=${e.id??c} @mouseenter=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!0})} @mouseleave=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!1})} @calciteListItemSelect=${()=>{this._deselectOthers(e.id),this.solutionItemSelect.emit({itemId:e.id,selected:!0}),t&&!i&&window.open(e.url,"_blank")}} .value=${e.id}><div class="solution-list-item-content" slot=content><div class=${`solution-list-item-label ${t&&!i?"underline":""}`}>${e.title}</div><div class="solution-list-item-description">${e.snippet}</div></div>${t&&i?l`<div slot=actions-end><calcite-action icon=launch .id=${`${e.id}-launch`} @click=${()=>window.open(e.url,"_blank")} text></calcite-action><calcite-tooltip overlay-positioning=fixed .referenceElement=${`${e.id}-launch`}><span>${this._translations?.openDetails}</span></calcite-tooltip></div>`:null}</calcite-list-item>`}_sortTemplatesByTitle(e){return e.sort((t,i)=>t.title<i.title?-1:t.title>i.title?1:0)}_sortTemplates(){return this.templateInfos.sort((e,t)=>{let i=this._getTypeForSort(e),o=this._getTypeForSort(t),s=this._sortOrder.indexOf(i),m=this._sortOrder.indexOf(o);return s-m})}_getTypeForSort(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords);return this._sortOrder.indexOf(t)<0&&(t="TypeNotFound"),t}_getTypeForDisplay(e,t){let i=e;if(e==="Feature Service"){let o=t.indexOf("View Service")>-1,s=t.indexOf("Table")>-1;i=o&&s?"Table (hosted, view)":s?"Table (hosted)":o?"Feature Layer (hosted, view)":"Feature Layer (hosted)"}return e==="Web Mapping Application"&&(i=t.indexOf("configurableApp")>-1?"Instant App":i),i=e==="Geoprocessing Service"?"Tool":i,i=e==="Feed"?"Feed (hosted)":i,i=e==="Real Time Analytic"?"Real Time Analytic (hosted)":i,i=e==="Big Data Analytic"?"Big Data Analytic (hosted)":i,i=e==="Vector Tile Service"?"Tile Layer":i,i}};p("solution-item-accordion",r);export{r as SolutionItemAccordion};
|
package/dist/cdn/5Z3SFZPV.js
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250529.1 */
|
4
|
-
import{f as C}from"./64GGJXW2.js";import"./CLTGVNIT.js";import"./E45HF3Y4.js";import{a as c,b as p}from"./Q5577CJV.js";import{b}from"./2M3XDJVT.js";import{D as m,I as g,c as u,d as n,o as h,q as _}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var F=u`@layer{/**
|
5
|
-
* @license
|
6
|
-
* Copyright 2025 Esri
|
7
|
-
*
|
8
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
-
* you may not use this file except in compliance with the License.
|
10
|
-
* You may obtain a copy of the License at
|
11
|
-
*
|
12
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
13
|
-
*
|
14
|
-
* Unless required by applicable law or agreed to in writing, software
|
15
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
17
|
-
* See the License for the specific language governing permissions and
|
18
|
-
* limitations under the License.
|
19
|
-
*/:host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1)!important;background-color:var(--calcite-color-foreground-1)!important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}}`,k=class extends m{constructor(){super(...arguments),this.enableSnapping=!1,this.graphics=[],this.showUserImageInCommentsList=!1,this.showFullCommentTitle=!0,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=[],this._updating=!1,this._infoCard=c(),this._commentsList=c(),this._likeField="",this._dislikeField="",this._validFieldTypes=["small-integer","integer","big-integer","single","long"],this.relatedTableId="",this.loadingStatus=h(),this.commentSelect=h(),this.addComment=h(),this.likeOrDislikeClicked=h(),this.featureSelectionChange=h()}static{this.properties={enableSnapping:5,mapView:0,graphics:0,reportingOptions:0,layerItemsHash:0,showUserImageInCommentsList:5,showFullCommentTitle:5,_likeFieldAvailable:16,_likeCount:16,_disLikeCount:16,_dislikeFieldAvailable:16,_commentsAvailable:16,_isLikeBtnClicked:16,_isDislikeBtnClicked:16,_relatedFeaturesOIDs:16,_updating:16}}static{this.styles=F}static{this.shadowRootOptions=_}willUpdate(i){i.has("graphics")&&this.graphicsWatchHandler()}async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(i){i&&await this.getCompleteGraphic(i),await this.processComments(),i&&this.isLikeDislikeConfigured(i.layer)?this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.value&&this._infoCard.value.back()}async next(){this._infoCard.value&&this._infoCard.value.next()}async toggleListView(){this._infoCard.value&&this._infoCard.value.toggleListView()}async load(){await this._initModules(),await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){let i=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return n`<calcite-panel><info-card .enableSnapping=${this.enableSnapping} .graphics=${this.graphics} .mapView=${this.mapView} @selectionChanged=${e=>{this.featureSelectionChange.emit(e.detail)}} position=relative ${p(this._infoCard)}></info-card>${(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&n`<div class="buttons-container">${this._commentsAvailable&&n`<calcite-button appearance=transparent icon-end=speech-bubble kind=neutral @click=${()=>{this.addComment.emit()}} scale=m>${this._relatedFeaturesOIDs.length}</calcite-button>`||""}${this._likeFieldAvailable&&n`<calcite-button appearance=transparent icon-end=thumbs-up .kind=${this._isLikeBtnClicked?"brand":"neutral"} .loading=${this._updating} @click=${this.onLikeButtonClick} scale=m>${this._likeCount??this._selectedGraphic?.attributes[this._likeField]??0}</calcite-button>`||""}${this._dislikeFieldAvailable&&n`<calcite-button appearance=transparent icon-end=thumbs-down .kind=${this._isDislikeBtnClicked?"brand":"neutral"} .loading=${this._updating} @click=${this.onDislikeButtonClick} scale=m>${this._disLikeCount??this._selectedGraphic?.attributes[this._dislikeField]??0}</calcite-button>`||""}</div>`||""}${this.relatedTableId&&this._commentsAvailable&&n`<feature-list class="height-full" .mapView=${this.mapView} @featureSelect=${e=>{this.commentSelect.emit(e.detail)}} page-size=5 .selectedLayerId=${this.relatedTableId} .showFullTitle=${this.showFullCommentTitle} .showUserImageInList=${this.showUserImageInCommentsList} text-size=small .whereClause=${i} ${p(this._commentsList)}></feature-list>`||""}</calcite-panel>`}async _initModules(){let[i,e]=await b(["esri/rest/support/RelationshipQuery","esri/Graphic"]);this.RelationshipQuery=i,this.Graphic=e}async getCompleteGraphic(i){if(i){let e=i.layer,t=e.createQuery(),l=Number(i.getObjectId());if(!Number.isNaN(l)){t.objectIds=[l];let s=await e.queryFeatures(t);this._selectedGraphic=s.features[0]}}}async processComments(){let i=this._selectedGraphic?.layer;if(this.reportingOptions&&this.reportingOptions[i.id]&&this.reportingOptions[i.id].comment&&i?.relationships&&i.relationships?.length>0){let e=this.mapView&&await C(this.mapView),t=null,l=null;if(i?.relationships?.some(s=>{let a=e?.filter(r=>i.url===r.url&&r.layerId===s.relatedTableId);return a&&a.length>0?(t=a[0],l=s.id,!0):!1}),this.relatedTableId=t?.id??"",this.relatedTableId){let s=this._selectedGraphic?.attributes[i?.objectIdField],a=this.RelationshipQuery&&new this.RelationshipQuery({objectIds:[s],outFields:["*"],relationshipId:l}),r=a&&await i.queryRelatedFeatures(a).catch(d=>{console.error(d)}),o=[];r[s]&&r[s].features.forEach(d=>{o.push(d.attributes[t.objectIdField])}),this._relatedFeaturesOIDs=o,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(i){let e=!1,t=!1;if(this.reportingOptions&&this.reportingOptions[i.id]){if(!this.reportingOptions[i.id].like&&!this.reportingOptions[i.id].dislike)return!1;let l=this.reportingOptions[i.id].likeField,s=this.reportingOptions[i.id].dislikeField;if(!l&&!s)return!1;i.fields.forEach(a=>{this._validFieldTypes.indexOf(a.type)>-1&&this.layerItemsHash&&this.reportingOptions&&this.layerItemsHash[i.id].supportsUpdate&&(a.name===l&&this.reportingOptions[i.id].like?e=!0:a.name===s&&this.reportingOptions[i.id].dislike&&(t=!0))})}return e||t}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;let i=this._selectedGraphic?.layer;if(this.reportingOptions&&this.reportingOptions[i.id]){if(this._likeField=this.reportingOptions[i.id].likeField||"",this._dislikeField=this.reportingOptions[i.id].dislikeField||"",!this._likeField&&!this._dislikeField)return;i.fields.forEach(e=>{this._validFieldTypes.indexOf(e.type)>-1&&this.layerItemsHash&&this.reportingOptions&&this.layerItemsHash[i.id].supportsUpdate&&(e.name===this._likeField&&this.reportingOptions[i.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic?.attributes[e.name]):e.name===this._dislikeField&&this.reportingOptions[i.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic?.attributes[e.name]))}),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this._selectedGraphic?.layer&&this.reportingOptions&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this._selectedGraphic?.layer&&this.reportingOptions&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(i,e){let t={},l=this._selectedGraphic?.layer;this._updating=!0;let s=this._selectedGraphic;if(s){s.attributes[i]=Number(s.attributes[i])+(e?1:-1),t[l.objectIdField]=s.attributes[l.objectIdField],t[i]=s.attributes[i];let a=this.Graphic&&new this.Graphic;if(a){a.attributes=t;let r={updateFeatures:[a]};await l.applyEdits(r).then(()=>{this._selectedGraphic=s,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()},o=>{this._updating=!1,console.log(o)})}}}getFromLocalStorage(){let i=this._selectedGraphic?.layer&&this._selectedGraphic.layer.id,e=!Number.isNaN(Number(i))&&i?.toString()&&localStorage[i];if(e){let t=JSON.parse(e).filter(l=>l.id===this._selectedGraphic?.getObjectId());t.length>0&&(this._isLikeBtnClicked=t[0].like,this._isDislikeBtnClicked=t[0].dislike)}}setInLocalStorage(){let i=this._selectedGraphic?.layer&&this._selectedGraphic.layer.id,e=i?.toString()&&localStorage[i],t=[];if(e){t=JSON.parse(e);let l=t.findIndex(s=>s.id===this._selectedGraphic?.getObjectId());l>=0&&t.splice(l,1)}t.push({id:this._selectedGraphic?.getObjectId(),like:this._isLikeBtnClicked&&this._likeCount!==0,dislike:this._isDislikeBtnClicked&&this._disLikeCount!==0}),i?.toString()&&localStorage.setItem(i.toString(),JSON.stringify(t))}};g("feature-details",k);export{k as FeatureDetails};
|
package/dist/cdn/627NUP22.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250529.1 */
|
4
|
-
import{a,b}from"./XEKWJEF6.js";import"./4YOYUXOM.js";import"./AO367CCB.js";import"./ITFUMWIC.js";import"./NB2KN2PS.js";import"./QUYSAWNZ.js";import"./EUCKEPMP.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
|
package/dist/cdn/6K3XKNF7.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250529.1 */
|
4
|
-
import{a as S}from"./VWNZ5PHO.js";import"./DE4JUMCH.js";import{a as v,c as u,d as c,e as m,f as C,g as x}from"./64GGJXW2.js";import"./CLTGVNIT.js";import{b as $}from"./E45HF3Y4.js";import{a as h,b as o}from"./Q5577CJV.js";import{b as F}from"./2M3XDJVT.js";import{a as I}from"./4KEBF4LC.js";import{D as b,E as p,I as L,c as g,d as l,g as d,o as w,q as y}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var V=g`@layer{/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.width-full{width:100%!important}.width-0{width:0}.height-full{height:100%!important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}}`,_=class extends b{constructor(){super(),this.center="",this.commentButtonText="",this.commentSubmittedMessage="",this.reportOutsideAreaMessage="",this.defaultWebmap="",this.description="",this.enableAnonymousAccess=!1,this.enableAnonymousComments=!1,this.enableComments=!1,this.enableHome=!0,this.enableLogin=!1,this.enableNewReports=!1,this.enableSearch=!0,this.enableSnapping=!1,this.enableZoom=!0,this.isMobile=!1,this.layerExpressions=[],this.layerId="",this.level="",this.loginTitle="",this.mapInfos=[],this.objectId="",this.reportButtonText="",this.reportsHeader="",this.reportSubmittedMessage="",this.showComments=!1,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage="",this.theme="light",this.floorLevel="",this.showFullCommentTitle=!0,this.filterByMapExtent=!1,this.sortOption="newest",this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this._featureCreationFailedErrorMsg="",this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._reportSubmitted=!1,this._selectedLayerName="",this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=I({name:"crowdsource-reporter",blocking:!0}),this._updatedProgressBarStatus=25,this._updatedSortOption="newest",this._commentSubmitted=!1,this._addingCommentFailed=!1,this._filterOpen=!1,this._showNextButton=!1,this._submitNextButtonDisabled=!1,this._createFeature=h(),this._currentFeatureId="",this._editableLayerIds=[],this._featureDetails=h(),this._featureList=h(),this._selectedRelatedFeature=[],this._filterList=h(),this._layerList=h(),this._createRelatedFeature=h(),this._layers=[],this._mapImageryLayersId=[],this._selectedFeature=[],this._selectedFeatureIndex=0,this._selectedLayerId="",this._shareNode=h(),this._urlParamsLoaded=!1,this._validLayers=[],this._nonVisibleValidLayers=[],this._showFullPanel=!1,this._floorExpression="",this._formElements=[],this._prevSelectedLayerId="",this._t9nLayerExpressions=[],this._reportSubmittedAlert=h(),this.togglePanel=w(),S(window)}static{this.properties={center:1,commentButtonText:1,commentSubmittedMessage:1,reportOutsideAreaMessage:1,defaultWebmap:1,description:1,enableAnonymousAccess:5,enableAnonymousComments:5,enableComments:5,enableHome:5,enableLogin:5,enableNewReports:5,enableSearch:5,enableSnapping:5,enableZoom:5,isMobile:5,layerExpressions:0,layerId:1,level:1,loginTitle:1,mapInfos:0,mapView:0,objectId:1,reportButtonText:1,reportingOptions:0,reportsHeader:1,reportSubmittedMessage:1,searchConfiguration:0,showComments:5,showUserImageInCommentsList:5,showFeatureSymbol:5,showMyReportsOnly:5,submitNewReportsMessage:1,theme:1,zoomToScale:9,floorLevel:1,showFullCommentTitle:5,filterByMapExtent:5,sortOption:1,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,_featureCreationFailedErrorMsg:16,_filterActive:16,_flowItems:16,_hasValidLayers:16,_mapInfo:16,_reportSubmitted:16,_selectedLayerName:16,_showSubmitCancelButton:16,_showLoadingIndicator:16,_sidePanelCollapsed:16,_translations:16,_updatedProgressBarStatus:16,_updatedSorting:16,_updatedSortOption:16,_commentSubmitted:16,_addingCommentFailed:16,_filterOpen:16,_showNextButton:16,_submitNextButtonDisabled:16}}static{this.styles=V}static{this.shadowRootOptions=y}willUpdate(e){e.has("isMobile")&&this.isMobileWatchHandler(this.isMobile),e.has("mapView")&&this.mapViewWatchHandler(),e.has("floorLevel")&&this.floorLevelWatchHandler(),e.has("showMyReportsOnly")&&(this.hasUpdated||this.showMyReportsOnly!==!1)&&this.showMyReportsOnlyWatchHandler(),e.has("sortOption")&&(this.hasUpdated||this.sortOption!=="newest")&&this.sortOptionWatchHandler(),e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentChangeWatchHandler(),e.has("layerExpressions")&&(this.hasUpdated||this.layerExpressions?.length>0)&&this.layerExpressionsWatchHandler(),e.has("showFeatureSymbol")&&(this.hasUpdated||this.showFeatureSymbol!==!1)&&this.showFeatureSymbolWatchHandler(),(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList.value?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}async isMobileWatchHandler(e){this.updatePanelState(!1,this._showFullPanel),e&&this._flowItems[this._flowItems.length-1]==="filter-panel"?(await this.backFromFilterPanel(),this._filterOpen=!0):!e&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async mapViewWatchHandler(){await this.mapView?.when(async()=>{this.setInitExpressions(),await this.setMapView()})}async floorLevelWatchHandler(){if(this._editableLayerIds)for(let e of this._editableLayerIds){let t=this.mapView&&await c(this.mapView,e);t&&t.floorInfo?.floorField&&this._updateFloorDefinitionExpression(t)}this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value&&await this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh(),this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),this.refreshLists())}async sortOptionWatchHandler(){this.updateSortingOptions()}filterByMapExtentChangeWatchHandler(){this.refreshLists()}async layerExpressionsWatchHandler(){this.resetFilterList(),await this.handleSelectedLayersFilter(),await this._featureList.value?.refresh()}async showFeatureSymbolWatchHandler(){await this._featureList.value?.refresh()}async updateLayerExpressionsT9n(e){if(this._t9nLayerExpressions=e||this.layerExpressions,this._filterList.value!=null)await this._filterList.value.handleUpdatingT9nData(this._t9nLayerExpressions);else if(this._currentLayerExpressions!=null){let t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}async load(){this._urlParamsLoaded=!1,await this._initModules(),await this.mapView?.when(async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter(e=>{let t=e&&this.reportingOptions&&this.reportingOptions[e];return t&&t.visible}):[],this.setInitExpressions(),await this.setMapView()})}render(){let e=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`${this._reportSubmitted&&l`<calcite-alert auto-close class=${`${e} report-submitted-msg`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._reportSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.reportSubmittedMessage||this._translations.submitMsg)??""} ${o(this._reportSubmittedAlert)}></div></calcite-alert>`||""}${this._featureCreationFailedErrorMsg&&l`<calcite-alert auto-close class=${p(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._featureCreationFailedErrorMsg=""}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._featureCreationFailedErrorMsg}</div></calcite-alert>`||""}${this._commentSubmitted&&l`<calcite-alert auto-close class=${`report-submitted ${e}`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._commentSubmitted=!1}} open placement=top><div slot=message>${this.commentSubmittedMessage||this._translations.commentSubmittedMsg}</div></calcite-alert>`||""}${this._addingCommentFailed&&l`<calcite-alert auto-close class=${p(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._addingCommentFailed=!1}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._translations.addingCommentFailedMsg}</div></calcite-alert>`||""}<div><calcite-shell content-behind>${this._getReporter()}</calcite-shell></div>${this.isMobile&&this.filterModal()||""}`}updated(){this.reportSubmittedMessage&&this._reportSubmittedAlert.value?.children[0]&&(this._reportSubmittedAlert.value.children[0].style.margin="0px")}async _initModules(){let[e,t,i,s]=await F(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter","esri/rest/identify","esri/rest/support/IdentifyParameters"]);this.reactiveUtils=e,this.FeatureFilter=t,this.identify=i,this.IdentifyParameters=s}async setSelectedLayer(e,t){this._selectedLayerId=e,this._selectedLayer=this.mapView&&await c(this.mapView,e),this._selectedLayerName=t,this._validLayers.forEach(i=>{this._nonVisibleValidLayers.find(s=>s.id===i.id)||i.set("visible",!e||i.id===e)})}_getLayersConfig(e){return this.reportingOptions&&this.reportingOptions[e]?this.reportingOptions[e]:null}_getReporter(){let e=[];this._flowItems.forEach(i=>{switch(i){case"layer-list":e.push(this.getLayerListFlowItem());break;case"feature-list":e.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":e.push(this.getFilterPanel());break;case"feature-details":e.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":e.push(this.getChooseCategoryFlowItem());break;case"feature-create":e.push(this.getFeatureCreateFlowItem());break;case"comment-details":e.push(this.getCommentDetailsFlowItem());break;case"add-comment":e.push(this.getAddCommentFlowItem());break}});let t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-panel class=${`width-full ${t}`}>${this.mapView?l`<calcite-flow>${e?.length>0&&e||""}</calcite-flow>`:l`<calcite-loader label scale=m></calcite-loader>`}</calcite-panel>`}filterModal(){return(this.layerExpressions?this.layerExpressions.filter(e=>e.id===this._selectedLayerId):[]).length>0&&l`<calcite-modal aria-labelledby=modal-title class="modal" kind=brand @calciteModalClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width-scale=s><div class="display-flex align-center" id=modal-title slot=header>${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)}</div><div slot=content>${this.mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>{this._filterActive=!1,this._featureList.value&&this._featureList.value.refresh()}} @filterUpdate=${()=>{this._filterList.value?.filterCount!==void 0&&this._handleFilterUpdate(this._filterList.value?.filterCount>0)}} reset-btn .view=${this.mapView} ${o(this._filterList)}></instant-apps-filter-list>`||""}</div></calcite-modal>`||""}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,this._filterList.value!=null&&(this._currentLayerExpressions=await this._filterList.value.getCurrentLayerExpressions())}async sortOptionClick(e,t,i){this._updatedSorting={field:e,order:t},this._updatedSortOption=i}_toggleSort(){let e=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return l`<calcite-popover auto-close label offset-distance=0 .placement=${this.isMobile?"leading-start":"bottom-start"} pointer-disabled reference-element=sort-popover><calcite-list label selection-mode=single-persist><calcite-list-item .label=${this._translations.sortNewest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"desc","newest")}} .selected=${this._updatedSortOption==="newest"} value=newest></calcite-list-item><calcite-list-item .label=${this._translations.sortOldest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"asc","oldest")}} .selected=${this._updatedSortOption==="oldest"} value=oldest></calcite-list-item>${e&&l`<calcite-list-item .label=${this._translations.sortHighestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t!==void 0&&this.sortOptionClick(t,"desc","highestVoted")}} .selected=${this._updatedSortOption==="highestVoted"} value=highestVoted></calcite-list-item><calcite-list-item .label=${this._translations.sortLowestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t&&this.sortOptionClick(t,"asc","lowestVoted")}} .selected=${this._updatedSortOption==="lowestVoted"} value=lowestVoted></calcite-list-item>`||""}</calcite-list></calcite-popover>`}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(e){this._showLoadingIndicator=!0,this._filterActive=e,this._featureList.value&&await this._featureList.value.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportsHeader} .selected=${this._flowItems[this._flowItems.length-1]==="layer-list"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this._hasValidLayers&&this.enableNewReports&&l`<calcite-button appearance=solid @click=${this.navigateToChooseCategory} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel><layer-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} .layers=${this._editableLayerIds?.length>0?this._editableLayerIds:this._layers} .mapView=${this.mapView} @layerSelect=${this.displayFeaturesList} @layersListLoaded=${this.layerListLoaded} show-feature-count show-next-icon ${o(this._layerList)}></layer-list></calcite-panel></calcite-flow-item>`}getChooseCategoryFlowItem(){let e=this.reportingOptions?Object.keys(this.reportingOptions).filter(t=>this.reportingOptions&&this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd):[];return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="reporting-layer-list"}><calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.chooseCategoryMsg}</div></calcite-notice><layer-list class="height-full" .layers=${e} .mapView=${this.mapView} @layerSelect=${this.navigateToCreateFeature}></layer-list></calcite-panel></calcite-flow-item>`}getFeatureCreateFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} @calciteFlowItemBack=${this.backFromCreateFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-create"}>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${this._submitNextButtonDisabled} @click=${this._showNextButton?this.onNextButtonClick.bind(this):this.onCreateFeatureSubmitButtonClick.bind(this)} width=full>${this._showNextButton?this._translations.next:this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}<calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><create-feature customize-submit enable-search .enableSnapping=${this.enableSnapping} .floorLevel=${this.floorLevel} .formElements=${this._formElements.find(e=>e.id===this._selectedLayerId)} .reportingAreaLayer=${this.reportingAreaLayer} .isMobile=${this.isMobile} .mapView=${this.mapView} @drawComplete=${this.onFormReady} @editingLocation=${this.editingLocation} @editingAttachment=${this.showSubmitCancelButton} @fail=${this.createFeatureFailed} @modeChanged=${this.backFromCreateFeaturePanel} @progressStatus=${this.updatedProgressStatus} @success=${this.onReportSubmitted} .searchConfiguration=${this.searchConfiguration} .selectedLayerId=${this._selectedLayerId} .reportOutsideAreaMessage=${this.reportOutsideAreaMessage} .submitNewReportsMessage=${this.submitNewReportsMessage} update-map-position ${o(this._createFeature)}></create-feature></calcite-panel></calcite-flow-item>`}updatedProgressStatus(e){this._updatedProgressBarStatus=e.detail}onFormReady(e){this._submitNextButtonDisabled=e.detail,this._showSubmitCancelButton=!0}editingLocation(){this._showNextButton=!0}showSubmitCancelButton(e){this._showSubmitCancelButton=!e.detail}onCreateFeatureSubmitButtonClick(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this._createFeature.value.submit())}backFromCreateFeaturePanel(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updateNonVisibleLayersOnMap(!1)),this.backFromSelectedPanel()}onNextButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._showSubmitCancelButton=!0,this._createFeature.value.showForm())}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature.value&&this._createRelatedFeature.value.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature.value&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(e){console.error(e.detail),this._featureCreationFailedErrorMsg=e.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(e){console.error(e.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromSelectedPanel(),this._showLoadingIndicator=!0,this._featureDetails.value&&await this._featureDetails.value.refresh(this._currentFeature),setTimeout(()=>{this._showLoadingIndicator=!1},300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList.value&&await this._layerList.value.refresh(),this._editableLayerIds.length===1?(this._featureList.value&&await this._featureList.value.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(e){e.detail.layerId&&e.detail.layerName&&await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(e){this._nonVisibleValidLayers.find(t=>t.id===this._selectedLayerId)&&this._selectedLayer&&this._selectedLayer.set("visible",e)}async layerListLoaded(e){if(this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"||this._flowItems[0]==="feature-list"){let t=e.detail,i=this.mapView&&await m(this.mapView),s=[];this._validLayers=[],this._nonVisibleValidLayers=[],i?.forEach(a=>{t.includes(a.id)&&(this._validLayers.push(a),a.visible||this._nonVisibleValidLayers.push(a),this._getLayersConfig(a.id)?.reporting&&this._layerItemsHash&&this._layerItemsHash[a.id]&&this._layerItemsHash[a.id].supportsAdd&&s.push(a.id))}),this.handleMapClick(),this._hasValidLayers=s.length>0,this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}}async displayFeaturesList(e){await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId}updateSortingOptions(){let e=this.sortOption===""?"newest":this.sortOption,t=e==="oldest"||e==="lowestVoted"?"asc":"desc",i=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"",s=this._selectedLayer&&(e==="newest"||e==="oldest")?this._selectedLayer?.objectIdField:i;this._updatedSorting={field:s||"",order:t},this._updatedSortOption=!i&&(e==="highestVoted"||e==="lowestVoted")?"newest":e}async backFromFilterPanel(){this._filterList.value!=null&&(this._currentLayerExpressions=await this._filterList.value.getCurrentLayerExpressions()),this._featureList.value&&await this._featureList.value.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;let e=[...this._flowItems];if(e[e.length-1]==="comment-details"||e[e.length-1]==="add-comment"||this.clearHighlights(),(e[e.length-1]==="reporting-layer-list"||e[e.length-1]==="feature-create"&&(e[0]==="feature-list"||e[e.length-2]==="feature-list"))&&this.updatePanelState(this._sidePanelCollapsed,!1),e.pop(),e.length===1&&e[0]==="layer-list"){this.navigateToHomePage();return}this._flowItems=[...e]}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(e,t){this._sidePanelCollapsed=e,this._showFullPanel=t,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(e){this._showLoadingIndicator=!0,await this.setSelectedFeatures([e.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){let e=this._currentFeature?.layer,t=this.mapView&&await C(this.mapView);e.relationships?.some(i=>{let s=t?.filter(a=>e.url===a.url&&a.layerId===i.relatedTableId);return s&&s.length>0?(this._relatedTable=s[0],!0):!1})}async updatingFeatureDetails(e){this._showLoadingIndicator=e}async selectionChanged(e){this.updatingFeatureDetails(!0),await this.setCurrentFeature(e.detail.selectedFeature[0]),this.highlightOnMap(e.detail.selectedFeature[0]),this._selectedFeatureIndex=e.detail.selectedFeatureIndex,this._featureDetails.value&&await this._featureDetails.value.refresh(e.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(e){this._selectedRelatedFeature=[e.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(e,t){let i=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash&&this._layerItemsHash[this._selectedLayerId].supportsAdd,s=this._currentLayerExpressions?.length;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${t} .loading=${!this.isMobile&&this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-list"}>${this._toggleSort()}<calcite-action icon=sort-ascending-arrow id=sort-popover slot=header-actions-end .text=${this._translations.sort} title=${this._translations.sort??d}></calcite-action>${s&&l`<calcite-action icon=filter .indicator=${this._filterActive} @click=${()=>{this.isMobile?this._toggleFilter():this._flowItems=[...this._flowItems,"filter-panel"]}} slot=header-actions-end .text=${this._translations.filter} title=${this._translations.filter??d}></calcite-action>`||""}${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.enableNewReports&&i&&l`<calcite-button appearance=solid @click=${this.navigateToCreateFeature} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel>${l`<feature-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} highlight-on-hover .mapView=${this.mapView} .noFeaturesFoundMsg=${this._translations.featureErrorMsg} @featureSelect=${this.onFeatureSelectFromList} page-size=30 .reportingOptions=${this.reportingOptions} .selectedLayerId=${e} .showFeatureSymbol=${this.showFeatureSymbol} .sortingInfo=${this._updatedSorting} ${o(this._featureList)}></feature-list>`}</calcite-panel></calcite-flow-item>`}getFilterPanel(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromFilterPanel} .selected=${this._flowItems[this._flowItems.length-1]==="filter-panel"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer><div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${!this._filterActive} @click=${this.resetFilterList} width=full>${this._translations.resetFilter}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromFilterPanel} width=full>${this._translations.close}</calcite-button></div></div><calcite-panel>${this.mapView&&l`<instant-apps-filter-list .closeBtnOnClick=${()=>{}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>void this._handleFilterListReset()} @filterUpdate=${()=>{let e=this._filterList.value?.filterCount;e!==void 0&&this._handleFilterUpdate(e>0)}} .view=${this.mapView} ${o(this._filterList)}></instant-apps-filter-list>`||""}</calcite-panel></calcite-flow-item>`}getFeatureDetailsFlowItem(){let e=this._selectedLayer?.relationships,t=this._getLayersConfig(this._selectedLayerId)?.comment&&e&&e.length>0&&this._relatedTable;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.mapView&&l`<instant-apps-social-share class=share-node flip-rtl popover-button-icon-scale=s remove-popover-offset scale=m share-button-color=neutral share-button-type=action slot=header-actions-end social-media .view=${this.mapView} ${o(this._shareNode)}></instant-apps-social-share>`||""}${this._selectedFeature.length>1&&this.getFeaturesPagination()||""}<calcite-panel><feature-details class=full-height .enableSnapping=${this.enableSnapping} .graphics=${this._selectedFeature} .layerItemsHash=${this._layerItemsHash} .mapView=${this.mapView} @addComment=${this.showAddCommentsPanel} @commentSelect=${this.onCommentSelectFromList} @featureSelectionChange=${this.selectionChanged} @likeOrDislikeClicked=${()=>{this._featureList.value&&this._featureList.value.refresh(!0)}} @loadingStatus=${i=>void this.updatingFeatureDetails(i.detail)} .reportingOptions=${this.reportingOptions} .showFullCommentTitle=${this.showFullCommentTitle} .showUserImageInCommentsList=${this.showUserImageInCommentsList} ${o(this._featureDetails)}></feature-details>${t&&l`<calcite-button appearance=solid @click=${this.showAddCommentsPanel} slot=footer width=full>${this.commentButtonText||this._translations.comment}</calcite-button>`||""}</calcite-panel></calcite-flow-item>`}getFeaturesPagination(){return l`<div class="feature-pagination"><div><calcite-button appearance=transparent icon-start=chevron-left id=solutions-back @click=${()=>this._featureDetails.value&&void this._featureDetails.value.back()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-button appearance=transparent @click=${()=>this._featureDetails.value&&void this._featureDetails.value.toggleListView()} scale=s><span class="pagination-count">${this._getCount()}</span></calcite-button><div><calcite-button appearance=transparent icon-start=chevron-right id=solutions-next @click=${()=>this._featureDetails.value&&void this._featureDetails.value.next()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`}getCommentDetailsFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="comment-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<calcite-panel><info-card .enableSnapping=${this.enableSnapping} .graphics=${this._selectedRelatedFeature} .mapView=${this.mapView}></info-card></calcite-panel></calcite-flow-item>`}getAddCommentFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromCreateRelatedFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="add-comment"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" @click=${this.onCreateRelatedFeatureSubmitButtonClick} width=full>${this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateRelatedFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}</div><calcite-panel><create-related-feature customize-submit .enableSnapping=${this.enableSnapping} .mapView=${this.mapView} @fail=${this.addCommentFailed} @formReady=${this.onFormReady} @isActionPending=${this.showSubmitCancelButton} @success=${this.onCommentSubmitted} .selectedFeature=${this._currentFeature} .table=${this._relatedTable} ${o(this._createRelatedFeature)}></create-related-feature></calcite-panel></calcite-flow-item>`}async setSelectedFeatures(e){this._selectedFeature=e,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:void 0)}async setCurrentFeature(e){if(this._currentFeature=e,e&&e.layer){let t=e.layer;t.title&&this.setSelectedLayer(t.id,t.title),this._currentFeatureId=e.attributes[t.objectIdField],this._getLayersConfig(t.id)?.comment&&t.relationships&&t.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(e){if(this.clearHighlights(),e&&e.geometry&&e.layer&&e.layer.id!==void 0){let t=this.mapView&&await u(this.mapView,e.layer.id.toString());if(t){t.highlightOptions=null;let i=Number(e.getObjectId());this._highlightHandle=this.mapView&&await x([i],t,this.mapView,!0,this.zoomToScale)}}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return l`<calcite-action .icon=${this._sidePanelCollapsed?"chevrons-up":"chevrons-down"} @click=${this.toggleSidePanel} slot=header-actions-end .text=${(this._sidePanelCollapsed?this._translations.expand:this._translations.collapse)||""}></calcite-action>`}async setMapView(){await this.getLayersToShowInList(),await this._updateFeatures(),this._editableLayerIds?.length===1?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView&&(this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0))}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",this.onMapClick.bind(this))}async onMapClick(e){if(this.mapView){this.mapView.popupEnabled=!1;let t=await this.mapView.hitTest(e);t.results.length>0?await this._handleHitTestResults(t.results):this._mapImageryLayersId.length>0&&await this._handleIdentify(e.mapPoint)}}async _handleHitTestResults(e){let t=[];e.forEach(function(a){a.type==="graphic"&&t.push(a.graphic)});let i=t.filter(a=>{if(a.layer?.type==="feature"){let r=a.layer;return this._validLayers.includes(r)}else return!1}),s=t.filter(a=>{if(a.layer?.type==="feature"){let r=a.layer;return!this._validLayers.includes(r)&&r?.popupEnabled&&r?.id}else return!1});if(i.length>0&&(await this.setSelectedFeatures(i),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(t[0])):this._flowItems=[...this._flowItems,"feature-details"]),s.length>0&&this.mapView){this.mapView.popupEnabled=!0;let a={features:s,updateLocationEnabled:!0};await this.mapView.openPopup(a)}}async _handleIdentify(e){let t=this.IdentifyParameters&&new this.IdentifyParameters({geometry:e,tolerance:3,mapExtent:this.mapView?.extent}),i=this._mapImageryLayersId.map(async r=>{let n=this.mapView&&await c(this.mapView,r);if(n?.url&&t)return await this.identify?.identify(n.url,t)}),s=await Promise.all(i),a=[];s.forEach(r=>{r.results.forEach(n=>{let E=Object.keys(n.feature.attributes).map(f=>({fieldName:f,label:f}));n.feature.popupTemplate={title:n.layerName,content:[{type:"fields",fieldInfos:E}]},a.push(n.feature)})}),a.length>0&&this.mapView&&(this.mapView.popupEnabled=!0,await this.mapView.openPopup({features:a,location:e}))}_getCount(){let e=(this._selectedFeatureIndex+1).toString(),t=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)}_updateFloorDefinitionExpression(e){let t=`${e?.floorInfo?.floorField} = '${this.floorLevel}'`,i=e.definitionExpression;e.definitionExpression=i&&i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):t,this._floorExpression=t}_getFormElements(){let e=this._selectedLayer;if(e?.floorInfo?.floorField&&this.floorLevel&&e?.formTemplate){let t=this._formElements.find(i=>i.id===e.id);(this._formElements.length===0||!t)&&this._formElements.push({id:e.id,orgElements:e.formTemplate.elements,orgExpressionInfos:e.formTemplate.expressionInfos})}}reduceToConfiguredLayers(e,t){return Object.keys(e).reduce((i,s)=>{let a=this.reportingOptions?this._getLayersConfig(s)?.visible:e[s].supportsAdd;return!t.includes(s)&&a&&i.push(s),i},[])}refreshLists(){setTimeout(()=>{this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh()},50)}async _updateFeatures(){for(let e of this._editableLayerIds){let t=this.mapView&&await u(this.mapView,e);t&&(await this._showMyFeaturesOnly(t),t.layer?.floorInfo?.floorField&&this.floorLevel&&this._updateFloorDefinitionExpression(t.layer))}}async _showMyFeaturesOnly(e){let t=(this.mapView?.map).portalItem.portal?.credential?.userId;if(t&&e){let i=e.layer.editFieldsInfo?.creatorField.toLowerCase();e.filter=this.showMyReportsOnly&&i&&this.FeatureFilter?new this.FeatureFilter({where:i+"='"+t+"'"}):null}}async getLayersToShowInList(){let e=this.mapView&&await v(this.mapView,!0),t=this.mapView&&await m(this.mapView),i=[];t?.forEach(s=>{s?.type==="feature"&&s?.editingEnabled&&s?.capabilities?.operations?.supportsAdd&&(e[s.id].supportsAdd=!0),s?.editingEnabled||i.push(s.id)}),this._editableLayerIds=this.reduceToConfiguredLayers(e,i),this._layerItemsHash=e}async renderFeaturesList(){this._flowItems=["feature-list"];let e={detail:this._editableLayerIds};await this.layerListLoaded(e),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0]?.title||""),this.updateSortingOptions(),this.handleSelectedLayersFilter()}_updateShareURL(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this._selectedLayerId?t.searchParams.set("layerid",this._selectedLayerId):t.searchParams.delete("layerid"),this._selectedFeature?.length?t.searchParams.set("oid",this._currentFeatureId):t.searchParams.delete("oid"),this._shareNode.value&&(this._shareNode.value.shareUrl=t.href)}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView?.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){let e=this.mapView&&await c(this.mapView,this.layerId);if(e){let t=this.mapView&&await $([Number(this.objectId)],e,[],!0,this.mapView.spatialReference);t?.length&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems[this._flowItems.length-1]!=="feature-details"?this._flowItems=[...this._flowItems,"feature-details"]:this._flowItems=[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){let e=this.layerExpressions?structuredClone(this.layerExpressions.filter(t=>t.id===this._selectedLayerId)):[];this._t9nLayerExpressions!=null&&this.handleLayerExpressionsT9n(e,this._t9nLayerExpressions),this._currentLayerExpressions=e,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){let e=this.mapView&&await c(this.mapView,this._prevSelectedLayerId);e&&this._initDefExpressions&&(e.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}resetFilterList(){this._filterList.value?.forceReset(),this._selectedLayer!==void 0&&this._initDefExpressions&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(this._selectedLayer===void 0)return;let e=[];if(this._currentLayerExpressions&&this._currentLayerExpressions?.length>0){let t=this._currentLayerExpressions[0];for(let i of t.expressions){let{active:s,definitionExpression:a}=i;s&&a&&e.push(`(${a})`)}this._filterActive=e.length>0,this.updateFilterLayerDefExpression(e,t.operator)}}updateFilterLayerDefExpression(e,t){let i=this._initDefExpressions&&this._initDefExpressions[this._selectedLayerId],s=e?.length>0&&i?`(${e.join(t)}) AND (${i})`:e.length>0?e.join(t):i;this._selectedLayer&&(this._selectedLayer.definitionExpression=s)}setInitExpressions(){if(this._initDefExpressions={},this.mapView==null)return;let e=this.mapView.map;e.allLayers.concat(e.allTables).forEach(t=>{if(t.type==="map-image"&&!this._mapImageryLayersId.includes(t.id)){this._mapImageryLayersId.push(t.id);return}if(t.type!=="feature")return;let i=t;this._initDefExpressions&&(this._initDefExpressions[i.id]=i.definitionExpression||"")})}handleLayerExpressionsT9n(e,t){e?.forEach(i=>{let s=t?.find(a=>a.id===i.id);s!=null&&(i.title=s.title,i.expressions?.forEach(a=>{let r=s.expressions?.find(n=>n.id===a.id);r!=null&&(a.name=r.name)}))})}};L("crowdsource-reporter",_);export{_ as CrowdsourceReporter};
|
package/dist/cdn/FLEZVTRW.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250529.1 */
|
4
|
-
import{b as e,e as r}from"./Y3VKMBT2.js";import"./UTTBCGBU.js";import"./TKOIJYF4.js";import"./EMX7A46W.js";import{d as t}from"./MKZNNMPC.js";import"./AQLKL2NA.js";import"./7YM72QZ3.js";import"./JNLPWAOW.js";import"./WIJOUEJP.js";import"./V5KXBFEN.js";import"./RSHSVMPO.js";import"./TS32X4ID.js";import"./4L3V2YYV.js";import"./GWPISXDC.js";import"./EUCKEPMP.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
|
package/dist/cdn/KNHIVMQR.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250529.1 */
|
4
|
-
import{a,b}from"./5OFRMSV6.js";import"./GWPISXDC.js";import"./EUCKEPMP.js";export{a as ChannelEditorTypes,b as ChannelSchema};
|
package/dist/cdn/QY3WDSZE.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250529.1 */
|
4
|
-
import{a as O}from"./VKBPB4XL.js";import{d as _}from"./UA2S4SRX.js";import{a as l,d as p}from"./WIJOUEJP.js";import"./4L3V2YYV.js";import"./EUCKEPMP.js";function C(e,a){let i=[];return O(e,(t,c)=>(c.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let c=q(a),r,u,s,m,d;switch(c){case"stat":s=import("./NVSZ6TEP.js"),m={"hub:card:stat":()=>import("./TATQRKRO.js")}[a],await Promise.all([s,m()]).then(async([f,o])=>{let{MetricSchema:n}=f;r=l(n),u=await o.buildUiSchema(e,i,t),o.buildDefaults&&(d=o.buildDefaults(e,i,t))});break;case"follow":s=import("./FUKHM2ED.js"),m={"hub:card:follow":()=>import("./OHVQU6ZJ.js")}[a],await Promise.all([s,m()]).then(([f,o])=>{let{FollowSchema:n}=f;r=l(n),u=o.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./YQ56TKXB.js"),m=import("./EMR2T3VS.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:c}=a;t.maxLength=_(c);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:c}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let c=a.split(":")[1],r,u,s;switch(c){case"site":let{getSiteSchema:m}=await import("./TD5MSEEV.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./P6V7CQGP.js"),"hub:site:create":()=>import("./5BWSNQ4C.js"),"hub:site:followers":()=>import("./3GOXEHUM.js"),"hub:site:discussions":()=>import("./HCV2XISF.js"),"hub:site:settings":()=>import("./DB2PWS76.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./CUWBKPW3.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./RMQSJKXT.js"),"hub:discussion:create":()=>import("./XE4V3N2H.js"),"hub:discussion:settings":()=>import("./OZ6MXTPT.js"),"hub:discussion:settings:discussions":()=>import("./HCK5TCOJ.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./KNHIVMQR.js");r=l(f);let o=await{"hub:channel:edit":()=>import("./RFC7Q3JW.js"),"hub:channel:create":()=>import("./X4XTLJM6.js")}[a]();u=await o.buildUiSchema(e,i,t),o.buildDefaults&&(s=await o.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./VJLQ32GX.js");r=l(n);let v=await{"hub:project:edit":()=>import("./KKJXYILX.js"),"hub:project:create":()=>import("./XNMPWNJU.js"),"hub:project:create2":()=>import("./JGO5DBSA.js"),"hub:project:metrics":()=>import("./T44MUET5.js"),"hub:project:settings":()=>import("./EFQVEZGK.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./627NUP22.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./HXCZBWLK.js"),"hub:initiative:create":()=>import("./ERDDFJBU.js"),"hub:initiative:create2":()=>import("./CH6BDUYO.js"),"hub:initiative:metrics":()=>import("./LKCOVVSL.js"),"hub:initiative:associations":()=>import("./ZOFGHLQB.js"),"hub:initiative:settings":()=>import("./N3WHAHAE.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./EFN3IWLQ.js");r=l(I);let D=await{"hub:page:edit":()=>import("./V6P4UD6W.js"),"hub:page:create":()=>import("./FZAQQCT2.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./KLDZGQR7.js");r=l(K);let U=await{"hub:content:edit":()=>import("./EMSROVVK.js"),"hub:content:discussions":()=>import("./57OJYSCR.js"),"hub:content:settings":()=>import("./ABWWFNZH.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./E4MUA2ED.js");r=l(y);let k=await{"hub:template:edit":()=>import("./WHS2SJGC.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./X6K34YQK.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./N2Q43IJ2.js"),"hub:group:create:association":()=>import("./4HJRJ7KX.js"),"hub:group:create:view":()=>import("./3WUBH6ZI.js"),"hub:group:create:edit":()=>import("./XE5DWVXG.js"),"hub:group:create":()=>import("./WP6BQVIA.js"),"hub:group:edit":()=>import("./X7VDVXPT.js"),"hub:group:settings":()=>import("./PSTKPUKW.js"),"hub:group:discussions":()=>import("./QQD353LD.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./FR4X4TDZ.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./BDSZY6HF.js"),"hub:survey:settings":()=>import("./2SNUWJEH.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./XLPJWPRX.js"),"hub:event:edit":()=>import("./VHODC5K7.js"),"hub:event:registrants":()=>import("./KU56AQD3.js")}[a](),H=await{"hub:event:create":()=>import("./XMAMECK7.js"),"hub:event:edit":()=>import("./KBDBSCXP.js"),"hub:event:registrants":()=>import("./DW2GOOJO.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./FKBPJVRW.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./QMAHKDVR.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./5GRAGQQP.js");r=l(N);let P=await{"hub:user:settings":()=>import("./ZHJOJK4D.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
|
package/dist/cdn/RE3SUTYT.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250529.1 */
|
4
|
-
import{a as r}from"./4KEBF4LC.js";import{D as n,I as o,c as i,d as t,q as s}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var a=i`@layer{/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/}`,e=class extends n{constructor(){super(...arguments),this._translations=r({name:"solution-deploying-panel",blocking:!0})}static{this.properties={_translations:16}}static{this.styles=a}static{this.shadowRootOptions=s}render(){return t`<calcite-panel></calcite-panel>`}};o("solution-deploying-panel",e);export{e as SolutionDeployingPanel};
|
package/dist/cdn/RHY65LV5.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250529.1 */
|
4
|
-
import{d as u,e as L}from"./64GGJXW2.js";import"./CLTGVNIT.js";import"./E45HF3Y4.js";import{a as m,b as w}from"./Q5577CJV.js";import{b}from"./2M3XDJVT.js";import{a as V}from"./4KEBF4LC.js";import{D as M,E as p,I as v,c as y,d as c,o as h,q as f}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var E=y`@layer{/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.esri-editor__panel-content{padding-block:0px!important}.esri-editor .esri-item-list__group__header,.esri-editor__panel-content__section .esri-widget__heading{display:none!important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px!important;padding-inline:10px!important}.search-widget{width:92%!important;margin:5px 14px 20px}.display-none{display:none!important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px!important;position:absolute!important;bottom:0;height:auto!important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.edit-location-btn{margin:5px;display:flex}.esri-editor__panel-content{padding-block:10px!important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0!important;min-height:0!important}}}`,_=class extends M{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel="",this.isMobile=!1,this.selectedLayerId="",this.showGuidingMsg=!0,this.submitNewReportsMessage="",this.updateMapPosition=!1,this.reportingAreaLayer="",this.reportOutsideAreaMessage="",this.showSketchWidgets=!1,this._currentPage="templatePicker",this._editorLoading=!1,this._inValidGeomtryDrawn=!1,this._translations=V({name:"create-feature",blocking:!0}),this._addingAttachment=!1,this._calciteNotice=m(),this._isSubmitBtnClicked=!1,this._mapViewContainer=m(),this._searchDiv=m(),this.success=h(),this.fail=h(),this.drawComplete=h(),this.editingLocation=h(),this.editingAttachment=h(),this.progressStatus=h(),this.modeChanged=h()}static{this.properties={customizeSubmit:5,enableSearch:5,enableSnapping:5,floorLevel:1,formElements:1,isMobile:5,mapView:0,searchConfiguration:0,selectedLayerId:1,showGuidingMsg:5,submitNewReportsMessage:1,updateMapPosition:5,reportingAreaLayer:1,reportOutsideAreaMessage:1,showSketchWidgets:5,_currentPage:16,_editorLoading:16,_inValidGeomtryDrawn:16,_translations:16}}static{this.styles=E}static{this.shadowRootOptions=f}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("isMobile")&&this.hasUpdated&&this.isMobileHandler(),e.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){this.mapView&&await this.mapView.when(async()=>{await this.init()})}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(e){if(e){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){if(this._selectedLayer.templates&&this._editor){let t=this._selectedLayer.templates[0],i={layer:this._selectedLayer,template:t};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(i),await this.hideEditorsElements()}}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(e){this._editor&&this._setFloorLevel(e)}async showForm(){this.progressStatus.emit(100),this._container?.classList.remove("display-none"),this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._currentPage="featureForm"}async load(){await this.initModules()}async loaded(){await this.init()}async updated(){if(this.isMobile&&this.updateMapPosition){let e=this._currentPage==="drawing"?80:30,t=this.enableSearch?this._searchDiv.value?.offsetHeight:0;await this._calciteNotice.value?.componentOnReady();let i=(this._calciteNotice.value?.offsetHeight||0)+t+e;this._mapViewContainer.value&&(this._mapViewContainer.value.style.top=`${i}px`)}}disconnectedCallback(){super.disconnectedCallback(),this._editor&&(this._editor.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel?.destroy(),this._editor.destroy(),this.enableSnapping&&this.mapView?.ui.view&&((this.mapView?.ui.view).grid=null))}render(){let e=this._currentPage==="drawing"||this._currentPage==="editing"?"":"display-none",t=this._editorLoading?"":"display-none",i=this._editorLoading?"display-none":"",s=this.isMobile&&this.updateMapPosition?"show-map":"display-none",a=this._inValidGeomtryDrawn?"danger":"success",r=this._inValidGeomtryDrawn?"exclamation-mark-triangle":"lightbulb",n=this.showGuidingMsg&&this._currentPage!=="templatePicker",d=this._translations.chooseCategoryMsg;return this._inValidGeomtryDrawn?d=this.reportOutsideAreaMessage||this._translations.reportOutsideAreaMessage:this._currentPage==="drawing"||this._currentPage==="editing"?d=this._translations.provideLocationMsg:this._currentPage==="featureForm"&&(d=this._translations.provideDetailsMsg),c`${n&&c`<calcite-notice class="notice-msg" .icon=${r} .kind=${a} open ${w(this._calciteNotice)}><div slot=message>${d}</div></calcite-notice>`||""}<calcite-loader class=${p(t)} label scale=s></calcite-loader>${this._currentPage==="featureForm"&&this.isMobile&&c`<calcite-button appearance=transparent class="edit-location-btn" icon-start=pin @click=${this.editLocation}>${this._translations.editLocationLabel}</calcite-button>`||""}<div class=${p(i)} id=feature-form></div>${this.enableSearch&&c`<div class=${`search-widget ${e} ${i}`} id=search-widget-ref ${w(this._searchDiv)}></div>`||""}<div class=${p(s)} ${w(this._mapViewContainer)}></div>`}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile&&this.updateMapPosition?this.createMobileMapView():this._loadWidgets()))}async initModules(){let[e,t,i,s,a,r,n,d]=await b(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView","esri/widgets/Home"]);this.Editor=e,this.reactiveUtils=t,this.Search=i,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=r,this.MapView=n,this.Home=d}async createMobileMapView(){this._mapViewContainer.value&&this.MapView&&this.mapView&&(this._mapViewContainer.value.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer.value,zoom:this.mapView.zoom,center:this.mapView.center}).when(e=>{this._updatedMapView=e;let t=this.Home&&new this.Home({view:this._updatedMapView});t&&this._updatedMapView.ui.add(t,"top-left"),this._loadWidgets()},e=>{console.log(e)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();let e=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar");let t=this._updatedMapView&&await L(this._updatedMapView),i=this.mapView&&await u(this.mapView,this.selectedLayerId);if(i&&(this._selectedLayer=i,!this._selectedLayer?.isTable&&t&&t.forEach(s=>{e.push({layer:s,enabled:s?.type==="feature"&&s?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this.Editor&&(this._editor=new this.Editor({view:this._updatedMapView,layerInfos:e,visibleElements:{settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping,createFeaturesSection:!0,editFeaturesSection:!1,flow:!0,sketch:this.showSketchWidgets&&this._selectedLayer?.geometryType!=="point"},container:this._container}),this._mapViewContainer.value?this.el.insertBefore(this._container,this._mapViewContainer.value):this.el.appendChild(this._container),this._selectedLayer?.isTable&&(this._editorLoading=!0),this._editor)){let s=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="adding-attachment"||o==="editing-attachment"?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)});s&&this._editor.viewModel.addHandles(s);let a=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,o=>{o==="ready"&&this._editor?.viewModel?.activeWorkflow?.type!=="create-features"&&(this.progressStatus.emit(50),this._editorLoading=!0)});a&&this._editor.viewModel.addHandles(a);let r=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,o=>{o==="ready"&&this._editor?.viewModel.featureFormViewModel&&this._currentPage!=="editing"&&(this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))),setTimeout(()=>{this._setFloorLevel(this.floorLevel)},50),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit(!1))});r&&this._editor.viewModel.addHandles(r);let n=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="creating-features"&&this._editor?.viewModel.featureFormViewModel&&this._editor.viewModel.featureFormViewModel.state==="disabled"&&(this._mapViewContainer.value?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))});n&&this._editor.viewModel.addHandles(n),this._editor.on("sketch-create",async o=>{if(o.detail.state==="complete"&&this.reportingAreaLayer){let l=o.detail.graphic.geometry;await this.queryIntersectingFeatures(l)}});let d;this._editor.on("sketch-update",o=>{clearTimeout(d),d=window.setTimeout(async()=>{if(this.reportingAreaLayer){let l=o.detail.graphics[0].geometry;await this.queryIntersectingFeatures(l)}},50)})}}async queryIntersectingFeatures(e){let t=this.mapView&&await u(this.mapView,this.reportingAreaLayer);if(t){let i=t.createQuery();i.geometry=e,i.spatialRelationship="intersects";let s=await t.queryFeatureCount(i)===0;this._inValidGeomtryDrawn=s,this.drawComplete.emit(this._inValidGeomtryDrawn)}}editLocation(){this.progressStatus.emit(75),this.editingLocation.emit(),this._container?.classList.add("display-none"),this._mapViewContainer.value?.classList.replace("hide-map","show-map"),this._currentPage="editing"}async startCreate(){return await this.hideEditorsElements(),new Promise((e,t)=>{if(this._editor?.viewModel.featureTemplatesViewModel.items?.length){let i=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.addHandles(this._editor.viewModel.featureTemplatesViewModel.on("select",()=>{this.progressStatus.emit(75),setTimeout(()=>{this.hideEditorsElements().then(()=>{e({})},a=>t(a))},700)})),i.length===1&&this._editor.viewModel.featureTemplatesViewModel.select(i[0]);let s=i.length>1;this.hideEditorsElements().then(()=>{s&&e({})},a=>s&&t(a))}})}async createSearchWidget(){if(this._updatedMapView&&this.Search){let e={view:this._updatedMapView};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(e),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let t;this._search.viewModel.addHandles(this._search.on("search-complete",s=>{this._updatedMapView?.goTo(s.results[0].results[0].extent),this._selectedLayer?.geometryType==="point"&&(t=s.results[0].results[0]?.feature.geometry)}));let i=this.reactiveUtils?.watch(()=>this._search?.viewModel.state,s=>{s==="ready"&&setTimeout(()=>{if(this._editor?.viewModel.sketchViewModel?.createGraphic&&t)this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",t),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements();else if(this._editor?.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel.updateGraphics.length>0&&t){let a=this._editor?.viewModel.sketchViewModel?.updateGraphics.getItemAt(0);a&&(a.set("geometry",t),this._editor?.viewModel.sketchViewModel?.update(a),this.hideEditorsElements())}},100)});i&&this._search.viewModel.addHandles(i)}}_getSearchConfig(e,t){let i="includeDefaultSources",s=e.sources;return s&&s?.length>0?(e[i]=!1,s.forEach(a=>{if(a.hasOwnProperty("layer")){let r=a,n=r.layer?.id,d=n?t.map?.findLayerById(n):"",o=r?.layer?.url;d?r.layer=d:o&&this.FeatureLayer&&(r.layer=new this.FeatureLayer(o))}}),s?.forEach(a=>{if(a.hasOwnProperty("locator")){let r=a;if(r?.name==="ArcGIS World Geocoding Service"){let n=r.outFields||["Addr_type","Match_addr","StAddr","City"];r.outFields=n,r.singleLineFieldName="SingleLine"}r.url=r.url,delete r.url}})):e={...e,includeDefaultSources:!0},e}async _setFloorLevel(e){if(!e)return;let t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i){let s=t.fields.find(a=>a.name===i);if(s&&!t?.formTemplate)this._editor?.viewModel.featureFormViewModel&&(this._editor.viewModel.featureFormViewModel.setValue(s.name,e),s.editable=!1);else if(t.formTemplate&&this.formElements&&this.ExpressionInfo&&this.FieldElement){let a=new this.ExpressionInfo({expression:`'${e}'`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),r=new this.FieldElement({label:i,editableExpression:"false",fieldName:i,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:a.name});this._updatedMapView?.map.editableLayers.forEach(n=>{let d=this.formElements.orgElements,o=this.formElements.orgExpressionInfos,l=[...d];if(l.push(r),n.type==="feature"&&this.FormTemplate){let g=n,S=new this.FormTemplate({title:g?.formTemplate?.title,description:g?.formTemplate?.description,elements:l,expressionInfos:[a].concat(o)});n.formTemplate=S}})}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}async submitted(e){if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(t=>{if(t.error)throw t.error}))}catch(t){this.fail.emit(t);return}this.success.emit()}}async timeout(e){return new Promise(t=>setTimeout(t,e))}};v("create-feature",_);export{_ as CreateFeature};
|
package/dist/cdn/U2HFGKIV.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250529.1 */
|
4
|
-
import{a as y}from"./E6AZUM5D.js";import"./6VV6QBNS.js";import{a as w,b as f,d as v}from"./64GGJXW2.js";import"./CLTGVNIT.js";import"./E45HF3Y4.js";import{a as d,b as c}from"./Q5577CJV.js";import{a as L}from"./4KEBF4LC.js";import{D as g,E as p,F as n,I as u,c as b,d as i,g as l,o as r,q as _}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var I=b`@layer{/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/:host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom: 0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}.popover-list{overflow:auto;width:250px}}`,m=class extends g{constructor(){super(...arguments),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.isMobile=!1,this.showOnlyUpdatableLayers=!1,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=!1,this.showTablesDisabled=!1,this.showSingleLayerAsLabel=!1,this.type="select",this.showLayersListInPopover=!1,this.referenceElement="",this.force=!1,this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=!1,this.ids=[],this.selectedName="",this._translations=L({name:"map-layer-picker",blocking:!0}),this.defaultLayerHonored=!1,this._layerSelectElement=d(),this._layerComboboxElement=d(),this._skipEditCheck=!1,this._popover=d(),this.beforeLayerSelectionChange=r(),this.idsFound=r(),this.noLayersFound=r(),this.layerSelectionChange=r()}static{this.properties={appearance:1,defaultLayerId:1,display:1,enabledLayerIds:0,enabledTableIds:0,height:9,isMobile:5,mapView:0,showOnlyUpdatableLayers:5,placeholderIcon:1,selectedIds:0,scale:1,showTables:5,showTablesDisabled:5,showSingleLayerAsLabel:5,type:1,showLayersListInPopover:5,referenceElement:1,force:16,_hasMultipleLayers:16,_hasValidLayers:16,_isDropdownOpen:16,ids:16,selectedName:16,_translations:16}}static{this.styles=I}static{this.shadowRootOptions=_}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("type")&&(this._layerElement=this.type==="select"?this._layerSelectElement:this._layerComboboxElement)}async mapViewWatchHandler(){await this._setLayers(),this.ids?.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async setLayerById(e,t=!1){this._skipEditCheck=t,!t||t&&e!==this.selectedIds[0]?this._setSelectedLayer(e):t&&e===this.selectedIds[0]&&(this.force=!0,setTimeout(()=>{this.force=!1},10)),this._skipEditCheck=!1}async setLayerByIds(e,t=!1){this._skipEditCheck=t,this._layerSelectionChange(e),this._skipEditCheck=!1}async updateLayer(){await this._setSelectedLayer(this.ids[0])}async load(){await this._setLayers()}updated(){this._popover.value?.addEventListener("calcitePopoverOpen",()=>{this.el.querySelector("calcite-dropdown-item[selected]").setFocus()})}render(){let e="map-layer-picker",t=this.height&&this.height>0&&!this.showLayersListInPopover?{height:`${this.height.toString()}px`}:{};return t={...t,display:this.display},i`<div class="map-layer-picker-container" style=${n(t)}><div class="map-layer-picker" style=${n(t)}>${this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():this.type==="combobox"?this._getCombobox(e):this.type==="select"?this._getSelect(e):this.showLayersListInPopover?this._getMapLayerPopOver():this._getDropdown(e):this._getInvalidPlaceholder()}</div></div>`}loaded(){if(this.ids?.length>0||this.selectedIds?.length===1){let e=this.selectedIds.length===1?this.selectedIds[0]:this.ids[0];this.type==="select"?this._layerElement.value&&(this._layerElement.value.value=e):this.type==="dropdown"&&(this.selectedName=this._layerNameHash&&Object.keys(this._layerNameHash).indexOf(e)>-1?this._layerNameHash[e].name:this._tableNameHash&&Object.keys(this._tableNameHash).indexOf(e)>-1?this._tableNameHash[e].name:"")}}_getMapLayerPopOver(){let e=this.height&&this.height>0?{height:`${this.height.toString()}px`}:{};return i`<calcite-popover auto-close focus-trap-disabled .label=${this.referenceElement} placement=auto .referenceElement=${this.referenceElement} scale=s ${c(this._popover)}><div class=popover-list style=${n(e)}>${this._getMapLayerOptions()}</div></calcite-popover>`}_getInvalidPlaceholder(){return i`<div><calcite-notice class="height-100" icon=exclamation-mark-triangle id=no-valid-layers kind=danger open><div slot=message>${this._translations.noLayersFound}</div></calcite-notice><calcite-tooltip .label=${this._translations.enableEditUpdate} placement=bottom reference-element=no-valid-layers><span>${this._translations.enableEditUpdate}</span></calcite-tooltip></div>`}_getSingleLayerPlaceholder(){let e=this._getItemTypeIcon();return i`<div class="layer-picker-label-container cursor-default"><calcite-icon .icon=${e} scale=s></calcite-icon><calcite-label class="no-bottom-margin padding-start-1">${this.selectedName}</calcite-label></div>`}_getSelect(e){return i`<calcite-select id=${e??l} label @calciteSelectChange=${()=>this._layerSelectionChange()} .scale=${this.scale} ${c(this._layerElement)}>${this._getMapLayerOptions()}</calcite-select>`}_getCombobox(e){return i`<calcite-combobox clear-disabled id=${e??l} label @calciteComboboxChange=${()=>this._layerSelectionChange()} .placeholderIcon=${this.placeholderIcon} .scale=${this.scale} selection-mode=single ${c(this._layerElement)}>${this._getMapLayerOptions()}</calcite-combobox>`}_getDropdown(e){return i`<calcite-dropdown class="layer-picker-dropdown" @calciteDropdownBeforeClose=${()=>this._isDropdownOpen=!1} @calciteDropdownBeforeOpen=${()=>this._isDropdownOpen=!0}>${this.isMobile?this._getDropdownButton():this._getActionDropdownButton(e)}<calcite-dropdown-group selection-mode=single>${this._getMapLayerOptions()}</calcite-dropdown-group></calcite-dropdown>`}_getActionDropdownButton(e){return i`<calcite-action id=${e??l} slot=trigger text>${this._getDropdownButton()}</calcite-action>`}_getDropdownButton(){let e=this._getItemTypeIcon(),t=this.isMobile?"":"max-width-350",s=this.isMobile?"trigger":"",a=this._isDropdownOpen?"chevron-up":"chevron-down";return i`<calcite-button alignment=icon-end-space-between .appearance=${this.appearance} class=${p(t)} .iconEnd=${a} .iconStart=${e} kind=neutral slot=${s??l} width=full><div>${this.selectedName}</div></calcite-button>`}_getItemTypeIcon(){let e="layers";if(this.selectedIds.length>0&&this._layerNameHash){let t=this.selectedIds[0];e=Object.keys(this._layerNameHash).indexOf(t)>-1?"layers":"table"}return e}_getMapLayerOptions(){return this.ids.reduce((e,t)=>(this._validLayer(t)?e.push(this._getItem(t,"layer")):this._validTable(t)&&e.push(this._getItem(t,"table")),e),[])}_getItem(e,t){let s=t==="layer"&&this._layerNameHash?this._layerNameHash[e]:this._tableNameHash?this._tableNameHash[e]:void 0,a=this.showOnlyUpdatableLayers?s&&!s.supportsUpdate:!1,h=s?.name,o=this.selectedIds.indexOf(e)>-1;return this.type==="combobox"?i`<calcite-combobox-item .disabled=${a} .selected=${o} .textLabel=${h} .value=${e}></calcite-combobox-item>`:this.type==="select"?i`<calcite-option .disabled=${a} .label=${h} .selected=${o} .value=${e}></calcite-option>`:this.force&&o||!this.force?i`<calcite-dropdown-group class=${p(a?"disabled":"")} id=${h??l} .selectionMode=${a?"none":"single"}><calcite-dropdown-item .disabled=${!!(t==="table"&&this.showTablesDisabled)} .iconStart=${t} @click=${a?void 0:()=>void this._setSelectedLayer(e)} .selected=${o}>${h}</calcite-dropdown-item></calcite-dropdown-group>`:null}async _setSelectedLayer(e){if(e!==this.selectedIds[0]){let t;if(this.defaultLayerId&&!this.defaultLayerHonored&&(t=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=t!==void 0,e=this.defaultLayerHonored?this.defaultLayerId:e),t=t||this._getLayerFromHash(e),!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentId:this.selectedIds[0],newId:e,ref:this.el}).defaultPrevented)return;this.selectedName=t?.name,this.selectedIds=[e],this._popover.value&&(this._popover.value.open=!1),this.layerSelectionChange.emit(this.selectedIds)}else{let t=this.mapView&&await v(this.mapView,this.selectedIds[0]);this.selectedName=t?.title||""}}_getLayerFromHash(e){return this._layerNameHash&&Object.keys(this._layerNameHash).indexOf(e)>-1?this._layerNameHash[e]:this._tableNameHash&&Object.keys(this._tableNameHash).indexOf(e)>-1?this._tableNameHash[e]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();let e=[];this._layerNameHash&&(e=this.showOnlyUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash));let t=[];this._tableNameHash&&(t=this.showTables?this.showOnlyUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[]),this.ids=[...e.reverse().filter(s=>this.enabledLayerIds?.length>0?this.enabledLayerIds.reverse().indexOf(s)>-1:!0),...t.reverse().filter(s=>this.enabledTableIds?.length>0?this.enabledTableIds.reverse().indexOf(s)>-1:!0)],this.idsFound.emit({layerIds:e,tableIds:t})}}_getEditableIds(e){return Object.keys(e).reduce((t,s)=>(e[s].supportsUpdate&&t.push(s),t),[])}async _initLayerTableHash(){this._layerNameHash=this.mapView&&await w(this.mapView,this.showOnlyUpdatableLayers),this._tableNameHash=this.showTables&&this.mapView?await f(this.mapView,this.showOnlyUpdatableLayers):{}}_validLayer(e){let t=this._layerNameHash&&this._layerNameHash[e]?.name;return t!==void 0&&Object.keys(y.managedLayers).indexOf(t)<0&&(this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(e)>-1:!0)}_validTable(e){let t=this._tableNameHash&&this._tableNameHash[e]?.name,s=t&&this.showTables;return s?y.managedTables.indexOf(t)<0&&(this.enabledTableIds?.length>0?this.enabledTableIds.indexOf(e)>-1:!0):s!==void 0}_layerSelectionChange(e){if(this._layerElement.value){let t=e||(Array.isArray(this._layerElement.value.value)?this._layerElement.value.value:[this._layerElement.value.value]);if(JSON.stringify(t)!==JSON.stringify([""])){if(!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentIds:this.selectedIds,newIds:t,ref:this.el}).defaultPrevented)return;this.selectedIds=t,this.layerSelectionChange.emit(this.selectedIds)}}}};u("map-layer-picker",m);export{m as MapLayerPicker};
|
package/dist/cdn/VJLQ32GX.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250529.1 */
|
4
|
-
import{a,b}from"./EGBONIMT.js";import"./4YOYUXOM.js";import"./AO367CCB.js";import"./ITFUMWIC.js";import"./NB2KN2PS.js";import"./QUYSAWNZ.js";import"./EUCKEPMP.js";export{a as ProjectEditorTypes,b as ProjectSchema};
|
package/dist/cdn/WRJ2IISI.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250529.1 */
|
4
|
-
import{a as S}from"./NTIAFN5V.js";import"./P2ZWJVGZ.js";import"./BFH5SRQZ.js";import"./5UMSFFPF.js";import"./WIJOUEJP.js";import"./RSHSVMPO.js";import"./TS32X4ID.js";import"./4L3V2YYV.js";import"./6QYC63ET.js";import{c as d,d as u,g as v}from"./64GGJXW2.js";import"./CLTGVNIT.js";import"./E45HF3Y4.js";import{a as p,b as c}from"./Q5577CJV.js";import{b}from"./2M3XDJVT.js";import{a as F}from"./4KEBF4LC.js";import{D as w,E as x,F as I,I as L,c as f,d as l,g as m,o as y,q as _}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var $=f`@layer{/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/: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-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3)}}`,g=class extends w{constructor(){super(...arguments),this.selectedLayerId="",this.noFeaturesFoundMsg="",this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!0,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=p(),this._calciteList=p(),this._validFieldTypes=["small-integer","integer","big-integer","single","long"],this._abbreviatedLikeCount="",this._likeFieldAvailable=!1,this._searchExpression="",this.featureSelect=y()}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=$}static{this.shadowRootOptions=_}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 u(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 load(){await this.initModules(),this._isLoading=!!this.showInitialLoading,this._popupUtils=new S,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await u(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 initModules(){let[e,t,i,s]=await b(["esri/Color","esri/config","esri/symbols/support/symbolUtils","esri/core/reactiveUtils"]);this.Color=e,this.esriConfig=t,this.symbolUtils=i,this.reactiveUtils=s}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=this.reactiveUtils?.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(s=>{t.push(...s.fields.split(","))});let i=[];t.forEach(s=>{let a=this._selectedLayer?.getField(s.trim());i.push(a?.alias||"")}),this._searchPlaceHolder=this._translations.searchPlaceholder?this._translations.searchPlaceholder.replace("{{field_names}}",i.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 i=`objectId in(${e})`;this._selectedLayer.definitionExpression=this._searchExpression&&t&&t?.indexOf(this._searchExpression)>-1?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}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.clearHighlights(),this.highlightOnMap){let i=Number(e.target.value),s=this.mapView&&await d(this.mapView,this.selectedLayerId);this._highlightHandle=s&&this.mapView?await v([i],s,this.mapView,!0):void 0}await this.emitSelectedFeature(t)}async emitSelectedFeature(e){let t=e.layer,i=t.createQuery();i.returnGeometry=!0;let s=Number(e.getObjectId());if(!Number.isNaN(s)&&i){i.objectIds=[s];let a=await t.queryFeatures(i);this.featureSelect.emit(a.features[0])}}async onFeatureHover(e){if(this.clearHighlights(),this.highlightOnHover){let t=Number(e.getObjectId()),i=this.mapView&&await d(this.mapView,this.selectedLayerId);i&&(this._highlights&&(i.highlights=JSON.parse(this._highlights)),this.Color&&(i.highlightOptions={color:new this.Color("#FFFF00")}),this._highlights=JSON.stringify(i.highlights),this._highlightHandle=i.highlight([t]))}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(e){let t=this._selectedLayer;if(t){let i=this.sortingInfo?.field?this.sortingInfo.field:t.objectIdField,s=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};i&&s&&(r.orderByFields=[i.toString()+" "+s]);let n=await t.queryFeatures(r);return await this.createFeatureItem(n)}else return}async createFeatureItem(e){let t=e?.features,i=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,s=t.map(async a=>{let r=this.mapView?.map&&await this._popupUtils?.getPopupTitle(a,this.mapView.map),n,o;return this.showUserImageInList&&this._selectedLayer?.editFieldsInfo?.creatorField&&(n=await this.getUserInformation(a)),this.showFeatureSymbol&&(o=await this.getFeatureSymbol(a)),i&&this.getAbbreviatedLikeCount(a),r&&this.getFeatureItem(a,r,o,n)});return Promise.all(s)}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 i=this.reportingOptions&&this.reportingOptions[t.id].likeField;t.fields.forEach(s=>{if(this._validFieldTypes.indexOf(s.type)>-1&&s.name===i&&this.reportingOptions&&this.reportingOptions[t.id].like){this._likeFieldAvailable=!0;let a=e.attributes[i]||0;a>999&&this._translations.millions_value&&this._translations.thousands_value&&(a=a>999999?this._translations.millions_value.replace("{{abbreviated_value}}",Math.floor(a/1e6).toString()):this._translations.thousands_value.replace("{{abbreviated_value}}",Math.floor(a/1e3).toString())),this._abbreviatedLikeCount=a}})}}getFeatureItem(e,t,i,s){if(this._selectedLayer?.id&&this._calciteList.value&&this.reportingOptions){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",o=this.showUserImageInList?115:65,E=this._calciteList.value.offsetWidth-o;return l`<calcite-list-item @mouseleave=${()=>{this.clearHighlights()}} @mouseover=${()=>{this.onFeatureHover(e)}} @calciteListItemSelect=${h=>{this.featureClicked(h,e)}} .value=${a}>${this.showUserImageInList&&l`<calcite-avatar class=profile-img .fullName=${s?.fullName} scale=m slot=content-start .thumbnail=${s?.userProfileUrl} .userId=${s?.id} .username=${s?.fullName?s.username:void 0}></calcite-avatar>`||""}${this.showFeatureSymbol&&i&&l`<div class=feature-symbol slot=content-start ${c(h=>h&&h.replaceChildren(i))}></div>`||""}<div class=${`popup-title ${n}`} slot=content-start style=${I({maxWidth:this.textSize==="large"?"none":`${E}px`})}>${t}</div>${this._likeFieldAvailable&&l`<div class=like-container id=${a.concat("like")??m} 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 i=`${this.esriConfig?.portalUrl}/sharing/rest/community/users/${e.attributes[t]}?f=json&returnUserLicensedItems=true`,s=this.mapView?.map?.portalItem.portal?.credential?.token;s&&(i+=`&token=${s}`);let a=await(await fetch(i)).json(),r=a?.username??e.attributes[t],n=`${this.esriConfig?.portalUrl}/sharing/rest/community/users/${r}/info/blob.png`;return a?.access&&s&&(n+=`?token=${s}`),a.userProfileUrl=n,a}else return}async getFeatureSymbol(e){let t=document.createElement("div");return await this.symbolUtils?.getDisplayedSymbol(e).then(async i=>{if(i&&await this.symbolUtils?.renderPreviewHTML(i,{node:t}),t.children?.length){let s=t.children[0];if(s){let a=Number(s.getAttribute("height")),r=Number(s.getAttribute("width"));r>30&&s.setAttribute("width","30"),a>30&&s.setAttribute("height","30"),s.setAttribute("viewBox",`0 0 ${r} ${a}`)}}}),t}};L("feature-list",g);export{g as FeatureList};
|
package/dist/cdn/X4XTLJM6.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250529.1 */
|
4
|
-
import{a}from"./5JSGC5AY.js";import"./AQLKL2NA.js";import"./5OKFWPQF.js";import"./LGXVU5RZ.js";import"./NZ6MHZKX.js";import"./4L3V2YYV.js";import"./GWPISXDC.js";import"./EUCKEPMP.js";export{a as buildUiSchema};
|
package/dist/cdn/X6K34YQK.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250529.1 */
|
4
|
-
import{a,b}from"./RNNWBWHE.js";import"./QUYSAWNZ.js";import"./EUCKEPMP.js";export{a as GroupEditorTypes,b as GroupSchema};
|
package/dist/cdn/XLPJWPRX.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250529.1 */
|
4
|
-
import{a,b}from"./3OJVS3LV.js";import"./TWKAESRO.js";import"./3TNNRRLR.js";import"./ATBQXDJR.js";import"./QUYSAWNZ.js";import"./EUCKEPMP.js";export{a as EventEditorTypes,b as buildSchema};
|