nuxt-ui-elements 0.1.21 → 0.1.22
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/dist/module.json +1 -1
- package/dist/runtime/components/DialogAlert.d.vue.ts +0 -2
- package/dist/runtime/components/DialogAlert.vue +2 -4
- package/dist/runtime/components/DialogAlert.vue.d.ts +0 -2
- package/dist/runtime/components/DialogConfirm.d.vue.ts +0 -2
- package/dist/runtime/components/DialogConfirm.vue +2 -4
- package/dist/runtime/components/DialogConfirm.vue.d.ts +0 -2
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -17,9 +17,7 @@ export default _default;
|
|
|
17
17
|
declare const __VLS_export: import("vue").DefineComponent<DialogAlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
18
|
close: (value?: any) => any;
|
|
19
19
|
"update:open": (value: boolean) => any;
|
|
20
|
-
"after:leave": () => any;
|
|
21
20
|
}, string, import("vue").PublicProps, Readonly<DialogAlertProps> & Readonly<{
|
|
22
21
|
onClose?: ((value?: any) => any) | undefined;
|
|
23
22
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
24
|
-
"onAfter:leave"?: (() => any) | undefined;
|
|
25
23
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -26,7 +26,7 @@ const {
|
|
|
26
26
|
onDismiss: { type: Function, required: false },
|
|
27
27
|
ui: { type: null, required: false }
|
|
28
28
|
});
|
|
29
|
-
const emits = defineEmits(["update:open", "close"
|
|
29
|
+
const emits = defineEmits(["update:open", "close"]);
|
|
30
30
|
const ui = computed(
|
|
31
31
|
() => tv({
|
|
32
32
|
extend: tv(theme)
|
|
@@ -53,9 +53,7 @@ const dismissHandler = () => {
|
|
|
53
53
|
header: ui.header({ class: uiProps?.header }),
|
|
54
54
|
body: ui.body({ class: uiProps?.body }),
|
|
55
55
|
footer: ui.footer({ class: uiProps?.footer })
|
|
56
|
-
}"
|
|
57
|
-
@close="emits('close', $event)"
|
|
58
|
-
@after:leave="emits('after:leave')">
|
|
56
|
+
}">
|
|
59
57
|
<template #header>
|
|
60
58
|
<div class="relative w-full flex flex-col items-center text-center gap-3">
|
|
61
59
|
<UIcon v-if="icon" :name="icon" data-slot="icon" :class="ui.icon({ class: uiProps?.icon })" />
|
|
@@ -17,9 +17,7 @@ export default _default;
|
|
|
17
17
|
declare const __VLS_export: import("vue").DefineComponent<DialogAlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
18
|
close: (value?: any) => any;
|
|
19
19
|
"update:open": (value: boolean) => any;
|
|
20
|
-
"after:leave": () => any;
|
|
21
20
|
}, string, import("vue").PublicProps, Readonly<DialogAlertProps> & Readonly<{
|
|
22
21
|
onClose?: ((value?: any) => any) | undefined;
|
|
23
22
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
24
|
-
"onAfter:leave"?: (() => any) | undefined;
|
|
25
23
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -20,9 +20,7 @@ export default _default;
|
|
|
20
20
|
declare const __VLS_export: import("vue").DefineComponent<DialogConfirmProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
21
|
close: (value?: any) => any;
|
|
22
22
|
"update:open": (value: boolean) => any;
|
|
23
|
-
"after:leave": () => any;
|
|
24
23
|
}, string, import("vue").PublicProps, Readonly<DialogConfirmProps> & Readonly<{
|
|
25
24
|
onClose?: ((value?: any) => any) | undefined;
|
|
26
25
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
27
|
-
"onAfter:leave"?: (() => any) | undefined;
|
|
28
26
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -33,7 +33,7 @@ const {
|
|
|
33
33
|
onDismiss: { type: Function, required: false },
|
|
34
34
|
ui: { type: null, required: false }
|
|
35
35
|
});
|
|
36
|
-
const emits = defineEmits(["update:open", "close"
|
|
36
|
+
const emits = defineEmits(["update:open", "close"]);
|
|
37
37
|
const isLoading = ref(false);
|
|
38
38
|
const isComplete = ref(false);
|
|
39
39
|
const isError = ref(false);
|
|
@@ -111,9 +111,7 @@ const handleClose = () => {
|
|
|
111
111
|
header: ui.header({ class: uiProps?.header }),
|
|
112
112
|
body: ui.body({ class: uiProps?.body }),
|
|
113
113
|
footer: ui.footer({ class: uiProps?.footer })
|
|
114
|
-
}"
|
|
115
|
-
@close="emits('close', $event)"
|
|
116
|
-
@after:leave="emits('after:leave')">
|
|
114
|
+
}">
|
|
117
115
|
<template #header>
|
|
118
116
|
<div class="relative w-full flex items-start gap-3">
|
|
119
117
|
<UIcon v-if="dialogIcon" :name="dialogIcon" data-slot="icon" :class="ui.icon({ class: uiProps?.icon })" />
|
|
@@ -20,9 +20,7 @@ export default _default;
|
|
|
20
20
|
declare const __VLS_export: import("vue").DefineComponent<DialogConfirmProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
21
|
close: (value?: any) => any;
|
|
22
22
|
"update:open": (value: boolean) => any;
|
|
23
|
-
"after:leave": () => any;
|
|
24
23
|
}, string, import("vue").PublicProps, Readonly<DialogConfirmProps> & Readonly<{
|
|
25
24
|
onClose?: ((value?: any) => any) | undefined;
|
|
26
25
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
27
|
-
"onAfter:leave"?: (() => any) | undefined;
|
|
28
26
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
package/package.json
CHANGED