@unsource/ui 2.8.7 → 2.8.8
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/UnFormItem.vue +1 -1
- package/dist/runtime/components/UnFormList.d.vue.ts +1 -1
- package/dist/runtime/components/UnFormList.vue.d.ts +1 -1
- package/dist/runtime/components/UnInput.d.vue.ts +1 -1
- package/dist/runtime/components/UnInput.vue +1 -1
- package/dist/runtime/components/UnInput.vue.d.ts +1 -1
- package/dist/runtime/components/UnNormalInput.d.vue.ts +1 -1
- package/dist/runtime/components/UnNormalInput.vue.d.ts +1 -1
- package/dist/runtime/components/UnUploadFile.d.vue.ts +2 -2
- package/dist/runtime/components/UnUploadFile.vue.d.ts +2 -2
- package/dist/runtime/composables/global.d.ts +1 -42
- package/dist/runtime/composables/global.js +5 -4
- package/dist/runtime/composables/reuseable.d.ts +5 -5
- package/dist/runtime/composables/services.d.ts +2 -2
- package/dist/runtime/plugins/toast.client.d.ts +16 -16
- package/dist/runtime/types/models.d.ts +189 -406
- package/package.json +3 -3
package/dist/module.json
CHANGED
|
@@ -116,7 +116,7 @@ import { computed } from "#imports";
|
|
|
116
116
|
import UnLocationInput from "./UnLocationInput.vue";
|
|
117
117
|
const emit = defineEmits(["update:modelValue"]);
|
|
118
118
|
const { item, options, required, isError } = defineProps({
|
|
119
|
-
item: { type:
|
|
119
|
+
item: { type: null, required: true },
|
|
120
120
|
options: { type: Array, required: true },
|
|
121
121
|
required: { type: Boolean, required: false },
|
|
122
122
|
isError: { type: Boolean, required: false }
|
|
@@ -10,7 +10,7 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
10
10
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
11
11
|
schema: import("vue").ComputedRef<{
|
|
12
12
|
type: string;
|
|
13
|
-
properties:
|
|
13
|
+
properties: Form;
|
|
14
14
|
required: string[];
|
|
15
15
|
}>;
|
|
16
16
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -10,7 +10,7 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
10
10
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
11
11
|
schema: import("vue").ComputedRef<{
|
|
12
12
|
type: string;
|
|
13
|
-
properties:
|
|
13
|
+
properties: Form;
|
|
14
14
|
required: string[];
|
|
15
15
|
}>;
|
|
16
16
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -30,7 +30,7 @@ import numeral from "numeral";
|
|
|
30
30
|
const { Type, Input } = defineProps({
|
|
31
31
|
disabled: { type: Boolean, required: false },
|
|
32
32
|
Input: { type: Object, required: false },
|
|
33
|
-
Type: { type:
|
|
33
|
+
Type: { type: null, required: false },
|
|
34
34
|
isError: { type: Boolean, required: false },
|
|
35
35
|
index: { type: Number, required: false }
|
|
36
36
|
});
|
|
@@ -27,13 +27,13 @@ type __VLS_ModelProps = {
|
|
|
27
27
|
};
|
|
28
28
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
29
29
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {
|
|
30
|
-
date: boolean;
|
|
31
30
|
password: boolean;
|
|
32
31
|
appendIcon: string;
|
|
33
32
|
label: string;
|
|
34
33
|
disabled: boolean;
|
|
35
34
|
inputType: string;
|
|
36
35
|
placeholder: string;
|
|
36
|
+
date: boolean;
|
|
37
37
|
focusable: boolean;
|
|
38
38
|
className: string;
|
|
39
39
|
valueClassName: string;
|
|
@@ -27,13 +27,13 @@ type __VLS_ModelProps = {
|
|
|
27
27
|
};
|
|
28
28
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
29
29
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {
|
|
30
|
-
date: boolean;
|
|
31
30
|
password: boolean;
|
|
32
31
|
appendIcon: string;
|
|
33
32
|
label: string;
|
|
34
33
|
disabled: boolean;
|
|
35
34
|
inputType: string;
|
|
36
35
|
placeholder: string;
|
|
36
|
+
date: boolean;
|
|
37
37
|
focusable: boolean;
|
|
38
38
|
className: string;
|
|
39
39
|
valueClassName: string;
|
|
@@ -6,8 +6,8 @@ type __VLS_WithSlots<T, S> = T & (new () => {
|
|
|
6
6
|
});
|
|
7
7
|
declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
8
8
|
$props: Partial<typeof props>;
|
|
9
|
-
icon: string;
|
|
10
9
|
label: string;
|
|
10
|
+
icon: string;
|
|
11
11
|
disabled: boolean;
|
|
12
12
|
accept: string;
|
|
13
13
|
edit: boolean;
|
|
@@ -16,8 +16,8 @@ type __VLS_Slots = {
|
|
|
16
16
|
icon?: ((props: {}) => any) | undefined;
|
|
17
17
|
};
|
|
18
18
|
declare const props: {
|
|
19
|
-
readonly icon: string;
|
|
20
19
|
readonly label: string;
|
|
20
|
+
readonly icon: string;
|
|
21
21
|
readonly disabled: boolean;
|
|
22
22
|
readonly accept: string;
|
|
23
23
|
readonly edit: boolean;
|
|
@@ -6,8 +6,8 @@ type __VLS_WithSlots<T, S> = T & (new () => {
|
|
|
6
6
|
});
|
|
7
7
|
declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
8
8
|
$props: Partial<typeof props>;
|
|
9
|
-
icon: string;
|
|
10
9
|
label: string;
|
|
10
|
+
icon: string;
|
|
11
11
|
disabled: boolean;
|
|
12
12
|
accept: string;
|
|
13
13
|
edit: boolean;
|
|
@@ -16,8 +16,8 @@ type __VLS_Slots = {
|
|
|
16
16
|
icon?: ((props: {}) => any) | undefined;
|
|
17
17
|
};
|
|
18
18
|
declare const props: {
|
|
19
|
-
readonly icon: string;
|
|
20
19
|
readonly label: string;
|
|
20
|
+
readonly icon: string;
|
|
21
21
|
readonly disabled: boolean;
|
|
22
22
|
readonly accept: string;
|
|
23
23
|
readonly edit: boolean;
|
|
@@ -47,48 +47,7 @@ export declare const submitPayment: (amount: number, details?: Partial<Transacti
|
|
|
47
47
|
export declare const discountedPrice: (price: any, discount?: DiscountCode) => any;
|
|
48
48
|
export declare const formattedAddress: ([lng, lat]: Address) => Promise<any>;
|
|
49
49
|
export declare const geoCodingAddress: (address: string, coords: Address) => Promise<unknown>;
|
|
50
|
-
export declare const setOptions: (f: Form, ctx?: {}) => Promise<
|
|
51
|
-
input: {
|
|
52
|
-
options: any;
|
|
53
|
-
id?: string;
|
|
54
|
-
key: string;
|
|
55
|
-
title: string;
|
|
56
|
-
description?: string | null;
|
|
57
|
-
hint?: string | null;
|
|
58
|
-
type?: "text" | "description" | "switch" | "select" | "number" | "dateTime" | "date" | "time" | "location" | "image" | "file" | "none";
|
|
59
|
-
placeholder?: string | null;
|
|
60
|
-
icon?: string | null;
|
|
61
|
-
append?: string | null;
|
|
62
|
-
extendInput?: import("../types/models.js").Input | null;
|
|
63
|
-
externalOptions?: string | null;
|
|
64
|
-
externalOptionsKeys?: import("../types/models.js").ExternalOptionsKeys | null;
|
|
65
|
-
multiSelect?: boolean | null;
|
|
66
|
-
keyboadType?: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url" | null;
|
|
67
|
-
min?: number | {} | null;
|
|
68
|
-
max?: number | {} | null;
|
|
69
|
-
extendedInputKey?: string | null;
|
|
70
|
-
createdAt?: string | null;
|
|
71
|
-
updatedAt?: string | null;
|
|
72
|
-
forms?: Form[];
|
|
73
|
-
requiredForms?: Form[];
|
|
74
|
-
activatedForms?: Form[];
|
|
75
|
-
filterOptions?: import("../types/models.js").InputOption[];
|
|
76
|
-
extendedInputs?: import("../types/models.js").Input[];
|
|
77
|
-
};
|
|
78
|
-
id?: string;
|
|
79
|
-
name: string;
|
|
80
|
-
priority?: number | {} | null;
|
|
81
|
-
required?: boolean;
|
|
82
|
-
requiredby?: string | null;
|
|
83
|
-
activatedByInput?: import("../types/models.js").Input | null;
|
|
84
|
-
activatedByValues?: string[];
|
|
85
|
-
requiredByInput?: import("../types/models.js").Input | null;
|
|
86
|
-
requiredByValues?: string[];
|
|
87
|
-
createdAt?: string | null;
|
|
88
|
-
updatedAt?: string | null;
|
|
89
|
-
activatedBy?: string | null;
|
|
90
|
-
inputId: string;
|
|
91
|
-
}>;
|
|
50
|
+
export declare const setOptions: (f: Form, ctx?: {}) => Promise<any>;
|
|
92
51
|
export declare const merge: (v: string | Record<string, unknown>, s: string | Record<string, unknown>) => string | Record<string, unknown> | undefined;
|
|
93
52
|
export declare const variants: {
|
|
94
53
|
success: string;
|
|
@@ -213,16 +213,17 @@ export const decrypt = (ciphertext, passphrase) => {
|
|
|
213
213
|
export const useWallets = async (isActive = void 0, id = void 0) => {
|
|
214
214
|
const userId = id ? { value: id } : useUserId();
|
|
215
215
|
const wallet = id ? ref([]) : useState("wallet", () => []);
|
|
216
|
+
const moduleConfig = useModuleConfig();
|
|
216
217
|
const { result: currentWallets } = await useGet("/wallet", {
|
|
217
218
|
params: {
|
|
218
219
|
"$w.userId": userId.value,
|
|
219
220
|
// '$w.isActive': isActive,
|
|
220
221
|
"$i.coin.$i.gateways.$w.active": isActive,
|
|
221
|
-
"$i.coin.$i.gateways.$i.gateway":
|
|
222
|
+
"$i.coin.$i.gateways.$i.gateway": true
|
|
222
223
|
}
|
|
223
224
|
});
|
|
224
225
|
const { result: coins } = await useGet("/coin", { params: { "$w.walletable": true } });
|
|
225
|
-
wallet.value = currentWallets || [];
|
|
226
|
+
wallet.value = currentWallets.filter((e) => !e.coin?.platforms?.length || e.coin?.platforms?.includes(window.APP_CODE || moduleConfig?.APP_CODE)) || [];
|
|
226
227
|
const wallets = coins?.map((e) => ({
|
|
227
228
|
balance: 0,
|
|
228
229
|
coinId: e.id,
|
|
@@ -234,11 +235,11 @@ export const useWallets = async (isActive = void 0, id = void 0) => {
|
|
|
234
235
|
params: {
|
|
235
236
|
"$w.userId": userId.value,
|
|
236
237
|
"$i.coin.$i.gateways.$w.active": isActive,
|
|
237
|
-
"$i.coin.$i.gateways.$i.gateway":
|
|
238
|
+
"$i.coin.$i.gateways.$i.gateway": true
|
|
238
239
|
// '$w.isActive': isActive,
|
|
239
240
|
}
|
|
240
241
|
});
|
|
241
|
-
wallet.value = w || [];
|
|
242
|
+
wallet.value = w?.filter((e) => !e.coin?.platforms?.length || e.coin?.platforms?.includes(window.APP_CODE || moduleConfig?.APP_CODE)) || [];
|
|
242
243
|
}
|
|
243
244
|
return wallet;
|
|
244
245
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Booking, BookingSetting, DiscountCode, ServiceSettingType, ServiceSetting, User } from '../types/models.js';
|
|
2
2
|
export declare const useUser: () => import("@vueuse/shared").RemovableRef<User>;
|
|
3
|
-
export declare const useProvider: () => import("@vueuse/shared").RemovableRef<
|
|
3
|
+
export declare const useProvider: () => import("@vueuse/shared").RemovableRef<Provider>;
|
|
4
4
|
export declare const useActiveBookings: () => import("@vueuse/shared").RemovableRef<Booking[]>;
|
|
5
5
|
export declare const useCurrentOrderIndex: (providerId: string, activeBookings: Booking[]) => number;
|
|
6
|
-
export declare const useSettings: () => import("@vueuse/shared").RemovableRef<
|
|
6
|
+
export declare const useSettings: () => import("@vueuse/shared").RemovableRef<AppSetting>;
|
|
7
7
|
export declare const useHaveLocation: () => import("vue").Ref<boolean, boolean>;
|
|
8
8
|
export declare const useCatInView: () => import("vue").Ref<[InputOption, ServiceSetting[]], [InputOption, ServiceSetting[]]>;
|
|
9
|
-
export declare const useToppingModal: () => import("vue").Ref<
|
|
9
|
+
export declare const useToppingModal: () => import("vue").Ref<any, any>;
|
|
10
10
|
export declare const useMeta: (v?: {
|
|
11
11
|
backward?: any;
|
|
12
12
|
title?: string;
|
|
@@ -30,7 +30,7 @@ export declare const useProviderId: () => import("#app").CookieRef<string | null
|
|
|
30
30
|
export declare const useCurrentProductIndex: (products: ServiceSetting[], p: Partial<ServiceSetting>) => number;
|
|
31
31
|
export declare const SettingToType: (setting: ServiceSetting) => ServiceSettingType;
|
|
32
32
|
export declare const NotInProcessBooking: (e: Booking["status"]) => boolean;
|
|
33
|
-
export declare const MinPrice: (bookingSetting: BookingSetting) =>
|
|
33
|
+
export declare const MinPrice: (bookingSetting: BookingSetting) => any;
|
|
34
34
|
export declare const PriceDiscount: (product: ServiceSettingType | ServiceSetting) => number;
|
|
35
35
|
export declare const BookingServicesPrice: (booking: Booking) => number;
|
|
36
36
|
export declare const BookingServicesDiscountPrice: (booking: Booking) => number;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Section, Profile, Transaction, Slider, User, Banner, Coin } from '../types/models.js';
|
|
2
2
|
export declare const getForms: (name: string) => Promise<Form[] | undefined>;
|
|
3
3
|
export declare const getUserInfo: () => Promise<User | null>;
|
|
4
4
|
export declare const getCoin: (id?: string | null) => Promise<Coin | undefined>;
|
|
5
5
|
export declare const getBanner: (cat: string) => Promise<Banner | null | undefined>;
|
|
6
6
|
export declare const getSections: () => Promise<Section | never[]>;
|
|
7
7
|
export declare const getCategorySection: (data: Slider) => Promise<InputOption[]>;
|
|
8
|
-
export declare const getOption: (key: string, params?: {}) => Promise<
|
|
8
|
+
export declare const getOption: (key: string, params?: {}) => Promise<any>;
|
|
9
9
|
export declare const getOptions: (key: string) => Promise<InputOption[]>;
|
|
10
10
|
export declare const getMyTransactions: (q?: {}) => Promise<Transaction[] | undefined>;
|
|
11
11
|
export declare const getTransactions: (q?: {}) => Promise<Transaction[] | undefined>;
|
|
@@ -7,7 +7,6 @@ declare const _default: import("#app").Plugin<{
|
|
|
7
7
|
rtl?: boolean | undefined;
|
|
8
8
|
data?: {} | undefined;
|
|
9
9
|
role?: string | undefined;
|
|
10
|
-
icon?: import("vue3-toastify").IconType | undefined;
|
|
11
10
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
12
11
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
13
12
|
content?: import("vue3-toastify").Content;
|
|
@@ -33,6 +32,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
33
32
|
style?: Record<string, any> | undefined;
|
|
34
33
|
progressClassName?: string | undefined;
|
|
35
34
|
progressStyle?: Record<string, any> | undefined;
|
|
35
|
+
icon?: import("vue3-toastify").IconType | undefined;
|
|
36
36
|
contentProps?: Record<string, any> | undefined;
|
|
37
37
|
expandCustomProps?: boolean | undefined;
|
|
38
38
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
@@ -42,7 +42,6 @@ declare const _default: import("#app").Plugin<{
|
|
|
42
42
|
rtl?: boolean | undefined;
|
|
43
43
|
data?: {} | undefined;
|
|
44
44
|
role?: string | undefined;
|
|
45
|
-
icon?: import("vue3-toastify").IconType | undefined;
|
|
46
45
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
47
46
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
48
47
|
content?: import("vue3-toastify").Content;
|
|
@@ -68,6 +67,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
68
67
|
style?: Record<string, any> | undefined;
|
|
69
68
|
progressClassName?: string | undefined;
|
|
70
69
|
progressStyle?: Record<string, any> | undefined;
|
|
70
|
+
icon?: import("vue3-toastify").IconType | undefined;
|
|
71
71
|
contentProps?: Record<string, any> | undefined;
|
|
72
72
|
expandCustomProps?: boolean | undefined;
|
|
73
73
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
@@ -77,7 +77,6 @@ declare const _default: import("#app").Plugin<{
|
|
|
77
77
|
rtl?: boolean | undefined;
|
|
78
78
|
data?: {} | undefined;
|
|
79
79
|
role?: string | undefined;
|
|
80
|
-
icon?: import("vue3-toastify").IconType | undefined;
|
|
81
80
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
82
81
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
83
82
|
content?: import("vue3-toastify").Content;
|
|
@@ -103,6 +102,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
103
102
|
style?: Record<string, any> | undefined;
|
|
104
103
|
progressClassName?: string | undefined;
|
|
105
104
|
progressStyle?: Record<string, any> | undefined;
|
|
105
|
+
icon?: import("vue3-toastify").IconType | undefined;
|
|
106
106
|
contentProps?: Record<string, any> | undefined;
|
|
107
107
|
expandCustomProps?: boolean | undefined;
|
|
108
108
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
@@ -112,7 +112,6 @@ declare const _default: import("#app").Plugin<{
|
|
|
112
112
|
rtl?: boolean | undefined;
|
|
113
113
|
data?: {} | undefined;
|
|
114
114
|
role?: string | undefined;
|
|
115
|
-
icon?: import("vue3-toastify").IconType | undefined;
|
|
116
115
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
117
116
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
118
117
|
content?: import("vue3-toastify").Content;
|
|
@@ -138,6 +137,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
138
137
|
style?: Record<string, any> | undefined;
|
|
139
138
|
progressClassName?: string | undefined;
|
|
140
139
|
progressStyle?: Record<string, any> | undefined;
|
|
140
|
+
icon?: import("vue3-toastify").IconType | undefined;
|
|
141
141
|
contentProps?: Record<string, any> | undefined;
|
|
142
142
|
expandCustomProps?: boolean | undefined;
|
|
143
143
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
@@ -147,7 +147,6 @@ declare const _default: import("#app").Plugin<{
|
|
|
147
147
|
rtl?: boolean | undefined;
|
|
148
148
|
data?: {} | undefined;
|
|
149
149
|
role?: string | undefined;
|
|
150
|
-
icon?: import("vue3-toastify").IconType | undefined;
|
|
151
150
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
152
151
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
153
152
|
content?: import("vue3-toastify").Content;
|
|
@@ -173,6 +172,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
173
172
|
style?: Record<string, any> | undefined;
|
|
174
173
|
progressClassName?: string | undefined;
|
|
175
174
|
progressStyle?: Record<string, any> | undefined;
|
|
175
|
+
icon?: import("vue3-toastify").IconType | undefined;
|
|
176
176
|
contentProps?: Record<string, any> | undefined;
|
|
177
177
|
expandCustomProps?: boolean | undefined;
|
|
178
178
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
@@ -183,7 +183,6 @@ declare const _default: import("#app").Plugin<{
|
|
|
183
183
|
type?: import("vue3-toastify").ToastType | undefined;
|
|
184
184
|
data?: {} | undefined;
|
|
185
185
|
role?: string | undefined;
|
|
186
|
-
icon?: import("vue3-toastify").IconType | undefined;
|
|
187
186
|
disabledEnterTransition?: boolean | undefined;
|
|
188
187
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
189
188
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
@@ -209,6 +208,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
209
208
|
style?: Record<string, any> | undefined;
|
|
210
209
|
progressClassName?: string | undefined;
|
|
211
210
|
progressStyle?: Record<string, any> | undefined;
|
|
211
|
+
icon?: import("vue3-toastify").IconType | undefined;
|
|
212
212
|
contentProps?: Record<string, any> | undefined;
|
|
213
213
|
expandCustomProps?: boolean | undefined;
|
|
214
214
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
@@ -218,7 +218,6 @@ declare const _default: import("#app").Plugin<{
|
|
|
218
218
|
type?: import("vue3-toastify").ToastType | undefined;
|
|
219
219
|
data?: {} | undefined;
|
|
220
220
|
role?: string | undefined;
|
|
221
|
-
icon?: import("vue3-toastify").IconType | undefined;
|
|
222
221
|
disabledEnterTransition?: boolean | undefined;
|
|
223
222
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
224
223
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
@@ -245,6 +244,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
245
244
|
style?: Record<string, any> | undefined;
|
|
246
245
|
progressClassName?: string | undefined;
|
|
247
246
|
progressStyle?: Record<string, any> | undefined;
|
|
247
|
+
icon?: import("vue3-toastify").IconType | undefined;
|
|
248
248
|
contentProps?: Record<string, any> | undefined;
|
|
249
249
|
expandCustomProps?: boolean | undefined;
|
|
250
250
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
@@ -260,7 +260,6 @@ declare const _default: import("#app").Plugin<{
|
|
|
260
260
|
type?: import("vue3-toastify").ToastType | undefined;
|
|
261
261
|
data?: {} | undefined;
|
|
262
262
|
role?: string | undefined;
|
|
263
|
-
icon?: import("vue3-toastify").IconType | undefined;
|
|
264
263
|
disabledEnterTransition?: boolean | undefined;
|
|
265
264
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
266
265
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
@@ -286,6 +285,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
286
285
|
style?: Record<string, any> | undefined;
|
|
287
286
|
progressClassName?: string | undefined;
|
|
288
287
|
progressStyle?: Record<string, any> | undefined;
|
|
288
|
+
icon?: import("vue3-toastify").IconType | undefined;
|
|
289
289
|
contentProps?: Record<string, any> | undefined;
|
|
290
290
|
expandCustomProps?: boolean | undefined;
|
|
291
291
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
@@ -327,7 +327,6 @@ declare const _default: import("#app").Plugin<{
|
|
|
327
327
|
rtl?: boolean | undefined;
|
|
328
328
|
data?: {} | undefined;
|
|
329
329
|
role?: string | undefined;
|
|
330
|
-
icon?: import("vue3-toastify").IconType | undefined;
|
|
331
330
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
332
331
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
333
332
|
content?: import("vue3-toastify").Content;
|
|
@@ -353,6 +352,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
353
352
|
style?: Record<string, any> | undefined;
|
|
354
353
|
progressClassName?: string | undefined;
|
|
355
354
|
progressStyle?: Record<string, any> | undefined;
|
|
355
|
+
icon?: import("vue3-toastify").IconType | undefined;
|
|
356
356
|
contentProps?: Record<string, any> | undefined;
|
|
357
357
|
expandCustomProps?: boolean | undefined;
|
|
358
358
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
@@ -362,7 +362,6 @@ declare const _default: import("#app").Plugin<{
|
|
|
362
362
|
rtl?: boolean | undefined;
|
|
363
363
|
data?: {} | undefined;
|
|
364
364
|
role?: string | undefined;
|
|
365
|
-
icon?: import("vue3-toastify").IconType | undefined;
|
|
366
365
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
367
366
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
368
367
|
content?: import("vue3-toastify").Content;
|
|
@@ -388,6 +387,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
388
387
|
style?: Record<string, any> | undefined;
|
|
389
388
|
progressClassName?: string | undefined;
|
|
390
389
|
progressStyle?: Record<string, any> | undefined;
|
|
390
|
+
icon?: import("vue3-toastify").IconType | undefined;
|
|
391
391
|
contentProps?: Record<string, any> | undefined;
|
|
392
392
|
expandCustomProps?: boolean | undefined;
|
|
393
393
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
@@ -397,7 +397,6 @@ declare const _default: import("#app").Plugin<{
|
|
|
397
397
|
rtl?: boolean | undefined;
|
|
398
398
|
data?: {} | undefined;
|
|
399
399
|
role?: string | undefined;
|
|
400
|
-
icon?: import("vue3-toastify").IconType | undefined;
|
|
401
400
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
402
401
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
403
402
|
content?: import("vue3-toastify").Content;
|
|
@@ -423,6 +422,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
423
422
|
style?: Record<string, any> | undefined;
|
|
424
423
|
progressClassName?: string | undefined;
|
|
425
424
|
progressStyle?: Record<string, any> | undefined;
|
|
425
|
+
icon?: import("vue3-toastify").IconType | undefined;
|
|
426
426
|
contentProps?: Record<string, any> | undefined;
|
|
427
427
|
expandCustomProps?: boolean | undefined;
|
|
428
428
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
@@ -432,7 +432,6 @@ declare const _default: import("#app").Plugin<{
|
|
|
432
432
|
rtl?: boolean | undefined;
|
|
433
433
|
data?: {} | undefined;
|
|
434
434
|
role?: string | undefined;
|
|
435
|
-
icon?: import("vue3-toastify").IconType | undefined;
|
|
436
435
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
437
436
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
438
437
|
content?: import("vue3-toastify").Content;
|
|
@@ -458,6 +457,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
458
457
|
style?: Record<string, any> | undefined;
|
|
459
458
|
progressClassName?: string | undefined;
|
|
460
459
|
progressStyle?: Record<string, any> | undefined;
|
|
460
|
+
icon?: import("vue3-toastify").IconType | undefined;
|
|
461
461
|
contentProps?: Record<string, any> | undefined;
|
|
462
462
|
expandCustomProps?: boolean | undefined;
|
|
463
463
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
@@ -467,7 +467,6 @@ declare const _default: import("#app").Plugin<{
|
|
|
467
467
|
rtl?: boolean | undefined;
|
|
468
468
|
data?: {} | undefined;
|
|
469
469
|
role?: string | undefined;
|
|
470
|
-
icon?: import("vue3-toastify").IconType | undefined;
|
|
471
470
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
472
471
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
473
472
|
content?: import("vue3-toastify").Content;
|
|
@@ -493,6 +492,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
493
492
|
style?: Record<string, any> | undefined;
|
|
494
493
|
progressClassName?: string | undefined;
|
|
495
494
|
progressStyle?: Record<string, any> | undefined;
|
|
495
|
+
icon?: import("vue3-toastify").IconType | undefined;
|
|
496
496
|
contentProps?: Record<string, any> | undefined;
|
|
497
497
|
expandCustomProps?: boolean | undefined;
|
|
498
498
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
@@ -503,7 +503,6 @@ declare const _default: import("#app").Plugin<{
|
|
|
503
503
|
type?: import("vue3-toastify").ToastType | undefined;
|
|
504
504
|
data?: {} | undefined;
|
|
505
505
|
role?: string | undefined;
|
|
506
|
-
icon?: import("vue3-toastify").IconType | undefined;
|
|
507
506
|
disabledEnterTransition?: boolean | undefined;
|
|
508
507
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
509
508
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
@@ -529,6 +528,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
529
528
|
style?: Record<string, any> | undefined;
|
|
530
529
|
progressClassName?: string | undefined;
|
|
531
530
|
progressStyle?: Record<string, any> | undefined;
|
|
531
|
+
icon?: import("vue3-toastify").IconType | undefined;
|
|
532
532
|
contentProps?: Record<string, any> | undefined;
|
|
533
533
|
expandCustomProps?: boolean | undefined;
|
|
534
534
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
@@ -538,7 +538,6 @@ declare const _default: import("#app").Plugin<{
|
|
|
538
538
|
type?: import("vue3-toastify").ToastType | undefined;
|
|
539
539
|
data?: {} | undefined;
|
|
540
540
|
role?: string | undefined;
|
|
541
|
-
icon?: import("vue3-toastify").IconType | undefined;
|
|
542
541
|
disabledEnterTransition?: boolean | undefined;
|
|
543
542
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
544
543
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
@@ -565,6 +564,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
565
564
|
style?: Record<string, any> | undefined;
|
|
566
565
|
progressClassName?: string | undefined;
|
|
567
566
|
progressStyle?: Record<string, any> | undefined;
|
|
567
|
+
icon?: import("vue3-toastify").IconType | undefined;
|
|
568
568
|
contentProps?: Record<string, any> | undefined;
|
|
569
569
|
expandCustomProps?: boolean | undefined;
|
|
570
570
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
@@ -580,7 +580,6 @@ declare const _default: import("#app").Plugin<{
|
|
|
580
580
|
type?: import("vue3-toastify").ToastType | undefined;
|
|
581
581
|
data?: {} | undefined;
|
|
582
582
|
role?: string | undefined;
|
|
583
|
-
icon?: import("vue3-toastify").IconType | undefined;
|
|
584
583
|
disabledEnterTransition?: boolean | undefined;
|
|
585
584
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
586
585
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
@@ -606,6 +605,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
606
605
|
style?: Record<string, any> | undefined;
|
|
607
606
|
progressClassName?: string | undefined;
|
|
608
607
|
progressStyle?: Record<string, any> | undefined;
|
|
608
|
+
icon?: import("vue3-toastify").IconType | undefined;
|
|
609
609
|
contentProps?: Record<string, any> | undefined;
|
|
610
610
|
expandCustomProps?: boolean | undefined;
|
|
611
611
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
@@ -1,37 +1,27 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface Core {
|
|
2
2
|
user?: User;
|
|
3
3
|
profile?: Profile;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
serviceSetting?: ServiceSetting;
|
|
10
|
-
booking?: Booking;
|
|
11
|
-
comment?: Comment;
|
|
4
|
+
wallet?: Wallet;
|
|
5
|
+
address?: Address;
|
|
6
|
+
gateway?: Gateway;
|
|
7
|
+
coin?: Coin;
|
|
8
|
+
coinGateway?: CoinGateway;
|
|
12
9
|
discountCode?: DiscountCode;
|
|
10
|
+
giftCard?: GiftCard;
|
|
13
11
|
transaction?: Transaction;
|
|
12
|
+
module?: Module;
|
|
14
13
|
banner?: Banner;
|
|
15
14
|
slider?: Slider;
|
|
16
15
|
section?: Section;
|
|
17
|
-
input?: Input;
|
|
18
|
-
inputOption?: InputOption;
|
|
19
|
-
form?: Form;
|
|
20
|
-
policy?: Policy;
|
|
21
|
-
setting?: Setting;
|
|
22
|
-
appSetting?: AppSetting;
|
|
23
|
-
contactUs?: ContactUs;
|
|
24
|
-
question?: Question;
|
|
25
|
-
wallet?: Wallet;
|
|
26
|
-
gateway?: Gateway;
|
|
27
|
-
coin?: Coin;
|
|
28
|
-
coinGateway?: CoinGateway;
|
|
29
16
|
role?: Role;
|
|
30
17
|
otp?: Otp;
|
|
31
18
|
file?: File;
|
|
32
|
-
bookmark?: Bookmark;
|
|
33
19
|
lang?: Lang;
|
|
34
20
|
tableTemplate?: TableTemplate;
|
|
21
|
+
filterTemplate?: FilterTemplate;
|
|
22
|
+
chartTemplate?: ChartTemplate;
|
|
23
|
+
listTemplate?: ListTemplate;
|
|
24
|
+
dashboardTemplate?: DashboardTemplate;
|
|
35
25
|
systemAlarm?: SystemAlarm;
|
|
36
26
|
subRequest?: SubRequest;
|
|
37
27
|
appConfig?: AppConfig;
|
|
@@ -46,30 +36,29 @@ export interface User {
|
|
|
46
36
|
inviteCode?: string | null;
|
|
47
37
|
rememberMeToken?: string | null;
|
|
48
38
|
supervisorCode?: string | null;
|
|
49
|
-
|
|
50
|
-
|
|
39
|
+
tags?: string[] | {};
|
|
40
|
+
type?: 'USER' | 'ADMIN' | 'COURIER' | null;
|
|
41
|
+
authStatus?: 'PENDING' | 'AUTHORIZED' | 'REJECTED' | null;
|
|
51
42
|
isBlocked?: boolean | null;
|
|
52
43
|
createdAt?: string;
|
|
53
44
|
updatedAt?: string | null;
|
|
54
|
-
OTPs?: Otp[];
|
|
55
|
-
invitedUsers?: User[];
|
|
45
|
+
OTPs?: Otp[] | {};
|
|
46
|
+
invitedUsers?: User[] | {};
|
|
56
47
|
supervisor?: User | null;
|
|
57
48
|
profile?: Profile | null;
|
|
58
49
|
role?: Role | null;
|
|
59
50
|
roleId?: string | null;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
bookings?: Booking[];
|
|
67
|
-
places?: Place[];
|
|
51
|
+
roleName?: string | null;
|
|
52
|
+
wallets?: Wallet[] | {};
|
|
53
|
+
addresses?: Address[] | {};
|
|
54
|
+
discountCodes?: DiscountCode[] | {};
|
|
55
|
+
transactions?: Transaction[] | {};
|
|
56
|
+
giftCards?: GiftCard[] | {};
|
|
68
57
|
}
|
|
69
58
|
export interface Otp {
|
|
70
59
|
id?: string;
|
|
71
60
|
userId: string;
|
|
72
|
-
type:
|
|
61
|
+
type: 'EMAIL' | 'PHONE';
|
|
73
62
|
value: string;
|
|
74
63
|
createdAt?: string | null;
|
|
75
64
|
updatedAt?: string | null;
|
|
@@ -81,6 +70,9 @@ export interface Profile {
|
|
|
81
70
|
firstName?: string | null;
|
|
82
71
|
lastName?: string | null;
|
|
83
72
|
idCard?: string | null;
|
|
73
|
+
card?: string | null;
|
|
74
|
+
iban?: string | null;
|
|
75
|
+
birthday?: string | null;
|
|
84
76
|
lat?: number | {} | null;
|
|
85
77
|
lng?: number | {} | null;
|
|
86
78
|
user?: User;
|
|
@@ -94,255 +86,28 @@ export interface Role {
|
|
|
94
86
|
label?: string | null;
|
|
95
87
|
color?: string | null;
|
|
96
88
|
icon?: string | null;
|
|
97
|
-
privileges?: Privilege[];
|
|
98
|
-
user?: User[];
|
|
89
|
+
privileges?: Privilege[] | {};
|
|
90
|
+
user?: User[] | {};
|
|
91
|
+
dashboardTemplates?: DashboardTemplate[] | {};
|
|
92
|
+
createdAt?: string | null;
|
|
93
|
+
updatedAt?: string | null;
|
|
99
94
|
}
|
|
100
95
|
export interface Privilege {
|
|
101
96
|
model: string;
|
|
102
97
|
func: string;
|
|
103
98
|
schema?: number | string | boolean | {} | unknown[] | null;
|
|
99
|
+
details?: number | string | boolean | {} | unknown[] | null;
|
|
104
100
|
}
|
|
105
|
-
export interface
|
|
106
|
-
id?: string;
|
|
107
|
-
code: string;
|
|
108
|
-
percent: number | {};
|
|
109
|
-
minPrice?: number | {} | null;
|
|
110
|
-
maxPrice?: number | {} | null;
|
|
111
|
-
allTimes?: number | {} | null;
|
|
112
|
-
perUserTimes?: number | {} | null;
|
|
113
|
-
user?: User | null;
|
|
114
|
-
category?: InputOption | null;
|
|
115
|
-
expiredAt?: string | null;
|
|
116
|
-
createdAt?: string | null;
|
|
117
|
-
updatedAt?: string | null;
|
|
118
|
-
userId?: string | null;
|
|
119
|
-
categoryKey?: string | null;
|
|
120
|
-
transactions?: Transaction[];
|
|
121
|
-
}
|
|
122
|
-
export interface InputOption {
|
|
123
|
-
id?: string;
|
|
124
|
-
priority?: number | {} | null;
|
|
125
|
-
icon?: string | null;
|
|
126
|
-
key: string;
|
|
127
|
-
title: string;
|
|
128
|
-
input?: Input | null;
|
|
129
|
-
mainOption?: InputOption | null;
|
|
130
|
-
filterByInput?: Input | null;
|
|
131
|
-
filterByOption?: InputOption | null;
|
|
132
|
-
subOptions?: InputOption[];
|
|
133
|
-
createdAt?: string | null;
|
|
134
|
-
updatedAt?: string | null;
|
|
135
|
-
filteredByKey?: string | null;
|
|
136
|
-
filterOptionKey?: string | null;
|
|
137
|
-
inputId?: string | null;
|
|
138
|
-
mainOptionId?: string | null;
|
|
139
|
-
nextInputOption?: InputOption[];
|
|
140
|
-
banners?: Banner[];
|
|
141
|
-
discountCodes?: DiscountCode[];
|
|
142
|
-
cityProviders?: Provider[];
|
|
143
|
-
provinceProviders?: Provider[];
|
|
144
|
-
areaProviders?: Provider[];
|
|
145
|
-
categoryProviders?: Provider[];
|
|
146
|
-
places?: Place[];
|
|
147
|
-
serviceSettings?: ServiceSetting[];
|
|
148
|
-
cityPlaces?: Place[];
|
|
149
|
-
provincePlace?: Place[];
|
|
150
|
-
areaPlace?: Place[];
|
|
151
|
-
}
|
|
152
|
-
export interface Input {
|
|
101
|
+
export interface DashboardTemplate {
|
|
153
102
|
id?: string;
|
|
154
|
-
key: string;
|
|
155
|
-
title: string;
|
|
156
|
-
description?: string | null;
|
|
157
|
-
hint?: string | null;
|
|
158
|
-
type?: "text" | "description" | "switch" | "select" | "number" | "dateTime" | "date" | "time" | "location" | "image" | "file" | "none";
|
|
159
|
-
placeholder?: string | null;
|
|
160
|
-
icon?: string | null;
|
|
161
|
-
append?: string | null;
|
|
162
|
-
extendInput?: Input | null;
|
|
163
|
-
externalOptions?: string | null;
|
|
164
|
-
externalOptionsKeys?: ExternalOptionsKeys | null;
|
|
165
|
-
options?: InputOption[];
|
|
166
|
-
multiSelect?: boolean | null;
|
|
167
|
-
keyboadType?: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url" | null;
|
|
168
|
-
min?: number | {} | null;
|
|
169
|
-
max?: number | {} | null;
|
|
170
|
-
extendedInputKey?: string | null;
|
|
171
|
-
createdAt?: string | null;
|
|
172
|
-
updatedAt?: string | null;
|
|
173
|
-
forms?: Form[];
|
|
174
|
-
requiredForms?: Form[];
|
|
175
|
-
activatedForms?: Form[];
|
|
176
|
-
filterOptions?: InputOption[];
|
|
177
|
-
extendedInputs?: Input[];
|
|
178
|
-
}
|
|
179
|
-
export interface ExternalOptionsKeys {
|
|
180
|
-
id?: string | null;
|
|
181
|
-
priority?: string | null;
|
|
182
|
-
icon?: string | null;
|
|
183
|
-
key: string;
|
|
184
103
|
title: string;
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
id?: string;
|
|
190
|
-
name: string;
|
|
191
|
-
input?: Input;
|
|
192
|
-
priority?: number | {} | null;
|
|
193
|
-
required?: boolean;
|
|
194
|
-
requiredby?: string | null;
|
|
195
|
-
activatedByInput?: Input | null;
|
|
196
|
-
activatedByValues?: string[];
|
|
197
|
-
requiredByInput?: Input | null;
|
|
198
|
-
requiredByValues?: string[];
|
|
199
|
-
createdAt?: string | null;
|
|
200
|
-
updatedAt?: string | null;
|
|
201
|
-
activatedBy?: string | null;
|
|
202
|
-
inputId: string;
|
|
203
|
-
}
|
|
204
|
-
export interface Banner {
|
|
205
|
-
id?: string;
|
|
206
|
-
key: string;
|
|
207
|
-
title?: string | null;
|
|
208
|
-
description?: string | null;
|
|
209
|
-
links?: Link[];
|
|
210
|
-
category?: InputOption | null;
|
|
211
|
-
createdAt?: string;
|
|
212
|
-
updatedAt?: string | null;
|
|
213
|
-
sections?: Section[];
|
|
214
|
-
categoryKey?: string | null;
|
|
215
|
-
}
|
|
216
|
-
export interface Link {
|
|
217
|
-
title?: string | null;
|
|
218
|
-
description?: string | null;
|
|
219
|
-
image?: string | null;
|
|
220
|
-
link: string;
|
|
221
|
-
}
|
|
222
|
-
export interface Section {
|
|
223
|
-
id?: string;
|
|
224
|
-
priority?: number | {} | null;
|
|
225
|
-
key: string;
|
|
226
|
-
banner?: Banner | null;
|
|
227
|
-
slider?: Slider | null;
|
|
104
|
+
role?: Role;
|
|
105
|
+
layout?: number | string | boolean | {} | unknown[] | null;
|
|
106
|
+
chartIds: string[] | {};
|
|
107
|
+
listIds: string[] | {};
|
|
228
108
|
createdAt?: string | null;
|
|
229
109
|
updatedAt?: string | null;
|
|
230
|
-
|
|
231
|
-
sliderId?: string | null;
|
|
232
|
-
}
|
|
233
|
-
export interface Slider {
|
|
234
|
-
id?: string;
|
|
235
|
-
type: "category" | "provider" | "place";
|
|
236
|
-
title?: string | null;
|
|
237
|
-
description?: string | null;
|
|
238
|
-
query?: string | null;
|
|
239
|
-
createdAt?: string;
|
|
240
|
-
updatedAt?: string | null;
|
|
241
|
-
sections?: Section[];
|
|
242
|
-
}
|
|
243
|
-
export interface Provider {
|
|
244
|
-
id?: string;
|
|
245
|
-
fullName: string;
|
|
246
|
-
avatar?: string | null;
|
|
247
|
-
description: string;
|
|
248
|
-
specialties?: string[];
|
|
249
|
-
experiences?: string[];
|
|
250
|
-
achievements?: string[];
|
|
251
|
-
shortDescription?: string | null;
|
|
252
|
-
gender?: "MALE" | "FEMALE" | null;
|
|
253
|
-
nationalCode: string;
|
|
254
|
-
phone?: string | null;
|
|
255
|
-
secondPhone?: string | null;
|
|
256
|
-
cardNumber?: string | null;
|
|
257
|
-
iban?: string | null;
|
|
258
|
-
licenseImage?: string | null;
|
|
259
|
-
licenseNumber?: string | null;
|
|
260
|
-
address?: string | null;
|
|
261
|
-
location?: Location | null;
|
|
262
|
-
score?: number | {} | null;
|
|
263
|
-
authStatus?: "PENDING" | "AUTHORIZED" | "REJECTED" | null;
|
|
264
|
-
earliestBookingTime?: string | null;
|
|
265
|
-
tag?: string | null;
|
|
266
|
-
city?: InputOption;
|
|
267
|
-
province?: InputOption;
|
|
268
|
-
area?: InputOption | null;
|
|
269
|
-
category?: InputOption;
|
|
270
|
-
user?: User;
|
|
271
|
-
createdAt?: string;
|
|
272
|
-
updatedAt?: string | null;
|
|
273
|
-
userId: string;
|
|
274
|
-
cityKey: string;
|
|
275
|
-
provinceKey: string;
|
|
276
|
-
areaKey?: string | null;
|
|
277
|
-
categoryKey: string;
|
|
278
|
-
subCategoriesKey?: string[];
|
|
279
|
-
comments?: Comment[];
|
|
280
|
-
bookmarks?: Bookmark[];
|
|
281
|
-
bookings?: Booking[];
|
|
282
|
-
holidays?: Holiday[];
|
|
283
|
-
bookingSettings?: BookingSetting[];
|
|
284
|
-
serviceSettings?: ServiceSetting[];
|
|
285
|
-
}
|
|
286
|
-
export interface Location {
|
|
287
|
-
lat: number | {};
|
|
288
|
-
lng: number | {};
|
|
289
|
-
exact?: boolean | null;
|
|
290
|
-
}
|
|
291
|
-
export interface Comment {
|
|
292
|
-
id?: string;
|
|
293
|
-
number?: number | {} | null;
|
|
294
|
-
text?: string | null;
|
|
295
|
-
providerReply?: string | null;
|
|
296
|
-
adminReply?: string | null;
|
|
297
|
-
placeReply?: string | null;
|
|
298
|
-
user?: User | null;
|
|
299
|
-
provider?: Provider;
|
|
300
|
-
booking?: Booking;
|
|
301
|
-
place?: Place;
|
|
302
|
-
productIds: string[];
|
|
303
|
-
createdAt?: string;
|
|
304
|
-
updatedAt?: string | null;
|
|
305
|
-
userId?: string | null;
|
|
306
|
-
providerId: string;
|
|
307
|
-
bookingId: string;
|
|
308
|
-
placeId: string;
|
|
309
|
-
}
|
|
310
|
-
export interface Booking {
|
|
311
|
-
id?: string;
|
|
312
|
-
description?: string | null;
|
|
313
|
-
dateTime?: string | null;
|
|
314
|
-
paymentSource?: "WALLET" | "GATEWAY" | null;
|
|
315
|
-
status?: "PENDING" | "PAID" | "ACCEPTED" | "REJECTED" | "CANCELLED" | "COMPLETED" | null;
|
|
316
|
-
address?: string | null;
|
|
317
|
-
location?: Location | null;
|
|
318
|
-
type: "IN_PERSON" | "REMOTE";
|
|
319
|
-
user?: User;
|
|
320
|
-
services?: ServiceSettingType[];
|
|
321
|
-
wallet?: Wallet | null;
|
|
322
|
-
booking?: BookingSetting | null;
|
|
323
|
-
place?: Place | null;
|
|
324
|
-
provider?: Provider;
|
|
325
|
-
comment?: Comment | null;
|
|
326
|
-
acceptedAt?: string | null;
|
|
327
|
-
completedAt?: string | null;
|
|
328
|
-
transactions?: Transaction[];
|
|
329
|
-
createdAt?: string;
|
|
330
|
-
updatedAt?: string | null;
|
|
331
|
-
userId: string;
|
|
332
|
-
walletId?: string | null;
|
|
333
|
-
bookingSettingId?: string | null;
|
|
334
|
-
placeId?: string | null;
|
|
335
|
-
providerId: string;
|
|
336
|
-
}
|
|
337
|
-
export interface ServiceSettingType {
|
|
338
|
-
id: string;
|
|
339
|
-
price: number | {};
|
|
340
|
-
discount?: number | {} | null;
|
|
341
|
-
duration: string;
|
|
342
|
-
subCategoryKey: string;
|
|
343
|
-
title: string;
|
|
344
|
-
description?: string | null;
|
|
345
|
-
icon?: string | null;
|
|
110
|
+
roleName: string;
|
|
346
111
|
}
|
|
347
112
|
export interface Wallet {
|
|
348
113
|
id?: string;
|
|
@@ -355,60 +120,81 @@ export interface Wallet {
|
|
|
355
120
|
updatedAt?: string | null;
|
|
356
121
|
user?: User;
|
|
357
122
|
coin?: Coin;
|
|
358
|
-
transactions?: Transaction[];
|
|
359
|
-
toTransactions?: Transaction[];
|
|
360
|
-
bookings?: Booking[];
|
|
123
|
+
transactions?: Transaction[] | {};
|
|
124
|
+
toTransactions?: Transaction[] | {};
|
|
361
125
|
}
|
|
362
126
|
export interface Coin {
|
|
363
127
|
id?: string;
|
|
364
128
|
name: string;
|
|
129
|
+
key?: string | null;
|
|
365
130
|
unit?: string | null;
|
|
366
131
|
icon?: string | null;
|
|
367
132
|
color?: string | null;
|
|
368
133
|
price?: number | {} | null;
|
|
134
|
+
sellPrice?: number | {} | null;
|
|
135
|
+
buyFeePercent?: number | {} | null;
|
|
136
|
+
sellFeePercent?: number | {} | null;
|
|
137
|
+
buyFee?: number | {} | null;
|
|
138
|
+
sellFee?: number | {} | null;
|
|
139
|
+
minWithdraw?: number | {} | null;
|
|
140
|
+
withdrawStep?: number | {} | null;
|
|
141
|
+
precision?: number | {} | null;
|
|
369
142
|
walletable?: boolean | null;
|
|
143
|
+
depositable?: boolean | null;
|
|
144
|
+
withdrawable?: boolean | null;
|
|
145
|
+
transferable?: boolean | null;
|
|
370
146
|
active?: boolean | null;
|
|
371
147
|
isFiat?: boolean | null;
|
|
372
|
-
|
|
373
|
-
|
|
148
|
+
platforms?: string[] | {};
|
|
149
|
+
categories?: string[] | {};
|
|
150
|
+
expiredAt?: string | null;
|
|
151
|
+
createdAt?: string | null;
|
|
152
|
+
updatedAt?: string | null;
|
|
153
|
+
gateways?: CoinGateway[] | {};
|
|
154
|
+
wallets?: Wallet[] | {};
|
|
155
|
+
giftCards?: GiftCard[] | {};
|
|
374
156
|
}
|
|
375
157
|
export interface CoinGateway {
|
|
376
158
|
id?: string;
|
|
377
|
-
decimal?: number |
|
|
159
|
+
decimal?: number | null;
|
|
378
160
|
identity?: string | null;
|
|
379
161
|
withdrawFee?: string | null;
|
|
380
162
|
minWithdraw?: string | null;
|
|
381
163
|
active?: boolean | null;
|
|
382
164
|
gateway?: Gateway;
|
|
383
165
|
coin?: Coin;
|
|
166
|
+
createdAt?: string | null;
|
|
167
|
+
updatedAt?: string | null;
|
|
384
168
|
gatewayId: string;
|
|
385
169
|
coinId: string;
|
|
386
|
-
|
|
170
|
+
Transaction?: Transaction[] | {};
|
|
387
171
|
}
|
|
388
172
|
export interface Gateway {
|
|
389
173
|
id?: string;
|
|
390
174
|
name: string;
|
|
391
|
-
type?:
|
|
175
|
+
type?: 'zarinpal' | 'zarinpalApi' | 'behpardakht' | 'idpay' | 'nextpay' | 'nextpayApi' | 'parsian' | 'pasargad' | 'payir' | 'payping' | 'sadad' | 'saman' | 'zibal' | 'payfa' | 'vandar' | 'novin' | null;
|
|
392
176
|
label?: string | null;
|
|
393
177
|
address?: string | null;
|
|
394
178
|
iban?: string | null;
|
|
395
179
|
icon?: string | null;
|
|
396
180
|
color?: string | null;
|
|
397
|
-
keys?: string[];
|
|
181
|
+
keys?: string[] | {};
|
|
398
182
|
params?: number | string | boolean | {} | unknown[] | null;
|
|
399
183
|
checkUrl?: string | null;
|
|
400
184
|
payable?: boolean | null;
|
|
401
185
|
active?: boolean | null;
|
|
402
186
|
details?: number | string | boolean | {} | unknown[] | null;
|
|
403
|
-
|
|
187
|
+
createdAt?: string | null;
|
|
188
|
+
updatedAt?: string | null;
|
|
189
|
+
coins?: CoinGateway[] | {};
|
|
404
190
|
}
|
|
405
191
|
export interface Transaction {
|
|
406
192
|
id?: string;
|
|
407
193
|
paymentId?: string | null;
|
|
408
194
|
amount: number | {};
|
|
409
|
-
type:
|
|
410
|
-
paymentSource?:
|
|
411
|
-
status?:
|
|
195
|
+
type: 'WITHDRAW' | 'DEPOSIT' | 'PAYMENT' | 'TRANSFER';
|
|
196
|
+
paymentSource?: 'WALLET' | 'GATEWAY' | null;
|
|
197
|
+
status?: 'PENDING' | 'ACTIVE' | 'ACCEPTED' | 'SUCCESS' | 'FAILED' | 'REJECTED' | 'DEACTIVE' | 'SETTLED' | null;
|
|
412
198
|
txId?: string | null;
|
|
413
199
|
paymentUrl?: string | null;
|
|
414
200
|
redirectUrl?: string | null;
|
|
@@ -421,168 +207,130 @@ export interface Transaction {
|
|
|
421
207
|
settleBank?: string | null;
|
|
422
208
|
settledAt?: string | null;
|
|
423
209
|
sourceAccount?: string | null;
|
|
210
|
+
avatar?: string | null;
|
|
211
|
+
title?: string | null;
|
|
424
212
|
description?: string | null;
|
|
213
|
+
platform?: 'PARAND' | 'STORE' | 'DOCTOR' | 'BOOK' | 'GOLD' | 'CORE' | null;
|
|
425
214
|
gateway?: CoinGateway | null;
|
|
426
215
|
wallet?: Wallet | null;
|
|
427
216
|
toWallet?: Wallet | null;
|
|
428
217
|
user?: User | null;
|
|
429
|
-
booking?: Booking | null;
|
|
430
218
|
discount?: DiscountCode | null;
|
|
431
219
|
createdAt?: string | null;
|
|
432
220
|
updatedAt?: string | null;
|
|
433
221
|
userId?: string | null;
|
|
434
222
|
gatewayId?: string | null;
|
|
435
223
|
discountCode?: string | null;
|
|
224
|
+
foodOrderId?: string | null;
|
|
225
|
+
storeOrderId?: string | null;
|
|
226
|
+
bookingId?: string | null;
|
|
227
|
+
doctorBookingId?: string | null;
|
|
436
228
|
walletId?: string | null;
|
|
437
229
|
toWalletId?: string | null;
|
|
438
|
-
bookingId?: string | null;
|
|
439
230
|
}
|
|
440
|
-
export interface
|
|
231
|
+
export interface DiscountCode {
|
|
441
232
|
id?: string;
|
|
442
|
-
|
|
443
|
-
|
|
233
|
+
code: string;
|
|
234
|
+
percent: number | {};
|
|
444
235
|
minPrice?: number | {} | null;
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
place?: Place;
|
|
452
|
-
provider?: Provider | null;
|
|
453
|
-
activeDays: string[];
|
|
454
|
-
status?: "PENDING" | "ACTIVE" | "ACCEPTED" | "SUCCESS" | "FAILED" | "REJECTED" | "DEACTIVE" | "SETTLED" | null;
|
|
455
|
-
createdAt?: string;
|
|
456
|
-
updatedAt?: string | null;
|
|
457
|
-
placeId: string;
|
|
458
|
-
providerId?: string | null;
|
|
459
|
-
bookings?: Booking[];
|
|
460
|
-
bookingServices?: BookingService[];
|
|
461
|
-
}
|
|
462
|
-
export interface Place {
|
|
463
|
-
id?: string;
|
|
464
|
-
name: string;
|
|
465
|
-
bannerImage?: string | null;
|
|
466
|
-
avatar?: string | null;
|
|
467
|
-
description?: string | null;
|
|
468
|
-
address?: string | null;
|
|
469
|
-
location?: Location;
|
|
470
|
-
licenseImage?: string | null;
|
|
471
|
-
licenseNumber?: string | null;
|
|
472
|
-
phoneNumbers?: string[];
|
|
473
|
-
images?: string[];
|
|
474
|
-
authStatus?: "PENDING" | "AUTHORIZED" | "REJECTED" | null;
|
|
475
|
-
city?: InputOption;
|
|
476
|
-
province?: InputOption;
|
|
477
|
-
area?: InputOption | null;
|
|
478
|
-
user?: User;
|
|
479
|
-
cityKey: string;
|
|
480
|
-
provinceKey: string;
|
|
481
|
-
areaKey?: string | null;
|
|
482
|
-
category?: InputOption;
|
|
483
|
-
categoryKey: string;
|
|
484
|
-
subCategoriesKey?: string[];
|
|
485
|
-
createdAt?: string;
|
|
236
|
+
maxPrice?: number | {} | null;
|
|
237
|
+
allTimes?: number | null;
|
|
238
|
+
perUserTimes?: number | null;
|
|
239
|
+
user?: User | null;
|
|
240
|
+
expiredAt?: string | null;
|
|
241
|
+
createdAt?: string | null;
|
|
486
242
|
updatedAt?: string | null;
|
|
487
|
-
userId
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
243
|
+
userId?: string | null;
|
|
244
|
+
categoryKey?: string | null;
|
|
245
|
+
appCode?: string | null;
|
|
246
|
+
transactions?: Transaction[] | {};
|
|
491
247
|
}
|
|
492
|
-
export interface
|
|
248
|
+
export interface GiftCard {
|
|
493
249
|
id?: string;
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
status?:
|
|
499
|
-
createdAt?: string;
|
|
250
|
+
code: string;
|
|
251
|
+
amount: number | {};
|
|
252
|
+
coin?: Coin;
|
|
253
|
+
user?: User | null;
|
|
254
|
+
status?: 'PENDING' | 'ACTIVE' | 'ACCEPTED' | 'SUCCESS' | 'FAILED' | 'REJECTED' | 'DEACTIVE' | 'SETTLED' | null;
|
|
255
|
+
createdAt?: string | null;
|
|
500
256
|
updatedAt?: string | null;
|
|
257
|
+
coinId: string;
|
|
258
|
+
userId?: string | null;
|
|
501
259
|
}
|
|
502
|
-
export interface
|
|
260
|
+
export interface Address {
|
|
503
261
|
id?: string;
|
|
504
|
-
|
|
262
|
+
key?: number | null;
|
|
263
|
+
title?: string | null;
|
|
264
|
+
location?: Location;
|
|
265
|
+
address: string;
|
|
505
266
|
description?: string | null;
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
duration: string;
|
|
509
|
-
user?: Provider;
|
|
510
|
-
subCategoryKey: string;
|
|
511
|
-
createdAt?: string;
|
|
512
|
-
updatedAt?: string | null;
|
|
513
|
-
providerId: string;
|
|
514
|
-
bookingServices?: BookingService[];
|
|
515
|
-
}
|
|
516
|
-
export interface Bookmark {
|
|
517
|
-
id?: string;
|
|
518
|
-
user?: User;
|
|
267
|
+
phoneNumber?: string | null;
|
|
268
|
+
user?: User | null;
|
|
519
269
|
createdAt?: string | null;
|
|
520
270
|
updatedAt?: string | null;
|
|
521
|
-
userId
|
|
522
|
-
|
|
523
|
-
|
|
271
|
+
userId?: string | null;
|
|
272
|
+
areaKey?: string | null;
|
|
273
|
+
cityKey?: string | null;
|
|
524
274
|
}
|
|
525
|
-
export interface
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
provider?: Provider;
|
|
530
|
-
createdAt?: string;
|
|
531
|
-
updatedAt?: string | null;
|
|
532
|
-
providerId: string;
|
|
275
|
+
export interface Location {
|
|
276
|
+
lat: number | {};
|
|
277
|
+
lng: number | {};
|
|
278
|
+
exact?: boolean | null;
|
|
533
279
|
}
|
|
534
|
-
export interface
|
|
280
|
+
export interface Module {
|
|
535
281
|
id?: string;
|
|
536
|
-
title
|
|
537
|
-
|
|
282
|
+
title?: string | null;
|
|
283
|
+
icon?: string | null;
|
|
284
|
+
link: string;
|
|
285
|
+
priority: number | {};
|
|
286
|
+
side?: 'USER' | 'PROVIDER' | 'COLLEAGUE' | null;
|
|
287
|
+
class?: string | null;
|
|
288
|
+
status?: 'PENDING' | 'ACTIVE' | 'ACCEPTED' | 'SUCCESS' | 'FAILED' | 'REJECTED' | 'DEACTIVE' | 'SETTLED' | null;
|
|
538
289
|
createdAt?: string;
|
|
539
290
|
updatedAt?: string | null;
|
|
540
291
|
}
|
|
541
|
-
export interface
|
|
292
|
+
export interface Banner {
|
|
542
293
|
id?: string;
|
|
543
|
-
|
|
294
|
+
key: string;
|
|
544
295
|
title?: string | null;
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
lowerText?: string | null;
|
|
296
|
+
description?: string | null;
|
|
297
|
+
links?: Link[] | {};
|
|
548
298
|
createdAt?: string;
|
|
549
299
|
updatedAt?: string | null;
|
|
300
|
+
sections?: Section[] | {};
|
|
550
301
|
}
|
|
551
|
-
export interface
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
courierLeadPhoneNumber?: string | null;
|
|
557
|
-
providerImage?: string | null;
|
|
558
|
-
invitePrize?: number | {} | null;
|
|
559
|
-
createdAt?: string;
|
|
560
|
-
updatedAt?: string | null;
|
|
302
|
+
export interface Link {
|
|
303
|
+
title?: string | null;
|
|
304
|
+
description?: string | null;
|
|
305
|
+
image?: string | null;
|
|
306
|
+
link: string;
|
|
561
307
|
}
|
|
562
|
-
export interface
|
|
308
|
+
export interface Section {
|
|
563
309
|
id?: string;
|
|
564
310
|
priority?: number | {} | null;
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
createdAt?: string;
|
|
311
|
+
key: string;
|
|
312
|
+
banner?: Banner | null;
|
|
313
|
+
slider?: Slider | null;
|
|
314
|
+
createdAt?: string | null;
|
|
569
315
|
updatedAt?: string | null;
|
|
316
|
+
bannerId?: string | null;
|
|
317
|
+
sliderId?: string | null;
|
|
570
318
|
}
|
|
571
|
-
export interface
|
|
319
|
+
export interface Slider {
|
|
572
320
|
id?: string;
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
321
|
+
type: 'category' | 'shop' | 'provider';
|
|
322
|
+
title?: string | null;
|
|
323
|
+
description?: string | null;
|
|
324
|
+
query?: string | null;
|
|
325
|
+
appCode: string;
|
|
577
326
|
createdAt?: string;
|
|
578
327
|
updatedAt?: string | null;
|
|
579
|
-
|
|
580
|
-
questionId: string;
|
|
328
|
+
sections?: Section[] | {};
|
|
581
329
|
}
|
|
582
330
|
export interface File {
|
|
583
331
|
id?: string;
|
|
584
332
|
path: string;
|
|
585
|
-
drive?:
|
|
333
|
+
drive?: 'S3' | 'LOCAL' | 'GCS' | null;
|
|
586
334
|
url: string;
|
|
587
335
|
baseUrl?: string | null;
|
|
588
336
|
createdAt?: string | null;
|
|
@@ -592,7 +340,7 @@ export interface Lang {
|
|
|
592
340
|
id?: string;
|
|
593
341
|
title: string;
|
|
594
342
|
code: string;
|
|
595
|
-
dir:
|
|
343
|
+
dir: 'ltr' | 'rtl';
|
|
596
344
|
image?: string | null;
|
|
597
345
|
dateTimeFormat?: string | null;
|
|
598
346
|
json: number | string | boolean | {} | unknown[] | null;
|
|
@@ -603,9 +351,44 @@ export interface TableTemplate {
|
|
|
603
351
|
id?: string;
|
|
604
352
|
title: string;
|
|
605
353
|
coll?: string | null;
|
|
606
|
-
selected?: string[];
|
|
354
|
+
selected?: string[] | {};
|
|
607
355
|
relQuery?: number | string | boolean | {} | unknown[] | null;
|
|
608
|
-
targets?: string[];
|
|
356
|
+
targets?: string[] | {};
|
|
357
|
+
createdAt?: string | null;
|
|
358
|
+
updatedAt?: string | null;
|
|
359
|
+
listTemplates?: ListTemplate[] | {};
|
|
360
|
+
}
|
|
361
|
+
export interface ListTemplate {
|
|
362
|
+
id?: string;
|
|
363
|
+
title: string;
|
|
364
|
+
coll: string;
|
|
365
|
+
filterTemplate?: FilterTemplate;
|
|
366
|
+
tableTemplate?: TableTemplate;
|
|
367
|
+
sort?: string | null;
|
|
368
|
+
sortType?: 'ASC' | 'DESC' | null;
|
|
369
|
+
limit?: number | null;
|
|
370
|
+
skip: number;
|
|
371
|
+
createdAt?: string | null;
|
|
372
|
+
updatedAt?: string | null;
|
|
373
|
+
filterTemplateId: string;
|
|
374
|
+
tableTemplateId: string;
|
|
375
|
+
}
|
|
376
|
+
export interface FilterTemplate {
|
|
377
|
+
id?: string;
|
|
378
|
+
title: string;
|
|
379
|
+
coll?: string | null;
|
|
380
|
+
query?: number | string | boolean | {} | unknown[] | null;
|
|
381
|
+
createdAt?: string | null;
|
|
382
|
+
updatedAt?: string | null;
|
|
383
|
+
listTemplates?: ListTemplate[] | {};
|
|
384
|
+
}
|
|
385
|
+
export interface ChartTemplate {
|
|
386
|
+
id?: string;
|
|
387
|
+
title: string;
|
|
388
|
+
inputData?: number | string | boolean | {} | unknown[] | null;
|
|
389
|
+
mapData?: number | string | boolean | {} | unknown[] | null;
|
|
390
|
+
options?: number | string | boolean | {} | unknown[] | null;
|
|
391
|
+
baseDataRaw?: string | null;
|
|
609
392
|
createdAt?: string | null;
|
|
610
393
|
updatedAt?: string | null;
|
|
611
394
|
}
|
|
@@ -630,7 +413,7 @@ export interface NotificationBody {
|
|
|
630
413
|
message?: string | null;
|
|
631
414
|
sender?: string | null;
|
|
632
415
|
token?: string | null;
|
|
633
|
-
tokens?: string[];
|
|
416
|
+
tokens?: string[] | {};
|
|
634
417
|
messageObject?: NotificationOptions | null;
|
|
635
418
|
}
|
|
636
419
|
export interface NotificationOptions {
|
|
@@ -638,7 +421,7 @@ export interface NotificationOptions {
|
|
|
638
421
|
body?: string | null;
|
|
639
422
|
badge?: string | null;
|
|
640
423
|
data?: number | string | boolean | {} | unknown[] | null;
|
|
641
|
-
dir?:
|
|
424
|
+
dir?: 'auto' | 'ltr' | 'rtl' | null;
|
|
642
425
|
icon?: string | null;
|
|
643
426
|
lang?: string | null;
|
|
644
427
|
requireInteraction?: boolean | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unsource/ui",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "nuxt ui kit for unsource env",
|
|
6
6
|
"repository": "https://github.com/alisa2142/unsource-ui",
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"@vueuse/nuxt": "^13.9.0",
|
|
49
49
|
"ajv": "^8.17.1",
|
|
50
50
|
"big.js": "^7.0.1",
|
|
51
|
+
"defu": "^6.1.4",
|
|
51
52
|
"handlebars": "^4.7.8",
|
|
52
53
|
"jalali-moment": "^3.3.11",
|
|
53
54
|
"numeral": "^2.0.6",
|
|
@@ -61,8 +62,7 @@
|
|
|
61
62
|
"vue-json-pretty": "^2.6.0",
|
|
62
63
|
"vue3-otp-input": "^0.5.40",
|
|
63
64
|
"vue3-persian-datetime-picker": "^1.2.2",
|
|
64
|
-
"vue3-toastify": "^0.2.8"
|
|
65
|
-
"defu": "^6.1.4"
|
|
65
|
+
"vue3-toastify": "^0.2.8"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"ajv": "^8.17.1",
|