@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
package/Readme.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# @tabres/react
|
|
2
|
+
|
|
3
|
+
React Library by [tabres.com](https://tabres.com)
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @tabres/react
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
### Install Peer dependencies (must also be installed):
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install react react-dom @sorocraft/js-utils @sorocraft/ui
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
Import main library:
|
|
20
|
+
|
|
21
|
+
```jsx
|
|
22
|
+
import { ComponentName } from "@tabres/react";
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Import utils, models, or constants:
|
|
26
|
+
|
|
27
|
+
```jsx
|
|
28
|
+
import { someUtil } from "@tabres/react/utils";
|
|
29
|
+
import { SomeModel } from "@tabres/react/models";
|
|
30
|
+
import { SOME_CONSTANT } from "@tabres/react/constants";
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Import styles:
|
|
34
|
+
|
|
35
|
+
```jsx
|
|
36
|
+
import "@tabres/react/styles/ui.css";
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Commands (for development)
|
|
40
|
+
|
|
41
|
+
`npm run build` → Build library
|
|
42
|
+
|
|
43
|
+
`npm run dev` → Build and watch
|
|
44
|
+
|
|
45
|
+
`npm run lint` → Run ESLint
|
|
46
|
+
|
|
47
|
+
`npm test` → Run tests
|
|
48
|
+
|
|
49
|
+
`npm run pub` → Publish new version
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./BackIcon";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BarChartData } from "@sorocraft/ui";
|
|
2
|
+
interface Props {
|
|
3
|
+
data: BarChartData[];
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
language?: string;
|
|
6
|
+
goal: string;
|
|
7
|
+
setGoal: (goal: string) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const Events: ({ data, isLoading, language, goal, setGoal }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default Events;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Events";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { models as subscriptionModels } from "src/modules/subscription";
|
|
2
|
+
interface Props {
|
|
3
|
+
currency: string;
|
|
4
|
+
language: string;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
promoCode?: string | null;
|
|
7
|
+
onPlanSelect?: (plan: subscriptionModels.PlanType) => void;
|
|
8
|
+
onIntervalSelect?: (interval: subscriptionModels.PricingInterval) => void;
|
|
9
|
+
}
|
|
10
|
+
declare const Pricing: ({ currency, language, isLoading, onPlanSelect, onIntervalSelect, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default Pricing;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { models as subscriptionModels } from "src/modules/subscription";
|
|
2
|
+
interface Props {
|
|
3
|
+
plan: subscriptionModels.PlanType;
|
|
4
|
+
language: string;
|
|
5
|
+
interval: subscriptionModels.PricingInterval;
|
|
6
|
+
currency: string;
|
|
7
|
+
}
|
|
8
|
+
declare const PricingPlanAmount: ({ plan, language, interval, currency }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default PricingPlanAmount;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Pricing";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./BranchCard";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Branches";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { models as menuModels } from "src/modules/menu";
|
|
2
|
+
interface Props {
|
|
3
|
+
categoryProductMap: menuModels.CategoryProductMap[];
|
|
4
|
+
language: string;
|
|
5
|
+
selectedCategoryId: number;
|
|
6
|
+
skipTracking?: boolean;
|
|
7
|
+
onSelectCategory: (id: number) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const Categories: ({ categoryProductMap, language, selectedCategoryId, skipTracking, onSelectCategory, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default Categories;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Categories";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./AddressContent";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./NoAddressContent";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./CustomerAddress";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { models as branchModels } from "src/modules/branch";
|
|
2
|
+
type Props = {
|
|
3
|
+
openingHours: branchModels.Branch["openingHours"];
|
|
4
|
+
deliveryHours: branchModels.Branch["deliveryHours"];
|
|
5
|
+
};
|
|
6
|
+
declare const BranchBusinessHours: ({ openingHours, deliveryHours }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default BranchBusinessHours;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./HoursList";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./BranchBusinessHours";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./HeaderLinks";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./BranchHeader";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./BusinessHeader";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Languages";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Header";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./MenuContent";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./AddUpdateAddress";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./AddUpdateNote";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FormErrors } from "@sorocraft/ui";
|
|
2
|
+
interface Props {
|
|
3
|
+
formErrors: FormErrors;
|
|
4
|
+
onChange: (email: string) => void;
|
|
5
|
+
onCancel: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare const EmailStep: ({ formErrors, onChange, onCancel }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default EmailStep;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FormErrors } from "@sorocraft/ui";
|
|
2
|
+
interface Props {
|
|
3
|
+
formErrors: FormErrors;
|
|
4
|
+
onChange: (phoneNumber: string) => void;
|
|
5
|
+
}
|
|
6
|
+
declare const PhoneStep: ({ formErrors, onChange }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default PhoneStep;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Auth";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./BranchBusinessHours";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SelectOption } from "@sorocraft/ui";
|
|
2
|
+
import { models as tableModels } from "src/modules/table";
|
|
3
|
+
interface Props {
|
|
4
|
+
preDefinedTable: tableModels.Table;
|
|
5
|
+
tableOptions: SelectOption[];
|
|
6
|
+
selectedTableId: number;
|
|
7
|
+
error?: string;
|
|
8
|
+
disableIfPreDefined?: boolean;
|
|
9
|
+
language?: string;
|
|
10
|
+
onChange: (tableId: number | null) => void;
|
|
11
|
+
}
|
|
12
|
+
declare const OrderTableUI: ({ preDefinedTable, tableOptions, selectedTableId, error, disableIfPreDefined, language, onChange, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default OrderTableUI;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./OrderTable";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./OrderDrawer";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
totalCount: number;
|
|
3
|
+
isVisible: boolean;
|
|
4
|
+
isInPublicMenu?: boolean;
|
|
5
|
+
onClick?: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare const OrderFAB: ({ totalCount, isVisible, onClick, isInPublicMenu }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default OrderFAB;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./OrderItemsList";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { models as productModels } from "src/modules/product";
|
|
3
|
+
import { models as orderModels } from "src/modules/order";
|
|
4
|
+
type Props = {
|
|
5
|
+
item: orderModels.OrderItem;
|
|
6
|
+
product: productModels.Product;
|
|
7
|
+
language: string;
|
|
8
|
+
};
|
|
9
|
+
declare const OrderItemOptionsInfo: ({ item, product, language }: Props) => ReactNode;
|
|
10
|
+
export default OrderItemOptionsInfo;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./OptionsInfo";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { models as orderModels } from "src/modules/order";
|
|
2
|
+
interface Props {
|
|
3
|
+
item: orderModels.OrderItem;
|
|
4
|
+
isDisabled: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const OrderListItem: ({ item, isDisabled }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default OrderListItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./OrderListItem";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SIZE_LONG } from "@sorocraft/ui";
|
|
2
|
+
import { models as orderModels } from "src/modules/order";
|
|
3
|
+
import { OrderTypeForMethods } from "./OrderMethods.types";
|
|
4
|
+
interface Props {
|
|
5
|
+
orderTypes: OrderTypeForMethods[];
|
|
6
|
+
orderType: orderModels.OrderType;
|
|
7
|
+
size?: SIZE_LONG;
|
|
8
|
+
onSelect: (method: string | number) => void;
|
|
9
|
+
}
|
|
10
|
+
declare const OrderMethods: ({ orderTypes, orderType, size, onSelect }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default OrderMethods;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./OrderMethods";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SIZE } from "@sorocraft/ui";
|
|
2
|
+
import { models as orderModels } from "src/modules/order";
|
|
3
|
+
interface Props {
|
|
4
|
+
textSize: SIZE;
|
|
5
|
+
totalPriceWithoutTax: number;
|
|
6
|
+
totalPriceWithTax: number;
|
|
7
|
+
deliveryFee: number;
|
|
8
|
+
totalTax: number;
|
|
9
|
+
currency: string;
|
|
10
|
+
language: string;
|
|
11
|
+
orderType: orderModels.OrderType;
|
|
12
|
+
}
|
|
13
|
+
declare const OrderPaymentSummary: ({ textSize, totalPriceWithoutTax, totalPriceWithTax, deliveryFee, totalTax, currency, language, orderType, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default OrderPaymentSummary;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./OrderPaymentSummary";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
onClick?: () => void;
|
|
3
|
+
actionText?: string;
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
isDisabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const OrderStepper: ({ actionText, isLoading, isDisabled, onClick }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default OrderStepper;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./OrderStepper";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { models as productModels } from "src/modules/product";
|
|
2
|
+
import { models as orderModels } from "src/modules/order";
|
|
3
|
+
interface Props {
|
|
4
|
+
product: Pick<productModels.Product, "addons">;
|
|
5
|
+
selectedAddons: orderModels.SelectedAddons;
|
|
6
|
+
language: string;
|
|
7
|
+
currency: string;
|
|
8
|
+
onOptionSelect: (selection: {
|
|
9
|
+
addonId: number;
|
|
10
|
+
optionId: number;
|
|
11
|
+
isSingle: boolean;
|
|
12
|
+
isRemove?: boolean;
|
|
13
|
+
}) => void;
|
|
14
|
+
}
|
|
15
|
+
declare const ProductAddons: ({ product, selectedAddons, language, currency, onOptionSelect }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default ProductAddons;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./ProductAddons";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { RefObject } from "react";
|
|
2
|
+
import { models as productModels } from "src/modules/product";
|
|
3
|
+
import { models as orderModels } from "src/modules/order";
|
|
4
|
+
interface Props {
|
|
5
|
+
product: productModels.Product;
|
|
6
|
+
language: string;
|
|
7
|
+
currency: string;
|
|
8
|
+
selectedVariant: number | null;
|
|
9
|
+
focusedSection: string | null;
|
|
10
|
+
selectedAddons: orderModels.SelectedAddons;
|
|
11
|
+
isDecreaseDisabled?: boolean;
|
|
12
|
+
quantity: number;
|
|
13
|
+
actionTitle: string;
|
|
14
|
+
isInPublicMenu?: boolean;
|
|
15
|
+
productQuantityInOrderWithAllVariants: number;
|
|
16
|
+
modalRef: RefObject<HTMLDivElement>;
|
|
17
|
+
videoUrl?: string;
|
|
18
|
+
onClose: () => void;
|
|
19
|
+
setSelectedVariant: (selectedVariant: number | null) => void;
|
|
20
|
+
onOptionSelect: ({ addonId, optionId, isSingle, isRemove, }: {
|
|
21
|
+
addonId: number;
|
|
22
|
+
optionId: number;
|
|
23
|
+
isSingle: boolean;
|
|
24
|
+
isRemove?: boolean;
|
|
25
|
+
}) => void;
|
|
26
|
+
adjustQuantity: (amount: number) => void;
|
|
27
|
+
onSubmit: () => void;
|
|
28
|
+
removeAllProductVariants: (productId: number) => void;
|
|
29
|
+
onQuantityChange?: (quantity: number) => void;
|
|
30
|
+
}
|
|
31
|
+
declare const ProductDetailsUI: ({ product, language, currency, selectedVariant, focusedSection, selectedAddons, isDecreaseDisabled, quantity, actionTitle, isInPublicMenu, productQuantityInOrderWithAllVariants, modalRef, videoUrl, onClose, setSelectedVariant, onOptionSelect, adjustQuantity, onSubmit, removeAllProductVariants, onQuantityChange, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export default ProductDetailsUI;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./ProductDetails";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
productId: number;
|
|
3
|
+
quantity: number;
|
|
4
|
+
isInPublicMenu?: boolean;
|
|
5
|
+
language?: string;
|
|
6
|
+
onModalClose: () => void;
|
|
7
|
+
removeAllProductVariants: (productId: number) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const ProductInOrder: ({ productId, quantity, isInPublicMenu, language, removeAllProductVariants, onModalClose, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default ProductInOrder;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./ProductInOrder";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SIZE } from "@sorocraft/ui";
|
|
2
|
+
import { models as orderModels } from "src/modules/order";
|
|
3
|
+
interface Props {
|
|
4
|
+
productId: number;
|
|
5
|
+
variantId?: number;
|
|
6
|
+
selectedAddons?: orderModels.SelectedAddons;
|
|
7
|
+
min?: number;
|
|
8
|
+
size?: SIZE;
|
|
9
|
+
isDisabled: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const ProductQuantity: ({ productId, variantId, min, size, selectedAddons, isDisabled, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default ProductQuantity;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./ProductQuantity";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { models as productModels } from "src/modules/product";
|
|
2
|
+
interface Props {
|
|
3
|
+
product: Pick<productModels.Product, "variants" | "vat">;
|
|
4
|
+
selectedVariant: number;
|
|
5
|
+
focusedSection: string;
|
|
6
|
+
language: string;
|
|
7
|
+
currency: string;
|
|
8
|
+
onSelectVariant: (id: number) => void;
|
|
9
|
+
}
|
|
10
|
+
declare const ProductVariants: ({ product, selectedVariant, focusedSection, language, currency, onSelectVariant, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default ProductVariants;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./ProductVariants";
|