@esri/solutions-components 1.2.0-next.11 → 1.2.0-next.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (490) hide show
  1. package/dist/cdn/{FXDSUAZP.js → 22DI4MLQ.js} +2 -2
  2. package/dist/cdn/{3MWPNWRI.js → 264FY26S.js} +2 -2
  3. package/dist/cdn/{Q6Z4TTIZ.js → 2AR77FHR.js} +1 -1
  4. package/dist/cdn/{BBLJ7EHS.js → 2CSZLHQK.js} +2 -2
  5. package/dist/cdn/{T26FKEMR.js → 2HWHSNQH.js} +2 -2
  6. package/dist/cdn/{EMLYJY3U.js → 2K763HQO.js} +2 -2
  7. package/dist/cdn/{AXLTP65Y.js → 2U7YXCJZ.js} +2 -2
  8. package/dist/cdn/{JKOFDMTL.js → 2W3PXN6A.js} +3 -3
  9. package/dist/cdn/{G3P2DAU4.js → 2WL2CX5A.js} +2 -2
  10. package/dist/cdn/{HCEMIND7.js → 2XAZ3RTK.js} +2 -2
  11. package/dist/cdn/{BLSQBXZO.js → 2Z5HA7D5.js} +2 -2
  12. package/dist/cdn/{6IRBUQNK.js → 2ZUELHRU.js} +2 -2
  13. package/dist/cdn/{HAE47HSE.js → 33SJC5CJ.js} +2 -2
  14. package/dist/cdn/{PC62ZISV.js → 34NMKZ4Y.js} +2 -2
  15. package/dist/cdn/{3RJNKHL6.js → 37NQHUK5.js} +2 -2
  16. package/dist/cdn/{PPHWGCSF.js → 3CBSLNB4.js} +2 -2
  17. package/dist/cdn/{OGJ5D3VD.js → 3EOM2MFQ.js} +2 -2
  18. package/dist/cdn/{P7Q74AQB.js → 3GJ7UGOW.js} +2 -2
  19. package/dist/cdn/{KLWSSYYI.js → 3N2YHBI5.js} +2 -2
  20. package/dist/cdn/{MGWUOYFW.js → 3O5VSR67.js} +2 -2
  21. package/dist/cdn/{T6VDX6YQ.js → 3OAMWWCL.js} +2 -2
  22. package/dist/cdn/{5R5FVDIE.js → 3RO3BXDV.js} +2 -2
  23. package/dist/cdn/{I7SOLYBY.js → 3VAHLUQ4.js} +2 -2
  24. package/dist/cdn/{Y7WCDHHA.js → 3WIONUEL.js} +2 -2
  25. package/dist/cdn/{BOMZ2P4U.js → 3ZD35GYW.js} +2 -2
  26. package/dist/cdn/{PRBARSCN.js → 4362MOZ7.js} +2 -2
  27. package/dist/cdn/{XT36IYWQ.js → 44CIVCB6.js} +2 -2
  28. package/dist/cdn/{WS5HHO4T.js → 45W7YE6A.js} +2 -2
  29. package/dist/cdn/{7GRTJOB5.js → 46R75UZS.js} +2 -2
  30. package/dist/cdn/{WANC67UT.js → 4ADOOMTH.js} +2 -2
  31. package/dist/cdn/{3EEQEIIF.js → 4ATL3D6V.js} +1 -1
  32. package/dist/cdn/{7VHUOOT4.js → 4C7Y2IWS.js} +2 -2
  33. package/dist/cdn/{J4VUYE77.js → 4DJFOTO3.js} +2 -2
  34. package/dist/cdn/{2IRUBFD5.js → 4DYJLPDZ.js} +2 -2
  35. package/dist/cdn/4ENQBAQD.js +4 -0
  36. package/dist/cdn/{4WLVJAGS.js → 4JNGRSAC.js} +1 -1
  37. package/dist/cdn/{ZEQVCUSX.js → 4MCZLOOB.js} +2 -2
  38. package/dist/cdn/{XMOALPJW.js → 4RPHWQJR.js} +2 -2
  39. package/dist/cdn/{O77MW5U7.js → 4VSXNGPH.js} +1 -1
  40. package/dist/cdn/{6EP74EFM.js → 4XAMBKX4.js} +3 -3
  41. package/dist/cdn/{OIS6GKYP.js → 52TMIUZW.js} +1 -1
  42. package/dist/cdn/{6FABBDLL.js → 533OGL7O.js} +2 -2
  43. package/dist/cdn/554YPOFT.js +18 -0
  44. package/dist/cdn/{HI3PAOCL.js → 555TJYQH.js} +2 -2
  45. package/dist/cdn/{64577HME.js → 5FXBCVIZ.js} +2 -2
  46. package/dist/cdn/5GDSQ7SZ.js +18 -0
  47. package/dist/cdn/{MCENO5GY.js → 5IFJ723U.js} +2 -2
  48. package/dist/cdn/{E3H7GCN2.js → 5KJ2N6Y6.js} +2 -2
  49. package/dist/cdn/{YUL3ATTD.js → 5MKFPVBN.js} +2 -2
  50. package/dist/cdn/{TUOFKTGP.js → 5OKDP5DK.js} +2 -2
  51. package/dist/cdn/{TBVYZ336.js → 5QB7S4ZH.js} +2 -2
  52. package/dist/cdn/{IRKSYVKF.js → 5RDTSHLH.js} +1 -1
  53. package/dist/cdn/5X4CMXBT.js +4 -0
  54. package/dist/cdn/{DFGNBIP4.js → 5YOZB2R2.js} +1 -1
  55. package/dist/cdn/{C5T3HF6V.js → 62BBD2YR.js} +2 -2
  56. package/dist/cdn/{DGNI2L52.js → 666PNIZR.js} +2 -2
  57. package/dist/cdn/{SU3Z662V.js → 66KC2NXW.js} +2 -2
  58. package/dist/cdn/{HI4KSEBA.js → 6BSZB4T2.js} +2 -2
  59. package/dist/cdn/{JACBCJM5.js → 6HD5QOMC.js} +2 -2
  60. package/dist/cdn/{VROJTJEL.js → 6ICMW2XL.js} +2 -2
  61. package/dist/cdn/{R4J5YMUQ.js → 6XLS7PCQ.js} +1 -1
  62. package/dist/cdn/{MZTOB3NA.js → 74VIRFHE.js} +1 -1
  63. package/dist/cdn/{WLNYC3K3.js → 7DVUJMYC.js} +2 -2
  64. package/dist/cdn/{SSGDG2KN.js → 7HE7J72C.js} +1 -1
  65. package/dist/cdn/{NL75AWDF.js → 7JLC7H3K.js} +3 -3
  66. package/dist/cdn/{XMRU7SNV.js → 7K3Y26XM.js} +2 -2
  67. package/dist/cdn/{UCVV4DR2.js → 7WUQL7OH.js} +2 -2
  68. package/dist/cdn/{3U6ZN4C3.js → 7ZRSM52L.js} +1 -1
  69. package/dist/cdn/{HUHZXDNI.js → ABV7A3TM.js} +2 -2
  70. package/dist/cdn/{7CEYQOUD.js → AF45E6DN.js} +3 -3
  71. package/dist/cdn/{WP2KO7UP.js → AKL67LTE.js} +2 -2
  72. package/dist/cdn/{OILD7SVE.js → AOYCH2P3.js} +2 -2
  73. package/dist/cdn/{PZUT6W6N.js → AQOTRYZM.js} +2 -2
  74. package/dist/cdn/{2DKE4D4V.js → ASXFRSKX.js} +2 -2
  75. package/dist/cdn/{P5M3O7RI.js → AYPV6SOA.js} +2 -2
  76. package/dist/cdn/{CTVVU2ZC.js → AZIEZPYO.js} +1 -1
  77. package/dist/cdn/{CNHSSSP2.js → AZUSEICT.js} +2 -2
  78. package/dist/cdn/{D4N2KM77.js → B2KIFSSU.js} +2 -2
  79. package/dist/cdn/{CIGL34QI.js → B3QOZGKK.js} +2 -2
  80. package/dist/cdn/{5OL7RXCN.js → B4F5VQMS.js} +2 -2
  81. package/dist/cdn/{MXG44IRR.js → B7WUGBLY.js} +2 -2
  82. package/dist/cdn/{LG5B373X.js → BHKNTKZ7.js} +2 -2
  83. package/dist/cdn/{JESQM7JC.js → BOSS7OMS.js} +2 -2
  84. package/dist/cdn/{IYW4WSQU.js → BQ7CXSHY.js} +2 -2
  85. package/dist/cdn/{DBI2CNJR.js → BTVB74DT.js} +2 -2
  86. package/dist/cdn/{E7CSNM6W.js → BXOZYAJQ.js} +2 -2
  87. package/dist/cdn/{CSGROIJ6.js → CDGFD3UK.js} +2 -2
  88. package/dist/cdn/{LYUVSKJ2.js → CFMJKVXR.js} +1 -1
  89. package/dist/cdn/{RACRJEPF.js → CFYDKX3C.js} +2 -2
  90. package/dist/cdn/{XXPDN562.js → CKH5YBMU.js} +2 -2
  91. package/dist/cdn/{WEMLUAAR.js → CKKF4HOA.js} +2 -2
  92. package/dist/cdn/{ERYB7Q7N.js → CNV5CX2O.js} +2 -2
  93. package/dist/cdn/{55AUTAVM.js → CO3K5ZRL.js} +2 -2
  94. package/dist/cdn/{JHYFXPU7.js → CQ6WSEAJ.js} +2 -2
  95. package/dist/cdn/{EFGFST2X.js → CQKWXPD2.js} +1 -1
  96. package/dist/cdn/{KH42YDGB.js → CX3A6KA3.js} +2 -2
  97. package/dist/cdn/{ZF2FQVL7.js → CYX3TOXQ.js} +2 -2
  98. package/dist/cdn/{MXGLTE5G.js → D33N2HTW.js} +2 -2
  99. package/dist/cdn/D3K4ITIF.js +4 -0
  100. package/dist/cdn/{NAKMORRS.js → D5WGUMCY.js} +1 -1
  101. package/dist/cdn/{YYSIA432.js → DCQ7GLZI.js} +2 -2
  102. package/dist/cdn/DHEB777B.js +4 -0
  103. package/dist/cdn/{USZB4X6A.js → DSWPPG73.js} +2 -2
  104. package/dist/cdn/{OJGX3JRQ.js → E5JZ5Z2I.js} +2 -2
  105. package/dist/cdn/{UQOKS6VK.js → E5QWGIJK.js} +2 -2
  106. package/dist/cdn/{IJWGVRH6.js → EC2IHLSY.js} +2 -2
  107. package/dist/cdn/{5AGZP7FN.js → EEE5US3J.js} +2 -2
  108. package/dist/cdn/{SCLUBV6B.js → EF5AJQH3.js} +2 -2
  109. package/dist/cdn/{ASDKBUK3.js → EFUTSJBL.js} +3 -3
  110. package/dist/cdn/{QZNNWP6C.js → EGJPBCZR.js} +2 -2
  111. package/dist/cdn/{5GYSDWFY.js → EGJY2AK7.js} +3 -3
  112. package/dist/cdn/{Z6IC76BJ.js → EGXYKGYI.js} +2 -2
  113. package/dist/cdn/{HFDBPGGT.js → EIWKHVBY.js} +2 -2
  114. package/dist/cdn/{HVGAZZ7E.js → EJAMRCQS.js} +2 -2
  115. package/dist/cdn/{K52RVAKI.js → EJSHS63C.js} +2 -2
  116. package/dist/cdn/{L7DFQ7BZ.js → ERNEEJXE.js} +2 -2
  117. package/dist/cdn/{VLFPDXI6.js → EUE3LP5B.js} +1 -1
  118. package/dist/cdn/{NHLE5PEP.js → EUH67UW5.js} +2 -2
  119. package/dist/cdn/{VUAHOUHY.js → F56KK6GE.js} +2 -2
  120. package/dist/cdn/FQY7OKCX.js +4 -0
  121. package/dist/cdn/{CVOV365U.js → FS57RN34.js} +1 -1
  122. package/dist/cdn/{RXDQURDA.js → FSP7SPX2.js} +1 -1
  123. package/dist/cdn/{V2DI62OA.js → G2DGDDPX.js} +2 -2
  124. package/dist/cdn/{D22BELVK.js → G2HMKJU3.js} +2 -2
  125. package/dist/cdn/{S2I4YUPX.js → G6U42YTA.js} +2 -2
  126. package/dist/cdn/{KSIBFBSI.js → GAEULQXJ.js} +2 -2
  127. package/dist/cdn/{F7D7JDGJ.js → GAJHTV7P.js} +2 -2
  128. package/dist/cdn/{GSGD5X3Z.js → GDKA6GQ6.js} +2 -2
  129. package/dist/cdn/{AM4POOOK.js → GENBEWQD.js} +1 -1
  130. package/dist/cdn/{4QUFJ7JQ.js → GEOJT5HE.js} +2 -2
  131. package/dist/cdn/{YGVITQ45.js → GGC45SFJ.js} +2 -2
  132. package/dist/cdn/{373RYCM5.js → GW27RGOK.js} +2 -2
  133. package/dist/cdn/{NCG6QKWR.js → GXHFJX3X.js} +2 -2
  134. package/dist/cdn/{5UV7A5EY.js → HDGNDHWN.js} +2 -2
  135. package/dist/cdn/{GNBRF3J3.js → HPZC3A57.js} +2 -2
  136. package/dist/cdn/{Z5UFUDCH.js → IBB7QBCT.js} +2 -2
  137. package/dist/cdn/{OAOSXYYJ.js → ICFQB2ET.js} +1 -1
  138. package/dist/cdn/{TEWQBSJG.js → IFOH36K3.js} +2 -2
  139. package/dist/cdn/{OVAX74SY.js → IIH6CLH2.js} +3 -3
  140. package/dist/cdn/{22RHEAP5.js → IJVQHYFH.js} +2 -2
  141. package/dist/cdn/{GWPWR4NJ.js → ILJ2CM7J.js} +2 -2
  142. package/dist/cdn/{WFSFUZOC.js → ISEVSKNV.js} +1 -1
  143. package/dist/cdn/{C5QDDDH6.js → IV3H2HEK.js} +2 -2
  144. package/dist/cdn/{6RWKQVKX.js → J6423EDC.js} +2 -2
  145. package/dist/cdn/{GDPOK4XJ.js → J6NONFBS.js} +1 -1
  146. package/dist/cdn/{VBEIJ53G.js → J7NOQ4JL.js} +2 -2
  147. package/dist/cdn/{Q2X24SKX.js → JBGL4JKZ.js} +1 -1
  148. package/dist/cdn/{45MNR6YS.js → JC73ZWM4.js} +2 -2
  149. package/dist/cdn/{GXNKCLN5.js → JCGX73CW.js} +2 -2
  150. package/dist/cdn/{VUEUGHV4.js → JD6EFQ6S.js} +2 -2
  151. package/dist/cdn/{I6SRLUO3.js → JLNLIHGB.js} +2 -2
  152. package/dist/cdn/{VTQABWDQ.js → JM7YFJWW.js} +3 -3
  153. package/dist/cdn/{DAJYJUIM.js → JN23XJLY.js} +3 -3
  154. package/dist/cdn/JNL2IBVR.js +18 -0
  155. package/dist/cdn/{CLYJO7WA.js → JQMG7XAE.js} +2 -2
  156. package/dist/cdn/{MMNAXKXA.js → JRZKK7MA.js} +2 -2
  157. package/dist/cdn/{XVY2HXWR.js → K2I34C5P.js} +2 -2
  158. package/dist/cdn/{DJI2MXPF.js → K5AAAN6G.js} +2 -2
  159. package/dist/cdn/{WOTQZCRA.js → K5WH7A5V.js} +2 -2
  160. package/dist/cdn/{G7USULA3.js → K7DE43V5.js} +2 -2
  161. package/dist/cdn/{HA26NVXU.js → KBHGTYPO.js} +2 -2
  162. package/dist/cdn/{6ENZX3UD.js → KKUITPWU.js} +2 -2
  163. package/dist/cdn/{E7B35PPE.js → KQY6F6TC.js} +2 -2
  164. package/dist/cdn/{W6E2C5GX.js → L7LPWUMH.js} +2 -2
  165. package/dist/cdn/{XIBUMBLY.js → LI5JOVXC.js} +2 -2
  166. package/dist/cdn/{VUWAGMYI.js → LOHXXUG6.js} +2 -2
  167. package/dist/cdn/{QZNUQGF6.js → LVDQBRPQ.js} +2 -2
  168. package/dist/cdn/{EWMQ7W4X.js → LX5BVFDE.js} +2 -2
  169. package/dist/cdn/{7XXVA3F6.js → LXW2GAAY.js} +2 -2
  170. package/dist/cdn/{ZO2KN6B3.js → M224VK7H.js} +2 -2
  171. package/dist/cdn/{FDCS3IF3.js → M56EPKQ7.js} +2 -2
  172. package/dist/cdn/{34R3QFL4.js → M63VDRSQ.js} +1 -1
  173. package/dist/cdn/{NV5T4KV3.js → MCTAC35U.js} +1 -1
  174. package/dist/cdn/{SGIRWZLC.js → MFAP3QSG.js} +2 -2
  175. package/dist/cdn/{5QARHXLF.js → MGTUFHO4.js} +2 -2
  176. package/dist/cdn/MKKM47E4.js +18 -0
  177. package/dist/cdn/{TCPCNAXG.js → MMAHFIB4.js} +3 -3
  178. package/dist/cdn/{KK2P6Q2E.js → MRGIGMEJ.js} +2 -2
  179. package/dist/cdn/{GWBGSPGK.js → MSH52ZAT.js} +2 -2
  180. package/dist/cdn/{46VGMHZ7.js → MSWWPD5H.js} +2 -2
  181. package/dist/cdn/{EE6F7WDK.js → MX3WCXNM.js} +3 -3
  182. package/dist/cdn/{SB575MRC.js → MXL375F4.js} +2 -2
  183. package/dist/cdn/{HFXZNF2W.js → MZ3GB6EK.js} +2 -2
  184. package/dist/cdn/{4YLSYSXR.js → N2M3Q7OL.js} +2 -2
  185. package/dist/cdn/{GKZPVU4W.js → N3MCXAZD.js} +2 -2
  186. package/dist/cdn/{Z6NDLCDR.js → N53S6LBM.js} +2 -2
  187. package/dist/cdn/{M4PLOIMT.js → NCYTPCR2.js} +2 -2
  188. package/dist/cdn/{YM4JQGWL.js → NFFXMGV3.js} +2 -2
  189. package/dist/cdn/{C3MKLUYS.js → NGPU46XL.js} +2 -2
  190. package/dist/cdn/{JQ7I4ACF.js → NKSKFR6W.js} +2 -2
  191. package/dist/cdn/{DEMY5LXS.js → NL2ZCSNM.js} +1 -1
  192. package/dist/cdn/{5UCFZYBK.js → NLLWLHBU.js} +2 -2
  193. package/dist/cdn/{CMHMGPVG.js → NP2V2NOI.js} +2 -2
  194. package/dist/cdn/{FXPLB5TB.js → NQBEYMGR.js} +2 -2
  195. package/dist/cdn/{IDODJEUW.js → NQMRDDCN.js} +3 -3
  196. package/dist/cdn/{RUAJHVAW.js → NR3CW5TL.js} +2 -2
  197. package/dist/cdn/{EP2WLXYJ.js → NRSYVSYQ.js} +2 -2
  198. package/dist/cdn/{2TQTDPOD.js → NSESHKON.js} +2 -2
  199. package/dist/cdn/{5EM2OKBL.js → NSUKDWLQ.js} +2 -2
  200. package/dist/cdn/{Z5ZPFJEU.js → O2EZB4WB.js} +2 -2
  201. package/dist/cdn/{5PX4CHK4.js → O2GEFWLI.js} +2 -2
  202. package/dist/cdn/{E5DY5AGN.js → O466Y44Q.js} +2 -2
  203. package/dist/cdn/{U4C2O3EI.js → O4KKRMWS.js} +2 -2
  204. package/dist/cdn/{LKKHABSE.js → O7Q6YMZH.js} +2 -2
  205. package/dist/cdn/{SALC3G4E.js → OCYZRDAE.js} +2 -2
  206. package/dist/cdn/{PE3VYUOG.js → OFZUHTRM.js} +2 -2
  207. package/dist/cdn/{VVI52XHF.js → OHBUH6XG.js} +2 -2
  208. package/dist/cdn/{GLRFGNCR.js → OJXGKKGT.js} +2 -2
  209. package/dist/cdn/{NOI3L73W.js → OKH2UKNB.js} +2 -2
  210. package/dist/cdn/{E7C33CLP.js → OM4UKQNZ.js} +2 -2
  211. package/dist/cdn/{YZKEYQY4.js → OO6WR2YI.js} +1 -1
  212. package/dist/cdn/{M4FU5PYC.js → OPU7UG63.js} +2 -2
  213. package/dist/cdn/{JLAIHGX7.js → OREJNY5T.js} +2 -2
  214. package/dist/cdn/{M47UC4IW.js → OX5SNROI.js} +2 -2
  215. package/dist/cdn/{3ZGL22AG.js → P4IG3MVJ.js} +2 -2
  216. package/dist/cdn/{HEQYJZJO.js → P5PCO4JO.js} +2 -2
  217. package/dist/cdn/{BQ7TY6E3.js → PERMCVQL.js} +2 -2
  218. package/dist/cdn/{NC7LKR6P.js → POWA43LB.js} +2 -2
  219. package/dist/cdn/{IZK635RE.js → PPDJ32JJ.js} +2 -2
  220. package/dist/cdn/{IVUZOD5N.js → PW4JQUZM.js} +2 -2
  221. package/dist/cdn/{YEVWDUVV.js → PWZHR4OS.js} +2 -2
  222. package/dist/cdn/{KRBPJ75E.js → PXIMWP5D.js} +2 -2
  223. package/dist/cdn/{LIINIY5L.js → PZDHZUMS.js} +2 -2
  224. package/dist/cdn/{VORLDHAW.js → PZEXCL57.js} +2 -2
  225. package/dist/cdn/{76CZRVCQ.js → PZTUREPY.js} +2 -2
  226. package/dist/cdn/{M7PKG4YD.js → Q46P3XZX.js} +2 -2
  227. package/dist/cdn/{74HXS5S7.js → QBLSQMGQ.js} +2 -2
  228. package/dist/cdn/{4EQXDV64.js → QBT6IQTV.js} +3 -3
  229. package/dist/cdn/QDOG42JX.js +18 -0
  230. package/dist/cdn/QEKRYT2T.js +18 -0
  231. package/dist/cdn/{OCQ5QAZG.js → QETK5HEL.js} +3 -3
  232. package/dist/cdn/{JW5B75V4.js → QL2DC6OE.js} +2 -2
  233. package/dist/cdn/{S5HWSEUY.js → QLVC7ZPZ.js} +2 -2
  234. package/dist/cdn/{VDSHQNAE.js → QTNQ6E24.js} +2 -2
  235. package/dist/cdn/{UK6ZQLXE.js → QVON44ZD.js} +1 -1
  236. package/dist/cdn/{UTTX3CHJ.js → QZUTRMW6.js} +2 -2
  237. package/dist/cdn/{5HWY6B6T.js → R4WW5CCG.js} +2 -2
  238. package/dist/cdn/{MZEWWDOB.js → R7232VZW.js} +1 -1
  239. package/dist/cdn/{S32TK6T7.js → RAJJT4B3.js} +2 -2
  240. package/dist/cdn/{HG2ZNE2E.js → RAV53JFJ.js} +2 -2
  241. package/dist/cdn/{JWUJWTID.js → RB6DOS5Z.js} +2 -2
  242. package/dist/cdn/{EOX42Z7I.js → RDKNMWCS.js} +2 -2
  243. package/dist/cdn/{4FDHA3LB.js → RDOMCTUL.js} +2 -2
  244. package/dist/cdn/{EYI2CXR4.js → RHKI3HOF.js} +2 -2
  245. package/dist/cdn/{7XAH3ZHV.js → RHNY7QXI.js} +1 -1
  246. package/dist/cdn/{PFKUU2I3.js → RKSQHCLI.js} +2 -2
  247. package/dist/cdn/{YQFL5YJJ.js → ROHOQMWQ.js} +2 -2
  248. package/dist/cdn/{R5DUS3EV.js → RP3IBMYT.js} +2 -2
  249. package/dist/cdn/RRQMNUDN.js +18 -0
  250. package/dist/cdn/{VO24JFVS.js → RUP3N6FQ.js} +2 -2
  251. package/dist/cdn/RY5ANV6A.js +4 -0
  252. package/dist/cdn/{EAU627CP.js → S35QUYH6.js} +2 -2
  253. package/dist/cdn/{PAT7ZHEY.js → SB2EYKVI.js} +1 -1
  254. package/dist/cdn/{DYCNJD5I.js → SCJ2RD5L.js} +2 -2
  255. package/dist/cdn/{SY5M4ZGW.js → SF3MI2B2.js} +2 -2
  256. package/dist/cdn/{SQ5TA5SP.js → SICWCCBR.js} +2 -2
  257. package/dist/cdn/SLU6KLLC.js +4 -0
  258. package/dist/cdn/{MR3OHCGN.js → SLXWBGDY.js} +2 -2
  259. package/dist/cdn/{K2VZU3F5.js → SRVRHHIV.js} +3 -3
  260. package/dist/cdn/{52YHNO7J.js → SSXAOZJ5.js} +2 -2
  261. package/dist/cdn/{FFL7U4K2.js → T5PVRJMO.js} +1 -1
  262. package/dist/cdn/{DUKUSWOF.js → T6BC4NP5.js} +2 -2
  263. package/dist/cdn/{BQJVEDLC.js → TB44WXEK.js} +2 -2
  264. package/dist/cdn/{KK2IPNE3.js → TDTBNJ5F.js} +2 -2
  265. package/dist/cdn/{7ZCG3X7R.js → TGA357DA.js} +2 -2
  266. package/dist/cdn/{YNTEOFE2.js → THJAL2CV.js} +2 -2
  267. package/dist/cdn/{KEZ2OO3C.js → TKKIU5DK.js} +2 -2
  268. package/dist/cdn/{7C25W3DC.js → TLY64OYB.js} +2 -2
  269. package/dist/cdn/{VAMGVNRP.js → TOWCBV67.js} +2 -2
  270. package/dist/cdn/{D4ANXHA6.js → TWNSH3OD.js} +1 -1
  271. package/dist/cdn/{PZTS2ZM2.js → TZBJLNXJ.js} +2 -2
  272. package/dist/cdn/{XCGRV674.js → TZHAIY5U.js} +2 -2
  273. package/dist/cdn/{LTJA7F3S.js → TZJ2HEJQ.js} +2 -2
  274. package/dist/cdn/{6RW4WJ5F.js → U3X4JOWT.js} +2 -2
  275. package/dist/cdn/{IKL6SJCX.js → UAD3Z7G6.js} +2 -2
  276. package/dist/cdn/{67SFJRSB.js → UCG52BCL.js} +3 -3
  277. package/dist/cdn/{KMSZR7OY.js → UCQ5Y3GX.js} +2 -2
  278. package/dist/cdn/{YDTVY452.js → UDPQ4ROC.js} +1 -1
  279. package/dist/cdn/{JJNXUJWI.js → UJFJN4KW.js} +2 -2
  280. package/dist/cdn/{WAIH4CCQ.js → UKTZGR5H.js} +2 -2
  281. package/dist/cdn/{F5BC76XY.js → UORERW5B.js} +2 -2
  282. package/dist/cdn/{2GG5MBJX.js → UR5O5JWE.js} +2 -2
  283. package/dist/cdn/{SPWD7KIF.js → UZAHM4E4.js} +1 -1
  284. package/dist/cdn/{V7ZWOVHU.js → V6OSHRQM.js} +2 -2
  285. package/dist/cdn/{7IEW7PU4.js → VBNUDSSG.js} +2 -2
  286. package/dist/cdn/{SA5OTFAN.js → VC5VGOUO.js} +1 -1
  287. package/dist/cdn/VGMWPYEH.js +4 -0
  288. package/dist/cdn/VGXU7I7U.js +4 -0
  289. package/dist/cdn/{C6KZTKHI.js → VID2UZG4.js} +2 -2
  290. package/dist/cdn/{E6XP4262.js → VLPI3GRM.js} +2 -2
  291. package/dist/cdn/{IFXQMQMB.js → VS7KGOXE.js} +2 -2
  292. package/dist/cdn/{76QGCX3G.js → VTXQOB7L.js} +1 -1
  293. package/dist/cdn/{6NVXFBLT.js → VWVYEBDH.js} +2 -2
  294. package/dist/cdn/VYGWWP54.js +18 -0
  295. package/dist/cdn/{HATWOIWZ.js → W3HTFD5Y.js} +2 -2
  296. package/dist/cdn/{VUYIFP6K.js → W4MD3F6R.js} +2 -2
  297. package/dist/cdn/{R63RYS5Y.js → WG4X43JN.js} +2 -2
  298. package/dist/cdn/{U7JUGZHD.js → WGQUTVDW.js} +2 -2
  299. package/dist/cdn/{TDPTH3PB.js → WLP4EB7V.js} +2 -2
  300. package/dist/cdn/{OE5CL2FU.js → WNXG3ZCI.js} +2 -2
  301. package/dist/cdn/{FBOYVIXA.js → WRG3LT22.js} +2 -2
  302. package/dist/cdn/{3TJ6KAGK.js → WSK33HZC.js} +2 -2
  303. package/dist/cdn/{WTL3PEAQ.js → WUAYRTXU.js} +2 -2
  304. package/dist/cdn/{Y4UI3SWQ.js → WUUFD7I3.js} +2 -2
  305. package/dist/cdn/{YSW2UOL3.js → WXRMP3RF.js} +2 -2
  306. package/dist/cdn/{AHDSGP2I.js → WXX3JVS7.js} +2 -2
  307. package/dist/cdn/{W5XUZJGN.js → X2HCZOFT.js} +2 -2
  308. package/dist/cdn/{E3RTIAKB.js → X43BLFIH.js} +2 -2
  309. package/dist/cdn/{EIWV2QFJ.js → X4JROJKB.js} +2 -2
  310. package/dist/cdn/{FMJWXOUR.js → X556NDQM.js} +2 -2
  311. package/dist/cdn/{5JPSKCNA.js → X5C4AZW2.js} +2 -2
  312. package/dist/cdn/{G6AIWVVF.js → XBZDU3YA.js} +2 -2
  313. package/dist/cdn/{5PT6BQPH.js → XEYWQFQ5.js} +2 -2
  314. package/dist/cdn/{RF4UYAKV.js → XK3SNODM.js} +2 -2
  315. package/dist/cdn/{OQHSXQCE.js → XKQKAGOM.js} +3 -3
  316. package/dist/cdn/{LJJOYKWL.js → XLUDDUX2.js} +2 -2
  317. package/dist/cdn/{JDKKXGDK.js → XNQ6DBW6.js} +2 -2
  318. package/dist/cdn/{P24RPSBD.js → XPNCU35H.js} +2 -2
  319. package/dist/cdn/{VZ6ZGZXE.js → XQJGWD7F.js} +2 -2
  320. package/dist/cdn/{EVNPOEDN.js → XSUH5ZWN.js} +2 -2
  321. package/dist/cdn/{BJXTCYTT.js → XT5JYDSP.js} +2 -2
  322. package/dist/cdn/{MPP5RWNY.js → XUAIYIQ2.js} +2 -2
  323. package/dist/cdn/{LMJAIKEE.js → Y55OXV6Y.js} +2 -2
  324. package/dist/cdn/{TAIZT7YH.js → Y6LO3REZ.js} +2 -2
  325. package/dist/cdn/{DILLMNU7.js → YBRSEZ67.js} +2 -2
  326. package/dist/cdn/{DSDPXTB3.js → YCA4LRXE.js} +2 -2
  327. package/dist/cdn/{5XIPGVUW.js → YHGLE6WS.js} +2 -2
  328. package/dist/cdn/{OBU37VQP.js → YJMNTY3L.js} +1 -1
  329. package/dist/cdn/{CYH55GTJ.js → YM6SKW7B.js} +2 -2
  330. package/dist/cdn/YO533QFL.js +18 -0
  331. package/dist/cdn/{MNSLZRN2.js → YPTKKUQT.js} +2 -2
  332. package/dist/cdn/{VRYDFICW.js → YRVDWBVN.js} +3 -3
  333. package/dist/cdn/{IGMLM2CZ.js → YXWR4LGR.js} +2 -2
  334. package/dist/cdn/{HZNHMJ2X.js → YYHJHXNM.js} +2 -2
  335. package/dist/cdn/{2P7AHM5O.js → Z4GZ7VCW.js} +1 -1
  336. package/dist/cdn/{GWVBXM4O.js → Z66C7X2A.js} +2 -2
  337. package/dist/cdn/{FEPUY55K.js → ZFIDAXHF.js} +2 -2
  338. package/dist/cdn/{25ZSBOGH.js → ZG2AHKGG.js} +2 -2
  339. package/dist/cdn/{TF5KNIGI.js → ZKADU2PQ.js} +2 -2
  340. package/dist/cdn/{MOLO2JKZ.js → ZKHKSH45.js} +2 -2
  341. package/dist/cdn/{D4TYNSAH.js → ZLWPGFJV.js} +4 -4
  342. package/dist/cdn/{JQWHQO43.js → ZP3Z6SIG.js} +2 -2
  343. package/dist/cdn/{A5RRFYOD.js → ZWZKBEYE.js} +2 -2
  344. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -0
  345. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -0
  346. package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
  347. package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
  348. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
  349. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
  350. package/dist/cdn/index.js +2 -2
  351. package/dist/chunks/Auth.js +1 -1
  352. package/dist/chunks/CardsFetcher.js +1 -1
  353. package/dist/chunks/appConfig.js +1 -1
  354. package/dist/chunks/cardFetchingUtils.js +1 -1
  355. package/dist/chunks/cardsHelpers.js +1 -1
  356. package/dist/chunks/common.js +1 -1
  357. package/dist/chunks/deployAppContexts.js +1 -1
  358. package/dist/chunks/downloadUtils.js +1 -1
  359. package/dist/chunks/getItemIcon.js +1 -1
  360. package/dist/chunks/helpers.js +1 -1
  361. package/dist/chunks/interfaces.js +1 -1
  362. package/dist/chunks/loadModules.js +1 -1
  363. package/dist/chunks/mapViewUtils.js +1 -1
  364. package/dist/chunks/pciUtils.js +1 -1
  365. package/dist/chunks/popupUtils.js +1 -1
  366. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  367. package/dist/chunks/privilegeUtils.js +1 -1
  368. package/dist/chunks/publicNotificationContext.js +1 -1
  369. package/dist/chunks/queryUtils.js +1 -1
  370. package/dist/chunks/runtime.js +1 -1
  371. package/dist/chunks/solution-store.js +1 -1
  372. package/dist/chunks/templates.js +1 -1
  373. package/dist/chunks/useT9n.js +1 -1
  374. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +117 -9
  375. package/dist/components/arcgis-solutions-assistant/customElement.js +243 -63
  376. package/dist/components/arcgis-solutions-assistant/index.d.ts +5 -5
  377. package/dist/components/arcgis-solutions-assistant/index.js +5 -5
  378. package/dist/components/arcgis-solutions-assistant/utils/querySolutions.d.ts +6 -0
  379. package/dist/components/basemap-gallery/customElement.js +1 -1
  380. package/dist/components/buffer-tools/customElement.js +1 -1
  381. package/dist/components/card-manager/customElement.js +1 -1
  382. package/dist/components/consent-manager/customElement.js +1 -1
  383. package/dist/components/create-feature/customElement.js +1 -1
  384. package/dist/components/create-related-feature/customElement.js +1 -1
  385. package/dist/components/crowdsource-manager/customElement.js +1 -1
  386. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  387. package/dist/components/deduct-calculator/customElement.js +1 -1
  388. package/dist/components/delete-button/customElement.js +1 -1
  389. package/dist/components/delete-dialog/customElement.js +1 -1
  390. package/dist/components/edit-card/customElement.js +1 -1
  391. package/dist/components/feature-details/customElement.js +1 -1
  392. package/dist/components/feature-list/customElement.js +1 -1
  393. package/dist/components/field-selection/customElement.js +1 -1
  394. package/dist/components/floor-filter/customElement.js +1 -1
  395. package/dist/components/info-card/customElement.js +1 -1
  396. package/dist/components/json-editor/customElement.js +1 -1
  397. package/dist/components/layer-list/customElement.js +1 -1
  398. package/dist/components/layer-table/customElement.js +1 -1
  399. package/dist/components/map-card/customElement.js +1 -1
  400. package/dist/components/map-draw-tools/customElement.js +1 -1
  401. package/dist/components/map-fullscreen/customElement.js +1 -1
  402. package/dist/components/map-layer-picker/customElement.js +1 -1
  403. package/dist/components/map-legend/customElement.js +1 -1
  404. package/dist/components/map-picker/customElement.js +1 -1
  405. package/dist/components/map-search/customElement.js +1 -1
  406. package/dist/components/map-select-tools/customElement.js +1 -1
  407. package/dist/components/map-tools/customElement.js +1 -1
  408. package/dist/components/pci-calculator/customElement.js +1 -1
  409. package/dist/components/pdf-download/customElement.js +1 -1
  410. package/dist/components/public-notification/customElement.js +1 -1
  411. package/dist/components/refine-selection/customElement.js +1 -1
  412. package/dist/components/selection-tool/customElement.js +1 -1
  413. package/dist/components/solution-configuration/customElement.js +1 -1
  414. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  415. package/dist/components/solution-configure-titles/customElement.js +22 -19
  416. package/dist/components/solution-contents/customElement.js +1 -1
  417. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  418. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  419. package/dist/components/solution-deployed-card/customElement.js +1 -1
  420. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  421. package/dist/components/solution-details-card/customElement.js +2 -2
  422. package/dist/components/solution-details-panel/customElement.js +1 -1
  423. package/dist/components/solution-item/customElement.js +1 -1
  424. package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
  425. package/dist/components/solution-item-accordion/customElement.js +13 -9
  426. package/dist/components/solution-item-details/customElement.js +1 -1
  427. package/dist/components/solution-item-diagram/customElement.js +1 -1
  428. package/dist/components/solution-item-icon/customElement.js +1 -1
  429. package/dist/components/solution-item-sharing/customElement.js +1 -1
  430. package/dist/components/solution-organization-variables/customElement.js +1 -1
  431. package/dist/components/solution-resource-card/customElement.js +1 -1
  432. package/dist/components/solution-resource-item/customElement.js +1 -1
  433. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  434. package/dist/components/solution-social-share/customElement.js +1 -1
  435. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  436. package/dist/components/solution-template-data/customElement.js +1 -1
  437. package/dist/components/solution-variables/customElement.js +1 -1
  438. package/dist/components/solutions-all-panel/customElement.d.ts +2 -0
  439. package/dist/components/solutions-all-panel/customElement.js +48 -40
  440. package/dist/components/solutions-all-panel/index.d.ts +1 -0
  441. package/dist/components/solutions-all-panel/index.js +1 -0
  442. package/dist/components/solutions-all-shell/customElement.js +26 -23
  443. package/dist/components/solutions-deploy-app/customElement.js +13 -13
  444. package/dist/components/solutions-deploy-app-nav/customElement.js +16 -16
  445. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  446. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  447. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  448. package/dist/components/solutions-filter-panel/customElement.d.ts +6 -0
  449. package/dist/components/solutions-filter-panel/customElement.js +38 -29
  450. package/dist/components/solutions-filter-panel/index.d.ts +1 -0
  451. package/dist/components/solutions-filter-panel/index.js +1 -0
  452. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  453. package/dist/components/solutions-resources/customElement.js +32 -35
  454. package/dist/components/solutions-resources/index.d.ts +0 -1
  455. package/dist/components/solutions-resources/index.js +0 -1
  456. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  457. package/dist/components/solutions-searchsort-toolbar/customElement.js +27 -25
  458. package/dist/components/spatial-ref/customElement.js +1 -1
  459. package/dist/components/store-manager/customElement.js +1 -1
  460. package/dist/docs/api.json +339 -19
  461. package/dist/docs/docs.json +316 -11
  462. package/dist/docs/vscode.html-custom-data.json +26 -4
  463. package/dist/docs/web-types.json +77 -11
  464. package/dist/index.d.ts +2 -1
  465. package/dist/index.js +1 -1
  466. package/dist/loader.js +4 -4
  467. package/dist/types/lumina.d.ts +4 -3
  468. package/dist/types/preact.d.ts +4 -3
  469. package/dist/types/preact10.d.ts +4 -3
  470. package/dist/types/react.d.ts +4 -3
  471. package/dist/types/stencil.d.ts +4 -3
  472. package/package.json +1 -1
  473. package/dist/cdn/2OJCRGSY.js +0 -18
  474. package/dist/cdn/3IBI2MBB.js +0 -4
  475. package/dist/cdn/5UMBUT67.js +0 -18
  476. package/dist/cdn/7MN6SLN5.js +0 -18
  477. package/dist/cdn/ECCOYE4W.js +0 -4
  478. package/dist/cdn/FNPOYZRQ.js +0 -18
  479. package/dist/cdn/FTCOKM55.js +0 -4
  480. package/dist/cdn/HU7VYYIV.js +0 -4
  481. package/dist/cdn/JCRBLE7M.js +0 -18
  482. package/dist/cdn/KIQTLCHH.js +0 -4
  483. package/dist/cdn/MGJFGLYO.js +0 -18
  484. package/dist/cdn/NMNQNPG3.js +0 -4
  485. package/dist/cdn/QMT5CBUT.js +0 -18
  486. package/dist/cdn/SHLDE5ZW.js +0 -18
  487. package/dist/cdn/SUZ3SL26.js +0 -4
  488. package/dist/cdn/W2ZGMJY7.js +0 -4
  489. package/dist/cdn/WP2PSNFT.js +0 -4
  490. package/dist/cdn/YTT6ZV5A.js +0 -18
@@ -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.10 */
4
- import{l as g}from"./XCGRV674.js";import{c as i,d as f}from"./OIS6GKYP.js";import{a as o}from"./3EEQEIIF.js";import{b as c}from"./WLNYC3K3.js";import{c as m,j as l,k as s,l as d,w as p}from"./5UV7A5EY.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
3
+ v1.2.0-next.13 */
4
+ import{l as g}from"./TZHAIY5U.js";import{c as i,d as f}from"./52TMIUZW.js";import{a as o}from"./4ATL3D6V.js";import{b as c}from"./7DVUJMYC.js";import{c as m,j as l,k as s,l as d,w as p}from"./HDGNDHWN.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
@@ -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.10 */
4
- import g from"./GWPWR4NJ.js";import e from"./U4C2O3EI.js";import"./IYW4WSQU.js";import c from"./PZTS2ZM2.js";import{a as d}from"./HCEMIND7.js";import{a as b}from"./S32TK6T7.js";import"./D4ANXHA6.js";import{b as x}from"./VORLDHAW.js";import"./EWMQ7W4X.js";import"./IKL6SJCX.js";import{E as u,G as p,I as f,h as _,i as a,o as h}from"./DEMY5LXS.js";import"./AM4POOOK.js";export default $arcgis.t(([,{a:r,b:g},{e:$,h:w,j:T,k:z,l:E,r:C,s:m,u:v}])=>{var k=_`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-left:20px}:host .instant-apps-interactive-legend__layer-caption--compact{--instant-apps-interactive-legend-ui-padding: 5px}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__layer-caption-btn-container{display:flex;justify-content:flex-end;width:100%}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__layer-caption-btn-container .instant-apps-interactive-legend__show-all-btn{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-ui-brand);font-weight:var(--calcite-font-weight-medium);font-size:.75rem;padding-inline-start:20px}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__zoom-to-btn{--calcite-icon-color: var(--calcite-ui-brand);--calcite-color-transparent-hover: transparent}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__legend-layer-caption-text{display:inline-block;font-size:.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-interactive-legend__legend-layer-caption-text{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}:host .instant-apps-interactive-legend__layer-caption-btn-container{display:flex;white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host:dir(rtl) .esri-legend__layer-caption calcite-action{margin-left:unset;margin-right:20px}`,s={layerCaption:"esri-legend__layer-caption",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",layerCaptionBtnContainerNoText:"instant-apps-interactive-legend__layer-caption-btn-container--no-text",layerCaptionText:"instant-apps-interactive-legend__legend-layer-caption-text",compact:"instant-apps-interactive-legend__layer-caption--compact",showAll:"instant-apps-interactive-legend__show-all-btn",zoomTo:"instant-apps-interactive-legend__zoom-to-btn"},y=class extends u{constructor(){super(...arguments),this._messages=b({name:"instant-apps-interactive-legend",blocking:!0}),this.expanded=!0,this.legendLayerExpandUpdated=h(),this.showAllSelected=h()}static{this.properties={legendvm:0,activeLayerInfo:0,layer:0,titleText:1,legendElementIndex:9,zoomTo:5,isInteractive:5,legendElement:0,expanded:5}}static{this.styles=k}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.legendLayerExpandUpdated.emit(),(this.activeLayerInfo?.legendElements?.filter(e=>e.type==="relationship-ramp")).length>0&&g.set("relationshipRampExpandStates",{...r.relationshipRampExpandStates,[this.activeLayerInfo.layer.id]:this.expanded})}}handleZoomTo(){return()=>{let e=$(this.layer),i=m(e,this.legendElement);E(e,this.legendvm.view,i)}}handleShowAll(){return()=>{let e=()=>{let t=z(n,this.legendElement.title);v({intLegendLayerData:t,layerId:this.layer.id})},i=()=>{let t=T(n);v({intLegendLayerData:t,layerId:this.layer.id})},n=r.data?.[this.layer?.id];if(m(n,this.legendElement)){e();return}i(),this.showAllSelected.emit()}}render(){let e=C(this.activeLayerInfo),i=w(this.activeLayerInfo)&&(this.legendElement?.type==="relationship-ramp"||!this.legendElement?.type?.includes("-ramp")),{expanded:n}=this,t=g.get("compact"),o=t?` ${s.compact}`:"";if(e&&!this.titleText)return null;let l=this.titleText?a`<span class=${p(s.layerCaptionText)} title=${this.titleText??f}>${this.titleText}</span>`:null,c=this.isInteractive||i?this.renderLegendElementCaptionControls():"";return a`<div class=${`${s.layerCaption}${o}`}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${n?this._messages.collapse:this._messages.expand} .label=${n?this._messages.collapse:this._messages.expand} scale=s></calcite-action>${t?[l,c]:[c,l]}</div>`}renderLegendElementCaptionControls(){let e=this.titleText?"":` ${s.layerCaptionBtnContainerNoText}`;return d("layer-caption-btn-container",a`<div class=${`${s.layerCaptionBtnContainer}${e}`}>${this.renderShowAllZoomToButtons()}</div>`)}renderShowAllZoomToButtons(){return g.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){let{data:e}=r,{id:i}=this.layer||{},n=e?.[i]?.categories?.size>1,t="zoomToCompact",o=this.zoomTo&&[a`<calcite-action id=${t} class=${p(s.zoomTo)} @click=${this.handleZoomTo()} .icon=${"magnifying-glass-plus"} appearance=transparent scale=s .text=${this._messages.zoomTo}></calcite-action>`,a`<calcite-tooltip .referenceElement=${t} placement=top .label=${this._messages.zoomTo}>${this._messages.zoomTo}</calcite-tooltip>`]||"",l=n?a`<button @click=${this.handleShowAll()} class=${p(s.showAll)}>${this._messages.showAll}</button>`:null;return[o,l]}renderButtonUI(){let{data:e}=r,{id:i}=this.layer||{},n=e?.[i]?.categories?.size>1,t="showAll",o="zoomTo",l=n&&[d("show-all-button",a`<calcite-button id=${t} .label=${this._messages.showAll} @click=${this.handleShowAll()} .iconStart=${"list-check-all"} appearance=outline round></calcite-button>`),a`<calcite-tooltip .referenceElement=${t} placement=top .label=${this._messages.showAll}>${this._messages.showAll}</calcite-tooltip>`]||"",c=this.zoomTo&&[d("zoom-to-button",a`<calcite-button id=${o} .label=${this._messages.zoomTo} @click=${this.handleZoomTo()} .iconStart=${"magnifying-glass-plus"} appearance=outline round></calcite-button>`),a`<calcite-tooltip .referenceElement=${o} placement=top .label=${this._messages.zoomTo}>${this._messages.zoomTo}</calcite-tooltip>`]||"";return[l,c]}};x("instant-apps-interactive-legend-legend-element-caption",y);return y},c,e,g)
3
+ v1.2.0-next.13 */
4
+ import g from"./ILJ2CM7J.js";import e from"./O4KKRMWS.js";import"./BQ7CXSHY.js";import c from"./TZBJLNXJ.js";import{a as d}from"./2XAZ3RTK.js";import{a as b}from"./RAJJT4B3.js";import"./TWNSH3OD.js";import{b as x}from"./PZEXCL57.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{E as u,G as p,I as f,h as _,i as a,o as h}from"./NL2ZCSNM.js";import"./GENBEWQD.js";export default $arcgis.t(([,{a:r,b:g},{e:$,h:w,j:T,k:z,l:E,r:C,s:m,u:v}])=>{var k=_`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-left:20px}:host .instant-apps-interactive-legend__layer-caption--compact{--instant-apps-interactive-legend-ui-padding: 5px}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__layer-caption-btn-container{display:flex;justify-content:flex-end;width:100%}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__layer-caption-btn-container .instant-apps-interactive-legend__show-all-btn{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-ui-brand);font-weight:var(--calcite-font-weight-medium);font-size:.75rem;padding-inline-start:20px}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__zoom-to-btn{--calcite-icon-color: var(--calcite-ui-brand);--calcite-color-transparent-hover: transparent}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__legend-layer-caption-text{display:inline-block;font-size:.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-interactive-legend__legend-layer-caption-text{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}:host .instant-apps-interactive-legend__layer-caption-btn-container{display:flex;white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host:dir(rtl) .esri-legend__layer-caption calcite-action{margin-left:unset;margin-right:20px}`,s={layerCaption:"esri-legend__layer-caption",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",layerCaptionBtnContainerNoText:"instant-apps-interactive-legend__layer-caption-btn-container--no-text",layerCaptionText:"instant-apps-interactive-legend__legend-layer-caption-text",compact:"instant-apps-interactive-legend__layer-caption--compact",showAll:"instant-apps-interactive-legend__show-all-btn",zoomTo:"instant-apps-interactive-legend__zoom-to-btn"},y=class extends u{constructor(){super(...arguments),this._messages=b({name:"instant-apps-interactive-legend",blocking:!0}),this.expanded=!0,this.legendLayerExpandUpdated=h(),this.showAllSelected=h()}static{this.properties={legendvm:0,activeLayerInfo:0,layer:0,titleText:1,legendElementIndex:9,zoomTo:5,isInteractive:5,legendElement:0,expanded:5}}static{this.styles=k}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.legendLayerExpandUpdated.emit(),(this.activeLayerInfo?.legendElements?.filter(e=>e.type==="relationship-ramp")).length>0&&g.set("relationshipRampExpandStates",{...r.relationshipRampExpandStates,[this.activeLayerInfo.layer.id]:this.expanded})}}handleZoomTo(){return()=>{let e=$(this.layer),i=m(e,this.legendElement);E(e,this.legendvm.view,i)}}handleShowAll(){return()=>{let e=()=>{let t=z(n,this.legendElement.title);v({intLegendLayerData:t,layerId:this.layer.id})},i=()=>{let t=T(n);v({intLegendLayerData:t,layerId:this.layer.id})},n=r.data?.[this.layer?.id];if(m(n,this.legendElement)){e();return}i(),this.showAllSelected.emit()}}render(){let e=C(this.activeLayerInfo),i=w(this.activeLayerInfo)&&(this.legendElement?.type==="relationship-ramp"||!this.legendElement?.type?.includes("-ramp")),{expanded:n}=this,t=g.get("compact"),o=t?` ${s.compact}`:"";if(e&&!this.titleText)return null;let l=this.titleText?a`<span class=${p(s.layerCaptionText)} title=${this.titleText??f}>${this.titleText}</span>`:null,c=this.isInteractive||i?this.renderLegendElementCaptionControls():"";return a`<div class=${`${s.layerCaption}${o}`}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${n?this._messages.collapse:this._messages.expand} .label=${n?this._messages.collapse:this._messages.expand} scale=s></calcite-action>${t?[l,c]:[c,l]}</div>`}renderLegendElementCaptionControls(){let e=this.titleText?"":` ${s.layerCaptionBtnContainerNoText}`;return d("layer-caption-btn-container",a`<div class=${`${s.layerCaptionBtnContainer}${e}`}>${this.renderShowAllZoomToButtons()}</div>`)}renderShowAllZoomToButtons(){return g.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){let{data:e}=r,{id:i}=this.layer||{},n=e?.[i]?.categories?.size>1,t="zoomToCompact",o=this.zoomTo&&[a`<calcite-action id=${t} class=${p(s.zoomTo)} @click=${this.handleZoomTo()} .icon=${"magnifying-glass-plus"} appearance=transparent scale=s .text=${this._messages.zoomTo}></calcite-action>`,a`<calcite-tooltip .referenceElement=${t} placement=top .label=${this._messages.zoomTo}>${this._messages.zoomTo}</calcite-tooltip>`]||"",l=n?a`<button @click=${this.handleShowAll()} class=${p(s.showAll)}>${this._messages.showAll}</button>`:null;return[o,l]}renderButtonUI(){let{data:e}=r,{id:i}=this.layer||{},n=e?.[i]?.categories?.size>1,t="showAll",o="zoomTo",l=n&&[d("show-all-button",a`<calcite-button id=${t} .label=${this._messages.showAll} @click=${this.handleShowAll()} .iconStart=${"list-check-all"} appearance=outline round></calcite-button>`),a`<calcite-tooltip .referenceElement=${t} placement=top .label=${this._messages.showAll}>${this._messages.showAll}</calcite-tooltip>`]||"",c=this.zoomTo&&[d("zoom-to-button",a`<calcite-button id=${o} .label=${this._messages.zoomTo} @click=${this.handleZoomTo()} .iconStart=${"magnifying-glass-plus"} appearance=outline round></calcite-button>`),a`<calcite-tooltip .referenceElement=${o} placement=top .label=${this._messages.zoomTo}>${this._messages.zoomTo}</calcite-tooltip>`]||"";return[l,c]}};x("instant-apps-interactive-legend-legend-element-caption",y);return y},c,e,g)
@@ -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.10 */
4
- import{a as i}from"./CTVVU2ZC.js";import{a}from"./5R5FVDIE.js";import"./IGMLM2CZ.js";import"./VLFPDXI6.js";import"./3EEQEIIF.js";import"./OBU37VQP.js";import"./76CZRVCQ.js";import{a as o}from"./AXLTP65Y.js";import{a as s}from"./E3RTIAKB.js";import"./5UV7A5EY.js";import"./76QGCX3G.js";import"./5XIPGVUW.js";import"./WFSFUZOC.js";import{b as r}from"./5AGZP7FN.js";import"./UTTX3CHJ.js";import"./DBI2CNJR.js";import"./SPWD7KIF.js";import"./GSGD5X3Z.js";import"./NV5T4KV3.js";import"./RXDQURDA.js";import"./NHLE5PEP.js";import"./2P7AHM5O.js";import"./FEPUY55K.js";import"./XT36IYWQ.js";import"./EVNPOEDN.js";import"./WTL3PEAQ.js";import"./46VGMHZ7.js";import"./EP2WLXYJ.js";import"./PZUT6W6N.js";import"./M4PLOIMT.js";import"./HI3PAOCL.js";import"./VUYIFP6K.js";import"./P7Q74AQB.js";import"./4WLVJAGS.js";import"./PAT7ZHEY.js";import"./LYUVSKJ2.js";import"./AM4POOOK.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,l.thumbnail,i(l),"template",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}}]}]});export{d as buildUiSchema};
3
+ v1.2.0-next.13 */
4
+ import{a as i}from"./AZIEZPYO.js";import{a}from"./3RO3BXDV.js";import"./YXWR4LGR.js";import"./EUE3LP5B.js";import"./4ATL3D6V.js";import"./YJMNTY3L.js";import"./PZTUREPY.js";import{a as o}from"./2U7YXCJZ.js";import{a as s}from"./X43BLFIH.js";import"./HDGNDHWN.js";import"./VTXQOB7L.js";import"./YHGLE6WS.js";import"./ISEVSKNV.js";import{b as r}from"./EEE5US3J.js";import"./QZUTRMW6.js";import"./BTVB74DT.js";import"./UZAHM4E4.js";import"./GDKA6GQ6.js";import"./MCTAC35U.js";import"./FSP7SPX2.js";import"./EUH67UW5.js";import"./Z4GZ7VCW.js";import"./ZFIDAXHF.js";import"./44CIVCB6.js";import"./XSUH5ZWN.js";import"./WUAYRTXU.js";import"./MSWWPD5H.js";import"./NRSYVSYQ.js";import"./AQOTRYZM.js";import"./NCYTPCR2.js";import"./555TJYQH.js";import"./W4MD3F6R.js";import"./3GJ7UGOW.js";import"./4JNGRSAC.js";import"./SB2EYKVI.js";import"./CFMJKVXR.js";import"./GENBEWQD.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,l.thumbnail,i(l),"template",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}}]}]});export{d as buildUiSchema};
@@ -1,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.10 */
3
+ v1.2.0-next.13 */
4
4
  var c=["Application","City Engine Web Scene","CityEngine Web Scene","Dashboard","Insights Page","Insights Workbook","Operation View","Web Mapping Application","StoryMap","Web Experience","Urban Model"],s=["CSV Collection","CSV","Feature Collection Template","Feature Collection","Feature Layer","Feature Service","File Geodatabase","GeoJSON","GeoJson","KML Collection","KML","Microsoft Excel","Raster Layer","Shapefile","Stream Service","Table"],l=["CAD Drawing","Document Link","Hub Page","Site Page","Image","iWork Keynote","iWork Numbers","iWork Pages","Microsoft Powerpoint","Microsoft Visio","Microsoft Word","Notebook","PDF","Pro Map","Report Template"],p=["Hub Event"],g=["Form","Quick Capture Project"],d=["Hub Initiative"],u=["Solution"],S=["Hub Initiative Template"],k=["Image Collection","Image Service","Map Service Layer","Map Service","Scene Service","Scene Layer","Vector Tile Service","Web Map Service","Web Map Tile Service","Web Map","Web Scene","WFS","WMS","WMTS"],b=["360 VR Experience","3DTiles Package","3DTiles Service","API Key","Activity","Addin Package","Administrative Report","AllSource Project","Analysis Model","Apache Parquet","App Bundle","AppBuilder Extension","AppBuilder Widget Package","Application Configuration","Application SDK","ArcGIS Pro Add In","ArcGIS Pro Configuration","ArcPad Package","Arcade Module","Basemap Package","Big Data Analytic","Big Data File Share","Code Attachment","Code Sample","Color Set","Compact Tile Package","Content Category Set","Data Package Collection","Data Pipeline","Data Store","Deep Learning Package","Deep Learning Studio Project","Desktop Add In","Desktop Application","Desktop Application Template","Desktop Style","Earth Configuration","Esri Classification Schema","Esri Classifier Definition","Excalibur Imagery Project","Experience Builder Widget","Experience Builder Widget Package","Explorer Add In","Explorer Layer","Explorer Map","Export Package","Featured Items","Feed","GML","GeoBIM Application","GeoBIM Project","GeoPackage","Geocoding Service","Geodata Service","Geoenrichment Service","Geometry Service","Geoprocessing Package","Geoprocessing Sample","Geoprocessing Service","Globe Document","Globe Service","Group Layer","IPS Configuration","Indoors Map Configuration","Insights Data Engineering Model","Insights Data Engineering Workbook","Insights Model","Insights Script","Insights Theme","Insights Workbook Package","Kernel Gateway Connection","Knowledge Graph","Knowledge Graph Layer","Knowledge Graph Web Investigation","Knowledge Studio Project","Layer","Layer File","Layer Package","Layer Template","Layout","Legend","Living Atlas Export Package","Locator Package","Map Area","Map Document","Map Package","Map Service Definition","Map Template","Media Layer","Mission","Mission Report","Mission Template","Mobile Application","Mobile Basemap Package","Mobile Map Package","Mobile Scene Package","Native Application","Native Application Installer","Native Application Template","Network Analysis Service","Notebook Code Snippet Library","Notebook Code Snippets","OGCFeatureServer","Operations Dashboard Add In","Operations Dashboard Extension","Oriented Imagery Catalog","Ortho Mapping Project","Ortho Mapping Template","Pro Presentation","Pro Project","Pro Report","Pro Report Template","Project Package","Project Template","Published Map","QuickCapture Project","Raster Function Template","Real Time Analytic","Reality Mapping Project","Reality Studio Project","Relational Database Connection","Replication Package","Rule Package","SMX Item","SMX Map","SMX Theme","SQLite Geodatabase","Scene Document","Scene Package","Scene Package Part","Server","Service Definition","Statistical Data Collection","StoryMap Theme","Style","Suitability Model","Survey123 Add In","Symbol Service","Symbol Set","Task File","Tile Package","Urban Project","User License Type Extension","Vector Tile Package","Video Service","Viewer Configuration","Visio Document","WCS","Web AppBuilder Widget","Web Experience Template","Web Link Chart","Windows Mobile Package","Windows Viewer Add In","Workflow","Workflow Manager Package","Workflow Manager Service","Workforce Project","netCDF"],m=["Hub Site Application","Site Application"],r=a=>{if(!a)return;let e=a.toLocaleLowerCase();return Object.keys(i).find(t=>i[t].some(n=>n.toLocaleLowerCase()===e))},o=a=>{if(!a)return;let e=a.toLocaleLowerCase();return i[e]},i={app:c,dataset:s,document:l,event:p,feedback:g,initiative:d,template:S,solution:u,map:k,other:b,site:m};function P(a){return{other:"content",solution:"template"}[a]||a}function y(a){let e;switch(a.toLowerCase()){case"image service":e="dataset";break;case"feature service":case"raster layer":e="map";break;case"microsoft excel":e="document";break;case"cad drawing":case"feature collection template":case"report template":e="content";break;case"hub project":e="project";break;case"discussion":e="discussion";break;case"event":e="event";break;case"hub initiative":e="initiative";break;case"organization":e="organization";break;default:e=P(r(a))}return e}function A(a){let e;switch(a.toLowerCase()){case"content":e=o("other"),e=e.concat(["CAD Drawing","Feature Collection Template","Report Template"]);break;case"template":e=[...o("template"),...o("solution")];break;case"dataset":e=o(a.toLowerCase()).filter(t=>t!=="Feature Collection Template"&&t!=="Raster Layer"&&t!=="Microsoft Excel"),e=e.concat("Image Service");break;case"map":e=o(a.toLowerCase()).filter(t=>t!=="Image Service"),e=e.concat(["Raster Layer"]);break;case"document":e=o(a.toLowerCase()).filter(t=>t!=="CAD Drawing"&&t!=="Report Template"),e=e.concat("Microsoft Excel");break;case"project":e=["Hub Project"];break;case"discussion":e=["Discussion"];break;case"initiative":e=["Hub Initiative"];break;default:e=o(a.toLowerCase())}return e}export{y as a,A as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.10 */
3
+ v1.2.0-next.13 */
4
4
  var n;(function(i){i.InPerson="inPerson",i.Online="online",i.Both="both"})(n||(n={}));var o;(function(i){i.Unlimited="unlimited",i.Fixed="fixed"})(o||(o={}));export{n as a,o 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.10 */
4
- import{a as u}from"./IYW4WSQU.js";import a from"./PZTS2ZM2.js";import{a as C}from"./HCEMIND7.js";import{a as x}from"./S32TK6T7.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./D4ANXHA6.js";import{b as S}from"./VORLDHAW.js";import"./EWMQ7W4X.js";import"./IKL6SJCX.js";import{C as E,D as v,E as T,G as d,h as y,i as s,r as I}from"./DEMY5LXS.js";import"./AM4POOOK.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=x({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${C("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},a)
3
+ v1.2.0-next.13 */
4
+ import{a as u}from"./BQ7CXSHY.js";import a from"./TZBJLNXJ.js";import{a as C}from"./2XAZ3RTK.js";import{a as x}from"./RAJJT4B3.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./TWNSH3OD.js";import{b as S}from"./PZEXCL57.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{C as E,D as v,E as T,G as d,h as y,i as s,r as I}from"./NL2ZCSNM.js";import"./GENBEWQD.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=x({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${C("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},a)
@@ -1,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.10 */
4
- import{a as b}from"./Z6NDLCDR.js";import"./EWMQ7W4X.js";import"./IKL6SJCX.js";import{b as w}from"./NOI3L73W.js";import{C as n,D as r,E as g,G as m,H as i,I as h,h as f,i as e,j as p}from"./DEMY5LXS.js";import"./AM4POOOK.js";var R=f`/** @license
3
+ v1.2.0-next.13 */
4
+ import{a as b}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b as w}from"./OKH2UKNB.js";import{C as n,D as r,E as g,G as m,H as i,I as h,h as f,i as e,j as p}from"./NL2ZCSNM.js";import"./GENBEWQD.js";var R=f`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the 'License');
@@ -0,0 +1,18 @@
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.13 */
4
+ import{a as y,b as x}from"./ICFQB2ET.js";import{b as n}from"./J7NOQ4JL.js";import{a as v}from"./5MKFPVBN.js";import{k as m,l as _}from"./J6NONFBS.js";import{a as g}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b}from"./OKH2UKNB.js";import{C as o,D as a,E as u,G as p,H as r,I as f,h,i,o as d}from"./NL2ZCSNM.js";import"./GENBEWQD.js";var S=h`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:1rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-1{z-index:1}.z-index-2{z-index:2}h1{font-weight:unset;margin:0;padding:0}@media(max-width:800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media(min-width:800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}.height-100{height:100%}.height-32{height:32px}.filter-border{border-color:var(--calcite-color-border-3);border-style:solid;border-width:var(--calcite-border-width-sm)}`,c=class extends u{constructor(){super(),this.solutionsCount=0,this.filterOpen=!0,this._filters={categories:[],searchTerm:""},this.isMobile=!1,this._translations=g({name:"solutions-all-shell",blocking:!0}),this._allSolutionsPanelRef=o(),this._solutionsFilterPanelRef=o(),this._isMobileContextConsumer=n({context:x,subscribe:!0,callback:e=>this.isMobile=e}),this._userSessionContextConsumer=n({context:y,subscribe:!0}),this.filterRemoved=d(),this.listenOn(window,"searchChanged",e=>{e.detail&&e.detail.scope==="all-solutions"&&this._filterApplied(e.detail.option)})}static{this.properties={solutionsCount:9,filterOpen:16,_filters:16,isMobile:16,_translations:16}}static{this.styles=S}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async searchSolutions(e){if(this._allSolutionsPanelRef.value.setSearchOptions(e),"industry"in e||"domain"in e){e.displayValue=e.domain||e.industry;let t=e.industry?Object.entries(m).find(([,l])=>l===e.industry)?.[0]:void 0,s=e.domain?Object.entries(_).find(([,l])=>l===e.domain)?.[0]:void 0;e.industry=t||"",e.domain=s||"",e.value=s||t,this._solutionsFilterPanelRef.value.changeIndustryFilter(e.industry,e.domain,e.displayValue,!0)}else("searchTerm"in e||"sortType"in e)&&("searchTerm"in e&&(this._filters.searchTerm=e.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(e))}async load(){this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value)}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<calcite-button appearance=outline-fill class="filter-button mock-fab z-index-2" icon-start=${e??f} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><h1 class="height-100"><calcite-panel class="border-override header-override panel-override z-index-1"><div class=${`display-flex align-items-center height-32 ${t}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}${this._filters.categories&&this._filters.categories?.length>0&&i`<calcite-button appearance=transparent icon-start=reset @click=${()=>{this._filters={...this._filters,categories:[]},this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories),this.filterRemoved.emit([])}} .label=${this._translations.clearIndustryFilter}>${this._translations.clearIndustryFilter}</calcite-button>`||""}</div>${this.isMobile&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></h1></calcite-shell>`}_getFilterPanel(){let e=this.filterOpen?{display:"flex"}:"";return this.isMobile?i`<calcite-panel class=${p(this.filterOpen?"background-override":"filter background-override")} id=solutions-all-shell-panel-start style=${r(e)}><solutions-filter-panel class="height-100 filter-border" @applyFilter=${t=>{this._filterApplied(t.detail)}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel>`:i`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start position=start slot=panel-start style=${r(e)}><calcite-panel><solutions-filter-panel class="height-100" .isAIsettingEnabled=${!!this._userSessionContextConsumer.value?.token} @applyFilter=${t=>{this._filterApplied(t.detail)}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-all-panel @cardsFetched=${this._updateSolutionCount} style=${r(e)} ${a(this._allSolutionsPanelRef)}></solutions-all-panel>`}_renderChips(){if(!this._filters.categories)return;let e=this._filters.categories.filter(t=>t.type==="industry"||t.type==="domain");return e.length>0?v(e,t=>`${t.type}:${t.value}`,t=>i`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${t.displayValue} @calciteChipClose=${()=>this._chipClosed(t.displayValue,t.type)} .value=${t.displayValue}>${t.displayValue}</calcite-chip>`):void 0}_updateSolutionCount(e){this.solutionsCount=e.detail}_chipClosed(e,t){if(this._filters.categories){if(t==="industry")this._filters.categories=[];else{let s=this._filters.categories.filter(l=>l.displayValue!==e&&l.type!==t);this._filters.categories=s}this._filters.categories.length>0?this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories):this._filters.searchTerm!==""?(this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories),this._allSolutionsPanelRef.value?.searchSolutions({searchTerm:this._filters.searchTerm})):this._allSolutionsPanelRef.value?.searchSolutions(),this.filterRemoved.emit(this._filters.categories)}}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){if(this._filters.categories)if(e){let t=e;"displayValue"in e?this._filters.categories.push(e):Array.isArray(e)&&e.length>0&&(e.length>=2&&(t=[e[e.length-1]]),this._filters.categories=e),"searchTerm"in t&&(this._filters.searchTerm=t.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(t)}else this._filters.categories=[],this._allSolutionsPanelRef.value?.searchSolutions()}};b("solutions-all-shell",c);export{c as SolutionsAllShell};
@@ -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.10 */
4
- import{d as w,e as L}from"./DSDPXTB3.js";import"./GDPOK4XJ.js";import"./DFGNBIP4.js";import{b}from"./FFL7U4K2.js";import{a as V}from"./Z6NDLCDR.js";import"./EWMQ7W4X.js";import"./IKL6SJCX.js";import{b as v}from"./NOI3L73W.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"./DEMY5LXS.js";import"./AM4POOOK.js";var S=y`@layer{/** @license
3
+ v1.2.0-next.13 */
4
+ import{d as w,e as L}from"./YCA4LRXE.js";import"./J6NONFBS.js";import"./5YOZB2R2.js";import{b as V}from"./T5PVRJMO.js";import{a as b}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b as v}from"./OKH2UKNB.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"./NL2ZCSNM.js";import"./GENBEWQD.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");
@@ -15,4 +15,4 @@ import{d as w,e as L}from"./DSDPXTB3.js";import"./GDPOK4XJ.js";import"./DFGNBIP4
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.esri-editor__panel-content{padding-block:0px!important}.esri-editor .esri-item-list__group__header,.esri-editor__panel-content__section .esri-widget__heading{display:none!important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px!important;padding-inline:10px!important}.search-widget{width:92%!important;margin:5px 14px 20px}.display-none{display:none!important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px!important;position:absolute!important;bottom:0;height:auto!important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.edit-location-btn{margin:5px;display:flex}.esri-editor__panel-content{padding-block:10px!important}@media only screen and (max-width:600px){.esri-editor__panel-content{padding-block:0!important;min-height:0!important}}}`,u=class extends M{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel="",this.isMobile=!1,this.selectedLayerId="",this.showGuidingMsg=!0,this.submitNewReportsMessage="",this.updateMapPosition=!1,this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this.showSketchWidgets=!1,this.allowMultipleCreation=!1,this.popupEnabled=!1,this._currentPage="templatePicker",this._editorLoading=!1,this._inValidGeomtryDrawn=!1,this._translations=V({name:"create-feature",blocking:!0}),this._addingAttachment=!1,this._calciteNotice=c(),this._isSubmitBtnClicked=!1,this._mapViewContainer=c(),this._searchDiv=c(),this._guidingMessageRefNode=c(),this.success=h(),this.fail=h(),this.drawComplete=h(),this.editingLocation=h(),this.editingAttachment=h(),this.progressStatus=h(),this.modeChanged=h()}static{this.properties={customizeSubmit:5,enableSearch:5,enableSnapping:5,floorLevel:1,formElements:1,isMobile:5,mapView:0,searchConfiguration:0,selectedLayerId:1,showGuidingMsg:5,submitNewReportsMessage:1,updateMapPosition:5,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,showSketchWidgets:5,allowMultipleCreation:5,popupEnabled:5,_currentPage:16,_editorLoading:16,_inValidGeomtryDrawn:16,_translations:16}}static{this.styles=S}static{this.shadowRootOptions=f}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("isMobile")&&this.hasUpdated&&this.isMobileHandler(),e.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){this.mapView&&await this.mapView.when(async()=>{await this.init()})}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(e){if(e){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){if(this._selectedLayer.templates&&this._editor){let t=this._selectedLayer.templates[0],i={layer:this._selectedLayer,template:t};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(i),await this.hideEditorsElements()}}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(e){this._editor&&(e?await this._setFloorLevel(e):this.reportingArea&&this.reportingAreaLayer&&this._currentPage!=="drawing"?await this.queryIntersectingFeatures():this._currentPage!=="drawing"&&(this._inValidGeomtryDrawn=!1,this.drawComplete.emit(this._inValidGeomtryDrawn)))}async showForm(){this.progressStatus.emit(100),this._container?.classList.remove("display-none"),this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._currentPage="featureForm"}async load(){await this.initModules()}async loaded(){await this.init()}async updated(){if(this.isMobile&&this.updateMapPosition){let e=this._currentPage==="drawing"?80:30,t=this.enableSearch?this._searchDiv.value?.offsetHeight:0;await this._calciteNotice.value?.componentOnReady();let i=(this._calciteNotice.value?.offsetHeight||0)+t+e;this._mapViewContainer.value&&(this._mapViewContainer.value.style.top=`${i}px`)}this.reportingAreaMessage&&this._guidingMessageRefNode.value?.children[0]&&(this._guidingMessageRefNode.value.children[0].style.margin="0px")}disconnectedCallback(){super.disconnectedCallback(),this._editor&&(this._editor.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel?.destroy(),this._editor.destroy(),this.enableSnapping&&this.mapView?.ui.view&&((this.mapView?.ui.view).grid=null))}render(){let e=this._currentPage==="drawing"||this._currentPage==="editing"?"":"display-none",t=this._editorLoading?"":"display-none",i=this._editorLoading?"display-none":"",s=this.isMobile&&this.updateMapPosition?"show-map":"display-none",a=this._inValidGeomtryDrawn?"danger":"success",r=this._inValidGeomtryDrawn?"exclamation-mark-triangle":"lightbulb",n=this.showGuidingMsg&&this._currentPage!=="templatePicker",d=this._translations.chooseCategoryMsg;return this._inValidGeomtryDrawn?d=this.reportingAreaMessage||this._translations.reportOutsideAreaMessage:this._currentPage==="drawing"||this._currentPage==="editing"?d=this._translations.provideLocationMsg:this._currentPage==="featureForm"&&(d=this._translations.provideDetailsMsg),l`${n&&l`<calcite-notice class="notice-msg" .icon=${r} .kind=${a} open ${p(this._calciteNotice)}><div slot=message .innerHTML=${d??""} ${p(this._guidingMessageRefNode)}></div></calcite-notice>`||""}<calcite-loader class=${m(t)} label scale=s></calcite-loader>${this._currentPage==="featureForm"&&this.isMobile&&l`<calcite-button appearance=transparent class="edit-location-btn" icon-start=pin @click=${this.editLocation}>${this._translations.editLocationLabel}</calcite-button>`||""}<div class=${m(i)} id=feature-form></div>${this.enableSearch&&l`<div class=${`search-widget ${e} ${i}`} id=search-widget-ref ${p(this._searchDiv)}></div>`||""}<div class=${m(s)} ${p(this._mapViewContainer)}></div>`}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile&&this.updateMapPosition?this.createMobileMapView():this._loadWidgets()))}async initModules(){let[e,t,i,s,a,r,n,d]=await b(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView","esri/widgets/Home"]);this.Editor=e,this.reactiveUtils=t,this.Search=i,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=r,this.MapView=n,this.Home=d}async createMobileMapView(){this._mapViewContainer.value&&this.MapView&&this.mapView&&(this._mapViewContainer.value.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer.value,zoom:this.mapView.zoom,center:this.mapView.center,popupEnabled:this.popupEnabled}).when(e=>{this._updatedMapView=e;let t=this.Home&&new this.Home({view:this._updatedMapView});t&&this._updatedMapView.ui.add(t,"top-left"),this._loadWidgets()},e=>{console.log(e)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();let e=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar");let t=this._updatedMapView&&await L(this._updatedMapView),i=this.mapView&&await w(this.mapView,this.selectedLayerId);if(i&&(this._selectedLayer=i,!this._selectedLayer?.isTable&&t&&t.forEach(s=>{e.push({layer:s,enabled:s?.type==="feature"&&s?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this.Editor&&(this._editor=new this.Editor({view:this._updatedMapView,layerInfos:e,visibleElements:{settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping,createFeaturesSection:!0,editFeaturesSection:!1,flow:!0,sketch:this.showSketchWidgets&&this._selectedLayer?.geometryType!=="point"},container:this._container}),this._mapViewContainer.value?this.el.insertBefore(this._container,this._mapViewContainer.value):this.el.appendChild(this._container),this._selectedLayer?.isTable&&(this._editorLoading=!0),this._editor)){let s=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="adding-attachment"||o==="editing-attachment"?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)});s&&this._editor.viewModel.addHandles(s);let a=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,o=>{o==="ready"&&this._editor?.viewModel?.activeWorkflow?.type!=="create-features"&&(this.progressStatus.emit(50),this._editorLoading=!0)});a&&this._editor.viewModel.addHandles(a);let r=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,o=>{o==="ready"&&this._editor?.viewModel.featureFormViewModel&&this._currentPage!=="editing"&&(this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))),setTimeout(()=>{this._setFloorLevel(this.floorLevel)},50),!this.allowMultipleCreation&&this._editor.activeWorkflow&&(this._editor.activeWorkflow.data.creationInfo.maxFeatures=1),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit(!1))});r&&this._editor.viewModel.addHandles(r);let n=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="creating-features"&&this._editor?.viewModel.featureFormViewModel&&this._editor.viewModel.featureFormViewModel.state==="disabled"&&(this._mapViewContainer.value?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))});n&&this._editor.viewModel.addHandles(n),this._editor.on("sketch-create",async o=>{o.detail.state==="complete"&&(this._drawnGeometry=o.detail.graphic.geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures())});let d;this._editor.on("sketch-update",o=>{clearTimeout(d),d=window.setTimeout(async()=>{this._drawnGeometry=o.detail.graphics[0].geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures()},50)})}}async queryIntersectingFeatures(){let e=this.mapView&&await w(this.mapView,this.reportingAreaLayer);if(e){let t=e.createQuery();t.geometry=this._drawnGeometry,t.spatialRelationship="intersects";let i=await e.queryFeatureCount(t)===0;this._inValidGeomtryDrawn=i,this.drawComplete.emit(this._inValidGeomtryDrawn)}}editLocation(){this.progressStatus.emit(75),this.editingLocation.emit(),this._container?.classList.add("display-none"),this._mapViewContainer.value?.classList.replace("hide-map","show-map"),this._currentPage="editing"}async startCreate(){return await this.hideEditorsElements(),new Promise((e,t)=>{if(this._editor?.viewModel.featureTemplatesViewModel.items?.length){let i=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.addHandles(this._editor.viewModel.featureTemplatesViewModel.on("select",()=>{this.progressStatus.emit(75),setTimeout(()=>{this.hideEditorsElements().then(()=>{e({})},a=>t(a))},700)})),i.length===1&&this._editor.viewModel.featureTemplatesViewModel.select(i[0]);let s=i.length>1;this.hideEditorsElements().then(()=>{s&&e({})},a=>s&&t(a))}})}async createSearchWidget(){if(this._updatedMapView&&this.Search){let e={view:this._updatedMapView};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(e),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let t;this._search.viewModel.addHandles(this._search.on("search-complete",s=>{this._updatedMapView?.goTo(s.results[0].results[0].extent),this._selectedLayer?.geometryType==="point"&&(t=s.results[0].results[0]?.feature.geometry)}));let i=this.reactiveUtils?.watch(()=>this._search?.viewModel.state,s=>{s==="ready"&&setTimeout(()=>{if(this._editor?.viewModel.sketchViewModel?.createGraphic&&t){let a=t.clone(),r=this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",t).clone();this._editor.viewModel.sketchViewModel.addGraphic(r),this._editor.viewModel.sketchViewModel.emit("create",{graphic:r,state:"complete",toolEventInfo:null,type:"create"}),this._editor.viewModel.sketchViewModel.update(a),this.hideEditorsElements()}else if(this._editor?.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel.updateGraphics.length>0&&t){let a=this._editor?.viewModel.sketchViewModel?.updateGraphics.getItemAt(0);a&&(a.set("geometry",t),this._editor?.viewModel.sketchViewModel?.update(a),this.hideEditorsElements())}},100)});i&&this._search.viewModel.addHandles(i)}}_getSearchConfig(e,t){let i="includeDefaultSources",s=e.sources;return s&&s?.length>0?(e[i]=!1,s.forEach(a=>{if(a.hasOwnProperty("layer")){let r=a,n=r.layer?.id,d=n?t.map?.findLayerById(n):"",o=r?.layer?.url;d?r.layer=d:o&&this.FeatureLayer&&(r.layer=new this.FeatureLayer(o))}}),s?.forEach(a=>{if(a.hasOwnProperty("locator")){let r=a;if(r?.name==="ArcGIS World Geocoding Service"){let n=r.outFields||["Addr_type","Match_addr","StAddr","City"];r.outFields=n,r.singleLineFieldName="SingleLine"}r.url=r.url,delete r.url}})):e={...e,includeDefaultSources:!0},e}async _setFloorLevel(e){if(!e)return;let t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i){let s=t.fields.find(a=>a.name===i);if(s&&!t?.formTemplate)this._editor?.viewModel.featureFormViewModel&&(this._editor.viewModel.featureFormViewModel.setValue(s.name,e),s.editable=!1);else if(t.formTemplate&&this.formElements&&this.ExpressionInfo&&this.FieldElement){let a=new this.ExpressionInfo({expression:`'${e}'`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),r=new this.FieldElement({label:i,editableExpression:"false",fieldName:i,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:a.name});this._updatedMapView?.map.editableLayers.forEach(n=>{let d=this.formElements.orgElements,o=this.formElements.orgExpressionInfos,_=[...d];if(_.push(r),n.type==="feature"&&this.FormTemplate){let g=n,E=new this.FormTemplate({title:g?.formTemplate?.title,description:g?.formTemplate?.description,elements:_,expressionInfos:[a].concat(o)});n.formTemplate=E}})}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}async submitted(e){if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(t=>{if(t.error)throw t.error}))}catch(t){this.fail.emit(t);return}this.success.emit()}}async timeout(e){return new Promise(t=>setTimeout(t,e))}};v("create-feature",u);export{u as CreateFeature};
18
+ */:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.esri-editor__panel-content{padding-block:0px!important}.esri-editor .esri-item-list__group__header,.esri-editor__panel-content__section .esri-widget__heading{display:none!important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px!important;padding-inline:10px!important}.search-widget{width:92%!important;margin:5px 14px 20px}.display-none{display:none!important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px!important;position:absolute!important;bottom:0;height:auto!important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.edit-location-btn{margin:5px;display:flex}.esri-editor__panel-content{padding-block:10px!important}@media only screen and (max-width:600px){.esri-editor__panel-content{padding-block:0!important;min-height:0!important}}}`,u=class extends M{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel="",this.isMobile=!1,this.selectedLayerId="",this.showGuidingMsg=!0,this.submitNewReportsMessage="",this.updateMapPosition=!1,this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this.showSketchWidgets=!1,this.allowMultipleCreation=!1,this.popupEnabled=!1,this._currentPage="templatePicker",this._editorLoading=!1,this._inValidGeomtryDrawn=!1,this._translations=b({name:"create-feature",blocking:!0}),this._addingAttachment=!1,this._calciteNotice=c(),this._isSubmitBtnClicked=!1,this._mapViewContainer=c(),this._searchDiv=c(),this._guidingMessageRefNode=c(),this.success=h(),this.fail=h(),this.drawComplete=h(),this.editingLocation=h(),this.editingAttachment=h(),this.progressStatus=h(),this.modeChanged=h()}static{this.properties={customizeSubmit:5,enableSearch:5,enableSnapping:5,floorLevel:1,formElements:1,isMobile:5,mapView:0,searchConfiguration:0,selectedLayerId:1,showGuidingMsg:5,submitNewReportsMessage:1,updateMapPosition:5,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,showSketchWidgets:5,allowMultipleCreation:5,popupEnabled:5,_currentPage:16,_editorLoading:16,_inValidGeomtryDrawn:16,_translations:16}}static{this.styles=S}static{this.shadowRootOptions=f}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("isMobile")&&this.hasUpdated&&this.isMobileHandler(),e.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){this.mapView&&await this.mapView.when(async()=>{await this.init()})}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(e){if(e){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){if(this._selectedLayer.templates&&this._editor){let t=this._selectedLayer.templates[0],i={layer:this._selectedLayer,template:t};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(i),await this.hideEditorsElements()}}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(e){this._editor&&(e?await this._setFloorLevel(e):this.reportingArea&&this.reportingAreaLayer&&this._currentPage!=="drawing"?await this.queryIntersectingFeatures():this._currentPage!=="drawing"&&(this._inValidGeomtryDrawn=!1,this.drawComplete.emit(this._inValidGeomtryDrawn)))}async showForm(){this.progressStatus.emit(100),this._container?.classList.remove("display-none"),this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._currentPage="featureForm"}async load(){await this.initModules()}async loaded(){await this.init()}async updated(){if(this.isMobile&&this.updateMapPosition){let e=this._currentPage==="drawing"?80:30,t=this.enableSearch?this._searchDiv.value?.offsetHeight:0;await this._calciteNotice.value?.componentOnReady();let i=(this._calciteNotice.value?.offsetHeight||0)+t+e;this._mapViewContainer.value&&(this._mapViewContainer.value.style.top=`${i}px`)}this.reportingAreaMessage&&this._guidingMessageRefNode.value?.children[0]&&(this._guidingMessageRefNode.value.children[0].style.margin="0px")}disconnectedCallback(){super.disconnectedCallback(),this._editor&&(this._editor.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel?.destroy(),this._editor.destroy(),this.enableSnapping&&this.mapView?.ui.view&&((this.mapView?.ui.view).grid=null))}render(){let e=this._currentPage==="drawing"||this._currentPage==="editing"?"":"display-none",t=this._editorLoading?"":"display-none",i=this._editorLoading?"display-none":"",s=this.isMobile&&this.updateMapPosition?"show-map":"display-none",a=this._inValidGeomtryDrawn?"danger":"success",r=this._inValidGeomtryDrawn?"exclamation-mark-triangle":"lightbulb",n=this.showGuidingMsg&&this._currentPage!=="templatePicker",d=this._translations.chooseCategoryMsg;return this._inValidGeomtryDrawn?d=this.reportingAreaMessage||this._translations.reportOutsideAreaMessage:this._currentPage==="drawing"||this._currentPage==="editing"?d=this._translations.provideLocationMsg:this._currentPage==="featureForm"&&(d=this._translations.provideDetailsMsg),l`${n&&l`<calcite-notice class="notice-msg" .icon=${r} .kind=${a} open ${p(this._calciteNotice)}><div slot=message .innerHTML=${d??""} ${p(this._guidingMessageRefNode)}></div></calcite-notice>`||""}<calcite-loader class=${m(t)} label scale=s></calcite-loader>${this._currentPage==="featureForm"&&this.isMobile&&l`<calcite-button appearance=transparent class="edit-location-btn" icon-start=pin @click=${this.editLocation}>${this._translations.editLocationLabel}</calcite-button>`||""}<div class=${m(i)} id=feature-form></div>${this.enableSearch&&l`<div class=${`search-widget ${e} ${i}`} id=search-widget-ref ${p(this._searchDiv)}></div>`||""}<div class=${m(s)} ${p(this._mapViewContainer)}></div>`}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile&&this.updateMapPosition?this.createMobileMapView():this._loadWidgets()))}async initModules(){let[e,t,i,s,a,r,n,d]=await V(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView","esri/widgets/Home"]);this.Editor=e,this.reactiveUtils=t,this.Search=i,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=r,this.MapView=n,this.Home=d}async createMobileMapView(){this._mapViewContainer.value&&this.MapView&&this.mapView&&(this._mapViewContainer.value.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer.value,zoom:this.mapView.zoom,center:this.mapView.center,popupEnabled:this.popupEnabled}).when(e=>{this._updatedMapView=e;let t=this.Home&&new this.Home({view:this._updatedMapView});t&&this._updatedMapView.ui.add(t,"top-left"),this._loadWidgets()},e=>{console.log(e)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();let e=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar");let t=this._updatedMapView&&await L(this._updatedMapView),i=this.mapView&&await w(this.mapView,this.selectedLayerId);if(i&&(this._selectedLayer=i,!this._selectedLayer?.isTable&&t&&t.forEach(s=>{e.push({layer:s,enabled:s?.type==="feature"&&s?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this.Editor&&(this._editor=new this.Editor({view:this._updatedMapView,layerInfos:e,visibleElements:{settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping,createFeaturesSection:!0,editFeaturesSection:!1,flow:!0,sketch:this.showSketchWidgets&&this._selectedLayer?.geometryType!=="point"},container:this._container}),this._mapViewContainer.value?this.el.insertBefore(this._container,this._mapViewContainer.value):this.el.appendChild(this._container),this._selectedLayer?.isTable&&(this._editorLoading=!0),this._editor)){let s=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="adding-attachment"||o==="editing-attachment"?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)});s&&this._editor.viewModel.addHandles(s);let a=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,o=>{o==="ready"&&this._editor?.viewModel?.activeWorkflow?.type!=="create-features"&&(this.progressStatus.emit(50),this._editorLoading=!0)});a&&this._editor.viewModel.addHandles(a);let r=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,o=>{o==="ready"&&this._editor?.viewModel.featureFormViewModel&&this._currentPage!=="editing"&&(this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))),setTimeout(()=>{this._setFloorLevel(this.floorLevel)},50),!this.allowMultipleCreation&&this._editor.activeWorkflow&&(this._editor.activeWorkflow.data.creationInfo.maxFeatures=1),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit(!1))});r&&this._editor.viewModel.addHandles(r);let n=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="creating-features"&&this._editor?.viewModel.featureFormViewModel&&this._editor.viewModel.featureFormViewModel.state==="disabled"&&(this._mapViewContainer.value?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))});n&&this._editor.viewModel.addHandles(n),this._editor.on("sketch-create",async o=>{o.detail.state==="complete"&&(this._drawnGeometry=o.detail.graphic.geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures())});let d;this._editor.on("sketch-update",o=>{clearTimeout(d),d=window.setTimeout(async()=>{this._drawnGeometry=o.detail.graphics[0].geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures()},50)})}}async queryIntersectingFeatures(){let e=this.mapView&&await w(this.mapView,this.reportingAreaLayer);if(e){let t=e.createQuery();t.geometry=this._drawnGeometry,t.spatialRelationship="intersects";let i=await e.queryFeatureCount(t)===0;this._inValidGeomtryDrawn=i,this.drawComplete.emit(this._inValidGeomtryDrawn)}}editLocation(){this.progressStatus.emit(75),this.editingLocation.emit(),this._container?.classList.add("display-none"),this._mapViewContainer.value?.classList.replace("hide-map","show-map"),this._currentPage="editing"}async startCreate(){return await this.hideEditorsElements(),new Promise((e,t)=>{if(this._editor?.viewModel.featureTemplatesViewModel.items?.length){let i=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.addHandles(this._editor.viewModel.featureTemplatesViewModel.on("select",()=>{this.progressStatus.emit(75),setTimeout(()=>{this.hideEditorsElements().then(()=>{e({})},a=>t(a))},700)})),i.length===1&&this._editor.viewModel.featureTemplatesViewModel.select(i[0]);let s=i.length>1;this.hideEditorsElements().then(()=>{s&&e({})},a=>s&&t(a))}})}async createSearchWidget(){if(this._updatedMapView&&this.Search){let e={view:this._updatedMapView};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(e),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let t;this._search.viewModel.addHandles(this._search.on("search-complete",s=>{this._updatedMapView?.goTo(s.results[0].results[0].extent),this._selectedLayer?.geometryType==="point"&&(t=s.results[0].results[0]?.feature.geometry)}));let i=this.reactiveUtils?.watch(()=>this._search?.viewModel.state,s=>{s==="ready"&&setTimeout(()=>{if(this._editor?.viewModel.sketchViewModel?.createGraphic&&t){let a=t.clone(),r=this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",t).clone();this._editor.viewModel.sketchViewModel.addGraphic(r),this._editor.viewModel.sketchViewModel.emit("create",{graphic:r,state:"complete",toolEventInfo:null,type:"create"}),this._editor.viewModel.sketchViewModel.update(a),this.hideEditorsElements()}else if(this._editor?.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel.updateGraphics.length>0&&t){let a=this._editor?.viewModel.sketchViewModel?.updateGraphics.getItemAt(0);a&&(a.set("geometry",t),this._editor?.viewModel.sketchViewModel?.update(a),this.hideEditorsElements())}},100)});i&&this._search.viewModel.addHandles(i)}}_getSearchConfig(e,t){let i="includeDefaultSources",s=e.sources;return s&&s?.length>0?(e[i]=!1,s.forEach(a=>{if(a.hasOwnProperty("layer")){let r=a,n=r.layer?.id,d=n?t.map?.findLayerById(n):"",o=r?.layer?.url;d?r.layer=d:o&&this.FeatureLayer&&(r.layer=new this.FeatureLayer(o))}}),s?.forEach(a=>{if(a.hasOwnProperty("locator")){let r=a;if(r?.name==="ArcGIS World Geocoding Service"){let n=r.outFields||["Addr_type","Match_addr","StAddr","City"];r.outFields=n,r.singleLineFieldName="SingleLine"}r.url=r.url,delete r.url}})):e={...e,includeDefaultSources:!0},e}async _setFloorLevel(e){if(!e)return;let t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i){let s=t.fields.find(a=>a.name===i);if(s&&!t?.formTemplate)this._editor?.viewModel.featureFormViewModel&&(this._editor.viewModel.featureFormViewModel.setValue(s.name,e),s.editable=!1);else if(t.formTemplate&&this.formElements&&this.ExpressionInfo&&this.FieldElement){let a=new this.ExpressionInfo({expression:`'${e}'`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),r=new this.FieldElement({label:i,editableExpression:"false",fieldName:i,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:a.name});this._updatedMapView?.map.editableLayers.forEach(n=>{let d=this.formElements.orgElements,o=this.formElements.orgExpressionInfos,_=[...d];if(_.push(r),n.type==="feature"&&this.FormTemplate){let g=n,E=new this.FormTemplate({title:g?.formTemplate?.title,description:g?.formTemplate?.description,elements:_,expressionInfos:[a].concat(o)});n.formTemplate=E}})}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}async submitted(e){if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(t=>{if(t.error)throw t.error}))}catch(t){this.fail.emit(t);return}this.success.emit()}}async timeout(e){return new Promise(t=>setTimeout(t,e))}};v("create-feature",u);export{u as CreateFeature};
@@ -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.10 */
4
- import{a as O,c as R,d as g,e as u}from"./Y7WCDHHA.js";import{a}from"./NAKMORRS.js";import"./YZKEYQY4.js";import"./373RYCM5.js";import{b as s,d as o,e as c}from"./3U6ZN4C3.js";import"./ERYB7Q7N.js";import"./MZEWWDOB.js";import"./IGMLM2CZ.js";import"./VLFPDXI6.js";import"./3EEQEIIF.js";import"./OBU37VQP.js";import"./76CZRVCQ.js";import"./5UV7A5EY.js";import"./76QGCX3G.js";import"./5XIPGVUW.js";import"./WFSFUZOC.js";import{c as r}from"./2P7AHM5O.js";import"./AM4POOOK.js";var A={[r.channelRead]:s.READ,[r.channelWrite]:s.WRITE,[r.channelReadWrite]:s.READWRITE,[r.channelManage]:s.MANAGE,[r.channelModerate]:s.MODERATE,[r.channelOwner]:s.OWNER},C={[a.anonymous]:{category:o.ANONYMOUS_USER,subCategory:null},[a.authenticated]:{category:o.AUTHENTICATED_USER,subCategory:null},[a.group]:{category:o.GROUP,subCategory:c.MEMBER},[a.groupAdmin]:{category:o.GROUP,subCategory:c.ADMIN},[a.org]:{category:o.ORG,subCategory:c.MEMBER},[a.orgAdmin]:{category:o.ORG,subCategory:c.ADMIN},[a.owner]:{category:o.USER,subCategory:null},[a.user]:{category:o.USER,subCategory:null}};function i(n){function e(l,t){let E=C[t.collaborationType];return E?[...l,Object.assign(Object.assign({},E),{key:t.collaborationId||null,role:A[t.permission]})]:l}return{name:n.name,blockWords:n.blockWords,allowAsAnonymous:n.allowAsAnonymous,channelAclDefinition:n.permissions.reduce(e,[])}}async function f(n,e){let l=i(n),t=await O(Object.assign({data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function I(n,e){let l=i(n),t=await R(Object.assign({channelId:n.id,data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function T(n,e){await g(Object.assign({channelId:n},e.hubRequestOptions))}export{f as createHubChannel,T as deleteHubChannel,I as updateHubChannel};
3
+ v1.2.0-next.13 */
4
+ import{a as O,c as R,d as g,e as u}from"./3WIONUEL.js";import{a}from"./D5WGUMCY.js";import"./OO6WR2YI.js";import"./GW27RGOK.js";import{b as s,d as o,e as c}from"./7ZRSM52L.js";import"./CNV5CX2O.js";import"./R7232VZW.js";import"./YXWR4LGR.js";import"./EUE3LP5B.js";import"./4ATL3D6V.js";import"./YJMNTY3L.js";import"./PZTUREPY.js";import"./HDGNDHWN.js";import"./VTXQOB7L.js";import"./YHGLE6WS.js";import"./ISEVSKNV.js";import{c as r}from"./Z4GZ7VCW.js";import"./GENBEWQD.js";var A={[r.channelRead]:s.READ,[r.channelWrite]:s.WRITE,[r.channelReadWrite]:s.READWRITE,[r.channelManage]:s.MANAGE,[r.channelModerate]:s.MODERATE,[r.channelOwner]:s.OWNER},C={[a.anonymous]:{category:o.ANONYMOUS_USER,subCategory:null},[a.authenticated]:{category:o.AUTHENTICATED_USER,subCategory:null},[a.group]:{category:o.GROUP,subCategory:c.MEMBER},[a.groupAdmin]:{category:o.GROUP,subCategory:c.ADMIN},[a.org]:{category:o.ORG,subCategory:c.MEMBER},[a.orgAdmin]:{category:o.ORG,subCategory:c.ADMIN},[a.owner]:{category:o.USER,subCategory:null},[a.user]:{category:o.USER,subCategory:null}};function i(n){function e(l,t){let E=C[t.collaborationType];return E?[...l,Object.assign(Object.assign({},E),{key:t.collaborationId||null,role:A[t.permission]})]:l}return{name:n.name,blockWords:n.blockWords,allowAsAnonymous:n.allowAsAnonymous,channelAclDefinition:n.permissions.reduce(e,[])}}async function f(n,e){let l=i(n),t=await O(Object.assign({data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function I(n,e){let l=i(n),t=await R(Object.assign({channelId:n.id,data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function T(n,e){await g(Object.assign({channelId:n},e.hubRequestOptions))}export{f as createHubChannel,T as deleteHubChannel,I as updateHubChannel};
@@ -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.10 */
4
- import{a as u,e as h}from"./3MWPNWRI.js";import{a}from"./MGWUOYFW.js";import"./V2DI62OA.js";import"./MPP5RWNY.js";import"./Q6Z4TTIZ.js";import"./7XXVA3F6.js";import"./XCGRV674.js";import"./ERYB7Q7N.js";import"./EFGFST2X.js";import"./OIS6GKYP.js";import"./IGMLM2CZ.js";import"./VLFPDXI6.js";import"./3EEQEIIF.js";import"./OBU37VQP.js";import"./WLNYC3K3.js";import"./76CZRVCQ.js";import"./5UV7A5EY.js";import"./76QGCX3G.js";import"./34R3QFL4.js";import"./5XIPGVUW.js";import"./WFSFUZOC.js";import"./2P7AHM5O.js";import"./GDPOK4XJ.js";import{b as l}from"./NOI3L73W.js";import{E as i,o,r as n}from"./DEMY5LXS.js";import"./AM4POOOK.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
3
+ v1.2.0-next.13 */
4
+ import{a as u,e as h}from"./264FY26S.js";import{a}from"./3O5VSR67.js";import"./G2DGDDPX.js";import"./XUAIYIQ2.js";import"./2AR77FHR.js";import"./LXW2GAAY.js";import"./TZHAIY5U.js";import"./CNV5CX2O.js";import"./CQKWXPD2.js";import"./52TMIUZW.js";import"./YXWR4LGR.js";import"./EUE3LP5B.js";import"./4ATL3D6V.js";import"./YJMNTY3L.js";import"./7DVUJMYC.js";import"./PZTUREPY.js";import"./HDGNDHWN.js";import"./VTXQOB7L.js";import"./M63VDRSQ.js";import"./YHGLE6WS.js";import"./ISEVSKNV.js";import"./Z4GZ7VCW.js";import"./J6NONFBS.js";import{b as l}from"./OKH2UKNB.js";import{E as i,o,r as n}from"./NL2ZCSNM.js";import"./GENBEWQD.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
@@ -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.10 */
4
- import{a as e}from"./P7Q74AQB.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
3
+ v1.2.0-next.13 */
4
+ import{a as e}from"./3GJ7UGOW.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};