@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,52 +1,54 @@
1
- import e from "../../_virtual/_plugin-vue_export-helper.js";
2
- import t from "../core/icon.ce.js";
3
- import { useContentMotion as n } from "../../utils/content-motion.js";
1
+ import { useNormalizedRadius as e } from "../../utils/radius.js";
2
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
3
+ import n from "../core/icon.ce.js";
4
+ import { useLayoutFlip as r } from "../../utils/motion.js";
5
+ import { useContentMotion as i } from "../../utils/content-motion.js";
4
6
  /* empty css */
5
- import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, getCurrentInstance as u, mergeProps as d, normalizeClass as f, normalizeStyle as p, onBeforeUnmount as ee, openBlock as m, ref as h, renderList as g, renderSlot as _, toDisplayString as v, unref as y, useAttrs as te, useHost as ne, vModelText as re, watch as b, withDirectives as ie, withKeys as ae, withModifiers as x } from "vue";
6
- import { ArrowDown01Icon as oe, ArrowRight01Icon as se, ArrowUp01Icon as ce, ArrowUpDownIcon as le, CheckmarkSquare02Icon as S, MinusSignSquareIcon as ue, SquareIcon as de } from "@hugeicons/core-free-icons";
7
+ import { Fragment as a, computed as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, getCurrentInstance as ee, mergeProps as f, normalizeClass as p, normalizeStyle as m, onBeforeUnmount as te, openBlock as h, ref as g, renderList as _, renderSlot as v, toDisplayString as y, unref as b, useAttrs as ne, useHost as re, vModelText as ie, watch as x, withDirectives as ae, withKeys as S, withModifiers as C } from "vue";
8
+ import { ArrowDown01Icon as oe, ArrowRight01Icon as se, ArrowUp01Icon as ce, ArrowUpDownIcon as le, CheckmarkSquare02Icon as ue, MinusSignSquareIcon as de, SquareIcon as fe } from "@hugeicons/core-free-icons";
7
9
  // src/components/data/table.ce.vue
8
- var fe = ["aria-label"], pe = ["aria-busy"], me = { key: 0 }, he = {
10
+ var pe = ["aria-label"], me = ["aria-busy"], he = { key: 0 }, ge = {
9
11
  key: 0,
10
12
  scope: "col",
11
13
  class: "kima-table__expand-column"
12
- }, ge = {
14
+ }, _e = {
13
15
  key: 1,
14
16
  scope: "col",
15
17
  class: "kima-table__select-column"
16
- }, _e = [
18
+ }, ve = [
17
19
  "aria-checked",
18
20
  "aria-label",
19
21
  "title",
20
22
  "disabled"
21
- ], ve = ["aria-sort"], ye = [
23
+ ], ye = ["aria-sort"], be = [
22
24
  "aria-label",
23
25
  "title",
24
26
  "disabled",
25
27
  "onClick"
26
- ], be = { key: 1 }, xe = [
28
+ ], xe = { key: 1 }, Se = [
27
29
  "aria-label",
28
30
  "aria-valuenow",
29
31
  "aria-valuemin",
30
32
  "aria-valuemax",
31
33
  "onPointerdown",
32
34
  "onKeydown"
33
- ], Se = {
35
+ ], Ce = {
34
36
  key: 0,
35
37
  class: "kima-table__filter-row"
36
- }, Ce = {
38
+ }, we = {
37
39
  key: 0,
38
40
  class: "kima-table__expand-column",
39
41
  "aria-hidden": "true"
40
- }, we = {
42
+ }, Te = {
41
43
  key: 1,
42
44
  class: "kima-table__select-column",
43
45
  "aria-hidden": "true"
44
- }, Te = [
46
+ }, Ee = [
45
47
  "value",
46
48
  "aria-label",
47
49
  "placeholder",
48
50
  "onInput"
49
- ], Ee = { key: "loading" }, De = ["colspan"], Oe = { role: "status" }, ke = { key: "rows" }, Ae = ["onClick", "onKeydown"], je = {
51
+ ], De = { key: "loading" }, Oe = ["colspan"], ke = { role: "status" }, Ae = ["onClick", "onKeydown"], je = {
50
52
  key: 0,
51
53
  class: "kima-table__expand-column"
52
54
  }, Me = [
@@ -79,7 +81,7 @@ var fe = ["aria-label"], pe = ["aria-busy"], me = { key: 0 }, he = {
79
81
  key: 1,
80
82
  class: "kima-table__select-column",
81
83
  "aria-hidden": "true"
82
- }, Ge = /*#__PURE__*/ e(/* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
84
+ }, w = /*#__PURE__*/ t(/* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
83
85
  __name: "table.ce",
84
86
  props: {
85
87
  columns: {
@@ -130,7 +132,11 @@ var fe = ["aria-label"], pe = ["aria-busy"], me = { key: 0 }, he = {
130
132
  sortable: Boolean,
131
133
  resizable: Boolean,
132
134
  summary: Boolean,
133
- loading: Boolean
135
+ loading: Boolean,
136
+ radius: {
137
+ type: [String, Number],
138
+ default: null
139
+ }
134
140
  },
135
141
  emits: [
136
142
  "update:modelValue",
@@ -142,38 +148,38 @@ var fe = ["aria-label"], pe = ["aria-busy"], me = { key: 0 }, he = {
142
148
  "expand",
143
149
  "cell-edit"
144
150
  ],
145
- setup(e, { emit: Ge }) {
146
- let C = e, w = Ge, T = te(), Ke = u().ce ? ne() : null, qe = i(() => Ke ? {
147
- ...T,
151
+ setup(t, { emit: w }) {
152
+ let T = t, E = w, D = ne(), Ge = ee().ce ? re() : null, Ke = o(() => Ge ? {
153
+ ...D,
148
154
  id: void 0
149
- } : T), E = h(null), D = h(C.modelValue), O = h({ ...C.filterValues }), k = h([...C.expandedRows]), A = h(C.sortKey ?? ""), j = h(C.sortDirection ?? ""), M = h(Object.fromEntries(C.columns.filter((e) => e.width).map((e) => [e.key, e.width]))), N = h(null), P;
150
- b(() => C.modelValue, (e) => {
151
- D.value = e;
152
- }, { deep: !0 }), b(() => C.filterValues, (e) => {
153
- O.value = { ...e };
154
- }, { deep: !0 }), b(() => C.expandedRows, (e) => {
155
- k.value = [...e];
156
- }, { deep: !0 }), b(() => C.sortKey, (e) => {
157
- e !== void 0 && (A.value = e || "");
158
- }), b(() => C.sortDirection, (e) => {
159
- e !== void 0 && (j.value = e || "");
160
- }), b(() => C.columns, (e) => {
161
- let t = { ...M.value };
155
+ } : D), O = g(null), { radiusAttrs: qe, radiusStyle: Je } = e(O, () => T.radius), k = g(T.modelValue), A = g({ ...T.filterValues }), j = g([...T.expandedRows]), M = g(T.sortKey ?? ""), N = g(T.sortDirection ?? ""), P = g(Object.fromEntries(T.columns.filter((e) => e.width).map((e) => [e.key, e.width]))), F = g(null), I;
156
+ x(() => T.modelValue, (e) => {
157
+ k.value = e;
158
+ }, { deep: !0 }), x(() => T.filterValues, (e) => {
159
+ A.value = { ...e };
160
+ }, { deep: !0 }), x(() => T.expandedRows, (e) => {
161
+ j.value = [...e];
162
+ }, { deep: !0 }), x(() => T.sortKey, (e) => {
163
+ e !== void 0 && (M.value = e || "");
164
+ }), x(() => T.sortDirection, (e) => {
165
+ e !== void 0 && (N.value = e || "");
166
+ }), x(() => T.columns, (e) => {
167
+ let t = { ...P.value };
162
168
  e.forEach((e) => {
163
169
  t[e.key] === void 0 && e.width !== void 0 && (t[e.key] = e.width);
164
- }), M.value = t;
170
+ }), P.value = t;
165
171
  }, { deep: !0 });
166
- let Je = i(() => C.items === void 0 ? C.rows : C.items), F = i(() => C.columns.filter((e) => !e.hidden)), I = i(() => Je.value.filter((e) => C.columns.every((t) => {
167
- let n = String(O.value[t.key] ?? "").trim().toLowerCase();
172
+ let L = o(() => T.items === void 0 ? T.rows : T.items), R = o(() => T.columns.filter((e) => !e.hidden)), z = o(() => L.value.filter((e) => T.columns.every((t) => {
173
+ let n = String(A.value[t.key] ?? "").trim().toLowerCase();
168
174
  return !n || String(e[t.key] ?? "").toLowerCase().includes(n);
169
- }))), L = i(() => C.sortKey !== void 0 || C.sortDirection !== void 0), R = i(() => L.value ? C.sortKey || "" : A.value), z = i(() => {
170
- let e = L.value ? C.sortDirection : j.value;
175
+ }))), B = o(() => T.sortKey !== void 0 || T.sortDirection !== void 0), V = o(() => B.value ? T.sortKey || "" : M.value), H = o(() => {
176
+ let e = B.value ? T.sortDirection : N.value;
171
177
  return ["asc", "desc"].includes(e) ? e : "";
172
- }), B = i(() => {
173
- let e = C.columns.find((e) => e.key === R.value);
174
- if (!e || !z.value) return I.value;
175
- let t = z.value === "asc" ? 1 : -1;
176
- return I.value.map((e, t) => ({
178
+ }), U = o(() => {
179
+ let e = T.columns.find((e) => e.key === V.value);
180
+ if (!e || !H.value) return z.value;
181
+ let t = H.value === "asc" ? 1 : -1;
182
+ return z.value.map((e, t) => ({
177
183
  row: e,
178
184
  index: t
179
185
  })).sort((n, r) => {
@@ -184,75 +190,77 @@ var fe = ["aria-label"], pe = ["aria-busy"], me = { key: 0 }, he = {
184
190
  sensitivity: "base"
185
191
  }) * t;
186
192
  }).map(({ row: e }) => e);
187
- }), V = i(() => new Set(D.value)), H = i(() => B.value.map(J)), U = i(() => new Set(k.value)), W = i(() => H.value.length > 0 && H.value.every((e) => V.value.has(e))), G = i(() => H.value.some((e) => V.value.has(e)));
188
- n(E, () => [
189
- C.loading,
190
- B.value,
191
- [...U.value]
193
+ }), W = o(() => new Set(k.value)), G = o(() => U.value.map(Y)), K = o(() => new Set(j.value)), q = o(() => G.value.length > 0 && G.value.every((e) => W.value.has(e))), Ye = o(() => G.value.some((e) => W.value.has(e)));
194
+ i(O, () => [
195
+ T.loading,
196
+ U.value,
197
+ [...K.value]
192
198
  ], { opacity: !1 });
193
- let Ye = i(() => W.value ? "true" : G.value ? "mixed" : "false"), K = i(() => W.value ? "取消选择全部行" : "选择全部行"), Xe = i(() => C.columns.some((e) => e.filterable)), Ze = i(() => C.summary || C.columns.some((e) => typeof e.summary == "function")), q = i(() => Math.max(1, F.value.length + +!!C.selectable + +!!C.expandable));
194
- function J(e, t) {
195
- return typeof C.rowKey == "function" ? C.rowKey(e) : typeof C.rowKey == "string" ? e[C.rowKey] : e.id ?? e.key ?? `row-${t}`;
196
- }
199
+ let Xe = g(null), Ze = o(() => U.value.map((e, t) => Y(e, t)).join("\0"));
200
+ r(Xe, Ze, { delay: !1 });
201
+ let Qe = o(() => q.value ? "true" : Ye.value ? "mixed" : "false"), $e = o(() => q.value ? "取消选择全部行" : "选择全部行"), et = o(() => T.columns.some((e) => e.filterable)), tt = o(() => T.summary || T.columns.some((e) => typeof e.summary == "function")), J = o(() => Math.max(1, R.value.length + +!!T.selectable + +!!T.expandable));
197
202
  function Y(e, t) {
198
- let n = J(e, t), r = new Set(V.value);
199
- r.has(n) ? r.delete(n) : r.add(n), D.value = [...r], w("update:modelValue", D.value);
203
+ return typeof T.rowKey == "function" ? T.rowKey(e) : typeof T.rowKey == "string" ? e[T.rowKey] : e.id ?? e.key ?? `row-${t}`;
200
204
  }
201
- function Qe() {
202
- let e = new Set(V.value);
203
- for (let t of H.value) W.value ? e.delete(t) : e.add(t);
204
- D.value = [...e], w("update:modelValue", D.value);
205
+ function nt(e, t) {
206
+ let n = Y(e, t), r = new Set(W.value);
207
+ r.has(n) ? r.delete(n) : r.add(n), k.value = [...r], E("update:modelValue", k.value);
205
208
  }
206
- function $e(e, t) {
209
+ function rt() {
210
+ let e = new Set(W.value);
211
+ for (let t of G.value) q.value ? e.delete(t) : e.add(t);
212
+ k.value = [...e], E("update:modelValue", k.value);
213
+ }
214
+ function it(e, t) {
207
215
  let n = t.target.closest?.("button, a, input, select, textarea, label, summary, [contenteditable]:not([contenteditable='false']), [role='button'], [role='checkbox'], [tabindex]");
208
- n && n !== t.currentTarget || w("row-click", e, t);
216
+ n && n !== t.currentTarget || E("row-click", e, t);
209
217
  }
210
- function et(e, t) {
218
+ function at(e, t) {
211
219
  let n = t.target.value;
212
- O.value = {
213
- ...O.value,
220
+ A.value = {
221
+ ...A.value,
214
222
  [e.key]: n
215
- }, w("update:filterValues", O.value), w("filter-change", {
216
- ...O.value,
223
+ }, E("update:filterValues", A.value), E("filter-change", {
224
+ ...A.value,
217
225
  key: e.key,
218
226
  value: n
219
227
  });
220
228
  }
221
- function tt(e, t) {
222
- let n = J(e, t), r = new Set(k.value);
223
- r.has(n) ? r.delete(n) : r.add(n), k.value = [...r], w("update:expandedRows", k.value), w("expand", {
229
+ function ot(e, t) {
230
+ let n = Y(e, t), r = new Set(j.value);
231
+ r.has(n) ? r.delete(n) : r.add(n), j.value = [...r], E("update:expandedRows", j.value), E("expand", {
224
232
  row: e,
225
233
  key: n,
226
234
  expanded: r.has(n)
227
235
  });
228
236
  }
229
- function nt(e, t, n) {
230
- C.editable && n.editable && (N.value = {
231
- rowKey: J(e, t),
237
+ function st(e, t, n) {
238
+ T.editable && n.editable && (F.value = {
239
+ rowKey: Y(e, t),
232
240
  columnKey: n.key,
233
241
  value: e[n.key] ?? "",
234
242
  oldValue: e[n.key]
235
243
  });
236
244
  }
237
- function X(e, t, n) {
238
- if (!N.value) return;
239
- let r = N.value;
240
- N.value = null, w("cell-edit", {
245
+ function ct(e, t, n) {
246
+ if (!F.value) return;
247
+ let r = F.value;
248
+ F.value = null, E("cell-edit", {
241
249
  row: e,
242
- rowKey: J(e, t),
250
+ rowKey: Y(e, t),
243
251
  column: n,
244
252
  key: n.key,
245
253
  value: r.value,
246
254
  oldValue: r.oldValue
247
255
  });
248
256
  }
249
- function rt() {
250
- N.value = null;
257
+ function lt() {
258
+ F.value = null;
251
259
  }
252
- function it(e, t, n) {
253
- return N.value?.rowKey === J(e, t) && N.value?.columnKey === n.key;
260
+ function ut(e, t, n) {
261
+ return F.value?.rowKey === Y(e, t) && F.value?.columnKey === n.key;
254
262
  }
255
- function at(e, t, n) {
263
+ function dt(e, t, n) {
256
264
  if (n.target !== n.currentTarget || n.repeat || ![
257
265
  "Enter",
258
266
  " ",
@@ -261,229 +269,243 @@ var fe = ["aria-label"], pe = ["aria-busy"], me = { key: 0 }, he = {
261
269
  "Home",
262
270
  "End"
263
271
  ].includes(n.key)) return;
264
- if (n.preventDefault(), n.key === "Enter" || n.key === " " && !C.selectable) {
265
- w("row-click", e, n);
272
+ if (n.preventDefault(), n.key === "Enter" || n.key === " " && !T.selectable) {
273
+ E("row-click", e, n);
266
274
  return;
267
275
  }
268
276
  if (n.key === " ") {
269
- Y(e, t);
277
+ nt(e, t);
270
278
  return;
271
279
  }
272
280
  let r = n.currentTarget.parentElement.rows, i = t + (n.key === "ArrowUp" ? -1 : 1);
273
281
  n.key === "Home" && (i = 0), n.key === "End" && (i = r.length - 1), r[Math.max(0, Math.min(r.length - 1, i))].focus();
274
282
  }
283
+ function X(e) {
284
+ return T.sortable && e.sortable !== !1 || e.sortable === !0;
285
+ }
275
286
  function Z(e) {
276
- return C.sortable && e.sortable !== !1 || e.sortable === !0;
287
+ return T.resizable && e.resizable !== !1 || e.resizable === !0;
277
288
  }
278
289
  function Q(e) {
279
- return C.resizable && e.resizable !== !1 || e.resizable === !0;
280
- }
281
- function $(e) {
282
- let t = M.value[e.key] ?? e.width;
290
+ let t = P.value[e.key] ?? e.width;
283
291
  return t ? typeof t == "number" ? `${t}px` : t : void 0;
284
292
  }
285
- function ot(e) {
286
- if (!Z(e)) return;
287
- let t = R.value !== e.key || z.value !== "asc" ? "asc" : "desc";
288
- L.value || (A.value = e.key, j.value = t), w("sort-change", {
293
+ function ft(e) {
294
+ return V.value === e.key ? H.value === "asc" ? "desc" : H.value === "desc" ? null : "asc" : "asc";
295
+ }
296
+ function pt(e) {
297
+ if (!X(e)) return;
298
+ let t = ft(e);
299
+ B.value || (M.value = e.key, N.value = t || ""), E("sort-change", {
289
300
  key: e.key,
290
301
  direction: t
291
302
  });
292
303
  }
293
- function st(e) {
294
- let t = R.value === e.key && z.value === "asc";
295
- return `${e.label}:按${t ? "降" : "升"}序排列`;
304
+ function mt(e) {
305
+ let t = V.value === e.key ? H.value : "";
306
+ return t === "asc" ? `${e.label}:当前升序,点击改为降序` : t === "desc" ? `${e.label}:当前降序,点击恢复默认顺序` : `${e.label}:当前未排序,点击改为升序`;
307
+ }
308
+ function ht(e) {
309
+ let t = V.value === e.key ? H.value : "";
310
+ return t === "asc" ? ce : t === "desc" ? oe : le;
296
311
  }
297
- function ct(e, t) {
312
+ function gt(e, t) {
298
313
  let n = Number(e.minWidth) || 72, r = Number(e.maxWidth) || 1200, i = Math.max(n, Math.min(r, Math.round(t)));
299
- M.value = {
300
- ...M.value,
314
+ P.value = {
315
+ ...P.value,
301
316
  [e.key]: i
302
- }, w("column-resize", {
317
+ }, E("column-resize", {
303
318
  key: e.key,
304
319
  width: i
305
320
  });
306
321
  }
307
- function lt(e, t) {
308
- Q(e) && t.button === 0 && (t.preventDefault(), P = {
322
+ function _t(e, t) {
323
+ Z(e) && t.button === 0 && (t.preventDefault(), I = {
309
324
  column: e,
310
325
  startX: t.clientX,
311
- startWidth: Number(M.value[e.key] ?? e.width) || t.currentTarget.parentElement.offsetWidth
312
- }, document.addEventListener("pointermove", ut), document.addEventListener("pointerup", dt, { once: !0 }));
326
+ startWidth: Number(P.value[e.key] ?? e.width) || t.currentTarget.parentElement.offsetWidth
327
+ }, document.addEventListener("pointermove", vt), document.addEventListener("pointerup", $, { once: !0 }));
313
328
  }
314
- function ut(e) {
315
- P && ct(P.column, P.startWidth + e.clientX - P.startX);
329
+ function vt(e) {
330
+ I && gt(I.column, I.startWidth + e.clientX - I.startX);
316
331
  }
317
- function dt() {
318
- P = null, document.removeEventListener("pointermove", ut);
332
+ function $() {
333
+ I = null, document.removeEventListener("pointermove", vt);
319
334
  }
320
- function ft(e, t) {
321
- if (!Q(e) || ![
335
+ function yt(e, t) {
336
+ if (!Z(e) || ![
322
337
  "ArrowLeft",
323
338
  "ArrowRight",
324
339
  "Home",
325
340
  "End"
326
341
  ].includes(t.key)) return;
327
342
  t.preventDefault();
328
- let n = Number(M.value[e.key] ?? e.width) || 160, r = Number(e.minWidth) || 72, i = Number(e.maxWidth) || 1200;
329
- ct(e, t.key === "Home" ? r : t.key === "End" ? i : n + (t.key === "ArrowRight" ? 8 : -8));
343
+ let n = Number(P.value[e.key] ?? e.width) || 160, r = Number(e.minWidth) || 72, i = Number(e.maxWidth) || 1200;
344
+ gt(e, t.key === "Home" ? r : t.key === "End" ? i : n + (t.key === "ArrowRight" ? 8 : -8));
330
345
  }
331
- return ee(dt), (n, i) => (m(), o("div", { class: f(["kima-table", {
332
- "kima-table--striped": e.striped,
333
- "kima-table--hoverable": e.hoverable
334
- }]) }, [s("div", {
346
+ return te($), (e, r) => (h(), c("div", { class: p(["kima-table", {
347
+ "kima-table--striped": t.striped,
348
+ "kima-table--hoverable": t.hoverable
349
+ }]) }, [l("div", f({
335
350
  ref_key: "scroll",
336
- ref: E,
351
+ ref: O
352
+ }, b(qe), {
353
+ style: b(Je),
337
354
  class: "kima-table__scroll",
338
355
  tabindex: "0",
339
356
  role: "region",
340
- "aria-label": e.caption || y(T)["aria-label"] || "表格区域"
341
- }, [s("table", d(qe.value, { "aria-busy": e.loading }), [
342
- e.caption ? (m(), o("caption", me, v(e.caption), 1)) : a("", !0),
343
- s("thead", null, [s("tr", null, [
344
- e.expandable ? (m(), o("th", he, "展开")) : a("", !0),
345
- e.selectable ? (m(), o("th", ge, [s("button", {
357
+ "aria-label": t.caption || b(D)["aria-label"] || "表格区域"
358
+ }), [l("table", f(Ke.value, { "aria-busy": t.loading }), [
359
+ t.caption ? (h(), c("caption", he, y(t.caption), 1)) : s("", !0),
360
+ l("thead", null, [l("tr", null, [
361
+ t.expandable ? (h(), c("th", ge, "展开")) : s("", !0),
362
+ t.selectable ? (h(), c("th", _e, [l("button", {
346
363
  type: "button",
347
364
  role: "checkbox",
348
365
  class: "kima-table__select-button",
349
- "aria-checked": Ye.value,
350
- "aria-label": K.value,
351
- title: K.value,
352
- disabled: e.loading || !Je.value.length,
353
- onClick: Qe
354
- }, [l(t, {
355
- icon: W.value ? y(S) : G.value ? y(ue) : y(de),
366
+ "aria-checked": Qe.value,
367
+ "aria-label": $e.value,
368
+ title: $e.value,
369
+ disabled: t.loading || !L.value.length,
370
+ onClick: rt
371
+ }, [d(n, {
372
+ icon: q.value ? b(ue) : Ye.value ? b(de) : b(fe),
356
373
  size: 20,
357
374
  "aria-hidden": "true"
358
- }, null, 8, ["icon"])], 8, _e)])) : a("", !0),
359
- (m(!0), o(r, null, g(F.value, (n) => (m(), o("th", {
360
- key: n.key,
375
+ }, null, 8, ["icon"])], 8, ve)])) : s("", !0),
376
+ (h(!0), c(a, null, _(R.value, (e) => (h(), c("th", {
377
+ key: e.key,
361
378
  scope: "col",
362
- class: f(`kima-table__align--${n.align || "start"}`),
363
- style: p({
364
- width: $(n),
365
- minWidth: n.minWidth ? typeof n.minWidth == "number" ? `${n.minWidth}px` : n.minWidth : void 0
379
+ class: p(`kima-table__align--${e.align || "start"}`),
380
+ style: m({
381
+ width: Q(e),
382
+ minWidth: e.minWidth ? typeof e.minWidth == "number" ? `${e.minWidth}px` : e.minWidth : void 0
366
383
  }),
367
- "aria-sort": Z(n) ? R.value === n.key && z.value ? z.value === "asc" ? "ascending" : "descending" : "none" : void 0
368
- }, [Z(n) ? (m(), o("button", {
384
+ "aria-sort": X(e) ? V.value === e.key && H.value ? H.value === "asc" ? "ascending" : "descending" : "none" : void 0
385
+ }, [X(e) ? (h(), c("button", {
369
386
  key: 0,
370
387
  type: "button",
371
- class: "kima-table__sort-button",
372
- "aria-label": st(n),
373
- title: st(n),
374
- disabled: e.loading,
375
- onClick: (e) => ot(n)
376
- }, [s("span", null, v(n.label), 1), l(t, {
377
- icon: R.value === n.key && z.value ? z.value === "asc" ? y(ce) : y(oe) : y(le),
388
+ class: p(["kima-table__sort-button", { "kima-table__sort-button--active": V.value === e.key && H.value }]),
389
+ "aria-label": mt(e),
390
+ title: mt(e),
391
+ disabled: t.loading,
392
+ onClick: (t) => pt(e)
393
+ }, [l("span", null, y(e.label), 1), d(n, {
394
+ class: p(["kima-table__sort-icon", { "kima-table__sort-icon--active": V.value === e.key && H.value }]),
395
+ icon: ht(e),
378
396
  size: 16,
379
397
  "aria-hidden": "true"
380
- }, null, 8, ["icon"])], 8, ye)) : (m(), o("span", be, v(n.label), 1)), Q(n) ? (m(), o("button", {
398
+ }, null, 8, ["class", "icon"])], 10, be)) : (h(), c("span", xe, y(e.label), 1)), Z(e) ? (h(), c("button", {
381
399
  key: 2,
382
400
  type: "button",
383
401
  class: "kima-table__resize",
384
402
  role: "separator",
385
- "aria-label": `调整${n.label}列宽`,
386
- "aria-valuenow": Number(M.value[n.key] ?? n.width) || void 0,
387
- "aria-valuemin": Number(n.minWidth) || 72,
388
- "aria-valuemax": Number(n.maxWidth) || 1200,
389
- onPointerdown: (e) => lt(n, e),
390
- onKeydown: (e) => ft(n, e)
391
- }, null, 40, xe)) : a("", !0)], 14, ve))), 128))
392
- ]), Xe.value ? (m(), o("tr", Se, [
393
- e.expandable ? (m(), o("th", Ce)) : a("", !0),
394
- e.selectable ? (m(), o("th", we)) : a("", !0),
395
- (m(!0), o(r, null, g(F.value, (e) => (m(), o("th", {
403
+ "aria-label": `调整${e.label}列宽`,
404
+ "aria-valuenow": Number(P.value[e.key] ?? e.width) || void 0,
405
+ "aria-valuemin": Number(e.minWidth) || 72,
406
+ "aria-valuemax": Number(e.maxWidth) || 1200,
407
+ onPointerdown: (t) => _t(e, t),
408
+ onKeydown: (t) => yt(e, t)
409
+ }, null, 40, Se)) : s("", !0)], 14, ye))), 128))
410
+ ]), et.value ? (h(), c("tr", Ce, [
411
+ t.expandable ? (h(), c("th", we)) : s("", !0),
412
+ t.selectable ? (h(), c("th", Te)) : s("", !0),
413
+ (h(!0), c(a, null, _(R.value, (e) => (h(), c("th", {
396
414
  key: e.key,
397
- class: f(`kima-table__align--${e.align || "start"}`)
398
- }, [e.filterable ? (m(), o("input", {
415
+ class: p(`kima-table__align--${e.align || "start"}`)
416
+ }, [e.filterable ? (h(), c("input", {
399
417
  key: 0,
400
418
  class: "kima-table__filter",
401
419
  type: "search",
402
- value: O.value[e.key] || "",
420
+ value: A.value[e.key] || "",
403
421
  "aria-label": `过滤${e.label}`,
404
422
  placeholder: e.filterPlaceholder || `过滤${e.label}`,
405
- onInput: (t) => et(e, t)
406
- }, null, 40, Te)) : a("", !0)], 2))), 128))
407
- ])) : a("", !0)]),
408
- e.loading ? (m(), o("tbody", Ee, [s("tr", null, [s("td", {
423
+ onInput: (t) => at(e, t)
424
+ }, null, 40, Ee)) : s("", !0)], 2))), 128))
425
+ ])) : s("", !0)]),
426
+ t.loading ? (h(), c("tbody", De, [l("tr", null, [l("td", {
409
427
  class: "kima-table__message",
410
- colspan: q.value
411
- }, [s("div", Oe, [_(n.$slots, "loading", {}, () => [i[1] ||= c("加载中", -1)], !0)])], 8, De)])])) : B.value.length ? (m(), o("tbody", ke, [(m(!0), o(r, null, g(B.value, (u, d) => (m(), o(r, { key: J(u, d) }, [s("tr", {
412
- class: f({ "kima-table__row--selected": e.selectable && V.value.has(J(u, d)) }),
428
+ colspan: J.value
429
+ }, [l("div", ke, [v(e.$slots, "loading", {}, () => [r[1] ||= u("加载中", -1)], !0)])], 8, Oe)])])) : U.value.length ? (h(), c("tbody", {
430
+ key: "rows",
431
+ ref_key: "rowBody",
432
+ ref: Xe
433
+ }, [(h(!0), c(a, null, _(U.value, (i, o) => (h(), c(a, { key: Y(i, o) }, [l("tr", {
434
+ class: p({ "kima-table__row--selected": t.selectable && W.value.has(Y(i, o)) }),
413
435
  tabindex: "0",
414
- onClick: (e) => $e(u, e),
415
- onKeydown: (e) => at(u, d, e)
436
+ onClick: (e) => it(i, e),
437
+ onKeydown: (e) => dt(i, o, e)
416
438
  }, [
417
- e.expandable ? (m(), o("td", je, [s("button", {
439
+ t.expandable ? (h(), c("td", je, [l("button", {
418
440
  type: "button",
419
441
  class: "kima-table__expand-button",
420
- "aria-expanded": U.value.has(J(u, d)),
421
- "aria-label": `${U.value.has(J(u, d)) ? "收起" : "展开"}第 ${d + 1} 行`,
422
- onClick: x((e) => tt(u, d), ["stop"])
423
- }, [l(t, {
424
- icon: y(se),
442
+ "aria-expanded": K.value.has(Y(i, o)),
443
+ "aria-label": `${K.value.has(Y(i, o)) ? "收起" : "展开"}第 ${o + 1} 行`,
444
+ onClick: C((e) => ot(i, o), ["stop"])
445
+ }, [d(n, {
446
+ icon: b(se),
425
447
  size: 18,
426
448
  "aria-hidden": "true"
427
- }, null, 8, ["icon"])], 8, Me)])) : a("", !0),
428
- e.selectable ? (m(), o("td", Ne, [s("button", {
449
+ }, null, 8, ["icon"])], 8, Me)])) : s("", !0),
450
+ t.selectable ? (h(), c("td", Ne, [l("button", {
429
451
  type: "button",
430
452
  class: "kima-table__select-button",
431
453
  role: "checkbox",
432
- "aria-checked": V.value.has(J(u, d)),
433
- "aria-label": `${V.value.has(J(u, d)) ? "取消选择" : "选择"}第 ${d + 1} 行`,
434
- title: `${V.value.has(J(u, d)) ? "取消选择" : "选择"}第 ${d + 1} 行`,
435
- onClick: x((e) => Y(u, d), ["stop"])
436
- }, [l(t, {
437
- icon: V.value.has(J(u, d)) ? y(S) : y(de),
454
+ "aria-checked": W.value.has(Y(i, o)),
455
+ "aria-label": `${W.value.has(Y(i, o)) ? "取消选择" : "选择"}第 ${o + 1} 行`,
456
+ title: `${W.value.has(Y(i, o)) ? "取消选择" : "选择"}第 ${o + 1} 行`,
457
+ onClick: C((e) => nt(i, o), ["stop"])
458
+ }, [d(n, {
459
+ icon: W.value.has(Y(i, o)) ? b(ue) : b(fe),
438
460
  size: 20,
439
461
  "aria-hidden": "true"
440
- }, null, 8, ["icon"])], 8, Pe)])) : a("", !0),
441
- (m(!0), o(r, null, g(F.value, (e) => (m(), o("td", {
442
- key: e.key,
443
- class: f(`kima-table__align--${e.align || "start"}`),
444
- style: p({
445
- width: $(e),
446
- minWidth: e.minWidth ? typeof e.minWidth == "number" ? `${e.minWidth}px` : e.minWidth : void 0
462
+ }, null, 8, ["icon"])], 8, Pe)])) : s("", !0),
463
+ (h(!0), c(a, null, _(R.value, (t) => (h(), c("td", {
464
+ key: t.key,
465
+ class: p(`kima-table__align--${t.align || "start"}`),
466
+ style: m({
467
+ width: Q(t),
468
+ minWidth: t.minWidth ? typeof t.minWidth == "number" ? `${t.minWidth}px` : t.minWidth : void 0
447
469
  }),
448
- onDblclick: (t) => nt(u, d, e)
449
- }, [it(u, d, e) ? ie((m(), o("input", {
470
+ onDblclick: (e) => st(i, o, t)
471
+ }, [ut(i, o, t) ? ae((h(), c("input", {
450
472
  key: 0,
451
- "onUpdate:modelValue": i[0] ||= (e) => N.value.value = e,
473
+ "onUpdate:modelValue": r[0] ||= (e) => F.value.value = e,
452
474
  class: "kima-table__edit-input",
453
- "aria-label": `编辑${e.label}`,
454
- onKeydown: [ae((t) => X(u, d, e), ["enter"]), ae(rt, ["esc"])],
455
- onBlur: (t) => X(u, d, e)
456
- }, null, 40, Ie)), [[re, N.value.value]]) : _(n.$slots, `cell-${e.key}`, {
457
- row: u,
458
- value: u[e.key],
459
- column: e
460
- }, () => [c(v(u[e.key]), 1)], !0, 1)], 46, Fe))), 128))
461
- ], 42, Ae), e.expandable && U.value.has(J(u, d)) ? (m(), o("tr", Le, [s("td", { colspan: q.value }, [_(n.$slots, "expanded", {
462
- row: u,
463
- index: d
464
- }, () => [c(v(u), 1)], !0)], 8, Re)])) : a("", !0)], 64))), 128))])) : (m(), o("tbody", ze, [s("tr", null, [s("td", {
475
+ "aria-label": `编辑${t.label}`,
476
+ onKeydown: [S((e) => ct(i, o, t), ["enter"]), S(lt, ["esc"])],
477
+ onBlur: (e) => ct(i, o, t)
478
+ }, null, 40, Ie)), [[ie, F.value.value]]) : v(e.$slots, `cell-${t.key}`, {
479
+ row: i,
480
+ value: i[t.key],
481
+ column: t
482
+ }, () => [u(y(i[t.key]), 1)], !0, 1)], 46, Fe))), 128))
483
+ ], 42, Ae), t.expandable && K.value.has(Y(i, o)) ? (h(), c("tr", Le, [l("td", { colspan: J.value }, [v(e.$slots, "expanded", {
484
+ row: i,
485
+ index: o
486
+ }, () => [u(y(i), 1)], !0)], 8, Re)])) : s("", !0)], 64))), 128))], 512)) : (h(), c("tbody", ze, [l("tr", null, [l("td", {
465
487
  class: "kima-table__message",
466
- colspan: q.value
467
- }, [s("div", Ve, [_(n.$slots, "empty", {}, () => [i[2] ||= c("暂无数据", -1)], !0)])], 8, Be)])])),
468
- Ze.value ? (m(), o("tfoot", He, [s("tr", null, [
469
- e.expandable ? (m(), o("th", Ue)) : a("", !0),
470
- e.selectable ? (m(), o("th", We)) : a("", !0),
471
- (m(!0), o(r, null, g(F.value, (e) => (m(), o("th", {
472
- key: e.key,
473
- class: f(`kima-table__align--${e.align || "start"}`),
474
- style: p({
475
- width: $(e),
476
- minWidth: e.minWidth ? typeof e.minWidth == "number" ? `${e.minWidth}px` : e.minWidth : void 0
488
+ colspan: J.value
489
+ }, [l("div", Ve, [v(e.$slots, "empty", {}, () => [r[2] ||= u("暂无数据", -1)], !0)])], 8, Be)])])),
490
+ tt.value ? (h(), c("tfoot", He, [l("tr", null, [
491
+ t.expandable ? (h(), c("th", Ue)) : s("", !0),
492
+ t.selectable ? (h(), c("th", We)) : s("", !0),
493
+ (h(!0), c(a, null, _(R.value, (t) => (h(), c("th", {
494
+ key: t.key,
495
+ class: p(`kima-table__align--${t.align || "start"}`),
496
+ style: m({
497
+ width: Q(t),
498
+ minWidth: t.minWidth ? typeof t.minWidth == "number" ? `${t.minWidth}px` : t.minWidth : void 0
477
499
  })
478
- }, [_(n.$slots, `summary-${e.key}`, {
479
- column: e,
480
- rows: B.value
481
- }, () => [c(v(typeof e.summary == "function" ? e.summary(B.value, {
482
- column: e,
483
- rows: B.value
500
+ }, [v(e.$slots, `summary-${t.key}`, {
501
+ column: t,
502
+ rows: U.value
503
+ }, () => [u(y(typeof t.summary == "function" ? t.summary(U.value, {
504
+ column: t,
505
+ rows: U.value
484
506
  }) : ""), 1)], !0)], 6))), 128))
485
- ])])) : a("", !0)
486
- ], 16, pe)], 8, fe)], 2));
507
+ ])])) : s("", !0)
508
+ ], 16, me)], 16, pe)], 2));
487
509
  }
488
- }), [["__scopeId", "data-v-6c1cc7d1"]]);
489
- export { Ge as default };
510
+ }), [["__scopeId", "data-v-de17ceaa"]]);
511
+ export { w as default };