una-nuxt-module 3.0.28 → 3.0.30
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/module.mjs +1 -1
- package/dist/runtime/components/ui/button/index.d.ts +1 -1
- package/dist/runtime/components/ui/calendar/Calendar.vue +5 -5
- package/dist/runtime/components/ui/calendar/CalendarCell.vue +1 -1
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +2 -2
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue +4 -4
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue +2 -2
- package/dist/runtime/components/ui/tabs/Tabs.d.vue.ts +24 -0
- package/dist/runtime/components/ui/tabs/Tabs.vue.d.ts +24 -0
- package/dist/runtime/repository-pattern/plugins/api-fetch.d.ts +1 -2
- package/dist/runtime/repository-pattern/types/index.d.ts +2 -0
- package/package.json +24 -24
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -2,6 +2,6 @@ import type { VariantProps } from "class-variance-authority";
|
|
|
2
2
|
export { default as Button } from "./Button.vue.js";
|
|
3
3
|
export declare const buttonVariants: (props?: ({
|
|
4
4
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
5
|
-
size?: "default" | "
|
|
5
|
+
size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
@@ -8,17 +8,17 @@ import cn from "../../../utils/cn";
|
|
|
8
8
|
import { NativeSelect, NativeSelectOption } from "../native-select";
|
|
9
9
|
import { CalendarCell, CalendarCellTrigger, CalendarGrid, CalendarGridBody, CalendarGridHead, CalendarGridRow, CalendarHeadCell, CalendarHeader, CalendarHeading, CalendarNextButton, CalendarPrevButton } from ".";
|
|
10
10
|
const props = defineProps({
|
|
11
|
-
defaultValue: { type:
|
|
12
|
-
defaultPlaceholder: { type:
|
|
13
|
-
placeholder: { type:
|
|
11
|
+
defaultValue: { type: Object, required: false },
|
|
12
|
+
defaultPlaceholder: { type: Object, required: false },
|
|
13
|
+
placeholder: { type: Object, required: false },
|
|
14
14
|
pagedNavigation: { type: Boolean, required: false },
|
|
15
15
|
preventDeselect: { type: Boolean, required: false },
|
|
16
16
|
weekStartsOn: { type: Number, required: false },
|
|
17
17
|
weekdayFormat: { type: String, required: false },
|
|
18
18
|
calendarLabel: { type: String, required: false },
|
|
19
19
|
fixedWeeks: { type: Boolean, required: false },
|
|
20
|
-
maxValue: { type:
|
|
21
|
-
minValue: { type:
|
|
20
|
+
maxValue: { type: Object, required: false },
|
|
21
|
+
minValue: { type: Object, required: false },
|
|
22
22
|
locale: { type: String, required: false },
|
|
23
23
|
numberOfMonths: { type: Number, required: false },
|
|
24
24
|
disabled: { type: Boolean, required: false },
|
|
@@ -3,7 +3,7 @@ import { reactiveOmit } from "@vueuse/core";
|
|
|
3
3
|
import { CalendarCell, useForwardProps } from "reka-ui";
|
|
4
4
|
import cn from "../../../utils/cn";
|
|
5
5
|
const props = defineProps({
|
|
6
|
-
date: { type:
|
|
6
|
+
date: { type: Object, required: true },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
8
|
as: { type: null, required: false },
|
|
9
9
|
class: { type: [Boolean, null, String, Object, Array], required: false, skipCheck: true }
|
|
@@ -4,8 +4,8 @@ import { CalendarCellTrigger, useForwardProps } from "reka-ui";
|
|
|
4
4
|
import cn from "../../../utils/cn";
|
|
5
5
|
import { buttonVariants } from "../button";
|
|
6
6
|
const props = defineProps({
|
|
7
|
-
day: { type:
|
|
8
|
-
month: { type:
|
|
7
|
+
day: { type: Object, required: true },
|
|
8
|
+
month: { type: Object, required: true },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
10
|
as: { type: null, required: false, default: "button" },
|
|
11
11
|
class: { type: [Boolean, null, String, Object, Array], required: false, skipCheck: true }
|
|
@@ -4,10 +4,10 @@ import { RangeCalendarRoot, useForwardPropsEmits } from "reka-ui";
|
|
|
4
4
|
import cn from "../../../utils/cn";
|
|
5
5
|
import { RangeCalendarCell, RangeCalendarCellTrigger, RangeCalendarGrid, RangeCalendarGridBody, RangeCalendarGridHead, RangeCalendarGridRow, RangeCalendarHeadCell, RangeCalendarHeader, RangeCalendarHeading, RangeCalendarNextButton, RangeCalendarPrevButton } from ".";
|
|
6
6
|
const props = defineProps({
|
|
7
|
-
defaultPlaceholder: { type:
|
|
7
|
+
defaultPlaceholder: { type: Object, required: false },
|
|
8
8
|
defaultValue: { type: Object, required: false },
|
|
9
9
|
modelValue: { type: [Object, null], required: false },
|
|
10
|
-
placeholder: { type:
|
|
10
|
+
placeholder: { type: Object, required: false },
|
|
11
11
|
allowNonContiguousRanges: { type: Boolean, required: false },
|
|
12
12
|
pagedNavigation: { type: Boolean, required: false },
|
|
13
13
|
preventDeselect: { type: Boolean, required: false },
|
|
@@ -16,8 +16,8 @@ const props = defineProps({
|
|
|
16
16
|
weekdayFormat: { type: String, required: false },
|
|
17
17
|
calendarLabel: { type: String, required: false },
|
|
18
18
|
fixedWeeks: { type: Boolean, required: false },
|
|
19
|
-
maxValue: { type:
|
|
20
|
-
minValue: { type:
|
|
19
|
+
maxValue: { type: Object, required: false },
|
|
20
|
+
minValue: { type: Object, required: false },
|
|
21
21
|
locale: { type: String, required: false },
|
|
22
22
|
numberOfMonths: { type: Number, required: false },
|
|
23
23
|
disabled: { type: Boolean, required: false },
|
|
@@ -3,7 +3,7 @@ import { reactiveOmit } from "@vueuse/core";
|
|
|
3
3
|
import { RangeCalendarCell, useForwardProps } from "reka-ui";
|
|
4
4
|
import cn from "../../../utils/cn";
|
|
5
5
|
const props = defineProps({
|
|
6
|
-
date: { type:
|
|
6
|
+
date: { type: Object, required: true },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
8
|
as: { type: null, required: false },
|
|
9
9
|
class: { type: [Boolean, null, String, Object, Array], required: false, skipCheck: true }
|
|
@@ -4,8 +4,8 @@ import { RangeCalendarCellTrigger, useForwardProps } from "reka-ui";
|
|
|
4
4
|
import cn from "../../../utils/cn";
|
|
5
5
|
import { buttonVariants } from "../button";
|
|
6
6
|
const props = defineProps({
|
|
7
|
-
day: { type:
|
|
8
|
-
month: { type:
|
|
7
|
+
day: { type: Object, required: true },
|
|
8
|
+
month: { type: Object, required: true },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
10
|
as: { type: null, required: false, default: "button" },
|
|
11
11
|
class: { type: [Boolean, null, String, Object, Array], required: false, skipCheck: true }
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { TabsRootProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = TabsRootProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {
|
|
7
|
+
modelValue: string | number | undefined;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_8) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (payload: import("reka-ui").StringOrNumber) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((payload: import("reka-ui").StringOrNumber) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { TabsRootProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = TabsRootProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {
|
|
7
|
+
modelValue: string | number | undefined;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_8) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (payload: import("reka-ui").StringOrNumber) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((payload: import("reka-ui").StringOrNumber) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
type ApiFetch = <T>(_request: Parameters<typeof $fetch>[0], _options?: Parameters<typeof $fetch>[1]) => Promise<IApiResponse<T>>;
|
|
1
|
+
import type { ApiFetch } from '../types/index.js';
|
|
3
2
|
declare const _default: import("#app").Plugin<{
|
|
4
3
|
api: {
|
|
5
4
|
fetch: ApiFetch;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { NitroFetchOptions, NitroFetchRequest } from 'nitropack';
|
|
2
|
+
import type { IApiResponse } from '#unaxt/types';
|
|
2
3
|
export type GetFetchOptions = NitroFetchOptions<NitroFetchRequest, 'get'>;
|
|
3
4
|
export type PutFetchOptions = NitroFetchOptions<NitroFetchRequest, 'put'>;
|
|
4
5
|
export type PostFetchOptions = NitroFetchOptions<NitroFetchRequest, 'post'>;
|
|
5
6
|
export type PatchFetchOptions = NitroFetchOptions<NitroFetchRequest, 'patch'>;
|
|
6
7
|
export type DeleteFetchOptions = NitroFetchOptions<NitroFetchRequest, 'delete'>;
|
|
8
|
+
export type ApiFetch = <T>(_request: Parameters<typeof $fetch>[0], _options?: Parameters<typeof $fetch>[1]) => Promise<IApiResponse<T>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "una-nuxt-module",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.30",
|
|
4
4
|
"description": "Módulo Nuxt para desarrollo CGI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -61,33 +61,33 @@
|
|
|
61
61
|
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@asgardeo/auth-spa": "3.5.
|
|
64
|
+
"@asgardeo/auth-spa": "3.5.2",
|
|
65
65
|
"@nuxt/a11y": "1.0.0-alpha.1",
|
|
66
66
|
"@nuxt/fonts": "0.14.0",
|
|
67
|
-
"@nuxt/hints": "1.
|
|
68
|
-
"@nuxt/icon": "2.2.
|
|
67
|
+
"@nuxt/hints": "1.1.2",
|
|
68
|
+
"@nuxt/icon": "2.2.2",
|
|
69
69
|
"@nuxt/image": "2.0.0",
|
|
70
|
-
"@nuxt/kit": "4.4.
|
|
71
|
-
"@nuxtjs/i18n": "10.
|
|
70
|
+
"@nuxt/kit": "4.4.6",
|
|
71
|
+
"@nuxtjs/i18n": "10.4.0",
|
|
72
72
|
"@pinia/nuxt": "0.5.5",
|
|
73
|
-
"@tailwindcss/vite": "4.
|
|
73
|
+
"@tailwindcss/vite": "4.3.0",
|
|
74
74
|
"@tanstack/vue-table": "8.21.3",
|
|
75
|
-
"@unovis/ts": "1.6.
|
|
76
|
-
"@unovis/vue": "1.6.
|
|
75
|
+
"@unovis/ts": "1.6.5",
|
|
76
|
+
"@unovis/vue": "1.6.5",
|
|
77
77
|
"@vee-validate/zod": "4.15.1",
|
|
78
|
-
"@vueuse/core": "14.
|
|
78
|
+
"@vueuse/core": "14.3.0",
|
|
79
79
|
"class-variance-authority": "0.7.1",
|
|
80
80
|
"clsx": "2.1.1",
|
|
81
81
|
"colorette": "2.0.20",
|
|
82
82
|
"defu": "6.1.7",
|
|
83
83
|
"embla-carousel-vue": "8.6.0",
|
|
84
84
|
"lucide-vue-next": "1.0.0",
|
|
85
|
-
"nuxt-security": "2.
|
|
85
|
+
"nuxt-security": "2.6.0",
|
|
86
86
|
"pinia": "2.2.8",
|
|
87
|
-
"reka-ui": "2.9.
|
|
87
|
+
"reka-ui": "2.9.7",
|
|
88
88
|
"scule": "1.3.0",
|
|
89
|
-
"tailwind-merge": "3.
|
|
90
|
-
"tailwindcss": "4.
|
|
89
|
+
"tailwind-merge": "3.6.0",
|
|
90
|
+
"tailwindcss": "4.3.0",
|
|
91
91
|
"tw-animate-css": "1.4.0",
|
|
92
92
|
"vaul-vue": "0.4.1",
|
|
93
93
|
"vee-validate": "4.15.1",
|
|
@@ -99,25 +99,25 @@
|
|
|
99
99
|
"@nuxt/devtools": "3.2.4",
|
|
100
100
|
"@nuxt/eslint-config": "1.15.2",
|
|
101
101
|
"@nuxt/module-builder": "1.0.2",
|
|
102
|
-
"@nuxt/schema": "4.4.
|
|
103
|
-
"@nuxt/test-utils": "4.0.
|
|
102
|
+
"@nuxt/schema": "4.4.6",
|
|
103
|
+
"@nuxt/test-utils": "4.0.3",
|
|
104
104
|
"@nuxtjs/color-mode": "4.0.0",
|
|
105
105
|
"@types/node": "24.3.1",
|
|
106
|
-
"@typescript-eslint/parser": "8.
|
|
106
|
+
"@typescript-eslint/parser": "8.59.4",
|
|
107
107
|
"changelogen": "0.6.2",
|
|
108
108
|
"eslint": "9.39.1",
|
|
109
109
|
"eslint-plugin-security": "3.0.1",
|
|
110
110
|
"husky": "9.1.7",
|
|
111
|
-
"lint-staged": "
|
|
112
|
-
"nuxt": "4.4.
|
|
113
|
-
"prettier": "3.8.
|
|
114
|
-
"prettier-plugin-tailwindcss": "0.
|
|
115
|
-
"shadcn-nuxt": "2.
|
|
111
|
+
"lint-staged": "17.0.5",
|
|
112
|
+
"nuxt": "4.4.6",
|
|
113
|
+
"prettier": "3.8.3",
|
|
114
|
+
"prettier-plugin-tailwindcss": "0.8.0",
|
|
115
|
+
"shadcn-nuxt": "2.7.3",
|
|
116
116
|
"typescript": "~5.9.2",
|
|
117
117
|
"unaxt-eslint-config": "0.0.3",
|
|
118
|
-
"vitest": "4.1.
|
|
118
|
+
"vitest": "4.1.7",
|
|
119
119
|
"vue-eslint-parser": "10.4.0",
|
|
120
|
-
"vue-tsc": "3.
|
|
120
|
+
"vue-tsc": "3.3.1"
|
|
121
121
|
},
|
|
122
122
|
"lint-staged": {
|
|
123
123
|
"*.{js,ts,json,vue}": [
|