nuxt-unified-ui 0.4.5 → 0.4.7
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.
|
@@ -15,6 +15,9 @@ const props = defineProps({
|
|
|
15
15
|
text: {
|
|
16
16
|
type: String,
|
|
17
17
|
},
|
|
18
|
+
modalOptions: {
|
|
19
|
+
type: Object,
|
|
20
|
+
},
|
|
18
21
|
startButtons: {
|
|
19
22
|
type: Array,
|
|
20
23
|
},
|
|
@@ -59,7 +62,7 @@ async function handleButtonClick(button) {
|
|
|
59
62
|
|
|
60
63
|
|
|
61
64
|
<template>
|
|
62
|
-
<u-modal @update:open="!$event && emit('close')">
|
|
65
|
+
<u-modal v-bind="props.modalOptions" @update:open="!$event && emit('close')">
|
|
63
66
|
<template #content>
|
|
64
67
|
<un-card
|
|
65
68
|
:icon="props.icon"
|
|
@@ -15,6 +15,9 @@ const props = defineProps({
|
|
|
15
15
|
text: {
|
|
16
16
|
type: String,
|
|
17
17
|
},
|
|
18
|
+
modalOptions: {
|
|
19
|
+
type: Object,
|
|
20
|
+
},
|
|
18
21
|
fields: {
|
|
19
22
|
type: Array,
|
|
20
23
|
required: true,
|
|
@@ -54,7 +57,7 @@ async function handleSubmit() {
|
|
|
54
57
|
|
|
55
58
|
|
|
56
59
|
<template>
|
|
57
|
-
<u-modal @update:open="!$event && emit('close')">
|
|
60
|
+
<u-modal v-bind="props.modalOptions" @update:open="!$event && emit('close')">
|
|
58
61
|
<template #content>
|
|
59
62
|
<un-card
|
|
60
63
|
:icon="props.icon"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ButtonProps } from '@nuxt/ui';
|
|
1
|
+
import type { ButtonProps, ModalProps } from '@nuxt/ui';
|
|
2
2
|
import ChoicePickerDialog from '../dialogs/choice-picker-dialog.vue';
|
|
3
3
|
|
|
4
4
|
|
|
@@ -7,6 +7,7 @@ interface IOptions {
|
|
|
7
7
|
title?: string;
|
|
8
8
|
subtitle?: string;
|
|
9
9
|
text?: string;
|
|
10
|
+
modalOptions?: ModalProps;
|
|
10
11
|
startButtons?: ( ButtonProps & { value?: string } )[];
|
|
11
12
|
endButtons?: ( ButtonProps & { value?: string } )[];
|
|
12
13
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ButtonProps } from '@nuxt/ui';
|
|
1
|
+
import type { ButtonProps, ModalProps } from '@nuxt/ui';
|
|
2
2
|
import FormPickerDialog from '../dialogs/form-picker-dialog.vue';
|
|
3
3
|
|
|
4
4
|
|
|
@@ -7,6 +7,7 @@ interface IOptions {
|
|
|
7
7
|
title?: string;
|
|
8
8
|
subtitle?: string;
|
|
9
9
|
text?: string;
|
|
10
|
+
modalOptions?: ModalProps;
|
|
10
11
|
fields: any[];
|
|
11
12
|
initialForm?: any;
|
|
12
13
|
submitButton?: Omit<ButtonProps, 'disabled'> & { disabled?: boolean | ((form: any) => boolean) | Record<string, any> };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-unified-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.7",
|
|
5
5
|
"packageManager": "bun@1.3.13",
|
|
6
6
|
"main": "./nuxt.config.ts",
|
|
7
7
|
"types": "./index.d.ts",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@formkit/tempo": "1.1.0",
|
|
23
|
-
"@iconify-json/lucide": "1.2.
|
|
23
|
+
"@iconify-json/lucide": "1.2.109",
|
|
24
24
|
"@nuxt/kit": "4.4.6",
|
|
25
|
-
"@nuxt/ui": "4.
|
|
26
|
-
"@nuxtjs/i18n": "10.
|
|
25
|
+
"@nuxt/ui": "4.8.0",
|
|
26
|
+
"@nuxtjs/i18n": "10.4.0",
|
|
27
27
|
"@vueuse/core": "14.3.0",
|
|
28
28
|
"@vueuse/nuxt": "14.3.0",
|
|
29
29
|
"radashi": "12.9.1",
|