@inno_user/inno_clouds_lib 9.1.4 → 9.1.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.
package/dist/index.d.ts CHANGED
@@ -35,13 +35,14 @@ import { useModal } from './composables/useModal';
35
35
  import { useVirtuaLoop } from './composables/useVirtuaLoop';
36
36
  import { preventZoom, PreventZoomConfig } from './utils/preventZoom';
37
37
  import { default as clearLocalStorage } from './utils/clearLocalStorage';
38
+ import { default as PricePrerender } from './utils/pricePrerender';
38
39
  export { InitConnection, getWebSocketInstance, useModulesLibStore, useImageCacheStore, vClickOutside, initPinia, initRouter, useRouter, useRoute, useCachedMedia, updateIndexedDB, RetryPage, CartPage, CardProductPage, CardReader, CardMain, GroupMain, TagsMain, CartBox, DrumItem, ButtonDefault, BottomSheet, BasketButton, ModalWindows, Recommendation, PopupWindowDefault, NotificationWindow,
39
40
  /** Stores */
40
41
  useModalStore, useThemeStore, useMainLibStore, useCardLibStore, useCartLibStore,
41
42
  /** Composables */
42
43
  useModal, useVirtuaLoop,
43
44
  /** Utils */
44
- preventZoom, getCachedGroup, getCachedProduct, clearAllProductDB, clearLocalStorage,
45
+ preventZoom, getCachedGroup, getCachedProduct, clearAllProductDB, clearLocalStorage, PricePrerender,
45
46
  /** Components */
46
47
  VList, Virtualizer, };
47
48
  export type { ICallStaffRequest, PreventZoomConfig };
@@ -36,11 +36,19 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
36
36
  cart_loyalty_button_sticker?: string | null | undefined;
37
37
  cart_loyalty_button_text?: string | null | undefined;
38
38
  } | undefined;
39
- show_order_comment: boolean | null;
40
39
  show_nutrition_in_cart: boolean | null;
41
40
  apply_custom_size_picker_fonts: boolean | null;
42
41
  size_picker_unselected_font_size: number | null;
43
42
  size_picker_selected_font_size: number | null;
43
+ hide_discounts_calculate_button: boolean;
44
+ comments: {
45
+ kiosk_comment_field_name?: string | undefined;
46
+ kiosk_comment_field_placeholder?: string | undefined;
47
+ kiosk_show_order_comment?: boolean | undefined;
48
+ qr_comment_field_name?: string | undefined;
49
+ qr_comment_field_placeholder?: string | undefined;
50
+ qr_show_order_comment?: boolean | undefined;
51
+ } | null;
44
52
  }, ITheme | {
45
53
  id: string;
46
54
  created_at: string | null;
@@ -75,11 +83,19 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
75
83
  cart_loyalty_button_sticker?: string | null | undefined;
76
84
  cart_loyalty_button_text?: string | null | undefined;
77
85
  } | undefined;
78
- show_order_comment: boolean | null;
79
86
  show_nutrition_in_cart: boolean | null;
80
87
  apply_custom_size_picker_fonts: boolean | null;
81
88
  size_picker_unselected_font_size: number | null;
82
89
  size_picker_selected_font_size: number | null;
90
+ hide_discounts_calculate_button: boolean;
91
+ comments: {
92
+ kiosk_comment_field_name?: string | undefined;
93
+ kiosk_comment_field_placeholder?: string | undefined;
94
+ kiosk_show_order_comment?: boolean | undefined;
95
+ qr_comment_field_name?: string | undefined;
96
+ qr_comment_field_placeholder?: string | undefined;
97
+ qr_show_order_comment?: boolean | undefined;
98
+ } | null;
83
99
  }>;
84
100
  updateColor: (data: ITheme) => Promise<{
85
101
  id: string;
@@ -115,11 +131,19 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
115
131
  cart_loyalty_button_sticker?: string | null | undefined;
116
132
  cart_loyalty_button_text?: string | null | undefined;
117
133
  } | undefined;
118
- show_order_comment: boolean | null;
119
134
  show_nutrition_in_cart: boolean | null;
120
135
  apply_custom_size_picker_fonts: boolean | null;
121
136
  size_picker_unselected_font_size: number | null;
122
137
  size_picker_selected_font_size: number | null;
138
+ hide_discounts_calculate_button: boolean;
139
+ comments: {
140
+ kiosk_comment_field_name?: string | undefined;
141
+ kiosk_comment_field_placeholder?: string | undefined;
142
+ kiosk_show_order_comment?: boolean | undefined;
143
+ qr_comment_field_name?: string | undefined;
144
+ qr_comment_field_placeholder?: string | undefined;
145
+ qr_show_order_comment?: boolean | undefined;
146
+ } | null;
123
147
  } | undefined>;
124
148
  }, "itemThemes">, Pick<{
125
149
  itemThemes: Ref<{
@@ -156,11 +180,19 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
156
180
  cart_loyalty_button_sticker?: string | null | undefined;
157
181
  cart_loyalty_button_text?: string | null | undefined;
158
182
  } | undefined;
159
- show_order_comment: boolean | null;
160
183
  show_nutrition_in_cart: boolean | null;
161
184
  apply_custom_size_picker_fonts: boolean | null;
162
185
  size_picker_unselected_font_size: number | null;
163
186
  size_picker_selected_font_size: number | null;
187
+ hide_discounts_calculate_button: boolean;
188
+ comments: {
189
+ kiosk_comment_field_name?: string | undefined;
190
+ kiosk_comment_field_placeholder?: string | undefined;
191
+ kiosk_show_order_comment?: boolean | undefined;
192
+ qr_comment_field_name?: string | undefined;
193
+ qr_comment_field_placeholder?: string | undefined;
194
+ qr_show_order_comment?: boolean | undefined;
195
+ } | null;
164
196
  }, ITheme | {
165
197
  id: string;
166
198
  created_at: string | null;
@@ -195,11 +227,19 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
195
227
  cart_loyalty_button_sticker?: string | null | undefined;
196
228
  cart_loyalty_button_text?: string | null | undefined;
197
229
  } | undefined;
198
- show_order_comment: boolean | null;
199
230
  show_nutrition_in_cart: boolean | null;
200
231
  apply_custom_size_picker_fonts: boolean | null;
201
232
  size_picker_unselected_font_size: number | null;
202
233
  size_picker_selected_font_size: number | null;
234
+ hide_discounts_calculate_button: boolean;
235
+ comments: {
236
+ kiosk_comment_field_name?: string | undefined;
237
+ kiosk_comment_field_placeholder?: string | undefined;
238
+ kiosk_show_order_comment?: boolean | undefined;
239
+ qr_comment_field_name?: string | undefined;
240
+ qr_comment_field_placeholder?: string | undefined;
241
+ qr_show_order_comment?: boolean | undefined;
242
+ } | null;
203
243
  }>;
204
244
  updateColor: (data: ITheme) => Promise<{
205
245
  id: string;
@@ -235,11 +275,19 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
235
275
  cart_loyalty_button_sticker?: string | null | undefined;
236
276
  cart_loyalty_button_text?: string | null | undefined;
237
277
  } | undefined;
238
- show_order_comment: boolean | null;
239
278
  show_nutrition_in_cart: boolean | null;
240
279
  apply_custom_size_picker_fonts: boolean | null;
241
280
  size_picker_unselected_font_size: number | null;
242
281
  size_picker_selected_font_size: number | null;
282
+ hide_discounts_calculate_button: boolean;
283
+ comments: {
284
+ kiosk_comment_field_name?: string | undefined;
285
+ kiosk_comment_field_placeholder?: string | undefined;
286
+ kiosk_show_order_comment?: boolean | undefined;
287
+ qr_comment_field_name?: string | undefined;
288
+ qr_comment_field_placeholder?: string | undefined;
289
+ qr_show_order_comment?: boolean | undefined;
290
+ } | null;
243
291
  } | undefined>;
244
292
  }, never>, Pick<{
245
293
  itemThemes: Ref<{
@@ -276,11 +324,19 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
276
324
  cart_loyalty_button_sticker?: string | null | undefined;
277
325
  cart_loyalty_button_text?: string | null | undefined;
278
326
  } | undefined;
279
- show_order_comment: boolean | null;
280
327
  show_nutrition_in_cart: boolean | null;
281
328
  apply_custom_size_picker_fonts: boolean | null;
282
329
  size_picker_unselected_font_size: number | null;
283
330
  size_picker_selected_font_size: number | null;
331
+ hide_discounts_calculate_button: boolean;
332
+ comments: {
333
+ kiosk_comment_field_name?: string | undefined;
334
+ kiosk_comment_field_placeholder?: string | undefined;
335
+ kiosk_show_order_comment?: boolean | undefined;
336
+ qr_comment_field_name?: string | undefined;
337
+ qr_comment_field_placeholder?: string | undefined;
338
+ qr_show_order_comment?: boolean | undefined;
339
+ } | null;
284
340
  }, ITheme | {
285
341
  id: string;
286
342
  created_at: string | null;
@@ -315,11 +371,19 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
315
371
  cart_loyalty_button_sticker?: string | null | undefined;
316
372
  cart_loyalty_button_text?: string | null | undefined;
317
373
  } | undefined;
318
- show_order_comment: boolean | null;
319
374
  show_nutrition_in_cart: boolean | null;
320
375
  apply_custom_size_picker_fonts: boolean | null;
321
376
  size_picker_unselected_font_size: number | null;
322
377
  size_picker_selected_font_size: number | null;
378
+ hide_discounts_calculate_button: boolean;
379
+ comments: {
380
+ kiosk_comment_field_name?: string | undefined;
381
+ kiosk_comment_field_placeholder?: string | undefined;
382
+ kiosk_show_order_comment?: boolean | undefined;
383
+ qr_comment_field_name?: string | undefined;
384
+ qr_comment_field_placeholder?: string | undefined;
385
+ qr_show_order_comment?: boolean | undefined;
386
+ } | null;
323
387
  }>;
324
388
  updateColor: (data: ITheme) => Promise<{
325
389
  id: string;
@@ -355,10 +419,18 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
355
419
  cart_loyalty_button_sticker?: string | null | undefined;
356
420
  cart_loyalty_button_text?: string | null | undefined;
357
421
  } | undefined;
358
- show_order_comment: boolean | null;
359
422
  show_nutrition_in_cart: boolean | null;
360
423
  apply_custom_size_picker_fonts: boolean | null;
361
424
  size_picker_unselected_font_size: number | null;
362
425
  size_picker_selected_font_size: number | null;
426
+ hide_discounts_calculate_button: boolean;
427
+ comments: {
428
+ kiosk_comment_field_name?: string | undefined;
429
+ kiosk_comment_field_placeholder?: string | undefined;
430
+ kiosk_show_order_comment?: boolean | undefined;
431
+ qr_comment_field_name?: string | undefined;
432
+ qr_comment_field_placeholder?: string | undefined;
433
+ qr_show_order_comment?: boolean | undefined;
434
+ } | null;
363
435
  } | undefined>;
364
436
  }, "updateColor">>;
@@ -26,11 +26,20 @@ export interface ITheme {
26
26
  kiosk_show_loyalty_card_button: boolean | null;
27
27
  kiosk_show_loyalty_phone_input_button: boolean | null;
28
28
  cart_loyalty_button?: CardLoyalityButton;
29
- show_order_comment: boolean | null;
30
29
  show_nutrition_in_cart: boolean | null;
31
30
  apply_custom_size_picker_fonts: boolean | null;
32
31
  size_picker_unselected_font_size: number | null;
33
32
  size_picker_selected_font_size: number | null;
33
+ hide_discounts_calculate_button: boolean;
34
+ comments: IComment | null;
35
+ }
36
+ interface IComment {
37
+ kiosk_comment_field_name?: string;
38
+ kiosk_comment_field_placeholder?: string;
39
+ kiosk_show_order_comment?: boolean;
40
+ qr_comment_field_name?: string;
41
+ qr_comment_field_placeholder?: string;
42
+ qr_show_order_comment?: boolean;
34
43
  }
35
44
  interface IGradient {
36
45
  background: string;
@@ -0,0 +1,7 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ type __VLS_Props = {
3
+ id: string;
4
+ fallback?: string | null;
5
+ };
6
+ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLImageElement>;
7
+ 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.1.4",
4
+ "version": "9.1.6",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"