@esri/solutions-components 1.1.0-next.20250811 → 1.1.0-next.20250812

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.
Files changed (427) hide show
  1. package/dist/cdn/{D5LUMTLN.js → 2BXUT6DX.js} +1 -1
  2. package/dist/cdn/{H36K2KKY.js → 2DLPB4EO.js} +2 -2
  3. package/dist/cdn/{RECU3VB6.js → 2DT63QLW.js} +2 -2
  4. package/dist/cdn/{C52XX5ZG.js → 2GOI3U6A.js} +2 -2
  5. package/dist/cdn/{QSFRU6ZE.js → 2GVD2PNS.js} +2 -2
  6. package/dist/cdn/{2RZAN4J3.js → 2IO3QS6R.js} +2 -2
  7. package/dist/cdn/{VZTVT7W4.js → 2KL46Q2D.js} +2 -2
  8. package/dist/cdn/{OCARJJQL.js → 2SBZXCJH.js} +2 -2
  9. package/dist/cdn/{AB3EXVBZ.js → 2XJYA7PT.js} +2 -2
  10. package/dist/cdn/{ZBIVULLU.js → 2YT2RFVI.js} +2 -2
  11. package/dist/cdn/{TAHX7L7N.js → 32SEVXRM.js} +1 -1
  12. package/dist/cdn/{RQHAO57B.js → 32VJQFM7.js} +1 -1
  13. package/dist/cdn/{ULGNQG43.js → 34UNGHTX.js} +2 -2
  14. package/dist/cdn/{N5T6H735.js → 36V7KPBK.js} +2 -2
  15. package/dist/cdn/{DSKVWLGY.js → 37RUKMXJ.js} +2 -2
  16. package/dist/cdn/3BCTRIX2.js +4 -0
  17. package/dist/cdn/{F527WKRH.js → 3EHO5HEG.js} +2 -2
  18. package/dist/cdn/3FWBTG2Q.js +4 -0
  19. package/dist/cdn/{MQBQ5D5G.js → 3GPBADMZ.js} +2 -2
  20. package/dist/cdn/{FQO2HG7M.js → 3L47ZYJD.js} +2 -2
  21. package/dist/cdn/{2DLI4Y75.js → 3MFMNW62.js} +2 -2
  22. package/dist/cdn/{5KN2AFRH.js → 3MHOTTLM.js} +2 -2
  23. package/dist/cdn/{2YZRRBF7.js → 3NLPELR7.js} +2 -2
  24. package/dist/cdn/{6GXM6APH.js → 3O7U5WLR.js} +2 -2
  25. package/dist/cdn/{A3XXT3VU.js → 3SQSGBUH.js} +2 -2
  26. package/dist/cdn/{BXW3TA6O.js → 3VSZ6HWZ.js} +2 -2
  27. package/dist/cdn/{CXF62MZS.js → 3Y7SBEPM.js} +2 -2
  28. package/dist/cdn/436PERQP.js +18 -0
  29. package/dist/cdn/{Q6G6KGZ3.js → 4IJYUSHX.js} +2 -2
  30. package/dist/cdn/{ELFWTILT.js → 4SGAX2MI.js} +2 -2
  31. package/dist/cdn/{ZHO4ZAWI.js → 4X7GWY5N.js} +2 -2
  32. package/dist/cdn/{BSBEZTMF.js → 4XQIRZLX.js} +2 -2
  33. package/dist/cdn/{2D4J4M2J.js → 53LZK2NX.js} +1 -1
  34. package/dist/cdn/{MN2EPGVQ.js → 55MFPGX2.js} +2 -2
  35. package/dist/cdn/{SEE5QR2R.js → 57B7RYSF.js} +2 -2
  36. package/dist/cdn/{4FHN36IJ.js → 5HLMGC77.js} +2 -2
  37. package/dist/cdn/5HZLCNU2.js +18 -0
  38. package/dist/cdn/{PE3SSYAD.js → 5JIEUQRM.js} +2 -2
  39. package/dist/cdn/{RLYWJIWS.js → 5L3UCLOY.js} +2 -2
  40. package/dist/cdn/{M4PMDTEE.js → 5ORK2Y44.js} +2 -2
  41. package/dist/cdn/{WCAMEDNK.js → 5PNJQEHL.js} +2 -2
  42. package/dist/cdn/{KQH7RQH7.js → 5PXYAS3B.js} +2 -2
  43. package/dist/cdn/{CBIUUXGC.js → 5QRNJRKJ.js} +2 -2
  44. package/dist/cdn/{67IWZ3KD.js → 5ZUHX3VT.js} +2 -2
  45. package/dist/cdn/{QU74S4RI.js → 66Z5F3Z2.js} +2 -2
  46. package/dist/cdn/{UG2VB4I7.js → 6IIIEY74.js} +2 -2
  47. package/dist/cdn/{N7CCSN2V.js → 6IJOFEAH.js} +1 -1
  48. package/dist/cdn/{3FBYTHDB.js → 6K4LQMAX.js} +1 -1
  49. package/dist/cdn/{S3GATO3B.js → 7DLIAJCU.js} +2 -2
  50. package/dist/cdn/{B4ACCQYI.js → 7EDFUMWK.js} +2 -2
  51. package/dist/cdn/{4TZFTGP5.js → 7HTPHT6R.js} +2 -2
  52. package/dist/cdn/{UBBCUI4G.js → 7KQ2BBGH.js} +2 -2
  53. package/dist/cdn/{NWWSZQFW.js → 7MBIJWN3.js} +2 -2
  54. package/dist/cdn/{MUN27JUW.js → 7NNOBYSQ.js} +2 -2
  55. package/dist/cdn/{SD2CLQWR.js → 7R37WICF.js} +1 -1
  56. package/dist/cdn/{G5PJOI2S.js → 7S2YYGKB.js} +2 -2
  57. package/dist/cdn/{CVY6NXHC.js → 7VPDZBJR.js} +2 -2
  58. package/dist/cdn/{IGWBDOPR.js → 7X7D4YVD.js} +2 -2
  59. package/dist/cdn/{FINOANYC.js → 7Y37SBXY.js} +2 -2
  60. package/dist/cdn/{GNS3QL7M.js → 7ZJMMRH4.js} +1 -1
  61. package/dist/cdn/{KO3ONQ7A.js → A6JEFTX2.js} +2 -2
  62. package/dist/cdn/{ZOSUIDTX.js → ABYLFJWS.js} +2 -2
  63. package/dist/cdn/{5NHYI3W6.js → AGAYVTUV.js} +2 -2
  64. package/dist/cdn/{7RA5VI2M.js → AP6ERTGB.js} +2 -2
  65. package/dist/cdn/APXHE3B3.js +4 -0
  66. package/dist/cdn/{ETSR4DTU.js → AQIJR4XD.js} +2 -2
  67. package/dist/cdn/{KJEZ63MM.js → AQMF7NA2.js} +2 -2
  68. package/dist/cdn/{UBITOVMY.js → ATWKDQMR.js} +2 -2
  69. package/dist/cdn/{4B5UZHGF.js → AXUX37GT.js} +1 -1
  70. package/dist/cdn/{7QRMYMOR.js → AXZ3Q7NZ.js} +2 -2
  71. package/dist/cdn/AZAD32ZX.js +4 -0
  72. package/dist/cdn/{KZSEXK4T.js → AZH3EEU4.js} +2 -2
  73. package/dist/cdn/{DUYAP33V.js → BADS5XZD.js} +2 -2
  74. package/dist/cdn/{DIYKBW3U.js → BDUN32OS.js} +2 -2
  75. package/dist/cdn/{M4O6K73H.js → BGOOKLPG.js} +2 -2
  76. package/dist/cdn/{7KVWVAR4.js → BKODTFFO.js} +2 -2
  77. package/dist/cdn/{YKW4FGXP.js → BMVUDTTY.js} +2 -2
  78. package/dist/cdn/{ETN3A2QC.js → BPDYH25K.js} +2 -2
  79. package/dist/cdn/{UM332TFA.js → BTKBHKQO.js} +2 -2
  80. package/dist/cdn/{Q2SKOFQP.js → BVCJBJQL.js} +2 -2
  81. package/dist/cdn/{UFH2ESKV.js → BVXKRSGL.js} +1 -1
  82. package/dist/cdn/{GHAEWQ4U.js → BYKFCMXP.js} +2 -2
  83. package/dist/cdn/{CO6Y4JQA.js → C4OQIYFQ.js} +2 -2
  84. package/dist/cdn/C7LOQ7OI.js +18 -0
  85. package/dist/cdn/{CC7GNQZN.js → CGQI4TYR.js} +2 -2
  86. package/dist/cdn/{NBQUUMZE.js → CQY3643E.js} +2 -2
  87. package/dist/cdn/CTWEU7QD.js +4 -0
  88. package/dist/cdn/{PYTEXGKE.js → D6UC7QOS.js} +2 -2
  89. package/dist/cdn/{BI64QLWY.js → DBI5MALT.js} +2 -2
  90. package/dist/cdn/{RSOVP27Q.js → DCUNQVC7.js} +2 -2
  91. package/dist/cdn/{LEGB4PPF.js → DEYWCDYE.js} +1 -1
  92. package/dist/cdn/{KWP3A7C6.js → DF4U7UQT.js} +2 -2
  93. package/dist/cdn/{MILUGKNK.js → DIR5ZFRB.js} +2 -2
  94. package/dist/cdn/{VYQNTISJ.js → DKGXGDIG.js} +2 -2
  95. package/dist/cdn/{WUDMEAHZ.js → DPASP522.js} +2 -2
  96. package/dist/cdn/{PFFJNYXP.js → DU3EVUJQ.js} +2 -2
  97. package/dist/cdn/{LKQE3JX7.js → DYYDQJ3C.js} +2 -2
  98. package/dist/cdn/{3Y2HEM7T.js → EBAIG4UF.js} +1 -1
  99. package/dist/cdn/{DNEPWMNI.js → EBYK2JMV.js} +2 -2
  100. package/dist/cdn/{U37LWH4D.js → ECDV3RJN.js} +2 -2
  101. package/dist/cdn/{5NLTGNGB.js → EL3O7SU5.js} +2 -2
  102. package/dist/cdn/{QLWQDLYJ.js → EMCSETR3.js} +2 -2
  103. package/dist/cdn/{YJY766UU.js → EQF7354P.js} +2 -2
  104. package/dist/cdn/{ZQCQVKSK.js → EQWZKX6V.js} +2 -2
  105. package/dist/cdn/{FFGPVCLB.js → ERINYIS2.js} +2 -2
  106. package/dist/cdn/{5LZ4OM3G.js → EUSLG7J4.js} +1 -1
  107. package/dist/cdn/{S7LILHZ6.js → EWFTPTDF.js} +2 -2
  108. package/dist/cdn/F2PLJZ35.js +4 -0
  109. package/dist/cdn/{ZQ6TRYQI.js → F5TW6HEN.js} +1 -1
  110. package/dist/cdn/{GU74TCNP.js → FBYQBRBZ.js} +2 -2
  111. package/dist/cdn/{ZPQHWXVT.js → FFFJSA6E.js} +2 -2
  112. package/dist/cdn/{Z2TQAG2W.js → FGBLMTAS.js} +2 -2
  113. package/dist/cdn/{4OPYQ2ZV.js → FJMBBCIQ.js} +2 -2
  114. package/dist/cdn/{JYBX6OYZ.js → FM4G2RSJ.js} +2 -2
  115. package/dist/cdn/{DSGRTZC7.js → FMFPTEIS.js} +2 -2
  116. package/dist/cdn/{QZMNFU3O.js → FY6AWVVF.js} +2 -2
  117. package/dist/cdn/{2ROXBM6C.js → FYH6THZZ.js} +2 -2
  118. package/dist/cdn/{5LBKY3ZB.js → G3ONBCRX.js} +2 -2
  119. package/dist/cdn/{QSEHUKUK.js → GCJO7NBJ.js} +2 -2
  120. package/dist/cdn/{C4EGGW6P.js → GKMDZTC3.js} +1 -1
  121. package/dist/cdn/{NAM4J36C.js → GLD46N72.js} +2 -2
  122. package/dist/cdn/{32BEPLL5.js → GNLEYSDW.js} +2 -2
  123. package/dist/cdn/{PJ4OOX6H.js → GREGLFM2.js} +2 -2
  124. package/dist/cdn/{TGLYOQNV.js → GUCZWBGM.js} +3 -3
  125. package/dist/cdn/{DDV5UYE5.js → GV7IXPU6.js} +1 -1
  126. package/dist/cdn/{5LHOUR5X.js → GXHWOEWG.js} +2 -2
  127. package/dist/cdn/{PKS62HB2.js → HBONMRUG.js} +2 -2
  128. package/dist/cdn/{EPUOFHKO.js → HGCM2FE2.js} +1 -1
  129. package/dist/cdn/{P5NIA3Y5.js → HGTXMUFL.js} +2 -2
  130. package/dist/cdn/{JNHPEUSM.js → HLH3CEN7.js} +1 -1
  131. package/dist/cdn/{CGC5HVLI.js → HMNRBKGU.js} +2 -2
  132. package/dist/cdn/{6D2PTEFV.js → HP6EZ4T6.js} +2 -2
  133. package/dist/cdn/{FKJHLJPA.js → HRPINX2P.js} +2 -2
  134. package/dist/cdn/{7VKBF2FF.js → HRS2ULJX.js} +2 -2
  135. package/dist/cdn/{EBYHWRAD.js → HSNJFDZI.js} +2 -2
  136. package/dist/cdn/{JHG32IWY.js → HV3ZJ75V.js} +2 -2
  137. package/dist/cdn/{PSUXO4NH.js → HV42PHN2.js} +2 -2
  138. package/dist/cdn/{CD53XWYA.js → HW3PYGRO.js} +2 -2
  139. package/dist/cdn/{N5ILEPMJ.js → I3OWRWKV.js} +2 -2
  140. package/dist/cdn/{D4QGPQND.js → I65TCXEV.js} +2 -2
  141. package/dist/cdn/{Q3TRQVCN.js → IJWZ2QGC.js} +2 -2
  142. package/dist/cdn/{V67M3XNW.js → IKJ2MUXC.js} +2 -2
  143. package/dist/cdn/{FRUGMWTJ.js → IOZP453D.js} +2 -2
  144. package/dist/cdn/{NBSLCKRM.js → IQEIWTTQ.js} +1 -1
  145. package/dist/cdn/{IMFSUJYA.js → IQJONGSP.js} +2 -2
  146. package/dist/cdn/{QABYI35N.js → IYGXOL5A.js} +2 -2
  147. package/dist/cdn/{SGXSUJVY.js → J3RLAMMG.js} +2 -2
  148. package/dist/cdn/{WVCE4HNT.js → JDQXOW4N.js} +2 -2
  149. package/dist/cdn/{ONBSV4YT.js → JJM7DPRD.js} +2 -2
  150. package/dist/cdn/{QUWBDRBE.js → JLQSRAJA.js} +2 -2
  151. package/dist/cdn/JOXQDPXR.js +18 -0
  152. package/dist/cdn/{I7LH7SU3.js → JQLK37UG.js} +2 -2
  153. package/dist/cdn/{3JIZ4OVA.js → JWCO6WYR.js} +2 -2
  154. package/dist/cdn/{ZDR25IQ2.js → JX7OUCFF.js} +2 -2
  155. package/dist/cdn/{GUAMN5PO.js → K4UNKJ5H.js} +2 -2
  156. package/dist/cdn/{VDRZPPZC.js → K5AQ47LY.js} +2 -2
  157. package/dist/cdn/{XKWWXYCP.js → K6TIKSGU.js} +2 -2
  158. package/dist/cdn/{TZD5MGUT.js → KAR4LTJL.js} +1 -1
  159. package/dist/cdn/{YSF3U2S4.js → KN2HYDVW.js} +2 -2
  160. package/dist/cdn/KYJV4K4T.js +18 -0
  161. package/dist/cdn/{VXNYWTA2.js → L3I2MLN4.js} +2 -2
  162. package/dist/cdn/L3PM24PZ.js +18 -0
  163. package/dist/cdn/{I6YRZF2Z.js → L3VAHI62.js} +2 -2
  164. package/dist/cdn/{WN7I3CLH.js → L7USSUAB.js} +2 -2
  165. package/dist/cdn/{5V5IWZML.js → LA7NDNWK.js} +3 -3
  166. package/dist/cdn/{UQVY46LL.js → LFJA4ZL7.js} +2 -2
  167. package/dist/cdn/{TGXRWCA5.js → LGV5OMRP.js} +2 -2
  168. package/dist/cdn/{FOEUECEM.js → LLOZFHAC.js} +2 -2
  169. package/dist/cdn/{AVJALFKF.js → LQ43QFI2.js} +2 -2
  170. package/dist/cdn/{DT5LM7Y4.js → LWJFG2TB.js} +1 -1
  171. package/dist/cdn/{D3HBPTA4.js → M344WSRV.js} +1 -1
  172. package/dist/cdn/{PHJF3WTM.js → MHQCPSLE.js} +2 -2
  173. package/dist/cdn/{LLHTR24H.js → MKDZNMY7.js} +1 -1
  174. package/dist/cdn/{MM4EA25Z.js → MNJN2GFB.js} +2 -2
  175. package/dist/cdn/{N4YEVO4Y.js → MT54TTK3.js} +2 -2
  176. package/dist/cdn/{R2QN2NVA.js → MWH2EIKG.js} +2 -2
  177. package/dist/cdn/{3RYCYG6M.js → MXAI3H2Y.js} +2 -2
  178. package/dist/cdn/{6I3NSNO2.js → N2NJILWN.js} +2 -2
  179. package/dist/cdn/N5NEHLCX.js +4 -0
  180. package/dist/cdn/{R6NWJH2T.js → NACVBQNC.js} +1 -1
  181. package/dist/cdn/{5KHJ2Q7T.js → NAWILONU.js} +2 -2
  182. package/dist/cdn/{PJC6SXTD.js → NB4YH3JV.js} +2 -2
  183. package/dist/cdn/{J7JR3RI7.js → NBPBOJ23.js} +2 -2
  184. package/dist/cdn/{OEUYYOHY.js → NFSHI4K2.js} +2 -2
  185. package/dist/cdn/{CGVNTPMW.js → NMZ3OE4M.js} +2 -2
  186. package/dist/cdn/{3FZJXHAQ.js → NPE5VGIJ.js} +1 -1
  187. package/dist/cdn/{BE7WZVUC.js → NQ43PDWK.js} +1 -1
  188. package/dist/cdn/{XGCJQZRI.js → NS4JA7V7.js} +2 -2
  189. package/dist/cdn/{WL2QS77G.js → NTZWVSZY.js} +2 -2
  190. package/dist/cdn/{D7XRMPPD.js → NY6QTBWO.js} +2 -2
  191. package/dist/cdn/{XETIOQJS.js → NZYOPIF7.js} +2 -2
  192. package/dist/cdn/{NLW3FUGS.js → O4DAQ76R.js} +2 -2
  193. package/dist/cdn/{62NXY2XK.js → O5MZPOPH.js} +2 -2
  194. package/dist/cdn/{VAQT7ARN.js → OBWKJWXC.js} +2 -2
  195. package/dist/cdn/{TT3JSL5E.js → OCAI32J3.js} +2 -2
  196. package/dist/cdn/{LWFA6HIB.js → ODRWQOSM.js} +2 -2
  197. package/dist/cdn/{EO6UJOYB.js → OEESZ5OV.js} +2 -2
  198. package/dist/cdn/{VDKRDZJM.js → OFKLFPJB.js} +2 -2
  199. package/dist/cdn/{5HYO7JGY.js → OM3XGHUN.js} +2 -2
  200. package/dist/cdn/{KGY74VYL.js → OQPHC3L2.js} +2 -2
  201. package/dist/cdn/{25BPRYOW.js → OUK52IIO.js} +2 -2
  202. package/dist/cdn/{U7HGDUHD.js → P2PRJL62.js} +2 -2
  203. package/dist/cdn/{PZLYNDNS.js → PAUAKCLM.js} +2 -2
  204. package/dist/cdn/{GDMJG5O6.js → PIVTTIXY.js} +2 -2
  205. package/dist/cdn/{3BO2FDBN.js → PJZTESVI.js} +2 -2
  206. package/dist/cdn/{S5LJNAVJ.js → PNUTIPX7.js} +2 -2
  207. package/dist/cdn/{BVTZQPBH.js → PNVFVVE6.js} +2 -2
  208. package/dist/cdn/{5ZDDGZJ2.js → POM4C6DI.js} +2 -2
  209. package/dist/cdn/{GPLQK6HM.js → PTEALRQR.js} +2 -2
  210. package/dist/cdn/{7WGHDJ4F.js → PTSO747J.js} +2 -2
  211. package/dist/cdn/{CA2EPZXH.js → PUM7WU5Q.js} +2 -2
  212. package/dist/cdn/{5XNY2IPV.js → PUNA6UWM.js} +2 -2
  213. package/dist/cdn/{YZWFSEWM.js → PWGBFNR2.js} +2 -2
  214. package/dist/cdn/{IX46G3WW.js → PWJSDFB5.js} +1 -1
  215. package/dist/cdn/{WT27D7OF.js → Q7PTMTBS.js} +2 -2
  216. package/dist/cdn/{LU4ZYEEQ.js → Q7YYCBYQ.js} +2 -2
  217. package/dist/cdn/{YNLF6CBA.js → QADRNTEK.js} +2 -2
  218. package/dist/cdn/{CNFZJ3VN.js → QHBTS47Z.js} +2 -2
  219. package/dist/cdn/{W3IPZTUY.js → QIXFH7VY.js} +1 -1
  220. package/dist/cdn/{F3NKARWH.js → RAZFH54Z.js} +2 -2
  221. package/dist/cdn/{27FMVAFE.js → ROR6YUGT.js} +2 -2
  222. package/dist/cdn/{OYY2X6G5.js → RSS4NWVZ.js} +2 -2
  223. package/dist/cdn/{HH7VHJVF.js → RVT3UAUI.js} +2 -2
  224. package/dist/cdn/{HZGI4IYF.js → RZXR3T2O.js} +2 -2
  225. package/dist/cdn/{LG5UWDJZ.js → S6RJHHML.js} +2 -2
  226. package/dist/cdn/{NXWK2VRW.js → SKHXGZWX.js} +1 -1
  227. package/dist/cdn/{6THHSLTV.js → SLEI7LYC.js} +2 -2
  228. package/dist/cdn/{ANFQG7LD.js → SOGF7JLH.js} +1 -1
  229. package/dist/cdn/{GBVJR7G4.js → SPF74Q42.js} +1 -1
  230. package/dist/cdn/{XKB4YYB6.js → SPFFRGBK.js} +1 -1
  231. package/dist/cdn/{N7XVZJMY.js → STV67PIO.js} +2 -2
  232. package/dist/cdn/{EX7VYQYO.js → SUIDIWD6.js} +2 -2
  233. package/dist/cdn/{NUWXRXBH.js → SV2EP4JK.js} +2 -2
  234. package/dist/cdn/{JIKGR7Y6.js → SVKS7KL3.js} +2 -2
  235. package/dist/cdn/{4GFQFORZ.js → TDSZPVPL.js} +2 -2
  236. package/dist/cdn/{Z46YZXN7.js → TLR6GDUP.js} +2 -2
  237. package/dist/cdn/{VSTHZ6AJ.js → TMFTNPLJ.js} +2 -2
  238. package/dist/cdn/{QFZD7GCJ.js → TP3Q4JTG.js} +2 -2
  239. package/dist/cdn/{WOWM46JN.js → TRZDIDEA.js} +2 -2
  240. package/dist/cdn/{JU5GXMWH.js → TS5QLE3W.js} +1 -1
  241. package/dist/cdn/{UTMGYYPC.js → TSFAXIQQ.js} +2 -2
  242. package/dist/cdn/{VWFYEGZK.js → U4BFCSBQ.js} +2 -2
  243. package/dist/cdn/{N4VN6R7P.js → UGC4M3L5.js} +2 -2
  244. package/dist/cdn/{GI4X7A5E.js → UGHZODS3.js} +2 -2
  245. package/dist/cdn/{TJI4XQVF.js → UMYOEGMF.js} +2 -2
  246. package/dist/cdn/{7PUAGOWX.js → USBUOYSE.js} +1 -1
  247. package/dist/cdn/{UBSSSD4F.js → USJC532U.js} +2 -2
  248. package/dist/cdn/{GLN7BTBK.js → UT4B76ZF.js} +2 -2
  249. package/dist/cdn/{NV33KYL6.js → UWRGESW6.js} +2 -2
  250. package/dist/cdn/{YAGUTU2N.js → V4ICHA6X.js} +2 -2
  251. package/dist/cdn/{47GUYAPC.js → V4P44XCJ.js} +2 -2
  252. package/dist/cdn/{4M6QLQL3.js → VEECODKP.js} +2 -2
  253. package/dist/cdn/{3GPCAH34.js → VGRCZ36H.js} +1 -1
  254. package/dist/cdn/{SL2Z2VTM.js → VN3B4LBI.js} +2 -2
  255. package/dist/cdn/{GNYR5T7P.js → VVERV2QI.js} +2 -2
  256. package/dist/cdn/{PQVYRUBP.js → VYCPFHKG.js} +2 -2
  257. package/dist/cdn/{GTLD5NIN.js → W23M33N7.js} +2 -2
  258. package/dist/cdn/{ELWIFWTO.js → WD5PKUU3.js} +1 -1
  259. package/dist/cdn/{L7XDT5RE.js → WDMSDRPI.js} +4 -4
  260. package/dist/cdn/{LQFPA4NV.js → WJDR4FIK.js} +2 -2
  261. package/dist/cdn/{UHVWYTHM.js → WKTJ6QCW.js} +2 -2
  262. package/dist/cdn/{PVQZBQBD.js → WNHJ7PIL.js} +1 -1
  263. package/dist/cdn/{MDUE7TQA.js → WUYHEMVC.js} +2 -2
  264. package/dist/cdn/{LWLLBQ5N.js → WX2FTC64.js} +2 -2
  265. package/dist/cdn/{IODYGL3H.js → WYZ7SQQN.js} +2 -2
  266. package/dist/cdn/{JV6ZKXC4.js → WZDAHV2W.js} +2 -2
  267. package/dist/cdn/{7MFEM32P.js → WZVCVIBP.js} +2 -2
  268. package/dist/cdn/XHQSKNX6.js +18 -0
  269. package/dist/cdn/{PMMQB3WH.js → XIHWGWOZ.js} +2 -2
  270. package/dist/cdn/{DWZUCJFG.js → XK4QSY24.js} +2 -2
  271. package/dist/cdn/{PMUI6RJ4.js → XQP3EVFG.js} +2 -2
  272. package/dist/cdn/{WYVS67DX.js → XRX2HXXR.js} +2 -2
  273. package/dist/cdn/{6FFTVBS4.js → XU6BRRA7.js} +2 -2
  274. package/dist/cdn/{3FFRXMAG.js → XVPETWSD.js} +2 -2
  275. package/dist/cdn/Y32USNTH.js +4 -0
  276. package/dist/cdn/{7VJLUWJW.js → Y4PJZPVR.js} +2 -2
  277. package/dist/cdn/{KLT2SHIJ.js → Y55NNV6M.js} +2 -2
  278. package/dist/cdn/{4CSTDFLN.js → Y5ROBTLH.js} +2 -2
  279. package/dist/cdn/{5UWVK7QB.js → Y5ZZUWEB.js} +3 -3
  280. package/dist/cdn/{BBWZXQIW.js → YETOFDZ6.js} +2 -2
  281. package/dist/cdn/{PE4QKLMA.js → YFTHYPT3.js} +2 -2
  282. package/dist/cdn/{PDR2NMR5.js → YGKFRUZE.js} +1 -1
  283. package/dist/cdn/{LB5UU74B.js → YIJFEDFW.js} +2 -2
  284. package/dist/cdn/{4TMVLWUO.js → YUL3FLGS.js} +2 -2
  285. package/dist/cdn/{4GN7SIYX.js → YYNOCEWC.js} +2 -2
  286. package/dist/cdn/{IFJSYBIO.js → YZJXEOMV.js} +2 -2
  287. package/dist/cdn/{SDEYHR34.js → Z7WNEKTH.js} +2 -2
  288. package/dist/cdn/{ODAHMIEG.js → ZK4MHDHC.js} +2 -2
  289. package/dist/cdn/{QU7JNZVG.js → ZOPYH7VG.js} +2 -2
  290. package/dist/cdn/{YGDH5YVZ.js → ZQ2UYMNA.js} +2 -2
  291. package/dist/cdn/{BJ7XQIDM.js → ZRAWON53.js} +2 -2
  292. package/dist/cdn/{5MVQM3XO.js → ZTW7APB3.js} +2 -2
  293. package/dist/cdn/{4BSGFS3K.js → ZZWLXC4D.js} +2 -2
  294. package/dist/cdn/{VEFFB5HW.js → ZZYWNVZZ.js} +1 -1
  295. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
  296. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
  297. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.en.json +1 -1
  298. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.json +1 -1
  299. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.en.json +1 -1
  300. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.json +1 -1
  301. package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
  302. package/dist/cdn/assets/solution-item-accordion/t9n/messages.json +1 -1
  303. package/dist/cdn/index.js +2 -2
  304. package/dist/chunks/Auth.js +1 -1
  305. package/dist/chunks/appConfig.js +1 -1
  306. package/dist/chunks/cardFetchingUtils.js +1 -1
  307. package/dist/chunks/common.js +1 -1
  308. package/dist/chunks/deployAppContexts.js +1 -1
  309. package/dist/chunks/downloadUtils.js +1 -1
  310. package/dist/chunks/helpers.js +1 -1
  311. package/dist/chunks/index.js +1 -1
  312. package/dist/chunks/interfaces.js +1 -1
  313. package/dist/chunks/loadModules.js +1 -1
  314. package/dist/chunks/mapViewUtils.js +1 -1
  315. package/dist/chunks/pciUtils.js +1 -1
  316. package/dist/chunks/popupUtils.js +1 -1
  317. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  318. package/dist/chunks/privilegeUtils.js +1 -1
  319. package/dist/chunks/publicNotificationStore.js +1 -1
  320. package/dist/chunks/queryUtils.js +1 -1
  321. package/dist/chunks/runtime.js +1 -1
  322. package/dist/chunks/solution-store.js +1 -1
  323. package/dist/chunks/templates.js +1 -1
  324. package/dist/chunks/useT9n.js +1 -1
  325. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  326. package/dist/components/basemap-gallery/customElement.js +1 -1
  327. package/dist/components/buffer-tools/customElement.js +1 -1
  328. package/dist/components/card-manager/customElement.js +1 -1
  329. package/dist/components/consent-manager/customElement.js +1 -1
  330. package/dist/components/create-feature/customElement.js +1 -1
  331. package/dist/components/create-related-feature/customElement.js +1 -1
  332. package/dist/components/crowdsource-manager/customElement.js +1 -1
  333. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  334. package/dist/components/deduct-calculator/customElement.js +1 -1
  335. package/dist/components/delete-button/customElement.js +1 -1
  336. package/dist/components/delete-dialog/customElement.js +1 -1
  337. package/dist/components/edit-card/customElement.js +1 -1
  338. package/dist/components/feature-details/customElement.js +1 -1
  339. package/dist/components/feature-list/customElement.js +1 -1
  340. package/dist/components/field-selection/customElement.js +1 -1
  341. package/dist/components/floor-filter/customElement.js +1 -1
  342. package/dist/components/info-card/customElement.js +1 -1
  343. package/dist/components/json-editor/customElement.js +1 -1
  344. package/dist/components/layer-list/customElement.js +1 -1
  345. package/dist/components/layer-table/customElement.js +1 -1
  346. package/dist/components/map-card/customElement.js +1 -1
  347. package/dist/components/map-draw-tools/customElement.js +1 -1
  348. package/dist/components/map-fullscreen/customElement.js +1 -1
  349. package/dist/components/map-layer-picker/customElement.js +1 -1
  350. package/dist/components/map-legend/customElement.js +1 -1
  351. package/dist/components/map-picker/customElement.js +1 -1
  352. package/dist/components/map-search/customElement.js +1 -1
  353. package/dist/components/map-select-tools/customElement.js +1 -1
  354. package/dist/components/map-tools/customElement.js +1 -1
  355. package/dist/components/pci-calculator/customElement.js +1 -1
  356. package/dist/components/pdf-download/customElement.js +1 -1
  357. package/dist/components/public-notification/customElement.js +1 -1
  358. package/dist/components/refine-selection/customElement.js +1 -1
  359. package/dist/components/selection-tool/customElement.js +1 -1
  360. package/dist/components/solution-article-card/customElement.js +1 -1
  361. package/dist/components/solution-configuration/customElement.js +1 -1
  362. package/dist/components/solution-configure-dialog/customElement.js +13 -15
  363. package/dist/components/solution-configure-dialog/index.d.ts +1 -0
  364. package/dist/components/solution-configure-dialog/index.js +1 -0
  365. package/dist/components/solution-configure-titles/customElement.js +1 -1
  366. package/dist/components/solution-contents/customElement.js +1 -1
  367. package/dist/components/solution-delete-dialog/customElement.js +6 -6
  368. package/dist/components/solution-deploy-dialog/customElement.d.ts +1 -1
  369. package/dist/components/solution-deploy-dialog/customElement.js +11 -9
  370. package/dist/components/solution-deploy-dialog/index.d.ts +0 -1
  371. package/dist/components/solution-deploy-dialog/index.js +0 -1
  372. package/dist/components/solution-deployed-card/customElement.js +17 -20
  373. package/dist/components/solution-deployed-card/index.d.ts +0 -3
  374. package/dist/components/solution-deployed-card/index.js +0 -3
  375. package/dist/components/solution-deploying-dialog/customElement.d.ts +4 -0
  376. package/dist/components/solution-deploying-dialog/customElement.js +19 -17
  377. package/dist/components/solution-details-card/customElement.js +4 -4
  378. package/dist/components/solution-details-panel/customElement.js +6 -6
  379. package/dist/components/solution-item/customElement.js +1 -1
  380. package/dist/components/solution-item-accordion/customElement.js +2 -2
  381. package/dist/components/solution-item-details/customElement.js +1 -1
  382. package/dist/components/solution-item-diagram/customElement.js +1 -1
  383. package/dist/components/solution-item-icon/customElement.js +1 -1
  384. package/dist/components/solution-item-sharing/customElement.js +1 -1
  385. package/dist/components/solution-organization-variables/customElement.js +1 -1
  386. package/dist/components/solution-resource-item/customElement.js +1 -1
  387. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  388. package/dist/components/solution-social-share/customElement.js +1 -1
  389. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  390. package/dist/components/solution-template-data/customElement.js +1 -1
  391. package/dist/components/solution-variables/customElement.js +1 -1
  392. package/dist/components/solutions-all-panel/customElement.js +1 -1
  393. package/dist/components/solutions-all-shell/customElement.js +3 -3
  394. package/dist/components/solutions-article-panel/customElement.js +1 -1
  395. package/dist/components/solutions-articles/customElement.js +1 -1
  396. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  397. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  398. package/dist/components/solutions-deployed-shell/customElement.js +12 -12
  399. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  400. package/dist/components/spatial-ref/customElement.js +1 -1
  401. package/dist/components/store-manager/customElement.js +1 -1
  402. package/dist/docs/api.json +41 -2
  403. package/dist/docs/docs.json +50 -5
  404. package/dist/docs/vscode.html-custom-data.json +1 -1
  405. package/dist/docs/web-types.json +9 -4
  406. package/dist/index.js +1 -1
  407. package/dist/loader.js +2 -2
  408. package/dist/types/lumina.d.ts +1 -1
  409. package/dist/types/preact.d.ts +1 -1
  410. package/dist/types/react.d.ts +1 -1
  411. package/dist/types/stencil.d.ts +1 -1
  412. package/package.json +1 -1
  413. package/dist/cdn/4WAKHUFX.js +0 -18
  414. package/dist/cdn/AHCZJWA5.js +0 -4
  415. package/dist/cdn/B65VFI5R.js +0 -18
  416. package/dist/cdn/FZCKTFLA.js +0 -4
  417. package/dist/cdn/GSM6TAUA.js +0 -4
  418. package/dist/cdn/HANAFVAT.js +0 -18
  419. package/dist/cdn/KCVS4LMM.js +0 -18
  420. package/dist/cdn/KV53YB72.js +0 -4
  421. package/dist/cdn/PDMQWXIW.js +0 -4
  422. package/dist/cdn/PWFUVQTO.js +0 -4
  423. package/dist/cdn/RRQM3WWS.js +0 -18
  424. package/dist/cdn/UB6QDVHQ.js +0 -4
  425. package/dist/cdn/UITXXEST.js +0 -4
  426. package/dist/cdn/VXHKEQOL.js +0 -18
  427. package/dist/cdn/Z76A5P6D.js +0 -18
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250811 */
4
- import{b as p,d as n,e as h,f as R}from"./4B5UZHGF.js";function a(r={}){return r.portal?R(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 nr(r,t){let e=P(r,t),o=Object.assign({httpMethod:"GET"},t);return n(e,o)}var P=(r,t)=>`${typeof t=="string"?t:a(t)}/content/items/${r}`;function ar(r,t){let e=`${P(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),n(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 ir(r){let t=`${P(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,n(t,e)}function mr(r,t){let e=`${P(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),n(e,o)}function lr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/delete`;return n(e,r)})}function dr(r){return u(r).then(t=>{let e=`${a(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),n(e,r)})}function hr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return n(e,r)})}function xr(r,t){let e=r||"self",o=`${a(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return n(o,i)}function W(r){return u(r).then(t=>{let e=r.folderId?`${a(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${a(r)}/content/users/${t}/items/${r.item.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent)),n(e,r)})}function Ur(r){return u(r).then(t=>{let e=`${a(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"),n(e,r)})}function jr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),n(e,r)})}function Cr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return n(e,o)})}function Rr(r){return u(r).then(t=>{let e=`${a(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),n(e,r)})}function Dr(r){return u(r).then(t=>{let o=`${`${a(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),n(o,r)})}function Y(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${a(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 n(o,i)})}function Wr(r){let t=Object.assign({folderId:null},r);return Y(t)}function Xr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/protect`;return n(e,r)})}function Zr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/unprotect`;return n(e,r)})}function E(r,t){let e=`${a(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return n(e,o)}function tt(r,t){let e=`${a(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)),n(e,o)}function M(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${a(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function A(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function G(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function v(r){return E(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=a(e)+o;return n(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 k(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 F(r){let t=r.id,e=`${a(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...N("users",r.users,o),...N("admins",r.admins,o)].map(c=>H(e,c));return Promise.all(m).then(J)}function N(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>z(r,i,e))}function z(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function H(r,t){return n(r,t).catch(e=>({errors:[e]}))}function J(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 _(r){let{id:t,users:e}=r,o=`${a(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return n(o,d).catch(f=>({errors:[f]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=l=>c.filter(g=>g[l]).reduce((g,w)=>g.concat(w[l]),[]),f=d("errors"),s={notRemoved:d("notRemoved")};return f.length?Object.assign(Object.assign({},s),{errors:f}):s})}function Ft(r){let t=`${a(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),n(t,r)}function Ht(r){let t=`${a(r)}/community/groups/${r.id}/protect`;return n(t,r)}function Jt(r){let t=`${a(r)}/community/groups/${r.id}/unprotect`;return n(t,r)}function Kt(r){let t=`${a(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return n(t,e)}function Ot(r){return $(r,"group")}function qt(r){return $(r,"groupContent")}function oe(r){let t=`${a(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),n(t,r)}function S(r){let t=`${a(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,n(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=`${a(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return n(t,e)}async function Le(r){let t=await r.authentication.getUsername(),e=M(r,t);return A(r,t)?B(e,r):G(r).then(o=>{if(o)return B(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function B(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),n(r,t)}function T(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return k(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function ao(r){return T(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}),v(r)]).then(([f,s,l])=>{let g=!!o;return c=f.role==="org_admin"&&!f.roleId,d=f.orgId!==s.orgId,V(f,g,l,c,s,r)}).then(f=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:l=>Promise.resolve(l)}]=f;return Promise.all(f.map(({promise:l})=>l)).then(()=>D(r,c,d)).then(l=>s(l))})}return D(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function V(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(C(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),C(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(C(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 D(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${a(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${a(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},n(m,r)}function C(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,f;if(c)e&&c.userMembership.memberType==="member"?(d=S({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let l=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:l})}).catch(()=>({notAdded:[t.username]})),f=s=>S({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),f=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=F({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(l=>{if(l.errors&&l.errors.length)throw l.errors[0];return l}).catch(()=>({notAdded:[t.username]})),f=l=>_({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>l)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:f}}function lo(r){return T(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([v(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,f=m.role==="org_admin"&&!m.roleId;if(!d&&!f&&["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 L(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function L(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${a(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${a(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},n(o,r)}function wo(r){return Q(null,r)}function Q(r,t){let e=r||"self",o=`${a(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return n(o,i)}export{a,u as b,W as c,Ur as d,jr as e,Cr as f,Rr as g,Dr as h,Y as i,Wr as j,nr as k,ar as l,ir as m,mr as n,Xr as o,Zr as p,E as q,tt as r,lr as s,dr as t,hr as u,x as v,k as w,_ as x,Ft as y,Ht as z,Jt as A,Kt as B,Ot as C,qt as D,oe as E,I as F,Le as G,ao as H,lo as I,wo as J,Q as K,xr as L};
3
+ v1.1.0-next.20250812 */
4
+ import{b as p,d as n,e as h,f as R}from"./AXUX37GT.js";function a(r={}){return r.portal?R(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 nr(r,t){let e=P(r,t),o=Object.assign({httpMethod:"GET"},t);return n(e,o)}var P=(r,t)=>`${typeof t=="string"?t:a(t)}/content/items/${r}`;function ar(r,t){let e=`${P(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),n(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 ir(r){let t=`${P(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,n(t,e)}function mr(r,t){let e=`${P(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),n(e,o)}function lr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/delete`;return n(e,r)})}function dr(r){return u(r).then(t=>{let e=`${a(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),n(e,r)})}function hr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return n(e,r)})}function xr(r,t){let e=r||"self",o=`${a(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return n(o,i)}function W(r){return u(r).then(t=>{let e=r.folderId?`${a(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${a(r)}/content/users/${t}/items/${r.item.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent)),n(e,r)})}function Ur(r){return u(r).then(t=>{let e=`${a(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"),n(e,r)})}function jr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),n(e,r)})}function Cr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return n(e,o)})}function Rr(r){return u(r).then(t=>{let e=`${a(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),n(e,r)})}function Dr(r){return u(r).then(t=>{let o=`${`${a(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),n(o,r)})}function Y(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${a(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 n(o,i)})}function Wr(r){let t=Object.assign({folderId:null},r);return Y(t)}function Xr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/protect`;return n(e,r)})}function Zr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/unprotect`;return n(e,r)})}function E(r,t){let e=`${a(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return n(e,o)}function tt(r,t){let e=`${a(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)),n(e,o)}function M(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${a(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function A(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function G(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function v(r){return E(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=a(e)+o;return n(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 k(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 F(r){let t=r.id,e=`${a(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...N("users",r.users,o),...N("admins",r.admins,o)].map(c=>H(e,c));return Promise.all(m).then(J)}function N(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>z(r,i,e))}function z(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function H(r,t){return n(r,t).catch(e=>({errors:[e]}))}function J(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 _(r){let{id:t,users:e}=r,o=`${a(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return n(o,d).catch(f=>({errors:[f]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=l=>c.filter(g=>g[l]).reduce((g,w)=>g.concat(w[l]),[]),f=d("errors"),s={notRemoved:d("notRemoved")};return f.length?Object.assign(Object.assign({},s),{errors:f}):s})}function Ft(r){let t=`${a(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),n(t,r)}function Ht(r){let t=`${a(r)}/community/groups/${r.id}/protect`;return n(t,r)}function Jt(r){let t=`${a(r)}/community/groups/${r.id}/unprotect`;return n(t,r)}function Kt(r){let t=`${a(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return n(t,e)}function Ot(r){return $(r,"group")}function qt(r){return $(r,"groupContent")}function oe(r){let t=`${a(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),n(t,r)}function S(r){let t=`${a(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,n(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=`${a(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return n(t,e)}async function Le(r){let t=await r.authentication.getUsername(),e=M(r,t);return A(r,t)?B(e,r):G(r).then(o=>{if(o)return B(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function B(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),n(r,t)}function T(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return k(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function ao(r){return T(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}),v(r)]).then(([f,s,l])=>{let g=!!o;return c=f.role==="org_admin"&&!f.roleId,d=f.orgId!==s.orgId,V(f,g,l,c,s,r)}).then(f=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:l=>Promise.resolve(l)}]=f;return Promise.all(f.map(({promise:l})=>l)).then(()=>D(r,c,d)).then(l=>s(l))})}return D(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function V(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(C(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),C(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(C(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 D(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${a(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${a(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},n(m,r)}function C(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,f;if(c)e&&c.userMembership.memberType==="member"?(d=S({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let l=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:l})}).catch(()=>({notAdded:[t.username]})),f=s=>S({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),f=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=F({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(l=>{if(l.errors&&l.errors.length)throw l.errors[0];return l}).catch(()=>({notAdded:[t.username]})),f=l=>_({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>l)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:f}}function lo(r){return T(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([v(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,f=m.role==="org_admin"&&!m.roleId;if(!d&&!f&&["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 L(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function L(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${a(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${a(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},n(o,r)}function wo(r){return Q(null,r)}function Q(r,t){let e=r||"self",o=`${a(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return n(o,i)}export{a,u as b,W as c,Ur as d,jr as e,Cr as f,Rr as g,Dr as h,Y as i,Wr as j,nr as k,ar as l,ir as m,mr as n,Xr as o,Zr as p,E as q,tt as r,lr as s,dr as t,hr as u,x as v,k as w,_ as x,Ft as y,Ht as z,Jt as A,Kt as B,Ot as C,qt as D,oe as E,I as F,Le as G,ao as H,lo as I,wo as J,Q as K,xr as L};
@@ -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.20250811 */
4
- import{a}from"./SD2CLQWR.js";import{a as l,b as r}from"./PHJF3WTM.js";import"./KJEZ63MM.js";import"./LKQE3JX7.js";import{d as i}from"./PMMQB3WH.js";import"./4B5UZHGF.js";import"./3FBYTHDB.js";import"./CGC5HVLI.js";import"./ELWIFWTO.js";import{a as t}from"./LG5UWDJZ.js";import"./ULGNQG43.js";import"./RQHAO57B.js";import"./GU74TCNP.js";import"./4GN7SIYX.js";import"./MQBQ5D5G.js";import"./NUWXRXBH.js";import"./QFZD7GCJ.js";import"./3RYCYG6M.js";import"./IMFSUJYA.js";import"./R6NWJH2T.js";import"./7WGHDJ4F.js";import"./TZD5MGUT.js";import"./XKB4YYB6.js";import"./WYVS67DX.js";import"./BBWZXQIW.js";import"./ZBIVULLU.js";import"./VEFFB5HW.js";import"./F527WKRH.js";import"./25BPRYOW.js";import"./VAQT7ARN.js";import"./GBVJR7G4.js";import"./N7CCSN2V.js";import"./D5LUMTLN.js";var u=async(e,s,o)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.status.label`,scope:"/properties/status",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await l(s.location,o.hubRequestOptions),options:await r(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:a(o.currentUser.groups),disabled:!i("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]});export{u as buildUiSchema};
3
+ v1.1.0-next.20250812 */
4
+ import{a}from"./7R37WICF.js";import{a as l,b as r}from"./MHQCPSLE.js";import"./AQMF7NA2.js";import"./DYYDQJ3C.js";import{d as i}from"./XIHWGWOZ.js";import"./AXUX37GT.js";import"./6K4LQMAX.js";import"./HMNRBKGU.js";import"./WD5PKUU3.js";import{a as t}from"./S6RJHHML.js";import"./34UNGHTX.js";import"./32VJQFM7.js";import"./FBYQBRBZ.js";import"./YYNOCEWC.js";import"./3GPBADMZ.js";import"./SV2EP4JK.js";import"./TP3Q4JTG.js";import"./MXAI3H2Y.js";import"./IQJONGSP.js";import"./NACVBQNC.js";import"./PTSO747J.js";import"./KAR4LTJL.js";import"./SPFFRGBK.js";import"./XRX2HXXR.js";import"./YETOFDZ6.js";import"./2YT2RFVI.js";import"./ZZYWNVZZ.js";import"./3EHO5HEG.js";import"./OUK52IIO.js";import"./OBWKJWXC.js";import"./SPF74Q42.js";import"./6IJOFEAH.js";import"./2BXUT6DX.js";var u=async(e,s,o)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.status.label`,scope:"/properties/status",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await l(s.location,o.hubRequestOptions),options:await r(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:a(o.currentUser.groups),disabled:!i("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]});export{u as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250811 */
4
- import{a as P}from"./3GPCAH34.js";import{H as g,J as m,K as d,L as I,_b as F,ac as y,bc as v,cc as R,dc as w,e as n,ec as T,mb as b,pa as S}from"./G5PJOI2S.js";import{b as o,h as _}from"./LLHTR24H.js";var u={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},f=class{constructor(){this._hasChanges=!1,this._store=P({...u})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(a){let e=this._store.get("solutionData").templates,t;return e.some(s=>a==s.itemId?(t=s,!0):!1),t||void 0}getStoreInfo(a){return this._store.get(a)}async loadSolution(a,e){this._authentication=e;let t=await S(a,e);if(t){let s=m(t,"params.wkid.default","");await this._prepareSolutionItemsForEditing(a,t.templates,e);let r=this._getFeatureServices(t.templates),i=this._getSpatialReferenceInfo(r,s);this._store.set("solutionItemId",a),this._store.set("defaultWkid",s),this._store.set("solutionData",t),this._store.set("featureServices",r),this._store.set("spatialReferenceInfo",i)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(a){a.resourceFilePaths.forEach(e=>{e.type===n.Thumbnail&&(e.updateType===o.None?e.updateType=o.Remove:(e.updateType===o.Add||e.updateType===o.Update)&&(e.updateType=o.Obsolete))}),a.resourceFilePaths=a.resourceFilePaths.filter(e=>e.updateType!=o.Obsolete),a.resourceFilePaths.push({blob:a.thumbnail,filename:a.thumbnail.name,type:n.Thumbnail,updateType:o.Add}),this.setItemInfo(a)}async saveSolution(){let a=this._store.get("solutionItemId"),e=this._store.get("solutionData"),t=this._store.get("spatialReferenceInfo"),s=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(a,e.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(s,e.templates),t.enabled){let r={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};t.default&&(r.default=t.default),d(e,"params.wkid",r)}else d(e,"params.wkid",{});await b({id:a,text:e},this._authentication)}setItemInfo(a){let e=this._store.get("solutionData");e.templates.some(t=>a.itemId==t.itemId?(t=a,this._store.set("solutionData",e),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(a,e){this._store.set(a,e),this._flagStoreHasChanges(!0)}_testAccess(a,e,t,s){switch(a){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(e);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(e,t);case"_getResourceFilePaths":return this._getResourceFilePaths(e,t,s);case"_getResourceStorageName":return this._getResourceStorageName(e,t);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(e,t);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(e,t,s);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(e,t,s);case"_splitFilename":return this._splitFilename(e);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(e,t)}return null}_emptyTheStore(){this._store.set("solutionItemId",u.solutionItemId),this._store.set("defaultWkid",u.defaultWkid),this._store.set("solutionData",u.solutionData),this._store.set("templateEdits",u.templateEdits),this._store.set("featureServices",u.featureServices),this._store.set("spatialReferenceInfo",u.spatialReferenceInfo)}_flagStoreHasChanges(a){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:a,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=a}_getCustomizableFeatureServices(a){return a.reduce((e,t)=>(t.type==="Feature Service"&&(t?.item?.typeKeywords||[]).indexOf("View Service")<0&&e.push(t),e),[])}_getFeatureServices(a){return this._getCustomizableFeatureServices(a).map(e=>{let t=e.item.title||e.item.name,s=g(e,"properties.service.spatialReference.wkid");return{id:e.itemId,name:t,enabled:s.toString().startsWith(_),wkid:s}})}_getItemsSharedWithThisGroup(a,e){return e.reduce((t,s)=>(s.itemId!==a.itemId&&s.type!=="Group"&&t.push({id:s.itemId,title:s.item.name||s.item.title,isShared:(s.groups||[]).indexOf(a.itemId)>-1,shareItem:(s.groups||[]).indexOf(a.itemId)>-1,type:s.type,typeKeywords:s.item.typeKeywords}),t),[])}_getResourceFilePaths(a,e,t){return y(t,a,e.resources,1).map(s=>(s.updateType=o.None,s))}_getResourceStorageName(a,e){let t=a;switch(e.type){case n.Data:t=`${t}_info_data`;break;case n.Info:t=`${t}_info`;break;case n.Metadata:t=`${t}_info_metadata`;break;case n.Resource:break;case n.Thumbnail:t=`${t}_info_thumbnail`;break}let s=e.filename;e.type==n.Data&&s&&!v(s)&&(s=s+".zip",t+="z");let r=e.folder?e.folder+"/"+s:s;return t+"/"+r}_getSpatialReferenceInfo(a,e){let t={};a.forEach(r=>{t[r.name]=r.enabled});let s={enabled:!1,services:t};return e&&(s.default=e),s}async _prepareSolutionItemsForEditing(a,e,t){let s=[];e.forEach(i=>{i.resourceFilePaths=this._getResourceFilePaths(a,i,t.portal),s.push(i.resourceFilePaths.length>0?R(t,i.resourceFilePaths):Promise.resolve()),i.groupDetails=i.type==="Group"?this._getItemsSharedWithThisGroup(i,e):[]});let r=await Promise.all(s);return e.forEach((i,l)=>{i.thumbnail=r[l]?r[l]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(a,e,t){let s=[],r=[];return e.forEach(i=>{i.resourceFilePaths.forEach(async l=>{let p=this._getResourceStorageName(i.itemId,l);switch(l.updateType){case o.Add:let{prefix:k,suffix:E}=this._splitFilename(p);i.resources.push(p),s.push({itemId:i.itemId,file:l.blob,folder:k,filename:E});break;case o.Update:r.push(new Promise(async h=>{try{await T(a,p,l.blob,t)}catch(c){console.log("Unable to update "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break;case o.Remove:r.push(new Promise(async h=>{try{await w(a,p,t),i.resources=i.resources.filter(c=>c!==p)}catch(c){console.log("Unable to remove "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break}return Promise.resolve()}),delete i.thumbnail,delete i.groupDetails}),Promise.all(r).then(async()=>(s.length>0&&await F(s,a,t),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(a,e){let t=this._getCustomizableFeatureServices(e);t.forEach(s=>{let r=a.find(i=>i.id===s.itemId);if(r){let i=m(s,"properties.service.spatialReference",{});i.wkid=r.wkid,r.enabled&&i.latestWkid&&delete i.latestWkid,I(s,"properties.service.spatialReference",i)}}),e.forEach(s=>{let r=t.find(i=>i.itemId===s.itemId);if(r){s.properties.service.spatialReference={...r.properties.service.spatialReference};let i=Number.parseInt(s.properties.service.spatialReference.wkid);Number.isNaN(i)||(s.properties.service.spatialReference.wkid=i)}})}_splitFilename(a){let e=a.split("/");return{prefix:e.length>1?e.slice(0,e.length-1).join("/"):void 0,suffix:e[e.length-1]}}},O=f.Store;export{O as a};
3
+ v1.1.0-next.20250812 */
4
+ import{a as P}from"./VGRCZ36H.js";import{H as g,J as m,K as d,L as I,_b as F,ac as y,bc as v,cc as R,dc as w,e as n,ec as T,mb as b,pa as S}from"./7S2YYGKB.js";import{b as o,h as _}from"./MKDZNMY7.js";var u={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},f=class{constructor(){this._hasChanges=!1,this._store=P({...u})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(a){let e=this._store.get("solutionData").templates,t;return e.some(s=>a==s.itemId?(t=s,!0):!1),t||void 0}getStoreInfo(a){return this._store.get(a)}async loadSolution(a,e){this._authentication=e;let t=await S(a,e);if(t){let s=m(t,"params.wkid.default","");await this._prepareSolutionItemsForEditing(a,t.templates,e);let r=this._getFeatureServices(t.templates),i=this._getSpatialReferenceInfo(r,s);this._store.set("solutionItemId",a),this._store.set("defaultWkid",s),this._store.set("solutionData",t),this._store.set("featureServices",r),this._store.set("spatialReferenceInfo",i)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(a){a.resourceFilePaths.forEach(e=>{e.type===n.Thumbnail&&(e.updateType===o.None?e.updateType=o.Remove:(e.updateType===o.Add||e.updateType===o.Update)&&(e.updateType=o.Obsolete))}),a.resourceFilePaths=a.resourceFilePaths.filter(e=>e.updateType!=o.Obsolete),a.resourceFilePaths.push({blob:a.thumbnail,filename:a.thumbnail.name,type:n.Thumbnail,updateType:o.Add}),this.setItemInfo(a)}async saveSolution(){let a=this._store.get("solutionItemId"),e=this._store.get("solutionData"),t=this._store.get("spatialReferenceInfo"),s=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(a,e.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(s,e.templates),t.enabled){let r={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};t.default&&(r.default=t.default),d(e,"params.wkid",r)}else d(e,"params.wkid",{});await b({id:a,text:e},this._authentication)}setItemInfo(a){let e=this._store.get("solutionData");e.templates.some(t=>a.itemId==t.itemId?(t=a,this._store.set("solutionData",e),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(a,e){this._store.set(a,e),this._flagStoreHasChanges(!0)}_testAccess(a,e,t,s){switch(a){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(e);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(e,t);case"_getResourceFilePaths":return this._getResourceFilePaths(e,t,s);case"_getResourceStorageName":return this._getResourceStorageName(e,t);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(e,t);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(e,t,s);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(e,t,s);case"_splitFilename":return this._splitFilename(e);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(e,t)}return null}_emptyTheStore(){this._store.set("solutionItemId",u.solutionItemId),this._store.set("defaultWkid",u.defaultWkid),this._store.set("solutionData",u.solutionData),this._store.set("templateEdits",u.templateEdits),this._store.set("featureServices",u.featureServices),this._store.set("spatialReferenceInfo",u.spatialReferenceInfo)}_flagStoreHasChanges(a){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:a,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=a}_getCustomizableFeatureServices(a){return a.reduce((e,t)=>(t.type==="Feature Service"&&(t?.item?.typeKeywords||[]).indexOf("View Service")<0&&e.push(t),e),[])}_getFeatureServices(a){return this._getCustomizableFeatureServices(a).map(e=>{let t=e.item.title||e.item.name,s=g(e,"properties.service.spatialReference.wkid");return{id:e.itemId,name:t,enabled:s.toString().startsWith(_),wkid:s}})}_getItemsSharedWithThisGroup(a,e){return e.reduce((t,s)=>(s.itemId!==a.itemId&&s.type!=="Group"&&t.push({id:s.itemId,title:s.item.name||s.item.title,isShared:(s.groups||[]).indexOf(a.itemId)>-1,shareItem:(s.groups||[]).indexOf(a.itemId)>-1,type:s.type,typeKeywords:s.item.typeKeywords}),t),[])}_getResourceFilePaths(a,e,t){return y(t,a,e.resources,1).map(s=>(s.updateType=o.None,s))}_getResourceStorageName(a,e){let t=a;switch(e.type){case n.Data:t=`${t}_info_data`;break;case n.Info:t=`${t}_info`;break;case n.Metadata:t=`${t}_info_metadata`;break;case n.Resource:break;case n.Thumbnail:t=`${t}_info_thumbnail`;break}let s=e.filename;e.type==n.Data&&s&&!v(s)&&(s=s+".zip",t+="z");let r=e.folder?e.folder+"/"+s:s;return t+"/"+r}_getSpatialReferenceInfo(a,e){let t={};a.forEach(r=>{t[r.name]=r.enabled});let s={enabled:!1,services:t};return e&&(s.default=e),s}async _prepareSolutionItemsForEditing(a,e,t){let s=[];e.forEach(i=>{i.resourceFilePaths=this._getResourceFilePaths(a,i,t.portal),s.push(i.resourceFilePaths.length>0?R(t,i.resourceFilePaths):Promise.resolve()),i.groupDetails=i.type==="Group"?this._getItemsSharedWithThisGroup(i,e):[]});let r=await Promise.all(s);return e.forEach((i,l)=>{i.thumbnail=r[l]?r[l]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(a,e,t){let s=[],r=[];return e.forEach(i=>{i.resourceFilePaths.forEach(async l=>{let p=this._getResourceStorageName(i.itemId,l);switch(l.updateType){case o.Add:let{prefix:k,suffix:E}=this._splitFilename(p);i.resources.push(p),s.push({itemId:i.itemId,file:l.blob,folder:k,filename:E});break;case o.Update:r.push(new Promise(async h=>{try{await T(a,p,l.blob,t)}catch(c){console.log("Unable to update "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break;case o.Remove:r.push(new Promise(async h=>{try{await w(a,p,t),i.resources=i.resources.filter(c=>c!==p)}catch(c){console.log("Unable to remove "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break}return Promise.resolve()}),delete i.thumbnail,delete i.groupDetails}),Promise.all(r).then(async()=>(s.length>0&&await F(s,a,t),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(a,e){let t=this._getCustomizableFeatureServices(e);t.forEach(s=>{let r=a.find(i=>i.id===s.itemId);if(r){let i=m(s,"properties.service.spatialReference",{});i.wkid=r.wkid,r.enabled&&i.latestWkid&&delete i.latestWkid,I(s,"properties.service.spatialReference",i)}}),e.forEach(s=>{let r=t.find(i=>i.itemId===s.itemId);if(r){s.properties.service.spatialReference={...r.properties.service.spatialReference};let i=Number.parseInt(s.properties.service.spatialReference.wkid);Number.isNaN(i)||(s.properties.service.spatialReference.wkid=i)}})}_splitFilename(a){let e=a.split("/");return{prefix:e.length>1?e.slice(0,e.length-1).join("/"):void 0,suffix:e[e.length-1]}}},O=f.Store;export{O as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250811 */
4
- import{a,b}from"./GU74TCNP.js";import"./VAQT7ARN.js";import"./GBVJR7G4.js";import"./N7CCSN2V.js";import"./D5LUMTLN.js";export{a as PageEditorTypes,b as PageSchema};
3
+ v1.1.0-next.20250812 */
4
+ import{a,b}from"./FBYQBRBZ.js";import"./OBWKJWXC.js";import"./SPF74Q42.js";import"./6IJOFEAH.js";import"./2BXUT6DX.js";export{a as PageEditorTypes,b as PageSchema};
@@ -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.20250811 */
3
+ v1.1.0-next.20250812 */
4
4
  function r(o){return o.reduce((n,e)=>{var i;let t=e.capabilities.includes("updateitemcontrol"),a=(i=e.userMembership)===null||i===void 0?void 0:i.memberType;return(!e.isViewOnly||e.isViewOnly&&["owner","admin"].includes(a))&&n.push({value:e.id,label:e.title,icon:t?"unlock":"view-mixed"}),n},[])}export{r as a};