@esri/calcite-components 1.0.0-next.697 → 1.0.0-next.698

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (745) hide show
  1. package/dist/calcite/assets/shell-panel/t9n/index.d.ts +3 -0
  2. package/dist/calcite/assets/shell-panel/t9n/messages.json +3 -0
  3. package/dist/calcite/assets/shell-panel/t9n/messages_ar.json +3 -0
  4. package/dist/calcite/assets/shell-panel/t9n/messages_bg.json +3 -0
  5. package/dist/calcite/assets/shell-panel/t9n/messages_bs.json +3 -0
  6. package/dist/calcite/assets/shell-panel/t9n/messages_ca.json +3 -0
  7. package/dist/calcite/assets/shell-panel/t9n/messages_cs.json +3 -0
  8. package/dist/calcite/assets/shell-panel/t9n/messages_da.json +3 -0
  9. package/dist/calcite/assets/shell-panel/t9n/messages_de.json +3 -0
  10. package/dist/calcite/assets/shell-panel/t9n/messages_el.json +3 -0
  11. package/dist/calcite/assets/shell-panel/t9n/messages_en.json +3 -0
  12. package/dist/calcite/assets/shell-panel/t9n/messages_es.json +3 -0
  13. package/dist/calcite/assets/shell-panel/t9n/messages_et.json +3 -0
  14. package/dist/calcite/assets/shell-panel/t9n/messages_fi.json +3 -0
  15. package/dist/calcite/assets/shell-panel/t9n/messages_fr.json +3 -0
  16. package/dist/calcite/assets/shell-panel/t9n/messages_he.json +3 -0
  17. package/dist/calcite/assets/shell-panel/t9n/messages_hr.json +3 -0
  18. package/dist/calcite/assets/shell-panel/t9n/messages_hu.json +3 -0
  19. package/dist/calcite/assets/shell-panel/t9n/messages_id.json +3 -0
  20. package/dist/calcite/assets/shell-panel/t9n/messages_it.json +3 -0
  21. package/dist/calcite/assets/shell-panel/t9n/messages_ja.json +3 -0
  22. package/dist/calcite/assets/shell-panel/t9n/messages_ko.json +3 -0
  23. package/dist/calcite/assets/shell-panel/t9n/messages_lt.json +3 -0
  24. package/dist/calcite/assets/shell-panel/t9n/messages_lv.json +3 -0
  25. package/dist/calcite/assets/shell-panel/t9n/messages_nl.json +3 -0
  26. package/dist/calcite/assets/shell-panel/t9n/messages_no.json +3 -0
  27. package/dist/calcite/assets/shell-panel/t9n/messages_pl.json +3 -0
  28. package/dist/calcite/assets/shell-panel/t9n/messages_pt-BR.json +3 -0
  29. package/dist/calcite/assets/shell-panel/t9n/messages_pt-PT.json +3 -0
  30. package/dist/calcite/assets/shell-panel/t9n/messages_ro.json +3 -0
  31. package/dist/calcite/assets/shell-panel/t9n/messages_ru.json +3 -0
  32. package/dist/calcite/assets/shell-panel/t9n/messages_sk.json +3 -0
  33. package/dist/calcite/assets/shell-panel/t9n/messages_sl.json +3 -0
  34. package/dist/calcite/assets/shell-panel/t9n/messages_sr.json +3 -0
  35. package/dist/calcite/assets/shell-panel/t9n/messages_sv.json +3 -0
  36. package/dist/calcite/assets/shell-panel/t9n/messages_th.json +3 -0
  37. package/dist/calcite/assets/shell-panel/t9n/messages_tr.json +3 -0
  38. package/dist/calcite/assets/shell-panel/t9n/messages_uk.json +3 -0
  39. package/dist/calcite/assets/shell-panel/t9n/messages_vi.json +3 -0
  40. package/dist/calcite/assets/shell-panel/t9n/messages_zh-CN.json +3 -0
  41. package/dist/calcite/assets/shell-panel/t9n/messages_zh-HK.json +3 -0
  42. package/dist/calcite/assets/shell-panel/t9n/messages_zh-TW.json +3 -0
  43. package/dist/calcite/calcite.esm.js +2 -2
  44. package/dist/calcite/index.esm.js +1 -1
  45. package/dist/calcite/{p-139a042c.entry.js → p-04d2c33d.entry.js} +2 -2
  46. package/dist/calcite/{p-04b56511.entry.js → p-0821e262.entry.js} +2 -2
  47. package/dist/calcite/{p-d9a5888a.entry.js → p-089ccae3.entry.js} +2 -2
  48. package/dist/calcite/{p-8624b709.js → p-0bae946f.js} +1 -1
  49. package/dist/calcite/{p-bef6a64c.entry.js → p-0da356a2.entry.js} +2 -2
  50. package/dist/calcite/{p-980ea84d.entry.js → p-101b985f.entry.js} +2 -2
  51. package/dist/calcite/p-11587e9f.js +6 -0
  52. package/dist/calcite/{p-b3963907.js → p-12de29bb.js} +1 -1
  53. package/dist/calcite/{p-901ec1b7.entry.js → p-13d7608f.entry.js} +2 -2
  54. package/dist/calcite/{p-a273a92b.entry.js → p-17f83169.entry.js} +2 -2
  55. package/dist/calcite/{p-f4a8f232.entry.js → p-1a2fdd37.entry.js} +2 -2
  56. package/dist/calcite/{p-cb3f1f35.js → p-1c487436.js} +1 -1
  57. package/dist/calcite/{p-44438886.entry.js → p-1f982b26.entry.js} +2 -2
  58. package/dist/calcite/{p-4106f8d2.entry.js → p-21974be4.entry.js} +2 -2
  59. package/dist/calcite/{p-6fc6bec1.entry.js → p-23093414.entry.js} +2 -2
  60. package/dist/calcite/{p-e7da6025.entry.js → p-2418fc1b.entry.js} +2 -2
  61. package/dist/calcite/{p-7b1ba3b4.entry.js → p-260ee906.entry.js} +2 -2
  62. package/dist/calcite/{p-c83a0a79.js → p-275517e6.js} +1 -1
  63. package/dist/calcite/{p-0638878a.entry.js → p-2c6274ba.entry.js} +2 -2
  64. package/dist/calcite/p-2cbcf694.entry.js +6 -0
  65. package/dist/calcite/{p-f3e7d09e.entry.js → p-36b47aca.entry.js} +2 -2
  66. package/dist/calcite/{p-2a3e1e58.entry.js → p-3a0bc605.entry.js} +2 -2
  67. package/dist/calcite/p-3d8114fd.entry.js +6 -0
  68. package/dist/calcite/{p-52bbf673.entry.js → p-3dba70dd.entry.js} +2 -2
  69. package/dist/calcite/{p-10b93409.entry.js → p-3ef9b4ae.entry.js} +2 -2
  70. package/dist/calcite/{p-ceec6259.js → p-3eff0d52.js} +1 -1
  71. package/dist/calcite/{p-7c365c32.js → p-400cda16.js} +1 -1
  72. package/dist/calcite/{p-24f140b3.entry.js → p-417e99b7.entry.js} +2 -2
  73. package/dist/calcite/{p-9622b605.entry.js → p-42117e22.entry.js} +2 -2
  74. package/dist/calcite/{p-263a4cc6.js → p-433f3e18.js} +1 -1
  75. package/dist/calcite/{p-5991115c.js → p-436d54f4.js} +1 -1
  76. package/dist/calcite/{p-52aa499e.js → p-467aa6e2.js} +1 -1
  77. package/dist/calcite/{p-434f4565.entry.js → p-46872585.entry.js} +2 -2
  78. package/dist/calcite/{p-075cbdcf.js → p-477dcb6a.js} +2 -2
  79. package/dist/calcite/{p-676c88f7.entry.js → p-489c6e2a.entry.js} +2 -2
  80. package/dist/calcite/{p-e517d3ee.js → p-4bc3474b.js} +2 -2
  81. package/dist/calcite/{p-fe6e1433.entry.js → p-52f82ba2.entry.js} +2 -2
  82. package/dist/calcite/p-5313a762.entry.js +6 -0
  83. package/dist/calcite/{p-debab7e6.js → p-5ab4e859.js} +2 -2
  84. package/dist/calcite/{p-4546805d.js → p-5e4a5a6e.js} +2 -2
  85. package/dist/calcite/{p-fb71ff2c.entry.js → p-5fc61f3d.entry.js} +2 -2
  86. package/dist/calcite/{p-f9e2f8e5.js → p-5fd23fb0.js} +2 -2
  87. package/dist/calcite/{p-4bd3e69c.entry.js → p-61cfde1c.entry.js} +2 -2
  88. package/dist/calcite/{p-6055b9c5.js → p-66a7cd45.js} +1 -1
  89. package/dist/calcite/{p-3c0951b4.entry.js → p-726c9c71.entry.js} +2 -2
  90. package/dist/calcite/{p-f7ba6451.entry.js → p-765625eb.entry.js} +2 -2
  91. package/dist/calcite/{p-3ab3e7a1.entry.js → p-7a6b6c93.entry.js} +2 -2
  92. package/dist/calcite/{p-b6aea6cb.js → p-7b3417db.js} +1 -1
  93. package/dist/calcite/{p-4caf9e0f.entry.js → p-7b3ab400.entry.js} +2 -2
  94. package/dist/calcite/{p-6946ee52.js → p-7c914314.js} +2 -2
  95. package/dist/calcite/{p-228e8511.js → p-81c086e0.js} +2 -2
  96. package/dist/calcite/{p-3ab9bf8e.js → p-84dc8941.js} +2 -2
  97. package/dist/calcite/{p-cb6931bb.js → p-8d4388e3.js} +1 -1
  98. package/dist/calcite/{p-7eb3679e.entry.js → p-90b1f98f.entry.js} +2 -2
  99. package/dist/calcite/{p-375bec81.entry.js → p-92245a03.entry.js} +2 -2
  100. package/dist/calcite/{p-db1cf4d0.entry.js → p-93c4ea22.entry.js} +2 -2
  101. package/dist/calcite/{p-3457fe42.js → p-97211be4.js} +2 -2
  102. package/dist/calcite/{p-5eeac25a.entry.js → p-983b58e3.entry.js} +2 -2
  103. package/dist/calcite/{p-c693d25f.entry.js → p-999a1ffe.entry.js} +2 -2
  104. package/dist/calcite/{p-211ba238.js → p-9a27f8ae.js} +2 -2
  105. package/dist/calcite/p-a11d8890.entry.js +6 -0
  106. package/dist/calcite/{p-8d9101cc.entry.js → p-a3a4e0c5.entry.js} +2 -2
  107. package/dist/calcite/{p-7646f522.entry.js → p-a4d4075d.entry.js} +2 -2
  108. package/dist/calcite/{p-7c4a52d6.entry.js → p-a7925b3c.entry.js} +2 -2
  109. package/dist/calcite/{p-3d51b12f.js → p-a8378be1.js} +2 -2
  110. package/dist/calcite/{p-16472e50.entry.js → p-b260eed6.entry.js} +2 -2
  111. package/dist/calcite/{p-7cf33b0a.entry.js → p-b4648d9c.entry.js} +2 -2
  112. package/dist/calcite/{p-4e119ce8.entry.js → p-b56869a2.entry.js} +2 -2
  113. package/dist/calcite/p-b6c04292.entry.js +6 -0
  114. package/dist/calcite/{p-5bdefd5d.js → p-ba31fb6f.js} +2 -2
  115. package/dist/calcite/{p-b6d159df.entry.js → p-c4326d0d.entry.js} +2 -2
  116. package/dist/calcite/p-c61d1069.js +6 -0
  117. package/dist/calcite/{p-338f7002.js → p-c70328a9.js} +1 -1
  118. package/dist/calcite/{p-cd35eda8.entry.js → p-c873f24b.entry.js} +2 -2
  119. package/dist/calcite/p-cc9ded9f.entry.js +6 -0
  120. package/dist/calcite/{p-1828ccbf.entry.js → p-d1e45acc.entry.js} +2 -2
  121. package/dist/calcite/{p-2c725779.entry.js → p-d5e20d3e.entry.js} +2 -2
  122. package/dist/calcite/{p-dfdb2e1b.entry.js → p-dd00c77a.entry.js} +2 -2
  123. package/dist/calcite/{p-c595f509.entry.js → p-e1e08a4f.entry.js} +2 -2
  124. package/dist/calcite/p-e767698a.js +6 -0
  125. package/dist/calcite/{p-e7975ef2.entry.js → p-e82ccf88.entry.js} +2 -2
  126. package/dist/calcite/{p-1815bff0.entry.js → p-ebb90591.entry.js} +2 -2
  127. package/dist/calcite/{p-f8ea13da.entry.js → p-ed648748.entry.js} +2 -2
  128. package/dist/calcite/{p-e1ebc7de.js → p-f1f70545.js} +1 -1
  129. package/dist/calcite/{p-06813ac8.js → p-f411a244.js} +1 -1
  130. package/dist/calcite/{p-5d8c5867.entry.js → p-f4562c44.entry.js} +2 -2
  131. package/dist/calcite/{p-42b92cee.js → p-f613fb0f.js} +1 -1
  132. package/dist/calcite/{p-1cf95c45.entry.js → p-fa24ebc1.entry.js} +2 -2
  133. package/dist/calcite/{p-24eb0d07.entry.js → p-fc41ce60.entry.js} +2 -2
  134. package/dist/calcite/{p-62f22dfe.entry.js → p-fe926038.entry.js} +2 -2
  135. package/dist/calcite/{p-795f8d91.js → p-ff94c794.js} +2 -2
  136. package/dist/calcite/{p-57d617d6.entry.js → p-ffef0afe.entry.js} +2 -2
  137. package/dist/cjs/{ExpandToggle-82032b78.js → ExpandToggle-5cd95c5f.js} +5 -5
  138. package/dist/cjs/{Heading-25a15fe0.js → Heading-ad499367.js} +2 -2
  139. package/dist/cjs/{app-globals-d1364f53.js → app-globals-6054f999.js} +2 -2
  140. package/dist/cjs/{array-3e41e5e3.js → array-fb9e36bb.js} +1 -1
  141. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  142. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  143. package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
  144. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  145. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  146. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  147. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  148. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  149. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  150. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  151. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  152. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  153. package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
  154. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +14 -14
  155. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  156. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +12 -12
  157. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  158. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  159. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  160. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  161. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  162. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  163. package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
  164. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  165. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  166. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +16 -16
  167. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  168. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
  169. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  170. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -13
  171. package/dist/cjs/calcite-input.cjs.entry.js +14 -14
  172. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  173. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  174. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  175. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  176. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  177. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  178. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  179. package/dist/cjs/calcite-pagination.cjs.entry.js +9 -9
  180. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  181. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  182. package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
  183. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  184. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  185. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  186. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
  187. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  188. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  189. package/dist/cjs/calcite-shell_3.cjs.entry.js +37 -14
  190. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  191. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  192. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  193. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  194. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  195. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  196. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  197. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  198. package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
  199. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  200. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  201. package/dist/cjs/calcite.cjs.js +5 -5
  202. package/dist/cjs/{conditionalSlot-4575ec70.js → conditionalSlot-5f6cccd2.js} +3 -3
  203. package/dist/cjs/{debounce-e9a2e58b.js → debounce-b9858501.js} +1 -1
  204. package/dist/cjs/{dom-c6faeeb4.js → dom-df75f957.js} +3 -3
  205. package/dist/cjs/{filter-61d1313e.js → filter-6bd237d9.js} +2 -2
  206. package/dist/cjs/{floating-ui-0c2a53b8.js → floating-ui-07a981a9.js} +4 -4
  207. package/dist/cjs/{focusTrapComponent-f77dfdd3.js → focusTrapComponent-2b655fb7.js} +2 -2
  208. package/dist/cjs/{form-e49d50b6.js → form-d72d7a84.js} +3 -3
  209. package/dist/cjs/{guid-85f48217.js → guid-d45f871f.js} +1 -1
  210. package/dist/cjs/{index-964a3c53.js → index-ba6f8720.js} +1 -1
  211. package/dist/cjs/index.cjs.js +1 -1
  212. package/dist/cjs/{interactive-577420ae.js → interactive-29070e73.js} +1 -1
  213. package/dist/cjs/{key-2260cd9a.js → key-740926b9.js} +1 -1
  214. package/dist/cjs/{label-822a2fa6.js → label-32f1d98d.js} +2 -2
  215. package/dist/cjs/{loadable-38a99172.js → loadable-1c9aeef3.js} +1 -1
  216. package/dist/cjs/loader.cjs.js +5 -5
  217. package/dist/cjs/{locale-aa70661c.js → locale-eecee9b3.js} +4 -4
  218. package/dist/cjs/{math-30d75bc8.js → math-ee0c6dda.js} +1 -1
  219. package/dist/cjs/{nonChromiumPlatformUtils-88950bfd.js → nonChromiumPlatformUtils-a4a27845.js} +6 -6
  220. package/dist/cjs/{observers-50d3f4a8.js → observers-956a344e.js} +1 -1
  221. package/dist/cjs/{openCloseComponent-bf54a622.js → openCloseComponent-6d80b9af.js} +2 -2
  222. package/dist/cjs/{resources-6d6111a2.js → resources-00d06f96.js} +1 -1
  223. package/dist/cjs/{resources-dd6749bf.js → resources-156072f0.js} +1 -1
  224. package/dist/cjs/{resources-39e359fa.js → resources-25652867.js} +1 -1
  225. package/dist/cjs/{resources-9b7ad60f.js → resources-578f5580.js} +1 -1
  226. package/dist/cjs/{resources-c605fd63.js → resources-a1ce98ae.js} +5 -5
  227. package/dist/cjs/{resources-41de98dd.js → resources-cb6b1c15.js} +1 -1
  228. package/dist/cjs/{sortable.esm-0bf9f34e.js → sortable.esm-913e54dc.js} +1 -1
  229. package/dist/cjs/{t9n-f329159c.js → t9n-92ca05c3.js} +3 -3
  230. package/dist/cjs/{utils-d7f233ad.js → utils-1c510a7c.js} +1 -1
  231. package/dist/cjs/{utils-c92f1b38.js → utils-a936a09d.js} +3 -3
  232. package/dist/collection/components/accordion/accordion.js +1 -1
  233. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  234. package/dist/collection/components/accordion-item/resources.js +1 -1
  235. package/dist/collection/components/action/action.js +1 -1
  236. package/dist/collection/components/action/resources.js +1 -1
  237. package/dist/collection/components/action-bar/action-bar.js +1 -1
  238. package/dist/collection/components/action-bar/resources.js +1 -1
  239. package/dist/collection/components/action-bar/utils.js +1 -1
  240. package/dist/collection/components/action-group/action-group.js +1 -1
  241. package/dist/collection/components/action-group/resources.js +1 -1
  242. package/dist/collection/components/action-menu/action-menu.js +1 -1
  243. package/dist/collection/components/action-menu/resources.js +1 -1
  244. package/dist/collection/components/action-pad/action-pad.js +1 -1
  245. package/dist/collection/components/action-pad/resources.js +1 -1
  246. package/dist/collection/components/alert/alert.js +1 -1
  247. package/dist/collection/components/alert/resources.js +1 -1
  248. package/dist/collection/components/avatar/avatar.js +1 -1
  249. package/dist/collection/components/avatar/utils.js +1 -1
  250. package/dist/collection/components/block/block.js +1 -1
  251. package/dist/collection/components/block/resources.js +1 -1
  252. package/dist/collection/components/block-section/block-section.js +1 -1
  253. package/dist/collection/components/block-section/resources.js +1 -1
  254. package/dist/collection/components/button/button.js +1 -1
  255. package/dist/collection/components/button/resources.js +1 -1
  256. package/dist/collection/components/card/card.js +1 -1
  257. package/dist/collection/components/card/resources.js +1 -1
  258. package/dist/collection/components/checkbox/checkbox.js +1 -1
  259. package/dist/collection/components/chip/chip.js +1 -1
  260. package/dist/collection/components/chip/resources.js +1 -1
  261. package/dist/collection/components/color-picker/color-picker.js +1 -1
  262. package/dist/collection/components/color-picker/resources.js +1 -1
  263. package/dist/collection/components/color-picker/utils.js +1 -1
  264. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  265. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  266. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  267. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  268. package/dist/collection/components/combobox/combobox.js +1 -1
  269. package/dist/collection/components/combobox/resources.js +1 -1
  270. package/dist/collection/components/combobox/utils.js +1 -1
  271. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  272. package/dist/collection/components/combobox-item/resources.js +1 -1
  273. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  274. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  275. package/dist/collection/components/date-picker/date-picker.js +1 -1
  276. package/dist/collection/components/date-picker/resources.js +1 -1
  277. package/dist/collection/components/date-picker/utils.js +1 -1
  278. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  279. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  280. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  281. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  282. package/dist/collection/components/dropdown/dropdown.js +1 -1
  283. package/dist/collection/components/dropdown/resources.js +1 -1
  284. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  285. package/dist/collection/components/dropdown-group/resources.js +1 -1
  286. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  287. package/dist/collection/components/dropdown-item/resources.js +1 -1
  288. package/dist/collection/components/fab/fab.js +1 -1
  289. package/dist/collection/components/fab/resources.js +1 -1
  290. package/dist/collection/components/filter/filter.js +1 -1
  291. package/dist/collection/components/filter/resources.js +1 -1
  292. package/dist/collection/components/flow/flow.js +1 -1
  293. package/dist/collection/components/flow/resources.js +1 -1
  294. package/dist/collection/components/flow-item/flow-item.js +1 -1
  295. package/dist/collection/components/flow-item/resources.js +1 -1
  296. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  297. package/dist/collection/components/functional/Heading.js +1 -1
  298. package/dist/collection/components/graph/graph.js +1 -1
  299. package/dist/collection/components/graph/util.js +1 -1
  300. package/dist/collection/components/handle/handle.js +1 -1
  301. package/dist/collection/components/handle/resources.js +1 -1
  302. package/dist/collection/components/icon/icon.js +1 -1
  303. package/dist/collection/components/icon/resources.js +1 -1
  304. package/dist/collection/components/icon/utils.js +1 -1
  305. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  306. package/dist/collection/components/inline-editable/resources.js +1 -1
  307. package/dist/collection/components/input/input.js +1 -1
  308. package/dist/collection/components/input/resources.js +1 -1
  309. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  310. package/dist/collection/components/input-date-picker/resources.js +1 -1
  311. package/dist/collection/components/input-message/input-message.js +1 -1
  312. package/dist/collection/components/input-message/interfaces.js +1 -1
  313. package/dist/collection/components/input-number/input-number.js +1 -1
  314. package/dist/collection/components/input-number/resources.js +1 -1
  315. package/dist/collection/components/input-text/input-text.js +1 -1
  316. package/dist/collection/components/input-text/resources.js +1 -1
  317. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  318. package/dist/collection/components/label/label.js +1 -1
  319. package/dist/collection/components/label/resources.js +1 -1
  320. package/dist/collection/components/link/link.js +1 -1
  321. package/dist/collection/components/list/list.js +1 -1
  322. package/dist/collection/components/list/resources.js +1 -1
  323. package/dist/collection/components/list-item/list-item.js +1 -1
  324. package/dist/collection/components/list-item/resources.js +1 -1
  325. package/dist/collection/components/list-item/utils.js +1 -1
  326. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  327. package/dist/collection/components/list-item-group/resources.js +1 -1
  328. package/dist/collection/components/loader/loader.js +1 -1
  329. package/dist/collection/components/modal/modal.js +1 -1
  330. package/dist/collection/components/modal/resources.js +1 -1
  331. package/dist/collection/components/notice/notice.js +1 -1
  332. package/dist/collection/components/notice/resources.js +1 -1
  333. package/dist/collection/components/option/option.js +1 -1
  334. package/dist/collection/components/option-group/option-group.js +1 -1
  335. package/dist/collection/components/pagination/pagination.js +1 -1
  336. package/dist/collection/components/pagination/resources.js +1 -1
  337. package/dist/collection/components/panel/panel.js +1 -1
  338. package/dist/collection/components/panel/resources.js +1 -1
  339. package/dist/collection/components/pick-list/pick-list.js +1 -1
  340. package/dist/collection/components/pick-list/resources.js +1 -1
  341. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  342. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  343. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  344. package/dist/collection/components/pick-list-group/resources.js +1 -1
  345. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  346. package/dist/collection/components/pick-list-item/resources.js +1 -1
  347. package/dist/collection/components/popover/PopoverManager.js +1 -1
  348. package/dist/collection/components/popover/popover.js +1 -1
  349. package/dist/collection/components/popover/resources.js +1 -1
  350. package/dist/collection/components/progress/progress.js +1 -1
  351. package/dist/collection/components/radio-button/radio-button.js +1 -1
  352. package/dist/collection/components/radio-button/resources.js +1 -1
  353. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  354. package/dist/collection/components/radio-group/radio-group.js +1 -1
  355. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  356. package/dist/collection/components/radio-group-item/resources.js +1 -1
  357. package/dist/collection/components/rating/function/star.js +1 -1
  358. package/dist/collection/components/rating/rating.js +1 -1
  359. package/dist/collection/components/resources.js +1 -1
  360. package/dist/collection/components/scrim/resources.js +1 -1
  361. package/dist/collection/components/scrim/scrim.js +1 -1
  362. package/dist/collection/components/select/resources.js +1 -1
  363. package/dist/collection/components/select/select.js +1 -1
  364. package/dist/collection/components/shell/resources.js +1 -1
  365. package/dist/collection/components/shell/shell.js +1 -1
  366. package/dist/collection/components/shell-center-row/resources.js +1 -1
  367. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  368. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/index.d.ts +3 -0
  369. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages.json +3 -0
  370. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_ar.json +3 -0
  371. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_bg.json +3 -0
  372. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_bs.json +3 -0
  373. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_ca.json +3 -0
  374. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_cs.json +3 -0
  375. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_da.json +3 -0
  376. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_de.json +3 -0
  377. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_el.json +3 -0
  378. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_en.json +3 -0
  379. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_es.json +3 -0
  380. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_et.json +3 -0
  381. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_fi.json +3 -0
  382. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_fr.json +3 -0
  383. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_he.json +3 -0
  384. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_hr.json +3 -0
  385. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_hu.json +3 -0
  386. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_id.json +3 -0
  387. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_it.json +3 -0
  388. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_ja.json +3 -0
  389. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_ko.json +3 -0
  390. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_lt.json +3 -0
  391. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_lv.json +3 -0
  392. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_nl.json +3 -0
  393. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_no.json +3 -0
  394. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_pl.json +3 -0
  395. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_pt-BR.json +3 -0
  396. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_pt-PT.json +3 -0
  397. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_ro.json +3 -0
  398. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_ru.json +3 -0
  399. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_sk.json +3 -0
  400. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_sl.json +3 -0
  401. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_sr.json +3 -0
  402. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_sv.json +3 -0
  403. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_th.json +3 -0
  404. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_tr.json +3 -0
  405. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_uk.json +3 -0
  406. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_vi.json +3 -0
  407. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_zh-CN.json +3 -0
  408. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_zh-HK.json +3 -0
  409. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_zh-TW.json +3 -0
  410. package/dist/collection/components/shell-panel/resources.js +1 -4
  411. package/dist/collection/components/shell-panel/shell-panel.js +90 -8
  412. package/dist/collection/components/slider/resources.js +1 -1
  413. package/dist/collection/components/slider/slider.js +1 -1
  414. package/dist/collection/components/sortable-list/resources.js +1 -1
  415. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  416. package/dist/collection/components/split-button/resources.js +1 -1
  417. package/dist/collection/components/split-button/split-button.js +1 -1
  418. package/dist/collection/components/stepper/stepper.js +1 -1
  419. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  420. package/dist/collection/components/switch/switch.js +1 -1
  421. package/dist/collection/components/tab/tab.js +1 -1
  422. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  423. package/dist/collection/components/tab-title/tab-title.js +1 -1
  424. package/dist/collection/components/tabs/resources.js +1 -1
  425. package/dist/collection/components/tabs/tabs.js +1 -1
  426. package/dist/collection/components/tile/resources.js +1 -1
  427. package/dist/collection/components/tile/tile.js +1 -1
  428. package/dist/collection/components/tile-select/resources.js +1 -1
  429. package/dist/collection/components/tile-select/tile-select.js +1 -1
  430. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  431. package/dist/collection/components/time-picker/resources.js +1 -1
  432. package/dist/collection/components/time-picker/time-picker.js +1 -1
  433. package/dist/collection/components/tip/resources.js +1 -1
  434. package/dist/collection/components/tip/tip.js +1 -1
  435. package/dist/collection/components/tip-group/tip-group.js +1 -1
  436. package/dist/collection/components/tip-manager/resources.js +1 -1
  437. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  438. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  439. package/dist/collection/components/tooltip/resources.js +1 -1
  440. package/dist/collection/components/tooltip/tooltip.js +1 -1
  441. package/dist/collection/components/tree/tree.js +1 -1
  442. package/dist/collection/components/tree/utils.js +1 -1
  443. package/dist/collection/components/tree-item/resources.js +1 -1
  444. package/dist/collection/components/tree-item/tree-item.js +1 -1
  445. package/dist/collection/components/value-list/resources.js +1 -1
  446. package/dist/collection/components/value-list/utils.js +1 -1
  447. package/dist/collection/components/value-list/value-list.js +1 -1
  448. package/dist/collection/components/value-list-item/resources.js +1 -1
  449. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  450. package/dist/collection/utils/array.js +1 -1
  451. package/dist/collection/utils/conditionalSlot.js +1 -1
  452. package/dist/collection/utils/config.js +1 -1
  453. package/dist/collection/utils/date.js +1 -1
  454. package/dist/collection/utils/dom.js +1 -1
  455. package/dist/collection/utils/filter.js +1 -1
  456. package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
  457. package/dist/collection/utils/floating-ui.js +1 -1
  458. package/dist/collection/utils/focusTrapComponent.js +1 -1
  459. package/dist/collection/utils/form.js +1 -1
  460. package/dist/collection/utils/globalAttributes.js +1 -1
  461. package/dist/collection/utils/globalScript.js +1 -1
  462. package/dist/collection/utils/guid.js +1 -1
  463. package/dist/collection/utils/interactive.js +1 -1
  464. package/dist/collection/utils/key.js +1 -1
  465. package/dist/collection/utils/label.js +1 -1
  466. package/dist/collection/utils/loadable.js +1 -1
  467. package/dist/collection/utils/locale.js +1 -1
  468. package/dist/collection/utils/math.js +1 -1
  469. package/dist/collection/utils/number.js +1 -1
  470. package/dist/collection/utils/observers.js +1 -1
  471. package/dist/collection/utils/openCloseComponent.js +1 -1
  472. package/dist/collection/utils/resources.js +1 -1
  473. package/dist/collection/utils/t9n.js +1 -1
  474. package/dist/collection/utils/theme.js +1 -1
  475. package/dist/collection/utils/time.js +1 -1
  476. package/dist/components/ExpandToggle.js +1 -1
  477. package/dist/components/Heading.js +1 -1
  478. package/dist/components/action-group.js +1 -1
  479. package/dist/components/action-menu.js +1 -1
  480. package/dist/components/action.js +1 -1
  481. package/dist/components/array.js +1 -1
  482. package/dist/components/button.js +1 -1
  483. package/dist/components/calcite-accordion-item.js +1 -1
  484. package/dist/components/calcite-accordion.js +1 -1
  485. package/dist/components/calcite-action-bar.js +1 -1
  486. package/dist/components/calcite-action-group.js +1 -1
  487. package/dist/components/calcite-action-menu.js +1 -1
  488. package/dist/components/calcite-action-pad.js +1 -1
  489. package/dist/components/calcite-action.js +1 -1
  490. package/dist/components/calcite-alert.js +1 -1
  491. package/dist/components/calcite-avatar.js +1 -1
  492. package/dist/components/calcite-block-section.js +1 -1
  493. package/dist/components/calcite-block.js +1 -1
  494. package/dist/components/calcite-button.js +1 -1
  495. package/dist/components/calcite-card.js +1 -1
  496. package/dist/components/calcite-checkbox.js +1 -1
  497. package/dist/components/calcite-chip.js +1 -1
  498. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  499. package/dist/components/calcite-color-picker-swatch.js +1 -1
  500. package/dist/components/calcite-color-picker.js +1 -1
  501. package/dist/components/calcite-combobox-item-group.js +1 -1
  502. package/dist/components/calcite-combobox-item.js +1 -1
  503. package/dist/components/calcite-combobox.js +1 -1
  504. package/dist/components/calcite-date-picker-day.js +1 -1
  505. package/dist/components/calcite-date-picker-month-header.js +1 -1
  506. package/dist/components/calcite-date-picker-month.js +1 -1
  507. package/dist/components/calcite-date-picker.js +1 -1
  508. package/dist/components/calcite-dropdown-group.js +1 -1
  509. package/dist/components/calcite-dropdown-item.js +1 -1
  510. package/dist/components/calcite-dropdown.js +1 -1
  511. package/dist/components/calcite-fab.js +1 -1
  512. package/dist/components/calcite-filter.js +1 -1
  513. package/dist/components/calcite-flow-item.js +1 -1
  514. package/dist/components/calcite-flow.js +1 -1
  515. package/dist/components/calcite-graph.js +1 -1
  516. package/dist/components/calcite-handle.js +1 -1
  517. package/dist/components/calcite-icon.js +1 -1
  518. package/dist/components/calcite-inline-editable.js +1 -1
  519. package/dist/components/calcite-input-date-picker.js +1 -1
  520. package/dist/components/calcite-input-message.js +1 -1
  521. package/dist/components/calcite-input-number.js +1 -1
  522. package/dist/components/calcite-input-text.js +1 -1
  523. package/dist/components/calcite-input-time-picker.js +1 -1
  524. package/dist/components/calcite-input.js +1 -1
  525. package/dist/components/calcite-label.js +1 -1
  526. package/dist/components/calcite-link.js +1 -1
  527. package/dist/components/calcite-list-item-group.js +1 -1
  528. package/dist/components/calcite-list-item.js +1 -1
  529. package/dist/components/calcite-list.js +1 -1
  530. package/dist/components/calcite-loader.js +1 -1
  531. package/dist/components/calcite-modal.js +1 -1
  532. package/dist/components/calcite-notice.js +1 -1
  533. package/dist/components/calcite-option-group.js +1 -1
  534. package/dist/components/calcite-option.js +1 -1
  535. package/dist/components/calcite-pagination.js +1 -1
  536. package/dist/components/calcite-panel.js +1 -1
  537. package/dist/components/calcite-pick-list-group.js +1 -1
  538. package/dist/components/calcite-pick-list-item.js +1 -1
  539. package/dist/components/calcite-pick-list.js +1 -1
  540. package/dist/components/calcite-popover.js +1 -1
  541. package/dist/components/calcite-progress.js +1 -1
  542. package/dist/components/calcite-radio-button-group.js +1 -1
  543. package/dist/components/calcite-radio-button.js +1 -1
  544. package/dist/components/calcite-radio-group-item.js +1 -1
  545. package/dist/components/calcite-radio-group.js +1 -1
  546. package/dist/components/calcite-rating.js +1 -1
  547. package/dist/components/calcite-scrim.js +1 -1
  548. package/dist/components/calcite-select.js +1 -1
  549. package/dist/components/calcite-shell-center-row.js +1 -1
  550. package/dist/components/calcite-shell-panel.js +34 -8
  551. package/dist/components/calcite-shell.js +1 -1
  552. package/dist/components/calcite-slider.js +1 -1
  553. package/dist/components/calcite-sortable-list.js +1 -1
  554. package/dist/components/calcite-split-button.js +1 -1
  555. package/dist/components/calcite-stepper-item.js +1 -1
  556. package/dist/components/calcite-stepper.js +1 -1
  557. package/dist/components/calcite-switch.js +1 -1
  558. package/dist/components/calcite-tab-nav.js +1 -1
  559. package/dist/components/calcite-tab-title.js +1 -1
  560. package/dist/components/calcite-tab.js +1 -1
  561. package/dist/components/calcite-tabs.js +1 -1
  562. package/dist/components/calcite-tile-select-group.js +1 -1
  563. package/dist/components/calcite-tile-select.js +1 -1
  564. package/dist/components/calcite-tile.js +1 -1
  565. package/dist/components/calcite-time-picker.js +1 -1
  566. package/dist/components/calcite-tip-group.js +1 -1
  567. package/dist/components/calcite-tip-manager.js +1 -1
  568. package/dist/components/calcite-tip.js +1 -1
  569. package/dist/components/calcite-tooltip.js +1 -1
  570. package/dist/components/calcite-tree-item.js +1 -1
  571. package/dist/components/calcite-tree.js +1 -1
  572. package/dist/components/calcite-value-list-item.js +1 -1
  573. package/dist/components/calcite-value-list.js +1 -1
  574. package/dist/components/checkbox.js +1 -1
  575. package/dist/components/chip.js +1 -1
  576. package/dist/components/color-picker-hex-input.js +1 -1
  577. package/dist/components/color-picker-swatch.js +1 -1
  578. package/dist/components/conditionalSlot.js +1 -1
  579. package/dist/components/date-picker-day.js +1 -1
  580. package/dist/components/date-picker-month-header.js +1 -1
  581. package/dist/components/date-picker-month.js +1 -1
  582. package/dist/components/date-picker.js +1 -1
  583. package/dist/components/date.js +1 -1
  584. package/dist/components/debounce.js +1 -1
  585. package/dist/components/dom.js +1 -1
  586. package/dist/components/dropdown.js +1 -1
  587. package/dist/components/filter.js +1 -1
  588. package/dist/components/filter2.js +1 -1
  589. package/dist/components/floating-ui.js +1 -1
  590. package/dist/components/focusTrapComponent.js +1 -1
  591. package/dist/components/form.js +1 -1
  592. package/dist/components/graph.js +1 -1
  593. package/dist/components/guid.js +1 -1
  594. package/dist/components/handle.js +1 -1
  595. package/dist/components/icon.js +1 -1
  596. package/dist/components/index.js +1 -1
  597. package/dist/components/input.js +1 -1
  598. package/dist/components/interactive.js +1 -1
  599. package/dist/components/key.js +1 -1
  600. package/dist/components/label.js +1 -1
  601. package/dist/components/label2.js +1 -1
  602. package/dist/components/link.js +1 -1
  603. package/dist/components/loadable.js +1 -1
  604. package/dist/components/loader.js +1 -1
  605. package/dist/components/locale.js +1 -1
  606. package/dist/components/math.js +1 -1
  607. package/dist/components/nonChromiumPlatformUtils.js +1 -1
  608. package/dist/components/observers.js +1 -1
  609. package/dist/components/openCloseComponent.js +1 -1
  610. package/dist/components/panel.js +1 -1
  611. package/dist/components/pick-list-item.js +1 -1
  612. package/dist/components/popover.js +1 -1
  613. package/dist/components/progress.js +1 -1
  614. package/dist/components/resources.js +1 -1
  615. package/dist/components/resources2.js +1 -1
  616. package/dist/components/resources3.js +1 -1
  617. package/dist/components/resources4.js +1 -1
  618. package/dist/components/scrim.js +1 -1
  619. package/dist/components/shared-list-render.js +1 -1
  620. package/dist/components/sortable.esm.js +1 -1
  621. package/dist/components/switch.js +1 -1
  622. package/dist/components/t9n.js +1 -1
  623. package/dist/components/tab-nav.js +1 -1
  624. package/dist/components/tab-title.js +1 -1
  625. package/dist/components/tab.js +1 -1
  626. package/dist/components/tabs.js +1 -1
  627. package/dist/components/tile.js +1 -1
  628. package/dist/components/time-picker.js +1 -1
  629. package/dist/components/tooltip.js +1 -1
  630. package/dist/components/utils.js +1 -1
  631. package/dist/components/utils2.js +1 -1
  632. package/dist/esm/{ExpandToggle-c57082d9.js → ExpandToggle-7ee3cd6a.js} +5 -5
  633. package/dist/esm/{Heading-769d6b09.js → Heading-e1cf749e.js} +2 -2
  634. package/dist/esm/{app-globals-97ed8d8a.js → app-globals-0d8ac661.js} +2 -2
  635. package/dist/esm/{array-5f95f037.js → array-a7dc0f27.js} +1 -1
  636. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  637. package/dist/esm/calcite-action-bar.entry.js +15 -15
  638. package/dist/esm/calcite-action-group.entry.js +12 -12
  639. package/dist/esm/calcite-action-menu.entry.js +9 -9
  640. package/dist/esm/calcite-action-pad.entry.js +14 -14
  641. package/dist/esm/calcite-action.entry.js +11 -11
  642. package/dist/esm/calcite-alert.entry.js +12 -12
  643. package/dist/esm/calcite-avatar.entry.js +6 -6
  644. package/dist/esm/calcite-block_2.entry.js +12 -12
  645. package/dist/esm/calcite-button.entry.js +13 -13
  646. package/dist/esm/calcite-card.entry.js +10 -10
  647. package/dist/esm/calcite-checkbox.entry.js +10 -10
  648. package/dist/esm/calcite-chip.entry.js +11 -11
  649. package/dist/esm/calcite-color-picker_3.entry.js +14 -14
  650. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  651. package/dist/esm/calcite-date-picker_4.entry.js +12 -12
  652. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  653. package/dist/esm/calcite-fab.entry.js +7 -7
  654. package/dist/esm/calcite-filter.entry.js +13 -13
  655. package/dist/esm/calcite-flow-item.entry.js +12 -12
  656. package/dist/esm/calcite-flow.entry.js +3 -3
  657. package/dist/esm/calcite-graph_2.entry.js +13 -13
  658. package/dist/esm/calcite-handle.entry.js +6 -6
  659. package/dist/esm/calcite-icon.entry.js +6 -6
  660. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  661. package/dist/esm/calcite-input-date-picker.entry.js +16 -16
  662. package/dist/esm/calcite-input-message.entry.js +5 -5
  663. package/dist/esm/calcite-input-number.entry.js +14 -14
  664. package/dist/esm/calcite-input-text.entry.js +13 -13
  665. package/dist/esm/calcite-input-time-picker_2.entry.js +13 -13
  666. package/dist/esm/calcite-input.entry.js +14 -14
  667. package/dist/esm/calcite-label.entry.js +6 -6
  668. package/dist/esm/calcite-link.entry.js +7 -7
  669. package/dist/esm/calcite-list_3.entry.js +9 -9
  670. package/dist/esm/calcite-loader.entry.js +3 -3
  671. package/dist/esm/calcite-modal.entry.js +13 -13
  672. package/dist/esm/calcite-notice.entry.js +12 -12
  673. package/dist/esm/calcite-option_3.entry.js +10 -10
  674. package/dist/esm/calcite-pagination.entry.js +9 -9
  675. package/dist/esm/calcite-panel.entry.js +14 -14
  676. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  677. package/dist/esm/calcite-popover.entry.js +15 -15
  678. package/dist/esm/calcite-progress.entry.js +2 -2
  679. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  680. package/dist/esm/calcite-radio-button.entry.js +10 -10
  681. package/dist/esm/calcite-radio-group_2.entry.js +9 -9
  682. package/dist/esm/calcite-rating.entry.js +13 -13
  683. package/dist/esm/calcite-scrim.entry.js +9 -9
  684. package/dist/esm/calcite-shell_3.entry.js +37 -14
  685. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  686. package/dist/esm/calcite-split-button.entry.js +3 -3
  687. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  688. package/dist/esm/calcite-switch.entry.js +10 -10
  689. package/dist/esm/calcite-tab_4.entry.js +7 -7
  690. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  691. package/dist/esm/calcite-tile.entry.js +8 -8
  692. package/dist/esm/calcite-tip_3.entry.js +11 -11
  693. package/dist/esm/calcite-tooltip.entry.js +8 -8
  694. package/dist/esm/calcite-tree_2.entry.js +8 -8
  695. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  696. package/dist/esm/calcite.js +5 -5
  697. package/dist/esm/{conditionalSlot-b1978c68.js → conditionalSlot-bf86d745.js} +3 -3
  698. package/dist/esm/{debounce-10be89e5.js → debounce-10d512d2.js} +1 -1
  699. package/dist/esm/{dom-a87ac75a.js → dom-d49b46f5.js} +3 -3
  700. package/dist/esm/{filter-1ebf6a52.js → filter-3969efe7.js} +2 -2
  701. package/dist/esm/{floating-ui-487915ab.js → floating-ui-13eaf884.js} +4 -4
  702. package/dist/esm/{focusTrapComponent-4161b439.js → focusTrapComponent-c796d748.js} +2 -2
  703. package/dist/esm/{form-a3642531.js → form-7ed69015.js} +3 -3
  704. package/dist/esm/{guid-b3b57730.js → guid-34deb7e1.js} +1 -1
  705. package/dist/esm/{index-5262ee9d.js → index-d964fa3e.js} +1 -1
  706. package/dist/esm/index.js +1 -1
  707. package/dist/esm/{interactive-3880d67a.js → interactive-947a1fd7.js} +1 -1
  708. package/dist/esm/{key-c876443b.js → key-5106f003.js} +1 -1
  709. package/dist/esm/{label-c203ecb6.js → label-b82bb255.js} +2 -2
  710. package/dist/esm/{loadable-51558afb.js → loadable-26dcda23.js} +1 -1
  711. package/dist/esm/loader.js +5 -5
  712. package/dist/esm/{locale-643d4a1d.js → locale-5824fdbb.js} +4 -4
  713. package/dist/esm/{math-339321be.js → math-03730719.js} +1 -1
  714. package/dist/esm/{nonChromiumPlatformUtils-c81b8c5e.js → nonChromiumPlatformUtils-cb8cb9d7.js} +6 -6
  715. package/dist/esm/{observers-e1f95e54.js → observers-615b8674.js} +1 -1
  716. package/dist/esm/{openCloseComponent-d4f98dbb.js → openCloseComponent-0735aba6.js} +2 -2
  717. package/dist/esm/{resources-bfff43d3.js → resources-463e7693.js} +1 -1
  718. package/dist/esm/{resources-62616202.js → resources-7c5a7686.js} +1 -1
  719. package/dist/esm/{resources-811f149d.js → resources-7ef25011.js} +1 -1
  720. package/dist/esm/{resources-8dc86aae.js → resources-abb979f1.js} +1 -1
  721. package/dist/esm/{resources-7e4291db.js → resources-de9768b1.js} +5 -5
  722. package/dist/esm/{resources-3672e167.js → resources-f108fa09.js} +1 -1
  723. package/dist/esm/{sortable.esm-703a79fd.js → sortable.esm-a04ec1e0.js} +1 -1
  724. package/dist/esm/{t9n-80805096.js → t9n-fbd94477.js} +3 -3
  725. package/dist/esm/{utils-efafaa63.js → utils-732dfcb8.js} +3 -3
  726. package/dist/esm/{utils-81beec89.js → utils-c7b7d6d8.js} +1 -1
  727. package/dist/extras/docs-json.json +20 -2
  728. package/dist/loader/cdn.js +1 -1
  729. package/dist/loader/index.cjs.js +1 -1
  730. package/dist/loader/index.es2017.js +1 -1
  731. package/dist/loader/index.js +1 -1
  732. package/dist/types/components/shell-panel/resources.d.ts +0 -3
  733. package/dist/types/components/shell-panel/shell-panel.d.ts +20 -1
  734. package/dist/types/components.d.ts +27 -12
  735. package/hydrate/index.js +32 -8
  736. package/package.json +1 -1
  737. package/dist/calcite/p-1b8b2680.entry.js +0 -6
  738. package/dist/calcite/p-1d2c99ac.js +0 -6
  739. package/dist/calcite/p-2ede6afa.entry.js +0 -6
  740. package/dist/calcite/p-3f699c2c.js +0 -6
  741. package/dist/calcite/p-4ce0b692.js +0 -6
  742. package/dist/calcite/p-626c29a2.entry.js +0 -6
  743. package/dist/calcite/p-a2d89dae.entry.js +0 -6
  744. package/dist/calcite/p-a305b56a.entry.js +0 -6
  745. package/dist/calcite/p-cd42e72b.entry.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.697
4
+ * v1.0.0-next.698
5
5
  */
6
- import{a as r,S as t,i as n,b as e,c as o,r as u,f}from"./p-7c365c32.js";var c=Array.isArray,a=t?t.prototype:void 0,i=a?a.toString:void 0;function l(t){if("string"==typeof t)return t;if(c(t))return function(r,t){for(var n=-1,e=null==r?0:r.length,o=Array(e);++n<e;)o[n]=t(r[n],n,r);return o}(t,l)+"";if(r(t))return i?i.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function s(r){return r}var v=/^(?:0|[1-9]\d*)$/;function b(r,t){var n=typeof r;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&v.test(r))&&r>-1&&r%1==0&&r<t}function p(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}var y=Object.prototype;function j(r){return o(r)&&"[object Arguments]"==e(r)}var d=Object.prototype,m=d.hasOwnProperty,x=d.propertyIsEnumerable,g=j(function(){return arguments}())?j:function(r){return o(r)&&m.call(r,"callee")&&!x.call(r,"callee")},O="object"==typeof exports&&exports&&!exports.nodeType&&exports,h=O&&"object"==typeof module&&module&&!module.nodeType&&module,A=h&&h.exports===O?u.Buffer:void 0,F=(A?A.isBuffer:void 0)||function(){return!1},$={};$["[object Float32Array]"]=$["[object Float64Array]"]=$["[object Int8Array]"]=$["[object Int16Array]"]=$["[object Int32Array]"]=$["[object Uint8Array]"]=$["[object Uint8ClampedArray]"]=$["[object Uint16Array]"]=$["[object Uint32Array]"]=!0,$["[object Arguments]"]=$["[object Array]"]=$["[object ArrayBuffer]"]=$["[object Boolean]"]=$["[object DataView]"]=$["[object Date]"]=$["[object Error]"]=$["[object Function]"]=$["[object Map]"]=$["[object Number]"]=$["[object Object]"]=$["[object RegExp]"]=$["[object Set]"]=$["[object String]"]=$["[object WeakMap]"]=!1;var w,E="object"==typeof exports&&exports&&!exports.nodeType&&exports,R=E&&"object"==typeof module&&module&&!module.nodeType&&module,S=R&&R.exports===E&&f.process,k=function(){try{return R&&R.require&&R.require("util").types||S&&S.binding&&S.binding("util")}catch(r){}}(),G=k&&k.isTypedArray,L=G?(w=G,function(r){return w(r)}):function(r){return o(r)&&p(r.length)&&!!$[e(r)]},N=Object.prototype.hasOwnProperty;var P=Object.prototype.hasOwnProperty;function T(r){return null!=(t=r)&&p(t.length)&&!function(r){if(!n(r))return!1;var t=e(r);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(t)?function(r,t){var n=c(r),e=!n&&g(r),o=!n&&!e&&F(r),u=!n&&!e&&!o&&L(r),f=n||e||o||u,a=f?function(r,t){for(var n=-1,e=Array(r);++n<r;)e[n]=t(n);return e}(r.length,String):[],i=a.length;for(var l in r)!t&&!N.call(r,l)||f&&("length"==l||o&&("offset"==l||"parent"==l)||u&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||b(l,i))||a.push(l);return a}(r,!0):function(r){if(!n(r))return function(r){var t=[];if(null!=r)for(var n in Object(r))t.push(n);return t}(r);var t,e,o=(t=r)===("function"==typeof(e=t&&t.constructor)&&e.prototype||y),u=[];for(var f in r)("constructor"!=f||!o&&P.call(r,f))&&u.push(f);return u}(r);var t}var q=/[\\^$.*+?()[\]{}|]/g,z=RegExp(q.source);function B(r,t){return null==r?r:function(r,t,n){for(var e=-1,o=Object(r),u=n(r),f=u.length;f--;){var c=u[++e];if(!1===t(o[c],c,o))break}return r}(r,"function"==typeof(n=t)?n:s,T);var n}const C=(r,t)=>{const n=function(r){var t;return(r=null==(t=r)?"":l(t))&&z.test(r)?r.replace(q,"\\$&"):r}(t),e=new RegExp(n,"i");0===r.length&&console.warn("No data was passed to the filter function.\n The data argument should be an array of objects");const o=(r,t)=>{if(r?.constant||r?.filterDisabled)return!0;let n=!1;return B(r,(r=>{"function"!=typeof r&&null!=r&&(Array.isArray(r)||"object"==typeof r&&null!==r?o(r,t)&&(n=!0):t.test(r)&&(n=!0))})),n};return r.filter((r=>o(r,e)))};export{C as f}
6
+ import{a as r,S as t,i as n,b as e,c as o,r as u,f}from"./p-400cda16.js";var c=Array.isArray,a=t?t.prototype:void 0,i=a?a.toString:void 0;function l(t){if("string"==typeof t)return t;if(c(t))return function(r,t){for(var n=-1,e=null==r?0:r.length,o=Array(e);++n<e;)o[n]=t(r[n],n,r);return o}(t,l)+"";if(r(t))return i?i.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function s(r){return r}var v=/^(?:0|[1-9]\d*)$/;function b(r,t){var n=typeof r;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&v.test(r))&&r>-1&&r%1==0&&r<t}function p(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}var y=Object.prototype;function d(r){return o(r)&&"[object Arguments]"==e(r)}var j=Object.prototype,m=j.hasOwnProperty,x=j.propertyIsEnumerable,g=d(function(){return arguments}())?d:function(r){return o(r)&&m.call(r,"callee")&&!x.call(r,"callee")},O="object"==typeof exports&&exports&&!exports.nodeType&&exports,h=O&&"object"==typeof module&&module&&!module.nodeType&&module,A=h&&h.exports===O?u.Buffer:void 0,F=(A?A.isBuffer:void 0)||function(){return!1},$={};$["[object Float32Array]"]=$["[object Float64Array]"]=$["[object Int8Array]"]=$["[object Int16Array]"]=$["[object Int32Array]"]=$["[object Uint8Array]"]=$["[object Uint8ClampedArray]"]=$["[object Uint16Array]"]=$["[object Uint32Array]"]=!0,$["[object Arguments]"]=$["[object Array]"]=$["[object ArrayBuffer]"]=$["[object Boolean]"]=$["[object DataView]"]=$["[object Date]"]=$["[object Error]"]=$["[object Function]"]=$["[object Map]"]=$["[object Number]"]=$["[object Object]"]=$["[object RegExp]"]=$["[object Set]"]=$["[object String]"]=$["[object WeakMap]"]=!1;var w,E="object"==typeof exports&&exports&&!exports.nodeType&&exports,R=E&&"object"==typeof module&&module&&!module.nodeType&&module,S=R&&R.exports===E&&f.process,k=function(){try{return R&&R.require&&R.require("util").types||S&&S.binding&&S.binding("util")}catch(r){}}(),G=k&&k.isTypedArray,L=G?(w=G,function(r){return w(r)}):function(r){return o(r)&&p(r.length)&&!!$[e(r)]},N=Object.prototype.hasOwnProperty;var P=Object.prototype.hasOwnProperty;function T(r){return null!=(t=r)&&p(t.length)&&!function(r){if(!n(r))return!1;var t=e(r);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(t)?function(r,t){var n=c(r),e=!n&&g(r),o=!n&&!e&&F(r),u=!n&&!e&&!o&&L(r),f=n||e||o||u,a=f?function(r,t){for(var n=-1,e=Array(r);++n<r;)e[n]=t(n);return e}(r.length,String):[],i=a.length;for(var l in r)!t&&!N.call(r,l)||f&&("length"==l||o&&("offset"==l||"parent"==l)||u&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||b(l,i))||a.push(l);return a}(r,!0):function(r){if(!n(r))return function(r){var t=[];if(null!=r)for(var n in Object(r))t.push(n);return t}(r);var t,e,o=(t=r)===("function"==typeof(e=t&&t.constructor)&&e.prototype||y),u=[];for(var f in r)("constructor"!=f||!o&&P.call(r,f))&&u.push(f);return u}(r);var t}var q=/[\\^$.*+?()[\]{}|]/g,z=RegExp(q.source);function B(r,t){return null==r?r:function(r,t,n){for(var e=-1,o=Object(r),u=n(r),f=u.length;f--;){var c=u[++e];if(!1===t(o[c],c,o))break}return r}(r,"function"==typeof(n=t)?n:s,T);var n}const C=(r,t)=>{const n=function(r){var t;return(r=null==(t=r)?"":l(t))&&z.test(r)?r.replace(q,"\\$&"):r}(t),e=new RegExp(n,"i");0===r.length&&console.warn("No data was passed to the filter function.\n The data argument should be an array of objects");const o=(r,t)=>{if(r?.constant||r?.filterDisabled)return!0;let n=!1;return B(r,(r=>{"function"!=typeof r&&null!=r&&(Array.isArray(r)||"object"==typeof r&&null!==r?o(r,t)&&(n=!0):t.test(r)&&(n=!0))})),n};return r.filter((r=>o(r,e)))};export{C as f}
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.697
4
+ * v1.0.0-next.698
5
5
  */
6
- import{f as n}from"./p-5bdefd5d.js";
6
+ import{f as n}from"./p-ba31fb6f.js";
7
7
  /*!
8
8
  * tabbable 6.0.1
9
9
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.697
4
+ * v1.0.0-next.698
5
5
  */
6
- import{c as t,b as n}from"./p-5bdefd5d.js";import{d as e}from"./p-7c365c32.js";function o(t){return t.split("-")[0]}function r(t){return t.split("-")[1]}function i(t){return["top","bottom"].includes(o(t))?"x":"y"}function a(t){return"y"===t?"height":"width"}function l(t,n,e){let{reference:l,floating:s}=t;const c=l.x+l.width/2-s.width/2,u=l.y+l.height/2-s.height/2,f=i(n),d=a(f),m=l[d]/2-s[d]/2,p="x"===f;let y;switch(o(n)){case"top":y={x:c,y:l.y-s.height};break;case"bottom":y={x:c,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:u};break;case"left":y={x:l.x-s.width,y:u};break;default:y={x:l.x,y:l.y}}switch(r(n)){case"start":y[f]-=m*(e&&p?-1:1);break;case"end":y[f]+=m*(e&&p?-1:1)}return y}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 c(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function u(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:u}=t,{boundary:f="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:p=!1,padding:y=0}=n,g=s(y),x=l[p?"floating"===m?"reference":"floating":m],h=c(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(x)))||e?x:x.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:f,rootBoundary:d,strategy:u})),w="floating"===m?{...a.floating,x:o,y:r}:a.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),b=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},A=c(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w,offsetParent:v,strategy:u}):w);return{top:(h.top-A.top+g.top)/b.y,bottom:(A.bottom-h.bottom+g.bottom)/b.y,left:(h.left-A.left+g.left)/b.x,right:(A.right-h.right+g.right)/b.x}}const f=Math.min,d=Math.max;function m(t,n,e){return d(t,f(n,e))}const p={left:"right",right:"left",bottom:"top",top:"bottom"};function y(t){return t.replace(/left|right|bottom|top/g,(t=>p[t]))}function g(t,n,e){void 0===e&&(e=!1);const o=r(t),l=i(t),s=a(l);let c="x"===l?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=y(c)),{main:c,cross:y(c)}}const x={start:"end",end:"start"};function h(t){return t.replace(/start|end/g,(t=>x[t]))}const w=["top","right","bottom","left"],v=w.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),b=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:r,middlewareData:i,rects:a,initialPlacement:l,platform:s,elements:c}=n,{mainAxis:f=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",flipAlignment:x=!0,...w}=t,v=o(r),b=[l,...m||(v!==l&&x?function(t){const n=y(t);return[h(t),n,h(n)]}(l):[y(l)])],A=await u(n,w),P=[];let R=(null==(e=i.flip)?void 0:e.overflows)||[];if(f&&P.push(A[v]),d){const{main:t,cross:n}=g(r,a,await(null==s.isRTL?void 0:s.isRTL(c.floating)));P.push(A[t],A[n])}if(R=[...R,{placement:r,overflows:P}],!P.every((t=>t<=0))){var k,D;const t=(null!=(k=null==(D=i.flip)?void 0:D.index)?k:0)+1,n=b[t];if(n)return{data:{index:t,overflows:R},reset:{placement:n}};let e="bottom";switch(p){case"bestFit":{var E;const t=null==(E=R.map((t=>[t,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:E[0].placement;t&&(e=t);break}case"initialPlacement":e=l}if(r!==e)return{reset:{placement:e}}}return{}}}};function A(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function P(t){return w.some((n=>t[n]>=0))}const R=function(t){let{strategy:n="referenceHidden",...e}=void 0===t?{}:t;return{name:"hide",async fn(t){const{rects:o}=t;switch(n){case"referenceHidden":{const n=A(await u(t,{...e,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:P(n)}}}case"escaped":{const n=A(await u(t,{...e,altBoundary:!0}),o.floating);return{data:{escapedOffsets:n,escaped:P(n)}}}default:return{}}}}};function k(t){var n;return(null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function D(t){return k(t).getComputedStyle(t)}function E(t){return S(t)?(t.nodeName||"").toLowerCase():""}let M;function O(){if(M)return M;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(M=t.brands.map((t=>t.brand+"/"+t.version)).join(" "),M):navigator.userAgent}function F(t){return t instanceof k(t).HTMLElement}function $(t){return t instanceof k(t).Element}function S(t){return t instanceof k(t).Node}function T(t){return"undefined"!=typeof ShadowRoot&&(t instanceof k(t).ShadowRoot||t instanceof ShadowRoot)}function j(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=D(t);return/auto|scroll|overlay|hidden/.test(n+o+e)&&!["inline","contents"].includes(r)}function B(t){return["table","td","th"].includes(E(t))}function C(t){const n=/firefox/i.test(O()),e=D(t),o=e.backdropFilter||e.WebkitBackdropFilter;return"none"!==e.transform||"none"!==e.perspective||!!o&&"none"!==o||n&&"filter"===e.willChange||n&&!!e.filter&&"none"!==e.filter||["transform","perspective"].some((t=>e.willChange.includes(t)))||["paint","layout","strict","content"].some((t=>{const n=e.contain;return null!=n&&n.includes(t)}))}function z(){return!/^((?!chrome|android).)*safari/i.test(O())}function L(t){return["html","body","#document"].includes(E(t))}const H={x:1,y:1};function N(t){const n=!$(t)&&t.contextElement?t.contextElement:$(t)?t:null;if(!n)return H;const e=n.getBoundingClientRect(),o=D(n);let r=e.width/parseFloat(o.width),i=e.height/parseFloat(o.height);return r&&Number.isFinite(r)||(r=1),i&&Number.isFinite(i)||(i=1),{x:r,y:i}}function I(t,n,e,o){var r,i,a,l;void 0===n&&(n=!1),void 0===e&&(e=!1);const s=t.getBoundingClientRect();let c=H;n&&(o?$(o)&&(c=N(o)):c=N(t));const u=$(t)?k(t):window,f=!z()&&e,d=(s.left+(f&&null!=(r=null==(i=u.visualViewport)?void 0:i.offsetLeft)?r:0))/c.x,m=(s.top+(f&&null!=(a=null==(l=u.visualViewport)?void 0:l.offsetTop)?a:0))/c.y,p=s.width/c.x,y=s.height/c.y;return{width:p,height:y,top:m,right:d+p,bottom:m+y,left:d,x:d,y:m}}function W(t){return((S(t)?t.ownerDocument:t.document)||window.document).documentElement}function q(t){return $(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function U(t){return I(W(t)).left+q(t).scrollLeft}function V(t,n,e){const o=F(n),r=W(n),i=I(t,!0,"fixed"===e,n);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&"fixed"!==e)if(("body"!==E(n)||j(r))&&(a=q(n)),F(n)){const t=I(n,!0);l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}else r&&(l.x=U(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function X(t){if("html"===E(t))return t;const n=t.assignedSlot||t.parentNode||(T(t)?t.host:null)||W(t);return T(n)?n.host:n}function Y(t){return F(t)&&"fixed"!==D(t).position?t.offsetParent:null}function _(t){const n=k(t);let e=Y(t);for(;e&&B(e)&&"static"===D(e).position;)e=Y(e);return e&&("html"===E(e)||"body"===E(e)&&"static"===D(e).position&&!C(e))?n:e||function(t){let n=X(t);for(;F(n)&&!L(n);){if(C(n))return n;n=X(n)}return null}(t)||n}const G=Math.min,J=Math.max;function K(t){const n=X(t);return L(n)?t.ownerDocument.body:F(n)&&j(n)?n:K(n)}function Q(t,n){var e;void 0===n&&(n=[]);const o=K(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=k(o);return r?n.concat(i,i.visualViewport||[],j(o)?o:[]):n.concat(o,Q(o))}function Z(t,n,e){return"viewport"===n?c(function(t,n){const e=k(t),o=W(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const t=z();(t||!t&&"fixed"===n)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e)):$(n)?function(t,n){const e=I(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=F(t)?N(t):{x:1,y:1},a=t.clientWidth*i.x,l=t.clientHeight*i.y,s=r*i.x,c=o*i.y;return{top:c,left:s,right:s+a,bottom:c+l,x:s,y:c,width:a,height:l}}(n,e):c(function(t){var n;const e=W(t),o=q(t),r=null==(n=t.ownerDocument)?void 0:n.body,i=J(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=J(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let l=-o.scrollLeft+U(t);const s=-o.scrollTop;return"rtl"===D(r||e).direction&&(l+=J(e.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(W(t)))}const tt={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=Q(t).filter((t=>$(t)&&"body"!==E(t))),r=null;const i="fixed"===D(t).position;let a=i?X(t):t;for(;$(a)&&!L(a);){const t=D(a),n=C(a);(i?n||r:n||"static"!==t.position||!r||!["absolute","fixed"].includes(r.position))?r=t:o=o.filter((t=>t!==a)),a=X(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=Z(n,e,r);return t.top=J(o.top,t.top),t.right=G(o.right,t.right),t.bottom=G(o.bottom,t.bottom),t.left=J(o.left,t.left),t}),Z(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=F(e),i=W(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const s={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==E(e)||j(i))&&(a=q(e)),F(e))){const t=I(e);l=N(e),s.x=t.x+e.clientLeft,s.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+s.x,y:n.y*l.y-a.scrollTop*l.y+s.y}},isElement:$,getDimensions:function(t){if(F(t))return{width:t.offsetWidth,height:t.offsetHeight};const n=I(t);return{width:n.width,height:n.height}},getOffsetParent:_,getDocumentElement:W,getScale:N,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||_,i=this.getDimensions;return{reference:V(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===D(t).direction};const nt={floatingUINonChromiumPositioningFix:!0,...globalThis.calciteComponentsConfig},et=async function(){if(nt.floatingUINonChromiumPositioningFix&&/firefox|safari/i.test(function(){const t=navigator.userAgentData;return t?.brands?t.brands.map((t=>`${t.brand}/${t.version}`)).join(" "):navigator.userAgent}())){const{getClippingRect:t,getElementRects:n,getOffsetParent:e}=await import("./p-e517d3ee.js");tt.getClippingRect=t,tt.getOffsetParent=e,tt.getElementRects=n}}(),ot=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],rt="bottom-start",it={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function at({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:l,offsetSkidding:c,arrowEl:f,type:d}){const p=[(void 0===y&&(y={}),{name:"shift",options:y,async fn(t){const{x:n,y:e,placement:r}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...c}=y,f={x:n,y:e},d=await u(t,c),p=i(o(r)),g="x"===p?"y":"x";let x=f[p],h=f[g];a&&(x=m(x+d["y"===p?"top":"left"],x,x-d["y"===p?"bottom":"right"])),l&&(h=m(h+d["y"===g?"top":"left"],h,h-d["y"===g?"bottom":"right"]));const w=s.fn({...t,[p]:x,[g]:h});return{...w,data:{x:w.x-n,y:w.y-e}}}}),R()];var y,x;if("menu"===d)return[...p,b({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===d||"tooltip"===d){const d=[...p,(x={mainAxis:"number"==typeof l?l:0,crossAxis:"number"==typeof c?c:0},void 0===x&&(x=0),{name:"offset",options:x,async fn(t){const{x:n,y:e}=t,a=await async function(t,n){const{placement:e,platform:a,elements:l}=t,s=await(null==a.isRTL?void 0:a.isRTL(l.floating)),c=o(e),u=r(e),f="x"===i(e),d=["left","top"].includes(c)?-1:1,m=s&&f?-1:1,p="function"==typeof n?n(t):n;let{mainAxis:y,crossAxis:g,alignmentAxis:x}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return u&&"number"==typeof x&&(g="end"===u?-1*x:x),f?{x:g*m,y:y*d}:{x:y*d,y:g*m}}(t,x);return{x:n+a.x,y:e+a.y,data:a}}})];return"auto"===t||"auto-start"===t||"auto-end"===t?d.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,i,a,l,s;const{x:c,y:f,rects:d,middlewareData:m,placement:p,platform:y,elements:x}=n,{alignment:w=null,allowedPlacements:b=v,autoAlignment:A=!0,...P}=t,R=function(t,n,e){return(t?[...e.filter((n=>r(n)===t)),...e.filter((n=>r(n)!==t))]:e.filter((t=>o(t)===t))).filter((e=>!t||r(e)===t||!!n&&h(e)!==e))}(w,A,b),k=await u(n,P),D=null!=(e=null==(i=m.autoPlacement)?void 0:i.index)?e:0,E=R[D];if(null==E)return{};const{main:M,cross:O}=g(E,d,await(null==y.isRTL?void 0:y.isRTL(x.floating)));if(p!==E)return{x:c,y:f,reset:{placement:R[0]}};const F=[k[o(E)],k[M],k[O]],$=[...null!=(a=null==(l=m.autoPlacement)?void 0:l.overflows)?a:[],{placement:E,overflows:F}],S=R[D+1];if(S)return{data:{index:D+1,overflows:$},reset:{placement:S}};const T=$.slice().sort(((t,n)=>t.overflows[0]-n.overflows[0])),j=null==(s=T.find((t=>{let{overflows:n}=t;return n.every((t=>t<=0))})))?void 0:s.placement,B=null!=j?j:T[0].placement;return B!==p?{data:{index:D+1,overflows:$},reset:{placement:B}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||d.push(b(e?{fallbackPlacements:e}:{})),f&&d.push((t=>({name:"arrow",options:t,async fn(n){const{element:e,padding:o=0}=null!=t?t:{},{x:l,y:c,placement:u,rects:f,platform:d}=n;if(null==e)return{};const p=s(o),y={x:l,y:c},g=i(u),x=r(u),h=a(g),w=await d.getDimensions(e),v="y"===g?"top":"left",b="y"===g?"bottom":"right",A=f.reference[h]+f.reference[g]-y[g]-f.floating[h],P=y[g]-f.reference[g],R=await(null==d.getOffsetParent?void 0:d.getOffsetParent(e));let k=R?"y"===g?R.clientHeight||0:R.clientWidth||0:0;0===k&&(k=f.floating[h]);const D=p[v],E=k-w[h]-p[b],M=k/2-w[h]/2+(A/2-P/2),O=m(D,M,E);return{[g]:y[g]-(("start"===x?p[v]:p[b])>0&&M!==O&&f.reference[h]<=f.floating[h]?M<D?D-M:E-M:0),data:{[g]:O,centerOffset:M-O}}}}))({element:f})),d}return[]}function lt(t,n){const e=t.filter((t=>ot.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${ot.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function st(t,e){const o=["left","right"];return"rtl"===n(t)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function ct(t,n,e=!1){if(t.open)return e?ut(n):ft(n)}const ut=e(ft,100,{leading:!0,maxWait:100});async function ft({referenceEl:t,floatingEl:n,overlayPositioning:e="absolute",placement:o,flipDisabled:r,flipPlacements:i,offsetDistance:a,offsetSkidding:s,includeArrow:c=!1,arrowEl:u,type:f}){if(!t||!n||c&&!u)return null;await et;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await((t,n,e)=>{const o=new Map,r={platform:tt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,s=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let u=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:f,y:d}=l(u,o,c),m=o,p={},y=0;for(let e=0;e<s.length;e++){const{name:i,fn:g}=s[e],{x,y:h,data:w,reset:v}=await g({x:f,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:u,platform:a,elements:{reference:t,floating:n}});f=null!=x?x:f,d=null!=h?h:d,p={...p,[i]:{...p[i],...w}},v&&y<=50&&(y++,"object"==typeof v&&(v.placement&&(m=v.placement),v.rects&&(u=!0===v.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):v.rects),({x:f,y:d}=l(u,m,c))),e=-1)}return{x:f,y:d,placement:m,strategy:r,middlewareData:p}})(t,n,{...r,platform:i})})(t,n,{strategy:e,placement:"auto"===o||"auto-start"===o||"auto-end"===o?void 0:st(n,o),middleware:at({placement:o,flipDisabled:r,flipPlacements:i,offsetDistance:a,offsetSkidding:s,arrowEl:u,type:f})});if(g?.arrow){const{x:t,y:n}=g.arrow;Object.assign(u.style,{left:null!=t?`${t}px`:"",top:null!=n?`${n}px`:""})}const x=g?.hide?.referenceHidden?"hidden":null,h=x?"none":null;n.setAttribute("data-placement",p);const w=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(n.style,{visibility:x,pointerEvents:h,position:y,top:"0",left:"0",transform:w})}const dt=new WeakMap;function mt(t,n,e){if(!e||!n)return;pt(t,n,e);const o=t.overlayPositioning;Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:o}),"absolute"===o&&wt(e),dt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:l=!1}=o,s=r&&!l,c=s||i?[...$(t)?Q(t):t.contextElement?Q(t.contextElement):[],...Q(n)]:[];c.forEach((t=>{s&&t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));let u,f=null;if(a){let o=!0;f=new ResizeObserver((()=>{o||e(),o=!1})),$(t)&&!l&&f.observe(t),$(t)||!t.contextElement||l||f.observe(t.contextElement),f.observe(n)}let d=l?I(t):null;return l&&function n(){const o=I(t);!d||o.x===d.x&&o.y===d.y&&o.width===d.width&&o.height===d.height||e(),d=o,u=requestAnimationFrame(n)}(),e(),()=>{var t;c.forEach((t=>{s&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),null==(t=f)||t.disconnect(),f=null,l&&cancelAnimationFrame(u)}}(n,e,(()=>t.reposition())))}function pt(t,n,e){if(!e||!n)return;xt(e).removeEventListener("transitionend",ht);const o=dt.get(t);o&&o(),dt.delete(t)}const yt=Math.ceil(Math.hypot(4,4));function gt(t){t&&"absolute"===t.style.position&&xt(t).addEventListener("transitionend",ht)}function xt(t){return t.shadowRoot||t}function ht(n){const e=n.target;if("opacity"===n.propertyName&&e.classList.contains(it.animation)){const n=function(n){return t(n,"[data-placement]")}(e);wt(n),xt(n).removeEventListener("transitionend",ht)}}function wt(t){t.style.transform="",t.style.top="0",t.style.left="0"}export{it as F,pt as a,yt as b,mt as c,rt as d,c as e,lt as f,ct as r,gt as u}
6
+ import{c as t,b as n}from"./p-ba31fb6f.js";import{d as e}from"./p-400cda16.js";function o(t){return t.split("-")[0]}function r(t){return t.split("-")[1]}function i(t){return["top","bottom"].includes(o(t))?"x":"y"}function a(t){return"y"===t?"height":"width"}function l(t,n,e){let{reference:l,floating:s}=t;const c=l.x+l.width/2-s.width/2,f=l.y+l.height/2-s.height/2,u=i(n),d=a(u),m=l[d]/2-s[d]/2,p="x"===u;let y;switch(o(n)){case"top":y={x:c,y:l.y-s.height};break;case"bottom":y={x:c,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:f};break;case"left":y={x:l.x-s.width,y:f};break;default:y={x:l.x,y:l.y}}switch(r(n)){case"start":y[u]-=m*(e&&p?-1:1);break;case"end":y[u]+=m*(e&&p?-1:1)}return y}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 c(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function f(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:p=!1,padding:y=0}=n,g=s(y),x=l[p?"floating"===m?"reference":"floating":m],h=c(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(x)))||e?x:x.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:f})),w="floating"===m?{...a.floating,x:o,y:r}:a.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),b=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},A=c(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w,offsetParent:v,strategy:f}):w);return{top:(h.top-A.top+g.top)/b.y,bottom:(A.bottom-h.bottom+g.bottom)/b.y,left:(h.left-A.left+g.left)/b.x,right:(A.right-h.right+g.right)/b.x}}const u=Math.min,d=Math.max;function m(t,n,e){return d(t,u(n,e))}const p={left:"right",right:"left",bottom:"top",top:"bottom"};function y(t){return t.replace(/left|right|bottom|top/g,(t=>p[t]))}function g(t,n,e){void 0===e&&(e=!1);const o=r(t),l=i(t),s=a(l);let c="x"===l?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=y(c)),{main:c,cross:y(c)}}const x={start:"end",end:"start"};function h(t){return t.replace(/start|end/g,(t=>x[t]))}const w=["top","right","bottom","left"],v=w.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),b=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:r,middlewareData:i,rects:a,initialPlacement:l,platform:s,elements:c}=n,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",flipAlignment:x=!0,...w}=t,v=o(r),b=[l,...m||(v!==l&&x?function(t){const n=y(t);return[h(t),n,h(n)]}(l):[y(l)])],A=await f(n,w),P=[];let R=(null==(e=i.flip)?void 0:e.overflows)||[];if(u&&P.push(A[v]),d){const{main:t,cross:n}=g(r,a,await(null==s.isRTL?void 0:s.isRTL(c.floating)));P.push(A[t],A[n])}if(R=[...R,{placement:r,overflows:P}],!P.every((t=>t<=0))){var k,D;const t=(null!=(k=null==(D=i.flip)?void 0:D.index)?k:0)+1,n=b[t];if(n)return{data:{index:t,overflows:R},reset:{placement:n}};let e="bottom";switch(p){case"bestFit":{var E;const t=null==(E=R.map((t=>[t,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:E[0].placement;t&&(e=t);break}case"initialPlacement":e=l}if(r!==e)return{reset:{placement:e}}}return{}}}};function A(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function P(t){return w.some((n=>t[n]>=0))}const R=function(t){let{strategy:n="referenceHidden",...e}=void 0===t?{}:t;return{name:"hide",async fn(t){const{rects:o}=t;switch(n){case"referenceHidden":{const n=A(await f(t,{...e,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:P(n)}}}case"escaped":{const n=A(await f(t,{...e,altBoundary:!0}),o.floating);return{data:{escapedOffsets:n,escaped:P(n)}}}default:return{}}}}};function k(t){var n;return(null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function D(t){return k(t).getComputedStyle(t)}function E(t){return S(t)?(t.nodeName||"").toLowerCase():""}let M;function O(){if(M)return M;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(M=t.brands.map((t=>t.brand+"/"+t.version)).join(" "),M):navigator.userAgent}function F(t){return t instanceof k(t).HTMLElement}function $(t){return t instanceof k(t).Element}function S(t){return t instanceof k(t).Node}function T(t){return"undefined"!=typeof ShadowRoot&&(t instanceof k(t).ShadowRoot||t instanceof ShadowRoot)}function j(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=D(t);return/auto|scroll|overlay|hidden/.test(n+o+e)&&!["inline","contents"].includes(r)}function B(t){return["table","td","th"].includes(E(t))}function C(t){const n=/firefox/i.test(O()),e=D(t),o=e.backdropFilter||e.WebkitBackdropFilter;return"none"!==e.transform||"none"!==e.perspective||!!o&&"none"!==o||n&&"filter"===e.willChange||n&&!!e.filter&&"none"!==e.filter||["transform","perspective"].some((t=>e.willChange.includes(t)))||["paint","layout","strict","content"].some((t=>{const n=e.contain;return null!=n&&n.includes(t)}))}function z(){return!/^((?!chrome|android).)*safari/i.test(O())}function L(t){return["html","body","#document"].includes(E(t))}const H={x:1,y:1};function N(t){const n=!$(t)&&t.contextElement?t.contextElement:$(t)?t:null;if(!n)return H;const e=n.getBoundingClientRect(),o=D(n);let r=e.width/parseFloat(o.width),i=e.height/parseFloat(o.height);return r&&Number.isFinite(r)||(r=1),i&&Number.isFinite(i)||(i=1),{x:r,y:i}}function I(t,n,e,o){var r,i,a,l;void 0===n&&(n=!1),void 0===e&&(e=!1);const s=t.getBoundingClientRect();let c=H;n&&(o?$(o)&&(c=N(o)):c=N(t));const f=$(t)?k(t):window,u=!z()&&e,d=(s.left+(u&&null!=(r=null==(i=f.visualViewport)?void 0:i.offsetLeft)?r:0))/c.x,m=(s.top+(u&&null!=(a=null==(l=f.visualViewport)?void 0:l.offsetTop)?a:0))/c.y,p=s.width/c.x,y=s.height/c.y;return{width:p,height:y,top:m,right:d+p,bottom:m+y,left:d,x:d,y:m}}function W(t){return((S(t)?t.ownerDocument:t.document)||window.document).documentElement}function q(t){return $(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function U(t){return I(W(t)).left+q(t).scrollLeft}function V(t,n,e){const o=F(n),r=W(n),i=I(t,!0,"fixed"===e,n);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&"fixed"!==e)if(("body"!==E(n)||j(r))&&(a=q(n)),F(n)){const t=I(n,!0);l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}else r&&(l.x=U(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function X(t){if("html"===E(t))return t;const n=t.assignedSlot||t.parentNode||(T(t)?t.host:null)||W(t);return T(n)?n.host:n}function Y(t){return F(t)&&"fixed"!==D(t).position?t.offsetParent:null}function _(t){const n=k(t);let e=Y(t);for(;e&&B(e)&&"static"===D(e).position;)e=Y(e);return e&&("html"===E(e)||"body"===E(e)&&"static"===D(e).position&&!C(e))?n:e||function(t){let n=X(t);for(;F(n)&&!L(n);){if(C(n))return n;n=X(n)}return null}(t)||n}const G=Math.min,J=Math.max;function K(t){const n=X(t);return L(n)?t.ownerDocument.body:F(n)&&j(n)?n:K(n)}function Q(t,n){var e;void 0===n&&(n=[]);const o=K(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=k(o);return r?n.concat(i,i.visualViewport||[],j(o)?o:[]):n.concat(o,Q(o))}function Z(t,n,e){return"viewport"===n?c(function(t,n){const e=k(t),o=W(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const t=z();(t||!t&&"fixed"===n)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e)):$(n)?function(t,n){const e=I(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=F(t)?N(t):{x:1,y:1},a=t.clientWidth*i.x,l=t.clientHeight*i.y,s=r*i.x,c=o*i.y;return{top:c,left:s,right:s+a,bottom:c+l,x:s,y:c,width:a,height:l}}(n,e):c(function(t){var n;const e=W(t),o=q(t),r=null==(n=t.ownerDocument)?void 0:n.body,i=J(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=J(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let l=-o.scrollLeft+U(t);const s=-o.scrollTop;return"rtl"===D(r||e).direction&&(l+=J(e.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(W(t)))}const tt={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=Q(t).filter((t=>$(t)&&"body"!==E(t))),r=null;const i="fixed"===D(t).position;let a=i?X(t):t;for(;$(a)&&!L(a);){const t=D(a),n=C(a);(i?n||r:n||"static"!==t.position||!r||!["absolute","fixed"].includes(r.position))?r=t:o=o.filter((t=>t!==a)),a=X(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=Z(n,e,r);return t.top=J(o.top,t.top),t.right=G(o.right,t.right),t.bottom=G(o.bottom,t.bottom),t.left=J(o.left,t.left),t}),Z(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=F(e),i=W(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const s={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==E(e)||j(i))&&(a=q(e)),F(e))){const t=I(e);l=N(e),s.x=t.x+e.clientLeft,s.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+s.x,y:n.y*l.y-a.scrollTop*l.y+s.y}},isElement:$,getDimensions:function(t){if(F(t))return{width:t.offsetWidth,height:t.offsetHeight};const n=I(t);return{width:n.width,height:n.height}},getOffsetParent:_,getDocumentElement:W,getScale:N,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||_,i=this.getDimensions;return{reference:V(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===D(t).direction};const nt={floatingUINonChromiumPositioningFix:!0,...globalThis.calciteComponentsConfig},et=async function(){if(nt.floatingUINonChromiumPositioningFix&&/firefox|safari/i.test(function(){const t=navigator.userAgentData;return t?.brands?t.brands.map((t=>`${t.brand}/${t.version}`)).join(" "):navigator.userAgent}())){const{getClippingRect:t,getElementRects:n,getOffsetParent:e}=await import("./p-4bc3474b.js");tt.getClippingRect=t,tt.getOffsetParent=e,tt.getElementRects=n}}(),ot=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],rt="bottom-start",it={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function at({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:l,offsetSkidding:c,arrowEl:u,type:d}){const p=[(void 0===y&&(y={}),{name:"shift",options:y,async fn(t){const{x:n,y:e,placement:r}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...c}=y,u={x:n,y:e},d=await f(t,c),p=i(o(r)),g="x"===p?"y":"x";let x=u[p],h=u[g];a&&(x=m(x+d["y"===p?"top":"left"],x,x-d["y"===p?"bottom":"right"])),l&&(h=m(h+d["y"===g?"top":"left"],h,h-d["y"===g?"bottom":"right"]));const w=s.fn({...t,[p]:x,[g]:h});return{...w,data:{x:w.x-n,y:w.y-e}}}}),R()];var y,x;if("menu"===d)return[...p,b({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===d||"tooltip"===d){const d=[...p,(x={mainAxis:"number"==typeof l?l:0,crossAxis:"number"==typeof c?c:0},void 0===x&&(x=0),{name:"offset",options:x,async fn(t){const{x:n,y:e}=t,a=await async function(t,n){const{placement:e,platform:a,elements:l}=t,s=await(null==a.isRTL?void 0:a.isRTL(l.floating)),c=o(e),f=r(e),u="x"===i(e),d=["left","top"].includes(c)?-1:1,m=s&&u?-1:1,p="function"==typeof n?n(t):n;let{mainAxis:y,crossAxis:g,alignmentAxis:x}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return f&&"number"==typeof x&&(g="end"===f?-1*x:x),u?{x:g*m,y:y*d}:{x:y*d,y:g*m}}(t,x);return{x:n+a.x,y:e+a.y,data:a}}})];return"auto"===t||"auto-start"===t||"auto-end"===t?d.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,i,a,l,s;const{x:c,y:u,rects:d,middlewareData:m,placement:p,platform:y,elements:x}=n,{alignment:w=null,allowedPlacements:b=v,autoAlignment:A=!0,...P}=t,R=function(t,n,e){return(t?[...e.filter((n=>r(n)===t)),...e.filter((n=>r(n)!==t))]:e.filter((t=>o(t)===t))).filter((e=>!t||r(e)===t||!!n&&h(e)!==e))}(w,A,b),k=await f(n,P),D=null!=(e=null==(i=m.autoPlacement)?void 0:i.index)?e:0,E=R[D];if(null==E)return{};const{main:M,cross:O}=g(E,d,await(null==y.isRTL?void 0:y.isRTL(x.floating)));if(p!==E)return{x:c,y:u,reset:{placement:R[0]}};const F=[k[o(E)],k[M],k[O]],$=[...null!=(a=null==(l=m.autoPlacement)?void 0:l.overflows)?a:[],{placement:E,overflows:F}],S=R[D+1];if(S)return{data:{index:D+1,overflows:$},reset:{placement:S}};const T=$.slice().sort(((t,n)=>t.overflows[0]-n.overflows[0])),j=null==(s=T.find((t=>{let{overflows:n}=t;return n.every((t=>t<=0))})))?void 0:s.placement,B=null!=j?j:T[0].placement;return B!==p?{data:{index:D+1,overflows:$},reset:{placement:B}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||d.push(b(e?{fallbackPlacements:e}:{})),u&&d.push((t=>({name:"arrow",options:t,async fn(n){const{element:e,padding:o=0}=null!=t?t:{},{x:l,y:c,placement:f,rects:u,platform:d}=n;if(null==e)return{};const p=s(o),y={x:l,y:c},g=i(f),x=r(f),h=a(g),w=await d.getDimensions(e),v="y"===g?"top":"left",b="y"===g?"bottom":"right",A=u.reference[h]+u.reference[g]-y[g]-u.floating[h],P=y[g]-u.reference[g],R=await(null==d.getOffsetParent?void 0:d.getOffsetParent(e));let k=R?"y"===g?R.clientHeight||0:R.clientWidth||0:0;0===k&&(k=u.floating[h]);const D=p[v],E=k-w[h]-p[b],M=k/2-w[h]/2+(A/2-P/2),O=m(D,M,E);return{[g]:y[g]-(("start"===x?p[v]:p[b])>0&&M!==O&&u.reference[h]<=u.floating[h]?M<D?D-M:E-M:0),data:{[g]:O,centerOffset:M-O}}}}))({element:u})),d}return[]}function lt(t,n){const e=t.filter((t=>ot.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${ot.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function st(t,e){const o=["left","right"];return"rtl"===n(t)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function ct(t,n,e=!1){if(t.open)return e?ft(n):ut(n)}const ft=e(ut,100,{leading:!0,maxWait:100});async function ut({referenceEl:t,floatingEl:n,overlayPositioning:e="absolute",placement:o,flipDisabled:r,flipPlacements:i,offsetDistance:a,offsetSkidding:s,includeArrow:c=!1,arrowEl:f,type:u}){if(!t||!n||c&&!f)return null;await et;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await((t,n,e)=>{const o=new Map,r={platform:tt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,s=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let f=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:d}=l(f,o,c),m=o,p={},y=0;for(let e=0;e<s.length;e++){const{name:i,fn:g}=s[e],{x,y:h,data:w,reset:v}=await g({x:u,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:f,platform:a,elements:{reference:t,floating:n}});u=null!=x?x:u,d=null!=h?h:d,p={...p,[i]:{...p[i],...w}},v&&y<=50&&(y++,"object"==typeof v&&(v.placement&&(m=v.placement),v.rects&&(f=!0===v.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):v.rects),({x:u,y:d}=l(f,m,c))),e=-1)}return{x:u,y:d,placement:m,strategy:r,middlewareData:p}})(t,n,{...r,platform:i})})(t,n,{strategy:e,placement:"auto"===o||"auto-start"===o||"auto-end"===o?void 0:st(n,o),middleware:at({placement:o,flipDisabled:r,flipPlacements:i,offsetDistance:a,offsetSkidding:s,arrowEl:f,type:u})});if(g?.arrow){const{x:t,y:n}=g.arrow;Object.assign(f.style,{left:null!=t?`${t}px`:"",top:null!=n?`${n}px`:""})}const x=g?.hide?.referenceHidden?"hidden":null,h=x?"none":null;n.setAttribute("data-placement",p);const w=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(n.style,{visibility:x,pointerEvents:h,position:y,top:"0",left:"0",transform:w})}const dt=new WeakMap;function mt(t,n,e){if(!e||!n)return;pt(t,n,e);const o=t.overlayPositioning;Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:o}),"absolute"===o&&wt(e),dt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:l=!1}=o,s=r&&!l,c=s||i?[...$(t)?Q(t):t.contextElement?Q(t.contextElement):[],...Q(n)]:[];c.forEach((t=>{s&&t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));let f,u=null;if(a){let o=!0;u=new ResizeObserver((()=>{o||e(),o=!1})),$(t)&&!l&&u.observe(t),$(t)||!t.contextElement||l||u.observe(t.contextElement),u.observe(n)}let d=l?I(t):null;return l&&function n(){const o=I(t);!d||o.x===d.x&&o.y===d.y&&o.width===d.width&&o.height===d.height||e(),d=o,f=requestAnimationFrame(n)}(),e(),()=>{var t;c.forEach((t=>{s&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),null==(t=u)||t.disconnect(),u=null,l&&cancelAnimationFrame(f)}}(n,e,(()=>t.reposition())))}function pt(t,n,e){if(!e||!n)return;xt(e).removeEventListener("transitionend",ht);const o=dt.get(t);o&&o(),dt.delete(t)}const yt=Math.ceil(Math.hypot(4,4));function gt(t){t&&"absolute"===t.style.position&&xt(t).addEventListener("transitionend",ht)}function xt(t){return t.shadowRoot||t}function ht(n){const e=n.target;if("opacity"===n.propertyName&&e.classList.contains(it.animation)){const n=function(n){return t(n,"[data-placement]")}(e);wt(n),xt(n).removeEventListener("transitionend",ht)}}function wt(t){t.style.transform="",t.style.top="0",t.style.left="0"}export{it as F,pt as a,yt as b,mt as c,rt as d,c as e,lt as f,ct as r,gt as u}
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.697
4
+ * v1.0.0-next.698
5
5
  */
6
6
  const e="calcite";let t,n,l=!1,s=!1;const o=e=>{const t=new URL(e,$e.t);return t.origin!==ue.location.origin?t.href:t.pathname},i="http://www.w3.org/1999/xlink",c={},r=e=>"object"==(e=typeof e)||"function"===e,a=(e,t,...n)=>{let l=null,s=null,o=!1,i=!1;const c=[],a=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof e&&!r(l))&&(l+=""),o&&i?c[c.length-1].l+=l:c.push(o?u(null,l):l),i=o)};if(a(n),t){t.key&&(s=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,$);const f=u(e,null);return f.o=t,c.length>0&&(f.i=c),f.u=s,f},u=(e,t)=>({$:0,h:e,l:t,p:null,i:null,o:null,u:null}),f={},$={forEach:(e,t)=>e.map(d).forEach(t),map:(e,t)=>e.map(d).map(t).map(h)},d=e=>({vattrs:e.o,vchildren:e.i,vkey:e.u,vname:e.m,vtag:e.h,vtext:e.l}),h=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),a(e.vtag,t,...e.vchildren||[])}const t=u(e.vtag,e.vtext);return t.o=e.vattrs,t.i=e.vchildren,t.u=e.vkey,t.m=e.vname,t},y=(e,t,n,l,s,o,i)=>{let c,r,a,f;if(1===o.nodeType){for(c=o.getAttribute("c-id"),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(a={$:0,g:r[0],v:r[1],k:r[2],j:r[3],h:o.tagName.toLowerCase(),p:o,o:null,i:null,u:null,m:null,l:null},t.push(a),o.removeAttribute("c-id"),e.i||(e.i=[]),e.i[a.j]=a,e=a,l&&"0"===a.k&&(l[a.j]=a.p))),f=o.childNodes.length-1;f>=0;f--)y(e,t,n,l,s,o.childNodes[f],i);if(o.shadowRoot)for(f=o.shadowRoot.childNodes.length-1;f>=0;f--)y(e,t,n,l,s,o.shadowRoot.childNodes[f],i)}else if(8===o.nodeType)r=o.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],a={$:0,g:r[1],v:r[2],k:r[3],j:r[4],p:o,o:null,i:null,u:null,m:null,h:null,l:null},"t"===c?(a.p=o.nextSibling,a.p&&3===a.p.nodeType&&(a.l=a.p.textContent,t.push(a),o.remove(),e.i||(e.i=[]),e.i[a.j]=a,l&&"0"===a.k&&(l[a.j]=a.p))):a.g===i&&("s"===c?(a.h="slot",o["s-sn"]=r[5]?a.m=r[5]:"",o["s-sr"]=!0,l&&(a.p=fe.createElement(a.h),a.m&&a.p.setAttribute("name",a.m),o.parentNode.insertBefore(a.p,o),o.remove(),"0"===a.k&&(l[a.j]=a.p)),n.push(a),e.i||(e.i=[]),e.i[a.j]=a):"r"===c&&l&&o.remove()));else if(e&&"style"===e.h){const t=u(null,o.textContent);t.p=o,t.j="0",e.i=[t]}},p=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)p(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)p(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},m=e=>ne(e).S,w=(e,t,n)=>{const l=m(e);return{emit:e=>b(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},b=(e,t,n)=>{const l=$e.ce(t,n);return e.dispatchEvent(l),l},g=new WeakMap,v=(e,t,n)=>{let l=ae.get(e);ye&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,ae.set(e,l)},k=(e,t)=>{let n=j(t);const l=ae.get(n);if(e=11===e.nodeType?e:fe,l)if("string"==typeof l){let t,s=g.get(e=e.head||e);s||g.set(e,s=new Set),s.has(n)||(e.host&&(t=e.querySelector(`[sty-id="${n}"]`))?t.innerHTML=l:(t=fe.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link"))),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n},j=e=>"sc-"+e.O,S=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),x=(e,t,n,l,s,o)=>{if(n!==l){let c=oe(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,s=M(n),o=M(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(c||"o"!==t[0]||"n"!==t[1]){const u=r(l);if((c||u&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?c=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}let f=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(i,t):e.removeAttribute(t)):(!c||4&o||s)&&!u&&(l=!0===l?"":l,f?e.setAttributeNS(i,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):oe(ue,a)?a.slice(2):a[2]+t.slice(3),n&&$e.rel(e,t,n,!1),l&&$e.ael(e,t,l,!1)}},O=/\s/,M=e=>e?e.split(O):[],C=(e,t,n,l)=>{const s=11===t.p.nodeType&&t.p.host?t.p.host:t.p,o=e&&e.o||c,i=t.o||c;for(l in o)l in i||x(s,l,o[l],void 0,n,t.$);for(l in i)x(s,l,o[l],i[l],n,t.$)},L=(e,n,s)=>{const o=n.i[s];let i,c,r=0;if(null!==o.l)i=o.p=fe.createTextNode(o.l);else{if(l||(l="svg"===o.h),i=o.p=fe.createElementNS(l?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.h),l&&"foreignObject"===o.h&&(l=!1),C(null,o,l),null!=t&&i["s-si"]!==t&&i.classList.add(i["s-si"]=t),o.i)for(r=0;r<o.i.length;++r)c=L(e,o,r),c&&i.appendChild(c);"svg"===o.h?l=!1:"foreignObject"===i.tagName&&(l=!0)}return i},P=(e,t,l,s,o,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);o<=i;++o)s[o]&&(c=L(null,l,o),c&&(s[o].p=c,r.insertBefore(c,t)))},R=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.p,I(l),s.remove())},E=(e,t)=>e.h===t.h&&e.u===t.u,F=(e,t)=>{const n=t.p=e.p,s=e.i,o=t.i,i=t.h,c=t.l;null===c?(l="svg"===i||"foreignObject"!==i&&l,"slot"===i||C(e,t,l),null!==s&&null!==o?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,a=0,u=t.length-1,f=t[0],$=t[u],d=l.length-1,h=l[0],y=l[d];for(;i<=u&&c<=d;)if(null==f)f=t[++i];else if(null==$)$=t[--u];else if(null==h)h=l[++c];else if(null==y)y=l[--d];else if(E(f,h))F(f,h),f=t[++i],h=l[++c];else if(E($,y))F($,y),$=t[--u],y=l[--d];else if(E(f,y))F(f,y),e.insertBefore(f.p,$.p.nextSibling),f=t[++i],y=l[--d];else if(E($,h))F($,h),e.insertBefore($.p,f.p),$=t[--u],h=l[++c];else{for(r=-1,a=i;a<=u;++a)if(t[a]&&null!==t[a].u&&t[a].u===h.u){r=a;break}r>=0?(o=t[r],o.h!==h.h?s=L(t&&t[c],n,r):(F(o,h),t[r]=void 0,s=o.p),h=l[++c]):(s=L(t&&t[c],n,c),h=l[++c]),s&&f.p.parentNode.insertBefore(s,f.p)}i>u?P(e,null==l[d+1]?null:l[d+1].p,n,l,c,d):c>d&&R(t,i,u)})(n,s,t,o):null!==o?(null!==e.l&&(n.textContent=""),P(n,null,t,o,0,o.length-1)):null!==s&&R(s,0,s.length-1),l&&"svg"===i&&(l=!1)):e.l!==c&&(n.data=c)},I=e=>{e.o&&e.o.ref&&e.o.ref(null),e.i&&e.i.map(I)},N=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},W=(e,t)=>{if(e.$|=16,!(4&e.$))return N(e,e.C),je((()=>T(e,t)));e.$|=512},T=(e,t)=>{const n=e.L;let l;return t&&(e.$|=256,e.P&&(e.P.map((([e,t])=>V(n,e,t))),e.P=null),l=V(n,"componentWillLoad")),l=_(l,(()=>V(n,"componentWillRender"))),_(l,(()=>U(e,n,t)))},U=async(e,t,n)=>{const l=e.S,s=l["s-rc"];n&&(e=>{const t=e.R,n=e.S,l=t.$,s=k(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);A(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>D(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},A=(e,l)=>{try{l=l.render(),e.$&=-17,e.$|=2,((e,l)=>{const s=e.S,o=e.R,i=e.F||u(null,null),c=(e=>e&&e.h===f)(l)?l:a(null,null,l);n=s.tagName,o.I&&(c.o=c.o||{},o.I.map((([e,t])=>c.o[t]=s[e]))),c.h=null,c.$|=4,e.F=c,c.p=i.p=s.shadowRoot||s,t=s["s-sc"],F(i,c)})(e,l)}catch(t){ie(t,e.S)}return null},D=e=>{const t=e.S,n=e.L,l=e.C;V(n,"componentDidRender"),64&e.$||(e.$|=64,z(t),V(n,"componentDidLoad"),e.N(t),l||q()),e.W(t),e.M&&(e.M(),e.M=void 0),512&e.$&&ve((()=>W(e,!1))),e.$&=-517},H=e=>{{const t=ne(e),n=t.S.isConnected;return n&&2==(18&t.$)&&W(t,!1),n}},q=()=>{z(fe.documentElement),ve((()=>b(ue,"appload",{detail:{namespace:"calcite"}})))},V=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){ie(e)}},_=(e,t)=>e&&e.then?e.then(t):t(),z=e=>e.setAttribute("calcite-hydrated",""),B=(e,t,n)=>{if(t.T){e.watchers&&(t.U=e.watchers);const l=Object.entries(t.T),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>ne(this).A.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=ne(e),o=s.S,i=s.A.get(t),c=s.$,a=s.L;if(n=((e,t)=>null==e||r(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.T[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.A.set(t,n),a)){if(l.U&&128&c){const e=l.U[t];e&&e.map((e=>{try{a[e](n,i,t)}catch(e){ie(e,o)}}))}if(2==(18&c)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(n,i,t))return;W(s,!1)}}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=ne(this);return n.D.then((()=>n.L[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){$e.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.I.push([e,s]),s}))}}return e},G=e=>{V(e,"connectedCallback")},J=e=>{if(0==(1&$e.$)){const t=ne(e),n=t.R,l=()=>{};if(1&t.$)X(e,t,n.H),G(t.L);else{let l;if(t.$|=1,l=e.getAttribute("s-id"),l){if(1&n.$){const t=k(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const s=e.shadowRoot,o=[],i=s?[]:null,c=l.F=u(t,null);$e.q||p(fe.body,$e.q=new Map),e["s-id"]=n,e.removeAttribute("s-id"),y(c,o,[],i,e,e,n),o.map((e=>{const n=e.g+"."+e.v,l=$e.q.get(n),o=e.p;l&&de&&""===l["s-en"]&&l.parentNode.insertBefore(o,l.nextSibling),s||(o["s-hn"]=t,l&&(o["s-ol"]=l,o["s-ol"]["s-nr"]=o)),$e.q.delete(n)})),s&&i.map((e=>{e&&s.appendChild(e)}))})(e,n.O,l,t)}{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){N(t,t.C=n);break}}n.T&&Object.entries(n.T).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.$)){{if(t.$|=32,(s=re(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.U=s.watchers,B(s,n,2),s.isProxied=!0);const e=()=>{};t.$|=8;try{new s(t)}catch(e){ie(e)}t.$&=-9,t.$|=128,e(),G(t.L)}if(s.style){let e=s.style;const t=j(n);if(!ae.has(t)){const l=()=>{};v(t,e,!!(1&n.$)),l()}}}const o=t.C,i=()=>W(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)}l()}},K=(e,t={})=>{const n=[],l=t.exclude||[],s=ue.customElements,o=fe.head,i=o.querySelector("meta[charset]"),c=fe.createElement("style"),r=[],a=fe.querySelectorAll("[sty-id]");let u,f=!0,$=0;for(Object.assign($e,t),$e.t=new URL(t.resourcesUrl||"./",fe.baseURI).href,$e.$|=2;$<a.length;$++)v(a[$].getAttribute("sty-id"),S(a[$].innerHTML),!0);e.map((e=>{e[1].map((t=>{const o={$:t[0],O:t[1],T:t[2],H:t[3]};o.T=t[2],o.H=t[3],o.I=[],o.U={};const i=o.O,c=class extends HTMLElement{constructor(e){super(e),se(e=this,o),1&o.$&&e.attachShadow({mode:"open",delegatesFocus:!!(16&o.$)})}connectedCallback(){u&&(clearTimeout(u),u=null),f?r.push(this):$e.jmp((()=>J(this)))}disconnectedCallback(){$e.jmp((()=>(()=>{if(0==(1&$e.$)){const e=ne(this),t=e.L;e.V&&(e.V.map((e=>e())),e.V=void 0),V(t,"disconnectedCallback")}})()))}componentOnReady(){return ne(this)._}};o.B=e[0],l.includes(i)||s.get(i)||(n.push(i),s.define(i,B(c,o,1)))}))})),c.innerHTML=n+"{visibility:hidden}[calcite-hydrated]{visibility:inherit}",c.setAttribute("data-styles",""),o.insertBefore(c,i?i.nextSibling:o.firstChild),f=!1,r.length?r.map((e=>e.connectedCallback())):$e.jmp((()=>u=setTimeout(q,30)))},Q=(e,t)=>t,X=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=Z(e,n),i=Y(t,s),c=ee(n);$e.ael(o,l,i,c),(t.V=t.V||[]).push((()=>$e.rel(o,l,i,c)))}))},Y=(e,t)=>n=>{try{256&e.$?e.L[t](n):(e.P=e.P||[]).push([t,n])}catch(e){ie(e)}},Z=(e,t)=>4&t?fe:8&t?ue:16&t?fe.body:e,ee=e=>0!=(2&e),te=new WeakMap,ne=e=>te.get(e),le=(e,t)=>te.set(t.L=e,t),se=(e,t)=>{const n={$:0,S:e,R:t,A:new Map};return n.D=new Promise((e=>n.W=e)),n._=new Promise((e=>n.N=e)),e["s-p"]=[],e["s-rc"]=[],X(e,n,t.H),te.set(e,n)},oe=(e,t)=>t in e,ie=(e,t)=>(0,console.error)(e,t),ce=new Map,re=e=>{const t=e.O.replace(/-/g,"_"),n=e.B,l=ce.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(ce.set(n,e),e[t])),ie)
7
7
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},ae=new Map,ue="undefined"!=typeof window?window:{},fe=ue.document||{head:{}},$e={$:0,t:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},de=!0,he=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),pe=[],me=[],we=(e,t)=>n=>{e.push(n),s||(s=!0,t&&4&$e.$?ve(ge):$e.raf(ge))},be=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ie(e)}e.length=0},ge=()=>{be(pe),be(me),(s=pe.length>0)&&$e.raf(ge)},ve=e=>he().then(e),ke=we(pe,!1),je=we(me,!0);export{Q as F,f as H,e as N,o as a,K as b,w as c,fe as d,ke as e,H as f,m as g,a as h,he as p,le as r}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.697
4
+ * v1.0.0-next.698
5
5
  */
6
- import{r as t,c as e,h as i,F as a,g as n}from"./p-cb6931bb.js";import{S as c,C as s,I as o}from"./p-52aa499e.js";import{t as l}from"./p-5bdefd5d.js";import{H as r}from"./p-1d2c99ac.js";import{S as d}from"./p-c83a0a79.js";import{u as h}from"./p-8624b709.js";import{c as m}from"./p-06813ac8.js";import{s as p,a as u,c as f}from"./p-ceec6259.js";import{c as g,d as b}from"./p-3d51b12f.js";import{c as v,s as x,d as w,u as y}from"./p-3f699c2c.js";import"./p-5991115c.js";import"./p-e1ebc7de.js";import"./p-6055b9c5.js";const k=class{constructor(i){t(this,i),this.calcitePanelClose=e(this,"calcitePanelClose",6),this.calcitePanelScroll=e(this,"calcitePanelScroll",6),this.resizeObserver=m("resize",(()=>this.resizeHandler())),this.resizeHandler=()=>{const{panelScrollEl:t}=this;t&&"number"==typeof t.scrollHeight&&"number"==typeof t.offsetHeight&&(t.tabIndex=t.scrollHeight>t.offsetHeight?0:-1)},this.setContainerRef=t=>{this.containerEl=t},this.setCloseRef=t=>{this.closeButtonEl=t},this.setBackRef=t=>{this.backButtonEl=t},this.panelKeyDownHandler=t=>{this.closable&&"Escape"===t.key&&!t.defaultPrevented&&(this.close(),t.preventDefault())},this.close=()=>{this.closed=!0,this.calcitePanelClose.emit()},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.handleHeaderActionsStartSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasStartActions=!!e.length},this.handleHeaderActionsEndSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasEndActions=!!e.length},this.handleHeaderMenuActionsSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasMenuItems=!!e.length},this.handleHeaderContentSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasHeaderContent=!!e.length},this.handleFooterSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFooterContent=!!e.length},this.handleFooterActionsSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFooterActions=!!e.length},this.handleFabSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFab=!!e.length},this.setPanelScrollEl=t=>{this.panelScrollEl=t,this.resizeObserver?.disconnect(),t&&(this.resizeObserver?.observe(t),this.resizeHandler())},this.closed=!1,this.disabled=!1,this.closable=!1,this.headingLevel=void 0,this.heightScale=void 0,this.widthScale=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.hasFooterContent=!1,this.hasFooterActions=!1,this.hasFab=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){g(this),v(this)}async componentWillLoad(){p(this),await x(this)}componentDidLoad(){u(this)}componentDidRender(){h(this)}disconnectedCallback(){b(this),w(this),this.resizeObserver?.disconnect()}effectiveLocaleChange(){y(this,this.effectiveLocale)}async setFocus(t){await f(this);const{backButtonEl:e,closeButtonEl:i,containerEl:a}=this;"back-button"!==t?"dismiss-button"!==t?e?e.setFocus():i?i.setFocus():a?.focus():i?.setFocus():e?.setFocus()}async scrollContentTo(t){this.panelScrollEl?.scrollTo(t)}renderHeaderContent(){const{heading:t,headingLevel:e,description:a,hasHeaderContent:n}=this,c=t?i(r,{class:s.heading,level:e},t):null,o=a?i("span",{class:s.description},a):null;return n||!c&&!o?null:i("div",{class:s.headerContent,key:"header-content"},c,o)}renderHeaderSlottedContent(){return i("div",{class:s.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:c.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:t}=this;return i("div",{class:{[s.headerActionsStart]:!0,[s.headerActions]:!0},hidden:!t,key:"header-actions-start"},i("slot",{name:c.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{close:t,hasEndActions:e,messages:a,closable:n}=this,l=a.close,r=n?i("calcite-action",{"aria-label":l,icon:o.close,onClick:t,ref:this.setCloseRef,text:l}):null,d=i("slot",{name:c.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange});return i("div",{class:{[s.headerActionsEnd]:!0,[s.headerActions]:!0},hidden:!(e||r),key:"header-actions-end"},d,r)}renderMenu(){const{hasMenuItems:t,messages:e,menuOpen:a}=this;return i("calcite-action-menu",{flipPlacements:["top","bottom"],hidden:!t,key:"menu",label:e.options,open:a,placement:"bottom-end"},i("calcite-action",{icon:o.menu,slot:d.trigger,text:e.options}),i("slot",{name:c.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:t,hasStartActions:e,hasEndActions:a,closable:n,hasMenuItems:c}=this,o=this.renderHeaderContent();return i("header",{class:s.header,hidden:!(t||o||e||a||n||c)},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),o,this.renderHeaderActionsEnd(),this.renderMenu())}renderFooterNode(){const{hasFooterContent:t,hasFooterActions:e}=this;return i("footer",{class:s.footer,hidden:!(t||e)},i("slot",{key:"footer-slot",name:c.footer,onSlotchange:this.handleFooterSlotChange}),i("slot",{key:"footer-actions-slot",name:c.footerActions,onSlotchange:this.handleFooterActionsSlotChange}))}renderContent(){const{hasFab:t}=this,e=i("slot",{key:"default-slot"}),a=t?i("section",{class:s.contentContainer},e):e;return i("div",{class:{[s.contentWrapper]:!0,[s.contentContainer]:!t,[s.contentHeight]:t},onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},a,this.renderFab())}renderFab(){return i("div",{class:s.fabContainer,hidden:!this.hasFab},i("slot",{name:c.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{loading:t,panelKeyDownHandler:e,closed:n,closable:c}=this,o=i("article",{"aria-busy":l(t),class:s.container,hidden:n,onKeyDown:e,ref:this.setContainerRef,tabIndex:c?0:-1},this.renderHeaderNode(),this.renderContent(),this.renderFooterNode());return i(a,null,t?i("calcite-scrim",{loading:t}):null,o)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};k.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}: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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}: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;max-block-size:var(--calcite-panel-max-height);inline-size:var(--calcite-panel-width);max-inline-size:var(--calcite-panel-max-width);min-inline-size:var(--calcite-panel-min-width);transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}:host([height-scale=s]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}.container[hidden]{display:none}.header{border-block-end:1px solid;position:sticky;inset-block-start:0px;z-index:400;inline-size:100%;align-items:stretch;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);flex:0 0 auto}.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{overflow:auto}.content-height{block-size:100%}.content-container{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background-color:var(--calcite-ui-background)}.footer{border-block-start:1px solid;position:sticky;inset-block-end:0px;display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);flex:0 0 auto;min-block-size:3rem;padding:0.5rem}.fab-container{position:sticky;inset-block-end:0px;z-index:300;margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}[hidden]{display:none}";export{k as calcite_panel}
6
+ import{r as t,c as e,h as i,F as a,g as n}from"./p-8d4388e3.js";import{S as s,C as c,I as o}from"./p-467aa6e2.js";import{t as l}from"./p-ba31fb6f.js";import{H as r}from"./p-e767698a.js";import{S as d}from"./p-275517e6.js";import{u as h}from"./p-0bae946f.js";import{c as m}from"./p-f411a244.js";import{s as p,a as f,c as u}from"./p-3eff0d52.js";import{c as g,d as b}from"./p-a8378be1.js";import{c as v,s as x,d as w,u as y}from"./p-11587e9f.js";import"./p-436d54f4.js";import"./p-f1f70545.js";import"./p-66a7cd45.js";const k=class{constructor(i){t(this,i),this.calcitePanelClose=e(this,"calcitePanelClose",6),this.calcitePanelScroll=e(this,"calcitePanelScroll",6),this.resizeObserver=m("resize",(()=>this.resizeHandler())),this.resizeHandler=()=>{const{panelScrollEl:t}=this;t&&"number"==typeof t.scrollHeight&&"number"==typeof t.offsetHeight&&(t.tabIndex=t.scrollHeight>t.offsetHeight?0:-1)},this.setContainerRef=t=>{this.containerEl=t},this.setCloseRef=t=>{this.closeButtonEl=t},this.setBackRef=t=>{this.backButtonEl=t},this.panelKeyDownHandler=t=>{this.closable&&"Escape"===t.key&&!t.defaultPrevented&&(this.close(),t.preventDefault())},this.close=()=>{this.closed=!0,this.calcitePanelClose.emit()},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.handleHeaderActionsStartSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasStartActions=!!e.length},this.handleHeaderActionsEndSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasEndActions=!!e.length},this.handleHeaderMenuActionsSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasMenuItems=!!e.length},this.handleHeaderContentSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasHeaderContent=!!e.length},this.handleFooterSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFooterContent=!!e.length},this.handleFooterActionsSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFooterActions=!!e.length},this.handleFabSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFab=!!e.length},this.setPanelScrollEl=t=>{this.panelScrollEl=t,this.resizeObserver?.disconnect(),t&&(this.resizeObserver?.observe(t),this.resizeHandler())},this.closed=!1,this.disabled=!1,this.closable=!1,this.headingLevel=void 0,this.heightScale=void 0,this.widthScale=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.hasFooterContent=!1,this.hasFooterActions=!1,this.hasFab=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){g(this),v(this)}async componentWillLoad(){p(this),await x(this)}componentDidLoad(){f(this)}componentDidRender(){h(this)}disconnectedCallback(){b(this),w(this),this.resizeObserver?.disconnect()}effectiveLocaleChange(){y(this,this.effectiveLocale)}async setFocus(t){await u(this);const{backButtonEl:e,closeButtonEl:i,containerEl:a}=this;"back-button"!==t?"dismiss-button"!==t?e?e.setFocus():i?i.setFocus():a?.focus():i?.setFocus():e?.setFocus()}async scrollContentTo(t){this.panelScrollEl?.scrollTo(t)}renderHeaderContent(){const{heading:t,headingLevel:e,description:a,hasHeaderContent:n}=this,s=t?i(r,{class:c.heading,level:e},t):null,o=a?i("span",{class:c.description},a):null;return n||!s&&!o?null:i("div",{class:c.headerContent,key:"header-content"},s,o)}renderHeaderSlottedContent(){return i("div",{class:c.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:s.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:t}=this;return i("div",{class:{[c.headerActionsStart]:!0,[c.headerActions]:!0},hidden:!t,key:"header-actions-start"},i("slot",{name:s.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{close:t,hasEndActions:e,messages:a,closable:n}=this,l=a.close,r=n?i("calcite-action",{"aria-label":l,icon:o.close,onClick:t,ref:this.setCloseRef,text:l}):null,d=i("slot",{name:s.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange});return i("div",{class:{[c.headerActionsEnd]:!0,[c.headerActions]:!0},hidden:!(e||r),key:"header-actions-end"},d,r)}renderMenu(){const{hasMenuItems:t,messages:e,menuOpen:a}=this;return i("calcite-action-menu",{flipPlacements:["top","bottom"],hidden:!t,key:"menu",label:e.options,open:a,placement:"bottom-end"},i("calcite-action",{icon:o.menu,slot:d.trigger,text:e.options}),i("slot",{name:s.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:t,hasStartActions:e,hasEndActions:a,closable:n,hasMenuItems:s}=this,o=this.renderHeaderContent();return i("header",{class:c.header,hidden:!(t||o||e||a||n||s)},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),o,this.renderHeaderActionsEnd(),this.renderMenu())}renderFooterNode(){const{hasFooterContent:t,hasFooterActions:e}=this;return i("footer",{class:c.footer,hidden:!(t||e)},i("slot",{key:"footer-slot",name:s.footer,onSlotchange:this.handleFooterSlotChange}),i("slot",{key:"footer-actions-slot",name:s.footerActions,onSlotchange:this.handleFooterActionsSlotChange}))}renderContent(){const{hasFab:t}=this,e=i("slot",{key:"default-slot"}),a=t?i("section",{class:c.contentContainer},e):e;return i("div",{class:{[c.contentWrapper]:!0,[c.contentContainer]:!t,[c.contentHeight]:t},onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},a,this.renderFab())}renderFab(){return i("div",{class:c.fabContainer,hidden:!this.hasFab},i("slot",{name:s.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{loading:t,panelKeyDownHandler:e,closed:n,closable:s}=this,o=i("article",{"aria-busy":l(t),class:c.container,hidden:n,onKeyDown:e,ref:this.setContainerRef,tabIndex:s?0:-1},this.renderHeaderNode(),this.renderContent(),this.renderFooterNode());return i(a,null,t?i("calcite-scrim",{loading:t}):null,o)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};k.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}: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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}: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;max-block-size:var(--calcite-panel-max-height);inline-size:var(--calcite-panel-width);max-inline-size:var(--calcite-panel-max-width);min-inline-size:var(--calcite-panel-min-width);transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}:host([height-scale=s]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}.container[hidden]{display:none}.header{border-block-end:1px solid;position:sticky;inset-block-start:0px;z-index:400;inline-size:100%;align-items:stretch;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);flex:0 0 auto}.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{overflow:auto}.content-height{block-size:100%}.content-container{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background-color:var(--calcite-ui-background)}.footer{border-block-start:1px solid;position:sticky;inset-block-end:0px;display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);flex:0 0 auto;min-block-size:3rem;padding:0.5rem}.fab-container{position:sticky;inset-block-end:0px;z-index:300;margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}[hidden]{display:none}";export{k as calcite_panel}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.697
4
+ * v1.0.0-next.698
5
5
  */
6
- import{r as t,h as i,H as e,g as a,f as n}from"./p-cb6931bb.js";import{g as o}from"./p-e1ebc7de.js";import{c as r}from"./p-06813ac8.js";import{u as c}from"./p-8624b709.js";import{t as s}from"./p-5bdefd5d.js";import{c as l,d}from"./p-3d51b12f.js";import{u,c as b,s as h,d as p}from"./p-3f699c2c.js";import{s as m,a as f,c as v}from"./p-ceec6259.js";import"./p-5991115c.js";import"./p-6055b9c5.js";const g=class{constructor(i){t(this,i),this.mutationObserver=r("mutation",(()=>n(this))),this.guid=`calcite-action-${o()}`,this.indicatorId=`${this.guid}-indicator`,this.buttonId=`${this.guid}-button`,this.handleTooltipSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-tooltip")))[0];i&&(i.referenceElement=this.buttonEl)},this.active=!1,this.alignment=void 0,this.appearance="solid",this.compact=!1,this.disabled=!1,this.icon=void 0,this.iconFlipRtl=!1,this.indicator=!1,this.label=void 0,this.loading=!1,this.scale="m",this.text=void 0,this.textEnabled=!1,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){l(this),b(this),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async componentWillLoad(){m(this),await h(this)}componentDidLoad(){f(this)}disconnectedCallback(){d(this),p(this),this.mutationObserver?.disconnect()}componentDidRender(){c(this)}async setFocus(){await v(this),this.buttonEl?.focus()}renderTextContainer(){const{text:t,textEnabled:e}=this;return t?i("div",{class:{"text-container":!0,"text-container--visible":e},key:"text-container"},t):null}renderIndicatorText(){const{indicator:t,messages:e,indicatorId:a,buttonId:n}=this;return i("div",{"aria-labelledby":n,"aria-live":"polite",class:"indicator-text",id:a,role:"region"},t?e.indicator:null)}renderIconContainer(){const{loading:t,icon:e,scale:a,el:n,iconFlipRtl:o}=this,r="l"===a?"m":"s",c=t?i("calcite-loader",{inline:!0,label:this.messages.loading,scale:"l"===a?"l":"m"}):null,s=e?i("calcite-icon",{flipRtl:o,icon:e,scale:r}):null,l=c||s,d=l||n.children?.length,u=i("div",{class:{"slot-container":!0,"slot-container--hidden":t}},i("slot",null));return d?i("div",{"aria-hidden":"true",class:"icon-container",key:"icon-container"},l,u):null}render(){const{active:t,compact:a,disabled:n,loading:o,textEnabled:r,label:c,text:l,indicator:d,indicatorId:u,buttonId:b,messages:h}=this,p=`${c||l}${d?` (${h.indicator})`:""}`,m={button:!0,"button--text-visible":r,"button--compact":a};return i(e,null,i("button",{"aria-busy":s(o),"aria-controls":d?u:null,"aria-disabled":s(n),"aria-label":p,"aria-pressed":s(t),class:m,disabled:n,id:b,ref:t=>this.buttonEl=t},this.renderIconContainer(),this.renderTextContainer()),i("slot",{name:"tooltip",onSlotchange:this.handleTooltipSlotChange}),this.renderIndicatorText())}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};g.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}: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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;background-color:transparent;--calcite-action-indicator-color:var(--calcite-ui-brand)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.button{position:relative;margin:0px;display:flex;inline-size:auto;cursor:pointer;align-items:center;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;flex:1 0 auto}.button:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.button:active{background-color:var(--calcite-ui-foreground-3)}.button .icon-container{pointer-events:none;margin:0px;display:flex;align-items:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}.button .text-container{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;transition-property:opacity;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:margin;transition-property:inline-size}.button .text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1}:host([scale=s]) .button{padding-inline:0.5rem;padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .button--text-visible .icon-container{margin-inline-end:0.5rem}:host([scale=m]) .button{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=m]) .button--text-visible .icon-container{margin-inline-end:0.75rem}:host([scale=l]) .button{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=l]) .button--text-visible .icon-container{margin-inline-end:1rem}:host([alignment=center]) .button{justify-content:center}:host([alignment=end]) .button{justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:flex}.slot-container--hidden{display:none}.button--text-visible{inline-size:100%}:host([active]) .button,:host([active]) .button:hover,:host([active]) .button:focus,:host([active][loading]) .button{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([active]) .button:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=transparent]) .button{background-color:transparent;transition-property:box-shadow;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host([appearance=transparent]) .button:hover,:host([appearance=transparent]) .button:focus{background-color:transparent;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}:host([active][appearance=transparent]) .button,:host([active][appearance=transparent]) .button:hover,:host([active][appearance=transparent]) .button:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([appearance=transparent][loading]) .button,:host([appearance=transparent][disabled]) .button{background-color:transparent}:host([loading]) .button,:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-ui-foreground-1)}:host([loading]) .button .text-container,:host([loading]) .button:hover .text-container,:host([loading]) .button:focus .text-container{opacity:var(--calcite-ui-opacity-disabled)}:host([loading]) calcite-loader[inline]{color:var(--calcite-ui-text-3);margin-inline-end:0px}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}:host([indicator]) .button::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}:host([indicator]) .button--text-visible::after{inset-block-end:auto}:host([indicator]) .button--text-visible .text-container--visible{margin-inline-end:1rem}:host([indicator]) .button:hover::after,:host([indicator]) .button:focus::after{border-color:var(--calcite-ui-foreground-1)}:host([indicator][scale=s]) .button::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}:host([indicator][scale=s]) .button--text-visible::after{inset-block-end:auto;inset-inline-end:0.5rem}:host([indicator][active]) .button::after{border-color:var(--calcite-ui-foreground-3)}.indicator-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}';export{g as calcite_action}
6
+ import{r as t,h as i,H as e,g as a,f as n}from"./p-8d4388e3.js";import{g as o}from"./p-f1f70545.js";import{c as r}from"./p-f411a244.js";import{u as c}from"./p-0bae946f.js";import{t as s}from"./p-ba31fb6f.js";import{c as l,d}from"./p-a8378be1.js";import{u,c as b,s as h,d as p}from"./p-11587e9f.js";import{s as m,a as f,c as v}from"./p-3eff0d52.js";import"./p-436d54f4.js";import"./p-66a7cd45.js";const g=class{constructor(i){t(this,i),this.mutationObserver=r("mutation",(()=>n(this))),this.guid=`calcite-action-${o()}`,this.indicatorId=`${this.guid}-indicator`,this.buttonId=`${this.guid}-button`,this.handleTooltipSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-tooltip")))[0];i&&(i.referenceElement=this.buttonEl)},this.active=!1,this.alignment=void 0,this.appearance="solid",this.compact=!1,this.disabled=!1,this.icon=void 0,this.iconFlipRtl=!1,this.indicator=!1,this.label=void 0,this.loading=!1,this.scale="m",this.text=void 0,this.textEnabled=!1,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){l(this),b(this),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async componentWillLoad(){m(this),await h(this)}componentDidLoad(){f(this)}disconnectedCallback(){d(this),p(this),this.mutationObserver?.disconnect()}componentDidRender(){c(this)}async setFocus(){await v(this),this.buttonEl?.focus()}renderTextContainer(){const{text:t,textEnabled:e}=this;return t?i("div",{class:{"text-container":!0,"text-container--visible":e},key:"text-container"},t):null}renderIndicatorText(){const{indicator:t,messages:e,indicatorId:a,buttonId:n}=this;return i("div",{"aria-labelledby":n,"aria-live":"polite",class:"indicator-text",id:a,role:"region"},t?e.indicator:null)}renderIconContainer(){const{loading:t,icon:e,scale:a,el:n,iconFlipRtl:o}=this,r="l"===a?"m":"s",c=t?i("calcite-loader",{inline:!0,label:this.messages.loading,scale:"l"===a?"l":"m"}):null,s=e?i("calcite-icon",{flipRtl:o,icon:e,scale:r}):null,l=c||s,d=l||n.children?.length,u=i("div",{class:{"slot-container":!0,"slot-container--hidden":t}},i("slot",null));return d?i("div",{"aria-hidden":"true",class:"icon-container",key:"icon-container"},l,u):null}render(){const{active:t,compact:a,disabled:n,loading:o,textEnabled:r,label:c,text:l,indicator:d,indicatorId:u,buttonId:b,messages:h}=this,p=`${c||l}${d?` (${h.indicator})`:""}`,m={button:!0,"button--text-visible":r,"button--compact":a};return i(e,null,i("button",{"aria-busy":s(o),"aria-controls":d?u:null,"aria-disabled":s(n),"aria-label":p,"aria-pressed":s(t),class:m,disabled:n,id:b,ref:t=>this.buttonEl=t},this.renderIconContainer(),this.renderTextContainer()),i("slot",{name:"tooltip",onSlotchange:this.handleTooltipSlotChange}),this.renderIndicatorText())}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};g.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}: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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;background-color:transparent;--calcite-action-indicator-color:var(--calcite-ui-brand)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.button{position:relative;margin:0px;display:flex;inline-size:auto;cursor:pointer;align-items:center;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;flex:1 0 auto}.button:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.button:active{background-color:var(--calcite-ui-foreground-3)}.button .icon-container{pointer-events:none;margin:0px;display:flex;align-items:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}.button .text-container{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;transition-property:opacity;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:margin;transition-property:inline-size}.button .text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1}:host([scale=s]) .button{padding-inline:0.5rem;padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .button--text-visible .icon-container{margin-inline-end:0.5rem}:host([scale=m]) .button{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=m]) .button--text-visible .icon-container{margin-inline-end:0.75rem}:host([scale=l]) .button{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=l]) .button--text-visible .icon-container{margin-inline-end:1rem}:host([alignment=center]) .button{justify-content:center}:host([alignment=end]) .button{justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:flex}.slot-container--hidden{display:none}.button--text-visible{inline-size:100%}:host([active]) .button,:host([active]) .button:hover,:host([active]) .button:focus,:host([active][loading]) .button{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([active]) .button:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=transparent]) .button{background-color:transparent;transition-property:box-shadow;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host([appearance=transparent]) .button:hover,:host([appearance=transparent]) .button:focus{background-color:transparent;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}:host([active][appearance=transparent]) .button,:host([active][appearance=transparent]) .button:hover,:host([active][appearance=transparent]) .button:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([appearance=transparent][loading]) .button,:host([appearance=transparent][disabled]) .button{background-color:transparent}:host([loading]) .button,:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-ui-foreground-1)}:host([loading]) .button .text-container,:host([loading]) .button:hover .text-container,:host([loading]) .button:focus .text-container{opacity:var(--calcite-ui-opacity-disabled)}:host([loading]) calcite-loader[inline]{color:var(--calcite-ui-text-3);margin-inline-end:0px}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}:host([indicator]) .button::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}:host([indicator]) .button--text-visible::after{inset-block-end:auto}:host([indicator]) .button--text-visible .text-container--visible{margin-inline-end:1rem}:host([indicator]) .button:hover::after,:host([indicator]) .button:focus::after{border-color:var(--calcite-ui-foreground-1)}:host([indicator][scale=s]) .button::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}:host([indicator][scale=s]) .button--text-visible::after{inset-block-end:auto;inset-inline-end:0.5rem}:host([indicator][active]) .button::after{border-color:var(--calcite-ui-foreground-3)}.indicator-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}';export{g as calcite_action}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.697
4
+ * v1.0.0-next.698
5
5
  */
6
- import{r as t,c as i,h as e,g as a}from"./p-cb6931bb.js";import{K as n}from"./p-cb3f1f35.js";import{d as o,g as c}from"./p-5bdefd5d.js";import{c as s,d as l}from"./p-4ce0b692.js";import{c as r,d}from"./p-3d51b12f.js";import{c as m,d as h,s as g,u as p}from"./p-3f699c2c.js";import{s as f,a as u,c as v}from"./p-ceec6259.js";import"./p-5991115c.js";import"./p-e1ebc7de.js";import"./p-06813ac8.js";import"./p-6055b9c5.js";const b=class{constructor(e){t(this,e),this.calciteNoticeClose=i(this,"calciteNoticeClose",6),this.calciteNoticeOpen=i(this,"calciteNoticeOpen",6),this.close=()=>{this.open=!1,this.calciteNoticeClose.emit()},this.open=!1,this.kind="brand",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.width="auto",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=o(n,this.icon,this.kind)}connectedCallback(){s(this),r(this),m(this)}disconnectedCallback(){l(this),d(this),h(this)}async componentWillLoad(){f(this),this.requestedIcon=o(n,this.icon,this.kind),await g(this)}componentDidLoad(){u(this)}render(){const{el:t}=this,i=e("button",{"aria-label":this.messages.close,class:"notice-close",onClick:this.close,ref:t=>this.closeButton=t},e("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),a=c(t,"actions-end");return e("div",{class:"container"},this.requestedIcon?e("div",{class:"notice-icon"},e("calcite-icon",{flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"})):null,e("div",{class:"notice-content"},e("slot",{name:"title"}),e("slot",{name:"message"}),e("slot",{name:"link"})),a?e("div",{class:"actions-end"},e("slot",{name:"actions-end"})):null,this.closable?i:null)}async setFocus(){await v(this);const t=this.el.querySelector("calcite-link");(this.closeButton||t)&&(t?t.setFocus():this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){p(this,this.effectiveLocale)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};b.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-ui-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([kind=info]) .container{border-color:var(--calcite-ui-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-ui-info)}:host([kind=danger]) .container{border-color:var(--calcite-ui-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([kind=success]) .container{border-color:var(--calcite-ui-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-ui-success)}:host([kind=warning]) .container{border-color:var(--calcite-ui-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-ui-warning)}";export{b as calcite_notice}
6
+ import{r as t,c as i,h as e,g as a}from"./p-8d4388e3.js";import{K as n}from"./p-1c487436.js";import{d as o,g as c}from"./p-ba31fb6f.js";import{c as s,d as l}from"./p-c61d1069.js";import{c as r,d}from"./p-a8378be1.js";import{c as m,d as h,s as g,u as p}from"./p-11587e9f.js";import{s as f,a as u,c as v}from"./p-3eff0d52.js";import"./p-436d54f4.js";import"./p-f1f70545.js";import"./p-f411a244.js";import"./p-66a7cd45.js";const k=class{constructor(e){t(this,e),this.calciteNoticeClose=i(this,"calciteNoticeClose",6),this.calciteNoticeOpen=i(this,"calciteNoticeOpen",6),this.close=()=>{this.open=!1,this.calciteNoticeClose.emit()},this.open=!1,this.kind="brand",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.width="auto",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=o(n,this.icon,this.kind)}connectedCallback(){s(this),r(this),m(this)}disconnectedCallback(){l(this),d(this),h(this)}async componentWillLoad(){f(this),this.requestedIcon=o(n,this.icon,this.kind),await g(this)}componentDidLoad(){u(this)}render(){const{el:t}=this,i=e("button",{"aria-label":this.messages.close,class:"notice-close",onClick:this.close,ref:t=>this.closeButton=t},e("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),a=c(t,"actions-end");return e("div",{class:"container"},this.requestedIcon?e("div",{class:"notice-icon"},e("calcite-icon",{flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"})):null,e("div",{class:"notice-content"},e("slot",{name:"title"}),e("slot",{name:"message"}),e("slot",{name:"link"})),a?e("div",{class:"actions-end"},e("slot",{name:"actions-end"})):null,this.closable?i:null)}async setFocus(){await v(this);const t=this.el.querySelector("calcite-link");(this.closeButton||t)&&(t?t.setFocus():this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){p(this,this.effectiveLocale)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};k.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-ui-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([kind=info]) .container{border-color:var(--calcite-ui-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-ui-info)}:host([kind=danger]) .container{border-color:var(--calcite-ui-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([kind=success]) .container{border-color:var(--calcite-ui-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-ui-success)}:host([kind=warning]) .container{border-color:var(--calcite-ui-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-ui-warning)}";export{k as calcite_notice}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.697
4
+ * v1.0.0-next.698
5
5
  */
6
- import{a as n}from"./p-cb6931bb.js";import{n as t,g as e}from"./p-3d51b12f.js";function a(n,t,e){if(!n)return;const a=n.getTime(),r=!(t instanceof Date)||a>=t.getTime(),o=!(e instanceof Date)||a<=e.getTime();return r&&o}function r(n,t,e){if(!(n instanceof Date))return null;const a=n.getTime(),r=t instanceof Date&&a<t.getTime(),o=e instanceof Date&&a>e.getTime();return r?t:o?e:n}function o(n,t=!1){if(n instanceof Date)return n;if(!n||"string"!=typeof n)return null;const e=n.split(/[: T-]/).map(parseFloat),a=new Date(e[0],(e[1]||1)-1,e[2]||1);if(a.setFullYear(e[0]),isNaN(a.getTime()))throw new Error(`Invalid ISO 8601 date: "${n}"`);return t?d(a):a}function s(n,t){if(!t)return null;const{separator:e}=t,{day:a,month:r,year:o}=function(n,t){const{day:e,month:a,year:r}=i(n,t);return{day:parseInt(e),month:parseInt(a)-1,year:parseInt(r)}}(n,t),s=new Date(o,r,a);s.setFullYear(o);const c=a>0,u=r>-1,f=!isNaN(s.getTime()),l=n.split(e).filter((n=>n)).length>2,D=o.toString().length>0;return c&&u&&f&&l&&D?s:null}function i(n,e){const{separator:a,unitOrder:r}=e,o=D(r),s=n.split(a).map((n=>t.delocalize(n)));return{day:s[o.indexOf("d")],month:s[o.indexOf("m")],year:s[o.indexOf("y")]}}function c(n){return"string"==typeof n?n:n instanceof Date?new Date(n.getTime()-6e4*n.getTimezoneOffset()).toISOString().split("T")[0]:""}function u(n,t){return n instanceof Date&&t instanceof Date&&n.getDate()===t.getDate()&&n.getMonth()===t.getMonth()&&n.getFullYear()===t.getFullYear()}function f(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t-1),t===e.getMonth()?new Date(n.getFullYear(),t,0):e}function l(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t+1),(t+2)%7==e.getMonth()%7?new Date(n.getFullYear(),t+2,0):e}function D(n){const t=n.toLowerCase();return["d","m","y"].sort(((n,e)=>t.indexOf(n)-t.indexOf(e)))}function p(n,t){return(n.getTime()-t.getTime())/864e5}function d(n){return n.setHours(23,59,59,999),n}const y={},m={};async function w(t){const a=e(t);if(y[a])return y[a];m[a]||(m[a]=fetch(n(`./assets/date-picker/nls/${a}.json`)).then((n=>n.json())).catch((()=>(console.error(`Translations for "${a}" not found or invalid, falling back to english`),w("en")))));const r=await m[a];return y[a]=r,r}function h(n){return n.map(((n,t)=>o(n,1===t)))}export{s as a,c as b,o as c,i as d,w as e,r as f,h as g,p as h,a as i,u as j,D as k,l as n,f as p,d as s}
6
+ import{a as n}from"./p-8d4388e3.js";import{n as t,g as e}from"./p-a8378be1.js";function a(n,t,e){if(!n)return;const a=n.getTime(),r=!(t instanceof Date)||a>=t.getTime(),o=!(e instanceof Date)||a<=e.getTime();return r&&o}function r(n,t,e){if(!(n instanceof Date))return null;const a=n.getTime(),r=t instanceof Date&&a<t.getTime(),o=e instanceof Date&&a>e.getTime();return r?t:o?e:n}function o(n,t=!1){if(n instanceof Date)return n;if(!n||"string"!=typeof n)return null;const e=n.split(/[: T-]/).map(parseFloat),a=new Date(e[0],(e[1]||1)-1,e[2]||1);if(a.setFullYear(e[0]),isNaN(a.getTime()))throw new Error(`Invalid ISO 8601 date: "${n}"`);return t?d(a):a}function s(n,t){if(!t)return null;const{separator:e}=t,{day:a,month:r,year:o}=function(n,t){const{day:e,month:a,year:r}=i(n,t);return{day:parseInt(e),month:parseInt(a)-1,year:parseInt(r)}}(n,t),s=new Date(o,r,a);s.setFullYear(o);const c=a>0,u=r>-1,f=!isNaN(s.getTime()),l=n.split(e).filter((n=>n)).length>2,D=o.toString().length>0;return c&&u&&f&&l&&D?s:null}function i(n,e){const{separator:a,unitOrder:r}=e,o=D(r),s=n.split(a).map((n=>t.delocalize(n)));return{day:s[o.indexOf("d")],month:s[o.indexOf("m")],year:s[o.indexOf("y")]}}function c(n){return"string"==typeof n?n:n instanceof Date?new Date(n.getTime()-6e4*n.getTimezoneOffset()).toISOString().split("T")[0]:""}function u(n,t){return n instanceof Date&&t instanceof Date&&n.getDate()===t.getDate()&&n.getMonth()===t.getMonth()&&n.getFullYear()===t.getFullYear()}function f(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t-1),t===e.getMonth()?new Date(n.getFullYear(),t,0):e}function l(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t+1),(t+2)%7==e.getMonth()%7?new Date(n.getFullYear(),t+2,0):e}function D(n){const t=n.toLowerCase();return["d","m","y"].sort(((n,e)=>t.indexOf(n)-t.indexOf(e)))}function p(n,t){return(n.getTime()-t.getTime())/864e5}function d(n){return n.setHours(23,59,59,999),n}const y={},m={};async function w(t){const a=e(t);if(y[a])return y[a];m[a]||(m[a]=fetch(n(`./assets/date-picker/nls/${a}.json`)).then((n=>n.json())).catch((()=>(console.error(`Translations for "${a}" not found or invalid, falling back to english`),w("en")))));const r=await m[a];return y[a]=r,r}function h(n){return n.map(((n,t)=>o(n,1===t)))}export{s as a,c as b,o as c,i as d,w as e,r as f,h as g,p as h,a as i,u as j,D as k,l as n,f as p,d as s}