@restaround/react 1.4.42 → 1.4.45
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/components/PublicMenu/Branches/BranchCard/BranchCard.d.ts +6 -0
- package/dist/components/PublicMenu/Branches/BranchCard/Parent.d.ts +7 -0
- package/dist/components/PublicMenu/Branches/BranchCard/index.d.ts +1 -0
- package/dist/components/PublicMenu/Branches/Branches.d.ts +1 -7
- package/dist/components/PublicMenu/{Categories.d.ts → Categories/Categories.d.ts} +1 -1
- package/dist/components/PublicMenu/Categories/index.d.ts +1 -0
- package/dist/components/PublicMenu/Header/BranchHeader/BranchHeader.d.ts +2 -0
- package/dist/components/PublicMenu/Header/BranchHeader/HeaderLinks/HeaderLinks.d.ts +2 -0
- package/dist/components/PublicMenu/Header/BranchHeader/HeaderLinks/index.d.ts +1 -0
- package/dist/components/PublicMenu/Header/BranchHeader/index.d.ts +1 -0
- package/dist/components/PublicMenu/Header/BusinessHeader/BusinessHeader.d.ts +2 -0
- package/dist/components/PublicMenu/Header/BusinessHeader/index.d.ts +1 -0
- package/dist/components/PublicMenu/Header/Header.d.ts +1 -7
- package/dist/components/PublicMenu/MenuContent/MenuContent.d.ts +6 -0
- package/dist/components/PublicMenu/MenuContent/index.d.ts +1 -0
- package/dist/components/PublicMenu/Products/Products.d.ts +1 -1
- package/dist/components/PublicMenu/PublicMenu.d.ts +1 -1
- package/dist/constants/index.esm.js +1 -1
- package/dist/constants/index.esm.js.map +1 -1
- package/dist/constants/index.js +1 -1
- package/dist/constants/index.js.map +1 -1
- package/dist/constants/modules/view/constants.d.ts +8 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/models/index.d.ts +2 -2
- package/dist/models/index.esm.js +1 -1
- package/dist/models/index.esm.js.map +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/index.js.map +1 -1
- package/dist/models/models/index.d.ts +2 -2
- package/dist/models/modules/branch/hooks.d.ts +9 -1
- package/dist/models/modules/branch/models.d.ts +2 -0
- package/dist/models/modules/business/constants.d.ts +2 -0
- package/dist/models/modules/business/hooks.d.ts +9 -0
- package/dist/models/modules/menu/index.d.ts +2 -0
- package/dist/models/{menu.d.ts → modules/menu/models.d.ts} +7 -21
- package/dist/models/modules/menu/utils.d.ts +4 -0
- package/dist/models/modules/product/hooks.d.ts +3 -0
- package/dist/models/modules/product/utils.d.ts +1 -0
- package/dist/models/modules/table/hooks.d.ts +4 -0
- package/dist/models/modules/user/models.d.ts +3 -1
- package/dist/models/modules/view/constants.d.ts +8 -2
- package/dist/models/store/index.d.ts +3 -3
- package/dist/modules/branch/hooks.d.ts +9 -1
- package/dist/modules/branch/models.d.ts +2 -0
- package/dist/modules/business/constants.d.ts +2 -0
- package/dist/modules/business/hooks.d.ts +9 -0
- package/dist/modules/business/index.d.ts +1 -0
- package/dist/modules/category/hooks.d.ts +3 -0
- package/dist/{utils/category.d.ts → modules/category/utils.d.ts} +1 -1
- package/dist/modules/menu/index.d.ts +2 -0
- package/dist/{models/models/menu.d.ts → modules/menu/models.d.ts} +7 -21
- package/dist/modules/menu/utils.d.ts +4 -0
- package/dist/modules/product/hooks.d.ts +3 -0
- package/dist/modules/product/utils.d.ts +1 -0
- package/dist/modules/user/models.d.ts +3 -1
- package/dist/modules/view/constants.d.ts +8 -2
- package/dist/modules/view/hooks.d.ts +2 -0
- package/dist/modules/view/index.d.ts +1 -0
- package/dist/modules/view/utils.d.ts +10 -0
- package/dist/store/index.d.ts +3 -3
- package/dist/styles/ui.css +1 -1
- package/dist/styles/ui.css.map +1 -1
- package/dist/utils/index.d.ts +2 -5
- package/dist/utils/index.esm.js +1 -1
- package/dist/utils/index.esm.js.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/modules/branch/models.d.ts +2 -0
- package/dist/utils/{utils/category.d.ts → modules/category/utils.d.ts} +1 -1
- package/dist/utils/{models/menu.d.ts → modules/menu/models.d.ts} +7 -21
- package/dist/utils/modules/menu/utils.d.ts +4 -0
- package/dist/utils/modules/product/utils.d.ts +1 -0
- package/dist/utils/modules/view/constants.d.ts +8 -2
- package/dist/utils/modules/view/utils.d.ts +10 -0
- package/dist/utils/utils/index.d.ts +2 -5
- package/package.json +6 -6
- package/dist/components/Image/Image.d.ts +0 -9
- package/dist/components/Image/index.d.ts +0 -1
- package/dist/components/PublicMenu/Header/BranchInfo/BranchInfo.d.ts +0 -10
- package/dist/components/PublicMenu/Header/BranchInfo/index.d.ts +0 -1
- package/dist/components/PublicMenu/Header/BusinessInfo/BusinessInfo.d.ts +0 -7
- package/dist/components/PublicMenu/Header/BusinessInfo/index.d.ts +0 -1
- package/dist/hooks/category.d.ts +0 -1
- package/dist/hooks/product.d.ts +0 -2
- package/dist/models/utils/common.d.ts +0 -1
- package/dist/utils/common.d.ts +0 -1
- package/dist/utils/components/PublicMenu/OrderMethods/OrderMethods.types.d.ts +0 -9
- package/dist/utils/components/PublicMenu/ProductsGridItem/ProductsGridItem.types.d.ts +0 -12
- package/dist/utils/constants/env.d.ts +0 -1
- package/dist/utils/constants.d.ts +0 -5
- package/dist/utils/hooks/translation.d.ts +0 -5
- package/dist/utils/image.d.ts +0 -5
- package/dist/utils/menu.d.ts +0 -2
- package/dist/utils/models/index.d.ts +0 -15
- package/dist/utils/modules/branch/hooks.d.ts +0 -9
- package/dist/utils/modules/branch/utils.d.ts +0 -9
- package/dist/utils/modules/common/services.d.ts +0 -1
- package/dist/utils/modules/customer/hooks.d.ts +0 -5
- package/dist/utils/modules/customer/services.d.ts +0 -9
- package/dist/utils/modules/order/hooks.d.ts +0 -18
- package/dist/utils/modules/order/index.d.ts +0 -5
- package/dist/utils/modules/order/services.d.ts +0 -4
- package/dist/utils/modules/product/hooks.d.ts +0 -6
- package/dist/utils/modules/store/hooks.d.ts +0 -6
- package/dist/utils/modules/user/models.d.ts +0 -54
- package/dist/utils/modules/view/models.d.ts +0 -7
- package/dist/utils/modules/view/services.d.ts +0 -2
- package/dist/utils/services/api/index.d.ts +0 -5
- package/dist/utils/services/translation/index.d.ts +0 -3
- package/dist/utils/services/translation/locales/az/auth.d.ts +0 -7
- package/dist/utils/services/translation/locales/az/branch.d.ts +0 -13
- package/dist/utils/services/translation/locales/az/common.d.ts +0 -6
- package/dist/utils/services/translation/locales/az/customer.d.ts +0 -17
- package/dist/utils/services/translation/locales/az/error.d.ts +0 -20
- package/dist/utils/services/translation/locales/az/events.d.ts +0 -8
- package/dist/utils/services/translation/locales/az/index.d.ts +0 -147
- package/dist/utils/services/translation/locales/az/order.d.ts +0 -44
- package/dist/utils/services/translation/locales/az/pricing.d.ts +0 -37
- package/dist/utils/services/translation/locales/en/auth.d.ts +0 -2
- package/dist/utils/services/translation/locales/en/branch.d.ts +0 -10
- package/dist/utils/services/translation/locales/en/common.d.ts +0 -2
- package/dist/utils/services/translation/locales/en/customer.d.ts +0 -2
- package/dist/utils/services/translation/locales/en/error.d.ts +0 -16
- package/dist/utils/services/translation/locales/en/events.d.ts +0 -2
- package/dist/utils/services/translation/locales/en/index.d.ts +0 -33
- package/dist/utils/services/translation/locales/en/order.d.ts +0 -2
- package/dist/utils/services/translation/locales/en/pricing.d.ts +0 -2
- package/dist/utils/services/translation/locales/et/auth.d.ts +0 -7
- package/dist/utils/services/translation/locales/et/branch.d.ts +0 -13
- package/dist/utils/services/translation/locales/et/common.d.ts +0 -6
- package/dist/utils/services/translation/locales/et/customer.d.ts +0 -17
- package/dist/utils/services/translation/locales/et/error.d.ts +0 -20
- package/dist/utils/services/translation/locales/et/events.d.ts +0 -8
- package/dist/utils/services/translation/locales/et/index.d.ts +0 -146
- package/dist/utils/services/translation/locales/et/order.d.ts +0 -45
- package/dist/utils/services/translation/locales/et/pricing.d.ts +0 -35
- package/dist/utils/services/translation/locales/index.d.ts +0 -761
- package/dist/utils/services/translation/locales/nl/auth.d.ts +0 -7
- package/dist/utils/services/translation/locales/nl/branch.d.ts +0 -13
- package/dist/utils/services/translation/locales/nl/common.d.ts +0 -6
- package/dist/utils/services/translation/locales/nl/customer.d.ts +0 -17
- package/dist/utils/services/translation/locales/nl/error.d.ts +0 -20
- package/dist/utils/services/translation/locales/nl/events.d.ts +0 -8
- package/dist/utils/services/translation/locales/nl/index.d.ts +0 -146
- package/dist/utils/services/translation/locales/nl/order.d.ts +0 -45
- package/dist/utils/services/translation/locales/nl/pricing.d.ts +0 -35
- package/dist/utils/services/translation/locales/ru/auth.d.ts +0 -7
- package/dist/utils/services/translation/locales/ru/branch.d.ts +0 -13
- package/dist/utils/services/translation/locales/ru/common.d.ts +0 -6
- package/dist/utils/services/translation/locales/ru/customer.d.ts +0 -17
- package/dist/utils/services/translation/locales/ru/error.d.ts +0 -20
- package/dist/utils/services/translation/locales/ru/events.d.ts +0 -8
- package/dist/utils/services/translation/locales/ru/index.d.ts +0 -146
- package/dist/utils/services/translation/locales/ru/order.d.ts +0 -45
- package/dist/utils/services/translation/locales/ru/pricing.d.ts +0 -35
- package/dist/utils/services/translation/locales/tr/auth.d.ts +0 -7
- package/dist/utils/services/translation/locales/tr/branch.d.ts +0 -13
- package/dist/utils/services/translation/locales/tr/common.d.ts +0 -6
- package/dist/utils/services/translation/locales/tr/customer.d.ts +0 -17
- package/dist/utils/services/translation/locales/tr/error.d.ts +0 -20
- package/dist/utils/services/translation/locales/tr/events.d.ts +0 -8
- package/dist/utils/services/translation/locales/tr/index.d.ts +0 -146
- package/dist/utils/services/translation/locales/tr/order.d.ts +0 -45
- package/dist/utils/services/translation/locales/tr/pricing.d.ts +0 -35
- package/dist/utils/store/index.d.ts +0 -7
- package/dist/utils/store/order.d.ts +0 -42
- package/dist/utils/url.d.ts +0 -6
- package/dist/utils/utils/common.d.ts +0 -1
- package/dist/utils/utils/constants.d.ts +0 -5
- package/dist/utils/utils/image.d.ts +0 -5
- package/dist/utils/utils/menu.d.ts +0 -2
- package/dist/utils/utils/url.d.ts +0 -6
- package/dist/models/{category.d.ts → modules/category/models.d.ts} +0 -0
- package/dist/{utils/modules/product → modules/category}/index.d.ts +1 -1
- /package/dist/{models/models/category.d.ts → modules/category/models.d.ts} +0 -0
- /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,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 {};
|
package/dist/utils/url.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const calculateTotalPrice: (price?: number, quantity?: number, vat?: number) => number;
|
|
@@ -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;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|