@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
@@ -0,0 +1,11 @@
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{f as t}from"./p-9310b882.js";import{c as o}from"./p-588bc0c0.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v1.6.1
11
+ */const c=new Set;let n;const s={childList:!0};function f(t){n||(n=o("mutation",r)),n.observe(t.el,s)}function i(t){c.delete(t.el),r(n.takeRecords()),n.disconnect();for(const[t]of c.entries())n.observe(t,s)}function r(o){o.forEach((({target:o})=>{t(o)}))}export{f as c,i as d}
@@ -6,6 +6,6 @@
6
6
  /*!
7
7
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
8
8
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
9
- * v1.6.0
9
+ * v1.6.1
10
10
  */
11
11
  var a;!function(a){a.brand="lightbulb",a.danger="exclamationMarkTriangle",a.info="information",a.success="checkCircle",a.warning="exclamationMarkTriangle"}(a||(a={}));export{a as K}
@@ -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 t,h as i,g as n,f as a}from"./p-9310b882.js";import{g as h}from"./p-3fc17d72.js";import{c as s}from"./p-6f2edf5b.js";
6
+ import{r as t,h as i,g as n,f as a}from"./p-9310b882.js";import{g as h}from"./p-8b448a5b.js";import{c as s}from"./p-588bc0c0.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
11
- */function e(t,i,n){const a=i[0]-t[0];return a?(3*(i[1]-t[1])/a-n)/2:n}function r(t,i,n,a,h){const[s,e]=t,[r,o]=i,l=(r-s)/3;return`C ${h([s+l,e+l*n]).join(",")} ${h([r-l,o-l*a]).join(",")} ${h([r,o]).join(",")}`}const o=class{constructor(i){t(this,i),this.graphId=`calcite-graph-${h()}`,this.resizeObserver=s("resize",(()=>a(this))),this.data=[],this.colorStops=void 0,this.highlightMin=void 0,this.highlightMax=void 0,this.min=void 0,this.max=void 0}connectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.observe(this.el)}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){const{data:t,colorStops:n,el:a,highlightMax:h,highlightMin:s,min:o,max:l}=this,d=this.graphId,{clientHeight:c,clientWidth:p}=a;if(!t||0===t.length)return i("svg",{"aria-hidden":"true",class:"svg",height:c,preserveAspectRatio:"none",viewBox:`0 0 ${p} ${c}`,width:p});const{min:$,max:g}=function(t){const[i,n]=t[0];return t.reduce((({min:t,max:i},[n,a])=>({min:[Math.min(t[0],n),Math.min(t[1],a)],max:[Math.max(i[0],n),Math.max(i[1],a)]})),{min:[i,n],max:[i,n]})}(t);let m=$,u=g;(o<$[0]||o>$[0])&&(m=[o,0]),(l>g[0]||l<g[0])&&(u=[l,g[1]]);const f=function({width:t,height:i,min:n,max:a}){const h=a[0]-n[0],s=a[1]-n[1];return a=>[(a[0]-n[0])/h*t,i-a[1]/s*i]}({min:m,max:u,width:p,height:c}),[v]=f([s,u[1]]),[x]=f([h,u[1]]),M=function({data:t,min:i,max:n,t:a}){if(0===t.length)return"";const[h,s]=a(t[0]),[o,l]=a(i),[d]=a(n);let c,p,$;const g=t.reduce(((i,n,h)=>{if(p=t[h-2],$=t[h-1],h>1){const t=function(t,i,n){const a=i[0]-t[0],h=n[0]-i[0],s=(i[1]-t[1])/(a||h<0&&0),e=(n[1]-i[1])/(h||a<0&&0),r=(s*h+e*a)/(a+h);return(Math.sign(s)+Math.sign(e))*Math.min(Math.abs(s),Math.abs(e),.5*Math.abs(r))||0}(p,$,n),h=void 0===c?e(p,$,t):c,s=r(p,$,h,t,a);return c=t,`${i} ${s}`}return i}),`M ${o},${l} L ${o},${s} L ${h},${s}`),m=t[t.length-1];return`${g} ${r($,m,c,e($,m,c),a)} L ${d},${l} Z`}({data:t,min:$,max:g,t:f}),k=n?`url(#linear-gradient-${d})`:void 0;return i("svg",{"aria-hidden":"true",class:"svg",height:c,preserveAspectRatio:"none",viewBox:`0 0 ${p} ${c}`,width:p},n?i("defs",null,i("linearGradient",{id:`linear-gradient-${d}`,x1:"0",x2:"1",y1:"0",y2:"0"},n.map((({offset:t,color:n,opacity:a})=>i("stop",{offset:100*t+"%","stop-color":n,"stop-opacity":a}))))):null,void 0!==s?[i("mask",{height:"100%",id:`${d}1`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M 0,0\n L ${v-1},0\n L ${v-1},${c}\n L 0,${c}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${d}2`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${v+1},0\n L ${x-1},0\n L ${x-1},${c}\n L ${v+1}, ${c}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${d}3`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${x+1},0\n L ${p},0\n L ${p},${c}\n L ${x+1}, ${c}\n Z\n `,fill:"white"})),i("path",{class:"graph-path",d:M,fill:k,mask:`url(#${d}1)`}),i("path",{class:"graph-path--highlight",d:M,fill:k,mask:`url(#${d}2)`}),i("path",{class:"graph-path",d:M,fill:k,mask:`url(#${d}3)`})]:i("path",{class:"graph-path",d:M,fill:k}))}get el(){return n(this)}};o.style=":host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;block-size:100%;inline-size:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}";export{o as calcite_graph}
10
+ * v1.6.1
11
+ */function e(t,i,n){const a=i[0]-t[0];return a?(3*(i[1]-t[1])/a-n)/2:n}function r(t,i,n,a,h){const[s,e]=t,[r,o]=i,l=(r-s)/3;return`C ${h([s+l,e+l*n]).join(",")} ${h([r-l,o-l*a]).join(",")} ${h([r,o]).join(",")}`}const o=class{constructor(i){t(this,i),this.graphId=`calcite-graph-${h()}`,this.resizeObserver=s("resize",(()=>a(this))),this.data=[],this.colorStops=void 0,this.highlightMin=void 0,this.highlightMax=void 0,this.min=void 0,this.max=void 0}connectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.observe(this.el)}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){const{data:t,colorStops:n,el:a,highlightMax:h,highlightMin:s,min:o,max:l}=this,c=this.graphId,{clientHeight:d,clientWidth:p}=a;if(!t||0===t.length)return i("svg",{"aria-hidden":"true",class:"svg",height:d,preserveAspectRatio:"none",viewBox:`0 0 ${p} ${d}`,width:p});const{min:$,max:g}=function(t){const[i,n]=t[0];return t.reduce((({min:t,max:i},[n,a])=>({min:[Math.min(t[0],n),Math.min(t[1],a)],max:[Math.max(i[0],n),Math.max(i[1],a)]})),{min:[i,n],max:[i,n]})}(t);let m=$,u=g;(o<$[0]||o>$[0])&&(m=[o,0]),(l>g[0]||l<g[0])&&(u=[l,g[1]]);const f=function({width:t,height:i,min:n,max:a}){const h=a[0]-n[0],s=a[1]-n[1];return a=>[(a[0]-n[0])/h*t,i-a[1]/s*i]}({min:m,max:u,width:p,height:d}),[v]=f([s,u[1]]),[x]=f([h,u[1]]),M=function({data:t,min:i,max:n,t:a}){if(0===t.length)return"";const[h,s]=a(t[0]),[o,l]=a(i),[c]=a(n);let d,p,$;const g=t.reduce(((i,n,h)=>{if(p=t[h-2],$=t[h-1],h>1){const t=function(t,i,n){const a=i[0]-t[0],h=n[0]-i[0],s=(i[1]-t[1])/(a||h<0&&0),e=(n[1]-i[1])/(h||a<0&&0),r=(s*h+e*a)/(a+h);return(Math.sign(s)+Math.sign(e))*Math.min(Math.abs(s),Math.abs(e),.5*Math.abs(r))||0}(p,$,n),h=void 0===d?e(p,$,t):d,s=r(p,$,h,t,a);return d=t,`${i} ${s}`}return i}),`M ${o},${l} L ${o},${s} L ${h},${s}`),m=t[t.length-1];return`${g} ${r($,m,d,e($,m,d),a)} L ${c},${l} Z`}({data:t,min:$,max:g,t:f}),k=n?`url(#linear-gradient-${c})`:void 0;return i("svg",{"aria-hidden":"true",class:"svg",height:d,preserveAspectRatio:"none",viewBox:`0 0 ${p} ${d}`,width:p},n?i("defs",null,i("linearGradient",{id:`linear-gradient-${c}`,x1:"0",x2:"1",y1:"0",y2:"0"},n.map((({offset:t,color:n,opacity:a})=>i("stop",{offset:100*t+"%","stop-color":n,"stop-opacity":a}))))):null,void 0!==s?[i("mask",{height:"100%",id:`${c}1`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M 0,0\n L ${v-1},0\n L ${v-1},${d}\n L 0,${d}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${c}2`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${v+1},0\n L ${x-1},0\n L ${x-1},${d}\n L ${v+1}, ${d}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${c}3`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${x+1},0\n L ${p},0\n L ${p},${d}\n L ${x+1}, ${d}\n Z\n `,fill:"white"})),i("path",{class:"graph-path",d:M,fill:k,mask:`url(#${c}1)`}),i("path",{class:"graph-path--highlight",d:M,fill:k,mask:`url(#${c}2)`}),i("path",{class:"graph-path",d:M,fill:k,mask:`url(#${c}3)`})]:i("path",{class:"graph-path",d:M,fill:k}))}get el(){return n(this)}};o.style=":host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;block-size:100%;inline-size:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}";export{o as calcite_graph}
@@ -3,14 +3,14 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as e,a as t}from"./p-18869c0f.js";
6
+ import{d as e,a as t}from"./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
  */function o(){const{classList:o}=document.body,n=window.matchMedia("(prefers-color-scheme: dark)").matches,d=()=>o.contains(e)||o.contains(t)&&n?"dark":"light",c=e=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:e}})),i=e=>{a!==e&&c(e),a=e};let a=d();c(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>i(e.matches?"dark":"light"))),new MutationObserver((()=>i(d()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}
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
  */const n=function(){"undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document&&("interactive"===document.readyState?o():document.addEventListener("DOMContentLoaded",(()=>o()),{once:!0}))};export{n as g}
@@ -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 e,h as i,g as s,F as n}from"./p-9310b882.js";import{c as o}from"./p-6f2edf5b.js";import{h as a}from"./p-6b2f2b85.js";import{c,d as r,a as l,H as h}from"./p-2d70d3fd.js";import{c as d,d as p,u}from"./p-38ef0684.js";import{c as m,d as b,g as v}from"./p-3bd99fc9.js";import{s as f,a as g,c as C}from"./p-d62784a4.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";const w=class{constructor(i){t(this,i),this.calciteInternalOptionChange=e(this,"calciteInternalOptionChange",6),this.mutationObserver=o("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()})),this.disabled=!1,this.label=void 0,this.selected=void 0,this.value=void 0}handlePropChange(t,e,i){"label"!==i&&"value"!==i||this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){const{el:{textContent:t}}=this;this.label&&this.label!==this.internallySetLabel||(this.label=t,this.internallySetLabel=t),this.value&&this.value!==this.internallySetValue||(this.value=t,this.internallySetValue=t)}connectedCallback(){var t;this.ensureTextContentDependentProps(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){return i("slot",null,this.label)}get el(){return s(this)}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}}};w.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";function x(t){return"CALCITE-OPTION"===t.tagName}const z=class{constructor(i){t(this,i),this.calciteSelectChange=e(this,"calciteSelectChange",6),this.componentToNativeEl=new Map,this.mutationObserver=o("mutation",(()=>this.populateInternalSelect())),this.handleInternalSelectChange=()=>{this.selectFromNativeOption(this.selectEl.selectedOptions[0]),requestAnimationFrame((()=>this.emitChangeEvent()))},this.populateInternalSelect=()=>{const t=Array.from(this.el.children).filter((t=>"CALCITE-OPTION"===t.tagName||"CALCITE-OPTION-GROUP"===t.tagName));this.clearInternalSelect(),t.forEach((t=>{var e;return null===(e=this.selectEl)||void 0===e?void 0:e.append(this.toNativeElement(t))}))},this.storeSelectRef=t=>{this.selectEl=t,this.populateInternalSelect(),this.selectFromNativeOption(this.selectEl.selectedOptions[0])},this.emitChangeEvent=()=>{this.calciteSelectChange.emit()},this.disabled=!1,this.form=void 0,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=null,this.selectedOption=void 0,this.width="auto"}valueHandler(t){this.el.querySelectorAll("calcite-option").forEach((e=>e.selected=e.value===t))}selectedOptionHandler(t){this.value=null==t?void 0:t.value}connectedCallback(){var t;const{el:e}=this;null===(t=this.mutationObserver)||void 0===t||t.observe(e,{subtree:!0,childList:!0}),d(this),m(this),c(this)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),p(this),b(this),r(this)}componentWillLoad(){f(this)}componentDidLoad(){var t,e;g(this),l(this,null!==(e=null===(t=this.selectedOption)||void 0===t?void 0:t.value)&&void 0!==e?e:"")}componentDidRender(){u(this)}async setFocus(){await C(this),a(this.selectEl)}handleOptionOrGroupChange(t){t.stopPropagation();const e=t.target,i=this.componentToNativeEl.get(e);i&&(this.updateNativeElement(e,i),x(e)&&e.selected&&(this.deselectAllExcept(e),this.selectedOption=e))}onLabelClick(){this.setFocus()}updateNativeElement(t,e){if(e.disabled=t.disabled,e.label=t.label,x(t)){const i=e;i.selected=t.selected,i.value=t.value,i.innerText=t.label}}clearInternalSelect(){this.componentToNativeEl.forEach((t=>t.remove())),this.componentToNativeEl.clear()}selectFromNativeOption(t){if(!t)return;let e;this.componentToNativeEl.forEach(((i,s)=>{x(s)&&i===t&&(s.selected=!0,e=s,this.deselectAllExcept(s))})),e&&(this.selectedOption=e)}toNativeElement(t){if(x(t)){const e=document.createElement("option");return this.updateNativeElement(t,e),this.componentToNativeEl.set(t,e),e}if(function(t){return"CALCITE-OPTION-GROUP"===t.tagName}(t)){const e=document.createElement("optgroup");return this.updateNativeElement(t,e),Array.from(t.children).forEach((i=>{const s=this.toNativeElement(i);e.append(s),this.componentToNativeEl.set(t,s)})),this.componentToNativeEl.set(t,e),e}throw new Error("unsupported element child provided")}deselectAllExcept(t){this.el.querySelectorAll("calcite-option").forEach((e=>{e!==t&&(e.selected=!1)}))}renderChevron(){return i("div",{class:"icon-container"},i("calcite-icon",{class:"icon",icon:"chevron-down",scale:"l"===this.scale?"m":"s"}))}render(){return i(n,null,i("select",{"aria-label":v(this),class:"select",disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},i("slot",null)),this.renderChevron(),i(h,{component:this}))}get el(){return s(this)}static get watchers(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}}};z.style=":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}: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{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){block-size:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){block-size:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select: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 )}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::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{w as calcite_option,z as calcite_select}
6
+ import{r as e,c as t,h as i,g as s,F as n}from"./p-9310b882.js";import{c as o}from"./p-588bc0c0.js";import{h as a}from"./p-a16feeec.js";import{c,d as r,a as l,H as h}from"./p-072155f9.js";import{c as d,d as p,u}from"./p-ad75b9bb.js";import{c as m,d as b,g as v}from"./p-d2d3e4b5.js";import{s as f,a as g,c as C}from"./p-476e5302.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";const w=class{constructor(i){e(this,i),this.calciteInternalOptionChange=t(this,"calciteInternalOptionChange",6),this.mutationObserver=o("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()})),this.disabled=!1,this.label=void 0,this.selected=void 0,this.value=void 0}handlePropChange(e,t,i){"label"!==i&&"value"!==i||this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){const{el:{textContent:e}}=this;this.label&&this.label!==this.internallySetLabel||(this.label=e,this.internallySetLabel=e),this.value&&this.value!==this.internallySetValue||(this.value=e,this.internallySetValue=e)}connectedCallback(){var e;this.ensureTextContentDependentProps(),null===(e=this.mutationObserver)||void 0===e||e.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}disconnectedCallback(){var e;null===(e=this.mutationObserver)||void 0===e||e.disconnect()}render(){return i("slot",null,this.label)}get el(){return s(this)}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}}};w.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";function x(e){return"CALCITE-OPTION"===e.tagName}const z=class{constructor(i){e(this,i),this.calciteSelectChange=t(this,"calciteSelectChange",6),this.componentToNativeEl=new Map,this.mutationObserver=o("mutation",(()=>this.populateInternalSelect())),this.handleInternalSelectChange=()=>{this.selectFromNativeOption(this.selectEl.selectedOptions[0]),requestAnimationFrame((()=>this.emitChangeEvent()))},this.populateInternalSelect=()=>{const e=Array.from(this.el.children).filter((e=>"CALCITE-OPTION"===e.tagName||"CALCITE-OPTION-GROUP"===e.tagName));this.clearInternalSelect(),e.forEach((e=>{var t;return null===(t=this.selectEl)||void 0===t?void 0:t.append(this.toNativeElement(e))}))},this.storeSelectRef=e=>{this.selectEl=e,this.populateInternalSelect(),this.selectFromNativeOption(this.selectEl.selectedOptions[0])},this.emitChangeEvent=()=>{this.calciteSelectChange.emit()},this.disabled=!1,this.form=void 0,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=null,this.selectedOption=void 0,this.width="auto"}valueHandler(e){this.el.querySelectorAll("calcite-option").forEach((t=>t.selected=t.value===e))}selectedOptionHandler(e){this.value=null==e?void 0:e.value}connectedCallback(){var e;const{el:t}=this;null===(e=this.mutationObserver)||void 0===e||e.observe(t,{subtree:!0,childList:!0}),d(this),m(this),c(this)}disconnectedCallback(){var e;null===(e=this.mutationObserver)||void 0===e||e.disconnect(),p(this),b(this),r(this)}componentWillLoad(){f(this)}componentDidLoad(){var e,t;g(this),l(this,null!==(t=null===(e=this.selectedOption)||void 0===e?void 0:e.value)&&void 0!==t?t:"")}componentDidRender(){u(this)}async setFocus(){await C(this),a(this.selectEl)}handleOptionOrGroupChange(e){e.stopPropagation();const t=e.target,i=this.componentToNativeEl.get(t);i&&(this.updateNativeElement(t,i),x(t)&&t.selected&&(this.deselectAllExcept(t),this.selectedOption=t))}onLabelClick(){this.setFocus()}updateNativeElement(e,t){if(t.disabled=e.disabled,t.label=e.label,x(e)){const i=t;i.selected=e.selected,i.value=e.value,i.innerText=e.label}}clearInternalSelect(){this.componentToNativeEl.forEach((e=>e.remove())),this.componentToNativeEl.clear()}selectFromNativeOption(e){if(!e)return;let t;this.componentToNativeEl.forEach(((i,s)=>{x(s)&&i===e&&(s.selected=!0,t=s,this.deselectAllExcept(s))})),t&&(this.selectedOption=t)}toNativeElement(e){if(x(e)){const t=document.createElement("option");return this.updateNativeElement(e,t),this.componentToNativeEl.set(e,t),t}if(function(e){return"CALCITE-OPTION-GROUP"===e.tagName}(e)){const t=document.createElement("optgroup");return this.updateNativeElement(e,t),Array.from(e.children).forEach((i=>{const s=this.toNativeElement(i);t.append(s),this.componentToNativeEl.set(e,s)})),this.componentToNativeEl.set(e,t),t}throw new Error("unsupported element child provided")}deselectAllExcept(e){this.el.querySelectorAll("calcite-option").forEach((t=>{t!==e&&(t.selected=!1)}))}renderChevron(){return i("div",{class:"icon-container"},i("calcite-icon",{class:"icon",icon:"chevron-down",scale:"l"===this.scale?"m":"s"}))}render(){return i(n,null,i("select",{"aria-label":v(this),class:"select",disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},i("slot",null)),this.renderChevron(),i(h,{component:this}))}get el(){return s(this)}static get watchers(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}}};z.style=":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}: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{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){block-size:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){block-size:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select: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 )}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::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{w as calcite_option,z as calcite_select}
@@ -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 s,h as i,g as e}from"./p-9310b882.js";import{c as a,d as o,u as r}from"./p-38ef0684.js";import{s as h,a as c,c as n}from"./p-d62784a4.js";import{c as l}from"./p-6f2edf5b.js";import{I as d}from"./p-4805ff13.js";import{m as p,d as m,a as b,s as f,h as u,b as g,g as x,k as w,i as v,c as y,e as k,f as j,r as I,j as L,l as z,n as C,o as H,p as F,L as D}from"./p-ee066c67.js";import"./p-18f1772b.js";import"./p-6b2f2b85.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";import"./p-215d3505.js";import"./p-a82f35c9.js";const R=class{constructor(i){t(this,i),this.calciteListChange=s(this,"calciteListChange",6),this.calciteListFilter=s(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=l("mutation",p.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=m.bind(this),this.deselectSiblingItems=b.bind(this),this.selectSiblings=f.bind(this),this.handleFilter=u.bind(this),this.handleFilterEvent=g.bind(this),this.getItemData=x.bind(this),this.keyDownHandler=w.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){v.call(this),y.call(this),a(this)}disconnectedCallback(){k.call(this),o(this)}componentWillLoad(){h(this)}componentDidLoad(){c(this),j.call(this)}componentDidRender(){r(this)}calciteListItemRemoveHandler(t){I.call(this,t)}calciteListItemChangeHandler(t){L.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){z.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){C.call(this,t)}setUpItems(){H.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await n(this),F.call(this,t)}getIconType(){return this.multiple?d.square:d.circle}render(){return i(D,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};R.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{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--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)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";export{R as calcite_pick_list}
6
+ import{r as t,c as s,h as i,g as e}from"./p-9310b882.js";import{c as a,d as o,u as r}from"./p-ad75b9bb.js";import{s as h,a as c,c as n}from"./p-476e5302.js";import{c as l}from"./p-588bc0c0.js";import{I as d}from"./p-87d66120.js";import{m as p,d as m,a as b,s as u,h as f,b as g,g as x,k as w,i as v,c as y,e as k,f as j,r as I,j as L,l as z,n as C,o as H,p as F,L as D}from"./p-cee23126.js";import"./p-0ed14b4b.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-99402001.js";import"./p-a82f35c9.js";const R=class{constructor(i){t(this,i),this.calciteListChange=s(this,"calciteListChange",6),this.calciteListFilter=s(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=l("mutation",p.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=m.bind(this),this.deselectSiblingItems=b.bind(this),this.selectSiblings=u.bind(this),this.handleFilter=f.bind(this),this.handleFilterEvent=g.bind(this),this.getItemData=x.bind(this),this.keyDownHandler=w.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){v.call(this),y.call(this),a(this)}disconnectedCallback(){k.call(this),o(this)}componentWillLoad(){h(this)}componentDidLoad(){c(this),j.call(this)}componentDidRender(){r(this)}calciteListItemRemoveHandler(t){I.call(this,t)}calciteListItemChangeHandler(t){L.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){z.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){C.call(this,t)}setUpItems(){H.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await n(this),F.call(this,t)}getIconType(){return this.multiple?d.square:d.circle}render(){return i(D,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};R.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{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--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)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";export{R as calcite_pick_list}
@@ -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 t,c as s,h as e,H as i,g as o}from"./p-9310b882.js";import{c as a,d as n}from"./p-3bd99fc9.js";import{u as h}from"./p-38ef0684.js";import{c,d as l}from"./p-56300653.js";import{u as r,c as d,d as p,s as m}from"./p-1ede2e18.js";import{c as b,s as u,a as f}from"./p-d62784a4.js";import{c as C,d as v,a as g,H as y}from"./p-2d70d3fd.js";import"./p-6b2f2b85.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";import"./p-2291b598.js";import"./p-6f2edf5b.js";
6
+ import{r as t,c as s,h as e,H as i,g as o}from"./p-9310b882.js";import{c as a,d as n}from"./p-d2d3e4b5.js";import{u as h}from"./p-ad75b9bb.js";import{c,d as l}from"./p-7f271c31.js";import{u as r,c as d,d as p,s as m}from"./p-2592c0b8.js";import{c as b,s as u,a as f}from"./p-476e5302.js";import{c as C,d as v,a as g,H as y}from"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-43ba7a04.js";import"./p-588bc0c0.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
  */let j;const x=class{constructor(e){t(this,e),this.calciteInputTimeZoneBeforeClose=s(this,"calciteInputTimeZoneBeforeClose",6),this.calciteInputTimeZoneBeforeOpen=s(this,"calciteInputTimeZoneBeforeOpen",6),this.calciteInputTimeZoneChange=s(this,"calciteInputTimeZoneChange",6),this.calciteInputTimeZoneClose=s(this,"calciteInputTimeZoneClose",6),this.calciteInputTimeZoneOpen=s(this,"calciteInputTimeZoneOpen",6),this.setComboboxRef=t=>{this.comboboxEl=t},this.onComboboxBeforeClose=t=>{t.stopPropagation(),this.calciteInputTimeZoneBeforeClose.emit()},this.onComboboxBeforeOpen=t=>{t.stopPropagation(),this.calciteInputTimeZoneBeforeOpen.emit()},this.onComboboxChange=t=>{t.stopPropagation();const s=t.target,e=this.timeZoneGroups.find((({offsetValue:t})=>s.value===`${t}`)),i=`${e.offsetValue}`;this.value!==i&&(this.value=i,this.selectedTimeZoneGroup=e,this.calciteInputTimeZoneChange.emit())},this.onComboboxClose=t=>{t.stopPropagation(),this.open=!1,this.calciteInputTimeZoneClose.emit()},this.onComboboxOpen=t=>{this.open=!0,t.stopPropagation(),this.calciteInputTimeZoneOpen.emit()},this.disabled=!1,this.form=void 0,this.messages=void 0,this.messageOverrides=void 0,this.name=void 0,this.open=!1,this.overlayPositioning="absolute",this.required=!1,this.scale="m",this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}valueWatcher(t){this.comboboxEl&&this.comboboxEl.value!==t&&(this.comboboxEl.value=t)}async setFocus(){await b(this),await this.comboboxEl.setFocus()}effectiveLocaleWatcher(){r(this,this.effectiveLocale)}onLabelClick(){this.setFocus()}connectedCallback(){C(this),a(this),c(this),d(this)}disconnectedCallback(){v(this),n(this),l(this),p(this)}async componentWillLoad(){var t;u(this),await m(this);const s=await async function(){return j||(j=Promise.resolve([-11,-10,-9.5,-9,-8,-7,-6,-5,-4,-3,-2.5,-2,-1,0,1,2,3,3.5,4,4.5,5,6,6.5,7,8,8.75,9,9.5,10,10.5,11,12,12.75,13,14].map((t=>{return{offsetValue:60*t,offsetLabel:(s=t,`GMT${0===s?"":s.toLocaleString("en",{signDisplay:"always"})}`)};var s}))),j)}();this.timeZoneGroups=s;const e=null!==(t=this.value)&&void 0!==t?t:-1*(new Date).getTimezoneOffset();this.selectedTimeZoneGroup=s.find((({offsetValue:t})=>t==e));const i=`${this.selectedTimeZoneGroup.offsetValue}`;g(this,i),this.value=i}componentDidLoad(){f(this)}componentDidRender(){h(this)}render(){return e(i,null,e("calcite-combobox",{clearDisabled:!0,disabled:this.disabled,label:this.messages.chooseTimeZone,lang:this.effectiveLocale,onCalciteComboboxBeforeClose:this.onComboboxBeforeClose,onCalciteComboboxBeforeOpen:this.onComboboxBeforeOpen,onCalciteComboboxChange:this.onComboboxChange,onCalciteComboboxClose:this.onComboboxClose,onCalciteComboboxOpen:this.onComboboxOpen,open:this.open,overlayPositioning:this.overlayPositioning,scale:this.scale,selectionMode:"single",ref:this.setComboboxRef},this.timeZoneGroups.map((t=>{const s=t.offsetLabel;return e("calcite-combobox-item",{key:s,selected:this.selectedTimeZoneGroup===t,textLabel:s,value:`${t.offsetValue}`})}))),e(y,{component:this}))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],value:["valueWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};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{display:block}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::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}";export{x as calcite_input_time_zone}
@@ -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{a as t}from"./p-6b2f2b85.js";import{d as n}from"./p-a82f35c9.js";const e=["top","right","bottom","left"],o=["start","end"],r=e.reduce(((t,n)=>t.concat(n,n+"-"+o[0],n+"-"+o[1])),[]),i=Math.min,a=Math.max,l=Math.round,c=Math.floor,s=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(t,n,e){return a(t,i(n,e))}function m(t,n){return"function"==typeof t?t(n):t}function p(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function g(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function x(t){return["top","bottom"].includes(p(t))?"y":"x"}function w(t){return g(x(t))}function v(t,n,e){void 0===e&&(e=!1);const o=y(t),r=w(t),i=h(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=A(a)),[a,A(a)]}function b(t){return t.replace(/start|end/g,(t=>u[t]))}function A(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function S(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function k(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function P(t,n,e){let{reference:o,floating:r}=t;const i=x(n),a=w(n),l=h(a),c=p(n),s="y"===i,f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,d=o[l]/2-r[l]/2;let m;switch(c){case"top":m={x:f,y:o.y-r.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-r.width,y:u};break;default:m={x:o.x,y:o.y}}switch(y(n)){case"start":m[a]-=d*(e&&s?-1:1);break;case"end":m[a]+=d*(e&&s?-1:1)}return m}async function D(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=m(n,t),y=S(p),g=l[d?"floating"===u?"reference":"floating":u],h=k(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(g)))||e?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),x="floating"===u?{...a.floating,x:o,y:r}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),v=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},b=k(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:w,strategy:c}):x);return{top:(h.top-b.top+y.top)/v.y,bottom:(b.bottom-h.bottom+y.bottom)/v.y,left:(h.left-b.left+y.left)/v.x,right:(b.right-h.right+y.right)/v.x}}const R=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:o,middlewareData:r,rects:i,initialPlacement:a,platform:l,elements:c}=n,{mainAxis:s=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...x}=m(t,n),w=p(o),S=p(a)===a,k=await(null==l.isRTL?void 0:l.isRTL(c.floating)),P=u||(S||!h?[A(a)]:function(t){const n=A(t);return[b(t),n,b(n)]}(a));u||"none"===g||P.push(...function(t,n,e,o){const r=y(t);let i=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(p(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(b)))),i}(a,h,g,k));const R=[a,...P],E=await D(n,x),O=[];let M=(null==(e=r.flip)?void 0:e.overflows)||[];if(s&&O.push(E[w]),f){const t=v(o,i,k);O.push(E[t[0]],E[t[1]])}if(M=[...M,{placement:o,overflows:O}],!O.every((t=>t<=0))){var F,T;const t=((null==(F=r.flip)?void 0:F.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:M},reset:{placement:n}};let e=null==(T=M.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:T.placement;if(!e)switch(d){case"bestFit":{var C;const t=null==(C=M.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:C[0];t&&(e=t);break}case"initialPlacement":e=a}if(o!==e)return{reset:{placement:e}}}return{}}}};function E(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function O(t){return e.some((n=>t[n]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=m(t,n);switch(o){case"referenceHidden":{const t=E(await D(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:O(t)}}}case"escaped":{const t=E(await D(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:O(t)}}}default:return{}}}}},F=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,r=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=p(e),l=y(e),c="y"===x(e),s=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,u=m(n,t);let{mainAxis:d,crossAxis:g,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&"number"==typeof h&&(g="end"===l?-1*h:h),c?{x:g*f,y:d*s}:{x:d*s,y:g*f}}(n,t);return{x:e+r.x,y:o+r.y,data:r}}}};function T(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function $(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return t instanceof Node||t instanceof C(t).Node}function B(t){return t instanceof Element||t instanceof C(t).Element}function L(t){return t instanceof HTMLElement||t instanceof C(t).HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}function H(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function I(t){return["table","td","th"].includes(T(t))}function W(t){const n=N(),e=Y(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function N(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function q(t){return["html","body","#document"].includes(T(t))}function Y(t){return C(t).getComputedStyle(t)}function V(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function X(t){if("html"===T(t))return t;const n=t.assignedSlot||t.parentNode||j(t)&&t.host||$(t);return j(n)?n.host:n}function _(t){const n=X(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:L(n)&&H(n)?n:_(n)}function G(t,n){var e;void 0===n&&(n=[]);const o=_(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=C(o);return r?n.concat(i,i.visualViewport||[],H(o)?o:[]):n.concat(o,G(o))}function J(t){const n=Y(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=L(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,c=l(e)!==i||l(o)!==a;return c&&(e=i,o=a),{width:e,height:o,$:c}}function K(t){return B(t)?t:t.contextElement}function Q(t){const n=K(t);if(!L(n))return s(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=J(n);let a=(i?l(e.width):e.width)/o,c=(i?l(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const U=s(0);function Z(t){const n=C(t);return N()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:U}function tt(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=K(t);let a=s(1);n&&(o?B(o)&&(a=Q(o)):a=Q(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==C(t))&&n}(i,e,o)?Z(i):s(0);let c=(r.left+l.x)/a.x,f=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const t=C(i),n=o&&B(o)?C(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=Q(e),n=e.getBoundingClientRect(),o=Y(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,f*=t.y,u*=t.x,d*=t.y,c+=r,f+=i,e=C(e).frameElement}}return k({width:u,height:d,x:c,y:f})}function nt(t){return tt($(t)).left+V(t).scrollLeft}function et(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=C(t),o=$(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){i=r.width,a=r.height;const t=N();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===n)o=function(t){const n=$(t),e=V(t),o=t.ownerDocument.body,r=a(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=a(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+nt(t);const c=-e.scrollTop;return"rtl"===Y(o).direction&&(l+=a(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:c}}($(t));else if(B(n))o=function(t,n){const e=tt(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=L(t)?Q(t):s(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=Z(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return k(o)}function ot(t,n){const e=X(t);return!(e===n||!B(e)||q(e))&&("fixed"===Y(e).position||ot(e,n))}function rt(t,n,e){const o=L(n),r=$(n),i="fixed"===e,a=tt(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=s(0);if(o||!o&&!i)if(("body"!==T(n)||H(r))&&(l=V(n)),o){const t=tt(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=nt(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function it(t,n){return L(t)&&"fixed"!==Y(t).position?n?n(t):t.offsetParent:null}function at(t,n){const e=C(t);if(!L(t))return e;let o=it(t,n);for(;o&&I(o)&&"static"===Y(o).position;)o=it(o,n);return o&&("html"===T(o)||"body"===T(o)&&"static"===Y(o).position&&!W(o))?e:o||function(t){let n=X(t);for(;L(n)&&!q(n);){if(W(n))return n;n=X(n)}return null}(t)||e}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=L(e),i=$(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=s(1);const c=s(0);if((r||!r&&"fixed"!==o)&&(("body"!==T(e)||H(i))&&(a=V(e)),L(e))){const t=tt(e);l=Q(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+c.x,y:n.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:$,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=G(t).filter((t=>B(t)&&"body"!==T(t))),r=null;const i="fixed"===Y(t).position;let a=i?X(t):t;for(;B(a)&&!q(a);){const n=Y(a),e=W(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||H(a)&&!e&&ot(t,a))?o=o.filter((t=>t!==a)):r=n,a=X(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],c=l.reduce(((t,e)=>{const o=et(n,e,r);return t.top=a(o.top,t.top),t.right=i(o.right,t.right),t.bottom=i(o.bottom,t.bottom),t.left=a(o.left,t.left),t}),et(n,l[0],r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:at,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||at,i=this.getDimensions;return{reference:rt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return J(t)},getScale:Q,isElement:B,isRTL:function(t){return"rtl"===Y(t).direction}};function ct(t){return function(t){for(let n=t;n;n=st(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=st(t);n;n=st(n)){if(!(n instanceof Element))continue;const t=getComputedStyle(n);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return n;if("BODY"===n.tagName)return n}}return null}
6
+ import{a as t}from"./p-a16feeec.js";import{d as n}from"./p-a82f35c9.js";const e=["top","right","bottom","left"],o=["start","end"],r=e.reduce(((t,n)=>t.concat(n,n+"-"+o[0],n+"-"+o[1])),[]),i=Math.min,a=Math.max,l=Math.round,c=Math.floor,s=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(t,n,e){return a(t,i(n,e))}function m(t,n){return"function"==typeof t?t(n):t}function p(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function g(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function x(t){return["top","bottom"].includes(p(t))?"y":"x"}function w(t){return g(x(t))}function v(t,n,e){void 0===e&&(e=!1);const o=y(t),r=w(t),i=h(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=A(a)),[a,A(a)]}function b(t){return t.replace(/start|end/g,(t=>u[t]))}function A(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function S(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function k(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function P(t,n,e){let{reference:o,floating:r}=t;const i=x(n),a=w(n),l=h(a),c=p(n),s="y"===i,f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,d=o[l]/2-r[l]/2;let m;switch(c){case"top":m={x:f,y:o.y-r.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-r.width,y:u};break;default:m={x:o.x,y:o.y}}switch(y(n)){case"start":m[a]-=d*(e&&s?-1:1);break;case"end":m[a]+=d*(e&&s?-1:1)}return m}async function D(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=m(n,t),y=S(p),g=l[d?"floating"===u?"reference":"floating":u],h=k(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(g)))||e?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),x="floating"===u?{...a.floating,x:o,y:r}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),v=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},b=k(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:w,strategy:c}):x);return{top:(h.top-b.top+y.top)/v.y,bottom:(b.bottom-h.bottom+y.bottom)/v.y,left:(h.left-b.left+y.left)/v.x,right:(b.right-h.right+y.right)/v.x}}const R=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:o,middlewareData:r,rects:i,initialPlacement:a,platform:l,elements:c}=n,{mainAxis:s=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...x}=m(t,n),w=p(o),S=p(a)===a,k=await(null==l.isRTL?void 0:l.isRTL(c.floating)),P=u||(S||!h?[A(a)]:function(t){const n=A(t);return[b(t),n,b(n)]}(a));u||"none"===g||P.push(...function(t,n,e,o){const r=y(t);let i=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(p(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(b)))),i}(a,h,g,k));const R=[a,...P],E=await D(n,x),O=[];let M=(null==(e=r.flip)?void 0:e.overflows)||[];if(s&&O.push(E[w]),f){const t=v(o,i,k);O.push(E[t[0]],E[t[1]])}if(M=[...M,{placement:o,overflows:O}],!O.every((t=>t<=0))){var F,T;const t=((null==(F=r.flip)?void 0:F.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:M},reset:{placement:n}};let e=null==(T=M.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:T.placement;if(!e)switch(d){case"bestFit":{var C;const t=null==(C=M.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:C[0];t&&(e=t);break}case"initialPlacement":e=a}if(o!==e)return{reset:{placement:e}}}return{}}}};function E(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function O(t){return e.some((n=>t[n]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=m(t,n);switch(o){case"referenceHidden":{const t=E(await D(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:O(t)}}}case"escaped":{const t=E(await D(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:O(t)}}}default:return{}}}}},F=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,r=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=p(e),l=y(e),c="y"===x(e),s=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,u=m(n,t);let{mainAxis:d,crossAxis:g,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&"number"==typeof h&&(g="end"===l?-1*h:h),c?{x:g*f,y:d*s}:{x:d*s,y:g*f}}(n,t);return{x:e+r.x,y:o+r.y,data:r}}}};function T(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function $(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return t instanceof Node||t instanceof C(t).Node}function B(t){return t instanceof Element||t instanceof C(t).Element}function L(t){return t instanceof HTMLElement||t instanceof C(t).HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}function H(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function I(t){return["table","td","th"].includes(T(t))}function W(t){const n=N(),e=Y(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function N(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function q(t){return["html","body","#document"].includes(T(t))}function Y(t){return C(t).getComputedStyle(t)}function V(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function X(t){if("html"===T(t))return t;const n=t.assignedSlot||t.parentNode||j(t)&&t.host||$(t);return j(n)?n.host:n}function _(t){const n=X(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:L(n)&&H(n)?n:_(n)}function G(t,n){var e;void 0===n&&(n=[]);const o=_(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=C(o);return r?n.concat(i,i.visualViewport||[],H(o)?o:[]):n.concat(o,G(o))}function J(t){const n=Y(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=L(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,c=l(e)!==i||l(o)!==a;return c&&(e=i,o=a),{width:e,height:o,$:c}}function K(t){return B(t)?t:t.contextElement}function Q(t){const n=K(t);if(!L(n))return s(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=J(n);let a=(i?l(e.width):e.width)/o,c=(i?l(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const U=s(0);function Z(t){const n=C(t);return N()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:U}function tt(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=K(t);let a=s(1);n&&(o?B(o)&&(a=Q(o)):a=Q(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==C(t))&&n}(i,e,o)?Z(i):s(0);let c=(r.left+l.x)/a.x,f=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const t=C(i),n=o&&B(o)?C(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=Q(e),n=e.getBoundingClientRect(),o=Y(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,f*=t.y,u*=t.x,d*=t.y,c+=r,f+=i,e=C(e).frameElement}}return k({width:u,height:d,x:c,y:f})}function nt(t){return tt($(t)).left+V(t).scrollLeft}function et(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=C(t),o=$(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){i=r.width,a=r.height;const t=N();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===n)o=function(t){const n=$(t),e=V(t),o=t.ownerDocument.body,r=a(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=a(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+nt(t);const c=-e.scrollTop;return"rtl"===Y(o).direction&&(l+=a(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:c}}($(t));else if(B(n))o=function(t,n){const e=tt(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=L(t)?Q(t):s(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=Z(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return k(o)}function ot(t,n){const e=X(t);return!(e===n||!B(e)||q(e))&&("fixed"===Y(e).position||ot(e,n))}function rt(t,n,e){const o=L(n),r=$(n),i="fixed"===e,a=tt(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=s(0);if(o||!o&&!i)if(("body"!==T(n)||H(r))&&(l=V(n)),o){const t=tt(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=nt(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function it(t,n){return L(t)&&"fixed"!==Y(t).position?n?n(t):t.offsetParent:null}function at(t,n){const e=C(t);if(!L(t))return e;let o=it(t,n);for(;o&&I(o)&&"static"===Y(o).position;)o=it(o,n);return o&&("html"===T(o)||"body"===T(o)&&"static"===Y(o).position&&!W(o))?e:o||function(t){let n=X(t);for(;L(n)&&!q(n);){if(W(n))return n;n=X(n)}return null}(t)||e}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=L(e),i=$(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=s(1);const c=s(0);if((r||!r&&"fixed"!==o)&&(("body"!==T(e)||H(i))&&(a=V(e)),L(e))){const t=tt(e);l=Q(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+c.x,y:n.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:$,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=G(t).filter((t=>B(t)&&"body"!==T(t))),r=null;const i="fixed"===Y(t).position;let a=i?X(t):t;for(;B(a)&&!q(a);){const n=Y(a),e=W(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||H(a)&&!e&&ot(t,a))?o=o.filter((t=>t!==a)):r=n,a=X(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],c=l.reduce(((t,e)=>{const o=et(n,e,r);return t.top=a(o.top,t.top),t.right=i(o.right,t.right),t.bottom=i(o.bottom,t.bottom),t.left=a(o.left,t.left),t}),et(n,l[0],r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:at,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||at,i=this.getDimensions;return{reference:rt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return J(t)},getScale:Q,isElement:B,isRTL:function(t){return"rtl"===Y(t).direction}};function ct(t){return function(t){for(let n=t;n;n=st(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=st(t);n;n=st(n)){if(!(n instanceof Element))continue;const t=getComputedStyle(n);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return n;if("BODY"===n.tagName)return n}}return null}
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
  */(t)}function st(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}!function(){{const t=lt.getOffsetParent;lt.getOffsetParent=n=>t(n,ct)}}();const ft=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})=>{if(!n||!e)return null;const{x:u,y:d,placement:m,strategy:p,middlewareData:y}=await((t,n,e)=>{const o=new Map,r={platform:lt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:f,y:u}=P(s,o,c),d=o,m={},p=0;for(let e=0;e<l.length;e++){const{name:i,fn:y}=l[e],{x:g,y:h,data:x,reset:w}=await y({x:f,y:u,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:s,platform:a,elements:{reference:t,floating:n}});f=null!=g?g:f,u=null!=h?h:u,m={...m,[i]:{...m[i],...x}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(s=!0===w.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:f,y:u}=P(s,d,c))),e=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:m}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:ht(e,r),middleware:yt({placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})});if(s&&y.arrow){const{x:n,y:e}=y.arrow,o=m.split("-")[0],r=null!=n?"left":"top",i=wt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(s.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const g=y.hide?.referenceHidden,h=g?"hidden":null,x=h?"none":null;e.setAttribute(ut,m);const w=`translate(${Math.round(u)}px,${Math.round(d)}px)`;Object.assign(e.style,{visibility:h,pointerEvents:x,position:p,top:"0",left:"0",transform:w})},ut="data-placement",dt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],mt="bottom-start",pt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function yt({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:o,offsetSkidding:a,arrowEl:l,type:c}){const s=[(void 0===f&&(f={}),{name:"shift",options:f,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:a={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...l}=m(f,t),c={x:n,y:e},s=await D(t,l),u=x(p(o)),y=g(u);let h=c[y],w=c[u];r&&(h=d(h+s["y"===y?"top":"left"],h,h-s["y"===y?"bottom":"right"])),i&&(w=d(w+s["y"===u?"top":"left"],w,w-s["y"===u?"bottom":"right"]));const v=a.fn({...t,[y]:h,[u]:w});return{...v,data:{x:v.x-n,y:v.y-e}}}}),M()];var f;if("menu"===c)return[...s,R({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===c||"tooltip"===c){const c=[...s,F({mainAxis:"number"==typeof o?o:0,crossAxis:"number"==typeof a?a:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?c.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,o,i;const{rects:a,middlewareData:l,placement:c,platform:s,elements:f}=n,{crossAxis:u=!1,alignment:d,allowedPlacements:g=r,autoAlignment:h=!0,...x}=m(t,n),w=void 0!==d||g===r?function(t,n,e){return(t?[...e.filter((n=>y(n)===t)),...e.filter((n=>y(n)!==t))]:e.filter((t=>p(t)===t))).filter((e=>!t||y(e)===t||!!n&&b(e)!==e))}(d||null,h,g):g,A=await D(n,x),S=(null==(e=l.autoPlacement)?void 0:e.index)||0,k=w[S];if(null==k)return{};const P=v(k,a,await(null==s.isRTL?void 0:s.isRTL(f.floating)));if(c!==k)return{reset:{placement:w[0]}};const R=[A[p(k)],A[P[0]],A[P[1]]],E=[...(null==(o=l.autoPlacement)?void 0:o.overflows)||[],{placement:k,overflows:R}],O=w[S+1];if(O)return{data:{index:S+1,overflows:E},reset:{placement:O}};const M=E.map((t=>{const n=y(t.placement);return[t.placement,n&&u?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),F=(null==(i=M.filter((t=>t[2].slice(0,y(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||M[0][0];return F!==c?{data:{index:S+1,overflows:E},reset:{placement:F}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||c.push(R(e?{fallbackPlacements:e}:{})),l&&c.push((t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:r,rects:a,platform:l,elements:c}=n,{element:s,padding:f=0}=m(t,n)||{};if(null==s)return{};const u=S(f),p={x:e,y:o},g=w(r),x=h(g),v=await l.getDimensions(s),b="y"===g,A=b?"top":"left",k=b?"bottom":"right",P=b?"clientHeight":"clientWidth",D=a.reference[x]+a.reference[g]-p[g]-a.floating[x],R=p[g]-a.reference[g],E=await(null==l.getOffsetParent?void 0:l.getOffsetParent(s));let O=E?E[P]:0;O&&await(null==l.isElement?void 0:l.isElement(E))||(O=c.floating[P]||a.floating[x]);const M=D/2-R/2,F=O/2-v[x]/2-1,T=i(u[A],F),C=i(u[k],F),$=T,z=O-v[x]-C,B=O/2-v[x]/2+M,L=d($,B,z),j=null!=y(r)&&B!=L&&a.reference[x]/2-(B<$?T:C)-v[x]/2<0?B<$?$-B:z-B:0;return{[g]:p[g]-j,data:{[g]:L,centerOffset:B-L+j}}}}))({element:l})),c}return[]}function gt(t,n){const e=t.filter((t=>dt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${dt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ht(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function xt(t,e,o=!1){if(!t.open)return;const r=o?function(t){let e=bt.get(t);return e||(e=n(ft,100,{leading:!0,maxWait:100}),bt.set(t,e),e)}(t):ft;return r(t,e)}const wt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},vt=new WeakMap,bt=new WeakMap;function At(t,n,e){e&&n&&(St(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),vt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,d=K(t),m=r||l?[...d?G(d):[],...G(n)]:[];m.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),l&&t.addEventListener("resize",e)}));const p=d&&f?function(t,n){let e,o=null;const r=$(t);function l(){clearTimeout(e),o&&o.disconnect(),o=null}return function s(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),l();const{left:d,top:m,width:p,height:y}=t.getBoundingClientRect();if(f||n(),!p||!y)return;const g={rootMargin:-c(m)+"px "+-c(r.clientWidth-(d+p))+"px "+-c(r.clientHeight-(m+y))+"px "+-c(d)+"px",threshold:a(0,i(1,u))||1};let h=!0;function x(t){const n=t[0].intersectionRatio;if(n!==u){if(!h)return s();n?s(!1,n):e=setTimeout((()=>{s(!1,1e-7)}),100)}h=!1}try{o=new IntersectionObserver(x,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,g)}o.observe(t)}(!0),l}(d,e):null;let y,g=-1,h=null;s&&(h=new ResizeObserver((t=>{let[o]=t;o&&o.target===d&&h&&(h.unobserve(n),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{h&&h.observe(n)}))),e()})),d&&!u&&h.observe(d),h.observe(n));let x=u?tt(t):null;return u&&function n(){const o=tt(t);!x||o.x===x.x&&o.y===x.y&&o.width===x.width&&o.height===x.height||e(),x=o,y=requestAnimationFrame(n)}(),e(),()=>{m.forEach((t=>{r&&t.removeEventListener("scroll",e),l&&t.removeEventListener("resize",e)})),p&&p(),h&&h.disconnect(),h=null,u&&cancelAnimationFrame(y)}}(n,e,(()=>t.reposition()))))}function St(t,n,e){e&&n&&(vt.get(t)?.(),vt.delete(t),bt.get(t)?.cancel(),bt.delete(t))}const kt=Math.ceil(Math.hypot(4,4));export{pt as F,St as a,kt as b,At as c,mt as d,gt as f,xt as r}
@@ -3,15 +3,15 @@
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 o,g as n,a as c}from"./p-9310b882.js";import{h as a,n as s,z as l,g as r,r as d,a as h,t as p,y as m}from"./p-6b2f2b85.js";import{c as u,d as b}from"./p-525f1188.js";import{c as g,d as f,u as k}from"./p-38ef0684.js";import{C as v}from"./p-18869c0f.js";import"./p-3fc17d72.js";import"./p-6f2edf5b.js";
6
+ import{r as e,c as t,h as i,H as o,g as n,a as c}from"./p-9310b882.js";import{h as a,n as s,z as l,g as r,r as d,a as h,t as p,y as m}from"./p-a16feeec.js";import{c as u,d as b}from"./p-c3ab7439.js";import{c as g,d as f,u as k}from"./p-ad75b9bb.js";import{C as v}from"./p-e3525c00.js";import"./p-8b448a5b.js";import"./p-588bc0c0.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
  */function y(e,t){const i="down"===t?"nextElementSibling":"previousElementSibling";let o=e,n=null;for(;c=o,c?.matches("calcite-tree-item");){if(!o.disabled){n=o;break}o=o[i]}var c;return n}const w=class{constructor(i){e(this,i),this.calciteTreeSelect=t(this,"calciteTreeSelect",6),this.lines=!1,this.child=void 0,this.scale="m",this.selectionMode="single",this.selectedItems=[]}componentWillRender(){var e;const t=null===(e=this.el.parentElement)||void 0===e?void 0:e.closest("calcite-tree");this.lines=t?t.lines:this.lines,this.scale=t?t.scale:this.scale,this.selectionMode=t?t.selectionMode:this.selectionMode,this.child=!!t}render(){return i(o,{"aria-multiselectable":this.child?void 0:("multiple"===this.selectionMode||"multichildren"===this.selectionMode).toString(),role:this.child?void 0:"tree",tabIndex:this.getRootTabIndex()},i("slot",null))}onFocus(){if(!this.child){const e=this.el.querySelector("calcite-tree-item[selected]:not([disabled])")||this.el.querySelector("calcite-tree-item:not([disabled])");a(e)}}onFocusIn(e){(e.relatedTarget===this.el||!this.el.contains(e.relatedTarget))&&this.el.removeAttribute("tabindex")}onFocusOut(e){!this.el.contains(e.relatedTarget)&&(this.el.tabIndex=this.getRootTabIndex())}onClick(e){const t=e.target,i=s(t.querySelectorAll("calcite-tree-item"));if(this.child)return;if(this.child||(e.preventDefault(),e.stopPropagation()),"ancestors"===this.selectionMode&&!this.child)return void this.updateAncestorTree(e);const o="none"===this.selectionMode,n=null!==this.selectionMode&&(!t.hasChildren||t.hasChildren&&("children"===this.selectionMode||"multichildren"===this.selectionMode)),c="multichildren"===this.selectionMode&&t.hasChildren,a=!o&&e.detail.modifyCurrentSelection&&("multiple"===this.selectionMode||"multichildren"===this.selectionMode),l=!a&&(("single"===this.selectionMode||"multiple"===this.selectionMode)&&i.length<=0||"children"===this.selectionMode||"multichildren"===this.selectionMode),r=["children","multichildren"].includes(this.selectionMode)||["single","multiple"].includes(this.selectionMode)&&t.hasChildren&&!e.detail.forceToggle;if(!this.child){const d=[];n&&d.push(t),l&&s(this.el.querySelectorAll("calcite-tree-item[selected]")).forEach((e=>{d.includes(e)||(e.selected=!1)})),r&&(["single","multiple"].includes(this.selectionMode)?t.expanded=!t.expanded:"multichildren"===this.selectionMode?t.expanded=!t.selected:"children"===this.selectionMode&&(t.expanded=!t.selected||!t.expanded)),c&&i.forEach((e=>{e.selected=!1,e.hasChildren&&(e.expanded=!1)})),a&&window.getSelection().removeAllRanges(),a&&t.selected||e.detail.forceToggle?d.forEach((e=>{e.disabled||(e.selected=!1)})):o||d.forEach((e=>{e.disabled||(e.selected=!0)}))}this.selectedItems=o?[t]:s(this.el.querySelectorAll("calcite-tree-item")).filter((e=>e.selected)),this.calciteTreeSelect.emit(),e.stopPropagation()}keyDownHandler(e){var t;const i=this.el.closest("calcite-tree:not([child])"),o=e.target;if(i===this.el&&"CALCITE-TREE-ITEM"===o.tagName&&this.el.contains(o))if("ArrowDown"!==e.key){if("ArrowUp"===e.key){const t=y(o.previousElementSibling,"up");t&&(t.focus(),e.preventDefault())}if("ArrowLeft"===e.key&&!o.disabled){if(o.hasChildren&&o.expanded)return o.expanded=!1,void e.preventDefault();const t=o.parentElement.closest("calcite-tree-item");return!t||o.hasChildren&&!1!==o.expanded?void 0:(t.focus(),void e.preventDefault())}"ArrowRight"!==e.key||o.disabled||o.hasChildren&&(o.expanded&&l(this.el).activeElement===o?(null===(t=y(o.querySelector("calcite-tree-item"),"down"))||void 0===t||t.focus(),e.preventDefault()):(o.expanded=!0,e.preventDefault()))}else{const t=y(o.nextElementSibling,"down");t&&(t.focus(),e.preventDefault())}}updateAncestorTree(e){const t=e.target;if(t.disabled)return;const i=[];let o=t.parentElement.closest("calcite-tree-item");for(;o;)i.push(o),o=o.parentElement.closest("calcite-tree-item");const n=Array.from(t.querySelectorAll("calcite-tree-item:not([disabled])")),c=n.filter((e=>!e.hasChildren)),a=n.filter((e=>e.hasChildren)),l=t.hasChildren?!(t.selected||t.indeterminate):!t.selected;function r(e,t){const i=e.filter((e=>e.selected)),o=e.filter((e=>!e.selected));t.selected=i.length===e.length,t.indeterminate=i.length>0&&o.length>0}c.forEach((e=>{e.selected=l,e.indeterminate=!1})),a.reverse().forEach((e=>{r(Array.from(e.querySelectorAll(":scope > calcite-tree > calcite-tree-item")),e)})),t.hasChildren?r(n,t):(t.selected=l,t.indeterminate=!1),i.forEach((e=>{const t=s(e.querySelectorAll("calcite-tree-item")),i=t.filter((e=>e.selected));if(0===i.length)return e.selected=!1,void(e.indeterminate=!1);const o=i.length<t.length;e.indeterminate=o,e.selected=!o})),this.selectedItems=s(this.el.querySelectorAll("calcite-tree-item")).filter((e=>e.selected)),this.calciteTreeSelect.emit()}getRootTabIndex(){return this.child?-1:0}get el(){return n(this)}};w.style=":host{display:block}:host(:focus){outline:2px solid transparent;outline-offset:2px}: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 x="children",z="bullet-point",j="check",C=class{constructor(i){e(this,i),this.calciteInternalTreeItemSelect=t(this,"calciteInternalTreeItemSelect",6),this.iconClickHandler=e=>{e.stopPropagation(),this.expanded=!this.expanded},this.childrenClickHandler=e=>e.stopPropagation(),this.updateParentIsExpanded=(e,t)=>{r(e,x,{all:!0,selector:"calcite-tree-item"}).forEach((e=>e.parentExpanded=t))},this.actionsEndSlotChangeHandler=e=>{this.hasEndActions=d(e)},this.disabled=!1,this.expanded=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.selected=!1,this.parentExpanded=!1,this.depth=-1,this.hasChildren=null,this.lines=void 0,this.scale=void 0,this.indeterminate=!1,this.selectionMode=void 0,this.updateAfterInitialRender=!1,this.hasEndActions=!1}expandedHandler(e){this.updateParentIsExpanded(this.el,e)}getSelectionMode(){this.isSelectionMultiLike="multiple"===this.selectionMode||"multichildren"===this.selectionMode}connectedCallback(){var e;if(this.parentTreeItem=null===(e=this.el.parentElement)||void 0===e?void 0:e.closest("calcite-tree-item"),this.parentTreeItem){const{expanded:e}=this.parentTreeItem;this.updateParentIsExpanded(this.parentTreeItem,e)}u(this),g(this)}disconnectedCallback(){b(this),f(this)}componentWillRender(){var e;this.hasChildren=!!this.el.querySelector("calcite-tree"),this.depth=0;let t,i=this.el.closest("calcite-tree");if(i)for(this.selectionMode=i.selectionMode,this.scale=i.scale||"m",this.lines=i.lines;i&&(t=null===(e=i.parentElement)||void 0===e?void 0:e.closest("calcite-tree"),t!==i);)i=t,this.depth=this.depth+1}componentWillLoad(){requestAnimationFrame((()=>this.updateAfterInitialRender=!0))}componentDidLoad(){this.updateAncestorTree()}componentDidRender(){k(this,(()=>this.parentExpanded||1===this.depth))}render(){const e="rtl"===h(this.el),t="single"===this.selectionMode||"children"===this.selectionMode,n="multiple"===this.selectionMode||"multichildren"===this.selectionMode,c="none"===this.selectionMode&&!this.hasChildren,a=this.hasChildren?i("calcite-icon",{class:{chevron:!0,[v.rtl]:e},"data-test-id":"icon",icon:"chevron-right",onClick:this.iconClickHandler,scale:"l"===this.scale?"m":"s"}):null,s=i("slot",{key:"default-slot"}),l="ancestors"===this.selectionMode?i("label",{class:"checkbox-label",key:"checkbox-label"},i("calcite-checkbox",{checked:this.selected,class:"checkbox","data-test-id":"checkbox",indeterminate:this.hasChildren&&this.indeterminate,scale:this.scale,tabIndex:-1}),s):null,r=t?z:n?j:c?"blank":null,d=r?i("calcite-icon",{class:{"bullet-point":r===z,checkmark:r===j,[v.rtl]:e},icon:r,scale:"l"===this.scale?"m":"s"}):null,m=!(this.parentExpanded||1===this.depth),u=this.updateAfterInitialRender&&this.expanded,{hasEndActions:b}=this,g=i("slot",{key:"actionsEndSlot",name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}),f=i("calcite-icon",{class:"icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"l"===this.scale?"m":"s"});return i(o,{"aria-expanded":this.hasChildren?p(u):void 0,"aria-hidden":p(m),"aria-selected":this.selected?"true":n?"false":void 0,"calcite-hydrated-hidden":m,role:"treeitem"},i("div",{class:{"item--expanded":u}},i("div",{class:"node-actions-container"},i("div",{class:{"node-container":!0,[v.rtl]:e},"data-selection-mode":this.selectionMode,ref:e=>this.defaultSlotWrapper=e},a,d,this.iconStart?f:null,l||s),i("div",{class:"actions-end",hidden:!b,ref:e=>this.actionSlotWrapper=e},g)),i("div",{class:{"children-container":!0,[v.rtl]:e},"data-test-id":"calcite-tree-children",onClick:this.childrenClickHandler,role:this.hasChildren?"group":void 0},i("slot",{name:x}))))}onClick(e){if(this.disabled||this.isActionEndEvent(e))return;const[t]=m(this.el,"a");t&&"a"!==e.composedPath()[0].tagName.toLowerCase()&&window.open(t.href,""===t.target?"_self":t.target),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:"ancestors"===this.selectionMode||this.isSelectionMultiLike,forceToggle:!1})}keyDownHandler(e){let t;if(!this.isActionEndEvent(e))switch(e.key){case" ":if("none"===this.selectionMode)return;this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,forceToggle:!1}),e.preventDefault();break;case"Enter":if("none"===this.selectionMode)return;const i=s(this.el.children).find((e=>e.matches("a")));i?(i.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,forceToggle:!1}),e.preventDefault();break;case"Home":t=this.el.closest("calcite-tree:not([child])");const o=t.querySelector("calcite-tree-item");null==o||o.focus();break;case"End":t=this.el.closest("calcite-tree:not([child])");let n=t.children[t.children.length-1],c=s(n.children).find((e=>e.matches("calcite-tree")));for(;c;)n=c.children[t.children.length-1],c=s(n.children).find((e=>e.matches("calcite-tree")));null==n||n.focus()}}isActionEndEvent(e){return e.composedPath().includes(this.actionSlotWrapper)}updateAncestorTree(){const e=this.parentTreeItem;if("ancestors"===this.selectionMode&&e)if(this.selected){const t=this.el.parentElement,i=Array.from(null==t?void 0:t.children),o=i.filter((e=>e.selected));i.length===o.length?(e.selected=!0,e.indeterminate=!1):o.length>0&&(e.indeterminate=!0)}else this.indeterminate&&(this.parentTreeItem.indeterminate=!0)}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],selectionMode:["getSelectionMode"]}}};C.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;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}.node-actions-container{display:flex;justify-content:space-between}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .node-actions-container{min-block-size:1.5rem}:host([scale=s]) .node-actions-container .node-container .checkbox,:host([scale=s]) .node-actions-container .node-container .chevron,:host([scale=s]) .node-actions-container .node-container .checkmark,:host([scale=s]) .node-actions-container .node-container .bullet-point{margin-inline:0.25rem}:host([scale=s]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .node-actions-container{min-block-size:2rem}:host([scale=m]) .node-actions-container .node-container .checkbox,:host([scale=m]) .node-actions-container .node-container .chevron,:host([scale=m]) .node-actions-container .node-container .checkmark,:host([scale=m]) .node-actions-container .node-container .bullet-point{margin-inline:0.5rem}:host([scale=m]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .node-actions-container{min-block-size:2.75rem}:host([scale=l]) .node-actions-container .node-container .checkbox,:host([scale=l]) .node-actions-container .node-container .chevron,:host([scale=l]) .node-actions-container .node-container .checkmark,:host([scale=l]) .node-actions-container .node-container .bullet-point{margin-inline:0.75rem}:host([scale=l]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-app-z-index);inline-size:1px;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:"";background-color:var(--calcite-ui-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}::slotted(*):hover{text-decoration:none !important}::slotted(a){inline-size:100%;-webkit-text-decoration-line:none;text-decoration-line:none}:host{outline-color:transparent}:host:focus,:host:active{outline:2px solid transparent;outline-offset:2px;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 )}:host(:focus:not([disabled])){outline:2px solid transparent;outline-offset:2px;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 )}.actions-end{display:flex;flex-direction:row;align-items:center;align-self:stretch}.checkbox{line-height:0}.checkbox-label{pointer-events:none;display:flex;align-items:center}.checkbox:focus{outline:2px solid transparent;outline-offset:2px}.children-container{position:relative;block-size:0px;transform-origin:top;overflow:hidden;opacity:0;margin-inline-start:1.25rem;transform:scaleY(0);transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.item--expanded>.children-container{overflow:visible;opacity:1;transform:none;block-size:auto}.node-container{position:relative;display:flex;min-inline-size:0px;align-items:center}.node-container .checkmark,.node-container .bullet-point{opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus:not([disabled])) .node-container .checkmark,:host(:focus:not([disabled])) .node-container .bullet-point{opacity:1}:host([selected]) .node-container,:host([selected]) .node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .node-container .bullet-point,:host([selected]) .node-container .checkmark,:host([selected]) .node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark{opacity:1;color:var(--calcite-ui-brand)}:host([selection-mode=none]:not([has-children])):host([scale=s]) .node-container{padding-inline-start:0.5rem}:host([selection-mode=none]:not([has-children])):host([scale=m]) .node-container{padding-inline-start:1rem}:host([selection-mode=none]:not([has-children])):host([scale=l]) .node-container{padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=s]) .node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.25rem}:host(:not([has-children])):host([scale=m]) .node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=l]) .node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.75rem}:host([has-children]) .node-container[data-selection-mode=ancestors] .checkbox{margin-inline-start:0}:host([has-children]) .node-container .bullet-point,:host([has-children]) .node-container .checkmark{display:none}:host([has-children][expanded]:not([selected]):not([selection-mode=none])) .node-container ::slotted(*){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([has-children][selected]) .node-container[data-selection-mode=children],:host([has-children][selected]) .node-container[data-selection-mode=multichildren]{color:var(--calcite-ui-brand)}.chevron{position:relative;align-self:center;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;flex:0 0 auto;transform:rotate(0deg)}.calcite--rtl .chevron{transform:rotate(180deg)}.item--expanded .node-container>.chevron{transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-ui-brand)}:host([hidden]){display:none}[hidden]{display:none}';const A=class{constructor(t){e(this,t),this.isPortal=!1,this.type="",this.typeKeywords=[]}render(){return i("div",{title:this.type},i("img",{class:"item-type-icon item-type-icon-margin",height:"16",src:this._getIconUrl(this.type,this.typeKeywords),width:"16"}))}_getIconUrl(e,t){const i=e&&e.toLowerCase()||"";let o=!1,n=!1,a=!1,s=!1,l=!1,r=!1,d="";return t=t||[],i.indexOf("service")>0||"feature collection"===i||"kml"===i||"wms"===i||"wmts"===i||"wfs"===i?(o=t.indexOf("Hosted Service")>-1,"feature service"===i||"feature collection"===i||"kml"===i||"wfs"===i?(s=t.indexOf("Table")>-1,n=t.indexOf("Route Layer")>-1,a=t.indexOf("Markup")>-1,l=-1!==t.indexOf("Spatiotemporal"),d=l&&s?"spatiotemporaltable":s?"table":n?"routelayer":a?"markup":l?"spatiotemporal":o?"featureshosted":"features"):"map service"===i||"wms"===i||"wmts"===i?(l=-1!==t.indexOf("Spatiotemporal"),r=-1!==t.indexOf("Relational"),d=l||r?"mapimages":o||t.indexOf("Tiled")>-1||"wmts"===i?"maptiles":"mapimages"):d="scene service"===i?t.indexOf("Line")>-1?"sceneweblayerline":t.indexOf("3DObject")>-1?"sceneweblayermultipatch":t.indexOf("Point")>-1?"sceneweblayerpoint":t.indexOf("IntegratedMesh")>-1?"sceneweblayermesh":t.indexOf("PointCloud")>-1?"sceneweblayerpointcloud":t.indexOf("Polygon")>-1?"sceneweblayerpolygon":t.indexOf("Building")>-1?"sceneweblayerbuilding":"sceneweblayer":"image service"===i?t.indexOf("Elevation 3D Layer")>-1?"elevationlayer":t.indexOf("Tiled Imagery")>-1?"tiledimagerylayer":"imagery":"stream service"===i?"streamlayer":"vector tile service"===i?"vectortile":"datastore catalog service"===i?"datastorecollection":"geocoding service"===i?"geocodeservice":"geoprocessing service"===i&&t.indexOf("Web Tool")>-1&&this.isPortal?"tool":"layers"):d="web map"===i||"cityengine web scene"===i?"maps":"web scene"===i?t.indexOf("ViewingMode-Local")>-1?"webscenelocal":"websceneglobal":"web mapping application"===i||"mobile application"===i||"application"===i||"operation view"===i||"desktop application"===i?"apps":"map document"===i||"map package"===i||"published map"===i||"scene document"===i||"globe document"===i||"basemap package"===i||"mobile basemap package"===i||"mobile map package"===i||"project package"===i||"project template"===i||"pro map"===i||"layout"===i||"layer"===i&&t.indexOf("ArcGIS Pro")>-1||"explorer map"===i&&t.indexOf("Explorer Document")?"mapsgray":"service definition"===i||"csv"===i||"shapefile"===i||"cad drawing"===i||"geojson"===i||"360 vr experience"===i||"netcdf"===i||"administrative report"===i?"datafiles":"explorer add in"===i||"desktop add in"===i||"windows viewer add in"===i||"windows viewer configuration"===i?"appsgray":"arcgis pro add in"===i||"arcgis pro configuration"===i?"addindesktop":"rule package"===i||"file geodatabase"===i||"sqlite geodatabase"===i||"csv collection"===i||"kml collection"===i||"windows mobile package"===i||"map template"===i||"desktop application template"===i||"gml"===i||"arcpad package"===i||"code sample"===i||"form"===i||"document link"===i||"operations dashboard add in"===i||"rules package"===i||"image"===i||"workflow manager package"===i||"explorer map"===i&&t.indexOf("Explorer Mapping Application")>-1||t.indexOf("Document")>-1?"datafilesgray":"network analysis service"===i||"geoprocessing service"===i||"geodata service"===i||"geometry service"===i||"geoprocessing package"===i||"locator package"===i||"geoprocessing sample"===i||"workflow manager service"===i?"toolsgray":"layer"===i||"layer package"===i||"explorer layer"===i?"layersgray":"scene package"===i?"scenepackage":"mobile scene package"===i?"mobilescenepackage":"tile package"===i||"compact tile package"===i?"tilepackage":"task file"===i?"taskfile":"report template"===i?"report-template":"statistical data collection"===i?"statisticaldatacollection":"insights workbook"===i?"workbook":"insights model"===i?"insightsmodel":"insights page"===i?"insightspage":"insights theme"===i?"insightstheme":"hub initiative"===i?"hubinitiative":"hub page"===i?"hubpage":"hub site application"===i?"hubsite":"hub event"===i?"hubevent":"relational database connection"===i?"relationaldatabaseconnection":"big data file share"===i?"datastorecollection":"image collection"===i?"imagecollection":"desktop style"===i?"desktopstyle":"style"===i?"style":"dashboard"===i?"dashboard":"raster function template"===i?"rasterprocessingtemplate":"vector tile package"===i?"vectortilepackage":"ortho mapping project"===i?"orthomappingproject":"ortho mapping template"===i?"orthomappingtemplate":"solution"===i?"solutions":"geopackage"===i?"geopackage":"deep learning package"===i?"deeplearningpackage":"real time analytic"===i?"realtimeanalytics":"big data analytic"===i?"bigdataanalytics":"feed"===i?"feed":"excalibur imagery project"===i?"excaliburimageryproject":"notebook"===i?"notebook":"storymap"===i?"storymap":"survey123 add in"===i?"survey123addin":"mission"===i?"mission":"mission report"===i?"missionreport":"quickcapture project"===i?"quickcaptureproject":"pro report"===i?"proreport":"urban model"===i?"urbanmodel":"web experience"===i?"experiencebuilder":"web experience template"===i?"webexperiencetemplate":"workflow"===i?"workflow":"kernel gateway connection"===i?"kernelgatewayconnection":"insights script"===i?"insightsscript":"hub initiative template"===i?"hubinitiativetemplate":"storymap theme"===i?"storymaptheme":"group"===i?"group":"maps",d?c("./item-icons/"+d+"16.png"):null}static get assetsDirs(){return["item-icons"]}get el(){return n(this)}};A.style='.item-type-icon{pointer-events:none;display:block;height:1rem;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}.item-type-icon-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.item-type-icon-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.item-type-icon-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.item-type-icon-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.item-type-icon-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.item-type-icon-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.item-type-icon-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.item-type-icon-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>.item-type-icon{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>.item-type-icon{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>.item-type-icon{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>.item-type-icon{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>.item-type-icon{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>.item-type-icon{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>.item-type-icon{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>.item-type-icon{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>.item-type-icon{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>.item-type-icon{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>.item-type-icon{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>.item-type-icon{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>.item-type-icon{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>.item-type-icon{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>.item-type-icon{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>.item-type-icon{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face .item-type-icon{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:normal}.code-face .item-type-icon b,.code-face .item-type-icon strong{font-weight:400}.code-italic .item-type-icon{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:italic}.code-italic .item-type-icon b,.code-italic .item-type-icon strong{font-weight:400}.item-type-icon{margin-top:0.15em !important;min-width:16px;fill:currentColor;transform:rotate(360deg)}.item-type-icon-margin{margin-inline-end:0.375rem}';export{w as calcite_tree,C as calcite_tree_item,A as solution_item_icon}
@@ -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{d as e}from"./p-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.js";var a={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,a){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?a[0]:a[1]:a[2]},relativeTimeFormatter:function(e,d,t,r){var n=a.words[t];if(1===t.length)return"y"===t&&d?"jedna godina":r||d?n[0]:n[1];var m=a.correctGrammarCase(e,n);return"yy"===t&&d&&"%d godinu"===m?e+" godina":m.replace("%d",e)}},d={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:a.relativeTimeFormatter,mm:a.relativeTimeFormatter,h:a.relativeTimeFormatter,hh:a.relativeTimeFormatter,d:a.relativeTimeFormatter,dd:a.relativeTimeFormatter,M:a.relativeTimeFormatter,MM:a.relativeTimeFormatter,y:a.relativeTimeFormatter,yy:a.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};e.locale(d,null,!0);export default d;
@@ -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 e,c as t,h as i,H as a,g as n}from"./p-9310b882.js";import{l as s,a as l}from"./p-3bd99fc9.js";import"./p-6b2f2b85.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";
6
+ import{r as e,c as t,h as i,H as a,g as n}from"./p-9310b882.js";import{l as s,a as l}from"./p-d2d3e4b5.js";import"./p-a16feeec.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 o=class{constructor(i){e(this,i),this.calciteInternalLabelClick=t(this,"calciteInternalLabelClick",2),this.labelClickHandler=e=>{this.calciteInternalLabelClick.emit({sourceEvent:e})},this.alignment="start",this.for=void 0,this.scale="m",this.layout="default"}connectedCallback(){document.dispatchEvent(new CustomEvent(s))}disconnectedCallback(){document.dispatchEvent(new CustomEvent(l))}render(){return i(a,{onClick:this.labelClickHandler},i("div",{class:"container"},i("slot",null)))}get el(){return n(this)}};o.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}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{o as calcite_label}
@@ -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 t,c as i,h as e,g as a}from"./p-9310b882.js";import{c as n,u as s,d as o}from"./p-38ef0684.js";import{c as l,s as c,a as r}from"./p-d62784a4.js";
6
+ import{r as t,c as i,h as e,g as a}from"./p-9310b882.js";import{c as n,u as s,d as o}from"./p-ad75b9bb.js";import{c as l,s as c,a as r}from"./p-476e5302.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 d=class{constructor(e){t(this,e),this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",6),this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",6),this.calciteSplitButtonPrimaryClickHandler=()=>this.calciteSplitButtonPrimaryClick.emit(),this.calciteSplitButtonSecondaryClickHandler=()=>this.calciteSplitButtonSecondaryClick.emit(),this.appearance="solid",this.kind="brand",this.disabled=!1,this.active=!1,this.dropdownIconType="chevron",this.dropdownLabel=void 0,this.loading=!1,this.overlayPositioning="absolute",this.primaryIconEnd=void 0,this.primaryIconFlipRtl=void 0,this.primaryIconStart=void 0,this.primaryLabel=void 0,this.primaryText=void 0,this.scale="m",this.width="auto"}handleDisabledChange(t){t||(this.active=!1)}activeHandler(){this.disabled&&(this.active=!1)}async setFocus(){await l(this),this.el.focus()}connectedCallback(){n(this)}componentWillLoad(){c(this)}componentDidLoad(){r(this)}componentDidRender(){s(this)}disconnectedCallback(){o(this)}render(){return e("div",{class:{"split-button__container":!0,"width-auto":"auto"===this.width,"width-half":"half"===this.width,"width-full":"full"===this.width}},e("calcite-button",{appearance:this.appearance,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,kind:this.kind,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:"auto"===this.width?"auto":"full"},this.primaryText),e("div",{class:"split-button__divider-container"},e("div",{class:"split-button__divider"})),e("calcite-dropdown",{disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,open:this.active,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,width:this.scale},e("calcite-button",{appearance:this.appearance,disabled:this.disabled,"icon-start":this.dropdownIcon,kind:this.kind,label:this.dropdownLabel,scale:this.scale,slot:"trigger",splitChild:"secondary",type:"button"}),e("slot",null)))}get dropdownIcon(){return"chevron"===this.dropdownIconType?"chevronDown":"caret"===this.dropdownIconType?"caretDown":"ellipsis"===this.dropdownIconType?"ellipsis":"handle-vertical"}static get delegatesFocus(){return!0}get el(){return a(this)}static get watchers(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}}};d.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:inline-block}:host .split-button__container{display:flex;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}:host:host([kind=brand]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host:host([kind=danger]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host:host([kind=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host:host([kind=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1);--calcite-split-button-background:transparent}:host([appearance=outline]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline-fill]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{inline-size:auto}.width-half{inline-size:50%}.width-full{inline-size:100%}.split-button__divider-container{display:flex;inline-size:1px;align-items:stretch;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]) .split-button__divider-container,:host([appearance=outline]) .split-button__divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline-fill]):hover .split-button__divider-container,:host([appearance=outline]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:hover) .split-button__divider-container,:host([appearance=outline]:hover) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline-fill]:focus-within) .split-button__divider-container,:host([appearance=outline]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{d as calcite_split_button}
@@ -3,14 +3,14 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{g as t}from"./p-18f1772b.js";import{h as s,g as i,t as n}from"./p-6b2f2b85.js";import{S as e}from"./p-215d3505.js";import{d as o}from"./p-a82f35c9.js";import{h as r,H as a}from"./p-9310b882.js";import{C as l,S as c}from"./p-4805ff13.js";
6
+ import{g as t}from"./p-0ed14b4b.js";import{h as s,g as i,t as e}from"./p-a16feeec.js";import{S as n}from"./p-99402001.js";import{d as o}from"./p-a82f35c9.js";import{h as r,H as a}from"./p-9310b882.js";import{C as l,S as c}from"./p-87d66120.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
11
- */function h(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const u=["ArrowUp","ArrowDown"];function f(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=o(x.bind(this),0),this.emitCalciteListFilter=o(j.bind(this),0)}function m(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}function d(){this.mutationObserver?.disconnect()}function p(t){const{selectedValues:i}=this,{item:n,value:e,selected:o,shiftPressed:r}=t.detail;o?(this.multiple&&r&&this.selectSiblings(n),this.multiple||this.deselectSiblingItems(n),i.set(e,n)):(i.delete(e),this.multiple&&r&&this.selectSiblings(n,!0)),this.multiple||(C(n,o),o&&s(n)),this.lastSelectedItem=n,this.emitCalciteListChange()}function b(t){const s=t.detail.oldValue,i=this.selectedValues;if(i.has(s)){const n=i.get(s);i.delete(s),i.set(t.detail.newValue,n)}t.stopPropagation()}function g(t){const{el:s,items:i,multiple:n,selectedValues:e}=this;n||s.contains(t.relatedTarget)||A(i).forEach((s=>{C(s,0===e.size?s.contains(t.target)||t.target===s:s.selected)}))}function v(t){const{key:i,target:n}=t;if(!function(t){return!!u.find((s=>s===t))}(i))return;const{items:e,multiple:o,selectionFollowsFocus:r}=this,{length:a}=e,l=e.indexOf(n);if(!a||-1===l)return;t.preventDefault();const c=e[w(this,n,"ArrowUp"===i?"up":"down")];e.forEach((t=>C(t,t===c))),!o&&r&&(c.selected=!0),s(c)}function w(s,i,n){const{items:e}=s,{length:o}=e,r=e.indexOf(i),a="up"===n?-1:1;let l=1,c=t(r+a*l++,o);const h=c;for(;e[c].disabled&&(c=t(r+a*l++,o),c!==h););return c}function F(t,s){const{items:i}=t;return i.indexOf(s)}function A(t){return t.filter((t=>!t.disabled))}function j(){this.calciteListFilter.emit()}function x(){this.calciteListChange.emit(this.selectedValues)}function y(t){if(t.defaultPrevented)return;const s=t.target,i=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===s.parentElement.tagName&&s.slot===e.parentItem?(s.parentElement.remove(),Array.from(s.parentElement.children).forEach((t=>i.delete(t.value)))):(s.remove(),i.delete(s.value)),this.emitCalciteListChange()}function C(t,s){t.disabled||(s?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function E(t){if(this.filterEnabled&&"filter"===t)return void await s(this.filterEl);const{items:i,multiple:n,selectionFollowsFocus:e}=this;if(0===i.length)return;if(n)return A(i)[0]?.setFocus();const o=A(i),r=o.find((t=>t.selected))||o[0];return e&&r&&(r.selected=!0),r.setFocus()}function I(t){this.items=Array.from(this.el.querySelectorAll(t));let s=!1;const{items:i}=this;i.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.deselectDisabled=!0,C(t,!1)),t.selected&&(s=!0,C(t,!0),this.selectedValues.set(t.value,t))}));const[n]=i;s||!n||n.disabled||C(n,!0)}function L(){const t=this.selectedValues,s=this.items.map((({value:t})=>t));t.forEach((t=>{s.includes(t.value)||this.selectedValues.delete(t.value)}))}function P(t){this.items.forEach((s=>{s.value!==t.value&&(s.toggleSelected(!1),this.selectedValues.has(s.value)&&this.selectedValues.delete(s.value))}))}function S(t,s=!1){if(!this.lastSelectedItem)return;const{items:i}=this,n=i.findIndex((t=>t.value===this.lastSelectedItem.value)),e=i.findIndex((s=>s.value===t.value));i.slice(Math.min(n,e),Math.max(n,e)).forEach((t=>{t.toggleSelected(!s),s?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let T;function k(t=!1){const{filteredData:s,filterText:n}=this,e=s.map((t=>t.value));let o=!1;T||(T=new Set);const r=this.items?.filter((t=>{const s=t.parentElement;s.matches("calcite-pick-list-group")&&T.add(s);const i=!n||e.includes(t.value);return t.hidden=!i,o||(o=i&&t.selected),i}))||[];T.forEach((t=>{const s=r.some((s=>t.contains(s)));if(t.hidden=!s,!s)return;const n=i(t,"parent-item");n&&(n.hidden=!1,r.includes(n)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),T.clear(),r.length>0&&!o&&!this.multiple&&C(r[0],!0),this.setFilteredItems(r),t&&this.emitCalciteListFilter()}function U(){const t=this.filterEl?.filteredItems;t&&(this.filteredData=t),this.handleFilter()}function D(t){t.stopPropagation();const{filteredItems:s,value:i}=t.currentTarget;this.filterText=i,this.filteredData=s,this.handleFilter(!0)}function M(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}
10
+ * v1.6.1
11
+ */function h(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const u=["ArrowUp","ArrowDown"];function f(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=o(x.bind(this),0),this.emitCalciteListFilter=o(j.bind(this),0)}function d(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}function m(){this.mutationObserver?.disconnect()}function p(t){const{selectedValues:i}=this,{item:e,value:n,selected:o,shiftPressed:r}=t.detail;o?(this.multiple&&r&&this.selectSiblings(e),this.multiple||this.deselectSiblingItems(e),i.set(n,e)):(i.delete(n),this.multiple&&r&&this.selectSiblings(e,!0)),this.multiple||(C(e,o),o&&s(e)),this.lastSelectedItem=e,this.emitCalciteListChange()}function b(t){const s=t.detail.oldValue,i=this.selectedValues;if(i.has(s)){const e=i.get(s);i.delete(s),i.set(t.detail.newValue,e)}t.stopPropagation()}function g(t){const{el:s,items:i,multiple:e,selectedValues:n}=this;e||s.contains(t.relatedTarget)||A(i).forEach((s=>{C(s,0===n.size?s.contains(t.target)||t.target===s:s.selected)}))}function v(t){const{key:i,target:e}=t;if(!function(t){return!!u.find((s=>s===t))}(i))return;const{items:n,multiple:o,selectionFollowsFocus:r}=this,{length:a}=n,l=n.indexOf(e);if(!a||-1===l)return;t.preventDefault();const c=n[w(this,e,"ArrowUp"===i?"up":"down")];n.forEach((t=>C(t,t===c))),!o&&r&&(c.selected=!0),s(c)}function w(s,i,e){const{items:n}=s,{length:o}=n,r=n.indexOf(i),a="up"===e?-1:1;let l=1,c=t(r+a*l++,o);const h=c;for(;n[c].disabled&&(c=t(r+a*l++,o),c!==h););return c}function F(t,s){const{items:i}=t;return i.indexOf(s)}function A(t){return t.filter((t=>!t.disabled))}function j(){this.calciteListFilter.emit()}function x(){this.calciteListChange.emit(this.selectedValues)}function y(t){if(t.defaultPrevented)return;const s=t.target,i=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===s.parentElement.tagName&&s.slot===n.parentItem?(s.parentElement.remove(),Array.from(s.parentElement.children).forEach((t=>i.delete(t.value)))):(s.remove(),i.delete(s.value)),this.emitCalciteListChange()}function C(t,s){t.disabled||(s?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function E(t){if(this.filterEnabled&&"filter"===t)return void await s(this.filterEl);const{items:i,multiple:e,selectionFollowsFocus:n}=this;if(0===i.length)return;if(e)return A(i)[0]?.setFocus();const o=A(i),r=o.find((t=>t.selected))||o[0];return n&&r&&(r.selected=!0),r.setFocus()}function I(t){this.items=Array.from(this.el.querySelectorAll(t));let s=!1;const{items:i}=this;i.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.deselectDisabled=!0,C(t,!1)),t.selected&&(s=!0,C(t,!0),this.selectedValues.set(t.value,t))}));const[e]=i;s||!e||e.disabled||C(e,!0)}function L(){const t=this.selectedValues,s=this.items.map((({value:t})=>t));t.forEach((t=>{s.includes(t.value)||this.selectedValues.delete(t.value)}))}function P(t){this.items.forEach((s=>{s.value!==t.value&&(s.toggleSelected(!1),this.selectedValues.has(s.value)&&this.selectedValues.delete(s.value))}))}function S(t,s=!1){if(!this.lastSelectedItem)return;const{items:i}=this,e=i.findIndex((t=>t.value===this.lastSelectedItem.value)),n=i.findIndex((s=>s.value===t.value));i.slice(Math.min(e,n),Math.max(e,n)).forEach((t=>{t.toggleSelected(!s),s?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let T;function k(t=!1){const{filteredData:s,filterText:e}=this,n=s.map((t=>t.value));let o=!1;T||(T=new Set);const r=this.items?.filter((t=>{const s=t.parentElement;s.matches("calcite-pick-list-group")&&T.add(s);const i=!e||n.includes(t.value);return t.hidden=!i,o||(o=i&&t.selected),i}))||[];T.forEach((t=>{const s=r.some((s=>t.contains(s)));if(t.hidden=!s,!s)return;const e=i(t,"parent-item");e&&(e.hidden=!1,r.includes(e)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),T.clear(),r.length>0&&!o&&!this.multiple&&C(r[0],!0),this.setFilteredItems(r),t&&this.emitCalciteListFilter()}function U(){const t=this.filterEl?.filteredItems;t&&(this.filteredData=t),this.handleFilter()}function D(t){t.stopPropagation();const{filteredItems:s,value:i}=t.currentTarget;this.filterText=i,this.filteredData=s,this.handleFilter(!0)}function M(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}
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
16
- */const V=({props:{disabled:t,loading:s,filterEnabled:i,dataForFilter:e,handleFilterEvent:o,filterPlaceholder:h,filterText:u,setFilterEl:f,dragEnabled:m,storeAssistiveEl:d},...p})=>{const b=r("slot",null);return r(a,{"aria-busy":n(s),role:"menu",...p},r("section",null,m?r("span",{"aria-live":"assertive",class:"assistive-text",ref:d}):null,r("header",{class:{[l.sticky]:!0}},i?r("calcite-filter",{"aria-label":h,disabled:s||t,items:e,onCalciteFilterChange:o,placeholder:h,value:u,ref:f}):null,r("slot",{name:c.menuActions})),s?r("calcite-scrim",{loading:s}):null,b))};export{V as L,P as a,D as b,m as c,L as d,d as e,U as f,M as g,k as h,f as i,p as j,v as k,b as l,h as m,g as n,I as o,E as p,F as q,y as r,S as s,w as t}
15
+ * v1.6.1
16
+ */const V=({props:{disabled:t,loading:s,filterEnabled:i,dataForFilter:n,handleFilterEvent:o,filterPlaceholder:h,filterText:u,setFilterEl:f,dragEnabled:d,storeAssistiveEl:m},...p})=>{const b=r("slot",null);return r(a,{"aria-busy":e(s),role:"menu",...p},r("section",null,d?r("span",{"aria-live":"assertive",class:"assistive-text",ref:m}):null,r("header",{class:{[l.sticky]:!0}},i?r("calcite-filter",{"aria-label":h,disabled:s||t,items:n,onCalciteFilterChange:o,placeholder:h,value:u,ref:f}):null,r("slot",{name:c.menuActions})),s?r("calcite-scrim",{loading:s}):null,b))};export{V as L,P as a,D as b,d as c,L as d,m as e,U as f,M as g,k as h,f as i,p as j,v as k,b as l,h as m,g as n,I as o,E as p,F as q,y as r,S as s,w as t}
@@ -0,0 +1,11 @@
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{q as t,c as n}from"./p-a16feeec.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v1.6.1
11
+ */const e="calciteInternalLabelClick",c="calciteInternalLabelConnected",o="calciteInternalLabelDisconnected",s="calcite-label",i=new WeakMap,a=new WeakMap,u=new WeakMap,l=new Set,r=e=>{const{id:c}=e,o=c&&t(e,{selector:`${s}[for="${c}"]`});if(o)return o;const i=n(e,s);return!i||function(t,n){let e;const c="custom-element-ancestor-check",o=c=>{c.stopImmediatePropagation();const o=c.composedPath();e=o.slice(o.indexOf(n),o.indexOf(t))};t.addEventListener(c,o,{once:!0}),n.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),t.removeEventListener(c,o);return e.filter((e=>e!==n&&e!==t)).filter((t=>t.tagName?.includes("-"))).length>0}(i,e)?null:i};function f(t){const n=r(t.el);if(i.has(n)||!n&&l.has(t))return;const s=p.bind(t);if(n){t.labelEl=n;const r=h.bind(t);i.set(t.labelEl,r),t.labelEl.addEventListener(e,r),l.delete(t),document.removeEventListener(c,a.get(t)),u.set(t,s),document.addEventListener(o,s)}else l.has(t)||(s(),document.removeEventListener(o,u.get(t)))}function m(t){if(l.delete(t),document.removeEventListener(c,a.get(t)),document.removeEventListener(o,u.get(t)),a.delete(t),u.delete(t),!t.labelEl)return;const n=i.get(t.labelEl);t.labelEl.removeEventListener(e,n),i.delete(t.labelEl)}function d(t){return t.label||t.labelEl?.textContent?.trim()||""}function h(t){this.disabled||this.el.contains(t.detail.sourceEvent.target)||this.onLabelClick(t)}function b(){l.has(this)&&f(this)}function p(){l.add(this);const t=a.get(this)||b.bind(this);a.set(this,t),document.addEventListener(c,t)}export{o as a,f as c,m as d,d as g,c as l}
@@ -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 e,g as h}from"./p-9310b882.js";import{g as s}from"./p-7f9642d5.js";import{E as l}from"./p-868df4a0.js";import"./p-e1a4994d.js";const a=class{constructor(i){t(this,i),this.classicGrid=!1,this.showNewestFirst=!0,this.hideMap=!1,this.mapInfos=[],this.searchConfiguration=void 0,this.zoomAndScrollToSelected=!1,this._expandPopup=!1,this._translations=void 0,this._layoutMode=l.GRID,this._mapView=void 0,this._panelOpen=!0}async layoutChanged(t){this._layoutMode=t.detail}async mapChanged(t){const i=t.detail;this._expandPopup=!1,this._mapInfo=this._getMapInfo(i.id),this._mapView=i.mapView,this._mapView.popupEnabled=!1}async componentWillLoad(){await this._getTranslations()}render(){return i(e,null,i("calcite-shell",{class:"position-relative"},i("calcite-panel",{class:"width-full height-full"},this._getBody(this._layoutMode,this._panelOpen,this.hideMap))))}_getDividerIcon(t,i){let e="";switch(t){case l.HORIZONTAL:e=this.classicGrid?i?"chevrons-down":"chevrons-up":i?"chevrons-up":"chevrons-down";break;case l.VERTICAL:e=this.classicGrid?i?"chevrons-right":"chevrons-left":i?"chevrons-left":"chevrons-right";break;case l.GRID:e=this.classicGrid?i?"chevrons-up":"chevrons-down":i?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(t,i){let e="";switch(t){case l.HORIZONTAL:e=(i?"height-1-2":"height-0")+" width-full position-relative";break;case l.GRID:e=this.classicGrid?(i?"position-relative":"position-absolute-53")+" height-full width-full display-flex":"height-full position-relative "+(i?"width-1-3":"width-0");break;case l.VERTICAL:e="height-full position-relative "+(i?"width-1-2":"width-0")}return e}_getTableSizeClass(t,i){let e="";switch(t){case l.HORIZONTAL:e=(i?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case l.GRID:e=this.classicGrid?(i?"height-full":"height-53")+" position-relative width-full display-flex":(i?"width-2-3":"width-full")+" height-full display-flex";break;case l.VERTICAL:e=(i?"width-1-2":"width-full")+" height-full display-flex"}return e}_getBody(t,e,h){const s=this.classicGrid&&t===l.GRID&&e?"display-grid":t===l.HORIZONTAL?"":"display-flex";return i("calcite-panel",{class:"width-full height-full"},this.classicGrid?i("div",{class:`width-full height-full ${s}`},this._getTable(t,e),this._getMapAndCard(t,e,h)):i("div",{class:`width-full height-full ${s}`},this._getMapAndCard(t,e,h),this._getTable(t,e)))}_getMapAndCard(t,e,h){const s=this._getMapSizeClass(t,e);return this.classicGrid?i("div",{class:`${s} overflow-hidden`},this._getCardNode(t,h),this._getMapNode(t,h)):i("div",{class:`${s} overflow-hidden`},this._getMapNode(t,h),this._getPopupExpandNode(),this._getCardNode(t,h))}_getMapNode(t,e){return i("div",{class:`${this.classicGrid&&t===l.GRID?"width-full":this._expandPopup?"height-50-px":"adjusted-height-50"} overflow-hidden ${this.classicGrid&&t===l.GRID?"display-flex height-full width-1-2":t!==l.GRID||e?"display-none":""}`},i("map-card",{class:"width-full",mapInfos:this.mapInfos}))}_getPopupExpandNode(){const t=this._expandPopup?"chevrons-down":"chevrons-up";return i("div",{class:"height-49-px calcite-mode-dark"},i("calcite-panel",null,i("div",{class:"display-flex align-items-center",slot:"header-content"},i("calcite-icon",{class:"padding-inline-end-75",icon:"information",scale:"s"}),i("div",null,this._translations.information)),i("calcite-action",{class:"height-49-px",icon:t,onClick:()=>this._togglePopup(),slot:"header-actions-end"})))}_togglePopup(){this._expandPopup=!this._expandPopup}_getCardNode(t,e){return i("div",{class:"padding-1-2 "+(this.classicGrid&&t===l.GRID?"width-full adjusted-height-100":this._expandPopup?"width-50 adjusted-height-100-50":"width-50 height-full")},i("card-manager",{class:(this.classicGrid&&t===l.GRID?"":t!==l.GRID||this._expandPopup||e?"adjusted-height-100":"adjusted-height-50")+" width-full",mapView:null==this?void 0:this._mapView,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))}_getTable(t,e){const h=this._getTableSizeClass(t,e),s=this._getDividerIcon(t,e),a=e?this._translations.close:this._translations.open,o="toggle-layout";return i("calcite-shell",{class:h+" border-bottom"},i("calcite-action-bar",{class:"border",expandDisabled:!0,layout:t===l.HORIZONTAL||this.classicGrid?"horizontal":"vertical",slot:this.classicGrid&&t!==l.VERTICAL?"footer":this.classicGrid&&t===l.VERTICAL?"panel-end":t===l.HORIZONTAL?"header":"panel-start"},i("calcite-action",{class:"toggle-node",icon:s,id:o,onClick:()=>this._toggleLayout(),text:""}),i("calcite-tooltip",{label:a,placement:"bottom","reference-element":o},i("span",null,a))),i("div",{class:"width-full height-full position-relative"},i("layer-table",{mapInfo:this._mapInfo,mapView:null==this?void 0:this._mapView,showNewestFirst:this.showNewestFirst,zoomAndScrollToSelected:this.zoomAndScrollToSelected})))}_toggleLayout(){this._panelOpen=!this._panelOpen}_getMapInfo(t){let i;return this.mapInfos.some((e=>{if(e.id===t)return i=e,!0})),i}async _getTranslations(){const t=await s(this.el);this._translations=t[0]}get el(){return h(this)}};a.style=":host{display:block;--calcite-label-margin-bottom:0px}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-ui-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-3)}.position-relative{position:relative}.height-50{height:50%}.adjusted-height-50{height:calc(50% - 0.5rem - 25px)}.adjusted-height-100{height:calc(100% - 1rem - 50px)}.adjusted-height-100-50{height:calc(100% - 50px)}.display-none{display:none}.height-53{height:53px}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-49-px{height:49px}.height-50-px{height:50px}.padding-inline-end-75{padding-inline-end:0.75rem}.align-items-center{align-items:center}";export{a as crowdsource_manager}
@@ -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,F as n,g as o}from"./p-9310b882.js";import{r as s,s as a,f as l,t as r}from"./p-6b2f2b85.js";import{c,u as d,d as h}from"./p-38ef0684.js";import{s as p,a as m,c as u}from"./p-d62784a4.js";import{c as b}from"./p-6f2edf5b.js";import{S as f}from"./p-5961c4e0.js";import{H as g}from"./p-10248e04.js";import{S as x,C as v,I as w}from"./p-d4c103a8.js";import{c as y,d as k}from"./p-56300653.js";import{c as z,s as C,d as S,u as j}from"./p-1ede2e18.js";import{c as A,d as H}from"./p-525f1188.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";import"./p-2291b598.js";const L=class{constructor(i){e(this,i),this.calcitePanelClose=t(this,"calcitePanelClose",6),this.calcitePanelScroll=t(this,"calcitePanelScroll",6),this.resizeObserver=b("resize",(()=>this.resizeHandler())),this.resizeHandler=()=>{const{panelScrollEl:e}=this;e&&"number"==typeof e.scrollHeight&&"number"==typeof e.offsetHeight&&(e.tabIndex=e.scrollHeight>e.offsetHeight?0:-1)},this.setContainerRef=e=>{this.containerEl=e},this.setCloseRef=e=>{this.closeButtonEl=e},this.setBackRef=e=>{this.backButtonEl=e},this.panelKeyDownHandler=e=>{this.closable&&"Escape"===e.key&&!e.defaultPrevented&&(this.close(),e.preventDefault())},this.close=()=>{this.closed=!0,this.calcitePanelClose.emit()},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.handleHeaderActionsStartSlotChange=e=>{this.hasStartActions=s(e)},this.handleHeaderActionsEndSlotChange=e=>{this.hasEndActions=s(e)},this.handleHeaderMenuActionsSlotChange=e=>{this.hasMenuItems=s(e)},this.handleActionBarSlotChange=e=>{const t=a(e).filter((e=>null==e?void 0:e.matches("calcite-action-bar")));t.forEach((e=>e.layout="horizontal")),this.hasActionBar=!!t.length},this.handleHeaderContentSlotChange=e=>{this.hasHeaderContent=s(e)},this.handleFooterSlotChange=e=>{this.hasFooterContent=s(e)},this.handleFooterActionsSlotChange=e=>{this.hasFooterActions=s(e)},this.handleFabSlotChange=e=>{this.hasFab=s(e)},this.setPanelScrollEl=e=>{var t,i;this.panelScrollEl=e,null===(t=this.resizeObserver)||void 0===t||t.disconnect(),e&&(null===(i=this.resizeObserver)||void 0===i||i.observe(e),this.resizeHandler())},this.closed=!1,this.disabled=!1,this.closable=!1,this.headingLevel=void 0,this.loading=!1,this.heading=void 0,this.description=void 0,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.hasStartActions=!1,this.hasEndActions=!1,this.hasMenuItems=!1,this.hasHeaderContent=!1,this.hasActionBar=!1,this.hasFooterContent=!1,this.hasFooterActions=!1,this.hasFab=!1,this.defaultMessages=void 0,this.effectiveLocale="",this.showHeaderContent=!1}onMessagesChange(){}connectedCallback(){c(this),y(this),z(this)}async componentWillLoad(){p(this),await C(this)}componentDidLoad(){m(this)}componentDidRender(){d(this)}disconnectedCallback(){var e;h(this),k(this),S(this),null===(e=this.resizeObserver)||void 0===e||e.disconnect()}effectiveLocaleChange(){j(this,this.effectiveLocale)}async setFocus(){await u(this),l(this.containerEl)}async scrollContentTo(e){var t;null===(t=this.panelScrollEl)||void 0===t||t.scrollTo(e)}renderHeaderContent(){const{heading:e,headingLevel:t,description:n,hasHeaderContent:o}=this,s=e?i(g,{class:v.heading,level:t},e):null,a=n?i("span",{class:v.description},n):null;return o||!s&&!a?null:i("div",{class:v.headerContent,key:"header-content"},s,a)}renderActionBar(){return i("div",{class:v.actionBarContainer,hidden:!this.hasActionBar},i("slot",{name:x.actionBar,onSlotchange:this.handleActionBarSlotChange}))}renderHeaderSlottedContent(){return i("div",{class:v.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:x.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:e}=this;return i("div",{class:{[v.headerActionsStart]:!0,[v.headerActions]:!0},hidden:!e,key:"header-actions-start"},i("slot",{name:x.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{close:e,hasEndActions:t,messages:n,closable:o,hasMenuItems:s}=this,a=n.close,l=o?i("calcite-action",{"aria-label":a,"data-test":"close",icon:w.close,onClick:e,text:a,title:a,ref:this.setCloseRef}):null,r=i("slot",{name:x.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange});return i("div",{class:{[v.headerActionsEnd]:!0,[v.headerActions]:!0},hidden:!(t||l||s),key:"header-actions-end"},r,this.renderMenu(),l)}renderMenu(){const{hasMenuItems:e,messages:t,menuOpen:n}=this;return i("calcite-action-menu",{flipPlacements:["top","bottom"],hidden:!e,key:"menu",label:t.options,open:n,placement:"bottom-end"},i("calcite-action",{icon:w.menu,slot:f.trigger,text:t.options}),i("slot",{name:x.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:e,hasStartActions:t,hasEndActions:n,closable:o,hasMenuItems:s,hasActionBar:a}=this,l=this.renderHeaderContent(),r=e||!!l||t||n||o||s;return this.showHeaderContent=r,i("header",{class:v.header,hidden:!(r||a)},i("div",{class:{[v.headerContainer]:!0,[v.headerContainerBorderEnd]:a},hidden:!r},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),l,this.renderHeaderActionsEnd()),this.renderActionBar())}renderFooterNode(){const{hasFooterContent:e,hasFooterActions:t}=this;return i("footer",{class:v.footer,hidden:!(e||t)},i("slot",{key:"footer-slot",name:x.footer,onSlotchange:this.handleFooterSlotChange}),i("slot",{key:"footer-actions-slot",name:x.footerActions,onSlotchange:this.handleFooterActionsSlotChange}))}renderContent(){return i("div",{class:v.contentWrapper,onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},i("slot",null),this.renderFab())}renderFab(){return i("div",{class:v.fabContainer,hidden:!this.hasFab},i("slot",{name:x.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{loading:e,panelKeyDownHandler:t,closed:o,closable:s}=this,a=i("article",{"aria-busy":r(e),class:v.container,hidden:o,onKeyDown:t,tabIndex:s?0:-1,ref:this.setContainerRef},this.renderHeaderNode(),this.renderContent(),this.renderFooterNode());return i(n,null,e?i("calcite-scrim",{loading:e}):null,a)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};L.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{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-footer-padding:0.5rem;--calcite-internal-panel-header-border-block-end:1px solid var(--calcite-ui-border-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.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}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}.container[hidden]{display:none}.header{z-index:var(--calcite-app-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);border-block-end:var(--calcite-internal-panel-header-border-block-end)}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-ui-border-3)}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;background-color:var(--calcite-ui-background)}.footer{display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding:var(--calcite-panel-footer-padding);border-block-start:1px solid var(--calcite-ui-border-3)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-app-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}:host([hidden]){display:none}[hidden]{display:none}";
6
+ import{r as e,c as t,h as i,F as n,g as o}from"./p-9310b882.js";import{r as s,s as a,f as l,t as r}from"./p-a16feeec.js";import{c,u as d,d as h}from"./p-ad75b9bb.js";import{s as p,a as m,c as b}from"./p-476e5302.js";import{c as u}from"./p-588bc0c0.js";import{S as f}from"./p-4a75b3dc.js";import{H as g}from"./p-60c15592.js";import{S as x,C as v,I as w}from"./p-2e8a41da.js";import{c as y,d as k}from"./p-7f271c31.js";import{c as z,s as C,d as S,u as j}from"./p-2592c0b8.js";import{c as A,d as H}from"./p-c3ab7439.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-43ba7a04.js";const L=class{constructor(i){e(this,i),this.calcitePanelClose=t(this,"calcitePanelClose",6),this.calcitePanelScroll=t(this,"calcitePanelScroll",6),this.resizeObserver=u("resize",(()=>this.resizeHandler())),this.resizeHandler=()=>{const{panelScrollEl:e}=this;e&&"number"==typeof e.scrollHeight&&"number"==typeof e.offsetHeight&&(e.tabIndex=e.scrollHeight>e.offsetHeight?0:-1)},this.setContainerRef=e=>{this.containerEl=e},this.setCloseRef=e=>{this.closeButtonEl=e},this.setBackRef=e=>{this.backButtonEl=e},this.panelKeyDownHandler=e=>{this.closable&&"Escape"===e.key&&!e.defaultPrevented&&(this.close(),e.preventDefault())},this.close=()=>{this.closed=!0,this.calcitePanelClose.emit()},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.handleHeaderActionsStartSlotChange=e=>{this.hasStartActions=s(e)},this.handleHeaderActionsEndSlotChange=e=>{this.hasEndActions=s(e)},this.handleHeaderMenuActionsSlotChange=e=>{this.hasMenuItems=s(e)},this.handleActionBarSlotChange=e=>{const t=a(e).filter((e=>null==e?void 0:e.matches("calcite-action-bar")));t.forEach((e=>e.layout="horizontal")),this.hasActionBar=!!t.length},this.handleHeaderContentSlotChange=e=>{this.hasHeaderContent=s(e)},this.handleFooterSlotChange=e=>{this.hasFooterContent=s(e)},this.handleFooterActionsSlotChange=e=>{this.hasFooterActions=s(e)},this.handleFabSlotChange=e=>{this.hasFab=s(e)},this.setPanelScrollEl=e=>{var t,i;this.panelScrollEl=e,null===(t=this.resizeObserver)||void 0===t||t.disconnect(),e&&(null===(i=this.resizeObserver)||void 0===i||i.observe(e),this.resizeHandler())},this.closed=!1,this.disabled=!1,this.closable=!1,this.headingLevel=void 0,this.loading=!1,this.heading=void 0,this.description=void 0,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.hasStartActions=!1,this.hasEndActions=!1,this.hasMenuItems=!1,this.hasHeaderContent=!1,this.hasActionBar=!1,this.hasFooterContent=!1,this.hasFooterActions=!1,this.hasFab=!1,this.defaultMessages=void 0,this.effectiveLocale="",this.showHeaderContent=!1}onMessagesChange(){}connectedCallback(){c(this),y(this),z(this)}async componentWillLoad(){p(this),await C(this)}componentDidLoad(){m(this)}componentDidRender(){d(this)}disconnectedCallback(){var e;h(this),k(this),S(this),null===(e=this.resizeObserver)||void 0===e||e.disconnect()}effectiveLocaleChange(){j(this,this.effectiveLocale)}async setFocus(){await b(this),l(this.containerEl)}async scrollContentTo(e){var t;null===(t=this.panelScrollEl)||void 0===t||t.scrollTo(e)}renderHeaderContent(){const{heading:e,headingLevel:t,description:n,hasHeaderContent:o}=this,s=e?i(g,{class:v.heading,level:t},e):null,a=n?i("span",{class:v.description},n):null;return o||!s&&!a?null:i("div",{class:v.headerContent,key:"header-content"},s,a)}renderActionBar(){return i("div",{class:v.actionBarContainer,hidden:!this.hasActionBar},i("slot",{name:x.actionBar,onSlotchange:this.handleActionBarSlotChange}))}renderHeaderSlottedContent(){return i("div",{class:v.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:x.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:e}=this;return i("div",{class:{[v.headerActionsStart]:!0,[v.headerActions]:!0},hidden:!e,key:"header-actions-start"},i("slot",{name:x.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{close:e,hasEndActions:t,messages:n,closable:o,hasMenuItems:s}=this,a=n.close,l=o?i("calcite-action",{"aria-label":a,"data-test":"close",icon:w.close,onClick:e,text:a,title:a,ref:this.setCloseRef}):null,r=i("slot",{name:x.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange});return i("div",{class:{[v.headerActionsEnd]:!0,[v.headerActions]:!0},hidden:!(t||l||s),key:"header-actions-end"},r,this.renderMenu(),l)}renderMenu(){const{hasMenuItems:e,messages:t,menuOpen:n}=this;return i("calcite-action-menu",{flipPlacements:["top","bottom"],hidden:!e,key:"menu",label:t.options,open:n,placement:"bottom-end"},i("calcite-action",{icon:w.menu,slot:f.trigger,text:t.options}),i("slot",{name:x.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:e,hasStartActions:t,hasEndActions:n,closable:o,hasMenuItems:s,hasActionBar:a}=this,l=this.renderHeaderContent(),r=e||!!l||t||n||o||s;return this.showHeaderContent=r,i("header",{class:v.header,hidden:!(r||a)},i("div",{class:{[v.headerContainer]:!0,[v.headerContainerBorderEnd]:a},hidden:!r},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),l,this.renderHeaderActionsEnd()),this.renderActionBar())}renderFooterNode(){const{hasFooterContent:e,hasFooterActions:t}=this;return i("footer",{class:v.footer,hidden:!(e||t)},i("slot",{key:"footer-slot",name:x.footer,onSlotchange:this.handleFooterSlotChange}),i("slot",{key:"footer-actions-slot",name:x.footerActions,onSlotchange:this.handleFooterActionsSlotChange}))}renderContent(){return i("div",{class:v.contentWrapper,onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},i("slot",null),this.renderFab())}renderFab(){return i("div",{class:v.fabContainer,hidden:!this.hasFab},i("slot",{name:x.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{loading:e,panelKeyDownHandler:t,closed:o,closable:s}=this,a=i("article",{"aria-busy":r(e),class:v.container,hidden:o,onKeyDown:t,tabIndex:s?0:-1,ref:this.setContainerRef},this.renderHeaderNode(),this.renderContent(),this.renderFooterNode());return i(n,null,e?i("calcite-scrim",{loading:e}):null,a)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};L.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{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-footer-padding:0.5rem;--calcite-internal-panel-header-border-block-end:1px solid var(--calcite-ui-border-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.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}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}.container[hidden]{display:none}.header{z-index:var(--calcite-app-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);border-block-end:var(--calcite-internal-panel-header-border-block-end)}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-ui-border-3)}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;background-color:var(--calcite-ui-background)}.footer{display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding:var(--calcite-panel-footer-padding);border-block-start:1px solid var(--calcite-ui-border-3)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-app-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}: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 M="content",D=class{constructor(t){e(this,t),this.handleHeaderSlotChange=e=>{this.hasHeader=!!s(e)},this.handleFooterSlotChange=e=>{this.hasFooter=!!s(e)},this.handleAlertsSlotChange=e=>{var t;this.hasAlerts=!!s(e),null===(t=a(e))||void 0===t||t.map((e=>{"CALCITE-ALERT"===e.nodeName&&(e.slottedInShell=!0)}))},this.handleModalsSlotChange=e=>{var t;this.hasModals=!!s(e),null===(t=a(e))||void 0===t||t.map((e=>{"CALCITE-MODAL"===e.nodeName&&(e.slottedInShell=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1}connectedCallback(){A(this)}disconnectedCallback(){H(this)}renderHeader(){return i("div",{hidden:!this.hasHeader},i("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return i("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},i("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return i("div",{hidden:!this.hasAlerts},i("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderModals(){return i("div",{hidden:!this.hasModals},i("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderContent(){const e=i("slot",{key:"default-slot"}),t=i("slot",{key:"center-row-slot",name:"center-row"}),n=i("slot",{key:"panel-bottom-slot",name:"panel-bottom"}),o=i("slot",{key:"panel-top-slot",name:"panel-top"}),s="content-container";return this.contentBehind?[i("div",{class:{[M]:!0,"content--behind":!0},key:s},e),i("div",{class:"center-content"},o,n,t)]:[i("div",{class:M,key:s},o,e,n,t)]}renderMain(){return i("div",{class:"main"},i("slot",{name:"panel-start"}),this.renderContent(),i("slot",{name:"panel-end"}))}renderPositionedSlots(){return i("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals())}render(){return i(n,null,this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return o(this)}};D.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{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(var(--calcite-app-z-index) - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-app-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}:host([hidden]){display:none}[hidden]{display:none}";export{L as calcite_panel,D as calcite_shell}