@esri/calcite-components 1.0.0-next.505 → 1.0.0-next.506

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 (847) hide show
  1. package/dist/calcite/assets/icon/changeDetection16.json +1 -0
  2. package/dist/calcite/assets/icon/changeDetection24.json +1 -0
  3. package/dist/calcite/assets/icon/changeDetection32.json +1 -0
  4. package/dist/calcite/assets/icon/imageDisplayOrder16.json +1 -0
  5. package/dist/calcite/assets/icon/imageDisplayOrder24.json +1 -0
  6. package/dist/calcite/assets/icon/imageDisplayOrder32.json +1 -0
  7. package/dist/calcite/assets/icon/numberCircle416.json +1 -0
  8. package/dist/calcite/assets/icon/numberCircle424.json +1 -0
  9. package/dist/calcite/assets/icon/numberCircle432.json +1 -0
  10. package/dist/calcite/assets/icon/numberCircle516.json +1 -0
  11. package/dist/calcite/assets/icon/numberCircle524.json +1 -0
  12. package/dist/calcite/assets/icon/numberCircle532.json +1 -0
  13. package/dist/calcite/assets/icon/numberCircle616.json +1 -0
  14. package/dist/calcite/assets/icon/numberCircle624.json +1 -0
  15. package/dist/calcite/assets/icon/numberCircle632.json +1 -0
  16. package/dist/calcite/assets/icon/numberCircle716.json +1 -0
  17. package/dist/calcite/assets/icon/numberCircle724.json +1 -0
  18. package/dist/calcite/assets/icon/numberCircle732.json +1 -0
  19. package/dist/calcite/assets/icon/numberCircle816.json +1 -0
  20. package/dist/calcite/assets/icon/numberCircle824.json +1 -0
  21. package/dist/calcite/assets/icon/numberCircle832.json +1 -0
  22. package/dist/calcite/assets/icon/numberCircle916.json +1 -0
  23. package/dist/calcite/assets/icon/numberCircle924.json +1 -0
  24. package/dist/calcite/assets/icon/numberCircle932.json +1 -0
  25. package/dist/calcite/assets/icon/showMultipleLayersAtATime16.json +1 -0
  26. package/dist/calcite/assets/icon/showMultipleLayersAtATime24.json +1 -0
  27. package/dist/calcite/assets/icon/showMultipleLayersAtATime32.json +1 -0
  28. package/dist/calcite/assets/icon/showOneLayerAtATime16.json +1 -0
  29. package/dist/calcite/assets/icon/showOneLayerAtATime24.json +1 -0
  30. package/dist/calcite/assets/icon/showOneLayerAtATime32.json +1 -0
  31. package/dist/calcite/calcite.esm.js +2 -2
  32. package/dist/calcite/calcite.js +1 -1
  33. package/dist/calcite/index.esm.js +1 -1
  34. package/dist/calcite/{p-5b06310d.system.js → p-03191a1e.system.js} +1 -1
  35. package/dist/calcite/{p-ed2b76b4.js → p-03f7470a.js} +2 -2
  36. package/dist/calcite/{p-c2910ffb.system.entry.js → p-0445da22.system.entry.js} +2 -2
  37. package/dist/calcite/{p-43891cdd.entry.js → p-04f6d9f8.entry.js} +2 -2
  38. package/dist/calcite/{p-68b7f2b4.system.js → p-05202539.system.js} +2 -2
  39. package/dist/calcite/{p-377b13e3.entry.js → p-07427bd6.entry.js} +2 -2
  40. package/dist/calcite/{p-0be0ced1.system.entry.js → p-07798430.system.entry.js} +2 -2
  41. package/dist/calcite/{p-dd36724c.js → p-0e8c79a7.js} +2 -2
  42. package/dist/calcite/{p-e3acd1a1.system.entry.js → p-0f22dac1.system.entry.js} +2 -2
  43. package/dist/calcite/{p-6b1f3b70.system.js → p-0f6778d4.system.js} +1 -1
  44. package/dist/calcite/p-0f786491.entry.js +6 -0
  45. package/dist/calcite/{p-0da0622d.entry.js → p-0fc42d68.entry.js} +2 -2
  46. package/dist/calcite/{p-82321ccb.system.entry.js → p-10ab8184.system.entry.js} +2 -2
  47. package/dist/calcite/{p-7e21eef8.entry.js → p-117fc184.entry.js} +2 -2
  48. package/dist/calcite/{p-bd46f620.entry.js → p-11a44ca1.entry.js} +2 -2
  49. package/dist/calcite/{p-914e6496.system.entry.js → p-123e5d49.system.entry.js} +2 -2
  50. package/dist/calcite/{p-0d999a17.entry.js → p-12a70b5b.entry.js} +2 -2
  51. package/dist/calcite/{p-8a554b1f.system.js → p-1346437a.system.js} +2 -2
  52. package/dist/calcite/{p-f5014c15.js → p-189ac7c5.js} +1 -1
  53. package/dist/calcite/{p-ea7c14b3.system.entry.js → p-1981915c.system.entry.js} +2 -2
  54. package/dist/calcite/{p-e92321d4.entry.js → p-19a07519.entry.js} +2 -2
  55. package/dist/calcite/{p-cec682c3.entry.js → p-1c034f7c.entry.js} +2 -2
  56. package/dist/calcite/{p-7a4d3bb7.entry.js → p-1cc0cadc.entry.js} +2 -2
  57. package/dist/calcite/{p-ca32fe36.js → p-1f54d247.js} +1 -1
  58. package/dist/calcite/{p-65248f45.system.js → p-205dc9a9.system.js} +1 -1
  59. package/dist/calcite/{p-205fe9cf.system.entry.js → p-20e90e03.system.entry.js} +2 -2
  60. package/dist/calcite/{p-835364e8.system.entry.js → p-21b19cb1.system.entry.js} +2 -2
  61. package/dist/calcite/{p-b6d2ac82.entry.js → p-220bd7b6.entry.js} +2 -2
  62. package/dist/calcite/{p-247c22d5.js → p-24628eb9.js} +1 -1
  63. package/dist/calcite/{p-105ada36.entry.js → p-25e219b6.entry.js} +2 -2
  64. package/dist/calcite/{p-fdc544c3.entry.js → p-2632afa4.entry.js} +2 -2
  65. package/dist/calcite/{p-52abce3b.js → p-279dbc96.js} +2 -2
  66. package/dist/calcite/{p-aa330cee.entry.js → p-29f3faf0.entry.js} +2 -2
  67. package/dist/calcite/{p-1f76d242.entry.js → p-2a1cf034.entry.js} +2 -2
  68. package/dist/calcite/p-2ba95a80.entry.js +6 -0
  69. package/dist/calcite/{p-8512384b.js → p-2bf85141.js} +1 -1
  70. package/dist/calcite/{p-c29e9a48.entry.js → p-316d7089.entry.js} +2 -2
  71. package/dist/calcite/{p-97f50b8f.system.entry.js → p-32016cee.system.entry.js} +2 -2
  72. package/dist/calcite/p-32b7954d.js +6 -0
  73. package/dist/calcite/{p-7f05ad2b.js → p-331aefd3.js} +1 -1
  74. package/dist/calcite/{p-0393486f.system.entry.js → p-33969f60.system.entry.js} +2 -2
  75. package/dist/calcite/{p-0bd8dd60.entry.js → p-358d78cd.entry.js} +2 -2
  76. package/dist/calcite/{p-56fc918a.system.entry.js → p-3dec262e.system.entry.js} +2 -2
  77. package/dist/calcite/{p-92434742.system.entry.js → p-3e04e67f.system.entry.js} +2 -2
  78. package/dist/calcite/p-3f78125e.entry.js +6 -0
  79. package/dist/calcite/{p-3ddd5ff7.system.entry.js → p-40c5ac82.system.entry.js} +2 -2
  80. package/dist/calcite/{p-2f2a4484.entry.js → p-41ead9bb.entry.js} +2 -2
  81. package/dist/calcite/p-41fcdb9a.system.entry.js +6 -0
  82. package/dist/calcite/{p-669fcb81.entry.js → p-4426daf0.entry.js} +2 -2
  83. package/dist/calcite/{p-49c06bff.system.entry.js → p-4627e36d.system.entry.js} +2 -2
  84. package/dist/calcite/{p-bdcf1c75.system.entry.js → p-46876d59.system.entry.js} +2 -2
  85. package/dist/calcite/{p-2bf76335.system.entry.js → p-4730c0eb.system.entry.js} +2 -2
  86. package/dist/calcite/{p-2c5768e0.entry.js → p-47400a59.entry.js} +2 -2
  87. package/dist/calcite/{p-b807c920.system.js → p-47fc8942.system.js} +3 -3
  88. package/dist/calcite/{p-8540ac35.system.js → p-48104634.system.js} +1 -1
  89. package/dist/calcite/{p-ea611c73.system.entry.js → p-4d022a1d.system.entry.js} +2 -2
  90. package/dist/calcite/{p-12b0d608.system.entry.js → p-4d3f9100.system.entry.js} +3 -3
  91. package/dist/calcite/{p-5dfff546.system.js → p-4dea96b9.system.js} +1 -1
  92. package/dist/calcite/{p-3208e5f7.entry.js → p-4ebca57b.entry.js} +2 -2
  93. package/dist/calcite/{p-afde94d1.entry.js → p-4ed71833.entry.js} +2 -2
  94. package/dist/calcite/{p-4405918c.system.entry.js → p-4f3b653d.system.entry.js} +2 -2
  95. package/dist/calcite/{p-ca08c484.system.entry.js → p-4f540987.system.entry.js} +2 -2
  96. package/dist/calcite/{p-265ae233.js → p-50429f1a.js} +2 -2
  97. package/dist/calcite/{p-12ddfe59.entry.js → p-509a28c3.entry.js} +2 -2
  98. package/dist/calcite/{p-ec0b36e7.js → p-53ca6e14.js} +1 -1
  99. package/dist/calcite/{p-bf2bb1da.system.js → p-587d400d.system.js} +2 -2
  100. package/dist/calcite/{p-a62d99d2.js → p-5897e3b7.js} +2 -2
  101. package/dist/calcite/{p-0918235a.system.entry.js → p-5a04f256.system.entry.js} +2 -2
  102. package/dist/calcite/{p-894823be.entry.js → p-5db78842.entry.js} +2 -2
  103. package/dist/calcite/{p-3b312c26.system.entry.js → p-5dbb9b10.system.entry.js} +2 -2
  104. package/dist/calcite/{p-e548be7f.system.js → p-613e4c82.system.js} +2 -2
  105. package/dist/calcite/{p-4a1460f8.js → p-620ec6e4.js} +1 -1
  106. package/dist/calcite/{p-b3cbfe78.entry.js → p-64f93df6.entry.js} +2 -2
  107. package/dist/calcite/{p-1ac12d98.system.entry.js → p-67c154d2.system.entry.js} +2 -2
  108. package/dist/calcite/{p-838f53f3.entry.js → p-6c45b48c.entry.js} +2 -2
  109. package/dist/calcite/{p-768b891d.entry.js → p-6c5df73e.entry.js} +2 -2
  110. package/dist/calcite/{p-9d662453.entry.js → p-6c85124a.entry.js} +2 -2
  111. package/dist/calcite/{p-8a5d50eb.entry.js → p-7121d08c.entry.js} +2 -2
  112. package/dist/calcite/{p-66de4c38.entry.js → p-71651450.entry.js} +2 -2
  113. package/dist/calcite/{p-8e5d9840.entry.js → p-742985ab.entry.js} +2 -2
  114. package/dist/calcite/{p-8a983b28.system.entry.js → p-75e24e2a.system.entry.js} +3 -3
  115. package/dist/calcite/{p-b893f52b.system.js → p-7d4a4416.system.js} +1 -1
  116. package/dist/calcite/{p-55f682e5.system.entry.js → p-83cd2f93.system.entry.js} +2 -2
  117. package/dist/calcite/{p-b481bc3d.system.entry.js → p-854c2211.system.entry.js} +2 -2
  118. package/dist/calcite/{p-6a48fdf9.system.js → p-85cc2aea.system.js} +1 -1
  119. package/dist/calcite/{p-dc15310b.entry.js → p-8623bac8.entry.js} +2 -2
  120. package/dist/calcite/{p-9ff2aaba.entry.js → p-862db56b.entry.js} +2 -2
  121. package/dist/calcite/{p-9159e6bc.entry.js → p-87362869.entry.js} +2 -2
  122. package/dist/calcite/{p-558c23f5.entry.js → p-8c20c44b.entry.js} +2 -2
  123. package/dist/calcite/{p-cf0191b8.system.entry.js → p-8d10ef65.system.entry.js} +2 -2
  124. package/dist/calcite/{p-a40a1696.system.entry.js → p-8e1e579e.system.entry.js} +2 -2
  125. package/dist/calcite/{p-d13f0f14.system.js → p-8f3d03c3.system.js} +1 -1
  126. package/dist/calcite/{p-0b640aaa.system.entry.js → p-919bb374.system.entry.js} +2 -2
  127. package/dist/calcite/{p-d8c87dbe.system.entry.js → p-929d1413.system.entry.js} +2 -2
  128. package/dist/calcite/{p-118e9f81.system.js → p-939d9333.system.js} +2 -2
  129. package/dist/calcite/{p-414b646b.system.entry.js → p-98af4331.system.entry.js} +2 -2
  130. package/dist/calcite/{p-2793ba35.entry.js → p-9cc07623.entry.js} +2 -2
  131. package/dist/calcite/{p-b321fa8a.system.entry.js → p-9cd97516.system.entry.js} +2 -2
  132. package/dist/calcite/{p-083e22cf.system.js → p-9e3edbcb.system.js} +2 -2
  133. package/dist/calcite/{p-ce1516e7.js → p-9eed3553.js} +1 -1
  134. package/dist/calcite/{p-f635d696.entry.js → p-9f05e653.entry.js} +2 -2
  135. package/dist/calcite/{p-3cbd4a18.system.js → p-9f1fe073.system.js} +1 -1
  136. package/dist/calcite/{p-4df2e85f.js → p-a0498b24.js} +1 -1
  137. package/dist/calcite/{p-df583031.system.js → p-a11a29e6.system.js} +1 -1
  138. package/dist/calcite/{p-01344487.system.entry.js → p-a1846d4e.system.entry.js} +2 -2
  139. package/dist/calcite/{p-2311f7b7.system.entry.js → p-a258090c.system.entry.js} +2 -2
  140. package/dist/calcite/{p-ff8512a9.system.entry.js → p-a2af8e63.system.entry.js} +2 -2
  141. package/dist/calcite/{p-594e7d9a.js → p-a2d85054.js} +1 -1
  142. package/dist/calcite/{p-5c835006.system.js → p-a4db8a5f.system.js} +1 -1
  143. package/dist/calcite/{p-77167bbc.system.js → p-a4fb8b28.system.js} +1 -1
  144. package/dist/calcite/{p-c45aaf62.js → p-a5db69ec.js} +2 -2
  145. package/dist/calcite/{p-643b46cc.entry.js → p-a9b9793d.entry.js} +2 -2
  146. package/dist/calcite/{p-04b2494e.system.js → p-aabe884a.system.js} +3 -3
  147. package/dist/calcite/{p-8af062d3.system.js → p-ab179ff5.system.js} +1 -1
  148. package/dist/calcite/{p-cddb2c8e.system.entry.js → p-ab63c163.system.entry.js} +2 -2
  149. package/dist/calcite/{p-afef46ba.entry.js → p-ac287221.entry.js} +2 -2
  150. package/dist/calcite/{p-b27beff7.system.entry.js → p-ac7782af.system.entry.js} +2 -2
  151. package/dist/calcite/{p-f13ea8ea.js → p-acca73c8.js} +2 -2
  152. package/dist/calcite/p-b026976f.js +6 -0
  153. package/dist/calcite/{p-2d3983f8.system.entry.js → p-b24a0128.system.entry.js} +2 -2
  154. package/dist/calcite/{p-6148d137.entry.js → p-b3d1c7c2.entry.js} +2 -2
  155. package/dist/calcite/{p-39a2c517.system.entry.js → p-b513502e.system.entry.js} +2 -2
  156. package/dist/calcite/{p-e782a903.entry.js → p-b7804917.entry.js} +2 -2
  157. package/dist/calcite/{p-eb6a63b1.entry.js → p-b7a3f1d5.entry.js} +2 -2
  158. package/dist/calcite/{p-d9bb29ba.entry.js → p-b7a77364.entry.js} +2 -2
  159. package/dist/calcite/{p-d3852f5a.entry.js → p-b9944e74.entry.js} +2 -2
  160. package/dist/calcite/{p-75241a04.system.entry.js → p-babaf708.system.entry.js} +3 -3
  161. package/dist/calcite/{p-be9fef04.system.entry.js → p-bb543f32.system.entry.js} +2 -2
  162. package/dist/calcite/{p-36ab38ff.js → p-bb623be6.js} +2 -2
  163. package/dist/calcite/{p-a1f1846b.js → p-bdbd9774.js} +1 -1
  164. package/dist/calcite/{p-850832df.system.entry.js → p-be04b968.system.entry.js} +2 -2
  165. package/dist/calcite/{p-ff166043.system.entry.js → p-bf57cf34.system.entry.js} +2 -2
  166. package/dist/calcite/{p-a12e51b1.entry.js → p-c1ab79ec.entry.js} +2 -2
  167. package/dist/calcite/{p-5fa92a88.js → p-c3ad05e4.js} +1 -1
  168. package/dist/calcite/{p-b16d3228.system.js → p-c3db16e0.system.js} +2 -2
  169. package/dist/calcite/{p-fa577ba0.entry.js → p-c5761c90.entry.js} +2 -2
  170. package/dist/calcite/{p-54168efd.js → p-ccb6cb45.js} +1 -1
  171. package/dist/calcite/{p-7dde363a.entry.js → p-cf6e037b.entry.js} +2 -2
  172. package/dist/calcite/{p-62a4dfc6.system.entry.js → p-d2193902.system.entry.js} +2 -2
  173. package/dist/calcite/{p-b5fa7fae.entry.js → p-d498ed41.entry.js} +2 -2
  174. package/dist/calcite/{p-7ca69078.system.entry.js → p-d6d82362.system.entry.js} +2 -2
  175. package/dist/calcite/{p-3b241c84.system.entry.js → p-d7b83f74.system.entry.js} +2 -2
  176. package/dist/calcite/{p-cd5cecf2.system.js → p-d7c4c574.system.js} +1 -1
  177. package/dist/calcite/{p-378c44b6.system.entry.js → p-d7cac57f.system.entry.js} +2 -2
  178. package/dist/calcite/{p-e786dee0.system.entry.js → p-dc517525.system.entry.js} +2 -2
  179. package/dist/calcite/{p-1aa4b3cd.system.entry.js → p-dc5bc1ec.system.entry.js} +2 -2
  180. package/dist/calcite/{p-478c47d5.system.js → p-dd4fe7e1.system.js} +2 -2
  181. package/dist/calcite/{p-9b878e8f.entry.js → p-de856f35.entry.js} +2 -2
  182. package/dist/calcite/p-df8e9749.entry.js +6 -0
  183. package/dist/calcite/{p-2f17b72c.system.entry.js → p-e1a49676.system.entry.js} +2 -2
  184. package/dist/calcite/{p-2cc37684.system.entry.js → p-e55a2040.system.entry.js} +2 -2
  185. package/dist/calcite/{p-ae807cc0.system.entry.js → p-e5c2ae9b.system.entry.js} +2 -2
  186. package/dist/calcite/{p-9a75c2c9.entry.js → p-e8c4c084.entry.js} +2 -2
  187. package/dist/calcite/{p-43aa0e2b.system.entry.js → p-e9015940.system.entry.js} +2 -2
  188. package/dist/calcite/{p-668f6753.system.entry.js → p-e999deba.system.entry.js} +2 -2
  189. package/dist/calcite/{p-0323a025.system.entry.js → p-eb2a75a8.system.entry.js} +2 -2
  190. package/dist/calcite/{p-fc8daad2.entry.js → p-f11cfc3e.entry.js} +2 -2
  191. package/dist/calcite/{p-eda937ad.system.entry.js → p-f32a46a4.system.entry.js} +2 -2
  192. package/dist/calcite/p-f3360850.system.js +6 -0
  193. package/dist/calcite/{p-21f41af0.entry.js → p-f837fea5.entry.js} +2 -2
  194. package/dist/calcite/{p-ec265137.entry.js → p-fa0e6a80.entry.js} +2 -2
  195. package/dist/calcite/{p-219c9f9f.entry.js → p-ff5f0fe6.entry.js} +2 -2
  196. package/dist/cjs/{ExpandToggle-c5b0a089.js → ExpandToggle-b39fa375.js} +5 -5
  197. package/dist/cjs/{Heading-dbc6bf56.js → Heading-5dbbaa85.js} +2 -2
  198. package/dist/cjs/{array-a0709c2c.js → array-032c6af5.js} +1 -1
  199. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  200. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  201. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  202. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  203. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  204. package/dist/cjs/calcite-action.cjs.entry.js +6 -6
  205. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  206. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  207. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  208. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  209. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  210. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  211. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  212. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite-combobox_3.cjs.entry.js +16 -16
  214. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +8 -8
  215. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
  216. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  217. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  218. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  219. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  220. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  221. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  222. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  223. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +10 -10
  224. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  225. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  226. package/dist/cjs/calcite-input.cjs.entry.js +56 -30
  227. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  228. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  229. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  230. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  231. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  232. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  233. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  234. package/dist/cjs/calcite-pagination.cjs.entry.js +4 -4
  235. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  236. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  237. package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
  238. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  239. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  240. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  241. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  242. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  243. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  244. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  245. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  246. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  247. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  248. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  249. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  250. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  251. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  252. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  253. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  254. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  255. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  256. package/dist/cjs/calcite.cjs.js +3 -3
  257. package/dist/cjs/{conditionalSlot-d22c9f27.js → conditionalSlot-4c58e33f.js} +3 -3
  258. package/dist/cjs/{debounce-4d1236ba.js → debounce-3be779a9.js} +1 -1
  259. package/dist/cjs/{dom-619143e9.js → dom-4f1802f8.js} +2 -2
  260. package/dist/cjs/{forIn-d16fc681.js → forIn-e8de8756.js} +2 -2
  261. package/dist/cjs/{form-54ff540b.js → form-ee87eb2e.js} +3 -3
  262. package/dist/cjs/{guid-cf379e9f.js → guid-7654920e.js} +1 -1
  263. package/dist/cjs/{index-feabd455.js → index-a13758dd.js} +1 -1
  264. package/dist/cjs/index.cjs.js +1 -1
  265. package/dist/cjs/{interactive-5ddf5d4f.js → interactive-ec841b48.js} +1 -1
  266. package/dist/cjs/{interfaces-27b7e6a3.js → interfaces-9a199924.js} +1 -1
  267. package/dist/cjs/{label-1e7739ad.js → label-6a5c3103.js} +2 -2
  268. package/dist/cjs/loader.cjs.js +3 -3
  269. package/dist/cjs/{locale-2db0db43.js → locale-e2e17c50.js} +1 -1
  270. package/dist/cjs/{math-d669d57d.js → math-3483d54b.js} +1 -1
  271. package/dist/cjs/{observers-f76f75f2.js → observers-f702e382.js} +1 -1
  272. package/dist/cjs/{popper-7f6864c7.js → popper-8cd92f07.js} +2 -2
  273. package/dist/cjs/{resources-467f3991.js → resources-0f7406e6.js} +1 -1
  274. package/dist/cjs/{resources-89696155.js → resources-2e006b85.js} +5 -5
  275. package/dist/cjs/{resources-c1159edf.js → resources-9331ae7f.js} +1 -1
  276. package/dist/cjs/{resources-91db3bc1.js → resources-b2defe03.js} +3 -3
  277. package/dist/cjs/{sortable.esm-128ad50e.js → sortable.esm-3fbed4fc.js} +1 -1
  278. package/dist/cjs/{utils-b604c2bb.js → utils-8f74d397.js} +1 -1
  279. package/dist/collection/components/accordion/accordion.js +1 -1
  280. package/dist/collection/components/accordion/interfaces.js +1 -1
  281. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  282. package/dist/collection/components/action/action.js +1 -1
  283. package/dist/collection/components/action/resources.js +1 -1
  284. package/dist/collection/components/action-bar/action-bar.js +1 -1
  285. package/dist/collection/components/action-bar/resources.js +1 -1
  286. package/dist/collection/components/action-bar/utils.js +1 -1
  287. package/dist/collection/components/action-group/action-group.js +1 -1
  288. package/dist/collection/components/action-group/resources.js +1 -1
  289. package/dist/collection/components/action-menu/action-menu.js +1 -1
  290. package/dist/collection/components/action-menu/resources.js +1 -1
  291. package/dist/collection/components/action-pad/action-pad.js +1 -1
  292. package/dist/collection/components/action-pad/resources.js +1 -1
  293. package/dist/collection/components/alert/alert.js +1 -1
  294. package/dist/collection/components/alert/interfaces.js +1 -1
  295. package/dist/collection/components/alert/resources.js +1 -1
  296. package/dist/collection/components/avatar/avatar.js +1 -1
  297. package/dist/collection/components/avatar/utils.js +1 -1
  298. package/dist/collection/components/block/block.js +1 -1
  299. package/dist/collection/components/block/resources.js +1 -1
  300. package/dist/collection/components/block-section/block-section.js +1 -1
  301. package/dist/collection/components/block-section/interfaces.js +1 -1
  302. package/dist/collection/components/block-section/resources.js +1 -1
  303. package/dist/collection/components/button/button.js +1 -1
  304. package/dist/collection/components/button/interfaces.js +1 -1
  305. package/dist/collection/components/button/resources.js +1 -1
  306. package/dist/collection/components/card/card.js +1 -1
  307. package/dist/collection/components/card/resources.js +1 -1
  308. package/dist/collection/components/checkbox/checkbox.js +1 -1
  309. package/dist/collection/components/chip/chip.js +1 -1
  310. package/dist/collection/components/chip/interfaces.js +1 -1
  311. package/dist/collection/components/chip/resources.js +1 -1
  312. package/dist/collection/components/color-picker/color-picker.js +1 -1
  313. package/dist/collection/components/color-picker/interfaces.js +1 -1
  314. package/dist/collection/components/color-picker/resources.js +1 -1
  315. package/dist/collection/components/color-picker/utils.js +1 -1
  316. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  317. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  318. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  319. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  320. package/dist/collection/components/combobox/combobox.js +5 -5
  321. package/dist/collection/components/combobox/interfaces.js +1 -1
  322. package/dist/collection/components/combobox/resources.js +1 -1
  323. package/dist/collection/components/combobox/utils.js +1 -1
  324. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  325. package/dist/collection/components/combobox-item/resources.js +1 -1
  326. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  327. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  328. package/dist/collection/components/date-picker/date-picker.js +1 -1
  329. package/dist/collection/components/date-picker/interfaces.js +1 -1
  330. package/dist/collection/components/date-picker/resources.js +1 -1
  331. package/dist/collection/components/date-picker/utils.js +1 -1
  332. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  333. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  334. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  335. package/dist/collection/components/dropdown/dropdown.js +1 -1
  336. package/dist/collection/components/dropdown/interfaces.js +1 -1
  337. package/dist/collection/components/dropdown/resources.js +1 -1
  338. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  339. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  340. package/dist/collection/components/dropdown-group/resources.js +1 -1
  341. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  342. package/dist/collection/components/dropdown-item/resources.js +1 -1
  343. package/dist/collection/components/fab/fab.js +1 -1
  344. package/dist/collection/components/fab/resources.js +1 -1
  345. package/dist/collection/components/filter/filter.js +1 -1
  346. package/dist/collection/components/filter/resources.js +1 -1
  347. package/dist/collection/components/flow/flow.js +1 -1
  348. package/dist/collection/components/flow/interfaces.js +1 -1
  349. package/dist/collection/components/flow/resources.js +1 -1
  350. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  351. package/dist/collection/components/functional/Heading.js +1 -1
  352. package/dist/collection/components/graph/graph.js +1 -1
  353. package/dist/collection/components/graph/interfaces.js +1 -1
  354. package/dist/collection/components/graph/util.js +1 -1
  355. package/dist/collection/components/handle/handle.js +1 -1
  356. package/dist/collection/components/handle/resources.js +1 -1
  357. package/dist/collection/components/icon/assets/icon/changeDetection16.json +1 -0
  358. package/dist/collection/components/icon/assets/icon/changeDetection24.json +1 -0
  359. package/dist/collection/components/icon/assets/icon/changeDetection32.json +1 -0
  360. package/dist/collection/components/icon/assets/icon/imageDisplayOrder16.json +1 -0
  361. package/dist/collection/components/icon/assets/icon/imageDisplayOrder24.json +1 -0
  362. package/dist/collection/components/icon/assets/icon/imageDisplayOrder32.json +1 -0
  363. package/dist/collection/components/icon/assets/icon/numberCircle416.json +1 -0
  364. package/dist/collection/components/icon/assets/icon/numberCircle424.json +1 -0
  365. package/dist/collection/components/icon/assets/icon/numberCircle432.json +1 -0
  366. package/dist/collection/components/icon/assets/icon/numberCircle516.json +1 -0
  367. package/dist/collection/components/icon/assets/icon/numberCircle524.json +1 -0
  368. package/dist/collection/components/icon/assets/icon/numberCircle532.json +1 -0
  369. package/dist/collection/components/icon/assets/icon/numberCircle616.json +1 -0
  370. package/dist/collection/components/icon/assets/icon/numberCircle624.json +1 -0
  371. package/dist/collection/components/icon/assets/icon/numberCircle632.json +1 -0
  372. package/dist/collection/components/icon/assets/icon/numberCircle716.json +1 -0
  373. package/dist/collection/components/icon/assets/icon/numberCircle724.json +1 -0
  374. package/dist/collection/components/icon/assets/icon/numberCircle732.json +1 -0
  375. package/dist/collection/components/icon/assets/icon/numberCircle816.json +1 -0
  376. package/dist/collection/components/icon/assets/icon/numberCircle824.json +1 -0
  377. package/dist/collection/components/icon/assets/icon/numberCircle832.json +1 -0
  378. package/dist/collection/components/icon/assets/icon/numberCircle916.json +1 -0
  379. package/dist/collection/components/icon/assets/icon/numberCircle924.json +1 -0
  380. package/dist/collection/components/icon/assets/icon/numberCircle932.json +1 -0
  381. package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime16.json +1 -0
  382. package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime24.json +1 -0
  383. package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime32.json +1 -0
  384. package/dist/collection/components/icon/assets/icon/showOneLayerAtATime16.json +1 -0
  385. package/dist/collection/components/icon/assets/icon/showOneLayerAtATime24.json +1 -0
  386. package/dist/collection/components/icon/assets/icon/showOneLayerAtATime32.json +1 -0
  387. package/dist/collection/components/icon/icon.js +1 -1
  388. package/dist/collection/components/icon/resources.js +1 -1
  389. package/dist/collection/components/icon/utils.js +1 -1
  390. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  391. package/dist/collection/components/inline-editable/resources.js +1 -1
  392. package/dist/collection/components/input/input.js +144 -66
  393. package/dist/collection/components/input/interfaces.js +1 -1
  394. package/dist/collection/components/input/resources.js +1 -1
  395. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  396. package/dist/collection/components/input-message/input-message.js +1 -1
  397. package/dist/collection/components/input-message/interfaces.js +1 -1
  398. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  399. package/dist/collection/components/interfaces.js +1 -1
  400. package/dist/collection/components/label/label.js +1 -1
  401. package/dist/collection/components/label/resources.js +1 -1
  402. package/dist/collection/components/link/link.js +1 -1
  403. package/dist/collection/components/list/list.js +1 -1
  404. package/dist/collection/components/list/resources.js +1 -1
  405. package/dist/collection/components/list-item/list-item.js +1 -1
  406. package/dist/collection/components/list-item/resources.js +1 -1
  407. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  408. package/dist/collection/components/list-item-group/resources.js +1 -1
  409. package/dist/collection/components/loader/loader.js +1 -1
  410. package/dist/collection/components/modal/interfaces.js +1 -1
  411. package/dist/collection/components/modal/modal.js +1 -1
  412. package/dist/collection/components/modal/resources.js +1 -1
  413. package/dist/collection/components/notice/notice.js +1 -1
  414. package/dist/collection/components/notice/resources.js +1 -1
  415. package/dist/collection/components/option/option.js +1 -1
  416. package/dist/collection/components/option-group/option-group.js +1 -1
  417. package/dist/collection/components/pagination/pagination.js +1 -1
  418. package/dist/collection/components/pagination/resources.js +1 -1
  419. package/dist/collection/components/panel/panel.js +1 -1
  420. package/dist/collection/components/panel/resources.js +1 -1
  421. package/dist/collection/components/pick-list/pick-list.js +1 -1
  422. package/dist/collection/components/pick-list/resources.js +1 -1
  423. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  424. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  425. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  426. package/dist/collection/components/pick-list-group/resources.js +1 -1
  427. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  428. package/dist/collection/components/pick-list-item/resources.js +1 -1
  429. package/dist/collection/components/popover/PopoverManager.js +1 -1
  430. package/dist/collection/components/popover/popover.js +1 -1
  431. package/dist/collection/components/popover/resources.js +1 -1
  432. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  433. package/dist/collection/components/progress/progress.js +1 -1
  434. package/dist/collection/components/radio-button/radio-button.js +1 -1
  435. package/dist/collection/components/radio-button/resources.js +1 -1
  436. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  437. package/dist/collection/components/radio-group/interfaces.js +1 -1
  438. package/dist/collection/components/radio-group/radio-group.js +1 -1
  439. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  440. package/dist/collection/components/radio-group-item/resources.js +1 -1
  441. package/dist/collection/components/rating/rating.js +1 -1
  442. package/dist/collection/components/rating/resources.js +1 -1
  443. package/dist/collection/components/scrim/resources.js +1 -1
  444. package/dist/collection/components/scrim/scrim.js +1 -1
  445. package/dist/collection/components/select/resources.js +1 -1
  446. package/dist/collection/components/select/select.js +1 -1
  447. package/dist/collection/components/shell/resources.js +1 -1
  448. package/dist/collection/components/shell/shell.js +1 -1
  449. package/dist/collection/components/shell-center-row/resources.js +1 -1
  450. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  451. package/dist/collection/components/shell-panel/resources.js +1 -1
  452. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  453. package/dist/collection/components/slider/slider.js +1 -1
  454. package/dist/collection/components/sortable-list/resources.js +1 -1
  455. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  456. package/dist/collection/components/split-button/resources.js +1 -1
  457. package/dist/collection/components/split-button/split-button.js +1 -1
  458. package/dist/collection/components/stepper/interfaces.js +1 -1
  459. package/dist/collection/components/stepper/stepper.js +1 -1
  460. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  461. package/dist/collection/components/switch/switch.js +1 -1
  462. package/dist/collection/components/tab/interfaces.js +1 -1
  463. package/dist/collection/components/tab/tab.js +1 -1
  464. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  465. package/dist/collection/components/tab-title/tab-title.js +1 -1
  466. package/dist/collection/components/tabs/interfaces.js +1 -1
  467. package/dist/collection/components/tabs/resources.js +1 -1
  468. package/dist/collection/components/tabs/tabs.js +1 -1
  469. package/dist/collection/components/tile/resources.js +1 -1
  470. package/dist/collection/components/tile/tile.js +1 -1
  471. package/dist/collection/components/tile-select/interfaces.js +1 -1
  472. package/dist/collection/components/tile-select/resources.js +1 -1
  473. package/dist/collection/components/tile-select/tile-select.js +1 -1
  474. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  475. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  476. package/dist/collection/components/time-picker/resources.js +1 -1
  477. package/dist/collection/components/time-picker/time-picker.js +1 -1
  478. package/dist/collection/components/tip/resources.js +1 -1
  479. package/dist/collection/components/tip/tip.js +1 -1
  480. package/dist/collection/components/tip-group/tip-group.js +1 -1
  481. package/dist/collection/components/tip-manager/resources.js +1 -1
  482. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  483. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  484. package/dist/collection/components/tooltip/resources.js +1 -1
  485. package/dist/collection/components/tooltip/tooltip.js +1 -1
  486. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  487. package/dist/collection/components/tree/interfaces.js +1 -1
  488. package/dist/collection/components/tree/tree.js +1 -1
  489. package/dist/collection/components/tree-item/interfaces.js +1 -1
  490. package/dist/collection/components/tree-item/resources.js +1 -1
  491. package/dist/collection/components/tree-item/tree-item.js +1 -1
  492. package/dist/collection/components/value-list/resources.js +1 -1
  493. package/dist/collection/components/value-list/value-list.js +1 -1
  494. package/dist/collection/components/value-list-item/resources.js +1 -1
  495. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  496. package/dist/collection/utils/array.js +1 -1
  497. package/dist/collection/utils/conditionalSlot.js +1 -1
  498. package/dist/collection/utils/date.js +1 -1
  499. package/dist/collection/utils/dom.js +1 -1
  500. package/dist/collection/utils/filter.js +1 -1
  501. package/dist/collection/utils/form.js +1 -1
  502. package/dist/collection/utils/globalAttributes.js +1 -1
  503. package/dist/collection/utils/guid.js +1 -1
  504. package/dist/collection/utils/interactive.js +1 -1
  505. package/dist/collection/utils/key.js +1 -1
  506. package/dist/collection/utils/label.js +1 -1
  507. package/dist/collection/utils/locale.js +1 -1
  508. package/dist/collection/utils/math.js +1 -1
  509. package/dist/collection/utils/number.js +1 -1
  510. package/dist/collection/utils/observers.js +1 -1
  511. package/dist/collection/utils/popper.js +1 -1
  512. package/dist/collection/utils/resources.js +1 -1
  513. package/dist/collection/utils/time.js +1 -1
  514. package/dist/components/ExpandToggle.js +1 -1
  515. package/dist/components/Heading.js +1 -1
  516. package/dist/components/action-group.js +1 -1
  517. package/dist/components/action-menu.js +1 -1
  518. package/dist/components/action.js +1 -1
  519. package/dist/components/array.js +1 -1
  520. package/dist/components/button.js +1 -1
  521. package/dist/components/calcite-accordion-item.js +1 -1
  522. package/dist/components/calcite-accordion.js +1 -1
  523. package/dist/components/calcite-action-bar.js +1 -1
  524. package/dist/components/calcite-action-group.js +1 -1
  525. package/dist/components/calcite-action-menu.js +1 -1
  526. package/dist/components/calcite-action-pad.js +1 -1
  527. package/dist/components/calcite-action.js +1 -1
  528. package/dist/components/calcite-alert.js +1 -1
  529. package/dist/components/calcite-avatar.js +1 -1
  530. package/dist/components/calcite-block-section.js +1 -1
  531. package/dist/components/calcite-block.js +1 -1
  532. package/dist/components/calcite-button.js +1 -1
  533. package/dist/components/calcite-card.js +1 -1
  534. package/dist/components/calcite-checkbox.js +1 -1
  535. package/dist/components/calcite-chip.js +1 -1
  536. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  537. package/dist/components/calcite-color-picker-swatch.js +1 -1
  538. package/dist/components/calcite-color-picker.js +1 -1
  539. package/dist/components/calcite-combobox-item-group.js +1 -1
  540. package/dist/components/calcite-combobox-item.js +1 -1
  541. package/dist/components/calcite-combobox.js +5 -5
  542. package/dist/components/calcite-date-picker-day.js +1 -1
  543. package/dist/components/calcite-date-picker-month-header.js +1 -1
  544. package/dist/components/calcite-date-picker-month.js +1 -1
  545. package/dist/components/calcite-date-picker.js +1 -1
  546. package/dist/components/calcite-dropdown-group.js +1 -1
  547. package/dist/components/calcite-dropdown-item.js +1 -1
  548. package/dist/components/calcite-dropdown.js +1 -1
  549. package/dist/components/calcite-fab.js +1 -1
  550. package/dist/components/calcite-filter.js +1 -1
  551. package/dist/components/calcite-flow.js +1 -1
  552. package/dist/components/calcite-graph.js +1 -1
  553. package/dist/components/calcite-handle.js +1 -1
  554. package/dist/components/calcite-icon.js +1 -1
  555. package/dist/components/calcite-inline-editable.js +1 -1
  556. package/dist/components/calcite-input-date-picker.js +1 -1
  557. package/dist/components/calcite-input-message.js +1 -1
  558. package/dist/components/calcite-input-time-picker.js +1 -1
  559. package/dist/components/calcite-input.js +1 -1
  560. package/dist/components/calcite-label.js +1 -1
  561. package/dist/components/calcite-link.js +1 -1
  562. package/dist/components/calcite-list-item-group.js +1 -1
  563. package/dist/components/calcite-list-item.js +1 -1
  564. package/dist/components/calcite-list.js +1 -1
  565. package/dist/components/calcite-loader.js +1 -1
  566. package/dist/components/calcite-modal.js +1 -1
  567. package/dist/components/calcite-notice.js +1 -1
  568. package/dist/components/calcite-option-group.js +1 -1
  569. package/dist/components/calcite-option.js +1 -1
  570. package/dist/components/calcite-pagination.js +1 -1
  571. package/dist/components/calcite-panel.js +1 -1
  572. package/dist/components/calcite-pick-list-group.js +1 -1
  573. package/dist/components/calcite-pick-list-item.js +1 -1
  574. package/dist/components/calcite-pick-list.js +1 -1
  575. package/dist/components/calcite-popover-manager.js +1 -1
  576. package/dist/components/calcite-popover.js +1 -1
  577. package/dist/components/calcite-progress.js +1 -1
  578. package/dist/components/calcite-radio-button-group.js +1 -1
  579. package/dist/components/calcite-radio-button.js +1 -1
  580. package/dist/components/calcite-radio-group-item.js +1 -1
  581. package/dist/components/calcite-radio-group.js +1 -1
  582. package/dist/components/calcite-rating.js +1 -1
  583. package/dist/components/calcite-scrim.js +1 -1
  584. package/dist/components/calcite-select.js +1 -1
  585. package/dist/components/calcite-shell-center-row.js +1 -1
  586. package/dist/components/calcite-shell-panel.js +1 -1
  587. package/dist/components/calcite-shell.js +1 -1
  588. package/dist/components/calcite-slider.js +1 -1
  589. package/dist/components/calcite-sortable-list.js +1 -1
  590. package/dist/components/calcite-split-button.js +1 -1
  591. package/dist/components/calcite-stepper-item.js +1 -1
  592. package/dist/components/calcite-stepper.js +1 -1
  593. package/dist/components/calcite-switch.js +1 -1
  594. package/dist/components/calcite-tab-nav.js +1 -1
  595. package/dist/components/calcite-tab-title.js +1 -1
  596. package/dist/components/calcite-tab.js +1 -1
  597. package/dist/components/calcite-tabs.js +1 -1
  598. package/dist/components/calcite-tile-select-group.js +1 -1
  599. package/dist/components/calcite-tile-select.js +1 -1
  600. package/dist/components/calcite-tile.js +1 -1
  601. package/dist/components/calcite-time-picker.js +1 -1
  602. package/dist/components/calcite-tip-group.js +1 -1
  603. package/dist/components/calcite-tip-manager.js +1 -1
  604. package/dist/components/calcite-tip.js +1 -1
  605. package/dist/components/calcite-tooltip-manager.js +1 -1
  606. package/dist/components/calcite-tooltip.js +1 -1
  607. package/dist/components/calcite-tree-item.js +1 -1
  608. package/dist/components/calcite-tree.js +1 -1
  609. package/dist/components/calcite-value-list-item.js +1 -1
  610. package/dist/components/calcite-value-list.js +1 -1
  611. package/dist/components/checkbox.js +1 -1
  612. package/dist/components/chip.js +1 -1
  613. package/dist/components/color-picker-hex-input.js +1 -1
  614. package/dist/components/color-picker-swatch.js +1 -1
  615. package/dist/components/conditionalSlot.js +1 -1
  616. package/dist/components/date-picker-day.js +1 -1
  617. package/dist/components/date-picker-month-header.js +1 -1
  618. package/dist/components/date-picker-month.js +1 -1
  619. package/dist/components/date-picker.js +1 -1
  620. package/dist/components/date.js +1 -1
  621. package/dist/components/debounce.js +1 -1
  622. package/dist/components/dom.js +1 -1
  623. package/dist/components/dropdown.js +1 -1
  624. package/dist/components/filter.js +1 -1
  625. package/dist/components/forIn.js +1 -1
  626. package/dist/components/form.js +1 -1
  627. package/dist/components/graph.js +1 -1
  628. package/dist/components/guid.js +1 -1
  629. package/dist/components/handle.js +1 -1
  630. package/dist/components/icon.js +1 -1
  631. package/dist/components/index.js +1 -1
  632. package/dist/components/input.js +49 -22
  633. package/dist/components/interactive.js +1 -1
  634. package/dist/components/interfaces.js +1 -1
  635. package/dist/components/interfaces2.js +1 -1
  636. package/dist/components/label.js +1 -1
  637. package/dist/components/label2.js +1 -1
  638. package/dist/components/link.js +1 -1
  639. package/dist/components/loader.js +1 -1
  640. package/dist/components/locale.js +1 -1
  641. package/dist/components/math.js +1 -1
  642. package/dist/components/observers.js +1 -1
  643. package/dist/components/pick-list-item.js +1 -1
  644. package/dist/components/popover.js +1 -1
  645. package/dist/components/popper.js +1 -1
  646. package/dist/components/progress.js +1 -1
  647. package/dist/components/resources.js +1 -1
  648. package/dist/components/resources2.js +1 -1
  649. package/dist/components/resources3.js +1 -1
  650. package/dist/components/scrim.js +1 -1
  651. package/dist/components/shared-list-render.js +1 -1
  652. package/dist/components/sortable.esm.js +1 -1
  653. package/dist/components/switch.js +1 -1
  654. package/dist/components/tab-nav.js +1 -1
  655. package/dist/components/tab-title.js +1 -1
  656. package/dist/components/tab.js +1 -1
  657. package/dist/components/tabs.js +1 -1
  658. package/dist/components/tile.js +1 -1
  659. package/dist/components/time-picker.js +1 -1
  660. package/dist/components/utils.js +1 -1
  661. package/dist/components/utils2.js +1 -1
  662. package/dist/custom-elements/index.js +51 -25
  663. package/dist/esm/{ExpandToggle-979ffbe7.js → ExpandToggle-0d5a3b1c.js} +5 -5
  664. package/dist/esm/{Heading-495dd561.js → Heading-b4109f89.js} +2 -2
  665. package/dist/esm/{array-87644544.js → array-ae72598e.js} +1 -1
  666. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  667. package/dist/esm/calcite-action-bar.entry.js +10 -10
  668. package/dist/esm/calcite-action-group.entry.js +8 -8
  669. package/dist/esm/calcite-action-menu.entry.js +8 -8
  670. package/dist/esm/calcite-action-pad.entry.js +9 -9
  671. package/dist/esm/calcite-action.entry.js +6 -6
  672. package/dist/esm/calcite-alert.entry.js +5 -5
  673. package/dist/esm/calcite-avatar.entry.js +5 -5
  674. package/dist/esm/calcite-block_2.entry.js +8 -8
  675. package/dist/esm/calcite-button.entry.js +8 -8
  676. package/dist/esm/calcite-card.entry.js +6 -6
  677. package/dist/esm/calcite-checkbox.entry.js +7 -7
  678. package/dist/esm/calcite-chip.entry.js +6 -6
  679. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  680. package/dist/esm/calcite-combobox_3.entry.js +16 -16
  681. package/dist/esm/calcite-date-picker_4.entry.js +8 -8
  682. package/dist/esm/calcite-dropdown_3.entry.js +7 -7
  683. package/dist/esm/calcite-fab.entry.js +5 -5
  684. package/dist/esm/calcite-filter.entry.js +7 -7
  685. package/dist/esm/calcite-flow.entry.js +2 -2
  686. package/dist/esm/calcite-graph_2.entry.js +9 -9
  687. package/dist/esm/calcite-handle.entry.js +4 -4
  688. package/dist/esm/calcite-icon.entry.js +5 -5
  689. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  690. package/dist/esm/calcite-input-date-picker.entry.js +10 -10
  691. package/dist/esm/calcite-input-message.entry.js +4 -4
  692. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  693. package/dist/esm/calcite-input.entry.js +56 -30
  694. package/dist/esm/calcite-label.entry.js +5 -5
  695. package/dist/esm/calcite-link.entry.js +5 -5
  696. package/dist/esm/calcite-list_3.entry.js +8 -8
  697. package/dist/esm/calcite-loader.entry.js +3 -3
  698. package/dist/esm/calcite-modal.entry.js +6 -6
  699. package/dist/esm/calcite-notice.entry.js +7 -7
  700. package/dist/esm/calcite-option_3.entry.js +8 -8
  701. package/dist/esm/calcite-pagination.entry.js +4 -4
  702. package/dist/esm/calcite-panel.entry.js +9 -9
  703. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  704. package/dist/esm/calcite-popover_2.entry.js +7 -7
  705. package/dist/esm/calcite-progress.entry.js +2 -2
  706. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  707. package/dist/esm/calcite-radio-button.entry.js +8 -8
  708. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  709. package/dist/esm/calcite-rating.entry.js +7 -7
  710. package/dist/esm/calcite-scrim.entry.js +2 -2
  711. package/dist/esm/calcite-shell_3.entry.js +7 -7
  712. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  713. package/dist/esm/calcite-split-button.entry.js +3 -3
  714. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  715. package/dist/esm/calcite-switch.entry.js +7 -7
  716. package/dist/esm/calcite-tab_4.entry.js +6 -6
  717. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  718. package/dist/esm/calcite-tile.entry.js +7 -7
  719. package/dist/esm/calcite-tip_3.entry.js +7 -7
  720. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  721. package/dist/esm/calcite-tree_2.entry.js +6 -6
  722. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  723. package/dist/esm/calcite.js +3 -3
  724. package/dist/esm/{conditionalSlot-7dd6b608.js → conditionalSlot-49c4d7d3.js} +3 -3
  725. package/dist/esm/{debounce-d9da613b.js → debounce-b0929daf.js} +1 -1
  726. package/dist/esm/{dom-cb93bb2e.js → dom-e04e61fe.js} +2 -2
  727. package/dist/esm/{forIn-a61f22f1.js → forIn-4caaf525.js} +2 -2
  728. package/dist/esm/{form-b35a2378.js → form-e3dfd7ce.js} +3 -3
  729. package/dist/esm/{guid-d034c369.js → guid-d54b8256.js} +1 -1
  730. package/dist/esm/{index-d685ddb9.js → index-fbcb0de9.js} +1 -1
  731. package/dist/esm/index.js +1 -1
  732. package/dist/esm/{interactive-1023056d.js → interactive-91459754.js} +1 -1
  733. package/dist/esm/{interfaces-e33a6843.js → interfaces-c92f717d.js} +1 -1
  734. package/dist/esm/{label-2b7744dd.js → label-4a1256e3.js} +2 -2
  735. package/dist/esm/loader.js +3 -3
  736. package/dist/esm/{locale-dcab2ceb.js → locale-39c1cb3b.js} +1 -1
  737. package/dist/esm/{math-a33cb265.js → math-ff598d5a.js} +1 -1
  738. package/dist/esm/{observers-51ff9c7f.js → observers-407301ee.js} +1 -1
  739. package/dist/esm/{popper-fb3f976e.js → popper-71556d18.js} +2 -2
  740. package/dist/esm/{resources-73e99cd2.js → resources-58ce503e.js} +3 -3
  741. package/dist/esm/{resources-542f3f8f.js → resources-a70a465d.js} +5 -5
  742. package/dist/esm/{resources-779d27d5.js → resources-c0c7aa96.js} +1 -1
  743. package/dist/esm/{resources-2361fd85.js → resources-e4f01151.js} +1 -1
  744. package/dist/esm/{sortable.esm-3d505ed5.js → sortable.esm-9462aad5.js} +1 -1
  745. package/dist/esm/{utils-34481d00.js → utils-c3efca8f.js} +1 -1
  746. package/dist/esm-es5/{ExpandToggle-979ffbe7.js → ExpandToggle-0d5a3b1c.js} +2 -2
  747. package/dist/esm-es5/Heading-b4109f89.js +6 -0
  748. package/dist/esm-es5/{array-87644544.js → array-ae72598e.js} +1 -1
  749. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  750. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  751. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  752. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  753. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  754. package/dist/esm-es5/calcite-action.entry.js +2 -2
  755. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  756. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  757. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  758. package/dist/esm-es5/calcite-button.entry.js +2 -2
  759. package/dist/esm-es5/calcite-card.entry.js +2 -2
  760. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  761. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  762. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  763. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  764. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  765. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  766. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  767. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  768. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  769. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  770. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  771. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  772. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  773. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  774. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  775. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  776. package/dist/esm-es5/calcite-input.entry.js +2 -2
  777. package/dist/esm-es5/calcite-label.entry.js +2 -2
  778. package/dist/esm-es5/calcite-link.entry.js +3 -3
  779. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  780. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  781. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  782. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  783. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  784. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  785. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  786. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  787. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  788. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  789. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  790. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  791. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  792. package/dist/esm-es5/calcite-rating.entry.js +3 -3
  793. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  794. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  795. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  796. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  797. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  798. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  799. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  800. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  801. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  802. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  803. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  804. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  805. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  806. package/dist/esm-es5/calcite.js +2 -2
  807. package/dist/esm-es5/{conditionalSlot-7dd6b608.js → conditionalSlot-49c4d7d3.js} +2 -2
  808. package/dist/esm-es5/{debounce-d9da613b.js → debounce-b0929daf.js} +1 -1
  809. package/dist/esm-es5/{dom-cb93bb2e.js → dom-e04e61fe.js} +2 -2
  810. package/dist/esm-es5/{forIn-a61f22f1.js → forIn-4caaf525.js} +2 -2
  811. package/dist/esm-es5/{form-b35a2378.js → form-e3dfd7ce.js} +2 -2
  812. package/dist/esm-es5/{guid-d034c369.js → guid-d54b8256.js} +1 -1
  813. package/dist/esm-es5/{index-d685ddb9.js → index-fbcb0de9.js} +1 -1
  814. package/dist/esm-es5/index.js +1 -1
  815. package/dist/esm-es5/{interactive-1023056d.js → interactive-91459754.js} +1 -1
  816. package/dist/esm-es5/{interfaces-e33a6843.js → interfaces-c92f717d.js} +1 -1
  817. package/dist/esm-es5/{label-2b7744dd.js → label-4a1256e3.js} +2 -2
  818. package/dist/esm-es5/loader.js +2 -2
  819. package/dist/esm-es5/{locale-dcab2ceb.js → locale-39c1cb3b.js} +1 -1
  820. package/dist/esm-es5/{math-a33cb265.js → math-ff598d5a.js} +1 -1
  821. package/dist/esm-es5/{observers-51ff9c7f.js → observers-407301ee.js} +1 -1
  822. package/dist/esm-es5/{popper-fb3f976e.js → popper-71556d18.js} +2 -2
  823. package/dist/esm-es5/{resources-73e99cd2.js → resources-58ce503e.js} +3 -3
  824. package/dist/esm-es5/{resources-542f3f8f.js → resources-a70a465d.js} +2 -2
  825. package/dist/esm-es5/{resources-779d27d5.js → resources-c0c7aa96.js} +1 -1
  826. package/dist/esm-es5/{resources-2361fd85.js → resources-e4f01151.js} +1 -1
  827. package/dist/esm-es5/{sortable.esm-3d505ed5.js → sortable.esm-9462aad5.js} +1 -1
  828. package/dist/esm-es5/{utils-34481d00.js → utils-c3efca8f.js} +1 -1
  829. package/dist/extras/docs-json.json +118 -47
  830. package/dist/loader/cdn.js +1 -1
  831. package/dist/loader/index.cjs.js +1 -1
  832. package/dist/loader/index.es2017.js +1 -1
  833. package/dist/loader/index.js +1 -1
  834. package/dist/types/components/combobox/combobox.d.ts +1 -1
  835. package/dist/types/components/input/input.d.ts +84 -38
  836. package/dist/types/components.d.ts +90 -62
  837. package/hydrate/index.js +54 -27
  838. package/package.json +4 -4
  839. package/dist/calcite/p-0b62e1e0.js +0 -6
  840. package/dist/calcite/p-2f716ca1.js +0 -6
  841. package/dist/calcite/p-32e53b75.system.entry.js +0 -6
  842. package/dist/calcite/p-58c3ab53.entry.js +0 -6
  843. package/dist/calcite/p-5e97cf60.entry.js +0 -6
  844. package/dist/calcite/p-764c53da.entry.js +0 -6
  845. package/dist/calcite/p-893bfba9.system.js +0 -6
  846. package/dist/calcite/p-c644bd9f.entry.js +0 -6
  847. package/dist/esm-es5/Heading-495dd561.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.505
4
+ * v1.0.0-next.506
5
5
  */
6
- import{r as t,c as i,h as e,g as a,H as n}from"./p-594e7d9a.js";import{d as r,t as o}from"./p-f13ea8ea.js";import{u as s}from"./p-ce1516e7.js";import"./p-4df2e85f.js";const c=class{constructor(e){t(this,e),this.calciteStepperItemChange=i(this,"calciteStepperItemChange",7),this.calciteInternalStepperItemChange=i(this,"calciteInternalStepperItemChange",7),this.icon=!1,this.layout="horizontal",this.numbered=!1,this.scale="m",this.itemMap=new Map,this.items=[],this.enabledItems=[]}contentWatcher(){"horizontal"===this.layout&&(!this.stepperContentContainer&&this.requestedContent&&this.addHorizontalContentContainer(),this.updateContent(this.requestedContent))}componentDidLoad(){"number"!=typeof this.currentPosition&&this.calciteInternalStepperItemChange.emit({position:0})}componentWillLoad(){"horizontal"!==this.layout||this.stepperContentContainer||this.addHorizontalContentContainer()}render(){return e("slot",null)}calciteInternalStepperItemKeyEvent(t){const i=t.detail.item,e=t.target,a=0===this.itemIndex(e),n=this.itemIndex(e)===this.enabledItems.length-1;switch(i.key){case"ArrowDown":case"ArrowRight":n?this.focusFirstItem():this.focusNextItem(e);break;case"ArrowUp":case"ArrowLeft":a?this.focusLastItem():this.focusPrevItem(e);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem()}t.stopPropagation()}registerItem(t){const i=t.target,{content:e,position:a}=t.detail;e&&i.active&&(this.requestedContent=e),this.itemMap.set(i,{position:a,content:e}),this.items=this.sortItems(),this.enabledItems=this.filterItems(),t.stopPropagation()}updateItem(t){const{content:i,position:e}=t.detail;i&&(this.requestedContent=i),"number"==typeof e&&(this.currentPosition=e),this.calciteInternalStepperItemChange.emit({position:e}),t.stopPropagation()}handleUserRequestedStepperItemSelect(t){const{position:i}=t.detail;this.calciteStepperItemChange.emit({position:i}),t.stopPropagation()}async nextStep(){const t=this.getEnabledStepIndex(this.currentPosition+1,"next");"number"==typeof t&&this.updateStep(t)}async prevStep(){const t=this.getEnabledStepIndex(this.currentPosition-1,"previous");"number"==typeof t&&this.updateStep(t)}async goToStep(t){const i=t-1;this.currentPosition!==i&&this.updateStep(i)}async startStep(){const t=this.getEnabledStepIndex(0,"next");"number"==typeof t&&this.updateStep(t)}async endStep(){const t=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof t&&this.updateStep(t)}getEnabledStepIndex(t,i="next"){var e;const{items:a,currentPosition:n}=this;let r=t;for(;null===(e=a[r])||void 0===e?void 0:e.disabled;)r+="previous"===i?-1:1;return r!==n&&r<a.length&&r>=0?r:null}addHorizontalContentContainer(){this.stepperContentContainer=document.createElement("div"),this.stepperContentContainer.classList.add("calcite-stepper-content"),this.el.insertAdjacentElement("beforeend",this.stepperContentContainer)}updateStep(t){var i;const{itemMap:e,items:a}=this;this.currentPosition=t;const n=null===(i=e.get(a[t]))||void 0===i?void 0:i.content;n&&(this.requestedContent=n),this.calciteInternalStepperItemChange.emit({position:t})}focusFirstItem(){this.focusElement(this.enabledItems[0])}focusLastItem(){this.focusElement(this.enabledItems[this.enabledItems.length-1])}focusNextItem(t){const i=this.itemIndex(t);this.focusElement(this.enabledItems[i+1]||this.enabledItems[0])}focusPrevItem(t){const i=this.itemIndex(t);this.focusElement(this.enabledItems[i-1]||this.enabledItems[this.enabledItems.length-1])}itemIndex(t){return this.enabledItems.indexOf(t)}focusElement(t){null==t||t.focus()}sortItems(){const{itemMap:t}=this;return Array.from(t.keys()).sort(((i,e)=>t.get(i).position-t.get(e).position))}filterItems(){return this.items.filter((t=>!t.disabled))}updateContent(t){this.stepperContentContainer.innerHTML="",this.stepperContentContainer.append(...t)}get el(){return a(this)}static get watchers(){return{requestedContent:["contentWatcher"]}}};c.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;width:100%;min-width:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:justify;justify-content:space-between}:host([layout=vertical]){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host ::slotted(.calcite-stepper-content){display:-ms-flexbox;display:flex;width:100%;min-width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap}";const l=class{constructor(e){t(this,e),this.calciteInternalStepperItemKeyEvent=i(this,"calciteInternalStepperItemKeyEvent",7),this.calciteInternalStepperItemSelect=i(this,"calciteInternalStepperItemSelect",7),this.calciteInternalUserRequestedStepperItemSelect=i(this,"calciteInternalUserRequestedStepperItemSelect",7),this.calciteInternalStepperItemRegister=i(this,"calciteInternalStepperItemRegister",7),this.active=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.layout="horizontal",this.icon=!1,this.numbered=!1,this.scale="m",this.keyDownHandler=t=>{if(!this.disabled&&t.target===this.el)switch(t.key){case" ":case"Enter":this.emitUserRequestedItem(),t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:t}),t.preventDefault()}},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition,content:this.itemContent})},this.setItemContent=t=>{this.itemPosition=this.getItemPosition();const i=t.target.assignedNodes({flatten:!0});i.length&&(this.itemContent=i),this.registerStepperItem(),this.active&&this.emitRequestedItem()}}disabledWatcher(){this.registerStepperItem()}activeWatcher(t){t&&this.emitRequestedItem()}componentWillLoad(){this.icon=r(this.el,"icon",!1),this.numbered=r(this.el,"numbered",!1),this.layout=r(this.el,"layout",!1),this.scale=r(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement}componentDidRender(){s(this,!0)}render(){return e(n,{"aria-expanded":o(this.active),onClick:this.emitUserRequestedItem,onKeyDown:this.keyDownHandler},e("div",{class:"container"},e("div",{class:"stepper-item-header"},this.icon?this.renderIcon():null,this.numbered?e("div",{class:"stepper-item-number"},this.getItemPosition()+1,"."):null,e("div",{class:"stepper-item-header-text"},e("span",{class:"stepper-item-heading"},this.heading||this.itemTitle),e("span",{class:"stepper-item-description"},this.description||this.itemSubtitle))),e("div",{class:"stepper-item-content"},e("slot",{onSlotchange:this.setItemContent}))))}updateActiveItemOnChange(t){(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl))&&(this.activePosition=t.detail.position,this.determineActiveItem()),t.stopPropagation()}renderIcon(){return e("calcite-icon",{class:"stepper-item-icon",icon:this.active?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineActiveItem(){this.active=!this.disabled&&this.itemPosition===this.activePosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition,content:this.itemContent})}getItemPosition(){return Array.prototype.indexOf.call(this.parentStepperEl.querySelectorAll("calcite-stepper-item"),this.el)}get el(){return a(this)}static get watchers(){return{disabled:["disabledWatcher"],active:["activeWatcher"]}}};l.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:start;align-self:flex-start;margin-bottom:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-top-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;width:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-top:1px;display:-ms-inline-flexbox;display:inline-flex;height:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:-ms-flexbox;display:flex;width:100%}:host .stepper-item-heading{margin-bottom:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-top-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([active])) .container,:host(:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([active])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-description,:host(:focus:not([disabled]):not([active])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-top-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([active]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .container{margin-left:0px;margin-right:0px;margin-top:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-top-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{-ms-flex-order:3;order:3;margin-top:1px;margin-bottom:0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child){margin-bottom:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][active]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical]:hover:not([disabled]):not([active])) .container,:host([layout=vertical]:focus:not([disabled]):not([active])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([active]) .container{border-top-color:highlight}:host([active]) .container .stepper-item-number{color:highlight}:host([active]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][active]) .container{border-color:highlight}}";export{c as calcite_stepper,l as calcite_stepper_item}
6
+ import{r as t,c as i,h as e,g as a,H as n}from"./p-a2d85054.js";import{d as r,t as o}from"./p-acca73c8.js";import{u as s}from"./p-9eed3553.js";import"./p-a0498b24.js";const c=class{constructor(e){t(this,e),this.calciteStepperItemChange=i(this,"calciteStepperItemChange",7),this.calciteInternalStepperItemChange=i(this,"calciteInternalStepperItemChange",7),this.icon=!1,this.layout="horizontal",this.numbered=!1,this.scale="m",this.itemMap=new Map,this.items=[],this.enabledItems=[]}contentWatcher(){"horizontal"===this.layout&&(!this.stepperContentContainer&&this.requestedContent&&this.addHorizontalContentContainer(),this.updateContent(this.requestedContent))}componentDidLoad(){"number"!=typeof this.currentPosition&&this.calciteInternalStepperItemChange.emit({position:0})}componentWillLoad(){"horizontal"!==this.layout||this.stepperContentContainer||this.addHorizontalContentContainer()}render(){return e("slot",null)}calciteInternalStepperItemKeyEvent(t){const i=t.detail.item,e=t.target,a=0===this.itemIndex(e),n=this.itemIndex(e)===this.enabledItems.length-1;switch(i.key){case"ArrowDown":case"ArrowRight":n?this.focusFirstItem():this.focusNextItem(e);break;case"ArrowUp":case"ArrowLeft":a?this.focusLastItem():this.focusPrevItem(e);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem()}t.stopPropagation()}registerItem(t){const i=t.target,{content:e,position:a}=t.detail;e&&i.active&&(this.requestedContent=e),this.itemMap.set(i,{position:a,content:e}),this.items=this.sortItems(),this.enabledItems=this.filterItems(),t.stopPropagation()}updateItem(t){const{content:i,position:e}=t.detail;i&&(this.requestedContent=i),"number"==typeof e&&(this.currentPosition=e),this.calciteInternalStepperItemChange.emit({position:e}),t.stopPropagation()}handleUserRequestedStepperItemSelect(t){const{position:i}=t.detail;this.calciteStepperItemChange.emit({position:i}),t.stopPropagation()}async nextStep(){const t=this.getEnabledStepIndex(this.currentPosition+1,"next");"number"==typeof t&&this.updateStep(t)}async prevStep(){const t=this.getEnabledStepIndex(this.currentPosition-1,"previous");"number"==typeof t&&this.updateStep(t)}async goToStep(t){const i=t-1;this.currentPosition!==i&&this.updateStep(i)}async startStep(){const t=this.getEnabledStepIndex(0,"next");"number"==typeof t&&this.updateStep(t)}async endStep(){const t=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof t&&this.updateStep(t)}getEnabledStepIndex(t,i="next"){var e;const{items:a,currentPosition:n}=this;let r=t;for(;null===(e=a[r])||void 0===e?void 0:e.disabled;)r+="previous"===i?-1:1;return r!==n&&r<a.length&&r>=0?r:null}addHorizontalContentContainer(){this.stepperContentContainer=document.createElement("div"),this.stepperContentContainer.classList.add("calcite-stepper-content"),this.el.insertAdjacentElement("beforeend",this.stepperContentContainer)}updateStep(t){var i;const{itemMap:e,items:a}=this;this.currentPosition=t;const n=null===(i=e.get(a[t]))||void 0===i?void 0:i.content;n&&(this.requestedContent=n),this.calciteInternalStepperItemChange.emit({position:t})}focusFirstItem(){this.focusElement(this.enabledItems[0])}focusLastItem(){this.focusElement(this.enabledItems[this.enabledItems.length-1])}focusNextItem(t){const i=this.itemIndex(t);this.focusElement(this.enabledItems[i+1]||this.enabledItems[0])}focusPrevItem(t){const i=this.itemIndex(t);this.focusElement(this.enabledItems[i-1]||this.enabledItems[this.enabledItems.length-1])}itemIndex(t){return this.enabledItems.indexOf(t)}focusElement(t){null==t||t.focus()}sortItems(){const{itemMap:t}=this;return Array.from(t.keys()).sort(((i,e)=>t.get(i).position-t.get(e).position))}filterItems(){return this.items.filter((t=>!t.disabled))}updateContent(t){this.stepperContentContainer.innerHTML="",this.stepperContentContainer.append(...t)}get el(){return a(this)}static get watchers(){return{requestedContent:["contentWatcher"]}}};c.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;width:100%;min-width:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:justify;justify-content:space-between}:host([layout=vertical]){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host ::slotted(.calcite-stepper-content){display:-ms-flexbox;display:flex;width:100%;min-width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap}";const l=class{constructor(e){t(this,e),this.calciteInternalStepperItemKeyEvent=i(this,"calciteInternalStepperItemKeyEvent",7),this.calciteInternalStepperItemSelect=i(this,"calciteInternalStepperItemSelect",7),this.calciteInternalUserRequestedStepperItemSelect=i(this,"calciteInternalUserRequestedStepperItemSelect",7),this.calciteInternalStepperItemRegister=i(this,"calciteInternalStepperItemRegister",7),this.active=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.layout="horizontal",this.icon=!1,this.numbered=!1,this.scale="m",this.keyDownHandler=t=>{if(!this.disabled&&t.target===this.el)switch(t.key){case" ":case"Enter":this.emitUserRequestedItem(),t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:t}),t.preventDefault()}},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition,content:this.itemContent})},this.setItemContent=t=>{this.itemPosition=this.getItemPosition();const i=t.target.assignedNodes({flatten:!0});i.length&&(this.itemContent=i),this.registerStepperItem(),this.active&&this.emitRequestedItem()}}disabledWatcher(){this.registerStepperItem()}activeWatcher(t){t&&this.emitRequestedItem()}componentWillLoad(){this.icon=r(this.el,"icon",!1),this.numbered=r(this.el,"numbered",!1),this.layout=r(this.el,"layout",!1),this.scale=r(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement}componentDidRender(){s(this,!0)}render(){return e(n,{"aria-expanded":o(this.active),onClick:this.emitUserRequestedItem,onKeyDown:this.keyDownHandler},e("div",{class:"container"},e("div",{class:"stepper-item-header"},this.icon?this.renderIcon():null,this.numbered?e("div",{class:"stepper-item-number"},this.getItemPosition()+1,"."):null,e("div",{class:"stepper-item-header-text"},e("span",{class:"stepper-item-heading"},this.heading||this.itemTitle),e("span",{class:"stepper-item-description"},this.description||this.itemSubtitle))),e("div",{class:"stepper-item-content"},e("slot",{onSlotchange:this.setItemContent}))))}updateActiveItemOnChange(t){(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl))&&(this.activePosition=t.detail.position,this.determineActiveItem()),t.stopPropagation()}renderIcon(){return e("calcite-icon",{class:"stepper-item-icon",icon:this.active?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineActiveItem(){this.active=!this.disabled&&this.itemPosition===this.activePosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition,content:this.itemContent})}getItemPosition(){return Array.prototype.indexOf.call(this.parentStepperEl.querySelectorAll("calcite-stepper-item"),this.el)}get el(){return a(this)}static get watchers(){return{disabled:["disabledWatcher"],active:["activeWatcher"]}}};l.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:start;align-self:flex-start;margin-bottom:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-top-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;width:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-top:1px;display:-ms-inline-flexbox;display:inline-flex;height:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:-ms-flexbox;display:flex;width:100%}:host .stepper-item-heading{margin-bottom:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-top-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([active])) .container,:host(:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([active])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-description,:host(:focus:not([disabled]):not([active])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-top-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([active]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .container{margin-left:0px;margin-right:0px;margin-top:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-top-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{-ms-flex-order:3;order:3;margin-top:1px;margin-bottom:0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child){margin-bottom:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][active]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical]:hover:not([disabled]):not([active])) .container,:host([layout=vertical]:focus:not([disabled]):not([active])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([active]) .container{border-top-color:highlight}:host([active]) .container .stepper-item-number{color:highlight}:host([active]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][active]) .container{border-color:highlight}}";export{c as calcite_stepper,l as calcite_stepper_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.505
4
+ * v1.0.0-next.506
5
5
  */
6
6
  const o={menuActions:"menu-actions",menuTooltip:"menu-tooltip"},e={more:"More"},n={menu:"ellipsis"};export{n as I,o as S,e as T}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.505
4
+ * v1.0.0-next.506
5
5
  */
6
- System.register(["./p-478c47d5.system.js","./p-8af062d3.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:l,d:s,r:f,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}"requestSubmit"in t?t.requestSubmit():t.submit()}function f(e){var t;(t=e.formEl)===null||t===void 0?void 0:t.reset()}function l(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 f=(e.onFormReset||d).bind(e);c.addEventListener("reset",f);u.set(e.el,f);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}function m(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){return e.remove()}));return}var c=Array.isArray(u)?u:[u];var f=[];var l=new Set;o.forEach((function(t){var n=c.find((function(e){return e==t.value}));if(n!=null){l.add(n);h(e,t,n)}else{f.push(t)}}));var d;c.forEach((function(t){if(l.has(t)){return}var n=f.pop();if(!n){n=i.createElement("input");n.slot=r}if(!d){d=i.createDocumentFragment()}d.append(n);h(e,n,t)}));if(d){t.append(d)}f.forEach((function(e){return e.remove()}))}function h(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 p=e("H",(function(e){var t=e.component;m(t);return n("slot",{name:r})}))}}}));
6
+ System.register(["./p-dd4fe7e1.system.js","./p-ab179ff5.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:l,d:s,r:c,s:f});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 f(e){var t=e.formEl;if(!t){return}"requestSubmit"in t?t.requestSubmit():t.submit()}function c(e){var t;(t=e.formEl)===null||t===void 0?void 0:t.reset()}function l(e){var n=e.el,r=e.value;var f=t(n,"form");if(!f||o(f,n)){return}e.formEl=f;e.defaultValue=r;if(a(e)){e.defaultChecked=e.checked}var c=(e.onFormReset||d).bind(e);f.addEventListener("reset",c);u.set(e.el,c);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}function m(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){return e.remove()}));return}var f=Array.isArray(u)?u:[u];var c=[];var l=new Set;o.forEach((function(t){var n=f.find((function(e){return e==t.value}));if(n!=null){l.add(n);h(e,t,n)}else{c.push(t)}}));var d;f.forEach((function(t){if(l.has(t)){return}var n=c.pop();if(!n){n=i.createElement("input");n.slot=r}if(!d){d=i.createDocumentFragment()}d.append(n);h(e,n,t)}));if(d){t.append(d)}c.forEach((function(e){return e.remove()}))}function h(e,t,n){var r;var u=e.defaultValue,i=e.disabled,o=e.name,f=e.required;t.defaultValue=u;t.disabled=i;t.name=o;t.required=f;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 p=e("H",(function(e){var t=e.component;m(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.505
4
+ * v1.0.0-next.506
5
5
  */
6
- import{a as t}from"./p-f13ea8ea.js";var n="top",e="bottom",r="right",o="left",i=[n,e,r,o],a=i.reduce((function(t,n){return t.concat([n+"-start",n+"-end"])}),[]),u=[].concat(i,["auto"]).reduce((function(t,n){return t.concat([n,n+"-start",n+"-end"])}),[]),f=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function c(t){return t?(t.nodeName||"").toLowerCase():null}function s(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function p(t){return t instanceof s(t).Element||t instanceof Element}function l(t){return t instanceof s(t).HTMLElement||t instanceof HTMLElement}function d(t){return"undefined"!=typeof ShadowRoot&&(t instanceof s(t).ShadowRoot||t instanceof ShadowRoot)}function v(t){return t.split("-")[0]}var b=Math.max,m=Math.min,h=Math.round;function y(t,n){void 0===n&&(n=!1);var e=t.getBoundingClientRect(),r=1,o=1;if(l(t)&&n){var i=t.offsetHeight,a=t.offsetWidth;a>0&&(r=h(e.width)/a||1),i>0&&(o=h(e.height)/i||1)}return{width:e.width/r,height:e.height/o,top:e.top/o,right:e.right/r,bottom:e.bottom/o,left:e.left/r,x:e.left/r,y:e.top/o}}function g(t){var n=y(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function x(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&d(e)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function w(t){return s(t).getComputedStyle(t)}function O(t){return["table","td","th"].indexOf(c(t))>=0}function j(t){return((p(t)?t.ownerDocument:t.document)||window.document).documentElement}function M(t){return"html"===c(t)?t:t.assignedSlot||t.parentNode||(d(t)?t.host:null)||j(t)}function k(t){return l(t)&&"fixed"!==w(t).position?t.offsetParent:null}function E(t){for(var n=s(t),e=k(t);e&&O(e)&&"static"===w(e).position;)e=k(e);return e&&("html"===c(e)||"body"===c(e)&&"static"===w(e).position)?n:e||function(t){var n=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&l(t)&&"fixed"===w(t).position)return null;var e=M(t);for(d(e)&&(e=e.host);l(e)&&["html","body"].indexOf(c(e))<0;){var r=w(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return e;e=e.parentNode}return null}(t)||n}function P(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function A(t,n,e){return b(t,m(n,e))}function q(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function B(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}function R(t){return t.split("-")[1]}var S={top:"auto",right:"auto",bottom:"auto",left:"auto"};function T(t){var i,a=t.popper,u=t.popperRect,f=t.placement,c=t.variation,p=t.offsets,l=t.position,d=t.gpuAcceleration,v=t.adaptive,b=t.roundOffsets,m=t.isFixed,y=p.x,g=void 0===y?0:y,x=p.y,O=void 0===x?0:x,M="function"==typeof b?b({x:g,y:O}):{x:g,y:O};g=M.x,O=M.y;var k=p.hasOwnProperty("x"),P=p.hasOwnProperty("y"),A=o,q=n,B=window;if(v){var R=E(a),T="clientHeight",W="clientWidth";R===s(a)&&"static"!==w(R=j(a)).position&&"absolute"===l&&(T="scrollHeight",W="scrollWidth"),R=R,(f===n||(f===o||f===r)&&"end"===c)&&(q=e,O-=(m&&R===B&&B.visualViewport?B.visualViewport.height:R[T])-u.height,O*=d?1:-1),f!==o&&(f!==n&&f!==e||"end"!==c)||(A=r,g-=(m&&R===B&&B.visualViewport?B.visualViewport.width:R[W])-u.width,g*=d?1:-1)}var I,L=Object.assign({position:l},v&&S),$=!0===b?function(t){var n=t.y,e=window.devicePixelRatio||1;return{x:h(t.x*e)/e||0,y:h(n*e)/e||0}}({x:g,y:O}):{x:g,y:O};return g=$.x,O=$.y,Object.assign({},L,d?((I={})[q]=P?"0":"",I[A]=k?"0":"",I.transform=(B.devicePixelRatio||1)<=1?"translate("+g+"px, "+O+"px)":"translate3d("+g+"px, "+O+"px, 0)",I):((i={})[q]=P?O+"px":"",i[A]=k?g+"px":"",i.transform="",i))}var W={passive:!0},I={left:"right",right:"left",bottom:"top",top:"bottom"};function L(t){return t.replace(/left|right|bottom|top/g,(function(t){return I[t]}))}var $={start:"end",end:"start"};function H(t){return t.replace(/start|end/g,(function(t){return $[t]}))}function C(t){var n=s(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function z(t){return y(j(t)).left+C(t).scrollLeft}function D(t){var n=w(t);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function F(t){return["html","body","#document"].indexOf(c(t))>=0?t.ownerDocument.body:l(t)&&D(t)?t:F(M(t))}function U(t,n){var e;void 0===n&&(n=[]);var r=F(t),o=r===(null==(e=t.ownerDocument)?void 0:e.body),i=s(r),a=o?[i].concat(i.visualViewport||[],D(r)?r:[]):r,u=n.concat(a);return o?u:u.concat(U(M(a)))}function V(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function _(t,n){return"viewport"===n?V(function(t){var n=s(t),e=j(t),r=n.visualViewport,o=e.clientWidth,i=e.clientHeight,a=0,u=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,u=r.offsetTop)),{width:o,height:i,x:a+z(t),y:u}}(t)):p(n)?function(t){var n=y(t);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(n):V(function(t){var n,e=j(t),r=C(t),o=null==(n=t.ownerDocument)?void 0:n.body,i=b(e.scrollWidth,e.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=b(e.scrollHeight,e.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+z(t),f=-r.scrollTop;return"rtl"===w(o||e).direction&&(u+=b(e.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:f}}(j(t)))}function G(t){var i,a=t.reference,u=t.element,f=t.placement,c=f?v(f):null,s=f?R(f):null,p=a.x+a.width/2-u.width/2,l=a.y+a.height/2-u.height/2;switch(c){case n:i={x:p,y:a.y-u.height};break;case e:i={x:p,y:a.y+a.height};break;case r:i={x:a.x+a.width,y:l};break;case o:i={x:a.x-u.width,y:l};break;default:i={x:a.x,y:a.y}}var d=c?P(c):null;if(null!=d){var b="y"===d?"height":"width";switch(s){case"start":i[d]=i[d]-(a[b]/2-u[b]/2);break;case"end":i[d]=i[d]+(a[b]/2-u[b]/2)}}return i}function J(t,o){void 0===o&&(o={});var a=o.placement,u=void 0===a?t.placement:a,f=o.boundary,s=void 0===f?"clippingParents":f,d=o.rootBoundary,v=void 0===d?"viewport":d,h=o.elementContext,g=void 0===h?"popper":h,O=o.altBoundary,k=void 0!==O&&O,P=o.padding,A=void 0===P?0:P,R=q("number"!=typeof A?A:B(A,i)),S=t.rects.popper,T=t.elements[k?"popper"===g?"reference":"popper":g],W=function(t,n,e){var r="clippingParents"===n?function(t){var n=U(M(t)),e=["absolute","fixed"].indexOf(w(t).position)>=0&&l(t)?E(t):t;return p(e)?n.filter((function(t){return p(t)&&x(t,e)&&"body"!==c(t)})):[]}(t):[].concat(n),o=[].concat(r,[e]),i=o.reduce((function(n,e){var r=_(t,e);return n.top=b(r.top,n.top),n.right=m(r.right,n.right),n.bottom=m(r.bottom,n.bottom),n.left=b(r.left,n.left),n}),_(t,o[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}(p(T)?T:T.contextElement||j(t.elements.popper),s,v),I=y(t.elements.reference),L=G({reference:I,element:S,strategy:"absolute",placement:u}),$=V(Object.assign({},S,L)),H="popper"===g?$:I,C={top:W.top-H.top+R.top,bottom:H.bottom-W.bottom+R.bottom,left:W.left-H.left+R.left,right:H.right-W.right+R.right},z=t.modifiersData.offset;if("popper"===g&&z){var D=z[u];Object.keys(C).forEach((function(t){var o=[r,e].indexOf(t)>=0?1:-1,i=[n,e].indexOf(t)>=0?"y":"x";C[t]+=D[i]*o}))}return C}function K(t,n){void 0===n&&(n={});var e=n.boundary,r=n.rootBoundary,o=n.padding,f=n.flipVariations,c=n.allowedAutoPlacements,s=void 0===c?u:c,p=R(n.placement),l=p?f?a:a.filter((function(t){return R(t)===p})):i,d=l.filter((function(t){return s.indexOf(t)>=0}));0===d.length&&(d=l);var b=d.reduce((function(n,i){return n[i]=J(t,{placement:i,boundary:e,rootBoundary:r,padding:o})[v(i)],n}),{});return Object.keys(b).sort((function(t,n){return b[t]-b[n]}))}function N(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function Q(t){return[n,r,e,o].some((function(n){return t[n]>=0}))}function X(t,n,e){void 0===e&&(e=!1);var r,o,i=l(n),a=l(n)&&function(t){var n=t.getBoundingClientRect(),e=h(n.width)/t.offsetWidth||1,r=h(n.height)/t.offsetHeight||1;return 1!==e||1!==r}(n),u=j(n),f=y(t,a),p={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(i||!i&&!e)&&(("body"!==c(n)||D(u))&&(p=(r=n)!==s(r)&&l(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:C(r)),l(n)?((d=y(n,!0)).x+=n.clientLeft,d.y+=n.clientTop):u&&(d.x=z(u))),{x:f.left+p.scrollLeft-d.x,y:f.top+p.scrollTop-d.y,width:f.width,height:f.height}}function Y(t){var n=new Map,e=new Set,r=[];function o(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var r=n.get(t);r&&o(r)}})),r.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||o(t)})),r}var Z={placement:"bottom",modifiers:[],strategy:"absolute"};function tt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function nt(t){void 0===t&&(t={});var n=t.defaultModifiers,e=void 0===n?[]:n,r=t.defaultOptions,o=void 0===r?Z:r;return function(t,n,r){void 0===r&&(r=o);var i,a,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Z,o),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},c=[],s=!1,l={state:u,setOptions:function(r){var i="function"==typeof r?r(u.options):r;d(),u.options=Object.assign({},o,u.options,i),u.scrollParents={reference:p(t)?U(t):t.contextElement?U(t.contextElement):[],popper:U(n)};var a,s,v=function(t){var n=Y(t);return f.reduce((function(t,e){return t.concat(n.filter((function(t){return t.phase===e})))}),[])}((a=[].concat(e,u.options.modifiers),s=a.reduce((function(t,n){var e=t[n.name];return t[n.name]=e?Object.assign({},e,n,{options:Object.assign({},e.options,n.options),data:Object.assign({},e.data,n.data)}):n,t}),{}),Object.keys(s).map((function(t){return s[t]}))));return u.orderedModifiers=v.filter((function(t){return t.enabled})),u.orderedModifiers.forEach((function(t){var n=t.options,e=t.effect;if("function"==typeof e){var r=e({state:u,name:t.name,instance:l,options:void 0===n?{}:n});c.push(r||function(){})}})),l.update()},forceUpdate:function(){if(!s){var t=u.elements,n=t.reference,e=t.popper;if(tt(n,e)){u.rects={reference:X(n,E(e),"fixed"===u.options.strategy),popper:g(e)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(t){return u.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<u.orderedModifiers.length;r++)if(!0!==u.reset){var o=u.orderedModifiers[r],i=o.fn,a=o.options;"function"==typeof i&&(u=i({state:u,options:void 0===a?{}:a,name:o.name,instance:l})||u)}else u.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){l.forceUpdate(),t(u)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){d(),s=!0}};if(!tt(t,n))return l;function d(){c.forEach((function(t){return t()})),c=[]}return l.setOptions(r).then((function(t){!s&&r.onFirstUpdate&&r.onFirstUpdate(t)})),l}}var et=nt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,a=r.resize,u=void 0===a||a,f=s(n.elements.popper),c=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&c.forEach((function(t){t.addEventListener("scroll",e.update,W)})),u&&f.addEventListener("resize",e.update,W),function(){i&&c.forEach((function(t){t.removeEventListener("scroll",e.update,W)})),u&&f.removeEventListener("resize",e.update,W)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state;n.modifiersData[t.name]=G({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,r=e.gpuAcceleration,o=void 0===r||r,i=e.adaptive,a=void 0===i||i,u=e.roundOffsets,f=void 0===u||u,c={placement:v(n.placement),variation:R(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:o,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,T(Object.assign({},c,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:f})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,T(Object.assign({},c,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},r=n.attributes[t]||{},o=n.elements[t];l(o)&&c(o)&&(Object.assign(o.style,e),Object.keys(r).forEach((function(t){var n=r[t];!1===n?o.removeAttribute(t):o.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var r=n.elements[t],o=n.attributes[t]||{},i=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});l(r)&&c(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.name,a=t.options.offset,f=void 0===a?[0,0]:a,c=u.reduce((function(t,i){return t[i]=function(t,e,i){var a=v(t),u=[o,n].indexOf(a)>=0?-1:1,f="function"==typeof i?i(Object.assign({},e,{placement:t})):i,c=f[0],s=f[1];return c=c||0,s=(s||0)*u,[o,r].indexOf(a)>=0?{x:s,y:c}:{x:c,y:s}}(i,e.rects,f),t}),{}),s=c[e.placement],p=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=s.x,e.modifiersData.popperOffsets.y+=p),e.modifiersData[i]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var i=t.state,a=t.options,u=t.name;if(!i.modifiersData[u]._skip){for(var f=a.mainAxis,c=void 0===f||f,s=a.altAxis,p=void 0===s||s,l=a.fallbackPlacements,d=a.padding,b=a.boundary,m=a.rootBoundary,h=a.altBoundary,y=a.flipVariations,g=void 0===y||y,x=a.allowedAutoPlacements,w=i.options.placement,O=v(w),j=l||(O!==w&&g?function(t){if("auto"===v(t))return[];var n=L(t);return[H(t),n,H(n)]}(w):[L(w)]),M=[w].concat(j).reduce((function(t,n){return t.concat("auto"===v(n)?K(i,{placement:n,boundary:b,rootBoundary:m,padding:d,flipVariations:g,allowedAutoPlacements:x}):n)}),[]),k=i.rects.reference,E=i.rects.popper,P=new Map,A=!0,q=M[0],B=0;B<M.length;B++){var S=M[B],T=v(S),W="start"===R(S),I=[n,e].indexOf(T)>=0,$=I?"width":"height",C=J(i,{placement:S,boundary:b,rootBoundary:m,altBoundary:h,padding:d}),z=I?W?r:o:W?e:n;k[$]>E[$]&&(z=L(z));var D=L(z),F=[];if(c&&F.push(C[T]<=0),p&&F.push(C[z]<=0,C[D]<=0),F.every((function(t){return t}))){q=S,A=!1;break}P.set(S,F)}if(A)for(var U=function(t){var n=M.find((function(n){var e=P.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return q=n,"break"},V=g?3:1;V>0&&"break"!==U(V);V--);i.placement!==q&&(i.modifiersData[u]._skip=!0,i.placement=q,i.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var i=t.state,a=t.options,u=t.name,f=a.mainAxis,c=void 0===f||f,s=a.altAxis,p=void 0!==s&&s,l=a.tether,d=void 0===l||l,h=a.tetherOffset,y=void 0===h?0:h,x=J(i,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),w=v(i.placement),O=R(i.placement),j=!O,M=P(w),k="x"===M?"y":"x",q=i.modifiersData.popperOffsets,B=i.rects.reference,S=i.rects.popper,T="function"==typeof y?y(Object.assign({},i.rects,{placement:i.placement})):y,W="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),I=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,L={x:0,y:0};if(q){if(c){var $,H="y"===M?n:o,C="y"===M?e:r,z="y"===M?"height":"width",D=q[M],F=D+x[H],U=D-x[C],V=d?-S[z]/2:0,_="start"===O?B[z]:S[z],G="start"===O?-S[z]:-B[z],K=i.elements.arrow,N=d&&K?g(K):{width:0,height:0},Q=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=Q[H],Y=Q[C],Z=A(0,B[z],N[z]),tt=j?B[z]/2-V-Z-X-W.mainAxis:_-Z-X-W.mainAxis,nt=j?-B[z]/2+V+Z+Y+W.mainAxis:G+Z+Y+W.mainAxis,et=i.elements.arrow&&E(i.elements.arrow),rt=null!=($=null==I?void 0:I[M])?$:0,ot=D+nt-rt,it=A(d?m(F,D+tt-rt-(et?"y"===M?et.clientTop||0:et.clientLeft||0:0)):F,D,d?b(U,ot):U);q[M]=it,L[M]=it-D}if(p){var at,ut=q[k],ft="y"===k?"height":"width",ct=ut+x["x"===M?n:o],st=ut-x["x"===M?e:r],pt=-1!==[n,o].indexOf(w),lt=null!=(at=null==I?void 0:I[k])?at:0,dt=pt?ct:ut-B[ft]-S[ft]-lt+W.altAxis,vt=pt?ut+B[ft]+S[ft]-lt-W.altAxis:st,bt=d&&pt?function(t,n,e){var r=A(t,n,e);return r>e?e:r}(dt,ut,vt):A(d?dt:ct,ut,d?vt:st);q[k]=bt,L[k]=bt-ut}i.modifiersData[u]=L}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var a,u=t.state,f=t.name,c=t.options,s=u.elements.arrow,p=u.modifiersData.popperOffsets,l=v(u.placement),d=P(l),b=[o,r].indexOf(l)>=0?"height":"width";if(s&&p){var m=function(t,n){return q("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:B(t,i))}(c.padding,u),h=g(s),y="y"===d?n:o,x="y"===d?e:r,w=u.rects.reference[b]+u.rects.reference[d]-p[d]-u.rects.popper[b],O=p[d]-u.rects.reference[d],j=E(s),M=j?"y"===d?j.clientHeight||0:j.clientWidth||0:0,k=M/2-h[b]/2+(w/2-O/2),R=A(m[y],k,M-h[b]-m[x]);u.modifiersData[f]=((a={})[d]=R,a.centerOffset=R-k,a)}},effect:function(t){var n=t.state,e=t.options.element,r=void 0===e?"[data-popper-arrow]":e;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&x(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,r=n.rects.reference,o=n.rects.popper,i=n.modifiersData.preventOverflow,a=J(n,{elementContext:"reference"}),u=J(n,{altBoundary:!0}),f=N(a,r),c=N(u,o,i),s=Q(f),p=Q(c);n.modifiersData[e]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:s,hasPopperEscaped:p},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":s,"data-popper-escaped":p})}}]});const rt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],ot="bottom-leading",it=["top-start","top","top-end","bottom-start","bottom","bottom-end"],at={animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"};function ut(t,n){const e=t.filter((t=>rt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${rt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ft(n,e){const r=["left","right"],o=["start","end"];return"rtl"===t(n)&&(r.reverse(),o.reverse()),e.replace(/-leading/gi,`-${o[0]}`).replace(/-trailing/gi,`-${o[1]}`).replace(/leading/gi,r[0]).replace(/trailing/gi,r[1])}function ct({referenceEl:t,el:n,placement:e,overlayPositioning:r="absolute",modifiers:o}){return t?et(t,n,{strategy:r,placement:ft(n,e),modifiers:o}):null}async function st({el:t,modifiers:n,placement:e,popper:r}){const o=ft(t,e);await r.setOptions({modifiers:n,placement:o})}const pt=Math.ceil((4,Math.sqrt(Math.pow(4,2)+Math.pow(4,2))));export{at as C,pt as a,ct as c,ot as d,ut as f,it as p,st as u}
6
+ import{a as t}from"./p-acca73c8.js";var n="top",e="bottom",r="right",o="left",i=[n,e,r,o],a=i.reduce((function(t,n){return t.concat([n+"-start",n+"-end"])}),[]),u=[].concat(i,["auto"]).reduce((function(t,n){return t.concat([n,n+"-start",n+"-end"])}),[]),f=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function c(t){return t?(t.nodeName||"").toLowerCase():null}function s(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function p(t){return t instanceof s(t).Element||t instanceof Element}function l(t){return t instanceof s(t).HTMLElement||t instanceof HTMLElement}function d(t){return"undefined"!=typeof ShadowRoot&&(t instanceof s(t).ShadowRoot||t instanceof ShadowRoot)}function v(t){return t.split("-")[0]}var b=Math.max,m=Math.min,h=Math.round;function y(t,n){void 0===n&&(n=!1);var e=t.getBoundingClientRect(),r=1,o=1;if(l(t)&&n){var i=t.offsetHeight,a=t.offsetWidth;a>0&&(r=h(e.width)/a||1),i>0&&(o=h(e.height)/i||1)}return{width:e.width/r,height:e.height/o,top:e.top/o,right:e.right/r,bottom:e.bottom/o,left:e.left/r,x:e.left/r,y:e.top/o}}function g(t){var n=y(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function x(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&d(e)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function w(t){return s(t).getComputedStyle(t)}function O(t){return["table","td","th"].indexOf(c(t))>=0}function j(t){return((p(t)?t.ownerDocument:t.document)||window.document).documentElement}function M(t){return"html"===c(t)?t:t.assignedSlot||t.parentNode||(d(t)?t.host:null)||j(t)}function k(t){return l(t)&&"fixed"!==w(t).position?t.offsetParent:null}function E(t){for(var n=s(t),e=k(t);e&&O(e)&&"static"===w(e).position;)e=k(e);return e&&("html"===c(e)||"body"===c(e)&&"static"===w(e).position)?n:e||function(t){var n=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&l(t)&&"fixed"===w(t).position)return null;var e=M(t);for(d(e)&&(e=e.host);l(e)&&["html","body"].indexOf(c(e))<0;){var r=w(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return e;e=e.parentNode}return null}(t)||n}function P(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function A(t,n,e){return b(t,m(n,e))}function q(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function B(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}function R(t){return t.split("-")[1]}var S={top:"auto",right:"auto",bottom:"auto",left:"auto"};function T(t){var i,a=t.popper,u=t.popperRect,f=t.placement,c=t.variation,p=t.offsets,l=t.position,d=t.gpuAcceleration,v=t.adaptive,b=t.roundOffsets,m=t.isFixed,y=p.x,g=void 0===y?0:y,x=p.y,O=void 0===x?0:x,M="function"==typeof b?b({x:g,y:O}):{x:g,y:O};g=M.x,O=M.y;var k=p.hasOwnProperty("x"),P=p.hasOwnProperty("y"),A=o,q=n,B=window;if(v){var R=E(a),T="clientHeight",W="clientWidth";R===s(a)&&"static"!==w(R=j(a)).position&&"absolute"===l&&(T="scrollHeight",W="scrollWidth"),R=R,(f===n||(f===o||f===r)&&"end"===c)&&(q=e,O-=(m&&R===B&&B.visualViewport?B.visualViewport.height:R[T])-u.height,O*=d?1:-1),f!==o&&(f!==n&&f!==e||"end"!==c)||(A=r,g-=(m&&R===B&&B.visualViewport?B.visualViewport.width:R[W])-u.width,g*=d?1:-1)}var I,L=Object.assign({position:l},v&&S),$=!0===b?function(t){var n=t.y,e=window.devicePixelRatio||1;return{x:h(t.x*e)/e||0,y:h(n*e)/e||0}}({x:g,y:O}):{x:g,y:O};return g=$.x,O=$.y,Object.assign({},L,d?((I={})[q]=P?"0":"",I[A]=k?"0":"",I.transform=(B.devicePixelRatio||1)<=1?"translate("+g+"px, "+O+"px)":"translate3d("+g+"px, "+O+"px, 0)",I):((i={})[q]=P?O+"px":"",i[A]=k?g+"px":"",i.transform="",i))}var W={passive:!0},I={left:"right",right:"left",bottom:"top",top:"bottom"};function L(t){return t.replace(/left|right|bottom|top/g,(function(t){return I[t]}))}var $={start:"end",end:"start"};function H(t){return t.replace(/start|end/g,(function(t){return $[t]}))}function C(t){var n=s(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function z(t){return y(j(t)).left+C(t).scrollLeft}function D(t){var n=w(t);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function F(t){return["html","body","#document"].indexOf(c(t))>=0?t.ownerDocument.body:l(t)&&D(t)?t:F(M(t))}function U(t,n){var e;void 0===n&&(n=[]);var r=F(t),o=r===(null==(e=t.ownerDocument)?void 0:e.body),i=s(r),a=o?[i].concat(i.visualViewport||[],D(r)?r:[]):r,u=n.concat(a);return o?u:u.concat(U(M(a)))}function V(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function _(t,n){return"viewport"===n?V(function(t){var n=s(t),e=j(t),r=n.visualViewport,o=e.clientWidth,i=e.clientHeight,a=0,u=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,u=r.offsetTop)),{width:o,height:i,x:a+z(t),y:u}}(t)):p(n)?function(t){var n=y(t);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(n):V(function(t){var n,e=j(t),r=C(t),o=null==(n=t.ownerDocument)?void 0:n.body,i=b(e.scrollWidth,e.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=b(e.scrollHeight,e.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+z(t),f=-r.scrollTop;return"rtl"===w(o||e).direction&&(u+=b(e.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:f}}(j(t)))}function G(t){var i,a=t.reference,u=t.element,f=t.placement,c=f?v(f):null,s=f?R(f):null,p=a.x+a.width/2-u.width/2,l=a.y+a.height/2-u.height/2;switch(c){case n:i={x:p,y:a.y-u.height};break;case e:i={x:p,y:a.y+a.height};break;case r:i={x:a.x+a.width,y:l};break;case o:i={x:a.x-u.width,y:l};break;default:i={x:a.x,y:a.y}}var d=c?P(c):null;if(null!=d){var b="y"===d?"height":"width";switch(s){case"start":i[d]=i[d]-(a[b]/2-u[b]/2);break;case"end":i[d]=i[d]+(a[b]/2-u[b]/2)}}return i}function J(t,o){void 0===o&&(o={});var a=o.placement,u=void 0===a?t.placement:a,f=o.boundary,s=void 0===f?"clippingParents":f,d=o.rootBoundary,v=void 0===d?"viewport":d,h=o.elementContext,g=void 0===h?"popper":h,O=o.altBoundary,k=void 0!==O&&O,P=o.padding,A=void 0===P?0:P,R=q("number"!=typeof A?A:B(A,i)),S=t.rects.popper,T=t.elements[k?"popper"===g?"reference":"popper":g],W=function(t,n,e){var r="clippingParents"===n?function(t){var n=U(M(t)),e=["absolute","fixed"].indexOf(w(t).position)>=0&&l(t)?E(t):t;return p(e)?n.filter((function(t){return p(t)&&x(t,e)&&"body"!==c(t)})):[]}(t):[].concat(n),o=[].concat(r,[e]),i=o.reduce((function(n,e){var r=_(t,e);return n.top=b(r.top,n.top),n.right=m(r.right,n.right),n.bottom=m(r.bottom,n.bottom),n.left=b(r.left,n.left),n}),_(t,o[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}(p(T)?T:T.contextElement||j(t.elements.popper),s,v),I=y(t.elements.reference),L=G({reference:I,element:S,strategy:"absolute",placement:u}),$=V(Object.assign({},S,L)),H="popper"===g?$:I,C={top:W.top-H.top+R.top,bottom:H.bottom-W.bottom+R.bottom,left:W.left-H.left+R.left,right:H.right-W.right+R.right},z=t.modifiersData.offset;if("popper"===g&&z){var D=z[u];Object.keys(C).forEach((function(t){var o=[r,e].indexOf(t)>=0?1:-1,i=[n,e].indexOf(t)>=0?"y":"x";C[t]+=D[i]*o}))}return C}function K(t,n){void 0===n&&(n={});var e=n.boundary,r=n.rootBoundary,o=n.padding,f=n.flipVariations,c=n.allowedAutoPlacements,s=void 0===c?u:c,p=R(n.placement),l=p?f?a:a.filter((function(t){return R(t)===p})):i,d=l.filter((function(t){return s.indexOf(t)>=0}));0===d.length&&(d=l);var b=d.reduce((function(n,i){return n[i]=J(t,{placement:i,boundary:e,rootBoundary:r,padding:o})[v(i)],n}),{});return Object.keys(b).sort((function(t,n){return b[t]-b[n]}))}function N(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function Q(t){return[n,r,e,o].some((function(n){return t[n]>=0}))}function X(t,n,e){void 0===e&&(e=!1);var r,o,i=l(n),a=l(n)&&function(t){var n=t.getBoundingClientRect(),e=h(n.width)/t.offsetWidth||1,r=h(n.height)/t.offsetHeight||1;return 1!==e||1!==r}(n),u=j(n),f=y(t,a),p={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(i||!i&&!e)&&(("body"!==c(n)||D(u))&&(p=(r=n)!==s(r)&&l(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:C(r)),l(n)?((d=y(n,!0)).x+=n.clientLeft,d.y+=n.clientTop):u&&(d.x=z(u))),{x:f.left+p.scrollLeft-d.x,y:f.top+p.scrollTop-d.y,width:f.width,height:f.height}}function Y(t){var n=new Map,e=new Set,r=[];function o(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var r=n.get(t);r&&o(r)}})),r.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||o(t)})),r}var Z={placement:"bottom",modifiers:[],strategy:"absolute"};function tt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function nt(t){void 0===t&&(t={});var n=t.defaultModifiers,e=void 0===n?[]:n,r=t.defaultOptions,o=void 0===r?Z:r;return function(t,n,r){void 0===r&&(r=o);var i,a,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Z,o),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},c=[],s=!1,l={state:u,setOptions:function(r){var i="function"==typeof r?r(u.options):r;d(),u.options=Object.assign({},o,u.options,i),u.scrollParents={reference:p(t)?U(t):t.contextElement?U(t.contextElement):[],popper:U(n)};var a,s,v=function(t){var n=Y(t);return f.reduce((function(t,e){return t.concat(n.filter((function(t){return t.phase===e})))}),[])}((a=[].concat(e,u.options.modifiers),s=a.reduce((function(t,n){var e=t[n.name];return t[n.name]=e?Object.assign({},e,n,{options:Object.assign({},e.options,n.options),data:Object.assign({},e.data,n.data)}):n,t}),{}),Object.keys(s).map((function(t){return s[t]}))));return u.orderedModifiers=v.filter((function(t){return t.enabled})),u.orderedModifiers.forEach((function(t){var n=t.options,e=t.effect;if("function"==typeof e){var r=e({state:u,name:t.name,instance:l,options:void 0===n?{}:n});c.push(r||function(){})}})),l.update()},forceUpdate:function(){if(!s){var t=u.elements,n=t.reference,e=t.popper;if(tt(n,e)){u.rects={reference:X(n,E(e),"fixed"===u.options.strategy),popper:g(e)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(t){return u.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<u.orderedModifiers.length;r++)if(!0!==u.reset){var o=u.orderedModifiers[r],i=o.fn,a=o.options;"function"==typeof i&&(u=i({state:u,options:void 0===a?{}:a,name:o.name,instance:l})||u)}else u.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){l.forceUpdate(),t(u)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){d(),s=!0}};if(!tt(t,n))return l;function d(){c.forEach((function(t){return t()})),c=[]}return l.setOptions(r).then((function(t){!s&&r.onFirstUpdate&&r.onFirstUpdate(t)})),l}}var et=nt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,a=r.resize,u=void 0===a||a,f=s(n.elements.popper),c=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&c.forEach((function(t){t.addEventListener("scroll",e.update,W)})),u&&f.addEventListener("resize",e.update,W),function(){i&&c.forEach((function(t){t.removeEventListener("scroll",e.update,W)})),u&&f.removeEventListener("resize",e.update,W)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state;n.modifiersData[t.name]=G({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,r=e.gpuAcceleration,o=void 0===r||r,i=e.adaptive,a=void 0===i||i,u=e.roundOffsets,f=void 0===u||u,c={placement:v(n.placement),variation:R(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:o,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,T(Object.assign({},c,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:f})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,T(Object.assign({},c,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},r=n.attributes[t]||{},o=n.elements[t];l(o)&&c(o)&&(Object.assign(o.style,e),Object.keys(r).forEach((function(t){var n=r[t];!1===n?o.removeAttribute(t):o.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var r=n.elements[t],o=n.attributes[t]||{},i=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});l(r)&&c(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.name,a=t.options.offset,f=void 0===a?[0,0]:a,c=u.reduce((function(t,i){return t[i]=function(t,e,i){var a=v(t),u=[o,n].indexOf(a)>=0?-1:1,f="function"==typeof i?i(Object.assign({},e,{placement:t})):i,c=f[0],s=f[1];return c=c||0,s=(s||0)*u,[o,r].indexOf(a)>=0?{x:s,y:c}:{x:c,y:s}}(i,e.rects,f),t}),{}),s=c[e.placement],p=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=s.x,e.modifiersData.popperOffsets.y+=p),e.modifiersData[i]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var i=t.state,a=t.options,u=t.name;if(!i.modifiersData[u]._skip){for(var f=a.mainAxis,c=void 0===f||f,s=a.altAxis,p=void 0===s||s,l=a.fallbackPlacements,d=a.padding,b=a.boundary,m=a.rootBoundary,h=a.altBoundary,y=a.flipVariations,g=void 0===y||y,x=a.allowedAutoPlacements,w=i.options.placement,O=v(w),j=l||(O!==w&&g?function(t){if("auto"===v(t))return[];var n=L(t);return[H(t),n,H(n)]}(w):[L(w)]),M=[w].concat(j).reduce((function(t,n){return t.concat("auto"===v(n)?K(i,{placement:n,boundary:b,rootBoundary:m,padding:d,flipVariations:g,allowedAutoPlacements:x}):n)}),[]),k=i.rects.reference,E=i.rects.popper,P=new Map,A=!0,q=M[0],B=0;B<M.length;B++){var S=M[B],T=v(S),W="start"===R(S),I=[n,e].indexOf(T)>=0,$=I?"width":"height",C=J(i,{placement:S,boundary:b,rootBoundary:m,altBoundary:h,padding:d}),z=I?W?r:o:W?e:n;k[$]>E[$]&&(z=L(z));var D=L(z),F=[];if(c&&F.push(C[T]<=0),p&&F.push(C[z]<=0,C[D]<=0),F.every((function(t){return t}))){q=S,A=!1;break}P.set(S,F)}if(A)for(var U=function(t){var n=M.find((function(n){var e=P.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return q=n,"break"},V=g?3:1;V>0&&"break"!==U(V);V--);i.placement!==q&&(i.modifiersData[u]._skip=!0,i.placement=q,i.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var i=t.state,a=t.options,u=t.name,f=a.mainAxis,c=void 0===f||f,s=a.altAxis,p=void 0!==s&&s,l=a.tether,d=void 0===l||l,h=a.tetherOffset,y=void 0===h?0:h,x=J(i,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),w=v(i.placement),O=R(i.placement),j=!O,M=P(w),k="x"===M?"y":"x",q=i.modifiersData.popperOffsets,B=i.rects.reference,S=i.rects.popper,T="function"==typeof y?y(Object.assign({},i.rects,{placement:i.placement})):y,W="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),I=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,L={x:0,y:0};if(q){if(c){var $,H="y"===M?n:o,C="y"===M?e:r,z="y"===M?"height":"width",D=q[M],F=D+x[H],U=D-x[C],V=d?-S[z]/2:0,_="start"===O?B[z]:S[z],G="start"===O?-S[z]:-B[z],K=i.elements.arrow,N=d&&K?g(K):{width:0,height:0},Q=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=Q[H],Y=Q[C],Z=A(0,B[z],N[z]),tt=j?B[z]/2-V-Z-X-W.mainAxis:_-Z-X-W.mainAxis,nt=j?-B[z]/2+V+Z+Y+W.mainAxis:G+Z+Y+W.mainAxis,et=i.elements.arrow&&E(i.elements.arrow),rt=null!=($=null==I?void 0:I[M])?$:0,ot=D+nt-rt,it=A(d?m(F,D+tt-rt-(et?"y"===M?et.clientTop||0:et.clientLeft||0:0)):F,D,d?b(U,ot):U);q[M]=it,L[M]=it-D}if(p){var at,ut=q[k],ft="y"===k?"height":"width",ct=ut+x["x"===M?n:o],st=ut-x["x"===M?e:r],pt=-1!==[n,o].indexOf(w),lt=null!=(at=null==I?void 0:I[k])?at:0,dt=pt?ct:ut-B[ft]-S[ft]-lt+W.altAxis,vt=pt?ut+B[ft]+S[ft]-lt-W.altAxis:st,bt=d&&pt?function(t,n,e){var r=A(t,n,e);return r>e?e:r}(dt,ut,vt):A(d?dt:ct,ut,d?vt:st);q[k]=bt,L[k]=bt-ut}i.modifiersData[u]=L}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var a,u=t.state,f=t.name,c=t.options,s=u.elements.arrow,p=u.modifiersData.popperOffsets,l=v(u.placement),d=P(l),b=[o,r].indexOf(l)>=0?"height":"width";if(s&&p){var m=function(t,n){return q("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:B(t,i))}(c.padding,u),h=g(s),y="y"===d?n:o,x="y"===d?e:r,w=u.rects.reference[b]+u.rects.reference[d]-p[d]-u.rects.popper[b],O=p[d]-u.rects.reference[d],j=E(s),M=j?"y"===d?j.clientHeight||0:j.clientWidth||0:0,k=M/2-h[b]/2+(w/2-O/2),R=A(m[y],k,M-h[b]-m[x]);u.modifiersData[f]=((a={})[d]=R,a.centerOffset=R-k,a)}},effect:function(t){var n=t.state,e=t.options.element,r=void 0===e?"[data-popper-arrow]":e;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&x(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,r=n.rects.reference,o=n.rects.popper,i=n.modifiersData.preventOverflow,a=J(n,{elementContext:"reference"}),u=J(n,{altBoundary:!0}),f=N(a,r),c=N(u,o,i),s=Q(f),p=Q(c);n.modifiersData[e]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:s,hasPopperEscaped:p},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":s,"data-popper-escaped":p})}}]});const rt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],ot="bottom-leading",it=["top-start","top","top-end","bottom-start","bottom","bottom-end"],at={animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"};function ut(t,n){const e=t.filter((t=>rt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${rt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ft(n,e){const r=["left","right"],o=["start","end"];return"rtl"===t(n)&&(r.reverse(),o.reverse()),e.replace(/-leading/gi,`-${o[0]}`).replace(/-trailing/gi,`-${o[1]}`).replace(/leading/gi,r[0]).replace(/trailing/gi,r[1])}function ct({referenceEl:t,el:n,placement:e,overlayPositioning:r="absolute",modifiers:o}){return t?et(t,n,{strategy:r,placement:ft(n,e),modifiers:o}):null}async function st({el:t,modifiers:n,placement:e,popper:r}){const o=ft(t,e);await r.setOptions({modifiers:n,placement:o})}const pt=Math.ceil((4,Math.sqrt(Math.pow(4,2)+Math.pow(4,2))));export{at as C,pt as a,ct as c,ot as d,ut as f,it as p,st as u}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.505
4
+ * v1.0.0-next.506
5
5
  */
6
- System.register(["./p-8af062d3.system.js","./p-5c835006.system.js","./p-6b1f3b70.system.js","./p-77167bbc.system.js"],(function(t){"use strict";var e,a,i,n,r,o,s;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.g},function(t){r=t.S},function(t){o=t.c},function(t){s=t.u}],execute:function(){var c={sortItem:"sort-item",container:"container",containerHorizontal:"container--horizontal",containerVertical:"container--vertical"};var l="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}.container--vertical{-ms-flex-direction:column;flex-direction:column}.container--horizontal{-ms-flex-direction:row;flex-direction:row}";var d=t("calcite_sortable_list",function(){function t(t){var i=this;e(this,t);this.calciteListOrderChange=a(this,"calciteListOrderChange",7);this.handleSelector="calcite-handle";this.layout="vertical";this.disabled=false;this.loading=false;this.handleActivated=false;this.items=[];this.mutationObserver=o("mutation",(function(){i.cleanUpDragAndDrop();i.items=Array.from(i.el.children);i.setUpDragAndDrop()}))}t.prototype.connectedCallback=function(){this.items=Array.from(this.el.children);this.setUpDragAndDrop();this.beginObserving()};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();this.cleanUpDragAndDrop()};t.prototype.componentDidRender=function(){s(this)};t.prototype.calciteHandleNudgeHandler=function(t){var e;var a=this.items.find((function(e){return e.contains(t.detail.handle)||t.composedPath().includes(e)}));var i=this.items.length-1;var n=this.items.indexOf(a);var r=false;var o;switch(t.detail.direction){case"up":t.preventDefault();if(n===0){r=true}else{o=n-1}break;case"down":t.preventDefault();if(n===i){o=0}else if(n===i-1){r=true}else{o=n+2}break;default:return}(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect();if(r){a.parentElement.appendChild(a)}else{a.parentElement.insertBefore(a,this.items[o])}this.items=Array.from(this.el.children);t.detail.handle.activated=true;t.detail.handle.setFocus();this.beginObserving()};t.prototype.setUpDragAndDrop=function(){var t=this;this.cleanUpDragAndDrop();var e={dataIdAttr:"id",group:this.group,handle:this.handleSelector,onUpdate:function(){t.items=Array.from(t.el.children);t.calciteListOrderChange.emit()},onStart:function(){var e;(e=t.mutationObserver)===null||e===void 0?void 0:e.disconnect()},onEnd:function(){t.beginObserving()}};if(this.dragSelector){e.draggable=this.dragSelector}this.sortable=r.create(this.el,e)};t.prototype.cleanUpDragAndDrop=function(){var t;(t=this.sortable)===null||t===void 0?void 0:t.destroy();this.sortable=null};t.prototype.beginObserving=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.render=function(){var t;var e=this.layout;var a=e==="horizontal"||false;return i("div",{class:(t={},t[c.container]=true,t[c.containerVertical]=!a,t[c.containerHorizontal]=a,t)},i("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());d.style=l}}}));
6
+ System.register(["./p-ab179ff5.system.js","./p-a4db8a5f.system.js","./p-0f6778d4.system.js","./p-a4fb8b28.system.js"],(function(t){"use strict";var e,a,i,n,r,o,s;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.g},function(t){r=t.S},function(t){o=t.c},function(t){s=t.u}],execute:function(){var l={sortItem:"sort-item",container:"container",containerHorizontal:"container--horizontal",containerVertical:"container--vertical"};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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}.container--vertical{-ms-flex-direction:column;flex-direction:column}.container--horizontal{-ms-flex-direction:row;flex-direction:row}";var d=t("calcite_sortable_list",function(){function t(t){var i=this;e(this,t);this.calciteListOrderChange=a(this,"calciteListOrderChange",7);this.handleSelector="calcite-handle";this.layout="vertical";this.disabled=false;this.loading=false;this.handleActivated=false;this.items=[];this.mutationObserver=o("mutation",(function(){i.cleanUpDragAndDrop();i.items=Array.from(i.el.children);i.setUpDragAndDrop()}))}t.prototype.connectedCallback=function(){this.items=Array.from(this.el.children);this.setUpDragAndDrop();this.beginObserving()};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();this.cleanUpDragAndDrop()};t.prototype.componentDidRender=function(){s(this)};t.prototype.calciteHandleNudgeHandler=function(t){var e;var a=this.items.find((function(e){return e.contains(t.detail.handle)||t.composedPath().includes(e)}));var i=this.items.length-1;var n=this.items.indexOf(a);var r=false;var o;switch(t.detail.direction){case"up":t.preventDefault();if(n===0){r=true}else{o=n-1}break;case"down":t.preventDefault();if(n===i){o=0}else if(n===i-1){r=true}else{o=n+2}break;default:return}(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect();if(r){a.parentElement.appendChild(a)}else{a.parentElement.insertBefore(a,this.items[o])}this.items=Array.from(this.el.children);t.detail.handle.activated=true;t.detail.handle.setFocus();this.beginObserving()};t.prototype.setUpDragAndDrop=function(){var t=this;this.cleanUpDragAndDrop();var e={dataIdAttr:"id",group:this.group,handle:this.handleSelector,onUpdate:function(){t.items=Array.from(t.el.children);t.calciteListOrderChange.emit()},onStart:function(){var e;(e=t.mutationObserver)===null||e===void 0?void 0:e.disconnect()},onEnd:function(){t.beginObserving()}};if(this.dragSelector){e.draggable=this.dragSelector}this.sortable=r.create(this.el,e)};t.prototype.cleanUpDragAndDrop=function(){var t;(t=this.sortable)===null||t===void 0?void 0:t.destroy();this.sortable=null};t.prototype.beginObserving=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.render=function(){var t;var e=this.layout;var a=e==="horizontal"||false;return i("div",{class:(t={},t[l.container]=true,t[l.containerVertical]=!a,t[l.containerHorizontal]=a,t)},i("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());d.style=c}}}));
@@ -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.505
4
+ * v1.0.0-next.506
5
5
  */
6
- import{r as t,c as a,h as i,g as e,F as n}from"./p-594e7d9a.js";import{m as r,d as o,a as s,s as c,h as l,g as m,k as d,i as h,c as f,e as p,r as b,j as w,l as u,f as g,n as k,o as x,I as y,L as v,p as D,q as z,H as _,T as C,t as I,C as H,S as j}from"./p-36ab38ff.js";import{c as L}from"./p-ca32fe36.js";import{u as W}from"./p-ce1516e7.js";import{g as F,t as R}from"./p-f13ea8ea.js";import{H as A,c as S}from"./p-0b62e1e0.js";import{c as T,d as V}from"./p-2f716ca1.js";import"./p-7f05ad2b.js";import"./p-a1f1846b.js";import"./p-4df2e85f.js";const P=class{constructor(i){t(this,i),this.calciteListChange=a(this,"calciteListChange",7),this.disabled=!1,this.filterEnabled=!1,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[],this.lastSelectedItem=null,this.mutationObserver=L("mutation",r.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.deselectRemovedItems=o.bind(this),this.deselectSiblingItems=s.bind(this),this.selectSiblings=c.bind(this),this.handleFilter=l.bind(this),this.getItemData=m.bind(this),this.keyDownHandler=d.bind(this)}connectedCallback(){h.call(this),f.call(this)}disconnectedCallback(){p.call(this)}componentDidRender(){W(this)}calciteListItemRemoveHandler(t){b.call(this,t)}calciteListItemChangeHandler(t){w.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){u.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){g.call(this,t)}setUpItems(){k.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return x.call(this,t)}getIconType(){return this.multiple?y.square:y.circle}render(){return i(v,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};P.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-bottom: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;top:0px;z-index:1}calcite-filter{margin-bottom:0px}:host([loading][disabled]){min-height: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,o=null!==F(a,D.parentItem),s={[z.container]:!0,[z.indented]:o},c=e,l=null===(t=a.closest("calcite-pick-list"))||void 0===t?void 0:t.headingLevel,m=l?S(l+1):null;return i(n,null,c?i(A,{class:z.heading,level:r||m||_},c):null,i("slot",{name:D.parentItem}),i("section",{class:s},i("slot",null)))}get el(){return e(this)}};U.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{margin-bottom: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){margin-bottom:0px}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}h3.heading{margin-top:0.5rem;margin-bottom:0.5rem;margin-left:1rem;margin-right:1rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{-webkit-margin-start:1.5rem;margin-inline-start:1.5rem}";const K=class{constructor(i){t(this,i),this.calciteListItemChange=a(this,"calciteListItemChange",7),this.calciteListItemRemove=a(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=a(this,"calciteInternalListItemPropsChange",7),this.calciteInternalListItemValueChange=a(this,"calciteInternalListItemValueChange",7),this.disabled=!1,this.disableDeselect=!1,this.nonInteractive=!1,this.icon=null,this.removable=!1,this.selected=!1,this.intlRemove=C.remove,this.pickListClickHandler=t=>{this.disabled||this.disableDeselect&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.disableDeselect&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()}}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,a){this.calciteInternalListItemValueChange.emit({oldValue:a,newValue:t})}connectedCallback(){T(this)}disconnectedCallback(){V(this)}componentDidRender(){W(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){var t;null===(t=this.focusEl)||void 0===t||t.focus()}renderIcon(){const{icon:t}=this;return t?i("span",{class:{[H.icon]:!0,[H.iconDot]:t===y.circle},onClick:this.pickListClickHandler},t===y.square?i("calcite-icon",{icon:I.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?i("calcite-action",{class:H.remove,icon:I.remove,onCalciteActionClick:this.removeClickHandler,slot:j.actionsEnd,text:this.intlRemove}):null}renderActionsStart(){const{el:t}=this;return F(t,j.actionsStart)?i("div",{class:{[H.actions]:!0,[H.actionsStart]:!0}},i("slot",{name:j.actionsStart})):null}renderActionsEnd(){const{el:t,removable:a}=this;return F(t,j.actionsEnd)||a?i("div",{class:{[H.actions]:!0,[H.actionsEnd]:!0}},i("slot",{name:j.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:a}=this;return i(n,null,this.renderIcon(),this.renderActionsStart(),i("label",{"aria-label":a,class:H.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,ref:t=>this.focusEl=t,tabIndex:0},i("div",{"aria-checked":R(this.selected),class:H.textContainer,role:"menuitemcheckbox"},i("span",{class:H.title},a),t?i("span",{class:H.description},t):null)),this.renderActionsEnd())}get el(){return e(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"]}}};K.style='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{margin:0px;margin-bottom: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-top:0px;margin-bottom: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;width: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-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right: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{margin-top:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:end;justify-content:flex-end}.actions--start~.label{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}';export{P as calcite_pick_list,U as calcite_pick_list_group,K as calcite_pick_list_item}
6
+ import{r as t,c as a,h as i,g as e,F as n}from"./p-a2d85054.js";import{m as r,d as o,a as s,s as c,h as l,g as m,k as d,i as h,c as f,e as p,r as b,j as w,l as u,f as g,n as k,o as x,I as y,L as v,p as D,q as z,H as _,T as C,t as I,C as H,S as j}from"./p-bb623be6.js";import{c as L}from"./p-1f54d247.js";import{u as W}from"./p-9eed3553.js";import{g as F,t as R}from"./p-acca73c8.js";import{H as A,c as S}from"./p-b026976f.js";import{c as T,d as V}from"./p-32b7954d.js";import"./p-331aefd3.js";import"./p-bdbd9774.js";import"./p-a0498b24.js";const P=class{constructor(i){t(this,i),this.calciteListChange=a(this,"calciteListChange",7),this.disabled=!1,this.filterEnabled=!1,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[],this.lastSelectedItem=null,this.mutationObserver=L("mutation",r.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.deselectRemovedItems=o.bind(this),this.deselectSiblingItems=s.bind(this),this.selectSiblings=c.bind(this),this.handleFilter=l.bind(this),this.getItemData=m.bind(this),this.keyDownHandler=d.bind(this)}connectedCallback(){h.call(this),f.call(this)}disconnectedCallback(){p.call(this)}componentDidRender(){W(this)}calciteListItemRemoveHandler(t){b.call(this,t)}calciteListItemChangeHandler(t){w.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){u.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){g.call(this,t)}setUpItems(){k.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return x.call(this,t)}getIconType(){return this.multiple?y.square:y.circle}render(){return i(v,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};P.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-bottom: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;top:0px;z-index:1}calcite-filter{margin-bottom:0px}:host([loading][disabled]){min-height: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,o=null!==F(a,D.parentItem),s={[z.container]:!0,[z.indented]:o},c=e,l=null===(t=a.closest("calcite-pick-list"))||void 0===t?void 0:t.headingLevel,m=l?S(l+1):null;return i(n,null,c?i(A,{class:z.heading,level:r||m||_},c):null,i("slot",{name:D.parentItem}),i("section",{class:s},i("slot",null)))}get el(){return e(this)}};U.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{margin-bottom: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){margin-bottom:0px}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}h3.heading{margin-top:0.5rem;margin-bottom:0.5rem;margin-left:1rem;margin-right:1rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{-webkit-margin-start:1.5rem;margin-inline-start:1.5rem}";const K=class{constructor(i){t(this,i),this.calciteListItemChange=a(this,"calciteListItemChange",7),this.calciteListItemRemove=a(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=a(this,"calciteInternalListItemPropsChange",7),this.calciteInternalListItemValueChange=a(this,"calciteInternalListItemValueChange",7),this.disabled=!1,this.disableDeselect=!1,this.nonInteractive=!1,this.icon=null,this.removable=!1,this.selected=!1,this.intlRemove=C.remove,this.pickListClickHandler=t=>{this.disabled||this.disableDeselect&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.disableDeselect&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()}}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,a){this.calciteInternalListItemValueChange.emit({oldValue:a,newValue:t})}connectedCallback(){T(this)}disconnectedCallback(){V(this)}componentDidRender(){W(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){var t;null===(t=this.focusEl)||void 0===t||t.focus()}renderIcon(){const{icon:t}=this;return t?i("span",{class:{[H.icon]:!0,[H.iconDot]:t===y.circle},onClick:this.pickListClickHandler},t===y.square?i("calcite-icon",{icon:I.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?i("calcite-action",{class:H.remove,icon:I.remove,onCalciteActionClick:this.removeClickHandler,slot:j.actionsEnd,text:this.intlRemove}):null}renderActionsStart(){const{el:t}=this;return F(t,j.actionsStart)?i("div",{class:{[H.actions]:!0,[H.actionsStart]:!0}},i("slot",{name:j.actionsStart})):null}renderActionsEnd(){const{el:t,removable:a}=this;return F(t,j.actionsEnd)||a?i("div",{class:{[H.actions]:!0,[H.actionsEnd]:!0}},i("slot",{name:j.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:a}=this;return i(n,null,this.renderIcon(),this.renderActionsStart(),i("label",{"aria-label":a,class:H.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,ref:t=>this.focusEl=t,tabIndex:0},i("div",{"aria-checked":R(this.selected),class:H.textContainer,role:"menuitemcheckbox"},i("span",{class:H.title},a),t?i("span",{class:H.description},t):null)),this.renderActionsEnd())}get el(){return e(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"]}}};K.style='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{margin:0px;margin-bottom: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-top:0px;margin-bottom: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;width: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-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right: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{margin-top:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:end;justify-content:flex-end}.actions--start~.label{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}';export{P as calcite_pick_list,U as calcite_pick_list_group,K as calcite_pick_list_item}