@esri/solutions-components 1.1.0-next.20251001.1 → 1.1.0-next.20251003
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/{3V4VKE7V.js → 255FFRN6.js} +2 -2
- package/dist/cdn/{UUQJFS5C.js → 276ZHID6.js} +2 -2
- package/dist/cdn/{5LCTRIUC.js → 2ONRUQFV.js} +2 -2
- package/dist/cdn/{YU2HWCG6.js → 2VKF6PR4.js} +2 -2
- package/dist/cdn/{54UCJPI6.js → 36GXCPP5.js} +2 -2
- package/dist/cdn/{Y5IPQLDH.js → 3FSQROF5.js} +1 -1
- package/dist/cdn/{TPTWXLY5.js → 3I72PCEP.js} +1 -1
- package/dist/cdn/{3ED2DZVC.js → 3MXHKKW3.js} +2 -2
- package/dist/cdn/{ULYWSYT3.js → 3OKTZASX.js} +2 -2
- package/dist/cdn/{QO3MRL5D.js → 3OY3YMT5.js} +1 -1
- package/dist/cdn/{UJKEHSSJ.js → 3QTLO72X.js} +2 -2
- package/dist/cdn/{6N3KGRET.js → 3SSM44AZ.js} +2 -2
- package/dist/cdn/{3NPCU2LT.js → 3VQ57FB7.js} +2 -2
- package/dist/cdn/{ZTNPPZFF.js → 3X2PJRLH.js} +2 -2
- package/dist/cdn/{3SVM2RHB.js → 45KKZE6P.js} +2 -2
- package/dist/cdn/4AINUYJB.js +18 -0
- package/dist/cdn/{YQ5VJU2U.js → 4BLZZ4AN.js} +2 -2
- package/dist/cdn/{P735ARVZ.js → 4DPOKY7J.js} +2 -2
- package/dist/cdn/{PJ5GIMQ3.js → 4EXRQCTU.js} +2 -2
- package/dist/cdn/{DX2KWXQH.js → 4IGJLSVQ.js} +2 -2
- package/dist/cdn/{UBQIWDJ6.js → 4K4JSGYM.js} +2 -2
- package/dist/cdn/{IXKMX4TL.js → 4NXA4R4C.js} +2 -2
- package/dist/cdn/{YZEMFOML.js → 4O4I37QW.js} +2 -2
- package/dist/cdn/{G4K6QJKG.js → 4OIZKI5X.js} +2 -2
- package/dist/cdn/{FBWQBY27.js → 4PSBLA5A.js} +1 -1
- package/dist/cdn/{KPJDZ6GB.js → 4QH5EQCM.js} +2 -2
- package/dist/cdn/{XUPJRKEU.js → 4QJZ6RTQ.js} +2 -2
- package/dist/cdn/{Q7Z6TSJO.js → 4RE4Y5FQ.js} +2 -2
- package/dist/cdn/{QUAPDTN4.js → 4SVJQ4LX.js} +1 -1
- package/dist/cdn/{AG7WZVG3.js → 4V6ENHCJ.js} +2 -2
- package/dist/cdn/{IUJF7M7E.js → 4V7S5IMD.js} +2 -2
- package/dist/cdn/{SLRIN2EE.js → 4Y5PAGVV.js} +2 -2
- package/dist/cdn/{MPXO4HWB.js → 4YRN5QU6.js} +2 -2
- package/dist/cdn/{5KM3OQ45.js → 525LHKW2.js} +2 -2
- package/dist/cdn/{UDPIYAP4.js → 52XXPOCM.js} +2 -2
- package/dist/cdn/{LABCPCJ5.js → 53YVFBD6.js} +3 -3
- package/dist/cdn/{KHMHCKSH.js → 555R5J5L.js} +2 -2
- package/dist/cdn/{2Q7W3K2U.js → 5CY6O5VY.js} +2 -2
- package/dist/cdn/{TGUYC6XA.js → 5PEPXZUQ.js} +2 -2
- package/dist/cdn/{UQPYI4YU.js → 5W566AFV.js} +2 -2
- package/dist/cdn/{4QAIRZLC.js → 5ZLN2E7F.js} +2 -2
- package/dist/cdn/{AFO27NTW.js → 62EH24ZG.js} +2 -2
- package/dist/cdn/{5MJ2X7WW.js → 63PGF4KB.js} +11 -11
- package/dist/cdn/{6UPBHSJU.js → 66BJFYWK.js} +3 -3
- package/dist/cdn/{VNKIBY73.js → 6AN3IZTS.js} +2 -2
- package/dist/cdn/{B5HXNRNU.js → 6BSJZZWP.js} +2 -2
- package/dist/cdn/{TYQY5U2V.js → 6CH5PJ3D.js} +2 -2
- package/dist/cdn/{F2SBQZXY.js → 6F2I4B23.js} +2 -2
- package/dist/cdn/{6C3L2DZO.js → 6FQ5E7LZ.js} +2 -2
- package/dist/cdn/6SFMCZX5.js +32 -0
- package/dist/cdn/{44YJQ3Z7.js → 6SJN3RI6.js} +1 -1
- package/dist/cdn/{3B4GHGN7.js → 6VAWBHQH.js} +2 -2
- package/dist/cdn/{RFWYMUFZ.js → 6WUCMVS2.js} +2 -2
- package/dist/cdn/{OAFKCPGA.js → 6YK3D4GD.js} +2 -2
- package/dist/cdn/{CMRHHLTA.js → 74AFVSP3.js} +2 -2
- package/dist/cdn/{53CTPJ7L.js → 74BJAXNM.js} +2 -2
- package/dist/cdn/{U7QJL6RJ.js → 74GRV4IA.js} +2 -2
- package/dist/cdn/{2HZNWLFR.js → 76WTGL74.js} +2 -2
- package/dist/cdn/76YHYO6R.js +18 -0
- package/dist/cdn/77JHJDO3.js +4 -0
- package/dist/cdn/7APZNWWA.js +18 -0
- package/dist/cdn/{K5NA7NZG.js → 7DW6E2G4.js} +2 -2
- package/dist/cdn/{J232BJHR.js → 7RLPE2LE.js} +2 -2
- package/dist/cdn/{WLO6G3ZI.js → 7TLTRTJJ.js} +2 -2
- package/dist/cdn/{AY3NI2XG.js → A47CEPD4.js} +2 -2
- package/dist/cdn/{NZW5I4ME.js → AAN2GORT.js} +2 -2
- package/dist/cdn/{D45QIGUI.js → AD2XEHSU.js} +2 -2
- package/dist/cdn/{ETU34LXS.js → AMLT4MXJ.js} +2 -2
- package/dist/cdn/AQL2EEP6.js +4 -0
- package/dist/cdn/{FEU2BADY.js → AUBGDSNS.js} +2 -2
- package/dist/cdn/{WT44E4WB.js → AWHMTVRK.js} +2 -2
- package/dist/cdn/{HRJCLLXN.js → AXXSKOG7.js} +2 -2
- package/dist/cdn/{ABW4FZ4A.js → B32GA4ZY.js} +2 -2
- package/dist/cdn/{LAFNLEAQ.js → BA2ODWAV.js} +2 -2
- package/dist/cdn/{2AEYT5EN.js → BASYG5EI.js} +2 -2
- package/dist/cdn/{TJBFLJQE.js → BCQ7PB5L.js} +1 -1
- package/dist/cdn/{ORRNGEPB.js → BCT76NH3.js} +2 -2
- package/dist/cdn/{AYBNUKF2.js → BE6Y4SAS.js} +2 -2
- package/dist/cdn/{UNY6ZPBO.js → BFMO27HI.js} +2 -2
- package/dist/cdn/BLWJJIVF.js +4 -0
- package/dist/cdn/{JIGAUQSV.js → BTBBUCFG.js} +2 -2
- package/dist/cdn/{RZRMSPUG.js → BUK3AXVT.js} +4 -4
- package/dist/cdn/{6OEHSLBL.js → BWXOVTHE.js} +2 -2
- package/dist/cdn/{U6K7QTEN.js → BXVIXLRN.js} +2 -2
- package/dist/cdn/{4PNMPCYE.js → C3ULFDL6.js} +1 -1
- package/dist/cdn/{Z22QJBZP.js → C5JMA3VO.js} +2 -2
- package/dist/cdn/{SP2IBQRM.js → CFA55OMC.js} +2 -2
- package/dist/cdn/{VX5NJVMO.js → CG6TQX5R.js} +2 -2
- package/dist/cdn/{MZPGTHXU.js → CGO26IXO.js} +2 -2
- package/dist/cdn/{5IUMTQEP.js → CNS57OWN.js} +2 -2
- package/dist/cdn/{NJ5MKRTM.js → CQK3BMBI.js} +2 -2
- package/dist/cdn/{J24EZC35.js → CRSVD2NX.js} +2 -2
- package/dist/cdn/CRTVGF25.js +18 -0
- package/dist/cdn/{XULLRYLK.js → CUAKPCDU.js} +2 -2
- package/dist/cdn/{O3IYQZS4.js → CV5QMNOP.js} +2 -2
- package/dist/cdn/{F3IFJUMZ.js → CVHMW6KL.js} +2 -2
- package/dist/cdn/{4W77FHNW.js → D3RILYWV.js} +3 -3
- package/dist/cdn/{XU2USBFY.js → DDVJ3JLU.js} +2 -2
- package/dist/cdn/{VOJ5I2DI.js → DEDFE33X.js} +2 -2
- package/dist/cdn/{4OITS6OK.js → DFUNTOD4.js} +2 -2
- package/dist/cdn/{EMPCYNVL.js → DL3GVIIB.js} +2 -2
- package/dist/cdn/DLEBYLCL.js +4 -0
- package/dist/cdn/{EZY6IHIO.js → DM5TQ2UX.js} +2 -2
- package/dist/cdn/{IAGYOESJ.js → DMOU6E5N.js} +1 -1
- package/dist/cdn/{U3CWV2X3.js → DMYXBSFV.js} +2 -2
- package/dist/cdn/{4DK5FO5H.js → DO4C2ZFB.js} +2 -2
- package/dist/cdn/DPF7M6FH.js +4 -0
- package/dist/cdn/{2JLIDK4F.js → DSQLWDME.js} +2 -2
- package/dist/cdn/{GVL6QMUW.js → E55QEAZU.js} +2 -2
- package/dist/cdn/{AL7BYUFL.js → E6F3Q2WH.js} +1 -1
- package/dist/cdn/{QNL73AJ7.js → ECU5P5XQ.js} +2 -2
- package/dist/cdn/{YYMQ6Q6V.js → EFVSZIO5.js} +2 -2
- package/dist/cdn/{GI43YZFO.js → EGJJCZ6T.js} +2 -2
- package/dist/cdn/{TAWCEX4E.js → EGSTJEDG.js} +2 -2
- package/dist/cdn/{T3TTYN47.js → EHO2NULT.js} +2 -2
- package/dist/cdn/{X3WZALYF.js → EIOQMWBZ.js} +1 -1
- package/dist/cdn/{CE5P6QNM.js → ENFNJDP4.js} +2 -2
- package/dist/cdn/{7KE3RMPB.js → EOP427LW.js} +2 -2
- package/dist/cdn/{H6U7EXWQ.js → EQT2HI7R.js} +2 -2
- package/dist/cdn/{AFXENE56.js → ESXLY5ZV.js} +2 -2
- package/dist/cdn/{MEFB22VX.js → EXUIACSX.js} +2 -2
- package/dist/cdn/{HRWRCQKJ.js → F6ZCZA77.js} +2 -2
- package/dist/cdn/{JY3JOOER.js → FNU2KCAL.js} +2 -2
- package/dist/cdn/{GXJDDICF.js → FNVLHQQW.js} +2 -2
- package/dist/cdn/{NF5FJFX4.js → FQ34TDJ5.js} +2 -2
- package/dist/cdn/FTQB6L4P.js +18 -0
- package/dist/cdn/{FKGTOFJU.js → FY3IA2CD.js} +2 -2
- package/dist/cdn/{NW6RXSQC.js → FZPBKB2A.js} +2 -2
- package/dist/cdn/{2JDXYIOQ.js → G2HJS27Y.js} +2 -2
- package/dist/cdn/{UORXW6T2.js → G2VAHTOZ.js} +2 -2
- package/dist/cdn/{LPQD7HOP.js → G433TJJM.js} +2 -2
- package/dist/cdn/{YRUKQBWR.js → G5A42QWN.js} +2 -2
- package/dist/cdn/{SMWON25K.js → G5ID4AKW.js} +2 -2
- package/dist/cdn/{XRRMKBZC.js → G5QG243B.js} +2 -2
- package/dist/cdn/{IT423KGN.js → G6OXKKII.js} +2 -2
- package/dist/cdn/{OPY4Z2YE.js → GAJHKAP6.js} +2 -2
- package/dist/cdn/{VRU3BP4W.js → GCCMX7HT.js} +2 -2
- package/dist/cdn/{MAHTOZQZ.js → GF32HN3G.js} +2 -2
- package/dist/cdn/{ZNNLHOXB.js → GL2DFPES.js} +2 -2
- package/dist/cdn/{RWIQOF3I.js → GOMCCYIB.js} +2 -2
- package/dist/cdn/{BR2KYFVU.js → GU2J27Y4.js} +2 -2
- package/dist/cdn/GW6MAVZB.js +18 -0
- package/dist/cdn/{DADS3G2A.js → GYRPSJG5.js} +2 -2
- package/dist/cdn/{VPDB3Z3Z.js → GZTVZREB.js} +2 -2
- package/dist/cdn/{S4SB5HEM.js → H36WONTX.js} +1 -1
- package/dist/cdn/{M7M7RR3S.js → H6CR332J.js} +2 -2
- package/dist/cdn/{MWYML6WY.js → HGTZZH7P.js} +2 -2
- package/dist/cdn/{WRGYCJSM.js → HL4CBUJV.js} +1 -1
- package/dist/cdn/{SOB6MDSE.js → HMFIFRBW.js} +2 -2
- package/dist/cdn/{EG6O4RGD.js → HMM6LNIK.js} +2 -2
- package/dist/cdn/{YG6LBR5J.js → HOAEW2HA.js} +2 -2
- package/dist/cdn/{TPBX5AGW.js → HOHL5YGO.js} +2 -2
- package/dist/cdn/{D65MWXTY.js → HSOFX6JP.js} +2 -2
- package/dist/cdn/{IX57U3VX.js → HW3AZE43.js} +1 -1
- package/dist/cdn/{32Z322VO.js → HYZPVUUU.js} +2 -2
- package/dist/cdn/{3LFZ5T7A.js → ICBOQVUT.js} +2 -2
- package/dist/cdn/{RGWPAFYJ.js → IEWCFRS3.js} +2 -2
- package/dist/cdn/{744WKL4B.js → IJ7XUCKZ.js} +2 -2
- package/dist/cdn/{WPGCC72Z.js → IO4BEC3B.js} +2 -2
- package/dist/cdn/{NUEDPTPH.js → IT2QFIDQ.js} +2 -2
- package/dist/cdn/{7YURZN2L.js → IYGRD77H.js} +2 -2
- package/dist/cdn/{5QDFSQJO.js → J3KF3PRN.js} +2 -2
- package/dist/cdn/{TN6FNGRG.js → J73WKE2A.js} +2 -2
- package/dist/cdn/{Z6B3WHSU.js → JAPLJADD.js} +2 -2
- package/dist/cdn/{UZCZ4YQJ.js → JD2NWIUZ.js} +1 -1
- package/dist/cdn/{ND2IK3J4.js → JJ5NAWQF.js} +2 -2
- package/dist/cdn/{2GNEM4WI.js → JJBMLBOD.js} +2 -2
- package/dist/cdn/{CUDC5ZC7.js → JMC5S3OP.js} +2 -2
- package/dist/cdn/{N6KHEEH3.js → JMNPNOMM.js} +2 -2
- package/dist/cdn/{JBWJKX6R.js → JMQYSN2U.js} +2 -2
- package/dist/cdn/{AAHYGMQT.js → JPAPTSIM.js} +2 -2
- package/dist/cdn/{CXEFCT7U.js → JPXZR7F6.js} +2 -2
- package/dist/cdn/{Y26VV5TR.js → JSG72U23.js} +2 -2
- package/dist/cdn/JSLBDCYN.js +4 -0
- package/dist/cdn/{H3JE25P4.js → K4U36B2V.js} +2 -2
- package/dist/cdn/{ONWRZL4D.js → K7BJT7P5.js} +2 -2
- package/dist/cdn/{RAMU6EDK.js → K7E3FYY7.js} +1 -1
- package/dist/cdn/{LHLEEXVK.js → KBYURVEW.js} +2 -2
- package/dist/cdn/{I6Y47RXA.js → KCRJ3JSU.js} +2 -2
- package/dist/cdn/{6H2IV23Z.js → KFVDMG2X.js} +2 -2
- package/dist/cdn/{Z4SZ3T5Q.js → KGFJINDZ.js} +2 -2
- package/dist/cdn/{73DLCY4H.js → L3HN5AEC.js} +2 -2
- package/dist/cdn/{RH2ESQUL.js → L7GNTOWS.js} +2 -2
- package/dist/cdn/{P6VJL3SQ.js → LDCLSTHK.js} +2 -2
- package/dist/cdn/LSNLFFRL.js +18 -0
- package/dist/cdn/{PNA7VJ2E.js → LV5REHNL.js} +2 -2
- package/dist/cdn/LYQ3KTGD.js +6 -0
- package/dist/cdn/{XJUPEAQ5.js → LZ3VYGB4.js} +2 -2
- package/dist/cdn/{PKDOLQ7V.js → M2HAF2GX.js} +2 -2
- package/dist/cdn/{FAYOSJHL.js → M3UIPWYF.js} +2 -2
- package/dist/cdn/{I57F65R3.js → M3WLEKZY.js} +1 -1
- package/dist/cdn/{QPZTJWXP.js → MAV2E7IR.js} +2 -2
- package/dist/cdn/{BMP6JBUC.js → MCCOBK4U.js} +2 -2
- package/dist/cdn/{T6YHOTFI.js → MDXWBTRA.js} +2 -2
- package/dist/cdn/{MJKJX3HD.js → MIBJXLGF.js} +2 -2
- package/dist/cdn/{NYNK6MDG.js → MIMNLENH.js} +2 -2
- package/dist/cdn/{4HUGCC22.js → MLGWC5WC.js} +2 -2
- package/dist/cdn/{BGEKENEW.js → MLPRVROZ.js} +2 -2
- package/dist/cdn/{IZ4Q2NCE.js → MPOQCAB6.js} +2 -2
- package/dist/cdn/{YXK7Y3D3.js → MTFQHJ7S.js} +2 -2
- package/dist/cdn/{EQYKIFSR.js → MUKFRDRU.js} +2 -2
- package/dist/cdn/{OW2VVRPH.js → N2UEZKKT.js} +1 -1
- package/dist/cdn/{PNJABFHT.js → N3SX4PJO.js} +2 -2
- package/dist/cdn/{VXL6UU32.js → N6XFNMNC.js} +2 -2
- package/dist/cdn/{PWQW6QGN.js → N7M4R6MB.js} +2 -2
- package/dist/cdn/{3EXVFSPL.js → NAAEMR7C.js} +2 -2
- package/dist/cdn/{LJNC3CQ4.js → NB5Y75SB.js} +2 -2
- package/dist/cdn/{Y6HBFOGB.js → NBFNKQRL.js} +2 -2
- package/dist/cdn/{4OHW6OFA.js → NBPC3ZFT.js} +2 -2
- package/dist/cdn/{AUTDUGL2.js → NBVYJDDR.js} +2 -2
- package/dist/cdn/NDF3N6HW.js +4 -0
- package/dist/cdn/{AADAYMT6.js → NEWVUWSK.js} +2 -2
- package/dist/cdn/{FIBLCYVI.js → NGPTQFAY.js} +1 -1
- package/dist/cdn/{BUZUCGC5.js → NITTCIVL.js} +2 -2
- package/dist/cdn/{76KBCKGN.js → NKHE4IDW.js} +2 -2
- package/dist/cdn/{25PXWPED.js → NPTS3X7S.js} +2 -2
- package/dist/cdn/{WBMDIJ7H.js → NPZYRGJR.js} +1 -1
- package/dist/cdn/{26NPWR4E.js → NRNJQ6LW.js} +1 -1
- package/dist/cdn/{MOHNOCW5.js → NVNJVDKY.js} +2 -2
- package/dist/cdn/{7DWRUYAH.js → NWK4W24O.js} +2 -2
- package/dist/cdn/{NJPPUFFR.js → O44LA7OL.js} +1 -1
- package/dist/cdn/{PZKE7HQT.js → O4BW2L5G.js} +2 -2
- package/dist/cdn/{NG6NUOP3.js → O5FSYFTO.js} +2 -2
- package/dist/cdn/{YWMGE5L2.js → O5IC74VW.js} +2 -2
- package/dist/cdn/{CSL3GOVE.js → O73TK37S.js} +1 -1
- package/dist/cdn/{2UQPZ6NH.js → OBINZMHB.js} +2 -2
- package/dist/cdn/{OYFTOJO5.js → ODRRKBUZ.js} +2 -2
- package/dist/cdn/{DAHGIWLP.js → OT7U2KKN.js} +1 -1
- package/dist/cdn/{RPGDZFQK.js → OXR3CLWM.js} +2 -2
- package/dist/cdn/{X2FKAGGD.js → OZSUO2RI.js} +2 -2
- package/dist/cdn/{HIZLEBSM.js → P4CH3JVD.js} +1 -1
- package/dist/cdn/{GGNR6VWM.js → PDSJLVCU.js} +1 -1
- package/dist/cdn/{A6QCOM2P.js → PGQILJGZ.js} +2 -2
- package/dist/cdn/{QDBHOCPI.js → PJ6P5M6W.js} +2 -2
- package/dist/cdn/{GSD3LFSU.js → PK5PHGBL.js} +2 -2
- package/dist/cdn/{CNDP7JNB.js → PLJDLID2.js} +2 -2
- package/dist/cdn/{4U2MELLO.js → PLVZ6KCL.js} +2 -2
- package/dist/cdn/{P4LWYJGK.js → PULWJVQ6.js} +1 -1
- package/dist/cdn/{35VKC3HF.js → PUYL34E7.js} +2 -2
- package/dist/cdn/{SVUWQBJ3.js → Q6F3I5ID.js} +2 -2
- package/dist/cdn/{IOCEGFZ6.js → QBYTLAAR.js} +2 -2
- package/dist/cdn/{VLEMGKLD.js → QD45UNRU.js} +1 -1
- package/dist/cdn/{RSRNKFJB.js → QDGZPTOS.js} +2 -2
- package/dist/cdn/{KSRDVGLI.js → QF5SFD5P.js} +1 -1
- package/dist/cdn/QGM2IHP7.js +18 -0
- package/dist/cdn/{HHMWLNDM.js → QLEOLUNQ.js} +2 -2
- package/dist/cdn/{MJTZKZWX.js → QLUF3CA4.js} +2 -2
- package/dist/cdn/QQMQZWHZ.js +4 -0
- package/dist/cdn/{NBOMJONT.js → QT6NQCTF.js} +2 -2
- package/dist/cdn/{5KJ43LT2.js → QXJZIFME.js} +2 -2
- package/dist/cdn/{I77ESG6W.js → R2BTBE5Y.js} +1 -1
- package/dist/cdn/{WXP7MVWM.js → R2VZTVWF.js} +2 -2
- package/dist/cdn/{JSPYOTYK.js → R5MOLXYO.js} +2 -2
- package/dist/cdn/{VGQMQMW2.js → REIIATFT.js} +2 -2
- package/dist/cdn/{DDZGCU7E.js → RG3HIFJ7.js} +2 -2
- package/dist/cdn/{IUMZOPCZ.js → RGQ5Y5GC.js} +2 -2
- package/dist/cdn/{56WFFMLM.js → RRCJCS53.js} +2 -2
- package/dist/cdn/{G6EY2AO6.js → RSOXCIBH.js} +2 -2
- package/dist/cdn/{L3FLIUCT.js → RVYKZUI7.js} +2 -2
- package/dist/cdn/{APT2GQ3E.js → SG5MHJ4N.js} +2 -2
- package/dist/cdn/{KY6VYS63.js → SGLIPS4K.js} +2 -2
- package/dist/cdn/{2RWVFEFA.js → SHSMDVKF.js} +2 -2
- package/dist/cdn/{KR3B36T2.js → SHYHZYKZ.js} +2 -2
- package/dist/cdn/{GCLQJCPJ.js → SKROSG35.js} +2 -2
- package/dist/cdn/{FW7R3WPQ.js → SKWHNZUO.js} +2 -2
- package/dist/cdn/SP5Q3OWO.js +4 -0
- package/dist/cdn/{HICZARO2.js → SQYDLSNS.js} +2 -2
- package/dist/cdn/{2K3QGCHY.js → SSNVKKF2.js} +2 -2
- package/dist/cdn/{K2XE5PCL.js → T2IELMDA.js} +2 -2
- package/dist/cdn/{CPNGZCYJ.js → T3AL5SL4.js} +2 -2
- package/dist/cdn/{3QSTJB4G.js → T7AEMZMX.js} +2 -2
- package/dist/cdn/{T4VXASQ3.js → TFM3Q342.js} +1 -1
- package/dist/cdn/{GOXCTX5F.js → TG6OB6L6.js} +2 -2
- package/dist/cdn/{35U56JIN.js → TGEGZY2G.js} +2 -2
- package/dist/cdn/{MGYPSDR4.js → TKY57TEX.js} +2 -2
- package/dist/cdn/{K4MN47BN.js → TKZN4NGF.js} +2 -2
- package/dist/cdn/{OCBVKLSL.js → TNOZQKKG.js} +1 -1
- package/dist/cdn/{4ZR3MSNA.js → TTBW4SM4.js} +2 -2
- package/dist/cdn/{RWQTCZS7.js → TZMCPBQ6.js} +2 -2
- package/dist/cdn/U45RA23S.js +4 -0
- package/dist/cdn/{6EHWSG37.js → UFY4FKE4.js} +2 -2
- package/dist/cdn/{4YJ6A7NH.js → UG6DTQWC.js} +2 -2
- package/dist/cdn/{ZVGL7CJA.js → UGCZTLUJ.js} +2 -2
- package/dist/cdn/{6RW5X6U7.js → ULYPTG4C.js} +2 -2
- package/dist/cdn/{HMOI5PBK.js → UMLSM7SQ.js} +2 -2
- package/dist/cdn/{46762KZU.js → UOQ75LBF.js} +2 -2
- package/dist/cdn/{R4XUHQKF.js → UOTCT3X2.js} +2 -2
- package/dist/cdn/{QV37GJYO.js → UPP373IZ.js} +2 -2
- package/dist/cdn/{VUVGVTFD.js → USH2FWEI.js} +2 -2
- package/dist/cdn/{PF74RPRR.js → UWPYZKRU.js} +2 -2
- package/dist/cdn/{DWJ66BPI.js → UXHFA7TQ.js} +1 -1
- package/dist/cdn/{G7TIHPPP.js → UXQTOOQF.js} +2 -2
- package/dist/cdn/{5Z4MFGB2.js → UZ3FNZON.js} +2 -2
- package/dist/cdn/{YMYLX5KE.js → V3ZZ5N4R.js} +2 -2
- package/dist/cdn/{GWPDPRKQ.js → V4AQKHXK.js} +2 -2
- package/dist/cdn/{XXQBIMTA.js → V4Z4WMMJ.js} +2 -2
- package/dist/cdn/{VO725MXM.js → VCKCORX7.js} +2 -2
- package/dist/cdn/{UMXSJGTY.js → VEPVOZOG.js} +2 -2
- package/dist/cdn/{UZ7BFM3X.js → VOMUURUC.js} +2 -2
- package/dist/cdn/{R4UPDI2V.js → VSD3M6NN.js} +2 -2
- package/dist/cdn/{Y7XPQ7UZ.js → VWW3LSRO.js} +2 -2
- package/dist/cdn/{ERQ5BYWY.js → VYKVHYXK.js} +2 -2
- package/dist/cdn/W7MYYAYF.js +4 -0
- package/dist/cdn/{BH4V7GBG.js → WBFSXBTD.js} +2 -2
- package/dist/cdn/{U4ZMYHFB.js → WGAW32YJ.js} +1 -1
- package/dist/cdn/{QOUQNYHD.js → WLOLHBFB.js} +2 -2
- package/dist/cdn/{7OHK4L2N.js → WSRJWIJL.js} +2 -2
- package/dist/cdn/{ER5T5IBK.js → WTTVUTLF.js} +2 -2
- package/dist/cdn/{EKTQJHJC.js → WWWGD7IQ.js} +2 -2
- package/dist/cdn/{7HHMPR7G.js → WYKWWP7A.js} +2 -2
- package/dist/cdn/{7WP5CYWM.js → WZEVKWM7.js} +2 -2
- package/dist/cdn/{WL4HZ56C.js → WZIKGI4S.js} +2 -2
- package/dist/cdn/{DGZQ4PDA.js → XCBEEW4Y.js} +2 -2
- package/dist/cdn/XIH4QECN.js +4 -0
- package/dist/cdn/{B622V4H4.js → XKTAGUXR.js} +2 -2
- package/dist/cdn/{KZZQAKAW.js → XLOS4YK7.js} +2 -2
- package/dist/cdn/{RGB3EFOD.js → XLOU4CT6.js} +1 -1
- package/dist/cdn/{RPMJNS7Y.js → XQVP3LAD.js} +1 -1
- package/dist/cdn/{MRA34GVV.js → XSZKL3RH.js} +2 -2
- package/dist/cdn/{FXOZ65PA.js → YDBXXYQT.js} +2 -2
- package/dist/cdn/{WO7RS6VM.js → YETXYXLA.js} +2 -2
- package/dist/cdn/{RY2EWQB3.js → YLQDUOIF.js} +2 -2
- package/dist/cdn/{3Y3QLPOF.js → YNBOJIO2.js} +1 -1
- package/dist/cdn/{JN6MPXCJ.js → YUNO2IBI.js} +2 -2
- package/dist/cdn/{IXSWZX3Z.js → YWR4TMJW.js} +2 -2
- package/dist/cdn/{NCOAP2MV.js → YX5XY52P.js} +2 -2
- package/dist/cdn/{JXDRM6IS.js → YZ3L2PZE.js} +2 -2
- package/dist/cdn/{KWDBAHJD.js → Z2B6IWJT.js} +2 -2
- package/dist/cdn/{BMI4372L.js → Z3IFAZMT.js} +2 -2
- package/dist/cdn/{ZZQSJXAH.js → Z5526TL4.js} +2 -2
- package/dist/cdn/{4OT2FGEK.js → ZCNTFMFD.js} +1 -1
- package/dist/cdn/{BAOWCOIZ.js → ZD2KMD76.js} +2 -2
- package/dist/cdn/{ZB72I7DY.js → ZIASRWEX.js} +2 -2
- package/dist/cdn/{4HPGRAZN.js → ZJICNLKM.js} +2 -2
- package/dist/cdn/{X3I27DCJ.js → ZLFAD7B6.js} +2 -2
- package/dist/cdn/{H7CEQ3X7.js → ZN44SNEG.js} +2 -2
- package/dist/cdn/{RMJKDDFJ.js → ZPZAW75N.js} +2 -2
- package/dist/cdn/{QMKOWA5L.js → ZQCWMQNP.js} +1 -1
- package/dist/cdn/ZRJN3QPB.js +4 -0
- package/dist/cdn/{TYYJ3744.js → ZVL3K67Z.js} +2 -2
- package/dist/cdn/{OPKGZD32.js → ZYGVWDQR.js} +2 -2
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/CardsFetcher.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/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +8 -8
- 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 +11 -11
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +34 -30
- 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 +11 -11
- 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 +15 -15
- package/dist/components/refine-selection/customElement.d.ts +1 -0
- package/dist/components/refine-selection/customElement.js +44 -41
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +15 -15
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +9 -9
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +7 -0
- package/dist/components/solutions-deploy-app-nav/customElement.js +35 -19
- 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 +15 -15
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +62 -4
- package/dist/docs/docs.json +40 -5
- package/dist/docs/vscode.html-custom-data.json +20 -1
- package/dist/docs/web-types.json +23 -4
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/preact10.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/interfaces.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cdn/2H3FU2GQ.js +0 -18
- package/dist/cdn/4ZBYX6KG.js +0 -18
- package/dist/cdn/6KPQJMWZ.js +0 -4
- package/dist/cdn/6ORJSITR.js +0 -18
- package/dist/cdn/7F7YUDXX.js +0 -18
- package/dist/cdn/A63FRN4O.js +0 -4
- package/dist/cdn/BF4SQYSX.js +0 -4
- package/dist/cdn/CJHZDB77.js +0 -18
- package/dist/cdn/E2XUVMWF.js +0 -4
- package/dist/cdn/EPLKFX3U.js +0 -4
- package/dist/cdn/EYHYE6X7.js +0 -18
- package/dist/cdn/F3ZUI5T7.js +0 -6
- package/dist/cdn/HQUIPGF2.js +0 -18
- package/dist/cdn/KDMWAUZS.js +0 -4
- package/dist/cdn/KIJPQQ52.js +0 -4
- package/dist/cdn/LIJIFUOI.js +0 -4
- package/dist/cdn/NKKFCOFL.js +0 -4
- package/dist/cdn/Q4KBZO4C.js +0 -18
- package/dist/cdn/SHUMQDMA.js +0 -4
- package/dist/cdn/SLWXIRRI.js +0 -4
- package/dist/cdn/XHVAPJYJ.js +0 -20
- package/dist/cdn/YT3PSVK7.js +0 -4
- package/dist/cdn/ZA4VTCHB.js +0 -4
- package/dist/solutions-components_commit.txt +0 -10
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as d}from"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{a as d}from"./2VKF6PR4.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{b as o}from"./VSD3M6NN.js";import{E as a,h as l,i as e,l as n,o as t}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var h=l`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as m}from"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{a as m}from"./LZ3VYGB4.js";import{a as c}from"./MLGWC5WC.js";import"./Z2B6IWJT.js";import"./K7E3FYY7.js";import"./ZQCWMQNP.js";import"./N2UEZKKT.js";import{a as n,b as p}from"./TZMCPBQ6.js";import"./VWW3LSRO.js";import"./YETXYXLA.js";import"./JAPLJADD.js";import{a}from"./3QTLO72X.js";import{a as r}from"./VOMUURUC.js";import"./NVNJVDKY.js";import"./R2BTBE5Y.js";import{a as i}from"./SG5MHJ4N.js";import"./PDSJLVCU.js";import"./REIIATFT.js";import"./M3WLEKZY.js";import"./RSOXCIBH.js";import"./WSRJWIJL.js";import"./JD2NWIUZ.js";import"./O4BW2L5G.js";import"./NGPTQFAY.js";import"./NRNJQ6LW.js";import"./EGJJCZ6T.js";import"./4PSBLA5A.js";import"./ULYPTG4C.js";import"./YUNO2IBI.js";import"./6BSJZZWP.js";import"./DO4C2ZFB.js";import"./PJ6P5M6W.js";import"./ZN44SNEG.js";import"./VCKCORX7.js";import"./JPXZR7F6.js";import"./555R5J5L.js";import"./FZPBKB2A.js";import"./CQK3BMBI.js";import"./CRSVD2NX.js";import"./O73TK37S.js";import"./TNOZQKKG.js";import"./6SJN3RI6.js";import"./BCQ7PB5L.js";function s(e){return["myContent","favorites","organization","world"].map(o=>i("shared.fields.featuredContent",o,"item",{user:e}))}var T=async(e,l,t)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},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:"shared.fields.purpose.maxLengthError"}]}},...c(e,l.thumbnail,l.thumbnailUrl,"project",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await a(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await n(l.location,t.hubRequestOptions),options:await p(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroActions.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroActions.helperText"}},elements:[{scope:"/properties/view/properties/heroActions",type:"Control",options:{control:"hub-composite-input-action-links",type:"button",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.callToAction.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.callToAction.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0}}]}]},{type:"Section",labelKey:`${e}.sections.view.label`,elements:[{type:"Section",labelKey:`${e}.sections.view.image.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.image.helperText`}},elements:[{labelKey:"shared.fields.featuredImage.label",scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:m((o=l.view)===null||o===void 0?void 0:o.featuredImageUrl,t.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields.featuredImage.sizeDescription"}}},{labelKey:"shared.fields.featuredImage.altText.label",scope:"/properties/view/properties/featuredImageAltText",type:"Control"}]},{type:"Section",labelKey:`${e}.sections.view.embed.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.embed.helperText`}},elements:[{scope:"/properties/view/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]},{type:"Section",labelKey:`${e}.sections.view.content.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.content.helperText`}},elements:[{scope:"/properties/view/properties/featuredContentIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.featuredContent.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.featuredContent.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0,showAddContent:!0}}]}]}]}};export{T as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{A as P,B as T,C as y,D as A,E as w,F as E,G,n as t,r as d,s as m,t as b,u as k,v as h,w as f,x as O,y as M,z as g}from"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{A as P,B as T,C as y,D as A,E as w,F as E,G,n as t,r as d,s as m,t as b,u as k,v as h,w as f,x as O,y as M,z as g}from"./HW3AZE43.js";function K(a,r,e){let s=a.templates.map(o=>o.type),i=[];i.push(m),s.indexOf("Group")>=0&&(i.push(b),i.push(g)),s.indexOf("Feature Service")>=0&&i.push(h);let n=s.indexOf("Feed")>-1;n&&i.push(f);let l=s.indexOf("Big Data Analytic")>-1;l&&i.push(k);let u=s.indexOf("Real Time Analytic")>-1;u&&i.push(M),(n||l||u)&&i.push(E),s.indexOf("Workflow")>-1&&(i.push(b),i.push(h),i.push(g),i.push(G)),s.indexOf("Geoprocessing Service")>-1&&(i.push(O),e.IsEnterprisePortal&&i.push(T));let p=a.templates.reduce((o,x)=>o.concat(x.item.typeKeywords||[]),[]);return S(i,p,e),R(i,r),I(i,a),i}function I(a,r){r.templates.some(e=>e.type==="Group"&&e.item?.membershipAccess==="collaboration")&&a.push(d)}function S(a,r,e){let s=B(e),i=F(e);["Location Tracking View"].some(n=>r.indexOf(n)>-1)&&(!s&&!i?a.push(y):s&&!i?a.push(A):!s&&i&&a.push(w))}function R(a,r){["HubPremium"].some(e=>r.indexOf(e)>-1)&&a.push(P)}function B(a){let r=a.PortalUserSubset;return r?.role==="org_admin"&&!r?.hasOwnProperty("roleId")}function F(a){return a.PortalSubset?.locationTrackingEnabled||!1}function N(a,r){let e={leadingMessages:[],bulletedMessages:[],trailingMessages:[]},s=[t.NOTEBOOK,t.VELOCITY,t.HUBPREMIUM,t.WORKFLOW,t.TRACKINGBASE],i=c(a,r,t.VELOCITY);i&&e.leadingMessages.push(i);let n=c(a,r,t.NOTEBOOK);n&&e.leadingMessages.push(n);let l=c(a,r,t.HUBPREMIUM);l&&e.leadingMessages.push(l);let u=c(a,r,t.WORKFLOW);u&&e.leadingMessages.push(u),r=r.filter(o=>s.indexOf(o)<0),r.forEach(o=>{e.bulletedMessages.push(v(a,o))});let p=c(a,r,t.TRACKINGBASE);return p&&e.trailingMessages.push(p),(e.leadingMessages.length>0||e.trailingMessages.length>0)&&e.trailingMessages.push(a.missingPrivilegesPopup.suggestedProblemRemedyMessage),e}function c(a,r,e){return r.filter(s=>s.includes(e)).length>0?v(a,e):""}function v(a,r){let e=a.missingPrivilegesPopup.requiredPrivilegesList,s="";switch(r){case"portal:user:createItem":s=e.createItem;break;case"portal:publisher:publishFeatures":s=e.publishFeatures;break;case"portal:user:createGroup":s=e.createGroup;break;case"portal:user:shareToGroup":s=e.shareToGroup;break;case"portal:user:addExternalMembersToGroup":s=e.addMembers;break;case"portal:publisher:publishFeeds":s=e.publishFeeds;break;case"portal:publisher:publishBigDataAnalytics":s=e.publishBigDataAnalytics;break;case"portal:publisher:publishRealTimeAnalytics":s=e.publishRealTimeAnalytics;break;case"solutions:locationtracking:admin:tracking":s=e.requiresLocationTrackingAndAdmin;break;case"solutions:locationtracking:tracking":s=e.requiresLocationTracking;break;case"solutions:locationtracking:admin":s=e.requiresAdmin;break;case"solutions:hubPremium":s=e.hubPremium;break;case"solutions:workflowManager":s=e.workflowManager;break;case"solutions:velocity":s=e.velocity;break;case"solutions:notebook":s=e.requiresNotebookServer;break;case"portal:publisher:publishServerGPServices":s=e.publishGPServices;break;case"writable:Enterprise":s=e.writableEnterprise;break;case"writable:Online":s=e.writableOnline;break}return s}export{K as a,B as b,N as c};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import b from"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import b from"./NDF3N6HW.js";import{a as y}from"./H36WONTX.js";import{b as T}from"./UZ3FNZON.js";import{A as $,z as x}from"./LYQ3KTGD.js";import"./DSQLWDME.js";import"./3I72PCEP.js";import"./7RLPE2LE.js";import"./JMQYSN2U.js";import"./NEWVUWSK.js";import"./E6F3Q2WH.js";import"./QD45UNRU.js";import"./Z2B6IWJT.js";import"./K7E3FYY7.js";import"./ZQCWMQNP.js";import"./N2UEZKKT.js";import"./YETXYXLA.js";import"./JAPLJADD.js";import"./NVNJVDKY.js";import"./R2BTBE5Y.js";import"./PDSJLVCU.js";import"./REIIATFT.js";import"./M3WLEKZY.js";import"./4PSBLA5A.js";import{H as _}from"./HW3AZE43.js";import{a as g}from"./2VKF6PR4.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{b as m}from"./VSD3M6NN.js";import{C as d,D as c,E as f,G as n,h,i as a,o as r}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";export default $arcgis.t(([{d:p}])=>{var N=h`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{k as a}from"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{k as a}from"./Z2B6IWJT.js";var n={discussion:"/ember-arcgis-opendata-components/assets/images/placeholders/discussion.png",group:"/ember-arcgis-opendata-components/assets/images/placeholders/group.png",event:"/ember-arcgis-opendata-components/assets/images/placeholders/event.png",content:"/ember-arcgis-opendata-components/assets/images/placeholders/content.png"};function d(t,p,o,e,l){var i;let r=(i=n[e])!==null&&i!==void 0?i:n.content,c=a(r,l),s;return e==="group"?s={aspectRatio:1,sizeDescription:{labelKey:`${t}.fields._thumbnail.sizeDescription`}}:e==="event"?s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"},sources:["url"]}:s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"}},[{labelKey:e==="group"?`${t}.fields._thumbnail.label`:"shared.fields._thumbnail.label",scope:"/properties/_thumbnail",type:"Control",options:Object.assign({control:"hub-field-input-image-picker",imgSrc:o,defaultImgUrl:c,maxWidth:727,maxHeight:484},s)}]}export{d 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.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import"./BCQ7PB5L.js";var a="Nemate dovoljno kredita da bi se izvr\u0161ila ova radnja. Obratite se svom administratoru za sustav ArcGIS za pomo\u0107.",e="Ovaj alat objavljen je iz usluge notebook. Pristup usluzi ArcGIS Notebooks blokirala je va\u0161a organizacija. Za pode\u0161avanje postavki obratite se svom administratoru.",o="${ dataPath } ne smije imati ${ additionalProperty }.",i="${ dataPath } mora odgovarati shemi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovno spremiti kartu.",t="Procjena kredita nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno procijenite kredite.",s="Do\u0161lo je do pogre\u0161ke tijekom izvo\u0111enja analize.",n="${ dataPath } mora biti jednak jednoj od ovih dopu\u0161tenih vrijednosti: ${ allowedValues }.",l="Spremanje povijesti analize nije uspjelo",j="Pohrana povijesti je puna. Uklonite neke stavke iz povijesti analize i poku\u0161ajte ponovno spremiti.",d="Naziv usluge sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",v="Spremanje privremenog sloja kao hostiranog sloja geoobjekta nije dovr\u0161eno.",m="Nije uspjelo dohva\u0107anje klju\u010Dnih svojstava.",p="U\u010Ditavanje sloja nije uspjelo.",u="Sloj nije dostupan.",k="${ dataPath } ne smije imati vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do pogre\u0161ke prilikom spremanja modela. Poku\u0161ajte ponovno spremiti.",h="${ dataPath } ne smije imati manje od ${ limit } stavki.",z="${ dataPath } mora biti kra\u0107e od ${ limit } znakova.",P="Neuspjelo u\u010Ditavanje stavke modela. Provjerite postoji li model i je li odobren pristup.",g="Zahtjev nije dovr\u0161en.",E="Nemate dopu\u0161tenje za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznajte vi\u0161e</calcite-link>",S="Prijava na portal nije uspjela.",b="U\u010Ditavanje ulaznih podataka nije uspjelo.",y="${ dataPath } nedostaje svojstvo naziva ${ missingProperty }.",$="Sloj rezultata ve\u0107 postoji pod tim nazivom. Slojevi rezultata moraju imati jedinstven naziv u cijeloj organizaciji. Koristite drugo ime.",f="Izlazni naziv sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",I="Objavljivanje privremenog sloja kao hostiranog sloja nije uspjelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovno pokrenite alat za stvaranje sloja s va\u017Ee\u0107im poljima.",F="Predaja posla nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno pokrenite analizu.",N="${ dataPath } mora imati barem jedan znak koji nije razmak.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:j,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:v,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:I,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,j as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,v as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as c}from"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{b as c}from"./3OY3YMT5.js";import{b as d}from"./VSD3M6NN.js";import{C as o,D as n,E as h,h as r,i as a,o as s}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var m=r`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as s}from"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{a as s}from"./C3ULFDL6.js";import{a as r}from"./MLGWC5WC.js";import"./Z2B6IWJT.js";import"./K7E3FYY7.js";import"./ZQCWMQNP.js";import"./N2UEZKKT.js";import"./JAPLJADD.js";import{a as o}from"./VOMUURUC.js";import"./NVNJVDKY.js";import"./R2BTBE5Y.js";import"./REIIATFT.js";import"./M3WLEKZY.js";import"./4PSBLA5A.js";import"./BCQ7PB5L.js";var y=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},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`}]}},...r(e,t.thumbnail,s(t),"group",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}}]}]}]});export{y 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.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as p}from"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{a as p}from"./H36WONTX.js";import{b as d}from"./UZ3FNZON.js";import{b as h}from"./LYQ3KTGD.js";import"./DSQLWDME.js";import"./3I72PCEP.js";import"./7RLPE2LE.js";import"./JMQYSN2U.js";import"./NEWVUWSK.js";import"./E6F3Q2WH.js";import"./QD45UNRU.js";import"./Z2B6IWJT.js";import"./K7E3FYY7.js";import"./ZQCWMQNP.js";import"./N2UEZKKT.js";import"./YETXYXLA.js";import"./JAPLJADD.js";import"./NVNJVDKY.js";import"./R2BTBE5Y.js";import"./PDSJLVCU.js";import"./REIIATFT.js";import"./M3WLEKZY.js";import"./4PSBLA5A.js";import{a as o}from"./2VKF6PR4.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{b as l}from"./VSD3M6NN.js";import{E as n,h as r,i as s}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var m=r`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
3
|
+
v1.1.0-next.20251003 */
|
4
4
|
var i=(e,t="v")=>{if(!e)return e;let n=e.indexOf("?")>-1?"&":"?";return e+=`${n}${t}=${new Date().getTime()}`,e};export{i 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.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import"./BCQ7PB5L.js";var a="Sinulla ei ole riitt\xE4v\xE4sti krediittej\xE4 t\xE4m\xE4n toiminnon toteuttamiseen. Pyyd\xE4 apua ArcGIS-j\xE4rjestelm\xE4n p\xE4\xE4k\xE4ytt\xE4j\xE4lt\xE4.",t="T\xE4m\xE4 ty\xF6kalu on julkaistu muistikirjasta. Organisaatiosi ArcGIS Notebooks -k\xE4ytt\xF6oikeus on ev\xE4tty. Ota yhteys p\xE4\xE4k\xE4ytt\xE4j\xE4\xE4n asetuksen muuttamista varten.",e="Kohteessa ${ dataPath } ei saa olla kohdetta ${ additionalProperty }.",i="Kohteen ${ dataPath } on vastattava jotakin n\xE4ist\xE4 skeemoista: ${ schemaOptions }.",s="Yrit\xE4 tallentaa kartta uudelleen.",o="Krediitin arviointi ep\xE4onnistui. Vierit\xE4 alas, korjaa virheet ja arvioi krediitit uudelleen.",n="Analyysia suorittaessa tapahtui virhe.",r="Kohteen ${ dataPath } tulee olla yht\xE4 suuri kuin jokin n\xE4ist\xE4 sallituista arvoista: ${ allowedValues }.",l="Analyysihistorian tallennus ep\xE4onnistui",u="Historian tallennustila on t\xE4ynn\xE4. Poista joitain kohteita analyysihistoriasta ja yrit\xE4 tallentaa uudelleen.",d="Palvelun nimi sis\xE4lt\xE4\xE4 v\xE4hint\xE4\xE4n yhden virheellisen merkin.",k="Tilap\xE4isen karttatason tallennusta is\xE4nn\xF6ityn\xE4 karttatasona ei suoritettu loppuun.",m="Avainominaisuuksien nouto ep\xE4onnistui.",y="Karttatason lataus ep\xE4onnistui.",h="Karttataso ei ole k\xE4ytett\xE4viss\xE4.",v="Kohteessa ${ dataPath } ei saa olla yli ${ limit } kohdetta.",c="Mallia tallennettaessa tapahtui virhe. Yrit\xE4 tallentaa uudelleen.",p="Kohteessa ${ dataPath } ei saa olla alle ${ limit } kohdetta.",P="${ dataPath } ei saa olla alle ${ limit } merkki\xE4 pitk\xE4.",E="Mallikohteen lataus ep\xE4onnistui. Varmista, ett\xE4 malli on olemassa ja ett\xE4 k\xE4ytt\xF6oikeus on my\xF6nnetty.",j="Pyynn\xF6n suorittaminen ep\xE4onnistui.",S="Sinulla ei ole t\xE4m\xE4n ty\xF6kalun suoritusoikeutta. <calcite-link target='_blank' href='${ docLink }'>Lis\xE4tietoja</calcite-link>",T="Portaaliin kirjautuminen ep\xE4onnistui.",$="L\xE4ht\xF6tietojen luku ep\xE4onnistui.",f="Kohteesta ${ dataPath } puuttuu ominaisuus ${ missingProperty }.",F="T\xE4m\xE4n niminen tuloskarttataso on jo olemassa. Tuloskarttatasot on nimett\xE4v\xE4 yksil\xF6llisesti koko organisaatiossa. K\xE4yt\xE4 toista nime\xE4.",I="Tulosaineiston nimi sis\xE4lt\xE4\xE4 v\xE4hint\xE4\xE4n yhden virheellisen merkin. <a href='${docLink}' target='_blank'>Lue lis\xE4\xE4.</a>",L="Tilap\xE4isen karttatason julkaiseminen is\xE4nn\xF6ityn\xE4 karttatasona ei onnistunut v\xE4hint\xE4\xE4n yhden virheellisen kent\xE4n vuoksi. Suorita ty\xF6kalu uudelleen, jos haluat luoda karttatason kelvollisilla kentill\xE4.",K="Ty\xF6n l\xE4hetys ep\xE4onnistui. Vierit\xE4 alas, korjaa virheet ja suorita analyysi uudelleen.",V="Kohteessa ${ dataPath } on oltava v\xE4hint\xE4\xE4n yksi muu kuin v\xE4limerkki.",g={InsufficientCreditsError:a,accessBlocked:t,additionalProperty:e,anyOfValues:i,cannotWriteToItemResource:s,creditEstimationError:o,defaultError:n,enumValues:r,failedToSaveHistory:l,fullSessionStorage:u,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:k,keyPropertiesError:m,layerLoadFailure:y,layerUnavailable:h,maxItems:v,mbFailedToSave:c,minItems:p,minLength:P,modelNotFound:E,networkError:j,noPermissionToAccessTool:S,portalLoadError:T,queryFeaturesError:$,requiredProperty:f,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:L,toolValidationError:K,whiteSpacePattern:V};export{a as InsufficientCreditsError,t as accessBlocked,e as additionalProperty,i as anyOfValues,s as cannotWriteToItemResource,o as creditEstimationError,g as default,n as defaultError,r as enumValues,l as failedToSaveHistory,u as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,k as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,y as layerLoadFailure,h as layerUnavailable,v as maxItems,c as mbFailedToSave,p as minItems,P as minLength,E as modelNotFound,j as networkError,S as noPermissionToAccessTool,T as portalLoadError,$ as queryFeaturesError,f as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,K as toolValidationError,V as whiteSpacePattern};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as d}from"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{b as d}from"./VSD3M6NN.js";import{D as c,E as l,G as h,h as o,i as a,o as r}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends l{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${h(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${c(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};d("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import"./BCQ7PB5L.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,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as b}from"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{a as b}from"./2VKF6PR4.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{b as m}from"./VSD3M6NN.js";import{C as n,D as r,E as g,G as w,H as i,I as h,h as f,i as e,j as p}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var R=f`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the 'License');
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{s as c}from"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{s as c}from"./WGAW32YJ.js";import{b as r}from"./G5QG243B.js";import{E as i,h as a,i as p}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var d=a`:host{display:block}`,m="floating",h="instant-apps-control-panel",x="border-bottom: 1px solid var(--calcite-color-border-3)",s=class extends i{constructor(){super(...arguments),this.components=[]}static{this.properties={components:0,view:0}}static{this.styles=d}async load(){await this._handleComponents()}async _handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(o,e)=>{let n=o.content;o.isExpand&&(n=await this._getExpand(o),o.expandIcon&&(n.expandIcon=o.expandIcon),o.collapseTooltip&&(n.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(n.expandTooltip=o.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),e!==this.components.length-1&&(n.container.style=x)}}async _getExpand(t){let{view:o}=this,{content:e,focusTrapDisabled:n}=t,l=t?.expanded??!1;return await c({content:e,view:o,expanded:l,mode:m,group:h,focusTrapDisabled:!!n})}_getComponentsNode(){return this.el.querySelector('[slot="components"]')}_resetUI(t){if(t.children.length>0)for(;t.firstChild;)t.removeChild(t.firstChild)}render(){return p`<slot name=components></slot>`}};r("instant-apps-control-panel",s);export{s as InstantAppsControlPanel};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{A as y,k as P,t as k,u as w,v as V,w as m,x as h,y as A,z as D}from"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{A as y,k as P,t as k,u as w,v as V,w as m,x as h,y as A,z as D}from"./QF5SFD5P.js";var b=(s,f,c)=>{let p=new Map;for(let e=f;e<=c;e++)p.set(s[e],e);return p},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let p;c===void 0?c=f:f!==void 0&&(p=f);let e=[],n=[],o=0;for(let a of s)e[o]=p?p(a,o):o,n[o]=c(a,o),o++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,p]){let e=D(s),{values:n,keys:o}=this.dt(f,c,p);if(!Array.isArray(e))return this.ut=o,n;let a=this.ut??=[],u=[],v,g,t=0,l=e.length-1,r=0,i=n.length-1;for(;t<=l&&r<=i;)if(e[t]===null)t++;else if(e[l]===null)l--;else if(a[t]===o[r])u[r]=h(e[t],n[r]),t++,r++;else if(a[l]===o[i])u[i]=h(e[l],n[i]),l--,i--;else if(a[t]===o[i])u[i]=h(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[l]===o[r])u[r]=h(e[l],n[r]),m(s,e[t],e[l]),l--,r++;else if(v===void 0&&(v=b(o,r,i),g=b(a,t,l)),v.has(a[t]))if(v.has(a[l])){let d=g.get(o[r]),x=d!==void 0?e[d]:null;if(x===null){let C=m(s,e[t]);h(C,n[r]),u[r]=C}else u[r]=h(x,n[r]),m(s,e[t],x),e[d]=null;r++}else y(e[l]),l--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);h(d,n[r]),u[r++]=d}for(;t<=l;){let d=e[t++];d!==null&&y(d)}return this.ut=o,A(s,u),P}});export{I 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.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{n as l,o as I}from"./LYQ3KTGD.js";import{h}from"./HW3AZE43.js";function w(i){return i.reduce((r,n)=>{let t=n.item.title||n.item.name;if(n.type==="Feature Service"&&(n.item.typeKeywords||[]).indexOf("View Service")<0&&r.indexOf(t)<0){let e=l(n,"properties.service.spatialReference.wkid");r.push({id:n.itemId,name:t,enabled:e.toString().startsWith(h),wkid:e})}return r},[])}function b(i){let r=x(i),n=r.reduce((t,e)=>(t.push(e.id),t),[]);return i.reduce((t,e)=>{if(n.indexOf(e.itemId)>-1){let d=r.filter(o=>o.id===e.itemId);t.push(y(e,i,d[0].dependencies))}return t},[])}function x(i){let r=[];function n(s,c){let u=s.findIndex(a=>c===a.itemId);return u>=0?s[u]:null}function t(s,c,u=[]){let a=n(i,s);if(a){let p={id:s,dependencies:[]};u.indexOf(s)<0&&(u.push(s),a.dependencies.forEach(m=>{let f=e.indexOf(m);f>=0&&e.splice(f,1),t(m,p.dependencies,u)})),c.push(p)}}let e=$(i),d=i.filter(s=>e.indexOf(s.itemId)<0).sort((s,c)=>c.dependencies.length-s.dependencies.length);e=e.concat(d.map(s=>s.itemId));let o=e.shift();for(;typeof o<"u";)t(o,r),o=e.shift();return r}function S(i){return[{id:"",title:i.geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:i.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:i.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:i.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:i.solutionItemExtent,value:"{{solutionItemExtent}}"}]}function U(i,r){let n=[];return i.forEach(t=>{let e={id:t.itemId,title:t.item.title||t.item.name,type:t.type,value:void 0,dependencies:[{id:t.itemId,title:r.itemId,value:`{{${t.itemId}.itemId}}`}]};t.item.url&&e.dependencies.push({id:t.itemId,title:r.url,value:`{{${t.itemId}.url}}`}),t.type==="Feature Service"&&(e.dependencies.push({id:t.itemId,title:r.solutionExtent,value:`{{${t.itemId}.solutionExtent}}`}),v(t.properties.layers||[],e,t,r),v(t.properties.tables||[],e,t,r)),n.push(e)}),n}function k(i,r){let n={};i.forEach(d=>{n[d.id]=d.enabled});let t=l(r,"params.wkid.default"),e=I(r,"params.wkid.attributes.required",!1);return t?{enabled:e,default:t,services:n}:{enabled:e,services:n}}function v(i,r,n,t){i.forEach(e=>{let d=e.name&&e.name.indexOf("||")>-1?e.name.split("||")[1].replace("}}","").trim():e.name;r.dependencies.push({id:n.itemId,title:`${d} (${t.id})`,value:`{{${n.itemId}.layer${e.id}.id}}`}),r.dependencies.push({id:n.itemId,title:`${d} (${t.name})`,value:`{{${n.itemId}.layer${e.id}.name||${d}}}`})})}function y(i,r,n){return{id:i.itemId||"",title:i.item.title||"",dependencies:g(n,r),type:i.item.type||"",typeKeywords:i.item.typeKeywords||[]}}function g(i,r){let n=[],t=i.reduce((e,d)=>(e.push(d.id),n.push(d),e),[]);return r.reduce((e,d)=>{let o=t.indexOf(d.itemId);return o>-1&&e.push(y(d,r,n[o].dependencies)),e},[])}function $(i){let r=i.map(n=>n.itemId);return i.forEach(n=>{(n.dependencies||[]).forEach(t=>{let e=r.indexOf(t);e>=0&&r.splice(e,1)})}),r}export{w as a,b,S as c,U as d,k as e};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as s}from"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{a as s}from"./RSOXCIBH.js";import"./WSRJWIJL.js";import"./JD2NWIUZ.js";import"./O4BW2L5G.js";import"./NGPTQFAY.js";import"./NRNJQ6LW.js";import"./EGJJCZ6T.js";import"./4PSBLA5A.js";import"./ULYPTG4C.js";import"./YUNO2IBI.js";import"./6BSJZZWP.js";import"./DO4C2ZFB.js";import"./PJ6P5M6W.js";import"./ZN44SNEG.js";import"./VCKCORX7.js";import"./JPXZR7F6.js";import"./555R5J5L.js";import"./FZPBKB2A.js";import"./CQK3BMBI.js";import"./CRSVD2NX.js";import"./O73TK37S.js";import"./TNOZQKKG.js";import"./6SJN3RI6.js";import"./BCQ7PB5L.js";var c=async(e,l,n)=>{let{isSharedUpdate:i,leavingDisallowed:t}=l;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[t]}],[{effect:s.DISABLE,conditions:[t]},{effect:s.DISABLE,conditions:[i]}]]},rules:[{effect:s.RESET,conditions:[t]},{effect:s.RESET,conditions:[i,{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}};export{c as buildUiSchema};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{r as m,x as l}from"./LYQ3KTGD.js";import{v as u}from"./NVNJVDKY.js";import{H as c}from"./HW3AZE43.js";export default $arcgis.t(([])=>{function C(t){let e="",a="?";return t.forEach(n=>{n.k&&n.v&&(e+=a+n.k+"="+n.v,a="&")}),e}async function d(t,e){let a=e,n=await a.getUsername(),s={q:new u().match(t).in("title").and().match(n).in("owner"),filter:"type:Solution",authentication:a},f=(await l(s)).results.map(r=>r.title),{folders:h}=await m(a),p=h.map(r=>r.title),i=[...f,...p].map(r=>r.trim().toLowerCase()),o=t.toLowerCase(),w=i.filter(r=>r===o),g=i.filter(r=>r.startsWith(o));return{conflictingNames:w,similiarNames:g}}async function E(t,e){return y(t)?{status:!1,type:"empty"}:v(t)?{status:!1,type:"exceed length"}:k(t)?{status:!1,type:"special character"}:(await d(t.trim(),e)).conflictingNames.length>0?{status:!1,type:"not unique"}:{status:!0,type:""}}function y(t){return t.length<=0}function v(t){return t.length>c}function k(t){return/[/<>]/u.test(t)}function I(t){if(t){let e=t.trim();return e?"<div>"+e+"</div>":""}else return""}function x(t){let e="",a="?";return t.forEach(n=>{n.k&&n.v&&(e+=a+n.k+"="+n.v,a="&")}),e}function S(t,e,a,n){let s="";return e?s=n+"/sharing/rest/content/items/"+t+"/info/"+e+x([{k:"w",v:"400"}]):s=a,s}function b(t){let e=t?t.replace("https://","").replace("www.",""):"";return e.endsWith("devext.arcgis.com")||e.endsWith("mapsqa.arcgis.com")||e.endsWith("qaext.arcgis.com")?t??"https://www.arcgis.com":"https://www.arcgis.com"}function A(t,e,a){return e.some(n=>n.wkid===t?(a=n.defaultExtent,!0):!1),a}function D(t,e="en"){return new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric"}).format(t)}function F(t,e){let a="";return t.some(n=>n.startsWith(e)?(a=n.substring(e.length),!0):!1),a}return{a:C,b:d,c:E,d:k,e:I,f:x,g:S,h:b,i:A,j:D,k:F}},"intl")
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{e as t,g as i}from"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{e as t,g as i}from"./Z2B6IWJT.js";function n(r){let o=r&&r.hubApiUrl;return o||i(t(r))}export{n 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.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
3
|
+
v1.1.0-next.20251003 */
|
4
4
|
var n;(function(i){i.InPerson="inPerson",i.Online="online",i.Both="both"})(n||(n={}));var o;(function(i){i.Unlimited="unlimited",i.Fixed="fixed"})(o||(o={}));export{n as a,o as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a,b}from"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{a,b}from"./NRNJQ6LW.js";import"./BCQ7PB5L.js";export{a as UserEditorTypes,b as UserSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as l}from"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{a as l}from"./WTTVUTLF.js";import{b as h}from"./G5QG243B.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{E as r,G as n,h as i,i as a}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var c=i`:host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:.5rem .75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:.5em .7em;font-weight:400}`,m={content:"instant-apps-keyboard-shortcuts__content"},o=class extends r{constructor(){super(...arguments),this._messages=l({name:"instant-apps-keyboard-shortcuts",blocking:!0})}static{this.properties={view:0}}static{this.styles=c}_getMapViewCommands(){let t=this.view?.type==="2d"&&this.view.constraints.rotationEnabled,e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!0},{alias:"N",title:this._messages.mapShortcuts.N,show:t},{alias:"A",title:this._messages.mapShortcuts.A,show:t},{alias:"D",title:this._messages.mapShortcuts.D,show:t},{alias:"+",title:this._messages.mapShortcuts.plus,show:!0},{alias:"-",title:this._messages.mapShortcuts.minus,show:!0}]:[];return this._messages?e.filter(s=>s.show):[]}_getSceneViewCommands(){let t=this.view?.type==="3d"&&this.view.viewingMode==="global",e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!!t},{alias:"P",title:this._messages.sceneShortcuts.P,show:!0},{alias:"N",title:this._messages.sceneShortcuts.N,show:!0},{alias:"W",title:this._messages.sceneShortcuts.W,show:!0},{alias:"A",title:this._messages.sceneShortcuts.A,show:!0},{alias:"D",title:this._messages.sceneShortcuts.D,show:!0},{alias:"S",title:this._messages.sceneShortcuts.S,show:!0},{alias:"J",title:this._messages.sceneShortcuts.globalCommands.J,show:!!t},{alias:"U",title:this._messages.sceneShortcuts.globalCommands.U,show:!!t}]:[];return this._messages?e.filter(s=>s.show):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}render(){let t=this.view?.type==="2d"||!this.view?this._getMapViewCommands():this._getSceneViewCommands(),e=this._isMacLike()?"Option":"Alt";return a`<calcite-block open class=${n(m.content)} .heading=${this._messages.generalShortcuts?.label}><table>${this.renderTableHeader()}<tr><td>${`${e} + M`}</td><td>${this._messages.generalShortcuts?.title}</td></tr></table><calcite-label>${this._messages.generalShortcuts?.title}</calcite-label><table>${this.renderTableHeader()}${t.map(s=>a`<tr><td>${s.alias}</td><td>${s.title}</td></tr>`)}</table></calcite-block>`}renderTableHeader(){return this._messages?a`<tr><th>${this._messages.generalShortcuts?.shortcut}</th><th>${this._messages.generalShortcuts?.action}</th></tr>`:null}};h("instant-apps-keyboard-shortcuts",o);export{o as InstantAppsKeyboardShortcuts};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as m}from"./
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{a as m}from"./ZCNTFMFD.js";import{a as f}from"./Z2B6IWJT.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
3
|
+
v1.1.0-next.20251003 */
|
4
4
|
var e="WNufTOT96eMYwAik",a="https://www.arcgis.com",o="8f741b82179543fe884bed012dd5f049",s="1d3a7ed66deb47269beea05ff9afd4c1",d="solutions-deployment-first-use",r={name:"solution-deployment-app",version:"1.0",dev:{amazon:{userPoolID:"us-east-1:7345bcf2-bffa-4849-a379-a83178f63eef",app:{id:"7e2fd97553644e5f99b1129fbcee3c2e"}}},qa:{amazon:{userPoolID:"us-east-1:7345bcf2-bffa-4849-a379-a83178f63eef",app:{id:"a3beba911bd14847ada5c9ffed2a2111"}}},prod:{amazon:{userPoolID:"us-east-1:8c41b2dc-7563-403d-ba64-673b103debce",app:{id:"35a920e0e7f84680be076e57dd5cb728"}}}},t={appId:e,portalURL:a,primarySolutionsGroupId:o,agoBasedEnterpriseSolutionsGroupId:s,consoleMessageLevel:1,cookiesFirstUseVar:d,isRTL:!1,locale:"en",forceTrackingEnv:"dev",trackingEnabled:!0,telemetry:r},n=Object.freeze(Object.defineProperty({__proto__:null,agoBasedEnterpriseSolutionsGroupId:s,appId:e,consoleMessageLevel:1,cookiesFirstUseVar:d,default:t,forceTrackingEnv:"dev",isRTL:!1,locale:"en",portalURL:a,primarySolutionsGroupId:o,telemetry:r,trackingEnabled:!0},Symbol.toStringTag,{value:"Module"}));export{e as a,n as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
3
|
+
v1.1.0-next.20251003 */
|
4
4
|
var e=["hub:user:settings"],t={type:"object",properties:{settings:{type:"object",properties:{features:{type:"object",properties:{workspace:{type:"boolean",default:!0}}}}},hubOrgSettings:{type:"object",properties:{showInformationalBanner:{type:"boolean",default:!1},enableTermsAndConditions:{type:"boolean",default:!1},termsAndConditions:{type:"string",default:""},enableSignupText:{type:"boolean",default:!1},signupText:{type:"string",default:""}}}}};export{e as a,t as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as p,d as a,e as h,f as E}from"./I77ESG6W.js";function n(r={}){return r.portal?E(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function u(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function U(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function j(r){return r.join(",")}function v(r,t,e){if(!r)return r;let o=null;return typeof r.thumbnail=="string"&&(o=`${t}/content/items/${r.id}/info/${r.thumbnail}`,o&&r.access!=="public"&&e&&(o+=`?${e}`)),Object.assign(Object.assign({},r),o?{thumbnailUrl:o}:{})}function ar(r,t){let e=T(r,t),o=Object.assign({httpMethod:"GET"},t);return a(e,o).then(async i=>{let m=t?.portal||n(t),c;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(c=await t.authentication.getToken(e)),v(i,m,c)})}var T=(r,t)=>`${typeof t=="string"?t:n(t)}/content/items/${r}`;function ir(r,t){let e=`${T(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),a(e,o).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function mr(r){let t=`${T(r.id,r)}/relatedItems`,e=Object.assign({httpMethod:"GET",params:{direction:r.direction}},r);return typeof r.relationshipType=="string"?e.params.relationshipType=r.relationshipType:e.params.relationshipTypes=r.relationshipType,delete e.direction,delete e.relationshipType,a(t,e)}function cr(r,t){let e=`${T(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),a(e,o)}function dr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/delete`;return a(e,r)})}function hr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),a(e,r)})}function pr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return a(e,r)})}function br(r,t){let e=r||"self",o=`${n(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}function Y(r){return u(r).then(t=>{let e=r.folderId?`${n(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${n(r)}/content/users/${t}/items/${r.item.id}/update`;r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let o=n(r),i=v(Object.assign(Object.assign({},r.item),{access:r.item.access}),o),m=r.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof m=="string"&&i.thumbnailUrl.split("?")[0]===m.split("?")[0]&&delete r.params.thumbnailUrl,a(e,r)})}function jr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),a(e,r)})}function vr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),a(e,r)})}function Rr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return a(e,o)})}function Er(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),a(e,r)})}function Wr(r){return u(r).then(t=>{let o=`${`${n(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),a(o,r)})}function z(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${n(r)}/content/users/${t}`,o=`${e}/addItem`;r.folderId&&(o=`${e}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let i=h(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return a(o,i)})}function Yr(r){let t=Object.assign({folderId:null},r);return z(t)}function Zr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/protect`;return a(e,r)})}function Or(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/unprotect`;return a(e,r)})}function M(r,t){let e=`${n(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return a(e,o)}function et(r,t){let e=`${n(t)}/content/groups/${r}`,o=Object.assign(Object.assign({httpMethod:"GET"},{params:{start:1,num:100}}),t);return t&&t.paging&&(o.params=Object.assign({},t.paging)),a(e,o)}function A(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${n(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function k(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function S(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function P(r){return M(r.groupId,r).then(t=>t.userMembership.memberType).catch(()=>"none")}var x=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let e=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(p(`${e} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(p("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(p('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(p('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(p(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(p(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(p(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&p("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function $(r,t){let e;typeof r=="string"||r instanceof x?e={httpMethod:"GET",params:{q:r}}:e=h(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let o;switch(t){case"item":o="/search";break;case"group":o="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof x)&&r.groupId)o=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":o="/community/users";break;default:o="/portals/self/users/search";break}let i=n(e)+o;return a(i,e).then(m=>(m.nextStart&&m.nextStart!==-1&&(m.nextPage=function(){let c;return typeof r=="string"||r instanceof x?c={q:r,start:m.nextStart}:(c=r,c.start=m.nextStart),$(c,t)}),m))}function N(r){return $(r,"item")}function b(r,t){if(r.length===0)return[];let e=[];for(let o=0;o<r.length;o+=t)e.push(r.slice(o,o+t));return e}function _(r){let t=r.id,e=`${n(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...F("users",r.users,o),...F("admins",r.admins,o)].map(c=>J(e,c));return Promise.all(m).then(V)}function F(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>H(r,i,e))}function H(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function J(r,t){return a(r,t).catch(e=>({errors:[e]}))}function V(r){let t=r.filter(i=>i.notAdded).reduce((i,m)=>i.concat(m.notAdded),[]),e=r.filter(i=>i.errors).reduce((i,m)=>i.concat(m.errors),[]),o={notAdded:t};return e.length>0&&(o.errors=e),o}function B(r){let{id:t,users:e}=r,o=`${n(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return a(o,d).catch(l=>({errors:[l]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=f=>c.filter(g=>g[f]).reduce((g,w)=>g.concat(w[f]),[]),l=d("errors"),s={notRemoved:d("notRemoved")};return l.length?Object.assign(Object.assign({},s),{errors:l}):s})}function _t(r){let t=`${n(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function Jt(r){let t=`${n(r)}/community/groups/${r.id}/protect`;return a(t,r)}function Vt(r){let t=`${n(r)}/community/groups/${r.id}/unprotect`;return a(t,r)}function Xt(r){let t=`${n(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return a(t,e)}function qt(r){return $(r,"group")}function re(r){return $(r,"groupContent")}function ne(r){let t=`${n(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function C(r){let t=`${n(r)}/community/groups/${r.id}/updateUsers`,e={authentication:r.authentication,params:{}};return r.newMemberType==="admin"?e.params.admins=r.users:e.params.users=r.users,a(t,e)}async function y(r){var t;if(r.username)return encodeURIComponent(r.username);if(!((t=r.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(r.authentication.username);if(r.authentication)return r.authentication.getUsername().then(encodeURIComponent)}async function I(r){let t,e={httpMethod:"GET"};if(typeof r=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${r}`;else{let o=await y(r);t=`${n(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return a(t,e)}async function Qe(r){let t=await r.authentication.getUsername(),e=A(r,t);return k(r,t)?D(e,r):S(r).then(o=>{if(o)return D(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function D(r,t){return t.params=Object.assign({org:!1,everyone:!1},t.params),t.access==="private"&&(t.params.groups=" "),t.access==="org"&&(t.params.org=!0),t.access==="public"&&(t.params.account=!0,t.params.everyone=!0),a(r,t)}function G(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return N(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function io(r){return G(r).then(async t=>{if(t)return{itemId:r.id,shortcut:!0,notSharedWith:[]};let{owner:e,confirmItemControl:o}=r,i=await r.authentication.getUsername(),m=e||i;if(m!==i){let c=!1,d=!1;return Promise.all([I({username:i,authentication:r.authentication}),I({username:m,authentication:r.authentication}),P(r)]).then(([l,s,f])=>{let g=!!o;return c=l.role==="org_admin"&&!l.roleId,d=l.orgId!==s.orgId,L(l,g,f,c,s,r)}).then(l=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:f=>Promise.resolve(f)}]=l;return Promise.all(l.map(({promise:f})=>f)).then(()=>W(r,c,d)).then(f=>s(f))})}return W(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function L(r,t,e,o,i,m){let c=[];if(m.groupId!==r.favGroupId){if(t){if(!o)throw Error(`This item can not be shared to shared editing group ${m.groupId} by ${r.username} as they not the item owner or org admin.`);c.push(R(r,r,!1,`Error adding ${r.username} as member to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m),R(r,i,!0,e==="none"?`Error adding user ${i.username} to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`:`Error promoting user ${i.username} to admin in edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m))}else if(o)c.push(R(r,r,!1,`Error adding ${r.username} as member to view group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m));else if(e==="none")throw new Error(`This item can not be shared by ${r.username} as they are not a member of the specified group ${m.groupId}.`)}return c}async function W(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${n(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${n(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},a(m,r)}function R(r,t,e,o,i){let m=t.groups||[],c=m.find(s=>s.id===i.groupId);if(r.orgId!==t.orgId)throw Error(`User ${t.username} is not a member of the same org as ${r.username}. Consequently they can not be added added to group ${i.groupId} nor can item ${i.id} be shared to the group.`);if(!c&&m.length>511)throw Error(`User ${t.username} already has 512 groups, and can not be added to group ${i.groupId}. Consequently item ${i.id} can not be shared to the group.`);let d,l;if(c)e&&c.userMembership.memberType==="member"?(d=C({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let f=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:f})}).catch(()=>({notAdded:[t.username]})),l=s=>C({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),l=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=_({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(f=>{if(f.errors&&f.errors.length)throw f.errors[0];return f}).catch(()=>({notAdded:[t.username]})),l=f=>B({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>f)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:l}}function ho(r){return G(r).then(async t=>{if(!t)return Promise.resolve({itemId:r.id,shortcut:!0,notUnsharedFrom:[]});let{owner:e}=r,o=await r.authentication.getUsername();return Promise.all([P(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,l=m.role==="org_admin"&&!m.roleId;if(!d&&!l&&["admin","owner"].indexOf(i)<0)throw Error(`This item can not be unshared from group ${r.groupId} by ${o} as they not the item owner, an org admin, group admin or group owner.`);return Q(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function Q(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${n(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${n(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},a(o,r)}function Uo(r){return K(null,r)}function K(r,t){let e=r||"self",o=`${n(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}export{n as a,u as b,Y as c,jr as d,vr as e,Rr as f,Er as g,Wr as h,z as i,Yr as j,ar as k,ir as l,mr as m,cr as n,Zr as o,Or as p,M as q,et as r,dr as s,hr as t,pr as u,x as v,N as w,B as x,_t as y,Jt as z,Vt as A,Xt as B,qt as C,re as D,ne as E,I as F,Qe as G,io as H,ho as I,Uo as J,K,br as L};
|
3
|
+
v1.1.0-next.20251003 */
|
4
|
+
import{b as p,d as a,e as h,f as E}from"./R2BTBE5Y.js";function n(r={}){return r.portal?E(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function u(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function U(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function j(r){return r.join(",")}function v(r,t,e){if(!r)return r;let o=null;return typeof r.thumbnail=="string"&&(o=`${t}/content/items/${r.id}/info/${r.thumbnail}`,o&&r.access!=="public"&&e&&(o+=`?${e}`)),Object.assign(Object.assign({},r),o?{thumbnailUrl:o}:{})}function ar(r,t){let e=T(r,t),o=Object.assign({httpMethod:"GET"},t);return a(e,o).then(async i=>{let m=t?.portal||n(t),c;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(c=await t.authentication.getToken(e)),v(i,m,c)})}var T=(r,t)=>`${typeof t=="string"?t:n(t)}/content/items/${r}`;function ir(r,t){let e=`${T(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),a(e,o).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function mr(r){let t=`${T(r.id,r)}/relatedItems`,e=Object.assign({httpMethod:"GET",params:{direction:r.direction}},r);return typeof r.relationshipType=="string"?e.params.relationshipType=r.relationshipType:e.params.relationshipTypes=r.relationshipType,delete e.direction,delete e.relationshipType,a(t,e)}function cr(r,t){let e=`${T(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),a(e,o)}function dr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/delete`;return a(e,r)})}function hr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),a(e,r)})}function pr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return a(e,r)})}function br(r,t){let e=r||"self",o=`${n(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}function Y(r){return u(r).then(t=>{let e=r.folderId?`${n(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${n(r)}/content/users/${t}/items/${r.item.id}/update`;r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let o=n(r),i=v(Object.assign(Object.assign({},r.item),{access:r.item.access}),o),m=r.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof m=="string"&&i.thumbnailUrl.split("?")[0]===m.split("?")[0]&&delete r.params.thumbnailUrl,a(e,r)})}function jr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),a(e,r)})}function vr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),a(e,r)})}function Rr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return a(e,o)})}function Er(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),a(e,r)})}function Wr(r){return u(r).then(t=>{let o=`${`${n(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),a(o,r)})}function z(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${n(r)}/content/users/${t}`,o=`${e}/addItem`;r.folderId&&(o=`${e}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let i=h(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return a(o,i)})}function Yr(r){let t=Object.assign({folderId:null},r);return z(t)}function Zr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/protect`;return a(e,r)})}function Or(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/unprotect`;return a(e,r)})}function M(r,t){let e=`${n(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return a(e,o)}function et(r,t){let e=`${n(t)}/content/groups/${r}`,o=Object.assign(Object.assign({httpMethod:"GET"},{params:{start:1,num:100}}),t);return t&&t.paging&&(o.params=Object.assign({},t.paging)),a(e,o)}function A(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${n(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function k(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function S(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function P(r){return M(r.groupId,r).then(t=>t.userMembership.memberType).catch(()=>"none")}var x=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let e=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(p(`${e} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(p("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(p('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(p('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(p(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(p(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(p(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&p("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function $(r,t){let e;typeof r=="string"||r instanceof x?e={httpMethod:"GET",params:{q:r}}:e=h(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let o;switch(t){case"item":o="/search";break;case"group":o="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof x)&&r.groupId)o=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":o="/community/users";break;default:o="/portals/self/users/search";break}let i=n(e)+o;return a(i,e).then(m=>(m.nextStart&&m.nextStart!==-1&&(m.nextPage=function(){let c;return typeof r=="string"||r instanceof x?c={q:r,start:m.nextStart}:(c=r,c.start=m.nextStart),$(c,t)}),m))}function N(r){return $(r,"item")}function b(r,t){if(r.length===0)return[];let e=[];for(let o=0;o<r.length;o+=t)e.push(r.slice(o,o+t));return e}function _(r){let t=r.id,e=`${n(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...F("users",r.users,o),...F("admins",r.admins,o)].map(c=>J(e,c));return Promise.all(m).then(V)}function F(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>H(r,i,e))}function H(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function J(r,t){return a(r,t).catch(e=>({errors:[e]}))}function V(r){let t=r.filter(i=>i.notAdded).reduce((i,m)=>i.concat(m.notAdded),[]),e=r.filter(i=>i.errors).reduce((i,m)=>i.concat(m.errors),[]),o={notAdded:t};return e.length>0&&(o.errors=e),o}function B(r){let{id:t,users:e}=r,o=`${n(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return a(o,d).catch(l=>({errors:[l]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=f=>c.filter(g=>g[f]).reduce((g,w)=>g.concat(w[f]),[]),l=d("errors"),s={notRemoved:d("notRemoved")};return l.length?Object.assign(Object.assign({},s),{errors:l}):s})}function _t(r){let t=`${n(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function Jt(r){let t=`${n(r)}/community/groups/${r.id}/protect`;return a(t,r)}function Vt(r){let t=`${n(r)}/community/groups/${r.id}/unprotect`;return a(t,r)}function Xt(r){let t=`${n(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return a(t,e)}function qt(r){return $(r,"group")}function re(r){return $(r,"groupContent")}function ne(r){let t=`${n(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function C(r){let t=`${n(r)}/community/groups/${r.id}/updateUsers`,e={authentication:r.authentication,params:{}};return r.newMemberType==="admin"?e.params.admins=r.users:e.params.users=r.users,a(t,e)}async function y(r){var t;if(r.username)return encodeURIComponent(r.username);if(!((t=r.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(r.authentication.username);if(r.authentication)return r.authentication.getUsername().then(encodeURIComponent)}async function I(r){let t,e={httpMethod:"GET"};if(typeof r=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${r}`;else{let o=await y(r);t=`${n(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return a(t,e)}async function Qe(r){let t=await r.authentication.getUsername(),e=A(r,t);return k(r,t)?D(e,r):S(r).then(o=>{if(o)return D(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function D(r,t){return t.params=Object.assign({org:!1,everyone:!1},t.params),t.access==="private"&&(t.params.groups=" "),t.access==="org"&&(t.params.org=!0),t.access==="public"&&(t.params.account=!0,t.params.everyone=!0),a(r,t)}function G(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return N(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function io(r){return G(r).then(async t=>{if(t)return{itemId:r.id,shortcut:!0,notSharedWith:[]};let{owner:e,confirmItemControl:o}=r,i=await r.authentication.getUsername(),m=e||i;if(m!==i){let c=!1,d=!1;return Promise.all([I({username:i,authentication:r.authentication}),I({username:m,authentication:r.authentication}),P(r)]).then(([l,s,f])=>{let g=!!o;return c=l.role==="org_admin"&&!l.roleId,d=l.orgId!==s.orgId,L(l,g,f,c,s,r)}).then(l=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:f=>Promise.resolve(f)}]=l;return Promise.all(l.map(({promise:f})=>f)).then(()=>W(r,c,d)).then(f=>s(f))})}return W(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function L(r,t,e,o,i,m){let c=[];if(m.groupId!==r.favGroupId){if(t){if(!o)throw Error(`This item can not be shared to shared editing group ${m.groupId} by ${r.username} as they not the item owner or org admin.`);c.push(R(r,r,!1,`Error adding ${r.username} as member to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m),R(r,i,!0,e==="none"?`Error adding user ${i.username} to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`:`Error promoting user ${i.username} to admin in edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m))}else if(o)c.push(R(r,r,!1,`Error adding ${r.username} as member to view group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m));else if(e==="none")throw new Error(`This item can not be shared by ${r.username} as they are not a member of the specified group ${m.groupId}.`)}return c}async function W(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${n(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${n(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},a(m,r)}function R(r,t,e,o,i){let m=t.groups||[],c=m.find(s=>s.id===i.groupId);if(r.orgId!==t.orgId)throw Error(`User ${t.username} is not a member of the same org as ${r.username}. Consequently they can not be added added to group ${i.groupId} nor can item ${i.id} be shared to the group.`);if(!c&&m.length>511)throw Error(`User ${t.username} already has 512 groups, and can not be added to group ${i.groupId}. Consequently item ${i.id} can not be shared to the group.`);let d,l;if(c)e&&c.userMembership.memberType==="member"?(d=C({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let f=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:f})}).catch(()=>({notAdded:[t.username]})),l=s=>C({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),l=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=_({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(f=>{if(f.errors&&f.errors.length)throw f.errors[0];return f}).catch(()=>({notAdded:[t.username]})),l=f=>B({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>f)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:l}}function ho(r){return G(r).then(async t=>{if(!t)return Promise.resolve({itemId:r.id,shortcut:!0,notUnsharedFrom:[]});let{owner:e}=r,o=await r.authentication.getUsername();return Promise.all([P(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,l=m.role==="org_admin"&&!m.roleId;if(!d&&!l&&["admin","owner"].indexOf(i)<0)throw Error(`This item can not be unshared from group ${r.groupId} by ${o} as they not the item owner, an org admin, group admin or group owner.`);return Q(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function Q(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${n(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${n(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},a(o,r)}function Uo(r){return K(null,r)}function K(r,t){let e=r||"self",o=`${n(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}export{n as a,u as b,Y as c,jr as d,vr as e,Rr as f,Er as g,Wr as h,z as i,Yr as j,ar as k,ir as l,mr as m,cr as n,Zr as o,Or as p,M as q,et as r,dr as s,hr as t,pr as u,x as v,N as w,B as x,_t as y,Jt as z,Vt as A,Xt as B,qt as C,re as D,ne as E,I as F,Qe as G,io as H,ho as I,Uo as J,K,br as L};
|