@esri/solutions-components 1.0.4 → 1.0.5

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 (458) hide show
  1. package/dist/cdn/{NZJDAUCM.js → 22F7LFMG.js} +2 -2
  2. package/dist/cdn/{EKX5RPAU.js → 25FEJN5O.js} +2 -2
  3. package/dist/cdn/{RNVECRCO.js → 25JM7WUJ.js} +2 -2
  4. package/dist/cdn/{62OBHD7N.js → 2A6DDRTH.js} +2 -2
  5. package/dist/cdn/{O42JTMA4.js → 2BDPGGKC.js} +2 -2
  6. package/dist/cdn/{Y2GJJZVT.js → 2IRIOH44.js} +2 -2
  7. package/dist/cdn/{GPR4I62X.js → 2LVUHNL4.js} +2 -2
  8. package/dist/cdn/{B5TR3333.js → 2QFMILDU.js} +2 -2
  9. package/dist/cdn/{7KJZVI5W.js → 2RWXUIPE.js} +2 -2
  10. package/dist/cdn/2TT2EKLS.js +4 -0
  11. package/dist/cdn/{3KRHILOK.js → 2VXYY4NW.js} +1 -1
  12. package/dist/cdn/{DHOIKSPR.js → 33UPFZYZ.js} +2 -2
  13. package/dist/cdn/{3HR3VX4I.js → 34BPQSHF.js} +2 -2
  14. package/dist/cdn/{O5G3N4I4.js → 35ZVLYI7.js} +2 -2
  15. package/dist/cdn/36RPCHBW.js +18 -0
  16. package/dist/cdn/{V46NQTOH.js → 3IMXMLFS.js} +2 -2
  17. package/dist/cdn/3LJQBCLM.js +18 -0
  18. package/dist/cdn/{UZQC4ZVD.js → 3RLVYGV7.js} +2 -2
  19. package/dist/cdn/{JSML77IB.js → 43R5NRNV.js} +1 -1
  20. package/dist/cdn/{EOWZY5KN.js → 4527TPFQ.js} +1 -1
  21. package/dist/cdn/4HAO722I.js +4 -0
  22. package/dist/cdn/{NXZAIYZX.js → 4J5HYMPQ.js} +2 -2
  23. package/dist/cdn/{WB2FCUBE.js → 4SF42JCK.js} +2 -2
  24. package/dist/cdn/{XXJ2SGBR.js → 4UCCOTIL.js} +2 -2
  25. package/dist/cdn/{FTC6GK32.js → 4ULTYKHN.js} +2 -2
  26. package/dist/cdn/56FAI7QX.js +18 -0
  27. package/dist/cdn/{MIBMXAW4.js → 5CGYAFLG.js} +2 -2
  28. package/dist/cdn/{CSQMTZUS.js → 5JHZFHQW.js} +2 -2
  29. package/dist/cdn/{X63ISSA7.js → 5JYWXCER.js} +2 -2
  30. package/dist/cdn/{MN4AZD42.js → 5K5LGI4X.js} +2 -2
  31. package/dist/cdn/{HOQDPNYX.js → 5LOTR4DW.js} +2 -2
  32. package/dist/cdn/{P3ZGSTRY.js → 5QHONC74.js} +2 -2
  33. package/dist/cdn/5S2FZKYO.js +18 -0
  34. package/dist/cdn/{5KH5K5HP.js → 5TRSWX6M.js} +2 -2
  35. package/dist/cdn/{PSP2EVIP.js → 5WAZGRRD.js} +2 -2
  36. package/dist/cdn/{3HVOQ754.js → 5WNLR3DS.js} +2 -2
  37. package/dist/cdn/{UD6VCHUK.js → 64ETTMNQ.js} +2 -2
  38. package/dist/cdn/{EUZPXNNK.js → 65NNPWV7.js} +1 -1
  39. package/dist/cdn/6LUI2X3G.js +18 -0
  40. package/dist/cdn/{N7IUWXAA.js → 6N7ZWEZT.js} +2 -2
  41. package/dist/cdn/{2UH456LC.js → 6U4PV22I.js} +1 -1
  42. package/dist/cdn/{GCOXBUN5.js → 6XYUDJQ2.js} +1 -1
  43. package/dist/cdn/{C3OFPO6W.js → 7244YR36.js} +2 -2
  44. package/dist/cdn/{KNBDWSMQ.js → 76DZHGT4.js} +2 -2
  45. package/dist/cdn/{GAV3AXFW.js → 76JQ5L7D.js} +2 -2
  46. package/dist/cdn/{MEIVZYDH.js → 7ATYJT4O.js} +2 -2
  47. package/dist/cdn/{NDWOAOHX.js → 7B2MAX64.js} +1 -1
  48. package/dist/cdn/{O6DAQEXK.js → 7M5YUYGE.js} +2 -2
  49. package/dist/cdn/{EFKYF4YS.js → 7NDRZHL6.js} +2 -2
  50. package/dist/cdn/{CUKJYJQY.js → 7NMV3XFP.js} +1 -1
  51. package/dist/cdn/{IEEVFYKM.js → 7OEQCUDV.js} +1 -1
  52. package/dist/cdn/{PY6UCRJ4.js → 7OZSPB2F.js} +2 -2
  53. package/dist/cdn/{A3ZMYVXL.js → 7WZE34BF.js} +2 -2
  54. package/dist/cdn/{6M3KYJDD.js → 7YFBO4YO.js} +2 -2
  55. package/dist/cdn/{YXM7GNWW.js → A4L4EUDH.js} +2 -2
  56. package/dist/cdn/{DYEFEHAR.js → AC7K2P6S.js} +11 -11
  57. package/dist/cdn/{NZ6L23VR.js → AGGLKLN3.js} +2 -2
  58. package/dist/cdn/{3VRCHULS.js → AHHA6SMZ.js} +2 -2
  59. package/dist/cdn/{GGCVMVWS.js → AOOQAYSR.js} +2 -2
  60. package/dist/cdn/{7W5RZY7N.js → AQZ3QIKE.js} +2 -2
  61. package/dist/cdn/{XZQRI4EN.js → AXDYNDWC.js} +1 -1
  62. package/dist/cdn/{TFCVVUA3.js → AYBHICHM.js} +2 -2
  63. package/dist/cdn/{YF5TQNZI.js → AYDTR35F.js} +2 -2
  64. package/dist/cdn/AYND4SCK.js +4 -0
  65. package/dist/cdn/{7M4VGKUT.js → B2AAEHPJ.js} +2 -2
  66. package/dist/cdn/{M6I7SCR3.js → B4PHULG7.js} +2 -2
  67. package/dist/cdn/B5754CLI.js +4 -0
  68. package/dist/cdn/{3PNCQZNB.js → BRSXWNGO.js} +2 -2
  69. package/dist/cdn/{A6ZN7UQQ.js → C6WPV722.js} +2 -2
  70. package/dist/cdn/{SK6BPGF7.js → CBITJT5D.js} +4 -4
  71. package/dist/cdn/CDBDE4TC.js +18 -0
  72. package/dist/cdn/{F7N2K2CB.js → CFPXLHXR.js} +2 -2
  73. package/dist/cdn/{UHGKM2WA.js → CGZZGJLP.js} +2 -2
  74. package/dist/cdn/{DJ4ET7YE.js → CJFK6TKW.js} +2 -2
  75. package/dist/cdn/CXN63GPC.js +18 -0
  76. package/dist/cdn/{HPVZXEFN.js → CXOHKJLR.js} +1 -1
  77. package/dist/cdn/{UBNEDJDQ.js → CYHKUA3T.js} +2 -2
  78. package/dist/cdn/{H3QBALK4.js → D2SOXDMW.js} +2 -2
  79. package/dist/cdn/{SU5YNWLR.js → D2UIHI5N.js} +2 -2
  80. package/dist/cdn/D2XDABCT.js +20 -0
  81. package/dist/cdn/{ST5DNJ5A.js → D3RXCR6Q.js} +1 -1
  82. package/dist/cdn/{TIJ35HYZ.js → DC2VXLYA.js} +2 -2
  83. package/dist/cdn/{DBZRC2CE.js → DCYHSAL2.js} +2 -2
  84. package/dist/cdn/{S3O4R37V.js → DHVPMGLT.js} +2 -2
  85. package/dist/cdn/{U75KCBUY.js → DO5IRX2P.js} +2 -2
  86. package/dist/cdn/DP2E5JFM.js +4 -0
  87. package/dist/cdn/DSA7P4FN.js +18 -0
  88. package/dist/cdn/{7WWEF64M.js → DZ75SULS.js} +2 -2
  89. package/dist/cdn/{DNSJZC4P.js → E4626BS2.js} +2 -2
  90. package/dist/cdn/{NNED4X6O.js → EEECQWVR.js} +2 -2
  91. package/dist/cdn/{ADQGTHIK.js → EHUPQ5JP.js} +2 -2
  92. package/dist/cdn/{TZTD5Q2B.js → EJ7VKYZG.js} +2 -2
  93. package/dist/cdn/{NT3MKX5U.js → EL5KWKMD.js} +2 -2
  94. package/dist/cdn/{7UJMLOZS.js → EPYFVSXR.js} +2 -2
  95. package/dist/cdn/{MFRHP354.js → EV22N3KD.js} +2 -2
  96. package/dist/cdn/{GDUFF5HE.js → EW3T5VLB.js} +2 -2
  97. package/dist/cdn/{XTADI7OE.js → EX6HJQ4X.js} +2 -2
  98. package/dist/cdn/{MFHU7RCE.js → FDNO4BVO.js} +2 -2
  99. package/dist/cdn/{2IQPFNPX.js → FFJCM7BG.js} +2 -2
  100. package/dist/cdn/{ZQUJEICA.js → FKCBARKI.js} +2 -2
  101. package/dist/cdn/{XURZ7NUD.js → FLX4QZPY.js} +4 -4
  102. package/dist/cdn/{4QEWKLNG.js → FQTZU3Z2.js} +2 -2
  103. package/dist/cdn/{UFT52UFX.js → FZV7IALP.js} +2 -2
  104. package/dist/cdn/{EK6E5RV4.js → G2PAP4HL.js} +2 -2
  105. package/dist/cdn/{Q4EXL46G.js → G56M322A.js} +2 -2
  106. package/dist/cdn/{ROGVNZHG.js → G7LK4PDL.js} +2 -2
  107. package/dist/cdn/{FMIGRU3V.js → GE2KFI4B.js} +3 -3
  108. package/dist/cdn/{T2MYK67I.js → GFTGPFHL.js} +2 -2
  109. package/dist/cdn/{CFXL3A27.js → GFTMWJE2.js} +2 -2
  110. package/dist/cdn/{3M5E2W6J.js → GGBJCIO7.js} +2 -2
  111. package/dist/cdn/{QFODTZZX.js → GJ2UG6YP.js} +2 -2
  112. package/dist/cdn/{2N3SSEWE.js → GKBVNMEW.js} +2 -2
  113. package/dist/cdn/{ORKHRXHB.js → GUN44VYU.js} +2 -2
  114. package/dist/cdn/{OHWF5VUN.js → H36GDFY7.js} +1 -1
  115. package/dist/cdn/{P5WUMEFT.js → H3C4GIDZ.js} +2 -2
  116. package/dist/cdn/{J2SERNA3.js → H3FM5UM6.js} +1 -1
  117. package/dist/cdn/{VRFHYYVR.js → H4HFWY3H.js} +2 -2
  118. package/dist/cdn/{CHBTCIMS.js → H72WOGJ7.js} +2 -2
  119. package/dist/cdn/{I74ECT7N.js → HCCTS5WV.js} +2 -2
  120. package/dist/cdn/{VCK56OWN.js → HKKUMEH5.js} +1 -1
  121. package/dist/cdn/{UK42NUMO.js → HM7EBFPG.js} +2 -2
  122. package/dist/cdn/{AD654KDS.js → HNUCWI6T.js} +2 -2
  123. package/dist/cdn/{VY7KRQYG.js → HOTDMMJJ.js} +2 -2
  124. package/dist/cdn/{PKEJXERE.js → HPUAGDRV.js} +2 -2
  125. package/dist/cdn/{WNOY5N4R.js → HR2HFJXC.js} +1 -1
  126. package/dist/cdn/HRBMV6MS.js +18 -0
  127. package/dist/cdn/HZILY6RQ.js +18 -0
  128. package/dist/cdn/{A7PIN73K.js → I3SHQQXU.js} +2 -2
  129. package/dist/cdn/{Z2J6R7BH.js → I3ZD6IV4.js} +1 -1
  130. package/dist/cdn/{3PGLZBWX.js → IAHPQU5I.js} +2 -2
  131. package/dist/cdn/{CH7DLGUP.js → IFPYTV3R.js} +1 -1
  132. package/dist/cdn/{5FTGQPO5.js → IHQISHAM.js} +2 -2
  133. package/dist/cdn/{6QIO3AQD.js → IMFE25FS.js} +2 -2
  134. package/dist/cdn/IMYZB3YV.js +18 -0
  135. package/dist/cdn/{B5XYDLJB.js → IPXTSW43.js} +2 -2
  136. package/dist/cdn/{WG5YJAJK.js → IREZCPC5.js} +2 -2
  137. package/dist/cdn/{KC4KCTUH.js → IS4CHLDX.js} +2 -2
  138. package/dist/cdn/{DDOXQYTI.js → IVWP7URA.js} +2 -2
  139. package/dist/cdn/{DLQHSRI3.js → J252EEIH.js} +2 -2
  140. package/dist/cdn/{TPLOAFHX.js → JAMFZUE3.js} +2 -2
  141. package/dist/cdn/{UYA6RFIA.js → JJJAHCRO.js} +2 -2
  142. package/dist/cdn/{KEC5BNS2.js → JMMD7YBL.js} +2 -2
  143. package/dist/cdn/{JWLGFVVC.js → JOWT5YJ4.js} +2 -2
  144. package/dist/cdn/{5YJKRSII.js → JRMGFAZK.js} +2 -2
  145. package/dist/cdn/{PEHGGHQ4.js → JUVS4QTT.js} +2 -2
  146. package/dist/cdn/JYDRZHOB.js +4 -0
  147. package/dist/cdn/{MN5Q6VKW.js → KJOPUX6H.js} +2 -2
  148. package/dist/cdn/{YOTDGZIS.js → KQIW24JY.js} +2 -2
  149. package/dist/cdn/{ENKVILKY.js → KQPN7NFG.js} +2 -2
  150. package/dist/cdn/{PEPBVRCK.js → KUFJAMWI.js} +3 -3
  151. package/dist/cdn/{5QPBHI6N.js → LG2N3IDQ.js} +2 -2
  152. package/dist/cdn/{NM3XHUXJ.js → LIXHHHMQ.js} +1 -1
  153. package/dist/cdn/{KPNSWPLU.js → LUCYOE4G.js} +2 -2
  154. package/dist/cdn/{6DXOCCZA.js → M35TRRGF.js} +1 -1
  155. package/dist/cdn/{X6NXSOAM.js → M3L66GKK.js} +2 -2
  156. package/dist/cdn/{UJSAFWWD.js → M4VZ4CMY.js} +2 -2
  157. package/dist/cdn/{UJN2FPCY.js → M6GEH5RY.js} +2 -2
  158. package/dist/cdn/{EQQAWMKP.js → M7HD332R.js} +1 -1
  159. package/dist/cdn/{GOMTEPFA.js → MK7N6OTA.js} +1 -1
  160. package/dist/cdn/{DVIQ73JS.js → ML3FDA7I.js} +2 -2
  161. package/dist/cdn/{WRG6UGAU.js → MO5VIHBL.js} +2 -2
  162. package/dist/cdn/{3CQVKR4G.js → MTDAXKJA.js} +1 -1
  163. package/dist/cdn/{XE2T5GMW.js → MURI73WZ.js} +2 -2
  164. package/dist/cdn/{2XKHAKJH.js → MVAWCLJQ.js} +2 -2
  165. package/dist/cdn/N54CIKSY.js +4 -0
  166. package/dist/cdn/{4V3EN7XG.js → N5MNRNS4.js} +2 -2
  167. package/dist/cdn/{CBMM32W4.js → NNNUOKAQ.js} +2 -2
  168. package/dist/cdn/{PQ75UOOH.js → NTJ65ON3.js} +2 -2
  169. package/dist/cdn/NTSPFMPN.js +18 -0
  170. package/dist/cdn/{IQE4M5WS.js → O4U6ZUNI.js} +2 -2
  171. package/dist/cdn/{PPCFTYMM.js → ODVL6BLS.js} +2 -2
  172. package/dist/cdn/{2MCXJEIU.js → OG4FHSPI.js} +1 -1
  173. package/dist/cdn/{EI2SLBFR.js → OGRHFK6Y.js} +2 -2
  174. package/dist/cdn/{W7DEAFBS.js → ONL3NL26.js} +2 -2
  175. package/dist/cdn/{755YFLK2.js → OORGXTFY.js} +2 -2
  176. package/dist/cdn/{5GEHFK5G.js → OOX6G6UE.js} +2 -2
  177. package/dist/cdn/{ZFQ2JKAE.js → OQJGVRY2.js} +2 -2
  178. package/dist/cdn/{FFIBCVX2.js → OTYGSW7W.js} +2 -2
  179. package/dist/cdn/{ZEFYE6IH.js → OZWDP6Y7.js} +2 -2
  180. package/dist/cdn/{SQA4Z3HQ.js → PGB7D5V5.js} +2 -2
  181. package/dist/cdn/{H4R7X2AK.js → PJSBBGLJ.js} +2 -2
  182. package/dist/cdn/{ATGDZI46.js → PKKVL46F.js} +2 -2
  183. package/dist/cdn/{AI6YM633.js → PLTCACVO.js} +2 -2
  184. package/dist/cdn/{ZTWWXPZM.js → PNZFKJGE.js} +2 -2
  185. package/dist/cdn/PP6K5WOA.js +4 -0
  186. package/dist/cdn/{5GCZQ47Q.js → PSUWSWTK.js} +2 -2
  187. package/dist/cdn/{GJGBNYWB.js → PWM7PIST.js} +3 -3
  188. package/dist/cdn/{DC2E55EL.js → Q5QONQ6T.js} +2 -2
  189. package/dist/cdn/{PMRPPUOG.js → Q66CZJP6.js} +1 -1
  190. package/dist/cdn/{3O2FMCDB.js → QBIXFYYE.js} +1 -1
  191. package/dist/cdn/{PTLSOJ2V.js → QH2LKILS.js} +2 -2
  192. package/dist/cdn/{WGL2BCUM.js → QNXFXUZA.js} +2 -2
  193. package/dist/cdn/{AK2IOGVT.js → QP26HSVE.js} +1 -1
  194. package/dist/cdn/{QENLODCT.js → QQPQDFEM.js} +2 -2
  195. package/dist/cdn/{ERJCAGCH.js → QU55HNGY.js} +2 -2
  196. package/dist/cdn/{WMRXZUG4.js → QUCDVIOQ.js} +2 -2
  197. package/dist/cdn/{SISGIM4G.js → QVLJY52I.js} +2 -2
  198. package/dist/cdn/{HZDGJLAD.js → QYU6USHT.js} +2 -2
  199. package/dist/cdn/{5ZUU5HU5.js → QZAU4Z6W.js} +2 -2
  200. package/dist/cdn/{CJOWQ5NE.js → R5UFCXCH.js} +2 -2
  201. package/dist/cdn/{THC2GZPK.js → RC3IVWI3.js} +1 -1
  202. package/dist/cdn/{R4JBNSHM.js → RCDWSNVF.js} +2 -2
  203. package/dist/cdn/{MICSEU5B.js → RIQFARZP.js} +2 -2
  204. package/dist/cdn/{NCLWZM55.js → RMU2WXMJ.js} +2 -2
  205. package/dist/cdn/{5OKQHKMQ.js → RVTHLBJL.js} +2 -2
  206. package/dist/cdn/{KJROYCIQ.js → RWQELBMY.js} +2 -2
  207. package/dist/cdn/{L6PPOZ6H.js → RYQCNLW7.js} +2 -2
  208. package/dist/cdn/{SM2ZGXN2.js → S3AWAGTI.js} +2 -2
  209. package/dist/cdn/{R2IVNBNU.js → S5TXHJGZ.js} +2 -2
  210. package/dist/cdn/{NGN4GJ7L.js → S6GQFWK7.js} +2 -2
  211. package/dist/cdn/{525IK7S3.js → SBX54Z43.js} +2 -2
  212. package/dist/cdn/SCOCPPIV.js +383 -0
  213. package/dist/cdn/{PEJAYVXV.js → SH3RI2GK.js} +2 -2
  214. package/dist/cdn/{D22VRCQZ.js → SHWG5PCG.js} +2 -2
  215. package/dist/cdn/{TA7HLGDD.js → SMY4IACN.js} +2 -2
  216. package/dist/cdn/{DGN4U6I6.js → SUSAZ65X.js} +2 -2
  217. package/dist/cdn/{JYVM54WT.js → T6PMIZLP.js} +2 -2
  218. package/dist/cdn/{Z7DOTE4W.js → TA3ZXQAF.js} +2 -2
  219. package/dist/cdn/TBU33TUJ.js +18 -0
  220. package/dist/cdn/{W3Z2KVM3.js → TENNMXGF.js} +1 -1
  221. package/dist/cdn/{QVEKZTHX.js → TIUXVXYM.js} +2 -2
  222. package/dist/cdn/{M4VW4GKI.js → TKDGIQNC.js} +2 -2
  223. package/dist/cdn/{Z2BS6PDT.js → TNEFDIIG.js} +2 -2
  224. package/dist/cdn/{BII4KR4A.js → TTDNDVCB.js} +2 -2
  225. package/dist/cdn/{7XD5FYQH.js → TVGUICDI.js} +2 -2
  226. package/dist/cdn/{2QFAL42J.js → TXB56MNF.js} +2 -2
  227. package/dist/cdn/{QT25SZ3S.js → TYVJSPBM.js} +2 -2
  228. package/dist/cdn/{72A2Y2EQ.js → U4LWP3KK.js} +1 -1
  229. package/dist/cdn/{QPJLKOGU.js → UCI3QQAA.js} +1 -1
  230. package/dist/cdn/{XIWW264L.js → UDYWBQQB.js} +2 -2
  231. package/dist/cdn/UISRG6AV.js +18 -0
  232. package/dist/cdn/{4RUO65YZ.js → UITEOOYI.js} +1 -1
  233. package/dist/cdn/{LFX2BV5P.js → UMIQ4XRZ.js} +2 -2
  234. package/dist/cdn/{3MTECQIQ.js → UR7ODANG.js} +2 -2
  235. package/dist/cdn/{LEPX2J3T.js → UUY24OGE.js} +2 -2
  236. package/dist/cdn/{55MHSSEJ.js → UVRRN3AM.js} +2 -2
  237. package/dist/cdn/UZTSBHXN.js +294 -0
  238. package/dist/cdn/{S7TD37PA.js → V3XFBVJ2.js} +2 -2
  239. package/dist/cdn/VCL4EPUN.js +18 -0
  240. package/dist/cdn/VH4DOQZ4.js +4 -0
  241. package/dist/cdn/{EQ3E3UVU.js → VIRNYXF5.js} +2 -2
  242. package/dist/cdn/{YEE23JC2.js → VJF6Y7HU.js} +2 -2
  243. package/dist/cdn/{I7AMZQNZ.js → VLNWSZVR.js} +2 -2
  244. package/dist/cdn/{CIWLUKBJ.js → VOFDMTBC.js} +2 -2
  245. package/dist/cdn/{A7ABJL6C.js → VTS75E4I.js} +2 -2
  246. package/dist/cdn/{QH63BAVO.js → VUZA56M3.js} +2 -2
  247. package/dist/cdn/{ZVSLAQ5X.js → VXJY4QCS.js} +2 -2
  248. package/dist/cdn/{JSCLICIM.js → W3GV4JXP.js} +1 -1
  249. package/dist/cdn/{WT2FKAP6.js → W7HZRPHM.js} +2 -2
  250. package/dist/cdn/{7DEMXTPR.js → W7Z3ORQY.js} +2 -2
  251. package/dist/cdn/{YA3SBEXZ.js → WBAN3UIC.js} +2 -2
  252. package/dist/cdn/{CWSLTV67.js → WBRXMEMP.js} +2 -2
  253. package/dist/cdn/{46Z6LRFP.js → WCEUO2OS.js} +2 -2
  254. package/dist/cdn/{QLVKQU3N.js → WCVUN6XF.js} +2 -2
  255. package/dist/cdn/{Y7FST2QV.js → WFUAPKTB.js} +2 -2
  256. package/dist/cdn/{MEARRFPL.js → WIE3EFBI.js} +2 -2
  257. package/dist/cdn/{XZRHSLHF.js → WIVOL6CT.js} +1 -1
  258. package/dist/cdn/WN54HJON.js +4 -0
  259. package/dist/cdn/{XKQGFDT5.js → WNFUARBO.js} +2 -2
  260. package/dist/cdn/{X6LWFUFK.js → WQKEPPJH.js} +1 -1
  261. package/dist/cdn/{KYNAJJDV.js → WV2ZROZJ.js} +2 -2
  262. package/dist/cdn/{AQOENSWY.js → WZ764LLN.js} +1 -1
  263. package/dist/cdn/{KK3QWOG2.js → WZYGUEIV.js} +2 -2
  264. package/dist/cdn/{77SH6QGE.js → XFANWHPY.js} +2 -2
  265. package/dist/cdn/{WS42HFTU.js → XFM3FD2A.js} +2 -2
  266. package/dist/cdn/{2CQ66JGS.js → XK7SWBXE.js} +2 -2
  267. package/dist/cdn/{H57ZKHJ4.js → XU3KAISP.js} +1 -1
  268. package/dist/cdn/{4P2ED5MG.js → XXM424DO.js} +2 -2
  269. package/dist/cdn/{TW6H3Y5C.js → XYGVP2FK.js} +2 -2
  270. package/dist/cdn/{AROCXE5W.js → YC7HMH6M.js} +2 -2
  271. package/dist/cdn/{NF47PQ7Q.js → YEFAWRXP.js} +2 -2
  272. package/dist/cdn/YMUVFR3U.js +18 -0
  273. package/dist/cdn/{O27D4YVO.js → YQFYU4G2.js} +2 -2
  274. package/dist/cdn/YXHSDCRJ.js +4 -0
  275. package/dist/cdn/{MGAAWVDA.js → Z3XBAPZC.js} +1 -1
  276. package/dist/cdn/{MQWLMWGB.js → Z4FNCV4E.js} +2 -2
  277. package/dist/cdn/{SN7Y4QIQ.js → Z4WD3SG2.js} +1 -1
  278. package/dist/cdn/{GPO4L446.js → ZEPG4DE3.js} +2 -2
  279. package/dist/cdn/{ACYYQPGH.js → ZLTHON4G.js} +2 -2
  280. package/dist/cdn/{73W26K5Q.js → ZLU7K6TK.js} +2 -2
  281. package/dist/cdn/{45R5CD5E.js → ZRLT4TEH.js} +2 -2
  282. package/dist/cdn/{42AUJGFJ.js → ZUQZHS53.js} +2 -2
  283. package/dist/cdn/{D2RRQ3X4.js → ZV3QGDX6.js} +2 -2
  284. package/dist/cdn/{DSZ5WOHN.js → ZY74MRCW.js} +2 -2
  285. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
  286. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
  287. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.en.json +1 -1
  288. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.json +1 -1
  289. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
  290. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
  291. package/dist/cdn/assets/solution-deployed-card/t9n/messages.en.json +1 -1
  292. package/dist/cdn/assets/solution-deployed-card/t9n/messages.json +1 -1
  293. package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
  294. package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
  295. package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
  296. package/dist/cdn/assets/solution-item-accordion/t9n/messages.json +1 -1
  297. package/dist/cdn/index.js +2 -2
  298. package/dist/cdn/main.css +1 -1
  299. package/dist/chunks/Auth.js +1 -1
  300. package/dist/chunks/appConfig.js +1 -1
  301. package/dist/chunks/cardFetchingUtils.js +3 -3
  302. package/dist/chunks/common.js +1 -1
  303. package/dist/chunks/deployAppContexts.js +1 -1
  304. package/dist/chunks/downloadUtils.js +1 -1
  305. package/dist/chunks/helpers.js +6 -6
  306. package/dist/chunks/index.js +1 -1
  307. package/dist/chunks/interfaces.js +23 -23
  308. package/dist/chunks/loadModules.js +1 -1
  309. package/dist/chunks/mapViewUtils.js +6 -6
  310. package/dist/chunks/pciUtils.js +1 -1
  311. package/dist/chunks/popupUtils.js +1 -1
  312. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  313. package/dist/chunks/privilegeUtils.js +143 -28
  314. package/dist/chunks/publicNotificationStore.js +1 -1
  315. package/dist/chunks/queryUtils.js +1 -1
  316. package/dist/chunks/runtime.js +1 -1
  317. package/dist/chunks/solution-store.js +4 -4
  318. package/dist/chunks/templates.js +1 -1
  319. package/dist/chunks/useT9n.js +1 -1
  320. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  321. package/dist/components/basemap-gallery/customElement.js +1 -1
  322. package/dist/components/buffer-tools/customElement.js +1 -1
  323. package/dist/components/card-manager/customElement.js +1 -1
  324. package/dist/components/consent-manager/customElement.js +1 -1
  325. package/dist/components/create-feature/customElement.js +1 -1
  326. package/dist/components/create-related-feature/customElement.js +1 -1
  327. package/dist/components/crowdsource-manager/customElement.js +4 -4
  328. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  329. package/dist/components/deduct-calculator/customElement.js +1 -1
  330. package/dist/components/delete-button/customElement.js +1 -1
  331. package/dist/components/delete-dialog/customElement.js +1 -1
  332. package/dist/components/edit-card/customElement.js +1 -1
  333. package/dist/components/feature-details/customElement.js +1 -1
  334. package/dist/components/feature-list/customElement.js +1 -1
  335. package/dist/components/field-selection/customElement.js +1 -1
  336. package/dist/components/floor-filter/customElement.js +1 -1
  337. package/dist/components/info-card/customElement.js +1 -1
  338. package/dist/components/json-editor/customElement.js +1 -1
  339. package/dist/components/layer-list/customElement.js +1 -1
  340. package/dist/components/layer-table/customElement.js +2 -2
  341. package/dist/components/map-card/customElement.js +2 -2
  342. package/dist/components/map-draw-tools/customElement.js +2 -2
  343. package/dist/components/map-fullscreen/customElement.js +1 -1
  344. package/dist/components/map-layer-picker/customElement.js +1 -1
  345. package/dist/components/map-legend/customElement.js +1 -1
  346. package/dist/components/map-picker/customElement.js +1 -1
  347. package/dist/components/map-search/customElement.js +1 -1
  348. package/dist/components/map-select-tools/customElement.js +2 -2
  349. package/dist/components/map-tools/customElement.js +1 -1
  350. package/dist/components/pci-calculator/customElement.js +1 -1
  351. package/dist/components/pdf-download/customElement.js +1 -1
  352. package/dist/components/public-notification/customElement.js +2 -2
  353. package/dist/components/refine-selection/customElement.js +2 -2
  354. package/dist/components/selection-tool/customElement.js +1 -1
  355. package/dist/components/solution-article-card/customElement.js +1 -1
  356. package/dist/components/solution-configuration/customElement.js +1 -1
  357. package/dist/components/solution-configure-dialog/customElement.d.ts +11 -0
  358. package/dist/components/solution-configure-dialog/customElement.js +78 -30
  359. package/dist/components/solution-configure-dialog/index.d.ts +6 -0
  360. package/dist/components/solution-configure-dialog/index.js +6 -0
  361. package/dist/components/solution-configure-titles/customElement.d.ts +5 -1
  362. package/dist/components/solution-configure-titles/customElement.js +22 -19
  363. package/dist/components/solution-contents/customElement.js +1 -1
  364. package/dist/components/solution-delete-dialog/customElement.d.ts +5 -0
  365. package/dist/components/solution-delete-dialog/customElement.js +66 -42
  366. package/dist/components/solution-deploy-dialog/customElement.d.ts +7 -2
  367. package/dist/components/solution-deploy-dialog/customElement.js +83 -113
  368. package/dist/components/solution-deployed-card/customElement.d.ts +11 -0
  369. package/dist/components/solution-deployed-card/customElement.js +45 -29
  370. package/dist/components/solution-deployed-card/index.d.ts +1 -1
  371. package/dist/components/solution-deployed-card/index.js +1 -1
  372. package/dist/components/solution-deploying-dialog/customElement.d.ts +24 -0
  373. package/dist/components/solution-deploying-dialog/customElement.js +71 -0
  374. package/dist/components/solution-details-card/customElement.js +2 -2
  375. package/dist/components/solution-details-panel/customElement.d.ts +1 -1
  376. package/dist/components/solution-details-panel/customElement.js +167 -76
  377. package/dist/components/solution-details-panel/index.d.ts +6 -0
  378. package/dist/components/solution-details-panel/index.js +6 -0
  379. package/dist/components/solution-item/customElement.js +1 -1
  380. package/dist/components/solution-item-accordion/customElement.d.ts +8 -6
  381. package/dist/components/solution-item-accordion/customElement.js +19 -11
  382. package/dist/components/solution-item-accordion/index.d.ts +1 -0
  383. package/dist/components/solution-item-accordion/index.js +1 -0
  384. package/dist/components/solution-item-details/customElement.js +1 -1
  385. package/dist/components/solution-item-diagram/customElement.d.ts +0 -1
  386. package/dist/components/solution-item-diagram/customElement.js +63 -66
  387. package/dist/components/solution-item-icon/customElement.d.ts +1 -1
  388. package/dist/components/solution-item-icon/customElement.js +1 -1
  389. package/dist/components/solution-item-sharing/customElement.js +1 -1
  390. package/dist/components/solution-organization-variables/customElement.js +1 -1
  391. package/dist/components/solution-resource-item/customElement.js +2 -2
  392. package/dist/components/solution-snapshot-gallery/customElement.d.ts +0 -5
  393. package/dist/components/solution-snapshot-gallery/customElement.js +14 -14
  394. package/dist/components/solution-spatial-ref/customElement.js +14 -14
  395. package/dist/components/solution-template-data/customElement.js +1 -1
  396. package/dist/components/solution-variables/customElement.js +1 -1
  397. package/dist/components/solutions-all-panel/customElement.js +35 -102
  398. package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
  399. package/dist/components/solutions-all-shell/customElement.js +23 -41
  400. package/dist/components/solutions-article-panel/customElement.js +1 -1
  401. package/dist/components/solutions-articles/customElement.js +11 -14
  402. package/dist/components/solutions-articles-shell/customElement.js +13 -16
  403. package/dist/components/solutions-deployed-panel/customElement.d.ts +9 -8
  404. package/dist/components/solutions-deployed-panel/customElement.js +39 -26
  405. package/dist/components/solutions-deployed-shell/customElement.d.ts +0 -1
  406. package/dist/components/solutions-deployed-shell/customElement.js +23 -41
  407. package/dist/components/solutions-filter-panel/customElement.js +16 -19
  408. package/dist/components/spatial-ref/customElement.js +1 -1
  409. package/dist/components/store-manager/customElement.js +1 -1
  410. package/dist/docs/api.json +328 -65
  411. package/dist/docs/docs.json +318 -56
  412. package/dist/docs/vscode.html-custom-data.json +26 -10
  413. package/dist/docs/web-types.json +103 -31
  414. package/dist/index.d.ts +18 -4
  415. package/dist/index.js +1 -1
  416. package/dist/loader.js +8 -8
  417. package/dist/types/lumina.d.ts +10 -9
  418. package/dist/types/preact.d.ts +11 -10
  419. package/dist/types/react.d.ts +12 -11
  420. package/dist/types/stencil.d.ts +10 -9
  421. package/dist/utils/interfaces.d.ts +10 -0
  422. package/dist/utils/privilegeUtils.d.ts +7 -0
  423. package/package.json +1 -1
  424. package/dist/cdn/22U6FEYE.js +0 -18
  425. package/dist/cdn/3FJRQN27.js +0 -18
  426. package/dist/cdn/4QGW7XLZ.js +0 -18
  427. package/dist/cdn/5Q2JJCFF.js +0 -4
  428. package/dist/cdn/67776ZSV.js +0 -18
  429. package/dist/cdn/7GJVOL2K.js +0 -4
  430. package/dist/cdn/BRT757S3.js +0 -18
  431. package/dist/cdn/C5C4KHG2.js +0 -4
  432. package/dist/cdn/CKQRWDEZ.js +0 -18
  433. package/dist/cdn/EPWZGWQJ.js +0 -4
  434. package/dist/cdn/F2MMZAMU.js +0 -18
  435. package/dist/cdn/JUWCTKXD.js +0 -4
  436. package/dist/cdn/KLCMDGZK.js +0 -289
  437. package/dist/cdn/LCT3NQOR.js +0 -18
  438. package/dist/cdn/M53O7AL7.js +0 -18
  439. package/dist/cdn/MA6BHO3S.js +0 -4
  440. package/dist/cdn/MALVFH5T.js +0 -20
  441. package/dist/cdn/NJB5H6NT.js +0 -4
  442. package/dist/cdn/NK6VN5CV.js +0 -18
  443. package/dist/cdn/OBGLJ4AM.js +0 -18
  444. package/dist/cdn/TNZETMBZ.js +0 -18
  445. package/dist/cdn/WAN4LQ52.js +0 -18
  446. package/dist/cdn/WRLRDSID.js +0 -18
  447. package/dist/cdn/X57FB3KD.js +0 -18
  448. package/dist/cdn/XV4GT4PM.js +0 -4
  449. package/dist/cdn/YHIK3V5C.js +0 -18
  450. package/dist/cdn/YI47D7GW.js +0 -4
  451. package/dist/cdn/YPFDFW4X.js +0 -4
  452. package/dist/cdn/Z3NILA3R.js +0 -369
  453. package/dist/components/solution-deploying-panel/customElement.d.ts +0 -12
  454. package/dist/components/solution-deploying-panel/customElement.js +0 -77
  455. /package/dist/cdn/assets/{solution-deploying-panel → solution-deploying-dialog}/t9n/messages.en.json +0 -0
  456. /package/dist/cdn/assets/{solution-deploying-panel → solution-deploying-dialog}/t9n/messages.json +0 -0
  457. /package/dist/components/{solution-deploying-panel → solution-deploying-dialog}/index.d.ts +0 -0
  458. /package/dist/components/{solution-deploying-panel → solution-deploying-dialog}/index.js +0 -0
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{e as c}from"./SK6BPGF7.js";import{b as l}from"./6DXOCCZA.js";var u=class{async getPopupTitle(t,p){this.arcade||await this._initModules();let r={};for(let[e,o]of Object.entries(t.attributes))r={...r,[`{${e.toUpperCase()}}`]:o};let a=t.layer,n=this._removeTags(a?.popupTemplate?.title);if(n.includes("{expression/expr")&&a?.popupTemplate?.expressionInfos!=null)for(let e=0;e<a.popupTemplate?.expressionInfos.length;e++){let o=a.popupTemplate.expressionInfos[e],i=this.arcade.createArcadeProfile("popup");try{let s=await(await this.arcade.createArcadeExecutor(o.expression,i)).executeAsync({$feature:t,$layer:a,$map:p});(s!=null||s!=="")&&(r[`{expression/${o.name}}`.toUpperCase()]=s)}catch(s){console.error(s);continue}}return a.popupTemplate?.fieldInfos&&a.fields.forEach(e=>{let o=t.attributes[e.name],i=(a?.popupTemplate?.fieldInfos||[]).find(f=>f.fieldName.toLowerCase()===e.name.toLowerCase()),s=c(o,e.type,e?.domain,i?.format,this.intl);r[`{${e.name.toUpperCase()}}`]=s??o}),n?.replace(/{.*?}/g,e=>r[e.toUpperCase()]!=null?r[e.toUpperCase()]:"")}_removeTags(t){return t==null||t===""?"":t.toString().replace(/(<([^>]+)>)/gi,"")}async _initModules(){let[t,p]=await l(["esri/arcade","esri/intl"]);this.arcade=t,this.intl=p}};export{u as a};
3
+ v1.0.5 */
4
+ import{e as c}from"./CBITJT5D.js";import{b as l}from"./M35TRRGF.js";var u=class{async getPopupTitle(t,p){this.arcade||await this._initModules();let r={};for(let[e,o]of Object.entries(t.attributes))r={...r,[`{${e.toUpperCase()}}`]:o};let a=t.layer,n=this._removeTags(a?.popupTemplate?.title);if(n.includes("{expression/expr")&&a?.popupTemplate?.expressionInfos!=null)for(let e=0;e<a.popupTemplate?.expressionInfos.length;e++){let o=a.popupTemplate.expressionInfos[e],i=this.arcade.createArcadeProfile("popup");try{let s=await(await this.arcade.createArcadeExecutor(o.expression,i)).executeAsync({$feature:t,$layer:a,$map:p});(s!=null||s!=="")&&(r[`{expression/${o.name}}`.toUpperCase()]=s)}catch(s){console.error(s);continue}}return a.popupTemplate?.fieldInfos&&a.fields.forEach(e=>{let o=t.attributes[e.name],i=(a?.popupTemplate?.fieldInfos||[]).find(f=>f.fieldName.toLowerCase()===e.name.toLowerCase()),s=c(o,e.type,e?.domain,i?.format,this.intl);r[`{${e.name.toUpperCase()}}`]=s??o}),n?.replace(/{.*?}/g,e=>r[e.toUpperCase()]!=null?r[e.toUpperCase()]:"")}_removeTags(t){return t==null||t===""?"":t.toString().replace(/(<([^>]+)>)/gi,"")}async _initModules(){let[t,p]=await l(["esri/arcade","esri/intl"]);this.arcade=t,this.intl=p}};export{u 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.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as i}from"./GCOXBUN5.js";import{a}from"./O5G3N4I4.js";import"./T2MYK67I.js";import"./2MCXJEIU.js";import"./GOMTEPFA.js";import"./X6LWFUFK.js";import"./R2IVNBNU.js";import{a as o}from"./DNSJZC4P.js";import{a as s}from"./N7IUWXAA.js";import"./7W5RZY7N.js";import"./7M4VGKUT.js";import"./JYVM54WT.js";import"./2UH456LC.js";import{b as r}from"./JWLGFVVC.js";import"./W3Z2KVM3.js";import"./XKQGFDT5.js";import"./QPJLKOGU.js";import"./XE2T5GMW.js";import"./UHGKM2WA.js";import"./PEHGGHQ4.js";import"./ZFQ2JKAE.js";import"./3MTECQIQ.js";import"./UYA6RFIA.js";import"./R4JBNSHM.js";import"./KNBDWSMQ.js";import"./VCK56OWN.js";import"./CHBTCIMS.js";import"./IEEVFYKM.js";import"./3PGLZBWX.js";import"./7KJZVI5W.js";import"./QENLODCT.js";import"./CUKJYJQY.js";import"./VRFHYYVR.js";import"./YA3SBEXZ.js";import"./MGAAWVDA.js";import"./CH7DLGUP.js";import"./4RUO65YZ.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.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`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,l.thumbnail,i(l),"template",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}}]}]});export{d as buildUiSchema};
3
+ v1.0.5 */
4
+ import{a as i}from"./6XYUDJQ2.js";import{a}from"./35ZVLYI7.js";import"./GFTGPFHL.js";import"./OG4FHSPI.js";import"./MK7N6OTA.js";import"./WQKEPPJH.js";import"./S5TXHJGZ.js";import{a as o}from"./E4626BS2.js";import{a as s}from"./6N7ZWEZT.js";import"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import{b as r}from"./JOWT5YJ4.js";import"./TENNMXGF.js";import"./WNFUARBO.js";import"./UCI3QQAA.js";import"./MURI73WZ.js";import"./CGZZGJLP.js";import"./JUVS4QTT.js";import"./OQJGVRY2.js";import"./UR7ODANG.js";import"./JJJAHCRO.js";import"./RCDWSNVF.js";import"./76DZHGT4.js";import"./HKKUMEH5.js";import"./H72WOGJ7.js";import"./7OEQCUDV.js";import"./IAHPQU5I.js";import"./2RWXUIPE.js";import"./QQPQDFEM.js";import"./7NMV3XFP.js";import"./H4HFWY3H.js";import"./WBAN3UIC.js";import"./Z3XBAPZC.js";import"./IFPYTV3R.js";import"./UITEOOYI.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.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`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,l.thumbnail,i(l),"template",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}}]}]});export{d as buildUiSchema};
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
3
+ v1.0.5 */
4
4
  var y={allRenderFn:!1,element:!0,event:!0,hasRenderFn:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!0,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},we="app",Re=Object.defineProperty,xe=(e,t)=>{for(var o in t)Re(e,o,{get:t[o],enumerable:!0})},Se="http://www.w3.org/2000/svg",Te="http://www.w3.org/1999/xhtml",_e=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},q=(e,t)=>t in e,I=(e,t)=>(0,console.error)(e,t),X="http://www.w3.org/1999/xlink",w=typeof window<"u"?window:{};w.HTMLElement;var N={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,n)=>e.addEventListener(t,o,n),rel:(e,t,o,n)=>e.removeEventListener(t,o,n),ce:(e,t)=>new CustomEvent(e,t)},ke=e=>Promise.resolve(e),j=!1,G=[],ie=[],Ee=(e,t)=>o=>{e.push(o),j||(j=!0,t&&N.$flags$&4?K(D):N.raf(D))},J=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){I(o)}e.length=0},D=()=>{J(G),J(ie),(j=G.length>0)&&N.raf(D)},K=e=>ke().then(e),Ce=Ee(ie,!0),Le=e=>e!=null&&e!==void 0,$e=e=>(e=typeof e,e==="object"||e==="function"),Ae=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Oe={};xe(Oe,{err:()=>ce,map:()=>Fe,ok:()=>U,unwrap:()=>Me,unwrapErr:()=>Pe});var U=e=>({isOk:!0,isErr:!1,value:e}),ce=e=>({isOk:!1,isErr:!0,value:e});function Fe(e,t){if(e.isOk){let o=t(e.value);return o instanceof Promise?o.then(n=>U(n)):U(o)}if(e.isErr){let o=e.value;return ce(o)}throw"should never get here"}var Me=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},de=e=>{let t=ee(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&fe(t,e.tagName).forEach(n=>{n.nodeType===1&&n.tagName==="SLOT-FB"&&(De(n,Q(n),!1).length?n.hidden=!0:n.hidden=!1)});let o=0;for(o=0;o<t.length;o++){let n=t[o];n.nodeType===1&&ee(n,"childNodes").length&&de(n)}},je=e=>{let t=[];for(let o=0;o<e.length;o++){let n=e[o]["s-nr"]||void 0;n&&n.isConnected&&t.push(n)}return t};function fe(e,t,o){let n=0,s=[],l;for(;n<e.length;n++)l=e[n],l["s-sr"]&&(!t||l["s-hn"]===t)&&o===void 0&&s.push(l),s=[...s,...fe(l.childNodes,t,o)];return s}var De=(e,t,o=!0)=>{let n=[];(o&&e["s-sr"]||!e["s-sr"])&&n.push(e);let s=e;for(;s=s.nextSibling;)Q(s)===t&&(o||!s["s-sr"])&&n.push(s);return n},Z=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",Q=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function Ue(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;let t=o=>function(n){let s=[],l=this["s-sn"];n?.flatten&&console.error(`
5
5
  Flattening is not supported for Stencil non-shadow slots.
6
6
  You can use \`.childNodes\` to nested slot fallback content.
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.5 */
4
+ import b from"./FKCBARKI.js";import a from"./JAMFZUE3.js";import{c as p}from"./H36GDFY7.js";import"./FLX4QZPY.js";import"./2IRIOH44.js";import"./I3ZD6IV4.js";import"./RIQFARZP.js";import"./GKBVNMEW.js";import"./IHQISHAM.js";import"./Q66CZJP6.js";import"./2VXYY4NW.js";import"./GFTGPFHL.js";import"./OG4FHSPI.js";import"./MK7N6OTA.js";import"./WQKEPPJH.js";import"./EEECQWVR.js";import"./S5TXHJGZ.js";import"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import"./UCI3QQAA.js";import{a as l,b as h}from"./OZWDP6Y7.js";import{a as d}from"./TA3ZXQAF.js";import{B as i,D as c,c as o,d as t,x as n,y as r}from"./D3RXCR6Q.js";import"./UITEOOYI.js";export default $arcgis.t(([,{c:g}])=>{var u=o`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */.display-flex{display:flex}.align-items-center{align-items:center}.justify-content-center{justify-content:center}.footer{width:100%}.footer-override{--calcite-dialog-footer-space: 0px}.footer-card{width:200px;height:100px}.padding-1{padding:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-end-1{padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.padding-top-1{padding-top:1rem}.padding-top-1-2{padding-top:.5rem}.background-black{background-color:#151515}`,a=class extends r{constructor(){super(...arguments),this.authContextConsumer=n({context:p,subscribe:!0}),this.open=!1,this._translations=d({name:"solution-snapshot-gallery",blocking:!0}),this._displayText="",this._paginationControl=l(),this._screenshotNames=[],this._screenshots=[]}static{this.properties={authContextConsumer:0,card:0,screenshot:0,itemProperties:0,open:5,_translations:16}}static{this.styles=u}willUpdate(e){e.has("screenshot")&&this.screenshot&&(this._displayText=this.screenshot.alt),e.has("itemProperties")&&this.itemProperties&&(this._screenshots=this.itemProperties.preview,this._screenshotNames=this._screenshots.map(s=>s.name))}render(){return t`<calcite-dialog class="footer-override" .heading=${this.card?.title} modal @calciteDialogClose=${()=>this.open=!1} .open=${this.open} outside-close-disabled width=l>${this._getScreenshotView()}${this._getFooter()}</calcite-dialog>`}_getScreenshotView(){return this.screenshot?t`<div class="display-flex justify-content-center">${this._getImage(this.screenshot)}</div>`:""}_getFooter(){let e=this._screenshotNames.indexOf(this.screenshot?.name||"");return t`<div class="footer" slot=footer><div class="calcite-mode-dark display-flex align-items-center padding-start-1 padding-top-1-2 background-black"><calcite-label layout=inline><calcite-pagination class="padding-end-1" @calcitePaginationChange=${this._changeScreenshot} page-size=1 start-item=${e+1} total-items=${this.itemProperties?.preview.length??i} ${h(this._paginationControl)}></calcite-pagination>${this._displayText}</calcite-label></div>${this._getCards()}</div>`}_changeScreenshot(){this.screenshot=this._screenshots[this._paginationControl.value.startItem-1]}_getCards(){return t`<calcite-card-group class="card-group padding-1" label selection-mode=single>${this._screenshots.map(e=>t`<calcite-card class="footer-card" .label=${e.alt} @click=${()=>this._showScreenshot(e)} .selected=${e.name===this.screenshot?.name}>${this._getImage(e,"thumbnail")}</calcite-card>`)}</calcite-card-group>`}_getImage(e,s){return t`<img alt=${e.alt??i} slot=${s??i} src=${this._getSource(this.authContextConsumer.value,this.card?.id||"",e.name)??i}>`}_showScreenshot(e){this.screenshot=e}_getSource(e,s,m){return e?g(s||"",m,e):""}};c("solution-snapshot-gallery",a);return a},a,b)
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.5 */
4
+ import c from"./ONL3NL26.js";import b from"./JAMFZUE3.js";import{a as y,c as v}from"./H36GDFY7.js";import"./FLX4QZPY.js";import"./2IRIOH44.js";import"./I3ZD6IV4.js";import"./RIQFARZP.js";import"./GKBVNMEW.js";import"./IHQISHAM.js";import"./Q66CZJP6.js";import"./2VXYY4NW.js";import"./GFTGPFHL.js";import"./OG4FHSPI.js";import"./MK7N6OTA.js";import"./WQKEPPJH.js";import"./EEECQWVR.js";import"./S5TXHJGZ.js";import"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import"./UCI3QQAA.js";import{k as S,l as C,p as w,q as l,r as f}from"./76JQ5L7D.js";import{a as _}from"./TA3ZXQAF.js";import{D as p,c as u,d as a,e as g,n as o,x as n,y as m}from"./D3RXCR6Q.js";import"./UITEOOYI.js";export default $arcgis.t(([,{a:c,b:x}])=>{var A=u`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */calcite-panel{width:100%;height:100%}.card-group{overflow:hidden;padding:.5rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}`,h=class extends m{constructor(){super(...arguments),this.authContextConsumer=n({context:v,subscribe:!0}),this.agoSolutionsGroupId="",this.enterpriseSolutionsGroupId="",this.locale="",this.orgUrl="",this.portalUrl="",this.sortType="numviews",this.userSessionContextConsumer=n({context:y,subscribe:!0}),this.cards=[],this._translations=_({name:"solutions-all-panel",blocking:!0}),this._agoTerms=`${l} OR ${f}`,this._allCards=[],this._baseAgoTerms=l,this._categories=[],this._delay=!1,this._getSuggested=!1,this._relatedSolutions=new Set,this._sortField="numviews",this._sortOrder="desc",this.cardsFetched=o(),this.allCardsFetched=o()}static{this.properties={authContextConsumer:32,agoSolutionsGroupId:1,enterpriseSolutionsGroupId:1,locale:1,orgUrl:1,portalUrl:1,sortType:1,userSessionContextConsumer:32,cards:16,_translations:16}}static{this.styles=A}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),this.cards=await this._getSolutions()}async load(){this._cardsFetcher=new c(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new c(this.locale,this.orgUrl,this.portalUrl),this.cards=await this._getSolutions(),this.allCardsFetched.emit(this.cards),await this._getDeployedSolutions()}render(){return a`<calcite-panel><calcite-card-group class="card-group" label>${this._renderCards()}</calcite-card-group></calcite-panel>`}_renderCards(){return this.cards.length?this.cards.map(e=>a`<solution-details-card .card=${e}></solution-details-card>`):a`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.noSolutionsFound}</div></div>`}async _getSolutions(){let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},this.agoSolutionsGroupId,"",this.userSessionContextConsumer.value,{num:1e3}),t="/Categories/New Release",i=e?.cards.length?e.cards:[];this.sortType==="new"&&i.sort((s,r)=>s.categories.includes(t)&&!r.categories.includes(t)?-1:!s.categories.includes(t)&&r.categories.includes(t)?1:s.categories.includes(t)&&r.categories.includes(t)?s.categories.length-r.categories.length:0);let d=i.map(s=>{let r=s.categories.indexOf(t)>-1;return s.chip=r?"updated":"none",s});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards),this.cardsFetched.emit(d.length),d}async _getDeployedSolutions(){let e=this.authContextConsumer.value,t=this.userSessionContextConsumer.value;if(e&&t){let i=await x(e,t,this._cardsFetcher,this._cardsFetcherDeployed,w,"created");i&&(this._relatedSolutions=i.relatedSolutions,console.log(this._relatedSolutions))}}_getSolutionsBriefcase(){return a`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${g`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;this._getSuggested=!1,this._sortOrder="desc",t==="suggested"?this._getSuggested=!0:t==="new"?this._sortField="relevance":(t==="relevance"||t==="title"||t==="numviews")&&(t==="title"&&(this._sortOrder="asc"),this._sortField=t),this.sortType=t}_filterCards(e){if(e.industry){let t=this._getIndustryValue(e.industry);if(e.domain){let i=this._getDomainValue(e.domain);this._categories=[`/Categories/${t}/${i}`]}else this._categories=[`/Categories/${t}`];this._getSolutions()}}_getDomainValue(e){return C[e]}_getIndustryValue(e){return e==="AEC"?"AEC":S[e]}_clearFilterCategories(){this._categories=[]}};p("solutions-all-panel",h);return h},b,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.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as e}from"./WNOY5N4R.js";var{state:a,onChange:n}=e({managedLayers:{},managedTables:[],highlightHandles:[],removeHandles:()=>{a.highlightHandles.forEach(s=>s?.remove()),a.highlightHandles=[]}}),h=new CustomEvent("managedLayersChanged",{bubbles:!0,cancelable:!1,composed:!0});n("managedLayers",()=>{dispatchEvent(h)});export{a};
3
+ v1.0.5 */
4
+ import{a as e}from"./HR2HFJXC.js";var{state:a,onChange:n}=e({managedLayers:{},managedTables:[],highlightHandles:[],removeHandles:()=>{a.highlightHandles.forEach(s=>s?.remove()),a.highlightHandles=[]}}),h=new CustomEvent("managedLayersChanged",{bubbles:!0,cancelable:!1,composed:!0});n("managedLayers",()=>{dispatchEvent(h)});export{a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
3
+ v1.0.5 */
4
4
  function s(n,r){return Object.keys(n).reduce(function(i,t){return i[t]=r(n[t],t,n),i},{})}function o(n,r,e){if(e=e||"",Array.isArray(n))return n.map(u);return n&&c(n)&&!a(n)&&!x(n)&&!p(n)?Object.assign({},n,s(n,u)):r(n,e);function u(i,t){let f=""+(e?e+"."+t:t);return o(i,r,f)}}function l(n){return typeof n=="string"||n instanceof String}function a(n){return n instanceof Date}function p(n){return typeof n=="function"}function c(n){return typeof n=="object"}function x(n){return n instanceof RegExp}export{o as a,l as b,c,x as d};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as o,b as s,c as i,d as p}from"./QENLODCT.js";import{c as r}from"./CUKJYJQY.js";import{a as e}from"./YA3SBEXZ.js";import{b as t}from"./MGAAWVDA.js";var E=["hub:project:create","hub:project:create2","hub:project:edit","hub:project:metrics","hub:project:settings"],b=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:r.properties}}),allOf:[s,o,p,i]});export{E as a,b};
3
+ v1.0.5 */
4
+ import{a as o,b as s,c as i,d as p}from"./QQPQDFEM.js";import{c as r}from"./7NMV3XFP.js";import{a as e}from"./WBAN3UIC.js";import{b as t}from"./Z3XBAPZC.js";var E=["hub:project:create","hub:project:create2","hub:project:edit","hub:project:metrics","hub:project:settings"],b=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:r.properties}}),allOf:[s,o,p,i]});export{E as a,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.0/esri/copyright.txt for details.
3
- v1.0.4 */
3
+ v1.0.5 */
4
4
  var t={type:"string",minLength:1,maxLength:250,format:"entityTitleValidator"},e={type:"string",minLength:1,maxLength:250,format:"siteEntityTitleValidator"},p={type:"string",maxLength:2048},r={type:"string",enum:["public","org","private"],default:"private"},o={type:"array",items:{type:"string"}},s={type:"array",items:{type:"string"},maxItems:20},n={type:"boolean",enum:[!0,!1],default:!0},i={type:"array",maxItems:4,items:{type:"string"}},a={type:"object",default:{type:"none"},properties:{type:{type:"string",enum:["none","org","custom"],default:"none"},name:{type:"string"}}},y={type:"object",properties:{baseViewItemId:{type:"array",items:{type:"string"},maxItems:1}}},E={type:"object",properties:{base64:{type:"string"},format:{type:"string"},fileName:{type:"string"},blob:{type:"object",properties:{type:{type:"string"},size:{type:"number"}}},url:{type:"string"}}},g={type:"object",properties:{title:{type:"string"},description:{type:"string"},canCollapse:{type:"boolean"},stages:{type:"array",items:{type:"object",properties:{title:{type:"string"},timeframe:{type:"string"},stageDescription:{type:"string"},status:{type:"string"},link:{type:"object",properties:{href:{type:"string"},title:{type:"string"}}}}}}}},c={type:"object",properties:{consentNotice:{type:"object",properties:{allowPrivacyConfig:{type:"boolean",default:!1},blocking:{type:"boolean",default:!1},disclaimer:{type:"array",items:[{type:"object",properties:{text:{type:"string"},lang:{type:"string"},default:{type:"boolean"}}}]},policyURL:{type:"string",pattern:"^(https?:\\/\\/)?([\\da-z.-]+)\\.([a-z.]{2,6})([\\/\\w.-]*)*\\/?$|^$"}}}}},l={type:"string",pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$"};export{t as a,e as b,p as c,r as d,o as e,s as f,n as g,i as h,a as i,y as j,E as k,g as l,c as m,l as n};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{e as t,g as i}from"./T2MYK67I.js";function n(r){let o=r&&r.hubApiUrl;return o||i(t(r))}export{n as a};
3
+ v1.0.5 */
4
+ import{e as t,g as i}from"./GFTGPFHL.js";function n(r){let o=r&&r.hubApiUrl;return o||i(t(r))}export{n as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as r}from"./3CQVKR4G.js";import{a as o,b as h}from"./3O2FMCDB.js";import{b as i}from"./J2SERNA3.js";import{a as l,c as t,d,e as p,f as g}from"./DVIQ73JS.js";import"./4RUO65YZ.js";var _=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration);overflow:hidden}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}",f=_,a={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},u=class{constructor(e){l(this,e),this.infoIsOpenChanged=g(this,"infoIsOpenChanged",6),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText="",this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=r.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=i(this.el),this.handleMobileBreakpoints(),this.dir=i(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){let e=this.logoImage==="undefined"||this.logoImage?.split("?")?.[0]==="undefined"||this.logoImage?.split("?")?.[0]===""||!this.logoImage,s=this.renderLogo(e),n=this.renderTitle(),c=this.headerAlignment==="right"||this.headerAlignment==="center"?a.headerContent.concat(" ",a.alignment[this.headerAlignment]):a.headerContent,m=o(this.fontFamily);return t(d,{key:"67508c680a63356bffe44968e023768d34a3a8d1"},this.customHeaderHtml?[t("style",null,this.customHeaderCss),t("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:t("header",{class:`${a.base}${this.dir==="rtl"?` ${a.flipRtl}`:""}${this.logoImage&&!e?` ${a.logoHeight}${this.logoScale}`:` ${a.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:m}},t("div",{class:a.headerContainer},t("span",{class:c},s,n,this.infoButton?t("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),t("div",{class:a.actionsEndContainer},t("slot",{name:"actions-end"})))))}renderLogo(e){let s=this.logoScale??"m",n=`${a.logoScale}${s}`;return e?"":this.logoImage&&this.logoLink?t("a",{href:this.logoLink,target:"_blank"},t("img",{class:n,src:this.logoImage,alt:this.logoImageAltText})):this.logoImage?t("img",{class:n,src:this.logoImage,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?t("a",{style:{color:this.textColor},href:this.titleTextLink,rel:"noopener noreferrer",target:"_blank"},t("h1",{style:{color:this.textColor}},this.titleText)):t("h1",{style:{color:this.textColor}},this.titleText)}async toggleInfo(){return this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen),await Promise.resolve()}mqlCallback(){return e=>{let{matches:s}=e;if(s){this.logoScale="s";return}this.logoScale=this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;let e=`(max-width: ${this.mobileWidthBreakpoint}px)`,s=window.matchMedia(e);s.matches&&(this.logoScale="s"),s.addEventListener("change",this.mqlCallback())}get el(){return p(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};u.style=f;export{u as instant_apps_header};
3
+ v1.0.5 */
4
+ import{a as r}from"./MTDAXKJA.js";import{a as o,b as h}from"./QBIXFYYE.js";import{b as i}from"./H3FM5UM6.js";import{a as l,c as t,d,e as p,f as g}from"./ML3FDA7I.js";import"./UITEOOYI.js";var _=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration);overflow:hidden}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}",f=_,a={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},u=class{constructor(e){l(this,e),this.infoIsOpenChanged=g(this,"infoIsOpenChanged",6),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText="",this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=r.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=i(this.el),this.handleMobileBreakpoints(),this.dir=i(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){let e=this.logoImage==="undefined"||this.logoImage?.split("?")?.[0]==="undefined"||this.logoImage?.split("?")?.[0]===""||!this.logoImage,s=this.renderLogo(e),n=this.renderTitle(),c=this.headerAlignment==="right"||this.headerAlignment==="center"?a.headerContent.concat(" ",a.alignment[this.headerAlignment]):a.headerContent,m=o(this.fontFamily);return t(d,{key:"67508c680a63356bffe44968e023768d34a3a8d1"},this.customHeaderHtml?[t("style",null,this.customHeaderCss),t("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:t("header",{class:`${a.base}${this.dir==="rtl"?` ${a.flipRtl}`:""}${this.logoImage&&!e?` ${a.logoHeight}${this.logoScale}`:` ${a.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:m}},t("div",{class:a.headerContainer},t("span",{class:c},s,n,this.infoButton?t("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),t("div",{class:a.actionsEndContainer},t("slot",{name:"actions-end"})))))}renderLogo(e){let s=this.logoScale??"m",n=`${a.logoScale}${s}`;return e?"":this.logoImage&&this.logoLink?t("a",{href:this.logoLink,target:"_blank"},t("img",{class:n,src:this.logoImage,alt:this.logoImageAltText})):this.logoImage?t("img",{class:n,src:this.logoImage,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?t("a",{style:{color:this.textColor},href:this.titleTextLink,rel:"noopener noreferrer",target:"_blank"},t("h1",{style:{color:this.textColor}},this.titleText)):t("h1",{style:{color:this.textColor}},this.titleText)}async toggleInfo(){return this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen),await Promise.resolve()}mqlCallback(){return e=>{let{matches:s}=e;if(s){this.logoScale="s";return}this.logoScale=this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;let e=`(max-width: ${this.mobileWidthBreakpoint}px)`,s=window.matchMedia(e);s.matches&&(this.logoScale="s"),s.addEventListener("change",this.mqlCallback())}get el(){return p(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};u.style=f;export{u as instant_apps_header};
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.5 */
4
+ import{c as f}from"./H36GDFY7.js";import{a,b as s}from"./OZWDP6Y7.js";import{a as g}from"./TA3ZXQAF.js";import{D as m,c as r,d as i,n as d,x as p,y as h,z as u}from"./D3RXCR6Q.js";import"./UITEOOYI.js";var w=r`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */.minor-card{width:200px}.center{justify-content:center;align-items:center}.align-self-center{align-self:center}.font-weight-semibold{font-weight:var(--calcite-font-weight-semibold)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.icon-color{color:var(--calcite-color-text-3)}.font-weight-normal{font-weight:var(--calcite-font-weight-normal)}.font-weight-medium{font-weight:var(--calcite-font-weight-medium)}.no-space{--calcite-label-margin-bottom: 0px}.font-color{color:red}.padding-end-1-2{padding-inline-end:.5rem}.padding-end-1{padding-inline-end:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.edit-button-position{position:absolute;right:1rem}html[dir=rtl] .edit-button-position{position:absolute;left:1rem}.max-width-20{max-width:20vw}.max-width-35{max-width:35vw}.max-width-40{max-width:40vw}.btn-center{width:100%;display:grid;place-items:center}.width-full{width:100%}.align-items-start{align-items:start}.font-size-override{--calcite-font-size--2: var(--calcite-font-size--1)}.width-400{width:400px}.padding-3-4{padding:.75rem}.margin-0{margin:0}`,n=class extends h{constructor(){super(...arguments),this.authContextConsumer=p({context:f,subscribe:!0}),this.open=!1,this.showSuccessAlert=!1,this.templateInfos=[],this._configureTitlesOpen=!1,this._displayClass="",this._translations=g({name:"solution-configure-dialog",blocking:!0}),this._editSummaryRef=a(),this._editSummaryPopoverRef=a(),this._editNameRef=a(),this._editNamePopoverRef=a(),this._typeKeywords=[],this.solutionConfigureDialogClose=d()}static{this.properties={authContextConsumer:0,card:0,cardRef:1,open:5,showSuccessAlert:5,templateInfos:0,_configureTitlesOpen:16,_displayClass:16,_translations:16}}static{this.styles=w}async load(){this.templateInfos=await this.cardRef.getTemplates()}updated(t){if(t.has("open")){let e=t.get("open");this.open&&!e&&this.cardRef.getTemplates().then(o=>{this.templateInfos=o})}}render(){return i`<div><calcite-dialog class=${u(this._displayClass)} .heading=${this.card?.title} modal @calciteDialogClose=${()=>{this.open=!1,this.solutionConfigureDialogClose.emit(),this._cleanupPanel(),this.card=void 0,this.templateInfos=[]}} .open=${this.open} outside-close-disabled width=l><div class="display-flex flex-direction-column"><div class="display-flex flex-direction-row padding-bottom-1"><calcite-card-group label>${this._getStartHereCard()}${this._getDiagramCard()}${this._getSolutionCard()}${this._getSolutionVersionCard()}</calcite-card-group></div>${this._getSolutionContents()}</div><div slot=footer-start></div><calcite-button appearance=outline @click=${this._close} slot=footer-end>${this._translations.closeTheDialog}</calcite-button>${this._getSuccessAlert()}</calcite-dialog>${this._getConfigureTitlesDialog()}</div>`}_getConfigureTitlesDialog(){return this._configureTitlesOpen?i`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${()=>{this._displayClass="",this._configureTitlesOpen=!1}} .open=${this._configureTitlesOpen} .templateInfos=${this.templateInfos}></solution-configure-titles>`:""}_getSuccessAlert(){return this.showSuccessAlert?i`<calcite-alert auto-close icon=check-circle kind=success .label=${this.card?.title||""} @calciteAlertClose=${()=>{this.showSuccessAlert=!1}} .open=${this.showSuccessAlert}><div slot=message>${this._translations.deploySuccessAlert.replace("{{solutionTitle}}",this.card?.title||"")}</div></calcite-alert>`:""}_getDiagramCard(){return this._getBasicCard(this._translations.diagramOfTheSolution,this._translations.diagramSubText,"model",this._translations.openTheDiagram,"outline",this._openDiagram,void 0)}async _openDiagram(t){this._displayClass="display-none";let e=await this.cardRef.renderDiagramDialog(t);e&&this.listenOn(e,"calciteDialogBeforeClose",()=>{this._displayClass=""})}_getStartHereCard(){return this._getBasicCard(this._translations.startHere,this._translations.startHereSubText,"file-text",this._translations.openTheDiagram,"solid")}_getSolutionVersionCard(){return this._getBasicCard(this._translations.solutionVersion,this._translations.youHaveTheLatestVersion,"check-shield",void 0,void 0,void 0,"Version 3.2")}_getBasicCard(t,e,o,l,_,v,c){return i`<calcite-card class="minor-card max-width-20 font-size-override"><span class="font-weight-medium" slot=heading>${t}</span><div class="display-flex center"><div class="display-flex flex-direction-column center"><calcite-icon class="icon-color" .icon=${o} scale=l></calcite-icon>${c?i`<span class="font-weight-medium">${c}</span>`:""}<p>${e}</p></div></div>${l?i`<div class="btn-center" slot=footer-start><calcite-button .appearance=${_} kind=brand @click=${v}>${l}</calcite-button></div>`:""}</calcite-card>`}_getSolutionCard(){let t="configure-edit-solution-name",e="configure-edit-solution-summary";return i`<calcite-card class="max-width-40 font-size-override"><calcite-label class="font-weight-medium" scale=l slot=heading>${this._translations.aboutYourSolution}</calcite-label><div class="display-flex flex-direction-column"><div class="display-flex align-items-start padding-bottom-1-2"><calcite-label class="font-weight-medium no-space padding-end-1-2" layout=inline>${this._translations.aboutYourSolutionName}</calcite-label><span class="font-weight-medium width-full align-self-start">${this.card?.title}</span><calcite-button appearance=transparent icon-start=pencil id=${t} kind=neutral ${s(this._editNameRef)}></calcite-button></div><div class="display-flex align-items-start padding-bottom-1-2"><calcite-label class="font-weight-medium no-space padding-end-1-2" layout=inline>${this._translations.aboutYourSolutionSummary}</calcite-label><span class="font-weight-medium width-full align-self-center">${this.card?.snippet}</span><calcite-button appearance=transparent icon-start=pencil id=${e} kind=neutral ${s(this._editSummaryRef)}></calcite-button></div><div class="display-flex"><calcite-label class="font-weight-medium no-space padding-end-1" layout=inline>${this._translations.aboutYourSolutionOwner}<calcite-link class="font-weight-normal" @click=${this._openUserProfile}>${this.card?.owner}</calcite-link></calcite-label><div class="display-flex"><calcite-label class="no-space icon-color" layout=inline><calcite-icon class="icon-color" icon=projects scale=s></calcite-icon>${this.card?.created}</calcite-label></div></div></div><div slot=footer-start><calcite-button appearance=outline class="padding-end-1" icon-start=arrow-up-down kind=brand @click=${this._showChangeOwner}>${this._translations.changeOwner}</calcite-button><calcite-button appearance=outline class="padding-end-1" icon-start=share kind=brand @click=${this._showItemDetails}>${this._translations.itemDetails}</calcite-button></div><calcite-button appearance=outline icon-start=trash kind=brand @click=${this._deleteSolution} slot=footer-end>${this._translations.deleteSolution}</calcite-button>${this._getEditNamePopover(t)}${this._getEditSummaryPopover(e)}</calcite-card>`}_getSolutionContents(){return i`<div><calcite-label class="font-weight-medium" layout=inline scale=l>${this._translations.solutionsContentsAndCount.replace("{{numberOfSolutions}}",this.templateInfos.length.toString())}<calcite-button appearance=outline icon-start=pencil kind=brand @click=${()=>{this._configureTitlesOpen=!0,this._displayClass="display-none"}}>${this._translations.updateTitles}</calcite-button></calcite-label><solution-item-accordion list-selection-mode=single .templateInfos=${this.templateInfos} .typeKeywords=${this._typeKeywords}></solution-item-accordion></div>`}async _deleteSolution(){this._displayClass="display-none";let t=await this.cardRef.renderDeleteDialog();t&&(this.listenOn(t,"calciteDialogBeforeClose",async()=>{this._displayClass="",this.templateInfos=await this.cardRef.getTemplates()}),this.listenOn(t,"solutionDeleted",()=>{this._close()}))}_showItemDetails(){window.open(this.card.itemUrl,"_blank")}_openUserProfile(t){t.stopPropagation();let e=this.authContextConsumer.value?.PortalSubset?.orgUrl;e&&window.open(`${e}/home/user.html`,"_blank")}_showChangeOwner(){}_getEditSummaryPopover(t){return i`<calcite-popover .heading=${this._translations.updateSolutionSummary} label overlay-positioning=fixed .referenceElement=${t} ${s(this._editSummaryPopoverRef)}><calcite-text-area class="padding-3-4 margin-0 width-400" rows=6 .value=${this.card?.snippet||""}></calcite-text-area><div class="display-flex flex-direction-row padding-3-4 margin-0"><calcite-button appearance=outline @click=${()=>this._closeSummaryChangePopup(!1)} width=full>${this._translations.cancelTheDialog}</calcite-button><calcite-button width=full @click=${()=>this._closeSummaryChangePopup(!0)}>${this._translations.ok}</calcite-button></div></calcite-popover>`}_closeSummaryChangePopup(t){console.log(t),this._editSummaryPopoverRef.value&&(this._editSummaryPopoverRef.value.open=!1)}_getEditNamePopover(t){return i`<calcite-popover .heading=${this._translations.updateSolutionName} .label=${this.card?.title||""} overlay-positioning=fixed .referenceElement=${t} ${s(this._editNamePopoverRef)}><calcite-input class="padding-3-4 margin-0 width-400" .value=${this.card?.title}></calcite-input><div class="display-flex flex-direction-row padding-3-4 margin-0"><calcite-button appearance=outline @click=${()=>this._closeNameChangePopup(!1)} width=full>${this._translations.cancelTheDialog}</calcite-button><calcite-button width=full @click=${()=>this._closeNameChangePopup(!0)}>${this._translations.ok}</calcite-button></div></calcite-popover>`}_closeNameChangePopup(t){console.log(t),this._editNamePopoverRef.value&&(this._editNamePopoverRef.value.open=!1)}_close(){this.open=!1}_cleanupPanel(){this._editSummaryPopoverRef.value?.open&&(this._editSummaryPopoverRef.value.open=!1),this._editNamePopoverRef.value?.open&&(this._editNamePopoverRef.value.open=!1)}};m("solution-configure-dialog",n);export{n as SolutionConfigureDialog};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as o}from"./ACYYQPGH.js";import{d as r}from"./R2IVNBNU.js";import"./JYVM54WT.js";import"./2UH456LC.js";import{a as s}from"./JWLGFVVC.js";import"./W3Z2KVM3.js";import"./XKQGFDT5.js";import"./QPJLKOGU.js";import"./XE2T5GMW.js";import"./UHGKM2WA.js";import"./PEHGGHQ4.js";import"./ZFQ2JKAE.js";import"./3MTECQIQ.js";import"./UYA6RFIA.js";import"./R4JBNSHM.js";import"./KNBDWSMQ.js";import"./VCK56OWN.js";import"./CHBTCIMS.js";import"./IEEVFYKM.js";import"./3PGLZBWX.js";import"./7KJZVI5W.js";import"./QENLODCT.js";import"./CUKJYJQY.js";import"./VRFHYYVR.js";import"./YA3SBEXZ.js";import"./MGAAWVDA.js";import"./CH7DLGUP.js";import"./4RUO65YZ.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.0.5 */
4
+ import{a as o}from"./ZLTHON4G.js";import{d as r}from"./S5TXHJGZ.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import{a as s}from"./JOWT5YJ4.js";import"./TENNMXGF.js";import"./WNFUARBO.js";import"./UCI3QQAA.js";import"./MURI73WZ.js";import"./CGZZGJLP.js";import"./JUVS4QTT.js";import"./OQJGVRY2.js";import"./UR7ODANG.js";import"./JJJAHCRO.js";import"./RCDWSNVF.js";import"./76DZHGT4.js";import"./HKKUMEH5.js";import"./H72WOGJ7.js";import"./7OEQCUDV.js";import"./IAHPQU5I.js";import"./2RWXUIPE.js";import"./QQPQDFEM.js";import"./7NMV3XFP.js";import"./H4HFWY3H.js";import"./WBAN3UIC.js";import"./Z3XBAPZC.js";import"./IFPYTV3R.js";import"./UITEOOYI.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,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as r}from"./DHOIKSPR.js";import"./WNOY5N4R.js";import{e as n}from"./XURZ7NUD.js";import"./Y2GJJZVT.js";import"./Z2J6R7BH.js";import"./MICSEU5B.js";import"./2N3SSEWE.js";import"./5FTGQPO5.js";import"./PMRPPUOG.js";import"./3KRHILOK.js";import"./T2MYK67I.js";import"./2MCXJEIU.js";import"./GOMTEPFA.js";import"./X6LWFUFK.js";import"./NNED4X6O.js";import"./R2IVNBNU.js";import"./7W5RZY7N.js";import"./7M4VGKUT.js";import"./XZRHSLHF.js";import"./JYVM54WT.js";import"./2UH456LC.js";import"./QPJLKOGU.js";import{b as i}from"./GAV3AXFW.js";import{a as f}from"./Z7DOTE4W.js";import{A as m,D as _,c as h,d as a,f as o,y as u,z as p}from"./ST5DNJ5A.js";import"./4RUO65YZ.js";var b=h`/** @license
3
+ v1.0.5 */
4
+ import{a as r}from"./33UPFZYZ.js";import"./HR2HFJXC.js";import{e as n}from"./FLX4QZPY.js";import"./2IRIOH44.js";import"./I3ZD6IV4.js";import"./RIQFARZP.js";import"./GKBVNMEW.js";import"./IHQISHAM.js";import"./Q66CZJP6.js";import"./2VXYY4NW.js";import"./GFTGPFHL.js";import"./OG4FHSPI.js";import"./MK7N6OTA.js";import"./WQKEPPJH.js";import"./EEECQWVR.js";import"./S5TXHJGZ.js";import"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import"./UCI3QQAA.js";import{b as i}from"./76JQ5L7D.js";import{a as f}from"./TA3ZXQAF.js";import{A as m,D as _,c as h,d as a,f as o,y as u,z as p}from"./D3RXCR6Q.js";import"./UITEOOYI.js";var b=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.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import"./4RUO65YZ.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
3
+ v1.0.5 */
4
+ import"./UITEOOYI.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as d}from"./3HR3VX4I.js";import{a as u,b as t,c as h}from"./H57ZKHJ4.js";import"./JYVM54WT.js";import{a as w}from"./2UH456LC.js";import"./4RUO65YZ.js";var f=e=>new Promise(o=>setTimeout(o,e));async function G(e){m(e);let o=P(e),{pollInterval:r,updateCache:n,progressCallback:s}=e,a;return n&&(a="updateCache"),E(o,r,a,s)}function m(e){let{layers:o=[]}=e;if(o.length===0)throw new d("fetchHubApiDownloadFileUrl","No layers provided for download");if(o.length>1)throw new d("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function P(e){let{entity:o,format:r,context:n,layers:s,geometry:a,where:c}=e,i=new URLSearchParams({redirect:"false",layers:s[0].toString()});if(a){let l=a.toJSON();l.type=a.type,i.append("geometry",JSON.stringify(l))}[u.GEOJSON,u.KML].includes(r)&&i.append("spatialRefId","4326"),c&&i.append("where",c);let p=w(n,"hubRequestOptions.authentication.token");return p&&i.append("token",p),`${n.hubUrl}/api/download/v1/items/${o.id}/${r}?${i.toString()}`}async function E(e,o,r,n){let s=e;r&&(s=`${e}&${r}=true`);let a=await fetch(s);if(!a.ok){let g=await a.json();throw new h({rawMessage:g.message})}let{status:c,progressInPercent:i,resultUrl:p,cacheStatus:l}=await a.json(),S=C(c);if(S===t.FAILED)throw new d("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:l}:(n&&n(S,i),await f(o),E(e,o,"trackCacheUpdate",n))}function C(e){let o={Pending:t.PENDING,InProgress:t.PROCESSING,ExportingData:t.PROCESSING,ExportAttachments:t.PROCESSING,Completed:t.COMPLETED,CompletedWithErrors:t.FAILED,Failed:t.FAILED,ProvisioningReplica:t.PROCESSING,ImportChanges:t.PROCESSING,ExportChanges:t.PROCESSING,ExportingSnapshot:t.PROCESSING,ImportAttachments:t.PROCESSING,UnRegisteringReplica:t.PROCESSING},r={Pending:t.PENDING,InProgress:t.PROCESSING,PagingData:t.PROCESSING,ConvertingData:t.CONVERTING,Failed:t.FAILED,Completed:t.COMPLETED};return o[e]||r[e]}export{G as fetchHubApiDownloadFile};
3
+ v1.0.5 */
4
+ import{a as d}from"./34BPQSHF.js";import{a as u,b as t,c as h}from"./XU3KAISP.js";import"./T6PMIZLP.js";import{a as w}from"./6U4PV22I.js";import"./UITEOOYI.js";var f=e=>new Promise(o=>setTimeout(o,e));async function G(e){m(e);let o=P(e),{pollInterval:r,updateCache:n,progressCallback:s}=e,a;return n&&(a="updateCache"),E(o,r,a,s)}function m(e){let{layers:o=[]}=e;if(o.length===0)throw new d("fetchHubApiDownloadFileUrl","No layers provided for download");if(o.length>1)throw new d("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function P(e){let{entity:o,format:r,context:n,layers:s,geometry:a,where:c}=e,i=new URLSearchParams({redirect:"false",layers:s[0].toString()});if(a){let l=a.toJSON();l.type=a.type,i.append("geometry",JSON.stringify(l))}[u.GEOJSON,u.KML].includes(r)&&i.append("spatialRefId","4326"),c&&i.append("where",c);let p=w(n,"hubRequestOptions.authentication.token");return p&&i.append("token",p),`${n.hubUrl}/api/download/v1/items/${o.id}/${r}?${i.toString()}`}async function E(e,o,r,n){let s=e;r&&(s=`${e}&${r}=true`);let a=await fetch(s);if(!a.ok){let g=await a.json();throw new h({rawMessage:g.message})}let{status:c,progressInPercent:i,resultUrl:p,cacheStatus:l}=await a.json(),S=C(c);if(S===t.FAILED)throw new d("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:l}:(n&&n(S,i),await f(o),E(e,o,"trackCacheUpdate",n))}function C(e){let o={Pending:t.PENDING,InProgress:t.PROCESSING,ExportingData:t.PROCESSING,ExportAttachments:t.PROCESSING,Completed:t.COMPLETED,CompletedWithErrors:t.FAILED,Failed:t.FAILED,ProvisioningReplica:t.PROCESSING,ImportChanges:t.PROCESSING,ExportChanges:t.PROCESSING,ExportingSnapshot:t.PROCESSING,ImportAttachments:t.PROCESSING,UnRegisteringReplica:t.PROCESSING},r={Pending:t.PENDING,InProgress:t.PROCESSING,PagingData:t.PROCESSING,ConvertingData:t.CONVERTING,Failed:t.FAILED,Completed:t.COMPLETED};return o[e]||r[e]}export{G as fetchHubApiDownloadFile};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as o}from"./ACYYQPGH.js";import{d as r}from"./R2IVNBNU.js";import"./JYVM54WT.js";import"./2UH456LC.js";import{a as s}from"./JWLGFVVC.js";import"./W3Z2KVM3.js";import"./XKQGFDT5.js";import"./QPJLKOGU.js";import"./XE2T5GMW.js";import"./UHGKM2WA.js";import"./PEHGGHQ4.js";import"./ZFQ2JKAE.js";import"./3MTECQIQ.js";import"./UYA6RFIA.js";import"./R4JBNSHM.js";import"./KNBDWSMQ.js";import"./VCK56OWN.js";import"./CHBTCIMS.js";import"./IEEVFYKM.js";import"./3PGLZBWX.js";import"./7KJZVI5W.js";import"./QENLODCT.js";import"./CUKJYJQY.js";import"./VRFHYYVR.js";import"./YA3SBEXZ.js";import"./MGAAWVDA.js";import"./CH7DLGUP.js";import"./4RUO65YZ.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:[{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,!0]}},{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("hubEditGroup",t));export{m as buildDefaults,p as buildUiSchema};
3
+ v1.0.5 */
4
+ import{a as o}from"./ZLTHON4G.js";import{d as r}from"./S5TXHJGZ.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import{a as s}from"./JOWT5YJ4.js";import"./TENNMXGF.js";import"./WNFUARBO.js";import"./UCI3QQAA.js";import"./MURI73WZ.js";import"./CGZZGJLP.js";import"./JUVS4QTT.js";import"./OQJGVRY2.js";import"./UR7ODANG.js";import"./JJJAHCRO.js";import"./RCDWSNVF.js";import"./76DZHGT4.js";import"./HKKUMEH5.js";import"./H72WOGJ7.js";import"./7OEQCUDV.js";import"./IAHPQU5I.js";import"./2RWXUIPE.js";import"./QQPQDFEM.js";import"./7NMV3XFP.js";import"./H4HFWY3H.js";import"./WBAN3UIC.js";import"./Z3XBAPZC.js";import"./IFPYTV3R.js";import"./UITEOOYI.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:[{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,!0]}},{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("hubEditGroup",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.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{jc as i}from"./XURZ7NUD.js";export default $arcgis.t(([])=>{function u(e){let t="",r="?";return e.forEach(n=>{n.k&&n.v&&(t+=r+n.k+"="+n.v,r="&")}),t}function m(e){return e?i(e,{}).then(t=>Promise.resolve(!!t)):Promise.resolve(!1)}function f(e){if(e){let t=e.trim();return t?"<div>"+t+"</div>":""}else return""}function o(e){let t="",r="?";return e.forEach(n=>{n.k&&n.v&&(t+=r+n.k+"="+n.v,r="&")}),t}function l(e,t,r,n){let s="";return t?s=n+"/sharing/rest/content/items/"+e+"/info/"+t+o([{k:"w",v:"400"}]):s=r,s}function h(e){let t=e?e.replace("https://","").replace("www.",""):"";return t.endsWith("devext.arcgis.com")||t.endsWith("mapsqa.arcgis.com")||t.endsWith("qaext.arcgis.com")?e??"https://www.arcgis.com":"https://www.arcgis.com"}function w(e,t,r){return t.some(n=>n.wkid===e?(r=n.defaultExtent,!0):!1),r}function g(e,t="en"){return new Intl.DateTimeFormat(t,{year:"numeric",month:"long",day:"numeric"}).format(e)}function d(e,t){let r="";return e.some(n=>n.startsWith(t)?(r=n.substring(t.length),!0):!1),r}return{a:u,b:m,c:f,d:o,e:l,f:h,g:w,h:g,i:d}},"intl")
3
+ v1.0.5 */
4
+ import{kc as i}from"./FLX4QZPY.js";export default $arcgis.t(([])=>{function u(e){let t="",r="?";return e.forEach(n=>{n.k&&n.v&&(t+=r+n.k+"="+n.v,r="&")}),t}function m(e){return e?i(e,{}).then(t=>Promise.resolve(!!t)):Promise.resolve(!1)}function f(e){if(e){let t=e.trim();return t?"<div>"+t+"</div>":""}else return""}function o(e){let t="",r="?";return e.forEach(n=>{n.k&&n.v&&(t+=r+n.k+"="+n.v,r="&")}),t}function l(e,t,r,n){let s="";return t?s=n+"/sharing/rest/content/items/"+e+"/info/"+t+o([{k:"w",v:"400"}]):s=r,s}function h(e){let t=e?e.replace("https://","").replace("www.",""):"";return t.endsWith("devext.arcgis.com")||t.endsWith("mapsqa.arcgis.com")||t.endsWith("qaext.arcgis.com")?e??"https://www.arcgis.com":"https://www.arcgis.com"}function w(e,t,r){return t.some(n=>n.wkid===e?(r=n.defaultExtent,!0):!1),r}function g(e,t="en"){return new Intl.DateTimeFormat(t,{year:"numeric",month:"long",day:"numeric"}).format(e)}function d(e,t){let r="";return e.some(n=>n.startsWith(t)?(r=n.substring(t.length),!0):!1),r}return{a:u,b:m,c:f,d:o,e:l,f:h,g:w,h:g,i:d}},"intl")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as e}from"./YA3SBEXZ.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
3
+ v1.0.5 */
4
+ import{a as e}from"./WBAN3UIC.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});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.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as n}from"./72A2Y2EQ.js";import{a as s}from"./O5G3N4I4.js";import"./T2MYK67I.js";import"./2MCXJEIU.js";import"./GOMTEPFA.js";import"./X6LWFUFK.js";import{a as r,b as i}from"./46Z6LRFP.js";import"./B5TR3333.js";import"./NNED4X6O.js";import"./R2IVNBNU.js";import{a as o}from"./DNSJZC4P.js";import{a}from"./N7IUWXAA.js";import"./7W5RZY7N.js";import"./7M4VGKUT.js";import"./XZRHSLHF.js";import"./JYVM54WT.js";import"./2UH456LC.js";import"./JWLGFVVC.js";import"./W3Z2KVM3.js";import"./XKQGFDT5.js";import"./QPJLKOGU.js";import"./XE2T5GMW.js";import"./UHGKM2WA.js";import"./PEHGGHQ4.js";import"./ZFQ2JKAE.js";import"./3MTECQIQ.js";import"./UYA6RFIA.js";import"./R4JBNSHM.js";import"./KNBDWSMQ.js";import"./VCK56OWN.js";import"./CHBTCIMS.js";import"./IEEVFYKM.js";import"./3PGLZBWX.js";import"./7KJZVI5W.js";import"./QENLODCT.js";import"./CUKJYJQY.js";import"./VRFHYYVR.js";import"./YA3SBEXZ.js";import"./MGAAWVDA.js";import"./CH7DLGUP.js";import"./4RUO65YZ.js";var d=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},n(e),{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"page",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await i(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
3
+ v1.0.5 */
4
+ import{a as n}from"./U4LWP3KK.js";import{a as s}from"./35ZVLYI7.js";import"./GFTGPFHL.js";import"./OG4FHSPI.js";import"./MK7N6OTA.js";import"./WQKEPPJH.js";import{a as r,b as i}from"./WCEUO2OS.js";import"./2QFMILDU.js";import"./EEECQWVR.js";import"./S5TXHJGZ.js";import{a as o}from"./E4626BS2.js";import{a}from"./6N7ZWEZT.js";import"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import"./JOWT5YJ4.js";import"./TENNMXGF.js";import"./WNFUARBO.js";import"./UCI3QQAA.js";import"./MURI73WZ.js";import"./CGZZGJLP.js";import"./JUVS4QTT.js";import"./OQJGVRY2.js";import"./UR7ODANG.js";import"./JJJAHCRO.js";import"./RCDWSNVF.js";import"./76DZHGT4.js";import"./HKKUMEH5.js";import"./H72WOGJ7.js";import"./7OEQCUDV.js";import"./IAHPQU5I.js";import"./2RWXUIPE.js";import"./QQPQDFEM.js";import"./7NMV3XFP.js";import"./H4HFWY3H.js";import"./WBAN3UIC.js";import"./Z3XBAPZC.js";import"./IFPYTV3R.js";import"./UITEOOYI.js";var d=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},n(e),{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"page",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await i(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as v}from"./W3Z2KVM3.js";import{a as y}from"./XKQGFDT5.js";import{a as p}from"./XE2T5GMW.js";import{a as d}from"./UHGKM2WA.js";import{a as E}from"./PEHGGHQ4.js";import{a as s}from"./ZFQ2JKAE.js";import{a as n}from"./3MTECQIQ.js";import{a}from"./UYA6RFIA.js";import{a as l}from"./R4JBNSHM.js";import{a as e}from"./KNBDWSMQ.js";import{a as r}from"./3PGLZBWX.js";import{a as t}from"./7KJZVI5W.js";import{a as i}from"./VRFHYYVR.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
3
+ v1.0.5 */
4
+ import{a as v}from"./TENNMXGF.js";import{a as y}from"./WNFUARBO.js";import{a as p}from"./MURI73WZ.js";import{a as d}from"./CGZZGJLP.js";import{a as E}from"./JUVS4QTT.js";import{a as s}from"./OQJGVRY2.js";import{a as n}from"./UR7ODANG.js";import{a}from"./JJJAHCRO.js";import{a as l}from"./RCDWSNVF.js";import{a as e}from"./76DZHGT4.js";import{a as r}from"./IAHPQU5I.js";import{a as t}from"./2RWXUIPE.js";import{a as i}from"./H4HFWY3H.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u 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.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{e as o}from"./RNVECRCO.js";import"./AK2IOGVT.js";import"./J2SERNA3.js";import{a as l,c as i,d,e as h}from"./DVIQ73JS.js";import"./4RUO65YZ.js";var c=class{constructor(){this.pages=[],this.headerText="",this.pages=[]}setPages(t){this.pages=t,this.setDefaultHeaderText()}setDefaultHeaderText(){this.headerText=this.pages.length?this.pages[0].title:""}},u=":host{--instant-apps-app-guide-width:300px;--instant-apps-app-guide-height:400px;--instant-apps-app-guide-list-item-bubble-size:22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;height:fit-content;background-color:var(--calcite-color-foreground-1);overflow:auto}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:0.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:0.5rem;padding-inline:0.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-ui-icon-color:var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}",_=u,p={contentList:"instant-apps-app-guide__content-list",contentListItem:"instant-apps-app-guide__content-list--item",contentWrapper:"instant-apps-app-guide__content-wrapper"},m=class{constructor(e){l(this,e),this._viewModel=new c,this.header=!0,this.data=void 0,this.messages=void 0,this.headerText=void 0}watchPropHandler(e){this._setContent(e)}watchStateHandler(e){this._viewModel.headerText=e}componentWillLoad(){this._setContent(this?.data)}componentDidLoad(){o(this)}render(){let e=this._renderAppGuidePages(this._viewModel.pages),t=this._renderAppGuideHeader();return i(d,{key:"17ec07719a7ea4692912d8c5e51a0ccfcf4fe448"},i("calcite-panel",{key:"fc659c5fcd7ee8370d79e8c6506cc6f55e784e74",scale:"s"},t,i("calcite-carousel",{key:"aa9b07f8ada18253b1a0fb0bfe228e04c81c6021",label:"App Guide",onCalciteCarouselChange:()=>this._updateHeaderText(),ref:a=>this._carouselRef=a,"arrow-type":this._getArrowType()},e)))}_setContent(e){this._viewModel.setPages(e),this.headerText=this._viewModel.headerText}_updateHeaderText(){let{_viewModel:e,_carouselRef:t,messages:a}=this;if(!(e&&t))return;let n=Array.from(t.childNodes).indexOf(t.selectedItem),r=e?.pages,g=r?.[n]??r[0];this.headerText=g?.title||a?.headerText}_getArrowType(){return this._viewModel.pages.length>2?"inline":"none"}_renderAppGuideHeader(){let{messages:e,header:t,headerText:a}=this,s=!!t&&e?.headerText,n=a||e?.headerText;return s?i("span",{slot:"header-content"},n," ",i("calcite-icon",{icon:"lightbulb",scale:"s"})):null}_renderAppGuidePages(e){return e.map((t,a)=>{let{content:s,type:n,title:r}=t;return i("calcite-carousel-item",{label:r,key:`page_${a}`},i("div",{class:p.contentWrapper},this._renderContentItems(s,n)))})}_renderContentItems(e,t){switch(t){case"list":return i("ol",{class:p.contentList},e.map((a,s)=>i("li",{key:`content-list-item-${s}`,class:p.contentListItem},a)));case"paragraphs":default:return e.map((a,s)=>i("p",{key:`content-paragraph-${s}`},a))}}get el(){return h(this)}static get watchers(){return{data:["watchPropHandler"],headerText:["watchStateHandler"]}}};m.style=_;export{m as instant_apps_app_guide};
3
+ v1.0.5 */
4
+ import{e as o}from"./25JM7WUJ.js";import"./QP26HSVE.js";import"./H3FM5UM6.js";import{a as l,c as i,d,e as h}from"./ML3FDA7I.js";import"./UITEOOYI.js";var c=class{constructor(){this.pages=[],this.headerText="",this.pages=[]}setPages(t){this.pages=t,this.setDefaultHeaderText()}setDefaultHeaderText(){this.headerText=this.pages.length?this.pages[0].title:""}},u=":host{--instant-apps-app-guide-width:300px;--instant-apps-app-guide-height:400px;--instant-apps-app-guide-list-item-bubble-size:22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;height:fit-content;background-color:var(--calcite-color-foreground-1);overflow:auto}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:0.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:0.5rem;padding-inline:0.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-ui-icon-color:var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}",_=u,p={contentList:"instant-apps-app-guide__content-list",contentListItem:"instant-apps-app-guide__content-list--item",contentWrapper:"instant-apps-app-guide__content-wrapper"},m=class{constructor(e){l(this,e),this._viewModel=new c,this.header=!0,this.data=void 0,this.messages=void 0,this.headerText=void 0}watchPropHandler(e){this._setContent(e)}watchStateHandler(e){this._viewModel.headerText=e}componentWillLoad(){this._setContent(this?.data)}componentDidLoad(){o(this)}render(){let e=this._renderAppGuidePages(this._viewModel.pages),t=this._renderAppGuideHeader();return i(d,{key:"17ec07719a7ea4692912d8c5e51a0ccfcf4fe448"},i("calcite-panel",{key:"fc659c5fcd7ee8370d79e8c6506cc6f55e784e74",scale:"s"},t,i("calcite-carousel",{key:"aa9b07f8ada18253b1a0fb0bfe228e04c81c6021",label:"App Guide",onCalciteCarouselChange:()=>this._updateHeaderText(),ref:a=>this._carouselRef=a,"arrow-type":this._getArrowType()},e)))}_setContent(e){this._viewModel.setPages(e),this.headerText=this._viewModel.headerText}_updateHeaderText(){let{_viewModel:e,_carouselRef:t,messages:a}=this;if(!(e&&t))return;let n=Array.from(t.childNodes).indexOf(t.selectedItem),r=e?.pages,g=r?.[n]??r[0];this.headerText=g?.title||a?.headerText}_getArrowType(){return this._viewModel.pages.length>2?"inline":"none"}_renderAppGuideHeader(){let{messages:e,header:t,headerText:a}=this,s=!!t&&e?.headerText,n=a||e?.headerText;return s?i("span",{slot:"header-content"},n," ",i("calcite-icon",{icon:"lightbulb",scale:"s"})):null}_renderAppGuidePages(e){return e.map((t,a)=>{let{content:s,type:n,title:r}=t;return i("calcite-carousel-item",{label:r,key:`page_${a}`},i("div",{class:p.contentWrapper},this._renderContentItems(s,n)))})}_renderContentItems(e,t){switch(t){case"list":return i("ol",{class:p.contentList},e.map((a,s)=>i("li",{key:`content-list-item-${s}`,class:p.contentListItem},a)));case"paragraphs":default:return e.map((a,s)=>i("p",{key:`content-paragraph-${s}`},a))}}get el(){return h(this)}static get watchers(){return{data:["watchPropHandler"],headerText:["watchStateHandler"]}}};m.style=_;export{m as instant_apps_app_guide};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as e}from"./YA3SBEXZ.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
3
+ v1.0.5 */
4
+ import{a as e}from"./WBAN3UIC.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.5 */
4
+ import{a}from"./RYQCNLW7.js";import"./65NNPWV7.js";import"./QVLJY52I.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import"./UCI3QQAA.js";import"./UITEOOYI.js";export{a 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.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{D as h,c as n,d as s,f as c,n as l,p as o,y as d}from"./ST5DNJ5A.js";import"./4RUO65YZ.js";var p=n`@layer{/** @license
3
+ v1.0.5 */
4
+ import{D as h,c as n,d as s,f as c,n as l,p as o,y as d}from"./D3RXCR6Q.js";import"./UITEOOYI.js";var p=n`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as e}from"./DHOIKSPR.js";import"./WNOY5N4R.js";import"./XURZ7NUD.js";import"./Y2GJJZVT.js";import"./Z2J6R7BH.js";import"./MICSEU5B.js";import"./2N3SSEWE.js";import"./5FTGQPO5.js";import"./PMRPPUOG.js";import"./3KRHILOK.js";import"./T2MYK67I.js";import"./2MCXJEIU.js";import"./GOMTEPFA.js";import"./X6LWFUFK.js";import"./NNED4X6O.js";import"./R2IVNBNU.js";import"./7W5RZY7N.js";import"./7M4VGKUT.js";import"./XZRHSLHF.js";import"./JYVM54WT.js";import"./2UH456LC.js";import"./QPJLKOGU.js";import"./GAV3AXFW.js";import{a,b as s}from"./ZEFYE6IH.js";import{a as p}from"./Z7DOTE4W.js";import{D as h,c as m,d as l,e as o,p as r,y as c}from"./ST5DNJ5A.js";import"./4RUO65YZ.js";var u=m`@layer{/** @license
3
+ v1.0.5 */
4
+ import{a as e}from"./33UPFZYZ.js";import"./HR2HFJXC.js";import"./FLX4QZPY.js";import"./2IRIOH44.js";import"./I3ZD6IV4.js";import"./RIQFARZP.js";import"./GKBVNMEW.js";import"./IHQISHAM.js";import"./Q66CZJP6.js";import"./2VXYY4NW.js";import"./GFTGPFHL.js";import"./OG4FHSPI.js";import"./MK7N6OTA.js";import"./WQKEPPJH.js";import"./EEECQWVR.js";import"./S5TXHJGZ.js";import"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import"./UCI3QQAA.js";import"./76JQ5L7D.js";import{a,b as s}from"./OZWDP6Y7.js";import{a as p}from"./TA3ZXQAF.js";import{D as h,c as m,d as l,e as o,p as r,y as c}from"./D3RXCR6Q.js";import"./UITEOOYI.js";var u=m`@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.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as D,b as w}from"./H4R7X2AK.js";import{c as f,e as d,f as s,g as x,h as C,i as m,k as b,m as I,n as v}from"./MEARRFPL.js";import"./EKX5RPAU.js";import{a as _,b as L}from"./RNVECRCO.js";import{C as S,D as y}from"./AK2IOGVT.js";import"./J2SERNA3.js";import{a as T,c as t,d as k,e as P,f as E,j as U}from"./DVIQ73JS.js";import"./4RUO65YZ.js";var A=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}",B=A,r="instant-apps-language-translator",i={BASE:r,header:`${r}__header`,headerText:`${r}__header-text`,savingIndicator:`${r}__saving-indicator`,closeButton:`${r}__close-button`,headerTip:`${r}__header-tip`,topBar:`${r}__top-bar`,topBarSection:`${r}__top-bar-section`,collapseSearchContainer:`${r}__collapse-search-container`,userLangText:`${r}__user-lang-text`,lastItem:`${r}--last-item`,writingIcon:`${r}__writing-icon`,primaryContent:`${r}__primary-content`,lastAutoSave:`${r}__last-auto-save`},R=class{constructor(a){T(this,a),this.translatorDataUpdated=E(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){I()}async componentDidLoad(){this.initialize()}async initialize(){let[a,n]=await Promise.all([S(),y()]);this.intl=a,this.request=n,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{let{el:a}=this,n=await C(a);return this.messages=n,Promise.resolve()}catch{return void await Promise.reject(new Error("Failed to initialize messages"))}}initUIData(){let{appSettings:a,locales:n}=this,e=x(a,n);s.set("uiData",e)}initSelectLanguage(){if(!this.intl)return;let{locales:a}=this,n=a?.[0]?.locale??this.intl.getLocale(),e=s.get("currentLanguage");this.locales.filter(l=>l.locale===e).length===0&&s.set("currentLanguage",n)}async initPortalItemResourceT9nData(){try{let a=await w(this.portalItem);s.set("portalItemResource",a);let n=await D(a);s.set("lastSave",n.lastSave),s.set("portalItemResourceT9n",n??{})}catch{}}render(){return t(k,{key:"5eec7bc36e73be3b3b77b60660ff4da55631b1ea"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return t("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){return t("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},t("div",{class:i.headerTip},this.messages?.headerTip))}renderHeader(){return t("header",{class:i.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){let{messages:a}=this;return t("div",{class:i.headerText},t("span",null,a?.header),t("calcite-button",{id:"headerTip",appearance:"transparent"},t("calcite-icon",{icon:f.Popover,scale:"s"})))}renderSavingIndicator(){let a=this.messages?.saving;return t("div",{class:i.savingIndicator},t("calcite-loader",{label:a,inline:!0}),t("span",null,a))}renderContent(){let a=b(this.locales);return t("div",null,this.renderTopBar(),a?.length>0?this.renderUIData():this.renderNotice())}renderTopBar(){return t("div",{class:i.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return t("div",{class:i.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){let a=this.messages?.languages,n=L(),e=a?.[n];return t("div",{class:i.userLangText},e)}renderCollapseSearchContainer(){return t("div",{class:i.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){let{isCollapse:a,messages:n}=this,e=a?n?.collapseAll:n?.expandAll;return t(U,null,t("slot",{name:"primary-custom-action"}),t("slot",{name:"secondary-custom-action"}),t("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":f.ExpandCollapse},e))}renderSearch(){return t("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:this.messages?.searchPlaceholder})}renderTrailingTopBarSection(){return t("div",{class:i.topBarSection},this.renderLanguageSelection(),t("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){return t("calcite-label",{layout:"inline"},this.messages?.translatedLanguage,t("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){let n=s.get("uiData")?.get("locales"),e=b(n),c=Object.keys(_.partial);return e?.map(l=>{let o=c.includes(l)?"partial":"full",p=_[o],{language:u,translated:h}=p[l],$=`${u} - ${h}`;return t("calcite-option",{key:`translated-lang-option-${l}`,value:l},$)})}renderUIData(){if(!d?.uiData)return;let a=m();return t("div",null,a?.map((n,e)=>this.renderUIDataItem(n,e,a.length)))}renderNotice(){let a=this.messages?.noLanguage;return t("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},t("div",{slot:"title"},a?.title),t("div",{slot:"message"},a?.message))}renderUIDataItem(a,n,e){let c=this.appSettings?.translatedLanguageLabels?.[d.currentLanguage],l=n===e-1?i.lastItem:"",g=this.appSettings.content.find(o=>o.id===a);return t("instant-apps-language-translator-item",{key:`${a}-${n}`,class:l,fieldName:a,translatedLanguageLabels:c,setting:g,userLocaleInputOnChangeCallback:async(o,p)=>{try{await this.userLocaleInputOnChangeCallback(o,p);let u=s.get("portalItemResource");v(u)}catch{}},translatedLocaleInputOnChangeCallback:async(o,p,u,h)=>{try{await this.translatedLocaleInputOnChangeCallback(o,p,u,h),v(h)}catch{}}})}renderPrimaryContent(){return t("div",{class:i.primaryContent,slot:"footer-end"},s.get("saving")?this.renderSavingIndicator():null,s.get("lastSave")?t("span",{key:"last-save",class:i.lastAutoSave},this.messages?.lastAutoSave," ",this.intl.formatDate(s.get("lastSave"))):null,t("calcite-button",{onClick:()=>this.open=!1,class:i.closeButton},this.messages?.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(d.uiData);m().forEach(e=>a.get(e).expanded=this.isCollapse),s.set("uiData",a)}onSuggestionSelect(a){let n=a.detail,e=new Map(d.uiData),c=m(),l=g=>{let o=e.get(g);if(g===n){o.selected=!0;return}o.selected=!1};c.forEach(l),s.set("uiData",e)}close(){this.open=!1}handleLanguageSelection(a){let e=a.target.value;s.set("currentLanguage",e)}async getTranslationData(){return s.get("portalItemResourceT9n")}async setTranslationData(a){s.set("portalItemResourceT9n",a)}async getPortalItemResource(){return s.get("portalItemResource")}async batchWriteToPortalItemResource(a){s.set("saving",!0);try{let n=await this.getPortalItemResource();if(!n){s.set("saving",!1);return}let e=Date.now();s.set("lastSave",e);let l=[JSON.stringify({...a,lastSave:e})],g={type:"application/json"},o=new Blob(l,g);return await n.update(o),setTimeout(()=>s.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(n){return console.error("Error writing to portal item resource: ",n),s.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}get el(){return P(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};R.style=B;export{R as instant_apps_language_translator};
3
+ v1.0.5 */
4
+ import{a as D,b as w}from"./PJSBBGLJ.js";import{c as f,e as d,f as s,g as x,h as C,i as m,k as b,m as I,n as v}from"./WIE3EFBI.js";import"./25FEJN5O.js";import{a as _,b as L}from"./25JM7WUJ.js";import{C as S,D as y}from"./QP26HSVE.js";import"./H3FM5UM6.js";import{a as T,c as t,d as k,e as P,f as E,j as U}from"./ML3FDA7I.js";import"./UITEOOYI.js";var A=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}",B=A,r="instant-apps-language-translator",i={BASE:r,header:`${r}__header`,headerText:`${r}__header-text`,savingIndicator:`${r}__saving-indicator`,closeButton:`${r}__close-button`,headerTip:`${r}__header-tip`,topBar:`${r}__top-bar`,topBarSection:`${r}__top-bar-section`,collapseSearchContainer:`${r}__collapse-search-container`,userLangText:`${r}__user-lang-text`,lastItem:`${r}--last-item`,writingIcon:`${r}__writing-icon`,primaryContent:`${r}__primary-content`,lastAutoSave:`${r}__last-auto-save`},R=class{constructor(a){T(this,a),this.translatorDataUpdated=E(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){I()}async componentDidLoad(){this.initialize()}async initialize(){let[a,n]=await Promise.all([S(),y()]);this.intl=a,this.request=n,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{let{el:a}=this,n=await C(a);return this.messages=n,Promise.resolve()}catch{return void await Promise.reject(new Error("Failed to initialize messages"))}}initUIData(){let{appSettings:a,locales:n}=this,e=x(a,n);s.set("uiData",e)}initSelectLanguage(){if(!this.intl)return;let{locales:a}=this,n=a?.[0]?.locale??this.intl.getLocale(),e=s.get("currentLanguage");this.locales.filter(l=>l.locale===e).length===0&&s.set("currentLanguage",n)}async initPortalItemResourceT9nData(){try{let a=await w(this.portalItem);s.set("portalItemResource",a);let n=await D(a);s.set("lastSave",n.lastSave),s.set("portalItemResourceT9n",n??{})}catch{}}render(){return t(k,{key:"5eec7bc36e73be3b3b77b60660ff4da55631b1ea"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return t("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){return t("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},t("div",{class:i.headerTip},this.messages?.headerTip))}renderHeader(){return t("header",{class:i.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){let{messages:a}=this;return t("div",{class:i.headerText},t("span",null,a?.header),t("calcite-button",{id:"headerTip",appearance:"transparent"},t("calcite-icon",{icon:f.Popover,scale:"s"})))}renderSavingIndicator(){let a=this.messages?.saving;return t("div",{class:i.savingIndicator},t("calcite-loader",{label:a,inline:!0}),t("span",null,a))}renderContent(){let a=b(this.locales);return t("div",null,this.renderTopBar(),a?.length>0?this.renderUIData():this.renderNotice())}renderTopBar(){return t("div",{class:i.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return t("div",{class:i.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){let a=this.messages?.languages,n=L(),e=a?.[n];return t("div",{class:i.userLangText},e)}renderCollapseSearchContainer(){return t("div",{class:i.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){let{isCollapse:a,messages:n}=this,e=a?n?.collapseAll:n?.expandAll;return t(U,null,t("slot",{name:"primary-custom-action"}),t("slot",{name:"secondary-custom-action"}),t("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":f.ExpandCollapse},e))}renderSearch(){return t("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:this.messages?.searchPlaceholder})}renderTrailingTopBarSection(){return t("div",{class:i.topBarSection},this.renderLanguageSelection(),t("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){return t("calcite-label",{layout:"inline"},this.messages?.translatedLanguage,t("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){let n=s.get("uiData")?.get("locales"),e=b(n),c=Object.keys(_.partial);return e?.map(l=>{let o=c.includes(l)?"partial":"full",p=_[o],{language:u,translated:h}=p[l],$=`${u} - ${h}`;return t("calcite-option",{key:`translated-lang-option-${l}`,value:l},$)})}renderUIData(){if(!d?.uiData)return;let a=m();return t("div",null,a?.map((n,e)=>this.renderUIDataItem(n,e,a.length)))}renderNotice(){let a=this.messages?.noLanguage;return t("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},t("div",{slot:"title"},a?.title),t("div",{slot:"message"},a?.message))}renderUIDataItem(a,n,e){let c=this.appSettings?.translatedLanguageLabels?.[d.currentLanguage],l=n===e-1?i.lastItem:"",g=this.appSettings.content.find(o=>o.id===a);return t("instant-apps-language-translator-item",{key:`${a}-${n}`,class:l,fieldName:a,translatedLanguageLabels:c,setting:g,userLocaleInputOnChangeCallback:async(o,p)=>{try{await this.userLocaleInputOnChangeCallback(o,p);let u=s.get("portalItemResource");v(u)}catch{}},translatedLocaleInputOnChangeCallback:async(o,p,u,h)=>{try{await this.translatedLocaleInputOnChangeCallback(o,p,u,h),v(h)}catch{}}})}renderPrimaryContent(){return t("div",{class:i.primaryContent,slot:"footer-end"},s.get("saving")?this.renderSavingIndicator():null,s.get("lastSave")?t("span",{key:"last-save",class:i.lastAutoSave},this.messages?.lastAutoSave," ",this.intl.formatDate(s.get("lastSave"))):null,t("calcite-button",{onClick:()=>this.open=!1,class:i.closeButton},this.messages?.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(d.uiData);m().forEach(e=>a.get(e).expanded=this.isCollapse),s.set("uiData",a)}onSuggestionSelect(a){let n=a.detail,e=new Map(d.uiData),c=m(),l=g=>{let o=e.get(g);if(g===n){o.selected=!0;return}o.selected=!1};c.forEach(l),s.set("uiData",e)}close(){this.open=!1}handleLanguageSelection(a){let e=a.target.value;s.set("currentLanguage",e)}async getTranslationData(){return s.get("portalItemResourceT9n")}async setTranslationData(a){s.set("portalItemResourceT9n",a)}async getPortalItemResource(){return s.get("portalItemResource")}async batchWriteToPortalItemResource(a){s.set("saving",!0);try{let n=await this.getPortalItemResource();if(!n){s.set("saving",!1);return}let e=Date.now();s.set("lastSave",e);let l=[JSON.stringify({...a,lastSave:e})],g={type:"application/json"},o=new Blob(l,g);return await n.update(o),setTimeout(()=>s.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(n){return console.error("Error writing to portal item resource: ",n),s.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}get el(){return P(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};R.style=B;export{R as instant_apps_language_translator};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.4 */
4
- import{a as n}from"./Z7DOTE4W.js";import{D as r,c as s,d as t,p as i,y as o}from"./ST5DNJ5A.js";import"./4RUO65YZ.js";var a=s`@layer{/** @license
3
+ v1.0.5 */
4
+ import{a as n}from"./TA3ZXQAF.js";import{D as r,c as i,d as s,y as t}from"./D3RXCR6Q.js";import"./UITEOOYI.js";var o=i`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import{a as n}from"./Z7DOTE4W.js";import{D as r,c as s,d as t,p as i,y as o}from
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */}`,e=class extends o{constructor(){super(...arguments),this._translations=n({name:"solutions-articles",blocking:!0})}static{this.properties={_translations:16}}static{this.styles=a}static{this.shadowRootOptions=i}render(){return t`<div></div>`}};r("solutions-articles",e);export{e as SolutionsArticles};
18
+ */`,e=class extends t{constructor(){super(...arguments),this._translations=n({name:"solutions-articles",blocking:!0})}static{this.properties={_translations:16}}static{this.styles=o}render(){return s`<div></div>`}};r("solutions-articles",e);export{e as SolutionsArticles};