@esri/solutions-components 1.0.4 → 1.0.5
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/{NZJDAUCM.js → 22F7LFMG.js} +2 -2
- package/dist/cdn/{EKX5RPAU.js → 25FEJN5O.js} +2 -2
- package/dist/cdn/{RNVECRCO.js → 25JM7WUJ.js} +2 -2
- package/dist/cdn/{62OBHD7N.js → 2A6DDRTH.js} +2 -2
- package/dist/cdn/{O42JTMA4.js → 2BDPGGKC.js} +2 -2
- package/dist/cdn/{Y2GJJZVT.js → 2IRIOH44.js} +2 -2
- package/dist/cdn/{GPR4I62X.js → 2LVUHNL4.js} +2 -2
- package/dist/cdn/{B5TR3333.js → 2QFMILDU.js} +2 -2
- package/dist/cdn/{7KJZVI5W.js → 2RWXUIPE.js} +2 -2
- package/dist/cdn/2TT2EKLS.js +4 -0
- package/dist/cdn/{3KRHILOK.js → 2VXYY4NW.js} +1 -1
- package/dist/cdn/{DHOIKSPR.js → 33UPFZYZ.js} +2 -2
- package/dist/cdn/{3HR3VX4I.js → 34BPQSHF.js} +2 -2
- package/dist/cdn/{O5G3N4I4.js → 35ZVLYI7.js} +2 -2
- package/dist/cdn/36RPCHBW.js +18 -0
- package/dist/cdn/{V46NQTOH.js → 3IMXMLFS.js} +2 -2
- package/dist/cdn/3LJQBCLM.js +18 -0
- package/dist/cdn/{UZQC4ZVD.js → 3RLVYGV7.js} +2 -2
- package/dist/cdn/{JSML77IB.js → 43R5NRNV.js} +1 -1
- package/dist/cdn/{EOWZY5KN.js → 4527TPFQ.js} +1 -1
- package/dist/cdn/4HAO722I.js +4 -0
- package/dist/cdn/{NXZAIYZX.js → 4J5HYMPQ.js} +2 -2
- package/dist/cdn/{WB2FCUBE.js → 4SF42JCK.js} +2 -2
- package/dist/cdn/{XXJ2SGBR.js → 4UCCOTIL.js} +2 -2
- package/dist/cdn/{FTC6GK32.js → 4ULTYKHN.js} +2 -2
- package/dist/cdn/56FAI7QX.js +18 -0
- package/dist/cdn/{MIBMXAW4.js → 5CGYAFLG.js} +2 -2
- package/dist/cdn/{CSQMTZUS.js → 5JHZFHQW.js} +2 -2
- package/dist/cdn/{X63ISSA7.js → 5JYWXCER.js} +2 -2
- package/dist/cdn/{MN4AZD42.js → 5K5LGI4X.js} +2 -2
- package/dist/cdn/{HOQDPNYX.js → 5LOTR4DW.js} +2 -2
- package/dist/cdn/{P3ZGSTRY.js → 5QHONC74.js} +2 -2
- package/dist/cdn/5S2FZKYO.js +18 -0
- package/dist/cdn/{5KH5K5HP.js → 5TRSWX6M.js} +2 -2
- package/dist/cdn/{PSP2EVIP.js → 5WAZGRRD.js} +2 -2
- package/dist/cdn/{3HVOQ754.js → 5WNLR3DS.js} +2 -2
- package/dist/cdn/{UD6VCHUK.js → 64ETTMNQ.js} +2 -2
- package/dist/cdn/{EUZPXNNK.js → 65NNPWV7.js} +1 -1
- package/dist/cdn/6LUI2X3G.js +18 -0
- package/dist/cdn/{N7IUWXAA.js → 6N7ZWEZT.js} +2 -2
- package/dist/cdn/{2UH456LC.js → 6U4PV22I.js} +1 -1
- package/dist/cdn/{GCOXBUN5.js → 6XYUDJQ2.js} +1 -1
- package/dist/cdn/{C3OFPO6W.js → 7244YR36.js} +2 -2
- package/dist/cdn/{KNBDWSMQ.js → 76DZHGT4.js} +2 -2
- package/dist/cdn/{GAV3AXFW.js → 76JQ5L7D.js} +2 -2
- package/dist/cdn/{MEIVZYDH.js → 7ATYJT4O.js} +2 -2
- package/dist/cdn/{NDWOAOHX.js → 7B2MAX64.js} +1 -1
- package/dist/cdn/{O6DAQEXK.js → 7M5YUYGE.js} +2 -2
- package/dist/cdn/{EFKYF4YS.js → 7NDRZHL6.js} +2 -2
- package/dist/cdn/{CUKJYJQY.js → 7NMV3XFP.js} +1 -1
- package/dist/cdn/{IEEVFYKM.js → 7OEQCUDV.js} +1 -1
- package/dist/cdn/{PY6UCRJ4.js → 7OZSPB2F.js} +2 -2
- package/dist/cdn/{A3ZMYVXL.js → 7WZE34BF.js} +2 -2
- package/dist/cdn/{6M3KYJDD.js → 7YFBO4YO.js} +2 -2
- package/dist/cdn/{YXM7GNWW.js → A4L4EUDH.js} +2 -2
- package/dist/cdn/{DYEFEHAR.js → AC7K2P6S.js} +11 -11
- package/dist/cdn/{NZ6L23VR.js → AGGLKLN3.js} +2 -2
- package/dist/cdn/{3VRCHULS.js → AHHA6SMZ.js} +2 -2
- package/dist/cdn/{GGCVMVWS.js → AOOQAYSR.js} +2 -2
- package/dist/cdn/{7W5RZY7N.js → AQZ3QIKE.js} +2 -2
- package/dist/cdn/{XZQRI4EN.js → AXDYNDWC.js} +1 -1
- package/dist/cdn/{TFCVVUA3.js → AYBHICHM.js} +2 -2
- package/dist/cdn/{YF5TQNZI.js → AYDTR35F.js} +2 -2
- package/dist/cdn/AYND4SCK.js +4 -0
- package/dist/cdn/{7M4VGKUT.js → B2AAEHPJ.js} +2 -2
- package/dist/cdn/{M6I7SCR3.js → B4PHULG7.js} +2 -2
- package/dist/cdn/B5754CLI.js +4 -0
- package/dist/cdn/{3PNCQZNB.js → BRSXWNGO.js} +2 -2
- package/dist/cdn/{A6ZN7UQQ.js → C6WPV722.js} +2 -2
- package/dist/cdn/{SK6BPGF7.js → CBITJT5D.js} +4 -4
- package/dist/cdn/CDBDE4TC.js +18 -0
- package/dist/cdn/{F7N2K2CB.js → CFPXLHXR.js} +2 -2
- package/dist/cdn/{UHGKM2WA.js → CGZZGJLP.js} +2 -2
- package/dist/cdn/{DJ4ET7YE.js → CJFK6TKW.js} +2 -2
- package/dist/cdn/CXN63GPC.js +18 -0
- package/dist/cdn/{HPVZXEFN.js → CXOHKJLR.js} +1 -1
- package/dist/cdn/{UBNEDJDQ.js → CYHKUA3T.js} +2 -2
- package/dist/cdn/{H3QBALK4.js → D2SOXDMW.js} +2 -2
- package/dist/cdn/{SU5YNWLR.js → D2UIHI5N.js} +2 -2
- package/dist/cdn/D2XDABCT.js +20 -0
- package/dist/cdn/{ST5DNJ5A.js → D3RXCR6Q.js} +1 -1
- package/dist/cdn/{TIJ35HYZ.js → DC2VXLYA.js} +2 -2
- package/dist/cdn/{DBZRC2CE.js → DCYHSAL2.js} +2 -2
- package/dist/cdn/{S3O4R37V.js → DHVPMGLT.js} +2 -2
- package/dist/cdn/{U75KCBUY.js → DO5IRX2P.js} +2 -2
- package/dist/cdn/DP2E5JFM.js +4 -0
- package/dist/cdn/DSA7P4FN.js +18 -0
- package/dist/cdn/{7WWEF64M.js → DZ75SULS.js} +2 -2
- package/dist/cdn/{DNSJZC4P.js → E4626BS2.js} +2 -2
- package/dist/cdn/{NNED4X6O.js → EEECQWVR.js} +2 -2
- package/dist/cdn/{ADQGTHIK.js → EHUPQ5JP.js} +2 -2
- package/dist/cdn/{TZTD5Q2B.js → EJ7VKYZG.js} +2 -2
- package/dist/cdn/{NT3MKX5U.js → EL5KWKMD.js} +2 -2
- package/dist/cdn/{7UJMLOZS.js → EPYFVSXR.js} +2 -2
- package/dist/cdn/{MFRHP354.js → EV22N3KD.js} +2 -2
- package/dist/cdn/{GDUFF5HE.js → EW3T5VLB.js} +2 -2
- package/dist/cdn/{XTADI7OE.js → EX6HJQ4X.js} +2 -2
- package/dist/cdn/{MFHU7RCE.js → FDNO4BVO.js} +2 -2
- package/dist/cdn/{2IQPFNPX.js → FFJCM7BG.js} +2 -2
- package/dist/cdn/{ZQUJEICA.js → FKCBARKI.js} +2 -2
- package/dist/cdn/{XURZ7NUD.js → FLX4QZPY.js} +4 -4
- package/dist/cdn/{4QEWKLNG.js → FQTZU3Z2.js} +2 -2
- package/dist/cdn/{UFT52UFX.js → FZV7IALP.js} +2 -2
- package/dist/cdn/{EK6E5RV4.js → G2PAP4HL.js} +2 -2
- package/dist/cdn/{Q4EXL46G.js → G56M322A.js} +2 -2
- package/dist/cdn/{ROGVNZHG.js → G7LK4PDL.js} +2 -2
- package/dist/cdn/{FMIGRU3V.js → GE2KFI4B.js} +3 -3
- package/dist/cdn/{T2MYK67I.js → GFTGPFHL.js} +2 -2
- package/dist/cdn/{CFXL3A27.js → GFTMWJE2.js} +2 -2
- package/dist/cdn/{3M5E2W6J.js → GGBJCIO7.js} +2 -2
- package/dist/cdn/{QFODTZZX.js → GJ2UG6YP.js} +2 -2
- package/dist/cdn/{2N3SSEWE.js → GKBVNMEW.js} +2 -2
- package/dist/cdn/{ORKHRXHB.js → GUN44VYU.js} +2 -2
- package/dist/cdn/{OHWF5VUN.js → H36GDFY7.js} +1 -1
- package/dist/cdn/{P5WUMEFT.js → H3C4GIDZ.js} +2 -2
- package/dist/cdn/{J2SERNA3.js → H3FM5UM6.js} +1 -1
- package/dist/cdn/{VRFHYYVR.js → H4HFWY3H.js} +2 -2
- package/dist/cdn/{CHBTCIMS.js → H72WOGJ7.js} +2 -2
- package/dist/cdn/{I74ECT7N.js → HCCTS5WV.js} +2 -2
- package/dist/cdn/{VCK56OWN.js → HKKUMEH5.js} +1 -1
- package/dist/cdn/{UK42NUMO.js → HM7EBFPG.js} +2 -2
- package/dist/cdn/{AD654KDS.js → HNUCWI6T.js} +2 -2
- package/dist/cdn/{VY7KRQYG.js → HOTDMMJJ.js} +2 -2
- package/dist/cdn/{PKEJXERE.js → HPUAGDRV.js} +2 -2
- package/dist/cdn/{WNOY5N4R.js → HR2HFJXC.js} +1 -1
- package/dist/cdn/HRBMV6MS.js +18 -0
- package/dist/cdn/HZILY6RQ.js +18 -0
- package/dist/cdn/{A7PIN73K.js → I3SHQQXU.js} +2 -2
- package/dist/cdn/{Z2J6R7BH.js → I3ZD6IV4.js} +1 -1
- package/dist/cdn/{3PGLZBWX.js → IAHPQU5I.js} +2 -2
- package/dist/cdn/{CH7DLGUP.js → IFPYTV3R.js} +1 -1
- package/dist/cdn/{5FTGQPO5.js → IHQISHAM.js} +2 -2
- package/dist/cdn/{6QIO3AQD.js → IMFE25FS.js} +2 -2
- package/dist/cdn/IMYZB3YV.js +18 -0
- package/dist/cdn/{B5XYDLJB.js → IPXTSW43.js} +2 -2
- package/dist/cdn/{WG5YJAJK.js → IREZCPC5.js} +2 -2
- package/dist/cdn/{KC4KCTUH.js → IS4CHLDX.js} +2 -2
- package/dist/cdn/{DDOXQYTI.js → IVWP7URA.js} +2 -2
- package/dist/cdn/{DLQHSRI3.js → J252EEIH.js} +2 -2
- package/dist/cdn/{TPLOAFHX.js → JAMFZUE3.js} +2 -2
- package/dist/cdn/{UYA6RFIA.js → JJJAHCRO.js} +2 -2
- package/dist/cdn/{KEC5BNS2.js → JMMD7YBL.js} +2 -2
- package/dist/cdn/{JWLGFVVC.js → JOWT5YJ4.js} +2 -2
- package/dist/cdn/{5YJKRSII.js → JRMGFAZK.js} +2 -2
- package/dist/cdn/{PEHGGHQ4.js → JUVS4QTT.js} +2 -2
- package/dist/cdn/JYDRZHOB.js +4 -0
- package/dist/cdn/{MN5Q6VKW.js → KJOPUX6H.js} +2 -2
- package/dist/cdn/{YOTDGZIS.js → KQIW24JY.js} +2 -2
- package/dist/cdn/{ENKVILKY.js → KQPN7NFG.js} +2 -2
- package/dist/cdn/{PEPBVRCK.js → KUFJAMWI.js} +3 -3
- package/dist/cdn/{5QPBHI6N.js → LG2N3IDQ.js} +2 -2
- package/dist/cdn/{NM3XHUXJ.js → LIXHHHMQ.js} +1 -1
- package/dist/cdn/{KPNSWPLU.js → LUCYOE4G.js} +2 -2
- package/dist/cdn/{6DXOCCZA.js → M35TRRGF.js} +1 -1
- package/dist/cdn/{X6NXSOAM.js → M3L66GKK.js} +2 -2
- package/dist/cdn/{UJSAFWWD.js → M4VZ4CMY.js} +2 -2
- package/dist/cdn/{UJN2FPCY.js → M6GEH5RY.js} +2 -2
- package/dist/cdn/{EQQAWMKP.js → M7HD332R.js} +1 -1
- package/dist/cdn/{GOMTEPFA.js → MK7N6OTA.js} +1 -1
- package/dist/cdn/{DVIQ73JS.js → ML3FDA7I.js} +2 -2
- package/dist/cdn/{WRG6UGAU.js → MO5VIHBL.js} +2 -2
- package/dist/cdn/{3CQVKR4G.js → MTDAXKJA.js} +1 -1
- package/dist/cdn/{XE2T5GMW.js → MURI73WZ.js} +2 -2
- package/dist/cdn/{2XKHAKJH.js → MVAWCLJQ.js} +2 -2
- package/dist/cdn/N54CIKSY.js +4 -0
- package/dist/cdn/{4V3EN7XG.js → N5MNRNS4.js} +2 -2
- package/dist/cdn/{CBMM32W4.js → NNNUOKAQ.js} +2 -2
- package/dist/cdn/{PQ75UOOH.js → NTJ65ON3.js} +2 -2
- package/dist/cdn/NTSPFMPN.js +18 -0
- package/dist/cdn/{IQE4M5WS.js → O4U6ZUNI.js} +2 -2
- package/dist/cdn/{PPCFTYMM.js → ODVL6BLS.js} +2 -2
- package/dist/cdn/{2MCXJEIU.js → OG4FHSPI.js} +1 -1
- package/dist/cdn/{EI2SLBFR.js → OGRHFK6Y.js} +2 -2
- package/dist/cdn/{W7DEAFBS.js → ONL3NL26.js} +2 -2
- package/dist/cdn/{755YFLK2.js → OORGXTFY.js} +2 -2
- package/dist/cdn/{5GEHFK5G.js → OOX6G6UE.js} +2 -2
- package/dist/cdn/{ZFQ2JKAE.js → OQJGVRY2.js} +2 -2
- package/dist/cdn/{FFIBCVX2.js → OTYGSW7W.js} +2 -2
- package/dist/cdn/{ZEFYE6IH.js → OZWDP6Y7.js} +2 -2
- package/dist/cdn/{SQA4Z3HQ.js → PGB7D5V5.js} +2 -2
- package/dist/cdn/{H4R7X2AK.js → PJSBBGLJ.js} +2 -2
- package/dist/cdn/{ATGDZI46.js → PKKVL46F.js} +2 -2
- package/dist/cdn/{AI6YM633.js → PLTCACVO.js} +2 -2
- package/dist/cdn/{ZTWWXPZM.js → PNZFKJGE.js} +2 -2
- package/dist/cdn/PP6K5WOA.js +4 -0
- package/dist/cdn/{5GCZQ47Q.js → PSUWSWTK.js} +2 -2
- package/dist/cdn/{GJGBNYWB.js → PWM7PIST.js} +3 -3
- package/dist/cdn/{DC2E55EL.js → Q5QONQ6T.js} +2 -2
- package/dist/cdn/{PMRPPUOG.js → Q66CZJP6.js} +1 -1
- package/dist/cdn/{3O2FMCDB.js → QBIXFYYE.js} +1 -1
- package/dist/cdn/{PTLSOJ2V.js → QH2LKILS.js} +2 -2
- package/dist/cdn/{WGL2BCUM.js → QNXFXUZA.js} +2 -2
- package/dist/cdn/{AK2IOGVT.js → QP26HSVE.js} +1 -1
- package/dist/cdn/{QENLODCT.js → QQPQDFEM.js} +2 -2
- package/dist/cdn/{ERJCAGCH.js → QU55HNGY.js} +2 -2
- package/dist/cdn/{WMRXZUG4.js → QUCDVIOQ.js} +2 -2
- package/dist/cdn/{SISGIM4G.js → QVLJY52I.js} +2 -2
- package/dist/cdn/{HZDGJLAD.js → QYU6USHT.js} +2 -2
- package/dist/cdn/{5ZUU5HU5.js → QZAU4Z6W.js} +2 -2
- package/dist/cdn/{CJOWQ5NE.js → R5UFCXCH.js} +2 -2
- package/dist/cdn/{THC2GZPK.js → RC3IVWI3.js} +1 -1
- package/dist/cdn/{R4JBNSHM.js → RCDWSNVF.js} +2 -2
- package/dist/cdn/{MICSEU5B.js → RIQFARZP.js} +2 -2
- package/dist/cdn/{NCLWZM55.js → RMU2WXMJ.js} +2 -2
- package/dist/cdn/{5OKQHKMQ.js → RVTHLBJL.js} +2 -2
- package/dist/cdn/{KJROYCIQ.js → RWQELBMY.js} +2 -2
- package/dist/cdn/{L6PPOZ6H.js → RYQCNLW7.js} +2 -2
- package/dist/cdn/{SM2ZGXN2.js → S3AWAGTI.js} +2 -2
- package/dist/cdn/{R2IVNBNU.js → S5TXHJGZ.js} +2 -2
- package/dist/cdn/{NGN4GJ7L.js → S6GQFWK7.js} +2 -2
- package/dist/cdn/{525IK7S3.js → SBX54Z43.js} +2 -2
- package/dist/cdn/SCOCPPIV.js +383 -0
- package/dist/cdn/{PEJAYVXV.js → SH3RI2GK.js} +2 -2
- package/dist/cdn/{D22VRCQZ.js → SHWG5PCG.js} +2 -2
- package/dist/cdn/{TA7HLGDD.js → SMY4IACN.js} +2 -2
- package/dist/cdn/{DGN4U6I6.js → SUSAZ65X.js} +2 -2
- package/dist/cdn/{JYVM54WT.js → T6PMIZLP.js} +2 -2
- package/dist/cdn/{Z7DOTE4W.js → TA3ZXQAF.js} +2 -2
- package/dist/cdn/TBU33TUJ.js +18 -0
- package/dist/cdn/{W3Z2KVM3.js → TENNMXGF.js} +1 -1
- package/dist/cdn/{QVEKZTHX.js → TIUXVXYM.js} +2 -2
- package/dist/cdn/{M4VW4GKI.js → TKDGIQNC.js} +2 -2
- package/dist/cdn/{Z2BS6PDT.js → TNEFDIIG.js} +2 -2
- package/dist/cdn/{BII4KR4A.js → TTDNDVCB.js} +2 -2
- package/dist/cdn/{7XD5FYQH.js → TVGUICDI.js} +2 -2
- package/dist/cdn/{2QFAL42J.js → TXB56MNF.js} +2 -2
- package/dist/cdn/{QT25SZ3S.js → TYVJSPBM.js} +2 -2
- package/dist/cdn/{72A2Y2EQ.js → U4LWP3KK.js} +1 -1
- package/dist/cdn/{QPJLKOGU.js → UCI3QQAA.js} +1 -1
- package/dist/cdn/{XIWW264L.js → UDYWBQQB.js} +2 -2
- package/dist/cdn/UISRG6AV.js +18 -0
- package/dist/cdn/{4RUO65YZ.js → UITEOOYI.js} +1 -1
- package/dist/cdn/{LFX2BV5P.js → UMIQ4XRZ.js} +2 -2
- package/dist/cdn/{3MTECQIQ.js → UR7ODANG.js} +2 -2
- package/dist/cdn/{LEPX2J3T.js → UUY24OGE.js} +2 -2
- package/dist/cdn/{55MHSSEJ.js → UVRRN3AM.js} +2 -2
- package/dist/cdn/UZTSBHXN.js +294 -0
- package/dist/cdn/{S7TD37PA.js → V3XFBVJ2.js} +2 -2
- package/dist/cdn/VCL4EPUN.js +18 -0
- package/dist/cdn/VH4DOQZ4.js +4 -0
- package/dist/cdn/{EQ3E3UVU.js → VIRNYXF5.js} +2 -2
- package/dist/cdn/{YEE23JC2.js → VJF6Y7HU.js} +2 -2
- package/dist/cdn/{I7AMZQNZ.js → VLNWSZVR.js} +2 -2
- package/dist/cdn/{CIWLUKBJ.js → VOFDMTBC.js} +2 -2
- package/dist/cdn/{A7ABJL6C.js → VTS75E4I.js} +2 -2
- package/dist/cdn/{QH63BAVO.js → VUZA56M3.js} +2 -2
- package/dist/cdn/{ZVSLAQ5X.js → VXJY4QCS.js} +2 -2
- package/dist/cdn/{JSCLICIM.js → W3GV4JXP.js} +1 -1
- package/dist/cdn/{WT2FKAP6.js → W7HZRPHM.js} +2 -2
- package/dist/cdn/{7DEMXTPR.js → W7Z3ORQY.js} +2 -2
- package/dist/cdn/{YA3SBEXZ.js → WBAN3UIC.js} +2 -2
- package/dist/cdn/{CWSLTV67.js → WBRXMEMP.js} +2 -2
- package/dist/cdn/{46Z6LRFP.js → WCEUO2OS.js} +2 -2
- package/dist/cdn/{QLVKQU3N.js → WCVUN6XF.js} +2 -2
- package/dist/cdn/{Y7FST2QV.js → WFUAPKTB.js} +2 -2
- package/dist/cdn/{MEARRFPL.js → WIE3EFBI.js} +2 -2
- package/dist/cdn/{XZRHSLHF.js → WIVOL6CT.js} +1 -1
- package/dist/cdn/WN54HJON.js +4 -0
- package/dist/cdn/{XKQGFDT5.js → WNFUARBO.js} +2 -2
- package/dist/cdn/{X6LWFUFK.js → WQKEPPJH.js} +1 -1
- package/dist/cdn/{KYNAJJDV.js → WV2ZROZJ.js} +2 -2
- package/dist/cdn/{AQOENSWY.js → WZ764LLN.js} +1 -1
- package/dist/cdn/{KK3QWOG2.js → WZYGUEIV.js} +2 -2
- package/dist/cdn/{77SH6QGE.js → XFANWHPY.js} +2 -2
- package/dist/cdn/{WS42HFTU.js → XFM3FD2A.js} +2 -2
- package/dist/cdn/{2CQ66JGS.js → XK7SWBXE.js} +2 -2
- package/dist/cdn/{H57ZKHJ4.js → XU3KAISP.js} +1 -1
- package/dist/cdn/{4P2ED5MG.js → XXM424DO.js} +2 -2
- package/dist/cdn/{TW6H3Y5C.js → XYGVP2FK.js} +2 -2
- package/dist/cdn/{AROCXE5W.js → YC7HMH6M.js} +2 -2
- package/dist/cdn/{NF47PQ7Q.js → YEFAWRXP.js} +2 -2
- package/dist/cdn/YMUVFR3U.js +18 -0
- package/dist/cdn/{O27D4YVO.js → YQFYU4G2.js} +2 -2
- package/dist/cdn/YXHSDCRJ.js +4 -0
- package/dist/cdn/{MGAAWVDA.js → Z3XBAPZC.js} +1 -1
- package/dist/cdn/{MQWLMWGB.js → Z4FNCV4E.js} +2 -2
- package/dist/cdn/{SN7Y4QIQ.js → Z4WD3SG2.js} +1 -1
- package/dist/cdn/{GPO4L446.js → ZEPG4DE3.js} +2 -2
- package/dist/cdn/{ACYYQPGH.js → ZLTHON4G.js} +2 -2
- package/dist/cdn/{73W26K5Q.js → ZLU7K6TK.js} +2 -2
- package/dist/cdn/{45R5CD5E.js → ZRLT4TEH.js} +2 -2
- package/dist/cdn/{42AUJGFJ.js → ZUQZHS53.js} +2 -2
- package/dist/cdn/{D2RRQ3X4.js → ZV3QGDX6.js} +2 -2
- package/dist/cdn/{DSZ5WOHN.js → ZY74MRCW.js} +2 -2
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +3 -3
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/helpers.js +6 -6
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +23 -23
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +6 -6
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +143 -28
- 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 +4 -4
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +4 -4
- 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 +2 -2
- package/dist/components/map-card/customElement.js +2 -2
- package/dist/components/map-draw-tools/customElement.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/refine-selection/customElement.js +2 -2
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.d.ts +11 -0
- package/dist/components/solution-configure-dialog/customElement.js +78 -30
- package/dist/components/solution-configure-dialog/index.d.ts +6 -0
- package/dist/components/solution-configure-dialog/index.js +6 -0
- package/dist/components/solution-configure-titles/customElement.d.ts +5 -1
- package/dist/components/solution-configure-titles/customElement.js +22 -19
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.d.ts +5 -0
- package/dist/components/solution-delete-dialog/customElement.js +66 -42
- package/dist/components/solution-deploy-dialog/customElement.d.ts +7 -2
- package/dist/components/solution-deploy-dialog/customElement.js +83 -113
- package/dist/components/solution-deployed-card/customElement.d.ts +11 -0
- package/dist/components/solution-deployed-card/customElement.js +45 -29
- package/dist/components/solution-deployed-card/index.d.ts +1 -1
- package/dist/components/solution-deployed-card/index.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.d.ts +24 -0
- package/dist/components/solution-deploying-dialog/customElement.js +71 -0
- package/dist/components/solution-details-card/customElement.js +2 -2
- package/dist/components/solution-details-panel/customElement.d.ts +1 -1
- package/dist/components/solution-details-panel/customElement.js +167 -76
- package/dist/components/solution-details-panel/index.d.ts +6 -0
- package/dist/components/solution-details-panel/index.js +6 -0
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.d.ts +8 -6
- package/dist/components/solution-item-accordion/customElement.js +19 -11
- package/dist/components/solution-item-accordion/index.d.ts +1 -0
- package/dist/components/solution-item-accordion/index.js +1 -0
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.d.ts +0 -1
- package/dist/components/solution-item-diagram/customElement.js +63 -66
- package/dist/components/solution-item-icon/customElement.d.ts +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +2 -2
- package/dist/components/solution-snapshot-gallery/customElement.d.ts +0 -5
- package/dist/components/solution-snapshot-gallery/customElement.js +14 -14
- package/dist/components/solution-spatial-ref/customElement.js +14 -14
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +35 -102
- package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
- package/dist/components/solutions-all-shell/customElement.js +23 -41
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +11 -14
- package/dist/components/solutions-articles-shell/customElement.js +13 -16
- package/dist/components/solutions-deployed-panel/customElement.d.ts +9 -8
- package/dist/components/solutions-deployed-panel/customElement.js +39 -26
- package/dist/components/solutions-deployed-shell/customElement.d.ts +0 -1
- package/dist/components/solutions-deployed-shell/customElement.js +23 -41
- package/dist/components/solutions-filter-panel/customElement.js +16 -19
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +328 -65
- package/dist/docs/docs.json +318 -56
- package/dist/docs/vscode.html-custom-data.json +26 -10
- package/dist/docs/web-types.json +103 -31
- package/dist/index.d.ts +18 -4
- package/dist/index.js +1 -1
- package/dist/loader.js +8 -8
- package/dist/types/lumina.d.ts +10 -9
- package/dist/types/preact.d.ts +11 -10
- package/dist/types/react.d.ts +12 -11
- package/dist/types/stencil.d.ts +10 -9
- package/dist/utils/interfaces.d.ts +10 -0
- package/dist/utils/privilegeUtils.d.ts +7 -0
- package/package.json +1 -1
- package/dist/cdn/22U6FEYE.js +0 -18
- package/dist/cdn/3FJRQN27.js +0 -18
- package/dist/cdn/4QGW7XLZ.js +0 -18
- package/dist/cdn/5Q2JJCFF.js +0 -4
- package/dist/cdn/67776ZSV.js +0 -18
- package/dist/cdn/7GJVOL2K.js +0 -4
- package/dist/cdn/BRT757S3.js +0 -18
- package/dist/cdn/C5C4KHG2.js +0 -4
- package/dist/cdn/CKQRWDEZ.js +0 -18
- package/dist/cdn/EPWZGWQJ.js +0 -4
- package/dist/cdn/F2MMZAMU.js +0 -18
- package/dist/cdn/JUWCTKXD.js +0 -4
- package/dist/cdn/KLCMDGZK.js +0 -289
- package/dist/cdn/LCT3NQOR.js +0 -18
- package/dist/cdn/M53O7AL7.js +0 -18
- package/dist/cdn/MA6BHO3S.js +0 -4
- package/dist/cdn/MALVFH5T.js +0 -20
- package/dist/cdn/NJB5H6NT.js +0 -4
- package/dist/cdn/NK6VN5CV.js +0 -18
- package/dist/cdn/OBGLJ4AM.js +0 -18
- package/dist/cdn/TNZETMBZ.js +0 -18
- package/dist/cdn/WAN4LQ52.js +0 -18
- package/dist/cdn/WRLRDSID.js +0 -18
- package/dist/cdn/X57FB3KD.js +0 -18
- package/dist/cdn/XV4GT4PM.js +0 -4
- package/dist/cdn/YHIK3V5C.js +0 -18
- package/dist/cdn/YI47D7GW.js +0 -4
- package/dist/cdn/YPFDFW4X.js +0 -4
- package/dist/cdn/Z3NILA3R.js +0 -369
- package/dist/components/solution-deploying-panel/customElement.d.ts +0 -12
- package/dist/components/solution-deploying-panel/customElement.js +0 -77
- /package/dist/cdn/assets/{solution-deploying-panel → solution-deploying-dialog}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solution-deploying-panel → solution-deploying-dialog}/t9n/messages.json +0 -0
- /package/dist/components/{solution-deploying-panel → solution-deploying-dialog}/index.d.ts +0 -0
- /package/dist/components/{solution-deploying-panel → solution-deploying-dialog}/index.js +0 -0
@@ -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.
|
4
|
-
import{a as r,b as d,e as g,g as f,j as y,k as _,o as b,p as x,r as I,s as C,v}from"./
|
3
|
+
v1.0.5 */
|
4
|
+
import{a as r,b as d,e as g,g as f,j as y,k as _,o as b,p as x,r as I,s as C,v}from"./HCCTS5WV.js";import"./Q5QONQ6T.js";import"./25FEJN5O.js";import{C as u}from"./QP26HSVE.js";import{a as h,c as n,e as m,f as L,h as w}from"./ML3FDA7I.js";import"./UITEOOYI.js";var k=".sc-instant-apps-interactive-legend-count-h{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text.sc-instant-apps-interactive-legend-count{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected.sc-instant-apps-interactive-legend-count{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact.sc-instant-apps-interactive-legend-count .instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-size:0.75rem}.sc-instant-apps-interactive-legend-count-h:dir(rtl){margin-left:0;margin-right:auto}",E=k,p={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},A=class{constructor(e){h(this,e),this.showTotal=!1,this.legendvm=void 0,this.activeLayerInfo=void 0,this.categoryId="",this.infoIndex=void 0,this.messages=void 0,this.selected=void 0,this.legendElement=void 0}async componentWillLoad(){new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0});let t=await u();this.intl=t}render(){let e=d.get("compact")?p.compact:"";return n("div",{key:"int-legend-count",class:e},this.showTotal?n("span",{class:p.totalFeatureCount},this.messages?.totalFeatureCount,": ",this.getTotalFeatureCount()):n("span",{key:"element-info-count",class:`${p.countText} ${v(this.el)}${this.selected?p.countTextSelected:""}`},this.getCount()))}getCount(){let{categoryId:e}=this,t=this.activeLayerInfo.layer.id,i=r.data[t]?.categories?.size;if((!r.data||!t||!e)&&!i)return"";let s=r.data[t];if(!s)return;let{categories:l}=s,a=l.get(e),c;return a?.nestedInfos?c=I(a,this.infoIndex):c=a,Number.isNaN(c.count)?"":this.intl.formatNumber(c.count)}getTotalFeatureCount(){let e=this.activeLayerInfo.layer.id;if(!r.data||!e)return"";let t=r.data[e];if(!t)return;let{categories:i}=t,s=g(i),l=C(i),a;if(l)a=x(s);else if(y(this.activeLayerInfo)){let c=f(this.activeLayerInfo.layer);a=g(c.categories)[1].count}else a=b(s);return this.intl.formatNumber(a)}get el(){return m(this)}};A.style=E;var S=".sc-instant-apps-interactive-legend-layer-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:500;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header--compact.sc-instant-apps-interactive-legend-layer-element-caption .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{font-size:0.9rem}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption h3.sc-instant-apps-interactive-legend-layer-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-layer-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption span.sc-instant-apps-interactive-legend-layer-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-layer-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}",z=S,o={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container",compact:"instant-apps-interactive-legend__header--compact"},T=class{constructor(e){h(this,e),this.layerCaptionElementExpandUpdatedEvent=L(this,"layerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){let e=_(this.activeLayerInfo),{expanded:t}=this,i=t?this.messages?.collapse:this.messages?.expand,s=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",l=d.get("compact")?` ${o.compact}`:"";return n("header",{key:"bfb5c7b5059bcefcd898b46a4e2bb1f5397a2d6f",class:`${o.interacitveLegendHeader} ${v(this.el)}${l}`},n("calcite-action",{key:"24eee4c2208df0dfa8fb209729c67ec1f34d843e",onClick:this.toggleExpanded(),icon:t?"chevron-down":"chevron-up",appearance:"transparent",text:i??"",label:i,scale:"s"}),n("span",{key:"95977b78f4afe0206085567b061c8cb5d9f8dc5d"},n("span",{key:"258004a4847688b94edf6d8416eef9cb07accfe5",class:o.headerActionContainer},n("h3",{key:"980f06c2054a8be5c471b5b44c667b4be1a451f9",class:`${o.header} ${o.label}${s}`,title:this.activeLayerInfo?.title??""},this.activeLayerInfo?.title)),this.featureCount&&e?n("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return m(this)}};T.style=z;export{A as instant_apps_interactive_legend_count,T as instant_apps_interactive_legend_layer_element_caption};
|
@@ -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.5 */
|
4
|
+
import{a as O}from"./I3ZD6IV4.js";import{e as _}from"./2VXYY4NW.js";import{a as l,f as p}from"./MK7N6OTA.js";import"./6U4PV22I.js";import"./UITEOOYI.js";function C(e,a){let i=[];return O(e,(t,o)=>(o.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let o=q(a),r,u,s,m,d;switch(o){case"stat":s=import("./EPYFVSXR.js"),m={"hub:card:stat":()=>import("./TIUXVXYM.js")}[a],await Promise.all([s,m()]).then(async([f,c])=>{let{MetricSchema:n}=f;r=l(n),u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(d=c.buildDefaults(e,i,t))});break;case"follow":s=import("./IS4CHLDX.js"),m={"hub:card:follow":()=>import("./ZLU7K6TK.js")}[a],await Promise.all([s,m()]).then(([f,c])=>{let{FollowSchema:n}=f;r=l(n),u=c.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./SHWG5PCG.js"),m=import("./EW3T5VLB.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:o}=a;o||(o=""),t.maxLength=_(o);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:o}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let o=a.split(":")[1],r,u,s;switch(o){case"site":let{getSiteSchema:m}=await import("./OGRHFK6Y.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./PGB7D5V5.js"),"hub:site:create":()=>import("./7NDRZHL6.js"),"hub:site:followers":()=>import("./AHHA6SMZ.js"),"hub:site:discussions":()=>import("./7WZE34BF.js"),"hub:site:settings":()=>import("./DHVPMGLT.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./DC2VXLYA.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./CYHKUA3T.js"),"hub:discussion:create":()=>import("./SH3RI2GK.js"),"hub:discussion:settings":()=>import("./TYVJSPBM.js"),"hub:discussion:settings:discussions":()=>import("./N5MNRNS4.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./TTDNDVCB.js");r=l(f);let c=await{"hub:channel:edit":()=>import("./5TRSWX6M.js"),"hub:channel:create":()=>import("./JYDRZHOB.js")}[a]();u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(s=await c.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./VH4DOQZ4.js");r=l(n);let v=await{"hub:project:edit":()=>import("./YEFAWRXP.js"),"hub:project:create":()=>import("./R5UFCXCH.js"),"hub:project:create2":()=>import("./EV22N3KD.js"),"hub:project:metrics":()=>import("./2A6DDRTH.js"),"hub:project:settings":()=>import("./WFUAPKTB.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./4HAO722I.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./4ULTYKHN.js"),"hub:initiative:create":()=>import("./VXJY4QCS.js"),"hub:initiative:create2":()=>import("./PNZFKJGE.js"),"hub:initiative:metrics":()=>import("./CJFK6TKW.js"),"hub:initiative:associations":()=>import("./7244YR36.js"),"hub:initiative:settings":()=>import("./LUCYOE4G.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./PSUWSWTK.js");r=l(I);let D=await{"hub:page:edit":()=>import("./JMMD7YBL.js"),"hub:page:create":()=>import("./GUN44VYU.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./QYU6USHT.js");r=l(K);let U=await{"hub:content:edit":()=>import("./RVTHLBJL.js"),"hub:content:discussions":()=>import("./GJ2UG6YP.js"),"hub:content:settings":()=>import("./EX6HJQ4X.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./BRSXWNGO.js");r=l(y);let k=await{"hub:template:edit":()=>import("./HPUAGDRV.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./WBRXMEMP.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./EHUPQ5JP.js"),"hub:group:create:association":()=>import("./LG2N3IDQ.js"),"hub:group:create:view":()=>import("./IPXTSW43.js"),"hub:group:create:edit":()=>import("./J252EEIH.js"),"hub:group:create":()=>import("./WCVUN6XF.js"),"hub:group:edit":()=>import("./7YFBO4YO.js"),"hub:group:settings":()=>import("./7ATYJT4O.js"),"hub:group:discussions":()=>import("./W7HZRPHM.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./ZY74MRCW.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./5K5LGI4X.js"),"hub:survey:settings":()=>import("./QNXFXUZA.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./B5754CLI.js"),"hub:event:edit":()=>import("./5JYWXCER.js"),"hub:event:registrants":()=>import("./W7Z3ORQY.js")}[a](),H=await{"hub:event:create":()=>import("./UVRRN3AM.js"),"hub:event:edit":()=>import("./RWQELBMY.js"),"hub:event:registrants":()=>import("./5JHZFHQW.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./DCYHSAL2.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./5CGYAFLG.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./QH2LKILS.js");r=l(N);let P=await{"hub:user:settings":()=>import("./A4L4EUDH.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
|
@@ -0,0 +1,18 @@
|
|
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.5 */
|
4
|
+
import{a as p}from"./TA3ZXQAF.js";import{B as a,D as d,c as o,d as t,n as r,y as l,z as n}from"./D3RXCR6Q.js";import"./UITEOOYI.js";var m=o`/** @license
|
5
|
+
* Copyright 2025 Esri
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
*/calcite-card{width:220px}@media (max-width: 400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(50%);filter:brightness(50%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:2px solid var(--calcite-ui-brand);box-sizing:border-box;cursor:pointer}.chip-updated{--calcite-chip-icon-color: var(--calcite-ui-brand);cursor:pointer}.chip-deployed{--calcite-chip-icon-color: var(--calcite-color-status-success)}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%}.info-icon{--calcite-icon-color: var(--calcite-color-text-inverse);padding-inline-end:.3rem}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}`,s=class extends l{constructor(){super(...arguments),this._translations=p({name:"solution-details-card",blocking:!0}),this.detailsCardSelected=r()}static{this.properties={card:0,_translations:16}}static{this.styles=m}render(){let e=this.card,h=e.chip==="updated"?"chip-updated":this.card.chip==="deployed"?"chip-deployed":"",c="solution-details-card-chip",i=e.chip==="updated"?this._translations.updated:this._translations.deployed;return t`<div><calcite-card .label=${e.snippet} @click=${this._cardSelected}><div class="card-image-wrap" slot=thumbnail><img class="thumbnail card-image" alt=${e.title??a} src=${e.thumbnailUrl??a}><div class="hover-text">${this._translations.viewDetails}</div></div><span slot=heading>${e.title}</span><p slot=description>${e.snippet}</p>${e.chip!=="none"?t`<div slot=footer-end><calcite-chip class=${n(h)} .icon=${e.chip==="updated"?"mega-phone":"check-circle"} id=${c} .label=${i} .value=${i} scale=s></calcite-chip><calcite-tooltip .referenceElement=${c}><span>${i}</span></calcite-tooltip></div>`:void 0}<div slot=footer-start></div></calcite-card></div>`}_cardSelected(){this.detailsCardSelected.emit(this.card)}};d("solution-details-card",s);export{s as SolutionDetailsCard};
|
@@ -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.
|
4
|
-
import{e as s}from"./
|
3
|
+
v1.0.5 */
|
4
|
+
import{e as s}from"./25JM7WUJ.js";import"./QP26HSVE.js";import"./H3FM5UM6.js";import{a as c,c as e,d as l,e as r,f as d}from"./ML3FDA7I.js";import"./UITEOOYI.js";var m=".sc-instant-apps-measurement-h .sc-instant-apps-measurement.sc-instant-apps-measurement{background:var(--calcite-color-foreground-1)}.sc-instant-apps-measurement-h .active-tool.sc-instant-apps-measurement{--calcite-color-foreground-1:#c7eaff}",u=m,h={content:"instant-apps-measurement__content"},f=class{constructor(t){c(this,t),this.measureActive=d(this,"measureActive",7),this.messages=void 0,this.view=void 0,this.areaUnit=void 0,this.linearUnit=void 0,this.coordinateFormat=void 0,this.activeToolType=void 0,this.closable=!1}async componentWillLoad(){s(this)}componentDidLoad(){}render(){return e(l,{key:"68d619bbb5d2b0808ad57a1891ca07ae35391194"},e("calcite-panel",{key:"5fe4f0d6ee4c8344cb5fadedd3c09a81a100f342",heading:this?.messages?.label,closable:this.closable},e("div",{key:"6f220edb8795f0563ea4f4e76f0908c2fca4a263",slot:"content-top"},this.renderActionPad()),e("div",{key:"5b11d036b55b5a98df11d8c575b995c2b7f4a322"},this.renderMeasureToolPanel())))}renderMeasureToolPanel(){let{view:t,coordinateFormat:i,areaUnit:a,linearUnit:n,activeToolType:o}=this;return e("calcite-panel",{class:h.content},e("instant-apps-measurement-tool",{ref:p=>{this.measureTool=p},view:t,measureConfiguration:{coordinateFormat:i,areaUnit:a,linearUnit:n,activeToolType:o},activeTool:this.activeToolType}))}renderActionPad(){let{messages:t,activeToolType:i}=this;return e("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal",position:"end"},e("calcite-action",{class:i==="distance"?"active-tool":"",text:t?.line,icon:"measure",scale:"m","data-value":"distance",onClick:this._handleToolClick.bind(this)},e("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},t?.line)),e("calcite-action",{class:i==="area"?"active-tool":"",text:t?.area,scale:"m",icon:"measure-area","data-value":"area",onClick:this._handleToolClick.bind(this)},e("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},t?.area)),e("calcite-action",{class:i==="point"?"active-tool":"",text:t?.point,scale:"m",icon:"pin-plus","data-value":"point",onClick:this._handleToolClick.bind(this)},e("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},t?.point)),e("calcite-action",{text:t?.clear,scale:"m",icon:"trash","data-value":"clear",onClick:this._handleToolClick.bind(this)},e("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},t?.clear)))}_handleToolClick(t){if(!this?.measureTool)return;let i=t?.target;if(!(i instanceof HTMLElement))return;let a=i?.dataset.value;if(a!=="distance"&&a!=="area"&&a!=="point"&&a!=="clear")return;a&&(this.measureTool.activeTool=a);let n=document.getElementsByClassName("active-tool");for(let o=0;o<n?.length;o++)n[o]?.classList?.remove("active-tool");i?.classList.add("active-tool"),this.measureActive.emit(!(a===void 0||a==="clear"))}get el(){return r(this)}};f.style=u;export{f as instant_apps_measurement};
|
@@ -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.
|
4
|
-
import{d as i}from"./
|
3
|
+
v1.0.5 */
|
4
|
+
import{d as i}from"./B2AAEHPJ.js";import{a}from"./JOWT5YJ4.js";async function n(r,t){let e=`${t.portal}/portals/${r}/categorySchema`;try{let{categorySchema:o}=await i(e,t);return s(o[0].categories,"/Categories")}catch{return[]}}function s(r,t){return r.map(e=>{var o;let c=`${t}/${e.title}`,l=e.title;return{value:c,label:l,children:!((o=e.categories)===null||o===void 0)&&o.length?s(e.categories,c):[]}})}async function h(r,t){let e=await n(t.portal.id,t.hubRequestOptions);return[{labelKey:"shared.fields.categories.label",scope:"/properties/categories",type:"Control",options:{control:"hub-field-input-combobox",items:e,allowCustomValues:!1,selectionMode:"ancestors",placeholderIcon:"select-category"},rules:[{effect:a.DISABLE,conditions:[!e.length]}]},{type:"Notice",options:{notice:{configuration:{id:"no-categories-notice",noticeType:"notice",closable:!1,icon:"exclamation-mark-triangle",kind:"warning",scale:"m"},message:"{{shared.fields.categories.noCategoriesNotice.body:translate}}",autoShow:!0,actions:[{label:"{{shared.fields.categories.noCategoriesNotice.link:translate}}",icon:"launch",href:"https://doc.arcgis.com/en/arcgis-online/reference/content-categories.htm",target:"_blank"}]}},rules:[{effect:a.SHOW,conditions:[!e.length]}]}]}export{h 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.
|
4
|
-
import{d as c}from"./
|
3
|
+
v1.0.5 */
|
4
|
+
import{d as c}from"./B2AAEHPJ.js";import{a as y}from"./6U4PV22I.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
|
@@ -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.
|
4
|
-
import{a as l}from"./
|
3
|
+
v1.0.5 */
|
4
|
+
import{a as l}from"./ZLTHON4G.js";import"./S5TXHJGZ.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import{a as t}from"./JOWT5YJ4.js";import"./TENNMXGF.js";import"./WNFUARBO.js";import"./UCI3QQAA.js";import"./MURI73WZ.js";import"./CGZZGJLP.js";import"./JUVS4QTT.js";import"./OQJGVRY2.js";import"./UR7ODANG.js";import"./JJJAHCRO.js";import"./RCDWSNVF.js";import"./76DZHGT4.js";import"./HKKUMEH5.js";import"./H72WOGJ7.js";import"./7OEQCUDV.js";import"./IAHPQU5I.js";import"./2RWXUIPE.js";import"./QQPQDFEM.js";import"./7NMV3XFP.js";import"./H4HFWY3H.js";import"./WBAN3UIC.js";import"./Z3XBAPZC.js";import"./IFPYTV3R.js";import"./UITEOOYI.js";var n=async(e,s,r)=>{let o=s;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},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,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n as buildUiSchema};
|
@@ -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.
|
4
|
-
import{a as l,b as a}from"./
|
3
|
+
v1.0.5 */
|
4
|
+
import{a as l,b as a}from"./OZWDP6Y7.js";import{b}from"./M35TRRGF.js";import{a as f}from"./TA3ZXQAF.js";import{D as u,c as _,d as h,f as c,y as w,z as o}from"./D3RXCR6Q.js";import"./UITEOOYI.js";var $=_`/** @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.
|
4
|
-
import{a as h}from"./
|
3
|
+
v1.0.5 */
|
4
|
+
import{a as h}from"./Q5QONQ6T.js";import{a as x}from"./25FEJN5O.js";import{e as v}from"./25JM7WUJ.js";import{c as w,h as I,i as T,k as p,l as u,x as E,z as S}from"./QP26HSVE.js";import"./H3FM5UM6.js";import{a as _,c as s,d as C,e as b}from"./ML3FDA7I.js";import"./UITEOOYI.js";var{state:t,onChange:L}=x({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),g="time-slider-watch",y=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await S();this.reactiveUtils=e,this.handles=await w()}catch{}}async init(e){e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:n}=t;if(i)try{if(await i.when(),n.length===1&&n[0]?.type==="map")this.initTimeSlider(e,n[0]);else{let a=await this.getTimeLayerViews(i,n);t.timeInfoItems=this.generateTimeInfoItems(a,n),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let n=e.map?.allLayers,a=o=>n?.find(({id:f})=>o===f),m=i.map(({id:o})=>a(o)).map(async o=>await e.whenLayerView(o));return await Promise.all(m)}generateTimeInfoItems(e,i){return[...i].map(a=>{let l=e.find(({layer:m})=>m.id===a.id);return this.generateTimeInfoItem(l,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:n,rangeEnd:a,timeIntervalValue:l}){let f=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:l??1,rangeStart:new Date(n),rangeEnd:new Date(a),timeExtent:f,previousTimeExtent:null}}async initTimeSlider(e,i){let n=async a=>(t.timeSlider=await E(a),t.autoPlay&&t.timeSlider.play(),void await Promise.resolve());if(i){let a=await this.getTimeSliderConfig(e,i);await n(a)}else{let a=t?.timeInfoItems?.[0];if(!a)return;t.selectedTimeInfoItem=a;let l=await this.getTimeSliderConfig(e);await n(l)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){L("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let n=i.layerView;this.applyTimeExtent(n,n?.featureEffect?.filter?.timeExtent||n.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let n={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let a=t.view?.map?.widgets?.timeSlider,l={...n,fullTimeExtent:a?.fullTimeExtent,timeExtent:a?.currentTimeExtent};return a?.stopInterval?.unit&&a?.stopInterval?.value&&(l.stops={interval:await u({unit:a?.stopInterval?.unit,value:a?.stopInterval?.value})}),l}else{let[{timeExtent:a,rangeStart:l,rangeEnd:m,unit:o,timeIntervalValue:f}]=t.timeInfoItems;return{...n,fullTimeExtent:a,timeExtent:await p({start:l,end:m}),stops:{interval:await u({unit:o,value:f})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await p({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,n){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,n):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,n){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||n){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await I({filter:{timeExtent:i},includedEffect:await h(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await h(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await T({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(g)&&this.handles?.remove(g),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),g)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:n}){let a=n??await p({start:e,end:i});return await Promise.resolve(a)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await u({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},d=new y,M=".instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand:var(--calcite-ui-text-1);--calcite-ui-brand:var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}",F=M,c={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},D=class{constructor(r){_(this,r),this.messages=void 0,this.timeSliderRef=void 0,this.timeInfoConfigItems=[],this.filterMode=void 0,this.view=void 0,this.timeSliderConfig=void 0,this.autoPlay=!1}async updateTimeInfoConfigItems(){t.timeInfoConfigItems=this.timeInfoConfigItems,await d.init(this.timeSliderRef)}async updateFilterMode(){t.filterMode=this.filterMode}async updateTimeSliderConfig(){t.timeSliderConfig=this.timeSliderConfig,await d.init(this.timeSliderRef)}async updateAutoPlay(){t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop())}async componentWillLoad(){try{t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode),await v(this)}catch{}}async componentDidLoad(){try{await d.init(this.timeSliderRef)}catch{}finally{t.loading=!1}}disconnectedcallback(){d.destroy()}render(){return s(C,{key:"c994735c86c7bb3edeadf623a15c565960637f23"},this._renderBase())}_renderBase(){return s("div",{class:`${c.base}${this.view.type!=="2d"?c.threeD:""}`},this._renderLoader(),this.view.type==="2d"&&this._renderTopEl(),s("div",{key:"time-slider",ref:r=>{r&&(this.timeSliderRef=r)}}))}_renderLoader(){return t.loading&&s("div",null,s("div",{class:c.background}),s("div",{class:c.loadingContainer},s("calcite-loader",{scale:"m",label:this.messages?.loading??"",text:this.messages?.loading})))}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let r=t.selectedTimeInfoItem?.layerView?.layer?.title;return s("span",{class:c.layerTitle},r)}_renderDropdown(){return t.selectedTimeInfoItem&&s("calcite-dropdown",null,this._renderDropdownButton(),this._renderDropdownItems())}_renderDropdownButton(){return s("calcite-button",{slot:"trigger",appearance:"transparent",iconEnd:"chevron-down",width:"full",alignment:"space-between"},d.getLabel(t.selectedTimeInfoItem))}_renderDropdownItems(){return t.timeInfoItems.map(r=>this._renderDropdownItem(r))}_renderDropdownItem(r){let e=t.selectedTimeInfoItem?.layerView?.layer?.id,i=r?.layerView?.layer?.id;return s("calcite-dropdown-item",{onCalciteDropdownItemSelect:()=>d.updateSelectedTimeInfoItem(r),selected:e===i},d.getLabel(r))}get el(){return b(this)}static get watchers(){return{timeInfoConfigItems:["updateTimeInfoConfigItems"],filterMode:["updateFilterMode"],timeSliderConfig:["updateTimeSliderConfig"],autoPlay:["updateAutoPlay"]}}};D.style=F;export{D as instant_apps_time_filter};
|
@@ -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.
|
4
|
-
import{c as a}from"./
|
3
|
+
v1.0.5 */
|
4
|
+
import{c as a}from"./7NMV3XFP.js";import"./UITEOOYI.js";export{a as MetricSchema};
|
@@ -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.
|
4
|
-
import"./
|
3
|
+
v1.0.5 */
|
4
|
+
import"./UITEOOYI.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{a as o}from"./
|
3
|
+
v1.0.5 */
|
4
|
+
import{a as o}from"./QVLJY52I.js";import{a as n}from"./E4626BS2.js";import{a as s}from"./6N7ZWEZT.js";import"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import{a}from"./JOWT5YJ4.js";import"./TENNMXGF.js";import"./WNFUARBO.js";import"./UCI3QQAA.js";import"./MURI73WZ.js";import"./CGZZGJLP.js";import"./JUVS4QTT.js";import"./OQJGVRY2.js";import"./UR7ODANG.js";import"./JJJAHCRO.js";import"./RCDWSNVF.js";import"./76DZHGT4.js";import"./HKKUMEH5.js";import"./H72WOGJ7.js";import"./7OEQCUDV.js";import"./IAHPQU5I.js";import"./2RWXUIPE.js";import"./QQPQDFEM.js";import"./7NMV3XFP.js";import"./H4HFWY3H.js";import"./WBAN3UIC.js";import"./Z3XBAPZC.js";import"./IFPYTV3R.js";import"./UITEOOYI.js";async function b(e,r,t){let l=await n(`${e}.content`,t);return l[0].rules=[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}],delete l[0].options.helperText,{type:"Layout",elements:[{type:"Section",options:{section:"accordion",selectionMode:"single"},elements:[{type:"Section",label:`{{${e}.content.label:translate}}`,options:{section:"accordionItem",expanded:!0},elements:[{scope:"/properties/selectionMode",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.content.selectionMode`},width:"full"}},{label:`{{${e}.content.access.label:translate}}`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.content.access.private.description:translate}}`,`{{${e}.content.access.org.description:translate}}`,`{{${e}.content.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.content.access.private.label:translate}}`,`{{${e}.content.access.org.label:translate}}`,`{{${e}.content.access.public.label:translate}}`],type:"checkbox"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{label:`{{${e}.content.tags.label:translate}}`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(r.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},...l,{scope:"/properties/entityIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:[o(`${e}.content.entityIds`,"organization","item",{user:t.currentUser,collectionNames:["site","initiative","project"],filters:[],context:t})],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.username}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",field:"access",display:"multi-select",operation:"OR"}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{scope:"/properties/eventIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"event",catalogs:[{schemaVersion:1,title:"{{catalogs.event.label:translate}}",scopes:{event:{targetEntity:"event",filters:[{predicates:[{orgid:t.currentUser.orgId}]}]}},collections:[{key:"event",label:"{{catalogs.event.collections.event.label:translate}}",targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}]}],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.id}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",display:"multi-select",operation:"OR",options:[{label:"{{facets.sharing.public.label:translate}}",key:"public",selected:!1,predicates:[{access:"public"}]},{label:"{{facets.sharing.private.label:translate}}",key:"private",selected:!1,predicates:[{access:"private"}]},{label:"{{facets.sharing.organization.label:translate}}",key:"org",selected:!1,predicates:[{access:"org"}]}]}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"manual"}}]}]},{type:"Slot",options:{name:"add-content-slot"}}]},{type:"Section",label:`{{${e}.appearance.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.appearance.titleHeading.label:translate}}`,scope:"/properties/titleHeading",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.appearance.titleHeading`},width:"full",tooltip:{label:`{{${e}.appearance.titleHeading.tooltip:translate}}`}}},{label:`{{${e}.appearance.corners.label:translate}}`,scope:"/properties/corners",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.corners`}}},{label:`{{${e}.appearance.shadow.label:translate}}`,scope:"/properties/shadow",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.shadow`}}},{label:`{{${e}.appearance.showAdditionalInfo.label:translate}}`,scope:"/properties/showAdditionalInfo",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{label:`{{${e}.appearance.layout.label:translate}}`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.layout`}},scope:"/properties/layout",type:"Control"}]},{type:"Section",label:`{{${e}.options.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.options.openIn.label:translate}}`,scope:"/properties/openIn",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.options.openIn`}}},{type:"Notice",options:{notice:{configuration:{id:"open-in-notice",noticeType:"notice",closeable:!1,kind:"brand",scale:"m"},title:`{{${e}.options.openIn.notice.title:translate}}`,body:`{{${e}.options.openIn.notice.body:translate}}`,autoShow:!0,actions:[{label:`{{${e}.options.openIn.notice.link:translate}}`,ariaLabel:`{{${e}.options.openIn.notice.linkAriaLabel:translate}}`,icon:"launch",href:"https://www.w3.org/TR/WCAG20-TECHS/G200.html",target:"_blank"}]}}}]}]}]}}export{b 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.
|
4
|
-
import{a as n,e as c,f as d}from"./
|
3
|
+
v1.0.5 */
|
4
|
+
import{a as n,e as c,f as d}from"./SBX54Z43.js";import"./GFTGPFHL.js";import"./OG4FHSPI.js";import"./MK7N6OTA.js";import"./WQKEPPJH.js";import{d as r}from"./S5TXHJGZ.js";import"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import{a as o,b as i}from"./JOWT5YJ4.js";import"./TENNMXGF.js";import"./WNFUARBO.js";import"./UCI3QQAA.js";import"./MURI73WZ.js";import"./CGZZGJLP.js";import"./JUVS4QTT.js";import"./OQJGVRY2.js";import"./UR7ODANG.js";import"./JJJAHCRO.js";import"./RCDWSNVF.js";import"./76DZHGT4.js";import"./HKKUMEH5.js";import"./H72WOGJ7.js";import"./7OEQCUDV.js";import"./IAHPQU5I.js";import"./2RWXUIPE.js";import"./QQPQDFEM.js";import"./7NMV3XFP.js";import"./H4HFWY3H.js";import"./WBAN3UIC.js";import"./Z3XBAPZC.js";import"./IFPYTV3R.js";import"./UITEOOYI.js";function u(e,t){let l=[];if(p(t)){let s=f(e);l.push(s)}let a=m(e,t);return l.push(a),{type:"Section",labelKey:`${e}.sections.downloads.label`,options:{},elements:l}}function p(e){return n(e)}function f(e){return{labelKey:`${e}.fields.serverExtractCapability.label`,scope:"/properties/serverExtractCapability",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.serverExtractCapability.exportDataSetting.label:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.label:translate}}`],descriptions:[`{{${e}.fields.serverExtractCapability.exportDataSetting.description:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.description:translate}}`],layout:"vertical",messages:[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.title`,labelKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.body`,allowShowBeforeInteract:!0,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}]}}}function m(e,t){let l={labelKey:`${e}.fields.downloadFormats.label`,scope:"/properties/downloadFormats",type:"Control",options:{control:"hub-field-input-list",helperText:{labelKey:`${e}.fields.downloadFormats.helperText`},allowReorder:!0,allowHide:!0},rules:[]};return p(t)?l.rules.push({effect:o.DISABLE,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}):y(t)&&(l.rules.push({effect:o.DISABLE,conditions:[!0]}),l.options.messages=[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.title`,labelKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.body`,allowShowBeforeInteract:!0,alwaysShow:!0}]),l}function y(e){return!c(e)}var v=async(e,t,l)=>{let a={type:"Layout",elements:[]};if(r("hub:content:workspace:settings:schedule",l,t).access){let s=[{type:"Control",scope:"/properties/schedule",labelKey:`${e}.sections.schedule.helperText`,options:{type:"Control",control:"hub-field-input-scheduler",labelKey:"fieldHeader",format:"select",inputs:[{type:"automatic"},{type:"daily"},{type:"weekly"},{type:"monthly"},{type:"yearly"},{type:"manual",helperActionIcon:"information-f",helperActionText:`{{${e}.fields.schedule.manual.helperActionText:translate}}`}]},rules:[{effect:o.DISABLE,conditions:[t.access!=="public"]}]},{type:"Notice",options:{notice:{configuration:{id:"schedule-unavailable-notice",noticeType:"notice",closable:!1,kind:"warning",icon:"exclamation-mark-triangle",scale:"m"},title:`{{${e}.fields.schedule.unavailableNotice.title:translate}}`,message:`{{${e}.fields.schedule.unavailableNotice.body:translate}}`,autoShow:!0}},rules:[{effect:o.SHOW,conditions:[t.access!=="public"]}]},{type:"Control",scope:"/properties/_forceUpdate",options:{control:"hub-field-input-tile-select",type:"checkbox",labels:[`{{${e}.fields.schedule.forceUpdateButton.label:translate}}`],descriptions:[`{{${e}.fields.schedule.forceUpdateButton.description:translate}}`]},rules:[{effect:o.SHOW,conditions:[t.access==="public"]}]}];a.elements.push({type:"Section",labelKey:`${e}.sections.schedule.label`,elements:s})}if(d(t)){let s=u(e,t);a.elements.push(s)}return a};export{v as buildUiSchema};
|
@@ -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.
|
4
|
-
import{a as u,b as m}from"./
|
3
|
+
v1.0.5 */
|
4
|
+
import{a as u,b as m}from"./OZWDP6Y7.js";import{b as g}from"./M35TRRGF.js";import{D as p,c as o,d as l,y as d}from"./D3RXCR6Q.js";import"./UITEOOYI.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.
|
4
|
-
import{a as G}from"./Y2GJJZVT.js";import{a as L}from"./2CQ66JGS.js";import{c as K,d as _,e as U}from"./7XD5FYQH.js";import{l as j,p as P}from"./2N3SSEWE.js";import"./JSML77IB.js";import"./5FTGQPO5.js";import"./EUZPXNNK.js";import"./T2MYK67I.js";import"./2MCXJEIU.js";import{a as S}from"./GOMTEPFA.js";import"./X6LWFUFK.js";import"./B5TR3333.js";import"./NNED4X6O.js";import"./R2IVNBNU.js";import{w}from"./7W5RZY7N.js";import"./7M4VGKUT.js";import"./XZRHSLHF.js";import"./JYVM54WT.js";import"./2UH456LC.js";import"./QPJLKOGU.js";import{b as A}from"./VCK56OWN.js";import{a as c,b as p}from"./IEEVFYKM.js";import"./4RUO65YZ.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
|
3
|
+
v1.0.5 */
|
4
|
+
import{a as G}from"./2IRIOH44.js";import{a as L}from"./XK7SWBXE.js";import{c as K,d as _,e as U}from"./TVGUICDI.js";import{l as j,p as P}from"./GKBVNMEW.js";import"./43R5NRNV.js";import"./IHQISHAM.js";import"./65NNPWV7.js";import"./GFTGPFHL.js";import"./OG4FHSPI.js";import{a as S}from"./MK7N6OTA.js";import"./WQKEPPJH.js";import"./2QFMILDU.js";import"./EEECQWVR.js";import"./S5TXHJGZ.js";import{w}from"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import"./UCI3QQAA.js";import{b as A}from"./HKKUMEH5.js";import{a as c,b as p}from"./7OEQCUDV.js";import"./UITEOOYI.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import a from"./
|
3
|
+
v1.0.5 */
|
4
|
+
import a from"./JAMFZUE3.js";export default $arcgis.t(([{a:e}])=>{function u(r){return Array.isArray(r)?r:Array.from(r)}function c(r,o){let t=i(o),n=e([{k:"id",v:r}])||"";return t?`${t}/home/item.html${n}`:""}function m(r,o,t){let n=i(t);return n?`${n}/sharing/rest/content/items/${r}/resources/${o}`:""}function i(r){return r?.PortalSubset?.orgUrl||r?.PortalUrl||""}return{a:u,b:c,c:m}},a)
|