@inno_user/inno_clouds_lib 9.3.4 → 9.3.5
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 +5590 -5535
- package/dist/@inno_user/inno_clouds_lib.umd.js +19 -19
- package/dist/components/cartPayment/CartPayment.vue.d.ts +2 -0
- package/dist/requests.d.ts +2 -5
- package/dist/semantics/paymentBoxes/PaymentBoxes.vue.d.ts +4 -0
- package/dist/store/cart.d.ts +4 -4
- package/dist/store/theme.d.ts +9 -0
- package/dist/types/iTheme.d.ts +1 -0
- package/dist/types/payment.d.ts +1 -0
- package/package.json +1 -1
package/dist/requests.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ interface ConnectionConfig {
|
|
|
10
10
|
default_language: string;
|
|
11
11
|
has_loyalty_default_user: string;
|
|
12
12
|
loyalty: string;
|
|
13
|
+
has_rms_discount?: boolean;
|
|
13
14
|
name: string;
|
|
14
15
|
quick_add_simple: string;
|
|
15
16
|
supported_languages: string;
|
|
@@ -81,11 +82,7 @@ declare class InitConnection {
|
|
|
81
82
|
organization?: string;
|
|
82
83
|
}, options?: AxiosRequestConfig): Promise< AxiosResponse<any, any, {}>>;
|
|
83
84
|
calculateDiscount(payload: any, is_requestKiosk?: boolean, is_authorized?: boolean, signal?: AbortSignal): Promise<any>;
|
|
84
|
-
maxPayByBonuses(
|
|
85
|
-
by_bonuses: number;
|
|
86
|
-
balance?: number;
|
|
87
|
-
non_integers_allowed: boolean;
|
|
88
|
-
} | undefined>;
|
|
85
|
+
maxPayByBonuses(price: number, is_requestKiosk?: boolean, is_authorized?: boolean, signal?: AbortSignal): Promise<any>;
|
|
89
86
|
getDeviceInfo(): Promise<any>;
|
|
90
87
|
validateApiKey(apiKey: string, options?: AxiosRequestConfig): Promise<boolean>;
|
|
91
88
|
productUpsale(idProduct: string): Promise<void>;
|
|
@@ -10,6 +10,8 @@ type __VLS_Props = {
|
|
|
10
10
|
comment: string;
|
|
11
11
|
cartItems: any[];
|
|
12
12
|
isAuthorized: boolean;
|
|
13
|
+
hasRmsDiscount?: boolean;
|
|
14
|
+
hideDiscountsButton?: boolean;
|
|
13
15
|
orderId?: string | null;
|
|
14
16
|
signal?: AbortSignal;
|
|
15
17
|
provider: any;
|
|
@@ -19,6 +21,8 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
19
21
|
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
22
|
onSelect?: ((providerId: string) => any) | undefined;
|
|
21
23
|
}>, {
|
|
24
|
+
hasRmsDiscount: boolean;
|
|
25
|
+
hideDiscountsButton: boolean;
|
|
22
26
|
orderId: string | null;
|
|
23
27
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
24
28
|
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
|
+
discountBtn: 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" | "discountBtn" | "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
|
+
discountBtn: 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
|
+
discountBtn: Ref<boolean, boolean>;
|
|
129
129
|
linkQR: Ref<string, string>;
|
|
130
130
|
orderTypes: WritableComputedRef<{
|
|
131
131
|
id: string;
|
package/dist/store/theme.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
47
47
|
apply_custom_size_picker_fonts: boolean | null;
|
|
48
48
|
size_picker_unselected_font_size: number | null;
|
|
49
49
|
size_picker_selected_font_size: number | null;
|
|
50
|
+
hide_discounts_calculate_button: boolean;
|
|
50
51
|
comments: {
|
|
51
52
|
kiosk_comment_field_name?: string | undefined;
|
|
52
53
|
kiosk_comment_field_placeholder?: string | undefined;
|
|
@@ -106,6 +107,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
106
107
|
apply_custom_size_picker_fonts: boolean | null;
|
|
107
108
|
size_picker_unselected_font_size: number | null;
|
|
108
109
|
size_picker_selected_font_size: number | null;
|
|
110
|
+
hide_discounts_calculate_button: boolean;
|
|
109
111
|
comments: {
|
|
110
112
|
kiosk_comment_field_name?: string | undefined;
|
|
111
113
|
kiosk_comment_field_placeholder?: string | undefined;
|
|
@@ -166,6 +168,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
166
168
|
apply_custom_size_picker_fonts: boolean | null;
|
|
167
169
|
size_picker_unselected_font_size: number | null;
|
|
168
170
|
size_picker_selected_font_size: number | null;
|
|
171
|
+
hide_discounts_calculate_button: boolean;
|
|
169
172
|
comments: {
|
|
170
173
|
kiosk_comment_field_name?: string | undefined;
|
|
171
174
|
kiosk_comment_field_placeholder?: string | undefined;
|
|
@@ -227,6 +230,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
227
230
|
apply_custom_size_picker_fonts: boolean | null;
|
|
228
231
|
size_picker_unselected_font_size: number | null;
|
|
229
232
|
size_picker_selected_font_size: number | null;
|
|
233
|
+
hide_discounts_calculate_button: boolean;
|
|
230
234
|
comments: {
|
|
231
235
|
kiosk_comment_field_name?: string | undefined;
|
|
232
236
|
kiosk_comment_field_placeholder?: string | undefined;
|
|
@@ -286,6 +290,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
286
290
|
apply_custom_size_picker_fonts: boolean | null;
|
|
287
291
|
size_picker_unselected_font_size: number | null;
|
|
288
292
|
size_picker_selected_font_size: number | null;
|
|
293
|
+
hide_discounts_calculate_button: boolean;
|
|
289
294
|
comments: {
|
|
290
295
|
kiosk_comment_field_name?: string | undefined;
|
|
291
296
|
kiosk_comment_field_placeholder?: string | undefined;
|
|
@@ -346,6 +351,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
346
351
|
apply_custom_size_picker_fonts: boolean | null;
|
|
347
352
|
size_picker_unselected_font_size: number | null;
|
|
348
353
|
size_picker_selected_font_size: number | null;
|
|
354
|
+
hide_discounts_calculate_button: boolean;
|
|
349
355
|
comments: {
|
|
350
356
|
kiosk_comment_field_name?: string | undefined;
|
|
351
357
|
kiosk_comment_field_placeholder?: string | undefined;
|
|
@@ -407,6 +413,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
407
413
|
apply_custom_size_picker_fonts: boolean | null;
|
|
408
414
|
size_picker_unselected_font_size: number | null;
|
|
409
415
|
size_picker_selected_font_size: number | null;
|
|
416
|
+
hide_discounts_calculate_button: boolean;
|
|
410
417
|
comments: {
|
|
411
418
|
kiosk_comment_field_name?: string | undefined;
|
|
412
419
|
kiosk_comment_field_placeholder?: string | undefined;
|
|
@@ -466,6 +473,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
466
473
|
apply_custom_size_picker_fonts: boolean | null;
|
|
467
474
|
size_picker_unselected_font_size: number | null;
|
|
468
475
|
size_picker_selected_font_size: number | null;
|
|
476
|
+
hide_discounts_calculate_button: boolean;
|
|
469
477
|
comments: {
|
|
470
478
|
kiosk_comment_field_name?: string | undefined;
|
|
471
479
|
kiosk_comment_field_placeholder?: string | undefined;
|
|
@@ -526,6 +534,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
526
534
|
apply_custom_size_picker_fonts: boolean | null;
|
|
527
535
|
size_picker_unselected_font_size: number | null;
|
|
528
536
|
size_picker_selected_font_size: number | null;
|
|
537
|
+
hide_discounts_calculate_button: boolean;
|
|
529
538
|
comments: {
|
|
530
539
|
kiosk_comment_field_name?: string | undefined;
|
|
531
540
|
kiosk_comment_field_placeholder?: string | undefined;
|
package/dist/types/iTheme.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export interface ITheme {
|
|
|
37
37
|
apply_custom_size_picker_fonts: boolean | null;
|
|
38
38
|
size_picker_unselected_font_size: number | null;
|
|
39
39
|
size_picker_selected_font_size: number | null;
|
|
40
|
+
hide_discounts_calculate_button: boolean;
|
|
40
41
|
comments: IComment | null;
|
|
41
42
|
pdf_return_url: boolean | null;
|
|
42
43
|
kiosk_hide_manual_input_loyalty_card: null;
|
package/dist/types/payment.d.ts
CHANGED