@esri/solutions-components 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (274) hide show
  1. package/dist/cjs/buffer-tools_6.cjs.entry.js +8 -5
  2. package/dist/cjs/calcite-combobox_3.cjs.entry.js +2 -2
  3. package/dist/cjs/calcite-input-message_5.cjs.entry.js +6 -4
  4. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +2 -2
  5. package/dist/cjs/{csvUtils-83af7ae1.js → csvUtils-34666909.js} +1 -1
  6. package/dist/cjs/{interfaces-772edf61.js → interfaces-17c631bf.js} +1 -1
  7. package/dist/cjs/layer-table.cjs.entry.js +3 -3
  8. package/dist/cjs/map-card.cjs.entry.js +1 -1
  9. package/dist/cjs/{mapViewUtils-55ac76cb.js → mapViewUtils-24d1d859.js} +1 -1
  10. package/dist/cjs/public-notification.cjs.entry.js +16 -10
  11. package/dist/cjs/solution-configuration.cjs.entry.js +2 -2
  12. package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
  13. package/dist/cjs/{solution-store-39726b81.js → solution-store-2dbab624.js} +1 -1
  14. package/dist/collection/components/buffer-tools/buffer-tools.js +2 -2
  15. package/dist/collection/components/map-draw-tools/map-draw-tools.js +2 -1
  16. package/dist/collection/components/public-notification/public-notification.js +14 -8
  17. package/dist/collection/components/refine-selection/refine-selection.js +4 -2
  18. package/dist/collection/components/refine-selection-tools/refine-selection-tools.css +1 -0
  19. package/dist/collection/components/refine-selection-tools/refine-selection-tools.js +3 -1
  20. package/dist/collection/demos/new-public-notification.html +2 -1
  21. package/dist/collection/utils/interfaces.js +1 -1
  22. package/dist/collection/utils/interfaces.ts +2 -2
  23. package/dist/components/interfaces3.js +1 -1
  24. package/dist/components/map-draw-tools2.js +2 -1
  25. package/dist/components/public-notification.js +14 -8
  26. package/dist/components/refine-selection-tools2.js +4 -2
  27. package/dist/components/refine-selection2.js +4 -2
  28. package/dist/esm/buffer-tools_6.entry.js +8 -5
  29. package/dist/esm/calcite-combobox_3.entry.js +2 -2
  30. package/dist/esm/calcite-input-message_5.entry.js +6 -4
  31. package/dist/esm/calcite-shell-panel_14.entry.js +2 -2
  32. package/dist/esm/{csvUtils-eb231cfb.js → csvUtils-ae3004b9.js} +1 -1
  33. package/dist/esm/{interfaces-3b23a5f9.js → interfaces-d0d83efa.js} +1 -1
  34. package/dist/esm/layer-table.entry.js +3 -3
  35. package/dist/esm/map-card.entry.js +1 -1
  36. package/dist/esm/{mapViewUtils-e5d8a1e1.js → mapViewUtils-541e7a3c.js} +1 -1
  37. package/dist/esm/public-notification.entry.js +16 -10
  38. package/dist/esm/solution-configuration.entry.js +2 -2
  39. package/dist/esm/solution-contents_3.entry.js +2 -2
  40. package/dist/esm/{solution-store-c0bf9200.js → solution-store-41e15f1c.js} +1 -1
  41. package/dist/solutions-components/demos/new-public-notification.html +2 -1
  42. package/dist/solutions-components/p-05e64bd1.js +498 -2
  43. package/dist/solutions-components/p-08a95b33.entry.js +138 -0
  44. package/dist/solutions-components/p-0da5bbdf.entry.js +91 -0
  45. package/dist/solutions-components/p-0ef91144.entry.js +913 -0
  46. package/dist/solutions-components/p-0f523243.entry.js +1916 -0
  47. package/dist/solutions-components/p-11b9510e.entry.js +173 -0
  48. package/dist/solutions-components/p-1b875d94.entry.js +58 -0
  49. package/dist/solutions-components/p-1c567f3a.js +23 -16
  50. package/dist/solutions-components/p-1c883db9.entry.js +43 -0
  51. package/dist/solutions-components/p-1f225056.js +322 -0
  52. package/dist/solutions-components/p-1f499e67.entry.js +72 -0
  53. package/dist/solutions-components/p-20d3d758.entry.js +881 -0
  54. package/dist/solutions-components/p-2274ac9e.entry.js +160 -0
  55. package/dist/solutions-components/p-23ec5ac5.entry.js +93 -0
  56. package/dist/solutions-components/p-2447798c.entry.js +155 -0
  57. package/dist/solutions-components/p-2525e691.entry.js +432 -0
  58. package/dist/solutions-components/p-2561f5b5.js +4092 -0
  59. package/dist/solutions-components/p-29f887c0.entry.js +234 -0
  60. package/dist/solutions-components/p-2a0d8047.entry.js +345 -0
  61. package/dist/solutions-components/p-2c177e6a.entry.js +101 -0
  62. package/dist/solutions-components/p-2e9ed892.js +46 -1
  63. package/dist/solutions-components/p-316f56db.js +219 -2
  64. package/dist/solutions-components/p-327f3ebf.entry.js +98 -0
  65. package/dist/solutions-components/p-356f8b54.entry.js +138 -0
  66. package/dist/solutions-components/p-359c58de.entry.js +172 -0
  67. package/dist/solutions-components/p-37336c0d.entry.js +116 -0
  68. package/dist/solutions-components/p-374a5031.js +105 -2
  69. package/dist/solutions-components/p-39ea6ef4.entry.js +71 -0
  70. package/dist/solutions-components/p-3b010ce1.js +17 -1
  71. package/dist/solutions-components/p-4307dacd.js +194 -1
  72. package/dist/solutions-components/p-44da2507.js +405 -14
  73. package/dist/solutions-components/p-46bdffe8.entry.js +54 -0
  74. package/dist/solutions-components/p-4894bbeb.js +53 -2
  75. package/dist/solutions-components/p-4cd569f1.entry.js +1298 -0
  76. package/dist/solutions-components/p-4d4160f9.entry.js +121 -0
  77. package/dist/solutions-components/p-4e32bf8c.js +482 -1
  78. package/dist/solutions-components/p-4e9cbd32.entry.js +184 -0
  79. package/dist/solutions-components/p-508317b3.js +13 -2
  80. package/dist/solutions-components/p-54697d58.entry.js +198 -0
  81. package/dist/solutions-components/p-55c79103.entry.js +311 -0
  82. package/dist/solutions-components/p-57fd19c0.entry.js +706 -0
  83. package/dist/solutions-components/p-59b48fde.entry.js +443 -0
  84. package/dist/solutions-components/p-60e0e6a0.entry.js +214 -0
  85. package/dist/solutions-components/p-621d0534.entry.js +123 -0
  86. package/dist/solutions-components/p-63f6e8f1.js +14 -1
  87. package/dist/solutions-components/p-66aeec57.entry.js +61 -0
  88. package/dist/solutions-components/p-69834f46.entry.js +618 -0
  89. package/dist/solutions-components/p-6d9da8e5.entry.js +21530 -0
  90. package/dist/solutions-components/p-6e0da576.js +13 -1
  91. package/dist/solutions-components/p-6ec3f294.entry.js +106 -0
  92. package/dist/solutions-components/p-6fe17794.js +9 -1
  93. package/dist/solutions-components/p-7024cb16.entry.js +72 -0
  94. package/dist/solutions-components/p-70535506.entry.js +226 -0
  95. package/dist/solutions-components/p-708a63a8.js +12 -1
  96. package/dist/solutions-components/p-729708a3.js +14 -1
  97. package/dist/solutions-components/p-73e23995.js +6 -1
  98. package/dist/solutions-components/p-74b29d75.entry.js +231 -0
  99. package/dist/solutions-components/p-74b7ee25.entry.js +711 -0
  100. package/dist/solutions-components/p-77182c3a.js +3015 -1
  101. package/dist/solutions-components/p-78b3ef80.entry.js +456 -0
  102. package/dist/solutions-components/p-79709c19.js +60 -3
  103. package/dist/solutions-components/p-7a46ef97.js +181 -2
  104. package/dist/solutions-components/p-7be159e6.entry.js +175 -0
  105. package/dist/solutions-components/p-7d4451c2.entry.js +71 -0
  106. package/dist/solutions-components/p-7daea1df.js +41 -1
  107. package/dist/solutions-components/p-7e39e5ad.entry.js +102 -0
  108. package/dist/solutions-components/p-7fb45059.entry.js +43 -0
  109. package/dist/solutions-components/p-815533de.js +306 -3
  110. package/dist/solutions-components/p-816622ca.entry.js +248 -0
  111. package/dist/solutions-components/p-83166522.js +205 -2
  112. package/dist/solutions-components/p-83bd1991.entry.js +36 -0
  113. package/dist/solutions-components/p-856464d7.entry.js +572 -0
  114. package/dist/solutions-components/p-8c349bad.entry.js +347 -0
  115. package/dist/solutions-components/p-8dccb390.entry.js +1986 -0
  116. package/dist/solutions-components/p-904c185a.entry.js +228 -0
  117. package/dist/solutions-components/p-9092f8b3.entry.js +156 -0
  118. package/dist/solutions-components/p-9371145a.entry.js +477 -0
  119. package/dist/solutions-components/p-93d3119d.js +1948 -1
  120. package/dist/solutions-components/p-95ec8062.entry.js +173 -0
  121. package/dist/solutions-components/p-991ee695.js +109 -1
  122. package/dist/solutions-components/p-9a57dab7.entry.js +213 -0
  123. package/dist/solutions-components/p-9a9955db.js +41 -1
  124. package/dist/solutions-components/p-9c1ebc90.js +35 -16
  125. package/dist/solutions-components/p-9eba5c66.js +399 -3
  126. package/dist/solutions-components/p-a033a507.entry.js +252 -0
  127. package/dist/solutions-components/p-a3773415.entry.js +1132 -0
  128. package/dist/solutions-components/p-a44fe40f.entry.js +94 -0
  129. package/dist/solutions-components/p-a5b1ab03.js +33 -3
  130. package/dist/solutions-components/p-a5b2c13d.entry.js +723 -0
  131. package/dist/solutions-components/p-a6d729b7.entry.js +85 -0
  132. package/dist/solutions-components/p-a8005026.entry.js +565 -0
  133. package/dist/solutions-components/p-a80b3880.js +14 -1
  134. package/dist/solutions-components/p-a89198a3.entry.js +2620 -0
  135. package/dist/solutions-components/p-aa04bd1f.entry.js +95 -0
  136. package/dist/solutions-components/p-aa0a0922.entry.js +80 -0
  137. package/dist/solutions-components/p-ae1fd76b.js +11 -1
  138. package/dist/solutions-components/p-b2cf435e.entry.js +87 -0
  139. package/dist/solutions-components/p-b359dc78.js +41 -1
  140. package/dist/solutions-components/p-b57bc4eb.entry.js +71 -0
  141. package/dist/solutions-components/p-b75cc407.entry.js +145 -0
  142. package/dist/solutions-components/p-b911cb75.entry.js +71 -0
  143. package/dist/solutions-components/p-b965e177.entry.js +335 -0
  144. package/dist/solutions-components/p-b978636e.js +14 -1
  145. package/dist/solutions-components/p-ba10a5c8.entry.js +42 -0
  146. package/dist/solutions-components/p-bd67334c.js +122 -2
  147. package/dist/solutions-components/p-bde20dba.entry.js +212 -0
  148. package/dist/solutions-components/p-be0b5a94.entry.js +248 -0
  149. package/dist/solutions-components/p-c023e6a1.js +2028 -2
  150. package/dist/solutions-components/p-c27b0c2d.entry.js +150 -0
  151. package/dist/solutions-components/p-c579ed60.entry.js +447 -0
  152. package/dist/solutions-components/p-c92bc231.js +101 -2
  153. package/dist/solutions-components/p-cc815aca.js +839 -16
  154. package/dist/solutions-components/p-cc8beabb.entry.js +695 -0
  155. package/dist/solutions-components/p-cdc46c0c.js +1751 -2
  156. package/dist/solutions-components/p-d12e6992.entry.js +118 -0
  157. package/dist/solutions-components/p-d1dfed6b.entry.js +179 -0
  158. package/dist/solutions-components/p-d48a24e6.js +754 -2
  159. package/dist/solutions-components/p-d96ee3ef.entry.js +579 -0
  160. package/dist/solutions-components/p-dbc9a5a8.js +80 -0
  161. package/dist/solutions-components/p-dcdbe712.entry.js +278 -0
  162. package/dist/solutions-components/p-de39206f.entry.js +113 -0
  163. package/dist/solutions-components/p-de5416e8.js +28 -1
  164. package/dist/solutions-components/p-df420d54.entry.js +213 -0
  165. package/dist/solutions-components/p-e3138cf0.entry.js +20 -0
  166. package/dist/solutions-components/p-e4845fec.entry.js +152 -0
  167. package/dist/solutions-components/p-e611d8c8.js +28 -1
  168. package/dist/solutions-components/p-e947d3b0.js +5 -1
  169. package/dist/solutions-components/p-ea534300.js +41 -2
  170. package/dist/solutions-components/p-ec84ee85.entry.js +55 -0
  171. package/dist/solutions-components/p-ed36c637.entry.js +85 -0
  172. package/dist/solutions-components/p-f0add71c.js +74 -0
  173. package/dist/solutions-components/p-f42e014b.js +171 -2
  174. package/dist/solutions-components/p-fc02e7de.entry.js +308 -0
  175. package/dist/solutions-components/p-fc884dd6.js +28 -16
  176. package/dist/solutions-components/p-fcbfa59c.entry.js +181 -0
  177. package/dist/solutions-components/p-fdc5cf5f.entry.js +138 -0
  178. package/dist/solutions-components/solutions-components.esm.js +20 -1
  179. package/dist/solutions-components/utils/interfaces.ts +2 -2
  180. package/dist/types/components/buffer-tools/buffer-tools.d.ts +2 -2
  181. package/dist/types/components/public-notification/public-notification.d.ts +9 -1
  182. package/dist/types/components.d.ts +2 -2
  183. package/package.json +1 -1
  184. package/dist/solutions-components/p-021432b8.entry.js +0 -12
  185. package/dist/solutions-components/p-03440b1e.entry.js +0 -11
  186. package/dist/solutions-components/p-0512635b.entry.js +0 -6
  187. package/dist/solutions-components/p-086ef115.entry.js +0 -29
  188. package/dist/solutions-components/p-0b4bf57f.entry.js +0 -6
  189. package/dist/solutions-components/p-0c088725.entry.js +0 -6
  190. package/dist/solutions-components/p-0f820c08.entry.js +0 -6
  191. package/dist/solutions-components/p-164780a0.entry.js +0 -6
  192. package/dist/solutions-components/p-179a68a0.entry.js +0 -6
  193. package/dist/solutions-components/p-184b5005.entry.js +0 -11
  194. package/dist/solutions-components/p-1d082fee.entry.js +0 -11
  195. package/dist/solutions-components/p-1e6c02a2.entry.js +0 -11
  196. package/dist/solutions-components/p-20a58e62.entry.js +0 -17
  197. package/dist/solutions-components/p-20b2458c.entry.js +0 -11
  198. package/dist/solutions-components/p-245d47c1.entry.js +0 -6
  199. package/dist/solutions-components/p-2cb057a9.entry.js +0 -11
  200. package/dist/solutions-components/p-2cc72806.entry.js +0 -23
  201. package/dist/solutions-components/p-2de1db9c.entry.js +0 -11
  202. package/dist/solutions-components/p-2e9c7055.entry.js +0 -11
  203. package/dist/solutions-components/p-2ed5e6c8.entry.js +0 -11
  204. package/dist/solutions-components/p-3109d940.entry.js +0 -6
  205. package/dist/solutions-components/p-31a8bcfa.entry.js +0 -6
  206. package/dist/solutions-components/p-3649acb3.entry.js +0 -18
  207. package/dist/solutions-components/p-3f88ba73.entry.js +0 -6
  208. package/dist/solutions-components/p-3fa9b3c8.js +0 -36
  209. package/dist/solutions-components/p-40c41709.entry.js +0 -6
  210. package/dist/solutions-components/p-40e963c7.entry.js +0 -11
  211. package/dist/solutions-components/p-40f480da.entry.js +0 -11
  212. package/dist/solutions-components/p-49d5d2d3.entry.js +0 -11
  213. package/dist/solutions-components/p-4f7049a4.entry.js +0 -11
  214. package/dist/solutions-components/p-506e4d78.entry.js +0 -6
  215. package/dist/solutions-components/p-576fdcab.entry.js +0 -6
  216. package/dist/solutions-components/p-5bd0cf34.entry.js +0 -23
  217. package/dist/solutions-components/p-65e177f1.entry.js +0 -6
  218. package/dist/solutions-components/p-67d710c2.entry.js +0 -6
  219. package/dist/solutions-components/p-7268b445.entry.js +0 -11
  220. package/dist/solutions-components/p-75ea4667.entry.js +0 -6
  221. package/dist/solutions-components/p-778c0a36.entry.js +0 -17
  222. package/dist/solutions-components/p-7a22509b.entry.js +0 -12
  223. package/dist/solutions-components/p-7bff51db.entry.js +0 -6
  224. package/dist/solutions-components/p-7d2d0d5d.entry.js +0 -6
  225. package/dist/solutions-components/p-7f0036f1.entry.js +0 -11
  226. package/dist/solutions-components/p-8060fb94.entry.js +0 -6
  227. package/dist/solutions-components/p-80a1b305.entry.js +0 -6
  228. package/dist/solutions-components/p-81eae877.entry.js +0 -12
  229. package/dist/solutions-components/p-84e86b8b.entry.js +0 -6
  230. package/dist/solutions-components/p-851e04ae.entry.js +0 -6
  231. package/dist/solutions-components/p-9106950a.entry.js +0 -11
  232. package/dist/solutions-components/p-979804a4.entry.js +0 -11
  233. package/dist/solutions-components/p-9862baa8.entry.js +0 -11
  234. package/dist/solutions-components/p-9b5a9117.entry.js +0 -12
  235. package/dist/solutions-components/p-9deff0c2.entry.js +0 -6
  236. package/dist/solutions-components/p-9f400eeb.entry.js +0 -6
  237. package/dist/solutions-components/p-a0639ad1.entry.js +0 -11
  238. package/dist/solutions-components/p-a33c044e.entry.js +0 -6
  239. package/dist/solutions-components/p-a516c658.entry.js +0 -6
  240. package/dist/solutions-components/p-aa0ef36d.entry.js +0 -11
  241. package/dist/solutions-components/p-aaccbdf3.entry.js +0 -18
  242. package/dist/solutions-components/p-ab03a5c9.entry.js +0 -11
  243. package/dist/solutions-components/p-ad469b92.entry.js +0 -11
  244. package/dist/solutions-components/p-adc86ac3.entry.js +0 -6
  245. package/dist/solutions-components/p-addc1156.entry.js +0 -11
  246. package/dist/solutions-components/p-ae846934.entry.js +0 -11
  247. package/dist/solutions-components/p-b0572fc4.entry.js +0 -37
  248. package/dist/solutions-components/p-b4e476b7.js +0 -257
  249. package/dist/solutions-components/p-b668daf8.js +0 -21
  250. package/dist/solutions-components/p-b6e6eae1.entry.js +0 -6
  251. package/dist/solutions-components/p-bc317a7f.entry.js +0 -6
  252. package/dist/solutions-components/p-be41429f.js +0 -21
  253. package/dist/solutions-components/p-bf6b6353.entry.js +0 -11
  254. package/dist/solutions-components/p-c2e3dfbb.entry.js +0 -11
  255. package/dist/solutions-components/p-c4afae53.entry.js +0 -12
  256. package/dist/solutions-components/p-c9da1c26.entry.js +0 -6
  257. package/dist/solutions-components/p-cbf8cd49.entry.js +0 -6
  258. package/dist/solutions-components/p-cc1a064a.entry.js +0 -11
  259. package/dist/solutions-components/p-d09a168c.entry.js +0 -6
  260. package/dist/solutions-components/p-d377f913.entry.js +0 -11
  261. package/dist/solutions-components/p-d4cefead.entry.js +0 -37
  262. package/dist/solutions-components/p-d7bc0baf.entry.js +0 -16
  263. package/dist/solutions-components/p-d8968487.entry.js +0 -11
  264. package/dist/solutions-components/p-e00a0b86.entry.js +0 -11
  265. package/dist/solutions-components/p-e9a7ed49.entry.js +0 -11
  266. package/dist/solutions-components/p-ec27e493.entry.js +0 -11
  267. package/dist/solutions-components/p-ed6404eb.entry.js +0 -6
  268. package/dist/solutions-components/p-ef21e195.entry.js +0 -23
  269. package/dist/solutions-components/p-f6068a2d.entry.js +0 -11
  270. package/dist/solutions-components/p-f6c4cff3.entry.js +0 -11
  271. package/dist/solutions-components/p-f847291f.entry.js +0 -6
  272. package/dist/solutions-components/p-f90fd262.entry.js +0 -11
  273. package/dist/solutions-components/p-fc973005.entry.js +0 -6
  274. package/dist/solutions-components/p-ff9fb6bc.entry.js +0 -11
@@ -0,0 +1,881 @@
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, c as createEvent, h, H as Host, g as getElement, a as getAssetPath } from './p-c023e6a1.js';
7
+ import { f as focusElement, n as nodeListToArray, m as getRootNode, a as getSlotted, b as getElementDir, t as toAriaBoolean, j as filterDirectChildren } from './p-83166522.js';
8
+ import { C as CSS_UTILITY } from './p-729708a3.js';
9
+ import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './p-ea534300.js';
10
+ import { u as updateHostInteraction } from './p-7daea1df.js';
11
+ import './p-a80b3880.js';
12
+ import './p-9a9955db.js';
13
+
14
+ /*!
15
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
16
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
17
+ * v1.0.0-beta.97
18
+ */
19
+ var TreeSelectionMode;
20
+ (function (TreeSelectionMode) {
21
+ TreeSelectionMode["Single"] = "single";
22
+ TreeSelectionMode["Multi"] = "multi";
23
+ TreeSelectionMode["None"] = "none";
24
+ TreeSelectionMode["Children"] = "children";
25
+ TreeSelectionMode["MultiChildren"] = "multi-children";
26
+ TreeSelectionMode["Ancestors"] = "ancestors";
27
+ })(TreeSelectionMode || (TreeSelectionMode = {}));
28
+
29
+ /*!
30
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
31
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
32
+ * v1.0.0-beta.97
33
+ */
34
+ function isTreeItem(element) {
35
+ return element === null || element === void 0 ? void 0 : element.matches("calcite-tree-item");
36
+ }
37
+ function getEnabledSiblingItem(el, direction) {
38
+ const directionProp = direction === "down" ? "nextElementSibling" : "previousElementSibling";
39
+ let currentEl = el;
40
+ let enabledEl = null;
41
+ while (isTreeItem(currentEl)) {
42
+ if (!currentEl.disabled) {
43
+ enabledEl = currentEl;
44
+ break;
45
+ }
46
+ currentEl = currentEl[directionProp];
47
+ }
48
+ return enabledEl;
49
+ }
50
+
51
+ const treeCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}:host(:focus){outline:2px solid transparent;outline-offset:2px}";
52
+
53
+ const Tree = class {
54
+ constructor(hostRef) {
55
+ registerInstance(this, hostRef);
56
+ this.calciteTreeSelect = createEvent(this, "calciteTreeSelect", 6);
57
+ //--------------------------------------------------------------------------
58
+ //
59
+ // Properties
60
+ //
61
+ //--------------------------------------------------------------------------
62
+ /** Displays indentation guide lines. */
63
+ this.lines = false;
64
+ /**
65
+ * Display input
66
+ *
67
+ * @deprecated Use `selectionMode="ancestors"` for checkbox input.
68
+ */
69
+ this.inputEnabled = false;
70
+ /** Specifies the size of the component. */
71
+ this.scale = "m";
72
+ /**
73
+ * Customize how the component's selection works.
74
+ *
75
+ * @default "single"
76
+ * @see [TreeSelectionMode](https://github.com/Esri/calcite-components/blob/master/src/components/tree/interfaces.ts#L5)
77
+ */
78
+ this.selectionMode = TreeSelectionMode.Single;
79
+ }
80
+ //--------------------------------------------------------------------------
81
+ //
82
+ // Lifecycle
83
+ //
84
+ //--------------------------------------------------------------------------
85
+ componentWillRender() {
86
+ var _a;
87
+ const parent = (_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.closest("calcite-tree");
88
+ this.lines = parent ? parent.lines : this.lines;
89
+ this.scale = parent ? parent.scale : this.scale;
90
+ this.selectionMode = parent ? parent.selectionMode : this.selectionMode;
91
+ this.child = !!parent;
92
+ }
93
+ render() {
94
+ return (h(Host, { "aria-multiselectable": this.child
95
+ ? undefined
96
+ : (this.selectionMode === TreeSelectionMode.Multi ||
97
+ this.selectionMode === TreeSelectionMode.MultiChildren).toString(), role: !this.child ? "tree" : undefined, tabIndex: this.getRootTabIndex() }, h("slot", null)));
98
+ }
99
+ //--------------------------------------------------------------------------
100
+ //
101
+ // Event Listeners
102
+ //
103
+ //--------------------------------------------------------------------------
104
+ onFocus() {
105
+ if (!this.child) {
106
+ const focusTarget = this.el.querySelector("calcite-tree-item[selected]:not([disabled])") || this.el.querySelector("calcite-tree-item:not([disabled])");
107
+ focusElement(focusTarget);
108
+ }
109
+ }
110
+ onFocusIn(event) {
111
+ const focusedFromRootOrOutsideTree = event.relatedTarget === this.el || !this.el.contains(event.relatedTarget);
112
+ if (focusedFromRootOrOutsideTree) {
113
+ // gives user the ability to tab into external elements (modifying tabindex property will not work in firefox)
114
+ this.el.removeAttribute("tabindex");
115
+ }
116
+ }
117
+ onFocusOut(event) {
118
+ const willFocusOutsideTree = !this.el.contains(event.relatedTarget);
119
+ if (willFocusOutsideTree) {
120
+ this.el.tabIndex = this.getRootTabIndex();
121
+ }
122
+ }
123
+ onClick(event) {
124
+ const target = event.target;
125
+ const childItems = nodeListToArray(target.querySelectorAll("calcite-tree-item"));
126
+ if (this.child) {
127
+ return;
128
+ }
129
+ if (!this.child) {
130
+ event.preventDefault();
131
+ event.stopPropagation();
132
+ }
133
+ if (this.selectionMode === TreeSelectionMode.Ancestors && !this.child) {
134
+ this.updateAncestorTree(event);
135
+ return;
136
+ }
137
+ const isNoneSelectionMode = this.selectionMode === TreeSelectionMode.None;
138
+ const shouldSelect = this.selectionMode !== null &&
139
+ (!target.hasChildren ||
140
+ (target.hasChildren &&
141
+ (this.selectionMode === TreeSelectionMode.Children ||
142
+ this.selectionMode === TreeSelectionMode.MultiChildren)));
143
+ const shouldModifyToCurrentSelection = !isNoneSelectionMode &&
144
+ event.detail.modifyCurrentSelection &&
145
+ (this.selectionMode === TreeSelectionMode.Multi ||
146
+ this.selectionMode === TreeSelectionMode.MultiChildren);
147
+ const shouldSelectChildren = this.selectionMode === TreeSelectionMode.MultiChildren ||
148
+ this.selectionMode === TreeSelectionMode.Children;
149
+ const shouldClearCurrentSelection = !shouldModifyToCurrentSelection &&
150
+ (((this.selectionMode === TreeSelectionMode.Single ||
151
+ this.selectionMode === TreeSelectionMode.Multi) &&
152
+ childItems.length <= 0) ||
153
+ this.selectionMode === TreeSelectionMode.Children ||
154
+ this.selectionMode === TreeSelectionMode.MultiChildren);
155
+ const shouldExpandTarget = this.selectionMode === TreeSelectionMode.Children ||
156
+ this.selectionMode === TreeSelectionMode.MultiChildren;
157
+ if (!this.child) {
158
+ const targetItems = [];
159
+ if (shouldSelect) {
160
+ targetItems.push(target);
161
+ }
162
+ if (shouldSelectChildren) {
163
+ childItems.forEach((treeItem) => {
164
+ targetItems.push(treeItem);
165
+ });
166
+ }
167
+ if (shouldClearCurrentSelection) {
168
+ const selectedItems = nodeListToArray(this.el.querySelectorAll("calcite-tree-item[selected]"));
169
+ selectedItems.forEach((treeItem) => {
170
+ if (!targetItems.includes(treeItem)) {
171
+ treeItem.selected = false;
172
+ }
173
+ });
174
+ }
175
+ if (shouldExpandTarget && !event.detail.forceToggle) {
176
+ target.expanded = true;
177
+ }
178
+ if (shouldModifyToCurrentSelection) {
179
+ window.getSelection().removeAllRanges();
180
+ }
181
+ if ((shouldModifyToCurrentSelection && target.selected) ||
182
+ (shouldSelectChildren && event.detail.forceToggle)) {
183
+ targetItems.forEach((treeItem) => {
184
+ if (!treeItem.disabled) {
185
+ treeItem.selected = false;
186
+ }
187
+ });
188
+ }
189
+ else if (!isNoneSelectionMode) {
190
+ targetItems.forEach((treeItem) => {
191
+ if (!treeItem.disabled) {
192
+ treeItem.selected = true;
193
+ }
194
+ });
195
+ }
196
+ }
197
+ const selected = isNoneSelectionMode
198
+ ? [target]
199
+ : nodeListToArray(this.el.querySelectorAll("calcite-tree-item")).filter((i) => i.selected);
200
+ this.calciteTreeSelect.emit({ selected });
201
+ event.stopPropagation();
202
+ }
203
+ keyDownHandler(event) {
204
+ var _a;
205
+ const root = this.el.closest("calcite-tree:not([child])");
206
+ const target = event.target;
207
+ if (!(root === this.el && target.tagName === "CALCITE-TREE-ITEM" && this.el.contains(target))) {
208
+ return;
209
+ }
210
+ if (event.key === "ArrowDown") {
211
+ const next = getEnabledSiblingItem(target.nextElementSibling, "down");
212
+ if (next) {
213
+ next.focus();
214
+ event.preventDefault();
215
+ }
216
+ return;
217
+ }
218
+ if (event.key === "ArrowUp") {
219
+ const previous = getEnabledSiblingItem(target.previousElementSibling, "up");
220
+ if (previous) {
221
+ previous.focus();
222
+ event.preventDefault();
223
+ }
224
+ }
225
+ if (event.key === "ArrowLeft" && !target.disabled) {
226
+ // When focus is on an open node, closes the node.
227
+ if (target.hasChildren && target.expanded) {
228
+ target.expanded = false;
229
+ event.preventDefault();
230
+ return;
231
+ }
232
+ // When focus is on a child node that is also either an end node or a closed node, moves focus to its parent node.
233
+ const parentItem = target.parentElement.closest("calcite-tree-item");
234
+ if (parentItem && (!target.hasChildren || target.expanded === false)) {
235
+ parentItem.focus();
236
+ event.preventDefault();
237
+ return;
238
+ }
239
+ // When focus is on a root node that is also either an end node or a closed node, does nothing.
240
+ return;
241
+ }
242
+ if (event.key === "ArrowRight" && !target.disabled) {
243
+ if (target.hasChildren) {
244
+ if (target.expanded && getRootNode(this.el).activeElement === target) {
245
+ // When focus is on an open node, moves focus to the first child node.
246
+ (_a = getEnabledSiblingItem(target.querySelector("calcite-tree-item"), "down")) === null || _a === void 0 ? void 0 : _a.focus();
247
+ event.preventDefault();
248
+ }
249
+ else {
250
+ // When focus is on a closed node, opens the node; focus does not move.
251
+ target.expanded = true;
252
+ event.preventDefault();
253
+ }
254
+ }
255
+ return;
256
+ }
257
+ }
258
+ updateAncestorTree(event) {
259
+ const item = event.target;
260
+ if (item.disabled) {
261
+ return;
262
+ }
263
+ const ancestors = [];
264
+ let parent = item.parentElement.closest("calcite-tree-item");
265
+ while (parent) {
266
+ ancestors.push(parent);
267
+ parent = parent.parentElement.closest("calcite-tree-item");
268
+ }
269
+ const childItems = Array.from(item.querySelectorAll("calcite-tree-item:not([disabled])"));
270
+ const childItemsWithNoChildren = childItems.filter((child) => !child.hasChildren);
271
+ const childItemsWithChildren = childItems.filter((child) => child.hasChildren);
272
+ const futureSelected = item.hasChildren
273
+ ? !(item.selected || item.indeterminate)
274
+ : !item.selected;
275
+ childItemsWithNoChildren.forEach((el) => {
276
+ el.selected = futureSelected;
277
+ el.indeterminate = false;
278
+ });
279
+ function updateItemState(childItems, item) {
280
+ const selected = childItems.filter((child) => child.selected);
281
+ const unselected = childItems.filter((child) => !child.selected);
282
+ item.selected = selected.length === childItems.length;
283
+ item.indeterminate = selected.length > 0 && unselected.length > 0;
284
+ }
285
+ childItemsWithChildren.forEach((el) => {
286
+ const directChildItems = Array.from(el.querySelectorAll(":scope > calcite-tree > calcite-tree-item"));
287
+ updateItemState(directChildItems, el);
288
+ });
289
+ if (item.hasChildren) {
290
+ updateItemState(childItems, item);
291
+ }
292
+ else {
293
+ item.selected = futureSelected;
294
+ item.indeterminate = false;
295
+ }
296
+ ancestors.forEach((ancestor) => {
297
+ const descendants = nodeListToArray(ancestor.querySelectorAll("calcite-tree-item"));
298
+ const activeDescendants = descendants.filter((el) => el.selected);
299
+ if (activeDescendants.length === 0) {
300
+ ancestor.selected = false;
301
+ ancestor.indeterminate = false;
302
+ return;
303
+ }
304
+ const indeterminate = activeDescendants.length < descendants.length;
305
+ ancestor.indeterminate = indeterminate;
306
+ ancestor.selected = !indeterminate;
307
+ });
308
+ this.calciteTreeSelect.emit({
309
+ selected: nodeListToArray(this.el.querySelectorAll("calcite-tree-item")).filter((i) => i.selected)
310
+ });
311
+ }
312
+ // --------------------------------------------------------------------------
313
+ //
314
+ // Private Methods
315
+ //
316
+ //--------------------------------------------------------------------------
317
+ getRootTabIndex() {
318
+ return !this.child ? 0 : -1;
319
+ }
320
+ get el() { return getElement(this); }
321
+ };
322
+ Tree.style = treeCss;
323
+
324
+ /*!
325
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
326
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
327
+ * v1.0.0-beta.97
328
+ */
329
+ const CSS = {
330
+ checkboxLabel: "checkbox-label",
331
+ checkbox: "checkbox",
332
+ chevron: "chevron",
333
+ nodeContainer: "node-container",
334
+ childrenContainer: "children-container",
335
+ bulletPointIcon: "bullet-point",
336
+ checkmarkIcon: "checkmark"
337
+ };
338
+ const SLOTS = {
339
+ children: "children"
340
+ };
341
+ const ICONS = {
342
+ bulletPoint: "bullet-point",
343
+ checkmark: "check",
344
+ chevronRight: "chevron-right",
345
+ blank: "blank"
346
+ };
347
+
348
+ const treeItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .node-container{--calcite-tree-padding-y:0.25rem}:host([scale=s]) .node-container .checkbox,:host([scale=s]) .node-container .chevron,:host([scale=s]) .node-container .checkmark,:host([scale=s]) .node-container .bullet-point{margin-inline:0.25rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .node-container{--calcite-tree-padding-y:0.5rem}:host([scale=m]) .node-container .checkbox,:host([scale=m]) .node-container .chevron,:host([scale=m]) .node-container .checkmark,:host([scale=m]) .node-container .bullet-point{margin-inline:0.5rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .node-container{--calcite-tree-padding-y:0.75rem}:host([scale=l]) .node-container .checkbox,:host([scale=l]) .node-container .chevron,:host([scale=l]) .node-container .checkmark,:host([scale=l]) .node-container .bullet-point{margin-inline:0.75rem}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:1;inline-size:1px;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:\"\";background-color:var(--calcite-ui-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}::slotted(*):hover{text-decoration:none !important}::slotted(a){inline-size:100%;-webkit-text-decoration-line:none;text-decoration-line:none}:host{outline-color:transparent}:host(:focus:not([disabled])){outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.checkbox{line-height:0}.checkbox-label{pointer-events:none;display:flex;align-items:center}.checkbox:focus{outline:2px solid transparent;outline-offset:2px}.children-container{position:relative;block-size:0px;overflow:hidden;-webkit-margin-start:1.25rem;margin-inline-start:1.25rem;transform:scaleY(0);opacity:0;transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transform-origin:top}:host([expanded])>.children-container{transform:scaleY(1);opacity:1;block-size:auto}.node-container{position:relative;display:flex;align-items:center;padding-block:var(--calcite-tree-padding-y);padding-inline:0}.node-container .checkmark,.node-container .bullet-point{opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus:not([disabled])) .node-container .checkmark,:host(:focus:not([disabled])) .node-container .bullet-point{opacity:1}:host([selected])>.node-container,:host([selected])>.node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected])>.node-container .bullet-point,:host([selected])>.node-container .checkmark,:host([selected])>.node-container:hover .bullet-point,:host([selected])>.node-container:hover .checkmark{opacity:1;color:var(--calcite-ui-brand)}:host([selection-mode=none]:not([has-children])):host([scale=s])>.node-container{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}:host([selection-mode=none]:not([has-children])):host([scale=m])>.node-container{-webkit-padding-start:1rem;padding-inline-start:1rem}:host([selection-mode=none]:not([has-children])):host([scale=l])>.node-container{-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=s])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.25rem;padding-inline-start:1.25rem}:host(:not([has-children])):host([scale=m])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=l])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem}:host([has-children])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-margin-start:0;margin-inline-start:0}:host([has-children])>.node-container .bullet-point,:host([has-children])>.node-container .checkmark{display:none}:host([has-children][expanded]:not([selected]):not([selection-mode=none]))>.node-container ::slotted(*){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([has-children][selected])>.node-container[data-selection-mode=children],:host([has-children][selected])>.node-container[data-selection-mode=multi-children]{color:var(--calcite-ui-brand)}.chevron{position:relative;align-self:center;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;flex:0 0 auto;transform:rotate(0deg)}.calcite--rtl .chevron{transform:rotate(180deg)}:host([expanded])>.node-container>.chevron{transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-ui-brand)}";
349
+
350
+ const TreeItem = class {
351
+ constructor(hostRef) {
352
+ registerInstance(this, hostRef);
353
+ this.calciteInternalTreeItemSelect = createEvent(this, "calciteInternalTreeItemSelect", 6);
354
+ //--------------------------------------------------------------------------
355
+ //
356
+ // Properties
357
+ //
358
+ //--------------------------------------------------------------------------
359
+ /**
360
+ * When `true`, interaction is prevented and the component is displayed with lower opacity.
361
+ */
362
+ this.disabled = false;
363
+ /** When `true`, the component is selected. */
364
+ this.selected = false;
365
+ /** When `true`, the component is expanded. */
366
+ this.expanded = false;
367
+ /**
368
+ * @internal
369
+ */
370
+ this.parentExpanded = false;
371
+ /**
372
+ * @internal
373
+ */
374
+ this.depth = -1;
375
+ /**
376
+ * @internal
377
+ */
378
+ this.hasChildren = null;
379
+ this.iconClickHandler = (event) => {
380
+ event.stopPropagation();
381
+ this.expanded = !this.expanded;
382
+ };
383
+ this.childrenClickHandler = (event) => event.stopPropagation();
384
+ //--------------------------------------------------------------------------
385
+ //
386
+ // Private Methods
387
+ //
388
+ //--------------------------------------------------------------------------
389
+ this.updateParentIsExpanded = (el, expanded) => {
390
+ const items = getSlotted(el, SLOTS.children, {
391
+ all: true,
392
+ selector: "calcite-tree-item"
393
+ });
394
+ items.forEach((item) => (item.parentExpanded = expanded));
395
+ };
396
+ this.updateAncestorTree = () => {
397
+ var _a;
398
+ if (this.selected && this.selectionMode === TreeSelectionMode.Ancestors) {
399
+ const ancestors = [];
400
+ let parent = this.parentTreeItem;
401
+ while (parent) {
402
+ ancestors.push(parent);
403
+ parent = (_a = parent.parentElement) === null || _a === void 0 ? void 0 : _a.closest("calcite-tree-item");
404
+ }
405
+ ancestors.forEach((item) => (item.indeterminate = true));
406
+ return;
407
+ }
408
+ };
409
+ }
410
+ expandedHandler(newValue) {
411
+ this.updateParentIsExpanded(this.el, newValue);
412
+ }
413
+ getselectionMode() {
414
+ this.isSelectionMultiLike =
415
+ this.selectionMode === TreeSelectionMode.Multi ||
416
+ this.selectionMode === TreeSelectionMode.MultiChildren;
417
+ }
418
+ //--------------------------------------------------------------------------
419
+ //
420
+ // Lifecycle
421
+ //
422
+ //--------------------------------------------------------------------------
423
+ connectedCallback() {
424
+ var _a;
425
+ this.parentTreeItem = (_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.closest("calcite-tree-item");
426
+ if (this.parentTreeItem) {
427
+ const { expanded } = this.parentTreeItem;
428
+ this.updateParentIsExpanded(this.parentTreeItem, expanded);
429
+ }
430
+ connectConditionalSlotComponent(this);
431
+ }
432
+ disconnectedCallback() {
433
+ disconnectConditionalSlotComponent(this);
434
+ }
435
+ componentWillRender() {
436
+ var _a;
437
+ this.hasChildren = !!this.el.querySelector("calcite-tree");
438
+ this.depth = 0;
439
+ let parentTree = this.el.closest("calcite-tree");
440
+ if (!parentTree) {
441
+ return;
442
+ }
443
+ this.selectionMode = parentTree.selectionMode;
444
+ this.scale = parentTree.scale || "m";
445
+ this.lines = parentTree.lines;
446
+ let nextParentTree;
447
+ while (parentTree) {
448
+ nextParentTree = (_a = parentTree.parentElement) === null || _a === void 0 ? void 0 : _a.closest("calcite-tree");
449
+ if (nextParentTree === parentTree) {
450
+ break;
451
+ }
452
+ else {
453
+ parentTree = nextParentTree;
454
+ this.depth = this.depth + 1;
455
+ }
456
+ }
457
+ }
458
+ componentDidLoad() {
459
+ this.updateAncestorTree();
460
+ }
461
+ componentDidRender() {
462
+ updateHostInteraction(this, () => this.parentExpanded || this.depth === 1);
463
+ }
464
+ render() {
465
+ const rtl = getElementDir(this.el) === "rtl";
466
+ const showBulletPoint = this.selectionMode === TreeSelectionMode.Single ||
467
+ this.selectionMode === TreeSelectionMode.Children;
468
+ const showCheckmark = this.selectionMode === TreeSelectionMode.Multi ||
469
+ this.selectionMode === TreeSelectionMode.MultiChildren;
470
+ const showBlank = this.selectionMode === TreeSelectionMode.None && !this.hasChildren;
471
+ const chevron = this.hasChildren ? (h("calcite-icon", { class: {
472
+ [CSS.chevron]: true,
473
+ [CSS_UTILITY.rtl]: rtl
474
+ }, "data-test-id": "icon", icon: ICONS.chevronRight, onClick: this.iconClickHandler, scale: "s" })) : null;
475
+ const defaultSlotNode = h("slot", { key: "default-slot" });
476
+ const checkbox = this.selectionMode === TreeSelectionMode.Ancestors ? (h("label", { class: CSS.checkboxLabel, key: "checkbox-label" }, h("calcite-checkbox", { checked: this.selected, class: CSS.checkbox, "data-test-id": "checkbox", indeterminate: this.hasChildren && this.indeterminate, scale: this.scale, tabIndex: -1 }), defaultSlotNode)) : null;
477
+ const selectedIcon = showBulletPoint
478
+ ? ICONS.bulletPoint
479
+ : showCheckmark
480
+ ? ICONS.checkmark
481
+ : showBlank
482
+ ? ICONS.blank
483
+ : null;
484
+ const itemIndicator = selectedIcon ? (h("calcite-icon", { class: {
485
+ [CSS.bulletPointIcon]: selectedIcon === ICONS.bulletPoint,
486
+ [CSS.checkmarkIcon]: selectedIcon === ICONS.checkmark,
487
+ [CSS_UTILITY.rtl]: rtl
488
+ }, icon: selectedIcon, scale: "s" })) : null;
489
+ const hidden = !(this.parentExpanded || this.depth === 1);
490
+ return (h(Host, { "aria-expanded": this.hasChildren ? toAriaBoolean(this.expanded) : undefined, "aria-hidden": toAriaBoolean(hidden), "aria-selected": this.selected ? "true" : showCheckmark ? "false" : undefined, "calcite-hydrated-hidden": hidden, role: "treeitem" }, h("div", { class: {
491
+ [CSS.nodeContainer]: true,
492
+ [CSS_UTILITY.rtl]: rtl
493
+ }, "data-selection-mode": this.selectionMode, ref: (el) => (this.defaultSlotWrapper = el) }, chevron, itemIndicator, checkbox ? checkbox : defaultSlotNode), h("div", { class: {
494
+ [CSS.childrenContainer]: true,
495
+ [CSS_UTILITY.rtl]: rtl
496
+ }, "data-test-id": "calcite-tree-children", onClick: this.childrenClickHandler, ref: (el) => (this.childrenSlotWrapper = el), role: this.hasChildren ? "group" : undefined }, h("slot", { name: SLOTS.children }))));
497
+ }
498
+ //--------------------------------------------------------------------------
499
+ //
500
+ // Event Listeners
501
+ //
502
+ //--------------------------------------------------------------------------
503
+ onClick(event) {
504
+ // Solve for if the item is clicked somewhere outside the slotted anchor.
505
+ // Anchor is triggered anywhere you click
506
+ const [link] = filterDirectChildren(this.el, "a");
507
+ if (link && event.composedPath()[0].tagName.toLowerCase() !== "a") {
508
+ const target = link.target === "" ? "_self" : link.target;
509
+ window.open(link.href, target);
510
+ }
511
+ this.calciteInternalTreeItemSelect.emit({
512
+ modifyCurrentSelection: this.selectionMode === TreeSelectionMode.Ancestors || this.isSelectionMultiLike,
513
+ forceToggle: false
514
+ });
515
+ }
516
+ keyDownHandler(event) {
517
+ let root;
518
+ switch (event.key) {
519
+ case " ":
520
+ this.calciteInternalTreeItemSelect.emit({
521
+ modifyCurrentSelection: this.isSelectionMultiLike,
522
+ forceToggle: false
523
+ });
524
+ event.preventDefault();
525
+ break;
526
+ case "Enter":
527
+ // activates a node, i.e., performs its default action. For parent nodes, one possible default action is to open or close the node. In single-select trees where selection does not follow focus (see note below), the default action is typically to select the focused node.
528
+ const link = nodeListToArray(this.el.children).find((el) => el.matches("a"));
529
+ if (link) {
530
+ link.click();
531
+ this.selected = true;
532
+ }
533
+ else {
534
+ this.calciteInternalTreeItemSelect.emit({
535
+ modifyCurrentSelection: this.isSelectionMultiLike,
536
+ forceToggle: false
537
+ });
538
+ }
539
+ event.preventDefault();
540
+ break;
541
+ case "Home":
542
+ root = this.el.closest("calcite-tree:not([child])");
543
+ const firstNode = root.querySelector("calcite-tree-item");
544
+ firstNode === null || firstNode === void 0 ? void 0 : firstNode.focus();
545
+ break;
546
+ case "End":
547
+ root = this.el.closest("calcite-tree:not([child])");
548
+ let currentNode = root.children[root.children.length - 1]; // last child
549
+ let currentTree = nodeListToArray(currentNode.children).find((el) => el.matches("calcite-tree"));
550
+ while (currentTree) {
551
+ currentNode = currentTree.children[root.children.length - 1];
552
+ currentTree = nodeListToArray(currentNode.children).find((el) => el.matches("calcite-tree"));
553
+ }
554
+ currentNode === null || currentNode === void 0 ? void 0 : currentNode.focus();
555
+ break;
556
+ }
557
+ }
558
+ get el() { return getElement(this); }
559
+ static get watchers() { return {
560
+ "expanded": ["expandedHandler"],
561
+ "selectionMode": ["getselectionMode"]
562
+ }; }
563
+ };
564
+ TreeItem.style = treeItemCss;
565
+
566
+ const solutionItemIconCss = ".item-type-icon{pointer-events:none;display:block;height:1rem;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}.item-type-icon-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.item-type-icon-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.item-type-icon-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.item-type-icon-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.item-type-icon-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.item-type-icon-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.item-type-icon-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.item-type-icon-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>.item-type-icon{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>.item-type-icon{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>.item-type-icon{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>.item-type-icon{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>.item-type-icon{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>.item-type-icon{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>.item-type-icon{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>.item-type-icon{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>.item-type-icon{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>.item-type-icon{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>.item-type-icon{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>.item-type-icon{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>.item-type-icon{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>.item-type-icon{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>.item-type-icon{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>.item-type-icon{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face .item-type-icon{letter-spacing:0em;font-family:\"Consolas\", \"Andale Mono\", \"Lucida Console\", \"Monaco\", monospace;font-weight:400;font-style:normal}.code-face .item-type-icon b,.code-face .item-type-icon strong{font-weight:400}.code-italic .item-type-icon{letter-spacing:0em;font-family:\"Consolas\", \"Andale Mono\", \"Lucida Console\", \"Monaco\", monospace;font-weight:400;font-style:italic}.code-italic .item-type-icon b,.code-italic .item-type-icon strong{font-weight:400}.item-type-icon{margin-top:0.15em !important;min-width:16px;fill:currentColor;transform:rotate(360deg)}.item-type-icon-margin{-webkit-margin-end:0.375rem;margin-inline-end:0.375rem}";
567
+
568
+ const SolutionItemIcon = class {
569
+ constructor(hostRef) {
570
+ registerInstance(this, hostRef);
571
+ this.isPortal = false;
572
+ this.type = "";
573
+ this.typeKeywords = [];
574
+ }
575
+ //--------------------------------------------------------------------------
576
+ //
577
+ // Lifecycle
578
+ //
579
+ //--------------------------------------------------------------------------
580
+ /**
581
+ * Renders the component.
582
+ */
583
+ render() {
584
+ return h("div", { title: this.type }, h("img", { class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
585
+ }
586
+ //--------------------------------------------------------------------------
587
+ //
588
+ // Properties (protected)
589
+ //
590
+ //--------------------------------------------------------------------------
591
+ //--------------------------------------------------------------------------
592
+ //
593
+ // Event Listeners
594
+ //
595
+ //--------------------------------------------------------------------------
596
+ //--------------------------------------------------------------------------
597
+ //
598
+ // Events
599
+ //
600
+ //--------------------------------------------------------------------------
601
+ //--------------------------------------------------------------------------
602
+ //
603
+ // Public Methods (async)
604
+ //
605
+ //--------------------------------------------------------------------------
606
+ //--------------------------------------------------------------------------
607
+ //
608
+ // Private Methods
609
+ //
610
+ //--------------------------------------------------------------------------
611
+ /**
612
+ * This function was copied and slightly modified from the arcgis-portal-app.
613
+ *
614
+ * This will construct the path to the icon based on type and typeKeyword info.
615
+ *
616
+ * @param type The item type
617
+ * @param typeKeywords The item typeKeywords
618
+ */
619
+ _getIconUrl(type, typeKeywords) {
620
+ const itemType = (type && type.toLowerCase()) || "", imgDir = "./item-icons/", size = "16"; //for now we only support 16x16 pixel images
621
+ let isHosted = false, isRouteLayer = false, isMarkupLayer = false, isTable = false, isSpatiotemporal = false, isRelational = false, imgName = "";
622
+ typeKeywords = typeKeywords || [];
623
+ if (itemType.indexOf("service") > 0 || itemType === "feature collection" || itemType === "kml" || itemType === "wms" || itemType === "wmts" || itemType === "wfs") {
624
+ isHosted = typeKeywords.indexOf("Hosted Service") > -1;
625
+ if (itemType === "feature service" || itemType === "feature collection" || itemType === "kml" || itemType === "wfs") {
626
+ isTable = typeKeywords.indexOf("Table") > -1;
627
+ isRouteLayer = typeKeywords.indexOf("Route Layer") > -1;
628
+ isMarkupLayer = typeKeywords.indexOf("Markup") > -1;
629
+ isSpatiotemporal = typeKeywords.indexOf("Spatiotemporal") !== -1;
630
+ imgName = isSpatiotemporal && isTable ? "spatiotemporaltable" : (isTable ? "table" : (isRouteLayer ? "routelayer" : (isMarkupLayer ? "markup" : (isSpatiotemporal ? "spatiotemporal" : (isHosted ? "featureshosted" : "features")))));
631
+ }
632
+ else if (itemType === "map service" || itemType === "wms" || itemType === "wmts") {
633
+ isSpatiotemporal = typeKeywords.indexOf("Spatiotemporal") !== -1;
634
+ isRelational = typeKeywords.indexOf("Relational") !== -1;
635
+ if (isSpatiotemporal || isRelational) {
636
+ imgName = "mapimages";
637
+ }
638
+ else {
639
+ imgName = (isHosted || typeKeywords.indexOf("Tiled") > -1 || itemType === "wmts") ? "maptiles" : "mapimages";
640
+ }
641
+ }
642
+ else if (itemType === "scene service") {
643
+ if (typeKeywords.indexOf("Line") > -1) {
644
+ imgName = "sceneweblayerline";
645
+ }
646
+ else if (typeKeywords.indexOf("3DObject") > -1) {
647
+ imgName = "sceneweblayermultipatch";
648
+ }
649
+ else if (typeKeywords.indexOf("Point") > -1) {
650
+ imgName = "sceneweblayerpoint";
651
+ }
652
+ else if (typeKeywords.indexOf("IntegratedMesh") > -1) {
653
+ imgName = "sceneweblayermesh";
654
+ }
655
+ else if (typeKeywords.indexOf("PointCloud") > -1) {
656
+ imgName = "sceneweblayerpointcloud";
657
+ }
658
+ else if (typeKeywords.indexOf("Polygon") > -1) {
659
+ imgName = "sceneweblayerpolygon";
660
+ }
661
+ else if (typeKeywords.indexOf("Building") > -1) {
662
+ imgName = "sceneweblayerbuilding";
663
+ }
664
+ else {
665
+ imgName = "sceneweblayer";
666
+ }
667
+ }
668
+ else if (itemType === "image service") {
669
+ imgName = typeKeywords.indexOf("Elevation 3D Layer") > -1 ? "elevationlayer" : (typeKeywords.indexOf("Tiled Imagery") > -1 ? "tiledimagerylayer" : "imagery");
670
+ }
671
+ else if (itemType === "stream service") {
672
+ imgName = "streamlayer";
673
+ }
674
+ else if (itemType === "vector tile service") {
675
+ imgName = "vectortile";
676
+ }
677
+ else if (itemType === "datastore catalog service") {
678
+ imgName = "datastorecollection";
679
+ }
680
+ else if (itemType === "geocoding service") {
681
+ imgName = "geocodeservice";
682
+ }
683
+ else if (itemType === "geoprocessing service") {
684
+ imgName = (typeKeywords.indexOf("Web Tool") > -1 && (this.isPortal)) ? "tool" : "layers";
685
+ }
686
+ else {
687
+ imgName = "layers";
688
+ }
689
+ }
690
+ else if (itemType === "web map" || itemType === "cityengine web scene") {
691
+ imgName = "maps";
692
+ }
693
+ else if (itemType === "web scene") {
694
+ imgName = typeKeywords.indexOf("ViewingMode-Local") > -1 ? "webscenelocal" : "websceneglobal";
695
+ }
696
+ else if (itemType === "web mapping application" || itemType === "mobile application" || itemType === "application" ||
697
+ itemType === "operation view" || itemType === "desktop application") {
698
+ imgName = "apps";
699
+ }
700
+ else if (itemType === "map document" || itemType === "map package" || itemType === "published map" || itemType === "scene document" ||
701
+ itemType === "globe document" || itemType === "basemap package" || itemType === "mobile basemap package" || itemType === "mobile map package" ||
702
+ itemType === "project package" || itemType === "project template" || itemType === "pro map" || itemType === "layout" ||
703
+ (itemType === "layer" && typeKeywords.indexOf("ArcGIS Pro") > -1) || (itemType === "explorer map" && typeKeywords.indexOf("Explorer Document"))) {
704
+ imgName = "mapsgray";
705
+ }
706
+ else if (itemType === "service definition" || itemType === "csv" || itemType === "shapefile" || itemType === "cad drawing" || itemType === "geojson" || itemType === "360 vr experience" || itemType === "netcdf" || itemType === "administrative report") {
707
+ imgName = "datafiles";
708
+ }
709
+ else if (itemType === "explorer add in" || itemType === "desktop add in" || itemType === "windows viewer add in" || itemType === "windows viewer configuration") {
710
+ imgName = "appsgray";
711
+ }
712
+ else if (itemType === "arcgis pro add in" || itemType === "arcgis pro configuration") {
713
+ imgName = "addindesktop";
714
+ }
715
+ else if (itemType === "rule package" || itemType === "file geodatabase" || itemType === "sqlite geodatabase" || itemType === "csv collection" || itemType === "kml collection" ||
716
+ itemType === "windows mobile package" || itemType === "map template" || itemType === "desktop application template" || itemType === "gml" ||
717
+ itemType === "arcpad package" || itemType === "code sample" || itemType === "form" || itemType === "document link" ||
718
+ itemType === "operations dashboard add in" || itemType === "rules package" || itemType === "image" || itemType === "workflow manager package" ||
719
+ (itemType === "explorer map" && typeKeywords.indexOf("Explorer Mapping Application") > -1 || typeKeywords.indexOf("Document") > -1)) {
720
+ imgName = "datafilesgray";
721
+ }
722
+ else if (itemType === "network analysis service" || itemType === "geoprocessing service" ||
723
+ itemType === "geodata service" || itemType === "geometry service" || itemType === "geoprocessing package" ||
724
+ itemType === "locator package" || itemType === "geoprocessing sample" || itemType === "workflow manager service") {
725
+ imgName = "toolsgray";
726
+ }
727
+ else if (itemType === "layer" || itemType === "layer package" || itemType === "explorer layer") {
728
+ imgName = "layersgray";
729
+ }
730
+ else if (itemType === "scene package") {
731
+ imgName = "scenepackage";
732
+ }
733
+ else if (itemType === "mobile scene package") {
734
+ imgName = "mobilescenepackage";
735
+ }
736
+ else if (itemType === "tile package" || itemType === "compact tile package") {
737
+ imgName = "tilepackage";
738
+ }
739
+ else if (itemType === "task file") {
740
+ imgName = "taskfile";
741
+ }
742
+ else if (itemType === "report template") {
743
+ imgName = "report-template";
744
+ }
745
+ else if (itemType === "statistical data collection") {
746
+ imgName = "statisticaldatacollection";
747
+ }
748
+ else if (itemType === "insights workbook") {
749
+ imgName = "workbook";
750
+ }
751
+ else if (itemType === "insights model") {
752
+ imgName = "insightsmodel";
753
+ }
754
+ else if (itemType === "insights page") {
755
+ imgName = "insightspage";
756
+ }
757
+ else if (itemType === "insights theme") {
758
+ imgName = "insightstheme";
759
+ }
760
+ else if (itemType === "hub initiative") {
761
+ imgName = "hubinitiative";
762
+ }
763
+ else if (itemType === "hub page") {
764
+ imgName = "hubpage";
765
+ }
766
+ else if (itemType === "hub site application") {
767
+ imgName = "hubsite";
768
+ }
769
+ else if (itemType === "hub event") {
770
+ imgName = "hubevent";
771
+ }
772
+ else if (itemType === "relational database connection") {
773
+ imgName = "relationaldatabaseconnection";
774
+ }
775
+ else if (itemType === "big data file share") {
776
+ imgName = "datastorecollection";
777
+ }
778
+ else if (itemType === "image collection") {
779
+ imgName = "imagecollection";
780
+ }
781
+ else if (itemType === "desktop style") {
782
+ imgName = "desktopstyle";
783
+ }
784
+ else if (itemType === "style") {
785
+ imgName = "style";
786
+ }
787
+ else if (itemType === "dashboard") {
788
+ imgName = "dashboard";
789
+ }
790
+ else if (itemType === "raster function template") {
791
+ imgName = "rasterprocessingtemplate";
792
+ }
793
+ else if (itemType === "vector tile package") {
794
+ imgName = "vectortilepackage";
795
+ }
796
+ else if (itemType === "ortho mapping project") {
797
+ imgName = "orthomappingproject";
798
+ }
799
+ else if (itemType === "ortho mapping template") {
800
+ imgName = "orthomappingtemplate";
801
+ }
802
+ else if (itemType === "solution") {
803
+ imgName = "solutions";
804
+ }
805
+ else if (itemType === "geopackage") {
806
+ imgName = "geopackage";
807
+ }
808
+ else if (itemType === "deep learning package") {
809
+ imgName = "deeplearningpackage";
810
+ }
811
+ else if (itemType === "real time analytic") {
812
+ imgName = "realtimeanalytics";
813
+ }
814
+ else if (itemType === "big data analytic") {
815
+ imgName = "bigdataanalytics";
816
+ }
817
+ else if (itemType === "feed") {
818
+ imgName = "feed";
819
+ }
820
+ else if (itemType === "excalibur imagery project") {
821
+ imgName = "excaliburimageryproject";
822
+ }
823
+ else if (itemType === "notebook") {
824
+ imgName = "notebook";
825
+ }
826
+ else if (itemType === "storymap") {
827
+ imgName = "storymap";
828
+ }
829
+ else if (itemType === "survey123 add in") {
830
+ imgName = "survey123addin";
831
+ }
832
+ else if (itemType === "mission") {
833
+ imgName = "mission";
834
+ }
835
+ else if (itemType === "mission report") {
836
+ imgName = "missionreport";
837
+ }
838
+ else if (itemType === "quickcapture project") {
839
+ imgName = "quickcaptureproject";
840
+ }
841
+ else if (itemType === "pro report") {
842
+ imgName = "proreport";
843
+ }
844
+ else if (itemType === "urban model") {
845
+ imgName = "urbanmodel";
846
+ }
847
+ else if (itemType === "web experience") {
848
+ imgName = "experiencebuilder";
849
+ }
850
+ else if (itemType === "web experience template") {
851
+ imgName = "webexperiencetemplate";
852
+ }
853
+ else if (itemType === "workflow") {
854
+ imgName = "workflow";
855
+ }
856
+ else if (itemType === "kernel gateway connection") {
857
+ imgName = "kernelgatewayconnection";
858
+ }
859
+ else if (itemType === "insights script") {
860
+ imgName = "insightsscript";
861
+ }
862
+ else if (itemType === "hub initiative template") {
863
+ imgName = "hubinitiativetemplate";
864
+ }
865
+ else if (itemType === "storymap theme") {
866
+ imgName = "storymaptheme";
867
+ }
868
+ else if (itemType === "group") {
869
+ imgName = "group";
870
+ }
871
+ else {
872
+ imgName = "maps";
873
+ }
874
+ return imgName ? getAssetPath(imgDir + imgName + size + ".png") : null;
875
+ }
876
+ static get assetsDirs() { return ["item-icons"]; }
877
+ get el() { return getElement(this); }
878
+ };
879
+ SolutionItemIcon.style = solutionItemIconCss;
880
+
881
+ export { Tree as calcite_tree, TreeItem as calcite_tree_item, SolutionItemIcon as solution_item_icon };