@tabres/react 1.0.32 → 1.0.33
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/BackIcon/BackIcon.d.ts +1 -1
- package/dist/components/Events/Events.d.ts +1 -1
- package/dist/components/Events/EventsToolbar.d.ts +1 -1
- package/dist/components/PublicMenu/Branches/BranchCard/BranchCard.d.ts +1 -1
- package/dist/components/PublicMenu/Branches/BranchCard/Parent.d.ts +1 -1
- package/dist/components/PublicMenu/Branches/Branches.d.ts +1 -1
- package/dist/components/PublicMenu/Categories/Categories.d.ts +1 -1
- package/dist/components/PublicMenu/Customer/CustomerAddress/AddressContent/AddressContent.d.ts +1 -1
- package/dist/components/PublicMenu/Customer/CustomerAddress/CustomerAddress.d.ts +1 -1
- package/dist/components/PublicMenu/Customer/CustomerAddress/NoAddressContent/NoAddressContent.d.ts +1 -1
- package/dist/components/PublicMenu/Header/BranchBusinessHours/BranchBusinessHours.d.ts +1 -1
- package/dist/components/PublicMenu/Header/BranchBusinessHours/HoursList/HoursList.d.ts +1 -1
- package/dist/components/PublicMenu/Header/BranchHeader/BranchHeader.d.ts +1 -1
- package/dist/components/PublicMenu/Header/BranchHeader/HeaderLinks/HeaderLinks.d.ts +1 -1
- package/dist/components/PublicMenu/Header/BusinessHeader/BusinessHeader.d.ts +1 -1
- package/dist/components/PublicMenu/Header/Header.d.ts +1 -1
- package/dist/components/PublicMenu/Header/Languages/Languages.d.ts +1 -1
- package/dist/components/PublicMenu/MenuContent/MenuContent.d.ts +1 -1
- package/dist/components/PublicMenu/Modals/AddUpdateAddress/AddUpdateAddress.d.ts +1 -1
- package/dist/components/PublicMenu/Modals/AddUpdateNote/AddUpdateNote.d.ts +1 -1
- package/dist/components/PublicMenu/Modals/Auth/Auth.d.ts +1 -1
- package/dist/components/PublicMenu/Modals/Auth/EmailStep.d.ts +1 -1
- package/dist/components/PublicMenu/Modals/Auth/OTPStep.d.ts +1 -1
- package/dist/components/PublicMenu/Modals/Auth/PhoneStep.d.ts +1 -1
- package/dist/components/PublicMenu/Modals/BranchBusinessHours/BranchBusinessHours.d.ts +1 -1
- package/dist/components/PublicMenu/OrderDrawer/OrderDrawer.d.ts +1 -1
- package/dist/components/PublicMenu/OrderDrawer/OrderDrawerCart.d.ts +1 -1
- package/dist/components/PublicMenu/OrderDrawer/OrderDrawerCompleted.d.ts +1 -1
- package/dist/components/PublicMenu/OrderDrawer/OrderDrawerDetails.d.ts +1 -1
- package/dist/components/PublicMenu/OrderDrawer/OrderDrawerFooter.d.ts +1 -1
- package/dist/components/PublicMenu/OrderDrawer/OrderTable/OrderTable.d.ts +1 -1
- package/dist/components/PublicMenu/OrderDrawer/OrderTable/OrderTableUI.d.ts +1 -1
- package/dist/components/PublicMenu/OrderFAB/OrderFAB.d.ts +1 -1
- package/dist/components/PublicMenu/OrderFAB/OrderFABContainer.d.ts +1 -1
- package/dist/components/PublicMenu/OrderItemsList/OrderItemsList.d.ts +1 -1
- package/dist/components/PublicMenu/OrderItemsList/OrderNoItems.d.ts +1 -1
- package/dist/components/PublicMenu/OrderListItem/OrderListItem.d.ts +1 -1
- package/dist/components/PublicMenu/OrderMethods/OrderMethods.d.ts +1 -1
- package/dist/components/PublicMenu/OrderPaymentSummary/OrderPaymentSummary.d.ts +1 -1
- package/dist/components/PublicMenu/OrderStepper/OrderStepper.d.ts +1 -1
- package/dist/components/PublicMenu/ProductAddons/ProductAddons.d.ts +1 -1
- package/dist/components/PublicMenu/ProductDetails/ProductDetails.d.ts +1 -1
- package/dist/components/PublicMenu/ProductDetails/ProductDetailsUI.d.ts +1 -1
- package/dist/components/PublicMenu/ProductInOrder/ProductInOrder.d.ts +1 -1
- package/dist/components/PublicMenu/ProductQuantity/ProductQuantity.d.ts +1 -1
- package/dist/components/PublicMenu/ProductVariants/ProductVariants.d.ts +1 -1
- package/dist/components/PublicMenu/Products/Products.d.ts +1 -1
- package/dist/components/PublicMenu/ProductsGridItem/ProductsGridItem.d.ts +1 -1
- package/dist/components/PublicMenu/ProductsGridItem/ProductsGridItemContainer.d.ts +1 -1
- package/dist/components/PublicMenu/ProductsListItem/ProductsListItem.d.ts +1 -1
- package/dist/components/PublicMenu/PublicMenu.d.ts +1 -1
- package/dist/components/PublicMenu/Videos/Video/Actions/Actions.d.ts +1 -1
- package/dist/components/PublicMenu/Videos/Video/Video.d.ts +1 -1
- package/dist/components/PublicMenu/Videos/Video/VideoData/VideoData.d.ts +1 -1
- package/dist/components/PublicMenu/Videos/VideoFeed/VideoFeed.d.ts +1 -1
- package/dist/components/Quantity/Quantity.d.ts +1 -1
- package/dist/components/ScrollToTop/ScrollToTop.d.ts +1 -1
- package/dist/constants/index.esm.js.map +1 -1
- package/dist/constants/index.js.map +1 -1
- 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.esm.js.map +1 -1
- package/dist/models/index.js.map +1 -1
- package/dist/models/modules/branch/models.d.ts +2 -0
- package/dist/models/modules/order/constants.d.ts +1 -1
- package/dist/models/modules/order/models.d.ts +1 -1
- package/dist/models/store/index.d.ts +1 -1
- package/dist/models/store/order.d.ts +1 -1
- package/dist/modules/branch/models.d.ts +2 -0
- package/dist/modules/order/constants.d.ts +1 -1
- package/dist/modules/order/models.d.ts +1 -1
- package/dist/modules/order/preview.d.ts +1 -1
- package/dist/store/index.d.ts +1 -1
- package/dist/store/order.d.ts +1 -1
- package/dist/utils/index.esm.js.map +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/modules/branch/models.d.ts +2 -0
- package/dist/utils/modules/order/constants.d.ts +1 -1
- package/dist/utils/modules/order/models.d.ts +1 -1
- package/dist/utils/store/index.d.ts +1 -1
- package/dist/utils/store/order.d.ts +1 -1
- package/package.json +12 -11
|
@@ -4,5 +4,5 @@ interface Props {
|
|
|
4
4
|
size?: SIZE;
|
|
5
5
|
theme?: IconTheme;
|
|
6
6
|
}
|
|
7
|
-
declare const BackIcon: ({ onClick, size, theme }: Props) => import("react
|
|
7
|
+
declare const BackIcon: ({ onClick, size, theme }: Props) => import("react").JSX.Element;
|
|
8
8
|
export default BackIcon;
|
|
@@ -6,5 +6,5 @@ interface Props {
|
|
|
6
6
|
goal: string;
|
|
7
7
|
setGoal: (goal: string) => void;
|
|
8
8
|
}
|
|
9
|
-
declare const Events: ({ data, isLoading, language, goal, setGoal }: Props) => import("react
|
|
9
|
+
declare const Events: ({ data, isLoading, language, goal, setGoal }: Props) => import("react").JSX.Element;
|
|
10
10
|
export default Events;
|
|
@@ -3,5 +3,5 @@ interface Props {
|
|
|
3
3
|
language?: string;
|
|
4
4
|
setGoal: (goal: string) => void;
|
|
5
5
|
}
|
|
6
|
-
declare const EventsToolbar: ({ currentGoal, language, setGoal }: Props) => import("react
|
|
6
|
+
declare const EventsToolbar: ({ currentGoal, language, setGoal }: Props) => import("react").JSX.Element;
|
|
7
7
|
export default EventsToolbar;
|
|
@@ -2,5 +2,5 @@ import { models as branchModels } from "src/modules/branch";
|
|
|
2
2
|
interface Props {
|
|
3
3
|
branch: branchModels.Branch;
|
|
4
4
|
}
|
|
5
|
-
declare const BranchCard: ({ branch }: Props) => import("react
|
|
5
|
+
declare const BranchCard: ({ branch }: Props) => import("react").JSX.Element;
|
|
6
6
|
export default BranchCard;
|
|
@@ -3,5 +3,5 @@ interface Props {
|
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
id: number;
|
|
5
5
|
}
|
|
6
|
-
declare const BranchCardParent: ({ children, id }: Props) => import("react
|
|
6
|
+
declare const BranchCardParent: ({ children, id }: Props) => import("react").JSX.Element;
|
|
7
7
|
export default BranchCardParent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Branches: () => import("react
|
|
1
|
+
declare const Branches: () => import("react").JSX.Element;
|
|
2
2
|
export default Branches;
|
|
@@ -6,5 +6,5 @@ interface Props {
|
|
|
6
6
|
skipTracking?: boolean;
|
|
7
7
|
onSelectCategory: (id: number) => void;
|
|
8
8
|
}
|
|
9
|
-
declare const Categories: ({ categoryProductMap, language, selectedCategoryId, skipTracking, onSelectCategory, }: Props) => import("react
|
|
9
|
+
declare const Categories: ({ categoryProductMap, language, selectedCategoryId, skipTracking, onSelectCategory, }: Props) => import("react").JSX.Element;
|
|
10
10
|
export default Categories;
|
package/dist/components/PublicMenu/Customer/CustomerAddress/AddressContent/AddressContent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const AddressContent: () => import("react
|
|
1
|
+
declare const AddressContent: () => import("react").JSX.Element;
|
|
2
2
|
export default AddressContent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const CustomerAddress: () => import("react
|
|
1
|
+
declare const CustomerAddress: () => import("react").JSX.Element;
|
|
2
2
|
export default CustomerAddress;
|
package/dist/components/PublicMenu/Customer/CustomerAddress/NoAddressContent/NoAddressContent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const NoAddressContent: () => import("react
|
|
1
|
+
declare const NoAddressContent: () => import("react").JSX.Element;
|
|
2
2
|
export default NoAddressContent;
|
|
@@ -3,5 +3,5 @@ type Props = {
|
|
|
3
3
|
openingHours: branchModels.Branch["openingHours"];
|
|
4
4
|
deliveryHours: branchModels.Branch["deliveryHours"];
|
|
5
5
|
};
|
|
6
|
-
declare const BranchBusinessHours: ({ openingHours, deliveryHours }: Props) => import("react
|
|
6
|
+
declare const BranchBusinessHours: ({ openingHours, deliveryHours }: Props) => import("react").JSX.Element;
|
|
7
7
|
export default BranchBusinessHours;
|
|
@@ -3,5 +3,5 @@ type Props = {
|
|
|
3
3
|
title?: string;
|
|
4
4
|
days: branchModels.BranchWorkDay[];
|
|
5
5
|
};
|
|
6
|
-
declare const HoursList: ({ title, days }: Props) => import("react
|
|
6
|
+
declare const HoursList: ({ title, days }: Props) => import("react").JSX.Element;
|
|
7
7
|
export default HoursList;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const BranchHeader: () => import("react
|
|
1
|
+
declare const BranchHeader: () => import("react").JSX.Element;
|
|
2
2
|
export default BranchHeader;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const HeaderLinks: () => import("react
|
|
1
|
+
declare const HeaderLinks: () => import("react").JSX.Element;
|
|
2
2
|
export default HeaderLinks;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const BusinessHeader: () => import("react
|
|
1
|
+
declare const BusinessHeader: () => import("react").JSX.Element;
|
|
2
2
|
export default BusinessHeader;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Header: () => import("react
|
|
1
|
+
declare const Header: () => import("react").JSX.Element;
|
|
2
2
|
export default Header;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Languages: () => import("react
|
|
1
|
+
declare const Languages: () => import("react").JSX.Element;
|
|
2
2
|
export default Languages;
|
|
@@ -2,5 +2,5 @@ import { RefObject } from "react";
|
|
|
2
2
|
interface Props {
|
|
3
3
|
containerRef: RefObject<HTMLDivElement>;
|
|
4
4
|
}
|
|
5
|
-
declare const MenuContent: ({ containerRef }: Props) => import("react
|
|
5
|
+
declare const MenuContent: ({ containerRef }: Props) => import("react").JSX.Element;
|
|
6
6
|
export default MenuContent;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ModalComponentProps } from "@sorocraft/ui";
|
|
2
|
-
declare const AddUpdateAddress: ({ params }: ModalComponentProps) => import("react
|
|
2
|
+
declare const AddUpdateAddress: ({ params }: ModalComponentProps) => import("react").JSX.Element;
|
|
3
3
|
export default AddUpdateAddress;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ModalComponentProps } from "@sorocraft/ui";
|
|
2
|
-
declare const AddUpdateNote: ({ params }: ModalComponentProps) => import("react
|
|
2
|
+
declare const AddUpdateNote: ({ params }: ModalComponentProps) => import("react").JSX.Element;
|
|
3
3
|
export default AddUpdateNote;
|
|
@@ -3,5 +3,5 @@ interface Props {
|
|
|
3
3
|
formErrors: FormErrors;
|
|
4
4
|
onChange: (email: string) => void;
|
|
5
5
|
}
|
|
6
|
-
declare const EmailStep: ({ formErrors, onChange }: Props) => import("react
|
|
6
|
+
declare const EmailStep: ({ formErrors, onChange }: Props) => import("react").JSX.Element;
|
|
7
7
|
export default EmailStep;
|
|
@@ -3,5 +3,5 @@ interface Props {
|
|
|
3
3
|
errorMessage?: string;
|
|
4
4
|
onChange: (otp: string) => void;
|
|
5
5
|
}
|
|
6
|
-
declare const OTPStep: ({ address, errorMessage, onChange }: Props) => import("react
|
|
6
|
+
declare const OTPStep: ({ address, errorMessage, onChange }: Props) => import("react").JSX.Element;
|
|
7
7
|
export default OTPStep;
|
|
@@ -3,5 +3,5 @@ interface Props {
|
|
|
3
3
|
formErrors: FormErrors;
|
|
4
4
|
onChange: (phoneNumber: string) => void;
|
|
5
5
|
}
|
|
6
|
-
declare const PhoneStep: ({ formErrors, onChange }: Props) => import("react
|
|
6
|
+
declare const PhoneStep: ({ formErrors, onChange }: Props) => import("react").JSX.Element;
|
|
7
7
|
export default PhoneStep;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ModalComponentProps } from "@sorocraft/ui";
|
|
2
|
-
declare const BranchBusinessHours: ({ params }: ModalComponentProps) => import("react
|
|
2
|
+
declare const BranchBusinessHours: ({ params }: ModalComponentProps) => import("react").JSX.Element;
|
|
3
3
|
export default BranchBusinessHours;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const OrderDrawer: () => import("react
|
|
1
|
+
declare const OrderDrawer: () => import("react").JSX.Element;
|
|
2
2
|
export default OrderDrawer;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const OrderDrawerCart: () => import("react
|
|
1
|
+
declare const OrderDrawerCart: () => import("react").JSX.Element;
|
|
2
2
|
export default OrderDrawerCart;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const OrderDrawerCompleted: () => import("react
|
|
1
|
+
declare const OrderDrawerCompleted: () => import("react").JSX.Element;
|
|
2
2
|
export default OrderDrawerCompleted;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const OrderDrawerDetailsWithProvider: () => import("react
|
|
1
|
+
declare const OrderDrawerDetailsWithProvider: () => import("react").JSX.Element;
|
|
2
2
|
export default OrderDrawerDetailsWithProvider;
|
|
@@ -2,5 +2,5 @@ interface Props {
|
|
|
2
2
|
isOrderItemsEmpty: boolean;
|
|
3
3
|
orderError: string | null;
|
|
4
4
|
}
|
|
5
|
-
declare const OrderDrawerFooter: ({ isOrderItemsEmpty, orderError }: Props) => import("react
|
|
5
|
+
declare const OrderDrawerFooter: ({ isOrderItemsEmpty, orderError }: Props) => import("react").JSX.Element;
|
|
6
6
|
export default OrderDrawerFooter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const OrderTable: () => import("react
|
|
1
|
+
declare const OrderTable: () => import("react").JSX.Element;
|
|
2
2
|
export default OrderTable;
|
|
@@ -9,5 +9,5 @@ interface Props {
|
|
|
9
9
|
language?: string;
|
|
10
10
|
onChange: (tableId: number | null) => void;
|
|
11
11
|
}
|
|
12
|
-
declare const OrderTableUI: ({ preDefinedTable, tableOptions, selectedTableId, error, disableIfPreDefined, language, onChange, }: Props) => import("react
|
|
12
|
+
declare const OrderTableUI: ({ preDefinedTable, tableOptions, selectedTableId, error, disableIfPreDefined, language, onChange, }: Props) => import("react").JSX.Element;
|
|
13
13
|
export default OrderTableUI;
|
|
@@ -4,5 +4,5 @@ interface Props {
|
|
|
4
4
|
isInPublicMenu?: boolean;
|
|
5
5
|
onClick?: () => void;
|
|
6
6
|
}
|
|
7
|
-
declare const OrderFAB: ({ totalCount, isVisible, onClick, isInPublicMenu }: Props) => import("react
|
|
7
|
+
declare const OrderFAB: ({ totalCount, isVisible, onClick, isInPublicMenu }: Props) => import("react").JSX.Element;
|
|
8
8
|
export default OrderFAB;
|
|
@@ -2,5 +2,5 @@ interface Props {
|
|
|
2
2
|
alwaysVisible?: boolean;
|
|
3
3
|
isInPublicMenu?: boolean;
|
|
4
4
|
}
|
|
5
|
-
declare const POSOrderFAB: ({ alwaysVisible, isInPublicMenu }: Props) => import("react
|
|
5
|
+
declare const POSOrderFAB: ({ alwaysVisible, isInPublicMenu }: Props) => import("react").JSX.Element;
|
|
6
6
|
export default POSOrderFAB;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const OrderNoItems: () => import("react
|
|
1
|
+
declare const OrderNoItems: () => import("react").JSX.Element;
|
|
2
2
|
export default OrderNoItems;
|
|
@@ -3,5 +3,5 @@ interface Props {
|
|
|
3
3
|
item: orderModels.OrderItem;
|
|
4
4
|
isDisabled: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const OrderListItem: ({ item, isDisabled }: Props) => import("react
|
|
6
|
+
declare const OrderListItem: ({ item, isDisabled }: Props) => import("react").JSX.Element;
|
|
7
7
|
export default OrderListItem;
|
|
@@ -7,5 +7,5 @@ interface Props {
|
|
|
7
7
|
size?: SIZE_LONG;
|
|
8
8
|
onSelect: (method: string | number) => void;
|
|
9
9
|
}
|
|
10
|
-
declare const OrderMethods: ({ orderTypes, orderType, size, onSelect }: Props) => import("react
|
|
10
|
+
declare const OrderMethods: ({ orderTypes, orderType, size, onSelect }: Props) => import("react").JSX.Element;
|
|
11
11
|
export default OrderMethods;
|
|
@@ -17,5 +17,5 @@ interface Props {
|
|
|
17
17
|
language: string;
|
|
18
18
|
orderType: orderModels.OrderType;
|
|
19
19
|
}
|
|
20
|
-
declare const OrderPaymentSummary: ({ textSize, totalPriceWithoutTax, totalPriceWithTaxAndFees, deliveryFee, serviceFee, serviceFeePercentage, serviceFeeEnabled, totalTax, discountAmount, discountType, discountRate, currency, language, orderType, }: Props) => import("react
|
|
20
|
+
declare const OrderPaymentSummary: ({ textSize, totalPriceWithoutTax, totalPriceWithTaxAndFees, deliveryFee, serviceFee, serviceFeePercentage, serviceFeeEnabled, totalTax, discountAmount, discountType, discountRate, currency, language, orderType, }: Props) => import("react").JSX.Element;
|
|
21
21
|
export default OrderPaymentSummary;
|
|
@@ -4,5 +4,5 @@ interface Props {
|
|
|
4
4
|
isLoading?: boolean;
|
|
5
5
|
isDisabled?: boolean;
|
|
6
6
|
}
|
|
7
|
-
declare const OrderStepper: ({ actionText, isLoading, isDisabled, onClick }: Props) => import("react
|
|
7
|
+
declare const OrderStepper: ({ actionText, isLoading, isDisabled, onClick }: Props) => import("react").JSX.Element;
|
|
8
8
|
export default OrderStepper;
|
|
@@ -12,5 +12,5 @@ interface Props {
|
|
|
12
12
|
isRemove?: boolean;
|
|
13
13
|
}) => void;
|
|
14
14
|
}
|
|
15
|
-
declare const ProductAddons: ({ product, selectedAddons, language, currency, onOptionSelect }: Props) => import("react
|
|
15
|
+
declare const ProductAddons: ({ product, selectedAddons, language, currency, onOptionSelect }: Props) => import("react").JSX.Element;
|
|
16
16
|
export default ProductAddons;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ModalComponentProps } from "@sorocraft/ui";
|
|
2
|
-
declare const ProductDetails: ({ params }: ModalComponentProps) => import("react
|
|
2
|
+
declare const ProductDetails: ({ params }: ModalComponentProps) => import("react").JSX.Element;
|
|
3
3
|
export default ProductDetails;
|
|
@@ -29,5 +29,5 @@ interface Props {
|
|
|
29
29
|
removeAllProductVariants: (productId: number) => void;
|
|
30
30
|
onQuantityChange?: (quantity: number) => void;
|
|
31
31
|
}
|
|
32
|
-
declare const ProductDetailsUI: ({ product, language, currency, selectedVariant, focusedSection, selectedAddons, isDecreaseDisabled, quantity, actionTitle, isInPublicMenu, productQuantityInOrderWithAllVariants, modalRef, videoUrl, addToOrderEnabled, onClose, setSelectedVariant, onOptionSelect, adjustQuantity, onSubmit, removeAllProductVariants, onQuantityChange, }: Props) => import("react
|
|
32
|
+
declare const ProductDetailsUI: ({ product, language, currency, selectedVariant, focusedSection, selectedAddons, isDecreaseDisabled, quantity, actionTitle, isInPublicMenu, productQuantityInOrderWithAllVariants, modalRef, videoUrl, addToOrderEnabled, onClose, setSelectedVariant, onOptionSelect, adjustQuantity, onSubmit, removeAllProductVariants, onQuantityChange, }: Props) => import("react").JSX.Element;
|
|
33
33
|
export default ProductDetailsUI;
|
|
@@ -6,5 +6,5 @@ interface Props {
|
|
|
6
6
|
onModalClose: () => void;
|
|
7
7
|
removeAllProductVariants: (productId: number) => void;
|
|
8
8
|
}
|
|
9
|
-
declare const ProductInOrder: ({ productId, quantity, isInPublicMenu, language, removeAllProductVariants, onModalClose, }: Props) => import("react
|
|
9
|
+
declare const ProductInOrder: ({ productId, quantity, isInPublicMenu, language, removeAllProductVariants, onModalClose, }: Props) => import("react").JSX.Element;
|
|
10
10
|
export default ProductInOrder;
|
|
@@ -8,5 +8,5 @@ interface Props {
|
|
|
8
8
|
size?: SIZE;
|
|
9
9
|
isDisabled: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare const ProductQuantity: ({ productId, variantId, min, size, selectedAddons, isDisabled, }: Props) => import("react
|
|
11
|
+
declare const ProductQuantity: ({ productId, variantId, min, size, selectedAddons, isDisabled, }: Props) => import("react").JSX.Element;
|
|
12
12
|
export default ProductQuantity;
|
|
@@ -7,5 +7,5 @@ interface Props {
|
|
|
7
7
|
currency: string;
|
|
8
8
|
onSelectVariant: (id: number) => void;
|
|
9
9
|
}
|
|
10
|
-
declare const ProductVariants: ({ product, selectedVariant, focusedSection, language, currency, onSelectVariant, }: Props) => import("react
|
|
10
|
+
declare const ProductVariants: ({ product, selectedVariant, focusedSection, language, currency, onSelectVariant, }: Props) => import("react").JSX.Element;
|
|
11
11
|
export default ProductVariants;
|
|
@@ -9,5 +9,5 @@ interface Props {
|
|
|
9
9
|
categoryProductMap: menuModels.CategoryProductMap[];
|
|
10
10
|
onCategoryInView: (categoryId: number) => void;
|
|
11
11
|
}
|
|
12
|
-
declare const Products: import("react").MemoExoticComponent<({ categoryProductMap, currency, language, productBlocksRef, containerRef, onCategoryInView, }: Props) => import("react
|
|
12
|
+
declare const Products: import("react").MemoExoticComponent<({ categoryProductMap, currency, language, productBlocksRef, containerRef, onCategoryInView, }: Props) => import("react").JSX.Element>;
|
|
13
13
|
export default Products;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ProductsGridItemProps } from "./ProductsGridItem.types";
|
|
2
|
-
declare const ProductsGridItem: ({ product, currency, language, defaultImage, isDashboard, backgroundColor, onClick, onAddProduct, }: ProductsGridItemProps) => import("react
|
|
2
|
+
declare const ProductsGridItem: ({ product, currency, language, defaultImage, isDashboard, backgroundColor, onClick, onAddProduct, }: ProductsGridItemProps) => import("react").JSX.Element;
|
|
3
3
|
export default ProductsGridItem;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ProductsGridItemProps } from "./ProductsGridItem.types";
|
|
2
2
|
type Props = Omit<ProductsGridItemProps, "onAddProduct">;
|
|
3
|
-
declare const ProductsGridItemContainer: ({ product, currency, language, onClick }: Props) => import("react
|
|
3
|
+
declare const ProductsGridItemContainer: ({ product, currency, language, onClick }: Props) => import("react").JSX.Element;
|
|
4
4
|
export default ProductsGridItemContainer;
|
|
@@ -5,5 +5,5 @@ interface Props {
|
|
|
5
5
|
language: string;
|
|
6
6
|
onClick?: () => void;
|
|
7
7
|
}
|
|
8
|
-
declare const ProductsListItem: ({ product, currency, language, onClick }: Props) => import("react
|
|
8
|
+
declare const ProductsListItem: ({ product, currency, language, onClick }: Props) => import("react").JSX.Element;
|
|
9
9
|
export default ProductsListItem;
|
|
@@ -2,5 +2,5 @@ import { models as menuModels } from "src/modules/menu";
|
|
|
2
2
|
interface Props {
|
|
3
3
|
data: menuModels.PublicMenuData;
|
|
4
4
|
}
|
|
5
|
-
declare const PublicMenuWithContext: ({ data }: Props) => import("react
|
|
5
|
+
declare const PublicMenuWithContext: ({ data }: Props) => import("react").JSX.Element;
|
|
6
6
|
export default PublicMenuWithContext;
|
|
@@ -2,5 +2,5 @@ import { models as videoModels } from "src/modules/video";
|
|
|
2
2
|
export interface Props {
|
|
3
3
|
video: videoModels.Video;
|
|
4
4
|
}
|
|
5
|
-
declare const Actions: ({ video }: Props) => import("react
|
|
5
|
+
declare const Actions: ({ video }: Props) => import("react").JSX.Element;
|
|
6
6
|
export default Actions;
|
|
@@ -7,5 +7,5 @@ export interface Props {
|
|
|
7
7
|
registerVideo: (id: number, el: HTMLElement) => void;
|
|
8
8
|
setIsMuted: (isMuted: boolean) => void;
|
|
9
9
|
}
|
|
10
|
-
declare const Video: ({ video, isActive, shouldLoad, isMuted, registerVideo, setIsMuted, }: Props) => import("react
|
|
10
|
+
declare const Video: ({ video, isActive, shouldLoad, isMuted, registerVideo, setIsMuted, }: Props) => import("react").JSX.Element;
|
|
11
11
|
export default Video;
|
|
@@ -2,5 +2,5 @@ import { models as videoModels } from "src/modules/video";
|
|
|
2
2
|
export interface Props {
|
|
3
3
|
video: videoModels.Video;
|
|
4
4
|
}
|
|
5
|
-
declare const VideoData: ({ video }: Props) => import("react
|
|
5
|
+
declare const VideoData: ({ video }: Props) => import("react").JSX.Element;
|
|
6
6
|
export default VideoData;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const VideoFeed: () => import("react
|
|
1
|
+
declare const VideoFeed: () => import("react").JSX.Element;
|
|
2
2
|
export default VideoFeed;
|
|
@@ -7,5 +7,5 @@ interface Props {
|
|
|
7
7
|
onIncrease: () => void;
|
|
8
8
|
onDecrease: () => void;
|
|
9
9
|
}
|
|
10
|
-
declare const Quantity: ({ isDecreaseDisabled, quantity, size, focusedSection, onIncrease, onDecrease, }: Props) => import("react
|
|
10
|
+
declare const Quantity: ({ isDecreaseDisabled, quantity, size, focusedSection, onIncrease, onDecrease, }: Props) => import("react").JSX.Element;
|
|
11
11
|
export default Quantity;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":["../../src/constants/analytics.ts","../../../src/modules/feature/models.ts","../../../src/modules/feature/constants.ts","../../../src/modules/view/constants.ts","../../../src/modules/subscription/models.ts","../../../src/modules/subscription/constants.ts"],"sourcesContent":["const GOAL_BASE_NAME = \"digital_menu\";\n\nexport const CATEGORY_SELECTED = `${GOAL_BASE_NAME}_category_select`;\nexport const CATEGORY_SCROLLED = `${GOAL_BASE_NAME}_category_scroll`;\nexport const PRODUCT_DETAILS = `${GOAL_BASE_NAME}_product_details`;\nexport const PRODUCT_ADD_ORDER = `${GOAL_BASE_NAME}_product_add_cart`;\nexport const PRODUCT_VIEW_CHANGED = `${GOAL_BASE_NAME}_product_view_changed`;\n\nexport const GOALS = [CATEGORY_SELECTED, CATEGORY_SCROLLED, PRODUCT_DETAILS, PRODUCT_ADD_ORDER];\n","export enum Feature {\n\tUPLOAD_VIDEO = \"UPLOAD_VIDEO\",\n}\nexport enum FeatureSegment {\n\tALPHA = \"ALPHA\",\n\tBETA = \"BETA\",\n\tALL = \"ALL\",\n}\n","import { Feature, FeatureSegment } from \"./models\";\n\nexport const FEATURES_LIST: { [key in FeatureSegment]: Feature[] } = {\n\t[FeatureSegment.ALPHA]: [Feature.UPLOAD_VIDEO],\n\t[FeatureSegment.BETA]: [],\n\t[FeatureSegment.ALL]: [],\n};\n","export const MODALS = {\n\tADD_UPDATE_NOTES: \"ADD_UPDATE_NOTES\",\n\tAUTH: \"AUTH\",\n\tADD_UPDATE_ADDRESS: \"ADD_UPDATE_ADDRESS\",\n\tBRANCH_BUSINESS_HOURS: \"BRANCH_BUSINESS_HOURS\",\n\tPRODUCT_DETAILS: \"PRODUCT_DETAILS\",\n};\n\nexport const SUPPORTED_LOCALES = [\"en\", \"az\", \"nl\", \"et\", \"tr\", \"ru\", \"pl\", \"pt\", \"hr\"];\nexport const SUPPORTED_COUNTRIES = [\n\t{\n\t\tname: \"Azerbaijan\",\n\t\tcode: \"AZ\",\n\t\tphoneCode: \"+994\",\n\t},\n];\n\nexport const DOMAIN = \"tabres.com\";\n\nexport const DEFAULT_HOSTNAME = DOMAIN;\n\nexport const IMAGE_BASE_URL = \"https://images.tabres.com\";\n","export enum PlanType {\n\tAPPETIZER = \"appetizer\",\n\tMAIN_COURSE = \"mainCourse\",\n\tCHEFS_SPECIAL = \"chefsSpecial\",\n\tLIFETIME = \"lifeTime\",\n}\n\nexport interface PricingPlan {\n\ttitle: string;\n\tprice: {\n\t\tmonthly: number;\n\t\tannually: number;\n\t};\n\tdiscountedPrice?: number;\n\tribbonText?: string;\n}\n\nexport interface PricingPlans {\n\t[key: string]: PricingPlan;\n}\n\nexport type PricingInterval = \"monthly\" | \"annually\";\n\nexport enum SubscriptionStatus {\n\tACTIVE = \"ACTIVE\",\n\tEXPIRED = \"EXPIRED\",\n\tCANCELLED = \"CANCELLED\",\n}\n\nexport type BillingInterval = \"MONTH\" | \"YEAR\";\n\nexport interface Subscription {\n\tid: number;\n\tbillingInterval: BillingInterval;\n\tbillingIntervalCount: number;\n\tstartDate: string;\n\tendDate: string;\n\tinterval: PricingInterval;\n\tstatus: SubscriptionStatus;\n\tbusiness_id?: number;\n\tplanName: string;\n}\n","import { PlanType, PricingPlans } from \"./models\";\n\nexport const PRICING: PricingPlans = {\n\tappetizer: {\n\t\ttitle: \"Appetizer\",\n\t\tprice: {\n\t\t\tmonthly: 9,\n\t\t\tannually: 7,\n\t\t},\n\t\t// discountedPrice: 0,\n\t},\n\tmainCourse: {\n\t\ttitle: \"Main Course\",\n\t\tprice: {\n\t\t\tmonthly: 19,\n\t\t\tannually: 15,\n\t\t},\n\t\t// discountedPrice: 0,\n\t},\n\tchefsSpecial: {\n\t\ttitle: \"Chef's Special\",\n\t\tprice: {\n\t\t\tmonthly: 49,\n\t\t\tannually: 39,\n\t\t},\n\t\t// discountedPrice: 0,\n\t},\n\tlifeTime: {\n\t\ttitle: \"Lifetime\",\n\t\tprice: {\n\t\t\tmonthly: 49,\n\t\t\tannually: 49,\n\t\t},\n\t\tribbonText: \"Limited Time Only\",\n\t\t// discountedPrice: 0,\n\t},\n};\n\nexport const PRICING_BENEFITS = [\n\t{\n\t\ttitle: \"Smart QR Menu\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Link-in-bio\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Menu Analytics\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Unlimited Users\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Unlimited Products\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Unlimited Categories\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Unlimited Languages\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Product variants\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Product options\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Premium Support\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"SEO\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Sales reports\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Table Management\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Order Management\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Delivery Management\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Multiple Branches\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: false,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Point of Sale (POS)\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: false,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: false,\n\t},\n\t{\n\t\ttitle: \"Mobile App for Owners & Staff\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: false,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: false,\n\t},\n\t// {\n\t// \ttitle: \"TabresPay with Mobile\",\n\t// \t[PlanType.APPETIZER]: false,\n\t// \t[PlanType.MAIN_COURSE]: true,\n\t// \t[PlanType.CHEFS_SPECIAL]: true,\n\t// },\n\t// {\n\t// \ttitle: \"Event management\",\n\t// \t[PlanType.APPETIZER]: false,\n\t// \t[PlanType.MAIN_COURSE]: true,\n\t// \t[PlanType.CHEFS_SPECIAL]: true,\n\t// },\n\t// {\n\t// \ttitle: \"Third-Party Delivery Integrations\",\n\t// \t[PlanType.APPETIZER]: false,\n\t// \t[PlanType.MAIN_COURSE]: false,\n\t// \t[PlanType.CHEFS_SPECIAL]: true,\n\t// \t[PlanType.LIFETIME]: false,\n\t// },\n];\n\nexport const LIFETIME_PROMO_CODES = [\"LIFETIME_49\"];\n"],"names":["GOAL_BASE_NAME","CATEGORY_SELECTED","CATEGORY_SCROLLED","PRODUCT_DETAILS","PRODUCT_ADD_ORDER","PRODUCT_VIEW_CHANGED","GOALS","Feature","FeatureSegment","FEATURES_LIST","ALPHA","UPLOAD_VIDEO","BETA","ALL","MODALS","ADD_UPDATE_NOTES","AUTH","ADD_UPDATE_ADDRESS","BRANCH_BUSINESS_HOURS","SUPPORTED_LOCALES","SUPPORTED_COUNTRIES","name","code","phoneCode","DOMAIN","DEFAULT_HOSTNAME","IMAGE_BASE_URL","PlanType","SubscriptionStatus","PRICING","appetizer","title","price","monthly","annually","mainCourse","chefsSpecial","lifeTime","ribbonText","PRICING_BENEFITS","APPETIZER","MAIN_COURSE","CHEFS_SPECIAL","LIFETIME","LIFETIME_PROMO_CODES"],"mappings":"AAAA,MAAMA,E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,cAAc,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,GAEtB,CACCZ,MAAO,MACP,CAACJ,EAASa,YAAY,EACtB,CAACb,EAASc,cAAc,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,GAEtB,CACCZ,MAAO,gBACP,CAACJ,EAASa,YAAY,EACtB,CAACb,EAASc,cAAc,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,GAEtB,CACCZ,MAAO,mBACP,CAACJ,EAASa,YAAY,EACtB,CAACb,EAASc,cAAc,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,GAEtB,CACCZ,MAAO,mBACP,CAACJ,EAASa,YAAY,EACtB,CAACb,EAASc,cAAc,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,GAEtB,CACCZ,MAAO,sBACP,CAACJ,EAASa,YAAY,EACtB,CAACb,EAASc,cAAc,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,GAEtB,CACCZ,MAAO,oBACP,CAACJ,EAASa,YAAY,EACtB,CAACb,EAASc,cAAc,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,GAEtB,CACCZ,MAAO,sBACP,CAACJ,EAASa,YAAY,EACtB,CAACb,EAASc,cAAc,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,GAEtB,CACCZ,MAAO,gCACP,CAACJ,EAASa,YAAY,EACtB,CAACb,EAASc,cAAc,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,IAuBVC,EAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../../src/constants/analytics.ts","../../../src/modules/feature/models.ts","../../../src/modules/feature/constants.ts","../../../src/modules/view/constants.ts","../../../src/modules/subscription/models.ts","../../../src/modules/subscription/constants.ts"],"sourcesContent":["const GOAL_BASE_NAME = \"digital_menu\";\n\nexport const CATEGORY_SELECTED = `${GOAL_BASE_NAME}_category_select`;\nexport const CATEGORY_SCROLLED = `${GOAL_BASE_NAME}_category_scroll`;\nexport const PRODUCT_DETAILS = `${GOAL_BASE_NAME}_product_details`;\nexport const PRODUCT_ADD_ORDER = `${GOAL_BASE_NAME}_product_add_cart`;\nexport const PRODUCT_VIEW_CHANGED = `${GOAL_BASE_NAME}_product_view_changed`;\n\nexport const GOALS = [CATEGORY_SELECTED, CATEGORY_SCROLLED, PRODUCT_DETAILS, PRODUCT_ADD_ORDER];\n","export enum Feature {\n\tUPLOAD_VIDEO = \"UPLOAD_VIDEO\",\n}\nexport enum FeatureSegment {\n\tALPHA = \"ALPHA\",\n\tBETA = \"BETA\",\n\tALL = \"ALL\",\n}\n","import { Feature, FeatureSegment } from \"./models\";\n\nexport const FEATURES_LIST: { [key in FeatureSegment]: Feature[] } = {\n\t[FeatureSegment.ALPHA]: [Feature.UPLOAD_VIDEO],\n\t[FeatureSegment.BETA]: [],\n\t[FeatureSegment.ALL]: [],\n};\n","export const MODALS = {\n\tADD_UPDATE_NOTES: \"ADD_UPDATE_NOTES\",\n\tAUTH: \"AUTH\",\n\tADD_UPDATE_ADDRESS: \"ADD_UPDATE_ADDRESS\",\n\tBRANCH_BUSINESS_HOURS: \"BRANCH_BUSINESS_HOURS\",\n\tPRODUCT_DETAILS: \"PRODUCT_DETAILS\",\n};\n\nexport const SUPPORTED_LOCALES = [\"en\", \"az\", \"nl\", \"et\", \"tr\", \"ru\", \"pl\", \"pt\", \"hr\"];\nexport const SUPPORTED_COUNTRIES = [\n\t{\n\t\tname: \"Azerbaijan\",\n\t\tcode: \"AZ\",\n\t\tphoneCode: \"+994\",\n\t},\n];\n\nexport const DOMAIN = \"tabres.com\";\n\nexport const DEFAULT_HOSTNAME = DOMAIN;\n\nexport const IMAGE_BASE_URL = \"https://images.tabres.com\";\n","export enum PlanType {\n\tAPPETIZER = \"appetizer\",\n\tMAIN_COURSE = \"mainCourse\",\n\tCHEFS_SPECIAL = \"chefsSpecial\",\n\tLIFETIME = \"lifeTime\",\n}\n\nexport interface PricingPlan {\n\ttitle: string;\n\tprice: {\n\t\tmonthly: number;\n\t\tannually: number;\n\t};\n\tdiscountedPrice?: number;\n\tribbonText?: string;\n}\n\nexport interface PricingPlans {\n\t[key: string]: PricingPlan;\n}\n\nexport type PricingInterval = \"monthly\" | \"annually\";\n\nexport enum SubscriptionStatus {\n\tACTIVE = \"ACTIVE\",\n\tEXPIRED = \"EXPIRED\",\n\tCANCELLED = \"CANCELLED\",\n}\n\nexport type BillingInterval = \"MONTH\" | \"YEAR\";\n\nexport interface Subscription {\n\tid: number;\n\tbillingInterval: BillingInterval;\n\tbillingIntervalCount: number;\n\tstartDate: string;\n\tendDate: string;\n\tinterval: PricingInterval;\n\tstatus: SubscriptionStatus;\n\tbusiness_id?: number;\n\tplanName: string;\n}\n","import { PlanType, PricingPlans } from \"./models\";\n\nexport const PRICING: PricingPlans = {\n\tappetizer: {\n\t\ttitle: \"Appetizer\",\n\t\tprice: {\n\t\t\tmonthly: 9,\n\t\t\tannually: 7,\n\t\t},\n\t\t// discountedPrice: 0,\n\t},\n\tmainCourse: {\n\t\ttitle: \"Main Course\",\n\t\tprice: {\n\t\t\tmonthly: 19,\n\t\t\tannually: 15,\n\t\t},\n\t\t// discountedPrice: 0,\n\t},\n\tchefsSpecial: {\n\t\ttitle: \"Chef's Special\",\n\t\tprice: {\n\t\t\tmonthly: 49,\n\t\t\tannually: 39,\n\t\t},\n\t\t// discountedPrice: 0,\n\t},\n\tlifeTime: {\n\t\ttitle: \"Lifetime\",\n\t\tprice: {\n\t\t\tmonthly: 49,\n\t\t\tannually: 49,\n\t\t},\n\t\tribbonText: \"Limited Time Only\",\n\t\t// discountedPrice: 0,\n\t},\n};\n\nexport const PRICING_BENEFITS = [\n\t{\n\t\ttitle: \"Smart QR Menu\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Link-in-bio\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Menu Analytics\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Unlimited Users\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Unlimited Products\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Unlimited Categories\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Unlimited Languages\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Product variants\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Product options\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Premium Support\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"SEO\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Sales reports\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Table Management\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Order Management\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Delivery Management\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Multiple Branches\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: false,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Point of Sale (POS)\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: false,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: false,\n\t},\n\t{\n\t\ttitle: \"Mobile App for Owners & Staff\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: false,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: false,\n\t},\n\t// {\n\t// \ttitle: \"TabresPay with Mobile\",\n\t// \t[PlanType.APPETIZER]: false,\n\t// \t[PlanType.MAIN_COURSE]: true,\n\t// \t[PlanType.CHEFS_SPECIAL]: true,\n\t// },\n\t// {\n\t// \ttitle: \"Event management\",\n\t// \t[PlanType.APPETIZER]: false,\n\t// \t[PlanType.MAIN_COURSE]: true,\n\t// \t[PlanType.CHEFS_SPECIAL]: true,\n\t// },\n\t// {\n\t// \ttitle: \"Third-Party Delivery Integrations\",\n\t// \t[PlanType.APPETIZER]: false,\n\t// \t[PlanType.MAIN_COURSE]: false,\n\t// \t[PlanType.CHEFS_SPECIAL]: true,\n\t// \t[PlanType.LIFETIME]: false,\n\t// },\n];\n\nexport const LIFETIME_PROMO_CODES = [\"LIFETIME_49\"];\n"],"names":["GOAL_BASE_NAME","CATEGORY_SELECTED","CATEGORY_SCROLLED","PRODUCT_DETAILS","PRODUCT_ADD_ORDER","PRODUCT_VIEW_CHANGED","GOALS","Feature","FeatureSegment","FEATURES_LIST","ALPHA","UPLOAD_VIDEO","BETA","ALL","MODALS","ADD_UPDATE_NOTES","AUTH","ADD_UPDATE_ADDRESS","BRANCH_BUSINESS_HOURS","SUPPORTED_LOCALES","SUPPORTED_COUNTRIES","name","code","phoneCode","DOMAIN","DEFAULT_HOSTNAME","IMAGE_BASE_URL","PlanType","SubscriptionStatus","PRICING","appetizer","title","price","monthly","annually","mainCourse","chefsSpecial","lifeTime","ribbonText","PRICING_BENEFITS","APPETIZER","MAIN_COURSE","CHEFS_SPECIAL","LIFETIME","LIFETIME_PROMO_CODES"],"mappings":"AAAA,MAAMA,EAAiB,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,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,GAEtB,CACCZ,MAAO,MACP,CAACJ,EAASa,YAAY,EACtB,CAACb,EAASc,cAAc,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,GAEtB,CACCZ,MAAO,gBACP,CAACJ,EAASa,YAAY,EACtB,CAACb,EAASc,cAAc,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,GAEtB,CACCZ,MAAO,mBACP,CAACJ,EAASa,YAAY,EACtB,CAACb,EAASc,cAAc,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,GAEtB,CACCZ,MAAO,mBACP,CAACJ,EAASa,YAAY,EACtB,CAACb,EAASc,cAAc,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,GAEtB,CACCZ,MAAO,sBACP,CAACJ,EAASa,YAAY,EACtB,CAACb,EAASc,cAAc,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,GAEtB,CACCZ,MAAO,oBACP,CAACJ,EAASa,YAAY,EACtB,CAACb,EAASc,cAAc,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,GAEtB,CACCZ,MAAO,sBACP,CAACJ,EAASa,YAAY,EACtB,CAACb,EAASc,cAAc,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,GAEtB,CACCZ,MAAO,gCACP,CAACJ,EAASa,YAAY,EACtB,CAACb,EAASc,cAAc,EACxB,CAACd,EAASe,gBAAgB,EAC1B,CAACf,EAASgB,WAAW,IAuBVC,EAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/constants/analytics.ts","../../../src/modules/feature/models.ts","../../../src/modules/feature/constants.ts","../../../src/modules/view/constants.ts","../../../src/modules/subscription/models.ts","../../../src/modules/subscription/constants.ts"],"sourcesContent":["const GOAL_BASE_NAME = \"digital_menu\";\n\nexport const CATEGORY_SELECTED = `${GOAL_BASE_NAME}_category_select`;\nexport const CATEGORY_SCROLLED = `${GOAL_BASE_NAME}_category_scroll`;\nexport const PRODUCT_DETAILS = `${GOAL_BASE_NAME}_product_details`;\nexport const PRODUCT_ADD_ORDER = `${GOAL_BASE_NAME}_product_add_cart`;\nexport const PRODUCT_VIEW_CHANGED = `${GOAL_BASE_NAME}_product_view_changed`;\n\nexport const GOALS = [CATEGORY_SELECTED, CATEGORY_SCROLLED, PRODUCT_DETAILS, PRODUCT_ADD_ORDER];\n","export enum Feature {\n\tUPLOAD_VIDEO = \"UPLOAD_VIDEO\",\n}\nexport enum FeatureSegment {\n\tALPHA = \"ALPHA\",\n\tBETA = \"BETA\",\n\tALL = \"ALL\",\n}\n","import { Feature, FeatureSegment } from \"./models\";\n\nexport const FEATURES_LIST: { [key in FeatureSegment]: Feature[] } = {\n\t[FeatureSegment.ALPHA]: [Feature.UPLOAD_VIDEO],\n\t[FeatureSegment.BETA]: [],\n\t[FeatureSegment.ALL]: [],\n};\n","export const MODALS = {\n\tADD_UPDATE_NOTES: \"ADD_UPDATE_NOTES\",\n\tAUTH: \"AUTH\",\n\tADD_UPDATE_ADDRESS: \"ADD_UPDATE_ADDRESS\",\n\tBRANCH_BUSINESS_HOURS: \"BRANCH_BUSINESS_HOURS\",\n\tPRODUCT_DETAILS: \"PRODUCT_DETAILS\",\n};\n\nexport const SUPPORTED_LOCALES = [\"en\", \"az\", \"nl\", \"et\", \"tr\", \"ru\", \"pl\", \"pt\", \"hr\"];\nexport const SUPPORTED_COUNTRIES = [\n\t{\n\t\tname: \"Azerbaijan\",\n\t\tcode: \"AZ\",\n\t\tphoneCode: \"+994\",\n\t},\n];\n\nexport const DOMAIN = \"tabres.com\";\n\nexport const DEFAULT_HOSTNAME = DOMAIN;\n\nexport const IMAGE_BASE_URL = \"https://images.tabres.com\";\n","export enum PlanType {\n\tAPPETIZER = \"appetizer\",\n\tMAIN_COURSE = \"mainCourse\",\n\tCHEFS_SPECIAL = \"chefsSpecial\",\n\tLIFETIME = \"lifeTime\",\n}\n\nexport interface PricingPlan {\n\ttitle: string;\n\tprice: {\n\t\tmonthly: number;\n\t\tannually: number;\n\t};\n\tdiscountedPrice?: number;\n\tribbonText?: string;\n}\n\nexport interface PricingPlans {\n\t[key: string]: PricingPlan;\n}\n\nexport type PricingInterval = \"monthly\" | \"annually\";\n\nexport enum SubscriptionStatus {\n\tACTIVE = \"ACTIVE\",\n\tEXPIRED = \"EXPIRED\",\n\tCANCELLED = \"CANCELLED\",\n}\n\nexport type BillingInterval = \"MONTH\" | \"YEAR\";\n\nexport interface Subscription {\n\tid: number;\n\tbillingInterval: BillingInterval;\n\tbillingIntervalCount: number;\n\tstartDate: string;\n\tendDate: string;\n\tinterval: PricingInterval;\n\tstatus: SubscriptionStatus;\n\tbusiness_id?: number;\n\tplanName: string;\n}\n","import { PlanType, PricingPlans } from \"./models\";\n\nexport const PRICING: PricingPlans = {\n\tappetizer: {\n\t\ttitle: \"Appetizer\",\n\t\tprice: {\n\t\t\tmonthly: 9,\n\t\t\tannually: 7,\n\t\t},\n\t\t// discountedPrice: 0,\n\t},\n\tmainCourse: {\n\t\ttitle: \"Main Course\",\n\t\tprice: {\n\t\t\tmonthly: 19,\n\t\t\tannually: 15,\n\t\t},\n\t\t// discountedPrice: 0,\n\t},\n\tchefsSpecial: {\n\t\ttitle: \"Chef's Special\",\n\t\tprice: {\n\t\t\tmonthly: 49,\n\t\t\tannually: 39,\n\t\t},\n\t\t// discountedPrice: 0,\n\t},\n\tlifeTime: {\n\t\ttitle: \"Lifetime\",\n\t\tprice: {\n\t\t\tmonthly: 49,\n\t\t\tannually: 49,\n\t\t},\n\t\tribbonText: \"Limited Time Only\",\n\t\t// discountedPrice: 0,\n\t},\n};\n\nexport const PRICING_BENEFITS = [\n\t{\n\t\ttitle: \"Smart QR Menu\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Link-in-bio\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Menu Analytics\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Unlimited Users\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Unlimited Products\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Unlimited Categories\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Unlimited Languages\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Product variants\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Product options\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Premium Support\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"SEO\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Sales reports\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Table Management\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Order Management\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Delivery Management\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Multiple Branches\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: false,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Point of Sale (POS)\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: false,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: false,\n\t},\n\t{\n\t\ttitle: \"Mobile App for Owners & Staff\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: false,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: false,\n\t},\n\t// {\n\t// \ttitle: \"TabresPay with Mobile\",\n\t// \t[PlanType.APPETIZER]: false,\n\t// \t[PlanType.MAIN_COURSE]: true,\n\t// \t[PlanType.CHEFS_SPECIAL]: true,\n\t// },\n\t// {\n\t// \ttitle: \"Event management\",\n\t// \t[PlanType.APPETIZER]: false,\n\t// \t[PlanType.MAIN_COURSE]: true,\n\t// \t[PlanType.CHEFS_SPECIAL]: true,\n\t// },\n\t// {\n\t// \ttitle: \"Third-Party Delivery Integrations\",\n\t// \t[PlanType.APPETIZER]: false,\n\t// \t[PlanType.MAIN_COURSE]: false,\n\t// \t[PlanType.CHEFS_SPECIAL]: true,\n\t// \t[PlanType.LIFETIME]: false,\n\t// },\n];\n\nexport const LIFETIME_PROMO_CODES = [\"LIFETIME_49\"];\n"],"names":["GOAL_BASE_NAME","CATEGORY_SELECTED","CATEGORY_SCROLLED","PRODUCT_DETAILS","PRODUCT_ADD_ORDER","PRODUCT_VIEW_CHANGED","GOALS","Feature","FeatureSegment","FEATURES_LIST","ALPHA","UPLOAD_VIDEO","BETA","ALL","DOMAIN","DEFAULT_HOSTNAME","PlanType","SubscriptionStatus","PRICING_BENEFITS","title","APPETIZER","MAIN_COURSE","CHEFS_SPECIAL","LIFETIME","ADD_UPDATE_NOTES","AUTH","ADD_UPDATE_ADDRESS","BRANCH_BUSINESS_HOURS","appetizer","price","monthly","annually","mainCourse","chefsSpecial","lifeTime","ribbonText","name","code","phoneCode"],"mappings":"aAAA,MAAMA,EAAiB,eAEVC,EAAoB,GAAGD,oBACvBE,EAAoB,GAAGF,oBACvBG,EAAkB,GAAGH,oBACr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,EAASK,cAAc,EACxB,CAACL,EAASM,gBAAgB,EAC1B,CAACN,EAASO,WAAW,GAEtB,CACCJ,MAAO,oBACP,CAACH,EAASI,YAAY,EACtB,CAACJ,EAASK,cAAc,EACxB,CAACL,EAASM,gBAAgB,EAC1B,CAACN,EAASO,WAAW,GAEtB,CACCJ,MAAO,sBACP,CAACH,EAASI,YAAY,EACtB,CAACJ,EAASK,cAAc,EACxB,CAACL,EAASM,gBAAgB,EAC1B,CAACN,EAASO,WAAW,GAEtB,CACCJ,MAAO,gCACP,CAACH,EAASI,YAAY,EACtB,CAACJ,EAASK,cAAc,EACxB,CAACL,EAASM,gBAAgB,EAC1B,CAACN,EAASO,WAAW,uKF9IO,yDEqKM,CAAC,8BF1Lf,CACrBC,iBAAkB,mBAClBC,KAAM,OACNC,mBAAoB,qBACpBC,sBAAuB,wBACvBxB,gBAAiB,mCEHmB,CACpCyB,UAAW,CACVT,MAAO,YACPU,MAAO,CACNC,QAAS,EACTC,SAAU,IAIZC,WAAY,CACXb,MAAO,cACPU,MAAO,CACNC,QAAS,GACTC,SAAU,KAIZE,aAAc,CACbd,MAAO,iBACPU,MAAO,CACNC,QAAS,GACTC,SAAU,KAIZG,SAAU,CACTf,MAAO,WACPU,MAAO,CACNC,QAAS,GACTC,SAAU,IAEXI,WAAY,kKFxBqB,CAClC,CACCC,KAAM,aACNC,KAAM,KACNC,UAAW,mCALoB,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/constants/analytics.ts","../../../src/modules/feature/models.ts","../../../src/modules/feature/constants.ts","../../../src/modules/view/constants.ts","../../../src/modules/subscription/models.ts","../../../src/modules/subscription/constants.ts"],"sourcesContent":["const GOAL_BASE_NAME = \"digital_menu\";\n\nexport const CATEGORY_SELECTED = `${GOAL_BASE_NAME}_category_select`;\nexport const CATEGORY_SCROLLED = `${GOAL_BASE_NAME}_category_scroll`;\nexport const PRODUCT_DETAILS = `${GOAL_BASE_NAME}_product_details`;\nexport const PRODUCT_ADD_ORDER = `${GOAL_BASE_NAME}_product_add_cart`;\nexport const PRODUCT_VIEW_CHANGED = `${GOAL_BASE_NAME}_product_view_changed`;\n\nexport const GOALS = [CATEGORY_SELECTED, CATEGORY_SCROLLED, PRODUCT_DETAILS, PRODUCT_ADD_ORDER];\n","export enum Feature {\n\tUPLOAD_VIDEO = \"UPLOAD_VIDEO\",\n}\nexport enum FeatureSegment {\n\tALPHA = \"ALPHA\",\n\tBETA = \"BETA\",\n\tALL = \"ALL\",\n}\n","import { Feature, FeatureSegment } from \"./models\";\n\nexport const FEATURES_LIST: { [key in FeatureSegment]: Feature[] } = {\n\t[FeatureSegment.ALPHA]: [Feature.UPLOAD_VIDEO],\n\t[FeatureSegment.BETA]: [],\n\t[FeatureSegment.ALL]: [],\n};\n","export const MODALS = {\n\tADD_UPDATE_NOTES: \"ADD_UPDATE_NOTES\",\n\tAUTH: \"AUTH\",\n\tADD_UPDATE_ADDRESS: \"ADD_UPDATE_ADDRESS\",\n\tBRANCH_BUSINESS_HOURS: \"BRANCH_BUSINESS_HOURS\",\n\tPRODUCT_DETAILS: \"PRODUCT_DETAILS\",\n};\n\nexport const SUPPORTED_LOCALES = [\"en\", \"az\", \"nl\", \"et\", \"tr\", \"ru\", \"pl\", \"pt\", \"hr\"];\nexport const SUPPORTED_COUNTRIES = [\n\t{\n\t\tname: \"Azerbaijan\",\n\t\tcode: \"AZ\",\n\t\tphoneCode: \"+994\",\n\t},\n];\n\nexport const DOMAIN = \"tabres.com\";\n\nexport const DEFAULT_HOSTNAME = DOMAIN;\n\nexport const IMAGE_BASE_URL = \"https://images.tabres.com\";\n","export enum PlanType {\n\tAPPETIZER = \"appetizer\",\n\tMAIN_COURSE = \"mainCourse\",\n\tCHEFS_SPECIAL = \"chefsSpecial\",\n\tLIFETIME = \"lifeTime\",\n}\n\nexport interface PricingPlan {\n\ttitle: string;\n\tprice: {\n\t\tmonthly: number;\n\t\tannually: number;\n\t};\n\tdiscountedPrice?: number;\n\tribbonText?: string;\n}\n\nexport interface PricingPlans {\n\t[key: string]: PricingPlan;\n}\n\nexport type PricingInterval = \"monthly\" | \"annually\";\n\nexport enum SubscriptionStatus {\n\tACTIVE = \"ACTIVE\",\n\tEXPIRED = \"EXPIRED\",\n\tCANCELLED = \"CANCELLED\",\n}\n\nexport type BillingInterval = \"MONTH\" | \"YEAR\";\n\nexport interface Subscription {\n\tid: number;\n\tbillingInterval: BillingInterval;\n\tbillingIntervalCount: number;\n\tstartDate: string;\n\tendDate: string;\n\tinterval: PricingInterval;\n\tstatus: SubscriptionStatus;\n\tbusiness_id?: number;\n\tplanName: string;\n}\n","import { PlanType, PricingPlans } from \"./models\";\n\nexport const PRICING: PricingPlans = {\n\tappetizer: {\n\t\ttitle: \"Appetizer\",\n\t\tprice: {\n\t\t\tmonthly: 9,\n\t\t\tannually: 7,\n\t\t},\n\t\t// discountedPrice: 0,\n\t},\n\tmainCourse: {\n\t\ttitle: \"Main Course\",\n\t\tprice: {\n\t\t\tmonthly: 19,\n\t\t\tannually: 15,\n\t\t},\n\t\t// discountedPrice: 0,\n\t},\n\tchefsSpecial: {\n\t\ttitle: \"Chef's Special\",\n\t\tprice: {\n\t\t\tmonthly: 49,\n\t\t\tannually: 39,\n\t\t},\n\t\t// discountedPrice: 0,\n\t},\n\tlifeTime: {\n\t\ttitle: \"Lifetime\",\n\t\tprice: {\n\t\t\tmonthly: 49,\n\t\t\tannually: 49,\n\t\t},\n\t\tribbonText: \"Limited Time Only\",\n\t\t// discountedPrice: 0,\n\t},\n};\n\nexport const PRICING_BENEFITS = [\n\t{\n\t\ttitle: \"Smart QR Menu\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Link-in-bio\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Menu Analytics\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Unlimited Users\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Unlimited Products\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Unlimited Categories\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Unlimited Languages\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Product variants\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Product options\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Premium Support\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"SEO\",\n\t\t[PlanType.APPETIZER]: true,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Sales reports\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Table Management\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Order Management\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Delivery Management\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: true,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Multiple Branches\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: false,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: true,\n\t},\n\t{\n\t\ttitle: \"Point of Sale (POS)\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: false,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: false,\n\t},\n\t{\n\t\ttitle: \"Mobile App for Owners & Staff\",\n\t\t[PlanType.APPETIZER]: false,\n\t\t[PlanType.MAIN_COURSE]: false,\n\t\t[PlanType.CHEFS_SPECIAL]: true,\n\t\t[PlanType.LIFETIME]: false,\n\t},\n\t// {\n\t// \ttitle: \"TabresPay with Mobile\",\n\t// \t[PlanType.APPETIZER]: false,\n\t// \t[PlanType.MAIN_COURSE]: true,\n\t// \t[PlanType.CHEFS_SPECIAL]: true,\n\t// },\n\t// {\n\t// \ttitle: \"Event management\",\n\t// \t[PlanType.APPETIZER]: false,\n\t// \t[PlanType.MAIN_COURSE]: true,\n\t// \t[PlanType.CHEFS_SPECIAL]: true,\n\t// },\n\t// {\n\t// \ttitle: \"Third-Party Delivery Integrations\",\n\t// \t[PlanType.APPETIZER]: false,\n\t// \t[PlanType.MAIN_COURSE]: false,\n\t// \t[PlanType.CHEFS_SPECIAL]: true,\n\t// \t[PlanType.LIFETIME]: false,\n\t// },\n];\n\nexport const LIFETIME_PROMO_CODES = [\"LIFETIME_49\"];\n"],"names":["GOAL_BASE_NAME","CATEGORY_SELECTED","CATEGORY_SCROLLED","PRODUCT_DETAILS","PRODUCT_ADD_ORDER","PRODUCT_VIEW_CHANGED","GOALS","Feature","FeatureSegment","FEATURES_LIST","ALPHA","UPLOAD_VIDEO","BETA","ALL","DOMAIN","DEFAULT_HOSTNAME","PlanType","SubscriptionStatus","PRICING_BENEFITS","title","APPETIZER","MAIN_COURSE","CHEFS_SPECIAL","LIFETIME","ADD_UPDATE_NOTES","AUTH","ADD_UPDATE_ADDRESS","BRANCH_BUSINESS_HOURS","appetizer","price","monthly","annually","mainCourse","chefsSpecial","lifeTime","ribbonText","name","code","phoneCode"],"mappings":"aAAA,MAAMA,EAAiB,eAEVC,EAAoB,GAAGD,oBACvBE,EAAoB,GAAGF,oBACvBG,EAAkB,GAAGH,oBACrBI,EAAoB,GAAGJ,qBACvBK,EAAuB,GAAGL,yBAE1BM,EAAQ,CAACL,EAAmBC,EAAmBC,EAAiBC,GCR7E,IAAYG,EAGAC,GAHZ,SAAYD,GACXA,EAAA,aAAA,cACA,CAF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EACxB,CAACL,EAASM,gBAAgB,EAC1B,CAACN,EAASO,WAAW,GAEtB,CACCJ,MAAO,sBACP,CAACH,EAASI,YAAY,EACtB,CAACJ,EAASK,cAAc,EACxB,CAACL,EAASM,gBAAgB,EAC1B,CAACN,EAASO,WAAW,GAEtB,CACCJ,MAAO,mBACP,CAACH,EAASI,YAAY,EACtB,CAACJ,EAASK,cAAc,EACxB,CAACL,EAASM,gBAAgB,EAC1B,CAACN,EAASO,WAAW,GAEtB,CACCJ,MAAO,kBACP,CAACH,EAASI,YAAY,EACtB,CAACJ,EAASK,cAAc,EACxB,CAACL,EAASM,gBAAgB,EAC1B,CAACN,EAASO,WAAW,GAEtB,CACCJ,MAAO,kBACP,CAACH,EAASI,YAAY,EACtB,CAACJ,EAASK,cAAc,EACxB,CAACL,EAASM,gBAAgB,EAC1B,CAACN,EAASO,WAAW,GAEtB,CACCJ,MAAO,MACP,CAACH,EAASI,YAAY,EACtB,CAACJ,EAASK,cAAc,EACxB,CAACL,EAASM,gBAAgB,EAC1B,CAACN,EAASO,WAAW,GAEtB,CACCJ,MAAO,gBACP,CAACH,EAASI,YAAY,EACtB,CAACJ,EAASK,cAAc,EACxB,CAACL,EAASM,gBAAgB,EAC1B,CAACN,EAASO,WAAW,GAEtB,CACCJ,MAAO,mBACP,CAACH,EAASI,YAAY,EACtB,CAACJ,EAASK,cAAc,EACxB,CAACL,EAASM,gBAAgB,EAC1B,CAACN,EAASO,WAAW,GAEtB,CACCJ,MAAO,mBACP,CAACH,EAASI,YAAY,EACtB,CAACJ,EAASK,cAAc,EACxB,CAACL,EAASM,gBAAgB,EAC1B,CAACN,EAASO,WAAW,GAEtB,CACCJ,MAAO,sBACP,CAACH,EAASI,YAAY,EACtB,CAACJ,EAASK,cAAc,EACxB,CAACL,EAASM,gBAAgB,EAC1B,CAACN,EAASO,WAAW,GAEtB,CACCJ,MAAO,oBACP,CAACH,EAASI,YAAY,EACtB,CAACJ,EAASK,cAAc,EACxB,CAACL,EAASM,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