@esri/solutions-components 1.0.6 → 1.1.0-next.20250731.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/25HFBBO7.js +4 -0
- package/dist/cdn/{3QP57WZY.js → 27LLDIKS.js} +4 -4
- package/dist/cdn/2B7AIYB4.js +81 -0
- package/dist/cdn/{RRMHR2HB.js → 2BYRDSF2.js} +3 -3
- package/dist/cdn/{GHXC6C2C.js → 2FWYC6N2.js} +5 -5
- package/dist/cdn/{IY23MDOC.js → 2GG4TAB5.js} +3 -3
- package/dist/cdn/{PKBDH7MF.js → 2OH6LK6F.js} +3 -3
- package/dist/cdn/2RT2G6PW.js +4 -0
- package/dist/cdn/2TQLIMIY.js +4 -0
- package/dist/cdn/{U4QKTJ5K.js → 2V6EPB7F.js} +3 -3
- package/dist/cdn/{D6XX6KWD.js → 2W6UZ4WR.js} +3 -3
- package/dist/cdn/{5MXFQYLE.js → 2Y5AL2MJ.js} +3 -3
- package/dist/cdn/{3XGPYKD3.js → 33G6WACF.js} +3 -3
- package/dist/cdn/{GZEJGYES.js → 362CTSXJ.js} +3 -3
- package/dist/cdn/3BSM72ZJ.js +8 -0
- package/dist/cdn/3EHVWHQO.js +4 -0
- package/dist/cdn/{I2VKZ5OH.js → 3GSPSBR2.js} +3 -3
- package/dist/cdn/3JZGXNAU.js +4 -0
- package/dist/cdn/{N5K33ZZT.js → 3K7RVP62.js} +3 -3
- package/dist/cdn/{PNHNT6BL.js → 3RYGLJSU.js} +3 -3
- package/dist/cdn/3SLZAJU6.js +18 -0
- package/dist/cdn/{VA7UARYI.js → 3TRGQIG4.js} +2 -2
- package/dist/cdn/{HUCFHRHI.js → 3UTJ6N4B.js} +4 -4
- package/dist/cdn/{YVJDVYGA.js → 3VAVRAZH.js} +2 -2
- package/dist/cdn/{RZUGSVMP.js → 3XZ72BIO.js} +2 -2
- package/dist/cdn/{NNO7ZI7X.js → 3ZSBSCVO.js} +3 -3
- package/dist/cdn/{2WMXCGJ6.js → 4BAJCDHE.js} +3 -3
- package/dist/cdn/{4YK53WB6.js → 4E55H6GI.js} +3 -3
- package/dist/cdn/{QCT6FXMR.js → 4GJTZGZ2.js} +2 -2
- package/dist/cdn/{AB3FQQCW.js → 4R677UHW.js} +4 -4
- package/dist/cdn/{BJ6DOG6H.js → 4W4AXLAS.js} +3 -3
- package/dist/cdn/52S7M4XP.js +4 -0
- package/dist/cdn/54F3QH2P.js +4 -0
- package/dist/cdn/{EJEJMEGK.js → 54I7CNTR.js} +3 -3
- package/dist/cdn/{UKYKTZWK.js → 574AQUKL.js} +3 -3
- package/dist/cdn/5AARPSFW.js +4 -0
- package/dist/cdn/5OXADY3S.js +18 -0
- package/dist/cdn/5RODJX2B.js +18 -0
- package/dist/cdn/{7ME4UIGX.js → 5SE2CNQ4.js} +3 -3
- package/dist/cdn/5U44RL2U.js +4 -0
- package/dist/cdn/{YUWAB65A.js → 5WJUGKEL.js} +3 -3
- package/dist/cdn/62F4Z2RZ.js +4 -0
- package/dist/cdn/{7YYOJP6L.js → 6EUIK65W.js} +3 -3
- package/dist/cdn/{T6ZDTQ2A.js → 6FSSM6C5.js} +3 -3
- package/dist/cdn/{LA3N6LZH.js → 6HJNTC7F.js} +3 -3
- package/dist/cdn/6IORBIOG.js +18 -0
- package/dist/cdn/{NRUKSPT4.js → 6LATBKTY.js} +3 -3
- package/dist/cdn/{KCFSZOBX.js → 6N6HLBBS.js} +2 -2
- package/dist/cdn/{MI37N43V.js → 6NHXE4L3.js} +3 -3
- package/dist/cdn/{FV3U3YJ6.js → 6R4UNPWN.js} +3 -3
- package/dist/cdn/6TJ4G3ER.js +4 -0
- package/dist/cdn/6XPLK57P.js +4 -0
- package/dist/cdn/6ZGLTKMR.js +4 -0
- package/dist/cdn/73DPGPG7.js +4 -0
- package/dist/cdn/{V434XRYU.js → 73ZAL2WT.js} +3 -3
- package/dist/cdn/{5DAI66LT.js → 74MX4QLZ.js} +3 -3
- package/dist/cdn/{F2QHZOXB.js → 755C3VG6.js} +3 -3
- package/dist/cdn/764HIRJY.js +4 -0
- package/dist/cdn/{V73IDRPZ.js → 7C46WXZU.js} +3 -3
- package/dist/cdn/{VPHAMFNI.js → 7CHJP5FF.js} +3 -3
- package/dist/cdn/{WIDXS23Z.js → 7CX327ED.js} +3 -3
- package/dist/cdn/{NJBDDFNX.js → 7I3GA5DX.js} +2 -2
- package/dist/cdn/{P473G3UD.js → 7K7BGZIC.js} +3 -3
- package/dist/cdn/7KQKPG55.js +4 -0
- package/dist/cdn/{2XQB5N5F.js → 7M5NHS3C.js} +3 -3
- package/dist/cdn/A2QNF47K.js +6 -0
- package/dist/cdn/A4PWAQDV.js +9 -0
- package/dist/cdn/A6BKXLWA.js +4 -0
- package/dist/cdn/AB3WBQIH.js +18 -0
- package/dist/cdn/AD6Z7JIO.js +4 -0
- package/dist/cdn/{55NQUWEY.js → AHEDR6FX.js} +2 -2
- package/dist/cdn/AK5RJP4M.js +5 -0
- package/dist/cdn/AP5SMGH7.js +18 -0
- package/dist/cdn/{IHZQS7G5.js → ASISOVTI.js} +3 -3
- package/dist/cdn/{Y6FNQ642.js → ATETIVT6.js} +3 -3
- package/dist/cdn/{WLSDNFCT.js → AUU7DV55.js} +4 -4
- package/dist/cdn/{UUCDGMFW.js → AZHKILPX.js} +3 -3
- package/dist/cdn/{Q2YCPZOX.js → B637YOS5.js} +3 -3
- package/dist/cdn/{X6YLW36Y.js → BAFGE6VY.js} +2 -2
- package/dist/cdn/{NCSI6ZKY.js → BKJGM55L.js} +3 -3
- package/dist/cdn/{YM6G3EU3.js → BKZ5D2KZ.js} +4 -4
- package/dist/cdn/BLBKBQ7W.js +4 -0
- package/dist/cdn/BLRUX5OX.js +4 -0
- package/dist/cdn/BPJXP42W.js +4 -0
- package/dist/cdn/{7I736LZK.js → BTTWYS5X.js} +3 -3
- package/dist/cdn/{PEW7EK74.js → BWW5YD72.js} +3 -3
- package/dist/cdn/{6424ZLL7.js → C6N2WWWX.js} +3 -3
- package/dist/cdn/{ZETWXE6M.js → C7HFRDIM.js} +3 -3
- package/dist/cdn/{HVATWN37.js → CEW2J6RG.js} +2 -2
- package/dist/cdn/CHGEZ3AN.js +4 -0
- package/dist/cdn/CKCMSZM5.js +4 -0
- package/dist/cdn/{GO42R2CK.js → CM6TYWX6.js} +2 -2
- package/dist/cdn/{BYJRAAEE.js → CN7U4Z7M.js} +2 -2
- package/dist/cdn/{BLS4G62F.js → CSHLAZKQ.js} +3 -3
- package/dist/cdn/CXXCLALD.js +18 -0
- package/dist/cdn/{M3ZMKHJ2.js → D2AX67LP.js} +4 -4
- package/dist/cdn/{7DOQHPCH.js → D2WA2RPA.js} +3 -3
- package/dist/cdn/{SVFIF3T3.js → DCHDDLDZ.js} +3 -3
- package/dist/cdn/{FIDPLPEF.js → DDL7KI2T.js} +3 -3
- package/dist/cdn/{MNPZD4I5.js → DI2LL6B3.js} +3 -3
- package/dist/cdn/{4CVEF3SI.js → DIS53LGB.js} +3 -3
- package/dist/cdn/{OTQ4RPLU.js → DSYYVW3F.js} +2 -2
- package/dist/cdn/DU2FEFFV.js +18 -0
- package/dist/cdn/{PXPVE3JE.js → DUWVHI7R.js} +3 -3
- package/dist/cdn/{D2EREVL4.js → EBT6JTTB.js} +3 -3
- package/dist/cdn/{VQ65EGUC.js → EEF2B6ZM.js} +3 -3
- package/dist/cdn/EFS5RERR.js +4 -0
- package/dist/cdn/{26THV7PU.js → ELXOWAX5.js} +3 -3
- package/dist/cdn/{LKBUXCMF.js → EOPDQ5BU.js} +3 -3
- package/dist/cdn/{IEAQX2G7.js → EPCVNPGM.js} +3 -3
- package/dist/cdn/{IPYR6HZK.js → EUNGF6ZH.js} +4 -4
- package/dist/cdn/EV3TUX6S.js +4 -0
- package/dist/cdn/{JTKT3XWL.js → EWGTTR5Q.js} +3 -3
- package/dist/cdn/EWRQ3QNK.js +18 -0
- package/dist/cdn/{YZCZUMV2.js → FCGAI4KW.js} +2 -2
- package/dist/cdn/FEWPXPFQ.js +4 -0
- package/dist/cdn/{3RW2NBPF.js → FFAGAIHU.js} +4 -4
- package/dist/cdn/FHJGYUXO.js +18 -0
- package/dist/cdn/{ZWYST46E.js → FJAL5AQ5.js} +3 -3
- package/dist/cdn/{CHYWNBKA.js → FJSZAX2R.js} +3 -3
- package/dist/cdn/{5M5TLNGP.js → FQKGNPW6.js} +2 -2
- package/dist/cdn/FSTZH7GL.js +4 -0
- package/dist/cdn/{UI236QD6.js → FT34NQOI.js} +3 -3
- package/dist/cdn/FT42MIIU.js +4 -0
- package/dist/cdn/{WPAFQXGE.js → G3R2MU2J.js} +3 -3
- package/dist/cdn/{ESBUX6NR.js → G6EO7CEQ.js} +3 -3
- package/dist/cdn/{QR6JZJTO.js → GOLI4DGF.js} +3 -3
- package/dist/cdn/GQBP35TH.js +29 -0
- package/dist/cdn/GS2XNU7D.js +18 -0
- package/dist/cdn/{62WQV5YC.js → GTECY6TF.js} +3 -3
- package/dist/cdn/{U4WC6C2F.js → GW33ZZHC.js} +3 -3
- package/dist/cdn/H4YML6KX.js +4 -0
- package/dist/cdn/{2IVXEYYO.js → H6OGXITC.js} +3 -3
- package/dist/cdn/{JNUBPQVQ.js → HEIJXDKW.js} +3 -3
- package/dist/cdn/HFH2DZZB.js +4 -0
- package/dist/cdn/{IRV3QYFT.js → HFRYADUF.js} +3 -3
- package/dist/cdn/{LJV6DE44.js → HG4W4QD6.js} +3 -3
- package/dist/cdn/HI22GMCZ.js +4 -0
- package/dist/cdn/{HQIAA5ZR.js → HIWWU7SY.js} +2 -2
- package/dist/cdn/{2TLMYAKF.js → HN3P22JK.js} +3 -3
- package/dist/cdn/{46LGQEFB.js → HO345XLK.js} +3 -3
- package/dist/cdn/{VW6GSY2U.js → HT35VQR3.js} +3 -3
- package/dist/cdn/{2URV24QB.js → HXV3QUQ6.js} +3 -3
- package/dist/cdn/HYHCUL5X.js +4 -0
- package/dist/cdn/{YQ4UFRN4.js → HYLPZDSQ.js} +3 -3
- package/dist/cdn/{WH6W2UP3.js → I3S3DM4U.js} +3 -3
- package/dist/cdn/{2CLEIN6Y.js → IFV6OJ45.js} +4 -4
- package/dist/cdn/IK5O4TGG.js +4 -0
- package/dist/cdn/{HYALTA6M.js → IO2ZL7TB.js} +3 -3
- package/dist/cdn/{4OXHTSNR.js → ITWJGFNZ.js} +2 -2
- package/dist/cdn/IUQFTD5B.js +4 -0
- package/dist/cdn/IXHWGSUT.js +379 -0
- package/dist/cdn/J4IVVJW7.js +4 -0
- package/dist/cdn/J7DQNAJK.js +4 -0
- package/dist/cdn/J7I2CT5V.js +18 -0
- package/dist/cdn/J7RY62J4.js +18 -0
- package/dist/cdn/{XORA7HCU.js → JACIW3XD.js} +3 -3
- package/dist/cdn/JHWEUJN4.js +4 -0
- package/dist/cdn/JKM47VFY.js +18 -0
- package/dist/cdn/{LOL2WTGD.js → JPFVSO3J.js} +3 -3
- package/dist/cdn/JQKKZGRJ.js +4 -0
- package/dist/cdn/JR6RNA7B.js +4 -0
- package/dist/cdn/{ZS2IQNQO.js → JV46YG7Z.js} +3 -3
- package/dist/cdn/{ESYYQOPE.js → JZZAARTL.js} +2 -2
- package/dist/cdn/{DUJNFEQ6.js → KA6MTWQW.js} +3 -3
- package/dist/cdn/{WLSI7POK.js → KBFGX22V.js} +2 -2
- package/dist/cdn/{TGWWWSMN.js → KCRSRMZK.js} +3 -3
- package/dist/cdn/{5AW5NLLI.js → KGMRUPJI.js} +3 -3
- package/dist/cdn/KL2T3UMN.js +4 -0
- package/dist/cdn/{UASHMMAZ.js → KPKJKBOW.js} +3 -3
- package/dist/cdn/{D5OHP7NT.js → KSGE2K2A.js} +3 -3
- package/dist/cdn/{L4MTDEUA.js → KSYOFZFC.js} +4 -4
- package/dist/cdn/{XW6O3WSI.js → KUHZ7NUV.js} +3 -3
- package/dist/cdn/{YRBPGBT5.js → KVLTXBTW.js} +4 -4
- package/dist/cdn/{XLXUXKG6.js → KZONAQ7X.js} +4 -4
- package/dist/cdn/L3KYPR4U.js +4 -0
- package/dist/cdn/LJ2NBNYV.js +18 -0
- package/dist/cdn/LUZ5SS5Q.js +4 -0
- package/dist/cdn/{SEVP5RIV.js → LXSXZ5PZ.js} +3 -3
- package/dist/cdn/M4IHAPFS.js +4 -0
- package/dist/cdn/{XDZ5DDWA.js → M7Y7OEPH.js} +3 -3
- package/dist/cdn/MJ4UYOY5.js +4 -0
- package/dist/cdn/MJD4UYQV.js +4 -0
- package/dist/cdn/{ZDKRS7QS.js → MSVU7KDD.js} +4 -4
- package/dist/cdn/{A3WJQEV7.js → MT3VGENM.js} +2 -2
- package/dist/cdn/{XCEE3SEK.js → MULD755N.js} +3 -3
- package/dist/cdn/{EKVRW3FM.js → MUNB2EIH.js} +3 -3
- package/dist/cdn/MVPUNAPA.js +4 -0
- package/dist/cdn/MWVLFGRN.js +4 -0
- package/dist/cdn/{SXZVPSYN.js → MXZUWU5U.js} +3 -3
- package/dist/cdn/N3JVQRW2.js +4 -0
- package/dist/cdn/{UWXNPHTE.js → N4JFNJAP.js} +2 -2
- package/dist/cdn/{KOI7FBWC.js → NDND3YNI.js} +3 -3
- package/dist/cdn/{G6EIQMVR.js → NFZDLBDU.js} +3 -3
- package/dist/cdn/NH6VXBT4.js +18 -0
- package/dist/cdn/NI2DYTWY.js +294 -0
- package/dist/cdn/{XAAGW7YF.js → NLQMBJV4.js} +3 -3
- package/dist/cdn/NTCE7WYQ.js +25 -0
- package/dist/cdn/{EAA2PB5H.js → NVNE6Q2Z.js} +3 -3
- package/dist/cdn/O2GXK46T.js +4 -0
- package/dist/cdn/{Y4RVCE5F.js → OIMYNYJF.js} +3 -3
- package/dist/cdn/{2T6B7XX3.js → OVDTA5OA.js} +3 -3
- package/dist/cdn/OVNKAN7A.js +4 -0
- package/dist/cdn/{NCYI3FJ4.js → OX6J3PGF.js} +3 -3
- package/dist/cdn/{WE2YJ72U.js → PCKCRHI3.js} +4 -4
- package/dist/cdn/{QMREQGH3.js → PIZGPSRE.js} +3 -3
- package/dist/cdn/PSE37RBN.js +4 -0
- package/dist/cdn/{JKJC7XFT.js → PSJIJOBC.js} +3 -3
- package/dist/cdn/{WPVYE7FE.js → Q6ECGAN5.js} +3 -3
- package/dist/cdn/{K3SH7RK6.js → Q6S2FYB7.js} +3 -3
- package/dist/cdn/{P7J4L36T.js → QB26MH3P.js} +2 -2
- package/dist/cdn/{KOWTHDEB.js → QCFKTDX2.js} +3 -3
- package/dist/cdn/{YSIFIKOE.js → QNOJFN72.js} +3 -3
- package/dist/cdn/{ZZ4UGIDE.js → QQI6TRPA.js} +3 -3
- package/dist/cdn/{GDYIFL6J.js → QU2IDIBF.js} +3 -3
- package/dist/cdn/{7BU5DV4Q.js → QU5SGFUX.js} +3 -3
- package/dist/cdn/QUJM7PBE.js +18 -0
- package/dist/cdn/R3PW6KSS.js +4 -0
- package/dist/cdn/{CPO6UAZQ.js → R4TPG3DO.js} +2 -2
- package/dist/cdn/R57C4DNW.js +4 -0
- package/dist/cdn/{3VN45O3V.js → R7BJ6S6M.js} +4 -4
- package/dist/cdn/{Q6U6FUMJ.js → RJ64W3BT.js} +3 -3
- package/dist/cdn/RNP3G6YO.js +4 -0
- package/dist/cdn/{2NJLBLNN.js → RPXFGP5K.js} +4 -4
- package/dist/cdn/{2ACF42ZR.js → SBP4N5DS.js} +3 -3
- package/dist/cdn/SP5ULXWS.js +4 -0
- package/dist/cdn/{STUHZQEZ.js → SROUOTOF.js} +2 -2
- package/dist/cdn/{22SEAIC6.js → STLINJZP.js} +3 -3
- package/dist/cdn/{AMVC3HZO.js → SVB3DAKW.js} +3 -3
- package/dist/cdn/T2FLCA5K.js +4 -0
- package/dist/cdn/{7MOURTYJ.js → T5BKBEIP.js} +3 -3
- package/dist/cdn/{TWADDFKI.js → T7QDW3RL.js} +4 -4
- package/dist/cdn/{KURSJGVA.js → TCJQUXXU.js} +3 -3
- package/dist/cdn/TCK3645Q.js +4 -0
- package/dist/cdn/{JRU7OOCQ.js → TDRR3ZLM.js} +4 -4
- package/dist/cdn/{547GZYOP.js → TF5CZ555.js} +4 -4
- package/dist/cdn/{GGI3REJL.js → TLC3SOX5.js} +3 -3
- package/dist/cdn/{7CNMLAFT.js → TYWZWTN6.js} +4 -4
- package/dist/cdn/{Q2VYZCZY.js → U4XP4SVP.js} +2 -2
- package/dist/cdn/{JTAN45P3.js → U65T7QXI.js} +3 -3
- package/dist/cdn/U75F55GL.js +4 -0
- package/dist/cdn/UB22ISME.js +4 -0
- package/dist/cdn/{VVGYJHF7.js → UBOZIJ2V.js} +3 -3
- package/dist/cdn/{NP7OH2ZI.js → UCE3PD7K.js} +3 -3
- package/dist/cdn/{EFBCF4LP.js → UDHOI5QJ.js} +3 -3
- package/dist/cdn/UHBAFPIP.js +4 -0
- package/dist/cdn/UI2K7A6K.js +4 -0
- package/dist/cdn/{P27R335T.js → UKVOZIPV.js} +2 -2
- package/dist/cdn/{6AJKPURT.js → UL36K2OL.js} +3 -3
- package/dist/cdn/{TY5HNZTA.js → ULCHU2DL.js} +3 -3
- package/dist/cdn/UML27CLC.js +4 -0
- package/dist/cdn/{AVVTO725.js → UN5OBM45.js} +3 -3
- package/dist/cdn/UNOUCRCA.js +18 -0
- package/dist/cdn/URE77NMF.js +4 -0
- package/dist/cdn/{THIMASMK.js → USBBZZHO.js} +3 -3
- package/dist/cdn/V7HQLFUM.js +4 -0
- package/dist/cdn/{X6L4PHXI.js → VH5CQ62Q.js} +3 -3
- package/dist/cdn/VHDZYP7A.js +4 -0
- package/dist/cdn/{CMN7YBVU.js → VMXZ6AXW.js} +3 -3
- package/dist/cdn/{M3F2PRVV.js → W2OEFMSP.js} +3 -3
- package/dist/cdn/{YBIF6TAJ.js → WCDHN44D.js} +3 -3
- package/dist/cdn/{P3YZSASH.js → WDPCEJWO.js} +3 -3
- package/dist/cdn/{3MOEHDA6.js → WFP3ARED.js} +4 -4
- package/dist/cdn/WGEDEGSC.js +4 -0
- package/dist/cdn/{JAO6QZJO.js → WMDLX4TU.js} +3 -3
- package/dist/cdn/{O6X34RFQ.js → WMIGNCA3.js} +3 -3
- package/dist/cdn/{XOCETJCR.js → WX3BUGVY.js} +3 -3
- package/dist/cdn/{MSGDDP7Y.js → WZ6HR352.js} +4 -4
- package/dist/cdn/{IBB2E74R.js → X77DVIHT.js} +3 -3
- package/dist/cdn/{WQF5CITX.js → X7INRGL2.js} +3 -3
- package/dist/cdn/{SM2GUROD.js → XAMZTC4V.js} +2 -2
- package/dist/cdn/XLW62QJP.js +4 -0
- package/dist/cdn/{2C7UE46M.js → XQIIB6WI.js} +2 -2
- package/dist/cdn/{YIO2CSY3.js → XVNMBFFV.js} +3 -3
- package/dist/cdn/XVOTZ36C.js +4 -0
- package/dist/cdn/XWZVSPN5.js +4 -0
- package/dist/cdn/{B7B7CVVL.js → XYM4QNUF.js} +3 -3
- package/dist/cdn/{QP35PXG2.js → Y4HMQERM.js} +4 -4
- package/dist/cdn/YDS7WOGV.js +4 -0
- package/dist/cdn/YFJPBXHX.js +4 -0
- package/dist/cdn/{LP4BQM2H.js → YJ3MW2JY.js} +3 -3
- package/dist/cdn/{KV5PYIUB.js → YKDWIWVB.js} +3 -3
- package/dist/cdn/YLTGZWFU.js +4 -0
- package/dist/cdn/{R5YJMFXC.js → YSKSWYAQ.js} +3 -3
- package/dist/cdn/ZC3XJXKM.js +18 -0
- package/dist/cdn/ZCFSRPYL.js +4 -0
- package/dist/cdn/{I657I5LG.js → ZF3NTVCO.js} +3 -3
- package/dist/cdn/{SXP3TCP2.js → ZG4LGFKY.js} +3 -3
- package/dist/cdn/{T5JHR5GE.js → ZI7THJT2.js} +3 -3
- package/dist/cdn/{7H3KZPHJ.js → ZIY4QFR5.js} +3 -3
- package/dist/cdn/{ECMZSRUN.js → ZL4KQF74.js} +3 -3
- package/dist/cdn/ZLULHNQF.js +4 -0
- package/dist/cdn/ZP7KUAQK.js +3 -0
- package/dist/cdn/{5S66UFIB.js → ZRE4MLAV.js} +4 -4
- package/dist/cdn/assets/solution-article-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-article-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-social-share/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-social-share/t9n/messages.json +1 -0
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-articles/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-articles/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
- package/dist/cdn/index.js +3 -3
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/Auth.js +2 -2
- package/dist/chunks/appConfig.js +2 -2
- package/dist/chunks/cardFetchingUtils.js +2 -2
- package/dist/chunks/common.js +2 -2
- package/dist/chunks/deployAppContexts.js +2 -2
- package/dist/chunks/downloadUtils.js +2 -2
- package/dist/chunks/helpers.js +46 -33
- package/dist/chunks/index.js +325 -413
- package/dist/chunks/interfaces.js +2 -2
- package/dist/chunks/loadModules.js +2 -2
- package/dist/chunks/mapViewUtils.js +2 -2
- package/dist/chunks/pciUtils.js +2 -2
- package/dist/chunks/popupUtils.js +2 -2
- package/dist/chunks/prepareDataForSolutionDisplay.js +2 -2
- package/dist/chunks/privilegeUtils.js +2 -2
- package/dist/chunks/publicNotificationStore.js +2 -2
- package/dist/chunks/queryUtils.js +2 -2
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/solution-store.js +2 -2
- package/dist/chunks/templates.js +2 -2
- package/dist/chunks/useT9n.js +2 -2
- package/dist/components/arcgis-solutions-assistant/customElement.d.ts +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +9 -10
- package/dist/components/basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/basemap-gallery/customElement.js +9 -10
- package/dist/components/buffer-tools/customElement.d.ts +1 -1
- package/dist/components/buffer-tools/customElement.js +9 -10
- package/dist/components/card-manager/customElement.d.ts +1 -1
- package/dist/components/card-manager/customElement.js +15 -16
- package/dist/components/consent-manager/customElement.d.ts +1 -1
- package/dist/components/consent-manager/customElement.js +1780 -1724
- package/dist/components/create-feature/customElement.d.ts +1 -1
- package/dist/components/create-feature/customElement.js +7 -8
- package/dist/components/create-related-feature/customElement.d.ts +1 -1
- package/dist/components/create-related-feature/customElement.js +8 -9
- package/dist/components/crowdsource-manager/customElement.d.ts +4 -2
- package/dist/components/crowdsource-manager/customElement.js +10 -11
- package/dist/components/crowdsource-manager/index.d.ts +1 -1
- package/dist/components/crowdsource-manager/index.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.d.ts +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +8 -9
- package/dist/components/crowdsource-reporter/index.d.ts +2 -2
- package/dist/components/crowdsource-reporter/index.js +2 -2
- package/dist/components/deduct-calculator/customElement.d.ts +1 -1
- package/dist/components/deduct-calculator/customElement.js +9 -10
- package/dist/components/delete-button/customElement.d.ts +1 -1
- package/dist/components/delete-button/customElement.js +7 -8
- package/dist/components/delete-dialog/customElement.d.ts +1 -1
- package/dist/components/delete-dialog/customElement.js +9 -10
- package/dist/components/edit-card/customElement.d.ts +1 -1
- package/dist/components/edit-card/customElement.js +10 -11
- package/dist/components/feature-details/customElement.d.ts +1 -1
- package/dist/components/feature-details/customElement.js +8 -9
- package/dist/components/feature-list/customElement.d.ts +1 -1
- package/dist/components/feature-list/customElement.js +9 -10
- package/dist/components/field-selection/customElement.d.ts +1 -1
- package/dist/components/field-selection/customElement.js +10 -11
- package/dist/components/floor-filter/customElement.d.ts +1 -1
- package/dist/components/floor-filter/customElement.js +9 -10
- package/dist/components/info-card/customElement.d.ts +1 -1
- package/dist/components/info-card/customElement.js +8 -9
- package/dist/components/json-editor/customElement.d.ts +1 -1
- package/dist/components/json-editor/customElement.js +10 -11
- package/dist/components/layer-list/customElement.d.ts +1 -1
- package/dist/components/layer-list/customElement.js +7 -8
- package/dist/components/layer-table/customElement.d.ts +4 -2
- package/dist/components/layer-table/customElement.js +7 -8
- package/dist/components/layer-table/index.d.ts +1 -1
- package/dist/components/layer-table/index.js +1 -1
- package/dist/components/map-card/customElement.d.ts +1 -1
- package/dist/components/map-card/customElement.js +7 -8
- package/dist/components/map-card/index.d.ts +1 -1
- package/dist/components/map-card/index.js +1 -1
- package/dist/components/map-draw-tools/customElement.d.ts +1 -1
- package/dist/components/map-draw-tools/customElement.js +10 -11
- package/dist/components/map-fullscreen/customElement.d.ts +1 -1
- package/dist/components/map-fullscreen/customElement.js +12 -13
- package/dist/components/map-layer-picker/customElement.d.ts +1 -1
- package/dist/components/map-layer-picker/customElement.js +11 -12
- package/dist/components/map-legend/customElement.d.ts +1 -1
- package/dist/components/map-legend/customElement.js +9 -10
- package/dist/components/map-picker/customElement.d.ts +1 -1
- package/dist/components/map-picker/customElement.js +7 -8
- package/dist/components/map-search/customElement.d.ts +1 -1
- package/dist/components/map-search/customElement.js +11 -12
- package/dist/components/map-select-tools/customElement.d.ts +1 -1
- package/dist/components/map-select-tools/customElement.js +9 -10
- package/dist/components/map-tools/customElement.d.ts +1 -1
- package/dist/components/map-tools/customElement.js +6 -7
- package/dist/components/pci-calculator/customElement.d.ts +1 -1
- package/dist/components/pci-calculator/customElement.js +11 -12
- package/dist/components/pdf-download/customElement.d.ts +1 -1
- package/dist/components/pdf-download/customElement.js +24 -25
- package/dist/components/public-notification/customElement.d.ts +1 -1
- package/dist/components/public-notification/customElement.js +20 -21
- package/dist/components/refine-selection/customElement.d.ts +1 -1
- package/dist/components/refine-selection/customElement.js +17 -18
- package/dist/components/selection-tool/customElement.d.ts +1 -1
- package/dist/components/selection-tool/customElement.js +3 -3
- package/dist/components/solution-article-card/customElement.d.ts +33 -1
- package/dist/components/solution-article-card/customElement.js +24 -19
- package/dist/components/solution-article-card/index.d.ts +1 -0
- package/dist/components/solution-article-card/index.js +1 -0
- package/dist/components/solution-configuration/customElement.d.ts +1 -1
- package/dist/components/solution-configuration/customElement.js +11 -12
- package/dist/components/solution-configure-dialog/customElement.d.ts +6 -7
- package/dist/components/solution-configure-dialog/customElement.js +121 -46
- package/dist/components/solution-configure-dialog/index.d.ts +1 -0
- package/dist/components/solution-configure-dialog/index.js +1 -0
- package/dist/components/solution-configure-titles/customElement.d.ts +3 -1
- package/dist/components/solution-configure-titles/customElement.js +39 -23
- package/dist/components/solution-contents/customElement.d.ts +1 -1
- package/dist/components/solution-contents/customElement.js +8 -9
- package/dist/components/solution-delete-dialog/customElement.d.ts +9 -11
- package/dist/components/solution-delete-dialog/customElement.js +55 -59
- package/dist/components/solution-deploy-dialog/customElement.d.ts +2 -10
- package/dist/components/solution-deploy-dialog/customElement.js +132 -83
- package/dist/components/solution-deployed-card/customElement.d.ts +1 -9
- package/dist/components/solution-deployed-card/customElement.js +29 -29
- package/dist/components/solution-deploying-dialog/customElement.d.ts +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +11 -12
- package/dist/components/solution-details-card/customElement.d.ts +1 -1
- package/dist/components/solution-details-card/customElement.js +9 -10
- package/dist/components/solution-details-panel/customElement.d.ts +1 -7
- package/dist/components/solution-details-panel/customElement.js +97 -91
- package/dist/components/solution-details-panel/index.d.ts +1 -0
- package/dist/components/solution-details-panel/index.js +1 -0
- package/dist/components/solution-item/customElement.d.ts +1 -1
- package/dist/components/solution-item/customElement.js +7 -8
- package/dist/components/solution-item-accordion/customElement.d.ts +1 -1
- package/dist/components/solution-item-accordion/customElement.js +8 -9
- package/dist/components/solution-item-details/customElement.d.ts +1 -1
- package/dist/components/solution-item-details/customElement.js +10 -11
- package/dist/components/solution-item-diagram/customElement.d.ts +1 -1
- package/dist/components/solution-item-diagram/customElement.js +9 -10
- package/dist/components/solution-item-icon/customElement.d.ts +1 -1
- package/dist/components/solution-item-icon/customElement.js +8 -9
- package/dist/components/solution-item-sharing/customElement.d.ts +1 -1
- package/dist/components/solution-item-sharing/customElement.js +14 -15
- package/dist/components/solution-organization-variables/customElement.d.ts +1 -1
- package/dist/components/solution-organization-variables/customElement.js +7 -8
- package/dist/components/solution-resource-item/customElement.d.ts +1 -1
- package/dist/components/solution-resource-item/customElement.js +15 -16
- package/dist/components/solution-snapshot-gallery/customElement.d.ts +1 -6
- package/dist/components/solution-snapshot-gallery/customElement.js +15 -15
- package/dist/components/solution-social-share/customElement.d.ts +117 -0
- package/dist/components/solution-social-share/customElement.js +178 -0
- package/dist/components/solution-social-share/index.d.ts +5 -0
- package/dist/components/solution-social-share/index.js +5 -0
- package/dist/components/solution-spatial-ref/customElement.d.ts +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +19 -20
- package/dist/components/solution-template-data/customElement.d.ts +1 -1
- package/dist/components/solution-template-data/customElement.js +8 -9
- package/dist/components/solution-variables/customElement.d.ts +1 -1
- package/dist/components/solution-variables/customElement.js +8 -9
- package/dist/components/solutions-all-panel/customElement.d.ts +1 -9
- package/dist/components/solutions-all-panel/customElement.js +18 -18
- package/dist/components/solutions-all-shell/customElement.d.ts +3 -1
- package/dist/components/solutions-all-shell/customElement.js +19 -16
- package/dist/components/solutions-article-panel/customElement.d.ts +13 -1
- package/dist/components/solutions-article-panel/customElement.js +18 -19
- package/dist/components/solutions-articles/customElement.d.ts +3 -1
- package/dist/components/solutions-articles/customElement.js +54 -16
- package/dist/components/solutions-articles/index.d.ts +10 -0
- package/dist/components/solutions-articles/index.js +10 -0
- package/dist/components/solutions-articles-shell/customElement.d.ts +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +10 -11
- package/dist/components/solutions-articles-shell/index.d.ts +3 -0
- package/dist/components/solutions-articles-shell/index.js +3 -0
- package/dist/components/solutions-deployed-panel/customElement.d.ts +3 -11
- package/dist/components/solutions-deployed-panel/customElement.js +44 -40
- package/dist/components/solutions-deployed-panel/index.d.ts +1 -0
- package/dist/components/solutions-deployed-panel/index.js +1 -0
- package/dist/components/solutions-deployed-shell/customElement.d.ts +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +16 -16
- package/dist/components/solutions-filter-panel/customElement.d.ts +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +13 -12
- package/dist/components/spatial-ref/customElement.d.ts +1 -1
- package/dist/components/spatial-ref/customElement.js +8 -9
- package/dist/components/store-manager/customElement.d.ts +1 -1
- package/dist/components/store-manager/customElement.js +2 -2
- package/dist/docs/api.json +1351 -474
- package/dist/docs/docs.json +990 -484
- package/dist/docs/vscode.css-custom-data.json +30 -1
- package/dist/docs/vscode.html-custom-data.json +313 -16
- package/dist/docs/web-types.json +528 -104
- package/dist/index.d.ts +24 -2
- package/dist/index.js +2 -2
- package/dist/loader.js +14 -13
- package/dist/types/lumina.d.ts +18 -9
- package/dist/types/preact.d.ts +19 -9
- package/dist/types/react.d.ts +20 -9
- package/dist/types/stencil.d.ts +18 -9
- package/dist/utils/helpers.d.ts +20 -1
- package/dist/utils/interfaces.d.ts +27 -23
- package/package.json +34 -29
- package/dist/cdn/2A54WJLL.js +0 -4
- package/dist/cdn/2CO6LGS3.js +0 -4
- package/dist/cdn/2ESDNOLP.js +0 -25
- package/dist/cdn/3SJSHFDQ.js +0 -4
- package/dist/cdn/47HUGK47.js +0 -4
- package/dist/cdn/4ASSBQRJ.js +0 -8
- package/dist/cdn/4JAS7M3U.js +0 -82
- package/dist/cdn/4SEEFYPD.js +0 -4
- package/dist/cdn/5BK4CWOX.js +0 -4
- package/dist/cdn/5YO5OS74.js +0 -4
- package/dist/cdn/65HTNVVT.js +0 -4
- package/dist/cdn/6CG6AANG.js +0 -18
- package/dist/cdn/6IIAYEYM.js +0 -18
- package/dist/cdn/A57HOD63.js +0 -18
- package/dist/cdn/ALV3VZWM.js +0 -18
- package/dist/cdn/B6GTZILX.js +0 -383
- package/dist/cdn/BIFHOJDA.js +0 -4
- package/dist/cdn/BIVE3ZGY.js +0 -4
- package/dist/cdn/BNYADJK7.js +0 -18
- package/dist/cdn/BVZ2O4L5.js +0 -4
- package/dist/cdn/CNAEZ5PG.js +0 -3
- package/dist/cdn/DAJFINWG.js +0 -4
- package/dist/cdn/EXGOSSST.js +0 -18
- package/dist/cdn/EXPAYLFV.js +0 -18
- package/dist/cdn/EZ4U6AGL.js +0 -4
- package/dist/cdn/F243JFYJ.js +0 -4
- package/dist/cdn/FH3SI764.js +0 -294
- package/dist/cdn/FHIBMCQA.js +0 -4
- package/dist/cdn/HGXPDXCR.js +0 -18
- package/dist/cdn/HJIGIFOQ.js +0 -4
- package/dist/cdn/I65O4DPY.js +0 -18
- package/dist/cdn/IWNKMVAS.js +0 -4
- package/dist/cdn/J64IOAQO.js +0 -9
- package/dist/cdn/J6ENWA7R.js +0 -4
- package/dist/cdn/JFYTC7KL.js +0 -4
- package/dist/cdn/JKX35XOC.js +0 -4
- package/dist/cdn/KDP6FDXS.js +0 -4
- package/dist/cdn/L3LGCXHS.js +0 -4
- package/dist/cdn/LBZLGIWD.js +0 -18
- package/dist/cdn/LGOLEOFG.js +0 -4
- package/dist/cdn/LHXHL3RB.js +0 -4
- package/dist/cdn/LJSLZOAW.js +0 -4
- package/dist/cdn/LOVLAODG.js +0 -4
- package/dist/cdn/LVAZCCYX.js +0 -4
- package/dist/cdn/MXCKPU23.js +0 -4
- package/dist/cdn/N65S4NHY.js +0 -4
- package/dist/cdn/N7ACGWAI.js +0 -4
- package/dist/cdn/NGDTJRWQ.js +0 -4
- package/dist/cdn/NSCQHAM7.js +0 -4
- package/dist/cdn/NZ42ZTHT.js +0 -4
- package/dist/cdn/O5OQYVQ3.js +0 -18
- package/dist/cdn/OMFYWQSY.js +0 -4
- package/dist/cdn/OTBZT6CE.js +0 -4
- package/dist/cdn/OUA6OKHZ.js +0 -4
- package/dist/cdn/PAPULN5H.js +0 -4
- package/dist/cdn/PVPNQBWZ.js +0 -4
- package/dist/cdn/Q6HRIABM.js +0 -18
- package/dist/cdn/QD76ALH3.js +0 -18
- package/dist/cdn/QRBQ5KHF.js +0 -4
- package/dist/cdn/QSOTGUOZ.js +0 -4
- package/dist/cdn/QZIAEDXM.js +0 -4
- package/dist/cdn/RGTPM7HZ.js +0 -18
- package/dist/cdn/ROJGI2W3.js +0 -4
- package/dist/cdn/RV65ILJG.js +0 -4
- package/dist/cdn/S7NFYQWB.js +0 -3
- package/dist/cdn/SIUHVSRB.js +0 -18
- package/dist/cdn/SZDHEJ35.js +0 -4
- package/dist/cdn/T3WZ5RIH.js +0 -4
- package/dist/cdn/TTOMCAES.js +0 -4
- package/dist/cdn/UDLYWYW6.js +0 -4
- package/dist/cdn/UESCD5AB.js +0 -4
- package/dist/cdn/UMSXHNKH.js +0 -4
- package/dist/cdn/UR4O5D7C.js +0 -4
- package/dist/cdn/UV2M2RAL.js +0 -4
- package/dist/cdn/VBSXEYLV.js +0 -4
- package/dist/cdn/VHDIRVUR.js +0 -4
- package/dist/cdn/VOHSJZCI.js +0 -4
- package/dist/cdn/VP2MDCXM.js +0 -4
- package/dist/cdn/WAPUSBNS.js +0 -4
- package/dist/cdn/WSCCQ5U4.js +0 -5
- package/dist/cdn/WV5BUD4Z.js +0 -4
- package/dist/cdn/X7KYTABF.js +0 -4
- package/dist/cdn/XGGAVQTC.js +0 -4
- package/dist/cdn/XNPZJ7V4.js +0 -18
- package/dist/cdn/XR3GB5SE.js +0 -6
- package/dist/cdn/XXU7NGZI.js +0 -18
- package/dist/cdn/Y4CRJWJF.js +0 -29
- package/dist/cdn/Y5TEYKUG.js +0 -4
- package/dist/cdn/YQE7AUFT.js +0 -4
- package/dist/cdn/YWZCXS4Z.js +0 -18
- package/dist/cdn/Z5RJQBZY.js +0 -4
- package/dist/cdn/ZTVPU2LX.js +0 -4
- package/dist/cdn/ZWW6ZGXP.js +0 -8
package/dist/cdn/JFYTC7KL.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{d as I}from"./65HTNVVT.js";import{C as x,b as g,c as w,z as v}from"./MXCKPU23.js";import{a as V}from"./4SEEFYPD.js";import"./Z5RJQBZY.js";import{a as L,c,d as E,e as S,f as P}from"./5BK4CWOX.js";import"./TTOMCAES.js";var D=":host{display:block;--instant-apps-scoreboard-background-color:var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color:var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom:0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0px 3px 15px rgba(0, 0, 0, 0.2);border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding:1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%, -15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:0.5vh;padding-bottom:0.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}",$=D,u="instant-apps-scoreboard",U=6,C=`${u}--`,p=`${u}__`,F=V.medium[1],m={BASE:u,itemsContainer:`${p}items-container`,items:`${p}items`,item:`${p}item`,label:`${p}item-label`,value:`${p}item-value`,valuePlaceholder:`${p}item-value-placeholder`,position:{bottom:`${p}position--bottom`,side:`${p}position--side`,left:`${p}position--left`,right:`${p}position--right`},mode:{floating:`${p}mode--floating`,pinned:`${p}mode--pinned`}},A=class{constructor(t){L(this,t),this.scoreboardItemsUpdated=P(this,"scoreboardItemsUpdated",7),this.view=void 0,this.items=void 0,this.position="bottom",this.mode="floating",this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.state="loading",this.messages=void 0,this.itemIndex=0,this.layers=void 0,this.layerViews=void 0,this.isMobile=!1}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state="calculating",await(this.view?.map).loadAll();let t=this.items.map(e=>e?.layer?.id),s=e=>e.type!=="feature"||!e.isTable,o=e=>e.type==="feature"||e.type==="scene",i=e=>t.includes(e.id),a=e=>s(e)&&o(e)&&i(e);this.layers=this.view?.map?.allLayers?.filter(e=>a(e)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(e=>e.outFields=["*"]);let t=[];this.layers.forEach(e=>{let n=e,r=this.view?.whenLayerView(n);t.push(r)});let i=(await Promise.allSettled(t)).filter(e=>e.status==="fulfilled"&&e.value).map(e=>e.value),a=[];i.forEach(e=>a.push(this.reactiveUtils?.whenOnce(()=>!e.updating))),await Promise.all(a),this.layerViews=await g([...i])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state="calculating";let t=[...this.items],s=[];this.queryStatDefinitions(t,s);let o=await Promise.all(s);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(i=>this.items.push(i)),this.state="complete",this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async componentWillLoad(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});this.el?.parentElement&&t.observe(this.el.parentElement);try{this.state="loading",await this.initMessages()}catch{return this.state="disabled",Promise.reject(new Error("Failed to load messages"))}finally{if(!this.view||!this.items)this.state="disabled";else try{await this.initModules()}catch{this.state="disabled"}}}async componentDidLoad(){if(this.state!=="disabled")try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state="disabled",console.error(`${u}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){this.state="disabled",this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initMessages(){let t;try{return t=(await I(this.el))[0],this.messages={...this.messages,...t},Promise.resolve()}catch{console.error("FAILED TO LOAD MESSAGES")}}async initModules(){try{let[t,s]=await Promise.all([v(),x()]);return this.reactiveUtils=t,this.intl=s,this.handles=await w(),this.layers=await g([]),this.layerViews=await g([]),Promise.resolve()}catch(t){throw console.error(t),this.state="disabled",new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,s=t;try{return await s.loadAll(),Promise.resolve()}catch(o){throw console.error(o),this.state="disabled",new Error("Failed to load map resources")}}}generateUID(){return t=>{let s=Math.random(),o=Math.floor(Math.random()*10)+11,a=s.toString(o).replace("0.","");t.uid=a}}render(){let{state:t}=this,s=t==="loading",o=t==="calculating",i=t==="disabled",a=s||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null,e=this.getPositionClass,n=this.getStyleClass;return c(E,{key:"2ec5b4e44c244ee935453d96887e07633f2abf37",class:`${e} ${n}`},i?null:[a,this.items?.length>0?this.renderBase():null])}renderBase(){return c("div",{key:"instant-apps-scoreboard-base",class:u},this.renderContent())}renderContent(){let{state:t}=this;return t==="loading"?this.renderLoader():t==="calculating"||t==="complete"?this.renderItemsContainer():null}renderItemsContainer(){let[t,s]=this.renderPreviousNextButtons();return c("div",{class:m.itemsContainer},t,this.renderItems(),s)}renderPreviousNextButtons(){let t=this.getItemLimit(),s=this.items.filter(k=>k.visible)?.length<=t,o=this.itemIndex===0,i=this.isEnd,a=this.isMobile?!0:this.position==="bottom",e=a?"start":"center",l={previous:a?"chevron-left":"chevron-up",next:a?"chevron-right":"chevron-down"},d=o||s?"blank":l.previous,h=i||s?"blank":l.next,b={previous:o||s,next:i||s},_="transparent",f=this.isMobile?"s":"l",y={previous:this.messages?.previous,next:this.messages?.next};return[c("calcite-action",{onClick:this.previousItem.bind(this),icon:d,disabled:b.previous,alignment:e,scale:f,appearance:_,text:y.previous??"",label:y.previous}),c("calcite-action",{onClick:this.nextItem.bind(this),icon:h,disabled:b.next,alignment:e,scale:f,appearance:_,text:y.next??"",label:y.next})]}renderItems(){let{items:t}=m,o=this.getItemsToDisplay.map(i=>this.renderItem(i));return c("ul",{class:t},o)}renderItem(t){let{label:s}=t;return c("li",{class:m.item},c("span",{class:m.label,title:s},s),this.renderValue(t))}renderValue(t){let{displayValue:s}=t,o=this.state==="calculating",i=this.state==="disabled",a=s===void 0&&o,e=s||this.messages?.NA,r=!this.layers?.find(d=>t?.layer?.id===d.id)?.visible,l=a?this.renderValuePlaceholder():i?"":r?c("calcite-icon",{icon:"view-hide",scale:"l",title:this.messages?.layerVisibilityOff}):e;return c("span",{class:m.value},l)}renderValuePlaceholder(){return c("span",{class:m.valuePlaceholder})}renderProgress(){let t=`${C}calcite-`;return c("calcite-progress",{key:`${t}progress`,type:"indeterminate"})}renderLoader(){let t=`${C}calcite-`,s=this.messages?.loading;return c("calcite-loader",{key:`${t}loader`,label:s??"",text:s,scale:"m"})}get getPositionClass(){let{bottom:t,left:s,right:o,side:i}=m.position,a=`${this.position==="left"?s:o} ${i}`;return this.isMobile||this.position==="bottom"?t:a}get getStyleClass(){let{floating:t,pinned:s}=m.mode;return this.isMobile?s:this.mode==="floating"?t:s}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<F:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(s=>s.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),o=this.items.slice(this.items.length-t).map(a=>a.uid),i=this.items.slice(this.itemIndex,this.itemIndex+t).map(a=>a.uid);return o.every((a,e)=>a===i[e])}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,s){let o=e=>{let{field:n,operation:r}=e,l=n,d=`${n}_${r}`;return{onStatisticField:l,outStatisticFieldName:d,statisticType:r}},i=(e,n)=>{let r=this.queryType==="layer"?e.layer.createQuery():e.createQuery(),l=[n],d=this.geometry?this.geometry:this.view?.extent;r.outStatistics=l,r.geometry=d;let h=e?.filter?.timeExtent??e?.featureEffect?.filter?.timeExtent??null;return h&&(r.timeExtent=h),r},a=()=>async e=>{let n=this.layerViews?.find(h=>h.layer.id===e?.layer?.id);if(!n)return;let r=o(e),l=i(n,r),d=this.queryType==="layer"?n.layer.queryFeatures(l):n.queryFeatures(l);s.push(d)};t.forEach(a())}handleQueryFeaturesResponses(t,s){let o=e=>{let r=e.features[0],{attributes:l}=r;return Object.values(l)[0]},i=()=>({notation:"compact",compactDisplay:"short"}),a=()=>(e,n)=>{let r=o(e),l=i(),d=r!==null,h=d?this.intl.formatNumber(r,l):null,b=d?`${h}`:"";s[n].displayValue=b,s[n].value=r};t.forEach(a())}initStationaryWatcher(){let t={once:!0,initial:!0},s=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>s()),i="stationary-watcher-key";this.handles?.has(i)&&this.handles.remove(i),this.handles?.add(o(),i)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let s=[],o=i=>{let a=async()=>{let n=await this.view?.whenLayerView(i);await this.reactiveUtils.whenOnce(()=>!n?.updating),this.calculateScoreboardItemValues()},e=this.reactiveUtils.watch(()=>i?.visible,async()=>await a());s.push(e)};this.layers.forEach(o),this.handles?.add([...s],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?U:this.itemLimit}get el(){return S(this)}static get watchers(){return{items:["generateUIDs","storeLayers"],layers:["storeLayerViews"],geometry:["calculateScoreboardItemValuesFromGeometry"],layerViews:["calculateScoreboardItemValues"]}}};A.style=$;export{A as instant_apps_scoreboard};
|
package/dist/cdn/JKX35XOC.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{a as w}from"./QZIAEDXM.js";import{e as E}from"./65HTNVVT.js";import{B as y,C as b}from"./MXCKPU23.js";import"./Z5RJQBZY.js";import{a as F,c as l,d as C,e as x,f as m}from"./5BK4CWOX.js";import"./TTOMCAES.js";var L="instant-apps-filter-list calcite-mode-light",$="instant-apps-filter-list calcite-mode-dark",p=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function g(e){return e.replaceAll("'","''")}function f(e,t=!1){if(e){let i=new Date(e),n=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`;if(t){let s=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`;return`${n} ${s}`}else return n}}function D(e){if(e!=null){e.value=["",""];let t=e.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let i of t)i.value=""}}var S=":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:normal}.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__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:normal;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:calc(300ms * 2)}}.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}",k=S,u={base:"instant-apps-filter-list",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",operatorDesc:"instant-apps-filter-list__operator-description",zoomTo:"instant-apps-filter-list__zoom-to"},I=class{constructor(e){F(this,e),this.filterListReset=m(this,"filterListReset",7),this.filterUpdate=m(this,"filterUpdate",7),this.isLayerExpUpdated=!1,this.layerExpressions=void 0,this.autoUpdateUrl=!1,this.closeBtn=!1,this.closeBtnOnClick=void 0,this.comboboxOverlayPositioning="absolute",this.closeBtnText=void 0,this.openFilters=!1,this.extentSelector=!1,this.extentSelectorConfig=void 0,this.urlParams=void 0,this.filterCount=0,this.view=void 0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.loading=void 0,this.filterLayerExpressions=void 0,this.messages=void 0,this.baseClass=L,this.initDefExpressions=void 0,this.initMapImageExpressions=void 0,this.initPointCloudFilters=void 0}watchViewHandler(){this.handleWhenView()}watchLayerExpressions(){this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate()}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(n=>n.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(n=>{let s=i.expressions?.find(a=>a.id===n.id);s!=null&&(n.name=s.name)}))}),await Promise.resolve(!0))}connectedCallback(){this.layerExpressions==null&&this.view==null||(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async componentWillLoad(){this.baseClass=w(this.el)==="dark"?$:L,await this.initializeModules(),E(this),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}componentDidRender(){this.resetBtnEl!=null&&(this.resetBtnEl.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([b(),y()]);this.geometryJsonUtils=t,this.intl=e}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l(C,{key:"3db1b211528d0ebe2cc379b9dccbd59c38c2f7c4"},l("calcite-panel",{key:"b46732d02815e1ccd7f9355daf5470b0e5080918",class:this.baseClass,ref:i=>this.panelEl=i},l("slot",{key:"0b6b2021c89c4aa78f8a23d34363520a1ebdf21c",slot:"header-content",name:"filter-header-content"}),l("slot",{key:"70bd30b6dc8d0eada179abf13b713e8df852f059",slot:"header-actions-end",name:"filter-header-actions-end"}),l("div",{key:"filter-container",class:u.filterContainer},e,t)))}renderLoading(){return l("calcite-loader",{label:"Loading filters..."})}renderFilter(e){let{id:t}=e;return e.expressions.map((i,n)=>i.type==="checkbox"||i.type==null?l("div",{key:`${t}-${n}`,class:u.filterItemContainer},l("div",{class:u.filterItemTitle},l("p",null,i.name)),l("div",{class:u.checkboxContainer},l("calcite-checkbox",{id:i.id.toString(),scale:"l",checked:i?.active,onCalciteCheckboxChange:this.handleCheckboxChange.bind(this,e,i)}))):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,n=i?.trim()==="OR"?"orOperator":"andOperator",s=this.renderZoomTo(e);return l("calcite-block",{key:e.id,heading:e.title,description:this.messages?.[n],expanded:this.openFilters?!0:void 0,collapsible:!0},s,t)}renderCombobox(e,t){return l("label",{key:"combo-select",class:u.filterUIItemContainer},l("span",null,t.name),l("calcite-combobox",{id:t.id.toString(),onCalciteComboboxChange:this.handleComboSelect.bind(this,t,e),label:t.name,placeholder:t.placeholder,selectionMode:"multiple","max-items":"6",scale:"s",overlayPositioning:this.comboboxOverlayPositioning},t.fields?.map((i,n)=>this.renderComboboxItem(t,i,n))))}renderComboboxItem(e,t,i){let n=this.createLabel(e,t),a=e?.selectedFields?.includes(t)??!1;return l("calcite-combobox-item",{key:`${n}-${i}`,value:t,heading:`${n}`,selected:a})}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:u.operatorDesc,heading:this.messages?.[t],expanded:!0},i,this.renderFilter(this.filterLayerExpressions[0]))}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}renderNumberSlider(e,t){let i=t?.min,n=t?.max,s=t?.step?t.step:1,a=i!=null&&n!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:n,d=[o,c];return a?l("label",{key:t?.id.toString(),class:u.filterUIItemContainer},l("span",null,t?.name),l("div",{class:u.numberInputContainer},l("calcite-slider",{id:t?.id.toString(),onCalciteSliderChange:this.handleSliderChange.bind(this,t,e),min:i,max:n,minValue:i,maxValue:n,minLabel:this.messages?.minSlider?.replace("{field}",r),maxLabel:this.messages?.maxSlider?.replace("{field}",r),step:s,labelHandles:!0,snap:!0,value:d,"group-separator":t?.format?.digitSeparator,precise:!0}))):void 0}renderDatePicker(e,t){let{min:i,max:n}=t,s=[t?.range?.min,t?.range?.max];return i!=null&&n!=null?l("label",{class:u.filterUIItemContainer},l("span",null,t?.name),l("div",{class:u.dateInputContainer},l("calcite-input-date-picker",{id:t?.id.toString(),onCalciteInputDatePickerChange:this.handleDatePickerRangeChange.bind(this,t,e),min:i,max:n,"overlay-positioning":"fixed",lang:this.intl?.getLocale()??"en",layout:"vertical",value:s,range:!0}),l("calcite-action",{onClick:this.handleResetDatePicker.bind(this,t,e),icon:"reset",text:this.messages?.resetDatePicker,title:this.messages?.resetDatePicker,scale:"s"}))):void 0}renderFooter(){let e=this.closeBtnText??this.messages?.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l("div",{class:u.footer,slot:"footer"},this.resetBtn?l("calcite-button",{appearance:"outline",width:t,ref:i=>this.resetBtnEl=i,onClick:this.handleResetFilter.bind(this)},this.messages?.resetFilter):void 0,this.closeBtn?l("calcite-button",{appearance:"solid",width:t,kind:"brand",onClick:this.closeBtnOnClick?.bind(this)},e):void 0)}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l("calcite-action",{id:t,slot:"actions-end",appearance:"transparent",text:this.messages?.zoomTo,title:this.messages?.zoomTo,scale:"s",icon:"magnifying-glass-plus",onClick:this.handleZoomTo.bind(this,e)}):void 0}handleResetDatePicker(e,t){let i=this.panelEl.querySelector(`[id='${e.id}']`);D(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}initInput(e,t){let{type:i,numDisplayOption:n,displayOption:s}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(n==="drop-down"||s==="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)}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:n,displayOption:s}=t,a="";i==="string"||i==="coded-value"||i==="date"&&(n==="drop-down"||s==="drop-down")||(i==="number"||i==="range")&&(n==="drop-down"||s==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),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 n=this.panelEl.querySelector(`[id='${i}']`);n&&Array.from(n.children).forEach(s=>{s.selected=!1});break}case"datePicker":{t.range=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);D(n);break}case"numberRange":{t.range=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);n&&(n.minValue=t.min,n.maxValue=t.max);break}}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.querySelector(`[id='${t}']`);i!=null&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables)?.forEach(t=>{if(!p.includes(t.type))return;let i=t;if(i.type==="point-cloud"){if(!this.initPointCloudFilters)return;i.filters=this.initPointCloudFilters[i.id]}else if(i.type==="map-image")i.allSublayers.forEach(n=>{n.definitionExpression=this.initMapImageExpressions?.[i.id]?.[n.id]??""});else{if(this.initDefExpressions==null)return;i.definitionExpression=this.initDefExpressions[i.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:n})=>n===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:`'${g(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),{field:n}=t;if(n!=null)if(this.setExpressionFormat(i,t,n),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let a=(await this.calculateMinMaxStatistics(i,n))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(a[`min${n}`],t.format.places),t.max=this.roundMaxNumberUp(a[`max${n}`],t.format.places)):(t.min=a[`min${n}`],t.max=a[`max${n}`]),t?.range&&Object.keys(t.range).length){let{min:r,max:o}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${r} AND ${o}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:n}=t,s=this.findFilterLayer(e),r=(await this.calculateMinMaxStatistics(s,i))?.[0]?.attributes;if(t.min=f(r[`min${i}`]),t.max=f(r[`max${i}`]),n!=null&&(n?.max!=null||n?.min!=null)){let{min:o,max:c}=n;if(o=o?.replace("+"," "),c=c?.replace("+"," "),o||c){let d=c&&!o?"<":!c&&o?">":null;return d?t.definitionExpression=`${i} ${d} '${o??c}'`:t.definitionExpression=`${i} BETWEEN '${o}' AND '${c}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let n=this.findFilterLayer(e);await this.getFeatureAttributes(n,t);let a=i.domain.codedValues.reduce((r,{code:o,name:c})=>(r[o]=c,r),{});if(t.codedValues=a,t.selectedFields?.length){let r=t.selectedFields.map(o=>typeof o=="number"?o:`'${g(o)}'`).join(",");return t.definitionExpression=`${t.field} IN (${r})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:n}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,n&&Object.keys(n).length?(e.definitionExpression=`${i} BETWEEN ${n.min} AND ${n.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:n,supportsMaxRecordCountFactor:s}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(n,a,s)&&this.handlePagination(i,r,n,s,a,t)}isLayerSupported(e){return e&&p.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 n=t?.field;if(n){let s=this.getInitDefExprFromLayer(e);i.where=s||"1=1",i.outFields=[n],i.orderByFields=[`${n} 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 n=await this.queryForFeatures(e,t,t.outFields[0]);n?.length&&(i.fields=[...new Set(n)],i.type==="string"?i.fields=i.fields.sort((s,a)=>s.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((s,a)=>s-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let n=this.getQueryCount(e,i);return e!=null&&t>n}async handlePagination(e,t,i,n,s,a){let r=this.getQueryCount(i,n),o=[];for(let c=r;c<s;c+=r){let d=t.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(e,d,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,h)=>d.localeCompare(h)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,h)=>d-h):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(a=>a.attributes?.[i])?.map(a=>a.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!p.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 a="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(a?.type==="extent"||a?.type==="polygon")return a}}}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 n=i.fields?.find(({name:a})=>a===t.field),s=n?.domain?.type;t.type=s==="coded-value"||s==="range"?s:t.type,await this.updateExpression(e,t,n)}))}async updateExpression(e,t,i){await this.handleExpressionType(e,t,i)&&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"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 updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,n){let s=this.getInitDefExprFromLayerExpression(t);(n||n===0)&&(i||i===0)&&(n===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=s?`(${s}) AND ${e?.field} BETWEEN ${n} AND ${i}`:`${e?.field} BETWEEN ${n} AND ${i}`,e.active=!0)),e.range={min:n,max:i}}handleCheckboxChange(e,t,i){let n=i.target;t.active=n.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:n,minValue:s}=i.target;this.updateRangeExpressions(e,t,n,s),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:a,type:r}=e;if(e.selectedFields=s.map(({value:o})=>o),s.length){let o=s.map(({value:c})=>typeof c=="number"?c:`'${g(c)}'`);e.definitionExpression=r==="date"?o.map(c=>this.buildDateExpression(c,a)).join(" OR "):`${a} IN (${o.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let n=i.target,[s,a]=n.valueAsDate,r=s?f(Math.floor(s.getTime()),!0):void 0,o=a?f(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))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let i=t.split(";").map(n=>JSON.parse(n));this.filterCount=this.applyFilters(i)}applyFilters(e){let t=0;return e.forEach(i=>{let n=this.filterLayerExpressions?.find(s=>s.id===i.layerId);n&&n.expressions?.forEach(s=>{s.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(s,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:n,selectedFields:s,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:s}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:e.id,expressionId:i.toString(),range:n}:{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(n=>n.active).map(n=>JSON.stringify(this.createURLParamExpression(i,n)))||[])||[];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:n}=e,s=this.view.map?.findLayerById(n)??this.view.map?.findTableById(n);if(s!=null)if(s.type==="point-cloud")this.updateFilterLayerPCLFilter(s,i);else if(s.type==="map-image"){let a=s.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(s,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:n}=i,s=this.getInitDefExprFromLayer(e),a=t?.length>0&&s!=null&&s!==""?`(${t.join(n)}) AND (${s})`:t.length>0?t.join(n):s;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){if(this.view==null)return;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.querySelector(t),n=(s,a)=>{i&&(i.loading=s,i.disabled=a)};if(n(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let s=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(s)}n(!1,!1)}async getZoomToExtent(e){let i=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,n=i.type==="map-image"?i.findSublayerById(e.sublayerId):i;if(n&&n.type!=="point-cloud"&&p.includes(n?.type)){let s=await this.getQueryLayer(n),a=s.createQuery();a.where=s.definitionExpression??"1=1";let r=await s.queryExtent(a);this.zoomToExtent={...r,type:s.geometryType}}}applyFilterToQuery(e,t){let i=this.view.allLayerViews.find(({layer:s})=>s.id===t.id),n=i?.featureEffect?.filter??i.filter;n&&["objectIds","distance","geometry","spatialRelationship","units","where","timeExtent"].forEach(a=>{n[a]!=null&&(e[a]=n[a])})}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let n of e.expressions){let{active:s,definitionExpression:a,pointCloudFilters:r}=n;s&&a&&t.push(`(${a})`),s&&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 n;if(!String(e).includes("e"))n=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[s,a]=String(e).split("e").map(c=>Number(c)),r=a+t;n=Math[i](+`${s}e${r}`)*Math.pow(10,-t)}return+n.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 n=e?.popupTemplate.fieldInfos?.find(({fieldName:s})=>s===i);n?.format&&(t.format=n.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 i=this.view.map?.allLayers.concat(this.view.map?.allTables)?.find(({id:n})=>n===e.id);return i.type==="map-image"?i?.findSublayerById(e.sublayerId):i}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)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),n=new Date(e),s=new Date(n.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${s.getHours()}:${s.getMinutes()}:${s.getSeconds()}`,c=`${s.getFullYear()}-${s.getMonth()+1}-${s.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).forEach(t=>{if(!p.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((n,s)=>(n[s.id]=s.definitionExpression??"",n),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}get el(){return x(this)}static get watchers(){return{view:["watchViewHandler"],layerExpressions:["watchLayerExpressions"]}}};I.style=k;export{I as instant_apps_filter_list};
|
package/dist/cdn/KDP6FDXS.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{j as n}from"./MXCKPU23.js";async function l(e){try{let s=await e.fetch("json",{cacheBust:!0});return Promise.resolve(s)}catch{console.error("Unable to get resource t9n data.")}}async function w(e){if(!e)return null;let s=await e.fetchResources({num:100}),o=`t9n/${e?.id}.json`,i=await n({path:o,portalItem:e}),c=s.resources.filter(r=>r.resource.path===o);if(c.length===0){let r="application/json",a=new Blob([JSON.stringify({})],{type:r});try{await e.addResource(i,a);let t=await e.fetchResources(),u=`t9n/${e?.id}.json`,R=t.resources.filter(f=>f.resource.path===u)[0].resource;return Promise.resolve(R)}catch(t){return console.error("ERROR: ",t),await Promise.reject(new Error("Failed to add resource"))}}else{let r=c[0].resource;return await Promise.resolve(r)}}export{l as a,w as b};
|
package/dist/cdn/L3LGCXHS.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
var e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};export{e as a};
|
package/dist/cdn/LBZLGIWD.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import e from"./XOCETJCR.js";import{b as C}from"./V434XRYU.js";import b from"./VHDIRVUR.js";import{a as y,c as f}from"./UV2M2RAL.js";import"./GHXC6C2C.js";import"./62WQV5YC.js";import"./YZCZUMV2.js";import"./GDYIFL6J.js";import"./2TLMYAKF.js";import"./LOVLAODG.js";import"./P27R335T.js";import"./ROJGI2W3.js";import"./T6ZDTQ2A.js";import"./VA7UARYI.js";import"./QCT6FXMR.js";import"./P7J4L36T.js";import"./ESBUX6NR.js";import"./NP7OH2ZI.js";import"./2IVXEYYO.js";import"./QRBQ5KHF.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import"./4OXHTSNR.js";import"./Q2VYZCZY.js";import{k as m,l as g,m as w,p as a}from"./55NQUWEY.js";import{b as p}from"./DAJFINWG.js";import{a as _}from"./UESCD5AB.js";import{D as u,c as n,d as s,e as h,f as r,n as d,x as o,y as c}from"./XR3GB5SE.js";import"./TTOMCAES.js";export default $arcgis.t(([,{a:i,b:x}])=>{var v=n`/** @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%}.card-group{overflow:hidden;padding:.5rem}.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%}.display-flex{display:flex}.flex-direction-column{flex-direction:column}`,l=class extends c{constructor(){super(),this.authContextConsumer=o({context:f,subscribe:!0}),this.agoSolutionsGroupId="",this.enterpriseSolutionsGroupId="",this.locale="",this.orgUrl="",this.portalUrl="",this.sortType="created",this.userSessionContextConsumer=o({context:y,subscribe:!0}),this._cards=[],this._newId="",this._refs={},this._showDeleteCompleteAlert=!1,this._translations=_({name:"solutions-deployed-panel",blocking:!0}),this._allCards=[],this._agoTerms=a,this._baseAgoTerms=a,this._categories=[],this._delay=!1,this._isOrgAdmin=!1,this._owner=w.OWNER,this._sortField="created",this._sortOrder="desc",this.deployedCardsFetched=d(),this.listenOn(window,"solutionDeleted",this.reload),this.listenOn(window,"deployProgressEnd",this._refresh)}static{this.properties={authContextConsumer:32,agoSolutionsGroupId:1,enterpriseSolutionsGroupId:1,locale:1,orgUrl:1,portalUrl:1,sortType:1,userSessionContextConsumer:32,_cards:16,_newId:16,_refs:16,_showDeleteCompleteAlert:16,_translations:16}}static{this.styles=v}reload(){this._cardsFetcher=new i(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new i(this.locale,this.orgUrl,this.portalUrl),setTimeout(()=>{(async()=>{try{await this._getDeployedSolutions()}catch(e){console.error("Error getting deployed solutions:",e)}})()},500),this._showDeleteCompleteAlert=!0}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()),await this._getDeployedSolutions()}async load(){this._cardsFetcher=new i(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new i(this.locale,this.orgUrl,this.portalUrl),this._isOrgAdmin=C(this.authContextConsumer.value),await this._getDeployedSolutions()}render(){return s`<calcite-panel><calcite-card-group class="card-group" label>${this._renderCards()}</calcite-card-group><calcite-alert auto-close auto-close-duration=fast icon=check-circle kind=success .label=${this._translations.deleteComplete} .open=${this._showDeleteCompleteAlert} @calciteAlertClose=${()=>{this._showDeleteCompleteAlert=!1}}><div slot=title>${this._translations.deleteComplete}</div></calcite-alert></calcite-panel>`}updated(e){e.has("_refs")&&this._newId&&Object.keys(this._refs).indexOf(this._newId)>-1&&(this._refs[this._newId].renderConfigureDialog(!0),this._newId="")}_renderCards(){return this._cards.length?(this._refs={},this._cards.map(e=>s`<solution-deployed-card .allowDelete=${this._isOrgAdmin||e.owner===this.userSessionContextConsumer.value.username||this.checkDeletePermissions()} .card=${e} .deployedDate=${e.created} .description=${e.snippet} .heading=${e.title} id=${e.id??r} itemId=${e.id??r} .owner=${e.owner} .thumbnail=${e.thumbnailUrl} ${p(this._handleRefs)}></solution-deployed-card>`)):s`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1 display-flex flex-direction-column"><span>${this._translations.noSolutionsYet}</span><span>${this._translations.noSolutionsInstruction}</span></div></div>`}_handleRefs(e){e&&(this._refs[e.id]=e)}async _getDeployedSolutions(){let e=await x(this.authContextConsumer.value,this.userSessionContextConsumer.value,this._cardsFetcher,this._cardsFetcherDeployed,this._agoTerms,this._sortField,this._sortOrder,this._delay,this._categories,this._allCards,this._owner);this._cards=e?.cards??[],e?.relatedSolutions&&(this._relatedSolutions=e.relatedSolutions,console.log(this._relatedSolutions)),this.deployedCardsFetched.emit(this._cards.length)}_getSolutionsBriefcase(){return s`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${h`<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;t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):(t==="updated"||t==="created")&&(this._sortOrder="desc",this._sortField=t),this.sortType=t}_filterCards(e){if(e.industry){let t=this._getIndustryValue(e.industry);if(e.domain){let S=this._getDomainValue(e.domain);this._categories=[`/Categories/${t}/${S}`]}else this._categories=[`/Categories/${t}`];e.type==="owner"&&(this._owner=e.value),this._getDeployedSolutions()}else e.type==="owner"&&(this._owner=e.value,this._getDeployedSolutions())}_getDomainValue(e){return g[e]}_getIndustryValue(e){return e==="AEC"?"AEC":m[e]}_clearFilterCategories(){this._categories=[]}checkDeletePermissions(){let e=this.authContextConsumer.value;return e?.PortalUserPrivileges&&e.PortalUserPrivileges.length>0?e.PortalUserPrivileges.some(t=>t==="portal:admin:deleteItems"):!1}async _refresh(e){let t=e.detail;t&&setTimeout(async()=>{await this._getDeployedSolutions(),this._newId=t},500)}};u("solutions-deployed-panel",l);return l},b,e)
|
package/dist/cdn/LGOLEOFG.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{a,b}from"./Y6FNQ642.js";import"./22SEAIC6.js";import"./UWXNPHTE.js";import"./HVATWN37.js";import"./TTOMCAES.js";export{a as SurveyEditorTypes,b as SurveySchema};
|
package/dist/cdn/LHXHL3RB.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{a as d}from"./QZIAEDXM.js";import{e as h}from"./65HTNVVT.js";import{c as l}from"./MXCKPU23.js";import"./Z5RJQBZY.js";import{a as v,c as a,d as m,e as u}from"./5BK4CWOX.js";import"./TTOMCAES.js";var p={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},f=new Map;Object.keys(p).forEach(t=>{f.set(t,`<svg viewBox="0 0 32 32" width="32" height="32" fill="${p[t].fill}"><path d="${p[t].path}"/></svg>`)});function o(t){return f.get(t)||""}var _=":host{display:block;--instant-apps-create-action-background:var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-create-action-background-press:var(--calcite-color-foreground-3);--instant-apps-create-action-height:100%;--instant-apps-create-action-width:fit-content;--instant-apps-create-action-icon-color:var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-create-background:var(--calcite-color-foreground-1);--instant-apps-create-text-color:var(--calcite-color-text-1);--instant-apps-create-popover-width:450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1:var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1:var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 0.5rem 0;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:fit-content;margin-bottom:0.5rem;cursor:pointer;--calcite-color-text-link:var(--calcite-color-text-1);align-items:stretch;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.instant-apps-create__option:first-of-type{margin-top:0.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:0.75rem;color:var(--calcite-color-text-2);padding:0.75rem 0 0 0.75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:0.25rem;color:rgb(126, 126, 126);--tw-translate-x:0px;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x:0.5rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}",A=_,i={baseDark:"instant-apps-create calcite-mode-dark",baseLight:"instant-apps-create calcite-mode-light",inlineContainer:"instant-apps-create__inline-container",popoverContainer:"instant-apps-create__popover-container",hidden:"instant-apps-create__visually-hidden",header:"instant-apps-create__header",options:"instant-apps-create__options",option:"instant-apps-create__option",optionIcon:"instant-apps-create__option-icon",optionText:"instant-apps-create__option-text",optionTextWrapper:"instant-apps-create__option-text-wrapper",optionTitle:"instant-apps-create__option-title",optionSubtitle:"instant-apps-create__option-subtitle",optionLink:"instant-apps-create__option-link"},y=class{constructor(t){v(this,t),this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.content=void 0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"],this.portal=void 0,this.baseClass=i.baseLight,this.messages=void 0,this.CreateOptionsLookup=void 0}contentChanged(){this.CreateOptionsLookup&&Object.keys(this.CreateOptionsLookup).forEach(t=>{this.CreateOptionsLookup[t].href=this.hrefLookup(t)})}async componentWillLoad(){return this.baseClass=d(this.el)==="dark"?i.baseDark:i.baseLight,await this.initializeModules(),await h(this).then(()=>{this.initializePredefinedOptions()})}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return a(m,{key:"662bf8aee21aafd15b22d1c64f63e242229c932b"},a("div",{key:"51f0a144f417a0c4fda1a8db71a7d67472e6b7fb",class:this.baseClass},t))}async initializeModules(){return this.handles=await l(),await Promise.resolve()}initializePredefinedOptions(){let{instantApps:t,instantAppsDesc:e,mapViewer:n,mapViewerDesc:s,arcgisStoryMaps:r,storyMapsDesc:c,experienceBuilder:g,experienceBuilderDesc:w,dashboards:b,dashboardsDesc:x}=this.messages;this.CreateOptionsLookup={"instant-apps":{title:t,subtitle:e,img:o("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:n,subtitle:s,img:o("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:r,subtitle:c,img:o("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:g,subtitle:w,img:o("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:b,subtitle:x,img:o("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){let e=this.getBaseUrl(this.portal),n=this._getEnvironment(e),s=this.contentHref();switch(t){case"instant-apps":return`${e}/apps/instantgallery/index.html?${s}`;case"dashboards":return this.content!=null&&"portalItem"in this.content?`${e}/apps/dashboards/new#id=${this.content?.portalItem?.id}`:`${e}/apps/dashboards/new`;case"map-viewer":return`${e}/apps/mapviewer/index.html?${s}`;case"story-maps":return`https://storymaps${n==="prod"?"":n}.arcgis.com/stories/new?${s}`;case"experience-builder":return`https://experience${n==="prod"?"":n}.arcgis.com/builder/page/template/?${s}`}return""}contentHref(){return this?.content?.portalItem?.type==="Web Map"?`webmap=${this.content?.portalItem?.id}`:this?.content?.portalItem?.type==="Web Scene"?`webscene=${this.content?.portalItem?.id}`:typeof this?.content?.fetchMembers=="function"?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";let{customBaseUrl:e,portalHostname:n,urlKey:s}=t,{protocol:r}=window.location,c=s?`${s}.${e}`:n;return`${r}//${c}`}_getEnvironment(t){let e="";try{e=new URL(t)?.hostname}catch{}return e?.includes("arcgis.com")?e.includes("devext")&&"dev"||e.includes("qaext")&&"qa"||"prod":"dev"}renderPopover(){let t=this.renderPanel();return[a("calcite-popover",{referenceElement:"create-popover-btn",overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:e=>this.popoverEl=e,label:this.messages?.createLabel},t),a("calcite-action",{id:"create-popover-btn",alignment:"center",icon:this.popoverIcon,title:this.messages?.create,text:this.messages?.create})]}renderPanel(){let t=this.showHeader?this.renderHeader():null,e=this.renderOptions(),n=this.mode==="inline"?i.inlineContainer:i.popoverContainer;return a("div",{class:n},t,e)}renderHeader(){let{create:t,createSubheading:e}=this.messages;return a("div",{class:i.header},a("h3",null,t),a("p",null,e))}renderOptions(){return a("nav",null,this.options.map(t=>this.renderOption(t)))}renderOption(t){if(typeof t=="string"&&(t=this.CreateOptionsLookup?.[t]),t==null)return a("div",null);let{title:e,subtitle:n,img:s,href:r}=t;return a("a",{class:i.option,href:r,target:"_blank"},a("span",{class:i.optionIcon,innerHTML:s}),a("span",{class:i.optionText},a("span",{class:i.optionTextWrapper},a("h3",{class:i.optionTitle},e),a("calcite-icon",{scale:"s",icon:"launch"})),a("p",{class:i.optionSubtitle},n)))}get el(){return u(this)}static get watchers(){return{content:["contentChanged"]}}};y.style=A;export{y as instant_apps_create};
|
package/dist/cdn/LJSLZOAW.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{a,b}from"./KOI7FBWC.js";import"./LA3N6LZH.js";import"./SM2GUROD.js";import"./22SEAIC6.js";import"./UWXNPHTE.js";import"./HVATWN37.js";import"./TTOMCAES.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
|
package/dist/cdn/LOVLAODG.js
DELETED
package/dist/cdn/LVAZCCYX.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{a as i,c as n,d as p,e as a}from"./5BK4CWOX.js";import"./TTOMCAES.js";var c=":host{display:block}",d=c,h=class{constructor(s){i(this,s),this.inTour=!1,this.currentId=void 0,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}componentWillLoad(){let s=this.host.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,r)=>{let o=t.getAttribute("ref-id");t.parent=this,t.index=r,this.instantAppsPopovers.set(o,t)}),this.host.addEventListener("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}render(){return n(p,{key:"5e963a64d3fe1adafbf07b03a319007dcc028fa8"},n("slot",{key:"f06cad97f188592dd6b1936825e4b80163ac3d37",name:"popovers"}))}next(){let s=Array.from(this.instantAppsPopovers.keys()),e=s.indexOf(this.currentId)+1,t=s[e];this.close(this.currentId),this.open(t)}previous(){let s=Array.from(this.instantAppsPopovers.keys()),e=s.indexOf(this.currentId)-1,t=s[e];this.close(this.currentId),this.open(t)}done(){this.endTour()}handlePopoverProps(s){Array.from(this.host.querySelector("[slot='popovers']")?.children||[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}async open(s){await this.beforeOpen();let e=this.instantAppsPopovers.get(s)?.firstElementChild;e.open=!0}async close(s){let e=this.instantAppsPopovers.get(s)?.firstElementChild;e.open=!1}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());this.open(s[0])}async endTour(){this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}get host(){return a(this)}};h.style=d;export{h as instant_apps_popovers};
|
package/dist/cdn/MXCKPU23.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
var r=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function i(t){return t.default!==void 0}async function I(){if(r)return await window.$arcgis.import("esri/identity/IdentityManager");let t=await $arcgis.t(m=>m[0],"identity/IdentityManager");return i(t)?t.default:t}async function e(){if(r)return await window.$arcgis.import("esri/core/Collection");let t=await $arcgis.t(m=>m[0],"core/Collection");return i(t)?t.default:t}async function L(t){let n=await e();return new n(t)}async function o(){if(r)return await window.$arcgis.import("esri/core/Handles");let t=await $arcgis.t(m=>m[0],"core/Handles");return i(t)?t.default:t}async function T(){let t=await o();return new t}async function a(){if(r)return await window.$arcgis.import("esri/geometry/Point");let t=await $arcgis.t(m=>m[0],"geometry/Point");return i(t)?t.default:t}async function E(t){let n=await a();return new n(t)}async function s(){if(r)return await window.$arcgis.import("esri/geometry/SpatialReference");let t=await $arcgis.t(m=>m[0],"geometry/SpatialReference");return i(t)?t.default:t}async function b(t){let n=await s();return new n(t)}async function u(){if(r)return await window.$arcgis.import("esri/identity/OAuthInfo");let t=await $arcgis.t(m=>m[0],"identity/OAuthInfo");return i(t)?t.default:t}async function F(t){let n=await u();return new n(t)}async function c(){if(r)return await window.$arcgis.import("esri/layers/support/FeatureEffect");let t=await $arcgis.t(m=>m[0],"layers/support/FeatureEffect");return i(t)?t.default:t}async function P(t){let n=await c();return new n(t)}async function w(){if(r)return await window.$arcgis.import("esri/layers/support/FeatureFilter");let t=await $arcgis.t(m=>m[0],"layers/support/FeatureFilter");return i(t)?t.default:t}async function x(t){let n=await w();return new n(t)}async function d(){if(r)return await window.$arcgis.import("esri/portal/PortalItemResource");let t=await $arcgis.t(m=>m[0],"portal/PortalItemResource");return i(t)?t.default:t}async function R(t){let n=await d();return new n(t)}async function m(){if(r)return await window.$arcgis.import("esri/time/TimeExtent");let t=await $arcgis.t(m=>m[0],"time/TimeExtent");return i(t)?t.default:t}async function G(t){let n=await m();return new n(t)}async function p(){if(r)return await window.$arcgis.import("esri/time/TimeInterval");let t=await $arcgis.t(m=>m[0],"time/TimeInterval");return i(t)?t.default:t}async function O(t){let n=await p();return new n(t)}async function f(){if(r)return await window.$arcgis.import("esri/WebMap");let t=await $arcgis.t(m=>m[0],"WebMap");return i(t)?t.default:t}async function U(t){let n=await f();return new n(t)}async function l(){if(r)return await window.$arcgis.import("esri/widgets/Compass");let t=await $arcgis.t(m=>m[0],"widgets/Compass");return i(t)?t.default:t}async function j(t){let n=await l();return new n(t)}async function g(){if(r)return await window.$arcgis.import("esri/widgets/CoordinateConversion");let t=await $arcgis.t(m=>m[0],"widgets/CoordinateConversion");return i(t)?t.default:t}async function A(t){let n=await g();return new n(t)}async function y(){if(r)return await window.$arcgis.import("esri/widgets/CoordinateConversion/support/Conversion");let t=await $arcgis.t(m=>m[0],"widgets/CoordinateConversion/support/Conversion");return i(t)?t.default:t}async function h(t){let n=await y();return new n(t)}async function C(){if(r)return await window.$arcgis.import("esri/widgets/Expand");let t=await $arcgis.t(m=>m[0],"widgets/Expand");return i(t)?t.default:t}async function q(t){let n=await C();return new n(t)}async function M(){if(r)return await window.$arcgis.import("esri/widgets/Legend");let t=await $arcgis.t(m=>m[0],"widgets/Legend");return i(t)?t.default:t}async function D(t){let n=await M();return new n(t)}async function $(){if(r)return await window.$arcgis.import("esri/widgets/Legend/LegendViewModel");let t=await $arcgis.t(m=>m[0],"widgets/Legend/LegendViewModel");return i(t)?t.default:t}async function H(t){let n=await $();return new n(t)}async function W(){if(r)return await window.$arcgis.import("esri/widgets/Measurement");let t=await $arcgis.t(m=>m[0],"widgets/Measurement");return i(t)?t.default:t}async function V(t){let n=await W();return new n(t)}async function S(){if(r)return await window.$arcgis.import("esri/widgets/TimeSlider");let t=await $arcgis.t(m=>m[0],"widgets/TimeSlider");return i(t)?t.default:t}async function k(t){let n=await S();return new n(t)}async function v(){if(r)return await window.$arcgis.import("esri/widgets/Widget");let t=await $arcgis.t(m=>m[0],"widgets/Widget");return i(t)?t.default:t}async function z(t){let n=await v();return new n(t)}async function B(){if(r)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await $arcgis.t(m=>m[0],"core/reactiveUtils");return i(t)?t.default:t}async function J(){if(r)return await window.$arcgis.import("esri/geometry/operators/projectOperator");let t=await $arcgis.t(m=>m[0],"geometry/operators/projectOperator");return i(t)?t.default:t}async function K(){if(r)return await window.$arcgis.import("esri/geometry/support/jsonUtils");let t=await $arcgis.t(m=>m[0],"geometry/support/jsonUtils");return i(t)?t.default:t}async function N(){if(r)return await window.$arcgis.import("esri/intl");let t=await $arcgis.t(m=>m[0],"intl");return i(t)?t.default:t}async function Q(){if(r)return await window.$arcgis.import("esri/request");let t=await $arcgis.t(m=>m[0],"request");return i(t)?t.default:t}async function X(){if(r)return await window.$arcgis.import("esri/symbols/support/symbolUtils");let t=await $arcgis.t(m=>m[0],"symbols/support/symbolUtils");return i(t)?t.default:t}export{I as a,L as b,T as c,E as d,b as e,F as f,c as g,P as h,x as i,R as j,G as k,O as l,U as m,j as n,g as o,A as p,y as q,h as r,q as s,D as t,H as u,W as v,V as w,k as x,z as y,B as z,J as A,K as B,N as C,Q as D,X as E};
|
package/dist/cdn/N65S4NHY.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{a as O}from"./YQE7AUFT.js";import{a as D}from"./VBSXEYLV.js";import{h as b,i as N}from"./MXCKPU23.js";var k=D({data:{},relationshipRampExpandStates:{},compact:!1}),P=k.state,K=k;function W(e,t,o){return n=>{let c=n?.layer?.type;if(c==="feature"||c==="group"){let i=j(t,n,o).then(r=>r);i&&e.push(i);let a=r=>{let s=j(t,r,o).then(l=>l);s&&e.push(s)};n.children.forEach(r=>{a(r),r?.children?.length>0&&r.children.forEach(s=>{a(s),s?.children?.length>0&&s.children.forEach(l=>{a(l)})})})}}}async function j(e,t,o){try{let n=t?.layer?.type==="group",c=t?.layer?.layers?.some(h=>h.visible),i=t?.layer?.layers?.every(h=>!h?.legendEnabled);await o.whenOnce(()=>e?.state==="ready"),!n||n&&c?n&&i?await o.whenOnce(()=>t?.layer?.loaded):await o.whenOnce(()=>t?.ready):await o.whenOnce(()=>t?.legendElements);let a=t?.legendElements?.[0],r=new Map,s=t.layer,l=await e?.view?.whenLayerView(s),f=s.renderer?.field??"";a!==void 0&&a?.infos?.forEach(h=>{if(h.type==="symbol-table"){let y=[];h.infos.forEach(g=>{let E={count:null,selected:!1,legendElementInfo:g};y.push(E)});let d={count:null,selected:!1,legendElementInfo:h,nestedInfos:y};r.set(h.title,d)}else{let y={count:null,selected:!1,legendElementInfo:h};r.set(h.label??s.id,y)}});let u=[];return l?Promise.resolve({activeLayerInfo:t,title:l.layer.title,categories:r,field:f,queryExpressions:u,totalCount:null,fLayerView:l,legendElement:a}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function re(e,t){let o={},n=[];e.activeLayerInfos.forEach(W(n,e,t));try{return(await Promise.all(n)).forEach(i=>{let a=i?.activeLayerInfo?.layer?.id;o[a]=i}),Promise.resolve(o)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function ne(e){return Array.from(e,t=>t[1])}function oe(e,t,o,n,c){if(n)return n?.nestedInfos?.[c];let i="label"in o&&o?.label?o?.label:t?.id;return e?.categories?.get(i)}function ce(e){return P?.data?.[e?.id]}async function ae(e,t,o,n,c){let{queryExpressions:i,fLayerView:a}=e;X(e,t,o,c);let r=i.every(u=>u&&u.includes("<>"))?" AND ":" OR ",s=i.join(r),l=a?.filter?.timeExtent??a?.featureEffect?.filter?.timeExtent??null,{type:f}=n;if(f==="filter")a.filter=await N({where:s,timeExtent:l});else if(n.effect){let{includedEffect:u,excludedEffect:h}=n.effect,p=await O(h,a,"excludedEffect"),y=await O(u,a,"includedEffect");a.featureEffect=await b({filter:await N({where:s,timeExtent:l}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function V(e,t){let o=t?t?.layer?.renderer?.authoringInfo:null,n=o?o.fields:null,c=[];if(!n)return"";if(Object.hasOwn(e,"value"))return n.forEach(i=>{if(e.value===i)return;let a=`(${e.value} > ${i} OR (${i} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;c.push(a)}),c.join(" AND ");{let i=[];n.forEach(r=>{i.push(`${r} = 0`)});let a=[];if(n.length>2){n.forEach(l=>{n.forEach(f=>{if(l===f)return;let u=[];n.forEach(h=>{l===h||f===h||u.push(`${l} = ${f} AND (${l} > ${h} OR ${l} >= ${h})`)}),a.push(`(${u.join(" AND ")})`)})});let r=[];return n.forEach(l=>{r.push(`${l} IS NULL`)}),`(${i.join(" AND ")}) OR (${a.join(" OR ")}) OR (${r.join(" AND ")})`}else{let r=[];n.forEach(l=>{n.forEach(f=>{l!==f&&(r.push(`${l} = ${f}`),r.push(`(${i.join(" AND ")})`))})});let s=[];return n.forEach(l=>{n.forEach(f=>{l!==f&&s.push(`(${l} = 0 AND ${f} IS NULL) OR (${l} IS NULL AND ${f} IS NULL)`)})}),`(${r.join(" OR ")}) OR (${s.join(" OR ")})`}}}function X(e,t,o,n){let{field:c,legendElement:i,categories:a,fLayerView:r}=e,s=e?.queryExpressions;n&&Array.from(e.categories).map(g=>g[1]).forEach(g=>{g.nestedInfos?.every(m=>!m.selected)&&g.nestedInfos?.forEach(m=>{let $=c?`${c} = '${m.legendElementInfo.value}'`:null,w=$?s.indexOf($):-1;$&&w!==-1&&s.splice(w,1)})});let l=i?.infos,f=L(r),u=f?V(t,r):R(t,c,o,i,l??[],""),h=a?n?a.get(n.title)?.nestedInfos?.[o]:a.get(t.label??r?.layer?.id):null;h&&(h.selected=!h?.selected);let p=l&&l.length===1,y=s.indexOf(u);if(f){let d=s.indexOf(u);s.length===0||d===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]?s[0]="1=0":s&&s.length===1||s.length===1&&u!==s[0]&&s[0]==="1=0"?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"?s[0]=null:s.splice(d,1),s.join(" OR ")}else s.length===0||y===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]&&!p?s[0]="1=0":s&&s.length===1&&!p||s.length===1&&u!==s[0]&&s[0]==="1=0"&&!p?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"&&!p?s[0]=null:s.splice(y,1);if(n){let d=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{(c?`${c} = '${$.legendElementInfo.value}'`:null)&&d.push(`${c} = '${$.legendElementInfo.value}'`)})}),d.forEach(E=>{s.includes(E)||s.push(E)})}}function R(e,t,o,n,c,i){let{value:a}=e;if(n?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&c?.length===1){if(Object.hasOwn(c?.[0],"value")&&Array.isArray(c?.[0].value)&&Object.hasOwn(c?.[c.length-2],"value")&&Array.isArray(c?.[c.length-2].value))return i?`((${t}/${i}) > ${c?.[0].value[1]}) OR ((${t}/${i}) < ${c?.[c.length-2].value[0]}) OR ${i} = 0 OR ${i} IS NULL`:`${t} > ${c?.[0].value[1]} OR ${t} < ${c?.[c.length-2].value[0]} OR ${t} IS NULL`;if(c?.length===1)return"1=0";{let r=[];c?.forEach(l=>{if(l?.value){let{value:f}=l,u=f.indexOf("'")!==-1?f.split("'").join("''"):null,h=u?`${t} <> '${u}'`:isNaN(f)||typeof f=="string"&&!f.trim()?`${t} <> '${f}'`:`${t} <> ${f} AND ${t} <> '${f}'`;r.push(h)}});let s=r.join(" AND ");return t&&s?`${s} OR ${t} IS NULL`:""}}else{let r=a.indexOf("'")!==-1?a.split("'").join("''"):null,s=Array.isArray(e.value),l=c&&c.length-1===o,f=!Object.hasOwn(c?.[c.length-1],"value"),u=c&&c.length-2===o;return s?i?l||f&&u?`(${t}/${i}) >= ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:`(${t}/${i}) > ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:l||f&&u?`${t} >= ${a[0]} AND ${t} <= ${a[1]}`:`${t} > ${a[0]} AND ${t} <= ${a[1]}`:c?.length===1&&t?isNaN(a)||!a.trim().length?`${t} <> '${a}'`:`${t} <> ${a} OR ${t} <> '${a}'`:r?`${t} = '${r}'`:isNaN(a)||!a.trim().length?`${t} = '${a}'`:`${t} = ${a} OR ${t} = '${a}'`}else return""}function ie(e){return Array.isArray(e)?e.every(t=>!t.selected):e&&Array.from(e.categories.entries()).every(t=>!t[1].selected)&&e.queryExpressions[0]!=="1=0"}function L(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function le(e){return e?.legendElements[1]?.type==="relationship-ramp"}function ue(e,t,o){let c=e.layer?.renderer?.field,i=t?.type,a=e?.layerView,r=a?.layer?.renderer?.classBreakInfos,s=a?.layer?.renderer?.uniqueValueInfos&&c,l=i==="size-ramp",f=i==="color-ramp",u=i==="opacity-ramp",h=i==="heatmap-ramp",p=a&&r&&r.length>1,y=a?.layer?.renderer?.authoringInfo?.type,d=y==="class-breaks-color",g=y==="class-breaks-size",E=t?.infos?.length===1&&!c,m=y==="relationship"&&t?.type!=="size-ramp"&&t?.type!=="symbol-table",$=e?.layer?.type==="feature",w=$&&c&&!f&&!l&&p,A=!!($&&c&&!f&&!l&&!p),S=!!(A||L(a)&&!l||d&&c||g&&c||E&&!c&&c!==null||m||s),U=e?.layer?.featureReduction&&e?.legendElements?.[o]?.type==="size-ramp",q=t?.type==="symbol-table"&&t?.infos?.length===1,Q=!e?.legendElements.every(x=>x.type!=="color-ramp"),B=!e?.legendElements.every(x=>x.type!=="size-ramp"),z=q&&Q,I=q&&B,G=t?.infos?.every(x=>typeof x.value=="number"),Z=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",H=y==="dot-density",J=T(e?.layer,c);return $&&!U&&!u&&!h&&!z&&!I&&!G&&!Z&&!H&&J?r?w||S:A||S:!1}function fe(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(t=>{t.selected=!1}),e}function he(e,t){e.categories.get(t)?.nestedInfos?.forEach(r=>{let s=`${e.field} = '${r.legendElementInfo.value}'`,l=e.queryExpressions.indexOf(s);l!==-1&&e.queryExpressions.splice(l,1),r.selected=!1});let n=[],c=Array.from(e.categories).map(r=>r[1]);c.forEach(r=>{r.nestedInfos?.every(l=>!l.selected)&&r.nestedInfos?.forEach(l=>{n.push(`${e.field} = '${l.legendElementInfo.value}'`)})}),n.forEach(r=>{e.queryExpressions.includes(r)||e.queryExpressions.push(r)});let i=e.queryExpressions.join(" OR ");return c.every(r=>r.nestedInfos?.every(s=>!s.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=i),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=i)),e}async function ye(e,t,o){let n=e.fLayerView.createQuery();if(o)if(o.nestedInfos.every(i=>!i.selected)){let i=o.nestedInfos.map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let i=o.nestedInfos.filter(a=>a.selected).map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let c=e.queryExpressions.join(" OR ");n.where=c}try{let{extent:c}=await e.fLayerView.layer.queryExtent(n);await t.goTo(c)}catch{}}function pe(e){return e.map(o=>o?.count).reduce((o,n)=>o+n)}function de(e){return e.map(t=>t?.nestedInfos?.map(o=>o.count).reduce((o,n)=>o+n)).reduce((t,o)=>t+o)}async function v(e,t,o,n,c,i,a,r){if(!t||!T(t?.layer,o))return;let l=t?.layer?.type==="feature"?t.createQuery():null,f=L(t)?V(n,t):n.type?R(a,o,r,n,n.infos):R(n,o,c,i,i.infos);l&&f&&(l.where=f==="1=0"?"1=1":f,e&&(l.geometry=e));try{let u=l?await t.queryFeatureCount(l):null;return Promise.resolve({[n.label??t?.layer?.id]:u})}catch(u){console.error("FAILURE AT 'getInfoCount': ",u)}return await Promise.resolve(null)}async function ge(e,t){let o={...t},{activeLayerInfos:n}=e,c=e?.view?.extent,i={},a={};n.forEach(async r=>{let s=r.legendElements[0],l=r.layer,f=t[r?.layer?.id]?.fLayerView,u=l.renderer?.field,h=[];a[r.layer.id]=[],s?.infos?.forEach((y,d)=>{if(s.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach((m,$)=>{let w=v(c,f,u,y,d,s,m,$);E.push(w)}),a[r.layer.id].push(E)}else h.push(v(c,f,u,y,d,s)),a[r.layer.id]=h});let p=y=>{let d=[],g=y.legendElements[0],E=y.layer,m=t[y?.layer?.id]?.fLayerView,$=E.renderer?.field;g?.infos?.forEach((w,A)=>d.push(v(c,m,$,w,A,g))),a[y.layer.id]=d};r.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(d=>{p(d),d?.children?.length>0&&d.children.forEach(g=>{p(g)})})})});for(let r in a){let s=i[r];s||(s=i[r]={});let l=await Promise.all(a[r]);if(l.every(f=>Array.isArray(f))){let f=await Promise.all(l.map(async u=>(await Promise.all(u)).map(y=>y&&Object.values(y)[0])));s[r]=f,i[r]={...s[r]}}else{let f={};l.forEach(u=>{if(!u)return;let h=Object.keys(u)[0];f[h]=u[h]}),r&&(s[r]=f),i[r]={...s[r]}}}return n.forEach(r=>{let s=t[r.layer.id],l=r.layer.id;s?.categories?.forEach((h,p)=>{let d=Array.from(s?.categories).findIndex(g=>g[0]===p);if(h?.nestedInfos)h?.nestedInfos.forEach((g,E)=>{let m=i?.[r?.layer?.id]?.[d]?.[E];g.count=isNaN(m)?null:m});else{let g=i?.[l]?.[p];h.count=isNaN(g)?null:g}});let u=h=>{let p=h.layer.id;t[p]?.categories?.forEach((d,g)=>{let E=i?.[p]?.[g];d.count=E})};r?.children?.forEach(h=>{u(h),h?.children?.length>0&&h.children.forEach(p=>{u(p),p?.children?.length>0&&p.children.forEach(y=>{u(y)})})})}),await Promise.resolve(o)}function Ee(e,t){return e?.nestedInfos?.[t]}function $e(e){return Array.from(e).map(o=>o[1]).every(o=>!!o?.nestedInfos)}function me(e){return!!e?.legendElements?.[0]?.infos?.every?.(t=>t?.type==="symbol-table")}function we(e,t){if(typeof t?.title=="string")return e?.categories?.get(t?.title)}function xe(e){let t="calcite-mode-",o=`${t}light`,n=`${t}dark`;return e.classList.contains(n)?n:o}function Oe(e){if(e.layerId&&e.intLegendLayerData){let t=e.layerId,o=e.intLegendLayerData,n={...P.data,[t]:o};K.set("data",n)}}function Ae(e,t){let{type:o}=e;o==="filter"?Y(t):o==="effect"&&_(e,t)}function Y(e){e?.allLayerViews?.filter(t=>t?.layer?.type==="feature")?.forEach(t=>{let o=t,n=C(o);o.filter=n,o.set("featureEffect",null)})}function _(e,t){t?.allLayerViews?.filter(o=>o?.layer?.type==="feature").forEach(async o=>{let n=o;if(e?.effect&&n){let{includedEffect:c,excludedEffect:i}=e.effect,a=await O(i,n,"excludedEffect"),r=await O(c,n,"includedEffect"),s=C(n);n.featureEffect=await b({filter:s,includedEffect:r,excludedEffect:a}),n.set("filter",null)}})}function C(e){return e?.filter||e?.featureEffect?.filter}function T(e,t){let o=e?.fields,n=o&&o.map(c=>c.name);return t?n&&n.includes(t):!0}function be(e){let t=[];return e.forEach(o=>F(o,t)),t}function F(e,t){t.push(e),e.children&&e.children.length>0&&e.children.forEach(o=>{F(o,t)})}export{P as a,K as b,j as c,re as d,ne as e,oe as f,ce as g,ae as h,ie as i,le as j,ue as k,fe as l,he as m,ye as n,pe as o,de as p,ge as q,Ee as r,$e as s,me as t,we as u,xe as v,Oe as w,Ae as x,be as y};
|
package/dist/cdn/N7ACGWAI.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{e as o}from"./65HTNVVT.js";import"./MXCKPU23.js";import"./Z5RJQBZY.js";import{a as n,c as t,d as r,e as i}from"./5BK4CWOX.js";import"./TTOMCAES.js";var c=":host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:0.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:0.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:0.5rem 0.75rem 0.5rem 0.75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(even){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:0.5em 0.7em;font-weight:400}",l=c,h={content:"instant-apps-keyboard-shortcuts__content"},d=class{constructor(s){n(this,s),this.messages=void 0,this.view=void 0}render(){let s=this?.view?.type==="2d"||!this?.view?this._getMapViewCommands():this._getSceneViewCommands(),a=this._isMacLike()?"Option":"Alt";return t(r,{key:"84f9106dc025e1e2f72b3877c07f4f518f114451"},t("calcite-block",{key:"25201b23d1d74d25678b324db2d9ba8a19b65fe1",open:!0,class:h.content,heading:this?.messages?.generalShortcuts?.label},t("table",{key:"3eda56857013107bb19470f47b12c7a2296c6c51"},this.renderTableHeader(),t("tr",{key:"432311f662920cdc42f15f5d70b3ef9b93844cd0"},t("td",{key:"389c393270a40a0e9c7e0976d67a29154aa7b082"},`${a} + M`),t("td",{key:"e375dc8f8d69e75e20db9387d41dc2bd80862e06"},this?.messages?.generalShortcuts?.title))),t("calcite-label",{key:"5e770d6232fba18fb9a8bf64eadd713a417ec465"},this?.messages?.generalShortcuts?.title),t("table",{key:"6a16dbd6d987507dc024da5248ee3a4c5591fc7f"},this.renderTableHeader(),s.map(e=>t("tr",null,t("td",null,e.alias),t("td",null,e.title))))))}componentDidLoad(){o(this)}renderTableHeader(){return this?.messages?t("tr",null,t("th",null,this?.messages?.generalShortcuts.shortcut),t("th",null,this?.messages?.generalShortcuts.action)):null}_getMapViewCommands(){let s=this.view?.type==="2d"&&this.view.constraints.rotationEnabled,a=this?.messages?[{alias:this?.messages.mapShortcuts.arrowKeys,title:this?.messages.mapShortcuts.nudge,show:!0},{alias:"N",title:this?.messages.mapShortcuts.N,show:s},{alias:"A",title:this?.messages.mapShortcuts.A,show:s},{alias:"D",title:this?.messages.mapShortcuts.D,show:s},{alias:"+",title:this?.messages.mapShortcuts.plus,show:!0},{alias:"-",title:this?.messages.mapShortcuts.minus,show:!0}]:[];return this?.messages?a?.filter(e=>e.show):[]}_getSceneViewCommands(){let s=this.view?.type==="3d"&&this.view.viewingMode==="global",a=this?.messages?[{alias:this?.messages.mapShortcuts.arrowKeys,title:this?.messages.mapShortcuts.nudge,show:!!s},{alias:"P",title:this?.messages.sceneShortcuts.P,show:!0},{alias:"N",title:this?.messages.sceneShortcuts.N,show:!0},{alias:"W",title:this?.messages.sceneShortcuts.W,show:!0},{alias:"A",title:this?.messages.sceneShortcuts.A,show:!0},{alias:"D",title:this?.messages.sceneShortcuts.D,show:!0},{alias:"S",title:this?.messages.sceneShortcuts.S,show:!0},{alias:"J",title:this?.messages.sceneShortcuts.globalCommands.J,show:!!s},{alias:"U",title:this?.messages.sceneShortcuts.globalCommands.U,show:!!s}]:[];return this?.messages?a?.filter(e=>e.show):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}get el(){return i(this)}};d.style=l;export{d as instant_apps_keyboard_shortcuts};
|
package/dist/cdn/NGDTJRWQ.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{a,b}from"./VW6GSY2U.js";import"./22SEAIC6.js";import"./UWXNPHTE.js";import"./HVATWN37.js";import"./TTOMCAES.js";export{a as InitiativeTemplateEditorTypes,b as InitiativeTemplateSchema};
|
package/dist/cdn/NSCQHAM7.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{e as o}from"./65HTNVVT.js";import"./MXCKPU23.js";import"./Z5RJQBZY.js";import{a,c as e,e as i,f as c}from"./5BK4CWOX.js";import"./TTOMCAES.js";function r(t){window?.localStorage.setItem(t,"false")}function l(t){return!!window?.localStorage?.getItem(t)}function d(t){window?.localStorage?.removeItem(t)}var p=":host{--instant-apps-splash-content-max-height:100%;--instant-apps-splash-back-content-display:flex;display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:var(--instant-apps-splash-back-content-display);align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom:0}:host .instant-apps-splash__content{max-height:var(--instant-apps-splash-content-max-height)}",u=p,b={back:"instant-apps-splash__back-content",content:"instant-apps-splash__content"},g=class{constructor(t){a(this,t),this.splashClose=c(this,"splashClose",7),this._sanitizer=null,this.localStorageKey=void 0,this.titleText="",this.content="",this.primaryButtonText="",this.open=!0,this.closeButtonDisabled=!1,this.outsideCloseDisabled=!1,this.secondaryButton=!1,this.secondaryButtonText=void 0,this.secondaryButtonIcon=void 0,this.secondaryButtonCallback=void 0,this.messages=void 0}sanitizeContent(){}componentWillLoad(){let t,{localStorageKey:s}=this;s?t=this.open&&!l(this.localStorageKey):t=this.open,this.el.open=t,this.content&&this._sanitizer&&this.sanitizeContent()}componentDidLoad(){o(this)}render(){return e("calcite-dialog",{key:"bab56b60ce5cd05e63a285073240339cc6245a42",ref:t=>{t&&(t.focusTrapOptions={allowOutsideClick:!0},t.open=this.open)},modal:!0,heading:this.titleText,"aria-describedby":"description",onCalciteDialogClose:this.close.bind(this),closeDisabled:this.closeButtonDisabled,outsideCloseDisabled:this.outsideCloseDisabled},e("div",{key:"42811bb7fb0b369e5c29e0ed75122e9c7ca59362",id:"description",innerHTML:this.content}),e("slot",{key:"51244921b37c362cb40f2e7bfa97dad8e06cea13",name:"custom-action"}),this.localStorageKey?this.renderDontShowThisAgainCheckbox():null,this.secondaryButton?this.renderSecondaryButton():null,this.renderPrimaryButton())}renderDontShowThisAgainCheckbox(){let{localStorageKey:t,messages:s}=this,n=l(t)?!0:null;return e("div",{class:b.back,slot:"footer-start"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{onCalciteCheckboxChange:this.handleDontShowThisAgain.bind(this),checked:n??void 0}),s?.dontShowThisAgain))}renderPrimaryButton(){let{primaryButtonText:t}=this;return e("calcite-button",{onClick:this.close.bind(this),slot:"footer-end"},t||"Enter")}renderSecondaryButton(){return e("calcite-button",{onClick:this.secondaryButtonCallback?.bind(this),slot:"footer-end","icon-start":this.secondaryButtonIcon,appearance:"outline"},this.secondaryButtonText)}close(){this.open=!1,this.splashClose.emit()}handleDontShowThisAgain(t){let{localStorageKey:s}=this;if(!s)return;let n=t.target,{checked:h}=n;h?r(s):d(s)}get el(){return i(this)}static get watchers(){return{content:["sanitizeContent"]}}};g.style=u;export{g as instant_apps_splash};
|
package/dist/cdn/NZ42ZTHT.js
DELETED
package/dist/cdn/O5OQYVQ3.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{a as c}from"./PVPNQBWZ.js";import{k as y,m as o}from"./55NQUWEY.js";import{a as S}from"./UESCD5AB.js";import{D as m,c as d,d as s,n as p,y as g}from"./XR3GB5SE.js";import"./TTOMCAES.js";var F=d`/** @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
|
-
*/.width-full{width:100%}`;var O={PUBLICSAFETY:["EMERGENCYMANAGEMENT","FIRESERVICE","LAWENFORCEMENT"],STATEANDLOCALGOVERNMENT:["AGRICULTURE","AIRPORT","ASSESSMENTANDTAXATION","ELECTIONS","EMERGENCYMANAGEMENT","FIRESERVICE","FISHANDWILDLIFE","HEALTHANDHUMANSERVICES","LAWENFORCEMENT","NATURALRESOURCES","PARKS","PLANNINGANDDEVELOPMENT","PUBLICWORKS","TRANSPORTATION"],UTILITIES:["DISTRICTENERGY","ELECTRIC","GAS","SEWER","STORMWATER","WATER"]},I=Object.keys(y).reduce((h,i)=>{let t=i;return h[t]=O[t]??[],h},{}),u=class extends g{constructor(){super(),this.isAIsettingEnabled=!1,this.isAllSolutions=!1,this._activeFilterSettings={industry:{group:"",subgroup:""},isOwnerMySolutions:!0,searchTerm:""},this._translations=S({name:"solutions-filter-panel",blocking:!0}),this.applyFilter=p(),this._handleFilterRemoved=i=>{let t=i.detail;if(typeof t=="object"&&t!==null&&"type"in t&&typeof t.type=="string"){let e=t.type;(e==="industry"||e==="domain")&&this.changeIndustryFilter("","","")}else typeof t=="string"&&t.toLowerCase()===o.ORGANIZATION.toLowerCase()&&this.changeOwnerFilter(!0,!0)},this.listenOn(window,"filterRemoved",this._handleFilterRemoved)}static{this.properties={isAIsettingEnabled:5,isAllSolutions:5,_activeFilterSettings:16,_translations:16}}static{this.styles=F}changeOwnerFilter(i,t){this._activeFilterSettings={...this._activeFilterSettings,isOwnerMySolutions:i};let e={displayValue:this._activeFilterSettings.isOwnerMySolutions?this._translations.mySolutions:this._translations.myOrgSolutions,type:"owner",value:this._activeFilterSettings.isOwnerMySolutions?o.OWNER:o.ORGANIZATION};t&&this.applyFilter.emit(e)}changeIndustryFilter(i,t,e,r){let n={displayValue:e,type:t!==""?"domain":"industry",value:t!==""?t:i,industry:i,domain:t},l={group:i,subgroup:t};this._activeFilterSettings={...this._activeFilterSettings,industry:l},r&&this.applyFilter.emit(n)}changeSearchFilter(i,t){this._activeFilterSettings={...this._activeFilterSettings,searchTerm:i},(i.length>=3||i==="")&&t&&this.applyFilter.emit({searchTerm:i})}clearFilters(){this.changeIndustryFilter("","",""),this.changeSearchFilter(""),this.applyFilter.emit(null),setTimeout(()=>{this.changeOwnerFilter(!0,!0)},500)}render(){return s`<calcite-panel description .heading=${this._translations.findSolutions}><calcite-action icon=reset @click=${()=>{this.clearFilters()}} slot=header-actions-end .text=${this._translations.clear} text-enabled></calcite-action><calcite-input-text class="width-full" clearable icon=search @calciteInputTextInput=${i=>{this.changeSearchFilter(i.target.value,!0)}} .placeholder=${this._translations.search.solutions} slot=content-top .value=${this._activeFilterSettings.searchTerm}></calcite-input-text><calcite-block-group label>${!this.isAllSolutions&&this.renderOwnerBlock()||""}${this.renderIndustryBlock()}</calcite-block-group>${this.isAIsettingEnabled&&s`<calcite-button icon-start=speech-bubbles label="Solutions Assistant" round scale=l slot=footer-start></calcite-button>`||""}</calcite-panel>`}renderOwnerBlock(){return s`<calcite-block collapsible description expanded .heading=${this._translations.owner}><calcite-tree selection-mode=single-persist>${this._activeFilterSettings.isOwnerMySolutions?s`<calcite-tree-item .label=${this._translations.mySolutions} @click=${()=>{this.changeOwnerFilter(!0,!0)}} selected>${this._translations.mySolutions}</calcite-tree-item>`:s`<calcite-tree-item .label=${this._translations.mySolutions} @click=${()=>{this.changeOwnerFilter(!0,!0)}}>${this._translations.mySolutions}</calcite-tree-item>`}${this._activeFilterSettings.isOwnerMySolutions?s`<calcite-tree-item .label=${this._translations.myOrgSolutions} @click=${()=>{this.changeOwnerFilter(!1,!0)}}>${this._translations.myOrgSolutions}</calcite-tree-item>`:s`<calcite-tree-item .label=${this._translations.myOrgSolutions} @click=${()=>{this.changeOwnerFilter(!1,!0)}} selected>${this._translations.myOrgSolutions}</calcite-tree-item>`}</calcite-tree></calcite-block>`}renderIndustryBlock(){let i=(e,r)=>r.map(n=>{let l=Object.keys(this._translations.industriesDomain).find(E=>E.toUpperCase()===n.toUpperCase()),a=l&&l in this._translations.industriesDomain?this._translations.industriesDomain[l]:n;return n===this._activeFilterSettings.industry.subgroup?c(n,s`<calcite-tree-item .label=${a} @click=${()=>{this.changeIndustryFilter(e,n,a,!0)}} selected>${a}</calcite-tree-item>`):c(n,s`<calcite-tree-item .label=${a} @click=${()=>{this.changeIndustryFilter(e,n,a,!0)}}>${a}</calcite-tree-item>`)}),t=Object.entries(I).map(([e,r])=>{let n=Object.keys(this._translations.industries).find(a=>a.toUpperCase()===e.toUpperCase()),l=n&&n in this._translations.industries?this._translations.industries[n]:e;return e===this._activeFilterSettings.industry.group&&this._activeFilterSettings.industry.subgroup===""?c(e,s`<calcite-tree-item .expanded=${e===this._activeFilterSettings.industry.group&&r.length>0} .label=${l} @click=${()=>{this.changeIndustryFilter(e,"",l,!0)}} selected>${l}${r.length>0&&s`<calcite-tree slot=children selection-mode=single-persist>${i(e,r)}</calcite-tree>`||""}</calcite-tree-item>`):c(e,s`<calcite-tree-item .expanded=${e===this._activeFilterSettings.industry.group&&r.length>0} .label=${l} @click=${()=>{this.changeIndustryFilter(e,"",l,!0)}}>${l}${r.length>0&&s`<calcite-tree slot=children selection-mode=single-persist>${i(e,r)}</calcite-tree>`||""}</calcite-tree-item>`)});return s`<calcite-block collapsible description expanded .heading=${this._translations.industriesHeader} .label=${this._translations.industriesHeader}><calcite-tree selection-mode=single-persist>${t}</calcite-tree></calcite-block>`}};m("solutions-filter-panel",u);export{u as SolutionsFilterPanel};
|
package/dist/cdn/OMFYWQSY.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{b as p,v as m}from"./N65S4NHY.js";import"./YQE7AUFT.js";import"./VBSXEYLV.js";import{e as g}from"./65HTNVVT.js";import{c as o,t as c,u as d,y as l,z as h}from"./MXCKPU23.js";import"./Z5RJQBZY.js";import{a as v,c as r,e as f,h as w}from"./5BK4CWOX.js";import"./TTOMCAES.js";var u=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}",y=u,L={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"}},C=class{constructor(e){v(this,e),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1,this.messages=void 0}async componentWillLoad(){this.compactHandler(),new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){await g(this)}async initializeModules(){let e=await h();this.handles=await o(),this.reactiveUtils=e,this.widget=await l({});let t=await c({});return await e.whenOnce(()=>t?.messages),this.messages={...this.messages,...t.messages},void await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,s=this.view?.map?.allLayers?.map(async a=>await a.load());await Promise.allSettled(s),await t(()=>this.view?.ready);let n={view:this.view,respectLayerDefinitionExpression:!0},i=await d(n);this.legendvm=i,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){p.set("compact",this.compact)}render(){let{base:e,component:t,widget:s,widgetPanel:n}=L.esri;return r("div",{key:"interactive-legend",class:this.widget?.classes(e,t,s,n)},this.legendvm?r("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>{i&&(this.ref=i)},class:m(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}):null)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)))}_renderOnActiveLayerInfoChange(e,t){let{on:s}=this.reactiveUtils,n=s(()=>e.children,"change",()=>e.children.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)));this.handles.add(n,`children_${e?.layer?.uid}`),e.children.forEach(i=>{this._renderOnActiveLayerInfoChange(i,t),i?.children?.length>0&&i?.children?.forEach(a=>this._renderOnActiveLayerInfoChange(a,t))})}get el(){return f(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"],compact:["compactHandler"]}}};C.style=y;export{C as instant_apps_interactive_legend};
|
package/dist/cdn/OTBZT6CE.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{a as r}from"./4SEEFYPD.js";import{a as o,b as h}from"./WSCCQ5U4.js";import{b as i}from"./Z5RJQBZY.js";import{a as l,c as t,d,e as p,f as g}from"./5BK4CWOX.js";import"./TTOMCAES.js";var _=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration);overflow:hidden}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}",f=_,a={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},u=class{constructor(e){l(this,e),this.infoIsOpenChanged=g(this,"infoIsOpenChanged",6),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.dir=void 0,this.titleText="",this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=r.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=i(this.el),this.handleMobileBreakpoints(),this.dir=i(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){let e=this.logoImage==="undefined"||this.logoImage?.split("?")?.[0]==="undefined"||this.logoImage?.split("?")?.[0]===""||!this.logoImage,s=this.renderLogo(e),n=this.renderTitle(),c=this.headerAlignment==="right"||this.headerAlignment==="center"?a.headerContent.concat(" ",a.alignment[this.headerAlignment]):a.headerContent,m=o(this.fontFamily);return t(d,{key:"67508c680a63356bffe44968e023768d34a3a8d1"},this.customHeaderHtml?[t("style",null,this.customHeaderCss),t("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:t("header",{class:`${a.base}${this.dir==="rtl"?` ${a.flipRtl}`:""}${this.logoImage&&!e?` ${a.logoHeight}${this.logoScale}`:` ${a.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:m}},t("div",{class:a.headerContainer},t("span",{class:c},s,n,this.infoButton?t("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),t("div",{class:a.actionsEndContainer},t("slot",{name:"actions-end"})))))}renderLogo(e){let s=this.logoScale??"m",n=`${a.logoScale}${s}`;return e?"":this.logoImage&&this.logoLink?t("a",{href:this.logoLink,target:"_blank"},t("img",{class:n,src:this.logoImage,alt:this.logoImageAltText})):this.logoImage?t("img",{class:n,src:this.logoImage,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?t("a",{style:{color:this.textColor},href:this.titleTextLink,rel:"noopener noreferrer",target:"_blank"},t("h1",{style:{color:this.textColor}},this.titleText)):t("h1",{style:{color:this.textColor}},this.titleText)}async toggleInfo(){return this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen),await Promise.resolve()}mqlCallback(){return e=>{let{matches:s}=e;if(s){this.logoScale="s";return}this.logoScale=this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;let e=`(max-width: ${this.mobileWidthBreakpoint}px)`,s=window.matchMedia(e);s.matches&&(this.logoScale="s"),s.addEventListener("change",this.mqlCallback())}get el(){return p(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};u.style=f;export{u as instant_apps_header};
|
package/dist/cdn/OUA6OKHZ.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{i as t}from"./5BK4CWOX.js";var n=()=>{};var r=async(e,a)=>{if(!(typeof window>"u"))return await n(),t(JSON.parse('[["instant-apps-interactive-legend",[[2,"instant-apps-interactive-legend",{"view":[16],"zoomTo":[4,"zoom-to"],"featureCount":[1028,"feature-count"],"filterMode":[16],"compact":[4],"handles":[32],"reactiveUtils":[32],"legendvm":[32],"widget":[32],"messages":[32]},null,{"handles":["init"],"reactiveUtils":["init"],"view":["init"],"compact":["compactHandler"]}]]],["instant-apps-language-switcher",[[1,"instant-apps-language-switcher",{"icon":[1],"portalItem":[16],"view":[16],"locales":[16],"defaultLocale":[1,"default-locale"],"selectedLanguage":[1,"selected-language"],"calciteDropdownOverlayPositioning":[1,"calcite-dropdown-overlay-positioning"],"messages":[32],"t9nData":[32],"refresh":[64]}]]],["instant-apps-export",[[1,"instant-apps-export",{"output":[1040],"beforeExport":[16],"popoverIcon":[1,"popover-icon"],"extraContent":[16],"extraContentLabel":[1,"extra-content-label"],"headerTitle":[1025,"header-title"],"logoImage":[1025,"logo-image"],"logoAltText":[1025,"logo-alt-text"],"includeExtraContent":[1028,"include-extra-content"],"showExtraContentInImg":[4,"show-extra-content-in-img"],"includeLegend":[1028,"include-legend"],"includeMap":[1028,"include-map"],"includePopup":[1028,"include-popup"],"includeFileFormat":[1028,"include-file-format"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"scale":[1],"showHeaderTitle":[4,"show-header-title"],"showIncludeLegend":[4,"show-include-legend"],"showIncludeMap":[4,"show-include-map"],"showIncludePopup":[4,"show-include-popup"],"showScaleBar":[4,"show-scale-bar"],"view":[16],"maskBackground":[1,"mask-background"],"maskBorder":[1,"mask-border"],"defaultFileType":[1,"default-file-type"],"baseClass":[32],"exportIsLoading":[32],"messages":[32],"selectedFileType":[32]},null,{"includeMap":["watchIncludeMap"],"view":["watchView"]}]]],["instant-apps-interactive-legend-group-legend-element-caption",[[2,"instant-apps-interactive-legend-group-legend-element-caption",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[16],"isChild":[4,"is-child"],"expanded":[1028]}]]],["instant-apps-landing-page",[[1,"instant-apps-landing-page",{"titleText":[1,"title-text"],"subtitleText":[1,"subtitle-text"],"descriptionText":[1,"description-text"],"entryButtonText":[1,"entry-button-text"],"iconImage":[1,"icon-image"],"iconImageScale":[1,"icon-image-scale"],"iconImageAltText":[1,"icon-image-alt-text"],"alignment":[1],"disableTransition":[4,"disable-transition"],"backgroundImageSrc":[1,"background-image-src"],"open":[1028],"entryButtonScale":[1,"entry-button-scale"],"fontFamily":[513,"font-family"],"enableSignIn":[4,"enable-sign-in"],"portal":[16],"oauthappid":[1]},null,{"open":["emitToggleEvent"]}]]],["instant-apps-measurement",[[2,"instant-apps-measurement",{"view":[16],"areaUnit":[1,"area-unit"],"linearUnit":[1,"linear-unit"],"coordinateFormat":[1,"coordinate-format"],"activeToolType":[1,"active-tool-type"],"closable":[4],"messages":[32]}]]],["instant-apps-app-guide",[[1,"instant-apps-app-guide",{"header":[4],"data":[16],"messages":[32],"headerText":[32]},null,{"data":["watchPropHandler"],"headerText":["watchStateHandler"]}]]],["instant-apps-control-panel",[[1,"instant-apps-control-panel",{"components":[16],"view":[16]}]]],["instant-apps-create",[[1,"instant-apps-create",{"popoverIcon":[1,"popover-icon"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"showHeader":[4,"show-header"],"content":[16],"options":[16],"portal":[16],"baseClass":[32],"messages":[32],"CreateOptionsLookup":[32]},null,{"content":["contentChanged"]}]]],["instant-apps-export-views",[[1,"instant-apps-export-views",{"output":[1040],"beforeExport":[16],"popoverIcon":[1,"popover-icon"],"includeLegend":[1028,"include-legend"],"includeMap":[1028,"include-map"],"includePopup":[1028,"include-popup"],"includeHeader":[1028,"include-header"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"scale":[1],"showIncludeLegend":[4,"show-include-legend"],"showIncludeMap":[4,"show-include-map"],"showIncludePopup":[4,"show-include-popup"],"showIncludeHeader":[4,"show-include-header"],"showScaleBar":[4,"show-scale-bar"],"exportViews":[16],"baseClass":[32],"exportIsLoading":[32],"messages":[32]},null,{"includeMap":["watchIncludeMap"],"exportViews":["watchView"]}]]],["instant-apps-filter-list",[[1,"instant-apps-filter-list",{"layerExpressions":[1040],"autoUpdateUrl":[4,"auto-update-url"],"closeBtn":[4,"close-btn"],"closeBtnOnClick":[16],"comboboxOverlayPositioning":[1,"combobox-overlay-positioning"],"closeBtnText":[1,"close-btn-text"],"openFilters":[4,"open-filters"],"extentSelector":[4,"extent-selector"],"extentSelectorConfig":[16],"urlParams":[1040],"filterCount":[1026,"filter-count"],"view":[16],"zoomBtn":[4,"zoom-btn"],"resetBtn":[4,"reset-btn"],"resetFiltersOnDisconnect":[4,"reset-filters-on-disconnect"],"loading":[32],"filterLayerExpressions":[32],"messages":[32],"baseClass":[32],"initDefExpressions":[32],"initMapImageExpressions":[32],"initPointCloudFilters":[32],"getFilterInitState":[64],"forceReset":[64],"updateInitDefExpressions":[64],"getCurrentLayerExpressions":[64],"handleUpdatingT9nData":[64]},null,{"view":["watchViewHandler"],"layerExpressions":["watchLayerExpressions"]}]]],["instant-apps-keyboard-shortcuts",[[1,"instant-apps-keyboard-shortcuts",{"view":[16],"messages":[32]}]]],["instant-apps-popover",[[0,"instant-apps-popover",{"popoverTitle":[513,"popover-title"],"subtitle":[513],"content":[513],"imgSrc":[513,"img-src"],"imgAlt":[513,"img-alt"],"mediaSrc":[513,"media-src"],"index":[514],"referenceElement":[513,"reference-element"],"parent":[16],"placement":[1],"refId":[1,"ref-id"],"pagination":[516],"disableAction":[516,"disable-action"],"popoverAction":[16],"messageOverrides":[16],"messages":[32]}]]],["instant-apps-popovers",[[4,"instant-apps-popovers",{"inTour":[1540,"in-tour"],"currentId":[1537,"current-id"],"instantAppsPopovers":[16],"beforeOpen":[16],"open":[64],"close":[64],"beginTour":[64],"endTour":[64]}]]],["instant-apps-scoreboard",[[1,"instant-apps-scoreboard",{"view":[16],"items":[16],"position":[1],"mode":[1],"itemLimit":[2,"item-limit"],"autoDockEnabled":[4,"auto-dock-enabled"],"geometry":[1040],"queryType":[1,"query-type"],"state":[32],"messages":[32],"itemIndex":[32],"layers":[32],"layerViews":[32],"isMobile":[32]},null,{"items":["generateUIDs","storeLayers"],"layers":["storeLayerViews"],"geometry":["calculateScoreboardItemValuesFromGeometry"],"layerViews":["calculateScoreboardItemValues"]}]]],["instant-apps-social-share",[[1,"instant-apps-social-share",{"mode":[513],"shareUrl":[1025,"share-url"],"autoUpdateShareUrl":[1028,"auto-update-share-url"],"shareText":[513,"share-text"],"embed":[516],"shareButtonColor":[513,"share-button-color"],"shareButtonType":[513,"share-button-type"],"shareButtonScale":[513,"share-button-scale"],"iframeInnerText":[513,"iframe-inner-text"],"popoverButtonIconScale":[513,"popover-button-icon-scale"],"view":[16],"displayTipText":[516,"display-tip-text"],"shortenShareUrl":[516,"shorten-share-url"],"socialMedia":[516,"social-media"],"shareIconsLayout":[513,"share-icons-layout"],"scale":[513],"successMessage":[513,"success-message"],"flipRtl":[516,"flip-rtl"],"defaultUrlParams":[16],"inlineSuccessPopoverPlacement":[513,"inline-success-popover-placement"],"popoverPositioning":[513,"popover-positioning"],"removePopoverOffset":[516,"remove-popover-offset"],"useNativeShare":[516,"use-native-share"],"isNativeShareEnabled":[1540,"is-native-share-enabled"],"messages":[32],"opened":[32],"copied":[32],"inlineCopyLinkOpened":[32],"inlineCopyEmbedOpened":[32],"embedWidth":[32],"embedHeight":[32]}]]],["instant-apps-splash",[[1,"instant-apps-splash",{"localStorageKey":[1,"local-storage-key"],"titleText":[1,"title-text"],"content":[1025],"primaryButtonText":[1,"primary-button-text"],"open":[1028],"closeButtonDisabled":[4,"close-button-disabled"],"outsideCloseDisabled":[4,"outside-close-disabled"],"secondaryButton":[4,"secondary-button"],"secondaryButtonText":[1,"secondary-button-text"],"secondaryButtonIcon":[1,"secondary-button-icon"],"secondaryButtonCallback":[16],"messages":[32]},null,{"content":["sanitizeContent"]}]]],["instant-apps-time-filter",[[0,"instant-apps-time-filter",{"messages":[16],"timeInfoConfigItems":[16],"filterMode":[16],"view":[16],"timeSliderConfig":[16],"autoPlay":[4,"auto-play"],"timeSliderRef":[32]},null,{"timeInfoConfigItems":["updateTimeInfoConfigItems"],"filterMode":["updateFilterMode"],"timeSliderConfig":["updateTimeSliderConfig"],"autoPlay":["updateAutoPlay"]}]]],["instant-apps-interactive-legend-classic",[[2,"instant-apps-interactive-legend-classic",{"legendvm":[16],"zoomTo":[4,"zoom-to"],"featureCount":[4,"feature-count"],"filterMode":[16],"messages":[16],"isLoading":[32]},null,{"filterMode":["handleFilterModeChange"]}]]],["instant-apps-language-translator",[[6,"instant-apps-language-translator",{"portalItem":[16],"appSettings":[16],"locales":[16],"open":[1028],"userLocaleInputOnChangeCallback":[16],"translatedLocaleInputOnChangeCallback":[16],"saving":[32],"messages":[32],"isCollapse":[32],"getTranslationData":[64],"setTranslationData":[64],"getPortalItemResource":[64],"batchWriteToPortalItemResource":[64]},[[8,"translatorItemDataUpdated","handleT9nItemUpdate"]],{"locales":["handleLocaleChange"],"appSettings":["handleAppSettings"]}]]],["instant-apps-header",[[1,"instant-apps-header",{"titleText":[1,"title-text"],"titleTextLink":[1,"title-text-link"],"backgroundColor":[1,"background-color"],"textColor":[1,"text-color"],"logoImage":[1,"logo-image"],"logoScale":[1537,"logo-scale"],"logoImageAltText":[1,"logo-image-alt-text"],"logoLink":[1,"logo-link"],"infoButton":[1540,"info-button"],"infoIsOpen":[516,"info-is-open"],"infoTitleText":[1,"info-title-text"],"customHeaderHtml":[1025,"custom-header-html"],"headerAlignment":[1025,"header-alignment"],"customHeaderCss":[1025,"custom-header-css"],"fontFamily":[513,"font-family"],"mobileWidthBreakpoint":[2,"mobile-width-breakpoint"],"dir":[32],"initialScale":[32],"toggleInfo":[64]},null,{"customHeaderHtml":["sanitizeCustomHeaderHtml"]}]]],["instant-apps-measurement-tool",[[2,"instant-apps-measurement-tool",{"view":[16],"measureConfiguration":[16],"activeTool":[1,"active-tool"]},null,{"activeTool":["_updateToolType"]}]]],["instant-apps-sign-in",[[1,"instant-apps-sign-in",{"type":[1],"portal":[16],"oauthappid":[1],"openInPopup":[4,"open-in-popup"],"landingPage":[4,"landing-page"],"showIndicator":[4,"show-indicator"],"closeLandingPage":[16],"signInPopoverItems":[16],"ready":[32],"isSignedIn":[32],"user":[32],"messages":[32]},null,{"portal":["watchPortal"],"oauthappid":["watchOauthappid"]}]]],["instant-apps-ckeditor-wrapper_3",[[2,"instant-apps-language-translator-item",{"fieldName":[1,"field-name"],"translatedLanguageLabels":[16],"setting":[16],"userLocaleInputOnChangeCallback":[16],"translatedLocaleInputOnChangeCallback":[16]}],[2,"instant-apps-language-translator-search",{"t9nPlaceholder":[1,"t-9n-placeholder"],"results":[32]}],[0,"instant-apps-ckeditor-wrapper",{"value":[1025],"editorInstance":[1040],"config":[16]},null,{"value":["updateValue"]}]]],["instant-apps-interactive-legend-count_2",[[2,"instant-apps-interactive-legend-layer-element-caption",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[16],"isChild":[4,"is-child"],"expanded":[1028]}],[2,"instant-apps-interactive-legend-count",{"showTotal":[4,"show-total"],"legendvm":[16],"activeLayerInfo":[16],"categoryId":[1,"category-id"],"infoIndex":[2,"info-index"],"messages":[16],"selected":[4],"legendElement":[16]}]]],["instant-apps-interactive-legend-group-legend-element_5",[[6,"instant-apps-interactive-legend-group-legend-element",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[16],"isChild":[4,"is-child"],"expanded":[32]},[[8,"layerCaptionElementExpandUpdated","layerCaptionElementExpandUpdatedEmitted"]]],[6,"instant-apps-interactive-legend-layer-element",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[16],"isChild":[4,"is-child"],"expanded":[32]},[[8,"layerCaptionElementExpandUpdated","layerCaptionElementExpandUpdatedEmitted"]]],[6,"instant-apps-interactive-legend-legend-element",{"activeLayerInfo":[16],"isSizeRamp":[4,"is-size-ramp"],"isChild":[4,"is-child"],"isColorRamp":[4,"is-color-ramp"],"isRelationshipRamp":[4,"is-relationship-ramp"],"isInteractive":[4,"is-interactive"],"zoomTo":[4,"zoom-to"],"legendElement":[16],"titleText":[1,"title-text"],"legendvm":[16],"legendElementIndex":[2,"legend-element-index"],"messages":[16],"expanded":[32]},[[8,"legendLayerExpandUpdated","legendLayerExpandUpdatedEmitted"]]],[2,"instant-apps-interactive-legend-relationship",{"filterMode":[16],"activeLayerInfo":[16],"legendElement":[16],"messages":[16]},[[8,"showAllSelected","showAllSelectedEmitted"]]],[2,"instant-apps-interactive-legend-legend-element-caption",{"legendvm":[16],"activeLayerInfo":[16],"layer":[16],"titleText":[1,"title-text"],"legendElementIndex":[2,"legend-element-index"],"zoomTo":[4,"zoom-to"],"isInteractive":[4,"is-interactive"],"legendElement":[16],"expanded":[1028],"messages":[16]}]]]]'),a)};(function(){if(typeof window<"u"&&window.Reflect!==void 0&&window.customElements!==void 0){var e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}})();export{r as a};
|
package/dist/cdn/PAPULN5H.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{a,b}from"./X6L4PHXI.js";import"./22SEAIC6.js";import"./UWXNPHTE.js";import"./HVATWN37.js";import"./TTOMCAES.js";export{a as SiteEditorTypes,b as getSiteSchema};
|
package/dist/cdn/PVPNQBWZ.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{f as r,s,t as i,v as o}from"./XR3GB5SE.js";var c=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,a]){return e!==this.key&&(o(t),this.key=e),a}});export{c as a};
|
package/dist/cdn/Q6HRIABM.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.6 */
|
4
|
-
import{a as F,c as Y}from"./V434XRYU.js";import e from"./7ME4UIGX.js";import c from"./R5YJMFXC.js";import{a as E}from"./YBIF6TAJ.js";import a from"./VHDIRVUR.js";import{a as O,b as H,e as N}from"./UMSXHNKH.js";import{a as C,b as A,c as D}from"./UV2M2RAL.js";import{H as m,J as y,K as k,c as M,pa as L,xb as I,yb as T}from"./GHXC6C2C.js";import"./62WQV5YC.js";import"./YZCZUMV2.js";import"./GDYIFL6J.js";import"./2TLMYAKF.js";import"./LOVLAODG.js";import"./P27R335T.js";import"./ROJGI2W3.js";import"./T6ZDTQ2A.js";import"./VA7UARYI.js";import"./QCT6FXMR.js";import"./P7J4L36T.js";import"./ESBUX6NR.js";import"./NP7OH2ZI.js";import{k as R}from"./2IVXEYYO.js";import"./QRBQ5KHF.js";import"./OTQ4RPLU.js";import"./SZDHEJ35.js";import"./4OXHTSNR.js";import"./Q2VYZCZY.js";import{n as d,o as b}from"./55NQUWEY.js";import{a as u,b as g}from"./DAJFINWG.js";import{a as S}from"./UESCD5AB.js";import{B as _,D as P,c as x,d as s,n as f,w as v,y as $,z as p}from"./XR3GB5SE.js";import"./TTOMCAES.js";export default $arcgis.t(([{b:U},B,{b:q,c:V}])=>{var z=x`/** @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}.flex-direction-row{flex-direction:row}.flex-direction-column{flex-direction:column}.cursor-default{cursor:default}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:1px;border-bottom-style:solid}.row-margin-2{margin-inline-start:2rem;margin-inline-end:2rem}ul{list-style-type:disc;margin-block-start:0px;margin-block-end:0px}calcite-label{--calcite-label-margin-bottom: 0px}.padding-1{padding:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.padding-top-1-2{padding-top:.5rem}.padding-end-1{padding-inline-end:1rem}.padding-end-2{padding-inline-end:2rem}.align-self-center{align-self:center}.align-items-center{align-items:center}.width-330{width:330px}.card-group{overflow:hidden;padding:.5rem}calcite-card{width:400px}@media (max-width: 800px){calcite-card{width:calc(50% - .5rem)}}@media (max-width: 400px){calcite-card{width:100%}}.max-height-240{max-height:240px}.max-height-320{max-height:320px}.scrollable-section{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.scrollable-section::-webkit-scrollbar{display:none}.display-none{display:none}.cursor-pointer{cursor:pointer}calcite-card:hover img{-webkit-filter:brightness(50%);filter:brightness(50%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:2px solid var(--calcite-ui-brand);box-sizing:border-box;cursor:pointer;padding:2px}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.margin-inline-unset{margin-inline:unset}`;async function K(l,e,t){let i=t;return l&&(l?.IsEnterprisePortal&&await J("",e)&&i.push(d.NOTEBOOK),await U(e)?t.push(d.VELOCITY):l?.PortalUserPrivileges&&[b.VELOCITYFEEDS,b.VELOCITYBIGDATA,b.VELOCITYREALTIME].forEach(a=>{let o=t.indexOf(a)||-1;o!==-1&&t.splice(o,1)}),i=i.concat(W(X(l),Z(l))),i=i.concat(Q(l)),i=i.concat(await j(l))),Promise.resolve(i)}function W(l,e){let t=[];return l&&e?t=[d.TRACKINGADMINANDTRACKING,d.TRACKINGADMIN,d.TRACKING]:l&&!e?t=[d.TRACKINGADMIN]:!l&&e&&(t=[d.TRACKING]),t}function Q(l){return ee(l)?[d.HUBPREMIUM]:[]}async function j(l){let e=await T(l?.RestUserSession);return await I(e,l?.RestUserSession)?[d.WORKFLOW]:[]}async function J(l,e){let t=l+"/sharing/rest",i={authentication:e,portal:t,params:{f:"json"}};return M(`${t}/portals/self/servers`,i).then(a=>a?.servers?.find(o=>o.serverFunction.indexOf("NotebookServer")>-1),a=>(console.error(a),!1))}function X(l){let e=l?.PortalUserSubset;return e?.role==="org_admin"&&!e?.hasOwnProperty("roleId")}function Z(l){return l?.PortalSubset?.locationTrackingEnabled||!1}function ee(l){return l?.PortalSubset?.hubPremiumEnabled||!1}var w=class extends ${constructor(){super(),this.open=!1,this._hideScreenshotsScroll=!1,this._hideYouMayAlsoLikeScroll=!1,this.isMobile=!1,this._templates=[],this._translations=S({name:"solution-details-panel",blocking:!0}),this._allCards=[],this._authContextProvider=v({context:D}),this._configureLearnMore="",this._customDeploymentMappings={},this._deployDialogRef=u(),this._deployingDialogRef=u(),this._isMobileContextProvider=v({context:A}),this._privilegePopoverRef=u(),this._privileges=[],this._regexFsUrl="https?:\\/\\/.+FeatureServer\\b",this._regexID="\\b[0-9A-F]{32}\\b",this._screenshotsBaseHeight=240,this._screenshotsDialogRef=u(),this._screenshotsElement=u(),this._userOptions=[],this._userSessionContextProvider=v({context:C}),this._youMayAlsoLikeElement=u(),this._youMayAlsoLikeBaseHeight=320,this.templatesFetched=f(),this.itemPropertiesFetched=f(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"allCardsFetched",this._allCardsFetched)}static{this.properties={card:0,open:5,_hideScreenshotsScroll:16,_hideYouMayAlsoLikeScroll:16,isMobile:16,_itemProperties:16,_missingPrivilegeMessages:16,_templates:16,_translations:16}}static{this.styles=z}async connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this.listenOn(this._mediaQuery,"change",this._mediaQueryChange),this.listenOn(window,"calciteTabChange",this._cleanupPanel)}async load(){let e=new B(O,H,N);await e.init(),e.SignedIn||e.signIn(),this._authContextProvider.setValue(e),e.RestUserSession&&this._userSessionContextProvider.setValue(e.RestUserSession),this._userPrivileges=await this._getUserPrivileges()}loaded(){this._resizeObserver=new ResizeObserver(async()=>{this._onResize()}),this._screenshotsElement.value&&this._resizeObserver.observe(this._screenshotsElement.value)}disconnectedCallback(){super.disconnectedCallback(),this._resizeObserver?.disconnect()}render(){let e="border-bottom row-margin-2 padding-bottom-1",t=this._getRelatedArticles(),i=this._getYouMayAlsoLikeCards();return s`<calcite-panel><div class=${`${e} padding-top-1`}>${this._getSolutionRow()}</div><div class=${p(e)}>${this._getScreenshotsRow()}</div><div class=${p(e)}>${this._getDescriptionRow()}</div><div class=${p(e)}>${this._getRequirementsRow()}</div><div class=${p(e)}>${this._getInformationProductsRow()}</div><div class=${p(e)}>${this._getReleaseNotesRow()}</div>${t.length>0?s`<div class=${p(e)}>${this._getRelatedArticlesRow(t)}</div>`:""}${i.length>0?s`<div class=${p(e)}>${this._getYouMayAlsoLikeRow(i)}</div>`:""}<solution-deploy-dialog .card=${this.card} @deployFailed=${this._closeDialogs} @deployProgressEnd=${this._closeDialogs} @deployProgressStart=${this._deployProgressStart} @deployProgressUpdated=${this._deployProgessUpdated} id=solutionDeployDialog .userOptions=${this._userOptions} ${g(this._deployDialogRef)}></solution-deploy-dialog><solution-snapshot-gallery .card=${this.card} id=solutionSnapshotGallery .itemProperties=${this._itemProperties} ${g(this._screenshotsDialogRef)}></solution-snapshot-gallery><solution-deploying-dialog .card=${this.card} ${g(this._deployingDialogRef)}></solution-deploying-dialog></calcite-panel>`}_getSolutionRow(){let e=this.card?.thumbnailUrl.replace(/w=\d+/,"w=330"),t=this._itemProperties?.demoURL||"",i=this._missingPrivilegeMessages?.leadingMessages||[],a=i.length>0,o=this._missingPrivilegeMessages?.bulletedMessages||[],r=o.length>0,h=this._missingPrivilegeMessages?.trailingMessages||[],c=h.length>0;return s`<div class="display-flex flex-direction-row"><div class="padding-end-2"><img alt=${this.card?.title??_} class="width-330" src=${e??_}></div><div class="display-flex flex-direction-column"><div class="display-flex flex-direction-row"><h3 class="padding-end-1"><calcite-label scale=l>${this.card?.title}</calcite-label></h3><calcite-chip class="align-self-center" kind=brand .label=${this._translations.new} scale=s>${this._translations.new}</calcite-chip></div><span>${this.card?.snippet}</span><div class="display-flex flex-direction-row padding-top-1"><calcite-button class="padding-end-1" .disabled=${a||r||c} icon-end=arrow-bold-right icon-flip-rtl=end @click=${()=>this._openDeploy()}>${this._translations.deploy}</calcite-button><calcite-button appearance=outline class="padding-end-1" icon-end=video @click=${()=>this._openUrl(t)}>${this._translations.watchDemo}</calcite-button><calcite-button appearance=outline class="padding-end-1" icon-end=share @click=${()=>this._share()}>${this._translations.share}</calcite-button></div>${a||r||c?s`<div class="display-flex flex-direction-row padding-top-1">${this._getMissingPrivilegesNotice(i,o,h)}</div>`:""}</div></div>`}_getMissingPrivilegesNotice(e,t,i){let a="solutions-missing-privileges-notice",o=this._translations.missingPrivilegesPopup.missingLicensingOrPrivileges;return s`<div><calcite-notice class="margin-inline-unset" kind=warning open><div slot=message>${`${o}`}</div><calcite-action icon=information id=${a} slot=actions-end .text=${o}></calcite-action></calcite-notice><calcite-popover label overlay-positioning=fixed placement=bottom reference-element=solutions-missing-privileges-notice ${g(this._privilegePopoverRef)}><div class="padding-1 display-flex flex-direction-column"><span class="padding-bottom-1">${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading}</span>${this._getSpanMessages(e,"padding-bottom-1")}${this._getBulletedMessages(t)}${this._getSpanMessages(i,"padding-top-1")}</div></calcite-popover></div>`}_getSpanMessages(e,t){return e.length>0?e.map(i=>s`<span class=${p(t)}>${i}</span>`):""}_getBulletedMessages(e){return e.length>0?s`<ul>${e.map(t=>s`<li>${t}</li>`)}</ul>`:""}_getScreenshotsRow(){let e=this._hideScreenshotsScroll?"display-none":"";return s`<calcite-panel><div class="display-flex flex-direction-column">${this._getHeader(this._translations.screenshots)}<div class="scrollable-section max-height-240" @scroll=${()=>this._onScreenshotsScroll()} ${g(this._screenshotsElement)}>${this._getScreenshots()}</div><calcite-fab appearance=outline-fill class=${`align-self-center ${e}`} icon=arrow-down kind=inverse @click=${()=>{this._scrollSubsection(this._screenshotsBaseHeight,this._screenshotsElement.value)}} .text=${this._translations.showMore} text-enabled></calcite-fab></div></calcite-panel>`}_getScreenshots(){let e=this._itemProperties?.preview||[];return s`<calcite-card-group class="card-group" .label=${this._translations.screenshots}>${e.map(t=>this.card?.id?s`<calcite-card class="cursor-pointer" .label=${t.alt} @click=${()=>this._openScreenshotGallery(t)}><div class="card-image-wrap" slot=thumbnail><img alt=${t.alt??_} class="thumbnail card-image" slot=thumbnail src=${V(this.card.id||"",t.name,this._authContextProvider.value)??_}><div class="hover-text">${this._translations.openInGallery}</div></div></calcite-card>`:"")}</calcite-card-group>`}_openScreenshotGallery(e){let t=this._screenshotsDialogRef.value;t&&(t.screenshot=e,t.open=!0)}_scrollSubsection(e,t){let i=t.scrollHeight,a=t.scrollTop;e<=a&&(e=a+e),t.scrollTop=i>e?e:i}_getDescriptionRow(){return s`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.description)}<p .innerHTML=${this.card?.description??""}></p><div class="display-flex flex-direction-row">${this.card?.learnMoreUrl?s`<calcite-link class="padding-end-2" icon-end=share @click=${()=>{this._openUrl(this.card?.learnMoreUrl||"")}}>${this._translations.learnHowtoUse}</calcite-link>`:""}${this._itemProperties?.dataDictionaryURL?s`<calcite-link icon-end=share @click=${()=>{this._openUrl(this._itemProperties?.dataDictionaryURL||"")}}>${this._translations.dataDictionary}</calcite-link>`:""}</div></div>`}_getRequirementsRow(){let e=this._getRequirements();return s`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.requirements)}<span>${this.card?.title?this._translations.requirementsSubText.replace("{{solutionTitle}}",this.card.title):""}</span>${e.map(t=>s`<div class="display-flex flex-direction-row padding-top-1-2"><calcite-icon icon=bullet-point></calcite-icon><calcite-label class="align-items-center">${t}</calcite-label></div>`)}</div>`}_getRequirements(){return this._itemProperties?.requirements||[]}_getInformationProductsRow(){return s`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.informationProducts)}<span>${this.card?.title?this._translations.informationProductsSubText.replace("{{solutionTitle}}",this.card.title):""}</span><calcite-table bordered caption class="padding-top-1">${this._getInformationTableHeaderRow()}${this._getInformationTableRows()}</calcite-table><p>${this._translations.informationProductsFooterText}</p></div>`}_getInformationTableHeaderRow(){return s`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.item}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header><calcite-table-header .heading=${this._translations.minimumUserType}></calcite-table-header></calcite-table-row>`}_getInformationTableRows(){return(this._itemProperties?.infoProducts||[]).map(e=>s`<calcite-table-row><calcite-table-cell>${e.item}</calcite-table-cell><calcite-table-cell>${e.description}</calcite-table-cell><calcite-table-cell>${e.userType}</calcite-table-cell></calcite-table-row>`)}_getReleaseNotesRow(){return s`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.releaseNotes)}<span>${this._translations.releaseNotesSubText}</span><calcite-table bordered caption class="padding-top-1">${this._getReleaseNotesTableHeaderRow()}${this._getReleaseNotesTableRows()}</calcite-table></div>`}_getReleaseNotesTableHeaderRow(){return s`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.version}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header></calcite-table-row>`}_getReleaseNotesTableRows(){return(this._itemProperties?.releaseNotes||[])?.map(e=>s`<calcite-table-row><calcite-table-cell>${e.version}</calcite-table-cell><calcite-table-cell alignment=end>${e.description.map(t=>s`<div class="display-flex flex-direction-row"><calcite-icon icon=bullet-point></calcite-icon><calcite-label class="align-items-center">${t.note}</calcite-label></div>`)}</calcite-table-cell></calcite-table-row>`)}_getRelatedArticlesRow(e){return s`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.relatedArticles)}<div class="display-flex flex-direction-row">${e.map(t=>{console.log(t),s`<solution-article-card></solution-article-card>`})}</div></div>`}_getRelatedArticles(){return[]}_getYouMayAlsoLikeRow(e){let t=this._hideYouMayAlsoLikeScroll?"display-none":"";return s`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.youMayAlsoLike)}<div class="scrollable-section max-height-320" @scroll=${()=>this._onYouMayAlsoLikeScroll()} ${g(this._youMayAlsoLikeElement)}><div class="display-flex flex-direction-row "><calcite-card-group class="card-group" .label=${this._translations.youMayAlsoLike}>${e.map(i=>s`<solution-details-card .card=${i}></solution-details-card>`)}</calcite-card-group></div></div><calcite-fab appearance=outline-fill class=${`align-self-center ${t}`} icon=arrow-down kind=inverse @click=${()=>{this._scrollSubsection(this._youMayAlsoLikeBaseHeight,this._youMayAlsoLikeElement.value)}} .text=${this._translations.showMore} text-enabled></calcite-fab></div>`}_getYouMayAlsoLikeCards(){let e=this._itemProperties?.relatedSolutions||[];return this._allCards.filter(t=>e.indexOf(t.deployCommonId)>-1)}_getHeader(e){return s`<h3><calcite-label scale=l>${e}</calcite-label></h3>`}_openDeploy(){let e=this._deployDialogRef.value;e&&(e.open=!0)}_openUrl(e){window.open(e,"_blank")}_share(){alert("Share need to look at this more. I believe instant apps social share requires mapView")}async _detailsCardSelected(e){this.card=e.detail,this._onResize(),await this._getItemData()}async _getItemData(){let e=this._userSessionContextProvider.value,t=await L(this.card.id,e),i=await R(this.card.id,e);this._itemProperties=i.properties,this.itemPropertiesFetched.emit(this._itemProperties);let a=F(t,this.card.typeKeywords,this._authContextProvider.value);this._privileges=e.username?a:[];let o=this._privileges.filter(r=>!this._userPrivileges.includes(r));this._missingPrivilegeMessages=Y(this._translations,o),(t.params?this.formatParams(t.params):Promise.resolve([])).then(r=>{this._userOptions=r,console.log(this._userOptions)}),this._templates=t.templates,this.templatesFetched.emit(t.templates)}async _getUserPrivileges(){let e=[],t=this._authContextProvider.value,i=this._userSessionContextProvider.value;return i&&t&&(e=t.PortalUserPrivileges?await K(t,i,t?.PortalUserPrivileges):[]),e}formatParams(e){let t=this._userSessionContextProvider.value,i=[],a=e?Object.keys(e):[],o={id:"",props:[],accordionDisplay:!1};if(a.length>0){let r=[];return a.forEach(h=>{let c=e[h];c.valueType&&c.valueType.toLowerCase()==="itemid"&&r.push(this._findExistingItem(h,"Feature Service",t.username||""))}),Promise.all(r).then(h=>{let c={};return h.forEach(n=>{if(n.query&&n.results&&n.results.length>0){let G=n.query.split(" ")[0].replace("typekeywords:source-","");c[G]={resultId:n.results[0].id,response:n.results[0]}}}),a.forEach(n=>{if(n==="serviceLearnMore"){this._configureLearnMore=e[n],alert(this._configureLearnMore),delete e[n];return}e[n].enterpriseIDMapping&&(this._customDeploymentMappings[n]=e[n].enterpriseIDMapping),o.id=n,c[n]&&(e[n].existingItemId=c[n].resultId,this.updateUserProp(e[n],c[n].response)),this.updateOption(e[n],o,n)}),i.push(o),Promise.resolve(i)}).catch(()=>Promise.resolve([]))}else return Promise.resolve([])}_findExistingItem(e,t,i){let a=this._userSessionContextProvider.value;return E(`typekeywords:source-${e} type:${t} owner:${i}`,a)}updateUserProp(e,t){let i=e.itemType.toLowerCase()==="feature service",a=new RegExp(i?this._regexFsUrl:e.itemType,"i"),o=y(t,i?"url":"type","")||"",r=o!==""&&a.test(o);return e.responseValue=r?o:"",e.name=r&&m(t,"name")||"",e.title=r&&m(t,"title")||"",e.itemType=r?m(t,"type"):e.itemType,e.validId=r,e.itemUrl=q(t.id,this._authContextProvider.value),r}updateOption(e,t,i){let a=e.default||"",o=typeof a,r=a.toString();this._setFeatureServiceProps(e);let h=this.getValidation(e,r);t.props.push({id:i,outType:o,prop:i,itemType:e.itemType||"",responseValue:e.responseValue||"",label:e.label||"",choices:e.choices||[],valueType:e.valueType.toLowerCase(),attributes:e.attributes||{},value:e.existingItemId&&e.valueType.toLowerCase()==="itemid"?e.existingItemId:r,default:r,srSearchText:r,autoSelect:r!=="",...h,loading:!1,validId:!0,tooltip:e.tooltip||"",name:e.name||"",title:e.title||"",itemUrl:e.itemUrl||""})}_setFeatureServiceProps(e){e.valueType&&e.valueType.toLowerCase()==="itemid"&&k(e,"attributes.required","true")}getValidation(e,t){let i="",a=m(e,"validation.message")||"",o=!0;return m(e,"attributes.required")==="true"&&(i=y(e,"validation.expression","\\S{1,}"),o=new RegExp(i).test(t)),e.valueType&&e.valueType.toLowerCase()==="itemid"&&(i=this._regexID,a=this._translations.configure.invalidID),{valid:o,validation:{expression:i,message:a}}}_mediaQueryChange(e){this.isMobile=e.matches,this._isMobileContextProvider.setValue(this.isMobile)}_allCardsFetched(e){this._allCards=e.detail}_onResize(){this._hideScreenshotsScroll=(this._screenshotsElement.value?.scrollHeight||0)<=this._screenshotsBaseHeight+2,this._hideYouMayAlsoLikeScroll=(this._youMayAlsoLikeElement.value?.scrollHeight||0)<=this._youMayAlsoLikeBaseHeight+2}_onScreenshotsScroll(){let e=(this._screenshotsElement.value?.scrollTop||0)+this._screenshotsBaseHeight;e===this._screenshotsElement.value?.scrollHeight&&!this._hideScreenshotsScroll?this._hideScreenshotsScroll=!0:e<(this._screenshotsElement.value?.scrollHeight||0)&&(this._hideScreenshotsScroll=!1)}_onYouMayAlsoLikeScroll(){let e=(this._youMayAlsoLikeElement.value?.scrollTop||0)+this._youMayAlsoLikeBaseHeight;e===this._youMayAlsoLikeElement.value?.scrollHeight&&!this._hideYouMayAlsoLikeScroll?this._hideYouMayAlsoLikeScroll=!0:e<(this._youMayAlsoLikeElement.value?.scrollHeight||0)&&(this._hideYouMayAlsoLikeScroll=!1)}_cleanupPanel(){this._privilegePopoverRef.value?.open&&(this._privilegePopoverRef.value.open=!1)}_deployProgressStart(){this._deployingDialogRef.value&&(this._deployingDialogRef.value.open=!0),this._deployDialogRef.value&&this._deployDialogRef.value.classList.add("display-none")}_deployProgessUpdated(e){let t=e.detail;this._deployingDialogRef.value.deploymentProgress=t.progress}_closeDialogs(){this._deployingDialogRef.value.close(),this._deployDialogRef.value.open=!1,this._deployDialogRef.value.classList.remove("display-none")}};P("solution-details-panel",w);return w},a,c,e)
|