@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
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const MODALS: {
|
|
2
|
+
ADD_UPDATE_NOTES: string;
|
|
3
|
+
AUTH: string;
|
|
4
|
+
ADD_UPDATE_ADDRESS: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const SUPPORTED_LOCALES: string[];
|
|
7
|
+
export declare const DEFAULT_LANGUAGE = "en";
|
|
8
|
+
export declare const DEFAULT_CURRENCY = "AZN";
|
|
9
|
+
export declare const SUPPORTED_COUNTRIES: {
|
|
10
|
+
name: string;
|
|
11
|
+
code: string;
|
|
12
|
+
phoneCode: string;
|
|
13
|
+
}[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"Unknown address": string;
|
|
3
|
+
"No address available": string;
|
|
4
|
+
"Update Delivery Address": string;
|
|
5
|
+
Country: string;
|
|
6
|
+
City: string;
|
|
7
|
+
"Baker Street": string;
|
|
8
|
+
Address: string;
|
|
9
|
+
"House number": string;
|
|
10
|
+
"Additional number": string;
|
|
11
|
+
"Example: Door code is 555": string;
|
|
12
|
+
"Delivery Instructions": string;
|
|
13
|
+
Azerbaijan: string;
|
|
14
|
+
Floor: string;
|
|
15
|
+
"Enter address": string;
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
COUNTRY_REQUIRED: string;
|
|
13
|
+
CITY_REQUIRED: string;
|
|
14
|
+
STREET_REQUIRED: string;
|
|
15
|
+
STREET_NUMBER_REQUIRED: string;
|
|
16
|
+
OUT_OF_DELIVERY_RANGE: string;
|
|
17
|
+
NO_ORDER_TYPE: string;
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,129 @@
|
|
|
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
|
+
Subtotal: string;
|
|
33
|
+
"Empty order": string;
|
|
34
|
+
"You don't have any items in your order": string;
|
|
35
|
+
"Add items": string;
|
|
36
|
+
"Add an order note": string;
|
|
37
|
+
"Specify any allergies, special requests, or ingredients you want to add or remove": string;
|
|
38
|
+
"Your Order is Completed!": string;
|
|
39
|
+
"Thank you! We've received your order and it will be delivered shortly.": string;
|
|
40
|
+
Delivery: string;
|
|
41
|
+
"Dine in": string;
|
|
42
|
+
Pickup: string;
|
|
43
|
+
Cash: string;
|
|
44
|
+
"POS Terminal": string;
|
|
45
|
+
"Order summary": string;
|
|
46
|
+
Items: string;
|
|
47
|
+
Tax: string;
|
|
48
|
+
Total: string;
|
|
49
|
+
"Special instructions, allergies, etc.": string;
|
|
50
|
+
"Go to checkout": string;
|
|
51
|
+
"Place order": string;
|
|
52
|
+
Continue: string;
|
|
53
|
+
"Not available": string;
|
|
54
|
+
"In order": string;
|
|
55
|
+
"Product choices": string;
|
|
56
|
+
"Track order": string;
|
|
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;
|
|
64
|
+
};
|
|
65
|
+
customer: {
|
|
66
|
+
"Unknown address": string;
|
|
67
|
+
"No address available": string;
|
|
68
|
+
"Update Delivery Address": string;
|
|
69
|
+
Country: string;
|
|
70
|
+
City: string;
|
|
71
|
+
"Baker Street": string;
|
|
72
|
+
Address: string;
|
|
73
|
+
"House number": string;
|
|
74
|
+
"Additional number": string;
|
|
75
|
+
"Example: Door code is 555": string;
|
|
76
|
+
"Delivery Instructions": string;
|
|
77
|
+
Azerbaijan: string;
|
|
78
|
+
Floor: string;
|
|
79
|
+
"Enter address": string;
|
|
80
|
+
};
|
|
81
|
+
auth: {
|
|
82
|
+
"Create an account or log in": string;
|
|
83
|
+
"Phone number": string;
|
|
84
|
+
"I don't have an email": string;
|
|
85
|
+
"We sent a confirmation code to {{address}}": string;
|
|
86
|
+
};
|
|
87
|
+
events: {
|
|
88
|
+
Events: string;
|
|
89
|
+
"Scrolled to Category": string;
|
|
90
|
+
"Category Selected": string;
|
|
91
|
+
"Product Details": string;
|
|
92
|
+
"Product Added to Order": string;
|
|
93
|
+
};
|
|
94
|
+
pricing: {
|
|
95
|
+
"Get Started": string;
|
|
96
|
+
"Choose Plan": string;
|
|
97
|
+
"Smart QR Menu": string;
|
|
98
|
+
"Link-in-bio": string;
|
|
99
|
+
"Menu Analytics": string;
|
|
100
|
+
"Unlimited Products": string;
|
|
101
|
+
"Unlimited Categories": string;
|
|
102
|
+
"Product variants": string;
|
|
103
|
+
"Product options": string;
|
|
104
|
+
"Sales reports": string;
|
|
105
|
+
"24/7 Support": string;
|
|
106
|
+
"Multiple Branches": string;
|
|
107
|
+
"Order Management": string;
|
|
108
|
+
"Table Management": string;
|
|
109
|
+
"Mobile App for Owners & Staff": string;
|
|
110
|
+
"Point of Sale (POS)": string;
|
|
111
|
+
"Delivery Management": string;
|
|
112
|
+
"Third-Party Delivery Integrations": string;
|
|
113
|
+
"RestaroundPay with Mobile": string;
|
|
114
|
+
"Event management": string;
|
|
115
|
+
"Unlimited Users": string;
|
|
116
|
+
"/ month": string;
|
|
117
|
+
monthly: string;
|
|
118
|
+
annually: string;
|
|
119
|
+
"Flexible Plans for Every Business - Simple Pricing, More Value!": string;
|
|
120
|
+
"Choose a pricing plan that fits your business. Subscribe monthly or annually and save more with long-term plans!": string;
|
|
121
|
+
Appetizer: string;
|
|
122
|
+
"Main Course": string;
|
|
123
|
+
"Unlimited Languages": string;
|
|
124
|
+
"30-day money-back guarantee": string;
|
|
125
|
+
"Limited Time Only": string;
|
|
126
|
+
"/ lifetime": string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
Subtotal: string;
|
|
9
|
+
"Empty order": string;
|
|
10
|
+
"You don't have any items in your order": string;
|
|
11
|
+
"Add items": string;
|
|
12
|
+
"Add an order note": string;
|
|
13
|
+
"Specify any allergies, special requests, or ingredients you want to add or remove": string;
|
|
14
|
+
"Your Order is Completed!": string;
|
|
15
|
+
"Thank you! We've received your order and it will be delivered shortly.": string;
|
|
16
|
+
Delivery: string;
|
|
17
|
+
"Dine in": string;
|
|
18
|
+
Pickup: string;
|
|
19
|
+
Cash: string;
|
|
20
|
+
"POS Terminal": string;
|
|
21
|
+
"Order summary": string;
|
|
22
|
+
Items: string;
|
|
23
|
+
Tax: string;
|
|
24
|
+
Total: string;
|
|
25
|
+
"Special instructions, allergies, etc.": string;
|
|
26
|
+
"Go to checkout": string;
|
|
27
|
+
"Place order": string;
|
|
28
|
+
Continue: string;
|
|
29
|
+
"Not available": string;
|
|
30
|
+
"In order": string;
|
|
31
|
+
"Product choices": string;
|
|
32
|
+
"Track order": string;
|
|
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;
|
|
40
|
+
};
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
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 Products": string;
|
|
8
|
+
"Unlimited Categories": string;
|
|
9
|
+
"Product variants": string;
|
|
10
|
+
"Product options": string;
|
|
11
|
+
"Sales reports": string;
|
|
12
|
+
"24/7 Support": string;
|
|
13
|
+
"Multiple Branches": string;
|
|
14
|
+
"Order Management": string;
|
|
15
|
+
"Table Management": string;
|
|
16
|
+
"Mobile App for Owners & Staff": string;
|
|
17
|
+
"Point of Sale (POS)": string;
|
|
18
|
+
"Delivery Management": string;
|
|
19
|
+
"Third-Party Delivery Integrations": string;
|
|
20
|
+
"RestaroundPay with Mobile": string;
|
|
21
|
+
"Event management": string;
|
|
22
|
+
"Unlimited Users": string;
|
|
23
|
+
"/ month": string;
|
|
24
|
+
monthly: string;
|
|
25
|
+
annually: string;
|
|
26
|
+
"Flexible Plans for Every Business - Simple Pricing, More Value!": string;
|
|
27
|
+
"Choose a pricing plan that fits your business. Subscribe monthly or annually and save more with long-term plans!": string;
|
|
28
|
+
Appetizer: string;
|
|
29
|
+
"Main Course": string;
|
|
30
|
+
"Unlimited Languages": string;
|
|
31
|
+
"30-day money-back guarantee": string;
|
|
32
|
+
"Limited Time Only": string;
|
|
33
|
+
"/ lifetime": string;
|
|
34
|
+
};
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
SOMETHING_WRONG: string;
|
|
3
|
+
FIELD_REQUIRED: string;
|
|
4
|
+
INVALID_OTP: string;
|
|
5
|
+
OTP_RATE_LIMIT_EXCEEDED: string;
|
|
6
|
+
FEATURE_NOT_AVAILABLE_FOR_SEGMENT: string;
|
|
7
|
+
ORDER_TYPE_DISABLED_FOR_BUSINESS: string;
|
|
8
|
+
COUNTRY_REQUIRED: string;
|
|
9
|
+
CITY_REQUIRED: string;
|
|
10
|
+
STREET_REQUIRED: string;
|
|
11
|
+
STREET_NUMBER_REQUIRED: string;
|
|
12
|
+
OUT_OF_DELIVERY_RANGE: string;
|
|
13
|
+
NO_ORDER_TYPE: string;
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
error: {
|
|
3
|
+
SOMETHING_WRONG: string;
|
|
4
|
+
FIELD_REQUIRED: string;
|
|
5
|
+
INVALID_OTP: string;
|
|
6
|
+
OTP_RATE_LIMIT_EXCEEDED: string;
|
|
7
|
+
FEATURE_NOT_AVAILABLE_FOR_SEGMENT: string;
|
|
8
|
+
ORDER_TYPE_DISABLED_FOR_BUSINESS: string;
|
|
9
|
+
COUNTRY_REQUIRED: string;
|
|
10
|
+
CITY_REQUIRED: string;
|
|
11
|
+
STREET_REQUIRED: string;
|
|
12
|
+
STREET_NUMBER_REQUIRED: string;
|
|
13
|
+
OUT_OF_DELIVERY_RANGE: string;
|
|
14
|
+
NO_ORDER_TYPE: string;
|
|
15
|
+
};
|
|
16
|
+
common: {};
|
|
17
|
+
order: {};
|
|
18
|
+
customer: {};
|
|
19
|
+
auth: {};
|
|
20
|
+
events: {};
|
|
21
|
+
pricing: {};
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"Unknown address": string;
|
|
3
|
+
"No address available": string;
|
|
4
|
+
"Update Delivery Address": string;
|
|
5
|
+
Country: string;
|
|
6
|
+
City: string;
|
|
7
|
+
"Baker Street": string;
|
|
8
|
+
Address: string;
|
|
9
|
+
"House number": string;
|
|
10
|
+
"Additional number": string;
|
|
11
|
+
"Example: Door code is 555": string;
|
|
12
|
+
"Delivery Instructions": string;
|
|
13
|
+
Azerbaijan: string;
|
|
14
|
+
Floor: string;
|
|
15
|
+
"Enter address": string;
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
COUNTRY_REQUIRED: string;
|
|
13
|
+
CITY_REQUIRED: string;
|
|
14
|
+
STREET_REQUIRED: string;
|
|
15
|
+
STREET_NUMBER_REQUIRED: string;
|
|
16
|
+
OUT_OF_DELIVERY_RANGE: string;
|
|
17
|
+
NO_ORDER_TYPE: string;
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|