@eslamdevui/ui 3.3.1 → 3.3.2-beta.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 (287) hide show
  1. package/.nuxt/ui/button.ts +42 -42
  2. package/.nuxt/ui/command-palette.ts +2 -1
  3. package/.nuxt/ui/file-upload.ts +295 -0
  4. package/.nuxt/ui/index.ts +2 -0
  5. package/.nuxt/ui/kbd.ts +167 -3
  6. package/.nuxt/ui/scroll-to-section.ts +3 -0
  7. package/.nuxt/ui/table.ts +14 -0
  8. package/.nuxt/ui/tabs.ts +4 -2
  9. package/.nuxt/ui/toast.ts +8 -15
  10. package/.nuxt/ui/tooltip.ts +1 -1
  11. package/cli/templates.mjs +4 -3
  12. package/dist/module.d.mts +15 -1
  13. package/dist/module.json +2 -2
  14. package/dist/module.mjs +3 -3
  15. package/dist/runtime/components/Accordion.vue.d.ts +1 -1
  16. package/dist/runtime/components/Alert.vue.d.ts +2 -2
  17. package/dist/runtime/components/App.vue.d.ts +1 -1
  18. package/dist/runtime/components/Avatar.vue.d.ts +1 -1
  19. package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
  20. package/dist/runtime/components/Badge.vue.d.ts +1 -1
  21. package/dist/runtime/components/Banner.vue.d.ts +1 -5
  22. package/dist/runtime/components/BlogPost.vue.d.ts +1 -1
  23. package/dist/runtime/components/BlogPosts.vue.d.ts +1 -1
  24. package/dist/runtime/components/Breadcrumb.vue.d.ts +1 -1
  25. package/dist/runtime/components/Button.vue +6 -6
  26. package/dist/runtime/components/Button.vue.d.ts +1 -5
  27. package/dist/runtime/components/ButtonGroup.vue.d.ts +1 -1
  28. package/dist/runtime/components/Calendar.vue.d.ts +1 -1
  29. package/dist/runtime/components/Card.vue.d.ts +1 -1
  30. package/dist/runtime/components/Carousel.vue +18 -14
  31. package/dist/runtime/components/Carousel.vue.d.ts +1 -1
  32. package/dist/runtime/components/ChangelogVersion.vue.d.ts +1 -1
  33. package/dist/runtime/components/ChangelogVersions.vue.d.ts +1 -1
  34. package/dist/runtime/components/ChatMessage.vue.d.ts +4 -8
  35. package/dist/runtime/components/ChatMessages.vue.d.ts +1 -1
  36. package/dist/runtime/components/ChatPalette.vue.d.ts +1 -1
  37. package/dist/runtime/components/ChatPrompt.vue.d.ts +1 -1
  38. package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +1 -1
  39. package/dist/runtime/components/Checkbox.vue.d.ts +1 -1
  40. package/dist/runtime/components/CheckboxGroup.vue.d.ts +1 -1
  41. package/dist/runtime/components/Chip.vue.d.ts +2 -2
  42. package/dist/runtime/components/Collapsible.vue.d.ts +1 -1
  43. package/dist/runtime/components/ColorPicker.vue +1 -2
  44. package/dist/runtime/components/ColorPicker.vue.d.ts +1 -1
  45. package/dist/runtime/components/CommandPalette.vue +4 -0
  46. package/dist/runtime/components/CommandPalette.vue.d.ts +9 -4
  47. package/dist/runtime/components/Container.vue.d.ts +1 -1
  48. package/dist/runtime/components/ContextMenu.vue.d.ts +1 -1
  49. package/dist/runtime/components/ContextMenuContent.vue.d.ts +1 -1
  50. package/dist/runtime/components/DashboardGroup.vue.d.ts +1 -1
  51. package/dist/runtime/components/DashboardNavbar.vue.d.ts +1 -1
  52. package/dist/runtime/components/DashboardPanel.vue.d.ts +1 -1
  53. package/dist/runtime/components/DashboardResizeHandle.vue.d.ts +1 -1
  54. package/dist/runtime/components/DashboardSearchButton.vue.d.ts +1 -1
  55. package/dist/runtime/components/DashboardSidebar.vue.d.ts +1 -1
  56. package/dist/runtime/components/DashboardSidebarCollapse.vue.d.ts +1 -1
  57. package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +1 -1
  58. package/dist/runtime/components/DashboardToolbar.vue.d.ts +1 -1
  59. package/dist/runtime/components/Drawer.vue +4 -4
  60. package/dist/runtime/components/Drawer.vue.d.ts +6 -1
  61. package/dist/runtime/components/DropdownMenu.vue.d.ts +1 -1
  62. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +8 -5
  63. package/dist/runtime/components/Error.vue.d.ts +1 -1
  64. package/dist/runtime/components/FileUpload.vue +242 -0
  65. package/dist/runtime/components/FileUpload.vue.d.ts +167 -0
  66. package/dist/runtime/components/Footer.vue.d.ts +1 -1
  67. package/dist/runtime/components/FooterColumns.vue.d.ts +1 -1
  68. package/dist/runtime/components/Form.vue.d.ts +5 -4
  69. package/dist/runtime/components/FormField.vue +2 -2
  70. package/dist/runtime/components/FormField.vue.d.ts +4 -4
  71. package/dist/runtime/components/Header.vue.d.ts +1 -1
  72. package/dist/runtime/components/Icon.vue.d.ts +1 -1
  73. package/dist/runtime/components/Input.vue +10 -7
  74. package/dist/runtime/components/Input.vue.d.ts +9 -9
  75. package/dist/runtime/components/InputMenu.vue +17 -10
  76. package/dist/runtime/components/InputMenu.vue.d.ts +17 -14
  77. package/dist/runtime/components/InputNumber.vue.d.ts +4 -4
  78. package/dist/runtime/components/InputTags.vue +2 -0
  79. package/dist/runtime/components/InputTags.vue.d.ts +5 -3
  80. package/dist/runtime/components/Kbd.vue +2 -1
  81. package/dist/runtime/components/Kbd.vue.d.ts +5 -1
  82. package/dist/runtime/components/Link.vue +6 -5
  83. package/dist/runtime/components/Link.vue.d.ts +1 -3
  84. package/dist/runtime/components/LinkBase.vue.d.ts +1 -1
  85. package/dist/runtime/components/Main.vue.d.ts +1 -1
  86. package/dist/runtime/components/Modal.vue.d.ts +2 -2
  87. package/dist/runtime/components/NavigationMenu.vue +3 -2
  88. package/dist/runtime/components/NavigationMenu.vue.d.ts +1 -1
  89. package/dist/runtime/components/OverlayProvider.vue.d.ts +1 -1
  90. package/dist/runtime/components/Page.vue.d.ts +1 -1
  91. package/dist/runtime/components/PageAccordion.vue.d.ts +1 -1
  92. package/dist/runtime/components/PageAnchors.vue.d.ts +1 -1
  93. package/dist/runtime/components/PageAside.vue.d.ts +1 -1
  94. package/dist/runtime/components/PageBody.vue.d.ts +1 -1
  95. package/dist/runtime/components/PageCTA.vue.d.ts +1 -1
  96. package/dist/runtime/components/PageCard.vue.d.ts +1 -1
  97. package/dist/runtime/components/PageColumns.vue.d.ts +1 -1
  98. package/dist/runtime/components/PageFeature.vue.d.ts +1 -1
  99. package/dist/runtime/components/PageGrid.vue.d.ts +1 -1
  100. package/dist/runtime/components/PageHeader.vue.d.ts +1 -1
  101. package/dist/runtime/components/PageHero.vue.d.ts +1 -1
  102. package/dist/runtime/components/PageLinks.vue.d.ts +1 -1
  103. package/dist/runtime/components/PageList.vue.d.ts +1 -1
  104. package/dist/runtime/components/PageLogos.vue.d.ts +1 -1
  105. package/dist/runtime/components/PageMarquee.vue.d.ts +1 -1
  106. package/dist/runtime/components/PageSection.vue.d.ts +1 -1
  107. package/dist/runtime/components/Pagination.vue.d.ts +1 -1
  108. package/dist/runtime/components/PinInput.vue.d.ts +1 -1
  109. package/dist/runtime/components/Popover.vue +2 -1
  110. package/dist/runtime/components/Popover.vue.d.ts +8 -2
  111. package/dist/runtime/components/PricingPlan.vue.d.ts +1 -1
  112. package/dist/runtime/components/PricingPlans.vue.d.ts +1 -1
  113. package/dist/runtime/components/PricingTable.vue +14 -2
  114. package/dist/runtime/components/PricingTable.vue.d.ts +1 -1
  115. package/dist/runtime/components/Progress.vue.d.ts +1 -1
  116. package/dist/runtime/components/RadioGroup.vue +1 -1
  117. package/dist/runtime/components/RadioGroup.vue.d.ts +5 -4
  118. package/dist/runtime/components/ScrollToSection.vue +62 -0
  119. package/dist/runtime/components/ScrollToSection.vue.d.ts +36 -0
  120. package/dist/runtime/components/Select.vue.d.ts +1 -1
  121. package/dist/runtime/components/SelectMenu.vue +9 -6
  122. package/dist/runtime/components/SelectMenu.vue.d.ts +4 -4
  123. package/dist/runtime/components/Separator.vue.d.ts +1 -1
  124. package/dist/runtime/components/Skeleton.vue.d.ts +1 -1
  125. package/dist/runtime/components/Slideover.vue.d.ts +2 -2
  126. package/dist/runtime/components/Slider.vue.d.ts +5 -5
  127. package/dist/runtime/components/Stepper.vue.d.ts +1 -1
  128. package/dist/runtime/components/Switch.vue.d.ts +1 -1
  129. package/dist/runtime/components/Table.vue +83 -8
  130. package/dist/runtime/components/Table.vue.d.ts +20 -4
  131. package/dist/runtime/components/Tabs.vue +36 -16
  132. package/dist/runtime/components/Tabs.vue.d.ts +8 -3
  133. package/dist/runtime/components/Textarea.vue +10 -7
  134. package/dist/runtime/components/Textarea.vue.d.ts +10 -9
  135. package/dist/runtime/components/Timeline.vue.d.ts +1 -1
  136. package/dist/runtime/components/Toast.vue +12 -4
  137. package/dist/runtime/components/Toast.vue.d.ts +14 -13
  138. package/dist/runtime/components/Toaster.vue.d.ts +1 -1
  139. package/dist/runtime/components/Tooltip.vue +2 -1
  140. package/dist/runtime/components/Tooltip.vue.d.ts +8 -2
  141. package/dist/runtime/components/Tree.vue +3 -2
  142. package/dist/runtime/components/Tree.vue.d.ts +1 -1
  143. package/dist/runtime/components/User.vue.d.ts +1 -1
  144. package/dist/runtime/components/color-mode/ColorModeAvatar.vue.d.ts +1 -1
  145. package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +1 -1
  146. package/dist/runtime/components/color-mode/ColorModeImage.vue.d.ts +1 -1
  147. package/dist/runtime/components/color-mode/ColorModeSelect.vue +1 -1
  148. package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +1 -1
  149. package/dist/runtime/components/color-mode/ColorModeSwitch.vue.d.ts +1 -1
  150. package/dist/runtime/components/content/ContentNavigation.vue.d.ts +1 -1
  151. package/dist/runtime/components/content/ContentSearch.vue +1 -2
  152. package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +1 -1
  153. package/dist/runtime/components/content/ContentSurround.vue.d.ts +1 -1
  154. package/dist/runtime/components/content/ContentToc.vue.d.ts +1 -1
  155. package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +1 -1
  156. package/dist/runtime/components/prose/A.vue.d.ts +1 -1
  157. package/dist/runtime/components/prose/Accordion.vue.d.ts +1 -1
  158. package/dist/runtime/components/prose/AccordionItem.vue.d.ts +1 -1
  159. package/dist/runtime/components/prose/Badge.vue.d.ts +1 -1
  160. package/dist/runtime/components/prose/Blockquote.vue.d.ts +1 -1
  161. package/dist/runtime/components/prose/Callout.vue.d.ts +1 -1
  162. package/dist/runtime/components/prose/Card.vue.d.ts +1 -1
  163. package/dist/runtime/components/prose/CardGroup.vue.d.ts +1 -1
  164. package/dist/runtime/components/prose/Code.vue.d.ts +1 -1
  165. package/dist/runtime/components/prose/CodeCollapse.vue.d.ts +1 -1
  166. package/dist/runtime/components/prose/CodeGroup.vue.d.ts +1 -1
  167. package/dist/runtime/components/prose/CodeIcon.vue.d.ts +1 -1
  168. package/dist/runtime/components/prose/CodePreview.vue.d.ts +1 -1
  169. package/dist/runtime/components/prose/CodeTree.vue.d.ts +1 -1
  170. package/dist/runtime/components/prose/Collapsible.vue.d.ts +1 -1
  171. package/dist/runtime/components/prose/Em.vue.d.ts +1 -1
  172. package/dist/runtime/components/prose/Field.vue.d.ts +1 -1
  173. package/dist/runtime/components/prose/FieldGroup.vue.d.ts +1 -1
  174. package/dist/runtime/components/prose/H1.vue.d.ts +1 -1
  175. package/dist/runtime/components/prose/H2.vue.d.ts +1 -1
  176. package/dist/runtime/components/prose/H3.vue.d.ts +1 -1
  177. package/dist/runtime/components/prose/H4.vue.d.ts +1 -1
  178. package/dist/runtime/components/prose/Hr.vue.d.ts +1 -1
  179. package/dist/runtime/components/prose/Icon.vue.d.ts +1 -1
  180. package/dist/runtime/components/prose/Img.vue.d.ts +1 -1
  181. package/dist/runtime/components/prose/Kbd.vue.d.ts +1 -1
  182. package/dist/runtime/components/prose/Li.vue.d.ts +1 -1
  183. package/dist/runtime/components/prose/Ol.vue.d.ts +1 -1
  184. package/dist/runtime/components/prose/P.vue.d.ts +1 -1
  185. package/dist/runtime/components/prose/Pre.vue.d.ts +1 -1
  186. package/dist/runtime/components/prose/Script.vue.d.ts +1 -1
  187. package/dist/runtime/components/prose/Steps.vue.d.ts +1 -1
  188. package/dist/runtime/components/prose/Strong.vue.d.ts +1 -1
  189. package/dist/runtime/components/prose/Table.vue.d.ts +1 -1
  190. package/dist/runtime/components/prose/Tabs.vue.d.ts +1 -1
  191. package/dist/runtime/components/prose/TabsItem.vue.d.ts +1 -1
  192. package/dist/runtime/components/prose/Tbody.vue.d.ts +1 -1
  193. package/dist/runtime/components/prose/Td.vue.d.ts +1 -1
  194. package/dist/runtime/components/prose/Th.vue.d.ts +1 -1
  195. package/dist/runtime/components/prose/Thead.vue.d.ts +1 -1
  196. package/dist/runtime/components/prose/Tr.vue.d.ts +1 -1
  197. package/dist/runtime/components/prose/Ul.vue.d.ts +1 -1
  198. package/dist/runtime/components/prose/callout/Caution.vue.d.ts +3 -3
  199. package/dist/runtime/components/prose/callout/Note.vue.d.ts +3 -3
  200. package/dist/runtime/components/prose/callout/Tip.vue.d.ts +3 -3
  201. package/dist/runtime/components/prose/callout/Warning.vue.d.ts +3 -3
  202. package/dist/runtime/composables/defineShortcuts.js +5 -3
  203. package/dist/runtime/composables/useFileUpload.d.ts +19 -0
  204. package/dist/runtime/composables/useFileUpload.js +63 -0
  205. package/dist/runtime/composables/useFormField.d.ts +1 -4
  206. package/dist/runtime/composables/useFormField.js +5 -2
  207. package/dist/runtime/composables/useKbd.d.ts +1 -1
  208. package/dist/runtime/composables/useLocale.js +2 -2
  209. package/dist/runtime/composables/useOverlay.d.ts +28 -1
  210. package/dist/runtime/composables/useOverlay.js +4 -4
  211. package/dist/runtime/inertia/components/Link.vue.d.ts +1 -1
  212. package/dist/runtime/inertia/components/LinkBase.vue.d.ts +1 -1
  213. package/dist/runtime/inertia/stubs.d.ts +1 -0
  214. package/dist/runtime/inertia/stubs.js +4 -2
  215. package/dist/runtime/locale/ar.js +2 -1
  216. package/dist/runtime/locale/az.js +1 -0
  217. package/dist/runtime/locale/bg.js +1 -0
  218. package/dist/runtime/locale/bn.js +1 -0
  219. package/dist/runtime/locale/ca.js +1 -0
  220. package/dist/runtime/locale/ckb.js +2 -1
  221. package/dist/runtime/locale/cs.js +1 -0
  222. package/dist/runtime/locale/da.js +1 -0
  223. package/dist/runtime/locale/de.js +1 -0
  224. package/dist/runtime/locale/el.js +1 -0
  225. package/dist/runtime/locale/en.js +1 -0
  226. package/dist/runtime/locale/es.js +1 -0
  227. package/dist/runtime/locale/et.js +1 -0
  228. package/dist/runtime/locale/fa_ir.js +1 -0
  229. package/dist/runtime/locale/fi.js +1 -0
  230. package/dist/runtime/locale/fr.js +1 -0
  231. package/dist/runtime/locale/he.js +1 -0
  232. package/dist/runtime/locale/hi.js +2 -1
  233. package/dist/runtime/locale/hu.js +1 -0
  234. package/dist/runtime/locale/hy.js +1 -0
  235. package/dist/runtime/locale/id.js +1 -0
  236. package/dist/runtime/locale/it.js +1 -0
  237. package/dist/runtime/locale/ja.js +1 -0
  238. package/dist/runtime/locale/kk.js +1 -0
  239. package/dist/runtime/locale/km.js +2 -1
  240. package/dist/runtime/locale/ko.js +1 -0
  241. package/dist/runtime/locale/ky.js +1 -0
  242. package/dist/runtime/locale/lb.js +1 -0
  243. package/dist/runtime/locale/lt.js +1 -0
  244. package/dist/runtime/locale/mn.js +1 -0
  245. package/dist/runtime/locale/ms.js +1 -0
  246. package/dist/runtime/locale/nb_no.js +1 -0
  247. package/dist/runtime/locale/nl.js +1 -0
  248. package/dist/runtime/locale/pl.js +1 -0
  249. package/dist/runtime/locale/pt.js +1 -0
  250. package/dist/runtime/locale/pt_br.js +1 -0
  251. package/dist/runtime/locale/ro.js +1 -0
  252. package/dist/runtime/locale/ru.js +1 -0
  253. package/dist/runtime/locale/sk.js +1 -0
  254. package/dist/runtime/locale/sl.js +1 -0
  255. package/dist/runtime/locale/sv.js +1 -0
  256. package/dist/runtime/locale/th.js +1 -0
  257. package/dist/runtime/locale/tj.js +1 -0
  258. package/dist/runtime/locale/tr.js +1 -0
  259. package/dist/runtime/locale/ug_cn.js +1 -0
  260. package/dist/runtime/locale/uk.js +1 -0
  261. package/dist/runtime/locale/ur.js +1 -0
  262. package/dist/runtime/locale/uz.js +1 -0
  263. package/dist/runtime/locale/vi.js +1 -0
  264. package/dist/runtime/locale/zh_cn.js +1 -0
  265. package/dist/runtime/locale/zh_tw.js +1 -0
  266. package/dist/runtime/types/index.d.ts +2 -0
  267. package/dist/runtime/types/index.js +2 -0
  268. package/dist/runtime/types/locale.d.ts +1 -0
  269. package/dist/runtime/utils/content.d.ts +18 -6
  270. package/dist/runtime/utils/content.js +51 -25
  271. package/dist/runtime/utils/index.d.ts +1 -0
  272. package/dist/runtime/utils/index.js +9 -0
  273. package/dist/runtime/vue/components/Icon.vue.d.ts +1 -1
  274. package/dist/runtime/vue/components/Link.vue.d.ts +1 -1
  275. package/dist/runtime/vue/components/color-mode/ColorModeButton.vue.d.ts +1 -1
  276. package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +1 -1
  277. package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue.d.ts +1 -1
  278. package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue.d.ts +1 -1
  279. package/dist/runtime/vue/stubs.d.ts +1 -0
  280. package/dist/runtime/vue/stubs.js +3 -1
  281. package/dist/shared/{ui.i6pGHFq6.mjs → ui.CgUuvRXi.mjs} +282 -29
  282. package/dist/unplugin.d.mts +2 -1
  283. package/dist/unplugin.mjs +6 -3
  284. package/dist/vite.mjs +1 -1
  285. package/package.json +57 -41
  286. package/dist/runtime/composables/useQuerySection.d.ts +0 -14
  287. package/dist/runtime/composables/useQuerySection.js +0 -44
@@ -37,6 +37,7 @@ export default defineLocale({
37
37
  carousel: {
38
38
  prev: "\xD6nceki",
39
39
  next: "Sonraki",
40
+ dots: "G\xF6r\xFCnt\xFClenecek slayd\u0131 se\xE7in",
40
41
  goto: "{slide}. slayda git"
41
42
  },
42
43
  modal: {
@@ -38,6 +38,7 @@ export default defineLocale({
38
38
  carousel: {
39
39
  prev: "\u0626\u0627\u0644\u062F\u0649\u0646\u0642\u0649 \u0628\u06D5\u062A",
40
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",
41
42
  goto: "{slide}-\u0628\u06D5\u062A\u0643\u06D5 \u0626\u0627\u062A\u0644\u0627\u0634"
42
43
  },
43
44
  modal: {
@@ -37,6 +37,7 @@ export default defineLocale({
37
37
  carousel: {
38
38
  prev: "\u041D\u0430\u0437\u0430\u0434",
39
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",
40
41
  goto: "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0434\u043E {slide}"
41
42
  },
42
43
  modal: {
@@ -38,6 +38,7 @@ export default defineLocale({
38
38
  carousel: {
39
39
  prev: "\u067E\u0686\u06BE\u0644\u0627",
40
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",
41
42
  goto: "\u0633\u0644\u0627\u0626\u06CC\u0688 {slide} \u067E\u0631 \u062C\u0627\u0626\u06CC\u06BA"
42
43
  },
43
44
  modal: {
@@ -37,6 +37,7 @@ export default defineLocale({
37
37
  carousel: {
38
38
  prev: "Ortga",
39
39
  next: "Oldinga",
40
+ dots: "Ko\u02BBrsatish uchun slaydni tanlang",
40
41
  goto: "{slide}-slaydga o\u2018tish"
41
42
  },
42
43
  modal: {
@@ -37,6 +37,7 @@ export default defineLocale({
37
37
  carousel: {
38
38
  prev: "Tr\u01B0\u1EDBc",
39
39
  next: "Sau",
40
+ dots: "Ch\u1ECDn slide \u0111\u1EC3 hi\u1EC3n th\u1ECB",
40
41
  goto: "\u0110i t\u1EDBi \xF4 {slide}"
41
42
  },
42
43
  modal: {
@@ -37,6 +37,7 @@ export default defineLocale({
37
37
  carousel: {
38
38
  prev: "\u4E0A\u4E00\u9875",
39
39
  next: "\u4E0B\u4E00\u9875",
40
+ dots: "\u9009\u62E9\u8981\u663E\u793A\u7684\u5E7B\u706F\u7247",
40
41
  goto: "\u8DF3\u8F6C\u5230\u7B2C {slide} \u9875"
41
42
  },
42
43
  modal: {
@@ -37,6 +37,7 @@ export default defineLocale({
37
37
  carousel: {
38
38
  prev: "\u4E0A\u4E00\u9801",
39
39
  next: "\u4E0B\u4E00\u9801",
40
+ dots: "\u9078\u64C7\u8981\u986F\u793A\u7684\u6295\u5F71\u7247",
40
41
  goto: "\u8DF3\u8F49\u5230\u7B2C {slide} \u9801"
41
42
  },
42
43
  modal: {
@@ -49,6 +49,7 @@ export * from '../components/DropdownMenu.vue';
49
49
  export * from '../components/Error.vue';
50
50
  export * from '../components/Footer.vue';
51
51
  export * from '../components/FooterColumns.vue';
52
+ export * from '../components/FileUpload.vue';
52
53
  export * from '../components/Form.vue';
53
54
  export * from '../components/FormField.vue';
54
55
  export * from '../components/Header.vue';
@@ -89,6 +90,7 @@ export * from '../components/PricingPlans.vue';
89
90
  export * from '../components/PricingTable.vue';
90
91
  export * from '../components/Progress.vue';
91
92
  export * from '../components/RadioGroup.vue';
93
+ export * from '../components/ScrollToSection.vue';
92
94
  export * from '../components/Select.vue';
93
95
  export * from '../components/SelectMenu.vue';
94
96
  export * from '../components/Separator.vue';
@@ -49,6 +49,7 @@ export * from "../components/DropdownMenu.vue";
49
49
  export * from "../components/Error.vue";
50
50
  export * from "../components/Footer.vue";
51
51
  export * from "../components/FooterColumns.vue";
52
+ export * from "../components/FileUpload.vue";
52
53
  export * from "../components/Form.vue";
53
54
  export * from "../components/FormField.vue";
54
55
  export * from "../components/Header.vue";
@@ -89,6 +90,7 @@ export * from "../components/PricingPlans.vue";
89
90
  export * from "../components/PricingTable.vue";
90
91
  export * from "../components/Progress.vue";
91
92
  export * from "../components/RadioGroup.vue";
93
+ export * from "../components/ScrollToSection.vue";
92
94
  export * from "../components/Select.vue";
93
95
  export * from "../components/SelectMenu.vue";
94
96
  export * from "../components/Separator.vue";
@@ -33,6 +33,7 @@ export type Messages = {
33
33
  carousel: {
34
34
  prev: string;
35
35
  next: string;
36
+ dots: string;
36
37
  goto: string;
37
38
  };
38
39
  modal: {
@@ -1,13 +1,25 @@
1
- import type { ContentNavigationItem, ContentCollectionItem } from '@nuxt/content';
1
+ import type { ContentNavigationItem } from '@nuxt/content';
2
2
  type MapContentNavigationItemOptions = {
3
3
  labelAttribute?: string;
4
+ deep?: number;
4
5
  };
5
- type MappedNavigationItem = Omit<ContentNavigationItem, 'title' | 'path'> & {
6
+ export declare function mapContentNavigationItem(item: ContentNavigationItem, options?: MapContentNavigationItemOptions, currentDepth?: number): Omit<ContentNavigationItem, 'title' | 'path'> & {
6
7
  label?: string;
7
8
  to?: string;
9
+ children: any[];
8
10
  };
9
- export declare function mapContentNavigationItem(item: ContentNavigationItem, options?: MapContentNavigationItemOptions): MappedNavigationItem;
10
- export declare function mapContentNavigation(navigation: ContentNavigationItem[], options?: MapContentNavigationItemOptions): MappedNavigationItem[];
11
- export declare function findPageHeadline(navigation?: ContentNavigationItem[], page?: ContentCollectionItem | null): string | undefined;
12
- export declare function findPageBreadcrumb(navigation?: ContentNavigationItem[], page?: ContentCollectionItem | null): ContentNavigationItem[];
11
+ export declare function mapContentNavigation(navigation: ContentNavigationItem[], options?: MapContentNavigationItemOptions): (Omit<ContentNavigationItem, 'title' | 'path'> & {
12
+ label?: string;
13
+ to?: string;
14
+ children: any[];
15
+ })[];
16
+ type FindPageOptions = {
17
+ indexAsChild?: boolean;
18
+ };
19
+ export declare function findPageHeadline(navigation?: ContentNavigationItem[], path?: string | undefined | null, options?: FindPageOptions): string | undefined;
20
+ type FindPageBreadcrumbOptions = {
21
+ current?: boolean;
22
+ indexAsChild?: boolean;
23
+ };
24
+ export declare function findPageBreadcrumb(navigation?: ContentNavigationItem[], path?: string | undefined | null, options?: FindPageBreadcrumbOptions): ContentNavigationItem[];
13
25
  export {};
@@ -1,49 +1,75 @@
1
- export function mapContentNavigationItem(item, options) {
1
+ export function mapContentNavigationItem(item, options, currentDepth = 0) {
2
2
  const navMap = {
3
3
  [options?.labelAttribute || "title"]: "label",
4
4
  path: "to"
5
5
  };
6
- return Object.keys(item).reduce((link, key) => {
7
- const typedKey = key;
8
- const value = item[typedKey];
9
- if (value) {
10
- const mappedKey = navMap[key] || key;
11
- link[mappedKey] = value;
12
- }
13
- return link;
14
- }, {});
6
+ const link = Object.keys(item).reduce(
7
+ (link2, key) => {
8
+ if (item[key]) {
9
+ const mappedKey = navMap[key] || key;
10
+ link2[mappedKey] = item[key];
11
+ }
12
+ return link2;
13
+ },
14
+ {}
15
+ );
16
+ const shouldRecurse = typeof options?.deep === "undefined" || currentDepth < options.deep;
17
+ if (shouldRecurse && Array.isArray(item.children)) {
18
+ link.children = item.children.map(
19
+ (child) => mapContentNavigationItem(child, options, currentDepth + 1)
20
+ );
21
+ } else {
22
+ link.children = [];
23
+ }
24
+ return link;
15
25
  }
16
26
  export function mapContentNavigation(navigation, options) {
17
27
  return navigation.map((item) => mapContentNavigationItem(item, options));
18
28
  }
19
- export function findPageHeadline(navigation, page) {
20
- if (!navigation?.length || !page) {
29
+ export function findPageHeadline(navigation, path, options) {
30
+ if (!navigation?.length || !path) {
21
31
  return;
22
32
  }
23
33
  for (const link of navigation) {
24
- if (link.children) {
25
- for (const childLink of link.children) {
26
- if (childLink.path === page.path) {
27
- return link.title;
34
+ if (options?.indexAsChild) {
35
+ if (link.children) {
36
+ const headline = findPageHeadline(link.children, path, options);
37
+ if (headline) {
38
+ return headline;
39
+ }
40
+ for (const child of link.children) {
41
+ if (child.path === path) {
42
+ return link.title;
43
+ }
28
44
  }
29
45
  }
30
- const headline = findPageHeadline(link.children, page);
31
- if (headline) {
32
- return headline;
46
+ } else {
47
+ if (link.children) {
48
+ for (const child of link.children) {
49
+ const isIndex = child.stem?.endsWith("/index");
50
+ if (child.path === path && !isIndex) {
51
+ return link.title;
52
+ }
53
+ }
54
+ const headline = findPageHeadline(link.children, path, options);
55
+ if (headline) {
56
+ return headline;
57
+ }
33
58
  }
34
59
  }
35
60
  }
36
- return;
37
61
  }
38
- export function findPageBreadcrumb(navigation, page) {
39
- if (!navigation?.length || !page) {
62
+ export function findPageBreadcrumb(navigation, path, options) {
63
+ if (!navigation?.length || !path) {
40
64
  return [];
41
65
  }
42
66
  return navigation.reduce((breadcrumb, link) => {
43
- if (page.path && (page.path + "/").startsWith(link.path + "/")) {
44
- breadcrumb.push(link);
67
+ if (path && (path + "/").startsWith(link.path + "/")) {
68
+ if (path !== link.path || options?.current || options?.indexAsChild && link.children) {
69
+ breadcrumb.push(link);
70
+ }
45
71
  if (link.children) {
46
- breadcrumb.push(...findPageBreadcrumb(link.children, page));
72
+ breadcrumb.push(...findPageBreadcrumb(link.children.filter((c) => c.path !== link.path || c.path === path && options?.current && options?.indexAsChild), path, options));
47
73
  }
48
74
  }
49
75
  return breadcrumb;
@@ -5,6 +5,7 @@ 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)[];
8
9
  export declare function getSlotChildrenText(children: any): string;
9
10
  export declare function transformUI(ui: Record<string, ((args: {
10
11
  class?: string;
@@ -64,6 +64,15 @@ 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
+ }
67
76
  export function getSlotChildrenText(children) {
68
77
  if (!children) return "";
69
78
  if (typeof children === "string") return children;
@@ -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;
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
20
20
  required: false;
21
21
  default: string;
22
22
  };
23
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
+ }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
24
  color: {
25
25
  type: null;
26
26
  required: false;
@@ -21,7 +21,7 @@ const preference = computed({
21
21
  return items.value.find((option) => option.value === colorMode.preference) || items.value[0];
22
22
  },
23
23
  set(option) {
24
- colorMode.preference = option.value;
24
+ colorMode.preference = option?.value || "system";
25
25
  }
26
26
  });
27
27
  </script>
@@ -1,5 +1,5 @@
1
1
  import type { SelectMenuProps } from '../../../types';
2
2
  export interface ColorModeSelectProps extends /** @vue-ignore */ Pick<SelectMenuProps<any>, 'color' | 'variant' | 'size' | 'trailingIcon' | 'selectedIcon' | 'content' | 'arrow' | 'portal' | 'disabled' | 'ui'> {
3
3
  }
4
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import type { SwitchProps } from '../../../types';
2
2
  export interface ColorModeSwitchProps extends /** @vue-ignore */ Pick<SwitchProps, 'as' | 'color' | 'size' | 'disabled' | 'ui'> {
3
3
  }
4
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
5
  export default _default;
@@ -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 {