@esri/calcite-components 1.0.0-next.282 → 1.0.0-next.283

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 (845) hide show
  1. package/CHANGELOG.md +56 -6
  2. package/dist/calcite/assets/calcite-icon/beacon16.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/beacon24.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/beacon32.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/dataMagnifyingGlass16.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/dataMagnifyingGlass24.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/dataMagnifyingGlass32.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/diamond16.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/diamond24.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/diamond32.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/drivingDistance16.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/drivingDistance24.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/drivingDistance32.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/drivingTime16.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/drivingTime24.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/drivingTime32.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/featureDisplayOrder16.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/featureDisplayOrder24.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/featureDisplayOrder32.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/fileMagnifyingGlass16.json +1 -1
  21. package/dist/calcite/assets/calcite-icon/fileMagnifyingGlass24.json +1 -1
  22. package/dist/calcite/assets/calcite-icon/fileMagnifyingGlass32.json +1 -1
  23. package/dist/calcite/assets/calcite-icon/fingerprint16.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/fingerprint24.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/fingerprint32.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/hideEmpty24.json +1 -1
  27. package/dist/calcite/assets/calcite-icon/hideEmpty32.json +1 -1
  28. package/dist/calcite/assets/calcite-icon/lassoSelect16.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/lassoSelect24.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/lassoSelect32.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/mobileVibrate16.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/mobileVibrate24.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/mobileVibrate32.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/orientedImageryWidget16.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/orientedImageryWidget24.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/orientedImageryWidget32.json +1 -0
  37. package/dist/calcite/assets/calcite-icon/package16.json +1 -0
  38. package/dist/calcite/assets/calcite-icon/package24.json +1 -0
  39. package/dist/calcite/assets/calcite-icon/package32.json +1 -0
  40. package/dist/calcite/assets/calcite-icon/processingTemplates16.json +1 -0
  41. package/dist/calcite/assets/calcite-icon/processingTemplates24.json +1 -0
  42. package/dist/calcite/assets/calcite-icon/processingTemplates32.json +1 -0
  43. package/dist/calcite/assets/calcite-icon/ruralDrivingDistance16.json +1 -0
  44. package/dist/calcite/assets/calcite-icon/ruralDrivingDistance24.json +1 -0
  45. package/dist/calcite/assets/calcite-icon/ruralDrivingDistance32.json +1 -0
  46. package/dist/calcite/assets/calcite-icon/ruralDrivingTime16.json +1 -0
  47. package/dist/calcite/assets/calcite-icon/ruralDrivingTime24.json +1 -0
  48. package/dist/calcite/assets/calcite-icon/ruralDrivingTime32.json +1 -0
  49. package/dist/calcite/assets/calcite-icon/search16.json +1 -1
  50. package/dist/calcite/assets/calcite-icon/search24.json +1 -1
  51. package/dist/calcite/assets/calcite-icon/search32.json +1 -1
  52. package/dist/calcite/assets/calcite-icon/sensor16.json +1 -0
  53. package/dist/calcite/assets/calcite-icon/sensor21.json +1 -0
  54. package/dist/calcite/assets/calcite-icon/sensor24.json +1 -0
  55. package/dist/calcite/assets/calcite-icon/sensor32.json +1 -0
  56. package/dist/calcite/assets/calcite-icon/sensor48.json +1 -0
  57. package/dist/calcite/assets/calcite-icon/sensor64.json +1 -0
  58. package/dist/calcite/assets/calcite-icon/showColumn16.json +1 -0
  59. package/dist/calcite/assets/calcite-icon/showColumn24.json +1 -0
  60. package/dist/calcite/assets/calcite-icon/showColumn32.json +1 -0
  61. package/dist/calcite/assets/calcite-icon/speechBubbleCheck16.json +1 -0
  62. package/dist/calcite/assets/calcite-icon/speechBubbleCheck24.json +1 -0
  63. package/dist/calcite/assets/calcite-icon/speechBubbleCheck32.json +1 -0
  64. package/dist/calcite/assets/calcite-icon/thumbsDown16.json +1 -0
  65. package/dist/calcite/assets/calcite-icon/thumbsDown24.json +1 -0
  66. package/dist/calcite/assets/calcite-icon/thumbsDown32.json +1 -0
  67. package/dist/calcite/assets/calcite-icon/truckingDistance16.json +1 -0
  68. package/dist/calcite/assets/calcite-icon/truckingDistance24.json +1 -0
  69. package/dist/calcite/assets/calcite-icon/truckingDistance32.json +1 -0
  70. package/dist/calcite/assets/calcite-icon/truckingTime16.json +1 -0
  71. package/dist/calcite/assets/calcite-icon/truckingTime24.json +1 -0
  72. package/dist/calcite/assets/calcite-icon/truckingTime32.json +1 -0
  73. package/dist/calcite/assets/calcite-icon/walkingDistance16.json +1 -0
  74. package/dist/calcite/assets/calcite-icon/walkingDistance24.json +1 -0
  75. package/dist/calcite/assets/calcite-icon/walkingDistance32.json +1 -0
  76. package/dist/calcite/assets/calcite-icon/walkingTime16.json +1 -0
  77. package/dist/calcite/assets/calcite-icon/walkingTime24.json +1 -0
  78. package/dist/calcite/assets/calcite-icon/walkingTime32.json +1 -0
  79. package/dist/calcite/assets/calcite-icon/wifi16.json +1 -0
  80. package/dist/calcite/assets/calcite-icon/wifi24.json +1 -0
  81. package/dist/calcite/assets/calcite-icon/wifi32.json +1 -0
  82. package/dist/calcite/calcite.css +1 -1
  83. package/dist/calcite/calcite.esm.js +1 -1
  84. package/dist/calcite/calcite.js +1 -1
  85. package/dist/calcite/p-00f2f64d.system.entry.js +1 -0
  86. package/dist/calcite/p-058f3354.system.entry.js +1 -0
  87. package/dist/calcite/p-088c0c7a.entry.js +1 -0
  88. package/dist/calcite/p-0b539bae.system.entry.js +1 -0
  89. package/dist/calcite/{p-e14d8072.entry.js → p-1436091f.entry.js} +1 -1
  90. package/dist/calcite/{p-6e2cc57d.system.entry.js → p-14893331.system.entry.js} +1 -1
  91. package/dist/calcite/p-15df41f1.entry.js +1 -0
  92. package/dist/calcite/{p-19029579.system.entry.js → p-170fb8e8.system.entry.js} +1 -1
  93. package/dist/calcite/p-17b48d4d.system.entry.js +1 -0
  94. package/dist/calcite/p-186faf42.system.entry.js +1 -0
  95. package/dist/calcite/{p-cda2cefc.system.entry.js → p-19d3b749.system.entry.js} +1 -1
  96. package/dist/calcite/p-1a53829b.system.entry.js +1 -0
  97. package/dist/calcite/p-1bf298c2.entry.js +1 -0
  98. package/dist/calcite/p-1c3f7bb2.entry.js +1 -0
  99. package/dist/calcite/p-1df0fd29.system.entry.js +1 -0
  100. package/dist/calcite/{p-5247249f.system.entry.js → p-23b87c6a.system.entry.js} +1 -1
  101. package/dist/calcite/{p-263e9c6f.js → p-30f1442b.js} +0 -0
  102. package/dist/calcite/{p-11e329ff.entry.js → p-31962890.entry.js} +1 -1
  103. package/dist/calcite/p-33f60ee2.entry.js +1 -0
  104. package/dist/calcite/{p-5c8268a5.system.entry.js → p-39b743d9.system.entry.js} +1 -1
  105. package/dist/calcite/p-3c0315f6.entry.js +1 -0
  106. package/dist/calcite/p-3c6b85d2.entry.js +1 -0
  107. package/dist/calcite/p-41ad9e5a.entry.js +1 -0
  108. package/dist/calcite/p-43a9faca.js +1 -0
  109. package/dist/calcite/p-44c0b088.entry.js +1 -0
  110. package/dist/calcite/p-46f1277f.entry.js +1 -0
  111. package/dist/calcite/p-484d449e.entry.js +1 -0
  112. package/dist/calcite/{p-ec7b5fc8.entry.js → p-4a41b489.entry.js} +1 -1
  113. package/dist/calcite/p-4ee7aac6.entry.js +1 -0
  114. package/dist/calcite/p-4f24139e.system.entry.js +1 -0
  115. package/dist/calcite/{p-5b7ef513.system.js → p-4fce2a7a.system.js} +1 -1
  116. package/dist/calcite/p-52ae0e4a.entry.js +1 -0
  117. package/dist/calcite/p-55379ee6.system.entry.js +1 -0
  118. package/dist/calcite/{p-531b9a81.system.entry.js → p-55f7adaa.system.entry.js} +1 -1
  119. package/dist/calcite/{p-728c556a.system.entry.js → p-59f7b582.system.entry.js} +1 -1
  120. package/dist/calcite/p-5b2e8494.entry.js +1 -0
  121. package/dist/calcite/{p-61ef4e27.entry.js → p-5d57b25e.entry.js} +1 -1
  122. package/dist/calcite/p-5f50d376.system.entry.js +1 -0
  123. package/dist/calcite/{p-f9775a9d.entry.js → p-61471d5c.entry.js} +1 -1
  124. package/dist/calcite/p-62977e6b.system.entry.js +1 -0
  125. package/dist/calcite/p-6350bcd3.system.js +1 -0
  126. package/dist/calcite/p-66798503.entry.js +1 -0
  127. package/dist/calcite/p-674bc090.system.js +1 -0
  128. package/dist/calcite/{p-b86463e6.system.entry.js → p-675364da.system.entry.js} +1 -1
  129. package/dist/calcite/p-68206a3f.entry.js +1 -0
  130. package/dist/calcite/{p-35808614.entry.js → p-6b82c386.entry.js} +1 -1
  131. package/dist/calcite/p-6d98d9dc.system.entry.js +1 -0
  132. package/dist/calcite/{p-7084ba72.system.entry.js → p-6edac967.system.entry.js} +1 -1
  133. package/dist/calcite/p-74d42e2c.entry.js +1 -0
  134. package/dist/calcite/p-7506e28d.entry.js +1 -0
  135. package/dist/calcite/p-7521b7ab.system.entry.js +1 -0
  136. package/dist/calcite/p-753db53b.entry.js +1 -0
  137. package/dist/calcite/{p-0143d80a.system.entry.js → p-771da7ed.system.entry.js} +1 -1
  138. package/dist/calcite/{p-526c2f38.entry.js → p-77a53b72.entry.js} +1 -1
  139. package/dist/calcite/{p-245028cc.entry.js → p-77f3da33.entry.js} +1 -1
  140. package/dist/calcite/{p-0bc4ed41.system.entry.js → p-79e0b61b.system.entry.js} +1 -1
  141. package/dist/calcite/p-7a241325.system.entry.js +1 -0
  142. package/dist/calcite/p-7b71e1d4.js +1 -0
  143. package/dist/calcite/{p-9705826b.system.entry.js → p-7b856f76.system.entry.js} +1 -1
  144. package/dist/calcite/p-7c5c2b30.js +1 -0
  145. package/dist/calcite/p-7d1978f4.entry.js +1 -0
  146. package/dist/calcite/p-7d61c919.entry.js +1 -0
  147. package/dist/calcite/{p-e5a03e6b.system.entry.js → p-7e4be59e.system.entry.js} +1 -1
  148. package/dist/calcite/p-7ec8ab00.entry.js +1 -0
  149. package/dist/calcite/{p-8782aa79.entry.js → p-82be2fac.entry.js} +1 -1
  150. package/dist/calcite/{p-3ebef7b9.system.entry.js → p-835b14f7.system.entry.js} +1 -1
  151. package/dist/calcite/p-8943850c.entry.js +1 -0
  152. package/dist/calcite/p-8958d1f6.system.js +1 -0
  153. package/dist/calcite/p-8a16620b.system.js +1 -0
  154. package/dist/calcite/{p-585030e9.entry.js → p-8bce0bbf.entry.js} +1 -1
  155. package/dist/calcite/p-8c9b39be.system.js +1 -0
  156. package/dist/calcite/p-8d57e974.entry.js +1 -0
  157. package/dist/calcite/p-8d5f5ebf.js +1 -0
  158. package/dist/calcite/{p-becd3d35.js → p-8dc31333.js} +1 -1
  159. package/dist/calcite/p-8ef1afae.system.entry.js +1 -0
  160. package/dist/calcite/p-8fb7b17f.system.entry.js +1 -0
  161. package/dist/calcite/p-90b88d97.system.entry.js +1 -0
  162. package/dist/calcite/p-93dffbbd.entry.js +1 -0
  163. package/dist/calcite/p-950bdd5b.system.entry.js +1 -0
  164. package/dist/calcite/{p-a460e3dc.entry.js → p-95550217.entry.js} +1 -1
  165. package/dist/calcite/p-987310d2.system.js +1 -0
  166. package/dist/calcite/{p-14928bee.entry.js → p-99ce9de6.entry.js} +1 -1
  167. package/dist/calcite/p-9c371694.system.entry.js +1 -0
  168. package/dist/calcite/p-a096738b.system.entry.js +1 -0
  169. package/dist/calcite/p-a4d3e67f.entry.js +1 -0
  170. package/dist/calcite/p-a54a11ee.system.entry.js +1 -0
  171. package/dist/calcite/p-ac44517b.system.entry.js +1 -0
  172. package/dist/calcite/{p-3780d211.system.entry.js → p-ad290529.system.entry.js} +1 -1
  173. package/dist/calcite/{p-58d7d786.entry.js → p-aec1c004.entry.js} +1 -1
  174. package/dist/calcite/p-b10d0018.system.entry.js +1 -0
  175. package/dist/calcite/p-b286e0a5.system.entry.js +1 -0
  176. package/dist/calcite/p-b2a79aa2.system.entry.js +1 -0
  177. package/dist/calcite/p-b4cc79dc.system.js +1 -0
  178. package/dist/calcite/p-ba77eb78.entry.js +1 -0
  179. package/dist/calcite/{p-87524717.entry.js → p-bbffc12a.entry.js} +1 -1
  180. package/dist/calcite/{p-5e040210.system.entry.js → p-c0ee1569.system.entry.js} +1 -1
  181. package/dist/calcite/p-c15a632e.system.entry.js +1 -0
  182. package/dist/calcite/{p-4eabe0d4.system.entry.js → p-c23bfaf9.system.entry.js} +1 -1
  183. package/dist/calcite/p-c2cd9c1d.system.entry.js +1 -0
  184. package/dist/calcite/{p-eaf3e528.entry.js → p-c3a502d6.entry.js} +1 -1
  185. package/dist/calcite/{p-7d11fed5.system.entry.js → p-c4953aa6.system.entry.js} +1 -1
  186. package/dist/calcite/p-c5216cf9.entry.js +1 -0
  187. package/dist/calcite/p-c59d3bb3.system.entry.js +1 -0
  188. package/dist/calcite/p-c79fd1e1.entry.js +1 -0
  189. package/dist/calcite/p-c7d85b95.system.entry.js +1 -0
  190. package/dist/calcite/p-cb603214.entry.js +1 -0
  191. package/dist/calcite/p-cc7664db.entry.js +1 -0
  192. package/dist/calcite/{p-fd59e605.system.entry.js → p-d164c2f2.system.entry.js} +1 -1
  193. package/dist/calcite/p-d63d1c19.entry.js +1 -0
  194. package/dist/calcite/p-d74caa31.system.entry.js +1 -0
  195. package/dist/calcite/p-d7e0ef91.system.entry.js +1 -0
  196. package/dist/calcite/{p-02c649a5.system.entry.js → p-d8a015cb.system.entry.js} +1 -1
  197. package/dist/calcite/{p-ed1489e0.entry.js → p-d99dc0c0.entry.js} +1 -1
  198. package/dist/calcite/{p-150bb224.entry.js → p-dc043b78.entry.js} +1 -1
  199. package/dist/calcite/{p-c47fe2f9.js → p-dc825c55.js} +1 -1
  200. package/dist/calcite/p-dcfa0bba.js +1 -0
  201. package/dist/calcite/{p-a177a64e.system.entry.js → p-dd3f7c73.system.entry.js} +1 -1
  202. package/dist/calcite/{p-92d12490.system.entry.js → p-ddf50685.system.entry.js} +1 -1
  203. package/dist/calcite/p-de9b7982.system.entry.js +1 -0
  204. package/dist/calcite/{p-ac49579e.entry.js → p-df949bcc.entry.js} +1 -1
  205. package/dist/calcite/{p-79783728.entry.js → p-e1392ddf.entry.js} +1 -1
  206. package/dist/calcite/p-e3781613.entry.js +1 -0
  207. package/dist/calcite/{p-3c9923f1.system.js → p-e87acd87.system.js} +0 -0
  208. package/dist/calcite/p-ed68dd02.entry.js +1 -0
  209. package/dist/calcite/p-eea35b03.entry.js +1 -0
  210. package/dist/calcite/p-ef0ea98b.system.entry.js +1 -0
  211. package/dist/calcite/p-ef38dee8.js +1 -0
  212. package/dist/calcite/p-efe6556c.system.entry.js +1 -0
  213. package/dist/calcite/p-f02d04ab.system.js +1 -0
  214. package/dist/calcite/p-f1eca44a.entry.js +1 -0
  215. package/dist/calcite/{p-0e11eed4.system.entry.js → p-f1eddb0f.system.entry.js} +1 -1
  216. package/dist/calcite/{p-706789ab.entry.js → p-faac0f15.entry.js} +1 -1
  217. package/dist/calcite/p-fbf4ad06.entry.js +1 -0
  218. package/dist/cjs/{CalciteExpandToggle-f2905eb5.js → CalciteExpandToggle-b5735fd2.js} +5 -3
  219. package/dist/cjs/{CalciteHeading-cf7944a6.js → CalciteHeading-177f59f2.js} +1 -1
  220. package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -9
  221. package/dist/cjs/calcite-action-bar.cjs.entry.js +40 -26
  222. package/dist/cjs/calcite-action-group.cjs.entry.js +2 -2
  223. package/dist/cjs/calcite-action-menu.cjs.entry.js +5 -3
  224. package/dist/cjs/calcite-action-pad.cjs.entry.js +4 -3
  225. package/dist/cjs/calcite-action.cjs.entry.js +10 -6
  226. package/dist/cjs/calcite-alert.cjs.entry.js +3 -3
  227. package/dist/cjs/calcite-avatar.cjs.entry.js +2 -2
  228. package/dist/cjs/calcite-block_2.cjs.entry.js +19 -21
  229. package/dist/cjs/calcite-button.cjs.entry.js +20 -10
  230. package/dist/cjs/calcite-card.cjs.entry.js +2 -2
  231. package/dist/cjs/calcite-checkbox.cjs.entry.js +18 -29
  232. package/dist/cjs/calcite-chip.cjs.entry.js +5 -2
  233. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +19 -12
  234. package/dist/cjs/calcite-combobox_3.cjs.entry.js +24 -25
  235. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +19 -13
  236. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +10 -5
  237. package/dist/cjs/calcite-fab.cjs.entry.js +3 -2
  238. package/dist/cjs/calcite-filter.cjs.entry.js +6 -8
  239. package/dist/cjs/calcite-flow.cjs.entry.js +7 -4
  240. package/dist/cjs/calcite-graph_2.cjs.entry.js +103 -69
  241. package/dist/cjs/calcite-handle.cjs.entry.js +2 -1
  242. package/dist/cjs/calcite-icon.cjs.entry.js +11 -12
  243. package/dist/cjs/calcite-inline-editable.cjs.entry.js +21 -15
  244. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +77 -62
  245. package/dist/cjs/calcite-input-message.cjs.entry.js +3 -2
  246. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +27 -41
  247. package/dist/cjs/calcite-input.cjs.entry.js +20 -6
  248. package/dist/cjs/calcite-label.cjs.entry.js +17 -75
  249. package/dist/cjs/calcite-link.cjs.entry.js +10 -2
  250. package/dist/cjs/calcite-list_3.cjs.entry.js +3 -3
  251. package/dist/cjs/calcite-loader.cjs.entry.js +3 -1
  252. package/dist/cjs/calcite-modal.cjs.entry.js +21 -10
  253. package/dist/cjs/calcite-notice.cjs.entry.js +3 -3
  254. package/dist/cjs/calcite-option_3.cjs.entry.js +25 -21
  255. package/dist/cjs/calcite-pagination.cjs.entry.js +4 -4
  256. package/dist/cjs/calcite-panel.cjs.entry.js +6 -5
  257. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -8
  258. package/dist/cjs/calcite-popover_2.cjs.entry.js +11 -4
  259. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  260. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  261. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +33 -33
  262. package/dist/cjs/calcite-radio_2.cjs.entry.js +47 -24
  263. package/dist/cjs/calcite-rating.cjs.entry.js +23 -14
  264. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  265. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -2
  266. package/dist/cjs/calcite-sortable-list.cjs.entry.js +31 -8
  267. package/dist/cjs/calcite-split-button.cjs.entry.js +9 -2
  268. package/dist/cjs/calcite-stepper_2.cjs.entry.js +3 -3
  269. package/dist/cjs/calcite-switch.cjs.entry.js +41 -37
  270. package/dist/cjs/calcite-tab_4.cjs.entry.js +20 -19
  271. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +3 -2
  272. package/dist/cjs/calcite-tile.cjs.entry.js +11 -4
  273. package/dist/cjs/calcite-tip_3.cjs.entry.js +17 -8
  274. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +4 -3
  275. package/dist/cjs/calcite-tree_2.cjs.entry.js +49 -16
  276. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -4
  277. package/dist/cjs/calcite.cjs.js +3 -3
  278. package/dist/cjs/{dom-57231db9.js → dom-c9cafa59.js} +6 -7
  279. package/dist/cjs/{index-98b8a879.js → index-105d9087.js} +7 -0
  280. package/dist/cjs/label-80f9023b.js +54 -0
  281. package/dist/cjs/loader.cjs.js +3 -3
  282. package/dist/cjs/observers-88b3a2d4.js +18 -0
  283. package/dist/cjs/{popper-f5801759.js → popper-a103e375.js} +24 -14
  284. package/dist/cjs/{resources-76d0fe7f.js → resources-41daa7d4.js} +2 -7
  285. package/dist/cjs/{resources-c4efb8e1.js → resources-bbca3cea.js} +6 -4
  286. package/dist/collection/collection-manifest.json +1 -1
  287. package/dist/collection/components/calcite-accordion/calcite-accordion.js +3 -0
  288. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +8 -8
  289. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +6 -7
  290. package/dist/collection/components/calcite-action/calcite-action.css +1 -1
  291. package/dist/collection/components/calcite-action/calcite-action.js +9 -5
  292. package/dist/collection/components/calcite-action-bar/calcite-action-bar.js +61 -27
  293. package/dist/collection/components/calcite-action-bar/utils.js +1 -0
  294. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +4 -2
  295. package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +2 -1
  296. package/dist/collection/components/calcite-alert/calcite-alert.js +2 -2
  297. package/dist/collection/components/calcite-block/calcite-block.css +10 -7
  298. package/dist/collection/components/calcite-block/calcite-block.js +2 -2
  299. package/dist/collection/components/calcite-block-section/calcite-block-section.js +17 -22
  300. package/dist/collection/components/calcite-button/calcite-button.js +25 -14
  301. package/dist/collection/components/calcite-card/calcite-card.js +1 -1
  302. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +1 -1
  303. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +25 -41
  304. package/dist/collection/components/calcite-chip/calcite-chip.js +11 -6
  305. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +17 -10
  306. package/dist/collection/components/calcite-combobox/calcite-combobox.css +3 -1
  307. package/dist/collection/components/calcite-combobox/calcite-combobox.js +26 -24
  308. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +3 -0
  309. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +3 -0
  310. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +9 -4
  311. package/dist/collection/components/calcite-date-picker/utils.js +1 -6
  312. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +2 -1
  313. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +18 -15
  314. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +12 -6
  315. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +3 -0
  316. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +7 -3
  317. package/dist/collection/components/calcite-fab/calcite-fab.js +2 -1
  318. package/dist/collection/components/calcite-filter/calcite-filter.css +6 -1
  319. package/dist/collection/components/calcite-filter/calcite-filter.js +4 -8
  320. package/dist/collection/components/calcite-flow/calcite-flow.js +6 -3
  321. package/dist/collection/components/calcite-handle/calcite-handle.js +2 -1
  322. package/dist/collection/components/calcite-icon/assets/calcite-icon/beacon16.json +1 -0
  323. package/dist/collection/components/calcite-icon/assets/calcite-icon/beacon24.json +1 -0
  324. package/dist/collection/components/calcite-icon/assets/calcite-icon/beacon32.json +1 -0
  325. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataMagnifyingGlass16.json +1 -0
  326. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataMagnifyingGlass24.json +1 -0
  327. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataMagnifyingGlass32.json +1 -0
  328. package/dist/collection/components/calcite-icon/assets/calcite-icon/diamond16.json +1 -0
  329. package/dist/collection/components/calcite-icon/assets/calcite-icon/diamond24.json +1 -0
  330. package/dist/collection/components/calcite-icon/assets/calcite-icon/diamond32.json +1 -0
  331. package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingDistance16.json +1 -0
  332. package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingDistance24.json +1 -0
  333. package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingDistance32.json +1 -0
  334. package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingTime16.json +1 -0
  335. package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingTime24.json +1 -0
  336. package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingTime32.json +1 -0
  337. package/dist/collection/components/calcite-icon/assets/calcite-icon/featureDisplayOrder16.json +1 -0
  338. package/dist/collection/components/calcite-icon/assets/calcite-icon/featureDisplayOrder24.json +1 -0
  339. package/dist/collection/components/calcite-icon/assets/calcite-icon/featureDisplayOrder32.json +1 -0
  340. package/dist/collection/components/calcite-icon/assets/calcite-icon/fileMagnifyingGlass16.json +1 -1
  341. package/dist/collection/components/calcite-icon/assets/calcite-icon/fileMagnifyingGlass24.json +1 -1
  342. package/dist/collection/components/calcite-icon/assets/calcite-icon/fileMagnifyingGlass32.json +1 -1
  343. package/dist/collection/components/calcite-icon/assets/calcite-icon/fingerprint16.json +1 -0
  344. package/dist/collection/components/calcite-icon/assets/calcite-icon/fingerprint24.json +1 -0
  345. package/dist/collection/components/calcite-icon/assets/calcite-icon/fingerprint32.json +1 -0
  346. package/dist/collection/components/calcite-icon/assets/calcite-icon/hideEmpty24.json +1 -1
  347. package/dist/collection/components/calcite-icon/assets/calcite-icon/hideEmpty32.json +1 -1
  348. package/dist/collection/components/calcite-icon/assets/calcite-icon/lassoSelect16.json +1 -0
  349. package/dist/collection/components/calcite-icon/assets/calcite-icon/lassoSelect24.json +1 -0
  350. package/dist/collection/components/calcite-icon/assets/calcite-icon/lassoSelect32.json +1 -0
  351. package/dist/collection/components/calcite-icon/assets/calcite-icon/mobileVibrate16.json +1 -0
  352. package/dist/collection/components/calcite-icon/assets/calcite-icon/mobileVibrate24.json +1 -0
  353. package/dist/collection/components/calcite-icon/assets/calcite-icon/mobileVibrate32.json +1 -0
  354. package/dist/collection/components/calcite-icon/assets/calcite-icon/orientedImageryWidget16.json +1 -0
  355. package/dist/collection/components/calcite-icon/assets/calcite-icon/orientedImageryWidget24.json +1 -0
  356. package/dist/collection/components/calcite-icon/assets/calcite-icon/orientedImageryWidget32.json +1 -0
  357. package/dist/collection/components/calcite-icon/assets/calcite-icon/package16.json +1 -0
  358. package/dist/collection/components/calcite-icon/assets/calcite-icon/package24.json +1 -0
  359. package/dist/collection/components/calcite-icon/assets/calcite-icon/package32.json +1 -0
  360. package/dist/collection/components/calcite-icon/assets/calcite-icon/processingTemplates16.json +1 -0
  361. package/dist/collection/components/calcite-icon/assets/calcite-icon/processingTemplates24.json +1 -0
  362. package/dist/collection/components/calcite-icon/assets/calcite-icon/processingTemplates32.json +1 -0
  363. package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingDistance16.json +1 -0
  364. package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingDistance24.json +1 -0
  365. package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingDistance32.json +1 -0
  366. package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingTime16.json +1 -0
  367. package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingTime24.json +1 -0
  368. package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingTime32.json +1 -0
  369. package/dist/collection/components/calcite-icon/assets/calcite-icon/search16.json +1 -1
  370. package/dist/collection/components/calcite-icon/assets/calcite-icon/search24.json +1 -1
  371. package/dist/collection/components/calcite-icon/assets/calcite-icon/search32.json +1 -1
  372. package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor16.json +1 -0
  373. package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor21.json +1 -0
  374. package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor24.json +1 -0
  375. package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor32.json +1 -0
  376. package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor48.json +1 -0
  377. package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor64.json +1 -0
  378. package/dist/collection/components/calcite-icon/assets/calcite-icon/showColumn16.json +1 -0
  379. package/dist/collection/components/calcite-icon/assets/calcite-icon/showColumn24.json +1 -0
  380. package/dist/collection/components/calcite-icon/assets/calcite-icon/showColumn32.json +1 -0
  381. package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleCheck16.json +1 -0
  382. package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleCheck24.json +1 -0
  383. package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleCheck32.json +1 -0
  384. package/dist/collection/components/calcite-icon/assets/calcite-icon/thumbsDown16.json +1 -0
  385. package/dist/collection/components/calcite-icon/assets/calcite-icon/thumbsDown24.json +1 -0
  386. package/dist/collection/components/calcite-icon/assets/calcite-icon/thumbsDown32.json +1 -0
  387. package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingDistance16.json +1 -0
  388. package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingDistance24.json +1 -0
  389. package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingDistance32.json +1 -0
  390. package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingTime16.json +1 -0
  391. package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingTime24.json +1 -0
  392. package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingTime32.json +1 -0
  393. package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingDistance16.json +1 -0
  394. package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingDistance24.json +1 -0
  395. package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingDistance32.json +1 -0
  396. package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingTime16.json +1 -0
  397. package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingTime24.json +1 -0
  398. package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingTime32.json +1 -0
  399. package/dist/collection/components/calcite-icon/assets/calcite-icon/wifi16.json +1 -0
  400. package/dist/collection/components/calcite-icon/assets/calcite-icon/wifi24.json +1 -0
  401. package/dist/collection/components/calcite-icon/assets/calcite-icon/wifi32.json +1 -0
  402. package/dist/collection/components/calcite-icon/calcite-icon.js +9 -11
  403. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +39 -21
  404. package/dist/collection/components/calcite-input/calcite-input.css +4 -0
  405. package/dist/collection/components/calcite-input/calcite-input.js +27 -10
  406. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +96 -65
  407. package/dist/collection/components/calcite-input-message/calcite-input-message.js +5 -1
  408. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +15 -26
  409. package/dist/collection/components/calcite-label/calcite-label.css +11 -11
  410. package/dist/collection/components/calcite-label/calcite-label.js +31 -94
  411. package/dist/collection/components/calcite-label/resources.js +2 -2
  412. package/dist/collection/components/calcite-link/calcite-link.js +13 -4
  413. package/dist/collection/components/calcite-list-item/calcite-list-item.js +3 -6
  414. package/dist/collection/components/calcite-loader/calcite-loader.js +5 -2
  415. package/dist/collection/components/calcite-modal/calcite-modal.js +35 -19
  416. package/dist/collection/components/calcite-notice/calcite-notice.js +3 -3
  417. package/dist/collection/components/calcite-option/calcite-option.js +6 -3
  418. package/dist/collection/components/calcite-option-group/calcite-option-group.js +3 -0
  419. package/dist/collection/components/calcite-pagination/calcite-pagination.js +4 -4
  420. package/dist/collection/components/calcite-panel/calcite-panel.css +11 -11
  421. package/dist/collection/components/calcite-panel/calcite-panel.js +11 -9
  422. package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +1 -1
  423. package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +6 -3
  424. package/dist/collection/components/calcite-pick-list/shared-list-logic.js +4 -2
  425. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.css +10 -7
  426. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +4 -3
  427. package/dist/collection/components/calcite-popover/calcite-popover.js +9 -3
  428. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +7 -2
  429. package/dist/collection/components/calcite-radio/calcite-radio.js +5 -5
  430. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +48 -31
  431. package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.js +5 -5
  432. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +31 -39
  433. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +12 -11
  434. package/dist/collection/components/calcite-rating/calcite-rating.js +23 -20
  435. package/dist/collection/components/calcite-scrim/calcite-scrim.js +3 -0
  436. package/dist/collection/components/calcite-select/calcite-select.js +22 -23
  437. package/dist/collection/components/calcite-shell/calcite-shell.js +16 -4
  438. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +1 -1
  439. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +1 -1
  440. package/dist/collection/components/calcite-slider/calcite-slider.css +7 -5
  441. package/dist/collection/components/calcite-slider/calcite-slider.js +130 -85
  442. package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +13 -0
  443. package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.js +48 -7
  444. package/dist/collection/components/calcite-sortable-list/resources.js +4 -1
  445. package/dist/collection/components/calcite-split-button/calcite-split-button.js +17 -5
  446. package/dist/collection/components/calcite-stepper/calcite-stepper.js +3 -0
  447. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +7 -7
  448. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +3 -0
  449. package/dist/collection/components/calcite-switch/calcite-switch.css +7 -7
  450. package/dist/collection/components/calcite-switch/calcite-switch.js +83 -51
  451. package/dist/collection/components/calcite-tab/calcite-tab.css +0 -1
  452. package/dist/collection/components/calcite-tab/calcite-tab.js +3 -0
  453. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +0 -1
  454. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +7 -7
  455. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +17 -10
  456. package/dist/collection/components/calcite-tabs/calcite-tabs.js +3 -2
  457. package/dist/collection/components/calcite-tile/calcite-tile.css +9 -0
  458. package/dist/collection/components/calcite-tile/calcite-tile.js +12 -4
  459. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +5 -1
  460. package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.js +3 -0
  461. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +15 -25
  462. package/dist/collection/components/calcite-tip/calcite-tip.css +10 -7
  463. package/dist/collection/components/calcite-tip/calcite-tip.js +8 -2
  464. package/dist/collection/components/calcite-tip-group/calcite-tip-group.js +3 -0
  465. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.css +12 -8
  466. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +10 -5
  467. package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -1
  468. package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +120 -223
  469. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +39 -9
  470. package/dist/collection/components/calcite-tree-item/resources.js +9 -5
  471. package/dist/collection/components/calcite-value-list/calcite-value-list.js +6 -3
  472. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +7 -2
  473. package/dist/collection/components/functional/CalciteExpandToggle.js +2 -1
  474. package/dist/collection/utils/dom.js +0 -3
  475. package/dist/collection/utils/filter.js +1 -1
  476. package/dist/collection/utils/label.js +47 -0
  477. package/dist/collection/utils/observers.js +15 -0
  478. package/dist/collection/utils/resources.js +20 -3
  479. package/dist/custom-elements/bundles/pick-list.js +2 -2
  480. package/dist/custom-elements/bundles/value-list.js +2 -2
  481. package/dist/custom-elements/index.js +5794 -5548
  482. package/dist/custom-elements/index.mjs +5794 -5548
  483. package/dist/esm/{CalciteExpandToggle-476279ee.js → CalciteExpandToggle-a149fed4.js} +5 -4
  484. package/dist/esm/{CalciteHeading-ea5ec96c.js → CalciteHeading-29855e9f.js} +1 -1
  485. package/dist/esm/calcite-accordion_2.entry.js +5 -9
  486. package/dist/esm/calcite-action-bar.entry.js +40 -26
  487. package/dist/esm/calcite-action-group.entry.js +2 -2
  488. package/dist/esm/calcite-action-menu.entry.js +5 -3
  489. package/dist/esm/calcite-action-pad.entry.js +4 -3
  490. package/dist/esm/calcite-action.entry.js +10 -6
  491. package/dist/esm/calcite-alert.entry.js +3 -3
  492. package/dist/esm/calcite-avatar.entry.js +2 -2
  493. package/dist/esm/calcite-block_2.entry.js +19 -21
  494. package/dist/esm/calcite-button.entry.js +20 -10
  495. package/dist/esm/calcite-card.entry.js +2 -2
  496. package/dist/esm/calcite-checkbox.entry.js +18 -29
  497. package/dist/esm/calcite-chip.entry.js +5 -2
  498. package/dist/esm/calcite-color-picker_3.entry.js +19 -12
  499. package/dist/esm/calcite-combobox_3.entry.js +24 -25
  500. package/dist/esm/calcite-date-picker_4.entry.js +19 -13
  501. package/dist/esm/calcite-dropdown_3.entry.js +10 -5
  502. package/dist/esm/calcite-fab.entry.js +3 -2
  503. package/dist/esm/calcite-filter.entry.js +6 -8
  504. package/dist/esm/calcite-flow.entry.js +7 -4
  505. package/dist/esm/calcite-graph_2.entry.js +103 -69
  506. package/dist/esm/calcite-handle.entry.js +2 -1
  507. package/dist/esm/calcite-icon.entry.js +11 -12
  508. package/dist/esm/calcite-inline-editable.entry.js +21 -15
  509. package/dist/esm/calcite-input-date-picker.entry.js +77 -62
  510. package/dist/esm/calcite-input-message.entry.js +3 -2
  511. package/dist/esm/calcite-input-time-picker_2.entry.js +27 -41
  512. package/dist/esm/calcite-input.entry.js +20 -6
  513. package/dist/esm/calcite-label.entry.js +17 -75
  514. package/dist/esm/calcite-link.entry.js +10 -2
  515. package/dist/esm/calcite-list_3.entry.js +3 -3
  516. package/dist/esm/calcite-loader.entry.js +3 -1
  517. package/dist/esm/calcite-modal.entry.js +21 -10
  518. package/dist/esm/calcite-notice.entry.js +3 -3
  519. package/dist/esm/calcite-option_3.entry.js +25 -21
  520. package/dist/esm/calcite-pagination.entry.js +4 -4
  521. package/dist/esm/calcite-panel.entry.js +6 -5
  522. package/dist/esm/calcite-pick-list_3.entry.js +12 -8
  523. package/dist/esm/calcite-popover_2.entry.js +11 -4
  524. package/dist/esm/calcite-progress.entry.js +1 -1
  525. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  526. package/dist/esm/calcite-radio-group_2.entry.js +33 -33
  527. package/dist/esm/calcite-radio_2.entry.js +47 -24
  528. package/dist/esm/calcite-rating.entry.js +23 -14
  529. package/dist/esm/calcite-scrim.entry.js +1 -1
  530. package/dist/esm/calcite-shell_3.entry.js +11 -2
  531. package/dist/esm/calcite-sortable-list.entry.js +31 -8
  532. package/dist/esm/calcite-split-button.entry.js +9 -2
  533. package/dist/esm/calcite-stepper_2.entry.js +3 -3
  534. package/dist/esm/calcite-switch.entry.js +41 -37
  535. package/dist/esm/calcite-tab_4.entry.js +20 -19
  536. package/dist/esm/calcite-tile-select_2.entry.js +3 -2
  537. package/dist/esm/calcite-tile.entry.js +11 -4
  538. package/dist/esm/calcite-tip_3.entry.js +17 -8
  539. package/dist/esm/calcite-tooltip_2.entry.js +4 -3
  540. package/dist/esm/calcite-tree_2.entry.js +49 -16
  541. package/dist/esm/calcite-value-list_2.entry.js +12 -4
  542. package/dist/esm/calcite.js +3 -3
  543. package/dist/esm/{dom-0b02c0cf.js → dom-b369a031.js} +7 -7
  544. package/dist/esm/{index-1554a132.js → index-f8f0bea7.js} +7 -0
  545. package/dist/esm/label-7b249c54.js +50 -0
  546. package/dist/esm/loader.js +3 -3
  547. package/dist/esm/observers-c93d4fe5.js +16 -0
  548. package/dist/esm/{popper-58fae6b8.js → popper-2757192a.js} +24 -14
  549. package/dist/esm/{resources-91bd199f.js → resources-28d71943.js} +3 -8
  550. package/dist/esm/{resources-1a6ba3ca.js → resources-c651d73a.js} +6 -4
  551. package/dist/esm-es5/CalciteExpandToggle-a149fed4.js +1 -0
  552. package/dist/esm-es5/{CalciteHeading-ea5ec96c.js → CalciteHeading-29855e9f.js} +1 -1
  553. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  554. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  555. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  556. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  557. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  558. package/dist/esm-es5/calcite-action.entry.js +1 -1
  559. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  560. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  561. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  562. package/dist/esm-es5/calcite-button.entry.js +1 -1
  563. package/dist/esm-es5/calcite-card.entry.js +1 -1
  564. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  565. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  566. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  567. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  568. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  569. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  570. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  571. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  572. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  573. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  574. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  575. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  576. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  577. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  578. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  579. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  580. package/dist/esm-es5/calcite-input.entry.js +1 -1
  581. package/dist/esm-es5/calcite-label.entry.js +1 -1
  582. package/dist/esm-es5/calcite-link.entry.js +1 -1
  583. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  584. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  585. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  586. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  587. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  588. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  589. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  590. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  591. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  592. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  593. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  594. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  595. package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
  596. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  597. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  598. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  599. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  600. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  601. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  602. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  603. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  604. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  605. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  606. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  607. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  608. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  609. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  610. package/dist/esm-es5/calcite.js +1 -1
  611. package/dist/esm-es5/dom-b369a031.js +1 -0
  612. package/dist/esm-es5/{index-1554a132.js → index-f8f0bea7.js} +0 -0
  613. package/dist/esm-es5/label-7b249c54.js +1 -0
  614. package/dist/esm-es5/loader.js +1 -1
  615. package/dist/esm-es5/observers-c93d4fe5.js +1 -0
  616. package/dist/esm-es5/popper-2757192a.js +1 -0
  617. package/dist/esm-es5/resources-28d71943.js +1 -0
  618. package/dist/esm-es5/resources-c651d73a.js +1 -0
  619. package/dist/extras/docs-json.json +679 -440
  620. package/dist/types/components/calcite-accordion/calcite-accordion.d.ts +3 -0
  621. package/dist/types/components/calcite-accordion-item/calcite-accordion-item.d.ts +4 -0
  622. package/dist/types/components/calcite-action/calcite-action.d.ts +3 -2
  623. package/dist/types/components/calcite-action-bar/calcite-action-bar.d.ts +11 -6
  624. package/dist/types/components/calcite-action-bar/utils.d.ts +1 -0
  625. package/dist/types/components/calcite-action-menu/calcite-action-menu.d.ts +1 -0
  626. package/dist/types/components/calcite-action-pad/calcite-action-pad.d.ts +1 -0
  627. package/dist/types/components/calcite-alert/calcite-alert.d.ts +1 -1
  628. package/dist/types/components/calcite-block/calcite-block.d.ts +1 -1
  629. package/dist/types/components/calcite-block-section/calcite-block-section.d.ts +1 -3
  630. package/dist/types/components/calcite-button/calcite-button.d.ts +11 -7
  631. package/dist/types/components/calcite-card/calcite-card.d.ts +1 -1
  632. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +11 -7
  633. package/dist/types/components/calcite-chip/calcite-chip.d.ts +6 -3
  634. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +1 -0
  635. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +11 -4
  636. package/dist/types/components/calcite-combobox-item/calcite-combobox-item.d.ts +3 -0
  637. package/dist/types/components/calcite-combobox-item-group/calcite-combobox-item-group.d.ts +3 -0
  638. package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +2 -2
  639. package/dist/types/components/calcite-date-picker-day/calcite-date-picker-day.d.ts +1 -0
  640. package/dist/types/components/calcite-date-picker-month/calcite-date-picker-month.d.ts +3 -1
  641. package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +5 -2
  642. package/dist/types/components/calcite-dropdown-group/calcite-dropdown-group.d.ts +3 -0
  643. package/dist/types/components/calcite-dropdown-item/calcite-dropdown-item.d.ts +5 -1
  644. package/dist/types/components/calcite-fab/calcite-fab.d.ts +1 -0
  645. package/dist/types/components/calcite-filter/calcite-filter.d.ts +3 -5
  646. package/dist/types/components/calcite-flow/calcite-flow.d.ts +1 -1
  647. package/dist/types/components/calcite-handle/calcite-handle.d.ts +1 -0
  648. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +8 -3
  649. package/dist/types/components/calcite-input/calcite-input.d.ts +8 -5
  650. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +13 -12
  651. package/dist/types/components/calcite-input-message/calcite-input-message.d.ts +4 -0
  652. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +8 -6
  653. package/dist/types/components/calcite-label/calcite-label.d.ts +9 -6
  654. package/dist/types/components/calcite-label/resources.d.ts +3 -0
  655. package/dist/types/components/calcite-link/calcite-link.d.ts +3 -2
  656. package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +2 -2
  657. package/dist/types/components/calcite-loader/calcite-loader.d.ts +1 -1
  658. package/dist/types/components/calcite-modal/calcite-modal.d.ts +5 -5
  659. package/dist/types/components/calcite-notice/calcite-notice.d.ts +2 -2
  660. package/dist/types/components/calcite-option-group/calcite-option-group.d.ts +3 -0
  661. package/dist/types/components/calcite-pagination/calcite-pagination.d.ts +2 -2
  662. package/dist/types/components/calcite-panel/calcite-panel.d.ts +9 -7
  663. package/dist/types/components/calcite-pick-list/calcite-pick-list.d.ts +3 -1
  664. package/dist/types/components/calcite-pick-list-item/calcite-pick-list-item.d.ts +2 -1
  665. package/dist/types/components/calcite-popover/calcite-popover.d.ts +6 -0
  666. package/dist/types/components/calcite-popover-manager/calcite-popover-manager.d.ts +1 -1
  667. package/dist/types/components/calcite-radio/calcite-radio.d.ts +3 -3
  668. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +10 -4
  669. package/dist/types/components/calcite-radio-button-group/calcite-radio-button-group.d.ts +4 -1
  670. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +11 -5
  671. package/dist/types/components/calcite-radio-group-item/calcite-radio-group-item.d.ts +1 -2
  672. package/dist/types/components/calcite-rating/calcite-rating.d.ts +7 -2
  673. package/dist/types/components/calcite-scrim/calcite-scrim.d.ts +3 -0
  674. package/dist/types/components/calcite-select/calcite-select.d.ts +9 -4
  675. package/dist/types/components/calcite-shell/calcite-shell.d.ts +3 -3
  676. package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +1 -1
  677. package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +1 -1
  678. package/dist/types/components/calcite-slider/calcite-slider.d.ts +36 -9
  679. package/dist/types/components/calcite-sortable-list/calcite-sortable-list.d.ts +7 -2
  680. package/dist/types/components/calcite-sortable-list/resources.d.ts +3 -0
  681. package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +6 -3
  682. package/dist/types/components/calcite-stepper/calcite-stepper.d.ts +3 -0
  683. package/dist/types/components/calcite-stepper-item/calcite-stepper-item.d.ts +3 -0
  684. package/dist/types/components/calcite-switch/calcite-switch.d.ts +19 -7
  685. package/dist/types/components/calcite-tab/calcite-tab.d.ts +3 -0
  686. package/dist/types/components/calcite-tab-nav/calcite-tab-nav.d.ts +4 -1
  687. package/dist/types/components/calcite-tab-title/calcite-tab-title.d.ts +6 -3
  688. package/dist/types/components/calcite-tabs/calcite-tabs.d.ts +3 -2
  689. package/dist/types/components/calcite-tile/calcite-tile.d.ts +2 -2
  690. package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +4 -0
  691. package/dist/types/components/calcite-tile-select-group/calcite-tile-select-group.d.ts +3 -0
  692. package/dist/types/components/calcite-time-picker/calcite-time-picker.d.ts +1 -0
  693. package/dist/types/components/calcite-tip/calcite-tip.d.ts +2 -1
  694. package/dist/types/components/calcite-tip-group/calcite-tip-group.d.ts +3 -0
  695. package/dist/types/components/calcite-tip-manager/calcite-tip-manager.d.ts +3 -1
  696. package/dist/types/components/calcite-tooltip/calcite-tooltip.d.ts +4 -0
  697. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +3 -1
  698. package/dist/types/components/calcite-tree-item/resources.d.ts +4 -0
  699. package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +3 -1
  700. package/dist/types/components/calcite-value-list-item/calcite-value-list-item.d.ts +5 -0
  701. package/dist/types/components/interfaces.d.ts +1 -0
  702. package/dist/types/components.d.ts +266 -115
  703. package/dist/types/preact.d.ts +4 -3
  704. package/dist/types/stencil-public-runtime.d.ts +1 -0
  705. package/dist/types/utils/date.d.ts +5 -0
  706. package/dist/types/utils/dom.d.ts +0 -1
  707. package/dist/types/utils/label.d.ts +30 -0
  708. package/dist/types/utils/observers.d.ts +13 -0
  709. package/dist/types/utils/resources.d.ts +7 -0
  710. package/hydrate/index.js +6083 -5737
  711. package/package.json +31 -32
  712. package/readme.md +5 -3
  713. package/dist/calcite/assets/calcite-icon/checkSquareF16.json +0 -1
  714. package/dist/calcite/assets/calcite-icon/checkSquareF24.json +0 -1
  715. package/dist/calcite/assets/calcite-icon/checkSquareF32.json +0 -1
  716. package/dist/calcite/assets/calcite-icon/lineSolid4.json +0 -1
  717. package/dist/calcite/assets/calcite-icon/squareF16.json +0 -1
  718. package/dist/calcite/assets/calcite-icon/squareF24.json +0 -1
  719. package/dist/calcite/assets/calcite-icon/squareF32.json +0 -1
  720. package/dist/calcite/assets/calcite-icon/xHexagon16.json +0 -1
  721. package/dist/calcite/assets/calcite-icon/xHexagon24.json +0 -1
  722. package/dist/calcite/assets/calcite-icon/xHexagon32.json +0 -1
  723. package/dist/calcite/assets/calcite-icon/xHexagonF16.json +0 -1
  724. package/dist/calcite/assets/calcite-icon/xHexagonF24.json +0 -1
  725. package/dist/calcite/assets/calcite-icon/xHexagonF32.json +0 -1
  726. package/dist/calcite/assets/calcite-icon/xOctagonF16.json +0 -1
  727. package/dist/calcite/assets/calcite-icon/xOctagonF24.json +0 -1
  728. package/dist/calcite/assets/calcite-icon/xOctagonF32.json +0 -1
  729. package/dist/calcite/p-00483db2.entry.js +0 -1
  730. package/dist/calcite/p-02d538d1.entry.js +0 -1
  731. package/dist/calcite/p-047a81a3.system.entry.js +0 -1
  732. package/dist/calcite/p-05b94f96.system.entry.js +0 -1
  733. package/dist/calcite/p-08c520ab.entry.js +0 -1
  734. package/dist/calcite/p-093611e5.system.entry.js +0 -1
  735. package/dist/calcite/p-0db1b60a.entry.js +0 -1
  736. package/dist/calcite/p-0fb670d4.entry.js +0 -1
  737. package/dist/calcite/p-10f7294b.entry.js +0 -1
  738. package/dist/calcite/p-13ef1b53.system.js +0 -1
  739. package/dist/calcite/p-16b4f190.entry.js +0 -1
  740. package/dist/calcite/p-1a106eeb.system.js +0 -1
  741. package/dist/calcite/p-203a6353.system.entry.js +0 -1
  742. package/dist/calcite/p-27c361d6.system.entry.js +0 -1
  743. package/dist/calcite/p-2b637119.entry.js +0 -1
  744. package/dist/calcite/p-2be18acb.system.entry.js +0 -1
  745. package/dist/calcite/p-2c7e7100.entry.js +0 -1
  746. package/dist/calcite/p-2ef13248.system.entry.js +0 -1
  747. package/dist/calcite/p-3201ae19.system.entry.js +0 -1
  748. package/dist/calcite/p-32a36f7a.system.entry.js +0 -1
  749. package/dist/calcite/p-34ca7837.entry.js +0 -1
  750. package/dist/calcite/p-34f29ea4.system.entry.js +0 -1
  751. package/dist/calcite/p-34fb1f25.entry.js +0 -1
  752. package/dist/calcite/p-3673cde7.system.entry.js +0 -1
  753. package/dist/calcite/p-3a65f811.entry.js +0 -1
  754. package/dist/calcite/p-3be4b9aa.entry.js +0 -1
  755. package/dist/calcite/p-42da7fef.entry.js +0 -1
  756. package/dist/calcite/p-43012e6b.entry.js +0 -1
  757. package/dist/calcite/p-4a26a904.entry.js +0 -1
  758. package/dist/calcite/p-4be58665.entry.js +0 -1
  759. package/dist/calcite/p-4f499010.system.entry.js +0 -1
  760. package/dist/calcite/p-4fbdd4ed.system.entry.js +0 -1
  761. package/dist/calcite/p-50e479d9.entry.js +0 -1
  762. package/dist/calcite/p-5239d659.entry.js +0 -1
  763. package/dist/calcite/p-5299b13b.entry.js +0 -1
  764. package/dist/calcite/p-5375184d.system.entry.js +0 -1
  765. package/dist/calcite/p-586505c4.system.entry.js +0 -1
  766. package/dist/calcite/p-5890d56b.system.js +0 -1
  767. package/dist/calcite/p-5923992e.js +0 -1
  768. package/dist/calcite/p-64f42357.system.js +0 -1
  769. package/dist/calcite/p-6653b14e.entry.js +0 -1
  770. package/dist/calcite/p-66c45300.entry.js +0 -1
  771. package/dist/calcite/p-69c1ee7c.system.entry.js +0 -1
  772. package/dist/calcite/p-6c65d998.entry.js +0 -1
  773. package/dist/calcite/p-6e967236.system.entry.js +0 -1
  774. package/dist/calcite/p-72d6bba0.entry.js +0 -1
  775. package/dist/calcite/p-74c79844.system.entry.js +0 -1
  776. package/dist/calcite/p-74f6edf8.system.entry.js +0 -1
  777. package/dist/calcite/p-83c7204d.system.entry.js +0 -1
  778. package/dist/calcite/p-96deb83e.entry.js +0 -1
  779. package/dist/calcite/p-9d316477.system.entry.js +0 -1
  780. package/dist/calcite/p-a17fdd4d.system.entry.js +0 -1
  781. package/dist/calcite/p-a77b1cd0.entry.js +0 -1
  782. package/dist/calcite/p-a7a7301d.system.js +0 -1
  783. package/dist/calcite/p-a9dc52c5.system.entry.js +0 -1
  784. package/dist/calcite/p-aac1ce8a.system.entry.js +0 -1
  785. package/dist/calcite/p-ae2a0fdc.entry.js +0 -1
  786. package/dist/calcite/p-b4c1be3b.system.entry.js +0 -1
  787. package/dist/calcite/p-bb8ace16.js +0 -1
  788. package/dist/calcite/p-bd9a1bcb.system.entry.js +0 -1
  789. package/dist/calcite/p-c1089d9c.system.entry.js +0 -1
  790. package/dist/calcite/p-cd5299e3.system.entry.js +0 -1
  791. package/dist/calcite/p-ce1adba4.entry.js +0 -1
  792. package/dist/calcite/p-d06342ab.entry.js +0 -1
  793. package/dist/calcite/p-d06530e0.js +0 -1
  794. package/dist/calcite/p-d0f23a93.entry.js +0 -1
  795. package/dist/calcite/p-d54b30f0.js +0 -1
  796. package/dist/calcite/p-d5bd3f04.entry.js +0 -1
  797. package/dist/calcite/p-d716f0ee.system.entry.js +0 -1
  798. package/dist/calcite/p-d7b7568e.entry.js +0 -1
  799. package/dist/calcite/p-d7cbb59a.system.entry.js +0 -1
  800. package/dist/calcite/p-d81e8789.system.entry.js +0 -1
  801. package/dist/calcite/p-dbf798b1.system.entry.js +0 -1
  802. package/dist/calcite/p-e220ebdc.system.js +0 -1
  803. package/dist/calcite/p-ea8a5460.entry.js +0 -1
  804. package/dist/calcite/p-eb33c37f.entry.js +0 -1
  805. package/dist/calcite/p-eeb197c7.entry.js +0 -1
  806. package/dist/calcite/p-eeb4e8f1.system.entry.js +0 -1
  807. package/dist/calcite/p-f6d07921.entry.js +0 -1
  808. package/dist/calcite/p-f9f26b76.system.entry.js +0 -1
  809. package/dist/calcite/p-ff47c7f0.entry.js +0 -1
  810. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF16.json +0 -1
  811. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +0 -1
  812. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +0 -1
  813. package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +0 -1
  814. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +0 -1
  815. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +0 -1
  816. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +0 -1
  817. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +0 -1
  818. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +0 -1
  819. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +0 -1
  820. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +0 -1
  821. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +0 -1
  822. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +0 -1
  823. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +0 -1
  824. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +0 -1
  825. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +0 -1
  826. package/dist/collection/components/calcite-label/interfaces.js +0 -1
  827. package/dist/collection/components/calcite-test/interfaces.js +0 -1
  828. package/dist/collection/components/functional/CalciteContentArea.js +0 -54
  829. package/dist/collection/demos/_assets/createAlert.js +0 -16
  830. package/dist/collection/demos/_assets/demo-spacer.js +0 -17
  831. package/dist/collection/demos/_assets/demo-template.js +0 -13
  832. package/dist/collection/demos/_assets/demoPageReloader.js +0 -10
  833. package/dist/collection/demos/_assets/head.js +0 -51
  834. package/dist/collection/demos/_assets/loadingButton.js +0 -5
  835. package/dist/collection/demos/_assets/locales.js +0 -50
  836. package/dist/collection/demos/_assets/toggleBodyTheme.js +0 -13
  837. package/dist/collection/demos/_assets/toggles.js +0 -50
  838. package/dist/collection/demos/_assets/validateInput.js +0 -111
  839. package/dist/esm-es5/CalciteExpandToggle-476279ee.js +0 -1
  840. package/dist/esm-es5/dom-0b02c0cf.js +0 -1
  841. package/dist/esm-es5/popper-58fae6b8.js +0 -1
  842. package/dist/esm-es5/resources-1a6ba3ca.js +0 -1
  843. package/dist/esm-es5/resources-91bd199f.js +0 -1
  844. package/dist/types/components/calcite-label/interfaces.d.ts +0 -5
  845. package/dist/types/components/functional/CalciteContentArea.d.ts +0 -15
@@ -1 +0,0 @@
1
- System.register(["./p-a7a7301d.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.g}],execute:function(){e({c:st,u:ct});var r="top";var n="bottom";var a="right";var i="left";var o="auto";var f=[r,n,a,i];var s="start";var c="end";var u="clippingParents";var v="viewport";var p="popper";var l="reference";var d=f.reduce((function(e,t){return e.concat([t+"-"+s,t+"-"+c])}),[]);var m=[].concat(f,[o]).reduce((function(e,t){return e.concat([t,t+"-"+s,t+"-"+c])}),[]);var h="beforeRead";var g="read";var y="afterRead";var b="beforeMain";var w="main";var x="afterMain";var O="beforeWrite";var j="write";var E="afterWrite";var D=[h,g,y,b,w,x,O,j,E];function M(e){return e?(e.nodeName||"").toLowerCase():null}function k(e){if(e==null){return window}if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function L(e){var t=k(e).Element;return e instanceof t||e instanceof Element}function P(e){var t=k(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function W(e){if(typeof ShadowRoot==="undefined"){return false}var t=k(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function A(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{};var n=t.attributes[e]||{};var a=t.elements[e];if(!P(a)||!M(a)){return}Object.assign(a.style,r);Object.keys(n).forEach((function(e){var t=n[e];if(t===false){a.removeAttribute(e)}else{a.setAttribute(e,t===true?"":t)}}))}))}function B(e){var t=e.state;var r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper);t.styles=r;if(t.elements.arrow){Object.assign(t.elements.arrow.style,r.arrow)}return function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e];var a=t.attributes[e]||{};var i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]);var o=i.reduce((function(e,t){e[t]="";return e}),{});if(!P(n)||!M(n)){return}Object.assign(n.style,o);Object.keys(a).forEach((function(e){n.removeAttribute(e)}))}))}}var H={name:"applyStyles",enabled:true,phase:"write",fn:A,effect:B,requires:["computeStyles"]};function R(e){return e.split("-")[0]}var T=Math.round;function S(e,t){if(t===void 0){t=false}var r=e.getBoundingClientRect();var n=1;var a=1;if(P(e)&&t){n=r.width/e.offsetWidth||1;a=r.height/e.offsetHeight||1}return{width:T(r.width/n),height:T(r.height/a),top:T(r.top/a),right:T(r.right/n),bottom:T(r.bottom/a),left:T(r.left/n),x:T(r.left/n),y:T(r.top/a)}}function C(e){var t=S(e);var r=e.offsetWidth;var n=e.offsetHeight;if(Math.abs(t.width-r)<=1){r=t.width}if(Math.abs(t.height-n)<=1){n=t.height}return{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function q(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t)){return true}else if(r&&W(r)){var n=t;do{if(n&&e.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function N(e){return k(e).getComputedStyle(e)}function V(e){return["table","td","th"].indexOf(M(e))>=0}function I(e){return((L(e)?e.ownerDocument:e.document)||window.document).documentElement}function U(e){if(M(e)==="html"){return e}return e.assignedSlot||e.parentNode||(W(e)?e.host:null)||I(e)}function z(e){if(!P(e)||N(e).position==="fixed"){return null}return e.offsetParent}function _(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&P(e)){var n=N(e);if(n.position==="fixed"){return null}}var a=U(e);while(P(a)&&["html","body"].indexOf(M(a))<0){var i=N(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none"){return a}else{a=a.parentNode}}return null}function F(e){var t=k(e);var r=z(e);while(r&&V(r)&&N(r).position==="static"){r=z(r)}if(r&&(M(r)==="html"||M(r)==="body"&&N(r).position==="static")){return t}return r||_(e)||t}function X(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var Y=Math.max;var G=Math.min;var J=Math.round;function K(e,t,r){return Y(e,G(t,r))}function Q(){return{top:0,right:0,bottom:0,left:0}}function Z(e){return Object.assign({},Q(),e)}function $(e,t){return t.reduce((function(t,r){t[r]=e;return t}),{})}var ee=function e(t,r){t=typeof t==="function"?t(Object.assign({},r.rects,{placement:r.placement})):t;return Z(typeof t!=="number"?t:$(t,f))};function te(e){var t;var o=e.state,f=e.name,s=e.options;var c=o.elements.arrow;var u=o.modifiersData.popperOffsets;var v=R(o.placement);var p=X(v);var l=[i,a].indexOf(v)>=0;var d=l?"height":"width";if(!c||!u){return}var m=ee(s.padding,o);var h=C(c);var g=p==="y"?r:i;var y=p==="y"?n:a;var b=o.rects.reference[d]+o.rects.reference[p]-u[p]-o.rects.popper[d];var w=u[p]-o.rects.reference[p];var x=F(c);var O=x?p==="y"?x.clientHeight||0:x.clientWidth||0:0;var j=b/2-w/2;var E=m[g];var D=O-h[d]-m[y];var M=O/2-h[d]/2+j;var k=K(E,M,D);var L=p;o.modifiersData[f]=(t={},t[L]=k,t.centerOffset=k-M,t)}function re(e){var t=e.state,r=e.options;var n=r.element,a=n===void 0?"[data-popper-arrow]":n;if(a==null){return}if(typeof a==="string"){a=t.elements.popper.querySelector(a);if(!a){return}}if(!q(t.elements.popper,a)){return}t.elements.arrow=a}var ne={name:"arrow",enabled:true,phase:"main",fn:te,effect:re,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};var ae={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ie(e){var t=e.x,r=e.y;var n=window;var a=n.devicePixelRatio||1;return{x:J(J(t*a)/a)||0,y:J(J(r*a)/a)||0}}function oe(e){var t;var o=e.popper,f=e.popperRect,s=e.placement,c=e.offsets,u=e.position,v=e.gpuAcceleration,p=e.adaptive,l=e.roundOffsets;var d=l===true?ie(c):typeof l==="function"?l(c):c,m=d.x,h=m===void 0?0:m,g=d.y,y=g===void 0?0:g;var b=c.hasOwnProperty("x");var w=c.hasOwnProperty("y");var x=i;var O=r;var j=window;if(p){var E=F(o);var D="clientHeight";var M="clientWidth";if(E===k(o)){E=I(o);if(N(E).position!=="static"){D="scrollHeight";M="scrollWidth"}}E=E;if(s===r){O=n;y-=E[D]-f.height;y*=v?1:-1}if(s===i){x=a;h-=E[M]-f.width;h*=v?1:-1}}var L=Object.assign({position:u},p&&ae);if(v){var P;return Object.assign({},L,(P={},P[O]=w?"0":"",P[x]=b?"0":"",P.transform=(j.devicePixelRatio||1)<2?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",P))}return Object.assign({},L,(t={},t[O]=w?y+"px":"",t[x]=b?h+"px":"",t.transform="",t))}function fe(e){var t=e.state,r=e.options;var n=r.gpuAcceleration,a=n===void 0?true:n,i=r.adaptive,o=i===void 0?true:i,f=r.roundOffsets,s=f===void 0?true:f;var c={placement:R(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a};if(t.modifiersData.popperOffsets!=null){t.styles.popper=Object.assign({},t.styles.popper,oe(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:s})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,oe(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:s})))}t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var se={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:fe,data:{}};var ce={passive:true};function ue(e){var t=e.state,r=e.instance,n=e.options;var a=n.scroll,i=a===void 0?true:a,o=n.resize,f=o===void 0?true:o;var s=k(t.elements.popper);var c=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(i){c.forEach((function(e){e.addEventListener("scroll",r.update,ce)}))}if(f){s.addEventListener("resize",r.update,ce)}return function(){if(i){c.forEach((function(e){e.removeEventListener("scroll",r.update,ce)}))}if(f){s.removeEventListener("resize",r.update,ce)}}}var ve={name:"eventListeners",enabled:true,phase:"write",fn:function e(){},effect:ue,data:{}};var pe={left:"right",right:"left",bottom:"top",top:"bottom"};function le(e){return e.replace(/left|right|bottom|top/g,(function(e){return pe[e]}))}var de={start:"end",end:"start"};function me(e){return e.replace(/start|end/g,(function(e){return de[e]}))}function he(e){var t=k(e);var r=t.pageXOffset;var n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function ge(e){return S(I(e)).left+he(e).scrollLeft}function ye(e){var t=k(e);var r=I(e);var n=t.visualViewport;var a=r.clientWidth;var i=r.clientHeight;var o=0;var f=0;if(n){a=n.width;i=n.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){o=n.offsetLeft;f=n.offsetTop}}return{width:a,height:i,x:o+ge(e),y:f}}function be(e){var t;var r=I(e);var n=he(e);var a=(t=e.ownerDocument)==null?void 0:t.body;var i=Y(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0);var o=Y(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0);var f=-n.scrollLeft+ge(e);var s=-n.scrollTop;if(N(a||r).direction==="rtl"){f+=Y(r.clientWidth,a?a.clientWidth:0)-i}return{width:i,height:o,x:f,y:s}}function we(e){var t=N(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function xe(e){if(["html","body","#document"].indexOf(M(e))>=0){return e.ownerDocument.body}if(P(e)&&we(e)){return e}return xe(U(e))}function Oe(e,t){var r;if(t===void 0){t=[]}var n=xe(e);var a=n===((r=e.ownerDocument)==null?void 0:r.body);var i=k(n);var o=a?[i].concat(i.visualViewport||[],we(n)?n:[]):n;var f=t.concat(o);return a?f:f.concat(Oe(U(o)))}function je(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ee(e){var t=S(e);t.top=t.top+e.clientTop;t.left=t.left+e.clientLeft;t.bottom=t.top+e.clientHeight;t.right=t.left+e.clientWidth;t.width=e.clientWidth;t.height=e.clientHeight;t.x=t.left;t.y=t.top;return t}function De(e,t){return t===v?je(ye(e)):P(t)?Ee(t):je(be(I(e)))}function Me(e){var t=Oe(U(e));var r=["absolute","fixed"].indexOf(N(e).position)>=0;var n=r&&P(e)?F(e):e;if(!L(n)){return[]}return t.filter((function(e){return L(e)&&q(e,n)&&M(e)!=="body"}))}function ke(e,t,r){var n=t==="clippingParents"?Me(e):[].concat(t);var a=[].concat(n,[r]);var i=a[0];var o=a.reduce((function(t,r){var n=De(e,r);t.top=Y(n.top,t.top);t.right=G(n.right,t.right);t.bottom=G(n.bottom,t.bottom);t.left=Y(n.left,t.left);return t}),De(e,i));o.width=o.right-o.left;o.height=o.bottom-o.top;o.x=o.left;o.y=o.top;return o}function Le(e){return e.split("-")[1]}function Pe(e){var t=e.reference,o=e.element,f=e.placement;var u=f?R(f):null;var v=f?Le(f):null;var p=t.x+t.width/2-o.width/2;var l=t.y+t.height/2-o.height/2;var d;switch(u){case r:d={x:p,y:t.y-o.height};break;case n:d={x:p,y:t.y+t.height};break;case a:d={x:t.x+t.width,y:l};break;case i:d={x:t.x-o.width,y:l};break;default:d={x:t.x,y:t.y}}var m=u?X(u):null;if(m!=null){var h=m==="y"?"height":"width";switch(v){case s:d[m]=d[m]-(t[h]/2-o[h]/2);break;case c:d[m]=d[m]+(t[h]/2-o[h]/2);break}}return d}function We(e,t){if(t===void 0){t={}}var i=t,o=i.placement,s=o===void 0?e.placement:o,c=i.boundary,d=c===void 0?u:c,m=i.rootBoundary,h=m===void 0?v:m,g=i.elementContext,y=g===void 0?p:g,b=i.altBoundary,w=b===void 0?false:b,x=i.padding,O=x===void 0?0:x;var j=Z(typeof O!=="number"?O:$(O,f));var E=y===p?l:p;var D=e.elements.reference;var M=e.rects.popper;var k=e.elements[w?E:y];var P=ke(L(k)?k:k.contextElement||I(e.elements.popper),d,h);var W=S(D);var A=Pe({reference:W,element:M,strategy:"absolute",placement:s});var B=je(Object.assign({},M,A));var H=y===p?B:W;var R={top:P.top-H.top+j.top,bottom:H.bottom-P.bottom+j.bottom,left:P.left-H.left+j.left,right:H.right-P.right+j.right};var T=e.modifiersData.offset;if(y===p&&T){var C=T[s];Object.keys(R).forEach((function(e){var t=[a,n].indexOf(e)>=0?1:-1;var i=[r,n].indexOf(e)>=0?"y":"x";R[e]+=C[i]*t}))}return R}function Ae(e,t){if(t===void 0){t={}}var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,o=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,u=c===void 0?m:c;var v=Le(n);var p=v?s?d:d.filter((function(e){return Le(e)===v})):f;var l=p.filter((function(e){return u.indexOf(e)>=0}));if(l.length===0){l=p}var h=l.reduce((function(t,r){t[r]=We(e,{placement:r,boundary:a,rootBoundary:i,padding:o})[R(r)];return t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}function Be(e){if(R(e)===o){return[]}var t=le(e);return[me(e),t,me(t)]}function He(e){var t=e.state,f=e.options,c=e.name;if(t.modifiersData[c]._skip){return}var u=f.mainAxis,v=u===void 0?true:u,p=f.altAxis,l=p===void 0?true:p,d=f.fallbackPlacements,m=f.padding,h=f.boundary,g=f.rootBoundary,y=f.altBoundary,b=f.flipVariations,w=b===void 0?true:b,x=f.allowedAutoPlacements;var O=t.options.placement;var j=R(O);var E=j===O;var D=d||(E||!w?[le(O)]:Be(O));var M=[O].concat(D).reduce((function(e,r){return e.concat(R(r)===o?Ae(t,{placement:r,boundary:h,rootBoundary:g,padding:m,flipVariations:w,allowedAutoPlacements:x}):r)}),[]);var k=t.rects.reference;var L=t.rects.popper;var P=new Map;var W=true;var A=M[0];for(var B=0;B<M.length;B++){var H=M[B];var T=R(H);var S=Le(H)===s;var C=[r,n].indexOf(T)>=0;var q=C?"width":"height";var N=We(t,{placement:H,boundary:h,rootBoundary:g,altBoundary:y,padding:m});var V=C?S?a:i:S?n:r;if(k[q]>L[q]){V=le(V)}var I=le(V);var U=[];if(v){U.push(N[T]<=0)}if(l){U.push(N[V]<=0,N[I]<=0)}if(U.every((function(e){return e}))){A=H;W=false;break}P.set(H,U)}if(W){var z=w?3:1;var _=function e(t){var r=M.find((function(e){var r=P.get(e);if(r){return r.slice(0,t).every((function(e){return e}))}}));if(r){A=r;return"break"}};for(var F=z;F>0;F--){var X=_(F);if(X==="break")break}}if(t.placement!==A){t.modifiersData[c]._skip=true;t.placement=A;t.reset=true}}var Re={name:"flip",enabled:true,phase:"main",fn:He,requiresIfExists:["offset"],data:{_skip:false}};function Te(e,t,r){if(r===void 0){r={x:0,y:0}}return{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Se(e){return[r,a,n,i].some((function(t){return e[t]>=0}))}function Ce(e){var t=e.state,r=e.name;var n=t.rects.reference;var a=t.rects.popper;var i=t.modifiersData.preventOverflow;var o=We(t,{elementContext:"reference"});var f=We(t,{altBoundary:true});var s=Te(o,n);var c=Te(f,a,i);var u=Se(s);var v=Se(c);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:v};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":v})}var qe={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:Ce};function Ne(e,t,n){var o=R(e);var f=[i,r].indexOf(o)>=0?-1:1;var s=typeof n==="function"?n(Object.assign({},t,{placement:e})):n,c=s[0],u=s[1];c=c||0;u=(u||0)*f;return[i,a].indexOf(o)>=0?{x:u,y:c}:{x:c,y:u}}function Ve(e){var t=e.state,r=e.options,n=e.name;var a=r.offset,i=a===void 0?[0,0]:a;var o=m.reduce((function(e,r){e[r]=Ne(r,t.rects,i);return e}),{});var f=o[t.placement],s=f.x,c=f.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=s;t.modifiersData.popperOffsets.y+=c}t.modifiersData[n]=o}var Ie={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:Ve};function Ue(e){var t=e.state,r=e.name;t.modifiersData[r]=Pe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var ze={name:"popperOffsets",enabled:true,phase:"read",fn:Ue,data:{}};function _e(e){return e==="x"?"y":"x"}function Fe(e){var t=e.state,o=e.options,f=e.name;var c=o.mainAxis,u=c===void 0?true:c,v=o.altAxis,p=v===void 0?false:v,l=o.boundary,d=o.rootBoundary,m=o.altBoundary,h=o.padding,g=o.tether,y=g===void 0?true:g,b=o.tetherOffset,w=b===void 0?0:b;var x=We(t,{boundary:l,rootBoundary:d,padding:h,altBoundary:m});var O=R(t.placement);var j=Le(t.placement);var E=!j;var D=X(O);var M=_e(D);var k=t.modifiersData.popperOffsets;var L=t.rects.reference;var P=t.rects.popper;var W=typeof w==="function"?w(Object.assign({},t.rects,{placement:t.placement})):w;var A={x:0,y:0};if(!k){return}if(u||p){var B=D==="y"?r:i;var H=D==="y"?n:a;var T=D==="y"?"height":"width";var S=k[D];var q=k[D]+x[B];var N=k[D]-x[H];var V=y?-P[T]/2:0;var I=j===s?L[T]:P[T];var U=j===s?-P[T]:-L[T];var z=t.elements.arrow;var _=y&&z?C(z):{width:0,height:0};var J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Q();var Z=J[B];var $=J[H];var ee=K(0,L[T],_[T]);var te=E?L[T]/2-V-ee-Z-W:I-ee-Z-W;var re=E?-L[T]/2+V+ee+$+W:U+ee+$+W;var ne=t.elements.arrow&&F(t.elements.arrow);var ae=ne?D==="y"?ne.clientTop||0:ne.clientLeft||0:0;var ie=t.modifiersData.offset?t.modifiersData.offset[t.placement][D]:0;var oe=k[D]+te-ie-ae;var fe=k[D]+re-ie;if(u){var se=K(y?G(q,oe):q,S,y?Y(N,fe):N);k[D]=se;A[D]=se-S}if(p){var ce=D==="x"?r:i;var ue=D==="x"?n:a;var ve=k[M];var pe=ve+x[ce];var le=ve-x[ue];var de=K(y?G(pe,oe):pe,ve,y?Y(le,fe):le);k[M]=de;A[M]=de-ve}}t.modifiersData[f]=A}var Xe={name:"preventOverflow",enabled:true,phase:"main",fn:Fe,requiresIfExists:["offset"]};function Ye(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ge(e){if(e===k(e)||!P(e)){return he(e)}else{return Ye(e)}}function Je(e){var t=e.getBoundingClientRect();var r=t.width/e.offsetWidth||1;var n=t.height/e.offsetHeight||1;return r!==1||n!==1}function Ke(e,t,r){if(r===void 0){r=false}var n=P(t);var a=P(t)&&Je(t);var i=I(t);var o=S(e,a);var f={scrollLeft:0,scrollTop:0};var s={x:0,y:0};if(n||!n&&!r){if(M(t)!=="body"||we(i)){f=Ge(t)}if(P(t)){s=S(t,true);s.x+=t.clientLeft;s.y+=t.clientTop}else if(i){s.x=ge(i)}}return{x:o.left+f.scrollLeft-s.x,y:o.top+f.scrollTop-s.y,width:o.width,height:o.height}}function Qe(e){var t=new Map;var r=new Set;var n=[];e.forEach((function(e){t.set(e.name,e)}));function a(e){r.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach((function(e){if(!r.has(e)){var n=t.get(e);if(n){a(n)}}}));n.push(e)}e.forEach((function(e){if(!r.has(e.name)){a(e)}}));return n}function Ze(e){var t=Qe(e);return D.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}function $e(e){var t;return function(){if(!t){t=new Promise((function(r){Promise.resolve().then((function(){t=undefined;r(e())}))}))}return t}}function et(e){var t=e.reduce((function(e,t){var r=e[t.name];e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t;return e}),{});return Object.keys(t).map((function(e){return t[e]}))}var tt={placement:"bottom",modifiers:[],strategy:"absolute"};function rt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return!t.some((function(e){return!(e&&typeof e.getBoundingClientRect==="function")}))}function nt(e){if(e===void 0){e={}}var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?tt:a;return function e(t,r,a){if(a===void 0){a=i}var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},tt,i),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}};var f=[];var s=false;var c={state:o,setOptions:function e(a){v();o.options=Object.assign({},i,o.options,a);o.scrollParents={reference:L(t)?Oe(t):t.contextElement?Oe(t.contextElement):[],popper:Oe(r)};var f=Ze(et([].concat(n,o.options.modifiers)));o.orderedModifiers=f.filter((function(e){return e.enabled}));u();return c.update()},forceUpdate:function e(){if(s){return}var t=o.elements,r=t.reference,n=t.popper;if(!rt(r,n)){return}o.rects={reference:Ke(r,F(n),o.options.strategy==="fixed"),popper:C(n)};o.reset=false;o.placement=o.options.placement;o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var a=0;a<o.orderedModifiers.length;a++){if(o.reset===true){o.reset=false;a=-1;continue}var i=o.orderedModifiers[a],f=i.fn,u=i.options,v=u===void 0?{}:u,p=i.name;if(typeof f==="function"){o=f({state:o,options:v,name:p,instance:c})||o}}},update:$e((function(){return new Promise((function(e){c.forceUpdate();e(o)}))})),destroy:function e(){v();s=true}};if(!rt(t,r)){return c}c.setOptions(a).then((function(e){if(!s&&a.onFirstUpdate){a.onFirstUpdate(e)}}));function u(){o.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=r===void 0?{}:r,a=e.effect;if(typeof a==="function"){var i=a({state:o,name:t,instance:c,options:n});var s=function e(){};f.push(i||s)}}))}function v(){f.forEach((function(e){return e()}));f=[]}return c}}var at=[ve,ze,se,H,Ie,Re,Xe,ne,qe];var it=nt({defaultModifiers:at});var ot=e("C",{animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"});function ft(e,r){var n=["left","right"];var a=["start","end"];if(t(e)==="rtl"){n.reverse();a.reverse()}return r.replace(/-leading/gi,"-"+a[0]).replace(/-trailing/gi,"-"+a[1]).replace(/leading/gi,n[0]).replace(/trailing/gi,n[1])}function st(e){var t=e.referenceEl,r=e.el,n=e.placement,a=e.overlayPositioning,i=a===void 0?"absolute":a,o=e.modifiers;if(!t){return null}return it(t,r,{strategy:i,placement:ft(r,n),modifiers:o})}function ct(e){var t=e.el,r=e.modifiers,n=e.placement,a=e.popper;var i=ft(t,n);a.setOptions({modifiers:r,placement:i})}function ut(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))}var vt=4;var pt=e("d",Math.ceil(ut(vt,vt)))}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as a,h as i,H as e,g as n}from"./p-263e9c6f.js";import{t as o,q as s,o as r,C as l,g as c}from"./p-bb8ace16.js";import{a as d,f as p}from"./p-c47fe2f9.js";import"./p-4fda49e6.js";import"./p-354fbadd.js";import"./p-a4e6e35b.js";const m=class{constructor(i){t(this,i),this.calciteActionBarToggle=a(this,"calciteActionBarToggle",7),this.expandDisabled=!1,this.expanded=!1,this.mutationObserver=new MutationObserver((()=>{const{el:t,expanded:a}=this;o({parent:t,expanded:a}),this.resize(t.clientHeight)})),this.resizeObserver=new ResizeObserver((t=>this.resizeHandlerEntries(t))),this.actionMenuOpenChangeHandler=t=>{if(t.detail){const a=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{a.includes(t)||(t.menuOpen=!1)}))}},this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{height:a}=t.contentRect;this.resize(a)},this.resize=t=>{var a;const{el:i,expanded:e,expandDisabled:n,lastActionCount:o,lastGroupCount:l,lastResizeHeight:p,overflowActionsDisabled:m}=this;if("number"!=typeof t||m)return;const h=s(i),b=n?h.length:h.length+1,f=Array.from(i.querySelectorAll("calcite-action-group")),x=d(i,"bottom-actions")||!n?f.length+1:f.length;if(p===t&&o===b&&l===x)return;this.lastActionCount=b,this.lastGroupCount=x,this.lastResizeHeight=t;const u=c({actionCount:b,actionHeight:null===(a=h[0])||void 0===a?void 0:a.clientHeight,height:t,groupCount:x});r({actionGroups:f,expanded:e,overflowCount:u})},this.toggleExpand=()=>{this.expanded=!this.expanded},this.setExpandToggleRef=t=>{this.expandToggleEl=t}}expandHandler(t){t||o({parent:this.el,expanded:this.expanded}),this.resize(this.el.clientHeight)}expandedHandler(t){this.expandDisabled||o({parent:this.el,expanded:t}),this.calciteActionBarToggle.emit()}overflowDisabledHandler(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)}componentWillLoad(){const{el:t,expandDisabled:a,expanded:i}=this;a||o({parent:t,expanded:i}),this.mutationObserver.observe(t,{childList:!0}),this.overflowActionsDisabled||this.resizeObserver.observe(t)}componentDidLoad(){this.resize(this.el.clientHeight)}disconnectedCallback(){this.mutationObserver.disconnect(),this.resizeObserver.disconnect()}async setFocus(t){"expand-toggle"!==t?this.el.focus():await p(this.expandToggleEl)}renderBottomActionGroup(){const{expanded:t,expandDisabled:a,intlExpand:e,intlCollapse:n,el:o,position:s,toggleExpand:r,scale:c}=this,p=d(o,"expand-tooltip"),m=a?null:i(l,{el:o,expanded:t,intlCollapse:n||"Collapse",intlExpand:e||"Expand",position:s,ref:this.setExpandToggleRef,scale:c,toggle:r,tooltip:p});return d(o,"bottom-actions")||m?i("calcite-action-group",{class:"action-group--bottom",scale:c},i("slot",{name:"bottom-actions"}),i("slot",{name:"expand-tooltip"}),m):null}render(){return i(e,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},i("slot",null),this.renderBottomActionGroup())}get el(){return n(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}}};m.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:300ms}.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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{-ms-flex-item-align:stretch;align-self:stretch;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;pointer-events:auto;max-width:15vw}:host([overflow-actions-disabled]){overflow-y:auto}:host([expanded]){max-width:20vw}::slotted(calcite-action-group){border-width:0;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2)}::slotted(calcite-action-group:last-child){border-bottom-width:0}.action-group--bottom{padding-bottom:0;-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end}";export{m as calcite_action_bar}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as i,H as a,g as n}from"./p-263e9c6f.js";import{a as o,g as r,C as s}from"./p-c47fe2f9.js";import{C as l}from"./p-d06530e0.js";import"./p-a4e6e35b.js";const c={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},m=class{constructor(i){t(this,i),this.calciteBlockToggle=e(this,"calciteBlockToggle",7),this.collapsible=!1,this.disabled=!1,this.dragHandle=!1,this.intlLoading="Loading",this.intlOptions="Options",this.loading=!1,this.open=!1,this.onHeaderClick=()=>{this.open=!this.open,this.calciteBlockToggle.emit()}}renderScrim(){const{disabled:t,loading:e}=this,a=i("slot",null);return[e||t?i("calcite-scrim",{loading:e}):null,a]}renderIcon(){var t;const{el:e,status:a}=this,n=null!==(t=c[a])&&void 0!==t&&t,r=o(e,"icon")||n,s=n?i("calcite-icon",{class:{"status-icon":!0,valid:"valid"==a,invalid:"invalid"==a},icon:n,scale:"m"}):i("slot",{name:"icon"});return r?i("div",{class:"icon"},s):null}render(){const{collapsible:t,disabled:e,el:n,heading:m,intlCollapse:d,intlExpand:g,loading:p,open:f,summary:h,intlLoading:u,headingLevel:b}=this,w=f?d||"Collapse":g||"Expand",x=i("header",{class:"header"},this.renderIcon(),i("div",{class:"title"},i(l,{class:"heading",level:b||4},m),h?i("div",{class:"summary"},h):null)),k=!!o(n,"control"),y=!!o(n,"header-menu-actions"),v=f?c.opened:c.closed,D=i("div",{class:"header-container"},this.dragHandle?i("calcite-handle",null):null,t?i("button",{"aria-expanded":t?f.toString():null,"aria-label":w,class:"toggle",onClick:this.onHeaderClick,title:w},x,k||y?null:i("calcite-icon",{"aria-hidden":"true",class:"toggle-icon",icon:v,scale:"s"})):x,p?i("calcite-loader",{inline:!0,"is-active":!0,label:u}):k?i("div",{class:"control-container"},i("slot",{name:"control"})):null,y?i("calcite-action-menu",{label:this.intlOptions||"Options"},i("slot",{name:"header-menu-actions"})):null),z="rtl"===r(n);return i(a,{tabIndex:e?-1:null},i("article",{"aria-busy":p.toString(),class:{article:!0,[s.rtl]:z}},D,i("div",{class:"content",hidden:!f},this.renderScrim())))}get el(){return n(this)}};m.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:300ms}.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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-direction:column;flex-direction:column;padding:0;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);border-width:0;border-bottom-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid;-ms-flex-preferred-size:auto;flex-basis:auto}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;color:var(--calcite-ui-text-2);fill:var(--calcite-ui-text-2)}.heading{padding:0;margin:0;font-weight:var(--calcite-font-weight-medium);line-height:1.5}.header .heading{-ms-flex:1 0 auto;flex:1 0 auto;padding:var(--calcite-spacing-half) var(--calcite-spacing-half)}h1.heading{font-size:var(--calcite-font-size-2)}h2.heading{font-size:var(--calcite-font-size-1)}h3.heading{font-size:var(--calcite-font-size-0)}h4.heading,h5.heading{font-size:var(--calcite-font-size--1)}.header{-ms-flex-pack:start;justify-content:flex-start;padding:0}.header,.toggle{grid-area:header}.header-container{display:grid;-ms-flex-align:stretch;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.header-container>.header{padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0}.toggle{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;font-family:inherit;-ms-flex-align:center;align-items:center;margin:0;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0;border-style:none;cursor:pointer;text-align:left;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0;padding-left:1rem;padding-right:1rem;padding-top:0;padding-bottom:0}.header .title .heading{padding:0;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word;line-height:1.25;-webkit-transition-property:color;transition-property:color;-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)}.summary{padding:0;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);margin-top:0.125rem;word-wrap:break-word;word-break:break-word}.icon{margin-left:0.75rem}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.toggle-icon{margin-right:1rem;-ms-flex-item-align:center;align-self:center;color:var(--calcite-ui-text-3);-webkit-transition-property:color;transition-property:color;-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)}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.content{padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;position:relative;-webkit-animation:in var(--calcite-animation-timing) ease-in-out;animation:in var(--calcite-animation-timing) ease-in-out}.control-container{display:-ms-flexbox;display:flex;margin:0;grid-area:control}calcite-action-menu{grid-area:menu}.calcite--rtl .toggle-icon{margin-right:0;margin-left:1rem}.calcite--rtl .icon{margin-left:0;margin-right:0.75rem}:host([open]){margin-top:0.5rem;margin-bottom:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;user-select:none}:host([disabled]) .header-container{opacity:0.5}:host([drag-handle]) .calcite--rtl .title{padding-left:0;padding-right:0.25rem}';const d={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"},g=class{constructor(i){t(this,i),this.calciteBlockSectionToggle=e(this,"calciteBlockSectionToggle",7),this.open=!1,this.toggleDisplay="button",this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()}}handleHeaderLabelKeyDown(t){" "!==t.key&&"Enter"!==t.key||(t.preventDefault(),t.stopPropagation(),this.click())}renderStatusIcon(){var t;const{status:e}=this,a=null!==(t=d[e])&&void 0!==t&&t;return a?i("calcite-icon",{class:{"status-icon":!0,valid:"valid"==e,invalid:"invalid"==e},icon:a,scale:"s"}):null}render(){const{el:t,intlCollapse:e,intlExpand:a,open:n,text:o,toggleDisplay:l}=this,c=r(t),m=n?d.menuOpen:"rtl"===c?d.menuClosedLeft:d.menuClosedRight,g=n?e||"Collapse":a||"Expand",p="switch"===l?i("label",{"aria-label":g,class:{toggle:!0,"toggle--switch":!0},onKeyDown:this.handleHeaderLabelKeyDown,tabIndex:0,title:g},i("div",{class:"toggle--switch__content"},i("span",{class:"toggle--switch__text"},o)),i("calcite-switch",{onCalciteSwitchChange:this.toggleSection,scale:"s",switched:n,tabIndex:-1}),this.renderStatusIcon()):i("button",{"aria-label":g,class:{"section-header":!0,toggle:!0},name:g,onClick:this.toggleSection,onKeyDown:this.handleHeaderLabelKeyDown},i("calcite-icon",{icon:m,scale:"s"}),i("span",{class:"section-header__text"},o),this.renderStatusIcon());return i("section",{"aria-expanded":n.toString(),class:{[s.rtl]:"rtl"===c}},p,i("div",{class:"content",hidden:!n},i("slot",null)))}get el(){return n(this)}};g.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);display:block}:host([open]){border-style:solid;border-width:0;border-bottom-color:var(--calcite-ui-border-3);border-bottom-width:1px}:host(:last-child){border-bottom-width:0}.toggle{background-color:transparent;border-width:0;color:var(--calcite-ui-text-2);font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);width:100%}.toggle--switch,.section-header{-ms-flex-align:center;align-items:center;cursor:pointer;display:-ms-flexbox;display:flex;margin-left:0;margin-right:0;margin-top:0.25rem;margin-bottom:0.25rem;padding-left:0;padding-right:0;padding-top:0.5rem;padding-bottom:0.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:var(--calcite-font-size--1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{-ms-flex-item-align:end;align-self:flex-end}.section-header__text{-ms-flex:1 1 auto;flex:1 1 auto;margin-left:0.75rem;margin-right:0.75rem;margin-top:0;margin-bottom:0;text-align:initial}.toggle--switch calcite-switch{pointer-events:none;margin-left:0.25rem}.toggle--switch .status-icon{margin-left:0.5rem}.toggle--switch__content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.calcite--rtl .toggle--switch calcite-switch{margin-left:0;margin-right:0.25rem}.calcite--rtl .toggle--switch .status-icon{margin-left:0;margin-right:0.5rem}";export{m as calcite_block,g as calcite_block_section}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as i,H as a,g as o}from"./p-263e9c6f.js";import{f as r,g as s,C as n,a as l,e as c,i as d}from"./p-c47fe2f9.js";import{g as m}from"./p-cebd4de5.js";import"./p-a4e6e35b.js";function h(t,e,i,a=20,o=0){let r=[];if(o>=a)return r;const s=t=>{const r=t.assignedNodes().filter((t=>1===t.nodeType));return r.length>0?h(r[0].parentElement,e,i,a,o+1):[]},n=Array.from(t.children||[]);for(const t of n)e(t)||(i(t)&&r.push(t),null!=t.shadowRoot?r.push(...h(t.shadowRoot,e,i,a,o+1)):"SLOT"===t.tagName?r.push(...s(t)):r.push(...h(t,e,i,a,o+1)));return r}function b(t){return t.hasAttribute("hidden")||t.hasAttribute("aria-hidden")&&"false"!==t.getAttribute("aria-hidden")||"none"===t.style.display||"0"===t.style.opacity||"hidden"===t.style.visibility||"collapse"===t.style.visibility}const u=t=>{return d(t)||"-1"!==(e=t).getAttribute("tabindex")&&!b(e)&&!function(t){return t.hasAttribute("disabled")||t.hasAttribute("aria-disabled")&&"false"!==t.getAttribute("aria-disabled")}(e)&&(e.hasAttribute("tabindex")||(e instanceof HTMLAnchorElement||e instanceof HTMLAreaElement)&&e.hasAttribute("href")||e instanceof HTMLButtonElement||e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement||e instanceof HTMLIFrameElement);var e},f=t=>h(t,b,u),p=class{constructor(i){t(this,i),this.calciteModalOpen=e(this,"calciteModalOpen",7),this.calciteModalClose=e(this,"calciteModalClose",7),this.beforeClose=()=>Promise.resolve(),this.intlClose="Close",this.scale="m",this.width="m",this.backgroundColor="white",this.hasFooter=!0,this.mutationObserver=null,this.activeTransitionProp="opacity",this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&(this.active?this.calciteModalOpen.emit():this.calciteModalClose.emit())},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleOutsideClose=()=>{this.disableOutsideClose||this.close()},this.close=()=>this.beforeClose(this.el).then((()=>{this.active=!1,r(this.previousActiveElement),this.removeOverflowHiddenClass()})),this.focusFirstElement=()=>{r(this.closeButtonEl)},this.focusLastElement=()=>{const t=f(this.el).filter((t=>!t.getAttribute("data-focus-fence")));r(t.length>0?t[t.length-1]:this.closeButtonEl)},this.updateFooterVisibility=()=>{this.hasFooter=!!this.el.querySelector("[slot=back], [slot=secondary], [slot=primary]")}}componentWillLoad(){this.active&&this.open()}connectedCallback(){var t;this.mutationObserver||(this.mutationObserver=new MutationObserver(this.updateFooterVisibility)),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.updateFooterVisibility()}disconnectedCallback(){var t;this.removeOverflowHiddenClass(),null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){const t=s(this.el);return i(a,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},i("calcite-scrim",{class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),i("div",{class:{modal:!0,[n.rtl]:"rtl"===t},onTransitionEnd:this.transitionEnd},i("div",{"data-focus-fence":!0,onFocus:this.focusLastElement,tabindex:"0"}),i("div",{class:"header"},this.renderCloseButton(),i("header",{class:"title"},i("slot",{name:"header"}))),i("div",{class:{content:!0,"content--spaced":!this.noPadding,"content--no-footer":!this.hasFooter},ref:t=>this.modalContent=t},i("slot",{name:"content"})),this.renderFooter(),i("div",{"data-focus-fence":!0,onFocus:this.focusFirstElement,tabindex:"0"})))}renderFooter(){return this.hasFooter?i("div",{class:"footer"},i("span",{class:"back"},i("slot",{name:"back"})),i("span",{class:"secondary"},i("slot",{name:"secondary"})),i("span",{class:"primary"},i("slot",{name:"primary"}))):null}renderCloseButton(){return this.disableCloseButton?null:i("button",{"aria-label":this.intlClose,class:"close",onClick:this.close,ref:t=>this.closeButtonEl=t,title:this.intlClose},i("calcite-icon",{icon:"x",scale:"s"===this.scale?"s":"l"}))}renderStyle(){return isNaN(parseInt(`${this.width}`))?null:i("style",null,`\n .modal {\n max-width: ${this.width}px !important;\n }\n @media screen and (max-width: ${this.width}px) {\n .modal {\n height: 100% !important;\n max-height: 100% !important;\n width: 100% !important;\n max-width: 100% !important;\n margin: 0 !important;\n border-radius: 0 !important;\n }\n .content {\n flex: 1 1 auto !important;\n max-height: unset !important;\n }\n }\n `)}handleEscape(t){this.active&&!this.disableEscape&&"Escape"===m(t.key)&&this.close()}async focusElement(t){return t&&t.focus(),this.setFocus()}async setFocus(t){const e=this.closeButtonEl;return r("close-button"===t?e:f(this.el)[0]||e)}async scrollContent(t=0,e=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:t,left:e,behavior:"smooth"}):(this.modalContent.scrollTop=t,this.modalContent.scrollLeft=e))}async toggleModal(t,e){t!==e&&(t?this.open():t||this.close())}open(){this.previousActiveElement=document.activeElement,this.el.addEventListener("calciteModalOpen",this.openEnd),this.active=!0;const t=l(this.el,"header"),e=l(this.el,"content");this.titleId=c(t),this.contentId=c(e),document.documentElement.classList.add("overflow-hidden")}removeOverflowHiddenClass(){document.documentElement.classList.remove("overflow-hidden")}get el(){return o(this)}static get watchers(){return{active:["toggleModal"]}}};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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{position:fixed;top:0;right:0;bottom:0;left:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);z-index:101}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;top:0;right:0;bottom:0;left:0;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-box-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);box-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);-webkit-box-sizing:border-box;box-sizing:border-box;float:none;margin:1.5rem;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);width:100%;opacity:0;pointer-events:none;overflow:hidden;z-index:102;-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transform:translate3d(0, 20px, 0);transform:translate3d(0, 20px, 0)}:host([active]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([active]) .modal{opacity:1;pointer-events:auto;visibility:visible;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{display:-ms-flexbox;display:flex;max-width:100%;min-width:0;border-top-left-radius:0.25rem;border-top-right-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);border-width:0;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto;z-index:2}.close{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;color:var(--calcite-ui-text-3);-ms-flex-order:2;order:2;cursor:pointer;border-top-right-radius:0.25rem;background-color:transparent;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;padding:var(--calcite-modal-padding);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.calcite--rtl .close{border-top-left-radius:0.25rem;border-top-right-radius:0}.title{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-order:1;order:1;min-width:0;-ms-flex:1 1 auto;flex:1 1 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text)}.content{position:relative;padding:0;height:100%;overflow:auto;display:block;background-color:var(--calcite-ui-foreground-1);-webkit-box-sizing:border-box;box-sizing:border-box;max-height:calc(100vh - 12rem);z-index:1}.content--spaced{padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}.content--no-footer{border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text)}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin-top:auto;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem;width:100%;background-color:var(--calcite-ui-foreground-1);border-width:0;border-top-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large);z-index:2}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-right:auto}.calcite--rtl .back{margin-left:auto;margin-right:0}.secondary{display:block;margin-left:0.25rem;margin-right:0.25rem}slot[name=primary]{display:block}:host([width=small]) .modal{width:auto}:host([width=s]) .modal{max-width:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;border-radius:0}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-width:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;border-radius:0}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-width:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;border-radius:0}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;-webkit-transform:translate3D(0, 20px, 0) scale(0.95);transform:translate3D(0, 20px, 0) scale(0.95)}:host([fullscreen]) .content{max-height:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([active][fullscreen]) .modal{-webkit-transform:translate3D(0, 0, 0) scale(1);transform:translate3D(0, 0, 0) scale(1)}:host([active][fullscreen]) .header{border-radius:0}:host([active][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{height:auto}:host([docked]) .content{height:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-radius:0 var(--calcite-border-radius) 0 0}}@media screen and (max-width: 860px){:host([docked]) .calcite--rtl .close{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0;border-top-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-bottom-right-radius:0;border-bottom-left-radius:0}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;bottom:0}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.calcite--rtl .back,.back,.secondary{margin:0;margin-bottom:0.25rem}}";export{p as calcite_modal}
@@ -1 +0,0 @@
1
- System.register(["./p-3c9923f1.system.js","./p-95dfb659.system.js","./p-a7a7301d.system.js","./p-2c235db8.system.js"],(function(t){"use strict";var i,e,o,a,c,n,r,s,l;return{setters:[function(t){i=t.r;e=t.c;o=t.h;a=t.g;c=t.H},function(t){n=t.g},function(t){r=t.d;s=t.g;l=t.C},function(){}],execute:function(){var m="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{display:block;position:relative;max-width:100%;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);border-bottom-width:0;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}:host([appearance=minimal]){--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0;border-color:transparent}:host([appearance=transparent]){border-color:transparent;--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}";var d=t("calcite_accordion",function(){function t(t){i(this,t);this.calciteAccordionChange=e(this,"calciteAccordionChange",7);this.appearance="default";this.iconPosition="end";this.iconType="chevron";this.scale="m";this.selectionMode="multi";this.items=[];this.sorted=false;this.sortItems=function(t){return t.sort((function(t,i){return t.position-i.position})).map((function(t){return t.item}))}}t.prototype.componentDidLoad=function(){if(!this.sorted){this.items=this.sortItems(this.items);this.sorted=true}};t.prototype.render=function(){return o("slot",null)};t.prototype.calciteAccordionItemKeyEvent=function(t){var i=t.detail.item;var e=t.detail.parent;if(this.el===e){var o=n(i.key);var a=t.target;var c=this.itemIndex(a)===0;var r=this.itemIndex(a)===this.items.length-1;switch(o){case"ArrowDown":if(r){this.focusFirstItem()}else{this.focusNextItem(a)}break;case"ArrowUp":if(c){this.focusLastItem()}else{this.focusPrevItem(a)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}}};t.prototype.registerCalciteAccordionItem=function(t){var i={item:t.target,parent:t.detail.parent,position:t.detail.position};if(this.el===i.parent){this.items.push(i)}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;this.calciteAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem})};t.prototype.focusFirstItem=function(){var t=this.items[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var i=this.itemIndex(t);var e=this.items[i+1]||this.items[0];this.focusElement(e)};t.prototype.focusPrevItem=function(t){var i=this.itemIndex(t);var e=this.items[i-1]||this.items[this.items.length-1];this.focusElement(e)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.focusElement=function(t){var i=t;i.focus()};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());d.style=m;var p="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-rotation:-90deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:-90deg;--calcite-accordion-item-active-icon-rotation-rtl:-180deg;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-rotation:-90deg;--calcite-accordion-item-active-icon-rotation:0;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0;--calcite-accordion-item-active-icon-rotation-rtl:-180deg}:host{--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}:host-context([appearance=minimal]){--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}:host-context([appearance=transparent]){--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;text-decoration:none;outline:2px solid transparent;outline-offset:2px;position:relative;color:var(--calcite-ui-text-3);background-color:var(--calcite-accordion-item-background);--calcite-accordion-item-border:var(--calcite-ui-border-2)}:host .accordion-item-header{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus) .accordion-item-header{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]){color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-content{display:block;color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-header{border-bottom-color:transparent}:host .accordion-item-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;cursor:pointer;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{display:-ms-inline-flexbox;display:inline-flex;position:relative;margin:0;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);margin-right:var(--calcite-accordion-item-icon-spacing-start);margin-left:var(--calcite-accordion-item-icon-spacing-end)}.calcite--rtl .accordion-item-icon{margin-left:var(--calcite-accordion-item-icon-spacing-start);margin-right:var(--calcite-accordion-item-icon-spacing-end)}:host .accordion-item-content,:host .accordion-item-header{padding:var(--calcite-accordion-item-padding);border-bottom:1px solid var(--calcite-accordion-item-border)}:host .accordion-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 .accordion-item-content{display:none;color:var(--calcite-ui-text-3);padding-top:0;text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);margin-left:var(--calcite-accordion-item-icon-spacing-start);margin-right:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .accordion-item-expand-icon{margin-left:var(--calcite-accordion-item-icon-spacing-end);margin-right:var(--calcite-accordion-item-icon-spacing-start);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([active]) .calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .accordion-item-header-text{-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;margin-right:auto;text-align:initial}.calcite--rtl .accordion-item-header-text{margin-right:0;margin-left:auto}:host .accordion-item-title,:host .accordion-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .accordion-item-title{color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-medium)}:host .accordion-item-subtitle{color:var(--calcite-ui-text-3);margin-top:0.25rem}.calcite--rtl .accordion-item-title{margin-right:0;margin-left:auto}:host(:focus) .accordion-item-title,:host(:hover) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:hover) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:hover) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:hover) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}:host(:focus) .accordion-item-title,:host(:active) .accordion-item-title,:host([active]) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:active) .accordion-item-icon,:host([active]) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:active) .accordion-item-expand-icon,:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:active) .accordion-item-subtitle,:host([active]) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}";var h=t("calcite_accordion_item",function(){function t(t){var o=this;i(this,t);this.calciteAccordionItemKeyEvent=e(this,"calciteAccordionItemKeyEvent",7);this.calciteAccordionItemSelect=e(this,"calciteAccordionItemSelect",7);this.calciteAccordionItemClose=e(this,"calciteAccordionItemClose",7);this.calciteAccordionItemRegister=e(this,"calciteAccordionItemRegister",7);this.active=false;this.iconPosition="end";this.itemHeaderClickHandler=function(){return o.emitRequestedItem()}}t.prototype.connectedCallback=function(){this.parent=this.el.parentElement;this.selectionMode=r(this.el,"selection-mode","multi");this.iconType=r(this.el,"icon-type","chevron");this.iconPosition=r(this.el,"icon-position",this.iconPosition)};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.calciteAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})};t.prototype.render=function(){var t,i;var e=s(this.el);var a=o("calcite-icon",{class:"accordion-item-icon",icon:this.icon,scale:"s"});return o(c,{"aria-expanded":this.active.toString(),tabindex:"0"},o("div",{class:(t={},t["icon-position--"+this.iconPosition]=true,t["icon-type--"+this.iconType]=true,t)},o("div",{class:(i={"accordion-item-header":true},i[l.rtl]=e==="rtl",i),onClick:this.itemHeaderClickHandler},this.icon?a:null,o("div",{class:"accordion-item-header-text"},o("span",{class:"accordion-item-title"},this.itemTitle),this.itemSubtitle?o("span",{class:"accordion-item-subtitle"},this.itemSubtitle):null),o("calcite-icon",{class:"accordion-item-expand-icon",icon:this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.active?"minus":"plus",scale:"s"})),o("div",{class:"accordion-item-content"},o("slot",null))))};t.prototype.keyDownHandler=function(t){if(t.target===this.el){switch(n(t.key)){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteAccordionItemKeyEvent.emit({parent:this.parent,item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;this.determineActiveItem()};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedAccordionItem){this.active=!this.active}break;case"single":if(this.el===this.requestedAccordionItem){this.active=!this.active}else{this.active=false}break;case"single-persist":this.active=this.el===this.requestedAccordionItem;break}};t.prototype.emitRequestedItem=function(){this.calciteAccordionItemSelect.emit({requestedAccordionItem:this.el})};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());h.style=p}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as a,g as e}from"./p-263e9c6f.js";import{g as o}from"./p-c47fe2f9.js";import"./p-a4e6e35b.js";const r=class{constructor(a){t(this,a),this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",7),this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",7),this.appearance="solid",this.color="blue",this.dropdownIconType="chevron",this.loading=!1,this.scale="m",this.width="auto",this.calciteSplitButtonPrimaryClickHandler=t=>this.calciteSplitButtonPrimaryClick.emit(t),this.calciteSplitButtonSecondaryClickHandler=t=>this.calciteSplitButtonSecondaryClick.emit(t)}render(){const t=o(this.el);return a("div",{class:{"split-button__container":!0,"width-auto":"auto"===this.width,"width-half":"half"===this.width,"width-full":"full"===this.width},dir:t},a("calcite-button",{appearance:this.appearance,color:this.color,dir:t,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",width:"auto"===this.width?"auto":"full"},this.primaryText),a("div",{class:"split-button__divider-container"},a("div",{class:"split-button__divider"})),a("calcite-dropdown",{active:this.active,dir:t,onClick:this.calciteSplitButtonSecondaryClickHandler,placement:"bottom-trailing",scale:this.scale,width:this.scale},a("calcite-button",{appearance:this.appearance,color:this.color,dir:t,disabled:this.disabled,"icon-start":this.dropdownIcon,label:this.dropdownLabel,scale:this.scale,slot:"dropdown-trigger",splitChild:"secondary"}),a("slot",null)))}get dropdownIcon(){return"chevron"===this.dropdownIconType?"chevronDown":"caret"===this.dropdownIconType?"caretDown":"ellipsis"===this.dropdownIconType?"ellipsis":"handle-vertical"}get el(){return e(this)}};r.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host .split-button__container{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{height:100%;vertical-align:top}:host([appearance=solid]):host([color=blue]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=red]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=solid]):host([color=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=clear]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=clear]):host([color=blue]),:host([appearance=outline]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=clear]):host([color=red]),:host([appearance=outline]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=clear]):host([color=neutral]),:host([appearance=outline]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=clear]):host([color=inverse]),:host([appearance=outline]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{width:auto}.width-half{width:50%}.width-full{width:100%}.split-button__divider-container{width:1px;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-webkit-transition:0.15s ease-in-out;transition:0.15s ease-in-out;background-color:var(--calcite-split-button-background)}.split-button__divider{width:1px;margin-top:0.25rem;margin-bottom:0.25rem;display:inline-block;background-color:var(--calcite-split-button-divider)}:host([appearance=outline]) .split-button__divider-container,:host([appearance=clear]) .split-button__divider-container{border-top:1px solid var(--calcite-split-button-divider);border-bottom:1px solid var(--calcite-split-button-divider)}:host([appearance=outline]):hover .split-button__divider-container,:host([appearance=clear]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:hover) .split-button__divider-container,:host([appearance=clear]:hover) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:focus-within):host([color=blue]),:host([appearance=clear]:focus-within):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline]:focus-within):host([color=red]),:host([appearance=clear]:focus-within):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline]:focus-within) .split-button__divider-container,:host([appearance=clear]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}";export{r as calcite_split_button}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,a,i){function n(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,r){function o(t){try{c(i.next(t))}catch(t){r(t)}}function s(t){try{c(i["throw"](t))}catch(t){r(t)}}function c(t){t.done?a(t.value):n(t.value).then(o,s)}c((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,n,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(o){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;n=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(o[0]===6&&a.label<r[1]){a.label=r[1];r=o;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(o);break}if(r[2])a.ops.pop();a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t];n=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-3c9923f1.system.js","./p-1a106eeb.system.js","./p-a7a7301d.system.js","./p-95dfb659.system.js","./p-e220ebdc.system.js","./p-5a1b0338.system.js","./p-dda58d1e.system.js","./p-2c235db8.system.js"],(function(t){"use strict";var e,a,i,n,r,o,s,c,l,p,u,h,d,f,m,v,y;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.H;r=t.g},function(t){o=t.T;s=t.d;c=t.a;l=t.g;p=t.s;u=t.p;h=t.i},function(t){d=t.g},function(t){f=t.g},function(t){m=t.u;v=t.C;y=t.c},function(){},function(){},function(){}],execute:function(){var g="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.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}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:top;width:100%;position:relative;overflow:visible}:host .menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}:host .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.calendar-picker-wrapper{-webkit-box-shadow:none;box-shadow:none;position:static;width:100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:-ms-flexbox;display:flex}:host([range]) .input-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}:host([range]) .horizontal-arrow-container{background-color:var(--calcite-ui-background);padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-left-width:0;border-right-width:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host([range][layout=vertical]) .input-wrapper{width:100%}:host([range][layout=vertical]) .input-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{top:1.5rem;left:0;padding-left:0.625rem;padding-right:0.625rem;margin-left:1px;margin-right:1px;position:absolute;z-index:10;background-color:var(--calcite-ui-foreground-1)}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{width:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{width:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{width:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}:host([active]) .menu-container{visibility:visible;pointer-events:auto}.input .calcite-input__wrapper{margin-top:0}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{top:1.5rem;padding-left:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{width:0.75rem;height:0.75rem;min-width:0}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}";var b="bottom-leading";var D=t("calcite_input_date_picker",function(){function t(t){var i=this;e(this,t);this.calciteDatePickerChange=a(this,"calciteDatePickerChange",7);this.calciteDatePickerRangeChange=a(this,"calciteDatePickerRangeChange",7);this.calciteInputDatePickerOpen=a(this,"calciteInputDatePickerOpen",7);this.calciteInputDatePickerClose=a(this,"calciteInputDatePickerClose",7);this.active=false;this.intlPrevMonth=o.prevMonth;this.intlNextMonth=o.nextMonth;this.locale=document.documentElement.lang||"en";this.scale="m";this.range=false;this.overlayPositioning="absolute";this.proximitySelectionDisabled=false;this.layout="horizontal";this.focusedInput="start";this.activeTransitionProp="opacity";this.transitionEnd=function(t){if(t.propertyName===i.activeTransitionProp){i.active?i.calciteInputDatePickerOpen.emit():i.calciteInputDatePickerClose.emit()}};this.setEndInput=function(t){i.endInput=t};this.deactivate=function(){i.active=false};this.keyUpHandler=function(t){if(f(t.key)==="Escape"){i.active=false}};this.inputBlur=function(t){i.blur(t.detail)};this.startInputFocus=function(){i.active=true;i.focusedInput="start"};this.endInputFocus=function(){i.active=true;i.focusedInput="end"};this.inputInput=function(t){i.input(t.detail.value)};this.setMenuEl=function(t){if(t){i.menuEl=t;i.createPopper()}};this.setStartWrapper=function(t){i.startWrapper=t;i.setReferenceEl()};this.setEndWrapper=function(t){i.endWrapper=t;i.setReferenceEl()};this.handleDateChange=function(t){if(i.range){return}i.valueAsDate=t.detail};this.focusInputEnd=function(){var t;(t=i.endInput)===null||t===void 0?void 0:t.setFocus();i.el.removeEventListener("calciteInputDatePickerOpen",i.focusInputEnd)};this.handleDateRangeChange=function(t){if(!i.range||!t.detail){return}var e=t.detail,a=e.startDate,n=e.endDate;i.startAsDate=a;i.endAsDate=n;if(i.shouldFocusRangeEnd()){i.focusInputEnd()}}}t.prototype.activeHandler=function(){this.reposition()};t.prototype.calciteDaySelectHandler=function(){if(this.shouldFocusRangeEnd()){return}this.active=false};t.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,a,i;return __generator(this,(function(n){t=this,e=t.popper,a=t.menuEl;i=this.getModifiers();e?m({el:a,modifiers:i,placement:b,popper:e}):this.createPopper();return[2]}))}))};t.prototype.connectedCallback=function(){if(this.value){this.valueAsDate=s(this.value)}if(this.start){this.setStartAsDate(s(this.start))}if(this.end){this.setEndAsDate(s(this.end))}if(this.min){this.minAsDate=s(this.min)}if(this.max){this.maxAsDate=s(this.max)}this.createPopper()};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.loadLocaleData()];case 1:t.sent();return[2]}}))}))};t.prototype.disconnectedCallback=function(){this.destroyPopper()};t.prototype.render=function(){var t;var e,a;var r=c(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);var o=this.range?c(this.endAsDate,this.minAsDate,this.maxAsDate):null;var s=o?o.toLocaleDateString(this.locale):"";var l=r?r.toLocaleDateString(this.locale):"";var p=d(this.el);return i(n,{onBlur:this.deactivate,onKeyUp:this.keyUpHandler,role:"application"},this.localeData&&i("div",{"aria-expanded":this.active.toString(),class:"input-container",dir:p,role:"application"},i("div",{class:"input-wrapper",ref:this.setStartWrapper},i("calcite-input",{class:"input "+(this.layout==="vertical"&&this.range?"no-bottom-border":""),icon:"calendar","number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.startInputFocus,onCalciteInputInput:this.inputInput,placeholder:(e=this.localeData)===null||e===void 0?void 0:e.placeholder,scale:this.scale,type:"text",value:l})),i("div",{"aria-hidden":(!this.active).toString(),class:"menu-container",ref:this.setMenuEl},i("div",{class:(t={},t["calendar-picker-wrapper"]=true,t["calendar-picker-wrapper--end"]=this.focusedInput==="end",t[v.animation]=true,t[v.animationActive]=this.active,t),onTransitionEnd:this.transitionEnd},i("calcite-date-picker",{activeRange:this.focusedInput,endAsDate:this.endAsDate,headingLevel:this.headingLevel,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,locale:this.locale,max:this.max,maxAsDate:this.maxAsDate,min:this.min,minAsDate:this.minAsDate,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,startAsDate:this.startAsDate,tabIndex:0,valueAsDate:this.valueAsDate}))),this.range&&this.layout==="horizontal"&&i("div",{class:"horizontal-arrow-container"},i("calcite-icon",{flipRtl:true,icon:"arrow-right",scale:"s"})),this.range&&this.layout==="vertical"&&this.scale!=="s"&&i("div",{class:"vertical-arrow-container"},i("calcite-icon",{icon:"arrow-down",scale:"s"})),this.range&&i("div",{class:"input-wrapper",ref:this.setEndWrapper},i("calcite-input",{class:{input:true,"border-t-color-1":this.layout==="vertical"&&this.range},icon:"calendar","number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.endInputFocus,onCalciteInputInput:this.inputInput,placeholder:(a=this.localeData)===null||a===void 0?void 0:a.placeholder,ref:this.setEndInput,scale:this.scale,type:"text",value:s}))))};t.prototype.setReferenceEl=function(){var t=this,e=t.focusedInput,a=t.layout,i=t.endWrapper,n=t.startWrapper;this.referenceEl=e==="end"||a==="vertical"?i||n:n||i;this.createPopper()};t.prototype.getModifiers=function(){var t={name:"flip",enabled:true};t.options={fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]};return[t]};t.prototype.createPopper=function(){this.destroyPopper();var t=this,e=t.menuEl,a=t.referenceEl,i=t.overlayPositioning;if(!e||!a){return}var n=this.getModifiers();this.popper=y({el:e,modifiers:n,overlayPositioning:i,placement:b,referenceEl:a})};t.prototype.destroyPopper=function(){var t=this.popper;if(t){t.destroy()}this.popper=null};t.prototype.valueWatcher=function(t){this.valueAsDate=s(t)};t.prototype.startWatcher=function(t){this.setStartAsDate(s(t))};t.prototype.endWatcher=function(t){this.setEndAsDate(s(t))};t.prototype.loadLocaleData=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(a){switch(a.label){case 0:t=this.locale;e=this;return[4,l(t)];case 1:e.localeData=a.sent();return[2]}}))}))};t.prototype.setStartAsDate=function(t){this.startAsDate=t};t.prototype.setEndAsDate=function(t){this.endAsDate=t};t.prototype.input=function(t){var e=this.getDateFromInput(t);if(e){if(!this.range){this.valueAsDate=e}else{var a=false;if(this.focusedInput==="start"){a=!this.startAsDate||!p(e,this.startAsDate);if(a){this.startAsDate=e;this.calciteDatePickerRangeChange.emit({startDate:e,endDate:this.endAsDate})}}else if(this.focusedInput==="end"){a=!this.endAsDate||!p(e,this.endAsDate);if(a){this.endAsDate=e;this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:e})}}}}};t.prototype.blur=function(t){var e=this,a=e.locale,i=e.focusedInput,n=e.endAsDate,r=e.range,o=e.startAsDate,s=e.valueAsDate;var c=this.getDateFromInput(t.value);if(!c){if(!r&&s){t.value=s.toLocaleDateString(a)}else if(i==="start"&&o){t.value=o.toLocaleDateString(a)}else if(i==="end"&&n){t.value=n.toLocaleDateString(a)}}};t.prototype.shouldFocusRangeEnd=function(){return!!(this.startAsDate&&!this.endAsDate&&this.focusedInput==="start"&&this.endInput)};t.prototype.getDateFromInput=function(t){if(!this.localeData){return false}var e=this.localeData.separator;var a=u(t,this.localeData),i=a.day,n=a.month,r=a.year;var o=i>0;var s=n>-1;var c=new Date(r,n,i);c.setFullYear(r);var l=!isNaN(c.getTime());var p=t.split(e).filter((function(t){return t})).length>2;var d=r.toString().length>0;if(o&&s&&l&&p&&d&&h(c,this.min,this.max)){return c}return false};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],value:["valueWatcher"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}},enumerable:false,configurable:true});return t}());D.style=g}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as a,H as e,g as s}from"./p-263e9c6f.js";import{T as n,d as r,a as o,g as c,s as l,p as h,i as p}from"./p-becd3d35.js";import{g as m}from"./p-c47fe2f9.js";import{g as d}from"./p-cebd4de5.js";import{u,C as f,c as b}from"./p-d54b30f0.js";import"./p-ea51eaaa.js";import"./p-d858b7ab.js";import"./p-a4e6e35b.js";const w=class{constructor(a){t(this,a),this.calciteDatePickerChange=i(this,"calciteDatePickerChange",7),this.calciteDatePickerRangeChange=i(this,"calciteDatePickerRangeChange",7),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",7),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",7),this.active=!1,this.intlPrevMonth=n.prevMonth,this.intlNextMonth=n.nextMonth,this.locale=document.documentElement.lang||"en",this.scale="m",this.range=!1,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.focusedInput="start",this.activeTransitionProp="opacity",this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&(this.active?this.calciteInputDatePickerOpen.emit():this.calciteInputDatePickerClose.emit())},this.setEndInput=t=>{this.endInput=t},this.deactivate=()=>{this.active=!1},this.keyUpHandler=t=>{"Escape"===d(t.key)&&(this.active=!1)},this.inputBlur=t=>{this.blur(t.detail)},this.startInputFocus=()=>{this.active=!0,this.focusedInput="start"},this.endInputFocus=()=>{this.active=!0,this.focusedInput="end"},this.inputInput=t=>{this.input(t.detail.value)},this.setMenuEl=t=>{t&&(this.menuEl=t,this.createPopper())},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.handleDateChange=t=>{this.range||(this.valueAsDate=t.detail)},this.focusInputEnd=()=>{var t;null===(t=this.endInput)||void 0===t||t.setFocus(),this.el.removeEventListener("calciteInputDatePickerOpen",this.focusInputEnd)},this.handleDateRangeChange=t=>{if(!this.range||!t.detail)return;const{startDate:i,endDate:a}=t.detail;this.startAsDate=i,this.endAsDate=a,this.shouldFocusRangeEnd()&&this.focusInputEnd()}}activeHandler(){this.reposition()}calciteDaySelectHandler(){this.shouldFocusRangeEnd()||(this.active=!1)}async reposition(){const{popper:t,menuEl:i}=this,a=this.getModifiers();t?u({el:i,modifiers:a,placement:"bottom-leading",popper:t}):this.createPopper()}connectedCallback(){this.value&&(this.valueAsDate=r(this.value)),this.start&&this.setStartAsDate(r(this.start)),this.end&&this.setEndAsDate(r(this.end)),this.min&&(this.minAsDate=r(this.min)),this.max&&(this.maxAsDate=r(this.max)),this.createPopper()}async componentWillLoad(){await this.loadLocaleData()}disconnectedCallback(){this.destroyPopper()}render(){var t,i;const s=o(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate),n=this.range?o(this.endAsDate,this.minAsDate,this.maxAsDate):null,r=n?n.toLocaleDateString(this.locale):"",c=s?s.toLocaleDateString(this.locale):"",l=m(this.el);return a(e,{onBlur:this.deactivate,onKeyUp:this.keyUpHandler,role:"application"},this.localeData&&a("div",{"aria-expanded":this.active.toString(),class:"input-container",dir:l,role:"application"},a("div",{class:"input-wrapper",ref:this.setStartWrapper},a("calcite-input",{class:"input "+("vertical"===this.layout&&this.range?"no-bottom-border":""),icon:"calendar","number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.startInputFocus,onCalciteInputInput:this.inputInput,placeholder:null===(t=this.localeData)||void 0===t?void 0:t.placeholder,scale:this.scale,type:"text",value:c})),a("div",{"aria-hidden":(!this.active).toString(),class:"menu-container",ref:this.setMenuEl},a("div",{class:{"calendar-picker-wrapper":!0,"calendar-picker-wrapper--end":"end"===this.focusedInput,[f.animation]:!0,[f.animationActive]:this.active},onTransitionEnd:this.transitionEnd},a("calcite-date-picker",{activeRange:this.focusedInput,endAsDate:this.endAsDate,headingLevel:this.headingLevel,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,locale:this.locale,max:this.max,maxAsDate:this.maxAsDate,min:this.min,minAsDate:this.minAsDate,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,startAsDate:this.startAsDate,tabIndex:0,valueAsDate:this.valueAsDate}))),this.range&&"horizontal"===this.layout&&a("div",{class:"horizontal-arrow-container"},a("calcite-icon",{flipRtl:!0,icon:"arrow-right",scale:"s"})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&a("div",{class:"vertical-arrow-container"},a("calcite-icon",{icon:"arrow-down",scale:"s"})),this.range&&a("div",{class:"input-wrapper",ref:this.setEndWrapper},a("calcite-input",{class:{input:!0,"border-t-color-1":"vertical"===this.layout&&this.range},icon:"calendar","number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.endInputFocus,onCalciteInputInput:this.inputInput,placeholder:null===(i=this.localeData)||void 0===i?void 0:i.placeholder,ref:this.setEndInput,scale:this.scale,type:"text",value:r}))))}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:a,startWrapper:e}=this;this.referenceEl="end"===t||"vertical"===i?a||e:e||a,this.createPopper()}getModifiers(){return[{name:"flip",enabled:!0,options:{fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]}}]}createPopper(){this.destroyPopper();const{menuEl:t,referenceEl:i,overlayPositioning:a}=this;if(!t||!i)return;const e=this.getModifiers();this.popper=b({el:t,modifiers:e,overlayPositioning:a,placement:"bottom-leading",referenceEl:i})}destroyPopper(){const{popper:t}=this;t&&t.destroy(),this.popper=null}valueWatcher(t){this.valueAsDate=r(t)}startWatcher(t){this.setStartAsDate(r(t))}endWatcher(t){this.setEndAsDate(r(t))}async loadLocaleData(){const{locale:t}=this;this.localeData=await c(t)}setStartAsDate(t){this.startAsDate=t}setEndAsDate(t){this.endAsDate=t}input(t){const i=this.getDateFromInput(t);if(i)if(this.range){let t=!1;"start"===this.focusedInput?(t=!this.startAsDate||!l(i,this.startAsDate),t&&(this.startAsDate=i,this.calciteDatePickerRangeChange.emit({startDate:i,endDate:this.endAsDate}))):"end"===this.focusedInput&&(t=!this.endAsDate||!l(i,this.endAsDate),t&&(this.endAsDate=i,this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:i})))}else this.valueAsDate=i}blur(t){const{locale:i,focusedInput:a,endAsDate:e,range:s,startAsDate:n,valueAsDate:r}=this;this.getDateFromInput(t.value)||(!s&&r?t.value=r.toLocaleDateString(i):"start"===a&&n?t.value=n.toLocaleDateString(i):"end"===a&&e&&(t.value=e.toLocaleDateString(i)))}shouldFocusRangeEnd(){return!(!this.startAsDate||this.endAsDate||"start"!==this.focusedInput||!this.endInput)}getDateFromInput(t){if(!this.localeData)return!1;const{separator:i}=this.localeData,{day:a,month:e,year:s}=h(t,this.localeData),n=a>0,r=e>-1,o=new Date(s,e,a);o.setFullYear(s);const c=!isNaN(o.getTime()),l=t.split(i).filter((t=>t)).length>2,m=s.toString().length>0;return!!(n&&r&&c&&l&&m&&p(o,this.min,this.max))&&o}get el(){return s(this)}static get watchers(){return{active:["activeHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],value:["valueWatcher"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}}};w.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:300ms}.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}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:top;width:100%;position:relative;overflow:visible}:host .menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}:host .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.calendar-picker-wrapper{-webkit-box-shadow:none;box-shadow:none;position:static;width:100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:-ms-flexbox;display:flex}:host([range]) .input-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}:host([range]) .horizontal-arrow-container{background-color:var(--calcite-ui-background);padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-left-width:0;border-right-width:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host([range][layout=vertical]) .input-wrapper{width:100%}:host([range][layout=vertical]) .input-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{top:1.5rem;left:0;padding-left:0.625rem;padding-right:0.625rem;margin-left:1px;margin-right:1px;position:absolute;z-index:10;background-color:var(--calcite-ui-foreground-1)}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{width:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{width:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{width:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}:host([active]) .menu-container{visibility:visible;pointer-events:auto}.input .calcite-input__wrapper{margin-top:0}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{top:1.5rem;padding-left:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{width:0.75rem;height:0.75rem;min-width:0}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}";export{w as calcite_input_date_picker}
@@ -1 +0,0 @@
1
- "M14.071 2H2.93a.929.929 0 0 0-.93.929V14.07a.929.929 0 0 0 .929.929H14.07a.929.929 0 0 0 .929-.929V2.93a.929.929 0 0 0-.928-.93zM7.557 12.451L4.452 9.346l1.02-1.022 2.085 2.09 4.77-4.771 1.02 1.02z"
@@ -1 +0,0 @@
1
- "M20.719 3H4.28A1.281 1.281 0 0 0 3 4.281v16.437A1.282 1.282 0 0 0 4.281 22h16.437A1.282 1.282 0 0 0 22 20.718V4.281A1.281 1.281 0 0 0 20.719 3zM10.502 17.277l-3.79-3.585.92-.918 2.865 2.676 7.027-6.874.92.92z"
@@ -1 +0,0 @@
1
- "M27.198 4h-21.4A1.8 1.8 0 0 0 4 5.798V27.2A1.8 1.8 0 0 0 5.8 29h21.4a1.8 1.8 0 0 0 1.8-1.8V5.798A1.802 1.802 0 0 0 27.198 4zm-13.69 18.291l-4.213-4.01.92-.92 3.288 3.1 10.077-9.924.92.92z"
@@ -1 +0,0 @@
1
- "M2.929 2H14.07a.929.929 0 0 1 .929.929V14.07a.929.929 0 0 1-.929.929H2.93a.929.929 0 0 1-.93-.928V2.93A.929.929 0 0 1 2.929 2z"
@@ -1 +0,0 @@
1
- "M4.281 3h16.437A1.281 1.281 0 0 1 22 4.281v16.437A1.282 1.282 0 0 1 20.718 22H4.282A1.282 1.282 0 0 1 3 20.718V4.281A1.281 1.281 0 0 1 4.281 3z"
@@ -1 +0,0 @@
1
- "M5.798 4h21.404A1.798 1.798 0 0 1 29 5.798V27.2a1.8 1.8 0 0 1-1.8 1.8H5.8A1.8 1.8 0 0 1 4 27.2V5.798A1.798 1.798 0 0 1 5.798 4z"
@@ -1 +0,0 @@
1
- "M11.192 2H5.808L2 5.808v5.384L5.808 15h5.384L15 11.192V5.808zM14 10.778L10.778 14H6.222L3 10.778V6.222L6.222 3h4.556L14 6.222zM8.5 7.793l2.828-2.829.708.708L9.207 8.5l2.829 2.828-.708.708L8.5 9.207l-2.828 2.829-.708-.708L7.793 8.5 4.964 5.672l.708-.708z"
@@ -1 +0,0 @@
1
- "M16.435 3h-7.87L3 8.565v7.87L8.565 22h7.87L22 16.435v-7.87zM21 16.02L16.021 21H8.979L4 16.02V8.98L8.979 4h7.042L21 8.98zm-8.5-4.227l4.243-4.243.707.707-4.243 4.243 4.243 4.243-.707.707-4.243-4.243-4.243 4.243-.707-.707 4.243-4.243L7.55 8.257l.707-.707z"
@@ -1 +0,0 @@
1
- "M21.678 4H11.322L4 11.322v10.356L11.322 29h10.356L29 21.678V11.322zM28 21.264L21.264 28h-9.528L5 21.264v-9.528L11.736 5h9.528L28 11.736zm-11.5-5.471l5.657-5.657.707.707-5.657 5.657 5.657 5.657-.707.707-5.657-5.657-5.657 5.657-.707-.707 5.657-5.657-5.657-5.657.707-.707z"
@@ -1 +0,0 @@
1
- "M11.192 2H5.808L2 5.808v5.384L5.808 15h5.384L15 11.192V5.808zm1.126 9.328l-.99.99L8.5 9.49l-2.828 2.828-.99-.99L7.51 8.5 4.682 5.672l.99-.99L8.5 7.51l2.828-2.828.99.99L9.49 8.5z"
@@ -1 +0,0 @@
1
- "M16.435 3h-7.87L3 8.565v7.87L8.565 22h7.87L22 16.435v-7.87zm1.298 13.742l-.99.991-4.243-4.242-4.242 4.242-.991-.99 4.242-4.243-4.242-4.242.99-.991 4.243 4.242 4.242-4.242.991.99-4.242 4.243z"
@@ -1 +0,0 @@
1
- "M21.678 4H11.322L4 11.322v10.356L11.322 29h10.356L29 21.678V11.322zm1.47 18.157l-.99.99L16.5 17.49l-5.657 5.657-.99-.99L15.51 16.5l-5.657-5.657.99-.99L16.5 15.51l5.657-5.657.99.99L17.49 16.5z"
@@ -1 +0,0 @@
1
- "M11.192 2H5.808L2 5.808v5.384L5.808 15h5.384L15 11.192V5.808zm1.126 9.328l-.99.99L8.5 9.49l-2.828 2.828-.99-.99L7.51 8.5 4.682 5.672l.99-.99L8.5 7.51l2.828-2.828.99.99L9.49 8.5z"
@@ -1 +0,0 @@
1
- "M16.435 3h-7.87L3 8.565v7.87L8.565 22h7.87L22 16.435v-7.87zm1.298 13.742l-.99.991-4.243-4.242-4.242 4.242-.991-.99 4.242-4.243-4.242-4.242.99-.991 4.243 4.242 4.242-4.242.991.99-4.242 4.243z"
@@ -1 +0,0 @@
1
- "M21.678 4H11.322L4 11.322v10.356L11.322 29h10.356L29 21.678V11.322zm1.47 18.157l-.99.99L16.5 17.49l-5.657 5.657-.99-.99L15.51 16.5l-5.657-5.657.99-.99L16.5 15.51l5.657-5.657.99.99L17.49 16.5z"
@@ -1 +0,0 @@
1
- export {};
@@ -1,54 +0,0 @@
1
- import { h } from "@stencil/core";
2
- import { getSlotted } from "../../utils/dom";
3
- const CSS = {
4
- actionsEnd: "actions-end",
5
- actionsStart: "actions-start",
6
- content: "content",
7
- contentContainer: "content-container",
8
- contentContainerButton: "content-container--button",
9
- contentEnd: "content-end",
10
- contentStart: "content-start"
11
- };
12
- const SLOTS = {
13
- actionsEnd: "actions-end",
14
- actionsStart: "actions-start",
15
- contentEnd: "content-end",
16
- contentStart: "content-start"
17
- };
18
- /**
19
- * This helper renders a content area with surrounding content start/end slots.
20
- *
21
- * @param el
22
- * @param children
23
- * @constructor
24
- */
25
- export const CalciteContentArea = (props, children) => {
26
- return [
27
- renderActionsStart(props.host),
28
- renderContentContainer(props, children),
29
- renderActionsEnd(props.host)
30
- ];
31
- };
32
- function renderContentContainer({ host, nonInteractive, disabled }, children) {
33
- const content = [renderContentStart(host), renderContent(children), renderContentEnd(host)];
34
- return !nonInteractive ? (h("button", { class: { [CSS.contentContainer]: true, [CSS.contentContainerButton]: true }, disabled: disabled }, content)) : (h("div", { class: CSS.contentContainer }, content));
35
- }
36
- function renderContent(content) {
37
- return content ? h("div", { class: CSS.content }, content) : null;
38
- }
39
- function renderContentStart(el) {
40
- return getSlotted(el, SLOTS.contentStart) ? (h("div", { class: CSS.contentStart },
41
- h("slot", { name: SLOTS.contentStart }))) : null;
42
- }
43
- function renderContentEnd(el) {
44
- return getSlotted(el, SLOTS.contentEnd) ? (h("div", { class: CSS.contentEnd },
45
- h("slot", { name: SLOTS.contentEnd }))) : null;
46
- }
47
- function renderActionsStart(el) {
48
- return getSlotted(el, SLOTS.actionsStart) ? (h("div", { class: CSS.actionsStart },
49
- h("slot", { name: SLOTS.actionsStart }))) : null;
50
- }
51
- function renderActionsEnd(el) {
52
- return getSlotted(el, SLOTS.actionsEnd) ? (h("div", { class: CSS.actionsEnd },
53
- h("slot", { name: SLOTS.actionsEnd }))) : null;
54
- }
@@ -1,16 +0,0 @@
1
- // example for alerts appended to dom
2
- function createExampleAlert(id) {
3
- const exampleAlert = [
4
- "<calcite-alert id=" + id + " color='red'>",
5
- "<div slot='title'>Something failed</div>",
6
- "<div slot='message'>" + id + " That thing you wanted to do didn't work as expected</div>",
7
- "<calcite-link slot='link' title='my action' appearance='inline'>Take action</calcite-link>",
8
- "</calcite-alert>"
9
- ].join("\n");
10
- // if the id element doesn't exist, insert into page
11
- if (!document.querySelector("#" + id)) {
12
- document.querySelector("body").insertAdjacentHTML("beforeend", exampleAlert);
13
- }
14
- // open the alert we just created
15
- document.querySelector("#" + id).setAttribute("active", "");
16
- }
@@ -1,17 +0,0 @@
1
- class DemoSpacer extends HTMLElement {
2
- constructor() {
3
- super();
4
- this.attachShadow({ mode: "open" });
5
- this.shadowRoot.innerHTML = `
6
- <style>
7
- :host {
8
- display: grid;
9
- grid-template-columns: 1fr;
10
- grid-gap: ${this.getAttribute("gap") || "12px"};
11
- }
12
- </style>
13
- <slot></slot>
14
- `;
15
- }
16
- }
17
- customElements.define("demo-spacer", DemoSpacer);
@@ -1,13 +0,0 @@
1
- const toggleDir = () => {
2
- document.dir = document.dir === "rtl" ? "ltr" : "rtl";
3
- };
4
- const toggleTheme = () => {
5
- document.body.classList.toggle("calcite-theme-dark");
6
- };
7
- const loadDemoToggles = () => {
8
- document.querySelectorAll("h1:not(#demo-heading)").forEach((h1) => h1.remove());
9
- document.getElementById("demo-heading").textContent = document.title;
10
- document.getElementById("toggle-dir").addEventListener("calciteSwitchChange", toggleDir);
11
- document.getElementById("toggle-theme").addEventListener("calciteSwitchChange", toggleTheme);
12
- };
13
- document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", loadDemoToggles) : loadDemoToggles();
@@ -1,10 +0,0 @@
1
- (() => {
2
- // based on pieces of https://github.com/ionic-team/stencil/blob/4960fbe11444a18def3ce48ab46b018c416f9472/src/dev-server/dev-client/client-web-socket.ts
3
- const getSocketUrl = ({ hostname, port, protocol }) => protocol === "https:" ? "wss:" : "ws:" + "//" + hostname + ":" + port + "/";
4
- const clientWebSocket = new window.WebSocket(getSocketUrl(window.location), ["xmpp"]);
5
- clientWebSocket.addEventListener("message", (message) => {
6
- if (message.data.indexOf("rebuild finished") > -1) {
7
- window.location.reload();
8
- }
9
- });
10
- })();
@@ -1,51 +0,0 @@
1
- (() => {
2
- const DEMO_ROOT = "demos";
3
- const ASSETS_PATH = "demos/_assets";
4
- const CSS = [`${ASSETS_PATH}/demos.css`, "build/calcite.css"];
5
- const urlParams = new URLSearchParams(window.location.search);
6
- const DISABLE_HEADER_URL_PARAM = "header-disabled";
7
- const SCRIPTS = [
8
- {
9
- src: "build/calcite.esm.js",
10
- type: "module"
11
- }
12
- ];
13
- const parseTemplate = (text) => {
14
- const parser = new DOMParser();
15
- const doc = parser.parseFromString(text, "text/html");
16
- return doc.head.querySelector("template");
17
- };
18
- const loadHeader = async () => {
19
- const root = window.location.pathname.split(DEMO_ROOT).shift();
20
- const response = await window.fetch(`${root}${ASSETS_PATH}/demo-template.html`);
21
- const text = await response.text();
22
- const template = parseTemplate(text);
23
- const firstChild = document.body.firstChild;
24
- firstChild && document.body.insertBefore(template.content, firstChild);
25
- };
26
- if (window.location.pathname.includes("/demos/") && !urlParams.has(DISABLE_HEADER_URL_PARAM)) {
27
- document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", loadHeader) : loadHeader();
28
- }
29
- // Assume server is running in a development environment if there is a port present in the URL and reload demo pages.
30
- if (location.port) {
31
- SCRIPTS.push({
32
- src: `${ASSETS_PATH}/demoPageReloader.js`
33
- });
34
- }
35
- const ROOT = window.location.pathname.split(DEMO_ROOT).shift();
36
- function loadCss(url) {
37
- const link = document.createElement("link");
38
- link.rel = "stylesheet";
39
- link.href = ROOT + url;
40
- document.head.appendChild(link);
41
- }
42
- function loadScript(script) {
43
- const scriptElement = document.createElement("script");
44
- Object.keys(script).forEach((key) => {
45
- scriptElement[key] = key === "src" ? ROOT + script[key] : script[key];
46
- });
47
- document.head.appendChild(scriptElement);
48
- }
49
- CSS.forEach(loadCss);
50
- SCRIPTS.forEach(loadScript);
51
- })();
@@ -1,5 +0,0 @@
1
- // example for adding and removing loading state from button
2
- function loadingButton(el, duration) {
3
- el.setAttribute("loading", "");
4
- setTimeout(() => el.removeAttribute("loading"), duration);
5
- }
@@ -1,50 +0,0 @@
1
- const locales = [
2
- "ar",
3
- "bs",
4
- "ca",
5
- "cs",
6
- "da",
7
- "de",
8
- "de-CH",
9
- "el",
10
- "en",
11
- "en-AU",
12
- "en-CA",
13
- "en-GB",
14
- "es",
15
- "es-MX",
16
- "et",
17
- "fi",
18
- "fr",
19
- "fr-CH",
20
- "he",
21
- "hi",
22
- "hr",
23
- "hu",
24
- "id",
25
- "it",
26
- "it-CH",
27
- "ja",
28
- "ko",
29
- "lt",
30
- "lv",
31
- "mk",
32
- "nb",
33
- "nl",
34
- "pl",
35
- "pt",
36
- "pt-PT",
37
- "ro",
38
- "ru",
39
- "sk",
40
- "sl",
41
- "sr",
42
- "sv",
43
- "th",
44
- "tr",
45
- "uk",
46
- "vi",
47
- "zh-CN",
48
- "zh-HK",
49
- "zh-TW"
50
- ];
@@ -1,13 +0,0 @@
1
- function toggleBodyTheme(body) {
2
- if (!body.hasAttribute("theme")) {
3
- body.setAttribute("theme", "dark");
4
- }
5
- else {
6
- if (body.getAttribute("theme") === "dark") {
7
- body.setAttribute("theme", "light");
8
- }
9
- else {
10
- body.setAttribute("theme", "dark");
11
- }
12
- }
13
- }