@kernel4632/kima 0.12.2 → 0.29.0

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 (498) hide show
  1. package/dist/THIRD_PARTY_NOTICES.txt +100 -1712
  2. package/dist/components/containment/list-item.ce.vue_vue_type_style_index_0_scoped_fd20973a_lang.css +1 -0
  3. package/dist/components/containment/snackbar.ce.vue_vue_type_style_index_0_scoped_3c62e4c7_lang.css +1 -0
  4. package/dist/components/core/badge.ce.vue_vue_type_style_index_0_scoped_9ccfbe76_lang.css +1 -0
  5. package/dist/components/core/button.ce.vue_vue_type_style_index_0_scoped_1c004601_lang.css +1 -0
  6. package/dist/components/core/checkbox.ce.vue_vue_type_style_index_0_scoped_cc2716e6_lang.css +1 -0
  7. package/dist/components/core/combobox.ce.vue_vue_type_style_index_0_scoped_ba7220f2_lang.css +1 -0
  8. package/dist/components/core/dialog.ce.vue_vue_type_style_index_0_scoped_09f96946_lang.css +1 -0
  9. package/dist/components/core/divider.ce.vue_vue_type_style_index_0_scoped_a401c826_lang.css +1 -0
  10. package/dist/components/core/fab-menu.ce.vue_vue_type_style_index_0_scoped_7c25d968_lang.css +1 -0
  11. package/dist/components/core/fab.ce.vue_vue_type_style_index_0_scoped_4e1de7c1_lang.css +1 -0
  12. package/dist/components/core/icon.ce.vue_vue_type_style_index_0_scoped_76c47d5b_lang.css +1 -0
  13. package/dist/components/core/loading-indicator.ce.vue_vue_type_style_index_0_scoped_6c314bb6_lang.css +1 -0
  14. package/dist/components/core/menu.ce.vue_vue_type_style_index_0_scoped_16ed5f4d_lang.css +1 -0
  15. package/dist/components/core/morph-field.ce.vue_vue_type_style_index_0_scoped_ac757a01_lang.css +1 -0
  16. package/dist/components/core/progress.ce.vue_vue_type_style_index_0_scoped_2c836bfd_lang.css +1 -0
  17. package/dist/components/core/select.ce.vue_vue_type_style_index_0_scoped_bf4d9de4_lang.css +1 -0
  18. package/dist/components/core/shape.ce.vue_vue_type_style_index_0_scoped_5db1cc46_lang.css +1 -0
  19. package/dist/components/core/slider.ce.vue_vue_type_style_index_0_scoped_3cadd726_lang.css +1 -0
  20. package/dist/components/core/split-button.ce.vue_vue_type_style_index_0_scoped_a8ef75a5_lang.css +1 -0
  21. package/dist/components/core/switch.ce.vue_vue_type_style_index_0_scoped_5b126252_lang.css +1 -0
  22. package/dist/components/core/tabs.ce.vue_vue_type_style_index_0_scoped_f0ece5c6_lang.css +1 -0
  23. package/dist/components/core/text-field.ce.vue_vue_type_style_index_0_scoped_89a58b79_lang.css +1 -0
  24. package/dist/components/core/tooltip.ce.vue_vue_type_style_index_0_scoped_4fd8d52e_lang.css +1 -0
  25. package/dist/components/core/tree.ce.vue_vue_type_style_index_0_scoped_d1e95486_lang.css +1 -0
  26. package/dist/components/data/table.ce.vue_vue_type_style_index_0_scoped_de17ceaa_lang.css +1 -0
  27. package/dist/components/display/image.ce.vue_vue_type_style_index_0_scoped_08ac96f2_lang.css +1 -0
  28. package/dist/components/display/image.ce.vue_vue_type_style_index_1_lang.css +1 -0
  29. package/dist/components/display/skeleton.ce.vue_vue_type_style_index_0_scoped_841c5f0b_lang.css +1 -0
  30. package/dist/components/input/radio-group.ce.vue_vue_type_style_index_0_scoped_554d6257_lang.css +1 -0
  31. package/dist/components/input/textarea.ce.vue_vue_type_style_index_0_scoped_f6be6515_lang.css +1 -0
  32. package/dist/components/interaction/popover.ce.vue_vue_type_style_index_0_scoped_4e67e579_lang.css +1 -0
  33. package/dist/components/navigation/breadcrumb-item.ce.vue_vue_type_style_index_0_scoped_4c179b2f_lang.css +1 -0
  34. package/dist/components/navigation/breadcrumb-item.ce.vue_vue_type_style_index_1_lang.css +1 -0
  35. package/dist/components/navigation/breadcrumb.ce.vue_vue_type_style_index_0_scoped_f0e04345_lang.css +1 -0
  36. package/dist/components/navigation/collapsible.ce.vue_vue_type_style_index_0_scoped_eda74ecc_lang.css +1 -0
  37. package/dist/components/navigation/nav-item.ce.vue_vue_type_style_index_0_scoped_9f22b45d_lang.css +1 -0
  38. package/dist/kima-elements-core.js +38352 -33892
  39. package/dist/kima-elements.js +47432 -116752
  40. package/dist/kima.js +36 -139
  41. package/dist/style.css +37 -237
  42. package/dist/styles/_tokens.css +1 -1
  43. package/dist/styles/badge.css +1 -1
  44. package/dist/styles/breadcrumb-item.css +4 -0
  45. package/dist/styles/breadcrumb.css +1 -2
  46. package/dist/styles/button.css +1 -1
  47. package/dist/styles/checkbox.css +2 -2
  48. package/dist/styles/collapsible.css +2 -2
  49. package/dist/styles/combobox.css +2 -2
  50. package/dist/styles/core.css +36 -43
  51. package/dist/styles/dialog.css +3 -3
  52. package/dist/styles/divider.css +1 -1
  53. package/dist/styles/fab-menu.css +3 -0
  54. package/dist/styles/fab.css +2 -0
  55. package/dist/styles/icon.css +1 -1
  56. package/dist/styles/image.css +3 -3
  57. package/dist/styles/list-item.css +2 -0
  58. package/dist/styles/loading-indicator.css +2 -0
  59. package/dist/styles/menu.css +2 -2
  60. package/dist/styles/morph-field.css +3 -0
  61. package/dist/styles/nav-item.css +3 -0
  62. package/dist/styles/popover.css +2 -2
  63. package/dist/styles/progress.css +1 -1
  64. package/dist/styles/radio-group.css +2 -2
  65. package/dist/styles/select.css +2 -2
  66. package/dist/styles/shape.css +2 -0
  67. package/dist/styles/skeleton.css +1 -1
  68. package/dist/styles/slider.css +1 -1
  69. package/dist/styles/snackbar.css +3 -0
  70. package/dist/styles/split-button.css +3 -0
  71. package/dist/styles/switch.css +1 -2
  72. package/dist/styles/table.css +2 -2
  73. package/dist/styles/tabs.css +1 -1
  74. package/dist/styles/text-field.css +2 -2
  75. package/dist/styles/textarea.css +1 -2
  76. package/dist/styles/tooltip.css +1 -1
  77. package/dist/styles/tree.css +2 -2
  78. package/dist/vue/components/containment/list-item.ce.js +73 -0
  79. package/dist/vue/components/containment/snackbar.ce.js +203 -0
  80. package/dist/vue/components/core/badge.ce.js +40 -27
  81. package/dist/vue/components/core/button.ce.js +51 -28
  82. package/dist/vue/components/core/checkbox.ce.js +65 -50
  83. package/dist/vue/components/core/combobox.ce.js +287 -227
  84. package/dist/vue/components/core/dialog.ce.js +52 -41
  85. package/dist/vue/components/core/divider.ce.js +1 -1
  86. package/dist/vue/components/core/fab-menu.ce.js +112 -0
  87. package/dist/vue/components/core/fab.ce.js +63 -0
  88. package/dist/vue/components/core/icon.ce.js +2 -3
  89. package/dist/vue/components/core/loading-indicator.ce.js +86 -0
  90. package/dist/vue/components/core/menu.ce.js +140 -103
  91. package/dist/vue/components/core/morph-field.ce.js +139 -0
  92. package/dist/vue/components/core/progress.ce.js +787 -24
  93. package/dist/vue/components/core/select.ce.js +260 -219
  94. package/dist/vue/components/core/shape.ce.js +19 -0
  95. package/dist/vue/components/core/slider.ce.js +389 -77
  96. package/dist/vue/components/core/split-button.ce.js +156 -0
  97. package/dist/vue/components/core/switch.ce.js +59 -65
  98. package/dist/vue/components/core/tabs.ce.js +91 -84
  99. package/dist/vue/components/core/text-field.ce.js +67 -95
  100. package/dist/vue/components/core/tooltip.ce.js +95 -96
  101. package/dist/vue/components/core/tree.ce.js +128 -200
  102. package/dist/vue/components/data/table.ce.js +249 -227
  103. package/dist/vue/components/display/image.ce.js +65 -121
  104. package/dist/vue/components/display/skeleton.ce.js +46 -33
  105. package/dist/vue/components/input/radio-group.ce.js +119 -53
  106. package/dist/vue/components/input/textarea.ce.js +124 -109
  107. package/dist/vue/components/interaction/popover.ce.js +78 -45
  108. package/dist/vue/components/navigation/breadcrumb-item.ce.js +197 -0
  109. package/dist/vue/components/navigation/breadcrumb.ce.js +71 -40
  110. package/dist/vue/components/navigation/collapsible.ce.js +45 -34
  111. package/dist/vue/components/navigation/nav-item.ce.js +79 -0
  112. package/dist/vue/internal/menu-items.js +51 -70
  113. package/dist/vue/utils/content-motion.js +36 -47
  114. package/dist/vue/utils/interaction.js +19 -68
  115. package/dist/vue/utils/loading-shapes.js +11 -0
  116. package/dist/vue/utils/motion.js +36 -40
  117. package/dist/vue/utils/navigation.js +1 -19
  118. package/dist/vue/utils/popup-manager.js +52 -0
  119. package/dist/vue/utils/popup-motion.js +18 -0
  120. package/dist/vue/utils/radius.js +81 -0
  121. package/dist/vue/utils/ripple.js +7 -7
  122. package/dist/vue/utils/shell.js +9 -24
  123. package/dist/vue/utils/snackbar-stack.js +57 -0
  124. package/package.json +2 -20
  125. package/dist/components/advanced-input/calendar.ce.vue_vue_type_style_index_0_scoped_43a5d854_lang.css +0 -1
  126. package/dist/components/advanced-input/date-range-picker.ce.vue_vue_type_style_index_0_scoped_8bcd6e19_lang.css +0 -1
  127. package/dist/components/advanced-input/editable.ce.vue_vue_type_style_index_0_scoped_82c96de0_lang.css +0 -1
  128. package/dist/components/advanced-input/mention.ce.vue_vue_type_style_index_0_scoped_e6d9ff72_lang.css +0 -1
  129. package/dist/components/advanced-input/range-slider.ce.vue_vue_type_style_index_0_scoped_cceb9717_lang.css +0 -1
  130. package/dist/components/advanced-input/time-range-picker.ce.vue_vue_type_style_index_0_scoped_52265737_lang.css +0 -1
  131. package/dist/components/advanced-input/transfer.ce.vue_vue_type_style_index_0_scoped_d1dddadf_lang.css +0 -1
  132. package/dist/components/content/chart.ce.vue_vue_type_style_index_0_scoped_b8556b1a_lang.css +0 -1
  133. package/dist/components/content/code-editor.ce.vue_vue_type_style_index_0_scoped_233308e5_lang.css +0 -1
  134. package/dist/components/content/equation.ce.vue_vue_type_style_index_0_scoped_e8f29ba6_lang.css +0 -1
  135. package/dist/components/content/heatmap.ce.vue_vue_type_style_index_0_scoped_c69a9531_lang.css +0 -1
  136. package/dist/components/content/rich-text-editor.ce.vue_vue_type_style_index_0_scoped_82e3193e_lang.css +0 -1
  137. package/dist/components/core/badge.ce.vue_vue_type_style_index_0_scoped_9dba943c_lang.css +0 -1
  138. package/dist/components/core/button-group.ce.vue_vue_type_style_index_0_scoped_8a4a723b_lang.css +0 -1
  139. package/dist/components/core/button.ce.vue_vue_type_style_index_0_scoped_ba403858_lang.css +0 -1
  140. package/dist/components/core/card.ce.vue_vue_type_style_index_0_scoped_6c915f03_lang.css +0 -1
  141. package/dist/components/core/cascader.ce.vue_vue_type_style_index_0_scoped_0ed26222_lang.css +0 -1
  142. package/dist/components/core/checkbox.ce.vue_vue_type_style_index_0_scoped_7c9707de_lang.css +0 -1
  143. package/dist/components/core/code-block.ce.vue_vue_type_style_index_0_scoped_7e6342e8_lang.css +0 -1
  144. package/dist/components/core/combobox.ce.vue_vue_type_style_index_0_scoped_6980ff65_lang.css +0 -1
  145. package/dist/components/core/date-picker.ce.vue_vue_type_style_index_0_scoped_f55122f3_lang.css +0 -1
  146. package/dist/components/core/dialog.ce.vue_vue_type_style_index_0_scoped_1b9a185c_lang.css +0 -1
  147. package/dist/components/core/divider.ce.vue_vue_type_style_index_0_scoped_5402a5d3_lang.css +0 -1
  148. package/dist/components/core/drawer.ce.vue_vue_type_style_index_0_scoped_13f2f783_lang.css +0 -1
  149. package/dist/components/core/empty-state.ce.vue_vue_type_style_index_0_scoped_6fcab7b8_lang.css +0 -1
  150. package/dist/components/core/icon-button.ce.vue_vue_type_style_index_0_scoped_a18b4478_lang.css +0 -1
  151. package/dist/components/core/icon.ce.vue_vue_type_style_index_0_scoped_5c94f2ca_lang.css +0 -1
  152. package/dist/components/core/layout.ce.vue_vue_type_style_index_0_scoped_c0d57820_lang.css +0 -1
  153. package/dist/components/core/menu.ce.vue_vue_type_style_index_0_scoped_597751c9_lang.css +0 -1
  154. package/dist/components/core/notification.ce.vue_vue_type_style_index_0_scoped_2f39bef8_lang.css +0 -1
  155. package/dist/components/core/pagination.ce.vue_vue_type_style_index_0_scoped_d62e7dea_lang.css +0 -1
  156. package/dist/components/core/progress.ce.vue_vue_type_style_index_0_scoped_84d44589_lang.css +0 -1
  157. package/dist/components/core/select.ce.vue_vue_type_style_index_0_scoped_f1632b10_lang.css +0 -1
  158. package/dist/components/core/slider.ce.vue_vue_type_style_index_0_scoped_746583af_lang.css +0 -1
  159. package/dist/components/core/switch.ce.vue_vue_type_style_index_0_scoped_2bcc172e_lang.css +0 -1
  160. package/dist/components/core/tabs.ce.vue_vue_type_style_index_0_scoped_0d322299_lang.css +0 -1
  161. package/dist/components/core/text-field.ce.vue_vue_type_style_index_0_scoped_f22e5c02_lang.css +0 -1
  162. package/dist/components/core/time-picker.ce.vue_vue_type_style_index_0_scoped_afd1d777_lang.css +0 -1
  163. package/dist/components/core/tooltip.ce.vue_vue_type_style_index_0_scoped_2c931a6a_lang.css +0 -1
  164. package/dist/components/core/tree.ce.vue_vue_type_style_index_0_scoped_5401eef6_lang.css +0 -1
  165. package/dist/components/core/virtual-scroll.ce.vue_vue_type_style_index_0_scoped_8f7f579b_lang.css +0 -1
  166. package/dist/components/data/copy-button.ce.vue_vue_type_style_index_0_scoped_701ad4fb_lang.css +0 -1
  167. package/dist/components/data/image-preview.ce.vue_vue_type_style_index_0_scoped_17e80131_lang.css +0 -1
  168. package/dist/components/data/infinite-scroll.ce.vue_vue_type_style_index_0_scoped_5f784d27_lang.css +0 -1
  169. package/dist/components/data/long-text.ce.vue_vue_type_style_index_0_scoped_6bad870b_lang.css +0 -1
  170. package/dist/components/data/relative-time.ce.vue_vue_type_style_index_0_scoped_903b71ea_lang.css +0 -1
  171. package/dist/components/data/ring-progress.ce.vue_vue_type_style_index_0_scoped_15220fc3_lang.css +0 -1
  172. package/dist/components/data/table.ce.vue_vue_type_style_index_0_scoped_6c1cc7d1_lang.css +0 -1
  173. package/dist/components/data/virtual-table.ce.vue_vue_type_style_index_0_scoped_bc80a44c_lang.css +0 -1
  174. package/dist/components/data/virtual-tree.ce.vue_vue_type_style_index_0_scoped_5d8790bf_lang.css +0 -1
  175. package/dist/components/display/alert.ce.vue_vue_type_style_index_0_scoped_d31c4df3_lang.css +0 -1
  176. package/dist/components/display/avatar-group.ce.vue_vue_type_style_index_0_scoped_9545415b_lang.css +0 -1
  177. package/dist/components/display/avatar.ce.vue_vue_type_style_index_0_scoped_eb8fc9ea_lang.css +0 -1
  178. package/dist/components/display/blockquote.ce.vue_vue_type_style_index_0_scoped_e56b05b8_lang.css +0 -1
  179. package/dist/components/display/countdown.ce.vue_vue_type_style_index_0_scoped_7f10ca60_lang.css +0 -1
  180. package/dist/components/display/descriptions.ce.vue_vue_type_style_index_0_scoped_501a9489_lang.css +0 -1
  181. package/dist/components/display/highlight.ce.vue_vue_type_style_index_0_scoped_f876f7db_lang.css +0 -1
  182. package/dist/components/display/image.ce.vue_vue_type_style_index_0_scoped_d16b864e_lang.css +0 -1
  183. package/dist/components/display/list.ce.vue_vue_type_style_index_0_scoped_1b1702a6_lang.css +0 -1
  184. package/dist/components/display/result.ce.vue_vue_type_style_index_0_scoped_f08cf21f_lang.css +0 -1
  185. package/dist/components/display/skeleton.ce.vue_vue_type_style_index_0_scoped_92807af5_lang.css +0 -1
  186. package/dist/components/display/spinner.ce.vue_vue_type_style_index_0_scoped_d7ff1dc3_lang.css +0 -1
  187. package/dist/components/display/statistic.ce.vue_vue_type_style_index_0_scoped_cc8448a6_lang.css +0 -1
  188. package/dist/components/display/timeline.ce.vue_vue_type_style_index_0_scoped_3cffd2b4_lang.css +0 -1
  189. package/dist/components/form-completion/angle-slider.ce.vue_vue_type_style_index_0_scoped_924c5f0d_lang.css +0 -1
  190. package/dist/components/form-completion/color-picker.ce.vue_vue_type_style_index_0_scoped_04812c30_lang.css +0 -1
  191. package/dist/components/form-completion/date-field.ce.vue_vue_type_style_index_0_scoped_7c8a7c79_lang.css +0 -1
  192. package/dist/components/form-completion/dynamic-input.ce.vue_vue_type_style_index_0_scoped_6a5bc26a_lang.css +0 -1
  193. package/dist/components/form-completion/form.ce.vue_vue_type_style_index_0_scoped_f8f70e6f_lang.css +0 -1
  194. package/dist/components/form-completion/json-input.ce.vue_vue_type_style_index_0_scoped_15a17728_lang.css +0 -1
  195. package/dist/components/form-completion/masked-input.ce.vue_vue_type_style_index_0_scoped_f96e752a_lang.css +0 -1
  196. package/dist/components/form-completion/period-picker.ce.vue_vue_type_style_index_0_scoped_28cc9011_lang.css +0 -1
  197. package/dist/components/form-completion/time-field.ce.vue_vue_type_style_index_0_scoped_b6533524_lang.css +0 -1
  198. package/dist/components/form-completion/upload-manager.ce.vue_vue_type_style_index_0_scoped_fe810c3a_lang.css +0 -1
  199. package/dist/components/foundation/banner.ce.vue_vue_type_style_index_0_scoped_57ba332a_lang.css +0 -1
  200. package/dist/components/foundation/error-state.ce.vue_vue_type_style_index_0_scoped_20c2aa5d_lang.css +0 -1
  201. package/dist/components/foundation/field-group.ce.vue_vue_type_style_index_0_scoped_144ed12e_lang.css +0 -1
  202. package/dist/components/foundation/flex.ce.vue_vue_type_style_index_0_scoped_317459cf_lang.css +0 -1
  203. package/dist/components/foundation/grid.ce.vue_vue_type_style_index_0_scoped_c1ea1f88_lang.css +0 -1
  204. package/dist/components/foundation/input-group.ce.vue_vue_type_style_index_0_scoped_5729e4c1_lang.css +0 -1
  205. package/dist/components/foundation/page-header.ce.vue_vue_type_style_index_0_scoped_819de002_lang.css +0 -1
  206. package/dist/components/foundation/time-display.ce.vue_vue_type_style_index_0_scoped_31f1f739_lang.css +0 -1
  207. package/dist/components/foundation/typography.ce.vue_vue_type_style_index_0_scoped_d92fa782_lang.css +0 -1
  208. package/dist/components/input/checkbox-group.ce.vue_vue_type_style_index_0_scoped_f017d36a_lang.css +0 -1
  209. package/dist/components/input/field.ce.vue_vue_type_style_index_0_scoped_a01eded5_lang.css +0 -1
  210. package/dist/components/input/file-upload.ce.vue_vue_type_style_index_0_scoped_8fd77a68_lang.css +0 -1
  211. package/dist/components/input/number-field.ce.vue_vue_type_style_index_0_scoped_9eb508b4_lang.css +0 -1
  212. package/dist/components/input/pin-input.ce.vue_vue_type_style_index_0_scoped_0d93e989_lang.css +0 -1
  213. package/dist/components/input/radio-group.ce.vue_vue_type_style_index_0_scoped_fe3edf34_lang.css +0 -1
  214. package/dist/components/input/rating.ce.vue_vue_type_style_index_0_scoped_23c50b69_lang.css +0 -1
  215. package/dist/components/input/tags-input.ce.vue_vue_type_style_index_0_scoped_b46618b2_lang.css +0 -1
  216. package/dist/components/input/textarea.ce.vue_vue_type_style_index_0_scoped_60d0751b_lang.css +0 -1
  217. package/dist/components/input/toggle.ce.vue_vue_type_style_index_0_scoped_a289ae32_lang.css +0 -1
  218. package/dist/components/interaction/chip.ce.vue_vue_type_style_index_0_scoped_541c9ed1_lang.css +0 -1
  219. package/dist/components/interaction/command.ce.vue_vue_type_style_index_0_scoped_11d4f240_lang.css +0 -1
  220. package/dist/components/interaction/context-menu.ce.vue_vue_type_style_index_0_scoped_35d2336c_lang.css +0 -1
  221. package/dist/components/interaction/hover-card.ce.vue_vue_type_style_index_0_scoped_0517aad7_lang.css +0 -1
  222. package/dist/components/interaction/loading-overlay.ce.vue_vue_type_style_index_0_scoped_8dd7d4aa_lang.css +0 -1
  223. package/dist/components/interaction/menubar.ce.vue_vue_type_style_index_0_scoped_c4c69411_lang.css +0 -1
  224. package/dist/components/interaction/multi-select.ce.vue_vue_type_style_index_0_scoped_0b8ec686_lang.css +0 -1
  225. package/dist/components/interaction/popconfirm.ce.vue_vue_type_style_index_0_scoped_fae7c69d_lang.css +0 -1
  226. package/dist/components/interaction/popover.ce.vue_vue_type_style_index_0_scoped_be7411d6_lang.css +0 -1
  227. package/dist/components/interaction/tree-select.ce.vue_vue_type_style_index_0_scoped_46d37539_lang.css +0 -1
  228. package/dist/components/navigation/accordion.ce.vue_vue_type_style_index_0_scoped_19d76e75_lang.css +0 -1
  229. package/dist/components/navigation/anchor.ce.vue_vue_type_style_index_0_scoped_b3311001_lang.css +0 -1
  230. package/dist/components/navigation/back-top.ce.vue_vue_type_style_index_0_scoped_231687a3_lang.css +0 -1
  231. package/dist/components/navigation/breadcrumb.ce.vue_vue_type_style_index_0_scoped_2a2cd6e2_lang.css +0 -1
  232. package/dist/components/navigation/carousel.ce.vue_vue_type_style_index_0_scoped_f2081ae5_lang.css +0 -1
  233. package/dist/components/navigation/collapsible.ce.vue_vue_type_style_index_0_scoped_f3cd40e5_lang.css +0 -1
  234. package/dist/components/navigation/link.ce.vue_vue_type_style_index_0_scoped_24e2c032_lang.css +0 -1
  235. package/dist/components/navigation/navigation-menu.ce.vue_vue_type_style_index_0_scoped_5a0a5b21_lang.css +0 -1
  236. package/dist/components/navigation/overflow-list.ce.vue_vue_type_style_index_0_scoped_b6fec7f9_lang.css +0 -1
  237. package/dist/components/navigation/scroll-area.ce.vue_vue_type_style_index_0_scoped_78178cc3_lang.css +0 -1
  238. package/dist/components/navigation/splitter.ce.vue_vue_type_style_index_0_scoped_0fbcfa40_lang.css +0 -1
  239. package/dist/components/navigation/stepper.ce.vue_vue_type_style_index_0_scoped_1c703cd8_lang.css +0 -1
  240. package/dist/components/navigation/toolbar.ce.vue_vue_type_style_index_0_scoped_327b9928_lang.css +0 -1
  241. package/dist/components/navigation/visually-hidden.ce.vue_vue_type_style_index_0_scoped_2cc27184_lang.css +0 -1
  242. package/dist/components/shell/app-shell.ce.vue_vue_type_style_index_0_scoped_37292ba0_lang.css +0 -1
  243. package/dist/components/shell/config-provider.ce.vue_vue_type_style_index_0_scoped_d9085095_lang.css +0 -1
  244. package/dist/components/shell/marquee.ce.vue_vue_type_style_index_0_scoped_ac73236c_lang.css +0 -1
  245. package/dist/components/shell/masonry.ce.vue_vue_type_style_index_0_scoped_2fe32054_lang.css +0 -1
  246. package/dist/components/shell/sidebar.ce.vue_vue_type_style_index_0_scoped_f50127b6_lang.css +0 -1
  247. package/dist/components/utility/affix.ce.vue_vue_type_style_index_0_scoped_f21e108b_lang.css +0 -1
  248. package/dist/components/utility/alert-dialog.ce.vue_vue_type_style_index_0_scoped_6136c7fb_lang.css +0 -1
  249. package/dist/components/utility/animated-number.ce.vue_vue_type_style_index_0_scoped_23564574_lang.css +0 -1
  250. package/dist/components/utility/float-button.ce.vue_vue_type_style_index_0_scoped_1edb2eb1_lang.css +0 -1
  251. package/dist/components/utility/listbox.ce.vue_vue_type_style_index_0_scoped_8eab8b73_lang.css +0 -1
  252. package/dist/components/utility/loading-bar.ce.vue_vue_type_style_index_0_scoped_4109ea9a_lang.css +0 -1
  253. package/dist/components/utility/log-viewer.ce.vue_vue_type_style_index_0_scoped_f5be4658_lang.css +0 -1
  254. package/dist/components/utility/notification-queue.ce.vue_vue_type_style_index_0_scoped_75bf46e7_lang.css +0 -1
  255. package/dist/components/utility/progress-group.ce.vue_vue_type_style_index_0_scoped_d4453504_lang.css +0 -1
  256. package/dist/components/utility/qr-code.ce.vue_vue_type_style_index_0_scoped_3ef776fe_lang.css +0 -1
  257. package/dist/components/utility/tag-group.ce.vue_vue_type_style_index_0_scoped_de9894bd_lang.css +0 -1
  258. package/dist/components/utility/tour.ce.vue_vue_type_style_index_0_scoped_b5823fc3_lang.css +0 -1
  259. package/dist/components/utility/virtual-select.ce.vue_vue_type_style_index_0_scoped_d1821f4c_lang.css +0 -1
  260. package/dist/components/utility/watermark.ce.vue_vue_type_style_index_0_scoped_62e7022f_lang.css +0 -1
  261. package/dist/kima-theme.js +0 -1589
  262. package/dist/styles/accordion.css +0 -4
  263. package/dist/styles/affix.css +0 -2
  264. package/dist/styles/alert-dialog.css +0 -5
  265. package/dist/styles/alert.css +0 -4
  266. package/dist/styles/anchor.css +0 -3
  267. package/dist/styles/angle-slider.css +0 -2
  268. package/dist/styles/animated-number.css +0 -2
  269. package/dist/styles/app-shell.css +0 -6
  270. package/dist/styles/avatar-group.css +0 -4
  271. package/dist/styles/avatar.css +0 -3
  272. package/dist/styles/back-top.css +0 -3
  273. package/dist/styles/banner.css +0 -4
  274. package/dist/styles/blockquote.css +0 -3
  275. package/dist/styles/button-group.css +0 -3
  276. package/dist/styles/calendar.css +0 -2
  277. package/dist/styles/card.css +0 -2
  278. package/dist/styles/carousel.css +0 -5
  279. package/dist/styles/cascader.css +0 -3
  280. package/dist/styles/chart.css +0 -3
  281. package/dist/styles/checkbox-group.css +0 -3
  282. package/dist/styles/chip.css +0 -5
  283. package/dist/styles/code-block.css +0 -5
  284. package/dist/styles/code-editor.css +0 -5
  285. package/dist/styles/color-picker.css +0 -2
  286. package/dist/styles/command.css +0 -5
  287. package/dist/styles/config-provider.css +0 -2
  288. package/dist/styles/context-menu.css +0 -3
  289. package/dist/styles/copy-button.css +0 -3
  290. package/dist/styles/countdown.css +0 -2
  291. package/dist/styles/date-field.css +0 -2
  292. package/dist/styles/date-picker.css +0 -3
  293. package/dist/styles/date-range-picker.css +0 -4
  294. package/dist/styles/descriptions.css +0 -2
  295. package/dist/styles/drawer.css +0 -3
  296. package/dist/styles/dynamic-input.css +0 -6
  297. package/dist/styles/editable.css +0 -3
  298. package/dist/styles/empty-state.css +0 -2
  299. package/dist/styles/equation.css +0 -2
  300. package/dist/styles/error-state.css +0 -4
  301. package/dist/styles/field-group.css +0 -2
  302. package/dist/styles/field.css +0 -2
  303. package/dist/styles/file-upload.css +0 -5
  304. package/dist/styles/flex.css +0 -2
  305. package/dist/styles/float-button.css +0 -4
  306. package/dist/styles/form.css +0 -2
  307. package/dist/styles/grid.css +0 -2
  308. package/dist/styles/heatmap.css +0 -3
  309. package/dist/styles/highlight.css +0 -2
  310. package/dist/styles/hover-card.css +0 -3
  311. package/dist/styles/icon-button.css +0 -3
  312. package/dist/styles/image-preview.css +0 -6
  313. package/dist/styles/infinite-scroll.css +0 -4
  314. package/dist/styles/input-group.css +0 -2
  315. package/dist/styles/json-input.css +0 -3
  316. package/dist/styles/layout.css +0 -2
  317. package/dist/styles/link.css +0 -2
  318. package/dist/styles/list.css +0 -2
  319. package/dist/styles/listbox.css +0 -3
  320. package/dist/styles/loading-bar.css +0 -2
  321. package/dist/styles/loading-overlay.css +0 -3
  322. package/dist/styles/log-viewer.css +0 -6
  323. package/dist/styles/long-text.css +0 -3
  324. package/dist/styles/marquee.css +0 -3
  325. package/dist/styles/masked-input.css +0 -2
  326. package/dist/styles/masonry.css +0 -2
  327. package/dist/styles/mention.css +0 -2
  328. package/dist/styles/menubar.css +0 -4
  329. package/dist/styles/multi-select.css +0 -6
  330. package/dist/styles/navigation-menu.css +0 -5
  331. package/dist/styles/notification-queue.css +0 -4
  332. package/dist/styles/notification.css +0 -3
  333. package/dist/styles/number-field.css +0 -3
  334. package/dist/styles/overflow-list.css +0 -3
  335. package/dist/styles/page-header.css +0 -2
  336. package/dist/styles/pagination.css +0 -3
  337. package/dist/styles/period-picker.css +0 -2
  338. package/dist/styles/pin-input.css +0 -2
  339. package/dist/styles/popconfirm.css +0 -4
  340. package/dist/styles/progress-group.css +0 -3
  341. package/dist/styles/qr-code.css +0 -2
  342. package/dist/styles/range-slider.css +0 -2
  343. package/dist/styles/rating.css +0 -4
  344. package/dist/styles/relative-time.css +0 -2
  345. package/dist/styles/result.css +0 -3
  346. package/dist/styles/rich-text-editor.css +0 -6
  347. package/dist/styles/ring-progress.css +0 -2
  348. package/dist/styles/scroll-area.css +0 -2
  349. package/dist/styles/sidebar.css +0 -9
  350. package/dist/styles/spinner.css +0 -2
  351. package/dist/styles/splitter.css +0 -2
  352. package/dist/styles/statistic.css +0 -2
  353. package/dist/styles/stepper.css +0 -3
  354. package/dist/styles/tag-group.css +0 -6
  355. package/dist/styles/tags-input.css +0 -3
  356. package/dist/styles/time-display.css +0 -2
  357. package/dist/styles/time-field.css +0 -2
  358. package/dist/styles/time-picker.css +0 -3
  359. package/dist/styles/time-range-picker.css +0 -2
  360. package/dist/styles/timeline.css +0 -3
  361. package/dist/styles/toggle.css +0 -2
  362. package/dist/styles/toolbar.css +0 -2
  363. package/dist/styles/tour.css +0 -3
  364. package/dist/styles/transfer.css +0 -3
  365. package/dist/styles/tree-select.css +0 -6
  366. package/dist/styles/typography.css +0 -2
  367. package/dist/styles/upload-manager.css +0 -7
  368. package/dist/styles/virtual-scroll.css +0 -2
  369. package/dist/styles/virtual-select.css +0 -2
  370. package/dist/styles/virtual-table.css +0 -4
  371. package/dist/styles/virtual-tree.css +0 -3
  372. package/dist/styles/visually-hidden.css +0 -2
  373. package/dist/styles/watermark.css +0 -2
  374. package/dist/vue/components/advanced-input/calendar.ce.js +0 -216
  375. package/dist/vue/components/advanced-input/date-range-picker.ce.js +0 -224
  376. package/dist/vue/components/advanced-input/editable.ce.js +0 -161
  377. package/dist/vue/components/advanced-input/mention.ce.js +0 -181
  378. package/dist/vue/components/advanced-input/range-slider.ce.js +0 -111
  379. package/dist/vue/components/advanced-input/time-range-picker.ce.js +0 -120
  380. package/dist/vue/components/advanced-input/transfer.ce.js +0 -192
  381. package/dist/vue/components/content/chart.ce.js +0 -282
  382. package/dist/vue/components/content/code-editor.ce.js +0 -314
  383. package/dist/vue/components/content/equation.ce.js +0 -69
  384. package/dist/vue/components/content/heatmap.ce.js +0 -148
  385. package/dist/vue/components/content/rich-text-editor.ce.js +0 -346
  386. package/dist/vue/components/core/button-group.ce.js +0 -142
  387. package/dist/vue/components/core/card.ce.js +0 -73
  388. package/dist/vue/components/core/cascader.ce.js +0 -329
  389. package/dist/vue/components/core/code-block.ce.js +0 -131
  390. package/dist/vue/components/core/date-picker.ce.js +0 -433
  391. package/dist/vue/components/core/drawer.ce.js +0 -234
  392. package/dist/vue/components/core/empty-state.ce.js +0 -58
  393. package/dist/vue/components/core/icon-button.ce.js +0 -93
  394. package/dist/vue/components/core/layout.ce.js +0 -68
  395. package/dist/vue/components/core/notification.ce.js +0 -189
  396. package/dist/vue/components/core/pagination.ce.js +0 -158
  397. package/dist/vue/components/core/time-picker.ce.js +0 -486
  398. package/dist/vue/components/core/virtual-scroll.ce.js +0 -176
  399. package/dist/vue/components/data/copy-button.ce.js +0 -75
  400. package/dist/vue/components/data/image-preview.ce.js +0 -226
  401. package/dist/vue/components/data/infinite-scroll.ce.js +0 -126
  402. package/dist/vue/components/data/long-text.ce.js +0 -70
  403. package/dist/vue/components/data/relative-time.ce.js +0 -77
  404. package/dist/vue/components/data/ring-progress.ce.js +0 -87
  405. package/dist/vue/components/data/virtual-table.ce.js +0 -178
  406. package/dist/vue/components/data/virtual-tree.ce.js +0 -213
  407. package/dist/vue/components/display/alert.ce.js +0 -101
  408. package/dist/vue/components/display/avatar-group.ce.js +0 -65
  409. package/dist/vue/components/display/avatar.ce.js +0 -84
  410. package/dist/vue/components/display/blockquote.ce.js +0 -44
  411. package/dist/vue/components/display/countdown.ce.js +0 -77
  412. package/dist/vue/components/display/descriptions.ce.js +0 -43
  413. package/dist/vue/components/display/highlight.ce.js +0 -48
  414. package/dist/vue/components/display/list.ce.js +0 -73
  415. package/dist/vue/components/display/result.ce.js +0 -57
  416. package/dist/vue/components/display/spinner.ce.js +0 -42
  417. package/dist/vue/components/display/statistic.ce.js +0 -71
  418. package/dist/vue/components/display/timeline.ce.js +0 -60
  419. package/dist/vue/components/form-completion/angle-slider.ce.js +0 -103
  420. package/dist/vue/components/form-completion/color-picker.ce.js +0 -286
  421. package/dist/vue/components/form-completion/date-field.ce.js +0 -131
  422. package/dist/vue/components/form-completion/dynamic-input.ce.js +0 -171
  423. package/dist/vue/components/form-completion/form.ce.js +0 -248
  424. package/dist/vue/components/form-completion/json-input.ce.js +0 -114
  425. package/dist/vue/components/form-completion/masked-input.ce.js +0 -88
  426. package/dist/vue/components/form-completion/period-picker.ce.js +0 -147
  427. package/dist/vue/components/form-completion/time-field.ce.js +0 -120
  428. package/dist/vue/components/form-completion/upload-manager.ce.js +0 -232
  429. package/dist/vue/components/foundation/banner.ce.js +0 -106
  430. package/dist/vue/components/foundation/error-state.ce.js +0 -108
  431. package/dist/vue/components/foundation/field-group.ce.js +0 -146
  432. package/dist/vue/components/foundation/flex.ce.js +0 -60
  433. package/dist/vue/components/foundation/grid.ce.js +0 -52
  434. package/dist/vue/components/foundation/input-group.ce.js +0 -34
  435. package/dist/vue/components/foundation/page-header.ce.js +0 -55
  436. package/dist/vue/components/foundation/time-display.ce.js +0 -129
  437. package/dist/vue/components/foundation/typography.ce.js +0 -71
  438. package/dist/vue/components/input/checkbox-group.ce.js +0 -93
  439. package/dist/vue/components/input/field.ce.js +0 -76
  440. package/dist/vue/components/input/file-upload.ce.js +0 -154
  441. package/dist/vue/components/input/number-field.ce.js +0 -103
  442. package/dist/vue/components/input/pin-input.ce.js +0 -112
  443. package/dist/vue/components/input/rating.ce.js +0 -115
  444. package/dist/vue/components/input/tags-input.ce.js +0 -159
  445. package/dist/vue/components/input/toggle.ce.js +0 -58
  446. package/dist/vue/components/interaction/chip.ce.js +0 -95
  447. package/dist/vue/components/interaction/command.ce.js +0 -161
  448. package/dist/vue/components/interaction/context-menu.ce.js +0 -113
  449. package/dist/vue/components/interaction/hover-card.ce.js +0 -92
  450. package/dist/vue/components/interaction/loading-overlay.ce.js +0 -70
  451. package/dist/vue/components/interaction/menubar.ce.js +0 -134
  452. package/dist/vue/components/interaction/multi-select.ce.js +0 -271
  453. package/dist/vue/components/interaction/popconfirm.ce.js +0 -95
  454. package/dist/vue/components/interaction/tree-select.ce.js +0 -195
  455. package/dist/vue/components/navigation/accordion.ce.js +0 -114
  456. package/dist/vue/components/navigation/anchor.ce.js +0 -125
  457. package/dist/vue/components/navigation/back-top.ce.js +0 -67
  458. package/dist/vue/components/navigation/carousel.ce.js +0 -128
  459. package/dist/vue/components/navigation/link.ce.js +0 -62
  460. package/dist/vue/components/navigation/navigation-menu.ce.js +0 -91
  461. package/dist/vue/components/navigation/overflow-list.ce.js +0 -67
  462. package/dist/vue/components/navigation/scroll-area.ce.js +0 -47
  463. package/dist/vue/components/navigation/splitter.ce.js +0 -131
  464. package/dist/vue/components/navigation/stepper.ce.js +0 -74
  465. package/dist/vue/components/navigation/toolbar.ce.js +0 -93
  466. package/dist/vue/components/navigation/visually-hidden.ce.js +0 -16
  467. package/dist/vue/components/shell/app-shell.ce.js +0 -98
  468. package/dist/vue/components/shell/config-provider.ce.js +0 -110
  469. package/dist/vue/components/shell/marquee.ce.js +0 -92
  470. package/dist/vue/components/shell/masonry.ce.js +0 -50
  471. package/dist/vue/components/shell/sidebar.ce.js +0 -136
  472. package/dist/vue/components/utility/affix.ce.js +0 -64
  473. package/dist/vue/components/utility/alert-dialog.ce.js +0 -124
  474. package/dist/vue/components/utility/animated-number.ce.js +0 -66
  475. package/dist/vue/components/utility/float-button.ce.js +0 -104
  476. package/dist/vue/components/utility/listbox.ce.js +0 -102
  477. package/dist/vue/components/utility/loading-bar.ce.js +0 -85
  478. package/dist/vue/components/utility/log-viewer.ce.js +0 -141
  479. package/dist/vue/components/utility/notification-queue.ce.js +0 -122
  480. package/dist/vue/components/utility/progress-group.ce.js +0 -63
  481. package/dist/vue/components/utility/qr-code.ce.js +0 -62
  482. package/dist/vue/components/utility/tag-group.ce.js +0 -127
  483. package/dist/vue/components/utility/tour.ce.js +0 -214
  484. package/dist/vue/components/utility/virtual-select.ce.js +0 -207
  485. package/dist/vue/components/utility/watermark.ce.js +0 -44
  486. package/dist/vue/internal/navigation-items.js +0 -110
  487. package/dist/vue/utils/code-highlight.js +0 -142
  488. package/dist/vue/utils/collection.js +0 -15
  489. package/dist/vue/utils/config.js +0 -47
  490. package/dist/vue/utils/content.js +0 -83
  491. package/dist/vue/utils/display-status.js +0 -31
  492. package/dist/vue/utils/foundation.js +0 -65
  493. package/dist/vue/utils/local-date.js +0 -48
  494. package/dist/vue/utils/notifications.js +0 -60
  495. package/dist/vue/utils/qr.js +0 -20
  496. package/dist/vue/utils/scoped-slots.js +0 -22
  497. package/dist/vue/utils/theme.js +0 -56
  498. package/dist/vue/utils/utility-choice.js +0 -56
@@ -1,16 +1,367 @@
1
- import e from "../../_virtual/_plugin-vue_export-helper.js";
1
+ import { useNormalizedRadius as e } from "../../utils/radius.js";
2
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
2
3
  /* empty css */
3
- import { Transition as t, computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createVNode as o, getCurrentInstance as s, mergeProps as c, openBlock as l, unref as u, useAttrs as d, withCtx as f } from "vue";
4
+ import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, getCurrentInstance as s, markRaw as c, mergeProps as l, nextTick as u, normalizeClass as d, normalizeStyle as f, onBeforeUnmount as p, onMounted as m, openBlock as h, ref as g, renderSlot as _, unref as v, useAttrs as y, watch as b } from "vue";
4
5
  // src/components/core/progress.ce.vue
5
- var p = { class: "kima-progress" }, m = { class: "kima-progress__track" }, h = [
6
- "value",
7
- "max",
6
+ var x = [
7
+ "aria-valuenow",
8
+ "aria-valuemax",
8
9
  "aria-label"
9
- ], g = {
10
+ ], ee = {
10
11
  key: 0,
11
- class: "kima-progress__motion",
12
+ class: "track"
13
+ }, te = { class: "primary" }, ne = [
14
+ "width",
15
+ "height",
16
+ "viewBox"
17
+ ], re = ["d", "stroke-width"], ie = {
18
+ key: 1,
19
+ class: "complete"
20
+ }, ae = {
21
+ key: 0,
22
+ class: "gap"
23
+ }, oe = {
24
+ key: 2,
25
+ class: "secondary"
26
+ }, se = {
27
+ key: 3,
28
+ class: "gap"
29
+ }, ce = {
30
+ key: 4,
31
+ class: "buffer"
32
+ }, le = [
33
+ "width",
34
+ "height",
35
+ "viewBox"
36
+ ], ue = [
37
+ "id",
38
+ "width",
39
+ "height"
40
+ ], de = ["width", "height"], fe = ["height"], pe = ["height"], me = [
41
+ "id",
42
+ "width",
43
+ "height"
44
+ ], he = ["width", "height"], ge = ["height"], _e = ["height"], ve = ["mask"], ye = ["d", "stroke-width"], be = ["mask"], xe = ["height"], Se = {
45
+ key: 0,
46
+ class: "progress",
47
+ "aria-hidden": "true"
48
+ }, Ce = { class: "spinner" }, we = { class: "left" }, Te = [
49
+ "width",
50
+ "height",
51
+ "viewBox"
52
+ ], Ee = ["d", "stroke-width"], De = { class: "right" }, Oe = [
53
+ "width",
54
+ "height",
55
+ "viewBox"
56
+ ], ke = ["d", "stroke-width"], Ae = {
57
+ key: 1,
58
+ class: "progress",
59
+ "aria-hidden": "true"
60
+ }, je = [
61
+ "width",
62
+ "height",
63
+ "viewBox"
64
+ ], Me = ["d", "stroke-width"], Ne = ["d", "stroke-width"], Pe = {
65
+ class: "content",
66
+ "aria-hidden": "true"
67
+ }, Fe = {
68
+ key: 0,
69
+ class: "progress",
12
70
  "aria-hidden": "true"
13
- }, _ = /*#__PURE__*/ e(/* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
71
+ }, Ie = [
72
+ "width",
73
+ "height",
74
+ "viewBox"
75
+ ], Le = ["d", "stroke-width"], Re = ["stroke-width"], ze = ["viewBox"], Be = {
76
+ key: 0,
77
+ class: "active-track"
78
+ }, Ve = [
79
+ "d",
80
+ "stroke-dasharray",
81
+ "stroke-width"
82
+ ], He = ["d", "stroke-width"], Ue = {
83
+ class: "content",
84
+ "aria-hidden": "true"
85
+ };
86
+ function We(e, t) {
87
+ return t > 0 ? Math.max(0, Math.min(e / t, 1)) : 0;
88
+ }
89
+ function Ge(e, t, n) {
90
+ return n || e > .1 && e < .95 ? Math.max(0, t) : 0;
91
+ }
92
+ function S(e, t, n, r, i) {
93
+ if (e <= 0 || e >= 1) return e;
94
+ let a = 0, o = 1;
95
+ for (let n = 0; n < 20; n++) {
96
+ let n = (a + o) / 2;
97
+ 3 * (1 - n) * (1 - n) * n * t + 3 * (1 - n) * n * n * r + n * n * n < e ? a = n : o = n;
98
+ }
99
+ let s = (a + o) / 2;
100
+ return 3 * (1 - s) * (1 - s) * s * n + 3 * (1 - s) * s * s * i + s * s * s;
101
+ }
102
+ var Ke = class {
103
+ constructor() {
104
+ this.value = void 0, this._target = 0, this._from = 0, this._start = void 0;
105
+ }
106
+ get animating() {
107
+ return this._start !== void 0;
108
+ }
109
+ setTarget(e, t) {
110
+ this.value === void 0 ? this.value = this._target = e : e !== this._target && (this.sample(t), this._from = this.value, this._target = e, this._start = t);
111
+ }
112
+ sample(e) {
113
+ if (this._start === void 0) return !1;
114
+ let t = this.value, n = Math.max(0, Math.min(1, (e - this._start) / .5)), r = this._target > this._from ? S(n, .2, 0, 0, 1) : S(n, .3, 0, .8, .15);
115
+ return this.value = this._from + (this._target - this._from) * r, n === 1 && (this.value = this._target, this._start = void 0), this.value !== t;
116
+ }
117
+ reset() {
118
+ this.value = void 0, this._start = void 0;
119
+ }
120
+ };
121
+ function qe({ width: e, strokeWidth: t, configuredAmplitude: n, amplitude: r, wavelength: i, phase: a = 0 }) {
122
+ let o = Math.max(n, r), s = o + t / 2, c = [], l = i / 2, u = 0;
123
+ if (c.push(`M ${u},${s}`), r === 0) c.push(`H ${e}`);
124
+ else for (; u <= e;) {
125
+ let e = u + l, t = s + r * Math.sin(2 * Math.PI * e / i + a), n = u + l / 2, o = s + r * Math.sin(2 * Math.PI * (u + l / 2) / i + a);
126
+ c.push(`Q ${n},${o} ${e},${t}`), u += l;
127
+ }
128
+ let d = t + o * 2, f = `0 0 ${e} ${d}`;
129
+ return {
130
+ path: c.join(" "),
131
+ viewBox: f,
132
+ height: d
133
+ };
134
+ }
135
+ function Je(e, t, n, r) {
136
+ if (n === "wavy") {
137
+ let n = Math.max(0, (e - t) / 2);
138
+ return {
139
+ cx: e / 2,
140
+ cy: e / 2,
141
+ r: n,
142
+ padding: 0
143
+ };
144
+ }
145
+ r += t / 2;
146
+ let i = e / 2;
147
+ return {
148
+ cx: i + r,
149
+ cy: i + r,
150
+ r: i,
151
+ padding: r
152
+ };
153
+ }
154
+ function Ye(e, t) {
155
+ return t > 0 ? e * (360 / (2 * Math.PI * t)) : 0;
156
+ }
157
+ function Xe(e, t) {
158
+ let n = (t - 90) * (Math.PI / 180);
159
+ return {
160
+ x: e.cx + e.r * Math.cos(n),
161
+ y: e.cy + e.r * Math.sin(n)
162
+ };
163
+ }
164
+ function Ze(e, t, n, { startAngle: r = 0, endAngle: i = 360, gap: a = 0, padding: o = 0 }) {
165
+ if (e === 0 || t === 0) return {
166
+ path: "",
167
+ viewBox: "0 0 0 0"
168
+ };
169
+ let s = Je(e, t, n, o);
170
+ if (a > 0 && (r += Ye(a, s.r), i -= Ye(a, s.r)), n === "wavy" && i <= r) return {
171
+ path: "",
172
+ viewBox: `0 0 ${e} ${e}`
173
+ };
174
+ i - r >= 360 && (i = r + 359.999);
175
+ let c = Xe(s, i), l = Xe(s, r);
176
+ return {
177
+ path: `M ${c.x} ${c.y} A ${s.r} ${s.r} 0 ${i - r <= 180 ? "0" : "1"} 0 ${l.x} ${l.y}`,
178
+ viewBox: `0 0 ${e + s.padding * 2} ${e + s.padding * 2}`
179
+ };
180
+ }
181
+ function C(e, t, n) {
182
+ return {
183
+ x: e.x + (t.x - e.x) * n,
184
+ y: e.y + (t.y - e.y) * n
185
+ };
186
+ }
187
+ function w(e, t) {
188
+ return e.x * t.y - e.y * t.x;
189
+ }
190
+ function Qe(e, t, n, r) {
191
+ let i = n + r, a = 4 / 3 * Math.tan(r / 4) * t, o = {
192
+ x: e.x + t * Math.cos(n),
193
+ y: e.y + t * Math.sin(n)
194
+ }, s = {
195
+ x: e.x + t * Math.cos(i),
196
+ y: e.y + t * Math.sin(i)
197
+ };
198
+ return [
199
+ o,
200
+ {
201
+ x: o.x - a * Math.sin(n),
202
+ y: o.y + a * Math.cos(n)
203
+ },
204
+ {
205
+ x: s.x + a * Math.sin(i),
206
+ y: s.y - a * Math.cos(i)
207
+ },
208
+ s
209
+ ];
210
+ }
211
+ function $e(e, t, n) {
212
+ let r = Math.PI * Math.max(0, e - t);
213
+ return n > 0 ? Math.min(256, Math.max(5, Math.round(r / n))) : 5;
214
+ }
215
+ function et(e) {
216
+ let t = Array.from({ length: e * 2 }, (t, n) => {
217
+ let r = -Math.PI / 2 + n * Math.PI / e, i = n % 2 == 0 ? 1 : .75;
218
+ return {
219
+ x: i * Math.cos(r),
220
+ y: i * Math.sin(r)
221
+ };
222
+ }), n = t.map((e, n) => {
223
+ let r = t[(n + t.length - 1) % t.length], i = t[(n + 1) % t.length], a = Math.hypot(r.x - e.x, r.y - e.y), o = {
224
+ x: (r.x - e.x) / a,
225
+ y: (r.y - e.y) / a
226
+ }, s = {
227
+ x: (i.x - e.x) / a,
228
+ y: (i.y - e.y) / a
229
+ }, c = Math.acos(Math.max(-1, Math.min(1, o.x * s.x + o.y * s.y))) / 2;
230
+ return {
231
+ vertex: e,
232
+ u: o,
233
+ v: s,
234
+ length: a,
235
+ halfAngle: c,
236
+ cut: (n % 2 == 0 ? .35 : .5) / Math.tan(c),
237
+ extra: 0
238
+ };
239
+ }), r = Math.min(1, ...n.map((e, t) => e.length / (e.cut + n[(t + 1) % n.length].cut)));
240
+ n.forEach((e, t) => {
241
+ e.cut *= r, e.extra = t % 2 == 0 ? e.cut * .4 : 0;
242
+ });
243
+ let i = Math.min(1, ...n.map((e, t) => {
244
+ let r = n[(t + 1) % n.length];
245
+ return e.extra + r.extra > 0 ? Math.max(0, e.length - e.cut - r.cut) / (e.extra + r.extra) : 1;
246
+ }));
247
+ n.forEach((e) => e.extra *= i);
248
+ let a = [], o = 0;
249
+ n.forEach((e, t) => {
250
+ let { vertex: n, u: r, v: i, cut: s, extra: c, halfAngle: l } = e, u = s * Math.tan(l), d = s / (1 + r.x * i.x + r.y * i.y), f = {
251
+ x: n.x + (r.x + i.x) * d,
252
+ y: n.y + (r.y + i.y) * d
253
+ }, p = {
254
+ x: n.x + r.x * s,
255
+ y: n.y + r.y * s
256
+ }, m = Math.sign(i.x * r.y - i.y * r.x), h = m * (Math.PI - l * 2), g = Math.atan2(p.y - f.y, p.x - f.x), _ = h * c / (2 * (s + c)), v = 2 * Math.max(1, Math.ceil(Math.abs(h - 2 * _) / (Math.PI / 2))), y = Array.from({ length: v }, (e, t) => Qe(f, u, g + _ + (h - 2 * _) * t / v, (h - 2 * _) / v)), b = {
257
+ x: n.x + r.x * (s + c),
258
+ y: n.y + r.y * (s + c)
259
+ }, x = {
260
+ x: n.x + i.x * (s + c),
261
+ y: n.y + i.y * (s + c)
262
+ };
263
+ if (a.length > 0) {
264
+ let e = a[a.length - 1][3];
265
+ Math.hypot(b.x - e.x, b.y - e.y) > 1e-9 && a.push([
266
+ e,
267
+ C(e, b, 1 / 3),
268
+ C(e, b, 2 / 3),
269
+ b
270
+ ]);
271
+ }
272
+ if (c > 1e-9) {
273
+ let e = y[0][0], t = g + _, n = Math.hypot(e.x - b.x, e.y - b.y) / 3;
274
+ a.push([
275
+ b,
276
+ {
277
+ x: b.x - r.x * n,
278
+ y: b.y - r.y * n
279
+ },
280
+ {
281
+ x: e.x + m * Math.sin(t) * n,
282
+ y: e.y - m * Math.cos(t) * n
283
+ },
284
+ e
285
+ ]);
286
+ }
287
+ if (t === 0 && (o = a.length + v / 2), a.push(...y), c > 1e-9) {
288
+ let e = y[y.length - 1][3], t = g + h - _, n = Math.hypot(x.x - e.x, x.y - e.y) / 3;
289
+ a.push([
290
+ e,
291
+ {
292
+ x: e.x - m * Math.sin(t) * n,
293
+ y: e.y + m * Math.cos(t) * n
294
+ },
295
+ {
296
+ x: x.x - i.x * n,
297
+ y: x.y - i.y * n
298
+ },
299
+ x
300
+ ]);
301
+ }
302
+ });
303
+ let s = a[a.length - 1][3], c = a[0][0];
304
+ Math.hypot(s.x - c.x, s.y - c.y) > 1e-9 && a.push([
305
+ s,
306
+ C(s, c, 1 / 3),
307
+ C(s, c, 2 / 3),
308
+ c
309
+ ]);
310
+ let l = [...a.slice(o), ...a.slice(0, o)], u = Math.hypot(l[0][0].x, l[0][0].y), d = (e) => ({
311
+ x: e.x / u,
312
+ y: e.y / u
313
+ }), f = l.map((e) => [
314
+ d(e[0]),
315
+ d(e[1]),
316
+ d(e[2]),
317
+ d(e[3])
318
+ ]), p = f.map((e) => {
319
+ let t = Math.atan2(e[0].y, e[0].x);
320
+ return Qe({
321
+ x: 0,
322
+ y: 0
323
+ }, 1, t, (Math.atan2(e[3].y, e[3].x) - t + 2 * Math.PI) % (2 * Math.PI));
324
+ }), m = 1 / (1 - Math.min(...f.flatMap((e) => [Math.hypot(e[0].x, e[0].y), Math.hypot(e[3].x, e[3].y)])));
325
+ return f.forEach((e, t) => {
326
+ for (let n = 0; n < 3; n++) {
327
+ let r = p[t][n], i = p[t][n + 1], a = {
328
+ x: e[n].x - r.x,
329
+ y: e[n].y - r.y
330
+ }, o = {
331
+ x: e[n + 1].x - i.x,
332
+ y: e[n + 1].y - i.y
333
+ }, s = w(a, o), c = w(a, i) + w(r, o), l = w(r, i), u = c * c - 4 * s * l, d = [];
334
+ Math.abs(s) < 1e-12 ? c < 0 && (d = [-l / c]) : u >= 0 && (d = [(-c - Math.sqrt(u)) / (2 * s), (-c + Math.sqrt(u)) / (2 * s)]);
335
+ for (let e of d) e > 1 && (m = Math.min(m, e));
336
+ }
337
+ }), {
338
+ star: f,
339
+ circle: p,
340
+ maxDeformation: m
341
+ };
342
+ }
343
+ function tt(e, t, n, r) {
344
+ let i = Math.max(0, Math.min(r, e.maxDeformation)), a = e.star.map((r, a) => r.map((r, o) => {
345
+ let s = C(e.circle[a][o], r, i);
346
+ return {
347
+ x: n + s.x * t,
348
+ y: n + s.y * t
349
+ };
350
+ }));
351
+ return `M ${a[0][0].x},${a[0][0].y} ` + a.map((e) => `C ${e[1].x},${e[1].y} ${e[2].x},${e[2].y} ${e[3].x},${e[3].y}`).join(" ") + " Z";
352
+ }
353
+ var T = 6;
354
+ function nt(e, t) {
355
+ let n = e % T, r = T / 2, i = n < r ? 36 + n / r * 277.2 : 313.2 - 277.2 * S((n - r) / r, .2, 0, 0, 1), a = Math.floor(n / 1.5), o = Math.min(n % 1.5 / .3, 1), s = n / T * 1080 + (a + o) * 90, c = e / t % 1, l = i / 3.6;
356
+ return {
357
+ sweep: i,
358
+ rotation: s,
359
+ waveRotation: -c * 360,
360
+ dashOffset: -c * 100,
361
+ dashArray: `${l} ${100 - l}`
362
+ };
363
+ }
364
+ var E = /*#__PURE__*/ t(/* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
14
365
  __name: "progress.ce",
15
366
  props: {
16
367
  value: {
@@ -21,29 +372,441 @@ var p = { class: "kima-progress" }, m = { class: "kima-progress__track" }, h = [
21
372
  type: Number,
22
373
  default: 100
23
374
  },
375
+ mode: {
376
+ type: String,
377
+ default: void 0
378
+ },
24
379
  indeterminate: {
25
380
  type: Boolean,
26
381
  default: !1
27
382
  },
383
+ bufferValue: {
384
+ type: Number,
385
+ default: 0
386
+ },
387
+ variant: {
388
+ type: String,
389
+ default: "flat"
390
+ },
28
391
  label: {
29
392
  type: String,
30
393
  default: ""
394
+ },
395
+ radius: {
396
+ type: [String, Number],
397
+ default: null
31
398
  }
32
399
  },
33
- setup(e) {
34
- let _ = e, v = d(), y = !!s()?.ce, b = n(() => y ? {
35
- ...v,
400
+ setup(t) {
401
+ let S = (e) => e === "flat" || e === "wavy", Xe = (e) => e === "determinate" || e === "indeterminate" || e === "buffer" || e === "query", C = t, w = y(), Qe = !!s()?.ce, T = r(() => Qe ? {
402
+ ...w,
36
403
  id: void 0
37
- } : v), x = n(() => Number.isFinite(_.max) && _.max > 0 ? _.max : 100), S = n(() => Number.isFinite(_.value) ? Math.max(0, Math.min(x.value, _.value)) : 0);
38
- return (n, s) => (l(), i("div", p, [a("span", m, [a("progress", c(b.value, {
39
- class: "kima-progress__bar",
40
- value: e.indeterminate ? void 0 : S.value,
41
- max: x.value,
42
- "aria-label": u(v)["aria-label"] || e.label || void 0
43
- }), null, 16, h), o(t, { name: "kima-fade" }, {
44
- default: f(() => [e.indeterminate ? (l(), i("span", g, [...s[0] ||= [a("span", null, null, -1)]])) : r("", !0)]),
45
- _: 1
46
- })])]));
47
- }
48
- }), [["__scopeId", "data-v-84d44589"]]);
49
- export { _ as default };
404
+ } : w), E = s()?.uid ?? 0, D = r(() => S(C.variant) ? C.variant : "flat"), O = r(() => C.mode === "circular"), k = r(() => Xe(C.mode) ? C.mode : C.mode === "circular" ? "determinate" : C.indeterminate ? "indeterminate" : "determinate"), A = r(() => O.value ? C.indeterminate : k.value === "indeterminate" || k.value === "query"), j = r(() => Number.isFinite(C.max) && C.max > 0 ? C.max : 100), M = r(() => Math.max(0, Math.min(C.value, j.value))), rt = r(() => Math.max(0, Math.min(C.bufferValue, j.value))), it = r(() => We(M.value, j.value)), N = g(null), { radiusAttrs: at, radiusStyle: ot } = e(N, () => C.radius), P = g(null), st = g(null), ct = g(null), F = g({
405
+ width: 0,
406
+ strokeWidth: 0,
407
+ amplitude: 0,
408
+ wavelength: 0,
409
+ diameter: 0
410
+ }), lt = null, I = new Ke(), L, R = 0, z = g(!1), B = null, V = {
411
+ svg: null,
412
+ active: null,
413
+ track: null
414
+ };
415
+ function ut() {
416
+ if (L = void 0, V.svg = null, V.active = null, V.track = null, !(O.value && D.value === "wavy" && A.value)) return;
417
+ let e = N.value;
418
+ e && (V.svg = c(e.querySelector(".progress > svg") ?? null), V.active = c(e.querySelector(".spinner.active-track") ?? null), V.track = c(e.querySelector(".spinner.track") ?? null));
419
+ }
420
+ function H() {
421
+ if (!N.value) return;
422
+ let e = { ...F.value }, t = st.value;
423
+ t && (e.strokeWidth = t.clientHeight, e.width = Math.round(t.getBoundingClientRect().width));
424
+ let n = P.value;
425
+ if (n) {
426
+ if (O.value) {
427
+ let t = getComputedStyle(n), r = parseFloat(t.width), i = parseFloat(t.height);
428
+ Number.isFinite(r) && (e.amplitude = r), Number.isFinite(i) && (e.wavelength = i);
429
+ } else e.amplitude = n.clientHeight, e.wavelength = n.clientWidth;
430
+ }
431
+ let r = ct.value;
432
+ if (r) {
433
+ if (D.value === "wavy") {
434
+ let t = getComputedStyle(r), n = parseFloat(t.width), i = parseFloat(t.height);
435
+ Number.isFinite(n) && (e.diameter = n), Number.isFinite(i) && (e.strokeWidth = i);
436
+ } else e.diameter = r.clientWidth, e.strokeWidth = r.clientHeight;
437
+ }
438
+ F.value = e;
439
+ }
440
+ function U() {
441
+ return Ge(it.value, F.value.amplitude, A.value);
442
+ }
443
+ function W() {
444
+ return $e(F.value.diameter, F.value.strokeWidth, F.value.wavelength);
445
+ }
446
+ function dt(e) {
447
+ L === void 0 && (L = e);
448
+ let t = nt(e - L, W());
449
+ V.svg && (V.svg.style.transform = `rotate(${t.rotation}deg)`), V.active && (V.active.setAttribute("stroke-dasharray", t.dashArray), V.active.setAttribute("stroke-dashoffset", `${t.dashOffset}`), V.active.style.transform = `rotate(${t.waveRotation}deg)`), V.track && V.track.setAttribute("d", J({
450
+ gap: F.value.strokeWidth * 2,
451
+ startAngle: t.sweep
452
+ }).path);
453
+ }
454
+ function G(e) {
455
+ if (z.value) {
456
+ R = 0;
457
+ return;
458
+ }
459
+ let t = e / 1e3;
460
+ I.sample(t) && (pt(), F.value = { ...F.value }), O.value && D.value === "wavy" && A.value ? (dt(t), R = requestAnimationFrame(G)) : R = I.animating ? requestAnimationFrame(G) : 0;
461
+ }
462
+ function ft() {
463
+ I.reset(), I.setTarget(U(), performance.now() / 1e3);
464
+ }
465
+ function pt() {
466
+ let e = N.value;
467
+ if (!e) return;
468
+ if (D.value !== "wavy") {
469
+ e.style.removeProperty("--_linear-wavy-amplitude");
470
+ return;
471
+ }
472
+ let t = F.value.amplitude, n = `${Math.max(t, I.value ?? t)}px`;
473
+ e.style.getPropertyValue("--_linear-wavy-amplitude") !== n && e.style.setProperty("--_linear-wavy-amplitude", n);
474
+ }
475
+ function K() {
476
+ D.value === "wavy" ? (z.value ? ft() : I.setTarget(U(), performance.now() / 1e3), pt(), !z.value && (I.animating || O.value && A.value) && !R && (R = requestAnimationFrame(G))) : (I.reset(), pt());
477
+ }
478
+ function q() {
479
+ z.value = !!B?.matches, z.value ? (R && cancelAnimationFrame(R), R = 0, L = void 0, K(), O.value && D.value === "wavy" && A.value && dt(0)) : K();
480
+ }
481
+ function mt(e) {
482
+ return Je(F.value.diameter, F.value.strokeWidth, D.value, e);
483
+ }
484
+ function ht(e, t = F.value.amplitude) {
485
+ return Ye(e, mt(t).r);
486
+ }
487
+ function J(e) {
488
+ let { padding: t = F.value.amplitude, ...n } = e;
489
+ return Ze(F.value.diameter, F.value.strokeWidth, D.value, {
490
+ ...n,
491
+ padding: t
492
+ });
493
+ }
494
+ let gt = null, _t = 0;
495
+ function vt() {
496
+ if (F.value.diameter === 0 || F.value.strokeWidth === 0) return {
497
+ path: "",
498
+ viewBox: "0 0 0 0"
499
+ };
500
+ let e = mt(0), t = W();
501
+ gt && _t === t || (gt = et(t), _t = t);
502
+ let n = I.value ?? U();
503
+ return {
504
+ path: tt(gt, e.r, e.cx, n / 1.6),
505
+ viewBox: `0 0 ${F.value.diameter} ${F.value.diameter}`
506
+ };
507
+ }
508
+ let yt = r(() => ({
509
+ "--_translate-x": `-${M.value / j.value * F.value.width}px`,
510
+ "--_value": `${M.value / j.value * 100}%`,
511
+ "--_buffer-value": `${rt.value / j.value * 100}%`
512
+ }));
513
+ function Y() {
514
+ if (D.value !== "wavy" || F.value.strokeWidth <= 0 || F.value.wavelength <= 0) return null;
515
+ let e = k.value === "indeterminate" || k.value === "query" ? F.value.width : F.value.width + F.value.wavelength * 3, t = I.value ?? U();
516
+ return qe({
517
+ width: e,
518
+ strokeWidth: F.value.strokeWidth,
519
+ configuredAmplitude: F.value.amplitude,
520
+ amplitude: t,
521
+ wavelength: F.value.wavelength
522
+ });
523
+ }
524
+ let bt = r(() => !((k.value === "determinate" || k.value === "buffer") && M.value <= 0)), xt = r(() => k.value !== "buffer" || rt.value > 0), St = r(() => (k.value === "determinate" || k.value === "buffer") && M.value > 0), X = r(() => k.value === "determinate" || k.value === "buffer"), Z = r(() => {
525
+ let e = ht(F.value.strokeWidth * 2), t = M.value / j.value * 360;
526
+ t > 0 && (t = Math.max(0, e, t));
527
+ let n = J({
528
+ gap: t < 360 ? F.value.strokeWidth : 0,
529
+ endAngle: t
530
+ }), r = J({
531
+ gap: t > 0 ? F.value.strokeWidth : 0,
532
+ startAngle: t,
533
+ endAngle: 360
534
+ });
535
+ return {
536
+ degrees: t,
537
+ minDegrees: e,
538
+ active: n,
539
+ inactive: r
540
+ };
541
+ }), Q = r(() => ({
542
+ left: J({
543
+ startAngle: -45,
544
+ endAngle: 90 + F.value.strokeWidth
545
+ }),
546
+ right: J({
547
+ startAngle: -F.value.strokeWidth,
548
+ endAngle: 135
549
+ })
550
+ })), $ = r(() => {
551
+ let e = ht(F.value.strokeWidth * 2), t = it.value, n = t * 360;
552
+ return {
553
+ degrees: n,
554
+ minDegrees: e,
555
+ progress: t,
556
+ amplitude: I.value ?? U(),
557
+ active: vt(),
558
+ inactive: J({
559
+ gap: n > 0 ? F.value.strokeWidth * 2 : 0,
560
+ startAngle: n,
561
+ endAngle: 360
562
+ })
563
+ };
564
+ }), Ct = r(() => ({ active: vt() })), wt = r(() => `${W()}s`);
565
+ return m(() => {
566
+ H(), B = window.matchMedia("(prefers-reduced-motion: reduce)"), B.addEventListener("change", q), lt = new ResizeObserver(() => {
567
+ H(), K();
568
+ }), N.value && lt.observe(N.value), ut(), q();
569
+ }), p(() => {
570
+ B?.removeEventListener("change", q), lt?.disconnect(), R && cancelAnimationFrame(R);
571
+ }), b([
572
+ () => C.mode,
573
+ () => C.variant,
574
+ () => C.indeterminate
575
+ ], () => {
576
+ u(() => {
577
+ H(), ut(), q();
578
+ });
579
+ }), b([
580
+ () => C.value,
581
+ () => C.max,
582
+ () => C.bufferValue
583
+ ], () => {
584
+ K();
585
+ }), (e, r) => (h(), a("div", l({
586
+ ref_key: "root",
587
+ ref: N,
588
+ class: ["kima-progress", [
589
+ O.value ? "kima-progress--circular" : "kima-progress--linear",
590
+ `kima-progress--${D.value}`,
591
+ O.value ? { "kima-progress--indeterminate": A.value } : `kima-progress--${k.value}`
592
+ ]],
593
+ role: "progressbar",
594
+ "aria-valuemin": 0,
595
+ "aria-valuenow": A.value ? void 0 : M.value,
596
+ "aria-valuemax": j.value,
597
+ "aria-label": v(w)["aria-label"] || t.label || void 0
598
+ }, {
599
+ ...T.value,
600
+ ...v(at)
601
+ }, { style: v(ot) }), [
602
+ O.value ? i("", !0) : (h(), a("div", {
603
+ key: 0,
604
+ class: "progress",
605
+ "aria-hidden": "true",
606
+ style: f(yt.value)
607
+ }, [
608
+ Y() ? i("", !0) : (h(), a("div", ee)),
609
+ X.value || bt.value ? (h(), a(n, { key: 1 }, [o("div", te, [Y() && X.value ? (h(), a(n, { key: 0 }, [j.value > 0 && M.value >= j.value && v(I).value === 0 ? i("", !0) : (h(), a("svg", {
610
+ key: 0,
611
+ class: "wave",
612
+ width: Y().viewBox.split(" ")[2],
613
+ height: Y().height,
614
+ viewBox: Y().viewBox,
615
+ preserveAspectRatio: "none"
616
+ }, [o("path", {
617
+ class: "wave-path",
618
+ d: Y().path,
619
+ stroke: "currentColor",
620
+ "stroke-width": F.value.strokeWidth,
621
+ fill: "none",
622
+ "stroke-linecap": "round"
623
+ }, null, 8, re)], 8, ne))], 64)) : i("", !0), Y() && X.value && j.value > 0 && M.value >= j.value && v(I).value === 0 ? (h(), a("div", ie)) : i("", !0)]), X.value && M.value > 0 ? (h(), a("div", ae)) : i("", !0)], 64)) : i("", !0),
624
+ xt.value ? (h(), a("div", oe)) : i("", !0),
625
+ k.value === "buffer" && rt.value > 0 ? (h(), a("div", se)) : i("", !0),
626
+ k.value === "buffer" ? (h(), a("div", ce)) : i("", !0),
627
+ St.value ? (h(), a(n, { key: 5 }, [r[0] ||= o("div", { class: "gap" }, null, -1), r[1] ||= o("div", { class: "stop" }, null, -1)], 64)) : i("", !0),
628
+ Y() && !X.value ? (h(), a("svg", {
629
+ key: 6,
630
+ class: "wave",
631
+ width: Y().viewBox.split(" ")[2],
632
+ height: Y().height,
633
+ viewBox: Y().viewBox,
634
+ preserveAspectRatio: "none"
635
+ }, [
636
+ o("mask", {
637
+ id: `kima-progress-mask-${v(E)}`,
638
+ maskUnits: "userSpaceOnUse",
639
+ width: Y().viewBox.split(" ")[2],
640
+ height: Y().height
641
+ }, [
642
+ o("rect", {
643
+ width: Y().viewBox.split(" ")[2],
644
+ height: Y().height,
645
+ fill: "black"
646
+ }, null, 8, de),
647
+ o("rect", {
648
+ class: "primary",
649
+ height: Y().height,
650
+ fill: "white"
651
+ }, null, 8, fe),
652
+ o("rect", {
653
+ class: "secondary",
654
+ height: Y().height,
655
+ fill: "white"
656
+ }, null, 8, pe)
657
+ ], 8, ue),
658
+ o("mask", {
659
+ id: `kima-progress-mask-${v(E)}-inverse`,
660
+ maskUnits: "userSpaceOnUse",
661
+ width: Y().viewBox.split(" ")[2],
662
+ height: Y().height
663
+ }, [
664
+ o("rect", {
665
+ width: Y().viewBox.split(" ")[2],
666
+ height: Y().height,
667
+ fill: "white"
668
+ }, null, 8, he),
669
+ o("rect", {
670
+ class: "primary",
671
+ height: Y().height,
672
+ fill: "black"
673
+ }, null, 8, ge),
674
+ o("rect", {
675
+ class: "secondary",
676
+ height: Y().height,
677
+ fill: "black"
678
+ }, null, 8, _e)
679
+ ], 8, me),
680
+ o("g", { mask: `url(#kima-progress-mask-${v(E)})` }, [o("path", {
681
+ class: "wave-path",
682
+ d: Y().path,
683
+ stroke: "currentColor",
684
+ "stroke-width": F.value.strokeWidth,
685
+ fill: "none",
686
+ "stroke-linecap": "round"
687
+ }, null, 8, ye)], 8, ve),
688
+ o("g", { mask: `url(#kima-progress-mask-${v(E)}-inverse)` }, [o("rect", {
689
+ class: "track",
690
+ width: "100%",
691
+ height: F.value.strokeWidth,
692
+ fill: "currentColor"
693
+ }, null, 8, xe)], 8, be)
694
+ ], 8, le)) : i("", !0)
695
+ ], 4)),
696
+ O.value ? i("", !0) : (h(), a(n, { key: 1 }, [o("div", {
697
+ ref_key: "strokeProbe",
698
+ ref: st,
699
+ class: "stroke",
700
+ "aria-hidden": "true"
701
+ }, null, 512), o("div", {
702
+ ref_key: "amplitudeProbe",
703
+ ref: P,
704
+ class: "amplitude-and-wavelength",
705
+ "aria-hidden": "true"
706
+ }, null, 512)], 64)),
707
+ O.value && D.value === "flat" ? (h(), a(n, { key: 2 }, [A.value ? (h(), a("div", Se, [o("div", Ce, [o("div", we, [(h(), a("svg", {
708
+ class: "circle",
709
+ width: F.value.diameter,
710
+ height: F.value.diameter,
711
+ viewBox: Q.value.left.viewBox
712
+ }, [o("path", {
713
+ class: "active-track",
714
+ d: Q.value.left.path,
715
+ stroke: "currentColor",
716
+ "stroke-width": F.value.strokeWidth,
717
+ fill: "none",
718
+ "stroke-linecap": "round"
719
+ }, null, 8, Ee)], 8, Te))]), o("div", De, [(h(), a("svg", {
720
+ class: "circle",
721
+ width: F.value.diameter,
722
+ height: F.value.diameter,
723
+ viewBox: Q.value.right.viewBox
724
+ }, [o("path", {
725
+ class: "active-track",
726
+ d: Q.value.right.path,
727
+ stroke: "currentColor",
728
+ "stroke-width": F.value.strokeWidth,
729
+ fill: "none",
730
+ "stroke-linecap": "round"
731
+ }, null, 8, ke)], 8, Oe))])])])) : (h(), a("div", Ae, [(h(), a("svg", {
732
+ width: F.value.diameter,
733
+ height: F.value.diameter,
734
+ viewBox: Z.value.active.viewBox
735
+ }, [Z.value.degrees > 0 ? (h(), a("path", {
736
+ key: 0,
737
+ class: "active-track",
738
+ d: Z.value.active.path,
739
+ stroke: "currentColor",
740
+ "stroke-width": F.value.strokeWidth,
741
+ fill: "none",
742
+ "stroke-linecap": "round"
743
+ }, null, 8, Me)) : i("", !0), 360 - Z.value.degrees >= Z.value.minDegrees ? (h(), a("path", {
744
+ key: 1,
745
+ class: "track",
746
+ d: Z.value.inactive.path,
747
+ stroke: "currentColor",
748
+ "stroke-width": F.value.strokeWidth,
749
+ fill: "none",
750
+ "stroke-linecap": "round"
751
+ }, null, 8, Ne)) : i("", !0)], 8, je))])), o("div", Pe, [_(e.$slots, "default", {}, void 0, !0)])], 64)) : i("", !0),
752
+ O.value && D.value === "wavy" ? (h(), a(n, { key: 3 }, [A.value ? (h(), a("div", Fe, [(h(), a("svg", {
753
+ width: F.value.diameter,
754
+ height: F.value.diameter,
755
+ viewBox: `0 0 ${F.value.diameter} ${F.value.diameter}`
756
+ }, [o("path", {
757
+ class: "spinner active-track",
758
+ d: Ct.value.active.path,
759
+ pathLength: "100",
760
+ "stroke-dasharray": "10 90",
761
+ style: { "transform-origin": "center" },
762
+ stroke: "currentColor",
763
+ "stroke-width": F.value.strokeWidth,
764
+ "stroke-linecap": "round",
765
+ "stroke-linejoin": "round",
766
+ fill: "none"
767
+ }, null, 8, Le), o("path", {
768
+ class: "spinner track",
769
+ stroke: "currentColor",
770
+ "stroke-width": F.value.strokeWidth,
771
+ fill: "none",
772
+ "stroke-linecap": "round"
773
+ }, null, 8, Re)], 8, Ie))])) : (h(), a("svg", {
774
+ key: 1,
775
+ class: "progress",
776
+ viewBox: $.value.inactive.viewBox,
777
+ "aria-hidden": "true"
778
+ }, [$.value.degrees > 0 ? (h(), a("g", Be, [o("path", {
779
+ class: d({ wave: $.value.amplitude > 0 }),
780
+ style: f({ "--_circular-wave-duration": wt.value }),
781
+ d: $.value.active.path,
782
+ pathLength: "100",
783
+ "stroke-dasharray": `${$.value.progress * 100} ${(1 - $.value.progress) * 100}`,
784
+ stroke: "currentColor",
785
+ "stroke-width": F.value.strokeWidth,
786
+ "stroke-linecap": "round",
787
+ "stroke-linejoin": "round",
788
+ fill: "none"
789
+ }, null, 14, Ve)])) : i("", !0), 360 - $.value.degrees >= $.value.minDegrees ? (h(), a("path", {
790
+ key: 1,
791
+ class: "track",
792
+ d: $.value.inactive.path,
793
+ stroke: "currentColor",
794
+ "stroke-width": F.value.strokeWidth,
795
+ fill: "none",
796
+ "stroke-linecap": "round"
797
+ }, null, 8, He)) : i("", !0)], 8, ze)), o("div", Ue, [_(e.$slots, "default", {}, void 0, !0)])], 64)) : i("", !0),
798
+ O.value ? (h(), a(n, { key: 4 }, [o("div", {
799
+ ref_key: "diameterProbe",
800
+ ref: ct,
801
+ class: "diameter-and-stroke",
802
+ "aria-hidden": "true"
803
+ }, null, 512), o("div", {
804
+ ref_key: "amplitudeProbe",
805
+ ref: P,
806
+ class: "amplitude-and-wavelength",
807
+ "aria-hidden": "true"
808
+ }, null, 512)], 64)) : i("", !0)
809
+ ], 16, x));
810
+ }
811
+ }), [["__scopeId", "data-v-2c836bfd"]]);
812
+ export { E as default };