@esri/solutions-components 0.5.4 → 0.5.6

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 (327) hide show
  1. package/dist/assets/t9n/buffer-tools/resources_ar.json +6 -0
  2. package/dist/assets/t9n/buffer-tools/resources_bg.json +6 -0
  3. package/dist/assets/t9n/buffer-tools/resources_bs.json +6 -0
  4. package/dist/assets/t9n/buffer-tools/resources_ca.json +6 -0
  5. package/dist/assets/t9n/buffer-tools/resources_cs.json +6 -0
  6. package/dist/assets/t9n/buffer-tools/resources_da.json +6 -0
  7. package/dist/assets/t9n/buffer-tools/resources_de.json +6 -0
  8. package/dist/assets/t9n/buffer-tools/resources_el.json +6 -0
  9. package/dist/assets/t9n/buffer-tools/resources_es.json +6 -0
  10. package/dist/assets/t9n/buffer-tools/resources_et.json +6 -0
  11. package/dist/assets/t9n/buffer-tools/resources_fi.json +6 -0
  12. package/dist/assets/t9n/buffer-tools/resources_fr.json +6 -0
  13. package/dist/assets/t9n/buffer-tools/resources_he.json +6 -0
  14. package/dist/assets/t9n/buffer-tools/resources_hr.json +6 -0
  15. package/dist/assets/t9n/buffer-tools/resources_hu.json +6 -0
  16. package/dist/assets/t9n/buffer-tools/resources_id.json +6 -0
  17. package/dist/assets/t9n/buffer-tools/resources_it.json +6 -0
  18. package/dist/assets/t9n/buffer-tools/resources_ja.json +6 -0
  19. package/dist/assets/t9n/buffer-tools/resources_ko.json +6 -0
  20. package/dist/assets/t9n/buffer-tools/resources_lt.json +6 -0
  21. package/dist/assets/t9n/buffer-tools/resources_lv.json +6 -0
  22. package/dist/assets/t9n/buffer-tools/resources_nb.json +6 -0
  23. package/dist/assets/t9n/buffer-tools/resources_nl.json +6 -0
  24. package/dist/assets/t9n/buffer-tools/resources_pl.json +6 -0
  25. package/dist/assets/t9n/buffer-tools/resources_pt-BR.json +6 -0
  26. package/dist/assets/t9n/buffer-tools/resources_pt-PT.json +6 -0
  27. package/dist/assets/t9n/buffer-tools/resources_ro.json +6 -0
  28. package/dist/assets/t9n/buffer-tools/resources_ru.json +6 -0
  29. package/dist/assets/t9n/buffer-tools/resources_sk.json +6 -0
  30. package/dist/assets/t9n/buffer-tools/resources_sl.json +6 -0
  31. package/dist/assets/t9n/buffer-tools/resources_sr.json +6 -0
  32. package/dist/assets/t9n/buffer-tools/resources_sv.json +6 -0
  33. package/dist/assets/t9n/buffer-tools/resources_th.json +6 -0
  34. package/dist/assets/t9n/buffer-tools/resources_tr.json +6 -0
  35. package/dist/assets/t9n/buffer-tools/resources_uk.json +6 -0
  36. package/dist/assets/t9n/buffer-tools/resources_vi.json +6 -0
  37. package/dist/assets/t9n/buffer-tools/resources_zh-CN.json +6 -0
  38. package/dist/assets/t9n/buffer-tools/resources_zh-HK.json +6 -0
  39. package/dist/assets/t9n/buffer-tools/resources_zh-TW.json +6 -0
  40. package/dist/assets/t9n/map-draw-tools/resources_ar.json +5 -0
  41. package/dist/assets/t9n/map-draw-tools/resources_bg.json +5 -0
  42. package/dist/assets/t9n/map-draw-tools/resources_bs.json +5 -0
  43. package/dist/assets/t9n/map-draw-tools/resources_ca.json +5 -0
  44. package/dist/assets/t9n/map-draw-tools/resources_cs.json +5 -0
  45. package/dist/assets/t9n/map-draw-tools/resources_da.json +5 -0
  46. package/dist/assets/t9n/map-draw-tools/resources_de.json +5 -0
  47. package/dist/assets/t9n/map-draw-tools/resources_el.json +5 -0
  48. package/dist/assets/t9n/map-draw-tools/resources_es.json +5 -0
  49. package/dist/assets/t9n/map-draw-tools/resources_et.json +5 -0
  50. package/dist/assets/t9n/map-draw-tools/resources_fi.json +5 -0
  51. package/dist/assets/t9n/map-draw-tools/resources_fr.json +5 -0
  52. package/dist/assets/t9n/map-draw-tools/resources_he.json +5 -0
  53. package/dist/assets/t9n/map-draw-tools/resources_hr.json +5 -0
  54. package/dist/assets/t9n/map-draw-tools/resources_hu.json +5 -0
  55. package/dist/assets/t9n/map-draw-tools/resources_id.json +5 -0
  56. package/dist/assets/t9n/map-draw-tools/resources_it.json +5 -0
  57. package/dist/assets/t9n/map-draw-tools/resources_ja.json +5 -0
  58. package/dist/assets/t9n/map-draw-tools/resources_ko.json +5 -0
  59. package/dist/assets/t9n/map-draw-tools/resources_lt.json +5 -0
  60. package/dist/assets/t9n/map-draw-tools/resources_lv.json +5 -0
  61. package/dist/assets/t9n/map-draw-tools/resources_nb.json +5 -0
  62. package/dist/assets/t9n/map-draw-tools/resources_nl.json +5 -0
  63. package/dist/assets/t9n/map-draw-tools/resources_pl.json +5 -0
  64. package/dist/assets/t9n/map-draw-tools/resources_pt-BR.json +5 -0
  65. package/dist/assets/t9n/map-draw-tools/resources_pt-PT.json +5 -0
  66. package/dist/assets/t9n/map-draw-tools/resources_ro.json +5 -0
  67. package/dist/assets/t9n/map-draw-tools/resources_ru.json +5 -0
  68. package/dist/assets/t9n/map-draw-tools/resources_sk.json +5 -0
  69. package/dist/assets/t9n/map-draw-tools/resources_sl.json +5 -0
  70. package/dist/assets/t9n/map-draw-tools/resources_sr.json +5 -0
  71. package/dist/assets/t9n/map-draw-tools/resources_sv.json +5 -0
  72. package/dist/assets/t9n/map-draw-tools/resources_th.json +5 -0
  73. package/dist/assets/t9n/map-draw-tools/resources_tr.json +5 -0
  74. package/dist/assets/t9n/map-draw-tools/resources_uk.json +5 -0
  75. package/dist/assets/t9n/map-draw-tools/resources_vi.json +5 -0
  76. package/dist/assets/t9n/map-draw-tools/resources_zh-CN.json +5 -0
  77. package/dist/assets/t9n/map-draw-tools/resources_zh-HK.json +5 -0
  78. package/dist/assets/t9n/map-draw-tools/resources_zh-TW.json +5 -0
  79. package/dist/assets/t9n/map-select-tools/resources.json +3 -1
  80. package/dist/assets/t9n/map-select-tools/resources_ar.json +13 -0
  81. package/dist/assets/t9n/map-select-tools/resources_bg.json +13 -0
  82. package/dist/assets/t9n/map-select-tools/resources_bs.json +13 -0
  83. package/dist/assets/t9n/map-select-tools/resources_ca.json +13 -0
  84. package/dist/assets/t9n/map-select-tools/resources_cs.json +13 -0
  85. package/dist/assets/t9n/map-select-tools/resources_da.json +13 -0
  86. package/dist/assets/t9n/map-select-tools/resources_de.json +13 -0
  87. package/dist/assets/t9n/map-select-tools/resources_el.json +13 -0
  88. package/dist/assets/t9n/map-select-tools/resources_en.json +3 -1
  89. package/dist/assets/t9n/map-select-tools/resources_es.json +13 -0
  90. package/dist/assets/t9n/map-select-tools/resources_et.json +13 -0
  91. package/dist/assets/t9n/map-select-tools/resources_fi.json +13 -0
  92. package/dist/assets/t9n/map-select-tools/resources_fr.json +13 -0
  93. package/dist/assets/t9n/map-select-tools/resources_he.json +13 -0
  94. package/dist/assets/t9n/map-select-tools/resources_hr.json +13 -0
  95. package/dist/assets/t9n/map-select-tools/resources_hu.json +13 -0
  96. package/dist/assets/t9n/map-select-tools/resources_id.json +13 -0
  97. package/dist/assets/t9n/map-select-tools/resources_it.json +13 -0
  98. package/dist/assets/t9n/map-select-tools/resources_ja.json +13 -0
  99. package/dist/assets/t9n/map-select-tools/resources_ko.json +13 -0
  100. package/dist/assets/t9n/map-select-tools/resources_lt.json +13 -0
  101. package/dist/assets/t9n/map-select-tools/resources_lv.json +13 -0
  102. package/dist/assets/t9n/map-select-tools/resources_nb.json +13 -0
  103. package/dist/assets/t9n/map-select-tools/resources_nl.json +13 -0
  104. package/dist/assets/t9n/map-select-tools/resources_pl.json +13 -0
  105. package/dist/assets/t9n/map-select-tools/resources_pt-BR.json +13 -0
  106. package/dist/assets/t9n/map-select-tools/resources_pt-PT.json +13 -0
  107. package/dist/assets/t9n/map-select-tools/resources_ro.json +13 -0
  108. package/dist/assets/t9n/map-select-tools/resources_ru.json +13 -0
  109. package/dist/assets/t9n/map-select-tools/resources_sk.json +13 -0
  110. package/dist/assets/t9n/map-select-tools/resources_sl.json +13 -0
  111. package/dist/assets/t9n/map-select-tools/resources_sr.json +13 -0
  112. package/dist/assets/t9n/map-select-tools/resources_sv.json +13 -0
  113. package/dist/assets/t9n/map-select-tools/resources_th.json +13 -0
  114. package/dist/assets/t9n/map-select-tools/resources_tr.json +13 -0
  115. package/dist/assets/t9n/map-select-tools/resources_uk.json +13 -0
  116. package/dist/assets/t9n/map-select-tools/resources_vi.json +13 -0
  117. package/dist/assets/t9n/map-select-tools/resources_zh-CN.json +13 -0
  118. package/dist/assets/t9n/map-select-tools/resources_zh-HK.json +13 -0
  119. package/dist/assets/t9n/map-select-tools/resources_zh-TW.json +13 -0
  120. package/dist/assets/t9n/pdf-download/resources_ar.json +3 -0
  121. package/dist/assets/t9n/pdf-download/resources_bg.json +3 -0
  122. package/dist/assets/t9n/pdf-download/resources_bs.json +3 -0
  123. package/dist/assets/t9n/pdf-download/resources_ca.json +3 -0
  124. package/dist/assets/t9n/pdf-download/resources_cs.json +3 -0
  125. package/dist/assets/t9n/pdf-download/resources_da.json +3 -0
  126. package/dist/assets/t9n/pdf-download/resources_de.json +3 -0
  127. package/dist/assets/t9n/pdf-download/resources_el.json +3 -0
  128. package/dist/assets/t9n/pdf-download/resources_es.json +3 -0
  129. package/dist/assets/t9n/pdf-download/resources_et.json +3 -0
  130. package/dist/assets/t9n/pdf-download/resources_fi.json +3 -0
  131. package/dist/assets/t9n/pdf-download/resources_fr.json +3 -0
  132. package/dist/assets/t9n/pdf-download/resources_he.json +3 -0
  133. package/dist/assets/t9n/pdf-download/resources_hr.json +3 -0
  134. package/dist/assets/t9n/pdf-download/resources_hu.json +3 -0
  135. package/dist/assets/t9n/pdf-download/resources_id.json +3 -0
  136. package/dist/assets/t9n/pdf-download/resources_it.json +3 -0
  137. package/dist/assets/t9n/pdf-download/resources_ja.json +3 -0
  138. package/dist/assets/t9n/pdf-download/resources_ko.json +3 -0
  139. package/dist/assets/t9n/pdf-download/resources_lt.json +3 -0
  140. package/dist/assets/t9n/pdf-download/resources_lv.json +3 -0
  141. package/dist/assets/t9n/pdf-download/resources_nb.json +3 -0
  142. package/dist/assets/t9n/pdf-download/resources_nl.json +3 -0
  143. package/dist/assets/t9n/pdf-download/resources_pl.json +3 -0
  144. package/dist/assets/t9n/pdf-download/resources_pt-BR.json +3 -0
  145. package/dist/assets/t9n/pdf-download/resources_pt-PT.json +3 -0
  146. package/dist/assets/t9n/pdf-download/resources_ro.json +3 -0
  147. package/dist/assets/t9n/pdf-download/resources_ru.json +3 -0
  148. package/dist/assets/t9n/pdf-download/resources_sk.json +3 -0
  149. package/dist/assets/t9n/pdf-download/resources_sl.json +3 -0
  150. package/dist/assets/t9n/pdf-download/resources_sr.json +3 -0
  151. package/dist/assets/t9n/pdf-download/resources_sv.json +3 -0
  152. package/dist/assets/t9n/pdf-download/resources_th.json +3 -0
  153. package/dist/assets/t9n/pdf-download/resources_tr.json +3 -0
  154. package/dist/assets/t9n/pdf-download/resources_uk.json +3 -0
  155. package/dist/assets/t9n/pdf-download/resources_vi.json +3 -0
  156. package/dist/assets/t9n/pdf-download/resources_zh-CN.json +3 -0
  157. package/dist/assets/t9n/pdf-download/resources_zh-HK.json +3 -0
  158. package/dist/assets/t9n/pdf-download/resources_zh-TW.json +3 -0
  159. package/dist/assets/t9n/public-notification/resources.json +2 -2
  160. package/dist/assets/t9n/public-notification/resources_ar.json +40 -0
  161. package/dist/assets/t9n/public-notification/resources_bg.json +40 -0
  162. package/dist/assets/t9n/public-notification/resources_bs.json +40 -0
  163. package/dist/assets/t9n/public-notification/resources_ca.json +40 -0
  164. package/dist/assets/t9n/public-notification/resources_cs.json +40 -0
  165. package/dist/assets/t9n/public-notification/resources_da.json +40 -0
  166. package/dist/assets/t9n/public-notification/resources_de.json +40 -0
  167. package/dist/assets/t9n/public-notification/resources_el.json +40 -0
  168. package/dist/assets/t9n/public-notification/resources_en.json +2 -2
  169. package/dist/assets/t9n/public-notification/resources_es.json +40 -0
  170. package/dist/assets/t9n/public-notification/resources_et.json +40 -0
  171. package/dist/assets/t9n/public-notification/resources_fi.json +40 -0
  172. package/dist/assets/t9n/public-notification/resources_fr.json +40 -0
  173. package/dist/assets/t9n/public-notification/resources_he.json +40 -0
  174. package/dist/assets/t9n/public-notification/resources_hr.json +40 -0
  175. package/dist/assets/t9n/public-notification/resources_hu.json +40 -0
  176. package/dist/assets/t9n/public-notification/resources_id.json +40 -0
  177. package/dist/assets/t9n/public-notification/resources_it.json +40 -0
  178. package/dist/assets/t9n/public-notification/resources_ja.json +40 -0
  179. package/dist/assets/t9n/public-notification/resources_ko.json +40 -0
  180. package/dist/assets/t9n/public-notification/resources_lt.json +40 -0
  181. package/dist/assets/t9n/public-notification/resources_lv.json +40 -0
  182. package/dist/assets/t9n/public-notification/resources_nb.json +40 -0
  183. package/dist/assets/t9n/public-notification/resources_nl.json +40 -0
  184. package/dist/assets/t9n/public-notification/resources_pl.json +40 -0
  185. package/dist/assets/t9n/public-notification/resources_pt-BR.json +40 -0
  186. package/dist/assets/t9n/public-notification/resources_pt-PT.json +40 -0
  187. package/dist/assets/t9n/public-notification/resources_ro.json +40 -0
  188. package/dist/assets/t9n/public-notification/resources_ru.json +40 -0
  189. package/dist/assets/t9n/public-notification/resources_sk.json +40 -0
  190. package/dist/assets/t9n/public-notification/resources_sl.json +40 -0
  191. package/dist/assets/t9n/public-notification/resources_sr.json +40 -0
  192. package/dist/assets/t9n/public-notification/resources_sv.json +40 -0
  193. package/dist/assets/t9n/public-notification/resources_th.json +40 -0
  194. package/dist/assets/t9n/public-notification/resources_tr.json +40 -0
  195. package/dist/assets/t9n/public-notification/resources_uk.json +40 -0
  196. package/dist/assets/t9n/public-notification/resources_vi.json +40 -0
  197. package/dist/assets/t9n/public-notification/resources_zh-CN.json +40 -0
  198. package/dist/assets/t9n/public-notification/resources_zh-HK.json +40 -0
  199. package/dist/assets/t9n/public-notification/resources_zh-TW.json +40 -0
  200. package/dist/cjs/buffer-tools_4.cjs.entry.js +26 -21
  201. package/dist/cjs/calcite-input-text_5.cjs.entry.js +19 -11
  202. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +1 -1
  203. package/dist/cjs/loader.cjs.js +1 -1
  204. package/dist/cjs/solution-configuration.cjs.entry.js +1 -1
  205. package/dist/cjs/solution-contents_3.cjs.entry.js +1 -1
  206. package/dist/cjs/{solution-store-ca4639d5.js → solution-store-70002b57.js} +3 -3
  207. package/dist/cjs/solutions-components.cjs.js +1 -1
  208. package/dist/collection/components/map-draw-tools/map-draw-tools.js +44 -22
  209. package/dist/collection/components/map-select-tools/map-select-tools.css +14 -0
  210. package/dist/collection/components/map-select-tools/map-select-tools.js +18 -10
  211. package/dist/collection/components/refine-selection/refine-selection.css +85 -85
  212. package/dist/components/map-draw-tools2.js +27 -21
  213. package/dist/components/map-select-tools2.js +57 -43
  214. package/dist/components/solution-store.js +3 -3
  215. package/dist/esm/buffer-tools_4.entry.js +26 -21
  216. package/dist/esm/calcite-input-text_5.entry.js +19 -11
  217. package/dist/esm/calcite-shell-panel_14.entry.js +1 -1
  218. package/dist/esm/loader.js +1 -1
  219. package/dist/esm/solution-configuration.entry.js +1 -1
  220. package/dist/esm/solution-contents_3.entry.js +1 -1
  221. package/dist/esm/{solution-store-70f874f8.js → solution-store-5d068b07.js} +3 -3
  222. package/dist/esm/solutions-components.js +1 -1
  223. package/dist/solutions-components/{p-16dfb254.entry.js → p-41802f6b.entry.js} +1 -1
  224. package/dist/solutions-components/{p-5ed755a2.entry.js → p-4769a2a5.entry.js} +1 -1
  225. package/dist/solutions-components/{p-d5d5942d.entry.js → p-7e409786.entry.js} +3 -3
  226. package/dist/solutions-components/{p-78719506.js → p-826a814d.js} +2 -2
  227. package/dist/solutions-components/{p-b4b19fd3.entry.js → p-9f620303.entry.js} +1 -1
  228. package/dist/solutions-components/{p-96c0edd9.entry.js → p-b4d4b50a.entry.js} +2 -2
  229. package/dist/solutions-components/solutions-components.esm.js +1 -1
  230. package/dist/types/components/map-draw-tools/map-draw-tools.d.ts +4 -0
  231. package/dist/types/components.d.ts +8 -0
  232. package/package.json +1 -1
  233. package/dist/collection/components/add-record-modal/test/add-record-modal.e2e.js +0 -24
  234. package/dist/collection/components/add-record-modal/test/add-record-modal.spec.js +0 -32
  235. package/dist/collection/components/buffer-tools/test/buffer-tools.e2e.js +0 -24
  236. package/dist/collection/components/buffer-tools/test/buffer-tools.spec.js +0 -157
  237. package/dist/collection/components/card-manager/test/card-manager.e2e.js +0 -24
  238. package/dist/collection/components/card-manager/test/card-manager.spec.js +0 -32
  239. package/dist/collection/components/comment-card/test/comment-card.e2e.js +0 -24
  240. package/dist/collection/components/comment-card/test/comment-card.spec.js +0 -32
  241. package/dist/collection/components/crowdsource-manager/test/crowdsource-manager.e2e.js +0 -24
  242. package/dist/collection/components/crowdsource-manager/test/crowdsource-manager.spec.js +0 -32
  243. package/dist/collection/components/crowdsource-reporter/test/crowdsource-reporter.e2e.js +0 -24
  244. package/dist/collection/components/crowdsource-reporter/test/crowdsource-reporter.spec.js +0 -32
  245. package/dist/collection/components/deduct-calculator/test/deduct-calculator.e2e.js +0 -24
  246. package/dist/collection/components/deduct-calculator/test/deduct-calculator.spec.js +0 -32
  247. package/dist/collection/components/edit-record-modal/test/edit-record-modal.e2e.js +0 -24
  248. package/dist/collection/components/edit-record-modal/test/edit-record-modal.spec.js +0 -32
  249. package/dist/collection/components/info-card/test/info-card.e2e.js +0 -24
  250. package/dist/collection/components/info-card/test/info-card.spec.js +0 -32
  251. package/dist/collection/components/json-editor/test/json-editor.e2e.js +0 -31
  252. package/dist/collection/components/json-editor/test/json-editor.spec.js +0 -60
  253. package/dist/collection/components/layer-table/test/layer-table.e2e.js +0 -24
  254. package/dist/collection/components/layer-table/test/layer-table.spec.js +0 -32
  255. package/dist/collection/components/list-item/test/list-item.e2e.js +0 -24
  256. package/dist/collection/components/list-item/test/list-item.spec.js +0 -32
  257. package/dist/collection/components/map-card/test/map-card.e2e.js +0 -24
  258. package/dist/collection/components/map-card/test/map-card.spec.js +0 -32
  259. package/dist/collection/components/map-draw-tools/test/map-draw-tools.e2e.js +0 -24
  260. package/dist/collection/components/map-draw-tools/test/map-draw-tools.spec.js +0 -32
  261. package/dist/collection/components/map-layer-picker/test/map-layer-picker.e2e.js +0 -24
  262. package/dist/collection/components/map-layer-picker/test/map-layer-picker.spec.js +0 -109
  263. package/dist/collection/components/map-search/test/map-search.e2e.js +0 -24
  264. package/dist/collection/components/map-search/test/map-search.spec.js +0 -53
  265. package/dist/collection/components/map-select-tools/test/map-select-tools.e2e.js +0 -24
  266. package/dist/collection/components/map-select-tools/test/map-select-tools.spec.js +0 -349
  267. package/dist/collection/components/media-card/test/media-card.e2e.js +0 -24
  268. package/dist/collection/components/media-card/test/media-card.spec.js +0 -32
  269. package/dist/collection/components/pci-calculator/test/pci-calculator.e2e.js +0 -24
  270. package/dist/collection/components/pci-calculator/test/pci-calculator.spec.js +0 -32
  271. package/dist/collection/components/pdf-download/test/pdf-download.e2e.js +0 -71
  272. package/dist/collection/components/pdf-download/test/pdf-download.spec.js +0 -104
  273. package/dist/collection/components/public-notification/test/public-notification.e2e.js +0 -95
  274. package/dist/collection/components/public-notification/test/public-notification.spec.js +0 -149
  275. package/dist/collection/components/solution-configuration/test/solution-configuration.e2e.js +0 -31
  276. package/dist/collection/components/solution-configuration/test/solution-configuration.spec.js +0 -114
  277. package/dist/collection/components/solution-contents/test/solution-contents.e2e.js +0 -89
  278. package/dist/collection/components/solution-contents/test/solution-contents.spec.js +0 -138
  279. package/dist/collection/components/solution-item/test/solution-item.e2e.js +0 -31
  280. package/dist/collection/components/solution-item/test/solution-item.spec.js +0 -72
  281. package/dist/collection/components/solution-item-details/test/solution-item-details.e2e.js +0 -31
  282. package/dist/collection/components/solution-item-details/test/solution-item-details.spec.js +0 -137
  283. package/dist/collection/components/solution-item-icon/test/solution-item-icon.e2e.js +0 -24
  284. package/dist/collection/components/solution-item-icon/test/solution-item-icon.spec.js +0 -34
  285. package/dist/collection/components/solution-item-sharing/test/solution-item-sharing.e2e.js +0 -31
  286. package/dist/collection/components/solution-item-sharing/test/solution-item-sharing.spec.js +0 -49
  287. package/dist/collection/components/solution-organization-variables/test/solution-organization-variables.e2e.js +0 -31
  288. package/dist/collection/components/solution-organization-variables/test/solution-organization-variables.spec.js +0 -60
  289. package/dist/collection/components/solution-resource-item/test/solution-resource-item.e2e.js +0 -31
  290. package/dist/collection/components/solution-resource-item/test/solution-resource-item.spec.js +0 -50
  291. package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.e2e.js +0 -31
  292. package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.spec.js +0 -170
  293. package/dist/collection/components/solution-template-data/test/solution-template-data.e2e.js +0 -31
  294. package/dist/collection/components/solution-template-data/test/solution-template-data.spec.js +0 -55
  295. package/dist/collection/components/solution-variables/test/solution-variables.e2e.js +0 -31
  296. package/dist/collection/components/solution-variables/test/solution-variables.spec.js +0 -126
  297. package/dist/collection/utils/publicNotificationUtils.js +0 -45
  298. package/dist/collection/utils/templates.e2e.js +0 -25
  299. package/dist/collection/utils/test/csvUtils.spec.js +0 -46
  300. package/dist/collection/utils/test/downloadUtils.spec.js +0 -102
  301. package/dist/collection/utils/test/pciUtils.spec.js +0 -297
  302. package/dist/collection/utils/test/solution-store.spec.js +0 -439
  303. package/dist/solutions-components/utils/common.js +0 -291
  304. package/dist/solutions-components/utils/csvDownload.js +0 -36
  305. package/dist/solutions-components/utils/csvUtils.js +0 -32
  306. package/dist/solutions-components/utils/downloadUtils.js +0 -386
  307. package/dist/solutions-components/utils/interfaces.js +0 -56
  308. package/dist/solutions-components/utils/languageUtil.js +0 -85
  309. package/dist/solutions-components/utils/loadModules.js +0 -20
  310. package/dist/solutions-components/utils/locale.js +0 -56
  311. package/dist/solutions-components/utils/mapViewUtils.js +0 -140
  312. package/dist/solutions-components/utils/pciUtils.js +0 -837
  313. package/dist/solutions-components/utils/pdfUtils.js +0 -62
  314. package/dist/solutions-components/utils/publicNotificationStore.js +0 -38
  315. package/dist/solutions-components/utils/publicNotificationUtils.js +0 -45
  316. package/dist/solutions-components/utils/queryUtils.js +0 -148
  317. package/dist/solutions-components/utils/solution-store.js +0 -579
  318. package/dist/solutions-components/utils/templates.e2e.js +0 -25
  319. package/dist/solutions-components/utils/templates.js +0 -341
  320. package/dist/solutions-components/utils/test/csvUtils.spec.js +0 -46
  321. package/dist/solutions-components/utils/test/downloadUtils.spec.js +0 -102
  322. package/dist/solutions-components/utils/test/mocks/jsApi.js +0 -74
  323. package/dist/solutions-components/utils/test/pciUtils.spec.js +0 -297
  324. package/dist/solutions-components/utils/test/solution-store.spec.js +0 -439
  325. package/dist/solutions-components/utils/test/testUtils.js +0 -135
  326. package/dist/solutions-components/utils/types.js +0 -14
  327. package/dist/solutions-components_commit.txt +0 -7
@@ -1,95 +0,0 @@
1
- /** @license
2
- * Copyright 2022 Esri
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { newE2EPage } from '@stencil/core/testing';
17
- import * as locale from "../../../utils/locale";
18
- ;
19
- import * as translations from "../../../assets/t9n/public-notification/resources.json";
20
- import * as queryUtils from "../../../utils/queryUtils";
21
- import * as mapViewUtils from "../../../utils/mapViewUtils";
22
- import * as publicNotificationUtils from "../../../utils/publicNotificationUtils";
23
- jest.setTimeout(50000);
24
- afterEach(() => {
25
- jest.restoreAllMocks();
26
- });
27
- let mapView;
28
- beforeEach(() => {
29
- jest.spyOn(locale, "getLocaleComponentStrings").mockImplementation(() => [
30
- translations
31
- ]);
32
- jest.spyOn(mapViewUtils, "highlightFeatures").mockImplementation(jest.fn());
33
- jest.spyOn(publicNotificationUtils, "getSelectionIds").mockImplementation(jest.fn());
34
- jest.spyOn(console, 'warn').mockImplementation(() => { });
35
- mapView = {
36
- map: {
37
- layers: {
38
- add: () => { },
39
- getItemAt: () => { return -1; },
40
- findIndex: () => { return -1; }
41
- }
42
- }
43
- };
44
- });
45
- // This keeps timing out every so often...will look more
46
- xdescribe('public-notification', () => {
47
- it('renders', async () => {
48
- jest.useFakeTimers();
49
- const getSelectionSetQueryMock = jest.fn();
50
- jest.spyOn(queryUtils, "getSelectionSetQuery").mockImplementation(getSelectionSetQueryMock);
51
- const page = await newE2EPage();
52
- await page.setContent('<public-notification></public-notification>');
53
- await page.waitForChanges();
54
- const element = await page.find('public-notification');
55
- expect(element).toHaveClass('hydrated');
56
- // These cause errors to be thrown
57
- // element.setProperty("addresseeLayer", new LayerView() as unknown as any);
58
- // element.setProperty("mapView", mapView);
59
- // await page.waitForChanges();
60
- const infoMessage = await element.find(".info-message");
61
- expect(infoMessage.innerHTML).toContain(translations.noNotifications);
62
- const notice = await page.find("calcite-notice");
63
- expect(notice.innerText).toContain(translations.selectLayerAndAdd);
64
- const addBtn = await element.find("calcite-button");
65
- expect(addBtn.innerText).toContain(translations.add);
66
- // TODO understand why this causes failures in the test
67
- // this is really the only way to change pageType
68
- //await addBtn.click();
69
- //await page.waitForChanges();
70
- });
71
- it('renders with selection set', async () => {
72
- jest.useFakeTimers();
73
- const getSelectionSetQueryMock = jest.fn();
74
- jest.spyOn(queryUtils, "getSelectionSetQuery").mockImplementation(getSelectionSetQueryMock);
75
- const page = await newE2EPage();
76
- await page.setContent('<public-notification></public-notification>');
77
- await page.waitForChanges();
78
- const element = await page.find('public-notification');
79
- expect(element).toHaveClass('hydrated');
80
- // These cause errors to be thrown
81
- // element.setProperty("addresseeLayer", new LayerView() as unknown as any);
82
- // element.setProperty("mapView", mapView);
83
- //await page.waitForChanges();
84
- const infoMessage = await element.find(".info-message");
85
- expect(infoMessage.innerHTML).toContain(translations.noNotifications);
86
- const notice = await page.find("calcite-notice");
87
- expect(notice.innerText).toContain(translations.selectLayerAndAdd);
88
- const addBtn = await element.find("calcite-button");
89
- expect(addBtn.innerText).toContain(translations.add);
90
- // TODO understand why this causes failures in the test
91
- // this is really the only way to change pageType
92
- //await addBtn.click();
93
- //await page.waitForChanges();
94
- });
95
- });
@@ -1,149 +0,0 @@
1
- /** @license
2
- * Copyright 2022 Esri
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { h } from '@stencil/core';
17
- import { newSpecPage } from '@stencil/core/testing';
18
- import { PublicNotification } from '../public-notification';
19
- import * as locale from "../../../utils/locale";
20
- import * as translations from "../../../assets/t9n/map-draw-tools/resources.json";
21
- import { LayerView } from "../../../utils/test/mocks/jsApi";
22
- import * as queryUtils from "../../../utils/queryUtils";
23
- import { EWorkflowType } from "../../../utils/interfaces";
24
- jest.setTimeout(30000);
25
- afterEach(() => {
26
- jest.restoreAllMocks();
27
- });
28
- let mapView;
29
- beforeEach(() => {
30
- jest.spyOn(locale, "getLocaleComponentStrings").mockImplementation(() => [
31
- translations
32
- ]);
33
- jest.spyOn(console, 'warn').mockImplementation(() => { });
34
- mapView = {
35
- map: {
36
- layers: {
37
- add: () => { },
38
- getItemAt: () => { return -1; },
39
- findIndex: () => { return -1; }
40
- }
41
- }
42
- };
43
- });
44
- xdescribe('public-notification', () => {
45
- it('renders', async () => {
46
- const getSelectionSetQueryMock = jest.fn();
47
- jest.spyOn(queryUtils, "getSelectionSetQuery").mockImplementation(getSelectionSetQueryMock);
48
- const page = await newSpecPage({
49
- autoApplyChanges: true,
50
- components: [PublicNotification],
51
- template: () => (h("public-notification", { "show-refine-selection": "true" })),
52
- });
53
- //page.rootInstance.showRefineSelection = true;
54
- expect(page.root).toEqualHtml(`
55
- <public-notification show-refine-selection="true">
56
- <calcite-shell>
57
- <calcite-action-bar class="action-bar-size border-bottom-1" expand-disabled="" layout="horizontal" slot="header">
58
- <calcite-action-group class="action-center w-1-4" layout="horizontal">
59
- <calcite-action active="" alignment="center" class="height-full width-full" icon="list-check" id="list-check" text=""></calcite-action>
60
- <calcite-tooltip label="" placement="bottom" reference-element="list-check">
61
- <span></span>
62
- </calcite-tooltip>
63
- </calcite-action-group>
64
- <calcite-action-group class="action-center w-1-4" layout="horizontal">
65
- <calcite-action alignment="center" class="height-full width-full" disabled="" icon="test-data" id="test-data" text=""></calcite-action>
66
- <calcite-tooltip label="" placement="bottom" reference-element="test-data">
67
- <span></span>
68
- </calcite-tooltip>
69
- </calcite-action-group>
70
- <calcite-action-group class="action-center w-1-4" layout="horizontal">
71
- <calcite-action alignment="center" class="height-full width-full" disabled="" icon="file-pdf" id="file-pdf" text=""></calcite-action>
72
- <calcite-tooltip label="" placement="bottom" reference-element="file-pdf">
73
- <span></span>
74
- </calcite-tooltip>
75
- </calcite-action-group>
76
- <calcite-action-group class="action-center w-1-4" layout="horizontal">
77
- <calcite-action alignment="center" class="height-full width-full" disabled="" icon="file-csv" id="file-csv" text=""></calcite-action>
78
- <calcite-tooltip label="" placement="bottom" reference-element="file-csv">
79
- <span></span>
80
- </calcite-tooltip>
81
- </calcite-action-group>
82
- </calcite-action-bar>
83
- <calcite-panel>
84
- <div class="padding-top-sides-1">
85
- <calcite-label class="font-bold"></calcite-label>
86
- </div>
87
- <div class="padding-sides-1">
88
- <calcite-label></calcite-label>
89
- </div>
90
- <div class="info-message padding-bottom-1">
91
- <calcite-input-message active="" class="info-blue" scale="m"></calcite-input-message>
92
- </div>
93
- <calcite-notice active="" class="padding-bottom-1 padding-sides-1" color="green" icon="lightbulb">
94
- <div slot="message"></div>
95
- </calcite-notice>
96
- <div class="display-flex padding-sides-1">
97
- <calcite-label class="font-bold width-full">
98
- <map-layer-picker selectionmode="single"></map-layer-picker>
99
- </calcite-label>
100
- </div>
101
- <div class="display-flex padding-1">
102
- <calcite-button width="full"></calcite-button>
103
- </div>
104
- </calcite-panel>
105
- </calcite-shell>
106
- </public-notification>
107
- `);
108
- });
109
- it('handles selectionSetsWatchHandler', async () => {
110
- const getSelectionSetQueryMock = jest.fn();
111
- jest.spyOn(queryUtils, "getSelectionSetQuery").mockImplementation(getSelectionSetQueryMock);
112
- const page = await newSpecPage({
113
- autoApplyChanges: true,
114
- components: [PublicNotification],
115
- template: () => (h("public-notification", { addresseeLayer: new LayerView(), mapView: mapView })),
116
- });
117
- page.win.dispatchEvent(new CustomEvent("selectionSetsChanged", { detail: [] }));
118
- page.win.dispatchEvent(new CustomEvent("selectionSetsChanged", { detail: [{
119
- id: 123456789,
120
- workflowType: EWorkflowType.SKETCH,
121
- searchResult: undefined,
122
- buffer: {},
123
- distance: 100,
124
- download: true,
125
- unit: "meters",
126
- label: "Sketch 100",
127
- selectedIds: [],
128
- layerView: new LayerView(),
129
- geometries: [],
130
- refineSelectLayers: [],
131
- refineIds: undefined
132
- }] }));
133
- page.win.dispatchEvent(new CustomEvent("selectionSetsChanged", { detail: [{
134
- id: 123456789,
135
- workflowType: EWorkflowType.REFINE,
136
- searchResult: undefined,
137
- buffer: {},
138
- distance: 100,
139
- download: true,
140
- unit: "meters",
141
- label: "Sketch 100",
142
- selectedIds: [],
143
- layerView: new LayerView(),
144
- geometries: [],
145
- refineSelectLayers: [],
146
- refineIds: undefined
147
- }] }));
148
- });
149
- });
@@ -1,31 +0,0 @@
1
- /** @license
2
- * Copyright 2022 Esri
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- // import { newE2EPage } from '@stencil/core/testing';
17
- describe('solution-configuration', () => {
18
- it('renders', async () => {
19
- //TEST commented out for now.
20
- // need to work out how we pass translations
21
- // e2e tests don't seem to support a similar apporach to the unit tests where we can use template to load JSX
22
- // could flatten the translations further so it would contain no sub groups
23
- // could set default translations for each file
24
- // and could still have a test to compare the default with the actual as a way to verify
25
- expect("a").toEqual("a");
26
- // const page = await newE2EPage();
27
- // await page.setContent('<solution-configuration></solution-configuration>');
28
- // const element = await page.find('solution-configuration');
29
- // expect(element).toHaveClass('hydrated');
30
- });
31
- });
@@ -1,114 +0,0 @@
1
- /** @license
2
- * Copyright 2022 Esri
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { newSpecPage } from '@stencil/core/testing';
17
- import { SolutionConfiguration } from '../solution-configuration';
18
- import { h } from '@stencil/core';
19
- import state from "../../../utils/solution-store";
20
- // Mock MutationObserver because Jest environment doesn't have it
21
- const mutationObserverMock = jest.fn(function MutationObserver() {
22
- this.observe = jest.fn();
23
- });
24
- global.MutationObserver = mutationObserverMock;
25
- xdescribe('solution-configuration', () => {
26
- // has to be a better way..
27
- global.MutationObserver = class {
28
- constructor() { }
29
- disconnect() { }
30
- observe() { }
31
- takeRecords() { return []; }
32
- };
33
- beforeEach(() => {
34
- state._testAccess("_emptyTheStore");
35
- });
36
- it('renders', async () => {
37
- state.setStoreInfo("featureServices", [
38
- "Feature Service 1",
39
- "Feature Service 2"
40
- ]);
41
- const page = await newSpecPage({
42
- components: [SolutionConfiguration],
43
- supportsShadowDom: false,
44
- template: () => (h("solution-configuration", null))
45
- });
46
- expect(page.root).toEqualHtml(`
47
- <solution-configuration itemid="">
48
- <div class="configuration-container">
49
- <div class="configuration">
50
- <calcite-tabs class="config-tabs">
51
- <calcite-tab-nav slot="tab-nav">
52
- <calcite-tab-title>Definition</calcite-tab-title>
53
- <calcite-tab-title>Spatial Reference</calcite-tab-title>
54
- </calcite-tab-nav>
55
-
56
- <calcite-tab class="config-tab" active>
57
- <div class="config-solution">
58
-
59
- <div class="config-inventory">
60
- <solution-contents id="configInventory"></solution-contents>
61
- </div>
62
- <calcite-button appearance="transparent" class="collapse-btn" icon-start="chevrons-left" id="collapse-vars" scale="s" title="Cancel Edits"></calcite-button>
63
- <div class="config-item">
64
- <solution-item></solution-item>
65
- </div>
66
-
67
- </div>
68
- </calcite-tab>
69
- <calcite-tab class="config-tab">
70
- <div class="config-solution">
71
- <solution-spatial-ref id="configure-solution-spatial-ref" locked=""></solution-spatial-ref>
72
- </div>
73
- </calcite-tab>
74
- </calcite-tabs>
75
- </div>
76
- </div>
77
- </solution-configuration>
78
- `);
79
- });
80
- it('does not render spatial ref tab when no services are found', async () => {
81
- const page = await newSpecPage({
82
- components: [SolutionConfiguration],
83
- supportsShadowDom: false,
84
- template: () => (h("solution-configuration", null))
85
- });
86
- expect(page.root).toEqualHtml(`
87
- <solution-configuration itemid="">
88
- <div class="configuration-container">
89
- <div class="configuration">
90
- <calcite-tabs class="config-tabs">
91
- <calcite-tab-nav slot="tab-nav">
92
- <calcite-tab-title>Definition</calcite-tab-title>
93
- </calcite-tab-nav>
94
-
95
- <calcite-tab class="config-tab" active>
96
- <div class="config-solution">
97
-
98
- <div class="config-inventory">
99
- <solution-contents id="configInventory"></solution-contents>
100
- </div>
101
- <calcite-button appearance="transparent" class="collapse-btn" icon-start="chevrons-left" id="collapse-vars" scale="s" title="Cancel Edits"></calcite-button>
102
- <div class="config-item">
103
- <solution-item></solution-item>
104
- </div>
105
-
106
- </div>
107
- </calcite-tab>
108
- </calcite-tabs>
109
- </div>
110
- </div>
111
- </solution-configuration>
112
- `);
113
- });
114
- });
@@ -1,89 +0,0 @@
1
- /** @license
2
- * Copyright 2022 Esri
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- //import { newE2EPage } from '@stencil/core/testing';
17
- describe('solution-contents', () => {
18
- it('renders without a solution', async () => {
19
- //TEST commented out for now.
20
- // need to work out how we pass translations
21
- // e2e tests don't seem to support a similar apporach to the unit tests where we can use template to load JSX
22
- // could flatten the translations further so it would contain no sub groups
23
- // could set default translations for each file
24
- // and could still have a test to compare the default with the actual as a way to verify
25
- expect("a").toEqual("a");
26
- // const page = await newE2EPage();
27
- // await page.setContent('<solution-contents></solution-contents>');
28
- // const element = await page.find('solution-contents');
29
- // expect(element).toHaveClass('hydrated');
30
- });
31
- // it('renders with a solution', async () => {
32
- // const page = await newE2EPage();
33
- // await page.setContent('<solution-contents></solution-contents>');
34
- // const element = await page.find('solution-contents');
35
- // element.setProperty("value",
36
- // [{
37
- // "id": "1",
38
- // "title": "Dashboard 1"
39
- // }, {
40
- // "id": "2",
41
- // "title": "Dashboard 2",
42
- // "dependencies": [{
43
- // "id": "3",
44
- // "title": "Map 1",
45
- // "dependencies": [{
46
- // "id": "4",
47
- // "title": "View 1",
48
- // "dependencies": [{
49
- // "id": "5",
50
- // "title": "Feature Service 1"
51
- // }]
52
- // }]
53
- // }]
54
- // }, {
55
- // "id": "6",
56
- // "title": "Application 1",
57
- // "dependencies": [{
58
- // "id": "7",
59
- // "title": "Group 1",
60
- // "dependencies": [{
61
- // "id": "8",
62
- // "title": "Map 2",
63
- // "dependencies": [{
64
- // "id": "9",
65
- // "title": "Feature Service 2"
66
- // }, {
67
- // "id": "10",
68
- // "title": "Feature Service 3"
69
- // }, {
70
- // "id": "11",
71
- // "title": "Map 3",
72
- // "dependencies": [{
73
- // "id": "12",
74
- // "title": "Feature Service 4"
75
- // }]
76
- // }]
77
- // }]
78
- // }]
79
- // }, {
80
- // "id": "13",
81
- // "title": "Notebook 1"
82
- // }, {
83
- // "id": "14",
84
- // "title": "Survey 1"
85
- // }]
86
- // );
87
- // await page.waitForChanges();
88
- // });
89
- });
@@ -1,138 +0,0 @@
1
- /** @license
2
- * Copyright 2022 Esri
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { newSpecPage } from '@stencil/core/testing';
17
- import { SolutionContents } from '../solution-contents';
18
- import { value } from '../../../demos/data/solution-contents-data.json';
19
- import { h } from '@stencil/core';
20
- xdescribe('solution-contents', () => {
21
- it('renders', async () => {
22
- const page = await newSpecPage({
23
- components: [SolutionContents],
24
- supportsShadowDom: false,
25
- template: () => (h("solution-contents", { "template-hierarchy": value }))
26
- });
27
- expect(page.root).toEqualHtml(`
28
- <solution-contents>
29
- <calcite-tree>
30
-
31
- <calcite-tree-item>
32
- <solution-item-icon type="Dashboard"></solution-item-icon>
33
- <span class="icon-text" title="Dashboard 1">
34
- Dashboard 1
35
- </span>
36
- </calcite-tree-item>
37
-
38
- <calcite-tree-item>
39
- <solution-item-icon type="Dashboard"></solution-item-icon>
40
- <span class="icon-text" title="Dashboard 2">
41
- Dashboard 2
42
- </span>
43
- <calcite-tree slot="children">
44
- <calcite-tree-item>
45
- <solution-item-icon type="Web Map"></solution-item-icon>
46
- <span class="icon-text" title="Map 1">
47
- Map 1
48
- </span>
49
- <calcite-tree slot="children">
50
- <calcite-tree-item>
51
- <solution-item-icon type="Feature Service"></solution-item-icon>
52
- <span class="icon-text" title="View 1">
53
- View 1
54
- </span>
55
- <calcite-tree slot="children">
56
- <calcite-tree-item>
57
- <solution-item-icon type="Feature Service"></solution-item-icon>
58
- <span class="icon-text" title="Feature Service 1">
59
- Feature Service 1
60
- </span>
61
- </calcite-tree-item>
62
- </calcite-tree>
63
- </calcite-tree-item>
64
- </calcite-tree>
65
- </calcite-tree-item>
66
- </calcite-tree>
67
- </calcite-tree-item>
68
-
69
- <calcite-tree-item>
70
- <solution-item-icon type="QuickCapture Project"></solution-item-icon>
71
- <span class="icon-text" title="Application 1">
72
- Application 1
73
- </span>
74
- <calcite-tree slot="children">
75
- <calcite-tree-item>
76
- <solution-item-icon type="Group"></solution-item-icon>
77
- <span class="icon-text" title="Group 1">
78
- Group 1
79
- </span>
80
- <calcite-tree slot="children">
81
- <calcite-tree-item>
82
- <solution-item-icon type="Web Map"></solution-item-icon>
83
- <span class="icon-text" title="Map 2">
84
- Map 2
85
- </span>
86
- <calcite-tree slot="children">
87
- <calcite-tree-item>
88
- <solution-item-icon type="Feature Service"></solution-item-icon>
89
- <span class="icon-text" title="Feature Service 2">
90
- Feature Service 2
91
- </span>
92
- </calcite-tree-item>
93
- <calcite-tree-item>
94
- <solution-item-icon type="Feature Service"></solution-item-icon>
95
- <span class="icon-text" title="Feature Service 3">
96
- Feature Service 3
97
- </span>
98
- </calcite-tree-item>
99
- <calcite-tree-item>
100
- <solution-item-icon type="Web Map"></solution-item-icon>
101
- <span class="icon-text" title="Map 3">
102
- Map 3
103
- </span>
104
- <calcite-tree slot="children">
105
- <calcite-tree-item>
106
- <solution-item-icon type="Feature Service"></solution-item-icon>
107
- <span class="icon-text" title="Feature Service 4">
108
- Feature Service 4
109
- </span>
110
- </calcite-tree-item>
111
- </calcite-tree>
112
- </calcite-tree-item>
113
- </calcite-tree>
114
- </calcite-tree-item>
115
- </calcite-tree>
116
- </calcite-tree-item>
117
- </calcite-tree>
118
- </calcite-tree-item>
119
-
120
- <calcite-tree-item>
121
- <solution-item-icon type="Notebook"></solution-item-icon>
122
- <span class="icon-text" title="Notebook 1">
123
- Notebook 1
124
- </span>
125
- </calcite-tree-item>
126
-
127
- <calcite-tree-item>
128
- <solution-item-icon type="Form"></solution-item-icon>
129
- <span class="icon-text" title="Survey 1">
130
- Survey 1
131
- </span>
132
- </calcite-tree-item>
133
-
134
- </calcite-tree>
135
- </solution-contents>
136
- `);
137
- });
138
- });
@@ -1,31 +0,0 @@
1
- /** @license
2
- * Copyright 2022 Esri
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- // import { newE2EPage } from '@stencil/core/testing';
17
- describe('solution-item', () => {
18
- it('renders', async () => {
19
- //TEST commented out for now.
20
- // need to work out how we pass translations
21
- // e2e tests don't seem to support a similar apporach to the unit tests where we can use template to load JSX
22
- // could flatten the translations further so it would contain no sub groups
23
- // could set default translations for each file
24
- // and could still have a test to compare the default with the actual as a way to verify
25
- expect("a").toEqual("a");
26
- // const page = await newE2EPage();
27
- // await page.setContent('<solution-item></solution-item>');
28
- // const element = await page.find('solution-item');
29
- // expect(element).toHaveClass('hydrated');
30
- });
31
- });