@esri/solutions-components 1.1.0-next.20251015.1 → 1.1.1

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 (490) hide show
  1. package/dist/cdn/{2QM7BE4O.js → 26A7IUMW.js} +2 -2
  2. package/dist/cdn/{WOGOO5RO.js → 26YIO67D.js} +2 -2
  3. package/dist/cdn/{BSYCFXAN.js → 27ZTA7Z7.js} +2 -2
  4. package/dist/cdn/{ZVGNI444.js → 2BCLZ6CT.js} +2 -2
  5. package/dist/cdn/{4KYLVFZE.js → 2BNWBAZJ.js} +2 -2
  6. package/dist/cdn/{4QXXAX3U.js → 2BTAF23L.js} +2 -2
  7. package/dist/cdn/{OWBOQALO.js → 2BWMHRH4.js} +2 -2
  8. package/dist/cdn/{YH5SQV2R.js → 2CDAKBYX.js} +2 -2
  9. package/dist/cdn/{TKUJB3HF.js → 2CZX6QRM.js} +2 -2
  10. package/dist/cdn/{QHLLQI42.js → 2IG3IMPC.js} +2 -2
  11. package/dist/cdn/{RM3HUYCD.js → 2J4G54AQ.js} +2 -2
  12. package/dist/cdn/{WHYC2RU4.js → 2JEEZNQU.js} +2 -2
  13. package/dist/cdn/{DQNFCW45.js → 2JFRXKUJ.js} +2 -2
  14. package/dist/cdn/{6OL47FHV.js → 2UB4CICT.js} +2 -2
  15. package/dist/cdn/{7KXXVAFB.js → 2V52VLFJ.js} +2 -2
  16. package/dist/cdn/{JG5LUSYX.js → 2WOT62PD.js} +2 -2
  17. package/dist/cdn/{MPBQOPHL.js → 2YQAGWB4.js} +2 -2
  18. package/dist/cdn/{WRVFHFTD.js → 35KT5J6L.js} +2 -2
  19. package/dist/cdn/{6WCUSZH7.js → 37LSWZCZ.js} +2 -2
  20. package/dist/cdn/{OVA5KEXT.js → 3AKF2NFL.js} +1 -1
  21. package/dist/cdn/{FTWTALZD.js → 3ALCYZ3Q.js} +2 -2
  22. package/dist/cdn/{QN4JXS37.js → 3BCMTX5A.js} +2 -2
  23. package/dist/cdn/{3A4TXKCP.js → 3FP74ZYG.js} +2 -2
  24. package/dist/cdn/{SNJH2RQI.js → 3G7RVBUA.js} +2 -2
  25. package/dist/cdn/{MTPKMXI7.js → 3I4KGLJ2.js} +2 -2
  26. package/dist/cdn/{AEDIDQNV.js → 3KQWJHJU.js} +1 -1
  27. package/dist/cdn/3NDVWJHY.js +18 -0
  28. package/dist/cdn/{XMRH2KIR.js → 3SXS6CO7.js} +2 -2
  29. package/dist/cdn/{FYDX2SB7.js → 3WSKTJKP.js} +2 -2
  30. package/dist/cdn/{IKYTE2FN.js → 3XU5XGKF.js} +2 -2
  31. package/dist/cdn/{XVXCQG3C.js → 3Z52A6AW.js} +2 -2
  32. package/dist/cdn/{G24TL6UH.js → 46ZDALTQ.js} +9 -9
  33. package/dist/cdn/{Z2MBHOYG.js → 4ACOSJ2R.js} +2 -2
  34. package/dist/cdn/{WG3UZ2LP.js → 4BCG3VKN.js} +2 -2
  35. package/dist/cdn/{A5BM3TJ6.js → 4GJOG2F4.js} +2 -2
  36. package/dist/cdn/{MI5LWWKJ.js → 4GP2UQG2.js} +2 -2
  37. package/dist/cdn/{I7MSVZLZ.js → 4L7ZMWIA.js} +1 -1
  38. package/dist/cdn/{6AP65TD5.js → 4LWHDNDR.js} +2 -2
  39. package/dist/cdn/{5V5R7K45.js → 4MOZP7S7.js} +1 -1
  40. package/dist/cdn/{RGGFNMOE.js → 4N5DLQ55.js} +2 -2
  41. package/dist/cdn/{ER22ZKVJ.js → 4P3ZYJQ3.js} +2 -2
  42. package/dist/cdn/{PPG2TLS5.js → 4REQUGTX.js} +2 -2
  43. package/dist/cdn/{LW6D2HAX.js → 4UFKHCT4.js} +1 -1
  44. package/dist/cdn/{G3H7D6UH.js → 53KQQRS4.js} +2 -2
  45. package/dist/cdn/{EFTB6GX2.js → 55QFSM4Z.js} +2 -2
  46. package/dist/cdn/{5QMHMYYC.js → 56TBWRRO.js} +2 -2
  47. package/dist/cdn/{HCE2GPNV.js → 5BQ6XBFO.js} +2 -2
  48. package/dist/cdn/{KPBAXB4Q.js → 5ELVKZK3.js} +2 -2
  49. package/dist/cdn/{S7DJNJYY.js → 5JGDNIJU.js} +2 -2
  50. package/dist/cdn/{LDNSWL2Z.js → 5K76V7K5.js} +2 -2
  51. package/dist/cdn/{4LUB2XZG.js → 5LFFKDSV.js} +2 -2
  52. package/dist/cdn/{HFNNMH6J.js → 5MMYLEOU.js} +2 -2
  53. package/dist/cdn/{VO2TBKVN.js → 5OV265N4.js} +3 -3
  54. package/dist/cdn/{5BTHO2AF.js → 5QS55J2V.js} +2 -2
  55. package/dist/cdn/{HBRFFY75.js → 5RFM6MUZ.js} +2 -2
  56. package/dist/cdn/{C2SEGVFV.js → 5RVCGMJ7.js} +2 -2
  57. package/dist/cdn/{RZ4U5RYM.js → 5SCFBPOD.js} +2 -2
  58. package/dist/cdn/{67T3HMOS.js → 5Z2FPM3N.js} +2 -2
  59. package/dist/cdn/{MCV2G4PS.js → 65EP7IPW.js} +2 -2
  60. package/dist/cdn/{QYAKMJPA.js → 6ATB2NEI.js} +1 -1
  61. package/dist/cdn/{CKVNTJTS.js → 6D4MPGC2.js} +2 -2
  62. package/dist/cdn/{L7ECFZTZ.js → 6HHD7W7G.js} +2 -2
  63. package/dist/cdn/{CHMJRP7V.js → 6KGM4ZLO.js} +2 -2
  64. package/dist/cdn/{SDVDM2NG.js → 6LZA3IU7.js} +1 -1
  65. package/dist/cdn/{V4KGEXE2.js → 6Q3BQ2FC.js} +2 -2
  66. package/dist/cdn/{GIY42CJC.js → 6SJDAXKU.js} +2 -2
  67. package/dist/cdn/{XXVYYOKU.js → 6TRHSJBA.js} +2 -2
  68. package/dist/cdn/{LX7DOAXS.js → 6WOQW2IE.js} +2 -2
  69. package/dist/cdn/{CPVITWV2.js → 6YCAEYPE.js} +1 -1
  70. package/dist/cdn/{TXESV5HB.js → 752NXLLE.js} +2 -2
  71. package/dist/cdn/{54CB6RT5.js → 7DNPNWRU.js} +2 -2
  72. package/dist/cdn/{BACBIPDO.js → 7GCGTHLP.js} +2 -2
  73. package/dist/cdn/{GW2HRQKT.js → 7HBTOAR5.js} +3 -3
  74. package/dist/cdn/{CNMMVNTV.js → 7KUJV4HC.js} +2 -2
  75. package/dist/cdn/{6UWUDE55.js → 7PZ4UBDR.js} +1 -1
  76. package/dist/cdn/{CBDB4RMH.js → 7Q36435D.js} +2 -2
  77. package/dist/cdn/{IYPSTJMC.js → 7TPSN3OZ.js} +2 -2
  78. package/dist/cdn/{HENQGQKO.js → 7TQGZSOS.js} +2 -2
  79. package/dist/cdn/{CANPLSBG.js → A5NORFQ3.js} +2 -2
  80. package/dist/cdn/{BAJABLGZ.js → A7HIU3CH.js} +1 -1
  81. package/dist/cdn/{HE5NK4OL.js → ABKXGOLH.js} +2 -2
  82. package/dist/cdn/{GWKGCSUR.js → AEIXUSBT.js} +2 -2
  83. package/dist/cdn/{WYUJ6NBJ.js → AGCNKK6G.js} +2 -2
  84. package/dist/cdn/{XAZ64HSI.js → AHJZ4NUK.js} +2 -2
  85. package/dist/cdn/{ZNPCXRYH.js → AIECUGLA.js} +2 -2
  86. package/dist/cdn/{YOPSWKMS.js → AL6OH2HL.js} +2 -2
  87. package/dist/cdn/{SKEUMGP3.js → AM7XZYHN.js} +2 -2
  88. package/dist/cdn/{7QR7NLOV.js → AMQ6Z4TC.js} +2 -2
  89. package/dist/cdn/{TGTBQ4IM.js → AUCQU57I.js} +2 -2
  90. package/dist/cdn/{Y3DMPNFD.js → AXLUQP4L.js} +2 -2
  91. package/dist/cdn/{LWBQ4ZM5.js → B2BJU5HS.js} +2 -2
  92. package/dist/cdn/{YY6GCCSV.js → B4SUA3W7.js} +2 -2
  93. package/dist/cdn/{OXWOGTSM.js → B4SZ3AFB.js} +2 -2
  94. package/dist/cdn/{XKTLLIE7.js → B54XVRBZ.js} +2 -2
  95. package/dist/cdn/{QU3PWGK6.js → B5LYIFIL.js} +2 -2
  96. package/dist/cdn/{SCQL3GII.js → B6Z3B7WO.js} +2 -2
  97. package/dist/cdn/{YDYYJMXJ.js → BFJ3MBJ3.js} +2 -2
  98. package/dist/cdn/{5T74REFR.js → BGNGMZZR.js} +2 -2
  99. package/dist/cdn/{P3V7RDMU.js → BKJFP7LT.js} +2 -2
  100. package/dist/cdn/{RU2ZQUD7.js → BPUJQWHO.js} +2 -2
  101. package/dist/cdn/{SDS5IDG7.js → BTIPZNRW.js} +2 -2
  102. package/dist/cdn/BUV3Z6DV.js +4 -0
  103. package/dist/cdn/{PCGVPBPI.js → C25PM233.js} +2 -2
  104. package/dist/cdn/{U7XTDM5N.js → C5IVPFPI.js} +2 -2
  105. package/dist/cdn/{ICPASROB.js → CDEY6E3D.js} +1 -1
  106. package/dist/cdn/{FRUABSZP.js → CEMXCEBH.js} +1 -1
  107. package/dist/cdn/{NLMPFG6X.js → CGRUPQKB.js} +2 -2
  108. package/dist/cdn/{YZV37Z46.js → CVHQL36X.js} +2 -2
  109. package/dist/cdn/{MTPC7NWQ.js → CWXIDRS2.js} +1 -1
  110. package/dist/cdn/{N7PHEJVU.js → CY3IW6EI.js} +2 -2
  111. package/dist/cdn/{JAESJZGN.js → CZG4TQS7.js} +2 -2
  112. package/dist/cdn/{M45VPYYI.js → D3AONMYK.js} +2 -2
  113. package/dist/cdn/{KBYWVXJP.js → D3U545GO.js} +2 -2
  114. package/dist/cdn/{D5Q4UAHQ.js → DAR4Z4PY.js} +2 -2
  115. package/dist/cdn/{V3OBNAAE.js → DELGK4BU.js} +2 -2
  116. package/dist/cdn/{2WOT75MD.js → DG6X6ND5.js} +2 -2
  117. package/dist/cdn/{665YHS3W.js → DG7ELQI5.js} +2 -2
  118. package/dist/cdn/{BKFOGIOL.js → DHNEONGR.js} +2 -2
  119. package/dist/cdn/{YR5O3VCH.js → DK35UKU7.js} +1 -1
  120. package/dist/cdn/{MZKZVHAM.js → DQRK65BG.js} +2 -2
  121. package/dist/cdn/{ZRCBFR6O.js → DQZV5B4U.js} +2 -2
  122. package/dist/cdn/{YJ5RGO3H.js → DT2QNJXZ.js} +2 -2
  123. package/dist/cdn/{3QD7OU5U.js → DTPMMVFN.js} +2 -2
  124. package/dist/cdn/{UEQ3VZSA.js → DWLML3AH.js} +2 -2
  125. package/dist/cdn/{4AD74DYS.js → DYU53Y76.js} +2 -2
  126. package/dist/cdn/{KWOBCXTI.js → DZCKXQ37.js} +2 -2
  127. package/dist/cdn/{XH3DR75Z.js → E26HA4PU.js} +1 -1
  128. package/dist/cdn/{74WWSALI.js → E2H2TMYA.js} +2 -2
  129. package/dist/cdn/{GSE6TLTV.js → E4657PTM.js} +2 -2
  130. package/dist/cdn/{BMYAJRPQ.js → E7JSS6TZ.js} +2 -2
  131. package/dist/cdn/{TYF2N7GJ.js → EDQISJN2.js} +1 -1
  132. package/dist/cdn/{5EBO3CK2.js → EIDWGAQS.js} +2 -2
  133. package/dist/cdn/{2OERSEL4.js → ELLRXQO4.js} +2 -2
  134. package/dist/cdn/{OKDJRIF2.js → ELPOHGJW.js} +2 -2
  135. package/dist/cdn/{GBLEKTEQ.js → EMJVLMDF.js} +2 -2
  136. package/dist/cdn/{F3F7ZRFO.js → ENYF3KSA.js} +2 -2
  137. package/dist/cdn/{5L57Y4TT.js → EO3MW2NL.js} +1 -1
  138. package/dist/cdn/{JAUCD2LU.js → EQIDO6DW.js} +2 -2
  139. package/dist/cdn/{6N5Z7ELO.js → ETND67WR.js} +2 -2
  140. package/dist/cdn/{4AC3EMTS.js → EVL5ENBM.js} +2 -2
  141. package/dist/cdn/{B5FF2VH2.js → EWNQPSM6.js} +2 -2
  142. package/dist/cdn/{FELFYFY4.js → EXAPAR3S.js} +2 -2
  143. package/dist/cdn/F3LYA4NW.js +4 -0
  144. package/dist/cdn/{IHMJSVGQ.js → F6LLK63V.js} +2 -2
  145. package/dist/cdn/F7KJ6JU5.js +18 -0
  146. package/dist/cdn/{FLIACCNY.js → FCF3N62R.js} +2 -2
  147. package/dist/cdn/{CVN3FH5T.js → FFQ3HGQK.js} +2 -2
  148. package/dist/cdn/{NIOHLEO5.js → FIUCHRQF.js} +2 -2
  149. package/dist/cdn/{FYCEFUOT.js → FP7ZWUGT.js} +2 -2
  150. package/dist/cdn/FUUJFLHK.js +4 -0
  151. package/dist/cdn/{T5BTHDQC.js → FUYZJXZ3.js} +2 -2
  152. package/dist/cdn/{5N6VXCFL.js → FX5ZISLR.js} +2 -2
  153. package/dist/cdn/{UCJ2FA3M.js → G2ZE3JDL.js} +2 -2
  154. package/dist/cdn/{TIFSOMQF.js → G5J7AYET.js} +1 -1
  155. package/dist/cdn/{XZ3MICYT.js → GE4IM3MX.js} +4 -4
  156. package/dist/cdn/{ND3DHQ24.js → GFVWUN5D.js} +2 -2
  157. package/dist/cdn/{OZHTQMES.js → GKB3OPCC.js} +1 -1
  158. package/dist/cdn/GKFQSVNR.js +18 -0
  159. package/dist/cdn/{XVIJ22OG.js → GPMIA743.js} +2 -2
  160. package/dist/cdn/{MG3DM3OR.js → GQCNQXN5.js} +1 -1
  161. package/dist/cdn/{B37RCFLV.js → GRQT7TEY.js} +2 -2
  162. package/dist/cdn/{OKHGJM4V.js → GYQWDRLR.js} +2 -2
  163. package/dist/cdn/{PD3N7S4N.js → H4APLINN.js} +2 -2
  164. package/dist/cdn/{EICZMLA4.js → H55NCRTY.js} +2 -2
  165. package/dist/cdn/HF7PHNIQ.js +18 -0
  166. package/dist/cdn/{OQQYUKUE.js → HFFRR5LZ.js} +2 -2
  167. package/dist/cdn/{5B5RZS2K.js → HFVS4CAO.js} +1 -1
  168. package/dist/cdn/{7VASVJJE.js → HODMV4M5.js} +2 -2
  169. package/dist/cdn/{CIMPKFOP.js → HOZ3ZGMX.js} +2 -2
  170. package/dist/cdn/{5CVOFWHG.js → HQF37WJP.js} +2 -2
  171. package/dist/cdn/{IALNE5HW.js → HS4O2ERP.js} +2 -2
  172. package/dist/cdn/{XXXLSBFE.js → HSQOGPUN.js} +2 -2
  173. package/dist/cdn/HXU762XJ.js +4 -0
  174. package/dist/cdn/{LANYKU26.js → I226XVK6.js} +1 -1
  175. package/dist/cdn/{AGF3GSOI.js → I5ADXZSK.js} +3 -3
  176. package/dist/cdn/{4MQVU2PA.js → I5LITYX6.js} +2 -2
  177. package/dist/cdn/{UUQ2YDIF.js → IAAUVKHV.js} +2 -2
  178. package/dist/cdn/{3PXOZ4VC.js → ICHAZGEE.js} +2 -2
  179. package/dist/cdn/{44EJZA6T.js → ICNZOE62.js} +2 -2
  180. package/dist/cdn/{DG7ORIN4.js → IDTCCLPD.js} +2 -2
  181. package/dist/cdn/{N4YBZ6H2.js → IJYKJ7U3.js} +2 -2
  182. package/dist/cdn/{5JHSSQWV.js → IL5ASV53.js} +2 -2
  183. package/dist/cdn/{3DB2P2GO.js → IOIU2LQ7.js} +2 -2
  184. package/dist/cdn/{MQSWCDFV.js → IYRAUVEG.js} +2 -2
  185. package/dist/cdn/{OUTI3YYH.js → J6ZDDC7T.js} +2 -2
  186. package/dist/cdn/{RDUT4GXF.js → JFECVDJN.js} +1 -1
  187. package/dist/cdn/{EVLQDNEN.js → JI7NN7UZ.js} +2 -2
  188. package/dist/cdn/{R3ZUPICV.js → JMYTSZCC.js} +2 -2
  189. package/dist/cdn/{IJEJKEC4.js → JNYHCS6W.js} +2 -2
  190. package/dist/cdn/{XTB7IRNS.js → JQSLLFKL.js} +2 -2
  191. package/dist/cdn/{QKBSOBFP.js → JR7EO46W.js} +2 -2
  192. package/dist/cdn/{A6OECACX.js → JWYEWEFN.js} +2 -2
  193. package/dist/cdn/{GUJXAFBP.js → JXWLSI7W.js} +2 -2
  194. package/dist/cdn/{4OXWZV57.js → K36E76AY.js} +2 -2
  195. package/dist/cdn/{PUMM6TKG.js → K5B6UE4O.js} +2 -2
  196. package/dist/cdn/{ULUH53Q4.js → KB26CFS5.js} +1 -1
  197. package/dist/cdn/{I46NMZAU.js → KGOYOPYR.js} +2 -2
  198. package/dist/cdn/{MCV7H4QG.js → KGU6GWRV.js} +2 -2
  199. package/dist/cdn/{VFIVVIKJ.js → KHEFLBXY.js} +2 -2
  200. package/dist/cdn/{RJ5TLB72.js → KIBCKDDV.js} +2 -2
  201. package/dist/cdn/{34MHNUX5.js → KJNHCW6Z.js} +2 -2
  202. package/dist/cdn/KLEDYY4Y.js +4 -0
  203. package/dist/cdn/{4IPLM5AY.js → KM72PDVP.js} +2 -2
  204. package/dist/cdn/{TNRGSGGK.js → KTABK32D.js} +2 -2
  205. package/dist/cdn/{VEDUVBOL.js → KX5ZC2OR.js} +2 -2
  206. package/dist/cdn/{6NICUPTA.js → L3O7A2E6.js} +2 -2
  207. package/dist/cdn/{OGL56OTR.js → L4PGMPKA.js} +2 -2
  208. package/dist/cdn/{A2IH3ITG.js → L4UMBNSK.js} +2 -2
  209. package/dist/cdn/{GYGRE36O.js → L4YSSYQH.js} +2 -2
  210. package/dist/cdn/{ZUZFCM6S.js → LF6IEP2D.js} +2 -2
  211. package/dist/cdn/{5PC67SE6.js → LFR22E5T.js} +2 -2
  212. package/dist/cdn/{SRPKARII.js → LG4FCYVC.js} +2 -2
  213. package/dist/cdn/{2S7PDHXP.js → LG5TLQOT.js} +2 -2
  214. package/dist/cdn/{PJ2XKRIK.js → LKGNNJ5C.js} +2 -2
  215. package/dist/cdn/{PVXYECTY.js → LTCTW5SI.js} +1 -1
  216. package/dist/cdn/{SLO5WA53.js → LV2EHSXJ.js} +2 -2
  217. package/dist/cdn/{SYG55ZJS.js → LVLT7OO5.js} +2 -2
  218. package/dist/cdn/M6O3GAPO.js +18 -0
  219. package/dist/cdn/{MUXEW2EI.js → MBGCB6OG.js} +2 -2
  220. package/dist/cdn/{LHKXWAKI.js → MDMOHF6P.js} +2 -2
  221. package/dist/cdn/{WYGVR7KD.js → MDUZXVAQ.js} +2 -2
  222. package/dist/cdn/{TRVQ4HAV.js → MGSTYEHN.js} +2 -2
  223. package/dist/cdn/{4FNJTCB2.js → MGYYPLGC.js} +2 -2
  224. package/dist/cdn/{GWZZ3ITH.js → MRQCKP3E.js} +2 -2
  225. package/dist/cdn/{WM6NQ4I4.js → NCBU44KK.js} +2 -2
  226. package/dist/cdn/{M22UUKAK.js → NE2AVEWI.js} +2 -2
  227. package/dist/cdn/{IEJZM3BQ.js → NG46OHWH.js} +1 -1
  228. package/dist/cdn/{54ARXWKE.js → NH4S2EP6.js} +2 -2
  229. package/dist/cdn/{GQ4PWQQW.js → NHLAFRCY.js} +2 -2
  230. package/dist/cdn/{2IIIGO6P.js → NHT6Z5E2.js} +2 -2
  231. package/dist/cdn/{DMQSOG2I.js → NJF4SHQQ.js} +2 -2
  232. package/dist/cdn/{AD6Y4WAH.js → NL26TI4R.js} +2 -2
  233. package/dist/cdn/NLD43RT5.js +4 -0
  234. package/dist/cdn/{GD5HWGXK.js → NMMNVZIR.js} +2 -2
  235. package/dist/cdn/{IX4PWJUR.js → NQE4EDAU.js} +2 -2
  236. package/dist/cdn/{K5SS6M5G.js → NZVAVQXY.js} +2 -2
  237. package/dist/cdn/{34IANJ5L.js → O7Z57GLZ.js} +1 -1
  238. package/dist/cdn/{FKUDFCE7.js → OGDSICU2.js} +2 -2
  239. package/dist/cdn/{NQ6KROBY.js → OLARJ53Z.js} +2 -2
  240. package/dist/cdn/{7ESK3B5W.js → ONHXUPVG.js} +2 -2
  241. package/dist/cdn/{EDWTUT7G.js → ORSXUYDL.js} +2 -2
  242. package/dist/cdn/{2BA65KL3.js → OSSABG5C.js} +2 -2
  243. package/dist/cdn/{B2PH3JH2.js → OTTNFPEO.js} +2 -2
  244. package/dist/cdn/{TNISWTVC.js → OY6K2PSA.js} +2 -2
  245. package/dist/cdn/{4XBEYMUG.js → OYFNC4U6.js} +1 -1
  246. package/dist/cdn/OYNCPS5E.js +4 -0
  247. package/dist/cdn/{P2Z4XQ4N.js → OZ6WFV25.js} +2 -2
  248. package/dist/cdn/{7D3QF2ET.js → P55J63ZU.js} +2 -2
  249. package/dist/cdn/{O6FR3FOW.js → PCEDSTLJ.js} +2 -2
  250. package/dist/cdn/{GJ2RMK23.js → PDBKU4S2.js} +1 -1
  251. package/dist/cdn/{FUADMBOA.js → PL6BITGI.js} +2 -2
  252. package/dist/cdn/{2HPCEZUF.js → PNOXI4LK.js} +2 -2
  253. package/dist/cdn/{AYE2CPD4.js → PQLAT5KP.js} +2 -2
  254. package/dist/cdn/{T5I64IOL.js → PSX4TZJP.js} +1 -1
  255. package/dist/cdn/{FH6MNROE.js → PWBUTW4G.js} +2 -2
  256. package/dist/cdn/{VTDDIS6F.js → Q4JIF4ME.js} +2 -2
  257. package/dist/cdn/{3VYCPR2S.js → QE2S7FMO.js} +1 -1
  258. package/dist/cdn/{BXEE6NVF.js → QFMJ7ICF.js} +2 -2
  259. package/dist/cdn/{IXIJXFCI.js → QI3DTK6Y.js} +2 -2
  260. package/dist/cdn/{6YKCCSEU.js → QRN72H3R.js} +2 -2
  261. package/dist/cdn/{FYQSS5YY.js → QYGNVH4W.js} +1 -1
  262. package/dist/cdn/{T5KFVVMD.js → R2LM4OS3.js} +2 -2
  263. package/dist/cdn/RDZOTUWI.js +4 -0
  264. package/dist/cdn/{ZFZT6JP2.js → RFLDN7DB.js} +2 -2
  265. package/dist/cdn/{Q5SMZOBS.js → RFQTBJV3.js} +2 -2
  266. package/dist/cdn/{542FXWVN.js → RGWP6ZGP.js} +2 -2
  267. package/dist/cdn/RHRIOV47.js +18 -0
  268. package/dist/cdn/{G32LTLMH.js → RIUFIUZK.js} +2 -2
  269. package/dist/cdn/{XHLKA46H.js → RKMHFE6O.js} +2 -2
  270. package/dist/cdn/{TO5OTLKP.js → RKPQ6P4K.js} +2 -2
  271. package/dist/cdn/{YTULUCEY.js → RYBVU2SH.js} +2 -2
  272. package/dist/cdn/S6UDZKPG.js +4 -0
  273. package/dist/cdn/{KMDBOCW2.js → S7PRSYYO.js} +2 -2
  274. package/dist/cdn/{PT3EGARC.js → SFGQEQN6.js} +2 -2
  275. package/dist/cdn/SL7A3O2M.js +18 -0
  276. package/dist/cdn/{FGCTUPDT.js → SO2FFKO7.js} +2 -2
  277. package/dist/cdn/{2UCZ6YBP.js → SO5JOFTM.js} +2 -2
  278. package/dist/cdn/{KBHPYZIT.js → SOHGAMG2.js} +2 -2
  279. package/dist/cdn/{IE4V76VW.js → SPLHZ3N7.js} +2 -2
  280. package/dist/cdn/{64H4PIK5.js → SSUW7XWL.js} +2 -2
  281. package/dist/cdn/{BPLLQ4TU.js → T2ZH3NKY.js} +2 -2
  282. package/dist/cdn/{YEL6ZGK7.js → T53MA6GA.js} +2 -2
  283. package/dist/cdn/T5UO2UPO.js +18 -0
  284. package/dist/cdn/{LMVJPTLK.js → TBQSNIZB.js} +2 -2
  285. package/dist/cdn/TC4NP6KF.js +4 -0
  286. package/dist/cdn/{KH7LGU5K.js → TFCCDEFO.js} +2 -2
  287. package/dist/cdn/{3KCGBI2E.js → TGVB6RQB.js} +2 -2
  288. package/dist/cdn/{J7ZLGYPV.js → TLOJATEQ.js} +2 -2
  289. package/dist/cdn/{PDDLGVYF.js → TO563LCJ.js} +2 -2
  290. package/dist/cdn/{RQQUNY5K.js → TOSZWSLH.js} +2 -2
  291. package/dist/cdn/{OQC5V5U7.js → TPQBOF3P.js} +2 -2
  292. package/dist/cdn/{J72MOBVK.js → TYB33GBX.js} +2 -2
  293. package/dist/cdn/{ZFCGEWOY.js → U4VWSAWK.js} +2 -2
  294. package/dist/cdn/{5NJOCQZI.js → U5BYVOCV.js} +2 -2
  295. package/dist/cdn/{YGWVMAMB.js → UFHCRIJM.js} +2 -2
  296. package/dist/cdn/{IZ4L64TO.js → UKTDQUNY.js} +2 -2
  297. package/dist/cdn/{KUHFKNOC.js → UNICLOME.js} +2 -2
  298. package/dist/cdn/{B7XE662D.js → USE6OJ76.js} +1 -1
  299. package/dist/cdn/{VKKM4XNL.js → UVAXWM4L.js} +1 -1
  300. package/dist/cdn/{FOHDHPD5.js → UVOSWHK6.js} +2 -2
  301. package/dist/cdn/{P7IXPN44.js → UYVKGCIC.js} +1 -1
  302. package/dist/cdn/{36AFFW36.js → V46NQFJY.js} +2 -2
  303. package/dist/cdn/VHUAYRQ7.js +4 -0
  304. package/dist/cdn/{N2BTXBRA.js → VIGDHAXV.js} +2 -2
  305. package/dist/cdn/{NCCHYDZY.js → VOYVH7QX.js} +2 -2
  306. package/dist/cdn/{OFGWTNNG.js → VSI5R4LM.js} +2 -2
  307. package/dist/cdn/{K63J5ICI.js → VT24NQ3G.js} +2 -2
  308. package/dist/cdn/{VLLEVWC4.js → VUBDTATP.js} +2 -2
  309. package/dist/cdn/{EXCMCYSA.js → W4GLLZOA.js} +2 -2
  310. package/dist/cdn/{3AOH7JGU.js → WHOLLTII.js} +2 -2
  311. package/dist/cdn/{AJX4JPNT.js → WNXJPQ3P.js} +2 -2
  312. package/dist/cdn/{3RO4WOUW.js → WPJ4D5AX.js} +2 -2
  313. package/dist/cdn/{DKLLDMP4.js → X3KX5MLG.js} +2 -2
  314. package/dist/cdn/{DHLFERHD.js → X4YLMHXT.js} +2 -2
  315. package/dist/cdn/{RPK4OTEA.js → X7ZDHHU4.js} +2 -2
  316. package/dist/cdn/{LBCHSNQJ.js → XDMBJPAY.js} +2 -2
  317. package/dist/cdn/{Y2CJN6MA.js → XEANXWMN.js} +2 -2
  318. package/dist/cdn/{DQXPS64T.js → XF3NVRQZ.js} +2 -2
  319. package/dist/cdn/{ZORMK55D.js → XIO74BNK.js} +2 -2
  320. package/dist/cdn/{6I6JPIBT.js → XMKDRPPW.js} +1 -1
  321. package/dist/cdn/{HWY7JULN.js → XOQOHYCH.js} +2 -2
  322. package/dist/cdn/{GMPLR4J5.js → XOYKKKBX.js} +2 -2
  323. package/dist/cdn/{OGLRNF4U.js → XRBYIFHY.js} +2 -2
  324. package/dist/cdn/{EMYF6EFA.js → XUGHHYWO.js} +2 -2
  325. package/dist/cdn/{MOAG6X2Y.js → XW4B55X6.js} +2 -2
  326. package/dist/cdn/{3IIWPGCK.js → XZL7GBO2.js} +1 -1
  327. package/dist/cdn/{4FX6777Z.js → Y7UHPKGK.js} +2 -2
  328. package/dist/cdn/{57Q4JDZ5.js → YBH5KSXC.js} +2 -2
  329. package/dist/cdn/{SGH2DPH6.js → YCOUYTAZ.js} +2 -2
  330. package/dist/cdn/{QGJ2Q5VE.js → YETRMAS4.js} +2 -2
  331. package/dist/cdn/{5AEWU6E5.js → YGBNP67C.js} +1 -1
  332. package/dist/cdn/{EM65WRYK.js → YGCKDVK6.js} +2 -2
  333. package/dist/cdn/{MAZA2SKN.js → YHYQGDEU.js} +2 -2
  334. package/dist/cdn/{YQBV6WPJ.js → YJPQ6I7G.js} +2 -2
  335. package/dist/cdn/{XUDVBJIK.js → YNPQP3KG.js} +2 -2
  336. package/dist/cdn/YXBR66FZ.js +18 -0
  337. package/dist/cdn/{GMOOMMHR.js → Z263ME6T.js} +2 -2
  338. package/dist/cdn/{2LYH6JUN.js → ZA4AREPP.js} +2 -2
  339. package/dist/cdn/{B4NHS7W5.js → ZRPNT6EM.js} +2 -2
  340. package/dist/cdn/{UP63PL53.js → ZUP2X5AU.js} +2 -2
  341. package/dist/cdn/{D2RP7JBA.js → ZXNTEBYO.js} +2 -2
  342. package/dist/cdn/{NBPRKXKH.js → ZY4JIOV6.js} +2 -2
  343. package/dist/cdn/{OCSYEOST.js → ZZG6UPJB.js} +2 -2
  344. package/dist/cdn/index.js +2 -2
  345. package/dist/chunks/Auth.js +1 -1
  346. package/dist/chunks/CardsFetcher.js +1 -1
  347. package/dist/chunks/appConfig.js +1 -1
  348. package/dist/chunks/cardFetchingUtils.js +1 -1
  349. package/dist/chunks/cardsHelpers.js +1 -1
  350. package/dist/chunks/common.js +1 -1
  351. package/dist/chunks/deployAppContexts.js +8 -6
  352. package/dist/chunks/downloadUtils.js +1 -1
  353. package/dist/chunks/getItemIcon.js +2 -2
  354. package/dist/chunks/helpers.js +1 -1
  355. package/dist/chunks/interfaces.js +1 -1
  356. package/dist/chunks/loadModules.js +1 -1
  357. package/dist/chunks/mapViewUtils.js +1 -1
  358. package/dist/chunks/pciUtils.js +1 -1
  359. package/dist/chunks/popupUtils.js +1 -1
  360. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  361. package/dist/chunks/privilegeUtils.js +1 -1
  362. package/dist/chunks/publicNotificationContext.js +1 -1
  363. package/dist/chunks/queryUtils.js +1 -1
  364. package/dist/chunks/runtime.js +3 -3
  365. package/dist/chunks/solution-store.js +1 -1
  366. package/dist/chunks/templates.js +1 -1
  367. package/dist/chunks/useT9n.js +1 -1
  368. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  369. package/dist/components/basemap-gallery/customElement.js +1 -1
  370. package/dist/components/buffer-tools/customElement.js +1 -1
  371. package/dist/components/card-manager/customElement.js +1 -1
  372. package/dist/components/consent-manager/customElement.js +1 -1
  373. package/dist/components/create-feature/customElement.js +1 -1
  374. package/dist/components/create-related-feature/customElement.js +1 -1
  375. package/dist/components/crowdsource-manager/customElement.js +7 -7
  376. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  377. package/dist/components/deduct-calculator/customElement.js +1 -1
  378. package/dist/components/delete-button/customElement.js +1 -1
  379. package/dist/components/delete-dialog/customElement.js +1 -1
  380. package/dist/components/edit-card/customElement.js +1 -1
  381. package/dist/components/feature-details/customElement.js +1 -1
  382. package/dist/components/feature-list/customElement.js +1 -1
  383. package/dist/components/field-selection/customElement.js +1 -1
  384. package/dist/components/floor-filter/customElement.js +1 -1
  385. package/dist/components/info-card/customElement.js +1 -1
  386. package/dist/components/json-editor/customElement.js +1 -1
  387. package/dist/components/layer-list/customElement.js +1 -1
  388. package/dist/components/layer-table/customElement.js +3 -2
  389. package/dist/components/map-card/customElement.d.ts +1 -1
  390. package/dist/components/map-card/customElement.js +9 -8
  391. package/dist/components/map-draw-tools/customElement.js +1 -1
  392. package/dist/components/map-fullscreen/customElement.js +1 -1
  393. package/dist/components/map-layer-picker/customElement.js +1 -1
  394. package/dist/components/map-legend/customElement.js +1 -1
  395. package/dist/components/map-picker/customElement.js +1 -1
  396. package/dist/components/map-search/customElement.js +1 -1
  397. package/dist/components/map-select-tools/customElement.js +1 -1
  398. package/dist/components/map-tools/customElement.d.ts +1 -1
  399. package/dist/components/map-tools/customElement.js +2 -2
  400. package/dist/components/pci-calculator/customElement.js +1 -1
  401. package/dist/components/pdf-download/customElement.js +1 -1
  402. package/dist/components/public-notification/customElement.js +1 -1
  403. package/dist/components/refine-selection/customElement.js +1 -1
  404. package/dist/components/selection-tool/customElement.js +1 -1
  405. package/dist/components/solution-article-card/customElement.js +1 -1
  406. package/dist/components/solution-configuration/customElement.js +1 -1
  407. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  408. package/dist/components/solution-configure-titles/customElement.js +1 -1
  409. package/dist/components/solution-contents/customElement.js +1 -1
  410. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  411. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  412. package/dist/components/solution-deployed-card/customElement.js +1 -1
  413. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  414. package/dist/components/solution-details-card/customElement.js +1 -1
  415. package/dist/components/solution-details-panel/customElement.js +1 -1
  416. package/dist/components/solution-item/customElement.js +1 -1
  417. package/dist/components/solution-item-accordion/customElement.js +1 -1
  418. package/dist/components/solution-item-details/customElement.js +1 -1
  419. package/dist/components/solution-item-diagram/customElement.js +101 -97
  420. package/dist/components/solution-item-icon/customElement.js +1 -1
  421. package/dist/components/solution-item-sharing/customElement.js +1 -1
  422. package/dist/components/solution-organization-variables/customElement.js +1 -1
  423. package/dist/components/solution-resource-item/customElement.js +1 -1
  424. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  425. package/dist/components/solution-social-share/customElement.js +1 -1
  426. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  427. package/dist/components/solution-template-data/customElement.js +1 -1
  428. package/dist/components/solution-variables/customElement.js +1 -1
  429. package/dist/components/solutions-all-panel/customElement.d.ts +0 -30
  430. package/dist/components/solutions-all-panel/customElement.js +74 -67
  431. package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
  432. package/dist/components/solutions-all-shell/customElement.js +21 -21
  433. package/dist/components/solutions-article-panel/customElement.js +1 -1
  434. package/dist/components/solutions-articles/customElement.js +1 -1
  435. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  436. package/dist/components/solutions-deploy-app/customElement.d.ts +1 -26
  437. package/dist/components/solutions-deploy-app/customElement.js +59 -73
  438. package/dist/components/solutions-deploy-app/index.d.ts +3 -1
  439. package/dist/components/solutions-deploy-app/index.js +3 -1
  440. package/dist/components/solutions-deploy-app-nav/customElement.d.ts +15 -7
  441. package/dist/components/solutions-deploy-app-nav/customElement.js +61 -61
  442. package/dist/components/solutions-deploy-app-nav/index.d.ts +5 -0
  443. package/dist/components/solutions-deploy-app-nav/index.js +5 -0
  444. package/dist/components/solutions-deployed-filter-panel/customElement.d.ts +1 -1
  445. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  446. package/dist/components/solutions-deployed-panel/customElement.d.ts +0 -36
  447. package/dist/components/solutions-deployed-panel/customElement.js +44 -32
  448. package/dist/components/solutions-deployed-shell/customElement.d.ts +0 -2
  449. package/dist/components/solutions-deployed-shell/customElement.js +10 -10
  450. package/dist/components/solutions-filter-panel/customElement.d.ts +1 -1
  451. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  452. package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +4 -12
  453. package/dist/components/solutions-searchsort-toolbar/customElement.js +87 -55
  454. package/dist/components/spatial-ref/customElement.js +1 -1
  455. package/dist/components/store-manager/customElement.js +1 -1
  456. package/dist/docs/api.json +112 -567
  457. package/dist/docs/docs.json +106 -441
  458. package/dist/docs/vscode.html-custom-data.json +16 -109
  459. package/dist/docs/web-types.json +69 -265
  460. package/dist/index.d.ts +17 -2
  461. package/dist/index.js +1 -1
  462. package/dist/loader.js +8 -8
  463. package/dist/types/lumina.d.ts +10 -8
  464. package/dist/types/preact.d.ts +10 -8
  465. package/dist/types/preact10.d.ts +10 -8
  466. package/dist/types/react.d.ts +10 -8
  467. package/dist/types/stencil.d.ts +10 -8
  468. package/dist/utils/deployAppContexts.d.ts +4 -0
  469. package/dist/utils/interfaces.d.ts +25 -1
  470. package/package.json +7 -7
  471. package/dist/cdn/3TJZ6BKZ.js +0 -4
  472. package/dist/cdn/43OEBABR.js +0 -18
  473. package/dist/cdn/5LQWX73I.js +0 -4
  474. package/dist/cdn/6JCLCDIE.js +0 -4
  475. package/dist/cdn/77HIBKBY.js +0 -4
  476. package/dist/cdn/AEXIW5QK.js +0 -4
  477. package/dist/cdn/AJ5IJNM4.js +0 -4
  478. package/dist/cdn/DOV3VDA7.js +0 -4
  479. package/dist/cdn/F77VE4SZ.js +0 -4
  480. package/dist/cdn/H65HSSDY.js +0 -18
  481. package/dist/cdn/HGN4LWKF.js +0 -18
  482. package/dist/cdn/IHPJT2VQ.js +0 -18
  483. package/dist/cdn/JC5UGUO2.js +0 -18
  484. package/dist/cdn/KPYWTDCC.js +0 -18
  485. package/dist/cdn/LAEMYQTA.js +0 -4
  486. package/dist/cdn/LSVJVCQM.js +0 -18
  487. package/dist/cdn/SYOYFTZ4.js +0 -18
  488. package/dist/cdn/TYS4G347.js +0 -18
  489. package/dist/cdn/UH4H7T6D.js +0 -4
  490. package/dist/cdn/X7PP4CDS.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{a as u}from"./AYE2CPD4.js";import a from"./RM3HUYCD.js";import{a as C}from"./CBDB4RMH.js";import{a as x}from"./FKUDFCE7.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./AEDIDQNV.js";import{b as S}from"./4IPLM5AY.js";import"./RGGFNMOE.js";import"./TGTBQ4IM.js";import{C as E,D as v,E as T,G as d,h as y,i as s,r as I}from"./5AEWU6E5.js";import"./LW6D2HAX.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=x({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${C("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},a)
3
+ v1.1.1 */
4
+ import{a as u}from"./PQLAT5KP.js";import a from"./2J4G54AQ.js";import{a as C}from"./7Q36435D.js";import{a as x}from"./OGDSICU2.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./3KQWJHJU.js";import{b as S}from"./KM72PDVP.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{C as E,D as v,E as T,G as d,h as y,i as s,r as I}from"./YGBNP67C.js";import"./4UFKHCT4.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=x({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${C("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},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.20251015.1 */
4
- import{a as t}from"./CPVITWV2.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s as a};
3
+ v1.1.1 */
4
+ import{a as t}from"./6YCAEYPE.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{a as y}from"./SLO5WA53.js";import"./MTPKMXI7.js";import"./FYQSS5YY.js";import"./I7MSVZLZ.js";import"./6I6JPIBT.js";import{a as s,b as p}from"./M22UUKAK.js";import"./UUQ2YDIF.js";import"./MAZA2SKN.js";import"./7D3QF2ET.js";import{a as n}from"./EM65WRYK.js";import{a}from"./6YKCCSEU.js";import"./GWZZ3ITH.js";import"./IEJZM3BQ.js";import"./CPVITWV2.js";import"./542FXWVN.js";import"./YR5O3VCH.js";import{a as l}from"./UP63PL53.js";import"./ZFCGEWOY.js";import"./KUHFKNOC.js";import"./ULUH53Q4.js";import"./TNRGSGGK.js";import{a as t,b as r}from"./SDVDM2NG.js";import"./LANYKU26.js";import"./MQSWCDFV.js";import"./34IANJ5L.js";import"./NCCHYDZY.js";import"./67T3HMOS.js";import"./QN4JXS37.js";import"./GWKGCSUR.js";import"./QHLLQI42.js";import"./IJEJKEC4.js";import"./SCQL3GII.js";import"./G32LTLMH.js";import"./YJ5RGO3H.js";import"./IYPSTJMC.js";import"./ZRCBFR6O.js";import"./GJ2RMK23.js";import"./MG3DM3OR.js";import"./MTPC7NWQ.js";import"./LW6D2HAX.js";var R=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.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"}]}},{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"}]}},...y(e,i.thumbnail,i.thumbnailUrl,"event",o.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 a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.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`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{R as buildUiSchema};
3
+ v1.1.1 */
4
+ import{a as y}from"./LV2EHSXJ.js";import"./3I4KGLJ2.js";import"./QYGNVH4W.js";import"./4L7ZMWIA.js";import"./XMKDRPPW.js";import{a as s,b as p}from"./NE2AVEWI.js";import"./IAAUVKHV.js";import"./YHYQGDEU.js";import"./P55J63ZU.js";import{a as n}from"./YGCKDVK6.js";import{a}from"./QRN72H3R.js";import"./MRQCKP3E.js";import"./NG46OHWH.js";import"./6YCAEYPE.js";import"./RGWP6ZGP.js";import"./DK35UKU7.js";import{a as l}from"./ZUP2X5AU.js";import"./U4VWSAWK.js";import"./UNICLOME.js";import"./KB26CFS5.js";import"./KTABK32D.js";import{a as t,b as r}from"./6LZA3IU7.js";import"./I226XVK6.js";import"./IYRAUVEG.js";import"./O7Z57GLZ.js";import"./VOYVH7QX.js";import"./5Z2FPM3N.js";import"./3BCMTX5A.js";import"./AEIXUSBT.js";import"./2IG3IMPC.js";import"./JNYHCS6W.js";import"./B6Z3B7WO.js";import"./RIUFIUZK.js";import"./DT2QNJXZ.js";import"./7TPSN3OZ.js";import"./DQZV5B4U.js";import"./PDBKU4S2.js";import"./GQCNQXN5.js";import"./CWXIDRS2.js";import"./4UFKHCT4.js";var R=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.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"}]}},{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"}]}},...y(e,i.thumbnail,i.thumbnailUrl,"event",o.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 a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.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`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{R 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.20251015.1 */
4
- import{a as r}from"./7VASVJJE.js";import{g as n}from"./KH7LGU5K.js";import"./PD3N7S4N.js";import"./3IIWPGCK.js";import"./AJX4JPNT.js";import"./6AP65TD5.js";import"./T5BTHDQC.js";import"./5L57Y4TT.js";import"./PVXYECTY.js";import"./MTPKMXI7.js";import"./FYQSS5YY.js";import"./I7MSVZLZ.js";import"./6I6JPIBT.js";import"./MAZA2SKN.js";import"./7D3QF2ET.js";import"./GWZZ3ITH.js";import"./IEJZM3BQ.js";import"./CPVITWV2.js";import"./542FXWVN.js";import"./YR5O3VCH.js";import"./34IANJ5L.js";import{b as i}from"./T5I64IOL.js";import{a as b}from"./K5SS6M5G.js";import"./RGGFNMOE.js";import"./TGTBQ4IM.js";import{b as _}from"./AEXIW5QK.js";import{E as u,G as p,H as m,h,i as a,l as o}from"./5AEWU6E5.js";import"./LW6D2HAX.js";var f=h`/** @license
3
+ v1.1.1 */
4
+ import{a as r}from"./HODMV4M5.js";import{g as n}from"./TFCCDEFO.js";import"./H4APLINN.js";import"./XZL7GBO2.js";import"./WNXJPQ3P.js";import"./4LWHDNDR.js";import"./FUYZJXZ3.js";import"./EO3MW2NL.js";import"./LTCTW5SI.js";import"./3I4KGLJ2.js";import"./QYGNVH4W.js";import"./4L7ZMWIA.js";import"./XMKDRPPW.js";import"./YHYQGDEU.js";import"./P55J63ZU.js";import"./MRQCKP3E.js";import"./NG46OHWH.js";import"./6YCAEYPE.js";import"./RGWP6ZGP.js";import"./DK35UKU7.js";import"./O7Z57GLZ.js";import{b as i}from"./PSX4TZJP.js";import{a as b}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as _}from"./F3LYA4NW.js";import{E as u,G as p,H as m,h,i as a,l as o}from"./YGBNP67C.js";import"./4UFKHCT4.js";var f=h`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{a as e}from"./UP63PL53.js";import"./ZFCGEWOY.js";import"./KUHFKNOC.js";import"./ULUH53Q4.js";import"./TNRGSGGK.js";import"./SDVDM2NG.js";import"./LANYKU26.js";import"./MQSWCDFV.js";import"./34IANJ5L.js";import"./NCCHYDZY.js";import"./67T3HMOS.js";import"./QN4JXS37.js";import"./GWKGCSUR.js";import"./QHLLQI42.js";import"./IJEJKEC4.js";import"./SCQL3GII.js";import"./G32LTLMH.js";import"./YJ5RGO3H.js";import"./IYPSTJMC.js";import"./ZRCBFR6O.js";import"./GJ2RMK23.js";import"./MG3DM3OR.js";import{a as t}from"./MTPC7NWQ.js";import"./LW6D2HAX.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f as buildUiSchema};
3
+ v1.1.1 */
4
+ import{a as e}from"./ZUP2X5AU.js";import"./U4VWSAWK.js";import"./UNICLOME.js";import"./KB26CFS5.js";import"./KTABK32D.js";import"./6LZA3IU7.js";import"./I226XVK6.js";import"./IYRAUVEG.js";import"./O7Z57GLZ.js";import"./VOYVH7QX.js";import"./5Z2FPM3N.js";import"./3BCMTX5A.js";import"./AEIXUSBT.js";import"./2IG3IMPC.js";import"./JNYHCS6W.js";import"./B6Z3B7WO.js";import"./RIUFIUZK.js";import"./DT2QNJXZ.js";import"./7TPSN3OZ.js";import"./DQZV5B4U.js";import"./PDBKU4S2.js";import"./GQCNQXN5.js";import{a as t}from"./CWXIDRS2.js";import"./4UFKHCT4.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f as buildUiSchema};
@@ -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.20251015.1 */
4
- import"./LW6D2HAX.js";var e="No tiene suficientes cr\xE9ditos para realizar esta operaci\xF3n. P\xF3ngase en contacto con su administrador de sistemas de ArcGIS para obtener ayuda.",a="Esta herramienta se ha publicado a trav\xE9s de un notebook. El acceso a ArcGIS Notebooks est\xE1 bloqueado para su organizaci\xF3n. P\xF3ngase en contacto con su administrador para ajustar la configuraci\xF3n.",r="${ dataPath } no debe tener ${ additionalProperty }",o="${ dataPath } debe coincidir con el esquema de uno de estos: ${ schemaOptions }.",s="Intente guardar el mapa de nuevo.",t="Error en estimaci\xF3n del cr\xE9dito Despl\xE1cese hacia abajo, corrija los errores y vuelva a realizar la estimaci\xF3n del cr\xE9dito.",i="Se ha producido un error al ejecutar el an\xE1lisis.",n="${ dataPath } debe ser igual a uno de los siguientes valores permitidos: ${ allowedValues }.",l="No se pudo guardar el historial de an\xE1lisis",d="El almacenamiento del historial est\xE1 lleno. Retire algunos elementos del historial de an\xE1lisis e int\xE9ntelo de nuevo.",c="El nombre del servicio contiene uno o varios caracteres no v\xE1lidos:",u="No se ha completado el guardado de la capa temporal como capa de entidades alojada.",m="Error al obtener las propiedades clave.",p="Error al cargar la capa.",h="La capa no est\xE1 disponible",E="${ dataPath } no debe tener m\xE1s de ${ limit } elementos.",b="Se ha producido un error al guardar el modelo. Intente guardar de nuevo.",v="${ dataPath } no debe tener menos de ${ limit } elementos.",y="${ dataPath } no debe tener menos de ${ limit } caracteres.",P="No se ha podido cargar el elemento de modelo. Aseg\xFArese de que el modelo existe y se haya concedido permiso de acceso.",g="Error al completar solicitud.",f="No tiene permiso para ejecutar esta herramienta. <calcite-link target='_blank' href='${ docLink }'>M\xE1s informaci\xF3n</calcite-link>",S="Error al iniciar sesi\xF3n en el portal.",$="Error al leer los datos de entrada.",I="A ${ dataPath } le falta la propiedad denominada ${ missingProperty }.",k="Ya existe una capa de resultados con este nombre. Los nombres de las capas de resultados deben ser \xFAnicos en toda la organizaci\xF3n. Utilice otro nombre.",F="El nombre de salida contiene uno o m\xE1s caracteres que no son v\xE1lidos. <a href='${docLink}' target='_blank'>M\xE1s informaci\xF3n.</a>",N="La publicaci\xF3n de la capa temporal como capa alojada ha fallado debido a uno o m\xE1s campos no v\xE1lidos. Vuelva a ejecutar la herramienta para crear una capa con campos v\xE1lidos.",L="Error al enviar trabajo. Despl\xE1cese hacia abajo, corrija los errores y vuelva a ejecutar el an\xE1lisis.",j="${ dataPath } debe tener al menos un car\xE1cter que no sea un espacio en blanco.",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:s,creditEstimationError:t,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:E,mbFailedToSave:b,minItems:v,minLength:y,modelNotFound:P,networkError:g,noPermissionToAccessTool:f,portalLoadError:S,queryFeaturesError:$,requiredProperty:I,serviceNameExistsError:k,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:N,toolValidationError:L,whiteSpacePattern:j};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,o as anyOfValues,s as cannotWriteToItemResource,t as creditEstimationError,T as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,E as maxItems,b as mbFailedToSave,v as minItems,y as minLength,P as modelNotFound,g as networkError,f as noPermissionToAccessTool,S as portalLoadError,$ as queryFeaturesError,I as requiredProperty,k as serviceNameExistsError,F as specialCharactersInServiceNameError,N as temporaryLayerFieldsError,L as toolValidationError,j as whiteSpacePattern};
3
+ v1.1.1 */
4
+ import"./4UFKHCT4.js";var e="No tiene suficientes cr\xE9ditos para realizar esta operaci\xF3n. P\xF3ngase en contacto con su administrador de sistemas de ArcGIS para obtener ayuda.",a="Esta herramienta se ha publicado a trav\xE9s de un notebook. El acceso a ArcGIS Notebooks est\xE1 bloqueado para su organizaci\xF3n. P\xF3ngase en contacto con su administrador para ajustar la configuraci\xF3n.",r="${ dataPath } no debe tener ${ additionalProperty }",o="${ dataPath } debe coincidir con el esquema de uno de estos: ${ schemaOptions }.",s="Intente guardar el mapa de nuevo.",t="Error en estimaci\xF3n del cr\xE9dito Despl\xE1cese hacia abajo, corrija los errores y vuelva a realizar la estimaci\xF3n del cr\xE9dito.",i="Se ha producido un error al ejecutar el an\xE1lisis.",n="${ dataPath } debe ser igual a uno de los siguientes valores permitidos: ${ allowedValues }.",l="No se pudo guardar el historial de an\xE1lisis",d="El almacenamiento del historial est\xE1 lleno. Retire algunos elementos del historial de an\xE1lisis e int\xE9ntelo de nuevo.",c="El nombre del servicio contiene uno o varios caracteres no v\xE1lidos:",u="No se ha completado el guardado de la capa temporal como capa de entidades alojada.",m="Error al obtener las propiedades clave.",p="Error al cargar la capa.",h="La capa no est\xE1 disponible",E="${ dataPath } no debe tener m\xE1s de ${ limit } elementos.",b="Se ha producido un error al guardar el modelo. Intente guardar de nuevo.",v="${ dataPath } no debe tener menos de ${ limit } elementos.",y="${ dataPath } no debe tener menos de ${ limit } caracteres.",P="No se ha podido cargar el elemento de modelo. Aseg\xFArese de que el modelo existe y se haya concedido permiso de acceso.",g="Error al completar solicitud.",f="No tiene permiso para ejecutar esta herramienta. <calcite-link target='_blank' href='${ docLink }'>M\xE1s informaci\xF3n</calcite-link>",S="Error al iniciar sesi\xF3n en el portal.",$="Error al leer los datos de entrada.",I="A ${ dataPath } le falta la propiedad denominada ${ missingProperty }.",k="Ya existe una capa de resultados con este nombre. Los nombres de las capas de resultados deben ser \xFAnicos en toda la organizaci\xF3n. Utilice otro nombre.",F="El nombre de salida contiene uno o m\xE1s caracteres que no son v\xE1lidos. <a href='${docLink}' target='_blank'>M\xE1s informaci\xF3n.</a>",N="La publicaci\xF3n de la capa temporal como capa alojada ha fallado debido a uno o m\xE1s campos no v\xE1lidos. Vuelva a ejecutar la herramienta para crear una capa con campos v\xE1lidos.",L="Error al enviar trabajo. Despl\xE1cese hacia abajo, corrija los errores y vuelva a ejecutar el an\xE1lisis.",j="${ dataPath } debe tener al menos un car\xE1cter que no sea un espacio en blanco.",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:s,creditEstimationError:t,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:E,mbFailedToSave:b,minItems:v,minLength:y,modelNotFound:P,networkError:g,noPermissionToAccessTool:f,portalLoadError:S,queryFeaturesError:$,requiredProperty:I,serviceNameExistsError:k,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:N,toolValidationError:L,whiteSpacePattern:j};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,o as anyOfValues,s as cannotWriteToItemResource,t as creditEstimationError,T as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,E as maxItems,b as mbFailedToSave,v as minItems,y as minLength,P as modelNotFound,g as networkError,f as noPermissionToAccessTool,S as portalLoadError,$ as queryFeaturesError,I as requiredProperty,k as serviceNameExistsError,F as specialCharactersInServiceNameError,N as temporaryLayerFieldsError,L as toolValidationError,j as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{a,b}from"./ZFCGEWOY.js";import"./ZRCBFR6O.js";import"./GJ2RMK23.js";import"./MG3DM3OR.js";import"./LW6D2HAX.js";export{a as SurveyEditorTypes,b as SurveySchema};
3
+ v1.1.1 */
4
+ import{a,b}from"./U4VWSAWK.js";import"./DQZV5B4U.js";import"./PDBKU4S2.js";import"./GQCNQXN5.js";import"./4UFKHCT4.js";export{a as SurveyEditorTypes,b as SurveySchema};
@@ -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.20251015.1 */
4
- import"./LW6D2HAX.js";var l=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{helperText:{labelKey:`${e}.fields.prompt.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]});export{l as buildUiSchema};
3
+ v1.1.1 */
4
+ import"./4UFKHCT4.js";var l=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{helperText:{labelKey:`${e}.fields.prompt.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]});export{l 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.20251015.1 */
4
- import{b as t,c as e}from"./34IANJ5L.js";var r=["hub:channel:create","hub:channel:edit"],p={type:"object",properties:{name:{type:"string"},blockWords:{type:"string",format:"blockWords"},publicConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{anonymous:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead],default:t},id:{type:"string"}}},authenticated:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},orgConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[e.channelOwner],default:e.channelOwner},id:{type:"string"}}}}}}}},groupConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite,e.channelManage],default:t},id:{type:"string"}}}}}}}},userConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{user:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},allowAsAnonymous:{type:"boolean",default:!1}},required:["name"]};export{r as a,p as b};
3
+ v1.1.1 */
4
+ import{b as t,c as e}from"./O7Z57GLZ.js";var r=["hub:channel:create","hub:channel:edit"],p={type:"object",properties:{name:{type:"string"},blockWords:{type:"string",format:"blockWords"},publicConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{anonymous:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead],default:t},id:{type:"string"}}},authenticated:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},orgConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[e.channelOwner],default:e.channelOwner},id:{type:"string"}}}}}}}},groupConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite,e.channelManage],default:t},id:{type:"string"}}}}}}}},userConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{user:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},allowAsAnonymous:{type:"boolean",default:!1}},required:["name"]};export{r as a,p 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.20251015.1 */
4
- import{a as v}from"./VKKM4XNL.js";import{b as f}from"./O6FR3FOW.js";import{a as w,b as I,d as y}from"./XVXCQG3C.js";import"./T5I64IOL.js";import"./4XBEYMUG.js";import{a as L}from"./K5SS6M5G.js";import"./RGGFNMOE.js";import"./TGTBQ4IM.js";import{b as u}from"./AEXIW5QK.js";import{C as o,D as d,E as g,G as p,H as c,h as b,i as a,l,o as h,r as _}from"./5AEWU6E5.js";import"./LW6D2HAX.js";var $=b`@layer{/** @license
3
+ v1.1.1 */
4
+ import{a as v}from"./UVAXWM4L.js";import{b as f}from"./PCEDSTLJ.js";import{a as w,b as I,d as y}from"./3Z52A6AW.js";import"./PSX4TZJP.js";import"./OYFNC4U6.js";import{a as L}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as u}from"./F3LYA4NW.js";import{C as o,D as d,E as g,G as p,H as c,h as b,i as a,l,o as h,r as _}from"./YGBNP67C.js";import"./4UFKHCT4.js";var $=b`@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.20251015.1 */
3
+ v1.1.1 */
4
4
  function i(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,t=Object.getOwnPropertySymbols(e);n<t.length;n++)o.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(r[t[n]]=e[t[n]]);return r}export{i as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{a as i}from"./LDNSWL2Z.js";import{d as l}from"./7D3QF2ET.js";import"./542FXWVN.js";import{a as r}from"./YR5O3VCH.js";import{a as s}from"./UP63PL53.js";import"./ZFCGEWOY.js";import"./KUHFKNOC.js";import"./ULUH53Q4.js";import"./TNRGSGGK.js";import"./SDVDM2NG.js";import"./LANYKU26.js";import"./MQSWCDFV.js";import"./34IANJ5L.js";import"./NCCHYDZY.js";import"./67T3HMOS.js";import"./QN4JXS37.js";import"./GWKGCSUR.js";import"./QHLLQI42.js";import"./IJEJKEC4.js";import"./SCQL3GII.js";import"./G32LTLMH.js";import"./YJ5RGO3H.js";import"./IYPSTJMC.js";import"./ZRCBFR6O.js";import"./GJ2RMK23.js";import"./MG3DM3OR.js";import"./MTPC7NWQ.js";import"./LW6D2HAX.js";var d=async(e,a,t)=>({type:"Layout",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.access.label`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.fields.access.private.description:translate}}`,`{{${e}.fields.access.org.description:translate}}`,`{{${e}.fields.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.fields.access.private.label:translate}}`,`{{${e}.fields.access.org.label:translate}}`,`{{${e}.fields.access.public.label:translate}}`],rules:[{effect:s.NONE},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToOrg",t).access]},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToPublic",t).access]}]}}]},{type:"Section",labelKey:`${e}.sections.capabilities.label`,elements:[{labelKey:`${e}.fields.isSharedUpdate.label`,scope:"/properties/isSharedUpdate",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isSharedUpdate.helperText`}},!l("platform:portal:admin:createUpdateCapableGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isSharedUpdate.tooltip`}}),rule:{effect:s.ENABLE,conditions:[l("platform:portal:admin:createUpdateCapableGroup",t).access]}},{labelKey:`${e}.fields.isAdmin.label`,scope:"/properties/leavingDisallowed",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isAdmin.helperText`}},!l("platform:portal:admin:createLeavingDisallowedGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isAdmin.tooltip`}}),rules:[{effect:s.ENABLE,conditions:[l("platform:portal:admin:createLeavingDisallowedGroup",t).access]}]},{labelKey:`${e}.fields.isOpenData.label`,scope:"/properties/isOpenData",type:"Control",options:Object.assign(Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isOpenData.helperText`}},(!l("platform:opendata:user:designateGroup",t).access||a.access!=="public")&&{tooltip:{labelKey:`${e}.fields.isOpenData.tooltip`}}),{messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.isOpenData.constError`}]}),rules:[{effect:s.ENABLE,conditions:[{scope:"/properties/access",schema:{const:"public"}},l("platform:opendata:user:designateGroup",t).access]},{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{not:{const:"public"}}}]},{effect:s.SHOW,conditions:[!!r(t,"portal.portalProperties.openData.enabled")]}]}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.label:translate}}`,`{{${e}.fields.membershipAccess.collab.label:translate}}`,`{{${e}.fields.membershipAccess.any.label:translate}}`],descriptions:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.membershipAccess.patternError`},{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.membershipAccess.constError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.join.label`,scope:"/properties/_join",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.join.invite.label:translate}}`,`{{${e}.fields.join.request.label:translate}}`,`{{${e}.fields.join.auto.label:translate}}`],descriptions:[`{{${e}.fields.join.invite.description:translate}}`,`{{${e}.fields.join.request.description:translate}}`,`{{${e}.fields.join.auto.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.join.constError`},{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.join.patternError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]}]},{labelKey:`${e}.fields.hiddenMembers.label`,scope:"/properties/hiddenMembers",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.hiddenMembers.members.label:translate}}`,`{{${e}.fields.hiddenMembers.admins.label:translate}}`],descriptions:[`{{${e}.fields.hiddenMembers.members.description:translate}}`,`{{${e}.fields.hiddenMembers.admins.description:translate}}`]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.label:translate}}`,`{{${e}.fields.contributeContent.admins.label:translate}}`],descriptions:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}),f=async(e,a,t)=>Object.assign(Object.assign({},i("hubGroup",t)),a);export{f as buildDefaults,d as buildUiSchema};
3
+ v1.1.1 */
4
+ import{a as i}from"./5K76V7K5.js";import{d as l}from"./P55J63ZU.js";import"./RGWP6ZGP.js";import{a as r}from"./DK35UKU7.js";import{a as s}from"./ZUP2X5AU.js";import"./U4VWSAWK.js";import"./UNICLOME.js";import"./KB26CFS5.js";import"./KTABK32D.js";import"./6LZA3IU7.js";import"./I226XVK6.js";import"./IYRAUVEG.js";import"./O7Z57GLZ.js";import"./VOYVH7QX.js";import"./5Z2FPM3N.js";import"./3BCMTX5A.js";import"./AEIXUSBT.js";import"./2IG3IMPC.js";import"./JNYHCS6W.js";import"./B6Z3B7WO.js";import"./RIUFIUZK.js";import"./DT2QNJXZ.js";import"./7TPSN3OZ.js";import"./DQZV5B4U.js";import"./PDBKU4S2.js";import"./GQCNQXN5.js";import"./CWXIDRS2.js";import"./4UFKHCT4.js";var d=async(e,a,t)=>({type:"Layout",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.access.label`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.fields.access.private.description:translate}}`,`{{${e}.fields.access.org.description:translate}}`,`{{${e}.fields.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.fields.access.private.label:translate}}`,`{{${e}.fields.access.org.label:translate}}`,`{{${e}.fields.access.public.label:translate}}`],rules:[{effect:s.NONE},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToOrg",t).access]},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToPublic",t).access]}]}}]},{type:"Section",labelKey:`${e}.sections.capabilities.label`,elements:[{labelKey:`${e}.fields.isSharedUpdate.label`,scope:"/properties/isSharedUpdate",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isSharedUpdate.helperText`}},!l("platform:portal:admin:createUpdateCapableGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isSharedUpdate.tooltip`}}),rule:{effect:s.ENABLE,conditions:[l("platform:portal:admin:createUpdateCapableGroup",t).access]}},{labelKey:`${e}.fields.isAdmin.label`,scope:"/properties/leavingDisallowed",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isAdmin.helperText`}},!l("platform:portal:admin:createLeavingDisallowedGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isAdmin.tooltip`}}),rules:[{effect:s.ENABLE,conditions:[l("platform:portal:admin:createLeavingDisallowedGroup",t).access]}]},{labelKey:`${e}.fields.isOpenData.label`,scope:"/properties/isOpenData",type:"Control",options:Object.assign(Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isOpenData.helperText`}},(!l("platform:opendata:user:designateGroup",t).access||a.access!=="public")&&{tooltip:{labelKey:`${e}.fields.isOpenData.tooltip`}}),{messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.isOpenData.constError`}]}),rules:[{effect:s.ENABLE,conditions:[{scope:"/properties/access",schema:{const:"public"}},l("platform:opendata:user:designateGroup",t).access]},{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{not:{const:"public"}}}]},{effect:s.SHOW,conditions:[!!r(t,"portal.portalProperties.openData.enabled")]}]}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.label:translate}}`,`{{${e}.fields.membershipAccess.collab.label:translate}}`,`{{${e}.fields.membershipAccess.any.label:translate}}`],descriptions:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.membershipAccess.patternError`},{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.membershipAccess.constError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.join.label`,scope:"/properties/_join",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.join.invite.label:translate}}`,`{{${e}.fields.join.request.label:translate}}`,`{{${e}.fields.join.auto.label:translate}}`],descriptions:[`{{${e}.fields.join.invite.description:translate}}`,`{{${e}.fields.join.request.description:translate}}`,`{{${e}.fields.join.auto.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.join.constError`},{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.join.patternError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]}]},{labelKey:`${e}.fields.hiddenMembers.label`,scope:"/properties/hiddenMembers",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.hiddenMembers.members.label:translate}}`,`{{${e}.fields.hiddenMembers.admins.label:translate}}`],descriptions:[`{{${e}.fields.hiddenMembers.members.description:translate}}`,`{{${e}.fields.hiddenMembers.admins.description:translate}}`]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.label:translate}}`,`{{${e}.fields.contributeContent.admins.label:translate}}`],descriptions:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}),f=async(e,a,t)=>Object.assign(Object.assign({},i("hubGroup",t)),a);export{f as buildDefaults,d 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.20251015.1 */
4
- import{a as o}from"./K5SS6M5G.js";import"./RGGFNMOE.js";import"./TGTBQ4IM.js";import{b as n}from"./AEXIW5QK.js";import{E as r,I as e,h as a,i as t,o as s}from"./5AEWU6E5.js";import"./LW6D2HAX.js";var c=a`/** @license
3
+ v1.1.1 */
4
+ import{a as o}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as n}from"./F3LYA4NW.js";import{E as r,I as e,h as a,i as t,o as s}from"./YGBNP67C.js";import"./4UFKHCT4.js";var c=a`/** @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.20251015.1 */
4
- import{a as e}from"./ZRCBFR6O.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};
3
+ v1.1.1 */
4
+ import{a as e}from"./DQZV5B4U.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{a as s}from"./BXEE6NVF.js";import{a as l,b as p}from"./5B5RZS2K.js";import{d as m}from"./IEJZM3BQ.js";import"./542FXWVN.js";import{a}from"./YR5O3VCH.js";import"./LW6D2HAX.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
3
+ v1.1.1 */
4
+ import{a as s}from"./QFMJ7ICF.js";import{a as l,b as p}from"./HFVS4CAO.js";import{d as m}from"./NG46OHWH.js";import"./RGWP6ZGP.js";import{a}from"./DK35UKU7.js";import"./4UFKHCT4.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
@@ -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.20251015.1 */
4
- import b from"./K63J5ICI.js";import a from"./3AOH7JGU.js";import{c as p}from"./6JCLCDIE.js";import{b as d}from"./O6FR3FOW.js";import"./KH7LGU5K.js";import"./PD3N7S4N.js";import"./3IIWPGCK.js";import"./AJX4JPNT.js";import"./6AP65TD5.js";import"./T5BTHDQC.js";import"./5L57Y4TT.js";import"./PVXYECTY.js";import"./MTPKMXI7.js";import"./FYQSS5YY.js";import"./I7MSVZLZ.js";import"./6I6JPIBT.js";import"./MAZA2SKN.js";import"./7D3QF2ET.js";import"./GWZZ3ITH.js";import"./IEJZM3BQ.js";import"./CPVITWV2.js";import"./542FXWVN.js";import"./YR5O3VCH.js";import"./34IANJ5L.js";import"./T5I64IOL.js";import{a as h}from"./K5SS6M5G.js";import"./RGGFNMOE.js";import"./TGTBQ4IM.js";import{b as l}from"./AEXIW5QK.js";import{C as r,D as n,E as c,I as i,h as o,i as s}from"./5AEWU6E5.js";import"./LW6D2HAX.js";export default $arcgis.t(([,{c:g}])=>{var u=o`/** @license
3
+ v1.1.1 */
4
+ import b from"./VT24NQ3G.js";import a from"./WHOLLTII.js";import{c as p}from"./KLEDYY4Y.js";import{b as d}from"./PCEDSTLJ.js";import"./TFCCDEFO.js";import"./H4APLINN.js";import"./XZL7GBO2.js";import"./WNXJPQ3P.js";import"./4LWHDNDR.js";import"./FUYZJXZ3.js";import"./EO3MW2NL.js";import"./LTCTW5SI.js";import"./3I4KGLJ2.js";import"./QYGNVH4W.js";import"./4L7ZMWIA.js";import"./XMKDRPPW.js";import"./YHYQGDEU.js";import"./P55J63ZU.js";import"./MRQCKP3E.js";import"./NG46OHWH.js";import"./6YCAEYPE.js";import"./RGWP6ZGP.js";import"./DK35UKU7.js";import"./O7Z57GLZ.js";import"./PSX4TZJP.js";import{a as h}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as l}from"./F3LYA4NW.js";import{C as r,D as n,E as c,I as i,h as o,i as s}from"./YGBNP67C.js";import"./4UFKHCT4.js";export default $arcgis.t(([,{c:g}])=>{var u=o`/** @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.20251015.1 */
4
- import{a as o}from"./LDNSWL2Z.js";import{d as r}from"./7D3QF2ET.js";import"./542FXWVN.js";import"./YR5O3VCH.js";import{a as s}from"./UP63PL53.js";import"./ZFCGEWOY.js";import"./KUHFKNOC.js";import"./ULUH53Q4.js";import"./TNRGSGGK.js";import"./SDVDM2NG.js";import"./LANYKU26.js";import"./MQSWCDFV.js";import"./34IANJ5L.js";import"./NCCHYDZY.js";import"./67T3HMOS.js";import"./QN4JXS37.js";import"./GWKGCSUR.js";import"./QHLLQI42.js";import"./IJEJKEC4.js";import"./SCQL3GII.js";import"./G32LTLMH.js";import"./YJ5RGO3H.js";import"./IYPSTJMC.js";import"./ZRCBFR6O.js";import"./GJ2RMK23.js";import"./MG3DM3OR.js";import"./MTPC7NWQ.js";import"./LW6D2HAX.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createAssociation.any:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createAssociation.admins:translate}}`]}}]}]}]}),c=async(e,l,t)=>Object.assign({},o("hubAssociationsGroup",t));export{c as buildDefaults,p as buildUiSchema};
3
+ v1.1.1 */
4
+ import{a as o}from"./5K76V7K5.js";import{d as r}from"./P55J63ZU.js";import"./RGWP6ZGP.js";import"./DK35UKU7.js";import{a as s}from"./ZUP2X5AU.js";import"./U4VWSAWK.js";import"./UNICLOME.js";import"./KB26CFS5.js";import"./KTABK32D.js";import"./6LZA3IU7.js";import"./I226XVK6.js";import"./IYRAUVEG.js";import"./O7Z57GLZ.js";import"./VOYVH7QX.js";import"./5Z2FPM3N.js";import"./3BCMTX5A.js";import"./AEIXUSBT.js";import"./2IG3IMPC.js";import"./JNYHCS6W.js";import"./B6Z3B7WO.js";import"./RIUFIUZK.js";import"./DT2QNJXZ.js";import"./7TPSN3OZ.js";import"./DQZV5B4U.js";import"./PDBKU4S2.js";import"./GQCNQXN5.js";import"./CWXIDRS2.js";import"./4UFKHCT4.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createAssociation.any:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createAssociation.admins:translate}}`]}}]}]}]}),c=async(e,l,t)=>Object.assign({},o("hubAssociationsGroup",t));export{c as buildDefaults,p as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{a as t}from"./UP63PL53.js";import"./ZFCGEWOY.js";import"./KUHFKNOC.js";import"./ULUH53Q4.js";import"./TNRGSGGK.js";import"./SDVDM2NG.js";import"./LANYKU26.js";import"./MQSWCDFV.js";import"./34IANJ5L.js";import"./NCCHYDZY.js";import"./67T3HMOS.js";import"./QN4JXS37.js";import"./GWKGCSUR.js";import"./QHLLQI42.js";import"./IJEJKEC4.js";import"./SCQL3GII.js";import"./G32LTLMH.js";import"./YJ5RGO3H.js";import"./IYPSTJMC.js";import"./ZRCBFR6O.js";import"./GJ2RMK23.js";import"./MG3DM3OR.js";import"./MTPC7NWQ.js";import"./LW6D2HAX.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
3
+ v1.1.1 */
4
+ import{a as t}from"./ZUP2X5AU.js";import"./U4VWSAWK.js";import"./UNICLOME.js";import"./KB26CFS5.js";import"./KTABK32D.js";import"./6LZA3IU7.js";import"./I226XVK6.js";import"./IYRAUVEG.js";import"./O7Z57GLZ.js";import"./VOYVH7QX.js";import"./5Z2FPM3N.js";import"./3BCMTX5A.js";import"./AEIXUSBT.js";import"./2IG3IMPC.js";import"./JNYHCS6W.js";import"./B6Z3B7WO.js";import"./RIUFIUZK.js";import"./DT2QNJXZ.js";import"./7TPSN3OZ.js";import"./DQZV5B4U.js";import"./PDBKU4S2.js";import"./GQCNQXN5.js";import"./CWXIDRS2.js";import"./4UFKHCT4.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{b as o}from"./B7XE662D.js";import{b as d}from"./AEXIW5QK.js";import{C as n,D as a,E as r,h as t,i as s}from"./5AEWU6E5.js";import"./LW6D2HAX.js";var h=t`/**
3
+ v1.1.1 */
4
+ import{b as o}from"./USE6OJ76.js";import{b as d}from"./F3LYA4NW.js";import{C as n,D as a,E as r,h as t,i as s}from"./YGBNP67C.js";import"./4UFKHCT4.js";var h=t`/**
5
5
  * @license
6
6
  * Copyright 2025 Esri
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.20251015.1 */
4
- import"./LW6D2HAX.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
3
+ v1.1.1 */
4
+ import"./4UFKHCT4.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
@@ -1,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.20251015.1 */
3
+ v1.1.1 */
4
4
  function o(){return Intl.DateTimeFormat().resolvedOptions().timeZone}function m(r,e){let t=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"2-digit",day:"2-digit",timeZone:e??o()}).formatToParts(new Date(r));return[t[4].value,t[0].value,t[2].value].join("-")}function s(r,e){let t=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",timeZone:e??o(),hourCycle:"h23"}).formatToParts(new Date(r));return[t[0].value,t[2].value,t[4].value].join(":")}var w=()=>{let e=new Date(Date.now()+36e5),t=new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours()),i=t.toISOString(),a=new Date(t.valueOf()+36e5).toISOString(),n=o(),u=m(i,n),D=m(a,n);return{startDate:u,startDateTime:new Date(i),startTime:s(i,n),endDate:D,endDateTime:new Date(a),endTime:s(a,n),timeZone:n}};export{m as a,w 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.20251015.1 */
4
- import{a as b}from"./VKKM4XNL.js";import{b as k}from"./O6FR3FOW.js";import{g as a}from"./T5I64IOL.js";import{b as w}from"./B7XE662D.js";import{a as _}from"./K5SS6M5G.js";import"./RGGFNMOE.js";import"./TGTBQ4IM.js";import{b as y}from"./AEXIW5QK.js";import{C as p,D as g,E as m,G as r,h as n,i as l,o as h,r as d}from"./5AEWU6E5.js";import"./LW6D2HAX.js";var u=n`@layer{/** @license
3
+ v1.1.1 */
4
+ import{a as b}from"./UVAXWM4L.js";import{b as k}from"./PCEDSTLJ.js";import{g as a}from"./PSX4TZJP.js";import{b as w}from"./USE6OJ76.js";import{a as _}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as y}from"./F3LYA4NW.js";import{C as p,D as g,E as m,G as r,h as n,i as l,o as h,r as d}from"./YGBNP67C.js";import"./4UFKHCT4.js";var u=n`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{a as o}from"./LDNSWL2Z.js";import{d as r}from"./7D3QF2ET.js";import"./542FXWVN.js";import"./YR5O3VCH.js";import{a as s}from"./UP63PL53.js";import"./ZFCGEWOY.js";import"./KUHFKNOC.js";import"./ULUH53Q4.js";import"./TNRGSGGK.js";import"./SDVDM2NG.js";import"./LANYKU26.js";import"./MQSWCDFV.js";import"./34IANJ5L.js";import"./NCCHYDZY.js";import"./67T3HMOS.js";import"./QN4JXS37.js";import"./GWKGCSUR.js";import"./QHLLQI42.js";import"./IJEJKEC4.js";import"./SCQL3GII.js";import"./G32LTLMH.js";import"./YJ5RGO3H.js";import"./IYPSTJMC.js";import"./ZRCBFR6O.js";import"./GJ2RMK23.js";import"./MG3DM3OR.js";import"./MTPC7NWQ.js";import"./LW6D2HAX.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubViewGroup",t));export{m as buildDefaults,p as buildUiSchema};
3
+ v1.1.1 */
4
+ import{a as o}from"./5K76V7K5.js";import{d as r}from"./P55J63ZU.js";import"./RGWP6ZGP.js";import"./DK35UKU7.js";import{a as s}from"./ZUP2X5AU.js";import"./U4VWSAWK.js";import"./UNICLOME.js";import"./KB26CFS5.js";import"./KTABK32D.js";import"./6LZA3IU7.js";import"./I226XVK6.js";import"./IYRAUVEG.js";import"./O7Z57GLZ.js";import"./VOYVH7QX.js";import"./5Z2FPM3N.js";import"./3BCMTX5A.js";import"./AEIXUSBT.js";import"./2IG3IMPC.js";import"./JNYHCS6W.js";import"./B6Z3B7WO.js";import"./RIUFIUZK.js";import"./DT2QNJXZ.js";import"./7TPSN3OZ.js";import"./DQZV5B4U.js";import"./PDBKU4S2.js";import"./GQCNQXN5.js";import"./CWXIDRS2.js";import"./4UFKHCT4.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubViewGroup",t));export{m as buildDefaults,p as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import c from"./7QR7NLOV.js";import a from"./3AOH7JGU.js";import{J as I,lb as b,mb as P,q as A}from"./KH7LGU5K.js";import{g as p}from"./IEJZM3BQ.js";export default $arcgis.t(([{e:R,f:E,g:D,j:f,k:y},{a:O,b:h,d:m}])=>{var J=class{constructor(e,r,s){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=e,this.orgUrl=r,this.portalUrl=s,this.anonAgolSession=new p({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(e){this.cardCache.push(e)}getCache(){return this.cardCache}removeFromCache(e){this.cardCache=this.cardCache.filter(r=>r.id!==e)}requestAvailableSolutionCards(e,r,s,t,a,i){let d=a?.start?a.start:1,n=a?.num?a.num:24,N=this.portalUrl+"/sharing/rest",K=this.agolPortalUrl+"/sharing/rest",T=this.anonAgolSession,U=JSON.stringify(e.categories);if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==U||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:U,sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o;if(i&&i.size>0){let c=O(this.cardCache,i);o=h(c,d,n)}else o=h(this.cardCache,d,n);return Promise.resolve(o)}let F={filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,categories:e?.categories?this.convertSearchCategories(e.categories):""},u=[];if(r){let o=t||new p({});u.push(P(r,e.q,o,F,N))}return s&&u.push(P(s,e.q,T,F,K)),Promise.allSettled(u).then(o=>{let c=[];o.forEach((l,k)=>{let S=!!r&&k===0;if(l.status==="fulfilled"){let w=l.value,C="",q=!1;S?C=this.portalUrl:(C=this.agolPortalUrl,q=!0),w.results.forEach(v=>{v.sourcePortalUrl=C,v.knownToBePublicSource=q}),c.push(w)}else if(l.status==="rejected")throw new Error(S?l.reason.message:"enterpriseCannotAccessAGO")}),c.length===0?this.cardCache=[]:c.length===1?this.cardCache=this.getCardsFromResponse(c[0]):this.cardCache=m(this.getCardsFromResponse(this.mergeResponses(c)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let g;if(i&&i.size>0){let l=O(this.cardCache,i);g=h(l,d,n)}else g=h(this.cardCache,d,n);return Promise.resolve(g)}).catch(o=>Promise.reject(new Error(o.message)))}requestDeployedSolutionCards(e,r){let s=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(e.q)||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:"[]",sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let a=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(a)}let t={q:e.q,filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,authentication:r,portal:s,categories:e?.categories?JSON.stringify(e.categories):""};return b(t).then(a=>{this.cardCache=this.getCardsFromResponse(a);let i=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(a=>Promise.reject(new Error(a)))}convertSearchCategories(e){return e&&(Array.isArray(e)?e=e.map(r=>JSON.stringify(Array.isArray(r)?r:[r])):e=JSON.stringify([e])),e}getCardsFromResponse(e){return e.results.length>0?A(e.results).map(r=>{let s={id:r.id,title:r.title,snippet:r.snippet||"",description:r.description||"",url:r.url||"",itemUrl:this.orgUrl+"/home/item.html"+E([{k:"id",v:r.id}])||"",thumbnailFilename:r.thumbnail,thumbnailUrl:D(r.id,r.thumbnail,this.cMissingImageDataURI,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),tryitUrl:r.url||"",typeKeywords:r.typeKeywords,learnMoreUrl:r.properties?.learnMoreUrl||"",createdMs:r.created,created:f(r.created,this.locale),modified:f(r.modified,this.locale),numViews:r.numViews,tags:r.tags,categories:r.groupCategories&&r.groupCategories.length>0?r.groupCategories:r.categories||[],licenseInfo:R(r.licenseInfo),deployCommonId:y(r.typeKeywords||[],"solutionid-"),deployVersion:y(r.typeKeywords||[],"solutionversion-"),canDelete:r.created>16183314e5,canDeploy:(r.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(r.id,r.properties?.preview,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),sourcePortalUrl:r.sourcePortalUrl||"",knownToBePublicSource:r.knownToBePublicSource||!1,waitId:"",relatedSolutions:I(r,"properties.relatedSolutions")||[],owner:r.owner};return s.deployCommonId!==""&&s.deployVersion!==""?s:null}).filter(r=>r!=null):[]}mergeResponses(e){let r=0;e.forEach(t=>r+=t.total);let s=[];return e.forEach(t=>s=s.concat(t.results)),{query:e[0].query,start:1,num:r,nextStart:-1,total:r,results:s}}preparePreviewImageUrls(e,r,s){return r?r.map(t=>(t.format==="image"&&(t.name=s+"/sharing/rest/content/items/"+e+"/resources/"+t.name),t)):[]}};return J},a,c)
3
+ v1.1.1 */
4
+ import c from"./AMQ6Z4TC.js";import a from"./WHOLLTII.js";import{J as I,lb as b,mb as P,q as A}from"./TFCCDEFO.js";import{g as p}from"./NG46OHWH.js";export default $arcgis.t(([{e:R,f:E,g:D,j:f,k:y},{a:O,b:h,d:m}])=>{var J=class{constructor(e,r,s){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=e,this.orgUrl=r,this.portalUrl=s,this.anonAgolSession=new p({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(e){this.cardCache.push(e)}getCache(){return this.cardCache}removeFromCache(e){this.cardCache=this.cardCache.filter(r=>r.id!==e)}requestAvailableSolutionCards(e,r,s,t,a,i){let d=a?.start?a.start:1,n=a?.num?a.num:24,N=this.portalUrl+"/sharing/rest",K=this.agolPortalUrl+"/sharing/rest",T=this.anonAgolSession,U=JSON.stringify(e.categories);if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==U||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:U,sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o;if(i&&i.size>0){let c=O(this.cardCache,i);o=h(c,d,n)}else o=h(this.cardCache,d,n);return Promise.resolve(o)}let F={filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,categories:e?.categories?this.convertSearchCategories(e.categories):""},u=[];if(r){let o=t||new p({});u.push(P(r,e.q,o,F,N))}return s&&u.push(P(s,e.q,T,F,K)),Promise.allSettled(u).then(o=>{let c=[];o.forEach((l,k)=>{let S=!!r&&k===0;if(l.status==="fulfilled"){let w=l.value,C="",q=!1;S?C=this.portalUrl:(C=this.agolPortalUrl,q=!0),w.results.forEach(v=>{v.sourcePortalUrl=C,v.knownToBePublicSource=q}),c.push(w)}else if(l.status==="rejected")throw new Error(S?l.reason.message:"enterpriseCannotAccessAGO")}),c.length===0?this.cardCache=[]:c.length===1?this.cardCache=this.getCardsFromResponse(c[0]):this.cardCache=m(this.getCardsFromResponse(this.mergeResponses(c)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let g;if(i&&i.size>0){let l=O(this.cardCache,i);g=h(l,d,n)}else g=h(this.cardCache,d,n);return Promise.resolve(g)}).catch(o=>Promise.reject(new Error(o.message)))}requestDeployedSolutionCards(e,r){let s=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(e.q)||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:"[]",sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let a=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(a)}let t={q:e.q,filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,authentication:r,portal:s,categories:e?.categories?JSON.stringify(e.categories):""};return b(t).then(a=>{this.cardCache=this.getCardsFromResponse(a);let i=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(a=>Promise.reject(new Error(a)))}convertSearchCategories(e){return e&&(Array.isArray(e)?e=e.map(r=>JSON.stringify(Array.isArray(r)?r:[r])):e=JSON.stringify([e])),e}getCardsFromResponse(e){return e.results.length>0?A(e.results).map(r=>{let s={id:r.id,title:r.title,snippet:r.snippet||"",description:r.description||"",url:r.url||"",itemUrl:this.orgUrl+"/home/item.html"+E([{k:"id",v:r.id}])||"",thumbnailFilename:r.thumbnail,thumbnailUrl:D(r.id,r.thumbnail,this.cMissingImageDataURI,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),tryitUrl:r.url||"",typeKeywords:r.typeKeywords,learnMoreUrl:r.properties?.learnMoreUrl||"",createdMs:r.created,created:f(r.created,this.locale),modified:f(r.modified,this.locale),numViews:r.numViews,tags:r.tags,categories:r.groupCategories&&r.groupCategories.length>0?r.groupCategories:r.categories||[],licenseInfo:R(r.licenseInfo),deployCommonId:y(r.typeKeywords||[],"solutionid-"),deployVersion:y(r.typeKeywords||[],"solutionversion-"),canDelete:r.created>16183314e5,canDeploy:(r.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(r.id,r.properties?.preview,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),sourcePortalUrl:r.sourcePortalUrl||"",knownToBePublicSource:r.knownToBePublicSource||!1,waitId:"",relatedSolutions:I(r,"properties.relatedSolutions")||[],owner:r.owner};return s.deployCommonId!==""&&s.deployVersion!==""?s:null}).filter(r=>r!=null):[]}mergeResponses(e){let r=0;e.forEach(t=>r+=t.total);let s=[];return e.forEach(t=>s=s.concat(t.results)),{query:e[0].query,start:1,num:r,nextStart:-1,total:r,results:s}}preparePreviewImageUrls(e,r,s){return r?r.map(t=>(t.format==="image"&&(t.name=s+"/sharing/rest/content/items/"+e+"/resources/"+t.name),t)):[]}};return J},a,c)
@@ -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.20251015.1 */
4
- import c from"./7KXXVAFB.js";import{a as d,b as w,e as C,f as I}from"./SNJH2RQI.js";import a from"./RM3HUYCD.js";import{a as S}from"./D5Q4UAHQ.js";import{a as y}from"./CBDB4RMH.js";import{a as x}from"./FKUDFCE7.js";import{C as T}from"./AEDIDQNV.js";import{b}from"./4IPLM5AY.js";import"./RGGFNMOE.js";import"./TGTBQ4IM.js";import{E as f,G as r,h as v,i as n,o as $}from"./5AEWU6E5.js";import"./LW6D2HAX.js";export default $arcgis.t(([,{c:u,e:h,f:e,g:L,h:m,j:D,l:k}])=>{var E=v`calcite-modal{--calcite-modal-content-padding: 0}.instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}.instant-apps-language-translator__header-text{font-size:18px}.instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.instant-apps-language-translator__close-button{width:175px}.instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}.instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}.instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}.instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}.instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}.instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}.instant-apps-language-translator__primary-content{display:flex;align-items:center}.instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,.instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,.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`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},_=class extends f{constructor(){super(),this._messages=x({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=$(),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})],p={type:"application/json"},c=new Blob(o,p);return await a.update(c),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(){k()}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=L(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 I(this.portalItem);e.set("portalItemResource",t);let a=await C(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(h.uiData);m().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(h.uiData),o=m(),p=c=>{let g=s.get(c);if(c===a){g.selected=!0;return}g.selected=!1};o.forEach(p),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=${u.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(){return n`<div>${this.renderTopBar()}<slot name=language-translator-content></slot></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=w(),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=${u.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=D(t),s=Object.keys(d.partial);return S(a,o=>`translated-lang-option-${o}`,o=>{let p=s.includes(o)?"partial":"full",c=d[p],{language:g,translated:B}=c[o],P=`${g} - ${B}`;return n`<calcite-option .value=${o}>${P}</calcite-option>`})}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?y("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>`}};b("instant-apps-language-translator",_);return _},a,c)
3
+ v1.1.1 */
4
+ import c from"./2V52VLFJ.js";import{a as d,b as w,e as C,f as I}from"./3G7RVBUA.js";import a from"./2J4G54AQ.js";import{a as S}from"./DAR4Z4PY.js";import{a as y}from"./7Q36435D.js";import{a as x}from"./OGDSICU2.js";import{C as T}from"./3KQWJHJU.js";import{b}from"./KM72PDVP.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{E as f,G as r,h as v,i as n,o as $}from"./YGBNP67C.js";import"./4UFKHCT4.js";export default $arcgis.t(([,{c:u,e:h,f:e,g:L,h:m,j:D,l:k}])=>{var E=v`calcite-modal{--calcite-modal-content-padding: 0}.instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}.instant-apps-language-translator__header-text{font-size:18px}.instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.instant-apps-language-translator__close-button{width:175px}.instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}.instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}.instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}.instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}.instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}.instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}.instant-apps-language-translator__primary-content{display:flex;align-items:center}.instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,.instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,.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`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},_=class extends f{constructor(){super(),this._messages=x({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=$(),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})],p={type:"application/json"},c=new Blob(o,p);return await a.update(c),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(){k()}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=L(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 I(this.portalItem);e.set("portalItemResource",t);let a=await C(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(h.uiData);m().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(h.uiData),o=m(),p=c=>{let g=s.get(c);if(c===a){g.selected=!0;return}g.selected=!1};o.forEach(p),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=${u.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(){return n`<div>${this.renderTopBar()}<slot name=language-translator-content></slot></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=w(),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=${u.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=D(t),s=Object.keys(d.partial);return S(a,o=>`translated-lang-option-${o}`,o=>{let p=s.includes(o)?"partial":"full",c=d[p],{language:g,translated:B}=c[o],P=`${g} - ${B}`;return n`<calcite-option .value=${o}>${P}</calcite-option>`})}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?y("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>`}};b("instant-apps-language-translator",_);return _},a,c)