@sakoa/ui 0.1.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 (345) hide show
  1. package/README.md +171 -0
  2. package/dist/App.d.ts +2 -0
  3. package/dist/cli/index.js +9243 -0
  4. package/dist/components/DemoSection.d.ts +30 -0
  5. package/dist/components/SApiKeyboard.d.ts +22 -0
  6. package/dist/components/SApiSection.d.ts +21 -0
  7. package/dist/components/SApiTable.d.ts +46 -0
  8. package/dist/components/STableOfContents.d.ts +2 -0
  9. package/dist/components/ui/SAlert.d.ts +76 -0
  10. package/dist/components/ui/SBadge.d.ts +56 -0
  11. package/dist/components/ui/SButton.d.ts +67 -0
  12. package/dist/components/ui/SCheckbox.d.ts +64 -0
  13. package/dist/components/ui/SChip.d.ts +43 -0
  14. package/dist/components/ui/SDatePicker.d.ts +77 -0
  15. package/dist/components/ui/SGlassButton.d.ts +70 -0
  16. package/dist/components/ui/SIcon.d.ts +29 -0
  17. package/dist/components/ui/SInput.d.ts +129 -0
  18. package/dist/components/ui/SKbd.d.ts +24 -0
  19. package/dist/components/ui/SKbdShortcut.d.ts +14 -0
  20. package/dist/components/ui/SSelect.d.ts +148 -0
  21. package/dist/components/ui/SSkeleton.d.ts +37 -0
  22. package/dist/components/ui/SSwitch.d.ts +61 -0
  23. package/dist/components/ui/STooltip.d.ts +82 -0
  24. package/dist/components/ui/accordion/SAccordionContent.d.ts +23 -0
  25. package/dist/components/ui/accordion/SAccordionItem.d.ts +70 -0
  26. package/dist/components/ui/accordion/SAccordionTrigger.d.ts +37 -0
  27. package/dist/components/ui/accordion/index.d.ts +4 -0
  28. package/dist/components/ui/avatar/SAvatar.d.ts +36 -0
  29. package/dist/components/ui/avatar/SAvatarFallback.d.ts +26 -0
  30. package/dist/components/ui/avatar/SAvatarGroup.d.ts +30 -0
  31. package/dist/components/ui/avatar/SAvatarImage.d.ts +23 -0
  32. package/dist/components/ui/avatar/index.d.ts +4 -0
  33. package/dist/components/ui/breadcrumb/SBreadcrumb.d.ts +22 -0
  34. package/dist/components/ui/breadcrumb/SBreadcrumbEllipsis.d.ts +17 -0
  35. package/dist/components/ui/breadcrumb/SBreadcrumbItem.d.ts +17 -0
  36. package/dist/components/ui/breadcrumb/SBreadcrumbLink.d.ts +26 -0
  37. package/dist/components/ui/breadcrumb/SBreadcrumbList.d.ts +17 -0
  38. package/dist/components/ui/breadcrumb/SBreadcrumbPage.d.ts +17 -0
  39. package/dist/components/ui/breadcrumb/SBreadcrumbSeparator.d.ts +17 -0
  40. package/dist/components/ui/breadcrumb/index.d.ts +7 -0
  41. package/dist/components/ui/card/SCard.d.ts +103 -0
  42. package/dist/components/ui/card/SCardActions.d.ts +44 -0
  43. package/dist/components/ui/card/SCardContent.d.ts +35 -0
  44. package/dist/components/ui/card/SCardFooter.d.ts +38 -0
  45. package/dist/components/ui/card/SCardHeader.d.ts +53 -0
  46. package/dist/components/ui/card/SCardMedia.d.ts +83 -0
  47. package/dist/components/ui/card/SGlassCard.d.ts +103 -0
  48. package/dist/components/ui/card/SMorphingCardContent.d.ts +18 -0
  49. package/dist/components/ui/card/index.d.ts +24 -0
  50. package/dist/components/ui/carousel/SCarousel.d.ts +166 -0
  51. package/dist/components/ui/carousel/index.d.ts +2 -0
  52. package/dist/components/ui/color-picker/SColorPickerAlphaSlider.d.ts +4 -0
  53. package/dist/components/ui/color-picker/SColorPickerCopy.d.ts +19 -0
  54. package/dist/components/ui/color-picker/SColorPickerEyeDropper.d.ts +17 -0
  55. package/dist/components/ui/color-picker/SColorPickerHueSlider.d.ts +4 -0
  56. package/dist/components/ui/color-picker/SColorPickerInputs.d.ts +2 -0
  57. package/dist/components/ui/color-picker/SColorPickerPresets.d.ts +9 -0
  58. package/dist/components/ui/color-picker/SColorPickerPreview.d.ts +2 -0
  59. package/dist/components/ui/color-picker/SColorPickerRecent.d.ts +7 -0
  60. package/dist/components/ui/color-picker/SColorPickerSpectrum.d.ts +4 -0
  61. package/dist/components/ui/color-picker/index.d.ts +11 -0
  62. package/dist/components/ui/drawer/index.d.ts +11 -0
  63. package/dist/components/ui/dropdown/SDropdownDivider.d.ts +8 -0
  64. package/dist/components/ui/dropdown/SDropdownGroup.d.ts +25 -0
  65. package/dist/components/ui/dropdown/SDropdownItem.d.ts +56 -0
  66. package/dist/components/ui/dropdown/index.d.ts +4 -0
  67. package/dist/components/ui/form/SForm.d.ts +38 -0
  68. package/dist/components/ui/form/SFormField.d.ts +31 -0
  69. package/dist/components/ui/form/index.d.ts +5 -0
  70. package/dist/components/ui/modal/index.d.ts +19 -0
  71. package/dist/components/ui/option/SOption.d.ts +32 -0
  72. package/dist/components/ui/option/SOptionGroup.d.ts +28 -0
  73. package/dist/components/ui/option/index.d.ts +2 -0
  74. package/dist/components/ui/otp/SOTP.d.ts +122 -0
  75. package/dist/components/ui/otp/SOTPGroup.d.ts +23 -0
  76. package/dist/components/ui/otp/SOTPSeparator.d.ts +17 -0
  77. package/dist/components/ui/otp/SOTPSlot.d.ts +49 -0
  78. package/dist/components/ui/otp/index.d.ts +7 -0
  79. package/dist/components/ui/otp/types.d.ts +26 -0
  80. package/dist/components/ui/otp/useOTPContext.d.ts +42 -0
  81. package/dist/components/ui/pagination/SPagination.d.ts +151 -0
  82. package/dist/components/ui/pagination/index.d.ts +2 -0
  83. package/dist/components/ui/progress/SProgress.d.ts +62 -0
  84. package/dist/components/ui/progress/SProgressRange.d.ts +91 -0
  85. package/dist/components/ui/progress/index.d.ts +4 -0
  86. package/dist/components/ui/radio/SRadio.d.ts +58 -0
  87. package/dist/components/ui/radio/SRadioGroup.d.ts +52 -0
  88. package/dist/components/ui/radio/index.d.ts +2 -0
  89. package/dist/components/ui/stepper/SStepper.d.ts +83 -0
  90. package/dist/components/ui/stepper/SStepperContent.d.ts +24 -0
  91. package/dist/components/ui/stepper/SStepperDescription.d.ts +20 -0
  92. package/dist/components/ui/stepper/SStepperIndicator.d.ts +37 -0
  93. package/dist/components/ui/stepper/SStepperItem.d.ts +37 -0
  94. package/dist/components/ui/stepper/SStepperSeparator.d.ts +5 -0
  95. package/dist/components/ui/stepper/SStepperTitle.d.ts +20 -0
  96. package/dist/components/ui/stepper/SStepperTrigger.d.ts +22 -0
  97. package/dist/components/ui/stepper/index.d.ts +11 -0
  98. package/dist/components/ui/table/STableBody.d.ts +27 -0
  99. package/dist/components/ui/table/STableCell.d.ts +55 -0
  100. package/dist/components/ui/table/STableColumn.d.ts +87 -0
  101. package/dist/components/ui/table/STableEmpty.d.ts +54 -0
  102. package/dist/components/ui/table/STableHeader.d.ts +25 -0
  103. package/dist/components/ui/table/STableRow.d.ts +38 -0
  104. package/dist/components/ui/table/STableSkeleton.d.ts +29 -0
  105. package/dist/components/ui/table/index.d.ts +98 -0
  106. package/dist/components/ui/table/useDataTable.d.ts +80 -0
  107. package/dist/components/ui/tabs/STabPane.d.ts +31 -0
  108. package/dist/components/ui/tabs/STabsContent.d.ts +21 -0
  109. package/dist/components/ui/tabs/STabsIndicator.d.ts +9 -0
  110. package/dist/components/ui/tabs/STabsTrigger.d.ts +28 -0
  111. package/dist/components/ui/tabs/index.d.ts +6 -0
  112. package/dist/components/ui/toast/SToast.d.ts +49 -0
  113. package/dist/components/ui/toast/SToastContainer.d.ts +21 -0
  114. package/dist/components/ui/toast/index.d.ts +2 -0
  115. package/dist/composables/useAsync.d.ts +134 -0
  116. package/dist/composables/useClickOutside.d.ts +69 -0
  117. package/dist/composables/useClipboard.d.ts +46 -0
  118. package/dist/composables/useDebounce.d.ts +150 -0
  119. package/dist/composables/useDialog.d.ts +118 -0
  120. package/dist/composables/useForm.d.ts +204 -0
  121. package/dist/composables/useHotkey.d.ts +128 -0
  122. package/dist/composables/useIntersectionObserver.d.ts +156 -0
  123. package/dist/composables/useLocalStorage.d.ts +120 -0
  124. package/dist/composables/useMediaQuery.d.ts +115 -0
  125. package/dist/composables/useTheme.d.ts +8 -0
  126. package/dist/composables/useToast.d.ts +1619 -0
  127. package/dist/index.d.ts +71 -0
  128. package/dist/layouts/UILayout.d.ts +2 -0
  129. package/dist/lib/utils.d.ts +2 -0
  130. package/dist/main.d.ts +0 -0
  131. package/dist/router.d.ts +2 -0
  132. package/dist/saka-ui.css +1 -0
  133. package/dist/saka-ui.js +18513 -0
  134. package/dist/saka-ui.umd.cjs +38 -0
  135. package/dist/views/docs/CustomizationView.d.ts +2 -0
  136. package/dist/views/docs/FormValidationView.d.ts +2 -0
  137. package/dist/views/docs/StylingGuideView.d.ts +2 -0
  138. package/dist/views/docs/UseAsyncView.d.ts +2 -0
  139. package/dist/views/docs/UseClickOutsideView.d.ts +124 -0
  140. package/dist/views/docs/UseClipboardView.d.ts +4 -0
  141. package/dist/views/docs/UseDebounceView.d.ts +2 -0
  142. package/dist/views/docs/UseHotkeyView.d.ts +205 -0
  143. package/dist/views/docs/UseIntersectionObserverView.d.ts +5 -0
  144. package/dist/views/docs/UseLocalStorageView.d.ts +2 -0
  145. package/dist/views/docs/UseMediaQueryView.d.ts +2 -0
  146. package/dist/views/docs/UseThemeView.d.ts +2 -0
  147. package/dist/views/examples/AuthFormView.d.ts +2 -0
  148. package/dist/views/examples/CreditCardFormView.d.ts +6 -0
  149. package/dist/views/examples/FormFieldExampleView.d.ts +2 -0
  150. package/dist/views/examples/ProjectFormView.d.ts +2 -0
  151. package/dist/views/ui/AccordionView.d.ts +2 -0
  152. package/dist/views/ui/AlertView.d.ts +2 -0
  153. package/dist/views/ui/AvatarView.d.ts +2 -0
  154. package/dist/views/ui/BadgeView.d.ts +2 -0
  155. package/dist/views/ui/BreadcrumbView.d.ts +2 -0
  156. package/dist/views/ui/ButtonView.d.ts +2 -0
  157. package/dist/views/ui/CardView.d.ts +2 -0
  158. package/dist/views/ui/CarouselView.d.ts +274 -0
  159. package/dist/views/ui/CheckboxView.d.ts +2 -0
  160. package/dist/views/ui/ChipView.d.ts +2 -0
  161. package/dist/views/ui/ColorPickerView.d.ts +2 -0
  162. package/dist/views/ui/DatePickerView.d.ts +2 -0
  163. package/dist/views/ui/DialogView.d.ts +2 -0
  164. package/dist/views/ui/DrawerView.d.ts +2 -0
  165. package/dist/views/ui/DropdownView.d.ts +2 -0
  166. package/dist/views/ui/GlassButtonView.d.ts +2 -0
  167. package/dist/views/ui/GlassCardView.d.ts +2 -0
  168. package/dist/views/ui/HomeView.d.ts +2 -0
  169. package/dist/views/ui/IconsView.d.ts +2 -0
  170. package/dist/views/ui/InputView.d.ts +2 -0
  171. package/dist/views/ui/KbdView.d.ts +2 -0
  172. package/dist/views/ui/ModalView.d.ts +2 -0
  173. package/dist/views/ui/MorphingCardView.d.ts +2 -0
  174. package/dist/views/ui/MorphingModalView.d.ts +2 -0
  175. package/dist/views/ui/OTPView.d.ts +206 -0
  176. package/dist/views/ui/PaginationView.d.ts +2 -0
  177. package/dist/views/ui/ProgressView.d.ts +2 -0
  178. package/dist/views/ui/RadioView.d.ts +2 -0
  179. package/dist/views/ui/SelectView.d.ts +2 -0
  180. package/dist/views/ui/SkeletonView.d.ts +2 -0
  181. package/dist/views/ui/StepperView.d.ts +2 -0
  182. package/dist/views/ui/SwitchView.d.ts +2 -0
  183. package/dist/views/ui/TableView.d.ts +2 -0
  184. package/dist/views/ui/TabsView.d.ts +2 -0
  185. package/dist/views/ui/ToastView.d.ts +2 -0
  186. package/dist/views/ui/TooltipView.d.ts +2 -0
  187. package/dist/vite.svg +1 -0
  188. package/package.json +64 -0
  189. package/registry/components/accordion.json +19 -0
  190. package/registry/components/alert.json +17 -0
  191. package/registry/components/avatar.json +18 -0
  192. package/registry/components/badge.json +14 -0
  193. package/registry/components/breadcrumb.json +24 -0
  194. package/registry/components/button.json +17 -0
  195. package/registry/components/card.json +23 -0
  196. package/registry/components/carousel.json +19 -0
  197. package/registry/components/checkbox.json +17 -0
  198. package/registry/components/chip.json +17 -0
  199. package/registry/components/color-picker.json +24 -0
  200. package/registry/components/date-picker.json +17 -0
  201. package/registry/components/drawer.json +26 -0
  202. package/registry/components/dropdown.json +21 -0
  203. package/registry/components/form.json +16 -0
  204. package/registry/components/glass-button.json +17 -0
  205. package/registry/components/icon.json +17 -0
  206. package/registry/components/input.json +17 -0
  207. package/registry/components/kbd.json +16 -0
  208. package/registry/components/modal.json +32 -0
  209. package/registry/components/option.json +16 -0
  210. package/registry/components/otp.json +23 -0
  211. package/registry/components/pagination.json +18 -0
  212. package/registry/components/progress.json +16 -0
  213. package/registry/components/radio.json +19 -0
  214. package/registry/components/select.json +17 -0
  215. package/registry/components/skeleton.json +14 -0
  216. package/registry/components/switch.json +17 -0
  217. package/registry/components/table.json +26 -0
  218. package/registry/components/tabs.json +19 -0
  219. package/registry/components/toast.json +19 -0
  220. package/registry/components/tooltip.json +14 -0
  221. package/registry/index.json +4 -0
  222. package/registry/source/components/ui/SAlert.vue +388 -0
  223. package/registry/source/components/ui/SBadge.vue +243 -0
  224. package/registry/source/components/ui/SButton.vue +387 -0
  225. package/registry/source/components/ui/SCheckbox.vue +310 -0
  226. package/registry/source/components/ui/SChip.vue +130 -0
  227. package/registry/source/components/ui/SDatePicker.vue +1290 -0
  228. package/registry/source/components/ui/SGlassButton.vue +547 -0
  229. package/registry/source/components/ui/SIcon.vue +78 -0
  230. package/registry/source/components/ui/SInput.vue +1054 -0
  231. package/registry/source/components/ui/SKbd.vue +96 -0
  232. package/registry/source/components/ui/SKbdShortcut.vue +36 -0
  233. package/registry/source/components/ui/SSelect.vue +1290 -0
  234. package/registry/source/components/ui/SSkeleton.vue +185 -0
  235. package/registry/source/components/ui/SSwitch.vue +275 -0
  236. package/registry/source/components/ui/STooltip.vue +491 -0
  237. package/registry/source/components/ui/accordion/SAccordion.vue +248 -0
  238. package/registry/source/components/ui/accordion/SAccordionItem.vue +353 -0
  239. package/registry/source/components/ui/accordion/index.ts +5 -0
  240. package/registry/source/components/ui/avatar/SAvatar.vue +169 -0
  241. package/registry/source/components/ui/avatar/SAvatarFallback.vue +66 -0
  242. package/registry/source/components/ui/avatar/SAvatarGroup.vue +69 -0
  243. package/registry/source/components/ui/avatar/SAvatarImage.vue +92 -0
  244. package/registry/source/components/ui/avatar/index.ts +5 -0
  245. package/registry/source/components/ui/breadcrumb/SBreadcrumb.vue +23 -0
  246. package/registry/source/components/ui/breadcrumb/SBreadcrumbEllipsis.vue +17 -0
  247. package/registry/source/components/ui/breadcrumb/SBreadcrumbItem.vue +14 -0
  248. package/registry/source/components/ui/breadcrumb/SBreadcrumbLink.vue +46 -0
  249. package/registry/source/components/ui/breadcrumb/SBreadcrumbList.vue +17 -0
  250. package/registry/source/components/ui/breadcrumb/SBreadcrumbPage.vue +15 -0
  251. package/registry/source/components/ui/breadcrumb/SBreadcrumbSeparator.vue +18 -0
  252. package/registry/source/components/ui/breadcrumb/index.ts +7 -0
  253. package/registry/source/components/ui/card/SCard.vue +517 -0
  254. package/registry/source/components/ui/card/SCardActions.vue +129 -0
  255. package/registry/source/components/ui/card/SCardContent.vue +117 -0
  256. package/registry/source/components/ui/card/SCardFooter.vue +103 -0
  257. package/registry/source/components/ui/card/SCardHeader.vue +163 -0
  258. package/registry/source/components/ui/card/SCardMedia.vue +312 -0
  259. package/registry/source/components/ui/card/index.ts +34 -0
  260. package/registry/source/components/ui/carousel/SCarousel.vue +1069 -0
  261. package/registry/source/components/ui/carousel/SCarouselSlide.vue +107 -0
  262. package/registry/source/components/ui/carousel/index.ts +3 -0
  263. package/registry/source/components/ui/color-picker/SColorPicker.vue +772 -0
  264. package/registry/source/components/ui/color-picker/SColorPickerAlphaSlider.vue +158 -0
  265. package/registry/source/components/ui/color-picker/SColorPickerCopy.vue +76 -0
  266. package/registry/source/components/ui/color-picker/SColorPickerEyeDropper.vue +68 -0
  267. package/registry/source/components/ui/color-picker/SColorPickerHueSlider.vue +138 -0
  268. package/registry/source/components/ui/color-picker/SColorPickerInputs.vue +227 -0
  269. package/registry/source/components/ui/color-picker/SColorPickerPresets.vue +87 -0
  270. package/registry/source/components/ui/color-picker/SColorPickerPreview.vue +46 -0
  271. package/registry/source/components/ui/color-picker/SColorPickerRecent.vue +74 -0
  272. package/registry/source/components/ui/color-picker/SColorPickerSpectrum.vue +149 -0
  273. package/registry/source/components/ui/color-picker/index.ts +11 -0
  274. package/registry/source/components/ui/drawer/SDrawer.vue +797 -0
  275. package/registry/source/components/ui/drawer/SDrawerClose.vue +64 -0
  276. package/registry/source/components/ui/drawer/SDrawerContent.vue +81 -0
  277. package/registry/source/components/ui/drawer/SDrawerDescription.vue +40 -0
  278. package/registry/source/components/ui/drawer/SDrawerFooter.vue +97 -0
  279. package/registry/source/components/ui/drawer/SDrawerHandle.vue +79 -0
  280. package/registry/source/components/ui/drawer/SDrawerHeader.vue +117 -0
  281. package/registry/source/components/ui/drawer/SDrawerTitle.vue +40 -0
  282. package/registry/source/components/ui/drawer/SDrawerTrigger.vue +51 -0
  283. package/registry/source/components/ui/drawer/index.ts +20 -0
  284. package/registry/source/components/ui/dropdown/SDropdown.vue +843 -0
  285. package/registry/source/components/ui/dropdown/SDropdownDivider.vue +23 -0
  286. package/registry/source/components/ui/dropdown/SDropdownGroup.vue +53 -0
  287. package/registry/source/components/ui/dropdown/SDropdownItem.vue +179 -0
  288. package/registry/source/components/ui/dropdown/index.ts +5 -0
  289. package/registry/source/components/ui/form/SForm.vue +84 -0
  290. package/registry/source/components/ui/form/SFormField.vue +78 -0
  291. package/registry/source/components/ui/form/index.ts +8 -0
  292. package/registry/source/components/ui/modal/SModal.vue +648 -0
  293. package/registry/source/components/ui/modal/SModalClose.vue +49 -0
  294. package/registry/source/components/ui/modal/SModalContent.vue +74 -0
  295. package/registry/source/components/ui/modal/SModalDescription.vue +39 -0
  296. package/registry/source/components/ui/modal/SModalFooter.vue +84 -0
  297. package/registry/source/components/ui/modal/SModalHeader.vue +107 -0
  298. package/registry/source/components/ui/modal/SModalTitle.vue +39 -0
  299. package/registry/source/components/ui/modal/SModalTrigger.vue +61 -0
  300. package/registry/source/components/ui/modal/SMorphingModal.vue +429 -0
  301. package/registry/source/components/ui/modal/SMorphingModalClose.vue +42 -0
  302. package/registry/source/components/ui/modal/SMorphingModalDescription.vue +49 -0
  303. package/registry/source/components/ui/modal/SMorphingModalImage.vue +44 -0
  304. package/registry/source/components/ui/modal/SMorphingModalSubtitle.vue +29 -0
  305. package/registry/source/components/ui/modal/SMorphingModalTitle.vue +34 -0
  306. package/registry/source/components/ui/modal/SMorphingModalTrigger.vue +95 -0
  307. package/registry/source/components/ui/modal/index.ts +32 -0
  308. package/registry/source/components/ui/option/SOption.vue +180 -0
  309. package/registry/source/components/ui/option/SOptionGroup.vue +77 -0
  310. package/registry/source/components/ui/option/index.ts +3 -0
  311. package/registry/source/components/ui/otp/SOTP.vue +843 -0
  312. package/registry/source/components/ui/otp/SOTPGroup.vue +29 -0
  313. package/registry/source/components/ui/otp/SOTPSeparator.vue +15 -0
  314. package/registry/source/components/ui/otp/SOTPSlot.vue +462 -0
  315. package/registry/source/components/ui/otp/index.ts +7 -0
  316. package/registry/source/components/ui/otp/types.ts +27 -0
  317. package/registry/source/components/ui/otp/useOTPContext.ts +62 -0
  318. package/registry/source/components/ui/pagination/SPagination.vue +923 -0
  319. package/registry/source/components/ui/pagination/index.ts +8 -0
  320. package/registry/source/components/ui/progress/SProgress.vue +635 -0
  321. package/registry/source/components/ui/progress/SProgressRange.vue +715 -0
  322. package/registry/source/components/ui/progress/index.ts +4 -0
  323. package/registry/source/components/ui/radio/SRadio.vue +407 -0
  324. package/registry/source/components/ui/radio/SRadioGroup.vue +200 -0
  325. package/registry/source/components/ui/radio/index.ts +3 -0
  326. package/registry/source/components/ui/table/SDataTable.vue +828 -0
  327. package/registry/source/components/ui/table/STableBody.vue +70 -0
  328. package/registry/source/components/ui/table/STableCell.vue +147 -0
  329. package/registry/source/components/ui/table/STableColumn.vue +120 -0
  330. package/registry/source/components/ui/table/STableEmpty.vue +159 -0
  331. package/registry/source/components/ui/table/STableHeader.vue +132 -0
  332. package/registry/source/components/ui/table/STableRow.vue +106 -0
  333. package/registry/source/components/ui/table/STableSkeleton.vue +208 -0
  334. package/registry/source/components/ui/table/index.ts +126 -0
  335. package/registry/source/components/ui/table/useDataTable.ts +519 -0
  336. package/registry/source/components/ui/tabs/STabPane.vue +130 -0
  337. package/registry/source/components/ui/tabs/STabs.vue +467 -0
  338. package/registry/source/components/ui/tabs/index.ts +7 -0
  339. package/registry/source/components/ui/toast/SToast.vue +261 -0
  340. package/registry/source/components/ui/toast/SToastContainer.vue +209 -0
  341. package/registry/source/components/ui/toast/index.ts +2 -0
  342. package/registry/source/composables/useForm.ts +960 -0
  343. package/registry/source/composables/useTheme.ts +86 -0
  344. package/registry/source/composables/useToast.ts +440 -0
  345. package/registry/source/lib/utils.ts +6 -0
@@ -0,0 +1,129 @@
1
+ export interface Props {
2
+ modelValue?: string | number;
3
+ type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search' | 'textarea';
4
+ variant?: 'outlined' | 'filled' | 'underlined' | 'ghost';
5
+ size?: 'small' | 'medium' | 'large';
6
+ color?: string;
7
+ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';
8
+ label?: string;
9
+ placeholder?: string;
10
+ labelPlacement?: 'top' | 'top-left' | 'top-center' | 'top-right' | 'bottom' | 'left' | 'right' | 'floating' | 'inside';
11
+ labelAnimation?: 'morph' | 'slide' | 'fade' | 'none';
12
+ iconLeft?: string;
13
+ iconRight?: string;
14
+ iconColor?: string;
15
+ disabled?: boolean;
16
+ readonly?: boolean;
17
+ loading?: boolean;
18
+ error?: string | boolean;
19
+ success?: string | boolean;
20
+ warning?: string | boolean;
21
+ hint?: string;
22
+ required?: boolean;
23
+ minLength?: number;
24
+ maxLength?: number;
25
+ pattern?: string | RegExp;
26
+ validator?: (value: string | number) => string | boolean | Promise<string | boolean>;
27
+ validateOn?: 'blur' | 'input' | 'submit' | 'never';
28
+ autocomplete?: string;
29
+ autofocus?: boolean;
30
+ spellcheck?: boolean;
31
+ inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
32
+ max?: number | string;
33
+ min?: number | string;
34
+ step?: number | string;
35
+ clearable?: boolean;
36
+ showPasswordToggle?: boolean;
37
+ counter?: boolean;
38
+ prefix?: string;
39
+ suffix?: string;
40
+ rows?: number;
41
+ resize?: 'none' | 'vertical' | 'horizontal' | 'both';
42
+ suggestions?: string[];
43
+ showSuggestionsOnFocus?: boolean;
44
+ allowOnly?: 'digits' | 'letters' | 'alphanumeric' | RegExp | ((char: string) => boolean);
45
+ decimalPlaces?: number;
46
+ name?: string;
47
+ id?: string;
48
+ ariaLabel?: string;
49
+ ariaDescribedBy?: string;
50
+ inputClass?: string;
51
+ labelClass?: string;
52
+ wrapperClass?: string;
53
+ }
54
+ declare function __VLS_template(): {
55
+ attrs: Partial<{}>;
56
+ slots: {
57
+ prefix?(_: {}): any;
58
+ suffix?(_: {}): any;
59
+ };
60
+ refs: {
61
+ inputRef: HTMLTextAreaElement;
62
+ suggestionsRef: HTMLUListElement;
63
+ };
64
+ rootEl: any;
65
+ };
66
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
67
+ declare const __VLS_component: import('vue').DefineComponent<Props, {
68
+ focus: () => void;
69
+ blur: () => void;
70
+ validate: () => Promise<void>;
71
+ inputElement: import('vue').Ref<HTMLInputElement | HTMLTextAreaElement | null, HTMLInputElement | HTMLTextAreaElement | null>;
72
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
73
+ "update:modelValue": (value: string | number) => any;
74
+ clear: () => any;
75
+ input: (event: Event) => any;
76
+ change: (value: string | number, event: Event) => any;
77
+ blur: (event: FocusEvent) => any;
78
+ focus: (event: FocusEvent) => any;
79
+ "update:error": (error: string | null) => any;
80
+ enter: (event: KeyboardEvent) => any;
81
+ validate: (isValid: boolean, error: string | null) => any;
82
+ "select-suggestion": (suggestion: string) => any;
83
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
84
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
85
+ onClear?: (() => any) | undefined;
86
+ onInput?: ((event: Event) => any) | undefined;
87
+ onChange?: ((value: string | number, event: Event) => any) | undefined;
88
+ onBlur?: ((event: FocusEvent) => any) | undefined;
89
+ onFocus?: ((event: FocusEvent) => any) | undefined;
90
+ "onUpdate:error"?: ((error: string | null) => any) | undefined;
91
+ onEnter?: ((event: KeyboardEvent) => any) | undefined;
92
+ onValidate?: ((isValid: boolean, error: string | null) => any) | undefined;
93
+ "onSelect-suggestion"?: ((suggestion: string) => any) | undefined;
94
+ }>, {
95
+ modelValue: string | number;
96
+ type: "text" | "email" | "password" | "number" | "tel" | "url" | "search" | "textarea";
97
+ size: "small" | "medium" | "large";
98
+ disabled: boolean;
99
+ required: boolean;
100
+ color: string;
101
+ variant: "outlined" | "filled" | "underlined" | "ghost";
102
+ loading: boolean;
103
+ rounded: "none" | "sm" | "md" | "lg" | "full";
104
+ resize: "none" | "vertical" | "horizontal" | "both";
105
+ clearable: boolean;
106
+ labelPlacement: "top" | "top-left" | "top-center" | "top-right" | "bottom" | "left" | "right" | "floating" | "inside";
107
+ readonly: boolean;
108
+ labelAnimation: "morph" | "slide" | "fade" | "none";
109
+ validateOn: "blur" | "input" | "submit" | "never";
110
+ autofocus: boolean;
111
+ spellcheck: boolean;
112
+ showPasswordToggle: boolean;
113
+ counter: boolean;
114
+ rows: number;
115
+ suggestions: string[];
116
+ showSuggestionsOnFocus: boolean;
117
+ allowOnly: "digits" | "letters" | "alphanumeric" | RegExp | ((char: string) => boolean);
118
+ decimalPlaces: number;
119
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
120
+ inputRef: HTMLTextAreaElement;
121
+ suggestionsRef: HTMLUListElement;
122
+ }, any>;
123
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
124
+ export default _default;
125
+ type __VLS_WithTemplateSlots<T, S> = T & {
126
+ new (): {
127
+ $slots: S;
128
+ };
129
+ };
@@ -0,0 +1,24 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ export declare const kbdVariants: (props?: ({
3
+ variant?: "default" | "flat" | "outlined" | "ghost" | null | undefined;
4
+ size?: "xs" | "sm" | "md" | "lg" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ export type KbdVariants = VariantProps<typeof kbdVariants>;
7
+ export interface Props {
8
+ variant?: 'default' | 'outlined' | 'flat' | 'ghost';
9
+ size?: 'xs' | 'sm' | 'md' | 'lg';
10
+ color?: string;
11
+ }
12
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
13
+ size: "xs" | "sm" | "md" | "lg";
14
+ color: string;
15
+ variant: "default" | "outlined" | "flat" | "ghost";
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
17
+ default?(_: {}): any;
18
+ }>;
19
+ export default _default;
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ keys: string[];
3
+ separator?: string;
4
+ size?: 'xs' | 'sm' | 'md' | 'lg';
5
+ variant?: 'default' | 'outlined' | 'flat' | 'ghost';
6
+ color?: string;
7
+ }
8
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
9
+ size: "xs" | "sm" | "md" | "lg";
10
+ color: string;
11
+ variant: "default" | "outlined" | "flat" | "ghost";
12
+ separator: string;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
@@ -0,0 +1,148 @@
1
+ export interface SelectOption {
2
+ value: any;
3
+ label?: string;
4
+ disabled?: boolean;
5
+ icon?: string;
6
+ image?: string;
7
+ description?: string;
8
+ color?: string;
9
+ group?: string;
10
+ }
11
+ export interface Props {
12
+ modelValue?: any | any[];
13
+ options?: SelectOption[];
14
+ multiple?: boolean;
15
+ searchable?: boolean;
16
+ clearable?: boolean;
17
+ disabled?: boolean;
18
+ loading?: boolean;
19
+ placeholder?: string;
20
+ size?: 'small' | 'medium' | 'large';
21
+ color?: string;
22
+ variant?: 'outlined' | 'filled' | 'underlined';
23
+ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';
24
+ maxHeight?: string;
25
+ closeOnSelect?: boolean;
26
+ tagLimit?: number;
27
+ noOptionsText?: string;
28
+ noResultsText?: string;
29
+ label?: string;
30
+ error?: string;
31
+ hint?: string;
32
+ required?: boolean;
33
+ teleport?: boolean | string;
34
+ placement?: 'bottom' | 'top' | 'auto';
35
+ arrowIcon?: string;
36
+ menuWidth?: string | number;
37
+ menuAlign?: 'start' | 'end' | 'center';
38
+ creatable?: boolean;
39
+ createText?: string;
40
+ labelPlacement?: 'top' | 'top-left' | 'top-center' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'left' | 'left-top' | 'left-center' | 'left-bottom' | 'right' | 'right-top' | 'right-center' | 'right-bottom';
41
+ labelPlaceholder?: string;
42
+ filter?: boolean;
43
+ }
44
+ declare function __VLS_template(): {
45
+ attrs: Partial<{}>;
46
+ slots: {
47
+ prefix?(_: {}): any;
48
+ tag?(_: {
49
+ key: any;
50
+ option: SelectOption;
51
+ remove: () => void;
52
+ }): any;
53
+ selected?(_: {
54
+ option: SelectOption;
55
+ }): any;
56
+ suffix?(_: {}): any;
57
+ arrow?(_: {
58
+ isOpen: boolean;
59
+ }): any;
60
+ header?(_: {}): any;
61
+ option?(_: {
62
+ option: SelectOption;
63
+ selected: boolean;
64
+ }): any;
65
+ option?(_: {
66
+ option: SelectOption;
67
+ selected: boolean;
68
+ highlighted: boolean;
69
+ }): any;
70
+ empty?(_: {}): any;
71
+ empty?(_: {}): any;
72
+ default?(_: {}): any;
73
+ default?(_: {}): any;
74
+ loading?(_: {}): any;
75
+ footer?(_: {}): any;
76
+ };
77
+ refs: {
78
+ triggerRef: HTMLDivElement;
79
+ filterInputRef: HTMLInputElement;
80
+ dropdownRef: HTMLDivElement;
81
+ searchInputRef: HTMLInputElement;
82
+ };
83
+ rootEl: any;
84
+ };
85
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
86
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
87
+ "update:modelValue": (value: any) => any;
88
+ close: () => any;
89
+ search: (query: string) => any;
90
+ change: (value: any, event?: Event | undefined) => any;
91
+ blur: (event: FocusEvent) => any;
92
+ focus: (event: FocusEvent) => any;
93
+ open: () => any;
94
+ create: (value: string) => any;
95
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
96
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
97
+ onClose?: (() => any) | undefined;
98
+ onSearch?: ((query: string) => any) | undefined;
99
+ onChange?: ((value: any, event?: Event | undefined) => any) | undefined;
100
+ onBlur?: ((event: FocusEvent) => any) | undefined;
101
+ onFocus?: ((event: FocusEvent) => any) | undefined;
102
+ onOpen?: (() => any) | undefined;
103
+ onCreate?: ((value: string) => any) | undefined;
104
+ }>, {
105
+ modelValue: any | any[];
106
+ size: "small" | "medium" | "large";
107
+ placement: "bottom" | "top" | "auto";
108
+ filter: boolean;
109
+ disabled: boolean;
110
+ label: string;
111
+ placeholder: string;
112
+ required: boolean;
113
+ color: string;
114
+ variant: "outlined" | "filled" | "underlined";
115
+ loading: boolean;
116
+ rounded: "none" | "sm" | "md" | "lg" | "full";
117
+ teleport: boolean | string;
118
+ error: string;
119
+ multiple: boolean;
120
+ maxHeight: string;
121
+ options: SelectOption[];
122
+ searchable: boolean;
123
+ clearable: boolean;
124
+ closeOnSelect: boolean;
125
+ tagLimit: number;
126
+ noOptionsText: string;
127
+ noResultsText: string;
128
+ hint: string;
129
+ arrowIcon: string;
130
+ menuWidth: string | number;
131
+ menuAlign: "start" | "end" | "center";
132
+ creatable: boolean;
133
+ createText: string;
134
+ labelPlacement: "top" | "top-left" | "top-center" | "top-right" | "bottom" | "bottom-left" | "bottom-center" | "bottom-right" | "left" | "left-top" | "left-center" | "left-bottom" | "right" | "right-top" | "right-center" | "right-bottom";
135
+ labelPlaceholder: string;
136
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
137
+ triggerRef: HTMLDivElement;
138
+ filterInputRef: HTMLInputElement;
139
+ dropdownRef: HTMLDivElement;
140
+ searchInputRef: HTMLInputElement;
141
+ }, any>;
142
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
143
+ export default _default;
144
+ type __VLS_WithTemplateSlots<T, S> = T & {
145
+ new (): {
146
+ $slots: S;
147
+ };
148
+ };
@@ -0,0 +1,37 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ declare const skeletonVariants: (props?: ({
3
+ shape?: "rounded" | "rectangular" | "circular" | null | undefined;
4
+ animation?: "none" | "pulse" | "wave" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ export type SkeletonVariants = VariantProps<typeof skeletonVariants>;
7
+ export interface Props {
8
+ /** Shape variant */
9
+ shape?: 'rectangular' | 'circular' | 'rounded';
10
+ /** Animation type */
11
+ animation?: 'wave' | 'pulse' | 'none';
12
+ /** Width (CSS value) */
13
+ width?: string;
14
+ /** Height (CSS value) */
15
+ height?: string;
16
+ /** Shorthand for equal width and height */
17
+ size?: string;
18
+ /** Custom border radius override */
19
+ borderRadius?: string;
20
+ /** Number of lines to render (for text-like skeletons) */
21
+ lines?: number;
22
+ /** Gap between lines */
23
+ lineGap?: string;
24
+ /** Additional class */
25
+ skeletonClass?: string;
26
+ }
27
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
28
+ size: string;
29
+ width: string;
30
+ borderRadius: string;
31
+ height: string;
32
+ animation: "wave" | "pulse" | "none";
33
+ shape: "rectangular" | "circular" | "rounded";
34
+ lines: number;
35
+ lineGap: string;
36
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
37
+ export default _default;
@@ -0,0 +1,61 @@
1
+ export interface Props {
2
+ modelValue?: boolean | string | number;
3
+ type?: 'inset' | 'outset';
4
+ size?: 'small' | 'medium' | 'large';
5
+ color?: string;
6
+ disabled?: boolean;
7
+ loading?: boolean;
8
+ checkedValue?: boolean | string | number;
9
+ uncheckedValue?: boolean | string | number;
10
+ labelBefore?: string;
11
+ labelAfter?: string;
12
+ checkedIcon?: string;
13
+ uncheckedIcon?: string;
14
+ checkedText?: string;
15
+ uncheckedText?: string;
16
+ trackClass?: string;
17
+ thumbClass?: string;
18
+ labelClass?: string;
19
+ }
20
+ declare function __VLS_template(): {
21
+ attrs: Partial<{}>;
22
+ slots: {
23
+ 'checked-icon'?(_: {}): any;
24
+ 'unchecked-icon'?(_: {}): any;
25
+ };
26
+ refs: {};
27
+ rootEl: any;
28
+ };
29
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
+ "update:modelValue": (value: string | number | boolean) => any;
32
+ change: (value: string | number | boolean) => any;
33
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
34
+ "onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
35
+ onChange?: ((value: string | number | boolean) => any) | undefined;
36
+ }>, {
37
+ modelValue: boolean | string | number;
38
+ type: "inset" | "outset";
39
+ size: "small" | "medium" | "large";
40
+ disabled: boolean;
41
+ color: string;
42
+ loading: boolean;
43
+ checkedValue: boolean | string | number;
44
+ uncheckedValue: boolean | string | number;
45
+ labelBefore: string;
46
+ labelAfter: string;
47
+ checkedIcon: string;
48
+ uncheckedIcon: string;
49
+ checkedText: string;
50
+ uncheckedText: string;
51
+ trackClass: string;
52
+ thumbClass: string;
53
+ labelClass: string;
54
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
55
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
56
+ export default _default;
57
+ type __VLS_WithTemplateSlots<T, S> = T & {
58
+ new (): {
59
+ $slots: S;
60
+ };
61
+ };
@@ -0,0 +1,82 @@
1
+ export interface Props {
2
+ placement?: 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
3
+ trigger?: 'hover' | 'click' | 'focus' | 'manual';
4
+ content?: string;
5
+ showDelay?: number;
6
+ hideDelay?: number;
7
+ offset?: number;
8
+ arrow?: boolean;
9
+ arrowSize?: number;
10
+ theme?: 'dark' | 'light' | 'custom';
11
+ color?: string;
12
+ textColor?: string;
13
+ maxWidth?: string;
14
+ disabled?: boolean;
15
+ visible?: boolean;
16
+ teleport?: string;
17
+ zIndex?: number;
18
+ interactive?: boolean;
19
+ transition?: string;
20
+ tooltipClass?: string;
21
+ }
22
+ declare function show(): void;
23
+ declare function hide(): void;
24
+ declare function toggle(): void;
25
+ declare function __VLS_template(): {
26
+ attrs: Partial<{}>;
27
+ slots: {
28
+ default?(_: {}): any;
29
+ content?(_: {}): any;
30
+ };
31
+ refs: {
32
+ triggerRef: HTMLDivElement;
33
+ tooltipRef: HTMLDivElement;
34
+ };
35
+ rootEl: any;
36
+ };
37
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
38
+ declare const __VLS_component: import('vue').DefineComponent<Props, {
39
+ show: typeof show;
40
+ hide: typeof hide;
41
+ toggle: typeof toggle;
42
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
43
+ toggle: (visible: boolean) => any;
44
+ show: () => any;
45
+ hide: () => any;
46
+ "update:visible": (visible: boolean) => any;
47
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
48
+ onToggle?: ((visible: boolean) => any) | undefined;
49
+ onShow?: (() => any) | undefined;
50
+ onHide?: (() => any) | undefined;
51
+ "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
52
+ }>, {
53
+ placement: "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
54
+ trigger: "hover" | "click" | "focus" | "manual";
55
+ disabled: boolean;
56
+ transition: string;
57
+ color: string;
58
+ zIndex: number;
59
+ theme: "dark" | "light" | "custom";
60
+ content: string;
61
+ showDelay: number;
62
+ hideDelay: number;
63
+ offset: number;
64
+ arrow: boolean;
65
+ arrowSize: number;
66
+ textColor: string;
67
+ maxWidth: string;
68
+ visible: boolean;
69
+ teleport: string;
70
+ interactive: boolean;
71
+ tooltipClass: string;
72
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
73
+ triggerRef: HTMLDivElement;
74
+ tooltipRef: HTMLDivElement;
75
+ }, any>;
76
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
77
+ export default _default;
78
+ type __VLS_WithTemplateSlots<T, S> = T & {
79
+ new (): {
80
+ $slots: S;
81
+ };
82
+ };
@@ -0,0 +1,23 @@
1
+ export interface Props {
2
+ /** Custom content classes */
3
+ contentClass?: string;
4
+ }
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: any;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
15
+ contentClass: string;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
+ export default _default;
19
+ type __VLS_WithTemplateSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -0,0 +1,70 @@
1
+ export interface Props {
2
+ /** Unique identifier for this item */
3
+ name: string | number;
4
+ /** Header title text */
5
+ title?: string;
6
+ /** Optional subtitle text */
7
+ subtitle?: string;
8
+ /** MDI icon name for header */
9
+ icon?: string;
10
+ /** Custom expand icon (MDI icon name, replaces default chevron) */
11
+ expandIcon?: string;
12
+ /** Disable this item */
13
+ disabled?: boolean;
14
+ /** Lazy render content */
15
+ lazy?: boolean;
16
+ /** Custom header classes */
17
+ headerClass?: string;
18
+ /** Custom content classes */
19
+ contentClass?: string;
20
+ }
21
+ declare function __VLS_template(): {
22
+ attrs: Partial<{}>;
23
+ slots: {
24
+ default?(_: {
25
+ expanded: boolean;
26
+ toggle: () => void;
27
+ disabled: boolean;
28
+ }): any;
29
+ default?(_: {}): any;
30
+ header?(_: {
31
+ expanded: boolean;
32
+ toggle: () => void;
33
+ disabled: boolean;
34
+ }): any;
35
+ title?(_: {}): any;
36
+ subtitle?(_: {}): any;
37
+ extra?(_: {}): any;
38
+ icon?(_: {
39
+ expanded: boolean;
40
+ }): any;
41
+ };
42
+ refs: {
43
+ contentRef: HTMLDivElement;
44
+ };
45
+ rootEl: any;
46
+ };
47
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
48
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
49
+ toggle: (expanded: boolean) => any;
50
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
51
+ onToggle?: ((expanded: boolean) => any) | undefined;
52
+ }>, {
53
+ icon: string;
54
+ disabled: boolean;
55
+ title: string;
56
+ contentClass: string;
57
+ lazy: boolean;
58
+ subtitle: string;
59
+ expandIcon: string;
60
+ headerClass: string;
61
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
62
+ contentRef: HTMLDivElement;
63
+ }, any>;
64
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
65
+ export default _default;
66
+ type __VLS_WithTemplateSlots<T, S> = T & {
67
+ new (): {
68
+ $slots: S;
69
+ };
70
+ };
@@ -0,0 +1,37 @@
1
+ export interface Props {
2
+ /** Hide the default arrow indicator */
3
+ hideArrow?: boolean;
4
+ /** Custom classes for the trigger button */
5
+ triggerClass?: string;
6
+ }
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: {
10
+ icon?(_: {
11
+ expanded: boolean;
12
+ disabled: boolean;
13
+ }): any;
14
+ default?(_: {
15
+ expanded: boolean;
16
+ disabled: boolean;
17
+ }): any;
18
+ arrow?(_: {
19
+ expanded: boolean;
20
+ disabled: boolean;
21
+ }): any;
22
+ };
23
+ refs: {};
24
+ rootEl: any;
25
+ };
26
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
28
+ hideArrow: boolean;
29
+ triggerClass: string;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
+ export default _default;
33
+ type __VLS_WithTemplateSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
@@ -0,0 +1,4 @@
1
+ export { default as SAccordion } from './SAccordion';
2
+ export { default as SAccordionItem } from './SAccordionItem';
3
+ export { default as SAccordionTrigger } from './SAccordionTrigger';
4
+ export { default as SAccordionContent } from './SAccordionContent';
@@ -0,0 +1,36 @@
1
+ export interface AvatarProps {
2
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | number;
3
+ shape?: 'circle' | 'square' | 'rounded';
4
+ bordered?: boolean;
5
+ borderColor?: string;
6
+ ring?: boolean;
7
+ ringColor?: string;
8
+ status?: 'online' | 'offline' | 'busy' | 'away' | null;
9
+ statusPosition?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
10
+ }
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: {
14
+ default?(_: {}): any;
15
+ };
16
+ refs: {};
17
+ rootEl: any;
18
+ };
19
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
+ declare const __VLS_component: import('vue').DefineComponent<AvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AvatarProps> & Readonly<{}>, {
21
+ size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | number;
22
+ borderColor: string;
23
+ bordered: boolean;
24
+ shape: "circle" | "square" | "rounded";
25
+ ring: boolean;
26
+ ringColor: string;
27
+ status: "online" | "offline" | "busy" | "away" | null;
28
+ statusPosition: "top-right" | "top-left" | "bottom-right" | "bottom-left";
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
+ export default _default;
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };