@esri/calcite-components 1.0.0-beta.72 → 1.0.0-beta.76

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 (976) hide show
  1. package/dist/calcite/assets/calcite-date-picker/nls/bg.json +31 -0
  2. package/dist/calcite/assets/calcite-date-picker/nls/pt-BR.json +31 -0
  3. package/dist/calcite/assets/calcite-date-picker/nls/pt-PT.json +3 -3
  4. package/dist/calcite/assets/calcite-icon/clipboard16.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/clipboard24.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/clipboard32.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/explore16.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/explore24.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/explore32.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/folders16.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/folders24.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/folders32.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/initiative16.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/initiative24.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/initiative32.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/initiativeTemplate16.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/initiativeTemplate24.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/initiativeTemplate32.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/multipleVariables16.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/multipleVariables24.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/multipleVariables32.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/paletteCheck16.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/paletteCheck24.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/paletteCheck32.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/partlyCloudy16.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/partlyCloudy24.json +1 -0
  27. package/dist/calcite/assets/calcite-icon/partlyCloudy32.json +1 -0
  28. package/dist/calcite/assets/calcite-icon/pentagon16.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/pentagon24.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/pentagon32.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/puzzlePiece16.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/puzzlePiece24.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/puzzlePiece32.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/ribbonRosette16.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/ribbonRosette24.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/ribbonRosette32.json +1 -0
  37. package/dist/calcite/assets/calcite-icon/rightAlign16.json +1 -0
  38. package/dist/calcite/assets/calcite-icon/rightAlign24.json +1 -0
  39. package/dist/calcite/assets/calcite-icon/rightAlign32.json +1 -0
  40. package/dist/calcite/assets/calcite-icon/screenshotMode16.json +1 -0
  41. package/dist/calcite/assets/calcite-icon/screenshotMode24.json +1 -0
  42. package/dist/calcite/assets/calcite-icon/screenshotMode32.json +1 -0
  43. package/dist/calcite/assets/calcite-icon/speechBubbleExclamation16.json +1 -0
  44. package/dist/calcite/assets/calcite-icon/speechBubbleExclamation24.json +1 -0
  45. package/dist/calcite/assets/calcite-icon/speechBubbleExclamation32.json +1 -0
  46. package/dist/calcite/assets/calcite-icon/survey16.json +1 -0
  47. package/dist/calcite/assets/calcite-icon/survey24.json +1 -0
  48. package/dist/calcite/assets/calcite-icon/survey32.json +1 -0
  49. package/dist/calcite/calcite.css +1 -1
  50. package/dist/calcite/calcite.esm.js +1 -1
  51. package/dist/calcite/calcite.js +1 -1
  52. package/dist/calcite/p-010b6b91.system.entry.js +5 -0
  53. package/dist/calcite/p-015d6a24.entry.js +5 -0
  54. package/dist/calcite/p-0459ae3e.system.entry.js +5 -0
  55. package/dist/calcite/p-07603601.system.entry.js +5 -0
  56. package/dist/calcite/p-0926320c.system.entry.js +5 -0
  57. package/dist/calcite/{p-444ecda9.entry.js → p-09bd0204.entry.js} +1 -1
  58. package/dist/calcite/p-0a5d059d.js +5 -0
  59. package/dist/calcite/p-0c20a4e3.entry.js +5 -0
  60. package/dist/calcite/p-0d61e540.system.entry.js +5 -0
  61. package/dist/calcite/{p-0f2b51bf.system.js → p-10e3f599.system.js} +1 -1
  62. package/dist/calcite/p-1199ec78.entry.js +5 -0
  63. package/dist/calcite/p-13f9119c.js +5 -0
  64. package/dist/calcite/p-150e45ec.entry.js +5 -0
  65. package/dist/calcite/{p-a4a12ffb.system.entry.js → p-15eebdf8.system.entry.js} +2 -2
  66. package/dist/calcite/p-16a27151.entry.js +5 -0
  67. package/dist/calcite/p-18259377.entry.js +5 -0
  68. package/dist/calcite/p-1a3a366d.system.js +5 -0
  69. package/dist/calcite/p-1a907c90.entry.js +5 -0
  70. package/dist/calcite/p-1ce851da.js +5 -0
  71. package/dist/calcite/p-21e8e1e9.system.entry.js +5 -0
  72. package/dist/calcite/{p-66fda99e.entry.js → p-2328c2ec.entry.js} +1 -1
  73. package/dist/calcite/p-24765b5e.entry.js +5 -0
  74. package/dist/calcite/{p-a2a22cbc.entry.js → p-2718a51a.entry.js} +1 -1
  75. package/dist/calcite/{p-04cc8259.entry.js → p-2be7746c.entry.js} +1 -1
  76. package/dist/calcite/p-2d88c0ba.entry.js +5 -0
  77. package/dist/calcite/p-353015b6.system.entry.js +5 -0
  78. package/dist/calcite/p-385f6cb9.entry.js +5 -0
  79. package/dist/calcite/p-3c34f20d.system.js +5 -0
  80. package/dist/calcite/{p-d8039e8a.system.entry.js → p-3e59c8ef.system.entry.js} +1 -1
  81. package/dist/calcite/p-3f6a6851.system.entry.js +5 -0
  82. package/dist/calcite/p-3f792e3d.system.entry.js +5 -0
  83. package/dist/calcite/p-408408d6.entry.js +5 -0
  84. package/dist/calcite/p-42ac867a.entry.js +5 -0
  85. package/dist/calcite/p-4340f6ed.entry.js +5 -0
  86. package/dist/calcite/{p-523bc291.system.js → p-48fae9a9.system.js} +1 -1
  87. package/dist/calcite/{p-f1f65708.entry.js → p-4b7ff039.entry.js} +1 -1
  88. package/dist/calcite/{p-fc9025a2.entry.js → p-4edc43c1.entry.js} +1 -1
  89. package/dist/calcite/p-4fc8341b.system.entry.js +5 -0
  90. package/dist/calcite/p-510ef2b7.system.entry.js +5 -0
  91. package/dist/calcite/{p-8c4b6059.system.entry.js → p-5248d5fb.system.entry.js} +1 -1
  92. package/dist/calcite/p-54c3ea44.system.entry.js +5 -0
  93. package/dist/calcite/p-55c884ba.entry.js +5 -0
  94. package/dist/calcite/p-5660811e.entry.js +5 -0
  95. package/dist/calcite/p-5833a3af.entry.js +5 -0
  96. package/dist/calcite/p-59c6c9a0.entry.js +5 -0
  97. package/dist/calcite/p-5cd2ff4e.system.entry.js +5 -0
  98. package/dist/calcite/p-5f129d47.entry.js +5 -0
  99. package/dist/calcite/{p-e0b1e90c.entry.js → p-635594b8.entry.js} +1 -1
  100. package/dist/calcite/p-65ba6a8f.entry.js +5 -0
  101. package/dist/calcite/p-672ec03a.entry.js +5 -0
  102. package/dist/calcite/p-67cd9e12.system.entry.js +5 -0
  103. package/dist/calcite/p-6a5a4922.system.entry.js +5 -0
  104. package/dist/calcite/p-6a797e80.entry.js +5 -0
  105. package/dist/calcite/p-6b529df3.system.entry.js +5 -0
  106. package/dist/calcite/p-6c4eb127.system.entry.js +5 -0
  107. package/dist/calcite/p-6d5c2fce.system.entry.js +5 -0
  108. package/dist/calcite/{p-27d9be53.entry.js → p-6ee036b3.entry.js} +1 -1
  109. package/dist/calcite/p-71b6bc4c.system.entry.js +5 -0
  110. package/dist/calcite/p-7266c359.system.entry.js +5 -0
  111. package/dist/calcite/p-72951ce3.system.entry.js +5 -0
  112. package/dist/calcite/p-75cda5de.system.entry.js +5 -0
  113. package/dist/calcite/p-75df0e8f.entry.js +5 -0
  114. package/dist/calcite/p-79ba0ff5.js +5 -0
  115. package/dist/calcite/p-7b2f2117.system.entry.js +5 -0
  116. package/dist/calcite/{p-bca0b34f.entry.js → p-7b341154.entry.js} +1 -1
  117. package/dist/calcite/p-7e9189e8.system.entry.js +5 -0
  118. package/dist/calcite/p-80e56ba6.system.entry.js +5 -0
  119. package/dist/calcite/p-8124f6cc.system.entry.js +5 -0
  120. package/dist/calcite/p-81dc55fa.entry.js +5 -0
  121. package/dist/calcite/p-82e0b30e.entry.js +5 -0
  122. package/dist/calcite/p-8446d974.system.entry.js +5 -0
  123. package/dist/calcite/p-852a718f.entry.js +5 -0
  124. package/dist/calcite/p-8647d09e.entry.js +5 -0
  125. package/dist/calcite/p-888ce316.system.entry.js +5 -0
  126. package/dist/calcite/p-8bfa00bc.js +5 -0
  127. package/dist/calcite/p-8d1564c5.system.entry.js +5 -0
  128. package/dist/calcite/{p-fd255a24.entry.js → p-8d437ca2.entry.js} +1 -1
  129. package/dist/calcite/p-8f3a3e4e.js +5 -0
  130. package/dist/calcite/p-8f6aac19.entry.js +5 -0
  131. package/dist/calcite/p-903c016f.entry.js +5 -0
  132. package/dist/calcite/p-9217d4ef.system.js +5 -0
  133. package/dist/calcite/p-92901db9.entry.js +5 -0
  134. package/dist/calcite/{p-34e5baa7.system.js → p-94cfc34a.system.js} +1 -1
  135. package/dist/calcite/p-95810140.system.js +5 -0
  136. package/dist/calcite/p-95a3bcff.system.entry.js +5 -0
  137. package/dist/calcite/p-95b7c39a.system.entry.js +5 -0
  138. package/dist/calcite/p-983287ce.system.js +5 -0
  139. package/dist/calcite/p-9a7c4812.js +5 -0
  140. package/dist/calcite/p-9ef989e2.entry.js +5 -0
  141. package/dist/calcite/p-9f1c59ec.entry.js +5 -0
  142. package/dist/calcite/p-a37ecb59.entry.js +5 -0
  143. package/dist/calcite/p-a468d651.system.entry.js +5 -0
  144. package/dist/calcite/p-a77a8427.entry.js +5 -0
  145. package/dist/calcite/p-a7dfed2f.entry.js +5 -0
  146. package/dist/calcite/p-a809abbd.system.entry.js +5 -0
  147. package/dist/calcite/p-a859ccd4.system.js +5 -0
  148. package/dist/calcite/p-abf93e8f.system.js +5 -0
  149. package/dist/calcite/{p-db10485b.system.js → p-ac4aec20.system.js} +1 -1
  150. package/dist/calcite/p-ac8c0493.entry.js +5 -0
  151. package/dist/calcite/p-ad2fd769.system.entry.js +5 -0
  152. package/dist/calcite/p-af5e11c9.system.entry.js +5 -0
  153. package/dist/calcite/p-af75a72b.js +5 -0
  154. package/dist/calcite/p-b0ab09d3.system.entry.js +5 -0
  155. package/dist/calcite/p-b4a80f18.system.entry.js +5 -0
  156. package/dist/calcite/p-b519a98e.system.entry.js +5 -0
  157. package/dist/calcite/p-b5781bda.entry.js +5 -0
  158. package/dist/calcite/p-b8a670cc.entry.js +5 -0
  159. package/dist/calcite/p-ba6b0f09.entry.js +5 -0
  160. package/dist/calcite/p-bb401f25.system.js +5 -0
  161. package/dist/calcite/p-bd289892.entry.js +5 -0
  162. package/dist/calcite/p-c36161b9.system.entry.js +5 -0
  163. package/dist/calcite/p-c525d974.system.entry.js +5 -0
  164. package/dist/calcite/{p-d3db2b58.system.entry.js → p-c5e8d437.system.entry.js} +1 -1
  165. package/dist/calcite/p-cb02295b.system.entry.js +5 -0
  166. package/dist/calcite/p-d2931c8e.system.entry.js +5 -0
  167. package/dist/calcite/p-d2ebedc0.entry.js +5 -0
  168. package/dist/calcite/p-d3316626.system.entry.js +5 -0
  169. package/dist/calcite/p-da987587.system.entry.js +5 -0
  170. package/dist/calcite/p-dadb1104.system.entry.js +5 -0
  171. package/dist/calcite/p-dae2daf0.entry.js +5 -0
  172. package/dist/calcite/{p-f39dc5fd.entry.js → p-dc24f809.entry.js} +1 -1
  173. package/dist/calcite/p-dd9f2e61.js +5 -0
  174. package/dist/calcite/p-de10a37b.entry.js +5 -0
  175. package/dist/calcite/p-e2047621.system.js +5 -0
  176. package/dist/calcite/{p-06ddf228.entry.js → p-e54a3620.entry.js} +1 -1
  177. package/dist/calcite/p-e93a418e.system.entry.js +5 -0
  178. package/dist/calcite/p-ea2b09ba.entry.js +5 -0
  179. package/dist/calcite/{p-40e16f41.entry.js → p-ebd8eef3.entry.js} +1 -1
  180. package/dist/calcite/p-ec2d6c5f.system.entry.js +5 -0
  181. package/dist/calcite/p-ec9bab33.system.js +5 -0
  182. package/dist/calcite/p-eeb91710.js +5 -0
  183. package/dist/calcite/p-ef6b4184.js +5 -0
  184. package/dist/calcite/{p-87327c2f.system.entry.js → p-ef779e80.system.entry.js} +1 -1
  185. package/dist/calcite/p-f2508455.system.entry.js +5 -0
  186. package/dist/calcite/p-f45eae85.entry.js +5 -0
  187. package/dist/calcite/{p-2e29554c.js → p-fb3f5251.js} +1 -1
  188. package/dist/calcite/p-fbf74b6d.js +5 -0
  189. package/dist/calcite/p-fc04e52b.system.entry.js +5 -0
  190. package/dist/calcite/p-fc2f135e.system.entry.js +5 -0
  191. package/dist/calcite/p-fe28891b.system.entry.js +5 -0
  192. package/dist/calcite/p-feacdfdf.system.entry.js +5 -0
  193. package/dist/cjs/{CalciteExpandToggle-d654421a.js → CalciteExpandToggle-f1e05027.js} +2 -2
  194. package/dist/cjs/{CalciteHeading-112c19f9.js → CalciteHeading-d797719f.js} +1 -1
  195. package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -5
  196. package/dist/cjs/calcite-action-bar.cjs.entry.js +8 -29
  197. package/dist/cjs/calcite-action-group.cjs.entry.js +16 -3
  198. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  199. package/dist/cjs/calcite-action-pad.cjs.entry.js +12 -4
  200. package/dist/cjs/calcite-action.cjs.entry.js +3 -3
  201. package/dist/cjs/calcite-alert.cjs.entry.js +29 -22
  202. package/dist/cjs/calcite-avatar.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-block_2.cjs.entry.js +19 -6
  204. package/dist/cjs/calcite-button.cjs.entry.js +5 -5
  205. package/dist/cjs/calcite-card.cjs.entry.js +19 -8
  206. package/dist/cjs/calcite-checkbox.cjs.entry.js +6 -6
  207. package/dist/cjs/calcite-chip.cjs.entry.js +17 -4
  208. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +21 -6
  209. package/dist/cjs/calcite-combobox_3.cjs.entry.js +39 -25
  210. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +19 -17
  211. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +32 -26
  212. package/dist/cjs/calcite-fab.cjs.entry.js +3 -3
  213. package/dist/cjs/calcite-filter.cjs.entry.js +3 -3
  214. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  215. package/dist/cjs/calcite-graph_2.cjs.entry.js +28 -17
  216. package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
  217. package/dist/cjs/calcite-icon.cjs.entry.js +4 -4
  218. package/dist/cjs/calcite-inline-editable.cjs.entry.js +47 -22
  219. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +15 -10
  220. package/dist/cjs/calcite-input-message.cjs.entry.js +3 -3
  221. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +11 -11
  222. package/dist/cjs/calcite-input.cjs.entry.js +135 -63
  223. package/dist/cjs/calcite-label.cjs.entry.js +6 -3
  224. package/dist/cjs/calcite-link.cjs.entry.js +16 -5
  225. package/dist/cjs/calcite-list_3.cjs.entry.js +19 -6
  226. package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
  227. package/dist/cjs/calcite-modal.cjs.entry.js +10 -7
  228. package/dist/cjs/calcite-notice.cjs.entry.js +15 -9
  229. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  230. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
  231. package/dist/cjs/calcite-panel.cjs.entry.js +39 -17
  232. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +32 -8
  233. package/dist/cjs/calcite-popover_2.cjs.entry.js +8 -8
  234. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  235. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +15 -2
  236. package/dist/cjs/calcite-radio-button.cjs.entry.js +21 -14
  237. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +6 -51
  238. package/dist/cjs/calcite-rating.cjs.entry.js +5 -5
  239. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  240. package/dist/cjs/calcite-shell_3.cjs.entry.js +47 -16
  241. package/dist/cjs/calcite-sortable-list.cjs.entry.js +3 -3
  242. package/dist/cjs/calcite-split-button.cjs.entry.js +2 -2
  243. package/dist/cjs/calcite-stepper_2.cjs.entry.js +4 -4
  244. package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
  245. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  246. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +39 -4
  247. package/dist/cjs/calcite-tile.cjs.entry.js +16 -3
  248. package/dist/cjs/calcite-tip_3.cjs.entry.js +20 -8
  249. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +9 -9
  250. package/dist/cjs/calcite-tree_2.cjs.entry.js +26 -13
  251. package/dist/cjs/calcite-value-list_2.cjs.entry.js +27 -8
  252. package/dist/cjs/calcite.cjs.js +3 -3
  253. package/dist/cjs/conditionalSlot-20745612.js +43 -0
  254. package/dist/cjs/{dom-19822169.js → dom-f3df220d.js} +44 -11
  255. package/dist/cjs/{form-a5b44a1f.js → form-55a71663.js} +2 -2
  256. package/dist/cjs/{index-6b5d2de5.js → index-8b0d388b.js} +0 -5
  257. package/dist/cjs/{label-8e3552b2.js → label-6b18ca08.js} +5 -2
  258. package/dist/cjs/loader.cjs.js +3 -3
  259. package/dist/cjs/locale-02462821.js +128 -0
  260. package/dist/cjs/number-e813e801.js +84 -0
  261. package/dist/cjs/{observers-41837607.js → observers-79bfb8bc.js} +5 -1
  262. package/dist/cjs/{popper-a7580aca.js → popper-13a2bb46.js} +29 -10
  263. package/dist/cjs/{resources-16974e48.js → resources-6af71952.js} +9 -5
  264. package/dist/cjs/{resources-6c4b32ef.js → resources-f6847c67.js} +14 -3
  265. package/dist/collection/collection-manifest.json +4 -4
  266. package/dist/collection/components/accordion/interfaces.js +1 -0
  267. package/dist/collection/components/alert/interfaces.js +7 -0
  268. package/dist/collection/components/block-section/interfaces.js +1 -0
  269. package/dist/collection/components/button/interfaces.js +1 -0
  270. package/dist/collection/components/calcite-accordion/calcite-accordion.css +8 -18
  271. package/dist/collection/components/calcite-accordion/calcite-accordion.js +6 -2
  272. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +33 -77
  273. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +1 -1
  274. package/dist/collection/components/calcite-action/calcite-action.css +49 -91
  275. package/dist/collection/components/calcite-action-bar/calcite-action-bar.css +7 -18
  276. package/dist/collection/components/calcite-action-group/calcite-action-group.css +5 -18
  277. package/dist/collection/components/calcite-action-group/calcite-action-group.js +12 -0
  278. package/dist/collection/components/calcite-action-menu/calcite-action-menu.css +11 -23
  279. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +4 -4
  280. package/dist/collection/components/calcite-action-pad/calcite-action-pad.css +26 -25
  281. package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +7 -0
  282. package/dist/collection/components/calcite-alert/calcite-alert.css +81 -106
  283. package/dist/collection/components/calcite-alert/calcite-alert.js +54 -21
  284. package/dist/collection/components/calcite-avatar/calcite-avatar.css +8 -20
  285. package/dist/collection/components/calcite-block/calcite-block.css +44 -53
  286. package/dist/collection/components/calcite-block/calcite-block.js +13 -1
  287. package/dist/collection/components/calcite-block-section/calcite-block-section.css +25 -41
  288. package/dist/collection/components/calcite-button/calcite-button.css +83 -226
  289. package/dist/collection/components/calcite-card/calcite-card.css +49 -60
  290. package/dist/collection/components/calcite-card/calcite-card.js +15 -6
  291. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +11 -24
  292. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +1 -1
  293. package/dist/collection/components/calcite-chip/calcite-chip.css +19 -41
  294. package/dist/collection/components/calcite-chip/calcite-chip.js +13 -1
  295. package/dist/collection/components/calcite-color-picker/calcite-color-picker.css +11 -40
  296. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.css +7 -17
  297. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.css +7 -18
  298. package/dist/collection/components/calcite-color-picker-swatch/resources.js +1 -1
  299. package/dist/collection/components/calcite-combobox/calcite-combobox.css +29 -48
  300. package/dist/collection/components/calcite-combobox/calcite-combobox.js +46 -16
  301. package/dist/collection/components/calcite-combobox/resources.js +3 -0
  302. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +34 -41
  303. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +10 -8
  304. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.css +8 -19
  305. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +1 -1
  306. package/dist/collection/components/calcite-date-picker/assets/calcite-date-picker/nls/bg.json +31 -0
  307. package/dist/collection/components/calcite-date-picker/assets/calcite-date-picker/nls/pt-BR.json +31 -0
  308. package/dist/collection/components/calcite-date-picker/assets/calcite-date-picker/nls/pt-PT.json +3 -3
  309. package/dist/collection/components/calcite-date-picker/calcite-date-picker.css +4 -14
  310. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +9 -7
  311. package/dist/collection/components/calcite-date-picker/utils.js +7 -3
  312. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +37 -58
  313. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +21 -31
  314. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +35 -56
  315. package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +5 -21
  316. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +28 -21
  317. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.css +10 -20
  318. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +48 -59
  319. package/dist/collection/components/calcite-fab/calcite-fab.css +10 -16
  320. package/dist/collection/components/calcite-filter/calcite-filter.css +20 -34
  321. package/dist/collection/components/calcite-flow/calcite-flow.css +22 -34
  322. package/dist/collection/components/calcite-flow/calcite-flow.js +1 -1
  323. package/dist/collection/components/calcite-graph/calcite-graph.css +5 -18
  324. package/dist/collection/components/calcite-graph/calcite-graph.js +13 -42
  325. package/dist/collection/components/calcite-handle/calcite-handle.css +4 -18
  326. package/dist/collection/components/calcite-icon/assets/calcite-icon/clipboard16.json +1 -0
  327. package/dist/collection/components/calcite-icon/assets/calcite-icon/clipboard24.json +1 -0
  328. package/dist/collection/components/calcite-icon/assets/calcite-icon/clipboard32.json +1 -0
  329. package/dist/collection/components/calcite-icon/assets/calcite-icon/explore16.json +1 -0
  330. package/dist/collection/components/calcite-icon/assets/calcite-icon/explore24.json +1 -0
  331. package/dist/collection/components/calcite-icon/assets/calcite-icon/explore32.json +1 -0
  332. package/dist/collection/components/calcite-icon/assets/calcite-icon/folders16.json +1 -0
  333. package/dist/collection/components/calcite-icon/assets/calcite-icon/folders24.json +1 -0
  334. package/dist/collection/components/calcite-icon/assets/calcite-icon/folders32.json +1 -0
  335. package/dist/collection/components/calcite-icon/assets/calcite-icon/initiative16.json +1 -0
  336. package/dist/collection/components/calcite-icon/assets/calcite-icon/initiative24.json +1 -0
  337. package/dist/collection/components/calcite-icon/assets/calcite-icon/initiative32.json +1 -0
  338. package/dist/collection/components/calcite-icon/assets/calcite-icon/initiativeTemplate16.json +1 -0
  339. package/dist/collection/components/calcite-icon/assets/calcite-icon/initiativeTemplate24.json +1 -0
  340. package/dist/collection/components/calcite-icon/assets/calcite-icon/initiativeTemplate32.json +1 -0
  341. package/dist/collection/components/calcite-icon/assets/calcite-icon/multipleVariables16.json +1 -0
  342. package/dist/collection/components/calcite-icon/assets/calcite-icon/multipleVariables24.json +1 -0
  343. package/dist/collection/components/calcite-icon/assets/calcite-icon/multipleVariables32.json +1 -0
  344. package/dist/collection/components/calcite-icon/assets/calcite-icon/paletteCheck16.json +1 -0
  345. package/dist/collection/components/calcite-icon/assets/calcite-icon/paletteCheck24.json +1 -0
  346. package/dist/collection/components/calcite-icon/assets/calcite-icon/paletteCheck32.json +1 -0
  347. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloudy16.json +1 -0
  348. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloudy24.json +1 -0
  349. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloudy32.json +1 -0
  350. package/dist/collection/components/calcite-icon/assets/calcite-icon/pentagon16.json +1 -0
  351. package/dist/collection/components/calcite-icon/assets/calcite-icon/pentagon24.json +1 -0
  352. package/dist/collection/components/calcite-icon/assets/calcite-icon/pentagon32.json +1 -0
  353. package/dist/collection/components/calcite-icon/assets/calcite-icon/puzzlePiece16.json +1 -0
  354. package/dist/collection/components/calcite-icon/assets/calcite-icon/puzzlePiece24.json +1 -0
  355. package/dist/collection/components/calcite-icon/assets/calcite-icon/puzzlePiece32.json +1 -0
  356. package/dist/collection/components/calcite-icon/assets/calcite-icon/ribbonRosette16.json +1 -0
  357. package/dist/collection/components/calcite-icon/assets/calcite-icon/ribbonRosette24.json +1 -0
  358. package/dist/collection/components/calcite-icon/assets/calcite-icon/ribbonRosette32.json +1 -0
  359. package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign16.json +1 -0
  360. package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign24.json +1 -0
  361. package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign32.json +1 -0
  362. package/dist/collection/components/calcite-icon/assets/calcite-icon/screenshotMode16.json +1 -0
  363. package/dist/collection/components/calcite-icon/assets/calcite-icon/screenshotMode24.json +1 -0
  364. package/dist/collection/components/calcite-icon/assets/calcite-icon/screenshotMode32.json +1 -0
  365. package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleExclamation16.json +1 -0
  366. package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleExclamation24.json +1 -0
  367. package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleExclamation32.json +1 -0
  368. package/dist/collection/components/calcite-icon/assets/calcite-icon/survey16.json +1 -0
  369. package/dist/collection/components/calcite-icon/assets/calcite-icon/survey24.json +1 -0
  370. package/dist/collection/components/calcite-icon/assets/calcite-icon/survey32.json +1 -0
  371. package/dist/collection/components/calcite-icon/calcite-icon.css +12 -14
  372. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +5 -12
  373. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +54 -35
  374. package/dist/collection/components/calcite-input/calcite-input.css +94 -156
  375. package/dist/collection/components/calcite-input/calcite-input.js +129 -57
  376. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +28 -46
  377. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +39 -2
  378. package/dist/collection/components/calcite-input-message/calcite-input-message.css +12 -23
  379. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +1 -11
  380. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +2 -2
  381. package/dist/collection/components/calcite-label/calcite-label.css +19 -34
  382. package/dist/collection/components/calcite-label/calcite-label.js +8 -2
  383. package/dist/collection/components/calcite-link/calcite-link.css +16 -33
  384. package/dist/collection/components/calcite-link/calcite-link.js +31 -2
  385. package/dist/collection/components/calcite-list/calcite-list.css +9 -16
  386. package/dist/collection/components/calcite-list-item/calcite-list-item.css +23 -46
  387. package/dist/collection/components/calcite-list-item/calcite-list-item.js +12 -0
  388. package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.css +7 -17
  389. package/dist/collection/components/calcite-loader/calcite-loader.css +37 -62
  390. package/dist/collection/components/calcite-modal/calcite-modal.css +95 -102
  391. package/dist/collection/components/calcite-modal/calcite-modal.js +6 -3
  392. package/dist/collection/components/calcite-notice/calcite-notice.css +43 -80
  393. package/dist/collection/components/calcite-notice/calcite-notice.js +11 -6
  394. package/dist/collection/components/calcite-option/calcite-option.css +1 -11
  395. package/dist/collection/components/calcite-option-group/calcite-option-group.css +1 -11
  396. package/dist/collection/components/calcite-pagination/calcite-pagination.css +20 -54
  397. package/dist/collection/components/calcite-panel/calcite-panel.css +51 -73
  398. package/dist/collection/components/calcite-panel/calcite-panel.js +60 -19
  399. package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +16 -26
  400. package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +13 -5
  401. package/dist/collection/components/calcite-pick-list/resources.js +1 -1
  402. package/dist/collection/components/calcite-pick-list/shared-list-logic.js +10 -0
  403. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.css +14 -27
  404. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +12 -0
  405. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.css +43 -60
  406. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +13 -1
  407. package/dist/collection/components/calcite-popover/calcite-popover.css +24 -34
  408. package/dist/collection/components/calcite-popover/calcite-popover.js +1 -1
  409. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.css +1 -11
  410. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +1 -1
  411. package/dist/collection/components/calcite-progress/calcite-progress.css +7 -20
  412. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +18 -21
  413. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +16 -9
  414. package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.css +1 -14
  415. package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.js +13 -0
  416. package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +3 -15
  417. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +3 -5
  418. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +17 -28
  419. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +0 -45
  420. package/dist/collection/components/calcite-rating/calcite-rating.css +10 -23
  421. package/dist/collection/components/calcite-scrim/calcite-scrim.css +17 -29
  422. package/dist/collection/components/calcite-select/calcite-select.css +23 -39
  423. package/dist/collection/components/calcite-select/calcite-select.js +3 -5
  424. package/dist/collection/components/calcite-shell/calcite-shell.css +43 -43
  425. package/dist/collection/components/calcite-shell/calcite-shell.js +23 -9
  426. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.css +26 -21
  427. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +13 -1
  428. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +33 -52
  429. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +9 -4
  430. package/dist/collection/components/calcite-slider/calcite-slider.css +50 -93
  431. package/dist/collection/components/calcite-slider/calcite-slider.js +10 -7
  432. package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +1 -11
  433. package/dist/collection/components/calcite-split-button/calcite-split-button.css +7 -27
  434. package/dist/collection/components/calcite-stepper/calcite-stepper.css +8 -18
  435. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +38 -72
  436. package/dist/collection/components/calcite-switch/calcite-switch.css +29 -47
  437. package/dist/collection/components/calcite-tab/calcite-tab.css +10 -20
  438. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +14 -23
  439. package/dist/collection/components/calcite-tab-title/calcite-tab-title.css +40 -65
  440. package/dist/collection/components/calcite-tabs/calcite-tabs.css +3 -13
  441. package/dist/collection/components/calcite-tile/calcite-tile.css +52 -85
  442. package/dist/collection/components/calcite-tile/calcite-tile.js +12 -0
  443. package/dist/collection/components/calcite-tile-select/calcite-tile-select.css +52 -87
  444. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +21 -2
  445. package/dist/collection/components/calcite-tile-select/resources.js +20 -0
  446. package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.css +1 -12
  447. package/dist/collection/components/calcite-time-picker/calcite-time-picker.css +15 -47
  448. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +5 -5
  449. package/dist/collection/components/calcite-tip/calcite-tip.css +20 -36
  450. package/dist/collection/components/calcite-tip/calcite-tip.js +13 -1
  451. package/dist/collection/components/calcite-tip-group/calcite-tip-group.css +4 -14
  452. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.css +34 -49
  453. package/dist/collection/components/calcite-tooltip/calcite-tooltip.css +12 -20
  454. package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -5
  455. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.css +1 -11
  456. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +1 -1
  457. package/dist/collection/components/calcite-tree/calcite-tree.css +1 -11
  458. package/dist/collection/components/calcite-tree/calcite-tree.js +2 -1
  459. package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +27 -58
  460. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +21 -8
  461. package/dist/collection/components/calcite-value-list/calcite-value-list.css +17 -25
  462. package/dist/collection/components/calcite-value-list/calcite-value-list.js +23 -9
  463. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.css +22 -32
  464. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +12 -0
  465. package/dist/collection/components/chip/interfaces.js +1 -0
  466. package/dist/collection/components/color-picker/interfaces.js +1 -0
  467. package/dist/collection/components/color-picker/utils.js +107 -0
  468. package/dist/collection/components/combobox/interfaces.js +1 -0
  469. package/dist/collection/components/date-picker/interfaces.js +1 -0
  470. package/dist/collection/components/date-picker/utils.js +53 -0
  471. package/dist/collection/components/dropdown/interfaces.js +1 -0
  472. package/dist/collection/components/dropdown-group/interfaces.js +1 -0
  473. package/dist/collection/components/functional/Heading.js +9 -0
  474. package/dist/collection/components/graph/interfaces.js +1 -0
  475. package/dist/collection/components/input/interfaces.js +1 -0
  476. package/dist/collection/components/modal/interfaces.js +1 -0
  477. package/dist/collection/components/pagination/pagination.js +201 -0
  478. package/dist/collection/components/pagination/resources.js +14 -0
  479. package/dist/collection/components/pick-list/pick-list.js +192 -0
  480. package/dist/collection/components/pick-list/resources.js +15 -0
  481. package/dist/collection/components/pick-list/shared-list-logic.js +269 -0
  482. package/dist/collection/components/pick-list/shared-list-render.js +25 -0
  483. package/dist/collection/components/radio-group/interfaces.js +1 -0
  484. package/dist/collection/components/tab/interfaces.js +1 -0
  485. package/dist/collection/components/tabs/interfaces.js +1 -0
  486. package/dist/collection/components/tile-select/interfaces.js +1 -0
  487. package/dist/collection/components/tile-select-group/interfaces.js +1 -0
  488. package/dist/collection/components/tree/interfaces.js +8 -0
  489. package/dist/collection/components/tree-item/interfaces.js +1 -0
  490. package/dist/collection/components/value-list/resources.js +11 -0
  491. package/dist/collection/components/value-list/value-list.js +266 -0
  492. package/dist/collection/utils/conditionalSlot.js +22 -11
  493. package/dist/collection/utils/dom.js +44 -11
  494. package/dist/collection/utils/globalAttributes.js +59 -0
  495. package/dist/collection/utils/label.js +4 -1
  496. package/dist/collection/utils/locale.js +43 -38
  497. package/dist/collection/utils/number.js +48 -23
  498. package/dist/collection/utils/observers.js +5 -1
  499. package/dist/components/calcite-accordion-item.js +1 -1
  500. package/dist/components/calcite-accordion.js +5 -2
  501. package/dist/components/calcite-action-bar.js +3 -24
  502. package/dist/components/calcite-action-group2.js +13 -1
  503. package/dist/components/calcite-action-menu2.js +5 -5
  504. package/dist/components/calcite-action-pad.js +8 -1
  505. package/dist/components/calcite-action2.js +1 -1
  506. package/dist/components/calcite-alert.js +29 -21
  507. package/dist/components/calcite-avatar.js +1 -1
  508. package/dist/components/calcite-block-section.js +1 -1
  509. package/dist/components/calcite-block.js +14 -2
  510. package/dist/components/calcite-button2.js +1 -1
  511. package/dist/components/calcite-card.js +16 -7
  512. package/dist/components/calcite-checkbox2.js +2 -2
  513. package/dist/components/calcite-chip2.js +14 -2
  514. package/dist/components/calcite-color-picker-hex-input2.js +1 -1
  515. package/dist/components/calcite-color-picker-swatch2.js +17 -2
  516. package/dist/components/calcite-color-picker.js +1 -1
  517. package/dist/components/calcite-combobox-item-group.js +1 -1
  518. package/dist/components/calcite-combobox-item.js +9 -7
  519. package/dist/components/calcite-combobox.js +23 -13
  520. package/dist/components/calcite-date-picker-day2.js +1 -1
  521. package/dist/components/calcite-date-picker-month-header2.js +1 -1
  522. package/dist/components/calcite-date-picker-month2.js +1 -1
  523. package/dist/components/calcite-date-picker2.js +17 -11
  524. package/dist/components/calcite-dropdown-group.js +1 -1
  525. package/dist/components/calcite-dropdown-item.js +1 -1
  526. package/dist/components/calcite-dropdown2.js +27 -21
  527. package/dist/components/calcite-fab.js +1 -1
  528. package/dist/components/calcite-filter2.js +1 -1
  529. package/dist/components/calcite-flow.js +1 -1
  530. package/dist/components/calcite-graph2.js +14 -9
  531. package/dist/components/calcite-handle2.js +1 -1
  532. package/dist/components/calcite-icon2.js +1 -1
  533. package/dist/components/calcite-inline-editable.js +45 -20
  534. package/dist/components/calcite-input-date-picker.js +8 -3
  535. package/dist/components/calcite-input-message.js +1 -1
  536. package/dist/components/calcite-input-time-picker.js +2 -2
  537. package/dist/components/calcite-input2.js +130 -58
  538. package/dist/components/calcite-label2.js +5 -2
  539. package/dist/components/calcite-link2.js +15 -3
  540. package/dist/components/calcite-list-item-group.js +1 -1
  541. package/dist/components/calcite-list-item.js +13 -1
  542. package/dist/components/calcite-list.js +1 -1
  543. package/dist/components/calcite-loader2.js +1 -1
  544. package/dist/components/calcite-modal.js +7 -4
  545. package/dist/components/calcite-notice.js +12 -7
  546. package/dist/components/calcite-option-group.js +1 -1
  547. package/dist/components/calcite-option.js +1 -1
  548. package/dist/components/calcite-pagination.js +1 -1
  549. package/dist/components/calcite-panel.js +37 -15
  550. package/dist/components/calcite-pick-list-group.js +13 -1
  551. package/dist/components/calcite-pick-list-item2.js +13 -1
  552. package/dist/components/calcite-pick-list.js +3 -2
  553. package/dist/components/calcite-popover-manager.js +2 -2
  554. package/dist/components/calcite-popover2.js +2 -2
  555. package/dist/components/calcite-progress2.js +1 -1
  556. package/dist/components/calcite-radio-button-group.js +14 -1
  557. package/dist/components/calcite-radio-button.js +17 -10
  558. package/dist/components/calcite-radio-group-item.js +1 -46
  559. package/dist/components/calcite-radio-group.js +2 -2
  560. package/dist/components/calcite-rating.js +1 -1
  561. package/dist/components/calcite-scrim2.js +1 -1
  562. package/dist/components/calcite-select.js +2 -2
  563. package/dist/components/calcite-shell-center-row.js +14 -2
  564. package/dist/components/calcite-shell-panel.js +10 -5
  565. package/dist/components/calcite-shell.js +22 -7
  566. package/dist/components/calcite-slider.js +11 -7
  567. package/dist/components/calcite-sortable-list.js +1 -1
  568. package/dist/components/calcite-split-button.js +1 -1
  569. package/dist/components/calcite-stepper-item.js +1 -1
  570. package/dist/components/calcite-stepper.js +1 -1
  571. package/dist/components/calcite-switch2.js +1 -1
  572. package/dist/components/calcite-tab-nav2.js +1 -1
  573. package/dist/components/calcite-tab-title2.js +1 -1
  574. package/dist/components/calcite-tab2.js +1 -1
  575. package/dist/components/calcite-tabs2.js +1 -1
  576. package/dist/components/calcite-tile-select-group.js +1 -1
  577. package/dist/components/calcite-tile-select.js +37 -2
  578. package/dist/components/calcite-tile2.js +13 -1
  579. package/dist/components/calcite-time-picker2.js +5 -5
  580. package/dist/components/calcite-tip-group.js +1 -1
  581. package/dist/components/calcite-tip-manager.js +1 -1
  582. package/dist/components/calcite-tip.js +14 -2
  583. package/dist/components/calcite-tooltip-manager2.js +2 -2
  584. package/dist/components/calcite-tooltip.js +4 -4
  585. package/dist/components/calcite-tree-item.js +20 -9
  586. package/dist/components/calcite-tree.js +3 -2
  587. package/dist/components/calcite-value-list-item.js +13 -1
  588. package/dist/components/calcite-value-list.js +11 -4
  589. package/dist/components/conditionalSlot.js +40 -0
  590. package/dist/components/dom.js +44 -11
  591. package/dist/components/label.js +4 -1
  592. package/dist/components/locale.js +43 -38
  593. package/dist/components/number.js +49 -24
  594. package/dist/components/observers.js +5 -1
  595. package/dist/components/popper.js +28 -9
  596. package/dist/components/resources3.js +1 -1
  597. package/dist/components/shared-list-render.js +11 -1
  598. package/dist/components/utils2.js +4 -1
  599. package/dist/custom-elements/index.js +1236 -758
  600. package/dist/esm/{CalciteExpandToggle-c33bd6fd.js → CalciteExpandToggle-3ebdb3a6.js} +2 -2
  601. package/dist/esm/{CalciteHeading-1d6cd311.js → CalciteHeading-fa0da825.js} +1 -1
  602. package/dist/esm/calcite-accordion_2.entry.js +8 -5
  603. package/dist/esm/calcite-action-bar.entry.js +6 -27
  604. package/dist/esm/calcite-action-group.entry.js +16 -3
  605. package/dist/esm/calcite-action-menu.entry.js +8 -8
  606. package/dist/esm/calcite-action-pad.entry.js +12 -4
  607. package/dist/esm/calcite-action.entry.js +3 -3
  608. package/dist/esm/calcite-alert.entry.js +29 -22
  609. package/dist/esm/calcite-avatar.entry.js +3 -3
  610. package/dist/esm/calcite-block_2.entry.js +19 -6
  611. package/dist/esm/calcite-button.entry.js +5 -5
  612. package/dist/esm/calcite-card.entry.js +19 -8
  613. package/dist/esm/calcite-checkbox.entry.js +6 -6
  614. package/dist/esm/calcite-chip.entry.js +17 -4
  615. package/dist/esm/calcite-color-picker_3.entry.js +21 -6
  616. package/dist/esm/calcite-combobox_3.entry.js +39 -25
  617. package/dist/esm/calcite-date-picker_4.entry.js +19 -17
  618. package/dist/esm/calcite-dropdown_3.entry.js +32 -26
  619. package/dist/esm/calcite-fab.entry.js +3 -3
  620. package/dist/esm/calcite-filter.entry.js +3 -3
  621. package/dist/esm/calcite-flow.entry.js +3 -3
  622. package/dist/esm/calcite-graph_2.entry.js +28 -17
  623. package/dist/esm/calcite-handle.entry.js +2 -2
  624. package/dist/esm/calcite-icon.entry.js +4 -4
  625. package/dist/esm/calcite-inline-editable.entry.js +47 -22
  626. package/dist/esm/calcite-input-date-picker.entry.js +15 -10
  627. package/dist/esm/calcite-input-message.entry.js +3 -3
  628. package/dist/esm/calcite-input-time-picker_2.entry.js +11 -11
  629. package/dist/esm/calcite-input.entry.js +135 -63
  630. package/dist/esm/calcite-label.entry.js +6 -3
  631. package/dist/esm/calcite-link.entry.js +16 -5
  632. package/dist/esm/calcite-list_3.entry.js +19 -6
  633. package/dist/esm/calcite-loader.entry.js +2 -2
  634. package/dist/esm/calcite-modal.entry.js +10 -7
  635. package/dist/esm/calcite-notice.entry.js +15 -9
  636. package/dist/esm/calcite-option_3.entry.js +8 -8
  637. package/dist/esm/calcite-pagination.entry.js +2 -2
  638. package/dist/esm/calcite-panel.entry.js +39 -17
  639. package/dist/esm/calcite-pick-list_3.entry.js +32 -8
  640. package/dist/esm/calcite-popover_2.entry.js +8 -8
  641. package/dist/esm/calcite-progress.entry.js +2 -2
  642. package/dist/esm/calcite-radio-button-group.entry.js +15 -2
  643. package/dist/esm/calcite-radio-button.entry.js +21 -14
  644. package/dist/esm/calcite-radio-group_2.entry.js +6 -51
  645. package/dist/esm/calcite-rating.entry.js +5 -5
  646. package/dist/esm/calcite-scrim.entry.js +2 -2
  647. package/dist/esm/calcite-shell_3.entry.js +47 -16
  648. package/dist/esm/calcite-sortable-list.entry.js +3 -3
  649. package/dist/esm/calcite-split-button.entry.js +2 -2
  650. package/dist/esm/calcite-stepper_2.entry.js +4 -4
  651. package/dist/esm/calcite-switch.entry.js +5 -5
  652. package/dist/esm/calcite-tab_4.entry.js +7 -7
  653. package/dist/esm/calcite-tile-select_2.entry.js +39 -4
  654. package/dist/esm/calcite-tile.entry.js +16 -3
  655. package/dist/esm/calcite-tip_3.entry.js +20 -8
  656. package/dist/esm/calcite-tooltip_2.entry.js +9 -9
  657. package/dist/esm/calcite-tree_2.entry.js +26 -13
  658. package/dist/esm/calcite-value-list_2.entry.js +27 -8
  659. package/dist/esm/calcite.js +3 -3
  660. package/dist/esm/conditionalSlot-0e575a09.js +40 -0
  661. package/dist/esm/{dom-f24e866c.js → dom-e7fa77b9.js} +44 -11
  662. package/dist/esm/{form-160b0fb5.js → form-42bda668.js} +2 -2
  663. package/dist/esm/{index-9de00868.js → index-c4b90cce.js} +0 -5
  664. package/dist/esm/{label-5559055d.js → label-2bffc9f4.js} +5 -2
  665. package/dist/esm/loader.js +3 -3
  666. package/dist/esm/locale-fc850b7c.js +123 -0
  667. package/dist/esm/number-8779395f.js +76 -0
  668. package/dist/esm/{observers-8f0bc419.js → observers-46118290.js} +5 -1
  669. package/dist/esm/{popper-f5caedc4.js → popper-ae231554.js} +29 -10
  670. package/dist/esm/{resources-35c1823f.js → resources-3c05dd64.js} +14 -4
  671. package/dist/esm/{resources-b4eee1d4.js → resources-704f6b2d.js} +9 -5
  672. package/dist/esm-es5/{CalciteExpandToggle-c33bd6fd.js → CalciteExpandToggle-3ebdb3a6.js} +1 -1
  673. package/dist/esm-es5/{CalciteHeading-1d6cd311.js → CalciteHeading-fa0da825.js} +1 -1
  674. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  675. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  676. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  677. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  678. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  679. package/dist/esm-es5/calcite-action.entry.js +1 -1
  680. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  681. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  682. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  683. package/dist/esm-es5/calcite-button.entry.js +1 -1
  684. package/dist/esm-es5/calcite-card.entry.js +1 -1
  685. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  686. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  687. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  688. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  689. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  690. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  691. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  692. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  693. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  694. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  695. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  696. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  697. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  698. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  699. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  700. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  701. package/dist/esm-es5/calcite-input.entry.js +1 -1
  702. package/dist/esm-es5/calcite-label.entry.js +1 -1
  703. package/dist/esm-es5/calcite-link.entry.js +2 -2
  704. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  705. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  706. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  707. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  708. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  709. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  710. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  711. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  712. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  713. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  714. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  715. package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
  716. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  717. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  718. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  719. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  720. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  721. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  722. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  723. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  724. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  725. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  726. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  727. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  728. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  729. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  730. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  731. package/dist/esm-es5/calcite.js +1 -1
  732. package/dist/esm-es5/conditionalSlot-0e575a09.js +5 -0
  733. package/dist/esm-es5/dom-e7fa77b9.js +5 -0
  734. package/dist/esm-es5/{form-160b0fb5.js → form-42bda668.js} +1 -1
  735. package/dist/esm-es5/{index-9de00868.js → index-c4b90cce.js} +1 -1
  736. package/dist/esm-es5/label-2bffc9f4.js +5 -0
  737. package/dist/esm-es5/loader.js +1 -1
  738. package/dist/esm-es5/locale-fc850b7c.js +5 -0
  739. package/dist/esm-es5/number-8779395f.js +5 -0
  740. package/dist/esm-es5/{observers-8f0bc419.js → observers-46118290.js} +1 -1
  741. package/dist/esm-es5/popper-ae231554.js +5 -0
  742. package/dist/esm-es5/resources-3c05dd64.js +5 -0
  743. package/dist/esm-es5/resources-704f6b2d.js +5 -0
  744. package/dist/extras/docs-json.json +189 -73
  745. package/dist/types/components/calcite-accordion/calcite-accordion.d.ts +42 -0
  746. package/dist/types/components/calcite-accordion-item/calcite-accordion-item.d.ts +53 -0
  747. package/dist/types/components/calcite-action/calcite-action.d.ts +73 -0
  748. package/dist/types/components/calcite-action-bar/calcite-action-bar.d.ts +69 -0
  749. package/dist/types/components/calcite-action-group/calcite-action-group.d.ts +42 -0
  750. package/dist/types/components/calcite-action-menu/calcite-action-menu.d.ts +83 -0
  751. package/dist/types/components/calcite-action-pad/calcite-action-pad.d.ts +55 -0
  752. package/dist/types/components/calcite-alert/calcite-alert.d.ts +83 -0
  753. package/dist/types/components/calcite-alert/interfaces.d.ts +1 -0
  754. package/dist/types/components/calcite-avatar/calcite-avatar.d.ts +26 -0
  755. package/dist/types/components/calcite-block/calcite-block.d.ts +76 -0
  756. package/dist/types/components/calcite-block-section/calcite-block-section.d.ts +43 -0
  757. package/dist/types/components/calcite-button/calcite-button.d.ts +81 -0
  758. package/dist/types/components/calcite-card/calcite-card.d.ts +46 -0
  759. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +73 -0
  760. package/dist/types/components/calcite-chip/calcite-chip.d.ts +40 -0
  761. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +224 -0
  762. package/dist/types/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.d.ts +51 -0
  763. package/dist/types/components/calcite-color-picker-swatch/calcite-color-picker-swatch.d.ts +23 -0
  764. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +181 -0
  765. package/dist/types/components/calcite-combobox/interfaces.d.ts +6 -0
  766. package/dist/types/components/calcite-combobox/resources.d.ts +3 -0
  767. package/dist/types/components/calcite-combobox/utils.d.ts +6 -0
  768. package/dist/types/components/calcite-combobox-item/calcite-combobox-item.d.ts +46 -0
  769. package/dist/types/components/calcite-combobox-item-group/calcite-combobox-item-group.d.ts +17 -0
  770. package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +132 -0
  771. package/dist/types/components/calcite-date-picker-day/calcite-date-picker-day.d.ts +45 -0
  772. package/dist/types/components/calcite-date-picker-month/calcite-date-picker-month.d.ts +97 -0
  773. package/dist/types/components/calcite-date-picker-month-header/calcite-date-picker-month-header.d.ts +57 -0
  774. package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +99 -0
  775. package/dist/types/components/calcite-dropdown-group/calcite-dropdown-group.d.ts +32 -0
  776. package/dist/types/components/calcite-dropdown-item/calcite-dropdown-item.d.ts +52 -0
  777. package/dist/types/components/calcite-fab/calcite-fab.d.ts +47 -0
  778. package/dist/types/components/calcite-filter/calcite-filter.d.ts +53 -0
  779. package/dist/types/components/calcite-flow/calcite-flow.d.ts +22 -0
  780. package/dist/types/components/calcite-graph/calcite-graph.d.ts +28 -0
  781. package/dist/types/components/calcite-handle/calcite-handle.d.ts +22 -0
  782. package/dist/types/components/calcite-icon/calcite-icon.d.ts +32 -0
  783. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +71 -0
  784. package/dist/types/components/calcite-input/calcite-input.d.ts +168 -0
  785. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +179 -0
  786. package/dist/types/components/calcite-input-message/calcite-input-message.d.ts +27 -0
  787. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +90 -0
  788. package/dist/types/components/calcite-label/calcite-label.d.ts +33 -0
  789. package/dist/types/components/calcite-link/calcite-link.d.ts +38 -0
  790. package/dist/types/components/calcite-list/calcite-list.d.ts +16 -0
  791. package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +40 -0
  792. package/dist/types/components/calcite-list-item-group/calcite-list-item-group.d.ts +18 -0
  793. package/dist/types/components/calcite-loader/calcite-loader.d.ts +27 -0
  794. package/dist/types/components/calcite-modal/calcite-modal.d.ts +89 -0
  795. package/dist/types/components/calcite-notice/calcite-notice.d.ts +51 -0
  796. package/dist/types/components/calcite-pagination/calcite-pagination.d.ts +51 -0
  797. package/dist/types/components/calcite-panel/calcite-panel.d.ts +130 -0
  798. package/dist/types/components/calcite-pick-list/calcite-pick-list.d.ts +75 -0
  799. package/dist/types/components/calcite-pick-list/shared-list-logic.d.ts +31 -0
  800. package/dist/types/components/calcite-pick-list/shared-list-render.d.ts +18 -0
  801. package/dist/types/components/calcite-pick-list-group/calcite-pick-list-group.d.ts +21 -0
  802. package/dist/types/components/calcite-pick-list-item/calcite-pick-list-item.d.ts +106 -0
  803. package/dist/types/components/calcite-popover/calcite-popover.d.ts +107 -0
  804. package/dist/types/components/calcite-popover-manager/calcite-popover-manager.d.ts +19 -0
  805. package/dist/types/components/calcite-progress/calcite-progress.d.ts +15 -0
  806. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +92 -0
  807. package/dist/types/components/calcite-radio-button-group/calcite-radio-button-group.d.ts +34 -0
  808. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +56 -0
  809. package/dist/types/components/calcite-radio-group-item/calcite-radio-group-item.d.ts +24 -0
  810. package/dist/types/components/calcite-rating/calcite-rating.d.ts +60 -0
  811. package/dist/types/components/calcite-scrim/calcite-scrim.d.ts +17 -0
  812. package/dist/types/components/calcite-select/calcite-select.d.ts +75 -0
  813. package/dist/types/components/calcite-shell/calcite-shell.d.ts +24 -0
  814. package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +25 -0
  815. package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +69 -0
  816. package/dist/types/components/calcite-slider/calcite-slider.d.ts +193 -0
  817. package/dist/types/components/calcite-sortable-list/calcite-sortable-list.d.ts +50 -0
  818. package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +52 -0
  819. package/dist/types/components/calcite-stepper/calcite-stepper.d.ts +58 -0
  820. package/dist/types/components/calcite-stepper-item/calcite-stepper-item.d.ts +65 -0
  821. package/dist/types/components/calcite-switch/calcite-switch.d.ts +46 -0
  822. package/dist/types/components/calcite-tab/calcite-tab.d.ts +42 -0
  823. package/dist/types/components/calcite-tab-nav/calcite-tab-nav.d.ts +74 -0
  824. package/dist/types/components/calcite-tab-title/calcite-tab-title.d.ts +92 -0
  825. package/dist/types/components/calcite-tabs/calcite-tabs.d.ts +65 -0
  826. package/dist/types/components/calcite-tile/calcite-tile.d.ts +36 -0
  827. package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +57 -0
  828. package/dist/types/components/calcite-tile-select/resources.d.ts +16 -0
  829. package/dist/types/components/calcite-time-picker/calcite-time-picker.d.ts +135 -0
  830. package/dist/types/components/calcite-tip/calcite-tip.d.ts +47 -0
  831. package/dist/types/components/calcite-tip-manager/calcite-tip-manager.d.ts +65 -0
  832. package/dist/types/components/calcite-tooltip/calcite-tooltip.d.ts +60 -0
  833. package/dist/types/components/calcite-tooltip-manager/calcite-tooltip-manager.d.ts +41 -0
  834. package/dist/types/components/calcite-tree/calcite-tree.d.ts +38 -0
  835. package/dist/types/components/calcite-tree/interfaces.d.ts +10 -0
  836. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +60 -0
  837. package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +89 -0
  838. package/dist/types/components/calcite-value-list-item/calcite-value-list-item.d.ts +79 -0
  839. package/dist/types/components/functional/CalciteExpandToggle.d.ts +19 -0
  840. package/dist/types/components.d.ts +62 -32
  841. package/dist/types/preact.d.ts +5 -4
  842. package/dist/types/stencil-public-runtime.d.ts +6 -4
  843. package/dist/types/utils/dom.d.ts +21 -3
  844. package/dist/types/utils/globalAttributes.d.ts +35 -0
  845. package/dist/types/utils/label.d.ts +39 -0
  846. package/dist/types/utils/number.d.ts +2 -1
  847. package/hydrate/index.js +1244 -759
  848. package/package.json +35 -32
  849. package/readme.md +2 -36
  850. package/dist/calcite/p-0229a408.js +0 -5
  851. package/dist/calcite/p-057197f8.entry.js +0 -5
  852. package/dist/calcite/p-05c10c53.entry.js +0 -5
  853. package/dist/calcite/p-05edaadf.system.entry.js +0 -5
  854. package/dist/calcite/p-0b45733b.entry.js +0 -5
  855. package/dist/calcite/p-112f20e6.system.entry.js +0 -5
  856. package/dist/calcite/p-11f01c0a.entry.js +0 -5
  857. package/dist/calcite/p-18d9a261.system.js +0 -5
  858. package/dist/calcite/p-1942876c.js +0 -5
  859. package/dist/calcite/p-2151c991.entry.js +0 -5
  860. package/dist/calcite/p-288899b9.entry.js +0 -5
  861. package/dist/calcite/p-288bc438.system.js +0 -5
  862. package/dist/calcite/p-2b294f8e.system.entry.js +0 -5
  863. package/dist/calcite/p-2be1e8ee.entry.js +0 -5
  864. package/dist/calcite/p-2d939f9e.system.entry.js +0 -5
  865. package/dist/calcite/p-2fbd50f3.system.entry.js +0 -5
  866. package/dist/calcite/p-30036f23.system.entry.js +0 -5
  867. package/dist/calcite/p-35a5c74c.system.js +0 -5
  868. package/dist/calcite/p-3739338a.system.entry.js +0 -5
  869. package/dist/calcite/p-3c25cb72.system.entry.js +0 -5
  870. package/dist/calcite/p-3d8ee39d.system.entry.js +0 -5
  871. package/dist/calcite/p-3dae9da3.js +0 -5
  872. package/dist/calcite/p-3e9c6068.entry.js +0 -5
  873. package/dist/calcite/p-3f8527a3.entry.js +0 -5
  874. package/dist/calcite/p-40991717.entry.js +0 -5
  875. package/dist/calcite/p-4278fb57.entry.js +0 -5
  876. package/dist/calcite/p-44cce7a3.system.entry.js +0 -5
  877. package/dist/calcite/p-4d02c6c0.system.entry.js +0 -5
  878. package/dist/calcite/p-4e9d072a.system.js +0 -5
  879. package/dist/calcite/p-4f1f716a.system.entry.js +0 -5
  880. package/dist/calcite/p-4f7ebefc.system.js +0 -5
  881. package/dist/calcite/p-52cc870b.js +0 -5
  882. package/dist/calcite/p-55f68e28.entry.js +0 -5
  883. package/dist/calcite/p-57169a74.entry.js +0 -5
  884. package/dist/calcite/p-5c9d89ce.system.entry.js +0 -5
  885. package/dist/calcite/p-62f3d4df.system.js +0 -5
  886. package/dist/calcite/p-63b9f804.entry.js +0 -5
  887. package/dist/calcite/p-689790cb.system.entry.js +0 -5
  888. package/dist/calcite/p-69bd1f5f.system.entry.js +0 -5
  889. package/dist/calcite/p-6a87d7b2.entry.js +0 -5
  890. package/dist/calcite/p-6cc23c39.system.js +0 -5
  891. package/dist/calcite/p-6faaa8af.system.entry.js +0 -5
  892. package/dist/calcite/p-6fb63fc1.entry.js +0 -5
  893. package/dist/calcite/p-72a60528.system.entry.js +0 -5
  894. package/dist/calcite/p-763479d6.system.entry.js +0 -5
  895. package/dist/calcite/p-768018df.entry.js +0 -5
  896. package/dist/calcite/p-76eda40b.entry.js +0 -5
  897. package/dist/calcite/p-7ac9f860.entry.js +0 -5
  898. package/dist/calcite/p-7ff5e336.entry.js +0 -5
  899. package/dist/calcite/p-8340b572.js +0 -5
  900. package/dist/calcite/p-83744979.system.js +0 -5
  901. package/dist/calcite/p-88296be9.system.entry.js +0 -5
  902. package/dist/calcite/p-88b31760.system.entry.js +0 -5
  903. package/dist/calcite/p-8a8982ab.system.entry.js +0 -5
  904. package/dist/calcite/p-8ebc2d51.entry.js +0 -5
  905. package/dist/calcite/p-9180be05.system.entry.js +0 -5
  906. package/dist/calcite/p-93a189be.entry.js +0 -5
  907. package/dist/calcite/p-97117a5d.entry.js +0 -5
  908. package/dist/calcite/p-97efd284.system.entry.js +0 -5
  909. package/dist/calcite/p-998829cb.system.entry.js +0 -5
  910. package/dist/calcite/p-9a1ffbad.system.entry.js +0 -5
  911. package/dist/calcite/p-9a8f3883.entry.js +0 -5
  912. package/dist/calcite/p-9b979692.entry.js +0 -5
  913. package/dist/calcite/p-9fc14d49.entry.js +0 -5
  914. package/dist/calcite/p-9feb0f5a.system.entry.js +0 -5
  915. package/dist/calcite/p-a3c498de.entry.js +0 -5
  916. package/dist/calcite/p-a4784cf3.system.entry.js +0 -5
  917. package/dist/calcite/p-a6f99f79.entry.js +0 -5
  918. package/dist/calcite/p-a98344e2.system.entry.js +0 -5
  919. package/dist/calcite/p-a9f596be.system.entry.js +0 -5
  920. package/dist/calcite/p-adf4699d.system.entry.js +0 -5
  921. package/dist/calcite/p-b180d943.system.entry.js +0 -5
  922. package/dist/calcite/p-b2f0596f.entry.js +0 -5
  923. package/dist/calcite/p-b437a8eb.system.entry.js +0 -5
  924. package/dist/calcite/p-b43e699c.system.entry.js +0 -5
  925. package/dist/calcite/p-ba7c0f01.system.entry.js +0 -5
  926. package/dist/calcite/p-bd091b49.system.entry.js +0 -5
  927. package/dist/calcite/p-bdca5372.entry.js +0 -5
  928. package/dist/calcite/p-bfa6bd72.entry.js +0 -5
  929. package/dist/calcite/p-c00b1d26.js +0 -5
  930. package/dist/calcite/p-c2bfd7f9.system.entry.js +0 -5
  931. package/dist/calcite/p-c2fcf603.system.entry.js +0 -5
  932. package/dist/calcite/p-c34c4414.system.js +0 -5
  933. package/dist/calcite/p-c70bacc8.system.entry.js +0 -5
  934. package/dist/calcite/p-c8c6323c.entry.js +0 -5
  935. package/dist/calcite/p-cb660e54.entry.js +0 -5
  936. package/dist/calcite/p-cd5d5756.system.entry.js +0 -5
  937. package/dist/calcite/p-ce704ece.js +0 -5
  938. package/dist/calcite/p-cf499949.entry.js +0 -5
  939. package/dist/calcite/p-d17cfab3.entry.js +0 -5
  940. package/dist/calcite/p-d3bd900e.js +0 -5
  941. package/dist/calcite/p-d4d5665a.system.entry.js +0 -5
  942. package/dist/calcite/p-d9414082.system.entry.js +0 -5
  943. package/dist/calcite/p-dc7124e9.entry.js +0 -5
  944. package/dist/calcite/p-dc777403.system.entry.js +0 -5
  945. package/dist/calcite/p-dda22c7e.system.entry.js +0 -5
  946. package/dist/calcite/p-de67ba93.system.entry.js +0 -5
  947. package/dist/calcite/p-e09bac0d.system.entry.js +0 -5
  948. package/dist/calcite/p-e35b29f5.system.entry.js +0 -5
  949. package/dist/calcite/p-e4acb5a8.js +0 -5
  950. package/dist/calcite/p-e54784a8.system.entry.js +0 -5
  951. package/dist/calcite/p-e63c6a55.system.entry.js +0 -5
  952. package/dist/calcite/p-e697ab57.system.entry.js +0 -5
  953. package/dist/calcite/p-e7801f1d.entry.js +0 -5
  954. package/dist/calcite/p-e7f7b0f8.js +0 -5
  955. package/dist/calcite/p-eebd2bb0.entry.js +0 -5
  956. package/dist/calcite/p-f2340d02.system.entry.js +0 -5
  957. package/dist/calcite/p-f25f139a.entry.js +0 -5
  958. package/dist/calcite/p-f28d8e9e.system.entry.js +0 -5
  959. package/dist/calcite/p-f2f2ad57.entry.js +0 -5
  960. package/dist/calcite/p-f4a7fa43.entry.js +0 -5
  961. package/dist/calcite/p-f595d924.js +0 -5
  962. package/dist/calcite/p-f72c037c.entry.js +0 -5
  963. package/dist/calcite/p-f9e7371d.entry.js +0 -5
  964. package/dist/calcite/p-fc265aaf.entry.js +0 -5
  965. package/dist/calcite/p-fd94e88d.system.entry.js +0 -5
  966. package/dist/cjs/locale-33c458dc.js +0 -123
  967. package/dist/cjs/number-73f7b474.js +0 -58
  968. package/dist/esm/locale-4c38cf6d.js +0 -118
  969. package/dist/esm/number-06e8500e.js +0 -51
  970. package/dist/esm-es5/dom-f24e866c.js +0 -5
  971. package/dist/esm-es5/label-5559055d.js +0 -5
  972. package/dist/esm-es5/locale-4c38cf6d.js +0 -5
  973. package/dist/esm-es5/number-06e8500e.js +0 -5
  974. package/dist/esm-es5/popper-f5caedc4.js +0 -5
  975. package/dist/esm-es5/resources-35c1823f.js +0 -5
  976. package/dist/esm-es5/resources-b4eee1d4.js +0 -5
@@ -1,5 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- import{r as t,h as i,g as a,c as e,H as s}from"./p-2e29554c.js";import{g as n}from"./p-8a63221d.js";import{j as l}from"./p-52cc870b.js";import{d as h,c as r}from"./p-2d09cc25.js";import{c as o,d as c}from"./p-3dae9da3.js";import{c as m,d,a as u,H as b}from"./p-1942876c.js";function p(t,i,a){const e=i[0]-t[0];return e?(3*(i[1]-t[1])/e-a)/2:a}function f(t,i,a,e,s){const[n,l]=t,[h,r]=i,o=(h-n)/3;return`C ${s([n+o,l+o*a]).join(",")} ${s([h-o,r-o*e]).join(",")} ${s([h,r]).join(",")}`}let v=class{constructor(i){t(this,i),this.data=[],this.width=300,this.height=100,this.graphId=`calcite-graph-${n()}`}render(){const{data:t,colorStops:a,width:e,height:s,highlightMax:n,highlightMin:l,min:h,max:r}=this,o=this.graphId;if(!t||0===t.length)return i("svg",{class:"svg",height:s,preserveAspectRatio:"none",viewBox:`0 0 ${e} ${s}`,width:e});const{min:c,max:m}=function(t){const[i,a]=t[0];return t.reduce((({min:t,max:i},[a,e])=>({min:[Math.min(t[0],a),Math.min(t[1],e)],max:[Math.max(i[0],a),Math.max(i[1],e)]})),{min:[i,a],max:[i,a]})}(t);let d=c,u=m;(h<c[0]||h>c[0])&&(d=[h,0]),(r>m[0]||r<m[0])&&(u=[r,m[1]]);const b=function({width:t,height:i,min:a,max:e}){const s=e[0]-a[0],n=e[1]-a[1];return e=>[(e[0]-a[0])/s*t,i-e[1]/n*i]}({min:d,max:u,width:e,height:s}),[v]=b([l,u[1]]),[g]=b([n,u[1]]),_=function({data:t,min:i,max:a,t:e}){if(0===t.length)return"";const[s,n]=e(t[0]),[l,h]=e(i),[r]=e(a);let o,c,m;const d=t.reduce(((i,a,s)=>{if(c=t[s-2],m=t[s-1],s>1){const t=function(t,i,a){const e=i[0]-t[0],s=a[0]-i[0],n=(i[1]-t[1])/(e||s<0&&0),l=(a[1]-i[1])/(s||e<0&&0),h=(n*s+l*e)/(e+s);return(Math.sign(n)+Math.sign(l))*Math.min(Math.abs(n),Math.abs(l),.5*Math.abs(h))||0}(c,m,a),s=void 0===o?p(c,m,t):o,n=f(c,m,s,t,e);return o=t,`${i} ${n}`}return i}),`M ${l},${h} L ${l},${n} L ${s},${n}`),u=t[t.length-1];return`${d} ${f(m,u,o,p(m,u,o),e)} L ${r},${h} Z`}({data:t,min:c,max:m,t:b}),x=a?`url(#linear-gradient-${o})`:void 0;return i("svg",{class:"svg",height:s,preserveAspectRatio:"none",viewBox:`0 0 ${e} ${s}`,width:e},a?i("defs",null,i("linearGradient",{id:`linear-gradient-${o}`,x1:"0",x2:"1",y1:"0",y2:"0"},a.map((({offset:t,color:a,opacity:e})=>i("stop",{offset:100*t+"%","stop-color":a,"stop-opacity":e}))))):null,void 0!==l?[i("mask",{height:"100%",id:`${o}1`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M 0,0\n L ${v-1},0\n L ${v-1},${s}\n L 0,${s}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${o}2`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${v+1},0\n L ${g-1},0\n L ${g-1},${s}\n L ${v+1}, ${s}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${o}3`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${g+1},0\n L ${e},0\n L ${e},${s}\n L ${g+1}, ${s}\n Z\n `,fill:"white"})),i("path",{class:"graph-path",d:_,fill:x,mask:`url(#${o}1)`}),i("path",{class:"graph-path--highlight",d:_,fill:x,mask:`url(#${o}2)`}),i("path",{class:"graph-path",d:_,fill:x,mask:`url(#${o}3)`})]:i("path",{class:"graph-path",d:_,fill:x}))}get el(){return a(this)}};v.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}.svg{fill:currentColor;stroke:transparent;margin:0;padding:0;display:block}:host([data-style=slider-histogram]) svg{width:100%}:host([data-style=slider-histogram]) svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}";let g=class{constructor(i){t(this,i),this.calciteSliderInput=e(this,"calciteSliderInput",7),this.calciteSliderChange=e(this,"calciteSliderChange",7),this.calciteSliderUpdate=e(this,"calciteSliderUpdate",7),this.disabled=!1,this.hasHistogram=!1,this.labelHandles=!1,this.labelTicks=!1,this.max=100,this.min=0,this.mirrored=!1,this.precise=!1,this.required=!1,this.snap=!1,this.step=1,this.value=null,this.scale="m",this.guid=`calcite-slider-${n()}`,this.isRange=!1,this.activeProp="value",this.minMaxValueRange=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.tickValues=[],this.dragUpdate=t=>{if(t.preventDefault(),this.dragProp){const i=this.translate(t.clientX||t.pageX);if(this.isRange&&"minMaxValue"===this.dragProp)if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){const t=i-this.minValueDragRange,a=i+this.maxValueDragRange;a<=this.max&&t>=this.min&&a-t===this.minMaxValueRange&&(this.minValue=this.clamp(t,"minValue"),this.maxValue=this.clamp(a,"maxValue"))}else this.minValueDragRange=i-this.minValue,this.maxValueDragRange=this.maxValue-i,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue(this.dragProp,this.clamp(i,this.dragProp))}},this.dragEnd=t=>{document.removeEventListener("pointermove",this.dragUpdate),document.removeEventListener("pointerup",this.dragEnd),document.removeEventListener("pointercancel",this.dragEnd),this.focusActiveHandle(t.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null},this.storeTrackRef=t=>{this.trackEl=t}}histogramWatcher(t){this.hasHistogram=!!t}connectedCallback(){o(this),m(this)}disconnectedCallback(){c(this),d(this)}componentWillLoad(){this.isRange=!(!this.maxValue&&0!==this.maxValue),this.tickValues=this.generateTickValues(),this.value=this.clamp(this.value),u(this,this.value),this.snap&&(this.value=this.getClosestStep(this.value)),this.histogram&&(this.hasHistogram=!0)}componentDidRender(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),this.isRange&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&this.isRange&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels()}render(){const t=this.el.id||this.guid,a=this.minValue||this.min,e=this.maxValue||this.value,n=this.isRange?"maxValue":"value",l=this[n],h=this.shouldUseMinValue(),r=100*this.getUnitInterval(h?this.minValue:a),o=100*this.getUnitInterval(e),c=this.shouldMirror(),m=`${c?100-r:r}%`,d=`${c?o:100-o}%`,u=i("button",{"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===n},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=n,onPointerDown:()=>this.dragStart(n),ref:t=>this.maxHandle=t,role:"slider",style:{right:d}},i("div",{class:"handle"})),p=i("button",{"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===n},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=n,onPointerDown:()=>this.dragStart(n),ref:t=>this.maxHandle=t,role:"slider",style:{right:d}},i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},l?l.toLocaleString():l),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},l?l.toLocaleString():l),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},l?l.toLocaleString():l),i("div",{class:"handle"})),f=i("button",{"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===n},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=n,onPointerDown:()=>this.dragStart(n),ref:t=>this.maxHandle=t,role:"slider",style:{right:d}},i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},l?l.toLocaleString():l),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},l?l.toLocaleString():l),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},l?l.toLocaleString():l)),v=i("button",{"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===n,"thumb--precise":!0},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=n,onPointerDown:()=>this.dragStart(n),ref:t=>this.maxHandle=t,role:"slider",style:{right:d}},i("div",{class:"handle"}),i("div",{class:"handle-extension"})),g=i("button",{"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===n,"thumb--precise":!0},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=n,onPointerDown:()=>this.dragStart(n),ref:t=>this.maxHandle=t,role:"slider",style:{right:d}},i("div",{class:"handle-extension"}),i("div",{class:"handle"})),_=i("button",{"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===n,"thumb--precise":!0},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=n,onPointerDown:()=>this.dragStart(n),ref:t=>this.maxHandle=t,role:"slider",style:{right:d}},i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},l?l.toLocaleString():l),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},l?l.toLocaleString():l),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},l?l.toLocaleString():l),i("div",{class:"handle"}),i("div",{class:"handle-extension"})),x=i("button",{"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===n,"thumb--precise":!0},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=n,onPointerDown:()=>this.dragStart(n),ref:t=>this.maxHandle=t,role:"slider",style:{right:d}},i("div",{class:"handle-extension"}),i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},l?l.toLocaleString():l),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},l?l.toLocaleString():l),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},l?l.toLocaleString():l)),w=i("button",{"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:m}},i("div",{class:"handle"})),k=i("button",{"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:m}},i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString()),i("div",{class:"handle"})),y=i("button",{"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:m}},i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString())),$=i("button",{"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp,"thumb--precise":!0},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:m}},i("div",{class:"handle-extension"}),i("div",{class:"handle"})),D=i("button",{"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp,"thumb--precise":!0},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:m}},i("div",{class:"handle-extension"}),i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString()));return i(s,{id:t,onTouchStart:this.handleTouchStart},i("div",{class:{container:!0,"container--range":this.isRange,[`scale--${this.scale}`]:!0}},this.renderGraph(),i("div",{class:"track",ref:this.storeTrackRef},i("div",{class:"track__range",onPointerDown:()=>this.dragStart("minMaxValue"),style:{left:`${c?100-o:r}%`,right:`${c?r:100-o}%`}}),i("div",{class:"ticks"},this.tickValues.map((t=>{const s=100*this.getUnitInterval(t)+"%";let n=t>=a&&t<=e;return h&&(n=t>=this.minValue&&t<=this.maxValue),i("span",{class:{tick:!0,"tick--active":n},style:{left:c?"":s,right:c?s:""}},this.renderTickLabel(t))})))),i("div",{class:"thumb-container"},!this.precise&&!this.labelHandles&&this.isRange&&w,!this.hasHistogram&&!this.precise&&this.labelHandles&&this.isRange&&k,this.precise&&!this.labelHandles&&this.isRange&&$,this.precise&&this.labelHandles&&this.isRange&&D,this.hasHistogram&&!this.precise&&this.labelHandles&&this.isRange&&y,!this.precise&&!this.labelHandles&&u,!this.hasHistogram&&!this.precise&&this.labelHandles&&p,!this.hasHistogram&&this.precise&&!this.labelHandles&&v,this.hasHistogram&&this.precise&&!this.labelHandles&&g,!this.hasHistogram&&this.precise&&this.labelHandles&&_,this.hasHistogram&&!this.precise&&this.labelHandles&&f,this.hasHistogram&&this.precise&&this.labelHandles&&x,i(b,{component:this}))))}renderGraph(){return this.histogram?i("div",{class:"graph"},i("calcite-graph",{colorStops:this.histogramStops,data:this.histogram,"data-style":"slider-histogram",height:48,highlightMax:this.isRange?this.maxValue:this.value,highlightMin:this.isRange?this.minValue:this.min,max:this.max,min:this.min,width:300})):null}renderTickLabel(t){const a=t===this.min,e=t===this.max,s=i("span",{class:{tick__label:!0,"tick__label--min":a,"tick__label--max":e}},t.toLocaleString());return this.labelTicks&&!this.hasHistogram&&!this.isRange||this.labelTicks&&!this.hasHistogram&&this.isRange&&!this.precise&&!this.labelHandles||this.labelTicks&&!this.hasHistogram&&this.isRange&&!this.precise&&this.labelHandles||this.labelTicks&&!this.hasHistogram&&this.isRange&&this.precise&&(a||e)||this.labelTicks&&this.hasHistogram&&!this.precise&&!this.labelHandles||this.labelTicks&&this.hasHistogram&&this.precise&&!this.labelHandles&&(a||e)||this.labelTicks&&this.hasHistogram&&!this.precise&&this.labelHandles&&(a||e)||this.labelTicks&&this.hasHistogram&&this.precise&&this.labelHandles&&(a||e)?s:null}keyDownHandler(t){const i=this.shouldMirror(),{activeProp:a,max:e,min:s,pageStep:n,step:l}=this,r=this[a],o=t.key;if("Enter"===o||" "===o)return void t.preventDefault();let c;if("ArrowUp"===o||"ArrowRight"===o?c=r+l*(i&&"ArrowRight"===o?-1:1):"ArrowDown"===o||"ArrowLeft"===o?c=r-l*(i&&"ArrowLeft"===o?-1:1):"PageUp"===o?n&&(c=r+n):"PageDown"===o?n&&(c=r-n):"Home"===o?c=s:"End"===o&&(c=e),isNaN(c))return;t.preventDefault();const m=Number(c.toFixed(h(l)));this.setValue(a,this.clamp(m,a))}clickHandler(t){this.focusActiveHandle(t.clientX)}pointerDownHandler(t){const i=this.translate(t.clientX||t.pageX);let a="value";this.isRange&&(a=i>=this.minValue&&i<=this.maxValue&&"minMaxValue"===this.lastDragProp?"minMaxValue":Math.abs(this.maxValue-i)<Math.abs(this.minValue-i)||i>this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[a],this.dragStart(a),this.el.shadowRoot.querySelector(".thumb:active")||this.setValue(a,this.clamp(i,a))}handleTouchStart(t){t.preventDefault()}async setFocus(){(this.minHandle?this.minHandle:this.maxHandle).focus()}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return!!this.isRange&&(this.hasHistogram&&0===this.maxValue||!this.hasHistogram&&0===this.minValue)}generateTickValues(){const t=[];let i=this.min;for(;this.ticks&&i<this.max+this.ticks;)t.push(Math.min(i,this.max)),i+=this.ticks;return t}dragStart(t){this.dragProp=t,this.lastDragProp=this.dragProp,this.activeProp=t,document.addEventListener("pointermove",this.dragUpdate),document.addEventListener("pointerup",this.dragEnd),document.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(t){switch(this.dragProp){case"minValue":this.minHandle.focus();break;case"maxValue":this.maxHandle.focus();break;case"minMaxValue":this.getClosestHandle(t).focus()}}emitInput(){this.calciteSliderInput.emit(),this.calciteSliderUpdate.emit()}emitChange(){this.calciteSliderChange.emit()}setValue(t,i){this[t]!==i&&(this[t]=i,this.dragProp||this.emitChange(),this.emitInput())}clamp(t,i){return t=r(t,this.min,this.max),"maxValue"===i&&(t=Math.max(t,this.minValue)),"minValue"===i&&(t=Math.min(t,this.maxValue)),t}translate(t){const i=this.max-this.min,{left:a,width:e}=this.trackEl.getBoundingClientRect(),s=(t-a)/e,n=this.shouldMirror(),l=this.clamp(this.min+i*(n?1-s:s));let r=Number(l.toFixed(h(this.step)));return this.snap&&this.step&&(r=this.getClosestStep(r)),r}getClosestStep(t){if(t=Number(this.clamp(t).toFixed(h(this.step))),this.step){const i=Math.round(t/this.step)*this.step;t=Number(this.clamp(i).toFixed(h(this.step)))}return t}getClosestHandle(t){return this.getDistanceX(this.maxHandle,t)>this.getDistanceX(this.minHandle,t)?this.minHandle:this.maxHandle}getDistanceX(t,i){return Math.abs(t.getBoundingClientRect().left-i)}getFontSizeForElement(t){return Number(window.getComputedStyle(t).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(t){return((t=this.clamp(t))-this.min)/(this.max-this.min)}adjustHostObscuredHandleLabel(t){const i=this.el.shadowRoot.querySelector(`.handle__label--${t}`),a=this.el.shadowRoot.querySelector(`.handle__label--${t}.static`),e=this.el.shadowRoot.querySelector(`.handle__label--${t}.transformed`),s=a.getBoundingClientRect(),n=this.getHostOffset(s.left,s.right);i.style.transform=`translateX(${n}px)`,e.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){const{shadowRoot:t}=this.el,i=this.shouldMirror(),a=i?"value":"minValue",e=i?"minValue":"value",s=t.querySelector(`.handle__label--${a}`),n=t.querySelector(`.handle__label--${a}.static`),l=t.querySelector(`.handle__label--${a}.transformed`),h=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right),r=t.querySelector(`.handle__label--${e}`),o=t.querySelector(`.handle__label--${e}.static`),c=t.querySelector(`.handle__label--${e}.transformed`),m=this.getHostOffset(o.getBoundingClientRect().left,o.getBoundingClientRect().right),d=this.getFontSizeForElement(s),u=this.getRangeLabelOverlap(l,c),b=s,p=d/2;if(u>0){if(b.classList.add("hyphen"),0===m&&0===h){let t=u/2-p;t=-1===Math.sign(t)?Math.abs(t):-t;const i=this.getHostOffset(l.getBoundingClientRect().left+t-p,l.getBoundingClientRect().right+t-p);let a=u/2;const e=this.getHostOffset(c.getBoundingClientRect().left+a,c.getBoundingClientRect().right+a);0!==i&&(t+=i,a+=i),0!==e&&(t+=e,a+=e),s.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-p}px)`,r.style.transform=`translateX(${a}px)`,c.style.transform=`translateX(${a}px)`}else if(h>0||m>0)s.style.transform=`translateX(${h+p}px)`,r.style.transform=`translateX(${u+m}px)`,c.style.transform=`translateX(${u+m}px)`;else if(h<0||m<0){let t=Math.abs(h)+u-p;t=-1===Math.sign(t)?Math.abs(t):-t,s.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-p}px)`}}else b.classList.remove("hyphen"),s.style.transform=`translateX(${h}px)`,l.style.transform=`translateX(${h}px)`,r.style.transform=`translateX(${m}px)`,c.style.transform=`translateX(${m}px)`}hideObscuredBoundingTickLabels(){if(!(this.hasHistogram||this.isRange||this.labelHandles||this.precise))return;if(!this.hasHistogram&&!this.isRange&&this.labelHandles&&!this.precise)return;if(!this.hasHistogram&&!this.isRange&&!this.labelHandles&&this.precise)return;if(!this.hasHistogram&&!this.isRange&&this.labelHandles&&this.precise)return;if(!this.hasHistogram&&this.isRange&&!this.precise)return;if(this.hasHistogram&&!this.precise&&!this.labelHandles)return;const t=this.el.shadowRoot.querySelector(".thumb--minValue"),i=this.el.shadowRoot.querySelector(".thumb--value"),a=this.el.shadowRoot.querySelector(".tick__label--min"),e=this.el.shadowRoot.querySelector(".tick__label--max");!t&&i&&a&&e&&(a.style.opacity=this.isMinTickLabelObscured(a,i)?"0":"1",e.style.opacity=this.isMaxTickLabelObscured(e,i)?"0":"1"),t&&i&&a&&e&&(a.style.opacity=this.isMinTickLabelObscured(a,t)||this.isMinTickLabelObscured(a,i)?"0":"1",e.style.opacity=this.isMaxTickLabelObscured(e,t)||this.isMaxTickLabelObscured(e,i)&&this.hasHistogram?"0":"1")}getHostOffset(t,i){const a=this.el.getBoundingClientRect();return t+7<a.left?a.left-t-7:i-7>a.right?7-(i-a.right):0}getRangeLabelOverlap(t,i){const a=t.getBoundingClientRect(),e=i.getBoundingClientRect(),s=this.getFontSizeForElement(t);return Math.max(a.right+s-e.left,0)}isMinTickLabelObscured(t,i){const a=t.getBoundingClientRect(),e=i.getBoundingClientRect();return l(a,e)}isMaxTickLabelObscured(t,i){const a=t.getBoundingClientRect(),e=i.getBoundingClientRect();return l(a,e)}get el(){return a(this)}static get watchers(){return{histogram:["histogramWatcher"]}}};g.style='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}.scale--s{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{display:block;position:relative;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{max-width:100%;position:relative}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;border-style:none;background-color:transparent;cursor:pointer;outline:2px solid transparent;outline-offset:2px;padding:0;margin:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;font-family:inherit;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{opacity:0;position:absolute;top:0;bottom:0}.thumb .handle__label.hyphen::after{content:"—";display:inline-block;width:1em}.thumb .handle{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;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-2px}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-top:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-bottom:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{height:0.125rem;border-radius:0;position:relative;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;top:0;height:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;width:100%;content:"";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}.tick{position:absolute;width:0.125rem;height:0.25rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;pointer-events:none;margin-top:0.875rem}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3)}:host([label-ticks][ticks]) .container{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-top:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{v as calcite_graph,g as calcite_slider}
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,a){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function o(e){try{l(a.next(e))}catch(e){r(e)}}function c(e){try{l(a["throw"](e))}catch(e){r(e)}}function l(e){e.done?n(e.value):i(e.value).then(o,c)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,i,r,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(e){return function(t){return l([e,t])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(n)try{if(a=1,i&&(r=o[0]&2?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;if(i=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){n.label=o[1];break}if(o[0]===6&&n.label<r[1]){n.label=r[1];r=o;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(o);break}if(r[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];i=0}finally{a=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */System.register(["./p-288bc438.system.js","./p-6cc23c39.system.js","./p-34e5baa7.system.js","./p-a0c02648.system.js","./p-e020662f.system.js"],(function(e){"use strict";var t,n,a,i,r,o,c,l,s;return{setters:[function(e){t=e.r;n=e.c;a=e.h;i=e.F;r=e.g},function(e){o=e.a;c=e.g},function(e){l=e.C},function(e){s=e.S},function(){}],execute:function(){var d={backButton:"back-button",container:"container",header:"header",heading:"heading",summary:"summary",headerContent:"header-content",headerActions:"header-actions",headerActionsEnd:"header-actions--end",headerActionsStart:"header-actions--start",contentWrapper:"content-wrapper",contentContainer:"content-container",contentHeight:"content-height",fabContainer:"fab-container",footer:"footer",menuContainer:"menu-container",menuButton:"menu-button",menu:"menu",menuOpen:"menu--open"};var h={close:"x",menu:"ellipsis",backLeft:"chevron-left",backRight:"chevron-right"};var m={headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerActions:"footer-actions"};var u={back:"Back",close:"Close",open:"Open",options:"Options"};var f=3;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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}: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{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;position:relative;width:100%;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);width:100%;padding:0;margin:0;max-height:var(--calcite-panel-max-height);width:var(--calcite-panel-width);max-width:var(--calcite-panel-max-width);min-width:var(--calcite-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, width 150ms ease-in-out;transition:max-height 150ms ease-in-out, width 150ms ease-in-out}:host([height-scale=s]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}.container[hidden]{display:none}:host([loading]) .container,:host([disabled]) .container{position:relative;z-index:1}.header{border-bottom:1px solid;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);-ms-flex-pack:start;justify-content:flex-start;position:-webkit-sticky;position:sticky;top:0;border-bottom-color:var(--calcite-ui-border-3);width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;z-index:2}.header-content{overflow:hidden;padding-left:0.75rem;padding-right:0.75rem;padding-top:1rem;padding-bottom:1rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-margin-end:auto;margin-inline-end:auto}.header-content .heading,.header-content .summary{padding:0;display:block;word-wrap:break-word;overflow-wrap:break-word}.header-content .heading{font-weight:var(--calcite-font-weight-medium);margin-top:0;margin-left:0;margin-right:0;margin-bottom:0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.header-content .heading:only-child{margin-bottom:0}.header-content .summary{color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);line-height:1rem}.back-button{border-color:var(--calcite-ui-border-3);border-style:solid;border-width:0;border-inline-end-width:1px}.header-actions{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.header-actions--end,.menu-container:only-child{-webkit-margin-start:auto;margin-inline-start:auto}.menu-button{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:0 1 auto;flex:0 1 auto;height:100%;position:relative}.menu{min-width:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.content-wrapper{overflow:auto}.content-height{height:100%}.content-container{-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:column;flex-direction:column}.footer{border-top:1px solid;background-color:var(--calcite-ui-foreground-1);border-top-color:var(--calcite-ui-border-3);display:-ms-flexbox;display:flex;-ms-flex-pack:space-evenly;justify-content:space-evenly;position:-webkit-sticky;position:sticky;bottom:0;width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;padding:0.5rem}.fab-container{display:block;position:-webkit-sticky;position:sticky;margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;padding:0.5rem;bottom:0;left:0;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;z-index:1}";var b=e("calcite_panel",function(){function e(e){var a=this;t(this,e);this.calcitePanelDismissedChange=n(this,"calcitePanelDismissedChange",7);this.calcitePanelScroll=n(this,"calcitePanelScroll",7);this.calcitePanelBackClick=n(this,"calcitePanelBackClick",7);this.dismissed=false;this.disabled=false;this.dismissible=false;this.showBackButton=false;this.loading=false;this.menuOpen=false;this.setContainerRef=function(e){a.containerEl=e};this.setDismissRef=function(e){a.dismissButtonEl=e};this.setBackRef=function(e){a.backButtonEl=e};this.panelKeyDownHandler=function(e){if(e.key==="Escape"){a.dismiss()}};this.dismiss=function(){a.dismissed=true};this.panelScrollHandler=function(){a.calcitePanelScroll.emit()};this.backButtonClick=function(){a.calcitePanelBackClick.emit()}}e.prototype.dismissedHandler=function(){this.calcitePanelDismissedChange.emit()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,a;return __generator(this,(function(i){if(e==="dismiss-button"){(t=this.dismissButtonEl)===null||t===void 0?void 0:t.setFocus();return[2]}if(e==="back-button"){(n=this.backButtonEl)===null||n===void 0?void 0:n.setFocus();return[2]}(a=this.containerEl)===null||a===void 0?void 0:a.focus();return[2]}))}))};e.prototype.renderBackButton=function(){var e=this.el;var t=o(e)==="rtl";var n=this,i=n.showBackButton,r=n.intlBack,c=n.backButtonClick;var l=r||u.back;var s=t?h.backRight:h.backLeft;return i?a("calcite-action",{"aria-label":l,class:d.backButton,icon:s,key:"back-button",onClick:c,ref:this.setBackRef,scale:"s",slot:m.headerActionsStart,text:l}):null};e.prototype.renderHeaderContent=function(){var e=this,t=e.heading,n=e.headingLevel,i=e.summary;var r=t?a(l,{class:d.heading,level:n||f},t):null;var o=i?a("span",{class:d.summary},i):null;return r||o?a("div",{class:d.headerContent,key:"header-content"},r,o):null};e.prototype.renderHeaderSlottedContent=function(){return a("div",{class:d.headerContent,key:"header-content"},a("slot",{name:m.headerContent}))};e.prototype.renderHeaderStartActions=function(){var e;var t=this.el;var n=c(t,m.headerActionsStart);return n?a("div",{class:(e={},e[d.headerActionsStart]=true,e[d.headerActions]=true,e),key:"header-actions-start"},a("slot",{name:m.headerActionsStart})):null};e.prototype.renderHeaderActionsEnd=function(){var e;var t=this,n=t.dismiss,i=t.dismissible,r=t.el,o=t.intlClose;var l=o||u.close;var s=i?a("calcite-action",{"aria-label":l,icon:h.close,onClick:n,ref:this.setDismissRef,text:l}):null;var f=a("slot",{name:m.headerActionsEnd});var p=c(r,m.headerActionsEnd);return p||s?a("div",{class:(e={},e[d.headerActionsEnd]=true,e[d.headerActions]=true,e),key:"header-actions-end"},f,s):null};e.prototype.renderMenu=function(){var e=this,t=e.el,n=e.intlOptions,i=e.menuOpen;var r=c(t,m.headerMenuActions);return r?a("calcite-action-menu",{flipPlacements:["top","bottom"],label:n||u.options,open:i,placement:"bottom-end"},a("calcite-action",{icon:h.menu,slot:s.trigger,text:n||u.options}),a("slot",{name:m.headerMenuActions})):null};e.prototype.renderHeaderNode=function(){var e=this,t=e.el,n=e.showBackButton;var i=this.renderBackButton();var r=c(t,m.headerContent);var o=r?this.renderHeaderSlottedContent():this.renderHeaderContent();var l=this.renderHeaderStartActions();var s=this.renderHeaderActionsEnd();var h=this.renderMenu();return l||o||s||h||n?a("header",{class:d.header},i,l,o,s,h):null};e.prototype.renderFooterSlottedContent=function(){var e=this.el;var t=c(e,m.footer);return t?a("footer",{class:d.footer},a("slot",{name:m.footer})):null};e.prototype.renderFooterActions=function(){var e=this.el;var t=c(e,m.footerActions);return t?a("footer",{class:d.footer},a("slot",{name:m.footerActions})):null};e.prototype.renderContent=function(){var e,t;var n=this.el;var i=c(n,m.fab);return i?a("div",{class:(e={},e[d.contentWrapper]=true,e[d.contentHeight]=true,e),onScroll:this.panelScrollHandler,tabIndex:0},a("section",{class:d.contentContainer},a("slot",null)),this.renderFab()):a("section",{class:(t={},t[d.contentWrapper]=true,t[d.contentContainer]=true,t),onScroll:this.panelScrollHandler,tabIndex:0},a("slot",null))};e.prototype.renderFab=function(){return a("div",{class:d.fabContainer},a("slot",{name:m.fab}))};e.prototype.render=function(){var e=this,t=e.dismissed,n=e.disabled,r=e.dismissible,o=e.loading,c=e.panelKeyDownHandler;var l=a("article",{"aria-busy":o.toString(),class:d.container,hidden:r&&t,onKeyDown:c,ref:this.setContainerRef,tabIndex:r?0:-1},this.renderHeaderNode(),this.renderContent(),this.renderFooterSlottedContent()||this.renderFooterActions());return a(i,null,o||n?a("calcite-scrim",{loading:o}):null,l)};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{dismissed:["dismissedHandler"]}},enumerable:false,configurable:true});return e}());b.style=p}}}));
@@ -1,123 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- 'use strict';
6
-
7
- const number = require('./number-73f7b474.js');
8
-
9
- const locales = [
10
- "ar",
11
- "bs",
12
- "ca",
13
- "cs",
14
- "da",
15
- "de",
16
- "de-CH",
17
- "el",
18
- "en",
19
- "en-AU",
20
- "en-CA",
21
- "en-GB",
22
- "es",
23
- "es-MX",
24
- "et",
25
- "fi",
26
- "fr",
27
- "fr-CH",
28
- "he",
29
- "hi",
30
- "hr",
31
- "hu",
32
- "id",
33
- "it",
34
- "it-CH",
35
- "ja",
36
- "ko",
37
- "lt",
38
- "lv",
39
- "mk",
40
- "nb",
41
- "nl",
42
- "pl",
43
- "pt",
44
- "pt-PT",
45
- "ro",
46
- "ru",
47
- "sk",
48
- "sl",
49
- "sr",
50
- "sv",
51
- "th",
52
- "tr",
53
- "uk",
54
- "vi",
55
- "zh-CN",
56
- "zh-HK",
57
- "zh-TW"
58
- ];
59
- function createLocaleNumberFormatter(locale) {
60
- return new Intl.NumberFormat(locale, {
61
- minimumFractionDigits: 0,
62
- maximumFractionDigits: 20
63
- });
64
- }
65
- function delocalizeNumberString(numberString, locale) {
66
- if (numberString) {
67
- const groupSeparator = getGroupSeparator(locale);
68
- const decimalSeparator = getDecimalSeparator(locale);
69
- const splitNumberString = numberString.split("");
70
- const decimalIndex = splitNumberString.lastIndexOf(decimalSeparator);
71
- const delocalizedNumberString = splitNumberString
72
- .map((value, index) => {
73
- if (value === groupSeparator || (value === decimalSeparator && index !== decimalIndex)) {
74
- return "";
75
- }
76
- return value;
77
- })
78
- .reduce((string, part) => string + part)
79
- .replace(decimalSeparator, ".");
80
- return isNaN(Number(delocalizedNumberString)) ? numberString : delocalizedNumberString;
81
- }
82
- return numberString;
83
- }
84
- function getGroupSeparator(locale) {
85
- const formatter = createLocaleNumberFormatter(locale);
86
- const parts = formatter.formatToParts(1234567.8);
87
- const value = parts.find((part) => part.type === "group").value;
88
- return value.trim().length === 0 ? " " : value;
89
- }
90
- function getDecimalSeparator(locale) {
91
- const formatter = createLocaleNumberFormatter(locale);
92
- const parts = formatter.formatToParts(1234567.8);
93
- const value = parts.find((part) => part.type === "decimal").value;
94
- return value.trim().length === 0 ? " " : value;
95
- }
96
- function localizeNumberString(numberString, locale, displayGroupSeparator = false) {
97
- if (numberString) {
98
- const number$1 = Number(number.sanitizeDecimalString(numberString));
99
- if (!isNaN(number$1)) {
100
- const formatter = createLocaleNumberFormatter(locale);
101
- const parts = formatter.formatToParts(number$1);
102
- const localizedNumberString = parts
103
- .map(({ type, value }) => {
104
- switch (type) {
105
- case "group":
106
- return displayGroupSeparator ? getGroupSeparator(locale) : "";
107
- case "decimal":
108
- return getDecimalSeparator(locale);
109
- default:
110
- return value;
111
- }
112
- })
113
- .reduce((string, part) => string + part);
114
- return localizedNumberString;
115
- }
116
- }
117
- return numberString;
118
- }
119
-
120
- exports.delocalizeNumberString = delocalizeNumberString;
121
- exports.getDecimalSeparator = getDecimalSeparator;
122
- exports.locales = locales;
123
- exports.localizeNumberString = localizeNumberString;
@@ -1,58 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- 'use strict';
6
-
7
- function isActivationKey(key) {
8
- return key === "Enter" || key === " ";
9
- }
10
- const numberKeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
11
-
12
- function isValidNumber(numberString) {
13
- return !(!numberString || isNaN(Number(numberString)));
14
- }
15
- function parseNumberString(numberString) {
16
- if (!numberString || !stringContainsNumbers(numberString)) {
17
- return null;
18
- }
19
- let containsDecimal = false;
20
- const result = numberString
21
- .split("")
22
- .filter((value, i) => {
23
- if (value.match(/\./g) && !containsDecimal) {
24
- containsDecimal = true;
25
- return true;
26
- }
27
- if (value.match(/\-/g) && i === 0) {
28
- return true;
29
- }
30
- return numberKeys.includes(value);
31
- })
32
- .reduce((string, part) => string + part);
33
- return isValidNumber(result) ? Number(result).toString() : null;
34
- }
35
- function sanitizeDecimalString(decimalString) {
36
- return (decimalString === null || decimalString === void 0 ? void 0 : decimalString.endsWith(".")) ? decimalString.replace(".", "") : decimalString;
37
- }
38
- function sanitizeNegativeString(negativeString) {
39
- return negativeString.charAt(0) + negativeString.substring(1).replace(/-/g, "");
40
- }
41
- function sanitizeLeadingZeroString(zeroString) {
42
- return zeroString.replace(/^0+$/, "0");
43
- }
44
- function sanitizeNumberString(value) {
45
- return value
46
- ? Number(sanitizeNegativeString(sanitizeDecimalString(sanitizeLeadingZeroString(value)))).toString()
47
- : value;
48
- }
49
- function stringContainsNumbers(string) {
50
- return numberKeys.some((number) => string.includes(number));
51
- }
52
-
53
- exports.isActivationKey = isActivationKey;
54
- exports.isValidNumber = isValidNumber;
55
- exports.numberKeys = numberKeys;
56
- exports.parseNumberString = parseNumberString;
57
- exports.sanitizeDecimalString = sanitizeDecimalString;
58
- exports.sanitizeNumberString = sanitizeNumberString;
@@ -1,118 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- import { a as sanitizeDecimalString } from './number-06e8500e.js';
6
-
7
- const locales = [
8
- "ar",
9
- "bs",
10
- "ca",
11
- "cs",
12
- "da",
13
- "de",
14
- "de-CH",
15
- "el",
16
- "en",
17
- "en-AU",
18
- "en-CA",
19
- "en-GB",
20
- "es",
21
- "es-MX",
22
- "et",
23
- "fi",
24
- "fr",
25
- "fr-CH",
26
- "he",
27
- "hi",
28
- "hr",
29
- "hu",
30
- "id",
31
- "it",
32
- "it-CH",
33
- "ja",
34
- "ko",
35
- "lt",
36
- "lv",
37
- "mk",
38
- "nb",
39
- "nl",
40
- "pl",
41
- "pt",
42
- "pt-PT",
43
- "ro",
44
- "ru",
45
- "sk",
46
- "sl",
47
- "sr",
48
- "sv",
49
- "th",
50
- "tr",
51
- "uk",
52
- "vi",
53
- "zh-CN",
54
- "zh-HK",
55
- "zh-TW"
56
- ];
57
- function createLocaleNumberFormatter(locale) {
58
- return new Intl.NumberFormat(locale, {
59
- minimumFractionDigits: 0,
60
- maximumFractionDigits: 20
61
- });
62
- }
63
- function delocalizeNumberString(numberString, locale) {
64
- if (numberString) {
65
- const groupSeparator = getGroupSeparator(locale);
66
- const decimalSeparator = getDecimalSeparator(locale);
67
- const splitNumberString = numberString.split("");
68
- const decimalIndex = splitNumberString.lastIndexOf(decimalSeparator);
69
- const delocalizedNumberString = splitNumberString
70
- .map((value, index) => {
71
- if (value === groupSeparator || (value === decimalSeparator && index !== decimalIndex)) {
72
- return "";
73
- }
74
- return value;
75
- })
76
- .reduce((string, part) => string + part)
77
- .replace(decimalSeparator, ".");
78
- return isNaN(Number(delocalizedNumberString)) ? numberString : delocalizedNumberString;
79
- }
80
- return numberString;
81
- }
82
- function getGroupSeparator(locale) {
83
- const formatter = createLocaleNumberFormatter(locale);
84
- const parts = formatter.formatToParts(1234567.8);
85
- const value = parts.find((part) => part.type === "group").value;
86
- return value.trim().length === 0 ? " " : value;
87
- }
88
- function getDecimalSeparator(locale) {
89
- const formatter = createLocaleNumberFormatter(locale);
90
- const parts = formatter.formatToParts(1234567.8);
91
- const value = parts.find((part) => part.type === "decimal").value;
92
- return value.trim().length === 0 ? " " : value;
93
- }
94
- function localizeNumberString(numberString, locale, displayGroupSeparator = false) {
95
- if (numberString) {
96
- const number = Number(sanitizeDecimalString(numberString));
97
- if (!isNaN(number)) {
98
- const formatter = createLocaleNumberFormatter(locale);
99
- const parts = formatter.formatToParts(number);
100
- const localizedNumberString = parts
101
- .map(({ type, value }) => {
102
- switch (type) {
103
- case "group":
104
- return displayGroupSeparator ? getGroupSeparator(locale) : "";
105
- case "decimal":
106
- return getDecimalSeparator(locale);
107
- default:
108
- return value;
109
- }
110
- })
111
- .reduce((string, part) => string + part);
112
- return localizedNumberString;
113
- }
114
- }
115
- return numberString;
116
- }
117
-
118
- export { locales as a, delocalizeNumberString as d, getDecimalSeparator as g, localizeNumberString as l };
@@ -1,51 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- function isActivationKey(key) {
6
- return key === "Enter" || key === " ";
7
- }
8
- const numberKeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
9
-
10
- function isValidNumber(numberString) {
11
- return !(!numberString || isNaN(Number(numberString)));
12
- }
13
- function parseNumberString(numberString) {
14
- if (!numberString || !stringContainsNumbers(numberString)) {
15
- return null;
16
- }
17
- let containsDecimal = false;
18
- const result = numberString
19
- .split("")
20
- .filter((value, i) => {
21
- if (value.match(/\./g) && !containsDecimal) {
22
- containsDecimal = true;
23
- return true;
24
- }
25
- if (value.match(/\-/g) && i === 0) {
26
- return true;
27
- }
28
- return numberKeys.includes(value);
29
- })
30
- .reduce((string, part) => string + part);
31
- return isValidNumber(result) ? Number(result).toString() : null;
32
- }
33
- function sanitizeDecimalString(decimalString) {
34
- return (decimalString === null || decimalString === void 0 ? void 0 : decimalString.endsWith(".")) ? decimalString.replace(".", "") : decimalString;
35
- }
36
- function sanitizeNegativeString(negativeString) {
37
- return negativeString.charAt(0) + negativeString.substring(1).replace(/-/g, "");
38
- }
39
- function sanitizeLeadingZeroString(zeroString) {
40
- return zeroString.replace(/^0+$/, "0");
41
- }
42
- function sanitizeNumberString(value) {
43
- return value
44
- ? Number(sanitizeNegativeString(sanitizeDecimalString(sanitizeLeadingZeroString(value)))).toString()
45
- : value;
46
- }
47
- function stringContainsNumbers(string) {
48
- return numberKeys.some((number) => string.includes(number));
49
- }
50
-
51
- export { sanitizeDecimalString as a, isActivationKey as b, isValidNumber as i, numberKeys as n, parseNumberString as p, sanitizeNumberString as s };
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function u(e){try{l(n.next(e))}catch(e){i(e)}}function a(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):o(e.value).then(u,a)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(e){return function(t){return l([e,t])}}function l(u){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:r.label++;return{value:u[1],done:false};case 5:r.label++;o=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1];i=u;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(u);break}if(i[2])r.ops.pop();r.trys.pop();continue}u=t.call(e,r)}catch(e){u=[6,e];o=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */import{g as guid}from"./guid-196bd5ea.js";var autoTheme="calcite-theme-auto";var darkTheme="calcite-theme-dark";var lightTheme="calcite-theme-light";var CSS_UTILITY={autoTheme:autoTheme,darkTheme:darkTheme,lightTheme:lightTheme,rtl:"calcite--rtl"};var TEXT={loading:"Loading"};function ensureId(e){if(!e){return""}return e.id=e.id||e.tagName.toLowerCase()+"-"+guid()}function nodeListToArray(e){return Array.isArray(e)?e:Array.from(e)}function getThemeName(e){return closestElementCrossShadowBoundary(e,"."+CSS_UTILITY.darkTheme)?"dark":"light"}function getElementDir(e){var t="dir";var r="["+t+"]";var n=closestElementCrossShadowBoundary(e,r);return n?n.getAttribute(t):"ltr"}function getElementProp(e,t,r){var n="["+t+"]";var o=e.closest(n);return o?o.getAttribute(t):r}function getRootNode(e){return e.getRootNode()}function getHost(e){return e.host||null}function queryElementsRoots(e,t){function r(e,n){if(!e){return n}if(e.assignedSlot){e=e.assignedSlot}var o=getRootNode(e);var i=Array.from(o.querySelectorAll(t));var u=i.filter((function(e){return!n.includes(e)}));n=__spreadArray(__spreadArray([],n),u);var a=getHost(o);return a?r(a,n):n}return r(e,[])}function queryElementRoots(e,t){function r(e){if(!e){return null}if(e.assignedSlot){e=e.assignedSlot}var n=getRootNode(e);var o=n.querySelector(t);var i=getHost(n);return o?o:i?r(i):null}return r(e)}function closestElementCrossShadowBoundary(e,t){function r(e){return e?e.closest(t)||r(getHost(getRootNode(e))):null}return r(e)}function isCalciteFocusable(e){return typeof(e===null||e===void 0?void 0:e.setFocus)==="function"}function focusElement(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!e){return[2]}return[2,isCalciteFocusable(e)?e.setFocus():e.focus()]}))}))}function getSlotted(e,t,r){var n='[slot="'+t+'"]';if(r===null||r===void 0?void 0:r.all){return queryMultiple(e,n,r)}return querySingle(e,n,r)}function queryMultiple(e,t,r){var n=Array.from(e.querySelectorAll(t));n=r&&r.direct===false?n:n.filter((function(t){return t.parentElement===e}));var o=r===null||r===void 0?void 0:r.selector;return o?n.map((function(e){return Array.from(e.querySelectorAll(o))})).reduce((function(e,t){return __spreadArray(__spreadArray([],e),t)}),[]).filter((function(e){return!!e})):n}function querySingle(e,t,r){var n=e.querySelector(t);n=r&&r.direct===false?n:(n===null||n===void 0?void 0:n.parentElement)===e?n:null;var o=r===null||r===void 0?void 0:r.selector;return o?n.querySelector(o):n}function filterDirectChildren(e,t){return Array.from(e.children).filter((function(e){return e.matches(t)}))}function setRequestedIcon(e,t,r){if(typeof t==="string"&&t!==""){return t}else if(t===""){return e[r]}}function intersects(e,t){return!(t.left>e.right||t.right<e.left||t.top>e.bottom||t.bottom<e.top)}export{CSS_UTILITY as C,TEXT as T,getElementDir as a,getThemeName as b,closestElementCrossShadowBoundary as c,getElementProp as d,ensureId as e,focusElement as f,getSlotted as g,queryElementsRoots as h,isCalciteFocusable as i,intersects as j,filterDirectChildren as k,nodeListToArray as n,queryElementRoots as q,setRequestedIcon as s};
@@ -1,5 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- import{q as queryElementRoots,c as closestElementCrossShadowBoundary}from"./dom-f24e866c.js";var labelClickEvent="calciteInternalLabelClick";var labelTagName="calcite-label";var onLabelClickMap=new WeakMap;var findLabelForComponent=function(e){var l=e.id;var n=l&&queryElementRoots(e,labelTagName+'[for="'+l+'"]');if(n){return n}var a=closestElementCrossShadowBoundary(e,labelTagName);if(!a||hasAncestorCustomElements(a,e)){return null}return a};function hasAncestorCustomElements(e,l){var n;var a="custom-element-ancestor-check";var t=function(a){a.stopImmediatePropagation();var t=a.composedPath();n=t.slice(t.indexOf(l),t.indexOf(e))};e.addEventListener(a,t,{once:true});l.dispatchEvent(new CustomEvent(a,{composed:true,bubbles:true}));e.removeEventListener(a,t);var o=n.filter((function(n){return n!==l&&n!==e})).filter((function(e){var l;return(l=e.tagName)===null||l===void 0?void 0:l.includes("-")}));return o.length>0}function connectLabel(e){var l=findLabelForComponent(e.el);if(!l||onLabelClickMap.has(l)){return}e.labelEl=l;var n=onLabelClick.bind(e);onLabelClickMap.set(e.labelEl,n);e.labelEl.addEventListener(labelClickEvent,n)}function disconnectLabel(e){if(!e.labelEl){return}var l=onLabelClickMap.get(e.labelEl);e.labelEl.removeEventListener(labelClickEvent,l);onLabelClickMap.delete(e.labelEl)}function getLabelText(e){var l,n;return e.label||((n=(l=e.labelEl)===null||l===void 0?void 0:l.textContent)===null||n===void 0?void 0:n.trim())||""}function onLabelClick(e){var l=this.el.contains(e.detail.sourceEvent.target);if(l){return}this.onLabelClick(e)}export{connectLabel as c,disconnectLabel as d,getLabelText as g};
@@ -1,5 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- import{a as sanitizeDecimalString}from"./number-06e8500e.js";var locales=["ar","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"];function createLocaleNumberFormatter(r){return new Intl.NumberFormat(r,{minimumFractionDigits:0,maximumFractionDigits:20})}function delocalizeNumberString(r,e){if(r){var t=getGroupSeparator(e);var a=getDecimalSeparator(e);var i=r.split("");var n=i.lastIndexOf(a);var u=i.map((function(r,e){if(r===t||r===a&&e!==n){return""}return r})).reduce((function(r,e){return r+e})).replace(a,".");return isNaN(Number(u))?r:u}return r}function getGroupSeparator(r){var e=createLocaleNumberFormatter(r);var t=e.formatToParts(1234567.8);var a=t.find((function(r){return r.type==="group"})).value;return a.trim().length===0?" ":a}function getDecimalSeparator(r){var e=createLocaleNumberFormatter(r);var t=e.formatToParts(1234567.8);var a=t.find((function(r){return r.type==="decimal"})).value;return a.trim().length===0?" ":a}function localizeNumberString(r,e,t){if(t===void 0){t=false}if(r){var a=Number(sanitizeDecimalString(r));if(!isNaN(a)){var i=createLocaleNumberFormatter(e);var n=i.formatToParts(a);var u=n.map((function(r){var a=r.type,i=r.value;switch(a){case"group":return t?getGroupSeparator(e):"";case"decimal":return getDecimalSeparator(e);default:return i}})).reduce((function(r,e){return r+e}));return u}}return r}export{locales as a,delocalizeNumberString as d,getDecimalSeparator as g,localizeNumberString as l};
@@ -1,5 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- function isActivationKey(n){return n==="Enter"||n===" "}var numberKeys=["0","1","2","3","4","5","6","7","8","9"];function isValidNumber(n){return!(!n||isNaN(Number(n)))}function parseNumberString(n){if(!n||!stringContainsNumbers(n)){return null}var i=false;var r=n.split("").filter((function(n,r){if(n.match(/\./g)&&!i){i=true;return true}if(n.match(/\-/g)&&r===0){return true}return numberKeys.includes(n)})).reduce((function(n,i){return n+i}));return isValidNumber(r)?Number(r).toString():null}function sanitizeDecimalString(n){return(n===null||n===void 0?void 0:n.endsWith("."))?n.replace(".",""):n}function sanitizeNegativeString(n){return n.charAt(0)+n.substring(1).replace(/-/g,"")}function sanitizeLeadingZeroString(n){return n.replace(/^0+$/,"0")}function sanitizeNumberString(n){return n?Number(sanitizeNegativeString(sanitizeDecimalString(sanitizeLeadingZeroString(n)))).toString():n}function stringContainsNumbers(n){return numberKeys.some((function(i){return n.includes(i)}))}export{sanitizeDecimalString as a,isActivationKey as b,isValidNumber as i,numberKeys as n,parseNumberString as p,sanitizeNumberString as s};
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function o(e){try{f(n.next(e))}catch(e){i(e)}}function s(e){try{f(n["throw"](e))}catch(e){i(e)}}function f(e){e.done?r(e.value):a(e.value).then(o,s)}f((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return f([e,t])}}function f(o){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;a=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){r.label=o[1];break}if(o[0]===6&&r.label<i[1]){r.label=i[1];i=o;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(o);break}if(i[2])r.ops.pop();r.trys.pop();continue}o=t.call(e,r)}catch(e){o=[6,e];a=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */import{a as getElementDir}from"./dom-f24e866c.js";var top="top";var bottom="bottom";var right="right";var left="left";var auto="auto";var basePlacements=[top,bottom,right,left];var start="start";var end="end";var clippingParents="clippingParents";var viewport="viewport";var popper="popper";var reference="reference";var variationPlacements=basePlacements.reduce((function(e,t){return e.concat([t+"-"+start,t+"-"+end])}),[]);var placements=[].concat(basePlacements,[auto]).reduce((function(e,t){return e.concat([t,t+"-"+start,t+"-"+end])}),[]);var beforeRead="beforeRead";var read="read";var afterRead="afterRead";var beforeMain="beforeMain";var main="main";var afterMain="afterMain";var beforeWrite="beforeWrite";var write="write";var afterWrite="afterWrite";var modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite];function getNodeName(e){return e?(e.nodeName||"").toLowerCase():null}function getWindow(e){if(e==null){return window}if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function isElement(e){var t=getWindow(e).Element;return e instanceof t||e instanceof Element}function isHTMLElement(e){var t=getWindow(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function isShadowRoot(e){if(typeof ShadowRoot==="undefined"){return false}var t=getWindow(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function applyStyles(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(!isHTMLElement(a)||!getNodeName(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 effect$2(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(!isHTMLElement(n)||!getNodeName(n)){return}Object.assign(n.style,o);Object.keys(a).forEach((function(e){n.removeAttribute(e)}))}))}}var applyStyles$1={name:"applyStyles",enabled:true,phase:"write",fn:applyStyles,effect:effect$2,requires:["computeStyles"]};function getBasePlacement(e){return e.split("-")[0]}var max=Math.max;var min=Math.min;var round=Math.round;function getBoundingClientRect(e,t){if(t===void 0){t=false}var r=e.getBoundingClientRect();var n=1;var a=1;if(isHTMLElement(e)&&t){var i=e.offsetHeight;var o=e.offsetWidth;if(o>0){n=round(r.width)/o||1}if(i>0){a=round(r.height)/i||1}}return{width:r.width/n,height:r.height/a,top:r.top/a,right:r.right/n,bottom:r.bottom/a,left:r.left/n,x:r.left/n,y:r.top/a}}function getLayoutRect(e){var t=getBoundingClientRect(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 contains(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t)){return true}else if(r&&isShadowRoot(r)){var n=t;do{if(n&&e.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function getComputedStyle(e){return getWindow(e).getComputedStyle(e)}function isTableElement(e){return["table","td","th"].indexOf(getNodeName(e))>=0}function getDocumentElement(e){return((isElement(e)?e.ownerDocument:e.document)||window.document).documentElement}function getParentNode(e){if(getNodeName(e)==="html"){return e}return e.assignedSlot||e.parentNode||(isShadowRoot(e)?e.host:null)||getDocumentElement(e)}function getTrueOffsetParent(e){if(!isHTMLElement(e)||getComputedStyle(e).position==="fixed"){return null}return e.offsetParent}function getContainingBlock(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&isHTMLElement(e)){var n=getComputedStyle(e);if(n.position==="fixed"){return null}}var a=getParentNode(e);while(isHTMLElement(a)&&["html","body"].indexOf(getNodeName(a))<0){var i=getComputedStyle(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 getOffsetParent(e){var t=getWindow(e);var r=getTrueOffsetParent(e);while(r&&isTableElement(r)&&getComputedStyle(r).position==="static"){r=getTrueOffsetParent(r)}if(r&&(getNodeName(r)==="html"||getNodeName(r)==="body"&&getComputedStyle(r).position==="static")){return t}return r||getContainingBlock(e)||t}function getMainAxisFromPlacement(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function within(e,t,r){return max(e,min(t,r))}function withinMaxClamp(e,t,r){var n=within(e,t,r);return n>r?r:n}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(e){return Object.assign({},getFreshSideObject(),e)}function expandToHashMap(e,t){return t.reduce((function(t,r){t[r]=e;return t}),{})}var toPaddingObject=function e(t,r){t=typeof t==="function"?t(Object.assign({},r.rects,{placement:r.placement})):t;return mergePaddingObject(typeof t!=="number"?t:expandToHashMap(t,basePlacements))};function arrow(e){var t;var r=e.state,n=e.name,a=e.options;var i=r.elements.arrow;var o=r.modifiersData.popperOffsets;var s=getBasePlacement(r.placement);var f=getMainAxisFromPlacement(s);var l=[left,right].indexOf(s)>=0;var c=l?"height":"width";if(!i||!o){return}var p=toPaddingObject(a.padding,r);var u=getLayoutRect(i);var d=f==="y"?top:left;var v=f==="y"?bottom:right;var m=r.rects.reference[c]+r.rects.reference[f]-o[f]-r.rects.popper[c];var g=o[f]-r.rects.reference[f];var h=getOffsetParent(i);var y=h?f==="y"?h.clientHeight||0:h.clientWidth||0:0;var b=m/2-g/2;var w=p[d];var O=y-u[c]-p[v];var x=y/2-u[c]/2+b;var P=within(w,x,O);var S=f;r.modifiersData[n]=(t={},t[S]=P,t.centerOffset=P-x,t)}function effect$1(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(!contains(t.elements.popper,a)){return}t.elements.arrow=a}var arrow$1={name:"arrow",enabled:true,phase:"main",fn:arrow,effect:effect$1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function getVariation(e){return e.split("-")[1]}var unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function roundOffsetsByDPR(e){var t=e.x,r=e.y;var n=window;var a=n.devicePixelRatio||1;return{x:round(t*a)/a||0,y:round(r*a)/a||0}}function mapToStyles(e){var t;var r=e.popper,n=e.popperRect,a=e.placement,i=e.variation,o=e.offsets,s=e.position,f=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,p=e.isFixed;var u=c===true?roundOffsetsByDPR(o):typeof c==="function"?c(o):o,d=u.x,v=d===void 0?0:d,m=u.y,g=m===void 0?0:m;var h=o.hasOwnProperty("x");var y=o.hasOwnProperty("y");var b=left;var w=top;var O=window;if(l){var x=getOffsetParent(r);var P="clientHeight";var S="clientWidth";if(x===getWindow(r)){x=getDocumentElement(r);if(getComputedStyle(x).position!=="static"&&s==="absolute"){P="scrollHeight";S="scrollWidth"}}x=x;if(a===top||(a===left||a===right)&&i===end){w=bottom;var E=p&&O.visualViewport?O.visualViewport.height:x[P];g-=E-n.height;g*=f?1:-1}if(a===left||(a===top||a===bottom)&&i===end){b=right;var M=p&&O.visualViewport?O.visualViewport.width:x[S];v-=M-n.width;v*=f?1:-1}}var T=Object.assign({position:s},l&&unsetSides);if(f){var C;return Object.assign({},T,(C={},C[w]=y?"0":"",C[b]=h?"0":"",C.transform=(O.devicePixelRatio||1)<=1?"translate("+v+"px, "+g+"px)":"translate3d("+v+"px, "+g+"px, 0)",C))}return Object.assign({},T,(t={},t[w]=y?g+"px":"",t[b]=h?v+"px":"",t.transform="",t))}function computeStyles(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,s=r.roundOffsets,f=s===void 0?true:s;var l={placement:getBasePlacement(t.placement),variation:getVariation(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};if(t.modifiersData.popperOffsets!=null){t.styles.popper=Object.assign({},t.styles.popper,mapToStyles(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:f})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,mapToStyles(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:f})))}t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var computeStyles$1={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:computeStyles,data:{}};var passive={passive:true};function effect(e){var t=e.state,r=e.instance,n=e.options;var a=n.scroll,i=a===void 0?true:a,o=n.resize,s=o===void 0?true:o;var f=getWindow(t.elements.popper);var l=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(i){l.forEach((function(e){e.addEventListener("scroll",r.update,passive)}))}if(s){f.addEventListener("resize",r.update,passive)}return function(){if(i){l.forEach((function(e){e.removeEventListener("scroll",r.update,passive)}))}if(s){f.removeEventListener("resize",r.update,passive)}}}var eventListeners={name:"eventListeners",enabled:true,phase:"write",fn:function e(){},effect:effect,data:{}};var hash$1={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(e){return e.replace(/left|right|bottom|top/g,(function(e){return hash$1[e]}))}var hash={start:"end",end:"start"};function getOppositeVariationPlacement(e){return e.replace(/start|end/g,(function(e){return hash[e]}))}function getWindowScroll(e){var t=getWindow(e);var r=t.pageXOffset;var n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function getWindowScrollBarX(e){return getBoundingClientRect(getDocumentElement(e)).left+getWindowScroll(e).scrollLeft}function getViewportRect(e){var t=getWindow(e);var r=getDocumentElement(e);var n=t.visualViewport;var a=r.clientWidth;var i=r.clientHeight;var o=0;var s=0;if(n){a=n.width;i=n.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){o=n.offsetLeft;s=n.offsetTop}}return{width:a,height:i,x:o+getWindowScrollBarX(e),y:s}}function getDocumentRect(e){var t;var r=getDocumentElement(e);var n=getWindowScroll(e);var a=(t=e.ownerDocument)==null?void 0:t.body;var i=max(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0);var o=max(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0);var s=-n.scrollLeft+getWindowScrollBarX(e);var f=-n.scrollTop;if(getComputedStyle(a||r).direction==="rtl"){s+=max(r.clientWidth,a?a.clientWidth:0)-i}return{width:i,height:o,x:s,y:f}}function isScrollParent(e){var t=getComputedStyle(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function getScrollParent(e){if(["html","body","#document"].indexOf(getNodeName(e))>=0){return e.ownerDocument.body}if(isHTMLElement(e)&&isScrollParent(e)){return e}return getScrollParent(getParentNode(e))}function listScrollParents(e,t){var r;if(t===void 0){t=[]}var n=getScrollParent(e);var a=n===((r=e.ownerDocument)==null?void 0:r.body);var i=getWindow(n);var o=a?[i].concat(i.visualViewport||[],isScrollParent(n)?n:[]):n;var s=t.concat(o);return a?s:s.concat(listScrollParents(getParentNode(o)))}function rectToClientRect(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function getInnerBoundingClientRect(e){var t=getBoundingClientRect(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 getClientRectFromMixedType(e,t){return t===viewport?rectToClientRect(getViewportRect(e)):isElement(t)?getInnerBoundingClientRect(t):rectToClientRect(getDocumentRect(getDocumentElement(e)))}function getClippingParents(e){var t=listScrollParents(getParentNode(e));var r=["absolute","fixed"].indexOf(getComputedStyle(e).position)>=0;var n=r&&isHTMLElement(e)?getOffsetParent(e):e;if(!isElement(n)){return[]}return t.filter((function(e){return isElement(e)&&contains(e,n)&&getNodeName(e)!=="body"&&(r?getComputedStyle(e).position!=="static":true)}))}function getClippingRect(e,t,r){var n=t==="clippingParents"?getClippingParents(e):[].concat(t);var a=[].concat(n,[r]);var i=a[0];var o=a.reduce((function(t,r){var n=getClientRectFromMixedType(e,r);t.top=max(n.top,t.top);t.right=min(n.right,t.right);t.bottom=min(n.bottom,t.bottom);t.left=max(n.left,t.left);return t}),getClientRectFromMixedType(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 computeOffsets(e){var t=e.reference,r=e.element,n=e.placement;var a=n?getBasePlacement(n):null;var i=n?getVariation(n):null;var o=t.x+t.width/2-r.width/2;var s=t.y+t.height/2-r.height/2;var f;switch(a){case top:f={x:o,y:t.y-r.height};break;case bottom:f={x:o,y:t.y+t.height};break;case right:f={x:t.x+t.width,y:s};break;case left:f={x:t.x-r.width,y:s};break;default:f={x:t.x,y:t.y}}var l=a?getMainAxisFromPlacement(a):null;if(l!=null){var c=l==="y"?"height":"width";switch(i){case start:f[l]=f[l]-(t[c]/2-r[c]/2);break;case end:f[l]=f[l]+(t[c]/2-r[c]/2);break}}return f}function detectOverflow(e,t){if(t===void 0){t={}}var r=t,n=r.placement,a=n===void 0?e.placement:n,i=r.boundary,o=i===void 0?clippingParents:i,s=r.rootBoundary,f=s===void 0?viewport:s,l=r.elementContext,c=l===void 0?popper:l,p=r.altBoundary,u=p===void 0?false:p,d=r.padding,v=d===void 0?0:d;var m=mergePaddingObject(typeof v!=="number"?v:expandToHashMap(v,basePlacements));var g=c===popper?reference:popper;var h=e.rects.popper;var y=e.elements[u?g:c];var b=getClippingRect(isElement(y)?y:y.contextElement||getDocumentElement(e.elements.popper),o,f);var w=getBoundingClientRect(e.elements.reference);var O=computeOffsets({reference:w,element:h,strategy:"absolute",placement:a});var x=rectToClientRect(Object.assign({},h,O));var P=c===popper?x:w;var S={top:b.top-P.top+m.top,bottom:P.bottom-b.bottom+m.bottom,left:b.left-P.left+m.left,right:P.right-b.right+m.right};var E=e.modifiersData.offset;if(c===popper&&E){var M=E[a];Object.keys(S).forEach((function(e){var t=[right,bottom].indexOf(e)>=0?1:-1;var r=[top,bottom].indexOf(e)>=0?"y":"x";S[e]+=M[r]*t}))}return S}function computeAutoPlacement(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,f=r.allowedAutoPlacements,l=f===void 0?placements:f;var c=getVariation(n);var p=c?s?variationPlacements:variationPlacements.filter((function(e){return getVariation(e)===c})):basePlacements;var u=p.filter((function(e){return l.indexOf(e)>=0}));if(u.length===0){u=p}var d=u.reduce((function(t,r){t[r]=detectOverflow(e,{placement:r,boundary:a,rootBoundary:i,padding:o})[getBasePlacement(r)];return t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}function getExpandedFallbackPlacements(e){if(getBasePlacement(e)===auto){return[]}var t=getOppositePlacement(e);return[getOppositeVariationPlacement(e),t,getOppositeVariationPlacement(t)]}function flip(e){var t=e.state,r=e.options,n=e.name;if(t.modifiersData[n]._skip){return}var a=r.mainAxis,i=a===void 0?true:a,o=r.altAxis,s=o===void 0?true:o,f=r.fallbackPlacements,l=r.padding,c=r.boundary,p=r.rootBoundary,u=r.altBoundary,d=r.flipVariations,v=d===void 0?true:d,m=r.allowedAutoPlacements;var g=t.options.placement;var h=getBasePlacement(g);var y=h===g;var b=f||(y||!v?[getOppositePlacement(g)]:getExpandedFallbackPlacements(g));var w=[g].concat(b).reduce((function(e,r){return e.concat(getBasePlacement(r)===auto?computeAutoPlacement(t,{placement:r,boundary:c,rootBoundary:p,padding:l,flipVariations:v,allowedAutoPlacements:m}):r)}),[]);var O=t.rects.reference;var x=t.rects.popper;var P=new Map;var S=true;var E=w[0];for(var M=0;M<w.length;M++){var T=w[M];var C=getBasePlacement(T);var R=getVariation(T)===start;var D=[top,bottom].indexOf(C)>=0;var B=D?"width":"height";var A=detectOverflow(t,{placement:T,boundary:c,rootBoundary:p,altBoundary:u,padding:l});var L=D?R?right:left:R?bottom:top;if(O[B]>x[B]){L=getOppositePlacement(L)}var j=getOppositePlacement(L);var W=[];if(i){W.push(A[C]<=0)}if(s){W.push(A[L]<=0,A[j]<=0)}if(W.every((function(e){return e}))){E=T;S=false;break}P.set(T,W)}if(S){var N=v?3:1;var H=function e(t){var r=w.find((function(e){var r=P.get(e);if(r){return r.slice(0,t).every((function(e){return e}))}}));if(r){E=r;return"break"}};for(var k=N;k>0;k--){var V=H(k);if(V==="break")break}}if(t.placement!==E){t.modifiersData[n]._skip=true;t.placement=E;t.reset=true}}var flip$1={name:"flip",enabled:true,phase:"main",fn:flip,requiresIfExists:["offset"],data:{_skip:false}};function getSideOffsets(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 isAnySideFullyClipped(e){return[top,right,bottom,left].some((function(t){return e[t]>=0}))}function hide(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=detectOverflow(t,{elementContext:"reference"});var s=detectOverflow(t,{altBoundary:true});var f=getSideOffsets(o,n);var l=getSideOffsets(s,a,i);var c=isAnySideFullyClipped(f);var p=isAnySideFullyClipped(l);t.modifiersData[r]={referenceClippingOffsets:f,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:p};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}var hide$1={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:hide};function distanceAndSkiddingToXY(e,t,r){var n=getBasePlacement(e);var a=[left,top].indexOf(n)>=0?-1:1;var i=typeof r==="function"?r(Object.assign({},t,{placement:e})):r,o=i[0],s=i[1];o=o||0;s=(s||0)*a;return[left,right].indexOf(n)>=0?{x:s,y:o}:{x:o,y:s}}function offset(e){var t=e.state,r=e.options,n=e.name;var a=r.offset,i=a===void 0?[0,0]:a;var o=placements.reduce((function(e,r){e[r]=distanceAndSkiddingToXY(r,t.rects,i);return e}),{});var s=o[t.placement],f=s.x,l=s.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=f;t.modifiersData.popperOffsets.y+=l}t.modifiersData[n]=o}var offset$1={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:offset};function popperOffsets(e){var t=e.state,r=e.name;t.modifiersData[r]=computeOffsets({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var popperOffsets$1={name:"popperOffsets",enabled:true,phase:"read",fn:popperOffsets,data:{}};function getAltAxis(e){return e==="x"?"y":"x"}function preventOverflow(e){var t=e.state,r=e.options,n=e.name;var a=r.mainAxis,i=a===void 0?true:a,o=r.altAxis,s=o===void 0?false:o,f=r.boundary,l=r.rootBoundary,c=r.altBoundary,p=r.padding,u=r.tether,d=u===void 0?true:u,v=r.tetherOffset,m=v===void 0?0:v;var g=detectOverflow(t,{boundary:f,rootBoundary:l,padding:p,altBoundary:c});var h=getBasePlacement(t.placement);var y=getVariation(t.placement);var b=!y;var w=getMainAxisFromPlacement(h);var O=getAltAxis(w);var x=t.modifiersData.popperOffsets;var P=t.rects.reference;var S=t.rects.popper;var E=typeof m==="function"?m(Object.assign({},t.rects,{placement:t.placement})):m;var M=typeof E==="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E);var T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null;var C={x:0,y:0};if(!x){return}if(i){var R;var D=w==="y"?top:left;var B=w==="y"?bottom:right;var A=w==="y"?"height":"width";var L=x[w];var j=L+g[D];var W=L-g[B];var N=d?-S[A]/2:0;var H=y===start?P[A]:S[A];var k=y===start?-S[A]:-P[A];var V=t.elements.arrow;var $=d&&V?getLayoutRect(V):{width:0,height:0};var F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:getFreshSideObject();var _=F[D];var q=F[B];var I=within(0,P[A],$[A]);var X=b?P[A]/2-N-I-_-M.mainAxis:H-I-_-M.mainAxis;var U=b?-P[A]/2+N+I+q+M.mainAxis:k+I+q+M.mainAxis;var z=t.elements.arrow&&getOffsetParent(t.elements.arrow);var Y=z?w==="y"?z.clientTop||0:z.clientLeft||0:0;var G=(R=T==null?void 0:T[w])!=null?R:0;var J=L+X-G-Y;var K=L+U-G;var Q=within(d?min(j,J):j,L,d?max(W,K):W);x[w]=Q;C[w]=Q-L}if(s){var Z;var ee=w==="x"?top:left;var te=w==="x"?bottom:right;var re=x[O];var ne=O==="y"?"height":"width";var ae=re+g[ee];var ie=re-g[te];var oe=[top,left].indexOf(h)!==-1;var se=(Z=T==null?void 0:T[O])!=null?Z:0;var fe=oe?ae:re-P[ne]-S[ne]-se+M.altAxis;var le=oe?re+P[ne]+S[ne]-se-M.altAxis:ie;var ce=d&&oe?withinMaxClamp(fe,re,le):within(d?fe:ae,re,d?le:ie);x[O]=ce;C[O]=ce-re}t.modifiersData[n]=C}var preventOverflow$1={name:"preventOverflow",enabled:true,phase:"main",fn:preventOverflow,requiresIfExists:["offset"]};function getHTMLElementScroll(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function getNodeScroll(e){if(e===getWindow(e)||!isHTMLElement(e)){return getWindowScroll(e)}else{return getHTMLElementScroll(e)}}function isElementScaled(e){var t=e.getBoundingClientRect();var r=round(t.width)/e.offsetWidth||1;var n=round(t.height)/e.offsetHeight||1;return r!==1||n!==1}function getCompositeRect(e,t,r){if(r===void 0){r=false}var n=isHTMLElement(t);var a=isHTMLElement(t)&&isElementScaled(t);var i=getDocumentElement(t);var o=getBoundingClientRect(e,a);var s={scrollLeft:0,scrollTop:0};var f={x:0,y:0};if(n||!n&&!r){if(getNodeName(t)!=="body"||isScrollParent(i)){s=getNodeScroll(t)}if(isHTMLElement(t)){f=getBoundingClientRect(t,true);f.x+=t.clientLeft;f.y+=t.clientTop}else if(i){f.x=getWindowScrollBarX(i)}}return{x:o.left+s.scrollLeft-f.x,y:o.top+s.scrollTop-f.y,width:o.width,height:o.height}}function order(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 orderModifiers(e){var t=order(e);return modifierPhases.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}function debounce(e){var t;return function(){if(!t){t=new Promise((function(r){Promise.resolve().then((function(){t=undefined;r(e())}))}))}return t}}function mergeByName(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 DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){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 popperGenerator(e){if(e===void 0){e={}}var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?DEFAULT_OPTIONS:a;return function e(t,r,a){if(a===void 0){a=i}var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,i),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}};var s=[];var f=false;var l={state:o,setOptions:function e(a){var s=typeof a==="function"?a(o.options):a;p();o.options=Object.assign({},i,o.options,s);o.scrollParents={reference:isElement(t)?listScrollParents(t):t.contextElement?listScrollParents(t.contextElement):[],popper:listScrollParents(r)};var f=orderModifiers(mergeByName([].concat(n,o.options.modifiers)));o.orderedModifiers=f.filter((function(e){return e.enabled}));c();return l.update()},forceUpdate:function e(){if(f){return}var t=o.elements,r=t.reference,n=t.popper;if(!areValidElements(r,n)){return}o.rects={reference:getCompositeRect(r,getOffsetParent(n),o.options.strategy==="fixed"),popper:getLayoutRect(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],s=i.fn,c=i.options,p=c===void 0?{}:c,u=i.name;if(typeof s==="function"){o=s({state:o,options:p,name:u,instance:l})||o}}},update:debounce((function(){return new Promise((function(e){l.forceUpdate();e(o)}))})),destroy:function e(){p();f=true}};if(!areValidElements(t,r)){return l}l.setOptions(a).then((function(e){if(!f&&a.onFirstUpdate){a.onFirstUpdate(e)}}));function c(){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:l,options:n});var f=function e(){};s.push(i||f)}}))}function p(){s.forEach((function(e){return e()}));s=[]}return l}}var defaultModifiers=[eventListeners,popperOffsets$1,computeStyles$1,applyStyles$1,offset$1,flip$1,preventOverflow$1,arrow$1,hide$1];var createPopper$1=popperGenerator({defaultModifiers:defaultModifiers});var CSS={animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"};function getPlacement(e,t){var r=["left","right"];var n=["start","end"];if(getElementDir(e)==="rtl"){r.reverse();n.reverse()}return t.replace(/-leading/gi,"-"+n[0]).replace(/-trailing/gi,"-"+n[1]).replace(/leading/gi,r[0]).replace(/trailing/gi,r[1])}function createPopper(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 createPopper$1(t,r,{strategy:i,placement:getPlacement(r,n),modifiers:o})}function updatePopper(e){var t=e.el,r=e.modifiers,n=e.placement,a=e.popper;return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){switch(i.label){case 0:e=getPlacement(t,n);return[4,a.setOptions({modifiers:r,placement:e})];case 1:i.sent();return[2]}}))}))}function hypotenuse(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))}var visiblePointerSize=4;var defaultOffsetDistance=Math.ceil(hypotenuse(visiblePointerSize,visiblePointerSize));export{CSS as C,createPopper as c,defaultOffsetDistance as d,updatePopper as u};