@esri/solutions-components 0.11.13 → 0.11.14

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 (1177) hide show
  1. package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
  2. package/dist/cjs/buffer-tools_2.cjs.entry.js +4 -4
  3. package/dist/cjs/card-manager_3.cjs.entry.js +3 -9
  4. package/dist/cjs/consent-manager.cjs.entry.js +2 -2
  5. package/dist/cjs/create-feature_4.cjs.entry.js +4 -4
  6. package/dist/cjs/create-related-feature_3.cjs.entry.js +2 -2
  7. package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -2
  8. package/dist/cjs/crowdsource-reporter.cjs.entry.js +2 -2
  9. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  10. package/dist/cjs/delete-dialog.cjs.entry.js +2 -2
  11. package/dist/cjs/downloadUtils-1935500f.js +3223 -0
  12. package/dist/cjs/effects-3607d1ba.js +83 -0
  13. package/dist/cjs/feature-list.cjs.entry.js +4 -4
  14. package/dist/cjs/helpers-b511b55e.js +867 -0
  15. package/dist/cjs/index-b2821254.js +201 -0
  16. package/dist/cjs/index-b936ec03.js +1903 -0
  17. package/dist/cjs/index.es-3c2404c3.js +11195 -0
  18. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +3 -3
  19. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
  20. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
  21. package/dist/cjs/instant-apps-create.cjs.entry.js +3 -3
  22. package/dist/cjs/instant-apps-export-views.cjs.entry.js +3 -3
  23. package/dist/cjs/instant-apps-export.cjs.entry.js +3 -3
  24. package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +3 -3
  25. package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
  26. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +5 -5
  27. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +5 -5
  28. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +5 -5
  29. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +5 -5
  30. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
  31. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +20 -20
  32. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  33. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +826 -20
  34. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +817 -10
  35. package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +2 -2
  36. package/dist/cjs/instant-apps-measurement.cjs.entry.js +3 -3
  37. package/dist/cjs/instant-apps-popover.cjs.entry.js +3 -3
  38. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  39. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +3 -3
  40. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +3 -3
  41. package/dist/cjs/instant-apps-splash.cjs.entry.js +3 -3
  42. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -5
  43. package/dist/cjs/json-editor_7.cjs.entry.js +4 -4
  44. package/dist/cjs/languageSwitcher-19a22439.js +52 -0
  45. package/dist/cjs/loadModules-e9d8977c.js +23 -0
  46. package/dist/cjs/loader.cjs.js +1 -1
  47. package/dist/cjs/locale-4187fc82.js +943 -0
  48. package/dist/cjs/locale-98346201.js +160 -0
  49. package/dist/cjs/map-layer-picker.cjs.entry.js +4 -4
  50. package/dist/cjs/map-select-tools_3.cjs.entry.js +5 -5
  51. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  52. package/dist/cjs/popupUtils-c0921a77.js +121 -0
  53. package/dist/cjs/public-notification.cjs.entry.js +5 -5
  54. package/dist/cjs/publicNotificationStore-76755c44.js +47 -0
  55. package/dist/cjs/solution-configuration.cjs.entry.js +4 -4
  56. package/dist/cjs/solution-contents_3.cjs.entry.js +4 -4
  57. package/dist/cjs/solution-item-accordion.cjs.entry.js +2 -2
  58. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  59. package/dist/cjs/solution-store-a2a8422d.js +1105 -0
  60. package/dist/cjs/solutions-components.cjs.js +2 -2
  61. package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
  62. package/dist/cjs/store-manager.cjs.entry.js +3 -3
  63. package/dist/cjs/utils-16dbc236.js +153 -0
  64. package/dist/collection/collection-manifest.json +1 -1
  65. package/dist/collection/components/layer-table/layer-table.js +0 -6
  66. package/dist/collection/vendor/calcite-components/2BGOXXHV.js +4 -0
  67. package/dist/collection/vendor/calcite-components/2EBGD5ZQ.js +4 -0
  68. package/dist/collection/vendor/calcite-components/2HEEVITF.js +4 -0
  69. package/dist/collection/vendor/calcite-components/2QBRISAS.js +4 -0
  70. package/dist/collection/vendor/calcite-components/2SKIGCTJ.js +4 -0
  71. package/dist/collection/vendor/calcite-components/2ZPEMPPG.js +4 -0
  72. package/dist/collection/vendor/calcite-components/36DTW2EC.js +4 -0
  73. package/dist/collection/vendor/calcite-components/36E6CTNX.js +4 -0
  74. package/dist/collection/vendor/calcite-components/36HITQ3A.js +4 -0
  75. package/dist/collection/vendor/calcite-components/3FJPBCHI.js +4 -0
  76. package/dist/collection/vendor/calcite-components/3TINKPLC.js +4 -0
  77. package/dist/collection/vendor/calcite-components/3TXD2SW4.js +4 -0
  78. package/dist/collection/vendor/calcite-components/43C4CZJO.js +4 -0
  79. package/dist/collection/vendor/calcite-components/44DZGTF5.js +4 -0
  80. package/dist/collection/vendor/calcite-components/4IWRJJPT.js +4 -0
  81. package/dist/collection/vendor/calcite-components/4L6L5YMT.js +4 -0
  82. package/dist/collection/vendor/calcite-components/4NZHY4FQ.js +4 -0
  83. package/dist/collection/vendor/calcite-components/4OSJHPNQ.js +4 -0
  84. package/dist/collection/vendor/calcite-components/4ZNEZOAP.js +4 -0
  85. package/dist/collection/vendor/calcite-components/4ZTXEQT4.js +4 -0
  86. package/dist/collection/vendor/calcite-components/57U74PDQ.js +4 -0
  87. package/dist/collection/vendor/calcite-components/5BEKT6RT.js +4 -0
  88. package/dist/collection/vendor/calcite-components/5JAMHCQS.js +6 -0
  89. package/dist/collection/vendor/calcite-components/5UP5TQJN.js +4 -0
  90. package/dist/collection/vendor/calcite-components/5VK77MGP.js +4 -0
  91. package/dist/collection/vendor/calcite-components/5ZFIOILW.js +4 -0
  92. package/dist/collection/vendor/calcite-components/62G23PKY.js +4 -0
  93. package/dist/collection/vendor/calcite-components/6A464LBG.js +4 -0
  94. package/dist/collection/vendor/calcite-components/6KXUZBIZ.js +4 -0
  95. package/dist/collection/vendor/calcite-components/6OCJIDQZ.js +4 -0
  96. package/dist/collection/vendor/calcite-components/6PBZNCIY.js +4 -0
  97. package/dist/collection/vendor/calcite-components/6SREDGMN.js +4 -0
  98. package/dist/collection/vendor/calcite-components/73K4GSAV.js +4 -0
  99. package/dist/collection/vendor/calcite-components/757M5TSP.js +5 -0
  100. package/dist/collection/vendor/calcite-components/7F6EUEAO.js +4 -0
  101. package/dist/collection/vendor/calcite-components/7GOGBJPD.js +4 -0
  102. package/dist/collection/vendor/calcite-components/7PLD33LH.js +4 -0
  103. package/dist/collection/vendor/calcite-components/7TNMI44V.js +4 -0
  104. package/dist/collection/vendor/calcite-components/7VZFYJY5.js +4 -0
  105. package/dist/collection/vendor/calcite-components/7XZR3QPX.js +4 -0
  106. package/dist/collection/vendor/calcite-components/A3M4FM7N.js +4 -0
  107. package/dist/collection/vendor/calcite-components/A5WZ32T6.js +4 -0
  108. package/dist/collection/vendor/calcite-components/A6H6UTO7.js +4 -0
  109. package/dist/collection/vendor/calcite-components/AA6WUYLQ.js +4 -0
  110. package/dist/collection/vendor/calcite-components/ADRZSXZD.js +4 -0
  111. package/dist/collection/vendor/calcite-components/AKXBPGJ4.js +4 -0
  112. package/dist/collection/vendor/calcite-components/ALGCYGFE.js +4 -0
  113. package/dist/collection/vendor/calcite-components/B3YKMJGM.js +4 -0
  114. package/dist/collection/vendor/calcite-components/B6DZ4O5H.js +4 -0
  115. package/dist/collection/vendor/calcite-components/B747CT5Q.js +5 -0
  116. package/dist/collection/vendor/calcite-components/BAHKYVUM.js +4 -0
  117. package/dist/collection/vendor/calcite-components/BTHSKXWS.js +4 -0
  118. package/dist/collection/vendor/calcite-components/BWCV737I.js +4 -0
  119. package/dist/collection/vendor/calcite-components/BZV465ZG.js +4 -0
  120. package/dist/collection/vendor/calcite-components/C4A2PCZ4.js +4 -0
  121. package/dist/collection/vendor/calcite-components/C5MKAGNV.js +4 -0
  122. package/dist/collection/vendor/calcite-components/CK3TASCY.js +4 -0
  123. package/dist/collection/vendor/calcite-components/D2MINRBA.js +4 -0
  124. package/dist/collection/vendor/calcite-components/DDOM5RYZ.js +4 -0
  125. package/dist/collection/vendor/calcite-components/DJ4JGNMM.js +4 -0
  126. package/dist/collection/vendor/calcite-components/DL75ZJBG.js +4 -0
  127. package/dist/collection/vendor/calcite-components/DO4RITGJ.js +4 -0
  128. package/dist/collection/vendor/calcite-components/DSL2FNLA.js +4 -0
  129. package/dist/collection/vendor/calcite-components/DTEHSI7W.js +4 -0
  130. package/dist/collection/vendor/calcite-components/DUTPXINY.js +4 -0
  131. package/dist/collection/vendor/calcite-components/DY22I2GZ.js +4 -0
  132. package/dist/collection/vendor/calcite-components/DYN74HSB.js +4 -0
  133. package/dist/collection/vendor/calcite-components/E3CWAGXE.js +4 -0
  134. package/dist/collection/vendor/calcite-components/E3QBKOQQ.js +4 -0
  135. package/dist/collection/vendor/calcite-components/EBFZRB3A.js +4 -0
  136. package/dist/collection/vendor/calcite-components/ECGXAEDQ.js +4 -0
  137. package/dist/collection/vendor/calcite-components/EGC7NBN5.js +4 -0
  138. package/dist/collection/vendor/calcite-components/EILXZAAH.js +4 -0
  139. package/dist/collection/vendor/calcite-components/EISHHIYI.js +4 -0
  140. package/dist/collection/vendor/calcite-components/EN6Y5YN5.js +4 -0
  141. package/dist/collection/vendor/calcite-components/ERDL4UCD.js +4 -0
  142. package/dist/collection/vendor/calcite-components/EYPFBUR7.js +4 -0
  143. package/dist/collection/vendor/calcite-components/F6DYUGAJ.js +4 -0
  144. package/dist/collection/vendor/calcite-components/FAQ7B73H.js +4 -0
  145. package/dist/collection/vendor/calcite-components/FAULLEJY.js +4 -0
  146. package/dist/collection/vendor/calcite-components/FH7G4JPL.js +28 -0
  147. package/dist/collection/vendor/calcite-components/FHAH57CK.js +4 -0
  148. package/dist/collection/vendor/calcite-components/FHGZNYTT.js +4 -0
  149. package/dist/collection/vendor/calcite-components/FLXOWNYW.js +4 -0
  150. package/dist/collection/vendor/calcite-components/FVABUFOH.js +4 -0
  151. package/dist/collection/vendor/calcite-components/G2JF63JV.js +4 -0
  152. package/dist/collection/vendor/calcite-components/G63OZT6W.js +4 -0
  153. package/dist/collection/vendor/calcite-components/GESC7PRY.js +4 -0
  154. package/dist/collection/vendor/calcite-components/GIAH7CPN.js +4 -0
  155. package/dist/collection/vendor/calcite-components/GNZIY4A2.js +4 -0
  156. package/dist/collection/vendor/calcite-components/GPNKRGK6.js +4 -0
  157. package/dist/collection/vendor/calcite-components/GSUR5POR.js +4 -0
  158. package/dist/collection/vendor/calcite-components/GY22257T.js +4 -0
  159. package/dist/collection/vendor/calcite-components/H2PEX7CU.js +4 -0
  160. package/dist/collection/vendor/calcite-components/H2UMFA24.js +4 -0
  161. package/dist/collection/vendor/calcite-components/H7D6N2ZS.js +4 -0
  162. package/dist/collection/vendor/calcite-components/HALAA7KD.js +4 -0
  163. package/dist/collection/vendor/calcite-components/HHC7VSD3.js +4 -0
  164. package/dist/collection/vendor/calcite-components/HNGJKPNS.js +4 -0
  165. package/dist/collection/vendor/calcite-components/HQLH54Q4.js +4 -0
  166. package/dist/collection/vendor/calcite-components/HZLG5SUR.js +4 -0
  167. package/dist/collection/vendor/calcite-components/HZUKYZNP.js +4 -0
  168. package/dist/collection/vendor/calcite-components/IHBCPOXF.js +4 -0
  169. package/dist/collection/vendor/calcite-components/IIERNP6W.js +4 -0
  170. package/dist/collection/vendor/calcite-components/ILJVRQHM.js +4 -0
  171. package/dist/collection/vendor/calcite-components/IQTGVLQG.js +4 -0
  172. package/dist/collection/vendor/calcite-components/IRW4MFB4.js +4 -0
  173. package/dist/collection/vendor/calcite-components/J4KGM5S7.js +5 -0
  174. package/dist/collection/vendor/calcite-components/JCQBVDTR.js +4 -0
  175. package/dist/collection/vendor/calcite-components/JCZIZMKQ.js +4 -0
  176. package/dist/collection/vendor/calcite-components/JE5DGAJR.js +4 -0
  177. package/dist/collection/vendor/calcite-components/JL7OLH3T.js +4 -0
  178. package/dist/collection/vendor/calcite-components/JTWLPIB2.js +4 -0
  179. package/dist/collection/vendor/calcite-components/K53JENHF.js +4 -0
  180. package/dist/collection/vendor/calcite-components/K5ODBKLP.js +4 -0
  181. package/dist/collection/vendor/calcite-components/KC4IYMUL.js +4 -0
  182. package/dist/collection/vendor/calcite-components/KE7WVOAV.js +4 -0
  183. package/dist/collection/vendor/calcite-components/KGJ4OJVP.js +4 -0
  184. package/dist/collection/vendor/calcite-components/KI2CJ7JL.js +4 -0
  185. package/dist/collection/vendor/calcite-components/KNE7ABCR.js +4 -0
  186. package/dist/collection/vendor/calcite-components/KOFGYSC5.js +4 -0
  187. package/dist/collection/vendor/calcite-components/KOH6G4XV.js +4 -0
  188. package/dist/collection/vendor/calcite-components/KRO7CG2Q.js +4 -0
  189. package/dist/collection/vendor/calcite-components/KRZW2DWF.js +4 -0
  190. package/dist/collection/vendor/calcite-components/KSFXKRML.js +4 -0
  191. package/dist/collection/vendor/calcite-components/KTJZCONU.js +4 -0
  192. package/dist/collection/vendor/calcite-components/KXJRCIPX.js +4 -0
  193. package/dist/collection/vendor/calcite-components/L5DK3NJQ.js +4 -0
  194. package/dist/collection/vendor/calcite-components/LEAJPPH4.js +4 -0
  195. package/dist/collection/vendor/calcite-components/LKNGKUUT.js +4 -0
  196. package/dist/collection/vendor/calcite-components/LLYFYC3S.js +4 -0
  197. package/dist/collection/vendor/calcite-components/LLYVXFI4.js +4 -0
  198. package/dist/collection/vendor/calcite-components/LMPMNF4U.js +4 -0
  199. package/dist/collection/vendor/calcite-components/LNUDHR7T.js +4 -0
  200. package/dist/collection/vendor/calcite-components/LRXQU7WR.js +4 -0
  201. package/dist/collection/vendor/calcite-components/MDS5OEJ4.js +4 -0
  202. package/dist/collection/vendor/calcite-components/MEXPAXRW.js +4 -0
  203. package/dist/collection/vendor/calcite-components/MI3K57KT.js +4 -0
  204. package/dist/collection/vendor/calcite-components/MIOMFK6B.js +4 -0
  205. package/dist/collection/vendor/calcite-components/MJII73PP.js +4 -0
  206. package/dist/collection/vendor/calcite-components/MJIKLRLZ.js +4 -0
  207. package/dist/collection/vendor/calcite-components/MQSDYLGW.js +4 -0
  208. package/dist/collection/vendor/calcite-components/MWJLXQ5U.js +4 -0
  209. package/dist/collection/vendor/calcite-components/N2PDJVSE.js +4 -0
  210. package/dist/collection/vendor/calcite-components/NERFG233.js +4 -0
  211. package/dist/collection/vendor/calcite-components/NIUBMFXO.js +4 -0
  212. package/dist/collection/vendor/calcite-components/NK25FAZ6.js +4 -0
  213. package/dist/collection/vendor/calcite-components/NK4ED4IH.js +5 -0
  214. package/dist/collection/vendor/calcite-components/NOJTDKA6.js +4 -0
  215. package/dist/collection/vendor/calcite-components/NUY7EYNX.js +4 -0
  216. package/dist/collection/vendor/calcite-components/NWA7UYBI.js +4 -0
  217. package/dist/collection/vendor/calcite-components/NWNWCSUO.js +4 -0
  218. package/dist/collection/vendor/calcite-components/NYJ2KJKN.js +4 -0
  219. package/dist/collection/vendor/calcite-components/O6RKIBH2.js +4 -0
  220. package/dist/collection/vendor/calcite-components/OP2QHRHR.js +4 -0
  221. package/dist/collection/vendor/calcite-components/P5ZVYEQW.js +4 -0
  222. package/dist/collection/vendor/calcite-components/P6BFNJVU.js +4 -0
  223. package/dist/collection/vendor/calcite-components/P6VB45CQ.js +4 -0
  224. package/dist/collection/vendor/calcite-components/PNTWJB75.js +4 -0
  225. package/dist/collection/vendor/calcite-components/PTUZR2XV.js +4 -0
  226. package/dist/collection/vendor/calcite-components/QBNHVQWS.js +4 -0
  227. package/dist/collection/vendor/calcite-components/QD6WQCPN.js +4 -0
  228. package/dist/collection/vendor/calcite-components/QEBXFL3K.js +4 -0
  229. package/dist/collection/vendor/calcite-components/QNRLRRZZ.js +4 -0
  230. package/dist/collection/vendor/calcite-components/QTGKBVAW.js +4 -0
  231. package/dist/collection/vendor/calcite-components/QVLHSABE.js +4 -0
  232. package/dist/collection/vendor/calcite-components/RATZT6K7.js +4 -0
  233. package/dist/collection/vendor/calcite-components/RAWIO5CJ.js +4 -0
  234. package/dist/collection/vendor/calcite-components/RC4M4Q6U.js +4 -0
  235. package/dist/collection/vendor/calcite-components/ROTKUEC4.js +4 -0
  236. package/dist/collection/vendor/calcite-components/RRR3UCDP.js +4 -0
  237. package/dist/collection/vendor/calcite-components/RXJQR5VC.js +4 -0
  238. package/dist/collection/vendor/calcite-components/RYBJ6HQX.js +4 -0
  239. package/dist/collection/vendor/calcite-components/S2CHZ5WW.js +4 -0
  240. package/dist/collection/vendor/calcite-components/S5QILLXK.js +4 -0
  241. package/dist/collection/vendor/calcite-components/S5WUGWLI.js +4 -0
  242. package/dist/collection/vendor/calcite-components/SLILJOTA.js +4 -0
  243. package/dist/collection/vendor/calcite-components/SZIQPAWB.js +4 -0
  244. package/dist/collection/vendor/calcite-components/T2EFD7MK.js +4 -0
  245. package/dist/collection/vendor/calcite-components/TJ6U6Y2A.js +4 -0
  246. package/dist/collection/vendor/calcite-components/TRXE64SN.js +4 -0
  247. package/dist/collection/vendor/calcite-components/TVXUNVVJ.js +4 -0
  248. package/dist/collection/vendor/calcite-components/TZPOTIWO.js +4 -0
  249. package/dist/collection/vendor/calcite-components/UKOMGWYV.js +4 -0
  250. package/dist/collection/vendor/calcite-components/ULI2WHN6.js +4 -0
  251. package/dist/collection/vendor/calcite-components/UPO2OA2C.js +4 -0
  252. package/dist/collection/vendor/calcite-components/V7QQRUYR.js +4 -0
  253. package/dist/collection/vendor/calcite-components/VA6SEF3H.js +4 -0
  254. package/dist/collection/vendor/calcite-components/VCGYS6AC.js +4 -0
  255. package/dist/collection/vendor/calcite-components/VHIVTMYL.js +22 -0
  256. package/dist/collection/vendor/calcite-components/VIFJTMJE.js +4 -0
  257. package/dist/collection/vendor/calcite-components/VKUXTBMA.js +4 -0
  258. package/dist/collection/vendor/calcite-components/VYBRMYZA.js +4 -0
  259. package/dist/collection/vendor/calcite-components/VYSYUSUT.js +4 -0
  260. package/dist/collection/vendor/calcite-components/WHQERKO3.js +4 -0
  261. package/dist/collection/vendor/calcite-components/WLKZ6TCC.js +4 -0
  262. package/dist/collection/vendor/calcite-components/WRRV2226.js +4 -0
  263. package/dist/collection/vendor/calcite-components/X5OT5VWP.js +4 -0
  264. package/dist/collection/vendor/calcite-components/X7WD2RXW.js +4 -0
  265. package/dist/collection/vendor/calcite-components/XGGCYCLU.js +4 -0
  266. package/dist/collection/vendor/calcite-components/XJUGTTYP.js +4 -0
  267. package/dist/collection/vendor/calcite-components/XK6ESUWM.js +4 -0
  268. package/dist/collection/vendor/calcite-components/XODNGXTR.js +4 -0
  269. package/dist/collection/vendor/calcite-components/XP22SQKN.js +4 -0
  270. package/dist/collection/vendor/calcite-components/XUCLKKAR.js +4 -0
  271. package/dist/collection/vendor/calcite-components/XWO5T62V.js +4 -0
  272. package/dist/collection/vendor/calcite-components/XY7DR573.js +4 -0
  273. package/dist/collection/vendor/calcite-components/Y4WWNYQO.js +4 -0
  274. package/dist/collection/vendor/calcite-components/YF3UCGCR.js +4 -0
  275. package/dist/collection/vendor/calcite-components/YH3WSHXS.js +4 -0
  276. package/dist/collection/vendor/calcite-components/YOI4NTGG.js +4 -0
  277. package/dist/collection/vendor/calcite-components/YP2GEKXK.js +4 -0
  278. package/dist/collection/vendor/calcite-components/YQDF2N5J.js +4 -0
  279. package/dist/collection/vendor/calcite-components/YRCGG4BE.js +4 -0
  280. package/dist/collection/vendor/calcite-components/YTSHEMU3.js +4 -0
  281. package/dist/collection/vendor/calcite-components/YUQIXR5A.js +4 -0
  282. package/dist/collection/vendor/calcite-components/ZAY3SU5H.js +4 -0
  283. package/dist/collection/vendor/calcite-components/ZFGK5MNZ.js +4 -0
  284. package/dist/collection/vendor/calcite-components/ZITAONDY.js +4 -0
  285. package/dist/collection/vendor/calcite-components/ZLW5U3G6.js +4 -0
  286. package/dist/collection/vendor/calcite-components/ZNMXPSOQ.js +4 -0
  287. package/dist/collection/vendor/calcite-components/ZSLV2NNR.js +4 -0
  288. package/dist/collection/vendor/calcite-components/calcite.esm.js +2 -2
  289. package/dist/components/index.es.js +6 -5
  290. package/dist/components/instant-apps-keyboard-shortcuts.js +17 -17
  291. package/dist/components/instant-apps-language-switcher.js +815 -9
  292. package/dist/components/instant-apps-language-translator2.js +1 -1
  293. package/dist/components/layer-table2.js +0 -6
  294. package/dist/components/loadModules2.js +1 -1
  295. package/dist/esm/basemap-gallery_7.entry.js +2 -2
  296. package/dist/esm/buffer-tools_2.entry.js +4 -4
  297. package/dist/esm/card-manager_3.entry.js +3 -9
  298. package/dist/esm/consent-manager.entry.js +2 -2
  299. package/dist/esm/create-feature_4.entry.js +4 -4
  300. package/dist/esm/create-related-feature_3.entry.js +2 -2
  301. package/dist/esm/crowdsource-manager.entry.js +2 -2
  302. package/dist/esm/crowdsource-reporter.entry.js +2 -2
  303. package/dist/esm/deduct-calculator.entry.js +1 -1
  304. package/dist/esm/delete-dialog.entry.js +2 -2
  305. package/dist/esm/downloadUtils-3f4d34a4.js +3217 -0
  306. package/dist/esm/effects-38bc1195.js +81 -0
  307. package/dist/esm/feature-list.entry.js +4 -4
  308. package/dist/esm/helpers-5df33e11.js +841 -0
  309. package/dist/esm/index-000c7a7c.js +1870 -0
  310. package/dist/esm/index-f7533fcc.js +199 -0
  311. package/dist/esm/index.es-87662946.js +11108 -0
  312. package/dist/esm/instant-apps-app-guide.entry.js +3 -3
  313. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
  314. package/dist/esm/instant-apps-control-panel.entry.js +2 -2
  315. package/dist/esm/instant-apps-create.entry.js +3 -3
  316. package/dist/esm/instant-apps-export-views.entry.js +3 -3
  317. package/dist/esm/instant-apps-export.entry.js +3 -3
  318. package/dist/esm/instant-apps-filter-list_2.entry.js +3 -3
  319. package/dist/esm/instant-apps-header.entry.js +1 -1
  320. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +5 -5
  321. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +5 -5
  322. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +5 -5
  323. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +5 -5
  324. package/dist/esm/instant-apps-interactive-legend.entry.js +6 -6
  325. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +20 -20
  326. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  327. package/dist/esm/instant-apps-language-switcher.entry.js +820 -14
  328. package/dist/esm/instant-apps-language-translator.entry.js +813 -6
  329. package/dist/esm/instant-apps-measurement-tool.entry.js +2 -2
  330. package/dist/esm/instant-apps-measurement.entry.js +3 -3
  331. package/dist/esm/instant-apps-popover.entry.js +3 -3
  332. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  333. package/dist/esm/instant-apps-scoreboard.entry.js +3 -3
  334. package/dist/esm/instant-apps-sign-in.entry.js +3 -3
  335. package/dist/esm/instant-apps-splash.entry.js +3 -3
  336. package/dist/esm/instant-apps-time-filter.entry.js +5 -5
  337. package/dist/esm/json-editor_7.entry.js +4 -4
  338. package/dist/esm/languageSwitcher-49bad3f4.js +49 -0
  339. package/dist/esm/loadModules-947ccfd4.js +21 -0
  340. package/dist/esm/loader.js +2 -2
  341. package/dist/esm/locale-857bb2e4.js +938 -0
  342. package/dist/esm/locale-fd7f8659.js +155 -0
  343. package/dist/esm/map-layer-picker.entry.js +4 -4
  344. package/dist/esm/map-select-tools_3.entry.js +5 -5
  345. package/dist/esm/pci-calculator.entry.js +1 -1
  346. package/dist/esm/popupUtils-43fafc2f.js +119 -0
  347. package/dist/esm/public-notification.entry.js +5 -5
  348. package/dist/esm/publicNotificationStore-e5306ea6.js +45 -0
  349. package/dist/esm/solution-configuration.entry.js +4 -4
  350. package/dist/esm/solution-contents_3.entry.js +4 -4
  351. package/dist/esm/solution-item-accordion.entry.js +2 -2
  352. package/dist/esm/solution-item-icon.entry.js +1 -1
  353. package/dist/esm/solution-store-26e3d8c6.js +1103 -0
  354. package/dist/esm/solutions-components.js +3 -3
  355. package/dist/esm/spatial-ref.entry.js +2 -2
  356. package/dist/esm/store-manager.entry.js +3 -3
  357. package/dist/esm/utils-ebba7c2e.js +142 -0
  358. package/dist/solutions-components/p-056d4371.entry.js +6 -0
  359. package/dist/solutions-components/p-0592d206.entry.js +6 -0
  360. package/dist/solutions-components/p-075979ef.js +36 -0
  361. package/dist/solutions-components/p-08ad0b7a.js +6 -0
  362. package/dist/solutions-components/p-0b974e3c.entry.js +6 -0
  363. package/dist/solutions-components/p-0db26b05.entry.js +6 -0
  364. package/dist/solutions-components/p-1309ac58.js +129 -0
  365. package/dist/solutions-components/p-174fa218.js +6 -0
  366. package/dist/solutions-components/p-193034c9.entry.js +6 -0
  367. package/dist/solutions-components/p-1a1791ae.entry.js +21 -0
  368. package/dist/solutions-components/p-1b6461c5.entry.js +6 -0
  369. package/dist/solutions-components/p-1e57a3bd.entry.js +6 -0
  370. package/dist/solutions-components/p-21b280a8.js +21 -0
  371. package/dist/solutions-components/p-2672ee69.entry.js +6 -0
  372. package/dist/solutions-components/p-2937baee.js +6 -0
  373. package/dist/solutions-components/p-3c1c2ca5.entry.js +11 -0
  374. package/dist/solutions-components/p-3d7eeb2d.js +488 -0
  375. package/dist/solutions-components/p-3de6e5d8.entry.js +6 -0
  376. package/dist/solutions-components/p-40578f4b.entry.js +6 -0
  377. package/dist/solutions-components/p-48fcfd06.entry.js +6 -0
  378. package/dist/solutions-components/p-4db43d2c.entry.js +6 -0
  379. package/dist/solutions-components/p-4e34c101.entry.js +6 -0
  380. package/dist/solutions-components/p-4f683af6.entry.js +6 -0
  381. package/dist/solutions-components/p-529325da.entry.js +6 -0
  382. package/dist/solutions-components/p-5c05f28a.entry.js +6 -0
  383. package/dist/solutions-components/p-5dfab24b.entry.js +6 -0
  384. package/dist/solutions-components/p-60bdf635.entry.js +6 -0
  385. package/dist/solutions-components/p-73ba31c4.entry.js +6 -0
  386. package/dist/solutions-components/p-7c958237.entry.js +6 -0
  387. package/dist/solutions-components/p-8169d4af.entry.js +6 -0
  388. package/dist/solutions-components/p-89cae891.entry.js +6 -0
  389. package/dist/solutions-components/p-89fbc318.js +6 -0
  390. package/dist/solutions-components/p-8c40bdec.js +7 -0
  391. package/dist/solutions-components/p-a5069229.entry.js +6 -0
  392. package/dist/solutions-components/p-a5073249.entry.js +6 -0
  393. package/dist/solutions-components/p-a5c51211.entry.js +6 -0
  394. package/dist/solutions-components/p-a940dc0c.entry.js +6 -0
  395. package/dist/solutions-components/p-b6422554.entry.js +6 -0
  396. package/dist/solutions-components/p-b67ff61f.entry.js +6 -0
  397. package/dist/solutions-components/p-b711a822.entry.js +6 -0
  398. package/dist/solutions-components/p-bf007c87.js +21 -0
  399. package/dist/solutions-components/p-c19c273f.entry.js +6 -0
  400. package/dist/solutions-components/p-c223bd87.js +6 -0
  401. package/dist/solutions-components/p-c25ebd5a.entry.js +6 -0
  402. package/dist/solutions-components/p-c63ce830.entry.js +6 -0
  403. package/dist/solutions-components/p-c691c1d1.entry.js +6 -0
  404. package/dist/solutions-components/p-c9e111d7.entry.js +6 -0
  405. package/dist/solutions-components/p-cc3e637d.entry.js +6 -0
  406. package/dist/solutions-components/p-d1d8e331.entry.js +6 -0
  407. package/dist/solutions-components/p-dc188d13.js +61 -0
  408. package/dist/solutions-components/p-ded33011.entry.js +6 -0
  409. package/dist/solutions-components/p-e133f9b2.entry.js +6 -0
  410. package/dist/solutions-components/p-e16bb956.entry.js +6 -0
  411. package/dist/solutions-components/p-e6158877.entry.js +6 -0
  412. package/dist/solutions-components/p-ea19f91b.js +6 -0
  413. package/dist/solutions-components/p-f1faec42.entry.js +6 -0
  414. package/dist/solutions-components/p-f24d6b3e.entry.js +6 -0
  415. package/dist/solutions-components/p-f71dc88a.entry.js +21 -0
  416. package/dist/solutions-components/p-f7c10b7f.entry.js +6 -0
  417. package/dist/solutions-components/p-fa639501.js +6 -0
  418. package/dist/solutions-components/p-fb4dfcbe.entry.js +6 -0
  419. package/dist/solutions-components/solutions-components.esm.js +1 -1
  420. package/dist/solutions-components/vendor/calcite-components/2BGOXXHV.js +4 -0
  421. package/dist/solutions-components/vendor/calcite-components/2EBGD5ZQ.js +4 -0
  422. package/dist/solutions-components/vendor/calcite-components/2HEEVITF.js +4 -0
  423. package/dist/solutions-components/vendor/calcite-components/2QBRISAS.js +4 -0
  424. package/dist/solutions-components/vendor/calcite-components/2SKIGCTJ.js +4 -0
  425. package/dist/solutions-components/vendor/calcite-components/2ZPEMPPG.js +4 -0
  426. package/dist/solutions-components/vendor/calcite-components/36DTW2EC.js +4 -0
  427. package/dist/solutions-components/vendor/calcite-components/36E6CTNX.js +4 -0
  428. package/dist/solutions-components/vendor/calcite-components/36HITQ3A.js +4 -0
  429. package/dist/solutions-components/vendor/calcite-components/3FJPBCHI.js +4 -0
  430. package/dist/solutions-components/vendor/calcite-components/3TINKPLC.js +4 -0
  431. package/dist/solutions-components/vendor/calcite-components/3TXD2SW4.js +4 -0
  432. package/dist/solutions-components/vendor/calcite-components/43C4CZJO.js +4 -0
  433. package/dist/solutions-components/vendor/calcite-components/44DZGTF5.js +4 -0
  434. package/dist/solutions-components/vendor/calcite-components/4IWRJJPT.js +4 -0
  435. package/dist/solutions-components/vendor/calcite-components/4L6L5YMT.js +4 -0
  436. package/dist/solutions-components/vendor/calcite-components/4NZHY4FQ.js +4 -0
  437. package/dist/solutions-components/vendor/calcite-components/4OSJHPNQ.js +4 -0
  438. package/dist/solutions-components/vendor/calcite-components/4ZNEZOAP.js +4 -0
  439. package/dist/solutions-components/vendor/calcite-components/4ZTXEQT4.js +4 -0
  440. package/dist/solutions-components/vendor/calcite-components/57U74PDQ.js +4 -0
  441. package/dist/solutions-components/vendor/calcite-components/5BEKT6RT.js +4 -0
  442. package/dist/solutions-components/vendor/calcite-components/5JAMHCQS.js +6 -0
  443. package/dist/solutions-components/vendor/calcite-components/5UP5TQJN.js +4 -0
  444. package/dist/solutions-components/vendor/calcite-components/5VK77MGP.js +4 -0
  445. package/dist/solutions-components/vendor/calcite-components/5ZFIOILW.js +4 -0
  446. package/dist/solutions-components/vendor/calcite-components/62G23PKY.js +4 -0
  447. package/dist/solutions-components/vendor/calcite-components/6A464LBG.js +4 -0
  448. package/dist/solutions-components/vendor/calcite-components/6KXUZBIZ.js +4 -0
  449. package/dist/solutions-components/vendor/calcite-components/6OCJIDQZ.js +4 -0
  450. package/dist/solutions-components/vendor/calcite-components/6PBZNCIY.js +4 -0
  451. package/dist/solutions-components/vendor/calcite-components/6SREDGMN.js +4 -0
  452. package/dist/solutions-components/vendor/calcite-components/73K4GSAV.js +4 -0
  453. package/dist/solutions-components/vendor/calcite-components/757M5TSP.js +5 -0
  454. package/dist/solutions-components/vendor/calcite-components/7F6EUEAO.js +4 -0
  455. package/dist/solutions-components/vendor/calcite-components/7GOGBJPD.js +4 -0
  456. package/dist/solutions-components/vendor/calcite-components/7PLD33LH.js +4 -0
  457. package/dist/solutions-components/vendor/calcite-components/7TNMI44V.js +4 -0
  458. package/dist/solutions-components/vendor/calcite-components/7VZFYJY5.js +4 -0
  459. package/dist/solutions-components/vendor/calcite-components/7XZR3QPX.js +4 -0
  460. package/dist/solutions-components/vendor/calcite-components/A3M4FM7N.js +4 -0
  461. package/dist/solutions-components/vendor/calcite-components/A5WZ32T6.js +4 -0
  462. package/dist/solutions-components/vendor/calcite-components/A6H6UTO7.js +4 -0
  463. package/dist/solutions-components/vendor/calcite-components/AA6WUYLQ.js +4 -0
  464. package/dist/solutions-components/vendor/calcite-components/ADRZSXZD.js +4 -0
  465. package/dist/solutions-components/vendor/calcite-components/AKXBPGJ4.js +4 -0
  466. package/dist/solutions-components/vendor/calcite-components/ALGCYGFE.js +4 -0
  467. package/dist/solutions-components/vendor/calcite-components/B3YKMJGM.js +4 -0
  468. package/dist/solutions-components/vendor/calcite-components/B6DZ4O5H.js +4 -0
  469. package/dist/solutions-components/vendor/calcite-components/B747CT5Q.js +5 -0
  470. package/dist/solutions-components/vendor/calcite-components/BAHKYVUM.js +4 -0
  471. package/dist/solutions-components/vendor/calcite-components/BTHSKXWS.js +4 -0
  472. package/dist/solutions-components/vendor/calcite-components/BWCV737I.js +4 -0
  473. package/dist/solutions-components/vendor/calcite-components/BZV465ZG.js +4 -0
  474. package/dist/solutions-components/vendor/calcite-components/C4A2PCZ4.js +4 -0
  475. package/dist/solutions-components/vendor/calcite-components/C5MKAGNV.js +4 -0
  476. package/dist/solutions-components/vendor/calcite-components/CK3TASCY.js +4 -0
  477. package/dist/solutions-components/vendor/calcite-components/D2MINRBA.js +4 -0
  478. package/dist/solutions-components/vendor/calcite-components/DDOM5RYZ.js +4 -0
  479. package/dist/solutions-components/vendor/calcite-components/DJ4JGNMM.js +4 -0
  480. package/dist/solutions-components/vendor/calcite-components/DL75ZJBG.js +4 -0
  481. package/dist/solutions-components/vendor/calcite-components/DO4RITGJ.js +4 -0
  482. package/dist/solutions-components/vendor/calcite-components/DSL2FNLA.js +4 -0
  483. package/dist/solutions-components/vendor/calcite-components/DTEHSI7W.js +4 -0
  484. package/dist/solutions-components/vendor/calcite-components/DUTPXINY.js +4 -0
  485. package/dist/solutions-components/vendor/calcite-components/DY22I2GZ.js +4 -0
  486. package/dist/solutions-components/vendor/calcite-components/DYN74HSB.js +4 -0
  487. package/dist/solutions-components/vendor/calcite-components/E3CWAGXE.js +4 -0
  488. package/dist/solutions-components/vendor/calcite-components/E3QBKOQQ.js +4 -0
  489. package/dist/solutions-components/vendor/calcite-components/EBFZRB3A.js +4 -0
  490. package/dist/solutions-components/vendor/calcite-components/ECGXAEDQ.js +4 -0
  491. package/dist/solutions-components/vendor/calcite-components/EGC7NBN5.js +4 -0
  492. package/dist/solutions-components/vendor/calcite-components/EILXZAAH.js +4 -0
  493. package/dist/solutions-components/vendor/calcite-components/EISHHIYI.js +4 -0
  494. package/dist/solutions-components/vendor/calcite-components/EN6Y5YN5.js +4 -0
  495. package/dist/solutions-components/vendor/calcite-components/ERDL4UCD.js +4 -0
  496. package/dist/solutions-components/vendor/calcite-components/EYPFBUR7.js +4 -0
  497. package/dist/solutions-components/vendor/calcite-components/F6DYUGAJ.js +4 -0
  498. package/dist/solutions-components/vendor/calcite-components/FAQ7B73H.js +4 -0
  499. package/dist/solutions-components/vendor/calcite-components/FAULLEJY.js +4 -0
  500. package/dist/solutions-components/vendor/calcite-components/FH7G4JPL.js +28 -0
  501. package/dist/solutions-components/vendor/calcite-components/FHAH57CK.js +4 -0
  502. package/dist/solutions-components/vendor/calcite-components/FHGZNYTT.js +4 -0
  503. package/dist/solutions-components/vendor/calcite-components/FLXOWNYW.js +4 -0
  504. package/dist/solutions-components/vendor/calcite-components/FVABUFOH.js +4 -0
  505. package/dist/solutions-components/vendor/calcite-components/G2JF63JV.js +4 -0
  506. package/dist/solutions-components/vendor/calcite-components/G63OZT6W.js +4 -0
  507. package/dist/solutions-components/vendor/calcite-components/GESC7PRY.js +4 -0
  508. package/dist/solutions-components/vendor/calcite-components/GIAH7CPN.js +4 -0
  509. package/dist/solutions-components/vendor/calcite-components/GNZIY4A2.js +4 -0
  510. package/dist/solutions-components/vendor/calcite-components/GPNKRGK6.js +4 -0
  511. package/dist/solutions-components/vendor/calcite-components/GSUR5POR.js +4 -0
  512. package/dist/solutions-components/vendor/calcite-components/GY22257T.js +4 -0
  513. package/dist/solutions-components/vendor/calcite-components/H2PEX7CU.js +4 -0
  514. package/dist/solutions-components/vendor/calcite-components/H2UMFA24.js +4 -0
  515. package/dist/solutions-components/vendor/calcite-components/H7D6N2ZS.js +4 -0
  516. package/dist/solutions-components/vendor/calcite-components/HALAA7KD.js +4 -0
  517. package/dist/solutions-components/vendor/calcite-components/HHC7VSD3.js +4 -0
  518. package/dist/solutions-components/vendor/calcite-components/HNGJKPNS.js +4 -0
  519. package/dist/solutions-components/vendor/calcite-components/HQLH54Q4.js +4 -0
  520. package/dist/solutions-components/vendor/calcite-components/HZLG5SUR.js +4 -0
  521. package/dist/solutions-components/vendor/calcite-components/HZUKYZNP.js +4 -0
  522. package/dist/solutions-components/vendor/calcite-components/IHBCPOXF.js +4 -0
  523. package/dist/solutions-components/vendor/calcite-components/IIERNP6W.js +4 -0
  524. package/dist/solutions-components/vendor/calcite-components/ILJVRQHM.js +4 -0
  525. package/dist/solutions-components/vendor/calcite-components/IQTGVLQG.js +4 -0
  526. package/dist/solutions-components/vendor/calcite-components/IRW4MFB4.js +4 -0
  527. package/dist/solutions-components/vendor/calcite-components/J4KGM5S7.js +5 -0
  528. package/dist/solutions-components/vendor/calcite-components/JCQBVDTR.js +4 -0
  529. package/dist/solutions-components/vendor/calcite-components/JCZIZMKQ.js +4 -0
  530. package/dist/solutions-components/vendor/calcite-components/JE5DGAJR.js +4 -0
  531. package/dist/solutions-components/vendor/calcite-components/JL7OLH3T.js +4 -0
  532. package/dist/solutions-components/vendor/calcite-components/JTWLPIB2.js +4 -0
  533. package/dist/solutions-components/vendor/calcite-components/K53JENHF.js +4 -0
  534. package/dist/solutions-components/vendor/calcite-components/K5ODBKLP.js +4 -0
  535. package/dist/solutions-components/vendor/calcite-components/KC4IYMUL.js +4 -0
  536. package/dist/solutions-components/vendor/calcite-components/KE7WVOAV.js +4 -0
  537. package/dist/solutions-components/vendor/calcite-components/KGJ4OJVP.js +4 -0
  538. package/dist/solutions-components/vendor/calcite-components/KI2CJ7JL.js +4 -0
  539. package/dist/solutions-components/vendor/calcite-components/KNE7ABCR.js +4 -0
  540. package/dist/solutions-components/vendor/calcite-components/KOFGYSC5.js +4 -0
  541. package/dist/solutions-components/vendor/calcite-components/KOH6G4XV.js +4 -0
  542. package/dist/solutions-components/vendor/calcite-components/KRO7CG2Q.js +4 -0
  543. package/dist/solutions-components/vendor/calcite-components/KRZW2DWF.js +4 -0
  544. package/dist/solutions-components/vendor/calcite-components/KSFXKRML.js +4 -0
  545. package/dist/solutions-components/vendor/calcite-components/KTJZCONU.js +4 -0
  546. package/dist/solutions-components/vendor/calcite-components/KXJRCIPX.js +4 -0
  547. package/dist/solutions-components/vendor/calcite-components/L5DK3NJQ.js +4 -0
  548. package/dist/solutions-components/vendor/calcite-components/LEAJPPH4.js +4 -0
  549. package/dist/solutions-components/vendor/calcite-components/LKNGKUUT.js +4 -0
  550. package/dist/solutions-components/vendor/calcite-components/LLYFYC3S.js +4 -0
  551. package/dist/solutions-components/vendor/calcite-components/LLYVXFI4.js +4 -0
  552. package/dist/solutions-components/vendor/calcite-components/LMPMNF4U.js +4 -0
  553. package/dist/solutions-components/vendor/calcite-components/LNUDHR7T.js +4 -0
  554. package/dist/solutions-components/vendor/calcite-components/LRXQU7WR.js +4 -0
  555. package/dist/solutions-components/vendor/calcite-components/MDS5OEJ4.js +4 -0
  556. package/dist/solutions-components/vendor/calcite-components/MEXPAXRW.js +4 -0
  557. package/dist/solutions-components/vendor/calcite-components/MI3K57KT.js +4 -0
  558. package/dist/solutions-components/vendor/calcite-components/MIOMFK6B.js +4 -0
  559. package/dist/solutions-components/vendor/calcite-components/MJII73PP.js +4 -0
  560. package/dist/solutions-components/vendor/calcite-components/MJIKLRLZ.js +4 -0
  561. package/dist/solutions-components/vendor/calcite-components/MQSDYLGW.js +4 -0
  562. package/dist/solutions-components/vendor/calcite-components/MWJLXQ5U.js +4 -0
  563. package/dist/solutions-components/vendor/calcite-components/N2PDJVSE.js +4 -0
  564. package/dist/solutions-components/vendor/calcite-components/NERFG233.js +4 -0
  565. package/dist/solutions-components/vendor/calcite-components/NIUBMFXO.js +4 -0
  566. package/dist/solutions-components/vendor/calcite-components/NK25FAZ6.js +4 -0
  567. package/dist/solutions-components/vendor/calcite-components/NK4ED4IH.js +5 -0
  568. package/dist/solutions-components/vendor/calcite-components/NOJTDKA6.js +4 -0
  569. package/dist/solutions-components/vendor/calcite-components/NUY7EYNX.js +4 -0
  570. package/dist/solutions-components/vendor/calcite-components/NWA7UYBI.js +4 -0
  571. package/dist/solutions-components/vendor/calcite-components/NWNWCSUO.js +4 -0
  572. package/dist/solutions-components/vendor/calcite-components/NYJ2KJKN.js +4 -0
  573. package/dist/solutions-components/vendor/calcite-components/O6RKIBH2.js +4 -0
  574. package/dist/solutions-components/vendor/calcite-components/OP2QHRHR.js +4 -0
  575. package/dist/solutions-components/vendor/calcite-components/P5ZVYEQW.js +4 -0
  576. package/dist/solutions-components/vendor/calcite-components/P6BFNJVU.js +4 -0
  577. package/dist/solutions-components/vendor/calcite-components/P6VB45CQ.js +4 -0
  578. package/dist/solutions-components/vendor/calcite-components/PNTWJB75.js +4 -0
  579. package/dist/solutions-components/vendor/calcite-components/PTUZR2XV.js +4 -0
  580. package/dist/solutions-components/vendor/calcite-components/QBNHVQWS.js +4 -0
  581. package/dist/solutions-components/vendor/calcite-components/QD6WQCPN.js +4 -0
  582. package/dist/solutions-components/vendor/calcite-components/QEBXFL3K.js +4 -0
  583. package/dist/solutions-components/vendor/calcite-components/QNRLRRZZ.js +4 -0
  584. package/dist/solutions-components/vendor/calcite-components/QTGKBVAW.js +4 -0
  585. package/dist/solutions-components/vendor/calcite-components/QVLHSABE.js +4 -0
  586. package/dist/solutions-components/vendor/calcite-components/RATZT6K7.js +4 -0
  587. package/dist/solutions-components/vendor/calcite-components/RAWIO5CJ.js +4 -0
  588. package/dist/solutions-components/vendor/calcite-components/RC4M4Q6U.js +4 -0
  589. package/dist/solutions-components/vendor/calcite-components/ROTKUEC4.js +4 -0
  590. package/dist/solutions-components/vendor/calcite-components/RRR3UCDP.js +4 -0
  591. package/dist/solutions-components/vendor/calcite-components/RXJQR5VC.js +4 -0
  592. package/dist/solutions-components/vendor/calcite-components/RYBJ6HQX.js +4 -0
  593. package/dist/solutions-components/vendor/calcite-components/S2CHZ5WW.js +4 -0
  594. package/dist/solutions-components/vendor/calcite-components/S5QILLXK.js +4 -0
  595. package/dist/solutions-components/vendor/calcite-components/S5WUGWLI.js +4 -0
  596. package/dist/solutions-components/vendor/calcite-components/SLILJOTA.js +4 -0
  597. package/dist/solutions-components/vendor/calcite-components/SZIQPAWB.js +4 -0
  598. package/dist/solutions-components/vendor/calcite-components/T2EFD7MK.js +4 -0
  599. package/dist/solutions-components/vendor/calcite-components/TJ6U6Y2A.js +4 -0
  600. package/dist/solutions-components/vendor/calcite-components/TRXE64SN.js +4 -0
  601. package/dist/solutions-components/vendor/calcite-components/TVXUNVVJ.js +4 -0
  602. package/dist/solutions-components/vendor/calcite-components/TZPOTIWO.js +4 -0
  603. package/dist/solutions-components/vendor/calcite-components/UKOMGWYV.js +4 -0
  604. package/dist/solutions-components/vendor/calcite-components/ULI2WHN6.js +4 -0
  605. package/dist/solutions-components/vendor/calcite-components/UPO2OA2C.js +4 -0
  606. package/dist/solutions-components/vendor/calcite-components/V7QQRUYR.js +4 -0
  607. package/dist/solutions-components/vendor/calcite-components/VA6SEF3H.js +4 -0
  608. package/dist/solutions-components/vendor/calcite-components/VCGYS6AC.js +4 -0
  609. package/dist/solutions-components/vendor/calcite-components/VHIVTMYL.js +22 -0
  610. package/dist/solutions-components/vendor/calcite-components/VIFJTMJE.js +4 -0
  611. package/dist/solutions-components/vendor/calcite-components/VKUXTBMA.js +4 -0
  612. package/dist/solutions-components/vendor/calcite-components/VYBRMYZA.js +4 -0
  613. package/dist/solutions-components/vendor/calcite-components/VYSYUSUT.js +4 -0
  614. package/dist/solutions-components/vendor/calcite-components/WHQERKO3.js +4 -0
  615. package/dist/solutions-components/vendor/calcite-components/WLKZ6TCC.js +4 -0
  616. package/dist/solutions-components/vendor/calcite-components/WRRV2226.js +4 -0
  617. package/dist/solutions-components/vendor/calcite-components/X5OT5VWP.js +4 -0
  618. package/dist/solutions-components/vendor/calcite-components/X7WD2RXW.js +4 -0
  619. package/dist/solutions-components/vendor/calcite-components/XGGCYCLU.js +4 -0
  620. package/dist/solutions-components/vendor/calcite-components/XJUGTTYP.js +4 -0
  621. package/dist/solutions-components/vendor/calcite-components/XK6ESUWM.js +4 -0
  622. package/dist/solutions-components/vendor/calcite-components/XODNGXTR.js +4 -0
  623. package/dist/solutions-components/vendor/calcite-components/XP22SQKN.js +4 -0
  624. package/dist/solutions-components/vendor/calcite-components/XUCLKKAR.js +4 -0
  625. package/dist/solutions-components/vendor/calcite-components/XWO5T62V.js +4 -0
  626. package/dist/solutions-components/vendor/calcite-components/XY7DR573.js +4 -0
  627. package/dist/solutions-components/vendor/calcite-components/Y4WWNYQO.js +4 -0
  628. package/dist/solutions-components/vendor/calcite-components/YF3UCGCR.js +4 -0
  629. package/dist/solutions-components/vendor/calcite-components/YH3WSHXS.js +4 -0
  630. package/dist/solutions-components/vendor/calcite-components/YOI4NTGG.js +4 -0
  631. package/dist/solutions-components/vendor/calcite-components/YP2GEKXK.js +4 -0
  632. package/dist/solutions-components/vendor/calcite-components/YQDF2N5J.js +4 -0
  633. package/dist/solutions-components/vendor/calcite-components/YRCGG4BE.js +4 -0
  634. package/dist/solutions-components/vendor/calcite-components/YTSHEMU3.js +4 -0
  635. package/dist/solutions-components/vendor/calcite-components/YUQIXR5A.js +4 -0
  636. package/dist/solutions-components/vendor/calcite-components/ZAY3SU5H.js +4 -0
  637. package/dist/solutions-components/vendor/calcite-components/ZFGK5MNZ.js +4 -0
  638. package/dist/solutions-components/vendor/calcite-components/ZITAONDY.js +4 -0
  639. package/dist/solutions-components/vendor/calcite-components/ZLW5U3G6.js +4 -0
  640. package/dist/solutions-components/vendor/calcite-components/ZNMXPSOQ.js +4 -0
  641. package/dist/solutions-components/vendor/calcite-components/ZSLV2NNR.js +4 -0
  642. package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +2 -2
  643. package/dist/solutions-components_commit.txt +7 -4
  644. package/package.json +11 -11
  645. package/dist/cjs/constants-bed33322.js +0 -860
  646. package/dist/cjs/downloadUtils-37a2426c.js +0 -3223
  647. package/dist/cjs/effects-fdd163a9.js +0 -83
  648. package/dist/cjs/helpers-f649d911.js +0 -867
  649. package/dist/cjs/index-915dd9e3.js +0 -201
  650. package/dist/cjs/index-dd05c644.js +0 -1901
  651. package/dist/cjs/index.es-6549e26a.js +0 -11194
  652. package/dist/cjs/loadModules-df8b13ca.js +0 -23
  653. package/dist/cjs/locale-9cb687b1.js +0 -160
  654. package/dist/cjs/locale-d10ec17b.js +0 -943
  655. package/dist/cjs/popupUtils-c1061629.js +0 -121
  656. package/dist/cjs/publicNotificationStore-30643216.js +0 -47
  657. package/dist/cjs/solution-store-9b6ae901.js +0 -1105
  658. package/dist/cjs/utils-acaa2acd.js +0 -153
  659. package/dist/collection/vendor/calcite-components/24P6DEQH.js +0 -4
  660. package/dist/collection/vendor/calcite-components/2AVRQATR.js +0 -4
  661. package/dist/collection/vendor/calcite-components/2CTO4WXV.js +0 -4
  662. package/dist/collection/vendor/calcite-components/2I33XQO3.js +0 -4
  663. package/dist/collection/vendor/calcite-components/2VMQ4ZHH.js +0 -4
  664. package/dist/collection/vendor/calcite-components/2XGOJ2TK.js +0 -4
  665. package/dist/collection/vendor/calcite-components/2Z6KCCXZ.js +0 -4
  666. package/dist/collection/vendor/calcite-components/36GZKNTR.js +0 -4
  667. package/dist/collection/vendor/calcite-components/3APPCCCZ.js +0 -4
  668. package/dist/collection/vendor/calcite-components/3AWHEFUT.js +0 -4
  669. package/dist/collection/vendor/calcite-components/3NZA5FPC.js +0 -4
  670. package/dist/collection/vendor/calcite-components/4CJKDY6O.js +0 -4
  671. package/dist/collection/vendor/calcite-components/4CN4DMSY.js +0 -4
  672. package/dist/collection/vendor/calcite-components/4D6XNDXD.js +0 -4
  673. package/dist/collection/vendor/calcite-components/4GH4R7AR.js +0 -4
  674. package/dist/collection/vendor/calcite-components/4NZ22FMP.js +0 -4
  675. package/dist/collection/vendor/calcite-components/4TW23CN7.js +0 -4
  676. package/dist/collection/vendor/calcite-components/4W55CXIJ.js +0 -4
  677. package/dist/collection/vendor/calcite-components/4YCDJ4BL.js +0 -4
  678. package/dist/collection/vendor/calcite-components/57KYZCIP.js +0 -4
  679. package/dist/collection/vendor/calcite-components/5DTLNTCL.js +0 -4
  680. package/dist/collection/vendor/calcite-components/5E4NPYBD.js +0 -4
  681. package/dist/collection/vendor/calcite-components/5E6WFGQD.js +0 -4
  682. package/dist/collection/vendor/calcite-components/5TU2CNVP.js +0 -4
  683. package/dist/collection/vendor/calcite-components/5U35BULS.js +0 -4
  684. package/dist/collection/vendor/calcite-components/5WIIOMNV.js +0 -6
  685. package/dist/collection/vendor/calcite-components/62UA4F4S.js +0 -4
  686. package/dist/collection/vendor/calcite-components/62VYJEUG.js +0 -4
  687. package/dist/collection/vendor/calcite-components/65NO3JUC.js +0 -4
  688. package/dist/collection/vendor/calcite-components/6GZCW3B4.js +0 -4
  689. package/dist/collection/vendor/calcite-components/6LJIPAYF.js +0 -4
  690. package/dist/collection/vendor/calcite-components/6LTFSVKG.js +0 -4
  691. package/dist/collection/vendor/calcite-components/6QDWHJ5K.js +0 -4
  692. package/dist/collection/vendor/calcite-components/6U6YH5MS.js +0 -4
  693. package/dist/collection/vendor/calcite-components/6VFJT5QA.js +0 -4
  694. package/dist/collection/vendor/calcite-components/6Y4OKAGD.js +0 -4
  695. package/dist/collection/vendor/calcite-components/74SSYUHC.js +0 -5
  696. package/dist/collection/vendor/calcite-components/75GQA36Q.js +0 -4
  697. package/dist/collection/vendor/calcite-components/7AD7VKZ6.js +0 -4
  698. package/dist/collection/vendor/calcite-components/7MGQRD7Z.js +0 -4
  699. package/dist/collection/vendor/calcite-components/7Q4LBBRD.js +0 -4
  700. package/dist/collection/vendor/calcite-components/7YRITLGU.js +0 -4
  701. package/dist/collection/vendor/calcite-components/A43TKJ6J.js +0 -4
  702. package/dist/collection/vendor/calcite-components/A4LOL6RT.js +0 -4
  703. package/dist/collection/vendor/calcite-components/A6LI6WSB.js +0 -4
  704. package/dist/collection/vendor/calcite-components/AD27WW7R.js +0 -4
  705. package/dist/collection/vendor/calcite-components/AHU7FP65.js +0 -4
  706. package/dist/collection/vendor/calcite-components/AI3NCYN4.js +0 -4
  707. package/dist/collection/vendor/calcite-components/AU24EMIU.js +0 -4
  708. package/dist/collection/vendor/calcite-components/AZ2MVQY2.js +0 -4
  709. package/dist/collection/vendor/calcite-components/BNWN4RE2.js +0 -4
  710. package/dist/collection/vendor/calcite-components/BQHDLRDE.js +0 -4
  711. package/dist/collection/vendor/calcite-components/BYJ6CJMV.js +0 -4
  712. package/dist/collection/vendor/calcite-components/C456ACXC.js +0 -4
  713. package/dist/collection/vendor/calcite-components/CFACWEH3.js +0 -4
  714. package/dist/collection/vendor/calcite-components/CZ6YBXDI.js +0 -4
  715. package/dist/collection/vendor/calcite-components/D2IBWEZJ.js +0 -4
  716. package/dist/collection/vendor/calcite-components/D5V7QPEQ.js +0 -4
  717. package/dist/collection/vendor/calcite-components/DV72VFBR.js +0 -4
  718. package/dist/collection/vendor/calcite-components/DXTGGP6F.js +0 -4
  719. package/dist/collection/vendor/calcite-components/DYX3VYAF.js +0 -4
  720. package/dist/collection/vendor/calcite-components/E4INVUQF.js +0 -4
  721. package/dist/collection/vendor/calcite-components/EC76JAWC.js +0 -4
  722. package/dist/collection/vendor/calcite-components/EFBSBD4Q.js +0 -4
  723. package/dist/collection/vendor/calcite-components/EGQT3WAL.js +0 -4
  724. package/dist/collection/vendor/calcite-components/ELLEOMPV.js +0 -4
  725. package/dist/collection/vendor/calcite-components/EQL77WNN.js +0 -4
  726. package/dist/collection/vendor/calcite-components/EREAGDHN.js +0 -4
  727. package/dist/collection/vendor/calcite-components/ETCKBCGT.js +0 -4
  728. package/dist/collection/vendor/calcite-components/F3MFWM7N.js +0 -4
  729. package/dist/collection/vendor/calcite-components/F57BIANZ.js +0 -4
  730. package/dist/collection/vendor/calcite-components/FLGYQACS.js +0 -4
  731. package/dist/collection/vendor/calcite-components/FVKXG7IX.js +0 -4
  732. package/dist/collection/vendor/calcite-components/FX4E46UA.js +0 -4
  733. package/dist/collection/vendor/calcite-components/FXMO4NFQ.js +0 -4
  734. package/dist/collection/vendor/calcite-components/G377AV4F.js +0 -4
  735. package/dist/collection/vendor/calcite-components/G4UFYIPU.js +0 -4
  736. package/dist/collection/vendor/calcite-components/G5GEKU4E.js +0 -4
  737. package/dist/collection/vendor/calcite-components/GEIJQLU7.js +0 -4
  738. package/dist/collection/vendor/calcite-components/GI3XXRNT.js +0 -4
  739. package/dist/collection/vendor/calcite-components/GQMODQ6D.js +0 -4
  740. package/dist/collection/vendor/calcite-components/GSVJHXH2.js +0 -4
  741. package/dist/collection/vendor/calcite-components/GUMVKQTR.js +0 -4
  742. package/dist/collection/vendor/calcite-components/GVOEPDQC.js +0 -4
  743. package/dist/collection/vendor/calcite-components/GWWXB6FV.js +0 -4
  744. package/dist/collection/vendor/calcite-components/GYOK6DI7.js +0 -4
  745. package/dist/collection/vendor/calcite-components/HDAL3OW2.js +0 -4
  746. package/dist/collection/vendor/calcite-components/HIP3N6DH.js +0 -4
  747. package/dist/collection/vendor/calcite-components/HLGSDCWJ.js +0 -4
  748. package/dist/collection/vendor/calcite-components/HPFASJXB.js +0 -4
  749. package/dist/collection/vendor/calcite-components/HPY2G26P.js +0 -4
  750. package/dist/collection/vendor/calcite-components/HYWMTX3X.js +0 -4
  751. package/dist/collection/vendor/calcite-components/HZGIYOHQ.js +0 -4
  752. package/dist/collection/vendor/calcite-components/HZWEQZY7.js +0 -4
  753. package/dist/collection/vendor/calcite-components/I3PTWPIY.js +0 -4
  754. package/dist/collection/vendor/calcite-components/I4CET6OW.js +0 -5
  755. package/dist/collection/vendor/calcite-components/I4G6P727.js +0 -4
  756. package/dist/collection/vendor/calcite-components/I6YTTPYR.js +0 -4
  757. package/dist/collection/vendor/calcite-components/IG7V543A.js +0 -4
  758. package/dist/collection/vendor/calcite-components/IGJ6NR2R.js +0 -4
  759. package/dist/collection/vendor/calcite-components/IMHYTFTU.js +0 -4
  760. package/dist/collection/vendor/calcite-components/IN5OHY5V.js +0 -4
  761. package/dist/collection/vendor/calcite-components/IPMCFXXP.js +0 -4
  762. package/dist/collection/vendor/calcite-components/IWHKNQVC.js +0 -4
  763. package/dist/collection/vendor/calcite-components/IXRENB6A.js +0 -4
  764. package/dist/collection/vendor/calcite-components/J6LILHDF.js +0 -4
  765. package/dist/collection/vendor/calcite-components/JADXGLI3.js +0 -4
  766. package/dist/collection/vendor/calcite-components/JLXVLF74.js +0 -4
  767. package/dist/collection/vendor/calcite-components/JWVCWXY6.js +0 -4
  768. package/dist/collection/vendor/calcite-components/K3474HB5.js +0 -4
  769. package/dist/collection/vendor/calcite-components/K43H5XTK.js +0 -4
  770. package/dist/collection/vendor/calcite-components/KEKOJLYV.js +0 -4
  771. package/dist/collection/vendor/calcite-components/KEXGE4NJ.js +0 -4
  772. package/dist/collection/vendor/calcite-components/KK3Z3W4I.js +0 -4
  773. package/dist/collection/vendor/calcite-components/KS4B6LK4.js +0 -4
  774. package/dist/collection/vendor/calcite-components/KUAZDOO6.js +0 -4
  775. package/dist/collection/vendor/calcite-components/KUGH3USL.js +0 -4
  776. package/dist/collection/vendor/calcite-components/KZL3CPTV.js +0 -5
  777. package/dist/collection/vendor/calcite-components/L3P7IWQ6.js +0 -4
  778. package/dist/collection/vendor/calcite-components/L5FEKBXU.js +0 -5
  779. package/dist/collection/vendor/calcite-components/L7UUJ325.js +0 -4
  780. package/dist/collection/vendor/calcite-components/LF6Z3CUU.js +0 -4
  781. package/dist/collection/vendor/calcite-components/LIPHS6R3.js +0 -4
  782. package/dist/collection/vendor/calcite-components/LNMOXDYH.js +0 -4
  783. package/dist/collection/vendor/calcite-components/LNX6IEUD.js +0 -4
  784. package/dist/collection/vendor/calcite-components/LSGKUJVV.js +0 -4
  785. package/dist/collection/vendor/calcite-components/LXOXPZWA.js +0 -4
  786. package/dist/collection/vendor/calcite-components/LYIEETRB.js +0 -4
  787. package/dist/collection/vendor/calcite-components/M5B5XMQA.js +0 -28
  788. package/dist/collection/vendor/calcite-components/M6TFTMFD.js +0 -4
  789. package/dist/collection/vendor/calcite-components/MO24RCUT.js +0 -4
  790. package/dist/collection/vendor/calcite-components/MOTR6ZPN.js +0 -4
  791. package/dist/collection/vendor/calcite-components/MPZIFQAA.js +0 -4
  792. package/dist/collection/vendor/calcite-components/MSERO633.js +0 -4
  793. package/dist/collection/vendor/calcite-components/N2ACZZPH.js +0 -4
  794. package/dist/collection/vendor/calcite-components/N2QB6H74.js +0 -4
  795. package/dist/collection/vendor/calcite-components/N6UWSSGW.js +0 -4
  796. package/dist/collection/vendor/calcite-components/NALQXSWX.js +0 -4
  797. package/dist/collection/vendor/calcite-components/NCKQSORU.js +0 -4
  798. package/dist/collection/vendor/calcite-components/NFGDGOX2.js +0 -4
  799. package/dist/collection/vendor/calcite-components/NJDS6SVP.js +0 -4
  800. package/dist/collection/vendor/calcite-components/NN7IWJQ4.js +0 -4
  801. package/dist/collection/vendor/calcite-components/NSI34PAP.js +0 -4
  802. package/dist/collection/vendor/calcite-components/O42B2Q4F.js +0 -4
  803. package/dist/collection/vendor/calcite-components/OGF5TUWN.js +0 -4
  804. package/dist/collection/vendor/calcite-components/OJCYBIGG.js +0 -4
  805. package/dist/collection/vendor/calcite-components/OOY2MGXQ.js +0 -4
  806. package/dist/collection/vendor/calcite-components/OQW7QIRH.js +0 -4
  807. package/dist/collection/vendor/calcite-components/OTCDMLUC.js +0 -4
  808. package/dist/collection/vendor/calcite-components/OZVEH4B5.js +0 -4
  809. package/dist/collection/vendor/calcite-components/P7HTSDH2.js +0 -22
  810. package/dist/collection/vendor/calcite-components/PLA7W3AT.js +0 -4
  811. package/dist/collection/vendor/calcite-components/PLXESTWV.js +0 -4
  812. package/dist/collection/vendor/calcite-components/PMITL6IC.js +0 -4
  813. package/dist/collection/vendor/calcite-components/PQBKOUKQ.js +0 -4
  814. package/dist/collection/vendor/calcite-components/PWUMIRZ6.js +0 -4
  815. package/dist/collection/vendor/calcite-components/Q5J2S3VY.js +0 -4
  816. package/dist/collection/vendor/calcite-components/QCZULBWY.js +0 -4
  817. package/dist/collection/vendor/calcite-components/QG6HHELM.js +0 -4
  818. package/dist/collection/vendor/calcite-components/QO3T2U37.js +0 -4
  819. package/dist/collection/vendor/calcite-components/QUDJ3N3N.js +0 -4
  820. package/dist/collection/vendor/calcite-components/QZIFYSUW.js +0 -4
  821. package/dist/collection/vendor/calcite-components/RBW3635P.js +0 -4
  822. package/dist/collection/vendor/calcite-components/RHRLZ43T.js +0 -4
  823. package/dist/collection/vendor/calcite-components/ROGH35KN.js +0 -4
  824. package/dist/collection/vendor/calcite-components/RU7EMDYD.js +0 -4
  825. package/dist/collection/vendor/calcite-components/RYTO443L.js +0 -4
  826. package/dist/collection/vendor/calcite-components/SA6NHSUC.js +0 -4
  827. package/dist/collection/vendor/calcite-components/SGUU7WHF.js +0 -4
  828. package/dist/collection/vendor/calcite-components/SHC4YDKE.js +0 -4
  829. package/dist/collection/vendor/calcite-components/T2ALVZYL.js +0 -4
  830. package/dist/collection/vendor/calcite-components/T3SQ25MS.js +0 -4
  831. package/dist/collection/vendor/calcite-components/TAD74E6K.js +0 -4
  832. package/dist/collection/vendor/calcite-components/TKUCTGZQ.js +0 -4
  833. package/dist/collection/vendor/calcite-components/TNN7X24K.js +0 -4
  834. package/dist/collection/vendor/calcite-components/TVLD3AOO.js +0 -4
  835. package/dist/collection/vendor/calcite-components/U6YW2HHD.js +0 -4
  836. package/dist/collection/vendor/calcite-components/UIF5EHAA.js +0 -4
  837. package/dist/collection/vendor/calcite-components/UPPZPSLX.js +0 -4
  838. package/dist/collection/vendor/calcite-components/UPVIMVOR.js +0 -4
  839. package/dist/collection/vendor/calcite-components/V56SP7RX.js +0 -4
  840. package/dist/collection/vendor/calcite-components/V6MKTTBQ.js +0 -4
  841. package/dist/collection/vendor/calcite-components/V7HGGFTI.js +0 -4
  842. package/dist/collection/vendor/calcite-components/V7JMIX7A.js +0 -4
  843. package/dist/collection/vendor/calcite-components/VALEMC46.js +0 -4
  844. package/dist/collection/vendor/calcite-components/VF6LK743.js +0 -4
  845. package/dist/collection/vendor/calcite-components/VICC3NDD.js +0 -4
  846. package/dist/collection/vendor/calcite-components/VP7NXOWD.js +0 -4
  847. package/dist/collection/vendor/calcite-components/VQDN7OO3.js +0 -4
  848. package/dist/collection/vendor/calcite-components/VRHJ5OK7.js +0 -4
  849. package/dist/collection/vendor/calcite-components/VSJGDSNK.js +0 -4
  850. package/dist/collection/vendor/calcite-components/VTNRWHPJ.js +0 -4
  851. package/dist/collection/vendor/calcite-components/VWRFMVFO.js +0 -4
  852. package/dist/collection/vendor/calcite-components/VYNHH43V.js +0 -4
  853. package/dist/collection/vendor/calcite-components/VZCTXPAB.js +0 -4
  854. package/dist/collection/vendor/calcite-components/W2PJHNUO.js +0 -4
  855. package/dist/collection/vendor/calcite-components/WGOS6SLC.js +0 -4
  856. package/dist/collection/vendor/calcite-components/WI77ICVL.js +0 -4
  857. package/dist/collection/vendor/calcite-components/WIMUFNVO.js +0 -4
  858. package/dist/collection/vendor/calcite-components/WKIE22JL.js +0 -4
  859. package/dist/collection/vendor/calcite-components/WL55EYBZ.js +0 -4
  860. package/dist/collection/vendor/calcite-components/WNKEORGU.js +0 -4
  861. package/dist/collection/vendor/calcite-components/WR2VE6JZ.js +0 -4
  862. package/dist/collection/vendor/calcite-components/XF5JMHOK.js +0 -4
  863. package/dist/collection/vendor/calcite-components/XIZD6JFU.js +0 -4
  864. package/dist/collection/vendor/calcite-components/XKHOO62D.js +0 -4
  865. package/dist/collection/vendor/calcite-components/XV33QQSP.js +0 -4
  866. package/dist/collection/vendor/calcite-components/XXCPMHQI.js +0 -4
  867. package/dist/collection/vendor/calcite-components/XYEB5PRT.js +0 -4
  868. package/dist/collection/vendor/calcite-components/Y3HCVBC6.js +0 -4
  869. package/dist/collection/vendor/calcite-components/Y7BXR2VY.js +0 -4
  870. package/dist/collection/vendor/calcite-components/YDUPLCIG.js +0 -4
  871. package/dist/collection/vendor/calcite-components/YOV6OIH2.js +0 -4
  872. package/dist/collection/vendor/calcite-components/YPEU6VCU.js +0 -4
  873. package/dist/collection/vendor/calcite-components/YUVCAMVK.js +0 -4
  874. package/dist/collection/vendor/calcite-components/YWAPFYEJ.js +0 -4
  875. package/dist/collection/vendor/calcite-components/YZIMMUUW.js +0 -4
  876. package/dist/collection/vendor/calcite-components/Z2FJJLZ3.js +0 -4
  877. package/dist/collection/vendor/calcite-components/ZQ6GYGGS.js +0 -4
  878. package/dist/collection/vendor/calcite-components/ZQG72P7P.js +0 -4
  879. package/dist/collection/vendor/calcite-components/ZROM77D7.js +0 -4
  880. package/dist/collection/vendor/calcite-components/ZWBJOZZD.js +0 -4
  881. package/dist/esm/constants-637a40f5.js +0 -856
  882. package/dist/esm/downloadUtils-05da05a5.js +0 -3217
  883. package/dist/esm/effects-d42ccf96.js +0 -81
  884. package/dist/esm/helpers-3d7571df.js +0 -841
  885. package/dist/esm/index-29ce74dd.js +0 -199
  886. package/dist/esm/index-b49a8ff6.js +0 -1868
  887. package/dist/esm/index.es-6b399444.js +0 -11107
  888. package/dist/esm/loadModules-d5a25252.js +0 -21
  889. package/dist/esm/locale-2b4fcfe1.js +0 -155
  890. package/dist/esm/locale-63587966.js +0 -938
  891. package/dist/esm/popupUtils-d4429b90.js +0 -119
  892. package/dist/esm/publicNotificationStore-0af2f0c7.js +0 -45
  893. package/dist/esm/solution-store-8f4fe1d9.js +0 -1103
  894. package/dist/esm/utils-f9183b76.js +0 -142
  895. package/dist/solutions-components/p-004426dc.entry.js +0 -6
  896. package/dist/solutions-components/p-01068666.entry.js +0 -6
  897. package/dist/solutions-components/p-02c009a2.entry.js +0 -6
  898. package/dist/solutions-components/p-1546373f.entry.js +0 -6
  899. package/dist/solutions-components/p-1f670efc.entry.js +0 -6
  900. package/dist/solutions-components/p-1f72c19b.entry.js +0 -6
  901. package/dist/solutions-components/p-27ff3a85.entry.js +0 -6
  902. package/dist/solutions-components/p-285c4fe6.js +0 -21
  903. package/dist/solutions-components/p-2fc2238d.entry.js +0 -6
  904. package/dist/solutions-components/p-33ca9789.entry.js +0 -6
  905. package/dist/solutions-components/p-37fd56c8.entry.js +0 -6
  906. package/dist/solutions-components/p-3df0f3d3.js +0 -6
  907. package/dist/solutions-components/p-419233a3.js +0 -488
  908. package/dist/solutions-components/p-442a68ea.entry.js +0 -6
  909. package/dist/solutions-components/p-4695cfab.js +0 -6
  910. package/dist/solutions-components/p-48242dd4.js +0 -61
  911. package/dist/solutions-components/p-4b5ea333.entry.js +0 -6
  912. package/dist/solutions-components/p-4bd66ae5.entry.js +0 -6
  913. package/dist/solutions-components/p-4d55eb0e.entry.js +0 -6
  914. package/dist/solutions-components/p-50dfa0b8.entry.js +0 -6
  915. package/dist/solutions-components/p-59633ef0.entry.js +0 -6
  916. package/dist/solutions-components/p-67befb92.entry.js +0 -6
  917. package/dist/solutions-components/p-68fd9d5d.entry.js +0 -6
  918. package/dist/solutions-components/p-723482d1.js +0 -21
  919. package/dist/solutions-components/p-750a8a39.entry.js +0 -6
  920. package/dist/solutions-components/p-79756a0f.entry.js +0 -6
  921. package/dist/solutions-components/p-7b42823b.entry.js +0 -6
  922. package/dist/solutions-components/p-7ded7b2e.js +0 -36
  923. package/dist/solutions-components/p-80033583.entry.js +0 -6
  924. package/dist/solutions-components/p-80262cb7.js +0 -6
  925. package/dist/solutions-components/p-8384ba17.entry.js +0 -6
  926. package/dist/solutions-components/p-893d8e26.entry.js +0 -6
  927. package/dist/solutions-components/p-905a911c.entry.js +0 -6
  928. package/dist/solutions-components/p-94aca64c.entry.js +0 -6
  929. package/dist/solutions-components/p-957a880f.entry.js +0 -6
  930. package/dist/solutions-components/p-9775f9d7.entry.js +0 -6
  931. package/dist/solutions-components/p-9b741908.entry.js +0 -11
  932. package/dist/solutions-components/p-9c4ea2e2.entry.js +0 -6
  933. package/dist/solutions-components/p-a0f4c730.entry.js +0 -6
  934. package/dist/solutions-components/p-a5bfdb73.entry.js +0 -6
  935. package/dist/solutions-components/p-a650b356.entry.js +0 -6
  936. package/dist/solutions-components/p-a725bcdf.entry.js +0 -6
  937. package/dist/solutions-components/p-abe9c0de.entry.js +0 -6
  938. package/dist/solutions-components/p-af355bbd.entry.js +0 -6
  939. package/dist/solutions-components/p-b266dcf6.entry.js +0 -6
  940. package/dist/solutions-components/p-b7a6512b.js +0 -6
  941. package/dist/solutions-components/p-b9fc59da.js +0 -6
  942. package/dist/solutions-components/p-be144ed5.entry.js +0 -6
  943. package/dist/solutions-components/p-c1ec9613.entry.js +0 -6
  944. package/dist/solutions-components/p-c3107e95.entry.js +0 -6
  945. package/dist/solutions-components/p-c34857fe.js +0 -129
  946. package/dist/solutions-components/p-c3eae9ba.js +0 -7
  947. package/dist/solutions-components/p-c60990bf.entry.js +0 -6
  948. package/dist/solutions-components/p-c65ff1a0.entry.js +0 -21
  949. package/dist/solutions-components/p-c97d6d8a.entry.js +0 -6
  950. package/dist/solutions-components/p-c987cdf2.entry.js +0 -6
  951. package/dist/solutions-components/p-d001e961.js +0 -6
  952. package/dist/solutions-components/p-ddd731d3.entry.js +0 -6
  953. package/dist/solutions-components/p-f053236e.entry.js +0 -6
  954. package/dist/solutions-components/p-f08084fb.entry.js +0 -21
  955. package/dist/solutions-components/p-fb75e187.js +0 -6
  956. package/dist/solutions-components/vendor/calcite-components/24P6DEQH.js +0 -4
  957. package/dist/solutions-components/vendor/calcite-components/2AVRQATR.js +0 -4
  958. package/dist/solutions-components/vendor/calcite-components/2CTO4WXV.js +0 -4
  959. package/dist/solutions-components/vendor/calcite-components/2I33XQO3.js +0 -4
  960. package/dist/solutions-components/vendor/calcite-components/2VMQ4ZHH.js +0 -4
  961. package/dist/solutions-components/vendor/calcite-components/2XGOJ2TK.js +0 -4
  962. package/dist/solutions-components/vendor/calcite-components/2Z6KCCXZ.js +0 -4
  963. package/dist/solutions-components/vendor/calcite-components/36GZKNTR.js +0 -4
  964. package/dist/solutions-components/vendor/calcite-components/3APPCCCZ.js +0 -4
  965. package/dist/solutions-components/vendor/calcite-components/3AWHEFUT.js +0 -4
  966. package/dist/solutions-components/vendor/calcite-components/3NZA5FPC.js +0 -4
  967. package/dist/solutions-components/vendor/calcite-components/4CJKDY6O.js +0 -4
  968. package/dist/solutions-components/vendor/calcite-components/4CN4DMSY.js +0 -4
  969. package/dist/solutions-components/vendor/calcite-components/4D6XNDXD.js +0 -4
  970. package/dist/solutions-components/vendor/calcite-components/4GH4R7AR.js +0 -4
  971. package/dist/solutions-components/vendor/calcite-components/4NZ22FMP.js +0 -4
  972. package/dist/solutions-components/vendor/calcite-components/4TW23CN7.js +0 -4
  973. package/dist/solutions-components/vendor/calcite-components/4W55CXIJ.js +0 -4
  974. package/dist/solutions-components/vendor/calcite-components/4YCDJ4BL.js +0 -4
  975. package/dist/solutions-components/vendor/calcite-components/57KYZCIP.js +0 -4
  976. package/dist/solutions-components/vendor/calcite-components/5DTLNTCL.js +0 -4
  977. package/dist/solutions-components/vendor/calcite-components/5E4NPYBD.js +0 -4
  978. package/dist/solutions-components/vendor/calcite-components/5E6WFGQD.js +0 -4
  979. package/dist/solutions-components/vendor/calcite-components/5TU2CNVP.js +0 -4
  980. package/dist/solutions-components/vendor/calcite-components/5U35BULS.js +0 -4
  981. package/dist/solutions-components/vendor/calcite-components/5WIIOMNV.js +0 -6
  982. package/dist/solutions-components/vendor/calcite-components/62UA4F4S.js +0 -4
  983. package/dist/solutions-components/vendor/calcite-components/62VYJEUG.js +0 -4
  984. package/dist/solutions-components/vendor/calcite-components/65NO3JUC.js +0 -4
  985. package/dist/solutions-components/vendor/calcite-components/6GZCW3B4.js +0 -4
  986. package/dist/solutions-components/vendor/calcite-components/6LJIPAYF.js +0 -4
  987. package/dist/solutions-components/vendor/calcite-components/6LTFSVKG.js +0 -4
  988. package/dist/solutions-components/vendor/calcite-components/6QDWHJ5K.js +0 -4
  989. package/dist/solutions-components/vendor/calcite-components/6U6YH5MS.js +0 -4
  990. package/dist/solutions-components/vendor/calcite-components/6VFJT5QA.js +0 -4
  991. package/dist/solutions-components/vendor/calcite-components/6Y4OKAGD.js +0 -4
  992. package/dist/solutions-components/vendor/calcite-components/74SSYUHC.js +0 -5
  993. package/dist/solutions-components/vendor/calcite-components/75GQA36Q.js +0 -4
  994. package/dist/solutions-components/vendor/calcite-components/7AD7VKZ6.js +0 -4
  995. package/dist/solutions-components/vendor/calcite-components/7MGQRD7Z.js +0 -4
  996. package/dist/solutions-components/vendor/calcite-components/7Q4LBBRD.js +0 -4
  997. package/dist/solutions-components/vendor/calcite-components/7YRITLGU.js +0 -4
  998. package/dist/solutions-components/vendor/calcite-components/A43TKJ6J.js +0 -4
  999. package/dist/solutions-components/vendor/calcite-components/A4LOL6RT.js +0 -4
  1000. package/dist/solutions-components/vendor/calcite-components/A6LI6WSB.js +0 -4
  1001. package/dist/solutions-components/vendor/calcite-components/AD27WW7R.js +0 -4
  1002. package/dist/solutions-components/vendor/calcite-components/AHU7FP65.js +0 -4
  1003. package/dist/solutions-components/vendor/calcite-components/AI3NCYN4.js +0 -4
  1004. package/dist/solutions-components/vendor/calcite-components/AU24EMIU.js +0 -4
  1005. package/dist/solutions-components/vendor/calcite-components/AZ2MVQY2.js +0 -4
  1006. package/dist/solutions-components/vendor/calcite-components/BNWN4RE2.js +0 -4
  1007. package/dist/solutions-components/vendor/calcite-components/BQHDLRDE.js +0 -4
  1008. package/dist/solutions-components/vendor/calcite-components/BYJ6CJMV.js +0 -4
  1009. package/dist/solutions-components/vendor/calcite-components/C456ACXC.js +0 -4
  1010. package/dist/solutions-components/vendor/calcite-components/CFACWEH3.js +0 -4
  1011. package/dist/solutions-components/vendor/calcite-components/CZ6YBXDI.js +0 -4
  1012. package/dist/solutions-components/vendor/calcite-components/D2IBWEZJ.js +0 -4
  1013. package/dist/solutions-components/vendor/calcite-components/D5V7QPEQ.js +0 -4
  1014. package/dist/solutions-components/vendor/calcite-components/DV72VFBR.js +0 -4
  1015. package/dist/solutions-components/vendor/calcite-components/DXTGGP6F.js +0 -4
  1016. package/dist/solutions-components/vendor/calcite-components/DYX3VYAF.js +0 -4
  1017. package/dist/solutions-components/vendor/calcite-components/E4INVUQF.js +0 -4
  1018. package/dist/solutions-components/vendor/calcite-components/EC76JAWC.js +0 -4
  1019. package/dist/solutions-components/vendor/calcite-components/EFBSBD4Q.js +0 -4
  1020. package/dist/solutions-components/vendor/calcite-components/EGQT3WAL.js +0 -4
  1021. package/dist/solutions-components/vendor/calcite-components/ELLEOMPV.js +0 -4
  1022. package/dist/solutions-components/vendor/calcite-components/EQL77WNN.js +0 -4
  1023. package/dist/solutions-components/vendor/calcite-components/EREAGDHN.js +0 -4
  1024. package/dist/solutions-components/vendor/calcite-components/ETCKBCGT.js +0 -4
  1025. package/dist/solutions-components/vendor/calcite-components/F3MFWM7N.js +0 -4
  1026. package/dist/solutions-components/vendor/calcite-components/F57BIANZ.js +0 -4
  1027. package/dist/solutions-components/vendor/calcite-components/FLGYQACS.js +0 -4
  1028. package/dist/solutions-components/vendor/calcite-components/FVKXG7IX.js +0 -4
  1029. package/dist/solutions-components/vendor/calcite-components/FX4E46UA.js +0 -4
  1030. package/dist/solutions-components/vendor/calcite-components/FXMO4NFQ.js +0 -4
  1031. package/dist/solutions-components/vendor/calcite-components/G377AV4F.js +0 -4
  1032. package/dist/solutions-components/vendor/calcite-components/G4UFYIPU.js +0 -4
  1033. package/dist/solutions-components/vendor/calcite-components/G5GEKU4E.js +0 -4
  1034. package/dist/solutions-components/vendor/calcite-components/GEIJQLU7.js +0 -4
  1035. package/dist/solutions-components/vendor/calcite-components/GI3XXRNT.js +0 -4
  1036. package/dist/solutions-components/vendor/calcite-components/GQMODQ6D.js +0 -4
  1037. package/dist/solutions-components/vendor/calcite-components/GSVJHXH2.js +0 -4
  1038. package/dist/solutions-components/vendor/calcite-components/GUMVKQTR.js +0 -4
  1039. package/dist/solutions-components/vendor/calcite-components/GVOEPDQC.js +0 -4
  1040. package/dist/solutions-components/vendor/calcite-components/GWWXB6FV.js +0 -4
  1041. package/dist/solutions-components/vendor/calcite-components/GYOK6DI7.js +0 -4
  1042. package/dist/solutions-components/vendor/calcite-components/HDAL3OW2.js +0 -4
  1043. package/dist/solutions-components/vendor/calcite-components/HIP3N6DH.js +0 -4
  1044. package/dist/solutions-components/vendor/calcite-components/HLGSDCWJ.js +0 -4
  1045. package/dist/solutions-components/vendor/calcite-components/HPFASJXB.js +0 -4
  1046. package/dist/solutions-components/vendor/calcite-components/HPY2G26P.js +0 -4
  1047. package/dist/solutions-components/vendor/calcite-components/HYWMTX3X.js +0 -4
  1048. package/dist/solutions-components/vendor/calcite-components/HZGIYOHQ.js +0 -4
  1049. package/dist/solutions-components/vendor/calcite-components/HZWEQZY7.js +0 -4
  1050. package/dist/solutions-components/vendor/calcite-components/I3PTWPIY.js +0 -4
  1051. package/dist/solutions-components/vendor/calcite-components/I4CET6OW.js +0 -5
  1052. package/dist/solutions-components/vendor/calcite-components/I4G6P727.js +0 -4
  1053. package/dist/solutions-components/vendor/calcite-components/I6YTTPYR.js +0 -4
  1054. package/dist/solutions-components/vendor/calcite-components/IG7V543A.js +0 -4
  1055. package/dist/solutions-components/vendor/calcite-components/IGJ6NR2R.js +0 -4
  1056. package/dist/solutions-components/vendor/calcite-components/IMHYTFTU.js +0 -4
  1057. package/dist/solutions-components/vendor/calcite-components/IN5OHY5V.js +0 -4
  1058. package/dist/solutions-components/vendor/calcite-components/IPMCFXXP.js +0 -4
  1059. package/dist/solutions-components/vendor/calcite-components/IWHKNQVC.js +0 -4
  1060. package/dist/solutions-components/vendor/calcite-components/IXRENB6A.js +0 -4
  1061. package/dist/solutions-components/vendor/calcite-components/J6LILHDF.js +0 -4
  1062. package/dist/solutions-components/vendor/calcite-components/JADXGLI3.js +0 -4
  1063. package/dist/solutions-components/vendor/calcite-components/JLXVLF74.js +0 -4
  1064. package/dist/solutions-components/vendor/calcite-components/JWVCWXY6.js +0 -4
  1065. package/dist/solutions-components/vendor/calcite-components/K3474HB5.js +0 -4
  1066. package/dist/solutions-components/vendor/calcite-components/K43H5XTK.js +0 -4
  1067. package/dist/solutions-components/vendor/calcite-components/KEKOJLYV.js +0 -4
  1068. package/dist/solutions-components/vendor/calcite-components/KEXGE4NJ.js +0 -4
  1069. package/dist/solutions-components/vendor/calcite-components/KK3Z3W4I.js +0 -4
  1070. package/dist/solutions-components/vendor/calcite-components/KS4B6LK4.js +0 -4
  1071. package/dist/solutions-components/vendor/calcite-components/KUAZDOO6.js +0 -4
  1072. package/dist/solutions-components/vendor/calcite-components/KUGH3USL.js +0 -4
  1073. package/dist/solutions-components/vendor/calcite-components/KZL3CPTV.js +0 -5
  1074. package/dist/solutions-components/vendor/calcite-components/L3P7IWQ6.js +0 -4
  1075. package/dist/solutions-components/vendor/calcite-components/L5FEKBXU.js +0 -5
  1076. package/dist/solutions-components/vendor/calcite-components/L7UUJ325.js +0 -4
  1077. package/dist/solutions-components/vendor/calcite-components/LF6Z3CUU.js +0 -4
  1078. package/dist/solutions-components/vendor/calcite-components/LIPHS6R3.js +0 -4
  1079. package/dist/solutions-components/vendor/calcite-components/LNMOXDYH.js +0 -4
  1080. package/dist/solutions-components/vendor/calcite-components/LNX6IEUD.js +0 -4
  1081. package/dist/solutions-components/vendor/calcite-components/LSGKUJVV.js +0 -4
  1082. package/dist/solutions-components/vendor/calcite-components/LXOXPZWA.js +0 -4
  1083. package/dist/solutions-components/vendor/calcite-components/LYIEETRB.js +0 -4
  1084. package/dist/solutions-components/vendor/calcite-components/M5B5XMQA.js +0 -28
  1085. package/dist/solutions-components/vendor/calcite-components/M6TFTMFD.js +0 -4
  1086. package/dist/solutions-components/vendor/calcite-components/MO24RCUT.js +0 -4
  1087. package/dist/solutions-components/vendor/calcite-components/MOTR6ZPN.js +0 -4
  1088. package/dist/solutions-components/vendor/calcite-components/MPZIFQAA.js +0 -4
  1089. package/dist/solutions-components/vendor/calcite-components/MSERO633.js +0 -4
  1090. package/dist/solutions-components/vendor/calcite-components/N2ACZZPH.js +0 -4
  1091. package/dist/solutions-components/vendor/calcite-components/N2QB6H74.js +0 -4
  1092. package/dist/solutions-components/vendor/calcite-components/N6UWSSGW.js +0 -4
  1093. package/dist/solutions-components/vendor/calcite-components/NALQXSWX.js +0 -4
  1094. package/dist/solutions-components/vendor/calcite-components/NCKQSORU.js +0 -4
  1095. package/dist/solutions-components/vendor/calcite-components/NFGDGOX2.js +0 -4
  1096. package/dist/solutions-components/vendor/calcite-components/NJDS6SVP.js +0 -4
  1097. package/dist/solutions-components/vendor/calcite-components/NN7IWJQ4.js +0 -4
  1098. package/dist/solutions-components/vendor/calcite-components/NSI34PAP.js +0 -4
  1099. package/dist/solutions-components/vendor/calcite-components/O42B2Q4F.js +0 -4
  1100. package/dist/solutions-components/vendor/calcite-components/OGF5TUWN.js +0 -4
  1101. package/dist/solutions-components/vendor/calcite-components/OJCYBIGG.js +0 -4
  1102. package/dist/solutions-components/vendor/calcite-components/OOY2MGXQ.js +0 -4
  1103. package/dist/solutions-components/vendor/calcite-components/OQW7QIRH.js +0 -4
  1104. package/dist/solutions-components/vendor/calcite-components/OTCDMLUC.js +0 -4
  1105. package/dist/solutions-components/vendor/calcite-components/OZVEH4B5.js +0 -4
  1106. package/dist/solutions-components/vendor/calcite-components/P7HTSDH2.js +0 -22
  1107. package/dist/solutions-components/vendor/calcite-components/PLA7W3AT.js +0 -4
  1108. package/dist/solutions-components/vendor/calcite-components/PLXESTWV.js +0 -4
  1109. package/dist/solutions-components/vendor/calcite-components/PMITL6IC.js +0 -4
  1110. package/dist/solutions-components/vendor/calcite-components/PQBKOUKQ.js +0 -4
  1111. package/dist/solutions-components/vendor/calcite-components/PWUMIRZ6.js +0 -4
  1112. package/dist/solutions-components/vendor/calcite-components/Q5J2S3VY.js +0 -4
  1113. package/dist/solutions-components/vendor/calcite-components/QCZULBWY.js +0 -4
  1114. package/dist/solutions-components/vendor/calcite-components/QG6HHELM.js +0 -4
  1115. package/dist/solutions-components/vendor/calcite-components/QO3T2U37.js +0 -4
  1116. package/dist/solutions-components/vendor/calcite-components/QUDJ3N3N.js +0 -4
  1117. package/dist/solutions-components/vendor/calcite-components/QZIFYSUW.js +0 -4
  1118. package/dist/solutions-components/vendor/calcite-components/RBW3635P.js +0 -4
  1119. package/dist/solutions-components/vendor/calcite-components/RHRLZ43T.js +0 -4
  1120. package/dist/solutions-components/vendor/calcite-components/ROGH35KN.js +0 -4
  1121. package/dist/solutions-components/vendor/calcite-components/RU7EMDYD.js +0 -4
  1122. package/dist/solutions-components/vendor/calcite-components/RYTO443L.js +0 -4
  1123. package/dist/solutions-components/vendor/calcite-components/SA6NHSUC.js +0 -4
  1124. package/dist/solutions-components/vendor/calcite-components/SGUU7WHF.js +0 -4
  1125. package/dist/solutions-components/vendor/calcite-components/SHC4YDKE.js +0 -4
  1126. package/dist/solutions-components/vendor/calcite-components/T2ALVZYL.js +0 -4
  1127. package/dist/solutions-components/vendor/calcite-components/T3SQ25MS.js +0 -4
  1128. package/dist/solutions-components/vendor/calcite-components/TAD74E6K.js +0 -4
  1129. package/dist/solutions-components/vendor/calcite-components/TKUCTGZQ.js +0 -4
  1130. package/dist/solutions-components/vendor/calcite-components/TNN7X24K.js +0 -4
  1131. package/dist/solutions-components/vendor/calcite-components/TVLD3AOO.js +0 -4
  1132. package/dist/solutions-components/vendor/calcite-components/U6YW2HHD.js +0 -4
  1133. package/dist/solutions-components/vendor/calcite-components/UIF5EHAA.js +0 -4
  1134. package/dist/solutions-components/vendor/calcite-components/UPPZPSLX.js +0 -4
  1135. package/dist/solutions-components/vendor/calcite-components/UPVIMVOR.js +0 -4
  1136. package/dist/solutions-components/vendor/calcite-components/V56SP7RX.js +0 -4
  1137. package/dist/solutions-components/vendor/calcite-components/V6MKTTBQ.js +0 -4
  1138. package/dist/solutions-components/vendor/calcite-components/V7HGGFTI.js +0 -4
  1139. package/dist/solutions-components/vendor/calcite-components/V7JMIX7A.js +0 -4
  1140. package/dist/solutions-components/vendor/calcite-components/VALEMC46.js +0 -4
  1141. package/dist/solutions-components/vendor/calcite-components/VF6LK743.js +0 -4
  1142. package/dist/solutions-components/vendor/calcite-components/VICC3NDD.js +0 -4
  1143. package/dist/solutions-components/vendor/calcite-components/VP7NXOWD.js +0 -4
  1144. package/dist/solutions-components/vendor/calcite-components/VQDN7OO3.js +0 -4
  1145. package/dist/solutions-components/vendor/calcite-components/VRHJ5OK7.js +0 -4
  1146. package/dist/solutions-components/vendor/calcite-components/VSJGDSNK.js +0 -4
  1147. package/dist/solutions-components/vendor/calcite-components/VTNRWHPJ.js +0 -4
  1148. package/dist/solutions-components/vendor/calcite-components/VWRFMVFO.js +0 -4
  1149. package/dist/solutions-components/vendor/calcite-components/VYNHH43V.js +0 -4
  1150. package/dist/solutions-components/vendor/calcite-components/VZCTXPAB.js +0 -4
  1151. package/dist/solutions-components/vendor/calcite-components/W2PJHNUO.js +0 -4
  1152. package/dist/solutions-components/vendor/calcite-components/WGOS6SLC.js +0 -4
  1153. package/dist/solutions-components/vendor/calcite-components/WI77ICVL.js +0 -4
  1154. package/dist/solutions-components/vendor/calcite-components/WIMUFNVO.js +0 -4
  1155. package/dist/solutions-components/vendor/calcite-components/WKIE22JL.js +0 -4
  1156. package/dist/solutions-components/vendor/calcite-components/WL55EYBZ.js +0 -4
  1157. package/dist/solutions-components/vendor/calcite-components/WNKEORGU.js +0 -4
  1158. package/dist/solutions-components/vendor/calcite-components/WR2VE6JZ.js +0 -4
  1159. package/dist/solutions-components/vendor/calcite-components/XF5JMHOK.js +0 -4
  1160. package/dist/solutions-components/vendor/calcite-components/XIZD6JFU.js +0 -4
  1161. package/dist/solutions-components/vendor/calcite-components/XKHOO62D.js +0 -4
  1162. package/dist/solutions-components/vendor/calcite-components/XV33QQSP.js +0 -4
  1163. package/dist/solutions-components/vendor/calcite-components/XXCPMHQI.js +0 -4
  1164. package/dist/solutions-components/vendor/calcite-components/XYEB5PRT.js +0 -4
  1165. package/dist/solutions-components/vendor/calcite-components/Y3HCVBC6.js +0 -4
  1166. package/dist/solutions-components/vendor/calcite-components/Y7BXR2VY.js +0 -4
  1167. package/dist/solutions-components/vendor/calcite-components/YDUPLCIG.js +0 -4
  1168. package/dist/solutions-components/vendor/calcite-components/YOV6OIH2.js +0 -4
  1169. package/dist/solutions-components/vendor/calcite-components/YPEU6VCU.js +0 -4
  1170. package/dist/solutions-components/vendor/calcite-components/YUVCAMVK.js +0 -4
  1171. package/dist/solutions-components/vendor/calcite-components/YWAPFYEJ.js +0 -4
  1172. package/dist/solutions-components/vendor/calcite-components/YZIMMUUW.js +0 -4
  1173. package/dist/solutions-components/vendor/calcite-components/Z2FJJLZ3.js +0 -4
  1174. package/dist/solutions-components/vendor/calcite-components/ZQ6GYGGS.js +0 -4
  1175. package/dist/solutions-components/vendor/calcite-components/ZQG72P7P.js +0 -4
  1176. package/dist/solutions-components/vendor/calcite-components/ZROM77D7.js +0 -4
  1177. package/dist/solutions-components/vendor/calcite-components/ZWBJOZZD.js +0 -4
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{h as e,r as i,f as t,g as n}from"./p-c3eae9ba.js";import{h as a,s,g as l,v as r,a as c,i as o,b as d,c as v,d as p,e as u,f as g,j as h,u as f,k as m,l as y}from"./p-b9fc59da.js";import{c as _}from"./p-d4056c1c.js";import{l as b}from"./p-d001e961.js";import"./p-80262cb7.js";import"./p-fb75e187.js";import"./p-0a24ad5f.js";const w=96;function k(e){return e?e/72*w:0}var x={exports:{}};!function(e){var i,t="http://www.w3.org/",n="".concat(t,"2000/svg"),a="".concat(t,"1999/xlink"),s=[],l=function(e,i){var t={};return Object.keys(e).forEach((function(i){t[i]=e[i]})),i&&Object.keys(i).forEach((function(e){t[e]=i[e]})),t},r=function(e,i){return e.vnodeSelector===i.vnodeSelector&&(e.properties&&i.properties?e.properties.key===i.properties.key&&e.properties.bind===i.properties.bind:!e.properties&&!i.properties)},c=function(e){if("string"!=typeof e)throw new Error("Style values must be strings")},o=function(e,i,t){if(""!==i.vnodeSelector)for(var n=t;n<e.length;n++)if(r(e[n],i))return n;return-1},d=function(e,i,t,n){var a=e[i];if(""!==a.vnodeSelector){var s=a.properties;if(!(s?void 0===s.key?s.bind:s.key:void 0))for(var l=0;l<e.length;l++)if(l!==i&&r(e[l],a))throw{error:new Error("".concat(t.vnodeSelector," had a ").concat(a.vnodeSelector," child ").concat("added"===n?n:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:t,childNode:a}}},v=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},p=[],u=!1,g=function(e){(e.children||[]).forEach(g),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},h=function(){u=!1,p.forEach(g),p.length=0},f=function(e){p.push(e),u||(u=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(h,{timeout:16}):setTimeout(h,16))},m=function(e){var i=e.domNode;if(e.properties){var t=e.properties.exitAnimation;if(t){i.style.pointerEvents="none";return void t(i,(function(){i.parentNode&&(i.parentNode.removeChild(i),f(e))}),e.properties)}}i.parentNode&&(i.parentNode.removeChild(i),f(e))},y=function(e,i,t){(function(e,i,t){if(i)for(var n=0,a=i;n<a.length;n++)_(a[n],e,void 0,t)})(e,i.children,t),i.text&&(e.textContent=i.text),function(e,i,t){if(i)for(var s=t.eventHandlerInterceptor,l=Object.keys(i),r=l.length,o=function(r){var o,d=l[r],v=i[d];if("className"===d)throw new Error('Property "className" is not supported, use "class".');if("class"===d)b(e,v,!0);else if("classes"===d)for(var p=Object.keys(v),u=p.length,g=0;g<u;g++){var h=p[g];v[h]&&e.classList.add(h)}else if("styles"===d){var f=Object.keys(v),m=f.length;for(g=0;g<m;g++){var y=f[g],_=v[y];_&&(c(_),t.styleApplyer(e,y,_))}}else if("key"!==d&&null!=v){var w=typeof v;"function"===w?(0===d.lastIndexOf("on",0)&&(s&&(v=s(d,v,e,i)),"oninput"===d&&(o=v,v=function(e){o.apply(this,[e]),e.target["oninput-value"]=e.target.value})),e[d]=v):t.namespace===n?"href"===d?e.setAttributeNS(a,d,v):e.setAttribute(d,v):"string"===w&&"value"!==d&&"innerHTML"!==d?e.setAttribute(d,v):e[d]=v}},d=0;d<r;d++)o(d)}(e,i.properties,t),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,t,i.vnodeSelector,i.properties,i.children])},_=function(e,i,t,a){var s,r,c=0,o=e.vnodeSelector,d=i.ownerDocument;if(""===o)e.domNode?e.domNode.nodeValue=e.text:(r=e.domNode=d.createTextNode(e.text),void 0!==t?i.insertBefore(r,t):i.appendChild(r));else{for(var v=0;v<=o.length;++v){var p=o.charAt(v);if(v===o.length||"."===p||"#"===p){var u=o.charAt(c-1),g=o.slice(c,v);"."===u?r.classList.add(g):"#"===u?r.id=g:("svg"===g&&(a=l(a,{namespace:n})),void 0!==a.namespace?r=e.domNode=d.createElementNS(a.namespace,g):(r=e.domNode=e.domNode||((null===(s=e.properties)||void 0===s?void 0:s.is)?d.createElement(g,{is:e.properties.is}):d.createElement(g)),"input"===g&&e.properties&&void 0!==e.properties.type&&r.setAttribute("type",e.properties.type)),void 0!==t?i.insertBefore(r,t):r.parentNode!==i&&i.appendChild(r)),c=v+1}}y(r,e,a)}},b=function(e,i,t){i&&i.split(" ").forEach((function(i){i&&e.classList.toggle(i,t)}))};i=function(e,t,p){var u=e.domNode,g=!1;if(e===t)return!1;var h=!1;if(""===t.vnodeSelector){if(t.text!==e.text){var f=u.ownerDocument.createTextNode(t.text);return u.parentNode.replaceChild(f,u),t.domNode=f,!0}t.domNode=u}else 0===t.vnodeSelector.lastIndexOf("svg",0)&&(p=l(p,{namespace:n})),e.text!==t.text&&(h=!0,void 0===t.text?u.removeChild(u.firstChild):u.textContent=t.text),t.domNode=u,h=function(e,t,n,a,l){if(n===a)return!1;for(var c,p=(n=n||s).length,u=(a=a||s).length,g=0,h=0,f=!1;h<u;){var y=g<p?n[g]:void 0,b=a[h];if(void 0!==y&&r(y,b))f=i(y,b,l)||f,g++;else{var w=o(n,b,g+1);if(w>=0){for(c=g;c<w;c++)m(n[c]),d(n,c,e,"removed");f=i(n[w],b,l)||f,g=w+1}else _(b,t,g<p?n[g].domNode:void 0,l),v(b),d(a,h,e,"added")}h++}if(p>g)for(c=g;c<p;c++)m(n[c]),d(n,c,e,"removed");return f}(t,u,e.children,t.children,p)||h,h=function(e,i,t,s){if(t){for(var l=!1,r=Object.keys(t),o=r.length,d=0;d<o;d++){var v=r[d],p=t[v],u=i[v];if("class"===v)u!==p&&(b(e,u,!1),b(e,p,!0));else if("classes"===v)for(var g=e.classList,h=Object.keys(p),f=h.length,m=0;m<f;m++){var y=h[m],_=!!p[y];_!==!!u[y]&&(l=!0,_?g.add(y):g.remove(y))}else if("styles"===v){var w=Object.keys(p),k=w.length;for(m=0;m<k;m++){var x=w[m],$=p[x];$!==u[x]&&(l=!0,$?(c($),s.styleApplyer(e,x,$)):s.styleApplyer(e,x,""))}}else if(p||"string"!=typeof u||(p=""),"value"===v){var L=e[v];L!==p&&(e["oninput-value"]?L===e["oninput-value"]:p!==u)&&(e[v]=p,e["oninput-value"]=void 0),p!==u&&(l=!0)}else if(p!==u){var j=typeof p;"function"===j&&s.eventHandlerInterceptor||(s.namespace===n?"href"===v?e.setAttributeNS(a,v,p):e.setAttribute(v,p):"string"===j&&"innerHTML"!==v?"role"===v&&""===p?e.removeAttribute(v):e.setAttribute(v,p):e[v]!==p&&(e[v]=p),l=!0)}}return l}}(u,e.properties,t.properties,p)||h,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[u,p,t.vnodeSelector,t.properties,t.children]);return h&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(u,t.properties,e.properties),g};var w=function(e,t){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var a=e;e=n,i(a,n,t)},domNode:e.domNode}},k={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,t){"-"===i.charAt(0)?e.style.setProperty(i,t):e.style[i]=t}},x=function(e){return l(k,e)},$={create:function(e,i){return i=x(i),_(e,document.createElement("div"),void 0,i),w(e,i)},append:function(e,i,t){return t=x(t),_(i,e,void 0,t),w(i,t)},insertBefore:function(e,i,t){return t=x(t),_(i,e.parentNode,e,t),w(i,t)},merge:function(e,i,t){return t=x(t),i.domNode=e,y(e,i,t),w(i,t)},replace:function(e,i,t){return t=x(t),_(i,e.parentNode,e,t),e.parentNode.removeChild(e),w(i,t)}},L=function(e,i,t){for(var n=0,a=i.length;n<a;n++){var s=i[n];Array.isArray(s)?L(e,s,t):null!=s&&!1!==s&&("string"==typeof s&&(s={vnodeSelector:"",properties:void 0,children:void 0,text:s.toString(),domNode:null}),t.push(s))}};var j;j=Array.prototype.find?function(e,i){return e.find(i)}:function(e,i){return e.filter(i)[0]};var O=function(e,i,t){return function(){return n};function n(n){t("domEvent",n);var a=i(),s=function(e,i){for(var t=[];e&&e!==i;)t.push(e),e=e.parentNode;return t}(n.currentTarget,a.domNode);s.reverse();var l,r=function(e,i){var t=e;return i.forEach((function(e){t=t&&t.children?j(t.children,(function(i){return i.domNode===e})):void 0})),t}(a.getLastRender(),s);return e.scheduleRender(),r&&(l=r.properties["on".concat(n.type)].apply(r.properties.bind||this,arguments)),t("domEventProcessed",n),l}};e.createCache=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(t,n){if(e)for(var a=0;a<t.length;a++)e[a]!==t[a]&&(i=void 0);return i||(i=n(),e=t),i}}},e.createMapping=function(e,i,t){var n=[],a=[];return{results:a,map:function(s){for(var l=s.map(e),r=a.slice(),c=0,o=0;o<s.length;o++){var d=s[o],v=l[o];if(v===n[c])a[o]=r[c],t(d,r[c],o),c++;else{for(var p=!1,u=1;u<n.length+1;u++){var g=(c+u)%n.length;if(n[g]===v){a[o]=r[g],t(s[o],r[g],o),c=g+1,p=!0;break}}p||(a[o]=i(d,o))}}a.length=s.length,n=l}}},e.createProjector=function(e){var i,t,n=x(e),a=n.performanceLogger,s=!0,l=!1,r=[],c=[],o=function(e,t,s){var l;n.eventHandlerInterceptor=O(i,(function(){return l}),a),l=e(t,s(),n),r.push(l),c.push(s)},d=function(){if(t=void 0,s){s=!1,a("renderStart",void 0);for(var e=0;e<r.length;e++){var i=c[e]();a("rendered",void 0),r[e].update(i),a("patched",void 0)}a("renderDone",void 0),s=!0}};return i={renderNow:d,scheduleRender:function(){t||l||(t=requestAnimationFrame(d))},stop:function(){t&&(cancelAnimationFrame(t),t=void 0),l=!0},resume:function(){l=!1,s=!0,i.scheduleRender()},append:function(e,i){o($.append,e,i)},insertBefore:function(e,i){o($.insertBefore,e,i)},merge:function(e,i){o($.merge,e,i)},replace:function(e,i){o($.replace,e,i)},detach:function(e){for(var i=0;i<c.length;i++)if(c[i]===e)return c.splice(i,1),r.splice(i,1)[0];throw new Error("renderFunction was not found")}}},e.dom=$,e.h=function(e,i,t){if(Array.isArray(i))t=i,i=void 0;else if(i&&("string"==typeof i||i.vnodeSelector)||t&&("string"==typeof t||t.vnodeSelector))throw new Error("h called with invalid arguments");var n,a;return t&&1===t.length&&"string"==typeof t[0]?n=t[0]:t&&(L(e,t,a=[]),0===a.length&&(a=void 0)),{vnodeSelector:e,properties:i,children:a,text:""===n?void 0:n,domNode:null}}}(x.exports);const $=x.exports.createProjector(),L=20,j={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function O(i="vertical"){const t="stroke:rgb(200, 200, 200);stroke-width:1";return"vertical"===i?e("svg",{height:"4",width:"10"},e("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:t})):e("svg",{height:"10",width:"10"},e("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:t}))}function z(e,i="vertical"){const t=document.createElement("div");return t.style.height=`${L}px`,t.className=j.univariateAboveAndBelowSymbol,null!=e&&(t.style.opacity=e.toString()),$.append(t,O.bind(null,i)),t}function R(e,i,t="vertical",n){e.infos.forEach(((e,a)=>{if(n&&2===a)e.preview=z(i,t);else{const{size:i}=e,n=k(i)+("horizontal"===t?20:10),a="div"===e.preview.tagName.toLowerCase(),s=a?e.preview:document.createElement("div");s&&(s.className=j.univariateAboveAndBelowSymbol),"horizontal"===t?s&&(s.style.width=`${n}px`):s&&(s.style.height=`${n}px`),a||s&&s.appendChild(e.preview),e.preview=s}}))}function E(e,i="classic"){const t=e.infos,n=t[0].size,a=t[t.length-1].size;return"classic"===i?(k(n)+10)/2:(k(n)-k(a))/2}async function A(e,i){if(!e)return Promise.resolve(null);const t=e.infos.map((e=>e.color)),[n]=await b(["esri/symbols/support/symbolUtils"]),a=n.renderColorRampPreviewHTML("full"===i.type?t:"above"===i.type?t.slice(0,3):t.slice(2,5),{width:i.width,height:i.height,align:i.rampAlignment,effectList:i.effectList});return a.className=j.colorRamp,null!=i.opacity&&(a.style.opacity=i.opacity.toString()),Promise.resolve(a)}function F(e,i,t,n="vertical"){const a=function(e,i,t,n="vertical"){let a=0;const s=e.infos,l=Math.floor(s.length/2),r="full"===i||"below"===i?s.length-1:l;for(let e="full"===i||"above"===i?0:l;e<=r;e++)a+=t&&e===l?"horizontal"===n?10:L:k(s[e].size)+("horizontal"===n?20:10);return Math.round(a)}(e,i,t,n),s=e.infos,l=Math.floor(s.length/2),r="full"===i||"above"===i?0:l,c="full"===i||"below"===i?s.length-1:l,o=t?"vertical"===n?L:10:0,d="vertical"===n?10*("full"===i?2:1):20*("full"===i?2:1);return Math.round(a-(k("full"===i?s[r].size+s[c].size:"above"===i?s[r].size:s[c].size)/2+o/2+d/2))}const M="esri-legend__layer-body",C="esri-legend__layer-row",I="esri-legend__layer-cell esri-legend__layer-cell--info",T="esri-legend__layer-cell esri-legend__layer-cell--symbols",N="esri-legend__symbol",S="esri-legend__ramps",P="esri-legend__size-ramp",H="esri-legend__ramp-labels",D="esri-legend__ramp-label",q="esri-univariate-above-and-below-ramp__label",B={display:"flex",alignItems:"flex-start"},U={marginLeft:"3px"},V={display:"table-cell",verticalAlign:"middle"},W=class{constructor(e){i(this,e),this.calculatingFeatureCount=!1,this.legendvm=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0,this.isLoading=!0,this.intLegendId=void 0}handleFilterModeChange(){a(this.filterMode,this.legendvm.view)}async connectedCallback(){if(this.handles)return;const[e]=await b(["esri/core/Handles"]);this.handles=new e}async componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0});const[e,i]=await b(["esri/intl","esri/core/reactiveUtils"]);this.reactiveUtils=i,this.intl=e}async componentDidLoad(){this.initLegend()}async initLegend(){try{await this.reactiveUtils.whenOnce((()=>{var e;return null===(e=this.legendvm)||void 0===e?void 0:e.view}));const e=async()=>{var e,i,t,n;try{const a=await(null===(t=null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.map)||void 0===t?void 0:t.load());await(null===(n=null==a?void 0:a.basemap)||void 0===n?void 0:n.load());const l=null==a?void 0:a.allLayers,r=null==l?void 0:l.map((e=>e.load())),c=(await Promise.allSettled(r)).map((e=>"fulfilled"===(null==e?void 0:e.status)&&(null==e?void 0:e.value)?e.value:null)).filter((e=>!!e)),d=[];c.forEach((e=>{var i;(null===(i=this.legendvm)||void 0===i?void 0:i.view)&&d.push(this.legendvm.view.whenLayerView(e))})),await Promise.allSettled(d);const v=await u(this.legendvm,this.reactiveUtils);s.set("data",Object.assign(Object.assign({},o.data),v)),this.isLoading=!1,this.setupWatchersAndListeners()}catch(e){console.error(e),this.isLoading=!1}};this.legendvm.view.when(e),this.legendvm.view.map.layers.on("after-changes",e)}catch(e){this.isLoading=!1}}disconnectedCallback(){var e,i;null===(e=this.handles)||void 0===e||e.removeAll(),null===(i=this.handles)||void 0===i||i.destroy(),this.handles=null}render(){var i,t,n;const a=this.renderFilteredLayers(),r=s.get("compact")?" instant-apps-interactive-legend__compact":"";return this.isLoading?e("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:null===(i=this.messages)||void 0===i?void 0:i.loading,text:null===(t=this.messages)||void 0===t?void 0:t.loading}):e("div",{key:"interactive-legend-classic-container",class:`${l(this.el)}${r}`},(null==a?void 0:a.length)>0?a:e("div",{class:"esri-legend__message"},null===(n=this.messages)||void 0===n?void 0:n.noLegend))}renderFilteredLayers(){var e,i;return(null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.activeLayerInfos)||void 0===i?void 0:i.toArray()).map((e=>this.renderLegendForLayer(e))).filter((e=>!!e))}renderLegendForLayer(i,t){var n,a;if(!i.ready)return null;if(i.children.length){const a=i.children.map((e=>this.renderLegendForLayer(e,!0))).toArray();return e("instant-apps-interactive-legend-group-legend-element",{class:l(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:i,isChild:t},e("div",{style:{paddingLeft:"20px"},id:`${null===(n=null==i?void 0:i.layer)||void 0===n?void 0:n.id}-legend-layer`,slot:"content"},a))}const s=i.legendElements;if(s&&!s.length)return null;const r=s.map(((e,t)=>this.renderLegendForElement(e,i.layer,i.effectList,i,t))).filter((e=>!!e));return r.length?e("instant-apps-interactive-legend-layer-element",{class:l(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:i,messages:this.messages,isChild:t},e("div",{slot:"content",id:`${null===(a=null==i?void 0:i.layer)||void 0===a?void 0:a.id}-legend-layer`,class:"esri-legend__layer"},r)):null}renderLegendForElement(i,t,n,a,s,c,o){const d="color-ramp"===i.type,v="opacity-ramp"===i.type,p="size-ramp"===i.type;let u=null;const g=r(a,i,s),h="relationship-ramp"===(null==i?void 0:i.type);if("symbol-table"===i.type||p){const l=i.infos.map(((e,l)=>this.renderLegendForElementInfo(e,t,n,p,i,a,s,l,g,o||null))).filter((e=>!!e));l.length&&(u=e("div",{class:M},l))}else"color-ramp"===i.type||"opacity-ramp"===i.type||"heatmap-ramp"===i.type||"stretch-ramp"===i.type?u=this.renderLegendForRamp(i,t.opacity):"relationship-ramp"===i.type?u=e("instant-apps-interactive-legend-relationship",{class:l(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:a,legendElement:i,messages:this.messages}):"pie-chart-ramp"===i.type?u=this.renderPieChartRamp(i):"univariate-above-and-below-ramp"===i.type?u=this.renderUnivariateAboveAndBelowRamp(i,t.opacity,n):"univariate-color-size-ramp"===i.type&&(u=this.renderUnivariateColorSizeRamp(i,t.opacity,n));if(!u)return null;const f=i.title;let m=null;if("string"==typeof f)m=f;else if(f){const e=this.getTitle(this.messages,f,d||v);m=this.isRendererTitle(f,d||v)&&f.title?`${f.title} (${e})`:e}return e("instant-apps-interactive-legend-legend-element",{class:l(this.el),activeLayerInfo:a,isSizeRamp:p,isChild:c,isColorRamp:d,isRelationshipRamp:h,isInteractive:g,zoomTo:this.zoomTo,legendElement:i,titleText:m,legendvm:this.legendvm,legendElementIndex:s,messages:this.messages},e("div",{slot:"content"},u))}renderPieChartRamp(i){var t;return e("div",{innerHTML:`${null===(t=i.preview)||void 0===t?void 0:t.outerHTML}`})}async renderUnivariateAboveAndBelowRamp(i,t,n){const{sizeRampElement:a,colorRampElement:s}=function(e,i,t="vertical"){const n=e.infos;let a=n.find((({type:e})=>"size-ramp"===e)),s=n.find((({type:e})=>"color-ramp"===e));return a&&(a=Object.assign({},a),a.infos=[...a.infos],R(a,i,t,!0)),s&&(s=Object.assign({},s),s.infos=[...s.infos]),"horizontal"===t&&(null==a||a.infos.reverse(),null==s||s.infos.reverse()),{sizeRampElement:a,colorRampElement:s}}(i,t);if(!a)return null;const l=F(a,"above",!0),r=F(a,"below",!0),c=await A(s,{width:12,height:l,rampAlignment:"vertical",opacity:t,type:"above",effectList:n}),o=await A(s,{width:12,height:r,rampAlignment:"vertical",opacity:t,type:"below",effectList:n}),d=E(a),v=a.infos.map((e=>e.label)),p=v.map(((i,t)=>{const n=2===t;return 0===t?e("div",{class:i?c?q:D:""},i):n?e("div",null):null})),u=v.length-1,g=Math.floor(v.length/2),h=v.map(((i,t)=>t===g||t===u?e("div",{class:i?c?q:D:""},i):null)),f={display:"table-cell",verticalAlign:"middle"},m={marginTop:`${d}px`},y={height:`${l}px`},_={height:`${r}px`};return e("div",{key:"univariate-above-and-below-ramp-preview",style:B},e("div",{class:M},a.infos.map(((i,t)=>e("div",{class:`${C} ${P}`},e("div",{class:N,style:f,innerHTML:`${i.preview.outerHTML}`}),c||t%2!=0?null:e("div",{class:I},v[t]))))),c?e("div",{style:m,key:"color-ramp-preview"},e("div",{style:U},e("div",{style:V},e("div",{class:S},c)),e("div",{style:V},e("div",{class:H,style:y},p))),e("div",{style:U},e("div",{style:V},e("div",{class:S},o)),e("div",{style:V},e("div",{class:H,style:_},h)))):null)}renderUnivariateColorSizeRamp(i,t,n){const{sizeRampElement:a,colorRampElement:s}=function(e,i="vertical"){const t=e.infos;let n=t.find((({type:e})=>"size-ramp"===e)),a=t.find((({type:e})=>"color-ramp"===e));return n&&(n=Object.assign({},n),n.infos=[...n.infos],R(n,null,i,!1)),a&&(a=Object.assign({},a),a.infos=[...a.infos]),"horizontal"===i&&(null==n||n.infos.reverse(),null==a||a.infos.reverse()),{sizeRampElement:n,colorRampElement:a}}(i);if(!a)return null;const l=E(a),r=F(a,"full",!1),c=A(s,{width:12,height:r,rampAlignment:"vertical",opacity:t,type:"full",effectList:n}),o=a.infos.length-1,d=a.infos.map(((i,t)=>0===t||t===o?e("div",{class:i.label?s?q:D:""},i.label):null)),v={display:"table-cell",verticalAlign:"middle"},p={marginTop:`${l}px`},u={height:`${r}px`};return e("div",{key:"univariate-above-and-below-ramp-preview",style:B},e("div",{class:M},a.infos.map((i=>e("div",{class:`${C} ${P}`},e("div",{class:N,style:v,innerHTML:`${i.preview.outerHTML}`}))))),e("div",{style:p,key:"color-ramp-preview"},e("div",{style:U},e("div",{style:V},e("div",{class:S},c)),e("div",{style:V},e("div",{class:H,style:u},d)))))}renderLegendForRamp(i,t){var n;const a=i.infos,s="heatmap-ramp"===i.type,l="stretch-ramp"===i.type,r=i.preview,c="opacity-ramp"===i.type?"esri-legend__opacity-ramp":"";r&&(r.classList.add("esri-legend__color-ramp"),c&&r.classList.add(c)),null!=t&&r&&(r.style.opacity=t.toString());const o=a.map((i=>e("div",{class:i.label?D:""},s?this.messages[i.label]||i.label:l?this.getStretchStopLabel(i):i.label))),d={height:null===(n=null==r?void 0:r.style)||void 0===n?void 0:n.height};return e("div",{class:C},e("div",{class:T,style:Object.assign({},{width:"24px"})},e("div",{ref:e=>{var i;(null==e?void 0:e.firstChild)&&(null===(i=null==e?void 0:e.firstChild)||void 0===i||i.remove()),null==e||e.appendChild(r)},class:S})),e("div",{class:I},e("div",{class:H,style:Object.assign({},d)},o)))}getStretchStopLabel(e){return e.label?this.messages[e.label]+": "+("string"==typeof e.value?e.value:this.intl.formatNumber(e.value,{style:"decimal",notation:e.value.toString().includes("e")?"scientific":"standard"})):""}renderLegendForElementInfo(i,t,n,a,r,p,u,g,h,f){var m,_;if(i.type)return this.renderLegendForElement(i,t,n,p,u,!0,i);let b;if(i.preview?b=e("div",{class:N,innerHTML:`${i.preview.outerHTML}`}):i.src&&(b=this.renderImage(i,t,!1)),!b)return null;const w=a?` ${P}`:"";let k;const x=y(t),$=c(x,f);if(o.data){const e=d(x,t,i,$,g),n=v($?null==$?void 0:$.nestedInfos:x);k=1===(null===(m=null==x?void 0:x.categories)||void 0===m?void 0:m.size)?!(null==e?void 0:e.selected):n||(null==e?void 0:e.selected)}const L=!($&&!(null==i?void 0:i.value))&&h,j=s.get("compact"),O=this.getTitle(this.messages,i.label,!1)||"";return L?e("button",{onClick:this.applyFilter(i,t,g,f),class:`${C} instant-apps-interactive-legend__layer-row--interactive${k?" instant-apps-interactive-legend-element-info--selected":""}`,title:j?`${O}`:void 0},e("div",{class:`${T}${w}`},b),e("div",{class:`${I}`},this.getTitle(this.messages,i.label,!1)||""),this.featureCount&&!j?e("instant-apps-interactive-legend-count",{class:l(this.el),categoryId:$?r.title:null!==(_=i.label)&&void 0!==_?_:null==t?void 0:t.id,activeLayerInfo:p,legendvm:this.legendvm,messages:this.messages,selected:k,legendElement:r,infoIndex:g}):null):e("div",{class:C},e("div",{class:`${T}${w}`},b),e("div",{class:`${I}`},O))}renderImage(i,t,n){const{label:a,src:s,opacity:l}=i,r=n?" esri-legend__imagery-layer-image--stretched":"",c=n?"":` ${N}`,o={opacity:`${null!=l?l:t.opacity}`};return e("img",{alt:this.getTitle(this.messages,a,!1),src:s,width:i.width,height:i.height,class:`$${r}${c}`,style:o})}getTitle(e,i,t){var n,a;if(!i)return;if("string"==typeof i||"number"==typeof i)return i;if("value"in i||"unit"in i)return this.intl.substitute(null!==(n=null==e?void 0:e.dotValue)&&void 0!==n?n:"",i);if("colorName"in i||"bandName"in i)return e[i.colorName]+": "+(e[i.bandName]||i.bandName);if("showCount"in i)return i.showCount?e.clusterCountTitle:null;let s=null;return this.isRampTitle(i,t)?s=i.ratioPercentTotal?"showRatioPercentTotal":i.ratioPercent?"showRatioPercent":i.ratio?"showRatio":i.normField?"showNormField":i.field?"showField":null:this.isRendererTitle(i,t)&&(s=i.normField?"showNormField":i.normByPct?"showNormPct":i.field?"showField":null),s?null===(a=this.intl)||void 0===a?void 0:a.substitute("showField"===s?"{field}":e[s],{field:i.field,normField:i.normField}):""}isRampTitle(e,i){return i}isRendererTitle(e,i){return!i}setupWatchersAndListeners(){var e,i,n,a,l,r,c;const d=null===(a=null===(n=null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.map)||void 0===n?void 0:n.allLayers)||void 0===a?void 0:a.filter((e=>"feature"===(null==e?void 0:e.type)));d.forEach((async e=>{var i,t,n,a;try{const s=await(null===(t=null===(i=this.legendvm)||void 0===i?void 0:i.view)||void 0===t?void 0:t.whenLayerView(e)),l=`fLayerViewScale-${null==e?void 0:e.id}`;(null===(n=this.handles)||void 0===n?void 0:n.has(l))||null===(a=this.handles)||void 0===a||a.add(s.watch("visibleAtCurrentScale",(async()=>this.createDataForLayer(e))),l)}catch(e){}})),null==d||d.forEach((e=>{var i,t,n;const a=`fLayer-${null==e?void 0:e.id}`;(null===(i=this.handles)||void 0===i?void 0:i.has(a))||null===(t=this.handles)||void 0===t||t.add(null===(n=this.reactiveUtils)||void 0===n?void 0:n.watch((()=>null==e?void 0:e.visible),(async()=>this.createDataForLayer(e))),a)})),null===(l=this.handles)||void 0===l||l.add(this.reactiveUtils.when((()=>this.legendvm),(()=>{this.reactiveUtils.watch((()=>{var e,i;return null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.updating}),(()=>{var e,i;this.calculatingFeatureCount||(null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.updating)&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when((()=>{var e,i;return!(null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.updating)}),(async()=>{const e=await p(this.legendvm,o.data);s.set("data",Object.assign(Object.assign({},o.data),e)),this.calculatingFeatureCount=!1}),{once:!0,initial:!0}))}),{initial:!0})}),{initial:!0,once:!0})),null===(r=this.handles)||void 0===r||r.add(this.reactiveUtils.on((()=>{var e;return null===(e=this.legendvm)||void 0===e?void 0:e.activeLayerInfos}),"change",(async e=>{var i;const n=await u(this.legendvm,this.reactiveUtils);s.set("data",Object.assign(Object.assign({},o.data),n)),t(this.el),null===(i=this.handles)||void 0===i||i.add(this.reactiveUtils.on((()=>e.children),"change",(async()=>{const e=await u(this.legendvm,this.reactiveUtils);s.set("data",Object.assign(Object.assign({},o.data),e)),t(this.el)})))}))),null===(c=this.handles)||void 0===c||c.add(this.reactiveUtils.on((()=>{var e,i,t;return null===(t=null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.map)||void 0===t?void 0:t.layers}),"after-changes",(async()=>{const e=await p(this.legendvm,o.data);s.set("data",Object.assign(Object.assign({},o.data),e)),this.calculatingFeatureCount=!1})))}async createDataForLayer(e){var i;const t=s.get("data"),n=null==t?void 0:t[null==e?void 0:e.id],a=g(null===(i=this.legendvm)||void 0===i?void 0:i.activeLayerInfos),l=null==a?void 0:a.find((i=>{var t;return(null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.id)===(null==e?void 0:e.id)}));if(!n&&l){const i=await h(this.legendvm,l,this.reactiveUtils);if(f({intLegendLayerData:i,layerId:null==e?void 0:e.id}),this.featureCount){const e=await p(this.legendvm,o.data);s.set("data",Object.assign(Object.assign({},o.data),e))}}}applyFilter(e,i,t,n){return async()=>{var a;const s=Object.assign({},null===(a=o.data)||void 0===a?void 0:a[null==i?void 0:i.id]);n?await m(s,e,t,this.filterMode,n):await m(s,e,t,this.filterMode),f({intLegendLayerData:s,layerId:null==i?void 0:i.id})}}get el(){return n(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};W.style=".sc-instant-apps-interactive-legend-classic-h{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:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark:#009af2;--instant-apps-interactive-legend-info-item-background--hover:#e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark:#4a4a4a;--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-margin:20px 15px;--instant-apps-interactive-legend-ui-padding:20px 15px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{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)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{--instant-apps-interactive-legend-ui-padding:10px 5px}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}";export{W as instant_apps_interactive_legend_classic}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,g as e,h as i,H as a,c as s}from"./p-c3eae9ba.js";import{g as n}from"./p-7ded7b2e.js";import{s as c}from"./p-c34857fe.js";import{d as o}from"./p-80cb7c73.js";import{E as l}from"./p-4f236b5d.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-fb75e187.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const d=class{constructor(e){t(this,e)}get el(){return e(this)}hasChanges=!1;hasErrors=!1;instanceid="";locale;value="";async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}componentDidLoad(){const t=document.getElementById(`${this.instanceid}-container`);if(t){this._editor=monaco.editor.create(t,{value:this.value,language:"json",theme:"vs",minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1}),this._currentModel=this._editor.getModel(),this._contentChanged=this._currentModel.onDidChangeContent(this._onEditorChange.bind(this));const e=monaco.editor.setModelMarkers,i=this;monaco.editor.setModelMarkers=function(t,a,s){t.id===i._currentModel.id&&(i._flagEditorHasErrors(s.length>0),i.hasErrors||(i._flagEditorHasChanges(i._currentModel?.canUndo()),i._currentModel?.canUndo()&&i._flagEditorContentChanged()),document.getElementById(`${i.instanceid}-errorFlag`).style.visibility=i.hasErrors?"visible":"hidden"),e.call(monaco.editor,t,a,s)},this._diffEditor=monaco.editor.createDiffEditor(document.getElementById(`${this.instanceid}-diff-container`),{automaticLayout:!0}),this._setDiffModel(),this._loaded=!0,this._toggleUndoRedo()}}async componentWillLoad(){this._initValueObserver(),await this._getTranslations()}render(){return i(a,{key:"ba7c8a397da913d86f5d294cdfbb5ec1b84d89de"},i("div",{key:"bc5c6d1ee443b2096cc44d0b66850d4ebe8462da",id:`${this.instanceid}-editor-container`,class:"editor-container padding-right"},i("div",{key:"dbaf682cba354ce7eef21b03a71832fd39911332",class:"editor-controls"},i("div",{key:"e454e1dd36aa620abf2ffb7877bebb9adc70ff15",class:"editor-buttons"},i("calcite-icon",{key:"1de67e151c6e65b004a431d89dc785ca286a8e11",id:`${this.instanceid}-errorFlag`,icon:"exclamation-mark-triangle",title:this._translations.errorFlag,scale:"s",class:"edit-error-flag"}),i("calcite-button",{key:"33de20955d29287a3ec981e7650562a036343e3a",id:`${this.instanceid}-undo`,color:"blue",appearance:"solid",title:this._translations.undo,onClick:()=>this._undo(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"9bed02f1e8a367ad2ed764747f044a4ce27de52b",icon:"undo",scale:"s"})),i("calcite-button",{key:"07562443286c4eeec28577a7cff0401e8cea0ba8",id:`${this.instanceid}-redo`,color:"blue",appearance:"solid",title:this._translations.redo,onClick:()=>this._redo(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"5f24902a66eae644d0d358a4826a98d45e905493",icon:"redo",scale:"s"})),i("calcite-button",{key:"02f4f3f8ab93e5f1146176ec3699e2a6d25ecbeb",id:`${this.instanceid}-diff`,color:"blue",appearance:"solid",title:this._translations.diff,onClick:()=>this._toggleEditor(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"0bcd20d28e9ec34f1736a2888d78bfcd9cb82a4d",icon:"compare",scale:"s"})),i("calcite-button",{key:"cf3a7672ebd3ebef00123096ec304456b8f102fc",id:`${this.instanceid}-search`,appearance:"outline",color:"blue",title:this._translations.search,onClick:()=>this._search(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"36aac5e89ebf593d8d1981d7b8f6267fbbadfd24",icon:"search",scale:"s"})),i("calcite-button",{key:"cc981ff7580acfa3a3395c4ce7a96b3022bbbb4b",id:`${this.instanceid}-reset`,color:"blue",appearance:"solid",disabled:!0,title:this._translations.cancelEdits,onClick:()=>this._reset(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"3c4fc1da749f4b4f64d814fcd58dc035634f6b1b",icon:"reset",scale:"s"})))),i("div",{key:"6c33ec4851d804dac7fd9762e3c8c7e416a27cf4",class:"edit-parent"},i("div",{key:"a6e9721127bbd43f9974af65e0899489370e1868",id:`${this.instanceid}-container`,class:"json-edit-container"}),i("div",{key:"c1d1ea305c0e451c24beddb8ac3f8e85a3fca088",id:`${this.instanceid}-diff-container`,class:"json-edit-container display-none"}))))}_cancelEditsBtnHandler;_contentChanged;_currentModel;_diffEditor;_editor;_loaded=!1;_searchBtnHandler;_translations;_useDiffEditor=!1;_valueObserver;async getEditorContents(){return new Promise(((t,e)=>{try{t(this._currentModel.getValue())}catch(t){e(t)}}))}async prepareForDeletion(){this._searchBtnHandler?.removeEventListener("click",this._search),this._cancelEditsBtnHandler?.removeEventListener("click",this._reset),this._valueObserver?.disconnect(),this._contentChanged?.dispose(),this._editor?.dispose()}async replaceCurrentSelection(t){const e=this._editor.getSelection();this._editor.executeEdits("",[{range:e,text:t}])}async reset(){return new Promise(((t,e)=>{try{this._reset(),t({success:!0})}catch(t){e(t)}}))}_disableButton(t){document.getElementById(t)?.setAttribute("disabled","")}_enableButton(t){document.getElementById(t)?.removeAttribute("disabled")}_flagEditorContentChanged(){window.dispatchEvent(new CustomEvent("solutionEditorContentChanged",{detail:{id:this.instanceid,contents:this._currentModel.getValue()},bubbles:!0,cancelable:!1,composed:!0}))}_flagEditorHasChanges(t){this.hasChanges!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasChanges=t)}_flagEditorHasErrors(t){this.hasErrors!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasErrors",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasErrors=t)}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}_initValueObserver(){this._valueObserver=new MutationObserver((t=>{t.forEach((t=>{"attributes"===t.type&&"value"===t.attributeName&&t.target[t.attributeName]!==t.oldValue&&this._loaded&&this._currentModel.setValue(this.value)}))})),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}_onEditorChange(){this._toggleUndoRedo()}_redo(){this._currentModel?.canRedo()&&(this._currentModel.redo(),this._toggleUndoRedo())}_reset(){this._currentModel.setValue(this.value),this._toggleUndoRedo()}_search(){this._editor.trigger("toggleFind","actions.find")}_setDiffModel(){this._diffEditor&&this._diffEditor.setModel({original:monaco.editor.createModel(this.value,"json"),modified:this._editor.getModel()})}_toggleEditor(){this._useDiffEditor=!this._useDiffEditor;let t=document.getElementById(`${this.instanceid}-diff-container`),e=document.getElementById(`${this.instanceid}-container`);this._useDiffEditor?(this._setDiffModel(),t.classList.remove("display-none"),e.classList.add("display-none")):(t.classList.add("display-none"),e.classList.remove("display-none"))}_toggleUndoRedo(){this._currentModel?.canUndo()?this._enableButton(`${this.instanceid}-undo`):this._disableButton(`${this.instanceid}-undo`),this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-redo`):this._disableButton(`${this.instanceid}-redo`),this._currentModel?.canUndo()||this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-reset`):this._disableButton(`${this.instanceid}-reset`)}_undo(){this._currentModel?.canUndo()&&(this._currentModel.undo(),this._toggleUndoRedo())}static get assetsDirs(){return["assets"]}static get watchers(){return{locale:["localeWatchHandler"]}}};d.style=":host{display:block}.editor-container{position:relative;height:100%}.editor-controls{height:2.75rem;padding-right:0.5rem;background-color:#F4F4F4}.editor-buttons{float:right}html[dir=rtl] .editor-buttons{float:left}.edit-error-flag{padding-top:0.5rem;color:red;visibility:hidden}.edit-button{padding-inline-start:0.5rem}.editor-text{width:100%;overflow-y:auto;background-color:#FFFFFF}.edit-width{width:100%}.edit-parent{box-sizing:border-box;width:100%;height:calc(100% - 46px)}.json-edit-container{height:100%;width:100%;border:1px #808080 solid}.padding-right{padding-inline-end:0.125rem}.btn{margin-bottom:1rem;display:flex;align-content:center;height:25px;width:120px}.select-ctrl{margin-bottom:1rem}.all-edits{margin-top:4rem}.floating-title{font-size:2rem;z-index:100;position:absolute;left:0.5rem;pointer-events:none}.floating-title-button{pointer-events:auto}.json-editor-position1{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:100%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2a{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2b{position:absolute;right:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}";const r=class{constructor(e){t(this,e)}get el(){return e(this)}itemId="";locale;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async componentWillLoad(){return this._getTranslations()}async componentWillRender(){return this.itemEdit=c.getItemInfo(this.itemId),this.itemEdit&&(this.itemDetails=this.itemEdit.item,this.itemType=this.itemDetails.type),Promise.resolve()}render(){return i(a,{key:"032ff1aeb8c703b36ff4746508e0b6b35ad29516"},i("div",{key:"a6ef24150d812c790a9762c7e6dcaefcfacc2c36",class:"parent-container"},i("div",{key:"e03091a4557a0e15af35782350aec472c94a0151",class:"inputBottomSeparation"},i("calcite-input",{key:"e45e06e9e140cc1bcd070faef6efeccd773ce7cc",id:"item-title",value:this.itemDetails.title})),i("div",{key:"9f62241ee3f46730aa48f40c5c9e55ea823c2e6f",class:"inputBottomSeparation"},i("input",{key:"1c90efe7904fffbccb189032069396cf21e21228",accept:".jpg,.gif,.png,image/jpg,image/gif,image/png",class:"display-none",onChange:t=>this._updateThumbnail(t),ref:t=>this.browseForThumbnail=t,type:"file"}),i("button",{key:"fbc1a6f8c40ac4ba7840bf80d16b4039d2bbb5a7",class:"font-size--3 btn-link inline-block trailer-quarter",onClick:()=>this._getThumbnail()},i("svg",{key:"1d4eacbc6445262ffa9bd9fe3d407a8a4560dd36",class:"icon-inline icon-inline--on-left",height:"16",viewBox:"0 0 16 16",width:"16"},i("path",{key:"58eaaf7e259d7ef37ae352874488fce873a416b9",d:"M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z"})),this._translations.editThumbnail),i("div",{key:"a1d50881d34eddd023e0a9b677575a7573df583a",class:"flex"},i("div",{key:"e31f5d4cdaaee8765cc982ba9adda88df977e803",class:"img-container",ref:t=>this.thumbnailContainer=t},i("img",{key:"c2d9b5e31e25b1bc139e1c119042044fdd8b31dd",class:"scale-down",height:"133",id:"item-thumbnail",ref:t=>this.thumbnail=t,width:"200"})),i("div",{key:"eaa96a675562d8969124ba3169e46d4fe9d180cb",class:"snippet-count-container"},i("calcite-input",{key:"47d6b25a65fbe60f38668710b1eb14129c4aa6f2",id:"item-snippet",maxLength:250,type:"textarea",value:this.itemDetails.snippet}),i("label",{key:"8267140b46c94425eda185020c76307e70c33684",class:"font-size--3",id:"item-snippet-count",ref:t=>this.itemSnippetCount=t})))),i("calcite-label",{key:"70ffbe01451016a0016d044e2f3e4d1e41722cb0"},this._translations.description,i("label",{key:"f7c014575c2a6964a45fad059646d79ebadf5e18",id:"item-description-label"},i("calcite-input",{key:"34d78b42697be944d413102975aff3d31498abba",id:"item-description",type:"textarea",value:this.itemDetails.description}))),i("calcite-label",{key:"2d51c7a3b709b41e5adb0f73756a9528f86c20a5"},this._translations.tags,i("label",{key:"ea9ddfa6662d7ab8eb92301c59b6fd5876d7d59b",id:"item-tags-label"},i("calcite-input",{key:"aec1f0ee4408d4cb687bb31b313cb47b58979733",id:"item-tags",value:(this.itemDetails.tags&&Array.isArray(this.itemDetails.tags)?this.itemDetails.tags:[this.itemDetails.tags]).join(",")}))),"Group"!==this.itemType?i("calcite-label",null,this._translations.credits,i("label",{id:"item-credits-label"},i("calcite-input",{id:"item-credits",value:this.itemDetails.accessInformation}))):null,"Group"!==this.itemType?i("calcite-label",null,i("label",{id:"item-terms-label"},this._translations.termsOfUse,i("calcite-input",{id:"item-terms",type:"textarea",value:this.itemDetails.licenseInfo}))):null))}componentDidRender(){this._loadThumb()}browseForThumbnail;itemDetails={accessInformation:"",description:"",licenseInfo:"",snippet:"",tags:[],title:""};itemEdit;itemType;_translations;itemSnippetCount;thumbnail;thumbnailContainer;inputReceivedHandler(t){switch(t.target.id){case"item-title":this.itemDetails.title=t.target.value,this._updateStore();break;case"item-snippet":t.target.value.length>250&&(t.target.value=t.target.value.substring(0,250)),this.itemDetails.snippet=t.target.value,this._updateLengthLabel(this.itemDetails.snippet),this._updateStore();break;case"item-description":this.itemDetails.description=t.target.value,this._updateStore();break;case"item-tags":this.itemDetails.tags=t.target.value,this._updateStore();break;case"item-credits":this.itemDetails.accessInformation=t.target.value,this._updateStore();break;case"item-terms":this.itemDetails.licenseInfo=t.target.value,this._updateStore()}}_getThumbnail(){this.browseForThumbnail.click()}_loadThumb(){this.thumbnail&&this.itemEdit?.thumbnail?(this.thumbnail.src=URL.createObjectURL(this.itemEdit.thumbnail),this.thumbnailContainer.classList.remove("empty-box"),this.thumbnail.classList.remove("display-none")):(this.thumbnailContainer.classList.add("empty-box"),this.thumbnail.classList.add("display-none"))}_updateLengthLabel(t){this.itemSnippetCount.innerText=this._translations.snippetCountPattern.replace("{{n}}",t.length.toString())}_updateStore(){this.itemEdit=c.getItemInfo(this.itemId),this.itemEdit.item=this.itemDetails,c.setItemInfo(this.itemEdit)}_updateThumbnail(t){const e=t.target.files;e&&e[0]&&this.thumbnail&&(this.thumbnail.src=URL.createObjectURL(e[0]),this.itemEdit=c.getItemInfo(this.itemId),this.itemEdit.thumbnail=e[0],c.replaceItemThumbnail(this.itemEdit))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};r.style=".inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.icon-inline--on-left,.icon-inline--on-right{display:inline;vertical-align:middle;margin-inline-end:0.375rem;fill:#0079c1}.scale-down{-o-object-fit:scale-down;object-fit:scale-down}.img-container{display:inline;margin-inline-end:1rem;max-width:363px}.summary-count-container{display:inline;flex-grow:1;margin-inline-start:0.75rem}.snippet-count-container{width:calc(100vw - 363px)}.parent-container{max-width:100%;padding:1rem}label{position:relative;margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem;display:block;min-width:-moz-min-content;min-width:min-content}";const h=class{constructor(e){t(this,e)}get el(){return e(this)}groupId="";locale;itemIdWatchHandler(){const t=c.getItemInfo(this.groupId);this.sharing=t.groupDetails}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async componentWillLoad(){return this._getTranslations()}render(){return i(a,{key:"eca66b743e748d9f915c6d356ea84075ab21709a"},i("div",{key:"b0765e14cc9de5a81afa5d20bc41e7f78913a37e",class:"container-border"},i("calcite-label",{key:"36cbf3b48a2641bcb2107e61609c2ec6c9f18991"},this._translations.groupInfo),this._renderItems(this.sharing)))}_translations;sharing=[];async getShareInfo(){return this.sharing}_renderItems(t){return t&&t.length>0?t.map((t=>i("calcite-label",{layout:"inline"},i("calcite-switch",{checked:t.shareItem,id:t.id,name:"setting",onCalciteSwitchChange:t=>this._updateItem(t),scale:"m",value:"enabled"}),i("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),i("span",{class:"icon-text",title:t.title},t.title)))):null}_updateItem(t){const e=t.target.id;this.sharing=this.sharing.map((i=>{if(i.id===e){i.shareItem=t.target.checked;const a=c.getItemInfo(e);if(i.shareItem)a.groups?a.groups.indexOf(this.groupId)<0&&a.groups.push(this.groupId):a.groups=[this.groupId];else if(a.groups){const t=a.groups.indexOf(this.groupId);t>-1&&a.groups.splice(t,1)}c.setItemInfo(a)}return i}))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{groupId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};h.style=":host{display:block}.container-border{padding:1rem}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const b=class{constructor(e){t(this,e),this.organizationVariableSelected=s(this,"organizationVariableSelected",7)}get el(){return e(this)}locale;value="";async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}valueWatchHandler(){this._organizationVariables=JSON.parse(this.value)}async componentWillLoad(){return this._getTranslations()}render(){return i(a,{key:"4d1a39b53287d445a1fc66cd5088a7bc60516ab6"},i("div",{key:"7a40ad712fe1af01e92701d128f65b0590aa15bc"},i("h4",{key:"7517fc56b5b0128ee102dc3f57e334501befe14f",class:"org-var-header"},this._translations.orgVariables)),i("div",{key:"d48cbc3ffb24ba54ded2b24c7c518ecf8114cd55",class:"container-border"},i("calcite-tree",{key:"383124c0ae3d646dc9ee857109051e7a151dbe62",id:"variable-label"},this._renderHierarchy(this._organizationVariables))))}_organizationVariables=[];_translations;organizationVariableSelected;_renderHierarchy(t){return t.map((t=>i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,e){this.organizationVariableSelected.emit({itemId:t,value:e})}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],value:["valueWatchHandler"]}}};b.style=":host{display:block}.container-border{overflow-y:auto}.org-var-header{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1rem}";const p=class{constructor(e){t(this,e)}get el(){return e(this)}authentication;itemId="";locale;itemIdWatchHandler(){const t=c.getItemInfo(this.itemId);this.resourceFilePaths=t.resourceFilePaths,this.resources=t.resources.map((t=>t.substring(t.lastIndexOf("/")+1)))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}componentWillLoad(){return this._getTranslations()}render(){const t=this._hasValidResources();return i(a,{key:"36017a54e5f8fafda593af2b727f1fbda80c7455"},i("div",{key:"eb9f53c9b4161c09e0b00d9a4d90a814d944819c",class:"resource-item"},i("div",{key:"504dfa5fb623ed27a0829f60ebbf5de17b6d467f",class:"margin-bottom-1"},i("calcite-button",{key:"e578443e1ef409917c5946c77e660c04d273cb6c",appearance:"solid",class:"resource-button",color:"blue",onClick:()=>this._addNewResource()},this._translations.addResource),i("calcite-button",{key:"e4c11326d7c5d96de1d0983eb0beb3cf726177c8",appearance:"solid",color:"blue",disabled:!t,onClick:()=>this._downloadAll()},this._translations.downloadAll)),i("div",{key:"3617bf40ac8b01d70b523642757a624c977ea491",class:"resources-container",style:{display:t?"inherit":"none"}},this._renderResourceList())))}resourceFilePaths=[];resources=[];_translations;_removedResources={};_renderResourceList(){return i("calcite-value-list",{multiple:!0},this.resourceFilePaths.reduce(((t,e)=>(e.type!==l.Thumbnail&&t.push(this._renderResource(e)),t)),[]))}_renderResource(t){const e=t.updateType===o.Remove;return i("calcite-value-list-item",{class:e?"disabled":"",label:t.folder?t.folder+"/"+t.filename:t.filename,nonInteractive:!0,value:t.url},i("calcite-action-group",{"expand-disabled":"true",layout:"horizontal",slot:"actions-end"},i("calcite-action",{disabled:e,icon:"download",label:this._translations.download,onClick:()=>this._download(t.url,t.filename),scale:"m",text:this._translations.download,title:this._translations.download}),i("calcite-action",{disabled:e,icon:"upload-to",label:this._translations.update,onClick:()=>this._upload(t),scale:"m",text:this._translations.update,title:this._translations.update}),i("calcite-action",{disabled:e,icon:"trash",label:this._translations.delete,onClick:()=>this._delete(t),scale:"m",text:this._translations.delete,title:this._translations.delete}),e?i("calcite-action",{icon:"reset",label:this._translations.reset,onClick:()=>this._reset(t.filename),scale:"m",text:this._translations.reset,title:this._translations.reset}):i("div",{class:"display-none"})))}_delete(t){t.updateType=o.Remove,this.resourceFilePaths=[...this.resourceFilePaths],this._updateStore()}_reset(t){this.resourceFilePaths=this.resources.some((e=>e===t))?this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=o.None),e))):this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=o.Add),e))),this._updateStore()}_downloadAll(){this.resourceFilePaths.forEach((t=>{this._download(t.url,t.filename)}))}_download(t,e){t.startsWith("blob")?this.downloadFile(t,e):this.fetchAndDownload(`${t}?token=${this.authentication.token}`,e)}downloadFile(t,e){const i=document.createElement("a");i.href=t,i.download=e,i.target="_blank",i.click()}_hasValidResources(){return this.resourceFilePaths.some((t=>t.url.indexOf("_info_thumbnail")<0))}async fetchAndDownload(t,e){const i=await fetch(t),a=await i.blob(),s=URL.createObjectURL(a);this.downloadFile(s,e)}_upload(t){const e=document.createElement("input");e.classList.add("display-none"),e.onchange=this._updateResource.bind(this,t),e.type="file",e.click()}_addNewResource(){const t=document.createElement("input");t.classList.add("display-none"),t.onchange=this._add.bind(this),t.type="file",t.click()}_updateResource(t,e){const i=e.target.files;i&&i[0]&&(t.blob=i[0],t.updateType=o.Update,this._updateStore())}_add(t){const e=t.target.files;if(e&&e[0]){const t=URL.createObjectURL(e[0]),i=e[0].name;this.resourceFilePaths.some((e=>e.filename===i&&e.url===t))||(this.resourceFilePaths=[...this.resourceFilePaths,{url:t,type:l.Data,folder:void 0,filename:i,blob:e[0],updateType:o.Add}],this._updateStore())}}_updateStore(){const t=c.getItemInfo(this.itemId);t.resourceFilePaths=this.resourceFilePaths,c.setItemInfo(t)}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{itemId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};p.style=":host{display:block}.resource-item{padding:1rem}.resource-button{margin-inline-end:1rem}.resource-progress{padding-top:1rem}.resources-container{border:1px #808080 solid}.margin-bottom-1{margin-bottom:1rem}";const f=class{get el(){return e(this)}instanceid="";itemId="";itemIdWatchHandler(){this._initializing=!0,this.value=JSON.stringify("data"===this.instanceid?c.getItemInfo(this.itemId).data:c.getItemInfo(this.itemId).properties,null,2)}locale;organizationVariables="";solutionVariables="";varsOpen=!0;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}constructor(e){t(this,e),window.addEventListener("solutionEditorContentChanged",(t=>{if(this.itemId){const{id:e,contents:i}=t.detail,[a,s]=e.split("|");if(a==this.itemId&&s===this.instanceid){if(!this._initializing&&i.length>0){const t=c.getItemInfo(a);"data"===s?t.data=JSON.parse(i):t.properties=JSON.parse(i),c.setItemInfo(t)}this._initializing=!1}}}))}componentWillLoad(){return this._getTranslations()}render(){return i(a,{key:"db99cf57229d7d8b9fe6315e180d95de0b20fc8d"},i("div",{key:"83473f420d1417c85ebb4119be9f359cab878c54",class:"solution-data-container"},i("calcite-shell",{key:"013754ef962c2e5c112f6a8cc6c5d1b8e768078e",class:"light var-container",dir:"ltr"},i("calcite-panel",{key:"11ab2a07fe4af542d8cefc1c131246deef43dd9a",class:"json-editor"},i("div",{key:"ba0460977eb0375acaf5b11ce951986a08ece39b",class:"solution-data-child-container calcite-match-height"},i("json-editor",{key:"53251c1583aa7e8cf2a4e9a1f22e4c72430d3928",class:"solution-data-editor-container",instanceid:this.itemId+"|"+this.instanceid,locale:this.locale,value:this.value}))),i("calcite-shell-panel",{key:"30c47797a35ff7228c4318a5633aec57de05b8cf","height-scale":"l",position:"end",slot:"contextual-panel","width-scale":"xs"},i("div",{key:"028b16654835744f0735b880ca85a3d174963414",class:this.varsOpen?"solution-data-child-container":"solution-data-child-container-collapsed"},i("calcite-button",{key:"bb5049611e778b970454544851a625ccef47d23a",appearance:"transparent",class:"collapse-btn","icon-start":this.varsOpen?"chevrons-right":"chevrons-left",id:"collapse-vars",onClick:()=>this._toggleVars(),scale:"s",title:this.varsOpen?this._translations.collapse:this._translations.expand}),i("div",{key:"c2a30a7c27db181e0dfe0e201d9d3b2742247080",class:this.varsOpen?"org-vars":"org-vars display-none",id:"orgVars"},i("solution-organization-variables",{key:"178c4301c8558c4fe7114c8f6cf5bc0df10883a0",locale:this.locale,value:this.organizationVariables})),i("div",{key:"f85375bac946cff856b6915f340bf926498265ea",class:this.varsOpen?"sol-vars":"sol-vars display-none",id:"solVars"},i("solution-variables",{key:"166d0752746994bc4aebd4e41660f8a2d2c678ea",locale:this.locale,value:this.solutionVariables})))))))}_translations;value="";_initializing=!1;_toggleVars(){this.varsOpen=!this.varsOpen}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{itemId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};f.style=":host{display:flexbox}.solution-data-container{position:absolute;height:-moz-available;height:calc(100% - 48px);height:-webkit-fill-available;height:stretch;width:-moz-available;width:100%;width:-webkit-fill-available;width:stretch}.solution-data-child-container{display:flex;height:100%;width:100%;flex-direction:column;overflow-y:auto}.solution-data-editor-container{height:100%}.solution-data-child-container-collapsed{display:flex;height:100%;flex-direction:column;overflow:auto;width:50px}.inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.json-editor{margin:1rem;width:auto;width:-webkit-fill-available -moz-available}.collapse-btn{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.org-vars{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.sol-vars{padding-top:0px;padding-bottom:0px;padding-left:1rem;padding-right:1rem;min-height:45%}.padding-1{padding:1rem}.light{background-color:#F4F4F4}";const u=class{constructor(e){t(this,e),this.solutionVariableSelected=s(this,"solutionVariableSelected",7)}get el(){return e(this)}value="";locale;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}valueWatchHandler(){this._solutionVariables=JSON.parse(this.value)}componentWillLoad(){return this._getTranslations()}render(){return i(a,{key:"a9354a1d3b3d91b9b9522bec945726e106487b78"},i("div",{key:"d38d0151ba9f8421e3ec863ce90b234964cb7f21"},i("h4",{key:"3d10129c3327e803e38b4fc21976764f9ac91693",class:"org-var-header"},this._translations.solVariables)),i("div",{key:"8b79cef63c5b8f5f66b0e11a4b94021f6a025fc3",class:"container-border"},i("calcite-tree",{key:"7f69edec6e35a65e45b461d69e92d0e163563bee",id:"variable-label"},this._renderHierarchy(this._solutionVariables))))}_solutionVariables=[];_translations;solutionVariableSelected;_renderHierarchy(t){return t.map((t=>t.dependencies&&t.dependencies.length>0?i("calcite-tree-item",{onClick:t=>this._toggleExpand(t)},i("solution-item-icon",{type:t.type}),i("span",{class:"icon-text",title:t.title},t.title),i("calcite-tree",{slot:"children"},this._renderHierarchy(t.dependencies))):i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,e){this.solutionVariableSelected.emit({itemId:t,value:e})}_toggleExpand(t){const e=t?.target?.closest("calcite-tree-item");e&&(e.expanded=!e.expanded)}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],value:["valueWatchHandler"]}}};u.style=":host{display:block}.container-border{overflow-y:hidden}.org-var-header{margin-top:1rem;margin-bottom:1rem;margin-left:0px;margin-right:0px}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";export{d as json_editor,r as solution_item_details,h as solution_item_sharing,b as solution_organization_variables,p as solution_resource_item,f as solution_template_data,u as solution_variables}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as i,f as t,h as e,g as s}from"./p-c3eae9ba.js";import{l as n}from"./p-d001e961.js";import{g as a}from"./p-3df0f3d3.js";import{s as r,g as o}from"./p-b9fc59da.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";import"./p-80262cb7.js";import"./p-fb75e187.js";const c={base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"},d=class{constructor(t){i(this,t),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1,this.messages=void 0}async componentWillLoad(){this.compactHandler(),new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){a(this)}async initializeModules(){const[i,t,e,s]=await n(["esri/core/Handles","esri/core/reactiveUtils","esri/widgets/Widget","esri/widgets/Legend"]);this.handles=new i,this.reactiveUtils=t,this.widget=new e;const a=new s;return await t.whenOnce((()=>null==a?void 0:a.messages)),this.messages=Object.assign(Object.assign({},this.messages),a.messages),Promise.resolve()}async init(){if(this.reactiveUtils&&this.view&&this.handles)try{const{on:i}=this.reactiveUtils,[t]=await n(["esri/widgets/Legend/LegendViewModel"]),e=new t({view:this.view,respectLayerDefinitionExpression:!0});this.legendvm=e,this.handles.add([i((()=>{var i;return null===(i=this.legendvm)||void 0===i?void 0:i.activeLayerInfos}),"change",(()=>{var i;return this._refreshActiveLayerInfos(null===(i=null==this?void 0:this.legendvm)||void 0===i?void 0:i.activeLayerInfos,this.reactiveUtils)}))])}catch(i){console.error('Failed at "init": ',i)}}compactHandler(){r.set("compact",this.compact)}render(){var i;const{base:t,component:s,widget:n,widgetPanel:a}=c;return e("div",{key:"interactive-legend",class:null===(i=this.widget)||void 0===i?void 0:i.classes(t,s,n,a)},e("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>this.ref=i,class:o(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}))}_refreshActiveLayerInfos(i,t){i&&(this.handles.removeAll(),i.forEach((i=>this._renderOnActiveLayerInfoChange(i,t))))}_renderOnActiveLayerInfoChange(i,t){var e;const{on:s}=this.reactiveUtils,n=s((()=>i.children),"change",(()=>i.children.forEach((i=>this._renderOnActiveLayerInfoChange(i,t)))));this.handles.add(n,`children_${null===(e=null==i?void 0:i.layer)||void 0===e?void 0:e.uid}`),i.children.forEach((i=>{var e,s;this._renderOnActiveLayerInfoChange(i,t),(null===(e=null==i?void 0:i.children)||void 0===e?void 0:e.length)>0&&(null===(s=null==i?void 0:i.children)||void 0===s||s.forEach((i=>this._renderOnActiveLayerInfoChange(i,t))))}))}get el(){return s(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"],compact:["compactHandler"]}}};d.style=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}";export{d as instant_apps_interactive_legend}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,h as i,g as o}from"./p-c3eae9ba.js";import{g as n}from"./p-3df0f3d3.js";import"./p-d001e961.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const a=class{constructor(i){t(this,i),this.popoverTitle=void 0,this.subtitle=void 0,this.content=void 0,this.imgSrc=void 0,this.imgAlt=void 0,this.mediaSrc=void 0,this.index=void 0,this.referenceElement=void 0,this.parent=void 0,this.placement="trailing-start",this.refId=void 0,this.pagination=!1,this.disableAction=!1,this.popoverAction=void 0,this.messages=void 0,this.messageOverrides=void 0}async componentDidLoad(){n(this,this.messageOverrides)}componentDidUpdate(){this.popoverEl.referenceElement=this.referenceElement}render(){var t,o,n,a,e;return i("calcite-popover",{key:"3849f154df2469bc69e860169af0eb64c4f77762",ref:t=>this.popoverEl=t,heading:this.popoverTitle,"auto-close":!0,placement:this.placement,messageOverrides:{close:null===(t=this.messages)||void 0===t?void 0:t.close},"trigger-disabled":!0,"ref-id":this.refId,closable:!0,referenceElement:this.referenceElement,label:this.popoverTitle},i("div",{key:"7a718011648474a15322e6857f96b5ffff2a8c0b",class:"instant-apps-popover__content"+(this.disableAction?" instant-apps-popover--action-disabled":"")},this.disableAction?null:i("calcite-action",{key:"popover-action",class:"instant-apps-popover__action",onClick:this.popoverAction,icon:"rtl"===document.dir?"chevron-right":"chevron-left",compact:!0,"text-enabled":!0,text:(null===(o=this.messageOverrides)||void 0===o?void 0:o.popoverAction)?this.messageOverrides.popoverAction:this.messages.back}),i("section",{key:"2455c7714dce23fe24b30564d02cfbe7c1038a6f"},i("span",{key:"f986951bea30dabd88bbafdba5c7bd041999fd4e",id:"subtitle"},this.subtitle),i("p",{key:"f2b632aae0a34a0fbbbec3e003cca6f7cfcd9343"},this.content),this.imgSrc?i("img",{key:`iac-popover-img-${this.refId}`,class:"instant-apps-popover__img",src:this.imgSrc,alt:this.imgAlt?this.imgAlt:""}):null),this.pagination?i("div",{key:`iac-popover-footer-${this.index}`,class:"instant-apps-popover__footer"},i("span",null,this.index+1," ",null===(n=this.messages)||void 0===n?void 0:n.of," ",null===(e=null===(a=this.parent)||void 0===a?void 0:a.instantAppsPopovers)||void 0===e?void 0:e.size),this.renderPagination()):null))}renderPagination(){var t,o;const{index:n,messages:a,parent:e}=this,s=n===(null===(o=null===(t=this.parent)||void 0===t?void 0:t.instantAppsPopovers)||void 0===o?void 0:o.size)-1;return i("div",{key:"pagination-button-container",class:"instant-apps-popover__button-container"},0===n?null:i("calcite-button",{key:"prev",onClick:()=>null==e?void 0:e.previous(),appearance:"outline",kind:"neutral"},null==a?void 0:a.back),i("calcite-button",{key:"next",onClick:()=>{s?null==e||e.done():null==e||e.next()}},s?null==a?void 0:a.done:null==a?void 0:a.next))}get el(){return o(this)}};a.style=":host{display:block}.instant-apps-popover__content{display:flex;flex-direction:column;padding:0 5% 5% 5%;max-width:35vw;font-family:var(--calcite-sans-family);font-size:0.875rem}.instant-apps-popover__content .instant-apps-popover__action{align-self:flex-start;--calcite-color-foreground-2:transparent}.instant-apps-popover__content span{display:inline-block;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);margin:0 0 10px 0;font-family:var(--calcite-sans-family)}.instant-apps-popover__content p{line-height:19.12px;margin:0;margin-bottom:10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.instant-apps-popover__content .instant-apps-popover__footer span{margin-bottom:0;font-weight:normal;font-size:0.875rem;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:first-child{--calcite-color-foreground-3:transparent}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:last-child{margin-left:5px}.instant-apps-popover__content .instant-apps-popover__img{width:100%;margin-bottom:10px}.instant-apps-popover__content.instant-apps-popover--action-disabled{padding:5%}.instant-apps-popover__content.instant-apps-popover--action-disabled #subtitle{margin:0 0 10px 0}";export{a as instant_apps_popover}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,h as i,H as e,g as n}from"./p-c3eae9ba.js";import{c as l}from"./p-fb75e187.js";import{l as o}from"./p-d001e961.js";import{g as r}from"./p-80262cb7.js";import{g as a}from"./p-3df0f3d3.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const{state:d,onChange:s}=l({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),u="time-slider-watch",v=new class{constructor(){this.initializeModules()}async initializeModules(){try{const[t,i,e,n,l,r,a]=await o(["esri/core/Handles","esri/core/reactiveUtils","esri/widgets/TimeSlider","esri/time/TimeExtent","esri/time/TimeInterval","esri/layers/support/FeatureFilter","esri/layers/support/FeatureEffect"]);this.reactiveUtils=i,this.handles=new t,this.TimeSlider=e,this.TimeExtent=n,this.TimeInterval=l,this.FeatureFilter=r,this.FeatureEffect=a}catch(t){}}async init(t){var i,e,n;t&&(t.innerHTML=""),"playing"===(null===(e=null===(i=null==d?void 0:d.timeSlider)||void 0===i?void 0:i.viewModel)||void 0===e?void 0:e.state)&&d.timeSlider.stop();const{view:l,timeInfoConfigItems:o}=d;if(l)try{if(await l.when(),1===o.length&&"map"===(null===(n=o[0])||void 0===n?void 0:n.type))this.initTimeSlider(t,o[0]);else{const i=await this.getTimeLayerViews(l,o);d.timeInfoItems=this.generateTimeInfoItems(i,o),this.initTimeSlider(t)}return Promise.resolve()}catch(t){}finally{this.setupFilterModeWatcher()}}destroy(){var t,i;null===(t=this.handles)||void 0===t||t.removeAll(),this.handles=null,null===(i=d.timeSlider)||void 0===i||i.destroy()}async getTimeLayerViews(t,i){const{allLayers:e}=t.map,n=i.map((({id:t})=>{return i=t,e.find((({id:t})=>i===t));var i})).map((i=>t.whenLayerView(i)));return await Promise.all(n)}generateTimeInfoItems(t,i){return[...i].map((i=>{const e=t.find((({layer:t})=>t.id===i.id));return this.generateTimeInfoItem(e,i)}))}generateTimeInfoItem(t,{increments:i,rangeStart:e,rangeEnd:n,timeIntervalValue:l}){var o;const r=null==t?void 0:t.layer,a=null===(o=null==r?void 0:r.timeInfo)||void 0===o?void 0:o.fullTimeExtent;return{layerView:t,unit:i,timeIntervalValue:null!=l?l:1,rangeStart:new Date(e),rangeEnd:new Date(n),timeExtent:a,previousTimeExtent:null}}initTimeSlider(t,i){var e,n;const{TimeSlider:l}=this,o=t=>{d.timeSlider=new l(t),d.autoPlay&&d.timeSlider.play()};if(i)o(this.getTimeSliderConfig(t,i));else{const i=null===(e=null==d?void 0:d.timeInfoItems)||void 0===e?void 0:e[0];if(!i)return;d.selectedTimeInfoItem=i,o(this.getTimeSliderConfig(t))}"2d"===(null===(n=d.view)||void 0===n?void 0:n.type)&&this.initialize2DView()}setupFilterModeWatcher(){s("filterMode",(t=>d.timeInfoItems.forEach((i=>{var e,n,l;const o=i.layerView;this.applyTimeExtent(o,(null===(n=null===(e=null==o?void 0:o.featureEffect)||void 0===e?void 0:e.filter)||void 0===n?void 0:n.timeExtent)||(null===(l=o.filter)||void 0===l?void 0:l.timeExtent),t)}))))}getTimeSliderConfig(t,i){var e,n,l,o,r,a,s,u;const{TimeExtent:v,TimeInterval:c}=this,h=Object.assign({container:t,mode:"time-window",view:"3d"===(null===(e=d.view)||void 0===e?void 0:e.type)?d.view:null},d.timeSliderConfig);if(i){const t=null===(o=null===(l=null===(n=d.view)||void 0===n?void 0:n.map)||void 0===l?void 0:l.widgets)||void 0===o?void 0:o.timeSlider,i=Object.assign(Object.assign({},h),{fullTimeExtent:null==t?void 0:t.fullTimeExtent,timeExtent:null==t?void 0:t.currentTimeExtent});return(null===(r=null==t?void 0:t.stopInterval)||void 0===r?void 0:r.unit)&&(null===(a=null==t?void 0:t.stopInterval)||void 0===a?void 0:a.value)&&(i.stops={interval:new c({unit:null===(s=null==t?void 0:t.stopInterval)||void 0===s?void 0:s.unit,value:null===(u=null==t?void 0:t.stopInterval)||void 0===u?void 0:u.value})}),i}{const[{timeExtent:t,rangeStart:i,rangeEnd:e,unit:n,timeIntervalValue:l}]=d.timeInfoItems;return Object.assign(Object.assign({},h),{fullTimeExtent:t,timeExtent:new v({start:i,end:e}),stops:{interval:new c({unit:n,value:l})}})}}initialize2DView(){d.timeInfoItems.forEach((t=>this.applyTimeExtent(t.layerView,new this.TimeExtent({start:t.rangeStart,end:t.rangeEnd})))),this.setupTimeExtentWatcher()}applyTimeExtent(t,i,e){var n;"effect"===(null===(n=d.filterMode)||void 0===n?void 0:n.type)?this.applyFeatureEffect(t,i,e):this.applyFeatureFilter(t,i)}applyFeatureEffect(t,i,e){var n;t&&(t.filter&&t.set("filter",null),(null==t?void 0:t.featureEffect)&&(null===(n=null==t?void 0:t.featureEffect)||void 0===n?void 0:n.filter)&&!e?t.featureEffect.filter.timeExtent=i:this.handleUpdatedFeatureEffect(t,i))}async handleUpdatedFeatureEffect(t,i){var e,n,l,o;const{FeatureEffect:a}=this;t.featureEffect=new a({filter:{timeExtent:i},includedEffect:await r(null===(n=null===(e=d.filterMode)||void 0===e?void 0:e.effect)||void 0===n?void 0:n.includedEffect,t,"includedEffect"),excludedEffect:await r(null===(o=null===(l=d.filterMode)||void 0===l?void 0:l.effect)||void 0===o?void 0:o.excludedEffect,t,"excludedEffect")})}applyFeatureFilter(t,i){t.featureEffect&&t.set("featureEffect",null),t.filter?t.filter.timeExtent=i:t.filter=new this.FeatureFilter({timeExtent:i})}setupTimeExtentWatcher(){var t,i,e,n;(null===(t=this.handles)||void 0===t?void 0:t.has(u))&&(null===(i=this.handles)||void 0===i||i.remove(u)),null===(e=this.handles)||void 0===e||e.add(null===(n=null==d?void 0:d.timeSlider)||void 0===n?void 0:n.watch("timeExtent",(t=>{var i;return this.applyTimeExtent(null===(i=d.selectedTimeInfoItem)||void 0===i?void 0:i.layerView,t)})),u)}updateSelectedTimeInfoItem(t){d.timeSlider&&(d.selectedTimeInfoItem&&(d.selectedTimeInfoItem.previousTimeExtent=d.timeSlider.timeExtent),d.selectedTimeInfoItem=t,this.reconfigureTimeSlider(t),this.applyTimeExtent(t.layerView,d.timeSlider.timeExtent),this.setupTimeExtentWatcher())}reconfigureTimeSlider(t){d.timeSlider&&(d.timeSlider.fullTimeExtent=t.timeExtent,d.timeSlider.timeExtent=this.getTimeExtent(t),d.timeSlider.stops={interval:this.getTimeInterval(t)})}getTimeExtent({rangeStart:t,rangeEnd:i,previousTimeExtent:e}){const{TimeExtent:n}=this;return null!=e?e:new n({start:t,end:i})}getTimeInterval(t){var i,e,n,l,o;const{TimeInterval:r}=this;return new r({unit:null!==(i=t.unit)&&void 0!==i?i:null===(o=null===(l=null===(n=null===(e=t.layerView)||void 0===e?void 0:e.layer)||void 0===n?void 0:n.timeInfo)||void 0===l?void 0:l.interval)||void 0===o?void 0:o.unit,value:1})}getLabel(t){var i,e;return(null===(e=null===(i=null==t?void 0:t.layerView)||void 0===i?void 0:i.layer)||void 0===e?void 0:e.title)||""}},c=class{constructor(i){t(this,i),this.timeSliderRef=void 0,this.timeInfoConfigItems=[],this.filterMode=void 0,this.view=void 0,this.timeSliderConfig=void 0,this.autoPlay=!1}async updateTimeInfoConfigItems(){d.timeInfoConfigItems=this.timeInfoConfigItems,await v.init(this.timeSliderRef)}async updateFilterMode(){d.filterMode=this.filterMode}async updateTimeSliderConfig(){d.timeSliderConfig=this.timeSliderConfig,await v.init(this.timeSliderRef)}async updateAutoPlay(){d.autoPlay=this.autoPlay,d.timeSlider&&(d.autoPlay?d.timeSlider.play():d.timeSlider.stop())}async componentWillLoad(){try{d.view=this.view,d.timeInfoConfigItems=this.timeInfoConfigItems,d.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(d.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(d.filterMode=this.filterMode),await a(this)}catch(t){}}async componentDidLoad(){try{await v.init(this.timeSliderRef)}catch(t){}finally{d.loading=!1}}disconnectedcallback(){v.destroy()}render(){return i(e,{key:"70cc1da4bf2334962b6034fe79383ae016e5738e"},this._renderBase())}_renderBase(){return i("div",{class:"instant-apps-time-filter"+("2d"!==this.view.type?" instant-apps-time-filter--3d":"")},this._renderLoader(),"2d"===this.view.type&&this._renderTopEl(),i("div",{key:"time-slider",ref:t=>this.timeSliderRef=t}))}_renderLoader(){var t,e;return d.loading&&i("div",null,i("div",{class:"instant-apps-time-filter__background"}),i("div",{class:"instant-apps-time-filter__loading-container"},i("calcite-loader",{scale:"m",label:null===(t=this.messages)||void 0===t?void 0:t.loading,text:null===(e=this.messages)||void 0===e?void 0:e.loading})))}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){var t,e,n;const l=null===(n=null===(e=null===(t=d.selectedTimeInfoItem)||void 0===t?void 0:t.layerView)||void 0===e?void 0:e.layer)||void 0===n?void 0:n.title;return i("span",{class:"instant-apps-time-filter__layer-title"},l)}_renderDropdown(){return d.selectedTimeInfoItem&&i("calcite-dropdown",null,this._renderDropdownButton(),this._renderDropdownItems())}_renderDropdownButton(){return i("calcite-button",{slot:"trigger",appearance:"transparent",iconEnd:"chevron-down",width:"full",alignment:"space-between"},v.getLabel(d.selectedTimeInfoItem))}_renderDropdownItems(){return d.timeInfoItems.map((t=>this._renderDropdownItem(t)))}_renderDropdownItem(t){var e,n,l,o,r;const a=null===(l=null===(n=null===(e=d.selectedTimeInfoItem)||void 0===e?void 0:e.layerView)||void 0===n?void 0:n.layer)||void 0===l?void 0:l.id,s=null===(r=null===(o=null==t?void 0:t.layerView)||void 0===o?void 0:o.layer)||void 0===r?void 0:r.id;return i("calcite-dropdown-item",{onCalciteDropdownItemSelect:()=>v.updateSelectedTimeInfoItem(t),selected:a===s},v.getLabel(t))}get el(){return n(this)}static get watchers(){return{timeInfoConfigItems:["updateTimeInfoConfigItems"],filterMode:["updateFilterMode"],timeSliderConfig:["updateTimeSliderConfig"],autoPlay:["updateAutoPlay"]}}};c.style=".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}";export{c as instant_apps_time_filter}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as i,h as n,g as t,H as s}from"./p-c3eae9ba.js";import{l as a}from"./p-d001e961.js";import{g as o}from"./p-3df0f3d3.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const e="instant-apps-sign-in__entry-button",r=class{constructor(n){i(this,n),this.type="navigation",this.portal=void 0,this.oauthappid=void 0,this.openInPopup=void 0,this.landingPage=void 0,this.isSignedIn=void 0,this.user=void 0,this.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.showIndicator=!0,this.closeLandingPage=void 0,this.signInDropdownItems=void 0,this.ready=!1,this.messages=void 0}async watchPortal(){await this.initSignIn()}async watchOauthappid(){await this.initSignIn()}async componentWillLoad(){o(this),await this.initSignIn()}render(){const i=this.ready?this.renderContent():null;return n(s,{key:"ab1c9e194ed4eed74680dd242e0ea0f314cf1f56"},i)}renderContent(){return"landingPage"===this.type?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return n("div",{class:"instant-apps-sign-in__container"},this.isSignedIn?this.renderSignInDropdown():this.renderSignInButton())}renderSignInDropdown(){var i,t,s,a,o,e,r,l,c,p,d,h,g,u,v,_;const m=this.showIndicator?"instant-apps-sign-in__indicator":"";return n("calcite-dropdown",{placement:"bottom-end",scale:"navigation"===this.type?"m":"s"},"navigation"===this.type?n("calcite-navigation-user",{class:m,slot:"trigger",thumbnail:null===(i=this.user)||void 0===i?void 0:i.thumbnailUrl,"full-name":null===(t=this.user)||void 0===t?void 0:t.fullName,username:null===(s=this.user)||void 0===s?void 0:s.username,"user-id":null!==(o=null===(a=this.user)||void 0===a?void 0:a.id)&&void 0!==o?o:null===(r=null===(e=this.user)||void 0===e?void 0:e.sourceJSON)||void 0===r?void 0:r.id,textDisabled:!0}):n("button",{slot:"trigger"},n("calcite-avatar",{class:m,thumbnail:null===(l=this.user)||void 0===l?void 0:l.thumbnailUrl,"full-name":null===(c=this.user)||void 0===c?void 0:c.fullName,username:null===(p=this.user)||void 0===p?void 0:p.username,"user-id":null!==(h=null===(d=this.user)||void 0===d?void 0:d.id)&&void 0!==h?h:null===(u=null===(g=this.user)||void 0===g?void 0:g.sourceJSON)||void 0===u?void 0:u.id})),n("slot",{name:"sign-in-dropdown-top"}),n("calcite-dropdown-group",{"selection-mode":"none"},null===(v=this.signInDropdownItems)||void 0===v?void 0:v.map((i=>n("calcite-dropdown-item",{onClick:i.onClick},i.label))),n("calcite-dropdown-item",{onClick:this.signOut.bind(this)},null===(_=this.messages)||void 0===_?void 0:_.signOut)))}renderSignInButton(){var i;const t="navigation"===this.type?"transparent":"solid";return n("calcite-button",{class:"navigation"===this.type?"instant-apps-sign-in__sign-in-btn":"",onClick:this.signIn.bind(this),scale:"s","icon-start":"sign-in",appearance:t},null===(i=this.messages)||void 0===i?void 0:i.signIn)}renderLandingPageSignIn(){var i,t;return n("div",{class:"instant-apps-sign-in__entry-button-container"},n("calcite-button",{class:e,scale:"l",onClick:this.landingPageSignIn.bind(this)},null===(i=this.messages)||void 0===i?void 0:i.signIn),n("calcite-button",{class:e,scale:"l",appearance:"outline-fill",onClick:this.guestOnClick.bind(this)},null===(t=this.messages)||void 0===t?void 0:t.continueAsGuest))}async initSignIn(){if(null==this.portal||null==this.oauthappid)return;const[i,n,t]=await a(["esri/identity/OAuthInfo","esri/identity/IdentityManager","esri/core/reactiveUtils"]);this.idManager=n,this.info=new i({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await t.whenOnce((()=>this.portal.user)),this.user=this.portal.user)}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){var i;null===(i=this.portal.credential)||void 0===i||i.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;const n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),null!=this.closeLandingPage&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():null!=this.closeLandingPage&&this.closeLandingPage()}async checkSignInStatus(){try{const i=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=i,!0}catch(i){return this.portal.credential=null,!1}}setSignInLocalStorage(){const i=new Date;localStorage.setItem("signing-in",i.getTime().toString()),setTimeout((()=>{localStorage.removeItem("signing-in")}),2e3)}get el(){return t(this)}static get watchers(){return{portal:["watchPortal"],oauthappid:["watchOauthappid"]}}};r.style=':host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(0.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}';export{r as instant_apps_sign_in}
@@ -1,21 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{_ as t}from"./p-419233a3.js";import{l as s}from"./p-7ded7b2e.js";
7
- /** @license
8
- * Copyright 2022 Esri
9
- *
10
- * Licensed under the Apache License, Version 2.0 (the "License");
11
- * you may not use this file except in compliance with the License.
12
- * You may obtain a copy of the License at
13
- *
14
- * http://www.apache.org/licenses/LICENSE-2.0
15
- *
16
- * Unless required by applicable law or agreed to in writing, software
17
- * distributed under the License is distributed on an "AS IS" BASIS,
18
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- * See the License for the specific language governing permissions and
20
- * limitations under the License.
21
- */class e{arcade;intl;async getPopupTitle(s,e){this.arcade||await this._initModules();let i={};for(const[t,e]of Object.entries(s.attributes))i={...i,[`{${t.toUpperCase()}}`]:e};const a=s.layer,o=this._removeTags(a?.popupTemplate?.title);if(o.includes("{expression/expr")&&null!=a?.popupTemplate?.expressionInfos)for(let t=0;t<a.popupTemplate?.expressionInfos.length;t++){const o=a.popupTemplate.expressionInfos[t],n=this.arcade.createArcadeProfile("popup");try{const t=await this.arcade.createArcadeExecutor(o.expression,n),r=await t.executeAsync({$feature:s,$layer:a,$map:e});null==r&&""===r||(i[`{expression/${o.name}}`.toUpperCase()]=r)}catch(t){console.error(t);continue}}return a.popupTemplate?.fieldInfos&&a.fields.forEach((e=>{const o=s.attributes[e.name],n=a.popupTemplate.fieldInfos.find((t=>t.fieldName.toLowerCase()===e.name.toLowerCase())),r=t(o,e.type,e.domain,n?.format,this.intl);i[`{${e.name.toUpperCase()}}`]=r??o})),o?.replace(/{.*?}/g,(t=>null!=i[t.toUpperCase()]?i[t.toUpperCase()]:""))}_removeTags(t){return null==t||""===t?"":t.toString().replace(/(<([^>]+)>)/gi,"")}async _initModules(){const[t,e]=await s(["esri/arcade","esri/intl"]);this.arcade=t,this.intl=e}}export{e as P}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as e,h as s,F as a,H as n}from"./p-c3eae9ba.js";import{l as o,g as h}from"./p-7ded7b2e.js";import{a as c,g as d}from"./p-d572627c.js";import{P as l}from"./p-723482d1.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-419233a3.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const r=class{constructor(e){t(this,e),this.success=i(this,"success",7),this.fail=i(this,"fail",7),this.drawComplete=i(this,"drawComplete",7),this.editingAttachment=i(this,"editingAttachment",7),this.progressStatus=i(this,"progressStatus",7),this.modeChanged=i(this,"modeChanged",7)}get el(){return e(this)}mapView;selectedLayerId;customizeSubmit=!1;locale;searchConfiguration;isMobile;floorLevel;formElements;enableSearch=!1;showGuidingMsg=!0;showGuidingMsgWhileDrawing=!0;_editorLoading=!1;_currentPage="templatePicker";_translations;Editor;ExpressionInfo;FieldElement;FormTemplate;_editor;FeatureLayer;MapView;_updatedMapView;Search;_search;reactiveUtils;_addingAttachment;_container;_mapViewContainer;_isSubmitBtnClicked=!1;_selectedLayer;_searchDiv;_calciteNotice;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(t){if(t){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){const t={layer:this._selectedLayer,template:this._selectedLayer.templates[0]};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(t),await this.hideEditorsElements()}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(t){this._editor&&this._setFloorLevel(t)}success;fail;drawComplete;editingAttachment;progressStatus;modeChanged;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async componentDidLoad(){await this.init()}componentDidRender(){this.isMobile&&(this._mapViewContainer.style.top=`${this._calciteNotice.offsetHeight+this._searchDiv.offsetHeight+80}px`)}disconnectedCallback(){this._editor&&this._editor.destroy()}render(){const t="drawing"===this._currentPage?"":"display-none",i=this._editorLoading?"":"display-none",e=this._editorLoading?"display-none":"",n=this.isMobile?"show-map":"display-none";let o=this._translations.chooseCategoryMsg;return"drawing"===this._currentPage?o=this._translations.provideLocationMsg:"featureForm"===this._currentPage&&(o=this._translations.provideDetailsMsg),s(a,{key:"829e66e8b4818b2566d514ae85eddc50968075f8"},this.showGuidingMsg&&(this.showGuidingMsgWhileDrawing||"drawing"!==this._currentPage)&&s("calcite-notice",{key:"0347181f26f5d87d38f8be185e0b43ffbbc34208",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0,ref:t=>this._calciteNotice=t},s("div",{key:"e5dd776ead66c26184a5aad747e82d97612d961a",slot:"message"},o)),s("calcite-loader",{key:"7989ecdbb4b635d38a1d63bf879d7e95b3f9a9be",class:i,label:"",scale:"s"}),s("div",{key:"6f6184af21e8a0595e5c51c132e657e7660caa01",class:e,id:"feature-form"}),this.enableSearch&&s("div",{key:"2068ca424a9355a28c9957104a4f6973b11c1b8f",class:`search-widget ${t} ${e}`,id:"search-widget-ref",ref:t=>this._searchDiv=t}),s("div",{key:"a899d52788e6cfa67fe77abbbe0eeb6383b40d0a",class:`${n}`,ref:t=>{this._mapViewContainer=t}}))}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile?this.createMobileMapView():this._loadWidgets()))}async initModules(){const[t,i,e,s,a,n,h]=await o(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView"]);this.Editor=t,this.reactiveUtils=i,this.Search=e,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=n,this.MapView=h}async createMobileMapView(){this._mapViewContainer.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer,zoom:this.mapView.zoom}).when((t=>{this._updatedMapView=t,this._loadWidgets()}),(t=>{console.log(t)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();const t=[];this._container=document.createElement("div"),this._container?.classList.add("display-none");const i=await c(this._updatedMapView);this._selectedLayer=await d(this.mapView,this.selectedLayerId),this._selectedLayer?.isTable||i.forEach((async i=>{t.push({layer:i,enabled:"feature"===i?.type&&i?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this._editor=new this.Editor({view:this._updatedMapView,layerInfos:t,visibleElements:{snappingControls:!1,createFeaturesSection:!0,editFeaturesSection:!1},container:this._container}),this._mapViewContainer?this.el.insertBefore(this._container,this._mapViewContainer):this.el.appendChild(this._container);const e=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(e);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&"create-features"!==this._editor.viewModel?.activeWorkflow?.type&&(this.progressStatus.emit(.5),this._editorLoading=!0)}));this._editor.viewModel.addHandles(s);const a=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&(this._mapViewContainer?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this)),setTimeout((()=>{this._setFloorLevel(this.floorLevel)}),50),this._currentPage="featureForm",this.progressStatus.emit(1),this.drawComplete.emit())}));this._editor.viewModel.addHandles(a);const n=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"creating-features"===t&&"disabled"===this._editor.viewModel.featureFormViewModel.state&&(this._mapViewContainer?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))}));this._editor.viewModel.addHandles(n)}async startCreate(){return await this.hideEditorsElements(),new Promise(((t,i)=>{if(this._editor.viewModel.featureTemplatesViewModel.items?.length){const e=this._editor.viewModel.featureTemplatesViewModel.items[0].get("items");this._editor.viewModel.featureTemplatesViewModel.on("select",(()=>{this.progressStatus.emit(.75),setTimeout((()=>{this.hideEditorsElements().then((()=>{t({})}),(t=>i(t)))}),700)})),1===e.length&&this._editor.viewModel.featureTemplatesViewModel.select(e[0]);const s=e.length>1;this.hideEditorsElements().then((()=>{s&&t({})}),(t=>s&&i(t)))}}))}async createSearchWidget(){let t={view:this._updatedMapView};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(t),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let i=null;this._search.on("search-complete",(t=>{this._updatedMapView.goTo(t.results[0].results[0].extent),"point"===this._selectedLayer.geometryType&&(i=t.results[0].results[0]?.feature.geometry)}));const e=this.reactiveUtils.watch((()=>this._search.viewModel.state),(t=>{"ready"===t&&setTimeout((()=>{this._editor.viewModel.sketchViewModel.createGraphic&&i&&(this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",i),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements())}),100)}));this._search.viewModel.addHandles(e)}_getSearchConfig(t,i){const e=t.sources;return e?.length>0?(t.includeDefaultSources=!1,e.forEach((t=>{if(t.hasOwnProperty("layer")){const e=t,s=e.layer?.id,a=s?i.map.findLayerById(s):null,n=e?.layer?.url;a?e.layer=a:n&&(e.layer=new this.FeatureLayer(n))}})),e?.forEach((t=>{if(t.hasOwnProperty("locator")){const i=t;"ArcGIS World Geocoding Service"===i?.name&&(i.outFields=i.outFields||["Addr_type","Match_addr","StAddr","City"],i.singleLineFieldName="SingleLine"),i.url=i.url,delete i.url}}))):t={...t,includeDefaultSources:!0},t}async _setFloorLevel(t){if(!t)return;const i=this._selectedLayer;if(i?.floorInfo?.floorField){const e=i.fields.find((t=>t.name===i.floorInfo.floorField));if(e&&!i?.formTemplate)this._editor.viewModel.featureFormViewModel.setValue(e.name,t),e.editable=!1;else if(i.formTemplate&&this.formElements){const e=new this.ExpressionInfo({expression:`"${t}"`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),s=new this.FieldElement({label:i.floorInfo.floorField,editableExpression:"false",fieldName:i.floorInfo.floorField,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:e.name});this._updatedMapView.map.editableLayers.forEach((t=>{const i=this.formElements.orgExpressionInfos,a=[...this.formElements.orgElements];a.push(s);const n=new this.FormTemplate({title:t.formTemplate.title,description:t.formTemplate.description,elements:a,expressionInfos:[e].concat(i)});t.formTemplate=n}))}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],isMobile:["isMobileHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};r.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.esri-editor__panel-content{padding-block:0px !important}.esri-editor .esri-item-list__group__header{display:none !important}.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 14px}.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)}.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}}";const p=class{constructor(e){t(this,e),this.editsComplete=i(this,"editsComplete",7)}get el(){return e(this)}deleteDialog;buttonType="button";disabled=!1;icon;ids=[];layer;locale;_confirmDelete=!1;_deleteEndabled=!1;_supportsDelete;_translations;async idsWatchHandler(){this._setDeleteEnabled()}async layerWatchHandler(){this._setDeleteEnabled()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}editsComplete;async componentWillLoad(){await this._getTranslations()}render(){return s(n,{key:"73d07f24703df76fdacc1b3a1ec80cfdd7bbee30"},"button"===this.buttonType?s("calcite-button",{appearance:"outline",disabled:!this._deleteEndabled,id:"solutions-delete",kind:"danger",onClick:()=>this._delete(),width:"full"},this._translations.deleteCount.replace("{{n}}",this.ids.length.toString())):s("calcite-action",{appearance:"solid",disabled:!this._deleteEndabled,id:this.icon,onClick:()=>this._delete(),scale:"s",text:this._translations.delete},s("calcite-button",{appearance:"transparent",iconStart:this.icon,kind:"danger"},this._translations.delete)),this._deleteMessage(),s("calcite-tooltip",{key:"803898895029bd098264b9144ff5ccee102d4ae8",placement:"bottom","reference-element":"button"===this.buttonType?"solutions-delete":this.icon},s("span",{key:"a920ffea1849667cd58812a2c1813d2e066f0064"},this._translations.delete)))}async componentDidLoad(){this._setDeleteEnabled()}_setDeleteEnabled(){this._supportsDelete=this.layer?.editingEnabled&&this.layer?.capabilities?.operations?.supportsDelete,this._deleteEndabled=!this.disabled||this._supportsDelete&&this.ids.length>0}_delete(){this._confirmDelete=!0}_deleteMessage(){return this.deleteDialog?this.deleteDialog:s("delete-dialog",{id:"solution-delete-dialog",ids:this.ids,layer:this.layer,locale:this.locale,onDeleteDialogClose:()=>this._confirmDelete=!1,open:this._confirmDelete})}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{ids:["idsWatchHandler"],layer:["layerWatchHandler"],locale:["localeWatchHandler"]}}};p.style=":host{display:block}.delete-modal{position:fixed}";const b=class{constructor(e){t(this,e),this.closeEdit=i(this,"closeEdit",7),this.editorInitialized=i(this,"editorInitialized",7),this.editsComplete=i(this,"editsComplete",7),this.refreshGraphics=i(this,"refreshGraphics",7)}get el(){return e(this)}enableEditGeometry=!1;graphics;locale;mapView;open=!1;graphicIndex=0;_editorLoading=!1;_translations;_activeWorkflowHandle;_addRelatedRecordHandle;_attachmentHandle;_editHandle;_layerEditHandle;Editor;_editor;_layer;_editContainer;_editControlElements;_editingDisabled;_shouldClose=!1;reactiveUtils;async graphicsWatchHandler(){0===this.graphics.length&&this.open&&await this._closeEdit(!0)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async openWatchHandler(t){t&&this.graphics?.length>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit(!0)}closeEdit;editorInitialized;editsComplete;refreshGraphics;async featureSelectionChange(){this.open&&await this._closeEdit(!1)}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){this.graphics?.length>0&&this.graphics[0]?.layer&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove(),this._layerEditHandle=("subtype-sublayer"===this._layer.type?this._layer.parent:this._layer).on("edits",(()=>{this.editsComplete.emit()})))}render(){const t=this._editorLoading?"display-none":"position-absolute",i=this._editorLoading?"":"display-none";return s(n,{key:"e181f65e7218ce0350de5dcab9049ff63a5d39c1"},s("div",{key:"44bf2b5cf31c5acc7f65fb7ec50fd84e77c95470",class:"position-absolute"},this.graphics?.length>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled?void 0:s("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},s("div",{slot:"message"},this._translations.enableEditing)),s("div",{key:"97119476aa2a992ccadc1d61119f2640d195e7b1",class:"position-absolute"},s("div",{key:"f429decea684a6a22db89de89da3755bdbff19cc",class:t,id:"feature-form",ref:t=>this._editContainer=t}),s("calcite-loader",{key:"3ea908ef8dadd2f1c85bfac1b344f8b4441b8706",class:i,label:"",scale:"s"}))))}async _initModules(){const[t,i]=await o(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div"),i=(await c(this.mapView)).map((t=>({layer:t,geometryUpdatesEnabled:this.enableEditGeometry})));this._editor=new this.Editor({view:this.mapView,layerInfos:i,visibleElements:{snappingControls:!1},container:t}),this._attachmentHandle&&this._activeWorkflowHandle&&(this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils.when((()=>"adding-attachment"===this._editor.viewModel.state||"editing-attachment"===this._editor.viewModel.state||"creating-features"===this._editor.viewModel.state),(()=>{this._shouldClose=!1})),this._activeWorkflowHandle=this.reactiveUtils.watch((()=>this._editor.viewModel.activeWorkflow?.activeWorkflow),(t=>{"update-table-record"!==t?.type&&"create-features"!==t?.type||(this._shouldClose=!1),(t?.type||t?.hasPendingEdits||this._editor.activeWorkflow)&&this._editor?.activeWorkflow?.started||(this.open=!1)})),this._editContainer.appendChild(t),this.editorInitialized.emit(this._editor)}}async _closeEdit(t){this._shouldClose=!0,t&&this._editor?.activeWorkflow?(this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits&&(await this._editor.activeWorkflow.reset(),await this._editor.cancelWorkflow()),this._editor.destroy()):this.graphicIndex>-1&&this.graphics?.length>0&&this.refreshGraphics.emit(this.graphics),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],locale:["localeWatchHandler"],open:["openWatchHandler"]}}};b.style=":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-color-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1) !important}.esri-editor__panel-toolbar{display:none !important}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-editor__panel-content{padding-block:10px !important}";const f=class{constructor(e){t(this,e),this.popupClosed=i(this,"popupClosed",7),this.selectionChanged=i(this,"selectionChanged",7)}get el(){return e(this)}enableEditGeometry=!1;graphics;isLoading=!1;isMobile;mapView;allowEditing=!0;highlightEnabled=!0;locale;paginationEnabled=!0;position="absolute";_alertOpen=!1;_count="";_editRecordOpen=!1;_mobileTitle="";_showListView=!1;_translations;Features;_editEnabled;_features;_layer;_popupUtils;_featuresNodeId="features-node"+(new Date).getMilliseconds().toString();reactiveUtils;async graphicsWatchHandler(){await this.setGraphics()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async localeWatchHandler(){if(this.el.lang=this.locale,await this._getTranslations(),this._features){const t=[...this.graphics];this.graphics=[],this.graphics=t}}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async refresh(){await this.setGraphics()}async back(){this._features.previous(),this._count=this._getCount()}async next(){this._features.next(),this._count=this._getCount()}async toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async updateCurrentGraphic(t){this._features.selectedFeatureWidget.graphic=t}popupClosed;selectionChanged;async closeEdit(){this._editRecordOpen=!1}async layerSelectionChange(){this._showListView=!1,this._features?.viewModel&&(this._features.viewModel.featureMenuOpen=!1,this._features.close())}async refreshGraphics(t){this.graphics=[...t.detail]}async componentWillLoad(){await this._initModules(),await this._getTranslations(),this._popupUtils=new l}async componentDidLoad(){this.graphics?.length>0&&await this.setGraphics()}render(){const t=this.isLoading?"":"display-none",i=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",e=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",a=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",o=this._features?.features?.length<2,h=this.isMobile?"display-none":"",c=this._features?.selectedFeature?.getObjectId(),d=parseInt(c?.toString(),10)>-1?[c]:[],l=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete;return s(n,{key:"54e47d0ec2be9149c3e667c9e940842804d96964"},s("calcite-shell",{key:"14bb280d394ceaa74463979886ab09cdf393b26e",style:{position:this.position}},this._getHeader(),s("calcite-loader",{key:"3226709e73de16c795c348513183b26b88b7a726",class:t,label:this._translations.fetchingData}),s("div",{key:"ba4b0c34620c60e849bdf0ada785b9976156dd1c",class:"esri-widget feature-node "+i,id:this._featuresNodeId}),s("div",{key:"440a4d3c0530f97031df2e2ab9511ef6035fb5da",class:`${a} width-100`,slot:"footer"},this.allowEditing&&s("div",{key:"172b2e2cc10bdfb104057376ceba5d7f5f19ad61",class:"display-flex top-border padding-1-2"},s("calcite-button",{key:"242daf0ec6c3fe4fcc11be4bbc19f810836714ec",appearance:"solid",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),this.isMobile&&l?s("delete-button",{class:"padding-inline-start-1 width-100",id:"solutions-delete",ids:d,layer:this._layer,locale:this.locale,onEditsComplete:()=>this._closePopup()}):void 0,s("calcite-tooltip",{key:"760f8fcd1bcff2060e0a98e84a222107e55fef22",placement:"bottom","reference-element":"solutions-edit"},s("span",{key:"30656b92e9bdbf3a9548586d91fc23bce2da9db3"},this._translations.edit)),this.isMobile&&l?s("calcite-tooltip",{placement:"bottom","reference-element":"solutions-delete"},s("span",null,this._translations.delete)):void 0),this.paginationEnabled&&!o&&s("div",{key:"0d119d7d093abfbdd6eb93bf6987be2b106a8c78",class:`display-flex padding-1-2 button-container top-border ${h}`},s("div",{key:"7b353bc77ef8f816c39a4b5232160755fbea42fe"},s("calcite-button",{key:"58d9b335eaf691672695bfed171cdd5aaf638aec",appearance:"transparent",disabled:o,iconFlipRtl:"both",iconStart:"chevron-left",id:"solutions-back",onClick:()=>this._back(),width:"full"}),s("calcite-tooltip",{key:"c5f110544d2c630d374f1c57112a16f3e82d67ca",placement:"top","reference-element":"solutions-back"},s("span",{key:"1818844f2daf4afa73677ea6b58392b5a5ec50b3"},this._translations.back))),s("calcite-action",{key:"36c5dd00320f52eb3421532c7df8f60ccede5230",class:"pagination-action",iconFlipRtl:!0,onClick:()=>this._toggleListView(),scale:"s",text:"",textEnabled:!0},s("span",{key:"b13cc04e8f093a7a0b9da8ee425d436a0c2fe26a",class:"pagination-count"},this._count)),s("div",{key:"7c79b82a8ba2bd4eea11a722d67e549121a95679"},s("calcite-button",{key:"3ff6b99d1743a9ff6a171aea4715199606a21dc6",appearance:"transparent",disabled:o,iconFlipRtl:"both",iconStart:"chevron-right",id:"solutions-next",onClick:()=>this._next(),width:"full"}),s("calcite-tooltip",{key:"0239927bac7e75a35a811aa695c8c55fda5f9b68",placement:"top","reference-element":"solutions-next"},s("span",{key:"a5bafe4d001d80a1a46de5f9eb10fb4306783e38"},this._translations.next))))),s("edit-card",{key:"daaef8c4af1b3567904e5d9590b80069035e93a0",class:e,enableEditGeometry:this.enableEditGeometry,graphicIndex:this._features?.selectedFeatureIndex,graphics:this.graphics,locale:this.locale,mapView:this.mapView,open:this._editRecordOpen}),s("calcite-alert",{key:"9af909318e687b66d239f64f800b375825ee94e0",icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},s("div",{key:"0a2ac2b669df18fe75adbcc0e84ab7b15a766932",slot:"title"},this._translations.editDisabled),s("div",{key:"6dd20d646e9754fbaee4dd6c6f8e51964d2f41ff",slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,i]=await o(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=i}async setGraphics(){this._features||await this._initFeaturesWidget(),this.graphics.length>0?(this._layer=this.graphics[0]?.layer,this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._mobileTitle=await this._popupUtils.getPopupTitle(this.graphics[0],this.mapView.map),this._features.open({features:this.graphics})):(this._features.clear(),this._features.close()),this._count=this._getCount()}async _initFeaturesWidget(){return void 0!==this.isMobile?await(this.mapView?.when((()=>{this._features?(this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=!1,this._features.visibleElements.heading=!this.isMobile):(this._features=new this.Features({view:this.mapView,container:this._featuresNodeId,visibleElements:{actionBar:!1,closeButton:!1,heading:!this.isMobile}}),this._features.viewModel.highlightEnabled=this.highlightEnabled,this.reactiveUtils.watch((()=>this._features.viewModel.featureMenuOpen),(t=>{this._count=this._getCount(),t||(this._showListView=t)})),this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit({selectedFeature:[this._features.selectedFeature],selectedFeatureIndex:this._features.selectedFeatureIndex})})))}))):Promise.resolve()}_getHeader(){return this.isMobile&&!this._editRecordOpen?s("calcite-panel",{class:"border-width-0",slot:"header"},s("calcite-action",{class:"end-border",icon:"chevron-left",iconFlipRtl:!0,onClick:()=>this._closePopup(),scale:"s",slot:"header-actions-start",text:""}),s("span",{class:"font-bold",slot:"header-content"},this._mobileTitle)):void 0}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features.previous(),this._count=this._getCount()}_next(){this._features.next(),this._count=this._getCount()}_getCount(){const t=(this._features?.viewModel.selectedFeatureIndex+1).toString(),i=this._features?.features?.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",i)}_toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],isMobile:["isMobileWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};f.style=":host{display:block;--calcite-label-margin-bottom:0}.padding-1-2{padding:0.5rem}.display-none{display:none !important}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.feature-node{position:relative !important}.feature-node .esri-features__footer{display:none !important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-color-foreground-1) !important;height:100% !important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:bold}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}";export{r as create_feature,p as delete_button,b as edit_card,f as info_card}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as a,h as n,H as s,g as e,F as i}from"./p-c3eae9ba.js";import{d as r,e as o,f as l,s as c,h as p,E as u,l as g,j as d,c as h}from"./p-b7a6512b.js";import"./p-3df0f3d3.js";import"./p-d001e961.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";import"./p-fb75e187.js";const m="instant-apps-components__ckeditor-wrapper",v=class{constructor(n){t(this,n),this.isFocused=a(this,"isFocused",7),this.dataChanged=a(this,"dataChanged",7),this.value=void 0,this.editorInstance=void 0,this.config=void 0}updateValue(){this.value&&this.editorInstance.setData(this.value)}async componentDidLoad(){this.init()}componentDidUpdate(){this.editorInstance.setData(this.value)}render(){return n(s,{key:"26f62d5413e21916b77253476cf48f69682861d5"},n("div",{key:"45a9d7b859a21e49c81afdaa3bdd5074f1428cd5"}))}init(){this.applyStyles(),this.initEditor()}applyStyles(){if(document.getElementById(m))return;const t=document.createElement("style");t.id=m,t.innerHTML="\n .ck.ck-reset.ck-editor.ck-rounded-corners {\n margin-top: 10px !important;\n margin-left: 55px !important;\n }\n .ck-editor__editable {\n height: 70px !important;\n font-size: 0.875rem !important;\n line-height: \t1.375 !important;\n color: var(--calcite-color-text-1) !important;\n }\n\n .ck.ck-editor__editable_inline>:first-child,\n .ck.ck-editor__editable_inline>:last-child {\n --ck-spacing-large: 0.5rem !important;\n }\n\n .ck.ck-balloon-panel.ck-powered-by-balloon {\n --ck-z-modal: 700;\n z-index: 700;\n }\n\n .calcite-mode-dark .ck-editor__editable {\n color: var(--calcite-color-text-inverse) !important;\n }\n",document.head.prepend(t)}async initEditor(){const t=await this.createEditor();t&&(this.editorInstance=t,(this.value||""===this.value)&&t.setData(this.value),t.editing.view.document.on("change:isFocused",this.getEditorFocusedCallback(t)))}async createEditor(){try{let t;return t=this.config?await ClassicEditor.create(this.el,this.config):await ClassicEditor.create(this.el),this.editorInstance=t,Promise.resolve(t)}catch(t){return console.error(t),Promise.reject(null)}}getEditorFocusedCallback(t){return(a,n,s)=>{if(s)this.isFocused.emit();else{const a=t.getData();this.value!==a&&(this.value=a,this.dataChanged.emit(a))}}}get el(){return e(this)}static get watchers(){return{value:["updateValue"]}}};v.style=":host{display:block}";const _="instant-apps-language-translator-item",f={section:`${_}__section`,selected:`${_}__section--selected`,collapsed:`${_}__section--collapsed`,topRow:`${_}__top-row`,labelContainer:`${_}__label-container`,label:`${_}__label`,uiLocationPopoverContent:`${_}__ui-location-popover-content`,uiLocationItems:`${_}__ui-location-items`,uiLocationItem:`${_}__ui-location-item`,infoIcon:`${_}__info-icon`,infoButton:`${_}__info-button`,tip:`${_}__tip`,nestedInput:`${_}__nested-input`},b=class{constructor(n){t(this,n),this.translatorItemDataUpdated=a(this,"translatorItemDataUpdated",7),this.userInputs={},this.translatedInputs={},this.fieldName=void 0,this.translatedLanguageLabels=void 0,this.setting=void 0,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0}get isTextEditor(){return this.setting.type===r.TextEditor}get calciteMode(){return o()?l.Dark:l.Light}get hasNestedContent(){var t;return!!(null===(t=this.setting)||void 0===t?void 0:t.content)}get tipID(){return`${this.fieldName}goTo`}componentDidLoad(){this.isTextEditor&&c.onChange("uiData",(()=>this.handleEditorCollapse()))}render(){var t;return"content"in this.setting&&(null===(t=this.setting.content)||void 0===t?void 0:t.every((t=>{var a;return 0===(null===(a=null==t?void 0:t.content)||void 0===a?void 0:a.length)})))?n(i,null):n(s,{class:this.calciteMode},this.renderBase(),this.renderPopover())}renderBase(){return n("div",{class:_},this.renderUserLocaleSection(),this.renderTranslatedLanguageSection())}renderPopover(){const t=this.getTip();return n("calcite-popover",{referenceElement:this.tipID,label:"","auto-close":"true",placement:"trailing",closable:!0},n("span",{class:f.uiLocationPopoverContent},n("span",{class:f.uiLocationItems},this.getUILocation()),t?n("span",{class:f.tip},t):null))}renderUserLocaleSection(){const t=this.getUIDataItem(),a=null==t?void 0:t.userLocaleData,s=null==a?void 0:a.value,e=this.setting.id;return n("div",{class:`${f.section}${(null==t?void 0:t.selected)?` ${f.selected}`:""}`},this.renderItemHeader(p.User,null==a?void 0:a.label,e),this.handleInputRender(p.User,s,e))}renderTranslatedLanguageSection(){var t,a;const s=this.getUIDataItem(),e=this.setting.id,i=c.get("currentLanguage"),r=c.get("portalItemResourceT9n"),o=null===(t=this.translatedLanguageLabels)||void 0===t?void 0:t[this.fieldName],l=null===(a=null==r?void 0:r[i])||void 0===a?void 0:a[e];return n("div",{class:`${f.section}${(null==s?void 0:s.selected)?` ${f.selected}`:""}`},this.renderItemHeader(p.Translation,o,e),this.handleInputRender(p.Translation,l,e))}handleInputRender(t,a,n){const s=this.getUIDataItem();return(null==s?void 0:s.expanded)?this.hasNestedContent?this.renderNestedInputs(t):this.renderInput(t,a,n):null}renderNestedInputs(t,a){const n=null!=a?a:this.setting,{content:s}=n;return null==s?void 0:s.map((a=>a.hasOwnProperty("content")?this.renderNestedInputs(t,a):this.renderNestedInput(t,a)))}renderNestedInput(t,a){var s;const e=c.get("currentLanguage"),i=c.get("portalItemResourceT9n"),r=null==a?void 0:a.id,o=null==i?void 0:i[e],l=null==o?void 0:o[r],{label:u,value:g,id:d}=a,h=t===p.Translation?null===(s=this.translatedLanguageLabels)||void 0===s?void 0:s[d]:u,m=t===p.User?g:l;return n("div",{class:f.nestedInput},this.renderItemHeader(t,h,r,a),this.renderInput(t,m,r,a))}renderItemHeader(t,a,s,e){const i=!this.hasNestedContent||!!e;return n("div",{class:f.topRow},this.renderItemHeaderLabel(t,a,e),i?this.renderCopyButton(t,s):null)}renderItemHeaderLabel(t,a,s){const e=t===p.User&&!s;return n("div",{class:f.labelContainer},s?null:this.renderExpandCollapseButton(),n("calcite-icon",{icon:this.getIcon(s),scale:"s"}),n("span",{class:f.label},a),e?this.renderInfoButton():null)}renderExpandCollapseButton(){const t=this.getUIDataItem(),a=(null==t?void 0:t.expanded)?u.Expanded:u.Collapsed;return n("calcite-action",{onClick:this.handleExpand.bind(this,t),icon:a,scale:"s",appearance:"transparent",text:""})}renderInfoButton(){return n("button",{id:this.tipID,class:f.infoButton},n("calcite-icon",{class:f.infoIcon,icon:u.Popover,scale:"s"}))}renderCopyButton(t,a){return n("calcite-action",{class:this.calciteMode,onClick:this.copySelection.bind(this,t,a),slot:"action",icon:u.Copy,appearance:"transparent",text:""})}renderInput(t,a,n,s){const e=null!=s?s:this.setting;return"string"===e.type||"textarea"===e.type?t===p.User?this.renderUserLocaleInput(a,n):this.renderTranslatedLanguageInput(a,n):this.renderTextEditor(a,t,n)}renderUserLocaleInput(t,a){return n("calcite-input",{ref:t=>this.userInputs[a]=t,key:a,id:a,class:l.Light,"data-field-name":this.fieldName,value:t,onFocus:this.handleSelection,onCalciteInputChange:this.handleUserInputChange.bind(this)})}renderTranslatedLanguageInput(t,a){return n("calcite-input",{ref:t=>this.translatedInputs[a]=t,key:a,id:a,class:l.Light,"data-field-name":this.fieldName,value:t,onFocus:this.handleSelection,onCalciteInputChange:this.handleTranslatedInputChange.bind(this)})}renderTextEditor(t,a,s){return n("instant-apps-ckeditor-wrapper",{id:s,ref:this.setEditor.bind(this,a),onDataChanged:this.handleTextEditorDataChange.bind(this,a),onIsFocused:this.handleSelection,value:null!=t?t:"","data-field-name":this.fieldName,config:{toolbar:[]}})}getUIDataItem(){if(g.uiData)return g.uiData.get(this.fieldName)}updateT9nStore(t,a){const n=c.get("currentLanguage"),s=d(n,{[t]:a});c.set("portalItemResourceT9n",s)}handleExpand(){const t=this.getUIDataItem();t.expanded=!t.expanded;const a=new Map(g.uiData);a.set(this.fieldName,t),c.set("uiData",a)}handleEditorCollapse(){var t,a;const n=c.get("uiData"),s=null==n?void 0:n.get(this.fieldName);if(!(null==s?void 0:s.expanded)&&(null===(t=this.userEditorWrapper)||void 0===t?void 0:t.editorInstance)&&(null===(a=this.translatedEditorWrapper)||void 0===a?void 0:a.editorInstance)){const{userEditorWrapper:t,translatedEditorWrapper:a}=this,n=t.editorInstance.getData();t.value=n;const s=a.editorInstance.getData();a.value=s,t.editorInstance.destroy(),a.editorInstance.destroy()}}handleSelection(t){const a=new Map(g.uiData),n=h();n.forEach((t=>{(null==a?void 0:a.get(t)).selected=!1})),n.forEach((n=>{const s=null==t?void 0:t.target;n===(null==s?void 0:s.getAttribute("data-field-name"))&&((null==a?void 0:a.get(n)).selected=!0)})),c.set("uiData",a)}getUILocation(){const t=this.getUIDataItem(),{uiLocation:a,userLocaleData:s}=t,{section:e,subsection:i}=a,r=[e.label,i.label,s.label].filter((t=>!!t));return r.map(((t,a)=>n("span",{class:f.uiLocationItem},n("span",null,t),a!==r.length-1?n("calcite-icon",{icon:"chevron-right",scale:"s"}):null)))}getTip(){const t=this.getUIDataItem(),{tip:a}=t;return a}copySelection(t,a){this.setting.type===r.TextEditor?this.copyTextEditorContent(t):this.copyCalciteInputContent(a,t)}copyTextEditorContent(t){var a,n;const s=t===p.User?null===(a=this.userEditorWrapper)||void 0===a?void 0:a.editorInstance:null===(n=this.translatedEditorWrapper)||void 0===n?void 0:n.editorInstance;setTimeout((()=>{this.selectContent(s),setTimeout((()=>this.selectContent(s)),50)}),50),this.copyContent(s)}selectContent(t){t.editing.view.focus();const{model:a}=t,n=a.createRangeIn(a.document.getRoot());a.change((t=>t.setSelection(n)))}copyContent(t){const a=t.getData(),n=document.createElement("div");n.contentEditable="true",n.innerHTML=a,document.body.appendChild(n);const s=document.createRange();s.selectNodeContents(n);const e=window.getSelection();null==e||e.removeAllRanges(),null==e||e.addRange(s),document.execCommand("copy"),document.body.removeChild(n)}copyCalciteInputContent(t,a){const n=a===p.User?this.userInputs[t]:this.translatedInputs[t];n&&(n.selectText(),navigator.clipboard.writeText(n.value))}setEditor(t,a){t===p.User?this.userEditorWrapper=a:this.translatedEditorWrapper=a}async handleUserInputChange(t){c.set("saving",!0);try{const a=t.target,n=a.id,s=a.value;this.getUIDataItem().userLocaleData.value=s,await this.userLocaleInputOnChangeCallback(n,s),c.set("saving",!1)}catch(t){c.set("saving",!1)}}async handleUserTextEditorChange(t){c.set("saving",!0);try{const a=t.detail,n=t.target.id;this.getUIDataItem().userLocaleData.value=a,await this.userLocaleInputOnChangeCallback(n,a),c.set("saving",!1)}catch(t){c.set("saving",!1)}}async handleTranslatedInputChange(t){c.set("saving",!0);try{const a=t.composedPath()[0],n=a.id;this.updateT9nStore(n,a.value);const{locale:s,resource:e}=this.getTranslatedLocaleCallbackData(),i=t.target.value;await this.translatedLocaleInputOnChangeCallback(n,i,s,e),setTimeout((()=>c.set("saving",!1)),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),c.set("saving",!1)}}async handleTranslatedTextEditorChange(t){c.set("saving",!0);try{const a=t.target.id;this.updateT9nStore(a,t.detail);const{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),e=t.detail;await this.translatedLocaleInputOnChangeCallback(a,e,n,s),setTimeout((()=>c.set("saving",!1)),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),c.set("saving",!1)}}handleTextEditorDataChange(t,a){t===p.User?this.handleUserTextEditorChange(a):this.handleTranslatedTextEditorChange(a)}getTranslatedLocaleCallbackData(){return{locale:c.get("currentLanguage"),resource:c.get("portalItemResource")}}getIcon(t){switch((null!=t?t:this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}};b.style=".sc-instant-apps-language-translator-item-h{display:block}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item.sc-instant-apps-language-translator-item{display:flex}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__top-row.sc-instant-apps-language-translator-item{display:flex;align-items:center;justify-content:space-between}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__label-container.sc-instant-apps-language-translator-item{display:flex;align-items:center}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__label.sc-instant-apps-language-translator-item{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item calcite-input.sc-instant-apps-language-translator-item{margin-top:10px;margin-left:55px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--last-item.sc-instant-apps-language-translator-item{border-bottom:none}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item{background-color:#f1faff}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item:first-child{margin-right:1%}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-popover-content.sc-instant-apps-language-translator-item{display:inline-block;padding:10px;max-width:400px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-items.sc-instant-apps-language-translator-item{display:flex}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-item.sc-instant-apps-language-translator-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__tip.sc-instant-apps-language-translator-item{display:inline-block;font-size:14px;line-height:22px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__info-icon.sc-instant-apps-language-translator-item{color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__info-button.sc-instant-apps-language-translator-item{border:0;background-color:transparent;cursor:pointer}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__nested-input.sc-instant-apps-language-translator-item{margin-left:60px;margin-top:8px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__nested-input.sc-instant-apps-language-translator-item calcite-input.sc-instant-apps-language-translator-item{margin-left:30px}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item{background-color:#f1faff;background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item calcite-action.sc-instant-apps-language-translator-item{--calcite-ui-icon-color:var(--calcite-color-text-inverse)}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item calcite-icon.sc-instant-apps-language-translator-item{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item{border-bottom:none}";const x="instant-apps-language-translator-search",k={base:x,input:`${x}__input`,suggestionList:`${x}__suggestion-list`,suggestionListItem:`${x}__suggestion-list-item`},y=class{constructor(n){t(this,n),this.suggestionSelected=a(this,"suggestionSelected",7),this.t9nPlaceholder=void 0,this.results=[]}render(){return n(s,{key:"80febf289e2bbfcf09636c84b5a5a83e80f377c0"},this.renderSearchInput(),this.renderSuggestions())}renderSearchInput(){return n("calcite-input",{ref:t=>this.searchInput=t,class:k.input,onCalciteInputInput:this.handleSearch.bind(this),type:"search",placeholder:this.t9nPlaceholder,icon:"search"})}renderSuggestions(){return this.results.length>0?this.renderSuggestionList():null}renderSuggestionList(){return n("ul",{class:k.suggestionList},this.results.map((t=>this.renderSuggestionListItem(t))))}renderSuggestionListItem(t){return n("li",{onClick:this.selectSuggestion.bind(this),class:k.suggestionListItem,"data-field-name":t.fieldName},t.userLocaleData.label)}handleSearch(t){var a,n;const s=null===(n=null===(a=t.target.value)||void 0===a?void 0:a.toLowerCase())||void 0===n?void 0:n.trim(),e=c.get("uiData"),i=h(),r=c.get("portalItemResourceT9n"),o=c.get("currentLanguage"),l=r[o],p=this.getSettingDataItems(i).filter(this.matchedResultsCallback(e,l,s,o));this.results=[...p.map((t=>Object.assign({fieldName:t},e.get(t))))]}matchedResultsCallback(t,a,n,s){return e=>{var i;const r=t.get(e),{label:o}=r.userLocaleData,{value:l}=r.userLocaleData,c=t.get("translatedLanguageLabels"),p=null===(i=null==c?void 0:c[s])||void 0===i?void 0:i[e],u=null==a?void 0:a[e],g=this.testUserInput(o,n),d=this.testUserInput(l,n),h=this.testUserInput(p,n),m=this.testUserInput(u,n);return g||d||h||m}}getSettingDataItems(t){return t.filter((t=>"locales"!==t&&"translatedLanguageLabels"!==t))}testUserInput(t,a){var n;return!!(null==t?void 0:t.trim())&&!!(null==a?void 0:a.trim())&&-1!==(null===(n=null==t?void 0:t.toLowerCase())||void 0===n?void 0:n.search(a))}selectSuggestion(t){const a=t.target.getAttribute("data-field-name");this.suggestionSelected.emit(a),this.resetSearchInput()}resetSearchInput(){this.searchInput.value="",this.results=[]}};y.style=".sc-instant-apps-language-translator-search-h{display:block;position:relative}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__input.sc-instant-apps-language-translator-search{width:235.5px}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list.sc-instant-apps-language-translator-search{position:absolute;margin:0;padding:0;width:100%;max-height:30vh;overflow:auto;border-left:none;background-color:var(--calcite-color-foreground-1);border:1px solid #c0c0c0;z-index:702}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search:first-child{border:none}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search{margin-top:0;padding:0.8em 1em;border-top:solid 1px rgba(110, 110, 110, 0.3);display:flex;flex-direction:column;cursor:pointer;word-break:break-word}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search:hover{background-color:var(--calcite-color-foreground-2)}";export{v as instant_apps_ckeditor_wrapper,b as instant_apps_language_translator_item,y as instant_apps_language_translator_search}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as e,h as s}from"./p-c3eae9ba.js";import{l as a,g as n}from"./p-7ded7b2e.js";import{P as h}from"./p-723482d1.js";import{g as l,c as r,h as o}from"./p-d572627c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-419233a3.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";import"./p-80cb7c73.js";const c=class{constructor(e){t(this,e),this.featureSelect=i(this,"featureSelect",7)}get el(){return e(this)}selectedLayerId;mapView;noFeaturesFoundMsg;pageSize=100;highlightOnMap=!1;highlightOnHover=!1;locale;sortingInfo;whereClause;textSize="large";showInitialLoading=!0;showErrorWhenNoFeatures=!0;showUserImageInList=!1;showFeatureSymbol=!1;applyLayerViewFilter=!1;reportingOptions;_featureItems=[];_featuresCount=0;_isLoading=!1;_translations;Color;esriConfig;symbolUtils;_popupUtils;_selectedLayer;_highlightHandle;_highlights;_pagination;_validFieldTypes=["small-integer","integer","big-integer","single","long"];_abbreviatedLikeCount;_likeFieldAvailable=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async selectedLayerWatchHandler(){this._selectedLayer=await l(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async refresh(t){if(t&&this._pagination){const t={target:{startItem:this._pagination.startItem}};await this.pageChanged(t)}else await this.initializeFeatureItems()}featureSelect;async componentWillLoad(){await this.initModules(),await this._getTranslations(),this._isLoading=this.showInitialLoading,this._popupUtils=new h,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await l(this.mapView,this.selectedLayerId))}async componentDidLoad(){await this.initializeFeatureItems()}render(){return s("calcite-panel",{key:"6b6214a3dba7df7c2035203750d547945407ecde","full-height":!0,"full-width":!0},this._isLoading&&s("calcite-loader",{key:"1b05d96de0b4d396b13f448311db76315e28b81b",label:"",scale:"m"}),this.showErrorWhenNoFeatures&&0===this._featureItems.length&&!this._isLoading&&s("calcite-notice",{key:"abe755f0bc5c7ff064249159c3154c9ca1c27594",class:"error-msg",icon:"feature-details",kind:"info",open:!0},s("div",{key:"5a8ead1d47151cf088ae9e359052cf35129b09d3",slot:"message"},this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg)),s("calcite-list",{key:"cd7049462fb654dad0c4c05f127cf3e5d06bc5de",label:"","selection-appearance":"border","selection-mode":"none"},!this._isLoading&&this._featureItems.length>0&&this._featureItems),this._featuresCount>this.pageSize&&s("div",{key:"b65b1f491800e489790d79054affc0ddcd089d1f",class:"width-full",slot:"footer"},s("calcite-pagination",{key:"280aa2b17c78f53a4f110f8dc021e630241ebbe0",class:"pagination","full-width":!0,onCalcitePaginationChange:this.pageChanged.bind(this),"page-size":this.pageSize,ref:t=>this._pagination=t,"start-item":"1","total-items":this._featuresCount})))}async initModules(){const[t,i,e]=await a(["esri/Color","esri/config","esri/symbols/support/symbolUtils"]);this.Color=t,this.esriConfig=i,this.symbolUtils=e}async getWhereCondition(){let t="1=1";if(this.whereClause&&(t=this.whereClause),this._selectedLayer?.definitionExpression&&(t=t+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){const i=await r(this.mapView,this.selectedLayerId);i?.filter?.where&&(t=t+" AND "+i.filter.where)}return t}async initializeFeatureItems(){if(this._selectedLayer){this._pagination?.goTo("start"),this._isLoading=this.showInitialLoading,this._featureItems=await this.queryPage(0);const t={where:await this.getWhereCondition()};this._featuresCount=await this._selectedLayer.queryFeatureCount(t),this._isLoading=!1}}async pageChanged(t){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=null);const i=t.target.startItem-1;this._featureItems=await this.queryPage(i),this._isLoading=!1}async featureClicked(t,i){if(this.clearHighlights(),this.highlightOnMap){const i=Number(t.target.value),e=await r(this.mapView,this.selectedLayerId);this._highlightHandle=await o([i],e,this.mapView,!0)}await this.emitSelectedFeature(i)}async emitSelectedFeature(t){const i=t.layer,e=i.createQuery();e.returnGeometry=!0,e.objectIds=[t.getObjectId()];const s=await i.queryFeatures(e);this.featureSelect.emit(s.features[0])}async onFeatureHover(t){if(this.clearHighlights(),this.highlightOnHover){const i=t.getObjectId(),e=await r(this.mapView,this.selectedLayerId);this._highlights&&(e.highlights=JSON.parse(this._highlights)),e.highlightOptions={color:new this.Color("#FFFF00")},this._highlights=JSON.stringify(e.highlights),this._highlightHandle=e.highlight([i])}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(t){const i=this._selectedLayer,e=this.sortingInfo?.field?this.sortingInfo.field:i.objectIdField,s=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),n={start:t,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView.spatialReference.toJSON()};e&&s&&(n.orderByFields=[e.toString()+" "+s]);const h=await i.queryFeatures(n);return await this.createFeatureItem(h)}async createFeatureItem(t){const i=t?.features,e=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,s=i.map((async t=>{const i=await this._popupUtils.getPopupTitle(t,this.mapView.map);let s,a;if(this.showUserImageInList){const i=this._selectedLayer.editFieldsInfo?.creatorField;i&&(s=await this.getUserInformation(t))}return this.showFeatureSymbol&&(a=await this.getFeatureSymbol(t)),e&&this.getAbbreviatedLikeCount(t),this.getFeatureItem(t,i,a,s)}));return Promise.all(s)}getAbbreviatedLikeCount(t){const i=this._selectedLayer,e=this.reportingOptions[i.id].likeField;i.fields.forEach((s=>{if(this._validFieldTypes.indexOf(s.type)>-1&&s.name===e&&this.reportingOptions[i.id].like){this._likeFieldAvailable=!0;let i=t.attributes[e]||0;i>999&&(i=i>999999?this._translations.millionsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e6).toString()):this._translations.thousandsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e3).toString())),this._abbreviatedLikeCount=i}}))}getFeatureItem(t,i,e,a){const n=t.attributes[this._selectedLayer.objectIdField].toString();i=i??n;const h=Number(t.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField]).toLocaleString(),l="small"===this.textSize?"feature-list-popup-title-small":"feature-list-popup-title",r=this.showUserImageInList||this.showFeatureSymbol?"feature-list-popup-title-padding-reduced":"feature-list-popup-title-padding";return s("calcite-list-item",{onCalciteListItemSelect:i=>{this.featureClicked(i,t)},onMouseLeave:()=>{this.clearHighlights()},onMouseOver:()=>{this.onFeatureHover(t)},value:n},this.showUserImageInList&&s("calcite-avatar",{class:"profile-img","full-name":a?.fullName,scale:"m",slot:"content-start",thumbnail:a?.userProfileUrl,userId:a?.id,username:a?.fullName?a.username:void 0}),this.showFeatureSymbol&&s("div",{class:"feature-symbol",ref:t=>t&&t.replaceChildren(e),slot:"content-start"}),s("div",{class:`${l} ${r}`,slot:"content-start"},i),this._likeFieldAvailable&&s("div",{class:"like-container",id:n.concat("like"),slot:"content-end"},s("span",null,this._abbreviatedLikeCount),s("calcite-icon",{icon:"thumbs-up",scale:"s"}),s("calcite-tooltip",{overlayPositioning:"fixed",placement:"top","reference-element":n.concat("like")},h)),s("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}async getUserInformation(t){let i=this._selectedLayer.editFieldsInfo?.creatorField;t.attributes.hasOwnProperty(i.toLowerCase())?i=i.toLowerCase():t.attributes.hasOwnProperty(i.toUpperCase())&&(i=i.toUpperCase());let e=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${t.attributes[i]}?f=json&returnUserLicensedItems=true`;const s=this.mapView.map.portalItem.portal?.credential?.token;s&&(e+=`&token=${s}`);const a=await fetch(e),n=await a.json();let h=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${n?.username??t.attributes[i]}/info/blob.png`;return n?.access&&s&&(h+=`?token=${s}`),n.userProfileUrl=h,n}async getFeatureSymbol(t){const i=document.createElement("div");return await this.symbolUtils.getDisplayedSymbol(t).then((async t=>{if(t&&await(this.symbolUtils?.renderPreviewHTML(t,{node:i})),i.children?.length){const t=i.children[0];if(t){const i=Number(t.getAttribute("height")),e=Number(t.getAttribute("width"));e>30?t.setAttribute("width","30"):e<19&&t.setAttribute("width","20"),t.setAttribute("viewBox",`0 0 ${e} ${i}`)}}})),i}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],selectedLayerId:["selectedLayerWatchHandler"],sortingInfo:["sortingInfoWatchHandler"],whereClause:["whereClauseHandler"]}}};c.style=":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;white-space:pre-line}.feature-list-popup-title-small{font-size:small;white-space:pre-line}.feature-list-popup-title-padding{padding:10px 12px}.feature-list-popup-title-padding-reduced{padding:10px 0}.profile-img{margin:0 0.75rem;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray !important;font-style:italic}.feature-symbol{padding:3px 10px;min-width:30px;display:flex;justify-content:center}";export{c as feature_list}
@@ -1,36 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{e as t}from"./p-0a24ad5f.js";import{a}from"./p-c3eae9ba.js";
7
- /** @license
8
- * Copyright 2022 Esri
9
- *
10
- * Licensed under the Apache License, Version 2.0 (the "License");
11
- * you may not use this file except in compliance with the License.
12
- * You may obtain a copy of the License at
13
- *
14
- * http://www.apache.org/licenses/LICENSE-2.0
15
- *
16
- * Unless required by applicable law or agreed to in writing, software
17
- * distributed under the License is distributed on an "AS IS" BASIS,
18
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- * See the License for the specific language governing permissions and
20
- * limitations under the License.
21
- */const e=async(a,e)=>(await t.exports.loadModules(a,e)).map((t=>t.__esModule&&t.default?t.default:t)),n=new Map([["ar","ar"],["bg","bg"],["bs","bs"],["ca","ca"],["cs","cs"],["da","da"],["de","de"],["el","el"],["en","en"],["es","es"],["et","et"],["fi","fi"],["fr","fr"],["he","he"],["hr","hr"],["hu","hu"],["id","id"],["it","it"],["ja","ja"],["ko","ko"],["lt","lt"],["lv","lv"],["nb","nb"],["nl","nl"],["pl","pl"],["pt-br","pt-BR"],["pt-pt","pt-PT"],["ro","ro"],["ru","ru"],["sk","sk"],["sl","sl"],["sr","sr"],["sv","sv"],["th","th"],["tr","tr"],["uk","uk"],["vi","vi"],["zh-cn","zh-CN"],["zh-hk","zh-HK"],["zh-tw","zh-TW"]]);async function s(t,a){const{api:n=4,type:s="decimal",places:r=2}=a||{};if(4===n){const[a]=await e(["esri/intl"]),n=a.convertNumberFormatToIntlOptions({places:r,type:s,digitSeparator:!0});return a.formatNumber(t,n)}const[o]=await e(["dojo/number"]);return o.format(t,{type:s,places:r})}
22
- /** @license
23
- * Copyright 2022 Esri
24
- *
25
- * Licensed under the Apache License, Version 2.0 (the "License");
26
- * you may not use this file except in compliance with the License.
27
- * You may obtain a copy of the License at
28
- *
29
- * http://www.apache.org/licenses/LICENSE-2.0
30
- *
31
- * Unless required by applicable law or agreed to in writing, software
32
- * distributed under the License is distributed on an "AS IS" BASIS,
33
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34
- * See the License for the specific language governing permissions and
35
- * limitations under the License.
36
- */function r(t){const a=t.closest("[lang]")??t.shadowRoot?.ownerDocument?.documentElement,e=(a?.lang||navigator?.language||"en").toLowerCase();return n.has(e)?n.get(e):n.has(e.slice(0,2))?n.get(e.slice(0,2)):"en"}function o(t,e){return new Promise(((n,s)=>{fetch(a(`assets/t9n/${t}/resources_${e}.json`)).then((t=>{t.ok?n(t.json()):s()}),(()=>s()))}))}async function c(t){const a=t.tagName.toLowerCase(),e=r(t);let n;try{n=await o(a,e)}catch(t){console.warn(`no locale for ${a} (${e}) loading default locale en.`),n=await o(a,"en")}return[n,e]}export{r as a,s as f,c as g,e as l}