@restaround/react 1.4.43 → 1.4.46

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 (175) hide show
  1. package/dist/components/PublicMenu/Branches/BranchCard/BranchCard.d.ts +6 -0
  2. package/dist/components/PublicMenu/Branches/BranchCard/Parent.d.ts +7 -0
  3. package/dist/components/PublicMenu/Branches/BranchCard/index.d.ts +1 -0
  4. package/dist/components/PublicMenu/Branches/Branches.d.ts +1 -7
  5. package/dist/components/PublicMenu/{Categories.d.ts → Categories/Categories.d.ts} +1 -1
  6. package/dist/components/PublicMenu/Categories/index.d.ts +1 -0
  7. package/dist/components/PublicMenu/Header/BranchHeader/BranchHeader.d.ts +2 -0
  8. package/dist/components/PublicMenu/Header/BranchHeader/HeaderLinks/HeaderLinks.d.ts +2 -0
  9. package/dist/components/PublicMenu/Header/BranchHeader/HeaderLinks/index.d.ts +1 -0
  10. package/dist/components/PublicMenu/Header/BranchHeader/index.d.ts +1 -0
  11. package/dist/components/PublicMenu/Header/BusinessHeader/BusinessHeader.d.ts +2 -0
  12. package/dist/components/PublicMenu/Header/BusinessHeader/index.d.ts +1 -0
  13. package/dist/components/PublicMenu/Header/Header.d.ts +1 -7
  14. package/dist/components/PublicMenu/MenuContent/MenuContent.d.ts +6 -0
  15. package/dist/components/PublicMenu/MenuContent/index.d.ts +1 -0
  16. package/dist/components/PublicMenu/Products/Products.d.ts +1 -1
  17. package/dist/components/PublicMenu/PublicMenu.d.ts +1 -1
  18. package/dist/constants/index.esm.js +1 -1
  19. package/dist/constants/index.esm.js.map +1 -1
  20. package/dist/constants/index.js +1 -1
  21. package/dist/constants/index.js.map +1 -1
  22. package/dist/constants/modules/view/constants.d.ts +8 -2
  23. package/dist/index.esm.js +1 -1
  24. package/dist/index.esm.js.map +1 -1
  25. package/dist/index.js +1 -1
  26. package/dist/index.js.map +1 -1
  27. package/dist/models/index.d.ts +2 -2
  28. package/dist/models/index.esm.js.map +1 -1
  29. package/dist/models/index.js.map +1 -1
  30. package/dist/models/models/index.d.ts +2 -2
  31. package/dist/models/modules/branch/hooks.d.ts +9 -1
  32. package/dist/models/modules/branch/models.d.ts +2 -0
  33. package/dist/models/modules/business/constants.d.ts +2 -0
  34. package/dist/models/modules/business/hooks.d.ts +9 -0
  35. package/dist/models/modules/menu/index.d.ts +2 -0
  36. package/dist/models/{menu.d.ts → modules/menu/models.d.ts} +7 -21
  37. package/dist/models/modules/menu/utils.d.ts +4 -0
  38. package/dist/models/modules/product/hooks.d.ts +3 -0
  39. package/dist/models/modules/product/utils.d.ts +1 -0
  40. package/dist/models/modules/table/hooks.d.ts +4 -0
  41. package/dist/models/modules/view/constants.d.ts +8 -2
  42. package/dist/models/store/index.d.ts +3 -3
  43. package/dist/modules/branch/hooks.d.ts +9 -1
  44. package/dist/modules/branch/models.d.ts +2 -0
  45. package/dist/modules/business/constants.d.ts +2 -0
  46. package/dist/modules/business/hooks.d.ts +9 -0
  47. package/dist/modules/business/index.d.ts +1 -0
  48. package/dist/modules/category/hooks.d.ts +3 -0
  49. package/dist/{utils/category.d.ts → modules/category/utils.d.ts} +1 -1
  50. package/dist/modules/menu/index.d.ts +2 -0
  51. package/dist/{models/models/menu.d.ts → modules/menu/models.d.ts} +7 -21
  52. package/dist/modules/menu/utils.d.ts +4 -0
  53. package/dist/modules/product/hooks.d.ts +3 -0
  54. package/dist/modules/product/utils.d.ts +1 -0
  55. package/dist/modules/view/constants.d.ts +8 -2
  56. package/dist/modules/view/hooks.d.ts +2 -0
  57. package/dist/modules/view/index.d.ts +1 -0
  58. package/dist/modules/view/utils.d.ts +10 -0
  59. package/dist/store/index.d.ts +3 -3
  60. package/dist/styles/ui.css +1 -1
  61. package/dist/styles/ui.css.map +1 -1
  62. package/dist/utils/index.d.ts +2 -5
  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/branch/models.d.ts +2 -0
  68. package/dist/utils/{utils/category.d.ts → modules/category/utils.d.ts} +1 -1
  69. package/dist/utils/{models/menu.d.ts → modules/menu/models.d.ts} +7 -21
  70. package/dist/utils/modules/menu/utils.d.ts +4 -0
  71. package/dist/utils/modules/product/utils.d.ts +1 -0
  72. package/dist/utils/modules/view/constants.d.ts +8 -2
  73. package/dist/utils/modules/view/utils.d.ts +10 -0
  74. package/dist/utils/utils/index.d.ts +2 -5
  75. package/package.json +6 -6
  76. package/dist/components/Image/Image.d.ts +0 -9
  77. package/dist/components/Image/index.d.ts +0 -1
  78. package/dist/components/PublicMenu/Header/BranchInfo/BranchInfo.d.ts +0 -10
  79. package/dist/components/PublicMenu/Header/BranchInfo/index.d.ts +0 -1
  80. package/dist/components/PublicMenu/Header/BusinessInfo/BusinessInfo.d.ts +0 -7
  81. package/dist/components/PublicMenu/Header/BusinessInfo/index.d.ts +0 -1
  82. package/dist/hooks/category.d.ts +0 -1
  83. package/dist/hooks/product.d.ts +0 -2
  84. package/dist/models/utils/common.d.ts +0 -1
  85. package/dist/utils/common.d.ts +0 -1
  86. package/dist/utils/components/PublicMenu/OrderMethods/OrderMethods.types.d.ts +0 -9
  87. package/dist/utils/components/PublicMenu/ProductsGridItem/ProductsGridItem.types.d.ts +0 -12
  88. package/dist/utils/constants/env.d.ts +0 -1
  89. package/dist/utils/constants.d.ts +0 -5
  90. package/dist/utils/hooks/translation.d.ts +0 -5
  91. package/dist/utils/image.d.ts +0 -5
  92. package/dist/utils/menu.d.ts +0 -2
  93. package/dist/utils/models/index.d.ts +0 -15
  94. package/dist/utils/modules/branch/hooks.d.ts +0 -9
  95. package/dist/utils/modules/branch/utils.d.ts +0 -9
  96. package/dist/utils/modules/common/services.d.ts +0 -1
  97. package/dist/utils/modules/customer/hooks.d.ts +0 -5
  98. package/dist/utils/modules/customer/services.d.ts +0 -9
  99. package/dist/utils/modules/order/hooks.d.ts +0 -18
  100. package/dist/utils/modules/order/index.d.ts +0 -5
  101. package/dist/utils/modules/order/services.d.ts +0 -4
  102. package/dist/utils/modules/product/hooks.d.ts +0 -6
  103. package/dist/utils/modules/store/hooks.d.ts +0 -6
  104. package/dist/utils/modules/user/models.d.ts +0 -56
  105. package/dist/utils/modules/view/models.d.ts +0 -7
  106. package/dist/utils/modules/view/services.d.ts +0 -2
  107. package/dist/utils/services/api/index.d.ts +0 -5
  108. package/dist/utils/services/translation/index.d.ts +0 -3
  109. package/dist/utils/services/translation/locales/az/auth.d.ts +0 -7
  110. package/dist/utils/services/translation/locales/az/branch.d.ts +0 -13
  111. package/dist/utils/services/translation/locales/az/common.d.ts +0 -6
  112. package/dist/utils/services/translation/locales/az/customer.d.ts +0 -17
  113. package/dist/utils/services/translation/locales/az/error.d.ts +0 -20
  114. package/dist/utils/services/translation/locales/az/events.d.ts +0 -8
  115. package/dist/utils/services/translation/locales/az/index.d.ts +0 -147
  116. package/dist/utils/services/translation/locales/az/order.d.ts +0 -44
  117. package/dist/utils/services/translation/locales/az/pricing.d.ts +0 -37
  118. package/dist/utils/services/translation/locales/en/auth.d.ts +0 -2
  119. package/dist/utils/services/translation/locales/en/branch.d.ts +0 -10
  120. package/dist/utils/services/translation/locales/en/common.d.ts +0 -2
  121. package/dist/utils/services/translation/locales/en/customer.d.ts +0 -2
  122. package/dist/utils/services/translation/locales/en/error.d.ts +0 -16
  123. package/dist/utils/services/translation/locales/en/events.d.ts +0 -2
  124. package/dist/utils/services/translation/locales/en/index.d.ts +0 -33
  125. package/dist/utils/services/translation/locales/en/order.d.ts +0 -2
  126. package/dist/utils/services/translation/locales/en/pricing.d.ts +0 -2
  127. package/dist/utils/services/translation/locales/et/auth.d.ts +0 -7
  128. package/dist/utils/services/translation/locales/et/branch.d.ts +0 -13
  129. package/dist/utils/services/translation/locales/et/common.d.ts +0 -6
  130. package/dist/utils/services/translation/locales/et/customer.d.ts +0 -17
  131. package/dist/utils/services/translation/locales/et/error.d.ts +0 -20
  132. package/dist/utils/services/translation/locales/et/events.d.ts +0 -8
  133. package/dist/utils/services/translation/locales/et/index.d.ts +0 -146
  134. package/dist/utils/services/translation/locales/et/order.d.ts +0 -45
  135. package/dist/utils/services/translation/locales/et/pricing.d.ts +0 -35
  136. package/dist/utils/services/translation/locales/index.d.ts +0 -761
  137. package/dist/utils/services/translation/locales/nl/auth.d.ts +0 -7
  138. package/dist/utils/services/translation/locales/nl/branch.d.ts +0 -13
  139. package/dist/utils/services/translation/locales/nl/common.d.ts +0 -6
  140. package/dist/utils/services/translation/locales/nl/customer.d.ts +0 -17
  141. package/dist/utils/services/translation/locales/nl/error.d.ts +0 -20
  142. package/dist/utils/services/translation/locales/nl/events.d.ts +0 -8
  143. package/dist/utils/services/translation/locales/nl/index.d.ts +0 -146
  144. package/dist/utils/services/translation/locales/nl/order.d.ts +0 -45
  145. package/dist/utils/services/translation/locales/nl/pricing.d.ts +0 -35
  146. package/dist/utils/services/translation/locales/ru/auth.d.ts +0 -7
  147. package/dist/utils/services/translation/locales/ru/branch.d.ts +0 -13
  148. package/dist/utils/services/translation/locales/ru/common.d.ts +0 -6
  149. package/dist/utils/services/translation/locales/ru/customer.d.ts +0 -17
  150. package/dist/utils/services/translation/locales/ru/error.d.ts +0 -20
  151. package/dist/utils/services/translation/locales/ru/events.d.ts +0 -8
  152. package/dist/utils/services/translation/locales/ru/index.d.ts +0 -146
  153. package/dist/utils/services/translation/locales/ru/order.d.ts +0 -45
  154. package/dist/utils/services/translation/locales/ru/pricing.d.ts +0 -35
  155. package/dist/utils/services/translation/locales/tr/auth.d.ts +0 -7
  156. package/dist/utils/services/translation/locales/tr/branch.d.ts +0 -13
  157. package/dist/utils/services/translation/locales/tr/common.d.ts +0 -6
  158. package/dist/utils/services/translation/locales/tr/customer.d.ts +0 -17
  159. package/dist/utils/services/translation/locales/tr/error.d.ts +0 -20
  160. package/dist/utils/services/translation/locales/tr/events.d.ts +0 -8
  161. package/dist/utils/services/translation/locales/tr/index.d.ts +0 -146
  162. package/dist/utils/services/translation/locales/tr/order.d.ts +0 -45
  163. package/dist/utils/services/translation/locales/tr/pricing.d.ts +0 -35
  164. package/dist/utils/store/index.d.ts +0 -7
  165. package/dist/utils/store/order.d.ts +0 -42
  166. package/dist/utils/url.d.ts +0 -6
  167. package/dist/utils/utils/common.d.ts +0 -1
  168. package/dist/utils/utils/constants.d.ts +0 -5
  169. package/dist/utils/utils/image.d.ts +0 -5
  170. package/dist/utils/utils/menu.d.ts +0 -2
  171. package/dist/utils/utils/url.d.ts +0 -6
  172. package/dist/models/{category.d.ts → modules/category/models.d.ts} +0 -0
  173. package/dist/{utils/modules/product → modules/category}/index.d.ts +1 -1
  174. /package/dist/{models/models/category.d.ts → modules/category/models.d.ts} +0 -0
  175. /package/dist/utils/{models/category.d.ts → modules/category/models.d.ts} +0 -0
@@ -1,20 +0,0 @@
1
- declare const _default: {
2
- SOMETHING_WRONG: string;
3
- FIELD_REQUIRED: string;
4
- "Azerbaijani numbers must be 9 digits and start with 50, 51, 10, 55, 99, 70, 77, 60": string;
5
- "Unsupported country code": string;
6
- "Invalid OTP": string;
7
- INVALID_OTP: string;
8
- OTP_RATE_LIMIT_EXCEEDED: string;
9
- "Invalid Email Address": string;
10
- FEATURE_NOT_AVAILABLE_FOR_SEGMENT: string;
11
- ORDER_TYPE_DISABLED_FOR_BUSINESS: string;
12
- ORDER_TYPE_DISABLED_AT_THIS_TIME: string;
13
- COUNTRY_REQUIRED: string;
14
- CITY_REQUIRED: string;
15
- STREET_REQUIRED: string;
16
- STREET_NUMBER_REQUIRED: string;
17
- OUT_OF_DELIVERY_RANGE: string;
18
- NO_ORDER_TYPE: string;
19
- };
20
- export default _default;
@@ -1,8 +0,0 @@
1
- declare const _default: {
2
- Events: string;
3
- "Scrolled to Category": string;
4
- "Category Selected": string;
5
- "Product Details": string;
6
- "Product Added to Order": string;
7
- };
8
- export default _default;
@@ -1,146 +0,0 @@
1
- declare const _default: {
2
- error: {
3
- SOMETHING_WRONG: string;
4
- FIELD_REQUIRED: string;
5
- "Azerbaijani numbers must be 9 digits and start with 50, 51, 10, 55, 99, 70, 77, 60": string;
6
- "Unsupported country code": string;
7
- "Invalid OTP": string;
8
- INVALID_OTP: string;
9
- OTP_RATE_LIMIT_EXCEEDED: string;
10
- "Invalid Email Address": string;
11
- FEATURE_NOT_AVAILABLE_FOR_SEGMENT: string;
12
- ORDER_TYPE_DISABLED_FOR_BUSINESS: string;
13
- ORDER_TYPE_DISABLED_AT_THIS_TIME: string;
14
- COUNTRY_REQUIRED: string;
15
- CITY_REQUIRED: string;
16
- STREET_REQUIRED: string;
17
- STREET_NUMBER_REQUIRED: string;
18
- OUT_OF_DELIVERY_RANGE: string;
19
- NO_ORDER_TYPE: string;
20
- };
21
- common: {
22
- Save: string;
23
- Cancel: string;
24
- Continue: string;
25
- };
26
- order: {
27
- "View order": string;
28
- "Remove from order": string;
29
- "Update order": string;
30
- "Add to order": string;
31
- Add: string;
32
- "Your order": string;
33
- "Empty order": string;
34
- "You don't have any items in your order": string;
35
- "Add items": string;
36
- Subtotal: string;
37
- Events: string;
38
- "Product choices": string;
39
- "In order": string;
40
- "Not available": string;
41
- "Specify any allergies, special requests, or ingredients you want to add or remove": string;
42
- "Thank you! We've received your order and it will be delivered shortly.": string;
43
- "Go to checkout": string;
44
- "Add an order note": string;
45
- "Your Order is Completed!": string;
46
- Delivery: string;
47
- "Dine in": string;
48
- Pickup: string;
49
- Cash: string;
50
- "POS Terminal": string;
51
- "Order summary": string;
52
- Items: string;
53
- Tax: string;
54
- Total: string;
55
- "Special instructions, allergies, etc.": string;
56
- "Place order": string;
57
- Continue: string;
58
- "Track order": string;
59
- "Minimum order amount for delivery is {{amount}}": string;
60
- "This field is required": string;
61
- "Please select a table": string;
62
- "Please enter an address": string;
63
- "Please choose product": string;
64
- Table: string;
65
- "Select Table": string;
66
- Card: string;
67
- "Closed Now": string;
68
- "Delivery Fee": string;
69
- };
70
- customer: {
71
- "Unknown address": string;
72
- "No address available": string;
73
- "Update Delivery Address": string;
74
- Country: string;
75
- City: string;
76
- "Baker Street": string;
77
- Address: string;
78
- "House number": string;
79
- "Additional number": string;
80
- "Example: Door code is 555": string;
81
- "Delivery Instructions": string;
82
- Azerbaijan: string;
83
- Floor: string;
84
- "Enter address": string;
85
- };
86
- auth: {
87
- "Create an account or log in": string;
88
- "Phone number": string;
89
- "I don't have an email": string;
90
- "We sent a confirmation code to {{address}}": string;
91
- };
92
- events: {
93
- Events: string;
94
- "Scrolled to Category": string;
95
- "Category Selected": string;
96
- "Product Details": string;
97
- "Product Added to Order": string;
98
- };
99
- pricing: {
100
- "Get Started": string;
101
- "Choose Plan": string;
102
- "Smart QR Menu": string;
103
- "Link-in-bio": string;
104
- "Menu Analytics": string;
105
- "Unlimited Users": string;
106
- "Unlimited Products": string;
107
- "Unlimited Categories": string;
108
- "Product variants": string;
109
- "Product options": string;
110
- "Sales reports": string;
111
- "24/7 Support": string;
112
- "Multiple Branches": string;
113
- "Table Management": string;
114
- "Order Management": string;
115
- "Mobile App for Owners & Staff": string;
116
- "Point of Sale (POS)": string;
117
- "Delivery Management": string;
118
- "Third-Party Delivery Integrations": string;
119
- "RestaroundPay with Mobile": string;
120
- "Event management": string;
121
- "/ month": string;
122
- monthly: string;
123
- annually: string;
124
- "Choose a pricing plan that fits your business. Subscribe monthly or annually and save more with long-term plans!": string;
125
- "Flexible Plans for Every Business - Simple Pricing, More Value!": string;
126
- "Unlimited Languages": string;
127
- "30-day money-back guarantee": string;
128
- "Limited Time Only": string;
129
- "/ lifetime": string;
130
- "Try for free": string;
131
- "No credit card needed": string;
132
- };
133
- branch: {
134
- "WEEKDAY-0": string;
135
- "WEEKDAY-1": string;
136
- "WEEKDAY-2": string;
137
- "WEEKDAY-3": string;
138
- "WEEKDAY-4": string;
139
- "WEEKDAY-5": string;
140
- "WEEKDAY-6": string;
141
- Closed: string;
142
- "Opening Hours": string;
143
- "Delivery Hours": string;
144
- };
145
- };
146
- export default _default;
@@ -1,45 +0,0 @@
1
- declare const _default: {
2
- "View order": string;
3
- "Remove from order": string;
4
- "Update order": string;
5
- "Add to order": string;
6
- Add: string;
7
- "Your order": string;
8
- "Empty order": string;
9
- "You don't have any items in your order": string;
10
- "Add items": string;
11
- Subtotal: string;
12
- Events: string;
13
- "Product choices": string;
14
- "In order": string;
15
- "Not available": string;
16
- "Specify any allergies, special requests, or ingredients you want to add or remove": string;
17
- "Thank you! We've received your order and it will be delivered shortly.": string;
18
- "Go to checkout": string;
19
- "Add an order note": string;
20
- "Your Order is Completed!": string;
21
- Delivery: string;
22
- "Dine in": string;
23
- Pickup: string;
24
- Cash: string;
25
- "POS Terminal": string;
26
- "Order summary": string;
27
- Items: string;
28
- Tax: string;
29
- Total: string;
30
- "Special instructions, allergies, etc.": string;
31
- "Place order": string;
32
- Continue: string;
33
- "Track order": string;
34
- "Minimum order amount for delivery is {{amount}}": string;
35
- "This field is required": string;
36
- "Please select a table": string;
37
- "Please enter an address": string;
38
- "Please choose product": string;
39
- Table: string;
40
- "Select Table": string;
41
- Card: string;
42
- "Closed Now": string;
43
- "Delivery Fee": string;
44
- };
45
- export default _default;
@@ -1,35 +0,0 @@
1
- declare const _default: {
2
- "Get Started": string;
3
- "Choose Plan": string;
4
- "Smart QR Menu": string;
5
- "Link-in-bio": string;
6
- "Menu Analytics": string;
7
- "Unlimited Users": string;
8
- "Unlimited Products": string;
9
- "Unlimited Categories": string;
10
- "Product variants": string;
11
- "Product options": string;
12
- "Sales reports": string;
13
- "24/7 Support": string;
14
- "Multiple Branches": string;
15
- "Table Management": string;
16
- "Order Management": string;
17
- "Mobile App for Owners & Staff": string;
18
- "Point of Sale (POS)": string;
19
- "Delivery Management": string;
20
- "Third-Party Delivery Integrations": string;
21
- "RestaroundPay with Mobile": string;
22
- "Event management": string;
23
- "/ month": string;
24
- monthly: string;
25
- annually: string;
26
- "Choose a pricing plan that fits your business. Subscribe monthly or annually and save more with long-term plans!": string;
27
- "Flexible Plans for Every Business - Simple Pricing, More Value!": string;
28
- "Unlimited Languages": string;
29
- "30-day money-back guarantee": string;
30
- "Limited Time Only": string;
31
- "/ lifetime": string;
32
- "Try for free": string;
33
- "No credit card needed": string;
34
- };
35
- export default _default;
@@ -1,7 +0,0 @@
1
- import { ReactElement } from "react";
2
- import { PublicMenuData } from "src/models/menu";
3
- export declare const StoreProvider: ({ children, value, }: {
4
- children: ReactElement;
5
- value: PublicMenuData;
6
- }) => import("react/jsx-runtime").JSX.Element;
7
- export declare const useStoreContext: () => PublicMenuData;
@@ -1,42 +0,0 @@
1
- import { Dispatch, ReactNode, SetStateAction } from "react";
2
- import { FormErrors } from "@sorocraft/ui";
3
- import * as productModels from "src/modules/product/models";
4
- import * as orderModels from "src/modules/order/models";
5
- import * as customerModels from "src/modules/customer/models";
6
- type UpdateOrderItemsParams = {
7
- product: productModels.Product;
8
- quantity?: number;
9
- variantId?: number | null;
10
- selectedAddons?: orderModels.SelectedAddons;
11
- note?: string;
12
- };
13
- type OrderContent = {
14
- order: Partial<orderModels.Order>;
15
- orderStep: orderModels.OrderStep;
16
- orderItems: orderModels.OrderItems;
17
- isOrderOpen: boolean;
18
- customer: customerModels.Customer;
19
- trackingId: string;
20
- errors?: FormErrors;
21
- setOrderStep: Dispatch<SetStateAction<orderModels.OrderStep>>;
22
- updateOrder: (updatedFields: Partial<orderModels.Order>) => void;
23
- addProduct: (params: UpdateOrderItemsParams) => void;
24
- updateProduct: (params: UpdateOrderItemsParams) => void;
25
- removeAllProductVariants: (productId: number) => void;
26
- setIsOrderOpen: Dispatch<SetStateAction<boolean>>;
27
- getCustomer: () => void;
28
- resetOrder: (force?: boolean, shouldClose?: boolean) => void;
29
- setTrackingId: Dispatch<SetStateAction<string>>;
30
- updateOrderErrors: (field: keyof orderModels.Order) => void;
31
- resetErrors: () => void;
32
- };
33
- type OrderProviderProps = {
34
- children: ReactNode;
35
- defaultOrderType?: orderModels.OrderType;
36
- defaultPaymentMethod?: orderModels.PaymentMethod;
37
- defaultBranchId?: number;
38
- isOrderDefaultOpen?: boolean;
39
- };
40
- export declare const OrderProvider: ({ children, defaultOrderType, defaultPaymentMethod, defaultBranchId, isOrderDefaultOpen, }: OrderProviderProps) => import("react/jsx-runtime").JSX.Element;
41
- export declare const useOrderContext: () => OrderContent;
42
- export {};
@@ -1,6 +0,0 @@
1
- export declare const getBaseUrl: (hostname: string, language: string) => {
2
- url: string;
3
- domain: string;
4
- };
5
- export declare const getTLD: (language: string) => "az" | "co";
6
- export declare const getRegisterUrl: (language: string, source: string) => string;
@@ -1 +0,0 @@
1
- export declare const calculateTotalPrice: (price?: number, quantity?: number, vat?: number) => number;
@@ -1,5 +0,0 @@
1
- export declare const CO_DOMAIN = "restaround.co";
2
- export declare const AZ_DOMAIN = "restaround.az";
3
- export declare const EE_DOMAIN = "restaround.ee";
4
- export declare const NL_DOMAIN = "restaround.nl";
5
- export declare const DOMAINS: string[];
@@ -1,5 +0,0 @@
1
- export declare const IMAGE_BASE_URL = "https://images.restaround.co";
2
- export declare const getImageSource: (image?: string) => string;
3
- export declare const getLogoImageSource: (logoImage?: string) => string;
4
- export declare const getCoverPhotoSource: (coverPhoto?: string) => string;
5
- export declare const rgbDataURL: (r: number, g: number, b: number) => string;
@@ -1,2 +0,0 @@
1
- import { Category, CategoryProductMap, Product } from "src/models";
2
- export declare const prepareCategoryAndProductMap: (categories: Category[], products: Product[]) => CategoryProductMap[];
@@ -1,6 +0,0 @@
1
- export declare const getBaseUrl: (hostname: string, language: string) => {
2
- url: string;
3
- domain: string;
4
- };
5
- export declare const getTLD: (language: string) => "az" | "co";
6
- export declare const getRegisterUrl: (language: string, source: string) => string;
@@ -1,3 +1,3 @@
1
1
  export * as models from "./models";
2
- export * as utils from "./utils";
3
2
  export * as hooks from "./hooks";
3
+ export * as utils from "./utils";