@katlux/toolkit 0.1.0-alpha.85

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 (452) hide show
  1. package/LICENSE +200 -0
  2. package/README.md +50 -0
  3. package/dist/compiled/composables/useDebounce.mjs +11 -0
  4. package/dist/compiled/composables/useFilterLogic.mjs +170 -0
  5. package/dist/compiled/composables/usePresetComponent.mjs +47 -0
  6. package/dist/compiled/composables/useRemainingTime.mjs +17 -0
  7. package/dist/compiled/composables/useSortLogic.mjs +55 -0
  8. package/dist/compiled/composables/useTemplate.mjs +70 -0
  9. package/dist/compiled/utils/PresetResolver.mjs +106 -0
  10. package/dist/module.cjs +82 -0
  11. package/dist/module.d.cts +5 -0
  12. package/dist/module.d.mts +5 -0
  13. package/dist/module.json +9 -0
  14. package/dist/module.mjs +79 -0
  15. package/dist/runtime/app.config.d.ts +9 -0
  16. package/dist/runtime/components/KAccordion/KAccordion.global.d.vue.ts +13 -0
  17. package/dist/runtime/components/KAccordion/KAccordion.global.vue +15 -0
  18. package/dist/runtime/components/KAccordion/KAccordion.global.vue.d.ts +13 -0
  19. package/dist/runtime/components/KAccordion/KAccordion.logic.d.ts +9 -0
  20. package/dist/runtime/components/KAccordion/KAccordion.logic.js +38 -0
  21. package/dist/runtime/components/KAccordion/KAccordionItem.global.d.vue.ts +21 -0
  22. package/dist/runtime/components/KAccordion/KAccordionItem.global.vue +20 -0
  23. package/dist/runtime/components/KAccordion/KAccordionItem.global.vue.d.ts +21 -0
  24. package/dist/runtime/components/KAccordion/KAccordionItem.logic.d.ts +17 -0
  25. package/dist/runtime/components/KAccordion/KAccordionItem.logic.js +59 -0
  26. package/dist/runtime/components/KAlert/KAlert.global.d.vue.ts +3 -0
  27. package/dist/runtime/components/KAlert/KAlert.global.vue +9 -0
  28. package/dist/runtime/components/KAlert/KAlert.global.vue.d.ts +3 -0
  29. package/dist/runtime/components/KAlert/KAlert.logic.d.ts +4 -0
  30. package/dist/runtime/components/KAlert/KAlert.logic.js +4 -0
  31. package/dist/runtime/components/KBulkActions/KBulkActions.global.d.vue.ts +9 -0
  32. package/dist/runtime/components/KBulkActions/KBulkActions.global.vue +32 -0
  33. package/dist/runtime/components/KBulkActions/KBulkActions.global.vue.d.ts +9 -0
  34. package/dist/runtime/components/KBulkActions/KBulkActions.logic.d.ts +28 -0
  35. package/dist/runtime/components/KBulkActions/KBulkActions.logic.js +31 -0
  36. package/dist/runtime/components/KButton/KButton.global.d.vue.ts +65 -0
  37. package/dist/runtime/components/KButton/KButton.global.vue +25 -0
  38. package/dist/runtime/components/KButton/KButton.global.vue.d.ts +65 -0
  39. package/dist/runtime/components/KButton/KButton.logic.d.ts +60 -0
  40. package/dist/runtime/components/KButton/KButton.logic.js +46 -0
  41. package/dist/runtime/components/KCalendar/KCalendar.global.d.vue.ts +67 -0
  42. package/dist/runtime/components/KCalendar/KCalendar.global.vue +39 -0
  43. package/dist/runtime/components/KCalendar/KCalendar.global.vue.d.ts +67 -0
  44. package/dist/runtime/components/KCalendar/KCalendar.logic.d.ts +247 -0
  45. package/dist/runtime/components/KCalendar/KCalendar.logic.js +181 -0
  46. package/dist/runtime/components/KCalendar/KCalendarMonth.global.d.vue.ts +74 -0
  47. package/dist/runtime/components/KCalendar/KCalendarMonth.global.vue +33 -0
  48. package/dist/runtime/components/KCalendar/KCalendarMonth.global.vue.d.ts +74 -0
  49. package/dist/runtime/components/KCalendar/KCalendarMonth.logic.d.ts +54 -0
  50. package/dist/runtime/components/KCalendar/KCalendarMonth.logic.js +122 -0
  51. package/dist/runtime/components/KCalendar/KCalendarWeek.global.d.vue.ts +3 -0
  52. package/dist/runtime/components/KCalendar/KCalendarWeek.global.vue +9 -0
  53. package/dist/runtime/components/KCalendar/KCalendarWeek.global.vue.d.ts +3 -0
  54. package/dist/runtime/components/KCalendar/KCalendarWeek.logic.d.ts +4 -0
  55. package/dist/runtime/components/KCalendar/KCalendarWeek.logic.js +4 -0
  56. package/dist/runtime/components/KCalendar/recurringUtils.d.ts +11 -0
  57. package/dist/runtime/components/KCalendar/recurringUtils.js +191 -0
  58. package/dist/runtime/components/KCalendar/types.d.ts +38 -0
  59. package/dist/runtime/components/KCalendar/types.js +1 -0
  60. package/dist/runtime/components/KCheckbox/KCheckbox.global.d.vue.ts +64 -0
  61. package/dist/runtime/components/KCheckbox/KCheckbox.global.vue +24 -0
  62. package/dist/runtime/components/KCheckbox/KCheckbox.global.vue.d.ts +64 -0
  63. package/dist/runtime/components/KCheckbox/KCheckbox.logic.d.ts +45 -0
  64. package/dist/runtime/components/KCheckbox/KCheckbox.logic.js +35 -0
  65. package/dist/runtime/components/KCombobox/KCombobox.global.d.vue.ts +175 -0
  66. package/dist/runtime/components/KCombobox/KCombobox.global.vue +58 -0
  67. package/dist/runtime/components/KCombobox/KCombobox.global.vue.d.ts +175 -0
  68. package/dist/runtime/components/KCombobox/KCombobox.logic.d.ts +115 -0
  69. package/dist/runtime/components/KCombobox/KCombobox.logic.js +212 -0
  70. package/dist/runtime/components/KCompositeInput/KCompositeInput.global.d.vue.ts +214 -0
  71. package/dist/runtime/components/KCompositeInput/KCompositeInput.global.vue +55 -0
  72. package/dist/runtime/components/KCompositeInput/KCompositeInput.global.vue.d.ts +214 -0
  73. package/dist/runtime/components/KCompositeInput/KCompositeInput.logic.d.ts +187 -0
  74. package/dist/runtime/components/KCompositeInput/KCompositeInput.logic.js +263 -0
  75. package/dist/runtime/components/KContextMenu/KContextMenu.global.d.vue.ts +55 -0
  76. package/dist/runtime/components/KContextMenu/KContextMenu.global.vue +28 -0
  77. package/dist/runtime/components/KContextMenu/KContextMenu.global.vue.d.ts +55 -0
  78. package/dist/runtime/components/KContextMenu/KContextMenu.logic.d.ts +55 -0
  79. package/dist/runtime/components/KContextMenu/KContextMenu.logic.js +168 -0
  80. package/dist/runtime/components/KDatatable/KDataIterator.global.d.vue.ts +23 -0
  81. package/dist/runtime/components/KDatatable/KDataIterator.global.vue +53 -0
  82. package/dist/runtime/components/KDatatable/KDataIterator.global.vue.d.ts +23 -0
  83. package/dist/runtime/components/KDatatable/KDataIterator.logic.d.ts +20 -0
  84. package/dist/runtime/components/KDatatable/KDataIterator.logic.js +37 -0
  85. package/dist/runtime/components/KDatatable/KDatatable.global.d.vue.ts +27 -0
  86. package/dist/runtime/components/KDatatable/KDatatable.global.vue +50 -0
  87. package/dist/runtime/components/KDatatable/KDatatable.global.vue.d.ts +27 -0
  88. package/dist/runtime/components/KDatatable/KDatatable.logic.d.ts +16 -0
  89. package/dist/runtime/components/KDatatable/KDatatable.logic.js +21 -0
  90. package/dist/runtime/components/KDatePicker/KDatePicker.global.d.vue.ts +138 -0
  91. package/dist/runtime/components/KDatePicker/KDatePicker.global.vue +70 -0
  92. package/dist/runtime/components/KDatePicker/KDatePicker.global.vue.d.ts +138 -0
  93. package/dist/runtime/components/KDatePicker/KDatePicker.logic.d.ts +80 -0
  94. package/dist/runtime/components/KDatePicker/KDatePicker.logic.js +174 -0
  95. package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.d.vue.ts +145 -0
  96. package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.vue +72 -0
  97. package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.vue.d.ts +145 -0
  98. package/dist/runtime/components/KDateTimePicker/KDateTimePicker.logic.d.ts +87 -0
  99. package/dist/runtime/components/KDateTimePicker/KDateTimePicker.logic.js +238 -0
  100. package/dist/runtime/components/KDropdown/KDropdown.global.d.vue.ts +64 -0
  101. package/dist/runtime/components/KDropdown/KDropdown.global.vue +32 -0
  102. package/dist/runtime/components/KDropdown/KDropdown.global.vue.d.ts +64 -0
  103. package/dist/runtime/components/KDropdown/KDropdown.logic.d.ts +78 -0
  104. package/dist/runtime/components/KDropdown/KDropdown.logic.js +179 -0
  105. package/dist/runtime/components/KGantt/KGantt.global.d.vue.ts +172 -0
  106. package/dist/runtime/components/KGantt/KGantt.global.vue +73 -0
  107. package/dist/runtime/components/KGantt/KGantt.global.vue.d.ts +172 -0
  108. package/dist/runtime/components/KGantt/KGantt.logic.d.ts +190 -0
  109. package/dist/runtime/components/KGantt/KGantt.logic.js +310 -0
  110. package/dist/runtime/components/KGrid/KGrid.global.d.vue.ts +11 -0
  111. package/dist/runtime/components/KGrid/KGrid.global.vue +25 -0
  112. package/dist/runtime/components/KGrid/KGrid.global.vue.d.ts +11 -0
  113. package/dist/runtime/components/KGrid/KGrid.logic.d.ts +37 -0
  114. package/dist/runtime/components/KGrid/KGrid.logic.js +53 -0
  115. package/dist/runtime/components/KHourPicker/KHourPicker.global.d.vue.ts +123 -0
  116. package/dist/runtime/components/KHourPicker/KHourPicker.global.vue +56 -0
  117. package/dist/runtime/components/KHourPicker/KHourPicker.global.vue.d.ts +123 -0
  118. package/dist/runtime/components/KHourPicker/KHourPicker.logic.d.ts +74 -0
  119. package/dist/runtime/components/KHourPicker/KHourPicker.logic.js +86 -0
  120. package/dist/runtime/components/KHourSelect/KHourSelect.global.d.vue.ts +64 -0
  121. package/dist/runtime/components/KHourSelect/KHourSelect.global.vue +31 -0
  122. package/dist/runtime/components/KHourSelect/KHourSelect.global.vue.d.ts +64 -0
  123. package/dist/runtime/components/KHourSelect/KHourSelect.logic.d.ts +39 -0
  124. package/dist/runtime/components/KHourSelect/KHourSelect.logic.js +76 -0
  125. package/dist/runtime/components/KIcon/KIcon.global.d.vue.ts +41 -0
  126. package/dist/runtime/components/KIcon/KIcon.global.vue +19 -0
  127. package/dist/runtime/components/KIcon/KIcon.global.vue.d.ts +41 -0
  128. package/dist/runtime/components/KIcon/KIcon.logic.d.ts +29 -0
  129. package/dist/runtime/components/KIcon/KIcon.logic.js +46 -0
  130. package/dist/runtime/components/KLoader/KLoader.global.d.vue.ts +33 -0
  131. package/dist/runtime/components/KLoader/KLoader.global.vue +22 -0
  132. package/dist/runtime/components/KLoader/KLoader.global.vue.d.ts +33 -0
  133. package/dist/runtime/components/KLoader/KLoader.logic.d.ts +29 -0
  134. package/dist/runtime/components/KLoader/KLoader.logic.js +25 -0
  135. package/dist/runtime/components/KMaskTextbox/KMaskTextbox.global.d.vue.ts +75 -0
  136. package/dist/runtime/components/KMaskTextbox/KMaskTextbox.global.vue +28 -0
  137. package/dist/runtime/components/KMaskTextbox/KMaskTextbox.global.vue.d.ts +75 -0
  138. package/dist/runtime/components/KMaskTextbox/KMaskTextbox.logic.d.ts +82 -0
  139. package/dist/runtime/components/KMaskTextbox/KMaskTextbox.logic.js +204 -0
  140. package/dist/runtime/components/KModal/KModal.global.d.vue.ts +18 -0
  141. package/dist/runtime/components/KModal/KModal.global.vue +28 -0
  142. package/dist/runtime/components/KModal/KModal.global.vue.d.ts +18 -0
  143. package/dist/runtime/components/KModal/KModal.logic.d.ts +16 -0
  144. package/dist/runtime/components/KModal/KModal.logic.js +25 -0
  145. package/dist/runtime/components/KPagination/KPagination.global.d.vue.ts +7 -0
  146. package/dist/runtime/components/KPagination/KPagination.global.vue +45 -0
  147. package/dist/runtime/components/KPagination/KPagination.global.vue.d.ts +7 -0
  148. package/dist/runtime/components/KPagination/KPagination.logic.d.ts +20 -0
  149. package/dist/runtime/components/KPagination/KPagination.logic.js +73 -0
  150. package/dist/runtime/components/KPanel/KPanel.global.d.vue.ts +10 -0
  151. package/dist/runtime/components/KPanel/KPanel.global.vue +27 -0
  152. package/dist/runtime/components/KPanel/KPanel.global.vue.d.ts +10 -0
  153. package/dist/runtime/components/KPanel/KPanel.logic.d.ts +30 -0
  154. package/dist/runtime/components/KPanel/KPanel.logic.js +25 -0
  155. package/dist/runtime/components/KRadiobox/KRadiobox.global.d.vue.ts +58 -0
  156. package/dist/runtime/components/KRadiobox/KRadiobox.global.vue +24 -0
  157. package/dist/runtime/components/KRadiobox/KRadiobox.global.vue.d.ts +58 -0
  158. package/dist/runtime/components/KRadiobox/KRadiobox.logic.d.ts +33 -0
  159. package/dist/runtime/components/KRadiobox/KRadiobox.logic.js +29 -0
  160. package/dist/runtime/components/KRangeSlider/KRangeSlider.global.d.vue.ts +75 -0
  161. package/dist/runtime/components/KRangeSlider/KRangeSlider.global.vue +37 -0
  162. package/dist/runtime/components/KRangeSlider/KRangeSlider.global.vue.d.ts +75 -0
  163. package/dist/runtime/components/KRangeSlider/KRangeSlider.logic.d.ts +57 -0
  164. package/dist/runtime/components/KRangeSlider/KRangeSlider.logic.js +69 -0
  165. package/dist/runtime/components/KSearchTree/KSearchTree.global.d.vue.ts +3 -0
  166. package/dist/runtime/components/KSearchTree/KSearchTree.global.vue +9 -0
  167. package/dist/runtime/components/KSearchTree/KSearchTree.global.vue.d.ts +3 -0
  168. package/dist/runtime/components/KSearchTree/KSearchTree.logic.d.ts +10 -0
  169. package/dist/runtime/components/KSearchTree/KSearchTree.logic.js +9 -0
  170. package/dist/runtime/components/KSearchTreeDropdown/KSearchTreeDropdown.global.d.vue.ts +3 -0
  171. package/dist/runtime/components/KSearchTreeDropdown/KSearchTreeDropdown.global.vue +9 -0
  172. package/dist/runtime/components/KSearchTreeDropdown/KSearchTreeDropdown.global.vue.d.ts +3 -0
  173. package/dist/runtime/components/KSearchTreeDropdown/KSearchTreeDropdown.logic.d.ts +10 -0
  174. package/dist/runtime/components/KSearchTreeDropdown/KSearchTreeDropdown.logic.js +9 -0
  175. package/dist/runtime/components/KSlider/KSlider.global.d.vue.ts +64 -0
  176. package/dist/runtime/components/KSlider/KSlider.global.vue +32 -0
  177. package/dist/runtime/components/KSlider/KSlider.global.vue.d.ts +64 -0
  178. package/dist/runtime/components/KSlider/KSlider.logic.d.ts +50 -0
  179. package/dist/runtime/components/KSlider/KSlider.logic.js +49 -0
  180. package/dist/runtime/components/KTabs/KTabItem.global.d.vue.ts +21 -0
  181. package/dist/runtime/components/KTabs/KTabItem.global.vue +20 -0
  182. package/dist/runtime/components/KTabs/KTabItem.global.vue.d.ts +21 -0
  183. package/dist/runtime/components/KTabs/KTabItem.logic.d.ts +17 -0
  184. package/dist/runtime/components/KTabs/KTabItem.logic.js +37 -0
  185. package/dist/runtime/components/KTabs/KTabs.global.d.vue.ts +3 -0
  186. package/dist/runtime/components/KTabs/KTabs.global.vue +20 -0
  187. package/dist/runtime/components/KTabs/KTabs.global.vue.d.ts +3 -0
  188. package/dist/runtime/components/KTabs/KTabs.logic.d.ts +8 -0
  189. package/dist/runtime/components/KTabs/KTabs.logic.js +49 -0
  190. package/dist/runtime/components/KTextarea/KTextarea.global.d.vue.ts +66 -0
  191. package/dist/runtime/components/KTextarea/KTextarea.global.vue +22 -0
  192. package/dist/runtime/components/KTextarea/KTextarea.global.vue.d.ts +66 -0
  193. package/dist/runtime/components/KTextarea/KTextarea.logic.d.ts +47 -0
  194. package/dist/runtime/components/KTextarea/KTextarea.logic.js +37 -0
  195. package/dist/runtime/components/KTextbox/KTextbox.global.d.vue.ts +78 -0
  196. package/dist/runtime/components/KTextbox/KTextbox.global.vue +24 -0
  197. package/dist/runtime/components/KTextbox/KTextbox.global.vue.d.ts +78 -0
  198. package/dist/runtime/components/KTextbox/KTextbox.logic.d.ts +55 -0
  199. package/dist/runtime/components/KTextbox/KTextbox.logic.js +52 -0
  200. package/dist/runtime/components/KThree/KThree.global.d.vue.ts +3 -0
  201. package/dist/runtime/components/KThree/KThree.global.vue +7 -0
  202. package/dist/runtime/components/KThree/KThree.global.vue.d.ts +3 -0
  203. package/dist/runtime/components/KToast/KToast.global.d.vue.ts +57 -0
  204. package/dist/runtime/components/KToast/KToast.global.vue +32 -0
  205. package/dist/runtime/components/KToast/KToast.global.vue.d.ts +57 -0
  206. package/dist/runtime/components/KToast/KToast.logic.d.ts +34 -0
  207. package/dist/runtime/components/KToast/KToast.logic.js +47 -0
  208. package/dist/runtime/components/KTooltip/KTooltip.global.d.vue.ts +33 -0
  209. package/dist/runtime/components/KTooltip/KTooltip.global.vue +28 -0
  210. package/dist/runtime/components/KTooltip/KTooltip.global.vue.d.ts +33 -0
  211. package/dist/runtime/components/KTooltip/KTooltip.logic.d.ts +27 -0
  212. package/dist/runtime/components/KTooltip/KTooltip.logic.js +82 -0
  213. package/dist/runtime/components/KTree/KTree.global.d.vue.ts +77 -0
  214. package/dist/runtime/components/KTree/KTree.global.vue +36 -0
  215. package/dist/runtime/components/KTree/KTree.global.vue.d.ts +77 -0
  216. package/dist/runtime/components/KTree/KTree.logic.d.ts +51 -0
  217. package/dist/runtime/components/KTree/KTree.logic.js +65 -0
  218. package/dist/runtime/components/KTreePicker/KTreePicker.global.d.vue.ts +186 -0
  219. package/dist/runtime/components/KTreePicker/KTreePicker.global.vue +79 -0
  220. package/dist/runtime/components/KTreePicker/KTreePicker.global.vue.d.ts +186 -0
  221. package/dist/runtime/components/KTreePicker/KTreePicker.logic.d.ts +114 -0
  222. package/dist/runtime/components/KTreePicker/KTreePicker.logic.js +93 -0
  223. package/dist/runtime/components/KTreeView/KTreeView.global.d.vue.ts +94 -0
  224. package/dist/runtime/components/KTreeView/KTreeView.global.vue +69 -0
  225. package/dist/runtime/components/KTreeView/KTreeView.global.vue.d.ts +94 -0
  226. package/dist/runtime/components/KTreeView/KTreeView.logic.d.ts +75 -0
  227. package/dist/runtime/components/KTreeView/KTreeView.logic.js +90 -0
  228. package/dist/runtime/components/MultiTabs/MultiTabs.global.d.vue.ts +23 -0
  229. package/dist/runtime/components/MultiTabs/MultiTabs.global.vue +27 -0
  230. package/dist/runtime/components/MultiTabs/MultiTabs.global.vue.d.ts +23 -0
  231. package/dist/runtime/components/MultiTabs/MultiTabs.logic.d.ts +25 -0
  232. package/dist/runtime/components/MultiTabs/MultiTabs.logic.js +52 -0
  233. package/dist/runtime/composables/useDebounce.d.ts +7 -0
  234. package/dist/runtime/composables/useDebounce.js +11 -0
  235. package/dist/runtime/composables/useFilterLogic.d.ts +20 -0
  236. package/dist/runtime/composables/useFilterLogic.js +170 -0
  237. package/dist/runtime/composables/usePresetComponent.d.ts +18 -0
  238. package/dist/runtime/composables/usePresetComponent.js +47 -0
  239. package/dist/runtime/composables/useRemainingTime.d.ts +3 -0
  240. package/dist/runtime/composables/useRemainingTime.js +17 -0
  241. package/dist/runtime/composables/useSortLogic.d.ts +4 -0
  242. package/dist/runtime/composables/useSortLogic.js +55 -0
  243. package/dist/runtime/composables/useTemplate.d.ts +47 -0
  244. package/dist/runtime/composables/useTemplate.js +70 -0
  245. package/dist/runtime/directives/clickOutside.d.ts +7 -0
  246. package/dist/runtime/directives/clickOutside.js +45 -0
  247. package/dist/runtime/directives/index.d.ts +1 -0
  248. package/dist/runtime/directives/index.js +1 -0
  249. package/dist/runtime/plugins/PresetPlugin.d.ts +11 -0
  250. package/dist/runtime/plugins/PresetPlugin.js +34 -0
  251. package/dist/runtime/plugins/registerDirectives.d.ts +2 -0
  252. package/dist/runtime/plugins/registerDirectives.js +5 -0
  253. package/dist/runtime/presets/default/assets/scss/css-variables.css +230 -0
  254. package/dist/runtime/presets/default/assets/scss/css-variables.scss +320 -0
  255. package/dist/runtime/presets/default/assets/scss/docs.css +42 -0
  256. package/dist/runtime/presets/default/assets/scss/docs.scss +52 -0
  257. package/dist/runtime/presets/default/assets/scss/index.css +385 -0
  258. package/dist/runtime/presets/default/assets/scss/index.scss +86 -0
  259. package/dist/runtime/presets/default/assets/scss/mixins.css +0 -0
  260. package/dist/runtime/presets/default/assets/scss/mixins.scss +94 -0
  261. package/dist/runtime/presets/default/assets/scss/reset.css +16 -0
  262. package/dist/runtime/presets/default/assets/scss/reset.scss +16 -0
  263. package/dist/runtime/presets/default/assets/svg/arrow-down.svg +4 -0
  264. package/dist/runtime/presets/default/assets/svg/arrow-left.svg +4 -0
  265. package/dist/runtime/presets/default/assets/svg/arrow-right.svg +4 -0
  266. package/dist/runtime/presets/default/assets/svg/arrow-up.svg +4 -0
  267. package/dist/runtime/presets/default/assets/svg/bell.svg +4 -0
  268. package/dist/runtime/presets/default/assets/svg/calendar.svg +9 -0
  269. package/dist/runtime/presets/default/assets/svg/camera.svg +4 -0
  270. package/dist/runtime/presets/default/assets/svg/check.svg +3 -0
  271. package/dist/runtime/presets/default/assets/svg/chevron.svg +3 -0
  272. package/dist/runtime/presets/default/assets/svg/clock.svg +4 -0
  273. package/dist/runtime/presets/default/assets/svg/close.svg +4 -0
  274. package/dist/runtime/presets/default/assets/svg/copy.svg +4 -0
  275. package/dist/runtime/presets/default/assets/svg/divide.svg +5 -0
  276. package/dist/runtime/presets/default/assets/svg/download.svg +5 -0
  277. package/dist/runtime/presets/default/assets/svg/edit.svg +4 -0
  278. package/dist/runtime/presets/default/assets/svg/external-link.svg +5 -0
  279. package/dist/runtime/presets/default/assets/svg/eye-off.svg +4 -0
  280. package/dist/runtime/presets/default/assets/svg/eye.svg +4 -0
  281. package/dist/runtime/presets/default/assets/svg/file.svg +4 -0
  282. package/dist/runtime/presets/default/assets/svg/folder.svg +3 -0
  283. package/dist/runtime/presets/default/assets/svg/hash.svg +6 -0
  284. package/dist/runtime/presets/default/assets/svg/heart.svg +3 -0
  285. package/dist/runtime/presets/default/assets/svg/home.svg +4 -0
  286. package/dist/runtime/presets/default/assets/svg/image.svg +5 -0
  287. package/dist/runtime/presets/default/assets/svg/info.svg +5 -0
  288. package/dist/runtime/presets/default/assets/svg/link.svg +4 -0
  289. package/dist/runtime/presets/default/assets/svg/lock.svg +4 -0
  290. package/dist/runtime/presets/default/assets/svg/logout.svg +5 -0
  291. package/dist/runtime/presets/default/assets/svg/mail.svg +4 -0
  292. package/dist/runtime/presets/default/assets/svg/map-pin.svg +4 -0
  293. package/dist/runtime/presets/default/assets/svg/menu.svg +5 -0
  294. package/dist/runtime/presets/default/assets/svg/message-square.svg +3 -0
  295. package/dist/runtime/presets/default/assets/svg/minus.svg +3 -0
  296. package/dist/runtime/presets/default/assets/svg/more-vertical.svg +5 -0
  297. package/dist/runtime/presets/default/assets/svg/multiply.svg +3 -0
  298. package/dist/runtime/presets/default/assets/svg/phone.svg +3 -0
  299. package/dist/runtime/presets/default/assets/svg/plus.svg +4 -0
  300. package/dist/runtime/presets/default/assets/svg/refresh.svg +5 -0
  301. package/dist/runtime/presets/default/assets/svg/search.svg +4 -0
  302. package/dist/runtime/presets/default/assets/svg/settings.svg +4 -0
  303. package/dist/runtime/presets/default/assets/svg/share.svg +5 -0
  304. package/dist/runtime/presets/default/assets/svg/shopping-bag.svg +5 -0
  305. package/dist/runtime/presets/default/assets/svg/star.svg +3 -0
  306. package/dist/runtime/presets/default/assets/svg/trash.svg +4 -0
  307. package/dist/runtime/presets/default/assets/svg/type.svg +5 -0
  308. package/dist/runtime/presets/default/assets/svg/upload.svg +5 -0
  309. package/dist/runtime/presets/default/assets/svg/user.svg +4 -0
  310. package/dist/runtime/presets/default/assets/svg/warning.svg +5 -0
  311. package/dist/runtime/presets/default/components/KAccordion/KAccordion.d.vue.ts +3 -0
  312. package/dist/runtime/presets/default/components/KAccordion/KAccordion.vue +12 -0
  313. package/dist/runtime/presets/default/components/KAccordion/KAccordion.vue.d.ts +3 -0
  314. package/dist/runtime/presets/default/components/KAccordion/KAccordionItem.d.vue.ts +8 -0
  315. package/dist/runtime/presets/default/components/KAccordion/KAccordionItem.vue +53 -0
  316. package/dist/runtime/presets/default/components/KAccordion/KAccordionItem.vue.d.ts +8 -0
  317. package/dist/runtime/presets/default/components/KAlert/KAlert.d.vue.ts +3 -0
  318. package/dist/runtime/presets/default/components/KAlert/KAlert.vue +5 -0
  319. package/dist/runtime/presets/default/components/KAlert/KAlert.vue.d.ts +3 -0
  320. package/dist/runtime/presets/default/components/KBulkActions/KBulkActions.d.vue.ts +17 -0
  321. package/dist/runtime/presets/default/components/KBulkActions/KBulkActions.vue +58 -0
  322. package/dist/runtime/presets/default/components/KBulkActions/KBulkActions.vue.d.ts +17 -0
  323. package/dist/runtime/presets/default/components/KButton/KButton.d.vue.ts +11 -0
  324. package/dist/runtime/presets/default/components/KButton/KButton.vue +190 -0
  325. package/dist/runtime/presets/default/components/KButton/KButton.vue.d.ts +11 -0
  326. package/dist/runtime/presets/default/components/KCalendar/KCalendar.d.vue.ts +18 -0
  327. package/dist/runtime/presets/default/components/KCalendar/KCalendar.vue +96 -0
  328. package/dist/runtime/presets/default/components/KCalendar/KCalendar.vue.d.ts +18 -0
  329. package/dist/runtime/presets/default/components/KCalendar/KCalendarMonth.d.vue.ts +15 -0
  330. package/dist/runtime/presets/default/components/KCalendar/KCalendarMonth.vue +223 -0
  331. package/dist/runtime/presets/default/components/KCalendar/KCalendarMonth.vue.d.ts +15 -0
  332. package/dist/runtime/presets/default/components/KCalendar/KCalendarWeek.d.vue.ts +3 -0
  333. package/dist/runtime/presets/default/components/KCalendar/KCalendarWeek.vue +5 -0
  334. package/dist/runtime/presets/default/components/KCalendar/KCalendarWeek.vue.d.ts +3 -0
  335. package/dist/runtime/presets/default/components/KCheckbox/KCheckbox.d.vue.ts +15 -0
  336. package/dist/runtime/presets/default/components/KCheckbox/KCheckbox.vue +68 -0
  337. package/dist/runtime/presets/default/components/KCheckbox/KCheckbox.vue.d.ts +15 -0
  338. package/dist/runtime/presets/default/components/KCombobox/KCombobox.d.vue.ts +31 -0
  339. package/dist/runtime/presets/default/components/KCombobox/KCombobox.vue +147 -0
  340. package/dist/runtime/presets/default/components/KCombobox/KCombobox.vue.d.ts +31 -0
  341. package/dist/runtime/presets/default/components/KCombobox/KComboboxList.d.vue.ts +18 -0
  342. package/dist/runtime/presets/default/components/KCombobox/KComboboxList.vue +107 -0
  343. package/dist/runtime/presets/default/components/KCombobox/KComboboxList.vue.d.ts +18 -0
  344. package/dist/runtime/presets/default/components/KCompositeInput/KCompositeInput.d.vue.ts +34 -0
  345. package/dist/runtime/presets/default/components/KCompositeInput/KCompositeInput.vue +234 -0
  346. package/dist/runtime/presets/default/components/KCompositeInput/KCompositeInput.vue.d.ts +34 -0
  347. package/dist/runtime/presets/default/components/KContextMenu/KContextMenu.d.vue.ts +22 -0
  348. package/dist/runtime/presets/default/components/KContextMenu/KContextMenu.vue +62 -0
  349. package/dist/runtime/presets/default/components/KContextMenu/KContextMenu.vue.d.ts +22 -0
  350. package/dist/runtime/presets/default/components/KDataIterator/KDataIterator.d.vue.ts +24 -0
  351. package/dist/runtime/presets/default/components/KDataIterator/KDataIterator.vue +66 -0
  352. package/dist/runtime/presets/default/components/KDataIterator/KDataIterator.vue.d.ts +24 -0
  353. package/dist/runtime/presets/default/components/KDatatable/KDatatable.d.vue.ts +25 -0
  354. package/dist/runtime/presets/default/components/KDatatable/KDatatable.vue +195 -0
  355. package/dist/runtime/presets/default/components/KDatatable/KDatatable.vue.d.ts +25 -0
  356. package/dist/runtime/presets/default/components/KDatePicker/KDatePicker.d.vue.ts +29 -0
  357. package/dist/runtime/presets/default/components/KDatePicker/KDatePicker.vue +68 -0
  358. package/dist/runtime/presets/default/components/KDatePicker/KDatePicker.vue.d.ts +29 -0
  359. package/dist/runtime/presets/default/components/KDateTimePicker/KDateTimePicker.d.vue.ts +32 -0
  360. package/dist/runtime/presets/default/components/KDateTimePicker/KDateTimePicker.vue +99 -0
  361. package/dist/runtime/presets/default/components/KDateTimePicker/KDateTimePicker.vue.d.ts +32 -0
  362. package/dist/runtime/presets/default/components/KDropdown/KDropdown.d.vue.ts +24 -0
  363. package/dist/runtime/presets/default/components/KDropdown/KDropdown.vue +117 -0
  364. package/dist/runtime/presets/default/components/KDropdown/KDropdown.vue.d.ts +24 -0
  365. package/dist/runtime/presets/default/components/KGantt/KGantt.d.vue.ts +49 -0
  366. package/dist/runtime/presets/default/components/KGantt/KGantt.vue +400 -0
  367. package/dist/runtime/presets/default/components/KGantt/KGantt.vue.d.ts +49 -0
  368. package/dist/runtime/presets/default/components/KGantt/KGanttRuler.d.vue.ts +8 -0
  369. package/dist/runtime/presets/default/components/KGantt/KGanttRuler.vue +56 -0
  370. package/dist/runtime/presets/default/components/KGantt/KGanttRuler.vue.d.ts +8 -0
  371. package/dist/runtime/presets/default/components/KGantt/KGanttTimeline.d.vue.ts +41 -0
  372. package/dist/runtime/presets/default/components/KGantt/KGanttTimeline.vue +218 -0
  373. package/dist/runtime/presets/default/components/KGantt/KGanttTimeline.vue.d.ts +41 -0
  374. package/dist/runtime/presets/default/components/KGrid/KGrid.d.vue.ts +6 -0
  375. package/dist/runtime/presets/default/components/KGrid/KGrid.vue +73 -0
  376. package/dist/runtime/presets/default/components/KGrid/KGrid.vue.d.ts +6 -0
  377. package/dist/runtime/presets/default/components/KHourPicker/KHourPicker.d.vue.ts +27 -0
  378. package/dist/runtime/presets/default/components/KHourPicker/KHourPicker.vue +73 -0
  379. package/dist/runtime/presets/default/components/KHourPicker/KHourPicker.vue.d.ts +27 -0
  380. package/dist/runtime/presets/default/components/KHourSelect/KHourSelect.d.vue.ts +9 -0
  381. package/dist/runtime/presets/default/components/KHourSelect/KHourSelect.vue +54 -0
  382. package/dist/runtime/presets/default/components/KHourSelect/KHourSelect.vue.d.ts +9 -0
  383. package/dist/runtime/presets/default/components/KIcon/KIcon.d.vue.ts +9 -0
  384. package/dist/runtime/presets/default/components/KIcon/KIcon.vue +39 -0
  385. package/dist/runtime/presets/default/components/KIcon/KIcon.vue.d.ts +9 -0
  386. package/dist/runtime/presets/default/components/KLoader/KLoader.d.vue.ts +9 -0
  387. package/dist/runtime/presets/default/components/KLoader/KLoader.vue +77 -0
  388. package/dist/runtime/presets/default/components/KLoader/KLoader.vue.d.ts +9 -0
  389. package/dist/runtime/presets/default/components/KMaskTextbox/KMaskTextbox.d.vue.ts +18 -0
  390. package/dist/runtime/presets/default/components/KMaskTextbox/KMaskTextbox.vue +136 -0
  391. package/dist/runtime/presets/default/components/KMaskTextbox/KMaskTextbox.vue.d.ts +18 -0
  392. package/dist/runtime/presets/default/components/KModal/KModal.d.vue.ts +9 -0
  393. package/dist/runtime/presets/default/components/KModal/KModal.vue +92 -0
  394. package/dist/runtime/presets/default/components/KModal/KModal.vue.d.ts +9 -0
  395. package/dist/runtime/presets/default/components/KPagination/KPagination.d.vue.ts +18 -0
  396. package/dist/runtime/presets/default/components/KPagination/KPagination.vue +72 -0
  397. package/dist/runtime/presets/default/components/KPagination/KPagination.vue.d.ts +18 -0
  398. package/dist/runtime/presets/default/components/KPanel/KPanel.d.vue.ts +15 -0
  399. package/dist/runtime/presets/default/components/KPanel/KPanel.vue +113 -0
  400. package/dist/runtime/presets/default/components/KPanel/KPanel.vue.d.ts +15 -0
  401. package/dist/runtime/presets/default/components/KRadiobox/KRadiobox.d.vue.ts +19 -0
  402. package/dist/runtime/presets/default/components/KRadiobox/KRadiobox.vue +54 -0
  403. package/dist/runtime/presets/default/components/KRadiobox/KRadiobox.vue.d.ts +19 -0
  404. package/dist/runtime/presets/default/components/KRangeSlider/KRangeSlider.d.vue.ts +20 -0
  405. package/dist/runtime/presets/default/components/KRangeSlider/KRangeSlider.vue +191 -0
  406. package/dist/runtime/presets/default/components/KRangeSlider/KRangeSlider.vue.d.ts +20 -0
  407. package/dist/runtime/presets/default/components/KSearchTree/KSearchTree.d.vue.ts +6 -0
  408. package/dist/runtime/presets/default/components/KSearchTree/KSearchTree.vue +13 -0
  409. package/dist/runtime/presets/default/components/KSearchTree/KSearchTree.vue.d.ts +6 -0
  410. package/dist/runtime/presets/default/components/KSearchTreeDropdown/KSearchTreeDropdown.d.vue.ts +6 -0
  411. package/dist/runtime/presets/default/components/KSearchTreeDropdown/KSearchTreeDropdown.vue +13 -0
  412. package/dist/runtime/presets/default/components/KSearchTreeDropdown/KSearchTreeDropdown.vue.d.ts +6 -0
  413. package/dist/runtime/presets/default/components/KSlider/KSlider.d.vue.ts +16 -0
  414. package/dist/runtime/presets/default/components/KSlider/KSlider.vue +146 -0
  415. package/dist/runtime/presets/default/components/KSlider/KSlider.vue.d.ts +16 -0
  416. package/dist/runtime/presets/default/components/KTabs/KTabItem.d.vue.ts +8 -0
  417. package/dist/runtime/presets/default/components/KTabs/KTabItem.vue +49 -0
  418. package/dist/runtime/presets/default/components/KTabs/KTabItem.vue.d.ts +8 -0
  419. package/dist/runtime/presets/default/components/KTabs/KTabs.d.vue.ts +8 -0
  420. package/dist/runtime/presets/default/components/KTabs/KTabs.vue +113 -0
  421. package/dist/runtime/presets/default/components/KTabs/KTabs.vue.d.ts +8 -0
  422. package/dist/runtime/presets/default/components/KTextarea/KTextarea.d.vue.ts +18 -0
  423. package/dist/runtime/presets/default/components/KTextarea/KTextarea.vue +56 -0
  424. package/dist/runtime/presets/default/components/KTextarea/KTextarea.vue.d.ts +18 -0
  425. package/dist/runtime/presets/default/components/KTextbox/KTextbox.d.vue.ts +17 -0
  426. package/dist/runtime/presets/default/components/KTextbox/KTextbox.vue +119 -0
  427. package/dist/runtime/presets/default/components/KTextbox/KTextbox.vue.d.ts +17 -0
  428. package/dist/runtime/presets/default/components/KToast/KToast.d.vue.ts +17 -0
  429. package/dist/runtime/presets/default/components/KToast/KToast.vue +118 -0
  430. package/dist/runtime/presets/default/components/KToast/KToast.vue.d.ts +17 -0
  431. package/dist/runtime/presets/default/components/KTooltip/KTooltip.d.vue.ts +16 -0
  432. package/dist/runtime/presets/default/components/KTooltip/KTooltip.vue +73 -0
  433. package/dist/runtime/presets/default/components/KTooltip/KTooltip.vue.d.ts +16 -0
  434. package/dist/runtime/presets/default/components/KTree/KTree.d.vue.ts +23 -0
  435. package/dist/runtime/presets/default/components/KTree/KTree.vue +149 -0
  436. package/dist/runtime/presets/default/components/KTree/KTree.vue.d.ts +23 -0
  437. package/dist/runtime/presets/default/components/KTreePicker/KTreePicker.d.vue.ts +35 -0
  438. package/dist/runtime/presets/default/components/KTreePicker/KTreePicker.vue +121 -0
  439. package/dist/runtime/presets/default/components/KTreePicker/KTreePicker.vue.d.ts +35 -0
  440. package/dist/runtime/presets/default/components/KTreeView/KTreeCell.d.vue.ts +10 -0
  441. package/dist/runtime/presets/default/components/KTreeView/KTreeCell.vue +53 -0
  442. package/dist/runtime/presets/default/components/KTreeView/KTreeCell.vue.d.ts +10 -0
  443. package/dist/runtime/presets/default/components/KTreeView/KTreeView.d.vue.ts +24 -0
  444. package/dist/runtime/presets/default/components/KTreeView/KTreeView.vue +62 -0
  445. package/dist/runtime/presets/default/components/KTreeView/KTreeView.vue.d.ts +24 -0
  446. package/dist/runtime/presets/default/components/MultiTabs/MultiTabs.d.vue.ts +9 -0
  447. package/dist/runtime/presets/default/components/MultiTabs/MultiTabs.vue +61 -0
  448. package/dist/runtime/presets/default/components/MultiTabs/MultiTabs.vue.d.ts +9 -0
  449. package/dist/runtime/utils/PresetResolver.d.ts +63 -0
  450. package/dist/runtime/utils/PresetResolver.js +106 -0
  451. package/dist/types.d.mts +7 -0
  452. package/package.json +46 -0
@@ -0,0 +1,5 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <polyline points="7 10 12 15 17 10" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <line x1="12" y1="15" x2="12" y2="3" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M15 3h6v6" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M10 14 21 3" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <line x1="1" y1="1" x2="23" y2="23" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <circle cx="12" cy="12" r="3" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V9L13 2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M13 2V9H20" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M22 19C22 19.5304 21.7893 20.0391 21.4142 20.4142C21.0391 20.7893 20.5304 21 20 21H4C3.46957 21 2.96086 20.7893 2.58579 20.4142C2.21071 20.0391 2 19.5304 2 19V7C2 6.46957 2.21071 5.96086 2.58579 5.58579C2.96086 5.21071 3.46957 5 4 5H9L11 7H20C20.5304 7 21.0391 7.21071 21.4142 7.58579C21.7893 7.96086 22 8.46957 22 9V19Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <line x1="4" x2="20" y1="9" y2="9" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <line x1="4" x2="20" y1="15" y2="15" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <line x1="10" x2="8" y1="3" y2="21" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <line x1="16" x2="14" y1="3" y2="21" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
6
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <polyline points="9 22 9 12 15 12 15 22" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="18" height="18" x="3" y="3" rx="2" ry="2" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <circle cx="9" cy="9" r="2" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="12" cy="12" r="10" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M12 16v-4" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M12 8h.01" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="18" height="11" x="3" y="11" rx="2" ry="2" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M7 11V7a5 5 0 0 1 10 0v4" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <polyline points="16 17 21 12 16 7" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <line x1="21" y1="12" x2="9" y2="12" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="20" height="16" x="2" y="4" rx="2" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <circle cx="12" cy="10" r="3" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <line x1="3" y1="12" x2="21" y2="12" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <line x1="3" y1="6" x2="21" y2="6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <line x1="3" y1="18" x2="21" y2="18" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M5 12h14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="12" cy="12" r="1" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <circle cx="12" cy="5" r="1" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <circle cx="12" cy="19" r="1" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M18 6L6 18M6 6l12 12" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M5 12h14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M12 5v14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <polyline points="23 4 23 10 17 10" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <polyline points="1 20 1 14 7 14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="11" cy="11" r="9" stroke="currentColor" stroke-width="2.5"/>
3
+ <line x1="17" y1="17" x2="23" y2="23" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.5a2 2 0 0 1-1 1.72l-.15.1a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <circle cx="12" cy="12" r="3" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 2v13" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="m16 6-4-4-4 4" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M16 10a4 4 0 0 1-8 0" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M3.103 6.034h17.794" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M3 6h18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <polyline points="4 7 4 4 20 4 20 7" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <line x1="9" x2="15" y1="20" y2="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <line x1="12" x2="12" y1="4" y2="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <polyline points="17 8 12 3 7 8" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <line x1="12" y1="3" x2="12" y2="15" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="12" cy="8" r="4" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M4 20c0-4 4-6 8-6s8 2 8 6" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <line x1="12" y1="9" x2="12" y2="13" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <line x1="12" y1="17" x2="12.01" y2="17" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,12 @@
1
+ <template lang="pug">
2
+ .accordion
3
+ KGrid(direction="column" :gap="'md'" align="stretch")
4
+ slot
5
+ </template>
6
+
7
+ <script lang="ts" setup>
8
+ // Default template for KAccordion
9
+ </script>
10
+
11
+ <style lang="scss" scoped>
12
+ </style>
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ isOpen: boolean;
4
+ toggleAccordion: () => void;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,53 @@
1
+ <template lang="pug">
2
+ .accordion-item(:class="{'isOpen': isOpen}")
3
+ KGrid.accordion-item__header(align="center" justify="space-between" noGap @click="toggleAccordion")
4
+ .accordion-item__title {{title}}
5
+ KIcon.accordion-item__chevron(iconname="chevron", :class="{'open': isOpen}")
6
+ .accordion-item__content(:class="{'open': isOpen}")
7
+ slot
8
+ </template>
9
+
10
+ <script lang="ts" setup>
11
+ const props = defineProps<{
12
+ title: string
13
+ isOpen: boolean
14
+ toggleAccordion: () => void
15
+ }>()
16
+ </script>
17
+
18
+ <style lang="scss" scoped>
19
+ .accordion-item {
20
+ &__header {
21
+ padding: var(--component-gap);
22
+ background-color: var(--background-color-medium);
23
+ cursor: pointer;
24
+ border-radius: var(--box-border-radius);
25
+
26
+ .isOpen & {
27
+ border-bottom-left-radius: 0;
28
+ border-bottom-right-radius: 0;
29
+ }
30
+ }
31
+ &__title {
32
+ flex-grow: 1;
33
+ }
34
+ &__chevron {
35
+ transform: rotate(90deg);
36
+ transition: transform 0.3s ease-in-out;
37
+ &.open {
38
+ transform: rotate(270deg);
39
+ }
40
+ }
41
+ &__content {
42
+ display: none;
43
+ padding-top: var(--box-padding);
44
+ padding-bottom: var(--box-padding);
45
+ &.open {
46
+ border-bottom: var(--box-border);
47
+ }
48
+ .isOpen & {
49
+ display: block;
50
+ }
51
+ }
52
+ }
53
+ </style>
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ isOpen: boolean;
4
+ toggleAccordion: () => void;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,5 @@
1
+ <template lang="pug">
2
+ .KAlert
3
+ // Impl
4
+ </template>
5
+ <script lang="ts" setup></script>
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { CFlatClientDataProvider } from '@katlux/providers';
2
+ import type { IKDatatableAction } from '@katlux/providers';
3
+ type __VLS_Props = {
4
+ bulkActions: IKDatatableAction[];
5
+ selectedRows: any[];
6
+ selectAll: boolean;
7
+ selected: any;
8
+ dp: CFlatClientDataProvider;
9
+ doAction: (action: any) => void;
10
+ };
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
+ "update:selected": (value: any) => any;
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ "onUpdate:selected"?: ((value: any) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -0,0 +1,58 @@
1
+ <template lang="pug">
2
+ .k-bulk-actions
3
+ template(v-if="props.bulkActions.length>3")
4
+ KCombobox(:dataProvider="dp" v-model="internalSelected" labelField="label" closeOnSelect :disabled="props.selectedRows.length === 0" placeholder="Select an action")
5
+ KButton(@click="doAction(internalSelected)" size="small" :disabled="props.selectedRows.length === 0 || internalSelected == undefined") Do
6
+ template(v-else-if="props.bulkActions.length<=3" v-for="(action, index) in props.bulkActions")
7
+ KTooltip(
8
+ :text="action.label"
9
+ :disabled="!(action.iconOnly || !!action.icon)"
10
+ )
11
+ KButton(
12
+ @click="doAction(action)"
13
+ size="small"
14
+ :type="action.type || 'default'"
15
+ :iconOnly="action.iconOnly || !!action.icon"
16
+ :disabled="props.selectedRows.length === 0"
17
+ )
18
+ template(#icon v-if="action.icon")
19
+ KIcon(:iconname="action.icon" :width="16" :height="16")
20
+ template(#default v-if="!action.iconOnly && !action.icon") {{action.label}}
21
+ .info Selected {{props.selectedRows.length}} items
22
+ </template>
23
+
24
+ <script setup lang="ts">
25
+ import { computed } from 'vue'
26
+ import { CFlatClientDataProvider } from '@katlux/providers'
27
+ import type { IKDatatableAction } from '@katlux/providers'
28
+
29
+ const props = defineProps<{
30
+ bulkActions: IKDatatableAction[]
31
+ selectedRows: any[]
32
+ selectAll: boolean
33
+ selected: any
34
+ dp: CFlatClientDataProvider
35
+ doAction: (action: any) => void
36
+ }>()
37
+
38
+ const emit = defineEmits<{
39
+ (e: 'update:selected', value: any): void
40
+ }>()
41
+
42
+ const internalSelected = computed({
43
+ get: () => props.selected,
44
+ set: (val) => emit('update:selected', val)
45
+ })
46
+
47
+ </script>
48
+
49
+ <style lang="scss" scoped>
50
+ .k-bulk-actions {
51
+ display: flex;
52
+ gap: 10px;
53
+ .info {
54
+ display: flex;
55
+ align-items: center;
56
+ }
57
+ }
58
+ </style>
@@ -0,0 +1,17 @@
1
+ import { CFlatClientDataProvider } from '@katlux/providers';
2
+ import type { IKDatatableAction } from '@katlux/providers';
3
+ type __VLS_Props = {
4
+ bulkActions: IKDatatableAction[];
5
+ selectedRows: any[];
6
+ selectAll: boolean;
7
+ selected: any;
8
+ dp: CFlatClientDataProvider;
9
+ doAction: (action: any) => void;
10
+ };
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
+ "update:selected": (value: any) => any;
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ "onUpdate:selected"?: ((value: any) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -0,0 +1,11 @@
1
+ type __VLS_Props = {
2
+ isLink: boolean;
3
+ isDisabled: boolean;
4
+ buttonClasses: any;
5
+ onClick: () => void;
6
+ href?: string;
7
+ loading?: boolean;
8
+ };
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;