@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
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
4
|
-
import{a as
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import{a as y}from"./WDPCEJWO.js";import{a as d}from"./7CHJP5FF.js";import{a as E}from"./3K7RVP62.js";import{a as s}from"./3RYGLJSU.js";import{a as n}from"./KUHZ7NUV.js";import{a}from"./HT35VQR3.js";import{a as l}from"./ATETIVT6.js";import{a as e}from"./XVNMBFFV.js";import{a as v}from"./CN7U4Z7M.js";import{a as r}from"./74MX4QLZ.js";import{a as t}from"./NDND3YNI.js";import{a as i}from"./VH5CQ62Q.js";import{a as p}from"./7C46WXZU.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
4
|
-
import"./
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import"./N3JVQRW2.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import{a as t}from"./UML27CLC.js";import{r as e}from"./A2QNF47K.js";var a=e(t,{"instant-apps-app-guide":[()=>import("./6TJ4G3ER.js"),"data:,header"],"instant-apps-control-panel":[()=>import("./LUZ5SS5Q.js"),"components:,view:"],"instant-apps-create":[()=>import("./MJD4UYQV.js"),"content:,mode,options:,popoverIcon,popoverPlacement,popoverPositioning,portal:,showHeader"],"instant-apps-export":[()=>import("./IXHWGSUT.js"),"beforeExport:,defaultFileType,extraContent:,extraContentLabel,headerTitle,includeExtraContent,includeFileFormat,includeLegend,includeMap,includePopup,logoAltText,logoImage,maskBackground,maskBorder,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showExtraContentInImg,showHeaderTitle,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar,view:"],"instant-apps-export-views":[()=>import("./NI2DYTWY.js"),"beforeExport:,exportViews:,includeHeader,includeLegend,includeMap,includePopup,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showIncludeHeader,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar"],"instant-apps-filter-list":[()=>import("./2TQLIMIY.js"),"autoUpdateUrl,closeBtn,closeBtnOnClick:,closeBtnText,comboboxOverlayPositioning,extentSelector,extentSelectorConfig:,filterCount,layerExpressions:,openFilters,resetBtn,resetFiltersOnDisconnect,urlParams:,view:,zoomBtn;forceReset,getCurrentLayerExpressions,getFilterInitState,handleUpdatingT9nData,updateInitDefExpressions"],"instant-apps-header":[()=>import("./XLW62QJP.js"),"backgroundColor,customHeaderCss,customHeaderHtml,fontFamily,headerAlignment,infoButton,infoIsOpen,infoTitleText,logoImage,logoImageAltText,logoLink,logoScale,mobileWidthBreakpoint,textColor,titleText,titleTextLink;toggleInfo"],"instant-apps-interactive-legend":[()=>import("./FT42MIIU.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegend:e}))),"compact,featureCount,filterMode:,view:,zoomTo"],"instant-apps-interactive-legend-classic":[()=>import("./XVOTZ36C.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendClassic:e}))),"featureCount,filterMode:,legendvm:,messages:,zoomTo"],"instant-apps-interactive-legend-count":[()=>import("./XWZVSPN5.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendCount:e}))),"activeLayerInfo:,categoryId,infoIndex,legendElement:,legendvm:,selected,showTotal"],"instant-apps-interactive-legend-group-legend-element":[()=>import("./R3PW6KSS.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-group-legend-element-caption":[()=>import("./73DPGPG7.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element":[()=>import("./J7DQNAJK.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element-caption":[()=>import("./BLBKBQ7W.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-legend-element":[()=>import("./T2FLCA5K.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElement:e}))),"activeLayerInfo:,isChild,isColorRamp,isInteractive,isRelationshipRamp,isSizeRamp,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-legend-element-caption":[()=>import("./6XPLK57P.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElementCaption:e}))),"activeLayerInfo:,expanded,isInteractive,layer:,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-relationship":[()=>import("./A4PWAQDV.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendRelationship:e}))),"activeLayerInfo:,filterMode:,legendElement:"],"instant-apps-keyboard-shortcuts":[()=>import("./MVPUNAPA.js"),"view:"],"instant-apps-landing-page":[()=>import("./ZG4LGFKY.js"),"alignment:,backgroundImageSrc,descriptionText,disableTransition,enableSignIn,entryButtonScale,entryButtonText,fontFamily,iconImage,iconImageAltText,iconImageScale,oauthappid,open,portal:,subtitleText,titleText"],"instant-apps-language-switcher":[()=>import("./O2GXK46T.js"),"calciteDropdownOverlayPositioning,defaultLocale,icon,locales:,portalItem:,selectedLanguage,view:;refresh"],"instant-apps-language-translator":[()=>import("./FSTZH7GL.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslator:e}))),"appSettings:,locales:,open,portalItem:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:;batchWriteToPortalItemResource,getPortalItemResource,getTranslationData,setTranslationData"],"instant-apps-ckeditor-wrapper":[()=>import("./GQBP35TH.js"),"config:,editorInstance:,value"],"instant-apps-language-translator-item":[()=>import("./AD6Z7JIO.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorItem:e}))),"fieldName,setting:,translatedLanguageLabels:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:"],"instant-apps-language-translator-search":[()=>import("./HYHCUL5X.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorSearch:e}))),"t9nPlaceholder"],"instant-apps-measurement":[()=>import("./SP5ULXWS.js"),"activeToolType,areaUnit,closable,coordinateFormat,linearUnit,view:"],"instant-apps-measurement-tool":[()=>import("./6ZGLTKMR.js"),"activeTool,measureConfiguration:,view:"],"instant-apps-popover":[()=>import("./3JZGXNAU.js"),"content,disableAction,imgAlt,imgSrc,index,mediaSrc,messageOverrides:,pagination,parent:,placement,popoverAction:,popoverTitle,referenceElement,refId,subtitle"],"instant-apps-popovers":[()=>import("./KL2T3UMN.js"),"beforeOpen:,currentId,instantAppsPopovers:,inTour;beginTour,close,done,endTour,next,open,previous"],"instant-apps-scoreboard":[()=>import("./EFS5RERR.js"),"autoDockEnabled,geometry:,itemLimit,items:,mode:,position:,queryType,view:"],"instant-apps-sign-in":[()=>import("./62F4Z2RZ.js"),"closeLandingPage:,landingPage,oauthappid,openInPopup,portal:,showIndicator,signInPopoverItems:,type"],"instant-apps-social-share":[()=>import("./U75F55GL.js"),"autoUpdateShareUrl,defaultUrlParams:,displayTipText,embed,flipRtl,iframeInnerText,inlineSuccessPopoverPlacement,isNativeShareEnabled,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonColor,shareButtonScale,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,successMessage,useNativeShare,view:"],"instant-apps-splash":[()=>import("./5U44RL2U.js"),"closeButtonDisabled,content,localStorageKey,open,outsideCloseDisabled,primaryButtonText,secondaryButton,secondaryButtonCallback:,secondaryButtonIcon,secondaryButtonText,titleText"],"instant-apps-time-filter":[()=>import("./YLTGZWFU.js").then(m=>m.default.then(e=>({InstantAppsTimeFilter:e}))),"autoPlay,filterMode:,timeInfoConfigItems:,timeSliderConfig:,view:"]});export{a};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import{a as f}from"./EV3TUX6S.js";import{a as _}from"./JQKKZGRJ.js";import{a as S}from"./ZCFSRPYL.js";import{B as D,C as I}from"./MJ4UYOY5.js";import{b as L}from"./UML27CLC.js";import"./L3KYPR4U.js";import"./HI22GMCZ.js";import{A as p,h as v,i as l,k as m,n as E,w as b,x as $,y as C}from"./A2QNF47K.js";import"./N3JVQRW2.js";var k="instant-apps-filter-list calcite-mode-light",O="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(h){return h.replaceAll("'","''")}function y(h,t=!1){if(h){let e=new Date(h),i=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`;if(t){let s=`${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`;return`${i} ${s}`}else return i}}function P(h){if(h!=null){h.value=["",""];let t=h.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let e of t)e.value=""}}var R=v`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,u={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"},F=class extends C{constructor(){super(...arguments),this._messages=S({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=b(),this.panelEl=b(),this.isLayerExpUpdated=!1,this.baseClass=k,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=R}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let t=structuredClone(this.filterLayerExpressions);return await Promise.resolve(t)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(t){return t==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(e=>{let i=t?.find(s=>s.id===e.id);i!=null&&(e.title=i.title,e.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(t){return this.initDefExpressions=t.initDefExpressions,this.initMapImageExpressions=t.initMapImageExpressions,this.initPointCloudFilters=t.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=_(this.el)==="dark"?O:k,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(t){t.has("view")&&this.handleWhenView(),t.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[t,e]=await Promise.all([I(),D()]);this.geometryJsonUtils=e,this.intl=t}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:t}=this.filterLayerExpressions[0],e=t?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(u.operatorDesc)} .heading=${this._messages[e]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(t,e){let i=this.panelEl.value?.querySelector(`[id='${t.id}']`);i&&(P(i),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(e))}initInput(t,e){let{type:i,numDisplayOption:s,displayOption:n}=e;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(t,e);if(i==="number"||i==="range")return this.renderNumberSlider(t,e);if(i==="date")return this.renderDatePicker(t,e)}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 t=>{await Promise.all((t.expressions||[]).map(async e=>await this.setInitExpression(t,e)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(t=>{t.expressions?.forEach(e=>{let{type:i,numDisplayOption:s,displayOption:n}=e,a="";i==="string"||i==="coded-value"||i==="date"&&(s==="drop-down"||n==="drop-down")||(i==="number"||i==="range")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,e):this.resetCheckbox(e),e.active=!1})})}resetExpressionUI(t,e){let{id:i}=e;switch(t){case"combobox":{e.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&P(s);break}case"numberRange":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=e.min,s.maxValue=e.max);break}}}resetCheckbox(t){let{id:e}=t,i=this.panelEl.value?.querySelector(`[id='${e}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables)?.forEach(t=>{if(!x.includes(t.type))return;let e=t;if(e.type==="point-cloud"){if(!this.initPointCloudFilters)return;e.filters=this.initPointCloudFilters[e.id]}else if(e.type==="map-image")e.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[e.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;e.definitionExpression=this.initDefExpressions[e.id]}})}async updateStringExpression(t,e){let i=this.findFilterLayer(t);return await this.getFeatureAttributes(i,e),this.handleDateField(i,e),e?.selectedFields?(e.definitionExpression=this.createDefinitionExpression(e),!0):!1}handleDateField(t,e){e.type==="date"&&t.fields.find(({name:i})=>i===e.field)?.type==="date-only"&&(e.dateOnly=!0)}createDefinitionExpression(t){if(!t.selectedFields?.length)return"";let e=t.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${t.field} IN (${e.join(",")})`}async updateNumberExpression(t,e){if(!e?.min&&e?.min!==0||!e?.max&&e?.max!==0){let i=this.findFilterLayer(t),{field:s}=e;if(s!=null)if(this.setExpressionFormat(i,e,s),e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down")await this.getFeatureAttributes(i,e);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(e.format?.places!=null?(e.min=this.roundMinNumberDown(n[`min${s}`],e.format.places),e.max=this.roundMaxNumberUp(n[`max${s}`],e.format.places)):(e.min=n[`min${s}`],e.max=n[`max${s}`]),e?.range&&Object.keys(e.range).length){let{min:a,max:r}=e.range;return e.definitionExpression=`${e.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(t,e){let{field:i,range:s}=e,n=this.findFilterLayer(t),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(e.min=y(a[`min${i}`]),e.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?e.definitionExpression=`${i} ${c} '${r??o}'`:e.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateCodedValueExpression(t,e,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(t);await this.getFeatureAttributes(s,e);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(e.codedValues=n,e.selectedFields?.length){let a=e.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return e.definitionExpression=`${e.field} IN (${a})`,!0}return!1}updateRangeExpression(t,e){if(!e?.domain||e?.domain?.type!=="range")return!1;let{field:i,range:s}=t;return t.min=e.domain.minValue,t.max=e.domain.maxValue,s&&Object.keys(s).length?(t.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(t,e){if(!this.isLayerSupported(t)){e.fields=[];return}let i=await this.getQueryLayer(t),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(t),a=await i.queryFeatureCount(),r=this.createQuery(i,e);await this.queryDistinctFeatures(i,r,e),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,e)}isLayerSupported(t){return t&&x.includes(t.type)}extractQueryCapabilities(t){return{maxRecordCount:t.capabilities?.query?.maxRecordCount??t.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:t.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(t,e){let i=t.createQuery();this.applyCacheHint(t,i);let s=e?.field;if(s){let n=this.getInitDefExprFromLayer(t);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(t,e,i){if(!e.outFields)return;let s=await this.queryForFeatures(t,e,e.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(t,e){return e?t*5:t}shouldPaginate(t,e,i){let s=this.getQueryCount(t,i);return t!=null&&e>s}async handlePagination(t,e,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let d=e.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(t,d,e?.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,g)=>d.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,g)=>d-g):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(t,e,i){return(await t.queryFeatures(e))?.features.filter(s=>s.attributes?.[i])?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(t,e){if(!t||!x.includes(t.type)||!e)return[];let i=this.createStatisticsQuery(t,e);return(await t.queryFeatures(i))?.features||[]}createStatisticsQuery(t,e){let i=t.createQuery();return i.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,i),i.outStatistics=[{onStatisticField:e,outStatisticFieldName:`max${e}`,statisticType:"max"},{onStatisticField:e,outStatisticFieldName:`min${e}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(t,e){if(t&&e){let{constraints:i}=e,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(t,e){if(!e.field||!e.type){await this.updateExpression(t,e,void 0);return}let i=this.findFilterLayer(t);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===e.field),n=s?.domain?.type;e.type=n==="coded-value"||n==="range"?n:e.type,await this.updateExpression(t,e,s)}))}async updateExpression(t,e,i){await this.handleExpressionType(t,e,i)&&this.generateOutput(t)}async handleExpressionType(t,e,i){switch(e.type){case"string":return await this.updateStringExpression(t,e);case"number":return await this.updateNumberExpression(t,e);case"date":return await this.updateDateExpressionBasedOnDisplayOption(t,e);case"coded-value":return await this.updateCodedValueExpression(t,e,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(t,e,i);case"checkbox":case null:case void 0:return e.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(t,e){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):await this.updateDateExpression(t,e)}async updateRangeExpressionBasedOnDisplayOption(t,e,i){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):this.updateRangeExpression(e,i)}updateRangeExpressions(t,e,i,s){let n=this.getInitDefExprFromLayerExpression(e);(s||s===0)&&(i||i===0)&&(s===t?.min&&i===t?.max?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=n?`(${n}) AND ${t?.field} BETWEEN ${s} AND ${i}`:`${t?.field} BETWEEN ${s} AND ${i}`,t.active=!0)),t.range={min:s,max:i}}handleCheckboxChange(t,e,i){let s=i.target;e.active=s.checked,this.generateOutput(t)}handleSliderChange(t,e,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(t,e,s,n),this.generateOutput(e)}handleComboSelect(t,e,i){let s=i.target.selectedItems,{field:n,type:a}=t;if(t.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);t.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):`${n} IN (${r.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(e)}handleDatePickerRangeChange(t,e,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,r,o),t.range={min:r,max:o},t.active=!0,this.generateOutput(e))}constructDefinitionExpression(t,e,i){return e?i?`${t} BETWEEN '${e}' AND '${i}'`:`${t} > '${e}'`:`${t} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let e=t.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(e)}applyFilters(t){let e=0;return t.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),e++)})}),e}activateExpression(t,e){t.active=!0,e.type==="range"?t.range=e.range:e.type==="select"&&(t.selectedFields=e.selectedFields)}createURLParamExpression(t,e){let{id:i,range:s,selectedFields:n,type:a}=e;return a==="string"||a==="coded-value"||e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down"?{type:"select",layerId:t.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:t.id,expressionId:i.toString(),range:s}:{layerId:t.id,expressionId:i.toString()}}autoUpdateURLCheck(t){if(this.autoUpdateUrl){let e=t.toString()?`${window.location.pathname}?${t}`.trim():window.location.pathname;window.history.replaceState({},"",e)}}generateURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(window.location.search),e=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=e.length,e.length>0?t.set("filter",e.join(";")):t.delete("filter"),this.autoUpdateURLCheck(t),this.urlParams=t}updateFilter(t,e,i){let{id:s}=t,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(t?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,e,t)}else this.updateFilterLayerDefExpression(n,e,t)}updateFilterLayerDefExpression(t,e,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(t),a=e?.length>0&&n!=null&&n!==""?`(${e.join(s)}) AND (${n})`:e.length>0?e.join(s):n;t.definitionExpression=a}updateFilterLayerPCLFilter(t,e){t.filters=e}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(t){let e=t?.sublayerId?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`,i=this.panelEl.value?.querySelector(e),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(t),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(t){let e=this.view.allLayerViews.find(({layer:s})=>s.id===t.id).layer,i=e.type==="map-image"?e.findSublayerById(t.sublayerId):e;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(t){if(this.view==null)return;let e=[],i=[];if(t){for(let s of t.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&e.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(t,e,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,e,i){if(t==null)return;let s;if(!String(t).includes("e"))s=Math[i](t*Math.pow(10,e))/Math.pow(10,e);else{let[n,a]=String(t).split("e").map(o=>Number(o)),r=a+e;s=Math[i](+`${n}e${r}`)*Math.pow(10,-e)}return+s.toFixed(e)}roundMinNumberDown(t,e){return this.scientificRounding(t,e,"floor")}roundMaxNumberUp(t,e){return this.scientificRounding(t,e,"ceil")}roundNumber(t,e){return this.scientificRounding(t,e,"round")??t}setExpressionFormat(t,e,i){if(t?.popupTemplate!=null){let s=t?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(e.format=s.format)}}getInitDefExprFromLayer(t){return t.type==="sublayer"?this.initMapImageExpressions?.[t?.layer?.id??""]?.[t.id]??"":this.initDefExpressions?.[t.id]??""}getInitDefExprFromLayerExpression(t){return t?.sublayerId!=null?this.initMapImageExpressions?.[t.id]?.[t.sublayerId]??"":this.initDefExpressions?.[t.id]??""}findFilterLayer(t){let e=this.view.map?.allLayers.concat(this.view.map?.allTables)?.find(({id:i})=>i===t.id);return e.type==="map-image"?e?.findSublayerById(t.sublayerId):e}createLabel(t,e){if(t.type==="coded-value")return t?.codedValues?.[e];if(t.type==="number"&&typeof e=="number"){let i=e;return t.format?.places!=null&&(i=this.roundNumber(e,t.format.places)),t.format?.digitSeparator?this.numberWithCommas(i):i}if(t.type==="date"&&!t.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(e,i)}return e}buildDateExpression(t,e){if(t){let i=new Date(t),s=new Date(t),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${e} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(t){let e=t.type==="sublayer"?await t.createFeatureLayer():t;if(!e)throw new Error("Failed to create feature layer");return e}applyCacheHint(t,e){t?.capabilities?.query?.supportsCacheHint&&(e.cacheHint=!0)}applyQueryGeometryFromExtentSelector(t){if(!this.extentSelector||!this.extentSelectorConfig)return;let e=this.getExtent(this.extentSelector,this.extentSelectorConfig);e&&(t.geometry=e,t.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables).forEach(e=>{if(!x.includes(e.type))return;let i=e;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}render(){let t=this.loading?this.renderLoading():this.initFilterConfig(),e=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${$(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(u.filterContainer)}>${t}${e}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(t){let{id:e}=t;return t.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${e}-${s}`,l`<div class=${p(u.filterItemContainer)}><div class=${p(u.filterItemTitle)}><p>${i.name}</p></div><div class=${p(u.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,t,i)}></calcite-checkbox></div></div>`):this.initInput(t,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(t=>this.renderFilterBlocks(t))}renderFilterBlocks(t){let e=this.renderFilter(t),{operator:i}=t,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(t);return f(t.id,l`<calcite-block .heading=${t.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${e}</calcite-block>`)}renderCombobox(t,e){return f("combo-select",l`<label class=${p(u.filterUIItemContainer)}><span>${e.name}</span><calcite-combobox id=${e.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,e,t)} .label=${e.name} .placeholder=${e.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${e.fields?.map((i,s)=>this.renderComboboxItem(e,i,s))}</calcite-combobox></label>`)}renderComboboxItem(t,e,i){let s=this.createLabel(t,e),n=t?.selectedFields?.includes(e)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${e} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(t,e){let i=e?.min,s=e?.max,n=e?.step?e.step:1,a=i!=null&&s!=null,r=e?.field??"",o=e?.range?.min!=null?e.range.min:i,c=e?.range?.max!=null?e.range.max:s,d=[o,c];return a?f(e?.id.toString(),l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.numberInputContainer)}><calcite-slider id=${e?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,e,t)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${d} .groupSeparator=${e?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(t,e){let{min:i,max:s}=e,n=[e?.range?.min,e?.range?.max];return i!=null&&s!=null?l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.dateInputContainer)}><calcite-input-date-picker id=${e?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,e,t)} .min=${i} .max=${s} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,e,t)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let t=this.closeBtnText??this._messages.close,e=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(u.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${e} @click=${this.handleResetFilter} ${$(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${e} kind=brand @click=${this.closeBtnOnClick}>${t}</calcite-button>`:void 0}</div>`}renderZoomTo(t){let e=t?.sublayerId?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`;return this.zoomBtn?l`<calcite-action id=${e??m} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??m} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,t)}></calcite-action>`:void 0}};L("instant-apps-filter-list",F);export{F as InstantAppsFilterList};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
4
|
-
import"./
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import"./N3JVQRW2.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/_discussions",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
4
|
-
import{w as a}from"./
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import{w as a}from"./H6OGXITC.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
4
|
-
import"./
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import"./N3JVQRW2.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
4
|
-
import"./
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import"./N3JVQRW2.js";var i=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.discussionSettings.moderation.label",elements:[{labelKey:"shared.fields.discussable.label",scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",labels:["{{shared.fields.discussable.enabled.label:translate}}",`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:["{{shared.fields.discussable.disabled.label:translate}}",`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],layout:"horizontal",styles:{"max-width":"45rem"},type:"radio"}}]}]});export{i as buildUiSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
4
|
-
import{a as l}from"./
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import{a as l}from"./PSE37RBN.js";import"./L3KYPR4U.js";import"./HI22GMCZ.js";import{b as o}from"./25HFBBO7.js";import{h as r,i as a,n as s,y as n}from"./A2QNF47K.js";import"./N3JVQRW2.js";var c=r`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import a from"./WGEDEGSC.js";export default $arcgis.t(([u])=>{var b=(e=>(e.User="user",e.Translation="translation",e))(b||{}),h=(e=>(e.String="string",e.TextEditor="textEditor",e))(h||{}),y=(e=>(e.ExpandCollapse="list-merge",e.SettingIndicator="list-button",e.Popover="information",e.Expanded="chevron-down",e.Collapsed="chevron-right",e.Copy="copy-to-clipboard",e.DefaultIcon="language",e.Title="title",e.Subtitle="subheading",e.Text="text",e.Description="description",e.Button="button",e.String="string",e))(y||{}),d=(e=>(e.Light="calcite-mode-light",e.Dark="calcite-mode-dark",e))(d||{}),v=`
|
5
|
+
.instant-apps-language-translator-item__nested-input .ck.ck-reset.ck-editor.ck-rounded-corners {
|
6
|
+
margin-left: 30px !important;
|
7
|
+
}
|
8
|
+
`,c=u({uiData:null,currentLanguage:null,lastSave:null,saving:!1,currentLocaleSettingItem:null,portalItemResource:null,portalItemResourceT9n:null}),S=c.state;c.onChange;var l=c;function D(e,o){if(!e)return;let t=l.get("uiData"),n=new Map;n.set("locales",o),n.set("translatedLanguageLabels",{...e.translatedLanguageLabels}),e.content.forEach(a=>{let{type:p,label:g,value:m,uiLocation:f}=a,L=t?.get(a.id);n.set(a.id,{userLocaleData:{type:p??null,label:g??null,value:m??null},expanded:!0,selected:L?.selected??!1,uiLocation:f,tip:a?.tip??null})});let s=e.content.map(a=>a.id),r=s.every(a=>!n.get(a).selected),i=n.get(s[0]);if(r&&i){let a=t?.get(s[0]);i.selected=a?.selected??!0}return n}function T(){let e=[];return S.uiData?.forEach((o,t)=>{t!=="locales"&&t!=="translatedLanguageLabels"&&e.push(t)}),e}function k(e,o){let t=l.get("portalItemResourceT9n")||{},n;return t[e]||(t[e]={}),n={...t,[e]:{...typeof t[e]=="object"?t[e]:{},...o}},n}function E(e){return e?.map(o=>o.locale)??[]}function I(){return document.body.classList.contains(d.Dark)}function C(){let e=document.createElement("style");e.innerHTML=v,document.head.appendChild(e)}async function w(e){let o=l.get("portalItemResourceT9n"),t=Date.now();l.set("lastSave",t);let n=[JSON.stringify({...o,lastSave:t})],s={type:"application/json"},r=new Blob(n,s);e.update(r)}return{a:b,b:h,c:y,d:d,e:S,f:l,g:D,h:T,i:k,j:E,k:I,l:C,m:w}},a)
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import{a as t}from"./BKJGM55L.js";import"./CM6TYWX6.js";import"./XYM4QNUF.js";import"./DSYYVW3F.js";import"./V7HQLFUM.js";import"./ITWJGFNZ.js";import"./U4XP4SVP.js";import"./N3JVQRW2.js";var m=async(a,e,c)=>{let i=await t(a,e,c);return e.canEdit&&i.elements.splice(0,0,{type:"Notice",options:{noticeId:"20250311-channel-edit-warning"}}),i};export{m as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
4
|
-
import{a as o}from"./
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import{a as o}from"./QB26MH3P.js";function r(n,t){let e;t.authentication&&(e=t.authentication.token);let a=t.authentication?`?token=${e}`:"";return n&&o(`${n}${a}`)}export{r as a};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import{a as e}from"./EV3TUX6S.js";import{a as _}from"./ZCFSRPYL.js";import{b as f}from"./UML27CLC.js";import"./L3KYPR4U.js";import"./HI22GMCZ.js";import{A as o,C as a,h as l,i as t,q as m,w as d,x as v,y as h}from"./A2QNF47K.js";import"./N3JVQRW2.js";var $=l`@layer{:host{display:block}.instant-apps-popover__content{display:flex;flex-direction:column;padding:0 5% 5%;max-width:35vw;font-family:var(--calcite-sans-family);font-size:.875rem}.instant-apps-popover__content .instant-apps-popover__action{align-self:flex-start;--calcite-color-foreground-2: transparent}.instant-apps-popover__content span{display:inline-block;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);margin:0 0 10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content p{line-height:19.12px;margin:0 0 10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.instant-apps-popover__content .instant-apps-popover__footer span{margin-bottom:0;font-weight:400;font-size:.875rem;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:first-child{--calcite-color-foreground-3: transparent}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:last-child{margin-left:5px}.instant-apps-popover__content .instant-apps-popover__img{width:100%;margin-bottom:10px}.instant-apps-popover__content.instant-apps-popover--action-disabled{padding:5%}.instant-apps-popover__content.instant-apps-popover--action-disabled #subtitle{margin:0 0 10px}}`,n={content:"instant-apps-popover__content",buttonContainer:"instant-apps-popover__button-container",action:"instant-apps-popover__action",actionDisabled:"instant-apps-popover--action-disabled",img:"instant-apps-popover__img",footer:"instant-apps-popover__footer"},p=class extends h{constructor(){super(...arguments),this._messages=_({name:"instant-apps-popover"}),this.popoverEl=d(),this.popoverTitle="",this.subtitle="",this.content="",this.placement="trailing-start",this.pagination=!1,this.disableAction=!1}static{this.properties={popoverTitle:3,subtitle:3,content:3,imgSrc:3,imgAlt:3,mediaSrc:3,index:11,referenceElement:3,parent:0,placement:1,refId:1,pagination:7,disableAction:7,popoverAction:0,messageOverrides:0}}static{this.styles=$}static{this.shadowRootOptions=m}updated(){!this.hasUpdated&&this.popoverEl.value&&(this.popoverEl.value.referenceElement=this.referenceElement)}render(){return t`<calcite-popover .heading=${this.popoverTitle} auto-close .placement=${this.placement} .messageOverrides=${{close:this._messages.close}} trigger-disabled ref-id=${this.refId??a} closable .referenceElement=${this.referenceElement} .label=${this.popoverTitle} ${v(this.popoverEl)}><div class=${`${n.content}${this.disableAction?` ${n.actionDisabled}`:""}`}>${this.disableAction?null:e("popover-action",t`<calcite-action class=${o(n.action)} @click=${this.popoverAction} .icon=${document.dir==="rtl"?"chevron-right":"chevron-left"} text-enabled .text=${this._messages.back??""}></calcite-action>`)}<section><span id=subtitle>${this.subtitle}</span><p>${this.content}</p>${this.imgSrc?e(`iac-popover-img-${this.refId}`,t`<img class=${o(n.img)} src=${this.imgSrc??a} alt=${(this.imgAlt?this.imgAlt:"")??a}>`):null}</section>${this.pagination?e(`iac-popover-footer-${this.index}`,t`<div class=${o(n.footer)}><span>${this.index+1} ${this._messages?.of} ${this.parent?.instantAppsPopovers?.size}</span>${this.renderPagination()}</div>`):null}</div></calcite-popover>`}renderPagination(){let{index:r,_messages:s,parent:i}=this;if(!i)return null;let g=i.instantAppsPopovers.size,u=r===0,c=r===g-1;return e("pagination-button-container",t`<div class=${o(n.buttonContainer)}>${u?null:e("prev",t`<calcite-button @click=${async()=>await i?.previous()} appearance=outline kind=neutral>${s.back}</calcite-button>`)}${e("next",t`<calcite-button @click=${async()=>{c?await i?.done():await i?.next()}}>${c?s.done:s.next}</calcite-button>`)}</div>`)}};f("instant-apps-popover",p);export{p as InstantAppsPopover};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
4
|
-
import{a as e}from"./
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import{a as e}from"./STLINJZP.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
4
|
-
import{a as e}from"./
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import{a as e}from"./STLINJZP.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import{a as n}from"./PSE37RBN.js";import"./L3KYPR4U.js";import"./HI22GMCZ.js";import{b as l}from"./25HFBBO7.js";import{h as i,i as s,y as t}from"./A2QNF47K.js";import"./N3JVQRW2.js";var a=i`/** @license
|
5
|
+
* Copyright 2025 Esri
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
*/.position-relative{position:relative}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.width-350{--calcite-shell-panel-width: 350px}.height-full{height:100%}.padding-end-1-2{padding-inline-end:.5rem}`,e=class extends t{constructor(){super(...arguments),this._translations=n({name:"solutions-articles-shell",blocking:!0})}static{this.properties={_translations:16}}static{this.styles=a}render(){return s`<calcite-shell class="position-relative"><calcite-shell-panel class="background-override width-350" position=start slot=panel-start><solutions-articles class="height-full padding-end-1-2"></solutions-articles></calcite-shell-panel><solutions-article-panel class="height-full"></solutions-article-panel></calcite-shell>`}};l("solutions-articles-shell",e);export{e as SolutionsArticlesShell};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
4
|
function a(t){let e=t;return t.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://qaext.arcgis.com":t.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://devext.arcgis.com":t.match(/(www|\.maps)\.arcgis.com/)&&(e="https://www.arcgis.com"),e}export{a};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
4
|
-
import{b as g}from"./
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import{b as g}from"./R4TPG3DO.js";import{a as b}from"./PSE37RBN.js";import"./L3KYPR4U.js";import"./HI22GMCZ.js";import{b as w}from"./25HFBBO7.js";import{A as p,h,i as l,n as r,q as u,y as m}from"./A2QNF47K.js";import"./N3JVQRW2.js";var y=h`@layer{/**
|
5
5
|
* @license
|
6
6
|
* Copyright 2025 Esri
|
7
7
|
*
|
@@ -16,4 +16,4 @@ import{b as g}from"./CPO6UAZQ.js";import{a as b}from"./UESCD5AB.js";import{D as
|
|
16
16
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
17
17
|
* See the License for the specific language governing permissions and
|
18
18
|
* limitations under the License.
|
19
|
-
*/:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar,.display-none{display:none!important}.esri-editor__panel-content{padding-block:10px!important}.notice-msg{padding:10px;width:calc(100% - 20px)}}`,c=class extends
|
19
|
+
*/:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar,.display-none{display:none!important}.esri-editor__panel-content{padding-block:10px!important}.notice-msg{padding:10px;width:calc(100% - 20px)}}`,c=class extends m{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSnapping=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=b({name:"create-related-feature",blocking:!0}),this._addingAttachment=!1,this._isSubmitBtnClicked=!1,this.success=r(),this.fail=r(),this.isActionPending=r(),this.formReady=r()}static{this.properties={customizeSubmit:5,enableSnapping:5,mapView:0,selectedFeature:0,showGuidingMsg:5,table:0,_editorLoading:16,_translations:16}}static{this.styles=y}static{this.shadowRootOptions=u}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler(),e.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){await this.mapView?.when(async()=>{await this.init()})}async _editorLoadingWatchHandler(e){e&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async load(){await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){let[e,t]=await g(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=e,this.reactiveUtils=t}render(){let e=this._editorLoading?"":"display-none";return l`${this.showGuidingMsg&&l`<calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.provideDetailsMsg}</div></calcite-notice>`||""}<calcite-loader class=${p(e)} label scale=s></calcite-loader>`}loaded(){this.init()}disconnectedCallback(){super.disconnectedCallback(),this._editor&&this._editor.destroy()}async createEditorWidget(){if(this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar"),this.Editor&&(this._editor=new this.Editor({view:this.mapView,visibleElements:{flow:!0,settingsMenu:this.enableSnapping,sketch:!1,snappingControls:this.enableSnapping},container:this._container}),this.el.appendChild(this._container),this.reactiveUtils)){let e=this.reactiveUtils.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,i=>{i==="ready"&&(this._editorLoading=!0)});this._editor.viewModel.addHandles(e);let t=this.reactiveUtils.watch(()=>this._editor?.viewModel.state,i=>{i==="adding-attachment"||i==="editing-attachment"?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)});this._editor.viewModel.addHandles(t);let o=this.reactiveUtils.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,i=>{i==="ready"&&this.formReady.emit()});this._editor.viewModel.addHandles(o)}}async startCreate(){let e=this.selectedFeature?.layer,t=this.table;if(e?.relationships&&t?.relationships&&this.selectedFeature&&t.templates){let o=e.relationships[0],i=t.relationships.find(a=>e.layerId===a.relatedTableId),s=Number(this.selectedFeature.getObjectId());if(!Number.isNaN(s)&&i){let a=(await e.queryFeatures({objectIds:[s],outFields:[e.objectIdField,o.keyField]})).features[0],n=t.templates[0],d={attributeOverrides:this.makeAttributesForRelatedFeature(a,o,i),layer:t,template:n};await this._editor?.startCreateFeaturesWorkflowAtFeatureCreation(d),await this.hideEditorsElements(),this._editor?.viewModel?.featureFormViewModel?.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this)))}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}makeAttributesForRelatedFeature(e,t,o){let i=t.keyField,s;e.attributes.hasOwnProperty(i)?s=e.getAttribute(i):e.attributes.hasOwnProperty(i.toLowerCase())?s=e.getAttribute(i.toLowerCase()):e.attributes.hasOwnProperty(i.toUpperCase())&&(s=e.getAttribute(i.toUpperCase()));let a=o.keyField,n=this.table?.fields.find(d=>d.name.toLocaleLowerCase()===a.toLocaleLowerCase());if(n)return a=n.name,{[a]:s}}async submitted(e){if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(e.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(t=>{if(t.error)throw t.error}))}catch(t){this.fail.emit(t);return}this.success.emit()}}async timeout(e){return new Promise(t=>setTimeout(t,e))}};w("create-related-feature",c);export{c as CreateRelatedFeature};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
4
|
var l=e=>({labelKey:`${e}.fields.slug.label`,scope:"/properties/_slug",type:"Control",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.slug.patternError`},{type:"ERROR",keyword:"isUniqueSlug",icon:!0,labelKey:`${e}.fields.slug.isUniqueError`}]}});export{l as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
4
|
var p;(function(e){e.BMP="bmp",e.GIF="gif",e.JPG="jpg",e.JPG_PNG="jpgpng",e.PNG="png",e.PNG8="png8",e.PNG24="png24",e.TIFF="tiff",e.PNG32="png32",e.BIP="bip",e.BSQ="bsq",e.LERC="lerc",e.CSV="csv",e.EXCEL="excel",e.FEATURE_COLLECTION="featureCollection",e.FILE_GDB="filegdb",e.GEOJSON="geojson",e.GEO_PACKAGE="geoPackage",e.JSON="json",e.KML="kml",e.SHAPEFILE="shapefile",e.SQLITE="sqlite"})(p||(p={}));var t;(function(e){e.PENDING="pending",e.PROCESSING="processing",e.CONVERTING="converting",e.COMPLETED="completed",e.FAILED="failed"})(t||(t={}));var P=class extends Error{constructor(s){super(s.rawMessage),this.name="ArcgisHubDownloadError",this.message=s.rawMessage,this.messageId=s.messageId,this.operation=s.operation}};export{p as a,t as b,P as c};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
4
|
-
import{a as l}from"./
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import{a as l}from"./XYM4QNUF.js";import"./DSYYVW3F.js";import"./V7HQLFUM.js";import"./ITWJGFNZ.js";import{a as o}from"./2GG4TAB5.js";import"./WDPCEJWO.js";import"./U4XP4SVP.js";import"./7CHJP5FF.js";import"./3K7RVP62.js";import"./3RYGLJSU.js";import"./KUHZ7NUV.js";import"./HT35VQR3.js";import"./ATETIVT6.js";import"./XVNMBFFV.js";import"./SROUOTOF.js";import"./MXZUWU5U.js";import"./BAFGE6VY.js";import"./CN7U4Z7M.js";import"./74MX4QLZ.js";import"./NDND3YNI.js";import"./6HJNTC7F.js";import"./XAMZTC4V.js";import"./VH5CQ62Q.js";import"./7C46WXZU.js";import"./STLINJZP.js";import"./N4JFNJAP.js";import"./CEW2J6RG.js";import"./N3JVQRW2.js";function p(e){return["myContent","organization"].map(t=>l("selectContent.facets",t,"item",{user:e,collectionNames:["site"]}))}var u=(e,i,t)=>({type:"Layout",elements:[{labelKey:"selectContent.title",scope:"/properties/entityId",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser),facets:[{label:"{{selectContent.facets.sharing:translate}}",key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}},{type:"Section",labelKey:"callToAction.title",rule:n,options:{helperText:{labelKey:"callToAction.helperText"}},elements:[{scope:"/properties/callToActionText",type:"Control",options:{type:"textarea",rows:4}},{labelKey:"callToAction.alignment",scope:"/properties/callToActionAlign",type:"Control",options:{control:"hub-field-input-alignment"}}]},{type:"Section",labelKey:"followButton.title",options:{helperText:{labelKey:"followButton.helperText"}},rule:n,elements:[{labelKey:"followButton.buttonText",scope:"/properties/buttonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.unfollowButtonText",scope:"/properties/unfollowButtonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.alignment",scope:"/properties/buttonAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"followButton.buttonStyle",scope:"/properties/buttonStyle",type:"Control",options:{control:"hub-field-input-select",labels:["{{followButton.solid:translate}}","{{followButton.outline:translate}}"]}}]}]}),n={effect:o.HIDE,condition:{scope:"/properties/entityId",schema:{const:[]}}};export{u as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
4
|
-
import"./
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import"./N3JVQRW2.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
4
|
-
import{a}from"./
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import{a}from"./UKVOZIPV.js";import{a as d}from"./3TRGQIG4.js";import{K as b,L as m}from"./H6OGXITC.js";import"./J4IVVJW7.js";import{a as l}from"./ITWJGFNZ.js";import{a as i}from"./2GG4TAB5.js";import"./WDPCEJWO.js";import"./U4XP4SVP.js";import"./7CHJP5FF.js";import"./3K7RVP62.js";import"./3RYGLJSU.js";import"./KUHZ7NUV.js";import"./HT35VQR3.js";import"./ATETIVT6.js";import"./XVNMBFFV.js";import"./SROUOTOF.js";import"./MXZUWU5U.js";import"./BAFGE6VY.js";import"./CN7U4Z7M.js";import"./74MX4QLZ.js";import"./NDND3YNI.js";import"./6HJNTC7F.js";import"./XAMZTC4V.js";import"./VH5CQ62Q.js";import"./7C46WXZU.js";import"./STLINJZP.js";import"./N4JFNJAP.js";import"./CEW2J6RG.js";import"./N3JVQRW2.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/features/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
4
|
function c(e){let t={};if(Array.isArray(e))t=e.map(c);else if(typeof e=="object"){if(e===null)return e;for(let r in e)if(e.hasOwnProperty(r)){let n=e[r];n!=null&&typeof n=="object"?n instanceof Date?t[r]=new Date(n.getTime()):typeof Blob<"u"&&n instanceof Blob?t[r]=new Blob([n],{type:n.type}):t[r]=c(n):t[r]=n}}else t=e;return t}function s(e,t){return e.filter(n=>n!==t)}function l(e="i"){return`${e}${Math.random().toString(36).substr(2,8)}`}function a(e,t){return e!=null&&(t=c(t),t.push(e)),t}function d(e){e=e.toLowerCase(),e=e.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi," ");let t=/(\-|\_|\.|\s)+(.)?/g,r=/(^|\/)([A-Z])/g;return e.replace(t,function(n,i,u){return u?u.toUpperCase():""}).replace(r,function(n,i,u){return n.toLowerCase()})}function p(e,t,r){return r.indexOf(e)===t}function f(e,t,r=!0){let n=c(e);return Object.keys(t).reduce((i,u)=>{if(t[u]!==null&&t[u]!==void 0){let o=c(t[u]);Array.isArray(o)?i[u]=o:r&&typeof o=="object"?i[u]=f(i[u]||{},o,r):i[u]=o}return i},n)}function x(e,t){let r=[],n=0;for(;n<e.length;)r.push(e.slice(n,n+t)),n+=t;return r}var y=e=>e==null;export{c as a,s as b,l as c,a as d,d as e,p as f,f as g,x as h,y as i};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
4
|
-
import{
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import{b as I,c as b,d as v}from"./KPKJKBOW.js";import{a as i}from"./UN5OBM45.js";import"./5AARPSFW.js";import"./2FWYC6N2.js";import"./FCGAI4KW.js";import"./GTECY6TF.js";import"./QU2IDIBF.js";import"./HN3P22JK.js";import"./UI2K7A6K.js";import"./UKVOZIPV.js";import"./OVNKAN7A.js";import"./6FSSM6C5.js";import"./3TRGQIG4.js";import"./4GJTZGZ2.js";import"./QB26MH3P.js";import"./G6EO7CEQ.js";import"./UCE3PD7K.js";import"./H6OGXITC.js";import{g as a}from"./J4IVVJW7.js";import"./DSYYVW3F.js";import"./V7HQLFUM.js";import"./ITWJGFNZ.js";import"./U4XP4SVP.js";import{a as n}from"./EV3TUX6S.js";import"./AHEDR6FX.js";import{a as g}from"./PSE37RBN.js";import"./L3KYPR4U.js";import"./HI22GMCZ.js";import{b as _}from"./25HFBBO7.js";import{A as m,h as c,i as o,k as r,q as u,w as d,x as p,y as f}from"./A2QNF47K.js";import"./N3JVQRW2.js";var y=c`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -15,4 +15,4 @@ import{a as n}from"./PVPNQBWZ.js";import{b as I,c as b,d as v}from"./UASHMMAZ.js
|
|
15
15
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
16
|
* See the License for the specific language governing permissions and
|
17
17
|
* limitations under the License.
|
18
|
-
*/.configuration-container{@apply w-full h-full relative;}.configuration{@apply absolute top-0 right-0 bottom-0 left-0 flex p-2 border-lightgray;}.config-tabs,.config-tab{@apply w-full;}.config-solution{@apply absolute top-14 -right-px -bottom-px -left-px flex p-2;}.config-inventory{@apply inline flex-grow-0 overflow-y-auto max-w-min;}.config-inventory-hide{@apply flex-grow-0 overflow-y-auto max-w-min hidden;}.config-item{@apply inline flex-grow overflow-y-auto relative m-inline-start-2;}solution-contents{@apply relative h-full;}solution-item{@apply relative h-full;}solution-spatial-ref{@apply w-full h-full relative overflow-y-auto;}}`,h=class extends
|
18
|
+
*/.configuration-container{@apply w-full h-full relative;}.configuration{@apply absolute top-0 right-0 bottom-0 left-0 flex p-2 border-lightgray;}.config-tabs,.config-tab{@apply w-full;}.config-solution{@apply absolute top-14 -right-px -bottom-px -left-px flex p-2;}.config-inventory{@apply inline flex-grow-0 overflow-y-auto max-w-min;}.config-inventory-hide{@apply flex-grow-0 overflow-y-auto max-w-min hidden;}.config-item{@apply inline flex-grow overflow-y-auto relative m-inline-start-2;}solution-contents{@apply relative h-full;}solution-item{@apply relative h-full;}solution-spatial-ref{@apply w-full h-full relative overflow-y-auto;}}`,h=class extends f{constructor(){super(),this.authentication=new a({}),this.serializedAuthentication="",this.solutionItemId="",this.showLoading=!1,this._currentEditItemId="",this._organizationVariables="",this._solutionContentsComponent=d(),this._solutionIsLoaded=!1,this._solutionVariables="",this._templateHierarchy=[],this._translations=g({name:"solution-configuration",blocking:!0}),this._treeOpen=!0,this._solutionStoreHasChanges=!1,this._solutionEditorHasChanges=!1,this._solutionEditorHasErrors=!1,this._canSave=!1,this.serializedAuthentication&&(this.authentication=a.deserialize(this.serializedAuthentication)),this.solutionItemId&&this._loadSolution(this.solutionItemId),this.listenOn(window,"solutionStoreHasChanges",t=>{this._updateSaveability(this._solutionStoreHasChanges=t.detail,this._solutionEditorHasChanges,this._solutionEditorHasErrors)}),this.listenOn(window,"solutionEditorHasChanges",t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges=t.detail,this._solutionEditorHasErrors)}),this.listenOn(window,"solutionEditorHasErrors",t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges,this._solutionEditorHasErrors=t.detail)}),this.listenOn(window,"solutionItemSelected",this._solutionItemSelected)}static{this.properties={authentication:0,serializedAuthentication:1,solutionItemId:3,showLoading:7,_currentEditItemId:16,_organizationVariables:16,_solutionContentsComponent:16,_solutionIsLoaded:16,_solutionVariables:16,_templateHierarchy:16,_translations:16,_treeOpen:16}}static{this.styles=y}static{this.shadowRootOptions=u}willUpdate(t){t.has("serializedAuthentication")&&(this.hasUpdated||this.serializedAuthentication!=="")&&this.serializedAuthenticationWatchHandler(),t.has("solutionItemId")&&(this.hasUpdated||this.solutionItemId!=="")&&this.valueWatchHandler()}async serializedAuthenticationWatchHandler(){this.authentication=this.serializedAuthentication?a.deserialize(this.serializedAuthentication):new a({})}async valueWatchHandler(){this.solutionItemId&&await this._loadSolution(this.solutionItemId)}render(){let t=i.getStoreInfo("spatialReferenceInfo"),e=i.getStoreInfo("featureServices").length>0,l=i.getStoreInfo("solutionData");return this._solutionVariables=JSON.stringify(v(l.templates,this._translations)),this._organizationVariables=JSON.stringify(b(this._translations)),o`${this._solutionIsLoaded?null:o`<calcite-loader label></calcite-loader>`}<div class="configuration-container"><div class="configuration"><calcite-tabs class="config-tabs"><calcite-tab-nav slot=tab-nav><calcite-tab-title>${this._translations.definitionTab}</calcite-tab-title>${e?o`<calcite-tab-title>${this._translations.spatialReferenceTab}</calcite-tab-title>`:null}</calcite-tab-nav><calcite-tab class="config-tab" selected><div class="config-solution"><div class=${m(this._treeOpen?"config-inventory":"config-inventory-hide")}>${n(`${this.solutionItemId}-contents`,o`<solution-contents id=configInventory ${p(this._solutionContentsComponent)}></solution-contents>`)}</div><calcite-button appearance=transparent class="collapse-btn" .iconStart=${this._treeOpen?"chevrons-left":"chevrons-right"} id=collapse-vars @click=${()=>this._toggleTree()} scale=s title=${(this._treeOpen?this._translations.collapse:this._translations.expand)??r}></calcite-button><div class="config-item">${n(`${this.solutionItemId}-item`,o`<solution-item .authentication=${this.authentication} itemId=${this._currentEditItemId??r} .organizationVariables=${this._organizationVariables} .solutionVariables=${this._solutionVariables}></solution-item>`)}</div></div></calcite-tab>${e?o`<calcite-tab class="config-tab"><div class="config-solution">${n(`${this.solutionItemId}-spatial-ref`,o`<solution-spatial-ref .enableDefault=${!!t.default} .enabled=${t?.enabled} .featureServices=${i.getStoreInfo("featureServices").map(s=>s.name)} id=configure-solution-spatial-ref></solution-spatial-ref>`)}</div></calcite-tab>`:null}</calcite-tabs></div></div>`}_solutionItemSelected(t){this._currentEditItemId=t.detail}async getSpatialReferenceInfo(){return Promise.resolve(i.getStoreInfo("spatialReferenceInfo"))}async saveSolution(){this._solutionIsLoaded=!1,await i.saveSolution(),this._solutionIsLoaded=!0,this.solutionItemId=void 0}async unloadSolution(){this.solutionItemId=void 0}_initProps(){let t=i.getStoreInfo("solutionData");this._templateHierarchy=[...I(t.templates)],this._solutionContentsComponent.value&&(this._solutionContentsComponent.value.templateHierarchy=this._templateHierarchy);let e;this._templateHierarchy.length>0&&(e=i.getItemInfo(this._templateHierarchy[0].id)),this._currentEditItemId=e?e.itemId:""}async _loadSolution(t){return t?(this._solutionIsLoaded=!1,await i.loadSolution(t,this.authentication),this._initProps(),this._solutionIsLoaded=!0):this._reset(),Promise.resolve()}_reset(){this._currentEditItemId="",this._organizationVariables="",this._solutionVariables="",this._templateHierarchy=[]}_toggleTree(){this._treeOpen=!this._treeOpen}_updateSaveability(t,e,l){let s=(t||e)&&!l;this._canSave!==s&&window.dispatchEvent(new CustomEvent("solutionCanSave",{detail:s,bubbles:!0,cancelable:!1,composed:!0})),this._canSave=s}};_("solution-configuration",h);export{h as SolutionConfiguration};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.
|
3
|
-
v1.0.
|
4
|
-
import{a as n}from"./
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import{a as n}from"./KBFGX22V.js";import{a as o}from"./XYM4QNUF.js";import{a as m}from"./54I7CNTR.js";import"./6FSSM6C5.js";import"./3TRGQIG4.js";import"./4GJTZGZ2.js";import"./QB26MH3P.js";import"./UCE3PD7K.js";import{a as s}from"./GW33ZZHC.js";import{a as i}from"./2W6UZ4WR.js";import"./H6OGXITC.js";import"./J4IVVJW7.js";import"./DSYYVW3F.js";import"./V7HQLFUM.js";import"./ITWJGFNZ.js";import{b as r}from"./2GG4TAB5.js";import"./WDPCEJWO.js";import"./U4XP4SVP.js";import"./7CHJP5FF.js";import"./3K7RVP62.js";import"./3RYGLJSU.js";import"./KUHZ7NUV.js";import"./HT35VQR3.js";import"./ATETIVT6.js";import"./XVNMBFFV.js";import"./SROUOTOF.js";import"./MXZUWU5U.js";import"./BAFGE6VY.js";import"./CN7U4Z7M.js";import"./74MX4QLZ.js";import"./NDND3YNI.js";import"./6HJNTC7F.js";import"./XAMZTC4V.js";import"./VH5CQ62Q.js";import"./7C46WXZU.js";import"./STLINJZP.js";import"./N4JFNJAP.js";import"./CEW2J6RG.js";import"./N3JVQRW2.js";var p=(e,l)=>["myContent","organization"].map(d=>{let a=o("initiativeTemplate.fields.recommendedTemplates",d,"item",{user:e});return a.collections=[c(l)],a}),c=e=>({targetEntity:"item",key:"recommendedTemplates",label:`${e}.fields.recommendedTemplates.collection.label`,scope:{targetEntity:"item",filters:[{predicates:[{type:"Solution"}]},{predicates:[{typekeywords:["hubSolutionTemplate"]},{typekeywords:["Template"]}],operation:"OR"}]}});var k=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.name.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...m(e,l.thumbnail,n(l),"initiativeTemplate",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{type:"Control",scope:"/properties/description",labelKey:`${e}.fields.description.label`,options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await s(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{type:"Control",scope:"/properties/recommendedTemplates",labelKey:`${e}.fields.recommendedTemplates.label`,options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser,e),facets:[{label:`{{${e}.fields.recommendedTemplates.facets.sharing:translate}}`,key:"access",field:"access",display:"multi-select",operation:"OR"}],canReorder:!1,linkTarget:"siteRelative",pickerTitle:{labelKey:`${e}.fields.recommendedTemplates.pickerTitle`}}}]}]});export{k as buildUiSchema};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import{c as d}from"./A2QNF47K.js";var r=class extends Event{constructor(t,e,n,s){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e,this.callback=n,this.subscribe=s??!1}};var a=class{constructor(t,e,n,s){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(o,c)=>{this.unsubscribe&&(this.unsubscribe!==c&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=o,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(o,c)),this.unsubscribe=c},this.host=t,e.context!==void 0){let o=e;this.context=o.context,this.callback=o.callback,this.subscribe=o.subscribe??!1}else this.context=e,this.callback=n,this.subscribe=s??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new r(this.context,this.host,this.t,this.subscribe))}};var u=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let n=e||!Object.is(t,this.o);this.o=t,n&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:n}]of this.subscriptions)e(this.o,n)},t!==void 0&&(this.value=t)}addCallback(t,e,n){if(!n)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:s}=this.subscriptions.get(t);t(this.value,s)}clearCallbacks(){this.subscriptions.clear()}};var l=class extends Event{constructor(t,e){super("context-provider",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e}},h=class extends u{constructor(t,e,n){super(e.context!==void 0?e.initialValue:n),this.onContextRequest=s=>{if(s.context!==this.context)return;let o=s.contextTarget??s.composedPath()[0];o!==this.host&&(s.stopPropagation(),this.addCallback(s.callback,o,s.subscribe))},this.onProviderRequest=s=>{if(s.context!==this.context||(s.contextTarget??s.composedPath()[0])===this.host)return;let o=new Set;for(let[c,{consumerHost:x}]of this.subscriptions)o.has(c)||(o.add(c),x.dispatchEvent(new r(this.context,x,c,!0)));s.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new l(this.context,this.host))}};var A=i=>{let t=d(),e=new h(t.el,i);return t.addController(e),e},B=i=>{let t=d(),e=new a(t.el,i);return t.addController(e),e};var J="UserSession",K="isMobile",Q="Auth";export{A as a,B as b,J as c,K as d,Q as e};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250731.1 */
|
4
|
+
import a from"./7KQKPG55.js";import{a as v}from"./IUQFTD5B.js";import{h as O,i as A}from"./MJ4UYOY5.js";export default $arcgis.t(([{a:N,b:V}])=>{function J(e,n,l){return t=>{let a=t?.layer?.type;if(a==="feature"||a==="group"){let s=D(n,t,l).then(o=>o);s&&e.push(s);let i=o=>{let r=D(n,o,l).then(u=>u);r&&e.push(r)};t.children.forEach(o=>{i(o),o?.children?.length>0&&o.children.forEach(r=>{i(r),r?.children?.length>0&&r.children.forEach(u=>{i(u)})})})}}}async function D(e,n,l){try{let t=n?.layer?.type==="group",a=n?.layer?.layers?.some(d=>d.visible),s=n?.layer?.layers?.every(d=>!d?.legendEnabled);await l.whenOnce(()=>e?.state==="ready"),!t||t&&a?t&&s?await l.whenOnce(()=>n?.layer?.loaded):await l.whenOnce(()=>n?.ready):await l.whenOnce(()=>n?.legendElements);let i=n?.legendElements?.[0],o=new Map,r=n.layer,u=await e?.view?.whenLayerView(r),c=r.renderer?.field??"";i!==void 0&&i?.infos?.forEach(d=>{if(d.type==="symbol-table"){let p=[];d.infos.forEach(h=>{let E={count:null,selected:!1,legendElementInfo:h};p.push(E)});let y={count:null,selected:!1,legendElementInfo:d,nestedInfos:p};o.set(d.title,y)}else{let p={count:null,selected:!1,legendElementInfo:d};o.set(d.label??r.id,p)}});let f=[];return u?Promise.resolve({activeLayerInfo:n,title:u.layer.title,categories:o,field:c,queryExpressions:f,totalCount:null,fLayerView:u,legendElement:i}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function _(e,n){let l={},t=[];e.activeLayerInfos.forEach(J(t,e,n));try{return(await Promise.all(t)).forEach(a=>{let s=a?.activeLayerInfo?.layer?.id;l[s]=a}),Promise.resolve(l)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function ee(e){return Array.from(e,n=>n[1])}function ne(e,n,l,t,a){if(t)return t?.nestedInfos?.[a];let s="label"in l&&l?.label?l?.label:n?.id;return e?.categories?.get(s)}function re(e){return N?.data?.[e?.id]}async function te(e,n,l,t,a){let{queryExpressions:s,fLayerView:i}=e;K(e,n,l,a);let o=s.every(f=>f&&f.includes("<>"))?" AND ":" OR ",r=s.join(o),u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null,{type:c}=t;if(c==="filter")i.filter=await A({where:r,timeExtent:u});else if(t.effect){let{includedEffect:f,excludedEffect:d}=t.effect,p=await v(d,i,"excludedEffect"),y=await v(f,i,"includedEffect");i.featureEffect=await O({filter:await A({where:r,timeExtent:u}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function q(e,n){let l=n?n?.layer?.renderer?.authoringInfo:null,t=l?l.fields:null,a=[];if(!t)return"";if(Object.hasOwn(e,"value"))return t.forEach(s=>{if(e.value===s)return;let i=`(${e.value} > ${s} OR (${s} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;a.push(i)}),a.join(" AND ");{let s=[];t.forEach(o=>{s.push(`${o} = 0`)});let i=[];if(t.length>2){t.forEach(r=>{t.forEach(u=>{if(r===u)return;let c=[];t.forEach(f=>{r===f||u===f||c.push(`${r} = ${u} AND (${r} > ${f} OR ${r} >= ${f})`)}),i.push(`(${c.join(" AND ")})`)})});let o=[];return t.forEach(r=>{o.push(`${r} IS NULL`)}),`(${s.join(" AND ")}) OR (${i.join(" OR ")}) OR (${o.join(" AND ")})`}else{let o=[];t.forEach(u=>{t.forEach(c=>{u!==c&&(o.push(`${u} = ${c}`),o.push(`(${s.join(" AND ")})`))})});let r=[];return t.forEach(u=>{t.forEach(c=>{u!==c&&r.push(`(${u} = 0 AND ${c} IS NULL) OR (${u} IS NULL AND ${c} IS NULL)`)})}),`(${o.join(" OR ")}) OR (${r.join(" OR ")})`}}}function K(e,n,l,t){let{field:a,legendElement:s,categories:i,fLayerView:o}=e,r=e?.queryExpressions;t&&Array.from(e.categories).map(h=>h[1]).forEach(h=>{h.nestedInfos?.every(E=>!E.selected)&&h.nestedInfos?.forEach(E=>{let $=a?`${a} = '${E.legendElementInfo.value}'`:null,m=$?r.indexOf($):-1;$&&m!==-1&&r.splice(m,1)})});let u=s?.infos,c=j(o),f=c?q(n,o):x(n,a,l,s,u??[],""),d=i?t?i.get(t.title)?.nestedInfos?.[l]:i.get(n.label??o?.layer?.id):null;d&&(d.selected=!d?.selected);let p=u&&u.length===1,y=r.indexOf(f);if(c){let h=r.indexOf(f);r.length===0||h===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]?r[0]="1=0":r&&r.length===1||r.length===1&&f!==r[0]&&r[0]==="1=0"?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"?r[0]=null:r.splice(h,1),r.join(" OR ")}else r.length===0||y===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]&&!p?r[0]="1=0":r&&r.length===1&&!p||r.length===1&&f!==r[0]&&r[0]==="1=0"&&!p?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"&&!p?r[0]=null:r.splice(y,1);if(t){let h=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{a&&`${a} = '${$.legendElementInfo.value}'`&&h.push(`${a} = '${$.legendElementInfo.value}'`)})}),h.forEach(E=>{r.includes(E)||r.push(E)})}}function x(e,n,l,t,a,s){let{value:i}=e;if(t?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&a?.length===1){if(Object.hasOwn(a?.[0],"value")&&Array.isArray(a?.[0].value)&&Object.hasOwn(a?.[a.length-2],"value")&&Array.isArray(a?.[a.length-2].value))return s?`((${n}/${s}) > ${a?.[0].value[1]}) OR ((${n}/${s}) < ${a?.[a.length-2].value[0]}) OR ${s} = 0 OR ${s} IS NULL`:`${n} > ${a?.[0].value[1]} OR ${n} < ${a?.[a.length-2].value[0]} OR ${n} IS NULL`;if(a?.length===1)return"1=0";{let o=[];a?.forEach(u=>{if(u?.value){let{value:c}=u,f=c.indexOf("'")!==-1?c.split("'").join("''"):null,d=f?`${n} <> '${f}'`:isNaN(c)||typeof c=="string"&&!c.trim()?`${n} <> '${c}'`:`${n} <> ${c} AND ${n} <> '${c}'`;o.push(d)}});let r=o.join(" AND ");return n&&r?`${r} OR ${n} IS NULL`:""}}else{let o=i.indexOf("'")!==-1?i.split("'").join("''"):null,r=Array.isArray(e.value),u=a&&a.length-1===l,c=!Object.hasOwn(a?.[a.length-1],"value"),f=a&&a.length-2===l;return r?s?u||c&&f?`(${n}/${s}) >= ${i[0]} AND (${n}/${s}) <= ${e.value[1]}`:`(${n}/${s}) > ${i[0]} AND (${n}/${s}) <= ${e.value[1]}`:u||c&&f?`${n} >= ${i[0]} AND ${n} <= ${i[1]}`:`${n} > ${i[0]} AND ${n} <= ${i[1]}`:a?.length===1&&n?isNaN(i)||!i.trim().length?`${n} <> '${i}'`:`${n} <> ${i} OR ${n} <> '${i}'`:o?`${n} = '${o}'`:isNaN(i)||!i.trim().length?`${n} = '${i}'`:`${n} = ${i} OR ${n} = '${i}'`}else return""}function ae(e){return Array.isArray(e)?e.every(n=>!n.selected):e&&Array.from(e.categories.entries()).every(n=>!n[1].selected)&&e.queryExpressions[0]!=="1=0"}function j(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function le(e){return e?.legendElements[1]?.type==="relationship-ramp"}function se(e,n,l){let t=e.layer?.renderer?.field,a=n?.type,s=e?.layerView,i=s?.layer?.renderer?.classBreakInfos,o=s?.layer?.renderer?.uniqueValueInfos&&t,r=a==="size-ramp",u=a==="color-ramp",c=a==="opacity-ramp",f=a==="heatmap-ramp",d=s&&i&&i.length>1,p=s?.layer?.renderer?.authoringInfo?.type,y=p==="class-breaks-color",h=p==="class-breaks-size",E=n?.infos?.length===1&&!t,$=p==="relationship"&&n?.type!=="size-ramp"&&n?.type!=="symbol-table",m=e?.layer?.type==="feature",g=m&&t&&!u&&!r&&d,I=!!(m&&t&&!u&&!r&&!d),L=!!(I||j(s)&&!r||y&&t||h&&t||E&&!t&&t!==null||$||o),k=e?.layer?.featureReduction&&e?.legendElements?.[l]?.type==="size-ramp",R=n?.type==="symbol-table"&&n?.infos?.length===1,z=!e?.legendElements.every(w=>w.type!=="color-ramp"),F=!e?.legendElements.every(w=>w.type!=="size-ramp"),C=R&&z,T=R&&F,Q=n?.infos?.every(w=>typeof w.value=="number"),B=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",G=p==="dot-density",H=S(e?.layer,t);return m&&!k&&!c&&!f&&!C&&!T&&!Q&&!B&&!G&&H?i?g||L:I||L:!1}function ie(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(n=>{n.selected=!1}),e}function oe(e,n){e.categories.get(n)?.nestedInfos?.forEach(s=>{let i=`${e.field} = '${s.legendElementInfo.value}'`,o=e.queryExpressions.indexOf(i);o!==-1&&e.queryExpressions.splice(o,1),s.selected=!1});let l=[],t=Array.from(e.categories).map(s=>s[1]);t.forEach(s=>{s.nestedInfos?.every(i=>!i.selected)&&s.nestedInfos?.forEach(i=>{l.push(`${e.field} = '${i.legendElementInfo.value}'`)})}),l.forEach(s=>{e.queryExpressions.includes(s)||e.queryExpressions.push(s)});let a=e.queryExpressions.join(" OR ");return t.every(s=>s.nestedInfos?.every(i=>!i.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=a),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=a)),e}async function fe(e,n,l){let t=e.fLayerView.createQuery();if(l)if(l.nestedInfos.every(a=>!a.selected)){let a=l.nestedInfos.map(s=>`${e.field} = '${s.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=l.nestedInfos.filter(s=>s.selected).map(s=>`${e.field} = '${s.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=e.queryExpressions.join(" OR ");t.where=a}try{let{extent:a}=await e.fLayerView.layer.queryExtent(t);await n.goTo(a)}catch{}}function ce(e){return e.map(n=>n?.count).reduce((n,l)=>n+l)}function ue(e){return e.map(n=>n?.nestedInfos?.map(l=>l.count).reduce((l,t)=>l+t)).reduce((n,l)=>n+l)}async function b(e,n,l,t,a,s,i,o){if(!n||!S(n?.layer,l))return;let r=n?.layer?.type==="feature"?n.createQuery():null,u=j(n)?q(t,n):t.type?x(i,l,o,t,t.infos):x(t,l,a,s,s.infos);r&&u&&(r.where=u==="1=0"?"1=1":u,e&&(r.geometry=e));try{let c=r?await n.queryFeatureCount(r):null;return Promise.resolve({[t.label??n?.layer?.id]:c})}catch(c){console.error("FAILURE AT 'getInfoCount': ",c)}return await Promise.resolve(null)}async function de(e,n){let l={...n},{activeLayerInfos:t}=e,a=e?.view?.extent,s={},i={};t.forEach(async o=>{let r=o.legendElements[0],u=o.layer,c=n[o?.layer?.id]?.fLayerView,f=u.renderer?.field,d=[];i[o.layer.id]=[],r?.infos?.forEach((y,h)=>{if(r.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach(($,m)=>{let g=b(a,c,f,y,h,r,$,m);E.push(g)}),i[o.layer.id].push(E)}else d.push(b(a,c,f,y,h,r)),i[o.layer.id]=d});let p=y=>{let h=[],E=y.legendElements[0],$=y.layer,m=n[y?.layer?.id]?.fLayerView,g=$.renderer?.field;E?.infos?.forEach((I,L)=>h.push(b(a,m,g,I,L,E))),i[y.layer.id]=h};o.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(h=>{p(h),h?.children?.length>0&&h.children.forEach(E=>{p(E)})})})});for(let o in i){let r=s[o];r||(r=s[o]={});let u=await Promise.all(i[o]);if(u.every(c=>Array.isArray(c))){let c=await Promise.all(u.map(async f=>(await Promise.all(f)).map(d=>d&&Object.values(d)[0])));r[o]=c,s[o]={...r[o]}}else{let c={};u.forEach(f=>{if(!f)return;let d=Object.keys(f)[0];c[d]=f[d]}),o&&(r[o]=c),s[o]={...r[o]}}}return t.forEach(o=>{let r=n[o.layer.id],u=o.layer.id;r?.categories?.forEach((f,d)=>{let p=Array.from(r?.categories).findIndex(y=>y[0]===d);if(f?.nestedInfos)f?.nestedInfos.forEach((y,h)=>{let E=s?.[o?.layer?.id]?.[p]?.[h];y.count=isNaN(E)?null:E});else{let y=s?.[u]?.[d];f.count=isNaN(y)?null:y}});let c=f=>{let d=f.layer.id;n[d]?.categories?.forEach((p,y)=>{let h=s?.[d]?.[y];p.count=h})};o?.children?.forEach(f=>{c(f),f?.children?.length>0&&f.children.forEach(d=>{c(d),d?.children?.length>0&&d.children.forEach(p=>{c(p)})})})}),await Promise.resolve(l)}function ye(e,n){return e?.nestedInfos?.[n]}function he(e){return Array.from(e).map(n=>n[1]).every(n=>!!n?.nestedInfos)}function Ee(e){return!!e?.legendElements?.[0]?.infos?.every?.(n=>n?.type==="symbol-table")}function pe(e,n){if(typeof n?.title=="string")return e?.categories?.get(n?.title)}function $e(e){let n="calcite-mode-",l=`${n}light`,t=`${n}dark`;return e.classList.contains(t)?t:l}function me(e){if(e.layerId&&e.intLegendLayerData){let n=e.layerId,l=e.intLegendLayerData,t={...N.data,[n]:l};V.set("data",t)}}function ge(e,n){let{type:l}=e;l==="filter"?M(n):l==="effect"&&W(e,n)}function M(e){e?.allLayerViews?.filter(n=>n?.layer?.type==="feature")?.forEach(n=>{let l=n,t=P(l);l.filter=t,l.set("featureEffect",null)})}function W(e,n){n?.allLayerViews?.filter(l=>l?.layer?.type==="feature").forEach(async l=>{let t=l;if(e?.effect&&t){let{includedEffect:a,excludedEffect:s}=e.effect,i=await v(s,t,"excludedEffect"),o=await v(a,t,"includedEffect"),r=P(t);t.featureEffect=await O({filter:r,includedEffect:o,excludedEffect:i}),t.set("filter",null)}})}function P(e){return e?.filter||e?.featureEffect?.filter}function S(e,n){let l=e?.fields,t=l&&l.map(a=>a.name);return n?t&&t.includes(n):!0}function we(e){let n=[];return e.forEach(l=>U(l,n)),n}function U(e,n){n.push(e),e.children&&e.children.length>0&&e.children.forEach(l=>{U(l,n)})}return{a:D,b:_,c:ee,d:ne,e:re,f:te,g:ae,h:le,i:se,j:ie,k:oe,l:fe,m:ce,n:ue,o:de,p:ye,q:he,r:Ee,s:pe,t:$e,u:me,v:ge,w:we}},a)
|