@simsustech/quasar-components 0.11.23 → 0.11.24
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/CHANGELOG.md +7 -0
- package/dist/{LocaleSelect.vue_vue_type_script_setup_true_lang-CMvTDKR3.js → LocaleSelect.vue_vue_type_script_setup_true_lang-DThzjchm.js} +7 -4
- package/dist/{QSubmitButton.vue_vue_type_script_setup_true_lang-UtpXkOh7.js → QSubmitButton.vue_vue_type_script_setup_true_lang-D-I0Gws4.js} +3 -3
- package/dist/authentication.js +95 -110
- package/dist/form.js +76 -87
- package/dist/general.js +23 -31
- package/dist/md3.js +87 -137
- package/dist/types/ui/authentication/AccountsTable.vue.d.ts +22 -17
- package/dist/types/ui/authentication/ConsentList.vue.d.ts +3 -2
- package/dist/types/ui/authentication/EmailChangeForm.vue.d.ts +3 -2
- package/dist/types/ui/authentication/EmailChangeStepper.vue.d.ts +3 -2
- package/dist/types/ui/authentication/LoginButton.vue.d.ts +3 -2
- package/dist/types/ui/authentication/LoginForm.vue.d.ts +3 -2
- package/dist/types/ui/authentication/LogoutButton.vue.d.ts +3 -2
- package/dist/types/ui/authentication/LogoutForm.vue.d.ts +3 -2
- package/dist/types/ui/authentication/OtpInput.vue.d.ts +2 -1
- package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +3 -2
- package/dist/types/ui/authentication/PasswordChangeStepper.vue.d.ts +3 -2
- package/dist/types/ui/authentication/RegisterForm.vue.d.ts +3 -2
- package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +3 -2
- package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +3 -2
- package/dist/types/ui/authentication/VerificationSlider.vue.d.ts +3 -2
- package/dist/types/ui/form/BooleanItem.vue.d.ts +2 -1
- package/dist/types/ui/form/BooleanSelect.vue.d.ts +2 -1
- package/dist/types/ui/form/CronScheduleInput.vue.d.ts +2 -1
- package/dist/types/ui/form/CurrencySelect.vue.d.ts +2 -1
- package/dist/types/ui/form/DateInput.vue.d.ts +5 -4
- package/dist/types/ui/form/DatePicker.vue.d.ts +2 -1
- package/dist/types/ui/form/EmailInput.vue.d.ts +3 -2
- package/dist/types/ui/form/FilteredModelSelect.vue.d.ts +19 -15
- package/dist/types/ui/form/FormInput.vue.d.ts +5 -4
- package/dist/types/ui/form/FormItem.vue.d.ts +6 -5
- package/dist/types/ui/form/GenderItem.vue.d.ts +2 -1
- package/dist/types/ui/form/GenderSelect.vue.d.ts +2 -1
- package/dist/types/ui/form/LocaleSelect.vue.d.ts +6 -1
- package/dist/types/ui/form/PostalCodeInput.vue.d.ts +2 -1
- package/dist/types/ui/form/TelephoneNumberInput.vue.d.ts +2 -1
- package/dist/types/ui/general/QDrawerList.vue.d.ts +5 -4
- package/dist/types/ui/general/QLanguageSelect.vue.d.ts +6 -1
- package/dist/types/ui/general/QStyledCard.vue.d.ts +3 -2
- package/dist/types/ui/general/QStyledLayout.vue.d.ts +3 -2
- package/dist/types/ui/general/QSubmitButton.vue.d.ts +3 -2
- package/dist/types/ui/general/ResourcePage.vue.d.ts +3 -2
- package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +3 -2
- package/dist/types/ui/md3/Md3Layout.vue.d.ts +11 -10
- package/dist/types/ui/md3/NavigationRailFabs.vue.d.ts +2 -1
- package/dist/vite-plugin.js +2 -1
- package/package.json +28 -28
- package/src/ui/form/LocaleSelect.vue +2 -0
- package/src/ui/general/QLanguageSelect.vue +3 -1
- package/src/vite-plugin.ts +2 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export interface Props {
|
|
2
2
|
useVerificationSlider?: boolean;
|
|
3
3
|
}
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: typeof __VLS_export;
|
|
5
|
+
export default _default;
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {
|
|
5
7
|
variables: import("vue").Ref<{}, {}>;
|
|
6
8
|
functions: import("vue").Ref<{}, {}>;
|
|
7
9
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -9,4 +11,3 @@ declare const _default: import("vue").DefineComponent<Props, {
|
|
|
9
11
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
10
12
|
onVerified?: (() => any) | undefined;
|
|
11
13
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
-
export default _default;
|
|
@@ -2,5 +2,6 @@ export interface Props {
|
|
|
2
2
|
modelValue: boolean | null;
|
|
3
3
|
label: string;
|
|
4
4
|
}
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
6
7
|
export default _default;
|
|
@@ -3,9 +3,10 @@ export interface Props {
|
|
|
3
3
|
label?: string;
|
|
4
4
|
required?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (...args: any[]) => void;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
9
9
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
10
10
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
11
12
|
export default _default;
|
|
@@ -5,9 +5,10 @@ export interface Props {
|
|
|
5
5
|
showHour?: boolean;
|
|
6
6
|
showDayOfWeek?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
9
|
"update:modelValue": (val: string) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
11
11
|
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
|
12
12
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
13
14
|
export default _default;
|
|
@@ -3,9 +3,10 @@ export interface Props {
|
|
|
3
3
|
modelValue: Currency | null;
|
|
4
4
|
required?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (...args: any[]) => void;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
9
9
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
10
10
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
11
12
|
export default _default;
|
|
@@ -12,11 +12,11 @@ export interface Props {
|
|
|
12
12
|
clear: string;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
declare var
|
|
15
|
+
declare var __VLS_57: string, __VLS_58: any;
|
|
16
16
|
type __VLS_Slots = {} & {
|
|
17
|
-
[K in NonNullable<typeof
|
|
17
|
+
[K in NonNullable<typeof __VLS_57>]?: (props: typeof __VLS_58) => any;
|
|
18
18
|
};
|
|
19
|
-
declare const
|
|
19
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
20
20
|
"update:modelValue": (val: string | null) => any;
|
|
21
21
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
22
22
|
"onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
|
|
@@ -30,7 +30,8 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
30
30
|
date: Partial<QDateProps>;
|
|
31
31
|
locale: QuasarLanguageCodes[number];
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
-
declare const
|
|
33
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
34
35
|
export default _default;
|
|
35
36
|
type __VLS_WithSlots<T, S> = T & {
|
|
36
37
|
new (): {
|
|
@@ -12,7 +12,7 @@ type __VLS_Props = {
|
|
|
12
12
|
range?: boolean;
|
|
13
13
|
options?: (date: string) => boolean;
|
|
14
14
|
};
|
|
15
|
-
declare const
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
16
|
"update:modelValue": (val: string | {
|
|
17
17
|
from: string;
|
|
18
18
|
to: string;
|
|
@@ -23,4 +23,5 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
23
23
|
to: string;
|
|
24
24
|
}) => any) | undefined;
|
|
25
25
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
26
27
|
export default _default;
|
|
@@ -2,7 +2,9 @@ export interface Props {
|
|
|
2
2
|
subject: string;
|
|
3
3
|
body: string;
|
|
4
4
|
}
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {
|
|
6
8
|
variables: import("vue").Ref<{}, {}>;
|
|
7
9
|
functions: import("vue").Ref<{}, {}>;
|
|
8
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -12,4 +14,3 @@ declare const _default: import("vue").DefineComponent<Props, {
|
|
|
12
14
|
"onUpdate:subject"?: ((value: string | number | null) => any) | undefined;
|
|
13
15
|
"onUpdate:body"?: ((value: string | null) => any) | undefined;
|
|
14
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
-
export default _default;
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: <T extends {
|
|
2
2
|
id: number;
|
|
3
3
|
[key: string]: unknown;
|
|
4
|
-
}>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>,
|
|
5
|
-
props:
|
|
6
|
-
readonly onFilter?: ((args_0: {
|
|
7
|
-
ids: number[];
|
|
8
|
-
searchPhrase: string;
|
|
9
|
-
done: (success?: boolean) => void;
|
|
10
|
-
}) => any) | undefined;
|
|
11
|
-
readonly "onUpdate:model-value"?: ((id: number) => any) | undefined;
|
|
12
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFilter" | "onUpdate:model-value"> & {
|
|
4
|
+
}>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
13
6
|
modelValue?: number | number[] | null;
|
|
14
7
|
labelKey: string;
|
|
15
8
|
labelFunction?: (option: unknown) => string;
|
|
@@ -21,12 +14,20 @@ declare const _default: <T extends {
|
|
|
21
14
|
multiple?: boolean;
|
|
22
15
|
label?: string;
|
|
23
16
|
hint?: string;
|
|
24
|
-
} &
|
|
25
|
-
|
|
17
|
+
} & {
|
|
18
|
+
onFilter?: ((args_0: {
|
|
19
|
+
ids: number[];
|
|
20
|
+
searchPhrase: string;
|
|
21
|
+
done: (success?: boolean) => void;
|
|
22
|
+
}) => any) | undefined;
|
|
23
|
+
"onUpdate:model-value"?: ((id: number) => any) | undefined;
|
|
24
|
+
}> & (typeof globalThis extends {
|
|
25
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
26
|
+
} ? P : {});
|
|
27
|
+
expose: (exposed: {}) => void;
|
|
26
28
|
attrs: any;
|
|
27
29
|
slots: {
|
|
28
30
|
[x: string]: ((props: any) => any) | undefined;
|
|
29
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
30
31
|
};
|
|
31
32
|
emit: {
|
|
32
33
|
(e: "update:model-value", id: number): void;
|
|
@@ -39,7 +40,10 @@ declare const _default: <T extends {
|
|
|
39
40
|
}>) => import("vue").VNode & {
|
|
40
41
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
41
42
|
};
|
|
43
|
+
declare const _default: typeof __VLS_export;
|
|
42
44
|
export default _default;
|
|
43
|
-
type __VLS_PrettifyLocal<T> = {
|
|
45
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
44
46
|
[K in keyof T]: T[K];
|
|
45
|
-
}
|
|
47
|
+
} : {
|
|
48
|
+
[K in keyof T as K]: T[K];
|
|
49
|
+
}) & {};
|
|
@@ -5,12 +5,13 @@ export interface Props {
|
|
|
5
5
|
label?: string;
|
|
6
6
|
required?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare var
|
|
8
|
+
declare var __VLS_12: string, __VLS_13: any;
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
|
-
[K in NonNullable<typeof
|
|
10
|
+
[K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const
|
|
13
|
-
declare const
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
14
15
|
export default _default;
|
|
15
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
16
17
|
new (): {
|
|
@@ -4,14 +4,15 @@ export interface Props {
|
|
|
4
4
|
label?: string;
|
|
5
5
|
field?: FormItems;
|
|
6
6
|
}
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_14: {}, __VLS_40: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
avatar?: (props: typeof
|
|
9
|
+
avatar?: (props: typeof __VLS_14) => any;
|
|
10
10
|
} & {
|
|
11
|
-
side?: (props: typeof
|
|
11
|
+
side?: (props: typeof __VLS_40) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const
|
|
14
|
-
declare const
|
|
13
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
|
16
17
|
type __VLS_WithSlots<T, S> = T & {
|
|
17
18
|
new (): {
|
|
@@ -2,5 +2,6 @@ import type { Gender } from './GenderSelect.vue';
|
|
|
2
2
|
export interface Props {
|
|
3
3
|
modelValue: Gender;
|
|
4
4
|
}
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
6
7
|
export default _default;
|
|
@@ -4,9 +4,10 @@ export interface Props {
|
|
|
4
4
|
disableOther?: boolean;
|
|
5
5
|
required?: boolean;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
"update:modelValue": (...args: any[]) => void;
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
12
13
|
export default _default;
|
|
@@ -7,5 +7,10 @@ export interface Props {
|
|
|
7
7
|
}[];
|
|
8
8
|
isItem?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (...args: any[]) => void;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
11
16
|
export default _default;
|
|
@@ -4,9 +4,10 @@ export interface Props {
|
|
|
4
4
|
country?: PostalCodeCountries;
|
|
5
5
|
required?: boolean;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
"update:modelValue": (...args: any[]) => void;
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
12
13
|
export default _default;
|
|
@@ -2,9 +2,10 @@ export interface Props {
|
|
|
2
2
|
modelValue: string;
|
|
3
3
|
required?: boolean;
|
|
4
4
|
}
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
"update:modelValue": (...args: any[]) => void;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
8
8
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
9
9
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
10
11
|
export default _default;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
declare var
|
|
1
|
+
declare var __VLS_8: {};
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof
|
|
3
|
+
default?: (props: typeof __VLS_8) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -10,5 +10,10 @@ export interface Props {
|
|
|
10
10
|
isoName: keyof FormLanguage['languages'];
|
|
11
11
|
}[];
|
|
12
12
|
}
|
|
13
|
-
declare const
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (...args: any[]) => void;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
14
19
|
export default _default;
|
|
@@ -2,7 +2,9 @@ import { QCardActionsProps } from 'quasar';
|
|
|
2
2
|
export interface Props {
|
|
3
3
|
actions?: QCardActionsProps;
|
|
4
4
|
}
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
6
8
|
variables: import("vue").Ref<{}, {}>;
|
|
7
9
|
functions: import("vue").Ref<{}, {}>;
|
|
8
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
@@ -16,7 +18,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
|
16
18
|
} & {
|
|
17
19
|
actions?: (props: {}) => any;
|
|
18
20
|
}>;
|
|
19
|
-
export default _default;
|
|
20
21
|
type __VLS_WithSlots<T, S> = T & {
|
|
21
22
|
new (): {
|
|
22
23
|
$slots: S;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
export interface Props {
|
|
2
2
|
title: string;
|
|
3
3
|
}
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: typeof __VLS_export;
|
|
5
|
+
export default _default;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
5
7
|
variables: import("vue").Ref<{}, {}>;
|
|
6
8
|
functions: import("vue").Ref<{}, {}>;
|
|
7
9
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
8
10
|
leftDrawerItems?: (props: {}) => any;
|
|
9
11
|
}>;
|
|
10
|
-
export default _default;
|
|
11
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
12
13
|
new (): {
|
|
13
14
|
$slots: S;
|
|
@@ -5,7 +5,9 @@ export interface Props {
|
|
|
5
5
|
isNextButton?: boolean;
|
|
6
6
|
color?: string;
|
|
7
7
|
}
|
|
8
|
-
declare const _default:
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
11
|
submit: (args_0: {
|
|
10
12
|
value?: string;
|
|
11
13
|
done: () => void;
|
|
@@ -22,7 +24,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {},
|
|
|
22
24
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
23
25
|
default?: (props: {}) => any;
|
|
24
26
|
}>;
|
|
25
|
-
export default _default;
|
|
26
27
|
type __VLS_WithSlots<T, S> = T & {
|
|
27
28
|
new (): {
|
|
28
29
|
$slots: S;
|
|
@@ -8,7 +8,9 @@ export interface Props {
|
|
|
8
8
|
edit: string;
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
-
declare const _default:
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
12
14
|
update: (args_0: {
|
|
13
15
|
data?: unknown;
|
|
14
16
|
done: (success?: boolean) => void;
|
|
@@ -46,7 +48,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {},
|
|
|
46
48
|
} & {
|
|
47
49
|
'header-side'?: (props: {}) => any;
|
|
48
50
|
}>;
|
|
49
|
-
export default _default;
|
|
50
51
|
type __VLS_WithSlots<T, S> = T & {
|
|
51
52
|
new (): {
|
|
52
53
|
$slots: S;
|
|
@@ -6,7 +6,9 @@ export interface Props {
|
|
|
6
6
|
close: string;
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
|
-
declare const _default:
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
10
12
|
variables: import("vue").Ref<{}, {}>;
|
|
11
13
|
functions: import("vue").Ref<{
|
|
12
14
|
open: () => void | undefined;
|
|
@@ -39,7 +41,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
|
39
41
|
} & {
|
|
40
42
|
default?: (props: {}) => any;
|
|
41
43
|
}>;
|
|
42
|
-
export default _default;
|
|
43
44
|
type __VLS_WithSlots<T, S> = T & {
|
|
44
45
|
new (): {
|
|
45
46
|
$slots: S;
|
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
ready?: boolean;
|
|
3
3
|
}
|
|
4
|
-
declare var
|
|
4
|
+
declare var __VLS_27: {}, __VLS_49: {
|
|
5
5
|
showSticky: boolean;
|
|
6
|
-
},
|
|
6
|
+
}, __VLS_51: {}, __VLS_53: {}, __VLS_61: {}, __VLS_74: {
|
|
7
7
|
showSticky: boolean;
|
|
8
8
|
};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
|
-
'header-toolbar'?: (props: typeof
|
|
10
|
+
'header-toolbar'?: (props: typeof __VLS_27) => any;
|
|
11
11
|
} & {
|
|
12
|
-
fabs?: (props: typeof
|
|
12
|
+
fabs?: (props: typeof __VLS_49) => any;
|
|
13
13
|
} & {
|
|
14
|
-
'drawer-mini-navigation'?: (props: typeof
|
|
14
|
+
'drawer-mini-navigation'?: (props: typeof __VLS_51) => any;
|
|
15
15
|
} & {
|
|
16
|
-
drawer?: (props: typeof
|
|
16
|
+
drawer?: (props: typeof __VLS_53) => any;
|
|
17
17
|
} & {
|
|
18
|
-
footer?: (props: typeof
|
|
18
|
+
footer?: (props: typeof __VLS_61) => any;
|
|
19
19
|
} & {
|
|
20
|
-
fabs?: (props: typeof
|
|
20
|
+
fabs?: (props: typeof __VLS_74) => any;
|
|
21
21
|
};
|
|
22
|
-
declare const
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
23
23
|
ready: boolean;
|
|
24
24
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
-
declare const
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
26
27
|
export default _default;
|
|
27
28
|
type __VLS_WithSlots<T, S> = T & {
|
|
28
29
|
new (): {
|
|
@@ -11,5 +11,6 @@ interface Props {
|
|
|
11
11
|
edit: string;
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
|
-
declare const
|
|
14
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
package/dist/vite-plugin.js
CHANGED
|
@@ -37,6 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
37
37
|
import { promises } from 'fs';
|
|
38
38
|
import { Icon, FlagIcon } from './virtualModules.js';
|
|
39
39
|
var readFile = promises.readFile;
|
|
40
|
+
import { fileURLToPath } from 'node:url';
|
|
40
41
|
export default function () {
|
|
41
42
|
return __awaiter(this, arguments, void 0, function (_a) {
|
|
42
43
|
var pkgJson, _b, _c, exports, name;
|
|
@@ -45,7 +46,7 @@ export default function () {
|
|
|
45
46
|
switch (_e.label) {
|
|
46
47
|
case 0:
|
|
47
48
|
_c = (_b = JSON).parse;
|
|
48
|
-
return [4 /*yield*/, readFile(new URL('../package.json', import.meta.url)
|
|
49
|
+
return [4 /*yield*/, readFile(fileURLToPath(new URL('../package.json', import.meta.url)), 'utf-8')];
|
|
49
50
|
case 1:
|
|
50
51
|
pkgJson = _c.apply(_b, [_e.sent()]);
|
|
51
52
|
exports = pkgJson.exports;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simsustech/quasar-components",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.24",
|
|
4
4
|
"author": "Stefan van Herwijnen",
|
|
5
5
|
"description": "High level components for Quasar Framework",
|
|
6
6
|
"license": "MIT",
|
|
@@ -51,39 +51,39 @@
|
|
|
51
51
|
},
|
|
52
52
|
"bugs": "https://github.com/simsusech/quasar-components/issues",
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@vueuse/core": "^
|
|
55
|
-
"validator": "^13.15.
|
|
54
|
+
"@vueuse/core": "^14.1.0",
|
|
55
|
+
"validator": "^13.15.26"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"quasar": "^2.18.
|
|
58
|
+
"quasar": "^2.18.6"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@iconify-json/flagpack": "^1.2.
|
|
62
|
-
"@types/node": "^
|
|
63
|
-
"@types/validator": "^13.15.
|
|
61
|
+
"@iconify-json/flagpack": "^1.2.7",
|
|
62
|
+
"@types/node": "^25.1.0",
|
|
63
|
+
"@types/validator": "^13.15.10",
|
|
64
64
|
"@types/ws": "^8.18.1",
|
|
65
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
66
|
-
"@typescript-eslint/parser": "^8.
|
|
67
|
-
"@vitejs/plugin-vue": "^
|
|
68
|
-
"@vue/server-renderer": "^3.5.
|
|
69
|
-
"eslint": "^9.
|
|
70
|
-
"eslint-config-prettier": "^10.1.
|
|
71
|
-
"eslint-plugin-prettier": "^5.
|
|
65
|
+
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
|
66
|
+
"@typescript-eslint/parser": "^8.54.0",
|
|
67
|
+
"@vitejs/plugin-vue": "^6.0.3",
|
|
68
|
+
"@vue/server-renderer": "^3.5.27",
|
|
69
|
+
"eslint": "^9.39.2",
|
|
70
|
+
"eslint-config-prettier": "^10.1.8",
|
|
71
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
72
72
|
"eslint-plugin-prettier-vue": "^5.0.0",
|
|
73
|
-
"eslint-plugin-vue": "^10.
|
|
74
|
-
"glob": "^
|
|
75
|
-
"local-pkg": "^1.1.
|
|
76
|
-
"prettier": "^3.
|
|
77
|
-
"quasar": "^2.18.
|
|
78
|
-
"rimraf": "^6.
|
|
79
|
-
"typescript": "5.
|
|
80
|
-
"typescript-eslint": "^8.
|
|
81
|
-
"unplugin-vue-components": "^
|
|
82
|
-
"vite": "^
|
|
83
|
-
"vue": "^3.5.
|
|
84
|
-
"vue-eslint-parser": "^10.
|
|
85
|
-
"vue-router": "^4.
|
|
86
|
-
"vue-tsc": "^
|
|
73
|
+
"eslint-plugin-vue": "^10.7.0",
|
|
74
|
+
"glob": "^13.0.0",
|
|
75
|
+
"local-pkg": "^1.1.2",
|
|
76
|
+
"prettier": "^3.8.1",
|
|
77
|
+
"quasar": "^2.18.6",
|
|
78
|
+
"rimraf": "^6.1.2",
|
|
79
|
+
"typescript": "5.9.3",
|
|
80
|
+
"typescript-eslint": "^8.54.0",
|
|
81
|
+
"unplugin-vue-components": "^31.0.0",
|
|
82
|
+
"vite": "^7.3.1",
|
|
83
|
+
"vue": "^3.5.27",
|
|
84
|
+
"vue-eslint-parser": "^10.2.0",
|
|
85
|
+
"vue-router": "^4.6.4",
|
|
86
|
+
"vue-tsc": "^3.2.4"
|
|
87
87
|
},
|
|
88
88
|
"scripts": {
|
|
89
89
|
"build:plugin": "vite build",
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
:filled="false"
|
|
7
7
|
emit-value
|
|
8
8
|
map-options
|
|
9
|
+
@input="emit('update:modelValue', $event.target.value)"
|
|
9
10
|
>
|
|
10
11
|
<template #selected-item="scope">
|
|
11
12
|
<q-item v-if="scope.opt && isItem">
|
|
@@ -52,6 +53,7 @@ export interface Props {
|
|
|
52
53
|
isItem?: boolean
|
|
53
54
|
}
|
|
54
55
|
const props = defineProps<Props>()
|
|
56
|
+
const emit = defineEmits(['update:modelValue'])
|
|
55
57
|
const { modelValue, locales } = toRefs(props)
|
|
56
58
|
|
|
57
59
|
const lang = useLang()
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<locale-select
|
|
3
3
|
:model-value="modelValue"
|
|
4
4
|
:locales="locales"
|
|
5
|
-
@update:model-value="(val) =>
|
|
5
|
+
@update:model-value="(val) => emit('update:modelValue', val)"
|
|
6
6
|
/>
|
|
7
7
|
</template>
|
|
8
8
|
|
|
@@ -24,6 +24,8 @@ export interface Props {
|
|
|
24
24
|
}[]
|
|
25
25
|
}
|
|
26
26
|
const props = defineProps<Props>()
|
|
27
|
+
const emit = defineEmits(['update:modelValue'])
|
|
28
|
+
|
|
27
29
|
const { modelValue, languageImports, locales } = toRefs(props)
|
|
28
30
|
|
|
29
31
|
const $q = useQuasar()
|
package/src/vite-plugin.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { Plugin } from 'vite'
|
|
|
2
2
|
import { promises } from 'fs'
|
|
3
3
|
import { Icon, FlagIcon } from './virtualModules.js'
|
|
4
4
|
const { readFile } = promises
|
|
5
|
+
import { fileURLToPath } from 'node:url'
|
|
5
6
|
|
|
6
7
|
export default async function ({
|
|
7
8
|
buildFromSrc
|
|
@@ -10,7 +11,7 @@ export default async function ({
|
|
|
10
11
|
} = {}): Promise<Plugin> {
|
|
11
12
|
const pkgJson = JSON.parse(
|
|
12
13
|
await readFile(
|
|
13
|
-
new URL('../package.json', import.meta.url)
|
|
14
|
+
fileURLToPath(new URL('../package.json', import.meta.url)),
|
|
14
15
|
'utf-8'
|
|
15
16
|
)
|
|
16
17
|
)
|