@esri/solutions-components 1.0.0-next.20250506 → 1.0.0-next.20250506.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{MMQJDH4M.js → 24HG25VK.js} +2 -2
- package/dist/cdn/{QLHSQI3A.js → 25FSOTFW.js} +2 -2
- package/dist/cdn/{GBBL6RYB.js → 277TP75D.js} +2 -2
- package/dist/cdn/{BVCZUB6R.js → 2CTI34Z6.js} +2 -2
- package/dist/cdn/{XB53RDG3.js → 2OUKMEGJ.js} +2 -2
- package/dist/cdn/{IHD5L26J.js → 2OXZPI6J.js} +2 -2
- package/dist/cdn/{FN4YCITS.js → 2VGSUSSJ.js} +2 -2
- package/dist/cdn/32ADEBH7.js +4 -0
- package/dist/cdn/{3PIKDQ7B.js → 343QIIN4.js} +2 -2
- package/dist/cdn/{XEPFDR33.js → 3SIDE2MZ.js} +2 -2
- package/dist/cdn/{TLLOLMEW.js → 3V6CMPYL.js} +2 -2
- package/dist/cdn/{5FDGCTBP.js → 3ZAC7KPY.js} +2 -2
- package/dist/cdn/{TE4BFLBG.js → 44EW25X7.js} +2 -2
- package/dist/cdn/{CZ7QSRM3.js → 47RKZZYU.js} +2 -2
- package/dist/cdn/{54SRG2XP.js → 4C3ALUA4.js} +2 -2
- package/dist/cdn/{EBSKW3LL.js → 4DVIE54A.js} +2 -2
- package/dist/cdn/{AD55O7ES.js → 4FO53H2N.js} +2 -2
- package/dist/cdn/{3GPZVEES.js → 4KMKJ4MQ.js} +2 -2
- package/dist/cdn/{HEOEJ7XC.js → 4NGMIXLU.js} +2 -2
- package/dist/cdn/{YBUDPKCM.js → 4NO5UFRF.js} +1 -1
- package/dist/cdn/{6MVFUDAF.js → 4OVM4MIC.js} +2 -2
- package/dist/cdn/{KIDIMMPV.js → 4PTXN5WN.js} +2 -2
- package/dist/cdn/{VZQJJJ7N.js → 4QTVQTWW.js} +2 -2
- package/dist/cdn/{QNADLQ7I.js → 4S2LGGIS.js} +2 -2
- package/dist/cdn/{NYXG3TT3.js → 4TK6UC7L.js} +2 -2
- package/dist/cdn/{Q6QSFU5G.js → 4TNRV5HQ.js} +2 -2
- package/dist/cdn/{MJSJKWQE.js → 5IPD66RZ.js} +1 -1
- package/dist/cdn/{GRH3FNUR.js → 5KMYTALG.js} +2 -2
- package/dist/cdn/{RCWM332G.js → 5MZCRWR6.js} +2 -2
- package/dist/cdn/{TUSBYZ4U.js → 5RPZREL2.js} +2 -2
- package/dist/cdn/{BOFSVHG2.js → 5S4HGJEN.js} +2 -2
- package/dist/cdn/{2BNBYNZL.js → 5VVYQUIK.js} +2 -2
- package/dist/cdn/{5XNVKERC.js → 5XCBVPEJ.js} +1 -1
- package/dist/cdn/{WIGPC3KR.js → 6ADX5YCX.js} +2 -2
- package/dist/cdn/6IOBEPUO.js +4 -0
- package/dist/cdn/{YBNSJHOY.js → 6MB7FU4Y.js} +2 -2
- package/dist/cdn/{5FCSNF7Z.js → 6MOBEALK.js} +2 -2
- package/dist/cdn/{KBPHRWS4.js → 6YK2RFGE.js} +2 -2
- package/dist/cdn/{WT4NOXZO.js → 77FG2UXK.js} +1 -1
- package/dist/cdn/{QVHT3S4J.js → 7ACSM2YB.js} +2 -2
- package/dist/cdn/{JDW5U5DH.js → 7K2EWZ4V.js} +1 -1
- package/dist/cdn/{GHUCQESF.js → 7KYKOF2I.js} +2 -2
- package/dist/cdn/{EBSDJW3N.js → 7O4PDXW4.js} +2 -2
- package/dist/cdn/{3VQLTGIB.js → 7UJOIQQR.js} +2 -2
- package/dist/cdn/{F5E6TK4C.js → 7ZUTU5RY.js} +2 -2
- package/dist/cdn/A26DEWRW.js +4 -0
- package/dist/cdn/{EBQ6BYPP.js → A2AGIHZY.js} +2 -2
- package/dist/cdn/{3FZWNANP.js → A5UYRD2U.js} +2 -2
- package/dist/cdn/{3BXQBQ54.js → AGGRBVNS.js} +2 -2
- package/dist/cdn/{MALANZ3X.js → AIWA7X7G.js} +2 -2
- package/dist/cdn/{G5VNHWHQ.js → AKMNIUXT.js} +2 -2
- package/dist/cdn/{4ZMC6JAM.js → ALKYMGVV.js} +1 -1
- package/dist/cdn/{7T43FSC7.js → ASGQIVIB.js} +2 -2
- package/dist/cdn/{EVZ2UXRX.js → AY657GGH.js} +2 -2
- package/dist/cdn/{FT4IQX2Z.js → B66A7LZQ.js} +2 -2
- package/dist/cdn/{U7OA3Y5P.js → BB4CBTJK.js} +2 -2
- package/dist/cdn/{KJ64N7XQ.js → BXNFXKXV.js} +2 -2
- package/dist/cdn/{GJ4TW7CF.js → C2RLNEU4.js} +2 -2
- package/dist/cdn/{HLIZJTZF.js → C6XZBUE2.js} +2 -2
- package/dist/cdn/{3A7FXKY2.js → C7EQDZ4M.js} +2 -2
- package/dist/cdn/{ZBFSMOWC.js → CADJZG3Z.js} +2 -2
- package/dist/cdn/{QSDCS2V6.js → CAGLPIPF.js} +2 -2
- package/dist/cdn/{MOBCKLO5.js → CPBVNIA2.js} +2 -2
- package/dist/cdn/{I7EFEOUT.js → CQTEVIDR.js} +2 -2
- package/dist/cdn/{H5DJ47IK.js → D473H7YD.js} +1 -1
- package/dist/cdn/{QLPHOVPS.js → D4XAHC4N.js} +2 -2
- package/dist/cdn/{A4KYPGE5.js → DBN6GJS6.js} +2 -2
- package/dist/cdn/{472FBZK2.js → DC3N7IST.js} +1 -1
- package/dist/cdn/{FTVZ2Y4Y.js → DCZKZQPQ.js} +2 -2
- package/dist/cdn/{4ZCGTKRB.js → DFZH4JDP.js} +2 -2
- package/dist/cdn/{BCQHCY5J.js → DIGEXEVD.js} +2 -2
- package/dist/cdn/{MW3SBXWD.js → DMTCZQGB.js} +1 -1
- package/dist/cdn/DOADYGDB.js +4 -0
- package/dist/cdn/{RJRX6YJH.js → DOTDQSSL.js} +2 -2
- package/dist/cdn/{7BZS2MB3.js → DPNSCBBO.js} +1 -1
- package/dist/cdn/{3CPIHDNH.js → DW6QFLMC.js} +2 -2
- package/dist/cdn/{OOMZPP3K.js → DXQ3LDCB.js} +2 -2
- package/dist/cdn/{ZINUZJUT.js → E4P22JZK.js} +1 -1
- package/dist/cdn/{WBFFCQWF.js → E7BM2VNY.js} +2 -2
- package/dist/cdn/{W2LECCSV.js → EELLYXNN.js} +1 -1
- package/dist/cdn/{DCT33VJ3.js → EIQNRR4P.js} +2 -2
- package/dist/cdn/{HGKMH45K.js → EJZKFB4Z.js} +2 -2
- package/dist/cdn/{3ZRGEQCY.js → EOYZ5MEY.js} +2 -2
- package/dist/cdn/{QANVXL5I.js → EYFKB5UR.js} +1 -1
- package/dist/cdn/{KP5OJ3ZT.js → EYVTUHVJ.js} +2 -2
- package/dist/cdn/{ZXUZYZ63.js → F2NPMFYG.js} +2 -2
- package/dist/cdn/{JT5QQSZM.js → F777BKYK.js} +2 -2
- package/dist/cdn/{RXXW5VAY.js → FAZOBB62.js} +2 -2
- package/dist/cdn/{KP4M7FMS.js → FM3TGG3U.js} +1 -1
- package/dist/cdn/{4FALIKEZ.js → FO33AVRG.js} +2 -2
- package/dist/cdn/{AY3QSNRE.js → FWL2VP7W.js} +2 -2
- package/dist/cdn/{ORCWQHX7.js → FXQSFX4Q.js} +2 -2
- package/dist/cdn/{GLZ263ZP.js → GAQOXRME.js} +1 -1
- package/dist/cdn/{STCY7MQT.js → GG4OVZHW.js} +2 -2
- package/dist/cdn/{CLPKSXFK.js → GQO2KP3I.js} +1 -1
- package/dist/cdn/GVRBVSQP.js +4 -0
- package/dist/cdn/{AIOO2QWL.js → GVS6OC6I.js} +2 -2
- package/dist/cdn/{VXWKIKTD.js → H3GY7WZY.js} +2 -2
- package/dist/cdn/{AYJVDDFY.js → H43GRPO5.js} +2 -2
- package/dist/cdn/{4OKIWPYX.js → HHY7QSTW.js} +2 -2
- package/dist/cdn/{XK7RUU5U.js → HK7ORFOY.js} +2 -2
- package/dist/cdn/{GCXOG3FT.js → HP45S4UO.js} +2 -2
- package/dist/cdn/{TFL3T2ME.js → HPADRK2N.js} +2 -2
- package/dist/cdn/{OWJHYCCR.js → HPLREYIV.js} +2 -2
- package/dist/cdn/{KDSQ5CZA.js → HPSATKU6.js} +2 -2
- package/dist/cdn/{2CIE6LR3.js → HQLVVCY5.js} +2 -2
- package/dist/cdn/{MN3WPQFX.js → HSIGQHGC.js} +2 -2
- package/dist/cdn/{C6ZAXIN6.js → HUP3OLOI.js} +2 -2
- package/dist/cdn/{SL4XZ3A5.js → HVFFPMUB.js} +2 -2
- package/dist/cdn/{UGLKEWDX.js → IC5TQPF6.js} +2 -2
- package/dist/cdn/{OWEVUGJE.js → IDFBPJOG.js} +2 -2
- package/dist/cdn/{DGCQZ6RA.js → IFPYXLV5.js} +2 -2
- package/dist/cdn/{7EMRFRMY.js → INJHMY2P.js} +2 -2
- package/dist/cdn/{2FLOQCFJ.js → IOG3GJFK.js} +2 -2
- package/dist/cdn/{FE2BUSRT.js → ISRQ3BAT.js} +2 -2
- package/dist/cdn/{VN4AH5OX.js → ITICLHXB.js} +2 -2
- package/dist/cdn/{QGQLOURY.js → J22XBVJX.js} +2 -2
- package/dist/cdn/{WRAEKXFO.js → J3KEXR6N.js} +2 -2
- package/dist/cdn/{TU2V5WMX.js → JAH6KVAQ.js} +2 -2
- package/dist/cdn/{YAAHEQLO.js → JALWXGJR.js} +2 -2
- package/dist/cdn/{HNVWWRBO.js → JDFGWL2P.js} +2 -2
- package/dist/cdn/{YYBBUCKA.js → JF22WXGR.js} +2 -2
- package/dist/cdn/{NFBSLKRV.js → JIG5WCW6.js} +2 -2
- package/dist/cdn/{3X7CET35.js → JMLPIAZ5.js} +2 -2
- package/dist/cdn/{5BLFSPAT.js → JOKITFSD.js} +2 -2
- package/dist/cdn/{STNI3XU5.js → JPVITM3R.js} +2 -2
- package/dist/cdn/{CLQIEIJQ.js → JSL7F3AB.js} +1 -1
- package/dist/cdn/{QFH4HW4C.js → K36J5DBT.js} +2 -2
- package/dist/cdn/{RXICRR2Z.js → K6YZHC7R.js} +2 -2
- package/dist/cdn/{3TWUDXKA.js → KA75RHIE.js} +2 -2
- package/dist/cdn/{R2NGOWNQ.js → KIJ2HVBA.js} +2 -2
- package/dist/cdn/{CDLBM5OZ.js → KKHP5J6S.js} +2 -2
- package/dist/cdn/{KTLARGFA.js → KOTWOAEH.js} +2 -2
- package/dist/cdn/{S5W5A5J7.js → KR424OVE.js} +2 -2
- package/dist/cdn/{6Q7ROHDK.js → KTYRFLWJ.js} +1 -1
- package/dist/cdn/{OQPGXB2C.js → KUXTUEIU.js} +2 -2
- package/dist/cdn/{BE3YZGYN.js → KYFGGGZO.js} +2 -2
- package/dist/cdn/{4EGMVXYU.js → LA3TMPSQ.js} +2 -2
- package/dist/cdn/{4NREZRZW.js → LEUJGAQT.js} +2 -2
- package/dist/cdn/{VUO6JDGQ.js → LITGQOKY.js} +2 -2
- package/dist/cdn/{LKBK7FXJ.js → LOAR7D23.js} +2 -2
- package/dist/cdn/{LFLMQMLV.js → LPQXKCT4.js} +2 -2
- package/dist/cdn/{BUL7XHMT.js → LT2L2HN5.js} +2 -2
- package/dist/cdn/{CD63U7CH.js → MAJHV5YB.js} +2 -2
- package/dist/cdn/{7RFDZNLL.js → MBBEW2XH.js} +2 -2
- package/dist/cdn/{ZLHIEPB4.js → MBYSAPXD.js} +2 -2
- package/dist/cdn/{5ATRS4TL.js → MG5AEQHW.js} +2 -2
- package/dist/cdn/{KC63JROC.js → MINRT2AD.js} +2 -2
- package/dist/cdn/{CRCAD7BU.js → MJWRLAA3.js} +2 -2
- package/dist/cdn/{OMJNNLKQ.js → MYNX7A4Q.js} +2 -2
- package/dist/cdn/{FDLJGA75.js → MYSMFQDL.js} +2 -2
- package/dist/cdn/{TU6P27JN.js → MZNCDKNL.js} +2 -2
- package/dist/cdn/{QLPVPSY7.js → NEVOR7UF.js} +1 -1
- package/dist/cdn/NPMFAEBD.js +4 -0
- package/dist/cdn/{QZ2OG4ZJ.js → NRDWJNF4.js} +2 -2
- package/dist/cdn/{I7MNDC3F.js → NS5VBZHP.js} +2 -2
- package/dist/cdn/NU2OXFST.js +4 -0
- package/dist/cdn/{VZOVLKJA.js → NVZHVYYH.js} +2 -2
- package/dist/cdn/{HKSIUKXF.js → NWE65CEC.js} +1 -1
- package/dist/cdn/NWJLUJRF.js +4 -0
- package/dist/cdn/{2YF54KJU.js → NXK4MWLX.js} +2 -2
- package/dist/cdn/{LMPILBZH.js → O3VJRNON.js} +2 -2
- package/dist/cdn/{6BVRDKCQ.js → O55NB5I2.js} +2 -2
- package/dist/cdn/{P22XPKGL.js → OATNKA2V.js} +2 -2
- package/dist/cdn/{UG3LJWJU.js → OLDFMVM6.js} +2 -2
- package/dist/cdn/{RKQKF2D5.js → OWMSCTHB.js} +2 -2
- package/dist/cdn/{MRQ546N3.js → PFUQXONQ.js} +1 -1
- package/dist/cdn/{M4DFLFMZ.js → PJMGGONS.js} +2 -2
- package/dist/cdn/{DY5UIEJA.js → PPFTCKIR.js} +2 -2
- package/dist/cdn/{4WBS6U7F.js → Q2IPYTRX.js} +2 -2
- package/dist/cdn/{YDJNMGKZ.js → Q2S2L2IR.js} +2 -2
- package/dist/cdn/{O2MAWXMU.js → QB6WECAO.js} +2 -2
- package/dist/cdn/{TK7AMW2A.js → QCUKGKOV.js} +2 -2
- package/dist/cdn/{VJBJUXPU.js → QMDKVVH5.js} +2 -2
- package/dist/cdn/{7T7WF7EI.js → QSYR7Q6X.js} +1 -1
- package/dist/cdn/{X2EMSYIO.js → R3MJUZCZ.js} +2 -2
- package/dist/cdn/{VDHBL26E.js → REUOEGNX.js} +2 -2
- package/dist/cdn/{O4B2DT7W.js → RF2VI4N7.js} +2 -2
- package/dist/cdn/{LWHYYFKA.js → RGFAZJP6.js} +2 -2
- package/dist/cdn/{YGLJWGAU.js → RIHR2PJN.js} +2 -2
- package/dist/cdn/{I6YHTRIM.js → RIYF7P2C.js} +2 -2
- package/dist/cdn/{UDHJ5CFN.js → RLWSZ4HQ.js} +2 -2
- package/dist/cdn/{UCYOOMX5.js → ROIVGYSM.js} +1 -1
- package/dist/cdn/{55MKMXGS.js → RUTSW7HN.js} +1 -1
- package/dist/cdn/{7BYZWZW5.js → S622E22B.js} +2 -2
- package/dist/cdn/{DJYP6V6T.js → SKNW5VCU.js} +2 -2
- package/dist/cdn/{LBHMN5IN.js → SPON62E4.js} +2 -2
- package/dist/cdn/{BVQYLN5G.js → SQOEM3P5.js} +1 -1
- package/dist/cdn/{O7GA42LQ.js → SQRWE2MV.js} +2 -2
- package/dist/cdn/{NVFYR6WF.js → STOKDNCN.js} +2 -2
- package/dist/cdn/{5HT54T3T.js → SXRISHGN.js} +1 -1
- package/dist/cdn/{BM3NZBB5.js → SYZ2PD7V.js} +2 -2
- package/dist/cdn/{AQ66RIGB.js → T4FPQT6Q.js} +1 -1
- package/dist/cdn/{MCEPX3HS.js → T6ACGRID.js} +2 -2
- package/dist/cdn/{KBZQB5ZG.js → TKKZCD3D.js} +2 -2
- package/dist/cdn/{5FW2PG4A.js → TSVIA6LX.js} +2 -2
- package/dist/cdn/{QSVT2DE7.js → TT45ZE3U.js} +2 -2
- package/dist/cdn/{N4YIU2XQ.js → TTIEVPAX.js} +2 -2
- package/dist/cdn/{K33KLMEF.js → U4NSDOD5.js} +2 -2
- package/dist/cdn/{QL7QVIQU.js → UBBP433D.js} +1 -1
- package/dist/cdn/{BY66JXUA.js → UBDWCH3J.js} +2 -2
- package/dist/cdn/{T2KV5AD5.js → UBFXRGUL.js} +2 -2
- package/dist/cdn/{7LHSSDR5.js → USL3KX2U.js} +2 -2
- package/dist/cdn/{TEFM3AA3.js → UYJS44LC.js} +2 -2
- package/dist/cdn/{YL7EG5AA.js → V5XUAHEB.js} +1 -1
- package/dist/cdn/{D3XWHE4G.js → V6J4NOFW.js} +2 -2
- package/dist/cdn/{FNPIEXII.js → VERJI2SH.js} +2 -2
- package/dist/cdn/{PD6S74N6.js → VHM7TR5J.js} +2 -2
- package/dist/cdn/{JSC6Q76O.js → VNWXPGNO.js} +2 -2
- package/dist/cdn/{PRRNPYDZ.js → VNZX57M6.js} +1 -1
- package/dist/cdn/{LHDUZO7G.js → VQQVMG7C.js} +1 -1
- package/dist/cdn/{TWWXSJS5.js → VSVG3AWA.js} +4 -4
- package/dist/cdn/{7YWBSS6J.js → VT6U64GN.js} +2 -2
- package/dist/cdn/{UBZEAPAX.js → VWSETFC3.js} +2 -2
- package/dist/cdn/{J3QWUVMY.js → VX7KAJNW.js} +2 -2
- package/dist/cdn/{MPAYLI27.js → VXKC4BYB.js} +2 -2
- package/dist/cdn/{SDRMIMTR.js → VXNDYVZW.js} +2 -2
- package/dist/cdn/{JXNAB5WB.js → VZ37PJTM.js} +2 -2
- package/dist/cdn/{HK5BM2IR.js → VZG427AU.js} +2 -2
- package/dist/cdn/{PNYR3EK6.js → W3ANKXXH.js} +1 -1
- package/dist/cdn/{OOVTB7G5.js → W3XCI5GU.js} +2 -2
- package/dist/cdn/{JPZXVCEU.js → WCO2JYT7.js} +1 -1
- package/dist/cdn/{STB44EY7.js → WD3NSCN4.js} +1 -1
- package/dist/cdn/{AD46D2SM.js → WFHI2T5X.js} +2 -2
- package/dist/cdn/{KO2M3OMZ.js → WFZ4KL2P.js} +2 -2
- package/dist/cdn/{2RC2UMSX.js → WG26EIDL.js} +2 -2
- package/dist/cdn/{YQGEIDBI.js → WKWF4ARW.js} +2 -2
- package/dist/cdn/{A5UPNZVE.js → WNHOXW2E.js} +2 -2
- package/dist/cdn/{HBAHYGF7.js → WNPZHTCP.js} +2 -2
- package/dist/cdn/{CB7FE7TZ.js → WOWOQ2TS.js} +2 -2
- package/dist/cdn/{T77OJIMR.js → WSNDSKW3.js} +2 -2
- package/dist/cdn/{3SG4KYD4.js → WVAVHWQN.js} +2 -2
- package/dist/cdn/{AREJ3VDO.js → WWH37ZAK.js} +1 -1
- package/dist/cdn/{72OD3HKE.js → WXNVFGFS.js} +2 -2
- package/dist/cdn/{LHPBHUX2.js → WY7PHM6L.js} +2 -2
- package/dist/cdn/{U4SXAT5F.js → WZGXEUMM.js} +2 -2
- package/dist/cdn/{LAL3OHQ7.js → X3AF2OQY.js} +1 -1
- package/dist/cdn/{JSS75EUB.js → X3VDJVLL.js} +2 -2
- package/dist/cdn/{WLPQLTES.js → XARWIX77.js} +2 -2
- package/dist/cdn/{W2IA7LER.js → XF7VPD22.js} +2 -2
- package/dist/cdn/{JJG25DHQ.js → XRBMRHXH.js} +2 -2
- package/dist/cdn/{I5TLTNQV.js → XYSFY3W6.js} +2 -2
- package/dist/cdn/{ZVA5E3YN.js → XYWQ6JNM.js} +2 -2
- package/dist/cdn/{LGQBFWDJ.js → Y4BDPKKL.js} +2 -2
- package/dist/cdn/{NHIIJKLQ.js → Y7WVUKZX.js} +2 -2
- package/dist/cdn/{4NJQRXPT.js → YCXOPVSF.js} +2 -2
- package/dist/cdn/{735FUYLP.js → YDW3WSTZ.js} +2 -2
- package/dist/cdn/{XIJKTNHS.js → YEWPTOSA.js} +2 -2
- package/dist/cdn/{5AT6U7IM.js → YHN2YRS5.js} +2 -2
- package/dist/cdn/{ULKSAGQV.js → YIDDZHZJ.js} +2 -2
- package/dist/cdn/{OI4YQ3XL.js → YKDQJMLK.js} +2 -2
- package/dist/cdn/{6UBVRTY3.js → YO66L5EQ.js} +2 -2
- package/dist/cdn/{RBSL4YEZ.js → YVK6HDUD.js} +2 -2
- package/dist/cdn/{A6GN4AGX.js → YWJHRAU6.js} +2 -2
- package/dist/cdn/{WFJQLKTW.js → YXGKJSHK.js} +1 -1
- package/dist/cdn/{D3QJCJFO.js → YYNMVPOT.js} +2 -2
- package/dist/cdn/{Z3PMA3N3.js → Z2FRREMF.js} +1 -1
- package/dist/cdn/{5YYG3KZ3.js → Z5KPLWAQ.js} +2 -2
- package/dist/cdn/{J3MLABD7.js → Z624TXCK.js} +2 -2
- package/dist/cdn/{6L454NXU.js → ZEFQFCIT.js} +1 -1
- package/dist/cdn/{H2VXOJH7.js → ZQ5UT5TX.js} +2 -2
- package/dist/cdn/ZRGZWYVN.js +18 -0
- package/dist/cdn/{CE6F7GKW.js → ZV26VFK3.js} +2 -2
- package/dist/cdn/{H3PEVOTC.js → ZXAYQBSO.js} +2 -2
- package/dist/cdn/{WLUGQLQU.js → ZY26SHW7.js} +2 -2
- package/dist/cdn/{QAHXORCG.js → ZZRTACNG.js} +2 -2
- package/dist/cdn/index.esm.js +2 -2
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/downloadUtils.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/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-solution-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/solution-arcticle-card/customElement.js +1 -1
- package/dist/components/solution-card/customElement.js +1 -1
- package/dist/components/solution-configuration/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-deploy-panel/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deployed-panel/customElement.js +1 -1
- package/dist/components/solution-deploying-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-icon/customElement.js +6 -6
- 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-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-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.js +1 -1
- package/dist/components/solutions-filter/customElement.js +1 -1
- package/dist/components/solutions-panel/customElement.js +1 -1
- package/dist/components/solutions-shell/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 +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +2 -1
- package/dist/cdn/2EXNFW3A.js +0 -18
- package/dist/cdn/4A6QNOIE.js +0 -4
- package/dist/cdn/5O4AB33V.js +0 -4
- package/dist/cdn/ARLUTHYH.js +0 -4
- package/dist/cdn/R6NRJXSL.js +0 -4
- package/dist/cdn/VBYD2OER.js +0 -4
- package/dist/cdn/VG2YZYBI.js +0 -4
- package/dist/cdn/VTNNA7UU.js +0 -4
- package/dist/cdn/XPN5427G.js +0 -4
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import{d as V,e as L}from"./
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{d as V,e as L}from"./HQLVVCY5.js";import"./WCO2JYT7.js";import"./DMTCZQGB.js";import{a as p,b as m}from"./4FO53H2N.js";import{b as v}from"./7K2EWZ4V.js";import{a as b}from"./VERJI2SH.js";import{B as M,c as g,d as h,n as d,q as f,w as y,x as c}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var S=g`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import{b as m,c as h}from"./
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{b as m,c as h}from"./VSVG3AWA.js";import"./LA3TMPSQ.js";import"./FAZOBB62.js";import"./EYFKB5UR.js";import"./H3GY7WZY.js";import"./VQQVMG7C.js";import"./ZEFQFCIT.js";import"./DPNSCBBO.js";import"./DMTCZQGB.js";import{a as b,b as g}from"./4FO53H2N.js";import{b as d}from"./7K2EWZ4V.js";import{a as c}from"./VERJI2SH.js";import{B as p,c as n,d as r,w as o}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var u=[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}],y=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"})),D=n`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import{a as n}from"./
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{a as n}from"./VERJI2SH.js";import{B as r,c as s,d as t,q as i,w as o}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var a=s`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import{a as _}from"./
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{a as _}from"./UBFXRGUL.js";import"./PFUQXONQ.js";import{c as g,g as $,j as F}from"./HQLVVCY5.js";import{e as d}from"./WCO2JYT7.js";import{a as E,d as O,f as T}from"./DMTCZQGB.js";import{a as u,b as p}from"./4FO53H2N.js";import{b as I}from"./7K2EWZ4V.js";import{a as k}from"./VERJI2SH.js";import{B as G,c as L,d as c,n as S,q as v,w as C,x as y,y as V}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var N=L`@layer{/** @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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import{a as d}from"./
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{a as d}from"./JF22WXGR.js";import{a as s}from"./ZZRTACNG.js";import"./FXQSFX4Q.js";import{a as c}from"./WWH37ZAK.js";import{a as m}from"./HHY7QSTW.js";import"./YIDDZHZJ.js";import"./EELLYXNN.js";import"./EYFKB5UR.js";import"./GQO2KP3I.js";import{a as n,b as p}from"./4S2LGGIS.js";import"./ISRQ3BAT.js";import"./6MOBEALK.js";import{a as r,b as i}from"./4QTVQTWW.js";import"./H3GY7WZY.js";import"./VQQVMG7C.js";import"./Z2FRREMF.js";import"./ZEFQFCIT.js";import"./AIWA7X7G.js";import"./DC3N7IST.js";import"./HSIGQHGC.js";import"./E4P22JZK.js";import"./CAGLPIPF.js";import"./EJZKFB4Z.js";import"./OATNKA2V.js";import"./HK7ORFOY.js";import"./HP45S4UO.js";import"./VZG427AU.js";import"./K6YZHC7R.js";import"./JALWXGJR.js";import"./ROIVGYSM.js";import"./DXQ3LDCB.js";import"./NEVOR7UF.js";import"./WY7PHM6L.js";import"./4NGMIXLU.js";import"./CPBVNIA2.js";import"./KTYRFLWJ.js";import"./Y7WVUKZX.js";import"./EIQNRR4P.js";import"./SXRISHGN.js";import"./RUTSW7HN.js";import"./V5XUAHEB.js";function a(e){return["myContent","favorites","organization","world"].map(o=>s("shared.fields.featuredContent",o,"item",{user:e}))}var R=async(e,l,t)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,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`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea",helperText:{labelKey:`${e}.fields.description.helperText`}}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:d((o=l.view)===null||o===void 0?void 0:o.featuredImageUrl,t.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,helperText:{labelKey:`${e}.fields.featuredImage.helperText`},sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",options:{helperText:{labelKey:`${e}.fields.featuredImage.altText.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await n(l.location,t.hubRequestOptions),options:await p(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.searchDiscoverability.label`,elements:[c(e),{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label",helperText:{labelKey:`${e}.fields.tags.helperText`}}},...await r(e,t),...m(e,l.thumbnail,l.thumbnailUrl,"project",t.requestOptions)]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]},{type:"Section",labelKey:`${e}.sections.timeline.label`,elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]},{type:"Section",labelKey:`${e}.sections.featuredContent.label`,options:{helperText:{labelKey:`${e}.sections.featuredContent.helperText`}},elements:[{scope:"/properties/view/properties/featuredContentIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:a(t.currentUser),facets:[{label:`{{${e}.fields.featuredContent.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.featuredContent.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0,showAddContent:!0}}]},{type:"Section",labelKey:`${e}.sections.callToAction.label`,options:{helperText:{labelKey:`${e}.sections.callToAction.helperText`}},elements:[{scope:"/properties/view/properties/heroActions",type:"Control",options:{control:"hub-composite-input-action-links",type:"button",catalogs:a(t.currentUser),facets:[{label:`{{${e}.fields.callToAction.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.callToAction.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0}}]},{type:"Section",labelKey:`${e}.sections.embeds.label`,options:{headerTag:"h2",helperText:{labelKey:`${e}.sections.embeds.helperText`}},elements:[{scope:"/properties/view/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]}]}};export{R 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import{a as G}from"./5BLFSPAT.js";import{b as j,f as P,m as K,n as U,o as L}from"./FN4YCITS.js";import"./RXXW5VAY.js";import"./FTVZ2Y4Y.js";import"./MJSJKWQE.js";import"./ULKSAGQV.js";import"./W2LECCSV.js";import{a as _}from"./QANVXL5I.js";import"./CLPKSXFK.js";import"./FE2BUSRT.js";import"./5FCSNF7Z.js";import{j as S}from"./VXWKIKTD.js";import"./LHDUZO7G.js";import"./Z3PMA3N3.js";import"./6L454NXU.js";import{b}from"./UCYOOMX5.js";import{a as c,b as p}from"./QLPVPSY7.js";import"./YL7EG5AA.js";function x(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,r)=>[...t,{entityKey:r,storeKey:r}],[{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 g(e){let{token:t,authentication:r}=e;return r?r.getToken(r.portal):Promise.resolve(t)}async function v(e,t){let{url:r,method:a,data:n}=e,{mode:o,cache:i,credentials:u}=t,{headers:m,params:E}=le(e,t),s=`${ce(t.hubApiUrl)}${r}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:u,mode:o};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:A,status:re}=y;if(y.ok)return y.json();let oe=await y.json();throw new I(A,s,re,JSON.stringify(oe.message))}function ce(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function le(e,t){let r=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&r.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:r,params:a}}var I=class extends Error{constructor(t,r,a,n){super(t),this.status=a,this.url=r,this.error=n}};var k;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(k||(k={}));var M;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(M||(M={}));var H;(function(e){e.csv="csv",e.json="json"})(H||(H={}));var B;(function(e){e.asc="asc",e.desc="desc"})(B||(B={}));var V;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(V||(V={}));var $;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})($||($={}));var Z;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(Z||(Z={}));var d;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(d||(d={}));var F;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(F||(F={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var q;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(q||(q={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var W=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var J=(e,t,r)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},r),z=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),Q=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var X=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function Y(e){return e.token=await g(e),W(e.data,e)}async function ee(e){return e.token=await g(e),J(e.eventId,e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function R(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function ne(e){var t;let r=P("event",C(e));return{self:r,siteRelative:r,siteRelativeEntityType:P("event"),workspaceRelative:G("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:R()}}function ae(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 ie(e){return e.token=await g(e),Q(e.data,e)}async function se(e){return e.token=await g(e),X(e.registrationId,e)}function N(){let e=b();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 O(){let{startDateTime:e,endDateTime:t}=b();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:d.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,r){var a,n,o,i,u,m,E,D;let s=L(t,r,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===d.CANCELED,s.isPlanned=t.status===d.PLANNED,s.isRemoved=t.status===d.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=!((o=t.onlineMeeting)===null||o===void 0)&&o.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=(u=t.onlineMeeting)===null||u===void 0?void 0:u.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:A})=>({entityId:y,entityType:A})),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.links=ne(t),s.slug=C(t),s.thumbnailUrl||(s.thumbnailUrl=R()),s.view={showMap:!!t.location},s.location=ae(t),s}entityToStore(t,r){let a=_(t),n=U(a,r,this.mappings),o=a.access;return o==="shared"?n.access=f.PRIVATE:n.access=o.toUpperCase(),a.isRemoved?n.status=d.REMOVED:a.isCanceled?n.status=d.CANCELED:n.status=d.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 w(e,t,r){let a=e.filter(({entityId:o})=>t.includes(o)),n=t.filter(o=>!a.find(({entityId:i})=>i===o));if(n.length){let{results:o}=await S({q:n.map(u=>`id:${u}`).join(" OR "),num:n.length,authentication:r.authentication}),i=o.map(({id:u,type:m})=>({entityId:u,entityType:m}));a.push(...i)}return a}async function at(e,t){let r=Object.assign(Object.assign({},N()),e);r.endDate=r.startDate;let a=new h(x()),n=a.entityToStore(r,O()),o=await w(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:o,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 Y(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var r,a;let n=Object.assign(Object.assign({},N()),e),o=new h(x()),i=o.entityToStore(n,O()),u=await w(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:u,attendanceType:i.attendanceType,categories:i.categories,description:((r=i.description)===null||r===void 0?void 0:r.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 ee(Object.assign({eventId:i.id,data:m},t)),o.storeToEntity(i,{})}async function st(e,t){await te(Object.assign({eventId:e},t))}function rt(e,t){return ie(Object.assign({data:e},t))}async function ot(e,t){await se(Object.assign({registrationId:e},t))}export{at as createHubEvent,rt as createHubEventRegistration,st as deleteHubEvent,ot as deleteHubEventRegistration,it as updateHubEvent};
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{a as G}from"./JOKITFSD.js";import{b as j,f as P,m as K,n as U,o as L}from"./2VGSUSSJ.js";import"./FAZOBB62.js";import"./DCZKZQPQ.js";import"./5IPD66RZ.js";import"./YIDDZHZJ.js";import"./EELLYXNN.js";import{a as _}from"./EYFKB5UR.js";import"./GQO2KP3I.js";import"./ISRQ3BAT.js";import"./6MOBEALK.js";import{j as S}from"./H3GY7WZY.js";import"./VQQVMG7C.js";import"./Z2FRREMF.js";import"./ZEFQFCIT.js";import{b}from"./ROIVGYSM.js";import{a as c,b as p}from"./NEVOR7UF.js";import"./V5XUAHEB.js";function x(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,r)=>[...t,{entityKey:r,storeKey:r}],[{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 g(e){let{token:t,authentication:r}=e;return r?r.getToken(r.portal):Promise.resolve(t)}async function v(e,t){let{url:r,method:a,data:n}=e,{mode:o,cache:i,credentials:u}=t,{headers:m,params:E}=le(e,t),s=`${ce(t.hubApiUrl)}${r}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:u,mode:o};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:A,status:re}=y;if(y.ok)return y.json();let oe=await y.json();throw new I(A,s,re,JSON.stringify(oe.message))}function ce(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function le(e,t){let r=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&r.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:r,params:a}}var I=class extends Error{constructor(t,r,a,n){super(t),this.status=a,this.url=r,this.error=n}};var k;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(k||(k={}));var M;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(M||(M={}));var H;(function(e){e.csv="csv",e.json="json"})(H||(H={}));var B;(function(e){e.asc="asc",e.desc="desc"})(B||(B={}));var V;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(V||(V={}));var $;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})($||($={}));var Z;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(Z||(Z={}));var d;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(d||(d={}));var F;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(F||(F={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var q;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(q||(q={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var W=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var J=(e,t,r)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},r),z=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),Q=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var X=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function Y(e){return e.token=await g(e),W(e.data,e)}async function ee(e){return e.token=await g(e),J(e.eventId,e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function R(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function ne(e){var t;let r=P("event",C(e));return{self:r,siteRelative:r,siteRelativeEntityType:P("event"),workspaceRelative:G("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:R()}}function ae(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 ie(e){return e.token=await g(e),Q(e.data,e)}async function se(e){return e.token=await g(e),X(e.registrationId,e)}function N(){let e=b();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 O(){let{startDateTime:e,endDateTime:t}=b();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:d.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,r){var a,n,o,i,u,m,E,D;let s=L(t,r,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===d.CANCELED,s.isPlanned=t.status===d.PLANNED,s.isRemoved=t.status===d.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=!((o=t.onlineMeeting)===null||o===void 0)&&o.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=(u=t.onlineMeeting)===null||u===void 0?void 0:u.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:A})=>({entityId:y,entityType:A})),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.links=ne(t),s.slug=C(t),s.thumbnailUrl||(s.thumbnailUrl=R()),s.view={showMap:!!t.location},s.location=ae(t),s}entityToStore(t,r){let a=_(t),n=U(a,r,this.mappings),o=a.access;return o==="shared"?n.access=f.PRIVATE:n.access=o.toUpperCase(),a.isRemoved?n.status=d.REMOVED:a.isCanceled?n.status=d.CANCELED:n.status=d.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 w(e,t,r){let a=e.filter(({entityId:o})=>t.includes(o)),n=t.filter(o=>!a.find(({entityId:i})=>i===o));if(n.length){let{results:o}=await S({q:n.map(u=>`id:${u}`).join(" OR "),num:n.length,authentication:r.authentication}),i=o.map(({id:u,type:m})=>({entityId:u,entityType:m}));a.push(...i)}return a}async function at(e,t){let r=Object.assign(Object.assign({},N()),e);r.endDate=r.startDate;let a=new h(x()),n=a.entityToStore(r,O()),o=await w(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:o,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 Y(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var r,a;let n=Object.assign(Object.assign({},N()),e),o=new h(x()),i=o.entityToStore(n,O()),u=await w(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:u,attendanceType:i.attendanceType,categories:i.categories,description:((r=i.description)===null||r===void 0?void 0:r.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 ee(Object.assign({eventId:i.id,data:m},t)),o.storeToEntity(i,{})}async function st(e,t){await te(Object.assign({eventId:e},t))}function rt(e,t){return ie(Object.assign({data:e},t))}async function ot(e,t){await se(Object.assign({registrationId:e},t))}export{at as createHubEvent,rt as createHubEventRegistration,st as deleteHubEvent,ot 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import{a as x}from"./RXXW5VAY.js";import{a as I}from"./FTVZ2Y4Y.js";import{a as d}from"./MJSJKWQE.js";import{b as p,d as v,e as M}from"./ULKSAGQV.js";import{a as y}from"./QANVXL5I.js";import{a as k,e as R,f as A,g as E}from"./5FCSNF7Z.js";import{a as U}from"./Z3PMA3N3.js";import{a as c}from"./6L454NXU.js";function h(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,l)=>{!o.hasOwnProperty(s)||o[s]==null?l===i?o[s]=r:o[s]={}:l===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=y(r):o[s]=Object.assign(o[s],y(r)):o[s]=r),o=o[s]})}function f(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),h(r,t,e,n)}var K=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var l=o/s,u=i/s;if(l>=0&&l<=1&&u>=0&&u<=1)return!0}return!1},V=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},J=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},$=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(K(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},S=function(e){return J(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},T=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},j=function(e,r){var n=$(e,r),a=V(e,r[0]);return!!(!n&&a)},Q=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var l=S(e[s].slice(0));if(!(l.length<4))if(D(l)){var u=[l.slice().reverse()];r.push(u)}else n.push(l.slice().reverse())}for(var g=[];n.length;){i=n.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||g.push(i)}for(;g.length;){i=g.pop();var P=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],$(o,i)){r[a].push(i),P=!0;break}P||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},Z=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},xe=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=Q(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?T(e.attributes):null,e.attributes))try{n.id=Z(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},N=function(e){var r=[],n=e.slice(0),a=S(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=S(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},Y=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=N(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=N(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=Y(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?T(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function Se(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function m(t){let e="enterprise";return t.includes("arcgis.com")&&(e="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(e="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(e="devext"),e}function Pe(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=M(t,e,n),[i,s]=o.split("?"),l=new URLSearchParams(s);l.delete("f"),a&&l.append("w",a+"");let u=l.toString(),g=`${i}/info/${t.thumbnail}`;return u?`${g}?${u}`:g}var L;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(L||(L={}));function B(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}var b={devext:"dev",qaext:"qa",production:""};var q=t=>R(t)?Object.assign(Object.assign({},k(t)),{type:"extent"}):void 0,_e=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=q(r);if(a)return{type:B(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=E(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:A(o)?i:re(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var We=(t,e,r)=>{let n=ee(t,e,r)||te(t,e,r),a=U(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":X(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},X=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ee=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},te=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var F;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(F||(F={}));var re=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},Ge=(t,e,r)=>{let n=ne(e);return n&&n.map(a=>({name:a.orName,url:ae(a,t,r),isDataSource:z(a,t)}))},ne=t=>{let e=[];return C(c(t,"metadata.distInfo")||[]).forEach(r=>{C(r.distTranOps||[]).forEach(n=>{C(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},C=t=>Array.isArray(t)?t:[t],z=(t,e)=>{let r=e.url&&x(e.url);return r&&t.linkage&&t.linkage.includes(r)},ae=(t,e,r)=>{let n=t.linkage,a=c(r,"authentication.token");if(a&&z(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var Ke=(t,e)=>{let r;switch(oe(t)){case"Dashboard":r=le(t,e);break;case"Insights Workbook":r=pe(t,e);break;case"Experience":r=se(t,e);break;case"Web AppBuilder":r=ce(t,e);break;case"Form":r=ue(t,e);break;case"StoryMap":r=ie(t,e);break;case"Urban Model":r=de(t,e);break;default:r=v(t.id,e)}return r},oe=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ie=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=p(e),a=m(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},se=(t,e)=>{let r=p(e),n=m(r);return`${`https://experience${b[n]}.arcgis.com`}/builder/?id=${t.id}`},le=(t,e)=>{let r=p(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},ce=(t,e)=>`${p(e)}/apps/webappbuilder/index.html?id=${t.id}`,ue=(t,e)=>{let r=p(e),n=m(r),a=`https://survey123${b[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=v(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},pe=(t,e)=>{let r=p(e),n=m(r),a=`https://insights${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/#/edit/${t.id}`},de=(t,e)=>{let r=p(e),n=m(r),a=`https://urban${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/?id=${t.id}`},H=t=>t.indexOf("arcgis.com")===-1;function Ve(t,e){return`${fe(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function fe(t){return I(t).replace(/\/api\/v3$/,"")}var Je=async(t,e)=>{let n=`${I(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};function _(t){let e=!1;return t&&(e=!(t.typeKeywords||[]).includes(d)),e}function Ze(t,e){let r=(t||[]).filter(n=>n!==d);return e||r.push(d),r}var W=class{constructor(e){this.mappings=e}storeToEntity(e,r){let n=me(e,r,this.mappings);if(c(e,"item")){let a=c(e,"item");f("canEdit",["admin","update"].includes(a.itemControl),n),f("canDelete",a.itemControl==="admin",n),f("canRecycle",a.canRecycle||!1,n),f("protected",a.protected,n)}return n}entityToStore(e,r){return ge(e,r,this.mappings)}};function ge(t,e,r){if(c(e,"item")){let n=c(e,"item");n.typeKeywords&&(n.typeKeywords=c(t,"isDiscussable")?n.typeKeywords.filter(a=>a!==d):[...n.typeKeywords,d],f("item.typeKeywords",n.typeKeywords,e))}return G(t,"entityKey",e,"storeKey",r)}function me(t,e,r){if(c(t,"item")){let n=c(t,"item");f("isDiscussable",_(n),e)}return G(t,"storeKey",e,"entityKey",r)}function G(t,e,r,n,a){let o=y(r);return a.forEach(i=>{let s=c(i,e),l=c(i,n),u=c(t,s);u!=null&&h(o,l,u,!0)}),o}export{f as a,Se as b,Pe as c,xe as d,_e as e,We as f,Ge as g,Ke as h,Ve as i,Je as j,_ as k,Ze as l,W as m,ge as n,me as o};
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{a as x}from"./FAZOBB62.js";import{a as I}from"./DCZKZQPQ.js";import{a as d}from"./5IPD66RZ.js";import{b as p,d as v,e as M}from"./YIDDZHZJ.js";import{a as y}from"./EYFKB5UR.js";import{a as k,e as R,f as A,g as E}from"./6MOBEALK.js";import{a as U}from"./Z2FRREMF.js";import{a as c}from"./ZEFQFCIT.js";function h(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,l)=>{!o.hasOwnProperty(s)||o[s]==null?l===i?o[s]=r:o[s]={}:l===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=y(r):o[s]=Object.assign(o[s],y(r)):o[s]=r),o=o[s]})}function f(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),h(r,t,e,n)}var K=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var l=o/s,u=i/s;if(l>=0&&l<=1&&u>=0&&u<=1)return!0}return!1},V=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},J=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},$=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(K(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},S=function(e){return J(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},T=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},j=function(e,r){var n=$(e,r),a=V(e,r[0]);return!!(!n&&a)},Q=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var l=S(e[s].slice(0));if(!(l.length<4))if(D(l)){var u=[l.slice().reverse()];r.push(u)}else n.push(l.slice().reverse())}for(var g=[];n.length;){i=n.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||g.push(i)}for(;g.length;){i=g.pop();var P=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],$(o,i)){r[a].push(i),P=!0;break}P||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},Z=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},xe=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=Q(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?T(e.attributes):null,e.attributes))try{n.id=Z(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},N=function(e){var r=[],n=e.slice(0),a=S(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=S(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},Y=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=N(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=N(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=Y(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?T(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function Se(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function m(t){let e="enterprise";return t.includes("arcgis.com")&&(e="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(e="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(e="devext"),e}function Pe(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=M(t,e,n),[i,s]=o.split("?"),l=new URLSearchParams(s);l.delete("f"),a&&l.append("w",a+"");let u=l.toString(),g=`${i}/info/${t.thumbnail}`;return u?`${g}?${u}`:g}var L;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(L||(L={}));function B(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}var b={devext:"dev",qaext:"qa",production:""};var q=t=>R(t)?Object.assign(Object.assign({},k(t)),{type:"extent"}):void 0,_e=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=q(r);if(a)return{type:B(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=E(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:A(o)?i:re(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var We=(t,e,r)=>{let n=ee(t,e,r)||te(t,e,r),a=U(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":X(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},X=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ee=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},te=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var F;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(F||(F={}));var re=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},Ge=(t,e,r)=>{let n=ne(e);return n&&n.map(a=>({name:a.orName,url:ae(a,t,r),isDataSource:z(a,t)}))},ne=t=>{let e=[];return C(c(t,"metadata.distInfo")||[]).forEach(r=>{C(r.distTranOps||[]).forEach(n=>{C(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},C=t=>Array.isArray(t)?t:[t],z=(t,e)=>{let r=e.url&&x(e.url);return r&&t.linkage&&t.linkage.includes(r)},ae=(t,e,r)=>{let n=t.linkage,a=c(r,"authentication.token");if(a&&z(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var Ke=(t,e)=>{let r;switch(oe(t)){case"Dashboard":r=le(t,e);break;case"Insights Workbook":r=pe(t,e);break;case"Experience":r=se(t,e);break;case"Web AppBuilder":r=ce(t,e);break;case"Form":r=ue(t,e);break;case"StoryMap":r=ie(t,e);break;case"Urban Model":r=de(t,e);break;default:r=v(t.id,e)}return r},oe=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ie=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=p(e),a=m(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},se=(t,e)=>{let r=p(e),n=m(r);return`${`https://experience${b[n]}.arcgis.com`}/builder/?id=${t.id}`},le=(t,e)=>{let r=p(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},ce=(t,e)=>`${p(e)}/apps/webappbuilder/index.html?id=${t.id}`,ue=(t,e)=>{let r=p(e),n=m(r),a=`https://survey123${b[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=v(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},pe=(t,e)=>{let r=p(e),n=m(r),a=`https://insights${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/#/edit/${t.id}`},de=(t,e)=>{let r=p(e),n=m(r),a=`https://urban${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/?id=${t.id}`},H=t=>t.indexOf("arcgis.com")===-1;function Ve(t,e){return`${fe(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function fe(t){return I(t).replace(/\/api\/v3$/,"")}var Je=async(t,e)=>{let n=`${I(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};function _(t){let e=!1;return t&&(e=!(t.typeKeywords||[]).includes(d)),e}function Ze(t,e){let r=(t||[]).filter(n=>n!==d);return e||r.push(d),r}var W=class{constructor(e){this.mappings=e}storeToEntity(e,r){let n=me(e,r,this.mappings);if(c(e,"item")){let a=c(e,"item");f("canEdit",["admin","update"].includes(a.itemControl),n),f("canDelete",a.itemControl==="admin",n),f("canRecycle",a.canRecycle||!1,n),f("protected",a.protected,n)}return n}entityToStore(e,r){return ge(e,r,this.mappings)}};function ge(t,e,r){if(c(e,"item")){let n=c(e,"item");n.typeKeywords&&(n.typeKeywords=c(t,"isDiscussable")?n.typeKeywords.filter(a=>a!==d):[...n.typeKeywords,d],f("item.typeKeywords",n.typeKeywords,e))}return G(t,"entityKey",e,"storeKey",r)}function me(t,e,r){if(c(t,"item")){let n=c(t,"item");f("isDiscussable",_(n),e)}return G(t,"storeKey",e,"entityKey",r)}function G(t,e,r,n,a){let o=y(r);return a.forEach(i=>{let s=c(i,e),l=c(i,n),u=c(t,s);u!=null&&h(o,l,u,!0)}),o}export{f as a,Se as b,Pe as c,xe as d,_e as e,We as f,Ge as g,Ke as h,Ve as i,Je as j,_ as k,Ze as l,W as m,ge as n,me as o};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{a,b}from"./HSIGQHGC.js";import"./E4P22JZK.js";import"./V5XUAHEB.js";export{a as ChannelEditorTypes,b as ChannelSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import{a as n}from"./
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{a as n}from"./VERJI2SH.js";import{B as r,c as t,d as i,q as s,w as o}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var a=t`@layer{/** @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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import{a}from"./
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{a}from"./GAQOXRME.js";import{a as i}from"./IC5TQPF6.js";import"./VNZX57M6.js";import"./FXQSFX4Q.js";import{a as l,b as r}from"./4S2LGGIS.js";import"./ISRQ3BAT.js";import"./6MOBEALK.js";import"./VQQVMG7C.js";import"./Z2FRREMF.js";import"./ZEFQFCIT.js";import{a as t}from"./AIWA7X7G.js";import"./DC3N7IST.js";import"./HSIGQHGC.js";import"./E4P22JZK.js";import"./CAGLPIPF.js";import"./EJZKFB4Z.js";import"./OATNKA2V.js";import"./HK7ORFOY.js";import"./HP45S4UO.js";import"./VZG427AU.js";import"./K6YZHC7R.js";import"./JALWXGJR.js";import"./ROIVGYSM.js";import"./DXQ3LDCB.js";import"./NEVOR7UF.js";import"./WY7PHM6L.js";import"./4NGMIXLU.js";import"./CPBVNIA2.js";import"./KTYRFLWJ.js";import"./Y7WVUKZX.js";import"./EIQNRR4P.js";import"./SXRISHGN.js";import"./RUTSW7HN.js";import"./V5XUAHEB.js";var u=async(e,s,o)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,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`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.status.label`,scope:"/properties/status",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await l(s.location,o.hubRequestOptions),options:await r(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:a(o.currentUser.groups),disabled:!i("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]});export{u 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import{g as u,h as g}from"./
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{g as u,h as g}from"./YYNMVPOT.js";var M=(e,o,s)=>{let c=e.get(o);c?c.includes(s)||c.push(s):e.set(o,[s])},O=(e,o)=>{let s;return(...c)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...c)},o)}},_=e=>!("isConnected"in e)||e.isConnected,w=O(e=>{for(let o of e.keys())e.set(o,e.get(o).filter(_))},2e3),T=()=>{if(typeof u!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:o=>{let s=u();s&&M(e,o,s)},set:o=>{let s=e.get(o);s&&e.set(o,s.filter(g)),w(e)},reset:()=>{e.forEach(o=>o.forEach(g)),w(e)}}},h=e=>typeof e=="function"?e():e,U=(e,o=(s,c)=>s!==c)=>{let s=h(e),c=new Map(Object.entries(s??{})),i={dispose:[],get:[],set:[],reset:[]},l=()=>{c=new Map(Object.entries(h(e)??{})),i.reset.forEach(t=>t())},E=()=>{i.dispose.forEach(t=>t()),l()},p=t=>(i.get.forEach(n=>n(t)),c.get(t)),a=(t,n)=>{let r=c.get(t);o(n,r,t)&&(c.set(t,n),i.set.forEach(f=>f(t,n,r)))},y=typeof Proxy>"u"?{}:new Proxy(s,{get(t,n){return p(n)},ownKeys(t){return Array.from(c.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(t,n){return c.has(n)},set(t,n,r){return a(n,r),!0}}),d=(t,n)=>(i[t].push(n),()=>{P(i[t],n)});return{state:y,get:p,set:a,on:d,onChange:(t,n)=>{let r=d("set",(x,C)=>{x===t&&n(C)}),f=d("reset",()=>n(h(e)[t]));return()=>{r(),f()}},use:(...t)=>{let n=t.reduce((r,f)=>(f.set&&r.push(d("set",f.set)),f.get&&r.push(d("get",f.get)),f.reset&&r.push(d("reset",f.reset)),f.dispose&&r.push(d("dispose",f.dispose)),r),[]);return()=>n.forEach(r=>r())},dispose:E,reset:l,forceUpdate:t=>{let n=c.get(t);i.set.forEach(r=>r(t,n,n))}}},P=(e,o)=>{let s=e.indexOf(o);s>=0&&(e[s]=e[e.length-1],e.length--)},S=(e,o)=>{let s=U(e,o);return s.use(T()),s};export{S 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import{a as u,b as m}from"./
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{a as u,b as m}from"./4FO53H2N.js";import{b as g}from"./7K2EWZ4V.js";import{B as p,c as o,d as l,w as d}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var f=o`/** @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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import{a as e,b as i,c as l,d as s,e as t}from"./
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{a as e,b as i,c as l,d as s,e as t}from"./T6ACGRID.js";import{a as r}from"./AIWA7X7G.js";import"./DC3N7IST.js";import"./HSIGQHGC.js";import"./E4P22JZK.js";import"./CAGLPIPF.js";import"./EJZKFB4Z.js";import"./OATNKA2V.js";import"./HK7ORFOY.js";import"./HP45S4UO.js";import"./VZG427AU.js";import"./K6YZHC7R.js";import"./JALWXGJR.js";import"./ROIVGYSM.js";import"./DXQ3LDCB.js";import"./NEVOR7UF.js";import"./WY7PHM6L.js";import"./4NGMIXLU.js";import"./CPBVNIA2.js";import"./KTYRFLWJ.js";import"./Y7WVUKZX.js";import"./EIQNRR4P.js";import"./SXRISHGN.js";import"./RUTSW7HN.js";import"./V5XUAHEB.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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import{a as h}from"./
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{a as h}from"./OWMSCTHB.js";import{a as Y}from"./JOKITFSD.js";import{a as R}from"./W3ANKXXH.js";import{a as V,d as W,e as H,f as B,g as J,h as G}from"./KYFGGGZO.js";import{c as y,f as E,l as b,m as I}from"./2VGSUSSJ.js";import"./FAZOBB62.js";import"./DCZKZQPQ.js";import"./ALKYMGVV.js";import{a as M,c as U,e as C}from"./FM3TGG3U.js";import"./5IPD66RZ.js";import{a as N,d as F}from"./VNZX57M6.js";import{a as g}from"./FXQSFX4Q.js";import{d as j}from"./YIDDZHZJ.js";import"./EELLYXNN.js";import{a as p,b as A,c as L,e as u}from"./EYFKB5UR.js";import"./GQO2KP3I.js";import"./ISRQ3BAT.js";import"./6MOBEALK.js";import{h as $}from"./H3GY7WZY.js";import"./VQQVMG7C.js";import"./Z2FRREMF.js";import{a as l}from"./ZEFQFCIT.js";import{b as T}from"./SXRISHGN.js";import"./V5XUAHEB.js";function X(e,t=!1){let{id:r,properties:i}=e,o=i?.slug;return o?M(t?C(o,r):o):r}var d;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(d||(d={}));var f;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(f||(f={}));function z(e,t){var r;let i=e._slug;delete e._slug;let o=p(e);return o.orgUrlKey=e.orgUrlKey?e.orgUrlKey:t.urlKey,o.extent=(r=e.location)===null||r===void 0?void 0:r.extent,i&&(o.slug=U(i,o.orgUrlKey)),o}var le=1,ue=e=>[{orgid:[e]},{type:{not:["Code Attachment"]}}],ye=e=>[{orgId:e}],de={item:ue,event:ye};function Q(e){if(l(e,"schemaVersion")===le)return e;{let t=p(e);return t=fe(t),t}}function fe(e){if(l(e,"schemaVersion")>1)return e;{let t={schemaVersion:1,title:"Default Catalog",scopes:{item:{targetEntity:"item",filters:[]},event:{targetEntity:"event",filters:[]}},collections:[]},r=l(e,"groups")||[],i=[];Array.isArray(r)&&r.length?i=r:typeof r=="string"&&(i=[r]),i.length&&(t.scopes=Object.entries(t.scopes).reduce((n,s)=>Object.assign(Object.assign({},n),{[s[0]]:Object.assign(Object.assign({},s[1]),{filters:[{predicates:[{group:i}]}]})}),{}));let o=l(e,"orgId");return o&&(t.scopes=Object.entries(t.scopes).reduce((n,s)=>{let a=s[0],c=s[1];return Object.assign(Object.assign({},n),{[a]:Object.assign(Object.assign({},c),{filters:[...c.filters,{operation:"AND",predicates:de[a](o)}]})})},{})),t}}function Z(e,t){let r=Object.assign(Object.assign({},t),e),i=Object.keys(t);return Object.keys(r).reduce((n,s)=>(i.includes(s)||n.push(s),n),[]).forEach(n=>{delete r[n]}),r}function q(e,t){let r;return t.authentication&&(r=t.authentication.token),{self:j(e.id,t),siteRelative:E(e.type,X(e),e.typeKeywords),siteRelativeEntityType:E(e.type),workspaceRelative:Y(e.type,e.id),thumbnail:y(e,t,r)}}var w="Hub Project",ee={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:T.notStarted,tags:[],typeKeywords:[w],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:N},te={item:{type:w,title:"",description:"",snippet:"",tags:[],typeKeywords:[w],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:T.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function re(e,t){return q(e,t)}function v(e,t,r){var i,o;let n;return r.authentication&&(n=r.authentication.token),t=H(e.item,t),t.thumbnailUrl=y(e.item,r,n),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(i=e.data.view)===null||i===void 0?void 0:i.featuredImageUrl}),t.catalog=Q(t.catalog||{}),t.features=Z(((o=e.data.settings)===null||o===void 0?void 0:o.features)||{},F),t.links=re(e.item,r),t}function _(){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},t,r){let{value:i,valueType:o,dynamicMetric:n}=e,s=R(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:m,statistic:x,serviceUrl:se,fieldType:ne,sourceLink:D,sourceTitle:O,allowExpressionSet:k,expressionSet:P,legacyWhere:S}=n||{},{entityInfo:ae,metricName:ce}=r||{},pe={source:e.type==="dynamic"?{type:"service-query",serviceUrl:se,layerId:a,field:m,statistic:x,where:S||ge(k?P:[])}:{type:"static-value",value:i,valueType:o},name:ce||t,entityInfo:ae||{id:void 0,name:void 0,type:void 0},id:t};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||f.hidden,metricId:t,fieldType:ne,itemId:c,expressionSet:P,allowExpressionSet:k,statistic:x,sourceLink:e.type==="dynamic"&&D?D:s.sourceLink,sourceTitle:e.type==="dynamic"&&O?O:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:pe,displayConfig:me}}function ge(e=[]){let t=e.map(r=>{let{field:i,values:o,relationship:n}=r,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!o||!o.length||!i||!i.name)return!1;let a;switch(i.type){case"esriFieldTypeString":a=n===d.LIKE?`${i.name} like '%${o[0]}%'`:`(${i.name} IN (${o.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof o[0]=="string"&&(a=`${i.name} >= timestamp '${s(o[0])} 00:00:00'`),typeof o[1]=="string"&&(a=`${i.name} <= timestamp '${s(o[1])} 23:59:59'`),typeof o[0]=="string"&&typeof o[1]=="string"&&(a=`${i.name} >= timestamp '${s(o[0])} 00:00:00' AND ${i.name} <= timestamp '${s(o[1])} 23:59:59'`);break;default:u(o[0])||(a=`(${i.name}) >= ${o[0]}`),u(o[1])||(a=`(${i.name}) <= ${o[1]}`),!u(o[0])&&!u(o[1])&&(a=`(${i.name}) >= ${o[0]} AND (${i.name}) <= ${o[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(t)}function K(e,t){let r=e.filter(i=>!i.startsWith("status|"));return r.push(`status|${t}`),r}function oe(e,t,r){let i=p(e),o=t.id,n=g(i,"metrics",[]),s=n.findIndex(m=>m.id===o),a=g(i,"view.metricDisplays",[]),c=a.findIndex(m=>m.metricId===o);return s>-1?n[s]=t:n.push(t),c>-1?a[c]=r:a.push(r),i.view.metricDisplays=a,i.metrics=n,i}async function Tt(e,t){let r=Object.assign(Object.assign({},ee),e);r.slug||(r.slug=V(r.name,r.orgUrlKey)),await h(r,t),r.typeKeywords=K(r.typeKeywords,r.status),r.typeKeywords=b(r.typeKeywords,r.isDiscussable);let i=new I(_()),o=i.entityToStore(r,p(te));o=await J(o,t);let n=i.storeToEntity(o,{});return n=v(o,n,t),n}function Et(e,t){var r;let i=e._metric;delete e._groups,delete e._thumbnail,(r=e.view)===null||r===void 0||delete r.featuredImage,delete e._metric,delete e._groups;let o=z(e,t);if(i&&Object.keys(i).length){let n=i.metricId||A(L(`${i.cardTitle}_`)),{metric:s,displayConfig:a}=ie(i,n,{metricName:i.cardTitle});o=oe(o,s,a)}return o}async function ht(e,t){await h(e,t),e.typeKeywords=K(e.typeKeywords,e.status),e.typeKeywords=b(e.typeKeywords,e.isDiscussable);let r=await B(e.id,t),i=new I(_()),o=i.entityToStore(e,r),n=await G(o,t),s=i.storeToEntity(n,e);return s=v(r,s,t),s}async function bt(e,t){let r=Object.assign(Object.assign({},t),{id:e});await $(r)}export{Tt as createProject,bt as deleteProject,Et as editorToProject,ht as updateProject};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import{a as n}from"./
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{a as n}from"./VERJI2SH.js";import{B as r,c as s,d as t,q as i,w as o}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var a=s`@layer{/** @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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import{a as m,b as o,c as T,d as E}from"./
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{a as m,b as o,c as T,d as E}from"./DXQ3LDCB.js";import{a as t,b as e}from"./NEVOR7UF.js";import{a as n,c as i,e as a,f as r,i as s,k as p}from"./RUTSW7HN.js";import"./V5XUAHEB.js";var l=()=>({$async:!0,required:["name","startDate","endDate","timeZone"],properties:{name:n,description:{type:"string"},_thumbnail:p,attendanceType:{type:"string",enum:[t.InPerson,t.Online,t.Both],default:t.InPerson},startDate:{type:"string",format:"date"},endDate:{type:"string",format:"date",formatMinimum:{$data:"1/startDate"}},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1},timeZone:{type:"string"},inPersonCapacity:{type:"number"},inPersonCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},location:Object.assign(Object.assign({},s),{allOf:[{if:{properties:{type:{enum:["custom","org"]}}},then:{required:["name"]}}]}),onlineUrl:{type:"string"},onlineDetails:{type:"string"},onlineCapacity:{type:"number"},onlineCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},summary:i,tags:a,categories:r},allOf:[o,m,T,E]});export{l as buildSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import{f as c,r as $,s as d,t as f,u as A}from"./
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{f as c,r as $,s as d,t as f,u as A}from"./YXGKJSHK.js";var o=(t,e)=>{let s=t._$AN;if(s===void 0)return!1;for(let i of s)i._$AO?.(e,!1),o(i,e);return!0},n=t=>{let e,s;do{if((e=t._$AM)===void 0)break;s=e._$AN,s.delete(t),t=e}while(s?.size===0)},v=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(s===void 0)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),m(e)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,v(this)):this._$AM=t}function u(t,e=!1,s=0){let i=this._$AH,_=this._$AN;if(_!==void 0&&_.size!==0)if(e)if(Array.isArray(i))for(let h=s;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==$.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends f{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,s,i){super._$AT(e,s,i),v(this),this.isConnected=e._$AU}_$AO(e,s=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),s&&(o(this,e),n(this))}setValue(e){if(A(this._$Ct))this._$Ct._$AI(e,this);else{let s=[...this._$Ct._$AH];s[this._$Ci]=e,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}};var T=()=>new l,l=class{},a=new WeakMap,w=d(class extends r{render(t){return c}update(t,[e]){let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.G=="function"){let e=this.ht??globalThis,s=a.get(e);s===void 0&&(s=new WeakMap,a.set(e,s)),s.get(this.G)!==void 0&&this.G.call(this.ht,void 0),s.set(this.G,t),t!==void 0&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return typeof this.G=="function"?a.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{T as a,w as b};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import"./V5XUAHEB.js";var B=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var x=e=>{let t=[],r=0;return e=e.replace(/(\[[^\]]*\])/g,(s,a)=>{let c=`__ph-${r}__`;return t.push(a),r++,c}),{content:e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(s,a,c)=>{let l=`__ph-${r}__`;return t.push(c),r++,a+l}),placeholders:t}},L=(e,t)=>t.replace(/__ph-(\d+)__/g,(r,n)=>e[+n]),f="-shadowcsshost",E="-shadowcssslotted",w="-shadowcsscontext",$=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",P=new RegExp("("+f+$,"gim"),W=new RegExp("("+w+$,"gim"),j=new RegExp("("+E+$,"gim"),h=f+"-no-combinator",N=/-shadowcsshost-no-combinator([^\s]*)/,M=[/::shadow/g,/::content/g],D="([>\\s~+[.,{:][\\s\\S]*)?$",R=/-shadowcsshost/gim,H=e=>new RegExp(`((?<!(^@supports(.*)))|(?<={.*))(${e}\\b)`,"gim"),K=H("::slotted"),U=H(":host"),Y=H(":host-context"),A=/\/\*\s*[\s\S]*?\*\//g,G=e=>e.replace(A,""),I=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,q=e=>e.match(I)||[],z=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,F=/([{}])/g,J=/(^.*?[^\\])??((:+)(.*)|$)/,Q="{",V="}",S="%BLOCK%",X=(e,t)=>{let r=Z(e),n=0;return r.escapedString.replace(z,(...o)=>{let s=o[2],a="",c=o[4],l="";c&&c.startsWith("{"+S)&&(a=r.blocks[n++],c=c.substring(S.length+1),l="{");let d=t({selector:s,content:a});return`${o[1]}${d.selector}${o[3]}${l}${d.content}${c}`})},Z=e=>{let t=e.split(F),r=[],n=[],o=0,s=[];for(let c=0;c<t.length;c++){let l=t[c];l===V&&o--,o>0?s.push(l):(s.length>0&&(n.push(s.join("")),r.push(S),s=[]),r.push(l)),l===Q&&o++}return s.length>0&&(n.push(s.join("")),r.push(S)),{escapedString:r.join(""),blocks:n}},T=e=>(e=e.replace(Y,`$1${w}`).replace(U,`$1${f}`).replace(K,`$1${E}`),e),O=(e,t,r)=>e.replace(t,(...n)=>{if(n[2]){let o=n[2].split(","),s=[];for(let a=0;a<o.length;a++){let c=o[a].trim();if(!c)break;s.push(r(h,c,n[3]))}return s.join(",")}else return h+n[3]}),b=(e,t,r)=>e+t.replace(f,"")+r,ee=e=>O(e,P,b),te=(e,t,r)=>t.indexOf(f)>-1?b(e,t,r):e+t+r+", "+t+" "+e+r,re=(e,t)=>{let r="."+t+" > ",n=[];return e=e.replace(j,(...o)=>{if(o[2]){let s=o[2].trim(),a=o[3],c=r+s+a,l="";for(let g=o[4]-1;g>=0;g--){let p=o[5][g];if(p==="}"||p===",")break;l=p+l}let u=(l+c).trim(),d=`${l.trimEnd()}${c.trim()}`.trim();if(u!==d){let g=`${d}, ${u}`;n.push({orgSelector:u,updatedSelector:g})}return c}else return h+o[3]}),{selectors:n,cssText:e}},oe=e=>O(e,W,te),ne=e=>M.reduce((t,r)=>t.replace(r," "),e),se=e=>{let t=/\[/g,r=/\]/g;return e=e.replace(t,"\\[").replace(r,"\\]"),new RegExp("^("+e+")"+D,"m")},ce=(e,t)=>!se(t).test(e),k=(e,t)=>e.replace(J,(r,n="",o,s="",a="")=>n+t+s+a),ae=(e,t,r)=>{if(R.lastIndex=0,R.test(e)){let n=`.${r}`;return e.replace(N,(o,s)=>k(s,n)).replace(R,n+" ")}return t+" "+e},le=(e,t,r)=>{let n=/\[is=([^\]]*)\]/g;t=t.replace(n,(v,...i)=>i[0]);let o="."+t,s=v=>{let i=v.trim();if(!i)return"";if(v.indexOf(h)>-1)i=ae(v,t,r);else{let _=v.replace(R,"");_.length>0&&(i=k(_,o))}return i},a=x(e);e=a.content;let c="",l=0,u,d=/( |>|\+|~(?!=))\s*/g,p=!(e.indexOf(h)>-1);for(;(u=d.exec(e))!==null;){let v=u[1],i=e.slice(l,u.index).trim();p=p||i.indexOf(h)>-1;let _=p?s(i):i;c+=`${_} ${v} `,l=d.lastIndex}let m=e.substring(l);return p=p||m.indexOf(h)>-1,c+=p?s(m):m,L(a.placeholders,c)},pe=(e,t,r,n)=>e.split(",").map(o=>n&&o.indexOf("."+n)>-1?o.trim():ce(o,t)?le(o,t,r).trim():o.trim()).join(", "),y=(e,t,r,n)=>X(e,o=>{let s=o.selector,a=o.content;return o.selector[0]!=="@"?s=pe(o.selector,t,r,n):(o.selector.startsWith("@media")||o.selector.startsWith("@supports")||o.selector.startsWith("@page")||o.selector.startsWith("@document"))&&(a=y(o.content,t,r,n)),{selector:s.replace(/\s{2,}/g," ").trim(),content:a}}),ie=(e,t,r,n)=>{e=T(e),e=ee(e),e=oe(e);let o=re(e,n);return e=o.cssText,e=ne(e),t&&(e=y(e,t,r,n)),e=C(e,r),e=e.replace(/>\s*\*\s+([^{, ]+)/gm," $1 "),{cssText:e.trim(),slottedSelectors:o.selectors.map(s=>({orgSelector:C(s.orgSelector,r),updatedSelector:C(s.updatedSelector,r)}))}},C=(e,t)=>e.replace(/-shadowcsshost-no-combinator/g,`.${t}`),ue=(e,t)=>{let r=t+"-h",n=t+"-s",o=q(e);e=G(e);let s=ie(e,t,r,n);return e=[s.cssText,...o].join(`
|
5
5
|
`),s.slottedSelectors.forEach(a=>{let c=new RegExp(B(a.orgSelector),"g");e=e.replace(c,a.updatedSelector)}),e};export{ue as scopeCss};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import{a as r,b as s,c as a,d as n}from"./
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import{a as r,b as s,c as a,d as n}from"./CPBVNIA2.js";import{c as e}from"./KTYRFLWJ.js";import{a as i}from"./EIQNRR4P.js";import{b as t}from"./SXRISHGN.js";var m=["hub:initiative:edit","hub:initiative:create","hub:initiative:create2","hub:initiative:metrics","hub:initiative:associations","hub:initiative:settings"],b=Object.assign(Object.assign({},i),{properties:Object.assign(Object.assign({},i.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:e.properties}}),allOf:[s,r,n,a]});export{m as a,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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
4
|
var s="calcite-mode-light",t="calcite-mode-dark";function o(r){let e=r?.closest(`.${t}, .${s}`);return e==null?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e?.classList.contains(t)?"dark":"light"}export{o as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
|
+
import"./V5XUAHEB.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};
|