@esri/solutions-components 1.0.0 → 1.0.2
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/2DREXAAI.js +20 -0
- package/dist/cdn/2HCC42DE.js +4 -0
- package/dist/cdn/{XDTSRIUV.js → 2KQCEICX.js} +4 -4
- package/dist/cdn/2N4CQXHT.js +4 -0
- package/dist/cdn/{PFD6TBZM.js → 2RQJQWZN.js} +2 -2
- package/dist/cdn/{JYTMSQVX.js → 2TV52QIG.js} +2 -2
- package/dist/cdn/{BM7MU2L4.js → 2WXZBSU3.js} +2 -2
- package/dist/cdn/{ZRPPJQRE.js → 34FKJAYZ.js} +2 -2
- package/dist/cdn/{2VDJE4V4.js → 34K3UEZZ.js} +2 -2
- package/dist/cdn/{RM3ZEQXS.js → 3BCY5VBO.js} +2 -2
- package/dist/cdn/{7XRIDSQA.js → 3J3GWPGS.js} +2 -2
- package/dist/cdn/{7V252QBT.js → 3L5CUNW3.js} +2 -2
- package/dist/cdn/{S2NGFTAF.js → 3OPTGOTN.js} +2 -2
- package/dist/cdn/{G4UJUDJT.js → 3QXMAC7L.js} +2 -2
- package/dist/cdn/{5YSFQ4E3.js → 3UIKDYVX.js} +1 -1
- package/dist/cdn/{L72F3CMH.js → 3UITRYPY.js} +1 -1
- package/dist/cdn/{5C2W5W6U.js → 3VJVSHZ3.js} +2 -2
- package/dist/cdn/{CLZ76DFI.js → 3XT4LMZL.js} +1 -1
- package/dist/cdn/{IKVFAXUB.js → 427VOQVY.js} +2 -2
- package/dist/cdn/{YXHUA4CI.js → 42CBSGWQ.js} +2 -2
- package/dist/cdn/{ZPNUYCYC.js → 45JENHBT.js} +2 -2
- package/dist/cdn/{X4I3726V.js → 4B47MLZ4.js} +2 -2
- package/dist/cdn/{65FSH56H.js → 4CA5Q4HU.js} +2 -2
- package/dist/cdn/4UFLKP6T.js +4 -0
- package/dist/cdn/{PE2TLSRM.js → 4V6HHPEY.js} +2 -2
- package/dist/cdn/{T7T6X6O5.js → 53U2O7QU.js} +2 -2
- package/dist/cdn/{HG3L3JDR.js → 57ICJINS.js} +2 -2
- package/dist/cdn/{4RVVEL4U.js → 5BS5RPN3.js} +2 -2
- package/dist/cdn/5D4L7E7B.js +4 -0
- package/dist/cdn/5IMGOBVR.js +8 -0
- package/dist/cdn/{6NDD2A2S.js → 5PEEQTOJ.js} +2 -2
- package/dist/cdn/{CXK3KS6W.js → 5Q6ZKF23.js} +1 -1
- package/dist/cdn/{ORH5XZIQ.js → 5UIQ5XPI.js} +1 -1
- package/dist/cdn/{VUHPVY6F.js → 5X2CUO2G.js} +2 -2
- package/dist/cdn/{SGGYFQLR.js → 623OCGUZ.js} +2 -2
- package/dist/cdn/{MAFJTGI7.js → 627BP4CQ.js} +2 -2
- package/dist/cdn/{D55TK32T.js → 6CHYPF6P.js} +2 -2
- package/dist/cdn/6FBUKPW2.js +4 -0
- package/dist/cdn/6OFBEWUU.js +4 -0
- package/dist/cdn/{FSQJF7E4.js → 6OP4PP3P.js} +2 -2
- package/dist/cdn/{SFY7JL2D.js → 6RC6X7JL.js} +2 -2
- package/dist/cdn/{ZGA5KQXP.js → 6ULIHKIX.js} +1 -1
- package/dist/cdn/6Y37L4Y2.js +4 -0
- package/dist/cdn/{UUIMWX7O.js → 6YWQEJ3R.js} +2 -2
- package/dist/cdn/{ATNDBD4K.js → 6ZPPQS7Z.js} +2 -2
- package/dist/cdn/{OGLT2FNT.js → 7DSO57VG.js} +2 -2
- package/dist/cdn/A2LA4B77.js +18 -0
- package/dist/cdn/{ZFJUFWKG.js → AGN7ST2V.js} +2 -2
- package/dist/cdn/{GUNSWZAV.js → AGXQF5CB.js} +2 -2
- package/dist/cdn/{562IDXBA.js → AWOD4YMZ.js} +2 -2
- package/dist/cdn/AX3GHSA4.js +4 -0
- package/dist/cdn/{3NF274CX.js → AXNLHEND.js} +2 -2
- package/dist/cdn/{C5B7DSSA.js → AXPTSMNQ.js} +2 -2
- package/dist/cdn/{KSLSMSNN.js → B2AUDLTO.js} +2 -2
- package/dist/cdn/{EHTK6HWZ.js → BBCZTH66.js} +1 -1
- package/dist/cdn/{TNPHUDU5.js → BH7LJ72A.js} +2 -2
- package/dist/cdn/{3EVGRBFY.js → BIVUMER5.js} +1 -1
- package/dist/cdn/BJQ5IZYR.js +4 -0
- package/dist/cdn/{TGHZAXVE.js → BN32H2NI.js} +2 -2
- package/dist/cdn/BP6NB6LJ.js +18 -0
- package/dist/cdn/{XGBQUYNN.js → BPHSFWBE.js} +2 -2
- package/dist/cdn/{7S572CXN.js → BSBALSW3.js} +2 -2
- package/dist/cdn/{VXPBZUD6.js → BTHJLT2K.js} +2 -2
- package/dist/cdn/BVYE77GY.js +4 -0
- package/dist/cdn/BWY46B5P.js +4 -0
- package/dist/cdn/{TSYBPIHM.js → BY7442LE.js} +2 -2
- package/dist/cdn/C5LL6JKL.js +4 -0
- package/dist/cdn/C6RAYAOF.js +18 -0
- package/dist/cdn/C7N6NXZS.js +4 -0
- package/dist/cdn/{CGUIDOP7.js → CBAXU66B.js} +2 -2
- package/dist/cdn/{OGW4H5WS.js → CBU5ZJTL.js} +2 -2
- package/dist/cdn/{YLMMX2OH.js → CDC2AGQU.js} +2 -2
- package/dist/cdn/{WIZLQW7N.js → CH2V66RG.js} +2 -2
- package/dist/cdn/{AABCWF4V.js → CST36BMZ.js} +2 -2
- package/dist/cdn/CU4HDBVA.js +4 -0
- package/dist/cdn/{RFH4QYOD.js → CXHBMY3H.js} +2 -2
- package/dist/cdn/D3MKS27U.js +18 -0
- package/dist/cdn/{NCU6UX4Y.js → DAE4AFWE.js} +2 -2
- package/dist/cdn/{ZUSLGKOQ.js → DDIKF3Y6.js} +2 -2
- package/dist/cdn/{GVD3BPTW.js → DHZBJPEI.js} +2 -2
- package/dist/cdn/{753QAV4W.js → DKB2YHXU.js} +2 -2
- package/dist/cdn/{IXTBS5WJ.js → DMOKBYTT.js} +2 -2
- package/dist/cdn/{RUKTK5PF.js → DNSP25OL.js} +1 -1
- package/dist/cdn/{4LOK3JWB.js → DQCGIKDE.js} +2 -2
- package/dist/cdn/{77US24T3.js → DVKB52PG.js} +2 -2
- package/dist/cdn/{F2T2S2QU.js → E6YH3G2I.js} +1 -1
- package/dist/cdn/E7DQW7XG.js +18 -0
- package/dist/cdn/{DMWC3BFF.js → EIG2RIEW.js} +2 -2
- package/dist/cdn/{A3YY7YT4.js → EJ2ZYQDN.js} +2 -2
- package/dist/cdn/{COE4KJBH.js → EU66V4DL.js} +2 -2
- package/dist/cdn/{WZT6CYOJ.js → EUJJCM4N.js} +2 -2
- package/dist/cdn/{B5KSOIAE.js → EW2G5EHV.js} +2 -2
- package/dist/cdn/{PS7XJL2U.js → EXPP7EHV.js} +2 -2
- package/dist/cdn/{K7A26VQP.js → F3ITEU5L.js} +2 -2
- package/dist/cdn/{RX5LSG2B.js → FGX5VXCN.js} +2 -2
- package/dist/cdn/{FJDXAEGB.js → FQRP6IK4.js} +2 -2
- package/dist/cdn/{EFEMVR7H.js → FYGEDZYU.js} +2 -2
- package/dist/cdn/{KQT4EINQ.js → G2U2FC5M.js} +2 -2
- package/dist/cdn/{Y737Y2JU.js → G4VDYGGB.js} +2 -2
- package/dist/cdn/{7U4V4KQD.js → G57AFF3K.js} +1 -1
- package/dist/cdn/GJYS7J5Y.js +4 -0
- package/dist/cdn/{37FXFNVH.js → GLKAIY7B.js} +2 -2
- package/dist/cdn/{6WGXTLF4.js → GSHJMUOL.js} +2 -2
- package/dist/cdn/{DEQ6UPN5.js → H236KX4X.js} +2 -2
- package/dist/cdn/{375NF2W7.js → H7J6NVIQ.js} +2 -2
- package/dist/cdn/{A534RBYP.js → HE7ELDIR.js} +1 -1
- package/dist/cdn/{BAUJD3CH.js → HISSLYMD.js} +2 -2
- package/dist/cdn/{Y33UFW64.js → HMOPCXOD.js} +2 -2
- package/dist/cdn/{2IP6OT43.js → HVCG3MNH.js} +2 -2
- package/dist/cdn/{UKSUWA3B.js → HX4VINVI.js} +1 -1
- package/dist/cdn/{KTKSUQ5S.js → HY3PBNPE.js} +3 -3
- package/dist/cdn/{CX2QWWHL.js → I2QY6RRM.js} +2 -2
- package/dist/cdn/IARLSMD2.js +4 -0
- package/dist/cdn/IDOBPHGE.js +4 -0
- package/dist/cdn/{TQWK6V5V.js → IGNOSAEB.js} +1 -1
- package/dist/cdn/{4QO4KGLF.js → IJNIOO5S.js} +2 -2
- package/dist/cdn/{TBQ6UDD2.js → IQVXZDV3.js} +2 -2
- package/dist/cdn/{JVW5HI2D.js → ITWRX5NJ.js} +2 -2
- package/dist/cdn/{VXCPN4DG.js → J4QVOH72.js} +2 -2
- package/dist/cdn/J5SSKOUJ.js +18 -0
- package/dist/cdn/{IXJEV6RS.js → J67A6WYJ.js} +2 -2
- package/dist/cdn/{VXZ2B534.js → J6BS2SYI.js} +2 -2
- package/dist/cdn/{FWP6XYXK.js → J6SZZA33.js} +1 -1
- package/dist/cdn/{LDJU7VV4.js → JCJADZGS.js} +2 -2
- package/dist/cdn/JFXEOOWV.js +4 -0
- package/dist/cdn/{GH7MZ4TU.js → JQKAETCU.js} +1 -1
- package/dist/cdn/{7QIEPJRP.js → K3UTGJMU.js} +1 -1
- package/dist/cdn/{JQ7HMAJD.js → KF6SZPRF.js} +2 -2
- package/dist/cdn/KK5EFX35.js +4 -0
- package/dist/cdn/{VKXA2IQW.js → KMK3IXHT.js} +2 -2
- package/dist/cdn/{I4QX6RMP.js → KQ6WZUPW.js} +2 -2
- package/dist/cdn/KYJLH6UV.js +4 -0
- package/dist/cdn/L6MHQFEW.js +4 -0
- package/dist/cdn/LHDC2KUS.js +4 -0
- package/dist/cdn/{YQMCID5Z.js → LMJVHANR.js} +2 -2
- package/dist/cdn/{4OJANGG2.js → LYLGDYC3.js} +2 -2
- package/dist/cdn/{PY55NBB3.js → M4Q44Y7R.js} +2 -2
- package/dist/cdn/{7VTP4EVO.js → M6VJRRQ6.js} +2 -2
- package/dist/cdn/{45CNJSWY.js → MBB3DRUX.js} +2 -2
- package/dist/cdn/{MAVOVPIB.js → MCOVXOZE.js} +2 -2
- package/dist/cdn/{NMZOOVD5.js → MDBE6QB6.js} +2 -2
- package/dist/cdn/{3GL66CHB.js → ME3PJXJC.js} +2 -2
- package/dist/cdn/{UZFCVNKV.js → MEIJQ75E.js} +2 -2
- package/dist/cdn/{7ESWUYD7.js → MFT2YTZE.js} +2 -2
- package/dist/cdn/{WC247XQ6.js → MJ6UHJO5.js} +2 -2
- package/dist/cdn/{VU6ZKOYY.js → MMQ4KQ2B.js} +2 -2
- package/dist/cdn/{4BIK73M6.js → MPH25RN2.js} +2 -2
- package/dist/cdn/{3EO7HXAA.js → MRDF2627.js} +2 -2
- package/dist/cdn/MRHAUAK5.js +4 -0
- package/dist/cdn/{PUKJYYTH.js → MS7LIRHZ.js} +2 -2
- package/dist/cdn/{QZYPXSAV.js → MW46SBLS.js} +2 -2
- package/dist/cdn/{BOHONSFJ.js → MWZRE5PN.js} +2 -2
- package/dist/cdn/{QQBRQOVF.js → MX2NQ664.js} +2 -2
- package/dist/cdn/{HQIAVN67.js → N2SRPBDD.js} +1 -1
- package/dist/cdn/N4BYA7EI.js +4 -0
- package/dist/cdn/{RV5R7U2A.js → N4NNCHK6.js} +2 -2
- package/dist/cdn/N6AFW5X5.js +18 -0
- package/dist/cdn/{PYIX27UL.js → N6WPLWG3.js} +2 -2
- package/dist/cdn/{M2MY5G5H.js → N765GK5M.js} +2 -2
- package/dist/cdn/{PSP2JCLX.js → NDXSJLKV.js} +1 -1
- package/dist/cdn/NF6VWQKC.js +18 -0
- package/dist/cdn/{QEZIPKKL.js → NHKMUTOW.js} +2 -2
- package/dist/cdn/{QPA3WWD5.js → NJBLOY6O.js} +2 -2
- package/dist/cdn/{4DELYGXR.js → NS7LWOIF.js} +1 -1
- package/dist/cdn/{DBQ42J5H.js → NVRFL7NL.js} +2 -2
- package/dist/cdn/NZUFRJWD.js +4 -0
- package/dist/cdn/{X6AY6CXE.js → O7SEZIYA.js} +2 -2
- package/dist/cdn/{VF3OE7WS.js → OGNLV67M.js} +1 -1
- package/dist/cdn/{WVJNLVM2.js → OJUIATLV.js} +2 -2
- package/dist/cdn/OMJT2NGS.js +4 -0
- package/dist/cdn/ORFCQZNQ.js +4 -0
- package/dist/cdn/OSZNMAJF.js +4 -0
- package/dist/cdn/OU5FGKZQ.js +4 -0
- package/dist/cdn/{DC22KAGH.js → OWFH6YUK.js} +2 -2
- package/dist/cdn/OX6RYCMB.js +4 -0
- package/dist/cdn/OXHWMQRP.js +4 -0
- package/dist/cdn/{4P66S2XD.js → P5VXHMBV.js} +2 -2
- package/dist/cdn/{KQRRNLN7.js → P6I2SMSL.js} +2 -2
- package/dist/cdn/{YT3HXHZX.js → PA6X2UX4.js} +2 -2
- package/dist/cdn/{J4JPFH2C.js → PBS5CVH6.js} +2 -2
- package/dist/cdn/{BF4MLXML.js → PJC5OY32.js} +1 -1
- package/dist/cdn/{OKHJNJQ3.js → PK2KYHCB.js} +2 -2
- package/dist/cdn/{RPF35HAJ.js → PQ55EL2N.js} +2 -2
- package/dist/cdn/{TXLKUYV2.js → PT2PN6JX.js} +25 -25
- package/dist/cdn/{PYNMB3I2.js → PWAA6UKX.js} +2 -2
- package/dist/cdn/{LZC5OKYE.js → PZ4I46YP.js} +2 -2
- package/dist/cdn/{W3GM72GU.js → Q2BUQJJY.js} +2 -2
- package/dist/cdn/{GU6ODYX3.js → Q4KUEUUN.js} +2 -2
- package/dist/cdn/{GFKIE25D.js → Q7OC2577.js} +2 -2
- package/dist/cdn/QBKQBYYD.js +4 -0
- package/dist/cdn/{WTQ4CUVN.js → QH7FXF55.js} +2 -2
- package/dist/cdn/QIVGXNMA.js +4 -0
- package/dist/cdn/{XXLQWESJ.js → QKUXZWFL.js} +2 -2
- package/dist/cdn/{BZES2KJM.js → QMCJ7WTH.js} +2 -2
- package/dist/cdn/QNUW3X3Y.js +4 -0
- package/dist/cdn/{C5POLXJA.js → QPQDH5UO.js} +2 -2
- package/dist/cdn/{PLASWOCJ.js → QTN6BMW2.js} +1 -1
- package/dist/cdn/{M3JQHFSU.js → QUB3JPGL.js} +1 -1
- package/dist/cdn/{SRZKPJVK.js → QZWC4VIB.js} +2 -2
- package/dist/cdn/{LKE4PKVZ.js → R2RYAQ6J.js} +2 -2
- package/dist/cdn/{5JQYCQWD.js → R6VHQQOK.js} +1 -1
- package/dist/cdn/RDBY4KOY.js +4 -0
- package/dist/cdn/{IKGNORRI.js → RHC7DNDW.js} +1 -1
- package/dist/cdn/{7C7SXM4M.js → RQNGE4QQ.js} +2 -2
- package/dist/cdn/RQZHVOZW.js +4 -0
- package/dist/cdn/{H4S5Q3QE.js → RSH2UKEC.js} +2 -2
- package/dist/cdn/{2JQ2BEIQ.js → RUMM4LRY.js} +2 -2
- package/dist/cdn/{6C3QGOV2.js → RVQFI2GI.js} +2 -2
- package/dist/cdn/{TKP6ZIYO.js → RZBKYA4H.js} +1 -1
- package/dist/cdn/{2DNLAFAS.js → S5AIQSGG.js} +2 -2
- package/dist/cdn/{6EBCWPAA.js → SB6IKLS3.js} +2 -2
- package/dist/cdn/{AB4XPYGH.js → SEVUDBYU.js} +2 -2
- package/dist/cdn/{YHQYMIPA.js → SEWOHKIX.js} +3 -3
- package/dist/cdn/{KFYEVP5G.js → SFYHUOTM.js} +2 -2
- package/dist/cdn/{DUVNOIA7.js → SLARORK6.js} +2 -2
- package/dist/cdn/SMUXGPZR.js +4 -0
- package/dist/cdn/{WP57L3ZR.js → SPYEGWSA.js} +2 -2
- package/dist/cdn/{WY2YAJV2.js → SZVMRJ24.js} +1 -1
- package/dist/cdn/T4PEWJBT.js +4 -0
- package/dist/cdn/{4AMMMHQL.js → T5ORGPHJ.js} +2 -2
- package/dist/cdn/T757ITK2.js +4 -0
- package/dist/cdn/T7XUVORP.js +4 -0
- package/dist/cdn/{ASHWLSNH.js → TA2KPG6T.js} +2 -2
- package/dist/cdn/TF5NNCNV.js +4 -0
- package/dist/cdn/{LWNLZFMB.js → TGECS5FN.js} +2 -2
- package/dist/cdn/{GK2GYSCW.js → TK6UBBJX.js} +2 -2
- package/dist/cdn/{DZWNJWAP.js → TL4CBL4J.js} +2 -2
- package/dist/cdn/{KAZSBKHX.js → TND7GPH7.js} +1 -1
- package/dist/cdn/{2ETHF7OM.js → TSJWAHST.js} +2 -2
- package/dist/cdn/{QUGE5UIB.js → TYK6M57O.js} +2 -2
- package/dist/cdn/U5EERXBG.js +4 -0
- package/dist/cdn/{PXCWZJ7U.js → UDSTQRSC.js} +2 -2
- package/dist/cdn/UGDEHIGY.js +4 -0
- package/dist/cdn/{2AZTGGQP.js → UGWIFJHW.js} +1 -1
- package/dist/cdn/UHMFK7KR.js +18 -0
- package/dist/cdn/{O5NFMICR.js → UHULYTFL.js} +1 -1
- package/dist/cdn/{GEOD3XEI.js → UJYMNOGA.js} +2 -2
- package/dist/cdn/UPVA5Z5X.js +6 -0
- package/dist/cdn/URAHLQ3P.js +4 -0
- package/dist/cdn/{JSPHL3ZQ.js → UZSGGRRN.js} +2 -2
- package/dist/cdn/{XM4IJDWV.js → V3KV4ZPK.js} +1 -1
- package/dist/cdn/V3STUVBX.js +4 -0
- package/dist/cdn/{AMW6PLM5.js → V72LELKA.js} +2 -2
- package/dist/cdn/{B4IYKBMJ.js → VC3OUF74.js} +2 -2
- package/dist/cdn/{UUUHJN3K.js → VOP3WFWQ.js} +2 -2
- package/dist/cdn/VSEHM5KR.js +4 -0
- package/dist/cdn/{JOYJ7K2X.js → VVZJIYXL.js} +2 -2
- package/dist/cdn/W23X7NWO.js +4 -0
- package/dist/cdn/{F3GQ2KDF.js → W5Q4PI4D.js} +2 -2
- package/dist/cdn/{PCAPJGRX.js → WDJYH74E.js} +2 -2
- package/dist/cdn/{PPVPQPWQ.js → WONNB7ZA.js} +2 -2
- package/dist/cdn/{BMVYNMLV.js → WPQTSQ5W.js} +2 -2
- package/dist/cdn/WQUBINLR.js +4 -0
- package/dist/cdn/{USSUHCJG.js → WS7S5Z7C.js} +2 -2
- package/dist/cdn/{AF27BERT.js → X26TSF65.js} +2 -2
- package/dist/cdn/X7CS7ZS5.js +4 -0
- package/dist/cdn/{OWK6VKPV.js → XF3EBBPG.js} +2 -2
- package/dist/cdn/{RV44MYN7.js → XHXK6QN7.js} +2 -2
- package/dist/cdn/{FDRKGYGJ.js → XINOQA62.js} +1 -1
- package/dist/cdn/{FFU546ZJ.js → XL6DAOQU.js} +2 -2
- package/dist/cdn/XMOLE7SD.js +4 -0
- package/dist/cdn/{OZVC6WF4.js → XNRASUFU.js} +2 -2
- package/dist/cdn/{KVEA5E7H.js → XOZFNKXY.js} +2 -2
- package/dist/cdn/{GQVTZIV3.js → XPTTFHFY.js} +2 -2
- package/dist/cdn/{UNYBJ7BO.js → XWBLDO6F.js} +1 -1
- package/dist/cdn/{KIQPCYN6.js → XYDJHJLZ.js} +1 -1
- package/dist/cdn/{N2SMCNLL.js → XYDZ75MI.js} +2 -2
- package/dist/cdn/{FGCO2ORF.js → Y3DUHGHO.js} +1 -1
- package/dist/cdn/{OIK6EGQ7.js → YEK5YHI4.js} +2 -2
- package/dist/cdn/{K3GLXE2P.js → YFRUN4NK.js} +2 -2
- package/dist/cdn/{QPGA66A2.js → YWLH4TVT.js} +2 -2
- package/dist/cdn/{YWSDRWQN.js → YWS4DWQO.js} +2 -2
- package/dist/cdn/{I6ZE3VUY.js → YX2IMVKL.js} +1 -1
- package/dist/cdn/{6PD2H4JH.js → YX4KF34C.js} +2 -2
- package/dist/cdn/Z2FRFIOF.js +4 -0
- package/dist/cdn/Z3W52BA5.js +4 -0
- package/dist/cdn/ZLEZXMKN.js +18 -0
- package/dist/cdn/{MUWEJYVI.js → ZM76BYQX.js} +2 -2
- package/dist/cdn/{4MI7L2IM.js → ZPQ43SZ3.js} +2 -2
- package/dist/cdn/{YMQZBSVF.js → ZQRUDWGJ.js} +2 -2
- package/dist/cdn/ZRIOHEOT.js +4 -0
- package/dist/cdn/{G457BSKN.js → ZUKAASU2.js} +2 -2
- package/dist/cdn/ZXBKW6YA.js +4 -0
- 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 +2 -2
- 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 +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.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.d.ts +1 -1
- package/dist/components/feature-list/customElement.js +2 -2
- 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 +2 -2
- 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 +200 -73
- package/dist/docs/docs.json +217 -74
- package/dist/docs/vscode.html-custom-data.json +8 -2
- package/dist/docs/web-types.json +49 -7
- 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 +26 -26
- package/dist/cdn/2V47J56C.js +0 -18
- package/dist/cdn/3O4G5XDF.js +0 -18
- package/dist/cdn/3WWZQYHU.js +0 -18
- package/dist/cdn/4H2V4B6C.js +0 -4
- package/dist/cdn/4RYZ25UY.js +0 -4
- package/dist/cdn/4W4XMW2A.js +0 -4
- package/dist/cdn/5LUSAPPH.js +0 -4
- package/dist/cdn/6JY7QTCS.js +0 -4
- package/dist/cdn/6KPH5V5K.js +0 -4
- package/dist/cdn/7N6NOB6I.js +0 -4
- package/dist/cdn/A5FGCYNW.js +0 -8
- package/dist/cdn/A6RESCXF.js +0 -4
- package/dist/cdn/AH6XEMQ2.js +0 -4
- package/dist/cdn/B7B5O4K4.js +0 -18
- package/dist/cdn/BVSTBYJQ.js +0 -4
- package/dist/cdn/C6BGGFEF.js +0 -4
- package/dist/cdn/CDDGYF3K.js +0 -4
- package/dist/cdn/CUK7OF76.js +0 -4
- package/dist/cdn/DJG2ZUWK.js +0 -4
- package/dist/cdn/DYWRP4H5.js +0 -18
- package/dist/cdn/FVAP4UBB.js +0 -6
- package/dist/cdn/G4CYMD2F.js +0 -4
- package/dist/cdn/HI7D2U25.js +0 -4
- package/dist/cdn/HLGUH3Z5.js +0 -4
- package/dist/cdn/HYWAINS4.js +0 -4
- package/dist/cdn/I3E3JX77.js +0 -4
- package/dist/cdn/IRZGR6FA.js +0 -18
- package/dist/cdn/JKOAF37V.js +0 -18
- package/dist/cdn/JUIF3JFS.js +0 -4
- package/dist/cdn/KNPFBJQA.js +0 -4
- package/dist/cdn/KTI5QE2K.js +0 -4
- package/dist/cdn/KZFFQCTK.js +0 -4
- package/dist/cdn/M5DV4YRX.js +0 -18
- package/dist/cdn/MC2Q2QYK.js +0 -4
- package/dist/cdn/MI54WZOS.js +0 -18
- package/dist/cdn/MTPMC5GM.js +0 -4
- package/dist/cdn/MU4OTO47.js +0 -4
- package/dist/cdn/MW3TOC4O.js +0 -4
- package/dist/cdn/N6EHMAJL.js +0 -4
- package/dist/cdn/NF2EHSNV.js +0 -4
- package/dist/cdn/NKZQ7OVS.js +0 -4
- package/dist/cdn/NP4W7EDK.js +0 -4
- package/dist/cdn/O3JIKJGK.js +0 -4
- package/dist/cdn/OS2XMULM.js +0 -4
- package/dist/cdn/P325FJIH.js +0 -4
- package/dist/cdn/PGXDDG5S.js +0 -4
- package/dist/cdn/PUQGIVUM.js +0 -4
- package/dist/cdn/Q5AWSODM.js +0 -4
- package/dist/cdn/Q7M5LNDV.js +0 -4
- package/dist/cdn/RRC2IGCL.js +0 -4
- package/dist/cdn/SZEHA4OQ.js +0 -4
- package/dist/cdn/T2HT5CMC.js +0 -18
- package/dist/cdn/T6E7HFWP.js +0 -4
- package/dist/cdn/TARGNPVA.js +0 -4
- package/dist/cdn/TCDPSWNN.js +0 -4
- package/dist/cdn/TY7GL3FG.js +0 -4
- package/dist/cdn/TZRKKXAD.js +0 -4
- package/dist/cdn/U3YAUOKI.js +0 -4
- package/dist/cdn/U45DGMUG.js +0 -4
- package/dist/cdn/UANGRMJE.js +0 -32
- package/dist/cdn/UUIA7SBZ.js +0 -4
- package/dist/cdn/VTR2E6HB.js +0 -4
- package/dist/cdn/WSWWUPOS.js +0 -4
- package/dist/cdn/YLTGHBKB.js +0 -4
- package/dist/cdn/YO3NHOIF.js +0 -4
- package/dist/cdn/ZEVGAANR.js +0 -4
- package/dist/cdn/ZRK24AZH.js +0 -4
- package/dist/cdn/ZUVIZNK3.js +0 -4
package/dist/cdn/B7B5O4K4.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 */
|
4
|
-
import"./KIQPCYN6.js";import{b as A}from"./XDTSRIUV.js";import"./FVAP4UBB.js";import"./YXHUA4CI.js";import"./FWP6XYXK.js";import"./SZEHA4OQ.js";import"./WSWWUPOS.js";import"./3EO7HXAA.js";import"./FDRKGYGJ.js";import"./CDDGYF3K.js";import"./4QO4KGLF.js";import"./QEZIPKKL.js";import"./NP4W7EDK.js";import"./M3JQHFSU.js";import"./PSP2JCLX.js";import"./HQIAVN67.js";import"./ATNDBD4K.js";import"./WP57L3ZR.js";import"./5YSFQ4E3.js";import"./CLZ76DFI.js";import"./L72F3CMH.js";import"./TKP6ZIYO.js";import{a as C}from"./MAFJTGI7.js";import"./D55TK32T.js";import{c as F,d as O,j as y}from"./MAVOVPIB.js";import{j as b}from"./XM4IJDWV.js";import{c as S}from"./4DELYGXR.js";import{a as u,b as g}from"./DUVNOIA7.js";import{b as x}from"./KAZSBKHX.js";import{a as E}from"./IXJEV6RS.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"./ZGA5KQXP.js";import"./PLASWOCJ.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/BVSTBYJQ.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 */
|
4
|
-
import{a as o}from"./PPVPQPWQ.js";import{a as r}from"./VTR2E6HB.js";import"./4QO4KGLF.js";import"./KZFFQCTK.js";import"./QEZIPKKL.js";import"./L72F3CMH.js";import{a as s}from"./WIZLQW7N.js";import"./4RYZ25UY.js";import"./2VDJE4V4.js";import"./F2T2S2QU.js";import"./OWK6VKPV.js";import"./DMWC3BFF.js";import"./7S572CXN.js";import"./TNPHUDU5.js";import"./PS7XJL2U.js";import"./VUHPVY6F.js";import"./HG3L3JDR.js";import"./UZFCVNKV.js";import"./WY2YAJV2.js";import"./FFU546ZJ.js";import"./3EVGRBFY.js";import"./KFYEVP5G.js";import"./QUGE5UIB.js";import"./NMZOOVD5.js";import"./EHTK6HWZ.js";import"./BOHONSFJ.js";import"./RV44MYN7.js";import"./UKSUWA3B.js";import"./FGCO2ORF.js";import"./PLASWOCJ.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createAssociation.any:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createAssociation.admins:translate}}`]}}]}]}]}),c=async(e,l,t)=>Object.assign({},o("hubAssociationsGroup",t));export{c as buildDefaults,p as buildUiSchema};
|
package/dist/cdn/C6BGGFEF.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 */
|
4
|
-
import{a as u,e as h}from"./YO3NHOIF.js";import{a}from"./O3JIKJGK.js";import"./WZT6CYOJ.js";import"./FVAP4UBB.js";import"./YXHUA4CI.js";import"./FWP6XYXK.js";import"./SZEHA4OQ.js";import"./WSWWUPOS.js";import"./3EO7HXAA.js";import"./FDRKGYGJ.js";import"./CDDGYF3K.js";import"./4QO4KGLF.js";import"./QEZIPKKL.js";import"./NP4W7EDK.js";import"./M3JQHFSU.js";import"./PSP2JCLX.js";import"./HQIAVN67.js";import"./ATNDBD4K.js";import"./WP57L3ZR.js";import"./5YSFQ4E3.js";import"./CLZ76DFI.js";import"./L72F3CMH.js";import"./XM4IJDWV.js";import{D as l,n as o,p as n,y as i}from"./ZGA5KQXP.js";import"./PLASWOCJ.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
|
package/dist/cdn/CDDGYF3K.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 */
|
4
|
-
var u="::",r="|";function c(t){return t.indexOf(r)>-1&&(t=t.replace(r,u)),t}function f(t){return t[0]==="{"&&(t=t.substring(1,t.length-1)),/^(\{){0,1}[0-9a-fA-F]{8}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{12}(\}){0,1}$/gi.test(t)}var i="~",p=256,o="slug";function S(t,e,n=0){return[o,e.toLowerCase(),t].join("|").substring(0,p-n).replace(/-+$/,"").replace(new RegExp(`^${o}\\|`),"")}function _(t){let e=`${o}|${t}|`;return p-e.length}var a=(t,e)=>`${t.split(r).pop()}${i}${e}`;export{f as a,c as b,o as c,S as d,_ as e,a as f};
|
package/dist/cdn/CUK7OF76.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 */
|
4
|
-
import{a as n}from"./2AZTGGQP.js";import{a as s}from"./LZC5OKYE.js";import"./NP4W7EDK.js";import"./M3JQHFSU.js";import"./PSP2JCLX.js";import"./HQIAVN67.js";import{a as r,b as i}from"./JYTMSQVX.js";import"./AB4XPYGH.js";import"./ATNDBD4K.js";import{a as o}from"./VXZ2B534.js";import{a}from"./562IDXBA.js";import"./WP57L3ZR.js";import"./5YSFQ4E3.js";import"./CLZ76DFI.js";import"./L72F3CMH.js";import"./WIZLQW7N.js";import"./4RYZ25UY.js";import"./2VDJE4V4.js";import"./F2T2S2QU.js";import"./OWK6VKPV.js";import"./DMWC3BFF.js";import"./7S572CXN.js";import"./TNPHUDU5.js";import"./PS7XJL2U.js";import"./VUHPVY6F.js";import"./HG3L3JDR.js";import"./UZFCVNKV.js";import"./WY2YAJV2.js";import"./FFU546ZJ.js";import"./3EVGRBFY.js";import"./KFYEVP5G.js";import"./QUGE5UIB.js";import"./NMZOOVD5.js";import"./EHTK6HWZ.js";import"./BOHONSFJ.js";import"./RV44MYN7.js";import"./UKSUWA3B.js";import"./FGCO2ORF.js";import"./PLASWOCJ.js";var d=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},n(e),{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"page",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await i(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
|
package/dist/cdn/DJG2ZUWK.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 */
|
4
|
-
import{a as s}from"./RUKTK5PF.js";import{a as r}from"./LZC5OKYE.js";import"./NP4W7EDK.js";import"./M3JQHFSU.js";import"./PSP2JCLX.js";import"./HQIAVN67.js";import{a as o}from"./562IDXBA.js";import"./WP57L3ZR.js";import"./5YSFQ4E3.js";import"./L72F3CMH.js";import"./PLASWOCJ.js";var y=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}},...r(e,t.thumbnail,s(t),"group",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}}]}]}]});export{y as buildUiSchema};
|
package/dist/cdn/DYWRP4H5.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 */
|
4
|
-
import{a as f}from"./GH7MZ4TU.js";import{q as g,r as u,s as w}from"./FVAP4UBB.js";import"./YXHUA4CI.js";import"./FWP6XYXK.js";import"./SZEHA4OQ.js";import"./WSWWUPOS.js";import"./3EO7HXAA.js";import"./FDRKGYGJ.js";import"./CDDGYF3K.js";import"./4QO4KGLF.js";import"./QEZIPKKL.js";import"./NP4W7EDK.js";import"./M3JQHFSU.js";import"./PSP2JCLX.js";import"./HQIAVN67.js";import"./ATNDBD4K.js";import"./WP57L3ZR.js";import"./5YSFQ4E3.js";import"./CLZ76DFI.js";import"./L72F3CMH.js";import{a as h}from"./IXJEV6RS.js";import{B as n,D as m,c,d as i,x as d,y as p}from"./ZGA5KQXP.js";import"./PLASWOCJ.js";var y=c`/** @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
|
-
*/calcite-card{width:220px}@media (max-width: 400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(50%);filter:brightness(50%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:var(--calcite-color-text-inverse)}calcite-card:hover{outline:2px solid var(--calcite-ui-brand);box-sizing:border-box;cursor:pointer}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.width-full{width:100%}.deployed-label-override{--calcite-label-text-color: var(--calcite-color-text-3);--calcite-label-margin-bottom: 0px}.deployed-icon-override{--calcite-icon-color: var(--calcite-color-text-3)}.padding-end-1-2{padding-inline-end:.5rem}.display-flex{display:flex}.align-items-center{align-items:center}.font-weight-bold{font-weight:700}.font-weight-normal{font-weight:400}.icon-brand-color{--calcite-icon-color: var(--calcite-color-brand)}.update-icon-absolute{position:absolute;right:1rem}.update-icon-absolute[dir=rtl]{position:absolute;left:1rem}.header-line-height{line-height:2.5rem}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }`;async function D(l,e){let o=await w(l,e);if(!o)throw new Error(`Solution ${l} was not found`);let b=e?.portal.replace("/sharing/rest","")??"https://www.arcgis.com",s=[];if(o.templates[0].item)s=o.templates.map(a=>({id:a.itemId,title:a.item.title,type:a.item.type,typeKeywords:a.item.typeKeywords,dependencies:a.dependencies,snippet:a.item.snippet}));else{let a=o.templates.map(t=>t.type==="Group"?g(t.itemId,e):u(t.itemId,e));s=(await Promise.allSettled(a)).filter(t=>t.status==="fulfilled").map(t=>t.value).map((t,v)=>{let _=typeof t.type>"u"?"group":"item";return{id:t.id,title:t.title,type:t.type??"Group",typeKeywords:t.typeKeywords,dependencies:o.templates[v].dependencies,snippet:t.snippet,url:`${b}/home/${_}.html?id=${t.id}`}})}return s}var r=class extends p{constructor(){super(...arguments),this.allowDelete=!1,this.deployedDate="",this.description="",this.heading="",this.itemId="",this.owner="",this.thumbnail="",this.updateAvailable=!1,this.userSessionContextConsumer=d({context:f,subscribe:!0}),this._isDeleteOpen=!1,this._isDiagramOpen=!1,this.templateInfoGraph=[],this._translations=h({name:"solution-deployed-card",blocking:!0})}static{this.properties={allowDelete:5,card:0,deployedDate:1,description:1,heading:1,itemId:1,owner:1,thumbnail:1,updateAvailable:5,userSessionContextConsumer:32,_isDeleteOpen:16,_isDiagramOpen:16,templateInfoGraph:16,_translations:16}}static{this.styles=y}render(){return i`<div><calcite-card .label=${this.description} @click=${this._cardSelected}>${this._getImage()}${this._getHeader()}<p slot=description>${this.description}</p><div>${this._getOwnerLabel()}${this._getDeployedDate()}</div><div class="width-full" slot=footer-start>${this._getConfigureButton()}</div></calcite-card>${this._renderDeleteDialog()}${this._renderDiagramDialog()}</div>`}_getImage(){let e=this.userSessionContextConsumer.value;return i`<div class="card-image-wrap" slot=thumbnail><img class="thumbnail card-image" alt=${this.heading??n} src=${`${this.thumbnail}&token=${e?.token}`}><div class="hover-text">${this._translations.configure}</div></div>`}_getHeader(){return i`<div class="display-flex align-items-center header-line-height" slot=heading>${this.heading}<calcite-icon class="icon-brand-color update-icon-absolute" icon=refresh id=solution-update-available-icon @click=${this._updateAvailable} scale=s></calcite-icon><calcite-tooltip placement=bottom reference-element=solution-update-available-icon>${this._translations.updateAvailable}</calcite-tooltip></div>`}_getOwnerLabel(){return i`<calcite-label class="font-weight-bold padding-end-1-2" layout=inline>${`${this._translations.owner}:`}<calcite-link class="font-weight-normal" @click=${this._openUserProfile}>${this.owner}</calcite-link></calcite-label>`}_getDeployedDate(){return i`<div class="display-flex align-items-center"><calcite-icon class="deployed-icon-override padding-end-1-2" icon=projects scale=s></calcite-icon><calcite-label class="deployed-label-override">${this._translations.deployedDate.replace("{{date}}",this.deployedDate)}</calcite-label></div>`}_getConfigureButton(){return i`<calcite-split-button appearance=outline @click=${e=>e.stopPropagation()} overlay-positioning=fixed primary-text=${this._translations.configure??n} width=full><calcite-dropdown-group selection-mode=none><calcite-dropdown-item icon-start=model @click=${this._viewDiagram}>${this._translations.viewDiagram}</calcite-dropdown-item><calcite-dropdown-item icon-start=file-text @click=${this._viewDocumentation}>${this._translations.documentation}</calcite-dropdown-item><calcite-dropdown-item icon-start=information @click=${this._viewItemDetails}>${this._translations.viewItemDetails}</calcite-dropdown-item>${this.allowDelete&&i`<calcite-dropdown-item icon-start=trash @click=${this._deleteSolution}>${this._translations.deleteSolution}</calcite-dropdown-item>`||""}</calcite-dropdown-group></calcite-split-button>`}_renderDeleteDialog(){return i`<solution-delete-dialog .card=${this.card} .open=${this._isDeleteOpen} @dialogOpen=${e=>{this._isDeleteOpen=e.detail}}></solution-delete-dialog>`}_renderDiagramDialog(){return i`<calcite-dialog class="dialog-y-size dialog-x-size" heading id modal .open=${this._isDiagramOpen} @calciteDialogClose=${()=>{this._isDiagramOpen=!1}} outside-close-disabled resizable scale=l width=l><solution-item-diagram .templateInfoGraph=${this.templateInfoGraph}></solution-item-diagram></calcite-dialog>`}_cardSelected(){alert(`Do actions for ${this.itemId}`)}async _viewDiagram(e){e.stopPropagation(),this.card&&(this.templateInfoGraph=await this._processTemplates(this.card),this._isDiagramOpen=!0)}_viewDocumentation(e){e.stopPropagation(),alert("_viewDocumentation")}_viewItemDetails(e){e.stopPropagation(),alert("_viewItemDetails")}_deleteSolution(e){e.stopPropagation(),this._isDeleteOpen=!0}_openUserProfile(e){e.stopPropagation(),alert("_openUserProfile")}_updateAvailable(e){e.stopPropagation(),alert("_updateAvailable")}async _processTemplates(e){return await D(e.id,this.userSessionContextConsumer.value)}};m("solution-deployed-card",r);export{r as SolutionDeployedCard};
|