@tabres/react 1.0.0
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/Readme.md +49 -0
- package/dist/components/BackIcon/BackIcon.d.ts +8 -0
- package/dist/components/BackIcon/index.d.ts +1 -0
- package/dist/components/Events/Events.d.ts +10 -0
- package/dist/components/Events/EventsToolbar.d.ts +7 -0
- package/dist/components/Events/index.d.ts +1 -0
- package/dist/components/Pricing/Pricing.d.ts +11 -0
- package/dist/components/Pricing/PricingPlanAmount.d.ts +9 -0
- package/dist/components/Pricing/index.d.ts +1 -0
- package/dist/components/PublicMenu/Branches/BranchCard/BranchCard.d.ts +6 -0
- package/dist/components/PublicMenu/Branches/BranchCard/Parent.d.ts +7 -0
- package/dist/components/PublicMenu/Branches/BranchCard/index.d.ts +1 -0
- package/dist/components/PublicMenu/Branches/Branches.d.ts +2 -0
- package/dist/components/PublicMenu/Branches/index.d.ts +1 -0
- package/dist/components/PublicMenu/Categories/Categories.d.ts +10 -0
- package/dist/components/PublicMenu/Categories/index.d.ts +1 -0
- package/dist/components/PublicMenu/Customer/CustomerAddress/AddressContent/AddressContent.d.ts +2 -0
- package/dist/components/PublicMenu/Customer/CustomerAddress/AddressContent/index.d.ts +1 -0
- package/dist/components/PublicMenu/Customer/CustomerAddress/CustomerAddress.d.ts +2 -0
- package/dist/components/PublicMenu/Customer/CustomerAddress/NoAddressContent/NoAddressContent.d.ts +2 -0
- package/dist/components/PublicMenu/Customer/CustomerAddress/NoAddressContent/index.d.ts +1 -0
- package/dist/components/PublicMenu/Customer/CustomerAddress/index.d.ts +1 -0
- package/dist/components/PublicMenu/Header/BranchBusinessHours/BranchBusinessHours.d.ts +7 -0
- package/dist/components/PublicMenu/Header/BranchBusinessHours/HoursList/HoursList.d.ts +7 -0
- package/dist/components/PublicMenu/Header/BranchBusinessHours/HoursList/index.d.ts +1 -0
- package/dist/components/PublicMenu/Header/BranchBusinessHours/index.d.ts +1 -0
- package/dist/components/PublicMenu/Header/BranchHeader/BranchHeader.d.ts +2 -0
- package/dist/components/PublicMenu/Header/BranchHeader/HeaderLinks/HeaderLinks.d.ts +2 -0
- package/dist/components/PublicMenu/Header/BranchHeader/HeaderLinks/index.d.ts +1 -0
- package/dist/components/PublicMenu/Header/BranchHeader/index.d.ts +1 -0
- package/dist/components/PublicMenu/Header/BusinessHeader/BusinessHeader.d.ts +2 -0
- package/dist/components/PublicMenu/Header/BusinessHeader/index.d.ts +1 -0
- package/dist/components/PublicMenu/Header/Header.d.ts +2 -0
- package/dist/components/PublicMenu/Header/Languages/Languages.d.ts +2 -0
- package/dist/components/PublicMenu/Header/Languages/index.d.ts +1 -0
- package/dist/components/PublicMenu/Header/index.d.ts +1 -0
- package/dist/components/PublicMenu/MenuContent/MenuContent.d.ts +6 -0
- package/dist/components/PublicMenu/MenuContent/index.d.ts +1 -0
- package/dist/components/PublicMenu/Modals/AddUpdateAddress/AddUpdateAddress.d.ts +3 -0
- package/dist/components/PublicMenu/Modals/AddUpdateAddress/index.d.ts +1 -0
- package/dist/components/PublicMenu/Modals/AddUpdateNote/AddUpdateNote.d.ts +3 -0
- package/dist/components/PublicMenu/Modals/AddUpdateNote/index.d.ts +1 -0
- package/dist/components/PublicMenu/Modals/Auth/Auth.d.ts +3 -0
- package/dist/components/PublicMenu/Modals/Auth/EmailStep.d.ts +8 -0
- package/dist/components/PublicMenu/Modals/Auth/OTPStep.d.ts +7 -0
- package/dist/components/PublicMenu/Modals/Auth/PhoneStep.d.ts +7 -0
- package/dist/components/PublicMenu/Modals/Auth/index.d.ts +1 -0
- package/dist/components/PublicMenu/Modals/BranchBusinessHours/BranchBusinessHours.d.ts +3 -0
- package/dist/components/PublicMenu/Modals/BranchBusinessHours/index.d.ts +1 -0
- package/dist/components/PublicMenu/OrderDrawer/OrderDrawer.d.ts +2 -0
- package/dist/components/PublicMenu/OrderDrawer/OrderDrawerCart.d.ts +2 -0
- package/dist/components/PublicMenu/OrderDrawer/OrderDrawerCompleted.d.ts +2 -0
- package/dist/components/PublicMenu/OrderDrawer/OrderDrawerDetails.d.ts +2 -0
- package/dist/components/PublicMenu/OrderDrawer/OrderDrawerFooter.d.ts +6 -0
- 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/OrderDrawer/index.d.ts +1 -0
- package/dist/components/PublicMenu/OrderFAB/OrderFAB.d.ts +8 -0
- package/dist/components/PublicMenu/OrderFAB/OrderFABContainer.d.ts +6 -0
- package/dist/components/PublicMenu/OrderFAB/index.d.ts +2 -0
- package/dist/components/PublicMenu/OrderItemsList/OrderItemsList.d.ts +5 -0
- package/dist/components/PublicMenu/OrderItemsList/OrderNoItems.d.ts +2 -0
- package/dist/components/PublicMenu/OrderItemsList/index.d.ts +1 -0
- package/dist/components/PublicMenu/OrderListItem/OptionsInfo/OptionsInfo.d.ts +10 -0
- package/dist/components/PublicMenu/OrderListItem/OptionsInfo/index.d.ts +1 -0
- package/dist/components/PublicMenu/OrderListItem/OrderListItem.d.ts +7 -0
- package/dist/components/PublicMenu/OrderListItem/index.d.ts +1 -0
- package/dist/components/PublicMenu/OrderMethods/OrderMethods.d.ts +11 -0
- package/dist/components/PublicMenu/OrderMethods/OrderMethods.types.d.ts +9 -0
- package/dist/components/PublicMenu/OrderMethods/index.d.ts +1 -0
- package/dist/components/PublicMenu/OrderPaymentSummary/OrderPaymentSummary.d.ts +14 -0
- package/dist/components/PublicMenu/OrderPaymentSummary/index.d.ts +1 -0
- package/dist/components/PublicMenu/OrderStepper/OrderStepper.d.ts +8 -0
- package/dist/components/PublicMenu/OrderStepper/index.d.ts +1 -0
- package/dist/components/PublicMenu/ProductAddons/ProductAddons.d.ts +16 -0
- package/dist/components/PublicMenu/ProductAddons/index.d.ts +1 -0
- package/dist/components/PublicMenu/ProductDetails/ProductDetails.d.ts +3 -0
- package/dist/components/PublicMenu/ProductDetails/ProductDetailsUI.d.ts +32 -0
- package/dist/components/PublicMenu/ProductDetails/index.d.ts +1 -0
- package/dist/components/PublicMenu/ProductInOrder/ProductInOrder.d.ts +10 -0
- package/dist/components/PublicMenu/ProductInOrder/index.d.ts +1 -0
- package/dist/components/PublicMenu/ProductQuantity/ProductQuantity.d.ts +12 -0
- package/dist/components/PublicMenu/ProductQuantity/index.d.ts +1 -0
- package/dist/components/PublicMenu/ProductVariants/ProductVariants.d.ts +11 -0
- package/dist/components/PublicMenu/ProductVariants/index.d.ts +1 -0
- package/dist/components/PublicMenu/Products/Products.d.ts +13 -0
- package/dist/components/PublicMenu/Products/index.d.ts +1 -0
- package/dist/components/PublicMenu/ProductsGridItem/ProductsGridItem.d.ts +3 -0
- package/dist/components/PublicMenu/ProductsGridItem/ProductsGridItem.types.d.ts +13 -0
- package/dist/components/PublicMenu/ProductsGridItem/ProductsGridItemContainer.d.ts +4 -0
- package/dist/components/PublicMenu/ProductsGridItem/index.d.ts +2 -0
- package/dist/components/PublicMenu/ProductsListItem/ProductsListItem.d.ts +9 -0
- package/dist/components/PublicMenu/ProductsListItem/index.d.ts +1 -0
- package/dist/components/PublicMenu/PublicMenu.d.ts +6 -0
- package/dist/components/PublicMenu/Videos/Video/Actions/Actions.d.ts +6 -0
- package/dist/components/PublicMenu/Videos/Video/Actions/index.d.ts +1 -0
- package/dist/components/PublicMenu/Videos/Video/Video.d.ts +11 -0
- package/dist/components/PublicMenu/Videos/Video/Video.test.d.ts +1 -0
- package/dist/components/PublicMenu/Videos/Video/VideoData/VideoData.d.ts +6 -0
- package/dist/components/PublicMenu/Videos/Video/VideoData/index.d.ts +1 -0
- package/dist/components/PublicMenu/Videos/Video/index.d.ts +1 -0
- package/dist/components/PublicMenu/Videos/VideoFeed/VideoFeed.d.ts +2 -0
- package/dist/components/PublicMenu/Videos/VideoFeed/index.d.ts +1 -0
- package/dist/components/PublicMenu/index.d.ts +1 -0
- package/dist/components/Quantity/Quantity.d.ts +11 -0
- package/dist/components/Quantity/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/constants/analytics.d.ts +6 -0
- package/dist/constants/constants/analytics.d.ts +6 -0
- package/dist/constants/constants/env.d.ts +1 -0
- package/dist/constants/constants/index.d.ts +4 -0
- package/dist/constants/env.d.ts +1 -0
- package/dist/constants/index.d.ts +4 -0
- package/dist/constants/index.esm.js +2 -0
- package/dist/constants/index.esm.js.map +1 -0
- package/dist/constants/index.js +2 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/constants/modules/feature/constants.d.ts +4 -0
- package/dist/constants/modules/feature/models.d.ts +8 -0
- package/dist/constants/modules/subscription/constants.d.ts +10 -0
- package/dist/constants/modules/subscription/models.d.ts +36 -0
- package/dist/constants/modules/view/constants.d.ts +16 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/translation.d.ts +5 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.esm.js +2 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/models/components/PublicMenu/OrderMethods/OrderMethods.types.d.ts +9 -0
- package/dist/models/components/PublicMenu/ProductsGridItem/ProductsGridItem.types.d.ts +13 -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 +16 -0
- package/dist/models/index.esm.js +2 -0
- package/dist/models/index.esm.js.map +1 -0
- package/dist/models/index.js +2 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/models/index.d.ts +16 -0
- package/dist/models/modules/addon/models.d.ts +27 -0
- package/dist/models/modules/addon/utils.d.ts +14 -0
- package/dist/models/modules/branch/hooks.d.ts +16 -0
- package/dist/models/modules/branch/models.d.ts +48 -0
- package/dist/models/modules/branch/utils.d.ts +7 -0
- package/dist/models/modules/business/constants.d.ts +2 -0
- package/dist/models/modules/business/hooks.d.ts +15 -0
- package/dist/models/modules/business/models.d.ts +31 -0
- package/dist/models/modules/category/models.d.ts +10 -0
- package/dist/models/modules/common/services.d.ts +1 -0
- package/dist/models/modules/customer/hooks.d.ts +5 -0
- package/dist/models/modules/customer/models.d.ts +50 -0
- package/dist/models/modules/customer/services.d.ts +9 -0
- package/dist/models/modules/feature/models.d.ts +8 -0
- package/dist/models/modules/menu/hooks.d.ts +1 -0
- package/dist/models/modules/menu/index.d.ts +3 -0
- package/dist/models/modules/menu/models.d.ts +25 -0
- package/dist/models/modules/menu/utils.d.ts +4 -0
- package/dist/models/modules/order/constants.d.ts +17 -0
- package/dist/models/modules/order/hooks.d.ts +18 -0
- package/dist/models/modules/order/index.d.ts +5 -0
- package/dist/models/modules/order/models.d.ts +108 -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 +9 -0
- package/dist/models/modules/product/index.d.ts +3 -0
- package/dist/models/modules/product/models.d.ts +50 -0
- package/dist/models/modules/product/utils.d.ts +185 -0
- package/dist/models/modules/store/hooks.d.ts +6 -0
- package/dist/models/modules/subscription/models.d.ts +36 -0
- package/dist/models/modules/table/hooks.d.ts +4 -0
- package/dist/models/modules/table/models.d.ts +66 -0
- package/dist/models/modules/user/models.d.ts +95 -0
- package/dist/models/modules/video/models.d.ts +11 -0
- package/dist/models/modules/view/constants.d.ts +16 -0
- package/dist/models/modules/view/hooks.d.ts +2 -0
- package/dist/models/modules/view/models.d.ts +7 -0
- package/dist/models/modules/view/services.d.ts +2 -0
- package/dist/models/modules/view/utils.d.ts +16 -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/branch.d.ts +14 -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 +20 -0
- package/dist/models/services/translation/locales/az/events.d.ts +8 -0
- package/dist/models/services/translation/locales/az/index.d.ts +151 -0
- package/dist/models/services/translation/locales/az/order.d.ts +47 -0
- package/dist/models/services/translation/locales/az/pricing.d.ts +37 -0
- package/dist/models/services/translation/locales/en/auth.d.ts +2 -0
- package/dist/models/services/translation/locales/en/branch.d.ts +10 -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 +16 -0
- package/dist/models/services/translation/locales/en/events.d.ts +2 -0
- package/dist/models/services/translation/locales/en/index.d.ts +33 -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/branch.d.ts +13 -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 +20 -0
- package/dist/models/services/translation/locales/et/events.d.ts +8 -0
- package/dist/models/services/translation/locales/et/index.d.ts +147 -0
- package/dist/models/services/translation/locales/et/order.d.ts +46 -0
- package/dist/models/services/translation/locales/et/pricing.d.ts +35 -0
- package/dist/models/services/translation/locales/index.d.ts +769 -0
- package/dist/models/services/translation/locales/nl/auth.d.ts +7 -0
- package/dist/models/services/translation/locales/nl/branch.d.ts +13 -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 +20 -0
- package/dist/models/services/translation/locales/nl/events.d.ts +8 -0
- package/dist/models/services/translation/locales/nl/index.d.ts +147 -0
- package/dist/models/services/translation/locales/nl/order.d.ts +46 -0
- package/dist/models/services/translation/locales/nl/pricing.d.ts +35 -0
- package/dist/models/services/translation/locales/ru/auth.d.ts +7 -0
- package/dist/models/services/translation/locales/ru/branch.d.ts +13 -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 +20 -0
- package/dist/models/services/translation/locales/ru/events.d.ts +8 -0
- package/dist/models/services/translation/locales/ru/index.d.ts +147 -0
- package/dist/models/services/translation/locales/ru/order.d.ts +46 -0
- package/dist/models/services/translation/locales/ru/pricing.d.ts +35 -0
- package/dist/models/services/translation/locales/tr/auth.d.ts +7 -0
- package/dist/models/services/translation/locales/tr/branch.d.ts +13 -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 +20 -0
- package/dist/models/services/translation/locales/tr/events.d.ts +8 -0
- package/dist/models/services/translation/locales/tr/index.d.ts +147 -0
- package/dist/models/services/translation/locales/tr/order.d.ts +46 -0
- package/dist/models/services/translation/locales/tr/pricing.d.ts +35 -0
- package/dist/models/store/index.d.ts +7 -0
- package/dist/models/store/order.d.ts +42 -0
- package/dist/modules/addon/index.d.ts +2 -0
- package/dist/modules/addon/models.d.ts +27 -0
- package/dist/modules/addon/utils.d.ts +14 -0
- package/dist/modules/addon/utils.test.d.ts +1 -0
- package/dist/modules/branch/hooks.d.ts +16 -0
- package/dist/modules/branch/hooks.test.d.ts +1 -0
- package/dist/modules/branch/index.d.ts +3 -0
- package/dist/modules/branch/models.d.ts +48 -0
- package/dist/modules/branch/utils.d.ts +7 -0
- package/dist/modules/branch/utils.test.d.ts +1 -0
- package/dist/modules/business/constants.d.ts +2 -0
- package/dist/modules/business/hooks.d.ts +15 -0
- package/dist/modules/business/hooks.test.d.ts +1 -0
- package/dist/modules/business/index.d.ts +2 -0
- package/dist/modules/business/models.d.ts +31 -0
- package/dist/modules/category/hooks.d.ts +3 -0
- package/dist/modules/category/hooks.test.d.ts +1 -0
- package/dist/modules/category/index.d.ts +3 -0
- package/dist/modules/category/models.d.ts +10 -0
- package/dist/modules/category/utils.d.ts +3 -0
- package/dist/modules/category/utils.test.d.ts +1 -0
- package/dist/modules/common/index.d.ts +1 -0
- package/dist/modules/common/services.d.ts +1 -0
- package/dist/modules/customer/hooks.d.ts +5 -0
- package/dist/modules/customer/hooks.test.d.ts +1 -0
- package/dist/modules/customer/index.d.ts +4 -0
- package/dist/modules/customer/models.d.ts +50 -0
- package/dist/modules/customer/services.d.ts +9 -0
- package/dist/modules/customer/utils.d.ts +7 -0
- package/dist/modules/customer/utils.test.d.ts +1 -0
- package/dist/modules/feature/constants.d.ts +4 -0
- package/dist/modules/feature/hooks.d.ts +2 -0
- package/dist/modules/feature/hooks.test.d.ts +1 -0
- package/dist/modules/feature/index.d.ts +3 -0
- package/dist/modules/feature/models.d.ts +8 -0
- package/dist/modules/feature/util.test.d.ts +1 -0
- package/dist/modules/feature/utils.d.ts +2 -0
- package/dist/modules/menu/hooks.d.ts +1 -0
- package/dist/modules/menu/index.d.ts +3 -0
- package/dist/modules/menu/models.d.ts +25 -0
- package/dist/modules/menu/utils.d.ts +4 -0
- package/dist/modules/menu/utils.test.d.ts +1 -0
- package/dist/modules/order/constants.d.ts +17 -0
- package/dist/modules/order/hooks.d.ts +18 -0
- package/dist/modules/order/hooks.test.d.ts +1 -0
- package/dist/modules/order/index.d.ts +5 -0
- package/dist/modules/order/models.d.ts +108 -0
- package/dist/modules/order/services.d.ts +4 -0
- package/dist/modules/order/utils.d.ts +29 -0
- package/dist/modules/order/utils.test.d.ts +1 -0
- package/dist/modules/product/hooks.d.ts +9 -0
- package/dist/modules/product/index.d.ts +3 -0
- package/dist/modules/product/models.d.ts +50 -0
- package/dist/modules/product/utils.d.ts +185 -0
- package/dist/modules/store/hooks.d.ts +6 -0
- package/dist/modules/subscription/constants.d.ts +10 -0
- package/dist/modules/subscription/index.d.ts +3 -0
- package/dist/modules/subscription/models.d.ts +36 -0
- package/dist/modules/subscription/utils.d.ts +1 -0
- 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/modules/user/index.d.ts +2 -0
- package/dist/modules/user/models.d.ts +95 -0
- package/dist/modules/user/utils.d.ts +3 -0
- package/dist/modules/user/utils.test.d.ts +1 -0
- package/dist/modules/video/__mocks.d.ts +7 -0
- package/dist/modules/video/hooks.d.ts +13 -0
- package/dist/modules/video/hooks.test.d.ts +1 -0
- package/dist/modules/video/index.d.ts +2 -0
- package/dist/modules/video/models.d.ts +11 -0
- package/dist/modules/view/constants.d.ts +16 -0
- package/dist/modules/view/hooks.d.ts +2 -0
- package/dist/modules/view/index.d.ts +4 -0
- package/dist/modules/view/models.d.ts +7 -0
- package/dist/modules/view/services.d.ts +2 -0
- package/dist/modules/view/utils.d.ts +16 -0
- package/dist/modules/view/utils.test.d.ts +1 -0
- package/dist/services/api/index.d.ts +5 -0
- package/dist/services/translation/index.d.ts +3 -0
- package/dist/services/translation/locales/az/auth.d.ts +7 -0
- package/dist/services/translation/locales/az/branch.d.ts +14 -0
- package/dist/services/translation/locales/az/common.d.ts +6 -0
- package/dist/services/translation/locales/az/customer.d.ts +17 -0
- package/dist/services/translation/locales/az/error.d.ts +20 -0
- package/dist/services/translation/locales/az/events.d.ts +8 -0
- package/dist/services/translation/locales/az/index.d.ts +151 -0
- package/dist/services/translation/locales/az/order.d.ts +47 -0
- package/dist/services/translation/locales/az/pricing.d.ts +37 -0
- package/dist/services/translation/locales/en/auth.d.ts +2 -0
- package/dist/services/translation/locales/en/branch.d.ts +10 -0
- package/dist/services/translation/locales/en/common.d.ts +2 -0
- package/dist/services/translation/locales/en/customer.d.ts +2 -0
- package/dist/services/translation/locales/en/error.d.ts +16 -0
- package/dist/services/translation/locales/en/events.d.ts +2 -0
- package/dist/services/translation/locales/en/index.d.ts +33 -0
- package/dist/services/translation/locales/en/order.d.ts +2 -0
- package/dist/services/translation/locales/en/pricing.d.ts +2 -0
- package/dist/services/translation/locales/et/auth.d.ts +7 -0
- package/dist/services/translation/locales/et/branch.d.ts +13 -0
- package/dist/services/translation/locales/et/common.d.ts +6 -0
- package/dist/services/translation/locales/et/customer.d.ts +17 -0
- package/dist/services/translation/locales/et/error.d.ts +20 -0
- package/dist/services/translation/locales/et/events.d.ts +8 -0
- package/dist/services/translation/locales/et/index.d.ts +147 -0
- package/dist/services/translation/locales/et/order.d.ts +46 -0
- package/dist/services/translation/locales/et/pricing.d.ts +35 -0
- package/dist/services/translation/locales/index.d.ts +769 -0
- package/dist/services/translation/locales/nl/auth.d.ts +7 -0
- package/dist/services/translation/locales/nl/branch.d.ts +13 -0
- package/dist/services/translation/locales/nl/common.d.ts +6 -0
- package/dist/services/translation/locales/nl/customer.d.ts +17 -0
- package/dist/services/translation/locales/nl/error.d.ts +20 -0
- package/dist/services/translation/locales/nl/events.d.ts +8 -0
- package/dist/services/translation/locales/nl/index.d.ts +147 -0
- package/dist/services/translation/locales/nl/order.d.ts +46 -0
- package/dist/services/translation/locales/nl/pricing.d.ts +35 -0
- package/dist/services/translation/locales/ru/auth.d.ts +7 -0
- package/dist/services/translation/locales/ru/branch.d.ts +13 -0
- package/dist/services/translation/locales/ru/common.d.ts +6 -0
- package/dist/services/translation/locales/ru/customer.d.ts +17 -0
- package/dist/services/translation/locales/ru/error.d.ts +20 -0
- package/dist/services/translation/locales/ru/events.d.ts +8 -0
- package/dist/services/translation/locales/ru/index.d.ts +147 -0
- package/dist/services/translation/locales/ru/order.d.ts +46 -0
- package/dist/services/translation/locales/ru/pricing.d.ts +35 -0
- package/dist/services/translation/locales/tr/auth.d.ts +7 -0
- package/dist/services/translation/locales/tr/branch.d.ts +13 -0
- package/dist/services/translation/locales/tr/common.d.ts +6 -0
- package/dist/services/translation/locales/tr/customer.d.ts +17 -0
- package/dist/services/translation/locales/tr/error.d.ts +20 -0
- package/dist/services/translation/locales/tr/events.d.ts +8 -0
- package/dist/services/translation/locales/tr/index.d.ts +147 -0
- package/dist/services/translation/locales/tr/order.d.ts +46 -0
- package/dist/services/translation/locales/tr/pricing.d.ts +35 -0
- package/dist/store/index.d.ts +7 -0
- package/dist/store/order.d.ts +42 -0
- package/dist/store/order.test.d.ts +1 -0
- package/dist/styles/ui.css +2 -0
- package/dist/styles/ui.css.map +1 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/index.esm.js +2 -0
- package/dist/utils/index.esm.js.map +1 -0
- package/dist/utils/index.js +2 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/modules/addon/models.d.ts +27 -0
- package/dist/utils/modules/addon/utils.d.ts +14 -0
- package/dist/utils/modules/branch/models.d.ts +48 -0
- package/dist/utils/modules/business/models.d.ts +31 -0
- package/dist/utils/modules/category/models.d.ts +10 -0
- package/dist/utils/modules/category/utils.d.ts +3 -0
- package/dist/utils/modules/customer/models.d.ts +50 -0
- package/dist/utils/modules/customer/utils.d.ts +7 -0
- package/dist/utils/modules/feature/constants.d.ts +4 -0
- package/dist/utils/modules/feature/models.d.ts +8 -0
- package/dist/utils/modules/feature/utils.d.ts +2 -0
- package/dist/utils/modules/menu/models.d.ts +25 -0
- package/dist/utils/modules/menu/utils.d.ts +4 -0
- package/dist/utils/modules/order/constants.d.ts +17 -0
- package/dist/utils/modules/order/models.d.ts +108 -0
- package/dist/utils/modules/order/utils.d.ts +29 -0
- package/dist/utils/modules/product/models.d.ts +50 -0
- package/dist/utils/modules/product/utils.d.ts +185 -0
- package/dist/utils/modules/subscription/models.d.ts +36 -0
- package/dist/utils/modules/table/models.d.ts +66 -0
- package/dist/utils/modules/user/models.d.ts +95 -0
- package/dist/utils/modules/user/utils.d.ts +3 -0
- package/dist/utils/modules/video/models.d.ts +11 -0
- package/dist/utils/modules/view/constants.d.ts +16 -0
- package/dist/utils/modules/view/utils.d.ts +16 -0
- package/dist/utils/utils/index.d.ts +9 -0
- package/package.json +97 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RefObject } from "react";
|
|
2
|
+
import { DivElementMap } from "@sorocraft/ui";
|
|
3
|
+
import { models as menuModels } from "src/modules/menu";
|
|
4
|
+
interface Props {
|
|
5
|
+
productBlocksRef: RefObject<DivElementMap>;
|
|
6
|
+
containerRef: RefObject<HTMLDivElement>;
|
|
7
|
+
currency: string;
|
|
8
|
+
language: string;
|
|
9
|
+
categoryProductMap: menuModels.CategoryProductMap[];
|
|
10
|
+
onCategoryInView: (categoryId: number) => void;
|
|
11
|
+
}
|
|
12
|
+
declare const Products: import("react").MemoExoticComponent<({ categoryProductMap, currency, language, productBlocksRef, containerRef, onCategoryInView, }: Props) => import("react/jsx-runtime").JSX.Element>;
|
|
13
|
+
export default Products;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Products";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ProductsGridItemProps } from "./ProductsGridItem.types";
|
|
2
|
+
declare const ProductsGridItem: ({ product, currency, language, defaultImage, isDashboard, backgroundColor, onClick, onAddProduct, }: ProductsGridItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default ProductsGridItem;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { models as productModels } from "src/modules/product";
|
|
2
|
+
export interface ProductsGridItemProps {
|
|
3
|
+
product: productModels.Product;
|
|
4
|
+
currency: string;
|
|
5
|
+
language: string;
|
|
6
|
+
defaultImage?: string;
|
|
7
|
+
isDashboard?: boolean;
|
|
8
|
+
backgroundColor?: string;
|
|
9
|
+
onClick?: () => void;
|
|
10
|
+
onAddProduct?: ({ product }: {
|
|
11
|
+
product: productModels.Product;
|
|
12
|
+
}) => void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ProductsGridItemProps } from "./ProductsGridItem.types";
|
|
2
|
+
type Props = Omit<ProductsGridItemProps, "onAddProduct">;
|
|
3
|
+
declare const ProductsGridItemContainer: ({ product, currency, language, onClick }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default ProductsGridItemContainer;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { models as productModels } from "src/modules/product";
|
|
2
|
+
interface Props {
|
|
3
|
+
product: productModels.Product;
|
|
4
|
+
currency: string;
|
|
5
|
+
language: string;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare const ProductsListItem: ({ product, currency, language, onClick }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default ProductsListItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./ProductsListItem";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Actions";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { models as videoModels } from "src/modules/video";
|
|
2
|
+
export interface Props {
|
|
3
|
+
video: videoModels.Video;
|
|
4
|
+
isActive: boolean;
|
|
5
|
+
shouldLoad: boolean;
|
|
6
|
+
isMuted: boolean;
|
|
7
|
+
registerVideo: (id: number, el: HTMLElement) => void;
|
|
8
|
+
setIsMuted: (isMuted: boolean) => void;
|
|
9
|
+
}
|
|
10
|
+
declare const Video: ({ video, isActive, shouldLoad, isMuted, registerVideo, setIsMuted, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default Video;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VideoData";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Video";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VideoFeed";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./PublicMenu";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SIZE } from "@sorocraft/ui";
|
|
2
|
+
interface Props {
|
|
3
|
+
isDecreaseDisabled?: boolean;
|
|
4
|
+
quantity?: number;
|
|
5
|
+
size?: SIZE;
|
|
6
|
+
focusedSection?: string;
|
|
7
|
+
onIncrease: () => void;
|
|
8
|
+
onDecrease: () => void;
|
|
9
|
+
}
|
|
10
|
+
declare const Quantity: ({ isDecreaseDisabled, quantity, size, focusedSection, onIncrease, onDecrease, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default Quantity;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Quantity";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./ScrollToTop";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const CATEGORY_SELECTED = "digital_menu_category_select";
|
|
2
|
+
export declare const CATEGORY_SCROLLED = "digital_menu_category_scroll";
|
|
3
|
+
export declare const PRODUCT_DETAILS = "digital_menu_product_details";
|
|
4
|
+
export declare const PRODUCT_ADD_ORDER = "digital_menu_product_add_cart";
|
|
5
|
+
export declare const PRODUCT_VIEW_CHANGED = "digital_menu_product_view_changed";
|
|
6
|
+
export declare const GOALS: string[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const CATEGORY_SELECTED = "digital_menu_category_select";
|
|
2
|
+
export declare const CATEGORY_SCROLLED = "digital_menu_category_scroll";
|
|
3
|
+
export declare const PRODUCT_DETAILS = "digital_menu_product_details";
|
|
4
|
+
export declare const PRODUCT_ADD_ORDER = "digital_menu_product_add_cart";
|
|
5
|
+
export declare const PRODUCT_VIEW_CHANGED = "digital_menu_product_view_changed";
|
|
6
|
+
export declare const GOALS: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BASE_API_URL = "https://api.tabres.com/api/v1";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BASE_API_URL = "https://api.tabres.com/api/v1";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const E="digital_menu",I=`${E}_category_select`,e=`${E}_category_scroll`,t=`${E}_product_details`,A=`${E}_product_add_cart`,S=`${E}_product_view_changed`,P=[I,e,t,A];var i,C;!function(E){E.UPLOAD_VIDEO="UPLOAD_VIDEO"}(i||(i={})),function(E){E.ALPHA="ALPHA",E.BETA="BETA",E.ALL="ALL"}(C||(C={}));const _={[C.ALPHA]:[i.UPLOAD_VIDEO],[C.BETA]:[],[C.ALL]:[]},L={ADD_UPDATE_NOTES:"ADD_UPDATE_NOTES",AUTH:"AUTH",ADD_UPDATE_ADDRESS:"ADD_UPDATE_ADDRESS",BRANCH_BUSINESS_HOURS:"BRANCH_BUSINESS_HOURS",PRODUCT_DETAILS:"PRODUCT_DETAILS"},T=["en","az","nl","et","tr","ru"],l=[{name:"Azerbaijan",code:"AZ",phoneCode:"+994"}],n="tabres.com",a=n,R="https://images.tabres.com";var M,r;!function(E){E.APPETIZER="appetizer",E.MAIN_COURSE="mainCourse",E.CHEFS_SPECIAL="chefsSpecial",E.LIFETIME="lifeTime"}(M||(M={})),function(E){E.ACTIVE="ACTIVE",E.EXPIRED="EXPIRED",E.CANCELLED="CANCELLED"}(r||(r={}));const o={appetizer:{title:"Appetizer",price:{monthly:9,annually:7}},mainCourse:{title:"Main Course",price:{monthly:19,annually:15}},chefsSpecial:{title:"Chef's Special",price:{monthly:49,annually:39}},lifeTime:{title:"Lifetime",price:{monthly:49,annually:49},ribbonText:"Limited Time Only"}},F=[{title:"Smart QR Menu",[M.APPETIZER]:!0,[M.MAIN_COURSE]:!0,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!0},{title:"Link-in-bio",[M.APPETIZER]:!0,[M.MAIN_COURSE]:!0,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!0},{title:"Menu Analytics",[M.APPETIZER]:!0,[M.MAIN_COURSE]:!0,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!0},{title:"Unlimited Users",[M.APPETIZER]:!0,[M.MAIN_COURSE]:!0,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!0},{title:"Unlimited Products",[M.APPETIZER]:!0,[M.MAIN_COURSE]:!0,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!0},{title:"Unlimited Categories",[M.APPETIZER]:!0,[M.MAIN_COURSE]:!0,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!0},{title:"Unlimited Languages",[M.APPETIZER]:!0,[M.MAIN_COURSE]:!0,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!0},{title:"Product variants",[M.APPETIZER]:!0,[M.MAIN_COURSE]:!0,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!0},{title:"Product options",[M.APPETIZER]:!0,[M.MAIN_COURSE]:!0,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!0},{title:"Premium Support",[M.APPETIZER]:!0,[M.MAIN_COURSE]:!0,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!0},{title:"SEO",[M.APPETIZER]:!0,[M.MAIN_COURSE]:!0,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!0},{title:"Sales reports",[M.APPETIZER]:!1,[M.MAIN_COURSE]:!0,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!0},{title:"Table Management",[M.APPETIZER]:!1,[M.MAIN_COURSE]:!0,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!0},{title:"Order Management",[M.APPETIZER]:!1,[M.MAIN_COURSE]:!0,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!0},{title:"Delivery Management",[M.APPETIZER]:!1,[M.MAIN_COURSE]:!0,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!0},{title:"Multiple Branches",[M.APPETIZER]:!1,[M.MAIN_COURSE]:!1,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!0},{title:"Point of Sale (POS)",[M.APPETIZER]:!1,[M.MAIN_COURSE]:!1,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!1},{title:"Mobile App for Owners & Staff",[M.APPETIZER]:!1,[M.MAIN_COURSE]:!1,[M.CHEFS_SPECIAL]:!0,[M.LIFETIME]:!1}],U=["LIFETIME_49"];export{e as CATEGORY_SCROLLED,I as CATEGORY_SELECTED,a as DEFAULT_HOSTNAME,n as DOMAIN,_ as FEATURES_LIST,P as GOALS,R as IMAGE_BASE_URL,U as LIFETIME_PROMO_CODES,L as MODALS,o as PRICING,F as PRICING_BENEFITS,A as PRODUCT_ADD_ORDER,t as PRODUCT_DETAILS,S as PRODUCT_VIEW_CHANGED,l as SUPPORTED_COUNTRIES,T as SUPPORTED_LOCALES};
|
|
2
|
+
//# sourceMappingURL=index.esm.js.map
|
|
@@ -0,0 +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\"];\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,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,CAFD,CAAYA,IAAAA,EAAO,CAAA,IAGnB,SAAYC,GACXA,EAAA,MAAA,QACAA,EAAA,KAAA,OACAA,EAAA,IAAA,KACA,CAJD,CAAYA,IAAAA,EAAc,CAAA,ICDnB,MAAMC,EAAwD,CACpE,CAACD,EAAeE,OAAQ,CAACH,EAAQI,cACjC,CAACH,EAAeI,MAAO,GACvB,CAACJ,EAAeK,KAAM,ICLVC,EAAS,CACrBC,iBAAkB,mBAClBC,KAAM,OACNC,mBAAoB,qBACpBC,sBAAuB,wBACvBf,gBAAiB,mBAGLgB,EAAoB,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,MACnDC,EAAsB,CAClC,CACCC,KAAM,aACNC,KAAM,KACNC,UAAW,SAIAC,EAAS,aAETC,EAAmBD,EAEnBE,EAAiB,4BCrB9B,IAAYC,EAuBA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AgB,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"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const E="digital_menu",I=`${E}_category_select`,t=`${E}_category_scroll`,e=`${E}_product_details`,A=`${E}_product_add_cart`,S=`${E}_product_view_changed`,P=[I,t,e,A];var C,_;!function(E){E.UPLOAD_VIDEO="UPLOAD_VIDEO"}(C||(C={})),function(E){E.ALPHA="ALPHA",E.BETA="BETA",E.ALL="ALL"}(_||(_={}));const T={[_.ALPHA]:[C.UPLOAD_VIDEO],[_.BETA]:[],[_.ALL]:[]},i="tabres.com",L=i;var R,r;!function(E){E.APPETIZER="appetizer",E.MAIN_COURSE="mainCourse",E.CHEFS_SPECIAL="chefsSpecial",E.LIFETIME="lifeTime"}(R||(R={})),function(E){E.ACTIVE="ACTIVE",E.EXPIRED="EXPIRED",E.CANCELLED="CANCELLED"}(r||(r={}));const l=[{title:"Smart QR Menu",[R.APPETIZER]:!0,[R.MAIN_COURSE]:!0,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!0},{title:"Link-in-bio",[R.APPETIZER]:!0,[R.MAIN_COURSE]:!0,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!0},{title:"Menu Analytics",[R.APPETIZER]:!0,[R.MAIN_COURSE]:!0,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!0},{title:"Unlimited Users",[R.APPETIZER]:!0,[R.MAIN_COURSE]:!0,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!0},{title:"Unlimited Products",[R.APPETIZER]:!0,[R.MAIN_COURSE]:!0,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!0},{title:"Unlimited Categories",[R.APPETIZER]:!0,[R.MAIN_COURSE]:!0,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!0},{title:"Unlimited Languages",[R.APPETIZER]:!0,[R.MAIN_COURSE]:!0,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!0},{title:"Product variants",[R.APPETIZER]:!0,[R.MAIN_COURSE]:!0,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!0},{title:"Product options",[R.APPETIZER]:!0,[R.MAIN_COURSE]:!0,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!0},{title:"Premium Support",[R.APPETIZER]:!0,[R.MAIN_COURSE]:!0,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!0},{title:"SEO",[R.APPETIZER]:!0,[R.MAIN_COURSE]:!0,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!0},{title:"Sales reports",[R.APPETIZER]:!1,[R.MAIN_COURSE]:!0,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!0},{title:"Table Management",[R.APPETIZER]:!1,[R.MAIN_COURSE]:!0,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!0},{title:"Order Management",[R.APPETIZER]:!1,[R.MAIN_COURSE]:!0,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!0},{title:"Delivery Management",[R.APPETIZER]:!1,[R.MAIN_COURSE]:!0,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!0},{title:"Multiple Branches",[R.APPETIZER]:!1,[R.MAIN_COURSE]:!1,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!0},{title:"Point of Sale (POS)",[R.APPETIZER]:!1,[R.MAIN_COURSE]:!1,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!1},{title:"Mobile App for Owners & Staff",[R.APPETIZER]:!1,[R.MAIN_COURSE]:!1,[R.CHEFS_SPECIAL]:!0,[R.LIFETIME]:!1}];exports.CATEGORY_SCROLLED=t,exports.CATEGORY_SELECTED=I,exports.DEFAULT_HOSTNAME=L,exports.DOMAIN=i,exports.FEATURES_LIST=T,exports.GOALS=P,exports.IMAGE_BASE_URL="https://images.tabres.com",exports.LIFETIME_PROMO_CODES=["LIFETIME_49"],exports.MODALS={ADD_UPDATE_NOTES:"ADD_UPDATE_NOTES",AUTH:"AUTH",ADD_UPDATE_ADDRESS:"ADD_UPDATE_ADDRESS",BRANCH_BUSINESS_HOURS:"BRANCH_BUSINESS_HOURS",PRODUCT_DETAILS:"PRODUCT_DETAILS"},exports.PRICING={appetizer:{title:"Appetizer",price:{monthly:9,annually:7}},mainCourse:{title:"Main Course",price:{monthly:19,annually:15}},chefsSpecial:{title:"Chef's Special",price:{monthly:49,annually:39}},lifeTime:{title:"Lifetime",price:{monthly:49,annually:49},ribbonText:"Limited Time Only"}},exports.PRICING_BENEFITS=l,exports.PRODUCT_ADD_ORDER=A,exports.PRODUCT_DETAILS=e,exports.PRODUCT_VIEW_CHANGED=S,exports.SUPPORTED_COUNTRIES=[{name:"Azerbaijan",code:"AZ",phoneCode:"+994"}],exports.SUPPORTED_LOCALES=["en","az","nl","et","tr","ru"];
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +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\"];\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,CAFD,CAAYA,IAAAA,EAAO,CAAA,IAGnB,SAAYC,GACXA,EAAA,MAAA,QACAA,EAAA,KAAA,OACAA,EAAA,IAAA,KACA,CAJD,CAAYA,IAAAA,EAAc,CAAA,IC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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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PricingPlans } from "./models";
|
|
2
|
+
export declare const PRICING: PricingPlans;
|
|
3
|
+
export declare const PRICING_BENEFITS: {
|
|
4
|
+
title: string;
|
|
5
|
+
appetizer: boolean;
|
|
6
|
+
mainCourse: boolean;
|
|
7
|
+
chefsSpecial: boolean;
|
|
8
|
+
lifeTime: boolean;
|
|
9
|
+
}[];
|
|
10
|
+
export declare const LIFETIME_PROMO_CODES: string[];
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare enum PlanType {
|
|
2
|
+
APPETIZER = "appetizer",
|
|
3
|
+
MAIN_COURSE = "mainCourse",
|
|
4
|
+
CHEFS_SPECIAL = "chefsSpecial",
|
|
5
|
+
LIFETIME = "lifeTime"
|
|
6
|
+
}
|
|
7
|
+
export interface PricingPlan {
|
|
8
|
+
title: string;
|
|
9
|
+
price: {
|
|
10
|
+
monthly: number;
|
|
11
|
+
annually: number;
|
|
12
|
+
};
|
|
13
|
+
discountedPrice?: number;
|
|
14
|
+
ribbonText?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface PricingPlans {
|
|
17
|
+
[key: string]: PricingPlan;
|
|
18
|
+
}
|
|
19
|
+
export type PricingInterval = "monthly" | "annually";
|
|
20
|
+
export declare enum SubscriptionStatus {
|
|
21
|
+
ACTIVE = "ACTIVE",
|
|
22
|
+
EXPIRED = "EXPIRED",
|
|
23
|
+
CANCELLED = "CANCELLED"
|
|
24
|
+
}
|
|
25
|
+
export type BillingInterval = "MONTH" | "YEAR";
|
|
26
|
+
export interface Subscription {
|
|
27
|
+
id: number;
|
|
28
|
+
billingInterval: BillingInterval;
|
|
29
|
+
billingIntervalCount: number;
|
|
30
|
+
startDate: string;
|
|
31
|
+
endDate: string;
|
|
32
|
+
interval: PricingInterval;
|
|
33
|
+
status: SubscriptionStatus;
|
|
34
|
+
business_id?: number;
|
|
35
|
+
planName: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const MODALS: {
|
|
2
|
+
ADD_UPDATE_NOTES: string;
|
|
3
|
+
AUTH: string;
|
|
4
|
+
ADD_UPDATE_ADDRESS: string;
|
|
5
|
+
BRANCH_BUSINESS_HOURS: string;
|
|
6
|
+
PRODUCT_DETAILS: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const SUPPORTED_LOCALES: string[];
|
|
9
|
+
export declare const SUPPORTED_COUNTRIES: {
|
|
10
|
+
name: string;
|
|
11
|
+
code: string;
|
|
12
|
+
phoneCode: string;
|
|
13
|
+
}[];
|
|
14
|
+
export declare const DOMAIN = "tabres.com";
|
|
15
|
+
export declare const DEFAULT_HOSTNAME = "tabres.com";
|
|
16
|
+
export declare const IMAGE_BASE_URL = "https://images.tabres.com";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../modules/product/hooks";
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { default as PublicMenu } from "./components/PublicMenu";
|
|
2
|
+
export { default as Events } from "./components/Events";
|
|
3
|
+
export { default as Pricing } from "./components/Pricing";
|
|
4
|
+
export { default as Quantity } from "./components/Quantity";
|
|
5
|
+
export { default as Categories } from "./components/PublicMenu/Categories";
|
|
6
|
+
export { default as ProductsGridItem } from "./components/PublicMenu/ProductsGridItem";
|
|
7
|
+
export { default as ProductDetailsUI } from "./components/PublicMenu/ProductDetails/ProductDetailsUI";
|
|
8
|
+
export { default as OrderMethods } from "./components/PublicMenu/OrderMethods";
|
|
9
|
+
export { default as OrderPaymentSummary } from "./components/PublicMenu/OrderPaymentSummary";
|
|
10
|
+
export { default as OrderTableUI } from "./components/PublicMenu/OrderDrawer/OrderTable/OrderTableUI";
|
|
11
|
+
export { default as OrderFAB } from "./components/PublicMenu/OrderFAB";
|
|
12
|
+
export * from "./store/order";
|