@esri/solutions-components 1.2.0-next.20 → 1.2.0-next.22

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 (483) hide show
  1. package/dist/cdn/{I3DKKF5F.js → 2J76TI3Y.js} +1 -1
  2. package/dist/cdn/{XIEML7FT.js → 2LAEPCUT.js} +2 -2
  3. package/dist/cdn/{C6F4HO5U.js → 2NGTPAY6.js} +1 -1
  4. package/dist/cdn/{VIKALXXD.js → 3BA4TVKZ.js} +1 -1
  5. package/dist/cdn/{A7TYO73E.js → 3BSOZ44L.js} +2 -2
  6. package/dist/cdn/{ZIAGI22J.js → 3DII42GS.js} +2 -2
  7. package/dist/cdn/{UWAVF2GP.js → 3E5MUBDX.js} +2 -2
  8. package/dist/cdn/{WJAN6LLL.js → 3U6NZ374.js} +2 -2
  9. package/dist/cdn/{JE7GMEC2.js → 3WSM6NO6.js} +2 -2
  10. package/dist/cdn/43XU6K7E.js +18 -0
  11. package/dist/cdn/{3XMYR6AO.js → 47BR2SZD.js} +2 -2
  12. package/dist/cdn/{X7HNESXH.js → 4DVTM7ED.js} +2 -2
  13. package/dist/cdn/{ZFZ663TV.js → 4KD2CAOM.js} +1 -1
  14. package/dist/cdn/{6VXUORBY.js → 4N6YXJN2.js} +2 -2
  15. package/dist/cdn/{YKPVSW3B.js → 4NKIAU37.js} +2 -2
  16. package/dist/cdn/{NMG2ID6N.js → 4QQCA3U4.js} +1 -1
  17. package/dist/cdn/{KYROOFA3.js → 4T5OFFVJ.js} +2 -2
  18. package/dist/cdn/{5JWBQM5X.js → 4Z3G2C6M.js} +2 -2
  19. package/dist/cdn/{ZF2XHMQZ.js → 56MNA2VS.js} +1 -1
  20. package/dist/cdn/57N3RILQ.js +18 -0
  21. package/dist/cdn/{3J6DNKCB.js → 57YR4QF4.js} +2 -2
  22. package/dist/cdn/{T47XNO3L.js → 5A4CLVYZ.js} +1 -1
  23. package/dist/cdn/{P3BJE2HN.js → 5AFTWETY.js} +2 -2
  24. package/dist/cdn/{FF3XYEI3.js → 5GXSDMY4.js} +2 -2
  25. package/dist/cdn/{OK6VX227.js → 5IGBKFAS.js} +2 -2
  26. package/dist/cdn/{L5IXOZ6K.js → 5IGSIDCX.js} +2 -2
  27. package/dist/cdn/{UMFU7KU2.js → 5ISMY7M2.js} +2 -2
  28. package/dist/cdn/{YWYPENHD.js → 5NCBUEPR.js} +2 -2
  29. package/dist/cdn/{ZV5K3H2V.js → 5ON45F2D.js} +2 -2
  30. package/dist/cdn/{2KGL2KRL.js → 5UBEIDUY.js} +2 -2
  31. package/dist/cdn/{DGGOQ3L4.js → 5WF2EVNT.js} +1 -1
  32. package/dist/cdn/{VCA7V37B.js → 5WJ4J535.js} +2 -2
  33. package/dist/cdn/{ALEZMHWP.js → 5Y7G2BLZ.js} +2 -2
  34. package/dist/cdn/{NPAJ34CV.js → 63KS5ZBF.js} +2 -2
  35. package/dist/cdn/{MQUYDV5R.js → 67YVVSND.js} +1 -1
  36. package/dist/cdn/{ERJ3FGFF.js → 6GY47336.js} +2 -2
  37. package/dist/cdn/{VP76CX4U.js → 6IJ2366S.js} +2 -2
  38. package/dist/cdn/{WBZEJCYL.js → 6KLNSSNI.js} +2 -2
  39. package/dist/cdn/{2E2FE2UD.js → 6MLPFUBD.js} +1 -1
  40. package/dist/cdn/{L5L3D2MP.js → 6QELS3Z2.js} +2 -2
  41. package/dist/cdn/{5FQDPXO7.js → 6SZHNYTZ.js} +2 -2
  42. package/dist/cdn/{VZ2AGJN5.js → 6XC45ETQ.js} +2 -2
  43. package/dist/cdn/{CRA26J6U.js → 6ZQWYLNF.js} +2 -2
  44. package/dist/cdn/{RJBUFP4Z.js → 76CP2OWS.js} +1 -1
  45. package/dist/cdn/{KCUSGNOT.js → 7AMGNCI5.js} +2 -2
  46. package/dist/cdn/{KHN6DAWC.js → 7BZRS3T5.js} +1 -1
  47. package/dist/cdn/{JWKBLBHU.js → 7I6EJ6DQ.js} +2 -2
  48. package/dist/cdn/{BYHVLFM4.js → 7KWP5FHY.js} +2 -2
  49. package/dist/cdn/{5BCHBBEG.js → 7NF4C7Q6.js} +2 -2
  50. package/dist/cdn/7NGOIUPA.js +4 -0
  51. package/dist/cdn/{OL22QE26.js → 7OQQQ7DH.js} +2 -2
  52. package/dist/cdn/{MPEIFNG5.js → 7P2XP63S.js} +3 -3
  53. package/dist/cdn/{5Q45QLUW.js → 7RDNACQ2.js} +2 -2
  54. package/dist/cdn/{QEIXC65L.js → 7S22H73A.js} +2 -2
  55. package/dist/cdn/{CVPWFU5K.js → 7V4NDZHP.js} +2 -2
  56. package/dist/cdn/{XHXMDQDA.js → 7ZG66OFU.js} +1 -1
  57. package/dist/cdn/{GMXSVE5F.js → A3JNJEXJ.js} +1 -1
  58. package/dist/cdn/{WX6CMXEK.js → A3RFYTTG.js} +1 -1
  59. package/dist/cdn/{LLCAUOLE.js → A4LF2IU3.js} +2 -2
  60. package/dist/cdn/{VRYNGE64.js → ABU7II4P.js} +1 -1
  61. package/dist/cdn/{UNXBX2LJ.js → ALPEUENN.js} +2 -2
  62. package/dist/cdn/{OKERLMQE.js → ALSPCWO6.js} +2 -2
  63. package/dist/cdn/{Q5CNUDGT.js → AMEG6Y2U.js} +2 -2
  64. package/dist/cdn/{5CLHQWXO.js → ANBPB5IE.js} +2 -2
  65. package/dist/cdn/{TJBM3R6U.js → AOTY27J7.js} +2 -2
  66. package/dist/cdn/{GUBSZEOJ.js → ASZKILYC.js} +2 -2
  67. package/dist/cdn/{CNQYI77D.js → ATV7OCMV.js} +2 -2
  68. package/dist/cdn/{PSMIHRUH.js → AWZQ2TRC.js} +2 -2
  69. package/dist/cdn/{I5BUX6M6.js → AZBT7TRF.js} +2 -2
  70. package/dist/cdn/{WOC7MJRV.js → AZERSVAV.js} +2 -2
  71. package/dist/cdn/{I7DFBRAW.js → AZLSPTNN.js} +2 -2
  72. package/dist/cdn/B5FNHYSZ.js +18 -0
  73. package/dist/cdn/{CP4KQ5JU.js → BDGTGDFW.js} +2 -2
  74. package/dist/cdn/{PTF4V2H4.js → BDT5NRCH.js} +2 -2
  75. package/dist/cdn/{K5R7D36H.js → BDZD3CVH.js} +2 -2
  76. package/dist/cdn/{5Y5WZKXD.js → BIDEU7W3.js} +2 -2
  77. package/dist/cdn/{A2NUNLI7.js → BL7OQNJS.js} +2 -2
  78. package/dist/cdn/{YLYRRWJW.js → BOSFQLI6.js} +2 -2
  79. package/dist/cdn/{SRGIOXPX.js → BQG6YY27.js} +2 -2
  80. package/dist/cdn/BRKMDWXS.js +18 -0
  81. package/dist/cdn/{RT3O7MJA.js → BRZXGWDB.js} +3 -3
  82. package/dist/cdn/{AUEIJUOE.js → BSE6M452.js} +2 -2
  83. package/dist/cdn/{NOPHLD4K.js → BSVWOZY5.js} +2 -2
  84. package/dist/cdn/{HVJNKZ76.js → BWBSEHRI.js} +2 -2
  85. package/dist/cdn/{7GMOCOVS.js → BZJ6ESSC.js} +2 -2
  86. package/dist/cdn/{QFJYWPYF.js → BZNPKPP7.js} +2 -2
  87. package/dist/cdn/{Q62F7PR4.js → C2LPPIYP.js} +2 -2
  88. package/dist/cdn/{NPOGRCJT.js → CEJRXTAP.js} +2 -2
  89. package/dist/cdn/{24NXLO23.js → CIIVSICU.js} +2 -2
  90. package/dist/cdn/{RLZYJMK2.js → CJZQ6JFL.js} +2 -2
  91. package/dist/cdn/{44X6QKRO.js → COKCSW5M.js} +2 -2
  92. package/dist/cdn/{LHSOZNOH.js → CVDMNQMG.js} +2 -2
  93. package/dist/cdn/{DZVV6CD7.js → D64YWVBM.js} +2 -2
  94. package/dist/cdn/{T6EN2LQT.js → D7WRWG4G.js} +2 -2
  95. package/dist/cdn/{TXQG7PH5.js → DCNCQVZU.js} +2 -2
  96. package/dist/cdn/{LEJ63S6Y.js → DGD6AY26.js} +2 -2
  97. package/dist/cdn/{VLVHNMFY.js → DI7ZAJJN.js} +2 -2
  98. package/dist/cdn/{VHUKKY5C.js → DJOW4VU6.js} +2 -2
  99. package/dist/cdn/{LCJL63FQ.js → DKO57ZWW.js} +2 -2
  100. package/dist/cdn/{IP5RAZNL.js → DLFCYL32.js} +2 -2
  101. package/dist/cdn/{OJYHZLP5.js → DNJTQZGW.js} +2 -2
  102. package/dist/cdn/{OPR2BXKC.js → DPUIBCUX.js} +2 -2
  103. package/dist/cdn/{RFFJFE4V.js → DSWZRGSA.js} +2 -2
  104. package/dist/cdn/{3RRAETYC.js → DTGCP5A5.js} +2 -2
  105. package/dist/cdn/{3JEP4BL5.js → DTITQ4KX.js} +1 -1
  106. package/dist/cdn/{VZ4GI3Y5.js → E36E5442.js} +2 -2
  107. package/dist/cdn/{PNIMBHES.js → EFY33UCE.js} +2 -2
  108. package/dist/cdn/{NF4TQGZG.js → EGOO6T5E.js} +2 -2
  109. package/dist/cdn/{HETCA2TC.js → EKAMOWDX.js} +2 -2
  110. package/dist/cdn/{2LPVFJKJ.js → EMCKMG77.js} +2 -2
  111. package/dist/cdn/{7L3YSULP.js → ENZNXZL6.js} +2 -2
  112. package/dist/cdn/{CL2HUELG.js → EQVOII7W.js} +2 -2
  113. package/dist/cdn/{E3DHDSJM.js → ETBLUH5E.js} +2 -2
  114. package/dist/cdn/{7B2JUGRA.js → EU3IQK3Z.js} +2 -2
  115. package/dist/cdn/{4KVLYOZL.js → EZQK7BI4.js} +1 -1
  116. package/dist/cdn/{2I5JVFLV.js → FBBVBR5A.js} +2 -2
  117. package/dist/cdn/{ST3O4SWS.js → FIFGGEED.js} +2 -2
  118. package/dist/cdn/{UEBQNKZH.js → FLZL5MYI.js} +2 -2
  119. package/dist/cdn/{62MLOWEA.js → FNWAWKAT.js} +2 -2
  120. package/dist/cdn/{TS3DBIH4.js → FOBH7PYG.js} +2 -2
  121. package/dist/cdn/{QU42CF6F.js → FWGNWNBB.js} +2 -2
  122. package/dist/cdn/{ZUQRVCPO.js → FWSZLG4E.js} +2 -2
  123. package/dist/cdn/{MQ6QXIYX.js → FXUF5PDO.js} +2 -2
  124. package/dist/cdn/{DOFGLV3C.js → G36XD6KA.js} +2 -2
  125. package/dist/cdn/{7QNFIYHN.js → G6R3KQSS.js} +2 -2
  126. package/dist/cdn/{6TJU76R3.js → GBRE25RH.js} +1 -1
  127. package/dist/cdn/{YIXPGCUC.js → GG6OEQ4D.js} +2 -2
  128. package/dist/cdn/{5UKVAD54.js → GHAVCIL3.js} +2 -2
  129. package/dist/cdn/{4L4Y76VM.js → GIX2IW6Y.js} +2 -2
  130. package/dist/cdn/{XX4ZM5IC.js → GMMRDHZU.js} +2 -2
  131. package/dist/cdn/{5UFQVWVZ.js → GTCHPWOM.js} +2 -2
  132. package/dist/cdn/{2ALMQ2ZF.js → H7C3BRTP.js} +2 -2
  133. package/dist/cdn/{NQP4W34S.js → HB3S47XT.js} +2 -2
  134. package/dist/cdn/{6WZU5A27.js → HDHV7JZB.js} +2 -2
  135. package/dist/cdn/{UNXJMJFU.js → HUSG6A7E.js} +2 -2
  136. package/dist/cdn/{ABVF5BMO.js → HWECP5SJ.js} +2 -2
  137. package/dist/cdn/{VKQSUS2D.js → HX7JRDBY.js} +2 -2
  138. package/dist/cdn/{I7PYIEVL.js → HYKIFANV.js} +2 -2
  139. package/dist/cdn/{6HKQWPJC.js → HZAZFSYY.js} +2 -2
  140. package/dist/cdn/{AKYZ7MV4.js → I3MJVYAU.js} +2 -2
  141. package/dist/cdn/{A4BQL2K3.js → I6OCOHZ5.js} +2 -2
  142. package/dist/cdn/{I4PXPOT7.js → I7NZK7VA.js} +2 -2
  143. package/dist/cdn/{2A43GCOV.js → ICZLPAYA.js} +2 -2
  144. package/dist/cdn/{V272SPSH.js → IDFQGGDV.js} +1 -1
  145. package/dist/cdn/{7CGF4Q2X.js → IDY2HCL4.js} +2 -2
  146. package/dist/cdn/{C2NWD2IM.js → IGP55N3J.js} +2 -2
  147. package/dist/cdn/{GKEQBFSS.js → IKXRXOR4.js} +2 -2
  148. package/dist/cdn/IRMKTEGT.js +18 -0
  149. package/dist/cdn/{BHQ5RFLI.js → IRZC2FGR.js} +2 -2
  150. package/dist/cdn/{KI2VCUWI.js → ISSOGJCD.js} +2 -2
  151. package/dist/cdn/{Z3JRVSB5.js → ITEAXFL7.js} +2 -2
  152. package/dist/cdn/IVZFPQHF.js +4 -0
  153. package/dist/cdn/{GEUPVEDN.js → IX5DZANU.js} +2 -2
  154. package/dist/cdn/{5RB6LGBC.js → J5WQSJRQ.js} +2 -2
  155. package/dist/cdn/{KWTHKTQ3.js → J6I4CQUW.js} +2 -2
  156. package/dist/cdn/{DZPWOUEC.js → J6QQCPG3.js} +2 -2
  157. package/dist/cdn/{67PFFTBT.js → J7WGRAVD.js} +2 -2
  158. package/dist/cdn/{WO3K4V6S.js → JDGP7IH2.js} +2 -2
  159. package/dist/cdn/{PXQKI3CA.js → JDXOSH6W.js} +2 -2
  160. package/dist/cdn/{SKNE6RLM.js → JFWEV72O.js} +2 -2
  161. package/dist/cdn/{C3XGN444.js → JJMULAR6.js} +1 -1
  162. package/dist/cdn/{4W4KYXC7.js → JLFACBAC.js} +2 -2
  163. package/dist/cdn/{YESTJISJ.js → JOGLZRNT.js} +2 -2
  164. package/dist/cdn/{BP2CHTVW.js → JP2DX62F.js} +2 -2
  165. package/dist/cdn/{QFF7V4PQ.js → JRQYZJIL.js} +2 -2
  166. package/dist/cdn/{3SE34IUW.js → JRS2R7FM.js} +2 -2
  167. package/dist/cdn/{CDI76SS4.js → JUJMZFNA.js} +2 -2
  168. package/dist/cdn/{RYLMXGYK.js → K3B77KNR.js} +1 -1
  169. package/dist/cdn/{2CK7SB3E.js → K3I6QOKJ.js} +2 -2
  170. package/dist/cdn/{GKZFHOW2.js → K4OCUFNZ.js} +2 -2
  171. package/dist/cdn/{EJ6BXACD.js → K5E7SDHF.js} +2 -2
  172. package/dist/cdn/{J6IBYFB7.js → K6P572FU.js} +2 -2
  173. package/dist/cdn/{TZ4JYL26.js → K7EO7SCJ.js} +2 -2
  174. package/dist/cdn/{F3N33DMK.js → K7GBK475.js} +1 -1
  175. package/dist/cdn/{IXDDY2QM.js → KMFXZ7E6.js} +2 -2
  176. package/dist/cdn/{LEMWW4ED.js → KQEG2VSM.js} +1 -1
  177. package/dist/cdn/{WS4XMXPD.js → KRDDFDOO.js} +1 -1
  178. package/dist/cdn/{M7J53CH4.js → KU4LDDKR.js} +2 -2
  179. package/dist/cdn/{YKBX525C.js → KVWUHT6P.js} +2 -2
  180. package/dist/cdn/{OUD44QTO.js → KXZIEXP4.js} +2 -2
  181. package/dist/cdn/{D7VLL243.js → KYBUZUQT.js} +2 -2
  182. package/dist/cdn/{EM3ALNIJ.js → LJQD3F2H.js} +2 -2
  183. package/dist/cdn/{PFGY7OJD.js → LKPIRCG4.js} +1 -1
  184. package/dist/cdn/{3JTKRUV2.js → LMICKMZD.js} +2 -2
  185. package/dist/cdn/{KVXQDAG4.js → LOM2QEE7.js} +2 -2
  186. package/dist/cdn/{DMWBD2QY.js → LPRTYYSR.js} +2 -2
  187. package/dist/cdn/{QCFLEL57.js → LRRKW6H5.js} +2 -2
  188. package/dist/cdn/LSUPOGJI.js +18 -0
  189. package/dist/cdn/{B2WOMW43.js → LT3CRKFO.js} +2 -2
  190. package/dist/cdn/{WL5TY3AP.js → LVKU6CB5.js} +2 -2
  191. package/dist/cdn/{3SZISG5C.js → LY574EPN.js} +2 -2
  192. package/dist/cdn/{G2V4X4JH.js → M5L46EPB.js} +2 -2
  193. package/dist/cdn/{I6MYM6IJ.js → MBB7JMCL.js} +2 -2
  194. package/dist/cdn/{WXWPPR6B.js → ME7PTO3E.js} +2 -2
  195. package/dist/cdn/{WPRUSW2K.js → MHS63FKV.js} +2 -2
  196. package/dist/cdn/{7JBU7L6F.js → MIECMGBZ.js} +2 -2
  197. package/dist/cdn/{LSNSP3E4.js → MKN4Z56R.js} +2 -2
  198. package/dist/cdn/{ZE3EUHXG.js → MOV63G63.js} +2 -2
  199. package/dist/cdn/{W6PJINLH.js → MUW67XQT.js} +2 -2
  200. package/dist/cdn/{HWXHOMUP.js → N3SINIML.js} +2 -2
  201. package/dist/cdn/{ZFAAOHYX.js → NAWETRQ6.js} +2 -2
  202. package/dist/cdn/{EA2CRCAW.js → NAY26ZKT.js} +2 -2
  203. package/dist/cdn/{AFTQSX7I.js → NH67I2JP.js} +2 -2
  204. package/dist/cdn/{I3PEU4E4.js → NHC6L4QY.js} +2 -2
  205. package/dist/cdn/{C2HOCMY5.js → NK5RFP3X.js} +2 -2
  206. package/dist/cdn/{XYCXFP2Q.js → NPNHPZAS.js} +2 -2
  207. package/dist/cdn/{M67UKJWV.js → NTQTWQB6.js} +2 -2
  208. package/dist/cdn/{D6U22V3H.js → NVZ7ZC4O.js} +2 -2
  209. package/dist/cdn/{XOT6KGWE.js → O3BS4V4J.js} +2 -2
  210. package/dist/cdn/O7VEV6AV.js +4 -0
  211. package/dist/cdn/{5LCZHYVJ.js → O7W4WOJI.js} +2 -2
  212. package/dist/cdn/{C3V5DJBO.js → OA5YW6CR.js} +2 -2
  213. package/dist/cdn/{WGNE3DPP.js → OKHNCIUI.js} +2 -2
  214. package/dist/cdn/{73ILD7CJ.js → OQNBWIYI.js} +1 -1
  215. package/dist/cdn/{KM5ULZP3.js → ORFF3N7F.js} +2 -2
  216. package/dist/cdn/{Z56HKANV.js → OUIIIMBH.js} +2 -2
  217. package/dist/cdn/{RXAFOSW5.js → OYLG7NMH.js} +2 -2
  218. package/dist/cdn/{6JWFKDA2.js → P5L3Z4MM.js} +2 -2
  219. package/dist/cdn/{2AZTXL4Y.js → P5M23NUP.js} +2 -2
  220. package/dist/cdn/{OTUN2NKK.js → P7475IP6.js} +2 -2
  221. package/dist/cdn/{IW5AHPNH.js → PA4KJ3OT.js} +2 -2
  222. package/dist/cdn/{FDYQ2FKY.js → PEAGXXX7.js} +1 -1
  223. package/dist/cdn/{M2ZJDR4T.js → PEDZ3CZE.js} +2 -2
  224. package/dist/cdn/{HJMB6XLQ.js → PMAYORJM.js} +2 -2
  225. package/dist/cdn/{CCSUXK4Q.js → PQDXLQR7.js} +2 -2
  226. package/dist/cdn/{B53MK47Y.js → PRACR4OZ.js} +3 -3
  227. package/dist/cdn/{DTS4PRW6.js → PS2HCXPC.js} +2 -2
  228. package/dist/cdn/{T4BKHW4Q.js → PV2QCV7Z.js} +2 -2
  229. package/dist/cdn/{KHVQFIOO.js → QCJFS667.js} +2 -2
  230. package/dist/cdn/{LA57LCMB.js → QCXTCMEW.js} +2 -2
  231. package/dist/cdn/{7KMYAWJ5.js → QEMWXWF7.js} +2 -2
  232. package/dist/cdn/{X3CQIPF3.js → QEZQG4UJ.js} +2 -2
  233. package/dist/cdn/{KX5726AR.js → QJV2HXKI.js} +2 -2
  234. package/dist/cdn/QKCFMI7O.js +4 -0
  235. package/dist/cdn/{GLDIEU4P.js → QKKOOLCZ.js} +2 -2
  236. package/dist/cdn/{G7XF4ZJ4.js → QYW7MR6M.js} +2 -2
  237. package/dist/cdn/{FDRN4UNS.js → RAFE4Y2S.js} +2 -2
  238. package/dist/cdn/{XY6XTEZB.js → RBXB7VA5.js} +2 -2
  239. package/dist/cdn/{AHNRTMIR.js → RCYLKWSP.js} +2 -2
  240. package/dist/cdn/{DMHPJDKF.js → RDHTUBN7.js} +2 -2
  241. package/dist/cdn/{DPD4MWDN.js → RHCVCLZT.js} +2 -2
  242. package/dist/cdn/{XBNCRUBM.js → RHFWWEBY.js} +2 -2
  243. package/dist/cdn/{4KSQVRTW.js → RQLUKQEG.js} +2 -2
  244. package/dist/cdn/{HYVUWU6M.js → RRTLN7R4.js} +2 -2
  245. package/dist/cdn/{VX7VTV2U.js → RU6ANVFN.js} +2 -2
  246. package/dist/cdn/{LQHGJORU.js → RUT6CBUH.js} +1 -1
  247. package/dist/cdn/{SNAXFCRD.js → RWDN5N2Z.js} +2 -2
  248. package/dist/cdn/{KLYMYJXG.js → RZDW2F4Y.js} +2 -2
  249. package/dist/cdn/{A7N6WDBV.js → S44FPEJZ.js} +2 -2
  250. package/dist/cdn/{5K27OV6X.js → S7ZPZDLD.js} +2 -2
  251. package/dist/cdn/{PKJNXMVR.js → SCGPU45I.js} +1 -1
  252. package/dist/cdn/{S6R6G6MM.js → SDDG4ZNW.js} +1 -1
  253. package/dist/cdn/{3C4ETSRM.js → SF5F7OGC.js} +2 -2
  254. package/dist/cdn/{2R7AUPQI.js → SIGC4HV4.js} +1 -1
  255. package/dist/cdn/{NMIFRQTZ.js → SMH6JAXF.js} +2 -2
  256. package/dist/cdn/{J27HWMOU.js → SQWMQEXG.js} +2 -2
  257. package/dist/cdn/{SHFBCRKO.js → SSIC74L6.js} +2 -2
  258. package/dist/cdn/{6ZG44WOK.js → STRDFVCX.js} +2 -2
  259. package/dist/cdn/{YTTUHU2O.js → SVZ3OKM7.js} +2 -2
  260. package/dist/cdn/{6PHCJUDM.js → T7FLMBUP.js} +2 -2
  261. package/dist/cdn/{WPCGB26M.js → TAHGD2O4.js} +2 -2
  262. package/dist/cdn/{NL5HFA2J.js → TDOB3OYC.js} +2 -2
  263. package/dist/cdn/{D7VNUZC6.js → TFU6LP44.js} +2 -2
  264. package/dist/cdn/{SV5GS7VD.js → TIUHRZUS.js} +2 -2
  265. package/dist/cdn/{Z2XSUUH4.js → TIYTFD5S.js} +2 -2
  266. package/dist/cdn/{NFAELL2V.js → TJFMZ5AI.js} +2 -2
  267. package/dist/cdn/TNA4UKTA.js +4 -0
  268. package/dist/cdn/{VEILQFP2.js → TNLGNDJT.js} +2 -2
  269. package/dist/cdn/{5GMJ5YD4.js → TQQ5N2OO.js} +2 -2
  270. package/dist/cdn/TQUCYDON.js +4 -0
  271. package/dist/cdn/{KUAZYP5Z.js → TTI4XUEY.js} +2 -2
  272. package/dist/cdn/{4VB4MJKS.js → TTOAZGMT.js} +2 -2
  273. package/dist/cdn/{3UHWOBFU.js → TU2WGWTD.js} +2 -2
  274. package/dist/cdn/{BCVMTQ7X.js → TXCGA6H6.js} +2 -2
  275. package/dist/cdn/TYIKQWD7.js +18 -0
  276. package/dist/cdn/{5VCN4HJU.js → TYKGZHC7.js} +1 -1
  277. package/dist/cdn/{WX2Q5L3D.js → TZWUZYFQ.js} +2 -2
  278. package/dist/cdn/{Z2FUMODE.js → U5C4UNHM.js} +2 -2
  279. package/dist/cdn/{YRBA2ZGR.js → U6IOPARX.js} +2 -2
  280. package/dist/cdn/{ET53ODBH.js → UDOBEWPP.js} +2 -2
  281. package/dist/cdn/{4H5JZV3N.js → UENBDNEI.js} +1 -1
  282. package/dist/cdn/{YIFZSXOX.js → UEQV47GY.js} +2 -2
  283. package/dist/cdn/{Z2V2BGBO.js → UFVKB5BE.js} +2 -2
  284. package/dist/cdn/{X4HZQF3T.js → UHXHSSXB.js} +2 -2
  285. package/dist/cdn/{AWYWTRXR.js → UK3KUJMQ.js} +1 -1
  286. package/dist/cdn/{K2RFNUWO.js → UKS25OFJ.js} +2 -2
  287. package/dist/cdn/{CBW6ZCMO.js → ULCE466Z.js} +2 -2
  288. package/dist/cdn/{WTEOQ6IU.js → UWWHODFG.js} +2 -2
  289. package/dist/cdn/{HA4BRCZL.js → UX6HCXQS.js} +2 -2
  290. package/dist/cdn/{BZ4SCSVK.js → UZDUYYDY.js} +2 -2
  291. package/dist/cdn/V2SNCDR5.js +18 -0
  292. package/dist/cdn/{VMS64XK4.js → V2SZ77LE.js} +2 -2
  293. package/dist/cdn/{DEGZEHFA.js → V7HJUDXK.js} +2 -2
  294. package/dist/cdn/{IXMHUULQ.js → VJ3OBFSQ.js} +2 -2
  295. package/dist/cdn/{QTFLAIE5.js → VLKS5OXM.js} +2 -2
  296. package/dist/cdn/{4EKEBZDH.js → VMCWUHIT.js} +4 -4
  297. package/dist/cdn/VNWZKWFC.js +4 -0
  298. package/dist/cdn/{FJUDCABT.js → VRVJCGDV.js} +2 -2
  299. package/dist/cdn/{6TG2EO2Z.js → VRWUCH5D.js} +2 -2
  300. package/dist/cdn/VSJVIZGQ.js +63 -0
  301. package/dist/cdn/{LIXADYN2.js → VV26WPIK.js} +2 -2
  302. package/dist/cdn/{AMM6V7TB.js → VXLOZPRP.js} +2 -2
  303. package/dist/cdn/{IQ653RQE.js → VXMBJE2D.js} +2 -2
  304. package/dist/cdn/{7M2CWJFQ.js → VY3LCIKX.js} +2 -2
  305. package/dist/cdn/{CHWH5FGQ.js → W3D34FZA.js} +2 -2
  306. package/dist/cdn/{WEUFVO6F.js → W46D2COK.js} +2 -2
  307. package/dist/cdn/W5W7JFTZ.js +18 -0
  308. package/dist/cdn/{EDGKUXXH.js → WAQBAPR3.js} +2 -2
  309. package/dist/cdn/{UI7FKZHS.js → WD7VSNNZ.js} +1 -1
  310. package/dist/cdn/{UQHNT6NC.js → WE6HWGXJ.js} +2 -2
  311. package/dist/cdn/{EL22VV3P.js → WGR5GX2D.js} +2 -2
  312. package/dist/cdn/{GLAVWPYD.js → WKQ2RBCF.js} +2 -2
  313. package/dist/cdn/{NUYH6NTK.js → WPXB7ULE.js} +2 -2
  314. package/dist/cdn/{UHDBPQAZ.js → WU3PDZMB.js} +2 -2
  315. package/dist/cdn/{CA3G4QAA.js → WV4YBBNZ.js} +2 -2
  316. package/dist/cdn/{G577XEWY.js → WZB4BJD4.js} +2 -2
  317. package/dist/cdn/{W7I2RFAY.js → WZBY5ZWL.js} +2 -2
  318. package/dist/cdn/{NKYODIPR.js → WZHAHR26.js} +2 -2
  319. package/dist/cdn/{CEDUDGY3.js → X6ZQSZQU.js} +2 -2
  320. package/dist/cdn/{XHLRAGQ2.js → XEQPE5AQ.js} +2 -2
  321. package/dist/cdn/{XLNL32C3.js → XHLXBLDD.js} +2 -2
  322. package/dist/cdn/{IWS4I3HA.js → XJUYCZK6.js} +2 -2
  323. package/dist/cdn/{7MLWYGOM.js → XNTJWPM3.js} +2 -2
  324. package/dist/cdn/XUVQ6BRC.js +18 -0
  325. package/dist/cdn/{Y5GTJ73V.js → XVFKUURP.js} +2 -2
  326. package/dist/cdn/{2KDPEGNM.js → XYR6PESG.js} +2 -2
  327. package/dist/cdn/{HGSRS4G7.js → Y3M3ZSYR.js} +2 -2
  328. package/dist/cdn/{PYISYGHM.js → YBNDRIUZ.js} +2 -2
  329. package/dist/cdn/{V5XAPNIN.js → YDOFUTBW.js} +2 -2
  330. package/dist/cdn/{NQHBEVOL.js → YGQM56OM.js} +2 -2
  331. package/dist/cdn/YKNMVOHO.js +4 -0
  332. package/dist/cdn/{CKIAT6FZ.js → YQCBAF3G.js} +2 -2
  333. package/dist/cdn/{RGTERX4S.js → YTT2J3YO.js} +2 -2
  334. package/dist/cdn/{FGMT2KHY.js → YUHIK6J3.js} +2 -2
  335. package/dist/cdn/{5IY7QON3.js → Z6WJEJX2.js} +2 -2
  336. package/dist/cdn/{KIB3SJXC.js → ZCR63VKD.js} +2 -2
  337. package/dist/cdn/{RBY4RRXS.js → ZKALBQL6.js} +2 -2
  338. package/dist/cdn/{GZ45JBXT.js → ZMXSR2TT.js} +2 -2
  339. package/dist/cdn/{LBN2RTAD.js → ZORVIUJJ.js} +2 -2
  340. package/dist/cdn/{HUP3H66T.js → ZOZBNFAW.js} +2 -2
  341. package/dist/cdn/{RCFLYQVH.js → ZPUSPQYX.js} +2 -2
  342. package/dist/cdn/{N4AIZVPV.js → ZQV3UEGN.js} +1 -1
  343. package/dist/cdn/{EMC4J76D.js → ZVJJI7J2.js} +2 -2
  344. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
  345. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
  346. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.en.json +1 -1
  347. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.json +1 -1
  348. package/dist/cdn/index.js +2 -2
  349. package/dist/chunks/Auth.js +1 -1
  350. package/dist/chunks/CardsFetcher.js +29 -30
  351. package/dist/chunks/appConfig.js +1 -1
  352. package/dist/chunks/cardFetchingUtils.js +1 -1
  353. package/dist/chunks/cardsHelpers.js +1 -1
  354. package/dist/chunks/common.js +1 -1
  355. package/dist/chunks/deployAppContexts.js +1 -1
  356. package/dist/chunks/downloadUtils.js +1 -1
  357. package/dist/chunks/getItemIcon.js +1 -1
  358. package/dist/chunks/helpers.js +6 -6
  359. package/dist/chunks/interfaces.js +16 -17
  360. package/dist/chunks/loadModules.js +1 -1
  361. package/dist/chunks/mapViewUtils.js +1 -1
  362. package/dist/chunks/pciUtils.js +1 -1
  363. package/dist/chunks/popupUtils.js +1 -1
  364. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  365. package/dist/chunks/privilegeUtils.js +2 -2
  366. package/dist/chunks/publicNotificationContext.js +1 -1
  367. package/dist/chunks/queryUtils.js +1 -1
  368. package/dist/chunks/runtime.js +1 -1
  369. package/dist/chunks/solution-store.js +1 -1
  370. package/dist/chunks/templates.js +1 -1
  371. package/dist/chunks/useT9n.js +1 -1
  372. package/dist/components/arcgis-solutions-assistant/customElement.js +256 -234
  373. package/dist/components/basemap-gallery/customElement.js +1 -1
  374. package/dist/components/buffer-tools/customElement.js +1 -1
  375. package/dist/components/card-manager/customElement.js +1 -1
  376. package/dist/components/consent-manager/customElement.js +1 -1
  377. package/dist/components/create-feature/customElement.js +1 -1
  378. package/dist/components/create-related-feature/customElement.js +1 -1
  379. package/dist/components/crowdsource-manager/customElement.d.ts +3 -5
  380. package/dist/components/crowdsource-manager/customElement.js +7 -19
  381. package/dist/components/crowdsource-reporter/customElement.js +3 -3
  382. package/dist/components/crowdsource-reporter/index.d.ts +1 -1
  383. package/dist/components/crowdsource-reporter/index.js +1 -1
  384. package/dist/components/deduct-calculator/customElement.js +1 -1
  385. package/dist/components/delete-button/customElement.d.ts +2 -6
  386. package/dist/components/delete-button/customElement.js +3 -3
  387. package/dist/components/delete-dialog/customElement.js +1 -1
  388. package/dist/components/edit-card/customElement.js +1 -1
  389. package/dist/components/feature-details/customElement.js +1 -1
  390. package/dist/components/feature-list/customElement.js +1 -1
  391. package/dist/components/field-selection/customElement.js +1 -1
  392. package/dist/components/floor-filter/customElement.js +1 -1
  393. package/dist/components/info-card/customElement.js +1 -1
  394. package/dist/components/json-editor/customElement.js +1 -1
  395. package/dist/components/layer-list/customElement.js +1 -1
  396. package/dist/components/layer-table/customElement.js +3 -3
  397. package/dist/components/map-card/customElement.js +2 -2
  398. package/dist/components/map-draw-tools/customElement.js +1 -1
  399. package/dist/components/map-fullscreen/customElement.js +1 -1
  400. package/dist/components/map-layer-picker/customElement.d.ts +2 -6
  401. package/dist/components/map-layer-picker/customElement.js +9 -13
  402. package/dist/components/map-legend/customElement.js +1 -1
  403. package/dist/components/map-picker/customElement.js +1 -1
  404. package/dist/components/map-search/customElement.js +1 -1
  405. package/dist/components/map-select-tools/customElement.js +1 -1
  406. package/dist/components/map-tools/customElement.js +56 -57
  407. package/dist/components/pci-calculator/customElement.js +1 -1
  408. package/dist/components/pdf-download/customElement.js +1 -1
  409. package/dist/components/public-notification/customElement.js +1 -1
  410. package/dist/components/refine-selection/customElement.js +1 -1
  411. package/dist/components/selection-tool/customElement.js +1 -1
  412. package/dist/components/solution-configuration/customElement.js +1 -1
  413. package/dist/components/solution-configure-titles/customElement.js +2 -2
  414. package/dist/components/solution-contents/customElement.js +1 -1
  415. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  416. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  417. package/dist/components/solution-deployed-card/customElement.js +1 -1
  418. package/dist/components/solution-deployed-card-panel/customElement.js +26 -26
  419. package/dist/components/solution-deploying-dialog/customElement.d.ts +2 -0
  420. package/dist/components/solution-deploying-dialog/customElement.js +94 -18
  421. package/dist/components/solution-details-card/customElement.js +1 -1
  422. package/dist/components/solution-details-panel/customElement.js +1 -1
  423. package/dist/components/solution-item/customElement.js +1 -1
  424. package/dist/components/solution-item-accordion/customElement.js +1 -1
  425. package/dist/components/solution-item-details/customElement.js +1 -1
  426. package/dist/components/solution-item-diagram/customElement.js +1 -1
  427. package/dist/components/solution-item-icon/customElement.js +1 -1
  428. package/dist/components/solution-item-sharing/customElement.js +1 -1
  429. package/dist/components/solution-organization-variables/customElement.js +1 -1
  430. package/dist/components/solution-resource-card/customElement.js +1 -1
  431. package/dist/components/solution-resource-item/customElement.js +1 -1
  432. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  433. package/dist/components/solution-social-share/customElement.js +1 -1
  434. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  435. package/dist/components/solution-template-data/customElement.js +1 -1
  436. package/dist/components/solution-variables/customElement.js +1 -1
  437. package/dist/components/solutions-all-panel/customElement.js +15 -15
  438. package/dist/components/solutions-all-shell/customElement.js +1 -1
  439. package/dist/components/solutions-deploy-app/customElement.js +15 -15
  440. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  441. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  442. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  443. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  444. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  445. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  446. package/dist/components/solutions-resources/customElement.js +1 -1
  447. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  448. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  449. package/dist/components/spatial-ref/customElement.js +1 -1
  450. package/dist/components/store-manager/customElement.js +1 -1
  451. package/dist/docs/api.json +31 -46
  452. package/dist/docs/docs.json +42 -27
  453. package/dist/docs/vscode.html-custom-data.json +3 -13
  454. package/dist/docs/web-types.json +22 -26
  455. package/dist/index.d.ts +15 -1
  456. package/dist/index.js +35 -36
  457. package/dist/loader.js +3 -3
  458. package/dist/types/lumina.d.ts +1 -0
  459. package/dist/types/preact.d.ts +1 -0
  460. package/dist/types/preact10.d.ts +1 -0
  461. package/dist/types/react.d.ts +1 -0
  462. package/dist/types/stencil.d.ts +1 -0
  463. package/dist/utils/interfaces.d.ts +7 -4
  464. package/package.json +22 -22
  465. package/dist/cdn/2U37MMSW.js +0 -18
  466. package/dist/cdn/3D3RNQXF.js +0 -4
  467. package/dist/cdn/6JLUJWH6.js +0 -18
  468. package/dist/cdn/7RFFTMJS.js +0 -4
  469. package/dist/cdn/7XIYLGPM.js +0 -4
  470. package/dist/cdn/AA4EWK4C.js +0 -18
  471. package/dist/cdn/BFY7RHIE.js +0 -18
  472. package/dist/cdn/DFADPAZK.js +0 -4
  473. package/dist/cdn/NHSZXNZV.js +0 -18
  474. package/dist/cdn/OX3SGCCQ.js +0 -18
  475. package/dist/cdn/R4NHUKQL.js +0 -18
  476. package/dist/cdn/RCKQ7IME.js +0 -18
  477. package/dist/cdn/SCSYXJ7N.js +0 -18
  478. package/dist/cdn/SWAZYX4I.js +0 -63
  479. package/dist/cdn/USDRTL75.js +0 -4
  480. package/dist/cdn/UV3OCW2R.js +0 -4
  481. package/dist/cdn/VC3ONQSP.js +0 -4
  482. package/dist/cdn/XBVQ745C.js +0 -18
  483. package/dist/cdn/YFSAZFMI.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
4
- import{a as p}from"./Z2FUMODE.js";import{a as n}from"./AWYWTRXR.js";import"./XHXMDQDA.js";import{a as r,b as i}from"./D7VNUZC6.js";import"./GZ45JBXT.js";import"./J27HWMOU.js";import{d as a}from"./EJ6BXACD.js";import"./VIKALXXD.js";import"./LEMWW4ED.js";import"./I3PEU4E4.js";import"./S6R6G6MM.js";import{a as t}from"./QFF7V4PQ.js";import"./RBY4RRXS.js";import"./CKIAT6FZ.js";import"./WX6CMXEK.js";import"./UHDBPQAZ.js";import"./PFGY7OJD.js";import"./RJBUFP4Z.js";import"./BP2CHTVW.js";import"./4H5JZV3N.js";import"./EMC4J76D.js";import"./JWKBLBHU.js";import"./NPOGRCJT.js";import"./UQHNT6NC.js";import"./K2RFNUWO.js";import"./W7I2RFAY.js";import"./LBN2RTAD.js";import"./5FQDPXO7.js";import"./AHNRTMIR.js";import"./5IY7QON3.js";import"./7B2JUGRA.js";import"./4KVLYOZL.js";import"./ZFZ663TV.js";import"./MQUYDV5R.js";import"./N4AIZVPV.js";var h=async(e,s,o)=>{var l;return{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.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.hero.helperText`},labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}}]}]},{type:"Section",labelKey:`${e}.sections.hero.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`,rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"image"}}},options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(s.location,o.hubRequestOptions),options:await i(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.fields.featuredImage.label`,options:{helperText:{labelKey:`${e}.fields.featuredImage.helperText`}},rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},elements:[{scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:p((l=s.view)===null||l===void 0?void 0:l.featuredImageUrl,o.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",options:{helperText:{labelKey:`${e}.fields.featuredImage.altText.helperText`}}}]}]},{type:"Section",labelKey:`${e}.sections.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:n(o.currentUser.groups),disabled:!a("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]}};export{h as buildUiSchema};
3
+ v1.2.0-next.22 */
4
+ import{a as p}from"./U5C4UNHM.js";import{a as n}from"./UK3KUJMQ.js";import"./7ZG66OFU.js";import{a as r,b as i}from"./TFU6LP44.js";import"./ZMXSR2TT.js";import"./SQWMQEXG.js";import{d as a}from"./K5E7SDHF.js";import"./3BA4TVKZ.js";import"./KQEG2VSM.js";import"./NHC6L4QY.js";import"./SDDG4ZNW.js";import{a as t}from"./JRQYZJIL.js";import"./ZKALBQL6.js";import"./YQCBAF3G.js";import"./A3RFYTTG.js";import"./WU3PDZMB.js";import"./LKPIRCG4.js";import"./76CP2OWS.js";import"./JP2DX62F.js";import"./UENBDNEI.js";import"./ZVJJI7J2.js";import"./7I6EJ6DQ.js";import"./CEJRXTAP.js";import"./WE6HWGXJ.js";import"./UKS25OFJ.js";import"./WZBY5ZWL.js";import"./ZORVIUJJ.js";import"./6SZHNYTZ.js";import"./RCYLKWSP.js";import"./Z6WJEJX2.js";import"./EU3IQK3Z.js";import"./EZQK7BI4.js";import"./4KD2CAOM.js";import"./67YVVSND.js";import"./ZQV3UEGN.js";var h=async(e,s,o)=>{var l;return{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.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.hero.helperText`},labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}}]}]},{type:"Section",labelKey:`${e}.sections.hero.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`,rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"image"}}},options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(s.location,o.hubRequestOptions),options:await i(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.fields.featuredImage.label`,options:{helperText:{labelKey:`${e}.fields.featuredImage.helperText`}},rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},elements:[{scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:p((l=s.view)===null||l===void 0?void 0:l.featuredImageUrl,o.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",options:{helperText:{labelKey:`${e}.fields.featuredImage.altText.helperText`}}}]}]},{type:"Section",labelKey:`${e}.sections.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:n(o.currentUser.groups),disabled:!a("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]}};export{h as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
3
+ v1.2.0-next.22 */
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.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
4
- import{w as a}from"./5BCHBBEG.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g as a};
3
+ v1.2.0-next.22 */
4
+ import{w as a}from"./7NF4C7Q6.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
3
+ v1.2.0-next.22 */
4
4
  function o(e){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(e)}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.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
4
- import{a as e}from"./7B2JUGRA.js";import{b as t,g as s,m as i}from"./ZFZ663TV.js";var u=["hub:site:edit","hub:site:create","hub:site:followers","hub:site:discussions","hub:site:settings"],a=o=>Object.assign(Object.assign({$async:!0},e),{properties:Object.assign(Object.assign({},e.properties),{name:t,_discussions:s,telemetry:i,_urlInfo:{type:"object",isUniqueDomain:{siteId:o},required:["subdomain"],properties:{subdomain:{type:"string",format:"slug"}}}})});export{u as a,a as b};
3
+ v1.2.0-next.22 */
4
+ import{a as e}from"./EU3IQK3Z.js";import{b as t,g as s,m as i}from"./4KD2CAOM.js";var u=["hub:site:edit","hub:site:create","hub:site:followers","hub:site:discussions","hub:site:settings"],a=o=>Object.assign(Object.assign({$async:!0},e),{properties:Object.assign(Object.assign({},e.properties),{name:t,_discussions:s,telemetry:i,_urlInfo:{type:"object",isUniqueDomain:{siteId:o},required:["subdomain"],properties:{subdomain:{type:"string",format:"slug"}}}})});export{u as a,a as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
4
- import{a as o}from"./RGTERX4S.js";import{d as r}from"./EJ6BXACD.js";import"./I3PEU4E4.js";import"./S6R6G6MM.js";import{a as s}from"./QFF7V4PQ.js";import"./RBY4RRXS.js";import"./CKIAT6FZ.js";import"./WX6CMXEK.js";import"./UHDBPQAZ.js";import"./PFGY7OJD.js";import"./RJBUFP4Z.js";import"./BP2CHTVW.js";import"./4H5JZV3N.js";import"./EMC4J76D.js";import"./JWKBLBHU.js";import"./NPOGRCJT.js";import"./UQHNT6NC.js";import"./K2RFNUWO.js";import"./W7I2RFAY.js";import"./LBN2RTAD.js";import"./5FQDPXO7.js";import"./AHNRTMIR.js";import"./5IY7QON3.js";import"./7B2JUGRA.js";import"./4KVLYOZL.js";import"./ZFZ663TV.js";import"./MQUYDV5R.js";import"./N4AIZVPV.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubViewGroup",t));export{m as buildDefaults,p as buildUiSchema};
3
+ v1.2.0-next.22 */
4
+ import{a as o}from"./YTT2J3YO.js";import{d as r}from"./K5E7SDHF.js";import"./NHC6L4QY.js";import"./SDDG4ZNW.js";import{a as s}from"./JRQYZJIL.js";import"./ZKALBQL6.js";import"./YQCBAF3G.js";import"./A3RFYTTG.js";import"./WU3PDZMB.js";import"./LKPIRCG4.js";import"./76CP2OWS.js";import"./JP2DX62F.js";import"./UENBDNEI.js";import"./ZVJJI7J2.js";import"./7I6EJ6DQ.js";import"./CEJRXTAP.js";import"./WE6HWGXJ.js";import"./UKS25OFJ.js";import"./WZBY5ZWL.js";import"./ZORVIUJJ.js";import"./6SZHNYTZ.js";import"./RCYLKWSP.js";import"./Z6WJEJX2.js";import"./EU3IQK3Z.js";import"./EZQK7BI4.js";import"./4KD2CAOM.js";import"./67YVVSND.js";import"./ZQV3UEGN.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubViewGroup",t));export{m as buildDefaults,p as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
4
- import{b as p,d as a,e as h,f as E}from"./VIKALXXD.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.2.0-next.22 */
4
+ import{b as p,d as a,e as h,f as E}from"./3BA4TVKZ.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};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.22 */
4
+ import{a}from"./DTGCP5A5.js";import"./56MNA2VS.js";import"./YBNDRIUZ.js";import"./KQEG2VSM.js";import"./NHC6L4QY.js";import"./SDDG4ZNW.js";import"./UENBDNEI.js";import"./ZQV3UEGN.js";export{a as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
4
- import{a as e}from"./QFF7V4PQ.js";import"./RBY4RRXS.js";import"./CKIAT6FZ.js";import"./WX6CMXEK.js";import"./UHDBPQAZ.js";import"./PFGY7OJD.js";import"./RJBUFP4Z.js";import"./BP2CHTVW.js";import"./4H5JZV3N.js";import"./EMC4J76D.js";import"./JWKBLBHU.js";import"./NPOGRCJT.js";import"./UQHNT6NC.js";import"./K2RFNUWO.js";import"./W7I2RFAY.js";import"./LBN2RTAD.js";import"./5FQDPXO7.js";import"./AHNRTMIR.js";import"./5IY7QON3.js";import"./7B2JUGRA.js";import"./4KVLYOZL.js";import"./ZFZ663TV.js";import{a as t}from"./MQUYDV5R.js";import"./N4AIZVPV.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f as buildUiSchema};
3
+ v1.2.0-next.22 */
4
+ import{a as e}from"./JRQYZJIL.js";import"./ZKALBQL6.js";import"./YQCBAF3G.js";import"./A3RFYTTG.js";import"./WU3PDZMB.js";import"./LKPIRCG4.js";import"./76CP2OWS.js";import"./JP2DX62F.js";import"./UENBDNEI.js";import"./ZVJJI7J2.js";import"./7I6EJ6DQ.js";import"./CEJRXTAP.js";import"./WE6HWGXJ.js";import"./UKS25OFJ.js";import"./WZBY5ZWL.js";import"./ZORVIUJJ.js";import"./6SZHNYTZ.js";import"./RCYLKWSP.js";import"./Z6WJEJX2.js";import"./EU3IQK3Z.js";import"./EZQK7BI4.js";import"./4KD2CAOM.js";import{a as t}from"./67YVVSND.js";import"./ZQV3UEGN.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f as buildUiSchema};