@esri/solutions-components 1.2.0-next.17 → 1.2.0-next.19

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 (476) hide show
  1. package/dist/cdn/{FKVAAIA2.js → 22YHU4MM.js} +2 -2
  2. package/dist/cdn/{DBE4WPUJ.js → 2576ZCZN.js} +1 -1
  3. package/dist/cdn/{H6QSE5GL.js → 26TS43IE.js} +1 -1
  4. package/dist/cdn/{2LAHNZGS.js → 2B7IWOYW.js} +2 -2
  5. package/dist/cdn/2LOQHPQH.js +4 -0
  6. package/dist/cdn/{GXRSIH57.js → 2M3BHAXW.js} +1 -1
  7. package/dist/cdn/{3Y77NKTJ.js → 2M722VOP.js} +2 -2
  8. package/dist/cdn/2NSLOQ7Y.js +18 -0
  9. package/dist/cdn/{QZGUP7S4.js → 2OCLY2I7.js} +2 -2
  10. package/dist/cdn/{AL6RPFXD.js → 2OIJ33BN.js} +2 -2
  11. package/dist/cdn/{VXEWSLGI.js → 2QGKL2NV.js} +1 -1
  12. package/dist/cdn/{GDN4X6TO.js → 2QQ5JFWO.js} +2 -2
  13. package/dist/cdn/{PVBVVNKG.js → 2SXODEUR.js} +2 -2
  14. package/dist/cdn/2TM6KFIN.js +4 -0
  15. package/dist/cdn/{RQO77UQI.js → 2VDO6IK7.js} +2 -2
  16. package/dist/cdn/{DXNAVKBQ.js → 2ZQ3LJ7W.js} +2 -2
  17. package/dist/cdn/{OKIUNTWP.js → 32HZNJKT.js} +1 -1
  18. package/dist/cdn/{TYTKNIAO.js → 3CK3DE5X.js} +2 -2
  19. package/dist/cdn/{2GTHNFSE.js → 3HSC4RCW.js} +2 -2
  20. package/dist/cdn/{OLPGM6L7.js → 3IMSKKHE.js} +2 -2
  21. package/dist/cdn/{GR7VI3CO.js → 3LSSG7JR.js} +1 -1
  22. package/dist/cdn/{W2EG7GOY.js → 3TGDEX7S.js} +2 -2
  23. package/dist/cdn/{FH57VOJA.js → 3UU33BCC.js} +2 -2
  24. package/dist/cdn/{3RWM24EV.js → 3VTSOF6Z.js} +2 -2
  25. package/dist/cdn/{CBYIZL6Z.js → 42XPJ675.js} +2 -2
  26. package/dist/cdn/{I3QWGBYF.js → 42Y4G657.js} +2 -2
  27. package/dist/cdn/{J3E2BBAK.js → 45NCUYXN.js} +2 -2
  28. package/dist/cdn/{3CU2JBY7.js → 47G6QCQA.js} +2 -2
  29. package/dist/cdn/{FOPTUCYJ.js → 4BIIN2YL.js} +2 -2
  30. package/dist/cdn/{B4CKWQX4.js → 4CXECAN4.js} +2 -2
  31. package/dist/cdn/{2PJAQGID.js → 4EWNJTNA.js} +2 -2
  32. package/dist/cdn/{SHBK62UO.js → 4PCQB2SX.js} +2 -2
  33. package/dist/cdn/{SU2J5HZD.js → 4SU4K6SE.js} +1 -1
  34. package/dist/cdn/{3C47ORNV.js → 4WVWZ6W6.js} +2 -2
  35. package/dist/cdn/{2Y2SG6DQ.js → 5253NLNG.js} +2 -2
  36. package/dist/cdn/{GCBBUA7Q.js → 57KNNAXU.js} +2 -2
  37. package/dist/cdn/{3LVCIFRL.js → 5ECSXH66.js} +2 -2
  38. package/dist/cdn/{SGPCNWI6.js → 5EDZ4O3G.js} +2 -2
  39. package/dist/cdn/{TCUI64QI.js → 5EWUECGS.js} +2 -2
  40. package/dist/cdn/{G6KP2QQM.js → 5FTIKHT4.js} +2 -2
  41. package/dist/cdn/{NCVZKXNS.js → 5GHOR5KN.js} +2 -2
  42. package/dist/cdn/5IEADAUB.js +18 -0
  43. package/dist/cdn/{B3FLSEYU.js → 5JHEYLIC.js} +2 -2
  44. package/dist/cdn/{2FBUYJCK.js → 5MLZQBRJ.js} +2 -2
  45. package/dist/cdn/{GRK5SXGG.js → 5QCO4M3Y.js} +2 -2
  46. package/dist/cdn/{NYTRP5FO.js → 5QP4XR45.js} +2 -2
  47. package/dist/cdn/{GCLSSW7P.js → 5RMK2TPE.js} +2 -2
  48. package/dist/cdn/{OCVSZQ7H.js → 5SGCUMSX.js} +2 -2
  49. package/dist/cdn/{D3XPGKZT.js → 62OQYOHS.js} +2 -2
  50. package/dist/cdn/{SG7HE54E.js → 62QMVKPB.js} +2 -2
  51. package/dist/cdn/{BGW7ENSZ.js → 64NX5JRM.js} +2 -2
  52. package/dist/cdn/{F7B4W6SN.js → 64RPCBV6.js} +2 -2
  53. package/dist/cdn/{63Q66P6F.js → 6M6BNRWC.js} +1 -1
  54. package/dist/cdn/{XZI4XMDG.js → 6MDGO4CM.js} +2 -2
  55. package/dist/cdn/{6VIADVHK.js → 6N5BPACU.js} +2 -2
  56. package/dist/cdn/{IKVBCRGA.js → 6SLVFYJ5.js} +1 -1
  57. package/dist/cdn/{ZZYYX62Y.js → 7C7QW5XP.js} +1 -1
  58. package/dist/cdn/{MSOYRSMG.js → 7FNTRIO4.js} +2 -2
  59. package/dist/cdn/{AMHVEMHP.js → 7GSGM4S7.js} +2 -2
  60. package/dist/cdn/{MHUOZK4R.js → 7MB3WJLH.js} +2 -2
  61. package/dist/cdn/{MY6N5CRA.js → 7PBHYP7W.js} +2 -2
  62. package/dist/cdn/{ACALZ6GV.js → 7PQKGV3H.js} +2 -2
  63. package/dist/cdn/{K5IVCB5B.js → 7QB5JEVK.js} +2 -2
  64. package/dist/cdn/{3JURGZ5M.js → 7QSRD5GC.js} +2 -2
  65. package/dist/cdn/{NYPCINNZ.js → 7S6NIOJD.js} +2 -2
  66. package/dist/cdn/{SDH326NI.js → 7TFQXOUF.js} +2 -2
  67. package/dist/cdn/{D5NTX244.js → A24JYHMG.js} +2 -2
  68. package/dist/cdn/{CZWVK5EA.js → A24YML76.js} +2 -2
  69. package/dist/cdn/{5MVZZM6V.js → AA4JO44X.js} +2 -2
  70. package/dist/cdn/{HNB27GVR.js → AB6ISD3T.js} +1 -1
  71. package/dist/cdn/{7WXT73B4.js → ADIMNSJJ.js} +2 -2
  72. package/dist/cdn/{B2HGNK4E.js → AEVGTVHH.js} +2 -2
  73. package/dist/cdn/AFBLGS6R.js +18 -0
  74. package/dist/cdn/{2YU7LJ6B.js → AFHCFB4W.js} +2 -2
  75. package/dist/cdn/{CGEEY2O4.js → ANF7GU3J.js} +2 -2
  76. package/dist/cdn/{XZQVERDX.js → AOZBBKJW.js} +1 -1
  77. package/dist/cdn/{QBPCCTWK.js → AVDJTXAO.js} +2 -2
  78. package/dist/cdn/{3FAMJ4OZ.js → BBIEKJEB.js} +1 -1
  79. package/dist/cdn/{MBPWNRYN.js → BEU7NDLE.js} +1 -1
  80. package/dist/cdn/{CMVISKR5.js → BF3RSCPH.js} +2 -2
  81. package/dist/cdn/{FRZ5GSSV.js → BGMQHNZJ.js} +2 -2
  82. package/dist/cdn/{HVHBVKKQ.js → BJFC7I5X.js} +2 -2
  83. package/dist/cdn/{XH24SHF6.js → BLM4UCNC.js} +2 -2
  84. package/dist/cdn/BV7JJC64.js +4 -0
  85. package/dist/cdn/{TY4OPURB.js → BWHRBHOE.js} +2 -2
  86. package/dist/cdn/BWRYLT4L.js +18 -0
  87. package/dist/cdn/{QJA5DJYL.js → BXNPSTRH.js} +2 -2
  88. package/dist/cdn/{RSHUZE2U.js → BYA7FCQQ.js} +2 -2
  89. package/dist/cdn/{4QCS44Z3.js → C2722TDJ.js} +2 -2
  90. package/dist/cdn/{QX7NTJMT.js → C36CLENN.js} +2 -2
  91. package/dist/cdn/{Y3ZXSPOY.js → CBB4KKT3.js} +2 -2
  92. package/dist/cdn/CI3O4ZCO.js +4 -0
  93. package/dist/cdn/{6XU7WJNI.js → CIRZXCBS.js} +2 -2
  94. package/dist/cdn/{34SXZTS2.js → CQURVLDF.js} +2 -2
  95. package/dist/cdn/{VU3X4U7U.js → CUB5BLED.js} +2 -2
  96. package/dist/cdn/{42SJEHYX.js → CV7VQEA6.js} +2 -2
  97. package/dist/cdn/{DZB4RDAF.js → CXQT5S7B.js} +2 -2
  98. package/dist/cdn/{PX2NC6RT.js → CZV7AL35.js} +2 -2
  99. package/dist/cdn/{OMZIZMEP.js → DEURRL3K.js} +2 -2
  100. package/dist/cdn/{IOZQWPI7.js → DM3SAT6X.js} +2 -2
  101. package/dist/cdn/{A4GTRWDC.js → DMDVHEWT.js} +1 -1
  102. package/dist/cdn/{2DHFQ4N2.js → DRKJZ2NM.js} +2 -2
  103. package/dist/cdn/{O5DWH3SO.js → DRZ5PBYX.js} +2 -2
  104. package/dist/cdn/{GT3QLTVG.js → DVJIQDTF.js} +2 -2
  105. package/dist/cdn/{7S4FXSIR.js → DW5UP2DJ.js} +2 -2
  106. package/dist/cdn/{QLLON6ES.js → DW67BQ5Z.js} +2 -2
  107. package/dist/cdn/{EIU5YTO4.js → DYKMS2XI.js} +2 -2
  108. package/dist/cdn/{YOKTAT5E.js → DZRORQOM.js} +2 -2
  109. package/dist/cdn/{2PRRHM2Y.js → E7DQ2ATA.js} +2 -2
  110. package/dist/cdn/{Y3XWT7FR.js → EACE7I2L.js} +2 -2
  111. package/dist/cdn/{UTROK7UB.js → EGG7YFYN.js} +2 -2
  112. package/dist/cdn/{4ESEI5R4.js → EISSLOWS.js} +2 -2
  113. package/dist/cdn/{UQ25NGTK.js → EL2G5RIM.js} +2 -2
  114. package/dist/cdn/{EUNIFQ72.js → ELWWVPQG.js} +2 -2
  115. package/dist/cdn/{YFFW4WLZ.js → EMXMINVH.js} +2 -2
  116. package/dist/cdn/{YFQJV37X.js → EORB44LC.js} +2 -2
  117. package/dist/cdn/{7FWXRIU7.js → EPANBM4J.js} +2 -2
  118. package/dist/cdn/{ITMUWA35.js → EPPBVHFH.js} +1 -1
  119. package/dist/cdn/{GKVVEXGN.js → ETBL7HUF.js} +2 -2
  120. package/dist/cdn/{EYZYTDPR.js → EWFLBOIN.js} +2 -2
  121. package/dist/cdn/{6VWDGFL6.js → EXKSSYFW.js} +2 -2
  122. package/dist/cdn/{JR337GLV.js → EZATJTGX.js} +2 -2
  123. package/dist/cdn/{2HCRUNSQ.js → F5E4YCCM.js} +2 -2
  124. package/dist/cdn/{4ARUZELT.js → F5K5DYFE.js} +2 -2
  125. package/dist/cdn/{UO36ASRK.js → FC2Q6NSN.js} +2 -2
  126. package/dist/cdn/{7KKY5M2N.js → FJ7BYQC5.js} +1 -1
  127. package/dist/cdn/{QO6QD2UA.js → FJQM5C5E.js} +2 -2
  128. package/dist/cdn/{TCI5WS23.js → FNJIBNIH.js} +2 -2
  129. package/dist/cdn/{FDRRD62C.js → FNJQTTAG.js} +2 -2
  130. package/dist/cdn/{7XVZ32CS.js → FWLOWUEP.js} +2 -2
  131. package/dist/cdn/{AJ4T6IK5.js → FZFRJKJE.js} +1 -1
  132. package/dist/cdn/{ABDJATA6.js → GCECONXT.js} +2 -2
  133. package/dist/cdn/{SVB3MCB4.js → GDUU2E4P.js} +1 -1
  134. package/dist/cdn/{AG6F6HF7.js → GLY5CFA6.js} +2 -2
  135. package/dist/cdn/{5HMNBLKG.js → GNGB3JRT.js} +2 -2
  136. package/dist/cdn/{EQETDODC.js → GPHKYNKJ.js} +2 -2
  137. package/dist/cdn/{IBNEYOZG.js → GVHN6EQR.js} +2 -2
  138. package/dist/cdn/{MS6Z2PL4.js → GWM4V2YL.js} +2 -2
  139. package/dist/cdn/{3XSLDIV4.js → GYTBU56V.js} +2 -2
  140. package/dist/cdn/{C43ZM6C5.js → GZCH2X3O.js} +2 -2
  141. package/dist/cdn/{4GDX4ZXE.js → H2DVZMMG.js} +2 -2
  142. package/dist/cdn/{TCWOZOHF.js → H2TW2R3F.js} +2 -2
  143. package/dist/cdn/{4MSQLZ5Y.js → H3MLGADV.js} +2 -2
  144. package/dist/cdn/H3NSEOBR.js +4 -0
  145. package/dist/cdn/{AUJEH7WT.js → HFIZKZJV.js} +2 -2
  146. package/dist/cdn/{6GRTHDGT.js → HFUH7OSY.js} +2 -2
  147. package/dist/cdn/{ALYHD6EZ.js → HKEQ6M54.js} +2 -2
  148. package/dist/cdn/{X7YHISH3.js → HLEEHPJY.js} +2 -2
  149. package/dist/cdn/{W4CXKC7H.js → HOR4ATTM.js} +2 -2
  150. package/dist/cdn/{FJYEO22A.js → HSLTEBVT.js} +2 -2
  151. package/dist/cdn/{3T7DDHN7.js → I5B5F6TU.js} +2 -2
  152. package/dist/cdn/{P4M32O5E.js → I7YC7OVR.js} +2 -2
  153. package/dist/cdn/{UA4EHWWN.js → IDEUYY54.js} +2 -2
  154. package/dist/cdn/{7PC34Q7O.js → IDGY7DEQ.js} +2 -2
  155. package/dist/cdn/{BVDZWF5S.js → IHUCCZRI.js} +1 -1
  156. package/dist/cdn/{UUPQPUGK.js → IJS27HID.js} +2 -2
  157. package/dist/cdn/{JMREX3S5.js → ILO7DRWW.js} +2 -2
  158. package/dist/cdn/{JPMW6AZR.js → ISRKDDNF.js} +2 -2
  159. package/dist/cdn/IUZ5MXKE.js +4 -0
  160. package/dist/cdn/{T3UGCYO3.js → IV4EGRMK.js} +2 -2
  161. package/dist/cdn/{NG7G3CC5.js → IXY7VOKG.js} +2 -2
  162. package/dist/cdn/{3GRFO42O.js → J2VE6J3Y.js} +2 -2
  163. package/dist/cdn/{QHTC5IWP.js → J3D2E7OE.js} +1 -1
  164. package/dist/cdn/{RSRX5ZSQ.js → J6JGAP2A.js} +2 -2
  165. package/dist/cdn/{EOXVDL7W.js → JAQHBRLC.js} +2 -2
  166. package/dist/cdn/{J36FZHRF.js → JBE52HSM.js} +2 -2
  167. package/dist/cdn/{Y3OMISYU.js → JBODA45L.js} +2 -2
  168. package/dist/cdn/{KJWT64C2.js → JEZYT2R6.js} +4 -4
  169. package/dist/cdn/{DMV6IORF.js → JFR4PBJK.js} +2 -2
  170. package/dist/cdn/JGWTEN6C.js +18 -0
  171. package/dist/cdn/{LPMZ6LX4.js → JKGUDN3I.js} +2 -2
  172. package/dist/cdn/{2EOGMSRN.js → JLDMQZHX.js} +2 -2
  173. package/dist/cdn/{XPUTXW3J.js → JLWSFROV.js} +2 -2
  174. package/dist/cdn/{FXSHLDPT.js → JMFZVYIM.js} +2 -2
  175. package/dist/cdn/{LSHA4FZB.js → JNN4QEN3.js} +3 -3
  176. package/dist/cdn/{DBWRMI5E.js → JOFQV5Z7.js} +2 -2
  177. package/dist/cdn/{5I6K7NTD.js → JUDCTX7R.js} +1 -1
  178. package/dist/cdn/{JW24MNHZ.js → JURA5BX3.js} +2 -2
  179. package/dist/cdn/{66PDPDVE.js → JXFLLGN4.js} +2 -2
  180. package/dist/cdn/{RDUM35IY.js → JYPCX7W4.js} +2 -2
  181. package/dist/cdn/{EURJJU52.js → K3PKYIL5.js} +1 -1
  182. package/dist/cdn/{WWXBVK5X.js → KC657426.js} +1 -1
  183. package/dist/cdn/{WL4IX6VR.js → KFPRIXCO.js} +2 -2
  184. package/dist/cdn/{ONDC6J54.js → KGW5GPOQ.js} +2 -2
  185. package/dist/cdn/{NGDOV2K2.js → KQHLTKR4.js} +2 -2
  186. package/dist/cdn/{OP2LHXOJ.js → KV5F7SAJ.js} +2 -2
  187. package/dist/cdn/{B7VNWA2I.js → KWOPNRWT.js} +2 -2
  188. package/dist/cdn/{VYTFYRFY.js → L4DAPED3.js} +2 -2
  189. package/dist/cdn/{L5RDQLF7.js → LCHDPYHR.js} +2 -2
  190. package/dist/cdn/{ZBTANS7G.js → LFURIS2I.js} +2 -2
  191. package/dist/cdn/{QRY3L7AK.js → LGOAQM2P.js} +2 -2
  192. package/dist/cdn/{SHB6H2AY.js → LITZW2Q5.js} +2 -2
  193. package/dist/cdn/{2UXW5KO4.js → LJT3PLIY.js} +2 -2
  194. package/dist/cdn/{PFJ3SIGW.js → LZZZZOA4.js} +3 -3
  195. package/dist/cdn/{XLBD7W7N.js → M2OE7C43.js} +2 -2
  196. package/dist/cdn/{DPJW2IPD.js → MC2SGMCJ.js} +2 -2
  197. package/dist/cdn/{S7VEMRYS.js → MET7FVPU.js} +2 -2
  198. package/dist/cdn/{Q3JNHWRO.js → MJRFFEAC.js} +2 -2
  199. package/dist/cdn/{J2TJO42Q.js → MPO2SBHJ.js} +2 -2
  200. package/dist/cdn/{DW4CLX73.js → MS3BLF63.js} +2 -2
  201. package/dist/cdn/{RPLGE4VG.js → MWVG5Q3O.js} +3 -3
  202. package/dist/cdn/{DHYVTMIA.js → N5IFRUGW.js} +2 -2
  203. package/dist/cdn/{QS5OSTSD.js → N6WOPYZZ.js} +2 -2
  204. package/dist/cdn/{IFTHUL4R.js → NESUGAGY.js} +2 -2
  205. package/dist/cdn/{E7NO6EZ6.js → NJK4PUQB.js} +1 -1
  206. package/dist/cdn/{Q53KK4EL.js → NJPKGHRB.js} +2 -2
  207. package/dist/cdn/NNLSBH63.js +4 -0
  208. package/dist/cdn/{I7OHX6PO.js → NNNDDTXK.js} +2 -2
  209. package/dist/cdn/{BQZLDBCM.js → NO3YVQ6A.js} +2 -2
  210. package/dist/cdn/{ZWGSLBDU.js → NOQDL573.js} +2 -2
  211. package/dist/cdn/{JGLCZAUL.js → NVNXTWG7.js} +2 -2
  212. package/dist/cdn/{652RYQFN.js → NWGGQ57G.js} +2 -2
  213. package/dist/cdn/{ZFKT7KHP.js → NXZD7IHT.js} +2 -2
  214. package/dist/cdn/{2DTYDBXS.js → NZ2VYJCI.js} +1 -1
  215. package/dist/cdn/{VXUOIWSG.js → O42X2SO2.js} +2 -2
  216. package/dist/cdn/{UECWXQLL.js → O5N5KDEC.js} +2 -2
  217. package/dist/cdn/{WZH6KHYA.js → OBV3H4TJ.js} +1 -1
  218. package/dist/cdn/{7KHRLY2A.js → OFRQL7US.js} +1 -1
  219. package/dist/cdn/{IOM3DORP.js → OGMOWVM7.js} +2 -2
  220. package/dist/cdn/{5B5KYPTC.js → OIOZH453.js} +2 -2
  221. package/dist/cdn/{GITYOQSJ.js → OJ4DDMXC.js} +2 -2
  222. package/dist/cdn/{F2UORXTI.js → OJNVYEAB.js} +2 -2
  223. package/dist/cdn/{KS63246P.js → OLHRRP4A.js} +2 -2
  224. package/dist/cdn/{UI7GBBEG.js → ONZ4PXK6.js} +2 -2
  225. package/dist/cdn/{BZARB46I.js → OOSXI2NQ.js} +2 -2
  226. package/dist/cdn/{Z2GLYFWZ.js → OPNQFN3A.js} +2 -2
  227. package/dist/cdn/{DSDUBJ7H.js → ORRMSBXJ.js} +2 -2
  228. package/dist/cdn/{AADEDLYT.js → OSNUUYSI.js} +2 -2
  229. package/dist/cdn/{IUUVVBCD.js → OSQHIHWX.js} +2 -2
  230. package/dist/cdn/{ABGL2HG3.js → OSXIWZYA.js} +2 -2
  231. package/dist/cdn/{EX4NPQG4.js → OXRJ2EXU.js} +2 -2
  232. package/dist/cdn/{WFV4PGVA.js → P3L3PAJG.js} +2 -2
  233. package/dist/cdn/{IO7LHPOE.js → P4HN56XQ.js} +2 -2
  234. package/dist/cdn/{7H2RRDEL.js → PCGJ5DDL.js} +2 -2
  235. package/dist/cdn/{SVYOYRYN.js → PCPZ3BN2.js} +2 -2
  236. package/dist/cdn/{NXKGV7YT.js → PEHKQHME.js} +2 -2
  237. package/dist/cdn/PNPZOWUP.js +4 -0
  238. package/dist/cdn/{62Q3SLA3.js → POWWLWBX.js} +2 -2
  239. package/dist/cdn/{NXC6ZQGX.js → PT6HI57A.js} +2 -2
  240. package/dist/cdn/{TX3BH26Y.js → PTWSQ75I.js} +2 -2
  241. package/dist/cdn/{N4SCVSKX.js → Q2L42E65.js} +1 -1
  242. package/dist/cdn/{2KGZQDH2.js → Q2OJ2GP4.js} +1 -1
  243. package/dist/cdn/{QBE6BXGP.js → Q66A3F65.js} +1 -1
  244. package/dist/cdn/{MNZ6BW4N.js → Q7E2RV6R.js} +2 -2
  245. package/dist/cdn/{SQQCS6W7.js → QB7KEFSL.js} +2 -2
  246. package/dist/cdn/{PN22WD6L.js → QFL3F6UT.js} +2 -2
  247. package/dist/cdn/QIKHJKDI.js +18 -0
  248. package/dist/cdn/{SG4AMZUD.js → QIO2NZI6.js} +2 -2
  249. package/dist/cdn/{BAIIGCU2.js → QJP7MJ7Q.js} +2 -2
  250. package/dist/cdn/{AB5UPFJB.js → QK27OGIZ.js} +2 -2
  251. package/dist/cdn/{HA7MAWXP.js → QKNNJT55.js} +2 -2
  252. package/dist/cdn/{GC652FKU.js → QKTLYN3B.js} +2 -2
  253. package/dist/cdn/{P4TVQ6HZ.js → QKX6UM6J.js} +2 -2
  254. package/dist/cdn/QLODGXIA.js +4 -0
  255. package/dist/cdn/{5ZHHMGZZ.js → QTAPAAWM.js} +2 -2
  256. package/dist/cdn/{OOWXU7Q7.js → QWOATCKF.js} +1 -1
  257. package/dist/cdn/{TXDJ6LWQ.js → QXDBOEAR.js} +2 -2
  258. package/dist/cdn/{SQU6O5NM.js → R77AOSHR.js} +2 -2
  259. package/dist/cdn/{5YPQ4LZ3.js → RCAATVQZ.js} +2 -2
  260. package/dist/cdn/{FHTNC2HR.js → RDRVZRXN.js} +2 -2
  261. package/dist/cdn/{GRUWCAME.js → RIAT7TGZ.js} +2 -2
  262. package/dist/cdn/{7FHFKLWA.js → RIHZXKSX.js} +2 -2
  263. package/dist/cdn/{Z5KSW6MV.js → RJ6CYMOG.js} +2 -2
  264. package/dist/cdn/{C327AQYW.js → RNDMF2DV.js} +2 -2
  265. package/dist/cdn/{VZD6APGK.js → RP5MCZPA.js} +2 -2
  266. package/dist/cdn/{AP2AUIRH.js → RP62YBD7.js} +2 -2
  267. package/dist/cdn/{TZL4KAXW.js → RPT7LG2V.js} +2 -2
  268. package/dist/cdn/{4SHO6M7C.js → RR5QW2LS.js} +1 -1
  269. package/dist/cdn/{Y2Z2DTEP.js → RRI3FR4A.js} +2 -2
  270. package/dist/cdn/{Y4KAUYJU.js → RT6M4522.js} +2 -2
  271. package/dist/cdn/{2VT6QFXD.js → RUKVMROM.js} +2 -2
  272. package/dist/cdn/{QSKPI3OM.js → RYWHE2IB.js} +2 -2
  273. package/dist/cdn/{TSUACFNM.js → S2FG5GFR.js} +2 -2
  274. package/dist/cdn/{2RZMEB72.js → S4RYMDH7.js} +1 -1
  275. package/dist/cdn/{IXZBLLNR.js → S7MUN3J2.js} +1 -1
  276. package/dist/cdn/{EGXMVFW7.js → SBWVOYV5.js} +2 -2
  277. package/dist/cdn/{3WWKKDE4.js → SIRWAZY3.js} +2 -2
  278. package/dist/cdn/{5IYPCZW6.js → SJAXYJOO.js} +2 -2
  279. package/dist/cdn/{MRFSLXLS.js → SMNLYPLA.js} +2 -2
  280. package/dist/cdn/{WM4MCBYB.js → SOC7PJNF.js} +2 -2
  281. package/dist/cdn/{JG34FC2D.js → SYXMVYUO.js} +2 -2
  282. package/dist/cdn/{K22CUDDI.js → T7MLIT4T.js} +2 -2
  283. package/dist/cdn/{CBV6OFST.js → TKTKR3TT.js} +2 -2
  284. package/dist/cdn/{MESHJKW3.js → TN66WLKC.js} +1 -1
  285. package/dist/cdn/{H5KK4MYX.js → TOGFOYIF.js} +2 -2
  286. package/dist/cdn/{XKUGZBQ5.js → TOWNV5AE.js} +2 -2
  287. package/dist/cdn/{56UBDUWD.js → TUW2HPFQ.js} +2 -2
  288. package/dist/cdn/{FB44TDEK.js → U5CMKNMP.js} +2 -2
  289. package/dist/cdn/{4SL2RRGS.js → U7M2RLE7.js} +2 -2
  290. package/dist/cdn/{JY533DEK.js → UC2GEIA5.js} +2 -2
  291. package/dist/cdn/{KFZHE4FJ.js → UJE6LE5L.js} +2 -2
  292. package/dist/cdn/{KS5CANUK.js → ULUMVVAJ.js} +2 -2
  293. package/dist/cdn/{3UH5436X.js → UURALHJR.js} +2 -2
  294. package/dist/cdn/{MM6AI27P.js → UVPEPCQH.js} +1 -1
  295. package/dist/cdn/{XRKVRBMI.js → UZP23SJI.js} +2 -2
  296. package/dist/cdn/{XN4NZKWU.js → VB27TX4S.js} +2 -2
  297. package/dist/cdn/{ARKITXRN.js → VCSRQV2E.js} +1 -1
  298. package/dist/cdn/{TF5CR6IC.js → VJ3OUW6F.js} +2 -2
  299. package/dist/cdn/{BVJQTZWN.js → VTCBJ2D6.js} +2 -2
  300. package/dist/cdn/{3NEX5ORN.js → VVQSSMFC.js} +2 -2
  301. package/dist/cdn/{DBPMUME6.js → W5KMQ4UR.js} +2 -2
  302. package/dist/cdn/{27BOBMXT.js → W7JFZPAP.js} +2 -2
  303. package/dist/cdn/{DJ4IJPOT.js → WC6RZR3T.js} +2 -2
  304. package/dist/cdn/{S32VNNZI.js → WILHP4N4.js} +2 -2
  305. package/dist/cdn/{Z5Y5RWJT.js → WIR5NLH4.js} +2 -2
  306. package/dist/cdn/{DF52UEIX.js → WKQH4Y5B.js} +2 -2
  307. package/dist/cdn/{I3X55COD.js → WL6G2TE6.js} +2 -2
  308. package/dist/cdn/{QFCX3LSO.js → WMF4C6ES.js} +2 -2
  309. package/dist/cdn/{B6VXPA2U.js → WP5FOVI3.js} +2 -2
  310. package/dist/cdn/{HBH6H2OI.js → WTNBBRNQ.js} +2 -2
  311. package/dist/cdn/{SKT3KZVN.js → WVVUTS22.js} +2 -2
  312. package/dist/cdn/{KSY6OHNW.js → WY2BG2WH.js} +2 -2
  313. package/dist/cdn/{CIN5HZUI.js → X2RLKMUU.js} +2 -2
  314. package/dist/cdn/{NRMADILD.js → XBWMRPVX.js} +2 -2
  315. package/dist/cdn/{CSKXUBCU.js → XDNR2XCE.js} +2 -2
  316. package/dist/cdn/{NOCVDMRB.js → XGCSSIL4.js} +2 -2
  317. package/dist/cdn/{FKNPEEI6.js → XGEQMGW5.js} +2 -2
  318. package/dist/cdn/{WE6RXE36.js → XGYWS7PX.js} +2 -2
  319. package/dist/cdn/{SJFT75LT.js → XJV3VHVH.js} +2 -2
  320. package/dist/cdn/{WG4H4RU4.js → XMSOTSQR.js} +2 -2
  321. package/dist/cdn/{VHQXOQJ2.js → XRTNBGY6.js} +2 -2
  322. package/dist/cdn/{WGFEQGBZ.js → XUVGFDFW.js} +2 -2
  323. package/dist/cdn/{TJABFH4J.js → XVARK74Z.js} +2 -2
  324. package/dist/cdn/{ATPO7XCC.js → XVL5ZM2K.js} +2 -2
  325. package/dist/cdn/{5GYSKDUA.js → XYEZBBPE.js} +2 -2
  326. package/dist/cdn/{3X5REHMK.js → Y3HLV42Z.js} +1 -1
  327. package/dist/cdn/{VTTOHDYS.js → Y3VPBOAP.js} +2 -2
  328. package/dist/cdn/{SU3SZXNP.js → Y46SIIZB.js} +2 -2
  329. package/dist/cdn/Y6EY5UK6.js +18 -0
  330. package/dist/cdn/{4LVGOINA.js → Y6KHGZUA.js} +2 -2
  331. package/dist/cdn/{6KQRVWTI.js → YAJ3T6LV.js} +2 -2
  332. package/dist/cdn/{BSTJYCIB.js → YBJ3YTV3.js} +2 -2
  333. package/dist/cdn/{46C77Y5Z.js → YF3AVJ7M.js} +2 -2
  334. package/dist/cdn/{Y2NQJ6HP.js → YFHLSJWF.js} +2 -2
  335. package/dist/cdn/{YCSIAOGC.js → YJ452SYU.js} +2 -2
  336. package/dist/cdn/{OFXIZNWO.js → YJJHFUZX.js} +2 -2
  337. package/dist/cdn/{ZHFEO5HT.js → YKWROUCD.js} +2 -2
  338. package/dist/cdn/{O5F2ZWVO.js → YL2SEYXX.js} +2 -2
  339. package/dist/cdn/{USOOBDPS.js → YRNSD6C5.js} +2 -2
  340. package/dist/cdn/{MSFOOONQ.js → Z7T776GO.js} +2 -2
  341. package/dist/cdn/{WI5MHDVM.js → ZDD665TE.js} +2 -2
  342. package/dist/cdn/{ZHNJ644N.js → ZQE7JBVT.js} +2 -2
  343. package/dist/cdn/{Z7GSRTZU.js → ZUUI472B.js} +2 -2
  344. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.en.json +1 -1
  345. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.json +1 -1
  346. package/dist/cdn/index.js +2 -2
  347. package/dist/chunks/Auth.js +1 -1
  348. package/dist/chunks/CardsFetcher.js +1 -1
  349. package/dist/chunks/appConfig.js +1 -1
  350. package/dist/chunks/cardFetchingUtils.js +1 -1
  351. package/dist/chunks/cardsHelpers.js +15 -10
  352. package/dist/chunks/common.js +1 -1
  353. package/dist/chunks/deployAppContexts.js +1 -1
  354. package/dist/chunks/downloadUtils.js +1 -1
  355. package/dist/chunks/getItemIcon.js +1 -1
  356. package/dist/chunks/helpers.js +1 -1
  357. package/dist/chunks/interfaces.js +1 -1
  358. package/dist/chunks/loadModules.js +1 -1
  359. package/dist/chunks/mapViewUtils.js +1 -1
  360. package/dist/chunks/pciUtils.js +1 -1
  361. package/dist/chunks/popupUtils.js +1 -1
  362. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  363. package/dist/chunks/privilegeUtils.js +1 -1
  364. package/dist/chunks/publicNotificationContext.js +1 -1
  365. package/dist/chunks/queryUtils.js +1 -1
  366. package/dist/chunks/runtime.js +1 -1
  367. package/dist/chunks/solution-store.js +1 -1
  368. package/dist/chunks/templates.js +1 -1
  369. package/dist/chunks/useT9n.js +1 -1
  370. package/dist/components/arcgis-solutions-assistant/customElement.js +11 -11
  371. package/dist/components/basemap-gallery/customElement.js +1 -1
  372. package/dist/components/buffer-tools/customElement.js +1 -1
  373. package/dist/components/card-manager/customElement.js +1 -1
  374. package/dist/components/consent-manager/customElement.js +1 -1
  375. package/dist/components/create-feature/customElement.js +1 -1
  376. package/dist/components/create-related-feature/customElement.js +1 -1
  377. package/dist/components/crowdsource-manager/customElement.js +1 -1
  378. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  379. package/dist/components/deduct-calculator/customElement.js +1 -1
  380. package/dist/components/delete-button/customElement.js +1 -1
  381. package/dist/components/delete-dialog/customElement.js +1 -1
  382. package/dist/components/edit-card/customElement.js +1 -1
  383. package/dist/components/feature-details/customElement.js +1 -1
  384. package/dist/components/feature-list/customElement.js +1 -1
  385. package/dist/components/field-selection/customElement.js +1 -1
  386. package/dist/components/floor-filter/customElement.js +1 -1
  387. package/dist/components/info-card/customElement.js +1 -1
  388. package/dist/components/json-editor/customElement.js +1 -1
  389. package/dist/components/layer-list/customElement.js +1 -1
  390. package/dist/components/layer-table/customElement.js +1 -1
  391. package/dist/components/map-card/customElement.js +1 -1
  392. package/dist/components/map-draw-tools/customElement.js +1 -1
  393. package/dist/components/map-fullscreen/customElement.js +1 -1
  394. package/dist/components/map-layer-picker/customElement.js +1 -1
  395. package/dist/components/map-legend/customElement.js +1 -1
  396. package/dist/components/map-picker/customElement.js +1 -1
  397. package/dist/components/map-search/customElement.js +1 -1
  398. package/dist/components/map-select-tools/customElement.js +1 -1
  399. package/dist/components/map-tools/customElement.js +1 -1
  400. package/dist/components/pci-calculator/customElement.js +1 -1
  401. package/dist/components/pdf-download/customElement.js +1 -1
  402. package/dist/components/public-notification/customElement.js +1 -1
  403. package/dist/components/refine-selection/customElement.js +1 -1
  404. package/dist/components/selection-tool/customElement.js +1 -1
  405. package/dist/components/solution-configuration/customElement.js +1 -1
  406. package/dist/components/solution-configure-titles/customElement.js +1 -1
  407. package/dist/components/solution-contents/customElement.js +1 -1
  408. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  409. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  410. package/dist/components/solution-deployed-card/customElement.js +1 -1
  411. package/dist/components/solution-deployed-card-panel/customElement.js +54 -39
  412. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  413. package/dist/components/solution-details-card/customElement.js +1 -1
  414. package/dist/components/solution-details-panel/customElement.js +49 -49
  415. package/dist/components/solution-item/customElement.js +1 -1
  416. package/dist/components/solution-item-accordion/customElement.js +1 -1
  417. package/dist/components/solution-item-details/customElement.js +1 -1
  418. package/dist/components/solution-item-diagram/customElement.js +1 -1
  419. package/dist/components/solution-item-icon/customElement.js +1 -1
  420. package/dist/components/solution-item-sharing/customElement.js +1 -1
  421. package/dist/components/solution-organization-variables/customElement.js +1 -1
  422. package/dist/components/solution-resource-card/customElement.js +1 -1
  423. package/dist/components/solution-resource-item/customElement.js +1 -1
  424. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  425. package/dist/components/solution-social-share/customElement.js +1 -1
  426. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  427. package/dist/components/solution-template-data/customElement.js +1 -1
  428. package/dist/components/solution-variables/customElement.js +1 -1
  429. package/dist/components/solutions-all-panel/customElement.d.ts +3 -1
  430. package/dist/components/solutions-all-panel/customElement.js +7 -4
  431. package/dist/components/solutions-all-shell/customElement.js +1 -1
  432. package/dist/components/solutions-deploy-app/customElement.js +15 -15
  433. package/dist/components/solutions-deploy-app-nav/customElement.js +2 -1
  434. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  435. package/dist/components/solutions-deployed-panel/customElement.d.ts +3 -1
  436. package/dist/components/solutions-deployed-panel/customElement.js +18 -15
  437. package/dist/components/solutions-deployed-shell/customElement.js +2 -2
  438. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  439. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  440. package/dist/components/solutions-resources/customElement.js +1 -1
  441. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  442. package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +9 -0
  443. package/dist/components/solutions-searchsort-toolbar/customElement.js +15 -12
  444. package/dist/components/spatial-ref/customElement.js +1 -1
  445. package/dist/components/store-manager/customElement.js +1 -1
  446. package/dist/docs/api.json +98 -2
  447. package/dist/docs/docs.json +90 -2
  448. package/dist/docs/vscode.html-custom-data.json +3 -3
  449. package/dist/docs/web-types.json +24 -4
  450. package/dist/index.d.ts +2 -0
  451. package/dist/index.js +1 -1
  452. package/dist/loader.js +2 -2
  453. package/dist/types/lumina.d.ts +2 -0
  454. package/dist/types/preact.d.ts +2 -0
  455. package/dist/types/preact10.d.ts +2 -0
  456. package/dist/types/react.d.ts +2 -0
  457. package/dist/types/stencil.d.ts +2 -0
  458. package/dist/utils/cardsHelpers.d.ts +7 -0
  459. package/dist/utils/interfaces.d.ts +5 -0
  460. package/package.json +1 -1
  461. package/dist/cdn/563I356Y.js +0 -18
  462. package/dist/cdn/6HJAZ3LW.js +0 -4
  463. package/dist/cdn/7GWOVTJO.js +0 -18
  464. package/dist/cdn/B6QGXXOB.js +0 -18
  465. package/dist/cdn/FCKFGJ6W.js +0 -4
  466. package/dist/cdn/GT6NYEHE.js +0 -4
  467. package/dist/cdn/HCSUTBKT.js +0 -4
  468. package/dist/cdn/HMMBGUGZ.js +0 -18
  469. package/dist/cdn/I2D7I3KR.js +0 -4
  470. package/dist/cdn/IRUZSWD7.js +0 -18
  471. package/dist/cdn/K62GKZZ7.js +0 -4
  472. package/dist/cdn/NORSIRXT.js +0 -4
  473. package/dist/cdn/TPEAD2VE.js +0 -18
  474. package/dist/cdn/WV2CKOO7.js +0 -4
  475. package/dist/cdn/X2XJ3W6P.js +0 -18
  476. package/dist/cdn/X6L6A3RW.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import{a as G}from"./DXNAVKBQ.js";import{a as L}from"./H5KK4MYX.js";import{c as K,d as _,e as U}from"./5HMNBLKG.js";import{l as j,p as P}from"./DJ4IJPOT.js";import"./ITMUWA35.js";import"./HBH6H2OI.js";import"./MM6AI27P.js";import"./D3XPGKZT.js";import"./ARKITXRN.js";import{a as S}from"./7KHRLY2A.js";import"./GR7VI3CO.js";import"./MSOYRSMG.js";import"./VYTFYRFY.js";import"./2PJAQGID.js";import{w}from"./ZFKT7KHP.js";import"./7KKY5M2N.js";import"./XZQVERDX.js";import"./TYTKNIAO.js";import"./AJ4T6IK5.js";import{b as A}from"./SVB3MCB4.js";import{a as c,b as p}from"./WZH6KHYA.js";import"./IXZBLLNR.js";import"./IKVBCRGA.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
3
+ v1.2.0-next.19 */
4
+ import{a as G}from"./2ZQ3LJ7W.js";import{a as L}from"./TOGFOYIF.js";import{c as K,d as _,e as U}from"./GNGB3JRT.js";import{l as j,p as P}from"./WC6RZR3T.js";import"./EPPBVHFH.js";import"./WTNBBRNQ.js";import"./UVPEPCQH.js";import"./62OQYOHS.js";import"./VCSRQV2E.js";import{a as S}from"./OFRQL7US.js";import"./3LSSG7JR.js";import"./7FNTRIO4.js";import"./L4DAPED3.js";import"./4EWNJTNA.js";import{w}from"./NXZD7IHT.js";import"./FJ7BYQC5.js";import"./AOZBBKJW.js";import"./3CK3DE5X.js";import"./FZFRJKJE.js";import{b as A}from"./GDUU2E4P.js";import{a as c,b as p}from"./OBV3H4TJ.js";import"./S7MUN3J2.js";import"./6SLVFYJ5.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import{a as i}from"./5HMNBLKG.js";import{o as r}from"./DJ4IJPOT.js";var a={location:"location.json"};function y(){let o=["access","created","culture","description","extent","id","itemControl","modified","owner","tags","categories","type","typeKeywords","thumbnail","url","orgId"],t=["display","geometry","view","associations","catalogs","assistant"],n=Object.keys(a),e=[];return o.forEach(s=>{e.push({entityKey:s,storeKey:`item.${s}`})}),t.forEach(s=>{e.push({entityKey:s,storeKey:`data.${s}`})}),n.forEach(s=>{e.push({entityKey:s,storeKey:`resources.${s}`})}),e.push({entityKey:"slug",storeKey:"item.properties.slug"}),e.push({entityKey:"summary",storeKey:"item.snippet"}),e.push({entityKey:"schemaVersion",storeKey:"item.properties.schemaVersion"}),e.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),e.push({entityKey:"name",storeKey:"item.title"}),e.push({entityKey:"boundary",storeKey:"item.properties.boundary"}),e.push({entityKey:"discussionSettings",storeKey:"entitySettings.settings.discussions"}),e.push({entityKey:"entitySettingsId",storeKey:"entitySettings.id"}),e}function K(o,t){return t.createdDate=new Date(o.created),t.createdDateSource="item.created",t.updatedDate=new Date(o.modified),t.updatedDateSource="item.modified",t.location=t.location||r(o),t.isDiscussable=i(o),t}export{y as a,K as b};
3
+ v1.2.0-next.19 */
4
+ import{a as i}from"./GNGB3JRT.js";import{o as r}from"./WC6RZR3T.js";var a={location:"location.json"};function y(){let o=["access","created","culture","description","extent","id","itemControl","modified","owner","tags","categories","type","typeKeywords","thumbnail","url","orgId"],t=["display","geometry","view","associations","catalogs","assistant"],n=Object.keys(a),e=[];return o.forEach(s=>{e.push({entityKey:s,storeKey:`item.${s}`})}),t.forEach(s=>{e.push({entityKey:s,storeKey:`data.${s}`})}),n.forEach(s=>{e.push({entityKey:s,storeKey:`resources.${s}`})}),e.push({entityKey:"slug",storeKey:"item.properties.slug"}),e.push({entityKey:"summary",storeKey:"item.snippet"}),e.push({entityKey:"schemaVersion",storeKey:"item.properties.schemaVersion"}),e.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),e.push({entityKey:"name",storeKey:"item.title"}),e.push({entityKey:"boundary",storeKey:"item.properties.boundary"}),e.push({entityKey:"discussionSettings",storeKey:"entitySettings.settings.discussions"}),e.push({entityKey:"entitySettingsId",storeKey:"entitySettings.id"}),e}function K(o,t){return t.createdDate=new Date(o.created),t.createdDateSource="item.created",t.updatedDate=new Date(o.modified),t.updatedDateSource="item.modified",t.location=t.location||r(o),t.isDiscussable=i(o),t}export{y as a,K as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import"./IKVBCRGA.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.2.0-next.19 */
4
+ import"./6SLVFYJ5.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
3
+ v1.2.0-next.19 */
4
4
  var u=(i,r)=>r.split(".").reduce(function(e,n){let l=n.match(/\[(.*?)\]$/);if(l){let t=l[1],s=n.replace(l[0],"");if(parseInt(t,10)>-1){let a=parseInt(t,10);return Array.isArray(e[s])&&e[s][a]?e[s][a]:void 0}else return o(e[s],t)}else return e&&e[n]!==void 0?e[n]!==null&&e[n].$use?u(i,e[n].$use):e[n]:void 0},i);function o(i,r){let e=r.split("(");if(!e||e.length!==2)return;let n,l=e[0],t=e[1].replace(")","").split(",").map(s=>s.trim());switch(l){case"findBy":let s=t[0],a;d(t[1])?a=parseFloat(t[1]):a=t[1].replace(/'/g,""),n=i.find(f=>f[s]===a);break;default:n=void 0}return n}function d(i){return!isNaN(parseFloat(i))}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.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import c from"./NG7G3CC5.js";import{a as d,b as w,e as C,f as I}from"./EYZYTDPR.js";import a from"./2HCRUNSQ.js";import{a as S}from"./DMV6IORF.js";import{a as y}from"./PN22WD6L.js";import{a as x}from"./X7YHISH3.js";import{C as T}from"./OOWXU7Q7.js";import{b}from"./MSFOOONQ.js";import"./AP2AUIRH.js";import"./IOZQWPI7.js";import{E as f,G as r,h as v,i as n,o as $}from"./4SHO6M7C.js";import"./IKVBCRGA.js";export default $arcgis.t(([,{c:u,e:h,f:e,g:L,h:m,j:D,l:k}])=>{var E=v`calcite-modal{--calcite-modal-content-padding: 0}.instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}.instant-apps-language-translator__header-text{font-size:18px}.instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.instant-apps-language-translator__close-button{width:175px}.instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}.instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}.instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}.instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}.instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}.instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}.instant-apps-language-translator__primary-content{display:flex;align-items:center}.instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,.instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,.instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},_=class extends f{constructor(){super(),this._messages=x({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=$(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=E}async batchWriteToPortalItemResource(t){e.set("saving",!0);try{let a=await this.getPortalItemResource();if(!a){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...t,lastSave:s})],p={type:"application/json"},c=new Blob(o,p);return await a.update(c),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(t){e.set("portalItemResourceT9n",t)}load(){k()}willUpdate(t){(t.has("locales")||t.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){let[t]=await Promise.all([T()]);this.intl=t,this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:t,locales:a}=this,s=L(t,a);e.set("uiData",s)}initSelectLanguage(){if(!this.intl)return;let t=this.locales?.[0]?.locale??this.intl.getLocale(),a=e.get("currentLanguage");this.locales.filter(s=>s.locale===a).length===0&&e.set("currentLanguage",t)}async initPortalItemResourceT9nData(){try{let t=await I(this.portalItem);e.set("portalItemResource",t);let a=await C(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(h.uiData);m().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(h.uiData),o=m(),p=c=>{let g=s.get(c);if(c===a){g.selected=!0;return}g.selected=!1};o.forEach(p),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(t){let a=t.target.value;e.set("currentLanguage",a)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${u.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){return n`<div>${this.renderTopBar()}<slot name=language-translator-content></slot></div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let t=this._messages.languages,a=w(),s=t?.[a];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:t,_messages:a}=this,s=t?a?.collapseAll:a?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${u.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let t=e.get("uiData")?.get("locales"),a=D(t),s=Object.keys(d.partial);return S(a,o=>`translated-lang-option-${o}`,o=>{let p=s.includes(o)?"partial":"full",c=d[p],{language:g,translated:B}=c[o],P=`${g} - ${B}`;return n`<calcite-option .value=${o}>${P}</calcite-option>`})}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?y("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${this.intl.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};b("instant-apps-language-translator",_);return _},a,c)
3
+ v1.2.0-next.19 */
4
+ import c from"./IXY7VOKG.js";import{a as d,b as w,e as C,f as I}from"./EWFLBOIN.js";import a from"./F5E4YCCM.js";import{a as S}from"./JFR4PBJK.js";import{a as y}from"./QFL3F6UT.js";import{a as x}from"./HLEEHPJY.js";import{C as T}from"./QWOATCKF.js";import{b}from"./Z7T776GO.js";import"./RP62YBD7.js";import"./DM3SAT6X.js";import{E as f,G as r,h as v,i as n,o as $}from"./RR5QW2LS.js";import"./6SLVFYJ5.js";export default $arcgis.t(([,{c:u,e:h,f:e,g:L,h:m,j:D,l:k}])=>{var E=v`calcite-modal{--calcite-modal-content-padding: 0}.instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}.instant-apps-language-translator__header-text{font-size:18px}.instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.instant-apps-language-translator__close-button{width:175px}.instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}.instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}.instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}.instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}.instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}.instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}.instant-apps-language-translator__primary-content{display:flex;align-items:center}.instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,.instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,.instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},_=class extends f{constructor(){super(),this._messages=x({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=$(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=E}async batchWriteToPortalItemResource(t){e.set("saving",!0);try{let a=await this.getPortalItemResource();if(!a){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...t,lastSave:s})],p={type:"application/json"},c=new Blob(o,p);return await a.update(c),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(t){e.set("portalItemResourceT9n",t)}load(){k()}willUpdate(t){(t.has("locales")||t.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){let[t]=await Promise.all([T()]);this.intl=t,this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:t,locales:a}=this,s=L(t,a);e.set("uiData",s)}initSelectLanguage(){if(!this.intl)return;let t=this.locales?.[0]?.locale??this.intl.getLocale(),a=e.get("currentLanguage");this.locales.filter(s=>s.locale===a).length===0&&e.set("currentLanguage",t)}async initPortalItemResourceT9nData(){try{let t=await I(this.portalItem);e.set("portalItemResource",t);let a=await C(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(h.uiData);m().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(h.uiData),o=m(),p=c=>{let g=s.get(c);if(c===a){g.selected=!0;return}g.selected=!1};o.forEach(p),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(t){let a=t.target.value;e.set("currentLanguage",a)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${u.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){return n`<div>${this.renderTopBar()}<slot name=language-translator-content></slot></div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let t=this._messages.languages,a=w(),s=t?.[a];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:t,_messages:a}=this,s=t?a?.collapseAll:a?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${u.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let t=e.get("uiData")?.get("locales"),a=D(t),s=Object.keys(d.partial);return S(a,o=>`translated-lang-option-${o}`,o=>{let p=s.includes(o)?"partial":"full",c=d[p],{language:g,translated:B}=c[o],P=`${g} - ${B}`;return n`<calcite-option .value=${o}>${P}</calcite-option>`})}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?y("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${this.intl.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};b("instant-apps-language-translator",_);return _},a,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
3
+ v1.2.0-next.19 */
4
4
  function o(){return Intl.DateTimeFormat().resolvedOptions().timeZone}function m(r,e){let t=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"2-digit",day:"2-digit",timeZone:e??o()}).formatToParts(new Date(r));return[t[4].value,t[0].value,t[2].value].join("-")}function s(r,e){let t=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",timeZone:e??o(),hourCycle:"h23"}).formatToParts(new Date(r));return[t[0].value,t[2].value,t[4].value].join(":")}var w=()=>{let e=new Date(Date.now()+36e5),t=new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours()),i=t.toISOString(),a=new Date(t.valueOf()+36e5).toISOString(),n=o(),u=m(i,n),D=m(a,n);return{startDate:u,startDateTime:new Date(i),startTime:s(i,n),endDate:D,endDateTime:new Date(a),endTime:s(a,n),timeZone:n}};export{m as a,w as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import{a as g,c as S,d as y,e as u,f as m}from"./EYZYTDPR.js";import{a as p}from"./PN22WD6L.js";import{C as $,m as h}from"./OOWXU7Q7.js";import{b as D}from"./MSFOOONQ.js";import{C as I,D as b,E as v,h as L,i as n,o as f}from"./4SHO6M7C.js";import"./IKVBCRGA.js";var E=L`:host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand: var(--calcite-color-text-3);--calcite-color-brand-hover: var(--calcite-color-text-3)}`,w=class extends v{constructor(){super(...arguments),this.trigger=I(),this.t9nData=null,this.icon="language",this.locales=[],this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.selectedLanguageUpdated=f()}static{this.properties={t9nData:16,icon:1,portalItem:0,view:0,locales:0,defaultLocale:1,selectedLanguage:1,calciteDropdownOverlayPositioning:1}}static{this.styles=E}async refresh(){try{let e=await m(this.portalItem),t=await u(e);this.t9nData=t;let a={locale:this.selectedLanguage,data:t[this.selectedLanguage]};this.selectedLanguageUpdated.emit(a)}catch{}}async load(){let[e]=await Promise.all([$()]);this.intl=e;try{this.portalItemResource=await m(this.portalItem);let t=await u(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let t=new URLSearchParams(window.location.search).get("locale"),a=this.locales?.map(i=>i?.locale)?.filter(i=>i===t)?.length>0,c=S(e,this.portalItem.portal),r=this.locales?.map(i=>i?.locale)?.filter(i=>i===c)?.length>0;this.selectedLanguage=a?t:r?c:this.userLocale;let o=this.selectedLanguage;if(o!==this.userLocale&&(this.calciteDropdownItemSelectCallback(o)(),this.selectedLanguageUpdated.emit({locale:o,data:this.t9nData?.[o]??null})),this.view){let i=this.view.map;this.defaultWebMapId=i?.portalItem?.id??"";let s=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;s&&(this.view.map=await h({portalItem:{id:s}}))}}}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:t,selectedLanguage:a,t9nData:c,userLocale:r}=this,o=this.locales.find(l=>l.locale===a);c&&o&&a!==r&&(o.data=c[e]);let i=new URLSearchParams(window.location.search),s=await y(this.selectedLanguage);if(t.setLocale(s),i.set("locale",s),this.view){let l=this.locales.filter(d=>d.locale===a)?.[0]?.webmap;if(l)this.view.map=await h({portalItem:{id:l}});else{let d=this.view?.map?.portalItem?.id;d&&this.defaultWebMapId!==d&&(this.view.map=await h({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",s),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${i}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let t=Object.keys(g.partial).includes(e)?"partial":"full",a=g[t],{language:c,translated:r}=a[e];return`${c} - ${r}`}render(){let e=this.renderTrigger(),t=this.renderDropdownItems(),a=this.renderDefaultLocale();return n`<calcite-dropdown @calciteDropdownBeforeOpen=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-up")}} @calciteDropdownBeforeClose=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-down")}} .overlayPositioning=${this.calciteDropdownOverlayPositioning} width-scale=m>${e}<calcite-dropdown-group>${a}${t}</calcite-dropdown-group></calcite-dropdown>`}renderDefaultLocale(){let{userLocale:e}=this;return p(`default-${e}`,n`<calcite-dropdown-item @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)} .selected=${this.selectedLanguage===this.userLocale}>${this.getSelectedLanguageText(e)}</calcite-dropdown-item>`)}renderTrigger(){return n`<calcite-button slot=trigger .iconStart=${this.icon} icon-end=chevron-down width=full appearance=outline ${b(this.trigger)}>${this.getSelectedLanguageText(this.selectedLanguage)}</calcite-button>`}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let t=this.getSelectedLanguageText(e),a=e===this.selectedLanguage;return p(e,n`<calcite-dropdown-item .selected=${a} @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)}>${t}</calcite-dropdown-item>`)}};D("instant-apps-language-switcher",w);export{w as InstantAppsLanguageSwitcher};
3
+ v1.2.0-next.19 */
4
+ import{a as g,c as S,d as y,e as u,f as m}from"./EWFLBOIN.js";import{a as p}from"./QFL3F6UT.js";import{C as $,m as h}from"./QWOATCKF.js";import{b as D}from"./Z7T776GO.js";import{C as I,D as b,E as v,h as L,i as n,o as f}from"./RR5QW2LS.js";import"./6SLVFYJ5.js";var E=L`:host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand: var(--calcite-color-text-3);--calcite-color-brand-hover: var(--calcite-color-text-3)}`,w=class extends v{constructor(){super(...arguments),this.trigger=I(),this.t9nData=null,this.icon="language",this.locales=[],this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.selectedLanguageUpdated=f()}static{this.properties={t9nData:16,icon:1,portalItem:0,view:0,locales:0,defaultLocale:1,selectedLanguage:1,calciteDropdownOverlayPositioning:1}}static{this.styles=E}async refresh(){try{let e=await m(this.portalItem),t=await u(e);this.t9nData=t;let a={locale:this.selectedLanguage,data:t[this.selectedLanguage]};this.selectedLanguageUpdated.emit(a)}catch{}}async load(){let[e]=await Promise.all([$()]);this.intl=e;try{this.portalItemResource=await m(this.portalItem);let t=await u(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let t=new URLSearchParams(window.location.search).get("locale"),a=this.locales?.map(i=>i?.locale)?.filter(i=>i===t)?.length>0,c=S(e,this.portalItem.portal),r=this.locales?.map(i=>i?.locale)?.filter(i=>i===c)?.length>0;this.selectedLanguage=a?t:r?c:this.userLocale;let o=this.selectedLanguage;if(o!==this.userLocale&&(this.calciteDropdownItemSelectCallback(o)(),this.selectedLanguageUpdated.emit({locale:o,data:this.t9nData?.[o]??null})),this.view){let i=this.view.map;this.defaultWebMapId=i?.portalItem?.id??"";let s=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;s&&(this.view.map=await h({portalItem:{id:s}}))}}}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:t,selectedLanguage:a,t9nData:c,userLocale:r}=this,o=this.locales.find(l=>l.locale===a);c&&o&&a!==r&&(o.data=c[e]);let i=new URLSearchParams(window.location.search),s=await y(this.selectedLanguage);if(t.setLocale(s),i.set("locale",s),this.view){let l=this.locales.filter(d=>d.locale===a)?.[0]?.webmap;if(l)this.view.map=await h({portalItem:{id:l}});else{let d=this.view?.map?.portalItem?.id;d&&this.defaultWebMapId!==d&&(this.view.map=await h({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",s),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${i}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let t=Object.keys(g.partial).includes(e)?"partial":"full",a=g[t],{language:c,translated:r}=a[e];return`${c} - ${r}`}render(){let e=this.renderTrigger(),t=this.renderDropdownItems(),a=this.renderDefaultLocale();return n`<calcite-dropdown @calciteDropdownBeforeOpen=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-up")}} @calciteDropdownBeforeClose=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-down")}} .overlayPositioning=${this.calciteDropdownOverlayPositioning} width-scale=m>${e}<calcite-dropdown-group>${a}${t}</calcite-dropdown-group></calcite-dropdown>`}renderDefaultLocale(){let{userLocale:e}=this;return p(`default-${e}`,n`<calcite-dropdown-item @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)} .selected=${this.selectedLanguage===this.userLocale}>${this.getSelectedLanguageText(e)}</calcite-dropdown-item>`)}renderTrigger(){return n`<calcite-button slot=trigger .iconStart=${this.icon} icon-end=chevron-down width=full appearance=outline ${b(this.trigger)}>${this.getSelectedLanguageText(this.selectedLanguage)}</calcite-button>`}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let t=this.getSelectedLanguageText(e),a=e===this.selectedLanguage;return p(e,n`<calcite-dropdown-item .selected=${a} @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)}>${t}</calcite-dropdown-item>`)}};D("instant-apps-language-switcher",w);export{w as InstantAppsLanguageSwitcher};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import{i as d,j as i}from"./DJ4IJPOT.js";import{a as c}from"./MM6AI27P.js";import{a as p}from"./7KHRLY2A.js";import{a as s}from"./AJ4T6IK5.js";function f(r){let e=!1;return r&&(e=!(r.typeKeywords||[]).includes(c)),e}function w(r,e){let o=(r||[]).filter(t=>t!==c);return e||o.push(c),o}var y=class{constructor(e){this.mappings=e}storeToEntity(e,o){let t=S(e,o,this.mappings);if(s(e,"item")){let n=s(e,"item");i("canEdit",["admin","update"].includes(n.itemControl),t),i("canDelete",n.itemControl==="admin",t),i("canRecycle",n.canRecycle||!1,t),i("protected",n.protected,t)}return t}entityToStore(e,o){return C(e,o,this.mappings)}};function C(r,e,o){if(s(e,"item")){let t=s(e,"item");t.typeKeywords&&(t.typeKeywords=s(r,"isDiscussable")?t.typeKeywords.filter(n=>n!==c):[...t.typeKeywords,c],i("item.typeKeywords",t.typeKeywords,e))}return m(r,"entityKey",e,"storeKey",o)}function S(r,e,o){if(s(r,"item")){let t=s(r,"item");i("isDiscussable",f(t),e)}return m(r,"storeKey",e,"entityKey",o)}function m(r,e,o,t,n){let u=p(o);return n.forEach(l=>{let g=s(l,e),A=s(l,t),a=s(r,g);a!=null&&d(u,A,a,!0)}),u}export{f as a,w as b,y as c,C as d,S as e};
3
+ v1.2.0-next.19 */
4
+ import{i as d,j as i}from"./WC6RZR3T.js";import{a as c}from"./UVPEPCQH.js";import{a as p}from"./OFRQL7US.js";import{a as s}from"./FZFRJKJE.js";function f(r){let e=!1;return r&&(e=!(r.typeKeywords||[]).includes(c)),e}function w(r,e){let o=(r||[]).filter(t=>t!==c);return e||o.push(c),o}var y=class{constructor(e){this.mappings=e}storeToEntity(e,o){let t=S(e,o,this.mappings);if(s(e,"item")){let n=s(e,"item");i("canEdit",["admin","update"].includes(n.itemControl),t),i("canDelete",n.itemControl==="admin",t),i("canRecycle",n.canRecycle||!1,t),i("protected",n.protected,t)}return t}entityToStore(e,o){return C(e,o,this.mappings)}};function C(r,e,o){if(s(e,"item")){let t=s(e,"item");t.typeKeywords&&(t.typeKeywords=s(r,"isDiscussable")?t.typeKeywords.filter(n=>n!==c):[...t.typeKeywords,c],i("item.typeKeywords",t.typeKeywords,e))}return m(r,"entityKey",e,"storeKey",o)}function S(r,e,o){if(s(r,"item")){let t=s(r,"item");i("isDiscussable",f(t),e)}return m(r,"storeKey",e,"entityKey",o)}function m(r,e,o,t,n){let u=p(o);return n.forEach(l=>{let g=s(l,e),A=s(l,t),a=s(r,g);a!=null&&d(u,A,a,!0)}),u}export{f as a,w as b,y as c,C as d,S as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import{a as t}from"./GRK5SXGG.js";import"./JPMW6AZR.js";import"./QFCX3LSO.js";import{a as r}from"./SVB3MCB4.js";import"./6VWDGFL6.js";import"./WZH6KHYA.js";import"./DBE4WPUJ.js";import"./AB5UPFJB.js";import"./IXZBLLNR.js";import"./DBPMUME6.js";import"./EUNIFQ72.js";import"./66PDPDVE.js";import"./2PRRHM2Y.js";import"./EOXVDL7W.js";import"./XZI4XMDG.js";import"./MNZ6BW4N.js";import"./TY4OPURB.js";import"./DPJW2IPD.js";import"./3JURGZ5M.js";import"./FKVAAIA2.js";import"./H6QSE5GL.js";import"./SU2J5HZD.js";import"./GXRSIH57.js";import"./IKVBCRGA.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n as buildUiSchema};
3
+ v1.2.0-next.19 */
4
+ import{a as t}from"./5QCO4M3Y.js";import"./ISRKDDNF.js";import"./WMF4C6ES.js";import{a as r}from"./GDUU2E4P.js";import"./EXKSSYFW.js";import"./OBV3H4TJ.js";import"./2576ZCZN.js";import"./QK27OGIZ.js";import"./S7MUN3J2.js";import"./W5KMQ4UR.js";import"./ELWWVPQG.js";import"./JXFLLGN4.js";import"./E7DQ2ATA.js";import"./JAQHBRLC.js";import"./6MDGO4CM.js";import"./Q7E2RV6R.js";import"./BWHRBHOE.js";import"./MC2SGMCJ.js";import"./7QSRD5GC.js";import"./22YHU4MM.js";import"./26TS43IE.js";import"./4SU4K6SE.js";import"./2M3BHAXW.js";import"./6SLVFYJ5.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import"./IKVBCRGA.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.2.0-next.19 */
4
+ import"./6SLVFYJ5.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import"./IKVBCRGA.js";var e=()=>({properties:{allowRegistration:{type:"boolean",enum:[!0,!1],default:!0},notifyAttendees:{type:"boolean",enum:[!0,!1],default:!0}}});export{e as buildSchema};
3
+ v1.2.0-next.19 */
4
+ import"./6SLVFYJ5.js";var e=()=>({properties:{allowRegistration:{type:"boolean",enum:[!0,!1],default:!0},notifyAttendees:{type:"boolean",enum:[!0,!1],default:!0}}});export{e as buildSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import"./IKVBCRGA.js";var a="Nemate dovoljno kredita za obavljanje ove operacije. Za pomo\u0107 se obratite svom administratoru sistema ArcGIS.",e="Ova alatka je objavljena iz bele\u017Enice. Pristup servisu ArcGIS Notebooks je blokiran za va\u0161u organizaciju. Kontaktirajte svog administratora da prilagodite ovu postavku.",o="${ dataPath } ne sme da ima ${ additionalProperty }.",i="${ dataPath } mora da odgovara \u0161emi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovo da sa\u010Duvate mapu.",t="Procena kredita nije uspela. Pomerite se nadole, ispravite gre\u0161ke i ponovo procenite kredite.",s="Do\u0161lo je do gre\u0161ke pri pokretanju analize.",n="${ dataPath } mora da bude jednako jednoj od ovih dozvoljenih vrednosti: ${ allowedValues }.",l="\u010Cuvanje istorije analize nije uspelo",d="Skladi\u0161te istorije je puno. Uklonite neke stavke iz istorije analize i poku\u0161ajte ponovo da ih sa\u010Duvate.",v="Ime servisa sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",j="\u010Cuvanje privremenog sloja kao hostovanog sloja geoobjekta nije zavr\u0161eno.",m="Preuzimanje klju\u010Dnih svojstava nije uspelo.",u="U\u010Ditavanje sloja nije uspelo.",p="Sloj nije dostupan.",k="${ dataPath } ne sme da ima vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do gre\u0161ke prilikom \u010Duvanja modela. Poku\u0161ajte da sa\u010Duvate ponovo.",h="${ dataPath } ne sme da ima manje od ${ limit } stavki.",z="${ dataPath } ne sme da bude kra\u0107e od ${ limit } karaktera.",P="U\u010Ditavanje stavke modela nije uspelo. Uverite se da model postoji i da je dobijena dozvola za pristup.",g="Dovr\u0161avanje zahteva nije uspelo.",E="Nemate dozvolu za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznaj vi\u0161e</calcite-link>",S="Prijava na portal nije uspela.",b="Neuspe\u0161no \u010Ditanje ulaznih podataka.",y="${ dataPath } nedostaje svojstvo pod nazivom ${ missingProperty }.",$="Sloj sa rezultatima ve\u0107 postoji s ovim nazivom. Slojevi sa rezultatima moraju imati jedinstveno ime u celoj organizaciji. Upotrebite drugi naziv.",I="Ime izlaza sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",f="Objavljivanje privremenog sloja kao hostovanog sloja nije uspelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovo pokrenite alatku da biste kreirali sloj sa va\u017Ee\u0107im poljima.",F="Slanje posla nije uspelo. Listajte nadole, ispravite gre\u0161ke i ponovo pokrenite analizu.",N="${ dataPath } mora da ima bar jedan karakter koji nije prazan.",L={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:j,keyPropertiesError:m,layerLoadFailure:u,layerUnavailable:p,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:f,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,L as default,s as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,j as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,u as layerLoadFailure,p as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,I as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
3
+ v1.2.0-next.19 */
4
+ import"./6SLVFYJ5.js";var a="Nemate dovoljno kredita za obavljanje ove operacije. Za pomo\u0107 se obratite svom administratoru sistema ArcGIS.",e="Ova alatka je objavljena iz bele\u017Enice. Pristup servisu ArcGIS Notebooks je blokiran za va\u0161u organizaciju. Kontaktirajte svog administratora da prilagodite ovu postavku.",o="${ dataPath } ne sme da ima ${ additionalProperty }.",i="${ dataPath } mora da odgovara \u0161emi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovo da sa\u010Duvate mapu.",t="Procena kredita nije uspela. Pomerite se nadole, ispravite gre\u0161ke i ponovo procenite kredite.",s="Do\u0161lo je do gre\u0161ke pri pokretanju analize.",n="${ dataPath } mora da bude jednako jednoj od ovih dozvoljenih vrednosti: ${ allowedValues }.",l="\u010Cuvanje istorije analize nije uspelo",d="Skladi\u0161te istorije je puno. Uklonite neke stavke iz istorije analize i poku\u0161ajte ponovo da ih sa\u010Duvate.",v="Ime servisa sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",j="\u010Cuvanje privremenog sloja kao hostovanog sloja geoobjekta nije zavr\u0161eno.",m="Preuzimanje klju\u010Dnih svojstava nije uspelo.",u="U\u010Ditavanje sloja nije uspelo.",p="Sloj nije dostupan.",k="${ dataPath } ne sme da ima vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do gre\u0161ke prilikom \u010Duvanja modela. Poku\u0161ajte da sa\u010Duvate ponovo.",h="${ dataPath } ne sme da ima manje od ${ limit } stavki.",z="${ dataPath } ne sme da bude kra\u0107e od ${ limit } karaktera.",P="U\u010Ditavanje stavke modela nije uspelo. Uverite se da model postoji i da je dobijena dozvola za pristup.",g="Dovr\u0161avanje zahteva nije uspelo.",E="Nemate dozvolu za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznaj vi\u0161e</calcite-link>",S="Prijava na portal nije uspela.",b="Neuspe\u0161no \u010Ditanje ulaznih podataka.",y="${ dataPath } nedostaje svojstvo pod nazivom ${ missingProperty }.",$="Sloj sa rezultatima ve\u0107 postoji s ovim nazivom. Slojevi sa rezultatima moraju imati jedinstveno ime u celoj organizaciji. Upotrebite drugi naziv.",I="Ime izlaza sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",f="Objavljivanje privremenog sloja kao hostovanog sloja nije uspelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovo pokrenite alatku da biste kreirali sloj sa va\u017Ee\u0107im poljima.",F="Slanje posla nije uspelo. Listajte nadole, ispravite gre\u0161ke i ponovo pokrenite analizu.",N="${ dataPath } mora da ima bar jedan karakter koji nije prazan.",L={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:j,keyPropertiesError:m,layerLoadFailure:u,layerUnavailable:p,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:f,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,L as default,s as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,j as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,u as layerLoadFailure,p as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,I as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import{d as w,e as L}from"./ZWGSLBDU.js";import"./HNB27GVR.js";import"./3FAMJ4OZ.js";import{b as V}from"./3X5REHMK.js";import{a as b}from"./B6VXPA2U.js";import"./AP2AUIRH.js";import"./IOZQWPI7.js";import{b as v}from"./GT3QLTVG.js";import{C as c,D as p,E as M,G as m,h as y,i as l,o as h,r as f}from"./4SHO6M7C.js";import"./IKVBCRGA.js";var S=y`@layer{/** @license
3
+ v1.2.0-next.19 */
4
+ import{d as w,e as L}from"./NOQDL573.js";import"./AB6ISD3T.js";import"./BBIEKJEB.js";import{b as V}from"./Y3HLV42Z.js";import{a as b}from"./WP5FOVI3.js";import"./RP62YBD7.js";import"./DM3SAT6X.js";import{b as v}from"./DVJIQDTF.js";import{C as c,D as p,E as M,G as m,h as y,i as l,o as h,r as f}from"./RR5QW2LS.js";import"./6SLVFYJ5.js";var S=y`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import{a as l}from"./Q53KK4EL.js";import"./2PJAQGID.js";import"./TYTKNIAO.js";import"./AJ4T6IK5.js";import{a as t}from"./GRK5SXGG.js";import"./JPMW6AZR.js";import"./QFCX3LSO.js";import"./SVB3MCB4.js";import"./6VWDGFL6.js";import"./WZH6KHYA.js";import"./DBE4WPUJ.js";import"./AB5UPFJB.js";import"./IXZBLLNR.js";import"./DBPMUME6.js";import"./EUNIFQ72.js";import"./66PDPDVE.js";import"./2PRRHM2Y.js";import"./EOXVDL7W.js";import"./XZI4XMDG.js";import"./MNZ6BW4N.js";import"./TY4OPURB.js";import"./DPJW2IPD.js";import"./3JURGZ5M.js";import"./FKVAAIA2.js";import"./H6QSE5GL.js";import"./SU2J5HZD.js";import"./GXRSIH57.js";import"./IKVBCRGA.js";var n=async(e,s,r)=>{let o=s;return{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:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.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.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{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.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n as buildUiSchema};
3
+ v1.2.0-next.19 */
4
+ import{a as l}from"./NJPKGHRB.js";import"./4EWNJTNA.js";import"./3CK3DE5X.js";import"./FZFRJKJE.js";import{a as t}from"./5QCO4M3Y.js";import"./ISRKDDNF.js";import"./WMF4C6ES.js";import"./GDUU2E4P.js";import"./EXKSSYFW.js";import"./OBV3H4TJ.js";import"./2576ZCZN.js";import"./QK27OGIZ.js";import"./S7MUN3J2.js";import"./W5KMQ4UR.js";import"./ELWWVPQG.js";import"./JXFLLGN4.js";import"./E7DQ2ATA.js";import"./JAQHBRLC.js";import"./6MDGO4CM.js";import"./Q7E2RV6R.js";import"./BWHRBHOE.js";import"./MC2SGMCJ.js";import"./7QSRD5GC.js";import"./22YHU4MM.js";import"./26TS43IE.js";import"./4SU4K6SE.js";import"./2M3BHAXW.js";import"./6SLVFYJ5.js";var n=async(e,s,r)=>{let o=s;return{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:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.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.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{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.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import a from"./CZWVK5EA.js";export default $arcgis.t(([{a:e}])=>{function u(r){return Array.isArray(r)?r:Array.from(r)}function c(r,o){let t=s(o),n=e([{k:"id",v:r}])||"";return t?`${t}/home/item.html${n}`:""}function m(r,o,t){let n=s(t);return n?`${n}/sharing/rest/content/items/${r}/resources/${o}`:""}function s(r){return r?.PortalSubset?.orgUrl||r?.PortalUrl||""}return{a:u,b:c,c:m}},a)
3
+ v1.2.0-next.19 */
4
+ import a from"./A24YML76.js";export default $arcgis.t(([{a:e}])=>{function u(r){return Array.isArray(r)?r:Array.from(r)}function c(r,o){let t=s(o),n=e([{k:"id",v:r}])||"";return t?`${t}/home/item.html${n}`:""}function m(r,o,t){let n=s(t);return n?`${n}/sharing/rest/content/items/${r}/resources/${o}`:""}function s(r){return r?.PortalSubset?.orgUrl||r?.PortalUrl||""}return{a:u,b:c,c:m}},a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import{oa as n,qa as a,sa as m}from"./Z7GSRTZU.js";async function u(o,i){let s=await m(o,i);if(!s)throw new Error(`Solution ${o} was not found`);let r=i?.portal.replace("/sharing/rest","")??"https://www.arcgis.com",p=[];if(s.templates[0].item)p=s.templates.map(t=>({id:t.itemId,title:t.item.title,type:t.item.type,typeKeywords:t.item.typeKeywords,dependencies:t.dependencies,snippet:t.item.snippet}));else{let t=s.templates.map(e=>e.type==="Group"?n(e.itemId,i):a(e.itemId,i));p=(await Promise.allSettled(t)).filter(e=>e.status==="fulfilled").map(e=>e.value).map((e,d)=>{let l=typeof e.type>"u"?"group":"item";return{id:e.id,title:e.title,type:e.type??"Group",typeKeywords:e.typeKeywords,dependencies:s.templates[d].dependencies,snippet:e.snippet,url:`${r}/home/${l}.html?id=${e.id}`}})}return p}export{u as a};
3
+ v1.2.0-next.19 */
4
+ import{oa as n,qa as a,sa as m}from"./ZUUI472B.js";async function u(o,i){let s=await m(o,i);if(!s)throw new Error(`Solution ${o} was not found`);let r=i?.portal.replace("/sharing/rest","")??"https://www.arcgis.com",p=[];if(s.templates[0].item)p=s.templates.map(t=>({id:t.itemId,title:t.item.title,type:t.item.type,typeKeywords:t.item.typeKeywords,dependencies:t.dependencies,snippet:t.item.snippet}));else{let t=s.templates.map(e=>e.type==="Group"?n(e.itemId,i):a(e.itemId,i));p=(await Promise.allSettled(t)).filter(e=>e.status==="fulfilled").map(e=>e.value).map((e,d)=>{let l=typeof e.type>"u"?"group":"item";return{id:e.id,title:e.title,type:e.type??"Group",typeKeywords:e.typeKeywords,dependencies:s.templates[d].dependencies,snippet:e.snippet,url:`${r}/home/${l}.html?id=${e.id}`}})}return p}export{u as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.19 */
4
+ import{a,b}from"./QK27OGIZ.js";import"./S7MUN3J2.js";import"./6SLVFYJ5.js";export{a as ChannelEditorTypes,b as ChannelSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import{a as p}from"./ZZYYX62Y.js";import{a as m}from"./2RZMEB72.js";import{a as c}from"./QHTC5IWP.js";import{b as g}from"./MSFOOONQ.js";import{E as d,G as o,H as a,h as l,i as e,l as i,o as r}from"./4SHO6M7C.js";import"./IKVBCRGA.js";var u=l`: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 .header{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 .header-container{display:flex;align-items:center;width:100%;height:inherit}:host .header-container slot{display:flex;height:inherit}:host .header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .header-container ::slotted(*) calcite-button{height:100%}:host .header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration);overflow:hidden}:host .header-content img{margin:10px}:host .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 .header-content #infoButton{margin-inline-start:10px}:host .header-content.center{justify-content:center}:host .header-content.right{justify-content:end}:host .header.height-s{height:var(--instant-apps-header-height--logo-scale--s)}:host .header.height-s h1{font-size:1.125rem}:host .header.height-s img{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .header.height-m{height:var(--instant-apps-header-height--logo-scale--m)}:host .header.height-m img{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .header.height-l{height:var(--instant-apps-header-height--logo-scale--l)}:host .header.height-l h1{font-size:1.375rem}:host .header.height-l img{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}`,s={base:"header",headerContainer:"header-container",headerContent:"header-content",actionsEndContainer:"actions-end-container"},h=class extends d{constructor(){super(...arguments),this._sanitizer=new c({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.handleMobileMediaQueryChange=t=>{let{matches:n}=t;if(n){this.logoScale="s";return}this.logoScale=this.initialScale},this.initialScale="m",this.titleText="",this.logoScale="m",this.infoButton=!1,this.infoIsOpen=!1,this.headerAlignment="left",this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=p.medium[1],this.infoIsOpenChanged=r({cancelable:!1})}static{this.properties={initialScale:16,titleText:1,titleTextLink:1,backgroundColor:1,textColor:1,logoImage:1,logoScale:3,logoImageAltText:1,logoLink:1,infoButton:7,infoIsOpen:7,infoTitleText:1,customHeaderHtml:1,headerAlignment:1,customHeaderCss:1,fontFamily:3,mobileWidthBreakpoint:9}}static{this.styles=u}async toggleInfo(){this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen)}load(){this.handleMobileBreakpoints(),this.sanitizeCustomHeaderHtml()}willUpdate(t){t.has("customHeaderHtml")&&this.sanitizeCustomHeaderHtml()}disconnectedCallback(){super.disconnectedCallback(),this._mobileMediaQuery?.removeEventListener("change",this.handleMobileMediaQueryChange)}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}handleMobileBreakpoints(){this.initialScale=this.logoScale,this._mobileMediaQuery=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`),this._mobileMediaQuery.matches&&(this.logoScale="s"),this._mobileMediaQuery.addEventListener("change",this.handleMobileMediaQueryChange)}get hasEmptyLogo(){return this.logoImage==="undefined"||this.logoImage?.split("?")[0]==="undefined"||this.logoImage?.split("?")[0]===""||!this.logoImage}render(){let t=this.renderLogo(),n=this.renderTitle(),f=m(this.fontFamily);return this.customHeaderHtml?[e`<style>${this.customHeaderCss}</style>`,e`<div id=customHeader .innerHTML=${this.customHeaderHtml??""}></div>`]:e`<header class=${o({[s.base]:s.base,[`height-${this.logoScale}`]:!!t})} style=${a({backgroundColor:this.backgroundColor,fontFamily:f})}><div class=${o(s.headerContainer)}><span class=${`${s.headerContent} ${this.headerAlignment}`}>${t}${n}${this.infoButton?e`<calcite-button style=${a({"--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??i} @click=${this.toggleInfo}></calcite-button>`:null}</span><div class=${o(s.actionsEndContainer)}><slot name=actions-end></slot></div></div></header>`}renderLogo(){if(this.hasEmptyLogo)return null;let t=e`<img src=${this.logoImage??i} alt=${this.logoImageAltText??i}>`;return this.logoLink?e`<a href=${this.logoLink??i} target=_blank>${t}</a>`:t}renderTitle(){return this.titleText&&this.titleTextLink?e`<a style=${a({color:this.textColor})} href=${this.titleTextLink??i} rel="noopener noreferrer" target=_blank>${e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}</a>`:e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}};g("instant-apps-header",h);export{h as InstantAppsHeader};
3
+ v1.2.0-next.19 */
4
+ import{a as p}from"./7C7QW5XP.js";import{a as m}from"./S4RYMDH7.js";import{a as c}from"./J3D2E7OE.js";import{b as g}from"./Z7T776GO.js";import{E as d,G as o,H as a,h as l,i as e,l as i,o as r}from"./RR5QW2LS.js";import"./6SLVFYJ5.js";var u=l`: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 .header{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 .header-container{display:flex;align-items:center;width:100%;height:inherit}:host .header-container slot{display:flex;height:inherit}:host .header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .header-container ::slotted(*) calcite-button{height:100%}:host .header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration);overflow:hidden}:host .header-content img{margin:10px}:host .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 .header-content #infoButton{margin-inline-start:10px}:host .header-content.center{justify-content:center}:host .header-content.right{justify-content:end}:host .header.height-s{height:var(--instant-apps-header-height--logo-scale--s)}:host .header.height-s h1{font-size:1.125rem}:host .header.height-s img{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .header.height-m{height:var(--instant-apps-header-height--logo-scale--m)}:host .header.height-m img{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .header.height-l{height:var(--instant-apps-header-height--logo-scale--l)}:host .header.height-l h1{font-size:1.375rem}:host .header.height-l img{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}`,s={base:"header",headerContainer:"header-container",headerContent:"header-content",actionsEndContainer:"actions-end-container"},h=class extends d{constructor(){super(...arguments),this._sanitizer=new c({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.handleMobileMediaQueryChange=t=>{let{matches:n}=t;if(n){this.logoScale="s";return}this.logoScale=this.initialScale},this.initialScale="m",this.titleText="",this.logoScale="m",this.infoButton=!1,this.infoIsOpen=!1,this.headerAlignment="left",this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=p.medium[1],this.infoIsOpenChanged=r({cancelable:!1})}static{this.properties={initialScale:16,titleText:1,titleTextLink:1,backgroundColor:1,textColor:1,logoImage:1,logoScale:3,logoImageAltText:1,logoLink:1,infoButton:7,infoIsOpen:7,infoTitleText:1,customHeaderHtml:1,headerAlignment:1,customHeaderCss:1,fontFamily:3,mobileWidthBreakpoint:9}}static{this.styles=u}async toggleInfo(){this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen)}load(){this.handleMobileBreakpoints(),this.sanitizeCustomHeaderHtml()}willUpdate(t){t.has("customHeaderHtml")&&this.sanitizeCustomHeaderHtml()}disconnectedCallback(){super.disconnectedCallback(),this._mobileMediaQuery?.removeEventListener("change",this.handleMobileMediaQueryChange)}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}handleMobileBreakpoints(){this.initialScale=this.logoScale,this._mobileMediaQuery=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`),this._mobileMediaQuery.matches&&(this.logoScale="s"),this._mobileMediaQuery.addEventListener("change",this.handleMobileMediaQueryChange)}get hasEmptyLogo(){return this.logoImage==="undefined"||this.logoImage?.split("?")[0]==="undefined"||this.logoImage?.split("?")[0]===""||!this.logoImage}render(){let t=this.renderLogo(),n=this.renderTitle(),f=m(this.fontFamily);return this.customHeaderHtml?[e`<style>${this.customHeaderCss}</style>`,e`<div id=customHeader .innerHTML=${this.customHeaderHtml??""}></div>`]:e`<header class=${o({[s.base]:s.base,[`height-${this.logoScale}`]:!!t})} style=${a({backgroundColor:this.backgroundColor,fontFamily:f})}><div class=${o(s.headerContainer)}><span class=${`${s.headerContent} ${this.headerAlignment}`}>${t}${n}${this.infoButton?e`<calcite-button style=${a({"--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??i} @click=${this.toggleInfo}></calcite-button>`:null}</span><div class=${o(s.actionsEndContainer)}><slot name=actions-end></slot></div></div></header>`}renderLogo(){if(this.hasEmptyLogo)return null;let t=e`<img src=${this.logoImage??i} alt=${this.logoImageAltText??i}>`;return this.logoLink?e`<a href=${this.logoLink??i} target=_blank>${t}</a>`:t}renderTitle(){return this.titleText&&this.titleTextLink?e`<a style=${a({color:this.textColor})} href=${this.titleTextLink??i} rel="noopener noreferrer" target=_blank>${e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}</a>`:e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}};g("instant-apps-header",h);export{h as InstantAppsHeader};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import c from"./TCWOZOHF.js";import{a}from"./WFV4PGVA.js";import b from"./CZWVK5EA.js";import"./Z7GSRTZU.js";import"./DXNAVKBQ.js";import"./MBPWNRYN.js";import"./VXUOIWSG.js";import"./DJ4IJPOT.js";import"./HBH6H2OI.js";import"./QBE6BXGP.js";import"./WWXBVK5X.js";import"./D3XPGKZT.js";import"./ARKITXRN.js";import"./7KHRLY2A.js";import"./GR7VI3CO.js";import"./VYTFYRFY.js";import"./2PJAQGID.js";import"./ZFKT7KHP.js";import"./7KKY5M2N.js";import"./XZQVERDX.js";import"./TYTKNIAO.js";import"./AJ4T6IK5.js";import"./IXZBLLNR.js";import{h as l,i as h}from"./HNB27GVR.js";import{a as m}from"./B6VXPA2U.js";import"./AP2AUIRH.js";import"./IOZQWPI7.js";import{b as u}from"./GT3QLTVG.js";import{E as p,h as d,i as r,o as n,r as f}from"./4SHO6M7C.js";import"./IKVBCRGA.js";export default $arcgis.t(([,{a:b}])=>{var g=d`@layer{/** @license
3
+ v1.2.0-next.19 */
4
+ import c from"./H2TW2R3F.js";import{a}from"./P3L3PAJG.js";import b from"./A24YML76.js";import"./ZUUI472B.js";import"./2ZQ3LJ7W.js";import"./BEU7NDLE.js";import"./O42X2SO2.js";import"./WC6RZR3T.js";import"./WTNBBRNQ.js";import"./Q66A3F65.js";import"./KC657426.js";import"./62OQYOHS.js";import"./VCSRQV2E.js";import"./OFRQL7US.js";import"./3LSSG7JR.js";import"./L4DAPED3.js";import"./4EWNJTNA.js";import"./NXZD7IHT.js";import"./FJ7BYQC5.js";import"./AOZBBKJW.js";import"./3CK3DE5X.js";import"./FZFRJKJE.js";import"./S7MUN3J2.js";import{h as l,i as h}from"./AB6ISD3T.js";import{a as m}from"./WP5FOVI3.js";import"./RP62YBD7.js";import"./DM3SAT6X.js";import{b as u}from"./DVJIQDTF.js";import{E as p,h as d,i as r,o as n,r as f}from"./RR5QW2LS.js";import"./6SLVFYJ5.js";export default $arcgis.t(([,{a:b}])=>{var g=d`@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.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import{a as o}from"./2KGZQDH2.js";import{b as l}from"./IXZBLLNR.js";import"./IKVBCRGA.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
3
+ v1.2.0-next.19 */
4
+ import{a as o}from"./Q2OJ2GP4.js";import{b as l}from"./S7MUN3J2.js";import"./6SLVFYJ5.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import{c as r}from"./MSFOOONQ.js";import{b as o}from"./AP2AUIRH.js";var s=o(r);export{s as a};
3
+ v1.2.0-next.19 */
4
+ import{c as r}from"./Z7T776GO.js";import{b as o}from"./RP62YBD7.js";var s=o(r);export{s as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import{a as s}from"./BVDZWF5S.js";import{a as r}from"./GRUWCAME.js";import"./D3XPGKZT.js";import"./ARKITXRN.js";import"./7KHRLY2A.js";import"./GR7VI3CO.js";import"./2PJAQGID.js";import{a as o}from"./7S4FXSIR.js";import"./ZFKT7KHP.js";import"./7KKY5M2N.js";import"./TYTKNIAO.js";import"./AJ4T6IK5.js";import"./IXZBLLNR.js";import"./IKVBCRGA.js";var y=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`}]}},{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`}]}},...r(e,t.thumbnail,s(t),"group",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 o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}}]}]}]});export{y as buildUiSchema};
3
+ v1.2.0-next.19 */
4
+ import{a as s}from"./IHUCCZRI.js";import{a as r}from"./RIAT7TGZ.js";import"./62OQYOHS.js";import"./VCSRQV2E.js";import"./OFRQL7US.js";import"./3LSSG7JR.js";import"./4EWNJTNA.js";import{a as o}from"./DW5UP2DJ.js";import"./NXZD7IHT.js";import"./FJ7BYQC5.js";import"./3CK3DE5X.js";import"./FZFRJKJE.js";import"./S7MUN3J2.js";import"./6SLVFYJ5.js";var y=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`}]}},{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`}]}},...r(e,t.thumbnail,s(t),"group",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 o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}}]}]}]});export{y as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import e from"./GCBBUA7Q.js";import b from"./WG4H4RU4.js";import"./ONDC6J54.js";import a from"./2HCRUNSQ.js";import{a as c}from"./PN22WD6L.js";import{a as f}from"./X7YHISH3.js";import{c as w,t as y,u,y as _,z as L}from"./OOWXU7Q7.js";import{b as v}from"./MSFOOONQ.js";import"./AP2AUIRH.js";import"./IOZQWPI7.js";import{C as g,D as p,E as m,G as o,h as d,i as r,r as h}from"./4SHO6M7C.js";import"./IKVBCRGA.js";export default $arcgis.t(([,{b:C},{t:b}])=>{var I=d`@layer{instant-apps-interactive-legend{display:block;height:100%}instant-apps-interactive-legend .esri-legend{height:100%;background-color:var(--calcite-color-foreground-1)!important;color:var(--calcite-color-text-1)!important}instant-apps-interactive-legend .esri-legend.esri-component.esri-widget.esri-widget--panel{margin:0}instant-apps-interactive-legend .esri-legend__layer,instant-apps-interactive-legend .esri-legend__layer-body{margin-left:0!important}instant-apps-interactive-legend .esri-legend__layer-row{box-sizing:border-box!important}}`,M={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component"}},l=class extends m{constructor(){super(...arguments),this._messages=f({name:"instant-apps-interactive-legend"}),this.ref=g(),this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1}static{this.properties={handles:16,reactiveUtils:16,legendvm:16,widget:16,view:0,zoomTo:5,featureCount:5,filterMode:0,compact:5}}static{this.styles=I}static{this.shadowRootOptions=h}async load(){this.compactHandler(),new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0}),await this.initializeModules()}willUpdate(e){(e.has("handles")||e.has("reactiveUtils")||e.has("view"))&&this.init(),e.has("compact")&&(this.hasUpdated||this.compact)&&this.compactHandler()}async initializeModules(){let e=await L();this.handles=await w(),this.reactiveUtils=e,this.widget=await _({});let t=await y({});return await e.whenOnce(()=>t?.messages),this._messages={...this._messages,...t.messages},await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,i=this.view?.map?.allLayers?.map(async n=>await n.load());await Promise.allSettled(i),await t(()=>this.view?.ready);let a={view:this.view,respectLayerDefinitionExpression:!0},s=await u(a);this.legendvm=s,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){C.set("compact",this.compact)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)))}render(){let{base:e,component:t,widget:i,widgetPanel:a}=M.esri;return c("interactive-legend",r`<div class=${o(this.widget?.classes(e,t,i,a))}>${this.legendvm?c("interactive-legend-classic",r`<instant-apps-interactive-legend-classic class=${o(b(this.el))} .legendvm=${this.legendvm} .zoomTo=${this.zoomTo} .filterMode=${this.filterMode} .featureCount=${this.featureCount} .messages=${this._messages} ${p(this.ref)}></instant-apps-interactive-legend-classic>`):null}</div>`)}_renderOnActiveLayerInfoChange(e,t){let{on:i}=this.reactiveUtils,a=i(()=>e.children,"change",()=>e.children.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)));this.handles.add(a,`children_${e?.layer?.uid}`),e.children.forEach(s=>{this._renderOnActiveLayerInfoChange(s,t),s?.children?.length>0&&s?.children?.forEach(n=>this._renderOnActiveLayerInfoChange(n,t))})}};v("instant-apps-interactive-legend",l);return l},a,b,e)
3
+ v1.2.0-next.19 */
4
+ import e from"./57KNNAXU.js";import b from"./XMSOTSQR.js";import"./KGW5GPOQ.js";import a from"./F5E4YCCM.js";import{a as c}from"./QFL3F6UT.js";import{a as f}from"./HLEEHPJY.js";import{c as w,t as y,u,y as _,z as L}from"./QWOATCKF.js";import{b as v}from"./Z7T776GO.js";import"./RP62YBD7.js";import"./DM3SAT6X.js";import{C as g,D as p,E as m,G as o,h as d,i as r,r as h}from"./RR5QW2LS.js";import"./6SLVFYJ5.js";export default $arcgis.t(([,{b:C},{t:b}])=>{var I=d`@layer{instant-apps-interactive-legend{display:block;height:100%}instant-apps-interactive-legend .esri-legend{height:100%;background-color:var(--calcite-color-foreground-1)!important;color:var(--calcite-color-text-1)!important}instant-apps-interactive-legend .esri-legend.esri-component.esri-widget.esri-widget--panel{margin:0}instant-apps-interactive-legend .esri-legend__layer,instant-apps-interactive-legend .esri-legend__layer-body{margin-left:0!important}instant-apps-interactive-legend .esri-legend__layer-row{box-sizing:border-box!important}}`,M={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component"}},l=class extends m{constructor(){super(...arguments),this._messages=f({name:"instant-apps-interactive-legend"}),this.ref=g(),this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1}static{this.properties={handles:16,reactiveUtils:16,legendvm:16,widget:16,view:0,zoomTo:5,featureCount:5,filterMode:0,compact:5}}static{this.styles=I}static{this.shadowRootOptions=h}async load(){this.compactHandler(),new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0}),await this.initializeModules()}willUpdate(e){(e.has("handles")||e.has("reactiveUtils")||e.has("view"))&&this.init(),e.has("compact")&&(this.hasUpdated||this.compact)&&this.compactHandler()}async initializeModules(){let e=await L();this.handles=await w(),this.reactiveUtils=e,this.widget=await _({});let t=await y({});return await e.whenOnce(()=>t?.messages),this._messages={...this._messages,...t.messages},await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,i=this.view?.map?.allLayers?.map(async n=>await n.load());await Promise.allSettled(i),await t(()=>this.view?.ready);let a={view:this.view,respectLayerDefinitionExpression:!0},s=await u(a);this.legendvm=s,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){C.set("compact",this.compact)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)))}render(){let{base:e,component:t,widget:i,widgetPanel:a}=M.esri;return c("interactive-legend",r`<div class=${o(this.widget?.classes(e,t,i,a))}>${this.legendvm?c("interactive-legend-classic",r`<instant-apps-interactive-legend-classic class=${o(b(this.el))} .legendvm=${this.legendvm} .zoomTo=${this.zoomTo} .filterMode=${this.filterMode} .featureCount=${this.featureCount} .messages=${this._messages} ${p(this.ref)}></instant-apps-interactive-legend-classic>`):null}</div>`)}_renderOnActiveLayerInfoChange(e,t){let{on:i}=this.reactiveUtils,a=i(()=>e.children,"change",()=>e.children.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)));this.handles.add(a,`children_${e?.layer?.uid}`),e.children.forEach(s=>{this._renderOnActiveLayerInfoChange(s,t),s?.children?.length>0&&s?.children?.forEach(n=>this._renderOnActiveLayerInfoChange(n,t))})}};v("instant-apps-interactive-legend",l);return l},a,b,e)
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import{e as w}from"./ZWGSLBDU.js";import"./HNB27GVR.js";import"./3FAMJ4OZ.js";import{b as _}from"./3X5REHMK.js";import{a as m}from"./B6VXPA2U.js";import"./AP2AUIRH.js";import"./IOZQWPI7.js";import{b as g}from"./GT3QLTVG.js";import{C as l,D as c,E as p,G as r,h,i as o,o as s,r as d}from"./4SHO6M7C.js";import"./IKVBCRGA.js";var f=h`@layer{/** @license
3
+ v1.2.0-next.19 */
4
+ import{e as w}from"./NOQDL573.js";import"./AB6ISD3T.js";import"./BBIEKJEB.js";import{b as _}from"./Y3HLV42Z.js";import{a as m}from"./WP5FOVI3.js";import"./RP62YBD7.js";import"./DM3SAT6X.js";import{b as g}from"./DVJIQDTF.js";import{C as l,D as c,E as p,G as r,h,i as o,o as s,r as d}from"./RR5QW2LS.js";import"./6SLVFYJ5.js";var f=h`@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.2/esri/copyright.txt for details.
3
- v1.2.0-next.17 */
4
- import"./IKVBCRGA.js";var e="Non si dispone di abbastanza crediti per completare questa operazione. Contattare un amministratore di sistema ArcGIS per assistenza.",a="Questo strumento \xE8 stato pubblicato da un notebook. L'accesso ad ArcGIS Notebooks \xE8 bloccato per l'organizzazione. Contattare l'amministratore per correggere l'impostazione.",r="${ dataPath } non deve contenere ${ additionalProperty }.",o="${ dataPath } deve corrispondere allo schema di uno di questi\u200E: ${ schemaOptions }.",i="Provare a salvare di nuovo la mappa.",t="Stima dei crediti non riuscita. Scorri in basso, correggi gli errori e stima nuovamente i crediti.",s="Si \xE8 verificato un errore durante l'analisi.",n="${ dataPath } deve essere uguale a uno di questi valori consentiti: ${ allowedValues }.",l="Impossibile salvare la cronologia analisi",c="L'archivio della cronologia \xE8 pieno. Eliminare alcuni elementi dalla cronologia analisi e riprovare.",d="Il nome del servizio contiene uno o pi\xF9 caratteri non validi.",m="Il salvataggio del layer temporaneo come feature layer in hosting non \xE8 stato completato.",u="Impossibile ottenere le propriet\xE0 chiave.",p="Impossibile caricare il layer.",v="Il layer non \xE8 disponibile.",g="${ dataPath } non deve contenere pi\xF9 di ${ limit } elementi.",h="Si \xE8 verificato un errore durante il salvataggio del modello. Provare a salvare di nuovo.",y="${ dataPath } non deve contenere meno di ${ limit } elementi.",E="${ dataPath } non deve essere pi\xF9 corto di ${ limit } caratteri.",b="Impossibile caricare l'elemento del modello. Assicurarsi che il modello esista e che sia stata concessa l'autorizzazione per l'accesso.",I="Impossibile completare la richiesta.",P="Non si dispone dell'autorizzazione per eseguire questo strumento. <calcite-link target='_blank' href='${ docLink }'>Ulteriori informazioni</calcite-link>",S="Impossibile accedere al portale.",f="Impossibile leggere i dati di input.",z="A ${ dataPath } manca una propriet\xE0 denominata ${ missingProperty }.",$="Un layer risultato esiste gi\xE0 con questo nome. I layer dei risultati devono essere denominati in modo univoco in tutta l'organizzazione. Usare un altro nome.",k="Il nome di output contiene uno o pi\xF9 caratteri non validi. <a href='${docLink}' target='_blank'>Ulteriori informazioni.</a>",F="La pubblicazione del layer temporaneo come layer in hosting non \xE8 riuscita a causa di uno o pi\xF9 campi non validi. Eseguire nuovamente lo strumento per creare un layer con campi validi.",L="Invio del processo non riuscito. Scorrere verso il basso, correggere gli errori ed eseguire nuovamente l'analisi.",N="${ dataPath } deve contenere almeno un carattere.",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:i,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:c,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:v,maxItems:g,mbFailedToSave:h,minItems:y,minLength:E,modelNotFound:b,networkError:I,noPermissionToAccessTool:P,portalLoadError:S,queryFeaturesError:f,requiredProperty:z,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:F,toolValidationError:L,whiteSpacePattern:N};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,o as anyOfValues,i as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,c as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,v as layerUnavailable,g as maxItems,h as mbFailedToSave,y as minItems,E as minLength,b as modelNotFound,I as networkError,P as noPermissionToAccessTool,S as portalLoadError,f as queryFeaturesError,z as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,L as toolValidationError,N as whiteSpacePattern};
3
+ v1.2.0-next.19 */
4
+ import"./6SLVFYJ5.js";var e="Non si dispone di abbastanza crediti per completare questa operazione. Contattare un amministratore di sistema ArcGIS per assistenza.",a="Questo strumento \xE8 stato pubblicato da un notebook. L'accesso ad ArcGIS Notebooks \xE8 bloccato per l'organizzazione. Contattare l'amministratore per correggere l'impostazione.",r="${ dataPath } non deve contenere ${ additionalProperty }.",o="${ dataPath } deve corrispondere allo schema di uno di questi\u200E: ${ schemaOptions }.",i="Provare a salvare di nuovo la mappa.",t="Stima dei crediti non riuscita. Scorri in basso, correggi gli errori e stima nuovamente i crediti.",s="Si \xE8 verificato un errore durante l'analisi.",n="${ dataPath } deve essere uguale a uno di questi valori consentiti: ${ allowedValues }.",l="Impossibile salvare la cronologia analisi",c="L'archivio della cronologia \xE8 pieno. Eliminare alcuni elementi dalla cronologia analisi e riprovare.",d="Il nome del servizio contiene uno o pi\xF9 caratteri non validi.",m="Il salvataggio del layer temporaneo come feature layer in hosting non \xE8 stato completato.",u="Impossibile ottenere le propriet\xE0 chiave.",p="Impossibile caricare il layer.",v="Il layer non \xE8 disponibile.",g="${ dataPath } non deve contenere pi\xF9 di ${ limit } elementi.",h="Si \xE8 verificato un errore durante il salvataggio del modello. Provare a salvare di nuovo.",y="${ dataPath } non deve contenere meno di ${ limit } elementi.",E="${ dataPath } non deve essere pi\xF9 corto di ${ limit } caratteri.",b="Impossibile caricare l'elemento del modello. Assicurarsi che il modello esista e che sia stata concessa l'autorizzazione per l'accesso.",I="Impossibile completare la richiesta.",P="Non si dispone dell'autorizzazione per eseguire questo strumento. <calcite-link target='_blank' href='${ docLink }'>Ulteriori informazioni</calcite-link>",S="Impossibile accedere al portale.",f="Impossibile leggere i dati di input.",z="A ${ dataPath } manca una propriet\xE0 denominata ${ missingProperty }.",$="Un layer risultato esiste gi\xE0 con questo nome. I layer dei risultati devono essere denominati in modo univoco in tutta l'organizzazione. Usare un altro nome.",k="Il nome di output contiene uno o pi\xF9 caratteri non validi. <a href='${docLink}' target='_blank'>Ulteriori informazioni.</a>",F="La pubblicazione del layer temporaneo come layer in hosting non \xE8 riuscita a causa di uno o pi\xF9 campi non validi. Eseguire nuovamente lo strumento per creare un layer con campi validi.",L="Invio del processo non riuscito. Scorrere verso il basso, correggere gli errori ed eseguire nuovamente l'analisi.",N="${ dataPath } deve contenere almeno un carattere.",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:i,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:c,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:v,maxItems:g,mbFailedToSave:h,minItems:y,minLength:E,modelNotFound:b,networkError:I,noPermissionToAccessTool:P,portalLoadError:S,queryFeaturesError:f,requiredProperty:z,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:F,toolValidationError:L,whiteSpacePattern:N};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,o as anyOfValues,i as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,c as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,v as layerUnavailable,g as maxItems,h as mbFailedToSave,y as minItems,E as minLength,b as modelNotFound,I as networkError,P as noPermissionToAccessTool,S as portalLoadError,f as queryFeaturesError,z as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,L as toolValidationError,N as whiteSpacePattern};