@esri/solutions-components 0.10.23 → 0.10.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (365) hide show
  1. package/dist/cjs/{calcite-accordion-item.cjs.entry.js → calcite-accordion_2.cjs.entry.js} +83 -1
  2. package/dist/cjs/calcite-alert_5.cjs.entry.js +2 -2
  3. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +6 -6
  4. package/dist/cjs/{calcite-tree_3.cjs.entry.js → calcite-tree_2.cjs.entry.js} +0 -317
  5. package/dist/cjs/card-manager_3.cjs.entry.js +4 -4
  6. package/dist/cjs/{downloadUtils-470f6a27.js → downloadUtils-17f08e5e.js} +235 -160
  7. package/dist/cjs/feature-list.cjs.entry.js +2 -2
  8. package/dist/cjs/{index.es-6387d8fb.js → index.es-2518dd41.js} +36 -47
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
  11. package/dist/cjs/{popupUtils-c38f840d.js → popupUtils-24306e6b.js} +1 -1
  12. package/dist/cjs/public-notification.cjs.entry.js +1 -1
  13. package/dist/cjs/solution-contents_3.cjs.entry.js +1 -1
  14. package/dist/cjs/solution-item-accordion.cjs.entry.js +233 -0
  15. package/dist/cjs/solution-item-icon.cjs.entry.js +328 -0
  16. package/dist/cjs/solutions-components.cjs.js +1 -1
  17. package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
  18. package/dist/collection/assets/t9n/solution-item-accordion/resources.json +3 -0
  19. package/dist/collection/assets/t9n/solution-item-accordion/resources_en.json +3 -0
  20. package/dist/collection/collection-manifest.json +1 -0
  21. package/dist/collection/components/layer-table/layer-table.js +3 -3
  22. package/dist/collection/components/solution-item-accordion/solution-item-accordion.css +23 -0
  23. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +287 -0
  24. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  25. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  26. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  27. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  28. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  29. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  30. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  31. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  32. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  33. package/dist/collection/demos/solution-item-accordion.html +345 -0
  34. package/dist/collection/utils/interfaces.ts +11 -0
  35. package/dist/{esm/calcite-accordion-item.entry.js → components/accordion-item.js} +47 -16
  36. package/dist/{esm/calcite-accordion.entry.js → components/accordion.js} +36 -10
  37. package/dist/components/calcite-accordion-item.js +1 -222
  38. package/dist/components/calcite-accordion.js +1 -110
  39. package/dist/components/downloadUtils.js +234 -159
  40. package/dist/components/index.es.js +35 -46
  41. package/dist/components/layer-table2.js +3 -3
  42. package/dist/components/solution-item-accordion.d.ts +11 -0
  43. package/dist/components/solution-item-accordion.js +336 -0
  44. package/dist/components/solution-item-details2.js +1 -1
  45. package/dist/components/solution-item-icon2.js +1 -1
  46. package/dist/components/solution-item-sharing2.js +1 -1
  47. package/dist/components/solution-organization-variables2.js +1 -1
  48. package/dist/components/solution-resource-item2.js +1 -1
  49. package/dist/components/solution-spatial-ref2.js +1 -1
  50. package/dist/components/solution-template-data2.js +1 -1
  51. package/dist/components/solution-variables2.js +1 -1
  52. package/dist/components/spatial-ref.js +1 -1
  53. package/dist/esm/{ExpandToggle-b5147279.js → ExpandToggle-9289b7ca.js} +1 -1
  54. package/dist/esm/{ar-e0e64e78.js → ar-8dded5d5.js} +8 -8
  55. package/dist/esm/{bg-d2d8dbe0.js → bg-c1cdf619.js} +8 -8
  56. package/dist/esm/{bs-d883901d.js → bs-a40506a4.js} +8 -8
  57. package/dist/esm/buffer-tools_3.entry.js +1 -1
  58. package/dist/esm/{ca-064729ad.js → ca-67879a0c.js} +8 -8
  59. package/dist/esm/calcite-accordion_2.entry.js +279 -0
  60. package/dist/esm/calcite-action-bar.entry.js +4 -4
  61. package/dist/esm/calcite-action-group.entry.js +3 -3
  62. package/dist/esm/calcite-action-menu_2.entry.js +3 -3
  63. package/dist/esm/calcite-action-pad_2.entry.js +4 -4
  64. package/dist/esm/calcite-action_2.entry.js +6 -6
  65. package/dist/esm/calcite-alert_5.entry.js +6 -6
  66. package/dist/esm/calcite-avatar.entry.js +1 -1
  67. package/dist/esm/calcite-block-section.entry.js +3 -3
  68. package/dist/esm/calcite-block_5.entry.js +9 -9
  69. package/dist/esm/calcite-button.entry.js +5 -5
  70. package/dist/esm/calcite-card-group.entry.js +1 -1
  71. package/dist/esm/calcite-card.entry.js +3 -3
  72. package/dist/esm/calcite-carousel.entry.js +3 -3
  73. package/dist/esm/calcite-checkbox.entry.js +3 -3
  74. package/dist/esm/calcite-chip-group.entry.js +1 -1
  75. package/dist/esm/calcite-chip_2.entry.js +4 -4
  76. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +1 -1
  77. package/dist/esm/calcite-color-picker.entry.js +3 -3
  78. package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
  79. package/dist/esm/calcite-combobox_3.entry.js +8 -8
  80. package/dist/esm/calcite-date-picker-day_3.entry.js +3 -3
  81. package/dist/esm/calcite-dialog.entry.js +5 -5
  82. package/dist/esm/calcite-dropdown_2.entry.js +3 -3
  83. package/dist/esm/calcite-fab.entry.js +1 -1
  84. package/dist/esm/calcite-filter_5.entry.js +3 -3
  85. package/dist/esm/calcite-graph_2.entry.js +4 -4
  86. package/dist/esm/calcite-icon_2.entry.js +2 -2
  87. package/dist/esm/calcite-inline-editable.entry.js +4 -4
  88. package/dist/esm/calcite-input-number.entry.js +5 -5
  89. package/dist/esm/calcite-input-text.entry.js +5 -5
  90. package/dist/esm/{calcite-input-time-picker-66e7a9f3.js → calcite-input-time-picker-37845feb.js} +56 -56
  91. package/dist/esm/calcite-input-time-picker.entry.js +8 -8
  92. package/dist/esm/calcite-input-time-zone.entry.js +5 -5
  93. package/dist/esm/calcite-input_2.entry.js +5 -5
  94. package/dist/esm/calcite-label.entry.js +2 -2
  95. package/dist/esm/calcite-link.entry.js +1 -1
  96. package/dist/esm/calcite-menu-item.entry.js +3 -3
  97. package/dist/esm/calcite-menu.entry.js +3 -3
  98. package/dist/esm/calcite-meter.entry.js +3 -3
  99. package/dist/esm/calcite-modal_3.entry.js +5 -5
  100. package/dist/esm/calcite-navigation.entry.js +1 -1
  101. package/dist/esm/calcite-notice.entry.js +4 -4
  102. package/dist/esm/calcite-option_2.entry.js +3 -3
  103. package/dist/esm/calcite-pagination.entry.js +3 -3
  104. package/dist/esm/calcite-pick-list-group.entry.js +1 -1
  105. package/dist/esm/calcite-pick-list-item.entry.js +3 -3
  106. package/dist/esm/calcite-pick-list.entry.js +2 -2
  107. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  108. package/dist/esm/calcite-radio-button.entry.js +3 -3
  109. package/dist/esm/calcite-rating.entry.js +5 -5
  110. package/dist/esm/calcite-scrim.entry.js +3 -3
  111. package/dist/esm/calcite-segmented-control_2.entry.js +3 -3
  112. package/dist/esm/calcite-sheet.entry.js +3 -3
  113. package/dist/esm/calcite-shell-center-row.entry.js +1 -1
  114. package/dist/esm/calcite-shell-panel_14.entry.js +10 -10
  115. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  116. package/dist/esm/calcite-stepper-item.entry.js +3 -3
  117. package/dist/esm/calcite-stepper.entry.js +3 -3
  118. package/dist/esm/calcite-switch.entry.js +3 -3
  119. package/dist/esm/calcite-table-cell_2.entry.js +3 -3
  120. package/dist/esm/calcite-table-row.entry.js +1 -1
  121. package/dist/esm/calcite-table.entry.js +3 -3
  122. package/dist/esm/calcite-text-area.entry.js +5 -5
  123. package/dist/esm/calcite-tile-group.entry.js +1 -1
  124. package/dist/esm/calcite-tile.entry.js +1 -1
  125. package/dist/esm/calcite-time-picker.entry.js +4 -4
  126. package/dist/esm/calcite-tip-manager.entry.js +3 -3
  127. package/dist/esm/calcite-tip.entry.js +3 -3
  128. package/dist/esm/calcite-tooltip.entry.js +3 -3
  129. package/dist/esm/{calcite-tree_3.entry.js → calcite-tree_2.entry.js} +3 -319
  130. package/dist/esm/card-manager_3.entry.js +4 -4
  131. package/dist/esm/{cs-3751e560.js → cs-b01aecfc.js} +8 -8
  132. package/dist/esm/{da-227f8ad5.js → da-87ac64be.js} +8 -8
  133. package/dist/esm/{date-87a67cb4.js → date-7a1345c1.js} +1 -1
  134. package/dist/esm/{de-a5d2b25b.js → de-0eb6c065.js} +8 -8
  135. package/dist/esm/{de-at-66232b80.js → de-at-2db1a5d5.js} +8 -8
  136. package/dist/esm/{de-ch-1264ed4c.js → de-ch-063c0a6b.js} +8 -8
  137. package/dist/esm/{dom-63d2d41c.js → dom-451ed293.js} +1 -1
  138. package/dist/esm/{downloadUtils-d1f791c5.js → downloadUtils-4a34c86a.js} +235 -160
  139. package/dist/esm/{el-f5bf7ca3.js → el-eb29e645.js} +8 -8
  140. package/dist/esm/{en-au-2ac8f62e.js → en-au-00f884ad.js} +8 -8
  141. package/dist/esm/{en-ca-a1602b49.js → en-ca-1e7456d7.js} +8 -8
  142. package/dist/esm/{en-gb-28354b2e.js → en-gb-60a33692.js} +8 -8
  143. package/dist/esm/{es-feb7aad2.js → es-74f8b164.js} +8 -8
  144. package/dist/esm/{es-mx-5d64f899.js → es-mx-2bfa704a.js} +8 -8
  145. package/dist/esm/{et-173d2f49.js → et-b1a2d978.js} +8 -8
  146. package/dist/esm/feature-list.entry.js +2 -2
  147. package/dist/esm/{fi-ff9bb719.js → fi-70441d5b.js} +8 -8
  148. package/dist/esm/{floating-ui-c7ae81d9.js → floating-ui-4b1f5138.js} +1 -1
  149. package/dist/esm/{focusTrapComponent-833b1234.js → focusTrapComponent-b9709e71.js} +1 -1
  150. package/dist/esm/{form-08e1bcb7.js → form-fa4c471b.js} +1 -1
  151. package/dist/esm/{fr-e3af6835.js → fr-cea05ec9.js} +8 -8
  152. package/dist/esm/{fr-ch-491f1abe.js → fr-ch-8faa2fcf.js} +8 -8
  153. package/dist/esm/{he-47aa8dde.js → he-058ece46.js} +8 -8
  154. package/dist/esm/{hi-1700df3e.js → hi-163a268e.js} +8 -8
  155. package/dist/esm/{hr-68b828f5.js → hr-2b69b2ad.js} +8 -8
  156. package/dist/esm/{hu-df6a8f29.js → hu-e46e0cb6.js} +8 -8
  157. package/dist/esm/{id-8091582d.js → id-ebccdbbb.js} +8 -8
  158. package/dist/esm/{index.es-decad494.js → index.es-5f44061b.js} +36 -47
  159. package/dist/esm/{it-1f5e149d.js → it-813be6d0.js} +8 -8
  160. package/dist/esm/{it-ch-bf7fcac6.js → it-ch-bc95119e.js} +8 -8
  161. package/dist/esm/{ja-a5117166.js → ja-3488d28c.js} +8 -8
  162. package/dist/esm/{ko-9d7a9e79.js → ko-54faa268.js} +8 -8
  163. package/dist/esm/{label-4c4e06d6.js → label-414f1003.js} +1 -1
  164. package/dist/esm/loader.js +1 -1
  165. package/dist/esm/{locale-4441c976.js → locale-337dc231.js} +1 -1
  166. package/dist/esm/{lt-2e1c53de.js → lt-8c773940.js} +8 -8
  167. package/dist/esm/{lv-ca1ba866.js → lv-4882a326.js} +8 -8
  168. package/dist/esm/map-select-tools_3.entry.js +1 -1
  169. package/dist/esm/{mk-421d0d41.js → mk-d045a827.js} +8 -8
  170. package/dist/esm/{nb-5b103e32.js → nb-529fd6f8.js} +8 -8
  171. package/dist/esm/{nl-eac33461.js → nl-ebd398ac.js} +8 -8
  172. package/dist/esm/{openCloseComponent-c8c8645b.js → openCloseComponent-80c6ee4b.js} +1 -1
  173. package/dist/esm/{pl-03531ccb.js → pl-4cd334ed.js} +8 -8
  174. package/dist/esm/{popupUtils-4e0a103f.js → popupUtils-3ccb86bd.js} +1 -1
  175. package/dist/esm/{pt-b5d8bffc.js → pt-be0c86a5.js} +8 -8
  176. package/dist/esm/{pt-br-dee45728.js → pt-br-29226fc3.js} +8 -8
  177. package/dist/esm/public-notification.entry.js +1 -1
  178. package/dist/esm/{ro-df6cb584.js → ro-6555f5dd.js} +8 -8
  179. package/dist/esm/{ru-e7c02faa.js → ru-67b5c59c.js} +8 -8
  180. package/dist/esm/{shared-list-render-cadae2eb.js → shared-list-render-c8da5fde.js} +1 -1
  181. package/dist/esm/{sk-cae387d2.js → sk-81f19081.js} +8 -8
  182. package/dist/esm/{sl-2892ad87.js → sl-4b892d99.js} +8 -8
  183. package/dist/esm/solution-contents_3.entry.js +1 -1
  184. package/dist/esm/solution-item-accordion.entry.js +229 -0
  185. package/dist/esm/solution-item-icon.entry.js +324 -0
  186. package/dist/esm/solutions-components.js +1 -1
  187. package/dist/esm/spatial-ref.entry.js +1 -1
  188. package/dist/esm/{sr-11e6839f.js → sr-6cb6f797.js} +8 -8
  189. package/dist/esm/{sv-fd5c6ca5.js → sv-aacab364.js} +8 -8
  190. package/dist/esm/{t9n-b7ea1a61.js → t9n-7d4462c0.js} +1 -1
  191. package/dist/esm/{th-170cf6b1.js → th-6b423678.js} +8 -8
  192. package/dist/esm/{time-a7f1020b.js → time-b0bba3f9.js} +1 -1
  193. package/dist/esm/{tr-1d6ca382.js → tr-0e2b854e.js} +8 -8
  194. package/dist/esm/{uk-35eec84e.js → uk-af0a30cc.js} +8 -8
  195. package/dist/esm/{utils-62514064.js → utils-37bc2853.js} +1 -1
  196. package/dist/esm/{vi-2713ee26.js → vi-62071c6f.js} +8 -8
  197. package/dist/esm/{zh-cn-ed066014.js → zh-cn-8f53db2f.js} +8 -8
  198. package/dist/esm/{zh-hk-a118dced.js → zh-hk-a8c68b9c.js} +8 -8
  199. package/dist/esm/{zh-tw-c9bbf220.js → zh-tw-3006115d.js} +8 -8
  200. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources.json +3 -0
  201. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_en.json +3 -0
  202. package/dist/solutions-components/demos/solution-item-accordion.html +345 -0
  203. package/dist/solutions-components/{p-02ea30d1.entry.js → p-00cfce5b.entry.js} +1 -1
  204. package/dist/solutions-components/{p-ac11cf8f.entry.js → p-01510268.entry.js} +1 -1
  205. package/dist/solutions-components/{p-cd5a9034.entry.js → p-030e5077.entry.js} +1 -1
  206. package/dist/solutions-components/{p-de3ee7a6.entry.js → p-075a3c9d.entry.js} +1 -1
  207. package/dist/solutions-components/{p-267ef1b8.entry.js → p-0bd7752a.entry.js} +1 -1
  208. package/dist/solutions-components/{p-8c6a301f.entry.js → p-109cabd8.entry.js} +2 -2
  209. package/dist/solutions-components/{p-87f928a5.entry.js → p-116927af.entry.js} +3 -3
  210. package/dist/solutions-components/{p-8da5aeea.entry.js → p-118e1989.entry.js} +1 -1
  211. package/dist/solutions-components/p-16261018.js +11 -0
  212. package/dist/solutions-components/{p-c5facecd.entry.js → p-16d721ef.entry.js} +1 -1
  213. package/dist/solutions-components/{p-f7bc99fb.entry.js → p-1794a1aa.entry.js} +3 -3
  214. package/dist/solutions-components/{p-cf9e6515.entry.js → p-19697807.entry.js} +2 -2
  215. package/dist/solutions-components/{p-25b5ffea.js → p-1a7c4e9a.js} +1 -1
  216. package/dist/solutions-components/{p-5067d77e.entry.js → p-1c5f17cb.entry.js} +1 -1
  217. package/dist/solutions-components/p-1cfc581f.js +11 -0
  218. package/dist/solutions-components/{p-d784f756.entry.js → p-20393dcf.entry.js} +1 -1
  219. package/dist/solutions-components/{p-4e7aa926.js → p-203b4081.js} +1 -1
  220. package/dist/solutions-components/p-228c3bf3.entry.js +17 -0
  221. package/dist/solutions-components/{p-e4ef6f49.js → p-24192cfe.js} +1 -1
  222. package/dist/solutions-components/{p-d75ef009.entry.js → p-25ee25ea.entry.js} +2 -2
  223. package/dist/solutions-components/{p-7b2ef872.entry.js → p-2756e4ac.entry.js} +1 -1
  224. package/dist/solutions-components/{p-691cb5f4.js → p-290dee0b.js} +2 -2
  225. package/dist/solutions-components/{p-aa68a36e.entry.js → p-2ace1fe7.entry.js} +2 -2
  226. package/dist/solutions-components/{p-8bb2c169.js → p-2afb3a2b.js} +1 -1
  227. package/dist/solutions-components/{p-95c3b305.entry.js → p-2b212cd0.entry.js} +1 -1
  228. package/dist/solutions-components/p-2c00221b.js +6 -0
  229. package/dist/solutions-components/{p-3c1ecf85.entry.js → p-2fafe489.entry.js} +1 -1
  230. package/dist/solutions-components/{p-9560a1fd.entry.js → p-30b555dc.entry.js} +1 -1
  231. package/dist/solutions-components/{p-347d9ce0.js → p-328fbcb5.js} +1 -1
  232. package/dist/solutions-components/{p-aa341d46.entry.js → p-32cf5a71.entry.js} +1 -1
  233. package/dist/solutions-components/{p-712873f0.js → p-33fe9a28.js} +1 -1
  234. package/dist/solutions-components/{p-80f49acc.js → p-35f33a32.js} +1 -1
  235. package/dist/solutions-components/p-374d0fdc.entry.js +6 -0
  236. package/dist/solutions-components/{p-fb3e0eae.js → p-3955461a.js} +1 -1
  237. package/dist/solutions-components/p-39e9ae5c.entry.js +6 -0
  238. package/dist/solutions-components/{p-54a9017c.entry.js → p-3f6d5f14.entry.js} +1 -1
  239. package/dist/solutions-components/{p-1a06bf01.js → p-3fb350ea.js} +1 -1
  240. package/dist/solutions-components/{p-a79f4c52.entry.js → p-41744516.entry.js} +1 -1
  241. package/dist/solutions-components/{p-c40b0ec5.js → p-4182a628.js} +3 -3
  242. package/dist/solutions-components/{p-304cef31.js → p-42552409.js} +3 -3
  243. package/dist/solutions-components/{p-0e851a4b.js → p-4336e44a.js} +1 -1
  244. package/dist/solutions-components/{p-c25e8c35.js → p-441f1992.js} +1 -1
  245. package/dist/solutions-components/{p-fa68f43a.entry.js → p-451b483d.entry.js} +1 -1
  246. package/dist/solutions-components/{p-9bc84681.js → p-472be784.js} +1 -1
  247. package/dist/solutions-components/p-48c58b28.js +6 -0
  248. package/dist/solutions-components/{p-ca6055a3.js → p-4993c7b1.js} +1 -1
  249. package/dist/solutions-components/{p-b8ce880d.js → p-4a35785b.js} +1 -1
  250. package/dist/solutions-components/{p-de8121a4.js → p-4d97016e.js} +1 -1
  251. package/dist/solutions-components/{p-990d8b4b.js → p-4f4f00a9.js} +1 -1
  252. package/dist/solutions-components/{p-b3e8da19.entry.js → p-50203a2d.entry.js} +1 -1
  253. package/dist/solutions-components/{p-19b466d0.js → p-546a2802.js} +1 -1
  254. package/dist/solutions-components/{p-66b01781.js → p-54fa7a94.js} +2 -2
  255. package/dist/solutions-components/{p-04294b8e.js → p-57b673e2.js} +1 -1
  256. package/dist/solutions-components/{p-c163b67f.js → p-593a6f17.js} +1 -1
  257. package/dist/solutions-components/{p-5a3cab12.entry.js → p-5c0d42e9.entry.js} +1 -1
  258. package/dist/solutions-components/{p-9fa7a7ad.entry.js → p-5cef36d6.entry.js} +1 -1
  259. package/dist/solutions-components/{p-2aa44a02.entry.js → p-5d4efa42.entry.js} +2 -2
  260. package/dist/solutions-components/{p-7fce703f.entry.js → p-5d8a5e53.entry.js} +1 -1
  261. package/dist/solutions-components/{p-c7046172.entry.js → p-5fe92f6e.entry.js} +2 -2
  262. package/dist/solutions-components/{p-da80cfbc.entry.js → p-6384a9a5.entry.js} +1 -1
  263. package/dist/solutions-components/{p-b8f33145.js → p-6518727d.js} +1 -1
  264. package/dist/solutions-components/{p-52f19286.entry.js → p-67392838.entry.js} +1 -1
  265. package/dist/solutions-components/{p-54b7e680.js → p-6e0b76ce.js} +1 -1
  266. package/dist/solutions-components/{p-1017609e.js → p-6e3f1d71.js} +2 -2
  267. package/dist/solutions-components/{p-5f7c1e49.js → p-6f39a13f.js} +1 -1
  268. package/dist/solutions-components/{p-0b6e5486.js → p-71c0a413.js} +1 -1
  269. package/dist/solutions-components/{p-fedbf657.entry.js → p-728ec094.entry.js} +1 -1
  270. package/dist/solutions-components/{p-b8b78283.entry.js → p-72d0eda0.entry.js} +1 -1
  271. package/dist/solutions-components/p-743ad3a7.entry.js +6 -0
  272. package/dist/solutions-components/{p-732bb88c.entry.js → p-78c438c0.entry.js} +1 -1
  273. package/dist/solutions-components/{p-1ef6a1c2.entry.js → p-7b63f249.entry.js} +1 -1
  274. package/dist/solutions-components/{p-91b7a7dc.entry.js → p-7f090468.entry.js} +1 -1
  275. package/dist/solutions-components/{p-770a0e12.js → p-7f31be6a.js} +1 -1
  276. package/dist/solutions-components/{p-cb07016a.entry.js → p-8419b5a1.entry.js} +2 -2
  277. package/dist/solutions-components/{p-dfeb6a2e.entry.js → p-86ca6cfe.entry.js} +1 -1
  278. package/dist/solutions-components/{p-66afdfdd.entry.js → p-8846430d.entry.js} +3 -3
  279. package/dist/solutions-components/{p-508b2b7b.js → p-89ddc916.js} +1 -1
  280. package/dist/solutions-components/{p-9db30b19.entry.js → p-89f14b8a.entry.js} +1 -1
  281. package/dist/solutions-components/{p-23dd68de.entry.js → p-8ae73529.entry.js} +2 -2
  282. package/dist/solutions-components/{p-64bf4d2e.entry.js → p-8badcaf5.entry.js} +1 -1
  283. package/dist/solutions-components/{p-eb2859d6.js → p-8eacc640.js} +1 -1
  284. package/dist/solutions-components/{p-798b9928.entry.js → p-8f840208.entry.js} +1 -1
  285. package/dist/solutions-components/{p-c7eaade6.entry.js → p-9232245b.entry.js} +1 -1
  286. package/dist/solutions-components/{p-1490c752.js → p-926664d9.js} +1 -1
  287. package/dist/solutions-components/{p-919e9de7.entry.js → p-92de7cd3.entry.js} +1 -1
  288. package/dist/solutions-components/{p-9c5f4347.js → p-96919110.js} +1 -1
  289. package/dist/solutions-components/{p-222e0445.entry.js → p-981afe9e.entry.js} +1 -1
  290. package/dist/solutions-components/{p-550da58b.js → p-9901e971.js} +1 -1
  291. package/dist/solutions-components/{p-986ff43b.entry.js → p-9957c7b8.entry.js} +1 -1
  292. package/dist/solutions-components/{p-6b0fa1eb.entry.js → p-9c6f2672.entry.js} +1 -1
  293. package/dist/solutions-components/{p-bb0f549a.js → p-a0ef9cee.js} +1 -1
  294. package/dist/solutions-components/{p-d47abf9b.entry.js → p-a16449b2.entry.js} +1 -1
  295. package/dist/solutions-components/{p-08d1cc1f.js → p-a2d4c97e.js} +2 -2
  296. package/dist/solutions-components/{p-bae65813.entry.js → p-a68f4775.entry.js} +1 -1
  297. package/dist/solutions-components/{p-79f78acc.entry.js → p-a8d4a522.entry.js} +1 -1
  298. package/dist/solutions-components/{p-6c080ac7.entry.js → p-a9f65057.entry.js} +1 -1
  299. package/dist/solutions-components/{p-40175313.entry.js → p-ab8f4820.entry.js} +2 -2
  300. package/dist/solutions-components/{p-f6f2018a.js → p-abc30e04.js} +1 -1
  301. package/dist/solutions-components/{p-c0d25be5.entry.js → p-ac7868a6.entry.js} +1 -1
  302. package/dist/solutions-components/{p-9524e5e4.js → p-acf135cc.js} +1 -1
  303. package/dist/solutions-components/{p-b96233e3.entry.js → p-af3e49d8.entry.js} +1 -1
  304. package/dist/solutions-components/p-af8a7aff.entry.js +6 -0
  305. package/dist/solutions-components/{p-924ec704.js → p-b3b042df.js} +1 -1
  306. package/dist/solutions-components/{p-8fb06a85.entry.js → p-b6b4c707.entry.js} +1 -1
  307. package/dist/solutions-components/{p-4c179300.entry.js → p-b7a49673.entry.js} +1 -1
  308. package/dist/solutions-components/{p-40f5df15.entry.js → p-b955a19b.entry.js} +1 -1
  309. package/dist/solutions-components/{p-c4953b5e.entry.js → p-b9eefee6.entry.js} +2 -2
  310. package/dist/solutions-components/p-bb9492ed.js +6 -0
  311. package/dist/solutions-components/{p-8537518d.entry.js → p-bc86c87d.entry.js} +2 -2
  312. package/dist/solutions-components/{p-8614d1a0.entry.js → p-bd3c130b.entry.js} +1 -1
  313. package/dist/solutions-components/{p-e74bc7b3.js → p-bdc425fc.js} +1 -1
  314. package/dist/solutions-components/{p-92ba99ff.js → p-beba6703.js} +1 -1
  315. package/dist/solutions-components/{p-cd6eee11.js → p-c1242d4b.js} +1 -1
  316. package/dist/solutions-components/{p-a4e35c2d.entry.js → p-c26ac7d9.entry.js} +1 -1
  317. package/dist/solutions-components/{p-b76ed1c7.entry.js → p-c3782a7e.entry.js} +2 -2
  318. package/dist/solutions-components/{p-936037e4.js → p-c5520bba.js} +1 -1
  319. package/dist/solutions-components/{p-29a09798.js → p-c58ec2d0.js} +3 -3
  320. package/dist/solutions-components/{p-53b5a39e.js → p-c5d26e3a.js} +1 -1
  321. package/dist/solutions-components/{p-a37d1b17.entry.js → p-c8325ead.entry.js} +1 -1
  322. package/dist/solutions-components/{p-94ae78d6.js → p-cba777d2.js} +1 -1
  323. package/dist/solutions-components/{p-01dae909.js → p-d1371897.js} +1 -1
  324. package/dist/solutions-components/{p-d1cc620f.entry.js → p-d6c50190.entry.js} +1 -1
  325. package/dist/solutions-components/{p-fcd33b4f.js → p-d726e895.js} +1 -1
  326. package/dist/solutions-components/{p-270ead49.js → p-d8a54947.js} +1 -1
  327. package/dist/solutions-components/{p-a85fd786.entry.js → p-da6e25cb.entry.js} +1 -1
  328. package/dist/solutions-components/{p-ee9b7fab.js → p-db2c82ad.js} +1 -1
  329. package/dist/solutions-components/{p-e0ee0556.entry.js → p-dbcfdc6d.entry.js} +1 -1
  330. package/dist/solutions-components/{p-67c34d05.entry.js → p-ddc97e93.entry.js} +1 -1
  331. package/dist/solutions-components/{p-74fbad1c.js → p-dec62e5d.js} +30 -31
  332. package/dist/solutions-components/{p-245c35ce.js → p-e013e797.js} +1 -1
  333. package/dist/solutions-components/{p-0d6b3f44.js → p-e3bb02cc.js} +1 -1
  334. package/dist/solutions-components/{p-5440c8dd.js → p-e5ec69a4.js} +1 -1
  335. package/dist/solutions-components/p-e8aa44e2.entry.js +6 -0
  336. package/dist/solutions-components/{p-49bbe45e.js → p-ea119eee.js} +1 -1
  337. package/dist/solutions-components/{p-062f4457.js → p-ec59efb8.js} +1 -1
  338. package/dist/solutions-components/{p-bc6cf10f.entry.js → p-ef360459.entry.js} +1 -1
  339. package/dist/solutions-components/{p-0dc73313.js → p-f14d11f1.js} +1 -1
  340. package/dist/solutions-components/{p-6319ca20.js → p-f4d6771a.js} +1 -1
  341. package/dist/solutions-components/{p-5f705984.js → p-f4e30ab2.js} +1 -1
  342. package/dist/solutions-components/{p-7ae41cd8.js → p-f7680693.js} +1 -1
  343. package/dist/solutions-components/{p-9277a339.entry.js → p-faf7740b.entry.js} +1 -1
  344. package/dist/solutions-components/{p-707ee1d1.entry.js → p-fb95ec69.entry.js} +2 -2
  345. package/dist/solutions-components/{p-2264e8d5.entry.js → p-fbf86656.entry.js} +1 -1
  346. package/dist/solutions-components/{p-7c854814.js → p-fd730974.js} +2 -2
  347. package/dist/solutions-components/{p-4fe5e9c3.entry.js → p-ff96d7ee.entry.js} +3 -3
  348. package/dist/solutions-components/solutions-components.esm.js +1 -1
  349. package/dist/solutions-components/utils/interfaces.ts +11 -0
  350. package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +117 -0
  351. package/dist/types/components.d.ts +23 -2
  352. package/dist/types/preact.d.ts +2 -0
  353. package/dist/types/utils/interfaces.d.ts +10 -0
  354. package/package.json +6 -6
  355. package/dist/cjs/calcite-accordion.cjs.entry.js +0 -95
  356. package/dist/solutions-components/p-2007eaa4.entry.js +0 -6
  357. package/dist/solutions-components/p-23ce9afa.entry.js +0 -11
  358. package/dist/solutions-components/p-2d17790c.js +0 -6
  359. package/dist/solutions-components/p-2e06ec97.js +0 -6
  360. package/dist/solutions-components/p-33db098c.js +0 -6
  361. package/dist/solutions-components/p-3a47fde6.entry.js +0 -11
  362. package/dist/solutions-components/p-79f5a8be.js +0 -11
  363. package/dist/solutions-components/p-a5e64f6b.entry.js +0 -6
  364. package/dist/solutions-components/p-d36878db.js +0 -11
  365. package/dist/solutions-components/p-fd79adec.entry.js +0 -6
@@ -0,0 +1,229 @@
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 registerInstance, g as getElement, h, H as Host } from './index-b793d9aa.js';
7
+ import { g as getLocaleComponentStrings } from './locale-b1d53fb1.js';
8
+ import './esri-loader-c6842c6b.js';
9
+ import './_commonjsHelpers-089957fe.js';
10
+
11
+ const solutionItemAccordionCss = ":host{display:block}.padding-start-1{padding-inline-start:1rem}";
12
+ const SolutionItemAccordionStyle0 = solutionItemAccordionCss;
13
+
14
+ const SolutionItemAccordion = class {
15
+ constructor(hostRef) {
16
+ registerInstance(this, hostRef);
17
+ this.templateInfos = [];
18
+ this._sortedTemplateInfos = [];
19
+ this._translations = undefined;
20
+ }
21
+ get el() { return getElement(this); }
22
+ //--------------------------------------------------------------------------
23
+ //
24
+ // Properties (protected)
25
+ //
26
+ //--------------------------------------------------------------------------
27
+ /**
28
+ * string[]: The order we should sort templates based on
29
+ */
30
+ _sortOrder = [
31
+ "Hub Site Application",
32
+ "Hub Page",
33
+ "Web Experience",
34
+ "Instant App",
35
+ "Web Mapping Application",
36
+ "Dashboard",
37
+ "StoryMap",
38
+ "Form",
39
+ "QuickCapture Project",
40
+ "Workflow",
41
+ "Big Data Analytic",
42
+ "Real Time Analytic",
43
+ "Feed",
44
+ "Tool",
45
+ "Notebook",
46
+ "Data Pipeline",
47
+ "Project Package",
48
+ "Desktop Application Template",
49
+ "TypeNotFound",
50
+ "Web Map",
51
+ "Web Scene",
52
+ "Feature Layer (hosted, view)",
53
+ "Feature Layer (hosted)",
54
+ "Tile Layer",
55
+ "CSV",
56
+ "Microsoft Excel",
57
+ "Microsoft Word",
58
+ "Report Template",
59
+ "Rule Package",
60
+ "Group"
61
+ ];
62
+ /**
63
+ * string[]: Array of template types.
64
+ * This array is used during render to ensure only one Accordion item is added for each type.
65
+ */
66
+ _types = [];
67
+ //--------------------------------------------------------------------------
68
+ //
69
+ // Watch handlers
70
+ //
71
+ //--------------------------------------------------------------------------
72
+ async templateInfosWatchHandler() {
73
+ this._types = [];
74
+ this._sortedTemplateInfos = this._sortTemplates();
75
+ }
76
+ //--------------------------------------------------------------------------
77
+ //
78
+ // Methods (public)
79
+ //
80
+ //--------------------------------------------------------------------------
81
+ //--------------------------------------------------------------------------
82
+ //
83
+ // Events (public)
84
+ //
85
+ //--------------------------------------------------------------------------
86
+ //--------------------------------------------------------------------------
87
+ //
88
+ // Functions (lifecycle)
89
+ //
90
+ //--------------------------------------------------------------------------
91
+ /**
92
+ * StencilJS: Called once just after the component is first connected to the DOM.
93
+ */
94
+ async componentWillLoad() {
95
+ await this._getTranslations();
96
+ }
97
+ /**
98
+ * StencilJS: Called before each render
99
+ */
100
+ async componentWillRender() {
101
+ if (this._sortedTemplateInfos.length === 0 && this.templateInfos?.length > 0) {
102
+ this._sortedTemplateInfos = this._sortTemplates();
103
+ }
104
+ }
105
+ /**
106
+ * Renders the component.
107
+ */
108
+ render() {
109
+ return (h(Host, { key: 'c9fea75fb3cd0558366bb086eccb28c4e2b7b07d' }, this._getAccordion()));
110
+ }
111
+ //--------------------------------------------------------------------------
112
+ //
113
+ // Functions (protected)
114
+ //
115
+ //--------------------------------------------------------------------------
116
+ /**
117
+ * Get the Accordion component
118
+ *
119
+ * @returns the Accordion component
120
+ *
121
+ * @protected
122
+ */
123
+ _getAccordion() {
124
+ return (h("calcite-accordion", null, this._sortedTemplateInfos.reduce((prev, cur) => {
125
+ if (this._types.indexOf(cur.type) < 0) {
126
+ this._types.push(cur.type);
127
+ prev.push(this._getAccordionItem(cur));
128
+ }
129
+ return prev;
130
+ }, [])));
131
+ }
132
+ /**
133
+ * Get the Accordion Item component with the appropriate icon and template type
134
+ * Only one accordion item per type.
135
+ *
136
+ * @returns the Accordion Item component
137
+ *
138
+ * @protected
139
+ */
140
+ _getAccordionItem(templateInfo) {
141
+ const templateInfos = this._sortedTemplateInfos.filter(t => t.type === templateInfo.type);
142
+ return (h("calcite-accordion-item", { description: `${templateInfo.type} (${templateInfos.length})` }, h("solution-item-icon", { class: "padding-start-1", slot: "actions-start", type: templateInfo.type, typeKeywords: templateInfo.typeKeywords }), this._getList(templateInfos)));
143
+ }
144
+ /**
145
+ * Get the list of template infos for the current type
146
+ *
147
+ * @param templateInfos filtered list of templateInfos for the current type
148
+ *
149
+ * @returns the List component
150
+ *
151
+ * @protected
152
+ */
153
+ _getList(templateInfos) {
154
+ return (h("calcite-list", { class: "padding-start-1" }, templateInfos.map(t => this._getListItem(t))));
155
+ }
156
+ /**
157
+ * Get list item for the current type
158
+ *
159
+ * @param templateInfo the current templateInfo to handle
160
+ *
161
+ * @returns the List item component
162
+ *
163
+ * @protected
164
+ */
165
+ _getListItem(templateInfo) {
166
+ return (h("calcite-list-item", { description: templateInfo.description, label: templateInfo.title, value: templateInfo.id }));
167
+ }
168
+ /**
169
+ * Sort the templates based on the defined order in _sortOrder
170
+ *
171
+ * @returns the sorted templates
172
+ *
173
+ * @protected
174
+ */
175
+ _sortTemplates() {
176
+ return this.templateInfos.sort((a, b) => {
177
+ const aType = this._updateType(a);
178
+ const bType = this._updateType(b);
179
+ const indexA = this._sortOrder.indexOf(aType);
180
+ const indexB = this._sortOrder.indexOf(bType);
181
+ return indexA - indexB;
182
+ });
183
+ }
184
+ /**
185
+ * Some template types are displayed with a value that is different than the stored type value.
186
+ * This function will catch and update the type value to match how we would like it sorted and displayed.
187
+ *
188
+ * @returns the sorted templates
189
+ *
190
+ * @protected
191
+ */
192
+ _updateType(templateInfo) {
193
+ let updatedType = templateInfo.type;
194
+ if (templateInfo.type === "Feature Service") {
195
+ updatedType = templateInfo.typeKeywords.indexOf("View Service") > -1 ?
196
+ "Feature Layer (hosted, view)" : "Feature Layer (hosted)";
197
+ }
198
+ if (templateInfo.type === "Web Mapping Application") {
199
+ updatedType = templateInfo.typeKeywords.indexOf("configurableApp") > -1 ?
200
+ "Instant App" : updatedType;
201
+ }
202
+ templateInfo.type = templateInfo.type === "Geoprocessing Service" ? "Tool" :
203
+ templateInfo.type === "Vector Tile Service" ? "Tile Layer" : updatedType;
204
+ if (this._sortOrder.indexOf(updatedType) < 0) {
205
+ // If we encounter an item type that is not in the list
206
+ // put it between the "Desktop Application Template" and "Web Map" section
207
+ // Do not set this as the templates type value as we want its actual type to be displayed
208
+ // this is just used for sorting
209
+ updatedType = "TypeNotFound";
210
+ }
211
+ return updatedType;
212
+ }
213
+ /**
214
+ * Fetches the component's translations
215
+ *
216
+ * @returns Promise when complete
217
+ * @protected
218
+ */
219
+ async _getTranslations() {
220
+ const messages = await getLocaleComponentStrings(this.el);
221
+ this._translations = messages[0];
222
+ }
223
+ static get watchers() { return {
224
+ "templateInfos": ["templateInfosWatchHandler"]
225
+ }; }
226
+ };
227
+ SolutionItemAccordion.style = SolutionItemAccordionStyle0;
228
+
229
+ export { SolutionItemAccordion as solution_item_accordion };
@@ -0,0 +1,324 @@
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 registerInstance, g as getElement, h, a as getAssetPath } from './index-b793d9aa.js';
7
+
8
+ const solutionItemIconCss = ".item-type-icon{pointer-events:none;display:block;height:1rem;margin-top:0.15em !important;min-width:16px;fill:currentColor;transform:rotate(360deg)}.item-type-icon-margin{margin-inline-end:0.375rem}";
9
+ const SolutionItemIconStyle0 = solutionItemIconCss;
10
+
11
+ const SolutionItemIcon = class {
12
+ constructor(hostRef) {
13
+ registerInstance(this, hostRef);
14
+ this.isPortal = false;
15
+ this.type = "";
16
+ this.typeKeywords = [];
17
+ }
18
+ get el() { return getElement(this); }
19
+ //--------------------------------------------------------------------------
20
+ //
21
+ // Lifecycle
22
+ //
23
+ //--------------------------------------------------------------------------
24
+ /**
25
+ * Renders the component.
26
+ */
27
+ render() {
28
+ return h("div", { key: '79a661148dd8e3bd73229b642b8253c525e3d747', title: this.type }, h("img", { key: 'e0b21dbd11b8edc4abfdb9af39b40c774b830753', class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
29
+ }
30
+ //--------------------------------------------------------------------------
31
+ //
32
+ // Properties (protected)
33
+ //
34
+ //--------------------------------------------------------------------------
35
+ //--------------------------------------------------------------------------
36
+ //
37
+ // Event Listeners
38
+ //
39
+ //--------------------------------------------------------------------------
40
+ //--------------------------------------------------------------------------
41
+ //
42
+ // Events
43
+ //
44
+ //--------------------------------------------------------------------------
45
+ //--------------------------------------------------------------------------
46
+ //
47
+ // Public Methods (async)
48
+ //
49
+ //--------------------------------------------------------------------------
50
+ //--------------------------------------------------------------------------
51
+ //
52
+ // Private Methods
53
+ //
54
+ //--------------------------------------------------------------------------
55
+ /**
56
+ * This function was copied and slightly modified from the arcgis-portal-app.
57
+ *
58
+ * This will construct the path to the icon based on type and typeKeyword info.
59
+ *
60
+ * @param type The item type
61
+ * @param typeKeywords The item typeKeywords
62
+ */
63
+ _getIconUrl(type, typeKeywords) {
64
+ const itemType = (type && type.toLowerCase()) || "", imgDir = "./item-icons/", size = "16"; //for now we only support 16x16 pixel images
65
+ let isHosted = false, isRouteLayer = false, isMarkupLayer = false, isTable = false, isSpatiotemporal = false, isRelational = false, imgName = "";
66
+ typeKeywords = typeKeywords || [];
67
+ if (itemType.indexOf("service") > 0 || itemType === "feature collection" || itemType === "kml" || itemType === "wms" || itemType === "wmts" || itemType === "wfs") {
68
+ isHosted = typeKeywords.indexOf("Hosted Service") > -1;
69
+ if (itemType === "feature service" || itemType === "feature collection" || itemType === "kml" || itemType === "wfs") {
70
+ isTable = typeKeywords.indexOf("Table") > -1;
71
+ isRouteLayer = typeKeywords.indexOf("Route Layer") > -1;
72
+ isMarkupLayer = typeKeywords.indexOf("Markup") > -1;
73
+ isSpatiotemporal = typeKeywords.indexOf("Spatiotemporal") !== -1;
74
+ imgName = isSpatiotemporal && isTable ? "spatiotemporaltable" : (isTable ? "table" : (isRouteLayer ? "routelayer" : (isMarkupLayer ? "markup" : (isSpatiotemporal ? "spatiotemporal" : (isHosted ? "featureshosted" : "features")))));
75
+ }
76
+ else if (itemType === "map service" || itemType === "wms" || itemType === "wmts") {
77
+ isSpatiotemporal = typeKeywords.indexOf("Spatiotemporal") !== -1;
78
+ isRelational = typeKeywords.indexOf("Relational") !== -1;
79
+ if (isSpatiotemporal || isRelational) {
80
+ imgName = "mapimages";
81
+ }
82
+ else {
83
+ imgName = (isHosted || typeKeywords.indexOf("Tiled") > -1 || itemType === "wmts") ? "maptiles" : "mapimages";
84
+ }
85
+ }
86
+ else if (itemType === "scene service") {
87
+ if (typeKeywords.indexOf("Line") > -1) {
88
+ imgName = "sceneweblayerline";
89
+ }
90
+ else if (typeKeywords.indexOf("3DObject") > -1) {
91
+ imgName = "sceneweblayermultipatch";
92
+ }
93
+ else if (typeKeywords.indexOf("Point") > -1) {
94
+ imgName = "sceneweblayerpoint";
95
+ }
96
+ else if (typeKeywords.indexOf("IntegratedMesh") > -1) {
97
+ imgName = "sceneweblayermesh";
98
+ }
99
+ else if (typeKeywords.indexOf("PointCloud") > -1) {
100
+ imgName = "sceneweblayerpointcloud";
101
+ }
102
+ else if (typeKeywords.indexOf("Polygon") > -1) {
103
+ imgName = "sceneweblayerpolygon";
104
+ }
105
+ else if (typeKeywords.indexOf("Building") > -1) {
106
+ imgName = "sceneweblayerbuilding";
107
+ }
108
+ else {
109
+ imgName = "sceneweblayer";
110
+ }
111
+ }
112
+ else if (itemType === "image service") {
113
+ imgName = typeKeywords.indexOf("Elevation 3D Layer") > -1 ? "elevationlayer" : (typeKeywords.indexOf("Tiled Imagery") > -1 ? "tiledimagerylayer" : "imagery");
114
+ }
115
+ else if (itemType === "stream service") {
116
+ imgName = "streamlayer";
117
+ }
118
+ else if (itemType === "vector tile service") {
119
+ imgName = "vectortile";
120
+ }
121
+ else if (itemType === "datastore catalog service") {
122
+ imgName = "datastorecollection";
123
+ }
124
+ else if (itemType === "geocoding service") {
125
+ imgName = "geocodeservice";
126
+ }
127
+ else if (itemType === "geoprocessing service") {
128
+ imgName = (typeKeywords.indexOf("Web Tool") > -1 && (this.isPortal)) ? "tool" : "layers";
129
+ }
130
+ else {
131
+ imgName = "layers";
132
+ }
133
+ }
134
+ else if (itemType === "web map" || itemType === "cityengine web scene") {
135
+ imgName = "maps";
136
+ }
137
+ else if (itemType === "web scene") {
138
+ imgName = typeKeywords.indexOf("ViewingMode-Local") > -1 ? "webscenelocal" : "websceneglobal";
139
+ }
140
+ else if (itemType === "web mapping application" || itemType === "mobile application" || itemType === "application" ||
141
+ itemType === "operation view" || itemType === "desktop application") {
142
+ imgName = "apps";
143
+ }
144
+ else if (itemType === "map document" || itemType === "map package" || itemType === "published map" || itemType === "scene document" ||
145
+ itemType === "globe document" || itemType === "basemap package" || itemType === "mobile basemap package" || itemType === "mobile map package" ||
146
+ itemType === "project package" || itemType === "project template" || itemType === "pro map" || itemType === "layout" ||
147
+ (itemType === "layer" && typeKeywords.indexOf("ArcGIS Pro") > -1) || (itemType === "explorer map" && typeKeywords.indexOf("Explorer Document"))) {
148
+ imgName = "mapsgray";
149
+ }
150
+ else if (itemType === "service definition" || itemType === "csv" || itemType === "shapefile" || itemType === "cad drawing" || itemType === "geojson" || itemType === "360 vr experience" || itemType === "netcdf" || itemType === "administrative report") {
151
+ imgName = "datafiles";
152
+ }
153
+ else if (itemType === "explorer add in" || itemType === "desktop add in" || itemType === "windows viewer add in" || itemType === "windows viewer configuration") {
154
+ imgName = "appsgray";
155
+ }
156
+ else if (itemType === "arcgis pro add in" || itemType === "arcgis pro configuration") {
157
+ imgName = "addindesktop";
158
+ }
159
+ else if (itemType === "rule package" || itemType === "file geodatabase" || itemType === "sqlite geodatabase" || itemType === "csv collection" || itemType === "kml collection" ||
160
+ itemType === "windows mobile package" || itemType === "map template" || itemType === "desktop application template" || itemType === "gml" ||
161
+ itemType === "arcpad package" || itemType === "code sample" || itemType === "form" || itemType === "document link" ||
162
+ itemType === "operations dashboard add in" || itemType === "rules package" || itemType === "image" || itemType === "workflow manager package" ||
163
+ (itemType === "explorer map" && typeKeywords.indexOf("Explorer Mapping Application") > -1 || typeKeywords.indexOf("Document") > -1)) {
164
+ imgName = "datafilesgray";
165
+ }
166
+ else if (itemType === "network analysis service" || itemType === "geoprocessing service" ||
167
+ itemType === "geodata service" || itemType === "geometry service" || itemType === "geoprocessing package" ||
168
+ itemType === "locator package" || itemType === "geoprocessing sample" || itemType === "workflow manager service") {
169
+ imgName = "toolsgray";
170
+ }
171
+ else if (itemType === "layer" || itemType === "layer package" || itemType === "explorer layer") {
172
+ imgName = "layersgray";
173
+ }
174
+ else if (itemType === "scene package") {
175
+ imgName = "scenepackage";
176
+ }
177
+ else if (itemType === "mobile scene package") {
178
+ imgName = "mobilescenepackage";
179
+ }
180
+ else if (itemType === "tile package" || itemType === "compact tile package") {
181
+ imgName = "tilepackage";
182
+ }
183
+ else if (itemType === "task file") {
184
+ imgName = "taskfile";
185
+ }
186
+ else if (itemType === "report template") {
187
+ imgName = "report-template";
188
+ }
189
+ else if (itemType === "statistical data collection") {
190
+ imgName = "statisticaldatacollection";
191
+ }
192
+ else if (itemType === "insights workbook") {
193
+ imgName = "workbook";
194
+ }
195
+ else if (itemType === "insights model") {
196
+ imgName = "insightsmodel";
197
+ }
198
+ else if (itemType === "insights page") {
199
+ imgName = "insightspage";
200
+ }
201
+ else if (itemType === "insights theme") {
202
+ imgName = "insightstheme";
203
+ }
204
+ else if (itemType === "hub initiative") {
205
+ imgName = "hubinitiative";
206
+ }
207
+ else if (itemType === "hub page") {
208
+ imgName = "hubpage";
209
+ }
210
+ else if (itemType === "hub site application") {
211
+ imgName = "hubsite";
212
+ }
213
+ else if (itemType === "hub event") {
214
+ imgName = "hubevent";
215
+ }
216
+ else if (itemType === "relational database connection") {
217
+ imgName = "relationaldatabaseconnection";
218
+ }
219
+ else if (itemType === "big data file share") {
220
+ imgName = "datastorecollection";
221
+ }
222
+ else if (itemType === "image collection") {
223
+ imgName = "imagecollection";
224
+ }
225
+ else if (itemType === "desktop style") {
226
+ imgName = "desktopstyle";
227
+ }
228
+ else if (itemType === "style") {
229
+ imgName = "style";
230
+ }
231
+ else if (itemType === "dashboard") {
232
+ imgName = "dashboard";
233
+ }
234
+ else if (itemType === "raster function template") {
235
+ imgName = "rasterprocessingtemplate";
236
+ }
237
+ else if (itemType === "vector tile package") {
238
+ imgName = "vectortilepackage";
239
+ }
240
+ else if (itemType === "ortho mapping project") {
241
+ imgName = "orthomappingproject";
242
+ }
243
+ else if (itemType === "ortho mapping template") {
244
+ imgName = "orthomappingtemplate";
245
+ }
246
+ else if (itemType === "solution") {
247
+ imgName = "solutions";
248
+ }
249
+ else if (itemType === "geopackage") {
250
+ imgName = "geopackage";
251
+ }
252
+ else if (itemType === "deep learning package") {
253
+ imgName = "deeplearningpackage";
254
+ }
255
+ else if (itemType === "real time analytic") {
256
+ imgName = "realtimeanalytics";
257
+ }
258
+ else if (itemType === "big data analytic") {
259
+ imgName = "bigdataanalytics";
260
+ }
261
+ else if (itemType === "feed") {
262
+ imgName = "feed";
263
+ }
264
+ else if (itemType === "excalibur imagery project") {
265
+ imgName = "excaliburimageryproject";
266
+ }
267
+ else if (itemType === "notebook") {
268
+ imgName = "notebook";
269
+ }
270
+ else if (itemType === "storymap") {
271
+ imgName = "storymap";
272
+ }
273
+ else if (itemType === "survey123 add in") {
274
+ imgName = "survey123addin";
275
+ }
276
+ else if (itemType === "mission") {
277
+ imgName = "mission";
278
+ }
279
+ else if (itemType === "mission report") {
280
+ imgName = "missionreport";
281
+ }
282
+ else if (itemType === "quickcapture project") {
283
+ imgName = "quickcaptureproject";
284
+ }
285
+ else if (itemType === "pro report") {
286
+ imgName = "proreport";
287
+ }
288
+ else if (itemType === "urban model") {
289
+ imgName = "urbanmodel";
290
+ }
291
+ else if (itemType === "web experience") {
292
+ imgName = "experiencebuilder";
293
+ }
294
+ else if (itemType === "web experience template") {
295
+ imgName = "webexperiencetemplate";
296
+ }
297
+ else if (itemType === "workflow") {
298
+ imgName = "workflow";
299
+ }
300
+ else if (itemType === "kernel gateway connection") {
301
+ imgName = "kernelgatewayconnection";
302
+ }
303
+ else if (itemType === "insights script") {
304
+ imgName = "insightsscript";
305
+ }
306
+ else if (itemType === "hub initiative template") {
307
+ imgName = "hubinitiativetemplate";
308
+ }
309
+ else if (itemType === "storymap theme") {
310
+ imgName = "storymaptheme";
311
+ }
312
+ else if (itemType === "group") {
313
+ imgName = "group";
314
+ }
315
+ else {
316
+ imgName = "maps";
317
+ }
318
+ return imgName ? getAssetPath(imgDir + imgName + size + ".png") : null;
319
+ }
320
+ static get assetsDirs() { return ["item-icons"]; }
321
+ };
322
+ SolutionItemIcon.style = SolutionItemIconStyle0;
323
+
324
+ export { SolutionItemIcon as solution_item_icon };