@tabres/react 1.0.36 → 1.0.37

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.
Files changed (92) hide show
  1. package/dist/components/PublicMenu/Customer/UnregisteredContact/UnregisteredContact.d.ts +2 -0
  2. package/dist/components/PublicMenu/Customer/UnregisteredContact/index.d.ts +1 -0
  3. package/dist/index.esm.js +1 -1
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.js +1 -1
  6. package/dist/index.js.map +1 -1
  7. package/dist/models/index.esm.js.map +1 -1
  8. package/dist/models/index.js.map +1 -1
  9. package/dist/models/modules/customer/hooks.d.ts +1 -0
  10. package/dist/models/modules/order/hooks.d.ts +3 -1
  11. package/dist/models/modules/order/models.d.ts +40 -0
  12. package/dist/models/modules/order/services.d.ts +5 -1
  13. package/dist/models/modules/order/utils.d.ts +2 -1
  14. package/dist/models/services/translation/locales/az/customer.d.ts +5 -0
  15. package/dist/models/services/translation/locales/az/index.d.ts +5 -0
  16. package/dist/models/services/translation/locales/es/customer.d.ts +5 -0
  17. package/dist/models/services/translation/locales/es/index.d.ts +5 -0
  18. package/dist/models/services/translation/locales/et/customer.d.ts +5 -0
  19. package/dist/models/services/translation/locales/et/index.d.ts +5 -0
  20. package/dist/models/services/translation/locales/hr/customer.d.ts +5 -0
  21. package/dist/models/services/translation/locales/hr/index.d.ts +5 -0
  22. package/dist/models/services/translation/locales/index.d.ts +45 -0
  23. package/dist/models/services/translation/locales/nl/customer.d.ts +5 -0
  24. package/dist/models/services/translation/locales/nl/index.d.ts +5 -0
  25. package/dist/models/services/translation/locales/pl/customer.d.ts +5 -0
  26. package/dist/models/services/translation/locales/pl/index.d.ts +5 -0
  27. package/dist/models/services/translation/locales/pt/customer.d.ts +5 -0
  28. package/dist/models/services/translation/locales/pt/index.d.ts +5 -0
  29. package/dist/models/services/translation/locales/ru/customer.d.ts +5 -0
  30. package/dist/models/services/translation/locales/ru/index.d.ts +5 -0
  31. package/dist/models/services/translation/locales/tr/customer.d.ts +5 -0
  32. package/dist/models/services/translation/locales/tr/index.d.ts +5 -0
  33. package/dist/models/store/order.d.ts +2 -0
  34. package/dist/modules/customer/hooks.d.ts +1 -0
  35. package/dist/modules/menu/hooks.test.d.ts +1 -0
  36. package/dist/modules/order/hooks.d.ts +3 -1
  37. package/dist/modules/order/models.d.ts +40 -0
  38. package/dist/modules/order/services.d.ts +5 -1
  39. package/dist/modules/order/services.test.d.ts +1 -0
  40. package/dist/modules/order/utils.d.ts +2 -1
  41. package/dist/services/translation/locales/az/customer.d.ts +5 -0
  42. package/dist/services/translation/locales/az/index.d.ts +5 -0
  43. package/dist/services/translation/locales/es/customer.d.ts +5 -0
  44. package/dist/services/translation/locales/es/index.d.ts +5 -0
  45. package/dist/services/translation/locales/et/customer.d.ts +5 -0
  46. package/dist/services/translation/locales/et/index.d.ts +5 -0
  47. package/dist/services/translation/locales/hr/customer.d.ts +5 -0
  48. package/dist/services/translation/locales/hr/index.d.ts +5 -0
  49. package/dist/services/translation/locales/index.d.ts +45 -0
  50. package/dist/services/translation/locales/nl/customer.d.ts +5 -0
  51. package/dist/services/translation/locales/nl/index.d.ts +5 -0
  52. package/dist/services/translation/locales/pl/customer.d.ts +5 -0
  53. package/dist/services/translation/locales/pl/index.d.ts +5 -0
  54. package/dist/services/translation/locales/pt/customer.d.ts +5 -0
  55. package/dist/services/translation/locales/pt/index.d.ts +5 -0
  56. package/dist/services/translation/locales/ru/customer.d.ts +5 -0
  57. package/dist/services/translation/locales/ru/index.d.ts +5 -0
  58. package/dist/services/translation/locales/tr/customer.d.ts +5 -0
  59. package/dist/services/translation/locales/tr/index.d.ts +5 -0
  60. package/dist/store/order.d.ts +2 -0
  61. package/dist/styles/ui.css +1 -1
  62. package/dist/styles/ui.css.map +1 -1
  63. package/dist/utils/index.esm.js +1 -1
  64. package/dist/utils/index.esm.js.map +1 -1
  65. package/dist/utils/index.js +1 -1
  66. package/dist/utils/index.js.map +1 -1
  67. package/dist/utils/modules/customer/hooks.d.ts +1 -0
  68. package/dist/utils/modules/order/hooks.d.ts +3 -1
  69. package/dist/utils/modules/order/models.d.ts +40 -0
  70. package/dist/utils/modules/order/services.d.ts +5 -1
  71. package/dist/utils/modules/order/utils.d.ts +2 -1
  72. package/dist/utils/services/translation/locales/az/customer.d.ts +5 -0
  73. package/dist/utils/services/translation/locales/az/index.d.ts +5 -0
  74. package/dist/utils/services/translation/locales/es/customer.d.ts +5 -0
  75. package/dist/utils/services/translation/locales/es/index.d.ts +5 -0
  76. package/dist/utils/services/translation/locales/et/customer.d.ts +5 -0
  77. package/dist/utils/services/translation/locales/et/index.d.ts +5 -0
  78. package/dist/utils/services/translation/locales/hr/customer.d.ts +5 -0
  79. package/dist/utils/services/translation/locales/hr/index.d.ts +5 -0
  80. package/dist/utils/services/translation/locales/index.d.ts +45 -0
  81. package/dist/utils/services/translation/locales/nl/customer.d.ts +5 -0
  82. package/dist/utils/services/translation/locales/nl/index.d.ts +5 -0
  83. package/dist/utils/services/translation/locales/pl/customer.d.ts +5 -0
  84. package/dist/utils/services/translation/locales/pl/index.d.ts +5 -0
  85. package/dist/utils/services/translation/locales/pt/customer.d.ts +5 -0
  86. package/dist/utils/services/translation/locales/pt/index.d.ts +5 -0
  87. package/dist/utils/services/translation/locales/ru/customer.d.ts +5 -0
  88. package/dist/utils/services/translation/locales/ru/index.d.ts +5 -0
  89. package/dist/utils/services/translation/locales/tr/customer.d.ts +5 -0
  90. package/dist/utils/services/translation/locales/tr/index.d.ts +5 -0
  91. package/dist/utils/store/order.d.ts +2 -0
  92. package/package.json +1 -1
@@ -13,5 +13,10 @@ declare const _default: {
13
13
  Floor: string;
14
14
  "Enter address": string;
15
15
  "House No.": string;
16
+ "Your details": string;
17
+ "Full name": string;
18
+ "Your name": string;
19
+ "Phone number": string;
20
+ Email: string;
16
21
  };
17
22
  export default _default;
@@ -86,6 +86,11 @@ declare const _default: {
86
86
  Floor: string;
87
87
  "Enter address": string;
88
88
  "House No.": string;
89
+ "Your details": string;
90
+ "Full name": string;
91
+ "Your name": string;
92
+ "Phone number": string;
93
+ Email: string;
89
94
  };
90
95
  auth: {
91
96
  "Create an account or log in": string;
@@ -13,5 +13,10 @@ declare const _default: {
13
13
  Floor: string;
14
14
  "Enter address": string;
15
15
  "House No.": string;
16
+ "Your details": string;
17
+ "Full name": string;
18
+ "Your name": string;
19
+ "Phone number": string;
20
+ Email: string;
16
21
  };
17
22
  export default _default;
@@ -38,6 +38,11 @@ declare const _default: {
38
38
  Floor: string;
39
39
  "Enter address": string;
40
40
  "House No.": string;
41
+ "Your details": string;
42
+ "Full name": string;
43
+ "Your name": string;
44
+ "Phone number": string;
45
+ Email: string;
41
46
  };
42
47
  error: {
43
48
  SOMETHING_WRONG: string;
@@ -13,5 +13,10 @@ declare const _default: {
13
13
  Floor: string;
14
14
  "Enter address": string;
15
15
  "House No.": string;
16
+ "Your details": string;
17
+ "Full name": string;
18
+ "Your name": string;
19
+ "Phone number": string;
20
+ Email: string;
16
21
  };
17
22
  export default _default;
@@ -85,6 +85,11 @@ declare const _default: {
85
85
  Floor: string;
86
86
  "Enter address": string;
87
87
  "House No.": string;
88
+ "Your details": string;
89
+ "Full name": string;
90
+ "Your name": string;
91
+ "Phone number": string;
92
+ Email: string;
88
93
  };
89
94
  auth: {
90
95
  "Create an account or log in": string;
@@ -13,5 +13,10 @@ declare const _default: {
13
13
  Floor: string;
14
14
  "Enter address": string;
15
15
  "House No.": string;
16
+ "Your details": string;
17
+ "Full name": string;
18
+ "Your name": string;
19
+ "Phone number": string;
20
+ Email: string;
16
21
  };
17
22
  export default _default;
@@ -86,6 +86,11 @@ declare const _default: {
86
86
  Floor: string;
87
87
  "Enter address": string;
88
88
  "House No.": string;
89
+ "Your details": string;
90
+ "Full name": string;
91
+ "Your name": string;
92
+ "Phone number": string;
93
+ Email: string;
89
94
  };
90
95
  auth: {
91
96
  "Create an account or log in": string;
@@ -87,6 +87,11 @@ declare const _default: {
87
87
  Floor: string;
88
88
  "Enter address": string;
89
89
  "House No.": string;
90
+ "Your details": string;
91
+ "Full name": string;
92
+ "Your name": string;
93
+ "Phone number": string;
94
+ Email: string;
90
95
  };
91
96
  auth: {
92
97
  "Create an account or log in": string;
@@ -187,6 +192,11 @@ declare const _default: {
187
192
  Floor: string;
188
193
  "Enter address": string;
189
194
  "House No.": string;
195
+ "Your details": string;
196
+ "Full name": string;
197
+ "Your name": string;
198
+ "Phone number": string;
199
+ Email: string;
190
200
  };
191
201
  error: {
192
202
  SOMETHING_WRONG: string;
@@ -351,6 +361,11 @@ declare const _default: {
351
361
  Floor: string;
352
362
  "Enter address": string;
353
363
  "House No.": string;
364
+ "Your details": string;
365
+ "Full name": string;
366
+ "Your name": string;
367
+ "Phone number": string;
368
+ Email: string;
354
369
  };
355
370
  auth: {
356
371
  "Create an account or log in": string;
@@ -465,6 +480,11 @@ declare const _default: {
465
480
  Floor: string;
466
481
  "Enter address": string;
467
482
  "House No.": string;
483
+ "Your details": string;
484
+ "Full name": string;
485
+ "Your name": string;
486
+ "Phone number": string;
487
+ Email: string;
468
488
  };
469
489
  auth: {
470
490
  "Create an account or log in": string;
@@ -579,6 +599,11 @@ declare const _default: {
579
599
  Floor: string;
580
600
  "Enter address": string;
581
601
  "House No.": string;
602
+ "Your details": string;
603
+ "Full name": string;
604
+ "Your name": string;
605
+ "Phone number": string;
606
+ Email: string;
582
607
  };
583
608
  auth: {
584
609
  "Create an account or log in": string;
@@ -693,6 +718,11 @@ declare const _default: {
693
718
  Floor: string;
694
719
  "Enter address": string;
695
720
  "House No.": string;
721
+ "Your details": string;
722
+ "Full name": string;
723
+ "Your name": string;
724
+ "Phone number": string;
725
+ Email: string;
696
726
  };
697
727
  auth: {
698
728
  "Create an account or log in": string;
@@ -808,6 +838,11 @@ declare const _default: {
808
838
  Floor: string;
809
839
  "Enter address": string;
810
840
  "House No.": string;
841
+ "Your details": string;
842
+ "Full name": string;
843
+ "Your name": string;
844
+ "Phone number": string;
845
+ Email: string;
811
846
  };
812
847
  auth: {
813
848
  "Create an account or log in": string;
@@ -924,6 +959,11 @@ declare const _default: {
924
959
  Floor: string;
925
960
  "Enter address": string;
926
961
  "House No.": string;
962
+ "Your details": string;
963
+ "Full name": string;
964
+ "Your name": string;
965
+ "Phone number": string;
966
+ Email: string;
927
967
  };
928
968
  auth: {
929
969
  "Create an account or log in": string;
@@ -1040,6 +1080,11 @@ declare const _default: {
1040
1080
  Floor: string;
1041
1081
  "Enter address": string;
1042
1082
  "House No.": string;
1083
+ "Your details": string;
1084
+ "Full name": string;
1085
+ "Your name": string;
1086
+ "Phone number": string;
1087
+ Email: string;
1043
1088
  };
1044
1089
  auth: {
1045
1090
  "Create an account or log in": string;
@@ -13,5 +13,10 @@ declare const _default: {
13
13
  Floor: string;
14
14
  "Enter address": string;
15
15
  "House No.": string;
16
+ "Your details": string;
17
+ "Full name": string;
18
+ "Your name": string;
19
+ "Phone number": string;
20
+ Email: string;
16
21
  };
17
22
  export default _default;
@@ -85,6 +85,11 @@ declare const _default: {
85
85
  Floor: string;
86
86
  "Enter address": string;
87
87
  "House No.": string;
88
+ "Your details": string;
89
+ "Full name": string;
90
+ "Your name": string;
91
+ "Phone number": string;
92
+ Email: string;
88
93
  };
89
94
  auth: {
90
95
  "Create an account or log in": string;
@@ -13,5 +13,10 @@ declare const _default: {
13
13
  Floor: string;
14
14
  "Enter address": string;
15
15
  "House No.": string;
16
+ "Your details": string;
17
+ "Full name": string;
18
+ "Your name": string;
19
+ "Phone number": string;
20
+ Email: string;
16
21
  };
17
22
  export default _default;
@@ -86,6 +86,11 @@ declare const _default: {
86
86
  Floor: string;
87
87
  "Enter address": string;
88
88
  "House No.": string;
89
+ "Your details": string;
90
+ "Full name": string;
91
+ "Your name": string;
92
+ "Phone number": string;
93
+ Email: string;
89
94
  };
90
95
  auth: {
91
96
  "Create an account or log in": string;
@@ -13,5 +13,10 @@ declare const _default: {
13
13
  Floor: string;
14
14
  "Enter address": string;
15
15
  "House No.": string;
16
+ "Your details": string;
17
+ "Full name": string;
18
+ "Your name": string;
19
+ "Phone number": string;
20
+ Email: string;
16
21
  };
17
22
  export default _default;
@@ -86,6 +86,11 @@ declare const _default: {
86
86
  Floor: string;
87
87
  "Enter address": string;
88
88
  "House No.": string;
89
+ "Your details": string;
90
+ "Full name": string;
91
+ "Your name": string;
92
+ "Phone number": string;
93
+ Email: string;
89
94
  };
90
95
  auth: {
91
96
  "Create an account or log in": string;
@@ -13,5 +13,10 @@ declare const _default: {
13
13
  Floor: string;
14
14
  "Enter address": string;
15
15
  "House No.": string;
16
+ "Your details": string;
17
+ "Full name": string;
18
+ "Your name": string;
19
+ "Phone number": string;
20
+ Email: string;
16
21
  };
17
22
  export default _default;
@@ -85,6 +85,11 @@ declare const _default: {
85
85
  Floor: string;
86
86
  "Enter address": string;
87
87
  "House No.": string;
88
+ "Your details": string;
89
+ "Full name": string;
90
+ "Your name": string;
91
+ "Phone number": string;
92
+ Email: string;
88
93
  };
89
94
  auth: {
90
95
  "Create an account or log in": string;
@@ -13,5 +13,10 @@ declare const _default: {
13
13
  Floor: string;
14
14
  "Enter address": string;
15
15
  "House No.": string;
16
+ "Your details": string;
17
+ "Full name": string;
18
+ "Your name": string;
19
+ "Phone number": string;
20
+ Email: string;
16
21
  };
17
22
  export default _default;
@@ -85,6 +85,11 @@ declare const _default: {
85
85
  Floor: string;
86
86
  "Enter address": string;
87
87
  "House No.": string;
88
+ "Your details": string;
89
+ "Full name": string;
90
+ "Your name": string;
91
+ "Phone number": string;
92
+ Email: string;
88
93
  };
89
94
  auth: {
90
95
  "Create an account or log in": string;
@@ -16,10 +16,12 @@ type OrderContent = {
16
16
  orderItems: orderModels.OrderItems;
17
17
  isOrderOpen: boolean;
18
18
  customer: customerModels.Customer;
19
+ guestContact: orderModels.GuestContact;
19
20
  trackingId: string;
20
21
  errors?: FormErrors;
21
22
  setOrderStep: Dispatch<SetStateAction<orderModels.OrderStep>>;
22
23
  updateOrder: (updatedFields: Partial<orderModels.Order>) => void;
24
+ updateGuestContact: (updatedFields: Partial<orderModels.GuestContact>) => void;
23
25
  addProduct: (params: UpdateOrderItemsParams) => void;
24
26
  updateProduct: (params: UpdateOrderItemsParams) => void;
25
27
  removeAllProductVariants: (productId: number) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tabres/react",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "React Library by tabres.com",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",