@nuxt/ui 3.2.0 → 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.
- package/.nuxt/ui/button.ts +42 -42
- package/.nuxt/ui/command-palette.ts +2 -1
- package/.nuxt/ui/file-upload.ts +290 -0
- package/.nuxt/ui/index.ts +1 -0
- package/.nuxt/ui/kbd.ts +167 -3
- package/.nuxt/ui/table.ts +8 -0
- package/.nuxt/ui/tabs.ts +4 -2
- package/.nuxt/ui/toast.ts +8 -15
- package/.nuxt/ui/tooltip.ts +1 -1
- package/cli/templates.mjs +4 -3
- package/dist/module.d.mts +15 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -3
- package/dist/runtime/components/Accordion.vue.d.ts +1 -1
- package/dist/runtime/components/Alert.vue.d.ts +2 -2
- package/dist/runtime/components/App.vue.d.ts +1 -1
- package/dist/runtime/components/Avatar.vue.d.ts +1 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Badge.vue.d.ts +1 -1
- package/dist/runtime/components/Breadcrumb.vue.d.ts +1 -1
- package/dist/runtime/components/Button.vue +6 -6
- package/dist/runtime/components/Button.vue.d.ts +1 -5
- package/dist/runtime/components/ButtonGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Calendar.vue.d.ts +1 -1
- package/dist/runtime/components/Card.vue.d.ts +1 -1
- package/dist/runtime/components/Carousel.vue +18 -14
- package/dist/runtime/components/Carousel.vue.d.ts +1 -1
- package/dist/runtime/components/Checkbox.vue.d.ts +1 -1
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Chip.vue.d.ts +2 -2
- package/dist/runtime/components/Collapsible.vue.d.ts +1 -1
- package/dist/runtime/components/ColorPicker.vue +1 -2
- package/dist/runtime/components/ColorPicker.vue.d.ts +1 -1
- package/dist/runtime/components/CommandPalette.vue +4 -0
- package/dist/runtime/components/CommandPalette.vue.d.ts +6 -1
- package/dist/runtime/components/Container.vue.d.ts +1 -1
- package/dist/runtime/components/ContextMenu.vue.d.ts +1 -1
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +1 -1
- package/dist/runtime/components/Drawer.vue +4 -4
- package/dist/runtime/components/Drawer.vue.d.ts +6 -1
- package/dist/runtime/components/DropdownMenu.vue.d.ts +1 -1
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +8 -5
- package/dist/runtime/components/FileUpload.vue +242 -0
- package/dist/runtime/components/FileUpload.vue.d.ts +167 -0
- package/dist/runtime/components/Form.vue.d.ts +6 -5
- package/dist/runtime/components/FormField.vue +2 -2
- package/dist/runtime/components/FormField.vue.d.ts +4 -4
- package/dist/runtime/components/Icon.vue.d.ts +1 -1
- package/dist/runtime/components/Input.vue +10 -7
- package/dist/runtime/components/Input.vue.d.ts +9 -9
- package/dist/runtime/components/InputMenu.vue +17 -10
- package/dist/runtime/components/InputMenu.vue.d.ts +15 -12
- package/dist/runtime/components/InputNumber.vue.d.ts +4 -4
- package/dist/runtime/components/InputTags.vue +2 -0
- package/dist/runtime/components/InputTags.vue.d.ts +5 -3
- package/dist/runtime/components/Kbd.vue +2 -1
- package/dist/runtime/components/Kbd.vue.d.ts +5 -1
- package/dist/runtime/components/Link.vue +6 -5
- package/dist/runtime/components/Link.vue.d.ts +1 -3
- package/dist/runtime/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/components/Modal.vue.d.ts +2 -2
- package/dist/runtime/components/NavigationMenu.vue +3 -2
- package/dist/runtime/components/NavigationMenu.vue.d.ts +1 -1
- package/dist/runtime/components/OverlayProvider.vue.d.ts +1 -1
- package/dist/runtime/components/Pagination.vue.d.ts +1 -1
- package/dist/runtime/components/PinInput.vue.d.ts +1 -1
- package/dist/runtime/components/Popover.vue +2 -1
- package/dist/runtime/components/Popover.vue.d.ts +8 -2
- package/dist/runtime/components/Progress.vue.d.ts +1 -1
- package/dist/runtime/components/RadioGroup.vue +1 -1
- package/dist/runtime/components/RadioGroup.vue.d.ts +5 -4
- package/dist/runtime/components/Select.vue.d.ts +1 -1
- package/dist/runtime/components/SelectMenu.vue +9 -6
- package/dist/runtime/components/SelectMenu.vue.d.ts +1 -1
- package/dist/runtime/components/Separator.vue.d.ts +1 -1
- package/dist/runtime/components/Skeleton.vue.d.ts +1 -1
- package/dist/runtime/components/Slideover.vue.d.ts +2 -2
- package/dist/runtime/components/Slider.vue.d.ts +5 -5
- package/dist/runtime/components/Stepper.vue.d.ts +1 -1
- package/dist/runtime/components/Switch.vue.d.ts +1 -1
- package/dist/runtime/components/Table.vue +83 -8
- package/dist/runtime/components/Table.vue.d.ts +20 -4
- package/dist/runtime/components/Tabs.vue +11 -2
- package/dist/runtime/components/Tabs.vue.d.ts +8 -3
- package/dist/runtime/components/Textarea.vue +10 -7
- package/dist/runtime/components/Textarea.vue.d.ts +10 -9
- package/dist/runtime/components/Timeline.vue.d.ts +1 -1
- package/dist/runtime/components/Toast.vue +12 -4
- package/dist/runtime/components/Toast.vue.d.ts +14 -13
- package/dist/runtime/components/Toaster.vue.d.ts +1 -1
- package/dist/runtime/components/Tooltip.vue +2 -1
- package/dist/runtime/components/Tooltip.vue.d.ts +8 -2
- package/dist/runtime/components/Tree.vue +3 -2
- package/dist/runtime/components/Tree.vue.d.ts +1 -1
- package/dist/runtime/composables/defineShortcuts.js +5 -3
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useComponentIcons.d.ts +1 -1
- package/dist/runtime/composables/useFileUpload.d.ts +19 -0
- package/dist/runtime/composables/useFileUpload.js +63 -0
- package/dist/runtime/composables/useFormField.d.ts +3 -6
- package/dist/runtime/composables/useFormField.js +5 -2
- package/dist/runtime/composables/useKbd.d.ts +1 -1
- package/dist/runtime/composables/useLocale.js +2 -2
- package/dist/runtime/composables/useOverlay.d.ts +28 -1
- package/dist/runtime/composables/useOverlay.js +4 -4
- package/dist/runtime/composables/usePortal.d.ts +1 -1
- package/dist/runtime/inertia/components/Link.vue.d.ts +1 -1
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/inertia/stubs.d.ts +1 -0
- package/dist/runtime/inertia/stubs.js +4 -2
- package/dist/runtime/locale/ar.js +2 -1
- package/dist/runtime/locale/az.js +1 -0
- package/dist/runtime/locale/bg.js +1 -0
- package/dist/runtime/locale/bn.js +1 -0
- package/dist/runtime/locale/ca.js +1 -0
- package/dist/runtime/locale/ckb.js +2 -1
- package/dist/runtime/locale/cs.js +1 -0
- package/dist/runtime/locale/da.js +1 -0
- package/dist/runtime/locale/de.js +1 -0
- package/dist/runtime/locale/el.js +1 -0
- package/dist/runtime/locale/en.js +1 -0
- package/dist/runtime/locale/es.js +1 -0
- package/dist/runtime/locale/et.js +1 -0
- package/dist/runtime/locale/fa_ir.js +1 -0
- package/dist/runtime/locale/fi.js +1 -0
- package/dist/runtime/locale/fr.js +1 -0
- package/dist/runtime/locale/he.js +1 -0
- package/dist/runtime/locale/hi.js +2 -1
- package/dist/runtime/locale/hu.js +1 -0
- package/dist/runtime/locale/hy.js +1 -0
- package/dist/runtime/locale/id.js +1 -0
- package/dist/runtime/locale/it.js +1 -0
- package/dist/runtime/locale/ja.js +1 -0
- package/dist/runtime/locale/kk.js +1 -0
- package/dist/runtime/locale/km.js +2 -1
- package/dist/runtime/locale/ko.js +1 -0
- package/dist/runtime/locale/ky.js +1 -0
- package/dist/runtime/locale/lb.js +1 -0
- package/dist/runtime/locale/lt.js +1 -0
- package/dist/runtime/locale/mn.js +1 -0
- package/dist/runtime/locale/ms.js +1 -0
- package/dist/runtime/locale/nb_no.js +1 -0
- package/dist/runtime/locale/nl.js +1 -0
- package/dist/runtime/locale/pl.js +1 -0
- package/dist/runtime/locale/pt.js +1 -0
- package/dist/runtime/locale/pt_br.js +1 -0
- package/dist/runtime/locale/ro.js +1 -0
- package/dist/runtime/locale/ru.js +1 -0
- package/dist/runtime/locale/sk.js +1 -0
- package/dist/runtime/locale/sl.js +1 -0
- package/dist/runtime/locale/sv.js +1 -0
- package/dist/runtime/locale/th.js +1 -0
- package/dist/runtime/locale/tj.js +1 -0
- package/dist/runtime/locale/tr.js +1 -0
- package/dist/runtime/locale/ug_cn.js +1 -0
- package/dist/runtime/locale/uk.js +1 -0
- package/dist/runtime/locale/ur.js +1 -0
- package/dist/runtime/locale/uz.js +1 -0
- package/dist/runtime/locale/vi.js +1 -0
- package/dist/runtime/locale/zh_cn.js +1 -0
- package/dist/runtime/locale/zh_tw.js +1 -0
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/types/locale.d.ts +1 -0
- package/dist/runtime/utils/index.d.ts +1 -0
- package/dist/runtime/utils/index.js +9 -0
- package/dist/runtime/vue/components/Icon.vue.d.ts +1 -1
- package/dist/runtime/vue/components/Link.vue.d.ts +1 -1
- package/dist/runtime/vue/stubs.d.ts +1 -0
- package/dist/runtime/vue/stubs.js +3 -1
- package/dist/shared/{ui.BPVxSPGY.mjs → ui.BkSj2DmF.mjs} +278 -29
- package/dist/unplugin.d.mts +2 -0
- package/dist/unplugin.mjs +6 -3
- package/dist/vite.mjs +1 -1
- package/package.json +24 -24
|
@@ -37,6 +37,7 @@ export default defineLocale({
|
|
|
37
37
|
carousel: {
|
|
38
38
|
prev: "\u03A0\u03C1\u03BF\u03B7\u03B3\u03BF\u03CD\u03BC\u03B5\u03BD\u03BF",
|
|
39
39
|
next: "\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF",
|
|
40
|
+
dots: "\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03B4\u03B9\u03B1\u03C6\u03AC\u03BD\u03B5\u03B9\u03B1 \u03B3\u03B9\u03B1 \u03B5\u03BC\u03C6\u03AC\u03BD\u03B9\u03C3\u03B7",
|
|
40
41
|
goto: "\u039C\u03B5\u03C4\u03AC\u03B2\u03B1\u03C3\u03B7 \u03C3\u03C4\u03B7 \u03B4\u03B9\u03B1\u03C6\u03AC\u03BD\u03B5\u03B9\u03B1 {slide}"
|
|
41
42
|
},
|
|
42
43
|
modal: {
|
|
@@ -38,6 +38,7 @@ export default defineLocale({
|
|
|
38
38
|
carousel: {
|
|
39
39
|
prev: "\u0642\u0628\u0644\u06CC",
|
|
40
40
|
next: "\u0628\u0639\u062F\u06CC",
|
|
41
|
+
dots: "\u0627\u0633\u0644\u0627\u06CC\u062F \u0645\u0648\u0631\u062F \u0646\u0638\u0631 \u0628\u0631\u0627\u06CC \u0646\u0645\u0627\u06CC\u0634 \u0631\u0627 \u0627\u0646\u062A\u062E\u0627\u0628 \u06A9\u0646\u06CC\u062F",
|
|
41
42
|
goto: "\u0631\u0641\u062A\u0646 \u0628\u0647 \u0627\u0633\u0644\u0627\u06CC\u062F {slide}"
|
|
42
43
|
},
|
|
43
44
|
modal: {
|
|
@@ -36,6 +36,7 @@ export default defineLocale({
|
|
|
36
36
|
carousel: {
|
|
37
37
|
prev: "\u05D4\u05E7\u05D5\u05D3\u05DD",
|
|
38
38
|
next: "\u05D4\u05D1\u05D0",
|
|
39
|
+
dots: "\u05D1\u05D7\u05E8 \u05E9\u05E7\u05D5\u05E4\u05D9\u05EA \u05DC\u05D4\u05E6\u05D2\u05D4",
|
|
39
40
|
goto: "\u05DE\u05E2\u05D1\u05E8 \u05DC {slide}"
|
|
40
41
|
},
|
|
41
42
|
modal: {
|
|
@@ -37,7 +37,8 @@ export default defineLocale({
|
|
|
37
37
|
carousel: {
|
|
38
38
|
prev: "\u092A\u093F\u091B\u0932\u093E",
|
|
39
39
|
next: "\u0905\u0917\u0932\u093E",
|
|
40
|
-
|
|
40
|
+
dots: "\u092A\u094D\u0930\u0926\u0930\u094D\u0936\u093F\u0924 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0938\u094D\u0932\u093E\u0907\u0921 \u091A\u0941\u0928\u0947\u0902",
|
|
41
|
+
goto: "\u0938\u094D\u0932\u093E\u0907\u0921 {slide} \u092A\u0930 \u091C\u093E\u090F\u0902"
|
|
41
42
|
},
|
|
42
43
|
modal: {
|
|
43
44
|
close: "\u092C\u0902\u0926 \u0915\u0930\u0947\u0902"
|
|
@@ -37,6 +37,7 @@ export default defineLocale({
|
|
|
37
37
|
carousel: {
|
|
38
38
|
prev: "\u0540\u0565\u057F",
|
|
39
39
|
next: "\u0531\u057C\u0561\u057B",
|
|
40
|
+
dots: "\u0538\u0576\u057F\u0580\u0565\u0584 \u0581\u0578\u0582\u0581\u0561\u0564\u0580\u0565\u056C\u0578\u0582 \u057D\u056C\u0561\u0575\u0564\u0568",
|
|
40
41
|
goto: "\u0531\u0576\u0581\u0576\u0565\u056C {slide}-\u056B\u0576"
|
|
41
42
|
},
|
|
42
43
|
modal: {
|
|
@@ -37,6 +37,7 @@ export default defineLocale({
|
|
|
37
37
|
carousel: {
|
|
38
38
|
prev: "\u0410\u043B\u0434\u044B\u04A3\u0493\u044B",
|
|
39
39
|
next: "\u041A\u0435\u043B\u0435\u0441\u0456",
|
|
40
|
+
dots: "\u041A\u04E9\u0440\u0441\u0435\u0442\u0443 \u04AF\u0448\u0456\u043D \u0441\u043B\u0430\u0439\u0434\u0442\u044B \u0442\u0430\u04A3\u0434\u0430\u04A3\u044B\u0437",
|
|
40
41
|
goto: "{slide} \u0441\u043B\u0430\u0439\u0434\u049B\u0430 \u04E9\u0442\u0443"
|
|
41
42
|
},
|
|
42
43
|
modal: {
|
|
@@ -37,7 +37,8 @@ export default defineLocale({
|
|
|
37
37
|
carousel: {
|
|
38
38
|
prev: "\u1798\u17BB\u1793",
|
|
39
39
|
next: "\u1794\u1793\u17D2\u1791\u17B6\u1794\u17CB",
|
|
40
|
-
|
|
40
|
+
dots: "\u1787\u17D2\u179A\u17BE\u179F\u179A\u17BE\u179F\u200B\u179F\u17D2\u179B\u17B6\u1799\u200B\u178A\u17BE\u1798\u17D2\u1794\u17B8\u200B\u1794\u1784\u17D2\u17A0\u17B6\u1789",
|
|
41
|
+
goto: "\u17A1\u17BE\u1784\u1791\u17C5\u179F\u17D2\u179B\u17B6\u1799 {slide}"
|
|
41
42
|
},
|
|
42
43
|
modal: {
|
|
43
44
|
close: "\u1794\u17B7\u1791"
|
|
@@ -37,6 +37,7 @@ export default defineLocale({
|
|
|
37
37
|
carousel: {
|
|
38
38
|
prev: "\u0410\u043B\u0434\u044B\u04A3\u043A\u044B",
|
|
39
39
|
next: "\u041A\u0438\u0439\u0438\u043D\u043A\u0438",
|
|
40
|
+
dots: "\u041A\u04E9\u0440\u0441\u04E9\u0442\u04AF\u04AF \u04AF\u0447\u04AF\u043D \u0441\u043B\u0430\u0439\u0434\u0434\u044B \u0442\u0430\u043D\u0434\u0430\u04A3\u044B\u0437",
|
|
40
41
|
goto: "{slide} \u0441\u043B\u0430\u0439\u0434\u0433\u0430 \u04E9\u0442\u04AF\u04AF"
|
|
41
42
|
},
|
|
42
43
|
modal: {
|
|
@@ -37,6 +37,7 @@ export default defineLocale({
|
|
|
37
37
|
carousel: {
|
|
38
38
|
prev: "\u04E8\u043C\u043D\u04E9\u0445",
|
|
39
39
|
next: "\u0414\u0430\u0440\u0430\u0430\u0445",
|
|
40
|
+
dots: "\u0425\u0430\u0440\u0443\u0443\u043B\u0430\u0445 \u0441\u043B\u0430\u0439\u0434\u044B\u0433 \u0441\u043E\u043D\u0433\u043E\u043D\u043E \u0443\u0443",
|
|
40
41
|
goto: "{slide}-\u0440 \u0445\u0443\u0443\u0434\u0441\u0430\u043D\u0434 \u0448\u0438\u043B\u0436\u0438\u0445"
|
|
41
42
|
},
|
|
42
43
|
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\u0435\u0435",
|
|
40
|
+
dots: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u043B\u0430\u0439\u0434 \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F",
|
|
40
41
|
goto: "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A {slide}"
|
|
41
42
|
},
|
|
42
43
|
modal: {
|
|
@@ -37,6 +37,7 @@ export default defineLocale({
|
|
|
37
37
|
carousel: {
|
|
38
38
|
prev: "\u0E22\u0E49\u0E2D\u0E19\u0E01\u0E25\u0E31\u0E1A",
|
|
39
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",
|
|
40
41
|
goto: "\u0E44\u0E1B\u0E17\u0E35\u0E48 {slide}"
|
|
41
42
|
},
|
|
42
43
|
modal: {
|
|
@@ -37,6 +37,7 @@ export default defineLocale({
|
|
|
37
37
|
carousel: {
|
|
38
38
|
prev: "\u049A\u0430\u0431\u043B\u04E3",
|
|
39
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",
|
|
40
41
|
goto: "\u0411\u0430 \u0441\u043B\u0430\u0439\u0434\u0438 {slide} \u0433\u0443\u0437\u0430\u0440\u0435\u0434"
|
|
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: {
|
|
@@ -20,6 +20,7 @@ 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';
|
|
@@ -20,6 +20,7 @@ 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";
|
|
@@ -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,
|
|
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,
|
|
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 {
|