@nuxt/ui 3.1.3 → 3.3.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 (208) hide show
  1. package/.nuxt/ui/avatar.ts +1 -1
  2. package/.nuxt/ui/button.ts +42 -42
  3. package/.nuxt/ui/card.ts +1 -1
  4. package/.nuxt/ui/carousel.ts +1 -1
  5. package/.nuxt/ui/command-palette.ts +3 -1
  6. package/.nuxt/ui/drawer.ts +1 -1
  7. package/.nuxt/ui/file-upload.ts +290 -0
  8. package/.nuxt/ui/index.ts +3 -0
  9. package/.nuxt/ui/input-menu.ts +24 -10
  10. package/.nuxt/ui/input-tags.ts +310 -0
  11. package/.nuxt/ui/kbd.ts +167 -3
  12. package/.nuxt/ui/modal.ts +1 -1
  13. package/.nuxt/ui/navigation-menu.ts +1 -1
  14. package/.nuxt/ui/select-menu.ts +11 -6
  15. package/.nuxt/ui/select.ts +11 -6
  16. package/.nuxt/ui/table.ts +11 -2
  17. package/.nuxt/ui/tabs.ts +4 -2
  18. package/.nuxt/ui/timeline.ts +321 -0
  19. package/.nuxt/ui/toast.ts +8 -15
  20. package/.nuxt/ui/toaster.ts +1 -1
  21. package/.nuxt/ui/tooltip.ts +1 -1
  22. package/cli/templates.mjs +11 -7
  23. package/dist/module.d.mts +15 -1
  24. package/dist/module.json +1 -1
  25. package/dist/module.mjs +3 -3
  26. package/dist/runtime/components/Accordion.vue.d.ts +1 -1
  27. package/dist/runtime/components/Alert.vue +0 -1
  28. package/dist/runtime/components/Alert.vue.d.ts +2 -2
  29. package/dist/runtime/components/App.vue.d.ts +1 -1
  30. package/dist/runtime/components/Avatar.vue +10 -2
  31. package/dist/runtime/components/Avatar.vue.d.ts +3 -1
  32. package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
  33. package/dist/runtime/components/Badge.vue.d.ts +1 -1
  34. package/dist/runtime/components/Breadcrumb.vue.d.ts +1 -1
  35. package/dist/runtime/components/Button.vue +6 -6
  36. package/dist/runtime/components/Button.vue.d.ts +1 -5
  37. package/dist/runtime/components/ButtonGroup.vue.d.ts +1 -1
  38. package/dist/runtime/components/Calendar.vue +4 -1
  39. package/dist/runtime/components/Calendar.vue.d.ts +1 -1
  40. package/dist/runtime/components/Card.vue.d.ts +1 -1
  41. package/dist/runtime/components/Carousel.vue +19 -16
  42. package/dist/runtime/components/Carousel.vue.d.ts +1 -1
  43. package/dist/runtime/components/Checkbox.vue +1 -1
  44. package/dist/runtime/components/Checkbox.vue.d.ts +1 -1
  45. package/dist/runtime/components/CheckboxGroup.vue.d.ts +1 -1
  46. package/dist/runtime/components/Chip.vue.d.ts +2 -2
  47. package/dist/runtime/components/Collapsible.vue.d.ts +1 -1
  48. package/dist/runtime/components/ColorPicker.vue +1 -2
  49. package/dist/runtime/components/ColorPicker.vue.d.ts +1 -1
  50. package/dist/runtime/components/CommandPalette.vue +84 -16
  51. package/dist/runtime/components/CommandPalette.vue.d.ts +38 -9
  52. package/dist/runtime/components/Container.vue.d.ts +1 -1
  53. package/dist/runtime/components/ContextMenu.vue.d.ts +1 -1
  54. package/dist/runtime/components/ContextMenuContent.vue.d.ts +5 -21
  55. package/dist/runtime/components/Drawer.vue +4 -4
  56. package/dist/runtime/components/Drawer.vue.d.ts +6 -1
  57. package/dist/runtime/components/DropdownMenu.vue.d.ts +1 -1
  58. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +12 -25
  59. package/dist/runtime/components/FileUpload.vue +242 -0
  60. package/dist/runtime/components/FileUpload.vue.d.ts +167 -0
  61. package/dist/runtime/components/Form.vue +6 -6
  62. package/dist/runtime/components/Form.vue.d.ts +15 -13
  63. package/dist/runtime/components/FormField.vue +2 -2
  64. package/dist/runtime/components/FormField.vue.d.ts +4 -4
  65. package/dist/runtime/components/Icon.vue.d.ts +1 -1
  66. package/dist/runtime/components/Input.vue +10 -7
  67. package/dist/runtime/components/Input.vue.d.ts +9 -9
  68. package/dist/runtime/components/InputMenu.vue +17 -10
  69. package/dist/runtime/components/InputMenu.vue.d.ts +19 -16
  70. package/dist/runtime/components/InputNumber.vue +3 -2
  71. package/dist/runtime/components/InputNumber.vue.d.ts +5 -5
  72. package/dist/runtime/components/InputTags.vue +161 -0
  73. package/dist/runtime/components/InputTags.vue.d.ts +185 -0
  74. package/dist/runtime/components/Kbd.vue +2 -1
  75. package/dist/runtime/components/Kbd.vue.d.ts +5 -1
  76. package/dist/runtime/components/Link.vue +6 -5
  77. package/dist/runtime/components/Link.vue.d.ts +1 -3
  78. package/dist/runtime/components/LinkBase.vue.d.ts +1 -1
  79. package/dist/runtime/components/Modal.vue +14 -13
  80. package/dist/runtime/components/Modal.vue.d.ts +16 -6
  81. package/dist/runtime/components/NavigationMenu.vue +19 -17
  82. package/dist/runtime/components/NavigationMenu.vue.d.ts +1 -1
  83. package/dist/runtime/components/OverlayProvider.vue +2 -2
  84. package/dist/runtime/components/OverlayProvider.vue.d.ts +1 -1
  85. package/dist/runtime/components/Pagination.vue +1 -1
  86. package/dist/runtime/components/Pagination.vue.d.ts +1 -2
  87. package/dist/runtime/components/PinInput.vue +4 -3
  88. package/dist/runtime/components/PinInput.vue.d.ts +22 -19
  89. package/dist/runtime/components/Popover.vue +2 -1
  90. package/dist/runtime/components/Popover.vue.d.ts +8 -2
  91. package/dist/runtime/components/Progress.vue +2 -1
  92. package/dist/runtime/components/Progress.vue.d.ts +2 -2
  93. package/dist/runtime/components/RadioGroup.vue +3 -3
  94. package/dist/runtime/components/RadioGroup.vue.d.ts +5 -4
  95. package/dist/runtime/components/Select.vue +23 -4
  96. package/dist/runtime/components/Select.vue.d.ts +108 -2
  97. package/dist/runtime/components/SelectMenu.vue +33 -11
  98. package/dist/runtime/components/SelectMenu.vue.d.ts +106 -2
  99. package/dist/runtime/components/Separator.vue.d.ts +1 -1
  100. package/dist/runtime/components/Skeleton.vue.d.ts +1 -1
  101. package/dist/runtime/components/Slideover.vue +14 -13
  102. package/dist/runtime/components/Slideover.vue.d.ts +16 -6
  103. package/dist/runtime/components/Slider.vue.d.ts +5 -5
  104. package/dist/runtime/components/Stepper.vue.d.ts +1 -1
  105. package/dist/runtime/components/Switch.vue.d.ts +1 -1
  106. package/dist/runtime/components/Table.vue +90 -9
  107. package/dist/runtime/components/Table.vue.d.ts +30 -12
  108. package/dist/runtime/components/Tabs.vue +24 -4
  109. package/dist/runtime/components/Tabs.vue.d.ts +12 -4
  110. package/dist/runtime/components/Textarea.vue +10 -7
  111. package/dist/runtime/components/Textarea.vue.d.ts +14 -12
  112. package/dist/runtime/components/Timeline.vue +92 -0
  113. package/dist/runtime/components/Timeline.vue.d.ts +70 -0
  114. package/dist/runtime/components/Toast.vue +16 -9
  115. package/dist/runtime/components/Toast.vue.d.ts +14 -13
  116. package/dist/runtime/components/Toaster.vue.d.ts +1 -1
  117. package/dist/runtime/components/Tooltip.vue +2 -1
  118. package/dist/runtime/components/Tooltip.vue.d.ts +8 -2
  119. package/dist/runtime/components/Tree.vue +6 -4
  120. package/dist/runtime/components/Tree.vue.d.ts +2 -2
  121. package/dist/runtime/composables/defineLocale.d.ts +2 -0
  122. package/dist/runtime/composables/defineLocale.js +4 -0
  123. package/dist/runtime/composables/defineShortcuts.js +7 -5
  124. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  125. package/dist/runtime/composables/useComponentIcons.d.ts +1 -1
  126. package/dist/runtime/composables/useFileUpload.d.ts +19 -0
  127. package/dist/runtime/composables/useFileUpload.js +63 -0
  128. package/dist/runtime/composables/useFormField.d.ts +3 -6
  129. package/dist/runtime/composables/useFormField.js +5 -2
  130. package/dist/runtime/composables/useKbd.d.ts +1 -1
  131. package/dist/runtime/composables/useLocale.js +2 -2
  132. package/dist/runtime/composables/useOverlay.d.ts +30 -2
  133. package/dist/runtime/composables/useOverlay.js +8 -7
  134. package/dist/runtime/composables/usePortal.d.ts +1 -1
  135. package/dist/runtime/inertia/components/Link.vue.d.ts +1 -1
  136. package/dist/runtime/inertia/components/LinkBase.vue.d.ts +1 -1
  137. package/dist/runtime/inertia/stubs.d.ts +1 -0
  138. package/dist/runtime/inertia/stubs.js +4 -2
  139. package/dist/runtime/locale/ar.js +4 -2
  140. package/dist/runtime/locale/az.js +3 -1
  141. package/dist/runtime/locale/bg.js +3 -1
  142. package/dist/runtime/locale/bn.js +3 -1
  143. package/dist/runtime/locale/ca.js +3 -1
  144. package/dist/runtime/locale/ckb.js +4 -2
  145. package/dist/runtime/locale/cs.js +3 -1
  146. package/dist/runtime/locale/da.js +3 -1
  147. package/dist/runtime/locale/de.js +3 -1
  148. package/dist/runtime/locale/el.js +3 -1
  149. package/dist/runtime/locale/en.js +3 -1
  150. package/dist/runtime/locale/es.js +3 -1
  151. package/dist/runtime/locale/et.js +3 -1
  152. package/dist/runtime/locale/fa_ir.js +3 -1
  153. package/dist/runtime/locale/fi.js +3 -1
  154. package/dist/runtime/locale/fr.js +3 -1
  155. package/dist/runtime/locale/he.js +3 -1
  156. package/dist/runtime/locale/hi.js +4 -2
  157. package/dist/runtime/locale/hu.js +3 -1
  158. package/dist/runtime/locale/hy.js +3 -1
  159. package/dist/runtime/locale/id.js +3 -1
  160. package/dist/runtime/locale/index.d.ts +1 -0
  161. package/dist/runtime/locale/index.js +1 -0
  162. package/dist/runtime/locale/it.js +3 -1
  163. package/dist/runtime/locale/ja.js +3 -1
  164. package/dist/runtime/locale/kk.js +3 -1
  165. package/dist/runtime/locale/km.js +4 -2
  166. package/dist/runtime/locale/ko.js +3 -1
  167. package/dist/runtime/locale/ky.js +3 -1
  168. package/dist/runtime/locale/lb.d.ts +3 -0
  169. package/dist/runtime/locale/lb.js +56 -0
  170. package/dist/runtime/locale/lt.js +3 -1
  171. package/dist/runtime/locale/mn.js +3 -1
  172. package/dist/runtime/locale/ms.js +3 -1
  173. package/dist/runtime/locale/nb_no.js +3 -1
  174. package/dist/runtime/locale/nl.js +3 -1
  175. package/dist/runtime/locale/pl.js +3 -1
  176. package/dist/runtime/locale/pt.js +3 -1
  177. package/dist/runtime/locale/pt_br.js +3 -1
  178. package/dist/runtime/locale/ro.js +3 -1
  179. package/dist/runtime/locale/ru.js +3 -1
  180. package/dist/runtime/locale/sk.js +3 -1
  181. package/dist/runtime/locale/sl.js +3 -1
  182. package/dist/runtime/locale/sv.js +3 -1
  183. package/dist/runtime/locale/th.js +3 -1
  184. package/dist/runtime/locale/tj.js +3 -1
  185. package/dist/runtime/locale/tr.js +3 -1
  186. package/dist/runtime/locale/ug_cn.js +3 -1
  187. package/dist/runtime/locale/uk.js +3 -1
  188. package/dist/runtime/locale/ur.js +3 -1
  189. package/dist/runtime/locale/uz.js +3 -1
  190. package/dist/runtime/locale/vi.js +3 -1
  191. package/dist/runtime/locale/zh_cn.js +3 -1
  192. package/dist/runtime/locale/zh_tw.js +3 -1
  193. package/dist/runtime/types/form.d.ts +11 -10
  194. package/dist/runtime/types/index.d.ts +3 -0
  195. package/dist/runtime/types/index.js +3 -0
  196. package/dist/runtime/types/locale.d.ts +2 -0
  197. package/dist/runtime/types/utils.d.ts +3 -0
  198. package/dist/runtime/utils/index.d.ts +1 -0
  199. package/dist/runtime/utils/index.js +9 -0
  200. package/dist/runtime/vue/components/Icon.vue.d.ts +1 -1
  201. package/dist/runtime/vue/components/Link.vue.d.ts +1 -1
  202. package/dist/runtime/vue/stubs.d.ts +1 -0
  203. package/dist/runtime/vue/stubs.js +3 -1
  204. package/dist/shared/{ui.Bix4DSU4.mjs → ui.BkSj2DmF.mjs} +560 -55
  205. package/dist/unplugin.d.mts +2 -0
  206. package/dist/unplugin.mjs +6 -3
  207. package/dist/vite.mjs +1 -1
  208. package/package.json +37 -38
@@ -22,7 +22,8 @@ export default defineLocale({
22
22
  placeholder: "Skriv ett kommando eller s\xF6k...",
23
23
  noMatch: "Inga matchande data",
24
24
  noData: "Inga data",
25
- close: "St\xE4ng"
25
+ close: "St\xE4ng",
26
+ back: "Tillbaka"
26
27
  },
27
28
  selectMenu: {
28
29
  noMatch: "Inga matchande data",
@@ -36,6 +37,7 @@ export default defineLocale({
36
37
  carousel: {
37
38
  prev: "F\xF6reg\xE5ende",
38
39
  next: "N\xE4sta",
40
+ dots: "V\xE4lj bild att visa",
39
41
  goto: "G\xE5 till {slide}"
40
42
  },
41
43
  modal: {
@@ -22,7 +22,8 @@ export default defineLocale({
22
22
  placeholder: "\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E04\u0E33\u0E2A\u0E31\u0E48\u0E07\u0E2B\u0E23\u0E37\u0E2D\u0E04\u0E49\u0E19\u0E2B\u0E32...",
23
23
  noMatch: "\u0E44\u0E21\u0E48\u0E1E\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E19",
24
24
  noData: "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",
25
- close: "\u0E1B\u0E34\u0E14"
25
+ close: "\u0E1B\u0E34\u0E14",
26
+ back: "\u0E22\u0E49\u0E2D\u0E19\u0E01\u0E25\u0E31\u0E1A"
26
27
  },
27
28
  selectMenu: {
28
29
  noMatch: "\u0E44\u0E21\u0E48\u0E1E\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E19",
@@ -36,6 +37,7 @@ export default defineLocale({
36
37
  carousel: {
37
38
  prev: "\u0E22\u0E49\u0E2D\u0E19\u0E01\u0E25\u0E31\u0E1A",
38
39
  next: "\u0E16\u0E31\u0E14\u0E44\u0E1B",
40
+ dots: "\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E2A\u0E44\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E08\u0E30\u0E41\u0E2A\u0E14\u0E07",
39
41
  goto: "\u0E44\u0E1B\u0E17\u0E35\u0E48 {slide}"
40
42
  },
41
43
  modal: {
@@ -22,7 +22,8 @@ export default defineLocale({
22
22
  placeholder: "\u0424\u0430\u0440\u043C\u043E\u043D\u0440\u043E \u043D\u0430\u0432\u0438\u0441\u0435\u0434 \u0451 \u04B7\u0443\u0441\u0442\u0443\u04B7\u04EF \u043A\u0443\u043D\u0435\u0434...",
23
23
  noMatch: "\u041C\u0430\u044A\u043B\u0443\u043C\u043E\u0442\u0438 \u043C\u0443\u0432\u043E\u0444\u0438\u049B \u0451\u0444\u0442 \u043D\u0430\u0448\u0443\u0434",
24
24
  noData: "\u041C\u0430\u044A\u043B\u0443\u043C\u043E\u0442 \u043D\u0435\u0441\u0442",
25
- close: "\u0411\u0430\u0441\u0442\u0430\u043D"
25
+ close: "\u0411\u0430\u0441\u0442\u0430\u043D",
26
+ back: "\u0411\u043E\u0437\u0433\u0430\u0448\u0442"
26
27
  },
27
28
  selectMenu: {
28
29
  noMatch: "\u041C\u0430\u044A\u043B\u0443\u043C\u043E\u0442\u0438 \u043C\u0443\u0432\u043E\u0444\u0438\u049B \u0451\u0444\u0442 \u043D\u0430\u0448\u0443\u0434",
@@ -36,6 +37,7 @@ export default defineLocale({
36
37
  carousel: {
37
38
  prev: "\u049A\u0430\u0431\u043B\u04E3",
38
39
  next: "\u0411\u0430\u044A\u0434\u04E3",
40
+ dots: "\u0421\u043B\u0430\u0439\u0434\u0440\u043E \u0431\u0430\u0440\u043E\u0438 \u043D\u0430\u043C\u043E\u0438\u0448 \u0438\u043D\u0442\u0438\u0445\u043E\u0431 \u043A\u0443\u043D\u0435\u0434",
39
41
  goto: "\u0411\u0430 \u0441\u043B\u0430\u0439\u0434\u0438 {slide} \u0433\u0443\u0437\u0430\u0440\u0435\u0434"
40
42
  },
41
43
  modal: {
@@ -22,7 +22,8 @@ export default defineLocale({
22
22
  placeholder: "Bir komut yaz\u0131n veya arama yap\u0131n...",
23
23
  noMatch: "E\u015Fle\u015Fen veri yok",
24
24
  noData: "Veri yok",
25
- close: "Kapat"
25
+ close: "Kapat",
26
+ back: "Geri"
26
27
  },
27
28
  selectMenu: {
28
29
  noMatch: "E\u015Fle\u015Fen veri yok",
@@ -36,6 +37,7 @@ export default defineLocale({
36
37
  carousel: {
37
38
  prev: "\xD6nceki",
38
39
  next: "Sonraki",
40
+ dots: "G\xF6r\xFCnt\xFClenecek slayd\u0131 se\xE7in",
39
41
  goto: "{slide}. slayda git"
40
42
  },
41
43
  modal: {
@@ -23,7 +23,8 @@ export default defineLocale({
23
23
  placeholder: "\u0628\u06C7\u064A\u0631\u06C7\u0642 \u0643\u0649\u0631\u06AF\u06C8\u0632\u06C8\u06AD \u064A\u0627\u0643\u0649 \u0626\u0649\u0632\u062F\u06D5\u06AD...",
24
24
  noMatch: "\u0645\u0627\u0633 \u0643\u06D0\u0644\u0649\u062F\u0649\u063A\u0627\u0646 \u0633\u0627\u0646\u0644\u0649\u0642 \u0645\u06D5\u0644\u06C7\u0645\u0627\u062A \u064A\u0648\u0642",
25
25
  noData: "\u0633\u0627\u0646\u0644\u0649\u0642 \u0645\u06D5\u0644\u06C7\u0645\u0627\u062A \u064A\u0648\u0642",
26
- close: "\u062A\u0627\u0642\u0627\u0634"
26
+ close: "\u062A\u0627\u0642\u0627\u0634",
27
+ back: "\u0642\u0627\u064A\u062A\u0649\u0634"
27
28
  },
28
29
  selectMenu: {
29
30
  noMatch: "\u0645\u0627\u0633 \u0643\u06D0\u0644\u0649\u062F\u0649\u063A\u0627\u0646 \u0633\u0627\u0646\u0644\u0649\u0642 \u0645\u06D5\u0644\u06C7\u0645\u0627\u062A \u064A\u0648\u0642",
@@ -37,6 +38,7 @@ export default defineLocale({
37
38
  carousel: {
38
39
  prev: "\u0626\u0627\u0644\u062F\u0649\u0646\u0642\u0649 \u0628\u06D5\u062A",
39
40
  next: "\u0643\u06D0\u064A\u0649\u0646\u0643\u0649 \u0628\u06D5\u062A",
41
+ dots: "\u0643\u06C6\u0631\u0633\u0649\u062A\u0649\u062F\u0649\u063A\u0627\u0646 \u0633\u0644\u0627\u064A\u062F\u0646\u0649 \u062A\u0627\u0644\u0644\u0627\u06AD",
40
42
  goto: "{slide}-\u0628\u06D5\u062A\u0643\u06D5 \u0626\u0627\u062A\u0644\u0627\u0634"
41
43
  },
42
44
  modal: {
@@ -22,7 +22,8 @@ export default defineLocale({
22
22
  placeholder: "\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u043C\u0430\u043D\u0434\u0443 \u0430\u0431\u043E \u0448\u0443\u043A\u0430\u0439\u0442\u0435...",
23
23
  noMatch: "\u0417\u0431\u0456\u0433\u0456\u0432 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E",
24
24
  noData: "\u041D\u0435\u043C\u0430\u0454 \u0434\u0430\u043D\u0438\u0445",
25
- close: "\u0417\u0430\u043A\u0440\u0438\u0442\u0438"
25
+ close: "\u0417\u0430\u043A\u0440\u0438\u0442\u0438",
26
+ back: "\u041D\u0430\u0437\u0430\u0434"
26
27
  },
27
28
  selectMenu: {
28
29
  noMatch: "\u0417\u0431\u0456\u0433\u0456\u0432 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E",
@@ -36,6 +37,7 @@ export default defineLocale({
36
37
  carousel: {
37
38
  prev: "\u041D\u0430\u0437\u0430\u0434",
38
39
  next: "\u0414\u0430\u043B\u0456",
40
+ dots: "\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u0441\u043B\u0430\u0439\u0434 \u0434\u043B\u044F \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F",
39
41
  goto: "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0434\u043E {slide}"
40
42
  },
41
43
  modal: {
@@ -23,7 +23,8 @@ export default defineLocale({
23
23
  placeholder: "\u06A9\u0645\u0627\u0646\u0688 \u0679\u0627\u0626\u067E \u06A9\u0631\u06CC\u06BA \u06CC\u0627 \u062A\u0644\u0627\u0634 \u06A9\u0631\u06CC\u06BA...",
24
24
  noMatch: "\u06A9\u0648\u0626\u06CC \u0645\u0644\u062A\u0627 \u062C\u0644\u062A\u0627 \u0688\u06CC\u0679\u0627 \u0646\u06C1\u06CC\u06BA \u0645\u0644\u0627",
25
25
  noData: "\u06A9\u0648\u0626\u06CC \u0688\u06CC\u0679\u0627 \u0646\u06C1\u06CC\u06BA",
26
- close: "\u0628\u0646\u062F \u06A9\u0631\u06CC\u06BA"
26
+ close: "\u0628\u0646\u062F \u06A9\u0631\u06CC\u06BA",
27
+ back: "\u0648\u0627\u067E\u0633"
27
28
  },
28
29
  selectMenu: {
29
30
  noMatch: "\u06A9\u0648\u0626\u06CC \u0645\u0644\u062A\u0627 \u062C\u0644\u062A\u0627 \u0688\u06CC\u0679\u0627 \u0646\u06C1\u06CC\u06BA \u0645\u0644\u0627",
@@ -37,6 +38,7 @@ export default defineLocale({
37
38
  carousel: {
38
39
  prev: "\u067E\u0686\u06BE\u0644\u0627",
39
40
  next: "\u0627\u06AF\u0644\u0627",
41
+ dots: "\u062F\u06A9\u06BE\u0627\u0646\u06D2 \u06A9\u06D2 \u0644\u06CC\u06D2 \u0633\u0644\u0627\u0626\u06CC\u0688 \u0645\u0646\u062A\u062E\u0628 \u06A9\u0631\u06CC\u06BA",
40
42
  goto: "\u0633\u0644\u0627\u0626\u06CC\u0688 {slide} \u067E\u0631 \u062C\u0627\u0626\u06CC\u06BA"
41
43
  },
42
44
  modal: {
@@ -22,7 +22,8 @@ export default defineLocale({
22
22
  placeholder: "Buyruq kiriting yoki qidiring...",
23
23
  noMatch: "Mos keluvchi natija topilmadi",
24
24
  noData: "Ma\u02BClumot yo\u02BBq",
25
- close: "Yopish"
25
+ close: "Yopish",
26
+ back: "Orqaga"
26
27
  },
27
28
  selectMenu: {
28
29
  noMatch: "Mos keluvchi natija topilmadi",
@@ -36,6 +37,7 @@ export default defineLocale({
36
37
  carousel: {
37
38
  prev: "Ortga",
38
39
  next: "Oldinga",
40
+ dots: "Ko\u02BBrsatish uchun slaydni tanlang",
39
41
  goto: "{slide}-slaydga o\u2018tish"
40
42
  },
41
43
  modal: {
@@ -22,7 +22,8 @@ export default defineLocale({
22
22
  placeholder: "Nh\u1EADp l\u1EC7nh ho\u1EB7c t\xECm ki\u1EBFm...",
23
23
  noMatch: "Kh\xF4ng c\xF3 k\u1EBFt qu\u1EA3 ph\xF9 h\u1EE3p",
24
24
  noData: "Kh\xF4ng c\xF3 d\u1EEF li\u1EC7u",
25
- close: "\u0110\xF3ng"
25
+ close: "\u0110\xF3ng",
26
+ back: "Quay l\u1EA1i"
26
27
  },
27
28
  selectMenu: {
28
29
  noMatch: "Kh\xF4ng c\xF3 k\u1EBFt qu\u1EA3 ph\xF9 h\u1EE3p",
@@ -36,6 +37,7 @@ export default defineLocale({
36
37
  carousel: {
37
38
  prev: "Tr\u01B0\u1EDBc",
38
39
  next: "Sau",
40
+ dots: "Ch\u1ECDn slide \u0111\u1EC3 hi\u1EC3n th\u1ECB",
39
41
  goto: "\u0110i t\u1EDBi \xF4 {slide}"
40
42
  },
41
43
  modal: {
@@ -22,7 +22,8 @@ export default defineLocale({
22
22
  placeholder: "\u8F93\u5165\u547D\u4EE4\u6216\u641C\u7D22...",
23
23
  noMatch: "\u6CA1\u6709\u5339\u914D\u7684\u6570\u636E",
24
24
  noData: "\u6CA1\u6709\u6570\u636E",
25
- close: "\u5173\u95ED"
25
+ close: "\u5173\u95ED",
26
+ back: "\u8FD4\u56DE"
26
27
  },
27
28
  selectMenu: {
28
29
  noMatch: "\u6CA1\u6709\u5339\u914D\u7684\u6570\u636E",
@@ -36,6 +37,7 @@ export default defineLocale({
36
37
  carousel: {
37
38
  prev: "\u4E0A\u4E00\u9875",
38
39
  next: "\u4E0B\u4E00\u9875",
40
+ dots: "\u9009\u62E9\u8981\u663E\u793A\u7684\u5E7B\u706F\u7247",
39
41
  goto: "\u8DF3\u8F6C\u5230\u7B2C {slide} \u9875"
40
42
  },
41
43
  modal: {
@@ -22,7 +22,8 @@ export default defineLocale({
22
22
  placeholder: "\u8F38\u5165\u547D\u4EE4\u6216\u641C\u5C0B...",
23
23
  noMatch: "\u6C92\u6709\u76F8\u7B26\u7684\u8CC7\u6599",
24
24
  noData: "\u6C92\u6709\u8CC7\u6599",
25
- close: "\u95DC\u9589"
25
+ close: "\u95DC\u9589",
26
+ back: "\u8FD4\u56DE"
26
27
  },
27
28
  selectMenu: {
28
29
  noMatch: "\u6C92\u6709\u76F8\u7B26\u7684\u8CC7\u6599",
@@ -36,6 +37,7 @@ export default defineLocale({
36
37
  carousel: {
37
38
  prev: "\u4E0A\u4E00\u9801",
38
39
  next: "\u4E0B\u4E00\u9801",
40
+ dots: "\u9078\u64C7\u8981\u986F\u793A\u7684\u6295\u5F71\u7247",
39
41
  goto: "\u8DF3\u8F49\u5230\u7B2C {slide} \u9801"
40
42
  },
41
43
  modal: {
@@ -4,28 +4,29 @@ import type { Schema as JoiSchema } from 'joi';
4
4
  import type { ObjectSchema as YupObjectSchema } from 'yup';
5
5
  import type { GetObjectField } from './utils';
6
6
  import type { Struct as SuperstructSchema } from 'superstruct';
7
- export interface Form<T extends object> {
8
- validate(opts?: {
9
- name?: keyof T | (keyof T)[];
7
+ export interface Form<S extends FormSchema> {
8
+ validate<T extends boolean>(opts?: {
9
+ name?: keyof FormData<S, false> | (keyof FormData<S, false>)[];
10
10
  silent?: boolean;
11
11
  nested?: boolean;
12
- transform?: boolean;
13
- }): Promise<T | false>;
12
+ transform?: T;
13
+ }): Promise<FormData<S, T> | false>;
14
14
  clear(path?: string): void;
15
15
  errors: Ref<FormError[]>;
16
- setErrors(errs: FormError[], name?: keyof T): void;
17
- getErrors(name?: keyof T): FormError[];
16
+ setErrors(errs: FormError[], name?: keyof FormData<S, false>): void;
17
+ getErrors(name?: keyof FormData<S, false>): FormError[];
18
18
  submit(): Promise<void>;
19
19
  disabled: ComputedRef<boolean>;
20
20
  dirty: ComputedRef<boolean>;
21
21
  loading: Ref<boolean>;
22
- dirtyFields: DeepReadonly<Set<keyof T>>;
23
- touchedFields: DeepReadonly<Set<keyof T>>;
24
- blurredFields: DeepReadonly<Set<keyof T>>;
22
+ dirtyFields: ReadonlySet<DeepReadonly<keyof FormData<S, false>>>;
23
+ touchedFields: ReadonlySet<DeepReadonly<keyof FormData<S, false>>>;
24
+ blurredFields: ReadonlySet<DeepReadonly<keyof FormData<S, false>>>;
25
25
  }
26
26
  export type FormSchema<I extends object = object, O extends object = I> = YupObjectSchema<I> | JoiSchema<I> | SuperstructSchema<any, any> | StandardSchemaV1<I, O>;
27
27
  export type InferInput<Schema> = Schema extends StandardSchemaV1 ? StandardSchemaV1.InferInput<Schema> : Schema extends YupObjectSchema<infer I> ? I : Schema extends JoiSchema<infer I> ? I : Schema extends SuperstructSchema<infer I, any> ? I : Schema extends StandardSchemaV1 ? StandardSchemaV1.InferInput<Schema> : never;
28
28
  export type InferOutput<Schema> = Schema extends StandardSchemaV1 ? StandardSchemaV1.InferOutput<Schema> : Schema extends YupObjectSchema<infer O> ? O : Schema extends JoiSchema<infer O> ? O : Schema extends SuperstructSchema<infer O, any> ? O : never;
29
+ export type FormData<S extends FormSchema, T extends boolean = true> = T extends true ? InferOutput<S> : InferInput<S>;
29
30
  export type FormInputEvents = 'input' | 'blur' | 'change' | 'focus';
30
31
  export interface FormError<P extends string = string> {
31
32
  name?: P;
@@ -20,12 +20,14 @@ export * from '../components/Container.vue';
20
20
  export * from '../components/ContextMenu.vue';
21
21
  export * from '../components/Drawer.vue';
22
22
  export * from '../components/DropdownMenu.vue';
23
+ export * from '../components/FileUpload.vue';
23
24
  export * from '../components/Form.vue';
24
25
  export * from '../components/FormField.vue';
25
26
  export * from '../components/Icon.vue';
26
27
  export * from '../components/Input.vue';
27
28
  export * from '../components/InputMenu.vue';
28
29
  export * from '../components/InputNumber.vue';
30
+ export * from '../components/InputTags.vue';
29
31
  export * from '../components/Kbd.vue';
30
32
  export * from '../components/Link.vue';
31
33
  export * from '../components/Modal.vue';
@@ -46,6 +48,7 @@ export * from '../components/Switch.vue';
46
48
  export * from '../components/Table.vue';
47
49
  export * from '../components/Tabs.vue';
48
50
  export * from '../components/Textarea.vue';
51
+ export * from '../components/Timeline.vue';
49
52
  export * from '../components/Toast.vue';
50
53
  export * from '../components/Toaster.vue';
51
54
  export * from '../components/Tooltip.vue';
@@ -20,12 +20,14 @@ export * from "../components/Container.vue";
20
20
  export * from "../components/ContextMenu.vue";
21
21
  export * from "../components/Drawer.vue";
22
22
  export * from "../components/DropdownMenu.vue";
23
+ export * from "../components/FileUpload.vue";
23
24
  export * from "../components/Form.vue";
24
25
  export * from "../components/FormField.vue";
25
26
  export * from "../components/Icon.vue";
26
27
  export * from "../components/Input.vue";
27
28
  export * from "../components/InputMenu.vue";
28
29
  export * from "../components/InputNumber.vue";
30
+ export * from "../components/InputTags.vue";
29
31
  export * from "../components/Kbd.vue";
30
32
  export * from "../components/Link.vue";
31
33
  export * from "../components/Modal.vue";
@@ -46,6 +48,7 @@ export * from "../components/Switch.vue";
46
48
  export * from "../components/Table.vue";
47
49
  export * from "../components/Tabs.vue";
48
50
  export * from "../components/Textarea.vue";
51
+ export * from "../components/Timeline.vue";
49
52
  export * from "../components/Toast.vue";
50
53
  export * from "../components/Toaster.vue";
51
54
  export * from "../components/Tooltip.vue";
@@ -19,6 +19,7 @@ export type Messages = {
19
19
  noMatch: string;
20
20
  noData: string;
21
21
  close: string;
22
+ back: string;
22
23
  };
23
24
  selectMenu: {
24
25
  noMatch: string;
@@ -32,6 +33,7 @@ export type Messages = {
32
33
  carousel: {
33
34
  prev: string;
34
35
  next: string;
36
+ dots: string;
35
37
  goto: string;
36
38
  };
37
39
  modal: {
@@ -1,5 +1,8 @@
1
1
  import type { VNode } from 'vue';
2
2
  import type { AcceptableValue as _AcceptableValue } from 'reka-ui';
3
+ export type DeepPartial<T> = {
4
+ [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P] | undefined;
5
+ };
3
6
  export type DynamicSlotsKeys<Name extends string | undefined, Suffix extends string | undefined = undefined> = (Name extends string ? Suffix extends string ? Name | `${Name}-${Suffix}` : Name : never);
4
7
  export type DynamicSlots<T extends {
5
8
  slot?: string;
@@ -5,3 +5,4 @@ export declare function set(object: Record<string, any>, path: (string | number)
5
5
  export declare function looseToNumber(val: any): any;
6
6
  export declare function compare<T>(value?: T, currentValue?: T, comparator?: string | ((a: T, b: T) => boolean)): boolean;
7
7
  export declare function isArrayOfArray<A>(item: A[] | A[][]): item is A[][];
8
+ export declare function mergeClasses(appConfigClass?: string | string[], propClass?: string): "" | (string | undefined)[];
@@ -64,3 +64,12 @@ export function compare(value, currentValue, comparator) {
64
64
  export function isArrayOfArray(item) {
65
65
  return Array.isArray(item[0]);
66
66
  }
67
+ export function mergeClasses(appConfigClass, propClass) {
68
+ if (!appConfigClass && !propClass) {
69
+ return "";
70
+ }
71
+ return [
72
+ ...Array.isArray(appConfigClass) ? appConfigClass : [appConfigClass],
73
+ propClass
74
+ ].filter(Boolean);
75
+ }
@@ -1,5 +1,5 @@
1
1
  export interface IconProps {
2
2
  name: string;
3
3
  }
4
- declare const _default: import("vue").DefineComponent<IconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IconProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
4
+ declare const _default: import("vue").DefineComponent<IconProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IconProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
5
  export default _default;
@@ -77,7 +77,7 @@ export interface LinkSlots {
77
77
  active: boolean;
78
78
  }): any;
79
79
  }
80
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
80
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
81
81
  type: "reset" | "submit" | "button";
82
82
  as: any;
83
83
  activeClass: string;
@@ -6,6 +6,7 @@ export { useAppConfig } from './composables/useAppConfig';
6
6
  export { defineShortcuts } from '../composables/defineShortcuts';
7
7
  export { defineLocale } from '../composables/defineLocale';
8
8
  export { useLocale } from '../composables/useLocale';
9
+ export declare const clearError: () => void;
9
10
  export declare const useColorMode: () => {
10
11
  forced: boolean;
11
12
  preference?: undefined;
@@ -1,13 +1,15 @@
1
1
  import { ref, onScopeDispose } from "vue";
2
2
  import { createHooks } from "hookable";
3
- import appConfig from "#build/app.config";
4
3
  import { useColorMode as useColorModeVueUse } from "@vueuse/core";
4
+ import appConfig from "#build/app.config";
5
5
  export { useHead } from "@unhead/vue";
6
6
  export { useRoute, useRouter } from "vue-router";
7
7
  export { useAppConfig } from "./composables/useAppConfig.js";
8
8
  export { defineShortcuts } from "../composables/defineShortcuts.js";
9
9
  export { defineLocale } from "../composables/defineLocale.js";
10
10
  export { useLocale } from "../composables/useLocale.js";
11
+ export const clearError = () => {
12
+ };
11
13
  export const useColorMode = () => {
12
14
  if (!appConfig.colorMode) {
13
15
  return {