adata-ui 3.1.83 → 3.1.85

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 CHANGED
@@ -5,7 +5,7 @@
5
5
  "nuxt": ">=3.16.0"
6
6
  },
7
7
  "failOnWarn": false,
8
- "version": "3.1.83",
8
+ "version": "3.1.85",
9
9
  "builder": {
10
10
  "@nuxt/module-builder": "1.0.1",
11
11
  "unbuild": "3.5.0"
@@ -27,9 +27,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
27
27
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
28
28
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
29
29
  }>, {
30
+ side: "right" | "left" | "top" | "bottom";
30
31
  width: number;
31
32
  height: number;
32
- side: "right" | "left" | "top" | "bottom";
33
33
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
34
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
35
35
  export default _default;
@@ -21,12 +21,12 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
21
21
  view: "default" | "outline" | "transparent";
22
22
  form: "icon" | "button";
23
23
  disabled: boolean;
24
+ to: string;
24
25
  variant: "primary" | "success" | "danger" | "gray" | "ghost";
25
26
  iconClass: string;
26
27
  loading: boolean;
27
28
  block: boolean;
28
29
  active: boolean;
29
- to: string;
30
30
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
31
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
32
32
  export default _default;
@@ -15,6 +15,7 @@ import IHistory from "#icons/history.vue";
15
15
  import IUsers from "#icons/users/users.vue";
16
16
  import IMessage from "#icons/message.vue";
17
17
  import { useMediaQuery } from "@vueuse/core";
18
+ import { usePayment } from "#adata-ui/composables/usePayment";
18
19
  const props = defineProps({
19
20
  rate: { type: String, required: true },
20
21
  daysRemaining: { type: Number, required: false, default: 0 },
@@ -74,10 +75,10 @@ const items = [
74
75
  to: `https://${mode}.kz` + PAGES.profile.notes
75
76
  }
76
77
  ];
78
+ const { topUpSidePanel, rateId } = usePayment();
77
79
  const onReplenish = () => {
78
- if (window) {
79
- window.location.href = `https://${mode}.kz/profile?popupBalance=1`;
80
- }
80
+ rateId.value = "";
81
+ topUpSidePanel.value = true;
81
82
  };
82
83
  </script>
83
84
 
@@ -2,6 +2,7 @@
2
2
  import { handleElementPosition } from "#adata-ui/utils/getMaxZindex";
3
3
  import { useI18n } from "#i18n";
4
4
  import { usePayment } from "#adata-ui/composables/usePayment";
5
+ import { useState } from "#imports";
5
6
  import AModal from "#adata-ui/components/Modal.vue";
6
7
  import AIllEmptyWallet from "#adata-ui/illustrations/empty-wallet.vue";
7
8
  import AButton from "#adata-ui/components/button/Button.vue";
@@ -100,9 +100,9 @@ async function onResend() {
100
100
  $toast.error(error.data);
101
101
  }
102
102
  }
103
- const timer = ref(60);
103
+ const timer = ref(120);
104
104
  function runTimer() {
105
- timer.value = 60;
105
+ timer.value = 120;
106
106
  const intervalId = setInterval(() => {
107
107
  if (!timer.value) clearInterval(intervalId);
108
108
  return timer.value--;
@@ -73,9 +73,9 @@ function handleEnter(e) {
73
73
  onConfirm();
74
74
  }
75
75
  }
76
- const timer = ref(60);
76
+ const timer = ref(120);
77
77
  function runTimer() {
78
- timer.value = 60;
78
+ timer.value = 120;
79
79
  const intervalId = setInterval(() => {
80
80
  if (!timer.value) clearInterval(intervalId);
81
81
  return timer.value--;
@@ -1,7 +1,7 @@
1
1
  <script setup>
2
2
  import { removeTrailingSlash } from "#adata-ui/utils/removeTrailingSlash";
3
3
  import { ref } from "vue";
4
- import { useAppConfig, useCookie, useI18n, useNuxtApp } from "#imports";
4
+ import { useAppConfig, useCookie, useI18n, useNuxtApp, useState } from "#imports";
5
5
  import PaymentKaspiQrSidePanel from "#adata-ui/components/payment/process/PaymentKaspiQrSidePanel.vue";
6
6
  import PaymentMethodSidePanel from "#adata-ui/components/payment/process/PaymentMethodSidePanel.vue";
7
7
  import PaymentTopUpSidePanel from "#adata-ui/components/payment/process/PaymentTopUpSidePanel.vue";
@@ -44,6 +44,15 @@ function onBack(type) {
44
44
  methodSidePanel.value = true;
45
45
  }
46
46
  }
47
+ const userInfo = useState("user-info", () => ({}));
48
+ function pushReplenishmentEventToDataLayer() {
49
+ window.dataLayer?.push({
50
+ event: "replenishment",
51
+ user_id: `${userInfo.value.id}`,
52
+ user_email: `${userInfo.value.email}`,
53
+ rep_amount: `${paymentSum.value}`
54
+ });
55
+ }
47
56
  async function directionsBanks(bank, sum) {
48
57
  methodSidePanel.value = false;
49
58
  if (bank === "kaspi") {
@@ -70,10 +79,12 @@ async function directionsBanks(bank, sum) {
70
79
  }
71
80
  } else if (bank === "other") {
72
81
  await payByCard(sum);
82
+ pushReplenishmentEventToDataLayer();
73
83
  }
74
84
  }
75
85
  async function updateUserRate() {
76
86
  try {
87
+ pushReplenishmentEventToDataLayer();
77
88
  window.location.reload();
78
89
  } catch (error) {
79
90
  $toast.error(error.data.message);
@@ -1,2 +1,2 @@
1
- export declare const useCurrentModule: () => any;
2
- export declare const useContacts: () => any;
1
+ export declare const useCurrentModule: () => import("vue").Ref<string, string>;
2
+ export declare const useContacts: () => import("vue").Ref<any, any>;
@@ -1,7 +1,7 @@
1
1
  export declare function useBuyTariffs(): {
2
2
  buyTariff: (tariffs: any) => Promise<void>;
3
3
  viaKaspiBank: (tariffId: any, sum: any) => Promise<void>;
4
- checkNumber: any;
4
+ checkNumber: import("vue").Ref<number, number>;
5
5
  leaveRequest: (name: any, email: any, phone: any, comment: any, rateCode?: any) => Promise<void>;
6
- messageRate: any;
6
+ messageRate: import("vue").Ref<null, null>;
7
7
  };
@@ -1,5 +1,5 @@
1
1
  import { removeTrailingSlash } from "#adata-ui/utils/removeTrailingSlash";
2
- import { useLocalePath, useI18n } from "#i18n";
2
+ import { useAppConfig, useCookie, useI18n, useLocalePath, ref, computed } from "#imports";
3
3
  export function useBuyTariffs() {
4
4
  const { commonAuth } = useAppConfig();
5
5
  const userApiURL = commonAuth.userApiURL;
@@ -1,13 +1,23 @@
1
1
  export declare function useIdModals(): {
2
- accessModal: any;
3
- loginModal: any;
4
- twoFactorModal: any;
5
- registrationModal: any;
6
- confirmAccountOtpModal: any;
7
- recoveryModal: any;
8
- resetPasswordOtpModal: any;
9
- newPasswordModal: any;
10
- passwordSuccessfulModal: any;
11
- confirmSuccessfulModal: any;
12
- intermediateState: any;
2
+ accessModal: import("vue").Ref<boolean, boolean>;
3
+ loginModal: import("vue").Ref<boolean, boolean>;
4
+ twoFactorModal: import("vue").Ref<boolean, boolean>;
5
+ registrationModal: import("vue").Ref<boolean, boolean>;
6
+ confirmAccountOtpModal: import("vue").Ref<boolean, boolean>;
7
+ recoveryModal: import("vue").Ref<boolean, boolean>;
8
+ resetPasswordOtpModal: import("vue").Ref<boolean, boolean>;
9
+ newPasswordModal: import("vue").Ref<boolean, boolean>;
10
+ passwordSuccessfulModal: import("vue").Ref<boolean, boolean>;
11
+ confirmSuccessfulModal: import("vue").Ref<boolean, boolean>;
12
+ intermediateState: import("vue").Ref<{
13
+ email: string;
14
+ password: string;
15
+ otp: string;
16
+ token: string;
17
+ }, {
18
+ email: string;
19
+ password: string;
20
+ otp: string;
21
+ token: string;
22
+ }>;
13
23
  };
@@ -1,8 +1,8 @@
1
1
  export declare function usePayment(): {
2
- rateId: any;
3
- topUpSidePanel: any;
4
- methodSidePanel: any;
5
- kaspiQRSidePanel: any;
6
- kaspiRedirectSidePanel: any;
2
+ rateId: import("vue").Ref<string, string>;
3
+ topUpSidePanel: import("vue").Ref<boolean, boolean>;
4
+ methodSidePanel: import("vue").Ref<boolean, boolean>;
5
+ kaspiQRSidePanel: import("vue").Ref<boolean, boolean>;
6
+ kaspiRedirectSidePanel: import("vue").Ref<boolean, boolean>;
7
7
  payByCard: (sum: number, rate?: any) => Promise<void>;
8
8
  };
@@ -1,2 +1,2 @@
1
- declare const _default: any;
1
+ declare const _default: import("#app").Plugin<Record<string, unknown>> & import("#app").ObjectPlugin<Record<string, unknown>>;
2
2
  export default _default;
@@ -1,3 +1,505 @@
1
1
  import 'vue3-toastify/dist/index.css';
2
- declare const _default: any;
2
+ declare const _default: import("#app").Plugin<{
3
+ toast: {
4
+ success: (message: string, options?: any) => void;
5
+ error: (message: string, options?: any) => void;
6
+ info(content: import("vue3-toastify").Content, options?: {
7
+ progress?: number | undefined;
8
+ data?: {} | undefined;
9
+ toastId?: import("vue3-toastify").Id | undefined;
10
+ updateId?: import("vue3-toastify").Id | undefined;
11
+ content?: import("vue3-toastify").Content;
12
+ delay?: number | undefined;
13
+ onOpen?: (<T = {}>(props: T) => void) | undefined;
14
+ onClose?: (<T = {}>(props: T) => void) | undefined;
15
+ onClick?: ((event: MouseEvent) => void) | undefined;
16
+ toastStyle?: Record<string, any> | undefined;
17
+ isLoading?: boolean | undefined;
18
+ dangerouslyHTMLString?: boolean | undefined;
19
+ rtl?: boolean | undefined;
20
+ containerId?: import("vue3-toastify").Id | undefined;
21
+ position?: import("vue3-toastify").ToastPosition | undefined;
22
+ autoClose?: number | boolean | undefined;
23
+ closeButton?: import("vue3-toastify").CloseBtnType | undefined;
24
+ transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
25
+ hideProgressBar?: boolean | undefined;
26
+ pauseOnHover?: boolean | undefined;
27
+ pauseOnFocusLoss?: boolean | undefined;
28
+ closeOnClick?: boolean | undefined;
29
+ toastClassName?: string | undefined;
30
+ bodyClassName?: string | undefined;
31
+ style?: Record<string, any> | undefined;
32
+ progressClassName?: string | undefined;
33
+ progressStyle?: Record<string, any> | undefined;
34
+ role?: string | undefined;
35
+ theme?: import("vue3-toastify").ToastTheme | undefined;
36
+ icon?: import("vue3-toastify").IconType | undefined;
37
+ contentProps?: Record<string, any> | undefined;
38
+ expandCustomProps?: boolean | undefined;
39
+ useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
40
+ }): import("vue3-toastify").Id;
41
+ warning(content: import("vue3-toastify").Content, options?: {
42
+ progress?: number | undefined;
43
+ data?: {} | undefined;
44
+ toastId?: import("vue3-toastify").Id | undefined;
45
+ updateId?: import("vue3-toastify").Id | undefined;
46
+ content?: import("vue3-toastify").Content;
47
+ delay?: number | undefined;
48
+ onOpen?: (<T = {}>(props: T) => void) | undefined;
49
+ onClose?: (<T = {}>(props: T) => void) | undefined;
50
+ onClick?: ((event: MouseEvent) => void) | undefined;
51
+ toastStyle?: Record<string, any> | undefined;
52
+ isLoading?: boolean | undefined;
53
+ dangerouslyHTMLString?: boolean | undefined;
54
+ rtl?: boolean | undefined;
55
+ containerId?: import("vue3-toastify").Id | undefined;
56
+ position?: import("vue3-toastify").ToastPosition | undefined;
57
+ autoClose?: number | boolean | undefined;
58
+ closeButton?: import("vue3-toastify").CloseBtnType | undefined;
59
+ transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
60
+ hideProgressBar?: boolean | undefined;
61
+ pauseOnHover?: boolean | undefined;
62
+ pauseOnFocusLoss?: boolean | undefined;
63
+ closeOnClick?: boolean | undefined;
64
+ toastClassName?: string | undefined;
65
+ bodyClassName?: string | undefined;
66
+ style?: Record<string, any> | undefined;
67
+ progressClassName?: string | undefined;
68
+ progressStyle?: Record<string, any> | undefined;
69
+ role?: string | undefined;
70
+ theme?: import("vue3-toastify").ToastTheme | undefined;
71
+ icon?: import("vue3-toastify").IconType | undefined;
72
+ contentProps?: Record<string, any> | undefined;
73
+ expandCustomProps?: boolean | undefined;
74
+ useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
75
+ }): import("vue3-toastify").Id;
76
+ warn: (content: import("vue3-toastify").Content, options?: {
77
+ progress?: number | undefined;
78
+ data?: {} | undefined;
79
+ toastId?: import("vue3-toastify").Id | undefined;
80
+ updateId?: import("vue3-toastify").Id | undefined;
81
+ content?: import("vue3-toastify").Content;
82
+ delay?: number | undefined;
83
+ onOpen?: (<T = {}>(props: T) => void) | undefined;
84
+ onClose?: (<T = {}>(props: T) => void) | undefined;
85
+ onClick?: ((event: MouseEvent) => void) | undefined;
86
+ toastStyle?: Record<string, any> | undefined;
87
+ isLoading?: boolean | undefined;
88
+ dangerouslyHTMLString?: boolean | undefined;
89
+ rtl?: boolean | undefined;
90
+ containerId?: import("vue3-toastify").Id | undefined;
91
+ position?: import("vue3-toastify").ToastPosition | undefined;
92
+ autoClose?: number | boolean | undefined;
93
+ closeButton?: import("vue3-toastify").CloseBtnType | undefined;
94
+ transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
95
+ hideProgressBar?: boolean | undefined;
96
+ pauseOnHover?: boolean | undefined;
97
+ pauseOnFocusLoss?: boolean | undefined;
98
+ closeOnClick?: boolean | undefined;
99
+ toastClassName?: string | undefined;
100
+ bodyClassName?: string | undefined;
101
+ style?: Record<string, any> | undefined;
102
+ progressClassName?: string | undefined;
103
+ progressStyle?: Record<string, any> | undefined;
104
+ role?: string | undefined;
105
+ theme?: import("vue3-toastify").ToastTheme | undefined;
106
+ icon?: import("vue3-toastify").IconType | undefined;
107
+ contentProps?: Record<string, any> | undefined;
108
+ expandCustomProps?: boolean | undefined;
109
+ useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
110
+ }) => import("vue3-toastify").Id;
111
+ loading(content: import("vue3-toastify").Content, options?: {
112
+ progress?: number | undefined;
113
+ data?: {} | undefined;
114
+ type?: import("vue3-toastify").ToastType | undefined;
115
+ disabledEnterTransition?: boolean | undefined;
116
+ toastId?: import("vue3-toastify").Id | undefined;
117
+ updateId?: import("vue3-toastify").Id | undefined;
118
+ content?: import("vue3-toastify").Content;
119
+ delay?: number | undefined;
120
+ onOpen?: (<T = {}>(props: T) => void) | undefined;
121
+ onClose?: (<T = {}>(props: T) => void) | undefined;
122
+ onClick?: ((event: MouseEvent) => void) | undefined;
123
+ toastStyle?: Record<string, any> | undefined;
124
+ dangerouslyHTMLString?: boolean | undefined;
125
+ rtl?: boolean | undefined;
126
+ containerId?: import("vue3-toastify").Id | undefined;
127
+ position?: import("vue3-toastify").ToastPosition | undefined;
128
+ autoClose?: number | boolean | undefined;
129
+ closeButton?: import("vue3-toastify").CloseBtnType | undefined;
130
+ transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
131
+ hideProgressBar?: boolean | undefined;
132
+ pauseOnHover?: boolean | undefined;
133
+ pauseOnFocusLoss?: boolean | undefined;
134
+ closeOnClick?: boolean | undefined;
135
+ toastClassName?: string | undefined;
136
+ bodyClassName?: string | undefined;
137
+ style?: Record<string, any> | undefined;
138
+ progressClassName?: string | undefined;
139
+ progressStyle?: Record<string, any> | undefined;
140
+ role?: string | undefined;
141
+ theme?: import("vue3-toastify").ToastTheme | undefined;
142
+ icon?: import("vue3-toastify").IconType | undefined;
143
+ contentProps?: Record<string, any> | undefined;
144
+ expandCustomProps?: boolean | undefined;
145
+ useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
146
+ }): import("vue3-toastify").Id;
147
+ dark(content: import("vue3-toastify").Content, options?: {
148
+ progress?: number | undefined;
149
+ data?: {} | undefined;
150
+ type?: import("vue3-toastify").ToastType | undefined;
151
+ disabledEnterTransition?: boolean | undefined;
152
+ toastId?: import("vue3-toastify").Id | undefined;
153
+ updateId?: import("vue3-toastify").Id | undefined;
154
+ content?: import("vue3-toastify").Content;
155
+ delay?: number | undefined;
156
+ onOpen?: (<T = {}>(props: T) => void) | undefined;
157
+ onClose?: (<T = {}>(props: T) => void) | undefined;
158
+ onClick?: ((event: MouseEvent) => void) | undefined;
159
+ toastStyle?: Record<string, any> | undefined;
160
+ isLoading?: boolean | undefined;
161
+ dangerouslyHTMLString?: boolean | undefined;
162
+ rtl?: boolean | undefined;
163
+ containerId?: import("vue3-toastify").Id | undefined;
164
+ position?: import("vue3-toastify").ToastPosition | undefined;
165
+ autoClose?: number | boolean | undefined;
166
+ closeButton?: import("vue3-toastify").CloseBtnType | undefined;
167
+ transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
168
+ hideProgressBar?: boolean | undefined;
169
+ pauseOnHover?: boolean | undefined;
170
+ pauseOnFocusLoss?: boolean | undefined;
171
+ closeOnClick?: boolean | undefined;
172
+ toastClassName?: string | undefined;
173
+ bodyClassName?: string | undefined;
174
+ style?: Record<string, any> | undefined;
175
+ progressClassName?: string | undefined;
176
+ progressStyle?: Record<string, any> | undefined;
177
+ role?: string | undefined;
178
+ icon?: import("vue3-toastify").IconType | undefined;
179
+ contentProps?: Record<string, any> | undefined;
180
+ expandCustomProps?: boolean | undefined;
181
+ useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
182
+ }): import("vue3-toastify").Id;
183
+ remove(toastId?: import("vue3-toastify").Id): void;
184
+ clearAll(containerId?: import("vue3-toastify").Id, withExitAnimation?: boolean): void;
185
+ isActive(toastId: import("vue3-toastify").Id): boolean;
186
+ update(toastId: import("vue3-toastify").Id, options?: import("vue3-toastify").UpdateOptions): void;
187
+ done(id: import("vue3-toastify").Id): void;
188
+ promise: <T = unknown>(promise: Promise<T> | (() => Promise<T>), { pending, error, success }: import("vue3-toastify").ToastPromiseParams<T>, options?: {
189
+ progress?: number | undefined;
190
+ data?: {} | undefined;
191
+ type?: import("vue3-toastify").ToastType | undefined;
192
+ disabledEnterTransition?: boolean | undefined;
193
+ toastId?: import("vue3-toastify").Id | undefined;
194
+ updateId?: import("vue3-toastify").Id | undefined;
195
+ content?: import("vue3-toastify").Content;
196
+ delay?: number | undefined;
197
+ onOpen?: (<T_1 = {}>(props: T_1) => void) | undefined;
198
+ onClose?: (<T_1 = {}>(props: T_1) => void) | undefined;
199
+ onClick?: ((event: MouseEvent) => void) | undefined;
200
+ toastStyle?: Record<string, any> | undefined;
201
+ dangerouslyHTMLString?: boolean | undefined;
202
+ rtl?: boolean | undefined;
203
+ containerId?: import("vue3-toastify").Id | undefined;
204
+ position?: import("vue3-toastify").ToastPosition | undefined;
205
+ autoClose?: number | boolean | undefined;
206
+ closeButton?: import("vue3-toastify").CloseBtnType | undefined;
207
+ transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
208
+ hideProgressBar?: boolean | undefined;
209
+ pauseOnHover?: boolean | undefined;
210
+ pauseOnFocusLoss?: boolean | undefined;
211
+ closeOnClick?: boolean | undefined;
212
+ toastClassName?: string | undefined;
213
+ bodyClassName?: string | undefined;
214
+ style?: Record<string, any> | undefined;
215
+ progressClassName?: string | undefined;
216
+ progressStyle?: Record<string, any> | undefined;
217
+ role?: string | undefined;
218
+ theme?: import("vue3-toastify").ToastTheme | undefined;
219
+ icon?: import("vue3-toastify").IconType | undefined;
220
+ contentProps?: Record<string, any> | undefined;
221
+ expandCustomProps?: boolean | undefined;
222
+ useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
223
+ }) => Promise<T>;
224
+ POSITION: {
225
+ TOP_LEFT: import("vue3-toastify").ToastPosition;
226
+ TOP_RIGHT: import("vue3-toastify").ToastPosition;
227
+ TOP_CENTER: import("vue3-toastify").ToastPosition;
228
+ BOTTOM_LEFT: import("vue3-toastify").ToastPosition;
229
+ BOTTOM_RIGHT: import("vue3-toastify").ToastPosition;
230
+ BOTTOM_CENTER: import("vue3-toastify").ToastPosition;
231
+ };
232
+ THEME: {
233
+ AUTO: import("vue3-toastify").ToastTheme;
234
+ LIGHT: import("vue3-toastify").ToastTheme;
235
+ DARK: import("vue3-toastify").ToastTheme;
236
+ COLORED: import("vue3-toastify").ToastTheme;
237
+ };
238
+ TYPE: {
239
+ INFO: import("vue3-toastify").ToastType;
240
+ SUCCESS: import("vue3-toastify").ToastType;
241
+ WARNING: import("vue3-toastify").ToastType;
242
+ ERROR: import("vue3-toastify").ToastType;
243
+ DEFAULT: import("vue3-toastify").ToastType;
244
+ };
245
+ TRANSITIONS: {
246
+ FLIP: import("vue3-toastify").ToastTransition;
247
+ SLIDE: import("vue3-toastify").ToastTransition;
248
+ ZOOM: import("vue3-toastify").ToastTransition;
249
+ BOUNCE: import("vue3-toastify").ToastTransition;
250
+ NONE: import("vue3-toastify").ToastTransition;
251
+ };
252
+ };
253
+ }> & import("#app").ObjectPlugin<{
254
+ toast: {
255
+ success: (message: string, options?: any) => void;
256
+ error: (message: string, options?: any) => void;
257
+ info(content: import("vue3-toastify").Content, options?: {
258
+ progress?: number | undefined;
259
+ data?: {} | undefined;
260
+ toastId?: import("vue3-toastify").Id | undefined;
261
+ updateId?: import("vue3-toastify").Id | undefined;
262
+ content?: import("vue3-toastify").Content;
263
+ delay?: number | undefined;
264
+ onOpen?: (<T = {}>(props: T) => void) | undefined;
265
+ onClose?: (<T = {}>(props: T) => void) | undefined;
266
+ onClick?: ((event: MouseEvent) => void) | undefined;
267
+ toastStyle?: Record<string, any> | undefined;
268
+ isLoading?: boolean | undefined;
269
+ dangerouslyHTMLString?: boolean | undefined;
270
+ rtl?: boolean | undefined;
271
+ containerId?: import("vue3-toastify").Id | undefined;
272
+ position?: import("vue3-toastify").ToastPosition | undefined;
273
+ autoClose?: number | boolean | undefined;
274
+ closeButton?: import("vue3-toastify").CloseBtnType | undefined;
275
+ transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
276
+ hideProgressBar?: boolean | undefined;
277
+ pauseOnHover?: boolean | undefined;
278
+ pauseOnFocusLoss?: boolean | undefined;
279
+ closeOnClick?: boolean | undefined;
280
+ toastClassName?: string | undefined;
281
+ bodyClassName?: string | undefined;
282
+ style?: Record<string, any> | undefined;
283
+ progressClassName?: string | undefined;
284
+ progressStyle?: Record<string, any> | undefined;
285
+ role?: string | undefined;
286
+ theme?: import("vue3-toastify").ToastTheme | undefined;
287
+ icon?: import("vue3-toastify").IconType | undefined;
288
+ contentProps?: Record<string, any> | undefined;
289
+ expandCustomProps?: boolean | undefined;
290
+ useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
291
+ }): import("vue3-toastify").Id;
292
+ warning(content: import("vue3-toastify").Content, options?: {
293
+ progress?: number | undefined;
294
+ data?: {} | undefined;
295
+ toastId?: import("vue3-toastify").Id | undefined;
296
+ updateId?: import("vue3-toastify").Id | undefined;
297
+ content?: import("vue3-toastify").Content;
298
+ delay?: number | undefined;
299
+ onOpen?: (<T = {}>(props: T) => void) | undefined;
300
+ onClose?: (<T = {}>(props: T) => void) | undefined;
301
+ onClick?: ((event: MouseEvent) => void) | undefined;
302
+ toastStyle?: Record<string, any> | undefined;
303
+ isLoading?: boolean | undefined;
304
+ dangerouslyHTMLString?: boolean | undefined;
305
+ rtl?: boolean | undefined;
306
+ containerId?: import("vue3-toastify").Id | undefined;
307
+ position?: import("vue3-toastify").ToastPosition | undefined;
308
+ autoClose?: number | boolean | undefined;
309
+ closeButton?: import("vue3-toastify").CloseBtnType | undefined;
310
+ transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
311
+ hideProgressBar?: boolean | undefined;
312
+ pauseOnHover?: boolean | undefined;
313
+ pauseOnFocusLoss?: boolean | undefined;
314
+ closeOnClick?: boolean | undefined;
315
+ toastClassName?: string | undefined;
316
+ bodyClassName?: string | undefined;
317
+ style?: Record<string, any> | undefined;
318
+ progressClassName?: string | undefined;
319
+ progressStyle?: Record<string, any> | undefined;
320
+ role?: string | undefined;
321
+ theme?: import("vue3-toastify").ToastTheme | undefined;
322
+ icon?: import("vue3-toastify").IconType | undefined;
323
+ contentProps?: Record<string, any> | undefined;
324
+ expandCustomProps?: boolean | undefined;
325
+ useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
326
+ }): import("vue3-toastify").Id;
327
+ warn: (content: import("vue3-toastify").Content, options?: {
328
+ progress?: number | undefined;
329
+ data?: {} | undefined;
330
+ toastId?: import("vue3-toastify").Id | undefined;
331
+ updateId?: import("vue3-toastify").Id | undefined;
332
+ content?: import("vue3-toastify").Content;
333
+ delay?: number | undefined;
334
+ onOpen?: (<T = {}>(props: T) => void) | undefined;
335
+ onClose?: (<T = {}>(props: T) => void) | undefined;
336
+ onClick?: ((event: MouseEvent) => void) | undefined;
337
+ toastStyle?: Record<string, any> | undefined;
338
+ isLoading?: boolean | undefined;
339
+ dangerouslyHTMLString?: boolean | undefined;
340
+ rtl?: boolean | undefined;
341
+ containerId?: import("vue3-toastify").Id | undefined;
342
+ position?: import("vue3-toastify").ToastPosition | undefined;
343
+ autoClose?: number | boolean | undefined;
344
+ closeButton?: import("vue3-toastify").CloseBtnType | undefined;
345
+ transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
346
+ hideProgressBar?: boolean | undefined;
347
+ pauseOnHover?: boolean | undefined;
348
+ pauseOnFocusLoss?: boolean | undefined;
349
+ closeOnClick?: boolean | undefined;
350
+ toastClassName?: string | undefined;
351
+ bodyClassName?: string | undefined;
352
+ style?: Record<string, any> | undefined;
353
+ progressClassName?: string | undefined;
354
+ progressStyle?: Record<string, any> | undefined;
355
+ role?: string | undefined;
356
+ theme?: import("vue3-toastify").ToastTheme | undefined;
357
+ icon?: import("vue3-toastify").IconType | undefined;
358
+ contentProps?: Record<string, any> | undefined;
359
+ expandCustomProps?: boolean | undefined;
360
+ useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
361
+ }) => import("vue3-toastify").Id;
362
+ loading(content: import("vue3-toastify").Content, options?: {
363
+ progress?: number | undefined;
364
+ data?: {} | undefined;
365
+ type?: import("vue3-toastify").ToastType | undefined;
366
+ disabledEnterTransition?: boolean | undefined;
367
+ toastId?: import("vue3-toastify").Id | undefined;
368
+ updateId?: import("vue3-toastify").Id | undefined;
369
+ content?: import("vue3-toastify").Content;
370
+ delay?: number | undefined;
371
+ onOpen?: (<T = {}>(props: T) => void) | undefined;
372
+ onClose?: (<T = {}>(props: T) => void) | undefined;
373
+ onClick?: ((event: MouseEvent) => void) | undefined;
374
+ toastStyle?: Record<string, any> | undefined;
375
+ dangerouslyHTMLString?: boolean | undefined;
376
+ rtl?: boolean | undefined;
377
+ containerId?: import("vue3-toastify").Id | undefined;
378
+ position?: import("vue3-toastify").ToastPosition | undefined;
379
+ autoClose?: number | boolean | undefined;
380
+ closeButton?: import("vue3-toastify").CloseBtnType | undefined;
381
+ transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
382
+ hideProgressBar?: boolean | undefined;
383
+ pauseOnHover?: boolean | undefined;
384
+ pauseOnFocusLoss?: boolean | undefined;
385
+ closeOnClick?: boolean | undefined;
386
+ toastClassName?: string | undefined;
387
+ bodyClassName?: string | undefined;
388
+ style?: Record<string, any> | undefined;
389
+ progressClassName?: string | undefined;
390
+ progressStyle?: Record<string, any> | undefined;
391
+ role?: string | undefined;
392
+ theme?: import("vue3-toastify").ToastTheme | undefined;
393
+ icon?: import("vue3-toastify").IconType | undefined;
394
+ contentProps?: Record<string, any> | undefined;
395
+ expandCustomProps?: boolean | undefined;
396
+ useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
397
+ }): import("vue3-toastify").Id;
398
+ dark(content: import("vue3-toastify").Content, options?: {
399
+ progress?: number | undefined;
400
+ data?: {} | undefined;
401
+ type?: import("vue3-toastify").ToastType | undefined;
402
+ disabledEnterTransition?: boolean | undefined;
403
+ toastId?: import("vue3-toastify").Id | undefined;
404
+ updateId?: import("vue3-toastify").Id | undefined;
405
+ content?: import("vue3-toastify").Content;
406
+ delay?: number | undefined;
407
+ onOpen?: (<T = {}>(props: T) => void) | undefined;
408
+ onClose?: (<T = {}>(props: T) => void) | undefined;
409
+ onClick?: ((event: MouseEvent) => void) | undefined;
410
+ toastStyle?: Record<string, any> | undefined;
411
+ isLoading?: boolean | undefined;
412
+ dangerouslyHTMLString?: boolean | undefined;
413
+ rtl?: boolean | undefined;
414
+ containerId?: import("vue3-toastify").Id | undefined;
415
+ position?: import("vue3-toastify").ToastPosition | undefined;
416
+ autoClose?: number | boolean | undefined;
417
+ closeButton?: import("vue3-toastify").CloseBtnType | undefined;
418
+ transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
419
+ hideProgressBar?: boolean | undefined;
420
+ pauseOnHover?: boolean | undefined;
421
+ pauseOnFocusLoss?: boolean | undefined;
422
+ closeOnClick?: boolean | undefined;
423
+ toastClassName?: string | undefined;
424
+ bodyClassName?: string | undefined;
425
+ style?: Record<string, any> | undefined;
426
+ progressClassName?: string | undefined;
427
+ progressStyle?: Record<string, any> | undefined;
428
+ role?: string | undefined;
429
+ icon?: import("vue3-toastify").IconType | undefined;
430
+ contentProps?: Record<string, any> | undefined;
431
+ expandCustomProps?: boolean | undefined;
432
+ useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
433
+ }): import("vue3-toastify").Id;
434
+ remove(toastId?: import("vue3-toastify").Id): void;
435
+ clearAll(containerId?: import("vue3-toastify").Id, withExitAnimation?: boolean): void;
436
+ isActive(toastId: import("vue3-toastify").Id): boolean;
437
+ update(toastId: import("vue3-toastify").Id, options?: import("vue3-toastify").UpdateOptions): void;
438
+ done(id: import("vue3-toastify").Id): void;
439
+ promise: <T = unknown>(promise: Promise<T> | (() => Promise<T>), { pending, error, success }: import("vue3-toastify").ToastPromiseParams<T>, options?: {
440
+ progress?: number | undefined;
441
+ data?: {} | undefined;
442
+ type?: import("vue3-toastify").ToastType | undefined;
443
+ disabledEnterTransition?: boolean | undefined;
444
+ toastId?: import("vue3-toastify").Id | undefined;
445
+ updateId?: import("vue3-toastify").Id | undefined;
446
+ content?: import("vue3-toastify").Content;
447
+ delay?: number | undefined;
448
+ onOpen?: (<T_1 = {}>(props: T_1) => void) | undefined;
449
+ onClose?: (<T_1 = {}>(props: T_1) => void) | undefined;
450
+ onClick?: ((event: MouseEvent) => void) | undefined;
451
+ toastStyle?: Record<string, any> | undefined;
452
+ dangerouslyHTMLString?: boolean | undefined;
453
+ rtl?: boolean | undefined;
454
+ containerId?: import("vue3-toastify").Id | undefined;
455
+ position?: import("vue3-toastify").ToastPosition | undefined;
456
+ autoClose?: number | boolean | undefined;
457
+ closeButton?: import("vue3-toastify").CloseBtnType | undefined;
458
+ transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
459
+ hideProgressBar?: boolean | undefined;
460
+ pauseOnHover?: boolean | undefined;
461
+ pauseOnFocusLoss?: boolean | undefined;
462
+ closeOnClick?: boolean | undefined;
463
+ toastClassName?: string | undefined;
464
+ bodyClassName?: string | undefined;
465
+ style?: Record<string, any> | undefined;
466
+ progressClassName?: string | undefined;
467
+ progressStyle?: Record<string, any> | undefined;
468
+ role?: string | undefined;
469
+ theme?: import("vue3-toastify").ToastTheme | undefined;
470
+ icon?: import("vue3-toastify").IconType | undefined;
471
+ contentProps?: Record<string, any> | undefined;
472
+ expandCustomProps?: boolean | undefined;
473
+ useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
474
+ }) => Promise<T>;
475
+ POSITION: {
476
+ TOP_LEFT: import("vue3-toastify").ToastPosition;
477
+ TOP_RIGHT: import("vue3-toastify").ToastPosition;
478
+ TOP_CENTER: import("vue3-toastify").ToastPosition;
479
+ BOTTOM_LEFT: import("vue3-toastify").ToastPosition;
480
+ BOTTOM_RIGHT: import("vue3-toastify").ToastPosition;
481
+ BOTTOM_CENTER: import("vue3-toastify").ToastPosition;
482
+ };
483
+ THEME: {
484
+ AUTO: import("vue3-toastify").ToastTheme;
485
+ LIGHT: import("vue3-toastify").ToastTheme;
486
+ DARK: import("vue3-toastify").ToastTheme;
487
+ COLORED: import("vue3-toastify").ToastTheme;
488
+ };
489
+ TYPE: {
490
+ INFO: import("vue3-toastify").ToastType;
491
+ SUCCESS: import("vue3-toastify").ToastType;
492
+ WARNING: import("vue3-toastify").ToastType;
493
+ ERROR: import("vue3-toastify").ToastType;
494
+ DEFAULT: import("vue3-toastify").ToastType;
495
+ };
496
+ TRANSITIONS: {
497
+ FLIP: import("vue3-toastify").ToastTransition;
498
+ SLIDE: import("vue3-toastify").ToastTransition;
499
+ ZOOM: import("vue3-toastify").ToastTransition;
500
+ BOUNCE: import("vue3-toastify").ToastTransition;
501
+ NONE: import("vue3-toastify").ToastTransition;
502
+ };
503
+ };
504
+ }>;
3
505
  export default _default;
@@ -6,7 +6,7 @@ export interface LocalizedNavigationParams {
6
6
  path?: string;
7
7
  target?: '_blank' | '_self';
8
8
  }
9
- export declare function navigateToLocalizedPage({ locale, projectUrl, path, target, }: LocalizedNavigationParams): any;
9
+ export declare function navigateToLocalizedPage({ locale, projectUrl, path, target, }: LocalizedNavigationParams): string | false | void | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric | Promise<false | void | import("vue-router").NavigationFailure>;
10
10
  export declare function buildLocalizedUrl(locale: Locale, projectUrl: string, path?: string): string;
11
11
  export declare function getLocalizedPath(locale: Locale): string;
12
12
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adata-ui",
3
- "version": "3.1.83",
3
+ "version": "3.1.85",
4
4
  "description": "Adata UI",
5
5
  "repository": "your-org/my-module",
6
6
  "license": "MIT",