@esri/solutions-components 1.2.0-next.56 → 1.2.0-next.57
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/22S2FCUI.js +4 -0
- package/dist/cdn/24VQB3P7.js +4 -0
- package/dist/cdn/{XILPURV7.js → 25P7ICZT.js} +2 -2
- package/dist/cdn/{2P3EN6M7.js → 27XYZPJZ.js} +2 -2
- package/dist/cdn/2AD2BCDG.js +4 -0
- package/dist/cdn/{ZONEV6OZ.js → 2EPNZNUC.js} +2 -2
- package/dist/cdn/{2QUGNBZX.js → 2IXD5MKB.js} +2 -2
- package/dist/cdn/{6VF2KLBR.js → 2LZEV2CW.js} +2 -2
- package/dist/cdn/{FEJOQNCQ.js → 2NRIEXQX.js} +2 -2
- package/dist/cdn/{CXI4T6CG.js → 2W3ETYCA.js} +2 -2
- package/dist/cdn/2YD54SNR.js +9 -0
- package/dist/cdn/{DSOR2VKO.js → 2ZLWR2EW.js} +2 -2
- package/dist/cdn/{L36ZN53S.js → 365RIKLW.js} +2 -2
- package/dist/cdn/{OUUQXU3F.js → 36DQNHPF.js} +2 -2
- package/dist/cdn/36RP7HPP.js +4 -0
- package/dist/cdn/{DHTXXBZF.js → 37E5NJJO.js} +1 -1
- package/dist/cdn/{HX225KOH.js → 3MCVXCWS.js} +2 -2
- package/dist/cdn/{HBW72KGC.js → 3OUZLQE7.js} +2 -2
- package/dist/cdn/{CFLNPVJ5.js → 3SMVI2AC.js} +2 -2
- package/dist/cdn/{PSJ7FCCV.js → 3UCVHZJC.js} +3 -3
- package/dist/cdn/{XMOVC76A.js → 3UQ6JJXL.js} +2 -2
- package/dist/cdn/{JBWR6ICS.js → 3YMUEKLT.js} +2 -2
- package/dist/cdn/{FSFYAFWQ.js → 43OO4UES.js} +2 -2
- package/dist/cdn/{2IKQXS7A.js → 4INRQ3XY.js} +2 -2
- package/dist/cdn/{5VLBUDE2.js → 4NGTP4ZJ.js} +2 -2
- package/dist/cdn/{LYJYHGXN.js → 4NJE2O26.js} +2 -2
- package/dist/cdn/{LN3AMPMQ.js → 4PVC3TTT.js} +2 -2
- package/dist/cdn/{SCS6AWLC.js → 4UAGVXEG.js} +2 -2
- package/dist/cdn/{MEAUM6MU.js → 4VRSH6TE.js} +1 -1
- package/dist/cdn/{IJMQCMQ4.js → 4XWOVULH.js} +2 -2
- package/dist/cdn/{HLN7NXII.js → 4YOGR5BF.js} +2 -2
- package/dist/cdn/{MDBUJII5.js → 4YWAVP2K.js} +2 -2
- package/dist/cdn/{UO6T5TZV.js → 55AEVWCR.js} +2 -2
- package/dist/cdn/{QH4DPTZK.js → 5G5N6ZKZ.js} +1 -1
- package/dist/cdn/{QSVOCS66.js → 5IFHQSZB.js} +2 -2
- package/dist/cdn/{MN7HCUMB.js → 5QD257VG.js} +2 -2
- package/dist/cdn/{7HR3JVZ3.js → 5TRN5RRD.js} +2 -2
- package/dist/cdn/63SMFBVK.js +4 -0
- package/dist/cdn/{XEDBLJ5G.js → 63WWBL3G.js} +2 -2
- package/dist/cdn/{AQMWKRQ2.js → 6BKJZUXA.js} +1 -1
- package/dist/cdn/{WLJUTDI2.js → 6CYQF44M.js} +2 -2
- package/dist/cdn/{D36CWK2Q.js → 6DMGAZDN.js} +2 -2
- package/dist/cdn/{Z2N36XSZ.js → 6EAK6CQF.js} +2 -2
- package/dist/cdn/{HZ72TPOS.js → 6EMWUWBV.js} +2 -2
- package/dist/cdn/{ZQ3E5EJ4.js → 6GHM6YXL.js} +2 -2
- package/dist/cdn/{M7AQC7BZ.js → 6H4O3DWG.js} +1 -1
- package/dist/cdn/{72SG6YCG.js → 6HNCVHKC.js} +2 -2
- package/dist/cdn/{RMLYN52W.js → 6M6OVAM3.js} +1 -1
- package/dist/cdn/{2GX3TTP7.js → 6PODZP4W.js} +2 -2
- package/dist/cdn/{E4PKZCFI.js → 6QEYTANI.js} +2 -2
- package/dist/cdn/{XZ7DB6S5.js → 6WI7U5Q5.js} +2 -2
- package/dist/cdn/6ZTR4IBJ.js +4 -0
- package/dist/cdn/{AUYXDK4P.js → 726HBILP.js} +2 -2
- package/dist/cdn/{HHINBT5Z.js → 72EJSQ6D.js} +2 -2
- package/dist/cdn/{HBL6OIR6.js → 76LOKGGG.js} +2 -2
- package/dist/cdn/{ULVDPXGO.js → 77JNTLDE.js} +2 -2
- package/dist/cdn/{HSN5LQRG.js → 7C6GJTE2.js} +2 -2
- package/dist/cdn/{TPIDQOF6.js → 7FCU2YJM.js} +2 -2
- package/dist/cdn/{UOBBVBAM.js → 7HGYIZIP.js} +2 -2
- package/dist/cdn/{J4LAVZ4J.js → 7QW55BUA.js} +2 -2
- package/dist/cdn/{PTJWFLDN.js → 7S64536V.js} +2 -2
- package/dist/cdn/{WQX4TDEA.js → 7SIJKVBT.js} +2 -2
- package/dist/cdn/{F2WXAQ5N.js → 7VCCYAYT.js} +2 -2
- package/dist/cdn/{VI6GOIHT.js → 7VJUPXFN.js} +2 -2
- package/dist/cdn/{R73NFUQ5.js → 7VPJCOWY.js} +2 -2
- package/dist/cdn/7YA5BCAV.js +4 -0
- package/dist/cdn/{ERUQNCR3.js → A2DA3RMI.js} +2 -2
- package/dist/cdn/{OA5SQGYP.js → A3X4HUR5.js} +2 -2
- package/dist/cdn/{CM3OQ7Z6.js → A3XT462M.js} +1 -1
- package/dist/cdn/{6JYFFFIE.js → A6VXVHAW.js} +2 -2
- package/dist/cdn/{FLDQTH2F.js → A7YRZPZ4.js} +1 -1
- package/dist/cdn/{MYW56DU2.js → ACCYONRX.js} +2 -2
- package/dist/cdn/{BWCMPONR.js → ADZILZCH.js} +2 -2
- package/dist/cdn/{DFHSF52T.js → AGDR3HHW.js} +2 -2
- package/dist/cdn/AMDHMGKU.js +18 -0
- package/dist/cdn/ANJ3BCIX.js +4 -0
- package/dist/cdn/{HM2S3VUU.js → AT4AKJDN.js} +2 -2
- package/dist/cdn/{HNKPAV3J.js → AU4EGB5P.js} +2 -2
- package/dist/cdn/{4AXT4JZC.js → AVS3HWXS.js} +2 -2
- package/dist/cdn/{7BOSF2XJ.js → AWKUWSEI.js} +2 -2
- package/dist/cdn/{LZDPXNBQ.js → AWVKHZGF.js} +2 -2
- package/dist/cdn/{NG6MWUIC.js → AX7DF4OK.js} +2 -2
- package/dist/cdn/{DZGH3Q63.js → B2YXKVY5.js} +2 -2
- package/dist/cdn/{XQXSSBBG.js → B3JCBHHX.js} +2 -2
- package/dist/cdn/{JGCMZRXG.js → B4IFX7AG.js} +2 -2
- package/dist/cdn/{LCPZA3PU.js → B4ZJKYG7.js} +1 -1
- package/dist/cdn/{RTPL6N3T.js → B5KE4UUU.js} +2 -2
- package/dist/cdn/{ZJXAXUK3.js → B7KCLBGS.js} +2 -2
- package/dist/cdn/{DVOCEOEJ.js → B7O4OI5J.js} +2 -2
- package/dist/cdn/BAXTOHO3.js +4 -0
- package/dist/cdn/{3Y7YJIT3.js → BBEIKYGF.js} +2 -2
- package/dist/cdn/{33I4DZ22.js → BJ5G4OZF.js} +2 -2
- package/dist/cdn/{52X6EZBX.js → BJPINA5V.js} +2 -2
- package/dist/cdn/{5G6KSPU5.js → BK7EAFIO.js} +2 -2
- package/dist/cdn/{7RAARHKW.js → BMHM5WKP.js} +2 -2
- package/dist/cdn/{PCLDYSOT.js → BNLCMTVB.js} +2 -2
- package/dist/cdn/{YOTADQ7M.js → BQNJW4Z3.js} +2 -2
- package/dist/cdn/{4I34T33T.js → BQWDA5PD.js} +2 -2
- package/dist/cdn/BTFQVLDG.js +4 -0
- package/dist/cdn/{AC65UMGV.js → BXXHIE7O.js} +2 -2
- package/dist/cdn/{7MLSQQQE.js → C3I7XFU6.js} +2 -2
- package/dist/cdn/{ED5LXRKH.js → C3RPA3ZL.js} +2 -2
- package/dist/cdn/{BVLC7TZU.js → C4BGJ3MT.js} +2 -2
- package/dist/cdn/{VJZDMX2M.js → CBC6NKJX.js} +2 -2
- package/dist/cdn/{CXSW5CLM.js → CDNIDYAB.js} +2 -2
- package/dist/cdn/{LO3WKBFJ.js → CGNV5OV3.js} +1 -1
- package/dist/cdn/{CFJPV3VR.js → CLVUXJOQ.js} +2 -2
- package/dist/cdn/{BDTOB7EB.js → CNM2ZTS6.js} +1 -1
- package/dist/cdn/{BXYRLAQS.js → CPHZ2GTT.js} +1 -1
- package/dist/cdn/{BTAGOOH2.js → CSF46JVA.js} +2 -2
- package/dist/cdn/{GYGQPIHN.js → CUE7HVDZ.js} +2 -2
- package/dist/cdn/{KPMURGRJ.js → CYR2XMPR.js} +2 -2
- package/dist/cdn/{H6M3LGCG.js → CZPZA5H5.js} +2 -2
- package/dist/cdn/{QFAVPWMJ.js → D2256TIA.js} +2 -2
- package/dist/cdn/{NBBTUSSU.js → D5XB36JD.js} +2 -2
- package/dist/cdn/{BPOWQRLQ.js → DC5V5FHX.js} +2 -2
- package/dist/cdn/{LBWHPOIX.js → DCC6Y66B.js} +2 -2
- package/dist/cdn/{LGH27VXB.js → DEVLZPL2.js} +2 -2
- package/dist/cdn/{VKBIFVOV.js → DPWBRDIK.js} +2 -2
- package/dist/cdn/{5KEUZIPB.js → DS4DWTM7.js} +2 -2
- package/dist/cdn/{EXV4Q2WS.js → DU7SEJVB.js} +2 -2
- package/dist/cdn/{QG7SARPP.js → DVOM246T.js} +2 -2
- package/dist/cdn/{TAEMLRFO.js → DXSKK4ES.js} +2 -2
- package/dist/cdn/{CHVRKAPE.js → E2KGJYG3.js} +2 -2
- package/dist/cdn/{BJFUGATO.js → E37T3EBG.js} +2 -2
- package/dist/cdn/E3XRA5SK.js +4 -0
- package/dist/cdn/{NO4K6OCD.js → E57WSATX.js} +2 -2
- package/dist/cdn/{S6XDDUFF.js → E6PDJDO6.js} +2 -2
- package/dist/cdn/{L2RDLQI2.js → E7VB4W47.js} +2 -2
- package/dist/cdn/{TWVFLD4A.js → EATD7MUE.js} +2 -2
- package/dist/cdn/{N556MMD2.js → ED2WT43E.js} +2 -2
- package/dist/cdn/{HHPQ6XSJ.js → EDEGIKW5.js} +2 -2
- package/dist/cdn/{6PM2457G.js → EDSP3SIB.js} +2 -2
- package/dist/cdn/{W4FG7PBR.js → EHFTUM3Q.js} +2 -2
- package/dist/cdn/{XVLP6YC6.js → EHR6SZSJ.js} +2 -2
- package/dist/cdn/{WKXBGHNY.js → EKDIGUJV.js} +2 -2
- package/dist/cdn/{COAEPZUD.js → EKFVS34S.js} +2 -2
- package/dist/cdn/{6W22C3JI.js → EKWHII3W.js} +2 -2
- package/dist/cdn/{XWZANPL3.js → ELZCPMOM.js} +2 -2
- package/dist/cdn/{FCLG6T3I.js → F3F4PUQU.js} +2 -2
- package/dist/cdn/{35DSYEM5.js → F5YBLADI.js} +2 -2
- package/dist/cdn/{MYX3OQ4M.js → F6WBY6RR.js} +2 -2
- package/dist/cdn/{AE4IRHSF.js → FCK3DLCP.js} +2 -2
- package/dist/cdn/{XHEJKJUE.js → FD5Z4SUU.js} +2 -2
- package/dist/cdn/{5QIYSBBF.js → FFCD4DQE.js} +2 -2
- package/dist/cdn/{HH6T3M5K.js → FICN6NHQ.js} +2 -2
- package/dist/cdn/{RM6ABK6R.js → FN2YPD3P.js} +2 -2
- package/dist/cdn/{XSVH66K5.js → FNPUF66M.js} +2 -2
- package/dist/cdn/{6YGQAP5A.js → FSUH6I5R.js} +2 -2
- package/dist/cdn/{ANQQA447.js → FVGON5YK.js} +4 -4
- package/dist/cdn/{BEAAF2TK.js → G33IVQ6Z.js} +2 -2
- package/dist/cdn/{FJDN63PF.js → G64LLTW6.js} +2 -2
- package/dist/cdn/{FLN4D6MP.js → G6EDBI26.js} +2 -2
- package/dist/cdn/{6LP3VN5P.js → GE2O6XGK.js} +1 -1
- package/dist/cdn/{CDZSQWRL.js → GFUC7GPF.js} +1 -1
- package/dist/cdn/{W7XA2E4B.js → GGATICA5.js} +2 -2
- package/dist/cdn/{E24X7QNJ.js → GMUMHYMT.js} +2 -2
- package/dist/cdn/{6P2T6WUE.js → GUQFALSY.js} +2 -2
- package/dist/cdn/{LFAJAKCZ.js → GZIXT3VN.js} +2 -2
- package/dist/cdn/{AVJQEXSR.js → H2UW2QCH.js} +2 -2
- package/dist/cdn/{CN7REFOE.js → H4CTJWTH.js} +2 -2
- package/dist/cdn/{CP4L6YTE.js → HBQDTBIZ.js} +2 -2
- package/dist/cdn/{RZL4ZDSY.js → HEQ3STAB.js} +2 -2
- package/dist/cdn/{ZWX26PUH.js → HMAEKDP7.js} +2 -2
- package/dist/cdn/{5BHVVV3J.js → HQBDKK6Q.js} +2 -2
- package/dist/cdn/{M2G5N7EF.js → HTLU2KXO.js} +2 -2
- package/dist/cdn/{A5L2XZNT.js → HWAWVSSA.js} +1 -1
- package/dist/cdn/{EAQ3XMLC.js → HZ56K43Q.js} +2 -2
- package/dist/cdn/IBKXMH2V.js +4 -0
- package/dist/cdn/{A5WQGR7Y.js → IBMXIJQF.js} +2 -2
- package/dist/cdn/{DYDXCMNU.js → IBUBXKBP.js} +1 -1
- package/dist/cdn/{QYDW6ENA.js → ICDJN5WI.js} +2 -2
- package/dist/cdn/{GKCNMASD.js → IDKIMKCK.js} +2 -2
- package/dist/cdn/{UE7BAA2K.js → IEQDJIPL.js} +2 -2
- package/dist/cdn/{I75HWD24.js → IFA7V4US.js} +2 -2
- package/dist/cdn/IJNDAHUI.js +6 -0
- package/dist/cdn/{HF4S3X7H.js → IPI6E7ZG.js} +2 -2
- package/dist/cdn/{YYJ27FDM.js → IQFJL5OQ.js} +2 -2
- package/dist/cdn/IQI6SLIK.js +4 -0
- package/dist/cdn/{MFYFKJ2U.js → IQQZZJKX.js} +1 -1
- package/dist/cdn/ISIAQK32.js +18 -0
- package/dist/cdn/{3IBYY6AT.js → IXIKCAAL.js} +2 -2
- package/dist/cdn/J2B4ATLY.js +4 -0
- package/dist/cdn/{AYXBFSCW.js → J65A6HMK.js} +2 -2
- package/dist/cdn/{VYIEOTEZ.js → JDVYX6GW.js} +2 -2
- package/dist/cdn/{B5KGDBAP.js → JHISG3IY.js} +2 -2
- package/dist/cdn/{IX444OUQ.js → JLVNRCLM.js} +2 -2
- package/dist/cdn/{TCHL7ULM.js → JMKGB5EP.js} +2 -2
- package/dist/cdn/{XKDXRA6A.js → JNH5XXRK.js} +2 -2
- package/dist/cdn/{DQML2MFV.js → JTEWF4H7.js} +2 -2
- package/dist/cdn/{2YCRD7KW.js → K6EHSTMP.js} +2 -2
- package/dist/cdn/{K4CCJTBM.js → K72VLKTT.js} +2 -2
- package/dist/cdn/{4EP6Q4VT.js → K7TQUHFL.js} +2 -2
- package/dist/cdn/{MIYJALRO.js → KDIEOT3U.js} +2 -2
- package/dist/cdn/{64OMQKRY.js → KEBZ5K56.js} +2 -2
- package/dist/cdn/{VLRJVEE7.js → KG3WSKXP.js} +2 -2
- package/dist/cdn/{JM6HDLMQ.js → KMDFBWJ7.js} +1 -1
- package/dist/cdn/{T74VBB6W.js → KPTNDAVM.js} +2 -2
- package/dist/cdn/{YQWKQRZG.js → KSOBOYUB.js} +1 -1
- package/dist/cdn/{Q5K2OHP2.js → KVH7PBGW.js} +2 -2
- package/dist/cdn/{VHT6FFB6.js → KWEGGT7V.js} +2 -2
- package/dist/cdn/{ME4VGYLP.js → KYQBHBJP.js} +2 -2
- package/dist/cdn/{SZVERSXD.js → KZYHGJTZ.js} +2 -2
- package/dist/cdn/L5SLOR5H.js +4 -0
- package/dist/cdn/{7BPLM3U6.js → LBJE4YUZ.js} +2 -2
- package/dist/cdn/{GOCQ7XUZ.js → LDTCK3S7.js} +2 -2
- package/dist/cdn/{I3BCMTBU.js → LMDH75XC.js} +1 -1
- package/dist/cdn/{KDXIYJDJ.js → M5IDMMJY.js} +2 -2
- package/dist/cdn/{7XTWTK7G.js → M5VHVBDS.js} +1 -1
- package/dist/cdn/{ECYWX42B.js → M6SVSYLR.js} +2 -2
- package/dist/cdn/{B5AVWJK2.js → MCVIHE4V.js} +1 -1
- package/dist/cdn/{DOPBMKW7.js → MFBOQTXE.js} +2 -2
- package/dist/cdn/{6IYKZNVU.js → MFG4CABX.js} +1 -1
- package/dist/cdn/{HOSQJCLL.js → MLVJXI2B.js} +2 -2
- package/dist/cdn/{UPI2DUAM.js → MNWU3ANZ.js} +2 -2
- package/dist/cdn/{XOPKETLU.js → MQSJBREW.js} +2 -2
- package/dist/cdn/{AO5DFVIQ.js → N6ROKOHC.js} +2 -2
- package/dist/cdn/{2QFDXO4R.js → NFFFNI5R.js} +2 -2
- package/dist/cdn/{YRZG3KIY.js → NKZGWH7N.js} +2 -2
- package/dist/cdn/{IASRWJNI.js → NNVLL7I3.js} +2 -2
- package/dist/cdn/{TT2MHXKK.js → NOIGC2JV.js} +2 -2
- package/dist/cdn/{XDXTDZEV.js → NRCYHF43.js} +2 -2
- package/dist/cdn/{R7AYJGZD.js → NSBRKH3V.js} +2 -2
- package/dist/cdn/{WDYNORTJ.js → NU4YRE5C.js} +2 -2
- package/dist/cdn/{YKQXYV2S.js → NYB4XZWU.js} +2 -2
- package/dist/cdn/{EUXQX6NM.js → O34ZGXQK.js} +2 -2
- package/dist/cdn/{77ZVFZWU.js → O735XRQD.js} +2 -2
- package/dist/cdn/{OHD54LUQ.js → ODV2PJEF.js} +2 -2
- package/dist/cdn/{DB7CW3QF.js → OIMM5ZBJ.js} +2 -2
- package/dist/cdn/OIUNBLJN.js +4 -0
- package/dist/cdn/{CLCMSAWD.js → OKEU3MBX.js} +2 -2
- package/dist/cdn/{NCQC2U44.js → OQJ5TTD4.js} +2 -2
- package/dist/cdn/{GPYXQ3TL.js → ORKME7HP.js} +2 -2
- package/dist/cdn/{JYJ7F4XD.js → P5GCZMOW.js} +2 -2
- package/dist/cdn/{JDVVY7RO.js → P72QLQYD.js} +2 -2
- package/dist/cdn/{YATJL5UR.js → PMHE7HKR.js} +2 -2
- package/dist/cdn/{OP3ZXRWB.js → PO2NV6WK.js} +2 -2
- package/dist/cdn/{D3EKR23W.js → PQOIJKAV.js} +2 -2
- package/dist/cdn/{PSGWNPRS.js → PX2TVDTQ.js} +2 -2
- package/dist/cdn/{NN6AIM26.js → PXAGPGO4.js} +2 -2
- package/dist/cdn/{G2AMKJL6.js → PYEHVNAV.js} +2 -2
- package/dist/cdn/{GROTOZAB.js → Q4CBXIUP.js} +1 -1
- package/dist/cdn/{VMDPZWDS.js → QBW4XJVW.js} +2 -2
- package/dist/cdn/{67GMLPZ5.js → QF5GF5AZ.js} +2 -2
- package/dist/cdn/{RGUZHM2U.js → QJ6VRETT.js} +2 -2
- package/dist/cdn/{HJH4MVYQ.js → QLHBYUEI.js} +1 -1
- package/dist/cdn/{PVLNRRBS.js → QSLYPFRO.js} +2 -2
- package/dist/cdn/{RVUKDEBK.js → QTKM5ENC.js} +2 -2
- package/dist/cdn/{33GBH54B.js → QVPERTQ3.js} +2 -2
- package/dist/cdn/QX36LHFB.js +4 -0
- package/dist/cdn/{I7JBFILE.js → R3TJWOSD.js} +2 -2
- package/dist/cdn/{BSAMSXS6.js → R7WOXUMB.js} +2 -2
- package/dist/cdn/{XHFKW75F.js → R7Z5IOMU.js} +2 -2
- package/dist/cdn/{MLNYRRCO.js → RFT7OFWF.js} +2 -2
- package/dist/cdn/{FI67WAMQ.js → RIT3TZFO.js} +1 -1
- package/dist/cdn/{NOMFD5J3.js → RP6N7FDZ.js} +2 -2
- package/dist/cdn/{YVJ34BVM.js → RQX2524T.js} +1 -1
- package/dist/cdn/RRMSL5OC.js +4 -0
- package/dist/cdn/{OD4JQJPP.js → S4NF7TRB.js} +2 -2
- package/dist/cdn/S5SVXKYS.js +4 -0
- package/dist/cdn/{BRHRQXV4.js → S6KYB7KD.js} +2 -2
- package/dist/cdn/{5YFFTKMB.js → S7BSU373.js} +1 -1
- package/dist/cdn/{PVF6MH7S.js → SDZFNHR2.js} +1 -1
- package/dist/cdn/{JKMJ26OF.js → SXYVZ6J5.js} +2 -2
- package/dist/cdn/{LLTXGNIG.js → T6LE5AV3.js} +2 -2
- package/dist/cdn/{4BIQNOVL.js → T7SJPERD.js} +2 -2
- package/dist/cdn/{BEYUUQTI.js → TC4IPILH.js} +2 -2
- package/dist/cdn/{Z2PFHTYV.js → TDIGFD6C.js} +2 -2
- package/dist/cdn/{2YZSTD5U.js → TKRPT6WQ.js} +2 -2
- package/dist/cdn/TMQI5A3R.js +4 -0
- package/dist/cdn/{45N6I4FR.js → TP4SNUQP.js} +2 -2
- package/dist/cdn/{NTL4MVE2.js → TPB6JX3S.js} +2 -2
- package/dist/cdn/{NLG3VMJF.js → TQGVUSFH.js} +2 -2
- package/dist/cdn/{37T3QSFA.js → TUXS2NCO.js} +2 -2
- package/dist/cdn/{ENI3QPN4.js → U6MG2EO5.js} +2 -2
- package/dist/cdn/UN7DUY2J.js +4 -0
- package/dist/cdn/{IQBSOKY7.js → URMGN2MT.js} +2 -2
- package/dist/cdn/{Z4PASAJ2.js → USTS7Y2B.js} +2 -2
- package/dist/cdn/{LTL23PNC.js → V33QVHAN.js} +2 -2
- package/dist/cdn/{MK3GYULA.js → VATVNS23.js} +2 -2
- package/dist/cdn/{M5S5WRUC.js → VBZIVVTR.js} +2 -2
- package/dist/cdn/{QH7WCVZS.js → VDBM24A4.js} +1 -1
- package/dist/cdn/{XC6AUPFZ.js → VEWR234C.js} +2 -2
- package/dist/cdn/VKRTSWEO.js +4 -0
- package/dist/cdn/{JC2YSYVE.js → VMK2R6TP.js} +2 -2
- package/dist/cdn/{SDRTSK7C.js → VNWU5QZM.js} +2 -2
- package/dist/cdn/{NT5P4HK6.js → VOI4XM3O.js} +2 -2
- package/dist/cdn/{SDNJA2IE.js → VPQWHAFM.js} +2 -2
- package/dist/cdn/{FCJV3Q75.js → VU3JCPIT.js} +2 -2
- package/dist/cdn/VVXUJNKX.js +18 -0
- package/dist/cdn/{MKJV2VVC.js → VZYDRYPJ.js} +2 -2
- package/dist/cdn/{XUAHX6J4.js → W3DSNNVV.js} +2 -2
- package/dist/cdn/{V7PJPICR.js → WAAMAT4Z.js} +2 -2
- package/dist/cdn/{3HPLHDYM.js → WIVLALY2.js} +2 -2
- package/dist/cdn/{CX34PK7H.js → WKFSYBMR.js} +2 -2
- package/dist/cdn/{TJ5S3I3W.js → WLZ45JIK.js} +1 -1
- package/dist/cdn/{J5XVDV2Q.js → WSVTHLCV.js} +2 -2
- package/dist/cdn/{E46ZEO3R.js → WTFTU2IV.js} +2 -2
- package/dist/cdn/{JFJKT5LI.js → WXGXIEY7.js} +2 -2
- package/dist/cdn/{5HEQUTQC.js → X3GWEKWA.js} +2 -2
- package/dist/cdn/{TD65FJSX.js → X3WKODLF.js} +1 -1
- package/dist/cdn/{T4RCEYQV.js → XCCRCMGS.js} +1 -1
- package/dist/cdn/{EDYTNK6T.js → XGD7D4IX.js} +2 -2
- package/dist/cdn/{M2IPNZXM.js → XI45IAMP.js} +2 -2
- package/dist/cdn/{EH7MPSIN.js → XJ6Y3EBV.js} +2 -2
- package/dist/cdn/{DCFQZQ6B.js → XKAZP7P4.js} +2 -2
- package/dist/cdn/{4QTSVHLC.js → XL6XDS5E.js} +2 -2
- package/dist/cdn/{CBVTCVYS.js → XNCB5FKB.js} +2 -2
- package/dist/cdn/{4FACEOYR.js → XPVO2MWH.js} +2 -2
- package/dist/cdn/{IKKDJLYP.js → XRMFFWPT.js} +1 -1
- package/dist/cdn/{NU55QVUQ.js → XXFII5LS.js} +2 -2
- package/dist/cdn/{23IS443N.js → XYQZZOIU.js} +2 -2
- package/dist/cdn/{OHZR6W62.js → XZFBTGLW.js} +2 -2
- package/dist/cdn/{YFOSTE2K.js → XZV5DNY2.js} +2 -2
- package/dist/cdn/{JQDYNNQ7.js → YB5T3A6E.js} +2 -2
- package/dist/cdn/{UPXMQPT4.js → YM4Y7SHJ.js} +2 -2
- package/dist/cdn/{WL7KDFLB.js → YMUKWPJU.js} +2 -2
- package/dist/cdn/{A7ZF7UOX.js → YNEXDVCT.js} +2 -2
- package/dist/cdn/{DJXFVRLS.js → YO7YXFRF.js} +1 -1
- package/dist/cdn/{26LJZJAN.js → YQ64DIRH.js} +2 -2
- package/dist/cdn/{HDISWBDB.js → YRNSIUDG.js} +2 -2
- package/dist/cdn/{J6IBADS4.js → YSAMSVEZ.js} +1 -1
- package/dist/cdn/YTE7KWYK.js +4 -0
- package/dist/cdn/{BOIXEPOC.js → YYXGVJ7I.js} +2 -2
- package/dist/cdn/{OOZJZ3JO.js → ZEQIUX6A.js} +2 -2
- package/dist/cdn/{PBNX5LEK.js → ZFZMP4Q2.js} +2 -2
- package/dist/cdn/{DUZJ3KI6.js → ZG4NIPTF.js} +2 -2
- package/dist/cdn/{6QE7CDOC.js → ZIXYDPDT.js} +2 -2
- package/dist/cdn/{BVTK4YXV.js → ZK3V3MSX.js} +2 -2
- package/dist/cdn/{3YNQGD6I.js → ZKHXD5R4.js} +2 -2
- package/dist/cdn/{S46HEC4C.js → ZWTCU7BC.js} +2 -2
- package/dist/cdn/{JRKUHWV7.js → ZXJRHAHL.js} +2 -2
- package/dist/cdn/{C7MLATJE.js → ZXQKKGC3.js} +2 -2
- package/dist/cdn/ZYQGX4XV.js +4 -0
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solutions-deploy-app-nav.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-basemap-gallery/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-floor-filter/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.d.ts +24 -0
- package/dist/components/solution-details-card/customElement.js +42 -17
- package/dist/components/solution-details-panel/customElement.js +65 -45
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.d.ts +18 -0
- package/dist/components/solution-social-share/customElement.js +35 -17
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +1 -1
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
- package/dist/docs/api.json +207 -2
- package/dist/docs/docs.json +156 -2
- package/dist/docs/vscode.html-custom-data.json +37 -1
- package/dist/docs/web-types.json +94 -2
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/preact10.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +2 -2
- package/dist/cdn/23KH6NWC.js +0 -18
- package/dist/cdn/2BTQ2Y2G.js +0 -4
- package/dist/cdn/2QADQIM3.js +0 -4
- package/dist/cdn/2XIXVT4I.js +0 -4
- package/dist/cdn/7IAOKZRT.js +0 -18
- package/dist/cdn/AVICZOV5.js +0 -4
- package/dist/cdn/B6S4V3SN.js +0 -4
- package/dist/cdn/CNQOUA3N.js +0 -4
- package/dist/cdn/E2BK6CJ6.js +0 -4
- package/dist/cdn/EGW2W4PE.js +0 -4
- package/dist/cdn/GZYAEL26.js +0 -6
- package/dist/cdn/HDDD5TSJ.js +0 -4
- package/dist/cdn/J5PLYYIG.js +0 -4
- package/dist/cdn/K7TWFSNW.js +0 -4
- package/dist/cdn/KDSE3J6C.js +0 -4
- package/dist/cdn/MBKY2N2U.js +0 -4
- package/dist/cdn/MUV7DXQR.js +0 -4
- package/dist/cdn/MXHT7BSH.js +0 -4
- package/dist/cdn/NICCDU7C.js +0 -4
- package/dist/cdn/NULK6NXS.js +0 -4
- package/dist/cdn/OJ6PI72V.js +0 -4
- package/dist/cdn/QA2VERED.js +0 -4
- package/dist/cdn/R4XTMIYU.js +0 -9
- package/dist/cdn/ROFINWR4.js +0 -4
- package/dist/cdn/S2AJC2PG.js +0 -4
- package/dist/cdn/STBCPOOD.js +0 -18
- package/dist/cdn/UG2UPNFY.js +0 -4
- package/dist/cdn/UHQR4I5Q.js +0 -4
- package/dist/cdn/UUK7ZAQU.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as S}from"./33I4DZ22.js";import{b as d,c as g,i as y,j as N}from"./CN7REFOE.js";import{a as I}from"./TD65FJSX.js";import{a as M,e as E,f as T,g as F}from"./3IBYY6AT.js";import{a as $,b as R}from"./CFJPV3VR.js";import{d as l,e as p,f as c}from"./A5L2XZNT.js";import{a as A}from"./CM3OQ7Z6.js";import{a as x}from"./RMLYN52W.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
|
|
3
|
+
v1.2.0-next.57 */
|
|
4
|
+
import{a as S}from"./BJ5G4OZF.js";import{b as d,c as g,i as y,j as N}from"./H4CTJWTH.js";import{a as I}from"./X3WKODLF.js";import{a as M,e as E,f as T,g as F}from"./IXIKCAAL.js";import{a as $,b as R}from"./CLVUXJOQ.js";import{d as l,e as p,f as c}from"./HWAWVSSA.js";import{a as A}from"./A3XT462M.js";import{a as x}from"./6M6OVAM3.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import e from"./
|
|
3
|
+
v1.2.0-next.57 */
|
|
4
|
+
import e from"./HMAEKDP7.js";import{a as P}from"./QLHBYUEI.js";import c from"./FVGON5YK.js";import"./S7BSU373.js";import"./6H4O3DWG.js";import b from"./FN2YPD3P.js";import a from"./XJ6Y3EBV.js";import{a as L}from"./2W3ETYCA.js";import"./GE2O6XGK.js";import"./63WWBL3G.js";import"./CNM2ZTS6.js";import"./TKRPT6WQ.js";import"./CZPZA5H5.js";import"./XPVO2MWH.js";import"./BJ5G4OZF.js";import"./6BKJZUXA.js";import"./M5VHVBDS.js";import"./H4CTJWTH.js";import"./RIT3TZFO.js";import"./X3WKODLF.js";import"./MCVIHE4V.js";import"./IXIKCAAL.js";import"./YNEXDVCT.js";import"./CLVUXJOQ.js";import"./HWAWVSSA.js";import"./A3XT462M.js";import"./OKEU3MBX.js";import"./6M6OVAM3.js";import"./37E5NJJO.js";import{a as k}from"./P72QLQYD.js";import"./RRMSL5OC.js";import"./QSLYPFRO.js";import{b as $,c as x}from"./J65A6HMK.js";import{E as d,F as p,G as v,I as h,h as m,i as n,l as g,q as y,r as S,t as w}from"./IJNDAHUI.js";import"./XCCRCMGS.js";export default $arcgis.t(([O,{g:l,i:c,j:r},{g:E,j:T},{a:C,d:I}])=>{var V=m`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import e from"./
|
|
3
|
+
v1.2.0-next.57 */
|
|
4
|
+
import e from"./FN2YPD3P.js";import b from"./XJ6Y3EBV.js";import"./2W3ETYCA.js";import{b as m}from"./GE2O6XGK.js";import"./63WWBL3G.js";import"./CNM2ZTS6.js";import"./TKRPT6WQ.js";import"./CZPZA5H5.js";import"./XPVO2MWH.js";import"./BJ5G4OZF.js";import"./6BKJZUXA.js";import"./M5VHVBDS.js";import"./H4CTJWTH.js";import"./RIT3TZFO.js";import"./X3WKODLF.js";import"./MCVIHE4V.js";import"./IXIKCAAL.js";import"./YNEXDVCT.js";import"./CLVUXJOQ.js";import"./HWAWVSSA.js";import"./A3XT462M.js";import"./OKEU3MBX.js";import"./6M6OVAM3.js";import"./37E5NJJO.js";import{a as u}from"./P72QLQYD.js";import"./RRMSL5OC.js";import"./QSLYPFRO.js";import{b as p}from"./J65A6HMK.js";import{E as c,F as h,G as d,h as n,i,q as a,t as l}from"./IJNDAHUI.js";import"./XCCRCMGS.js";export default $arcgis.t(([,{d:b}])=>{var f=n`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{b as r}from"./
|
|
3
|
+
v1.2.0-next.57 */
|
|
4
|
+
import{b as r}from"./KPTNDAVM.js";import{G as i,h as a,i as p}from"./IJNDAHUI.js";import"./XCCRCMGS.js";export default $arcgis.t(([l])=>{var d=a`:host{display:block}`,m="floating",h="instant-apps-control-panel",x="border-bottom: 1px solid var(--calcite-color-border-3)",s=class extends i{constructor(){super(...arguments),this.components=[]}static{this.properties={components:0,view:0}}static{this.styles=d}async load(){await this._handleComponents()}async _handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return(o,e)=>{let n=o.content;o.isExpand&&(n=this._getExpand(o),o.expandIcon&&(n.expandIcon=o.expandIcon),o.collapseTooltip&&(n.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(n.expandTooltip=o.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),e!==this.components.length-1&&(n.container.style=x)}}_getExpand(t){let{view:o}=this,{content:e,focusTrapDisabled:n}=t,c=t?.expanded??!1;return new l({content:e,view:o,expanded:c,mode:m,group:h,focusTrapDisabled:!!n})}_getComponentsNode(){return this.el.querySelector('[slot="components"]')}_resetUI(t){if(t.children.length>0)for(;t.firstChild;)t.removeChild(t.firstChild)}render(){return p`<slot name=components></slot>`}};r("instant-apps-control-panel",s);return s},"widgets/Expand")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{d as s}from"./
|
|
3
|
+
v1.2.0-next.57 */
|
|
4
|
+
import{d as s}from"./YNEXDVCT.js";import"./OKEU3MBX.js";import"./6M6OVAM3.js";import"./37E5NJJO.js";import"./XCCRCMGS.js";var a=async(e,r,l)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.groupAccess.label`,scope:"/properties/_associations/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.groupAccess.helperText`},labels:[`{{${e}.fields.groupAccess.private.label:translate}}`,`{{${e}.fields.groupAccess.org.label:translate}}`,`{{${e}.fields.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.groupAccess.private.description:translate}}`,`{{${e}.fields.groupAccess.org.description:translate}}`,`{{${e}.fields.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/_associations/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org:translate}}`,`{{${e}.fields.membershipAccess.collab:translate}}`,`{{${e}.fields.membershipAccess.any:translate}}`],disabled:[!1,!s("platform:portal:user:addExternalMembersToGroup",l).access,!s("platform:portal:user:addExternalMembersToGroup",l).access]}}]}]});export{a 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.57 */
|
|
4
|
+
import"./XCCRCMGS.js";var e=()=>({properties:{allowRegistration:{type:"boolean",enum:[!0,!1],default:!0},notifyAttendees:{type:"boolean",enum:[!0,!1],default:!0}}});export{e as buildSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as e}from"./
|
|
3
|
+
v1.2.0-next.57 */
|
|
4
|
+
import{a as e}from"./XNCB5FKB.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as G}from"./2YZSTD5U.js";import{a as L}from"./UE7BAA2K.js";import{c as K,d as _,e as U}from"./XILPURV7.js";import"./MEAUM6MU.js";import{l as j,p as P}from"./4FACEOYR.js";import"./33I4DZ22.js";import"./GROTOZAB.js";import"./CN7REFOE.js";import"./FI67WAMQ.js";import{a as S}from"./TD65FJSX.js";import"./B5AVWJK2.js";import"./67GMLPZ5.js";import"./3IBYY6AT.js";import"./A7ZF7UOX.js";import{v as w}from"./CFJPV3VR.js";import"./A5L2XZNT.js";import"./CM3OQ7Z6.js";import"./CLCMSAWD.js";import"./RMLYN52W.js";import"./DHTXXBZF.js";import{b as A}from"./CDZSQWRL.js";import{a as c,b as p}from"./YQWKQRZG.js";import"./T4RCEYQV.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.2.0-next.57 */
|
|
4
|
+
import{a as G}from"./TKRPT6WQ.js";import{a as L}from"./IEQDJIPL.js";import{c as K,d as _,e as U}from"./25P7ICZT.js";import"./4VRSH6TE.js";import{l as j,p as P}from"./XPVO2MWH.js";import"./BJ5G4OZF.js";import"./Q4CBXIUP.js";import"./H4CTJWTH.js";import"./RIT3TZFO.js";import{a as S}from"./X3WKODLF.js";import"./MCVIHE4V.js";import"./QF5GF5AZ.js";import"./IXIKCAAL.js";import"./YNEXDVCT.js";import{v as w}from"./CLVUXJOQ.js";import"./HWAWVSSA.js";import"./A3XT462M.js";import"./OKEU3MBX.js";import"./6M6OVAM3.js";import"./37E5NJJO.js";import{b as A}from"./GFUC7GPF.js";import{a as c,b as p}from"./KSOBOYUB.js";import"./XCCRCMGS.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};
|