@inno_user/inno_clouds_lib 9.4.4 → 9.4.6

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.
@@ -0,0 +1,13 @@
1
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<ExtractPropTypes<{
3
+ index: NumberConstructor;
4
+ cardItem: ObjectConstructor;
5
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6
+ delete: (...args: any[]) => void;
7
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
8
+ index: NumberConstructor;
9
+ cardItem: ObjectConstructor;
10
+ }>> & Readonly<{
11
+ onDelete?: ((...args: any[]) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
13
+ export default _default;
@@ -7,19 +7,16 @@ type __VLS_Props = {
7
7
  notificationData?: {
8
8
  textNotification: string;
9
9
  };
10
- tableData?: string | null;
11
10
  isQr?: boolean | null;
12
11
  takeDataTable?: (orgLinkId: string, tableId: string, source?: string) => Promise<void> | undefined;
13
12
  };
14
13
  declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
15
- "update:tableData": (value: string | null) => any;
16
14
  "update:notificationData": (value: {
17
15
  textNotification: string;
18
16
  }) => any;
19
17
  "update:is_notification": (value: boolean) => any;
20
18
  "update:is_toggleAffiliation": (value: boolean) => any;
21
19
  }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
22
- "onUpdate:tableData"?: ((value: string | null) => any) | undefined;
23
20
  "onUpdate:notificationData"?: ((value: {
24
21
  textNotification: string;
25
22
  }) => any) | undefined;
@@ -1,10 +1,8 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  type __VLS_Props = {
3
3
  configPage: {
4
- tableDataId: any;
5
4
  kiosk_menu: boolean;
6
5
  qr_menu: boolean;
7
- is_tableservice: boolean;
8
6
  userData?: unknown;
9
7
  };
10
8
  comment: string;
@@ -0,0 +1,7 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
3
+ confirm: () => any;
4
+ }, string, PublicProps, Readonly<{}> & Readonly<{
5
+ onConfirm?: (() => any) | undefined;
6
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
7
+ export default _default;
@@ -1,13 +1,11 @@
1
1
  import { CreateOrderAndOpenSocketConfig } from '../payment/handlers/basePaymentHandler';
2
2
  export interface CreateOrderConfigPage {
3
- tableDataId: any;
4
3
  kiosk_menu: boolean;
5
- is_tableservice: boolean;
4
+ resetDiscounts?: () => void;
6
5
  }
7
6
  export interface CreateOrderParams {
8
7
  paymentMethodId?: string;
9
8
  items: any[];
10
- tableDataId: any;
11
9
  comment: string;
12
10
  isAuthorized: boolean;
13
11
  signal?: AbortSignal;
@@ -0,0 +1,4 @@
1
+ import { Directive } from 'vue';
2
+ export declare const vConfetti: Directive<HTMLCanvasElement & {
3
+ _resize: () => void;
4
+ }>;
@@ -0,0 +1,4 @@
1
+ import { Directive } from 'vue';
2
+ export declare const vMario: Directive<HTMLCanvasElement & {
3
+ _resize: () => void;
4
+ }>;
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ import { InitConnection } from './requests';
5
5
  import { default as CardProductPage } from './views/cardProductPage/CardProductPage.vue';
6
6
  import { default as CartPage } from './views/cartPage/CartPage.vue';
7
7
  import { default as RetryPage } from './views/retryPage/RetryPage.vue';
8
+ import { default as TableOrderPage } from './views/tableOrderPage/TableOrderPage.vue';
8
9
  import { default as CardMain } from './components/cardMain/CardMain.vue';
9
10
  import { default as GroupMain } from './components/groupMain/GroupMain.vue';
10
11
  import { default as TagsMain } from './components/tagsMain/TagsMain.vue';
@@ -19,7 +20,9 @@ import { getWebSocketInstance } from './utils/WebSocketService';
19
20
  import { useModulesStore as useModulesLibStore } from './store/modules';
20
21
  import { default as NotificationWindow } from './ui/notificationWindow/NotificationWindow.vue';
21
22
  import { vClickOutside } from './directives/vClickOutside';
23
+ import { vConfetti } from './directives/vConfetti';
22
24
  import { vMuted } from './directives/vMuted';
25
+ import { vMario } from './directives/vMario';
23
26
  import { vDragScroll } from './directives/vDragScroll';
24
27
  import { useCachedMedia } from './hooks/useProductImage/useProductImage';
25
28
  import { updateIndexedDB } from './utils/updateIndexedDB';
@@ -29,9 +32,11 @@ import { default as ButtonDefault } from './ui/buttons/default/ButtonDefault.vue
29
32
  import { default as BasketButton } from './ui/buttons/basketButton/BasketButton.vue';
30
33
  import { BottomSheet } from './ui/bottomSheet';
31
34
  import { VList, Virtualizer } from 'virtua/vue';
35
+ import { default as OrderBox } from './components/OrderBox/OrderBox.vue';
32
36
  import { useMainStore as useMainLibStore } from './store/main';
33
37
  import { useCardStore as useCardLibStore } from './store/card';
34
38
  import { useCartStore as useCartLibStore } from './store/cart';
39
+ import { useTableStore } from './store/table';
35
40
  import { useThemeStore } from './store/theme';
36
41
  import { useImageCacheStore } from './store/images';
37
42
  import { useModalStore } from './store/modals';
@@ -43,13 +48,13 @@ import { parseTheme } from './utils/parseTheme';
43
48
  import { preventZoom, PreventZoomConfig } from './utils/preventZoom';
44
49
  import { default as clearLocalStorage } from './utils/clearLocalStorage';
45
50
  import { default as PricePrerender } from './utils/pricePrerender';
46
- export { InitConnection, getWebSocketInstance, useModulesLibStore, useImageCacheStore, vClickOutside, vMuted, vDragScroll, initPinia, initRouter, useRouter, useRoute, useCachedMedia, updateIndexedDB, RetryPage, CartPage, CardProductPage, CardReader, CardMain, GroupMain, TagsMain, CartBox, DrumItem, ButtonDefault, BottomSheet, BasketButton, ModalWindows, Recommendation, PopupWindowDefault, NotificationWindow, QrCameraScanner,
51
+ export { InitConnection, getWebSocketInstance, useModulesLibStore, useImageCacheStore, vClickOutside, vMuted, vConfetti, vMario, vDragScroll, initPinia, initRouter, useRouter, useRoute, useCachedMedia, updateIndexedDB, TableOrderPage, RetryPage, CartPage, CardProductPage, CardReader, CardMain, GroupMain, TagsMain, CartBox, DrumItem, ButtonDefault, BottomSheet, BasketButton, ModalWindows, Recommendation, PopupWindowDefault, NotificationWindow, QrCameraScanner,
47
52
  /** Stores */
48
- useModalStore, useThemeStore, useMainLibStore, useCardLibStore, useCartLibStore,
53
+ useModalStore, useThemeStore, useMainLibStore, useCardLibStore, useCartLibStore, useTableStore,
49
54
  /** Composables */
50
55
  useModal, useVirtuaLoop, usePdf,
51
56
  /** Utils */
52
57
  preventZoom, isNetworkError, parseTheme, getCachedGroup, getCachedProduct, clearAllProductDB, clearLocalStorage, PricePrerender,
53
58
  /** Components */
54
- VList, Virtualizer, FallingHearts, };
59
+ OrderBox, VList, Virtualizer, FallingHearts, };
55
60
  export type { ICallStaffRequest, PreventZoomConfig };
@@ -24,6 +24,7 @@ export declare function handleRmsDiscounts(data: any, config: PaymentConfig): bo
24
24
  export declare const checkOrderStatus: (config: PaymentConfig, status: number | null) => void;
25
25
  export declare const checkLoadCart: (config: PaymentConfig) => void;
26
26
  export declare const checkResetBonuses: (config: PaymentConfig) => void;
27
+ export declare const checkResetDiscounts: (config: PaymentConfig) => void;
27
28
  export declare const checkCloseWebSocket: (config: PaymentConfig) => void;
28
29
  /**
29
30
  * Обработка table service
@@ -41,7 +42,7 @@ export declare const handleOrderError: (config: PaymentConfig, ws: any, errorHan
41
42
  * Создание заказа и открытие WebSocket с полной обработкой ошибок и редиректов
42
43
  * handler определяется динамически при получении сообщений
43
44
  */
44
- export declare function createOrderAndOpenSocket(items: any[], tableDataId: any, config: CreateOrderAndOpenSocketConfig, options: {
45
+ export declare function createOrderAndOpenSocket(items: any[], config: CreateOrderAndOpenSocketConfig, options: {
45
46
  comment: string;
46
47
  is_authorized: boolean;
47
48
  signal?: AbortSignal;
@@ -58,7 +58,9 @@ declare class InitConnection {
58
58
  getLoyalSmsCode(phoneNumber: any): Promise<any>;
59
59
  sendSmsCodeForAuth(code: number, phone: number): Promise<any>;
60
60
  callStaff(tableId: string, payload: ICallStaffRequest, options?: AxiosRequestConfig): Promise<string | undefined>;
61
- createOrder(clearCartProducts_lib: any, tableTitle: any, is_requestKiosk: boolean | undefined, comment: string, is_authorized?: boolean, is_tableservice?: boolean, signal?: AbortSignal): Promise<any>;
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>;
63
+ extendOrder(clearCartProducts_lib: any): Promise<any>;
62
64
  initPaymentLink(order: string, paymentMethod: string): Promise<any>;
63
65
  orderPay(id: string): Promise< AxiosResponse<any, any, {}> | undefined>;
64
66
  getProfile(): Promise<any>;
@@ -1,10 +1,8 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  type __VLS_Props = {
3
3
  configPage: {
4
- tableDataId: any;
5
4
  kiosk_menu: boolean;
6
5
  qr_menu: boolean;
7
- is_tableservice: boolean;
8
6
  userData?: unknown;
9
7
  };
10
8
  comment: string;
@@ -14,7 +14,6 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
14
14
  } | {
15
15
  textNotification: string;
16
16
  }>;
17
- textPaymentBtn_lib: Ref<string, string>;
18
17
  count: Ref<number, number>;
19
18
  guestInfo: Ref<any, any>;
20
19
  error: Ref<string, string>;
@@ -47,13 +46,13 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
47
46
  closeDrawer: () => void;
48
47
  clearCard: () => void;
49
48
  showNotification: (message: string) => void;
50
- createPaymentHandler: (context: PaymentContext, is_requestKiosk: boolean, is_tableservice: boolean, paymentMethodId?: string) => {
49
+ createPaymentHandler: (context: PaymentContext, is_requestKiosk: boolean, paymentMethodId?: string) => {
51
50
  handler: any;
52
51
  config: PaymentConfig;
53
52
  } | null;
54
53
  getCurrentPaymentMethodId: () => string | null;
55
54
  getAvailablePaymentMethods: (context: PaymentContext) => string[];
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<{
55
+ }, "error" | "count" | "is_notification_lib" | "notificationData_lib" | "isButtonDisabled" | "orderCompleted_lib" | "extraDiscount" | "orderNumber" | "guestInfo" | "isDrawerOpen" | "currentState" | "isCreateButtonVisible" | "linkQR" | "providerTypes" | "is_paymentCart" | "selectedOrderType" | "selectedProvider" | "configPayment" | "paymentCostQR">, Pick<{
57
56
  isButtonDisabled: Ref<boolean, boolean>;
58
57
  orderCompleted_lib: Ref<number | null, number | null>;
59
58
  extraDiscount: Ref<number, number>;
@@ -66,7 +65,6 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
66
65
  } | {
67
66
  textNotification: string;
68
67
  }>;
69
- textPaymentBtn_lib: Ref<string, string>;
70
68
  count: Ref<number, number>;
71
69
  guestInfo: Ref<any, any>;
72
70
  error: Ref<string, string>;
@@ -99,7 +97,7 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
99
97
  closeDrawer: () => void;
100
98
  clearCard: () => void;
101
99
  showNotification: (message: string) => void;
102
- createPaymentHandler: (context: PaymentContext, is_requestKiosk: boolean, is_tableservice: boolean, paymentMethodId?: string) => {
100
+ createPaymentHandler: (context: PaymentContext, is_requestKiosk: boolean, paymentMethodId?: string) => {
103
101
  handler: any;
104
102
  config: PaymentConfig;
105
103
  } | null;
@@ -118,7 +116,6 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
118
116
  } | {
119
117
  textNotification: string;
120
118
  }>;
121
- textPaymentBtn_lib: Ref<string, string>;
122
119
  count: Ref<number, number>;
123
120
  guestInfo: Ref<any, any>;
124
121
  error: Ref<string, string>;
@@ -151,10 +148,10 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
151
148
  closeDrawer: () => void;
152
149
  clearCard: () => void;
153
150
  showNotification: (message: string) => void;
154
- createPaymentHandler: (context: PaymentContext, is_requestKiosk: boolean, is_tableservice: boolean, paymentMethodId?: string) => {
151
+ createPaymentHandler: (context: PaymentContext, is_requestKiosk: boolean, paymentMethodId?: string) => {
155
152
  handler: any;
156
153
  config: PaymentConfig;
157
154
  } | null;
158
155
  getCurrentPaymentMethodId: () => string | null;
159
156
  getAvailablePaymentMethods: (context: PaymentContext) => string[];
160
- }, "deleteCart" | "setGuestInfo" | "setState" | "openDrawer" | "closeDrawer" | "clearCard" | "showNotification" | "createPaymentHandler" | "getCurrentPaymentMethodId" | "getAvailablePaymentMethods">>;
157
+ }, "showNotification" | "deleteCart" | "setGuestInfo" | "setState" | "openDrawer" | "closeDrawer" | "clearCard" | "createPaymentHandler" | "getCurrentPaymentMethodId" | "getAvailablePaymentMethods">>;
@@ -0,0 +1,28 @@
1
+ import { OrderData, TableData } from '../types/iTableService';
2
+ import { StoreDefinition } from 'pinia';
3
+ import { WritableComputedRef, ComputedRef, Ref } from 'vue';
4
+ export declare const useTableStore: StoreDefinition<"table-data", Pick<{
5
+ id: WritableComputedRef<string | undefined, string | undefined>;
6
+ isTableService: ComputedRef<boolean>;
7
+ hasOrder: ComputedRef<boolean>;
8
+ data: Ref<TableData | null, TableData | null>;
9
+ order: Ref<OrderData | null, OrderData | null>;
10
+ refresh: () => void;
11
+ refreshOrder: () => void;
12
+ }, "data" | "order">, Pick<{
13
+ id: WritableComputedRef<string | undefined, string | undefined>;
14
+ isTableService: ComputedRef<boolean>;
15
+ hasOrder: ComputedRef<boolean>;
16
+ data: Ref<TableData | null, TableData | null>;
17
+ order: Ref<OrderData | null, OrderData | null>;
18
+ refresh: () => void;
19
+ refreshOrder: () => void;
20
+ }, "id" | "isTableService" | "hasOrder">, Pick<{
21
+ id: WritableComputedRef<string | undefined, string | undefined>;
22
+ isTableService: ComputedRef<boolean>;
23
+ hasOrder: ComputedRef<boolean>;
24
+ data: Ref<TableData | null, TableData | null>;
25
+ order: Ref<OrderData | null, OrderData | null>;
26
+ refresh: () => void;
27
+ refreshOrder: () => void;
28
+ }, "refresh" | "refreshOrder">>;
@@ -14,6 +14,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
14
14
  bonuses_button_name?: string | undefined;
15
15
  qr_auth_required?: boolean | null | undefined;
16
16
  qr_bypass_guest_auth?: boolean | null | undefined;
17
+ qr_show_pay_button_ts?: boolean | null | undefined;
17
18
  kiosk_bypass_guest_auth?: boolean | null | undefined;
18
19
  kiosk_disable_lock_screen?: boolean | null | undefined;
19
20
  kiosk_hide_banner?: boolean | null | undefined;
@@ -78,6 +79,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
78
79
  bonuses_button_name?: string | undefined;
79
80
  qr_auth_required?: boolean | null | undefined;
80
81
  qr_bypass_guest_auth?: boolean | null | undefined;
82
+ qr_show_pay_button_ts?: boolean | null | undefined;
81
83
  kiosk_bypass_guest_auth?: boolean | null | undefined;
82
84
  kiosk_disable_lock_screen?: boolean | null | undefined;
83
85
  kiosk_hide_banner?: boolean | null | undefined;
@@ -143,6 +145,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
143
145
  bonuses_button_name?: string | undefined;
144
146
  qr_auth_required?: boolean | null | undefined;
145
147
  qr_bypass_guest_auth?: boolean | null | undefined;
148
+ qr_show_pay_button_ts?: boolean | null | undefined;
146
149
  kiosk_bypass_guest_auth?: boolean | null | undefined;
147
150
  kiosk_disable_lock_screen?: boolean | null | undefined;
148
151
  kiosk_hide_banner?: boolean | null | undefined;
@@ -209,6 +212,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
209
212
  bonuses_button_name?: string | undefined;
210
213
  qr_auth_required?: boolean | null | undefined;
211
214
  qr_bypass_guest_auth?: boolean | null | undefined;
215
+ qr_show_pay_button_ts?: boolean | null | undefined;
212
216
  kiosk_bypass_guest_auth?: boolean | null | undefined;
213
217
  kiosk_disable_lock_screen?: boolean | null | undefined;
214
218
  kiosk_hide_banner?: boolean | null | undefined;
@@ -273,6 +277,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
273
277
  bonuses_button_name?: string | undefined;
274
278
  qr_auth_required?: boolean | null | undefined;
275
279
  qr_bypass_guest_auth?: boolean | null | undefined;
280
+ qr_show_pay_button_ts?: boolean | null | undefined;
276
281
  kiosk_bypass_guest_auth?: boolean | null | undefined;
277
282
  kiosk_disable_lock_screen?: boolean | null | undefined;
278
283
  kiosk_hide_banner?: boolean | null | undefined;
@@ -338,6 +343,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
338
343
  bonuses_button_name?: string | undefined;
339
344
  qr_auth_required?: boolean | null | undefined;
340
345
  qr_bypass_guest_auth?: boolean | null | undefined;
346
+ qr_show_pay_button_ts?: boolean | null | undefined;
341
347
  kiosk_bypass_guest_auth?: boolean | null | undefined;
342
348
  kiosk_disable_lock_screen?: boolean | null | undefined;
343
349
  kiosk_hide_banner?: boolean | null | undefined;
@@ -404,6 +410,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
404
410
  bonuses_button_name?: string | undefined;
405
411
  qr_auth_required?: boolean | null | undefined;
406
412
  qr_bypass_guest_auth?: boolean | null | undefined;
413
+ qr_show_pay_button_ts?: boolean | null | undefined;
407
414
  kiosk_bypass_guest_auth?: boolean | null | undefined;
408
415
  kiosk_disable_lock_screen?: boolean | null | undefined;
409
416
  kiosk_hide_banner?: boolean | null | undefined;
@@ -468,6 +475,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
468
475
  bonuses_button_name?: string | undefined;
469
476
  qr_auth_required?: boolean | null | undefined;
470
477
  qr_bypass_guest_auth?: boolean | null | undefined;
478
+ qr_show_pay_button_ts?: boolean | null | undefined;
471
479
  kiosk_bypass_guest_auth?: boolean | null | undefined;
472
480
  kiosk_disable_lock_screen?: boolean | null | undefined;
473
481
  kiosk_hide_banner?: boolean | null | undefined;
@@ -533,6 +541,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
533
541
  bonuses_button_name?: string | undefined;
534
542
  qr_auth_required?: boolean | null | undefined;
535
543
  qr_bypass_guest_auth?: boolean | null | undefined;
544
+ qr_show_pay_button_ts?: boolean | null | undefined;
536
545
  kiosk_bypass_guest_auth?: boolean | null | undefined;
537
546
  kiosk_disable_lock_screen?: boolean | null | undefined;
538
547
  kiosk_hide_banner?: boolean | null | undefined;
@@ -0,0 +1,29 @@
1
+ export interface BranchButton {
2
+ button_image: string;
3
+ button_name: string;
4
+ id: string;
5
+ timeout: number;
6
+ }
7
+ export interface Branch {
8
+ id: string;
9
+ kiosk_order_minimum_price?: number;
10
+ name: string;
11
+ qr_order_minimum_price?: number;
12
+ work_mode: 'fast-food' | 'table-service';
13
+ buttons: BranchButton[];
14
+ }
15
+ export interface TableData {
16
+ available_extend: boolean;
17
+ branch: Branch;
18
+ external_link: string | null;
19
+ id: string;
20
+ is_free: boolean;
21
+ number: number | string;
22
+ order: string | null;
23
+ seating_capacity: number;
24
+ }
25
+ export interface OrderData {
26
+ id: string;
27
+ items: any[];
28
+ [x: string]: any;
29
+ }
@@ -10,6 +10,7 @@ export interface ITheme {
10
10
  bonuses_button_name?: string;
11
11
  qr_auth_required?: boolean | null;
12
12
  qr_bypass_guest_auth?: boolean | null;
13
+ qr_show_pay_button_ts?: boolean | null;
13
14
  kiosk_bypass_guest_auth?: boolean | null;
14
15
  kiosk_disable_lock_screen?: boolean | null;
15
16
  kiosk_hide_banner?: boolean | null;
@@ -25,7 +25,6 @@ export interface PaymentConfig {
25
25
  context: PaymentContext;
26
26
  method: PaymentMethod;
27
27
  is_requestKiosk: boolean;
28
- is_tableservice: boolean;
29
28
  showNotification: (message: string) => void;
30
29
  deleteCart: (path: string | null, clearTokens: boolean) => void;
31
30
  resetStores: () => void;
@@ -34,6 +33,7 @@ export interface PaymentConfig {
34
33
  setOrderNumber?: (number: number) => void;
35
34
  loadCart?: () => void;
36
35
  resetBonuses?: () => void;
36
+ resetDiscounts?: () => void;
37
37
  ws?: any;
38
38
  router?: any;
39
39
  route?: any;
@@ -6,8 +6,6 @@ type __VLS_Props = {
6
6
  qr_menu: boolean;
7
7
  data: any;
8
8
  textNotificationCart: any;
9
- tableDataId: any;
10
- is_tableservice: boolean;
11
9
  };
12
10
  textPaymentBtn: string;
13
11
  config_qr: boolean;
@@ -0,0 +1,3 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
3
+ export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@inno_user/inno_clouds_lib",
3
3
  "private": false,
4
- "version": "9.4.4",
4
+ "version": "9.4.6",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"