pukaad-ui-lib 1.99.0 → 1.101.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/dist/module.json +1 -1
- package/dist/module.mjs +1 -0
- package/dist/runtime/components/card/card-profile-header.d.vue.ts +1 -1
- package/dist/runtime/components/card/card-profile-header.vue.d.ts +1 -1
- package/dist/runtime/components/dialog/dialog-email-OTP.d.vue.ts +2 -2
- package/dist/runtime/components/dialog/dialog-email-OTP.vue.d.ts +2 -2
- package/dist/runtime/components/dialog/dialog-phone-OTP.d.vue.ts +2 -2
- package/dist/runtime/components/dialog/dialog-phone-OTP.vue.d.ts +2 -2
- package/dist/runtime/components/image/image-cropper.d.vue.ts +2 -2
- package/dist/runtime/components/image/image-cropper.vue.d.ts +2 -2
- package/dist/runtime/components/input/input-autocomplete.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-autocomplete.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-date-picker.vue +1 -1
- package/dist/runtime/components/input/input-tag.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-tag.vue.d.ts +1 -1
- package/dist/runtime/components/modal/modal-account-disabled-alert.d.vue.ts +2 -2
- package/dist/runtime/components/modal/modal-account-disabled-alert.vue.d.ts +2 -2
- package/dist/runtime/components/modal/modal-account-disabled-confirmed.d.vue.ts +2 -2
- package/dist/runtime/components/modal/modal-account-disabled-confirmed.vue.d.ts +2 -2
- package/dist/runtime/components/modal/modal-account-disabled-reason.d.vue.ts +2 -2
- package/dist/runtime/components/modal/modal-account-disabled-reason.vue.d.ts +2 -2
- package/dist/runtime/components/modal/modal-password-confirmed.d.vue.ts +2 -2
- package/dist/runtime/components/modal/modal-password-confirmed.vue.d.ts +2 -2
- package/dist/runtime/components/modal/modal-password-new.d.vue.ts +2 -2
- package/dist/runtime/components/modal/modal-password-new.vue.d.ts +2 -2
- package/dist/runtime/components/modal/modal-phone-OTP.d.vue.ts +2 -2
- package/dist/runtime/components/modal/modal-phone-OTP.vue.d.ts +2 -2
- package/dist/runtime/components/modal/modal-review-detail.d.vue.ts +1 -1
- package/dist/runtime/components/modal/modal-review-detail.vue.d.ts +1 -1
- package/dist/runtime/composables/useConvert.js +1 -1
- package/dist/runtime/plugins/dayjs.d.ts +1 -2
- package/dist/runtime/plugins/dayjs.js +1 -11
- package/dist/runtime/plugins/dayjs.plugin.d.ts +7 -0
- package/dist/runtime/plugins/dayjs.plugin.js +9 -0
- package/dist/runtime/utils/dayjs.d.ts +3 -0
- package/dist/runtime/utils/dayjs.js +12 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -73,6 +73,7 @@ const module$1 = defineNuxtModule({
|
|
|
73
73
|
addPlugin(resolver.resolve("./runtime/plugins/toast"));
|
|
74
74
|
addPlugin(resolver.resolve("./runtime/plugins/quill.client"));
|
|
75
75
|
addPlugin(resolver.resolve("./runtime/plugins/convert.client"));
|
|
76
|
+
addPlugin(resolver.resolve("./runtime/plugins/dayjs.plugin"));
|
|
76
77
|
_nuxt.hook("nitro:config", (nitroConfig) => {
|
|
77
78
|
nitroConfig.publicAssets ||= [];
|
|
78
79
|
nitroConfig.publicAssets.push({
|
|
@@ -7,9 +7,9 @@ declare const __VLS_export: import("vue").DefineComponent<CardProfileAboutProps,
|
|
|
7
7
|
onChat?: (() => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
9
|
type: "article" | "media" | "sale-info";
|
|
10
|
-
preview: boolean;
|
|
11
10
|
optionMenuButtonType: "solid" | "text";
|
|
12
11
|
actionsHidden: boolean;
|
|
12
|
+
preview: boolean;
|
|
13
13
|
disabledPadding: boolean;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
@@ -7,9 +7,9 @@ declare const __VLS_export: import("vue").DefineComponent<CardProfileAboutProps,
|
|
|
7
7
|
onChat?: (() => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
9
|
type: "article" | "media" | "sale-info";
|
|
10
|
-
preview: boolean;
|
|
11
10
|
optionMenuButtonType: "solid" | "text";
|
|
12
11
|
actionsHidden: boolean;
|
|
12
|
+
preview: boolean;
|
|
13
13
|
disabledPadding: boolean;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
@@ -7,12 +7,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
7
7
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
"update:modelValue": (value: boolean) => any;
|
|
9
9
|
} & {
|
|
10
|
-
close: () => any;
|
|
11
10
|
complete: () => any;
|
|
11
|
+
close: () => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
13
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
14
|
-
onClose?: (() => any) | undefined;
|
|
15
14
|
onComplete?: (() => any) | undefined;
|
|
15
|
+
onClose?: (() => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
confirmedText: string;
|
|
18
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -7,12 +7,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
7
7
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
"update:modelValue": (value: boolean) => any;
|
|
9
9
|
} & {
|
|
10
|
-
close: () => any;
|
|
11
10
|
complete: () => any;
|
|
11
|
+
close: () => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
13
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
14
|
-
onClose?: (() => any) | undefined;
|
|
15
14
|
onComplete?: (() => any) | undefined;
|
|
15
|
+
onClose?: (() => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
confirmedText: string;
|
|
18
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -7,12 +7,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
7
7
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
"update:modelValue": (value: boolean) => any;
|
|
9
9
|
} & {
|
|
10
|
-
close: () => any;
|
|
11
10
|
complete: (value: string) => any;
|
|
11
|
+
close: () => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
13
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
14
|
-
onClose?: (() => any) | undefined;
|
|
15
14
|
onComplete?: ((value: string) => any) | undefined;
|
|
15
|
+
onClose?: (() => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
phone: string;
|
|
18
18
|
confirmedText: string;
|
|
@@ -7,12 +7,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
7
7
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
"update:modelValue": (value: boolean) => any;
|
|
9
9
|
} & {
|
|
10
|
-
close: () => any;
|
|
11
10
|
complete: (value: string) => any;
|
|
11
|
+
close: () => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
13
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
14
|
-
onClose?: (() => any) | undefined;
|
|
15
14
|
onComplete?: ((value: string) => any) | undefined;
|
|
15
|
+
onClose?: (() => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
phone: string;
|
|
18
18
|
confirmedText: string;
|
|
@@ -64,15 +64,15 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
|
|
|
64
64
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageCropperProps> & Readonly<{}>, {
|
|
65
65
|
src: string;
|
|
66
66
|
center: boolean;
|
|
67
|
+
background: boolean;
|
|
68
|
+
modal: boolean;
|
|
67
69
|
responsive: boolean;
|
|
68
70
|
restore: boolean;
|
|
69
71
|
checkCrossOrigin: boolean;
|
|
70
72
|
checkOrientation: boolean;
|
|
71
73
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
72
|
-
modal: boolean;
|
|
73
74
|
guides: boolean;
|
|
74
75
|
highlight: boolean;
|
|
75
|
-
background: boolean;
|
|
76
76
|
autoCrop: boolean;
|
|
77
77
|
movable: boolean;
|
|
78
78
|
rotatable: boolean;
|
|
@@ -64,15 +64,15 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
|
|
|
64
64
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageCropperProps> & Readonly<{}>, {
|
|
65
65
|
src: string;
|
|
66
66
|
center: boolean;
|
|
67
|
+
background: boolean;
|
|
68
|
+
modal: boolean;
|
|
67
69
|
responsive: boolean;
|
|
68
70
|
restore: boolean;
|
|
69
71
|
checkCrossOrigin: boolean;
|
|
70
72
|
checkOrientation: boolean;
|
|
71
73
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
72
|
-
modal: boolean;
|
|
73
74
|
guides: boolean;
|
|
74
75
|
highlight: boolean;
|
|
75
|
-
background: boolean;
|
|
76
76
|
autoCrop: boolean;
|
|
77
77
|
movable: boolean;
|
|
78
78
|
rotatable: boolean;
|
|
@@ -35,10 +35,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
35
35
|
required: boolean;
|
|
36
36
|
id: string;
|
|
37
37
|
name: string;
|
|
38
|
-
limit: number;
|
|
39
38
|
description: string;
|
|
40
39
|
options: AutocompleteOption[] | string[] | number[];
|
|
41
40
|
placeholder: string;
|
|
41
|
+
limit: number;
|
|
42
42
|
disabledErrorMessage: boolean;
|
|
43
43
|
disabledBorder: boolean;
|
|
44
44
|
showCounter: boolean;
|
|
@@ -35,10 +35,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
35
35
|
required: boolean;
|
|
36
36
|
id: string;
|
|
37
37
|
name: string;
|
|
38
|
-
limit: number;
|
|
39
38
|
description: string;
|
|
40
39
|
options: AutocompleteOption[] | string[] | number[];
|
|
41
40
|
placeholder: string;
|
|
41
|
+
limit: number;
|
|
42
42
|
disabledErrorMessage: boolean;
|
|
43
43
|
disabledBorder: boolean;
|
|
44
44
|
showCounter: boolean;
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
<script setup>
|
|
107
107
|
import { computed, ref } from "vue";
|
|
108
108
|
import { CalendarDate, getLocalTimeZone } from "@internationalized/date";
|
|
109
|
-
import dayjs from "dayjs";
|
|
109
|
+
import dayjs from "@/runtime/utils/dayjs";
|
|
110
110
|
import { cn } from "@/runtime/plugins/shadcn";
|
|
111
111
|
import { Button } from "@/runtime/components/ui/button";
|
|
112
112
|
import { Calendar } from "@/runtime/components/ui/calendar";
|
|
@@ -18,8 +18,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
18
18
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
20
|
name: string;
|
|
21
|
-
limit: number;
|
|
22
21
|
placeholder: string;
|
|
22
|
+
limit: number;
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
25
25
|
export default _default;
|
|
@@ -18,8 +18,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
18
18
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
20
|
name: string;
|
|
21
|
-
limit: number;
|
|
22
21
|
placeholder: string;
|
|
22
|
+
limit: number;
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
25
25
|
export default _default;
|
|
@@ -8,12 +8,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
8
8
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
"update:modelValue": (value: boolean) => any;
|
|
10
10
|
} & {
|
|
11
|
-
close: () => any;
|
|
12
11
|
complete: () => any;
|
|
12
|
+
close: () => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
15
|
-
onClose?: (() => any) | undefined;
|
|
16
15
|
onComplete?: (() => any) | undefined;
|
|
16
|
+
onClose?: (() => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
confirmedText: string;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -8,12 +8,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
8
8
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
"update:modelValue": (value: boolean) => any;
|
|
10
10
|
} & {
|
|
11
|
-
close: () => any;
|
|
12
11
|
complete: () => any;
|
|
12
|
+
close: () => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
15
|
-
onClose?: (() => any) | undefined;
|
|
16
15
|
onComplete?: (() => any) | undefined;
|
|
16
|
+
onClose?: (() => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
confirmedText: string;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -8,12 +8,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
8
8
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
"update:modelValue": (value: boolean) => any;
|
|
10
10
|
} & {
|
|
11
|
-
close: () => any;
|
|
12
11
|
complete: () => any;
|
|
12
|
+
close: () => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
15
|
-
onClose?: (() => any) | undefined;
|
|
16
15
|
onComplete?: (() => any) | undefined;
|
|
16
|
+
onClose?: (() => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
confirmedText: string;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -8,12 +8,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
8
8
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
"update:modelValue": (value: boolean) => any;
|
|
10
10
|
} & {
|
|
11
|
-
close: () => any;
|
|
12
11
|
complete: () => any;
|
|
12
|
+
close: () => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
15
|
-
onClose?: (() => any) | undefined;
|
|
16
15
|
onComplete?: (() => any) | undefined;
|
|
16
|
+
onClose?: (() => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
confirmedText: string;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -8,12 +8,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
8
8
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
"update:modelValue": (value: boolean) => any;
|
|
10
10
|
} & {
|
|
11
|
-
close: () => any;
|
|
12
11
|
complete: () => any;
|
|
12
|
+
close: () => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
15
|
-
onClose?: (() => any) | undefined;
|
|
16
15
|
onComplete?: (() => any) | undefined;
|
|
16
|
+
onClose?: (() => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
confirmedText: string;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -8,12 +8,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
8
8
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
"update:modelValue": (value: boolean) => any;
|
|
10
10
|
} & {
|
|
11
|
-
close: () => any;
|
|
12
11
|
complete: () => any;
|
|
12
|
+
close: () => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
15
|
-
onClose?: (() => any) | undefined;
|
|
16
15
|
onComplete?: (() => any) | undefined;
|
|
16
|
+
onClose?: (() => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
confirmedText: string;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -12,16 +12,16 @@ type __VLS_ModelProps = {
|
|
|
12
12
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
13
13
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
14
|
"update:modelValue": (value: boolean) => any;
|
|
15
|
-
close: () => any;
|
|
16
15
|
complete: (data: {
|
|
17
16
|
secId: string;
|
|
18
17
|
}) => any;
|
|
18
|
+
close: () => any;
|
|
19
19
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
20
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
21
|
-
onClose?: (() => any) | undefined;
|
|
22
21
|
onComplete?: ((data: {
|
|
23
22
|
secId: string;
|
|
24
23
|
}) => any) | undefined;
|
|
24
|
+
onClose?: (() => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
title: string;
|
|
27
27
|
disabledForgotPassword: boolean;
|
|
@@ -12,16 +12,16 @@ type __VLS_ModelProps = {
|
|
|
12
12
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
13
13
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
14
|
"update:modelValue": (value: boolean) => any;
|
|
15
|
-
close: () => any;
|
|
16
15
|
complete: (data: {
|
|
17
16
|
secId: string;
|
|
18
17
|
}) => any;
|
|
18
|
+
close: () => any;
|
|
19
19
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
20
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
21
|
-
onClose?: (() => any) | undefined;
|
|
22
21
|
onComplete?: ((data: {
|
|
23
22
|
secId: string;
|
|
24
23
|
}) => any) | undefined;
|
|
24
|
+
onClose?: (() => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
title: string;
|
|
27
27
|
disabledForgotPassword: boolean;
|
|
@@ -11,16 +11,16 @@ type __VLS_ModelProps = {
|
|
|
11
11
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
12
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
13
|
"update:modelValue": (value: boolean) => any;
|
|
14
|
-
close: () => any;
|
|
15
14
|
complete: (data: {
|
|
16
15
|
secId: string;
|
|
17
16
|
}) => any;
|
|
17
|
+
close: () => any;
|
|
18
18
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
19
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
20
|
-
onClose?: (() => any) | undefined;
|
|
21
20
|
onComplete?: ((data: {
|
|
22
21
|
secId: string;
|
|
23
22
|
}) => any) | undefined;
|
|
23
|
+
onClose?: (() => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
title: string;
|
|
26
26
|
confirmText: string;
|
|
@@ -11,16 +11,16 @@ type __VLS_ModelProps = {
|
|
|
11
11
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
12
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
13
|
"update:modelValue": (value: boolean) => any;
|
|
14
|
-
close: () => any;
|
|
15
14
|
complete: (data: {
|
|
16
15
|
secId: string;
|
|
17
16
|
}) => any;
|
|
17
|
+
close: () => any;
|
|
18
18
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
19
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
20
|
-
onClose?: (() => any) | undefined;
|
|
21
20
|
onComplete?: ((data: {
|
|
22
21
|
secId: string;
|
|
23
22
|
}) => any) | undefined;
|
|
23
|
+
onClose?: (() => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
title: string;
|
|
26
26
|
confirmText: string;
|
|
@@ -7,12 +7,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
7
7
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
"update:modelValue": (value: boolean) => any;
|
|
9
9
|
} & {
|
|
10
|
-
close: () => any;
|
|
11
10
|
complete: (value: string) => any;
|
|
11
|
+
close: () => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
13
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
14
|
-
onClose?: (() => any) | undefined;
|
|
15
14
|
onComplete?: ((value: string) => any) | undefined;
|
|
15
|
+
onClose?: (() => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
phone: string;
|
|
18
18
|
confirmedText: string;
|
|
@@ -7,12 +7,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
7
7
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
"update:modelValue": (value: boolean) => any;
|
|
9
9
|
} & {
|
|
10
|
-
close: () => any;
|
|
11
10
|
complete: (value: string) => any;
|
|
11
|
+
close: () => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
13
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
14
|
-
onClose?: (() => any) | undefined;
|
|
15
14
|
onComplete?: ((value: string) => any) | undefined;
|
|
15
|
+
onClose?: (() => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
phone: string;
|
|
18
18
|
confirmedText: string;
|
|
@@ -14,8 +14,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
14
14
|
items: string[];
|
|
15
15
|
selectIndex: number;
|
|
16
16
|
title: string;
|
|
17
|
-
review: import("../../../types/components/card/card-review.js").CardReviewProps;
|
|
18
17
|
isProfile: boolean;
|
|
18
|
+
review: import("../../../types/components/card/card-review.js").CardReviewProps;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
21
21
|
export default _default;
|
|
@@ -14,8 +14,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
14
14
|
items: string[];
|
|
15
15
|
selectIndex: number;
|
|
16
16
|
title: string;
|
|
17
|
-
review: import("../../../types/components/card/card-review.js").CardReviewProps;
|
|
18
17
|
isProfile: boolean;
|
|
18
|
+
review: import("../../../types/components/card/card-review.js").CardReviewProps;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
21
21
|
export default _default;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
import { defineNuxtPlugin } from "nuxt/app";
|
|
2
|
-
import dayjs from "dayjs";
|
|
3
|
-
import buddhistEra from "dayjs/plugin/buddhistEra";
|
|
4
|
-
import minMax from "dayjs/plugin/minMax";
|
|
5
|
-
import updateLocale from "dayjs/plugin/updateLocale";
|
|
6
|
-
import duration from "dayjs/plugin/duration";
|
|
7
|
-
import "dayjs/locale/th";
|
|
2
|
+
import dayjs from "../utils/dayjs.js";
|
|
8
3
|
export default defineNuxtPlugin(() => {
|
|
9
|
-
dayjs.extend(updateLocale);
|
|
10
|
-
dayjs.extend(buddhistEra);
|
|
11
|
-
dayjs.extend(minMax);
|
|
12
|
-
dayjs.extend(duration);
|
|
13
|
-
dayjs.locale("th");
|
|
14
4
|
return {
|
|
15
5
|
provide: {
|
|
16
6
|
dayjs
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import dayjs from "dayjs";
|
|
2
|
+
import buddhistEra from "dayjs/plugin/buddhistEra";
|
|
3
|
+
import minMax from "dayjs/plugin/minMax";
|
|
4
|
+
import updateLocale from "dayjs/plugin/updateLocale";
|
|
5
|
+
import duration from "dayjs/plugin/duration";
|
|
6
|
+
import "dayjs/locale/th";
|
|
7
|
+
dayjs.extend(updateLocale);
|
|
8
|
+
dayjs.extend(buddhistEra);
|
|
9
|
+
dayjs.extend(minMax);
|
|
10
|
+
dayjs.extend(duration);
|
|
11
|
+
dayjs.locale("th");
|
|
12
|
+
export default dayjs;
|