@esri/calcite-components 1.0.0-next.696 → 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 (746) 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-37be0cc5.entry.js → p-04d2c33d.entry.js} +2 -2
  46. package/dist/calcite/{p-8f1b83a7.entry.js → p-0821e262.entry.js} +2 -2
  47. package/dist/calcite/{p-34994fdc.entry.js → p-089ccae3.entry.js} +2 -2
  48. package/dist/calcite/{p-5d2da6aa.js → p-0bae946f.js} +1 -1
  49. package/dist/calcite/{p-8b7d1ba0.entry.js → p-0da356a2.entry.js} +2 -2
  50. package/dist/calcite/p-101b985f.entry.js +6 -0
  51. package/dist/calcite/{p-30f33fd8.js → p-11587e9f.js} +2 -2
  52. package/dist/calcite/{p-3adf37d2.js → p-12de29bb.js} +1 -1
  53. package/dist/calcite/{p-46f90cd4.entry.js → p-13d7608f.entry.js} +2 -2
  54. package/dist/calcite/{p-c8c4d134.entry.js → p-17f83169.entry.js} +2 -2
  55. package/dist/calcite/{p-2797ca90.entry.js → p-1a2fdd37.entry.js} +2 -2
  56. package/dist/calcite/{p-0aedc881.js → p-1c487436.js} +1 -1
  57. package/dist/calcite/{p-8c41bb9b.entry.js → p-1f982b26.entry.js} +2 -2
  58. package/dist/calcite/{p-1c5ff9ae.entry.js → p-21974be4.entry.js} +2 -2
  59. package/dist/calcite/{p-27fed8fb.entry.js → p-23093414.entry.js} +2 -2
  60. package/dist/calcite/{p-059d6152.entry.js → p-2418fc1b.entry.js} +2 -2
  61. package/dist/calcite/{p-599c54c4.entry.js → p-260ee906.entry.js} +2 -2
  62. package/dist/calcite/{p-ab1f06a0.js → p-275517e6.js} +1 -1
  63. package/dist/calcite/{p-c206f457.entry.js → p-2c6274ba.entry.js} +2 -2
  64. package/dist/calcite/{p-0670b1a5.entry.js → p-2cbcf694.entry.js} +2 -2
  65. package/dist/calcite/{p-91d57cbf.entry.js → p-36b47aca.entry.js} +2 -2
  66. package/dist/calcite/{p-bf025d6f.entry.js → p-3a0bc605.entry.js} +2 -2
  67. package/dist/calcite/{p-87c25dbd.entry.js → p-3d8114fd.entry.js} +2 -2
  68. package/dist/calcite/{p-f7885b10.entry.js → p-3dba70dd.entry.js} +2 -2
  69. package/dist/calcite/{p-8939af60.entry.js → p-3ef9b4ae.entry.js} +2 -2
  70. package/dist/calcite/{p-7d7379b2.js → p-3eff0d52.js} +1 -1
  71. package/dist/calcite/{p-d404d4dc.js → p-400cda16.js} +1 -1
  72. package/dist/calcite/p-417e99b7.entry.js +6 -0
  73. package/dist/calcite/{p-33620a50.entry.js → p-42117e22.entry.js} +2 -2
  74. package/dist/calcite/{p-d4751ef9.js → p-433f3e18.js} +1 -1
  75. package/dist/calcite/{p-cefe8ab2.js → p-436d54f4.js} +1 -1
  76. package/dist/calcite/{p-6c2b1518.js → p-467aa6e2.js} +1 -1
  77. package/dist/calcite/{p-ed905295.entry.js → p-46872585.entry.js} +2 -2
  78. package/dist/calcite/{p-89383fc2.js → p-477dcb6a.js} +2 -2
  79. package/dist/calcite/{p-d9a4d9b9.entry.js → p-489c6e2a.entry.js} +2 -2
  80. package/dist/calcite/{p-7c6a2852.js → p-4bc3474b.js} +2 -2
  81. package/dist/calcite/{p-cd0f85e2.entry.js → p-52f82ba2.entry.js} +2 -2
  82. package/dist/calcite/{p-8a588533.entry.js → p-5313a762.entry.js} +2 -2
  83. package/dist/calcite/{p-b14590ae.js → p-5ab4e859.js} +2 -2
  84. package/dist/calcite/{p-c536ffb9.js → p-5e4a5a6e.js} +2 -2
  85. package/dist/calcite/{p-f1f11512.entry.js → p-5fc61f3d.entry.js} +2 -2
  86. package/dist/calcite/{p-ea3f9c57.js → p-5fd23fb0.js} +2 -2
  87. package/dist/calcite/{p-b65c8284.entry.js → p-61cfde1c.entry.js} +2 -2
  88. package/dist/calcite/{p-2ea1154e.js → p-66a7cd45.js} +1 -1
  89. package/dist/calcite/{p-3109a815.entry.js → p-726c9c71.entry.js} +2 -2
  90. package/dist/calcite/p-765625eb.entry.js +6 -0
  91. package/dist/calcite/{p-062b3c76.entry.js → p-7a6b6c93.entry.js} +2 -2
  92. package/dist/calcite/{p-48a12a52.js → p-7b3417db.js} +1 -1
  93. package/dist/calcite/{p-95f7b7ed.entry.js → p-7b3ab400.entry.js} +2 -2
  94. package/dist/calcite/{p-81b58198.js → p-7c914314.js} +2 -2
  95. package/dist/calcite/{p-810872a2.js → p-81c086e0.js} +2 -2
  96. package/dist/calcite/{p-b385c863.js → p-84dc8941.js} +2 -2
  97. package/dist/calcite/{p-9e6b5374.js → p-8d4388e3.js} +1 -1
  98. package/dist/calcite/{p-63082d27.entry.js → p-90b1f98f.entry.js} +2 -2
  99. package/dist/calcite/{p-c3918d83.entry.js → p-92245a03.entry.js} +2 -2
  100. package/dist/calcite/{p-69f8872f.entry.js → p-93c4ea22.entry.js} +2 -2
  101. package/dist/calcite/{p-22b19a85.js → p-97211be4.js} +2 -2
  102. package/dist/calcite/{p-2949e852.entry.js → p-983b58e3.entry.js} +2 -2
  103. package/dist/calcite/{p-22b2e9c3.entry.js → p-999a1ffe.entry.js} +2 -2
  104. package/dist/calcite/{p-2c566875.js → p-9a27f8ae.js} +2 -2
  105. package/dist/calcite/p-a11d8890.entry.js +6 -0
  106. package/dist/calcite/{p-59357987.entry.js → p-a3a4e0c5.entry.js} +2 -2
  107. package/dist/calcite/{p-355b2405.entry.js → p-a4d4075d.entry.js} +2 -2
  108. package/dist/calcite/{p-ede0af07.entry.js → p-a7925b3c.entry.js} +2 -2
  109. package/dist/calcite/{p-80d0da54.js → p-a8378be1.js} +2 -2
  110. package/dist/calcite/{p-f0ed779a.entry.js → p-b260eed6.entry.js} +2 -2
  111. package/dist/calcite/{p-28acef7a.entry.js → p-b4648d9c.entry.js} +2 -2
  112. package/dist/calcite/{p-76158859.entry.js → p-b56869a2.entry.js} +2 -2
  113. package/dist/calcite/{p-61cca184.entry.js → p-b6c04292.entry.js} +2 -2
  114. package/dist/calcite/{p-9cd2ab34.js → p-ba31fb6f.js} +2 -2
  115. package/dist/calcite/{p-87287eab.entry.js → p-c4326d0d.entry.js} +2 -2
  116. package/dist/calcite/p-c61d1069.js +6 -0
  117. package/dist/calcite/{p-8d548ed8.js → p-c70328a9.js} +1 -1
  118. package/dist/calcite/{p-e8331593.entry.js → p-c873f24b.entry.js} +2 -2
  119. package/dist/calcite/p-cc9ded9f.entry.js +6 -0
  120. package/dist/calcite/{p-803f28a9.entry.js → p-d1e45acc.entry.js} +2 -2
  121. package/dist/calcite/{p-e5fbbd15.entry.js → p-d5e20d3e.entry.js} +2 -2
  122. package/dist/calcite/{p-d1288fff.entry.js → p-dd00c77a.entry.js} +2 -2
  123. package/dist/calcite/{p-176a8afe.entry.js → p-e1e08a4f.entry.js} +2 -2
  124. package/dist/calcite/{p-fc45c709.js → p-e767698a.js} +2 -2
  125. package/dist/calcite/{p-46a8f502.entry.js → p-e82ccf88.entry.js} +2 -2
  126. package/dist/calcite/{p-65ce32f7.entry.js → p-ebb90591.entry.js} +2 -2
  127. package/dist/calcite/{p-5c66104a.entry.js → p-ed648748.entry.js} +2 -2
  128. package/dist/calcite/{p-42bb5409.js → p-f1f70545.js} +1 -1
  129. package/dist/calcite/{p-8d98cd15.js → p-f411a244.js} +1 -1
  130. package/dist/calcite/{p-fb0d7dbf.entry.js → p-f4562c44.entry.js} +2 -2
  131. package/dist/calcite/{p-847856ac.js → p-f613fb0f.js} +1 -1
  132. package/dist/calcite/{p-ece54a9a.entry.js → p-fa24ebc1.entry.js} +2 -2
  133. package/dist/calcite/{p-83a94feb.entry.js → p-fc41ce60.entry.js} +2 -2
  134. package/dist/calcite/{p-40a23f7b.entry.js → p-fe926038.entry.js} +2 -2
  135. package/dist/calcite/{p-4fa5950e.js → p-ff94c794.js} +2 -2
  136. package/dist/calcite/{p-516d4d99.entry.js → p-ffef0afe.entry.js} +2 -2
  137. package/dist/cjs/{ExpandToggle-6861bc96.js → ExpandToggle-5cd95c5f.js} +5 -5
  138. package/dist/cjs/{Heading-4d51de33.js → Heading-ad499367.js} +2 -2
  139. package/dist/cjs/{app-globals-2b0b28c8.js → app-globals-6054f999.js} +2 -2
  140. package/dist/cjs/{array-b0754356.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 +14 -15
  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-4e28c3c3.js → conditionalSlot-5f6cccd2.js} +3 -3
  203. package/dist/cjs/{debounce-fc024452.js → debounce-b9858501.js} +1 -1
  204. package/dist/cjs/{dom-062d300d.js → dom-df75f957.js} +3 -3
  205. package/dist/cjs/{filter-1b00cbc6.js → filter-6bd237d9.js} +2 -2
  206. package/dist/cjs/{floating-ui-17146909.js → floating-ui-07a981a9.js} +4 -4
  207. package/dist/cjs/{focusTrapComponent-e39c5b16.js → focusTrapComponent-2b655fb7.js} +2 -2
  208. package/dist/cjs/{form-5f767281.js → form-d72d7a84.js} +3 -3
  209. package/dist/cjs/{guid-0205e5e3.js → guid-d45f871f.js} +1 -1
  210. package/dist/cjs/{index-25aebcfd.js → index-ba6f8720.js} +1 -1
  211. package/dist/cjs/index.cjs.js +1 -1
  212. package/dist/cjs/{interactive-df833f7f.js → interactive-29070e73.js} +1 -1
  213. package/dist/cjs/{key-caad1e9b.js → key-740926b9.js} +1 -1
  214. package/dist/cjs/{label-51864110.js → label-32f1d98d.js} +2 -2
  215. package/dist/cjs/{loadable-bfa61bdb.js → loadable-1c9aeef3.js} +1 -1
  216. package/dist/cjs/loader.cjs.js +5 -5
  217. package/dist/cjs/{locale-0152abee.js → locale-eecee9b3.js} +4 -4
  218. package/dist/cjs/{math-c4f61a6d.js → math-ee0c6dda.js} +1 -1
  219. package/dist/cjs/{nonChromiumPlatformUtils-7e6abd9e.js → nonChromiumPlatformUtils-a4a27845.js} +6 -6
  220. package/dist/cjs/{observers-b5ca6212.js → observers-956a344e.js} +1 -1
  221. package/dist/cjs/{openCloseComponent-75d353a9.js → openCloseComponent-6d80b9af.js} +2 -2
  222. package/dist/cjs/{resources-454d4689.js → resources-00d06f96.js} +1 -1
  223. package/dist/cjs/{resources-07211ca5.js → resources-156072f0.js} +1 -1
  224. package/dist/cjs/{resources-18ffc941.js → resources-25652867.js} +1 -1
  225. package/dist/cjs/{resources-1d94245d.js → resources-578f5580.js} +1 -1
  226. package/dist/cjs/{resources-b27816bc.js → resources-a1ce98ae.js} +5 -5
  227. package/dist/cjs/{resources-cceb3ec0.js → resources-cb6b1c15.js} +1 -1
  228. package/dist/cjs/{sortable.esm-ccc5603a.js → sortable.esm-913e54dc.js} +1 -1
  229. package/dist/cjs/{t9n-151121ec.js → t9n-92ca05c3.js} +3 -3
  230. package/dist/cjs/{utils-f96fb839.js → utils-1c510a7c.js} +1 -1
  231. package/dist/cjs/{utils-8ead7ed5.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.css +2 -5
  330. package/dist/collection/components/modal/modal.js +1 -25
  331. package/dist/collection/components/modal/resources.js +1 -1
  332. package/dist/collection/components/notice/notice.js +1 -1
  333. package/dist/collection/components/notice/resources.js +1 -1
  334. package/dist/collection/components/option/option.js +1 -1
  335. package/dist/collection/components/option-group/option-group.js +1 -1
  336. package/dist/collection/components/pagination/pagination.js +1 -1
  337. package/dist/collection/components/pagination/resources.js +1 -1
  338. package/dist/collection/components/panel/panel.js +1 -1
  339. package/dist/collection/components/panel/resources.js +1 -1
  340. package/dist/collection/components/pick-list/pick-list.js +1 -1
  341. package/dist/collection/components/pick-list/resources.js +1 -1
  342. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  343. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  344. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  345. package/dist/collection/components/pick-list-group/resources.js +1 -1
  346. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  347. package/dist/collection/components/pick-list-item/resources.js +1 -1
  348. package/dist/collection/components/popover/PopoverManager.js +1 -1
  349. package/dist/collection/components/popover/popover.js +1 -1
  350. package/dist/collection/components/popover/resources.js +1 -1
  351. package/dist/collection/components/progress/progress.js +1 -1
  352. package/dist/collection/components/radio-button/radio-button.js +1 -1
  353. package/dist/collection/components/radio-button/resources.js +1 -1
  354. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  355. package/dist/collection/components/radio-group/radio-group.js +1 -1
  356. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  357. package/dist/collection/components/radio-group-item/resources.js +1 -1
  358. package/dist/collection/components/rating/function/star.js +1 -1
  359. package/dist/collection/components/rating/rating.js +1 -1
  360. package/dist/collection/components/resources.js +1 -1
  361. package/dist/collection/components/scrim/resources.js +1 -1
  362. package/dist/collection/components/scrim/scrim.js +1 -1
  363. package/dist/collection/components/select/resources.js +1 -1
  364. package/dist/collection/components/select/select.js +1 -1
  365. package/dist/collection/components/shell/resources.js +1 -1
  366. package/dist/collection/components/shell/shell.js +1 -1
  367. package/dist/collection/components/shell-center-row/resources.js +1 -1
  368. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  369. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/index.d.ts +3 -0
  370. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages.json +3 -0
  371. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_ar.json +3 -0
  372. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_bg.json +3 -0
  373. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_bs.json +3 -0
  374. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_ca.json +3 -0
  375. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_cs.json +3 -0
  376. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_da.json +3 -0
  377. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_de.json +3 -0
  378. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_el.json +3 -0
  379. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_en.json +3 -0
  380. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_es.json +3 -0
  381. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_et.json +3 -0
  382. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_fi.json +3 -0
  383. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_fr.json +3 -0
  384. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_he.json +3 -0
  385. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_hr.json +3 -0
  386. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_hu.json +3 -0
  387. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_id.json +3 -0
  388. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_it.json +3 -0
  389. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_ja.json +3 -0
  390. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_ko.json +3 -0
  391. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_lt.json +3 -0
  392. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_lv.json +3 -0
  393. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_nl.json +3 -0
  394. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_no.json +3 -0
  395. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_pl.json +3 -0
  396. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_pt-BR.json +3 -0
  397. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_pt-PT.json +3 -0
  398. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_ro.json +3 -0
  399. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_ru.json +3 -0
  400. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_sk.json +3 -0
  401. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_sl.json +3 -0
  402. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_sr.json +3 -0
  403. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_sv.json +3 -0
  404. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_th.json +3 -0
  405. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_tr.json +3 -0
  406. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_uk.json +3 -0
  407. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_vi.json +3 -0
  408. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_zh-CN.json +3 -0
  409. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_zh-HK.json +3 -0
  410. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/messages_zh-TW.json +3 -0
  411. package/dist/collection/components/shell-panel/resources.js +1 -4
  412. package/dist/collection/components/shell-panel/shell-panel.js +90 -8
  413. package/dist/collection/components/slider/resources.js +1 -1
  414. package/dist/collection/components/slider/slider.js +1 -1
  415. package/dist/collection/components/sortable-list/resources.js +1 -1
  416. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  417. package/dist/collection/components/split-button/resources.js +1 -1
  418. package/dist/collection/components/split-button/split-button.js +1 -1
  419. package/dist/collection/components/stepper/stepper.js +1 -1
  420. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  421. package/dist/collection/components/switch/switch.js +1 -1
  422. package/dist/collection/components/tab/tab.js +1 -1
  423. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  424. package/dist/collection/components/tab-title/tab-title.js +1 -1
  425. package/dist/collection/components/tabs/resources.js +1 -1
  426. package/dist/collection/components/tabs/tabs.js +1 -1
  427. package/dist/collection/components/tile/resources.js +1 -1
  428. package/dist/collection/components/tile/tile.js +1 -1
  429. package/dist/collection/components/tile-select/resources.js +1 -1
  430. package/dist/collection/components/tile-select/tile-select.js +1 -1
  431. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  432. package/dist/collection/components/time-picker/resources.js +1 -1
  433. package/dist/collection/components/time-picker/time-picker.js +1 -1
  434. package/dist/collection/components/tip/resources.js +1 -1
  435. package/dist/collection/components/tip/tip.js +1 -1
  436. package/dist/collection/components/tip-group/tip-group.js +1 -1
  437. package/dist/collection/components/tip-manager/resources.js +1 -1
  438. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  439. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  440. package/dist/collection/components/tooltip/resources.js +1 -1
  441. package/dist/collection/components/tooltip/tooltip.js +1 -1
  442. package/dist/collection/components/tree/tree.js +1 -1
  443. package/dist/collection/components/tree/utils.js +1 -1
  444. package/dist/collection/components/tree-item/resources.js +1 -1
  445. package/dist/collection/components/tree-item/tree-item.js +1 -1
  446. package/dist/collection/components/value-list/resources.js +1 -1
  447. package/dist/collection/components/value-list/utils.js +1 -1
  448. package/dist/collection/components/value-list/value-list.js +1 -1
  449. package/dist/collection/components/value-list-item/resources.js +1 -1
  450. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  451. package/dist/collection/utils/array.js +1 -1
  452. package/dist/collection/utils/conditionalSlot.js +1 -1
  453. package/dist/collection/utils/config.js +1 -1
  454. package/dist/collection/utils/date.js +1 -1
  455. package/dist/collection/utils/dom.js +1 -1
  456. package/dist/collection/utils/filter.js +1 -1
  457. package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
  458. package/dist/collection/utils/floating-ui.js +1 -1
  459. package/dist/collection/utils/focusTrapComponent.js +1 -1
  460. package/dist/collection/utils/form.js +1 -1
  461. package/dist/collection/utils/globalAttributes.js +1 -1
  462. package/dist/collection/utils/globalScript.js +1 -1
  463. package/dist/collection/utils/guid.js +1 -1
  464. package/dist/collection/utils/interactive.js +1 -1
  465. package/dist/collection/utils/key.js +1 -1
  466. package/dist/collection/utils/label.js +1 -1
  467. package/dist/collection/utils/loadable.js +1 -1
  468. package/dist/collection/utils/locale.js +1 -1
  469. package/dist/collection/utils/math.js +1 -1
  470. package/dist/collection/utils/number.js +1 -1
  471. package/dist/collection/utils/observers.js +1 -1
  472. package/dist/collection/utils/openCloseComponent.js +1 -1
  473. package/dist/collection/utils/resources.js +1 -1
  474. package/dist/collection/utils/t9n.js +1 -1
  475. package/dist/collection/utils/theme.js +1 -1
  476. package/dist/collection/utils/time.js +1 -1
  477. package/dist/components/ExpandToggle.js +1 -1
  478. package/dist/components/Heading.js +1 -1
  479. package/dist/components/action-group.js +1 -1
  480. package/dist/components/action-menu.js +1 -1
  481. package/dist/components/action.js +1 -1
  482. package/dist/components/array.js +1 -1
  483. package/dist/components/button.js +1 -1
  484. package/dist/components/calcite-accordion-item.js +1 -1
  485. package/dist/components/calcite-accordion.js +1 -1
  486. package/dist/components/calcite-action-bar.js +1 -1
  487. package/dist/components/calcite-action-group.js +1 -1
  488. package/dist/components/calcite-action-menu.js +1 -1
  489. package/dist/components/calcite-action-pad.js +1 -1
  490. package/dist/components/calcite-action.js +1 -1
  491. package/dist/components/calcite-alert.js +1 -1
  492. package/dist/components/calcite-avatar.js +1 -1
  493. package/dist/components/calcite-block-section.js +1 -1
  494. package/dist/components/calcite-block.js +1 -1
  495. package/dist/components/calcite-button.js +1 -1
  496. package/dist/components/calcite-card.js +1 -1
  497. package/dist/components/calcite-checkbox.js +1 -1
  498. package/dist/components/calcite-chip.js +1 -1
  499. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  500. package/dist/components/calcite-color-picker-swatch.js +1 -1
  501. package/dist/components/calcite-color-picker.js +1 -1
  502. package/dist/components/calcite-combobox-item-group.js +1 -1
  503. package/dist/components/calcite-combobox-item.js +1 -1
  504. package/dist/components/calcite-combobox.js +1 -1
  505. package/dist/components/calcite-date-picker-day.js +1 -1
  506. package/dist/components/calcite-date-picker-month-header.js +1 -1
  507. package/dist/components/calcite-date-picker-month.js +1 -1
  508. package/dist/components/calcite-date-picker.js +1 -1
  509. package/dist/components/calcite-dropdown-group.js +1 -1
  510. package/dist/components/calcite-dropdown-item.js +1 -1
  511. package/dist/components/calcite-dropdown.js +1 -1
  512. package/dist/components/calcite-fab.js +1 -1
  513. package/dist/components/calcite-filter.js +1 -1
  514. package/dist/components/calcite-flow-item.js +1 -1
  515. package/dist/components/calcite-flow.js +1 -1
  516. package/dist/components/calcite-graph.js +1 -1
  517. package/dist/components/calcite-handle.js +1 -1
  518. package/dist/components/calcite-icon.js +1 -1
  519. package/dist/components/calcite-inline-editable.js +1 -1
  520. package/dist/components/calcite-input-date-picker.js +1 -1
  521. package/dist/components/calcite-input-message.js +1 -1
  522. package/dist/components/calcite-input-number.js +1 -1
  523. package/dist/components/calcite-input-text.js +1 -1
  524. package/dist/components/calcite-input-time-picker.js +1 -1
  525. package/dist/components/calcite-input.js +1 -1
  526. package/dist/components/calcite-label.js +1 -1
  527. package/dist/components/calcite-link.js +1 -1
  528. package/dist/components/calcite-list-item-group.js +1 -1
  529. package/dist/components/calcite-list-item.js +1 -1
  530. package/dist/components/calcite-list.js +1 -1
  531. package/dist/components/calcite-loader.js +1 -1
  532. package/dist/components/calcite-modal.js +2 -4
  533. package/dist/components/calcite-notice.js +1 -1
  534. package/dist/components/calcite-option-group.js +1 -1
  535. package/dist/components/calcite-option.js +1 -1
  536. package/dist/components/calcite-pagination.js +1 -1
  537. package/dist/components/calcite-panel.js +1 -1
  538. package/dist/components/calcite-pick-list-group.js +1 -1
  539. package/dist/components/calcite-pick-list-item.js +1 -1
  540. package/dist/components/calcite-pick-list.js +1 -1
  541. package/dist/components/calcite-popover.js +1 -1
  542. package/dist/components/calcite-progress.js +1 -1
  543. package/dist/components/calcite-radio-button-group.js +1 -1
  544. package/dist/components/calcite-radio-button.js +1 -1
  545. package/dist/components/calcite-radio-group-item.js +1 -1
  546. package/dist/components/calcite-radio-group.js +1 -1
  547. package/dist/components/calcite-rating.js +1 -1
  548. package/dist/components/calcite-scrim.js +1 -1
  549. package/dist/components/calcite-select.js +1 -1
  550. package/dist/components/calcite-shell-center-row.js +1 -1
  551. package/dist/components/calcite-shell-panel.js +34 -8
  552. package/dist/components/calcite-shell.js +1 -1
  553. package/dist/components/calcite-slider.js +1 -1
  554. package/dist/components/calcite-sortable-list.js +1 -1
  555. package/dist/components/calcite-split-button.js +1 -1
  556. package/dist/components/calcite-stepper-item.js +1 -1
  557. package/dist/components/calcite-stepper.js +1 -1
  558. package/dist/components/calcite-switch.js +1 -1
  559. package/dist/components/calcite-tab-nav.js +1 -1
  560. package/dist/components/calcite-tab-title.js +1 -1
  561. package/dist/components/calcite-tab.js +1 -1
  562. package/dist/components/calcite-tabs.js +1 -1
  563. package/dist/components/calcite-tile-select-group.js +1 -1
  564. package/dist/components/calcite-tile-select.js +1 -1
  565. package/dist/components/calcite-tile.js +1 -1
  566. package/dist/components/calcite-time-picker.js +1 -1
  567. package/dist/components/calcite-tip-group.js +1 -1
  568. package/dist/components/calcite-tip-manager.js +1 -1
  569. package/dist/components/calcite-tip.js +1 -1
  570. package/dist/components/calcite-tooltip.js +1 -1
  571. package/dist/components/calcite-tree-item.js +1 -1
  572. package/dist/components/calcite-tree.js +1 -1
  573. package/dist/components/calcite-value-list-item.js +1 -1
  574. package/dist/components/calcite-value-list.js +1 -1
  575. package/dist/components/checkbox.js +1 -1
  576. package/dist/components/chip.js +1 -1
  577. package/dist/components/color-picker-hex-input.js +1 -1
  578. package/dist/components/color-picker-swatch.js +1 -1
  579. package/dist/components/conditionalSlot.js +1 -1
  580. package/dist/components/date-picker-day.js +1 -1
  581. package/dist/components/date-picker-month-header.js +1 -1
  582. package/dist/components/date-picker-month.js +1 -1
  583. package/dist/components/date-picker.js +1 -1
  584. package/dist/components/date.js +1 -1
  585. package/dist/components/debounce.js +1 -1
  586. package/dist/components/dom.js +1 -1
  587. package/dist/components/dropdown.js +1 -1
  588. package/dist/components/filter.js +1 -1
  589. package/dist/components/filter2.js +1 -1
  590. package/dist/components/floating-ui.js +1 -1
  591. package/dist/components/focusTrapComponent.js +1 -1
  592. package/dist/components/form.js +1 -1
  593. package/dist/components/graph.js +1 -1
  594. package/dist/components/guid.js +1 -1
  595. package/dist/components/handle.js +1 -1
  596. package/dist/components/icon.js +1 -1
  597. package/dist/components/index.js +1 -1
  598. package/dist/components/input.js +1 -1
  599. package/dist/components/interactive.js +1 -1
  600. package/dist/components/key.js +1 -1
  601. package/dist/components/label.js +1 -1
  602. package/dist/components/label2.js +1 -1
  603. package/dist/components/link.js +1 -1
  604. package/dist/components/loadable.js +1 -1
  605. package/dist/components/loader.js +1 -1
  606. package/dist/components/locale.js +1 -1
  607. package/dist/components/math.js +1 -1
  608. package/dist/components/nonChromiumPlatformUtils.js +1 -1
  609. package/dist/components/observers.js +1 -1
  610. package/dist/components/openCloseComponent.js +1 -1
  611. package/dist/components/panel.js +1 -1
  612. package/dist/components/pick-list-item.js +1 -1
  613. package/dist/components/popover.js +1 -1
  614. package/dist/components/progress.js +1 -1
  615. package/dist/components/resources.js +1 -1
  616. package/dist/components/resources2.js +1 -1
  617. package/dist/components/resources3.js +1 -1
  618. package/dist/components/resources4.js +1 -1
  619. package/dist/components/scrim.js +1 -1
  620. package/dist/components/shared-list-render.js +1 -1
  621. package/dist/components/sortable.esm.js +1 -1
  622. package/dist/components/switch.js +1 -1
  623. package/dist/components/t9n.js +1 -1
  624. package/dist/components/tab-nav.js +1 -1
  625. package/dist/components/tab-title.js +1 -1
  626. package/dist/components/tab.js +1 -1
  627. package/dist/components/tabs.js +1 -1
  628. package/dist/components/tile.js +1 -1
  629. package/dist/components/time-picker.js +1 -1
  630. package/dist/components/tooltip.js +1 -1
  631. package/dist/components/utils.js +1 -1
  632. package/dist/components/utils2.js +1 -1
  633. package/dist/esm/{ExpandToggle-e3897555.js → ExpandToggle-7ee3cd6a.js} +5 -5
  634. package/dist/esm/{Heading-eb00516b.js → Heading-e1cf749e.js} +2 -2
  635. package/dist/esm/{app-globals-d7c7a3de.js → app-globals-0d8ac661.js} +2 -2
  636. package/dist/esm/{array-15ed2dee.js → array-a7dc0f27.js} +1 -1
  637. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  638. package/dist/esm/calcite-action-bar.entry.js +15 -15
  639. package/dist/esm/calcite-action-group.entry.js +12 -12
  640. package/dist/esm/calcite-action-menu.entry.js +9 -9
  641. package/dist/esm/calcite-action-pad.entry.js +14 -14
  642. package/dist/esm/calcite-action.entry.js +11 -11
  643. package/dist/esm/calcite-alert.entry.js +12 -12
  644. package/dist/esm/calcite-avatar.entry.js +6 -6
  645. package/dist/esm/calcite-block_2.entry.js +12 -12
  646. package/dist/esm/calcite-button.entry.js +13 -13
  647. package/dist/esm/calcite-card.entry.js +10 -10
  648. package/dist/esm/calcite-checkbox.entry.js +10 -10
  649. package/dist/esm/calcite-chip.entry.js +11 -11
  650. package/dist/esm/calcite-color-picker_3.entry.js +14 -14
  651. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  652. package/dist/esm/calcite-date-picker_4.entry.js +12 -12
  653. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  654. package/dist/esm/calcite-fab.entry.js +7 -7
  655. package/dist/esm/calcite-filter.entry.js +13 -13
  656. package/dist/esm/calcite-flow-item.entry.js +12 -12
  657. package/dist/esm/calcite-flow.entry.js +3 -3
  658. package/dist/esm/calcite-graph_2.entry.js +13 -13
  659. package/dist/esm/calcite-handle.entry.js +6 -6
  660. package/dist/esm/calcite-icon.entry.js +6 -6
  661. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  662. package/dist/esm/calcite-input-date-picker.entry.js +16 -16
  663. package/dist/esm/calcite-input-message.entry.js +5 -5
  664. package/dist/esm/calcite-input-number.entry.js +14 -14
  665. package/dist/esm/calcite-input-text.entry.js +13 -13
  666. package/dist/esm/calcite-input-time-picker_2.entry.js +13 -13
  667. package/dist/esm/calcite-input.entry.js +14 -14
  668. package/dist/esm/calcite-label.entry.js +6 -6
  669. package/dist/esm/calcite-link.entry.js +7 -7
  670. package/dist/esm/calcite-list_3.entry.js +9 -9
  671. package/dist/esm/calcite-loader.entry.js +3 -3
  672. package/dist/esm/calcite-modal.entry.js +14 -15
  673. package/dist/esm/calcite-notice.entry.js +12 -12
  674. package/dist/esm/calcite-option_3.entry.js +10 -10
  675. package/dist/esm/calcite-pagination.entry.js +9 -9
  676. package/dist/esm/calcite-panel.entry.js +14 -14
  677. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  678. package/dist/esm/calcite-popover.entry.js +15 -15
  679. package/dist/esm/calcite-progress.entry.js +2 -2
  680. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  681. package/dist/esm/calcite-radio-button.entry.js +10 -10
  682. package/dist/esm/calcite-radio-group_2.entry.js +9 -9
  683. package/dist/esm/calcite-rating.entry.js +13 -13
  684. package/dist/esm/calcite-scrim.entry.js +9 -9
  685. package/dist/esm/calcite-shell_3.entry.js +37 -14
  686. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  687. package/dist/esm/calcite-split-button.entry.js +3 -3
  688. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  689. package/dist/esm/calcite-switch.entry.js +10 -10
  690. package/dist/esm/calcite-tab_4.entry.js +7 -7
  691. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  692. package/dist/esm/calcite-tile.entry.js +8 -8
  693. package/dist/esm/calcite-tip_3.entry.js +11 -11
  694. package/dist/esm/calcite-tooltip.entry.js +8 -8
  695. package/dist/esm/calcite-tree_2.entry.js +8 -8
  696. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  697. package/dist/esm/calcite.js +5 -5
  698. package/dist/esm/{conditionalSlot-367a38b9.js → conditionalSlot-bf86d745.js} +3 -3
  699. package/dist/esm/{debounce-df945859.js → debounce-10d512d2.js} +1 -1
  700. package/dist/esm/{dom-bbac650a.js → dom-d49b46f5.js} +3 -3
  701. package/dist/esm/{filter-65781075.js → filter-3969efe7.js} +2 -2
  702. package/dist/esm/{floating-ui-c75daa14.js → floating-ui-13eaf884.js} +4 -4
  703. package/dist/esm/{focusTrapComponent-81487d21.js → focusTrapComponent-c796d748.js} +2 -2
  704. package/dist/esm/{form-7de470f4.js → form-7ed69015.js} +3 -3
  705. package/dist/esm/{guid-c953219e.js → guid-34deb7e1.js} +1 -1
  706. package/dist/esm/{index-2b8797e7.js → index-d964fa3e.js} +1 -1
  707. package/dist/esm/index.js +1 -1
  708. package/dist/esm/{interactive-e305c325.js → interactive-947a1fd7.js} +1 -1
  709. package/dist/esm/{key-de26241b.js → key-5106f003.js} +1 -1
  710. package/dist/esm/{label-c7c3a06d.js → label-b82bb255.js} +2 -2
  711. package/dist/esm/{loadable-26f3ee5d.js → loadable-26dcda23.js} +1 -1
  712. package/dist/esm/loader.js +5 -5
  713. package/dist/esm/{locale-3f874fcc.js → locale-5824fdbb.js} +4 -4
  714. package/dist/esm/{math-bbcfd100.js → math-03730719.js} +1 -1
  715. package/dist/esm/{nonChromiumPlatformUtils-8ab4409e.js → nonChromiumPlatformUtils-cb8cb9d7.js} +6 -6
  716. package/dist/esm/{observers-02a4a7e3.js → observers-615b8674.js} +1 -1
  717. package/dist/esm/{openCloseComponent-e3e1997d.js → openCloseComponent-0735aba6.js} +2 -2
  718. package/dist/esm/{resources-ab882e5e.js → resources-463e7693.js} +1 -1
  719. package/dist/esm/{resources-d1a9e2e7.js → resources-7c5a7686.js} +1 -1
  720. package/dist/esm/{resources-a2222054.js → resources-7ef25011.js} +1 -1
  721. package/dist/esm/{resources-3624b5cb.js → resources-abb979f1.js} +1 -1
  722. package/dist/esm/{resources-d6812cce.js → resources-de9768b1.js} +5 -5
  723. package/dist/esm/{resources-66eb8e00.js → resources-f108fa09.js} +1 -1
  724. package/dist/esm/{sortable.esm-065906cc.js → sortable.esm-a04ec1e0.js} +1 -1
  725. package/dist/esm/{t9n-c2236113.js → t9n-fbd94477.js} +3 -3
  726. package/dist/esm/{utils-c07dc914.js → utils-732dfcb8.js} +3 -3
  727. package/dist/esm/{utils-4ce2be9e.js → utils-c7b7d6d8.js} +1 -1
  728. package/dist/extras/docs-json.json +25 -24
  729. package/dist/loader/cdn.js +1 -1
  730. package/dist/loader/index.cjs.js +1 -1
  731. package/dist/loader/index.es2017.js +1 -1
  732. package/dist/loader/index.js +1 -1
  733. package/dist/types/components/modal/modal.d.ts +0 -3
  734. package/dist/types/components/shell-panel/resources.d.ts +0 -3
  735. package/dist/types/components/shell-panel/shell-panel.d.ts +20 -1
  736. package/dist/types/components.d.ts +27 -21
  737. package/hydrate/index.js +34 -12
  738. package/package.json +1 -1
  739. package/dist/calcite/p-447611f8.entry.js +0 -6
  740. package/dist/calcite/p-44c63a61.entry.js +0 -6
  741. package/dist/calcite/p-47a03525.entry.js +0 -6
  742. package/dist/calcite/p-ed37a338.entry.js +0 -6
  743. package/dist/calcite/p-f656db2c.entry.js +0 -6
  744. package/dist/calcite/p-fc8abdca.js +0 -6
  745. package/dist/collection/components/modal/interfaces.js +0 -1
  746. package/dist/types/components/modal/interfaces.d.ts +0 -1
@@ -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.696
4
+ * v1.0.0-next.698
5
5
  */
6
- import{q as e,c as n}from"./p-9cd2ab34.js";const t="calciteInternalLabelConnected",c="calciteInternaLabelDisconnected",a=new WeakMap,l=new WeakMap,o=new WeakMap,i=new Set;function s(t){const c=(t=>{const{id:c}=t,a=c&&e(t,{selector:`calcite-label[for="${c}"]`});if(a)return a;const l=n(t,"calcite-label");return!l||function(e,n){let t;const c="custom-element-ancestor-check",a=c=>{c.stopImmediatePropagation();const a=c.composedPath();t=a.slice(a.indexOf(n),a.indexOf(e))};return e.addEventListener(c,a,{once:!0}),n.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),e.removeEventListener(c,a),t.filter((t=>t!==n&&t!==e)).filter((e=>e.tagName?.includes("-"))).length>0}(l,t)?null:l})(t.el);if(a.has(c)||!c&&i.has(t))return;const s=f.bind(t);if(c){t.labelEl=c;const e=d.bind(t);a.set(t.labelEl,e),t.labelEl.addEventListener("calciteInternalLabelClick",e),i.delete(t),document.removeEventListener("calciteInternalLabelConnected",l.get(t)),o.set(t,s),document.addEventListener("calciteInternaLabelDisconnected",s)}else i.has(t)||(s(),document.removeEventListener("calciteInternaLabelDisconnected",o.get(t)))}function r(e){if(i.delete(e),document.removeEventListener("calciteInternalLabelConnected",l.get(e)),document.removeEventListener("calciteInternaLabelDisconnected",o.get(e)),l.delete(e),o.delete(e),!e.labelEl)return;const n=a.get(e.labelEl);e.labelEl.removeEventListener("calciteInternalLabelClick",n),a.delete(e.labelEl)}function u(e){return e.label||e.labelEl?.textContent?.trim()||""}function d(e){this.disabled||this.el.contains(e.detail.sourceEvent.target)||this.onLabelClick(e)}function b(){i.has(this)&&s(this)}function f(){i.add(this);const e=l.get(this)||b.bind(this);l.set(this,e),document.addEventListener("calciteInternalLabelConnected",e)}export{c as a,s as c,r as d,u as g,t as l}
6
+ import{q as e,c as n}from"./p-ba31fb6f.js";const t="calciteInternalLabelConnected",c="calciteInternaLabelDisconnected",a=new WeakMap,l=new WeakMap,o=new WeakMap,i=new Set;function s(t){const c=(t=>{const{id:c}=t,a=c&&e(t,{selector:`calcite-label[for="${c}"]`});if(a)return a;const l=n(t,"calcite-label");return!l||function(e,n){let t;const c="custom-element-ancestor-check",a=c=>{c.stopImmediatePropagation();const a=c.composedPath();t=a.slice(a.indexOf(n),a.indexOf(e))};return e.addEventListener(c,a,{once:!0}),n.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),e.removeEventListener(c,a),t.filter((t=>t!==n&&t!==e)).filter((e=>e.tagName?.includes("-"))).length>0}(l,t)?null:l})(t.el);if(a.has(c)||!c&&i.has(t))return;const s=f.bind(t);if(c){t.labelEl=c;const e=b.bind(t);a.set(t.labelEl,e),t.labelEl.addEventListener("calciteInternalLabelClick",e),i.delete(t),document.removeEventListener("calciteInternalLabelConnected",l.get(t)),o.set(t,s),document.addEventListener("calciteInternaLabelDisconnected",s)}else i.has(t)||(s(),document.removeEventListener("calciteInternaLabelDisconnected",o.get(t)))}function r(e){if(i.delete(e),document.removeEventListener("calciteInternalLabelConnected",l.get(e)),document.removeEventListener("calciteInternaLabelDisconnected",o.get(e)),l.delete(e),o.delete(e),!e.labelEl)return;const n=a.get(e.labelEl);e.labelEl.removeEventListener("calciteInternalLabelClick",n),a.delete(e.labelEl)}function u(e){return e.label||e.labelEl?.textContent?.trim()||""}function b(e){this.disabled||this.el.contains(e.detail.sourceEvent.target)||this.onLabelClick(e)}function d(){i.has(this)&&s(this)}function f(){i.add(this);const e=l.get(this)||d.bind(this);l.set(this,e),document.addEventListener("calciteInternalLabelConnected",e)}export{c as a,s as c,r as d,u as g,t as l}
@@ -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.696
4
+ * v1.0.0-next.698
5
5
  */
6
- import{f as t,h as o}from"./p-9e6b5374.js";import{b as e}from"./p-9cd2ab34.js";import{S as n}from"./p-ab1f06a0.js";import{S as a}from"./p-847856ac.js";const i=150,c=t=>t.reduce(((t,o)=>t+o),0)/t.length,l=t=>{const o=t?.length;return{actionWidth:o?c(t.map((t=>t.clientWidth||0))):0,actionHeight:o?c(t.map((t=>t.clientHeight||0))):0}},r=({layout:t,actionCount:o,actionWidth:e,width:n,actionHeight:a,height:i,groupCount:c})=>Math.max(o-(({width:t,actionWidth:o,layout:e,height:n,actionHeight:a,groupCount:i})=>Math.floor((("horizontal"===e?t:n)-2*i)/("horizontal"===e?o:a)))({width:n,actionWidth:e,layout:t,height:i,actionHeight:a,groupCount:c}),0),s=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===n.trigger)),p=({actionGroups:o,expanded:e,overflowCount:n})=>{let i=n;o.reverse().forEach((o=>{let n=0;const c=s(o).reverse();c.forEach((t=>{t.slot===a.menuActions&&(t.removeAttribute("slot"),t.textEnabled=e)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",a.menuActions),n++,n>1&&i--),i<1))),t(o)}))};function h({parent:t,expanded:o}){s(t).filter((t=>t.slot!==a.menuActions)).forEach((t=>t.textEnabled=o)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=o))}const u=({expanded:t,intlExpand:n,intlCollapse:a,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:p})=>{const h="rtl"===e(c),u=t?a:n,d=["chevrons-left","chevrons-right"];h&&d.reverse();const f="end"===function(t,o){return t||o.closest("calcite-shell-panel")?.position||"start"}(l,c);return o("calcite-action",{icon:t?f?d[1]:d[0]:f?d[0]:d[1],onClick:i,ref:o=>(({tooltip:t,referenceElement:o,expanded:e,ref:n})=>(t&&(t.referenceElement=!e&&o?o:null),n&&n(o),o))({tooltip:r,referenceElement:o,expanded:t,ref:s}),scale:p,text:u,textEnabled:t})};export{u as E,p as a,r as b,l as g,i as o,s as q,h as t}
6
+ import{f as t,h as o}from"./p-8d4388e3.js";import{b as e}from"./p-ba31fb6f.js";import{S as n}from"./p-275517e6.js";import{S as a}from"./p-f613fb0f.js";const i=150,c=t=>t.reduce(((t,o)=>t+o),0)/t.length,l=t=>{const o=t?.length;return{actionWidth:o?c(t.map((t=>t.clientWidth||0))):0,actionHeight:o?c(t.map((t=>t.clientHeight||0))):0}},r=({layout:t,actionCount:o,actionWidth:e,width:n,actionHeight:a,height:i,groupCount:c})=>Math.max(o-(({width:t,actionWidth:o,layout:e,height:n,actionHeight:a,groupCount:i})=>Math.floor((("horizontal"===e?t:n)-2*i)/("horizontal"===e?o:a)))({width:n,actionWidth:e,layout:t,height:i,actionHeight:a,groupCount:c}),0),s=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===n.trigger)),p=({actionGroups:o,expanded:e,overflowCount:n})=>{let i=n;o.reverse().forEach((o=>{let n=0;const c=s(o).reverse();c.forEach((t=>{t.slot===a.menuActions&&(t.removeAttribute("slot"),t.textEnabled=e)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",a.menuActions),n++,n>1&&i--),i<1))),t(o)}))};function h({parent:t,expanded:o}){s(t).filter((t=>t.slot!==a.menuActions)).forEach((t=>t.textEnabled=o)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=o))}const u=({expanded:t,intlExpand:n,intlCollapse:a,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:p})=>{const h="rtl"===e(c),u=t?a:n,d=["chevrons-left","chevrons-right"];h&&d.reverse();const f="end"===function(t,o){return t||o.closest("calcite-shell-panel")?.position||"start"}(l,c);return o("calcite-action",{icon:t?f?d[1]:d[0]:f?d[0]:d[1],onClick:i,ref:o=>(({tooltip:t,referenceElement:o,expanded:e,ref:n})=>(t&&(t.referenceElement=!e&&o?o:null),n&&n(o),o))({tooltip:r,referenceElement:o,expanded:t,ref:s}),scale:p,text:u,textEnabled:t})};export{u as E,p as a,r as b,l as g,i as o,s as q,h as t}
@@ -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.696
4
+ * v1.0.0-next.698
5
5
  */
6
- import{r as t,c as i,h as n,g as e}from"./p-9e6b5374.js";import{g as a}from"./p-42bb5409.js";import{u as o}from"./p-5d2da6aa.js";import{c,s as l,a as s}from"./p-7d7379b2.js";const r=class{constructor(n){t(this,n),this.calciteTileSelectChange=i(this,"calciteTileSelectChange",6),this.guid=`calcite-tile-select-${a()}`,this.checked=!1,this.description=void 0,this.disabled=!1,this.heading=void 0,this.hidden=!1,this.icon=void 0,this.iconFlipRtl=!1,this.name=void 0,this.inputEnabled=!1,this.inputAlignment="start",this.type="radio",this.value=void 0,this.width="auto",this.focused=!1}checkedChanged(t){this.input.checked=t}nameChanged(t){this.input.name=t}async setFocus(){await c(this),this.input?.setFocus()}checkboxChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}checkboxFocusBlurHandler(t){t.target===this.input&&(this.focused=t.detail),t.stopPropagation()}radioButtonChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}radioButtonCheckedChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation()}radioButtonFocusBlurHandler(t){const i=t.target;i===this.input&&(this.focused=i.focused),t.stopPropagation()}click(t){["calcite-tile","calcite-tile-select"].includes(t.target.localName)&&this.input.click()}mouseenter(){"calcite-radio-button"===this.input.localName&&(this.input.hovered=!0),"calcite-checkbox"===this.input.localName&&(this.input.hovered=!0)}mouseleave(){"calcite-radio-button"===this.input.localName&&(this.input.hovered=!1),"calcite-checkbox"===this.input.localName&&(this.input.hovered=!1)}connectedCallback(){this.renderInput()}componentWillLoad(){l(this)}componentDidLoad(){s(this)}disconnectedCallback(){this.input.parentNode.removeChild(this.input)}componentDidRender(){o(this)}renderInput(){this.input=document.createElement("radio"===this.type?"calcite-radio-button":"calcite-checkbox"),this.input.checked=this.checked,this.input.disabled=this.disabled,this.input.hidden=this.hidden,this.input.id=this.guid,this.input.label=this.heading||this.name||"",this.name&&(this.input.name=this.name),this.value&&(this.input.value=null!=this.value?this.value.toString():""),this.el.insertAdjacentElement("beforeend",this.input)}render(){const{checked:t,description:i,disabled:e,focused:a,heading:o,icon:c,inputAlignment:l,inputEnabled:s,width:r,iconFlipRtl:d}=this;return n("div",{class:{checked:t,container:!0,description:Boolean(i),"description-only":Boolean(!o&&!c&&i),disabled:e,focused:a,heading:Boolean(o),"heading-only":o&&!c&&!i,icon:Boolean(c),"icon-only":!o&&c&&!i,"input-alignment-end":"end"===l,"input-alignment-start":"start"===l,"input-enabled":s,"large-visual":o&&c&&!i,"width-auto":"auto"===r,"width-full":"full"===r}},n("calcite-tile",{active:t,description:i,embed:!0,heading:o,icon:c,iconFlipRtl:d}),n("slot",null))}get el(){return e(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};r.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([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:block}:host .container{background-color:var(--calcite-ui-foreground-1);box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-sizing:border-box;cursor:pointer;display:inline-block;block-size:100%;max-inline-size:300px;padding:0.75rem;position:relative;vertical-align:top;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host .container.checked{z-index:1;box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host .container.heading-only{align-items:center}:host .container:not(.input-enabled) ::slotted(calcite-checkbox),:host .container:not(.input-enabled) ::slotted(calcite-radio-button){position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host .container.focused{outline-color:transparent}:host .container.focused:not(.disabled):not(.input-enabled){outline:2px solid var(--calcite-ui-brand);outline-offset:-4px;box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1)}:host .container.input-enabled.input-alignment-start.width-auto.heading-only,:host .container.input-enabled.input-alignment-start.width-auto.icon-only,:host .container.input-enabled.input-alignment-start.width-auto.description-only,:host .container.input-enabled.input-alignment-start.width-auto.heading.description,:host .container.input-enabled.input-alignment-start.width-auto.icon.description,:host .container.input-enabled.input-alignment-start.width-auto.heading.icon.description{display:inline-grid;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-start.heading-only,:host .container.input-enabled.input-alignment-start.icon-only,:host .container.input-enabled.input-alignment-start.description-only,:host .container.input-enabled.input-alignment-start.heading.description,:host .container.input-enabled.input-alignment-start.icon.description,:host .container.input-enabled.input-alignment-start.heading.icon.description{gap:0.75rem}:host .container.input-enabled.input-alignment-start calcite-tile{order:1}:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-start:0.75rem}:host .container.input-enabled.input-alignment-end.width-auto.heading-only,:host .container.input-enabled.input-alignment-end.width-auto.icon-only{display:inline-grid;grid-gap:0.75rem;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-end.heading-only,:host .container.input-enabled.input-alignment-end.icon-only{gap:0.75rem}:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.width-full{display:flex;max-inline-size:none}:host .container.width-full calcite-tile{flex:1 1 auto}:host(:hover) .container:not(.input-enabled){box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";const d=class{constructor(i){t(this,i),this.disabled=!1,this.layout="horizontal"}componentDidRender(){o(this)}render(){return n("slot",null)}get el(){return e(this)}};d.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([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;flex-wrap:wrap}:host ::slotted(calcite-tile-select){margin-block-end:1px;margin-inline-end:1px}:host([layout=vertical]){flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{r as calcite_tile_select,d as calcite_tile_select_group}
6
+ import{r as t,c as i,h as n,g as e}from"./p-8d4388e3.js";import{g as a}from"./p-f1f70545.js";import{u as o}from"./p-0bae946f.js";import{c,s as l,a as s}from"./p-3eff0d52.js";const r=class{constructor(n){t(this,n),this.calciteTileSelectChange=i(this,"calciteTileSelectChange",6),this.guid=`calcite-tile-select-${a()}`,this.checked=!1,this.description=void 0,this.disabled=!1,this.heading=void 0,this.hidden=!1,this.icon=void 0,this.iconFlipRtl=!1,this.name=void 0,this.inputEnabled=!1,this.inputAlignment="start",this.type="radio",this.value=void 0,this.width="auto",this.focused=!1}checkedChanged(t){this.input.checked=t}nameChanged(t){this.input.name=t}async setFocus(){await c(this),this.input?.setFocus()}checkboxChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}checkboxFocusBlurHandler(t){t.target===this.input&&(this.focused=t.detail),t.stopPropagation()}radioButtonChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}radioButtonCheckedChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation()}radioButtonFocusBlurHandler(t){const i=t.target;i===this.input&&(this.focused=i.focused),t.stopPropagation()}click(t){["calcite-tile","calcite-tile-select"].includes(t.target.localName)&&this.input.click()}mouseenter(){"calcite-radio-button"===this.input.localName&&(this.input.hovered=!0),"calcite-checkbox"===this.input.localName&&(this.input.hovered=!0)}mouseleave(){"calcite-radio-button"===this.input.localName&&(this.input.hovered=!1),"calcite-checkbox"===this.input.localName&&(this.input.hovered=!1)}connectedCallback(){this.renderInput()}componentWillLoad(){l(this)}componentDidLoad(){s(this)}disconnectedCallback(){this.input.parentNode.removeChild(this.input)}componentDidRender(){o(this)}renderInput(){this.input=document.createElement("radio"===this.type?"calcite-radio-button":"calcite-checkbox"),this.input.checked=this.checked,this.input.disabled=this.disabled,this.input.hidden=this.hidden,this.input.id=this.guid,this.input.label=this.heading||this.name||"",this.name&&(this.input.name=this.name),this.value&&(this.input.value=null!=this.value?this.value.toString():""),this.el.insertAdjacentElement("beforeend",this.input)}render(){const{checked:t,description:i,disabled:e,focused:a,heading:o,icon:c,inputAlignment:l,inputEnabled:s,width:r,iconFlipRtl:d}=this;return n("div",{class:{checked:t,container:!0,description:Boolean(i),"description-only":Boolean(!o&&!c&&i),disabled:e,focused:a,heading:Boolean(o),"heading-only":o&&!c&&!i,icon:Boolean(c),"icon-only":!o&&c&&!i,"input-alignment-end":"end"===l,"input-alignment-start":"start"===l,"input-enabled":s,"large-visual":o&&c&&!i,"width-auto":"auto"===r,"width-full":"full"===r}},n("calcite-tile",{active:t,description:i,embed:!0,heading:o,icon:c,iconFlipRtl:d}),n("slot",null))}get el(){return e(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};r.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([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:block}:host .container{background-color:var(--calcite-ui-foreground-1);box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-sizing:border-box;cursor:pointer;display:inline-block;block-size:100%;max-inline-size:300px;padding:0.75rem;position:relative;vertical-align:top;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host .container.checked{z-index:1;box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host .container.heading-only{align-items:center}:host .container:not(.input-enabled) ::slotted(calcite-checkbox),:host .container:not(.input-enabled) ::slotted(calcite-radio-button){position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host .container.focused{outline-color:transparent}:host .container.focused:not(.disabled):not(.input-enabled){outline:2px solid var(--calcite-ui-brand);outline-offset:-4px;box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1)}:host .container.input-enabled.input-alignment-start.width-auto.heading-only,:host .container.input-enabled.input-alignment-start.width-auto.icon-only,:host .container.input-enabled.input-alignment-start.width-auto.description-only,:host .container.input-enabled.input-alignment-start.width-auto.heading.description,:host .container.input-enabled.input-alignment-start.width-auto.icon.description,:host .container.input-enabled.input-alignment-start.width-auto.heading.icon.description{display:inline-grid;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-start.heading-only,:host .container.input-enabled.input-alignment-start.icon-only,:host .container.input-enabled.input-alignment-start.description-only,:host .container.input-enabled.input-alignment-start.heading.description,:host .container.input-enabled.input-alignment-start.icon.description,:host .container.input-enabled.input-alignment-start.heading.icon.description{gap:0.75rem}:host .container.input-enabled.input-alignment-start calcite-tile{order:1}:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-start:0.75rem}:host .container.input-enabled.input-alignment-end.width-auto.heading-only,:host .container.input-enabled.input-alignment-end.width-auto.icon-only{display:inline-grid;grid-gap:0.75rem;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-end.heading-only,:host .container.input-enabled.input-alignment-end.icon-only{gap:0.75rem}:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.width-full{display:flex;max-inline-size:none}:host .container.width-full calcite-tile{flex:1 1 auto}:host(:hover) .container:not(.input-enabled){box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";const d=class{constructor(i){t(this,i),this.disabled=!1,this.layout="horizontal"}componentDidRender(){o(this)}render(){return n("slot",null)}get el(){return e(this)}};d.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([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;flex-wrap:wrap}:host ::slotted(calcite-tile-select){margin-block-end:1px;margin-inline-end:1px}:host([layout=vertical]){flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{r as calcite_tile_select,d as calcite_tile_select_group}
@@ -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.696
4
+ * v1.0.0-next.698
5
5
  */
6
- import{e as t}from"./p-9e6b5374.js";const n=new WeakMap;function i(t){t.propertyName===this.openTransitionProp&&t.target===this.transitionEl&&(this.open?this.onBeforeOpen():this.onBeforeClose())}function s(t){t.propertyName===this.openTransitionProp&&t.target===this.transitionEl&&(this.open?this.onOpen():this.onClose())}function o(n){t((()=>{if(n.transitionEl){const t=getComputedStyle(n.transitionEl).transition.split(" "),i=t.findIndex((t=>t===n.openTransitionProp));"0s"===t[i+1]?(n.open?n.onBeforeOpen():n.onBeforeClose(),n.open?n.onOpen():n.onClose()):(n.transitionEl.addEventListener("transitionstart",(()=>{n.open?n.onBeforeOpen():n.onBeforeClose()}),{once:!0}),n.transitionEl.addEventListener("transitionend",(()=>{n.open?n.onOpen():n.onClose()}),{once:!0}))}}))}function a(t){if(e(t),t.transitionEl){const o=i.bind(t),a=s.bind(t);n.set(t,[t.transitionEl,o,a]),t.transitionEl.addEventListener("transitionstart",o),t.transitionEl.addEventListener("transitionend",a)}}function e(t){if(!n.has(t))return;const[i,s,o]=n.get(t);i.removeEventListener("transitionstart",s),i.removeEventListener("transitionend",o),n.delete(t)}export{a as c,e as d,o}
6
+ import{e as t}from"./p-8d4388e3.js";const n=new WeakMap;function i(t){t.propertyName===this.openTransitionProp&&t.target===this.transitionEl&&(this.open?this.onBeforeOpen():this.onBeforeClose())}function s(t){t.propertyName===this.openTransitionProp&&t.target===this.transitionEl&&(this.open?this.onOpen():this.onClose())}function o(n){t((()=>{if(n.transitionEl){const t=getComputedStyle(n.transitionEl).transition.split(" "),i=t.findIndex((t=>t===n.openTransitionProp));"0s"===t[i+1]?(n.open?n.onBeforeOpen():n.onBeforeClose(),n.open?n.onOpen():n.onClose()):(n.transitionEl.addEventListener("transitionstart",(()=>{n.open?n.onBeforeOpen():n.onBeforeClose()}),{once:!0}),n.transitionEl.addEventListener("transitionend",(()=>{n.open?n.onOpen():n.onClose()}),{once:!0}))}}))}function a(t){if(e(t),t.transitionEl){const o=i.bind(t),a=s.bind(t);n.set(t,[t.transitionEl,o,a]),t.transitionEl.addEventListener("transitionstart",o),t.transitionEl.addEventListener("transitionend",a)}}function e(t){if(!n.has(t))return;const[i,s,o]=n.get(t);i.removeEventListener("transitionstart",s),i.removeEventListener("transitionend",o),n.delete(t)}export{a as c,e as d,o}
@@ -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.696
4
+ * v1.0.0-next.698
5
5
  */
6
- import{r as i,h as t,H as a,g as e}from"./p-9e6b5374.js";import{d as n,h as c}from"./p-9cd2ab34.js";import"./p-cefe8ab2.js";import"./p-42bb5409.js";var s;!function(i){i.valid="check-circle",i.invalid="exclamation-mark-triangle",i.idle="information"}(s||(s={}));const o=class{constructor(t){i(this,t),this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.status="idle"}handleIconEl(){this.requestedIcon=n(s,this.icon,this.status)}connectedCallback(){this.scale=c(this.el,"scale",this.scale),this.requestedIcon=n(s,this.icon,this.status)}render(){return t(a,{"calcite-hydrated-hidden":this.el.hidden},this.renderIcon(this.requestedIcon),t("slot",null))}renderIcon(i){if(i)return t("calcite-icon",{class:"calcite-input-message-icon",flipRtl:this.iconFlipRtl,icon:i,scale:"s"})}get el(){return e(this)}static get watchers(){return{status:["handleIconEl"],icon:["handleIconEl"]}}};o.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=m]),:host([scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{visibility:hidden;box-sizing:border-box;display:flex;block-size:0px;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);visibility:visible;height:auto;opacity:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([scale=m]),:host([scale=l]){margin-block-start:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status]){color:var(--calcite-ui-text-1)}:host([status][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][scale=m]){margin-block-start:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([status][scale=l]){margin-block-start:0.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}";export{o as calcite_input_message}
6
+ import{r as i,h as t,H as a,g as e}from"./p-8d4388e3.js";import{d as n,h as c}from"./p-ba31fb6f.js";import"./p-436d54f4.js";import"./p-f1f70545.js";var s;!function(i){i.valid="check-circle",i.invalid="exclamation-mark-triangle",i.idle="information"}(s||(s={}));const o=class{constructor(t){i(this,t),this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.status="idle"}handleIconEl(){this.requestedIcon=n(s,this.icon,this.status)}connectedCallback(){this.scale=c(this.el,"scale",this.scale),this.requestedIcon=n(s,this.icon,this.status)}render(){return t(a,{"calcite-hydrated-hidden":this.el.hidden},this.renderIcon(this.requestedIcon),t("slot",null))}renderIcon(i){if(i)return t("calcite-icon",{class:"calcite-input-message-icon",flipRtl:this.iconFlipRtl,icon:i,scale:"s"})}get el(){return e(this)}static get watchers(){return{status:["handleIconEl"],icon:["handleIconEl"]}}};o.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=m]),:host([scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{visibility:hidden;box-sizing:border-box;display:flex;block-size:0px;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);visibility:visible;height:auto;opacity:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([scale=m]),:host([scale=l]){margin-block-start:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status]){color:var(--calcite-ui-text-1)}:host([status][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][scale=m]){margin-block-start:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([status][scale=l]){margin-block-start:0.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}";export{o as calcite_input_message}
@@ -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.696
4
+ * v1.0.0-next.698
5
5
  */
6
6
  function n(n){return"Enter"===n||" "===n}const t=["0","1","2","3","4","5","6","7","8","9"];export{n as i,t as n}
@@ -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.696
4
+ * v1.0.0-next.698
5
5
  */
6
- import{r as t,h as i,F as e,g as n}from"./p-9e6b5374.js";import{g as a}from"./p-9cd2ab34.js";import{c as o,d as c}from"./p-fc8abdca.js";import{u as r}from"./p-5d2da6aa.js";import"./p-cefe8ab2.js";import"./p-42bb5409.js";import"./p-8d98cd15.js";const s=class{constructor(i){t(this,i),this.active=!1,this.description=void 0,this.disabled=!1,this.embed=!1,this.focused=!1,this.heading=void 0,this.hidden=!1,this.href=void 0,this.icon=void 0,this.iconFlipRtl=!1}connectedCallback(){o(this)}disconnectedCallback(){c(this)}componentDidRender(){r(this)}renderTile(){const{icon:t,el:e,heading:n,description:o,iconFlipRtl:c}=this,r=n&&t&&!o;return i("div",{class:{container:!0,"large-visual":r}},t&&i("div",{class:"icon"},i("calcite-icon",{flipRtl:c,icon:t,scale:"l",style:r?{height:"64px",width:"64px"}:void 0})),i("div",{class:"content-container"},a(e,"content-start")?i("div",{class:"content-slot-container"},i("slot",{name:"content-start"})):null,i("div",{class:"content"},n&&i("div",{class:"heading"},n),o&&i("div",{class:"description"},o)),a(e,"content-end")?i("div",{class:"content-slot-container"},i("slot",{name:"content-end"})):null))}render(){return i(e,null,this.href?i("calcite-link",{disabled:this.disabled,href:this.href},this.renderTile()):this.renderTile())}get el(){return n(this)}};s.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([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{box-sizing:border-box;display:inline-block;-webkit-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .container{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}:host .content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;gap:0.5rem;inline-size:10%}:host .content-container{display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-color:transparent}:host .content-slot-container{display:flex;align-items:center;background-color:var(--calcite-ui-foreground-1)}:host .content-slot-container:first-child{padding-inline:0 0.75rem}:host .content-slot-container:last-child{padding-inline:0.75rem 0}:host .heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .large-visual{align-items:center;text-align:center;min-block-size:12rem}:host .large-visual .icon{display:flex;justify-content:center;align-self:flex-end}:host .large-visual .content-container{align-self:center}:host .description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host(:not([embed])){padding:0.75rem;box-shadow:0 0 0 1px var(--calcite-ui-border-2)}:host(:not([embed])[href]:hover){cursor:pointer;box-shadow:0 0 0 2px var(--calcite-ui-brand)}:host(:not([embed])[href]:active){box-shadow:0 0 0 3px var(--calcite-ui-brand)}:host([icon][heading]:not([description]):not([embed])){padding:0px}:host([icon][heading]:not([description])) .icon{display:flex;justify-content:center}:host([icon][heading]:not([description])) .large-visual{text-align:center}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host(:hover) .heading,:host([active]) .heading{color:var(--calcite-ui-text-1)}:host(:hover) .description,:host([active]) .description{color:var(--calcite-ui-text-2)}";export{s as calcite_tile}
6
+ import{r as t,h as i,F as e,g as n}from"./p-8d4388e3.js";import{g as a}from"./p-ba31fb6f.js";import{c as o,d as c}from"./p-c61d1069.js";import{u as r}from"./p-0bae946f.js";import"./p-436d54f4.js";import"./p-f1f70545.js";import"./p-f411a244.js";const s=class{constructor(i){t(this,i),this.active=!1,this.description=void 0,this.disabled=!1,this.embed=!1,this.focused=!1,this.heading=void 0,this.hidden=!1,this.href=void 0,this.icon=void 0,this.iconFlipRtl=!1}connectedCallback(){o(this)}disconnectedCallback(){c(this)}componentDidRender(){r(this)}renderTile(){const{icon:t,el:e,heading:n,description:o,iconFlipRtl:c}=this,r=n&&t&&!o;return i("div",{class:{container:!0,"large-visual":r}},t&&i("div",{class:"icon"},i("calcite-icon",{flipRtl:c,icon:t,scale:"l",style:r?{height:"64px",width:"64px"}:void 0})),i("div",{class:"content-container"},a(e,"content-start")?i("div",{class:"content-slot-container"},i("slot",{name:"content-start"})):null,i("div",{class:"content"},n&&i("div",{class:"heading"},n),o&&i("div",{class:"description"},o)),a(e,"content-end")?i("div",{class:"content-slot-container"},i("slot",{name:"content-end"})):null))}render(){return i(e,null,this.href?i("calcite-link",{disabled:this.disabled,href:this.href},this.renderTile()):this.renderTile())}get el(){return n(this)}};s.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([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{box-sizing:border-box;display:inline-block;-webkit-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .container{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}:host .content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;gap:0.5rem;inline-size:10%}:host .content-container{display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-color:transparent}:host .content-slot-container{display:flex;align-items:center;background-color:var(--calcite-ui-foreground-1)}:host .content-slot-container:first-child{padding-inline:0 0.75rem}:host .content-slot-container:last-child{padding-inline:0.75rem 0}:host .heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .large-visual{align-items:center;text-align:center;min-block-size:12rem}:host .large-visual .icon{display:flex;justify-content:center;align-self:flex-end}:host .large-visual .content-container{align-self:center}:host .description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host(:not([embed])){padding:0.75rem;box-shadow:0 0 0 1px var(--calcite-ui-border-2)}:host(:not([embed])[href]:hover){cursor:pointer;box-shadow:0 0 0 2px var(--calcite-ui-brand)}:host(:not([embed])[href]:active){box-shadow:0 0 0 3px var(--calcite-ui-brand)}:host([icon][heading]:not([description]):not([embed])){padding:0px}:host([icon][heading]:not([description])) .icon{display:flex;justify-content:center}:host([icon][heading]:not([description])) .large-visual{text-align:center}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host(:hover) .heading,:host([active]) .heading{color:var(--calcite-ui-text-1)}:host(:hover) .description,:host([active]) .description{color:var(--calcite-ui-text-2)}";export{s as calcite_tile}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.0.0-next.698
5
+ */
6
+ import{r as i,c as t,h as a,F as e,g as n}from"./p-8d4388e3.js";import{u as s}from"./p-0bae946f.js";import{f as o}from"./p-7c914314.js";import{c as r,d as c}from"./p-a8378be1.js";import{u as l,s as d,c as m,d as h}from"./p-11587e9f.js";import{s as p,a as f,c as u}from"./p-3eff0d52.js";import{d as g}from"./p-400cda16.js";import"./p-66a7cd45.js";import"./p-f411a244.js";import"./p-ba31fb6f.js";import"./p-436d54f4.js";import"./p-f1f70545.js";const b=class{constructor(a){i(this,a),this.calciteFilterChange=t(this,"calciteFilterChange",6),this.filter=g(((i,t=!1)=>this.updateFiltered(o(this.items,i),t)),250),this.inputHandler=i=>{const t=i.target;this.value=t.value,this.filter(t.value,!0)},this.keyDownHandler=i=>{"Escape"===i.key&&(this.clear(),i.preventDefault()),"Enter"===i.key&&i.preventDefault()},this.clear=()=>{this.value="",this.filter("",!0),this.setFocus()},this.items=[],this.disabled=!1,this.filteredItems=[],this.placeholder=void 0,this.scale="m",this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}watchItemsHandler(){this.filter(this.value)}onMessagesChange(){}valueHandler(i){this.filter(i)}effectiveLocaleChange(){l(this,this.effectiveLocale)}async componentWillLoad(){p(this),this.updateFiltered(o(this.items,this.value)),this.filter(this.value),await d(this)}connectedCallback(){r(this),m(this)}componentDidRender(){s(this)}disconnectedCallback(){c(this),h(this)}componentDidLoad(){f(this)}async setFocus(){await u(this),this.el?.focus()}updateFiltered(i,t=!1){this.filteredItems.length=0,this.filteredItems=this.filteredItems.concat(i),t&&this.calciteFilterChange.emit()}render(){const{disabled:i,scale:t}=this;return a(e,null,a("div",{class:"container"},a("label",null,a("calcite-input",{"aria-label":this.messages.label,clearable:!0,disabled:i,icon:"search",messageOverrides:{clear:this.messages.clear},onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,ref:i=>{this.textInput=i},scale:t,type:"text",value:this.value}))))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{items:["watchItemsHandler"],messageOverrides:["onMessagesChange"],value:["valueHandler"],effectiveLocale:["effectiveLocaleChange"]}}};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}}: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;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:flex;inline-size:100%;align-items:center;overflow:hidden}input[type=text]{margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);padding-inline-end:0.25rem;padding-inline-start:1.5rem;transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:flex;cursor:pointer;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";export{b as calcite_filter}
@@ -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.696
4
+ * v1.0.0-next.698
5
5
  */
6
- import{r as i,c as t,h as e,F as a,g as s}from"./p-9e6b5374.js";import{n,c as o,d as c}from"./p-80d0da54.js";import{u as r,c as l,s as h,d as p}from"./p-30f33fd8.js";import"./p-2ea1154e.js";import"./p-8d98cd15.js";import"./p-9cd2ab34.js";import"./p-cefe8ab2.js";import"./p-42bb5409.js";const d=class{constructor(e){i(this,e),this.calcitePaginationChange=t(this,"calcitePaginationChange",6),this.previousClicked=()=>{this.previousPage().then(),this.emitUpdate()},this.nextClicked=()=>{this.nextPage(),this.emitUpdate()},this.groupSeparator=!1,this.messageOverrides=void 0,this.num=20,this.numberingSystem=void 0,this.start=1,this.total=0,this.scale="m",this.defaultMessages=void 0,this.effectiveLocale="",this.messages=void 0}onMessagesChange(){}effectiveLocaleChange(){r(this,this.effectiveLocale)}effectiveLocaleWatcher(){n.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator}}connectedCallback(){o(this),l(this)}async componentWillLoad(){await h(this)}disconnectedCallback(){c(this),p(this)}async nextPage(){this.start=Math.min(this.getLastStart(),this.start+this.num)}async previousPage(){this.start=Math.max(1,this.start-this.num)}getLastStart(){const{total:i,num:t}=this;return 1+(i%t==0?i-t:Math.floor(i/t)*t)}showLeftEllipsis(){return Math.floor(this.start/this.num)>3}showRightEllipsis(){return(this.total-this.start)/this.num>3}emitUpdate(){this.calcitePaginationChange.emit()}renderPages(){const i=this.getLastStart();let t,e;this.total/this.num<=5?(e=1+this.num,t=i-this.num):this.start/this.num<4?(e=1+this.num,t=1+4*this.num):this.start+3*this.num>=this.total?(e=i-4*this.num,t=i-this.num):(e=this.start-this.num,t=this.start+this.num);const a=[];for(;e<=t;)a.push(e),e+=this.num;return a.map((i=>this.renderPage(i)))}renderPage(i){const t=Math.floor(i/this.num)+(1===this.num?0:1);n.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const a=n.localize(t.toString());return e("button",{class:{page:!0,"is-selected":i===this.start},onClick:()=>{this.start=i,this.emitUpdate()}},a)}renderLeftEllipsis(){if(this.total/this.num>5&&this.showLeftEllipsis())return e("span",{class:"ellipsis ellipsis--start"},"…")}renderRightEllipsis(){if(this.total/this.num>5&&this.showRightEllipsis())return e("span",{class:"ellipsis ellipsis--end"},"…")}render(){const{total:i,num:t,start:s}=this,n=1===t?s<=t:s<t,o=s+t>i;return e(a,null,e("button",{"aria-label":this.messages.previous,class:{previous:!0,"is-disabled":n},disabled:n,onClick:this.previousClicked},e("calcite-icon",{flipRtl:!0,icon:"chevronLeft",scale:"s"})),i>t?this.renderPage(1):null,this.renderLeftEllipsis(),this.renderPages(),this.renderRightEllipsis(),this.renderPage(this.getLastStart()),e("button",{"aria-label":this.messages.next,class:{next:!0,"is-disabled":o},disabled:o,onClick:this.nextClicked},e("calcite-icon",{flipRtl:!0,icon:"chevronRight",scale:"s"})))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange","effectiveLocaleWatcher"]}}};d.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-pagination-spacing:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-inline:0.25rem}:host([scale=m]){--calcite-pagination-spacing:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-inline:0.5rem}:host([scale=l]){--calcite-pagination-spacing:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-inline:1rem}:host{display:flex;writing-mode:horizontal-tb}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.previous,.next,.page{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;border-style:none;--tw-border-opacity:0;background-color:transparent;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3);border-block:2px solid transparent}.previous:hover,.next:hover,.page:hover{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.page:hover{border-block-end-color:var(--calcite-ui-border-2)}.page.is-selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-block-end-color:var(--calcite-ui-brand)}.previous:hover,.next:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}.previous:active,.next:active{background-color:var(--calcite-ui-foreground-3)}.previous.is-disabled,.next.is-disabled{pointer-events:none;background-color:transparent}.previous.is-disabled>calcite-icon,.next.is-disabled>calcite-icon{opacity:var(--calcite-ui-opacity-disabled)}.next{margin-inline-end:0px}.page,.ellipsis{padding:var(--calcite-pagination-spacing)}.ellipsis{display:flex;align-items:flex-end;color:var(--calcite-ui-text-3)}";export{d as calcite_pagination}
6
+ import{r as i,c as t,h as e,F as a,g as s}from"./p-8d4388e3.js";import{n,c as o,d as c}from"./p-a8378be1.js";import{u as r,c as l,s as h,d as p}from"./p-11587e9f.js";import"./p-66a7cd45.js";import"./p-f411a244.js";import"./p-ba31fb6f.js";import"./p-436d54f4.js";import"./p-f1f70545.js";const d=class{constructor(e){i(this,e),this.calcitePaginationChange=t(this,"calcitePaginationChange",6),this.previousClicked=()=>{this.previousPage().then(),this.emitUpdate()},this.nextClicked=()=>{this.nextPage(),this.emitUpdate()},this.groupSeparator=!1,this.messageOverrides=void 0,this.num=20,this.numberingSystem=void 0,this.start=1,this.total=0,this.scale="m",this.defaultMessages=void 0,this.effectiveLocale="",this.messages=void 0}onMessagesChange(){}effectiveLocaleChange(){r(this,this.effectiveLocale)}effectiveLocaleWatcher(){n.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator}}connectedCallback(){o(this),l(this)}async componentWillLoad(){await h(this)}disconnectedCallback(){c(this),p(this)}async nextPage(){this.start=Math.min(this.getLastStart(),this.start+this.num)}async previousPage(){this.start=Math.max(1,this.start-this.num)}getLastStart(){const{total:i,num:t}=this;return 1+(i%t==0?i-t:Math.floor(i/t)*t)}showLeftEllipsis(){return Math.floor(this.start/this.num)>3}showRightEllipsis(){return(this.total-this.start)/this.num>3}emitUpdate(){this.calcitePaginationChange.emit()}renderPages(){const i=this.getLastStart();let t,e;this.total/this.num<=5?(e=1+this.num,t=i-this.num):this.start/this.num<4?(e=1+this.num,t=1+4*this.num):this.start+3*this.num>=this.total?(e=i-4*this.num,t=i-this.num):(e=this.start-this.num,t=this.start+this.num);const a=[];for(;e<=t;)a.push(e),e+=this.num;return a.map((i=>this.renderPage(i)))}renderPage(i){const t=Math.floor(i/this.num)+(1===this.num?0:1);n.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const a=n.localize(t.toString());return e("button",{class:{page:!0,"is-selected":i===this.start},onClick:()=>{this.start=i,this.emitUpdate()}},a)}renderLeftEllipsis(){if(this.total/this.num>5&&this.showLeftEllipsis())return e("span",{class:"ellipsis ellipsis--start"},"…")}renderRightEllipsis(){if(this.total/this.num>5&&this.showRightEllipsis())return e("span",{class:"ellipsis ellipsis--end"},"…")}render(){const{total:i,num:t,start:s}=this,n=1===t?s<=t:s<t,o=s+t>i;return e(a,null,e("button",{"aria-label":this.messages.previous,class:{previous:!0,"is-disabled":n},disabled:n,onClick:this.previousClicked},e("calcite-icon",{flipRtl:!0,icon:"chevronLeft",scale:"s"})),i>t?this.renderPage(1):null,this.renderLeftEllipsis(),this.renderPages(),this.renderRightEllipsis(),this.renderPage(this.getLastStart()),e("button",{"aria-label":this.messages.next,class:{next:!0,"is-disabled":o},disabled:o,onClick:this.nextClicked},e("calcite-icon",{flipRtl:!0,icon:"chevronRight",scale:"s"})))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange","effectiveLocaleWatcher"]}}};d.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-pagination-spacing:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-inline:0.25rem}:host([scale=m]){--calcite-pagination-spacing:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-inline:0.5rem}:host([scale=l]){--calcite-pagination-spacing:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-inline:1rem}:host{display:flex;writing-mode:horizontal-tb}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.previous,.next,.page{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;border-style:none;--tw-border-opacity:0;background-color:transparent;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3);border-block:2px solid transparent}.previous:hover,.next:hover,.page:hover{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.page:hover{border-block-end-color:var(--calcite-ui-border-2)}.page.is-selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-block-end-color:var(--calcite-ui-brand)}.previous:hover,.next:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}.previous:active,.next:active{background-color:var(--calcite-ui-foreground-3)}.previous.is-disabled,.next.is-disabled{pointer-events:none;background-color:transparent}.previous.is-disabled>calcite-icon,.next.is-disabled>calcite-icon{opacity:var(--calcite-ui-opacity-disabled)}.next{margin-inline-end:0px}.page,.ellipsis{padding:var(--calcite-pagination-spacing)}.ellipsis{display:flex;align-items:flex-end;color:var(--calcite-ui-text-3)}";export{d as calcite_pagination}
@@ -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.696
4
+ * v1.0.0-next.698
5
5
  */
6
6
  /**!
7
7
  * Sortable 1.15.0
@@ -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.696
4
+ * v1.0.0-next.698
5
5
  */
6
- import{r as i,c as t,h as e,g as n}from"./p-9e6b5374.js";import{g as a}from"./p-42bb5409.js";import{c as o,d as c}from"./p-fc8abdca.js";import{u as r,c as s,d as l,s as d}from"./p-30f33fd8.js";import{c as h,d as p}from"./p-80d0da54.js";import{a as m,s as u,c as b}from"./p-7d7379b2.js";import{c as g}from"./p-8d98cd15.js";import{s as v}from"./p-9cd2ab34.js";import"./p-2ea1154e.js";import"./p-cefe8ab2.js";const f=class{constructor(e){i(this,e),this.calciteChipClose=t(this,"calciteChipClose",6),this.closeClickHandler=i=>{i.preventDefault(),this.calciteChipClose.emit(),this.closed=!0},this.handleSlotImageChange=i=>{this.hasImage=v(i)},this.mutationObserver=g("mutation",(()=>this.updateHasContent())),this.guid=a(),this.appearance="solid",this.kind="neutral",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.value=void 0,this.closed=!1,this.messageOverrides=void 0,this.messages=void 0,this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasContent=!1,this.hasImage=!1}onMessagesChange(){}effectiveLocaleChange(){r(this,this.effectiveLocale)}connectedCallback(){o(this),h(this),s(this),this.setupTextContentObserver()}componentDidLoad(){m(this)}disconnectedCallback(){c(this),p(this),l(this)}async componentWillLoad(){u(this),await d(this),this.updateHasContent()}async setFocus(){await b(this),this.closeButton?.focus()}updateHasContent(){const i=this.el.textContent.trim().length>0||this.el.childNodes.length>0;this.hasContent=this.el.childNodes.length>0&&"#text"===this.el.childNodes[0]?.nodeName?this.el.textContent?.trim().length>0:i}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}renderChipImage(){return e("div",{class:"image-container",key:"image"},e("slot",{name:"image",onSlotchange:this.handleSlotImageChange}))}render(){const i=e("calcite-icon",{class:"chip-icon",flipRtl:this.iconFlipRtl,icon:this.icon,scale:"l"===this.scale?"m":"s"}),t=e("button",{"aria-describedby":this.guid,"aria-label":this.messages.dismissLabel,class:"close",onClick:this.closeClickHandler,ref:i=>this.closeButton=i},e("calcite-icon",{class:"close-icon",icon:"x",scale:"l"===this.scale?"m":"s"}));return e("div",{class:{container:!0,"content--slotted":this.hasContent,"image--slotted":this.hasImage}},this.renderChipImage(),this.icon?i:null,e("span",{class:"title",id:this.guid},e("slot",null)),this.closable?t:null)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};f.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]){block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-unit-l:0.5rem;--calcite-chip-spacing-unit-s:0.25rem}:host([scale=s]) .image-container{block-size:1.25rem;inline-size:1.25rem;padding-inline-start:0.125rem}:host([scale=m]){block-size:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-unit-l:0.75rem;--calcite-chip-spacing-unit-s:calc(0.75rem / 2)}:host([scale=m]) .image-container{block-size:1.5rem;inline-size:1.5rem;padding-inline-start:0.25rem}:host([scale=l]){block-size:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-unit-l:1rem;--calcite-chip-spacing-unit-s:0.5rem}:host([scale=l]) .image-container{block-size:2rem;inline-size:2rem;padding-inline-start:0.5rem}:host{box-sizing:border-box;display:inline-flex;cursor:default;align-items:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container{display:inline-flex;block-size:100%;max-inline-size:100%;align-items:center}.title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-block:0}.content--slotted .title{padding-inline:var(--calcite-chip-spacing-unit-l)}:host([closable][icon]) .container:not(.content--slotted) .title{padding-inline:0 var(--calcite-chip-spacing-unit-s)}:host(:not([closable])) .container:not(.content--slotted) .chip-icon{margin-inline:auto}.container:not(.image--slotted) .image-container{display:none}:host([scale=s][closable]) .container:not(.content--slotted) .image-container{margin-inline-end:0.125rem}:host([scale=m][closable]) .container:not(.content--slotted) .image-container{margin-inline-end:0.25rem}:host([scale=l][closable]) .container:not(.content--slotted) .image-container{margin-inline-end:0.5rem}:host([scale=s]:not([closable])) .container:not(.content--slotted){block-size:1.5rem;inline-size:1.5rem}:host([scale=s]:not([closable])) .container:not(.content--slotted) .image-container{padding-inline:0.125rem}:host([scale=m]:not([closable])) .container:not(.content--slotted){block-size:2rem;inline-size:2rem}:host([scale=m]:not([closable])) .container:not(.content--slotted) .image-container{padding-inline:0.25rem}:host([scale=l]:not([closable])) .container:not(.content--slotted){block-size:2.75rem;inline-size:2.75rem}:host([scale=l]:not([closable])) .container:not(.content--slotted) .image-container{padding-inline:calc(0.75rem / 2)}:host([closable]) .content--slotted .title{padding-inline:var(--calcite-chip-spacing-unit-l) var(--calcite-chip-spacing-unit-s)}:host([scale=s]) button{inline-size:1rem;block-size:1rem;margin-inline-end:0.125rem}:host([scale=m]) button{inline-size:1.5rem;block-size:1.5rem;margin-inline-end:0.25rem}:host([scale=l]) button{inline-size:2rem;block-size:2rem;margin-inline-end:0.5rem}button{margin:0px;cursor:pointer;align-items:center;border-style:none;background-color:transparent;color:var(--calcite-ui-text-1);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;display:flex;border-radius:50%;padding-inline:var(--calcite-chip-spacing-unit-s);color:inherit;align-content:center;justify-content:center;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}button:hover{background-color:var(--calcite-chip-transparent-hover)}button:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}button:active{background-color:var(--calcite-chip-transparent-press)}.image-container{display:inline-flex;overflow:hidden}slot[name=image]::slotted(*){display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}.chip-icon{position:relative;margin-block:0px;display:inline-flex;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:0;margin-inline-start:var(--calcite-chip-spacing-unit-l)}:host([kind=neutral]){border-color:transparent;background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host([kind=neutral]) button,:host([kind=neutral]) .close-icon{color:var(--calcite-ui-text-3)}:host([kind=neutral]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([kind=inverse]){border-color:transparent;background-color:var(--calcite-ui-inverse);color:var(--calcite-ui-text-inverse)}:host([kind=inverse]) button,:host([kind=inverse]) .close-icon{color:var(--calcite-ui-text-inverse)}:host([kind=inverse]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-inverse))}:host([kind=brand]){border-color:transparent;background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}:host([kind=brand]) button,:host([kind=brand]) .close-icon{color:var(--calcite-ui-text-inverse)}:host([kind=brand]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-inverse))}:host([appearance=outline-fill]),:host([appearance=outline]){background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) .close-icon,:host([appearance=outline]) button,:host([appearance=outline]) .close-icon{color:var(--calcite-ui-text-3)}:host([appearance=outline-fill]) .chip-icon,:host([appearance=outline]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([appearance=outline-fill]){background-color:var(--calcite-ui-foreground-1)}:host([appearance=outline]){background-color:transparent}:host([kind=neutral][appearance=outline-fill]),:host([kind=neutral][appearance=outline]){border-color:var(--calcite-ui-border-1)}:host([kind=inverse][appearance=outline-fill]),:host([kind=inverse][appearance=outline]){border-color:var(--calcite-ui-border-inverse)}:host([kind=brand][appearance=outline-fill]),:host([kind=brand][appearance=outline]){border-color:var(--calcite-ui-brand)}:host([kind=brand][appearance=solid]) button,:host([kind=inverse][appearance=solid]) button{outline-color:var(--calcite-ui-text-inverse)}:host([closed]){display:none}";export{f as calcite_chip}
6
+ import{r as i,c as t,h as e,g as n}from"./p-8d4388e3.js";import{g as a}from"./p-f1f70545.js";import{c as o,d as c}from"./p-c61d1069.js";import{u as r,c as s,d as l,s as d}from"./p-11587e9f.js";import{c as h,d as p}from"./p-a8378be1.js";import{a as m,s as u,c as b}from"./p-3eff0d52.js";import{c as g}from"./p-f411a244.js";import{s as v}from"./p-ba31fb6f.js";import"./p-66a7cd45.js";import"./p-436d54f4.js";const f=class{constructor(e){i(this,e),this.calciteChipClose=t(this,"calciteChipClose",6),this.closeClickHandler=i=>{i.preventDefault(),this.calciteChipClose.emit(),this.closed=!0},this.handleSlotImageChange=i=>{this.hasImage=v(i)},this.mutationObserver=g("mutation",(()=>this.updateHasContent())),this.guid=a(),this.appearance="solid",this.kind="neutral",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.value=void 0,this.closed=!1,this.messageOverrides=void 0,this.messages=void 0,this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasContent=!1,this.hasImage=!1}onMessagesChange(){}effectiveLocaleChange(){r(this,this.effectiveLocale)}connectedCallback(){o(this),h(this),s(this),this.setupTextContentObserver()}componentDidLoad(){m(this)}disconnectedCallback(){c(this),p(this),l(this)}async componentWillLoad(){u(this),await d(this),this.updateHasContent()}async setFocus(){await b(this),this.closeButton?.focus()}updateHasContent(){const i=this.el.textContent.trim().length>0||this.el.childNodes.length>0;this.hasContent=this.el.childNodes.length>0&&"#text"===this.el.childNodes[0]?.nodeName?this.el.textContent?.trim().length>0:i}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}renderChipImage(){return e("div",{class:"image-container",key:"image"},e("slot",{name:"image",onSlotchange:this.handleSlotImageChange}))}render(){const i=e("calcite-icon",{class:"chip-icon",flipRtl:this.iconFlipRtl,icon:this.icon,scale:"l"===this.scale?"m":"s"}),t=e("button",{"aria-describedby":this.guid,"aria-label":this.messages.dismissLabel,class:"close",onClick:this.closeClickHandler,ref:i=>this.closeButton=i},e("calcite-icon",{class:"close-icon",icon:"x",scale:"l"===this.scale?"m":"s"}));return e("div",{class:{container:!0,"content--slotted":this.hasContent,"image--slotted":this.hasImage}},this.renderChipImage(),this.icon?i:null,e("span",{class:"title",id:this.guid},e("slot",null)),this.closable?t:null)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};f.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]){block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-unit-l:0.5rem;--calcite-chip-spacing-unit-s:0.25rem}:host([scale=s]) .image-container{block-size:1.25rem;inline-size:1.25rem;padding-inline-start:0.125rem}:host([scale=m]){block-size:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-unit-l:0.75rem;--calcite-chip-spacing-unit-s:calc(0.75rem / 2)}:host([scale=m]) .image-container{block-size:1.5rem;inline-size:1.5rem;padding-inline-start:0.25rem}:host([scale=l]){block-size:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-unit-l:1rem;--calcite-chip-spacing-unit-s:0.5rem}:host([scale=l]) .image-container{block-size:2rem;inline-size:2rem;padding-inline-start:0.5rem}:host{box-sizing:border-box;display:inline-flex;cursor:default;align-items:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container{display:inline-flex;block-size:100%;max-inline-size:100%;align-items:center}.title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-block:0}.content--slotted .title{padding-inline:var(--calcite-chip-spacing-unit-l)}:host([closable][icon]) .container:not(.content--slotted) .title{padding-inline:0 var(--calcite-chip-spacing-unit-s)}:host(:not([closable])) .container:not(.content--slotted) .chip-icon{margin-inline:auto}.container:not(.image--slotted) .image-container{display:none}:host([scale=s][closable]) .container:not(.content--slotted) .image-container{margin-inline-end:0.125rem}:host([scale=m][closable]) .container:not(.content--slotted) .image-container{margin-inline-end:0.25rem}:host([scale=l][closable]) .container:not(.content--slotted) .image-container{margin-inline-end:0.5rem}:host([scale=s]:not([closable])) .container:not(.content--slotted){block-size:1.5rem;inline-size:1.5rem}:host([scale=s]:not([closable])) .container:not(.content--slotted) .image-container{padding-inline:0.125rem}:host([scale=m]:not([closable])) .container:not(.content--slotted){block-size:2rem;inline-size:2rem}:host([scale=m]:not([closable])) .container:not(.content--slotted) .image-container{padding-inline:0.25rem}:host([scale=l]:not([closable])) .container:not(.content--slotted){block-size:2.75rem;inline-size:2.75rem}:host([scale=l]:not([closable])) .container:not(.content--slotted) .image-container{padding-inline:calc(0.75rem / 2)}:host([closable]) .content--slotted .title{padding-inline:var(--calcite-chip-spacing-unit-l) var(--calcite-chip-spacing-unit-s)}:host([scale=s]) button{inline-size:1rem;block-size:1rem;margin-inline-end:0.125rem}:host([scale=m]) button{inline-size:1.5rem;block-size:1.5rem;margin-inline-end:0.25rem}:host([scale=l]) button{inline-size:2rem;block-size:2rem;margin-inline-end:0.5rem}button{margin:0px;cursor:pointer;align-items:center;border-style:none;background-color:transparent;color:var(--calcite-ui-text-1);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;display:flex;border-radius:50%;padding-inline:var(--calcite-chip-spacing-unit-s);color:inherit;align-content:center;justify-content:center;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}button:hover{background-color:var(--calcite-chip-transparent-hover)}button:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}button:active{background-color:var(--calcite-chip-transparent-press)}.image-container{display:inline-flex;overflow:hidden}slot[name=image]::slotted(*){display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}.chip-icon{position:relative;margin-block:0px;display:inline-flex;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:0;margin-inline-start:var(--calcite-chip-spacing-unit-l)}:host([kind=neutral]){border-color:transparent;background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host([kind=neutral]) button,:host([kind=neutral]) .close-icon{color:var(--calcite-ui-text-3)}:host([kind=neutral]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([kind=inverse]){border-color:transparent;background-color:var(--calcite-ui-inverse);color:var(--calcite-ui-text-inverse)}:host([kind=inverse]) button,:host([kind=inverse]) .close-icon{color:var(--calcite-ui-text-inverse)}:host([kind=inverse]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-inverse))}:host([kind=brand]){border-color:transparent;background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}:host([kind=brand]) button,:host([kind=brand]) .close-icon{color:var(--calcite-ui-text-inverse)}:host([kind=brand]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-inverse))}:host([appearance=outline-fill]),:host([appearance=outline]){background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) .close-icon,:host([appearance=outline]) button,:host([appearance=outline]) .close-icon{color:var(--calcite-ui-text-3)}:host([appearance=outline-fill]) .chip-icon,:host([appearance=outline]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([appearance=outline-fill]){background-color:var(--calcite-ui-foreground-1)}:host([appearance=outline]){background-color:transparent}:host([kind=neutral][appearance=outline-fill]),:host([kind=neutral][appearance=outline]){border-color:var(--calcite-ui-border-1)}:host([kind=inverse][appearance=outline-fill]),:host([kind=inverse][appearance=outline]){border-color:var(--calcite-ui-border-inverse)}:host([kind=brand][appearance=outline-fill]),:host([kind=brand][appearance=outline]){border-color:var(--calcite-ui-brand)}:host([kind=brand][appearance=solid]) button,:host([kind=inverse][appearance=solid]) button{outline-color:var(--calcite-ui-text-inverse)}:host([closed]){display:none}";export{f as calcite_chip}
@@ -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.696
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-d404d4dc.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}
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.696
4
+ * v1.0.0-next.698
5
5
  */
6
- import{f as n}from"./p-9cd2ab34.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.696
4
+ * v1.0.0-next.698
5
5
  */
6
- import{c as t,b as n}from"./p-9cd2ab34.js";import{d as e}from"./p-d404d4dc.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-7c6a2852.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.696
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.696
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-9e6b5374.js";import{S as s,C as c,I as o}from"./p-6c2b1518.js";import{t as l}from"./p-9cd2ab34.js";import{H as r}from"./p-fc45c709.js";import{S as d}from"./p-ab1f06a0.js";import{u as h}from"./p-5d2da6aa.js";import{c as m}from"./p-8d98cd15.js";import{s as p,a as u,c as f}from"./p-7d7379b2.js";import{c as g,d as b}from"./p-80d0da54.js";import{c as v,s as x,d as w,u as y}from"./p-30f33fd8.js";import"./p-cefe8ab2.js";import"./p-42bb5409.js";import"./p-2ea1154e.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,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}
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}