@esri/calcite-components 1.0.0-next.533 → 1.0.0-next.534

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 (829) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-8966028d.system.entry.js → p-00348e13.system.entry.js} +2 -2
  5. package/dist/calcite/{p-692cf8c7.system.js → p-0285e436.system.js} +2 -2
  6. package/dist/calcite/{p-adefe43a.js → p-035be0d7.js} +1 -1
  7. package/dist/calcite/{p-699810b8.entry.js → p-03fdccaf.entry.js} +2 -2
  8. package/dist/calcite/{p-fbf296cd.js → p-043e4e1e.js} +1 -1
  9. package/dist/calcite/{p-01e76782.system.entry.js → p-062ddb13.system.entry.js} +2 -2
  10. package/dist/calcite/{p-df006183.system.entry.js → p-06439588.system.entry.js} +3 -3
  11. package/dist/calcite/{p-e426b839.entry.js → p-0744fc42.entry.js} +2 -2
  12. package/dist/calcite/{p-59837d7f.js → p-0b57cd4c.js} +1 -1
  13. package/dist/calcite/p-0b8038fc.js +6 -0
  14. package/dist/calcite/{p-3eb90daa.js → p-0bc8e37c.js} +2 -2
  15. package/dist/calcite/{p-e4f49f1f.system.js → p-0cec909c.system.js} +1 -1
  16. package/dist/calcite/{p-cf723ac9.js → p-0e1f0b96.js} +2 -2
  17. package/dist/calcite/{p-b11d4c80.system.js → p-126ee6ff.system.js} +2 -2
  18. package/dist/calcite/{p-885796af.js → p-12be0e58.js} +2 -2
  19. package/dist/calcite/{p-70ac446d.system.entry.js → p-12e4352f.system.entry.js} +2 -2
  20. package/dist/calcite/{p-60b5c89d.system.entry.js → p-13540fc5.system.entry.js} +2 -2
  21. package/dist/calcite/{p-0adf1906.entry.js → p-15895c9a.entry.js} +2 -2
  22. package/dist/calcite/{p-cc81b169.system.js → p-15a1d9f8.system.js} +1 -1
  23. package/dist/calcite/{p-5bade79b.entry.js → p-15f3fb33.entry.js} +2 -2
  24. package/dist/calcite/{p-68ff3d7e.entry.js → p-163d02c1.entry.js} +2 -2
  25. package/dist/calcite/{p-b4289144.entry.js → p-183375b2.entry.js} +2 -2
  26. package/dist/calcite/{p-5df80811.system.entry.js → p-19562b18.system.entry.js} +2 -2
  27. package/dist/calcite/{p-af56e820.entry.js → p-1a34b972.entry.js} +2 -2
  28. package/dist/calcite/{p-4ee37b84.system.entry.js → p-1b2bdabb.system.entry.js} +2 -2
  29. package/dist/calcite/{p-70dfc55e.js → p-1b6a2a1c.js} +2 -2
  30. package/dist/calcite/{p-a46f4a3f.system.js → p-1ec9b3bd.system.js} +1 -1
  31. package/dist/calcite/{p-3bd916b9.system.entry.js → p-206c22da.system.entry.js} +2 -2
  32. package/dist/calcite/{p-b64484f1.system.entry.js → p-2073de96.system.entry.js} +2 -2
  33. package/dist/calcite/{p-7aec06e2.entry.js → p-236ea9dc.entry.js} +2 -2
  34. package/dist/calcite/{p-5129a6ac.system.js → p-260a1582.system.js} +2 -2
  35. package/dist/calcite/{p-55a140ac.entry.js → p-27623a5d.entry.js} +2 -2
  36. package/dist/calcite/p-27ef3a80.entry.js +6 -0
  37. package/dist/calcite/{p-933492c8.system.entry.js → p-2a84c48d.system.entry.js} +2 -2
  38. package/dist/calcite/{p-9b91c29a.entry.js → p-2adfd370.entry.js} +2 -2
  39. package/dist/calcite/{p-51902083.system.entry.js → p-2faec747.system.entry.js} +2 -2
  40. package/dist/calcite/{p-e24c929a.system.entry.js → p-30e698e6.system.entry.js} +2 -2
  41. package/dist/calcite/p-317a076d.entry.js +6 -0
  42. package/dist/calcite/{p-0cffd8bf.entry.js → p-31e6fb55.entry.js} +2 -2
  43. package/dist/calcite/{p-648aa0e8.system.entry.js → p-3601b77d.system.entry.js} +2 -2
  44. package/dist/calcite/{p-42324be3.system.js → p-364affb4.system.js} +1 -1
  45. package/dist/calcite/{p-ead88603.js → p-3a60a21e.js} +1 -1
  46. package/dist/calcite/{p-b1849cb6.entry.js → p-3d7dc1a3.entry.js} +2 -2
  47. package/dist/calcite/{p-48f7cb3d.entry.js → p-3f398dc3.entry.js} +2 -2
  48. package/dist/calcite/{p-46fc1a6f.entry.js → p-42686e82.entry.js} +2 -2
  49. package/dist/calcite/{p-f74f9722.system.entry.js → p-4394113c.system.entry.js} +2 -2
  50. package/dist/calcite/{p-a6aad35c.entry.js → p-44786f8b.entry.js} +2 -2
  51. package/dist/calcite/{p-bbe637bd.entry.js → p-44c77ad8.entry.js} +2 -2
  52. package/dist/calcite/{p-a985374f.entry.js → p-48618a2a.entry.js} +2 -2
  53. package/dist/calcite/{p-59cc5c20.js → p-48cf8ae4.js} +1 -1
  54. package/dist/calcite/{p-bf14c09c.system.js → p-49037291.system.js} +1 -1
  55. package/dist/calcite/{p-b1688902.system.js → p-49e52e83.system.js} +1 -1
  56. package/dist/calcite/{p-2fe7bc86.entry.js → p-513d3dfc.entry.js} +2 -2
  57. package/dist/calcite/{p-823ff7f7.system.js → p-5248e642.system.js} +1 -1
  58. package/dist/calcite/{p-cbc712e0.entry.js → p-5486aac7.entry.js} +2 -2
  59. package/dist/calcite/{p-7a471105.system.entry.js → p-55ee66e1.system.entry.js} +2 -2
  60. package/dist/calcite/{p-094d1ff9.system.js → p-55eee874.system.js} +2 -2
  61. package/dist/calcite/{p-a6a169a4.system.entry.js → p-599463c6.system.entry.js} +3 -3
  62. package/dist/calcite/{p-f760ec16.system.js → p-5bcda040.system.js} +2 -2
  63. package/dist/calcite/p-5f03a8f3.entry.js +6 -0
  64. package/dist/calcite/p-5fa8ee39.entry.js +6 -0
  65. package/dist/calcite/{p-ad23962e.system.entry.js → p-612a407b.system.entry.js} +2 -2
  66. package/dist/calcite/{p-41f3b1d8.system.entry.js → p-61f79204.system.entry.js} +3 -3
  67. package/dist/calcite/{p-60d235f5.entry.js → p-64a1cae4.entry.js} +2 -2
  68. package/dist/calcite/{p-d48fd31d.js → p-64c91c88.js} +1 -1
  69. package/dist/calcite/{p-a10f92b8.system.entry.js → p-65b529f6.system.entry.js} +2 -2
  70. package/dist/calcite/{p-e3198236.entry.js → p-65cc47b2.entry.js} +2 -2
  71. package/dist/calcite/{p-2543bc16.entry.js → p-664c329e.entry.js} +2 -2
  72. package/dist/calcite/{p-e911b13a.entry.js → p-673f02ab.entry.js} +2 -2
  73. package/dist/calcite/{p-212a4413.system.js → p-679e254f.system.js} +1 -1
  74. package/dist/calcite/{p-8ba3c609.system.entry.js → p-68e8bd6e.system.entry.js} +2 -2
  75. package/dist/calcite/{p-2b4562ec.system.js → p-69a78a11.system.js} +1 -1
  76. package/dist/calcite/{p-89f88eb1.system.entry.js → p-6a70ae62.system.entry.js} +2 -2
  77. package/dist/calcite/p-6ad76500.entry.js +6 -0
  78. package/dist/calcite/{p-f8ad7f22.js → p-6d9ec264.js} +2 -2
  79. package/dist/calcite/p-6dc5037d.system.entry.js +6 -0
  80. package/dist/calcite/{p-cd1a0884.js → p-6e960d82.js} +1 -1
  81. package/dist/calcite/p-70568369.system.entry.js +6 -0
  82. package/dist/calcite/{p-77047b9c.js → p-78073d58.js} +2 -2
  83. package/dist/calcite/{p-b4d5052f.system.entry.js → p-7b16ead0.system.entry.js} +2 -2
  84. package/dist/calcite/{p-c0e40aa2.entry.js → p-7d263b93.entry.js} +2 -2
  85. package/dist/calcite/{p-6ae871fc.entry.js → p-7f336a87.entry.js} +2 -2
  86. package/dist/calcite/{p-e4e7b8cf.entry.js → p-7f5ba809.entry.js} +2 -2
  87. package/dist/calcite/{p-3e0a6864.system.js → p-816708b1.system.js} +1 -1
  88. package/dist/calcite/{p-6a22d33b.system.entry.js → p-85e3c86d.system.entry.js} +2 -2
  89. package/dist/calcite/{p-7e2e788e.system.entry.js → p-86ad57ef.system.entry.js} +3 -3
  90. package/dist/calcite/{p-ee41c0ce.entry.js → p-86ccf996.entry.js} +2 -2
  91. package/dist/calcite/{p-726211c1.system.entry.js → p-87c43944.system.entry.js} +2 -2
  92. package/dist/calcite/{p-facae938.system.entry.js → p-87ef4c34.system.entry.js} +2 -2
  93. package/dist/calcite/{p-c75b4b33.entry.js → p-88c6eb82.entry.js} +2 -2
  94. package/dist/calcite/{p-1cdc0c9a.system.entry.js → p-8a88f9df.system.entry.js} +2 -2
  95. package/dist/calcite/{p-29bb3692.entry.js → p-8a9f7cba.entry.js} +2 -2
  96. package/dist/calcite/{p-8f39171a.entry.js → p-8d6a9bb5.entry.js} +2 -2
  97. package/dist/calcite/{p-987f990b.system.entry.js → p-8f7f2989.system.entry.js} +2 -2
  98. package/dist/calcite/{p-28eeee68.entry.js → p-93937b4e.entry.js} +2 -2
  99. package/dist/calcite/{p-ebcecdea.entry.js → p-946fed8a.entry.js} +2 -2
  100. package/dist/calcite/{p-5da76bc6.system.entry.js → p-94c26913.system.entry.js} +2 -2
  101. package/dist/calcite/{p-fbfd4635.entry.js → p-9647343a.entry.js} +2 -2
  102. package/dist/calcite/{p-298156a5.system.js → p-967a2bb9.system.js} +2 -2
  103. package/dist/calcite/p-995389e2.system.entry.js +6 -0
  104. package/dist/calcite/p-9b36bf79.entry.js +6 -0
  105. package/dist/calcite/{p-aadd6b69.system.entry.js → p-9ccd7bcc.system.entry.js} +2 -2
  106. package/dist/calcite/{p-3c953b39.js → p-9d03cfb4.js} +1 -1
  107. package/dist/calcite/{p-58a20b0e.system.js → p-9f6c24b0.system.js} +1 -1
  108. package/dist/calcite/{p-441a971e.entry.js → p-a608a328.entry.js} +2 -2
  109. package/dist/calcite/p-a6e44292.system.entry.js +6 -0
  110. package/dist/calcite/{p-0294fd22.system.js → p-a8a240eb.system.js} +2 -2
  111. package/dist/calcite/{p-2259c364.system.js → p-adb71b18.system.js} +1 -1
  112. package/dist/calcite/{p-a27c8406.js → p-b07a1d72.js} +2 -2
  113. package/dist/calcite/{p-7c9744bc.entry.js → p-b15bf677.entry.js} +2 -2
  114. package/dist/calcite/p-b323931a.entry.js +6 -0
  115. package/dist/calcite/{p-28c389f9.system.js → p-b3405e14.system.js} +2 -2
  116. package/dist/calcite/{p-535dc4df.js → p-b3835d89.js} +2 -2
  117. package/dist/calcite/{p-e593eb98.js → p-b4c57035.js} +1 -1
  118. package/dist/calcite/{p-86e91aee.system.entry.js → p-b59b4dda.system.entry.js} +2 -2
  119. package/dist/calcite/{p-28f7118b.js → p-b64bbb7d.js} +1 -1
  120. package/dist/calcite/{p-7ea272f9.system.entry.js → p-b71a42fb.system.entry.js} +2 -2
  121. package/dist/calcite/{p-496af930.system.entry.js → p-bc23922b.system.entry.js} +2 -2
  122. package/dist/calcite/{p-574658d6.system.entry.js → p-bdb57922.system.entry.js} +2 -2
  123. package/dist/calcite/{p-08bef61d.system.entry.js → p-be0879f7.system.entry.js} +2 -2
  124. package/dist/calcite/{p-75a541ba.system.entry.js → p-c113716d.system.entry.js} +2 -2
  125. package/dist/calcite/{p-1051e792.system.entry.js → p-c2575250.system.entry.js} +2 -2
  126. package/dist/calcite/{p-da2417d0.system.entry.js → p-c3f54ff3.system.entry.js} +2 -2
  127. package/dist/calcite/{p-c284bdc6.entry.js → p-c542dd2f.entry.js} +2 -2
  128. package/dist/calcite/p-caa9f8a8.entry.js +6 -0
  129. package/dist/calcite/{p-9fb26cd5.entry.js → p-cb2c02e9.entry.js} +2 -2
  130. package/dist/calcite/{p-a2fcc50f.system.entry.js → p-cb544c5b.system.entry.js} +2 -2
  131. package/dist/calcite/{p-fd834451.system.entry.js → p-cca66e2d.system.entry.js} +2 -2
  132. package/dist/calcite/{p-04707996.entry.js → p-cd8a8a53.entry.js} +2 -2
  133. package/dist/calcite/{p-78bf3005.entry.js → p-cef29dcc.entry.js} +2 -2
  134. package/dist/calcite/{p-86606363.system.entry.js → p-d0e03057.system.entry.js} +2 -2
  135. package/dist/calcite/{p-81e5723c.system.entry.js → p-d156f8e3.system.entry.js} +2 -2
  136. package/dist/calcite/p-d2fbf43f.system.entry.js +6 -0
  137. package/dist/calcite/{p-3ca2d4ed.js → p-d4039bdf.js} +1 -1
  138. package/dist/calcite/{p-77111b93.entry.js → p-d48ecce3.entry.js} +2 -2
  139. package/dist/calcite/p-d670d50f.system.entry.js +6 -0
  140. package/dist/calcite/{p-79b8eb4d.js → p-d7a5404d.js} +1 -1
  141. package/dist/calcite/{p-0ad61440.system.js → p-d9434d0e.system.js} +2 -2
  142. package/dist/calcite/{p-154b10d4.entry.js → p-da65e09b.entry.js} +2 -2
  143. package/dist/calcite/{p-ce33ca4d.system.js → p-db15f317.system.js} +2 -2
  144. package/dist/calcite/{p-4ace0c19.entry.js → p-db9d4c12.entry.js} +2 -2
  145. package/dist/calcite/{p-6d23c2d1.system.entry.js → p-dbae13ed.system.entry.js} +2 -2
  146. package/dist/calcite/{p-3b1d8823.system.js → p-de927315.system.js} +1 -1
  147. package/dist/calcite/{p-67b139be.js → p-e03b1783.js} +1 -1
  148. package/dist/calcite/{p-f30fe164.system.entry.js → p-e0ec7104.system.entry.js} +2 -2
  149. package/dist/calcite/{p-e51be3fb.entry.js → p-e4049d86.entry.js} +2 -2
  150. package/dist/calcite/{p-57d1bbb0.entry.js → p-e4750da1.entry.js} +2 -2
  151. package/dist/calcite/{p-3d7fafb1.entry.js → p-e55f8ed9.entry.js} +2 -2
  152. package/dist/calcite/{p-e505b211.system.entry.js → p-e7d13d03.system.entry.js} +2 -2
  153. package/dist/calcite/{p-a298d77d.system.entry.js → p-e95d44a4.system.entry.js} +3 -3
  154. package/dist/calcite/p-ee26f036.system.js +6 -0
  155. package/dist/calcite/{p-b8fa3631.entry.js → p-f0538036.entry.js} +2 -2
  156. package/dist/calcite/{p-84f4627c.entry.js → p-f1a4959e.entry.js} +2 -2
  157. package/dist/calcite/{p-8fdcbeb4.system.entry.js → p-f2d23802.system.entry.js} +2 -2
  158. package/dist/calcite/p-f457201d.system.entry.js +6 -0
  159. package/dist/calcite/p-f47bb4ca.entry.js +6 -0
  160. package/dist/calcite/{p-6ec0c99a.system.js → p-f6255988.system.js} +1 -1
  161. package/dist/calcite/{p-8b69be09.system.entry.js → p-f94fe9e8.system.entry.js} +2 -2
  162. package/dist/calcite/{p-065286a4.system.entry.js → p-f9fc4d0a.system.entry.js} +2 -2
  163. package/dist/calcite/{p-70274e31.system.entry.js → p-fa4668ed.system.entry.js} +2 -2
  164. package/dist/calcite/{p-3ffce263.js → p-fa7e944d.js} +2 -2
  165. package/dist/calcite/{p-5c47159c.system.entry.js → p-fa8c9a56.system.entry.js} +2 -2
  166. package/dist/calcite/p-fb223e2c.entry.js +6 -0
  167. package/dist/calcite/{p-ada6cade.js → p-fc4a453a.js} +2 -2
  168. package/dist/calcite/{p-8559da10.entry.js → p-fd0d8ebd.entry.js} +2 -2
  169. package/dist/calcite/p-fd322586.system.js +6 -0
  170. package/dist/cjs/{ExpandToggle-265db309.js → ExpandToggle-83c17e6a.js} +5 -5
  171. package/dist/cjs/{Heading-9bbbc47b.js → Heading-a6a61e28.js} +2 -2
  172. package/dist/cjs/{array-55b1cd37.js → array-0a3b0d0f.js} +1 -1
  173. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  174. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  175. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  176. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  177. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  178. package/dist/cjs/calcite-action.cjs.entry.js +6 -6
  179. package/dist/cjs/calcite-alert.cjs.entry.js +27 -34
  180. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  181. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  182. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  183. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  184. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  185. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  186. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  187. package/dist/cjs/calcite-combobox_3.cjs.entry.js +16 -22
  188. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  189. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +26 -31
  190. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  191. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  192. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  193. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  194. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  195. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  196. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  197. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +40 -17
  198. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  199. package/dist/cjs/calcite-input-number.cjs.entry.js +11 -11
  200. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
  201. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  202. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  203. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  204. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  205. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  206. package/dist/cjs/calcite-modal.cjs.entry.js +40 -16
  207. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  208. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  209. package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
  210. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  211. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  212. package/dist/cjs/calcite-popover_2.cjs.entry.js +34 -9
  213. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  214. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  215. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  216. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  217. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  218. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  219. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  220. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  221. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  222. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  223. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  224. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  225. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  226. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  227. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  228. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  229. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  230. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  231. package/dist/cjs/calcite.cjs.js +2 -2
  232. package/dist/cjs/{conditionalSlot-e5ab103b.js → conditionalSlot-9286ee64.js} +3 -3
  233. package/dist/cjs/{debounce-3455b74c.js → debounce-ceeb7f1d.js} +1 -1
  234. package/dist/cjs/{dom-4d09c3dc.js → dom-e6e07141.js} +2 -2
  235. package/dist/cjs/{forIn-e615a95d.js → forIn-0fc2e9c6.js} +2 -2
  236. package/dist/cjs/{form-d6e57873.js → form-8fcc06ea.js} +3 -3
  237. package/dist/cjs/{guid-c6a06ec6.js → guid-4bbb9dbb.js} +1 -1
  238. package/dist/cjs/{index-6c1747a3.js → index-70c3e49f.js} +1 -1
  239. package/dist/cjs/index.cjs.js +1 -1
  240. package/dist/cjs/{interactive-67a17ca7.js → interactive-a6990cd0.js} +1 -1
  241. package/dist/cjs/{interfaces-7467c492.js → interfaces-10739bf1.js} +1 -1
  242. package/dist/cjs/{key-b0726837.js → key-321a2373.js} +1 -1
  243. package/dist/cjs/{label-de2d29e2.js → label-3dd4dd9a.js} +2 -2
  244. package/dist/cjs/loader.cjs.js +2 -2
  245. package/dist/cjs/{locale-96002d05.js → locale-9f2278fa.js} +2 -2
  246. package/dist/cjs/{math-833b1d4a.js → math-b7b935c3.js} +1 -1
  247. package/dist/cjs/{observers-8aa66e0e.js → observers-08ccf08f.js} +1 -1
  248. package/dist/cjs/{popper-1f73ae32.js → popper-d6dcd934.js} +2 -2
  249. package/dist/cjs/{resources-49055faa.js → resources-425b6a63.js} +1 -1
  250. package/dist/cjs/{resources-67915e58.js → resources-4684443e.js} +1 -1
  251. package/dist/cjs/{resources-e9f178a9.js → resources-59f14251.js} +5 -5
  252. package/dist/cjs/{resources-02d026a3.js → resources-76757d50.js} +3 -3
  253. package/dist/cjs/{sortable.esm-8725a7eb.js → sortable.esm-a5a8eb9b.js} +1 -1
  254. package/dist/cjs/{utils-674983a0.js → utils-a1fc6b24.js} +1 -1
  255. package/dist/collection/components/accordion/accordion.js +1 -1
  256. package/dist/collection/components/accordion/interfaces.js +1 -1
  257. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  258. package/dist/collection/components/action/action.js +1 -1
  259. package/dist/collection/components/action/resources.js +1 -1
  260. package/dist/collection/components/action-bar/action-bar.js +1 -1
  261. package/dist/collection/components/action-bar/resources.js +1 -1
  262. package/dist/collection/components/action-bar/utils.js +1 -1
  263. package/dist/collection/components/action-group/action-group.js +1 -1
  264. package/dist/collection/components/action-group/resources.js +1 -1
  265. package/dist/collection/components/action-menu/action-menu.js +1 -1
  266. package/dist/collection/components/action-menu/resources.js +1 -1
  267. package/dist/collection/components/action-pad/action-pad.js +1 -1
  268. package/dist/collection/components/action-pad/resources.js +1 -1
  269. package/dist/collection/components/alert/alert.css +2 -5
  270. package/dist/collection/components/alert/alert.js +34 -57
  271. package/dist/collection/components/alert/interfaces.js +1 -1
  272. package/dist/collection/components/alert/resources.js +1 -1
  273. package/dist/collection/components/avatar/avatar.js +1 -1
  274. package/dist/collection/components/avatar/utils.js +1 -1
  275. package/dist/collection/components/block/block.js +1 -1
  276. package/dist/collection/components/block/resources.js +1 -1
  277. package/dist/collection/components/block-section/block-section.js +1 -1
  278. package/dist/collection/components/block-section/interfaces.js +1 -1
  279. package/dist/collection/components/block-section/resources.js +1 -1
  280. package/dist/collection/components/button/button.css +2 -4
  281. package/dist/collection/components/button/button.js +1 -1
  282. package/dist/collection/components/button/interfaces.js +1 -1
  283. package/dist/collection/components/button/resources.js +1 -1
  284. package/dist/collection/components/card/card.js +1 -1
  285. package/dist/collection/components/card/resources.js +1 -1
  286. package/dist/collection/components/checkbox/checkbox.js +1 -1
  287. package/dist/collection/components/chip/chip.js +1 -1
  288. package/dist/collection/components/chip/interfaces.js +1 -1
  289. package/dist/collection/components/chip/resources.js +1 -1
  290. package/dist/collection/components/color-picker/color-picker.js +1 -1
  291. package/dist/collection/components/color-picker/interfaces.js +1 -1
  292. package/dist/collection/components/color-picker/resources.js +1 -1
  293. package/dist/collection/components/color-picker/utils.js +1 -1
  294. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  295. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  296. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  297. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  298. package/dist/collection/components/combobox/combobox.js +17 -39
  299. package/dist/collection/components/combobox/interfaces.js +1 -1
  300. package/dist/collection/components/combobox/resources.js +1 -1
  301. package/dist/collection/components/combobox/utils.js +1 -1
  302. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  303. package/dist/collection/components/combobox-item/resources.js +1 -1
  304. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  305. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  306. package/dist/collection/components/date-picker/date-picker.js +1 -1
  307. package/dist/collection/components/date-picker/interfaces.js +1 -1
  308. package/dist/collection/components/date-picker/resources.js +1 -1
  309. package/dist/collection/components/date-picker/utils.js +1 -1
  310. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  311. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  312. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  313. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  314. package/dist/collection/components/dropdown/dropdown.js +38 -59
  315. package/dist/collection/components/dropdown/interfaces.js +1 -1
  316. package/dist/collection/components/dropdown/resources.js +1 -1
  317. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  318. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  319. package/dist/collection/components/dropdown-group/resources.js +1 -1
  320. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  321. package/dist/collection/components/dropdown-item/resources.js +1 -1
  322. package/dist/collection/components/fab/fab.js +1 -1
  323. package/dist/collection/components/fab/resources.js +1 -1
  324. package/dist/collection/components/filter/filter.js +1 -1
  325. package/dist/collection/components/filter/resources.js +1 -1
  326. package/dist/collection/components/flow/flow.js +1 -1
  327. package/dist/collection/components/flow/interfaces.js +1 -1
  328. package/dist/collection/components/flow/resources.js +1 -1
  329. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  330. package/dist/collection/components/functional/Heading.js +1 -1
  331. package/dist/collection/components/graph/graph.js +1 -1
  332. package/dist/collection/components/graph/interfaces.js +1 -1
  333. package/dist/collection/components/graph/util.js +1 -1
  334. package/dist/collection/components/handle/handle.js +1 -1
  335. package/dist/collection/components/handle/resources.js +1 -1
  336. package/dist/collection/components/icon/icon.js +1 -1
  337. package/dist/collection/components/icon/resources.js +1 -1
  338. package/dist/collection/components/icon/utils.js +1 -1
  339. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  340. package/dist/collection/components/inline-editable/resources.js +1 -1
  341. package/dist/collection/components/input/input.js +1 -1
  342. package/dist/collection/components/input/interfaces.js +1 -1
  343. package/dist/collection/components/input/resources.js +1 -1
  344. package/dist/collection/components/input-date-picker/input-date-picker.js +66 -21
  345. package/dist/collection/components/input-date-picker/resources.js +1 -1
  346. package/dist/collection/components/input-message/input-message.js +1 -1
  347. package/dist/collection/components/input-message/interfaces.js +1 -1
  348. package/dist/collection/components/input-number/input-number.js +1 -1
  349. package/dist/collection/components/input-number/interfaces.js +1 -1
  350. package/dist/collection/components/input-number/resources.js +1 -1
  351. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  352. package/dist/collection/components/interfaces.js +1 -1
  353. package/dist/collection/components/label/label.js +1 -1
  354. package/dist/collection/components/label/resources.js +1 -1
  355. package/dist/collection/components/link/link.js +1 -1
  356. package/dist/collection/components/list/list.js +1 -1
  357. package/dist/collection/components/list/resources.js +1 -1
  358. package/dist/collection/components/list-item/list-item.js +1 -1
  359. package/dist/collection/components/list-item/resources.js +1 -1
  360. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  361. package/dist/collection/components/list-item-group/resources.js +1 -1
  362. package/dist/collection/components/loader/loader.js +1 -1
  363. package/dist/collection/components/modal/interfaces.js +1 -1
  364. package/dist/collection/components/modal/modal.js +70 -18
  365. package/dist/collection/components/modal/resources.js +1 -1
  366. package/dist/collection/components/notice/notice.css +0 -1
  367. package/dist/collection/components/notice/notice.js +1 -1
  368. package/dist/collection/components/notice/resources.js +1 -1
  369. package/dist/collection/components/option/option.js +1 -1
  370. package/dist/collection/components/option-group/option-group.js +1 -1
  371. package/dist/collection/components/pagination/pagination.css +1 -2
  372. package/dist/collection/components/pagination/pagination.js +1 -1
  373. package/dist/collection/components/pagination/resources.js +1 -1
  374. package/dist/collection/components/panel/panel.css +1 -1
  375. package/dist/collection/components/panel/panel.js +1 -1
  376. package/dist/collection/components/panel/resources.js +1 -1
  377. package/dist/collection/components/pick-list/pick-list.js +1 -1
  378. package/dist/collection/components/pick-list/resources.js +1 -1
  379. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  380. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  381. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  382. package/dist/collection/components/pick-list-group/resources.js +1 -1
  383. package/dist/collection/components/pick-list-item/pick-list-item.js +2 -2
  384. package/dist/collection/components/pick-list-item/resources.js +1 -1
  385. package/dist/collection/components/popover/PopoverManager.js +1 -1
  386. package/dist/collection/components/popover/popover.js +62 -9
  387. package/dist/collection/components/popover/resources.js +1 -1
  388. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  389. package/dist/collection/components/progress/progress.js +1 -1
  390. package/dist/collection/components/radio-button/radio-button.js +1 -1
  391. package/dist/collection/components/radio-button/resources.js +1 -1
  392. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  393. package/dist/collection/components/radio-group/interfaces.js +1 -1
  394. package/dist/collection/components/radio-group/radio-group.js +1 -1
  395. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  396. package/dist/collection/components/radio-group-item/resources.js +1 -1
  397. package/dist/collection/components/rating/rating.js +1 -1
  398. package/dist/collection/components/rating/resources.js +1 -1
  399. package/dist/collection/components/scrim/resources.js +1 -1
  400. package/dist/collection/components/scrim/scrim.js +1 -1
  401. package/dist/collection/components/select/resources.js +1 -1
  402. package/dist/collection/components/select/select.js +1 -1
  403. package/dist/collection/components/shell/resources.js +1 -1
  404. package/dist/collection/components/shell/shell.js +1 -1
  405. package/dist/collection/components/shell-center-row/resources.js +1 -1
  406. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  407. package/dist/collection/components/shell-panel/resources.js +1 -1
  408. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  409. package/dist/collection/components/slider/slider.js +1 -1
  410. package/dist/collection/components/sortable-list/resources.js +1 -1
  411. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  412. package/dist/collection/components/split-button/resources.js +1 -1
  413. package/dist/collection/components/split-button/split-button.css +1 -2
  414. package/dist/collection/components/split-button/split-button.js +1 -1
  415. package/dist/collection/components/stepper/interfaces.js +1 -1
  416. package/dist/collection/components/stepper/stepper.js +1 -1
  417. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  418. package/dist/collection/components/switch/switch.js +1 -1
  419. package/dist/collection/components/tab/interfaces.js +1 -1
  420. package/dist/collection/components/tab/tab.js +1 -1
  421. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  422. package/dist/collection/components/tab-title/tab-title.js +1 -1
  423. package/dist/collection/components/tabs/interfaces.js +1 -1
  424. package/dist/collection/components/tabs/resources.js +1 -1
  425. package/dist/collection/components/tabs/tabs.js +1 -1
  426. package/dist/collection/components/tile/resources.js +1 -1
  427. package/dist/collection/components/tile/tile.js +1 -1
  428. package/dist/collection/components/tile-select/interfaces.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/interfaces.js +1 -1
  432. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  433. package/dist/collection/components/time-picker/resources.js +1 -1
  434. package/dist/collection/components/time-picker/time-picker.js +1 -1
  435. package/dist/collection/components/tip/resources.js +1 -1
  436. package/dist/collection/components/tip/tip.js +1 -1
  437. package/dist/collection/components/tip-group/tip-group.js +1 -1
  438. package/dist/collection/components/tip-manager/resources.js +1 -1
  439. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  440. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  441. package/dist/collection/components/tooltip/resources.js +1 -1
  442. package/dist/collection/components/tooltip/tooltip.js +1 -1
  443. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  444. package/dist/collection/components/tree/interfaces.js +1 -1
  445. package/dist/collection/components/tree/tree.js +1 -1
  446. package/dist/collection/components/tree-item/interfaces.js +1 -1
  447. package/dist/collection/components/tree-item/resources.js +1 -1
  448. package/dist/collection/components/tree-item/tree-item.js +1 -1
  449. package/dist/collection/components/value-list/interfaces.js +1 -1
  450. package/dist/collection/components/value-list/resources.js +1 -1
  451. package/dist/collection/components/value-list/utils.js +1 -1
  452. package/dist/collection/components/value-list/value-list.js +1 -1
  453. package/dist/collection/components/value-list-item/resources.js +1 -1
  454. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  455. package/dist/collection/utils/array.js +1 -1
  456. package/dist/collection/utils/conditionalSlot.js +1 -1
  457. package/dist/collection/utils/date.js +1 -1
  458. package/dist/collection/utils/dom.js +1 -1
  459. package/dist/collection/utils/filter.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/guid.js +1 -1
  463. package/dist/collection/utils/interactive.js +1 -1
  464. package/dist/collection/utils/key.js +1 -1
  465. package/dist/collection/utils/label.js +1 -1
  466. package/dist/collection/utils/locale.js +1 -1
  467. package/dist/collection/utils/math.js +1 -1
  468. package/dist/collection/utils/number.js +1 -1
  469. package/dist/collection/utils/observers.js +1 -1
  470. package/dist/collection/utils/openCloseComponent.js +1 -1
  471. package/dist/collection/utils/popper.js +1 -1
  472. package/dist/collection/utils/resources.js +1 -1
  473. package/dist/collection/utils/time.js +1 -1
  474. package/dist/components/ExpandToggle.js +1 -1
  475. package/dist/components/Heading.js +1 -1
  476. package/dist/components/action-group.js +1 -1
  477. package/dist/components/action-menu.js +1 -1
  478. package/dist/components/action.js +1 -1
  479. package/dist/components/array.js +1 -1
  480. package/dist/components/button.js +2 -2
  481. package/dist/components/calcite-accordion-item.js +1 -1
  482. package/dist/components/calcite-accordion.js +1 -1
  483. package/dist/components/calcite-action-bar.js +1 -1
  484. package/dist/components/calcite-action-group.js +1 -1
  485. package/dist/components/calcite-action-menu.js +1 -1
  486. package/dist/components/calcite-action-pad.js +1 -1
  487. package/dist/components/calcite-action.js +1 -1
  488. package/dist/components/calcite-alert.js +23 -30
  489. package/dist/components/calcite-avatar.js +1 -1
  490. package/dist/components/calcite-block-section.js +1 -1
  491. package/dist/components/calcite-block.js +1 -1
  492. package/dist/components/calcite-button.js +1 -1
  493. package/dist/components/calcite-card.js +1 -1
  494. package/dist/components/calcite-checkbox.js +1 -1
  495. package/dist/components/calcite-chip.js +1 -1
  496. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  497. package/dist/components/calcite-color-picker-swatch.js +1 -1
  498. package/dist/components/calcite-color-picker.js +1 -1
  499. package/dist/components/calcite-combobox-item-group.js +1 -1
  500. package/dist/components/calcite-combobox-item.js +1 -1
  501. package/dist/components/calcite-combobox.js +5 -11
  502. package/dist/components/calcite-date-picker-day.js +1 -1
  503. package/dist/components/calcite-date-picker-month-header.js +1 -1
  504. package/dist/components/calcite-date-picker-month.js +1 -1
  505. package/dist/components/calcite-date-picker.js +1 -1
  506. package/dist/components/calcite-dropdown-group.js +1 -1
  507. package/dist/components/calcite-dropdown-item.js +1 -1
  508. package/dist/components/calcite-dropdown.js +1 -1
  509. package/dist/components/calcite-fab.js +1 -1
  510. package/dist/components/calcite-filter.js +1 -1
  511. package/dist/components/calcite-flow.js +1 -1
  512. package/dist/components/calcite-graph.js +1 -1
  513. package/dist/components/calcite-handle.js +1 -1
  514. package/dist/components/calcite-icon.js +1 -1
  515. package/dist/components/calcite-inline-editable.js +1 -1
  516. package/dist/components/calcite-input-date-picker.js +30 -7
  517. package/dist/components/calcite-input-message.js +1 -1
  518. package/dist/components/calcite-input-number.js +1 -1
  519. package/dist/components/calcite-input-time-picker.js +1 -1
  520. package/dist/components/calcite-input.js +1 -1
  521. package/dist/components/calcite-label.js +1 -1
  522. package/dist/components/calcite-link.js +1 -1
  523. package/dist/components/calcite-list-item-group.js +1 -1
  524. package/dist/components/calcite-list-item.js +1 -1
  525. package/dist/components/calcite-list.js +1 -1
  526. package/dist/components/calcite-loader.js +1 -1
  527. package/dist/components/calcite-modal.js +35 -11
  528. package/dist/components/calcite-notice.js +2 -2
  529. package/dist/components/calcite-option-group.js +1 -1
  530. package/dist/components/calcite-option.js +1 -1
  531. package/dist/components/calcite-pagination.js +2 -2
  532. package/dist/components/calcite-panel.js +2 -2
  533. package/dist/components/calcite-pick-list-group.js +1 -1
  534. package/dist/components/calcite-pick-list-item.js +1 -1
  535. package/dist/components/calcite-pick-list.js +1 -1
  536. package/dist/components/calcite-popover-manager.js +1 -1
  537. package/dist/components/calcite-popover.js +1 -1
  538. package/dist/components/calcite-progress.js +1 -1
  539. package/dist/components/calcite-radio-button-group.js +1 -1
  540. package/dist/components/calcite-radio-button.js +1 -1
  541. package/dist/components/calcite-radio-group-item.js +1 -1
  542. package/dist/components/calcite-radio-group.js +1 -1
  543. package/dist/components/calcite-rating.js +1 -1
  544. package/dist/components/calcite-scrim.js +1 -1
  545. package/dist/components/calcite-select.js +1 -1
  546. package/dist/components/calcite-shell-center-row.js +1 -1
  547. package/dist/components/calcite-shell-panel.js +1 -1
  548. package/dist/components/calcite-shell.js +1 -1
  549. package/dist/components/calcite-slider.js +1 -1
  550. package/dist/components/calcite-sortable-list.js +1 -1
  551. package/dist/components/calcite-split-button.js +2 -2
  552. package/dist/components/calcite-stepper-item.js +1 -1
  553. package/dist/components/calcite-stepper.js +1 -1
  554. package/dist/components/calcite-switch.js +1 -1
  555. package/dist/components/calcite-tab-nav.js +1 -1
  556. package/dist/components/calcite-tab-title.js +1 -1
  557. package/dist/components/calcite-tab.js +1 -1
  558. package/dist/components/calcite-tabs.js +1 -1
  559. package/dist/components/calcite-tile-select-group.js +1 -1
  560. package/dist/components/calcite-tile-select.js +1 -1
  561. package/dist/components/calcite-tile.js +1 -1
  562. package/dist/components/calcite-time-picker.js +1 -1
  563. package/dist/components/calcite-tip-group.js +1 -1
  564. package/dist/components/calcite-tip-manager.js +1 -1
  565. package/dist/components/calcite-tip.js +1 -1
  566. package/dist/components/calcite-tooltip-manager.js +1 -1
  567. package/dist/components/calcite-tooltip.js +1 -1
  568. package/dist/components/calcite-tree-item.js +1 -1
  569. package/dist/components/calcite-tree.js +1 -1
  570. package/dist/components/calcite-value-list-item.js +1 -1
  571. package/dist/components/calcite-value-list.js +1 -1
  572. package/dist/components/checkbox.js +1 -1
  573. package/dist/components/chip.js +1 -1
  574. package/dist/components/color-picker-hex-input.js +1 -1
  575. package/dist/components/color-picker-swatch.js +1 -1
  576. package/dist/components/conditionalSlot.js +1 -1
  577. package/dist/components/date-picker-day.js +1 -1
  578. package/dist/components/date-picker-month-header.js +1 -1
  579. package/dist/components/date-picker-month.js +1 -1
  580. package/dist/components/date-picker.js +1 -1
  581. package/dist/components/date.js +1 -1
  582. package/dist/components/debounce.js +1 -1
  583. package/dist/components/dom.js +1 -1
  584. package/dist/components/dropdown.js +20 -25
  585. package/dist/components/filter.js +1 -1
  586. package/dist/components/forIn.js +1 -1
  587. package/dist/components/form.js +1 -1
  588. package/dist/components/graph.js +1 -1
  589. package/dist/components/guid.js +1 -1
  590. package/dist/components/handle.js +1 -1
  591. package/dist/components/icon.js +1 -1
  592. package/dist/components/index.js +1 -1
  593. package/dist/components/input.js +1 -1
  594. package/dist/components/interactive.js +1 -1
  595. package/dist/components/interfaces.js +1 -1
  596. package/dist/components/interfaces2.js +1 -1
  597. package/dist/components/key.js +1 -1
  598. package/dist/components/label.js +1 -1
  599. package/dist/components/label2.js +1 -1
  600. package/dist/components/link.js +1 -1
  601. package/dist/components/loader.js +1 -1
  602. package/dist/components/locale.js +1 -1
  603. package/dist/components/math.js +1 -1
  604. package/dist/components/observers.js +1 -1
  605. package/dist/components/pick-list-item.js +1 -1
  606. package/dist/components/popover.js +28 -3
  607. package/dist/components/popper.js +1 -1
  608. package/dist/components/progress.js +1 -1
  609. package/dist/components/resources.js +1 -1
  610. package/dist/components/resources2.js +1 -1
  611. package/dist/components/resources3.js +1 -1
  612. package/dist/components/scrim.js +1 -1
  613. package/dist/components/shared-list-render.js +1 -1
  614. package/dist/components/sortable.esm.js +1 -1
  615. package/dist/components/switch.js +1 -1
  616. package/dist/components/tab-nav.js +1 -1
  617. package/dist/components/tab-title.js +1 -1
  618. package/dist/components/tab.js +1 -1
  619. package/dist/components/tabs.js +1 -1
  620. package/dist/components/tile.js +1 -1
  621. package/dist/components/time-picker.js +1 -1
  622. package/dist/components/utils.js +1 -1
  623. package/dist/components/utils2.js +1 -1
  624. package/dist/custom-elements/index.js +141 -87
  625. package/dist/esm/{ExpandToggle-d836b4c2.js → ExpandToggle-8a52a068.js} +5 -5
  626. package/dist/esm/{Heading-48c92432.js → Heading-721e57cb.js} +2 -2
  627. package/dist/esm/{array-4b131c4b.js → array-59cce697.js} +1 -1
  628. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  629. package/dist/esm/calcite-action-bar.entry.js +10 -10
  630. package/dist/esm/calcite-action-group.entry.js +8 -8
  631. package/dist/esm/calcite-action-menu.entry.js +8 -8
  632. package/dist/esm/calcite-action-pad.entry.js +9 -9
  633. package/dist/esm/calcite-action.entry.js +6 -6
  634. package/dist/esm/calcite-alert.entry.js +27 -34
  635. package/dist/esm/calcite-avatar.entry.js +5 -5
  636. package/dist/esm/calcite-block_2.entry.js +8 -8
  637. package/dist/esm/calcite-button.entry.js +9 -9
  638. package/dist/esm/calcite-card.entry.js +6 -6
  639. package/dist/esm/calcite-checkbox.entry.js +7 -7
  640. package/dist/esm/calcite-chip.entry.js +6 -6
  641. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  642. package/dist/esm/calcite-combobox_3.entry.js +16 -22
  643. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  644. package/dist/esm/calcite-dropdown_3.entry.js +26 -31
  645. package/dist/esm/calcite-fab.entry.js +5 -5
  646. package/dist/esm/calcite-filter.entry.js +7 -7
  647. package/dist/esm/calcite-flow.entry.js +3 -3
  648. package/dist/esm/calcite-graph_2.entry.js +9 -9
  649. package/dist/esm/calcite-handle.entry.js +4 -4
  650. package/dist/esm/calcite-icon.entry.js +5 -5
  651. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  652. package/dist/esm/calcite-input-date-picker.entry.js +40 -17
  653. package/dist/esm/calcite-input-message.entry.js +4 -4
  654. package/dist/esm/calcite-input-number.entry.js +11 -11
  655. package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
  656. package/dist/esm/calcite-input.entry.js +11 -11
  657. package/dist/esm/calcite-label.entry.js +5 -5
  658. package/dist/esm/calcite-link.entry.js +5 -5
  659. package/dist/esm/calcite-list_3.entry.js +8 -8
  660. package/dist/esm/calcite-loader.entry.js +3 -3
  661. package/dist/esm/calcite-modal.entry.js +40 -16
  662. package/dist/esm/calcite-notice.entry.js +8 -8
  663. package/dist/esm/calcite-option_3.entry.js +8 -8
  664. package/dist/esm/calcite-pagination.entry.js +6 -6
  665. package/dist/esm/calcite-panel.entry.js +10 -10
  666. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  667. package/dist/esm/calcite-popover_2.entry.js +34 -9
  668. package/dist/esm/calcite-progress.entry.js +2 -2
  669. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  670. package/dist/esm/calcite-radio-button.entry.js +8 -8
  671. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  672. package/dist/esm/calcite-rating.entry.js +8 -8
  673. package/dist/esm/calcite-scrim.entry.js +2 -2
  674. package/dist/esm/calcite-shell_3.entry.js +7 -7
  675. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  676. package/dist/esm/calcite-split-button.entry.js +4 -4
  677. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  678. package/dist/esm/calcite-switch.entry.js +7 -7
  679. package/dist/esm/calcite-tab_4.entry.js +6 -6
  680. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  681. package/dist/esm/calcite-tile.entry.js +7 -7
  682. package/dist/esm/calcite-tip_3.entry.js +7 -7
  683. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  684. package/dist/esm/calcite-tree_2.entry.js +6 -6
  685. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  686. package/dist/esm/calcite.js +2 -2
  687. package/dist/esm/{conditionalSlot-51883c81.js → conditionalSlot-2a2a41cc.js} +3 -3
  688. package/dist/esm/{debounce-7152e426.js → debounce-3edfb6ff.js} +1 -1
  689. package/dist/esm/{dom-4deab368.js → dom-b1dd66bf.js} +2 -2
  690. package/dist/esm/{forIn-57f3069a.js → forIn-5b92ca9d.js} +2 -2
  691. package/dist/esm/{form-f82e2815.js → form-fe385c43.js} +3 -3
  692. package/dist/esm/{guid-ce02e0fd.js → guid-07eb7b27.js} +1 -1
  693. package/dist/esm/{index-2302d792.js → index-5111df84.js} +1 -1
  694. package/dist/esm/index.js +1 -1
  695. package/dist/esm/{interactive-6b719f79.js → interactive-ba2dc945.js} +1 -1
  696. package/dist/esm/{interfaces-6dd03259.js → interfaces-baf59c23.js} +1 -1
  697. package/dist/esm/{key-0c5cd06e.js → key-a8a72c0a.js} +1 -1
  698. package/dist/esm/{label-977e5b15.js → label-a48e4889.js} +2 -2
  699. package/dist/esm/loader.js +2 -2
  700. package/dist/esm/{locale-67ea5211.js → locale-96c0c5d1.js} +2 -2
  701. package/dist/esm/{math-ab13649d.js → math-1e14214c.js} +1 -1
  702. package/dist/esm/{observers-d6b625df.js → observers-b8abfdd3.js} +1 -1
  703. package/dist/esm/{popper-cbcc474a.js → popper-bbf118a0.js} +2 -2
  704. package/dist/esm/{resources-fb770018.js → resources-1644055c.js} +5 -5
  705. package/dist/esm/{resources-0c7a0345.js → resources-6525ae1d.js} +1 -1
  706. package/dist/esm/{resources-1174197b.js → resources-d8ea6462.js} +1 -1
  707. package/dist/esm/{resources-41f9ccd3.js → resources-fd996bab.js} +3 -3
  708. package/dist/esm/{sortable.esm-b0277ca6.js → sortable.esm-cc0238e2.js} +1 -1
  709. package/dist/esm/{utils-8da1d515.js → utils-6aedbacf.js} +1 -1
  710. package/dist/esm-es5/{ExpandToggle-d836b4c2.js → ExpandToggle-8a52a068.js} +2 -2
  711. package/dist/esm-es5/{Heading-48c92432.js → Heading-721e57cb.js} +2 -2
  712. package/dist/esm-es5/{array-4b131c4b.js → array-59cce697.js} +1 -1
  713. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  714. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  715. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  716. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  717. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  718. package/dist/esm-es5/calcite-action.entry.js +2 -2
  719. package/dist/esm-es5/calcite-alert.entry.js +3 -3
  720. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  721. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  722. package/dist/esm-es5/calcite-button.entry.js +2 -2
  723. package/dist/esm-es5/calcite-card.entry.js +2 -2
  724. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  725. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  726. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  727. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  728. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  729. package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
  730. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  731. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  732. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  733. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  734. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  735. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  736. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  737. package/dist/esm-es5/calcite-input-date-picker.entry.js +3 -3
  738. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  739. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  740. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  741. package/dist/esm-es5/calcite-input.entry.js +2 -2
  742. package/dist/esm-es5/calcite-label.entry.js +2 -2
  743. package/dist/esm-es5/calcite-link.entry.js +3 -3
  744. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  745. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  746. package/dist/esm-es5/calcite-modal.entry.js +3 -3
  747. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  748. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  749. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  750. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  751. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  752. package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
  753. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  754. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  755. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  756. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  757. package/dist/esm-es5/calcite-rating.entry.js +3 -3
  758. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  759. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  760. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  761. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  762. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  763. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  764. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  765. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  766. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  767. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  768. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  769. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  770. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  771. package/dist/esm-es5/calcite.js +2 -2
  772. package/dist/esm-es5/{conditionalSlot-51883c81.js → conditionalSlot-2a2a41cc.js} +2 -2
  773. package/dist/esm-es5/{debounce-7152e426.js → debounce-3edfb6ff.js} +1 -1
  774. package/dist/esm-es5/{dom-4deab368.js → dom-b1dd66bf.js} +2 -2
  775. package/dist/esm-es5/{forIn-57f3069a.js → forIn-5b92ca9d.js} +2 -2
  776. package/dist/esm-es5/{form-f82e2815.js → form-fe385c43.js} +2 -2
  777. package/dist/esm-es5/{guid-ce02e0fd.js → guid-07eb7b27.js} +1 -1
  778. package/dist/esm-es5/{index-2302d792.js → index-5111df84.js} +1 -1
  779. package/dist/esm-es5/index.js +1 -1
  780. package/dist/esm-es5/{interactive-6b719f79.js → interactive-ba2dc945.js} +1 -1
  781. package/dist/esm-es5/{interfaces-6dd03259.js → interfaces-baf59c23.js} +1 -1
  782. package/dist/esm-es5/{key-0c5cd06e.js → key-a8a72c0a.js} +1 -1
  783. package/dist/esm-es5/{label-977e5b15.js → label-a48e4889.js} +2 -2
  784. package/dist/esm-es5/loader.js +2 -2
  785. package/dist/esm-es5/{locale-67ea5211.js → locale-96c0c5d1.js} +2 -2
  786. package/dist/esm-es5/{math-ab13649d.js → math-1e14214c.js} +1 -1
  787. package/dist/esm-es5/{observers-d6b625df.js → observers-b8abfdd3.js} +1 -1
  788. package/dist/esm-es5/{popper-cbcc474a.js → popper-bbf118a0.js} +2 -2
  789. package/dist/esm-es5/{resources-fb770018.js → resources-1644055c.js} +2 -2
  790. package/dist/esm-es5/{resources-0c7a0345.js → resources-6525ae1d.js} +1 -1
  791. package/dist/esm-es5/{resources-1174197b.js → resources-d8ea6462.js} +1 -1
  792. package/dist/esm-es5/{resources-41f9ccd3.js → resources-fd996bab.js} +2 -2
  793. package/dist/esm-es5/{sortable.esm-b0277ca6.js → sortable.esm-cc0238e2.js} +1 -1
  794. package/dist/esm-es5/{utils-8da1d515.js → utils-6aedbacf.js} +1 -1
  795. package/dist/extras/docs-json.json +94 -22
  796. package/dist/loader/cdn.js +1 -1
  797. package/dist/loader/index.cjs.js +1 -1
  798. package/dist/loader/index.es2017.js +1 -1
  799. package/dist/loader/index.js +1 -1
  800. package/dist/types/components/alert/alert.d.ts +13 -21
  801. package/dist/types/components/combobox/combobox.d.ts +5 -13
  802. package/dist/types/components/dropdown/dropdown.d.ts +11 -15
  803. package/dist/types/components/input-date-picker/input-date-picker.d.ts +13 -9
  804. package/dist/types/components/modal/modal.d.ts +13 -5
  805. package/dist/types/components/popover/popover.d.ts +13 -5
  806. package/dist/types/components.d.ts +25 -41
  807. package/dist/types/preact.d.ts +15 -9
  808. package/hydrate/index.js +141 -87
  809. package/package.json +2 -1
  810. package/dist/calcite/p-0c465aea.system.js +0 -6
  811. package/dist/calcite/p-14693e05.system.entry.js +0 -6
  812. package/dist/calcite/p-15114392.system.js +0 -6
  813. package/dist/calcite/p-1ccc1b47.js +0 -6
  814. package/dist/calcite/p-326de897.entry.js +0 -6
  815. package/dist/calcite/p-4a8cea10.system.entry.js +0 -6
  816. package/dist/calcite/p-6afc4b8a.system.entry.js +0 -6
  817. package/dist/calcite/p-75442745.system.entry.js +0 -6
  818. package/dist/calcite/p-8836dcad.entry.js +0 -6
  819. package/dist/calcite/p-8a0b7455.entry.js +0 -6
  820. package/dist/calcite/p-8e8955a5.system.entry.js +0 -6
  821. package/dist/calcite/p-9b221ad4.entry.js +0 -6
  822. package/dist/calcite/p-a3c91348.entry.js +0 -6
  823. package/dist/calcite/p-a469734b.entry.js +0 -6
  824. package/dist/calcite/p-c309559e.system.entry.js +0 -6
  825. package/dist/calcite/p-c6f113a8.system.entry.js +0 -6
  826. package/dist/calcite/p-c82ab7d8.entry.js +0 -6
  827. package/dist/calcite/p-ca37eb33.entry.js +0 -6
  828. package/dist/calcite/p-efb97360.entry.js +0 -6
  829. package/dist/calcite/p-f3ed2b84.entry.js +0 -6
@@ -1,6 +1,6 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,a){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function r(e){try{s(a.next(e))}catch(e){o(e)}}function l(e){try{s(a["throw"](e))}catch(e){o(e)}}function s(e){e.done?i(e.value):n(e.value).then(r,l)}s((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,n,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(e){return function(t){return s([e,t])}}function s(r){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(o=r[0]&2?n["return"]:r[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,r[1])).done)return o;if(n=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;n=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=t.call(e,i)}catch(e){r=[6,e];n=0}finally{a=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
1
+ var __awaiter=this&&this.__awaiter||function(e,t,i,n){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function r(e){try{s(n.next(e))}catch(e){o(e)}}function l(e){try{s(n["throw"](e))}catch(e){o(e)}}function s(e){e.done?i(e.value):a(e.value).then(r,l)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(e){return function(t){return s([e,t])}}function s(r){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=t.call(e,i)}catch(e){r=[6,e];a=0}finally{n=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.533
6
- */System.register(["./p-3e0a6864.system.js","./p-0294fd22.system.js","./p-2b4562ec.system.js","./p-0c465aea.system.js","./p-42324be3.system.js"],(function(e){"use strict";var t,i,a,n,o,r,l,s,c,d,m,u;return{setters:[function(e){t=e.r;i=e.c;a=e.h;n=e.H;o=e.g},function(e){r=e.f;l=e.g;s=e.e;c=e.i},function(e){d=e.c},function(e){m=e.c;u=e.d},function(){}],execute:function(){function f(e,t,i,a,n){if(a===void 0){a=20}if(n===void 0){n=0}var o=[];if(n>=a){return o}var r=function(e){var o=e.assignedNodes().filter((function(e){return e.nodeType===1}));if(o.length>0){return f(o[0].parentElement,t,i,a,n+1)}return[]};var l=Array.from(e.children||[]);for(var s=0,c=l;s<c.length;s++){var d=c[s];if(t(d)){continue}if(i(d)){o.push(d)}if(d.shadowRoot!=null){o.push.apply(o,f(d.shadowRoot,t,i,a,n+1))}else if(d.tagName==="SLOT"){o.push.apply(o,r(d))}else{o.push.apply(o,f(d,t,i,a,n+1))}}return o}function b(e){return e.hasAttribute("hidden")||e.hasAttribute("aria-hidden")&&e.getAttribute("aria-hidden")!=="false"||e.style.display==="none"||e.style.opacity==="0"||e.style.visibility==="hidden"||e.style.visibility==="collapse"}function p(e){return e.hasAttribute("disabled")||e.hasAttribute("aria-disabled")&&e.getAttribute("aria-disabled")!=="false"}function h(e){if(e.getAttribute("tabindex")==="-1"||b(e)||p(e)){return false}return e.hasAttribute("tabindex")||(e instanceof HTMLAnchorElement||e instanceof HTMLAreaElement)&&e.hasAttribute("href")||(e instanceof HTMLButtonElement||e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement)||e instanceof HTMLIFrameElement}var v={title:"title",header:"header",footer:"footer",scrim:"scrim",back:"back",close:"close",secondary:"secondary",primary:"primary",overflowHidden:"overflow-hidden"};var x={close:"x"};var w={content:"content",header:"header",back:"back",secondary:"secondary",primary:"primary"};var y={close:"Close"};var g="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:fixed;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);z-index:101}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;inset:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{pointer-events:none;float:none;margin:1.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);z-index:102;-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transform:translate3d(0, 20px, 0);transform:translate3d(0, 20px, 0)}:host([active]),:host([open]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([active]) .modal,:host([open]) .modal{pointer-events:auto;visibility:visible;opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{display:-ms-flexbox;display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;z-index:2}.close{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding:var(--calcite-modal-padding);-ms-flex:0 0 auto;flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding-block:var(--calcite-modal-padding);padding-inline:var(--calcite-modal-padding-large)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text)}.content{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;block-size:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-block-size:calc(100vh - 12rem);z-index:1}.content--spaced{padding-block:var(--calcite-modal-padding);padding-inline:var(--calcite-modal-padding-large)}.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text)}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{-webkit-margin-before:auto;margin-block-start:auto;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:justify;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;padding-block:var(--calcite-modal-padding);padding-inline:var(--calcite-modal-padding-large);z-index:2}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;-webkit-margin-end:auto;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-inline-size:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-inline-size:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-inline-size:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;-webkit-transform:translate3D(0, 20px, 0) scale(0.95);transform:translate3D(0, 20px, 0) scale(0.95)}:host([fullscreen]) .content{max-block-size:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([active][fullscreen]) .modal,:host([open][fullscreen]) .modal{-webkit-transform:translate3D(0, 0, 0) scale(1);transform:translate3D(0, 0, 0) scale(1)}:host([active][fullscreen]) .header,:host([open][fullscreen]) .header{border-radius:0}:host([active][fullscreen]) .footer,:host([open][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{block-size:auto}:host([docked]) .content{block-size:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-start-end-radius:var(--calcite-border-radius)}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.back,.secondary{margin:0px;-webkit-margin-after:0.25rem;margin-block-end:0.25rem}}";var k=function(e){return c(e)||h(e)};var z=function(e){return f(e,b,k)};var E=e("calcite_modal",function(){function e(e){var a=this;t(this,e);this.calciteModalOpen=i(this,"calciteModalOpen",7);this.calciteModalClose=i(this,"calciteModalClose",7);this.active=false;this.open=false;this.beforeClose=function(){return Promise.resolve()};this.disableCloseButton=false;this.disableOutsideClose=false;this.intlClose=y.close;this.disableEscape=false;this.scale="m";this.width="m";this.backgroundColor="white";this.noPadding=false;this.hasFooter=true;this.mutationObserver=d("mutation",(function(){return a.updateFooterVisibility()}));this.activeTransitionProp="opacity";this.transitionEnd=function(e){if(e.propertyName===a.activeTransitionProp){a.open||a.active?a.calciteModalOpen.emit():a.calciteModalClose.emit()}};this.openEnd=function(){a.setFocus();a.el.removeEventListener("calciteModalOpen",a.openEnd)};this.handleOutsideClose=function(){if(a.disableOutsideClose){return}a.close()};this.close=function(){return a.beforeClose(a.el).then((function(){a.active=false;a.open=false;r(a.previousActiveElement);a.removeOverflowHiddenClass()}))};this.focusFirstElement=function(){r(a.disableCloseButton?z(a.el)[0]:a.closeButtonEl)};this.focusLastElement=function(){var e=z(a.el).filter((function(e){return!e.getAttribute("data-focus-fence")}));if(e.length>0){r(e[e.length-1])}else{r(a.closeButtonEl)}};this.updateFooterVisibility=function(){a.hasFooter=!!l(a.el,[w.back,w.primary,w.secondary])}}e.prototype.componentWillLoad=function(){if(this.open||this.active){this.openModal()}};e.prototype.connectedCallback=function(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true});this.updateFooterVisibility();m(this)};e.prototype.disconnectedCallback=function(){var e;this.removeOverflowHiddenClass();(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect();u(this)};e.prototype.render=function(){var e=this;return a(n,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},a("calcite-scrim",{class:v.scrim,onClick:this.handleOutsideClose}),this.renderStyle(),a("div",{class:"modal",onTransitionEnd:this.transitionEnd},a("div",{"data-focus-fence":true,onFocus:this.focusLastElement,tabindex:"0"}),a("div",{class:v.header},this.renderCloseButton(),a("header",{class:v.title},a("slot",{name:v.header}))),a("div",{class:{content:true,"content--spaced":!this.noPadding,"content--no-footer":!this.hasFooter},ref:function(t){return e.modalContent=t}},a("slot",{name:w.content})),this.renderFooter(),a("div",{"data-focus-fence":true,onFocus:this.focusFirstElement,tabindex:"0"})))};e.prototype.renderFooter=function(){return this.hasFooter?a("div",{class:v.footer,key:"footer"},a("span",{class:v.back},a("slot",{name:w.back})),a("span",{class:v.secondary},a("slot",{name:w.secondary})),a("span",{class:v.primary},a("slot",{name:w.primary}))):null};e.prototype.renderCloseButton=function(){var e=this;return!this.disableCloseButton?a("button",{"aria-label":this.intlClose,class:v.close,key:"button",onClick:this.close,ref:function(t){return e.closeButtonEl=t},title:this.intlClose},a("calcite-icon",{icon:x.close,scale:this.scale==="s"?"s":this.scale==="m"?"m":this.scale==="l"?"l":null})):null};e.prototype.renderStyle=function(){var e=!isNaN(parseInt("".concat(this.width)));return e?a("style",null,"\n .modal {\n max-width: ".concat(this.width,"px !important;\n }\n @media screen and (max-width: ").concat(this.width,"px) {\n .modal {\n height: 100% !important;\n max-height: 100% !important;\n width: 100% !important;\n max-width: 100% !important;\n margin: 0 !important;\n border-radius: 0 !important;\n }\n .content {\n flex: 1 1 auto !important;\n max-height: unset !important;\n }\n }\n ")):null};e.prototype.handleEscape=function(e){if((this.open||this.active)&&!this.disableEscape&&e.key==="Escape"){this.close()}};e.prototype.focusElement=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(e){e.focus()}return[2,this.setFocus()]}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){t=this.closeButtonEl;return[2,r(e==="close-button"?t:z(this.el)[0]||t)]}))}))};e.prototype.scrollContent=function(e,t){if(e===void 0){e=0}if(t===void 0){t=0}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){if(this.modalContent){if(this.modalContent.scrollTo){this.modalContent.scrollTo({top:e,left:t,behavior:"smooth"})}else{this.modalContent.scrollTop=e;this.modalContent.scrollLeft=t}}return[2]}))}))};e.prototype.toggleModal=function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){if(e!==t){if(e){this.openModal()}else if(!e){this.close()}}return[2]}))}))};e.prototype.openModal=function(){this.previousActiveElement=document.activeElement;this.el.addEventListener("calciteModalOpen",this.openEnd);this.active=true;this.open=true;var e=l(this.el,w.header);var t=l(this.el,w.content);this.titleId=s(e);this.contentId=s(t);document.documentElement.classList.add(v.overflowHidden)};e.prototype.removeOverflowHiddenClass=function(){document.documentElement.classList.remove(v.overflowHidden)};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{active:["toggleModal"],open:["toggleModal"]}},enumerable:false,configurable:true});return e}());E.style=g}}}));
5
+ * v1.0.0-next.534
6
+ */System.register(["./p-816708b1.system.js","./p-a8a240eb.system.js","./p-69a78a11.system.js","./p-fd322586.system.js","./p-364affb4.system.js"],(function(e){"use strict";var t,i,n,a,o,r,l,s,c,d,m,u;return{setters:[function(e){t=e.r;i=e.c;n=e.h;a=e.H;o=e.g},function(e){r=e.f;l=e.g;s=e.e;c=e.i},function(e){d=e.c},function(e){m=e.c;u=e.d},function(){}],execute:function(){function f(e,t,i,n,a){if(n===void 0){n=20}if(a===void 0){a=0}var o=[];if(a>=n){return o}var r=function(e){var o=e.assignedNodes().filter((function(e){return e.nodeType===1}));if(o.length>0){return f(o[0].parentElement,t,i,n,a+1)}return[]};var l=Array.from(e.children||[]);for(var s=0,c=l;s<c.length;s++){var d=c[s];if(t(d)){continue}if(i(d)){o.push(d)}if(d.shadowRoot!=null){o.push.apply(o,f(d.shadowRoot,t,i,n,a+1))}else if(d.tagName==="SLOT"){o.push.apply(o,r(d))}else{o.push.apply(o,f(d,t,i,n,a+1))}}return o}function b(e){return e.hasAttribute("hidden")||e.hasAttribute("aria-hidden")&&e.getAttribute("aria-hidden")!=="false"||e.style.display==="none"||e.style.opacity==="0"||e.style.visibility==="hidden"||e.style.visibility==="collapse"}function p(e){return e.hasAttribute("disabled")||e.hasAttribute("aria-disabled")&&e.getAttribute("aria-disabled")!=="false"}function h(e){if(e.getAttribute("tabindex")==="-1"||b(e)||p(e)){return false}return e.hasAttribute("tabindex")||(e instanceof HTMLAnchorElement||e instanceof HTMLAreaElement)&&e.hasAttribute("href")||(e instanceof HTMLButtonElement||e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement)||e instanceof HTMLIFrameElement}var v={title:"title",header:"header",footer:"footer",scrim:"scrim",back:"back",close:"close",secondary:"secondary",primary:"primary",overflowHidden:"overflow-hidden"};var x={close:"x"};var y={content:"content",header:"header",back:"back",secondary:"secondary",primary:"primary"};var w={close:"Close"};var g="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:fixed;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);z-index:101}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;inset:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{pointer-events:none;float:none;margin:1.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);z-index:102;-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transform:translate3d(0, 20px, 0);transform:translate3d(0, 20px, 0)}:host([active]),:host([open]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([active]) .modal,:host([open]) .modal{pointer-events:auto;visibility:visible;opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{display:-ms-flexbox;display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;z-index:2}.close{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding:var(--calcite-modal-padding);-ms-flex:0 0 auto;flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding-block:var(--calcite-modal-padding);padding-inline:var(--calcite-modal-padding-large)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text)}.content{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;block-size:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-block-size:calc(100vh - 12rem);z-index:1}.content--spaced{padding-block:var(--calcite-modal-padding);padding-inline:var(--calcite-modal-padding-large)}.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text)}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{-webkit-margin-before:auto;margin-block-start:auto;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:justify;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;padding-block:var(--calcite-modal-padding);padding-inline:var(--calcite-modal-padding-large);z-index:2}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;-webkit-margin-end:auto;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-inline-size:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-inline-size:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-inline-size:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;-webkit-transform:translate3D(0, 20px, 0) scale(0.95);transform:translate3D(0, 20px, 0) scale(0.95)}:host([fullscreen]) .content{max-block-size:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([active][fullscreen]) .modal,:host([open][fullscreen]) .modal{-webkit-transform:translate3D(0, 0, 0) scale(1);transform:translate3D(0, 0, 0) scale(1)}:host([active][fullscreen]) .header,:host([open][fullscreen]) .header{border-radius:0}:host([active][fullscreen]) .footer,:host([open][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{block-size:auto}:host([docked]) .content{block-size:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-start-end-radius:var(--calcite-border-radius)}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.back,.secondary{margin:0px;-webkit-margin-after:0.25rem;margin-block-end:0.25rem}}";var k=function(e){return c(e)||h(e)};var z=function(e){return f(e,b,k)};var C=e("calcite_modal",function(){function e(e){var n=this;t(this,e);this.calciteModalBeforeClose=i(this,"calciteModalBeforeClose",7);this.calciteModalClose=i(this,"calciteModalClose",7);this.calciteModalBeforeOpen=i(this,"calciteModalBeforeOpen",7);this.calciteModalOpen=i(this,"calciteModalOpen",7);this.active=false;this.open=false;this.beforeClose=function(){return Promise.resolve()};this.disableCloseButton=false;this.disableOutsideClose=false;this.intlClose=w.close;this.disableEscape=false;this.scale="m";this.width="m";this.backgroundColor="white";this.noPadding=false;this.hasFooter=true;this.mutationObserver=d("mutation",(function(){return n.updateFooterVisibility()}));this.activeTransitionProp="opacity";this.setContainerEl=function(e){n.containerEl=e;n.containerEl.addEventListener("transitionstart",n.transitionStartHandler)};this.transitionStartHandler=function(e){if(e.propertyName===n.activeTransitionProp){n.open||n.active?n.onBeforeOpen():n.onBeforeClose()}};this.transitionEnd=function(e){if(e.propertyName===n.activeTransitionProp){n.open||n.active?n.onOpen():n.onClose()}};this.openEnd=function(){n.setFocus();n.el.removeEventListener("calciteModalOpen",n.openEnd)};this.handleOutsideClose=function(){if(n.disableOutsideClose){return}n.close()};this.close=function(){return n.beforeClose(n.el).then((function(){n.active=false;n.open=false;r(n.previousActiveElement);n.removeOverflowHiddenClass()}))};this.focusFirstElement=function(){r(n.disableCloseButton?z(n.el)[0]:n.closeButtonEl)};this.focusLastElement=function(){var e=z(n.el).filter((function(e){return!e.getAttribute("data-focus-fence")}));if(e.length>0){r(e[e.length-1])}else{r(n.closeButtonEl)}};this.updateFooterVisibility=function(){n.hasFooter=!!l(n.el,[y.back,y.primary,y.secondary])}}e.prototype.componentWillLoad=function(){if(this.open||this.active){this.openModal()}};e.prototype.connectedCallback=function(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true});this.updateFooterVisibility();m(this)};e.prototype.disconnectedCallback=function(){var e,t;(e=this.containerEl)===null||e===void 0?void 0:e.removeEventListener("transitionstart",this.transitionStartHandler);this.removeOverflowHiddenClass();(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();u(this)};e.prototype.render=function(){var e=this;return n(a,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},n("calcite-scrim",{class:v.scrim,onClick:this.handleOutsideClose}),this.renderStyle(),n("div",{class:"modal",onTransitionEnd:this.transitionEnd,ref:this.setContainerEl},n("div",{"data-focus-fence":true,onFocus:this.focusLastElement,tabindex:"0"}),n("div",{class:v.header},this.renderCloseButton(),n("header",{class:v.title},n("slot",{name:v.header}))),n("div",{class:{content:true,"content--spaced":!this.noPadding,"content--no-footer":!this.hasFooter},ref:function(t){return e.modalContent=t}},n("slot",{name:y.content})),this.renderFooter(),n("div",{"data-focus-fence":true,onFocus:this.focusFirstElement,tabindex:"0"})))};e.prototype.renderFooter=function(){return this.hasFooter?n("div",{class:v.footer,key:"footer"},n("span",{class:v.back},n("slot",{name:y.back})),n("span",{class:v.secondary},n("slot",{name:y.secondary})),n("span",{class:v.primary},n("slot",{name:y.primary}))):null};e.prototype.renderCloseButton=function(){var e=this;return!this.disableCloseButton?n("button",{"aria-label":this.intlClose,class:v.close,key:"button",onClick:this.close,ref:function(t){return e.closeButtonEl=t},title:this.intlClose},n("calcite-icon",{icon:x.close,scale:this.scale==="s"?"s":this.scale==="m"?"m":this.scale==="l"?"l":null})):null};e.prototype.renderStyle=function(){var e=!isNaN(parseInt("".concat(this.width)));return e?n("style",null,"\n .modal {\n max-width: ".concat(this.width,"px !important;\n }\n @media screen and (max-width: ").concat(this.width,"px) {\n .modal {\n height: 100% !important;\n max-height: 100% !important;\n width: 100% !important;\n max-width: 100% !important;\n margin: 0 !important;\n border-radius: 0 !important;\n }\n .content {\n flex: 1 1 auto !important;\n max-height: unset !important;\n }\n }\n ")):null};e.prototype.handleEscape=function(e){if((this.open||this.active)&&!this.disableEscape&&e.key==="Escape"){this.close()}};e.prototype.focusElement=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(e){e.focus()}return[2,this.setFocus()]}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){t=this.closeButtonEl;return[2,r(e==="close-button"?t:z(this.el)[0]||t)]}))}))};e.prototype.scrollContent=function(e,t){if(e===void 0){e=0}if(t===void 0){t=0}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){if(this.modalContent){if(this.modalContent.scrollTo){this.modalContent.scrollTo({top:e,left:t,behavior:"smooth"})}else{this.modalContent.scrollTop=e;this.modalContent.scrollLeft=t}}return[2]}))}))};e.prototype.onBeforeOpen=function(){this.calciteModalBeforeOpen.emit()};e.prototype.onOpen=function(){this.calciteModalOpen.emit()};e.prototype.onBeforeClose=function(){this.calciteModalBeforeClose.emit()};e.prototype.onClose=function(){this.calciteModalClose.emit()};e.prototype.toggleModal=function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){if(e!==t){if(e){this.openModal()}else if(!e){this.close()}}return[2]}))}))};e.prototype.openModal=function(){this.previousActiveElement=document.activeElement;this.el.addEventListener("calciteModalOpen",this.openEnd);this.active=true;this.open=true;var e=l(this.el,y.header);var t=l(this.el,y.content);this.titleId=s(e);this.contentId=s(t);document.documentElement.classList.add(v.overflowHidden)};e.prototype.removeOverflowHiddenClass=function(){document.documentElement.classList.remove(v.overflowHidden)};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{active:["toggleModal"],open:["toggleModal"]}},enumerable:false,configurable:true});return e}());C.style=g}}}));
@@ -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.533
4
+ * v1.0.0-next.534
5
5
  */
6
- import{r as t,c as a,h as i,g as e,F as n}from"./p-67b139be.js";import{m as r,d as s,a as o,s as c,h as l,b as m,k as d,i as h,e as f,f as p,r as b,l as w,n as k,j as u,o as g,p as x,I as y,L as v,q as D,t as z,H as _,T as C,u as I,C as H,S as j}from"./p-f8ad7f22.js";import{c as L}from"./p-cd1a0884.js";import{u as W}from"./p-ead88603.js";import{g as F,t as R}from"./p-535dc4df.js";import{H as A,c as S}from"./p-ada6cade.js";import{c as T,d as V}from"./p-1ccc1b47.js";import"./p-59cc5c20.js";import"./p-3ca2d4ed.js";import"./p-fbf296cd.js";const P=class{constructor(i){t(this,i),this.calciteListChange=a(this,"calciteListChange",7),this.disabled=!1,this.filterEnabled=!1,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[],this.lastSelectedItem=null,this.mutationObserver=L("mutation",r.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.deselectRemovedItems=s.bind(this),this.deselectSiblingItems=o.bind(this),this.selectSiblings=c.bind(this),this.handleFilter=l.bind(this),this.getItemData=m.bind(this),this.keyDownHandler=d.bind(this)}connectedCallback(){h.call(this),f.call(this)}disconnectedCallback(){p.call(this)}componentDidRender(){W(this)}calciteListItemRemoveHandler(t){b.call(this,t)}calciteListItemChangeHandler(t){w.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){k.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){u.call(this,t)}setUpItems(){g.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return x.call(this,t)}getIconType(){return this.multiple?y.square:y.circle}render(){return i(v,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};P.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:end;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:-webkit-sticky;position:sticky;inset-block-start:0px;z-index:1}calcite-filter{-webkit-margin-after:0px;margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}";const U=class{constructor(a){t(this,a)}connectedCallback(){T(this)}disconnectedCallback(){V(this)}render(){var t;const{el:a,groupTitle:e,headingLevel:r}=this,s=null!==F(a,D.parentItem),o={[z.container]:!0,[z.indented]:s},c=e,l=null===(t=a.closest("calcite-pick-list"))||void 0===t?void 0:t.headingLevel,m=l?S(l+1):null;return i(n,null,c?i(A,{class:z.heading,level:r||m||_},c):null,i("slot",{name:D.parentItem}),i("section",{class:o},i("slot",null)))}get el(){return e(this)}};U.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:last-child){-webkit-margin-after:0px;margin-block-end:0px}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;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{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}h3.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{-webkit-margin-start:1.5rem;margin-inline-start:1.5rem}";const K=class{constructor(i){t(this,i),this.calciteListItemChange=a(this,"calciteListItemChange",7),this.calciteListItemRemove=a(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=a(this,"calciteInternalListItemPropsChange",7),this.calciteInternalListItemValueChange=a(this,"calciteInternalListItemValueChange",7),this.disabled=!1,this.disableDeselect=!1,this.nonInteractive=!1,this.icon=null,this.removable=!1,this.selected=!1,this.intlRemove=C.remove,this.pickListClickHandler=t=>{this.disabled||this.disableDeselect&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.disableDeselect&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()}}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,a){this.calciteInternalListItemValueChange.emit({oldValue:a,newValue:t})}connectedCallback(){T(this)}disconnectedCallback(){V(this)}componentDidRender(){W(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){var t;null===(t=this.focusEl)||void 0===t||t.focus()}renderIcon(){const{icon:t}=this;return t?i("span",{class:{[H.icon]:!0,[H.iconDot]:t===y.circle},onClick:this.pickListClickHandler},t===y.square?i("calcite-icon",{icon:I.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?i("calcite-action",{class:H.remove,icon:I.remove,onCalciteActionClick:this.removeClickHandler,slot:j.actionsEnd,text:this.intlRemove}):null}renderActionsStart(){const{el:t}=this;return F(t,j.actionsStart)?i("div",{class:{[H.actions]:!0,[H.actionsStart]:!0}},i("slot",{name:j.actionsStart})):null}renderActionsEnd(){const{el:t,removable:a}=this;return F(t,j.actionsEnd)||a?i("div",{class:{[H.actions]:!0,[H.actionsEnd]:!0}},i("slot",{name:j.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:a}=this;return i(n,null,this.renderIcon(),this.renderActionsStart(),i("label",{"aria-label":a,class:H.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,ref:t=>this.focusEl=t,tabIndex:0},i("div",{"aria-checked":R(this.selected),class:H.textContainer,role:"menuitemcheckbox"},i("span",{class:H.title},a),t?i("span",{class:H.description},t):null)),this.renderActionsEnd())}get el(){return e(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"]}}};K.style='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{margin:0px;-webkit-margin-after:1px;margin-block-end:1px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition:background-color var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing);-webkit-animation:calcite-fade-in var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}.label{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;cursor:pointer;-ms-flex-align:center;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);-ms-flex:0 0 auto;flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:-ms-flexbox;display:flex;inline-size:1.5rem;-ms-flex-align:center;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:end;justify-content:flex-end}.actions--start~.label{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}';export{P as calcite_pick_list,U as calcite_pick_list_group,K as calcite_pick_list_item}
6
+ import{r as t,c as a,h as i,g as e,F as n}from"./p-e03b1783.js";import{m as r,d as s,a as o,s as c,h as l,b as m,k as d,i as h,e as f,f as p,r as b,l as w,n as k,j as u,o as g,p as x,I as y,L as v,q as D,t as z,H as _,T as C,u as I,C as H,S as j}from"./p-6d9ec264.js";import{c as L}from"./p-6e960d82.js";import{u as W}from"./p-3a60a21e.js";import{g as F,t as R}from"./p-b3835d89.js";import{H as A,c as S}from"./p-fc4a453a.js";import{c as T,d as V}from"./p-0b8038fc.js";import"./p-48cf8ae4.js";import"./p-d4039bdf.js";import"./p-043e4e1e.js";const P=class{constructor(i){t(this,i),this.calciteListChange=a(this,"calciteListChange",7),this.disabled=!1,this.filterEnabled=!1,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[],this.lastSelectedItem=null,this.mutationObserver=L("mutation",r.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.deselectRemovedItems=s.bind(this),this.deselectSiblingItems=o.bind(this),this.selectSiblings=c.bind(this),this.handleFilter=l.bind(this),this.getItemData=m.bind(this),this.keyDownHandler=d.bind(this)}connectedCallback(){h.call(this),f.call(this)}disconnectedCallback(){p.call(this)}componentDidRender(){W(this)}calciteListItemRemoveHandler(t){b.call(this,t)}calciteListItemChangeHandler(t){w.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){k.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){u.call(this,t)}setUpItems(){g.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return x.call(this,t)}getIconType(){return this.multiple?y.square:y.circle}render(){return i(v,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};P.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:end;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:-webkit-sticky;position:sticky;inset-block-start:0px;z-index:1}calcite-filter{-webkit-margin-after:0px;margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}";const U=class{constructor(a){t(this,a)}connectedCallback(){T(this)}disconnectedCallback(){V(this)}render(){var t;const{el:a,groupTitle:e,headingLevel:r}=this,s=null!==F(a,D.parentItem),o={[z.container]:!0,[z.indented]:s},c=e,l=null===(t=a.closest("calcite-pick-list"))||void 0===t?void 0:t.headingLevel,m=l?S(l+1):null;return i(n,null,c?i(A,{class:z.heading,level:r||m||_},c):null,i("slot",{name:D.parentItem}),i("section",{class:o},i("slot",null)))}get el(){return e(this)}};U.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:last-child){-webkit-margin-after:0px;margin-block-end:0px}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;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{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}h3.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{-webkit-margin-start:1.5rem;margin-inline-start:1.5rem}";const K=class{constructor(i){t(this,i),this.calciteListItemChange=a(this,"calciteListItemChange",7),this.calciteListItemRemove=a(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=a(this,"calciteInternalListItemPropsChange",7),this.calciteInternalListItemValueChange=a(this,"calciteInternalListItemValueChange",7),this.disabled=!1,this.disableDeselect=!1,this.nonInteractive=!1,this.icon=null,this.removable=!1,this.selected=!1,this.intlRemove=C.remove,this.pickListClickHandler=t=>{this.disabled||this.disableDeselect&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.disableDeselect&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()}}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,a){this.calciteInternalListItemValueChange.emit({oldValue:a,newValue:t})}connectedCallback(){T(this)}disconnectedCallback(){V(this)}componentDidRender(){W(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){var t;null===(t=this.focusEl)||void 0===t||t.focus()}renderIcon(){const{icon:t}=this;return t?i("span",{class:{[H.icon]:!0,[H.iconDot]:t===y.circle},onClick:this.pickListClickHandler},t===y.square?i("calcite-icon",{icon:I.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?i("calcite-action",{class:H.remove,icon:I.remove,onCalciteActionClick:this.removeClickHandler,slot:j.actionsEnd,text:this.intlRemove}):null}renderActionsStart(){const{el:t}=this;return F(t,j.actionsStart)?i("div",{class:{[H.actions]:!0,[H.actionsStart]:!0}},i("slot",{name:j.actionsStart})):null}renderActionsEnd(){const{el:t,removable:a}=this;return F(t,j.actionsEnd)||a?i("div",{class:{[H.actions]:!0,[H.actionsEnd]:!0}},i("slot",{name:j.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:a}=this;return i(n,null,this.renderIcon(),this.renderActionsStart(),i("label",{"aria-label":a,class:H.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,ref:t=>this.focusEl=t,tabIndex:0},i("div",{"aria-checked":R(this.selected),class:H.textContainer,role:"menuitemcheckbox"},i("span",{class:H.title},a),t?i("span",{class:H.description},t):null)),this.renderActionsEnd())}get el(){return e(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"]}}};K.style='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{margin:0px;-webkit-margin-after:1px;margin-block-end:1px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition:background-color var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing);-webkit-animation:calcite-fade-in var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}.label{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;cursor:pointer;-ms-flex-align:center;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);-ms-flex:0 0 auto;flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:-ms-flexbox;display:flex;inline-size:1.5rem;-ms-flex-align:center;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:end;justify-content:flex-end}.actions--start~.label{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}';export{P as calcite_pick_list,U as calcite_pick_list_group,K as calcite_pick_list_item}
@@ -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.533
4
+ * v1.0.0-next.534
5
5
  */
6
6
  function r(r){const{r:n,g:t,b:s}=r;return`#${n.toString(16).padStart(2,"0")}${t.toString(16).padStart(2,"0")}${s.toString(16).padStart(2,"0")}`.toLowerCase()}const n=/^[0-9A-F]$/i,t=/^#[0-9A-F]{3}$/i,s=/^#[0-9A-F]{6}$/i;function e(r){return u(r)||i(r)}function u(r){return r&&4===r.length&&t.test(r)}function i(r){return r&&7===r.length&&s.test(r)}function a(n){return(n=n.toLowerCase()).startsWith("#")||(n=`#${n}`),u(n)?r(f(n)):n}function f(r){if(!e(r))return null;if(3===(r=r.replace("#","")).length){const[n,t,s]=r.split("");return{r:parseInt(`${n}${n}`,16),g:parseInt(`${t}${t}`,16),b:parseInt(`${s}${s}`,16)}}return{r:parseInt(r.slice(0,2),16),g:parseInt(r.slice(2,4),16),b:parseInt(r.slice(4,6),16)}}const c={HEX:"hex",HEXA:"hexa",RGB_CSS:"rgb-css",RGBA_CSS:"rgba-css",HSL_CSS:"hsl-css",HSLA_CSS:"hsla-css"},o="rgb",l="rgba",h="hsl",$="hsla",b="hsv",g="hsva";function p(r){if("string"==typeof r){if(r.startsWith("#")){const{length:n}=r;if(4===n||7===n)return c.HEX;if(5===n||9===n)return c.HEXA}if(r.startsWith("rgba("))return c.RGBA_CSS;if(r.startsWith("rgb("))return c.RGB_CSS;if(r.startsWith("hsl("))return c.HSL_CSS;if(r.startsWith("hsla("))return c.HSLA_CSS}if("object"==typeof r){if(S(r,"r","g","b"))return S(r,"a")?l:o;if(S(r,"h","s","l"))return S(r,"a")?$:h;if(S(r,"h","s","v"))return S(r,"a")?g:b}return null}function S(r,...n){return n.every((n=>n&&r&&`${n}`in r))}function A(r,n){return(null==r?void 0:r.rgbNumber())===(null==n?void 0:n.rgbNumber())}export{c as C,i as a,n as b,A as c,f as h,e as i,a as n,p,r}
@@ -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.534
5
+ */
6
+ import{f as t}from"./p-e03b1783.js";import{c as o}from"./p-6e960d82.js";const n=new Set;let s;const c={childList:!0};function f(t){s||(s=o("mutation",e)),s.observe(t.el,c)}function i(t){n.delete(t.el),e(s.takeRecords()),s.disconnect();for(const[t]of n.entries())s.observe(t,c)}function e(o){o.forEach((({target:o})=>{t(o)}))}export{f as c,i as d}
@@ -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.533
4
+ * v1.0.0-next.534
5
5
  */
6
- import{a as t}from"./p-535dc4df.js";var n="top",e="bottom",r="right",o="left",i=[n,e,r,o],a=i.reduce((function(t,n){return t.concat([n+"-start",n+"-end"])}),[]),u=[].concat(i,["auto"]).reduce((function(t,n){return t.concat([n,n+"-start",n+"-end"])}),[]),f=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function c(t){return t?(t.nodeName||"").toLowerCase():null}function s(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function p(t){return t instanceof s(t).Element||t instanceof Element}function l(t){return t instanceof s(t).HTMLElement||t instanceof HTMLElement}function d(t){return"undefined"!=typeof ShadowRoot&&(t instanceof s(t).ShadowRoot||t instanceof ShadowRoot)}function v(t){return t.split("-")[0]}var b=Math.max,m=Math.min,h=Math.round;function y(t,n){void 0===n&&(n=!1);var e=t.getBoundingClientRect(),r=1,o=1;if(l(t)&&n){var i=t.offsetHeight,a=t.offsetWidth;a>0&&(r=h(e.width)/a||1),i>0&&(o=h(e.height)/i||1)}return{width:e.width/r,height:e.height/o,top:e.top/o,right:e.right/r,bottom:e.bottom/o,left:e.left/r,x:e.left/r,y:e.top/o}}function g(t){var n=y(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function x(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&d(e)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function w(t){return s(t).getComputedStyle(t)}function O(t){return["table","td","th"].indexOf(c(t))>=0}function j(t){return((p(t)?t.ownerDocument:t.document)||window.document).documentElement}function M(t){return"html"===c(t)?t:t.assignedSlot||t.parentNode||(d(t)?t.host:null)||j(t)}function k(t){return l(t)&&"fixed"!==w(t).position?t.offsetParent:null}function E(t){for(var n=s(t),e=k(t);e&&O(e)&&"static"===w(e).position;)e=k(e);return e&&("html"===c(e)||"body"===c(e)&&"static"===w(e).position)?n:e||function(t){var n=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&l(t)&&"fixed"===w(t).position)return null;var e=M(t);for(d(e)&&(e=e.host);l(e)&&["html","body"].indexOf(c(e))<0;){var r=w(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return e;e=e.parentNode}return null}(t)||n}function P(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function A(t,n,e){return b(t,m(n,e))}function q(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function B(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}function R(t){return t.split("-")[1]}var S={top:"auto",right:"auto",bottom:"auto",left:"auto"};function T(t){var i,a=t.popper,u=t.popperRect,f=t.placement,c=t.variation,p=t.offsets,l=t.position,d=t.gpuAcceleration,v=t.adaptive,b=t.roundOffsets,m=t.isFixed,y=p.x,g=void 0===y?0:y,x=p.y,O=void 0===x?0:x,M="function"==typeof b?b({x:g,y:O}):{x:g,y:O};g=M.x,O=M.y;var k=p.hasOwnProperty("x"),P=p.hasOwnProperty("y"),A=o,q=n,B=window;if(v){var R=E(a),T="clientHeight",W="clientWidth";R===s(a)&&"static"!==w(R=j(a)).position&&"absolute"===l&&(T="scrollHeight",W="scrollWidth"),R=R,(f===n||(f===o||f===r)&&"end"===c)&&(q=e,O-=(m&&R===B&&B.visualViewport?B.visualViewport.height:R[T])-u.height,O*=d?1:-1),f!==o&&(f!==n&&f!==e||"end"!==c)||(A=r,g-=(m&&R===B&&B.visualViewport?B.visualViewport.width:R[W])-u.width,g*=d?1:-1)}var I,L=Object.assign({position:l},v&&S),$=!0===b?function(t){var n=t.y,e=window.devicePixelRatio||1;return{x:h(t.x*e)/e||0,y:h(n*e)/e||0}}({x:g,y:O}):{x:g,y:O};return g=$.x,O=$.y,Object.assign({},L,d?((I={})[q]=P?"0":"",I[A]=k?"0":"",I.transform=(B.devicePixelRatio||1)<=1?"translate("+g+"px, "+O+"px)":"translate3d("+g+"px, "+O+"px, 0)",I):((i={})[q]=P?O+"px":"",i[A]=k?g+"px":"",i.transform="",i))}var W={passive:!0},I={left:"right",right:"left",bottom:"top",top:"bottom"};function L(t){return t.replace(/left|right|bottom|top/g,(function(t){return I[t]}))}var $={start:"end",end:"start"};function H(t){return t.replace(/start|end/g,(function(t){return $[t]}))}function C(t){var n=s(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function z(t){return y(j(t)).left+C(t).scrollLeft}function D(t){var n=w(t);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function F(t){return["html","body","#document"].indexOf(c(t))>=0?t.ownerDocument.body:l(t)&&D(t)?t:F(M(t))}function U(t,n){var e;void 0===n&&(n=[]);var r=F(t),o=r===(null==(e=t.ownerDocument)?void 0:e.body),i=s(r),a=o?[i].concat(i.visualViewport||[],D(r)?r:[]):r,u=n.concat(a);return o?u:u.concat(U(M(a)))}function V(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function _(t,n){return"viewport"===n?V(function(t){var n=s(t),e=j(t),r=n.visualViewport,o=e.clientWidth,i=e.clientHeight,a=0,u=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,u=r.offsetTop)),{width:o,height:i,x:a+z(t),y:u}}(t)):p(n)?function(t){var n=y(t);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(n):V(function(t){var n,e=j(t),r=C(t),o=null==(n=t.ownerDocument)?void 0:n.body,i=b(e.scrollWidth,e.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=b(e.scrollHeight,e.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+z(t),f=-r.scrollTop;return"rtl"===w(o||e).direction&&(u+=b(e.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:f}}(j(t)))}function G(t){var i,a=t.reference,u=t.element,f=t.placement,c=f?v(f):null,s=f?R(f):null,p=a.x+a.width/2-u.width/2,l=a.y+a.height/2-u.height/2;switch(c){case n:i={x:p,y:a.y-u.height};break;case e:i={x:p,y:a.y+a.height};break;case r:i={x:a.x+a.width,y:l};break;case o:i={x:a.x-u.width,y:l};break;default:i={x:a.x,y:a.y}}var d=c?P(c):null;if(null!=d){var b="y"===d?"height":"width";switch(s){case"start":i[d]=i[d]-(a[b]/2-u[b]/2);break;case"end":i[d]=i[d]+(a[b]/2-u[b]/2)}}return i}function J(t,o){void 0===o&&(o={});var a=o.placement,u=void 0===a?t.placement:a,f=o.boundary,s=void 0===f?"clippingParents":f,d=o.rootBoundary,v=void 0===d?"viewport":d,h=o.elementContext,g=void 0===h?"popper":h,O=o.altBoundary,k=void 0!==O&&O,P=o.padding,A=void 0===P?0:P,R=q("number"!=typeof A?A:B(A,i)),S=t.rects.popper,T=t.elements[k?"popper"===g?"reference":"popper":g],W=function(t,n,e){var r="clippingParents"===n?function(t){var n=U(M(t)),e=["absolute","fixed"].indexOf(w(t).position)>=0&&l(t)?E(t):t;return p(e)?n.filter((function(t){return p(t)&&x(t,e)&&"body"!==c(t)})):[]}(t):[].concat(n),o=[].concat(r,[e]),i=o.reduce((function(n,e){var r=_(t,e);return n.top=b(r.top,n.top),n.right=m(r.right,n.right),n.bottom=m(r.bottom,n.bottom),n.left=b(r.left,n.left),n}),_(t,o[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}(p(T)?T:T.contextElement||j(t.elements.popper),s,v),I=y(t.elements.reference),L=G({reference:I,element:S,strategy:"absolute",placement:u}),$=V(Object.assign({},S,L)),H="popper"===g?$:I,C={top:W.top-H.top+R.top,bottom:H.bottom-W.bottom+R.bottom,left:W.left-H.left+R.left,right:H.right-W.right+R.right},z=t.modifiersData.offset;if("popper"===g&&z){var D=z[u];Object.keys(C).forEach((function(t){var o=[r,e].indexOf(t)>=0?1:-1,i=[n,e].indexOf(t)>=0?"y":"x";C[t]+=D[i]*o}))}return C}function K(t,n){void 0===n&&(n={});var e=n.boundary,r=n.rootBoundary,o=n.padding,f=n.flipVariations,c=n.allowedAutoPlacements,s=void 0===c?u:c,p=R(n.placement),l=p?f?a:a.filter((function(t){return R(t)===p})):i,d=l.filter((function(t){return s.indexOf(t)>=0}));0===d.length&&(d=l);var b=d.reduce((function(n,i){return n[i]=J(t,{placement:i,boundary:e,rootBoundary:r,padding:o})[v(i)],n}),{});return Object.keys(b).sort((function(t,n){return b[t]-b[n]}))}function N(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function Q(t){return[n,r,e,o].some((function(n){return t[n]>=0}))}function X(t,n,e){void 0===e&&(e=!1);var r,o,i=l(n),a=l(n)&&function(t){var n=t.getBoundingClientRect(),e=h(n.width)/t.offsetWidth||1,r=h(n.height)/t.offsetHeight||1;return 1!==e||1!==r}(n),u=j(n),f=y(t,a),p={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(i||!i&&!e)&&(("body"!==c(n)||D(u))&&(p=(r=n)!==s(r)&&l(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:C(r)),l(n)?((d=y(n,!0)).x+=n.clientLeft,d.y+=n.clientTop):u&&(d.x=z(u))),{x:f.left+p.scrollLeft-d.x,y:f.top+p.scrollTop-d.y,width:f.width,height:f.height}}function Y(t){var n=new Map,e=new Set,r=[];function o(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var r=n.get(t);r&&o(r)}})),r.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||o(t)})),r}var Z={placement:"bottom",modifiers:[],strategy:"absolute"};function tt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function nt(t){void 0===t&&(t={});var n=t.defaultModifiers,e=void 0===n?[]:n,r=t.defaultOptions,o=void 0===r?Z:r;return function(t,n,r){void 0===r&&(r=o);var i,a,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Z,o),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},c=[],s=!1,l={state:u,setOptions:function(r){var i="function"==typeof r?r(u.options):r;d(),u.options=Object.assign({},o,u.options,i),u.scrollParents={reference:p(t)?U(t):t.contextElement?U(t.contextElement):[],popper:U(n)};var a,s,v=function(t){var n=Y(t);return f.reduce((function(t,e){return t.concat(n.filter((function(t){return t.phase===e})))}),[])}((a=[].concat(e,u.options.modifiers),s=a.reduce((function(t,n){var e=t[n.name];return t[n.name]=e?Object.assign({},e,n,{options:Object.assign({},e.options,n.options),data:Object.assign({},e.data,n.data)}):n,t}),{}),Object.keys(s).map((function(t){return s[t]}))));return u.orderedModifiers=v.filter((function(t){return t.enabled})),u.orderedModifiers.forEach((function(t){var n=t.options,e=t.effect;if("function"==typeof e){var r=e({state:u,name:t.name,instance:l,options:void 0===n?{}:n});c.push(r||function(){})}})),l.update()},forceUpdate:function(){if(!s){var t=u.elements,n=t.reference,e=t.popper;if(tt(n,e)){u.rects={reference:X(n,E(e),"fixed"===u.options.strategy),popper:g(e)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(t){return u.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<u.orderedModifiers.length;r++)if(!0!==u.reset){var o=u.orderedModifiers[r],i=o.fn,a=o.options;"function"==typeof i&&(u=i({state:u,options:void 0===a?{}:a,name:o.name,instance:l})||u)}else u.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){l.forceUpdate(),t(u)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){d(),s=!0}};if(!tt(t,n))return l;function d(){c.forEach((function(t){return t()})),c=[]}return l.setOptions(r).then((function(t){!s&&r.onFirstUpdate&&r.onFirstUpdate(t)})),l}}var et=nt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,a=r.resize,u=void 0===a||a,f=s(n.elements.popper),c=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&c.forEach((function(t){t.addEventListener("scroll",e.update,W)})),u&&f.addEventListener("resize",e.update,W),function(){i&&c.forEach((function(t){t.removeEventListener("scroll",e.update,W)})),u&&f.removeEventListener("resize",e.update,W)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state;n.modifiersData[t.name]=G({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,r=e.gpuAcceleration,o=void 0===r||r,i=e.adaptive,a=void 0===i||i,u=e.roundOffsets,f=void 0===u||u,c={placement:v(n.placement),variation:R(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:o,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,T(Object.assign({},c,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:f})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,T(Object.assign({},c,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},r=n.attributes[t]||{},o=n.elements[t];l(o)&&c(o)&&(Object.assign(o.style,e),Object.keys(r).forEach((function(t){var n=r[t];!1===n?o.removeAttribute(t):o.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var r=n.elements[t],o=n.attributes[t]||{},i=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});l(r)&&c(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.name,a=t.options.offset,f=void 0===a?[0,0]:a,c=u.reduce((function(t,i){return t[i]=function(t,e,i){var a=v(t),u=[o,n].indexOf(a)>=0?-1:1,f="function"==typeof i?i(Object.assign({},e,{placement:t})):i,c=f[0],s=f[1];return c=c||0,s=(s||0)*u,[o,r].indexOf(a)>=0?{x:s,y:c}:{x:c,y:s}}(i,e.rects,f),t}),{}),s=c[e.placement],p=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=s.x,e.modifiersData.popperOffsets.y+=p),e.modifiersData[i]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var i=t.state,a=t.options,u=t.name;if(!i.modifiersData[u]._skip){for(var f=a.mainAxis,c=void 0===f||f,s=a.altAxis,p=void 0===s||s,l=a.fallbackPlacements,d=a.padding,b=a.boundary,m=a.rootBoundary,h=a.altBoundary,y=a.flipVariations,g=void 0===y||y,x=a.allowedAutoPlacements,w=i.options.placement,O=v(w),j=l||(O!==w&&g?function(t){if("auto"===v(t))return[];var n=L(t);return[H(t),n,H(n)]}(w):[L(w)]),M=[w].concat(j).reduce((function(t,n){return t.concat("auto"===v(n)?K(i,{placement:n,boundary:b,rootBoundary:m,padding:d,flipVariations:g,allowedAutoPlacements:x}):n)}),[]),k=i.rects.reference,E=i.rects.popper,P=new Map,A=!0,q=M[0],B=0;B<M.length;B++){var S=M[B],T=v(S),W="start"===R(S),I=[n,e].indexOf(T)>=0,$=I?"width":"height",C=J(i,{placement:S,boundary:b,rootBoundary:m,altBoundary:h,padding:d}),z=I?W?r:o:W?e:n;k[$]>E[$]&&(z=L(z));var D=L(z),F=[];if(c&&F.push(C[T]<=0),p&&F.push(C[z]<=0,C[D]<=0),F.every((function(t){return t}))){q=S,A=!1;break}P.set(S,F)}if(A)for(var U=function(t){var n=M.find((function(n){var e=P.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return q=n,"break"},V=g?3:1;V>0&&"break"!==U(V);V--);i.placement!==q&&(i.modifiersData[u]._skip=!0,i.placement=q,i.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var i=t.state,a=t.options,u=t.name,f=a.mainAxis,c=void 0===f||f,s=a.altAxis,p=void 0!==s&&s,l=a.tether,d=void 0===l||l,h=a.tetherOffset,y=void 0===h?0:h,x=J(i,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),w=v(i.placement),O=R(i.placement),j=!O,M=P(w),k="x"===M?"y":"x",q=i.modifiersData.popperOffsets,B=i.rects.reference,S=i.rects.popper,T="function"==typeof y?y(Object.assign({},i.rects,{placement:i.placement})):y,W="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),I=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,L={x:0,y:0};if(q){if(c){var $,H="y"===M?n:o,C="y"===M?e:r,z="y"===M?"height":"width",D=q[M],F=D+x[H],U=D-x[C],V=d?-S[z]/2:0,_="start"===O?B[z]:S[z],G="start"===O?-S[z]:-B[z],K=i.elements.arrow,N=d&&K?g(K):{width:0,height:0},Q=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=Q[H],Y=Q[C],Z=A(0,B[z],N[z]),tt=j?B[z]/2-V-Z-X-W.mainAxis:_-Z-X-W.mainAxis,nt=j?-B[z]/2+V+Z+Y+W.mainAxis:G+Z+Y+W.mainAxis,et=i.elements.arrow&&E(i.elements.arrow),rt=null!=($=null==I?void 0:I[M])?$:0,ot=D+nt-rt,it=A(d?m(F,D+tt-rt-(et?"y"===M?et.clientTop||0:et.clientLeft||0:0)):F,D,d?b(U,ot):U);q[M]=it,L[M]=it-D}if(p){var at,ut=q[k],ft="y"===k?"height":"width",ct=ut+x["x"===M?n:o],st=ut-x["x"===M?e:r],pt=-1!==[n,o].indexOf(w),lt=null!=(at=null==I?void 0:I[k])?at:0,dt=pt?ct:ut-B[ft]-S[ft]-lt+W.altAxis,vt=pt?ut+B[ft]+S[ft]-lt-W.altAxis:st,bt=d&&pt?function(t,n,e){var r=A(t,n,e);return r>e?e:r}(dt,ut,vt):A(d?dt:ct,ut,d?vt:st);q[k]=bt,L[k]=bt-ut}i.modifiersData[u]=L}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var a,u=t.state,f=t.name,c=t.options,s=u.elements.arrow,p=u.modifiersData.popperOffsets,l=v(u.placement),d=P(l),b=[o,r].indexOf(l)>=0?"height":"width";if(s&&p){var m=function(t,n){return q("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:B(t,i))}(c.padding,u),h=g(s),y="y"===d?n:o,x="y"===d?e:r,w=u.rects.reference[b]+u.rects.reference[d]-p[d]-u.rects.popper[b],O=p[d]-u.rects.reference[d],j=E(s),M=j?"y"===d?j.clientHeight||0:j.clientWidth||0:0,k=M/2-h[b]/2+(w/2-O/2),R=A(m[y],k,M-h[b]-m[x]);u.modifiersData[f]=((a={})[d]=R,a.centerOffset=R-k,a)}},effect:function(t){var n=t.state,e=t.options.element,r=void 0===e?"[data-popper-arrow]":e;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&x(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,r=n.rects.reference,o=n.rects.popper,i=n.modifiersData.preventOverflow,a=J(n,{elementContext:"reference"}),u=J(n,{altBoundary:!0}),f=N(a,r),c=N(u,o,i),s=Q(f),p=Q(c);n.modifiersData[e]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:s,hasPopperEscaped:p},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":s,"data-popper-escaped":p})}}]});const rt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],ot="bottom-leading",it=["top-start","top","top-end","bottom-start","bottom","bottom-end"],at={animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"};function ut(t,n){const e=t.filter((t=>rt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${rt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ft(n,e){const r=["left","right"],o=["start","end"];return"rtl"===t(n)&&(r.reverse(),o.reverse()),e.replace(/-leading/gi,`-${o[0]}`).replace(/-trailing/gi,`-${o[1]}`).replace(/leading/gi,r[0]).replace(/trailing/gi,r[1])}function ct({referenceEl:t,el:n,placement:e,overlayPositioning:r="absolute",modifiers:o}){return t?et(t,n,{strategy:r,placement:ft(n,e),modifiers:o}):null}async function st({el:t,modifiers:n,placement:e,popper:r}){const o=ft(t,e);await r.setOptions({modifiers:n,placement:o})}const pt=Math.ceil((4,Math.sqrt(Math.pow(4,2)+Math.pow(4,2))));export{at as C,pt as a,ct as c,ot as d,ut as f,it as p,st as u}
6
+ import{a as t}from"./p-b3835d89.js";var n="top",e="bottom",r="right",o="left",i=[n,e,r,o],a=i.reduce((function(t,n){return t.concat([n+"-start",n+"-end"])}),[]),u=[].concat(i,["auto"]).reduce((function(t,n){return t.concat([n,n+"-start",n+"-end"])}),[]),f=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function c(t){return t?(t.nodeName||"").toLowerCase():null}function s(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function p(t){return t instanceof s(t).Element||t instanceof Element}function l(t){return t instanceof s(t).HTMLElement||t instanceof HTMLElement}function d(t){return"undefined"!=typeof ShadowRoot&&(t instanceof s(t).ShadowRoot||t instanceof ShadowRoot)}function v(t){return t.split("-")[0]}var b=Math.max,m=Math.min,h=Math.round;function y(t,n){void 0===n&&(n=!1);var e=t.getBoundingClientRect(),r=1,o=1;if(l(t)&&n){var i=t.offsetHeight,a=t.offsetWidth;a>0&&(r=h(e.width)/a||1),i>0&&(o=h(e.height)/i||1)}return{width:e.width/r,height:e.height/o,top:e.top/o,right:e.right/r,bottom:e.bottom/o,left:e.left/r,x:e.left/r,y:e.top/o}}function g(t){var n=y(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function x(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&d(e)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function w(t){return s(t).getComputedStyle(t)}function O(t){return["table","td","th"].indexOf(c(t))>=0}function j(t){return((p(t)?t.ownerDocument:t.document)||window.document).documentElement}function M(t){return"html"===c(t)?t:t.assignedSlot||t.parentNode||(d(t)?t.host:null)||j(t)}function k(t){return l(t)&&"fixed"!==w(t).position?t.offsetParent:null}function E(t){for(var n=s(t),e=k(t);e&&O(e)&&"static"===w(e).position;)e=k(e);return e&&("html"===c(e)||"body"===c(e)&&"static"===w(e).position)?n:e||function(t){var n=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&l(t)&&"fixed"===w(t).position)return null;var e=M(t);for(d(e)&&(e=e.host);l(e)&&["html","body"].indexOf(c(e))<0;){var r=w(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return e;e=e.parentNode}return null}(t)||n}function P(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function A(t,n,e){return b(t,m(n,e))}function q(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function B(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}function R(t){return t.split("-")[1]}var S={top:"auto",right:"auto",bottom:"auto",left:"auto"};function T(t){var i,a=t.popper,u=t.popperRect,f=t.placement,c=t.variation,p=t.offsets,l=t.position,d=t.gpuAcceleration,v=t.adaptive,b=t.roundOffsets,m=t.isFixed,y=p.x,g=void 0===y?0:y,x=p.y,O=void 0===x?0:x,M="function"==typeof b?b({x:g,y:O}):{x:g,y:O};g=M.x,O=M.y;var k=p.hasOwnProperty("x"),P=p.hasOwnProperty("y"),A=o,q=n,B=window;if(v){var R=E(a),T="clientHeight",W="clientWidth";R===s(a)&&"static"!==w(R=j(a)).position&&"absolute"===l&&(T="scrollHeight",W="scrollWidth"),R=R,(f===n||(f===o||f===r)&&"end"===c)&&(q=e,O-=(m&&R===B&&B.visualViewport?B.visualViewport.height:R[T])-u.height,O*=d?1:-1),f!==o&&(f!==n&&f!==e||"end"!==c)||(A=r,g-=(m&&R===B&&B.visualViewport?B.visualViewport.width:R[W])-u.width,g*=d?1:-1)}var I,L=Object.assign({position:l},v&&S),$=!0===b?function(t){var n=t.y,e=window.devicePixelRatio||1;return{x:h(t.x*e)/e||0,y:h(n*e)/e||0}}({x:g,y:O}):{x:g,y:O};return g=$.x,O=$.y,Object.assign({},L,d?((I={})[q]=P?"0":"",I[A]=k?"0":"",I.transform=(B.devicePixelRatio||1)<=1?"translate("+g+"px, "+O+"px)":"translate3d("+g+"px, "+O+"px, 0)",I):((i={})[q]=P?O+"px":"",i[A]=k?g+"px":"",i.transform="",i))}var W={passive:!0},I={left:"right",right:"left",bottom:"top",top:"bottom"};function L(t){return t.replace(/left|right|bottom|top/g,(function(t){return I[t]}))}var $={start:"end",end:"start"};function H(t){return t.replace(/start|end/g,(function(t){return $[t]}))}function C(t){var n=s(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function z(t){return y(j(t)).left+C(t).scrollLeft}function D(t){var n=w(t);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function F(t){return["html","body","#document"].indexOf(c(t))>=0?t.ownerDocument.body:l(t)&&D(t)?t:F(M(t))}function U(t,n){var e;void 0===n&&(n=[]);var r=F(t),o=r===(null==(e=t.ownerDocument)?void 0:e.body),i=s(r),a=o?[i].concat(i.visualViewport||[],D(r)?r:[]):r,u=n.concat(a);return o?u:u.concat(U(M(a)))}function V(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function _(t,n){return"viewport"===n?V(function(t){var n=s(t),e=j(t),r=n.visualViewport,o=e.clientWidth,i=e.clientHeight,a=0,u=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,u=r.offsetTop)),{width:o,height:i,x:a+z(t),y:u}}(t)):p(n)?function(t){var n=y(t);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(n):V(function(t){var n,e=j(t),r=C(t),o=null==(n=t.ownerDocument)?void 0:n.body,i=b(e.scrollWidth,e.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=b(e.scrollHeight,e.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+z(t),f=-r.scrollTop;return"rtl"===w(o||e).direction&&(u+=b(e.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:f}}(j(t)))}function G(t){var i,a=t.reference,u=t.element,f=t.placement,c=f?v(f):null,s=f?R(f):null,p=a.x+a.width/2-u.width/2,l=a.y+a.height/2-u.height/2;switch(c){case n:i={x:p,y:a.y-u.height};break;case e:i={x:p,y:a.y+a.height};break;case r:i={x:a.x+a.width,y:l};break;case o:i={x:a.x-u.width,y:l};break;default:i={x:a.x,y:a.y}}var d=c?P(c):null;if(null!=d){var b="y"===d?"height":"width";switch(s){case"start":i[d]=i[d]-(a[b]/2-u[b]/2);break;case"end":i[d]=i[d]+(a[b]/2-u[b]/2)}}return i}function J(t,o){void 0===o&&(o={});var a=o.placement,u=void 0===a?t.placement:a,f=o.boundary,s=void 0===f?"clippingParents":f,d=o.rootBoundary,v=void 0===d?"viewport":d,h=o.elementContext,g=void 0===h?"popper":h,O=o.altBoundary,k=void 0!==O&&O,P=o.padding,A=void 0===P?0:P,R=q("number"!=typeof A?A:B(A,i)),S=t.rects.popper,T=t.elements[k?"popper"===g?"reference":"popper":g],W=function(t,n,e){var r="clippingParents"===n?function(t){var n=U(M(t)),e=["absolute","fixed"].indexOf(w(t).position)>=0&&l(t)?E(t):t;return p(e)?n.filter((function(t){return p(t)&&x(t,e)&&"body"!==c(t)})):[]}(t):[].concat(n),o=[].concat(r,[e]),i=o.reduce((function(n,e){var r=_(t,e);return n.top=b(r.top,n.top),n.right=m(r.right,n.right),n.bottom=m(r.bottom,n.bottom),n.left=b(r.left,n.left),n}),_(t,o[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}(p(T)?T:T.contextElement||j(t.elements.popper),s,v),I=y(t.elements.reference),L=G({reference:I,element:S,strategy:"absolute",placement:u}),$=V(Object.assign({},S,L)),H="popper"===g?$:I,C={top:W.top-H.top+R.top,bottom:H.bottom-W.bottom+R.bottom,left:W.left-H.left+R.left,right:H.right-W.right+R.right},z=t.modifiersData.offset;if("popper"===g&&z){var D=z[u];Object.keys(C).forEach((function(t){var o=[r,e].indexOf(t)>=0?1:-1,i=[n,e].indexOf(t)>=0?"y":"x";C[t]+=D[i]*o}))}return C}function K(t,n){void 0===n&&(n={});var e=n.boundary,r=n.rootBoundary,o=n.padding,f=n.flipVariations,c=n.allowedAutoPlacements,s=void 0===c?u:c,p=R(n.placement),l=p?f?a:a.filter((function(t){return R(t)===p})):i,d=l.filter((function(t){return s.indexOf(t)>=0}));0===d.length&&(d=l);var b=d.reduce((function(n,i){return n[i]=J(t,{placement:i,boundary:e,rootBoundary:r,padding:o})[v(i)],n}),{});return Object.keys(b).sort((function(t,n){return b[t]-b[n]}))}function N(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function Q(t){return[n,r,e,o].some((function(n){return t[n]>=0}))}function X(t,n,e){void 0===e&&(e=!1);var r,o,i=l(n),a=l(n)&&function(t){var n=t.getBoundingClientRect(),e=h(n.width)/t.offsetWidth||1,r=h(n.height)/t.offsetHeight||1;return 1!==e||1!==r}(n),u=j(n),f=y(t,a),p={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(i||!i&&!e)&&(("body"!==c(n)||D(u))&&(p=(r=n)!==s(r)&&l(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:C(r)),l(n)?((d=y(n,!0)).x+=n.clientLeft,d.y+=n.clientTop):u&&(d.x=z(u))),{x:f.left+p.scrollLeft-d.x,y:f.top+p.scrollTop-d.y,width:f.width,height:f.height}}function Y(t){var n=new Map,e=new Set,r=[];function o(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var r=n.get(t);r&&o(r)}})),r.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||o(t)})),r}var Z={placement:"bottom",modifiers:[],strategy:"absolute"};function tt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function nt(t){void 0===t&&(t={});var n=t.defaultModifiers,e=void 0===n?[]:n,r=t.defaultOptions,o=void 0===r?Z:r;return function(t,n,r){void 0===r&&(r=o);var i,a,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Z,o),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},c=[],s=!1,l={state:u,setOptions:function(r){var i="function"==typeof r?r(u.options):r;d(),u.options=Object.assign({},o,u.options,i),u.scrollParents={reference:p(t)?U(t):t.contextElement?U(t.contextElement):[],popper:U(n)};var a,s,v=function(t){var n=Y(t);return f.reduce((function(t,e){return t.concat(n.filter((function(t){return t.phase===e})))}),[])}((a=[].concat(e,u.options.modifiers),s=a.reduce((function(t,n){var e=t[n.name];return t[n.name]=e?Object.assign({},e,n,{options:Object.assign({},e.options,n.options),data:Object.assign({},e.data,n.data)}):n,t}),{}),Object.keys(s).map((function(t){return s[t]}))));return u.orderedModifiers=v.filter((function(t){return t.enabled})),u.orderedModifiers.forEach((function(t){var n=t.options,e=t.effect;if("function"==typeof e){var r=e({state:u,name:t.name,instance:l,options:void 0===n?{}:n});c.push(r||function(){})}})),l.update()},forceUpdate:function(){if(!s){var t=u.elements,n=t.reference,e=t.popper;if(tt(n,e)){u.rects={reference:X(n,E(e),"fixed"===u.options.strategy),popper:g(e)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(t){return u.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<u.orderedModifiers.length;r++)if(!0!==u.reset){var o=u.orderedModifiers[r],i=o.fn,a=o.options;"function"==typeof i&&(u=i({state:u,options:void 0===a?{}:a,name:o.name,instance:l})||u)}else u.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){l.forceUpdate(),t(u)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){d(),s=!0}};if(!tt(t,n))return l;function d(){c.forEach((function(t){return t()})),c=[]}return l.setOptions(r).then((function(t){!s&&r.onFirstUpdate&&r.onFirstUpdate(t)})),l}}var et=nt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,a=r.resize,u=void 0===a||a,f=s(n.elements.popper),c=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&c.forEach((function(t){t.addEventListener("scroll",e.update,W)})),u&&f.addEventListener("resize",e.update,W),function(){i&&c.forEach((function(t){t.removeEventListener("scroll",e.update,W)})),u&&f.removeEventListener("resize",e.update,W)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state;n.modifiersData[t.name]=G({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,r=e.gpuAcceleration,o=void 0===r||r,i=e.adaptive,a=void 0===i||i,u=e.roundOffsets,f=void 0===u||u,c={placement:v(n.placement),variation:R(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:o,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,T(Object.assign({},c,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:f})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,T(Object.assign({},c,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},r=n.attributes[t]||{},o=n.elements[t];l(o)&&c(o)&&(Object.assign(o.style,e),Object.keys(r).forEach((function(t){var n=r[t];!1===n?o.removeAttribute(t):o.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var r=n.elements[t],o=n.attributes[t]||{},i=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});l(r)&&c(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.name,a=t.options.offset,f=void 0===a?[0,0]:a,c=u.reduce((function(t,i){return t[i]=function(t,e,i){var a=v(t),u=[o,n].indexOf(a)>=0?-1:1,f="function"==typeof i?i(Object.assign({},e,{placement:t})):i,c=f[0],s=f[1];return c=c||0,s=(s||0)*u,[o,r].indexOf(a)>=0?{x:s,y:c}:{x:c,y:s}}(i,e.rects,f),t}),{}),s=c[e.placement],p=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=s.x,e.modifiersData.popperOffsets.y+=p),e.modifiersData[i]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var i=t.state,a=t.options,u=t.name;if(!i.modifiersData[u]._skip){for(var f=a.mainAxis,c=void 0===f||f,s=a.altAxis,p=void 0===s||s,l=a.fallbackPlacements,d=a.padding,b=a.boundary,m=a.rootBoundary,h=a.altBoundary,y=a.flipVariations,g=void 0===y||y,x=a.allowedAutoPlacements,w=i.options.placement,O=v(w),j=l||(O!==w&&g?function(t){if("auto"===v(t))return[];var n=L(t);return[H(t),n,H(n)]}(w):[L(w)]),M=[w].concat(j).reduce((function(t,n){return t.concat("auto"===v(n)?K(i,{placement:n,boundary:b,rootBoundary:m,padding:d,flipVariations:g,allowedAutoPlacements:x}):n)}),[]),k=i.rects.reference,E=i.rects.popper,P=new Map,A=!0,q=M[0],B=0;B<M.length;B++){var S=M[B],T=v(S),W="start"===R(S),I=[n,e].indexOf(T)>=0,$=I?"width":"height",C=J(i,{placement:S,boundary:b,rootBoundary:m,altBoundary:h,padding:d}),z=I?W?r:o:W?e:n;k[$]>E[$]&&(z=L(z));var D=L(z),F=[];if(c&&F.push(C[T]<=0),p&&F.push(C[z]<=0,C[D]<=0),F.every((function(t){return t}))){q=S,A=!1;break}P.set(S,F)}if(A)for(var U=function(t){var n=M.find((function(n){var e=P.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return q=n,"break"},V=g?3:1;V>0&&"break"!==U(V);V--);i.placement!==q&&(i.modifiersData[u]._skip=!0,i.placement=q,i.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var i=t.state,a=t.options,u=t.name,f=a.mainAxis,c=void 0===f||f,s=a.altAxis,p=void 0!==s&&s,l=a.tether,d=void 0===l||l,h=a.tetherOffset,y=void 0===h?0:h,x=J(i,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),w=v(i.placement),O=R(i.placement),j=!O,M=P(w),k="x"===M?"y":"x",q=i.modifiersData.popperOffsets,B=i.rects.reference,S=i.rects.popper,T="function"==typeof y?y(Object.assign({},i.rects,{placement:i.placement})):y,W="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),I=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,L={x:0,y:0};if(q){if(c){var $,H="y"===M?n:o,C="y"===M?e:r,z="y"===M?"height":"width",D=q[M],F=D+x[H],U=D-x[C],V=d?-S[z]/2:0,_="start"===O?B[z]:S[z],G="start"===O?-S[z]:-B[z],K=i.elements.arrow,N=d&&K?g(K):{width:0,height:0},Q=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=Q[H],Y=Q[C],Z=A(0,B[z],N[z]),tt=j?B[z]/2-V-Z-X-W.mainAxis:_-Z-X-W.mainAxis,nt=j?-B[z]/2+V+Z+Y+W.mainAxis:G+Z+Y+W.mainAxis,et=i.elements.arrow&&E(i.elements.arrow),rt=null!=($=null==I?void 0:I[M])?$:0,ot=D+nt-rt,it=A(d?m(F,D+tt-rt-(et?"y"===M?et.clientTop||0:et.clientLeft||0:0)):F,D,d?b(U,ot):U);q[M]=it,L[M]=it-D}if(p){var at,ut=q[k],ft="y"===k?"height":"width",ct=ut+x["x"===M?n:o],st=ut-x["x"===M?e:r],pt=-1!==[n,o].indexOf(w),lt=null!=(at=null==I?void 0:I[k])?at:0,dt=pt?ct:ut-B[ft]-S[ft]-lt+W.altAxis,vt=pt?ut+B[ft]+S[ft]-lt-W.altAxis:st,bt=d&&pt?function(t,n,e){var r=A(t,n,e);return r>e?e:r}(dt,ut,vt):A(d?dt:ct,ut,d?vt:st);q[k]=bt,L[k]=bt-ut}i.modifiersData[u]=L}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var a,u=t.state,f=t.name,c=t.options,s=u.elements.arrow,p=u.modifiersData.popperOffsets,l=v(u.placement),d=P(l),b=[o,r].indexOf(l)>=0?"height":"width";if(s&&p){var m=function(t,n){return q("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:B(t,i))}(c.padding,u),h=g(s),y="y"===d?n:o,x="y"===d?e:r,w=u.rects.reference[b]+u.rects.reference[d]-p[d]-u.rects.popper[b],O=p[d]-u.rects.reference[d],j=E(s),M=j?"y"===d?j.clientHeight||0:j.clientWidth||0:0,k=M/2-h[b]/2+(w/2-O/2),R=A(m[y],k,M-h[b]-m[x]);u.modifiersData[f]=((a={})[d]=R,a.centerOffset=R-k,a)}},effect:function(t){var n=t.state,e=t.options.element,r=void 0===e?"[data-popper-arrow]":e;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&x(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,r=n.rects.reference,o=n.rects.popper,i=n.modifiersData.preventOverflow,a=J(n,{elementContext:"reference"}),u=J(n,{altBoundary:!0}),f=N(a,r),c=N(u,o,i),s=Q(f),p=Q(c);n.modifiersData[e]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:s,hasPopperEscaped:p},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":s,"data-popper-escaped":p})}}]});const rt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],ot="bottom-leading",it=["top-start","top","top-end","bottom-start","bottom","bottom-end"],at={animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"};function ut(t,n){const e=t.filter((t=>rt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${rt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ft(n,e){const r=["left","right"],o=["start","end"];return"rtl"===t(n)&&(r.reverse(),o.reverse()),e.replace(/-leading/gi,`-${o[0]}`).replace(/-trailing/gi,`-${o[1]}`).replace(/leading/gi,r[0]).replace(/trailing/gi,r[1])}function ct({referenceEl:t,el:n,placement:e,overlayPositioning:r="absolute",modifiers:o}){return t?et(t,n,{strategy:r,placement:ft(n,e),modifiers:o}):null}async function st({el:t,modifiers:n,placement:e,popper:r}){const o=ft(t,e);await r.setOptions({modifiers:n,placement:o})}const pt=Math.ceil((4,Math.sqrt(Math.pow(4,2)+Math.pow(4,2))));export{at as C,pt as a,ct as c,ot as d,ut as f,it as p,st as u}
@@ -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.533
4
+ * v1.0.0-next.534
5
5
  */
6
6
  System.register([],(function(t){"use strict";return{execute:function(){t("i",e);function e(t){return t==="Enter"||t===" "}var n=t("n",["0","1","2","3","4","5","6","7","8","9"])}}}));
@@ -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.533
4
+ * v1.0.0-next.534
5
5
  */
6
- import{q as e,c as n}from"./p-535dc4df.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=>{var n;return null===(n=e.tagName)||void 0===n?void 0:n.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){var n,t;return e.label||(null===(t=null===(n=e.labelEl)||void 0===n?void 0:n.textContent)||void 0===t?void 0:t.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-b3835d89.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=>{var n;return null===(n=e.tagName)||void 0===n?void 0:n.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){var n,t;return e.label||(null===(t=null===(n=e.labelEl)||void 0===n?void 0:n.textContent)||void 0===t?void 0:t.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}