@esri/calcite-components 1.0.0-next.570 → 1.0.0-next.571

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 (833) 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-8858b088.system.entry.js → p-002ec83c.system.entry.js} +2 -2
  5. package/dist/calcite/{p-35dc51c6.system.js → p-00367ed4.system.js} +2 -2
  6. package/dist/calcite/{p-689b036c.entry.js → p-0149d27c.entry.js} +2 -2
  7. package/dist/calcite/p-01f33421.js +6 -0
  8. package/dist/calcite/{p-fad38992.system.entry.js → p-03dbcd7d.system.entry.js} +2 -2
  9. package/dist/calcite/{p-302fe106.js → p-05d4924d.js} +2 -2
  10. package/dist/calcite/{p-4f452201.entry.js → p-05e8f5e7.entry.js} +2 -2
  11. package/dist/calcite/{p-0506f9cf.system.js → p-06de5e73.system.js} +2 -2
  12. package/dist/calcite/{p-59c1d3f3.system.entry.js → p-07aaa874.system.entry.js} +2 -2
  13. package/dist/calcite/{p-459fac0b.system.entry.js → p-0864ff1f.system.entry.js} +2 -2
  14. package/dist/calcite/{p-8a5c5889.entry.js → p-0a5fc96c.entry.js} +2 -2
  15. package/dist/calcite/{p-9751f6e1.system.entry.js → p-0b194b2f.system.entry.js} +2 -2
  16. package/dist/calcite/{p-f3d6b19c.system.entry.js → p-0bcceda2.system.entry.js} +2 -2
  17. package/dist/calcite/{p-7460aaa0.entry.js → p-0da0fa29.entry.js} +2 -2
  18. package/dist/calcite/{p-3ba71601.system.entry.js → p-0eb313ce.system.entry.js} +2 -2
  19. package/dist/calcite/{p-74d258b0.entry.js → p-0ee15efc.entry.js} +2 -2
  20. package/dist/calcite/{p-2c07bf0e.entry.js → p-0f09f141.entry.js} +2 -2
  21. package/dist/calcite/{p-a1154201.system.entry.js → p-103e5afd.system.entry.js} +2 -2
  22. package/dist/calcite/{p-8f723167.entry.js → p-127c4501.entry.js} +2 -2
  23. package/dist/calcite/{p-fd6e1dce.entry.js → p-13fc82d6.entry.js} +2 -2
  24. package/dist/calcite/{p-348b804a.system.entry.js → p-19797e3a.system.entry.js} +2 -2
  25. package/dist/calcite/{p-10fb4300.entry.js → p-1990acbf.entry.js} +2 -2
  26. package/dist/calcite/{p-288bc382.entry.js → p-1efc3593.entry.js} +2 -2
  27. package/dist/calcite/{p-5195381a.entry.js → p-20ef7eb3.entry.js} +2 -2
  28. package/dist/calcite/{p-e08b428c.system.entry.js → p-2560a58e.system.entry.js} +2 -2
  29. package/dist/calcite/{p-ea5ede35.entry.js → p-27644b63.entry.js} +2 -2
  30. package/dist/calcite/{p-436607b8.system.js → p-27e2b8ea.system.js} +1 -1
  31. package/dist/calcite/{p-55d3f730.entry.js → p-28488be9.entry.js} +2 -2
  32. package/dist/calcite/{p-027bc2e0.entry.js → p-2b9d43ee.entry.js} +2 -2
  33. package/dist/calcite/{p-ccb2b3cc.system.js → p-2ce5c529.system.js} +2 -2
  34. package/dist/calcite/{p-5cdae52c.system.js → p-2d261579.system.js} +2 -2
  35. package/dist/calcite/{p-9a574298.system.js → p-2f7ea8e0.system.js} +1 -1
  36. package/dist/calcite/{p-ed5b4e45.system.entry.js → p-30805900.system.entry.js} +2 -2
  37. package/dist/calcite/{p-b06227e3.system.js → p-31121b13.system.js} +1 -1
  38. package/dist/calcite/{p-2d54bb37.system.entry.js → p-31c18ebc.system.entry.js} +2 -2
  39. package/dist/calcite/{p-c5c64479.entry.js → p-33a4e116.entry.js} +2 -2
  40. package/dist/calcite/{p-5bd4b7ff.entry.js → p-38043ca4.entry.js} +2 -2
  41. package/dist/calcite/{p-5142112f.system.entry.js → p-38483baf.system.entry.js} +2 -2
  42. package/dist/calcite/{p-9b788a81.entry.js → p-3a7e9f2e.entry.js} +2 -2
  43. package/dist/calcite/{p-63c3d98d.entry.js → p-3b5fd066.entry.js} +2 -2
  44. package/dist/calcite/{p-da7f307f.entry.js → p-3cfab2ca.entry.js} +2 -2
  45. package/dist/calcite/{p-3f479e4c.system.js → p-3d1abd24.system.js} +2 -2
  46. package/dist/calcite/{p-5bedb2bc.entry.js → p-3ff82cf1.entry.js} +2 -2
  47. package/dist/calcite/{p-56db73c4.system.entry.js → p-40a03fa2.system.entry.js} +2 -2
  48. package/dist/calcite/{p-2a3e1cec.system.js → p-4407d4e4.system.js} +1 -1
  49. package/dist/calcite/{p-96bee636.entry.js → p-44a6ec71.entry.js} +2 -2
  50. package/dist/calcite/{p-75825b96.system.entry.js → p-45353e58.system.entry.js} +2 -2
  51. package/dist/calcite/{p-654bd71e.entry.js → p-46674baf.entry.js} +2 -2
  52. package/dist/calcite/{p-168f98ef.system.entry.js → p-46c9c1da.system.entry.js} +2 -2
  53. package/dist/calcite/{p-7cfa8a4b.js → p-46db8711.js} +1 -1
  54. package/dist/calcite/{p-aff4620f.entry.js → p-47810f6d.entry.js} +2 -2
  55. package/dist/calcite/{p-3ca4e72b.js → p-4ab7389d.js} +2 -2
  56. package/dist/calcite/{p-993b77a6.system.entry.js → p-4ae377e7.system.entry.js} +2 -2
  57. package/dist/calcite/{p-6b382f81.system.js → p-4aecbc47.system.js} +1 -1
  58. package/dist/calcite/{p-3ca50813.entry.js → p-4bd6b9b3.entry.js} +2 -2
  59. package/dist/calcite/{p-92c885d0.system.entry.js → p-4cc4a849.system.entry.js} +2 -2
  60. package/dist/calcite/{p-b80e8ade.system.entry.js → p-528aaf72.system.entry.js} +2 -2
  61. package/dist/calcite/{p-9357573d.js → p-556f99b3.js} +1 -1
  62. package/dist/calcite/{p-9be29600.system.entry.js → p-55bb2cdc.system.entry.js} +2 -2
  63. package/dist/calcite/{p-7b7a789a.system.js → p-5676272d.system.js} +1 -1
  64. package/dist/calcite/{p-dde064ea.system.entry.js → p-581a5a39.system.entry.js} +3 -3
  65. package/dist/calcite/{p-9b73a9e7.entry.js → p-5cee55f8.entry.js} +2 -2
  66. package/dist/calcite/{p-13dcafeb.system.js → p-5d25a2ed.system.js} +2 -2
  67. package/dist/calcite/{p-cbabf6c9.js → p-5f7bdd83.js} +1 -1
  68. package/dist/calcite/{p-70bfb343.js → p-63146b51.js} +1 -1
  69. package/dist/calcite/{p-89810887.js → p-634b4667.js} +2 -2
  70. package/dist/calcite/{p-d4df0970.system.entry.js → p-6403e39f.system.entry.js} +3 -3
  71. package/dist/calcite/{p-b1b1aa76.system.entry.js → p-65506efd.system.entry.js} +2 -2
  72. package/dist/calcite/{p-5a4b7be2.entry.js → p-668dda51.entry.js} +2 -2
  73. package/dist/calcite/{p-519d1edb.system.entry.js → p-67d8d2f5.system.entry.js} +2 -2
  74. package/dist/calcite/p-68339cba.js +6 -0
  75. package/dist/calcite/{p-8c7fb6ef.system.entry.js → p-6a52afac.system.entry.js} +2 -2
  76. package/dist/calcite/{p-a0303ba0.entry.js → p-6a600418.entry.js} +2 -2
  77. package/dist/calcite/{p-cf568750.js → p-6aee159f.js} +2 -2
  78. package/dist/calcite/{p-a57af989.system.entry.js → p-6beead34.system.entry.js} +2 -2
  79. package/dist/calcite/{p-e014d306.system.entry.js → p-6f35a22e.system.entry.js} +2 -2
  80. package/dist/calcite/{p-943c76cd.system.js → p-6f62d2c6.system.js} +1 -1
  81. package/dist/calcite/{p-80d6349f.system.entry.js → p-6fbdf6b8.system.entry.js} +2 -2
  82. package/dist/calcite/{p-382ec6ef.js → p-71ba7f12.js} +1 -1
  83. package/dist/calcite/{p-dfb38c54.js → p-735f4fb7.js} +1 -1
  84. package/dist/calcite/{p-175343fe.system.js → p-748bf973.system.js} +1 -1
  85. package/dist/calcite/{p-3efb8c2a.js → p-7504b5c5.js} +1 -1
  86. package/dist/calcite/{p-42930d01.system.js → p-75817bd0.system.js} +1 -1
  87. package/dist/calcite/{p-89ed5ff8.entry.js → p-7772682c.entry.js} +2 -2
  88. package/dist/calcite/{p-a0d5e283.entry.js → p-7a03365e.entry.js} +2 -2
  89. package/dist/calcite/p-7d44b9ba.system.js +6 -0
  90. package/dist/calcite/{p-654869d3.entry.js → p-7e3170f3.entry.js} +2 -2
  91. package/dist/calcite/{p-7f465f87.system.entry.js → p-7ea1d145.system.entry.js} +2 -2
  92. package/dist/calcite/{p-8276adef.system.entry.js → p-7fd192b5.system.entry.js} +2 -2
  93. package/dist/calcite/{p-4cd2e67e.system.entry.js → p-84323215.system.entry.js} +3 -3
  94. package/dist/calcite/{p-0d029f6c.system.js → p-853b363e.system.js} +2 -2
  95. package/dist/calcite/{p-99d82747.system.js → p-87af229a.system.js} +2 -2
  96. package/dist/calcite/{p-cd6922ff.system.entry.js → p-8a93016a.system.entry.js} +2 -2
  97. package/dist/calcite/{p-41a7ad14.system.js → p-8ad9220f.system.js} +1 -1
  98. package/dist/calcite/{p-1035cdf6.system.entry.js → p-8b30894d.system.entry.js} +2 -2
  99. package/dist/calcite/{p-ab9aa7d6.system.entry.js → p-8dc799ea.system.entry.js} +2 -2
  100. package/dist/calcite/{p-6b7ca5b9.system.js → p-8e9e4678.system.js} +2 -2
  101. package/dist/calcite/{p-d0a841e1.entry.js → p-8fca8432.entry.js} +2 -2
  102. package/dist/calcite/{p-c7446c33.entry.js → p-90dc377d.entry.js} +2 -2
  103. package/dist/calcite/{p-7442d861.system.entry.js → p-936abd8d.system.entry.js} +2 -2
  104. package/dist/calcite/{p-e49a515f.system.entry.js → p-948a5867.system.entry.js} +2 -2
  105. package/dist/calcite/{p-dda9fbaf.entry.js → p-94c24c02.entry.js} +2 -2
  106. package/dist/calcite/{p-eb227c8d.entry.js → p-9529657d.entry.js} +2 -2
  107. package/dist/calcite/{p-12668dec.entry.js → p-9544cb29.entry.js} +2 -2
  108. package/dist/calcite/{p-157ed5a0.system.entry.js → p-989266f0.system.entry.js} +3 -3
  109. package/dist/calcite/{p-1c20a07f.js → p-9ade1c57.js} +1 -1
  110. package/dist/calcite/{p-6e0ff186.system.entry.js → p-9ae2a7a4.system.entry.js} +2 -2
  111. package/dist/calcite/{p-0040ef29.entry.js → p-9c13e45b.entry.js} +2 -2
  112. package/dist/calcite/{p-a38295e6.entry.js → p-9e593267.entry.js} +2 -2
  113. package/dist/calcite/{p-ca8010c5.system.js → p-9f99c3f3.system.js} +1 -1
  114. package/dist/calcite/{p-955fa6b9.system.entry.js → p-a0a3e061.system.entry.js} +2 -2
  115. package/dist/calcite/{p-0b11fe65.entry.js → p-a0a7d286.entry.js} +2 -2
  116. package/dist/calcite/{p-8c6b40b7.system.js → p-aa4f564a.system.js} +1 -1
  117. package/dist/calcite/{p-76b88ebe.js → p-aae82ee7.js} +1 -1
  118. package/dist/calcite/{p-718e44b8.system.entry.js → p-ad9d14c2.system.entry.js} +2 -2
  119. package/dist/calcite/{p-cc6cee35.entry.js → p-b1ebe2a6.entry.js} +2 -2
  120. package/dist/calcite/{p-a8b248a6.system.entry.js → p-b1f1ef97.system.entry.js} +2 -2
  121. package/dist/calcite/{p-a3d1d580.js → p-b3675053.js} +2 -2
  122. package/dist/calcite/{p-ae75d34e.js → p-b3be56ab.js} +2 -2
  123. package/dist/calcite/{p-1f3e514c.system.entry.js → p-b45b3d79.system.entry.js} +2 -2
  124. package/dist/calcite/{p-7e01a637.entry.js → p-b495901b.entry.js} +2 -2
  125. package/dist/calcite/{p-2c6945ed.js → p-b596c9e6.js} +1 -1
  126. package/dist/calcite/{p-2dd0518e.entry.js → p-b9ad148b.entry.js} +2 -2
  127. package/dist/calcite/{p-3beb4b58.entry.js → p-ba1859b0.entry.js} +2 -2
  128. package/dist/calcite/{p-19516261.system.js → p-bdfa3789.system.js} +1 -1
  129. package/dist/calcite/{p-65444006.system.entry.js → p-be2321b0.system.entry.js} +3 -3
  130. package/dist/calcite/{p-160eb6d5.entry.js → p-bf05225a.entry.js} +2 -2
  131. package/dist/calcite/{p-4c9caa0b.entry.js → p-bf07fd68.entry.js} +2 -2
  132. package/dist/calcite/{p-c4263b73.entry.js → p-bf3152d1.entry.js} +2 -2
  133. package/dist/calcite/{p-22758bfb.system.js → p-c44b740a.system.js} +3 -3
  134. package/dist/calcite/{p-5929055a.entry.js → p-c451ce2e.entry.js} +2 -2
  135. package/dist/calcite/{p-91c1fc16.entry.js → p-c6e8c158.entry.js} +2 -2
  136. package/dist/calcite/{p-e700e421.js → p-c86a8ae6.js} +1 -1
  137. package/dist/calcite/{p-43693df9.js → p-c8ceec2d.js} +1 -1
  138. package/dist/calcite/p-cc01a0da.js +6 -0
  139. package/dist/calcite/{p-9de6c6e8.system.js → p-ce1d03e8.system.js} +1 -1
  140. package/dist/calcite/{p-ec4bce99.system.entry.js → p-d0e26d0f.system.entry.js} +2 -2
  141. package/dist/calcite/{p-53a579df.entry.js → p-d1227283.entry.js} +2 -2
  142. package/dist/calcite/{p-e20c258c.js → p-d12f04b6.js} +1 -1
  143. package/dist/calcite/{p-0d41a83b.system.entry.js → p-d18ddc53.system.entry.js} +2 -2
  144. package/dist/calcite/{p-ed0da850.system.entry.js → p-d22701df.system.entry.js} +2 -2
  145. package/dist/calcite/{p-64febbf0.entry.js → p-d3e3c001.entry.js} +2 -2
  146. package/dist/calcite/{p-93bbf6e4.entry.js → p-d5a25382.entry.js} +2 -2
  147. package/dist/calcite/{p-274a0060.js → p-d815a193.js} +1 -1
  148. package/dist/calcite/{p-3e210106.system.entry.js → p-d85c22c9.system.entry.js} +2 -2
  149. package/dist/calcite/{p-75eda3e3.entry.js → p-d97dd30a.entry.js} +2 -2
  150. package/dist/calcite/{p-c22c25a4.system.entry.js → p-d9bc6c90.system.entry.js} +2 -2
  151. package/dist/calcite/{p-eb6db3fa.system.entry.js → p-db26e542.system.entry.js} +2 -2
  152. package/dist/calcite/p-dc063bce.system.js +6 -0
  153. package/dist/calcite/{p-0c93e5c1.entry.js → p-dc2ba8d6.entry.js} +2 -2
  154. package/dist/calcite/{p-c1fe4f21.entry.js → p-df985eab.entry.js} +2 -2
  155. package/dist/calcite/{p-66ccbc50.system.js → p-dff8bed4.system.js} +1 -1
  156. package/dist/calcite/{p-d1271df9.js → p-e119e0b4.js} +2 -2
  157. package/dist/calcite/{p-7b8eb32b.system.entry.js → p-e342902c.system.entry.js} +2 -2
  158. package/dist/calcite/{p-5773d6a2.system.entry.js → p-e85960bb.system.entry.js} +2 -2
  159. package/dist/calcite/{p-32e01a96.system.js → p-e8b30d42.system.js} +1 -1
  160. package/dist/calcite/{p-512ee718.system.entry.js → p-e8dd0ce4.system.entry.js} +2 -2
  161. package/dist/calcite/{p-641a3de7.entry.js → p-e9590974.entry.js} +2 -2
  162. package/dist/calcite/{p-1bcdc3d1.system.entry.js → p-e9debf39.system.entry.js} +2 -2
  163. package/dist/calcite/{p-4eb7d0a8.system.entry.js → p-e9f9da36.system.entry.js} +2 -2
  164. package/dist/calcite/p-eceed63b.entry.js +6 -0
  165. package/dist/calcite/{p-2e59eb3e.system.js → p-f22fd556.system.js} +2 -2
  166. package/dist/calcite/{p-ee5d2ff7.system.entry.js → p-f2c16b29.system.entry.js} +2 -2
  167. package/dist/calcite/{p-e54f83d2.entry.js → p-f36a9b83.entry.js} +2 -2
  168. package/dist/calcite/{p-05d42307.system.entry.js → p-f3ca7d80.system.entry.js} +2 -2
  169. package/dist/calcite/{p-49907b0d.js → p-f6443e8b.js} +1 -1
  170. package/dist/calcite/{p-db8becd8.entry.js → p-f650bc5a.entry.js} +2 -2
  171. package/dist/calcite/{p-bf9dce53.js → p-f7ef036f.js} +2 -2
  172. package/dist/calcite/{p-1487a614.entry.js → p-f7ffeafa.entry.js} +2 -2
  173. package/dist/calcite/{p-e87c53df.entry.js → p-f88777d1.entry.js} +2 -2
  174. package/dist/calcite/{p-9c6e6327.system.entry.js → p-fe158e3f.system.entry.js} +3 -3
  175. package/dist/calcite/p-fe656a4f.js +6 -0
  176. package/dist/calcite/{p-4432dfe9.system.entry.js → p-feeecafb.system.entry.js} +2 -2
  177. package/dist/calcite/{p-d16e28dc.system.entry.js → p-ffafacab.system.entry.js} +2 -2
  178. package/dist/cjs/{ExpandToggle-b7180f2b.js → ExpandToggle-8782dd2f.js} +5 -5
  179. package/dist/cjs/{Heading-24eb2cb1.js → Heading-d7f41298.js} +2 -2
  180. package/dist/cjs/{app-globals-2ac3522c.js → app-globals-a7ded446.js} +2 -2
  181. package/dist/cjs/{array-3ef5e478.js → array-1d4fc13d.js} +1 -1
  182. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  183. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  184. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  185. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  186. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  187. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  188. package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
  189. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  190. package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
  191. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  192. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  193. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
  194. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  195. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
  196. package/dist/cjs/calcite-combobox_3.cjs.entry.js +25 -23
  197. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +10 -10
  198. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +10 -10
  199. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  200. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  201. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  202. package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -11
  203. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  204. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  205. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +13 -13
  207. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  208. package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
  209. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  210. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +10 -10
  211. package/dist/cjs/calcite-input.cjs.entry.js +12 -12
  212. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  213. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  214. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  215. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  216. package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
  217. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  218. package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
  219. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  220. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  221. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
  222. package/dist/cjs/calcite-popover_2.cjs.entry.js +10 -10
  223. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  224. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  225. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
  226. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  227. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  228. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  229. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
  230. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  231. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  232. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -6
  233. package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
  234. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  235. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  236. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  237. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
  238. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -6
  239. package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
  240. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
  241. package/dist/cjs/calcite.cjs.js +5 -5
  242. package/dist/cjs/{conditionalSlot-a1850fd7.js → conditionalSlot-9c0fa505.js} +3 -3
  243. package/dist/cjs/{debounce-e073429b.js → debounce-19b40b8f.js} +1 -1
  244. package/dist/cjs/{dom-87fd8a1e.js → dom-eaadcd89.js} +3 -3
  245. package/dist/cjs/{filter-4b10d6b1.js → filter-807d1608.js} +2 -2
  246. package/dist/cjs/{floating-ui-910fb4f3.js → floating-ui-b204da9e.js} +2 -2
  247. package/dist/cjs/{form-8c8cf657.js → form-d12acbaa.js} +3 -3
  248. package/dist/cjs/{guid-1f2085a1.js → guid-73c3edb1.js} +1 -1
  249. package/dist/cjs/{index-2376184d.js → index-6bf394ff.js} +1 -1
  250. package/dist/cjs/index.cjs.js +1 -1
  251. package/dist/cjs/{interactive-a4ec6233.js → interactive-26bbc844.js} +1 -1
  252. package/dist/cjs/{interfaces-83beb56f.js → interfaces-d80e4a30.js} +1 -1
  253. package/dist/cjs/{key-9e13dc62.js → key-afa2f3d6.js} +1 -1
  254. package/dist/cjs/{label-40479f83.js → label-d075c31f.js} +2 -2
  255. package/dist/cjs/loader.cjs.js +5 -5
  256. package/dist/cjs/{locale-8abaee93.js → locale-93089c26.js} +2 -2
  257. package/dist/cjs/{math-ea2b7c6b.js → math-1535633c.js} +1 -1
  258. package/dist/cjs/{observers-0c24b88c.js → observers-072222fa.js} +1 -1
  259. package/dist/cjs/{openCloseComponent-21e17498.js → openCloseComponent-a2a73280.js} +1 -1
  260. package/dist/cjs/{resources-69d76858.js → resources-1ab38954.js} +1 -1
  261. package/dist/cjs/{resources-9b03c636.js → resources-4f93a2ec.js} +1 -1
  262. package/dist/cjs/{resources-89fab938.js → resources-4ff9d0d2.js} +5 -5
  263. package/dist/cjs/{resources-71688d5e.js → resources-5155666e.js} +3 -3
  264. package/dist/cjs/{resources-84a6e18c.js → resources-b97de259.js} +1 -1
  265. package/dist/cjs/{sortable.esm-d9f28b8f.js → sortable.esm-81835757.js} +1 -1
  266. package/dist/cjs/{utils-fa0ee321.js → utils-8b591bb2.js} +1 -1
  267. package/dist/collection/components/accordion/accordion.js +1 -1
  268. package/dist/collection/components/accordion/interfaces.js +1 -1
  269. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  270. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  271. package/dist/collection/components/accordion-item/resources.js +1 -1
  272. package/dist/collection/components/action/action.js +1 -1
  273. package/dist/collection/components/action/resources.js +1 -1
  274. package/dist/collection/components/action-bar/action-bar.js +1 -1
  275. package/dist/collection/components/action-bar/resources.js +1 -1
  276. package/dist/collection/components/action-bar/utils.js +1 -1
  277. package/dist/collection/components/action-group/action-group.js +1 -1
  278. package/dist/collection/components/action-group/resources.js +1 -1
  279. package/dist/collection/components/action-menu/action-menu.js +1 -1
  280. package/dist/collection/components/action-menu/resources.js +1 -1
  281. package/dist/collection/components/action-pad/action-pad.js +1 -1
  282. package/dist/collection/components/action-pad/resources.js +1 -1
  283. package/dist/collection/components/alert/alert.js +1 -1
  284. package/dist/collection/components/alert/interfaces.js +1 -1
  285. package/dist/collection/components/alert/resources.js +1 -1
  286. package/dist/collection/components/avatar/avatar.js +1 -1
  287. package/dist/collection/components/avatar/utils.js +1 -1
  288. package/dist/collection/components/block/block.js +1 -1
  289. package/dist/collection/components/block/resources.js +1 -1
  290. package/dist/collection/components/block-section/block-section.js +1 -1
  291. package/dist/collection/components/block-section/interfaces.js +1 -1
  292. package/dist/collection/components/block-section/resources.js +1 -1
  293. package/dist/collection/components/button/button.js +1 -1
  294. package/dist/collection/components/button/interfaces.js +1 -1
  295. package/dist/collection/components/button/resources.js +1 -1
  296. package/dist/collection/components/card/card.js +1 -1
  297. package/dist/collection/components/card/resources.js +1 -1
  298. package/dist/collection/components/checkbox/checkbox.js +1 -1
  299. package/dist/collection/components/chip/chip.js +3 -3
  300. package/dist/collection/components/chip/interfaces.js +1 -1
  301. package/dist/collection/components/chip/resources.js +1 -1
  302. package/dist/collection/components/color-picker/color-picker.js +1 -1
  303. package/dist/collection/components/color-picker/interfaces.js +1 -1
  304. package/dist/collection/components/color-picker/resources.js +1 -1
  305. package/dist/collection/components/color-picker/utils.js +1 -1
  306. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  307. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  308. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  309. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  310. package/dist/collection/components/combobox/combobox.css +4 -3
  311. package/dist/collection/components/combobox/combobox.js +12 -10
  312. package/dist/collection/components/combobox/interfaces.js +1 -1
  313. package/dist/collection/components/combobox/resources.js +1 -1
  314. package/dist/collection/components/combobox/utils.js +1 -1
  315. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  316. package/dist/collection/components/combobox-item/resources.js +1 -1
  317. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  318. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  319. package/dist/collection/components/date-picker/date-picker.js +1 -1
  320. package/dist/collection/components/date-picker/interfaces.js +1 -1
  321. package/dist/collection/components/date-picker/resources.js +1 -1
  322. package/dist/collection/components/date-picker/utils.js +1 -1
  323. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  324. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  325. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  326. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  327. package/dist/collection/components/dropdown/dropdown.js +1 -1
  328. package/dist/collection/components/dropdown/interfaces.js +1 -1
  329. package/dist/collection/components/dropdown/resources.js +1 -1
  330. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  331. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  332. package/dist/collection/components/dropdown-group/resources.js +1 -1
  333. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  334. package/dist/collection/components/dropdown-item/resources.js +1 -1
  335. package/dist/collection/components/fab/fab.js +1 -1
  336. package/dist/collection/components/fab/resources.js +1 -1
  337. package/dist/collection/components/filter/filter.js +1 -1
  338. package/dist/collection/components/filter/resources.js +1 -1
  339. package/dist/collection/components/flow/flow.js +1 -1
  340. package/dist/collection/components/flow/interfaces.js +1 -1
  341. package/dist/collection/components/flow/resources.js +1 -1
  342. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  343. package/dist/collection/components/functional/Heading.js +1 -1
  344. package/dist/collection/components/graph/graph.js +1 -1
  345. package/dist/collection/components/graph/interfaces.js +1 -1
  346. package/dist/collection/components/graph/util.js +1 -1
  347. package/dist/collection/components/handle/handle.js +1 -1
  348. package/dist/collection/components/handle/resources.js +1 -1
  349. package/dist/collection/components/icon/icon.js +1 -1
  350. package/dist/collection/components/icon/resources.js +1 -1
  351. package/dist/collection/components/icon/utils.js +1 -1
  352. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  353. package/dist/collection/components/inline-editable/resources.js +1 -1
  354. package/dist/collection/components/input/input.js +1 -1
  355. package/dist/collection/components/input/interfaces.js +1 -1
  356. package/dist/collection/components/input/resources.js +1 -1
  357. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  358. package/dist/collection/components/input-date-picker/resources.js +1 -1
  359. package/dist/collection/components/input-message/input-message.js +1 -1
  360. package/dist/collection/components/input-message/interfaces.js +1 -1
  361. package/dist/collection/components/input-number/input-number.js +1 -1
  362. package/dist/collection/components/input-number/interfaces.js +1 -1
  363. package/dist/collection/components/input-number/resources.js +1 -1
  364. package/dist/collection/components/input-text/input-text.js +1 -1
  365. package/dist/collection/components/input-text/resources.js +1 -1
  366. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  367. package/dist/collection/components/interfaces.js +1 -1
  368. package/dist/collection/components/label/label.js +1 -1
  369. package/dist/collection/components/label/resources.js +1 -1
  370. package/dist/collection/components/link/link.js +1 -1
  371. package/dist/collection/components/list/list.js +1 -1
  372. package/dist/collection/components/list/resources.js +1 -1
  373. package/dist/collection/components/list-item/list-item.js +1 -1
  374. package/dist/collection/components/list-item/resources.js +1 -1
  375. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  376. package/dist/collection/components/list-item-group/resources.js +1 -1
  377. package/dist/collection/components/loader/loader.js +1 -1
  378. package/dist/collection/components/modal/interfaces.js +1 -1
  379. package/dist/collection/components/modal/modal.js +1 -1
  380. package/dist/collection/components/modal/resources.js +1 -1
  381. package/dist/collection/components/notice/notice.js +1 -1
  382. package/dist/collection/components/notice/resources.js +1 -1
  383. package/dist/collection/components/option/option.js +1 -1
  384. package/dist/collection/components/option-group/option-group.js +1 -1
  385. package/dist/collection/components/pagination/pagination.js +1 -1
  386. package/dist/collection/components/pagination/resources.js +1 -1
  387. package/dist/collection/components/panel/panel.js +1 -1
  388. package/dist/collection/components/panel/resources.js +1 -1
  389. package/dist/collection/components/pick-list/pick-list.js +1 -1
  390. package/dist/collection/components/pick-list/resources.js +1 -1
  391. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  392. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  393. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  394. package/dist/collection/components/pick-list-group/resources.js +1 -1
  395. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  396. package/dist/collection/components/pick-list-item/resources.js +1 -1
  397. package/dist/collection/components/popover/PopoverManager.js +1 -1
  398. package/dist/collection/components/popover/popover.js +1 -1
  399. package/dist/collection/components/popover/resources.js +1 -1
  400. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  401. package/dist/collection/components/progress/progress.js +1 -1
  402. package/dist/collection/components/radio-button/radio-button.js +1 -1
  403. package/dist/collection/components/radio-button/resources.js +1 -1
  404. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  405. package/dist/collection/components/radio-group/interfaces.js +1 -1
  406. package/dist/collection/components/radio-group/radio-group.js +1 -1
  407. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  408. package/dist/collection/components/radio-group-item/resources.js +1 -1
  409. package/dist/collection/components/rating/rating.js +1 -1
  410. package/dist/collection/components/rating/resources.js +1 -1
  411. package/dist/collection/components/scrim/resources.js +1 -1
  412. package/dist/collection/components/scrim/scrim.js +1 -1
  413. package/dist/collection/components/select/resources.js +1 -1
  414. package/dist/collection/components/select/select.js +1 -1
  415. package/dist/collection/components/shell/resources.js +1 -1
  416. package/dist/collection/components/shell/shell.js +1 -1
  417. package/dist/collection/components/shell-center-row/resources.js +1 -1
  418. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  419. package/dist/collection/components/shell-panel/resources.js +1 -1
  420. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  421. package/dist/collection/components/slider/slider.js +1 -1
  422. package/dist/collection/components/sortable-list/resources.js +1 -1
  423. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  424. package/dist/collection/components/split-button/resources.js +1 -1
  425. package/dist/collection/components/split-button/split-button.js +1 -1
  426. package/dist/collection/components/stepper/interfaces.js +1 -1
  427. package/dist/collection/components/stepper/stepper.js +1 -1
  428. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  429. package/dist/collection/components/switch/switch.js +1 -1
  430. package/dist/collection/components/tab/interfaces.js +1 -1
  431. package/dist/collection/components/tab/tab.js +1 -1
  432. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  433. package/dist/collection/components/tab-title/tab-title.js +1 -1
  434. package/dist/collection/components/tabs/interfaces.js +1 -1
  435. package/dist/collection/components/tabs/resources.js +1 -1
  436. package/dist/collection/components/tabs/tabs.js +1 -1
  437. package/dist/collection/components/tile/resources.js +1 -1
  438. package/dist/collection/components/tile/tile.js +1 -1
  439. package/dist/collection/components/tile-select/interfaces.js +1 -1
  440. package/dist/collection/components/tile-select/resources.js +1 -1
  441. package/dist/collection/components/tile-select/tile-select.js +1 -1
  442. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  443. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  444. package/dist/collection/components/time-picker/resources.js +1 -1
  445. package/dist/collection/components/time-picker/time-picker.js +1 -1
  446. package/dist/collection/components/tip/resources.js +1 -1
  447. package/dist/collection/components/tip/tip.js +1 -1
  448. package/dist/collection/components/tip-group/tip-group.js +1 -1
  449. package/dist/collection/components/tip-manager/resources.js +1 -1
  450. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  451. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  452. package/dist/collection/components/tooltip/resources.js +1 -1
  453. package/dist/collection/components/tooltip/tooltip.js +1 -1
  454. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  455. package/dist/collection/components/tree/interfaces.js +1 -1
  456. package/dist/collection/components/tree/tree.js +1 -1
  457. package/dist/collection/components/tree-item/interfaces.js +1 -1
  458. package/dist/collection/components/tree-item/resources.js +1 -1
  459. package/dist/collection/components/tree-item/tree-item.js +1 -1
  460. package/dist/collection/components/value-list/interfaces.js +1 -1
  461. package/dist/collection/components/value-list/resources.js +1 -1
  462. package/dist/collection/components/value-list/utils.js +1 -1
  463. package/dist/collection/components/value-list/value-list.js +1 -1
  464. package/dist/collection/components/value-list-item/resources.js +1 -1
  465. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  466. package/dist/collection/utils/array.js +1 -1
  467. package/dist/collection/utils/conditionalSlot.js +1 -1
  468. package/dist/collection/utils/date.js +1 -1
  469. package/dist/collection/utils/dom.js +1 -1
  470. package/dist/collection/utils/filter.js +1 -1
  471. package/dist/collection/utils/floating-ui.js +1 -1
  472. package/dist/collection/utils/form.js +1 -1
  473. package/dist/collection/utils/globalAttributes.js +1 -1
  474. package/dist/collection/utils/globalScript.js +1 -1
  475. package/dist/collection/utils/guid.js +1 -1
  476. package/dist/collection/utils/interactive.js +1 -1
  477. package/dist/collection/utils/key.js +1 -1
  478. package/dist/collection/utils/label.js +1 -1
  479. package/dist/collection/utils/locale.js +1 -1
  480. package/dist/collection/utils/math.js +1 -1
  481. package/dist/collection/utils/number.js +1 -1
  482. package/dist/collection/utils/observers.js +1 -1
  483. package/dist/collection/utils/openCloseComponent.js +1 -1
  484. package/dist/collection/utils/resources.js +1 -1
  485. package/dist/collection/utils/theme.js +1 -1
  486. package/dist/collection/utils/time.js +1 -1
  487. package/dist/components/ExpandToggle.js +1 -1
  488. package/dist/components/Heading.js +1 -1
  489. package/dist/components/action-group.js +1 -1
  490. package/dist/components/action-menu.js +1 -1
  491. package/dist/components/action.js +1 -1
  492. package/dist/components/array.js +1 -1
  493. package/dist/components/button.js +1 -1
  494. package/dist/components/calcite-accordion-item.js +1 -1
  495. package/dist/components/calcite-accordion.js +1 -1
  496. package/dist/components/calcite-action-bar.js +1 -1
  497. package/dist/components/calcite-action-group.js +1 -1
  498. package/dist/components/calcite-action-menu.js +1 -1
  499. package/dist/components/calcite-action-pad.js +1 -1
  500. package/dist/components/calcite-action.js +1 -1
  501. package/dist/components/calcite-alert.js +1 -1
  502. package/dist/components/calcite-avatar.js +1 -1
  503. package/dist/components/calcite-block-section.js +1 -1
  504. package/dist/components/calcite-block.js +1 -1
  505. package/dist/components/calcite-button.js +1 -1
  506. package/dist/components/calcite-card.js +1 -1
  507. package/dist/components/calcite-checkbox.js +1 -1
  508. package/dist/components/calcite-chip.js +1 -1
  509. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  510. package/dist/components/calcite-color-picker-swatch.js +1 -1
  511. package/dist/components/calcite-color-picker.js +1 -1
  512. package/dist/components/calcite-combobox-item-group.js +1 -1
  513. package/dist/components/calcite-combobox-item.js +1 -1
  514. package/dist/components/calcite-combobox.js +12 -10
  515. package/dist/components/calcite-date-picker-day.js +1 -1
  516. package/dist/components/calcite-date-picker-month-header.js +1 -1
  517. package/dist/components/calcite-date-picker-month.js +1 -1
  518. package/dist/components/calcite-date-picker.js +1 -1
  519. package/dist/components/calcite-dropdown-group.js +1 -1
  520. package/dist/components/calcite-dropdown-item.js +1 -1
  521. package/dist/components/calcite-dropdown.js +1 -1
  522. package/dist/components/calcite-fab.js +1 -1
  523. package/dist/components/calcite-filter.js +1 -1
  524. package/dist/components/calcite-flow.js +1 -1
  525. package/dist/components/calcite-graph.js +1 -1
  526. package/dist/components/calcite-handle.js +1 -1
  527. package/dist/components/calcite-icon.js +1 -1
  528. package/dist/components/calcite-inline-editable.js +1 -1
  529. package/dist/components/calcite-input-date-picker.js +1 -1
  530. package/dist/components/calcite-input-message.js +1 -1
  531. package/dist/components/calcite-input-number.js +1 -1
  532. package/dist/components/calcite-input-text.js +1 -1
  533. package/dist/components/calcite-input-time-picker.js +1 -1
  534. package/dist/components/calcite-input.js +1 -1
  535. package/dist/components/calcite-label.js +1 -1
  536. package/dist/components/calcite-link.js +1 -1
  537. package/dist/components/calcite-list-item-group.js +1 -1
  538. package/dist/components/calcite-list-item.js +1 -1
  539. package/dist/components/calcite-list.js +1 -1
  540. package/dist/components/calcite-loader.js +1 -1
  541. package/dist/components/calcite-modal.js +1 -1
  542. package/dist/components/calcite-notice.js +1 -1
  543. package/dist/components/calcite-option-group.js +1 -1
  544. package/dist/components/calcite-option.js +1 -1
  545. package/dist/components/calcite-pagination.js +1 -1
  546. package/dist/components/calcite-panel.js +1 -1
  547. package/dist/components/calcite-pick-list-group.js +1 -1
  548. package/dist/components/calcite-pick-list-item.js +1 -1
  549. package/dist/components/calcite-pick-list.js +1 -1
  550. package/dist/components/calcite-popover-manager.js +1 -1
  551. package/dist/components/calcite-popover.js +1 -1
  552. package/dist/components/calcite-progress.js +1 -1
  553. package/dist/components/calcite-radio-button-group.js +1 -1
  554. package/dist/components/calcite-radio-button.js +1 -1
  555. package/dist/components/calcite-radio-group-item.js +1 -1
  556. package/dist/components/calcite-radio-group.js +1 -1
  557. package/dist/components/calcite-rating.js +1 -1
  558. package/dist/components/calcite-scrim.js +1 -1
  559. package/dist/components/calcite-select.js +1 -1
  560. package/dist/components/calcite-shell-center-row.js +1 -1
  561. package/dist/components/calcite-shell-panel.js +1 -1
  562. package/dist/components/calcite-shell.js +1 -1
  563. package/dist/components/calcite-slider.js +1 -1
  564. package/dist/components/calcite-sortable-list.js +1 -1
  565. package/dist/components/calcite-split-button.js +1 -1
  566. package/dist/components/calcite-stepper-item.js +1 -1
  567. package/dist/components/calcite-stepper.js +1 -1
  568. package/dist/components/calcite-switch.js +1 -1
  569. package/dist/components/calcite-tab-nav.js +1 -1
  570. package/dist/components/calcite-tab-title.js +1 -1
  571. package/dist/components/calcite-tab.js +1 -1
  572. package/dist/components/calcite-tabs.js +1 -1
  573. package/dist/components/calcite-tile-select-group.js +1 -1
  574. package/dist/components/calcite-tile-select.js +1 -1
  575. package/dist/components/calcite-tile.js +1 -1
  576. package/dist/components/calcite-time-picker.js +1 -1
  577. package/dist/components/calcite-tip-group.js +1 -1
  578. package/dist/components/calcite-tip-manager.js +1 -1
  579. package/dist/components/calcite-tip.js +1 -1
  580. package/dist/components/calcite-tooltip-manager.js +1 -1
  581. package/dist/components/calcite-tooltip.js +1 -1
  582. package/dist/components/calcite-tree-item.js +1 -1
  583. package/dist/components/calcite-tree.js +1 -1
  584. package/dist/components/calcite-value-list-item.js +1 -1
  585. package/dist/components/calcite-value-list.js +1 -1
  586. package/dist/components/checkbox.js +1 -1
  587. package/dist/components/chip.js +3 -3
  588. package/dist/components/color-picker-hex-input.js +1 -1
  589. package/dist/components/color-picker-swatch.js +1 -1
  590. package/dist/components/conditionalSlot.js +1 -1
  591. package/dist/components/date-picker-day.js +1 -1
  592. package/dist/components/date-picker-month-header.js +1 -1
  593. package/dist/components/date-picker-month.js +1 -1
  594. package/dist/components/date-picker.js +1 -1
  595. package/dist/components/date.js +1 -1
  596. package/dist/components/debounce.js +1 -1
  597. package/dist/components/dom.js +1 -1
  598. package/dist/components/dropdown.js +1 -1
  599. package/dist/components/filter.js +1 -1
  600. package/dist/components/filter2.js +1 -1
  601. package/dist/components/floating-ui.js +1 -1
  602. package/dist/components/form.js +1 -1
  603. package/dist/components/graph.js +1 -1
  604. package/dist/components/guid.js +1 -1
  605. package/dist/components/handle.js +1 -1
  606. package/dist/components/icon.js +1 -1
  607. package/dist/components/index.js +1 -1
  608. package/dist/components/input.js +1 -1
  609. package/dist/components/interactive.js +1 -1
  610. package/dist/components/interfaces.js +1 -1
  611. package/dist/components/interfaces2.js +1 -1
  612. package/dist/components/key.js +1 -1
  613. package/dist/components/label.js +1 -1
  614. package/dist/components/label2.js +1 -1
  615. package/dist/components/link.js +1 -1
  616. package/dist/components/loader.js +1 -1
  617. package/dist/components/locale.js +1 -1
  618. package/dist/components/math.js +1 -1
  619. package/dist/components/observers.js +1 -1
  620. package/dist/components/openCloseComponent.js +1 -1
  621. package/dist/components/pick-list-item.js +1 -1
  622. package/dist/components/popover.js +1 -1
  623. package/dist/components/progress.js +1 -1
  624. package/dist/components/resources.js +1 -1
  625. package/dist/components/resources2.js +1 -1
  626. package/dist/components/resources3.js +1 -1
  627. package/dist/components/resources4.js +1 -1
  628. package/dist/components/scrim.js +1 -1
  629. package/dist/components/shared-list-render.js +1 -1
  630. package/dist/components/sortable.esm.js +1 -1
  631. package/dist/components/switch.js +1 -1
  632. package/dist/components/tab-nav.js +1 -1
  633. package/dist/components/tab-title.js +1 -1
  634. package/dist/components/tab.js +1 -1
  635. package/dist/components/tabs.js +1 -1
  636. package/dist/components/tile.js +1 -1
  637. package/dist/components/time-picker.js +1 -1
  638. package/dist/components/utils.js +1 -1
  639. package/dist/components/utils2.js +1 -1
  640. package/dist/custom-elements/index.js +13 -11
  641. package/dist/esm/{ExpandToggle-ee0f2d24.js → ExpandToggle-d33b69db.js} +5 -5
  642. package/dist/esm/{Heading-0779503e.js → Heading-cc745c4a.js} +2 -2
  643. package/dist/esm/{app-globals-2e068640.js → app-globals-e1c2379e.js} +2 -2
  644. package/dist/esm/{array-3f8d5409.js → array-51e6fec9.js} +1 -1
  645. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  646. package/dist/esm/calcite-action-bar.entry.js +11 -11
  647. package/dist/esm/calcite-action-group.entry.js +9 -9
  648. package/dist/esm/calcite-action-menu.entry.js +8 -8
  649. package/dist/esm/calcite-action-pad.entry.js +10 -10
  650. package/dist/esm/calcite-action.entry.js +7 -7
  651. package/dist/esm/calcite-alert.entry.js +7 -7
  652. package/dist/esm/calcite-avatar.entry.js +6 -6
  653. package/dist/esm/calcite-block_2.entry.js +10 -10
  654. package/dist/esm/calcite-button.entry.js +9 -9
  655. package/dist/esm/calcite-card.entry.js +7 -7
  656. package/dist/esm/calcite-checkbox.entry.js +9 -9
  657. package/dist/esm/calcite-chip.entry.js +7 -7
  658. package/dist/esm/calcite-color-picker_3.entry.js +10 -10
  659. package/dist/esm/calcite-combobox_3.entry.js +25 -23
  660. package/dist/esm/calcite-date-picker_4.entry.js +10 -10
  661. package/dist/esm/calcite-dropdown_3.entry.js +10 -10
  662. package/dist/esm/calcite-fab.entry.js +6 -6
  663. package/dist/esm/calcite-filter.entry.js +8 -8
  664. package/dist/esm/calcite-flow.entry.js +3 -3
  665. package/dist/esm/calcite-graph_2.entry.js +11 -11
  666. package/dist/esm/calcite-handle.entry.js +5 -5
  667. package/dist/esm/calcite-icon.entry.js +6 -6
  668. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  669. package/dist/esm/calcite-input-date-picker.entry.js +13 -13
  670. package/dist/esm/calcite-input-message.entry.js +5 -5
  671. package/dist/esm/calcite-input-number.entry.js +12 -12
  672. package/dist/esm/calcite-input-text.entry.js +9 -9
  673. package/dist/esm/calcite-input-time-picker_2.entry.js +10 -10
  674. package/dist/esm/calcite-input.entry.js +12 -12
  675. package/dist/esm/calcite-label.entry.js +6 -6
  676. package/dist/esm/calcite-link.entry.js +6 -6
  677. package/dist/esm/calcite-list_3.entry.js +9 -9
  678. package/dist/esm/calcite-loader.entry.js +3 -3
  679. package/dist/esm/calcite-modal.entry.js +8 -8
  680. package/dist/esm/calcite-notice.entry.js +8 -8
  681. package/dist/esm/calcite-option_3.entry.js +9 -9
  682. package/dist/esm/calcite-pagination.entry.js +5 -5
  683. package/dist/esm/calcite-panel.entry.js +10 -10
  684. package/dist/esm/calcite-pick-list_3.entry.js +12 -12
  685. package/dist/esm/calcite-popover_2.entry.js +10 -10
  686. package/dist/esm/calcite-progress.entry.js +2 -2
  687. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  688. package/dist/esm/calcite-radio-button.entry.js +9 -9
  689. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  690. package/dist/esm/calcite-rating.entry.js +9 -9
  691. package/dist/esm/calcite-scrim.entry.js +2 -2
  692. package/dist/esm/calcite-shell_3.entry.js +8 -8
  693. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  694. package/dist/esm/calcite-split-button.entry.js +3 -3
  695. package/dist/esm/calcite-stepper_2.entry.js +6 -6
  696. package/dist/esm/calcite-switch.entry.js +9 -9
  697. package/dist/esm/calcite-tab_4.entry.js +7 -7
  698. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  699. package/dist/esm/calcite-tile.entry.js +8 -8
  700. package/dist/esm/calcite-tip_3.entry.js +8 -8
  701. package/dist/esm/calcite-tooltip_2.entry.js +6 -6
  702. package/dist/esm/calcite-tree_2.entry.js +7 -7
  703. package/dist/esm/calcite-value-list_2.entry.js +12 -12
  704. package/dist/esm/calcite.js +5 -5
  705. package/dist/esm/{conditionalSlot-da451e2e.js → conditionalSlot-d174e645.js} +3 -3
  706. package/dist/esm/{debounce-3f5d7ed4.js → debounce-97ec2bf5.js} +1 -1
  707. package/dist/esm/{dom-36be46cc.js → dom-ada6955f.js} +3 -3
  708. package/dist/esm/{filter-b03ba312.js → filter-95fc6fc6.js} +2 -2
  709. package/dist/esm/{floating-ui-e8aeb2bd.js → floating-ui-1dbb3151.js} +2 -2
  710. package/dist/esm/{form-57b4faa7.js → form-13f50160.js} +3 -3
  711. package/dist/esm/{guid-86216fef.js → guid-a51b25d0.js} +1 -1
  712. package/dist/esm/{index-3faeefe6.js → index-47008242.js} +1 -1
  713. package/dist/esm/index.js +1 -1
  714. package/dist/esm/{interactive-5cc6ed54.js → interactive-d8ae72af.js} +1 -1
  715. package/dist/esm/{interfaces-8412dc16.js → interfaces-1d49904b.js} +1 -1
  716. package/dist/esm/{key-16a5ae81.js → key-66ffc0a6.js} +1 -1
  717. package/dist/esm/{label-d6b53749.js → label-a7ae8219.js} +2 -2
  718. package/dist/esm/loader.js +5 -5
  719. package/dist/esm/{locale-c2333880.js → locale-8929fd51.js} +2 -2
  720. package/dist/esm/{math-3ec31202.js → math-be7d2f3b.js} +1 -1
  721. package/dist/esm/{observers-835249f9.js → observers-1c28ae12.js} +1 -1
  722. package/dist/esm/{openCloseComponent-435c59bd.js → openCloseComponent-07a8007c.js} +1 -1
  723. package/dist/esm/{resources-4f44c4bd.js → resources-47135f28.js} +1 -1
  724. package/dist/esm/{resources-e7a96b13.js → resources-8df5b958.js} +3 -3
  725. package/dist/esm/{resources-e608470c.js → resources-9480c6af.js} +5 -5
  726. package/dist/esm/{resources-0888cf5e.js → resources-9edb97ea.js} +1 -1
  727. package/dist/esm/{resources-fe9d0b41.js → resources-c467e503.js} +1 -1
  728. package/dist/esm/{sortable.esm-ad8de74d.js → sortable.esm-41e7c566.js} +1 -1
  729. package/dist/esm/{utils-f611a7a5.js → utils-535af390.js} +1 -1
  730. package/dist/esm-es5/{ExpandToggle-ee0f2d24.js → ExpandToggle-d33b69db.js} +2 -2
  731. package/dist/esm-es5/Heading-cc745c4a.js +6 -0
  732. package/dist/esm-es5/{app-globals-2e068640.js → app-globals-e1c2379e.js} +2 -2
  733. package/dist/esm-es5/{array-3f8d5409.js → array-51e6fec9.js} +1 -1
  734. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  735. package/dist/esm-es5/calcite-action-bar.entry.js +3 -3
  736. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  737. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  738. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  739. package/dist/esm-es5/calcite-action.entry.js +2 -2
  740. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  741. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  742. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  743. package/dist/esm-es5/calcite-button.entry.js +2 -2
  744. package/dist/esm-es5/calcite-card.entry.js +2 -2
  745. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  746. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  747. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  748. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  749. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  750. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  751. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  752. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  753. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  754. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  755. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  756. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  757. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  758. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  759. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  760. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  761. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  762. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  763. package/dist/esm-es5/calcite-input.entry.js +2 -2
  764. package/dist/esm-es5/calcite-label.entry.js +2 -2
  765. package/dist/esm-es5/calcite-link.entry.js +3 -3
  766. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  767. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  768. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  769. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  770. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  771. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  772. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  773. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  774. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  775. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  776. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  777. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  778. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  779. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  780. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  781. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  782. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  783. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  784. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  785. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  786. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  787. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  788. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  789. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  790. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  791. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  792. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  793. package/dist/esm-es5/calcite.js +2 -2
  794. package/dist/esm-es5/{conditionalSlot-da451e2e.js → conditionalSlot-d174e645.js} +2 -2
  795. package/dist/esm-es5/{debounce-3f5d7ed4.js → debounce-97ec2bf5.js} +1 -1
  796. package/dist/esm-es5/{dom-36be46cc.js → dom-ada6955f.js} +2 -2
  797. package/dist/esm-es5/{filter-b03ba312.js → filter-95fc6fc6.js} +2 -2
  798. package/dist/esm-es5/{floating-ui-e8aeb2bd.js → floating-ui-1dbb3151.js} +2 -2
  799. package/dist/esm-es5/{form-57b4faa7.js → form-13f50160.js} +2 -2
  800. package/dist/esm-es5/{guid-86216fef.js → guid-a51b25d0.js} +1 -1
  801. package/dist/esm-es5/{index-3faeefe6.js → index-47008242.js} +1 -1
  802. package/dist/esm-es5/index.js +1 -1
  803. package/dist/esm-es5/{interactive-5cc6ed54.js → interactive-d8ae72af.js} +1 -1
  804. package/dist/esm-es5/{interfaces-8412dc16.js → interfaces-1d49904b.js} +1 -1
  805. package/dist/esm-es5/{key-16a5ae81.js → key-66ffc0a6.js} +1 -1
  806. package/dist/esm-es5/{label-d6b53749.js → label-a7ae8219.js} +2 -2
  807. package/dist/esm-es5/loader.js +2 -2
  808. package/dist/esm-es5/{locale-c2333880.js → locale-8929fd51.js} +2 -2
  809. package/dist/esm-es5/{math-3ec31202.js → math-be7d2f3b.js} +1 -1
  810. package/dist/esm-es5/{observers-835249f9.js → observers-1c28ae12.js} +1 -1
  811. package/dist/esm-es5/{openCloseComponent-435c59bd.js → openCloseComponent-07a8007c.js} +1 -1
  812. package/dist/esm-es5/{resources-4f44c4bd.js → resources-47135f28.js} +1 -1
  813. package/dist/esm-es5/{resources-e7a96b13.js → resources-8df5b958.js} +2 -2
  814. package/dist/esm-es5/{resources-e608470c.js → resources-9480c6af.js} +2 -2
  815. package/dist/esm-es5/{resources-0888cf5e.js → resources-9edb97ea.js} +1 -1
  816. package/dist/esm-es5/{resources-fe9d0b41.js → resources-c467e503.js} +1 -1
  817. package/dist/esm-es5/{sortable.esm-ad8de74d.js → sortable.esm-41e7c566.js} +1 -1
  818. package/dist/esm-es5/{utils-f611a7a5.js → utils-535af390.js} +1 -1
  819. package/dist/extras/docs-json.json +3 -3
  820. package/dist/loader/cdn.js +1 -1
  821. package/dist/loader/index.cjs.js +1 -1
  822. package/dist/loader/index.es2017.js +1 -1
  823. package/dist/loader/index.js +1 -1
  824. package/hydrate/index.js +14 -12
  825. package/package.json +1 -1
  826. package/dist/calcite/p-16220a0a.system.js +0 -6
  827. package/dist/calcite/p-1d75037d.js +0 -6
  828. package/dist/calcite/p-291691df.js +0 -6
  829. package/dist/calcite/p-2ced8e9b.js +0 -6
  830. package/dist/calcite/p-6e6052a3.entry.js +0 -6
  831. package/dist/calcite/p-7083b33c.system.js +0 -6
  832. package/dist/calcite/p-8c92827d.js +0 -6
  833. package/dist/esm-es5/Heading-0779503e.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.570
4
+ * v1.0.0-next.571
5
5
  */
6
- import{r as t,c as a,h as i,g as e,F as n}from"./p-43693df9.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 f,e as h,f as p,r as b,l as w,n as u,j as k,o as g,p as x,I as y,L as v,q as D,t as _,H as z,T as C,u as I,C as H,S as j}from"./p-bf9dce53.js";import{c as L}from"./p-7cfa8a4b.js";import{u as W}from"./p-274a0060.js";import{g as F,t as R}from"./p-89810887.js";import{H as A,c as S}from"./p-1d75037d.js";import{c as T,d as V}from"./p-8c92827d.js";import"./p-70bfb343.js";import"./p-76b88ebe.js";import"./p-dfb38c54.js";import"./p-2c6945ed.js";const P=class{constructor(i){t(this,i),this.calciteListChange=a(this,"calciteListChange",6),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(){f.call(this),h.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){u.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){k.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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}: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{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]) ::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={[_.container]:!0,[_.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:_.heading,level:r||m||z},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-floating-ui-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}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;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",6),this.calciteListItemRemove=a(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=a(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=a(this,"calciteInternalListItemValueChange",6),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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}: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{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]) ::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-c8ceec2d.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 f,e as h,f as p,r as b,l as w,n as u,j as k,o as g,p as x,I as y,L as v,q as D,t as _,H as z,T as C,u as I,C as H,S as j}from"./p-f7ef036f.js";import{c as L}from"./p-46db8711.js";import{u as W}from"./p-d815a193.js";import{g as F,t as R}from"./p-634b4667.js";import{H as A,c as S}from"./p-01f33421.js";import{c as T,d as V}from"./p-fe656a4f.js";import"./p-63146b51.js";import"./p-aae82ee7.js";import"./p-735f4fb7.js";import"./p-b596c9e6.js";const P=class{constructor(i){t(this,i),this.calciteListChange=a(this,"calciteListChange",6),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(){f.call(this),h.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){u.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){k.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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}: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{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]) ::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={[_.container]:!0,[_.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:_.heading,level:r||m||z},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-floating-ui-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}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;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",6),this.calciteListItemRemove=a(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=a(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=a(this,"calciteInternalListItemValueChange",6),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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}: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{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]) ::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.570
4
+ * v1.0.0-next.571
5
5
  */
6
- System.register(["./p-ccb2b3cc.system.js","./p-7b7a789a.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.c},function(e){n=e.h}],execute:function(){e({a:v,c:f,d:s,r:l,s:c});var r="hidden-form-input";function a(e){return"checked"in e}var u=new WeakMap;var i=new WeakSet;function o(e,t){var n="calciteInternalFormComponentRegister";var r=false;e.addEventListener(n,(function(e){r=e.composedPath().some((function(e){return i.has(e)}));e.stopPropagation()}),{once:true});t.dispatchEvent(new CustomEvent(n,{bubbles:true,composed:true}));return r}function c(e){var t=e.formEl;if(!t){return false}"requestSubmit"in t?t.requestSubmit():t.submit();return true}function l(e){var t;(t=e.formEl)===null||t===void 0?void 0:t.reset()}function f(e){var n=e.el,r=e.value;var c=t(n,"form");if(!c||o(c,n)){return}e.formEl=c;e.defaultValue=r;if(a(e)){e.defaultChecked=e.checked}var l=(e.onFormReset||d).bind(e);c.addEventListener("reset",l);u.set(e.el,l);i.add(n)}function d(){if(a(this)){this.checked=this.defaultChecked;return}this.value=this.defaultValue}function s(e){var t=e.el,n=e.formEl;if(!n){return}var r=u.get(t);n.removeEventListener("reset",r);u.delete(t);e.formEl=null;i.delete(t)}function v(e,t){e.defaultValue=t}var m=function(e){e.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange",{bubbles:true}))};var h=function(e){return e.removeEventListener("change",m)};function p(e){var t=e.el,n=e.formEl,a=e.name,u=e.value;var i=t.ownerDocument;var o=t.querySelectorAll('input[slot="'.concat(r,'"]'));if(!n||!a){o.forEach((function(e){h(e);e.remove()}));return}var c=Array.isArray(u)?u:[u];var l=[];var f=new Set;o.forEach((function(t){var n=c.find((function(e){return e==t.value}));if(n!=null){f.add(n);E(e,t,n)}else{l.push(t)}}));var d;c.forEach((function(t){if(f.has(t)){return}var n=l.pop();if(!n){n=i.createElement("input");n.slot=r}if(!d){d=i.createDocumentFragment()}d.append(n);n.addEventListener("change",m);E(e,n,t)}));if(d){t.append(d)}l.forEach((function(e){h(e);e.remove()}))}function E(e,t,n){var r;var u=e.defaultValue,i=e.disabled,o=e.name,c=e.required;t.defaultValue=u;t.disabled=i;t.name=o;t.required=c;t.tabIndex=-1;if(a(e)){t.defaultChecked=e.defaultChecked;t.value=e.checked?n||"on":"";if(!i&&!e.checked){t.disabled=true}}else{t.value=n||""}(r=e.syncHiddenFormInput)===null||r===void 0?void 0:r.call(e,t)}var b=e("H",(function(e){var t=e.component;p(t);return n("slot",{name:r})}))}}}));
6
+ System.register(["./p-2ce5c529.system.js","./p-5676272d.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.c},function(e){n=e.h}],execute:function(){e({a:v,c:f,d:s,r:l,s:c});var r="hidden-form-input";function a(e){return"checked"in e}var u=new WeakMap;var i=new WeakSet;function o(e,t){var n="calciteInternalFormComponentRegister";var r=false;e.addEventListener(n,(function(e){r=e.composedPath().some((function(e){return i.has(e)}));e.stopPropagation()}),{once:true});t.dispatchEvent(new CustomEvent(n,{bubbles:true,composed:true}));return r}function c(e){var t=e.formEl;if(!t){return false}"requestSubmit"in t?t.requestSubmit():t.submit();return true}function l(e){var t;(t=e.formEl)===null||t===void 0?void 0:t.reset()}function f(e){var n=e.el,r=e.value;var c=t(n,"form");if(!c||o(c,n)){return}e.formEl=c;e.defaultValue=r;if(a(e)){e.defaultChecked=e.checked}var l=(e.onFormReset||d).bind(e);c.addEventListener("reset",l);u.set(e.el,l);i.add(n)}function d(){if(a(this)){this.checked=this.defaultChecked;return}this.value=this.defaultValue}function s(e){var t=e.el,n=e.formEl;if(!n){return}var r=u.get(t);n.removeEventListener("reset",r);u.delete(t);e.formEl=null;i.delete(t)}function v(e,t){e.defaultValue=t}var m=function(e){e.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange",{bubbles:true}))};var h=function(e){return e.removeEventListener("change",m)};function p(e){var t=e.el,n=e.formEl,a=e.name,u=e.value;var i=t.ownerDocument;var o=t.querySelectorAll('input[slot="'.concat(r,'"]'));if(!n||!a){o.forEach((function(e){h(e);e.remove()}));return}var c=Array.isArray(u)?u:[u];var l=[];var f=new Set;o.forEach((function(t){var n=c.find((function(e){return e==t.value}));if(n!=null){f.add(n);E(e,t,n)}else{l.push(t)}}));var d;c.forEach((function(t){if(f.has(t)){return}var n=l.pop();if(!n){n=i.createElement("input");n.slot=r}if(!d){d=i.createDocumentFragment()}d.append(n);n.addEventListener("change",m);E(e,n,t)}));if(d){t.append(d)}l.forEach((function(e){h(e);e.remove()}))}function E(e,t,n){var r;var u=e.defaultValue,i=e.disabled,o=e.name,c=e.required;t.defaultValue=u;t.disabled=i;t.name=o;t.required=c;t.tabIndex=-1;if(a(e)){t.defaultChecked=e.defaultChecked;t.value=e.checked?n||"on":"";if(!i&&!e.checked){t.disabled=true}}else{t.value=n||""}(r=e.syncHiddenFormInput)===null||r===void 0?void 0:r.call(e,t)}var b=e("H",(function(e){var t=e.component;p(t);return n("slot",{name:r})}))}}}));
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.570
4
+ * v1.0.0-next.571
5
5
  */
6
6
  const t=(t,a,s)=>Math.max(a,Math.min(t,s)),a=t=>{const a=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return a?Math.max(0,(a[1]?a[1].length:0)-(a[2]?+a[2]:0)):0};export{t as c,a 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.570
4
+ * v1.0.0-next.571
5
5
  */
6
6
  function n(n,r){return(n+r)%r}export{n as 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.570
4
+ * v1.0.0-next.571
5
5
  */
6
- import{C as n}from"./p-dfb38c54.js";import{g as t}from"./p-2c6945ed.js";function r(n){return n?n.id=n.id||`${n.tagName.toLowerCase()}-${t()}`:""}function u(n){return Array.isArray(n)?n:Array.from(n)}function o(t){const r=a(t,`.${n.darkTheme}, .${n.lightTheme}`);return(null==r?void 0:r.classList.contains("calcite-theme-dark"))?"dark":"light"}function l(n){const t=a(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function i(n,t,r){const u=n.closest(`[${t}]`);return u?u.getAttribute(t):r}function e(n){return n.getRootNode()}function s(n){return n.host||null}function c(n,{selector:t,id:r}){return function n(u){if(!u)return null;u.assignedSlot&&(u=u.assignedSlot);const o=e(u),l=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,i=s(o);return l||(i?n(i):null)}(n)}function a(n,t){return function n(r){return r?r.closest(t)||n(s(e(r))):null}(n)}function f(n){return"function"==typeof(null==n?void 0:n.setFocus)}async function d(n){if(n)return f(n)?n.setFocus():n.focus()}function v(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const u=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:":not([slot])";return(null==r?void 0:r.all)?function(n,t,r){let u=":not([slot])"===t?y(n,":not([slot])"):Array.from(n.querySelectorAll(t));u=r&&!1===r.direct?u:u.filter((t=>t.parentElement===n)),u=(null==r?void 0:r.matches)?u.filter((n=>null==n?void 0:n.matches(r.matches))):u;const o=null==r?void 0:r.selector;return o?u.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):u}(n,u,r):function(n,t,r){let u=":not([slot])"===t?y(n,":not([slot])")[0]||null:n.querySelector(t);u=r&&!1===r.direct||(null==u?void 0:u.parentElement)===n?u:null,u=(null==r?void 0:r.matches)?(null==u?void 0:u.matches(r.matches))?u:null:u;const o=null==r?void 0:r.selector;return o?null==u?void 0:u.querySelector(o):u}(n,u,r)}function y(n,t){return n?Array.from(n.children||[]).filter((n=>null==n?void 0:n.matches(t))):[]}function p(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function A(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function $(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function g(n){return Boolean(n).toString()}export{l as a,o as b,a as c,i as d,r as e,d as f,v as g,$ as h,f as i,e as j,p as k,u as n,c as q,A as s,g as t}
6
+ import{C as n}from"./p-735f4fb7.js";import{g as t}from"./p-b596c9e6.js";function r(n){return n?n.id=n.id||`${n.tagName.toLowerCase()}-${t()}`:""}function u(n){return Array.isArray(n)?n:Array.from(n)}function o(t){const r=f(t,`.${n.darkTheme}, .${n.lightTheme}`);return(null==r?void 0:r.classList.contains("calcite-theme-dark"))?"dark":"light"}function l(n){const t=f(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function i(n,t,r){const u=n.closest(`[${t}]`);return u?u.getAttribute(t):r}function e(n){return n.getRootNode()}function s(n){return n.host||null}function c(n,{selector:t,id:r}){return function n(u){if(!u)return null;u.assignedSlot&&(u=u.assignedSlot);const o=e(u),l=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,i=s(o);return l||(i?n(i):null)}(n)}function f(n,t){return function n(r){return r?r.closest(t)||n(s(e(r))):null}(n)}function a(n){return"function"==typeof(null==n?void 0:n.setFocus)}async function d(n){if(n)return a(n)?n.setFocus():n.focus()}function v(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const u=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:":not([slot])";return(null==r?void 0:r.all)?function(n,t,r){let u=":not([slot])"===t?y(n,":not([slot])"):Array.from(n.querySelectorAll(t));u=r&&!1===r.direct?u:u.filter((t=>t.parentElement===n)),u=(null==r?void 0:r.matches)?u.filter((n=>null==n?void 0:n.matches(r.matches))):u;const o=null==r?void 0:r.selector;return o?u.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):u}(n,u,r):function(n,t,r){let u=":not([slot])"===t?y(n,":not([slot])")[0]||null:n.querySelector(t);u=r&&!1===r.direct||(null==u?void 0:u.parentElement)===n?u:null,u=(null==r?void 0:r.matches)?(null==u?void 0:u.matches(r.matches))?u:null:u;const o=null==r?void 0:r.selector;return o?null==u?void 0:u.querySelector(o):u}(n,u,r)}function y(n,t){return n?Array.from(n.children||[]).filter((n=>null==n?void 0:n.matches(t))):[]}function p(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function A(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function $(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function g(n){return Boolean(n).toString()}export{l as a,o as b,f as c,i as d,r as e,d as f,v as g,$ as h,a as i,e as j,p as k,u as n,c as q,A as s,g as t}
@@ -1,6 +1,6 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function s(t){try{l(n.next(t))}catch(t){o(t)}}function c(t){try{l(n["throw"](t))}catch(t){o(t)}}function l(t){t.done?i(t.value):a(t.value).then(s,c)}l((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(t){return function(e){return l([t,e])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;a=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(s[0]===6&&i.label<o[1]){i.label=o[1];o=s;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(s);break}if(o[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t];a=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
1
+ var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function s(t){try{c(n.next(t))}catch(t){o(t)}}function l(t){try{c(n["throw"](t))}catch(t){o(t)}}function c(t){t.done?i(t.value):a(t.value).then(s,l)}c((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(t){return function(e){return c([t,e])}}function c(s){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;a=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(s[0]===6&&i.label<o[1]){i.label=o[1];o=s;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(s);break}if(o[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t];a=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[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.570
6
- */System.register(["./p-7b7a789a.system.js","./p-6b382f81.system.js","./p-ccb2b3cc.system.js","./p-16220a0a.system.js","./p-19516261.system.js","./p-ca8010c5.system.js","./p-2a3e1cec.system.js"],(function(t){"use strict";var e,i,n,a,o,s,c,l,r;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.g},function(t){o=t.S},function(t){s=t.s;c=t.g},function(t){l=t.c;r=t.d},function(){},function(){},function(){}],execute:function(){var m={close:"Close"};var f={title:"title",message:"message",link:"link",actionsEnd:"actions-end"};var d={actionsEnd:"actions-end",close:"notice-close",container:"container",content:"notice-content",icon:"notice-icon"};var u="@-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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;-ms-flex-align:center;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;-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;max-block-size:0;text-align:start;-webkit-border-start:0px solid;border-inline-start:0px solid;-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:-ms-flexbox;display:flex}:host([open]) .container{pointer-events:auto;display:-ms-flexbox;display:flex;max-block-size:100%;-ms-flex-align:center;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-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)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:var(--calcite-notice-spacing-token-small);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{-webkit-box-sizing:border-box;box-sizing:border-box;-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;padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-direction:column;flex-direction:column;overflow-wrap:break-word;-ms-flex:1 1 0px;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-notice-spacing-token-large);padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-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;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto}.notice-close{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-box-sizing:border-box;box-sizing:border-box;-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;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch}:host([color=blue]) .container{border-color:var(--calcite-ui-brand)}:host([color=blue]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([color=red]) .container{border-color:var(--calcite-ui-danger)}:host([color=red]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-color:var(--calcite-ui-success)}:host([color=green]) .container .notice-icon{color:var(--calcite-ui-success)}";var p=t("calcite_notice",function(){function t(t){var n=this;e(this,t);this.calciteNoticeClose=i(this,"calciteNoticeClose",6);this.calciteNoticeOpen=i(this,"calciteNoticeOpen",6);this.active=false;this.open=false;this.color="blue";this.dismissible=false;this.closable=false;this.intlClose=m.close;this.scale="m";this.width="auto";this.close=function(){n.open=false;n.calciteNoticeClose.emit()}}t.prototype.activeHandler=function(t){this.open=t};t.prototype.openHandler=function(t){this.active=t};t.prototype.handleDismissible=function(t){this.closable=t};t.prototype.handleClosable=function(t){this.dismissible=t};t.prototype.updateRequestedIcon=function(){this.requestedIcon=s(o,this.icon,this.color)};t.prototype.connectedCallback=function(){l(this);var t=this.active||this.open;if(t){this.activeHandler(t);this.openHandler(t)}if(this.dismissible){this.handleDismissible(this.dismissible)}if(this.closable){this.handleClosable(this.closable)}};t.prototype.disconnectedCallback=function(){r(this)};t.prototype.componentWillLoad=function(){this.requestedIcon=s(o,this.icon,this.color)};t.prototype.render=function(){var t=this;var e=this.el;var i=n("button",{"aria-label":this.intlClose,class:d.close,onClick:this.close,ref:function(e){return t.closeButton=e}},n("calcite-icon",{icon:"x",scale:this.scale==="l"?"m":"s"}));var a=c(e,f.actionsEnd);return n("div",{class:d.container},this.requestedIcon?n("div",{class:d.icon},n("calcite-icon",{icon:this.requestedIcon,scale:this.scale==="l"?"m":"s"})):null,n("div",{class:d.content},n("slot",{name:f.title}),n("slot",{name:f.message}),n("slot",{name:f.link})),a?n("div",{class:d.actionsEnd},n("slot",{name:f.actionsEnd})):null,this.closable?i:null)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.el.querySelector("calcite-link");if(!this.closeButton&&!t){return[2]}if(t){t.setFocus()}else if(this.closeButton){this.closeButton.focus()}return[2]}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],open:["openHandler"],dismissible:["handleDismissible"],closable:["handleClosable"],icon:["updateRequestedIcon"],color:["updateRequestedIcon"]}},enumerable:false,configurable:true});return t}());p.style=u}}}));
5
+ * v1.0.0-next.571
6
+ */System.register(["./p-5676272d.system.js","./p-4aecbc47.system.js","./p-2ce5c529.system.js","./p-7d44b9ba.system.js","./p-bdfa3789.system.js","./p-9f99c3f3.system.js","./p-4407d4e4.system.js"],(function(t){"use strict";var e,i,n,a,o,s,l,c,r;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.g},function(t){o=t.S},function(t){s=t.s;l=t.g},function(t){c=t.c;r=t.d},function(){},function(){},function(){}],execute:function(){var m={close:"Close"};var f={title:"title",message:"message",link:"link",actionsEnd:"actions-end"};var d={actionsEnd:"actions-end",close:"notice-close",container:"container",content:"notice-content",icon:"notice-icon"};var u="@-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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;-ms-flex-align:center;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;-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;max-block-size:0;text-align:start;-webkit-border-start:0px solid;border-inline-start:0px solid;-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:-ms-flexbox;display:flex}:host([open]) .container{pointer-events:auto;display:-ms-flexbox;display:flex;max-block-size:100%;-ms-flex-align:center;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-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)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:var(--calcite-notice-spacing-token-small);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{-webkit-box-sizing:border-box;box-sizing:border-box;-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;padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-direction:column;flex-direction:column;overflow-wrap:break-word;-ms-flex:1 1 0px;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-notice-spacing-token-large);padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-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;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto}.notice-close{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-box-sizing:border-box;box-sizing:border-box;-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;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch}:host([color=blue]) .container{border-color:var(--calcite-ui-brand)}:host([color=blue]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([color=red]) .container{border-color:var(--calcite-ui-danger)}:host([color=red]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-color:var(--calcite-ui-success)}:host([color=green]) .container .notice-icon{color:var(--calcite-ui-success)}";var p=t("calcite_notice",function(){function t(t){var n=this;e(this,t);this.calciteNoticeClose=i(this,"calciteNoticeClose",6);this.calciteNoticeOpen=i(this,"calciteNoticeOpen",6);this.active=false;this.open=false;this.color="blue";this.dismissible=false;this.closable=false;this.intlClose=m.close;this.scale="m";this.width="auto";this.close=function(){n.open=false;n.calciteNoticeClose.emit()}}t.prototype.activeHandler=function(t){this.open=t};t.prototype.openHandler=function(t){this.active=t};t.prototype.handleDismissible=function(t){this.closable=t};t.prototype.handleClosable=function(t){this.dismissible=t};t.prototype.updateRequestedIcon=function(){this.requestedIcon=s(o,this.icon,this.color)};t.prototype.connectedCallback=function(){c(this);var t=this.active||this.open;if(t){this.activeHandler(t);this.openHandler(t)}if(this.dismissible){this.handleDismissible(this.dismissible)}if(this.closable){this.handleClosable(this.closable)}};t.prototype.disconnectedCallback=function(){r(this)};t.prototype.componentWillLoad=function(){this.requestedIcon=s(o,this.icon,this.color)};t.prototype.render=function(){var t=this;var e=this.el;var i=n("button",{"aria-label":this.intlClose,class:d.close,onClick:this.close,ref:function(e){return t.closeButton=e}},n("calcite-icon",{icon:"x",scale:this.scale==="l"?"m":"s"}));var a=l(e,f.actionsEnd);return n("div",{class:d.container},this.requestedIcon?n("div",{class:d.icon},n("calcite-icon",{icon:this.requestedIcon,scale:this.scale==="l"?"m":"s"})):null,n("div",{class:d.content},n("slot",{name:f.title}),n("slot",{name:f.message}),n("slot",{name:f.link})),a?n("div",{class:d.actionsEnd},n("slot",{name:f.actionsEnd})):null,this.closable?i:null)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.el.querySelector("calcite-link");if(!this.closeButton&&!t){return[2]}if(t){t.setFocus()}else if(this.closeButton){this.closeButton.focus()}return[2]}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],open:["openHandler"],dismissible:["handleDismissible"],closable:["handleClosable"],icon:["updateRequestedIcon"],color:["updateRequestedIcon"]}},enumerable:false,configurable:true});return t}());p.style=u}}}));
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(t){return t ins
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.570
6
- */System.register(["./p-7b7a789a.system.js","./p-ccb2b3cc.system.js","./p-2a3e1cec.system.js","./p-16220a0a.system.js","./p-41a7ad14.system.js","./p-19516261.system.js","./p-ca8010c5.system.js"],(function(t){"use strict";var e,i,a,n,o,r,l,s,c,d,m,u,f,p;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.H;o=t.g},function(t){r=t.f;l=t.g;s=t.e;c=t.i},function(t){d=t.c},function(t){m=t.c;u=t.d},function(t){f=t.c;p=t.d},function(){},function(){}],execute:function(){function b(t,e,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(t){var o=t.assignedNodes().filter((function(t){return t.nodeType===1}));if(o.length>0){return b(o[0].parentElement,e,i,a,n+1)}return[]};var l=Array.from(t.children||[]);for(var s=0,c=l;s<c.length;s++){var d=c[s];if(e(d)){continue}if(i(d)){o.push(d)}if(d.shadowRoot!=null){o.push.apply(o,b(d.shadowRoot,e,i,a,n+1))}else if(d.tagName==="SLOT"){o.push.apply(o,r(d))}else{o.push.apply(o,b(d,e,i,a,n+1))}}return o}function h(t){return t.hasAttribute("hidden")||t.hasAttribute("aria-hidden")&&t.getAttribute("aria-hidden")!=="false"||t.style.display==="none"||t.style.opacity==="0"||t.style.visibility==="hidden"||t.style.visibility==="collapse"}function v(t){return t.hasAttribute("disabled")||t.hasAttribute("aria-disabled")&&t.getAttribute("aria-disabled")!=="false"}function g(t){if(t.getAttribute("tabindex")==="-1"||h(t)||v(t)){return false}return t.hasAttribute("tabindex")||(t instanceof HTMLAnchorElement||t instanceof HTMLAreaElement)&&t.hasAttribute("href")||(t instanceof HTMLButtonElement||t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement)||t instanceof HTMLIFrameElement}var x={modal:"modal",title:"title",header:"header",footer:"footer",scrim:"scrim",back:"back",close:"close",secondary:"secondary",primary:"primary",overflowHidden:"overflow-hidden",openingIdle:"modal--opening-idle",openingActive:"modal--opening-active",closingIdle:"modal--closing-idle",closingActive:"modal--closing-active"};var w={close:"x"};var y={content:"content",header:"header",back:"back",secondary:"secondary",primary:"primary"};var k={close:"Close"};var z="@-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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:fixed;inset:0px;z-index:700;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 var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}: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);--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal: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);--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal: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);--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal: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;z-index:800;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);-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), 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 var(--calcite-internal-animation-timing-slow), 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 var(--calcite-internal-animation-timing-slow), 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 var(--calcite-internal-animation-timing-slow), 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);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}.modal--opening-active{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-idle{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-active{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}:host([open]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([open]) .modal{pointer-events:auto;visibility:visible;opacity:1;-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{z-index:400;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}.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-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));-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, var(--calcite-model-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}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, var(--calcite-modal-title-text-internal))}.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)}.content--spaced{padding:var(--calcite-modal-padding)}.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, var(--calcite-modal-context-text-internal))}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{z-index:400;-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, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}.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%;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([open][fullscreen]) .header{border-radius:0}: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 E=function(t){return c(t)||g(t)};var C=function(t){return b(t,h,E)};var _=t("calcite_modal",function(){function t(t){var a=this;e(this,t);this.calciteModalBeforeClose=i(this,"calciteModalBeforeClose",6);this.calciteModalClose=i(this,"calciteModalClose",6);this.calciteModalBeforeOpen=i(this,"calciteModalBeforeOpen",6);this.calciteModalOpen=i(this,"calciteModalOpen",6);this.active=false;this.open=false;this.beforeClose=function(){return Promise.resolve()};this.disableCloseButton=false;this.disableOutsideClose=false;this.intlClose=k.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.openTransitionProp="opacity";this.setTransitionEl=function(t){a.transitionEl=t;f(a)};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.open=false;r(a.previousActiveElement);a.removeOverflowHiddenClass()}))};this.focusFirstElement=function(){r(a.disableCloseButton?C(a.el)[0]:a.closeButtonEl)};this.focusLastElement=function(){var t=C(a.el).filter((function(t){return!t.getAttribute("data-focus-fence")}));if(t.length>0){r(t[t.length-1])}else{r(a.closeButtonEl)}};this.updateFooterVisibility=function(){a.hasFooter=!!l(a.el,[y.back,y.primary,y.secondary])}}t.prototype.componentWillLoad=function(){if(this.open){this.openModal()}};t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.updateFooterVisibility();m(this);f(this);if(this.open){this.active=this.open}if(this.active){this.activeHandler(this.active)}};t.prototype.disconnectedCallback=function(){var t;this.removeOverflowHiddenClass();(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();u(this);p(this)};t.prototype.render=function(){var t=this;return a(n,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},a("calcite-scrim",{class:x.scrim,onClick:this.handleOutsideClose}),this.renderStyle(),a("div",{class:x.modal,ref:this.setTransitionEl},a("div",{"data-focus-fence":true,onFocus:this.focusLastElement,tabindex:"0"}),a("div",{class:x.header},this.renderCloseButton(),a("header",{class:x.title},a("slot",{name:x.header}))),a("div",{class:{content:true,"content--spaced":!this.noPadding,"content--no-footer":!this.hasFooter},ref:function(e){return t.modalContent=e}},a("slot",{name:y.content})),this.renderFooter(),a("div",{"data-focus-fence":true,onFocus:this.focusFirstElement,tabindex:"0"})))};t.prototype.renderFooter=function(){return this.hasFooter?a("div",{class:x.footer,key:"footer"},a("span",{class:x.back},a("slot",{name:y.back})),a("span",{class:x.secondary},a("slot",{name:y.secondary})),a("span",{class:x.primary},a("slot",{name:y.primary}))):null};t.prototype.renderCloseButton=function(){var t=this;return!this.disableCloseButton?a("button",{"aria-label":this.intlClose,class:x.close,key:"button",onClick:this.close,ref:function(e){return t.closeButtonEl=e},title:this.intlClose},a("calcite-icon",{icon:w.close,scale:this.scale==="s"?"s":this.scale==="m"?"m":this.scale==="l"?"l":null})):null};t.prototype.renderStyle=function(){var t=!isNaN(parseInt("".concat(this.width)));return t?a("style",null,"\n .".concat(x.modal," {\n max-width: ").concat(this.width,"px !important;\n }\n @media screen and (max-width: ").concat(this.width,"px) {\n .").concat(x.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};t.prototype.handleEscape=function(t){if(this.open&&!this.disableEscape&&t.key==="Escape"&&!t.defaultPrevented){this.close();t.preventDefault()}};t.prototype.focusElement=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(t){t.focus()}return[2,this.setFocus()]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=this.closeButtonEl;return[2,r(t==="close-button"?e:C(this.el)[0]||e)]}))}))};t.prototype.scrollContent=function(t,e){if(t===void 0){t=0}if(e===void 0){e=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:t,left:e,behavior:"smooth"})}else{this.modalContent.scrollTop=t;this.modalContent.scrollLeft=e}}return[2]}))}))};t.prototype.onBeforeOpen=function(){this.transitionEl.classList.add(x.openingActive);this.calciteModalBeforeOpen.emit()};t.prototype.onOpen=function(){this.transitionEl.classList.remove(x.openingIdle,x.openingActive);this.calciteModalOpen.emit()};t.prototype.onBeforeClose=function(){this.transitionEl.classList.add(x.closingActive);this.calciteModalBeforeClose.emit()};t.prototype.onClose=function(){this.transitionEl.classList.remove(x.closingIdle,x.closingActive);this.calciteModalClose.emit()};t.prototype.activeHandler=function(t){this.open=t};t.prototype.toggleModal=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i;return __generator(this,(function(a){this.active=t;if(t){(e=this.transitionEl)===null||e===void 0?void 0:e.classList.add(x.openingIdle);this.openModal()}else{(i=this.transitionEl)===null||i===void 0?void 0:i.classList.add(x.closingIdle);this.close()}return[2]}))}))};t.prototype.openModal=function(){this.previousActiveElement=document.activeElement;this.el.addEventListener("calciteModalOpen",this.openEnd);this.open=true;var t=l(this.el,y.header);var e=l(this.el,y.content);this.titleId=s(t);this.contentId=s(e);document.documentElement.classList.add(x.overflowHidden)};t.prototype.removeOverflowHiddenClass=function(){document.documentElement.classList.remove(x.overflowHidden)};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],open:["toggleModal"]}},enumerable:false,configurable:true});return t}());_.style=z}}}));
5
+ * v1.0.0-next.571
6
+ */System.register(["./p-5676272d.system.js","./p-2ce5c529.system.js","./p-4407d4e4.system.js","./p-7d44b9ba.system.js","./p-8ad9220f.system.js","./p-bdfa3789.system.js","./p-9f99c3f3.system.js"],(function(t){"use strict";var e,i,a,n,o,r,l,s,c,d,m,u,f,p;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.H;o=t.g},function(t){r=t.f;l=t.g;s=t.e;c=t.i},function(t){d=t.c},function(t){m=t.c;u=t.d},function(t){f=t.c;p=t.d},function(){},function(){}],execute:function(){function b(t,e,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(t){var o=t.assignedNodes().filter((function(t){return t.nodeType===1}));if(o.length>0){return b(o[0].parentElement,e,i,a,n+1)}return[]};var l=Array.from(t.children||[]);for(var s=0,c=l;s<c.length;s++){var d=c[s];if(e(d)){continue}if(i(d)){o.push(d)}if(d.shadowRoot!=null){o.push.apply(o,b(d.shadowRoot,e,i,a,n+1))}else if(d.tagName==="SLOT"){o.push.apply(o,r(d))}else{o.push.apply(o,b(d,e,i,a,n+1))}}return o}function h(t){return t.hasAttribute("hidden")||t.hasAttribute("aria-hidden")&&t.getAttribute("aria-hidden")!=="false"||t.style.display==="none"||t.style.opacity==="0"||t.style.visibility==="hidden"||t.style.visibility==="collapse"}function v(t){return t.hasAttribute("disabled")||t.hasAttribute("aria-disabled")&&t.getAttribute("aria-disabled")!=="false"}function g(t){if(t.getAttribute("tabindex")==="-1"||h(t)||v(t)){return false}return t.hasAttribute("tabindex")||(t instanceof HTMLAnchorElement||t instanceof HTMLAreaElement)&&t.hasAttribute("href")||(t instanceof HTMLButtonElement||t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement)||t instanceof HTMLIFrameElement}var x={modal:"modal",title:"title",header:"header",footer:"footer",scrim:"scrim",back:"back",close:"close",secondary:"secondary",primary:"primary",overflowHidden:"overflow-hidden",openingIdle:"modal--opening-idle",openingActive:"modal--opening-active",closingIdle:"modal--closing-idle",closingActive:"modal--closing-active"};var w={close:"x"};var y={content:"content",header:"header",back:"back",secondary:"secondary",primary:"primary"};var k={close:"Close"};var z="@-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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:fixed;inset:0px;z-index:700;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 var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}: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);--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal: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);--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal: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);--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal: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;z-index:800;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);-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), 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 var(--calcite-internal-animation-timing-slow), 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 var(--calcite-internal-animation-timing-slow), 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 var(--calcite-internal-animation-timing-slow), 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);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}.modal--opening-active{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-idle{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-active{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}:host([open]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([open]) .modal{pointer-events:auto;visibility:visible;opacity:1;-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{z-index:400;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}.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-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));-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, var(--calcite-model-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}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, var(--calcite-modal-title-text-internal))}.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)}.content--spaced{padding:var(--calcite-modal-padding)}.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, var(--calcite-modal-context-text-internal))}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{z-index:400;-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, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}.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%;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([open][fullscreen]) .header{border-radius:0}: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 E=function(t){return c(t)||g(t)};var C=function(t){return b(t,h,E)};var _=t("calcite_modal",function(){function t(t){var a=this;e(this,t);this.calciteModalBeforeClose=i(this,"calciteModalBeforeClose",6);this.calciteModalClose=i(this,"calciteModalClose",6);this.calciteModalBeforeOpen=i(this,"calciteModalBeforeOpen",6);this.calciteModalOpen=i(this,"calciteModalOpen",6);this.active=false;this.open=false;this.beforeClose=function(){return Promise.resolve()};this.disableCloseButton=false;this.disableOutsideClose=false;this.intlClose=k.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.openTransitionProp="opacity";this.setTransitionEl=function(t){a.transitionEl=t;f(a)};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.open=false;r(a.previousActiveElement);a.removeOverflowHiddenClass()}))};this.focusFirstElement=function(){r(a.disableCloseButton?C(a.el)[0]:a.closeButtonEl)};this.focusLastElement=function(){var t=C(a.el).filter((function(t){return!t.getAttribute("data-focus-fence")}));if(t.length>0){r(t[t.length-1])}else{r(a.closeButtonEl)}};this.updateFooterVisibility=function(){a.hasFooter=!!l(a.el,[y.back,y.primary,y.secondary])}}t.prototype.componentWillLoad=function(){if(this.open){this.openModal()}};t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.updateFooterVisibility();m(this);f(this);if(this.open){this.active=this.open}if(this.active){this.activeHandler(this.active)}};t.prototype.disconnectedCallback=function(){var t;this.removeOverflowHiddenClass();(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();u(this);p(this)};t.prototype.render=function(){var t=this;return a(n,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},a("calcite-scrim",{class:x.scrim,onClick:this.handleOutsideClose}),this.renderStyle(),a("div",{class:x.modal,ref:this.setTransitionEl},a("div",{"data-focus-fence":true,onFocus:this.focusLastElement,tabindex:"0"}),a("div",{class:x.header},this.renderCloseButton(),a("header",{class:x.title},a("slot",{name:x.header}))),a("div",{class:{content:true,"content--spaced":!this.noPadding,"content--no-footer":!this.hasFooter},ref:function(e){return t.modalContent=e}},a("slot",{name:y.content})),this.renderFooter(),a("div",{"data-focus-fence":true,onFocus:this.focusFirstElement,tabindex:"0"})))};t.prototype.renderFooter=function(){return this.hasFooter?a("div",{class:x.footer,key:"footer"},a("span",{class:x.back},a("slot",{name:y.back})),a("span",{class:x.secondary},a("slot",{name:y.secondary})),a("span",{class:x.primary},a("slot",{name:y.primary}))):null};t.prototype.renderCloseButton=function(){var t=this;return!this.disableCloseButton?a("button",{"aria-label":this.intlClose,class:x.close,key:"button",onClick:this.close,ref:function(e){return t.closeButtonEl=e},title:this.intlClose},a("calcite-icon",{icon:w.close,scale:this.scale==="s"?"s":this.scale==="m"?"m":this.scale==="l"?"l":null})):null};t.prototype.renderStyle=function(){var t=!isNaN(parseInt("".concat(this.width)));return t?a("style",null,"\n .".concat(x.modal," {\n max-width: ").concat(this.width,"px !important;\n }\n @media screen and (max-width: ").concat(this.width,"px) {\n .").concat(x.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};t.prototype.handleEscape=function(t){if(this.open&&!this.disableEscape&&t.key==="Escape"&&!t.defaultPrevented){this.close();t.preventDefault()}};t.prototype.focusElement=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(t){t.focus()}return[2,this.setFocus()]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=this.closeButtonEl;return[2,r(t==="close-button"?e:C(this.el)[0]||e)]}))}))};t.prototype.scrollContent=function(t,e){if(t===void 0){t=0}if(e===void 0){e=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:t,left:e,behavior:"smooth"})}else{this.modalContent.scrollTop=t;this.modalContent.scrollLeft=e}}return[2]}))}))};t.prototype.onBeforeOpen=function(){this.transitionEl.classList.add(x.openingActive);this.calciteModalBeforeOpen.emit()};t.prototype.onOpen=function(){this.transitionEl.classList.remove(x.openingIdle,x.openingActive);this.calciteModalOpen.emit()};t.prototype.onBeforeClose=function(){this.transitionEl.classList.add(x.closingActive);this.calciteModalBeforeClose.emit()};t.prototype.onClose=function(){this.transitionEl.classList.remove(x.closingIdle,x.closingActive);this.calciteModalClose.emit()};t.prototype.activeHandler=function(t){this.open=t};t.prototype.toggleModal=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i;return __generator(this,(function(a){this.active=t;if(t){(e=this.transitionEl)===null||e===void 0?void 0:e.classList.add(x.openingIdle);this.openModal()}else{(i=this.transitionEl)===null||i===void 0?void 0:i.classList.add(x.closingIdle);this.close()}return[2]}))}))};t.prototype.openModal=function(){this.previousActiveElement=document.activeElement;this.el.addEventListener("calciteModalOpen",this.openEnd);this.open=true;var t=l(this.el,y.header);var e=l(this.el,y.content);this.titleId=s(t);this.contentId=s(e);document.documentElement.classList.add(x.overflowHidden)};t.prototype.removeOverflowHiddenClass=function(){document.documentElement.classList.remove(x.overflowHidden)};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],open:["toggleModal"]}},enumerable:false,configurable:true});return t}());_.style=z}}}));
@@ -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.570
4
+ * v1.0.0-next.571
5
5
  */
6
- import{r as t,c as e,h as i,H as a,g as n}from"./p-43693df9.js";import{f as o,n as r,j as c,g as s,a as l,t as m,k as h}from"./p-89810887.js";import{C as d}from"./p-dfb38c54.js";import{c as f,d as p}from"./p-8c92827d.js";import"./p-2c6945ed.js";import"./p-7cfa8a4b.js";var b;!function(t){t.Single="single",t.Multi="multi",t.None="none",t.Children="children",t.MultiChildren="multi-children",t.Ancestors="ancestors"}(b||(b={}));const k=class{constructor(i){t(this,i),this.calciteTreeSelect=e(this,"calciteTreeSelect",6),this.lines=!1,this.inputEnabled=!1,this.scale="m",this.selectionMode=b.Single}componentWillRender(){const t=this.el.parentElement.closest("calcite-tree");this.lines=t?t.lines:this.lines,this.scale=t?t.scale:this.scale,this.selectionMode=t?t.selectionMode:this.selectionMode,this.child=!!t}render(){return i(a,{"aria-multiselectable":this.child?void 0:(this.selectionMode===b.Multi||this.selectionMode===b.MultiChildren).toString(),role:this.child?void 0:"tree",tabIndex:this.getRootTabIndex()},i("slot",null))}onFocus(){if(!this.child){const t=this.el.querySelector("calcite-tree-item[selected]")||this.el.querySelector("calcite-tree-item");o(t)}}onFocusIn(t){(t.relatedTarget===this.el||!this.el.contains(t.relatedTarget))&&this.el.removeAttribute("tabindex")}onFocusOut(t){!this.el.contains(t.relatedTarget)&&(this.el.tabIndex=this.getRootTabIndex())}onClick(t){const e=t.target,i=r(e.querySelectorAll("calcite-tree-item"));if(this.child)return;if(this.child||(t.preventDefault(),t.stopPropagation()),this.selectionMode===b.Ancestors&&!this.child)return void this.updateAncestorTree(t);const a=this.selectionMode===b.None,n=!a&&t.detail.modifyCurrentSelection&&(this.selectionMode===b.Multi||this.selectionMode===b.MultiChildren),o=this.selectionMode===b.MultiChildren||this.selectionMode===b.Children,c=!n&&((this.selectionMode===b.Single||this.selectionMode===b.Multi)&&i.length<=0||this.selectionMode===b.Children||this.selectionMode===b.MultiChildren),s=this.selectionMode===b.Children||this.selectionMode===b.MultiChildren;if(!this.child){const l=[];null!==this.selectionMode&&(!e.hasChildren||e.hasChildren&&(this.selectionMode===b.Children||this.selectionMode===b.MultiChildren))&&l.push(e),o&&i.forEach((t=>{l.push(t)})),c&&r(this.el.querySelectorAll("calcite-tree-item[selected]")).forEach((t=>{l.includes(t)||(t.selected=!1)})),s&&!t.detail.forceToggle&&(e.expanded=!0),n&&window.getSelection().removeAllRanges(),n&&e.selected||o&&t.detail.forceToggle?l.forEach((t=>{t.selected=!1})):a||l.forEach((t=>{t.selected=!0}))}const l=a?[e]:r(this.el.querySelectorAll("calcite-tree-item")).filter((t=>t.selected));this.calciteTreeSelect.emit({selected:l}),t.stopPropagation()}keyDownHandler(t){var e;const i=this.el.closest("calcite-tree:not([child])"),a=t.target;if(i===this.el&&"CALCITE-TREE-ITEM"===a.tagName&&this.el.contains(a))switch(t.key){case"ArrowDown":const i=a.nextElementSibling;i&&i.matches("calcite-tree-item")&&(i.focus(),t.preventDefault());break;case"ArrowLeft":if(a.hasChildren&&a.expanded){a.expanded=!1,t.preventDefault();break}const n=a.parentElement.closest("calcite-tree-item");if(n&&(!a.hasChildren||!1===a.expanded)){n.focus(),t.preventDefault();break}break;case"ArrowRight":if(!a.hasChildren)break;a.expanded&&c(this.el).activeElement===a?(null===(e=a.querySelector("calcite-tree-item"))||void 0===e||e.focus(),t.preventDefault()):(a.expanded=!0,t.preventDefault());break;case"ArrowUp":const o=a.previousElementSibling;o&&o.matches("calcite-tree-item")&&(o.focus(),t.preventDefault())}}updateAncestorTree(t){const e=t.target,i=e.querySelectorAll("calcite-tree-item"),a=[];let n=e.parentElement.closest("calcite-tree-item");for(;n;)a.push(n),n=n.parentElement.closest("calcite-tree-item");e.selected=!e.selected,e.indeterminate=!1,(null==i?void 0:i.length)&&i.forEach((t=>{t.selected=e.selected,t.indeterminate=!1})),a&&a.forEach((t=>{const e=r(t.querySelectorAll("calcite-tree-item")),i=e.filter((t=>t.selected));if(0===i.length)return t.selected=!1,void(t.indeterminate=!1);const a=i.length<e.length;t.indeterminate=a,t.selected=!a})),this.calciteTreeSelect.emit({selected:r(this.el.querySelectorAll("calcite-tree-item")).filter((t=>t.selected))})}getRootTabIndex(){return this.child?-1:0}get el(){return n(this)}};k.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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}:host(:focus){outline:2px solid transparent;outline-offset:2px}";const u=class{constructor(i){t(this,i),this.calciteInternalTreeItemSelect=e(this,"calciteInternalTreeItemSelect",6),this.selected=!1,this.expanded=!1,this.parentExpanded=!1,this.depth=-1,this.hasChildren=null,this.iconClickHandler=t=>{t.stopPropagation(),this.expanded=!this.expanded},this.childrenClickHandler=t=>t.stopPropagation(),this.updateParentIsExpanded=(t,e)=>{s(t,"children",{all:!0,selector:"calcite-tree-item"}).forEach((t=>t.parentExpanded=e))},this.updateAncestorTree=()=>{if(this.selected&&this.selectionMode===b.Ancestors){const t=[];let e=this.parentTreeItem;for(;e;)t.push(e),e=e.parentElement.closest("calcite-tree-item");t.forEach((t=>t.indeterminate=!0))}}}expandedHandler(t){this.updateParentIsExpanded(this.el,t)}getselectionMode(){this.isSelectionMultiLike=this.selectionMode===b.Multi||this.selectionMode===b.MultiChildren}connectedCallback(){if(this.parentTreeItem=this.el.parentElement.closest("calcite-tree-item"),this.parentTreeItem){const{expanded:t}=this.parentTreeItem;this.updateParentIsExpanded(this.parentTreeItem,t)}f(this)}disconnectedCallback(){p(this)}componentWillRender(){this.hasChildren=!!this.el.querySelector("calcite-tree"),this.depth=0;let t,e=this.el.closest("calcite-tree");if(e)for(this.selectionMode=e.selectionMode,this.scale=e.scale||"m",this.lines=e.lines;e&&(t=e.parentElement.closest("calcite-tree"),t!==e);)e=t,this.depth=this.depth+1}componentDidLoad(){this.updateAncestorTree()}render(){const t="rtl"===l(this.el),e=this.selectionMode===b.Single||this.selectionMode===b.Children,n=this.selectionMode===b.Multi||this.selectionMode===b.MultiChildren,o=this.hasChildren?i("calcite-icon",{class:{chevron:!0,[d.rtl]:t},"data-test-id":"icon",icon:"chevron-right",onClick:this.iconClickHandler,scale:"s"}):null,r=i("slot",{key:"default-slot"}),c=this.selectionMode===b.Ancestors?i("label",{class:"checkbox-label",key:"checkbox-label"},i("calcite-checkbox",{checked:this.selected,class:"checkbox","data-test-id":"checkbox",indeterminate:this.hasChildren&&this.indeterminate,scale:this.scale,tabIndex:-1}),r):null,s=e?"bullet-point":n?"check":null,h=s?i("calcite-icon",{class:{"bullet-point":"bullet-point"===s,checkmark:"check"===s,[d.rtl]:t},icon:s,scale:"s"}):null,f=!(this.parentExpanded||1===this.depth);return i(a,{"aria-expanded":this.hasChildren?m(this.expanded):void 0,"aria-hidden":m(f),"aria-selected":this.selected?"true":n?"false":void 0,"calcite-hydrated-hidden":f,role:"treeitem",tabindex:this.parentExpanded||1===this.depth?"0":"-1"},i("div",{class:{"node-container":!0,[d.rtl]:t},"data-selection-mode":this.selectionMode,ref:t=>this.defaultSlotWrapper=t},o,h,c||r),i("div",{class:{"children-container":!0,[d.rtl]:t},"data-test-id":"calcite-tree-children",onClick:this.childrenClickHandler,ref:t=>this.childrenSlotWrapper=t,role:this.hasChildren?"group":void 0},i("slot",{name:"children"})))}onClick(t){const[e]=h(this.el,"a");e&&"a"!==t.composedPath()[0].tagName.toLowerCase()&&window.open(e.href,""===e.target?"_self":e.target),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.selectionMode===b.Ancestors||this.isSelectionMultiLike,forceToggle:!1})}keyDownHandler(t){let e;switch(t.key){case" ":this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,forceToggle:!1}),t.preventDefault();break;case"Enter":const i=r(this.el.children).find((t=>t.matches("a")));i?(i.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,forceToggle:!1}),t.preventDefault();break;case"Home":e=this.el.closest("calcite-tree:not([child])");const a=e.querySelector("calcite-tree-item");null==a||a.focus();break;case"End":e=this.el.closest("calcite-tree:not([child])");let n=e.children[e.children.length-1],o=r(n.children).find((t=>t.matches("calcite-tree")));for(;o;)n=o.children[e.children.length-1],o=r(n.children).find((t=>t.matches("calcite-tree")));null==n||n.focus()}}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],selectionMode:["getselectionMode"]}}};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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}:host([selection-mode=none]:not([has-children])) .node-container{margin-inline:0.75rem}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .node-container{--calcite-tree-padding-y:0.25rem}:host([scale=s]) .node-container .checkbox,:host([scale=s]) .node-container .chevron,:host([scale=s]) .node-container .checkmark,:host([scale=s]) .node-container .bullet-point{margin-inline:0.25rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .node-container{--calcite-tree-padding-y:0.5rem}:host([scale=m]) .node-container .checkbox,:host([scale=m]) .node-container .chevron,:host([scale=m]) .node-container .checkmark,:host([scale=m]) .node-container .bullet-point{margin-inline:0.5rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .node-container{--calcite-tree-padding-y:0.75rem}:host([scale=l]) .node-container .checkbox,:host([scale=l]) .node-container .chevron,:host([scale=l]) .node-container .checkmark,:host([scale=l]) .node-container .bullet-point{margin-inline:0.75rem}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:1;inline-size:1px;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-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;block-size:96%;content:"";background-color:var(--calcite-ui-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}::slotted(*):hover{text-decoration:none !important}::slotted(a){inline-size:100%;-webkit-text-decoration-line:none;text-decoration-line:none}:host{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.checkbox{line-height:0}.checkbox-label{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox:focus{outline:2px solid transparent;outline-offset:2px}.children-container{position:relative;block-size:0px;overflow:hidden;-webkit-margin-start:1.25rem;margin-inline-start:1.25rem;-webkit-transform:scaleY(0);transform:scaleY(0);opacity:0;-webkit-transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;-webkit-transform-origin:top;transform-origin:top}:host([expanded])>.children-container{-webkit-transform:scaleY(1);transform:scaleY(1);opacity:1;block-size:auto}.node-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding-block:var(--calcite-tree-padding-y);padding-inline:0}.node-container .checkmark,.node-container .bullet-point{opacity:0;-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;color:var(--calcite-ui-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus) .node-container .checkmark,:host(:focus) .node-container .bullet-point{opacity:1}:host([selected])>.node-container,:host([selected])>.node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected])>.node-container .bullet-point,:host([selected])>.node-container .checkmark,:host([selected])>.node-container:hover .bullet-point,:host([selected])>.node-container:hover .checkmark{opacity:1;color:var(--calcite-ui-brand)}:host(:not([has-children])):host([scale=s])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.25rem;padding-inline-start:1.25rem}:host(:not([has-children])):host([scale=m])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=l])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem}:host([has-children])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-margin-start:0;margin-inline-start:0}:host([has-children])>.node-container .bullet-point,:host([has-children])>.node-container .checkmark{display:none}:host([has-children][expanded]:not([selected]):not([selection-mode=none]))>.node-container ::slotted(*){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([has-children][selected])>.node-container[data-selection-mode=children],:host([has-children][selected])>.node-container[data-selection-mode=multi-children]{color:var(--calcite-ui-brand)}.chevron{position:relative;-ms-flex-item-align:center;align-self:center;color:var(--calcite-ui-text-3);-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;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transform:rotate(0deg);transform:rotate(0deg)}.calcite--rtl .chevron{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host([expanded])>.node-container>.chevron{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-ui-brand)}';export{k as calcite_tree,u as calcite_tree_item}
6
+ import{r as t,c as e,h as i,H as a,g as n}from"./p-c8ceec2d.js";import{f as o,n as r,j as c,g as s,a as l,t as m,k as h}from"./p-634b4667.js";import{C as d}from"./p-735f4fb7.js";import{c as f,d as p}from"./p-fe656a4f.js";import"./p-b596c9e6.js";import"./p-46db8711.js";var b;!function(t){t.Single="single",t.Multi="multi",t.None="none",t.Children="children",t.MultiChildren="multi-children",t.Ancestors="ancestors"}(b||(b={}));const k=class{constructor(i){t(this,i),this.calciteTreeSelect=e(this,"calciteTreeSelect",6),this.lines=!1,this.inputEnabled=!1,this.scale="m",this.selectionMode=b.Single}componentWillRender(){const t=this.el.parentElement.closest("calcite-tree");this.lines=t?t.lines:this.lines,this.scale=t?t.scale:this.scale,this.selectionMode=t?t.selectionMode:this.selectionMode,this.child=!!t}render(){return i(a,{"aria-multiselectable":this.child?void 0:(this.selectionMode===b.Multi||this.selectionMode===b.MultiChildren).toString(),role:this.child?void 0:"tree",tabIndex:this.getRootTabIndex()},i("slot",null))}onFocus(){if(!this.child){const t=this.el.querySelector("calcite-tree-item[selected]")||this.el.querySelector("calcite-tree-item");o(t)}}onFocusIn(t){(t.relatedTarget===this.el||!this.el.contains(t.relatedTarget))&&this.el.removeAttribute("tabindex")}onFocusOut(t){!this.el.contains(t.relatedTarget)&&(this.el.tabIndex=this.getRootTabIndex())}onClick(t){const e=t.target,i=r(e.querySelectorAll("calcite-tree-item"));if(this.child)return;if(this.child||(t.preventDefault(),t.stopPropagation()),this.selectionMode===b.Ancestors&&!this.child)return void this.updateAncestorTree(t);const a=this.selectionMode===b.None,n=!a&&t.detail.modifyCurrentSelection&&(this.selectionMode===b.Multi||this.selectionMode===b.MultiChildren),o=this.selectionMode===b.MultiChildren||this.selectionMode===b.Children,c=!n&&((this.selectionMode===b.Single||this.selectionMode===b.Multi)&&i.length<=0||this.selectionMode===b.Children||this.selectionMode===b.MultiChildren),s=this.selectionMode===b.Children||this.selectionMode===b.MultiChildren;if(!this.child){const l=[];null!==this.selectionMode&&(!e.hasChildren||e.hasChildren&&(this.selectionMode===b.Children||this.selectionMode===b.MultiChildren))&&l.push(e),o&&i.forEach((t=>{l.push(t)})),c&&r(this.el.querySelectorAll("calcite-tree-item[selected]")).forEach((t=>{l.includes(t)||(t.selected=!1)})),s&&!t.detail.forceToggle&&(e.expanded=!0),n&&window.getSelection().removeAllRanges(),n&&e.selected||o&&t.detail.forceToggle?l.forEach((t=>{t.selected=!1})):a||l.forEach((t=>{t.selected=!0}))}const l=a?[e]:r(this.el.querySelectorAll("calcite-tree-item")).filter((t=>t.selected));this.calciteTreeSelect.emit({selected:l}),t.stopPropagation()}keyDownHandler(t){var e;const i=this.el.closest("calcite-tree:not([child])"),a=t.target;if(i===this.el&&"CALCITE-TREE-ITEM"===a.tagName&&this.el.contains(a))switch(t.key){case"ArrowDown":const i=a.nextElementSibling;i&&i.matches("calcite-tree-item")&&(i.focus(),t.preventDefault());break;case"ArrowLeft":if(a.hasChildren&&a.expanded){a.expanded=!1,t.preventDefault();break}const n=a.parentElement.closest("calcite-tree-item");if(n&&(!a.hasChildren||!1===a.expanded)){n.focus(),t.preventDefault();break}break;case"ArrowRight":if(!a.hasChildren)break;a.expanded&&c(this.el).activeElement===a?(null===(e=a.querySelector("calcite-tree-item"))||void 0===e||e.focus(),t.preventDefault()):(a.expanded=!0,t.preventDefault());break;case"ArrowUp":const o=a.previousElementSibling;o&&o.matches("calcite-tree-item")&&(o.focus(),t.preventDefault())}}updateAncestorTree(t){const e=t.target,i=e.querySelectorAll("calcite-tree-item"),a=[];let n=e.parentElement.closest("calcite-tree-item");for(;n;)a.push(n),n=n.parentElement.closest("calcite-tree-item");e.selected=!e.selected,e.indeterminate=!1,(null==i?void 0:i.length)&&i.forEach((t=>{t.selected=e.selected,t.indeterminate=!1})),a&&a.forEach((t=>{const e=r(t.querySelectorAll("calcite-tree-item")),i=e.filter((t=>t.selected));if(0===i.length)return t.selected=!1,void(t.indeterminate=!1);const a=i.length<e.length;t.indeterminate=a,t.selected=!a})),this.calciteTreeSelect.emit({selected:r(this.el.querySelectorAll("calcite-tree-item")).filter((t=>t.selected))})}getRootTabIndex(){return this.child?-1:0}get el(){return n(this)}};k.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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}:host(:focus){outline:2px solid transparent;outline-offset:2px}";const u=class{constructor(i){t(this,i),this.calciteInternalTreeItemSelect=e(this,"calciteInternalTreeItemSelect",6),this.selected=!1,this.expanded=!1,this.parentExpanded=!1,this.depth=-1,this.hasChildren=null,this.iconClickHandler=t=>{t.stopPropagation(),this.expanded=!this.expanded},this.childrenClickHandler=t=>t.stopPropagation(),this.updateParentIsExpanded=(t,e)=>{s(t,"children",{all:!0,selector:"calcite-tree-item"}).forEach((t=>t.parentExpanded=e))},this.updateAncestorTree=()=>{if(this.selected&&this.selectionMode===b.Ancestors){const t=[];let e=this.parentTreeItem;for(;e;)t.push(e),e=e.parentElement.closest("calcite-tree-item");t.forEach((t=>t.indeterminate=!0))}}}expandedHandler(t){this.updateParentIsExpanded(this.el,t)}getselectionMode(){this.isSelectionMultiLike=this.selectionMode===b.Multi||this.selectionMode===b.MultiChildren}connectedCallback(){if(this.parentTreeItem=this.el.parentElement.closest("calcite-tree-item"),this.parentTreeItem){const{expanded:t}=this.parentTreeItem;this.updateParentIsExpanded(this.parentTreeItem,t)}f(this)}disconnectedCallback(){p(this)}componentWillRender(){this.hasChildren=!!this.el.querySelector("calcite-tree"),this.depth=0;let t,e=this.el.closest("calcite-tree");if(e)for(this.selectionMode=e.selectionMode,this.scale=e.scale||"m",this.lines=e.lines;e&&(t=e.parentElement.closest("calcite-tree"),t!==e);)e=t,this.depth=this.depth+1}componentDidLoad(){this.updateAncestorTree()}render(){const t="rtl"===l(this.el),e=this.selectionMode===b.Single||this.selectionMode===b.Children,n=this.selectionMode===b.Multi||this.selectionMode===b.MultiChildren,o=this.hasChildren?i("calcite-icon",{class:{chevron:!0,[d.rtl]:t},"data-test-id":"icon",icon:"chevron-right",onClick:this.iconClickHandler,scale:"s"}):null,r=i("slot",{key:"default-slot"}),c=this.selectionMode===b.Ancestors?i("label",{class:"checkbox-label",key:"checkbox-label"},i("calcite-checkbox",{checked:this.selected,class:"checkbox","data-test-id":"checkbox",indeterminate:this.hasChildren&&this.indeterminate,scale:this.scale,tabIndex:-1}),r):null,s=e?"bullet-point":n?"check":null,h=s?i("calcite-icon",{class:{"bullet-point":"bullet-point"===s,checkmark:"check"===s,[d.rtl]:t},icon:s,scale:"s"}):null,f=!(this.parentExpanded||1===this.depth);return i(a,{"aria-expanded":this.hasChildren?m(this.expanded):void 0,"aria-hidden":m(f),"aria-selected":this.selected?"true":n?"false":void 0,"calcite-hydrated-hidden":f,role:"treeitem",tabindex:this.parentExpanded||1===this.depth?"0":"-1"},i("div",{class:{"node-container":!0,[d.rtl]:t},"data-selection-mode":this.selectionMode,ref:t=>this.defaultSlotWrapper=t},o,h,c||r),i("div",{class:{"children-container":!0,[d.rtl]:t},"data-test-id":"calcite-tree-children",onClick:this.childrenClickHandler,ref:t=>this.childrenSlotWrapper=t,role:this.hasChildren?"group":void 0},i("slot",{name:"children"})))}onClick(t){const[e]=h(this.el,"a");e&&"a"!==t.composedPath()[0].tagName.toLowerCase()&&window.open(e.href,""===e.target?"_self":e.target),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.selectionMode===b.Ancestors||this.isSelectionMultiLike,forceToggle:!1})}keyDownHandler(t){let e;switch(t.key){case" ":this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,forceToggle:!1}),t.preventDefault();break;case"Enter":const i=r(this.el.children).find((t=>t.matches("a")));i?(i.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,forceToggle:!1}),t.preventDefault();break;case"Home":e=this.el.closest("calcite-tree:not([child])");const a=e.querySelector("calcite-tree-item");null==a||a.focus();break;case"End":e=this.el.closest("calcite-tree:not([child])");let n=e.children[e.children.length-1],o=r(n.children).find((t=>t.matches("calcite-tree")));for(;o;)n=o.children[e.children.length-1],o=r(n.children).find((t=>t.matches("calcite-tree")));null==n||n.focus()}}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],selectionMode:["getselectionMode"]}}};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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}:host([selection-mode=none]:not([has-children])) .node-container{margin-inline:0.75rem}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .node-container{--calcite-tree-padding-y:0.25rem}:host([scale=s]) .node-container .checkbox,:host([scale=s]) .node-container .chevron,:host([scale=s]) .node-container .checkmark,:host([scale=s]) .node-container .bullet-point{margin-inline:0.25rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .node-container{--calcite-tree-padding-y:0.5rem}:host([scale=m]) .node-container .checkbox,:host([scale=m]) .node-container .chevron,:host([scale=m]) .node-container .checkmark,:host([scale=m]) .node-container .bullet-point{margin-inline:0.5rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .node-container{--calcite-tree-padding-y:0.75rem}:host([scale=l]) .node-container .checkbox,:host([scale=l]) .node-container .chevron,:host([scale=l]) .node-container .checkmark,:host([scale=l]) .node-container .bullet-point{margin-inline:0.75rem}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:1;inline-size:1px;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-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;block-size:96%;content:"";background-color:var(--calcite-ui-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}::slotted(*):hover{text-decoration:none !important}::slotted(a){inline-size:100%;-webkit-text-decoration-line:none;text-decoration-line:none}:host{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.checkbox{line-height:0}.checkbox-label{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox:focus{outline:2px solid transparent;outline-offset:2px}.children-container{position:relative;block-size:0px;overflow:hidden;-webkit-margin-start:1.25rem;margin-inline-start:1.25rem;-webkit-transform:scaleY(0);transform:scaleY(0);opacity:0;-webkit-transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;-webkit-transform-origin:top;transform-origin:top}:host([expanded])>.children-container{-webkit-transform:scaleY(1);transform:scaleY(1);opacity:1;block-size:auto}.node-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding-block:var(--calcite-tree-padding-y);padding-inline:0}.node-container .checkmark,.node-container .bullet-point{opacity:0;-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;color:var(--calcite-ui-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus) .node-container .checkmark,:host(:focus) .node-container .bullet-point{opacity:1}:host([selected])>.node-container,:host([selected])>.node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected])>.node-container .bullet-point,:host([selected])>.node-container .checkmark,:host([selected])>.node-container:hover .bullet-point,:host([selected])>.node-container:hover .checkmark{opacity:1;color:var(--calcite-ui-brand)}:host(:not([has-children])):host([scale=s])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.25rem;padding-inline-start:1.25rem}:host(:not([has-children])):host([scale=m])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=l])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem}:host([has-children])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-margin-start:0;margin-inline-start:0}:host([has-children])>.node-container .bullet-point,:host([has-children])>.node-container .checkmark{display:none}:host([has-children][expanded]:not([selected]):not([selection-mode=none]))>.node-container ::slotted(*){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([has-children][selected])>.node-container[data-selection-mode=children],:host([has-children][selected])>.node-container[data-selection-mode=multi-children]{color:var(--calcite-ui-brand)}.chevron{position:relative;-ms-flex-item-align:center;align-self:center;color:var(--calcite-ui-text-3);-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;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transform:rotate(0deg);transform:rotate(0deg)}.calcite--rtl .chevron{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host([expanded])>.node-container>.chevron{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-ui-brand)}';export{k as calcite_tree,u as calcite_tree_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.570
4
+ * v1.0.0-next.571
5
5
  */
6
- System.register(["./p-7b7a789a.system.js"],(function(t){"use strict";var a,i,n;return{setters:[function(t){a=t.r;i=t.h;n=t.g}],execute:function(){var e={scrim:"scrim",content:"content"};var r={loading:"Loading"};var c="@-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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;inset:0px;z-index:700;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}@-webkit-keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;-webkit-animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background)}.content{padding:1rem}";var o=t("calcite_scrim",function(){function t(t){a(this,t);this.intlLoading=r.loading;this.loading=false}t.prototype.render=function(){var t=this,a=t.el,n=t.loading,r=t.intlLoading;var c=a.innerHTML.trim().length>0;var o=n?i("calcite-loader",{active:true,label:r}):null;var l=c?i("div",{class:e.content},i("slot",null)):null;return i("div",{class:e.scrim},o,l)};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());o.style=c}}}));
6
+ System.register(["./p-5676272d.system.js"],(function(t){"use strict";var a,i,n;return{setters:[function(t){a=t.r;i=t.h;n=t.g}],execute:function(){var e={scrim:"scrim",content:"content"};var r={loading:"Loading"};var c="@-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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;inset:0px;z-index:700;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}@-webkit-keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;-webkit-animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background)}.content{padding:1rem}";var o=t("calcite_scrim",function(){function t(t){a(this,t);this.intlLoading=r.loading;this.loading=false}t.prototype.render=function(){var t=this,a=t.el,n=t.loading,r=t.intlLoading;var c=a.innerHTML.trim().length>0;var o=n?i("calcite-loader",{active:true,label:r}):null;var l=c?i("div",{class:e.content},i("slot",null)):null;return i("div",{class:e.scrim},o,l)};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());o.style=c}}}));
@@ -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.571
5
+ */
6
+ import{c as n}from"./p-634b4667.js";import{h as t}from"./p-c8ceec2d.js";function e(n){return"checked"in n}const o=new WeakMap,i=new WeakSet;function r(n){const{formEl:t}=n;return!!t&&("requestSubmit"in t?t.requestSubmit():t.submit(),!0)}function c(n){var t;null===(t=n.formEl)||void 0===t||t.reset()}function s(t){const{el:r,value:c}=t,s=n(r,"form");if(!s||function(n,t){const e="calciteInternalFormComponentRegister";let o=!1;return n.addEventListener(e,(n=>{o=n.composedPath().some((n=>i.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0})),o}(s,r))return;t.formEl=s,t.defaultValue=c,e(t)&&(t.defaultChecked=t.checked);const l=(t.onFormReset||u).bind(t);s.addEventListener("reset",l),o.set(t.el,l),i.add(r)}function u(){e(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function l(n){const{el:t,formEl:e}=n;if(!e)return;const r=o.get(t);e.removeEventListener("reset",r),o.delete(t),n.formEl=null,i.delete(t)}function a(n,t){n.defaultValue=t}const f=n=>{n.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange",{bubbles:!0}))},m=n=>n.removeEventListener("change",f);function d(n,t,o){var i;const{defaultValue:r,disabled:c,name:s,required:u}=n;t.defaultValue=r,t.disabled=c,t.name=s,t.required=u,t.tabIndex=-1,e(n)?(t.defaultChecked=n.defaultChecked,t.value=n.checked?o||"on":"",c||n.checked||(t.disabled=!0)):t.value=o||"",null===(i=n.syncHiddenFormInput)||void 0===i||i.call(n,t)}const p=({component:n})=>(function(n){const{el:t,formEl:e,name:o,value:i}=n,{ownerDocument:r}=t,c=t.querySelectorAll('input[slot="hidden-form-input"]');if(!e||!o)return void c.forEach((n=>{m(n),n.remove()}));const s=Array.isArray(i)?i:[i],u=[],l=new Set;let a;c.forEach((t=>{const e=s.find((n=>n==t.value));null!=e?(l.add(e),d(n,t,e)):u.push(t)})),s.forEach((t=>{if(l.has(t))return;let e=u.pop();e||(e=r.createElement("input"),e.slot="hidden-form-input"),a||(a=r.createDocumentFragment()),a.append(e),e.addEventListener("change",f),d(n,e,t)})),a&&t.append(a),u.forEach((n=>{m(n),n.remove()}))}(n),t("slot",{name:"hidden-form-input"}));export{p as H,a,s as c,l as d,c as r,r as s}