@esri/solutions-components 0.6.8 → 0.6.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (789) hide show
  1. package/dist/assets/t9n/crowdsource-manager/resources.json +2 -1
  2. package/dist/assets/t9n/crowdsource-manager/resources_en.json +2 -1
  3. package/dist/assets/t9n/info-card/resources.json +5 -2
  4. package/dist/assets/t9n/info-card/resources_en.json +5 -2
  5. package/dist/assets/t9n/layer-table/resources.json +2 -1
  6. package/dist/assets/t9n/layer-table/resources_en.json +2 -1
  7. package/dist/assets/t9n/map-tools/resources.json +1 -4
  8. package/dist/assets/t9n/map-tools/resources_en.json +1 -4
  9. package/dist/cjs/{ExpandToggle-e6a0d66e.js → ExpandToggle-c5690e14.js} +5 -5
  10. package/dist/cjs/{FloatingArrow-0119ec6e.js → FloatingArrow-675171a6.js} +1 -1
  11. package/dist/cjs/{Heading-521f39ac.js → Heading-3712677d.js} +1 -1
  12. package/dist/cjs/{app-globals-72576a1c.js → app-globals-a62ad1ad.js} +3 -3
  13. package/dist/cjs/{ar-1718ae57.js → ar-1dc23c0a.js} +14 -14
  14. package/dist/cjs/{array-46bb7df1.js → array-2db3fd4a.js} +1 -1
  15. package/dist/cjs/{basemap-gallery_4.cjs.entry.js → basemap-gallery_5.cjs.entry.js} +120 -66
  16. package/dist/cjs/{bg-190a176c.js → bg-4024b354.js} +14 -14
  17. package/dist/cjs/{bs-919e0de8.js → bs-3134d711.js} +14 -14
  18. package/dist/cjs/buffer-tools_4.cjs.entry.js +15 -15
  19. package/dist/cjs/{ca-94918e06.js → ca-8d6647d3.js} +14 -14
  20. package/dist/cjs/calcite-accordion-item.cjs.entry.js +7 -12
  21. package/dist/cjs/calcite-accordion.cjs.entry.js +1 -6
  22. package/dist/cjs/calcite-action-bar.cjs.entry.js +31 -26
  23. package/dist/cjs/calcite-action-group_2.cjs.entry.js +18 -20
  24. package/dist/cjs/calcite-action-pad.cjs.entry.js +20 -16
  25. package/dist/cjs/calcite-action_2.cjs.entry.js +17 -22
  26. package/dist/cjs/calcite-alert.cjs.entry.js +11 -11
  27. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  28. package/dist/cjs/calcite-block-section.cjs.entry.js +9 -9
  29. package/dist/cjs/calcite-block.cjs.entry.js +12 -12
  30. package/dist/cjs/calcite-button.cjs.entry.js +12 -12
  31. package/dist/cjs/calcite-card.cjs.entry.js +9 -9
  32. package/dist/cjs/calcite-checkbox.cjs.entry.js +8 -13
  33. package/dist/cjs/calcite-chip-group.cjs.entry.js +6 -11
  34. package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
  35. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
  36. package/dist/cjs/calcite-color-picker.cjs.entry.js +12 -12
  37. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +5 -5
  38. package/dist/cjs/calcite-combobox_6.cjs.entry.js +21 -26
  39. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +10 -10
  40. package/dist/cjs/calcite-date-picker.cjs.entry.js +11 -11
  41. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  42. package/dist/cjs/calcite-filter_5.cjs.entry.js +16 -16
  43. package/dist/cjs/calcite-flow-item.cjs.entry.js +11 -11
  44. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  45. package/dist/cjs/calcite-graph.cjs.entry.js +5 -10
  46. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  47. package/dist/cjs/calcite-inline-editable.cjs.entry.js +11 -11
  48. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +17 -17
  49. package/dist/cjs/calcite-input-number_2.cjs.entry.js +13 -13
  50. package/dist/cjs/{calcite-input-time-picker-b99baf7b.js → calcite-input-time-picker-4efcd55d.js} +60 -60
  51. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +14 -14
  52. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +12 -12
  53. package/dist/cjs/calcite-input_2.cjs.entry.js +12 -12
  54. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  55. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  56. package/dist/cjs/calcite-list-item-group.cjs.entry.js +3 -3
  57. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  58. package/dist/cjs/calcite-menu-item.cjs.entry.js +9 -9
  59. package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
  60. package/dist/cjs/calcite-modal.cjs.entry.js +12 -12
  61. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
  62. package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
  63. package/dist/cjs/calcite-navigation.cjs.entry.js +5 -5
  64. package/dist/cjs/calcite-notice.cjs.entry.js +11 -11
  65. package/dist/cjs/calcite-option_2.cjs.entry.js +9 -9
  66. package/dist/cjs/calcite-pagination.cjs.entry.js +9 -9
  67. package/dist/cjs/calcite-panel_2.cjs.entry.js +14 -14
  68. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
  69. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +12 -12
  70. package/dist/cjs/calcite-pick-list.cjs.entry.js +10 -10
  71. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -7
  72. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
  73. package/dist/cjs/calcite-rating.cjs.entry.js +12 -12
  74. package/dist/cjs/calcite-scrim.cjs.entry.js +8 -8
  75. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +8 -8
  76. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
  77. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +29 -32
  78. package/dist/cjs/calcite-sortable-list.cjs.entry.js +7 -7
  79. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  80. package/dist/cjs/calcite-stepper-item.cjs.entry.js +8 -8
  81. package/dist/cjs/calcite-stepper.cjs.entry.js +3 -8
  82. package/dist/cjs/calcite-switch.cjs.entry.js +8 -8
  83. package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
  84. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +1 -1
  85. package/dist/cjs/calcite-tile-select.cjs.entry.js +4 -4
  86. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  87. package/dist/cjs/calcite-time-picker.cjs.entry.js +10 -10
  88. package/dist/cjs/calcite-tip-manager.cjs.entry.js +9 -9
  89. package/dist/cjs/calcite-tip.cjs.entry.js +10 -10
  90. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  91. package/dist/cjs/calcite-tree_3.cjs.entry.js +8 -8
  92. package/dist/cjs/{card-manager_4.cjs.entry.js → card-manager_3.cjs.entry.js} +65 -101
  93. package/dist/cjs/{conditionalSlot-85b3a6b3.js → conditionalSlot-126d557f.js} +2 -2
  94. package/dist/cjs/crowdsource-manager.cjs.entry.js +50 -16
  95. package/dist/cjs/{cs-fe27e732.js → cs-b24cd994.js} +14 -14
  96. package/dist/cjs/{da-1b7f3440.js → da-9dee3a1f.js} +14 -14
  97. package/dist/cjs/{date-cec32b0e.js → date-0fec6f6b.js} +2 -2
  98. package/dist/cjs/{de-0dc1effa.js → de-1a98b964.js} +14 -14
  99. package/dist/cjs/{de-at-acdc4d01.js → de-at-782e6c7f.js} +14 -14
  100. package/dist/cjs/{de-ch-778a0d99.js → de-ch-d5c95469.js} +14 -14
  101. package/dist/cjs/{dom-c1807fc1.js → dom-456f9f13.js} +3 -3
  102. package/dist/cjs/{downloadUtils-a8c530f7.js → downloadUtils-471a6a2d.js} +258 -265
  103. package/dist/cjs/edit-card_2.cjs.entry.js +38 -5
  104. package/dist/cjs/{el-fdbc9bc1.js → el-af28cafa.js} +14 -14
  105. package/dist/cjs/{en-au-0ff50cdf.js → en-au-109f3119.js} +14 -14
  106. package/dist/cjs/{en-ca-284e9368.js → en-ca-22890a25.js} +14 -14
  107. package/dist/cjs/{en-gb-0fcae8ae.js → en-gb-dc23c9dd.js} +14 -14
  108. package/dist/cjs/{es-cd54acba.js → es-3f353355.js} +14 -14
  109. package/dist/cjs/{es-mx-2078d50f.js → es-mx-ccb57857.js} +14 -14
  110. package/dist/cjs/{et-17f323f6.js → et-119c047b.js} +14 -14
  111. package/dist/cjs/{fi-82f27397.js → fi-13096d81.js} +14 -14
  112. package/dist/cjs/{filter-bda212b4.js → filter-8d8c453e.js} +1 -1
  113. package/dist/cjs/{floating-ui-8d10af88.js → floating-ui-2b0fbba0.js} +2 -2
  114. package/dist/cjs/{focusTrapComponent-a22fc6a8.js → focusTrapComponent-d8412ddc.js} +4 -4
  115. package/dist/cjs/{form-9d8ebf06.js → form-7c6054c3.js} +2 -2
  116. package/dist/cjs/{fr-af7e1192.js → fr-563dfcd5.js} +14 -14
  117. package/dist/cjs/{fr-ch-5e1f2c28.js → fr-ch-f66cfd49.js} +14 -14
  118. package/dist/cjs/{guid-3abe3cc6.js → guid-d1123d5e.js} +1 -1
  119. package/dist/cjs/{he-ea851800.js → he-d8253a1a.js} +14 -14
  120. package/dist/cjs/{hi-5212a21d.js → hi-58c7c3b5.js} +14 -14
  121. package/dist/cjs/{hr-4eecb2ed.js → hr-5aba114a.js} +14 -14
  122. package/dist/cjs/{hu-6b527d8e.js → hu-38c15915.js} +14 -14
  123. package/dist/cjs/{id-d78f12ec.js → id-3a94c080.js} +14 -14
  124. package/dist/cjs/{index.es-4542630e.js → index.es-33154f03.js} +3 -3
  125. package/dist/cjs/{interactive-2fe0f43a.js → interactive-48299817.js} +2 -2
  126. package/dist/cjs/{it-15242935.js → it-88834555.js} +14 -14
  127. package/dist/cjs/{it-ch-9dc21944.js → it-ch-970563cd.js} +14 -14
  128. package/dist/cjs/{ja-f702cfc2.js → ja-13d4b1ae.js} +14 -14
  129. package/dist/cjs/{key-b8b55ea3.js → key-8de93212.js} +1 -1
  130. package/dist/cjs/{ko-aa9bde2c.js → ko-10cbdd98.js} +14 -14
  131. package/dist/cjs/{label-6e33e971.js → label-166e2d81.js} +3 -3
  132. package/dist/cjs/layout-manager.cjs.entry.js +93 -0
  133. package/dist/cjs/{loadModules-31cab7ac.js → loadModules-c5490589.js} +1 -1
  134. package/dist/cjs/{loadable-bac9cdd6.js → loadable-6925d840.js} +1 -1
  135. package/dist/cjs/loader.cjs.js +3 -3
  136. package/dist/cjs/{locale-c63a1b57.js → locale-79c3d30e.js} +5 -5
  137. package/dist/cjs/{locale-d15cd743.js → locale-88c21da2.js} +15 -15
  138. package/dist/cjs/{lt-e741ff2f.js → lt-3fc5017a.js} +14 -14
  139. package/dist/cjs/{lv-92d6768e.js → lv-9d9cf999.js} +14 -14
  140. package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
  141. package/dist/cjs/{math-5132d9bd.js → math-f28069f3.js} +1 -1
  142. package/dist/cjs/{mk-b209ac0d.js → mk-9f79812b.js} +14 -14
  143. package/dist/cjs/{nb-db13e666.js → nb-673fe3fd.js} +14 -14
  144. package/dist/cjs/{nl-fcd9e0c5.js → nl-4dc0504f.js} +14 -14
  145. package/dist/cjs/{observers-f5fa975b.js → observers-9912f013.js} +1 -1
  146. package/dist/cjs/{openCloseComponent-5d70fcd8.js → openCloseComponent-05cb01ff.js} +9 -4
  147. package/dist/cjs/{pl-87c83322.js → pl-d809a6c3.js} +14 -14
  148. package/dist/cjs/{pt-b0b5f472.js → pt-78eefbc7.js} +14 -14
  149. package/dist/cjs/{pt-br-03333e90.js → pt-br-55f1893a.js} +14 -14
  150. package/dist/cjs/public-notification.cjs.entry.js +3 -3
  151. package/dist/cjs/{resources-60c27547.js → resources-030a27ed.js} +1 -1
  152. package/dist/cjs/{resources-91409a5d.js → resources-10d29626.js} +1 -1
  153. package/dist/cjs/{resources-9f2b33ee.js → resources-24b6eee0.js} +1 -1
  154. package/dist/cjs/{resources-4da89742.js → resources-2b51cf4c.js} +1 -1
  155. package/dist/cjs/{resources-e1258e8a.js → resources-8f4e8ba8.js} +1 -1
  156. package/dist/cjs/{resources-77713c2e.js → resources-993f6faf.js} +1 -1
  157. package/dist/cjs/{resources-2901b608.js → resources-a2e2a544.js} +1 -1
  158. package/dist/cjs/{resources-c913200c.js → resources-acf9a7ea.js} +1 -1
  159. package/dist/cjs/{resources-8233a151.js → resources-caca31c2.js} +1 -1
  160. package/dist/cjs/{ro-c3661b73.js → ro-f0cff196.js} +14 -14
  161. package/dist/cjs/{ru-8dd3fd58.js → ru-5e9b37f9.js} +14 -14
  162. package/dist/cjs/{shared-list-render-c0adb192.js → shared-list-render-9bbcb306.js} +6 -6
  163. package/dist/cjs/{sk-151d9acf.js → sk-322cd349.js} +14 -14
  164. package/dist/cjs/{sl-9b45a152.js → sl-fd948e50.js} +14 -14
  165. package/dist/cjs/solution-configuration.cjs.entry.js +1 -1
  166. package/dist/cjs/solution-contents_3.cjs.entry.js +1 -1
  167. package/dist/cjs/solutions-components.cjs.js +3 -3
  168. package/dist/cjs/{sortableComponent-58679f07.js → sortableComponent-70bf79de.js} +2 -2
  169. package/dist/cjs/{sr-186bf15c.js → sr-f0058b24.js} +14 -14
  170. package/dist/cjs/{sv-a93fee0c.js → sv-8a8378bf.js} +14 -14
  171. package/dist/cjs/{t9n-1d032c30.js → t9n-62d807df.js} +2 -2
  172. package/dist/cjs/{th-41680352.js → th-f219fad6.js} +14 -14
  173. package/dist/cjs/{time-5e450ec8.js → time-24d40c60.js} +2 -2
  174. package/dist/cjs/{tr-0bd886d6.js → tr-03109641.js} +14 -14
  175. package/dist/cjs/{uk-4fade133.js → uk-dde46112.js} +14 -14
  176. package/dist/cjs/{utils-cd14113f.js → utils-09191c93.js} +2 -2
  177. package/dist/cjs/{utils-acfeed9d.js → utils-651e6663.js} +3 -3
  178. package/dist/cjs/{utils-ae9bdd59.js → utils-852fe124.js} +3 -3
  179. package/dist/cjs/{utils-bae432a9.js → utils-a194dc3d.js} +5 -2
  180. package/dist/cjs/{vi-1c9fe343.js → vi-60ed6e30.js} +14 -14
  181. package/dist/cjs/{zh-cn-28fa1fe1.js → zh-cn-a2f6f51d.js} +14 -14
  182. package/dist/cjs/{zh-hk-5abf8eb5.js → zh-hk-e14e2fc0.js} +14 -14
  183. package/dist/cjs/{zh-tw-07500357.js → zh-tw-7ea0d7e4.js} +14 -14
  184. package/dist/collection/collection-manifest.json +1 -0
  185. package/dist/collection/components/card-manager/card-manager.js +1 -1
  186. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +23 -2
  187. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +49 -32
  188. package/dist/collection/components/info-card/info-card.css +27 -0
  189. package/dist/collection/components/info-card/info-card.js +36 -2
  190. package/dist/collection/components/layer-table/layer-table.css +20 -0
  191. package/dist/collection/components/layer-table/layer-table.js +65 -10
  192. package/dist/collection/components/map-card/map-card.css +0 -7
  193. package/dist/collection/components/map-card/map-card.js +20 -10
  194. package/dist/collection/components/map-legend/map-legend.css +3 -0
  195. package/dist/collection/components/map-legend/map-legend.js +166 -0
  196. package/dist/collection/components/map-legend/test/map-legend.e2e.js +14 -0
  197. package/dist/collection/components/map-legend/test/map-legend.spec.js +22 -0
  198. package/dist/collection/components/map-picker/map-picker.css +5 -1
  199. package/dist/collection/components/map-picker/map-picker.js +2 -2
  200. package/dist/collection/components/map-tools/map-tools.css +14 -0
  201. package/dist/collection/components/map-tools/map-tools.js +26 -62
  202. package/dist/collection/demos/crowdsource-manager.html +26 -1
  203. package/dist/collection/utils/downloadUtils.js +258 -232
  204. package/dist/collection/utils/downloadUtils.ts +358 -326
  205. package/dist/collection/utils/interfaces.ts +11 -0
  206. package/dist/collection/utils/test/downloadUtils.spec.js +503 -57
  207. package/dist/collection/utils/test/downloadUtils.spec.tsx +587 -61
  208. package/dist/components/ExpandToggle.js +2 -2
  209. package/dist/components/FloatingArrow.js +1 -1
  210. package/dist/components/Heading.js +1 -1
  211. package/dist/components/action-bar.js +23 -15
  212. package/dist/components/action-group.js +9 -10
  213. package/dist/components/action-menu.js +1 -1
  214. package/dist/components/action.js +1 -1
  215. package/dist/components/alert.js +2 -2
  216. package/dist/components/array.js +1 -1
  217. package/dist/components/avatar.js +2 -2
  218. package/dist/components/button.js +1 -1
  219. package/dist/components/calcite-accordion-item.js +2 -7
  220. package/dist/components/calcite-accordion.js +0 -5
  221. package/dist/components/calcite-action-pad.js +10 -5
  222. package/dist/components/calcite-block-section.js +2 -2
  223. package/dist/components/calcite-block.js +2 -2
  224. package/dist/components/calcite-card.js +1 -1
  225. package/dist/components/calcite-chip-group.js +0 -5
  226. package/dist/components/calcite-combobox-item-group.js +1 -1
  227. package/dist/components/calcite-fab.js +1 -1
  228. package/dist/components/calcite-flow-item.js +1 -1
  229. package/dist/components/calcite-flow.js +1 -1
  230. package/dist/components/calcite-inline-editable.js +1 -1
  231. package/dist/components/calcite-input-date-picker.js +1 -1
  232. package/dist/components/calcite-input-time-picker.js +1 -1
  233. package/dist/components/calcite-input-time-zone.js +1 -1
  234. package/dist/components/calcite-list-item-group.js +1 -1
  235. package/dist/components/calcite-menu-item.js +1 -1
  236. package/dist/components/calcite-modal.js +2 -2
  237. package/dist/components/calcite-navigation-logo.js +1 -1
  238. package/dist/components/calcite-navigation-user.js +1 -1
  239. package/dist/components/calcite-navigation.js +2 -2
  240. package/dist/components/calcite-pagination.js +1 -1
  241. package/dist/components/calcite-radio-button-group.js +0 -5
  242. package/dist/components/calcite-radio-button.js +1 -1
  243. package/dist/components/calcite-rating.js +1 -1
  244. package/dist/components/calcite-shell-center-row.js +1 -1
  245. package/dist/components/calcite-sortable-list.js +1 -1
  246. package/dist/components/calcite-split-button.js +1 -1
  247. package/dist/components/calcite-stepper.js +0 -5
  248. package/dist/components/calcite-text-area.js +5 -5
  249. package/dist/components/calcite-tile-select.js +1 -1
  250. package/dist/components/calcite-tip-manager.js +1 -1
  251. package/dist/components/calcite-tip.js +1 -1
  252. package/dist/components/card-manager2.js +1 -1
  253. package/dist/components/checkbox.js +0 -5
  254. package/dist/components/chip.js +2 -2
  255. package/dist/components/color-picker-hex-input.js +2 -2
  256. package/dist/components/color-picker-swatch.js +1 -1
  257. package/dist/components/combobox-item.js +1 -1
  258. package/dist/components/combobox.js +1 -6
  259. package/dist/components/conditionalSlot.js +1 -1
  260. package/dist/components/crowdsource-manager.js +57 -23
  261. package/dist/components/date-picker-month-header.js +1 -1
  262. package/dist/components/date-picker.js +2 -2
  263. package/dist/components/date.js +1 -1
  264. package/dist/components/dom.js +2 -2
  265. package/dist/components/downloadUtils.js +256 -263
  266. package/dist/components/dropdown-group.js +1 -1
  267. package/dist/components/dropdown-item.js +1 -1
  268. package/dist/components/dropdown.js +1 -1
  269. package/dist/components/esri-loader.js +15 -15
  270. package/dist/components/filter.js +1 -1
  271. package/dist/components/filter2.js +1 -1
  272. package/dist/components/floating-ui.js +1 -1
  273. package/dist/components/focusTrapComponent.js +4 -4
  274. package/dist/components/form.js +1 -1
  275. package/dist/components/graph.js +3 -8
  276. package/dist/components/guid.js +1 -1
  277. package/dist/components/handle.js +1 -1
  278. package/dist/components/icon.js +2 -2
  279. package/dist/components/index.js +2 -2
  280. package/dist/components/info-card2.js +37 -3
  281. package/dist/components/input-message.js +1 -1
  282. package/dist/components/input-number.js +1 -1
  283. package/dist/components/input-text.js +1 -1
  284. package/dist/components/input.js +1 -1
  285. package/dist/components/interactive.js +2 -2
  286. package/dist/components/key.js +1 -1
  287. package/dist/components/label.js +2 -2
  288. package/dist/components/label2.js +1 -1
  289. package/dist/components/layer-table2.js +46 -11
  290. package/dist/components/layout-manager.js +129 -1
  291. package/dist/components/list-item2.js +1 -1
  292. package/dist/components/list.js +2 -2
  293. package/dist/components/loadable.js +1 -1
  294. package/dist/components/locale2.js +2 -2
  295. package/dist/components/map-card2.js +57 -42
  296. package/dist/components/map-legend.d.ts +11 -0
  297. package/dist/components/map-legend.js +11 -0
  298. package/dist/components/map-legend2.js +118 -0
  299. package/dist/components/map-picker2.js +3 -3
  300. package/dist/components/map-tools2.js +49 -79
  301. package/dist/components/math.js +1 -1
  302. package/dist/components/menu.js +1 -1
  303. package/dist/components/notice.js +1 -1
  304. package/dist/components/observers.js +1 -1
  305. package/dist/components/openCloseComponent.js +9 -4
  306. package/dist/components/panel.js +2 -2
  307. package/dist/components/pick-list-item.js +1 -1
  308. package/dist/components/popover.js +3 -8
  309. package/dist/components/resources.js +1 -1
  310. package/dist/components/resources2.js +1 -1
  311. package/dist/components/resources3.js +1 -1
  312. package/dist/components/resources4.js +1 -1
  313. package/dist/components/scrim.js +1 -1
  314. package/dist/components/segmented-control-item.js +1 -1
  315. package/dist/components/select.js +1 -1
  316. package/dist/components/shared-list-render.js +2 -2
  317. package/dist/components/shell-panel.js +9 -6
  318. package/dist/components/shell.js +2 -2
  319. package/dist/components/slider.js +1 -1
  320. package/dist/components/sortableComponent.js +1 -1
  321. package/dist/components/stack.js +2 -2
  322. package/dist/components/t9n.js +1 -1
  323. package/dist/components/tab-title.js +1 -6
  324. package/dist/components/tabs.js +1 -1
  325. package/dist/components/tile.js +1 -1
  326. package/dist/components/time-picker.js +2 -2
  327. package/dist/components/tooltip.js +3 -3
  328. package/dist/components/tree-item.js +2 -2
  329. package/dist/components/tree.js +1 -1
  330. package/dist/components/utils.js +5 -2
  331. package/dist/components/utils2.js +2 -2
  332. package/dist/components/utils3.js +2 -2
  333. package/dist/components/value-list-item.js +1 -1
  334. package/dist/components/value-list.js +2 -2
  335. package/dist/esm/{ExpandToggle-3d10bd1e.js → ExpandToggle-3bfcb842.js} +5 -5
  336. package/dist/esm/{FloatingArrow-29db6da6.js → FloatingArrow-cf140d6b.js} +1 -1
  337. package/dist/esm/{Heading-cb79e5b2.js → Heading-140d10ff.js} +1 -1
  338. package/dist/esm/{app-globals-5cbac6b0.js → app-globals-fffe4e27.js} +3 -3
  339. package/dist/esm/{ar-4b751ba8.js → ar-45abeb31.js} +14 -14
  340. package/dist/esm/{array-751a2b87.js → array-d95985ad.js} +1 -1
  341. package/dist/esm/{basemap-gallery_4.entry.js → basemap-gallery_5.entry.js} +120 -67
  342. package/dist/esm/{bg-5d8bf5ea.js → bg-af759e86.js} +14 -14
  343. package/dist/esm/{bs-ff510e71.js → bs-20d012de.js} +14 -14
  344. package/dist/esm/buffer-tools_4.entry.js +15 -15
  345. package/dist/esm/{ca-b9a5e51a.js → ca-1498df65.js} +14 -14
  346. package/dist/esm/calcite-accordion-item.entry.js +7 -12
  347. package/dist/esm/calcite-accordion.entry.js +1 -6
  348. package/dist/esm/calcite-action-bar.entry.js +31 -26
  349. package/dist/esm/calcite-action-group_2.entry.js +18 -20
  350. package/dist/esm/calcite-action-pad.entry.js +20 -16
  351. package/dist/esm/calcite-action_2.entry.js +17 -22
  352. package/dist/esm/calcite-alert.entry.js +11 -11
  353. package/dist/esm/calcite-avatar.entry.js +6 -6
  354. package/dist/esm/calcite-block-section.entry.js +9 -9
  355. package/dist/esm/calcite-block.entry.js +12 -12
  356. package/dist/esm/calcite-button.entry.js +12 -12
  357. package/dist/esm/calcite-card.entry.js +9 -9
  358. package/dist/esm/calcite-checkbox.entry.js +8 -13
  359. package/dist/esm/calcite-chip-group.entry.js +6 -11
  360. package/dist/esm/calcite-chip.entry.js +11 -11
  361. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
  362. package/dist/esm/calcite-color-picker.entry.js +12 -12
  363. package/dist/esm/calcite-combobox-item-group.entry.js +5 -5
  364. package/dist/esm/calcite-combobox_6.entry.js +21 -26
  365. package/dist/esm/calcite-date-picker-day_3.entry.js +10 -10
  366. package/dist/esm/calcite-date-picker.entry.js +11 -11
  367. package/dist/esm/calcite-fab.entry.js +6 -6
  368. package/dist/esm/calcite-filter_5.entry.js +16 -16
  369. package/dist/esm/calcite-flow-item.entry.js +11 -11
  370. package/dist/esm/calcite-flow.entry.js +3 -3
  371. package/dist/esm/calcite-graph.entry.js +5 -10
  372. package/dist/esm/calcite-icon.entry.js +6 -6
  373. package/dist/esm/calcite-inline-editable.entry.js +11 -11
  374. package/dist/esm/calcite-input-date-picker.entry.js +17 -17
  375. package/dist/esm/calcite-input-number_2.entry.js +13 -13
  376. package/dist/esm/{calcite-input-time-picker-13448515.js → calcite-input-time-picker-227e60c3.js} +60 -60
  377. package/dist/esm/calcite-input-time-picker.entry.js +14 -14
  378. package/dist/esm/calcite-input-time-zone.entry.js +12 -12
  379. package/dist/esm/calcite-input_2.entry.js +12 -12
  380. package/dist/esm/calcite-label.entry.js +5 -5
  381. package/dist/esm/calcite-link.entry.js +5 -5
  382. package/dist/esm/calcite-list-item-group.entry.js +3 -3
  383. package/dist/esm/calcite-loader.entry.js +1 -1
  384. package/dist/esm/calcite-menu-item.entry.js +9 -9
  385. package/dist/esm/calcite-menu.entry.js +9 -9
  386. package/dist/esm/calcite-modal.entry.js +12 -12
  387. package/dist/esm/calcite-navigation-logo.entry.js +2 -2
  388. package/dist/esm/calcite-navigation-user.entry.js +2 -2
  389. package/dist/esm/calcite-navigation.entry.js +5 -5
  390. package/dist/esm/calcite-notice.entry.js +11 -11
  391. package/dist/esm/calcite-option_2.entry.js +9 -9
  392. package/dist/esm/calcite-pagination.entry.js +9 -9
  393. package/dist/esm/calcite-panel_2.entry.js +14 -14
  394. package/dist/esm/calcite-pick-list-group.entry.js +7 -7
  395. package/dist/esm/calcite-pick-list-item.entry.js +12 -12
  396. package/dist/esm/calcite-pick-list.entry.js +10 -10
  397. package/dist/esm/calcite-radio-button-group.entry.js +2 -7
  398. package/dist/esm/calcite-radio-button.entry.js +9 -9
  399. package/dist/esm/calcite-rating.entry.js +12 -12
  400. package/dist/esm/calcite-scrim.entry.js +8 -8
  401. package/dist/esm/calcite-segmented-control_2.entry.js +8 -8
  402. package/dist/esm/calcite-shell-center-row.entry.js +6 -6
  403. package/dist/esm/calcite-shell-panel_14.entry.js +29 -32
  404. package/dist/esm/calcite-sortable-list.entry.js +7 -7
  405. package/dist/esm/calcite-split-button.entry.js +3 -3
  406. package/dist/esm/calcite-stepper-item.entry.js +8 -8
  407. package/dist/esm/calcite-stepper.entry.js +3 -8
  408. package/dist/esm/calcite-switch.entry.js +8 -8
  409. package/dist/esm/calcite-text-area.entry.js +15 -15
  410. package/dist/esm/calcite-tile-select-group.entry.js +1 -1
  411. package/dist/esm/calcite-tile-select.entry.js +4 -4
  412. package/dist/esm/calcite-tile.entry.js +7 -7
  413. package/dist/esm/calcite-time-picker.entry.js +10 -10
  414. package/dist/esm/calcite-tip-manager.entry.js +9 -9
  415. package/dist/esm/calcite-tip.entry.js +10 -10
  416. package/dist/esm/calcite-tooltip.entry.js +9 -9
  417. package/dist/esm/calcite-tree_3.entry.js +8 -8
  418. package/dist/esm/{card-manager_4.entry.js → card-manager_3.entry.js} +66 -101
  419. package/dist/esm/{conditionalSlot-27a0fce0.js → conditionalSlot-55a14abd.js} +2 -2
  420. package/dist/esm/crowdsource-manager.entry.js +50 -16
  421. package/dist/esm/{cs-f21a0628.js → cs-3bd67855.js} +14 -14
  422. package/dist/esm/{da-dc48fc4c.js → da-7a76e131.js} +14 -14
  423. package/dist/esm/{date-0ed48e97.js → date-bd5b879c.js} +2 -2
  424. package/dist/esm/{de-59290071.js → de-0808a43e.js} +14 -14
  425. package/dist/esm/{de-at-cd6e6ab7.js → de-at-0b6874cb.js} +14 -14
  426. package/dist/esm/{de-ch-27c44e34.js → de-ch-c9d429dd.js} +14 -14
  427. package/dist/esm/{dom-843e3afd.js → dom-37f2dec9.js} +3 -3
  428. package/dist/esm/{downloadUtils-63661805.js → downloadUtils-8d4c13bb.js} +258 -265
  429. package/dist/esm/edit-card_2.entry.js +38 -5
  430. package/dist/esm/{el-f09fdec6.js → el-66001281.js} +14 -14
  431. package/dist/esm/{en-au-90087aa5.js → en-au-6424fec0.js} +14 -14
  432. package/dist/esm/{en-ca-10751695.js → en-ca-f5f1659d.js} +14 -14
  433. package/dist/esm/{en-gb-0f8547bd.js → en-gb-796beadd.js} +14 -14
  434. package/dist/esm/{es-b0997cf1.js → es-cd139926.js} +14 -14
  435. package/dist/esm/{es-mx-226f5028.js → es-mx-854dc3e4.js} +14 -14
  436. package/dist/esm/{et-dc96c453.js → et-2aa6782d.js} +14 -14
  437. package/dist/esm/{fi-0941704d.js → fi-965727bd.js} +14 -14
  438. package/dist/esm/{filter-1cac3edf.js → filter-60517290.js} +1 -1
  439. package/dist/esm/{floating-ui-d28d0fd6.js → floating-ui-7cde67cf.js} +2 -2
  440. package/dist/esm/{focusTrapComponent-ff3a9f28.js → focusTrapComponent-ec344399.js} +4 -4
  441. package/dist/esm/{form-11c6a015.js → form-04d47b0b.js} +2 -2
  442. package/dist/esm/{fr-8da3458d.js → fr-c1884e89.js} +14 -14
  443. package/dist/esm/{fr-ch-739ceddf.js → fr-ch-1fd8dd3a.js} +14 -14
  444. package/dist/esm/{guid-2bbb8cd1.js → guid-70cda807.js} +1 -1
  445. package/dist/esm/{he-8b662dfa.js → he-0d7b78b4.js} +14 -14
  446. package/dist/esm/{hi-10996f89.js → hi-0376c82d.js} +14 -14
  447. package/dist/esm/{hr-42c2024d.js → hr-28a64903.js} +14 -14
  448. package/dist/esm/{hu-4768b3ff.js → hu-44a02ff7.js} +14 -14
  449. package/dist/esm/{id-24a08170.js → id-034fc4a5.js} +14 -14
  450. package/dist/esm/{index.es-3a3aa8e3.js → index.es-065c3035.js} +3 -3
  451. package/dist/esm/{interactive-eaf4be29.js → interactive-bd6837bc.js} +2 -2
  452. package/dist/esm/{it-ad09649f.js → it-56e52026.js} +14 -14
  453. package/dist/esm/{it-ch-b05fc10d.js → it-ch-a4a0e136.js} +14 -14
  454. package/dist/esm/{ja-ab839b73.js → ja-f2365272.js} +14 -14
  455. package/dist/esm/{key-7a525416.js → key-02fa06ae.js} +1 -1
  456. package/dist/esm/{ko-c778539e.js → ko-e7650b4c.js} +14 -14
  457. package/dist/esm/{label-6a1caf64.js → label-b6dfb4d5.js} +3 -3
  458. package/dist/{components/layout-manager2.js → esm/layout-manager.entry.js} +11 -58
  459. package/dist/esm/{loadModules-2ecd1e44.js → loadModules-f5f910b6.js} +1 -1
  460. package/dist/esm/{loadable-6bca96ad.js → loadable-47170cb6.js} +1 -1
  461. package/dist/esm/loader.js +3 -3
  462. package/dist/esm/{locale-d8561d54.js → locale-146251f7.js} +5 -5
  463. package/dist/esm/{locale-aa3de591.js → locale-efad8f83.js} +15 -15
  464. package/dist/esm/{lt-447d9aa9.js → lt-1577a952.js} +14 -14
  465. package/dist/esm/{lv-4d715e11.js → lv-9ef7e4f6.js} +14 -14
  466. package/dist/esm/map-select-tools_3.entry.js +3 -3
  467. package/dist/esm/{math-5f92f517.js → math-0d6817c3.js} +1 -1
  468. package/dist/esm/{mk-b3d7401a.js → mk-94264e08.js} +14 -14
  469. package/dist/esm/{nb-2b4a8366.js → nb-fa24d5b2.js} +14 -14
  470. package/dist/esm/{nl-c0db1da2.js → nl-33f10900.js} +14 -14
  471. package/dist/esm/{observers-9d66685a.js → observers-95c50046.js} +1 -1
  472. package/dist/esm/{openCloseComponent-2b5c6bed.js → openCloseComponent-10efeff3.js} +9 -4
  473. package/dist/esm/{pl-0d322bb4.js → pl-9ed16565.js} +14 -14
  474. package/dist/esm/{pt-5997598c.js → pt-52731ddf.js} +14 -14
  475. package/dist/esm/{pt-br-6b77e7db.js → pt-br-8de51ff4.js} +14 -14
  476. package/dist/esm/public-notification.entry.js +3 -3
  477. package/dist/esm/{resources-5bce3953.js → resources-0151b0c0.js} +1 -1
  478. package/dist/esm/{resources-94c47e64.js → resources-1e6d76df.js} +1 -1
  479. package/dist/esm/{resources-40d8e06f.js → resources-24255b05.js} +1 -1
  480. package/dist/esm/{resources-dca3d475.js → resources-2e5aa562.js} +1 -1
  481. package/dist/esm/{resources-c253772f.js → resources-2edfa0af.js} +1 -1
  482. package/dist/esm/{resources-a9b2d33c.js → resources-41416583.js} +1 -1
  483. package/dist/esm/{resources-d6a4d343.js → resources-b392187d.js} +1 -1
  484. package/dist/esm/{resources-58d30a0f.js → resources-c676d5de.js} +1 -1
  485. package/dist/esm/{resources-c65f5654.js → resources-efae7280.js} +1 -1
  486. package/dist/esm/{ro-ac3724e0.js → ro-99f009ad.js} +14 -14
  487. package/dist/esm/{ru-4e75151f.js → ru-592ffaf0.js} +14 -14
  488. package/dist/esm/{shared-list-render-abd19c8d.js → shared-list-render-4f0f6af8.js} +6 -6
  489. package/dist/esm/{sk-bbfa22a3.js → sk-44f7bd19.js} +14 -14
  490. package/dist/esm/{sl-867cecfc.js → sl-08cad9bd.js} +14 -14
  491. package/dist/esm/solution-configuration.entry.js +1 -1
  492. package/dist/esm/solution-contents_3.entry.js +1 -1
  493. package/dist/esm/solutions-components.js +3 -3
  494. package/dist/esm/{sortableComponent-db502e97.js → sortableComponent-8a84709a.js} +2 -2
  495. package/dist/esm/{sr-198b5c00.js → sr-84f261fc.js} +14 -14
  496. package/dist/esm/{sv-02d64370.js → sv-d0d7bc1e.js} +14 -14
  497. package/dist/esm/{t9n-76168237.js → t9n-5f748619.js} +2 -2
  498. package/dist/esm/{th-1616e303.js → th-a5149d44.js} +14 -14
  499. package/dist/esm/{time-6721a4c2.js → time-fa1151aa.js} +2 -2
  500. package/dist/esm/{tr-f4619f64.js → tr-feb0cad4.js} +14 -14
  501. package/dist/esm/{uk-df7df34a.js → uk-c9ba62a0.js} +14 -14
  502. package/dist/esm/{utils-f54411df.js → utils-0a5c1a07.js} +3 -3
  503. package/dist/esm/{utils-ccfd94a7.js → utils-667cc396.js} +3 -3
  504. package/dist/esm/{utils-18db6b1d.js → utils-7af1efcc.js} +2 -2
  505. package/dist/esm/{utils-2c91c963.js → utils-7cf107ec.js} +5 -2
  506. package/dist/esm/{vi-176ca9f7.js → vi-788dcb99.js} +14 -14
  507. package/dist/esm/{zh-cn-e13d83d1.js → zh-cn-3ccfb820.js} +14 -14
  508. package/dist/esm/{zh-hk-d97365d8.js → zh-hk-b29b61e8.js} +14 -14
  509. package/dist/esm/{zh-tw-a2b6f0b7.js → zh-tw-2bdbc6eb.js} +14 -14
  510. package/dist/solutions-components/assets/icon/applySelectionToExistingView16.json +1 -0
  511. package/dist/solutions-components/assets/icon/applySelectionToExistingView24.json +1 -0
  512. package/dist/solutions-components/assets/icon/applySelectionToExistingView32.json +1 -0
  513. package/dist/solutions-components/assets/icon/channels16.json +1 -0
  514. package/dist/solutions-components/assets/icon/channels24.json +1 -0
  515. package/dist/solutions-components/assets/icon/channels32.json +1 -0
  516. package/dist/solutions-components/assets/icon/chevronDownLeft16.json +1 -0
  517. package/dist/solutions-components/assets/icon/chevronDownLeft24.json +1 -0
  518. package/dist/solutions-components/assets/icon/chevronDownLeft32.json +1 -0
  519. package/dist/solutions-components/assets/icon/chevronDownRight16.json +1 -0
  520. package/dist/solutions-components/assets/icon/chevronDownRight24.json +1 -0
  521. package/dist/solutions-components/assets/icon/chevronDownRight32.json +1 -0
  522. package/dist/solutions-components/assets/icon/chevronUpLeft16.json +1 -0
  523. package/dist/solutions-components/assets/icon/chevronUpLeft24.json +1 -0
  524. package/dist/solutions-components/assets/icon/chevronUpLeft32.json +1 -0
  525. package/dist/solutions-components/assets/icon/chevronUpRight16.json +1 -0
  526. package/dist/solutions-components/assets/icon/chevronUpRight24.json +1 -0
  527. package/dist/solutions-components/assets/icon/chevronUpRight32.json +1 -0
  528. package/dist/solutions-components/assets/icon/clearSelection16.json +1 -0
  529. package/dist/solutions-components/assets/icon/clearSelection24.json +1 -0
  530. package/dist/solutions-components/assets/icon/clearSelection32.json +1 -0
  531. package/dist/solutions-components/assets/icon/communityLinkChartLayout16.json +1 -0
  532. package/dist/solutions-components/assets/icon/communityLinkChartLayout24.json +1 -0
  533. package/dist/solutions-components/assets/icon/communityLinkChartLayout32.json +1 -0
  534. package/dist/solutions-components/assets/icon/dataCard16.json +1 -0
  535. package/dist/solutions-components/assets/icon/dataCard24.json +1 -0
  536. package/dist/solutions-components/assets/icon/dataCard32.json +1 -0
  537. package/dist/solutions-components/assets/icon/dateTime16.json +1 -0
  538. package/dist/solutions-components/assets/icon/dateTime24.json +1 -0
  539. package/dist/solutions-components/assets/icon/dateTime32.json +1 -0
  540. package/dist/solutions-components/assets/icon/expressionDefinedColor16.json +1 -0
  541. package/dist/solutions-components/assets/icon/expressionDefinedColor24.json +1 -0
  542. package/dist/solutions-components/assets/icon/expressionDefinedColor32.json +1 -0
  543. package/dist/solutions-components/assets/icon/forceDirectedLinkChartLayout16.json +1 -0
  544. package/dist/solutions-components/assets/icon/forceDirectedLinkChartLayout24.json +1 -0
  545. package/dist/solutions-components/assets/icon/forceDirectedLinkChartLayout32.json +1 -0
  546. package/dist/solutions-components/assets/icon/hierarchicalLinkChartLayout16.json +1 -0
  547. package/dist/solutions-components/assets/icon/hierarchicalLinkChartLayout24.json +1 -0
  548. package/dist/solutions-components/assets/icon/hierarchicalLinkChartLayout32.json +1 -0
  549. package/dist/solutions-components/assets/icon/knowledgeStudio16.json +1 -0
  550. package/dist/solutions-components/assets/icon/knowledgeStudio24.json +1 -0
  551. package/dist/solutions-components/assets/icon/knowledgeStudio32.json +1 -0
  552. package/dist/solutions-components/assets/icon/linkChartExpand16.json +1 -0
  553. package/dist/solutions-components/assets/icon/linkChartExpand24.json +1 -0
  554. package/dist/solutions-components/assets/icon/linkChartExpand32.json +1 -0
  555. package/dist/solutions-components/assets/icon/minusSquare16F.json +1 -0
  556. package/dist/solutions-components/assets/icon/minusSquare24F.json +1 -0
  557. package/dist/solutions-components/assets/icon/minusSquare32F.json +1 -0
  558. package/dist/solutions-components/assets/icon/newLinkChart16.json +1 -0
  559. package/dist/solutions-components/assets/icon/newLinkChart24.json +1 -0
  560. package/dist/solutions-components/assets/icon/newLinkChart32.json +1 -0
  561. package/dist/solutions-components/assets/icon/radialTreeLinkChartYayout16.json +1 -0
  562. package/dist/solutions-components/assets/icon/radialTreeLinkChartYayout24.json +1 -0
  563. package/dist/solutions-components/assets/icon/radialTreeLinkChartYayout32.json +1 -0
  564. package/dist/solutions-components/assets/icon/removeLinkchart16.json +1 -0
  565. package/dist/solutions-components/assets/icon/removeLinkchart24.json +1 -0
  566. package/dist/solutions-components/assets/icon/removeLinkchart32.json +1 -0
  567. package/dist/solutions-components/assets/icon/simpleLinkChartLayout16.json +1 -0
  568. package/dist/solutions-components/assets/icon/simpleLinkChartLayout24.json +1 -0
  569. package/dist/solutions-components/assets/icon/simpleLinkChartLayout32.json +1 -0
  570. package/dist/solutions-components/assets/icon/smartTreeLinkChartLayout16.json +1 -0
  571. package/dist/solutions-components/assets/icon/smartTreeLinkChartLayout24.json +1 -0
  572. package/dist/solutions-components/assets/icon/smartTreeLinkChartLayout32.json +1 -0
  573. package/dist/solutions-components/assets/icon/sortAscendingArrow16.json +1 -1
  574. package/dist/solutions-components/assets/icon/sortAscendingArrow24.json +1 -1
  575. package/dist/solutions-components/assets/icon/sortAscendingArrow32.json +1 -1
  576. package/dist/solutions-components/assets/icon/sortDescendingArrow16.json +1 -1
  577. package/dist/solutions-components/assets/icon/sortDescendingArrow24.json +1 -1
  578. package/dist/solutions-components/assets/icon/sortDescendingArrow32.json +1 -1
  579. package/dist/solutions-components/assets/icon/timeZone16.json +1 -0
  580. package/dist/solutions-components/assets/icon/timeZone24.json +1 -0
  581. package/dist/solutions-components/assets/icon/timeZone32.json +1 -0
  582. package/dist/solutions-components/assets/icon/updateProject16.json +1 -0
  583. package/dist/solutions-components/assets/icon/updateProject24.json +1 -0
  584. package/dist/solutions-components/assets/icon/updateProject32.json +1 -0
  585. package/dist/solutions-components/demos/crowdsource-manager.html +26 -1
  586. package/dist/solutions-components/{p-9fb16c72.entry.js → p-0109bef4.entry.js} +10 -10
  587. package/dist/solutions-components/{p-46d5970b.entry.js → p-01c83b8c.entry.js} +1 -1
  588. package/dist/solutions-components/{p-6de98c51.js → p-0266ca81.js} +1 -1
  589. package/dist/solutions-components/{p-8a758303.js → p-05b2bdf9.js} +3 -3
  590. package/dist/solutions-components/p-072155f9.js +12 -0
  591. package/dist/solutions-components/{p-e07b8a72.entry.js → p-082365d6.entry.js} +3 -3
  592. package/dist/solutions-components/{p-ea282908.js → p-0b8463d6.js} +1 -1
  593. package/dist/solutions-components/{p-cad5587c.entry.js → p-0c2e392e.entry.js} +6 -6
  594. package/dist/solutions-components/{p-7c33e500.entry.js → p-0dd8368d.entry.js} +1 -1
  595. package/dist/solutions-components/{p-c3f8b670.js → p-0ecd7346.js} +1 -1
  596. package/dist/solutions-components/{p-18f1772b.js → p-0ed14b4b.js} +1 -1
  597. package/dist/solutions-components/p-0f77e83c.entry.js +11 -0
  598. package/dist/solutions-components/{p-29d41c7e.js → p-0f85fa4b.js} +1 -1
  599. package/dist/solutions-components/{p-541697d0.js → p-0fa3d1aa.js} +2 -2
  600. package/dist/solutions-components/{p-a6900100.entry.js → p-10e1ebe4.entry.js} +3 -3
  601. package/dist/solutions-components/{p-f41105c8.js → p-138cf009.js} +1 -1
  602. package/dist/solutions-components/{p-2b96e551.entry.js → p-149b4d3c.entry.js} +3 -3
  603. package/dist/solutions-components/{p-022a9b7a.js → p-167eb73b.js} +1 -1
  604. package/dist/solutions-components/{p-32f9c709.js → p-168a7d63.js} +1 -1
  605. package/dist/solutions-components/{p-2b252afd.entry.js → p-17a29fa6.entry.js} +1 -1
  606. package/dist/solutions-components/p-18538cd9.entry.js +11 -0
  607. package/dist/solutions-components/p-1bcfca9b.entry.js +6 -0
  608. package/dist/solutions-components/{p-19fe7725.js → p-1cebde99.js} +1 -1
  609. package/dist/solutions-components/{p-b948ecd2.entry.js → p-1dbaff04.entry.js} +2 -2
  610. package/dist/solutions-components/{p-2656168f.entry.js → p-1e7a31c1.entry.js} +3 -3
  611. package/dist/solutions-components/{p-d554507d.js → p-1eda2d20.js} +1 -1
  612. package/dist/solutions-components/{p-ef48bd77.entry.js → p-1efcac52.entry.js} +3 -3
  613. package/dist/solutions-components/{p-c6d83122.entry.js → p-1fba74a5.entry.js} +3 -3
  614. package/dist/solutions-components/{p-3cbe5ef3.js → p-2154de6d.js} +1 -1
  615. package/dist/solutions-components/{p-1ede2e18.js → p-2592c0b8.js} +3 -3
  616. package/dist/solutions-components/{p-90bbf223.entry.js → p-261394d7.entry.js} +1 -1
  617. package/dist/solutions-components/{p-754e2df2.js → p-27e0f599.js} +1 -1
  618. package/dist/solutions-components/{p-6a820c4d.js → p-28b5a7cf.js} +1 -1
  619. package/dist/solutions-components/{p-804e4751.entry.js → p-29efbf76.entry.js} +3 -3
  620. package/dist/solutions-components/{p-421d5e7c.js → p-2bf63e2e.js} +1 -1
  621. package/dist/solutions-components/{p-d4c103a8.js → p-2e8a41da.js} +1 -1
  622. package/dist/solutions-components/{p-de59d2f5.js → p-31aaa60f.js} +1 -1
  623. package/dist/solutions-components/{p-a2748b38.entry.js → p-34ef43ce.entry.js} +1 -1
  624. package/dist/solutions-components/{p-97c47bbd.entry.js → p-35cb6eca.entry.js} +3 -3
  625. package/dist/solutions-components/{p-39ff5ee5.js → p-3766be72.js} +2 -2
  626. package/dist/solutions-components/{p-9e727488.js → p-38f906f2.js} +1 -1
  627. package/dist/solutions-components/{p-c5e294e4.js → p-3948a96c.js} +1 -1
  628. package/dist/solutions-components/{p-9bbc05ff.js → p-3a844a72.js} +1 -1
  629. package/dist/solutions-components/{p-825bac0e.js → p-3c15959e.js} +1 -1
  630. package/dist/solutions-components/{p-ffac6f88.entry.js → p-3ce89910.entry.js} +1 -1
  631. package/dist/solutions-components/{p-7920b5a2.entry.js → p-3cfaf52b.entry.js} +2 -2
  632. package/dist/solutions-components/{p-b9749e09.js → p-3d3e6e20.js} +1 -1
  633. package/dist/solutions-components/{p-844ee452.entry.js → p-410068d9.entry.js} +2 -2
  634. package/dist/solutions-components/{p-a775ba2f.entry.js → p-42f9ab43.entry.js} +3 -3
  635. package/dist/solutions-components/{p-2291b598.js → p-43ba7a04.js} +1 -1
  636. package/dist/solutions-components/{p-f28d69ac.entry.js → p-446ab7f8.entry.js} +3 -3
  637. package/dist/solutions-components/{p-4bc7b875.entry.js → p-452850b4.entry.js} +2 -2
  638. package/dist/solutions-components/{p-0fbc27fd.entry.js → p-456f5afe.entry.js} +2 -2
  639. package/dist/solutions-components/p-46352a57.entry.js +6 -0
  640. package/dist/solutions-components/{p-b86b4512.entry.js → p-46e0ce0c.entry.js} +2 -2
  641. package/dist/solutions-components/p-470a9ec4.entry.js +6 -0
  642. package/dist/solutions-components/{p-d62784a4.js → p-476e5302.js} +1 -1
  643. package/dist/solutions-components/{p-5961c4e0.js → p-4a75b3dc.js} +1 -1
  644. package/dist/solutions-components/{p-42c7a5fa.entry.js → p-4d76eaf6.entry.js} +2 -2
  645. package/dist/solutions-components/{p-4e4b55b9.entry.js → p-4f9f97b2.entry.js} +3 -3
  646. package/dist/solutions-components/{p-67ce3c0c.entry.js → p-56f1d66b.entry.js} +3 -3
  647. package/dist/solutions-components/{p-5b9b1cbb.entry.js → p-58167087.entry.js} +3 -3
  648. package/dist/solutions-components/{p-ad72a379.entry.js → p-586f0e3d.entry.js} +3 -3
  649. package/dist/solutions-components/{p-6f2edf5b.js → p-588bc0c0.js} +1 -1
  650. package/dist/solutions-components/{p-a040efff.js → p-5958dad9.js} +1 -1
  651. package/dist/solutions-components/{p-4d17943f.js → p-5c9fa0e7.js} +1 -1
  652. package/dist/solutions-components/{p-b4157e6a.js → p-5ceef49b.js} +1 -1
  653. package/dist/solutions-components/{p-c9858d8f.entry.js → p-5d62566c.entry.js} +2 -2
  654. package/dist/solutions-components/{p-5f5c371e.js → p-5e08d4de.js} +1 -1
  655. package/dist/solutions-components/{p-b684bbc7.entry.js → p-5eaaf6ea.entry.js} +1 -1
  656. package/dist/solutions-components/{p-10248e04.js → p-60c15592.js} +1 -1
  657. package/dist/solutions-components/{p-7601988d.entry.js → p-6295e168.entry.js} +2 -2
  658. package/dist/solutions-components/{p-4f0c3fc1.js → p-635bbbd4.js} +1 -1
  659. package/dist/solutions-components/{p-aeebdb15.js → p-636f4631.js} +1 -1
  660. package/dist/solutions-components/{p-fb7e0054.js → p-643a0325.js} +1 -1
  661. package/dist/solutions-components/{p-606ca126.js → p-64e2c099.js} +1 -1
  662. package/dist/solutions-components/{p-ad4d6d02.entry.js → p-651459e2.entry.js} +4 -4
  663. package/dist/solutions-components/{p-b0c4138f.entry.js → p-667e7134.entry.js} +2 -2
  664. package/dist/solutions-components/{p-4b95d05e.entry.js → p-66b5211f.entry.js} +1 -1
  665. package/dist/solutions-components/{p-216801d5.js → p-688f6a0a.js} +1 -1
  666. package/dist/solutions-components/{p-3e139360.js → p-6be3c411.js} +1 -1
  667. package/dist/solutions-components/{p-6a524392.entry.js → p-6ce7b446.entry.js} +2 -2
  668. package/dist/solutions-components/{p-0e7914e6.entry.js → p-6ddc9567.entry.js} +3 -3
  669. package/dist/solutions-components/{p-1ea1dcac.js → p-6eb4ba8f.js} +1 -1
  670. package/dist/solutions-components/{p-7b9adfff.js → p-7060caf6.js} +1 -1
  671. package/dist/solutions-components/{p-bd3a3afe.js → p-7262469a.js} +1 -1
  672. package/dist/solutions-components/{p-3f0193e9.js → p-73220ff1.js} +1 -1
  673. package/dist/solutions-components/{p-31ff3452.entry.js → p-78a40191.entry.js} +2 -2
  674. package/dist/solutions-components/{p-82199b7b.entry.js → p-7a027758.entry.js} +1 -1
  675. package/dist/solutions-components/{p-a843af2a.js → p-7b2314ac.js} +1 -1
  676. package/dist/solutions-components/p-7bb12deb.js +11 -0
  677. package/dist/solutions-components/{p-56300653.js → p-7f271c31.js} +5 -5
  678. package/dist/solutions-components/p-7f9642d5.js +21 -0
  679. package/dist/solutions-components/{p-5c097e25.entry.js → p-80cb42e4.entry.js} +3 -3
  680. package/dist/solutions-components/{p-5383607a.js → p-80ea5869.js} +3 -3
  681. package/dist/solutions-components/{p-ab8f5c6b.entry.js → p-81814234.entry.js} +2 -2
  682. package/dist/solutions-components/{p-abda8ca2.entry.js → p-8544d557.entry.js} +2 -2
  683. package/dist/solutions-components/{p-680d193d.entry.js → p-864c190b.entry.js} +3 -3
  684. package/dist/solutions-components/p-869d4521.entry.js +6 -0
  685. package/dist/solutions-components/{p-d3a22725.js → p-872036a8.js} +1 -1
  686. package/dist/solutions-components/{p-22d580b0.entry.js → p-879d6377.entry.js} +3 -3
  687. package/dist/solutions-components/{p-4805ff13.js → p-87d66120.js} +1 -1
  688. package/dist/solutions-components/{p-9cb94ea0.js → p-8927339d.js} +1 -1
  689. package/dist/solutions-components/{p-7aa949a3.entry.js → p-89504313.entry.js} +2 -2
  690. package/dist/solutions-components/{p-cf43278c.entry.js → p-8af52074.entry.js} +3 -3
  691. package/dist/solutions-components/{p-3fc17d72.js → p-8b448a5b.js} +1 -1
  692. package/dist/solutions-components/{p-03fccde6.entry.js → p-8b74f5bb.entry.js} +3 -3
  693. package/dist/solutions-components/{p-2ae17fa2.js → p-8c61431d.js} +1 -1
  694. package/dist/solutions-components/{p-634e1240.js → p-8d00a17e.js} +1 -1
  695. package/dist/solutions-components/{p-c07af9c2.entry.js → p-8f68f1d3.entry.js} +2 -2
  696. package/dist/solutions-components/{p-e6bee82f.js → p-8f8d2861.js} +1 -1
  697. package/dist/solutions-components/{p-108fbf59.entry.js → p-90cef98d.entry.js} +1 -1
  698. package/dist/solutions-components/{p-9603c3ff.entry.js → p-9370bb48.entry.js} +2 -2
  699. package/dist/solutions-components/{p-75f26870.js → p-95c11620.js} +13 -13
  700. package/dist/solutions-components/{p-a777b18c.js → p-96239d0d.js} +2 -2
  701. package/dist/solutions-components/{p-215d3505.js → p-99402001.js} +1 -1
  702. package/dist/solutions-components/p-99891e57.js +11 -0
  703. package/dist/solutions-components/{p-15ef7894.js → p-9a35ef8e.js} +1 -1
  704. package/dist/solutions-components/{p-35123c90.js → p-9b76bf3d.js} +1 -1
  705. package/dist/solutions-components/p-9eba78eb.entry.js +6 -0
  706. package/dist/solutions-components/{p-6b2f2b85.js → p-a16feeec.js} +4 -4
  707. package/dist/solutions-components/{p-e645edf2.entry.js → p-a1c6db13.entry.js} +1 -1
  708. package/dist/solutions-components/{p-0cc32f06.js → p-a287be8b.js} +1 -1
  709. package/dist/solutions-components/{p-052ff2c7.js → p-a46f1b45.js} +1 -1
  710. package/dist/solutions-components/{p-1f468797.js → p-ab072027.js} +1 -1
  711. package/dist/solutions-components/{p-31316d61.entry.js → p-ac0abf04.entry.js} +3 -3
  712. package/dist/solutions-components/{p-38ef0684.js → p-ad75b9bb.js} +2 -2
  713. package/dist/solutions-components/{p-a08bd8c1.entry.js → p-ae6a7b3b.entry.js} +1 -1
  714. package/dist/solutions-components/{p-05db4340.js → p-aea37c90.js} +1 -1
  715. package/dist/solutions-components/{p-164be8ef.entry.js → p-b25005cf.entry.js} +1 -1
  716. package/dist/solutions-components/{p-b2e6c578.js → p-b28b6d40.js} +1 -1
  717. package/dist/solutions-components/{p-639cca97.js → p-b28ff52c.js} +1 -1
  718. package/dist/solutions-components/{p-21f00df6.js → p-bde323ec.js} +1 -1
  719. package/dist/solutions-components/{p-a0edbb27.js → p-be146646.js} +1 -1
  720. package/dist/solutions-components/{p-a258f5e7.js → p-c1dcc1e7.js} +1 -1
  721. package/dist/solutions-components/{p-5e59219b.entry.js → p-c26cd409.entry.js} +1 -1
  722. package/dist/solutions-components/p-c3ab7439.js +11 -0
  723. package/dist/solutions-components/{p-283e3a2d.js → p-c6e55b32.js} +1 -1
  724. package/dist/solutions-components/{p-e10a62f4.entry.js → p-c79c7978.entry.js} +3 -3
  725. package/dist/solutions-components/{p-647a4130.js → p-c9633864.js} +3 -3
  726. package/dist/solutions-components/{p-916f90ec.entry.js → p-c968f9aa.entry.js} +1 -1
  727. package/dist/solutions-components/{p-cf1af08f.entry.js → p-c9df539a.entry.js} +1 -1
  728. package/dist/solutions-components/{p-93074bd4.entry.js → p-ca3d7edd.entry.js} +2 -2
  729. package/dist/solutions-components/{p-2005280f.js → p-cacfa6ae.js} +2 -2
  730. package/dist/solutions-components/{p-27a1ac1f.entry.js → p-cc2393c3.entry.js} +3 -3
  731. package/dist/solutions-components/p-cd673260.js +6 -0
  732. package/dist/solutions-components/{p-761a033a.entry.js → p-cec47579.entry.js} +2 -2
  733. package/dist/solutions-components/{p-32ef065d.entry.js → p-ced11bea.entry.js} +2 -2
  734. package/dist/solutions-components/{p-ee066c67.js → p-cee23126.js} +5 -5
  735. package/dist/solutions-components/p-d2d3e4b5.js +11 -0
  736. package/dist/solutions-components/p-d4cb29ed.entry.js +6 -0
  737. package/dist/solutions-components/{p-0ece6df1.entry.js → p-d6f68a4e.entry.js} +2 -2
  738. package/dist/solutions-components/{p-326fa270.js → p-d864b7e3.js} +1 -1
  739. package/dist/solutions-components/{p-5adf37ea.entry.js → p-da6acb22.entry.js} +2 -2
  740. package/dist/solutions-components/{p-de58bd49.js → p-e0c011b8.js} +1 -1
  741. package/dist/solutions-components/{p-58ce5639.js → p-e0fb0920.js} +1 -1
  742. package/dist/solutions-components/{p-b1f84ae5.js → p-e2637fe6.js} +1 -1
  743. package/dist/solutions-components/{p-ef96894d.entry.js → p-e2eb4fd3.entry.js} +4 -4
  744. package/dist/solutions-components/{p-18869c0f.js → p-e3525c00.js} +1 -1
  745. package/dist/solutions-components/{p-1add4e39.entry.js → p-e3d72832.entry.js} +2 -2
  746. package/dist/solutions-components/{p-6431fd69.js → p-e4d2fcc5.js} +3 -3
  747. package/dist/solutions-components/{p-f055a840.js → p-e761b7cd.js} +1 -1
  748. package/dist/solutions-components/{p-4daae757.js → p-ea285144.js} +1 -1
  749. package/dist/solutions-components/p-ebbff02e.js +6 -0
  750. package/dist/solutions-components/{p-07bc4f07.entry.js → p-ec378ea0.entry.js} +3 -3
  751. package/dist/solutions-components/{p-12a4fa84.js → p-ec889511.js} +1 -1
  752. package/dist/solutions-components/{p-e02fcfa9.entry.js → p-f153f1c9.entry.js} +2 -2
  753. package/dist/solutions-components/{p-b49bdc72.entry.js → p-f596eabd.entry.js} +1 -1
  754. package/dist/solutions-components/{p-3aba40e8.js → p-f7b520ae.js} +2 -2
  755. package/dist/solutions-components/{p-4c43820f.entry.js → p-f815b5ef.entry.js} +1 -1
  756. package/dist/solutions-components/p-fb7ca639.entry.js +6 -0
  757. package/dist/solutions-components/{p-955a956a.entry.js → p-fe96e0d9.entry.js} +4 -4
  758. package/dist/solutions-components/{p-b5d67495.entry.js → p-feff224c.entry.js} +2 -2
  759. package/dist/solutions-components/solutions-components.esm.js +1 -1
  760. package/dist/solutions-components/utils/downloadUtils.ts +358 -326
  761. package/dist/solutions-components/utils/interfaces.ts +11 -0
  762. package/dist/solutions-components/utils/test/downloadUtils.spec.tsx +587 -61
  763. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +28 -4
  764. package/dist/types/components/info-card/info-card.d.ts +23 -0
  765. package/dist/types/components/layer-table/layer-table.d.ts +14 -2
  766. package/dist/types/components/map-card/map-card.d.ts +6 -2
  767. package/dist/types/components/map-legend/map-legend.d.ts +64 -0
  768. package/dist/types/components/map-tools/map-tools.d.ts +11 -41
  769. package/dist/types/components.d.ts +40 -11
  770. package/dist/types/preact.d.ts +2 -0
  771. package/dist/types/utils/downloadUtils.d.ts +126 -15
  772. package/dist/types/utils/interfaces.d.ts +9 -0
  773. package/package.json +4 -10
  774. package/dist/solutions-components/p-2d70d3fd.js +0 -12
  775. package/dist/solutions-components/p-361f1fe1.js +0 -11
  776. package/dist/solutions-components/p-3bd99fc9.js +0 -11
  777. package/dist/solutions-components/p-418d0b60.entry.js +0 -6
  778. package/dist/solutions-components/p-525f1188.js +0 -11
  779. package/dist/solutions-components/p-55aefaa8.entry.js +0 -6
  780. package/dist/solutions-components/p-5b5a6ac8.entry.js +0 -6
  781. package/dist/solutions-components/p-7b90c18e.entry.js +0 -6
  782. package/dist/solutions-components/p-91caf655.entry.js +0 -11
  783. package/dist/solutions-components/p-a0a2c53d.js +0 -21
  784. package/dist/solutions-components/p-a6c85bd7.entry.js +0 -6
  785. package/dist/solutions-components/p-b6578a32.js +0 -6
  786. package/dist/solutions-components/p-baccfd70.entry.js +0 -6
  787. package/dist/solutions-components/p-bba3fa4e.entry.js +0 -11
  788. package/dist/solutions-components/p-c1ee0d69.js +0 -11
  789. package/dist/solutions-components/p-d6322e4b.js +0 -6
@@ -3,10 +3,10 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as e,c as t,h as i,H as n,g as o}from"./p-9310b882.js";import{a as l,e as a,t as s}from"./p-6b2f2b85.js";import{a as r,c,d,H as h}from"./p-2d70d3fd.js";import{c as m,d as u,u as g}from"./p-38ef0684.js";import{c as p,d as f}from"./p-3bd99fc9.js";import{s as b,a as v,c as k}from"./p-d62784a4.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";const w=class{constructor(i){e(this,i),this.calciteSegmentedControlChange=t(this,"calciteSegmentedControlChange",6),this.handleClick=e=>{this.disabled||"calcite-segmented-control-item"===e.target.localName&&this.selectItem(e.target,!0)},this.appearance="solid",this.disabled=!1,this.form=void 0,this.required=!1,this.layout="horizontal",this.name=void 0,this.scale="m",this.value=null,this.selectedItem=void 0,this.width="auto"}valueHandler(e){this.getItems().forEach((t=>t.checked=t.value===e))}handleSelectedItemChange(e,t){if(this.value=null==e?void 0:e.value,e===t)return;const i=this.getItems(),n=i.filter((t=>t===e)).pop();n?this.selectItem(n):i[0]&&(i[0].tabIndex=0)}componentWillLoad(){b(this);const e=this.getItems(),t=e.filter((e=>e.checked)).pop();t?this.selectItem(t):e[0]&&(e[0].tabIndex=0)}componentDidLoad(){r(this,this.value),v(this)}connectedCallback(){m(this),p(this),c(this)}disconnectedCallback(){u(this),f(this),d(this)}componentDidRender(){g(this)}render(){return i(n,{onClick:this.handleClick,role:"radiogroup"},i("slot",null),i(h,{component:this}))}handleSelected(e){e.preventDefault(),this.selectItem(e.target),e.stopPropagation()}handleKeyDown(e){const{key:t}=e,{el:i,selectedItem:n}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(t))return;let o=t;"rtl"===l(i)&&("ArrowRight"===t&&(o="ArrowLeft"),"ArrowLeft"===t&&(o="ArrowRight"));const a=this.getItems();let s=-1;switch(a.forEach(((e,t)=>{e===n&&(s=t)})),o){case"ArrowLeft":case"ArrowUp":return e.preventDefault(),void this.selectItem(s<1?a[a.length-1]:a[s-1],!0);case"ArrowRight":case"ArrowDown":return e.preventDefault(),void this.selectItem(-1===s?a[1]:a[s+1]||a[0],!0);case" ":return e.preventDefault(),void this.selectItem(e.target,!0);default:return}}async setFocus(){var e;await k(this),null===(e=this.selectedItem||this.getItems()[0])||void 0===e||e.focus()}onLabelClick(){this.setFocus()}getItems(){return Array.from(this.el.querySelectorAll("calcite-segmented-control-item"))}selectItem(e,t=!1){if(e===this.selectedItem)return;const i=this.getItems();let n=null;i.forEach((i=>{const o=i===e;(o&&!i.checked||!o&&i.checked)&&(i.checked=o),i.tabIndex=o?0:-1,o&&(n=i,t&&this.calciteSegmentedControlChange.emit())})),this.selectedItem=n,n&&n.focus()}get el(){return o(this)}static get watchers(){return{value:["valueHandler"],selectedItem:["handleSelectedItemChange"]}}};w.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;background-color:var(--calcite-ui-foreground-1);inline-size:-moz-fit-content;inline-size:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}:host([appearance=outline]){background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([layout=vertical]){flex-direction:column;align-items:flex-start;align-self:flex-start}:host([width=full]){inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content}:host([width=full]) ::slotted(calcite-segmented-control-item){flex:1 1 auto}:host([width=full][layout=vertical]) ::slotted(calcite-segmented-control-item){justify-content:flex-start}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";
6
+ import{r as e,c as t,h as i,H as n,g as o}from"./p-9310b882.js";import{a as l,e as a,t as s}from"./p-a16feeec.js";import{a as r,c,d,H as h}from"./p-072155f9.js";import{c as m,d as u,u as g}from"./p-ad75b9bb.js";import{c as p,d as b}from"./p-d2d3e4b5.js";import{s as f,a as v,c as k}from"./p-476e5302.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";const w=class{constructor(i){e(this,i),this.calciteSegmentedControlChange=t(this,"calciteSegmentedControlChange",6),this.handleClick=e=>{this.disabled||"calcite-segmented-control-item"===e.target.localName&&this.selectItem(e.target,!0)},this.appearance="solid",this.disabled=!1,this.form=void 0,this.required=!1,this.layout="horizontal",this.name=void 0,this.scale="m",this.value=null,this.selectedItem=void 0,this.width="auto"}valueHandler(e){this.getItems().forEach((t=>t.checked=t.value===e))}handleSelectedItemChange(e,t){if(this.value=null==e?void 0:e.value,e===t)return;const i=this.getItems(),n=i.filter((t=>t===e)).pop();n?this.selectItem(n):i[0]&&(i[0].tabIndex=0)}componentWillLoad(){f(this);const e=this.getItems(),t=e.filter((e=>e.checked)).pop();t?this.selectItem(t):e[0]&&(e[0].tabIndex=0)}componentDidLoad(){r(this,this.value),v(this)}connectedCallback(){m(this),p(this),c(this)}disconnectedCallback(){u(this),b(this),d(this)}componentDidRender(){g(this)}render(){return i(n,{onClick:this.handleClick,role:"radiogroup"},i("slot",null),i(h,{component:this}))}handleSelected(e){e.preventDefault(),this.selectItem(e.target),e.stopPropagation()}handleKeyDown(e){const{key:t}=e,{el:i,selectedItem:n}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(t))return;let o=t;"rtl"===l(i)&&("ArrowRight"===t&&(o="ArrowLeft"),"ArrowLeft"===t&&(o="ArrowRight"));const a=this.getItems();let s=-1;switch(a.forEach(((e,t)=>{e===n&&(s=t)})),o){case"ArrowLeft":case"ArrowUp":return e.preventDefault(),void this.selectItem(s<1?a[a.length-1]:a[s-1],!0);case"ArrowRight":case"ArrowDown":return e.preventDefault(),void this.selectItem(-1===s?a[1]:a[s+1]||a[0],!0);case" ":return e.preventDefault(),void this.selectItem(e.target,!0);default:return}}async setFocus(){var e;await k(this),null===(e=this.selectedItem||this.getItems()[0])||void 0===e||e.focus()}onLabelClick(){this.setFocus()}getItems(){return Array.from(this.el.querySelectorAll("calcite-segmented-control-item"))}selectItem(e,t=!1){if(e===this.selectedItem)return;const i=this.getItems();let n=null;i.forEach((i=>{const o=i===e;(o&&!i.checked||!o&&i.checked)&&(i.checked=o),i.tabIndex=o?0:-1,o&&(n=i,t&&this.calciteSegmentedControlChange.emit())})),this.selectedItem=n,n&&n.focus()}get el(){return o(this)}static get watchers(){return{value:["valueHandler"],selectedItem:["handleSelectedItemChange"]}}};w.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;background-color:var(--calcite-ui-foreground-1);inline-size:-moz-fit-content;inline-size:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}:host([appearance=outline]){background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([layout=vertical]){flex-direction:column;align-items:flex-start;align-self:flex-start}:host([width=full]){inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content}:host([width=full]) ::slotted(calcite-segmented-control-item){flex:1 1 auto}:host([width=full][layout=vertical]) ::slotted(calcite-segmented-control-item){justify-content:flex-start}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
- * v1.6.0
10
+ * v1.6.1
11
11
  */
12
12
  const x="segmented-control-item-icon",y=class{constructor(i){e(this,i),this.calciteInternalSegmentedControlItemChange=t(this,"calciteInternalSegmentedControlItemChange",6),this.checked=!1,this.iconFlipRtl=!1,this.iconStart=void 0,this.iconEnd=void 0,this.value=void 0}handleCheckedChange(){this.calciteInternalSegmentedControlItemChange.emit()}render(){const{checked:e,value:t}=this,o=a(this.el,"scale","m"),l=a(this.el,"appearance","solid"),r=a(this.el,"layout","horizontal"),c=this.iconStart?i("calcite-icon",{class:x,flipRtl:this.iconFlipRtl,icon:this.iconStart,key:"icon-start",scale:"s"}):null,d=this.iconEnd?i("calcite-icon",{class:x,flipRtl:this.iconFlipRtl,icon:this.iconEnd,key:"icon-end",scale:"s"}):null;return i(n,{"aria-checked":s(e),"aria-label":t,role:"radio"},i("label",{class:{"label--scale-s":"s"===o,"label--scale-m":"m"===o,"label--scale-l":"l"===o,"label--horizontal":"horizontal"===r,"label--outline":"outline"===l,"label--outline-fill":"outline-fill"===l}},this.iconStart?c:null,i("slot",null,t),i("slot",{name:"input"}),this.iconEnd?d:null))}get el(){return o(this)}static get watchers(){return{checked:["handleCheckedChange"]}}};y.style=":host{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:0.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-ui-text-3);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:-1px}.label--scale-s{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}.label--scale-m{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}.label--scale-l{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:active) label{background-color:var(--calcite-ui-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}:host([checked]) .label--outline{background-color:transparent}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .segmented-control-item-icon{color:highlightText}}.segmented-control-item-icon{position:relative;margin:0px;display:inline-flex;line-height:inherit}:host([icon-start]) .label--scale-s .segmented-control-item-icon{margin-inline-end:0.5rem}:host([icon-end]) .label--scale-s .segmented-control-item-icon{margin-inline-start:0.5rem}:host([icon-start]) .label--scale-m .segmented-control-item-icon{margin-inline-end:0.75rem}:host([icon-end]) .label--scale-m .segmented-control-item-icon{margin-inline-start:0.75rem}:host([icon-start]) .label--scale-l .segmented-control-item-icon{margin-inline-end:1rem}:host([icon-end]) .label--scale-l .segmented-control-item-icon{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_segmented_control,y as calcite_segmented_control_item}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as e,c as i,h as t,H as o,g as s}from"./p-9310b882.js";import{h as r,t as a}from"./p-6b2f2b85.js";import{c as n,d as c,H as l}from"./p-2d70d3fd.js";import{c as d,d as h,u as p}from"./p-38ef0684.js";import{i as b}from"./p-2291b598.js";import{c as u,d as m,g as k}from"./p-3bd99fc9.js";import{c as v,s as f,a as g}from"./p-d62784a4.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";const x=class{constructor(t){e(this,t),this.calciteSwitchChange=i(this,"calciteSwitchChange",6),this.keyDownHandler=e=>{!this.disabled&&b(e.key)&&(this.toggle(),e.preventDefault())},this.clickHandler=()=>{this.disabled||this.toggle()},this.setSwitchEl=e=>{this.switchEl=e},this.disabled=!1,this.form=void 0,this.label=void 0,this.name=void 0,this.scale="m",this.checked=!1,this.value=void 0}async setFocus(){await v(this),r(this.switchEl)}syncHiddenFormInput(e){e.type="checkbox"}onLabelClick(){this.disabled||(this.toggle(),this.setFocus())}toggle(){this.checked=!this.checked,this.calciteSwitchChange.emit()}connectedCallback(){d(this),u(this),n(this)}componentWillLoad(){f(this)}componentDidLoad(){g(this)}disconnectedCallback(){h(this),m(this),c(this)}componentDidRender(){p(this)}render(){return t(o,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},t("div",{"aria-checked":a(this.checked),"aria-label":k(this),class:"container",role:"switch",tabIndex:0,ref:this.setSwitchEl},t("div",{class:"track"},t("div",{class:"handle"})),t(l,{component:this})))}get el(){return s(this)}};x.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]) .container{block-size:0.75rem}:host([scale=s]) .track{block-size:0.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:0.5rem;inline-size:0.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:0.75rem;inline-size:0.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{outline-width:0px}.track{pointer-events:none;position:relative;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;outline-color:transparent}:host(:focus) .track{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-block-start:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{x as calcite_switch}
6
+ import{r as e,c as i,h as t,H as o,g as s}from"./p-9310b882.js";import{h as r,t as a}from"./p-a16feeec.js";import{c as n,d as c,H as l}from"./p-072155f9.js";import{c as d,d as h,u as b}from"./p-ad75b9bb.js";import{i as p}from"./p-43ba7a04.js";import{c as u,d as m,g as k}from"./p-d2d3e4b5.js";import{c as v,s as f,a as g}from"./p-476e5302.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";const x=class{constructor(t){e(this,t),this.calciteSwitchChange=i(this,"calciteSwitchChange",6),this.keyDownHandler=e=>{!this.disabled&&p(e.key)&&(this.toggle(),e.preventDefault())},this.clickHandler=()=>{this.disabled||this.toggle()},this.setSwitchEl=e=>{this.switchEl=e},this.disabled=!1,this.form=void 0,this.label=void 0,this.name=void 0,this.scale="m",this.checked=!1,this.value=void 0}async setFocus(){await v(this),r(this.switchEl)}syncHiddenFormInput(e){e.type="checkbox"}onLabelClick(){this.disabled||(this.toggle(),this.setFocus())}toggle(){this.checked=!this.checked,this.calciteSwitchChange.emit()}connectedCallback(){d(this),u(this),n(this)}componentWillLoad(){f(this)}componentDidLoad(){g(this)}disconnectedCallback(){h(this),m(this),c(this)}componentDidRender(){b(this)}render(){return t(o,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},t("div",{"aria-checked":a(this.checked),"aria-label":k(this),class:"container",role:"switch",tabIndex:0,ref:this.setSwitchEl},t("div",{class:"track"},t("div",{class:"handle"})),t(l,{component:this})))}get el(){return s(this)}};x.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]) .container{block-size:0.75rem}:host([scale=s]) .track{block-size:0.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:0.5rem;inline-size:0.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:0.75rem;inline-size:0.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{outline-width:0px}.track{pointer-events:none;position:relative;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;outline-color:transparent}:host(:focus) .track{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-block-start:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{x as calcite_switch}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{b as t}from"./p-6b2f2b85.js";
6
+ import{b as t}from"./p-a16feeec.js";
7
7
  /**!
8
8
  * Sortable 1.15.0
9
9
  * @author RubaXa <trash@rubaxa.org>
@@ -13,6 +13,6 @@ import{b as t}from"./p-6b2f2b85.js";
13
13
  /*!
14
14
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
15
15
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
16
- * v1.6.0
16
+ * v1.6.1
17
17
  */
18
18
  const nn=new Set,en=new WeakSet;function on(t){if(rn(t),nn.add(t),en.has(t))return;const{group:n,handleSelector:i,dragSelector:e}=t;t.sortable=zt.create(t.el,{dataIdAttr:"id",...!!e&&{draggable:e},...!!n&&{group:{name:n,...!!t.canPull&&{pull:(n,i,e)=>t.canPull({toEl:n.el,fromEl:i.el,dragEl:e})},...!!t.canPut&&{put:(n,i,e)=>t.canPut({toEl:n.el,fromEl:i.el,dragEl:e})}}},handle:i,onStart:n=>{an(t).forEach((t=>en.add(t))),t.onDragStart(n)},onEnd:n=>{an(t).forEach((t=>en.delete(t))),t.onDragEnd(n)},onSort:n=>{t.onDragSort(n)}})}function rn(t){nn.delete(t),en.has(t)||(t.sortable?.destroy(),t.sortable=null)}function an(n){return Array.from(nn).filter((i=>i!==n&&t(n.el,i.el)))}export{on as c,rn as d}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,h as s,H as a,g as o}from"./p-9310b882.js";import{c as h}from"./p-6f2edf5b.js";import{s as n,a as e,c as l}from"./p-d62784a4.js";const r=class{constructor(s){t(this,s),this.calciteRadioButtonGroupChange=i(this,"calciteRadioButtonGroupChange",6),this.mutationObserver=h("mutation",(()=>this.passPropsToRadioButtons())),this.passPropsToRadioButtons=()=>{this.radioButtons=Array.from(this.el.querySelectorAll("calcite-radio-button")),this.selectedItem=Array.from(this.radioButtons).find((t=>t.checked))||null,this.radioButtons.length>0&&this.radioButtons.forEach((t=>{t.disabled=this.disabled||t.disabled,t.hidden=this.hidden,t.name=this.name,t.required=this.required,t.scale=this.scale}))},this.disabled=!1,this.hidden=!1,this.layout="horizontal",this.name=void 0,this.required=!1,this.selectedItem=null,this.scale="m",this.radioButtons=[]}onDisabledChange(){this.passPropsToRadioButtons()}onHiddenChange(){this.passPropsToRadioButtons()}onLayoutChange(){this.passPropsToRadioButtons()}onScaleChange(){this.passPropsToRadioButtons()}connectedCallback(){var t;this.passPropsToRadioButtons(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}componentWillLoad(){n(this)}componentDidLoad(){e(this)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}getFocusableRadioButton(){var t;return null!==(t=this.radioButtons.find((t=>!t.disabled)))&&void 0!==t?t:null}async setFocus(){var t;return await l(this),this.selectedItem&&!this.selectedItem.disabled?this.selectedItem.setFocus():this.radioButtons.length>0?null===(t=this.getFocusableRadioButton())||void 0===t?void 0:t.setFocus():void 0}radioButtonChangeHandler(t){this.selectedItem=t.target,this.calciteRadioButtonGroupChange.emit()}render(){return s(a,{role:"radiogroup"},s("slot",null))}get el(){return o(this)}static get watchers(){return{disabled:["onDisabledChange"],hidden:["onHiddenChange"],layout:["onLayoutChange"],scale:["onScaleChange"]}}};r.style=":host{display:flex;max-inline-size:100vw}:host([layout=horizontal]){flex-direction:row;flex-wrap:wrap}:host([layout=horizontal][scale=s]){gap:1rem}:host([layout=horizontal][scale=m]){gap:1.25rem}:host([layout=horizontal][scale=l]){gap:1.5rem}:host([layout=vertical]){flex-direction:column}:host([hidden]){display:none}[hidden]{display:none}";export{r as calcite_radio_button_group}
6
+ import{r as t,c as i,h as s,H as o,g as a}from"./p-9310b882.js";import{c as h}from"./p-588bc0c0.js";import{s as n,a as e,c as l}from"./p-476e5302.js";const r=class{constructor(s){t(this,s),this.calciteRadioButtonGroupChange=i(this,"calciteRadioButtonGroupChange",6),this.mutationObserver=h("mutation",(()=>this.passPropsToRadioButtons())),this.passPropsToRadioButtons=()=>{this.radioButtons=Array.from(this.el.querySelectorAll("calcite-radio-button")),this.selectedItem=Array.from(this.radioButtons).find((t=>t.checked))||null,this.radioButtons.length>0&&this.radioButtons.forEach((t=>{t.disabled=this.disabled||t.disabled,t.hidden=this.hidden,t.name=this.name,t.required=this.required,t.scale=this.scale}))},this.disabled=!1,this.hidden=!1,this.layout="horizontal",this.name=void 0,this.required=!1,this.selectedItem=null,this.scale="m",this.radioButtons=[]}onDisabledChange(){this.passPropsToRadioButtons()}onHiddenChange(){this.passPropsToRadioButtons()}onLayoutChange(){this.passPropsToRadioButtons()}onScaleChange(){this.passPropsToRadioButtons()}connectedCallback(){var t;this.passPropsToRadioButtons(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}componentWillLoad(){n(this)}componentDidLoad(){e(this)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}getFocusableRadioButton(){var t;return null!==(t=this.radioButtons.find((t=>!t.disabled)))&&void 0!==t?t:null}async setFocus(){var t;return await l(this),this.selectedItem&&!this.selectedItem.disabled?this.selectedItem.setFocus():this.radioButtons.length>0?null===(t=this.getFocusableRadioButton())||void 0===t?void 0:t.setFocus():void 0}radioButtonChangeHandler(t){this.selectedItem=t.target,this.calciteRadioButtonGroupChange.emit()}render(){return s(o,{role:"radiogroup"},s("slot",null))}get el(){return a(this)}static get watchers(){return{disabled:["onDisabledChange"],hidden:["onHiddenChange"],layout:["onLayoutChange"],scale:["onScaleChange"]}}};r.style=":host{display:flex;max-inline-size:100vw}:host([layout=horizontal]){flex-direction:row;flex-wrap:wrap}:host([layout=horizontal][scale=s]){gap:1rem}:host([layout=horizontal][scale=m]){gap:1.25rem}:host([layout=horizontal][scale=l]){gap:1.5rem}:host([layout=vertical]){flex-direction:column}:host([hidden]){display:none}[hidden]{display:none}";export{r as calcite_radio_button_group}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,h as i,H as s,g as e,c as a}from"./p-9310b882.js";import{l as n}from"./p-0266ca81.js";import{g as h}from"./p-7f9642d5.js";import{g as o}from"./p-868df4a0.js";import"./p-e1a4994d.js";const r=class{constructor(i){t(this,i),this.mapView=void 0,this.basemapWidget=void 0}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initBaseMapGallery(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return i(s,null,i("div",{ref:t=>{this._basemapElement=t}}))}async _initModules(){const[t]=await n(["esri/widgets/BasemapGallery"]);this.BasemapGallery=t}_initBaseMapGallery(t){t&&this.BasemapGallery&&(this.basemapWidget?this.basemapWidget.view=t:this.basemapWidget=new this.BasemapGallery({container:this._basemapElement,view:t}))}get el(){return e(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};r.style=":host{display:block}";const c=class{constructor(i){t(this,i),this.mapView=void 0,this.legendWidget=void 0}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initLegend(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return i(s,null,i("div",{ref:t=>{this._legendElement=t}}))}async _initModules(){const[t]=await n(["esri/widgets/Legend"]);this.Legend=t}_initLegend(t){t&&this.Legend&&(this.legendWidget?this.legendWidget.view=t:this.legendWidget=new this.Legend({container:this._legendElement,view:t}))}get el(){return e(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};c.style=":host{display:block}";const l=class{constructor(i){t(this,i),this.mapInfoChange=a(this,"mapInfoChange",7),this._loadedId="",this.mapInfos=[],this._mapListExpanded=!1,this._webMapInfo=void 0}_webMapInfoWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&(this._loadedId=null==t?void 0:t.id,this.mapInfoChange.emit(t))}mapInfosWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this.mapInfoChange.emit(t[0])}render(){return i(s,null,this._getToolbar(),this._getMapNameList(this._mapListExpanded))}async componentDidRender(){this._mapListExpanded&&await this._list.setFocus()}componentDidLoad(){const t=this.mapInfos&&this.mapInfos.length>0?this.mapInfos[0]:void 0;t&&this._webMapSelected(t)}_getMapPicker(){var t;return i("calcite-button",{alignment:"icon-end-space-between",appearance:"transparent",class:"width-full height-full",iconEnd:this._mapListExpanded?"chevron-up":"chevron-down",kind:"neutral",onClick:()=>this._chooseMap(),width:"full"},null===(t=this._webMapInfo)||void 0===t?void 0:t.name)}_getToolbar(){return i("div",{class:"display-flex"},i("calcite-action-bar",{class:"action-bar-color border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:"header"},this._getMapPicker()))}_getMapNameList(t){return i("div",{class:t?"map-list":"display-none"},i("calcite-list",{id:"mapList",ref:t=>this._list=t,selectionAppearance:"border"},this.mapInfos.map((t=>i("calcite-list-item",{label:t.name,onClick:()=>this._webMapSelected(t),selected:t.id===this._loadedId,value:t.id})))))}_webMapSelected(t){this._mapListExpanded=!1,this._webMapInfo=t}_chooseMap(){this._mapListExpanded=!this._mapListExpanded}get el(){return e(this)}static get watchers(){return{_webMapInfo:["_webMapInfoWatchHandler"],mapInfos:["mapInfosWatchHandler"]}}};l.style=":host{display:block}.width-full{width:100%}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.action-bar-color{background-color:var(--calcite-ui-border-3) !important}";const d=class{constructor(i){t(this,i),this.mapView=void 0,this.popupEnabled=!1,this.resultGraphicEnabled=!1,this.searchConfiguration=void 0,this.searchTerm=void 0,this.searchWidget=void 0}async watchSearchConfigurationHandler(){this._initSearchWidget()}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initSearchWidget()}))}async componentWillLoad(){await this._initModules()}async componentDidLoad(){return this._initSearchWidget()}render(){return i(s,null,i("div",{class:"search-widget",ref:t=>{this._searchElement=t}}))}async _initModules(){const[t,i]=await n(["esri/widgets/Search","esri/layers/FeatureLayer"]);this.Search=t,this.FeatureLayer=i}_initSearchWidget(){if(this.mapView&&this._searchElement&&!this.searchWidget){let t={view:this.mapView,container:this._searchElement,searchTerm:this.searchTerm};if(this.searchConfiguration){const i=this._getSearchConfig(this.searchConfiguration,this.mapView);t=Object.assign({},i)}this.searchWidget=new this.Search(t),this.searchWidget.popupEnabled=this.popupEnabled,this.searchWidget.resultGraphicEnabled=this.resultGraphicEnabled}else this.searchWidget&&(this.searchWidget.view=this.mapView)}_getSearchConfig(t,i){const s=t.sources;return(null==s?void 0:s.length)>0?(t.includeDefaultSources=!1,s.forEach((t=>{var s,e;if(t.hasOwnProperty("layer")){const a=t,n=null===(s=a.layer)||void 0===s?void 0:s.id,h=n?i.map.findLayerById(n):null,o=null===(e=null==a?void 0:a.layer)||void 0===e?void 0:e.url;h?a.layer=h:o&&(a.layer=new this.FeatureLayer(o))}})),null==s||s.forEach((t=>{if(t.hasOwnProperty("locator")){const i=t;"ArcGIS World Geocoding Service"===(null==i?void 0:i.name)&&(i.outFields=i.outFields||["Addr_type","Match_addr","StAddr","City"],i.singleLineFieldName="SingleLine"),i.url=i.url,delete i.url}}))):t=Object.assign(Object.assign({},t),{includeDefaultSources:!0}),t}static get watchers(){return{searchConfiguration:["watchSearchConfigurationHandler"],mapView:["mapViewWatchHandler"]}}};d.style=":host{display:block}.search-widget{width:100% !important;border:1px solid var(--calcite-ui-border-input)}";const p=class{constructor(i){t(this,i),this.expandMap=a(this,"expandMap",7),this.layout="vertical",this.mapView=void 0,this.searchConfiguration=void 0,this._translations=void 0,this._showTools=!0,this._showBasemapWidget=!1,this._showLegendWidget=!1,this._showSearchWidget=!1}async _showBasemapWidgetWatchHandler(t){t?this.mapView.ui.add(this._basemapElement.basemapWidget,{position:"top-right",index:1}):this.mapView.ui.remove(this._basemapElement.basemapWidget)}async _showLegendWidgetWatchHandler(t){t?this.mapView.ui.add(this._legendElement.legendWidget,{position:"top-right",index:1}):this.mapView.ui.remove(this._legendElement.legendWidget)}async _showSearchWidgetWatchHandler(t){t?this.mapView.ui.add(this._searchElement.searchWidget,{position:"top-right",index:1}):this.mapView.ui.remove(this._searchElement.searchWidget)}async componentWillLoad(){await this._getTranslations()}render(){const t=this._showTools?"":"display-none",e=this._showSearchWidget?"":"display-none",a=this._showBasemapWidget?"":"display-none",n=this._showLegendWidget?"":"display-none";return i(s,null,i("div",null,i("calcite-action",{alignment:"center",class:"border square-40",compact:!1,icon:this._showTools?"chevrons-up":"chevrons-down",onClick:()=>{this._toggleTools()},scale:"s",text:""}),i("calcite-action-bar",{class:`width-40 border margin-top-1-2 ${t}`,"expand-disabled":!0,layout:this.layout},this._getActionGroup("legend",!1,this._translations.legend,(()=>this._showLegend())),this._getActionGroup("magnifying-glass",!1,this._translations.search,(()=>this._search())),this._getActionGroup("expand",!1,this._translations.expand,(()=>this._expand())),this._getActionGroup("basemap",!1,this._translations.basemap,(()=>this._toggleBasemapPicker())))),i("basemap-gallery",{class:a,mapView:this.mapView,ref:t=>{this._basemapElement=t}}),i("map-search",{class:e,mapView:this.mapView,ref:t=>{this._searchElement=t},searchConfiguration:this.searchConfiguration}),i("map-legend",{class:n,mapView:this.mapView,ref:t=>{this._legendElement=t}}))}_getActionGroup(t,s,e,a){return i("calcite-action-group",{class:"square-40-41"},i("calcite-action",{alignment:"center",class:"square-40",compact:!1,disabled:s,icon:t,id:t,onClick:a,scale:"s",text:""},i("calcite-icon",{icon:"cheveron-up",scale:"s",slot:"icon"})),i("calcite-tooltip",{label:"",placement:"trailing","reference-element":t},i("span",null,e)))}_showLegend(){this._showLegendWidget=!this._showLegendWidget,this._showTools=!1}_search(){this._showSearchWidget=!this._showSearchWidget,this._showTools=!1}_toggleBasemapPicker(){this._showBasemapWidget=!this._showBasemapWidget,this._showTools=!1}_expand(){this.expandMap.emit(o.EXPAND)}_toggleTools(){this._showTools||(this._showBasemapWidget=!1,this._showSearchWidget=!1,this._showLegendWidget=!1),this._showTools=!this._showTools}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}get el(){return e(this)}static get watchers(){return{_showBasemapWidget:["_showBasemapWidgetWatchHandler"],_showLegendWidget:["_showLegendWidgetWatchHandler"],_showSearchWidget:["_showSearchWidgetWatchHandler"]}}};p.style=":host{display:block}.display-none{display:none}.border{border:1px solid var(--calcite-ui-border-3)}.margin-top-1-2{margin-top:0.5rem}.square-40{width:40px;height:40px}.width-40{width:40px}.square-40-41{width:40px;height:41px}";export{r as basemap_gallery,c as map_legend,l as map_picker,d as map_search,p as map_tools}
@@ -3,21 +3,21 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as e,h as i,F as s,g as n,H as a}from"./p-9310b882.js";import{f as l}from"./p-9bbc05ff.js";import{c as o,u as c,d as r}from"./p-38ef0684.js";import{s as h,a as d,c as u}from"./p-d62784a4.js";import{c as p,d as f}from"./p-56300653.js";import{u as g,s as m,c as b,d as v}from"./p-1ede2e18.js";import{d as x}from"./p-a82f35c9.js";import{t as y,r as C,a as w}from"./p-6b2f2b85.js";import{c as k}from"./p-6f2edf5b.js";import{u as L,a as I,M as E,g as S,I as z,C as A,S as D}from"./p-d554507d.js";import{d as j,c as F}from"./p-3aba40e8.js";import"./p-2291b598.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";
6
+ import{r as t,c as e,h as i,F as s,g as n,H as a}from"./p-9310b882.js";import{f as l}from"./p-3a844a72.js";import{c as o,u as c,d as r}from"./p-ad75b9bb.js";import{s as h,a as d,c as u}from"./p-476e5302.js";import{c as p,d as f}from"./p-7f271c31.js";import{u as g,s as m,c as b,d as v}from"./p-2592c0b8.js";import{d as x}from"./p-a82f35c9.js";import{t as y,r as C,a as w}from"./p-a16feeec.js";import{c as k}from"./p-588bc0c0.js";import{u as L,a as I,M as E,g as S,I as z,C as A,S as D}from"./p-1eda2d20.js";import{d as j,c as F}from"./p-f7b520ae.js";import"./p-43ba7a04.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
- * v1.6.0
10
+ * v1.6.1
11
11
  */const M=class{constructor(i){t(this,i),this.calciteFilterChange=e(this,"calciteFilterChange",6),this.filterDebounced=x(((t,e=!1,i)=>this.updateFiltered(l(this.items,t),e,i)),250),this.inputHandler=t=>{const e=t.target;this.value=e.value,this.filterDebounced(e.value,!0)},this.keyDownHandler=t=>{"Escape"===t.key&&(this.clear(),t.preventDefault()),"Enter"===t.key&&t.preventDefault()},this.clear=()=>{this.value="",this.filterDebounced("",!0),this.setFocus()},this.items=[],this.disabled=!1,this.filteredItems=[],this.placeholder=void 0,this.scale="m",this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}watchItemsHandler(){this.filterDebounced(this.value)}onMessagesChange(){}valueHandler(t){this.filterDebounced(t)}effectiveLocaleChange(){g(this,this.effectiveLocale)}async componentWillLoad(){h(this),this.updateFiltered(l(this.items,this.value)),await m(this)}connectedCallback(){o(this),p(this),b(this)}componentDidRender(){c(this)}disconnectedCallback(){r(this),f(this),v(this),this.filterDebounced.cancel()}componentDidLoad(){d(this)}async filter(t=this.value){return new Promise((e=>{this.value=t,this.filterDebounced(t,!1,e)}))}async setFocus(){var t;await u(this),null===(t=this.el)||void 0===t||t.focus()}updateFiltered(t,e=!1,i){this.filteredItems=t,e&&this.calciteFilterChange.emit(),null==i||i()}render(){const{disabled:t,scale:e}=this;return i(s,null,i("div",{class:"container"},i("label",null,i("calcite-input",{"aria-label":this.messages.label,clearable:!0,disabled:t,icon:"search",messageOverrides:{clear:this.messages.clear},onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,scale:e,type:"text",value:this.value,ref:t=>{this.textInput=t}}))))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{items:["watchItemsHandler"],messageOverrides:["onMessagesChange"],value:["valueHandler"],effectiveLocale:["effectiveLocaleChange"]}}};M.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:flex;inline-size:100%;align-items:center;overflow:hidden}input[type=text]{margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);padding-inline-end:0.25rem;padding-inline-start:1.5rem;transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:flex;cursor:pointer;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}:host([hidden]){display:none}[hidden]{display:none}";
12
12
  /*!
13
13
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
14
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
15
- * v1.6.0
15
+ * v1.6.1
16
16
  */
17
17
  const T=class{constructor(i){t(this,i),this.calciteHandleNudge=e(this,"calciteHandleNudge",6),this.calciteInternalHandleChange=e(this,"calciteInternalHandleChange",6),this.handleKeyDown=t=>{switch(t.key){case" ":this.activated=!this.activated,t.preventDefault();break;case"ArrowUp":if(!this.activated)return;t.preventDefault(),this.calciteHandleNudge.emit({direction:"up"});break;case"ArrowDown":if(!this.activated)return;t.preventDefault(),this.calciteHandleNudge.emit({direction:"down"})}},this.handleBlur=()=>{this.activated=!1},this.activated=!1,this.dragHandle=void 0,this.messages=void 0,this.setPosition=void 0,this.setSize=void 0,this.label=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleAriaTextChange(){const t=this.getAriaText("live");t&&this.calciteInternalHandleChange.emit({message:t})}onMessagesChange(){}connectedCallback(){b(this),p(this)}async componentWillLoad(){h(this),await m(this)}componentDidLoad(){d(this)}disconnectedCallback(){v(this),f(this)}effectiveLocaleChange(){g(this,this.effectiveLocale)}async setFocus(){var t;await u(this),null===(t=this.handleButton)||void 0===t||t.focus()}getAriaText(t){const{setPosition:e,setSize:i,label:s,messages:n,activated:a}=this;return n&&s&&"number"==typeof i&&"number"==typeof e?("label"===t?a?n.dragHandleChange:n.dragHandleIdle:a?n.dragHandleActive:n.dragHandleCommit).replace("{position}",e.toString()).replace("{itemLabel}",s).replace("{total}",i.toString()):null}render(){var t;return i("span",{"aria-label":this.getAriaText("label"),"aria-pressed":y(this.activated),class:{handle:!0,"handle--activated":this.activated},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,role:"button",tabindex:"0",title:null===(t=this.messages)||void 0===t?void 0:t.dragHandle,ref:t=>{this.handleButton=t}},i("calcite-icon",{icon:"drag",scale:"s"}))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messages:["handleAriaTextChange"],label:["handleAriaTextChange"],activated:["handleAriaTextChange"],setPosition:["handleAriaTextChange"],setSize:["handleAriaTextChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};T.style=":host{display:flex}.handle{display:flex;cursor:move;align-items:center;justify-content:center;align-self:stretch;border-style:none;background-color:transparent;outline-color:transparent;color:var(--calcite-ui-border-input);padding-block:0.75rem;padding-inline:0.25rem;line-height:0}.handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.handle:focus{color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.handle--activated{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.handle calcite-icon{color:inherit}:host([hidden]){display:none}[hidden]{display:none}";
18
18
  /*!
19
19
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
20
20
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
21
- * v1.6.0
21
+ * v1.6.1
22
22
  */
23
23
  const H="actions-start",P="actions-end",O="calcite-list-item",_=class{constructor(i){t(this,i),this.calciteListChange=e(this,"calciteListChange",6),this.calciteListFilter=e(this,"calciteListFilter",6),this.calciteListOrderChange=e(this,"calciteListOrderChange",6),this.calciteInternalListDefaultSlotChange=e(this,"calciteInternalListDefaultSlotChange",6),this.dragSelector="calcite-list-item",this.enabledListItems=[],this.handleSelector="calcite-handle",this.listItems=[],this.mutationObserver=k("mutation",(()=>this.updateListItems())),this.handleDefaultSlotChange=t=>{L(I(t.target)),this.parentListEl&&this.calciteInternalListDefaultSlotChange.emit()},this.handleFilterActionsStartSlotChange=t=>{this.hasFilterActionsStart=C(t)},this.handleFilterActionsEndSlotChange=t=>{this.hasFilterActionsEnd=C(t)},this.setActiveListItem=()=>{const{enabledListItems:t}=this;t.some((t=>t.active))||t[0]&&(t[0].active=!0)},this.updateSelectedItems=(t=!1)=>{this.selectedItems=this.enabledListItems.filter((t=>t.selected)),t&&this.calciteListChange.emit()},this.updateFilteredItems=(t=!1)=>{const{listItems:e,filteredData:i,filterText:s}=this,n=i.map((t=>t.value)),a=null==e?void 0:e.filter((t=>e.every((e=>e===t||!t.contains(e))))),l=e.filter((t=>!s||n.includes(t.value)))||[],o=new WeakSet;a.forEach((t=>this.filterElements({el:t,filteredItems:l,visibleParents:o}))),this.filteredItems=l,t&&this.calciteListFilter.emit()},this.setFilterEl=t=>{this.filterEl=t,this.performFilter()},this.handleFilterChange=t=>{t.stopPropagation();const{value:e}=t.currentTarget;this.filterText=e,this.updateFilteredData(!0)},this.getItemData=()=>this.listItems.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value}))),this.updateListItems=x(((t=!1)=>{const{selectionAppearance:e,selectionMode:i,dragEnabled:s}=this;if(this.parentListEl)return this.queryListItems(!0).forEach((t=>{t.selectionAppearance=e,t.selectionMode=i,t.dragHandle=s})),void this.setUpSorting();const n=this.queryListItems();n.forEach((t=>{t.selectionAppearance=e,t.selectionMode=i,t.dragHandle=s})),this.listItems=n,this.filterEnabled&&(this.dataForFilter=this.getItemData(),this.filterEl&&(this.filterEl.items=this.dataForFilter)),this.updateFilteredItems(t),this.enabledListItems=this.filteredItems.filter((t=>!t.disabled&&!t.closed)),this.setActiveListItem(),this.updateSelectedItems(t),this.setUpSorting()}),0),this.queryListItems=(t=!1)=>Array.from(this.el.querySelectorAll(t?":scope > calcite-list-item":O)),this.focusRow=t=>{const{enabledListItems:e}=this;t&&(e.forEach((e=>e.active=e===t)),t.setFocus())},this.isNavigable=t=>{var e;const i=null===(e=t.parentElement)||void 0===e?void 0:e.closest(O);return!i||i.open&&this.isNavigable(i)},this.handleListKeydown=t=>{var e;if(t.defaultPrevented||this.parentListEl)return;const{key:i}=t,s=this.enabledListItems.filter((t=>this.isNavigable(t))),n=s.findIndex((t=>t.active));if("ArrowDown"===i){t.preventDefault();const e=t.target===this.filterEl?0:n+1;s[e]&&this.focusRow(s[e])}else if("ArrowUp"===i){if(t.preventDefault(),0===n&&this.filterEnabled)return void(null===(e=this.filterEl)||void 0===e||e.setFocus());const i=n-1;s[i]&&this.focusRow(s[i])}else if("Home"===i){t.preventDefault();const e=s[0];e&&this.focusRow(e)}else if("End"===i){t.preventDefault();const e=s[s.length-1];e&&this.focusRow(e)}},this.disabled=!1,this.canPull=void 0,this.canPut=void 0,this.dragEnabled=!1,this.group=void 0,this.filterEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterPlaceholder=void 0,this.filterText=void 0,this.label=void 0,this.loading=!1,this.openable=!1,this.selectedItems=[],this.selectionMode="none",this.selectionAppearance="icon",this.assistiveText=void 0,this.dataForFilter=[],this.hasFilterActionsEnd=!1,this.hasFilterActionsStart=!1}async handleFilterTextChange(){this.performFilter()}handleListItemChange(){this.updateListItems()}handleCalciteInternalFocusPreviousItem(t){if(this.parentListEl)return;t.stopPropagation();const{enabledListItems:e}=this,i=e.findIndex((t=>t.active))-1;e[i]&&this.focusRow(e[i])}handleCalciteInternalListItemActive(t){if(this.parentListEl)return;t.stopPropagation();const e=t.target,{listItems:i}=this;i.forEach((t=>{t.active=t===e}))}handleCalciteListItemSelect(){this.parentListEl||this.updateSelectedItems(!0)}handleCalciteInternalHandleChange(t){this.assistiveText=t.detail.message,t.stopPropagation()}handleCalciteHandleNudge(t){this.parentListEl||this.handleNudgeEvent(t)}handleCalciteInternalListItemSelect(t){if(this.parentListEl)return;t.stopPropagation();const e=t.target,{listItems:i,selectionMode:s}=this;!e.selected||"single"!==s&&"single-persist"!==s||i.forEach((t=>t.selected=t===e)),this.updateSelectedItems()}handleCalciteInternalListItemChange(t){this.parentListEl||(t.stopPropagation(),this.updateListItems(!0))}handleCalciteInternalListItemGroupDefaultSlotChange(t){t.stopPropagation()}connectedCallback(){this.connectObserver(),this.updateListItems(),this.setUpSorting(),o(this),this.parentListEl=this.el.parentElement.closest("calcite-list")}disconnectedCallback(){this.disconnectObserver(),j(this),r(this)}componentWillLoad(){h(this)}componentDidRender(){c(this)}componentDidLoad(){d(this)}async setFocus(){var t,e;return await u(this),this.filterEnabled?null===(t=this.filterEl)||void 0===t?void 0:t.setFocus():null===(e=this.enabledListItems.find((t=>t.active)))||void 0===e?void 0:e.setFocus()}render(){const{loading:t,label:e,disabled:s,dataForFilter:n,filterEnabled:a,filterPlaceholder:l,filterText:o,hasFilterActionsStart:c,hasFilterActionsEnd:r}=this;return i("div",{class:"container"},this.dragEnabled?i("span",{"aria-live":"assertive",class:"assistive-text"},this.assistiveText):null,t?i("calcite-scrim",{class:"scrim",loading:t}):null,i("table",{"aria-busy":y(t),"aria-label":e||"",class:"table",onKeyDown:this.handleListKeydown,role:"treegrid"},a||c||r?i("thead",null,i("tr",{class:{"sticky-pos":!0}},i("th",{colSpan:E},i("calcite-stack",{class:"stack"},i("slot",{name:"filter-actions-start",onSlotchange:this.handleFilterActionsStartSlotChange,slot:H}),i("calcite-filter",{"aria-label":l,disabled:t||s,items:n,onCalciteFilterChange:this.handleFilterChange,placeholder:l,value:o,ref:this.setFilterEl}),i("slot",{name:"filter-actions-end",onSlotchange:this.handleFilterActionsEndSlotChange,slot:P}))))):null,i("tbody",{class:"table-container"},i("slot",{onSlotchange:this.handleDefaultSlotChange}))))}connectObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}disconnectObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}setUpSorting(){const{dragEnabled:t}=this;t&&F(this)}onDragStart(){this.disconnectObserver()}onDragEnd(){this.connectObserver()}onDragSort(t){this.updateListItems();const{from:e,item:i,to:s}=t;this.calciteListOrderChange.emit({dragEl:i,fromEl:e,toEl:s})}filterElements({el:t,filteredItems:e,visibleParents:i}){const s=!i.has(t)&&!e.includes(t);t.hidden=s;const n=t.parentElement.closest("calcite-list-item-group, calcite-list-item");n&&(s||i.add(n),this.filterElements({el:n,filteredItems:e,visibleParents:i}))}updateFilteredData(t=!1){const{filterEl:e}=this;e&&(e.filteredItems&&(this.filteredData=e.filteredItems),this.updateListItems(t))}async performFilter(){const{filterEl:t,filterText:e}=this;t&&(t.value=e,await t.filter(e),this.updateFilteredData())}handleNudgeEvent(t){const{direction:e}=t.detail,i=t.composedPath(),s=i.find((t=>"CALCITE-HANDLE"===t.tagName)),n=i.find((t=>"CALCITE-LIST-ITEM"===t.tagName)),a=null==n?void 0:n.parentElement;if(!a)return;const{enabledListItems:l}=this,o=l.filter((t=>t.parentElement===a)),c=o.length-1,r=o.indexOf(n);let h,d=!1;"up"===e?0===r?d=!0:h=r-1:r===c?h=0:r===c-1?d=!0:h=r+2,this.disconnectObserver(),d?a.appendChild(n):a.insertBefore(n,o[h]),this.updateListItems(),this.connectObserver(),this.calciteListOrderChange.emit({dragEl:n,fromEl:null,toEl:null}),s.setFocus().then((()=>{s.activated=!0}))}get el(){return n(this)}static get watchers(){return{filterText:["handleFilterTextChange"],filterEnabled:["handleListItemChange"],group:["handleListItemChange"],dragEnabled:["handleListItemChange"],selectionMode:["handleListItemChange"],selectionAppearance:["handleListItemChange"]}}};_.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{position:relative}.table-container{position:relative;z-index:var(--calcite-app-z-index);box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}.table-container *{box-sizing:border-box}.table{inline-size:100%;border-collapse:collapse}.stack{--calcite-stack-padding-inline:0;--calcite-stack-padding-block:0}::slotted(calcite-list-item){margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}::slotted(calcite-list-item:last-child){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index-sticky);background-color:var(--calcite-ui-foreground-1)}.sticky-pos th{padding:0px}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";const W=new Map,B=class{constructor(i){t(this,i),this.calciteListItemSelect=e(this,"calciteListItemSelect",6),this.calciteListItemClose=e(this,"calciteListItemClose",6),this.calciteInternalListItemSelect=e(this,"calciteInternalListItemSelect",6),this.calciteInternalListItemActive=e(this,"calciteInternalListItemActive",6),this.calciteInternalFocusPreviousItem=e(this,"calciteInternalFocusPreviousItem",6),this.calciteInternalListItemChange=e(this,"calciteInternalListItemChange",6),this.closeClickHandler=()=>{this.closed=!0,this.calciteListItemClose.emit()},this.handleContentSlotChange=t=>{this.hasCustomContent=C(t)},this.handleActionsStartSlotChange=t=>{this.hasActionsStart=C(t)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=C(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=C(t)},this.handleContentEndSlotChange=t=>{this.hasContentEnd=C(t)},this.handleDefaultSlotChange=t=>{this.handleOpenableChange(t.target)},this.toggleOpen=()=>{this.open=!this.open},this.itemClicked=t=>{t.defaultPrevented||(this.toggleSelected(),this.calciteInternalListItemActive.emit())},this.toggleSelected=()=>{const{selectionMode:t,selected:e}=this;this.disabled||("multiple"===t||"single"===t?this.selected=!e:"single-persist"===t&&(this.selected=!0),this.calciteListItemSelect.emit())},this.handleItemKeyDown=t=>{if(t.defaultPrevented)return;const{key:e}=t,i=t.composedPath(),{containerEl:s,contentEl:n,actionsStartEl:a,actionsEndEl:l,open:o,openable:c}=this,r=[a,n,l].filter(Boolean),h=r.findIndex((t=>i.includes(t)));if("Enter"===e)t.preventDefault(),this.toggleSelected();else if("ArrowRight"===e){t.preventDefault();const e=h+1;-1===h?!o&&c?(this.open=!0,this.focusCell(null)):r[0]&&this.focusCell(r[0]):r[h]&&r[e]&&this.focusCell(r[e])}else if("ArrowLeft"===e){t.preventDefault();const e=h-1;-1===h?(this.focusCell(null),o&&c?this.open=!1:this.calciteInternalFocusPreviousItem.emit()):0===h?(this.focusCell(null),s.focus()):r[h]&&r[e]&&this.focusCell(r[e])}},this.focusCellNull=()=>{this.focusCell(null)},this.focusCell=(t,e=!0)=>{const{contentEl:i,actionsStartEl:s,actionsEndEl:n,parentListEl:a}=this;e&&W.set(a,null),[s,i,n].filter(Boolean).forEach(((i,s)=>{const n="tabindex";i===t?(i.setAttribute(n,"0"),e&&W.set(a,s)):i.removeAttribute(n)})),null==t||t.focus()},this.active=!1,this.closable=!1,this.closed=!1,this.description=void 0,this.disabled=!1,this.dragHandle=!1,this.label=void 0,this.metadata=void 0,this.open=!1,this.setSize=null,this.setPosition=null,this.selected=!1,this.value=void 0,this.selectionMode=null,this.selectionAppearance=null,this.messageOverrides=void 0,this.messages=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.level=null,this.visualLevel=null,this.parentListEl=void 0,this.openable=!1,this.hasActionsStart=!1,this.hasActionsEnd=!1,this.hasCustomContent=!1,this.hasContentStart=!1,this.hasContentEnd=!1}activeHandler(t){t||this.focusCell(null,!1)}handleClosedChange(){this.emitCalciteInternalListItemChange()}handleDisabledChange(){this.emitCalciteInternalListItemChange()}handleSelectedChange(){this.calciteInternalListItemSelect.emit()}onMessagesChange(){}handleCalciteInternalListDefaultSlotChanges(t){t.stopPropagation(),this.handleOpenableChange(this.defaultSlotEl)}effectiveLocaleChange(){g(this,this.effectiveLocale)}connectedCallback(){o(this),p(this),b(this);const{el:t}=this;this.parentListEl=t.closest("calcite-list"),this.level=S(t)+1,this.visualLevel=S(t,!0),this.setSelectionDefaults()}async componentWillLoad(){h(this),await m(this)}componentDidLoad(){d(this)}componentDidRender(){c(this,"managed")}disconnectedCallback(){r(this),f(this),v(this)}async setFocus(){await u(this);const{containerEl:t,contentEl:e,actionsStartEl:i,actionsEndEl:s,parentListEl:n}=this,a=W.get(n);if("number"!=typeof a)null==t||t.focus();else{const n=[i,e,s].filter(Boolean);n[a]?this.focusCell(n[a]):null==t||t.focus()}}renderSelected(){const{selected:t,selectionMode:e,selectionAppearance:s}=this;return"none"===e||"border"===s?null:i("td",{class:A.selectionContainer,key:"selection-container",onClick:this.itemClicked},i("calcite-icon",{icon:t?"multiple"===e?z.selectedMultiple:z.selectedSingle:z.unselected,scale:"s"}))}renderDragHandle(){return this.dragHandle?i("td",{class:A.dragContainer,key:"drag-handle-container"},i("calcite-handle",{label:this.label,setPosition:this.setPosition,setSize:this.setSize})):null}renderOpen(){const{el:t,open:e,openable:s,parentListEl:n}=this,a=w(t);return s?i("td",{class:A.openContainer,key:"open-container",onClick:this.toggleOpen},i("calcite-icon",{icon:e?z.open:"rtl"===a?z.closedRTL:z.closedLTR,scale:"s"})):(null==n?void 0:n.openable)?i("td",{class:A.openContainer,key:"open-container",onClick:this.itemClicked},i("calcite-icon",{icon:z.blank,scale:"s"})):null}renderActionsStart(){const{label:t,hasActionsStart:e}=this;return i("td",{"aria-label":t,class:A.actionsStart,hidden:!e,key:"actions-start-container",role:"gridcell",ref:t=>this.actionsStartEl=t},i("slot",{name:D.actionsStart,onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{label:t,hasActionsEnd:e,closable:s,messages:n}=this;return i("td",{"aria-label":t,class:A.actionsEnd,hidden:!(e||s),key:"actions-end-container",role:"gridcell",ref:t=>this.actionsEndEl=t},i("slot",{name:D.actionsEnd,onSlotchange:this.handleActionsEndSlotChange}),s?i("calcite-action",{appearance:"transparent",icon:z.close,key:"close-action",label:n.close,onClick:this.closeClickHandler,text:n.close}):null)}renderContentStart(){const{hasContentStart:t}=this;return i("div",{class:A.contentStart,hidden:!t},i("slot",{name:D.contentStart,onSlotchange:this.handleContentStartSlotChange}))}renderCustomContent(){const{hasCustomContent:t}=this;return i("div",{class:A.customContent,hidden:!t},i("slot",{name:D.content,onSlotchange:this.handleContentSlotChange}))}renderContentEnd(){const{hasContentEnd:t}=this;return i("div",{class:A.contentEnd,hidden:!t},i("slot",{name:D.contentEnd,onSlotchange:this.handleContentEndSlotChange}))}renderContentProperties(){const{label:t,description:e,hasCustomContent:s}=this;return s||!t&&!e?null:i("div",{class:A.content,key:"content"},t?i("div",{class:A.label,key:"label"},t):null,e?i("div",{class:A.description,key:"description"},e):null)}renderContentContainer(){const{description:t,label:e,selectionMode:s,hasCustomContent:n}=this,a=n||!!e||!!t,l=[this.renderContentStart(),this.renderCustomContent(),this.renderContentProperties(),this.renderContentEnd()];return i("td",{"aria-label":e,class:{[A.contentContainer]:!0,[A.contentContainerSelectable]:"none"!==s,[A.contentContainerHasCenterContent]:a},key:"content-container",onClick:this.itemClicked,role:"gridcell",ref:t=>this.contentEl=t},l)}render(){const{openable:t,open:e,level:s,setPosition:n,setSize:l,active:o,label:c,selected:r,selectionAppearance:h,selectionMode:d,closed:u}=this,p="none"!==d&&"border"===h,f=p&&r,g=p&&!r;return i(a,null,i("tr",{"aria-expanded":t?y(e):null,"aria-label":c,"aria-level":s,"aria-posinset":n,"aria-selected":y(r),"aria-setsize":l,class:{[A.container]:!0,[A.containerBorderSelected]:f,[A.containerBorderUnselected]:g},hidden:u,onFocus:this.focusCellNull,onKeyDown:this.handleItemKeyDown,role:"row",style:{"--calcite-list-item-spacing-indent-multiplier":`${this.visualLevel}`},tabIndex:o?0:-1,ref:t=>this.containerEl=t},this.renderDragHandle(),this.renderSelected(),this.renderOpen(),this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),i("div",{class:{[A.nestedContainer]:!0,[A.nestedContainerHidden]:t&&!e}},i("slot",{onSlotchange:this.handleDefaultSlotChange,ref:t=>this.defaultSlotEl=t})))}emitCalciteInternalListItemChange(){this.calciteInternalListItemChange.emit()}setSelectionDefaults(){const{parentListEl:t,selectionMode:e,selectionAppearance:i}=this;t&&(e||(this.selectionMode=t.selectionMode),i||(this.selectionAppearance=t.selectionAppearance))}handleOpenableChange(t){if(!t)return;const{parentListEl:e}=this,i=I(t);L(i);const s=!!i.length;s&&e&&!e.openable&&(e.openable=!0),this.openable=s,s||(this.open=!1)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{active:["activeHandler"],closed:["handleClosedChange"],disabled:["handleDisabledChange"],selected:["handleSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};B.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;--calcite-list-item-icon-color:var(--calcite-ui-brand);--calcite-list-item-spacing-indent:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}.container *{box-sizing:border-box}.container:hover{cursor:pointer;background-color:var(--calcite-ui-foreground-2)}.container--border-selected{border-inline-start:4px solid var(--calcite-ui-brand)}.container--border-unselected{border-inline-start:4px solid transparent}.nested-container{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.nested-container--hidden{display:none}.content-container{display:flex;flex:1 1 auto;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}tr,td{outline-color:transparent}tr:focus,td:focus{z-index:var(--calcite-app-z-index-sticky);outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.selection-container{display:flex;padding-inline:0.75rem;color:var(--calcite-list-item-icon-color)}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.drag-container,.open-container{display:flex;align-items:center}.open-container,.selection-container{cursor:pointer}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){align-self:stretch;color:inherit}::slotted(calcite-list-item){border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const K=class{constructor(e){t(this,e),this.handleActionsStartSlotChange=t=>{this.hasActionsStart=C(t)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=C(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=C(t)},this.handleContentEndSlotChange=t=>{this.hasContentEnd=C(t)},this.disabled=!1,this.hasActionsStart=!1,this.hasActionsEnd=!1,this.hasContentStart=!1,this.hasContentEnd=!1}renderActionsStart(){const{hasActionsStart:t}=this;return i("div",{class:"actions-start",hidden:!t,key:"actions-start-container"},i("slot",{name:H,onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{hasActionsEnd:t}=this;return i("div",{class:"actions-end",hidden:!t,key:"actions-end-container"},i("slot",{name:P,onSlotchange:this.handleActionsEndSlotChange}))}renderContentStart(){const{hasContentStart:t}=this;return i("div",{class:"content-start",hidden:!t},i("slot",{name:"content-start",onSlotchange:this.handleContentStartSlotChange}))}renderDefaultContent(){return i("div",{class:"content"},i("slot",null))}renderContentEnd(){const{hasContentEnd:t}=this;return i("div",{class:"content-end",hidden:!t},i("slot",{name:"content-end",onSlotchange:this.handleContentEndSlotChange}))}render(){return i(a,null,i("div",{class:"container"},this.renderActionsStart(),this.renderContentStart(),this.renderDefaultContent(),this.renderContentEnd(),this.renderActionsEnd()))}};K.style=":host([disabled]) .content{cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .content *,:host([disabled]) .content ::slotted(*){pointer-events:none}:host{display:flex;flex:1 1 0%;flex-direction:column}.container{display:flex;flex:1 1 auto;align-items:stretch;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}.content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1.375;padding-inline:var(--calcite-stack-padding-inline, 0.75rem);padding-block:var(--calcite-stack-padding-block, 0.5rem)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:0 1 auto}.actions-start,.actions-end,.content-start,.content-end{display:flex;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){align-self:stretch;color:inherit}:host([hidden]){display:none}[hidden]{display:none}";export{M as calcite_filter,T as calcite_handle,_ as calcite_list,B as calcite_list_item,K as calcite_stack}
@@ -3,9 +3,9 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as i,c as t,h as e,g as a}from"./p-9310b882.js";import{a as s,t as n}from"./p-6b2f2b85.js";import{c,d as o}from"./p-56300653.js";import{c as r}from"./p-6f2edf5b.js";import{u as l,c as h,s as d,d as p}from"./p-1ede2e18.js";import{H as g}from"./p-10248e04.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";import"./p-2291b598.js";
6
+ import{r as i,c as t,h as e,g as a}from"./p-9310b882.js";import{a as s,t as n}from"./p-a16feeec.js";import{c,d as o}from"./p-7f271c31.js";import{c as r}from"./p-588bc0c0.js";import{u as l,c as h,s as d,d as p}from"./p-2592c0b8.js";import{H as g}from"./p-60c15592.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-43ba7a04.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
- * v1.6.0
10
+ * v1.6.1
11
11
  */const m="chevron-left",f="chevron-right",v=class{constructor(e){i(this,e),this.calciteTipManagerClose=t(this,"calciteTipManagerClose",6),this.mutationObserver=r("mutation",(()=>this.setUpTips())),this.hideTipManager=()=>{this.closed=!0,this.calciteTipManagerClose.emit()},this.previousClicked=()=>{this.previousTip()},this.nextClicked=()=>{this.nextTip()},this.tipManagerKeyDownHandler=i=>{if(i.target===this.container)switch(i.key){case"ArrowRight":i.preventDefault(),this.nextTip();break;case"ArrowLeft":i.preventDefault(),this.previousTip();break;case"Home":i.preventDefault(),this.selectedIndex=0;break;case"End":i.preventDefault(),this.selectedIndex=this.total-1}},this.storeContainerRef=i=>{this.container=i},this.closed=!1,this.headingLevel=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedIndex=void 0,this.tips=void 0,this.total=void 0,this.direction=void 0,this.groupTitle=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}closedChangeHandler(){this.direction=null}onMessagesChange(){}selectedChangeHandler(){this.showSelectedTip(),this.updateGroupTitle()}async effectiveLocaleChange(){await l(this,this.effectiveLocale),this.updateGroupTitle()}connectedCallback(){var i;c(this),h(this),this.setUpTips(),null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0})}async componentWillLoad(){await d(this),this.updateGroupTitle()}disconnectedCallback(){var i;null===(i=this.mutationObserver)||void 0===i||i.disconnect(),o(this),p(this)}async nextTip(){this.direction="advancing",this.selectedIndex=(this.selectedIndex+1+this.total)%this.total}async previousTip(){this.direction="retreating",this.selectedIndex=(this.selectedIndex-1+this.total)%this.total}setUpTips(){const i=Array.from(this.el.querySelectorAll("calcite-tip"));if(this.total=i.length,0===this.total)return;const t=this.el.querySelector("calcite-tip[selected]");this.tips=i,this.selectedIndex=t?i.indexOf(t):0,i.forEach((i=>{i.closeDisabled=!0})),this.showSelectedTip()}showSelectedTip(){this.tips.forEach(((i,t)=>{const e=this.selectedIndex===t;i.selected=e,i.hidden=!e}))}updateGroupTitle(){var i;if(this.tips){const t=this.tips[this.selectedIndex].closest("calcite-tip-group");this.groupTitle=(null==t?void 0:t.groupTitle)||(null===(i=this.messages)||void 0===i?void 0:i.defaultGroupTitle)}}renderPagination(){const i=s(this.el),{selectedIndex:t,tips:a,total:n,messages:c}=this,o=c.next,r=c.defaultPaginationLabel;return a.length>1?e("footer",{class:"pagination"},e("calcite-action",{class:"page-previous",icon:"ltr"===i?m:f,onClick:this.previousClicked,scale:"m",text:c.previous}),e("span",{class:"page-position"},`${r} ${t+1}/${n}`),e("calcite-action",{class:"page-next",icon:"ltr"===i?f:m,onClick:this.nextClicked,scale:"m",text:o})):null}render(){const{closed:i,direction:t,headingLevel:a,groupTitle:s,selectedIndex:c,messages:o,total:r}=this,l=o.close;return 0===r?null:e("section",{"aria-hidden":n(i),class:"container",hidden:i,onKeyDown:this.tipManagerKeyDownHandler,tabIndex:0,ref:this.storeContainerRef},e("header",{class:"header"},e(g,{class:"heading",level:a},s),e("calcite-action",{class:"close",onClick:this.hideTipManager,scale:"m",text:l},e("calcite-icon",{icon:"x",scale:"m"}))),e("div",{class:{"tip-container":!0,"tip-container--advancing":!i&&"advancing"===t,"tip-container--retreating":!i&&"retreating"===t},key:c,tabIndex:0},e("slot",null)),this.renderPagination())}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{closed:["closedChangeHandler"],messageOverrides:["onMessagesChange"],selectedIndex:["selectedChangeHandler"],effectiveLocale:["effectiveLocaleChange"]}}};v.style=":host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2);--calcite-tip-manager-height:19vh}:host *{box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline-end:0px;padding-inline-start:1rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-block-size:150px}.container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.tip-container{margin-block-start:1px;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:1rem;outline-color:transparent;animation-name:none;animation-duration:var(--calcite-animation-timing);block-size:var(--calcite-tip-manager-height)}.tip-container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}::slotted(calcite-tip){margin:0px;border-style:none;max-inline-size:var(--calcite-tip-max-width)}.tip-container--advancing{animation-name:tip-advance}.tip-container--retreating{animation-name:tip-retreat}.pagination{display:flex;align-items:center;justify-content:center;padding-inline:0px;padding-block:0.75rem 0.5rem}.page-position{margin-block:0px;margin-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@keyframes tip-advance{0%{opacity:0;transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}:host([hidden]){display:none}[hidden]{display:none}";export{v as calcite_tip_manager}