@esri/solutions-components 1.2.0-next.13 → 1.2.0-next.14
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/{EJSHS63C.js → 275D3YQA.js} +2 -2
- package/dist/cdn/{P5PCO4JO.js → 27I2DU2C.js} +2 -2
- package/dist/cdn/{TZBJLNXJ.js → 27JI2VQ2.js} +2 -2
- package/dist/cdn/{Y55OXV6Y.js → 27LWIDZP.js} +2 -2
- package/dist/cdn/{RAJJT4B3.js → 2AN7ELSH.js} +2 -2
- package/dist/cdn/{CQKWXPD2.js → 2AXIORVV.js} +1 -1
- package/dist/cdn/{4JNGRSAC.js → 2DGB5L7S.js} +1 -1
- package/dist/cdn/2JNJ6NTC.js +18 -0
- package/dist/cdn/{K2I34C5P.js → 2KKY4D26.js} +2 -2
- package/dist/cdn/{RKSQHCLI.js → 2NEXO4CL.js} +2 -2
- package/dist/cdn/{YXWR4LGR.js → 2PQ2DS43.js} +2 -2
- package/dist/cdn/{RHNY7QXI.js → 2UWPI3SL.js} +1 -1
- package/dist/cdn/{J6NONFBS.js → 32CJQFYT.js} +1 -1
- package/dist/cdn/{S35QUYH6.js → 32KLJCZ5.js} +2 -2
- package/dist/cdn/{JN23XJLY.js → 35FQADFO.js} +2 -2
- package/dist/cdn/{JRZKK7MA.js → 3I7S3ZV4.js} +2 -2
- package/dist/cdn/{QTNQ6E24.js → 3JGSO6KR.js} +2 -2
- package/dist/cdn/{D33N2HTW.js → 3JLPYT3H.js} +2 -2
- package/dist/cdn/{AF45E6DN.js → 3QPYBQCK.js} +2 -2
- package/dist/cdn/{POWA43LB.js → 3R72A4LX.js} +2 -2
- package/dist/cdn/{JCGX73CW.js → 3SZTNCCQ.js} +2 -2
- package/dist/cdn/{WNXG3ZCI.js → 3TZNTRGM.js} +2 -2
- package/dist/cdn/{VTXQOB7L.js → 3XM3G7I5.js} +1 -1
- package/dist/cdn/{RB6DOS5Z.js → 47HZO7HH.js} +2 -2
- package/dist/cdn/4DG5M3F4.js +4 -0
- package/dist/cdn/{YCA4LRXE.js → 4DHQUG3W.js} +2 -2
- package/dist/cdn/{T6BC4NP5.js → 4FALCKMG.js} +2 -2
- package/dist/cdn/4GUQBFYH.js +18 -0
- package/dist/cdn/{YO533QFL.js → 4MS4GKD3.js} +2 -2
- package/dist/cdn/{UZAHM4E4.js → 4VTYPOLQ.js} +1 -1
- package/dist/cdn/{EGXYKGYI.js → 4WWV5LXT.js} +2 -2
- package/dist/cdn/{JC73ZWM4.js → 4X6WXZQL.js} +2 -2
- package/dist/cdn/{W3HTFD5Y.js → 4XVIRWML.js} +2 -2
- package/dist/cdn/{2CSZLHQK.js → 4Z3GVHCU.js} +2 -2
- package/dist/cdn/{SSXAOZJ5.js → 55PIVHXI.js} +2 -2
- package/dist/cdn/{2W3PXN6A.js → 55SZWBDG.js} +2 -2
- package/dist/cdn/{PW4JQUZM.js → 57VUM2OX.js} +2 -2
- package/dist/cdn/{EFUTSJBL.js → 5AGT5STX.js} +2 -2
- package/dist/cdn/{CYX3TOXQ.js → 5BLRWVVT.js} +2 -2
- package/dist/cdn/5BPJLXIU.js +4 -0
- package/dist/cdn/{3VAHLUQ4.js → 5D6QFA7E.js} +2 -2
- package/dist/cdn/{E5QWGIJK.js → 5EVX3HTC.js} +2 -2
- package/dist/cdn/5LY5OONV.js +18 -0
- package/dist/cdn/{4DJFOTO3.js → 5M3POXXX.js} +2 -2
- package/dist/cdn/{WLP4EB7V.js → 5OZ5KLPF.js} +2 -2
- package/dist/cdn/{5IFJ723U.js → 5VS5R36W.js} +2 -2
- package/dist/cdn/{VLPI3GRM.js → 64IH7HAU.js} +2 -2
- package/dist/cdn/{PXIMWP5D.js → 64KLEAWB.js} +2 -2
- package/dist/cdn/{264FY26S.js → 67YBSQOW.js} +2 -2
- package/dist/cdn/{TGA357DA.js → 6BYQHGKG.js} +2 -2
- package/dist/cdn/6CH6MP7M.js +18 -0
- package/dist/cdn/{XK3SNODM.js → 6HZDA6VL.js} +2 -2
- package/dist/cdn/{YJMNTY3L.js → 6KL3NJRR.js} +1 -1
- package/dist/cdn/{K5WH7A5V.js → 6KMU4IZC.js} +2 -2
- package/dist/cdn/{TZHAIY5U.js → 6MQTHJAJ.js} +2 -2
- package/dist/cdn/{M56EPKQ7.js → 6NTONBY4.js} +2 -2
- package/dist/cdn/6OXM73V7.js +4 -0
- package/dist/cdn/{4MCZLOOB.js → 6PK752UJ.js} +2 -2
- package/dist/cdn/{IV3H2HEK.js → 6UQXA4EH.js} +2 -2
- package/dist/cdn/{YYHJHXNM.js → 77F3Y4SZ.js} +2 -2
- package/dist/cdn/{X43BLFIH.js → 7BLXQDEK.js} +2 -2
- package/dist/cdn/{NP2V2NOI.js → 7C563I5Y.js} +2 -2
- package/dist/cdn/{NCYTPCR2.js → 7FDUBCB6.js} +2 -2
- package/dist/cdn/{AQOTRYZM.js → 7HCS7QDO.js} +2 -2
- package/dist/cdn/{W4MD3F6R.js → 7INSFWLF.js} +2 -2
- package/dist/cdn/{THJAL2CV.js → 7RXY54AE.js} +2 -2
- package/dist/cdn/{7HE7J72C.js → 7SYXERJO.js} +1 -1
- package/dist/cdn/7WEJILVE.js +4 -0
- package/dist/cdn/{OJXGKKGT.js → 7XLXELEX.js} +2 -2
- package/dist/cdn/{J7NOQ4JL.js → A437YTBB.js} +2 -2
- package/dist/cdn/{NKSKFR6W.js → AADW5ILT.js} +2 -2
- package/dist/cdn/{PZTUREPY.js → ACRHJFIK.js} +2 -2
- package/dist/cdn/{QBT6IQTV.js → AFVKHRR2.js} +2 -2
- package/dist/cdn/AKYVL4SJ.js +18 -0
- package/dist/cdn/{YBRSEZ67.js → AOB5K76I.js} +2 -2
- package/dist/cdn/{GXHFJX3X.js → AROFWN7J.js} +2 -2
- package/dist/cdn/{74VIRFHE.js → ATHCVVJJ.js} +1 -1
- package/dist/cdn/{FS57RN34.js → AU5GOE2S.js} +1 -1
- package/dist/cdn/{4RPHWQJR.js → AUHY5KDY.js} +2 -2
- package/dist/cdn/{KQY6F6TC.js → AVGRHD4G.js} +2 -2
- package/dist/cdn/{SRVRHHIV.js → B6MXVUM7.js} +2 -2
- package/dist/cdn/{O2EZB4WB.js → BH44LJSG.js} +2 -2
- package/dist/cdn/{AZIEZPYO.js → BMZSYER5.js} +1 -1
- package/dist/cdn/{X556NDQM.js → BNGZYVGD.js} +2 -2
- package/dist/cdn/{XNQ6DBW6.js → BPZYGUMF.js} +2 -2
- package/dist/cdn/{NL2ZCSNM.js → BT3PZ755.js} +1 -1
- package/dist/cdn/{62BBD2YR.js → BZ2BCVFJ.js} +2 -2
- package/dist/cdn/{TDTBNJ5F.js → BZGPGXVO.js} +2 -2
- package/dist/cdn/{2HWHSNQH.js → C44APEWJ.js} +2 -2
- package/dist/cdn/{PZEXCL57.js → CAOSAERX.js} +2 -2
- package/dist/cdn/{N53S6LBM.js → CDKJFB3T.js} +2 -2
- package/dist/cdn/{666PNIZR.js → CFSE4FBZ.js} +2 -2
- package/dist/cdn/{DCQ7GLZI.js → CJQCUJAM.js} +2 -2
- package/dist/cdn/{7JLC7H3K.js → CKNLHB2K.js} +2 -2
- package/dist/cdn/{UR5O5JWE.js → CNYLCR6J.js} +2 -2
- package/dist/cdn/{7K3Y26XM.js → CRJF3MOM.js} +2 -2
- package/dist/cdn/{BQ7CXSHY.js → CS2LIBSE.js} +2 -2
- package/dist/cdn/{MSH52ZAT.js → CUJAQZ7Q.js} +2 -2
- package/dist/cdn/{WG4X43JN.js → CVHMFFUJ.js} +2 -2
- package/dist/cdn/CWUQXXM2.js +4 -0
- package/dist/cdn/{E5JZ5Z2I.js → DA6O63VU.js} +2 -2
- package/dist/cdn/{4ADOOMTH.js → DDORSIZO.js} +2 -2
- package/dist/cdn/{JLNLIHGB.js → DEHAUXXO.js} +2 -2
- package/dist/cdn/{TZJ2HEJQ.js → DG3J22ET.js} +2 -2
- package/dist/cdn/{EUH67UW5.js → DGAAG2WP.js} +2 -2
- package/dist/cdn/{L7LPWUMH.js → DGALIRFU.js} +2 -2
- package/dist/cdn/{GDKA6GQ6.js → DJIPWE3W.js} +2 -2
- package/dist/cdn/{ZKHKSH45.js → DM2QASNK.js} +2 -2
- package/dist/cdn/{J6423EDC.js → DMLSWP4B.js} +2 -2
- package/dist/cdn/{PPDJ32JJ.js → DUSKO4ZL.js} +2 -2
- package/dist/cdn/{CFYDKX3C.js → E5356ZMA.js} +2 -2
- package/dist/cdn/{LXW2GAAY.js → E7X4JPJZ.js} +2 -2
- package/dist/cdn/{T5PVRJMO.js → ED5F2TPC.js} +1 -1
- package/dist/cdn/{CX3A6KA3.js → EDFQHWSA.js} +2 -2
- package/dist/cdn/{3WIONUEL.js → EMDJVLHN.js} +2 -2
- package/dist/cdn/{OCYZRDAE.js → ERPKGUIG.js} +2 -2
- package/dist/cdn/{2AR77FHR.js → EW33PWBK.js} +1 -1
- package/dist/cdn/{N3MCXAZD.js → EYYXEXIY.js} +2 -2
- package/dist/cdn/{RUP3N6FQ.js → F4ML5DAH.js} +2 -2
- package/dist/cdn/{WXRMP3RF.js → F4YER46Y.js} +2 -2
- package/dist/cdn/{ZG2AHKGG.js → F6HR2OXE.js} +2 -2
- package/dist/cdn/{AKL67LTE.js → F6NAYPRN.js} +2 -2
- package/dist/cdn/{CNV5CX2O.js → FB7AKBYZ.js} +2 -2
- package/dist/cdn/{WUAYRTXU.js → FC7SCLY3.js} +2 -2
- package/dist/cdn/{RP3IBMYT.js → FCF6DXVK.js} +2 -2
- package/dist/cdn/{4362MOZ7.js → FFZOA5VY.js} +2 -2
- package/dist/cdn/{PZDHZUMS.js → FJLQNJZC.js} +2 -2
- package/dist/cdn/{EEE5US3J.js → FLMHLO43.js} +2 -2
- package/dist/cdn/FQUI4DDD.js +4 -0
- package/dist/cdn/{6ICMW2XL.js → FRA2DQWF.js} +2 -2
- package/dist/cdn/{2U7YXCJZ.js → FRWCYHC7.js} +2 -2
- package/dist/cdn/{GEOJT5HE.js → G3LGAMBQ.js} +2 -2
- package/dist/cdn/{OFZUHTRM.js → G57QOE4P.js} +2 -2
- package/dist/cdn/{OX5SNROI.js → G5TP26AI.js} +2 -2
- package/dist/cdn/{UORERW5B.js → G6MDAFDN.js} +2 -2
- package/dist/cdn/{EGJY2AK7.js → GAYYLVCV.js} +2 -2
- package/dist/cdn/{AYPV6SOA.js → GCFYG2IP.js} +2 -2
- package/dist/cdn/{OM4UKQNZ.js → GESWKJMD.js} +2 -2
- package/dist/cdn/{LOHXXUG6.js → GFHDLACH.js} +2 -2
- package/dist/cdn/{IBB7QBCT.js → GG5322XB.js} +2 -2
- package/dist/cdn/{WGQUTVDW.js → GICZBA3H.js} +2 -2
- package/dist/cdn/{Q46P3XZX.js → GKDBDC5Q.js} +2 -2
- package/dist/cdn/{KKUITPWU.js → GPTEAVC5.js} +2 -2
- package/dist/cdn/{4C7Y2IWS.js → GRL5XFU3.js} +2 -2
- package/dist/cdn/{HDGNDHWN.js → GZ4MUQVE.js} +2 -2
- package/dist/cdn/{46R75UZS.js → H3D27G4Z.js} +2 -2
- package/dist/cdn/{R7232VZW.js → H7LI4JLZ.js} +1 -1
- package/dist/cdn/{3GJ7UGOW.js → HAXUZW3B.js} +2 -2
- package/dist/cdn/{7DVUJMYC.js → HCGGITXI.js} +2 -2
- package/dist/cdn/{6BSZB4T2.js → HHCUJ2TU.js} +2 -2
- package/dist/cdn/{Y6LO3REZ.js → HKHRMYR3.js} +2 -2
- package/dist/cdn/{BXOZYAJQ.js → HU23U4PP.js} +2 -2
- package/dist/cdn/{JQMG7XAE.js → IEGO27TP.js} +2 -2
- package/dist/cdn/{MXL375F4.js → IIDHHI6H.js} +2 -2
- package/dist/cdn/IJBIJEFV.js +18 -0
- package/dist/cdn/{CO3K5ZRL.js → IJCGATIB.js} +2 -2
- package/dist/cdn/{XT5JYDSP.js → INIUEMX5.js} +2 -2
- package/dist/cdn/{TOWCBV67.js → IRZ5Q6P6.js} +2 -2
- package/dist/cdn/{5FXBCVIZ.js → IVMQMFER.js} +2 -2
- package/dist/cdn/{YRVDWBVN.js → IXHQQUJE.js} +2 -2
- package/dist/cdn/{4ATL3D6V.js → J4PD5ZQ7.js} +1 -1
- package/dist/cdn/{CKH5YBMU.js → JAY4QLVZ.js} +2 -2
- package/dist/cdn/{EJAMRCQS.js → JE6G7YCF.js} +2 -2
- package/dist/cdn/{QETK5HEL.js → JH3DG6QD.js} +2 -2
- package/dist/cdn/{OKH2UKNB.js → JKJ2E3QC.js} +2 -2
- package/dist/cdn/{X2HCZOFT.js → JLFUNC3I.js} +2 -2
- package/dist/cdn/{B4F5VQMS.js → JODMPBQI.js} +2 -2
- package/dist/cdn/{NR3CW5TL.js → JOSXFLJM.js} +2 -2
- package/dist/cdn/JQONUFIG.js +18 -0
- package/dist/cdn/{4DYJLPDZ.js → K743ADKQ.js} +2 -2
- package/dist/cdn/{6XLS7PCQ.js → K74PB5FR.js} +1 -1
- package/dist/cdn/{UCQ5Y3GX.js → KISPGYCP.js} +2 -2
- package/dist/cdn/{3OAMWWCL.js → KKXIEFPA.js} +2 -2
- package/dist/cdn/{TKKIU5DK.js → KLJWOWTJ.js} +2 -2
- package/dist/cdn/{BTVB74DT.js → KQIP55UX.js} +2 -2
- package/dist/cdn/{O2GEFWLI.js → KQWVAVJY.js} +2 -2
- package/dist/cdn/{UJFJN4KW.js → KTWF7YEW.js} +2 -2
- package/dist/cdn/{EGJPBCZR.js → KUPVTR4P.js} +2 -2
- package/dist/cdn/{B7WUGBLY.js → KVC6QETL.js} +2 -2
- package/dist/cdn/{UDPQ4ROC.js → KW7MDDY3.js} +1 -1
- package/dist/cdn/{MSWWPD5H.js → L2KEAIFF.js} +2 -2
- package/dist/cdn/{HPZC3A57.js → L3254555.js} +2 -2
- package/dist/cdn/{MCTAC35U.js → L3Q3HM35.js} +1 -1
- package/dist/cdn/{Z66C7X2A.js → L5VACHLZ.js} +2 -2
- package/dist/cdn/{VID2UZG4.js → LBTMKK7G.js} +2 -2
- package/dist/cdn/{R4WW5CCG.js → LDLY6XKA.js} +2 -2
- package/dist/cdn/{CQ6WSEAJ.js → LGVRRCS5.js} +2 -2
- package/dist/cdn/{K7DE43V5.js → LK5HDTLK.js} +2 -2
- package/dist/cdn/{ZKADU2PQ.js → LLKMGYSP.js} +2 -2
- package/dist/cdn/{45W7YE6A.js → LMAODDCB.js} +2 -2
- package/dist/cdn/{NRSYVSYQ.js → LOXYPSQZ.js} +2 -2
- package/dist/cdn/{VS7KGOXE.js → LQZ5FBXA.js} +2 -2
- package/dist/cdn/{GAJHTV7P.js → LR4UN32O.js} +2 -2
- package/dist/cdn/{5QB7S4ZH.js → LRR4ZR5H.js} +2 -2
- package/dist/cdn/{CDGFD3UK.js → LZ5XRNJU.js} +2 -2
- package/dist/cdn/{UKTZGR5H.js → M35BYI7Y.js} +2 -2
- package/dist/cdn/{XKQKAGOM.js → M3PIEBE5.js} +2 -2
- package/dist/cdn/{KBHGTYPO.js → M7P2ZTLV.js} +2 -2
- package/dist/cdn/{ZWZKBEYE.js → MDIV2FIJ.js} +2 -2
- package/dist/cdn/{SCJ2RD5L.js → MDNDODSS.js} +2 -2
- package/dist/cdn/{MGTUFHO4.js → MJ3U6PJY.js} +2 -2
- package/dist/cdn/{Z4GZ7VCW.js → MOSTA2DP.js} +1 -1
- package/dist/cdn/{P4IG3MVJ.js → MPNGG3EB.js} +2 -2
- package/dist/cdn/{WSK33HZC.js → MR4CUJA5.js} +2 -2
- package/dist/cdn/{LI5JOVXC.js → MR7TKHWW.js} +2 -2
- package/dist/cdn/{ILJ2CM7J.js → MSOGJSYT.js} +2 -2
- package/dist/cdn/{SB2EYKVI.js → N3V7I4KP.js} +1 -1
- package/dist/cdn/N5SMXPJM.js +4 -0
- package/dist/cdn/{QLVC7ZPZ.js → N6FSCHMI.js} +2 -2
- package/dist/cdn/{XBZDU3YA.js → NAEHM6JI.js} +2 -2
- package/dist/cdn/{AZUSEICT.js → NCQJQIGP.js} +2 -2
- package/dist/cdn/{OPU7UG63.js → NSBCSLHQ.js} +2 -2
- package/dist/cdn/{NSESHKON.js → NWFXWOAO.js} +2 -2
- package/dist/cdn/{5KJ2N6Y6.js → NY4VVXOI.js} +2 -2
- package/dist/cdn/{MZ3GB6EK.js → NZLIU3NZ.js} +2 -2
- package/dist/cdn/{GGC45SFJ.js → O7XMERIK.js} +2 -2
- package/dist/cdn/{34NMKZ4Y.js → OA5BDZZH.js} +2 -2
- package/dist/cdn/{OREJNY5T.js → OENFSWWX.js} +2 -2
- package/dist/cdn/{M63VDRSQ.js → OGINZV2L.js} +1 -1
- package/dist/cdn/{MFAP3QSG.js → OHAUP2TS.js} +2 -2
- package/dist/cdn/{ERNEEJXE.js → OVB6WWYJ.js} +2 -2
- package/dist/cdn/{UCG52BCL.js → OVDOY2TB.js} +3 -3
- package/dist/cdn/{IFOH36K3.js → OVEIHKZZ.js} +2 -2
- package/dist/cdn/{VBNUDSSG.js → OVVYNB4P.js} +2 -2
- package/dist/cdn/{ZLWPGFJV.js → OWNE3NKH.js} +4 -4
- package/dist/cdn/{MMAHFIB4.js → OWNKZH3J.js} +2 -2
- package/dist/cdn/{ROHOQMWQ.js → OWPOIGI3.js} +2 -2
- package/dist/cdn/{MX3WCXNM.js → OYR5JAG3.js} +3 -3
- package/dist/cdn/{3N2YHBI5.js → OZP2AS5I.js} +2 -2
- package/dist/cdn/{3ZD35GYW.js → OZXJ2M5O.js} +2 -2
- package/dist/cdn/{ASXFRSKX.js → PAWE5LYT.js} +2 -2
- package/dist/cdn/{37NQHUK5.js → PB5W7EYR.js} +2 -2
- package/dist/cdn/{533OGL7O.js → PCJDMYM4.js} +2 -2
- package/dist/cdn/{7ZRSM52L.js → PDBMILPZ.js} +1 -1
- package/dist/cdn/{GW27RGOK.js → PHDYMI4U.js} +2 -2
- package/dist/cdn/{PERMCVQL.js → PNSRB675.js} +2 -2
- package/dist/cdn/{ICFQB2ET.js → PNZWOZIO.js} +1 -1
- package/dist/cdn/{AOYCH2P3.js → POIPE7OT.js} +2 -2
- package/dist/cdn/{NGPU46XL.js → PUCYFTMU.js} +2 -2
- package/dist/cdn/{G6U42YTA.js → PZGSUW4E.js} +2 -2
- package/dist/cdn/{GENBEWQD.js → Q253POJJ.js} +1 -1
- package/dist/cdn/{B2KIFSSU.js → Q25NUDBB.js} +2 -2
- package/dist/cdn/{DSWPPG73.js → QBACNHT4.js} +2 -2
- package/dist/cdn/{2WL2CX5A.js → QBVRFM7C.js} +2 -2
- package/dist/cdn/{TB44WXEK.js → QESHG4WZ.js} +2 -2
- package/dist/cdn/{6HD5QOMC.js → QOSVCQEN.js} +2 -2
- package/dist/cdn/{OO6WR2YI.js → QTDYELK6.js} +1 -1
- package/dist/cdn/{CKKF4HOA.js → QU2RIV42.js} +2 -2
- package/dist/cdn/QWXBFNTX.js +4 -0
- package/dist/cdn/{BHKNTKZ7.js → R45VY7IL.js} +2 -2
- package/dist/cdn/{LVDQBRPQ.js → R4LWV66S.js} +2 -2
- package/dist/cdn/{YPTKKUQT.js → RDKSB4BZ.js} +2 -2
- package/dist/cdn/{ZP3Z6SIG.js → REM4XQLE.js} +2 -2
- package/dist/cdn/{EUE3LP5B.js → RFLPQTHR.js} +1 -1
- package/dist/cdn/{FSP7SPX2.js → RGEOJKWT.js} +1 -1
- package/dist/cdn/RHH5VDPN.js +4 -0
- package/dist/cdn/{4VSXNGPH.js → RKGMIWAB.js} +1 -1
- package/dist/cdn/{QZUTRMW6.js → RKI47VQ2.js} +2 -2
- package/dist/cdn/{TLY64OYB.js → RKIYQIND.js} +2 -2
- package/dist/cdn/{YHGLE6WS.js → RSERAAVS.js} +2 -2
- package/dist/cdn/RXTPHD3N.js +4 -0
- package/dist/cdn/{5OKDP5DK.js → S3UOX3S5.js} +2 -2
- package/dist/cdn/{XLUDDUX2.js → S5HZ3ZDX.js} +2 -2
- package/dist/cdn/{52TMIUZW.js → SCHYFVMA.js} +1 -1
- package/dist/cdn/{2Z5HA7D5.js → SDATDAKA.js} +2 -2
- package/dist/cdn/{RRQMNUDN.js → SE7AJBLC.js} +2 -2
- package/dist/cdn/{CFMJKVXR.js → SFSJYGXN.js} +1 -1
- package/dist/cdn/SIV3TXNM.js +18 -0
- package/dist/cdn/{XPNCU35H.js → SLDGR2DM.js} +2 -2
- package/dist/cdn/{ISEVSKNV.js → SQKB5YHF.js} +1 -1
- package/dist/cdn/{TWNSH3OD.js → T66ZKGRR.js} +1 -1
- package/dist/cdn/{3RO3BXDV.js → T6TRDLLW.js} +2 -2
- package/dist/cdn/{RAV53JFJ.js → TDYZLGUB.js} +2 -2
- package/dist/cdn/{555TJYQH.js → TFX7FLLB.js} +2 -2
- package/dist/cdn/{RDKNMWCS.js → TLXOAJK5.js} +2 -2
- package/dist/cdn/{5RDTSHLH.js → TX7XEQOI.js} +1 -1
- package/dist/cdn/{G2HMKJU3.js → TYRLD7J2.js} +2 -2
- package/dist/cdn/{XQJGWD7F.js → TYSGRYCE.js} +2 -2
- package/dist/cdn/{JD6EFQ6S.js → TZG6SUZL.js} +2 -2
- package/dist/cdn/{WUUFD7I3.js → U3YMG7NH.js} +2 -2
- package/dist/cdn/{EC2IHLSY.js → U62Y6WZO.js} +2 -2
- package/dist/cdn/{QL2DC6OE.js → UCPFFUQC.js} +2 -2
- package/dist/cdn/{3EOM2MFQ.js → ULJ5HIFK.js} +2 -2
- package/dist/cdn/{66KC2NXW.js → UPJWS62Y.js} +2 -2
- package/dist/cdn/{ZFIDAXHF.js → UYXUVFKE.js} +2 -2
- package/dist/cdn/{7WUQL7OH.js → V5TIHCQF.js} +2 -2
- package/dist/cdn/{OHBUH6XG.js → VC3WICDQ.js} +2 -2
- package/dist/cdn/{X4JROJKB.js → VD6EFCRJ.js} +2 -2
- package/dist/cdn/{3O5VSR67.js → VDCKQGGM.js} +2 -2
- package/dist/cdn/{MRGIGMEJ.js → VG77G3L3.js} +2 -2
- package/dist/cdn/{O466Y44Q.js → VHJXFNTB.js} +2 -2
- package/dist/cdn/{NSUKDWLQ.js → VJWAIQPC.js} +2 -2
- package/dist/cdn/{NFFXMGV3.js → VKLLQNEW.js} +2 -2
- package/dist/cdn/{2K763HQO.js → VN2Z7U4S.js} +2 -2
- package/dist/cdn/{UAD3Z7G6.js → VNHY7WVH.js} +2 -2
- package/dist/cdn/VNZX5NLF.js +4 -0
- package/dist/cdn/{YM6SKW7B.js → VQCSCWLK.js} +2 -2
- package/dist/cdn/{5YOZB2R2.js → VYCVM7AQ.js} +1 -1
- package/dist/cdn/{SICWCCBR.js → VYETQ5OQ.js} +2 -2
- package/dist/cdn/{RDOMCTUL.js → W5LN2VYT.js} +2 -2
- package/dist/cdn/{NQBEYMGR.js → WAOQ3JCJ.js} +2 -2
- package/dist/cdn/{K5AAAN6G.js → WC7D5CTI.js} +2 -2
- package/dist/cdn/WDUEH22A.js +4 -0
- package/dist/cdn/{QBLSQMGQ.js → WNWEV3AC.js} +2 -2
- package/dist/cdn/{QVON44ZD.js → WOF27X3U.js} +1 -1
- package/dist/cdn/{2ZUELHRU.js → WR2MBTUF.js} +2 -2
- package/dist/cdn/{RHKI3HOF.js → WTGX35K4.js} +2 -2
- package/dist/cdn/{3CBSLNB4.js → WTU66RJH.js} +2 -2
- package/dist/cdn/{EIWKHVBY.js → WTZ5V3MZ.js} +2 -2
- package/dist/cdn/{VC5VGOUO.js → WYUUHAX5.js} +1 -1
- package/dist/cdn/{U3X4JOWT.js → X5XLKUPY.js} +2 -2
- package/dist/cdn/{WRG3LT22.js → X73PGIQR.js} +2 -2
- package/dist/cdn/{XEYWQFQ5.js → X7S4K6O4.js} +2 -2
- package/dist/cdn/{NQMRDDCN.js → XEIR3HD2.js} +2 -2
- package/dist/cdn/{XSUH5ZWN.js → XGMVUDCR.js} +2 -2
- package/dist/cdn/{N2M3Q7OL.js → XJV42NPL.js} +2 -2
- package/dist/cdn/{SF3MI2B2.js → XQYMKMCD.js} +2 -2
- package/dist/cdn/{IIH6CLH2.js → XTSZRRWZ.js} +2 -2
- package/dist/cdn/{5MKFPVBN.js → XU5Y7VU2.js} +2 -2
- package/dist/cdn/{WXX3JVS7.js → XUFAW7KH.js} +2 -2
- package/dist/cdn/{VWVYEBDH.js → XUJUH4UK.js} +2 -2
- package/dist/cdn/{2XAZ3RTK.js → XUTQASNK.js} +2 -2
- package/dist/cdn/{V6OSHRQM.js → XW6UDQOC.js} +2 -2
- package/dist/cdn/{X5C4AZW2.js → Y2HBFVM4.js} +2 -2
- package/dist/cdn/{D5WGUMCY.js → Y3LT4KUT.js} +1 -1
- package/dist/cdn/{O4KKRMWS.js → Y3TZCUDN.js} +2 -2
- package/dist/cdn/Y4NZE64P.js +4 -0
- package/dist/cdn/{G2DGDDPX.js → Y4RGBYW4.js} +2 -2
- package/dist/cdn/{JBGL4JKZ.js → Y7LGH6KN.js} +1 -1
- package/dist/cdn/{F56KK6GE.js → YK3CVDW7.js} +2 -2
- package/dist/cdn/{NLLWLHBU.js → YK7CSNSO.js} +2 -2
- package/dist/cdn/{XUAIYIQ2.js → YYLWNW2V.js} +2 -2
- package/dist/cdn/{JM7YFJWW.js → YYS3KCN2.js} +2 -2
- package/dist/cdn/{M224VK7H.js → Z27EOVYK.js} +2 -2
- package/dist/cdn/{554YPOFT.js → Z6DZIVF7.js} +2 -2
- package/dist/cdn/{33SJC5CJ.js → ZASSV5QG.js} +2 -2
- package/dist/cdn/{22DI4MLQ.js → ZBPVWS4U.js} +2 -2
- package/dist/cdn/{ABV7A3TM.js → ZDRTTMHR.js} +2 -2
- package/dist/cdn/{4XAMBKX4.js → ZERWOJO6.js} +3 -3
- package/dist/cdn/{44CIVCB6.js → ZMWV3XIS.js} +2 -2
- package/dist/cdn/{BOSS7OMS.js → ZPI3URP2.js} +8 -6
- package/dist/cdn/{PWZHR4OS.js → ZPJLLGVT.js} +2 -2
- package/dist/cdn/{GAEULQXJ.js → ZQ53XSXJ.js} +2 -2
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.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 +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.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.d.ts +0 -23
- package/dist/components/arcgis-solutions-assistant/customElement.js +97 -68
- package/dist/components/arcgis-solutions-assistant/index.d.ts +3 -3
- package/dist/components/arcgis-solutions-assistant/index.js +3 -3
- package/dist/components/arcgis-solutions-assistant/utils/querySolutions.d.ts +16 -0
- 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 +3 -3
- 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 +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- 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-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.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +2 -2
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.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-card/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +6 -6
- package/dist/components/solutions-all-shell/customElement.js +23 -23
- package/dist/components/solutions-deploy-app/customElement.js +2 -2
- package/dist/components/solutions-deploy-app-nav/customElement.js +4 -4
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +12 -12
- package/dist/components/solutions-deployed-shell/customElement.js +11 -11
- package/dist/components/solutions-filter-panel/customElement.js +18 -18
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +2 -2
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/4ENQBAQD.js +0 -4
- package/dist/cdn/5GDSQ7SZ.js +0 -18
- package/dist/cdn/5X4CMXBT.js +0 -4
- package/dist/cdn/B3QOZGKK.js +0 -18
- package/dist/cdn/D3K4ITIF.js +0 -4
- package/dist/cdn/DHEB777B.js +0 -4
- package/dist/cdn/EF5AJQH3.js +0 -18
- package/dist/cdn/FQY7OKCX.js +0 -4
- package/dist/cdn/IJVQHYFH.js +0 -4
- package/dist/cdn/JNL2IBVR.js +0 -18
- package/dist/cdn/LX5BVFDE.js +0 -4
- package/dist/cdn/MKKM47E4.js +0 -18
- package/dist/cdn/O7Q6YMZH.js +0 -4
- package/dist/cdn/QDOG42JX.js +0 -18
- package/dist/cdn/QEKRYT2T.js +0 -18
- package/dist/cdn/RY5ANV6A.js +0 -4
- package/dist/cdn/SLU6KLLC.js +0 -4
- package/dist/cdn/SLXWBGDY.js +0 -4
- package/dist/cdn/VGMWPYEH.js +0 -4
- package/dist/cdn/VGXU7I7U.js +0 -4
- package/dist/cdn/VYGWWP54.js +0 -18
package/dist/cdn/IJVQHYFH.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.13 */
|
|
4
|
-
import{a as f}from"./2XAZ3RTK.js";import{a as D}from"./FS57RN34.js";import{a as L}from"./RAJJT4B3.js";import{B as S,C as I}from"./TWNSH3OD.js";import{b as k}from"./PZEXCL57.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{C as $,D as b,E as F,G as p,h as C,i as l,l as h,o as E}from"./NL2ZCSNM.js";import"./GENBEWQD.js";var _="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function v(m){return m.replaceAll("'","''")}function y(m,e=!1){if(m){let t=new Date(m),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function T(m){if(m!=null){m.value=["",""];let e=m.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=C`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,d={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},w=class extends F{constructor(){super(...arguments),this._messages=L({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.baseClass=_,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=D(this.el)==="dark"?P:_,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([I(),S()]);this.geometryJsonUtils=t,this.intl=e}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(T(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&T(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!x.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return i?(await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${v(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e);if(!i)return!1;let{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=y(a[`min${i}`]),t.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);if(!s)return!1;await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${v(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&x.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,g)=>u.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,g)=>u-g):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!x.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){let s=await this.handleExpressionType(e,t,i);this.requestUpdate(),s&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${v(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t?.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}if(e.type==="time-only"){let i=this.intl.convertDateFormatToIntlOptions("long-time");return this.intl.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!x.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${b(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??h} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return f(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return f("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??h} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?f(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??h} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??h} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??h} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??h} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${b(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??h} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??h} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,e)}></calcite-action>`:void 0}};k("instant-apps-filter-list",w);export{w as InstantAppsFilterList};
|
package/dist/cdn/JNL2IBVR.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.13 */
|
|
4
|
-
import c from"./T6BC4NP5.js";import b from"./IFOH36K3.js";import{b as x}from"./JBGL4JKZ.js";import{a as S,b as C,c as f,d as w}from"./ICFQB2ET.js";import a from"./6BSZB4T2.js";import{a as r}from"./J7NOQ4JL.js";import"./G2DGDDPX.js";import"./XUAIYIQ2.js";import"./2AR77FHR.js";import"./LXW2GAAY.js";import"./TZHAIY5U.js";import"./CNV5CX2O.js";import"./CQKWXPD2.js";import"./52TMIUZW.js";import"./YXWR4LGR.js";import"./EUE3LP5B.js";import"./4ATL3D6V.js";import"./YJMNTY3L.js";import"./7DVUJMYC.js";import"./PZTUREPY.js";import"./HDGNDHWN.js";import"./VTXQOB7L.js";import"./M63VDRSQ.js";import"./YHGLE6WS.js";import"./ISEVSKNV.js";import"./Z4GZ7VCW.js";import{p as g,q as v}from"./J6NONFBS.js";import{a as y}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b as m}from"./OKH2UKNB.js";import{C as s,D as i,E as T,G as u,h as _,i as n,o as d}from"./NL2ZCSNM.js";import"./GENBEWQD.js";export default $arcgis.t(([,{f:$,g:A},k])=>{var I=_`/** @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
|
-
*/.back-color-override{background-color:var(--calcite-color-foreground-2);--calcite-tab-border-color: var(--calcite-color-foreground-3)}.display-none{display:none!important}.shell-container{width:1440px;display:block;max-width:96vw;padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tabs{--calcite-color-focus: transparent;height:100%}solutions-searchsort-toolbar,solutions-deploy-app-nav{width:1440px;display:block;max-width:96vw;padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box}.border{height:1px;border-bottom-color:var(--calcite-color-border-3);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box}`,b=class extends T{constructor(){super(),this.sortType="relevance",this.useLocalAppConfig=!1,this.authentication=void 0,this._isLoaded=!1,this.isMobile=!1,this._translations=y({name:"solutions-deploy-app",blocking:!0}),this._agoTerms=`${g} OR ${v}`,this._allCards=[],this._allShell=s(),this._allTab=s(),this._allTabTitle=s(),this._resourcesTab=s(),this._resourcesTabTitle=s(),this._authContextProvider=r({context:f}),this._categories=[],this._configContextProvider=r({context:w}),this._delay=!1,this._deployAppNav=s(),this._detailsShell=s(),this._detailsTab=s(),this._detailsTabTitle=s(),this._getSuggested=!1,this._isMobileContextProvider=r({context:C}),this._mySolutionsShell=s(),this._mySolutionsTab=s(),this._mySolutionsTabTitle=s(),this._sortField="relevance",this._sortOrder="desc",this._userSessionContextProvider=r({context:S}),this.deployAppTabSelected=d(),this.detailsCardSelected=d(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"deployProgressEnd",this._deployProgressEnd),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={appConfig:1,sortType:1,useLocalAppConfig:5,authentication:16,_isLoaded:16,isMobile:16,_translations:16}}static{this.styles=I}async selectTab(t,e){if(this._isLoaded){console.log("selectTab");let a=this._getDefaultSearchOptions(e);switch(t.tabType){case"all-solutions":this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0,a&&await this._allShell.value?.searchSolutions(a);break;case"resources":this._resourcesTab.value.selected=!0,this._resourcesTabTitle.value.selected=!0;break;case"details":if(this._allCards){let l=$(this._allCards,t.tabTitleOrId);l=l||A(this._allCards,t.tabTitleOrId),l?(this._detailsTab.value.selected=!0,this._detailsTabTitle.value.selected=!0,this.detailsCardSelected.emit(l)):(t.tabType="all-solutions",this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0)}break;case"deployments":this._mySolutionsTab.value.selected=!0,this._mySolutionsTabTitle.value.selected=!0,a&&await this._mySolutionsShell.value?.searchSolutions(a);break}this._setActiveTab(new CustomEvent("setActiveTab",{detail:t.tabType})),this._blurTabs()}else this._initTab=t,this._initFilters=e}async connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}async load(){this.useLocalAppConfig&&(this.appConfig=x)}render(){let t=this._isLoaded?"display-none":"",e=this._isLoaded?"":"display-none";return n`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} @authInit=${this._handleAuthInit} @navTabSelected=${this._setActiveTab} slot=header .useLocalAppConfig=${this.useLocalAppConfig} ${i(this._deployAppNav)}></solutions-deploy-app-nav><div class="border" slot=header></div><solutions-searchsort-toolbar .isMobile=${this.isMobile} slot=header></solutions-searchsort-toolbar><calcite-loader class=${u(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader><calcite-tabs class=${u(e)} scale=l><calcite-tab-nav class="shell-container display-none" slot=title-group><calcite-tab-title ${i(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title>${this.authentication?.IsSignedIn?n`<calcite-tab-title ${i(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title>`:""}<calcite-tab-title ${i(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${i(this._detailsTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override" selected ${i(this._allTab)}><solutions-all-shell class="shell-container height-100" ${i(this._allShell)}></solutions-all-shell></calcite-tab>${this.authentication?.IsSignedIn?n`<calcite-tab class="back-color-override" ${i(this._mySolutionsTab)}><solutions-deployed-shell class="shell-container height-100" ${i(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab>`:""}<calcite-tab class="back-color-override" ${i(this._resourcesTab)}><solutions-resources-shell class="shell-container height-100"></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${i(this._detailsTab)}><solution-details-panel class="shell-container height-100" ${i(this._detailsShell)}></solution-details-panel></calcite-tab></calcite-tabs></calcite-shell>`}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange)}async _handleAuthInit(t){let e=t.detail;e.userSession&&this._userSessionContextProvider.setValue(e.userSession),e.authentication&&(this.authentication=e.authentication,this._authContextProvider.setValue(this.authentication)),this._configContextProvider.setValue(e),this._cardsFetcher=new k(e.locale,e.orgUrl,e.portalUrl),await this._getSolutions(e.primarySolutionsGroupId),this._isLoaded=!0,this._initTab&&(this.selectTab(this._initTab,this._initFilters),this._initTab=void 0,this._initFilters=void 0)}_mediaQueryChange(t){this.isMobile=t.matches,this._isMobileContextProvider.setValue(this.isMobile)}_setActiveTab(t){let e=t.detail;switch(e){case"all-solutions":this._allTabTitle.value?.click();break;case"deployments":this._mySolutionsTabTitle.value?.click();break;case"resources":this._resourcesTabTitle.value?.click();break;case"details":this._detailsTabTitle.value?.click();break}e!=="details"&&(this._deployAppNav.value.activateMenuItem(e),this.deployAppTabSelected.emit(e))}_detailsCardSelected(){this._detailsTabTitle.value.selected=!0,this._detailsTab.value.selected=!0,this._deployAppNav.value.clearMenuItems()}_deployProgressEnd(){this._mySolutionsTabTitle.value.selected=!0,this._mySolutionsTab.value.selected=!0}async _getSolutions(t){let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},t,"",this._userSessionContextProvider.value,{num:1e3});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards),this._allCards}_blurTabs(){this._allTabTitle.value?.blur(),this._resourcesTabTitle.value?.blur(),this._detailsTabTitle.value?.blur(),this._mySolutionsTabTitle.value?.blur()}_getDefaultSearchOptions(t){let e;if(t){let a=t.domain,l=t.industry,p=t.offerType,c=t.searchTerm,L="",o=t.sortField,h=t.owner;e=a||l?{type:a?"domain":l?"industry":""}:void 0,a&&(e=e?{...e,domain:a}:{domain:a}),l&&(e=e?{...e,industry:l}:{industry:l}),c&&(e=e?{...e,searchTerm:c}:{searchTerm:c}),e&&(e={...e,displayValue:L}),o&&(e=e?{...e,sortType:o}:{sortType:o}),p&&(o=p.toLowerCase(),e=e?{...e,sortType:o}:{sortType:o}),h&&(e=e?{...e,owner:h}:{owner:h})}return e}};m("solutions-deploy-app",b);return b},a,b,c)
|
package/dist/cdn/LX5BVFDE.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.13 */
|
|
4
|
-
import{a as C}from"./UAD3Z7G6.js";import{a as v,b as E,p as y}from"./NL2ZCSNM.js";var O=(n,r)=>{let e=n;for(;e;){if(e===r)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},L=(n,r,e)=>{let o=A(r).subscribe;return o(t=>{t.some(s=>O(n,s.target))&&e()})},h={},A=n=>{let r=n.join(","),e=h[r];if(e!==void 0)return e;let o=new Set,t=new MutationObserver(s=>o.forEach(a=>a(s)));globalThis.document&&t.observe(document.documentElement,{attributes:!0,attributeFilter:n,subtree:!0});let i={subscribe:s=>(o.add(s),()=>{o.delete(s),o.size===0&&(t.disconnect(),h[r]=void 0)})};return h[r]=i,i},T=(n,r)=>{let e=n;for(;e;){let o=e.closest?.(r);if(o)return o;let t=e.getRootNode?.();if(t===globalThis.document)return;e=t.host}};var N=(n,r,e)=>T(n,`[${r}]`)?.getAttribute(r)??e;var M="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),_=new Set(M),d="en",$={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},S=async(n,r,e="")=>{let o=`${r}/${e}`,t=`${o}${n}.json`;return f[t]??(f[t]=x(n,o)),await f[t]},f={},x=async(n,r)=>{let e=`${r}${n}.json`;try{let o=await fetch(e);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return n===d?{}:await x(d,r)},m=n=>{let r=N(n,"lang",globalThis.navigator?.language||d);return{lang:r,t9nLocale:w(r)}},w=n=>{let[r,e]=n.split("-"),o=r.toLowerCase(),t=o;return e&&(t=`${o}-${e.toUpperCase()}`),t=$[t]??t,_.has(t)?t:e?w(o):d},P=(n,r,e,o)=>{let t,i=()=>j(n,r(),o).then(s=>{(t?.lang!==s.lang||t.t9nLocale!==s.t9nLocale||t.t9nStrings!==s.t9nStrings)&&e(s),t=s}).catch(console.error);return queueMicrotask(i),L(n,["lang"],i)},j=async(n,r,e=n.localName.split("-").slice(1).join("-"))=>{let{lang:o,t9nLocale:t}=m(n),i=`${r}/${e}/t9n`,a=e===null?{}:await S(t,i,"messages.");return{lang:o,t9nLocale:t,t9nStrings:a}};var F=n=>D(void 0,n);var g=class extends y{constructor(r,e){super(r);let o=this.exports;try{E(this.component);let t=e(this.component,this),i=this.exports!==o;if(v(t)){i||this.setProvisionalExports(t);let s=t.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this.P.reject(a),console.error(a)});this.onLoad(async()=>await s)}else(!i||t!==void 0)&&(this.exports=t),queueMicrotask(()=>super.catchUpLifecycle())}catch(t){this.P.reject(t),console.error(t)}}catchUpLifecycle(){}},D=C(g);var le=n=>(r={})=>F((e,o)=>{let t=m(e.el),i={_lang:t.lang,_t9nLocale:t.t9nLocale,_loading:!0},s=e;o.onLifecycle(()=>P(e.el,()=>n("./assets"),({t9nLocale:c,t9nStrings:l,lang:u})=>{let p={...l,_lang:u,_t9nLocale:c,_loading:!1};o.exports=p;let b=l.componentLabel;typeof b=="string"&&"label"in e&&e.label==null&&(e.label??=b),a(s.messageOverrides)},r.name));let a=c=>{let l=o.exports,u=l._original??l,p=k(u,c);c&&(p._original=u),o.exports=p};return"messageOverrides"in s&&o.onUpdate(c=>{c.has("messageOverrides")&&a(s.messageOverrides)}),r.blocking?(o.setProvisionalExports(i,!1),o.ready):i}),k=(n,r)=>{if(!r)return n;let e={...n};return Object.entries(r).forEach(([o,t])=>{typeof t=="object"?e[o]=k(n[o],t):e[o]=t??n[o]}),e};export{le as a};
|
package/dist/cdn/MKKM47E4.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.13 */
|
|
4
|
-
import{a as y,b as x}from"./ICFQB2ET.js";import{b as n}from"./J7NOQ4JL.js";import{a as v}from"./5MKFPVBN.js";import{k as m,l as _}from"./J6NONFBS.js";import{a as g}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b}from"./OKH2UKNB.js";import{C as o,D as a,E as u,G as p,H as r,I as f,h,i,o as d}from"./NL2ZCSNM.js";import"./GENBEWQD.js";var S=h`/** @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
|
-
*/.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:1rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-1{z-index:1}.z-index-2{z-index:2}h1{font-weight:unset;margin:0;padding:0}@media(max-width:800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media(min-width:800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}.height-100{height:100%}.height-32{height:32px}.filter-border{border-color:var(--calcite-color-border-3);border-style:solid;border-width:var(--calcite-border-width-sm)}`,c=class extends u{constructor(){super(),this.solutionsCount=0,this.filterOpen=!0,this._filters={categories:[],searchTerm:""},this.isMobile=!1,this._translations=g({name:"solutions-all-shell",blocking:!0}),this._allSolutionsPanelRef=o(),this._solutionsFilterPanelRef=o(),this._isMobileContextConsumer=n({context:x,subscribe:!0,callback:e=>this.isMobile=e}),this._userSessionContextConsumer=n({context:y,subscribe:!0}),this.filterRemoved=d(),this.listenOn(window,"searchChanged",e=>{e.detail&&e.detail.scope==="all-solutions"&&this._filterApplied(e.detail.option)})}static{this.properties={solutionsCount:9,filterOpen:16,_filters:16,isMobile:16,_translations:16}}static{this.styles=S}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async searchSolutions(e){if(this._allSolutionsPanelRef.value.setSearchOptions(e),"industry"in e||"domain"in e){e.displayValue=e.domain||e.industry;let t=e.industry?Object.entries(m).find(([,l])=>l===e.industry)?.[0]:void 0,s=e.domain?Object.entries(_).find(([,l])=>l===e.domain)?.[0]:void 0;e.industry=t||"",e.domain=s||"",e.value=s||t,this._solutionsFilterPanelRef.value.changeIndustryFilter(e.industry,e.domain,e.displayValue,!0)}else("searchTerm"in e||"sortType"in e)&&("searchTerm"in e&&(this._filters.searchTerm=e.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(e))}async load(){this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value)}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<calcite-button appearance=outline-fill class="filter-button mock-fab z-index-2" icon-start=${e??f} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><h1 class="height-100"><calcite-panel class="border-override header-override panel-override z-index-1"><div class=${`display-flex align-items-center height-32 ${t}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}${this._filters.categories&&this._filters.categories?.length>0&&i`<calcite-button appearance=transparent icon-start=reset @click=${()=>{this._filters={...this._filters,categories:[]},this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories),this.filterRemoved.emit([])}} .label=${this._translations.clearIndustryFilter}>${this._translations.clearIndustryFilter}</calcite-button>`||""}</div>${this.isMobile&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></h1></calcite-shell>`}_getFilterPanel(){let e=this.filterOpen?{display:"flex"}:"";return this.isMobile?i`<calcite-panel class=${p(this.filterOpen?"background-override":"filter background-override")} id=solutions-all-shell-panel-start style=${r(e)}><solutions-filter-panel class="height-100 filter-border" @applyFilter=${t=>{this._filterApplied(t.detail)}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel>`:i`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start position=start slot=panel-start style=${r(e)}><calcite-panel><solutions-filter-panel class="height-100" .isAIsettingEnabled=${!!this._userSessionContextConsumer.value?.token} @applyFilter=${t=>{this._filterApplied(t.detail)}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-all-panel @cardsFetched=${this._updateSolutionCount} style=${r(e)} ${a(this._allSolutionsPanelRef)}></solutions-all-panel>`}_renderChips(){if(!this._filters.categories)return;let e=this._filters.categories.filter(t=>t.type==="industry"||t.type==="domain");return e.length>0?v(e,t=>`${t.type}:${t.value}`,t=>i`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${t.displayValue} @calciteChipClose=${()=>this._chipClosed(t.displayValue,t.type)} .value=${t.displayValue}>${t.displayValue}</calcite-chip>`):void 0}_updateSolutionCount(e){this.solutionsCount=e.detail}_chipClosed(e,t){if(this._filters.categories){if(t==="industry")this._filters.categories=[];else{let s=this._filters.categories.filter(l=>l.displayValue!==e&&l.type!==t);this._filters.categories=s}this._filters.categories.length>0?this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories):this._filters.searchTerm!==""?(this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories),this._allSolutionsPanelRef.value?.searchSolutions({searchTerm:this._filters.searchTerm})):this._allSolutionsPanelRef.value?.searchSolutions(),this.filterRemoved.emit(this._filters.categories)}}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){if(this._filters.categories)if(e){let t=e;"displayValue"in e?this._filters.categories.push(e):Array.isArray(e)&&e.length>0&&(e.length>=2&&(t=[e[e.length-1]]),this._filters.categories=e),"searchTerm"in t&&(this._filters.searchTerm=t.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(t)}else this._filters.categories=[],this._allSolutionsPanelRef.value?.searchSolutions()}};b("solutions-all-shell",c);export{c as SolutionsAllShell};
|
package/dist/cdn/O7Q6YMZH.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.13 */
|
|
4
|
-
import{a as x}from"./UDPQ4ROC.js";import{a as h}from"./74VIRFHE.js";import{b as m}from"./PZEXCL57.js";import{E as d,G as i,H as _,h as c,i as e,l as o,o as l}from"./NL2ZCSNM.js";import"./GENBEWQD.js";var u=(a=>(a.TOP_LEFT="top-left",a.TOP_CENTER="top-center",a.TOP_RIGHT="top-right",a.CENTER_LEFT="center-left",a.CENTER="center",a.CENTER_RIGHT="center-right",a.BOTTOM_LEFT="bottom-left",a.BOTTOM_CENTER="bottom-center",a.BOTTOM_RIGHT="bottom-right",a))(u||{}),f=c`:host{--instant-apps-landing-page-background-color: var(--calcite-color-brand);--instant-apps-landing-page-text-color: var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color: var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size: var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size: var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size: var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s: 100px;--instant-apps-landing-page-icon-image-scale--m: 250px;--instant-apps-landing-page-icon-image-scale--l: 500px;--instant-apps-landing-page-entry-button-margin: 0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:60px;transition:top .5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:10px 0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size);margin:10px 0}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px;margin-top:10px;overflow-y:auto;flex:1 1 auto}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0,0,0,.4),0px 8px 13px rgba(0,0,0,.1),0px 18px 23px rgba(0,0,0,.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:10px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex;padding:20px 0}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}`,n={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},r=class extends d{constructor(){super(...arguments),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.iconImageScale="m",this.alignment=u.CENTER,this.disableTransition=!0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.landingPageClose=l(),this.landingPageOpen=l()}static{this.properties={titleText:1,subtitleText:1,descriptionText:1,entryButtonText:1,iconImage:1,iconImageScale:1,iconImageAltText:1,alignment:0,disableTransition:5,backgroundImageSrc:1,open:5,entryButtonScale:1,fontFamily:3,enableSignIn:5,portal:0,oauthappid:1}}static{this.styles=f}willUpdate(t){t.has("open")&&(this.hasUpdated||!this.open)&&(this.open?this.landingPageOpen.emit():this.landingPageClose.emit()),this.checkEnableSignIn()}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${n.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:t}=this,{s,m:p,l:g}=n.iconImageScale;return t==="l"?g:t==="s"?s:p}getContentStyle(){let t=x(this.fontFamily);return this.backgroundImageSrc?{fontFamily:t,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:t}}checkEnableSignIn(){if(this.enableSignIn){let t=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;t!=null&&((Date.now()-t)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}}render(){return this.renderLandingPageContent()}renderLandingPageContent(){let t=this.open?"":this.disableTransition?` ${n.closedNoTransition}`:` ${n.closed}`,s=this.getAlignmentClass(),p=this.disableTransition?` ${n.removeTransition}`:"",g=this.getContentStyle();return e`<div style=${_(g)} class=${`${n.BASE}${s}${t}${p}`}><div class=${i(n.backgroundAction)}><slot name=background-action></slot></div><div class=${i(n.contentContainer)}>${this.renderIconImage()}${this.renderTitleText()}${this.renderSubtitleText()}${this.renderDescriptionText()}</div>${this.renderEntryButtonContainer()}</div>`}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():e`<div class=${i(n.buttonContainer)}>${this.renderEntryButton()}<slot name=secondary-action></slot></div>`}renderLandingPageSignIn(){return e`<instant-apps-sign-in type=landingPage landing-page .portal=${this.portal} .oauthappid=${this.oauthappid} .closeLandingPage=${this.closeLandingPage.bind(this)}></instant-apps-sign-in>`}renderIconImage(){return this.iconImage?e`<img class=${`${n.iconImage}${this.getIconImageScale()}`} src=${this.iconImage??o} alt=${this.iconImageAltText??o}>`:null}renderTitleText(){return e`<h1 class=${i(n.titleText)}>${this.titleText}</h1>`}renderSubtitleText(){return e`<span class=${i(n.subtitleText)}>${this.subtitleText}</span>`}renderDescriptionText(){return e`<p class=${i(n.descriptionText)} .innerHTML=${this._sanitizer?.sanitize(this.descriptionText)??""??""}></p>`}renderEntryButton(){return e`<calcite-button class=${i(n.entryButton)} @click=${this.closeLandingPage} .scale=${this.entryButtonScale} appearance=outline-fill>${this.entryButtonText?this.entryButtonText:"Enter"}</calcite-button>`}};m("instant-apps-landing-page",r);export{r as InstantAppsLandingPage};
|
package/dist/cdn/QDOG42JX.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.13 */
|
|
4
|
-
import g from"./4DJFOTO3.js";import e from"./T6BC4NP5.js";import d from"./IFOH36K3.js";import{a as b,c as I,d as A}from"./ICFQB2ET.js";import a from"./6BSZB4T2.js";import{b as h}from"./J7NOQ4JL.js";import"./G2DGDDPX.js";import"./XUAIYIQ2.js";import"./2AR77FHR.js";import"./LXW2GAAY.js";import"./TZHAIY5U.js";import"./CNV5CX2O.js";import"./CQKWXPD2.js";import"./52TMIUZW.js";import"./YXWR4LGR.js";import"./EUE3LP5B.js";import"./4ATL3D6V.js";import"./YJMNTY3L.js";import"./7DVUJMYC.js";import"./PZTUREPY.js";import"./HDGNDHWN.js";import"./VTXQOB7L.js";import"./M63VDRSQ.js";import"./YHGLE6WS.js";import"./ISEVSKNV.js";import"./Z4GZ7VCW.js";import{k as w,l as T,o as v,p as u,q as x}from"./J6NONFBS.js";import{a as f}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b as S}from"./OKH2UKNB.js";import{E as C,h as m,i as l,j as y,o as c}from"./NL2ZCSNM.js";import"./GENBEWQD.js";export default $arcgis.t(([,{c:L},g,F])=>{var V=m`/** @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-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding:.2rem 1rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}`,O=5,_=class extends C{constructor(){super(),this.sortType="relevance",this._cards=[],this._isLoading=!0,this._modifiedCheckTry=0,this._translations=f({name:"solutions-all-panel",blocking:!0}),this._agoTerms=`${u} OR ${x}`,this._allCards=[],this._authContextConsumer=h({context:I,subscribe:!0}),this._baseAgoTerms=u,this._categories=[],this._configContextConsumer=h({context:A,subscribe:!0,callback:async e=>{e&&await this._loadUpdateProcedures()}}),this._delay=!1,this._getSuggested=!1,this._relatedSolutions=new Set,this._sortField="relevance",this._sortOrder="desc",this._userSessionContextConsumer=h({context:b,subscribe:!0}),this.cardsFetched=c(),this.allCardsFetched=c(),this.searchTermSet=c(),this.detailsCardSelected=c(),this.listenOn(window,"deployProgressEnd",()=>{this._modifiedCheckTry=O,this._loadUpdateProcedures()}),this.listenOn(window,"solutionDeleted",()=>{this._modifiedCheckTry=O,this._loadUpdateProcedures()}),this.listenOn(window,"sortTypeChanged",e=>{e.detail&&e.detail.scope==="all-solutions"&&(this.sortType=e.detail.sortType,this.searchSolutions(e.detail))}),this.listenOn(window,"solutionIDFromAssistant",e=>{this._lookupSolutionById(e.detail)})}static{this.properties={sortType:1,_cards:16,_isLoading:16,_modifiedCheckTry:16,_translations:16}}static{this.styles=V}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),this._cards=await this._getSolutions()}async setSearchOptions(e){e&&("searchTerm"in e&&(this._textSearch(e.searchTerm),this.searchTermSet.emit({searchTerm:e.searchTerm,scope:"all-solutions"})),"sortType"in e&&this._sortCards(e))}render(){return l`<calcite-panel><calcite-card-group class="card-group" .label=${this._translations.allSolutionCards}>${this._renderCards()}</calcite-card-group></calcite-panel>`}_renderCards(){return this._isLoading?l`<calcite-loader id=solutions-all-panel-loader .label=${this._translations.fetchingSolutions}></calcite-loader>`:this._cards.length?this._cards.map(e=>l`<solution-details-card .card=${e}></solution-details-card>`):l`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.noSolutionsFound}</div></div>`}async _getSolutions(){if(this._configContextConsumer.value){this._isLoading=!0;let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},this._configContextConsumer.value?.primarySolutionsGroupId,"",this._userSessionContextConsumer.value,{num:1e3}),t=e?.cards.length?e.cards:[];if(this.sortType==="new"||this.sortType==="updated"){let s="/Categories/New Release";this.sortType==="updated"&&(s="/Categories/Updated"),t.sort((a,n)=>a.categories.includes(s)&&!n.categories.includes(s)?-1:!a.categories.includes(s)&&n.categories.includes(s)?1:a.categories.includes(s)&&n.categories.includes(s)?a.categories.length-n.categories.length:0)}else if(this.sortType==="suggested"&&this._relatedSolutions.size>0&&this._deployedSolutions?.cards?.length){let s=new Map;for(let i of t){let r=s.get(i.deployCommonId),d=Number(i.deployVersion);(!r||d>r)&&s.set(i.deployCommonId,d)}let a=this._deployedSolutions.cards.filter(i=>{let r=s.get(i.deployCommonId);return r!==void 0&&Number(i.deployVersion)>=r}),n=new Set(a.map(i=>i.deployCommonId));this._relatedSolutions=new Set([...this._relatedSolutions].filter(i=>!n.has(i))),t.sort((i,r)=>{let d=this._relatedSolutions.has(i.deployCommonId),p=this._relatedSolutions.has(r.deployCommonId);return d&&!p?-1:!d&&p?1:0})}let o=t.map(s=>{let a=s.categories.indexOf("/Categories/New Release")>-1,n=s.categories.indexOf("/Categories/Updated")>-1,i=!1,r=!0;return this._deployedSolutions&&(i=this._isSolutionDeployed(s.deployCommonId),r=this._isLatestVersion(s)),s.chip=a?"new":n?"updated":i&&r?"deployed":"none",s.supportReuse=i?!!(i&&!r):!0,s});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards,this._deployedSolutions&&(this._relatedSolutions=L(this._deployedSolutions.cards,this._allCards))),this.cardsFetched.emit(o.length),this._isLoading=!1,o}else return this._isLoading=!1,[]}async _loadUpdateProcedures(){this._isLoading=!0;let e=this._configContextConsumer.value;this._cardsFetcher=new g(e.locale,e.orgUrl,e.portalUrl),this._cardsFetcherDeployed=new g(e.locale,e.orgUrl,e.portalUrl),await this._getDeployedSolutions(),this._cards=await this._getSolutions(),this.allCardsFetched.emit(this._cards),this._isLoading=!1}async _getDeployedSolutions(){let e=this._authContextConsumer.value,t=this._userSessionContextConsumer.value;if(e&&t&&e.IsSignedIn){let o=await F(e,t,this._cardsFetcher,this._cardsFetcherDeployed,v,"created");if(o){if(this._modifiedCheckTry>0){if(this._deployedSolutions?.cards.length===o?.cards.length)return this._modifiedCheckTry--,await this._getDeployedSolutions();this._modifiedCheckTry=0}this._deployedSolutions=o}}}_getSolutionsBriefcase(){return l`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${y`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;this._getSuggested=!1,this._sortOrder="desc",t==="suggested"?this._getSuggested=!0:t==="new"?this._sortField="relevance":t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):t==="updated"&&(this._sortField="relevance"),this.sortType=t}_filterCards(e){this._categories=[],e.forEach(t=>{if(t.industry){let o=this._getIndustryValue(t.industry);if(t.domain){let s=this._getDomainValue(t.domain);this._categories.push(`/Categories/${o}/${s}`)}else this._categories.push(`/Categories/${o}`)}})}_getDomainValue(e){return T[e]}_getIndustryValue(e){return e==="AEC"?"AEC":w[e]}_clearFilterCategories(){this._categories=[]}_isSolutionDeployed(e){return!!this._deployedSolutions?.cards?.some(t=>t?.typeKeywords?.some(o=>o.includes("solutionid")&&o.includes(e)))}_isLatestVersion(e){let t=this._deployedSolutions?.cards?.filter(o=>o?.typeKeywords?.some(s=>s.includes("solutionid")&&s.includes(e.deployCommonId)));return!(t&&t.length>0&&t[0].deployVersion!==e.deployVersion)}_lookupSolutionById(e){let t=this._cards.filter(o=>o.typeKeywords.includes(e));t.length>0&&this.detailsCardSelected.emit(t[0])}};S("solutions-all-panel",_);return _},a,d,e,g)
|
package/dist/cdn/QEKRYT2T.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.13 */
|
|
4
|
-
import{b as m}from"./ZKADU2PQ.js";import{c as S}from"./ICFQB2ET.js";import{b as u}from"./J7NOQ4JL.js";import{m as c}from"./J6NONFBS.js";import{a as g}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b as d}from"./OKH2UKNB.js";import{E as p,I as a,h,i as o,o as n}from"./NL2ZCSNM.js";import"./GENBEWQD.js";var y=h`/** @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
|
-
*/.toolbar-sizing{padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box}.flex-row{display:flex;flex-direction:row}.flex-grow-1{flex-grow:1}calcite-input-text{--calcite-input-text-border-color: transparent;--calcite-color-border-input: transparent;--calcite-color-focus: transparent}calcite-dropdown{--calcite-color-focus: transparent}`,l=class extends p{constructor(){super(),this.defaultSortType="relevance",this.isOrgSolutions=!1,this.isMobile=!1,this._activeSearchSortSettings=[{scope:"all-solutions",settings:{enabled:!0,isOrgSolutions:!1,searchTerm:"",sortType:"relevance"}},{scope:"deployments",settings:{enabled:!0,isOrgSolutions:!1,searchTerm:"",sortType:"created"}}],this._isOrgAdmin=!1,this._translations=g({name:"solutions-searchsort-toolbar",blocking:!0}),this._authContextConsumer=u({context:S,subscribe:!0}),this.searchChanged=n(),this.sortTypeChanged=n(),this.listenOn(window,"deployAppTabSelected",e=>{let t=e.detail;this.scope=t}),this.listenOn(window,"detailsCardSelected",()=>{this.scope=void 0}),this.listenOn(window,"searchTermSet",e=>{let t=e.detail;this.scope=t.scope,this.changeSearchFilter(t.searchTerm,!1)})}static{this.properties={defaultSortType:[0,{type:String,attribute:"default-sort-type"}],isOrgSolutions:5,isMobile:5,scope:1,_activeSearchSortSettings:16,_isOrgAdmin:16,_translations:16}}static{this.styles=y}changeOwnerFilter(e){this.isOrgSolutions=!e,this._activeSearchSortSettings=this._activeSearchSortSettings.map(s=>s.scope===this.scope?{...s,settings:{...s.settings,isOrgSolutions:this.isOrgSolutions}}:s);let t={displayValue:this.isOrgSolutions?this._translations.myOrgSolutions:this._translations.mySolutions,type:"owner",value:this.isOrgSolutions?c.ORGANIZATION:c.OWNER};this.searchChanged.emit({option:t,scope:this.scope})}changeSearchFilter(e,t){let s=this._activeSearchSortSettings.map(r=>r.scope===this.scope?{...r,settings:{...r.settings,searchTerm:e}}:r),i=JSON.stringify(this._activeSearchSortSettings)!==JSON.stringify(s);this._activeSearchSortSettings=s,t&&i&&this.searchChanged.emit({option:{searchTerm:e},scope:this.scope})}sortChanged(e){this._activeSearchSortSettings=this._activeSearchSortSettings.map(t=>t.scope===this.scope?{...t,settings:{...t.settings,sortType:e}}:t),this.sortTypeChanged.emit({sortType:e,scope:this.scope})}willUpdate(){this._authContextConsumer.value&&this._authContextConsumer.value.IsSignedIn!==this._isOrgAdmin&&(this._isOrgAdmin=m(this._authContextConsumer.value))}render(){let e=this.scope==="all-solutions"||this.scope==="deployments",t=e?this._getCurrentScopeSetting():void 0;return e?o`<div class="flex-row toolbar-sizing"><calcite-input-text class="flex-grow-1" clearable icon=search @keyup=${s=>{let i=s.target;s.key==="Enter"?this.changeSearchFilter(i.value,!0):this.changeSearchFilter(i.value,i.value.length>=3||i.value.length===0)}} @blur=${s=>{let i=s.target;this.changeSearchFilter(i.value,!0)}} .placeholder=${this._translations.search.solutions} scale=l slot=content-top .value=${t?.searchTerm}></calcite-input-text>${this.scope==="deployments"&&this._isOrgAdmin&&this._renderOwnerBlock()||""}${this._renderDropdown()}</div>`:""}_renderOwnerBlock(){return o`<calcite-dropdown width=m overlay-positioning=fixed><calcite-button appearance=transparent class="header-button-padding" .iconStart=${this.isOrgSolutions?"organization":"user"} kind=neutral slot=trigger>${this.isMobile?"":this.isOrgSolutions?this._translations.myOrgSolutions:this._translations.mySolutions}</calcite-button><calcite-dropdown-group group-title=${this._translations.owner??a}><calcite-dropdown-item icon-start=user @click=${()=>{this.changeOwnerFilter(!0)}} .selected=${!this.isOrgSolutions}>${this._translations.mySolutions}</calcite-dropdown-item><calcite-dropdown-item icon-start=organization @click=${()=>{this.changeOwnerFilter(!1)}} .selected=${this.isOrgSolutions}>${this._translations.myOrgSolutions}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown>`}_renderDropdown(){let e=[];e=[{displayValue:this._translations.sortByRelevance,sortType:"relevance"},{displayValue:this._translations.sortByTitle,sortType:"title"}],this.scope==="deployments"?e.push({displayValue:this._translations.sortByDateDeployed,sortType:"created"}):(e.push({displayValue:this._translations.sortByNew,sortType:"new"}),e.push({displayValue:this._translations.sortByUpdated,sortType:"updated"}),this._authContextConsumer.value&&this._authContextConsumer.value.IsSignedIn&&e.push({displayValue:this._translations.sortBySuggestedForYou,sortType:"suggested"}));let t=this._getCurrentScopeSetting();return o`<calcite-dropdown width=m><calcite-button appearance=transparent class="header-button-padding" icon-start=sort-descending kind=neutral slot=trigger>${this.isMobile?"":this._getString(t.sortType)}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType??a}>${e.map(s=>this._getDropdownItem(s.displayValue,s.sortType))}</calcite-dropdown-group></calcite-dropdown>`}_getDropdownItem(e,t){return this._getCurrentScopeSetting().sortType!==t?o`<calcite-dropdown-item @click=${()=>this.sortChanged(t)}>${e}</calcite-dropdown-item>`:o`<calcite-dropdown-item @click=${()=>this.sortChanged(t)} selected>${e}</calcite-dropdown-item>`}_getString(e){let t="";switch(e){case"new":t=this._translations.sortByNew;break;case"relevance":t=this._translations.sortByRelevance;break;case"suggested":t=this._translations.sortBySuggestedForYou;break;case"title":t=this._translations.sortByTitle;break;case"updated":t=this._translations.sortByUpdated;break;case"created":t=this._translations.sortByDateDeployed;break}return t}_getCurrentScopeSetting(){return this._activeSearchSortSettings.filter(e=>e.scope===this.scope)[0].settings}};d("solutions-searchsort-toolbar",l);export{l as SolutionsSearchSortToolbar};
|
package/dist/cdn/RY5ANV6A.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.13 */
|
|
4
|
-
import{a as b}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b as f}from"./OKH2UKNB.js";import{D as d,E as m,G as v,I as l,h as p,i as a,o as g}from"./NL2ZCSNM.js";import"./GENBEWQD.js";var x=p`:host{display:block;height:100%}.display-flex-row{display:flex;flex-direction:row}.padding-left-10{padding-left:10px}.chat-container{display:flex;flex-direction:column;gap:0px;max-width:600px;height:75%;background-color:var(--calcite-color-foreground-3);padding:1px}.chat-container_expanded{display:flex;flex-direction:column;gap:0px;max-width:100%;height:95%;background-color:var(--calcite-color-background);border-radius:10px;padding:10px}.chat-panel{--calcite-panel-header-background-color: var(--calcite-color-brand);--calcite-panel-action-background-color: var(--calcite-color-brand);--calcite-panel-heading-text-color: var(--calcite-color-background);--calcite-dialog-min-size-y: 70vh;--calcite-dialog-max-size-y: 90vh}.chat-messages{display:flex;flex-direction:column;gap:12px;padding:4px;height:100%;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-brand);--calcite-card-border-color: var(--calcite-color-brand);color:var(--calcite-color-background);text-align:left}.system-message{align-self:flex-start;background:var(--calcite-color-foreground-2);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3);text-align:left}.loader-message{align-self:flex-start;background:var(--calcite-color-foreground-3);border-radius:8px;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3)}.message-content{padding:0;font-size:14px}.message-content-pad{padding-bottom:10px;font-size:14px}.message-content-summary{padding-bottom:14px}.chip-content-div{padding-top:10px}.chip-content{padding:5px 5px 5px 0}.chat-input{display:flex;flex-direction:row;flex-grow:1}.table-cell{--calcite-table-cell-background: var(--calcite-color-foreground-3)}.cursor-pointer{cursor:pointer}.notice-border-color{--temp-initial-brand: var(--calcite-color-brand)}.notice-border-color calcite-notice{--calcite-color-brand: #ddd;--calcite-icon-color: var(--temp-initial-brand)}.notice-border-color calcite-notice *{--calcite-color-brand: var(--temp-initial-brand)}.solution-card{padding:5px 0;text-decoration:none;display:block;width:100%;cursor:pointer}.solution-card calcite-card{display:flex;flex-direction:column;max-height:132px;overflow:hidden;--calcite-card-corner-radius: var(--calcite-corner-radius-round) !important;--calcite-card-shadow: var(--calcite-shadow-sm);--calcite-card-background-color: var(--calcite-card-background-color) }.solution-card div[slot=thumbnail]{max-height:100%;width:100%;position:relative;&:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;transition:all .15s ease-in-out}}.solution-card div[slot=thumbnail] img{max-height:100%;width:100%}.solution-card span[slot=description]{padding-top:10px}.solution-card calcite-chip{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);visibility:hidden;pointer-events:none;opacity:0;transition:all .15s ease-in-out;z-index:9999}.solution-card:hover calcite-chip{visibility:visible;opacity:1}.solution-card:hover div[slot=thumbnail]:after{background-color:#00000080}.solution-card:hover h3{text-decoration:underline}.references-container{padding-top:10px;display:block}.references-container.collapsed{display:none}`,_="https://www.arcgis.com/sharing/rest/content/items/";async function y(r){return await w(r)}async function w(r){let e=_+r+"?f=json";try{let t=await fetch(e,{method:"GET"});if(!t.ok)throw new Error(`HTTP error! Status: ${t.status}`);return await t.json()}catch(t){return{error:t.message}}}var u=class extends m{constructor(){super(),this.serverRoot="https://aiservices-beta.arcgis.com/",this.solutionAIurl=`${this.serverRoot}skills/solution_deployment/chat`,this.docAIurl=`${this.serverRoot}skills/doc_ai_assistant/chat`,this.token=null,this.open=!1,this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this._isLoading=!1,this._isLoadingText="",this.messages=[],this._translations=b({name:"arcgis-solutions-assistant",blocking:!0}),this.closeAssistant=g(),this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setMessageContainerRef=e=>{this._chatContainer=e},this._setInputRef=e=>{this._inputRef=e,this._inputRef.addEventListener("keydown",t=>{t.key==="Enter"&&!t.shiftKey&&(t.preventDefault(),this.handleSendMessage())}),setTimeout(()=>{this._inputRef?.focus()},100)},this._submitQuestion=e=>{this._inputRef&&(this._inputRef.value=e,this.handleSendMessage())},this.listenOn(window,"submitQuestion",e=>{this._submitQuestion(e.detail)})}static{this.properties={serverRoot:1,solutionAIurl:1,docAIurl:1,token:1,open:5,conversationStore:16,_isLoading:16,_isLoadingText:16,messages:16,_translations:16}}static{this.styles=x}async handleSendMessage(){if(!this._inputRef?.value.trim())return;this._isLoading=!0;let e=this._inputRef.value.trim();this._inputRef.value="";let t={message:e,context:{debug:!1,kind:"SolutionRequest"}};if(this.conversationStore.conversationId!==null){if(t.conversationId=this.conversationStore.conversationId,this.token){let i={author:"human",inquiryId:this.conversationStore.inquiryId?this.conversationStore.inquiryId:"",message:e,render:this._renderSimpleTextMessage(e,"human")};this.messages=[...this.messages,i];let s=await this.requestAIServer(t,this.token,this.solutionAIurl);this.loopRequest(s,this.token,this.solutionAIurl)}}else if(this.token){let i={author:"human",inquiryId:"",message:e,render:this._renderSimpleTextMessage(e,"human")};this.messages=[...this.messages,i];let s=await this.requestAIServer(t,this.token,this.solutionAIurl);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token,this.solutionAIurl)}}async loopRequest(e,t,i){let s=e;for(this._isLoading=!0;s.hasMore;){let n={conversationId:s.conversationId,ackSequenceNumber:s.sequenceNumber,inquiryId:s.inquiryId};if(s=await this.requestAIServer(n,t,i),s.context){if(this.conversationStore.context=s.context,s.context.intent)switch(s.context.intent){case"Solution question":this.messages.push({message:s.message??"",author:"ai",inquiryId:s.inquiryId});let o={message:s.message,conversationId:n.conversationId,context:{kind:"DocAIAssistantRequest",filters:{products:"ArcGIS Solutions"}}};s=await this.requestAIServer(o,t,this.docAIurl);break;case"Recommend solution":if(s.context.results&&s.context.results?.length>0){let c={message:s.message??"",author:"ai",inquiryId:s.inquiryId,render:this._renderSuggestedSolutions(s.message??"",s.context.results)};this.messages.push(c)}break;default:this.messages.push({author:"ai",inquiryId:s.inquiryId,message:s.message??"",render:this._renderSimpleTextMessage(s.message??"","ai")});break}else if(s.context.results)for(let o of s.context.results)o.reply!==""&&(this._isLoadingText="",this.messages.push({message:o.reply,author:"ai",inquiryId:s.inquiryId,render:this._renderDocAssistantResults(o.reply,o.ref,o.followupQuestions)}))}}this._isLoading=!1}async requestAIServer(e,t,i){try{let s=await(await fetch(i,{method:"POST",headers:{"Content-Type":"application/json",token:t},body:JSON.stringify(e)})).json();if(s)return s;throw new Error("No data returned")}catch(s){throw new Error(`Request failed: ${s}`)}}resetChat(){this._resetConversation();let e={author:"system",inquiryId:"",message:this._translations.newConversationStarted,render:this._renderSimpleTextMessage(this._translations.newConversationStarted,"system")};this.messages=[...this.messages,e],this._inputRef&&(this._inputRef.value="")}willUpdate(e){this.messages.length===0&&this._translations.defaultStartUpMessage&&(this.messages=[{author:"ai",inquiryId:"",message:this._translations.defaultStartUpMessage,render:this._renderSimpleTextMessage(this._translations.defaultStartUpMessage,"ai")}])}updated(e){(e.size||this._isLoading)&&this._scrollToBottom()}_renderSimpleTextMessage(e,t){return t==="system"?a`<div class="message-content">${e}</div>`:a`<calcite-card class=${v(t==="human"?"user-message":"system-message")}><div class="message-content">${e}</div></calcite-card>`}_renderDocAssistantResults(e,t,i){return a`<calcite-card class="system-message"><div class="message-content">${this.renderSolutionsQuestionTable(e,t,i,this._translations)}</div></calcite-card>`}_renderSuggestedSolutions(e,t){return a`<calcite-card class="system-message"><div class="message-content">${this.renderExistingSolutionsTable(e,t,this._translations)}</div></calcite-card>`}render(){return a`<calcite-dialog class="chat-panel" .open=${this.open} resizable .heading=${this._translations.solutionAssistantTitle} id=example-dialog placement=bottom-start @calciteDialogClose=${()=>{this.closeAssistant.emit(!0),this.open=!1}}>${this.messages.length>1?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent icon-end=speech-bubble-plus label="New conversation" kind=neutral></calcite-button>`:""}<div class="chat-messages" ${d(this._setMessageContainerRef)}>${this.messages.map(e=>e.render)}${this._isLoading&&a`<calcite-card class="loader-message"><div class="message-content display-flex-row"><calcite-loader .label=${this._isLoadingText} inline scale=s></calcite-loader>${this._isLoadingText!=""&&a`<div class="padding-left-10">${this._isLoadingText}</div>`||""}</div></calcite-card>`||""}</div><div class="chat-input" slot=footer><calcite-text-area resize=none rows=2 .placeholder=${this._translations.sendMessage} value ${d(this._setInputRef)}></calcite-text-area><calcite-button icon-start=send appearance=outline kind=neutral @click=${this.handleSendMessage} .disabled=${!!this._isLoading}></calcite-button></div><calcite-notice open icon=information width=full scale=s slot=alerts class="notice-border-color"><div slot=message>${this._translations.disclaimerMessage}</div></calcite-notice></calcite-dialog>`}_scrollToBottom(){this._chatContainer&&setTimeout(()=>{this._chatContainer&&(this._chatContainer.scrollTop=this._chatContainer.scrollHeight)},100)}renderSolutionQuestionReferences(e){return e.map(t=>a`<div class="message-content-pad"><a href=${t.url??l} target=_blank>${t.title}</a></div>`)}renderSolutionQuestionFollowup(e){return e.map(t=>a`<calcite-chip class="chip-content cursor-pointer" kind=brand .label=${t} @click=${()=>{this._submitFollowupQuestion(t)}}>${t}</calcite-chip>`)}renderSolutionsQuestionTable(e,t,i,s){let n=this.renderSolutionQuestionReferences(t),o=this.renderSolutionQuestionFollowup(i);return a`<div><div slot=description class="message-content">${this._markdownToHTML(e)}<div style="display: flex; justify-content: flex-start;"><calcite-button appearance=outline icon-end=chevron-down icon-start=link @click=${c=>{let h=c.currentTarget.parentElement?.nextElementSibling;h.classList.toggle("collapsed"),c.currentTarget.setAttribute("icon-end",h.classList.contains("collapsed")?"chevron-down":"chevron-up")}}>${`${t.length} ${t.length===1?s.solutionsDocReference:s.solutionsDocReferences}`}</calcite-button></div><div class="references-container collapsed">${n}</div></div><div class="chip-content-div">${o}</div></div>`}renderSolutionCard(e,t,i){return a`<a class="solution-card" id=${t??l} @click=${()=>{this._emitItemIdFromAI(t)}}>${a`<calcite-card thumbnail-position=inline-start><div slot=thumbnail><img src=${e.thumbnail??l} alt=Thumbnail><calcite-chip icon=launch label="View solution">${i.viewSolutionInApp}</calcite-chip></div><h3 slot=heading><b>${e.title}</b></h3><span slot=description>${e.snippet}</span></calcite-card>`}</a>`}renderExistingSolutionsTable(e,t,i){let s=t.map(n=>{let o=n.thumbnail.match(/\/items\/([a-f0-9]+)\//);return o?this.renderSolutionCard(n,o[1],i):null}).filter(n=>n!==null);return a`<div><div slot=description class="message-content"><div class="message-content-summary">${e}</div>${s}</div></div>`}_markdownToHTML(e){return e=e.replace(/###### (.*)/gu,"<h6>$1</h6>"),e=e.replace(/##### (.*)/gu,"<h5>$1</h5>"),e=e.replace(/#### (.*)/gu,"<h4>$1</h4>"),e=e.replace(/### (.*)/gu,"<h3>$1</h3>"),e=e.replace(/## (.*)/gu,"<h2>$1</h2>"),e=e.replace(/# (.*)/gu,"<h1>$1</h1>"),e=e.replace(/\*\*(.*?)\*\*/gu,"<strong>$1</strong>"),e=e.replace(/\*(.*?)\*/gu,"<em>$1</em>"),e=e.replace(/^\s*\*\s+(.*)/gmu,"<li>$1</li>"),e=e.replace(/(<li>.*<\/li>)/gu,"<ul>$1</ul>"),e=e.replace(/\[\[(\d+)\]\]\((.*?)\)/gu,'<a href="$2" target="_blank" rel="noopener noreferrer">[$1]</a>'),e=e.replace(/\n\n+/gu,"</p><p>"),e=e.replace(/^(?!<h|<ul|<li|<p>)(.*)$/gmu,"<p>$1</p>"),e}_emitItemIdFromAI(e){this._querySolutions(e).then(t=>{let i=t.typeKeywords.filter(n=>n.includes("solutionid")),s=new CustomEvent("solutionIDFromAssistant",{detail:i.length>0?i[0]:e,bubbles:!0,composed:!0});window.dispatchEvent(s)})}_submitFollowupQuestion(e){let t=new CustomEvent("submitQuestion",{detail:e,bubbles:!0,composed:!0});window.dispatchEvent(t)}async _querySolutions(e){let t=await y(e);if("error"in t)throw new Error(t.error);return t}};f("arcgis-solutions-assistant",u);export{u as ArcgisSolutionsAssistant};
|
package/dist/cdn/SLU6KLLC.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.13 */
|
|
4
|
-
import{a as O}from"./2AR77FHR.js";import{e as _}from"./52TMIUZW.js";import{a as l,f as p}from"./4ATL3D6V.js";import"./ISEVSKNV.js";import"./GENBEWQD.js";function C(e,a){let i=[];return O(e,(t,o)=>(o.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let o=q(a),r,u,s,m,d;switch(o){case"stat":s=import("./5FXBCVIZ.js"),m={"hub:card:stat":()=>import("./7WUQL7OH.js")}[a],await Promise.all([s,m()]).then(async([f,c])=>{let{MetricSchema:n}=f;r=l(n),u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(d=c.buildDefaults(e,i,t))});break;case"follow":s=import("./TKKIU5DK.js"),m={"hub:card:follow":()=>import("./F56KK6GE.js")}[a],await Promise.all([s,m()]).then(([f,c])=>{let{FollowSchema:n}=f;r=l(n),u=c.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./AYPV6SOA.js"),m=import("./3VAHLUQ4.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:o}=a;o||(o=""),t.maxLength=_(o);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:o}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let o=a.split(":")[1],r,u,s;switch(o){case"site":let{getSiteSchema:m}=await import("./XPNCU35H.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./IBB7QBCT.js"),"hub:site:create":()=>import("./XNQ6DBW6.js"),"hub:site:followers":()=>import("./CO3K5ZRL.js"),"hub:site:discussions":()=>import("./6HD5QOMC.js"),"hub:site:settings":()=>import("./JCGX73CW.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./YBRSEZ67.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./SF3MI2B2.js"),"hub:discussion:create":()=>import("./TLY64OYB.js"),"hub:discussion:settings":()=>import("./3CBSLNB4.js"),"hub:discussion:settings:discussions":()=>import("./UJFJN4KW.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./5X4CMXBT.js");r=l(f);let c=await{"hub:channel:edit":()=>import("./Q46P3XZX.js"),"hub:channel:create":()=>import("./FQY7OKCX.js")}[a]();u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(s=await c.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./VGMWPYEH.js");r=l(n);let v=await{"hub:project:edit":()=>import("./ASXFRSKX.js"),"hub:project:create":()=>import("./EGJPBCZR.js"),"hub:project:create2":()=>import("./GEOJT5HE.js"),"hub:project:metrics":()=>import("./3ZD35GYW.js"),"hub:project:settings":()=>import("./L7LPWUMH.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./4ENQBAQD.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./BHKNTKZ7.js"),"hub:initiative:create":()=>import("./JRZKK7MA.js"),"hub:initiative:create2":()=>import("./EGXYKGYI.js"),"hub:initiative:metrics":()=>import("./IV3H2HEK.js"),"hub:initiative:associations":()=>import("./JD6EFQ6S.js"),"hub:initiative:settings":()=>import("./E5QWGIJK.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./4RPHWQJR.js");r=l(I);let D=await{"hub:page:edit":()=>import("./ERNEEJXE.js"),"hub:page:create":()=>import("./46R75UZS.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./VID2UZG4.js");r=l(K);let U=await{"hub:content:edit":()=>import("./ZP3Z6SIG.js"),"hub:content:discussions":()=>import("./LOHXXUG6.js"),"hub:content:settings":()=>import("./62BBD2YR.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./WUUFD7I3.js");r=l(y);let k=await{"hub:template:edit":()=>import("./M56EPKQ7.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./DHEB777B.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./6ICMW2XL.js"),"hub:group:create:association":()=>import("./O2EZB4WB.js"),"hub:group:create:view":()=>import("./EJAMRCQS.js"),"hub:group:create:edit":()=>import("./AZUSEICT.js"),"hub:group:create":()=>import("./XBZDU3YA.js"),"hub:group:edit":()=>import("./4362MOZ7.js"),"hub:group:settings":()=>import("./GGC45SFJ.js"),"hub:group:discussions":()=>import("./N2M3Q7OL.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./WG4X43JN.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./533OGL7O.js"),"hub:survey:settings":()=>import("./4MCZLOOB.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./VGXU7I7U.js"),"hub:event:edit":()=>import("./TZJ2HEJQ.js"),"hub:event:registrants":()=>import("./EC2IHLSY.js")}[a](),H=await{"hub:event:create":()=>import("./QLVC7ZPZ.js"),"hub:event:edit":()=>import("./LVDQBRPQ.js"),"hub:event:registrants":()=>import("./RAV53JFJ.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./B7WUGBLY.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./OM4UKQNZ.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./D33N2HTW.js");r=l(N);let P=await{"hub:user:settings":()=>import("./7K3Y26XM.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
|
package/dist/cdn/SLXWBGDY.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.13 */
|
|
4
|
-
import{a as t}from"./PZEXCL57.js";import{s as e}from"./NL2ZCSNM.js";var o=e(t,{"instant-apps-app-error":[()=>import("./VBNUDSSG.js"),";clearErrorMessage"],"instant-apps-app-guide":[()=>import("./EJSHS63C.js"),"data:,header"],"instant-apps-buffer":[()=>import("./5IFJ723U.js").then(m=>m.default.then(e=>({InstantAppsBuffer:e}))),"bufferColor,bufferDistance,bufferGraphicSymbol:,bufferInputStep,bufferLayer:,bufferMaxDistance,bufferMinDistance,bufferOutlineColor,bufferOutlineWidth,bufferStyle,bufferUnit,disabled,geodesicBufferEnabled,inputGraphics:,readyToBuffer:,view:;clearBufferLayer,setFocus"],"instant-apps-control-panel":[()=>import("./XQJGWD7F.js"),"components:,view:"],"instant-apps-create":[()=>import("./5QB7S4ZH.js"),"content:,mode,options:,popoverIcon,popoverPlacement,popoverPositioning,portal:,showHeader"],"instant-apps-export":[()=>import("./BOSS7OMS.js"),"allowedFileTypes:,beforeExport:,defaultFileType,extraContent:,extraContentLabel,headerTitle,includeExtraContent,includeFileFormat,includeLegend,includeMap,includePopup,logoAltText,logoImage,mapAltText,maskBackground,maskBorder,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showExtraContentInImg,showHeaderTitle,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar,view:"],"instant-apps-export-views":[()=>import("./K5AAAN6G.js"),"beforeExport:,exportViews:,includeHeader,includeLegend,includeMap,includePopup,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showIncludeHeader,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar"],"instant-apps-filter-list":[()=>import("./IJVQHYFH.js"),"autoUpdateUrl,closeBtn,closeBtnOnClick:,closeBtnText,comboboxOverlayPositioning,extentSelector,extentSelectorConfig:,filterCount,layerExpressions:,openFilters,resetBtn,resetFiltersOnDisconnect,urlParams:,view:,zoomBtn;forceReset,getCurrentLayerExpressions,getFilterInitState,handleUpdatingT9nData,updateInitDefExpressions"],"instant-apps-header":[()=>import("./OCYZRDAE.js"),"backgroundColor,customHeaderCss,customHeaderHtml,fontFamily,headerAlignment,infoButton,infoIsOpen,infoTitleText,logoImage,logoImageAltText,logoLink,logoScale,mobileWidthBreakpoint,textColor,titleText,titleTextLink;toggleInfo"],"instant-apps-interactive-legend":[()=>import("./U3X4JOWT.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegend:e}))),"compact,featureCount,filterMode:,view:,zoomTo"],"instant-apps-interactive-legend-classic":[()=>import("./DSWPPG73.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendClassic:e}))),"featureCount,filterMode:,legendvm:,messages:,zoomTo"],"instant-apps-interactive-legend-count":[()=>import("./2K763HQO.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendCount:e}))),"activeLayerInfo:,categoryId,infoIndex,legendElement:,legendvm:,selected,showTotal"],"instant-apps-interactive-legend-group-legend-element":[()=>import("./CKKF4HOA.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-group-legend-element-caption":[()=>import("./SSXAOZJ5.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element":[()=>import("./OPU7UG63.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element-caption":[()=>import("./WGQUTVDW.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-legend-element":[()=>import("./NSUKDWLQ.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElement:e}))),"activeLayerInfo:,isChild,isColorRamp,isInteractive,isRelationshipRamp,isSizeRamp,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-legend-element-caption":[()=>import("./M224VK7H.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElementCaption:e}))),"activeLayerInfo:,expanded,isInteractive,layer:,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-relationship":[()=>import("./YM6SKW7B.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendRelationship:e}))),"activeLayerInfo:,filterMode:,legendElement:"],"instant-apps-keyboard-shortcuts":[()=>import("./XK3SNODM.js"),"view:"],"instant-apps-landing-page":[()=>import("./O7Q6YMZH.js"),"alignment:,backgroundImageSrc,descriptionText,disableTransition,enableSignIn,entryButtonScale,entryButtonText,fontFamily,iconImage,iconImageAltText,iconImageScale,oauthappid,open,portal:,subtitleText,titleText"],"instant-apps-language-switcher":[()=>import("./5OKDP5DK.js"),"calciteDropdownOverlayPositioning,defaultLocale,icon,locales:,portalItem:,selectedLanguage,view:;refresh"],"instant-apps-language-translator":[()=>import("./ABV7A3TM.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslator:e}))),"appSettings:,locales:,open,portalItem:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:;batchWriteToPortalItemResource,getPortalItemResource,getTranslationData,setTranslationData"],"instant-apps-ckeditor-wrapper":[()=>import("./AKL67LTE.js"),"config:,editorInstance:,value"],"instant-apps-language-translator-content":[()=>import("./2Z5HA7D5.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorContent:e})))],"instant-apps-language-translator-item":[()=>import("./UCQ5Y3GX.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorItem:e}))),"fieldName,setting:,translatedLanguageLabels:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:"],"instant-apps-language-translator-search":[()=>import("./K5WH7A5V.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorSearch:e}))),"t9nPlaceholder"],"instant-apps-measurement":[()=>import("./X4JROJKB.js"),"activeToolType,areaUnit,closable,coordinateFormat,linearUnit,view:"],"instant-apps-measurement-tool":[()=>import("./K2I34C5P.js"),"activeTool,measureConfiguration:,view:"],"instant-apps-popover":[()=>import("./GXHFJX3X.js"),"content,disableAction,imgAlt,imgSrc,index,mediaSrc,messageOverrides:,pagination,parent:,placement,popoverAction:,popoverTitle,referenceElement,refId,subtitle"],"instant-apps-popovers":[()=>import("./NSESHKON.js"),"beforeOpen:,currentId,instantAppsPopovers:,inTour;beginTour,close,done,endTour,next,open,previous"],"instant-apps-scoreboard":[()=>import("./NLLWLHBU.js"),"autoDockEnabled,geometry:,itemLimit,items:,mode:,position:,queryType,view:"],"instant-apps-sign-in":[()=>import("./RDOMCTUL.js"),"closeLandingPage:,landingPage,oauthappid,openInPopup,portal:,showIndicator,signInPopoverItems:,type"],"instant-apps-social-share":[()=>import("./OFZUHTRM.js"),"autoUpdateShareUrl,defaultUrlParams:,displayTipText,embed,flipRtl,iframeInnerText,inlineSuccessPopoverPlacement,isNativeShareEnabled,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonColor,shareButtonScale,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,successMessage,useNativeShare,view:"],"instant-apps-splash":[()=>import("./PERMCVQL.js"),"closeBehavior,closeButtonDisabled,confirmationText,content,isConfirmed:,localStorageKey,open,outsideCloseDisabled,primaryButtonText,secondaryButton,secondaryButtonCallback:,secondaryButtonIcon,secondaryButtonText,titleText"],"instant-apps-time-filter":[()=>import("./MFAP3QSG.js").then(m=>m.default.then(e=>({InstantAppsTimeFilter:e}))),"autoPlay,filterMode:,timeInfoConfigItems:,timeSliderConfig:,view:"]});export{o as a};
|
package/dist/cdn/VGMWPYEH.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.13 */
|
|
4
|
-
import{a,b}from"./555TJYQH.js";import"./W4MD3F6R.js";import"./3GJ7UGOW.js";import"./4JNGRSAC.js";import"./SB2EYKVI.js";import"./CFMJKVXR.js";import"./GENBEWQD.js";export{a as ProjectEditorTypes,b as ProjectSchema};
|
package/dist/cdn/VGXU7I7U.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.13 */
|
|
4
|
-
import{a,b}from"./BTVB74DT.js";import"./UZAHM4E4.js";import"./GDKA6GQ6.js";import"./MCTAC35U.js";import"./SB2EYKVI.js";import"./GENBEWQD.js";export{a as EventEditorTypes,b as buildSchema};
|
package/dist/cdn/VYGWWP54.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.13 */
|
|
4
|
-
import{Bb as S}from"./G2DGDDPX.js";import"./XUAIYIQ2.js";import"./2AR77FHR.js";import"./LXW2GAAY.js";import"./TZHAIY5U.js";import"./CNV5CX2O.js";import"./CQKWXPD2.js";import"./52TMIUZW.js";import"./YXWR4LGR.js";import"./EUE3LP5B.js";import"./4ATL3D6V.js";import"./YJMNTY3L.js";import"./7DVUJMYC.js";import"./PZTUREPY.js";import"./HDGNDHWN.js";import{g as h}from"./VTXQOB7L.js";import"./M63VDRSQ.js";import"./YHGLE6WS.js";import"./ISEVSKNV.js";import"./Z4GZ7VCW.js";import{a as I}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b}from"./OKH2UKNB.js";import{C as p,D as u,E as v,I as n,h as _,i as c,j as f,o as d}from"./NL2ZCSNM.js";import"./GENBEWQD.js";export default $arcgis.t(([r,w,y])=>{var m=class{constructor(t,e,i){this._credential=null,this._isEnterprise=!1,this._locale="en",this._portalSubset=null,this._portalUserSubset=null,this._clientId=t??"",this._locale=i??"en",this._portalUrl=e??"https://www.arcgis.com",this._portalRestUrl=this._portalUrl+"/sharing/rest",this._credential=r.findCredential(this._portalRestUrl),this._portalUrl=location.origin.endsWith(".arcgis.com")?window.location.origin:this._portalUrl}get Credential(){return this._credential}get IsEnterprisePortal(){return this._isEnterprise}get IsSignedIn(){return!!this._credential}get Portal(){return this._portal}get PortalSubset(){return this._portalSubset}get PortalUrl(){return this._portalUrl}get PortalUserOrg(){return this._portalSubset&&this._portalSubset.id}get PortalUserName(){return this._portalUserSubset&&this._portalUserSubset.username||""}get PortalUserSubset(){return this._portalUserSubset}get PortalUserPrivileges(){let t=[];return this._portalUserSubset?.privileges&&(t=this._portalUserSubset.privileges),t}get RestUserSession(){let t=r.findServerInfo(this._portalRestUrl),e=this._credential?h.fromCredential(this._credential,t):new h({});return e.portal=this.PortalSubset?.restUrl?this.PortalSubset?.restUrl:e.portal,e.clientId=this._credential?._oAuthCred?.appId,e._refreshToken=this._credential?._oAuthCred?.refreshToken,e}async initialize(){try{await this._init()}catch{this.destroy()}return this}destroy(){this._credential=null,this._portalSubset=null,this._portalUserSubset=null,r.destroyCredentials()}async signIn(t=""){r.setOAuthRedirectionHandler(e=>{let i=e.authorizeParams.redirect_uri;if(t.length>0){let a=i.split("?"),s=a[0],l="";if(a[1]){let o=new URLSearchParams(a[1]);o.append("signInParam",t),l="?"+o.toString()}e.authorizeParams.redirect_uri=s+l}window.location.href=e.authorizeUrl+"?"+this._objectToQuery(e.authorizeParams)}),await r.getCredential((this._portalSubset?.portalUrl??this._portalUrl)+"/sharing").then(e=>{e&&window.location.reload()})}signOut(){r.destroyCredentials(),this.destroy(),window.location.reload()}refreshSession(){let t=this.RestUserSession;return!t||!this.IsSignedIn?null:t.exchangeRefreshToken()}_getOrgUrl(t,e,i){return e&&i?window.location.protocol+"//"+e.toLowerCase()+"."+i:t}async _init(){let t=new w({appId:this._clientId,locale:this._locale,popup:!1,portalUrl:this._portalUrl,preserveUrlHash:!0});r.registerOAuthInfos([t]);try{let e=await r.checkAppAccess(this._portalUrl,this._clientId);(typeof e.valid<"u"&&!e.valid||e.viewOnlyUserTypeApp)&&window.location.replace(`error.html?error=blocked&locale=${this._locale}`),this._credential=e.credential}catch(e){if(e.name==="identity-manager:not-authenticated")return this;this.destroy(),window.location.replace(`error.html?error=blocked&locale=${this._locale}`)}return this._portal=new y({url:this._portalUrl}),this._portal.authMode="immediate",await this._portal.load(),this._isEnterprise=this._portal.isPortal,this._portalSubset={name:this._portal.name??"",id:this._portal.id??"",restUrl:this._portal.restUrl??"",portalUrl:this._portal.url??"",urlKey:this._portal.urlKey??"",hostName:this._portal.portalHostname??"",orgUrl:this._getOrgUrl(this._portal.url,this._portal.urlKey??"",this._portal.customBaseUrl??""),locationTrackingEnabled:this._portal.helperServices.hasOwnProperty("locationTracking"),hubPremiumEnabled:this._portal.portalProperties?.hub?.enabled||!1,workflowURL:this._portal.helperServices?.workflowManager?.url??this._portal.url,isReadOnly:this._portal.isReadOnly},this._portalUserSubset={fullName:this._portal.user?.fullName??"",username:this._portal.user?.username??"",culture:this._portal.user?.culture?.toLowerCase()||"en",thumbnailUrl:this._portal.user?.thumbnailUrl||this._portal.url+"/home/js/arcgisonline/css/images/no-user-thumb.jpg",orgId:this._portal.user?.orgId??"",privileges:this._portal.user.privileges,role:this._portal.user?.role??""},this._isEnterprise&&this._portalSubset&&(this._portalSubset.workflowURL=await S(this._portal.restUrl,this.RestUserSession||new h({}))),this._portal?.user?.roleId&&this._portalUserSubset&&(this._portalUserSubset.roleId=this._portal.user.roleId),this}_isSerializable(t){return t&&typeof t=="object"&&"toJSON"in t&&typeof t.toJSON=="function"}_objectToQuery(t,e){return t?e&&typeof e=="function"?Object.keys(t).map(i=>encodeURIComponent(i)+"="+encodeURIComponent(e(i,t[i]))).join("&"):Object.keys(t).map(i=>{let a=t[i];if(a==null)return"";let s=encodeURIComponent(i)+"=",l=e&&e[i];return l?s+encodeURIComponent(l(a)):Array.isArray(a)?a.map(o=>this._isSerializable(o)?s+encodeURIComponent(JSON.stringify(o)):s+encodeURIComponent(o)).join("&"):this._isSerializable(a)?s+encodeURIComponent(JSON.stringify(a)):s+encodeURIComponent(a)}).filter(i=>i).join("&"):""}};var 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
|
-
*/.esri-global-nav__title{margin-block-start:0;position:relative;margin-bottom:0;font-size:var(--calcite-font-size-xl);font-weight:var(--calcite-font-weight-medium);padding-inline-end:var(--calcite-spacing-xxl);align-self:center}.esri-global-nav__logo-link{color:var(--calcite-color-text-1);text-decoration:unset}.cursor-pointer{cursor:pointer}.side{border-right:solid 1px;color:var(--calcite-color-text-1)}.display-flex{display:flex}.align-self-center{align-self:center}.padding-top-1{padding-top:var(--calcite-spacing-lg)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-start-1{padding-inline-start:var(--calcite-spacing-lg)}.padding-bottom-1{padding-bottom:var(--calcite-spacing-lg)}.margin-start-end-1{margin-inline-start:var(--calcite-spacing-lg);margin-inline-end:var(--calcite-spacing-lg)}.margin-start-end-1-5{margin-inline-start:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxl)}calcite-menu{--calcite-color-focus: transparent}calcite-button{--calcite-color-focus: transparent}.sign-in{display:flex;vertical-align:middle;align-items:center;height:100%;text-decoration:underline}.height-full{height:100%}.user-label{--calcite-label-margin-bottom: 0px}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-normal{font-weight:var(--calcite-font-weight-normal)}.logo-padding{padding-inline-start:var(--calcite-spacing-none)}@media(max-width:800px){.logo-padding{padding-inline-start:var(--calcite-spacing-lg)}}.signin-padding{padding-inline-end:var(--calcite-spacing-none)}@media(max-width:800px){.signin-padding{padding-inline-end:var(--calcite-spacing-lg)}}.margin-bottom-negative-1{margin-bottom:-1}calcite-action{--calcite-font-size-0: var(--calcite-font-size--1);--calcite-internal-action-padding-inline: var(--calcite-spacing-lg)}`,g=class extends v{constructor(){super(...arguments),this.useLocalAppConfig=!1,this._logoFill="",this._translations=I({name:"solutions-deploy-app-nav",blocking:!0}),this._authentication=void 0,this._menuRef=p(),this._menuItemAll=p(),this._menuItemMy=p(),this._menuItemResources=p(),this.authInit=d(),this.navTabSelected=d(),this.tokenRefreshed=d()}static{this.properties={appConfig:1,useLocalAppConfig:5,_logoFill:16,_translations:16}}static{this.styles=C}clearMenuItems(){this._menuItemAll.value.active=!1,this._authentication?.IsSignedIn&&(this._menuItemMy.value.active=!1),this._menuItemResources.value.active=!1}activateMenuItem(t){let e,i;switch(t){case"all-solutions":e=this._menuItemAll,i=[this._menuItemMy,this._menuItemResources];break;case"deployments":e=this._menuItemMy,i=[this._menuItemAll,this._menuItemResources];break;case"resources":e=this._menuItemResources,i=[this._menuItemAll,this._menuItemMy];break}e&&i&&this._handleMenuClick(t,e,i,!1)}async connectedCallback(){super.connectedCallback();let t=new h({username:"",password:""});this._userSession=t}async load(){let t=window.matchMedia("(prefers-color-scheme: dark)");t.addEventListener("change",l=>this._logoFill=this._getLogoFill(l.matches)),this._logoFill=this._getLogoFill(t.matches);let e="en";this.useLocalAppConfig&&(e=this.appConfig.locale);let i=this.appConfig.authentication?.PortalSubset?.orgUrl||this.appConfig.orgURL||this.appConfig.portalURL,a=this.appConfig.authentication?.PortalUrl||this.appConfig.portalURL,s=this.appConfig.primarySolutionsGroupId;this._authentication||(this.appConfig.authentication?this._authentication=this.appConfig.authentication:(this._authentication=new m(this.appConfig.appId,this.appConfig.portalURL,this.appConfig.locale),await this._authentication.initialize())),this._authentication.RestUserSession&&(this._userSession=this._authentication.RestUserSession),this._setRefreshInterval(),this.authInit.emit({authentication:this._authentication,agoBasedEnterpriseSolutionsGroupId:this.appConfig.agoBasedEnterpriseSolutionsGroupId,diagramKey:this.appConfig.diagramKey,locale:e||"en",orgUrl:i,portalUrl:a,primarySolutionsGroupId:s,userSession:this._userSession}),this._portal=await this._userSession?.getPortal()}render(){return c`<calcite-navigation class="margin-bottom-negative-1">${this._getHeading()}<calcite-menu label slot=content-start ${u(this._menuRef)}><calcite-menu-item label @click=${()=>this._handleMenuClick("all-solutions",this._menuItemAll,[this._menuItemMy,this._menuItemResources],!0)} .text=${this._translations.allSolutions} ${u(this._menuItemAll)}></calcite-menu-item>${this._authentication?.IsSignedIn?c`<calcite-menu-item label @click=${()=>this._handleMenuClick("deployments",this._menuItemMy,[this._menuItemAll,this._menuItemResources],!0)} .text=${this._translations.myDeployments} ${u(this._menuItemMy)}></calcite-menu-item>`:""}<calcite-menu-item label @click=${()=>this._handleMenuClick("resources",this._menuItemResources,[this._menuItemAll,this._menuItemMy],!0)} .text=${this._translations.solutionResources} ${u(this._menuItemResources)}></calcite-menu-item></calcite-menu><div slot=user>${this._authentication?.IsSignedIn?this._getUserAvatar():c`<calcite-button appearance=transparent class="sign-in" kind=neutral @click=${this._handleSignIn}>\r\n Sign in</calcite-button>`}</div></calcite-navigation>`}_setRefreshInterval(){}_getHeading(){return c`<div class="align-self-center display-flex cursor-pointer logo-padding" slot=logo><a aria-label=${this._translations.linkToEsriHomePage??n} class="esri-global-nav__logo-link" href=https://www.esri.com rel=noopener target=_blank title=${this._translations.linkToEsriHomePage??n}><svg height=30 viewBox="0 0 84 30" width=84 xmlns=http://www.w3.org/2000/svg>${f`<path fill=${this._logoFill??n} d="M77.277.5c-1.48 0-2.554 1.175-2.554 2.488 0 1.314 1.074 2.49 2.554 2.49 1.48 0 2.622-1.071 2.622-2.49C79.899 1.572 78.756.5 77.277.5zm-1.913 23.426h3.891V8.353h-3.891v15.573zM40.515 7.965c-4.702 0-8.465 3.275-8.465 8.174 0 4.898 3.763 8.177 8.465 8.177 2.146 0 4.165-.667 5.852-2.31l-2.457-2.457c-.916.964-2.093 1.651-3.78 1.651-2.175 0-3.927-1.397-4.188-3.698h11.875v-1.07c0-5.42-2.95-8.467-7.302-8.467zm-4.573 6.617c.293-2.24 1.721-3.7 4.023-3.7 2.434 0 3.926 1.43 3.96 3.7h-7.983zm17.305-1.849c0-1.169 1.233-1.655 2.273-1.655 1.32 0 2.292.547 3.037 1.577l2.476-2.474c-1.282-1.6-3.407-2.216-5.418-2.216-3.147 0-6.262 1.555-6.262 5.028 0 5.938 8.403 3.406 8.403 6.617 0 1.233-1.46 1.784-2.595 1.784-1.65 0-2.687-.806-3.69-1.905l-2.515 2.514c1.58 1.711 3.62 2.313 5.978 2.313 3.179 0 6.717-1.299 6.717-4.998 0-6.067-8.404-3.795-8.404-6.585zm14.15-1.916h-.062V8.353h-3.892v15.573h3.892v-8.34c0-.842.518-3.925 4.185-3.925.564 0 1.127.112 1.718.253l.152-3.726c-.45-.127-.901-.223-1.382-.223-2.046 0-3.766 1.07-4.61 2.852zM14.683 2.766c-1.217-.037-1.932.12-2.651.26-.216-.056-.62.003-.643.472 0 .252.08.447.24.562.159.114 1.493 1.1 2.473 2.142-.47.052-.98.138-1.504.246-.585-1.264-2.465-.114-3.714-.064-.146.006-.286.025-.431.035-.137-1.056-.235-2.15-.21-2.92 1.618-.917 4.748-1.593 6.874-1.626l.373-.01c.312-.003.337-.251.043-.291-2.641-.361-4.929.173-7.279 1.145C5.808 3.748 2.696 6.12.8 10.596c-.444 1.247-2.219 7.195.935 12.3 2.56 4.142 5.855 6.113 9.887 6.676 4.024.561 6.207.075 8.752-1.055 5.951-2.642 10.496-12.559 5.95-19.747-1.794-3.319-6.495-6.229-11.641-6.004zm-2.259 4.647a17.754 17.754 0 0 1 2.362-.368 15.741 15.741 0 0 1 1.748 2.54c-.805.39-1.878.688-2.315 1.312-.181.26-.226.613-.232.995a23.59 23.59 0 0 0-3.877 1.286c-.453-1.332-.85-2.66-1.124-3.842 1.296-1.237 2.813-1.438 3.438-1.923zm6.61 15.88c-.354.038-.706.083-1.016.13-.77.121-1.762.379-2.685.723-.53-.843-1.95-2.891-2.667-4.437 1.442-.709 3.457-1.303 5.775-1.444.19.33.4.66.69.956.757.774-.44 1.883-.096 4.072zm-8.603-9.14c1.12-.53 2.3-.968 3.56-1.286-.008.333-.045.649-.182.903-.196.366-.106 1.428.134 1.775.755 1.099 2.008.488 2.951.883.433.181.721.482.964.84-1.974.124-3.91.584-5.706 1.41-.923-1.96-1.72-4.524-1.72-4.524zm.832 4.938c-.07.033-.145.074-.217.11a40.803 40.803 0 0 0-3.256-.78c-.995-.204-1.031-.15-2.151.175-.16.046-.313.088-.462.133a36.17 36.17 0 0 1-.445-1.202c1.436-1.106 2.884-2.034 4.821-2.985.5 1.491 1.215 3.483 1.71 4.549zm.768 4.528c.293-.765.521-1.331.605-1.89.569.958 1.248 2 1.774 2.815-.819.397-1.772 1.01-2.672 1.685.062-1.037.083-2.064.293-2.61zm5.334-14.636c-.01.014-.028.026-.04.04a23.057 23.057 0 0 0-1.376-2.111c1.007-.061 2.246-.008 3.374.108-1.014.363-1.461 1.254-1.958 1.963zm-9.028 1.094c.019-.026.039-.047.057-.072.234 1.182.513 2.16.886 3.518-1.402.618-3.881 2.148-4.976 2.972-.198-.502-.404-1.214-.589-1.946.249-.737.758-1.254 1.476-1.325 1.228-.123 2.28-1.95 3.146-3.147zm-5.41-1.784C4.24 6.455 6.023 4.666 7.65 3.773c-.016.4.086 1.567.218 2.693-.57.057-1.134.128-1.692.211a12.084 12.084 0 0 0-3.115 4.088c-.117-1.054-.178-1.933-.133-2.472zM2.07 9.731s.062 1.06.113 1.833c0 0-.781.886-1.18 1.59.159-1.443.498-2.187 1.067-3.423zm7.664 18.356C5.688 26.82 2.69 23.41 1.62 19.834a17.475 17.475 0 0 1-.651-6.473c.056.01.186.072.38.017.135-.093.616-.43.957-.728l.018.131c-.23.87-.371 1.775-.4 2.71.37.39.804 1.038 1.286 1.707-.31.23-.905.641-1.045.741-.41.292-.406.753-.114 1.015.161.144.492.084.613-.01.358-.285.656-.513 1.066-.77.15.393.292.748.43 1.086-.175.188-.3.436-.342.798-.135 1.172.979 2.092 1.918 2.36.035.01.06.014.094.023.05.076.095.147.148.224-.487.378-.82.765-1.049 1.063-.132.172-.28.43-.16.481.123.05.535 0 .719-.034.466-.09.826-.606 1.148-.796.387.534 1.017 1.22 1.672 1.88.029.12.055.246.088.351.125.403.293.804.495 1.196.471.22.962.402 1.464.561a8.344 8.344 0 0 0-.622.72zm.989.313c.155-.203.312-.454.505-.626.468.31.969.665 1.368.894-.615-.07-1.337-.085-1.873-.268zm3.113.31s-1.604-1.062-2.009-1.471c.803-.667 2.102-1.459 3.128-1.889.402.63 1.727 2.507 2.258 3.112-.963.168-2.31.294-3.377.248zM20.54 27.2c-.286.189-1.664.814-2.204.988a23.43 23.43 0 0 1-2.44-3.202c.844-.354 2.143-.67 3.346-.82.109.342.25.704.444 1.094.19.382.411.662.649.853.085-.053.164-.115.248-.17-.006.42-.018.846-.043 1.257zm-.33-21.477c-.27-.172-.607-.108-.467.193.053.117.259.314.427.512-.986-.272-3.608-.479-4.856-.364-.815-.916-1.744-2.028-2.861-2.765 4.999-.311 9.49 1.756 11.473 4.186-.661-.344-2.087-.834-2.667-.963-.313-.319-.708-.58-1.05-.8zm1.094 21.065c.023-.407.04-.922.053-1.396.487-.378.946-.79 1.37-1.238.547.063 1.094.156 1.427.24-.74.936-1.762 1.716-2.85 2.394zm3.825-3.724c-.12.253-.428.688-.633.894-.312-.126-.781-.258-1.272-.375.078-.094.163-.182.24-.279.268-1.796-.338-2.37.42-4.014l.172-.371c.418.118.812.247 1.153.386.043.616.04 2.728-.08 3.759zm-.708-4.917c.196-.407.412-.84.645-1.27.061.547.105 1.08.131 1.563a9.256 9.256 0 0 0-.776-.293zm2.218 1.126l-.194.756c-.137.515-.593 1.732-.832 2.223.091-.663.171-2.384.148-2.73.16.049.502-.147.559-.341.057-.195-.564-.495-.564-.495a20.742 20.742 0 0 0-.172-2.7c.142-.23.286-.452.434-.655a12.082 12.082 0 0 0-.186-1.575c.125.041.24.074.323.075.283.004.282-.19.192-.298-.058-.07-.328-.238-.643-.42a12.02 12.02 0 0 0-2.78-5.32c.533.202 1.214.48 1.754.774.41.516 1.585 1.675 2.212 4.92.564 2.922-.06 5.143-.251 5.786zM80.886 8.597v-.24h1.218v.24h-.468v1.191h-.283V8.597h-.467zm1.87-.24l.365 1.025.368-1.024h.406v1.43h-.262V8.634l-.396 1.154h-.229l-.4-1.154v1.154h-.261v-1.43h.409z" />`}</svg></a><div class="side margin-start-end-1-5" slot=logo></div><div class="esri-global-nav__title"><a aria-label=${this._translations.linkToArcGISSolutionsHomePage??n} class="esri-global-nav__logo-link" href=https://www.esri.com/en-us/arcgis/products/arcgis-solutions/overview rel=noopener target=_blank title=${this._translations.linkToArcGISSolutionsHomePage??n}>${this._translations.arcgisSolutions}</a></div></div>`}_getLogoFill(t){return t?"#FFFFFF":"#141414"}_handleMenuClick(t,e,i,a){i.forEach(s=>{s.value&&(s.value.active=!1)}),e.value.active=!0,a&&this.navTabSelected.emit(t)}_getUserAvatar(){let t=this._portal.user,e=this._authentication?.PortalUserSubset,i=t?.id??t?.sourceJSON?.id;return c`<div class="height-full display-flex cursor-pointer signin-padding"><calcite-avatar class="align-self-center" id=instant-apps-sign-in-user-button .thumbnail=${t?.thumbnailUrl??e?.thumbnailUrl??""} full-name=${t?.fullName??n} .username=${t?.username} user-id=${i??n}></calcite-avatar></div><calcite-popover placement=bottom-end scale=s reference-element=instant-apps-sign-in-user-button offset-distance=0 pointer-disabled focus-trap-disabled auto-close .label=${this._translations.userSettings}><div class="margin-start-end-1 padding-top-1"><calcite-label class="user-label font-bold padding-bottom-1" scale=l>${t.fullName??e?.fullName}<calcite-label class="user-label font-normal" scale=m>${t.username??e?.username}</calcite-label></calcite-label></div><calcite-action scale=l @click=${this._signOut} .text=${this._translations.signOut} text-enabled></calcite-action></calcite-popover>`}_signOut(){this._portal.credential?.destroy(),this._portal.authMode="anonymous",this._portal.credential=null,this._authentication?.signOut()}_handleSignIn(t){t.preventDefault(),this._authentication?.signIn().then(()=>{}).catch(e=>{console.error("Error creating global nav header:",e)})}};b("solutions-deploy-app-nav",g);return g},"identity/IdentityManager","identity/OAuthInfo","portal/Portal")
|