@inno_user/inno_clouds_lib 9.5.3 → 9.6.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 +5178 -5082
- package/dist/@inno_user/inno_clouds_lib.umd.js +18 -18
- package/dist/components/Locator/Locator.vue.d.ts +9 -0
- package/dist/composables/useCreateOrder.d.ts +2 -1
- package/dist/composables/usePdfMode.d.ts +4 -3
- package/dist/composables/useVirtuaLoop.d.ts +1 -1
- package/dist/directives/vDragScroll.d.ts +4 -1
- package/dist/requests.d.ts +1 -1
- package/dist/store/cart.d.ts +3 -3
- package/dist/store/theme.d.ts +27 -0
- package/dist/types/iTheme.d.ts +3 -0
- package/dist/types/payment.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3
|
+
close: () => any;
|
|
4
|
+
"create-order": (locatorNumber?: string | undefined) => any;
|
|
5
|
+
}, string, PublicProps, Readonly<{}> & Readonly<{
|
|
6
|
+
onClose?: (() => any) | undefined;
|
|
7
|
+
"onCreate-order"?: ((locatorNumber?: string | undefined) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -9,8 +9,9 @@ export interface CreateOrderParams {
|
|
|
9
9
|
comment: string;
|
|
10
10
|
isAuthorized: boolean;
|
|
11
11
|
signal?: AbortSignal;
|
|
12
|
+
locator?: string;
|
|
12
13
|
}
|
|
13
14
|
export declare function useCreateOrder(): {
|
|
14
|
-
getCreateOrderConfig: (configPage: CreateOrderConfigPage, paymentMethodId?: string) => CreateOrderAndOpenSocketConfig | null;
|
|
15
|
+
getCreateOrderConfig: (configPage: CreateOrderConfigPage, paymentMethodId?: string, locator?: string) => CreateOrderAndOpenSocketConfig | null;
|
|
15
16
|
makeCreateOrderRequest: (configPage: CreateOrderConfigPage, params: CreateOrderParams) => Promise<any>;
|
|
16
17
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RouteLocationNormalizedGeneric } from 'vue-router';
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
2
3
|
export declare const usePdf: () => {
|
|
3
|
-
isDesktop:
|
|
4
|
+
isDesktop: ComputedRef<boolean>;
|
|
4
5
|
shouldUseDragScroll: ComputedRef<boolean>;
|
|
5
|
-
syncWithRoute: (to:
|
|
6
|
+
syncWithRoute: (to: RouteLocationNormalizedGeneric) => void;
|
|
6
7
|
};
|
|
@@ -5,7 +5,7 @@ import { VirtualizerHandle } from 'node_modules/virtua/lib/vue/Virtualizer';
|
|
|
5
5
|
interface VirtuaLoopOptions {
|
|
6
6
|
align?: 'start' | 'center';
|
|
7
7
|
/** @default 'loop' */
|
|
8
|
-
mode?: 'loop' | 'virtual'
|
|
8
|
+
mode?: MaybeRefOrGetter<'loop' | 'virtual'>;
|
|
9
9
|
}
|
|
10
10
|
export declare function useVirtuaLoop<T>(source: MaybeRefOrGetter<T[]>, options?: VirtuaLoopOptions): {
|
|
11
11
|
listRef: Ref< CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
package/dist/requests.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ declare class InitConnection {
|
|
|
59
59
|
sendSmsCodeForAuth(code: number, phone: number): Promise<any>;
|
|
60
60
|
callStaff(tableId: string, payload: ICallStaffRequest, options?: AxiosRequestConfig): Promise<string | undefined>;
|
|
61
61
|
confirmOrder(orderId: string): Promise<any>;
|
|
62
|
-
createOrder(clearCartProducts_lib: any, tableTitle: any, is_requestKiosk: boolean | undefined, comment: string, is_authorized?: boolean, signal?: AbortSignal): Promise<any>;
|
|
62
|
+
createOrder(clearCartProducts_lib: any, tableTitle: any, is_requestKiosk: boolean | undefined, comment: string, is_authorized?: boolean, signal?: AbortSignal, locator?: string): Promise<any>;
|
|
63
63
|
extendOrder(clearCartProducts_lib: any): Promise<any>;
|
|
64
64
|
initPaymentLink(order: string, paymentMethod: string): Promise<any>;
|
|
65
65
|
orderPay(id: string): Promise< AxiosResponse<any, any, {}> | undefined>;
|
package/dist/store/cart.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
|
|
|
46
46
|
closeDrawer: () => void;
|
|
47
47
|
clearCard: () => void;
|
|
48
48
|
showNotification: (message: string) => void;
|
|
49
|
-
createPaymentHandler: (context: PaymentContext, is_requestKiosk: boolean, paymentMethodId?: string) => {
|
|
49
|
+
createPaymentHandler: (context: PaymentContext, is_requestKiosk: boolean, paymentMethodId?: string, locator?: string) => {
|
|
50
50
|
handler: any;
|
|
51
51
|
config: PaymentConfig;
|
|
52
52
|
} | null;
|
|
@@ -97,7 +97,7 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
|
|
|
97
97
|
closeDrawer: () => void;
|
|
98
98
|
clearCard: () => void;
|
|
99
99
|
showNotification: (message: string) => void;
|
|
100
|
-
createPaymentHandler: (context: PaymentContext, is_requestKiosk: boolean, paymentMethodId?: string) => {
|
|
100
|
+
createPaymentHandler: (context: PaymentContext, is_requestKiosk: boolean, paymentMethodId?: string, locator?: string) => {
|
|
101
101
|
handler: any;
|
|
102
102
|
config: PaymentConfig;
|
|
103
103
|
} | null;
|
|
@@ -148,7 +148,7 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
|
|
|
148
148
|
closeDrawer: () => void;
|
|
149
149
|
clearCard: () => void;
|
|
150
150
|
showNotification: (message: string) => void;
|
|
151
|
-
createPaymentHandler: (context: PaymentContext, is_requestKiosk: boolean, paymentMethodId?: string) => {
|
|
151
|
+
createPaymentHandler: (context: PaymentContext, is_requestKiosk: boolean, paymentMethodId?: string, locator?: string) => {
|
|
152
152
|
handler: any;
|
|
153
153
|
config: PaymentConfig;
|
|
154
154
|
} | null;
|
package/dist/store/theme.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
32
32
|
adult_disclaimer_text: string | null;
|
|
33
33
|
adult_disclaimer_image: string | null;
|
|
34
34
|
kiosk_enable_wheel?: boolean | null | undefined;
|
|
35
|
+
kiosk_enable_locators?: boolean | string | null | undefined;
|
|
35
36
|
kiosk_banner: string | null;
|
|
36
37
|
kiosk_preloader: string | null;
|
|
37
38
|
organization: string;
|
|
@@ -63,9 +64,11 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
63
64
|
} | null;
|
|
64
65
|
enable_sequential_modifiers: boolean | null;
|
|
65
66
|
pdf_return_url: boolean | null;
|
|
67
|
+
kiosk_hide_menu_btn?: boolean | null | undefined;
|
|
66
68
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
67
69
|
kiosk_camera_scan_loyalty_card: null;
|
|
68
70
|
kiosk_hide_menu_update_notification: boolean | null;
|
|
71
|
+
kiosk_infinite_scroll?: boolean | null | undefined;
|
|
69
72
|
kiosk_proceed_to_payment_text: string | null;
|
|
70
73
|
dish_cart_mod_choice_text: string | null;
|
|
71
74
|
qr_show_modifiers_in_cart: boolean | null;
|
|
@@ -101,6 +104,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
101
104
|
adult_disclaimer_text: string | null;
|
|
102
105
|
adult_disclaimer_image: string | null;
|
|
103
106
|
kiosk_enable_wheel?: boolean | null | undefined;
|
|
107
|
+
kiosk_enable_locators?: boolean | string | null | undefined;
|
|
104
108
|
kiosk_banner: string | null;
|
|
105
109
|
kiosk_preloader: string | null;
|
|
106
110
|
organization: string;
|
|
@@ -132,9 +136,11 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
132
136
|
} | null;
|
|
133
137
|
enable_sequential_modifiers: boolean | null;
|
|
134
138
|
pdf_return_url: boolean | null;
|
|
139
|
+
kiosk_hide_menu_btn?: boolean | null | undefined;
|
|
135
140
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
136
141
|
kiosk_camera_scan_loyalty_card: null;
|
|
137
142
|
kiosk_hide_menu_update_notification: boolean | null;
|
|
143
|
+
kiosk_infinite_scroll?: boolean | null | undefined;
|
|
138
144
|
kiosk_proceed_to_payment_text: string | null;
|
|
139
145
|
dish_cart_mod_choice_text: string | null;
|
|
140
146
|
qr_show_modifiers_in_cart: boolean | null;
|
|
@@ -171,6 +177,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
171
177
|
adult_disclaimer_text: string | null;
|
|
172
178
|
adult_disclaimer_image: string | null;
|
|
173
179
|
kiosk_enable_wheel?: boolean | null | undefined;
|
|
180
|
+
kiosk_enable_locators?: boolean | string | null | undefined;
|
|
174
181
|
kiosk_banner: string | null;
|
|
175
182
|
kiosk_preloader: string | null;
|
|
176
183
|
organization: string;
|
|
@@ -202,9 +209,11 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
202
209
|
} | null;
|
|
203
210
|
enable_sequential_modifiers: boolean | null;
|
|
204
211
|
pdf_return_url: boolean | null;
|
|
212
|
+
kiosk_hide_menu_btn?: boolean | null | undefined;
|
|
205
213
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
206
214
|
kiosk_camera_scan_loyalty_card: null;
|
|
207
215
|
kiosk_hide_menu_update_notification: boolean | null;
|
|
216
|
+
kiosk_infinite_scroll?: boolean | null | undefined;
|
|
208
217
|
kiosk_proceed_to_payment_text: string | null;
|
|
209
218
|
dish_cart_mod_choice_text: string | null;
|
|
210
219
|
qr_show_modifiers_in_cart: boolean | null;
|
|
@@ -242,6 +251,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
242
251
|
adult_disclaimer_text: string | null;
|
|
243
252
|
adult_disclaimer_image: string | null;
|
|
244
253
|
kiosk_enable_wheel?: boolean | null | undefined;
|
|
254
|
+
kiosk_enable_locators?: boolean | string | null | undefined;
|
|
245
255
|
kiosk_banner: string | null;
|
|
246
256
|
kiosk_preloader: string | null;
|
|
247
257
|
organization: string;
|
|
@@ -273,9 +283,11 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
273
283
|
} | null;
|
|
274
284
|
enable_sequential_modifiers: boolean | null;
|
|
275
285
|
pdf_return_url: boolean | null;
|
|
286
|
+
kiosk_hide_menu_btn?: boolean | null | undefined;
|
|
276
287
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
277
288
|
kiosk_camera_scan_loyalty_card: null;
|
|
278
289
|
kiosk_hide_menu_update_notification: boolean | null;
|
|
290
|
+
kiosk_infinite_scroll?: boolean | null | undefined;
|
|
279
291
|
kiosk_proceed_to_payment_text: string | null;
|
|
280
292
|
dish_cart_mod_choice_text: string | null;
|
|
281
293
|
qr_show_modifiers_in_cart: boolean | null;
|
|
@@ -311,6 +323,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
311
323
|
adult_disclaimer_text: string | null;
|
|
312
324
|
adult_disclaimer_image: string | null;
|
|
313
325
|
kiosk_enable_wheel?: boolean | null | undefined;
|
|
326
|
+
kiosk_enable_locators?: boolean | string | null | undefined;
|
|
314
327
|
kiosk_banner: string | null;
|
|
315
328
|
kiosk_preloader: string | null;
|
|
316
329
|
organization: string;
|
|
@@ -342,9 +355,11 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
342
355
|
} | null;
|
|
343
356
|
enable_sequential_modifiers: boolean | null;
|
|
344
357
|
pdf_return_url: boolean | null;
|
|
358
|
+
kiosk_hide_menu_btn?: boolean | null | undefined;
|
|
345
359
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
346
360
|
kiosk_camera_scan_loyalty_card: null;
|
|
347
361
|
kiosk_hide_menu_update_notification: boolean | null;
|
|
362
|
+
kiosk_infinite_scroll?: boolean | null | undefined;
|
|
348
363
|
kiosk_proceed_to_payment_text: string | null;
|
|
349
364
|
dish_cart_mod_choice_text: string | null;
|
|
350
365
|
qr_show_modifiers_in_cart: boolean | null;
|
|
@@ -381,6 +396,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
381
396
|
adult_disclaimer_text: string | null;
|
|
382
397
|
adult_disclaimer_image: string | null;
|
|
383
398
|
kiosk_enable_wheel?: boolean | null | undefined;
|
|
399
|
+
kiosk_enable_locators?: boolean | string | null | undefined;
|
|
384
400
|
kiosk_banner: string | null;
|
|
385
401
|
kiosk_preloader: string | null;
|
|
386
402
|
organization: string;
|
|
@@ -412,9 +428,11 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
412
428
|
} | null;
|
|
413
429
|
enable_sequential_modifiers: boolean | null;
|
|
414
430
|
pdf_return_url: boolean | null;
|
|
431
|
+
kiosk_hide_menu_btn?: boolean | null | undefined;
|
|
415
432
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
416
433
|
kiosk_camera_scan_loyalty_card: null;
|
|
417
434
|
kiosk_hide_menu_update_notification: boolean | null;
|
|
435
|
+
kiosk_infinite_scroll?: boolean | null | undefined;
|
|
418
436
|
kiosk_proceed_to_payment_text: string | null;
|
|
419
437
|
dish_cart_mod_choice_text: string | null;
|
|
420
438
|
qr_show_modifiers_in_cart: boolean | null;
|
|
@@ -452,6 +470,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
452
470
|
adult_disclaimer_text: string | null;
|
|
453
471
|
adult_disclaimer_image: string | null;
|
|
454
472
|
kiosk_enable_wheel?: boolean | null | undefined;
|
|
473
|
+
kiosk_enable_locators?: boolean | string | null | undefined;
|
|
455
474
|
kiosk_banner: string | null;
|
|
456
475
|
kiosk_preloader: string | null;
|
|
457
476
|
organization: string;
|
|
@@ -483,9 +502,11 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
483
502
|
} | null;
|
|
484
503
|
enable_sequential_modifiers: boolean | null;
|
|
485
504
|
pdf_return_url: boolean | null;
|
|
505
|
+
kiosk_hide_menu_btn?: boolean | null | undefined;
|
|
486
506
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
487
507
|
kiosk_camera_scan_loyalty_card: null;
|
|
488
508
|
kiosk_hide_menu_update_notification: boolean | null;
|
|
509
|
+
kiosk_infinite_scroll?: boolean | null | undefined;
|
|
489
510
|
kiosk_proceed_to_payment_text: string | null;
|
|
490
511
|
dish_cart_mod_choice_text: string | null;
|
|
491
512
|
qr_show_modifiers_in_cart: boolean | null;
|
|
@@ -521,6 +542,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
521
542
|
adult_disclaimer_text: string | null;
|
|
522
543
|
adult_disclaimer_image: string | null;
|
|
523
544
|
kiosk_enable_wheel?: boolean | null | undefined;
|
|
545
|
+
kiosk_enable_locators?: boolean | string | null | undefined;
|
|
524
546
|
kiosk_banner: string | null;
|
|
525
547
|
kiosk_preloader: string | null;
|
|
526
548
|
organization: string;
|
|
@@ -552,9 +574,11 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
552
574
|
} | null;
|
|
553
575
|
enable_sequential_modifiers: boolean | null;
|
|
554
576
|
pdf_return_url: boolean | null;
|
|
577
|
+
kiosk_hide_menu_btn?: boolean | null | undefined;
|
|
555
578
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
556
579
|
kiosk_camera_scan_loyalty_card: null;
|
|
557
580
|
kiosk_hide_menu_update_notification: boolean | null;
|
|
581
|
+
kiosk_infinite_scroll?: boolean | null | undefined;
|
|
558
582
|
kiosk_proceed_to_payment_text: string | null;
|
|
559
583
|
dish_cart_mod_choice_text: string | null;
|
|
560
584
|
qr_show_modifiers_in_cart: boolean | null;
|
|
@@ -591,6 +615,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
591
615
|
adult_disclaimer_text: string | null;
|
|
592
616
|
adult_disclaimer_image: string | null;
|
|
593
617
|
kiosk_enable_wheel?: boolean | null | undefined;
|
|
618
|
+
kiosk_enable_locators?: boolean | string | null | undefined;
|
|
594
619
|
kiosk_banner: string | null;
|
|
595
620
|
kiosk_preloader: string | null;
|
|
596
621
|
organization: string;
|
|
@@ -622,9 +647,11 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
622
647
|
} | null;
|
|
623
648
|
enable_sequential_modifiers: boolean | null;
|
|
624
649
|
pdf_return_url: boolean | null;
|
|
650
|
+
kiosk_hide_menu_btn?: boolean | null | undefined;
|
|
625
651
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
626
652
|
kiosk_camera_scan_loyalty_card: null;
|
|
627
653
|
kiosk_hide_menu_update_notification: boolean | null;
|
|
654
|
+
kiosk_infinite_scroll?: boolean | null | undefined;
|
|
628
655
|
kiosk_proceed_to_payment_text: string | null;
|
|
629
656
|
dish_cart_mod_choice_text: string | null;
|
|
630
657
|
qr_show_modifiers_in_cart: boolean | null;
|
package/dist/types/iTheme.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export interface ITheme {
|
|
|
28
28
|
adult_disclaimer_text: string | null;
|
|
29
29
|
adult_disclaimer_image: string | null;
|
|
30
30
|
kiosk_enable_wheel?: boolean | null;
|
|
31
|
+
kiosk_enable_locators?: boolean | string | null;
|
|
31
32
|
kiosk_banner: string | null;
|
|
32
33
|
kiosk_preloader: string | null;
|
|
33
34
|
organization: string;
|
|
@@ -44,9 +45,11 @@ export interface ITheme {
|
|
|
44
45
|
comments: IComment | null;
|
|
45
46
|
enable_sequential_modifiers: boolean | null;
|
|
46
47
|
pdf_return_url: boolean | null;
|
|
48
|
+
kiosk_hide_menu_btn?: boolean | null;
|
|
47
49
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
48
50
|
kiosk_camera_scan_loyalty_card: null;
|
|
49
51
|
kiosk_hide_menu_update_notification: boolean | null;
|
|
52
|
+
kiosk_infinite_scroll?: boolean | null;
|
|
50
53
|
kiosk_proceed_to_payment_text: string | null;
|
|
51
54
|
dish_cart_mod_choice_text: string | null;
|
|
52
55
|
qr_show_modifiers_in_cart: boolean | null;
|
package/dist/types/payment.d.ts
CHANGED