@esri/solutions-components 1.0.0-next.20250623 → 1.0.1
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/{EUVI36TI.js → 2CC32CPA.js} +1 -1
- package/dist/cdn/{KHGWKXTO.js → 2F7ZIXE4.js} +2 -2
- package/dist/cdn/{MY7QR23T.js → 2JA5VZ4Q.js} +2 -2
- package/dist/cdn/{GCWS62KV.js → 2LWO2DTN.js} +2 -2
- package/dist/cdn/{M2GNMXHV.js → 2LZJQN7R.js} +1 -1
- package/dist/cdn/{QBO4BYBV.js → 2UPCSZ4S.js} +2 -2
- package/dist/cdn/{AGNYO5NN.js → 2VSWXPDT.js} +2 -2
- package/dist/cdn/2W44KQT2.js +4 -0
- package/dist/cdn/{JQONQSK4.js → 2ZTS3WNB.js} +2 -2
- package/dist/cdn/{GH2UPKCI.js → 36PJ5WL5.js} +2 -2
- package/dist/cdn/{MAA4IBX4.js → 3ADKTMOT.js} +2 -2
- package/dist/cdn/{F7ZC7T4X.js → 3D2A2GR6.js} +2 -2
- package/dist/cdn/{O7T5U6KF.js → 3O5P6PXO.js} +2 -2
- package/dist/cdn/{PUI3WTP2.js → 3RAYGCP4.js} +2 -2
- package/dist/cdn/{A4UEGUOI.js → 3RJYN2DN.js} +2 -2
- package/dist/cdn/{HY7WBH4Y.js → 3SDE2CZG.js} +2 -2
- package/dist/cdn/3V6F3XIS.js +18 -0
- package/dist/cdn/{44KDHP5P.js → 3WPFW6HO.js} +2 -2
- package/dist/cdn/{VGFEXHW7.js → 444IDO3Z.js} +2 -2
- package/dist/cdn/{T6QTFXMX.js → 467UGXS6.js} +2 -2
- package/dist/cdn/{7CV6YJ4X.js → 4C2LIMJZ.js} +2 -2
- package/dist/cdn/{VNAPQVLM.js → 4EOWY4WA.js} +2 -2
- package/dist/cdn/{SQ5ORY7B.js → 4GAUFXRB.js} +1 -1
- package/dist/cdn/{PE5HS46T.js → 4LAC6IBS.js} +2 -2
- package/dist/cdn/{OAOS4ZIR.js → 4MCP26Y4.js} +2 -2
- package/dist/cdn/{72DQ3ETR.js → 4QTSIIRU.js} +2 -2
- package/dist/cdn/{MBTMEXGV.js → 4SSQ22MK.js} +2 -2
- package/dist/cdn/{LXLKGGXS.js → 4U4WVITW.js} +2 -2
- package/dist/cdn/{3EDJOQER.js → 4U4XW77U.js} +2 -2
- package/dist/cdn/{QUN2EFBL.js → 54HVDRDS.js} +2 -2
- package/dist/cdn/{CT2DS5C5.js → 5B34RYXT.js} +2 -2
- package/dist/cdn/{7S2SQULN.js → 5BFFCPDO.js} +2 -2
- package/dist/cdn/{TEXE6RKM.js → 5C4MSN6W.js} +2 -2
- package/dist/cdn/{G2CRI3HI.js → 5CRWOCNH.js} +2 -2
- package/dist/cdn/{4F7ELK6O.js → 5HLL7D2P.js} +2 -2
- package/dist/cdn/{XBIIOOSU.js → 5IBDEJNP.js} +2 -2
- package/dist/cdn/{ZEI7MQ2T.js → 5IBY2FQU.js} +1 -1
- package/dist/cdn/{667TZ6GF.js → 5IH2NEYC.js} +2 -2
- package/dist/cdn/5KQ3IDBU.js +4 -0
- package/dist/cdn/{UER5MEYT.js → 5NTNQARK.js} +2 -2
- package/dist/cdn/{QQ5OOCCM.js → 5PZ5I3C4.js} +2 -2
- package/dist/cdn/{BVIK4NG7.js → 5VKFD2YO.js} +2 -2
- package/dist/cdn/{IIAJ3FXH.js → 5WH7QYAO.js} +2 -2
- package/dist/cdn/6CIFKKHA.js +18 -0
- package/dist/cdn/{VOIAQN2E.js → 6CL5S7CF.js} +2 -2
- package/dist/cdn/{GUYA7OSD.js → 6EUBWF2M.js} +2 -2
- package/dist/cdn/{ZQKD6CGQ.js → 6IKP3GLY.js} +2 -2
- package/dist/cdn/{WKDIYJHS.js → 6INDIN6I.js} +1 -1
- package/dist/cdn/{FYMYLZKQ.js → 6JJTBX53.js} +2 -2
- package/dist/cdn/{CDLBGK6Z.js → 6OB4W3O5.js} +2 -2
- package/dist/cdn/{ULVHPBXX.js → 6WQZRPWK.js} +2 -2
- package/dist/cdn/{TKLKJ4FU.js → 6YGUHVIL.js} +2 -2
- package/dist/cdn/{QFMY752G.js → 6ZFBCODW.js} +2 -2
- package/dist/cdn/{BPLCFWCS.js → 727TY5WA.js} +1 -1
- package/dist/cdn/{NQU46G4H.js → 74KF43Q7.js} +2 -2
- package/dist/cdn/{ZYAIM3E6.js → 77NGJJRC.js} +2 -2
- package/dist/cdn/{SMD6DHSZ.js → 7ETOIECJ.js} +2 -2
- package/dist/cdn/{47ULGPYB.js → 7LRZQ562.js} +2 -2
- package/dist/cdn/{LOI6YJAA.js → 7SCM56QW.js} +2 -2
- package/dist/cdn/{7FW2E443.js → 7T5OVZJR.js} +1 -1
- package/dist/cdn/{HRKK2RN7.js → 7WJWSOJH.js} +2 -2
- package/dist/cdn/{WJJEMN37.js → 7XKZ3CKS.js} +1 -1
- package/dist/cdn/{NXGL56Q4.js → 7XNXAJF3.js} +2 -2
- package/dist/cdn/{XJYYAXC5.js → AAW4M5UY.js} +1 -1
- package/dist/cdn/{JF2H7IOR.js → ACTLIYVY.js} +1 -1
- package/dist/cdn/AILRWBPO.js +4 -0
- package/dist/cdn/{O74B4HIC.js → AJ4YAPGC.js} +2 -2
- package/dist/cdn/AOPIUSEK.js +4 -0
- package/dist/cdn/{QERY67GU.js → ARAFKGS2.js} +2 -2
- package/dist/cdn/{NVGAKN3D.js → AVAUHONF.js} +2 -2
- package/dist/cdn/{ZFWKV2U2.js → AX2IRDRE.js} +2 -2
- package/dist/cdn/{BWFAFVTV.js → B3J5GWRK.js} +1 -1
- package/dist/cdn/{VLXKSJY5.js → B5QR4WI6.js} +2 -2
- package/dist/cdn/{M7AHR77N.js → BAPJICUA.js} +2 -2
- package/dist/cdn/{L33QRYZS.js → BDHYDLFO.js} +2 -2
- package/dist/cdn/BPEPRRF3.js +4 -0
- package/dist/cdn/{LB6HR25Y.js → BQ6W6B2V.js} +1 -1
- package/dist/cdn/{LWB4R2IK.js → BV7WAP3N.js} +2 -2
- package/dist/cdn/C2ERTRIZ.js +4 -0
- package/dist/cdn/{VSXMAOPI.js → C4ZYMWDM.js} +2 -2
- package/dist/cdn/{GBODKP3A.js → CC3G7K6T.js} +2 -2
- package/dist/cdn/{GHUCQMWM.js → CVYZLOIA.js} +2 -2
- package/dist/cdn/{BUZTO5KI.js → D5VM7347.js} +2 -2
- package/dist/cdn/D7HY5OWZ.js +18 -0
- package/dist/cdn/{FEUPLOPU.js → DGUC2FBD.js} +2 -2
- package/dist/cdn/DMP3KEG5.js +4 -0
- package/dist/cdn/{4BY4CJM7.js → DMSA5MQS.js} +2 -2
- package/dist/cdn/{OTP76AFM.js → DWHGFYZ3.js} +1 -1
- package/dist/cdn/{ZYEKV2AH.js → E33KGT3U.js} +1 -1
- package/dist/cdn/{BFHZHYV7.js → E3AUWVZ5.js} +2 -2
- package/dist/cdn/{ZLX6GEY5.js → E4FOTYSK.js} +2 -2
- package/dist/cdn/E5WY7EJU.js +18 -0
- package/dist/cdn/{G7KQYN3M.js → EAZUJFAP.js} +2 -2
- package/dist/cdn/ECID3BOS.js +18 -0
- package/dist/cdn/{W3M4XLN4.js → EER4N6Z4.js} +2 -2
- package/dist/cdn/ERVPNOOE.js +4 -0
- package/dist/cdn/{5COPPB4N.js → EVLPNGVY.js} +2 -2
- package/dist/cdn/{E42BT2UT.js → EXGARZ53.js} +2 -2
- package/dist/cdn/{LN76EWLU.js → EXNI3E3V.js} +1 -1
- package/dist/cdn/{OOBVWWU5.js → EZWQ3FN6.js} +2 -2
- package/dist/cdn/{QCIMV4RH.js → F66BID67.js} +2 -2
- package/dist/cdn/{LIPG5L6R.js → FB42MKVI.js} +2 -2
- package/dist/cdn/{CFTPKEEX.js → FBCRLSBX.js} +2 -2
- package/dist/cdn/{RK7SEZWK.js → FBPGHBBN.js} +1 -1
- package/dist/cdn/{7YPMNAQW.js → FGUFX7HJ.js} +1 -1
- package/dist/cdn/{D5ZMKHVZ.js → FJJXJF2V.js} +2 -2
- package/dist/cdn/{EZZLMB4X.js → FNKZV5FF.js} +2 -2
- package/dist/cdn/{M6DEGK3A.js → FNWUB6GJ.js} +2 -2
- package/dist/cdn/{N4UOPV7Y.js → FPCDPUTH.js} +2 -2
- package/dist/cdn/{IIFZUXCW.js → FSLY3Q32.js} +2 -2
- package/dist/cdn/{MIJF4IAK.js → FUNSSHRI.js} +2 -2
- package/dist/cdn/{FRZJWFO2.js → G4UGKO7I.js} +2 -2
- package/dist/cdn/{W5AS4BP3.js → GERXYYJ5.js} +2 -2
- package/dist/cdn/GHJ65L2F.js +4 -0
- package/dist/cdn/GLEKE5MB.js +4 -0
- package/dist/cdn/{A7ODGNJ5.js → GLGJ4TDS.js} +2 -2
- package/dist/cdn/{DKLZGDVT.js → GMHTFC5D.js} +2 -2
- package/dist/cdn/{FFQJU2V5.js → GPDF625C.js} +1 -1
- package/dist/cdn/{QCGK7DPH.js → GPFSHKEQ.js} +2 -2
- package/dist/cdn/{67625TTO.js → GS5KTDPD.js} +1 -1
- package/dist/cdn/{FL5HOIO2.js → GXY74GGJ.js} +2 -2
- package/dist/cdn/{UGHVL53A.js → H26UVKPN.js} +1 -1
- package/dist/cdn/{VQMSN52L.js → H5Q2TVQ7.js} +2 -2
- package/dist/cdn/{557QFLCB.js → H7LKWL6W.js} +2 -2
- package/dist/cdn/{X3ACNAG7.js → HACP2EXZ.js} +1 -1
- package/dist/cdn/{JGF5QRPV.js → HEDVVSMN.js} +2 -2
- package/dist/cdn/{2P7REDDK.js → HG7I73HP.js} +2 -2
- package/dist/cdn/{T6PBNCP5.js → HGY2TGZZ.js} +2 -2
- package/dist/cdn/{ZRTQB2FT.js → HSZ7M7T7.js} +2 -2
- package/dist/cdn/{LNDLJOIE.js → HU3NU6NO.js} +2 -2
- package/dist/cdn/{3BBXMHOQ.js → HUFTJBPT.js} +2 -2
- package/dist/cdn/{CYR3T5WK.js → HZ247CLQ.js} +2 -2
- package/dist/cdn/{GHGKK3CH.js → IBVPZZZL.js} +1 -1
- package/dist/cdn/{BL3LAHSH.js → IGPECNF7.js} +2 -2
- package/dist/cdn/{C4JHUMJZ.js → IRMQ5QUZ.js} +2 -2
- package/dist/cdn/{MHLISDNL.js → IW7MKKD5.js} +2 -2
- package/dist/cdn/{3BLJFQNC.js → IYHBIGDU.js} +2 -2
- package/dist/cdn/{QBSZATXE.js → J2RTL6TV.js} +1 -1
- package/dist/cdn/{SPHX5TD7.js → JKLJ2PP4.js} +2 -2
- package/dist/cdn/{7HB3CYHC.js → JLYYEGO6.js} +1 -1
- package/dist/cdn/{XHMBWMDB.js → JNK7VRHJ.js} +2 -2
- package/dist/cdn/{3RCSEW37.js → JQWOQPMK.js} +2 -2
- package/dist/cdn/{UTCEQY33.js → JRSOJV5U.js} +2 -2
- package/dist/cdn/{PJHSDBJI.js → JVIJAD4Z.js} +1 -1
- package/dist/cdn/{DOFM5HD6.js → JWQQXCKE.js} +2 -2
- package/dist/cdn/{XHHI3YJD.js → JXB7JVDB.js} +2 -2
- package/dist/cdn/{QUKDKDTB.js → JXDP3DWB.js} +2 -2
- package/dist/cdn/{EIY6FLRW.js → K6SIK44G.js} +2 -2
- package/dist/cdn/{RSKDVNF2.js → KAJVJKOH.js} +2 -2
- package/dist/cdn/{WTGKQEWC.js → KB37GULW.js} +1 -1
- package/dist/cdn/{SHDFP62J.js → KFIZVENE.js} +2 -2
- package/dist/cdn/{ZDNSSFT7.js → KKYPHXOP.js} +2 -2
- package/dist/cdn/{TBXBQGOD.js → KM7TRF5W.js} +2 -2
- package/dist/cdn/{U2DAHKOK.js → KMSR2MGE.js} +1 -1
- package/dist/cdn/{USL4QTWT.js → KPQBFQZB.js} +2 -2
- package/dist/cdn/{EGTACDCQ.js → KRCWP4LH.js} +2 -2
- package/dist/cdn/{QPGYCAHU.js → KUTMCNDR.js} +2 -2
- package/dist/cdn/{QPGZHVHD.js → LDGERXGM.js} +2 -2
- package/dist/cdn/{A6E5LNUS.js → LTQVQQV3.js} +2 -2
- package/dist/cdn/{QUX4IIVB.js → LVF5XFSJ.js} +2 -2
- package/dist/cdn/{OZVXS3W4.js → LWMS3PYA.js} +2 -2
- package/dist/cdn/{L5J5RMW3.js → M2M3Q6IH.js} +2 -2
- package/dist/cdn/{YRAUHXAH.js → M5BRHZXV.js} +2 -2
- package/dist/cdn/{OLNPSFNP.js → MCEAO75V.js} +1 -1
- package/dist/cdn/{RZLCYYF7.js → MF7K3QIL.js} +2 -2
- package/dist/cdn/MIQF66D6.js +4 -0
- package/dist/cdn/{B3BHXIAJ.js → ML4GJWGS.js} +2 -2
- package/dist/cdn/{AZT34SS5.js → MLARWD73.js} +2 -2
- package/dist/cdn/{PGCRMSZW.js → MLOQ5K45.js} +2 -2
- package/dist/cdn/{ZLLHG64J.js → MOKLXZ34.js} +2 -2
- package/dist/cdn/{HN7AVN23.js → MPOB2AAE.js} +2 -2
- package/dist/cdn/{WHVORWJN.js → MWWVKDRQ.js} +2 -2
- package/dist/cdn/N4VYHF37.js +18 -0
- package/dist/cdn/{DKVEQBWX.js → NCR7SCD4.js} +2 -2
- package/dist/cdn/{OUC7Y2MM.js → NDLXIAZ2.js} +2 -2
- package/dist/cdn/NFNJC6DC.js +4 -0
- package/dist/cdn/{3ZK2KRQW.js → NJX24G7O.js} +2 -2
- package/dist/cdn/{CK7OLQUJ.js → NMCIL4AU.js} +2 -2
- package/dist/cdn/{P25FGB5B.js → NNTKYQHM.js} +1 -1
- package/dist/cdn/{XRXVJGDZ.js → NOQQVVJO.js} +2 -2
- package/dist/cdn/{UNT5CJRN.js → NUCELJUA.js} +2 -2
- package/dist/cdn/{KWUXJZ4U.js → NXNAWCBW.js} +2 -2
- package/dist/cdn/{QS3LWY6A.js → O24JVO6E.js} +2 -2
- package/dist/cdn/{WFC6QJH2.js → O52M27Z5.js} +2 -2
- package/dist/cdn/{7SP3JV67.js → O5NUSUPU.js} +1 -1
- package/dist/cdn/{CXGZKBC3.js → OBZAUMYX.js} +2 -2
- package/dist/cdn/{7MNDBX3N.js → OJLPY774.js} +2 -2
- package/dist/cdn/{IONDFFQ2.js → OK6QGXX6.js} +2 -2
- package/dist/cdn/{SQOYIC3S.js → OOAOVEB5.js} +2 -2
- package/dist/cdn/{PQQOH6C6.js → OOTUQXHB.js} +2 -2
- package/dist/cdn/{ABFFIPZI.js → OP7BMHEO.js} +2 -2
- package/dist/cdn/OPZKDVLB.js +18 -0
- package/dist/cdn/{YEJ2LXND.js → OYP7AQ6G.js} +2 -2
- package/dist/cdn/{WPPZ22VY.js → PCVCGUBO.js} +2 -2
- package/dist/cdn/{NOC7BIF2.js → PFYARW7S.js} +2 -2
- package/dist/cdn/{U6YNCU7Q.js → PGC6RJRM.js} +2 -2
- package/dist/cdn/{22P43VO7.js → PLMRWY6C.js} +2 -2
- package/dist/cdn/{R7RMLDFT.js → PMFBRSOS.js} +2 -2
- package/dist/cdn/{6BMDZLSL.js → PTHS5BTD.js} +1 -1
- package/dist/cdn/{BELTJBBP.js → Q4BR636Z.js} +2 -2
- package/dist/cdn/{3TPRN77W.js → QBMJV5OP.js} +2 -2
- package/dist/cdn/{NLPMANRC.js → QCHE4DVW.js} +2 -2
- package/dist/cdn/{MSYQ3DTT.js → QGYS53RR.js} +4 -4
- package/dist/cdn/{MOXPIXHY.js → QLLSLSBN.js} +1 -1
- package/dist/cdn/{US3XFPGX.js → QLU4XVVT.js} +2 -2
- package/dist/cdn/{QMD4QM54.js → QMSEY6QZ.js} +2 -2
- package/dist/cdn/{NHHMUN4R.js → QRWG2TYR.js} +2 -2
- package/dist/cdn/{QW57LRAI.js → QSIK5PN7.js} +2 -2
- package/dist/cdn/{7HNOOAJF.js → QU7J46DX.js} +2 -2
- package/dist/cdn/{Y3U7BM2C.js → R6EOKADJ.js} +2 -2
- package/dist/cdn/{PPO7R7XD.js → RD7ZS2W6.js} +2 -2
- package/dist/cdn/{K3GQOW75.js → RJWYLFLD.js} +2 -2
- package/dist/cdn/{F75K7J4Q.js → RK2B65CQ.js} +2 -2
- package/dist/cdn/{GECB7XB3.js → RKBLAY36.js} +2 -2
- package/dist/cdn/{SNIWPT26.js → RKMDSDH2.js} +2 -2
- package/dist/cdn/{E4LK2YXE.js → S32ETE5A.js} +2 -2
- package/dist/cdn/{2QBIXWDP.js → SEYKRRTC.js} +2 -2
- package/dist/cdn/{CLY2LQJ7.js → SJEANN4A.js} +2 -2
- package/dist/cdn/{FRMAQPZS.js → SONLDZKZ.js} +2 -2
- package/dist/cdn/{VS53IXEC.js → SSBXWLZH.js} +2 -2
- package/dist/cdn/{UTN75OQB.js → T2XCKYU7.js} +2 -2
- package/dist/cdn/{VPEO2Q4J.js → TAV3B2GU.js} +1 -1
- package/dist/cdn/{NTN55JWJ.js → TBO2D36S.js} +1 -1
- package/dist/cdn/{EME2LY4O.js → TC5DHEWZ.js} +2 -2
- package/dist/cdn/{4NX2JZZ6.js → TIZVAXWN.js} +2 -2
- package/dist/cdn/{C2CSN6FZ.js → TKLPH6MB.js} +1 -1
- package/dist/cdn/TNYU5475.js +4 -0
- package/dist/cdn/{RSLSNASB.js → TOETAVWD.js} +2 -2
- package/dist/cdn/{CVZ4YBRE.js → TP5XDVEG.js} +2 -2
- package/dist/cdn/{DB6GDFU3.js → TTX7PTAO.js} +2 -2
- package/dist/cdn/{3GCOFEWA.js → TWNZJBQA.js} +2 -2
- package/dist/cdn/{FHBRZBBQ.js → TZQH4GMU.js} +2 -2
- package/dist/cdn/{T3BNNVGE.js → UOD4T3ON.js} +1 -1
- package/dist/cdn/{R3FACCWV.js → UROIIN7O.js} +2 -2
- package/dist/cdn/{BQ5YXWHO.js → USLJNUGC.js} +2 -2
- package/dist/cdn/{WHR74CMQ.js → UTLWN6N7.js} +2 -2
- package/dist/cdn/{RFCPNJLD.js → UUHKWZ2Z.js} +2 -2
- package/dist/cdn/{6I6V4XPD.js → UUUTNXB4.js} +1 -1
- package/dist/cdn/{CCG6HDX3.js → UY5FQRLE.js} +3 -3
- package/dist/cdn/{MTXAIDLY.js → V55ZE6QF.js} +2 -2
- package/dist/cdn/{5A3QS7CA.js → VAVI46B5.js} +2 -2
- package/dist/cdn/{Q57AGAVB.js → VGUHMA6Y.js} +2 -2
- package/dist/cdn/{LRJRAHXF.js → VQHGM66B.js} +2 -2
- package/dist/cdn/{2U567VGU.js → VRBUE2RB.js} +2 -2
- package/dist/cdn/{7B2AZ7R2.js → VS4B5DD2.js} +2 -2
- package/dist/cdn/{24UWX6TP.js → VTZILRDE.js} +2 -2
- package/dist/cdn/{YEZQBSDN.js → VU5B3BJJ.js} +2 -2
- package/dist/cdn/{5OMSDGWG.js → VWO7O6IS.js} +2 -2
- package/dist/cdn/VYNJ3IAK.js +4 -0
- package/dist/cdn/{MVS6LSDW.js → VZFDFVGG.js} +2 -2
- package/dist/cdn/{F3W4JSQE.js → VZFXG3TX.js} +2 -2
- package/dist/cdn/{B23CHB5L.js → W2I3RJRK.js} +2 -2
- package/dist/cdn/{6PPIHU64.js → W377GATJ.js} +2 -2
- package/dist/cdn/{6YCECILW.js → W4D3Q2KE.js} +2 -2
- package/dist/cdn/{J2JICNEQ.js → WDUYYHOZ.js} +2 -2
- package/dist/cdn/{WP6TBFL4.js → WEWB3BRG.js} +1 -1
- package/dist/cdn/{VKMEAGVS.js → WLNWGHXO.js} +2 -2
- package/dist/cdn/{E7TRIWDT.js → WMHD7E5R.js} +2 -2
- package/dist/cdn/{XBPN363J.js → WMYYW4X6.js} +2 -2
- package/dist/cdn/{N6445PSV.js → WOD4EWNY.js} +2 -2
- package/dist/cdn/{E35CJ7XJ.js → WQN5K2ZY.js} +2 -2
- package/dist/cdn/WSSBOJ5N.js +18 -0
- package/dist/cdn/{N5SRAD2M.js → WW7D6SSQ.js} +1 -1
- package/dist/cdn/WYKOLNUO.js +4 -0
- package/dist/cdn/{OXISLKJ3.js → WZ2Y55GH.js} +2 -2
- package/dist/cdn/{HC5KL6M5.js → X5B3HI7H.js} +2 -2
- package/dist/cdn/X6GUL5YM.js +4 -0
- package/dist/cdn/{OFOOFDLM.js → XF3QMPYW.js} +2 -2
- package/dist/cdn/XF4JI76V.js +18 -0
- package/dist/cdn/{X75UTGDT.js → XH56YQ5M.js} +2 -2
- package/dist/cdn/{GAQV7YGC.js → XJEKCHNF.js} +2 -2
- package/dist/cdn/{KTWVZXWG.js → XNQ27MXZ.js} +2 -2
- package/dist/cdn/{VYUXJLFU.js → XNUHTFDS.js} +1 -1
- package/dist/cdn/{EILX6MQW.js → XT5ITDOM.js} +2 -2
- package/dist/cdn/{CJVN2TJS.js → XUEE63KO.js} +1 -1
- package/dist/cdn/{KAVJHZA3.js → Y34VPW3D.js} +2 -2
- package/dist/cdn/{UVD5E6HI.js → YIIADRZZ.js} +2 -2
- package/dist/cdn/{IP6B2WDL.js → Z47UTABF.js} +2 -2
- package/dist/cdn/{UZOKFYTW.js → ZD2443DU.js} +2 -2
- package/dist/cdn/{CEI5GTHA.js → ZFECRVJQ.js} +2 -2
- package/dist/cdn/{HP4W4KDJ.js → ZG7KYN4E.js} +2 -2
- package/dist/cdn/{C6SEQOGV.js → ZJQDRWP2.js} +2 -2
- package/dist/cdn/{42ZHF2HE.js → ZLLEYAP3.js} +2 -2
- package/dist/cdn/{EA5T3ZAJ.js → ZOMUTHCL.js} +2 -2
- package/dist/cdn/{I5KCXSTA.js → ZV2QHOXX.js} +2 -2
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/common.js +17 -3
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- 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/prepareDataForSolutionDisplay.js +57 -0
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +3 -3
- 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.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +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.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- 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 +13 -10
- 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 +8 -8
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +25 -26
- 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-dialog/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.d.ts +1 -0
- package/dist/components/solution-delete-dialog/customElement.js +42 -46
- package/dist/components/solution-delete-dialog/index.d.ts +1 -0
- package/dist/components/solution-delete-dialog/index.js +1 -0
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +25 -75
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.d.ts +1 -1
- package/dist/components/solution-details-panel/customElement.js +54 -59
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/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-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.d.ts +24 -0
- package/dist/components/solution-snapshot-gallery/customElement.js +45 -17
- package/dist/components/solution-snapshot-gallery/index.d.ts +4 -0
- package/dist/components/solution-snapshot-gallery/index.js +4 -0
- 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 +19 -15
- 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 +198 -71
- package/dist/docs/docs.json +216 -73
- package/dist/docs/vscode.html-custom-data.json +8 -2
- package/dist/docs/web-types.json +48 -6
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/common.d.ts +16 -0
- package/package.json +22 -22
- package/dist/cdn/3TNIRE5C.js +0 -18
- package/dist/cdn/3UXKAF2H.js +0 -4
- package/dist/cdn/4YWQ7U43.js +0 -4
- package/dist/cdn/6FIWOMM6.js +0 -4
- package/dist/cdn/7FLZ75CE.js +0 -18
- package/dist/cdn/AXEPEBX2.js +0 -18
- package/dist/cdn/GA4DUE6T.js +0 -18
- package/dist/cdn/GQBAHH2L.js +0 -4
- package/dist/cdn/HJJ7QGPS.js +0 -4
- package/dist/cdn/INCUZCR2.js +0 -4
- package/dist/cdn/L3SQYQFL.js +0 -4
- package/dist/cdn/M3H6G26K.js +0 -18
- package/dist/cdn/MDQL7YHS.js +0 -4
- package/dist/cdn/MLUOU7R6.js +0 -18
- package/dist/cdn/OYQBVE3D.js +0 -18
- package/dist/cdn/PBTBD6VR.js +0 -4
- package/dist/cdn/STEAYSG2.js +0 -4
- package/dist/cdn/SW6MRYZK.js +0 -18
- package/dist/cdn/TIYVVUTR.js +0 -4
- package/dist/cdn/UV4YR6X6.js +0 -4
- package/dist/cdn/V55YIAKZ.js +0 -4
- package/dist/cdn/VJO7RQBS.js +0 -4
- package/dist/cdn/VVBMRLMX.js +0 -4
- package/dist/cdn/W46YS22D.js +0 -18
package/dist/cdn/GQBAHH2L.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.20250623 */
|
4
|
-
import{a,b}from"./RSLSNASB.js";import"./M6DEGK3A.js";import"./OTP76AFM.js";import"./UER5MEYT.js";import"./P25FGB5B.js";import"./7FW2E443.js";import"./LN76EWLU.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
|
package/dist/cdn/HJJ7QGPS.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.20250623 */
|
4
|
-
import{a as O}from"./F3W4JSQE.js";import{a as D}from"./K3GQOW75.js";import{h as N,i as b}from"./V55YIAKZ.js";var k=D({data:{},relationshipRampExpandStates:{},compact:!1}),P=k.state,K=k;function W(e,t,o){return n=>{let c=n?.layer?.type;if(c==="feature"||c==="group"){let i=j(t,n,o).then(r=>r);i&&e.push(i);let a=r=>{let s=j(t,r,o).then(l=>l);s&&e.push(s)};n.children.forEach(r=>{a(r),r?.children?.length>0&&r.children.forEach(s=>{a(s),s?.children?.length>0&&s.children.forEach(l=>{a(l)})})})}}}async function j(e,t,o){try{let n=t?.layer?.type==="group",c=t?.layer?.layers?.some(h=>h.visible),i=t?.layer?.layers?.every(h=>!h?.legendEnabled);await o.whenOnce(()=>e?.state==="ready"),!n||n&&c?n&&i?await o.whenOnce(()=>t?.layer?.loaded):await o.whenOnce(()=>t?.ready):await o.whenOnce(()=>t?.legendElements);let a=t?.legendElements?.[0],r=new Map,s=t.layer,l=await e?.view?.whenLayerView(s),f=s.renderer?.field??"";a!==void 0&&a?.infos?.forEach(h=>{if(h.type==="symbol-table"){let y=[];h.infos.forEach(g=>{let E={count:null,selected:!1,legendElementInfo:g};y.push(E)});let d={count:null,selected:!1,legendElementInfo:h,nestedInfos:y};r.set(h.title,d)}else{let y={count:null,selected:!1,legendElementInfo:h};r.set(h.label??s.id,y)}});let u=[];return l?Promise.resolve({activeLayerInfo:t,title:l.layer.title,categories:r,field:f,queryExpressions:u,totalCount:null,fLayerView:l,legendElement:a}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function re(e,t){let o={},n=[];e.activeLayerInfos.forEach(W(n,e,t));try{return(await Promise.all(n)).forEach(i=>{let a=i?.activeLayerInfo?.layer?.id;o[a]=i}),Promise.resolve(o)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function ne(e){return Array.from(e,t=>t[1])}function oe(e,t,o,n,c){if(n)return n?.nestedInfos?.[c];let i="label"in o?o?.label:t?.id;return e?.categories?.get(i)}function ce(e){return P?.data?.[e?.id]}async function ae(e,t,o,n,c){let{queryExpressions:i,fLayerView:a}=e;X(e,t,o,c);let r=i.every(u=>u&&u.includes("<>"))?" AND ":" OR ",s=i.join(r),l=a?.filter?.timeExtent??a?.featureEffect?.filter?.timeExtent??null,{type:f}=n;if(f==="filter")a.filter=await b({where:s,timeExtent:l});else if(n.effect){let{includedEffect:u,excludedEffect:h}=n.effect,p=await O(h,a,"excludedEffect"),y=await O(u,a,"includedEffect");a.featureEffect=await N({filter:await b({where:s,timeExtent:l}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function V(e,t){let o=t?t?.layer?.renderer?.authoringInfo:null,n=o?o.fields:null,c=[];if(!n)return"";if(Object.hasOwn(e,"value"))return n.forEach(i=>{if(e.value===i)return;let a=`(${e.value} > ${i} OR (${i} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;c.push(a)}),c.join(" AND ");{let i=[];n.forEach(r=>{i.push(`${r} = 0`)});let a=[];if(n.length>2){n.forEach(l=>{n.forEach(f=>{if(l===f)return;let u=[];n.forEach(h=>{l===h||f===h||u.push(`${l} = ${f} AND (${l} > ${h} OR ${l} >= ${h})`)}),a.push(`(${u.join(" AND ")})`)})});let r=[];return n.forEach(l=>{r.push(`${l} IS NULL`)}),`(${i.join(" AND ")}) OR (${a.join(" OR ")}) OR (${r.join(" AND ")})`}else{let r=[];n.forEach(l=>{n.forEach(f=>{l!==f&&(r.push(`${l} = ${f}`),r.push(`(${i.join(" AND ")})`))})});let s=[];return n.forEach(l=>{n.forEach(f=>{l!==f&&s.push(`(${l} = 0 AND ${f} IS NULL) OR (${l} IS NULL AND ${f} IS NULL)`)})}),`(${r.join(" OR ")}) OR (${s.join(" OR ")})`}}}function X(e,t,o,n){let{field:c,legendElement:i,categories:a,fLayerView:r}=e,s=e?.queryExpressions;n&&Array.from(e.categories).map(g=>g[1]).forEach(g=>{g.nestedInfos?.every(m=>!m.selected)&&g.nestedInfos?.forEach(m=>{let $=c?`${c} = '${m.legendElementInfo.value}'`:null,w=$?s.indexOf($):-1;$&&w!==-1&&s.splice(w,1)})});let l=i?.infos,f=L(r),u=f?V(t,r):R(t,c,o,i,l??[],""),h=a?n?a.get(n.title)?.nestedInfos?.[o]:a.get(t.label??r?.layer?.id):null;h&&(h.selected=!h?.selected);let p=l&&l.length===1,y=s.indexOf(u);if(f){let d=s.indexOf(u);s.length===0||d===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]?s[0]="1=0":s&&s.length===1||s.length===1&&u!==s[0]&&s[0]==="1=0"?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"?s[0]=null:s.splice(d,1),s.join(" OR ")}else s.length===0||y===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]&&!p?s[0]="1=0":s&&s.length===1&&!p||s.length===1&&u!==s[0]&&s[0]==="1=0"&&!p?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"&&!p?s[0]=null:s.splice(y,1);if(n){let d=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{(c?`${c} = '${$.legendElementInfo.value}'`:null)&&d.push(`${c} = '${$.legendElementInfo.value}'`)})}),d.forEach(E=>{s.includes(E)||s.push(E)})}}function R(e,t,o,n,c,i){let{value:a}=e;if(n?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&c?.length===1){if(Object.hasOwn(c?.[0],"value")&&Array.isArray(c?.[0].value)&&Object.hasOwn(c?.[c.length-2],"value")&&Array.isArray(c?.[c.length-2].value))return i?`((${t}/${i}) > ${c?.[0].value[1]}) OR ((${t}/${i}) < ${c?.[c.length-2].value[0]}) OR ${i} = 0 OR ${i} IS NULL`:`${t} > ${c?.[0].value[1]} OR ${t} < ${c?.[c.length-2].value[0]} OR ${t} IS NULL`;if(c?.length===1)return"1=0";{let r=[];c?.forEach(l=>{if(l?.value){let{value:f}=l,u=f.indexOf("'")!==-1?f.split("'").join("''"):null,h=u?`${t} <> '${u}'`:isNaN(f)||typeof f=="string"&&!f.trim()?`${t} <> '${f}'`:`${t} <> ${f} AND ${t} <> '${f}'`;r.push(h)}});let s=r.join(" AND ");return t&&s?`${s} OR ${t} IS NULL`:""}}else{let r=a.indexOf("'")!==-1?a.split("'").join("''"):null,s=Array.isArray(e.value),l=c&&c.length-1===o,f=!Object.hasOwn(c?.[c.length-1],"value"),u=c&&c.length-2===o;return s?i?l||f&&u?`(${t}/${i}) >= ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:`(${t}/${i}) > ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:l||f&&u?`${t} >= ${a[0]} AND ${t} <= ${a[1]}`:`${t} > ${a[0]} AND ${t} <= ${a[1]}`:c?.length===1&&t?isNaN(a)||!a.trim().length?`${t} <> '${a}'`:`${t} <> ${a} OR ${t} <> '${a}'`:r?`${t} = '${r}'`:isNaN(a)||!a.trim().length?`${t} = '${a}'`:`${t} = ${a} OR ${t} = '${a}'`}else return""}function ie(e){return Array.isArray(e)?e.every(t=>!t.selected):e&&Array.from(e.categories.entries()).every(t=>!t[1].selected)&&e.queryExpressions[0]!=="1=0"}function L(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function le(e){return e?.legendElements[1]?.type==="relationship-ramp"}function ue(e,t,o){let c=e.layer?.renderer?.field,i=t?.type,a=e?.layerView,r=a?.layer?.renderer?.classBreakInfos,s=a?.layer?.renderer?.uniqueValueInfos&&c,l=i==="size-ramp",f=i==="color-ramp",u=i==="opacity-ramp",h=i==="heatmap-ramp",p=a&&r&&r.length>1,y=a?.layer?.renderer?.authoringInfo?.type,d=y==="class-breaks-color",g=y==="class-breaks-size",E=t?.infos?.length===1&&!c,m=y==="relationship"&&t?.type!=="size-ramp"&&t?.type!=="symbol-table",$=e?.layer?.type==="feature",w=$&&c&&!f&&!l&&p,A=!!($&&c&&!f&&!l&&!p),S=!!(A||L(a)&&!l||d&&c||g&&c||E&&!c&&c!==null||m||s),U=e?.layer?.featureReduction&&e?.legendElements?.[o]?.type==="size-ramp",q=t?.type==="symbol-table"&&t?.infos?.length===1,Q=!e?.legendElements.every(x=>x.type!=="color-ramp"),B=!e?.legendElements.every(x=>x.type!=="size-ramp"),z=q&&Q,I=q&&B,G=t?.infos?.every(x=>typeof x.value=="number"),Z=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",H=y==="dot-density",J=T(e?.layer,c);return $&&!U&&!u&&!h&&!z&&!I&&!G&&!Z&&!H&&J?r?w||S:A||S:!1}function fe(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(t=>{t.selected=!1}),e}function he(e,t){e.categories.get(t)?.nestedInfos?.forEach(r=>{let s=`${e.field} = '${r.legendElementInfo.value}'`,l=e.queryExpressions.indexOf(s);l!==-1&&e.queryExpressions.splice(l,1),r.selected=!1});let n=[],c=Array.from(e.categories).map(r=>r[1]);c.forEach(r=>{r.nestedInfos?.every(l=>!l.selected)&&r.nestedInfos?.forEach(l=>{n.push(`${e.field} = '${l.legendElementInfo.value}'`)})}),n.forEach(r=>{e.queryExpressions.includes(r)||e.queryExpressions.push(r)});let i=e.queryExpressions.join(" OR ");return c.every(r=>r.nestedInfos?.every(s=>!s.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=i),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=i)),e}async function ye(e,t,o){let n=e.fLayerView.createQuery();if(o)if(o.nestedInfos.every(i=>!i.selected)){let i=o.nestedInfos.map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let i=o.nestedInfos.filter(a=>a.selected).map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let c=e.queryExpressions.join(" OR ");n.where=c}try{let{extent:c}=await e.fLayerView.layer.queryExtent(n);await t.goTo(c)}catch{}}function pe(e){return e.map(o=>o?.count).reduce((o,n)=>o+n)}function de(e){return e.map(t=>t?.nestedInfos?.map(o=>o.count).reduce((o,n)=>o+n)).reduce((t,o)=>t+o)}async function v(e,t,o,n,c,i,a,r){if(!t||!T(t?.layer,o))return;let l=t?.layer?.type==="feature"?t.createQuery():null,f=L(t)?V(n,t):n.type?R(a,o,r,n,n.infos):R(n,o,c,i,i.infos);l&&f&&(l.where=f==="1=0"?"1=1":f,e&&(l.geometry=e));try{let u=l?await t.queryFeatureCount(l):null;return Promise.resolve({[n.label??t?.layer?.id]:u})}catch(u){console.error("FAILURE AT 'getInfoCount': ",u)}return await Promise.resolve(null)}async function ge(e,t){let o={...t},{activeLayerInfos:n}=e,c=e?.view?.extent,i={},a={};n.forEach(async r=>{let s=r.legendElements[0],l=r.layer,f=t[r?.layer?.id]?.fLayerView,u=l.renderer?.field,h=[];a[r.layer.id]=[],s?.infos?.forEach((y,d)=>{if(s.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach((m,$)=>{let w=v(c,f,u,y,d,s,m,$);E.push(w)}),a[r.layer.id].push(E)}else h.push(v(c,f,u,y,d,s)),a[r.layer.id]=h});let p=y=>{let d=[],g=y.legendElements[0],E=y.layer,m=t[y?.layer?.id]?.fLayerView,$=E.renderer?.field;g?.infos?.forEach((w,A)=>d.push(v(c,m,$,w,A,g))),a[y.layer.id]=d};r.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(d=>{p(d),d?.children?.length>0&&d.children.forEach(g=>{p(g)})})})});for(let r in a){let s=i[r];s||(s=i[r]={});let l=await Promise.all(a[r]);if(l.every(f=>Array.isArray(f))){let f=await Promise.all(l.map(async u=>(await Promise.all(u)).map(y=>y&&Object.values(y)[0])));s[r]=f,i[r]={...s[r]}}else{let f={};l.forEach(u=>{if(!u)return;let h=Object.keys(u)[0];f[h]=u[h]}),r&&(s[r]=f),i[r]={...s[r]}}}return n.forEach(r=>{let s=t[r.layer.id],l=r.layer.id;s?.categories?.forEach((h,p)=>{let d=Array.from(s?.categories).findIndex(g=>g[0]===p);if(h?.nestedInfos)h?.nestedInfos.forEach((g,E)=>{let m=i?.[r?.layer?.id]?.[d]?.[E];g.count=isNaN(m)?null:m});else{let g=i?.[l]?.[p];h.count=isNaN(g)?null:g}});let u=h=>{let p=h.layer.id;t[p]?.categories?.forEach((d,g)=>{let E=i?.[p]?.[g];d.count=E})};r?.children?.forEach(h=>{u(h),h?.children?.length>0&&h.children.forEach(p=>{u(p),p?.children?.length>0&&p.children.forEach(y=>{u(y)})})})}),await Promise.resolve(o)}function Ee(e,t){return e?.nestedInfos?.[t]}function $e(e){return Array.from(e).map(o=>o[1]).every(o=>!!o?.nestedInfos)}function me(e){return!!e?.legendElements?.[0]?.infos?.every?.(t=>t?.type==="symbol-table")}function we(e,t){if(typeof t?.title=="string")return e?.categories?.get(t?.title)}function xe(e){let t="calcite-mode-",o=`${t}light`,n=`${t}dark`;return e.classList.contains(n)?n:o}function Oe(e){if(e.layerId&&e.intLegendLayerData){let t=e.layerId,o=e.intLegendLayerData,n={...P.data,[t]:o};K.set("data",n)}}function Ae(e,t){let{type:o}=e;o==="filter"?Y(t):o==="effect"&&_(e,t)}function Y(e){e?.allLayerViews?.filter(t=>t?.layer?.type==="feature")?.forEach(t=>{let o=t,n=C(o);o.filter=n,o.set("featureEffect",null)})}function _(e,t){t?.allLayerViews?.filter(o=>o?.layer?.type==="feature").forEach(async o=>{let n=o;if(e?.effect&&n){let{includedEffect:c,excludedEffect:i}=e.effect,a=await O(i,n,"excludedEffect"),r=await O(c,n,"includedEffect"),s=C(n);n.featureEffect=await N({filter:s,includedEffect:r,excludedEffect:a}),n.set("filter",null)}})}function C(e){return e?.filter||e?.featureEffect?.filter}function T(e,t){let o=e?.fields,n=o&&o.map(c=>c.name);return t?n&&n.includes(t):!0}function Ne(e){let t=[];return e.forEach(o=>F(o,t)),t}function F(e,t){t.push(e),e.children&&e.children.length>0&&e.children.forEach(o=>{F(o,t)})}export{P as a,K as b,j as c,re as d,ne as e,oe as f,ce as g,ae as h,ie as i,le as j,ue as k,fe as l,he as m,ye as n,pe as o,de as p,ge as q,Ee as r,$e as s,me as t,we as u,xe as v,Oe as w,Ae as x,Ne as y};
|
package/dist/cdn/INCUZCR2.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.20250623 */
|
4
|
-
import{a,b}from"./A6E5LNUS.js";import"./7FW2E443.js";import"./LN76EWLU.js";export{a as GroupEditorTypes,b as GroupSchema};
|
package/dist/cdn/L3SQYQFL.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.20250623 */
|
4
|
-
import{a,b}from"./CVZ4YBRE.js";import"./M6DEGK3A.js";import"./OTP76AFM.js";import"./UER5MEYT.js";import"./P25FGB5B.js";import"./7FW2E443.js";import"./LN76EWLU.js";export{a as ProjectEditorTypes,b as ProjectSchema};
|
package/dist/cdn/M3H6G26K.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.20250623 */
|
4
|
-
import"./C2CSN6FZ.js";import{b as A}from"./MSYQ3DTT.js";import"./D5ZMKHVZ.js";import"./22P43VO7.js";import"./T3BNNVGE.js";import"./42ZHF2HE.js";import"./3RCSEW37.js";import"./EA5T3ZAJ.js";import"./VYUXJLFU.js";import"./X3ACNAG7.js";import"./VPEO2Q4J.js";import"./B23CHB5L.js";import"./OAOS4ZIR.js";import"./JF2H7IOR.js";import"./SQ5ORY7B.js";import"./U2DAHKOK.js";import"./VS53IXEC.js";import"./ABFFIPZI.js";import"./ZEI7MQ2T.js";import"./RK7SEZWK.js";import"./BWFAFVTV.js";import"./BPLCFWCS.js";import{a as C}from"./IONDFFQ2.js";import"./5A3QS7CA.js";import{c as F,d as O,j as y}from"./E7TRIWDT.js";import{j as b}from"./7YPMNAQW.js";import{c as S}from"./XJYYAXC5.js";import{a as u,b as g}from"./B3BHXIAJ.js";import{b as x}from"./WTGKQEWC.js";import{a as E}from"./USL4QTWT.js";import{D as T,c as w,d as o,f as c,n as p,p as I,y as v,z as f}from"./QCIMV4RH.js";import"./LN76EWLU.js";var H=w`@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}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}.label-override{white-space:nowrap}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{color:var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}}`,m=class extends v{constructor(){super(),this.defaultGlobalId=[],this.defaultLayerId="",this.defaultOid=[],this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!1,this.enableInlineEdit=!1,this.enableShare=!1,this.featureSelectionMode="multiple",this.selectedRelatedIds=[],this.honorMapFieldSettings=!1,this.isMobile=!1,this.mapHidden=!1,this.showOnlyUpdatableLayers=!1,this.selectedIds=[],this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!1,this.zoomAndScrollToSelected=!1,this._allIds=[],this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=E({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._enabledLayerIds=[],this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._definitionExpression="",this._deleteEnabled=!1,this._filterList=u(),this._floorExpression="",this._floorField="",this._floorFacility="",this._floorLevel="",this._floorSite="",this._layerExpressions=[],this._loaded=!1,this._shareNode=u(),this._toolbar=u(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this._creatingFeature=!1,this._searchNode=u(),this.featureSelectionChange=p(),this.toggleFilter=p(),this.showDelete=p(),this.relatedRecordToggled=p(),this.editMultipleFeatures=p(),this.listenOn(window,"beforeMapInfoChange",this.beforeMapInfoChange,{capture:!0}),this.listenOn(window,"editorInitialized",this.editorInitialized),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"selectionChanged",this.selectionChanged),this.listenOn(window,"beforeLayerSelectionChange",this.beforeLayerSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"editsComplete",this.editsComplete),this.listenOn(window,"facilityChanged",this.facilityChanged),this.listenOn(window,"levelChanged",this.levelChanged),this.listenOn(window,"siteChanged",this.siteChanged),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"featuresSelected",this.featuresSelected),this.listenOn(window,"createWorkFlowStarted",this.createWorkFlowStarted),this.listenOn(window,"backFromCreateWorkFlow",this.backFromCreateWorkFlow),C(window)}static{this.properties={appLayout:1,defaultGlobalId:0,defaultLayerId:1,defaultOid:0,enableAutoRefresh:5,enableColumnReorder:5,enableCSV:5,enableInlineEdit:5,enableShare:5,featureSelectionMode:1,selectedRelatedIds:0,honorMapFieldSettings:5,isMobile:5,mapHidden:5,mapInfo:0,mapView:0,showOnlyUpdatableLayers:5,selectedIds:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,zoomAndScrollToSelected:5,zoomToScale:9,_allIds:16,_csvExporting:16,_fetchingData:16,_filterActive:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=H}static{this.shadowRootOptions=I}willUpdate(e){if(e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("defaultOid")&&this.defaultOidWatchHandler(),e.has("defaultGlobalId")&&this.defaultGlobalIdWatchHandler(),e.has("enableCSV")&&this.enableCSVWatchHandler(),e.has("enableInlineEdit")&&this.enableInlineEditWatchHandler(),e.has("mapHidden")&&this.mapHiddenWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_layer")&&this._layerWatchHandler(),e.has("selectedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedIds"))!==JSON.stringify(this.selectedIds))&&this.selectedIdsWatchHandler(),e.has("selectedRelatedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedRelatedIds"))!==JSON.stringify(this.selectedRelatedIds))&&this.selectedRelatedIdsWatchHandler(),e.has("_translations")){let t=this._translations._lang,i=e.get("_translations")?._lang;t&&i&&t!==i&&this._initToolInfos()}}async appLayoutWatchHandler(){await this._initToolInfos(),this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}async enableCSVWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}async mapHiddenWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}async isMobileWatchHandler(){!this._toolInfos&&!this.isMobile&&await this._initToolInfos()}async mapInfoWatchHandler(){this._enabledLayerIds=this.mapInfo?.layerOptions?.layers.map(e=>e.id)||[],this._table&&(this._resetColumnTemplates(),this._sortTable())}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression="",this._searchExpression="undefined",this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this._creatingFeature||this._mapClicked(e)}))}async _layerWatchHandler(){this._fetchingData=!0,await this._layer?.when(async()=>{this._definitionExpression=this._layer?.definitionExpression||"",this._floorField=this._layer?.floorInfo?.floorField||"",this._updateFloorDefinitionExpression(),await this._resetTable(),this._updateShareUrl(),this._fetchingData=!1})}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0])),this.selectedIds.length===0&&setTimeout(()=>{this.featureSelectionChange.emit(this.selectedIds)},700)}async selectedRelatedIdsWatchHandler(){this._validateEnabledActions(),this.selectedRelatedIds.length>0&&(this._relatedFeatureTable?.rowHighlightIds.removeAll(),this._relatedFeatureTable?.rowHighlightIds.add(this.selectedRelatedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(e,t){await this._handleFilterUpdate(e),t?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):t===!1&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle?.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(e){this._shouldUpdateTableOnExtentChange=e}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}async beforeMapInfoChange(e){let t=e.detail.ref,i=e.detail.mapInfo;if(this._hasPendingEdits()){e.preventDefault();let s=await this._validateActiveEdits([],this.selectedIds);await t.setMapByID(s?i.id:e.detail.currentId,!s)}}async editorInitialized(e){this._shouldUpdateTableOnExtentChange=!1,this._editor=e.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(e){let t=e.detail.selectedFeature[0],i=Number(t.getObjectId()),s=this._table;if(s.rowHighlightIds.length&&s.rowHighlightIds.removeAll(),s.rowHighlightIds.add(i),this._highlightFeatures(i),this.zoomAndScrollToSelected&&s&&this.mapView){let a=s.viewModel.getObjectIdIndex(i);s.scrollToIndex(a);let l=t.layer,h=this.mapView.allLayerViews.toArray(),r;h.some(async n=>n.layer.title===l?.title&&n.layer.type==="feature"?(r=n,this.mapView&&await y([i],r,this.mapView,!0,void 0,this.zoomToScale),!0):!1)}}async beforeLayerSelectionChange(e){if(this._hasPendingEdits()){e.preventDefault();let t=e.detail.ref,i=await this._validateActiveEdits([],this.selectedIds);return e.detail.selectedIds?await t.setLayerByIds(i?e.detail.newIds:e.detail.currentIds,!0):await t.setLayerById(i?e.detail.newId:e.detail.currentId,!0)}}async layerSelectionChange(e){await this._layerSelectionChanged(e)}async editsComplete(e){let t=e.detail;(t==="delete"||t==="add")&&(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(e){this._floorFacility=e.detail,this._updateFloorDefinitionExpression()}async levelChanged(e){this._floorLevel=e.detail,this._updateFloorDefinitionExpression()}async siteChanged(e){this._floorSite=e.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async mapChanged(){this._queryingData=!1,this._creatingFeature=!1,this._clearSelection()}async featuresSelected(e){e.detail.forEach(t=>{let i=this._table?.highlightIds.indexOf(t);i&&i<0&&this._table?.highlightIds.add(t)})}createWorkFlowStarted(){this._creatingFeature=!0}backFromCreateWorkFlow(){this._creatingFeature=!1}async load(){await this._initModules(),await this._initToolInfos()}render(){let e=this._fetchingData?"display-none":"",t=this._fetchingData?"":"display-none",i=this._queryingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",h=this._canShowFullTextSearch();return this._validateActiveActions(),o`<div><calcite-scrim class=${f(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell><div class=${`width-full ${l}`}><calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker("header-actions-start")}${!this.isMobile&&o`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}`||""}${h&&o`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${r=>void this._searchTextChanged(r)} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder??c} type=search ${g(this._searchNode)}></calcite-input></div>`||""}<calcite-loader class=${f(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${f(e)} ${g(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:o`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}",s)+" | "+this._translations.recordsSelected.replace("{{selected-number-of-records}}",a)).replace("{{total}}",s).replace("{{selected}}",a)}</div>`}</calcite-shell></div>`}async _initModules(){let[e,t,i,s]=await x(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate","esri/rest/support/RelationshipQuery"]);this.FeatureTable=e,this.reactiveUtils=t,this.TableTemplate=i,this.RelationshipQuery=s}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),this._searchFullText()}async _searchFullText(){let e=[],t=!1;if(this._showOnlySelected)e=this._tempSelectedIds,t=!0;else if(await this._validateActiveEdits([],this.selectedIds))this._clearSelection(),this._tempSelectedIds=[];else return;this._searchExpression&&this._clearSearchDefinitionExpression();let i=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){let s=this._layer?.createQuery();s.fullText=this._fullTextSearchInfo,i=this._layer?await this._layer.queryObjectIds(s):[],t&&e?.length&&(i=i.filter(a=>e.includes(a))),await this._updateSearchDefinitionExpression(i?.length?i:[-1])}t&&i?.length&&(this._showOnlySelected=!0,this._table?.highlightIds.addMany(i.reverse())),await new Promise(s=>setTimeout(s,800)),await this._updateAllIds()}_clearSearchDefinitionExpression(){let e=this._layer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&this._layer&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._layer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._layer.definitionExpression=e.replace(this._searchExpression,"")),this._searchExpression=""}async _updateSearchDefinitionExpression(e){let t=this._layer?.definitionExpression;if(this._layer)if(e?.length){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t&&t.includes(this._searchExpression)?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return this._layer?.capabilities?.query?.supportsFullTextSearch&&this._layer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._layer?.capabilities?.query?.supportsFullTextSearch){let e=this._layer.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._layer?.getField(s.trim());a?.alias&&i.push(a.alias)}),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{field_names}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getMapLayerPicker(e){let t=this.isMobile?"display-none":"";return o`<div class=${`border-end ${t}`} id=solutions-map-layer-picker-container slot=${e??c}><map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this._layer?[this._layer?.id]:[]} show-single-layer-as-label show-tables type=dropdown></map-layer-picker></div>`}_getActionsEnd(e){let t=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer,i=this._relatedFeatureTable||this._table;return o`<div class="display-flex" slot=${e??c}><field-selection .layer=${t} .mapView=${this.mapView} .table=${i}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div>`}_getTableControlRow(e){return o`<div class=${"height-51-px width-full display-flex"} slot=${e??c} ${g(this._toolbar)}>${this._getActionBar()}</div>`}_getActionBar(){return o`<calcite-action-bar class=width-full expand-disabled id=${this._getId("bar")??c} layout=horizontal><calcite-action-group>${this.isMobile?void 0:this._getActions()}</calcite-action-group></calcite-action-bar>`}_getActions(){return this._toolInfos?.reduce((e,t)=>(t&&e.push(t.isDanger?this._getDangerAction(t.icon,t.label,t.func,t.disabled):this._getAction(t.active,t.icon,t.indicator,t.label,t.func,t.disabled,!!t.loading,t.toolTip)),e),[])}_validateEnabledActions(){let e=this._getSelectedIds().length,t=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach(i=>{i&&t.indexOf(i.icon)>-1&&(i.disabled=i.icon==="pencil"?e<2||e>b:e<1,i.toolTip=i.icon==="pencil"?e>b?this._translations.featureEditLimitNotice:this._translations.editMultiple:i.toolTip)})}_validateActiveActions(){let e=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach(t=>{t&&e.indexOf(t.icon)>-1&&(t.icon==="filter"&&(t.indicator=this._filterActive),t.icon==="list-check-all"&&(t.active=this._selectAllActive),t.icon==="selected-items-filter"&&(t.active=this._showOnlySelected,t.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))})}async _initToolInfos(){let e=this._getSelectedIds().length>0,t=this._relatedFeatureTable?this._relatedFeatureTable.layer.isTable:this._layer?.isTable,i=this.featureSelectionMode==="multiple"&&this._layer?.capabilities?.operations.supportsUpdate,s=this._getSelectedIds().length<2||this._getSelectedIds().length>b,a=!this.mapHidden&&!t,l=!this._relatedFeatureTable&&(!this._layer?.isTable||this._hasFilterExpressions()),h=this._featuresEmpty(),r=this.featureSelectionMode==="single",n=this.enableCSV;if(this._relatedFeatureTable){let _=await this._queryRelatedFeatures();n=_&&Object.keys(_).length>0}let d=[];l&&d.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.toggleFilter.emit(),disabled:!1,toolTip:this._translations.filters}),a&&d.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e,toolTip:this._translations.zoom}),i&&d.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this._getSelectedIds()),disabled:s,toolTip:this._translations.editMultiple}),this._deleteEnabled&&d.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0,toolTip:this._translations.delete}),d.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>void this.clearSelection(),disabled:!e,toolTip:this._translations.clearSelection}),this._relatedFeatureTable||d.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e,toolTip:this._showOnlySelected?this._translations.showAll:this._translations.showSelected}),!r&&!this._relatedFeatureTable&&d.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:h,toolTip:this._translations.selectAll}),!r&&!this._relatedFeatureTable&&d.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:h,toolTip:this._translations.switchSelected}),d.push({active:!1,icon:"refresh",indicator:!1,func:()=>void this._refresh(),label:this._translations.refresh,disabled:!1,toolTip:this._translations.refresh}),n&&d.push({active:!1,icon:"export",indicator:!1,func:()=>void this._exportToCSV(),label:this._translations.exportCSV,loading:this._csvExporting,disabled:h,toolTip:this._translations.exportCSV}),this._toolInfos=[...d]}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){let e=`${this._floorField} = '${this._floorLevel}'`,t=this._layer?.definitionExpression;this._layer&&(this._layer.definitionExpression=t&&this._floorExpression&&t?.indexOf(this._floorExpression)>-1?t.replace(this._floorExpression,e):t?`${t} AND (${e})`:e),this._floorExpression=e}}_featuresEmpty(){return this._allIds?.length===0}_hasFilterExpressions(){let e=[],t=this._layer?.id;return this.mapInfo?.filterConfig?.layerExpressions&&t!==void 0&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===t)),e.length>0}_getAction(e,t,i,s,a,l,h,r){let n=this._layer===void 0?!0:l;return o`<calcite-action .active=${e} appearance=solid .disabled=${n} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${h} @click=${a} text text-enabled><div class="display-flex"><span class="label-override padding-start-1-4">${s}</span></div></calcite-action>${this._getToolTip("auto",`layer-table-${t}`,r)}`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return this.mapView&&o`<div id=${this._getId(e)??c}><instant-apps-social-share class="height-51 width-51 display-flex" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${g(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom",e,this._translations.share)}</div>`||""}_updateShareUrl(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this.mapInfo?.id?t.searchParams.set("webmap",this.mapInfo.id):t.searchParams.delete("webmap"),this._layer?.id?t.searchParams.set("layer",this._layer.id):t.searchParams.delete("layer"),this.selectedIds?.length>0?t.searchParams.set("oid",this.selectedIds.join(",")):t.searchParams.delete("oid"),this.appLayout&&t.searchParams.set("applayout",this.appLayout),this.selectedRelatedIds?.length>0&&this._relatedFeatureTable?.layer?.id&&(t.searchParams.set("oid",this.selectedRelatedIds.join(",")),t.searchParams.set("layer",this._relatedFeatureTable?.layer?.id.toString())),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return o`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return o`<div class="display-flex" id=${this._getId(e)??c}>${o`<calcite-action appearance=solid .disabled=${a} .id=${`layer-table-${e}`} @click=${i} text><calcite-icon class="danger-icon-color" .icon=${e} scale=s></calcite-icon><span class="label-override padding-start-1-4 danger-label-color">${t}</span></calcite-action>`}${this._getToolTip("bottom",`layer-table-${e}`,t)}</div>`}_getIds(){let e=this._relatedFeatureTable??this._table;return this._relatedFeatureTable&&this._table&&this._table.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(e=this._table),e?.highlightIds.map(t=>Number.parseInt(t.toString(),10)).toArray()??[]}onTableNodeCreate(e){this._tableNode=e}async _getTable(e,t){this._layer&&(await this._layer.when(()=>{this._table=this.FeatureTable&&new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,relatedRecordsEnabled:!0,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!1,multiSortEnabled:!1,attachmentsEnabled:this.hasAttachmentsEnabled(this._layer),visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:t},container:e})}),await this._table?.when(()=>{this._table?.viewModel.addHandles(this._table.highlightIds.on("change",i=>{this._handleOnChange(i)})),this._table?.viewModel.addHandles(this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this))),this._table?.viewModel.addHandles(this._table.on("cell-pointerout",this._removeTempHighlight.bind(this))),this.listenOn(this._tableNode,"mouseleave",this._removeTempHighlight),this.reactiveUtils&&this._table?.viewModel.addHandles(this.reactiveUtils.watch(()=>this._table.size,i=>{this._size=i})),this.reactiveUtils?.watch(()=>this._table?.relatedTable,async i=>{if(i){if(i.rowHighlightIds.length){let a={added:[i.rowHighlightIds.getItemAt(0)],removed:[]};this._handleOnChange(a)}let s=i.layer;if(this._checkEditEnabled(s),i.editingEnabled=this._editEnabled&&this.enableInlineEdit,i.attachmentsEnabled=this.hasAttachmentsEnabled(s),i.relatedRecordsEnabled=!0,this._relatedFeatureTable=i,typeof i.layer?.id=="string"&&i.layer?.fields){let a=i.layer.popupTemplate?.fieldInfos,l=this._getColumnTemplates(i.layer.id,i.layer.fields,a);this._relatedFeatureTable.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:l})}i.highlightIds.on("change",a=>{this._handleRelatedRecordsChange(a)})}else{this.selectedRelatedIds=[],this._relatedFeatureTable=void 0;let s=this._layer;this._refresh(),s&&this.relatedRecordToggled.emit(s),this._finishOnChange()}await this._initToolInfos()})}))}async _handleRelatedRecordsChange(e){await this._handleOnChange(e),this._updateShareUrl()}hasAttachmentsEnabled(e){if(!e?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:i}}}=e;return t&&i}async _handleOnChange(e){if(!await this._validateActiveEdits([...e.added],[...e.removed]))return;let t=[...this._getIds()],i=this._getSelectedLayer(t);this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(i=this._layer,await this._initToolInfos()),i&&this.relatedRecordToggled.emit(i),this.featureSelectionMode==="single"&&(this._relatedFeatureTable&&t.length>1?(this._relatedFeatureTable.highlightIds.remove(t[0]),t.shift()):t.length>1&&!this._selectAllActive&&(this._table?.highlightIds.remove(t[0]),t.shift())),!this._relatedFeatureTable||this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]?(this.selectedRelatedIds=[],this.selectedIds=t.reverse(),this._tempSelectedIds=[...this.selectedIds],this._highlightFeatures(this.selectedIds[0])):this.selectedRelatedIds=t.reverse(),this._finishOnChange()}async _validateActiveEdits(e,t){let i=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let s=!1;try{this._editor.viewModel.activeWorkflow&&await this._editor.viewModel.activeWorkflow.cancel({force:!1})}catch(a){s=a?.name==="workflow:cancel-denied"}if(s){let a=this._relatedFeatureTable&&this._relatedFeatureTable.highlightIds.length>0?this._relatedFeatureTable:this._table;i=!1,this._skipEditCheck=!0,e.length>0?a?.highlightIds.removeMany(e):t.length>0&&a?.highlightIds.addMany(t)}}}else i=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=i,i}_hasPendingEdits(){let e=this._editor?.viewModel?.hasPendingEdits,t=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return e||t}_finishOnChange(){this._showOnlySelected&&!this._relatedFeatureTable&&(this._table&&this._getSelectedIds().length>0?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected());let e=this._getSelectedIds();setTimeout(()=>{this.featureSelectionChange.emit(e)},50)}tempHighlightOnHover(e){if(this._removeTempHighlight(),this._selectedLayerView){let t=e.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([t],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(e){if(this._clearHighlights(),this.selectedIds.length>0&&this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([e],{name:"current-selection"}),this.selectedIds.length>1)){let t=this.selectedIds.filter(i=>i!==e);this._defaultFeaturesHandle=this._selectedLayerView?.highlight(t,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){if(this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);t?.length===0?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");let i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some((a,l)=>i&&i[l]?JSON.stringify(i[l])!==JSON.stringify(a):!1);if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:t});let a=t.map(l=>l.fieldName);this._initColumnsInfo(a)}}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);this._tableNode&&await this._getTable(this._tableNode,t)}else this._table&&(this._table.view=this.mapView,this._table.layer=this._layer);await this._initLayerRefresh(),this._checkEditEnabled(this._layer),this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,this._table.attachmentsEnabled=this.hasAttachmentsEnabled(this._layer),this._table.relatedRecordsEnabled=!0,await this._table.when(),setTimeout(()=>{this._loaded||this.finishLoading()},1e3),await this.reactiveUtils?.once(()=>this._table?.state==="loaded").then(async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table?.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),await this._initToolInfos(),["esri-feature-table","esri-widget"].forEach(e=>{this._tableNode&&!this._tableNode.classList.contains(e)&&this._tableNode.classList.add(e)})}catch(e){console.log(e)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._layer&&(this._refreshHandle=this._layer.on("refresh",e=>{e.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){let e=await this.queryAllIds(),t=this.selectedIds.filter(i=>this._allIds.indexOf(i)>-1);(JSON.stringify(e)!==JSON.stringify(this._allIds)||JSON.stringify(this.selectedIds)!==JSON.stringify(t))&&(this._allIds=e,this.selectedIds=t,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=[],this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId&&this.defaultGlobalId?.length>0&&this._table&&this._layer){let e=await S(this.defaultGlobalId,this._layer),t=e?.length>0?e.map(i=>Number(i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=[],this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(e){let t=this._table?.columns.reduce((s,a)=>((!e||e?.indexOf(a.name)>-1)&&(s[a.name]=!a.hidden),s),{}),i=this._table?.columns.map(s=>s.name);(e&&i?e.filter(s=>i.indexOf(s)<0):[]).forEach(s=>{t[s]=!0}),this._columnsInfo=e?e.reduce((s,a)=>(s[a]=t[a],s),{}):t}async _selectDefaultFeature(e){e.length>0&&this._table?.highlightIds.addMany(e)}_checkEditEnabled(e){this._editEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsDelete)}async _sortTable(){let e=this._layer?.objectIdField,t="desc",i,s=this.mapInfo?.layerOptions?.layers,a=this._layer?.id;s&&s.length>0&&a!==void 0&&(i=s.filter(l=>l.id===a),i&&i.length>0&&(i=i[0],i.sortField&&i.fields?.includes(i.sortField)&&(e=i.sortField),t=i?.sortOrder?i.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when(()=>{e&&this._table?.sortColumn(e,t)}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(e){if(this._floorExpression&&this._layer){let t=this._layer.definitionExpression,i=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=t&&this._floorField&&t.indexOf(`${this._floorField} = '`)>-1?t.replace(i,this._floorExpression):t?`${t} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=e,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,async()=>{if(this._shouldUpdateTableOnExtentChange&&this.appLayout==="splitView"){if(await new Promise(e=>setTimeout(e,800)),this._table&&this.mapView){this._table.filterGeometry=this.mapView.extent;let e={geometry:this.mapView.extent},t=this._layer&&await this._layer.queryObjectIds(e),i=this.selectedIds.filter(a=>!t?.includes(a)),s=this._outOFExtentOids.filter(a=>t?.includes(a));i.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(i),this._outOFExtentOids=[...this._outOFExtentOids,...i]),s.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...s])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter(a=>!s.includes(a)))}this._allIds=await this.queryAllIds()}},{initial:!0}))}async _closeFilter(){this._allIds=await this.queryAllIds()}async queryAllIds(){if(this._layer){let e=this._layer.createQuery();return e.geometry=this._filterByExtentHandle&&this.mapView?this.mapView.extent:null,e.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(e)}else return[]}async _mapClicked(e){let t={include:this._layer},i=await this.mapView?.hitTest(e.screenPoint,t);if(i&&i.results.length>0){let s=i.results;if(this.featureSelectionMode==="single"){this._table?.highlightIds.removeAll();let a=s[0].graphic.getObjectId();if(a){let l=this._table?.highlightIds.indexOf(a);l!==void 0&&l<0&&this._table?.highlightIds.add(a)}}else s.forEach(a=>{let l=Number(a.graphic.getObjectId()),h=this._table?.highlightIds.indexOf(l);h&&h<0&&l&&this._table?.highlightIds.add(l)});this._showOnlySelected&&this._table&&(this._table.filterBySelectionEnabled=!0)}else await this.clearSelection()}async _selectAll(){let e=this._allIds,t=e.filter(i=>this.selectedIds.indexOf(i)<0);await this._validateActiveEdits(t,this.selectedIds)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(e),this.selectedIds=e,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table&&(this._table.filterBySelectionEnabled=this._showOnlySelected)}_clearSelection(){this._relatedFeatureTable||(this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll()),this._relatedFeatureTable&&(this._relatedFeatureTable?.highlightIds.removeAll(),this.selectedRelatedIds=[]),this._finishOnChange()}async _switchSelected(){let e=[...this.selectedIds],t=this._allIds.reduce((i,s)=>(e.indexOf(s)<0&&i.push(s),i),[]).sort((i,s)=>i-s);await this._validateActiveEdits(t,e)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){let e=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer;if(!e)return;let t={},i=this._getIds();if(this._relatedFeatureTable?.tableParent&&this._relatedFeatureTable.rowHighlightIds.length===0){let l=this._relatedFeatureTable.tableParent.highlightIds?.getItemAt(0);if(l!==void 0){let h=await this._queryRelatedFeatures(),r=[];h&&h[l]?.features&&(h[l].features.forEach(n=>{n.attributes&&r.push(n.attributes[e.objectIdField])}),i=r.length>0?r:[])}}t[e.id]={selectionSetNames:[e.title||""],ids:i,layer:e};let s=this._relatedFeatureTable??this._table;if(!s)return;let a=s&&s.columns.toArray().reduce((l,h)=>{if(!h.hidden){let r=h?.name||h?.fieldName;r&&l.push(r.toLocaleLowerCase())}return l},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView?.map&&await A(this.mapView.map,t,!1,!1,!0,a,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}async _queryRelatedFeatures(){let e=this._relatedFeatureTable?this._relatedFeatureTable?this._relatedFeatureTable.layer:this._relatedFeatureTable.tableParent?.layer:this._layer,t=this._relatedFeatureTable?.tableParent?.highlightIds?.items[0],i=this._relatedFeatureTable?.tableParent?.layer,s=e?.relationships?.find(l=>i.relationships?.some(h=>h.id===l.id)),a=this.RelationshipQuery&&new this.RelationshipQuery({objectIds:[t],outFields:["*"],relationshipId:s?.id});return t&&a&&await i.queryRelatedFeatures(a).catch(async l=>{console.error(l)})}_updateToolInfoLoading(e,t){this._toolInfos.some(i=>i?.icon===e?(i.loading=t,!0):!1)}async _refresh(){if(await this._validateActiveEdits([],this.selectedIds)){this._table&&await this._table.refresh(),this._relatedFeatureTable&&await this._relatedFeatureTable.refresh(),this._allIds=await this.queryAllIds();let e=this._getSelectedLayer(this.selectedRelatedIds);e&&this.relatedRecordToggled.emit(e);let t=this._getSelectedIds();this.featureSelectionChange.emit(t)}}_getSelectedIds(){let e;return this._relatedFeatureTable?this.selectedRelatedIds.length>0?e=this.selectedRelatedIds:e=this._relatedFeatureTable.tableParent?.highlightIds.toArray()??[]:e=this.selectedIds,e}_getSelectedLayer(e){let t;return this._relatedFeatureTable?e.length>0?t=this._relatedFeatureTable.layer:t=this._relatedFeatureTable.tableParent?.layer:t=this._layer,t}async _clearSearchText(){if(this._searchNode.value){this._searchNode.value.value="";let e={target:{value:""}};await this._searchTextChanged(e)}}async _zoom(){this._layer&&this.mapView&&await y(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(e){let t=e.detail[0];if(t!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0,await this._clearSearchText();let i=this.mapView&&await O(this.mapView,t);i&&await i.when(async()=>{this._selectedLayerView=!i.isTable&&this.mapView?await F(this.mapView,i.id):null,this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=i,await this._initToolInfos(),this._getFullTextSearchInfo()})}this._creatingFeature=!1,this._fetchingData=!1}_getColumnTemplates(e,t,i){let s;this.mapInfo?.layerOptions?.layers.some(n=>n.id===e?(s=n,!0):!1);let a=this._layer?.attributeTableTemplate?.elements,l=[];a?.length>0&&this.honorMapFieldSettings&&(l=a.map(n=>n.fieldName));let h=s?.fields&&s?.fieldOrder?s.fieldOrder.filter(n=>s?.fields&&s.fields.indexOf(n)>-1):l.length>0?l:void 0,r;return t&&(r=t.reduce((n,d)=>{let _={type:"field",fieldName:d.name,label:this.getFieldLabel(d,i),menuConfig:this._getMenuConfig(d.name)};return s&&s.fields&&s?.fields?.length>0?s.fields.indexOf(d.name)>-1&&n.push(_):l.length>0?l.indexOf(d.name)>-1&&n.push(_):n.push(_),n},[])),r?h?r?.sort(this._sortFields.bind(this,h)):r:[]}getFieldLabel(e,t){let i=e.alias?e.alias:e.name;return t?.some(s=>s.fieldName===e.name?(i=s.label,!0):!1),i||e.name}_sortFields(e,t,i){return e?.indexOf(t.fieldName)-e.indexOf(i.fieldName)}_getMenuConfig(e){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(e)}}]}}_handleHideClick(e){this._columnsInfo&&this._table&&(this._columnsInfo[e]=!1,this._table.hideColumn(e),this._table.tableTemplate&&this._table.tableTemplate.columnTemplates.forEach(t=>{t.fieldName===e&&(t.visible=!1)}))}};T("layer-table",m);export{m as LayerTable};
|
package/dist/cdn/MDQL7YHS.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.20250623 */
|
4
|
-
import{b as e,e as r}from"./ZFWKV2U2.js";import"./QBSZATXE.js";import"./NTN55JWJ.js";import"./7CV6YJ4X.js";import{c as t}from"./OLNPSFNP.js";import"./EA5T3ZAJ.js";import"./LB6HR25Y.js";import"./OAOS4ZIR.js";import"./JF2H7IOR.js";import"./SQ5ORY7B.js";import"./U2DAHKOK.js";import"./ABFFIPZI.js";import"./ZEI7MQ2T.js";import"./BWFAFVTV.js";import"./UGHVL53A.js";import"./LN76EWLU.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};
|