@restaround/react 1.3.41 → 1.4.1
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/Categories.d.ts +2 -1
- package/dist/components/PublicMenu/OrderDrawer/OrderTable/OrderTable.d.ts +2 -0
- package/dist/components/PublicMenu/OrderDrawer/OrderTable/OrderTableUI.d.ts +13 -0
- package/dist/components/PublicMenu/OrderDrawer/OrderTable/index.d.ts +1 -0
- package/dist/components/PublicMenu/OrderMethods/OrderMethods.d.ts +11 -0
- package/dist/components/PublicMenu/OrderMethods/OrderMethods.types.d.ts +8 -0
- package/dist/components/PublicMenu/OrderMethods/index.d.ts +1 -0
- package/dist/components/PublicMenu/OrderPaymentSummary/OrderPaymentSummary.d.ts +11 -0
- package/dist/components/PublicMenu/OrderPaymentSummary/index.d.ts +1 -0
- package/dist/components/PublicMenu/ProductAddons/ProductAddons.d.ts +4 -2
- package/dist/components/PublicMenu/ProductDetails/ProductDetailsUI.d.ts +28 -0
- package/dist/components/PublicMenu/ProductInOrder/ProductInOrder.d.ts +5 -1
- package/dist/components/PublicMenu/ProductVariants/ProductVariants.d.ts +4 -2
- package/dist/components/PublicMenu/ProductsGridItem/ProductsGridItem.d.ts +2 -8
- package/dist/components/PublicMenu/ProductsGridItem/ProductsGridItem.types.d.ts +10 -0
- package/dist/components/PublicMenu/ProductsGridItem/ProductsGridItemContainer.d.ts +4 -0
- package/dist/components/PublicMenu/ProductsGridItem/index.d.ts +1 -0
- package/dist/components/ScrollToTop/ScrollToTop.d.ts +7 -0
- package/dist/components/ScrollToTop/index.d.ts +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/product.d.ts +0 -6
- package/dist/index.d.ts +8 -0
- 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/components/PublicMenu/OrderMethods/OrderMethods.types.d.ts +8 -0
- package/dist/models/components/PublicMenu/ProductsGridItem/ProductsGridItem.types.d.ts +10 -0
- package/dist/models/constants/env.d.ts +1 -0
- package/dist/models/hooks/translation.d.ts +5 -0
- package/dist/models/index.d.ts +3 -0
- 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/menu.d.ts +3 -0
- package/dist/models/models/index.d.ts +3 -0
- package/dist/models/models/menu.d.ts +3 -0
- package/dist/models/modules/addon/utils.d.ts +14 -0
- package/dist/models/modules/branch/hooks.d.ts +2 -0
- package/dist/models/modules/business/hooks.d.ts +2 -0
- package/dist/models/modules/common/services.d.ts +1 -0
- package/dist/models/modules/customer/hooks.d.ts +4 -0
- package/dist/models/modules/customer/services.d.ts +9 -0
- package/dist/models/modules/feature/constants.d.ts +4 -0
- package/dist/models/modules/feature/hooks.d.ts +2 -0
- package/dist/models/modules/feature/utils.d.ts +2 -0
- package/dist/models/modules/order/constants.d.ts +17 -0
- package/dist/models/modules/order/hooks.d.ts +31 -0
- package/dist/models/modules/order/index.d.ts +5 -0
- package/dist/models/modules/order/services.d.ts +4 -0
- package/dist/models/modules/order/utils.d.ts +29 -0
- package/dist/models/modules/product/hooks.d.ts +6 -0
- package/dist/models/modules/product/index.d.ts +3 -0
- package/dist/models/modules/product/utils.d.ts +47 -0
- package/dist/models/modules/table/models.d.ts +66 -0
- package/dist/models/modules/view/constants.d.ts +13 -0
- package/dist/models/modules/view/services.d.ts +2 -0
- package/dist/models/services/api/index.d.ts +5 -0
- package/dist/models/services/translation/index.d.ts +3 -0
- package/dist/models/services/translation/locales/az/auth.d.ts +7 -0
- package/dist/models/services/translation/locales/az/common.d.ts +6 -0
- package/dist/models/services/translation/locales/az/customer.d.ts +17 -0
- package/dist/models/services/translation/locales/az/error.d.ts +19 -0
- package/dist/models/services/translation/locales/az/events.d.ts +8 -0
- package/dist/models/services/translation/locales/az/index.d.ts +129 -0
- package/dist/models/services/translation/locales/az/order.d.ts +41 -0
- package/dist/models/services/translation/locales/az/pricing.d.ts +35 -0
- package/dist/models/services/translation/locales/en/auth.d.ts +2 -0
- package/dist/models/services/translation/locales/en/common.d.ts +2 -0
- package/dist/models/services/translation/locales/en/customer.d.ts +2 -0
- package/dist/models/services/translation/locales/en/error.d.ts +15 -0
- package/dist/models/services/translation/locales/en/events.d.ts +2 -0
- package/dist/models/services/translation/locales/en/index.d.ts +23 -0
- package/dist/models/services/translation/locales/en/order.d.ts +2 -0
- package/dist/models/services/translation/locales/en/pricing.d.ts +2 -0
- package/dist/models/services/translation/locales/et/auth.d.ts +7 -0
- package/dist/models/services/translation/locales/et/common.d.ts +6 -0
- package/dist/models/services/translation/locales/et/customer.d.ts +17 -0
- package/dist/models/services/translation/locales/et/error.d.ts +19 -0
- package/dist/models/services/translation/locales/et/events.d.ts +8 -0
- package/dist/models/services/translation/locales/et/index.d.ts +128 -0
- package/dist/models/services/translation/locales/et/order.d.ts +42 -0
- package/dist/models/services/translation/locales/et/pricing.d.ts +33 -0
- package/dist/models/services/translation/locales/index.d.ts +661 -0
- package/dist/models/services/translation/locales/nl/auth.d.ts +7 -0
- package/dist/models/services/translation/locales/nl/common.d.ts +6 -0
- package/dist/models/services/translation/locales/nl/customer.d.ts +17 -0
- package/dist/models/services/translation/locales/nl/error.d.ts +19 -0
- package/dist/models/services/translation/locales/nl/events.d.ts +8 -0
- package/dist/models/services/translation/locales/nl/index.d.ts +128 -0
- package/dist/models/services/translation/locales/nl/order.d.ts +42 -0
- package/dist/models/services/translation/locales/nl/pricing.d.ts +33 -0
- package/dist/models/services/translation/locales/ru/auth.d.ts +7 -0
- package/dist/models/services/translation/locales/ru/common.d.ts +6 -0
- package/dist/models/services/translation/locales/ru/customer.d.ts +17 -0
- package/dist/models/services/translation/locales/ru/error.d.ts +19 -0
- package/dist/models/services/translation/locales/ru/events.d.ts +8 -0
- package/dist/models/services/translation/locales/ru/index.d.ts +128 -0
- package/dist/models/services/translation/locales/ru/order.d.ts +42 -0
- package/dist/models/services/translation/locales/ru/pricing.d.ts +33 -0
- package/dist/models/services/translation/locales/tr/auth.d.ts +7 -0
- package/dist/models/services/translation/locales/tr/common.d.ts +6 -0
- package/dist/models/services/translation/locales/tr/customer.d.ts +17 -0
- package/dist/models/services/translation/locales/tr/error.d.ts +19 -0
- package/dist/models/services/translation/locales/tr/events.d.ts +8 -0
- package/dist/models/services/translation/locales/tr/index.d.ts +128 -0
- package/dist/models/services/translation/locales/tr/order.d.ts +42 -0
- package/dist/models/services/translation/locales/tr/pricing.d.ts +33 -0
- package/dist/models/store/index.d.ts +7 -0
- package/dist/models/store/order.d.ts +41 -0
- package/dist/models/utils/common.d.ts +1 -0
- package/dist/modules/order/constants.d.ts +7 -0
- package/dist/modules/order/hooks.d.ts +6 -1
- package/dist/modules/order/utils.d.ts +6 -2
- package/dist/modules/product/hooks.d.ts +6 -0
- package/dist/modules/product/index.d.ts +1 -0
- package/dist/modules/product/utils.d.ts +6 -6
- package/dist/modules/table/hooks.d.ts +4 -0
- package/dist/modules/table/index.d.ts +2 -0
- package/dist/modules/table/models.d.ts +66 -0
- package/dist/services/translation/locales/az/index.d.ts +6 -0
- package/dist/services/translation/locales/az/order.d.ts +6 -0
- package/dist/services/translation/locales/et/index.d.ts +6 -0
- package/dist/services/translation/locales/et/order.d.ts +6 -0
- package/dist/services/translation/locales/index.d.ts +30 -0
- package/dist/services/translation/locales/nl/index.d.ts +6 -0
- package/dist/services/translation/locales/nl/order.d.ts +6 -0
- package/dist/services/translation/locales/ru/index.d.ts +6 -0
- package/dist/services/translation/locales/ru/order.d.ts +6 -0
- package/dist/services/translation/locales/tr/index.d.ts +6 -0
- package/dist/services/translation/locales/tr/order.d.ts +6 -0
- package/dist/store/order.d.ts +11 -3
- package/dist/styles/ui.css +1 -1
- package/dist/styles/ui.css.map +1 -1
- package/dist/utils/components/PublicMenu/OrderMethods/OrderMethods.types.d.ts +8 -0
- package/dist/utils/components/PublicMenu/ProductsGridItem/ProductsGridItem.types.d.ts +10 -0
- package/dist/utils/constants/env.d.ts +1 -0
- package/dist/utils/hooks/translation.d.ts +5 -0
- 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/models/index.d.ts +3 -0
- package/dist/utils/models/menu.d.ts +3 -0
- package/dist/utils/modules/branch/hooks.d.ts +2 -0
- package/dist/utils/modules/business/hooks.d.ts +2 -0
- package/dist/utils/modules/common/services.d.ts +1 -0
- package/dist/utils/modules/customer/hooks.d.ts +4 -0
- package/dist/utils/modules/customer/services.d.ts +9 -0
- package/dist/utils/modules/feature/hooks.d.ts +2 -0
- package/dist/utils/modules/order/constants.d.ts +17 -0
- package/dist/utils/modules/order/hooks.d.ts +31 -0
- package/dist/utils/modules/order/index.d.ts +5 -0
- package/dist/utils/modules/order/services.d.ts +4 -0
- package/dist/utils/modules/order/utils.d.ts +6 -2
- package/dist/utils/modules/product/hooks.d.ts +6 -0
- package/dist/utils/modules/product/index.d.ts +3 -0
- package/dist/utils/modules/product/utils.d.ts +6 -6
- package/dist/utils/modules/table/models.d.ts +66 -0
- package/dist/utils/modules/view/constants.d.ts +13 -0
- package/dist/utils/modules/view/services.d.ts +2 -0
- package/dist/utils/services/api/index.d.ts +5 -0
- package/dist/utils/services/translation/index.d.ts +3 -0
- package/dist/utils/services/translation/locales/az/auth.d.ts +7 -0
- package/dist/utils/services/translation/locales/az/common.d.ts +6 -0
- package/dist/utils/services/translation/locales/az/customer.d.ts +17 -0
- package/dist/utils/services/translation/locales/az/error.d.ts +19 -0
- package/dist/utils/services/translation/locales/az/events.d.ts +8 -0
- package/dist/utils/services/translation/locales/az/index.d.ts +129 -0
- package/dist/utils/services/translation/locales/az/order.d.ts +41 -0
- package/dist/utils/services/translation/locales/az/pricing.d.ts +35 -0
- package/dist/utils/services/translation/locales/en/auth.d.ts +2 -0
- package/dist/utils/services/translation/locales/en/common.d.ts +2 -0
- package/dist/utils/services/translation/locales/en/customer.d.ts +2 -0
- package/dist/utils/services/translation/locales/en/error.d.ts +15 -0
- package/dist/utils/services/translation/locales/en/events.d.ts +2 -0
- package/dist/utils/services/translation/locales/en/index.d.ts +23 -0
- package/dist/utils/services/translation/locales/en/order.d.ts +2 -0
- package/dist/utils/services/translation/locales/en/pricing.d.ts +2 -0
- package/dist/utils/services/translation/locales/et/auth.d.ts +7 -0
- package/dist/utils/services/translation/locales/et/common.d.ts +6 -0
- package/dist/utils/services/translation/locales/et/customer.d.ts +17 -0
- package/dist/utils/services/translation/locales/et/error.d.ts +19 -0
- package/dist/utils/services/translation/locales/et/events.d.ts +8 -0
- package/dist/utils/services/translation/locales/et/index.d.ts +128 -0
- package/dist/utils/services/translation/locales/et/order.d.ts +42 -0
- package/dist/utils/services/translation/locales/et/pricing.d.ts +33 -0
- package/dist/utils/services/translation/locales/index.d.ts +661 -0
- package/dist/utils/services/translation/locales/nl/auth.d.ts +7 -0
- package/dist/utils/services/translation/locales/nl/common.d.ts +6 -0
- package/dist/utils/services/translation/locales/nl/customer.d.ts +17 -0
- package/dist/utils/services/translation/locales/nl/error.d.ts +19 -0
- package/dist/utils/services/translation/locales/nl/events.d.ts +8 -0
- package/dist/utils/services/translation/locales/nl/index.d.ts +128 -0
- package/dist/utils/services/translation/locales/nl/order.d.ts +42 -0
- package/dist/utils/services/translation/locales/nl/pricing.d.ts +33 -0
- package/dist/utils/services/translation/locales/ru/auth.d.ts +7 -0
- package/dist/utils/services/translation/locales/ru/common.d.ts +6 -0
- package/dist/utils/services/translation/locales/ru/customer.d.ts +17 -0
- package/dist/utils/services/translation/locales/ru/error.d.ts +19 -0
- package/dist/utils/services/translation/locales/ru/events.d.ts +8 -0
- package/dist/utils/services/translation/locales/ru/index.d.ts +128 -0
- package/dist/utils/services/translation/locales/ru/order.d.ts +42 -0
- package/dist/utils/services/translation/locales/ru/pricing.d.ts +33 -0
- package/dist/utils/services/translation/locales/tr/auth.d.ts +7 -0
- package/dist/utils/services/translation/locales/tr/common.d.ts +6 -0
- package/dist/utils/services/translation/locales/tr/customer.d.ts +17 -0
- package/dist/utils/services/translation/locales/tr/error.d.ts +19 -0
- package/dist/utils/services/translation/locales/tr/events.d.ts +8 -0
- package/dist/utils/services/translation/locales/tr/index.d.ts +128 -0
- package/dist/utils/services/translation/locales/tr/order.d.ts +42 -0
- package/dist/utils/services/translation/locales/tr/pricing.d.ts +33 -0
- package/dist/utils/store/index.d.ts +7 -0
- package/dist/utils/store/order.d.ts +41 -0
- package/package.json +8 -8
|
@@ -0,0 +1,128 @@
|
|
|
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
|
+
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
|
+
common: {
|
|
21
|
+
Save: string;
|
|
22
|
+
Cancel: string;
|
|
23
|
+
Continue: string;
|
|
24
|
+
};
|
|
25
|
+
order: {
|
|
26
|
+
"View order": string;
|
|
27
|
+
"Remove from order": string;
|
|
28
|
+
"Update order": string;
|
|
29
|
+
"Add to order": string;
|
|
30
|
+
Add: string;
|
|
31
|
+
"Your order": string;
|
|
32
|
+
"Empty order": string;
|
|
33
|
+
"You don't have any items in your order": string;
|
|
34
|
+
"Add items": string;
|
|
35
|
+
Subtotal: string;
|
|
36
|
+
Events: string;
|
|
37
|
+
"Product choices": string;
|
|
38
|
+
"In order": string;
|
|
39
|
+
"Not available": string;
|
|
40
|
+
"Specify any allergies, special requests, or ingredients you want to add or remove": string;
|
|
41
|
+
"Thank you! We've received your order and it will be delivered shortly.": string;
|
|
42
|
+
"Go to checkout": string;
|
|
43
|
+
"Add an order note": string;
|
|
44
|
+
"Your Order is Completed!": string;
|
|
45
|
+
Delivery: string;
|
|
46
|
+
"Dine in": string;
|
|
47
|
+
Pickup: string;
|
|
48
|
+
Cash: string;
|
|
49
|
+
"POS Terminal": string;
|
|
50
|
+
"Order summary": string;
|
|
51
|
+
Items: string;
|
|
52
|
+
Tax: string;
|
|
53
|
+
Total: string;
|
|
54
|
+
"Special instructions, allergies, etc.": string;
|
|
55
|
+
"Place order": string;
|
|
56
|
+
Continue: string;
|
|
57
|
+
"Track order": string;
|
|
58
|
+
"Minimum order amount for delivery is {{amount}}": string;
|
|
59
|
+
"This field is required": string;
|
|
60
|
+
"Please select a table": string;
|
|
61
|
+
"Please enter an address": string;
|
|
62
|
+
"Please choose product": string;
|
|
63
|
+
Table: string;
|
|
64
|
+
"Select Table": string;
|
|
65
|
+
};
|
|
66
|
+
customer: {
|
|
67
|
+
"Unknown address": string;
|
|
68
|
+
"No address available": string;
|
|
69
|
+
"Update Delivery Address": string;
|
|
70
|
+
Country: string;
|
|
71
|
+
City: string;
|
|
72
|
+
"Baker Street": string;
|
|
73
|
+
Address: string;
|
|
74
|
+
"House number": string;
|
|
75
|
+
"Additional number": string;
|
|
76
|
+
"Example: Door code is 555": string;
|
|
77
|
+
"Delivery Instructions": string;
|
|
78
|
+
Azerbaijan: string;
|
|
79
|
+
Floor: string;
|
|
80
|
+
"Enter address": string;
|
|
81
|
+
};
|
|
82
|
+
auth: {
|
|
83
|
+
"Create an account or log in": string;
|
|
84
|
+
"Phone number": string;
|
|
85
|
+
"I don't have an email": string;
|
|
86
|
+
"We sent a confirmation code to {{address}}": string;
|
|
87
|
+
};
|
|
88
|
+
events: {
|
|
89
|
+
Events: string;
|
|
90
|
+
"Scrolled to Category": string;
|
|
91
|
+
"Category Selected": string;
|
|
92
|
+
"Product Details": string;
|
|
93
|
+
"Product Added to Order": string;
|
|
94
|
+
};
|
|
95
|
+
pricing: {
|
|
96
|
+
"Get Started": string;
|
|
97
|
+
"Choose Plan": string;
|
|
98
|
+
"Smart QR Menu": string;
|
|
99
|
+
"Link-in-bio": string;
|
|
100
|
+
"Menu Analytics": string;
|
|
101
|
+
"Unlimited Users": string;
|
|
102
|
+
"Unlimited Products": string;
|
|
103
|
+
"Unlimited Categories": string;
|
|
104
|
+
"Product variants": string;
|
|
105
|
+
"Product options": string;
|
|
106
|
+
"Sales reports": string;
|
|
107
|
+
"24/7 Support": string;
|
|
108
|
+
"Multiple Branches": string;
|
|
109
|
+
"Table Management": string;
|
|
110
|
+
"Order Management": string;
|
|
111
|
+
"Mobile App for Owners & Staff": string;
|
|
112
|
+
"Point of Sale (POS)": string;
|
|
113
|
+
"Delivery Management": string;
|
|
114
|
+
"Third-Party Delivery Integrations": string;
|
|
115
|
+
"RestaroundPay with Mobile": string;
|
|
116
|
+
"Event management": string;
|
|
117
|
+
"/ month": string;
|
|
118
|
+
monthly: string;
|
|
119
|
+
annually: string;
|
|
120
|
+
"Choose a pricing plan that fits your business. Subscribe monthly or annually and save more with long-term plans!": string;
|
|
121
|
+
"Flexible Plans for Every Business - Simple Pricing, More Value!": string;
|
|
122
|
+
"Unlimited Languages": string;
|
|
123
|
+
"30-day money-back guarantee": string;
|
|
124
|
+
"Limited Time Only": string;
|
|
125
|
+
"/ lifetime": string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
};
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
};
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
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;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Dispatch, ReactNode } 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<React.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<React.SetStateAction<boolean>>;
|
|
27
|
+
getCustomer: () => void;
|
|
28
|
+
resetOrder: () => void;
|
|
29
|
+
setTrackingId: Dispatch<React.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
|
+
};
|
|
39
|
+
export declare const OrderProvider: ({ children, defaultOrderType, defaultPaymentMethod, defaultBranchId, }: OrderProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
export declare const useOrderContext: () => OrderContent;
|
|
41
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const calculateTotalPrice: (price?: number, quantity?: number, vat?: number) => number;
|
|
@@ -8,3 +8,10 @@ export declare const initialOrder: {
|
|
|
8
8
|
paymentMethod: PaymentMethod;
|
|
9
9
|
};
|
|
10
10
|
export declare const ORDER_STEPS: OrderStep[];
|
|
11
|
+
export declare enum OrderErrors {
|
|
12
|
+
FIELD_REQUIRED_ERROR = "This field is required",
|
|
13
|
+
TABLE_NOT_SELECTED = "Please select a table",
|
|
14
|
+
ADDRESS_IS_EMPTY = "Please enter an address",
|
|
15
|
+
EMPTY_ITEMS = "Please choose product",
|
|
16
|
+
BRANCH_NOT_SELECTED = "Please select a branch"
|
|
17
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Order, OrderItem, OrderPayload, SelectedAddons } from "./models";
|
|
1
|
+
import { Order, OrderItem, OrderPayload, OrderType, PaymentMethod, SelectedAddons } from "./models";
|
|
2
2
|
export declare const useOrderPriceDetails: () => {
|
|
3
3
|
totalPriceWithTax: number;
|
|
4
4
|
totalPriceWithoutTax: number;
|
|
@@ -24,3 +24,8 @@ export declare const useOrderActiveForBusiness: () => boolean;
|
|
|
24
24
|
export declare const useDeliveryDistanceError: () => string | null;
|
|
25
25
|
export declare const useDeliveryAmountError: () => string | null;
|
|
26
26
|
export declare const useOrderErrorInDetails: () => string | null;
|
|
27
|
+
export declare const useInitialOrder: ({ defaultOrderType, defaultPaymentMethod, defaultBranchId, }: {
|
|
28
|
+
defaultOrderType: OrderType;
|
|
29
|
+
defaultPaymentMethod: PaymentMethod;
|
|
30
|
+
defaultBranchId: number;
|
|
31
|
+
}) => Partial<Order>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { IconType } from "@sorocraft/ui";
|
|
2
|
-
import { Order, OrderAddon, OrderItem, OrderStatus, SelectedAddons } from "./models";
|
|
2
|
+
import { Order, OrderAddon, OrderItem, OrderStatus, OrderType, SelectedAddons } from "./models";
|
|
3
3
|
import * as addonModels from "../addon/models";
|
|
4
|
+
import * as businessModels from "../business/models";
|
|
5
|
+
import { OrderErrors } from "./constants";
|
|
4
6
|
export declare const calculatSingleAddonTotalPrice: (addon: OrderAddon) => number;
|
|
5
7
|
export declare function calculateTotalAddonPrice(addons?: OrderAddon[], quantity?: number): number;
|
|
6
8
|
export declare const getOrderPrice: (order: Order, currency: string, language: string) => {
|
|
@@ -11,7 +13,7 @@ export declare const getOrderPrice: (order: Order, currency: string, language: s
|
|
|
11
13
|
totalWithTax: number;
|
|
12
14
|
totalWithTaxFormatted: string;
|
|
13
15
|
};
|
|
14
|
-
export declare const generateOrderItemsId: (productId: number, variantId: number | null, selectedAddons
|
|
16
|
+
export declare const generateOrderItemsId: (productId: number, variantId: number | null, selectedAddons?: SelectedAddons) => string;
|
|
15
17
|
export declare const getOrderItemPrice: (orderItem: OrderItem) => {
|
|
16
18
|
totalGross: number;
|
|
17
19
|
totalNet: number;
|
|
@@ -23,3 +25,5 @@ export declare const getOrderItemPrice: (orderItem: OrderItem) => {
|
|
|
23
25
|
export declare const getSelectedAddonsFromOrderItems: (item: OrderItem) => SelectedAddons;
|
|
24
26
|
export declare const getStatusIcon: (status: OrderStatus) => IconType;
|
|
25
27
|
export declare const buildSelectedAddonsPayload: (productAddons?: addonModels.MenuAddon[], selectedAddons?: SelectedAddons) => OrderAddon[];
|
|
28
|
+
export declare const getDefaultOrderType: (settings: businessModels.BusinessSettings) => OrderType;
|
|
29
|
+
export declare const getOrderErrorMessages: (field: keyof Order) => OrderErrors;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { Product, ProductTranslation, ProductVariant, ProductVariantTranslation } from "./models";
|
|
2
2
|
import { MenuAddon } from "src/modules/addon/models";
|
|
3
3
|
import * as orderModels from "src/modules/order/models";
|
|
4
|
-
export declare const getProductTranslation: (product: Product, language: string) => ProductTranslation;
|
|
5
|
-
export declare const getProductRawPrice: (product: Product, quantity?: number) => number;
|
|
6
|
-
export declare const getProductPrice: (product: Product, currency: string, language: string, quantity?: number) => {
|
|
4
|
+
export declare const getProductTranslation: (product: Pick<Product, "translations">, language: string) => ProductTranslation;
|
|
5
|
+
export declare const getProductRawPrice: (product: Pick<Product, "price" | "vat">, quantity?: number) => number;
|
|
6
|
+
export declare const getProductPrice: (product: Pick<Product, "price" | "vat">, currency: string, language: string, quantity?: number) => {
|
|
7
7
|
totalPrice: number;
|
|
8
8
|
formattedTotalPrice: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const getProductVariant: (product: Product, variantId: number) => ProductVariant;
|
|
10
|
+
export declare const getProductVariant: (product: Pick<Product, "variants">, variantId: number) => ProductVariant;
|
|
11
11
|
export declare const getSelectedOptionsTotalPrice: (product: Product, selectedAddons: orderModels.SelectedAddons, quantity: number) => number;
|
|
12
|
-
export declare const getProductVariantRawPrice: (variantId: number, product: Product, quantity?: number) => number;
|
|
12
|
+
export declare const getProductVariantRawPrice: (variantId: number, product: Pick<Product, "variants" | "vat">, quantity?: number) => number;
|
|
13
13
|
export declare const getProductVariantPrice: ({ variantId, currency, language, product, quantity, }: {
|
|
14
14
|
variantId: number;
|
|
15
15
|
currency?: string;
|
|
16
16
|
language?: string;
|
|
17
|
-
product: Product
|
|
17
|
+
product: Pick<Product, "variants" | "vat">;
|
|
18
18
|
quantity?: number;
|
|
19
19
|
}) => {
|
|
20
20
|
totalPrice: number;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export declare enum TableShape {
|
|
2
|
+
SQUARE = "SQUARE",
|
|
3
|
+
CIRCLE = "CIRCLE",
|
|
4
|
+
RECTANGLE = "RECTANGLE",
|
|
5
|
+
RECTANGLE_VERTICAL = "RECTANGLE_VERTICAL",
|
|
6
|
+
SINGLE_AT_BAR = "SINGLE_AT_BAR",
|
|
7
|
+
OTHER = "OTHER"
|
|
8
|
+
}
|
|
9
|
+
export declare enum TableStatus {
|
|
10
|
+
VACANT = "VACANT",// Free and available
|
|
11
|
+
RESERVED = "RESERVED",// Booked but not yet seated
|
|
12
|
+
OCCUPIED = "OCCUPIED",// Currently in use
|
|
13
|
+
BLOCKED = "BLOCKED",// Temporarily blocked/unavailable
|
|
14
|
+
NEEDS_CLEANING = "NEEDS_CLEANING",// Dirty, awaiting cleanup
|
|
15
|
+
OUT_OF_SERVICE = "OUT_OF_SERVICE",// Permanently unavailable repair/maintenance
|
|
16
|
+
PENDING_CONFIRMATION = "PENDING_CONFIRMATION",// Reservation not yet confirmed
|
|
17
|
+
NO_SHOW = "NO_SHOW"
|
|
18
|
+
}
|
|
19
|
+
export declare enum TableLocation {
|
|
20
|
+
MAIN_HALL = "MAIN_HALL",
|
|
21
|
+
PRIVATE_DINING = "PRIVATE_DINING",
|
|
22
|
+
VIP_ROOM = "VIP_ROOM",
|
|
23
|
+
BANQUET_HALL = "BANQUET_HALL",
|
|
24
|
+
BAR_AREA = "BAR_AREA",
|
|
25
|
+
LOUNGE = "LOUNGE",
|
|
26
|
+
OPEN_KITCHEN = "OPEN_KITCHEN",
|
|
27
|
+
BOOTH_SECTION = "BOOTH_SECTION",
|
|
28
|
+
MEZZANINE = "MEZZANINE",
|
|
29
|
+
WINE_CELLAR = "WINE_CELLAR",
|
|
30
|
+
TERRACE = "TERRACE",
|
|
31
|
+
PATIO = "PATIO",
|
|
32
|
+
GARDEN = "GARDEN",
|
|
33
|
+
COURTYARD = "COURTYARD",
|
|
34
|
+
ROOFTOP = "ROOFTOP",
|
|
35
|
+
BALCONY = "BALCONY",
|
|
36
|
+
SIDEWALK = "SIDEWALK",
|
|
37
|
+
POOLSIDE = "POOLSIDE",
|
|
38
|
+
SMOKING_AREA = "SMOKING_AREA",
|
|
39
|
+
NON_SMOKING = "NON_SMOKING",
|
|
40
|
+
FAMILY_SECTION = "FAMILY_SECTION",
|
|
41
|
+
KIDS_AREA = "KIDS_AREA",
|
|
42
|
+
WAITING_AREA = "WAITING_AREA",
|
|
43
|
+
DANCE_FLOOR = "DANCE_FLOOR"
|
|
44
|
+
}
|
|
45
|
+
export interface Table {
|
|
46
|
+
id: number;
|
|
47
|
+
businessId: number;
|
|
48
|
+
branchId: number;
|
|
49
|
+
name: string;
|
|
50
|
+
seatCount: number;
|
|
51
|
+
shape: TableShape;
|
|
52
|
+
location: TableLocation;
|
|
53
|
+
status: TableStatus;
|
|
54
|
+
}
|
|
55
|
+
export interface TableState {
|
|
56
|
+
tables: Table[];
|
|
57
|
+
}
|
|
58
|
+
export type TableForm = Omit<Table, "id" | "businessId" | "branchId"> & {
|
|
59
|
+
branchId: string | number;
|
|
60
|
+
};
|
|
61
|
+
export type TableUpdate = Partial<Omit<Table, "id" | "businessId">>;
|
|
62
|
+
export type TableFilter = Partial<Pick<Table, "branchId" | "shape" | "location" | "status">>;
|
|
63
|
+
export type TableFilterParams = {
|
|
64
|
+
field: keyof TableFilter;
|
|
65
|
+
value: TableFilter[keyof TableFilter];
|
|
66
|
+
};
|
|
@@ -55,6 +55,12 @@ declare const _default: {
|
|
|
55
55
|
"Product choices": string;
|
|
56
56
|
"Track order": string;
|
|
57
57
|
"Minimum order amount for delivery is {{amount}}": string;
|
|
58
|
+
"This field is required": string;
|
|
59
|
+
"Please select a table": string;
|
|
60
|
+
"Please enter an address": string;
|
|
61
|
+
"Please choose product": string;
|
|
62
|
+
Table: string;
|
|
63
|
+
"Select Table": string;
|
|
58
64
|
};
|
|
59
65
|
customer: {
|
|
60
66
|
"Unknown address": string;
|
|
@@ -31,5 +31,11 @@ declare const _default: {
|
|
|
31
31
|
"Product choices": string;
|
|
32
32
|
"Track order": string;
|
|
33
33
|
"Minimum order amount for delivery is {{amount}}": string;
|
|
34
|
+
"This field is required": string;
|
|
35
|
+
"Please select a table": string;
|
|
36
|
+
"Please enter an address": string;
|
|
37
|
+
"Please choose product": string;
|
|
38
|
+
Table: string;
|
|
39
|
+
"Select Table": string;
|
|
34
40
|
};
|
|
35
41
|
export default _default;
|
|
@@ -56,6 +56,12 @@ declare const _default: {
|
|
|
56
56
|
Continue: string;
|
|
57
57
|
"Track order": string;
|
|
58
58
|
"Minimum order amount for delivery is {{amount}}": string;
|
|
59
|
+
"This field is required": string;
|
|
60
|
+
"Please select a table": string;
|
|
61
|
+
"Please enter an address": string;
|
|
62
|
+
"Please choose product": string;
|
|
63
|
+
Table: string;
|
|
64
|
+
"Select Table": string;
|
|
59
65
|
};
|
|
60
66
|
customer: {
|
|
61
67
|
"Unknown address": string;
|
|
@@ -32,5 +32,11 @@ declare const _default: {
|
|
|
32
32
|
Continue: string;
|
|
33
33
|
"Track order": string;
|
|
34
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;
|
|
35
41
|
};
|
|
36
42
|
export default _default;
|
|
@@ -56,6 +56,12 @@ declare const _default: {
|
|
|
56
56
|
"Product choices": string;
|
|
57
57
|
"Track order": string;
|
|
58
58
|
"Minimum order amount for delivery is {{amount}}": string;
|
|
59
|
+
"This field is required": string;
|
|
60
|
+
"Please select a table": string;
|
|
61
|
+
"Please enter an address": string;
|
|
62
|
+
"Please choose product": string;
|
|
63
|
+
Table: string;
|
|
64
|
+
"Select Table": string;
|
|
59
65
|
};
|
|
60
66
|
customer: {
|
|
61
67
|
"Unknown address": string;
|
|
@@ -201,6 +207,12 @@ declare const _default: {
|
|
|
201
207
|
Continue: string;
|
|
202
208
|
"Track order": string;
|
|
203
209
|
"Minimum order amount for delivery is {{amount}}": string;
|
|
210
|
+
"This field is required": string;
|
|
211
|
+
"Please select a table": string;
|
|
212
|
+
"Please enter an address": string;
|
|
213
|
+
"Please choose product": string;
|
|
214
|
+
Table: string;
|
|
215
|
+
"Select Table": string;
|
|
204
216
|
};
|
|
205
217
|
customer: {
|
|
206
218
|
"Unknown address": string;
|
|
@@ -322,6 +334,12 @@ declare const _default: {
|
|
|
322
334
|
Continue: string;
|
|
323
335
|
"Track order": string;
|
|
324
336
|
"Minimum order amount for delivery is {{amount}}": string;
|
|
337
|
+
"This field is required": string;
|
|
338
|
+
"Please select a table": string;
|
|
339
|
+
"Please enter an address": string;
|
|
340
|
+
"Please choose product": string;
|
|
341
|
+
Table: string;
|
|
342
|
+
"Select Table": string;
|
|
325
343
|
};
|
|
326
344
|
customer: {
|
|
327
345
|
"Unknown address": string;
|
|
@@ -443,6 +461,12 @@ declare const _default: {
|
|
|
443
461
|
Continue: string;
|
|
444
462
|
"Track order": string;
|
|
445
463
|
"Minimum order amount for delivery is {{amount}}": string;
|
|
464
|
+
"This field is required": string;
|
|
465
|
+
"Please select a table": string;
|
|
466
|
+
"Please enter an address": string;
|
|
467
|
+
"Please choose product": string;
|
|
468
|
+
Table: string;
|
|
469
|
+
"Select Table": string;
|
|
446
470
|
};
|
|
447
471
|
customer: {
|
|
448
472
|
"Unknown address": string;
|
|
@@ -564,6 +588,12 @@ declare const _default: {
|
|
|
564
588
|
Continue: string;
|
|
565
589
|
"Track order": string;
|
|
566
590
|
"Minimum order amount for delivery is {{amount}}": string;
|
|
591
|
+
"This field is required": string;
|
|
592
|
+
"Please select a table": string;
|
|
593
|
+
"Please enter an address": string;
|
|
594
|
+
"Please choose product": string;
|
|
595
|
+
Table: string;
|
|
596
|
+
"Select Table": string;
|
|
567
597
|
};
|
|
568
598
|
customer: {
|
|
569
599
|
"Unknown address": string;
|
|
@@ -56,6 +56,12 @@ declare const _default: {
|
|
|
56
56
|
Continue: string;
|
|
57
57
|
"Track order": string;
|
|
58
58
|
"Minimum order amount for delivery is {{amount}}": string;
|
|
59
|
+
"This field is required": string;
|
|
60
|
+
"Please select a table": string;
|
|
61
|
+
"Please enter an address": string;
|
|
62
|
+
"Please choose product": string;
|
|
63
|
+
Table: string;
|
|
64
|
+
"Select Table": string;
|
|
59
65
|
};
|
|
60
66
|
customer: {
|
|
61
67
|
"Unknown address": string;
|
|
@@ -32,5 +32,11 @@ declare const _default: {
|
|
|
32
32
|
Continue: string;
|
|
33
33
|
"Track order": string;
|
|
34
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;
|
|
35
41
|
};
|
|
36
42
|
export default _default;
|
|
@@ -56,6 +56,12 @@ declare const _default: {
|
|
|
56
56
|
Continue: string;
|
|
57
57
|
"Track order": string;
|
|
58
58
|
"Minimum order amount for delivery is {{amount}}": string;
|
|
59
|
+
"This field is required": string;
|
|
60
|
+
"Please select a table": string;
|
|
61
|
+
"Please enter an address": string;
|
|
62
|
+
"Please choose product": string;
|
|
63
|
+
Table: string;
|
|
64
|
+
"Select Table": string;
|
|
59
65
|
};
|
|
60
66
|
customer: {
|
|
61
67
|
"Unknown address": string;
|
|
@@ -32,5 +32,11 @@ declare const _default: {
|
|
|
32
32
|
Continue: string;
|
|
33
33
|
"Track order": string;
|
|
34
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;
|
|
35
41
|
};
|
|
36
42
|
export default _default;
|
|
@@ -56,6 +56,12 @@ declare const _default: {
|
|
|
56
56
|
Continue: string;
|
|
57
57
|
"Track order": string;
|
|
58
58
|
"Minimum order amount for delivery is {{amount}}": string;
|
|
59
|
+
"This field is required": string;
|
|
60
|
+
"Please select a table": string;
|
|
61
|
+
"Please enter an address": string;
|
|
62
|
+
"Please choose product": string;
|
|
63
|
+
Table: string;
|
|
64
|
+
"Select Table": string;
|
|
59
65
|
};
|
|
60
66
|
customer: {
|
|
61
67
|
"Unknown address": string;
|
|
@@ -32,5 +32,11 @@ declare const _default: {
|
|
|
32
32
|
Continue: string;
|
|
33
33
|
"Track order": string;
|
|
34
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;
|
|
35
41
|
};
|
|
36
42
|
export default _default;
|