@esri/solutions-components 1.1.0-next.20250731.2 → 1.1.0-next.20250805
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/{OAEQVUZY.js → 2GZOS2KK.js} +2 -2
- package/dist/cdn/{TIHHNJA6.js → 2HD2VSDE.js} +2 -2
- package/dist/cdn/{RLGCYEFH.js → 2J6B6MYD.js} +1 -1
- package/dist/cdn/{62UQALSW.js → 2RDZT3HY.js} +2 -2
- package/dist/cdn/{LD47RQ5P.js → 2SKQ276W.js} +1 -1
- package/dist/cdn/{LRUU6SS4.js → 2WV6FKR2.js} +2 -2
- package/dist/cdn/{M3LSDSXW.js → 2ZLOSH7Y.js} +2 -2
- package/dist/cdn/{ZB72KJZD.js → 33BJEK5G.js} +2 -2
- package/dist/cdn/{DKPRV4AI.js → 3I2OPOC3.js} +2 -2
- package/dist/cdn/{4JQP3HFD.js → 3JQ57R5L.js} +1 -1
- package/dist/cdn/{UIPTLMNI.js → 3LO343UW.js} +2 -2
- package/dist/cdn/{RDTGQF7P.js → 3OJA72EQ.js} +2 -2
- package/dist/cdn/{7MZLI63Y.js → 3R2EHQXY.js} +2 -2
- package/dist/cdn/{WWXN5GTA.js → 3RT4YQAX.js} +2 -2
- package/dist/cdn/{EQGEFCKQ.js → 3VVVED3A.js} +2 -2
- package/dist/cdn/{Y35CX7NQ.js → 3WL35JH2.js} +2 -2
- package/dist/cdn/3Z6KYNQU.js +4 -0
- package/dist/cdn/{ICBWNHIN.js → 44GDA3KH.js} +2 -2
- package/dist/cdn/{HYDLS7AR.js → 4E2DDRVF.js} +2 -2
- package/dist/cdn/{5QETJ5GE.js → 4JEVLL6V.js} +2 -2
- package/dist/cdn/{L2D7IZPZ.js → 4R3UNRG6.js} +2 -2
- package/dist/cdn/{HFNEOZ3N.js → 4XFNEG4A.js} +2 -2
- package/dist/cdn/{36MHEPI4.js → 55C6B2OK.js} +2 -2
- package/dist/cdn/{BRBQXQ7W.js → 56PTP455.js} +2 -2
- package/dist/cdn/{IQM6PE4Y.js → 5HTY24LH.js} +2 -2
- package/dist/cdn/{DJS4WZQF.js → 5JWWBXAA.js} +2 -2
- package/dist/cdn/{HKMV2H2F.js → 5LNMUFJT.js} +2 -2
- package/dist/cdn/{ORO2IB3X.js → 5PWG33WO.js} +2 -2
- package/dist/cdn/{RRIUNVA4.js → 6CEYZTZA.js} +2 -2
- package/dist/cdn/{EZNTFEGA.js → 6HCSXP5D.js} +2 -2
- package/dist/cdn/{QHAHXEMQ.js → 6HVOZTQR.js} +2 -2
- package/dist/cdn/{6TI4BSKG.js → 6NH3CCBF.js} +2 -2
- package/dist/cdn/{Z7MD7BKL.js → 6O2T6D6A.js} +2 -2
- package/dist/cdn/{YSV3QO3H.js → 6PHIYPSU.js} +2 -2
- package/dist/cdn/{OMCZXIWL.js → 6PLJ2FYW.js} +2 -2
- package/dist/cdn/{R6XPPHOQ.js → 6ULGEYFE.js} +2 -2
- package/dist/cdn/{AC5YT7WA.js → 6X7BRMEU.js} +2 -2
- package/dist/cdn/{X4VHVB4C.js → 6ZAJFBA6.js} +2 -2
- package/dist/cdn/{QJ4NHKTG.js → 72A27AFF.js} +2 -2
- package/dist/cdn/{XYWF4Z2A.js → 7542BUDO.js} +2 -2
- package/dist/cdn/{27WHYECD.js → 76DEPMZ5.js} +2 -2
- package/dist/cdn/{2YNRJKXV.js → 7FWIZG5Z.js} +2 -2
- package/dist/cdn/{REDZ6QSQ.js → 7WRVU2GG.js} +2 -2
- package/dist/cdn/{RT6D53BJ.js → A3TXUOZ4.js} +1 -1
- package/dist/cdn/{YOIQWSFM.js → AF7FDKVX.js} +2 -2
- package/dist/cdn/{MYQAATUS.js → AG6GYAFP.js} +2 -2
- package/dist/cdn/{VRUCAUKL.js → AJPSBMVC.js} +2 -2
- package/dist/cdn/{OM64KQVG.js → ANRBD6PG.js} +2 -2
- package/dist/cdn/{SC74N7WC.js → AOFFXP2O.js} +2 -2
- package/dist/cdn/{UWZ5PRLF.js → AQNIHDKY.js} +2 -2
- package/dist/cdn/{SM2RFOQL.js → AXUGVBHF.js} +2 -2
- package/dist/cdn/{M337MHA2.js → B2DSQZNG.js} +2 -2
- package/dist/cdn/{A6LDS2AL.js → B54PDB5Z.js} +2 -2
- package/dist/cdn/{LVZ6W2DK.js → BBL4ZXCQ.js} +2 -2
- package/dist/cdn/{FR2OOHQC.js → BDUW5TZD.js} +2 -2
- package/dist/cdn/{7SDHJN3W.js → BFXBQLJK.js} +2 -2
- package/dist/cdn/{76EUAJCU.js → BJBRFG23.js} +2 -2
- package/dist/cdn/{URLCQEP2.js → BM2CTLXF.js} +2 -2
- package/dist/cdn/{VEJRDQWY.js → BMCLDOUD.js} +2 -2
- package/dist/cdn/{GAB4N57H.js → BMVSAQBC.js} +2 -2
- package/dist/cdn/{YRTQMELV.js → BOK5NUWK.js} +2 -2
- package/dist/cdn/{4IPJCF5O.js → BXGDO7U6.js} +2 -2
- package/dist/cdn/{MK6PTR4B.js → BZPXB24X.js} +2 -2
- package/dist/cdn/{WKVJRAIW.js → C26S3PRR.js} +2 -2
- package/dist/cdn/{5OAY4L63.js → C27D5LN3.js} +2 -2
- package/dist/cdn/{PQSRS2TD.js → C4HKMYF3.js} +2 -2
- package/dist/cdn/{V7JDDIAW.js → C73VYQKJ.js} +2 -2
- package/dist/cdn/{523SKJFB.js → CB2M524H.js} +1 -1
- package/dist/cdn/{Y4FOKNUB.js → CD2Z74PV.js} +1 -1
- package/dist/cdn/{GDHF2IHA.js → CE3C7L3R.js} +2 -2
- package/dist/cdn/CNFHE7BS.js +18 -0
- package/dist/cdn/{WMMKMSAT.js → CQ65R2FU.js} +2 -2
- package/dist/cdn/{ULFQRGIA.js → CWNGOD6O.js} +2 -2
- package/dist/cdn/{MB5VDPUJ.js → DBWENNZO.js} +2 -2
- package/dist/cdn/{GMBYILKC.js → DJKGU6GF.js} +2 -2
- package/dist/cdn/{USRX7PXE.js → DP5H6AU6.js} +2 -2
- package/dist/cdn/{YLIL57TN.js → DR7W375Q.js} +2 -2
- package/dist/cdn/{CFS7DQQB.js → DRMGG47C.js} +2 -2
- package/dist/cdn/{IQBGVNAM.js → DSKCT7XX.js} +2 -2
- package/dist/cdn/{2WRYPRH5.js → DSTRDKGN.js} +2 -2
- package/dist/cdn/{KSHJQUUB.js → DTTA3SSA.js} +2 -2
- package/dist/cdn/{SOTZXMZJ.js → DYFGQ6AI.js} +2 -2
- package/dist/cdn/{DU3GNB3L.js → DZD6IVX3.js} +2 -2
- package/dist/cdn/{7O7IOC7I.js → E24TFZEV.js} +2 -2
- package/dist/cdn/{ULPXQE2M.js → E6VM5GOR.js} +2 -2
- package/dist/cdn/{AX6XUSNR.js → EGBZLRDM.js} +1 -1
- package/dist/cdn/{2M4NSKFA.js → EJJ6FMDK.js} +2 -2
- package/dist/cdn/{SB4TPQBH.js → EKKAECED.js} +2 -2
- package/dist/cdn/EOVOQSGB.js +4 -0
- package/dist/cdn/{L6VDN4BR.js → ETAK5KUX.js} +2 -2
- package/dist/cdn/{MD4KHRBV.js → EWFUOGQX.js} +2 -2
- package/dist/cdn/{R7NRTBMU.js → EXCU7FAE.js} +2 -2
- package/dist/cdn/{GB2YEZUP.js → EYB7XSNU.js} +1 -1
- package/dist/cdn/{5J7B2B6P.js → EYBDSN3O.js} +2 -2
- package/dist/cdn/{PI5IHIL6.js → EZGI72AV.js} +2 -2
- package/dist/cdn/{I4GIGKVQ.js → F2NI2IXH.js} +2 -2
- package/dist/cdn/{PDYVPW3V.js → F4H2XOM2.js} +2 -2
- package/dist/cdn/{SBWSDHAP.js → F6XWENXR.js} +2 -2
- package/dist/cdn/{GJ4D6Z5Z.js → FJ5KMDPD.js} +2 -2
- package/dist/cdn/{QRVU2Q5Y.js → FSYK6HM3.js} +2 -2
- package/dist/cdn/{OKJ5QJQW.js → FSZIWGYJ.js} +1 -1
- package/dist/cdn/{ISRWZK33.js → FZXSPOZS.js} +2 -2
- package/dist/cdn/{TLMOQIE6.js → G2ZDC4VQ.js} +2 -2
- package/dist/cdn/{TDNOIIHD.js → G4Y7NNVO.js} +1 -1
- package/dist/cdn/{ZPVAPLEI.js → GAQTA6GD.js} +2 -2
- package/dist/cdn/{3HACIUYM.js → GBPL4KQS.js} +1 -1
- package/dist/cdn/{G4FKFITO.js → GGUYX23F.js} +2 -2
- package/dist/cdn/{CV3NFXC3.js → GIC76A6P.js} +2 -2
- package/dist/cdn/{3QUFP3N2.js → GITSLGDH.js} +2 -2
- package/dist/cdn/{R4RFI3RX.js → GTFYWD6K.js} +2 -2
- package/dist/cdn/{IPTZYIBI.js → H34BRZJT.js} +2 -2
- package/dist/cdn/{OFUW7TNB.js → HA2CQHWG.js} +2 -2
- package/dist/cdn/{CPRTWWHF.js → HBJRA3VT.js} +2 -2
- package/dist/cdn/{YEHLRK4Y.js → HKRCU4W3.js} +1 -1
- package/dist/cdn/{3CRZDUY6.js → HNW4XU3G.js} +1 -1
- package/dist/cdn/{LQ4V6LDA.js → HO62DINJ.js} +2 -2
- package/dist/cdn/{5XJ5HEG6.js → HP4OTJNX.js} +2 -2
- package/dist/cdn/{IVBANGB5.js → HPTSWBMV.js} +2 -2
- package/dist/cdn/{G2BTWXLK.js → HUM5NVWR.js} +2 -2
- package/dist/cdn/{AK6AN5TC.js → HUPM3KUY.js} +2 -2
- package/dist/cdn/{SZF6Q7GY.js → HWMVPAK3.js} +1 -1
- package/dist/cdn/{IKHA6WXD.js → HYSWFFTS.js} +2 -2
- package/dist/cdn/{KMFVNIZD.js → I7B6E52N.js} +2 -2
- package/dist/cdn/{AETAC34J.js → IJW4VIF6.js} +2 -2
- package/dist/cdn/{Z46PZUWY.js → IKP2WHLC.js} +2 -2
- package/dist/cdn/{37FBDON5.js → IKQPJ7HH.js} +2 -2
- package/dist/cdn/{JTFLQ6FM.js → ILVYQG75.js} +2 -2
- package/dist/cdn/{ZXIT6MGR.js → J72AO3O5.js} +2 -2
- package/dist/cdn/{RVK2SXKF.js → JCL4GUN2.js} +2 -2
- package/dist/cdn/{AYBCEAHB.js → JFF5GUX5.js} +2 -2
- package/dist/cdn/{BQN2JJV7.js → JFRS4VIJ.js} +2 -2
- package/dist/cdn/{DYMOSY6I.js → JGZZZZNQ.js} +1 -1
- package/dist/cdn/{LCQO5SVO.js → JHTJPGCO.js} +2 -2
- package/dist/cdn/{ATR5Q3BG.js → JIHFXVKK.js} +2 -2
- package/dist/cdn/{55BBK4MZ.js → JUPTFUOY.js} +1 -1
- package/dist/cdn/{PKPZFPQH.js → JVGFQUPU.js} +2 -2
- package/dist/cdn/{AAZYI25M.js → JYI7HSND.js} +2 -2
- package/dist/cdn/{7T56NWVH.js → JZRND6DJ.js} +2 -2
- package/dist/cdn/{UBS6XZVF.js → K2A64AJY.js} +2 -2
- package/dist/cdn/{O5ONQRJ3.js → K7ZCGDMP.js} +2 -2
- package/dist/cdn/{BOTQZEVA.js → KDKQRUGV.js} +2 -2
- package/dist/cdn/{HOC33RME.js → KFCRRA7F.js} +2 -2
- package/dist/cdn/{SRB5Q4W2.js → KJDK64I4.js} +2 -2
- package/dist/cdn/{F3KQDXEP.js → KKZBLGAZ.js} +2 -2
- package/dist/cdn/{4GM7YKJI.js → KOT4QQK7.js} +2 -2
- package/dist/cdn/KQWBCDF3.js +4 -0
- package/dist/cdn/{UVZCEMNB.js → KT274563.js} +2 -2
- package/dist/cdn/{4QVP77YZ.js → KVKCURZR.js} +2 -2
- package/dist/cdn/{WH5L7GVA.js → KVYCPYT4.js} +2 -2
- package/dist/cdn/{LPQNWID4.js → KYMLJ3F5.js} +2 -2
- package/dist/cdn/{HVZ3XRED.js → L22H5MXZ.js} +1 -1
- package/dist/cdn/{JA66HQXL.js → LHAMRSSH.js} +2 -2
- package/dist/cdn/{LZXZOFNM.js → LJ6MM2LH.js} +2 -2
- package/dist/cdn/{MLMQ4VQR.js → LKTJBKGS.js} +2 -2
- package/dist/cdn/{3FCE2NVI.js → LLVXMJRE.js} +2 -2
- package/dist/cdn/{VKPPPT6O.js → LMOPOQVC.js} +2 -2
- package/dist/cdn/{UVTLLCIK.js → LOWPGRBM.js} +1 -1
- package/dist/cdn/{G2SOT66E.js → LQKSTVYS.js} +2 -2
- package/dist/cdn/{AYEX34WW.js → LRAFDTRN.js} +2 -2
- package/dist/cdn/{2MNJMVJE.js → LRHDJMA4.js} +2 -2
- package/dist/cdn/{5HOQQB3R.js → M4ZMT3GL.js} +2 -2
- package/dist/cdn/{P6NRS7E3.js → M7XSDLV5.js} +2 -2
- package/dist/cdn/{3IGKFZFV.js → MC7DNHNU.js} +2 -2
- package/dist/cdn/{ROVD5N6O.js → MGCPDP7J.js} +2 -2
- package/dist/cdn/{2AHYOBYP.js → MH5VX6AY.js} +2 -2
- package/dist/cdn/{E3B7QQBW.js → MHWX3HRT.js} +1 -1
- package/dist/cdn/{VYCY4P7L.js → MIIRZTEX.js} +2 -2
- package/dist/cdn/{KC5WLSUX.js → MJCJAFTO.js} +2 -2
- package/dist/cdn/{R5LMYRNG.js → MKIJJDTQ.js} +2 -2
- package/dist/cdn/{IJRSY2UD.js → MVWPTPME.js} +2 -2
- package/dist/cdn/{MEUDW73G.js → MXDTDUNL.js} +2 -2
- package/dist/cdn/{OKTZ3TMP.js → N2W4KKO3.js} +2 -2
- package/dist/cdn/{JM3HVV64.js → N7M3WPAA.js} +2 -2
- package/dist/cdn/{VOIVWRDM.js → N7VLQBAU.js} +2 -2
- package/dist/cdn/{N3XAVFW3.js → NBDFFPCF.js} +1 -1
- package/dist/cdn/{CFEG4JP4.js → NGW2D4B7.js} +2 -2
- package/dist/cdn/{HX4XFUVJ.js → NOXF3KIN.js} +2 -2
- package/dist/cdn/{WWZLNEEN.js → NYHDZRED.js} +2 -2
- package/dist/cdn/{YYA7EUOE.js → O4ZHNTVR.js} +2 -2
- package/dist/cdn/{4JXGBBIE.js → O57WNQKN.js} +1 -1
- package/dist/cdn/{OKENUHFF.js → OABISKTH.js} +2 -2
- package/dist/cdn/{2MGF4A5R.js → OD52NBEE.js} +2 -2
- package/dist/cdn/{K26NORBN.js → OG2QO65R.js} +1 -1
- package/dist/cdn/{YOWUIORL.js → OH74GNOX.js} +2 -2
- package/dist/cdn/{7P7SZPQA.js → OQPBJDKU.js} +2 -2
- package/dist/cdn/{4QKPOAU4.js → OUJ7HLKY.js} +2 -2
- package/dist/cdn/{6NDQZEMR.js → P4AJ6PQC.js} +2 -2
- package/dist/cdn/{YO7I6V7B.js → P5EMX3K3.js} +2 -2
- package/dist/cdn/{BFVXA226.js → P6YH2464.js} +2 -2
- package/dist/cdn/{VUQYMXKQ.js → PCOEOT7J.js} +2 -2
- package/dist/cdn/{WVWWDLM5.js → PGKUR4WY.js} +2 -2
- package/dist/cdn/{N2PIHESP.js → PQ3T3ICE.js} +1 -1
- package/dist/cdn/{K52SI4CM.js → PRZV4O3M.js} +2 -2
- package/dist/cdn/{UTPM2FET.js → PSTZGLQY.js} +2 -2
- package/dist/cdn/{HAPWTE6C.js → PVFGUXZQ.js} +2 -2
- package/dist/cdn/{LUK5HK57.js → PYCIIXAT.js} +2 -2
- package/dist/cdn/{F37MGVWZ.js → PZCGP7VV.js} +2 -2
- package/dist/cdn/{527QXG4G.js → Q3EL3SKK.js} +2 -2
- package/dist/cdn/{I357I2R4.js → QANDE5GX.js} +1 -1
- package/dist/cdn/{FH4XD4I5.js → QEHMVIZA.js} +2 -2
- package/dist/cdn/{ZWPUKGQK.js → QESTTPNW.js} +1 -1
- package/dist/cdn/{SXSON5KZ.js → QHXATMTW.js} +2 -2
- package/dist/cdn/{GLPPDXDW.js → QJU2CXDM.js} +2 -2
- package/dist/cdn/{UEZX7JOR.js → QJVJVRC5.js} +2 -2
- package/dist/cdn/{E2H7RG4A.js → QPQFHPU6.js} +2 -2
- package/dist/cdn/{74UACFHN.js → QRBPOHQZ.js} +1 -1
- package/dist/cdn/{53LZJUIL.js → QRY235DW.js} +2 -2
- package/dist/cdn/{S3BH44GF.js → QVC6WY2U.js} +1 -1
- package/dist/cdn/{EVKIWMYF.js → QWO6PGTX.js} +2 -2
- package/dist/cdn/{JHUOBC6K.js → QXM5FILZ.js} +1 -1
- package/dist/cdn/{R7QTSY5B.js → QYCHT4CB.js} +2 -2
- package/dist/cdn/{NF4KQQJJ.js → R4IS4Q4Q.js} +2 -2
- package/dist/cdn/{GKUA4PAK.js → R5IRUI3P.js} +2 -2
- package/dist/cdn/{WVBVIUU4.js → RBBBKVTL.js} +2 -2
- package/dist/cdn/{GYX5FTX4.js → RDUFBDLJ.js} +1 -1
- package/dist/cdn/{F345OUBZ.js → RFB43MAS.js} +2 -2
- package/dist/cdn/{I7UJ2IWI.js → RIMQH6RB.js} +2 -2
- package/dist/cdn/{3CRE5ZKC.js → RKLYOTRA.js} +2 -2
- package/dist/cdn/{ES5S2UDD.js → RMQ5YGFV.js} +2 -2
- package/dist/cdn/{4KR6KWYX.js → RPLKUULS.js} +2 -2
- package/dist/cdn/{3RWVAL2E.js → RTYGNX7B.js} +2 -2
- package/dist/cdn/{P2TPKPUG.js → RV4AOYNF.js} +2 -2
- package/dist/cdn/{ZKGNCJQH.js → RXBIVFHO.js} +2 -2
- package/dist/cdn/{L54NGFZP.js → S3XK2NOE.js} +2 -2
- package/dist/cdn/{JVXXUNYM.js → SAGIFLGH.js} +2 -2
- package/dist/cdn/SINUDLTL.js +4 -0
- package/dist/cdn/{56PTRRFQ.js → SNYTROMC.js} +2 -2
- package/dist/cdn/{OBJ56AE6.js → SRAOUBKB.js} +1 -1
- package/dist/cdn/{PQREORNU.js → SVJHSHJO.js} +2 -2
- package/dist/cdn/{SZT3OYE2.js → SVOPWKZ7.js} +2 -2
- package/dist/cdn/{BTCA7G24.js → SWTVJXVH.js} +1 -1
- package/dist/cdn/{EV3CYQA4.js → SYBEF6K4.js} +2 -2
- package/dist/cdn/SZEBDGPL.js +4 -0
- package/dist/cdn/{JUDYBLOA.js → T2SHWUJU.js} +2 -2
- package/dist/cdn/{PTQF6DSX.js → T7R6C644.js} +2 -2
- package/dist/cdn/{LRPIIC5T.js → TBGXCN4Y.js} +2 -2
- package/dist/cdn/TFYPM4OA.js +4 -0
- package/dist/cdn/{A4TY7MDM.js → TJISIJHC.js} +2 -2
- package/dist/cdn/{VXG7NONJ.js → TLRNKE62.js} +2 -2
- package/dist/cdn/{SPFSGSRN.js → TTRJ5CWU.js} +2 -2
- package/dist/cdn/{QT77NFZK.js → TU3CSFJD.js} +2 -2
- package/dist/cdn/TW3W5D5Z.js +4 -0
- package/dist/cdn/TXOHDU2X.js +18 -0
- package/dist/cdn/{J2KHFI43.js → TZX3DJRS.js} +2 -2
- package/dist/cdn/{DFEUABII.js → U65IWACU.js} +2 -2
- package/dist/cdn/{HTU3LFRO.js → U6E4MGA2.js} +2 -2
- package/dist/cdn/{2RV4X73I.js → U6QU5AWC.js} +2 -2
- package/dist/cdn/{QXHAETVQ.js → U7G6QCWK.js} +2 -2
- package/dist/cdn/{APIZ5OWS.js → UBEYAABT.js} +2 -2
- package/dist/cdn/{RYSF752P.js → UBM654NG.js} +2 -2
- package/dist/cdn/{PKOKBAMD.js → UCKLWKND.js} +2 -2
- package/dist/cdn/{PQSW6BF7.js → UEE7MT2U.js} +2 -2
- package/dist/cdn/{DVW4QC2C.js → UG5AARWL.js} +2 -2
- package/dist/cdn/{7KXIWFEC.js → UKCG2GCK.js} +2 -2
- package/dist/cdn/{HSWSKCTC.js → UNYPWENM.js} +2 -2
- package/dist/cdn/{AGK3E722.js → UOGJGCZD.js} +2 -2
- package/dist/cdn/{HR5L3HVV.js → UPWMPL5L.js} +2 -2
- package/dist/cdn/{OK4WDYAP.js → UV7ZLM4H.js} +1 -1
- package/dist/cdn/{SGVCSGWO.js → UYM5IUGW.js} +2 -2
- package/dist/cdn/{G2C6MUXE.js → UYXL2VZ3.js} +2 -2
- package/dist/cdn/{QOY4MM5R.js → VA6FV427.js} +2 -2
- package/dist/cdn/{CVIIKKXY.js → VD5E2IZ5.js} +2 -2
- package/dist/cdn/{R3MUXFAO.js → VHRWYTD2.js} +2 -2
- package/dist/cdn/{6XFTSG2D.js → VISRN5TF.js} +1 -1
- package/dist/cdn/{AFKWK7ZA.js → VQCKHS53.js} +1 -1
- package/dist/cdn/{N7PVAHUR.js → VWJBKQOG.js} +2 -2
- package/dist/cdn/{2G4H5CSL.js → VYTM5YU5.js} +2 -2
- package/dist/cdn/{UWZDJ6EW.js → W4ZT6LNS.js} +2 -2
- package/dist/cdn/{RDL7OULD.js → WFMWOZHV.js} +1 -1
- package/dist/cdn/{TF6ZCLXZ.js → WG27ANNL.js} +2 -2
- package/dist/cdn/{R7RFAHWZ.js → WG45HABN.js} +2 -2
- package/dist/cdn/{AEW3EFZ7.js → WIBJDSCB.js} +2 -2
- package/dist/cdn/{TINZEYFQ.js → WJE2COKA.js} +2 -2
- package/dist/cdn/{MPS43NDD.js → X5WCK4PL.js} +2 -2
- package/dist/cdn/{UI4SNHX7.js → X6EKAG3F.js} +2 -2
- package/dist/cdn/{43KSEPT3.js → XILH5SAW.js} +2 -2
- package/dist/cdn/{5BCUPB5J.js → XPTUWU57.js} +2 -2
- package/dist/cdn/{SUK2S3RM.js → XW65OD5F.js} +1 -1
- package/dist/cdn/{RQGS5KBZ.js → Y2TV3JE6.js} +2 -2
- package/dist/cdn/{ABPLKNKX.js → YBKY3MCJ.js} +2 -2
- package/dist/cdn/{UO4T5JS2.js → YEAPMC5O.js} +1 -1
- package/dist/cdn/{NS762XL2.js → YJAZPAWN.js} +2 -2
- package/dist/cdn/{4TH6CY6F.js → YMZL25P6.js} +2 -2
- package/dist/cdn/YMZWPY25.js +4 -0
- package/dist/cdn/{YAU77COA.js → YRBRJ6IE.js} +2 -2
- package/dist/cdn/{Q7ZS4RQU.js → YT7ZIYXB.js} +2 -2
- package/dist/cdn/{RAGB7UC7.js → YV2CCNLP.js} +2 -2
- package/dist/cdn/{KGFHUAZZ.js → ZEGVRJQ4.js} +2 -2
- package/dist/cdn/{JJAE7ZS4.js → ZGMAK57M.js} +1 -1
- package/dist/cdn/{6JVBYKRU.js → ZIHEWLDS.js} +2 -2
- package/dist/cdn/{3X42PMYP.js → ZNGYXE52.js} +1 -1
- package/dist/cdn/{Z22K45I7.js → ZRKEB46V.js} +2 -2
- package/dist/cdn/{644ETNKE.js → ZT2STLII.js} +2 -2
- package/dist/cdn/{QDHKVPFF.js → ZVRKMDOD.js} +4 -4
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.d.ts +1 -3
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.d.ts +1 -3
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.d.ts +3 -0
- package/dist/components/solutions-all-shell/customElement.js +42 -24
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.d.ts +3 -0
- package/dist/components/solutions-deployed-shell/customElement.js +42 -24
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +34 -2
- package/dist/docs/docs.json +46 -2
- package/dist/docs/web-types.json +11 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +1 -1
- package/dist/cdn/25PBMVRL.js +0 -4
- package/dist/cdn/ALAI2UME.js +0 -4
- package/dist/cdn/BOCGYKIY.js +0 -4
- package/dist/cdn/IFEKFBRW.js +0 -4
- package/dist/cdn/JS6ECQR6.js +0 -4
- package/dist/cdn/JT54LDTB.js +0 -4
- package/dist/cdn/LFOHBXXS.js +0 -18
- package/dist/cdn/NKXVREJS.js +0 -18
- package/dist/cdn/OMJP34RJ.js +0 -4
- package/dist/cdn/PTYDWVII.js +0 -4
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as G}from"./5BCUPB5J.js";import{a as L}from"./RVK2SXKF.js";import{c as K,d as _,e as U}from"./HX4XFUVJ.js";import"./RLGCYEFH.js";import{l as j,p as P}from"./MPS43NDD.js";import"./UIPTLMNI.js";import"./4JXGBBIE.js";import"./VRUCAUKL.js";import"./JJAE7ZS4.js";import{a as S}from"./6XFTSG2D.js";import"./SZF6Q7GY.js";import"./2YNRJKXV.js";import"./SGVCSGWO.js";import"./WKVJRAIW.js";import{w}from"./VEJRDQWY.js";import"./HVZ3XRED.js";import"./AX6XUSNR.js";import"./M337MHA2.js";import"./Y4FOKNUB.js";import"./DYMOSY6I.js";import{b as A}from"./LD47RQ5P.js";import{a as c,b as p}from"./GB2YEZUP.js";import"./BTCA7G24.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as G}from"./XPTUWU57.js";import{a as L}from"./JCL4GUN2.js";import{c as K,d as _,e as U}from"./NOXF3KIN.js";import"./2J6B6MYD.js";import{l as j,p as P}from"./X5WCK4PL.js";import"./3LO343UW.js";import"./O57WNQKN.js";import"./AJPSBMVC.js";import"./ZGMAK57M.js";import{a as S}from"./VISRN5TF.js";import"./HWMVPAK3.js";import"./7FWIZG5Z.js";import"./UYM5IUGW.js";import"./C26S3PRR.js";import{w}from"./BMCLDOUD.js";import"./L22H5MXZ.js";import"./EGBZLRDM.js";import"./B2DSQZNG.js";import"./CD2Z74PV.js";import"./JGZZZZNQ.js";import{b as A}from"./2SKQ276W.js";import{a as c,b as p}from"./EYB7XSNU.js";import"./SWTVJXVH.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as F}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as F}from"./3JQ57R5L.js";import{a as Y}from"./XPTUWU57.js";import{a as w}from"./LRHDJMA4.js";import{a as J}from"./JCL4GUN2.js";import{a as W,b as H}from"./SVJHSHJO.js";import{b as h,c as E}from"./NOXF3KIN.js";import"./2J6B6MYD.js";import{d as N,g as B,h as V,i as X}from"./BXGDO7U6.js";import{m as u,p as T}from"./X5WCK4PL.js";import"./3LO343UW.js";import"./XW65OD5F.js";import{b as S,d as C,f as R}from"./PQ3T3ICE.js";import"./O57WNQKN.js";import{i as j}from"./AJPSBMVC.js";import"./ZGMAK57M.js";import{a as m,c as M,e as P,i as l}from"./VISRN5TF.js";import"./HWMVPAK3.js";import"./7FWIZG5Z.js";import"./UYM5IUGW.js";import{a as A,b as O}from"./C26S3PRR.js";import{s as L}from"./BMCLDOUD.js";import"./L22H5MXZ.js";import"./EGBZLRDM.js";import{a as f}from"./B2DSQZNG.js";import"./CD2Z74PV.js";import"./JGZZZZNQ.js";import{b as g}from"./NBDFFPCF.js";import"./SWTVJXVH.js";function z(e,o=!1){let{id:i,properties:r}=e,t=r?.slug;return t?S(o?R(t,i):t):i}var y;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(y||(y={}));var d;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(d||(d={}));function G(e,o){var i;let r=e._slug;delete e._slug;let t=m(e);return t.orgUrlKey=e.orgUrlKey?e.orgUrlKey:o.urlKey||"",t.extent=(i=e.location)===null||i===void 0?void 0:i.extent,r?t.slug=C(r,t.orgUrlKey):t.slug="",t}function Q(e,o){let i=Object.assign(Object.assign({},o),e),r=Object.keys(o);return Object.keys(i).reduce((n,s)=>(r.includes(s)||n.push(s),n),[]).forEach(n=>{delete i[n]}),i}function Z(e,o){let i;return o.authentication&&(i=o.authentication.token),{self:j(e.id,o),siteRelative:T(e.type,z(e),e.typeKeywords),siteRelativeEntityType:T(e.type),workspaceRelative:J(e.type,e.id),thumbnail:u(e,o,i)}}var I="Hub Project",q={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:g.notStarted,tags:[],typeKeywords:[I],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:A},ee={item:{type:I,title:"",description:"",snippet:"",tags:[],typeKeywords:[I],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:g.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function te(e,o){return Z(e,o)}function K(e,o,i){var r,t;let n;return i.authentication&&(n=i.authentication.token),o=H(e.item,o),o.thumbnailUrl=u(e.item,i,n),o.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(r=e.data.view)===null||r===void 0?void 0:r.featuredImageUrl}),o.catalog=Y(o.catalog||{}),o.features=Q(((t=e.data.settings)===null||t===void 0?void 0:t.features)||{},O),o.links=te(e.item,i),o}function b(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},o,i){let{value:r,valueType:t,dynamicMetric:n}=e,s=F(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:p,statistic:_,serviceUrl:oe,fieldType:se,sourceLink:x,sourceTitle:k,allowExpressionSet:D,expressionSet:$,legacyWhere:U}=n||{},{entityInfo:ne,metricName:ae}=i||{},ce={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:p,statistic:_,where:U||pe(D?$:[])}:{type:"static-value",value:r,valueType:t},name:ae||o,entityInfo:ne||{id:void 0,name:void 0,type:void 0},id:o};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||d.hidden,metricId:o,fieldType:se,itemId:c,expressionSet:$,allowExpressionSet:D,statistic:_,sourceLink:e.type==="dynamic"&&x?x:s.sourceLink,sourceTitle:e.type==="dynamic"&&k?k:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:ce,displayConfig:me}}function pe(e=[]){let o=e.map(i=>{let{field:r,values:t,relationship:n}=i,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!t||!t.length||!r||!r.name)return!1;let a;switch(r.type){case"esriFieldTypeString":a=n===y.LIKE?`${r.name} like '%${t[0]}%'`:`(${r.name} IN (${t.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof t[0]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00'`),typeof t[1]=="string"&&(a=`${r.name} <= timestamp '${s(t[1])} 23:59:59'`),typeof t[0]=="string"&&typeof t[1]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00' AND ${r.name} <= timestamp '${s(t[1])} 23:59:59'`);break;default:l(t[0])||(a=`(${r.name}) >= ${t[0]}`),l(t[1])||(a=`(${r.name}) <= ${t[1]}`),!l(t[0])&&!l(t[1])&&(a=`(${r.name}) >= ${t[0]} AND (${r.name}) <= ${t[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(o)}function v(e,o){let i=e.filter(r=>!r.startsWith("status|"));return i.push(`status|${o}`),i}function re(e,o,i){let r=m(e),t=o.id,n=f(r,"metrics",[]),s=n.findIndex(p=>p.id===t),a=f(r,"view.metricDisplays",[]),c=a.findIndex(p=>p.metricId===t);return s>-1?n[s]=o:n.push(o),c>-1?a[c]=i:a.push(i),r.view.metricDisplays=a,r.metrics=n,r}async function ct(e,o){let i=Object.assign(Object.assign({},q),e);i.slug||(i.slug=N(i.name,i.orgUrlKey)),await w(i,o),i.typeKeywords=v(i.typeKeywords,i.status),i.typeKeywords=h(i.typeKeywords,i.isDiscussable);let r=new E(b()),t=r.entityToStore(i,m(ee));t=await V(t,o);let n=r.storeToEntity(t,{});return n=K(t,n,o),n}function mt(e,o){var i;let r=e._metric;delete e._groups,delete e._thumbnail,(i=e.view)===null||i===void 0||delete i.featuredImage,delete e._metric,delete e._groups;let t=G(e,o);if(r&&Object.keys(r).length){let n=r.metricId||M(P(`${r.cardTitle}_`)),{metric:s,displayConfig:a}=ie(r,n,{metricName:r.cardTitle});t=re(t,s,a)}return t}async function pt(e,o){await w(e,o),e.typeKeywords=v(e.typeKeywords,e.status),e.typeKeywords=h(e.typeKeywords,e.isDiscussable);let i=await B(e.id,o),r=new E(b()),t=r.entityToStore(e,i),n=await X(t,o),s=r.storeToEntity(n,e);return s=K(i,s,o),s}async function lt(e,o){let i=Object.assign(Object.assign({},o),{id:e});await L(i)}export{ct as createProject,lt as deleteProject,mt as editorToProject,pt as updateProject};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as e,b as i,c as l,d as s,e as t}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as e,b as i,c as l,d as s,e as t}from"./QYCHT4CB.js";import{a as r}from"./JFRS4VIJ.js";import"./OABISKTH.js";import"./JGZZZZNQ.js";import"./WJE2COKA.js";import"./PZCGP7VV.js";import"./LHAMRSSH.js";import"./WG27ANNL.js";import"./F2NI2IXH.js";import"./UYXL2VZ3.js";import"./AXUGVBHF.js";import"./2SKQ276W.js";import"./VWJBKQOG.js";import"./EYB7XSNU.js";import"./LOWPGRBM.js";import"./2GZOS2KK.js";import"./EZGI72AV.js";import"./GGUYX23F.js";import"./GBPL4KQS.js";import"./BOK5NUWK.js";import"./SAGIFLGH.js";import"./UKCG2GCK.js";import"./NBDFFPCF.js";import"./VQCKHS53.js";import"./SWTVJXVH.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{s as c}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{s as c}from"./G4Y7NNVO.js";import{b as r}from"./Q3EL3SKK.js";import{h as a,i as p,y as i}from"./QXM5FILZ.js";import"./SWTVJXVH.js";var d=a`:host{display:block}`,m="floating",h="instant-apps-control-panel",x="border-bottom: 1px solid var(--calcite-color-border-3)",s=class extends i{constructor(){super(...arguments),this.components=[]}static{this.properties={components:0,view:0}}static{this.styles=d}async load(){await this._handleComponents()}async _handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(o,e)=>{let n=o.content;o.isExpand&&(n=await this._getExpand(o),o.expandIcon&&(n.expandIcon=o.expandIcon),o.collapseTooltip&&(n.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(n.expandTooltip=o.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),e!==this.components.length-1&&(n.container.style=x)}}async _getExpand(t){let{view:o}=this,{content:e,focusTrapDisabled:n}=t,l=t?.expanded??!1;return await c({content:e,view:o,expanded:l,mode:m,group:h,focusTrapDisabled:!!n})}_getComponentsNode(){return this.el.querySelector('[slot="components"]')}_resetUI(t){if(t.children.length>0)for(;t.firstChild;)t.removeChild(t.firstChild)}render(){return p`<slot name=components></slot>`}};r("instant-apps-control-panel",s);export{s as InstantAppsControlPanel};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as c}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{b as c}from"./EGBZLRDM.js";import{a as b}from"./B2DSQZNG.js";import{a as u}from"./CD2Z74PV.js";function a(t,e,r,s,n,l){let i={[n]:{targetEntity:n,filters:r}};return{schemaVersion:1,title:l||`{{${t}catalog.${e}:translate}}`,scopes:i,collections:s}}function f(t){return t&&t.slice(-1)!=="."?`${t}.`:t}function U(t,e,r,s){switch(r){case"item":return k(t,e,s);case"group":return E(t,e,s);case"event":return y(t,e,s);default:throw new Error(`Wellknown catalog not implemented for "${r}"`)}}function d(t,e){if(!e||!e.user)throw new Error(`User needed to get "${t}" catalog`)}function k(t,e,r){t=f(t);let s,n=u(r,"filters")||[],l=u(r,"context"),i=h(t,"item",r?.collectionNames);switch(e){case"myContent":d(e,r),s=a(t,e,[{predicates:[{owner:r.user.username}]},...n],i,"item");break;case"favorites":d(e,r),s=a(t,e,[{predicates:[{group:r.user.favGroupId}]},...n],i,"item");break;case"organization":d(e,r),s=a(t,e,[{predicates:[{orgid:r.user.orgId}]},...n],i,"item");break;case"partners":let o=l.trustedOrgIds.filter(p=>p!==l.currentUser.orgId&&p!==m(l));o.length&&(s=a(t,e,[{predicates:[{orgid:o,searchUserAccess:"includeTrustedOrgs"}]},...n],i,"item"));break;case"community":let g=m(l);g&&(s=a(t,e,[{predicates:[{orgid:g}]},...n],i,"item",l.isCommunityOrg?v(g,l):void 0));break;case"livingAtlas":d(e,r),s=a(t,e,[{predicates:[{owner:"Esri_LivingAtlas"}]}],i,"item");break;case"world":s=a(t,e,[{predicates:[{type:{not:["code attachment"]}}]},...n],i,"item");break}return s}function m(t){let e=t.trustedOrgs.find(r=>r.from.orgId===t.currentUser.orgId);return t.isCommunityOrg&&e?e.to.orgId:t.communityOrgId}function v(t,e){return e.trustedOrgs.find(s=>s.to.orgId===t).to.name}function E(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{targetEntity:"group",key:e,label:e,scope:{targetEntity:"group",filters:[{predicates:[{q:"*"}]}]}}],o=b(n,"currentUser.groups",[]).reduce((g,p)=>(p.userMembership.memberType==="admin"&&g.push(p.id),g),[]);switch(e){case"editGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:["updateitemcontrol"]}]},...l],i,"group");break;case"viewGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:{not:["updateitemcontrol"]}}]},...l],i,"group");break;case"allGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:[""]}]},...l],i,"group");break;case"myGroups":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.username")}]},...l],i,"group");break;case"orgGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"currentUser.orgId"),id:o}]},...l],i,"group");break;case"communityGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"communityOrgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"communityOrgId"),id:o}]},...l],i,"group");break;case"publicGroups":s=a(t,e,[{predicates:[{access:"public"}]},...l],i,"group");break}return s}function y(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{key:e,label:e,targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}];switch(e){case"myEvents":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.id")}]},...l],i,"event");break;case"orgEvents":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId")}]},...l],i,"event");break;case"worldEvents":s=a(t,e,[{predicates:[{access:["public","private","org"]}]},...l],i,"event");break}return s}function w(t,e){return{appAndMap:{key:"appAndMap",label:`{{${t}collection.appsAndMaps:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:[...c("app"),...c("map")]}]}]}},dataset:{key:"dataset",label:`{{${t}collection.dataset:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("dataset")}]}]}},document:{key:"document",label:`{{${t}collection.documents:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("document")}]}]}},feedback:{key:"feedback",label:`{{${t}collection.feedback:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("feedback")}]}]}},site:{key:"site",label:`{{${t}collection.sites:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("site")}]}]}},template:{key:"template",label:`{{${t}collection.templates:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("template")}]}]}},project:{key:"project",label:`{{${t}collection.projects:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("project")}]}]}},initiative:{key:"initiative",label:`{{${t}collection.initiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}},projectAndInitiative:{key:"projectAndInitiative",label:`{{${t}collection.projectsAndInitiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{operation:"OR",predicates:[{type:c("project")},{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}}}}function O(){return["appAndMap","dataset","document","feedback","site","project"]}function h(t,e,r){t=f(t);let s=w(t,e),n=O();return(r?.length?r:n).reduce((i,o)=>(s[o]&&i.push(s[o]),i),[])}export{U as a};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import e from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import e from"./IKP2WHLC.js";import{b as x}from"./C73VYQKJ.js";import b from"./7542BUDO.js";import{b as n,c as C,e as v}from"./FJ5KMDPD.js";import"./ZIHEWLDS.js";import"./ZNGYXE52.js";import"./XPTUWU57.js";import"./BXGDO7U6.js";import"./X5WCK4PL.js";import"./3LO343UW.js";import"./XW65OD5F.js";import"./PQ3T3ICE.js";import"./AJPSBMVC.js";import"./ZGMAK57M.js";import"./VISRN5TF.js";import"./HWMVPAK3.js";import"./UYM5IUGW.js";import"./C26S3PRR.js";import"./BMCLDOUD.js";import"./L22H5MXZ.js";import"./EGBZLRDM.js";import"./B2DSQZNG.js";import"./CD2Z74PV.js";import"./JGZZZZNQ.js";import{k as y,l as w,m as f,p as l}from"./QRBPOHQZ.js";import{a as m}from"./LKTJBKGS.js";import"./W4ZT6LNS.js";import"./VD5E2IZ5.js";import{b as g}from"./BMVSAQBC.js";import{A as a,h as d,i as s,j as c,k as o,n as p,x as u,y as _}from"./QXM5FILZ.js";import"./SWTVJXVH.js";export default $arcgis.t(([,{a:i,b:S}])=>{var D=d`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as s}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as s}from"./UKCG2GCK.js";var t=["hub:discussion:edit","hub:discussion:create","hub:discussion:settings","hub:discussion:settings:discussions"],i=Object.assign(Object.assign({},s),{required:["name"],properties:Object.assign(Object.assign({},s.properties),{prompt:{type:"string",default:"",maxLength:150},discussionSettings:{type:"object",properties:{allowedChannelIds:{type:"array",items:{type:"string"}},allowedLocations:{type:"array",items:{type:"object"}}}}})});export{t as a,i as b};
|
@@ -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.20250805 */
|
4
|
+
import{a,b}from"./WG27ANNL.js";import"./VQCKHS53.js";import"./SWTVJXVH.js";export{a as GroupEditorTypes,b as GroupSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a,b}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a,b}from"./SAGIFLGH.js";import"./UKCG2GCK.js";import"./NBDFFPCF.js";import"./VQCKHS53.js";import"./SWTVJXVH.js";export{a as DiscussionEditorTypes,b as DiscussionSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
3
|
+
v1.1.0-next.20250805 */
|
4
4
|
var e="WNufTOT96eMYwAik",a="https://www.arcgis.com",s="8f741b82179543fe884bed012dd5f049",d="1d3a7ed66deb47269beea05ff9afd4c1";export{e as a,a as b,s as c,d};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as i}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as i}from"./NOXF3KIN.js";import{o as r}from"./X5WCK4PL.js";var a={location:"location.json"};function y(){let o=["access","created","culture","description","extent","id","itemControl","modified","owner","tags","categories","type","typeKeywords","thumbnail","url","orgId"],t=["display","geometry","view","associations","catalogs","assistant"],n=Object.keys(a),e=[];return o.forEach(s=>{e.push({entityKey:s,storeKey:`item.${s}`})}),t.forEach(s=>{e.push({entityKey:s,storeKey:`data.${s}`})}),n.forEach(s=>{e.push({entityKey:s,storeKey:`resources.${s}`})}),e.push({entityKey:"slug",storeKey:"item.properties.slug"}),e.push({entityKey:"summary",storeKey:"item.snippet"}),e.push({entityKey:"schemaVersion",storeKey:"item.properties.schemaVersion"}),e.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),e.push({entityKey:"name",storeKey:"item.title"}),e.push({entityKey:"boundary",storeKey:"item.properties.boundary"}),e.push({entityKey:"discussionSettings",storeKey:"entitySettings.settings.discussions"}),e.push({entityKey:"entitySettingsId",storeKey:"entitySettings.id"}),e}function K(o,t){return t.createdDate=new Date(o.created),t.createdDateSource="item.created",t.updatedDate=new Date(o.modified),t.updatedDateSource="item.modified",t.location=t.location||r(o),t.isDiscussable=i(o),t}export{y as a,K as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import"./SWTVJXVH.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
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
3
|
+
v1.1.0-next.20250805 */
|
4
4
|
var g=Object.create;var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var n=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),o=(a,b)=>{for(var c in b)e(a,c,{get:b[c],enumerable:!0})},l=(a,b,c,f)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of i(b))!k.call(a,d)&&d!==c&&e(a,d,{get:()=>b[d],enumerable:!(f=h(b,d))||f.enumerable});return a};var p=(a,b,c)=>(c=a!=null?g(j(a)):{},l(b||!a||!a.__esModule?e(c,"default",{value:a,enumerable:!0}):c,a));export{m as a,n as b,o as c,p as d};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import c from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import c from"./HYSWFFTS.js";import{a as x}from"./JHTJPGCO.js";import a from"./H34BRZJT.js";import{a as F}from"./UEE7MT2U.js";import{a as D}from"./X6EKAG3F.js";import{E as R,h as N,i as L}from"./G4Y7NNVO.js";import{b as E}from"./Q3EL3SKK.js";import"./W4ZT6LNS.js";import"./VD5E2IZ5.js";import{A as H,h as I,i as b,x as g,y as $}from"./QXM5FILZ.js";import"./SWTVJXVH.js";export default $arcgis.t(([,{a:m}])=>{var k=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),T=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),P=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function U(u,e){return e===null?k.get("HH")[u]:k.get(e)?.[u]??null}function B(u,e){return e===null?u:T.get(e)?.[u]??u}function O(u,e){return e===null?O(u,"HH"):P.get(e)?.[u]??null}var G=I`:host{display:block}:host .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark :host .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}`,S="svg g:first-of-type",J="svg g:last-of-type",d="esri-interactive-legend--selected-cell",V="esri-interactive-legend--instructional-text",M=2,j=3,K=4,Q=Object.freeze({0:"L",1:"H"}),W=Object.freeze({0:"L",1:"M",2:"H"}),X=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},C=class extends ${constructor(){super(),this._messages=D({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=G}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await R();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(S);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(d)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",V),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(J);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(S);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(d)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?U(e,t):s===3?B(e,t):s===4?O(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===M?this.twoClassAttributes(a,t,s):i===j?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case M:return Q;case j:return W;case K:return X;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let h=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:h,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await N({filter:await L({where:h,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,h=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,q)=>{let v=[];h.forEach((Y,_)=>{let z=[r[q],h[_]];v.push(z)}),n.push(v)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(d)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(d)):(e.classList.add(d),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
|
5
5
|
rect:hover {
|
6
6
|
cursor: pointer;
|
7
7
|
opacity: 0.8;
|
@@ -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.20250805 */
|
4
|
+
import{a,b}from"./AXUGVBHF.js";import"./2SKQ276W.js";import"./VWJBKQOG.js";import"./EYB7XSNU.js";import"./VQCKHS53.js";import"./SWTVJXVH.js";export{a as EventEditorTypes,b as buildSchema};
|