@esri/solutions-components 1.1.0-next.20250804 → 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/{LZQ4FPMV.js → 2GZOS2KK.js} +2 -2
- package/dist/cdn/{JJ273SNZ.js → 2HD2VSDE.js} +2 -2
- package/dist/cdn/{2IUUDF7W.js → 2J6B6MYD.js} +1 -1
- package/dist/cdn/{FM2YTGSH.js → 2RDZT3HY.js} +2 -2
- package/dist/cdn/{SUFBRQSQ.js → 2SKQ276W.js} +1 -1
- package/dist/cdn/{A67IKYHW.js → 2WV6FKR2.js} +2 -2
- package/dist/cdn/{TVE3SWML.js → 2ZLOSH7Y.js} +2 -2
- package/dist/cdn/{NJG24YVB.js → 33BJEK5G.js} +2 -2
- package/dist/cdn/{VYDO327K.js → 3I2OPOC3.js} +2 -2
- package/dist/cdn/{Y2I7B42B.js → 3JQ57R5L.js} +1 -1
- package/dist/cdn/{3UIPAYNA.js → 3LO343UW.js} +2 -2
- package/dist/cdn/{NOPHR34M.js → 3OJA72EQ.js} +2 -2
- package/dist/cdn/{OTZTQ2VQ.js → 3R2EHQXY.js} +2 -2
- package/dist/cdn/{GQRKGQNV.js → 3RT4YQAX.js} +2 -2
- package/dist/cdn/{ASHUGWOC.js → 3VVVED3A.js} +2 -2
- package/dist/cdn/{IAPBKDX5.js → 3WL35JH2.js} +2 -2
- package/dist/cdn/3Z6KYNQU.js +4 -0
- package/dist/cdn/{MLOT2NB2.js → 44GDA3KH.js} +2 -2
- package/dist/cdn/{4HDK7HAO.js → 4E2DDRVF.js} +2 -2
- package/dist/cdn/{KKTWS5R3.js → 4JEVLL6V.js} +2 -2
- package/dist/cdn/{XVDLFOD6.js → 4R3UNRG6.js} +2 -2
- package/dist/cdn/{BTX2SLF4.js → 4XFNEG4A.js} +2 -2
- package/dist/cdn/{ZVOQGYWY.js → 55C6B2OK.js} +2 -2
- package/dist/cdn/{AGSXX26T.js → 56PTP455.js} +2 -2
- package/dist/cdn/{FDU23JEN.js → 5HTY24LH.js} +2 -2
- package/dist/cdn/{MFHK7DKH.js → 5JWWBXAA.js} +2 -2
- package/dist/cdn/{QTPRUZQW.js → 5LNMUFJT.js} +2 -2
- package/dist/cdn/{6VYTY7J6.js → 5PWG33WO.js} +2 -2
- package/dist/cdn/{T7IUOP77.js → 6CEYZTZA.js} +2 -2
- package/dist/cdn/{JYOOJOGL.js → 6HCSXP5D.js} +2 -2
- package/dist/cdn/{Z44T45GT.js → 6HVOZTQR.js} +2 -2
- package/dist/cdn/{P44L6E7C.js → 6NH3CCBF.js} +2 -2
- package/dist/cdn/{JRVEBIOC.js → 6O2T6D6A.js} +2 -2
- package/dist/cdn/{QDE6GAEL.js → 6PHIYPSU.js} +2 -2
- package/dist/cdn/{TLARAEER.js → 6PLJ2FYW.js} +2 -2
- package/dist/cdn/{PSG4RSCT.js → 6ULGEYFE.js} +2 -2
- package/dist/cdn/{XNZIKTAG.js → 6X7BRMEU.js} +2 -2
- package/dist/cdn/{RXAKD247.js → 6ZAJFBA6.js} +2 -2
- package/dist/cdn/{RLGCX67K.js → 72A27AFF.js} +2 -2
- package/dist/cdn/{PMZ5WB6C.js → 7542BUDO.js} +2 -2
- package/dist/cdn/{FWUHKSS7.js → 76DEPMZ5.js} +2 -2
- package/dist/cdn/{TJEMS4LZ.js → 7FWIZG5Z.js} +2 -2
- package/dist/cdn/{56M45FFO.js → 7WRVU2GG.js} +2 -2
- package/dist/cdn/{63DQNUCA.js → A3TXUOZ4.js} +1 -1
- package/dist/cdn/{5EBHLME5.js → AF7FDKVX.js} +2 -2
- package/dist/cdn/{MPGGUH4K.js → AG6GYAFP.js} +2 -2
- package/dist/cdn/{QYWVIB4H.js → AJPSBMVC.js} +2 -2
- package/dist/cdn/{MSIUS7CS.js → ANRBD6PG.js} +2 -2
- package/dist/cdn/{J6QSHH76.js → AOFFXP2O.js} +2 -2
- package/dist/cdn/{32NRDIX4.js → AQNIHDKY.js} +2 -2
- package/dist/cdn/{XULFPBP6.js → AXUGVBHF.js} +2 -2
- package/dist/cdn/{HQTKZXQW.js → B2DSQZNG.js} +2 -2
- package/dist/cdn/{7HFXPJAS.js → B54PDB5Z.js} +2 -2
- package/dist/cdn/{TYLIWK4T.js → BBL4ZXCQ.js} +2 -2
- package/dist/cdn/{ALCKJU52.js → BDUW5TZD.js} +2 -2
- package/dist/cdn/{MPM4KDBW.js → BFXBQLJK.js} +2 -2
- package/dist/cdn/{A2U6UU3J.js → BJBRFG23.js} +2 -2
- package/dist/cdn/{VLTYMTZ3.js → BM2CTLXF.js} +2 -2
- package/dist/cdn/{FH7KMOQC.js → BMCLDOUD.js} +2 -2
- package/dist/cdn/{TKSHKCPB.js → BMVSAQBC.js} +2 -2
- package/dist/cdn/{3YIYAWOH.js → BOK5NUWK.js} +2 -2
- package/dist/cdn/{5MIYOPHC.js → BXGDO7U6.js} +2 -2
- package/dist/cdn/{27I3AP5X.js → BZPXB24X.js} +2 -2
- package/dist/cdn/{QOWVXWJR.js → C26S3PRR.js} +2 -2
- package/dist/cdn/{QBYSBJGO.js → C27D5LN3.js} +2 -2
- package/dist/cdn/{GXC7MW7H.js → C4HKMYF3.js} +2 -2
- package/dist/cdn/{7DEYNHBU.js → C73VYQKJ.js} +2 -2
- package/dist/cdn/{JJ7QCASR.js → CB2M524H.js} +1 -1
- package/dist/cdn/{G55PKUMG.js → CD2Z74PV.js} +1 -1
- package/dist/cdn/{CCGKKPPH.js → CE3C7L3R.js} +2 -2
- package/dist/cdn/CNFHE7BS.js +18 -0
- package/dist/cdn/{3DVTJ6KE.js → CQ65R2FU.js} +2 -2
- package/dist/cdn/{4IPXIKLP.js → CWNGOD6O.js} +2 -2
- package/dist/cdn/{N4M3CA2Z.js → DBWENNZO.js} +2 -2
- package/dist/cdn/{URAGJGK6.js → DJKGU6GF.js} +2 -2
- package/dist/cdn/{IYUKZWSW.js → DP5H6AU6.js} +2 -2
- package/dist/cdn/{XRWYBWQK.js → DR7W375Q.js} +2 -2
- package/dist/cdn/{ELEAGTWW.js → DRMGG47C.js} +2 -2
- package/dist/cdn/{GMGQ7E7V.js → DSKCT7XX.js} +2 -2
- package/dist/cdn/{TVPWZMAB.js → DSTRDKGN.js} +2 -2
- package/dist/cdn/{CGPOHG6C.js → DTTA3SSA.js} +2 -2
- package/dist/cdn/{DKPSK2VS.js → DYFGQ6AI.js} +2 -2
- package/dist/cdn/{NE3BMCYD.js → DZD6IVX3.js} +2 -2
- package/dist/cdn/{RNIXWYHO.js → E24TFZEV.js} +2 -2
- package/dist/cdn/{OOM3I5RC.js → E6VM5GOR.js} +2 -2
- package/dist/cdn/{IYCDKPBQ.js → EGBZLRDM.js} +1 -1
- package/dist/cdn/{G5HT4QPA.js → EJJ6FMDK.js} +2 -2
- package/dist/cdn/{6P6LUJ43.js → EKKAECED.js} +2 -2
- package/dist/cdn/EOVOQSGB.js +4 -0
- package/dist/cdn/{CEU5C43P.js → ETAK5KUX.js} +2 -2
- package/dist/cdn/{2ENLVGEB.js → EWFUOGQX.js} +2 -2
- package/dist/cdn/{JDKSBZFE.js → EXCU7FAE.js} +2 -2
- package/dist/cdn/{LNE75S3A.js → EYB7XSNU.js} +1 -1
- package/dist/cdn/{CSDAVDXX.js → EYBDSN3O.js} +2 -2
- package/dist/cdn/{2JY7EWW7.js → EZGI72AV.js} +2 -2
- package/dist/cdn/{YLPKFOK6.js → F2NI2IXH.js} +2 -2
- package/dist/cdn/{BBWLJFLV.js → F4H2XOM2.js} +2 -2
- package/dist/cdn/{2H5ZIXV4.js → F6XWENXR.js} +2 -2
- package/dist/cdn/{CRXF4B3G.js → FJ5KMDPD.js} +2 -2
- package/dist/cdn/{KZWML2KQ.js → FSYK6HM3.js} +2 -2
- package/dist/cdn/{N2IQNH7A.js → FSZIWGYJ.js} +1 -1
- package/dist/cdn/{63LHTNJZ.js → FZXSPOZS.js} +2 -2
- package/dist/cdn/{WPXHPSPZ.js → G2ZDC4VQ.js} +2 -2
- package/dist/cdn/{IQ3QEMBR.js → G4Y7NNVO.js} +1 -1
- package/dist/cdn/{QLDQWKMR.js → GAQTA6GD.js} +2 -2
- package/dist/cdn/{2NGSYXGK.js → GBPL4KQS.js} +1 -1
- package/dist/cdn/{G7LI5TQC.js → GGUYX23F.js} +2 -2
- package/dist/cdn/{SRHCFZUY.js → GIC76A6P.js} +2 -2
- package/dist/cdn/{T6GPREAX.js → GITSLGDH.js} +2 -2
- package/dist/cdn/{MJ5DKA2X.js → GTFYWD6K.js} +2 -2
- package/dist/cdn/{C7D5MBZV.js → H34BRZJT.js} +2 -2
- package/dist/cdn/{BRRHEFK3.js → HA2CQHWG.js} +2 -2
- package/dist/cdn/{EMAGH3PG.js → HBJRA3VT.js} +2 -2
- package/dist/cdn/{PPWCXZID.js → HKRCU4W3.js} +1 -1
- package/dist/cdn/{N2FATTDH.js → HNW4XU3G.js} +1 -1
- package/dist/cdn/{R2RQDXYK.js → HO62DINJ.js} +2 -2
- package/dist/cdn/{BQ3EIQPU.js → HP4OTJNX.js} +2 -2
- package/dist/cdn/{7FJ3O3A2.js → HPTSWBMV.js} +2 -2
- package/dist/cdn/{SSLYRR7G.js → HUM5NVWR.js} +2 -2
- package/dist/cdn/{NPB3WTYD.js → HUPM3KUY.js} +2 -2
- package/dist/cdn/{5LGVQGTC.js → HWMVPAK3.js} +1 -1
- package/dist/cdn/{R73R7QCG.js → HYSWFFTS.js} +2 -2
- package/dist/cdn/{PCKSIOIQ.js → I7B6E52N.js} +2 -2
- package/dist/cdn/{VV5IQZ7Q.js → IJW4VIF6.js} +2 -2
- package/dist/cdn/{WEVC2ZGT.js → IKP2WHLC.js} +2 -2
- package/dist/cdn/{LL4DEDQC.js → IKQPJ7HH.js} +2 -2
- package/dist/cdn/{OKW3PMOC.js → ILVYQG75.js} +2 -2
- package/dist/cdn/{HGKMBBAZ.js → J72AO3O5.js} +2 -2
- package/dist/cdn/{GBVPDYV4.js → JCL4GUN2.js} +2 -2
- package/dist/cdn/{WL7SYSU2.js → JFF5GUX5.js} +2 -2
- package/dist/cdn/{DVODLANP.js → JFRS4VIJ.js} +2 -2
- package/dist/cdn/{5FZP5C3S.js → JGZZZZNQ.js} +1 -1
- package/dist/cdn/{E6HI24AH.js → JHTJPGCO.js} +2 -2
- package/dist/cdn/{4PAAQ63R.js → JIHFXVKK.js} +2 -2
- package/dist/cdn/{OS5L5UWL.js → JUPTFUOY.js} +1 -1
- package/dist/cdn/{K52ZHJL4.js → JVGFQUPU.js} +2 -2
- package/dist/cdn/{VEHDY5YP.js → JYI7HSND.js} +2 -2
- package/dist/cdn/{ZPVXCJZJ.js → JZRND6DJ.js} +2 -2
- package/dist/cdn/{J5RHSV42.js → K2A64AJY.js} +2 -2
- package/dist/cdn/{MIAJROAJ.js → K7ZCGDMP.js} +2 -2
- package/dist/cdn/{AGVM2D2C.js → KDKQRUGV.js} +2 -2
- package/dist/cdn/{MO5LTBSP.js → KFCRRA7F.js} +2 -2
- package/dist/cdn/{LW47XLXE.js → KJDK64I4.js} +2 -2
- package/dist/cdn/{TAUEMN7H.js → KKZBLGAZ.js} +2 -2
- package/dist/cdn/{GYQQ26XT.js → KOT4QQK7.js} +2 -2
- package/dist/cdn/KQWBCDF3.js +4 -0
- package/dist/cdn/{Y2CGACHS.js → KT274563.js} +2 -2
- package/dist/cdn/{MQENWQZA.js → KVKCURZR.js} +2 -2
- package/dist/cdn/{RBA3JHX2.js → KVYCPYT4.js} +2 -2
- package/dist/cdn/{AW4UUEFC.js → KYMLJ3F5.js} +2 -2
- package/dist/cdn/{HWVN3MS5.js → L22H5MXZ.js} +1 -1
- package/dist/cdn/{7JUKQJGZ.js → LHAMRSSH.js} +2 -2
- package/dist/cdn/{KJ7QVY7R.js → LJ6MM2LH.js} +2 -2
- package/dist/cdn/{GDRQ4BYH.js → LKTJBKGS.js} +2 -2
- package/dist/cdn/{5RKBTQGT.js → LLVXMJRE.js} +2 -2
- package/dist/cdn/{RL2SNSO2.js → LMOPOQVC.js} +2 -2
- package/dist/cdn/{PO57BOD5.js → LOWPGRBM.js} +1 -1
- package/dist/cdn/{H5EJ2QTN.js → LQKSTVYS.js} +2 -2
- package/dist/cdn/{NL7A2BN6.js → LRAFDTRN.js} +2 -2
- package/dist/cdn/{HMDGWSEX.js → LRHDJMA4.js} +2 -2
- package/dist/cdn/{3U2DD4IP.js → M4ZMT3GL.js} +2 -2
- package/dist/cdn/{EDYUCA7M.js → M7XSDLV5.js} +2 -2
- package/dist/cdn/{PBBG6EBI.js → MC7DNHNU.js} +2 -2
- package/dist/cdn/{PJJ7OQZQ.js → MGCPDP7J.js} +2 -2
- package/dist/cdn/{SEF73KDX.js → MH5VX6AY.js} +2 -2
- package/dist/cdn/{SQPYP57L.js → MHWX3HRT.js} +1 -1
- package/dist/cdn/{4P3JYW4U.js → MIIRZTEX.js} +2 -2
- package/dist/cdn/{2KHSTHIA.js → MJCJAFTO.js} +2 -2
- package/dist/cdn/{D2IML3DR.js → MKIJJDTQ.js} +2 -2
- package/dist/cdn/{BEBADQDD.js → MVWPTPME.js} +2 -2
- package/dist/cdn/{URYJTR3F.js → MXDTDUNL.js} +2 -2
- package/dist/cdn/{WITXMTMP.js → N2W4KKO3.js} +2 -2
- package/dist/cdn/{GJJPRDZZ.js → N7M3WPAA.js} +2 -2
- package/dist/cdn/{HHUIZRPD.js → N7VLQBAU.js} +2 -2
- package/dist/cdn/{3HWTOTAW.js → NBDFFPCF.js} +1 -1
- package/dist/cdn/{PG57XA7J.js → NGW2D4B7.js} +2 -2
- package/dist/cdn/{QMZ4ECYO.js → NOXF3KIN.js} +2 -2
- package/dist/cdn/{6WOOLJQO.js → NYHDZRED.js} +2 -2
- package/dist/cdn/{XAA2CYFY.js → O4ZHNTVR.js} +2 -2
- package/dist/cdn/{QOMQ2O42.js → O57WNQKN.js} +1 -1
- package/dist/cdn/{U3WQ32QA.js → OABISKTH.js} +2 -2
- package/dist/cdn/{TCIUPQBG.js → OD52NBEE.js} +2 -2
- package/dist/cdn/{EAARL36R.js → OG2QO65R.js} +1 -1
- package/dist/cdn/{NGZQ77Y7.js → OH74GNOX.js} +2 -2
- package/dist/cdn/{2MI622UR.js → OQPBJDKU.js} +2 -2
- package/dist/cdn/{OYB7YXXR.js → OUJ7HLKY.js} +2 -2
- package/dist/cdn/{X6IADLCS.js → P4AJ6PQC.js} +2 -2
- package/dist/cdn/{JH5MCOTH.js → P5EMX3K3.js} +2 -2
- package/dist/cdn/{7MYC4GA6.js → P6YH2464.js} +2 -2
- package/dist/cdn/{GACRNLY6.js → PCOEOT7J.js} +2 -2
- package/dist/cdn/{5DLZSIPJ.js → PGKUR4WY.js} +2 -2
- package/dist/cdn/{MOVE65J6.js → PQ3T3ICE.js} +1 -1
- package/dist/cdn/{V6Z7HS6H.js → PRZV4O3M.js} +2 -2
- package/dist/cdn/{LBVKJUVS.js → PSTZGLQY.js} +2 -2
- package/dist/cdn/{2ZDGR2WD.js → PVFGUXZQ.js} +2 -2
- package/dist/cdn/{WECF2JFD.js → PYCIIXAT.js} +2 -2
- package/dist/cdn/{FESKL5ZV.js → PZCGP7VV.js} +2 -2
- package/dist/cdn/{67N2QUDS.js → Q3EL3SKK.js} +2 -2
- package/dist/cdn/{TXIDAG5O.js → QANDE5GX.js} +1 -1
- package/dist/cdn/{26JVTWH7.js → QEHMVIZA.js} +2 -2
- package/dist/cdn/{LQYQK52P.js → QESTTPNW.js} +1 -1
- package/dist/cdn/{ZJQ2HXOP.js → QHXATMTW.js} +2 -2
- package/dist/cdn/{7L6MX7NY.js → QJU2CXDM.js} +2 -2
- package/dist/cdn/{ZKALQRBG.js → QJVJVRC5.js} +2 -2
- package/dist/cdn/{HOPT3JY4.js → QPQFHPU6.js} +2 -2
- package/dist/cdn/{2M5OJ5G2.js → QRBPOHQZ.js} +1 -1
- package/dist/cdn/{R7PQZLQD.js → QRY235DW.js} +2 -2
- package/dist/cdn/{SRPL4W6S.js → QVC6WY2U.js} +1 -1
- package/dist/cdn/{JQTH7ME2.js → QWO6PGTX.js} +2 -2
- package/dist/cdn/{7TAQ5RIA.js → QXM5FILZ.js} +1 -1
- package/dist/cdn/{ZITDPXBN.js → QYCHT4CB.js} +2 -2
- package/dist/cdn/{5BKN5ED4.js → R4IS4Q4Q.js} +2 -2
- package/dist/cdn/{UMMDZOWO.js → R5IRUI3P.js} +2 -2
- package/dist/cdn/{GFOJ2475.js → RBBBKVTL.js} +2 -2
- package/dist/cdn/{3SCQV2BA.js → RDUFBDLJ.js} +1 -1
- package/dist/cdn/{XJRM5CQS.js → RFB43MAS.js} +2 -2
- package/dist/cdn/{Z4KUME5U.js → RIMQH6RB.js} +2 -2
- package/dist/cdn/{5RI43AEF.js → RKLYOTRA.js} +2 -2
- package/dist/cdn/{VNQ5BED6.js → RMQ5YGFV.js} +2 -2
- package/dist/cdn/{NXGANU6E.js → RPLKUULS.js} +2 -2
- package/dist/cdn/{ZZ55Q6CO.js → RTYGNX7B.js} +2 -2
- package/dist/cdn/{PJSHOIQU.js → RV4AOYNF.js} +2 -2
- package/dist/cdn/{3NHES2UH.js → RXBIVFHO.js} +2 -2
- package/dist/cdn/{7AZRC4QR.js → S3XK2NOE.js} +2 -2
- package/dist/cdn/{4V36JLGC.js → SAGIFLGH.js} +2 -2
- package/dist/cdn/SINUDLTL.js +4 -0
- package/dist/cdn/{CGJFV7RC.js → SNYTROMC.js} +2 -2
- package/dist/cdn/{3T2O7NUV.js → SRAOUBKB.js} +1 -1
- package/dist/cdn/{PVQQTXL7.js → SVJHSHJO.js} +2 -2
- package/dist/cdn/{MDKYM3IA.js → SVOPWKZ7.js} +2 -2
- package/dist/cdn/{VCJXO3QG.js → SWTVJXVH.js} +1 -1
- package/dist/cdn/{JALZR5WY.js → SYBEF6K4.js} +2 -2
- package/dist/cdn/SZEBDGPL.js +4 -0
- package/dist/cdn/{4BKR62IC.js → T2SHWUJU.js} +2 -2
- package/dist/cdn/{MULCQMSH.js → T7R6C644.js} +2 -2
- package/dist/cdn/{EEBMCROU.js → TBGXCN4Y.js} +2 -2
- package/dist/cdn/TFYPM4OA.js +4 -0
- package/dist/cdn/{3U7N3IWM.js → TJISIJHC.js} +2 -2
- package/dist/cdn/{WYENCUGJ.js → TLRNKE62.js} +2 -2
- package/dist/cdn/{OZOGQMK3.js → TTRJ5CWU.js} +2 -2
- package/dist/cdn/{UPSY6F76.js → TU3CSFJD.js} +2 -2
- package/dist/cdn/TW3W5D5Z.js +4 -0
- package/dist/cdn/TXOHDU2X.js +18 -0
- package/dist/cdn/{2XVLUJAK.js → TZX3DJRS.js} +2 -2
- package/dist/cdn/{DAPORVIV.js → U65IWACU.js} +2 -2
- package/dist/cdn/{TU66IWII.js → U6E4MGA2.js} +2 -2
- package/dist/cdn/{T2E6XQL7.js → U6QU5AWC.js} +2 -2
- package/dist/cdn/{H5OYFPQ2.js → U7G6QCWK.js} +2 -2
- package/dist/cdn/{WW7WU5U3.js → UBEYAABT.js} +2 -2
- package/dist/cdn/{DF7GLOYY.js → UBM654NG.js} +2 -2
- package/dist/cdn/{5QZKRUQ7.js → UCKLWKND.js} +2 -2
- package/dist/cdn/{N36BQC66.js → UEE7MT2U.js} +2 -2
- package/dist/cdn/{GF77TENZ.js → UG5AARWL.js} +2 -2
- package/dist/cdn/{JQRYRWLD.js → UKCG2GCK.js} +2 -2
- package/dist/cdn/{7B3SIEBP.js → UNYPWENM.js} +2 -2
- package/dist/cdn/{S6ZBWBL3.js → UOGJGCZD.js} +2 -2
- package/dist/cdn/{KDVFFXU7.js → UPWMPL5L.js} +2 -2
- package/dist/cdn/{324ZDJBR.js → UV7ZLM4H.js} +1 -1
- package/dist/cdn/{RWMBL7L7.js → UYM5IUGW.js} +2 -2
- package/dist/cdn/{WH64AKQW.js → UYXL2VZ3.js} +2 -2
- package/dist/cdn/{IYBF72YG.js → VA6FV427.js} +2 -2
- package/dist/cdn/{L5Z7XJTH.js → VD5E2IZ5.js} +2 -2
- package/dist/cdn/{SMCV2SK5.js → VHRWYTD2.js} +2 -2
- package/dist/cdn/{KULFSFX2.js → VISRN5TF.js} +1 -1
- package/dist/cdn/{N5QB5MLB.js → VQCKHS53.js} +1 -1
- package/dist/cdn/{OPRT5PGD.js → VWJBKQOG.js} +2 -2
- package/dist/cdn/{GEBGZYZ4.js → VYTM5YU5.js} +2 -2
- package/dist/cdn/{KTVARFQK.js → W4ZT6LNS.js} +2 -2
- package/dist/cdn/{RJIJ4XS2.js → WFMWOZHV.js} +1 -1
- package/dist/cdn/{7WB2V7EC.js → WG27ANNL.js} +2 -2
- package/dist/cdn/{5BB4FMT7.js → WG45HABN.js} +2 -2
- package/dist/cdn/{Z563KGJ5.js → WIBJDSCB.js} +2 -2
- package/dist/cdn/{U74VGJ3T.js → WJE2COKA.js} +2 -2
- package/dist/cdn/{325K5D3X.js → X5WCK4PL.js} +2 -2
- package/dist/cdn/{5NTTXYVC.js → X6EKAG3F.js} +2 -2
- package/dist/cdn/{WO56KW63.js → XILH5SAW.js} +2 -2
- package/dist/cdn/{NNVYIBOE.js → XPTUWU57.js} +2 -2
- package/dist/cdn/{JOF7K3IJ.js → XW65OD5F.js} +1 -1
- package/dist/cdn/{SO4DF5HM.js → Y2TV3JE6.js} +2 -2
- package/dist/cdn/{LWBW2FOF.js → YBKY3MCJ.js} +2 -2
- package/dist/cdn/{EQV2JVUX.js → YEAPMC5O.js} +1 -1
- package/dist/cdn/{R4WTGITD.js → YJAZPAWN.js} +2 -2
- package/dist/cdn/{R4RV3EYA.js → YMZL25P6.js} +2 -2
- package/dist/cdn/YMZWPY25.js +4 -0
- package/dist/cdn/{A5MZMHN3.js → YRBRJ6IE.js} +2 -2
- package/dist/cdn/{ORXVHEHN.js → YT7ZIYXB.js} +2 -2
- package/dist/cdn/{G6QU7N46.js → YV2CCNLP.js} +2 -2
- package/dist/cdn/{LCDSUUY7.js → ZEGVRJQ4.js} +2 -2
- package/dist/cdn/{GEISZXPD.js → ZGMAK57M.js} +1 -1
- package/dist/cdn/{FFU4WRS2.js → ZIHEWLDS.js} +2 -2
- package/dist/cdn/{NJVLWYYW.js → ZNGYXE52.js} +1 -1
- package/dist/cdn/{XXTUAYVD.js → ZRKEB46V.js} +2 -2
- package/dist/cdn/{QH3NYN25.js → ZT2STLII.js} +2 -2
- package/dist/cdn/{U2GKHB5F.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.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.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 +33 -1
- package/dist/docs/docs.json +45 -1
- 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/AVPRAXDB.js +0 -4
- package/dist/cdn/KMAVMHTP.js +0 -4
- package/dist/cdn/KYB3LCAD.js +0 -4
- package/dist/cdn/LCT3D3H4.js +0 -4
- package/dist/cdn/LVSGI3AI.js +0 -18
- package/dist/cdn/MKSQHH57.js +0 -4
- package/dist/cdn/NVD7KBCE.js +0 -4
- package/dist/cdn/SU5VMGSN.js +0 -4
- package/dist/cdn/UUOHSP2M.js +0 -4
- package/dist/cdn/V3ZTHML6.js +0 -18
@@ -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"./NNVYIBOE.js";import{a as L}from"./GBVPDYV4.js";import{c as K,d as _,e as U}from"./QMZ4ECYO.js";import"./2IUUDF7W.js";import{l as j,p as P}from"./325K5D3X.js";import"./3UIPAYNA.js";import"./QOMQ2O42.js";import"./QYWVIB4H.js";import"./GEISZXPD.js";import{a as S}from"./KULFSFX2.js";import"./5LGVQGTC.js";import"./TJEMS4LZ.js";import"./RWMBL7L7.js";import"./QOWVXWJR.js";import{w}from"./FH7KMOQC.js";import"./HWVN3MS5.js";import"./IYCDKPBQ.js";import"./HQTKZXQW.js";import"./G55PKUMG.js";import"./5FZP5C3S.js";import{b as A}from"./SUFBRQSQ.js";import{a as c,b as p}from"./LNE75S3A.js";import"./VCJXO3QG.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};
|