@esri/solutions-components 1.1.0-next.20250731.1 → 1.1.0-next.20250804

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 (401) hide show
  1. package/dist/cdn/{YLTGZWFU.js → 26JVTWH7.js} +2 -2
  2. package/dist/cdn/{HG4W4QD6.js → 27I3AP5X.js} +2 -2
  3. package/dist/cdn/{NH6VXBT4.js → 2ENLVGEB.js} +2 -2
  4. package/dist/cdn/{5OXADY3S.js → 2H5ZIXV4.js} +2 -2
  5. package/dist/cdn/{FQKGNPW6.js → 2IUUDF7W.js} +1 -1
  6. package/dist/cdn/{NDND3YNI.js → 2JY7EWW7.js} +2 -2
  7. package/dist/cdn/{2BYRDSF2.js → 2KHSTHIA.js} +2 -2
  8. package/dist/cdn/{AHEDR6FX.js → 2M5OJ5G2.js} +1 -1
  9. package/dist/cdn/{3JZGXNAU.js → 2MI622UR.js} +2 -2
  10. package/dist/cdn/{XAMZTC4V.js → 2NGSYXGK.js} +1 -1
  11. package/dist/cdn/{KSGE2K2A.js → 2XVLUJAK.js} +2 -2
  12. package/dist/cdn/{URE77NMF.js → 2ZDGR2WD.js} +2 -2
  13. package/dist/cdn/{ZP7KUAQK.js → 324ZDJBR.js} +1 -1
  14. package/dist/cdn/{HN3P22JK.js → 325K5D3X.js} +2 -2
  15. package/dist/cdn/{5SE2CNQ4.js → 32NRDIX4.js} +2 -2
  16. package/dist/cdn/{WFP3ARED.js → 3DVTJ6KE.js} +2 -2
  17. package/dist/cdn/{N4JFNJAP.js → 3HWTOTAW.js} +1 -1
  18. package/dist/cdn/{XYM4QNUF.js → 3NHES2UH.js} +2 -2
  19. package/dist/cdn/{BLRUX5OX.js → 3SCQV2BA.js} +1 -1
  20. package/dist/cdn/{UHBAFPIP.js → 3T2O7NUV.js} +1 -1
  21. package/dist/cdn/{SVB3DAKW.js → 3U2DD4IP.js} +2 -2
  22. package/dist/cdn/{3SLZAJU6.js → 3U7N3IWM.js} +2 -2
  23. package/dist/cdn/{UI2K7A6K.js → 3UIPAYNA.js} +2 -2
  24. package/dist/cdn/{VH5CQ62Q.js → 3YIYAWOH.js} +2 -2
  25. package/dist/cdn/{GS2XNU7D.js → 4BKR62IC.js} +2 -2
  26. package/dist/cdn/{FT42MIIU.js → 4HDK7HAO.js} +2 -2
  27. package/dist/cdn/{D2AX67LP.js → 4IPXIKLP.js} +2 -2
  28. package/dist/cdn/{3UTJ6N4B.js → 4P3JYW4U.js} +2 -2
  29. package/dist/cdn/{LJ2NBNYV.js → 4PAAQ63R.js} +2 -2
  30. package/dist/cdn/{7C46WXZU.js → 4V36JLGC.js} +2 -2
  31. package/dist/cdn/{4BAJCDHE.js → 56M45FFO.js} +2 -2
  32. package/dist/cdn/{764HIRJY.js → 5BB4FMT7.js} +2 -2
  33. package/dist/cdn/{NFZDLBDU.js → 5BKN5ED4.js} +2 -2
  34. package/dist/cdn/{Q6ECGAN5.js → 5DLZSIPJ.js} +2 -2
  35. package/dist/cdn/{AD6Z7JIO.js → 5EBHLME5.js} +2 -2
  36. package/dist/cdn/{U4XP4SVP.js → 5FZP5C3S.js} +1 -1
  37. package/dist/cdn/{QB26MH3P.js → 5LGVQGTC.js} +1 -1
  38. package/dist/cdn/{QU2IDIBF.js → 5MIYOPHC.js} +2 -2
  39. package/dist/cdn/{ZCFSRPYL.js → 5NTTXYVC.js} +2 -2
  40. package/dist/cdn/{TF5CZ555.js → 5QZKRUQ7.js} +2 -2
  41. package/dist/cdn/{2TQLIMIY.js → 5RI43AEF.js} +2 -2
  42. package/dist/cdn/{DCHDDLDZ.js → 5RKBTQGT.js} +2 -2
  43. package/dist/cdn/{KBFGX22V.js → 63DQNUCA.js} +1 -1
  44. package/dist/cdn/{ZG4LGFKY.js → 63LHTNJZ.js} +2 -2
  45. package/dist/cdn/{UML27CLC.js → 67N2QUDS.js} +2 -2
  46. package/dist/cdn/{4E55H6GI.js → 6P6LUJ43.js} +2 -2
  47. package/dist/cdn/{M7Y7OEPH.js → 6VYTY7J6.js} +2 -2
  48. package/dist/cdn/{2V6EPB7F.js → 6WOOLJQO.js} +2 -2
  49. package/dist/cdn/{AB3WBQIH.js → 7AZRC4QR.js} +2 -2
  50. package/dist/cdn/{DUWVHI7R.js → 7B3SIEBP.js} +2 -2
  51. package/dist/cdn/{73ZAL2WT.js → 7DEYNHBU.js} +2 -2
  52. package/dist/cdn/{KL2T3UMN.js → 7FJ3O3A2.js} +2 -2
  53. package/dist/cdn/{AUU7DV55.js → 7HFXPJAS.js} +2 -2
  54. package/dist/cdn/{3RYGLJSU.js → 7JUKQJGZ.js} +2 -2
  55. package/dist/cdn/{NI2DYTWY.js → 7L6MX7NY.js} +2 -2
  56. package/dist/cdn/{ZC3XJXKM.js → 7MYC4GA6.js} +2 -2
  57. package/dist/cdn/{A2QNF47K.js → 7TAQ5RIA.js} +1 -1
  58. package/dist/cdn/{KUHZ7NUV.js → 7WB2V7EC.js} +2 -2
  59. package/dist/cdn/{ASISOVTI.js → A2U6UU3J.js} +2 -2
  60. package/dist/cdn/{CXXCLALD.js → A5MZMHN3.js} +2 -2
  61. package/dist/cdn/{CHGEZ3AN.js → A67IKYHW.js} +2 -2
  62. package/dist/cdn/{6R4UNPWN.js → AGSXX26T.js} +2 -2
  63. package/dist/cdn/{PCKCRHI3.js → AGVM2D2C.js} +2 -2
  64. package/dist/cdn/{LXSXZ5PZ.js → ALCKJU52.js} +2 -2
  65. package/dist/cdn/{G3R2MU2J.js → ASHUGWOC.js} +2 -2
  66. package/dist/cdn/AVPRAXDB.js +4 -0
  67. package/dist/cdn/{UDHOI5QJ.js → AW4UUEFC.js} +2 -2
  68. package/dist/cdn/{HYHCUL5X.js → BBWLJFLV.js} +2 -2
  69. package/dist/cdn/{BTTWYS5X.js → BEBADQDD.js} +2 -2
  70. package/dist/cdn/{UL36K2OL.js → BQ3EIQPU.js} +2 -2
  71. package/dist/cdn/{MVPUNAPA.js → BRRHEFK3.js} +2 -2
  72. package/dist/cdn/{ZI7THJT2.js → BTX2SLF4.js} +2 -2
  73. package/dist/cdn/{WGEDEGSC.js → C7D5MBZV.js} +2 -2
  74. package/dist/cdn/{DI2LL6B3.js → CCGKKPPH.js} +2 -2
  75. package/dist/cdn/{NVNE6Q2Z.js → CEU5C43P.js} +2 -2
  76. package/dist/cdn/{YFJPBXHX.js → CGJFV7RC.js} +2 -2
  77. package/dist/cdn/{5WJUGKEL.js → CGPOHG6C.js} +2 -2
  78. package/dist/cdn/{52S7M4XP.js → CRXF4B3G.js} +2 -2
  79. package/dist/cdn/{J7RY62J4.js → CSDAVDXX.js} +2 -2
  80. package/dist/cdn/{IO2ZL7TB.js → D2IML3DR.js} +2 -2
  81. package/dist/cdn/{5RODJX2B.js → DAPORVIV.js} +2 -2
  82. package/dist/cdn/{M4IHAPFS.js → DF7GLOYY.js} +2 -2
  83. package/dist/cdn/{PSJIJOBC.js → DKPSK2VS.js} +2 -2
  84. package/dist/cdn/{2GG4TAB5.js → DVODLANP.js} +2 -2
  85. package/dist/cdn/{IUQFTD5B.js → E6HI24AH.js} +2 -2
  86. package/dist/cdn/{7I3GA5DX.js → EAARL36R.js} +1 -1
  87. package/dist/cdn/{EUNGF6ZH.js → EDYUCA7M.js} +2 -2
  88. package/dist/cdn/{RJ64W3BT.js → EEBMCROU.js} +2 -2
  89. package/dist/cdn/{OIMYNYJF.js → ELEAGTWW.js} +2 -2
  90. package/dist/cdn/{UNOUCRCA.js → EMAGH3PG.js} +2 -2
  91. package/dist/cdn/{5AARPSFW.js → EQV2JVUX.js} +1 -1
  92. package/dist/cdn/{J7DQNAJK.js → FDU23JEN.js} +2 -2
  93. package/dist/cdn/{3K7RVP62.js → FESKL5ZV.js} +2 -2
  94. package/dist/cdn/{2FWYC6N2.js → FFU4WRS2.js} +2 -2
  95. package/dist/cdn/{H6OGXITC.js → FH7KMOQC.js} +2 -2
  96. package/dist/cdn/{EEF2B6ZM.js → FM2YTGSH.js} +2 -2
  97. package/dist/cdn/{KPKJKBOW.js → FWUHKSS7.js} +2 -2
  98. package/dist/cdn/{ITWJGFNZ.js → G55PKUMG.js} +1 -1
  99. package/dist/cdn/{T2FLCA5K.js → G5HT4QPA.js} +2 -2
  100. package/dist/cdn/{YDS7WOGV.js → G6QU7N46.js} +2 -2
  101. package/dist/cdn/{6HJNTC7F.js → G7LI5TQC.js} +2 -2
  102. package/dist/cdn/{NTCE7WYQ.js → GACRNLY6.js} +2 -2
  103. package/dist/cdn/{SBP4N5DS.js → GBVPDYV4.js} +2 -2
  104. package/dist/cdn/{PSE37RBN.js → GDRQ4BYH.js} +2 -2
  105. package/dist/cdn/{XVOTZ36C.js → GEBGZYZ4.js} +2 -2
  106. package/dist/cdn/{3TRGQIG4.js → GEISZXPD.js} +1 -1
  107. package/dist/cdn/{IK5O4TGG.js → GF77TENZ.js} +2 -2
  108. package/dist/cdn/{XWZVSPN5.js → GFOJ2475.js} +2 -2
  109. package/dist/cdn/{EBT6JTTB.js → GJJPRDZZ.js} +2 -2
  110. package/dist/cdn/{T5BKBEIP.js → GMGQ7E7V.js} +2 -2
  111. package/dist/cdn/{TDRR3ZLM.js → GQRKGQNV.js} +2 -2
  112. package/dist/cdn/{62F4Z2RZ.js → GXC7MW7H.js} +2 -2
  113. package/dist/cdn/{755C3VG6.js → GYQQ26XT.js} +2 -2
  114. package/dist/cdn/{O2GXK46T.js → H5EJ2QTN.js} +2 -2
  115. package/dist/cdn/{2OH6LK6F.js → H5OYFPQ2.js} +2 -2
  116. package/dist/cdn/{73DPGPG7.js → HGKMBBAZ.js} +2 -2
  117. package/dist/cdn/{4W4AXLAS.js → HHUIZRPD.js} +2 -2
  118. package/dist/cdn/{DDL7KI2T.js → HMDGWSEX.js} +2 -2
  119. package/dist/cdn/{KZONAQ7X.js → HOPT3JY4.js} +2 -2
  120. package/dist/cdn/{V7HQLFUM.js → HQTKZXQW.js} +2 -2
  121. package/dist/cdn/{J4IVVJW7.js → HWVN3MS5.js} +1 -1
  122. package/dist/cdn/{6IORBIOG.js → IAPBKDX5.js} +2 -2
  123. package/dist/cdn/{MJ4UYOY5.js → IQ3QEMBR.js} +1 -1
  124. package/dist/cdn/{WMDLX4TU.js → IYBF72YG.js} +2 -2
  125. package/dist/cdn/{DSYYVW3F.js → IYCDKPBQ.js} +1 -1
  126. package/dist/cdn/{TLC3SOX5.js → IYUKZWSW.js} +2 -2
  127. package/dist/cdn/{7K7BGZIC.js → J5RHSV42.js} +2 -2
  128. package/dist/cdn/{54F3QH2P.js → J6QSHH76.js} +2 -2
  129. package/dist/cdn/{A4PWAQDV.js → JALZR5WY.js} +2 -2
  130. package/dist/cdn/{6EUIK65W.js → JDKSBZFE.js} +2 -2
  131. package/dist/cdn/{BLBKBQ7W.js → JH5MCOTH.js} +2 -2
  132. package/dist/cdn/{IFV6OJ45.js → JJ273SNZ.js} +2 -2
  133. package/dist/cdn/{MT3VGENM.js → JJ7QCASR.js} +1 -1
  134. package/dist/cdn/{UKVOZIPV.js → JOF7K3IJ.js} +1 -1
  135. package/dist/cdn/{STLINJZP.js → JQRYRWLD.js} +2 -2
  136. package/dist/cdn/{7CX327ED.js → JQTH7ME2.js} +2 -2
  137. package/dist/cdn/{WMIGNCA3.js → JRVEBIOC.js} +2 -2
  138. package/dist/cdn/{HO345XLK.js → JYOOJOGL.js} +2 -2
  139. package/dist/cdn/{AZHKILPX.js → K52ZHJL4.js} +2 -2
  140. package/dist/cdn/{FT34NQOI.js → KDVFFXU7.js} +2 -2
  141. package/dist/cdn/{OX6J3PGF.js → KJ7QVY7R.js} +2 -2
  142. package/dist/cdn/{NLQMBJV4.js → KKTWS5R3.js} +2 -2
  143. package/dist/cdn/KMAVMHTP.js +4 -0
  144. package/dist/cdn/{L3KYPR4U.js → KTVARFQK.js} +2 -2
  145. package/dist/cdn/{4GJTZGZ2.js → KULFSFX2.js} +1 -1
  146. package/dist/cdn/KYB3LCAD.js +4 -0
  147. package/dist/cdn/{USBBZZHO.js → KZWML2KQ.js} +2 -2
  148. package/dist/cdn/{HI22GMCZ.js → L5Z7XJTH.js} +2 -2
  149. package/dist/cdn/{JHWEUJN4.js → LBVKJUVS.js} +2 -2
  150. package/dist/cdn/{ZL4KQF74.js → LCDSUUY7.js} +2 -2
  151. package/dist/cdn/LCT3D3H4.js +4 -0
  152. package/dist/cdn/{HEIJXDKW.js → LL4DEDQC.js} +2 -2
  153. package/dist/cdn/{BAFGE6VY.js → LNE75S3A.js} +1 -1
  154. package/dist/cdn/{JQKKZGRJ.js → LQYQK52P.js} +1 -1
  155. package/dist/cdn/{J7I2CT5V.js → LVSGI3AI.js} +2 -2
  156. package/dist/cdn/{EFS5RERR.js → LW47XLXE.js} +2 -2
  157. package/dist/cdn/{3EHVWHQO.js → LWBW2FOF.js} +2 -2
  158. package/dist/cdn/{74MX4QLZ.js → LZQ4FPMV.js} +2 -2
  159. package/dist/cdn/{2Y5AL2MJ.js → MDKYM3IA.js} +2 -2
  160. package/dist/cdn/{2W6UZ4WR.js → MFHK7DKH.js} +2 -2
  161. package/dist/cdn/{MULD755N.js → MIAJROAJ.js} +2 -2
  162. package/dist/cdn/{X77DVIHT.js → MJ5DKA2X.js} +2 -2
  163. package/dist/cdn/MKSQHH57.js +4 -0
  164. package/dist/cdn/{EWGTTR5Q.js → MLOT2NB2.js} +2 -2
  165. package/dist/cdn/{ZF3NTVCO.js → MO5LTBSP.js} +2 -2
  166. package/dist/cdn/{OVNKAN7A.js → MOVE65J6.js} +1 -1
  167. package/dist/cdn/{UN5OBM45.js → MPGGUH4K.js} +2 -2
  168. package/dist/cdn/{UB22ISME.js → MPM4KDBW.js} +2 -2
  169. package/dist/cdn/{VMXZ6AXW.js → MQENWQZA.js} +2 -2
  170. package/dist/cdn/{QQI6TRPA.js → MSIUS7CS.js} +2 -2
  171. package/dist/cdn/{KVLTXBTW.js → MULCQMSH.js} +2 -2
  172. package/dist/cdn/{ZLULHNQF.js → N2FATTDH.js} +1 -1
  173. package/dist/cdn/{JZZAARTL.js → N2IQNH7A.js} +1 -1
  174. package/dist/cdn/{EV3TUX6S.js → N36BQC66.js} +2 -2
  175. package/dist/cdn/{3ZSBSCVO.js → N4M3CA2Z.js} +2 -2
  176. package/dist/cdn/{CEW2J6RG.js → N5QB5MLB.js} +1 -1
  177. package/dist/cdn/{QNOJFN72.js → NE3BMCYD.js} +2 -2
  178. package/dist/cdn/{W2OEFMSP.js → NGZQ77Y7.js} +2 -2
  179. package/dist/cdn/{UBOZIJ2V.js → NJG24YVB.js} +2 -2
  180. package/dist/cdn/{FCGAI4KW.js → NJVLWYYW.js} +1 -1
  181. package/dist/cdn/{XLW62QJP.js → NL7A2BN6.js} +2 -2
  182. package/dist/cdn/{GTECY6TF.js → NNVYIBOE.js} +2 -2
  183. package/dist/cdn/{EWRQ3QNK.js → NOPHR34M.js} +2 -2
  184. package/dist/cdn/{YSKSWYAQ.js → NPB3WTYD.js} +2 -2
  185. package/dist/cdn/NVD7KBCE.js +4 -0
  186. package/dist/cdn/{QU5SGFUX.js → NXGANU6E.js} +2 -2
  187. package/dist/cdn/{GOLI4DGF.js → OKW3PMOC.js} +2 -2
  188. package/dist/cdn/{I3S3DM4U.js → OOM3I5RC.js} +2 -2
  189. package/dist/cdn/{MXZUWU5U.js → OPRT5PGD.js} +2 -2
  190. package/dist/cdn/{KCRSRMZK.js → ORXVHEHN.js} +2 -2
  191. package/dist/cdn/{3VAVRAZH.js → OS5L5UWL.js} +1 -1
  192. package/dist/cdn/{MWVLFGRN.js → OTZTQ2VQ.js} +2 -2
  193. package/dist/cdn/{BWW5YD72.js → OYB7YXXR.js} +2 -2
  194. package/dist/cdn/{MSVU7KDD.js → OZOGQMK3.js} +2 -2
  195. package/dist/cdn/{C6N2WWWX.js → P44L6E7C.js} +2 -2
  196. package/dist/cdn/{ULCHU2DL.js → PBBG6EBI.js} +2 -2
  197. package/dist/cdn/{B637YOS5.js → PCKSIOIQ.js} +2 -2
  198. package/dist/cdn/{6NHXE4L3.js → PG57XA7J.js} +2 -2
  199. package/dist/cdn/{T7QDW3RL.js → PJJ7OQZQ.js} +2 -2
  200. package/dist/cdn/{LUZ5SS5Q.js → PJSHOIQU.js} +2 -2
  201. package/dist/cdn/{R57C4DNW.js → PMZ5WB6C.js} +2 -2
  202. package/dist/cdn/{CN7U4Z7M.js → PO57BOD5.js} +1 -1
  203. package/dist/cdn/{HIWWU7SY.js → PPWCXZID.js} +1 -1
  204. package/dist/cdn/{JACIW3XD.js → PSG4RSCT.js} +2 -2
  205. package/dist/cdn/{FJAL5AQ5.js → PVQQTXL7.js} +2 -2
  206. package/dist/cdn/{5U44RL2U.js → QBYSBJGO.js} +2 -2
  207. package/dist/cdn/{362CTSXJ.js → QDE6GAEL.js} +2 -2
  208. package/dist/cdn/{R3PW6KSS.js → QH3NYN25.js} +2 -2
  209. package/dist/cdn/{FJSZAX2R.js → QLDQWKMR.js} +2 -2
  210. package/dist/cdn/{PIZGPSRE.js → QMZ4ECYO.js} +2 -2
  211. package/dist/cdn/{CM6TYWX6.js → QOMQ2O42.js} +1 -1
  212. package/dist/cdn/{UCE3PD7K.js → QOWVXWJR.js} +2 -2
  213. package/dist/cdn/{JR6RNA7B.js → QTPRUZQW.js} +2 -2
  214. package/dist/cdn/{6FSSM6C5.js → QYWVIB4H.js} +2 -2
  215. package/dist/cdn/{6TJ4G3ER.js → R2RQDXYK.js} +2 -2
  216. package/dist/cdn/{YKDWIWVB.js → R4RV3EYA.js} +2 -2
  217. package/dist/cdn/{27LLDIKS.js → R4WTGITD.js} +2 -2
  218. package/dist/cdn/{7KQKPG55.js → R73R7QCG.js} +2 -2
  219. package/dist/cdn/{GW33ZZHC.js → R7PQZLQD.js} +2 -2
  220. package/dist/cdn/{4R677UHW.js → RBA3JHX2.js} +2 -2
  221. package/dist/cdn/{3XZ72BIO.js → RJIJ4XS2.js} +1 -1
  222. package/dist/cdn/{MUNB2EIH.js → RL2SNSO2.js} +2 -2
  223. package/dist/cdn/{ZIY4QFR5.js → RLGCX67K.js} +2 -2
  224. package/dist/cdn/{EOPDQ5BU.js → RNIXWYHO.js} +2 -2
  225. package/dist/cdn/{G6EO7CEQ.js → RWMBL7L7.js} +2 -2
  226. package/dist/cdn/{574AQUKL.js → RXAKD247.js} +2 -2
  227. package/dist/cdn/{FHJGYUXO.js → S6ZBWBL3.js} +2 -2
  228. package/dist/cdn/{JKM47VFY.js → SEF73KDX.js} +2 -2
  229. package/dist/cdn/{33G6WACF.js → SMCV2SK5.js} +2 -2
  230. package/dist/cdn/{BKJGM55L.js → SO4DF5HM.js} +2 -2
  231. package/dist/cdn/{AK5RJP4M.js → SQPYP57L.js} +1 -1
  232. package/dist/cdn/{WZ6HR352.js → SRHCFZUY.js} +2 -2
  233. package/dist/cdn/{6N6HLBBS.js → SRPL4W6S.js} +1 -1
  234. package/dist/cdn/{3GSPSBR2.js → SSLYRR7G.js} +2 -2
  235. package/dist/cdn/SU5VMGSN.js +4 -0
  236. package/dist/cdn/{SROUOTOF.js → SUFBRQSQ.js} +1 -1
  237. package/dist/cdn/{C7HFRDIM.js → T2E6XQL7.js} +2 -2
  238. package/dist/cdn/{HYLPZDSQ.js → T6GPREAX.js} +2 -2
  239. package/dist/cdn/{R7BJ6S6M.js → T7IUOP77.js} +2 -2
  240. package/dist/cdn/{54I7CNTR.js → TAUEMN7H.js} +2 -2
  241. package/dist/cdn/{AP5SMGH7.js → TCIUPQBG.js} +2 -2
  242. package/dist/cdn/{DIS53LGB.js → TJEMS4LZ.js} +2 -2
  243. package/dist/cdn/{25HFBBO7.js → TKSHKCPB.js} +2 -2
  244. package/dist/cdn/{HXV3QUQ6.js → TLARAEER.js} +2 -2
  245. package/dist/cdn/{IXHWGSUT.js → TU66IWII.js} +2 -2
  246. package/dist/cdn/{6XPLK57P.js → TVE3SWML.js} +2 -2
  247. package/dist/cdn/{ELXOWAX5.js → TVPWZMAB.js} +2 -2
  248. package/dist/cdn/{R4TPG3DO.js → TXIDAG5O.js} +1 -1
  249. package/dist/cdn/{SP5ULXWS.js → TYLIWK4T.js} +2 -2
  250. package/dist/cdn/{2B7AIYB4.js → U2GKHB5F.js} +4 -4
  251. package/dist/cdn/{WDPCEJWO.js → U3WQ32QA.js} +2 -2
  252. package/dist/cdn/{7CHJP5FF.js → U74VGJ3T.js} +2 -2
  253. package/dist/cdn/{6LATBKTY.js → UMMDZOWO.js} +2 -2
  254. package/dist/cdn/{BKZ5D2KZ.js → UPSY6F76.js} +2 -2
  255. package/dist/cdn/{TCK3645Q.js → URAGJGK6.js} +2 -2
  256. package/dist/cdn/{RPXFGP5K.js → URYJTR3F.js} +2 -2
  257. package/dist/cdn/UUOHSP2M.js +4 -0
  258. package/dist/cdn/{DU2FEFFV.js → V3ZTHML6.js} +2 -2
  259. package/dist/cdn/{OVDTA5OA.js → V6Z7HS6H.js} +2 -2
  260. package/dist/cdn/{N3JVQRW2.js → VCJXO3QG.js} +1 -1
  261. package/dist/cdn/{2RT2G6PW.js → VEHDY5YP.js} +2 -2
  262. package/dist/cdn/{U65T7QXI.js → VLTYMTZ3.js} +2 -2
  263. package/dist/cdn/{D2WA2RPA.js → VNQ5BED6.js} +2 -2
  264. package/dist/cdn/{TYWZWTN6.js → VV5IQZ7Q.js} +2 -2
  265. package/dist/cdn/{CSHLAZKQ.js → VYDO327K.js} +2 -2
  266. package/dist/cdn/{JV46YG7Z.js → WECF2JFD.js} +2 -2
  267. package/dist/cdn/{WX3BUGVY.js → WEVC2ZGT.js} +2 -2
  268. package/dist/cdn/{ATETIVT6.js → WH64AKQW.js} +2 -2
  269. package/dist/cdn/{GQBP35TH.js → WITXMTMP.js} +2 -2
  270. package/dist/cdn/{YJ3MW2JY.js → WL7SYSU2.js} +2 -2
  271. package/dist/cdn/{KSYOFZFC.js → WO56KW63.js} +2 -2
  272. package/dist/cdn/{QCFKTDX2.js → WPXHPSPZ.js} +2 -2
  273. package/dist/cdn/{TCJQUXXU.js → WW7WU5U3.js} +2 -2
  274. package/dist/cdn/{7M5NHS3C.js → WYENCUGJ.js} +2 -2
  275. package/dist/cdn/{3BSM72ZJ.js → X6IADLCS.js} +2 -2
  276. package/dist/cdn/{JPFVSO3J.js → XAA2CYFY.js} +2 -2
  277. package/dist/cdn/{Q6S2FYB7.js → XJRM5CQS.js} +2 -2
  278. package/dist/cdn/{FSTZH7GL.js → XNZIKTAG.js} +2 -2
  279. package/dist/cdn/{MJD4UYQV.js → XRWYBWQK.js} +2 -2
  280. package/dist/cdn/{XVNMBFFV.js → XULFPBP6.js} +2 -2
  281. package/dist/cdn/{ZRE4MLAV.js → XVDLFOD6.js} +2 -2
  282. package/dist/cdn/{U75F55GL.js → XXTUAYVD.js} +2 -2
  283. package/dist/cdn/{FFAGAIHU.js → Y2CGACHS.js} +2 -2
  284. package/dist/cdn/{XQIIB6WI.js → Y2I7B42B.js} +1 -1
  285. package/dist/cdn/{HT35VQR3.js → YLPKFOK6.js} +2 -2
  286. package/dist/cdn/{Y4HMQERM.js → Z44T45GT.js} +2 -2
  287. package/dist/cdn/{WCDHN44D.js → Z4KUME5U.js} +2 -2
  288. package/dist/cdn/{6ZGLTKMR.js → Z563KGJ5.js} +2 -2
  289. package/dist/cdn/{KGMRUPJI.js → ZITDPXBN.js} +2 -2
  290. package/dist/cdn/{KA6MTWQW.js → ZJQ2HXOP.js} +2 -2
  291. package/dist/cdn/{X7INRGL2.js → ZKALQRBG.js} +2 -2
  292. package/dist/cdn/{QUJM7PBE.js → ZPVXCJZJ.js} +2 -2
  293. package/dist/cdn/{HFRYADUF.js → ZVOQGYWY.js} +2 -2
  294. package/dist/cdn/{EPCVNPGM.js → ZZ55Q6CO.js} +2 -2
  295. package/dist/cdn/index.js +2 -2
  296. package/dist/chunks/Auth.js +1 -1
  297. package/dist/chunks/appConfig.js +1 -1
  298. package/dist/chunks/cardFetchingUtils.js +1 -1
  299. package/dist/chunks/common.js +1 -1
  300. package/dist/chunks/deployAppContexts.js +1 -1
  301. package/dist/chunks/downloadUtils.js +1 -1
  302. package/dist/chunks/helpers.js +1 -1
  303. package/dist/chunks/index.js +1 -1
  304. package/dist/chunks/interfaces.js +1 -1
  305. package/dist/chunks/loadModules.js +1 -1
  306. package/dist/chunks/mapViewUtils.js +1 -1
  307. package/dist/chunks/pciUtils.js +1 -1
  308. package/dist/chunks/popupUtils.js +1 -1
  309. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  310. package/dist/chunks/privilegeUtils.js +1 -1
  311. package/dist/chunks/publicNotificationStore.js +1 -1
  312. package/dist/chunks/queryUtils.js +1 -1
  313. package/dist/chunks/runtime.js +1 -1
  314. package/dist/chunks/solution-store.js +1 -1
  315. package/dist/chunks/templates.js +1 -1
  316. package/dist/chunks/useT9n.js +1 -1
  317. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  318. package/dist/components/basemap-gallery/customElement.js +1 -1
  319. package/dist/components/buffer-tools/customElement.js +1 -1
  320. package/dist/components/card-manager/customElement.js +1 -1
  321. package/dist/components/consent-manager/customElement.js +1 -1
  322. package/dist/components/create-feature/customElement.js +1 -1
  323. package/dist/components/create-related-feature/customElement.js +1 -1
  324. package/dist/components/crowdsource-manager/customElement.d.ts +1 -3
  325. package/dist/components/crowdsource-manager/customElement.js +1 -1
  326. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  327. package/dist/components/deduct-calculator/customElement.js +1 -1
  328. package/dist/components/delete-button/customElement.js +1 -1
  329. package/dist/components/delete-dialog/customElement.js +1 -1
  330. package/dist/components/edit-card/customElement.js +1 -1
  331. package/dist/components/feature-details/customElement.js +1 -1
  332. package/dist/components/feature-list/customElement.js +1 -1
  333. package/dist/components/field-selection/customElement.js +1 -1
  334. package/dist/components/floor-filter/customElement.js +1 -1
  335. package/dist/components/info-card/customElement.js +1 -1
  336. package/dist/components/json-editor/customElement.js +1 -1
  337. package/dist/components/layer-list/customElement.js +1 -1
  338. package/dist/components/layer-table/customElement.d.ts +1 -3
  339. package/dist/components/layer-table/customElement.js +1 -1
  340. package/dist/components/map-card/customElement.js +1 -1
  341. package/dist/components/map-draw-tools/customElement.js +1 -1
  342. package/dist/components/map-fullscreen/customElement.js +1 -1
  343. package/dist/components/map-layer-picker/customElement.js +1 -1
  344. package/dist/components/map-legend/customElement.js +1 -1
  345. package/dist/components/map-picker/customElement.js +1 -1
  346. package/dist/components/map-search/customElement.js +1 -1
  347. package/dist/components/map-select-tools/customElement.js +1 -1
  348. package/dist/components/map-tools/customElement.js +1 -1
  349. package/dist/components/pci-calculator/customElement.js +1 -1
  350. package/dist/components/pdf-download/customElement.js +1 -1
  351. package/dist/components/public-notification/customElement.js +1 -1
  352. package/dist/components/refine-selection/customElement.js +1 -1
  353. package/dist/components/selection-tool/customElement.js +1 -1
  354. package/dist/components/solution-article-card/customElement.js +1 -1
  355. package/dist/components/solution-configuration/customElement.js +1 -1
  356. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  357. package/dist/components/solution-configure-titles/customElement.js +1 -1
  358. package/dist/components/solution-contents/customElement.js +1 -1
  359. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  360. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  361. package/dist/components/solution-deployed-card/customElement.js +1 -1
  362. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  363. package/dist/components/solution-details-card/customElement.js +1 -1
  364. package/dist/components/solution-details-panel/customElement.js +1 -1
  365. package/dist/components/solution-item/customElement.js +1 -1
  366. package/dist/components/solution-item-accordion/customElement.js +1 -1
  367. package/dist/components/solution-item-details/customElement.js +1 -1
  368. package/dist/components/solution-item-diagram/customElement.js +1 -1
  369. package/dist/components/solution-item-icon/customElement.js +1 -1
  370. package/dist/components/solution-item-sharing/customElement.js +1 -1
  371. package/dist/components/solution-organization-variables/customElement.js +1 -1
  372. package/dist/components/solution-resource-item/customElement.js +1 -1
  373. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  374. package/dist/components/solution-social-share/customElement.js +1 -1
  375. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  376. package/dist/components/solution-template-data/customElement.js +1 -1
  377. package/dist/components/solution-variables/customElement.js +1 -1
  378. package/dist/components/solutions-all-panel/customElement.js +1 -1
  379. package/dist/components/solutions-all-shell/customElement.js +1 -1
  380. package/dist/components/solutions-article-panel/customElement.js +1 -1
  381. package/dist/components/solutions-articles/customElement.js +1 -1
  382. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  383. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  384. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  385. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  386. package/dist/components/spatial-ref/customElement.js +1 -1
  387. package/dist/components/store-manager/customElement.js +1 -1
  388. package/dist/docs/api.json +2 -2
  389. package/dist/docs/docs.json +2 -2
  390. package/dist/docs/web-types.json +1 -1
  391. package/dist/index.js +1 -1
  392. package/dist/loader.js +1 -1
  393. package/package.json +2 -2
  394. package/dist/cdn/A6BKXLWA.js +0 -4
  395. package/dist/cdn/BPJXP42W.js +0 -4
  396. package/dist/cdn/CKCMSZM5.js +0 -4
  397. package/dist/cdn/FEWPXPFQ.js +0 -4
  398. package/dist/cdn/H4YML6KX.js +0 -4
  399. package/dist/cdn/HFH2DZZB.js +0 -4
  400. package/dist/cdn/RNP3G6YO.js +0 -4
  401. package/dist/cdn/VHDZYP7A.js +0 -4
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250804 */
4
+ import{a,b}from"./U3WQ32QA.js";import"./5FZP5C3S.js";import"./VCJXO3QG.js";export{a as ChannelEditorTypes,b as ChannelSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import a from"./YSKSWYAQ.js";import{a as _,b as o,c as v,d as w}from"./UHBAFPIP.js";import{a as s,c as y,d as g,e as m}from"./52S7M4XP.js";import"./2FWYC6N2.js";import"./FCGAI4KW.js";import"./GTECY6TF.js";import"./QU2IDIBF.js";import"./HN3P22JK.js";import"./UI2K7A6K.js";import"./UKVOZIPV.js";import"./OVNKAN7A.js";import"./6FSSM6C5.js";import"./3TRGQIG4.js";import"./4GJTZGZ2.js";import"./QB26MH3P.js";import"./G6EO7CEQ.js";import"./UCE3PD7K.js";import"./H6OGXITC.js";import"./J4IVVJW7.js";import"./DSYYVW3F.js";import"./V7HQLFUM.js";import"./ITWJGFNZ.js";import"./U4XP4SVP.js";import{a as b}from"./PSE37RBN.js";import"./L3KYPR4U.js";import"./HI22GMCZ.js";import{b as f}from"./25HFBBO7.js";import{B as l,C as u,h as c,i,n as r,w as d,x as p,y as h}from"./A2QNF47K.js";import"./N3JVQRW2.js";export default $arcgis.t(([C])=>{var $=c`/** @license
3
+ v1.1.0-next.20250804 */
4
+ import a from"./NPB3WTYD.js";import{a as _,b as o,c as v,d as w}from"./3T2O7NUV.js";import{a as s,c as y,d as g,e as m}from"./CRXF4B3G.js";import"./FFU4WRS2.js";import"./NJVLWYYW.js";import"./NNVYIBOE.js";import"./5MIYOPHC.js";import"./325K5D3X.js";import"./3UIPAYNA.js";import"./JOF7K3IJ.js";import"./MOVE65J6.js";import"./QYWVIB4H.js";import"./GEISZXPD.js";import"./KULFSFX2.js";import"./5LGVQGTC.js";import"./RWMBL7L7.js";import"./QOWVXWJR.js";import"./FH7KMOQC.js";import"./HWVN3MS5.js";import"./IYCDKPBQ.js";import"./HQTKZXQW.js";import"./G55PKUMG.js";import"./5FZP5C3S.js";import{a as b}from"./GDRQ4BYH.js";import"./KTVARFQK.js";import"./L5Z7XJTH.js";import{b as f}from"./TKSHKCPB.js";import{B as l,C as u,h as c,i,n as r,w as d,x as p,y as h}from"./7TAQ5RIA.js";import"./VCJXO3QG.js";export default $arcgis.t(([C])=>{var $=c`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import{a as w}from"./5WJUGKEL.js";import"./5AARPSFW.js";import{c as R,h as O,i as V}from"./QQI6TRPA.js";import{d as n,e as h,g as $}from"./AHEDR6FX.js";import{d as E}from"./HIWWU7SY.js";import{a as x}from"./PSE37RBN.js";import"./L3KYPR4U.js";import"./HI22GMCZ.js";import{b as L}from"./25HFBBO7.js";import{h as I,i as p,n as m,q as k,w as g,x as _,y as v}from"./A2QNF47K.js";import"./N3JVQRW2.js";var A=I`@layer{/** @license
3
+ v1.1.0-next.20250804 */
4
+ import{a as w}from"./CGPOHG6C.js";import"./EQV2JVUX.js";import{c as R,h as O,i as V}from"./MSIUS7CS.js";import{d as n,e as h,g as $}from"./2M5OJ5G2.js";import{d as E}from"./PPWCXZID.js";import{a as x}from"./GDRQ4BYH.js";import"./KTVARFQK.js";import"./L5Z7XJTH.js";import{b as L}from"./TKSHKCPB.js";import{h as I,i as p,n as m,q as k,w as g,x as _,y as v}from"./7TAQ5RIA.js";import"./VCJXO3QG.js";var A=I`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
3
+ v1.1.0-next.20250804 */
4
4
  var g=Object.create;var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var n=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),o=(a,b)=>{for(var c in b)e(a,c,{get:b[c],enumerable:!0})},l=(a,b,c,f)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of i(b))!k.call(a,d)&&d!==c&&e(a,d,{get:()=>b[d],enumerable:!(f=h(b,d))||f.enumerable});return a};var p=(a,b,c)=>(c=a!=null?g(j(a)):{},l(b||!a||!a.__esModule?e(c,"default",{value:a,enumerable:!0}):c,a));export{m as a,n as b,o as c,p as d};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import{a as t}from"./UML27CLC.js";import{r as e}from"./A2QNF47K.js";var a=e(t,{"instant-apps-app-guide":[()=>import("./6TJ4G3ER.js"),"data:,header"],"instant-apps-control-panel":[()=>import("./LUZ5SS5Q.js"),"components:,view:"],"instant-apps-create":[()=>import("./MJD4UYQV.js"),"content:,mode,options:,popoverIcon,popoverPlacement,popoverPositioning,portal:,showHeader"],"instant-apps-export":[()=>import("./IXHWGSUT.js"),"beforeExport:,defaultFileType,extraContent:,extraContentLabel,headerTitle,includeExtraContent,includeFileFormat,includeLegend,includeMap,includePopup,logoAltText,logoImage,maskBackground,maskBorder,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showExtraContentInImg,showHeaderTitle,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar,view:"],"instant-apps-export-views":[()=>import("./NI2DYTWY.js"),"beforeExport:,exportViews:,includeHeader,includeLegend,includeMap,includePopup,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showIncludeHeader,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar"],"instant-apps-filter-list":[()=>import("./2TQLIMIY.js"),"autoUpdateUrl,closeBtn,closeBtnOnClick:,closeBtnText,comboboxOverlayPositioning,extentSelector,extentSelectorConfig:,filterCount,layerExpressions:,openFilters,resetBtn,resetFiltersOnDisconnect,urlParams:,view:,zoomBtn;forceReset,getCurrentLayerExpressions,getFilterInitState,handleUpdatingT9nData,updateInitDefExpressions"],"instant-apps-header":[()=>import("./XLW62QJP.js"),"backgroundColor,customHeaderCss,customHeaderHtml,fontFamily,headerAlignment,infoButton,infoIsOpen,infoTitleText,logoImage,logoImageAltText,logoLink,logoScale,mobileWidthBreakpoint,textColor,titleText,titleTextLink;toggleInfo"],"instant-apps-interactive-legend":[()=>import("./FT42MIIU.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegend:e}))),"compact,featureCount,filterMode:,view:,zoomTo"],"instant-apps-interactive-legend-classic":[()=>import("./XVOTZ36C.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendClassic:e}))),"featureCount,filterMode:,legendvm:,messages:,zoomTo"],"instant-apps-interactive-legend-count":[()=>import("./XWZVSPN5.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendCount:e}))),"activeLayerInfo:,categoryId,infoIndex,legendElement:,legendvm:,selected,showTotal"],"instant-apps-interactive-legend-group-legend-element":[()=>import("./R3PW6KSS.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-group-legend-element-caption":[()=>import("./73DPGPG7.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element":[()=>import("./J7DQNAJK.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element-caption":[()=>import("./BLBKBQ7W.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-legend-element":[()=>import("./T2FLCA5K.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElement:e}))),"activeLayerInfo:,isChild,isColorRamp,isInteractive,isRelationshipRamp,isSizeRamp,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-legend-element-caption":[()=>import("./6XPLK57P.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElementCaption:e}))),"activeLayerInfo:,expanded,isInteractive,layer:,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-relationship":[()=>import("./A4PWAQDV.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendRelationship:e}))),"activeLayerInfo:,filterMode:,legendElement:"],"instant-apps-keyboard-shortcuts":[()=>import("./MVPUNAPA.js"),"view:"],"instant-apps-landing-page":[()=>import("./ZG4LGFKY.js"),"alignment:,backgroundImageSrc,descriptionText,disableTransition,enableSignIn,entryButtonScale,entryButtonText,fontFamily,iconImage,iconImageAltText,iconImageScale,oauthappid,open,portal:,subtitleText,titleText"],"instant-apps-language-switcher":[()=>import("./O2GXK46T.js"),"calciteDropdownOverlayPositioning,defaultLocale,icon,locales:,portalItem:,selectedLanguage,view:;refresh"],"instant-apps-language-translator":[()=>import("./FSTZH7GL.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslator:e}))),"appSettings:,locales:,open,portalItem:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:;batchWriteToPortalItemResource,getPortalItemResource,getTranslationData,setTranslationData"],"instant-apps-ckeditor-wrapper":[()=>import("./GQBP35TH.js"),"config:,editorInstance:,value"],"instant-apps-language-translator-item":[()=>import("./AD6Z7JIO.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorItem:e}))),"fieldName,setting:,translatedLanguageLabels:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:"],"instant-apps-language-translator-search":[()=>import("./HYHCUL5X.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorSearch:e}))),"t9nPlaceholder"],"instant-apps-measurement":[()=>import("./SP5ULXWS.js"),"activeToolType,areaUnit,closable,coordinateFormat,linearUnit,view:"],"instant-apps-measurement-tool":[()=>import("./6ZGLTKMR.js"),"activeTool,measureConfiguration:,view:"],"instant-apps-popover":[()=>import("./3JZGXNAU.js"),"content,disableAction,imgAlt,imgSrc,index,mediaSrc,messageOverrides:,pagination,parent:,placement,popoverAction:,popoverTitle,referenceElement,refId,subtitle"],"instant-apps-popovers":[()=>import("./KL2T3UMN.js"),"beforeOpen:,currentId,instantAppsPopovers:,inTour;beginTour,close,done,endTour,next,open,previous"],"instant-apps-scoreboard":[()=>import("./EFS5RERR.js"),"autoDockEnabled,geometry:,itemLimit,items:,mode:,position:,queryType,view:"],"instant-apps-sign-in":[()=>import("./62F4Z2RZ.js"),"closeLandingPage:,landingPage,oauthappid,openInPopup,portal:,showIndicator,signInPopoverItems:,type"],"instant-apps-social-share":[()=>import("./U75F55GL.js"),"autoUpdateShareUrl,defaultUrlParams:,displayTipText,embed,flipRtl,iframeInnerText,inlineSuccessPopoverPlacement,isNativeShareEnabled,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonColor,shareButtonScale,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,successMessage,useNativeShare,view:"],"instant-apps-splash":[()=>import("./5U44RL2U.js"),"closeButtonDisabled,content,localStorageKey,open,outsideCloseDisabled,primaryButtonText,secondaryButton,secondaryButtonCallback:,secondaryButtonIcon,secondaryButtonText,titleText"],"instant-apps-time-filter":[()=>import("./YLTGZWFU.js").then(m=>m.default.then(e=>({InstantAppsTimeFilter:e}))),"autoPlay,filterMode:,timeInfoConfigItems:,timeSliderConfig:,view:"]});export{a};
3
+ v1.1.0-next.20250804 */
4
+ import{a as t}from"./67N2QUDS.js";import{r as e}from"./7TAQ5RIA.js";var a=e(t,{"instant-apps-app-guide":[()=>import("./R2RQDXYK.js"),"data:,header"],"instant-apps-control-panel":[()=>import("./PJSHOIQU.js"),"components:,view:"],"instant-apps-create":[()=>import("./XRWYBWQK.js"),"content:,mode,options:,popoverIcon,popoverPlacement,popoverPositioning,portal:,showHeader"],"instant-apps-export":[()=>import("./TU66IWII.js"),"beforeExport:,defaultFileType,extraContent:,extraContentLabel,headerTitle,includeExtraContent,includeFileFormat,includeLegend,includeMap,includePopup,logoAltText,logoImage,maskBackground,maskBorder,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showExtraContentInImg,showHeaderTitle,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar,view:"],"instant-apps-export-views":[()=>import("./7L6MX7NY.js"),"beforeExport:,exportViews:,includeHeader,includeLegend,includeMap,includePopup,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showIncludeHeader,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar"],"instant-apps-filter-list":[()=>import("./5RI43AEF.js"),"autoUpdateUrl,closeBtn,closeBtnOnClick:,closeBtnText,comboboxOverlayPositioning,extentSelector,extentSelectorConfig:,filterCount,layerExpressions:,openFilters,resetBtn,resetFiltersOnDisconnect,urlParams:,view:,zoomBtn;forceReset,getCurrentLayerExpressions,getFilterInitState,handleUpdatingT9nData,updateInitDefExpressions"],"instant-apps-header":[()=>import("./NL7A2BN6.js"),"backgroundColor,customHeaderCss,customHeaderHtml,fontFamily,headerAlignment,infoButton,infoIsOpen,infoTitleText,logoImage,logoImageAltText,logoLink,logoScale,mobileWidthBreakpoint,textColor,titleText,titleTextLink;toggleInfo"],"instant-apps-interactive-legend":[()=>import("./4HDK7HAO.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegend:e}))),"compact,featureCount,filterMode:,view:,zoomTo"],"instant-apps-interactive-legend-classic":[()=>import("./GEBGZYZ4.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendClassic:e}))),"featureCount,filterMode:,legendvm:,messages:,zoomTo"],"instant-apps-interactive-legend-count":[()=>import("./GFOJ2475.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendCount:e}))),"activeLayerInfo:,categoryId,infoIndex,legendElement:,legendvm:,selected,showTotal"],"instant-apps-interactive-legend-group-legend-element":[()=>import("./QH3NYN25.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-group-legend-element-caption":[()=>import("./HGKMBBAZ.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element":[()=>import("./FDU23JEN.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element-caption":[()=>import("./JH5MCOTH.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-legend-element":[()=>import("./G5HT4QPA.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElement:e}))),"activeLayerInfo:,isChild,isColorRamp,isInteractive,isRelationshipRamp,isSizeRamp,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-legend-element-caption":[()=>import("./TVE3SWML.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElementCaption:e}))),"activeLayerInfo:,expanded,isInteractive,layer:,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-relationship":[()=>import("./JALZR5WY.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendRelationship:e}))),"activeLayerInfo:,filterMode:,legendElement:"],"instant-apps-keyboard-shortcuts":[()=>import("./BRRHEFK3.js"),"view:"],"instant-apps-landing-page":[()=>import("./63LHTNJZ.js"),"alignment:,backgroundImageSrc,descriptionText,disableTransition,enableSignIn,entryButtonScale,entryButtonText,fontFamily,iconImage,iconImageAltText,iconImageScale,oauthappid,open,portal:,subtitleText,titleText"],"instant-apps-language-switcher":[()=>import("./H5EJ2QTN.js"),"calciteDropdownOverlayPositioning,defaultLocale,icon,locales:,portalItem:,selectedLanguage,view:;refresh"],"instant-apps-language-translator":[()=>import("./XNZIKTAG.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslator:e}))),"appSettings:,locales:,open,portalItem:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:;batchWriteToPortalItemResource,getPortalItemResource,getTranslationData,setTranslationData"],"instant-apps-ckeditor-wrapper":[()=>import("./WITXMTMP.js"),"config:,editorInstance:,value"],"instant-apps-language-translator-item":[()=>import("./5EBHLME5.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorItem:e}))),"fieldName,setting:,translatedLanguageLabels:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:"],"instant-apps-language-translator-search":[()=>import("./BBWLJFLV.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorSearch:e}))),"t9nPlaceholder"],"instant-apps-measurement":[()=>import("./TYLIWK4T.js"),"activeToolType,areaUnit,closable,coordinateFormat,linearUnit,view:"],"instant-apps-measurement-tool":[()=>import("./Z563KGJ5.js"),"activeTool,measureConfiguration:,view:"],"instant-apps-popover":[()=>import("./2MI622UR.js"),"content,disableAction,imgAlt,imgSrc,index,mediaSrc,messageOverrides:,pagination,parent:,placement,popoverAction:,popoverTitle,referenceElement,refId,subtitle"],"instant-apps-popovers":[()=>import("./7FJ3O3A2.js"),"beforeOpen:,currentId,instantAppsPopovers:,inTour;beginTour,close,done,endTour,next,open,previous"],"instant-apps-scoreboard":[()=>import("./LW47XLXE.js"),"autoDockEnabled,geometry:,itemLimit,items:,mode:,position:,queryType,view:"],"instant-apps-sign-in":[()=>import("./GXC7MW7H.js"),"closeLandingPage:,landingPage,oauthappid,openInPopup,portal:,showIndicator,signInPopoverItems:,type"],"instant-apps-social-share":[()=>import("./XXTUAYVD.js"),"autoUpdateShareUrl,defaultUrlParams:,displayTipText,embed,flipRtl,iframeInnerText,inlineSuccessPopoverPlacement,isNativeShareEnabled,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonColor,shareButtonScale,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,successMessage,useNativeShare,view:"],"instant-apps-splash":[()=>import("./QBYSBJGO.js"),"closeButtonDisabled,content,localStorageKey,open,outsideCloseDisabled,primaryButtonText,secondaryButton,secondaryButtonCallback:,secondaryButtonIcon,secondaryButtonText,titleText"],"instant-apps-time-filter":[()=>import("./26JVTWH7.js").then(m=>m.default.then(e=>({InstantAppsTimeFilter:e}))),"autoPlay,filterMode:,timeInfoConfigItems:,timeSliderConfig:,view:"]});export{a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import"./N3JVQRW2.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.1.0-next.20250804 */
4
+ import"./VCJXO3QG.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import{a as G}from"./GTECY6TF.js";import{a as L}from"./SBP4N5DS.js";import{c as K,d as _,e as U}from"./PIZGPSRE.js";import"./FQKGNPW6.js";import{l as j,p as P}from"./HN3P22JK.js";import"./UI2K7A6K.js";import"./CM6TYWX6.js";import"./6FSSM6C5.js";import"./3TRGQIG4.js";import{a as S}from"./4GJTZGZ2.js";import"./QB26MH3P.js";import"./DIS53LGB.js";import"./G6EO7CEQ.js";import"./UCE3PD7K.js";import{w}from"./H6OGXITC.js";import"./J4IVVJW7.js";import"./DSYYVW3F.js";import"./V7HQLFUM.js";import"./ITWJGFNZ.js";import"./U4XP4SVP.js";import{b as A}from"./SROUOTOF.js";import{a as c,b as p}from"./BAFGE6VY.js";import"./N3JVQRW2.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
3
+ v1.1.0-next.20250804 */
4
+ import{a as G}from"./NNVYIBOE.js";import{a as L}from"./GBVPDYV4.js";import{c as K,d as _,e as U}from"./QMZ4ECYO.js";import"./2IUUDF7W.js";import{l as j,p as P}from"./325K5D3X.js";import"./3UIPAYNA.js";import"./QOMQ2O42.js";import"./QYWVIB4H.js";import"./GEISZXPD.js";import{a as S}from"./KULFSFX2.js";import"./5LGVQGTC.js";import"./TJEMS4LZ.js";import"./RWMBL7L7.js";import"./QOWVXWJR.js";import{w}from"./FH7KMOQC.js";import"./HWVN3MS5.js";import"./IYCDKPBQ.js";import"./HQTKZXQW.js";import"./G55PKUMG.js";import"./5FZP5C3S.js";import{b as A}from"./SUFBRQSQ.js";import{a as c,b as p}from"./LNE75S3A.js";import"./VCJXO3QG.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import{a as k}from"./5WJUGKEL.js";import"./5AARPSFW.js";import{g as s}from"./AHEDR6FX.js";import{b as y}from"./R4TPG3DO.js";import{a as w}from"./PSE37RBN.js";import"./L3KYPR4U.js";import"./HI22GMCZ.js";import{b as m}from"./25HFBBO7.js";import{A as o,h as c,i as l,n as a,q as d,w as n,x as p,y as g}from"./A2QNF47K.js";import"./N3JVQRW2.js";var _=c`@layer{/** @license
3
+ v1.1.0-next.20250804 */
4
+ import{a as k}from"./CGPOHG6C.js";import"./EQV2JVUX.js";import{g as s}from"./2M5OJ5G2.js";import{b as y}from"./TXIDAG5O.js";import{a as w}from"./GDRQ4BYH.js";import"./KTVARFQK.js";import"./L5Z7XJTH.js";import{b as m}from"./TKSHKCPB.js";import{A as o,h as c,i as l,n as a,q as d,w as n,x as p,y as g}from"./7TAQ5RIA.js";import"./VCJXO3QG.js";var _=c`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import{a as n}from"./7I3GA5DX.js";import{a as p}from"./3GSPSBR2.js";import"./QB26MH3P.js";import{a as r,b as i}from"./YJ3MW2JY.js";import"./DIS53LGB.js";import"./G6EO7CEQ.js";import{d as a}from"./UCE3PD7K.js";import"./J4IVVJW7.js";import"./DSYYVW3F.js";import"./V7HQLFUM.js";import"./ITWJGFNZ.js";import{a as t}from"./2GG4TAB5.js";import"./WDPCEJWO.js";import"./U4XP4SVP.js";import"./7CHJP5FF.js";import"./3K7RVP62.js";import"./3RYGLJSU.js";import"./KUHZ7NUV.js";import"./HT35VQR3.js";import"./ATETIVT6.js";import"./XVNMBFFV.js";import"./SROUOTOF.js";import"./MXZUWU5U.js";import"./BAFGE6VY.js";import"./CN7U4Z7M.js";import"./74MX4QLZ.js";import"./NDND3YNI.js";import"./6HJNTC7F.js";import"./XAMZTC4V.js";import"./VH5CQ62Q.js";import"./7C46WXZU.js";import"./STLINJZP.js";import"./N4JFNJAP.js";import"./CEW2J6RG.js";import"./N3JVQRW2.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.1.0-next.20250804 */
4
+ import{a as n}from"./EAARL36R.js";import{a as p}from"./SSLYRR7G.js";import"./5LGVQGTC.js";import{a as r,b as i}from"./WL7SYSU2.js";import"./TJEMS4LZ.js";import"./RWMBL7L7.js";import{d as a}from"./QOWVXWJR.js";import"./HWVN3MS5.js";import"./IYCDKPBQ.js";import"./HQTKZXQW.js";import"./G55PKUMG.js";import{a as t}from"./DVODLANP.js";import"./U3WQ32QA.js";import"./5FZP5C3S.js";import"./U74VGJ3T.js";import"./FESKL5ZV.js";import"./7JUKQJGZ.js";import"./7WB2V7EC.js";import"./YLPKFOK6.js";import"./WH64AKQW.js";import"./XULFPBP6.js";import"./SUFBRQSQ.js";import"./OPRT5PGD.js";import"./LNE75S3A.js";import"./PO57BOD5.js";import"./LZQ4FPMV.js";import"./2JY7EWW7.js";import"./G7LI5TQC.js";import"./2NGSYXGK.js";import"./3YIYAWOH.js";import"./4V36JLGC.js";import"./JQRYRWLD.js";import"./3HWTOTAW.js";import"./N5QB5MLB.js";import"./VCJXO3QG.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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import{a as s}from"./54I7CNTR.js";import"./6FSSM6C5.js";import"./3TRGQIG4.js";import"./4GJTZGZ2.js";import"./QB26MH3P.js";import{a as r,b as a}from"./YJ3MW2JY.js";import"./DIS53LGB.js";import"./G6EO7CEQ.js";import"./UCE3PD7K.js";import{a as o}from"./GW33ZZHC.js";import{a as i}from"./2W6UZ4WR.js";import"./H6OGXITC.js";import"./J4IVVJW7.js";import"./DSYYVW3F.js";import"./V7HQLFUM.js";import"./ITWJGFNZ.js";import"./2GG4TAB5.js";import"./WDPCEJWO.js";import"./U4XP4SVP.js";import"./7CHJP5FF.js";import"./3K7RVP62.js";import"./3RYGLJSU.js";import"./KUHZ7NUV.js";import"./HT35VQR3.js";import"./ATETIVT6.js";import"./XVNMBFFV.js";import"./SROUOTOF.js";import"./MXZUWU5U.js";import"./BAFGE6VY.js";import"./CN7U4Z7M.js";import"./74MX4QLZ.js";import"./NDND3YNI.js";import"./6HJNTC7F.js";import"./XAMZTC4V.js";import"./VH5CQ62Q.js";import"./7C46WXZU.js";import"./STLINJZP.js";import"./N4JFNJAP.js";import"./CEW2J6RG.js";import"./N3JVQRW2.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"survey",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u as buildUiSchema};
3
+ v1.1.0-next.20250804 */
4
+ import{a as s}from"./TAUEMN7H.js";import"./QYWVIB4H.js";import"./GEISZXPD.js";import"./KULFSFX2.js";import"./5LGVQGTC.js";import{a as r,b as a}from"./WL7SYSU2.js";import"./TJEMS4LZ.js";import"./RWMBL7L7.js";import"./QOWVXWJR.js";import{a as o}from"./R7PQZLQD.js";import{a as i}from"./MFHK7DKH.js";import"./FH7KMOQC.js";import"./HWVN3MS5.js";import"./IYCDKPBQ.js";import"./HQTKZXQW.js";import"./G55PKUMG.js";import"./DVODLANP.js";import"./U3WQ32QA.js";import"./5FZP5C3S.js";import"./U74VGJ3T.js";import"./FESKL5ZV.js";import"./7JUKQJGZ.js";import"./7WB2V7EC.js";import"./YLPKFOK6.js";import"./WH64AKQW.js";import"./XULFPBP6.js";import"./SUFBRQSQ.js";import"./OPRT5PGD.js";import"./LNE75S3A.js";import"./PO57BOD5.js";import"./LZQ4FPMV.js";import"./2JY7EWW7.js";import"./G7LI5TQC.js";import"./2NGSYXGK.js";import"./3YIYAWOH.js";import"./4V36JLGC.js";import"./JQRYRWLD.js";import"./3HWTOTAW.js";import"./N5QB5MLB.js";import"./VCJXO3QG.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"survey",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import a from"./R57C4DNW.js";import{H as k,ib as R,jb as y,o as N}from"./2FWYC6N2.js";import{g as w}from"./J4IVVJW7.js";import{m as E,p as M}from"./AHEDR6FX.js";export default $arcgis.t(([{e:V,f:D,g:x,j:S,k:O}])=>{function J(a,r){let e=[];return a.forEach(t=>{r.has(t.id)&&e.push(t)}),e}function u(a,r,e){if(r<1||a.length<r)return{cards:[],paging:{start:r,num:0,nextStart:-1,total:a.length}};let t=Math.min(r+e,a.length+1),s=t<a.length?t:-1;return{cards:a.slice(r-1,t-1),paging:{start:r,num:t-r,nextStart:s,total:a.length}}}function B(a,r){let e=j(a);return G(e,r)}function G(a,r){let e=[];return r.forEach(t=>{let s=T(t);s&&a.indexOf(s)>=0&&t.relatedSolutions&&(e=e.concat(t.relatedSolutions))}),new Set(e)}function T(a){let r="solutionid-",e=a.typeKeywords.filter(s=>s.startsWith(r)),t=null;return Array.isArray(e)&&e.length>0&&(t=e[0].substring(r.length)),t}function j(a){let r=[];return a.forEach(e=>{let t=T(e);t&&r.push(t)}),r=Array.from(new Set(r)),r}function U(a,r,e){let t,s=e==="asc"?1:-1;switch(r){case"created":t=(o,i)=>s*(o.createdMs<i.createdMs?-1:o.createdMs>i.createdMs?1:0);break;case"numviews":t=(o,i)=>s*(o.numViews<i.numViews?-1:o.numViews>i.numViews?1:0);break;case"title":t=(o,i)=>s*(o.title.toLowerCase()<i.title.toLowerCase()?-1:o.title.toLowerCase()>i.title.toLowerCase()?1:0);break;default:t=()=>0;break}return a.sort(t),a}var K=class{constructor(r,e,t){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=r,this.orgUrl=e,this.portalUrl=t,this.anonAgolSession=new w({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(r){this.cardCache.push(r)}getCache(){return this.cardCache}removeFromCache(r){this.cardCache=this.cardCache.filter(e=>e.id!==r)}requestAvailableSolutionCards(r,e,t,s,o,i){let n=o?.start?o.start:1,h=o?.num?o.num:24,g=this.portalUrl+"/sharing/rest",p=this.agolPortalUrl+"/sharing/rest",m=this.anonAgolSession,F=JSON.stringify(r.categories);if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==F||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:F,sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=U(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let c;if(i&&i.size>0){let l=J(this.cardCache,i);c=u(l,n,h)}else c=u(this.cardCache,n,h);return Promise.resolve(c)}let A={filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,categories:r?.categories?this.convertSearchCategories(r.categories):""},C=[];if(e){let c=s||new w({});C.push(y(e,r.q,c,A,g))}return t&&C.push(y(t,r.q,m,A,p)),Promise.allSettled(C).then(c=>{let l=[];c.forEach((d,L)=>{let q=!!e&&L===0;if(d.status==="fulfilled"){let v=d.value,P="",I=!1;q?P=this.portalUrl:(P=this.agolPortalUrl,I=!0),v.results.forEach(b=>{b.sourcePortalUrl=P,b.knownToBePublicSource=I}),l.push(v)}else if(d.status==="rejected")throw new Error(q?d.reason.message:"enterpriseCannotAccessAGO")}),l.length===0?this.cardCache=[]:l.length===1?this.cardCache=this.getCardsFromResponse(l[0]):this.cardCache=U(this.getCardsFromResponse(this.mergeResponses(l)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let f;if(i&&i.size>0){let d=J(this.cardCache,i);f=u(d,n,h)}else f=u(this.cardCache,n,h);return Promise.resolve(f)}).catch(c=>Promise.reject(new Error(c.message)))}requestDeployedSolutionCards(r,e){let t=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(r.q)||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:"[]",sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=U(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(o)}let s={q:r.q,filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,authentication:e,portal:t,categories:r?.categories?JSON.stringify(r.categories):""};return R(s).then(o=>{this.cardCache=this.getCardsFromResponse(o);let i=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(o=>Promise.reject(new Error(o)))}convertSearchCategories(r){return r&&(Array.isArray(r)?r=r.map(e=>JSON.stringify(Array.isArray(e)?e:[e])):r=JSON.stringify([r])),r}getCardsFromResponse(r){return r.results.length>0?N(r.results).map(e=>{let t={id:e.id,title:e.title,snippet:e.snippet||"",description:e.description||"",url:e.url||"",itemUrl:this.orgUrl+"/home/item.html"+D([{k:"id",v:e.id}])||"",thumbnailFilename:e.thumbnail,thumbnailUrl:x(e.id,e.thumbnail,this.cMissingImageDataURI,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),tryitUrl:e.url||"",typeKeywords:e.typeKeywords,learnMoreUrl:e.properties?.learnMoreUrl||"",createdMs:e.created,created:S(e.created,this.locale),modified:S(e.modified,this.locale),numViews:e.numViews,tags:e.tags,categories:e.groupCategories&&e.groupCategories.length>0?e.groupCategories:e.categories||[],licenseInfo:V(e.licenseInfo),deployCommonId:O(e.typeKeywords||[],"solutionid-"),deployVersion:O(e.typeKeywords||[],"solutionversion-"),canDelete:e.created>16183314e5,canDeploy:(e.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(e.id,e.properties?.preview,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),sourcePortalUrl:e.sourcePortalUrl||"",knownToBePublicSource:e.knownToBePublicSource||!1,waitId:"",relatedSolutions:k(e,"properties.relatedSolutions")||[],owner:e.owner};return t.deployCommonId!==""&&t.deployVersion!==""?t:null}).filter(e=>e!=null):[]}mergeResponses(r){let e=0;r.forEach(s=>e+=s.total);let t=[];return r.forEach(s=>t=t.concat(s.results)),{query:r[0].query,start:1,num:e,nextStart:-1,total:e,results:t}}preparePreviewImageUrls(r,e,t){return e?e.map(s=>(s.format==="image"&&(s.name=t+"/sharing/rest/content/items/"+r+"/resources/"+s.name),s)):[]}};async function X(a,r,e,t,s=M,o="created",i="desc",n=!1,h=[],g=[],p){if(!a?.SignedIn)return;let m={q:s,filter:"type:Solution",sortField:o,sortOrder:i,delay:n,categories:h};return m.q+=z(a,p),await Q(r,m,t,g)}function z(a,r){let e="",t=a.PortalUserOrg,s=a.PortalUserName;return t&&(e+=" orgid:"+t),r!==E.ORGANIZATION&&s&&(e+=" owner:"+s),e}async function Q(a,r,e,t){let s=await e.requestDeployedSolutionCards(r,a),o=B(s.cards,t);return{cards:s.cards,relatedSolutions:o}}return{a:K,b:X}},a)
3
+ v1.1.0-next.20250804 */
4
+ import a from"./PMZ5WB6C.js";import{H as k,ib as R,jb as y,o as N}from"./FFU4WRS2.js";import{g as w}from"./HWVN3MS5.js";import{m as E,p as M}from"./2M5OJ5G2.js";export default $arcgis.t(([{e:V,f:D,g:x,j:S,k:O}])=>{function J(a,r){let e=[];return a.forEach(t=>{r.has(t.id)&&e.push(t)}),e}function u(a,r,e){if(r<1||a.length<r)return{cards:[],paging:{start:r,num:0,nextStart:-1,total:a.length}};let t=Math.min(r+e,a.length+1),s=t<a.length?t:-1;return{cards:a.slice(r-1,t-1),paging:{start:r,num:t-r,nextStart:s,total:a.length}}}function B(a,r){let e=j(a);return G(e,r)}function G(a,r){let e=[];return r.forEach(t=>{let s=T(t);s&&a.indexOf(s)>=0&&t.relatedSolutions&&(e=e.concat(t.relatedSolutions))}),new Set(e)}function T(a){let r="solutionid-",e=a.typeKeywords.filter(s=>s.startsWith(r)),t=null;return Array.isArray(e)&&e.length>0&&(t=e[0].substring(r.length)),t}function j(a){let r=[];return a.forEach(e=>{let t=T(e);t&&r.push(t)}),r=Array.from(new Set(r)),r}function U(a,r,e){let t,s=e==="asc"?1:-1;switch(r){case"created":t=(o,i)=>s*(o.createdMs<i.createdMs?-1:o.createdMs>i.createdMs?1:0);break;case"numviews":t=(o,i)=>s*(o.numViews<i.numViews?-1:o.numViews>i.numViews?1:0);break;case"title":t=(o,i)=>s*(o.title.toLowerCase()<i.title.toLowerCase()?-1:o.title.toLowerCase()>i.title.toLowerCase()?1:0);break;default:t=()=>0;break}return a.sort(t),a}var K=class{constructor(r,e,t){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=r,this.orgUrl=e,this.portalUrl=t,this.anonAgolSession=new w({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(r){this.cardCache.push(r)}getCache(){return this.cardCache}removeFromCache(r){this.cardCache=this.cardCache.filter(e=>e.id!==r)}requestAvailableSolutionCards(r,e,t,s,o,i){let n=o?.start?o.start:1,h=o?.num?o.num:24,g=this.portalUrl+"/sharing/rest",p=this.agolPortalUrl+"/sharing/rest",m=this.anonAgolSession,F=JSON.stringify(r.categories);if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==F||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:F,sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=U(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let c;if(i&&i.size>0){let l=J(this.cardCache,i);c=u(l,n,h)}else c=u(this.cardCache,n,h);return Promise.resolve(c)}let A={filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,categories:r?.categories?this.convertSearchCategories(r.categories):""},C=[];if(e){let c=s||new w({});C.push(y(e,r.q,c,A,g))}return t&&C.push(y(t,r.q,m,A,p)),Promise.allSettled(C).then(c=>{let l=[];c.forEach((d,L)=>{let q=!!e&&L===0;if(d.status==="fulfilled"){let v=d.value,P="",I=!1;q?P=this.portalUrl:(P=this.agolPortalUrl,I=!0),v.results.forEach(b=>{b.sourcePortalUrl=P,b.knownToBePublicSource=I}),l.push(v)}else if(d.status==="rejected")throw new Error(q?d.reason.message:"enterpriseCannotAccessAGO")}),l.length===0?this.cardCache=[]:l.length===1?this.cardCache=this.getCardsFromResponse(l[0]):this.cardCache=U(this.getCardsFromResponse(this.mergeResponses(l)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let f;if(i&&i.size>0){let d=J(this.cardCache,i);f=u(d,n,h)}else f=u(this.cardCache,n,h);return Promise.resolve(f)}).catch(c=>Promise.reject(new Error(c.message)))}requestDeployedSolutionCards(r,e){let t=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(r.q)||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:"[]",sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=U(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(o)}let s={q:r.q,filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,authentication:e,portal:t,categories:r?.categories?JSON.stringify(r.categories):""};return R(s).then(o=>{this.cardCache=this.getCardsFromResponse(o);let i=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(o=>Promise.reject(new Error(o)))}convertSearchCategories(r){return r&&(Array.isArray(r)?r=r.map(e=>JSON.stringify(Array.isArray(e)?e:[e])):r=JSON.stringify([r])),r}getCardsFromResponse(r){return r.results.length>0?N(r.results).map(e=>{let t={id:e.id,title:e.title,snippet:e.snippet||"",description:e.description||"",url:e.url||"",itemUrl:this.orgUrl+"/home/item.html"+D([{k:"id",v:e.id}])||"",thumbnailFilename:e.thumbnail,thumbnailUrl:x(e.id,e.thumbnail,this.cMissingImageDataURI,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),tryitUrl:e.url||"",typeKeywords:e.typeKeywords,learnMoreUrl:e.properties?.learnMoreUrl||"",createdMs:e.created,created:S(e.created,this.locale),modified:S(e.modified,this.locale),numViews:e.numViews,tags:e.tags,categories:e.groupCategories&&e.groupCategories.length>0?e.groupCategories:e.categories||[],licenseInfo:V(e.licenseInfo),deployCommonId:O(e.typeKeywords||[],"solutionid-"),deployVersion:O(e.typeKeywords||[],"solutionversion-"),canDelete:e.created>16183314e5,canDeploy:(e.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(e.id,e.properties?.preview,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),sourcePortalUrl:e.sourcePortalUrl||"",knownToBePublicSource:e.knownToBePublicSource||!1,waitId:"",relatedSolutions:k(e,"properties.relatedSolutions")||[],owner:e.owner};return t.deployCommonId!==""&&t.deployVersion!==""?t:null}).filter(e=>e!=null):[]}mergeResponses(r){let e=0;r.forEach(s=>e+=s.total);let t=[];return r.forEach(s=>t=t.concat(s.results)),{query:r[0].query,start:1,num:e,nextStart:-1,total:e,results:t}}preparePreviewImageUrls(r,e,t){return e?e.map(s=>(s.format==="image"&&(s.name=t+"/sharing/rest/content/items/"+r+"/resources/"+s.name),s)):[]}};async function X(a,r,e,t,s=M,o="created",i="desc",n=!1,h=[],g=[],p){if(!a?.SignedIn)return;let m={q:s,filter:"type:Solution",sortField:o,sortOrder:i,delay:n,categories:h};return m.q+=z(a,p),await Q(r,m,t,g)}function z(a,r){let e="",t=a.PortalUserOrg,s=a.PortalUserName;return t&&(e+=" orgid:"+t),r!==E.ORGANIZATION&&s&&(e+=" owner:"+s),e}async function Q(a,r,e,t){let s=await e.requestDeployedSolutionCards(r,a),o=B(s.cards,t);return{cards:s.cards,relatedSolutions:o}}return{a:K,b:X}},a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import{a as e}from"./STLINJZP.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};
3
+ v1.1.0-next.20250804 */
4
+ import{a as e}from"./JQRYRWLD.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import{b as c}from"./UML27CLC.js";import{h as s,i as r,n as i,q as o,y as n}from"./A2QNF47K.js";import"./N3JVQRW2.js";var h=`
3
+ v1.1.0-next.20250804 */
4
+ import{b as c}from"./67N2QUDS.js";import{h as s,i as r,n as i,q as o,y as n}from"./7TAQ5RIA.js";import"./VCJXO3QG.js";var h=`
5
5
  .ck.ck-reset.ck-editor.ck-rounded-corners {
6
6
  margin-top: 10px !important;
7
7
  margin-left: 55px !important;
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import{a as i}from"./DIS53LGB.js";import{a as s,c as l,d as r}from"./G6EO7CEQ.js";async function u(n,a){var e;return!((e=n?.extent)===null||e===void 0)&&e.length?s(n.extent):await r(a)}async function g(n,a,e,c,d){let o=await r(d);return[{label:"{{shared.fields.location.none:translate}}",location:{type:"none"}},{label:"{{shared.fields.location.org:translate}}",description:c,location:{type:"org",extent:l(o),spatialReference:o.spatialReference}},{label:"{{shared.fields.location.custom:translate}}",description:"{{shared.fields.location.customDescription:translate}}",entityType:i({type:a}),location:{type:"custom",spatialReference:o.spatialReference}}].map(t=>(!n&&t.location.type==="custom"||n&&!e&&t.location.type==="none"?t.selected=!0:e?.type===t.location.type&&(t.location=e,t.selected=!0),t))}export{u as a,g as b};
3
+ v1.1.0-next.20250804 */
4
+ import{a as i}from"./TJEMS4LZ.js";import{a as s,c as l,d as r}from"./RWMBL7L7.js";async function u(n,a){var e;return!((e=n?.extent)===null||e===void 0)&&e.length?s(n.extent):await r(a)}async function g(n,a,e,c,d){let o=await r(d);return[{label:"{{shared.fields.location.none:translate}}",location:{type:"none"}},{label:"{{shared.fields.location.org:translate}}",description:c,location:{type:"org",extent:l(o),spatialReference:o.spatialReference}},{label:"{{shared.fields.location.custom:translate}}",description:"{{shared.fields.location.customDescription:translate}}",entityType:i({type:a}),location:{type:"custom",spatialReference:o.spatialReference}}].map(t=>(!n&&t.location.type==="custom"||n&&!e&&t.location.type==="none"?t.selected=!0:e?.type===t.location.type&&(t.location=e,t.selected=!0),t))}export{u as a,g as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import{a as p}from"./PSE37RBN.js";import"./L3KYPR4U.js";import"./HI22GMCZ.js";import{b as d}from"./25HFBBO7.js";import{A as n,C as a,h as o,i as t,n as r,y as l}from"./A2QNF47K.js";import"./N3JVQRW2.js";var m=o`/** @license
3
+ v1.1.0-next.20250804 */
4
+ import{a as p}from"./GDRQ4BYH.js";import"./KTVARFQK.js";import"./L5Z7XJTH.js";import{b as d}from"./TKSHKCPB.js";import{A as n,C as a,h as o,i as t,n as r,y as l}from"./7TAQ5RIA.js";import"./VCJXO3QG.js";var m=o`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import{a as f,c as g,e as I}from"./QQI6TRPA.js";import"./AHEDR6FX.js";import"./HIWWU7SY.js";import{a as w,b as c}from"./R4TPG3DO.js";import{a as u}from"./PSE37RBN.js";import"./L3KYPR4U.js";import"./HI22GMCZ.js";import{b as L}from"./25HFBBO7.js";import{h as p,i as r,n as h,q as d,y as m}from"./A2QNF47K.js";import"./N3JVQRW2.js";async function _(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=p`@layer{/** @license
3
+ v1.1.0-next.20250804 */
4
+ import{a as f,c as g,e as I}from"./MSIUS7CS.js";import"./2M5OJ5G2.js";import"./PPWCXZID.js";import{a as w,b as c}from"./TXIDAG5O.js";import{a as u}from"./GDRQ4BYH.js";import"./KTVARFQK.js";import"./L5Z7XJTH.js";import{b as L}from"./TKSHKCPB.js";import{h as p,i as r,n as h,q as d,y as m}from"./7TAQ5RIA.js";import"./VCJXO3QG.js";async function _(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=p`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import{d as w,e as L}from"./QQI6TRPA.js";import"./AHEDR6FX.js";import"./HIWWU7SY.js";import{b}from"./R4TPG3DO.js";import{a as V}from"./PSE37RBN.js";import"./L3KYPR4U.js";import"./HI22GMCZ.js";import{b as v}from"./25HFBBO7.js";import{A as m,h as y,i as l,n as h,q as f,w as c,x as p,y as M}from"./A2QNF47K.js";import"./N3JVQRW2.js";var S=y`@layer{/** @license
3
+ v1.1.0-next.20250804 */
4
+ import{d as w,e as L}from"./MSIUS7CS.js";import"./2M5OJ5G2.js";import"./PPWCXZID.js";import{b}from"./TXIDAG5O.js";import{a as V}from"./GDRQ4BYH.js";import"./KTVARFQK.js";import"./L5Z7XJTH.js";import{b as v}from"./TKSHKCPB.js";import{A as m,h as y,i as l,n as h,q as f,w as c,x as p,y as M}from"./7TAQ5RIA.js";import"./VCJXO3QG.js";var S=y`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import{a as t}from"./2GG4TAB5.js";import"./WDPCEJWO.js";import"./U4XP4SVP.js";import"./7CHJP5FF.js";import"./3K7RVP62.js";import"./3RYGLJSU.js";import"./KUHZ7NUV.js";import"./HT35VQR3.js";import"./ATETIVT6.js";import"./XVNMBFFV.js";import{a as r}from"./SROUOTOF.js";import"./MXZUWU5U.js";import"./BAFGE6VY.js";import"./CN7U4Z7M.js";import"./74MX4QLZ.js";import"./NDND3YNI.js";import"./6HJNTC7F.js";import"./XAMZTC4V.js";import"./VH5CQ62Q.js";import"./7C46WXZU.js";import"./STLINJZP.js";import"./N4JFNJAP.js";import"./CEW2J6RG.js";import"./N3JVQRW2.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n as buildUiSchema};
3
+ v1.1.0-next.20250804 */
4
+ import{a as t}from"./DVODLANP.js";import"./U3WQ32QA.js";import"./5FZP5C3S.js";import"./U74VGJ3T.js";import"./FESKL5ZV.js";import"./7JUKQJGZ.js";import"./7WB2V7EC.js";import"./YLPKFOK6.js";import"./WH64AKQW.js";import"./XULFPBP6.js";import{a as r}from"./SUFBRQSQ.js";import"./OPRT5PGD.js";import"./LNE75S3A.js";import"./PO57BOD5.js";import"./LZQ4FPMV.js";import"./2JY7EWW7.js";import"./G7LI5TQC.js";import"./2NGSYXGK.js";import"./3YIYAWOH.js";import"./4V36JLGC.js";import"./JQRYRWLD.js";import"./3HWTOTAW.js";import"./N5QB5MLB.js";import"./VCJXO3QG.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import a from"./WGEDEGSC.js";export default $arcgis.t(([u])=>{var b=(e=>(e.User="user",e.Translation="translation",e))(b||{}),h=(e=>(e.String="string",e.TextEditor="textEditor",e))(h||{}),y=(e=>(e.ExpandCollapse="list-merge",e.SettingIndicator="list-button",e.Popover="information",e.Expanded="chevron-down",e.Collapsed="chevron-right",e.Copy="copy-to-clipboard",e.DefaultIcon="language",e.Title="title",e.Subtitle="subheading",e.Text="text",e.Description="description",e.Button="button",e.String="string",e))(y||{}),d=(e=>(e.Light="calcite-mode-light",e.Dark="calcite-mode-dark",e))(d||{}),v=`
3
+ v1.1.0-next.20250804 */
4
+ import a from"./C7D5MBZV.js";export default $arcgis.t(([u])=>{var b=(e=>(e.User="user",e.Translation="translation",e))(b||{}),h=(e=>(e.String="string",e.TextEditor="textEditor",e))(h||{}),y=(e=>(e.ExpandCollapse="list-merge",e.SettingIndicator="list-button",e.Popover="information",e.Expanded="chevron-down",e.Collapsed="chevron-right",e.Copy="copy-to-clipboard",e.DefaultIcon="language",e.Title="title",e.Subtitle="subheading",e.Text="text",e.Description="description",e.Button="button",e.String="string",e))(y||{}),d=(e=>(e.Light="calcite-mode-light",e.Dark="calcite-mode-dark",e))(d||{}),v=`
5
5
  .instant-apps-language-translator-item__nested-input .ck.ck-reset.ck-editor.ck-rounded-corners {
6
6
  margin-left: 30px !important;
7
7
  }
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import{a as m}from"./3GSPSBR2.js";import{a as i}from"./XYM4QNUF.js";import{a as c}from"./54I7CNTR.js";import"./6FSSM6C5.js";import"./3TRGQIG4.js";import"./4GJTZGZ2.js";import"./QB26MH3P.js";import{a as n,b as p}from"./YJ3MW2JY.js";import"./DIS53LGB.js";import"./G6EO7CEQ.js";import"./UCE3PD7K.js";import{a}from"./GW33ZZHC.js";import{a as r}from"./2W6UZ4WR.js";import"./H6OGXITC.js";import"./J4IVVJW7.js";import"./DSYYVW3F.js";import"./V7HQLFUM.js";import"./ITWJGFNZ.js";import"./2GG4TAB5.js";import"./WDPCEJWO.js";import"./U4XP4SVP.js";import"./7CHJP5FF.js";import"./3K7RVP62.js";import"./3RYGLJSU.js";import"./KUHZ7NUV.js";import"./HT35VQR3.js";import"./ATETIVT6.js";import"./XVNMBFFV.js";import"./SROUOTOF.js";import"./MXZUWU5U.js";import"./BAFGE6VY.js";import"./CN7U4Z7M.js";import"./74MX4QLZ.js";import"./NDND3YNI.js";import"./6HJNTC7F.js";import"./XAMZTC4V.js";import"./VH5CQ62Q.js";import"./7C46WXZU.js";import"./STLINJZP.js";import"./N4JFNJAP.js";import"./CEW2J6RG.js";import"./N3JVQRW2.js";function s(e){return["myContent","favorites","organization","world"].map(o=>i("shared.fields.featuredContent",o,"item",{user:e}))}var T=async(e,l,t)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...c(e,l.thumbnail,l.thumbnailUrl,"project",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await a(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await n(l.location,t.hubRequestOptions),options:await p(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroActions.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroActions.helperText"}},elements:[{scope:"/properties/view/properties/heroActions",type:"Control",options:{control:"hub-composite-input-action-links",type:"button",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.callToAction.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.callToAction.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0}}]}]},{type:"Section",labelKey:`${e}.sections.view.label`,elements:[{type:"Section",labelKey:`${e}.sections.view.image.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.image.helperText`}},elements:[{labelKey:"shared.fields.featuredImage.label",scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:m((o=l.view)===null||o===void 0?void 0:o.featuredImageUrl,t.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields.featuredImage.sizeDescription"}}},{labelKey:"shared.fields.featuredImage.altText.label",scope:"/properties/view/properties/featuredImageAltText",type:"Control"}]},{type:"Section",labelKey:`${e}.sections.view.embed.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.embed.helperText`}},elements:[{scope:"/properties/view/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]},{type:"Section",labelKey:`${e}.sections.view.content.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.content.helperText`}},elements:[{scope:"/properties/view/properties/featuredContentIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.featuredContent.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.featuredContent.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0,showAddContent:!0}}]}]}]}};export{T as buildUiSchema};
3
+ v1.1.0-next.20250804 */
4
+ import{a as m}from"./SSLYRR7G.js";import{a as i}from"./3NHES2UH.js";import{a as c}from"./TAUEMN7H.js";import"./QYWVIB4H.js";import"./GEISZXPD.js";import"./KULFSFX2.js";import"./5LGVQGTC.js";import{a as n,b as p}from"./WL7SYSU2.js";import"./TJEMS4LZ.js";import"./RWMBL7L7.js";import"./QOWVXWJR.js";import{a}from"./R7PQZLQD.js";import{a as r}from"./MFHK7DKH.js";import"./FH7KMOQC.js";import"./HWVN3MS5.js";import"./IYCDKPBQ.js";import"./HQTKZXQW.js";import"./G55PKUMG.js";import"./DVODLANP.js";import"./U3WQ32QA.js";import"./5FZP5C3S.js";import"./U74VGJ3T.js";import"./FESKL5ZV.js";import"./7JUKQJGZ.js";import"./7WB2V7EC.js";import"./YLPKFOK6.js";import"./WH64AKQW.js";import"./XULFPBP6.js";import"./SUFBRQSQ.js";import"./OPRT5PGD.js";import"./LNE75S3A.js";import"./PO57BOD5.js";import"./LZQ4FPMV.js";import"./2JY7EWW7.js";import"./G7LI5TQC.js";import"./2NGSYXGK.js";import"./3YIYAWOH.js";import"./4V36JLGC.js";import"./JQRYRWLD.js";import"./3HWTOTAW.js";import"./N5QB5MLB.js";import"./VCJXO3QG.js";function s(e){return["myContent","favorites","organization","world"].map(o=>i("shared.fields.featuredContent",o,"item",{user:e}))}var T=async(e,l,t)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...c(e,l.thumbnail,l.thumbnailUrl,"project",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await a(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await n(l.location,t.hubRequestOptions),options:await p(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroActions.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroActions.helperText"}},elements:[{scope:"/properties/view/properties/heroActions",type:"Control",options:{control:"hub-composite-input-action-links",type:"button",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.callToAction.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.callToAction.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0}}]}]},{type:"Section",labelKey:`${e}.sections.view.label`,elements:[{type:"Section",labelKey:`${e}.sections.view.image.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.image.helperText`}},elements:[{labelKey:"shared.fields.featuredImage.label",scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:m((o=l.view)===null||o===void 0?void 0:o.featuredImageUrl,t.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields.featuredImage.sizeDescription"}}},{labelKey:"shared.fields.featuredImage.altText.label",scope:"/properties/view/properties/featuredImageAltText",type:"Control"}]},{type:"Section",labelKey:`${e}.sections.view.embed.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.embed.helperText`}},elements:[{scope:"/properties/view/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]},{type:"Section",labelKey:`${e}.sections.view.content.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.content.helperText`}},elements:[{scope:"/properties/view/properties/featuredContentIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.featuredContent.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.featuredContent.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0,showAddContent:!0}}]}]}]}};export{T as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import{a as n}from"./3VAVRAZH.js";import{a as s}from"./54I7CNTR.js";import"./6FSSM6C5.js";import"./3TRGQIG4.js";import"./4GJTZGZ2.js";import"./QB26MH3P.js";import{a as r,b as a}from"./YJ3MW2JY.js";import"./DIS53LGB.js";import"./G6EO7CEQ.js";import"./UCE3PD7K.js";import{a as o}from"./GW33ZZHC.js";import{a as i}from"./2W6UZ4WR.js";import"./H6OGXITC.js";import"./J4IVVJW7.js";import"./DSYYVW3F.js";import"./V7HQLFUM.js";import"./ITWJGFNZ.js";import"./2GG4TAB5.js";import"./WDPCEJWO.js";import"./U4XP4SVP.js";import"./7CHJP5FF.js";import"./3K7RVP62.js";import"./3RYGLJSU.js";import"./KUHZ7NUV.js";import"./HT35VQR3.js";import"./ATETIVT6.js";import"./XVNMBFFV.js";import"./SROUOTOF.js";import"./MXZUWU5U.js";import"./BAFGE6VY.js";import"./CN7U4Z7M.js";import"./74MX4QLZ.js";import"./NDND3YNI.js";import"./6HJNTC7F.js";import"./XAMZTC4V.js";import"./VH5CQ62Q.js";import"./7C46WXZU.js";import"./STLINJZP.js";import"./N4JFNJAP.js";import"./CEW2J6RG.js";import"./N3JVQRW2.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
3
+ v1.1.0-next.20250804 */
4
+ import{a as n}from"./OS5L5UWL.js";import{a as s}from"./TAUEMN7H.js";import"./QYWVIB4H.js";import"./GEISZXPD.js";import"./KULFSFX2.js";import"./5LGVQGTC.js";import{a as r,b as a}from"./WL7SYSU2.js";import"./TJEMS4LZ.js";import"./RWMBL7L7.js";import"./QOWVXWJR.js";import{a as o}from"./R7PQZLQD.js";import{a as i}from"./MFHK7DKH.js";import"./FH7KMOQC.js";import"./HWVN3MS5.js";import"./IYCDKPBQ.js";import"./HQTKZXQW.js";import"./G55PKUMG.js";import"./DVODLANP.js";import"./U3WQ32QA.js";import"./5FZP5C3S.js";import"./U74VGJ3T.js";import"./FESKL5ZV.js";import"./7JUKQJGZ.js";import"./7WB2V7EC.js";import"./YLPKFOK6.js";import"./WH64AKQW.js";import"./XULFPBP6.js";import"./SUFBRQSQ.js";import"./OPRT5PGD.js";import"./LNE75S3A.js";import"./PO57BOD5.js";import"./LZQ4FPMV.js";import"./2JY7EWW7.js";import"./G7LI5TQC.js";import"./2NGSYXGK.js";import"./3YIYAWOH.js";import"./4V36JLGC.js";import"./JQRYRWLD.js";import"./3HWTOTAW.js";import"./N5QB5MLB.js";import"./VCJXO3QG.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250731.1 */
4
- import{a as $,b as D,e as k,f as B}from"./JR6RNA7B.js";import b from"./3BSM72ZJ.js";import a from"./WGEDEGSC.js";import{a as m}from"./EV3TUX6S.js";import{a as L}from"./ZCFSRPYL.js";import{C as T}from"./MJ4UYOY5.js";import{b as w}from"./UML27CLC.js";import"./L3KYPR4U.js";import"./HI22GMCZ.js";import{A as r,h as S,i as n,n as I,y as C}from"./A2QNF47K.js";import"./N3JVQRW2.js";export default $arcgis.t(([,{c:v,e:u,f:e,g:U,h:_,j:b,l:P,m:f}])=>{var E=S`:host{display:block}:host calcite-modal{--calcite-modal-content-padding: 0}:host .instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}:host .instant-apps-language-translator__header-text{font-size:18px}:host .instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}:host .instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}:host .instant-apps-language-translator__close-button{width:175px}:host .instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}:host .instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}:host .instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}:host .instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}:host .instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}:host .instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}:host .instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}:host .instant-apps-language-translator__primary-content{display:flex;align-items:center}:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,lastItem:`${l}--last-item`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},y=class extends C{constructor(){super(),this._messages=L({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=I(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=E}async batchWriteToPortalItemResource(t){e.set("saving",!0);try{let a=await this.getPortalItemResource();if(!a){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...t,lastSave:s})],g={type:"application/json"},p=new Blob(o,g);return await a.update(p),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(t){e.set("portalItemResourceT9n",t)}load(){P()}willUpdate(t){(t.has("locales")||t.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){let[t]=await Promise.all([T()]);this.intl=t,this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:t,locales:a}=this,s=U(t,a);e.set("uiData",s)}initSelectLanguage(){if(!this.intl)return;let t=this.locales?.[0]?.locale??this.intl.getLocale(),a=e.get("currentLanguage");this.locales.filter(s=>s.locale===a).length===0&&e.set("currentLanguage",t)}async initPortalItemResourceT9nData(){try{let t=await B(this.portalItem);e.set("portalItemResource",t);let a=await k(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(u.uiData);_().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(u.uiData),o=_(),g=p=>{let c=s.get(p);if(p===a){c.selected=!0;return}c.selected=!1};o.forEach(g),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(t){let a=t.target.value;e.set("currentLanguage",a)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${v.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){let t=b(this.locales);return n`<div>${this.renderTopBar()}${t?.length>0?this.renderUIData():this.renderNotice()}</div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let t=this._messages.languages,a=D(),s=t?.[a];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:t,_messages:a}=this,s=t?a?.collapseAll:a?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${v.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let t=e.get("uiData")?.get("locales"),a=b(t),s=Object.keys($.partial);return a?.map(o=>{let g=s.includes(o)?"partial":"full",p=$[g],{language:c,translated:d}=p[o],h=`${c} - ${d}`;return m(`translated-lang-option-${o}`,n`<calcite-option .value=${o}>${h}</calcite-option>`)})}renderUIData(){if(!u?.uiData)return;let t=_();return n`<div>${t?.map((a,s)=>this.renderUIDataItem(a,s,t.length))}</div>`}renderNotice(){let t=this._messages.noLanguage;return n`<calcite-notice open icon=exclamation-mark-triangle kind=warning><div slot=title>${t?.title}</div><div slot=message>${t?.message}</div></calcite-notice>`}renderUIDataItem(t,a,s){let o=this.appSettings?.translatedLanguageLabels?.[u.currentLanguage],g=a===s-1?i.lastItem:"",p=this.appSettings.content.find(c=>c.id===t);return m(`${t}-${a}`,n`<instant-apps-language-translator-item class=${r(g)} .fieldName=${t} .translatedLanguageLabels=${o} .setting=${p} .userLocaleInputOnChangeCallback=${async(c,d)=>{try{await this.userLocaleInputOnChangeCallback(c,d);let h=e.get("portalItemResource");f(h)}catch{}}} .translatedLocaleInputOnChangeCallback=${async(c,d,h,x)=>{try{await this.translatedLocaleInputOnChangeCallback(c,d,h,x),f(x)}catch{}}}></instant-apps-language-translator-item>`)}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?m("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${this.intl.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};w("instant-apps-language-translator",y);return y},a,b)
3
+ v1.1.0-next.20250804 */
4
+ import{a as $,b as D,e as k,f as B}from"./QTPRUZQW.js";import b from"./X6IADLCS.js";import a from"./C7D5MBZV.js";import{a as m}from"./N36BQC66.js";import{a as L}from"./5NTTXYVC.js";import{C as T}from"./IQ3QEMBR.js";import{b as w}from"./67N2QUDS.js";import"./KTVARFQK.js";import"./L5Z7XJTH.js";import{A as r,h as S,i as n,n as I,y as C}from"./7TAQ5RIA.js";import"./VCJXO3QG.js";export default $arcgis.t(([,{c:v,e:u,f:e,g:U,h:_,j:b,l:P,m:f}])=>{var E=S`:host{display:block}:host calcite-modal{--calcite-modal-content-padding: 0}:host .instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}:host .instant-apps-language-translator__header-text{font-size:18px}:host .instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}:host .instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}:host .instant-apps-language-translator__close-button{width:175px}:host .instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}:host .instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}:host .instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}:host .instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}:host .instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}:host .instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}:host .instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}:host .instant-apps-language-translator__primary-content{display:flex;align-items:center}:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,lastItem:`${l}--last-item`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},y=class extends C{constructor(){super(),this._messages=L({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=I(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=E}async batchWriteToPortalItemResource(t){e.set("saving",!0);try{let a=await this.getPortalItemResource();if(!a){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...t,lastSave:s})],g={type:"application/json"},p=new Blob(o,g);return await a.update(p),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(t){e.set("portalItemResourceT9n",t)}load(){P()}willUpdate(t){(t.has("locales")||t.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){let[t]=await Promise.all([T()]);this.intl=t,this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:t,locales:a}=this,s=U(t,a);e.set("uiData",s)}initSelectLanguage(){if(!this.intl)return;let t=this.locales?.[0]?.locale??this.intl.getLocale(),a=e.get("currentLanguage");this.locales.filter(s=>s.locale===a).length===0&&e.set("currentLanguage",t)}async initPortalItemResourceT9nData(){try{let t=await B(this.portalItem);e.set("portalItemResource",t);let a=await k(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(u.uiData);_().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(u.uiData),o=_(),g=p=>{let c=s.get(p);if(p===a){c.selected=!0;return}c.selected=!1};o.forEach(g),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(t){let a=t.target.value;e.set("currentLanguage",a)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${v.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){let t=b(this.locales);return n`<div>${this.renderTopBar()}${t?.length>0?this.renderUIData():this.renderNotice()}</div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let t=this._messages.languages,a=D(),s=t?.[a];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:t,_messages:a}=this,s=t?a?.collapseAll:a?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${v.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let t=e.get("uiData")?.get("locales"),a=b(t),s=Object.keys($.partial);return a?.map(o=>{let g=s.includes(o)?"partial":"full",p=$[g],{language:c,translated:d}=p[o],h=`${c} - ${d}`;return m(`translated-lang-option-${o}`,n`<calcite-option .value=${o}>${h}</calcite-option>`)})}renderUIData(){if(!u?.uiData)return;let t=_();return n`<div>${t?.map((a,s)=>this.renderUIDataItem(a,s,t.length))}</div>`}renderNotice(){let t=this._messages.noLanguage;return n`<calcite-notice open icon=exclamation-mark-triangle kind=warning><div slot=title>${t?.title}</div><div slot=message>${t?.message}</div></calcite-notice>`}renderUIDataItem(t,a,s){let o=this.appSettings?.translatedLanguageLabels?.[u.currentLanguage],g=a===s-1?i.lastItem:"",p=this.appSettings.content.find(c=>c.id===t);return m(`${t}-${a}`,n`<instant-apps-language-translator-item class=${r(g)} .fieldName=${t} .translatedLanguageLabels=${o} .setting=${p} .userLocaleInputOnChangeCallback=${async(c,d)=>{try{await this.userLocaleInputOnChangeCallback(c,d);let h=e.get("portalItemResource");f(h)}catch{}}} .translatedLocaleInputOnChangeCallback=${async(c,d,h,x)=>{try{await this.translatedLocaleInputOnChangeCallback(c,d,h,x),f(x)}catch{}}}></instant-apps-language-translator-item>`)}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?m("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${this.intl.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};w("instant-apps-language-translator",y);return y},a,b)