@inno_user/inno_clouds_lib 9.3.5 → 9.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@inno_user/inno_clouds_lib.css +1 -1
- package/dist/@inno_user/inno_clouds_lib.es.js +6223 -6259
- package/dist/@inno_user/inno_clouds_lib.umd.js +18 -18
- package/dist/components/cartPayment/CartPayment.vue.d.ts +0 -2
- package/dist/requests.d.ts +5 -2
- package/dist/semantics/paymentBoxes/PaymentBoxes.vue.d.ts +0 -4
- package/dist/store/cart.d.ts +4 -4
- package/dist/store/theme.d.ts +9 -9
- package/dist/types/iTheme.d.ts +1 -1
- package/dist/types/payment.d.ts +0 -1
- package/package.json +1 -1
package/dist/requests.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ interface ConnectionConfig {
|
|
|
10
10
|
default_language: string;
|
|
11
11
|
has_loyalty_default_user: string;
|
|
12
12
|
loyalty: string;
|
|
13
|
-
has_rms_discount?: boolean;
|
|
14
13
|
name: string;
|
|
15
14
|
quick_add_simple: string;
|
|
16
15
|
supported_languages: string;
|
|
@@ -82,7 +81,11 @@ declare class InitConnection {
|
|
|
82
81
|
organization?: string;
|
|
83
82
|
}, options?: AxiosRequestConfig): Promise< AxiosResponse<any, any, {}>>;
|
|
84
83
|
calculateDiscount(payload: any, is_requestKiosk?: boolean, is_authorized?: boolean, signal?: AbortSignal): Promise<any>;
|
|
85
|
-
maxPayByBonuses(
|
|
84
|
+
maxPayByBonuses(order_id: string, is_requestKiosk?: boolean, is_authorized?: boolean, signal?: AbortSignal): Promise<{
|
|
85
|
+
by_bonuses: number;
|
|
86
|
+
balance?: number;
|
|
87
|
+
non_integers_allowed: boolean;
|
|
88
|
+
} | undefined>;
|
|
86
89
|
getDeviceInfo(): Promise<any>;
|
|
87
90
|
validateApiKey(apiKey: string, options?: AxiosRequestConfig): Promise<boolean>;
|
|
88
91
|
productUpsale(idProduct: string): Promise<void>;
|
|
@@ -10,8 +10,6 @@ type __VLS_Props = {
|
|
|
10
10
|
comment: string;
|
|
11
11
|
cartItems: any[];
|
|
12
12
|
isAuthorized: boolean;
|
|
13
|
-
hasRmsDiscount?: boolean;
|
|
14
|
-
hideDiscountsButton?: boolean;
|
|
15
13
|
orderId?: string | null;
|
|
16
14
|
signal?: AbortSignal;
|
|
17
15
|
provider: any;
|
|
@@ -21,8 +19,6 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
21
19
|
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
20
|
onSelect?: ((providerId: string) => any) | undefined;
|
|
23
21
|
}>, {
|
|
24
|
-
hasRmsDiscount: boolean;
|
|
25
|
-
hideDiscountsButton: boolean;
|
|
26
22
|
orderId: string | null;
|
|
27
23
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
28
24
|
export default _default;
|
package/dist/store/cart.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
|
|
|
21
21
|
isDrawerOpen: Ref<boolean, boolean>;
|
|
22
22
|
currentState: Ref<"wait" | "success" | "not_found", "wait" | "success" | "not_found">;
|
|
23
23
|
isAuthorized: ComputedRef<boolean>;
|
|
24
|
-
|
|
24
|
+
isCreateButtonVisible: Ref<boolean, boolean>;
|
|
25
25
|
linkQR: Ref<string, string>;
|
|
26
26
|
orderTypes: WritableComputedRef<{
|
|
27
27
|
id: string;
|
|
@@ -53,7 +53,7 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
|
|
|
53
53
|
} | null;
|
|
54
54
|
getCurrentPaymentMethodId: () => string | null;
|
|
55
55
|
getAvailablePaymentMethods: (context: PaymentContext) => string[];
|
|
56
|
-
}, "error" | "count" | "is_notification_lib" | "notificationData_lib" | "isButtonDisabled" | "orderCompleted_lib" | "extraDiscount" | "orderNumber" | "textPaymentBtn_lib" | "guestInfo" | "isDrawerOpen" | "currentState" | "
|
|
56
|
+
}, "error" | "count" | "is_notification_lib" | "notificationData_lib" | "isButtonDisabled" | "orderCompleted_lib" | "extraDiscount" | "orderNumber" | "textPaymentBtn_lib" | "guestInfo" | "isDrawerOpen" | "currentState" | "isCreateButtonVisible" | "linkQR" | "providerTypes" | "is_paymentCart" | "selectedOrderType" | "selectedProvider" | "configPayment" | "paymentCostQR">, Pick<{
|
|
57
57
|
isButtonDisabled: Ref<boolean, boolean>;
|
|
58
58
|
orderCompleted_lib: Ref<number | null, number | null>;
|
|
59
59
|
extraDiscount: Ref<number, number>;
|
|
@@ -73,7 +73,7 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
|
|
|
73
73
|
isDrawerOpen: Ref<boolean, boolean>;
|
|
74
74
|
currentState: Ref<"wait" | "success" | "not_found", "wait" | "success" | "not_found">;
|
|
75
75
|
isAuthorized: ComputedRef<boolean>;
|
|
76
|
-
|
|
76
|
+
isCreateButtonVisible: Ref<boolean, boolean>;
|
|
77
77
|
linkQR: Ref<string, string>;
|
|
78
78
|
orderTypes: WritableComputedRef<{
|
|
79
79
|
id: string;
|
|
@@ -125,7 +125,7 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
|
|
|
125
125
|
isDrawerOpen: Ref<boolean, boolean>;
|
|
126
126
|
currentState: Ref<"wait" | "success" | "not_found", "wait" | "success" | "not_found">;
|
|
127
127
|
isAuthorized: ComputedRef<boolean>;
|
|
128
|
-
|
|
128
|
+
isCreateButtonVisible: Ref<boolean, boolean>;
|
|
129
129
|
linkQR: Ref<string, string>;
|
|
130
130
|
orderTypes: WritableComputedRef<{
|
|
131
131
|
id: string;
|
package/dist/store/theme.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
12
12
|
accent_dark_color: string | null;
|
|
13
13
|
bg_button_color: string | null;
|
|
14
14
|
bonuses_button_name?: string | undefined;
|
|
15
|
+
qr_auth_required?: boolean | null | undefined;
|
|
15
16
|
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
16
17
|
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
17
18
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
@@ -47,7 +48,6 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
47
48
|
apply_custom_size_picker_fonts: boolean | null;
|
|
48
49
|
size_picker_unselected_font_size: number | null;
|
|
49
50
|
size_picker_selected_font_size: number | null;
|
|
50
|
-
hide_discounts_calculate_button: boolean;
|
|
51
51
|
comments: {
|
|
52
52
|
kiosk_comment_field_name?: string | undefined;
|
|
53
53
|
kiosk_comment_field_placeholder?: string | undefined;
|
|
@@ -72,6 +72,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
72
72
|
accent_dark_color: string | null;
|
|
73
73
|
bg_button_color: string | null;
|
|
74
74
|
bonuses_button_name?: string | undefined;
|
|
75
|
+
qr_auth_required?: boolean | null | undefined;
|
|
75
76
|
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
76
77
|
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
77
78
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
@@ -107,7 +108,6 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
107
108
|
apply_custom_size_picker_fonts: boolean | null;
|
|
108
109
|
size_picker_unselected_font_size: number | null;
|
|
109
110
|
size_picker_selected_font_size: number | null;
|
|
110
|
-
hide_discounts_calculate_button: boolean;
|
|
111
111
|
comments: {
|
|
112
112
|
kiosk_comment_field_name?: string | undefined;
|
|
113
113
|
kiosk_comment_field_placeholder?: string | undefined;
|
|
@@ -133,6 +133,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
133
133
|
accent_dark_color: string | null;
|
|
134
134
|
bg_button_color: string | null;
|
|
135
135
|
bonuses_button_name?: string | undefined;
|
|
136
|
+
qr_auth_required?: boolean | null | undefined;
|
|
136
137
|
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
137
138
|
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
138
139
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
@@ -168,7 +169,6 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
168
169
|
apply_custom_size_picker_fonts: boolean | null;
|
|
169
170
|
size_picker_unselected_font_size: number | null;
|
|
170
171
|
size_picker_selected_font_size: number | null;
|
|
171
|
-
hide_discounts_calculate_button: boolean;
|
|
172
172
|
comments: {
|
|
173
173
|
kiosk_comment_field_name?: string | undefined;
|
|
174
174
|
kiosk_comment_field_placeholder?: string | undefined;
|
|
@@ -195,6 +195,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
195
195
|
accent_dark_color: string | null;
|
|
196
196
|
bg_button_color: string | null;
|
|
197
197
|
bonuses_button_name?: string | undefined;
|
|
198
|
+
qr_auth_required?: boolean | null | undefined;
|
|
198
199
|
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
199
200
|
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
200
201
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
@@ -230,7 +231,6 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
230
231
|
apply_custom_size_picker_fonts: boolean | null;
|
|
231
232
|
size_picker_unselected_font_size: number | null;
|
|
232
233
|
size_picker_selected_font_size: number | null;
|
|
233
|
-
hide_discounts_calculate_button: boolean;
|
|
234
234
|
comments: {
|
|
235
235
|
kiosk_comment_field_name?: string | undefined;
|
|
236
236
|
kiosk_comment_field_placeholder?: string | undefined;
|
|
@@ -255,6 +255,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
255
255
|
accent_dark_color: string | null;
|
|
256
256
|
bg_button_color: string | null;
|
|
257
257
|
bonuses_button_name?: string | undefined;
|
|
258
|
+
qr_auth_required?: boolean | null | undefined;
|
|
258
259
|
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
259
260
|
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
260
261
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
@@ -290,7 +291,6 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
290
291
|
apply_custom_size_picker_fonts: boolean | null;
|
|
291
292
|
size_picker_unselected_font_size: number | null;
|
|
292
293
|
size_picker_selected_font_size: number | null;
|
|
293
|
-
hide_discounts_calculate_button: boolean;
|
|
294
294
|
comments: {
|
|
295
295
|
kiosk_comment_field_name?: string | undefined;
|
|
296
296
|
kiosk_comment_field_placeholder?: string | undefined;
|
|
@@ -316,6 +316,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
316
316
|
accent_dark_color: string | null;
|
|
317
317
|
bg_button_color: string | null;
|
|
318
318
|
bonuses_button_name?: string | undefined;
|
|
319
|
+
qr_auth_required?: boolean | null | undefined;
|
|
319
320
|
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
320
321
|
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
321
322
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
@@ -351,7 +352,6 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
351
352
|
apply_custom_size_picker_fonts: boolean | null;
|
|
352
353
|
size_picker_unselected_font_size: number | null;
|
|
353
354
|
size_picker_selected_font_size: number | null;
|
|
354
|
-
hide_discounts_calculate_button: boolean;
|
|
355
355
|
comments: {
|
|
356
356
|
kiosk_comment_field_name?: string | undefined;
|
|
357
357
|
kiosk_comment_field_placeholder?: string | undefined;
|
|
@@ -378,6 +378,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
378
378
|
accent_dark_color: string | null;
|
|
379
379
|
bg_button_color: string | null;
|
|
380
380
|
bonuses_button_name?: string | undefined;
|
|
381
|
+
qr_auth_required?: boolean | null | undefined;
|
|
381
382
|
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
382
383
|
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
383
384
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
@@ -413,7 +414,6 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
413
414
|
apply_custom_size_picker_fonts: boolean | null;
|
|
414
415
|
size_picker_unselected_font_size: number | null;
|
|
415
416
|
size_picker_selected_font_size: number | null;
|
|
416
|
-
hide_discounts_calculate_button: boolean;
|
|
417
417
|
comments: {
|
|
418
418
|
kiosk_comment_field_name?: string | undefined;
|
|
419
419
|
kiosk_comment_field_placeholder?: string | undefined;
|
|
@@ -438,6 +438,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
438
438
|
accent_dark_color: string | null;
|
|
439
439
|
bg_button_color: string | null;
|
|
440
440
|
bonuses_button_name?: string | undefined;
|
|
441
|
+
qr_auth_required?: boolean | null | undefined;
|
|
441
442
|
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
442
443
|
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
443
444
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
@@ -473,7 +474,6 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
473
474
|
apply_custom_size_picker_fonts: boolean | null;
|
|
474
475
|
size_picker_unselected_font_size: number | null;
|
|
475
476
|
size_picker_selected_font_size: number | null;
|
|
476
|
-
hide_discounts_calculate_button: boolean;
|
|
477
477
|
comments: {
|
|
478
478
|
kiosk_comment_field_name?: string | undefined;
|
|
479
479
|
kiosk_comment_field_placeholder?: string | undefined;
|
|
@@ -499,6 +499,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
499
499
|
accent_dark_color: string | null;
|
|
500
500
|
bg_button_color: string | null;
|
|
501
501
|
bonuses_button_name?: string | undefined;
|
|
502
|
+
qr_auth_required?: boolean | null | undefined;
|
|
502
503
|
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
503
504
|
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
504
505
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
@@ -534,7 +535,6 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
534
535
|
apply_custom_size_picker_fonts: boolean | null;
|
|
535
536
|
size_picker_unselected_font_size: number | null;
|
|
536
537
|
size_picker_selected_font_size: number | null;
|
|
537
|
-
hide_discounts_calculate_button: boolean;
|
|
538
538
|
comments: {
|
|
539
539
|
kiosk_comment_field_name?: string | undefined;
|
|
540
540
|
kiosk_comment_field_placeholder?: string | undefined;
|
package/dist/types/iTheme.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export interface ITheme {
|
|
|
8
8
|
accent_dark_color: string | null;
|
|
9
9
|
bg_button_color: string | null;
|
|
10
10
|
bonuses_button_name?: string;
|
|
11
|
+
qr_auth_required?: boolean | null;
|
|
11
12
|
qr_bypass_guest_auth?: boolean | null;
|
|
12
13
|
kiosk_bypass_guest_auth?: boolean | null;
|
|
13
14
|
kiosk_disable_lock_screen?: boolean | null;
|
|
@@ -37,7 +38,6 @@ export interface ITheme {
|
|
|
37
38
|
apply_custom_size_picker_fonts: boolean | null;
|
|
38
39
|
size_picker_unselected_font_size: number | null;
|
|
39
40
|
size_picker_selected_font_size: number | null;
|
|
40
|
-
hide_discounts_calculate_button: boolean;
|
|
41
41
|
comments: IComment | null;
|
|
42
42
|
pdf_return_url: boolean | null;
|
|
43
43
|
kiosk_hide_manual_input_loyalty_card: null;
|
package/dist/types/payment.d.ts
CHANGED