tabexseriescomponents 0.0.348 → 0.0.349
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +675 -875
- package/dist/index.esm.js +676 -876
- package/dist/index.umd.js +677 -875
- package/package.json +1 -1
- package/srclibrary.zip +0 -0
package/dist/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/assertThisInitialized'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('@react-icons/all-files/fa/FaFacebookF'), require('@react-icons/all-files/ai/AiOutlineUser'), require('@react-icons/all-files/io/IoMdClose'), require('react-bootstrap'), require('imagekitio-react'), require('react-image-gallery'), require('@react-icons/all-files/md/MdAddShoppingCart'), require('@react-icons/all-files/io5/IoBagHandleOutline'), require('@react-icons/all-files/bs/BsBag'), require('@react-icons/all-files/cg/CgShoppingBag'), require('@react-icons/all-files/fa/FaRegHeart'), require('@react-icons/all-files/fa/FaHeart'), require('@react-icons/all-files/fi/FiShoppingBag'), require('@react-icons/all-files/fi/FiShoppingCart'), require('@react-icons/all-files/ai/AiFillStar'), require('@react-icons/all-files/ai/AiOutlineStar'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'imagekitio-react', 'react-image-gallery', '@react-icons/all-files/md/MdAddShoppingCart', '@react-icons/all-files/io5/IoBagHandleOutline', '@react-icons/all-files/bs/BsBag', '@react-icons/all-files/cg/CgShoppingBag', '@react-icons/all-files/fa/FaRegHeart', '@react-icons/all-files/fa/FaHeart', '@react-icons/all-files/fi/FiShoppingBag', '@react-icons/all-files/fi/FiShoppingCart', '@react-icons/all-files/ai/AiFillStar', '@react-icons/all-files/ai/AiOutlineStar', '
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, global.imagekitioReact, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart$1, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar$1, global.AiOutlineStar, global.
|
|
5
|
-
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, imagekitioReact, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart$1, FiShoppingBag, FiShoppingCart, AiFillStar$1, AiOutlineStar,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/assertThisInitialized'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('@react-icons/all-files/fa/FaFacebookF'), require('@react-icons/all-files/ai/AiOutlineUser'), require('@react-icons/all-files/io/IoMdClose'), require('react-bootstrap'), require('imagekitio-react'), require('react-image-gallery'), require('@react-icons/all-files/md/MdAddShoppingCart'), require('@react-icons/all-files/io5/IoBagHandleOutline'), require('@react-icons/all-files/bs/BsBag'), require('@react-icons/all-files/cg/CgShoppingBag'), require('@react-icons/all-files/fa/FaRegHeart'), require('@react-icons/all-files/fa/FaHeart'), require('@react-icons/all-files/fi/FiShoppingBag'), require('@react-icons/all-files/fi/FiShoppingCart'), require('@react-icons/all-files/ai/AiFillStar'), require('@react-icons/all-files/ai/AiOutlineStar'), require('react-share'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('@babel/runtime/helpers/toConsumableArray'), require('react-textarea-autosize'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-horizontal-scrolling-menu'), require('@mui/material'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineMail'), require('@react-icons/all-files/fa/FaShippingFast'), require('@react-icons/all-files/ri/RiSecurePaymentLine'), require('@react-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fa/FaStar'), require('@react-icons/all-files/io5/IoLocationSharp'), require('@react-icons/all-files/hi/HiOutlineChevronRight'), require('@react-icons/all-files/hi/HiOutlineChevronLeft'), require('@react-icons/all-files/go/GoGlobe'), require('@react-icons/all-files/vsc/VscGlobe'), require('@react-icons/all-files/hi/HiOutlineTrash'), require('@react-icons/all-files/bi/BiSad'), require('@react-icons/all-files/fi/FiCalendar'), require('react-bootstrap/Dropdown'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('react-phone-input-2'), require('@react-icons/all-files/bs/BsChevronLeft'), require('@react-icons/all-files/bs/BsChevronRight'), require('@react-icons/all-files/ri/RiArrowUpSLine'), require('@react-icons/all-files/ri/RiArrowDownSLine'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), require('react-accessible-accordion'), require('@react-icons/all-files/fi/FiChevronUp'), require('@react-icons/all-files/fi/FiChevronDown'), require('@react-icons/all-files/hi/HiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineMinus'), require('react-router-dom'), require('react-query'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('react-input-range'), require('react-intersection-observer'), require('@react-icons/all-files/fi/FiFilter'), require('@react-icons/all-files/fi/FiChevronLeft'), require('@react-icons/all-files/fi/FiChevronRight'), require('@react-icons/all-files/hi/HiOutlineArrowRight'), require('@react-icons/all-files/hi/HiOutlineArrowLeft'), require('react-paginate'), require('@react-icons/all-files/fa/FaFacebook'), require('@react-icons/all-files/ai/AiFillInstagram'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/md/MdKeyboardArrowDown'), require('@react-icons/all-files/fa/FaMoneyBillWave'), require('@react-icons/all-files/bi/BiLogOutCircle'), require('@react-icons/all-files/bi/BiChevronDown'), require('@react-icons/all-files/bi/BiUser'), require('@react-icons/all-files/ai/AiOutlineLogin'), require('@react-icons/all-files/ai/AiOutlineUserAdd'), require('@react-icons/all-files/ri/RiSearchLine'), require('@react-icons/all-files/cg/CgMenuLeft'), require('@react-icons/all-files/cg/CgMenuRight'), require('@react-icons/all-files/hi/HiOutlineShoppingBag'), require('@react-icons/all-files/ri/RiHandbagLine'), require('@react-icons/all-files/ai/AiOutlineClose'), require('@react-icons/all-files/vsc/VscMenu'), require('@react-icons/all-files/vsc/VscHeart'), require('@react-icons/all-files/io5/IoSearchOutline'), require('@react-icons/all-files/ai/AiFillYoutube'), require('@react-icons/all-files/io5/IoLogoTiktok'), require('@react-icons/all-files/fi/FiMenu'), require('@react-icons/all-files/bi/BiSearch'), require('@react-icons/all-files/fi/FiUser'), require('@react-icons/all-files/ai/AiOutlineHeart'), require('@react-icons/all-files/fi/FiPhone'), require('@react-icons/all-files/hi/HiMenuAlt4'), require('@react-icons/all-files/fi/FiSearch'), require('@react-icons/all-files/bs/BsSearch'), require('@react-icons/all-files/go/GoSearch'), require('@react-icons/all-files/ai/AiOutlineInstagram'), require('@react-icons/all-files/bs/BsChevronDown'), require('@react-icons/all-files/ri/RiUserSettingsLine'), require('@react-icons/all-files/io5/IoClose'), require('@react-icons/all-files/hi/HiUserCircle'), require('@react-icons/all-files/md/MdKeyboardArrowUp'), require('@react-icons/all-files/bs/BsInfoCircle'), require('@react-icons/all-files/ai/AiFillPhone'), require('@react-icons/all-files/fa/FaTelegramPlane'), require('@react-icons/all-files/fa/FaPhoneAlt'), require('@react-icons/all-files/fa/FaPhone'), require('@react-icons/all-files/ai/AiOutlinePhone'), require('@react-icons/all-files/bi/BiUserCircle'), require('@react-icons/all-files/go/GoLocation'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('@react-icons/all-files/ai/AiOutlineLinkedin'), require('@react-icons/all-files/fa/FaArrowAltCircleRight'), require('@react-icons/all-files/fa/FaArrowAltCircleLeft'), require('react-select'), require('react-player'), require('react-background-slideshow'), require('@babel/runtime/helpers/extends'), require('react-slideshow-image'), require('@react-icons/all-files/hi/HiOutlineLocationMarker'), require('@react-icons/all-files/fi/FiPhoneCall'), require('@react-icons/all-files/fa/FaRegEye'), require('@react-icons/all-files/bs/BsArrowRight'), require('@react-icons/all-files/bs/BsArrowLeft'), require('@react-icons/all-files/bs/BsEye'), require('@react-icons/all-files/bi/BiTimeFive'), require('@react-icons/all-files/io/IoIosArrowUp')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'imagekitio-react', 'react-image-gallery', '@react-icons/all-files/md/MdAddShoppingCart', '@react-icons/all-files/io5/IoBagHandleOutline', '@react-icons/all-files/bs/BsBag', '@react-icons/all-files/cg/CgShoppingBag', '@react-icons/all-files/fa/FaRegHeart', '@react-icons/all-files/fa/FaHeart', '@react-icons/all-files/fi/FiShoppingBag', '@react-icons/all-files/fi/FiShoppingCart', '@react-icons/all-files/ai/AiFillStar', '@react-icons/all-files/ai/AiOutlineStar', 'react-share', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', '@babel/runtime/helpers/toConsumableArray', 'react-textarea-autosize', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-horizontal-scrolling-menu', '@mui/material', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineMail', '@react-icons/all-files/fa/FaShippingFast', '@react-icons/all-files/ri/RiSecurePaymentLine', '@react-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fa/FaStar', '@react-icons/all-files/io5/IoLocationSharp', '@react-icons/all-files/hi/HiOutlineChevronRight', '@react-icons/all-files/hi/HiOutlineChevronLeft', '@react-icons/all-files/go/GoGlobe', '@react-icons/all-files/vsc/VscGlobe', '@react-icons/all-files/hi/HiOutlineTrash', '@react-icons/all-files/bi/BiSad', '@react-icons/all-files/fi/FiCalendar', 'react-bootstrap/Dropdown', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', 'react-phone-input-2', '@react-icons/all-files/bs/BsChevronLeft', '@react-icons/all-files/bs/BsChevronRight', '@react-icons/all-files/ri/RiArrowUpSLine', '@react-icons/all-files/ri/RiArrowDownSLine', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', 'react-accessible-accordion', '@react-icons/all-files/fi/FiChevronUp', '@react-icons/all-files/fi/FiChevronDown', '@react-icons/all-files/hi/HiOutlinePlus', '@react-icons/all-files/ai/AiOutlineMinus', 'react-router-dom', 'react-query', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-input-range', 'react-intersection-observer', '@react-icons/all-files/fi/FiFilter', '@react-icons/all-files/fi/FiChevronLeft', '@react-icons/all-files/fi/FiChevronRight', '@react-icons/all-files/hi/HiOutlineArrowRight', '@react-icons/all-files/hi/HiOutlineArrowLeft', 'react-paginate', '@react-icons/all-files/fa/FaFacebook', '@react-icons/all-files/ai/AiFillInstagram', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/md/MdKeyboardArrowDown', '@react-icons/all-files/fa/FaMoneyBillWave', '@react-icons/all-files/bi/BiLogOutCircle', '@react-icons/all-files/bi/BiChevronDown', '@react-icons/all-files/bi/BiUser', '@react-icons/all-files/ai/AiOutlineLogin', '@react-icons/all-files/ai/AiOutlineUserAdd', '@react-icons/all-files/ri/RiSearchLine', '@react-icons/all-files/cg/CgMenuLeft', '@react-icons/all-files/cg/CgMenuRight', '@react-icons/all-files/hi/HiOutlineShoppingBag', '@react-icons/all-files/ri/RiHandbagLine', '@react-icons/all-files/ai/AiOutlineClose', '@react-icons/all-files/vsc/VscMenu', '@react-icons/all-files/vsc/VscHeart', '@react-icons/all-files/io5/IoSearchOutline', '@react-icons/all-files/ai/AiFillYoutube', '@react-icons/all-files/io5/IoLogoTiktok', '@react-icons/all-files/fi/FiMenu', '@react-icons/all-files/bi/BiSearch', '@react-icons/all-files/fi/FiUser', '@react-icons/all-files/ai/AiOutlineHeart', '@react-icons/all-files/fi/FiPhone', '@react-icons/all-files/hi/HiMenuAlt4', '@react-icons/all-files/fi/FiSearch', '@react-icons/all-files/bs/BsSearch', '@react-icons/all-files/go/GoSearch', '@react-icons/all-files/ai/AiOutlineInstagram', '@react-icons/all-files/bs/BsChevronDown', '@react-icons/all-files/ri/RiUserSettingsLine', '@react-icons/all-files/io5/IoClose', '@react-icons/all-files/hi/HiUserCircle', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/fa/FaTelegramPlane', '@react-icons/all-files/fa/FaPhoneAlt', '@react-icons/all-files/fa/FaPhone', '@react-icons/all-files/ai/AiOutlinePhone', '@react-icons/all-files/bi/BiUserCircle', '@react-icons/all-files/go/GoLocation', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', '@react-icons/all-files/ai/AiOutlineLinkedin', '@react-icons/all-files/fa/FaArrowAltCircleRight', '@react-icons/all-files/fa/FaArrowAltCircleLeft', 'react-select', 'react-player', 'react-background-slideshow', '@babel/runtime/helpers/extends', 'react-slideshow-image', '@react-icons/all-files/hi/HiOutlineLocationMarker', '@react-icons/all-files/fi/FiPhoneCall', '@react-icons/all-files/fa/FaRegEye', '@react-icons/all-files/bs/BsArrowRight', '@react-icons/all-files/bs/BsArrowLeft', '@react-icons/all-files/bs/BsEye', '@react-icons/all-files/bi/BiTimeFive', '@react-icons/all-files/io/IoIosArrowUp'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, global.imagekitioReact, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart$1, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar$1, global.AiOutlineStar, global.reactShare, global.FiMinus, global.FiPlus, global.ReactStars, global.FiLayers, global._toConsumableArray, global.TextareaAutosize, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.material, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.HiOutlineTrash, global.BiSad, global.FiCalendar, global.Dropdown, global._asyncToGenerator, global._regeneratorRuntime, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.BsChevronLeft, global.BsChevronRight, null, null, global.IoIosArrowRoundForward, global.IoIosArrowRoundBack, global.reactAccessibleAccordion, global.FiChevronUp, global.FiChevronDown, global.HiOutlinePlus, global.AiOutlineMinus, null, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.InputRange, global.reactIntersectionObserver, global.FiFilter, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.FaFacebook, global.AiFillInstagram, global.FaWhatsapp, global.BiGlobe, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.AiOutlineClose, global.VscMenu, global.VscHeart, global.IoSearchOutline, global.AiFillYoutube, global.IoLogoTiktok, global.FiMenu, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.GoSearch, global.AiOutlineInstagram, global.BsChevronDown, global.RiUserSettingsLine, global.IoClose, global.HiUserCircle, global.MdKeyboardArrowUp, global.BsInfoCircle, global.AiFillPhone, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.AiOutlinePhone, global.BiUserCircle, global.GoLocation, global.RiRoadMapLine, global.HiOutlineClock, global.AiOutlineLinkedin, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.Select$5, global.ReactPlayer, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.FaRegEye, global.BsArrowRight, global.BsArrowLeft, global.BsEye, global.BiTimeFive, global.IoIosArrowUp));
|
|
5
|
+
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, imagekitioReact, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart$1, FiShoppingBag, FiShoppingCart, AiFillStar$1, AiOutlineStar, reactShare, FiMinus, FiPlus, ReactStars, FiLayers, _toConsumableArray, TextareaAutosize, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, material, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, HiOutlineTrash, BiSad, FiCalendar, Dropdown, _asyncToGenerator, _regeneratorRuntime, HiUser, GrMail, FiCheckCircle, BiPhone, PhoneInput, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, IoIosArrowRoundForward, IoIosArrowRoundBack, reactAccessibleAccordion, FiChevronUp, FiChevronDown, HiOutlinePlus, AiOutlineMinus, reactRouterDom, reactQuery, IoBagCheckOutline, IoBagRemoveOutline, InputRange, reactIntersectionObserver, FiFilter, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, FaFacebook, AiFillInstagram, FaWhatsapp, BiGlobe, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, AiOutlineClose, VscMenu, VscHeart, IoSearchOutline, AiFillYoutube, IoLogoTiktok, FiMenu, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, GoSearch, AiOutlineInstagram, BsChevronDown, RiUserSettingsLine, IoClose, HiUserCircle, MdKeyboardArrowUp, BsInfoCircle, AiFillPhone, FaTelegramPlane, FaPhoneAlt, FaPhone, AiOutlinePhone, BiUserCircle, GoLocation, RiRoadMapLine, HiOutlineClock, AiOutlineLinkedin, FaArrowAltCircleRight, FaArrowAltCircleLeft, Select$5, ReactPlayer, BackgroundSlideshow, _extends, reactSlideshowImage, HiOutlineLocationMarker, FiPhoneCall, FaRegEye, BsArrowRight, BsArrowLeft, BsEye, BiTimeFive, IoIosArrowUp) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -2011,12 +2011,15 @@
|
|
|
2011
2011
|
function ownKeys$2n(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2012
2012
|
function _objectSpread$2n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2n(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2013
2013
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2014
|
-
var _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22,
|
|
2014
|
+
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _ProductInfoObj$data, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34;
|
|
2015
2015
|
var lang = props.actions.lang;
|
|
2016
2016
|
var langdetect = props.actions.langdetect;
|
|
2017
2017
|
var srcfromprops = props.actions.srcfromprops;
|
|
2018
|
+
props.actions.returnpolicyobj;
|
|
2018
2019
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
2019
2020
|
var addtocartfunc = props.actions.addtocartfunc;
|
|
2021
|
+
props.actions.selectproductoptionvalue;
|
|
2022
|
+
props.actions.clearchoosenvaluesbutkeepcurrentvalue;
|
|
2020
2023
|
var productimagesarray = props.actions.productimagesarray;
|
|
2021
2024
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
2022
2025
|
var sectionproperties = props.actions.sectionproperties;
|
|
@@ -2077,395 +2080,71 @@
|
|
|
2077
2080
|
}
|
|
2078
2081
|
return titlelang;
|
|
2079
2082
|
}
|
|
2080
|
-
var GalleryStyle1Section = function GalleryStyle1Section() {
|
|
2081
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2082
|
-
className: sectionproperties.maximizegalleryfullscreen == 'Yes' ? ' col-lg-12 p-0 maximize ' : 'col-lg-12 p-0',
|
|
2083
|
-
style: {
|
|
2084
|
-
width: '100%',
|
|
2085
|
-
height: 'auto'
|
|
2086
|
-
}
|
|
2087
|
-
}, productimagesarray.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2088
|
-
style: {
|
|
2089
|
-
width: '100%',
|
|
2090
|
-
height: '30vh',
|
|
2091
|
-
background: '#eee',
|
|
2092
|
-
borderRadius: 10
|
|
2093
|
-
}
|
|
2094
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2095
|
-
"class": "h-100 allcentered text-light"
|
|
2096
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
2097
|
-
size: 26
|
|
2098
|
-
}))), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2099
|
-
"class": "w-100 d-block d-md-none"
|
|
2100
|
-
}, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
|
|
2101
|
-
items: productimagesarray,
|
|
2102
|
-
thumbnailPosition: sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left',
|
|
2103
|
-
showNav: false,
|
|
2104
|
-
showPlayButton: false,
|
|
2105
|
-
showFullscreenButton: true,
|
|
2106
|
-
startIndex: currentshowingimageindex
|
|
2107
|
-
})), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2108
|
-
"class": "w-100 d-none d-md-block"
|
|
2109
|
-
}, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
|
|
2110
|
-
items: productimagesarray,
|
|
2111
|
-
thumbnailPosition: 'bottom',
|
|
2112
|
-
showNav: false,
|
|
2113
|
-
showPlayButton: false,
|
|
2114
|
-
showFullscreenButton: true,
|
|
2115
|
-
startIndex: currentshowingimageindex
|
|
2116
|
-
})));
|
|
2117
|
-
};
|
|
2118
|
-
var ProductNameSection = function ProductNameSection() {
|
|
2119
|
-
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2120
|
-
className: srcfromprops == 'templatedraftrouter' ? "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ' : "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 ',
|
|
2121
|
-
onClick: function onClick() {
|
|
2122
|
-
if (srcfromprops == 'templatedraftrouter') {
|
|
2123
|
-
routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
2124
|
-
}
|
|
2125
|
-
},
|
|
2126
|
-
style: {
|
|
2127
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2128
|
-
}
|
|
2129
|
-
}, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar);
|
|
2130
|
-
};
|
|
2131
|
-
var SKUSection = function SKUSection() {
|
|
2132
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2;
|
|
2133
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2134
|
-
"class": sectionproperties.availabilitybtnposition == 'Under SKU' && sectionproperties.show_availability == 'Show' ? 'row m-0 w-100 mt-3' : 'row m-0 w-100'
|
|
2135
|
-
}, sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2136
|
-
"class": sectionproperties.availabilitybtnposition == 'Under SKU' && sectionproperties.show_availability == 'Show' ? 'col-lg-12 p-0 mb-1 d-flex justify-content-start' : sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
2137
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2138
|
-
"class": "m-0 p-0 d-flex justify-content-start"
|
|
2139
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2140
|
-
style: {
|
|
2141
|
-
color: sectionproperties.skuColor,
|
|
2142
|
-
fontWeight: sectionproperties.skuFontWeight,
|
|
2143
|
-
fontSize: sectionproperties.skuFontSize + 'px',
|
|
2144
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2145
|
-
}
|
|
2146
|
-
}, langdetect == 'en' ? sectionproperties.skutitleEn : sectionproperties.skutitleAr, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2147
|
-
"class": "ml-1 mr-1",
|
|
2148
|
-
style: {
|
|
2149
|
-
color: '#7e859b',
|
|
2150
|
-
fontWeight: sectionproperties.skuSecondaryFontWeight,
|
|
2151
|
-
fontSize: sectionproperties.skuFontSize + 'px',
|
|
2152
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2153
|
-
}
|
|
2154
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.sku))), sectionproperties.availabilitybtnposition == 'Under SKU' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2155
|
-
"class": 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
2156
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2157
|
-
"class": "m-0 p-0 d-flex justify-content-start"
|
|
2158
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2159
|
-
style: {
|
|
2160
|
-
fontSize: sectionproperties.availability_fontsize + 'px',
|
|
2161
|
-
color: sectionproperties.availability_textcolor,
|
|
2162
|
-
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2163
|
-
fontWeight: sectionproperties.skuFontWeight
|
|
2164
|
-
}
|
|
2165
|
-
}, lang.availability, ":"), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2166
|
-
"class": "ml-1 mr-1",
|
|
2167
|
-
style: {
|
|
2168
|
-
color: fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? sectionproperties.availability_availabletextcolor : sectionproperties.availability_limitedtextcolor,
|
|
2169
|
-
fontSize: sectionproperties.availability_fontsize + 'px',
|
|
2170
|
-
fontWeight: sectionproperties.skuSecondaryFontWeight,
|
|
2171
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2172
|
-
}
|
|
2173
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.instock : lang.limitedquantity))));
|
|
2174
|
-
};
|
|
2175
2083
|
var ShareButtonsContainer = function ShareButtonsContainer() {
|
|
2176
2084
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2177
2085
|
"class": "row m-0 w-100"
|
|
2178
2086
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2179
2087
|
"class": "col-lg-12 d-flex justify-content-center flex-column align-items-center p-0"
|
|
2180
2088
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2181
|
-
"class": "m-0 p-0
|
|
2089
|
+
"class": "m-0 p-0",
|
|
2182
2090
|
style: {
|
|
2183
2091
|
fontWeight: sectionproperties.sharebtn_FontWeight,
|
|
2184
2092
|
color: sectionproperties.sharebtn_color,
|
|
2185
|
-
fontSize: sectionproperties.sharebtn_fontSize + 'px'
|
|
2186
|
-
textAlign: sectionproperties.sharecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
2093
|
+
fontSize: sectionproperties.sharebtn_fontSize + 'px'
|
|
2187
2094
|
}
|
|
2188
2095
|
}, langdetect == 'en' ? sectionproperties.sharebtn_contentEn : sectionproperties.sharebtn_contentAr), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2189
|
-
className: "Demo__container w-100 m-0
|
|
2190
|
-
style: {
|
|
2191
|
-
justifyContent: srcfromprops != 'templatedraftrouter' ? 'start' : sectionproperties.sharecentered == 'Centered' ? 'center' : 'start'
|
|
2192
|
-
}
|
|
2096
|
+
className: "Demo__container w-100 m-0 allcentered mt-3"
|
|
2193
2097
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2194
|
-
className: "Demo__some-network ml-2 mr-2
|
|
2098
|
+
className: "Demo__some-network ml-2 mr-2"
|
|
2195
2099
|
}, /*#__PURE__*/React__default["default"].createElement(reactShare.FacebookShareButton, {
|
|
2196
2100
|
url: shareUrl,
|
|
2197
2101
|
quote: title,
|
|
2198
|
-
className: "Demo__some-network__share-button
|
|
2199
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
2203
|
-
|
|
2204
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, null))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2205
|
-
className: "Demo__some-network ml-2 mr-2 allcentered"
|
|
2102
|
+
className: "Demo__some-network__share-button"
|
|
2103
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactShare.FacebookIcon, {
|
|
2104
|
+
size: 40,
|
|
2105
|
+
round: true
|
|
2106
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2107
|
+
className: "Demo__some-network ml-2 mr-2"
|
|
2206
2108
|
}, /*#__PURE__*/React__default["default"].createElement(reactShare.TwitterShareButton, {
|
|
2207
2109
|
url: shareUrl,
|
|
2208
2110
|
title: title,
|
|
2209
|
-
className: "Demo__some-network__share-button
|
|
2210
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
2214
|
-
"class": "h-100 allcentered"
|
|
2215
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineTwitter.AiOutlineTwitter, {
|
|
2216
|
-
size: 16
|
|
2217
|
-
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2111
|
+
className: "Demo__some-network__share-button"
|
|
2112
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactShare.TwitterIcon, {
|
|
2113
|
+
size: 40,
|
|
2114
|
+
round: true
|
|
2115
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2218
2116
|
className: "Demo__some-network ml-2 mr-2"
|
|
2219
2117
|
}, /*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappShareButton, {
|
|
2220
2118
|
url: shareUrl,
|
|
2221
2119
|
title: title,
|
|
2222
2120
|
separator: ":: ",
|
|
2223
2121
|
className: "Demo__some-network__share-button"
|
|
2224
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
2228
|
-
"class": "h-100 allcentered"
|
|
2229
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
2230
|
-
size: 16
|
|
2231
|
-
}))))), sectionproperties.showsharelinkedin == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2122
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappIcon, {
|
|
2123
|
+
size: 40,
|
|
2124
|
+
round: true
|
|
2125
|
+
}))), sectionproperties.showsharelinkedin == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2232
2126
|
className: "Demo__some-network ml-2 mr-2"
|
|
2233
2127
|
}, /*#__PURE__*/React__default["default"].createElement(reactShare.LinkedinShareButton, {
|
|
2234
2128
|
url: shareUrl,
|
|
2235
2129
|
title: title,
|
|
2236
2130
|
separator: ":: ",
|
|
2237
2131
|
className: "Demo__some-network__share-button"
|
|
2238
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2242
|
-
"class": "h-100 allcentered"
|
|
2243
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, null))))))));
|
|
2244
|
-
};
|
|
2245
|
-
var Quantitybtn_Cartbtn_Favbottombtn = function Quantitybtn_Cartbtn_Favbottombtn() {
|
|
2246
|
-
var _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer11, _fetchProductInfoQuer12;
|
|
2247
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2248
|
-
"class": "col-lg-12 p-0"
|
|
2249
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2250
|
-
"class": "row m-0 w-100 d-flex align-items-center",
|
|
2251
|
-
style: {
|
|
2252
|
-
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
2253
|
-
}
|
|
2254
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2255
|
-
className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2256
|
-
style: {
|
|
2257
|
-
height: sectionproperties.quantitybtn_height + 'px',
|
|
2258
|
-
width: sectionproperties.quantitybtn_width + 'px',
|
|
2259
|
-
flexDirection: 'row',
|
|
2260
|
-
direction: 'ltr'
|
|
2261
|
-
}
|
|
2262
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2263
|
-
className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
2264
|
-
onClick: function onClick() {
|
|
2265
|
-
var tempaddtocardpayloadobj = _objectSpread$2n({}, addtocardpayloadobj);
|
|
2266
|
-
if (tempaddtocardpayloadobj.quantity > 0) {
|
|
2267
|
-
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
|
|
2268
|
-
}
|
|
2269
|
-
setaddtocardpayloadobj(_objectSpread$2n({}, tempaddtocardpayloadobj));
|
|
2270
|
-
}
|
|
2271
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2272
|
-
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
|
|
2273
|
-
style: {
|
|
2274
|
-
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px'
|
|
2275
|
-
}
|
|
2276
|
-
}, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
2277
|
-
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
2278
|
-
}))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2279
|
-
className: "".concat(productinfo_cssstyles.quantitybtn_text)
|
|
2280
|
-
}, addtocardpayloadobj.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2281
|
-
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
2282
|
-
onClick: function onClick() {
|
|
2283
|
-
var tempaddtocardpayloadobj = _objectSpread$2n({}, addtocardpayloadobj);
|
|
2284
|
-
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
|
|
2285
|
-
setaddtocardpayloadobj(_objectSpread$2n({}, tempaddtocardpayloadobj));
|
|
2286
|
-
}
|
|
2287
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2288
|
-
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'
|
|
2289
|
-
// className="fa fa-chevron-up"
|
|
2290
|
-
,
|
|
2291
|
-
style: {
|
|
2292
|
-
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px'
|
|
2293
|
-
}
|
|
2294
|
-
}, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
2295
|
-
size: sectionproperties.add_quantitybtn_textfontsize
|
|
2296
|
-
})))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2297
|
-
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2298
|
-
onClick: function onClick() {
|
|
2299
|
-
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2300
|
-
var _fetchProductInfoQuer6;
|
|
2301
|
-
window.open('tel:' + ((_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.product_phonenumber), '_blank');
|
|
2302
|
-
} else {
|
|
2303
|
-
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2304
|
-
addtocartfunc();
|
|
2305
|
-
} else {
|
|
2306
|
-
NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
2307
|
-
}
|
|
2308
|
-
}
|
|
2309
|
-
},
|
|
2310
|
-
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
2311
|
-
}, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2312
|
-
className: ' d-flex align-items-center justify-content-center '
|
|
2313
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2314
|
-
className: langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
|
|
2315
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
2316
|
-
className: "",
|
|
2317
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
2318
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
2319
|
-
className: "",
|
|
2320
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
2321
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
2322
|
-
className: "",
|
|
2323
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
2324
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
|
|
2325
|
-
className: "",
|
|
2326
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
2327
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
2328
|
-
className: "",
|
|
2329
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
2330
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
2331
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
2332
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2333
|
-
className: ' d-flex align-items-center justify-content-center '
|
|
2334
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
2335
|
-
color: "white",
|
|
2336
|
-
width: "20px",
|
|
2337
|
-
height: "20px",
|
|
2338
|
-
duration: "1s"
|
|
2339
|
-
}))), sectionproperties.btnposition == 'Bottom' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2340
|
-
className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 ',
|
|
2341
|
-
onClick: function onClick() {
|
|
2342
|
-
addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
2343
|
-
},
|
|
2344
|
-
style: {
|
|
2345
|
-
background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
2346
|
-
}
|
|
2347
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2348
|
-
className: "h-100 d-flex align-items-center justify-content-center"
|
|
2349
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2350
|
-
className: "h-100 d-flex align-items-center justify-content-center"
|
|
2351
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
2352
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
2353
|
-
style: {
|
|
2354
|
-
color: sectionproperties.activefaviconcolor
|
|
2355
|
-
}
|
|
2356
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
|
|
2357
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
2358
|
-
style: {
|
|
2359
|
-
color: sectionproperties.activefaviconcolor
|
|
2360
|
-
}
|
|
2361
|
-
})), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2362
|
-
className: "h-100 d-flex align-items-center justify-content-center"
|
|
2363
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
2364
|
-
size: sectionproperties.favBtnIconfontsize
|
|
2365
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
2366
|
-
size: sectionproperties.favBtnIconfontsize
|
|
2367
|
-
}))), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2368
|
-
"class": "m-0 p-0",
|
|
2369
|
-
style: {
|
|
2370
|
-
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
2371
|
-
}
|
|
2372
|
-
}, langdetect == 'en' ? sectionproperties.favbtncontent_en : sectionproperties.favbtncontent_ar), fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2373
|
-
"class": "m-0 p-0",
|
|
2374
|
-
style: {
|
|
2375
|
-
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
2376
|
-
}
|
|
2377
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2378
|
-
"class": "row m-0 w-100 mt-3",
|
|
2379
|
-
style: {
|
|
2380
|
-
overflow: 'hidden'
|
|
2381
|
-
}
|
|
2382
|
-
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2383
|
-
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2384
|
-
style: {
|
|
2385
|
-
width: sectionproperties.cartBtnWidth + '%'
|
|
2386
|
-
},
|
|
2387
|
-
onClick: function onClick() {
|
|
2388
|
-
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2389
|
-
var _fetchProductInfoQuer10;
|
|
2390
|
-
window.open('tel:' + ((_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.product_phonenumber), '_blank');
|
|
2391
|
-
} else {
|
|
2392
|
-
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2393
|
-
addtocartfunc();
|
|
2394
|
-
} else {
|
|
2395
|
-
NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
2396
|
-
}
|
|
2397
|
-
}
|
|
2398
|
-
},
|
|
2399
|
-
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
2400
|
-
}, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2401
|
-
className: ' d-flex align-items-center justify-content-center '
|
|
2402
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2403
|
-
className: langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
|
|
2404
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
2405
|
-
className: "",
|
|
2406
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
2407
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
2408
|
-
className: "",
|
|
2409
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
2410
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
2411
|
-
className: "",
|
|
2412
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
2413
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
|
|
2414
|
-
className: "",
|
|
2415
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
2416
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
2417
|
-
className: "",
|
|
2418
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
2419
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
2420
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
2421
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2422
|
-
className: ' d-flex align-items-center justify-content-center '
|
|
2423
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
2424
|
-
color: "white",
|
|
2425
|
-
width: "20px",
|
|
2426
|
-
height: "20px",
|
|
2427
|
-
duration: "1s"
|
|
2428
|
-
}))), sectionproperties.btnposition == 'Besides Cart Button' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2429
|
-
className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',
|
|
2430
|
-
onClick: function onClick() {
|
|
2431
|
-
addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
2432
|
-
},
|
|
2433
|
-
style: {
|
|
2434
|
-
background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
2435
|
-
}
|
|
2436
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2437
|
-
className: "h-100 d-flex align-items-center justify-content-center"
|
|
2438
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2439
|
-
className: "h-100 d-flex align-items-center justify-content-center"
|
|
2440
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
2441
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
2442
|
-
style: {
|
|
2443
|
-
color: sectionproperties.activefaviconcolor
|
|
2444
|
-
}
|
|
2445
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
|
|
2446
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
2447
|
-
style: {
|
|
2448
|
-
color: sectionproperties.activefaviconcolor
|
|
2449
|
-
}
|
|
2450
|
-
})), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2451
|
-
className: "h-100 d-flex align-items-center justify-content-center"
|
|
2452
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
2453
|
-
size: sectionproperties.favBtnIconfontsize
|
|
2454
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
2455
|
-
size: sectionproperties.favBtnIconfontsize
|
|
2132
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactShare.LinkedinIcon, {
|
|
2133
|
+
size: 40,
|
|
2134
|
+
round: true
|
|
2456
2135
|
}))))));
|
|
2457
2136
|
};
|
|
2458
2137
|
// {fetchProductInfoQueryContext.data.data.productinfo.hassale == 0
|
|
2459
2138
|
// ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2)
|
|
2460
2139
|
// : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)}
|
|
2461
2140
|
React.useEffect(function () {
|
|
2462
|
-
var
|
|
2141
|
+
var _fetchProductInfoQuer;
|
|
2463
2142
|
var totalprice = '';
|
|
2464
2143
|
if (variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0) {
|
|
2465
2144
|
totalprice = parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2);
|
|
2466
2145
|
} else if (variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1) {
|
|
2467
2146
|
totalprice = parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2);
|
|
2468
|
-
} else if (variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2147
|
+
} else if (variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.variants[variantindexcompleted]) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.hassale) == 1) {
|
|
2469
2148
|
totalprice = parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2);
|
|
2470
2149
|
} else {
|
|
2471
2150
|
totalprice = parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2);
|
|
@@ -2481,13 +2160,13 @@
|
|
|
2481
2160
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2482
2161
|
"class": ' col-lg-12 p-0 '
|
|
2483
2162
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2484
|
-
"class":
|
|
2163
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
2485
2164
|
style: {
|
|
2486
2165
|
minHeight: sectionproperties.height + 'vh'
|
|
2487
2166
|
}
|
|
2488
2167
|
}, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2489
2168
|
"class": "w-100 scrollhorizontalwithscrollbar"
|
|
2490
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2169
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productimages) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.productimages.map(function (item, index) {
|
|
2491
2170
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2492
2171
|
"class": ' scrollhorizontalcard mx-2 ',
|
|
2493
2172
|
style: {
|
|
@@ -2518,17 +2197,60 @@
|
|
|
2518
2197
|
className: 'row m-0 w-100'
|
|
2519
2198
|
}, sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2520
2199
|
className: "col-xl-5 col-lg-4 col-md-12 col-sm-12 mb-md-3 pb-md-4 pl-1 pr-1"
|
|
2521
|
-
},
|
|
2200
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2201
|
+
className: sectionproperties.maximizegalleryfullscreen == 'Yes' ? ' col-lg-12 p-0 maximize ' : 'col-lg-12 p-0',
|
|
2202
|
+
style: {
|
|
2203
|
+
width: '100%',
|
|
2204
|
+
height: 'auto'
|
|
2205
|
+
}
|
|
2206
|
+
}, productimagesarray.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2207
|
+
style: {
|
|
2208
|
+
width: '100%',
|
|
2209
|
+
height: '30vh',
|
|
2210
|
+
background: '#eee',
|
|
2211
|
+
borderRadius: 10
|
|
2212
|
+
}
|
|
2213
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2214
|
+
"class": "h-100 allcentered text-light"
|
|
2215
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
2216
|
+
size: 26
|
|
2217
|
+
}))), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2218
|
+
"class": "w-100 d-block d-md-none"
|
|
2219
|
+
}, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
|
|
2220
|
+
items: productimagesarray,
|
|
2221
|
+
thumbnailPosition: sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left',
|
|
2222
|
+
showNav: false,
|
|
2223
|
+
showPlayButton: false,
|
|
2224
|
+
showFullscreenButton: true,
|
|
2225
|
+
startIndex: currentshowingimageindex
|
|
2226
|
+
})), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2227
|
+
"class": "w-100 d-none d-md-block"
|
|
2228
|
+
}, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
|
|
2229
|
+
items: productimagesarray,
|
|
2230
|
+
thumbnailPosition: 'bottom',
|
|
2231
|
+
showNav: false,
|
|
2232
|
+
showPlayButton: false,
|
|
2233
|
+
showFullscreenButton: true,
|
|
2234
|
+
startIndex: currentshowingimageindex
|
|
2235
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2522
2236
|
className: sectionproperties.gallerystyle == 'Style 1' ? langdetect == 'en' ? 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-4 pr-0 p-md-0' : 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-0 pr-4 p-md-0' : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
|
|
2523
2237
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2524
2238
|
className: "row m-0 w-100"
|
|
2525
2239
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2526
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2527
|
-
},
|
|
2240
|
+
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
|
|
2241
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2242
|
+
className: "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ',
|
|
2243
|
+
onClick: function onClick() {
|
|
2244
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
2245
|
+
},
|
|
2246
|
+
style: {
|
|
2247
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2248
|
+
}
|
|
2249
|
+
}, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2528
2250
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
2529
2251
|
}, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
|
|
2530
2252
|
count: 5,
|
|
2531
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2253
|
+
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.productoverallrate,
|
|
2532
2254
|
edit: false,
|
|
2533
2255
|
size: 18,
|
|
2534
2256
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -2549,7 +2271,7 @@
|
|
|
2549
2271
|
activeColor: "#ffd700"
|
|
2550
2272
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2551
2273
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
2552
|
-
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2274
|
+
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2553
2275
|
style: {
|
|
2554
2276
|
width: sectionproperties.availability_width + 'px',
|
|
2555
2277
|
height: sectionproperties.availability_height + 'px',
|
|
@@ -2596,139 +2318,367 @@
|
|
|
2596
2318
|
size: sectionproperties.favBtnIconfontsize
|
|
2597
2319
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
2598
2320
|
size: sectionproperties.favBtnIconfontsize
|
|
2599
|
-
}))))), sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2600
|
-
"class": "col-lg-12 p-0"
|
|
2601
|
-
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2602
|
-
actions: props.actions,
|
|
2603
|
-
srcfromprops: 'undername'
|
|
2604
|
-
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2605
|
-
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
2606
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2607
|
-
"class": "m-0 p-0",
|
|
2608
|
-
style: {
|
|
2609
|
-
color: '#000'
|
|
2610
|
-
}
|
|
2611
|
-
}, langdetect == 'en' ? 'Seller' : 'البائع', ":", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2612
|
-
style: {
|
|
2613
|
-
fontWeight: 600
|
|
2614
|
-
}
|
|
2615
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2616
|
-
"class":
|
|
2617
|
-
},
|
|
2618
|
-
"class": "
|
|
2619
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2639
|
-
"class": "m-0 p-0
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
}
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
}
|
|
2679
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
},
|
|
2321
|
+
}))))), sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2322
|
+
"class": "col-lg-12 p-0"
|
|
2323
|
+
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2324
|
+
actions: props.actions,
|
|
2325
|
+
srcfromprops: 'undername'
|
|
2326
|
+
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2327
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
2328
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2329
|
+
"class": "m-0 p-0",
|
|
2330
|
+
style: {
|
|
2331
|
+
color: '#000'
|
|
2332
|
+
}
|
|
2333
|
+
}, langdetect == 'en' ? 'Seller' : 'البائع', ":", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2334
|
+
style: {
|
|
2335
|
+
fontWeight: 600
|
|
2336
|
+
}
|
|
2337
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.vendorinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2338
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
2339
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2340
|
+
"class": "m-0 p-0 d-flex justify-content-start"
|
|
2341
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2342
|
+
style: {
|
|
2343
|
+
color: sectionproperties.skuColor,
|
|
2344
|
+
fontWeight: sectionproperties.skuFontWeight,
|
|
2345
|
+
fontSize: sectionproperties.skuFontSize + 'px',
|
|
2346
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2347
|
+
}
|
|
2348
|
+
}, langdetect == 'en' ? sectionproperties.skutitleEn : sectionproperties.skutitleAr, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2349
|
+
"class": "ml-1 mr-1",
|
|
2350
|
+
style: {
|
|
2351
|
+
color: '#7e859b',
|
|
2352
|
+
fontWeight: sectionproperties.skuSecondaryFontWeight,
|
|
2353
|
+
fontSize: sectionproperties.skuFontSize + 'px',
|
|
2354
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2355
|
+
}
|
|
2356
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.sku))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.quantavailtype) == 'limit' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2357
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
2358
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2359
|
+
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
2360
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2361
|
+
"class": "m-0 p-0"
|
|
2362
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2363
|
+
"class": "mb-4 col-lg-12 allcentered",
|
|
2364
|
+
style: {
|
|
2365
|
+
width: '100%',
|
|
2366
|
+
backgroundColor: sectionproperties.deliverytimecontainerBg,
|
|
2367
|
+
paddingLeft: sectionproperties.deliverytimecontainerpaddinghorizontal + 'px',
|
|
2368
|
+
paddingRight: sectionproperties.deliverytimecontainerpaddinghorizontal + 'px',
|
|
2369
|
+
paddingTop: sectionproperties.deliverytimecontainerpaddingvertical + 'px',
|
|
2370
|
+
paddingBottom: sectionproperties.deliverytimecontainerpaddingvertical + 'px',
|
|
2371
|
+
border: sectionproperties.deliverytimecontainerborderwidth + 'px solid ' + sectionproperties.deliverytimecontainerbordercolor,
|
|
2372
|
+
borderRadius: sectionproperties.deliverytimecontainerborderradius + 'px',
|
|
2373
|
+
fontSize: sectionproperties.deliverytimecontainerfontsize + 'px',
|
|
2374
|
+
fontWeight: sectionproperties.deliverytimecontainerfontWeight,
|
|
2375
|
+
marginTop: 15
|
|
2376
|
+
}
|
|
2377
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2378
|
+
"class": "m-0 p-0 ",
|
|
2379
|
+
style: {
|
|
2380
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2381
|
+
color: sectionproperties.deliverytimecontainercolor
|
|
2382
|
+
}
|
|
2383
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.deliverydatetext)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
2384
|
+
actions: props.actions
|
|
2385
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2386
|
+
className: "row m-0 w-100 d-flex align-items-start"
|
|
2387
|
+
}, ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productoptions) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.map(function (item, index) {
|
|
2388
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2389
|
+
className: "col-lg-12 p-0 d-flex justify-content-start",
|
|
2390
|
+
style: {
|
|
2391
|
+
position: 'relative'
|
|
2392
|
+
}
|
|
2393
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2394
|
+
style: {
|
|
2395
|
+
width: 2,
|
|
2396
|
+
height: '100%',
|
|
2397
|
+
background: sectionproperties.upperseparatorbgcolor,
|
|
2398
|
+
position: 'absolute',
|
|
2399
|
+
top: 7
|
|
2400
|
+
}
|
|
2401
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2402
|
+
style: {
|
|
2403
|
+
width: 10,
|
|
2404
|
+
height: 10,
|
|
2405
|
+
background: sectionproperties.upperseparatorsecondarybgcolor,
|
|
2406
|
+
borderRadius: 100,
|
|
2407
|
+
position: 'absolute',
|
|
2408
|
+
top: 7,
|
|
2409
|
+
left: langdetect == 'en' ? -4 : '',
|
|
2410
|
+
right: langdetect == 'ar' ? -4 : ''
|
|
2411
|
+
}
|
|
2412
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2413
|
+
className: "row m-0 w-100 d-flex align-items-start pb-3",
|
|
2414
|
+
style: {
|
|
2415
|
+
paddingLeft: langdetect == 'en' ? '1rem' : 0,
|
|
2416
|
+
paddingRight: langdetect == 'ar' ? '1rem' : 0
|
|
2417
|
+
}
|
|
2418
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2419
|
+
className: ' m-0 p-0 wordbreak',
|
|
2420
|
+
style: {
|
|
2421
|
+
color: sectionproperties.varianttitle_color,
|
|
2422
|
+
fontWeight: sectionproperties.varianttitle_fontweight,
|
|
2423
|
+
textTransform: sectionproperties.varianttitle_texttransform,
|
|
2424
|
+
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
2425
|
+
}
|
|
2426
|
+
}, langdetect == 'en' ? item.optionname : item.optionname_ar, ":"), item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
|
|
2427
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2428
|
+
className: productinfostyles.variant_container + ' mr-2 variabttcontainer allcentered ',
|
|
2429
|
+
style: {
|
|
2430
|
+
backgroundColor: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.variantcontainer_bgcolor,
|
|
2431
|
+
minWidth: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'auto' : sectionproperties.variantcontainer_minwidth + 'px',
|
|
2432
|
+
height: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'auto' : sectionproperties.variantcontainer_height + 'px',
|
|
2433
|
+
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
2434
|
+
transform: 'none',
|
|
2435
|
+
cursor: 'default'
|
|
2436
|
+
}
|
|
2437
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2438
|
+
className: 'm-0 p-0 allcentered font-weight-500',
|
|
2439
|
+
style: {
|
|
2440
|
+
color: sectionproperties.variantcontainer_color,
|
|
2441
|
+
fontSize: sectionproperties.variantcontainer_fontSize + 'px'
|
|
2442
|
+
}
|
|
2443
|
+
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
2444
|
+
})));
|
|
2445
|
+
})), /*#__PURE__*/React__default["default"].createElement(Variantoptions, {
|
|
2446
|
+
actions: props.actions
|
|
2447
|
+
}), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductExtraFields, {
|
|
2448
|
+
actions: props.actions
|
|
2449
|
+
}), sectionproperties.gallerystyle == 'Style 2' && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2450
|
+
actions: props.actions
|
|
2451
|
+
}), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2452
|
+
className: "col-lg-12 p-0 mb-3"
|
|
2453
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
2454
|
+
className: "mb-0 mt-2"
|
|
2455
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2456
|
+
className: "col-lg-12 p-0 mb-3",
|
|
2457
|
+
style: {
|
|
2458
|
+
display: sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'none' : 'flex'
|
|
2459
|
+
}
|
|
2460
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2461
|
+
className: "row m-0 w-100 d-flex align-items-center"
|
|
2462
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2463
|
+
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
2464
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2465
|
+
className: "m-0 p-0",
|
|
2466
|
+
style: {
|
|
2467
|
+
color: sectionproperties.generaltext_fontColor,
|
|
2468
|
+
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
2469
|
+
textTransform: sectionproperties.generaltext_textTransform,
|
|
2470
|
+
fontWeight: sectionproperties.generaltext_fontWeight
|
|
2471
|
+
}
|
|
2472
|
+
}, lang.quantity, ":")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2473
|
+
"class": "col-lg-12 p-0"
|
|
2474
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2475
|
+
"class": "row m-0 w-100 d-flex align-items-center",
|
|
2476
|
+
style: {
|
|
2477
|
+
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
2478
|
+
}
|
|
2479
|
+
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2480
|
+
className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2481
|
+
style: {
|
|
2482
|
+
height: sectionproperties.quantitybtn_height + 'px',
|
|
2483
|
+
width: sectionproperties.quantitybtn_width + 'px',
|
|
2484
|
+
flexDirection: 'row',
|
|
2485
|
+
direction: 'ltr'
|
|
2486
|
+
}
|
|
2487
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2488
|
+
className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
2489
|
+
onClick: function onClick() {
|
|
2490
|
+
var tempaddtocardpayloadobj = _objectSpread$2n({}, addtocardpayloadobj);
|
|
2491
|
+
if (tempaddtocardpayloadobj.quantity > 0) {
|
|
2492
|
+
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
|
|
2493
|
+
}
|
|
2494
|
+
setaddtocardpayloadobj(_objectSpread$2n({}, tempaddtocardpayloadobj));
|
|
2495
|
+
}
|
|
2496
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2497
|
+
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
|
|
2498
|
+
style: {
|
|
2499
|
+
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px'
|
|
2500
|
+
}
|
|
2501
|
+
}, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
2502
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
2503
|
+
}))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2504
|
+
className: "".concat(productinfo_cssstyles.quantitybtn_text)
|
|
2505
|
+
}, addtocardpayloadobj.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2506
|
+
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
2507
|
+
onClick: function onClick() {
|
|
2508
|
+
var tempaddtocardpayloadobj = _objectSpread$2n({}, addtocardpayloadobj);
|
|
2509
|
+
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
|
|
2510
|
+
setaddtocardpayloadobj(_objectSpread$2n({}, tempaddtocardpayloadobj));
|
|
2511
|
+
}
|
|
2512
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2513
|
+
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'
|
|
2514
|
+
// className="fa fa-chevron-up"
|
|
2515
|
+
,
|
|
2516
|
+
style: {
|
|
2517
|
+
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px'
|
|
2518
|
+
}
|
|
2519
|
+
}, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
2520
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
2521
|
+
})))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2522
|
+
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2523
|
+
onClick: function onClick() {
|
|
2524
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2525
|
+
var _fetchProductInfoQuer23;
|
|
2526
|
+
window.open('tel:' + ((_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.product_phonenumber), '_blank');
|
|
2527
|
+
} else {
|
|
2528
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2529
|
+
addtocartfunc();
|
|
2530
|
+
} else {
|
|
2531
|
+
NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
2532
|
+
}
|
|
2533
|
+
}
|
|
2534
|
+
},
|
|
2535
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
2536
|
+
}, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2537
|
+
className: ' d-flex align-items-center justify-content-center '
|
|
2538
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2539
|
+
className: langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
|
|
2540
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
2541
|
+
className: "",
|
|
2542
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
2543
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
2544
|
+
className: "",
|
|
2545
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
2546
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
2547
|
+
className: "",
|
|
2548
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
2549
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
|
|
2550
|
+
className: "",
|
|
2551
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
2552
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
2553
|
+
className: "",
|
|
2554
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
2555
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
2556
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
2557
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2558
|
+
className: ' d-flex align-items-center justify-content-center '
|
|
2559
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
2560
|
+
color: "white",
|
|
2561
|
+
width: "20px",
|
|
2562
|
+
height: "20px",
|
|
2563
|
+
duration: "1s"
|
|
2564
|
+
}))), sectionproperties.btnposition == 'Bottom' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2565
|
+
className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 ',
|
|
2566
|
+
onClick: function onClick() {
|
|
2567
|
+
addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
2568
|
+
},
|
|
2569
|
+
style: {
|
|
2570
|
+
background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
2571
|
+
}
|
|
2572
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2573
|
+
className: "h-100 d-flex align-items-center justify-content-center"
|
|
2574
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2575
|
+
className: "h-100 d-flex align-items-center justify-content-center"
|
|
2576
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
2577
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
2578
|
+
style: {
|
|
2579
|
+
color: sectionproperties.activefaviconcolor
|
|
2580
|
+
}
|
|
2581
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
|
|
2582
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
2583
|
+
style: {
|
|
2584
|
+
color: sectionproperties.activefaviconcolor
|
|
2585
|
+
}
|
|
2586
|
+
})), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2587
|
+
className: "h-100 d-flex align-items-center justify-content-center"
|
|
2588
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
2589
|
+
size: sectionproperties.favBtnIconfontsize
|
|
2590
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
2591
|
+
size: sectionproperties.favBtnIconfontsize
|
|
2592
|
+
}))), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2593
|
+
"class": "m-0 p-0",
|
|
2594
|
+
style: {
|
|
2595
|
+
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
2596
|
+
}
|
|
2597
|
+
}, langdetect == 'en' ? sectionproperties.favbtncontent_en : sectionproperties.favbtncontent_ar), fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2598
|
+
"class": "m-0 p-0",
|
|
2599
|
+
style: {
|
|
2600
|
+
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
2601
|
+
}
|
|
2602
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2603
|
+
"class": "row m-0 w-100 mt-3",
|
|
2604
|
+
style: {
|
|
2605
|
+
overflow: 'hidden'
|
|
2606
|
+
}
|
|
2607
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2608
|
+
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2609
|
+
style: {
|
|
2610
|
+
width: sectionproperties.cartBtnWidth + '%'
|
|
2611
|
+
},
|
|
2612
|
+
onClick: function onClick() {
|
|
2613
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2614
|
+
var _fetchProductInfoQuer27;
|
|
2615
|
+
window.open('tel:' + ((_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.product_phonenumber), '_blank');
|
|
2616
|
+
} else {
|
|
2617
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2618
|
+
addtocartfunc();
|
|
2619
|
+
} else {
|
|
2620
|
+
NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
2621
|
+
}
|
|
2622
|
+
}
|
|
2623
|
+
},
|
|
2624
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
2625
|
+
}, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2626
|
+
className: ' d-flex align-items-center justify-content-center '
|
|
2627
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2628
|
+
className: langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
|
|
2629
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
2630
|
+
className: "",
|
|
2631
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
2632
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
2633
|
+
className: "",
|
|
2634
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
2635
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
2636
|
+
className: "",
|
|
2637
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
2638
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
|
|
2639
|
+
className: "",
|
|
2640
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
2641
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
2642
|
+
className: "",
|
|
2643
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
2644
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
2645
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
2646
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2647
|
+
className: ' d-flex align-items-center justify-content-center '
|
|
2648
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
2649
|
+
color: "white",
|
|
2650
|
+
width: "20px",
|
|
2651
|
+
height: "20px",
|
|
2652
|
+
duration: "1s"
|
|
2653
|
+
}))), sectionproperties.btnposition == 'Besides Cart Button' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2654
|
+
className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',
|
|
2655
|
+
onClick: function onClick() {
|
|
2656
|
+
addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
2657
|
+
},
|
|
2658
|
+
style: {
|
|
2659
|
+
background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
2660
|
+
}
|
|
2661
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2662
|
+
className: "h-100 d-flex align-items-center justify-content-center"
|
|
2663
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2664
|
+
className: "h-100 d-flex align-items-center justify-content-center"
|
|
2665
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
2666
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
2667
|
+
style: {
|
|
2668
|
+
color: sectionproperties.activefaviconcolor
|
|
2669
|
+
}
|
|
2670
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
|
|
2671
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
2672
|
+
style: {
|
|
2673
|
+
color: sectionproperties.activefaviconcolor
|
|
2674
|
+
}
|
|
2675
|
+
})), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2676
|
+
className: "h-100 d-flex align-items-center justify-content-center"
|
|
2677
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
2678
|
+
size: sectionproperties.favBtnIconfontsize
|
|
2679
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
2680
|
+
size: sectionproperties.favBtnIconfontsize
|
|
2681
|
+
})))))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2732
2682
|
className: "col-lg-12 p-0 mb-3"
|
|
2733
2683
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2734
2684
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -2751,7 +2701,7 @@
|
|
|
2751
2701
|
}
|
|
2752
2702
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2753
2703
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right ' : ' d-flex align-items-center justify-content-end wordbreak text-left '
|
|
2754
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2704
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.variants[variantindexcompleted]) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.variants[variantindexcompleted]) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2755
2705
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
2756
2706
|
style: {
|
|
2757
2707
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -2765,14 +2715,14 @@
|
|
|
2765
2715
|
style: {
|
|
2766
2716
|
textDecoration: 'none'
|
|
2767
2717
|
}
|
|
2768
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2718
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.variants[variantindexcompleted]) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2769
2719
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
2770
2720
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2771
2721
|
className: "ml-2 mr-2",
|
|
2772
2722
|
style: {
|
|
2773
2723
|
textDecoration: 'none'
|
|
2774
2724
|
}
|
|
2775
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2725
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2776
2726
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
2777
2727
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2778
2728
|
style: {
|
|
@@ -2798,7 +2748,7 @@
|
|
|
2798
2748
|
className: "font-weight-600"
|
|
2799
2749
|
}, lang.availability, ":"), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2800
2750
|
className: "ml-1 mr-1"
|
|
2801
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)))), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' &&
|
|
2751
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)))), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2802
2752
|
"class": "col-lg-12 p-0"
|
|
2803
2753
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
2804
2754
|
"class": "mb-3 mt-3",
|
|
@@ -2817,6 +2767,11 @@
|
|
|
2817
2767
|
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
2818
2768
|
}
|
|
2819
2769
|
}, StoreInfoprops(), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2770
|
+
"class": productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 ',
|
|
2771
|
+
style: {}
|
|
2772
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
2773
|
+
"class": "my-3"
|
|
2774
|
+
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2820
2775
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
2821
2776
|
}, ShareButtonsContainer()))))))), sectionproperties.storeinfoposition == 'On The Right' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2822
2777
|
className: langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0' : 'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',
|
|
@@ -7010,16 +6965,14 @@
|
|
|
7010
6965
|
function _objectSpread$2g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2g(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7011
6966
|
var Wishlist = function Wishlist(props) {
|
|
7012
6967
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
7013
|
-
props.actions.lang;
|
|
6968
|
+
var lang = props.actions.lang;
|
|
7014
6969
|
var langdetect = props.actions.langdetect;
|
|
7015
|
-
var routingcountext = props.actions.routingcountext;
|
|
7016
6970
|
var fetchFavoriteProductsQueryContext = props.actions.fetchFavoriteProductsQueryContext;
|
|
7017
6971
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
7018
6972
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
7019
6973
|
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
7020
6974
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
7021
6975
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
7022
|
-
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
7023
6976
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
7024
6977
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
7025
6978
|
var actions = props.actions;
|
|
@@ -7031,7 +6984,6 @@
|
|
|
7031
6984
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
7032
6985
|
bgimagesarray = _useState4[0],
|
|
7033
6986
|
setbgimagesarray = _useState4[1];
|
|
7034
|
-
var authdetailsContext = props.actions.authdetailsContext;
|
|
7035
6987
|
React.useEffect(function () {
|
|
7036
6988
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
7037
6989
|
var secpropobj = {};
|
|
@@ -7084,23 +7036,22 @@
|
|
|
7084
7036
|
cart_btn: glamor.css({
|
|
7085
7037
|
width: sectionproperties.cartBtnWidth + 'px',
|
|
7086
7038
|
height: sectionproperties.cartBtnHeight + 'px',
|
|
7087
|
-
background: sectionproperties.cartBtnbgColor,
|
|
7039
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
7088
7040
|
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
7089
7041
|
color: sectionproperties.cartBtnTextcolor,
|
|
7090
7042
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
7091
7043
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
7092
7044
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
7093
|
-
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
7094
7045
|
transition: '.3s',
|
|
7095
7046
|
':hover': {
|
|
7096
|
-
background: sectionproperties.cartBtnbgColoronhover,
|
|
7047
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
7097
7048
|
color: sectionproperties.cartBtnTextcoloronhover,
|
|
7098
7049
|
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
7099
7050
|
}
|
|
7100
7051
|
}),
|
|
7101
7052
|
trash_btn: glamor.css({
|
|
7102
|
-
width: sectionproperties.trashbtn_Width
|
|
7103
|
-
height: sectionproperties.trashbtn_Height
|
|
7053
|
+
width: sectionproperties.trashbtn_Width + 'px',
|
|
7054
|
+
height: sectionproperties.trashbtn_Height + 'px',
|
|
7104
7055
|
background: sectionproperties.trashbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.trashbtn_bgColor,
|
|
7105
7056
|
color: sectionproperties.trashbtn_Textcolor,
|
|
7106
7057
|
borderRadius: sectionproperties.trashbtn_borderBottomLeftRadius + 'px',
|
|
@@ -7112,13 +7063,20 @@
|
|
|
7112
7063
|
}
|
|
7113
7064
|
}),
|
|
7114
7065
|
imagecont: glamor.css({
|
|
7115
|
-
width: '
|
|
7116
|
-
height: '
|
|
7066
|
+
width: '70px',
|
|
7067
|
+
height: '60px',
|
|
7068
|
+
border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
|
|
7117
7069
|
backgroundColor: sectionproperties.prodimage_bgcolor,
|
|
7118
|
-
|
|
7070
|
+
borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
|
|
7071
|
+
borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
|
|
7072
|
+
borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
|
|
7073
|
+
borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
|
|
7119
7074
|
display: 'flex',
|
|
7120
7075
|
alignItems: 'center',
|
|
7121
7076
|
justifyContent: 'center',
|
|
7077
|
+
backgroundRepeat: 'no-repeat',
|
|
7078
|
+
backgroundSize: 'cover',
|
|
7079
|
+
backgroundPosition: 'center',
|
|
7122
7080
|
position: 'relative'
|
|
7123
7081
|
}),
|
|
7124
7082
|
containerstyle: glamor.css({
|
|
@@ -7128,23 +7086,6 @@
|
|
|
7128
7086
|
'@media (max-width: 800px)': {
|
|
7129
7087
|
marginTop: sectionproperties.marginTopResp + 'px'
|
|
7130
7088
|
}
|
|
7131
|
-
}),
|
|
7132
|
-
btnstyles: glamor.css({
|
|
7133
|
-
width: sectionproperties.generalbtn_width + '%',
|
|
7134
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
7135
|
-
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
7136
|
-
background: sectionproperties.generalbtn_bgColor,
|
|
7137
|
-
color: sectionproperties.generalbtn_textColor,
|
|
7138
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
7139
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
7140
|
-
':hover': {
|
|
7141
|
-
transition: '.3s',
|
|
7142
|
-
color: sectionproperties.generalbtn_textColoronhover,
|
|
7143
|
-
backgroundColor: sectionproperties.generalbtn_bgColoronhover
|
|
7144
|
-
},
|
|
7145
|
-
'@media (max-width: 800px)': {
|
|
7146
|
-
width: '80%'
|
|
7147
|
-
}
|
|
7148
7089
|
})
|
|
7149
7090
|
};
|
|
7150
7091
|
React.useEffect(function () {
|
|
@@ -7195,7 +7136,10 @@
|
|
|
7195
7136
|
margin: 0,
|
|
7196
7137
|
padding: 0,
|
|
7197
7138
|
background: sectionproperties.image_bgcolor,
|
|
7198
|
-
|
|
7139
|
+
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
7140
|
+
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
7141
|
+
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
7142
|
+
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
7199
7143
|
zIndex: -1,
|
|
7200
7144
|
objectFit: sectionproperties.bgcovercontain
|
|
7201
7145
|
}
|
|
@@ -7211,19 +7155,45 @@
|
|
|
7211
7155
|
padding: 0,
|
|
7212
7156
|
objectFit: sectionproperties.bgcovercontainresponsive,
|
|
7213
7157
|
background: sectionproperties.image_bgcolor,
|
|
7214
|
-
|
|
7158
|
+
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
7159
|
+
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
7160
|
+
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
7161
|
+
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
7215
7162
|
zIndex: -1
|
|
7216
7163
|
}
|
|
7217
|
-
})
|
|
7164
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7165
|
+
className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
|
|
7166
|
+
style: {
|
|
7167
|
+
position: 'absolute',
|
|
7168
|
+
top: 0,
|
|
7169
|
+
right: 0,
|
|
7170
|
+
bottom: 0,
|
|
7171
|
+
left: 0
|
|
7172
|
+
}
|
|
7173
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7174
|
+
className: ' m-0 p-0 ',
|
|
7175
|
+
style: {
|
|
7176
|
+
fontSize: sectionproperties.imagetextfontsize + 'px',
|
|
7177
|
+
color: sectionproperties.imagetextcolor,
|
|
7178
|
+
textTransform: sectionproperties.imagetexttextTransform,
|
|
7179
|
+
fontWeight: sectionproperties.imagetextfontWeight
|
|
7180
|
+
}
|
|
7181
|
+
}, lang.mywishlist)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7218
7182
|
className: "col-lg-12 p-0"
|
|
7219
7183
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7220
7184
|
className: 'row ml-0 mr-0 d-flex justify-content-center w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
|
|
7221
7185
|
style: {
|
|
7222
|
-
|
|
7223
|
-
|
|
7186
|
+
width: sectionproperties.width + 'vw',
|
|
7187
|
+
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
7188
|
+
paddingRight: sectionproperties.paddingRight + 'px',
|
|
7224
7189
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
7225
7190
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
7226
|
-
|
|
7191
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
7192
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
7193
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
7194
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
7195
|
+
borderColor: sectionproperties.sectioncardbordercolor,
|
|
7196
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
7227
7197
|
}
|
|
7228
7198
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7229
7199
|
className: 'col-lg-12 p-0'
|
|
@@ -7233,118 +7203,24 @@
|
|
|
7233
7203
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7234
7204
|
className: 'col-lg-12 p-0'
|
|
7235
7205
|
}, fetchFavoriteProductsQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7236
|
-
className: "
|
|
7237
|
-
style: {
|
|
7238
|
-
height: '50vh',
|
|
7239
|
-
padding: '20px'
|
|
7240
|
-
}
|
|
7241
|
-
}, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7242
|
-
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
7243
|
-
style: {
|
|
7244
|
-
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
7245
|
-
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
7246
|
-
}
|
|
7247
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7248
|
-
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
7249
|
-
style: {
|
|
7250
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
7251
|
-
color: sectionproperties.sectionTitleColor,
|
|
7252
|
-
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
7253
|
-
}
|
|
7254
|
-
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7255
|
-
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
7256
|
-
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
7257
|
-
className: 'table'
|
|
7258
|
-
}, /*#__PURE__*/React__default["default"].createElement("thead", {
|
|
7259
|
-
className: ""
|
|
7260
|
-
}, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7261
|
-
className: 'mw-150 mw-md-300'
|
|
7262
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7263
|
-
"class": "my-1 is-loading"
|
|
7264
|
-
})), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7265
|
-
className: "text-center",
|
|
7266
|
-
style: {
|
|
7267
|
-
minWidth: '100px'
|
|
7268
|
-
}
|
|
7269
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7270
|
-
"class": "my-1 is-loading"
|
|
7271
|
-
})), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7272
|
-
className: "text-center"
|
|
7273
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7274
|
-
"class": "my-1 is-loading"
|
|
7275
|
-
}))), /*#__PURE__*/React__default["default"].createElement("tbody", null, _toConsumableArray__default["default"](Array(3)).map(function (item, index) {
|
|
7276
|
-
return /*#__PURE__*/React__default["default"].createElement("tr", {
|
|
7277
|
-
className: ""
|
|
7278
|
-
}, /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7279
|
-
className: "mw-150 mw-md-300"
|
|
7280
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7281
|
-
"class": "my-1 is-loading"
|
|
7282
|
-
})), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7283
|
-
className: "text-center",
|
|
7284
|
-
style: {
|
|
7285
|
-
minWidth: '100px'
|
|
7286
|
-
}
|
|
7287
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7288
|
-
"class": "my-1 is-loading"
|
|
7289
|
-
})), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7290
|
-
className: "text-center",
|
|
7291
|
-
style: {
|
|
7292
|
-
minWidth: '100px'
|
|
7293
|
-
}
|
|
7294
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7295
|
-
"class": "my-1 is-loading"
|
|
7296
|
-
})));
|
|
7297
|
-
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7298
|
-
"class": "col-lg-12 p-0 d-none d-md-flex"
|
|
7299
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7300
|
-
className: "row m-0 w-100 align-items-center justify-content-center",
|
|
7206
|
+
className: "w-100 d-flex align-items-center justify-content-center",
|
|
7301
7207
|
style: {
|
|
7302
7208
|
height: '50vh'
|
|
7303
7209
|
}
|
|
7304
|
-
},
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
className: ' col-3 p-0 '
|
|
7311
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7312
|
-
className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 is-loading image '
|
|
7313
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7314
|
-
className: "col-9 pt-2"
|
|
7315
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7316
|
-
"class": "row m-0 w-100 d-flex"
|
|
7317
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7318
|
-
"class": "col-10 p-0 mb-1"
|
|
7319
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7320
|
-
className: ' m-0 p-0 is-loading mb-auto '
|
|
7321
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7322
|
-
"class": "col-lg-12 p-0"
|
|
7323
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7324
|
-
"class": ' m-0 p-0 is-loading '
|
|
7325
|
-
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7326
|
-
"class": "col-lg-12 allcentered p-0 mt-4"
|
|
7327
|
-
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7328
|
-
className: ' w-100 is-loading ',
|
|
7329
|
-
style: {
|
|
7330
|
-
height: sectionproperties.cartBtnHeight + 'px'
|
|
7331
|
-
}
|
|
7332
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7333
|
-
"class": "col-lg-12 p-0 my-3",
|
|
7334
|
-
style: {
|
|
7335
|
-
background: '#eee',
|
|
7336
|
-
height: 1,
|
|
7337
|
-
width: '100%'
|
|
7338
|
-
}
|
|
7339
|
-
})));
|
|
7340
|
-
})))), !fetchFavoriteProductsQueryContext.isFetching && fetchFavoriteProductsQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7210
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.Messaging, {
|
|
7211
|
+
color: "#ccc",
|
|
7212
|
+
width: "10px",
|
|
7213
|
+
height: "10px",
|
|
7214
|
+
duration: "1s"
|
|
7215
|
+
})), !fetchFavoriteProductsQueryContext.isFetching && fetchFavoriteProductsQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7341
7216
|
className: "row ml-0 mr-0 w-100 "
|
|
7342
7217
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7343
7218
|
className: 'col-lg-12 d-flex w-100 p-0'
|
|
7344
|
-
}, sectionproperties.pagedesign == 'Design 1 (Cards)' &&
|
|
7219
|
+
}, sectionproperties.pagedesign == 'Design 1 (Cards)' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7345
7220
|
className: 'row m-0 d-flex justify-content-center w-100',
|
|
7346
7221
|
style: {
|
|
7347
7222
|
background: sectionproperties.reservation_bgcolor,
|
|
7223
|
+
border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor,
|
|
7348
7224
|
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
7349
7225
|
padding: '20px',
|
|
7350
7226
|
minHeight: '70vh'
|
|
@@ -7409,7 +7285,24 @@
|
|
|
7409
7285
|
fontSize: sectionproperties.cartBtnTextfontsize + 'px'
|
|
7410
7286
|
}
|
|
7411
7287
|
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
|
|
7412
|
-
}))
|
|
7288
|
+
})), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7289
|
+
className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100",
|
|
7290
|
+
style: {
|
|
7291
|
+
height: '50vh'
|
|
7292
|
+
}
|
|
7293
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7294
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
|
|
7295
|
+
}, /*#__PURE__*/React__default["default"].createElement(BiSad.BiSad, {
|
|
7296
|
+
size: sectionproperties.noprod_iconfontSize,
|
|
7297
|
+
color: sectionproperties.noprod_iconcolor
|
|
7298
|
+
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7299
|
+
"class": "m-0 p-0 mt-2",
|
|
7300
|
+
style: {
|
|
7301
|
+
fontWeight: sectionproperties.noprod_fontWeight,
|
|
7302
|
+
color: sectionproperties.noprod_color,
|
|
7303
|
+
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
7304
|
+
}
|
|
7305
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))))), sectionproperties.pagedesign == 'Design 2 (Table)' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7413
7306
|
className: ' row m-0 w-100 p-sm-3 ',
|
|
7414
7307
|
style: {
|
|
7415
7308
|
background: sectionproperties.reservation_bgcolor,
|
|
@@ -7419,49 +7312,24 @@
|
|
|
7419
7312
|
minHeight: '70vh'
|
|
7420
7313
|
}
|
|
7421
7314
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7422
|
-
className: '
|
|
7423
|
-
}, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7424
|
-
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
7425
|
-
style: {
|
|
7426
|
-
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
7427
|
-
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
7428
|
-
}
|
|
7429
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7430
|
-
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
7431
|
-
style: {
|
|
7432
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
7433
|
-
color: sectionproperties.sectionTitleColor,
|
|
7434
|
-
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
7435
|
-
}
|
|
7436
|
-
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7437
|
-
className: ' col-lg-12 table_responsive p-0 d-block d-md-none '
|
|
7315
|
+
className: ' col-lg-12 table_responsive p-0 '
|
|
7438
7316
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
7439
|
-
className: 'table'
|
|
7317
|
+
className: 'table table_thbg'
|
|
7440
7318
|
}, /*#__PURE__*/React__default["default"].createElement("thead", {
|
|
7441
|
-
className: ""
|
|
7442
|
-
}, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7443
|
-
className: langdetect == 'en' ? 'text-left font-weight-500 font-14 mw-150 mw-md-300' : 'text-right font-weight-500 font-14 mw-150 mw-md-300',
|
|
7444
|
-
style: {
|
|
7445
|
-
color: sectionproperties.sectionTitleColor
|
|
7446
|
-
}
|
|
7447
|
-
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7448
|
-
className: "text-center font-weight-500 font-14",
|
|
7449
|
-
style: {
|
|
7450
|
-
minWidth: '100px',
|
|
7451
|
-
color: sectionproperties.sectionTitleColor
|
|
7452
|
-
}
|
|
7453
|
-
}, langdetect == 'en' ? 'Unit Price' : 'السعر'), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7454
|
-
className: "text-center font-weight-500 font-14",
|
|
7319
|
+
className: "",
|
|
7455
7320
|
style: {
|
|
7456
|
-
|
|
7457
|
-
color: sectionproperties.sectionTitleColor
|
|
7321
|
+
background: '#eee'
|
|
7458
7322
|
}
|
|
7459
|
-
}
|
|
7460
|
-
className:
|
|
7323
|
+
}, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7324
|
+
className: langdetect == 'en' ? 'text-left font-weight-500 font-14 text-light mw-150 mw-md-300' : 'text-right font-weight-500 font-14 text-light mw-150 mw-md-300'
|
|
7325
|
+
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7326
|
+
className: "text-center font-weight-500 font-14 text-light",
|
|
7461
7327
|
style: {
|
|
7462
|
-
|
|
7328
|
+
minWidth: '100px'
|
|
7463
7329
|
}
|
|
7464
|
-
})
|
|
7330
|
+
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7331
|
+
className: "text-center font-weight-500 font-14 text-light"
|
|
7332
|
+
}, lang.remove)), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
|
|
7465
7333
|
return /*#__PURE__*/React__default["default"].createElement("tr", {
|
|
7466
7334
|
className: "border-none"
|
|
7467
7335
|
}, /*#__PURE__*/React__default["default"].createElement("td", {
|
|
@@ -7477,28 +7345,14 @@
|
|
|
7477
7345
|
style: {
|
|
7478
7346
|
width: '100%',
|
|
7479
7347
|
height: '100%',
|
|
7480
|
-
objectFit: '
|
|
7348
|
+
objectFit: 'cover'
|
|
7481
7349
|
},
|
|
7482
7350
|
loading: "lazy"
|
|
7483
7351
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7484
|
-
className: "col-lg-9 col-md-9 col-sm-8
|
|
7485
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7486
|
-
className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
|
|
7487
|
-
style: {
|
|
7488
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
7489
|
-
}
|
|
7490
|
-
}, item.name_en)))), sectionproperties.prodPriceShow = /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7491
|
-
className: "text-center",
|
|
7492
|
-
style: {
|
|
7493
|
-
minWidth: '100px'
|
|
7494
|
-
}
|
|
7495
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7496
|
-
"class": "row m-0 w-100 allcentered flex-column"
|
|
7352
|
+
className: "col-lg-9 col-md-9 col-sm-8"
|
|
7497
7353
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7498
|
-
"
|
|
7499
|
-
},
|
|
7500
|
-
"class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mt-2 '
|
|
7501
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7354
|
+
className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 d-flex justify-content-start mb-auto '
|
|
7355
|
+
}, item.name_en)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7502
7356
|
className: "text-center",
|
|
7503
7357
|
style: {
|
|
7504
7358
|
minWidth: '100px'
|
|
@@ -7509,7 +7363,28 @@
|
|
|
7509
7363
|
setShowProductInfoModalContext(true);
|
|
7510
7364
|
setProductIdProdutInfoModalContext(item.productid);
|
|
7511
7365
|
}
|
|
7512
|
-
},
|
|
7366
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
7367
|
+
className: "",
|
|
7368
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
7369
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
7370
|
+
className: "",
|
|
7371
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
7372
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
7373
|
+
className: "",
|
|
7374
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
7375
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
|
|
7376
|
+
className: "",
|
|
7377
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
7378
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
7379
|
+
className: "",
|
|
7380
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
7381
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
7382
|
+
className: "",
|
|
7383
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
7384
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
7385
|
+
className: "",
|
|
7386
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
7387
|
+
}))), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7513
7388
|
className: "text-center"
|
|
7514
7389
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7515
7390
|
className: " ".concat(wishlist_cssstyles.trash_btn) + ' d-flex align-items-center justify-content-center text-uppercase font-weight-500 m-auto ',
|
|
@@ -7519,110 +7394,22 @@
|
|
|
7519
7394
|
style: {
|
|
7520
7395
|
fontSize: sectionproperties.trashbtn_Textfontsize + 'px'
|
|
7521
7396
|
}
|
|
7522
|
-
},
|
|
7523
|
-
|
|
7524
|
-
|
|
7525
|
-
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7526
|
-
className: ' col-lg-12 p-0 d-none d-md-flex align-items-center justify-content-start '
|
|
7527
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7528
|
-
className: ' row m-0 w-100 d-flex align-items-center justify-content-start '
|
|
7529
|
-
}, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
|
|
7530
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7531
|
-
"class": "col-lg-12 p-0"
|
|
7532
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7533
|
-
"class": "row m-0 w-100"
|
|
7534
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7535
|
-
className: ' col-3 p-0 '
|
|
7536
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7537
|
-
className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 '
|
|
7538
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
7539
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
7540
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
7541
|
-
path: item.productmainimage,
|
|
7542
|
-
style: {
|
|
7543
|
-
width: '100%',
|
|
7544
|
-
height: '100%',
|
|
7545
|
-
objectFit: 'contain'
|
|
7546
|
-
},
|
|
7547
|
-
loading: "lazy"
|
|
7548
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7549
|
-
className: "col-9 pt-2"
|
|
7550
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7551
|
-
"class": "row m-0 w-100 d-flex"
|
|
7552
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7553
|
-
"class": "col-10 p-0 d-flex align-items-center justify-content-start"
|
|
7554
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7555
|
-
className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
|
|
7556
|
-
style: {
|
|
7557
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
7558
|
-
}
|
|
7559
|
-
}, item.name_en)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7560
|
-
"class": "col-2 p-0 d-flex align-items-center justify-content-end"
|
|
7561
|
-
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7562
|
-
className: " ".concat(wishlist_cssstyles.trash_btnresp) + ' allcentered ',
|
|
7563
|
-
onClick: function onClick() {
|
|
7564
|
-
addtofavoritescontext(item.productid);
|
|
7565
|
-
}
|
|
7566
|
-
}, /*#__PURE__*/React__default["default"].createElement(HiOutlineTrash.HiOutlineTrash, {
|
|
7567
|
-
size: sectionproperties.trashbtn_Textfontsize
|
|
7568
|
-
}))), sectionproperties.prodPriceShow = /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7569
|
-
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
7570
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7571
|
-
"class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
7572
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7573
|
-
"class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mx-2 mt-auto '
|
|
7574
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : '')))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7575
|
-
"class": "col-lg-12 allcentered p-0 mt-4"
|
|
7576
|
-
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7577
|
-
className: "".concat(wishlist_cssstyles.cart_btn) + ' w-100 ',
|
|
7578
|
-
onClick: function onClick() {
|
|
7579
|
-
setShowProductInfoModalContext(true);
|
|
7580
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
7581
|
-
}
|
|
7582
|
-
}, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7583
|
-
"class": "col-lg-12 p-0 my-3",
|
|
7584
|
-
style: {
|
|
7585
|
-
background: '#eee',
|
|
7586
|
-
height: 1,
|
|
7587
|
-
width: '100%'
|
|
7588
|
-
}
|
|
7589
|
-
})));
|
|
7590
|
-
}))))), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7591
|
-
className: "row m-0 w-100 d-flex justify-content-center pt-5 pb-5",
|
|
7592
|
-
style: {
|
|
7593
|
-
maxHeight: '60vh',
|
|
7594
|
-
padding: '20px'
|
|
7595
|
-
}
|
|
7397
|
+
}, lang.remove)));
|
|
7398
|
+
}))), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7399
|
+
className: "row m-0 w-100 d-flex align-items-center justify-content-center pt-5 pb-5"
|
|
7596
7400
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7597
|
-
className:
|
|
7598
|
-
|
|
7599
|
-
|
|
7600
|
-
|
|
7601
|
-
|
|
7602
|
-
|
|
7603
|
-
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
7604
|
-
style: {
|
|
7605
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
7606
|
-
color: sectionproperties.sectionTitleColor,
|
|
7607
|
-
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
7608
|
-
}
|
|
7609
|
-
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7610
|
-
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-3 '
|
|
7611
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7612
|
-
"class": sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2',
|
|
7401
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
|
|
7402
|
+
}, /*#__PURE__*/React__default["default"].createElement(BiSad.BiSad, {
|
|
7403
|
+
size: sectionproperties.noprod_iconfontSize,
|
|
7404
|
+
color: sectionproperties.noprod_iconcolor
|
|
7405
|
+
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7406
|
+
"class": "m-0 p-0 mt-2",
|
|
7613
7407
|
style: {
|
|
7614
7408
|
fontWeight: sectionproperties.noprod_fontWeight,
|
|
7615
7409
|
color: sectionproperties.noprod_color,
|
|
7616
7410
|
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
7617
7411
|
}
|
|
7618
|
-
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7619
|
-
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-5 '
|
|
7620
|
-
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7621
|
-
"class": "".concat(wishlist_cssstyles.btnstyles),
|
|
7622
|
-
onClick: function onClick() {
|
|
7623
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
7624
|
-
}
|
|
7625
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7412
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7626
7413
|
className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
7627
7414
|
})));
|
|
7628
7415
|
};
|
|
@@ -7630,7 +7417,7 @@
|
|
|
7630
7417
|
function ownKeys$2f(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7631
7418
|
function _objectSpread$2f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2f(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7632
7419
|
var Viewcart = function Viewcart(props) {
|
|
7633
|
-
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8
|
|
7420
|
+
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8;
|
|
7634
7421
|
var lang = props.actions.lang;
|
|
7635
7422
|
var langdetect = props.actions.langdetect;
|
|
7636
7423
|
var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
@@ -7653,10 +7440,6 @@
|
|
|
7653
7440
|
_useState4 = _slicedToArray__default["default"](_useState3, 2);
|
|
7654
7441
|
_useState4[0];
|
|
7655
7442
|
var setimagesarray = _useState4[1];
|
|
7656
|
-
var _useState5 = React.useState([]),
|
|
7657
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
7658
|
-
bgimagesarray = _useState6[0],
|
|
7659
|
-
setbgimagesarray = _useState6[1];
|
|
7660
7443
|
React.useEffect(function () {
|
|
7661
7444
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
7662
7445
|
var _StatePagePropertiesC;
|
|
@@ -7683,16 +7466,6 @@
|
|
|
7683
7466
|
}
|
|
7684
7467
|
}
|
|
7685
7468
|
}, [sectionproperties]);
|
|
7686
|
-
React.useEffect(function () {
|
|
7687
|
-
if (sectionproperties.length != 0) {
|
|
7688
|
-
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
7689
|
-
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
7690
|
-
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
7691
|
-
setbgimagesarray(_toConsumableArray__default["default"](arrayofobjectimagesonlyparsed));
|
|
7692
|
-
}
|
|
7693
|
-
}
|
|
7694
|
-
}
|
|
7695
|
-
}, [sectionproperties]);
|
|
7696
7469
|
var Summary = function Summary() {
|
|
7697
7470
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
|
|
7698
7471
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -7764,23 +7537,6 @@
|
|
|
7764
7537
|
}, langdetect == 'en' ? sectionproperties.checkoutButtonContenten : sectionproperties.checkoutButtonContentar)))));
|
|
7765
7538
|
};
|
|
7766
7539
|
var viewcart_cssstyles = {
|
|
7767
|
-
btnstyles: glamor.css({
|
|
7768
|
-
width: sectionproperties.generalbtn_width + '%',
|
|
7769
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
7770
|
-
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
7771
|
-
background: sectionproperties.generalbtn_bgColor,
|
|
7772
|
-
color: sectionproperties.generalbtn_textColor,
|
|
7773
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
7774
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
7775
|
-
':hover': {
|
|
7776
|
-
transition: '.3s',
|
|
7777
|
-
color: sectionproperties.generalbtn_textColoronhover,
|
|
7778
|
-
backgroundColor: sectionproperties.generalbtn_bgColoronhover
|
|
7779
|
-
},
|
|
7780
|
-
'@media (max-width: 800px)': {
|
|
7781
|
-
width: '80%'
|
|
7782
|
-
}
|
|
7783
|
-
}),
|
|
7784
7540
|
checkoutbtnstyles: glamor.css({
|
|
7785
7541
|
background: sectionproperties.checkoutBtnbgColortranparent == 'Transparent' ? 'transparent' : sectionproperties.checkoutBtnbgColor,
|
|
7786
7542
|
width: sectionproperties.checkoutBtnWidth + 'px',
|
|
@@ -7901,8 +7657,10 @@
|
|
|
7901
7657
|
}
|
|
7902
7658
|
}),
|
|
7903
7659
|
tableimagecont: glamor.css({
|
|
7904
|
-
width:
|
|
7905
|
-
height: sectionproperties.
|
|
7660
|
+
width: '70px',
|
|
7661
|
+
height: sectionproperties.prodimage__borderBottomLeftRadius == 100 ? '70px' : '60px',
|
|
7662
|
+
border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
|
|
7663
|
+
backgroundColor: sectionproperties.prodimage_bgcolor,
|
|
7906
7664
|
display: 'flex',
|
|
7907
7665
|
alignItems: 'center',
|
|
7908
7666
|
justifyContent: 'center',
|
|
@@ -7917,6 +7675,20 @@
|
|
|
7917
7675
|
}
|
|
7918
7676
|
})
|
|
7919
7677
|
};
|
|
7678
|
+
var _useState5 = React.useState([]),
|
|
7679
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
7680
|
+
bgimagesarray = _useState6[0],
|
|
7681
|
+
setbgimagesarray = _useState6[1];
|
|
7682
|
+
React.useEffect(function () {
|
|
7683
|
+
if (sectionproperties.length != 0) {
|
|
7684
|
+
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
7685
|
+
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
7686
|
+
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
7687
|
+
setbgimagesarray(_toConsumableArray__default["default"](arrayofobjectimagesonlyparsed));
|
|
7688
|
+
}
|
|
7689
|
+
}
|
|
7690
|
+
}
|
|
7691
|
+
}, [sectionproperties]);
|
|
7920
7692
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7921
7693
|
className: viewcart_cssstyles.containerstyles + ' row ml-0 mr-0 w-100 d-flex justify-content-center ',
|
|
7922
7694
|
style: {}
|
|
@@ -7940,7 +7712,7 @@
|
|
|
7940
7712
|
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
|
|
7941
7713
|
style: {
|
|
7942
7714
|
width: sectionproperties.image_width + 'vw',
|
|
7943
|
-
height: 'auto',
|
|
7715
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'vh',
|
|
7944
7716
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
7945
7717
|
position: 'relative'
|
|
7946
7718
|
}
|
|
@@ -7952,11 +7724,15 @@
|
|
|
7952
7724
|
style: {
|
|
7953
7725
|
height: '100%',
|
|
7954
7726
|
width: '100%',
|
|
7955
|
-
objectFit: 'contain',
|
|
7956
7727
|
margin: 0,
|
|
7957
7728
|
padding: 0,
|
|
7958
|
-
|
|
7959
|
-
|
|
7729
|
+
background: sectionproperties.image_bgcolor,
|
|
7730
|
+
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
7731
|
+
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
7732
|
+
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
7733
|
+
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
7734
|
+
zIndex: -1,
|
|
7735
|
+
objectFit: sectionproperties.bgcovercontain
|
|
7960
7736
|
}
|
|
7961
7737
|
}), /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
7962
7738
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -7966,22 +7742,48 @@
|
|
|
7966
7742
|
style: {
|
|
7967
7743
|
height: '100%',
|
|
7968
7744
|
width: '100%',
|
|
7969
|
-
objectFit: 'contain',
|
|
7970
7745
|
margin: 0,
|
|
7971
7746
|
padding: 0,
|
|
7972
|
-
|
|
7747
|
+
objectFit: sectionproperties.bgcovercontainresponsive,
|
|
7748
|
+
background: sectionproperties.image_bgcolor,
|
|
7749
|
+
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
7750
|
+
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
7751
|
+
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
7752
|
+
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
7973
7753
|
zIndex: -1
|
|
7974
7754
|
}
|
|
7975
|
-
})
|
|
7755
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7756
|
+
className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
|
|
7757
|
+
style: {
|
|
7758
|
+
position: 'absolute',
|
|
7759
|
+
top: 0,
|
|
7760
|
+
right: 0,
|
|
7761
|
+
bottom: 0,
|
|
7762
|
+
left: 0
|
|
7763
|
+
}
|
|
7764
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7765
|
+
className: ' m-0 p-0 ',
|
|
7766
|
+
style: {
|
|
7767
|
+
fontSize: sectionproperties.imagetextfontsize + 'px',
|
|
7768
|
+
color: sectionproperties.imagetextcolor,
|
|
7769
|
+
textTransform: sectionproperties.imagetexttextTransform,
|
|
7770
|
+
fontWeight: sectionproperties.imagetextfontWeight
|
|
7771
|
+
}
|
|
7772
|
+
}, lang.mycart)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7976
7773
|
className: "col-lg-12 p-0"
|
|
7977
7774
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7978
7775
|
className: 'row ml-0 mr-0 d-flex justify-content-center w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
|
|
7979
7776
|
style: {
|
|
7980
|
-
paddingLeft: sectionproperties.
|
|
7981
|
-
paddingRight: sectionproperties.
|
|
7777
|
+
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
7778
|
+
paddingRight: sectionproperties.paddingRight + 'px',
|
|
7982
7779
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
7983
7780
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
7984
|
-
|
|
7781
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
7782
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
7783
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
7784
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px'
|
|
7785
|
+
// borderColor: sectionproperties.sectioncardbordercolor,
|
|
7786
|
+
// border: sectionproperties.sectioncardborderwidth + 'px solid',
|
|
7985
7787
|
}
|
|
7986
7788
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7987
7789
|
className: 'col-lg-12 p-0'
|
|
@@ -7990,7 +7792,7 @@
|
|
|
7990
7792
|
actions: actions
|
|
7991
7793
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7992
7794
|
className: 'col-lg-12 d-flex w-100 p-0'
|
|
7993
|
-
},
|
|
7795
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7994
7796
|
className: "row m-0 w-100"
|
|
7995
7797
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7996
7798
|
className: langdetect == 'en' ? 'col-lg-9 pr-0' : 'col-lg-9 pl-0'
|
|
@@ -8006,7 +7808,10 @@
|
|
|
8006
7808
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
8007
7809
|
className: 'table table_thbg'
|
|
8008
7810
|
}, /*#__PURE__*/React__default["default"].createElement("thead", {
|
|
8009
|
-
className: ""
|
|
7811
|
+
className: "",
|
|
7812
|
+
style: {
|
|
7813
|
+
background: '#eee'
|
|
7814
|
+
}
|
|
8010
7815
|
}, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8011
7816
|
className: langdetect == 'en' ? 'text-left font-weight-500 font-14 text-light mw-150 mw-md-300' : 'text-right font-weight-500 font-14 text-light mw-150 mw-md-300'
|
|
8012
7817
|
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
@@ -8023,7 +7828,7 @@
|
|
|
8023
7828
|
}
|
|
8024
7829
|
}, lang.total), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8025
7830
|
className: "text-capitalize text-center font-weight-500 font-14 text-uppercase text-light"
|
|
8026
|
-
}, lang.remove)), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
7831
|
+
}, lang.remove)), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.customercart) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue7 === void 0 ? void 0 : _fetchcustomercartQue7.map(function (item, index) {
|
|
8027
7832
|
return /*#__PURE__*/React__default["default"].createElement("tr", {
|
|
8028
7833
|
className: "border-none"
|
|
8029
7834
|
}, /*#__PURE__*/React__default["default"].createElement("td", {
|
|
@@ -8039,7 +7844,8 @@
|
|
|
8039
7844
|
style: {
|
|
8040
7845
|
width: '100%',
|
|
8041
7846
|
height: '100%',
|
|
8042
|
-
objectFit: 'contain'
|
|
7847
|
+
objectFit: sectionproperties.prodimage__borderBottomLeftRadius == '100' ? 'cover' : 'contain',
|
|
7848
|
+
borderRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px'
|
|
8043
7849
|
},
|
|
8044
7850
|
loading: "lazy"
|
|
8045
7851
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -8193,43 +7999,36 @@
|
|
|
8193
7999
|
deletecartitemContext(item);
|
|
8194
8000
|
}
|
|
8195
8001
|
}, lang.remove)));
|
|
8196
|
-
}))))))
|
|
8197
|
-
className:
|
|
8198
|
-
}, Summary())), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue9 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : _fetchcustomercartQue9.cartitems.length) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8199
|
-
className: "row m-0 w-100 d-flex justify-content-center pt-5 pb-5",
|
|
8002
|
+
})))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue8 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.cartitems.length) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8003
|
+
className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100 pt-5 pb-5",
|
|
8200
8004
|
style: {
|
|
8201
|
-
|
|
8005
|
+
height: '50vh'
|
|
8202
8006
|
}
|
|
8203
8007
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8204
|
-
className:
|
|
8008
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
|
|
8009
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8010
|
+
className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
|
|
8011
|
+
}, sectionproperties.noproducticontype == 'Cart' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
8012
|
+
src: 'https://tabex-co.com/storage/StaticImages/shoppingcart.png',
|
|
8205
8013
|
style: {
|
|
8206
|
-
|
|
8207
|
-
|
|
8014
|
+
maxWidth: '250px',
|
|
8015
|
+
maxHeight: '250px'
|
|
8208
8016
|
}
|
|
8209
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
8210
|
-
"class": "m-0 p-0",
|
|
8017
|
+
}), sectionproperties.noproducticontype == 'Calendar' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
8211
8018
|
style: {
|
|
8212
|
-
fontSize: sectionproperties.
|
|
8213
|
-
color: sectionproperties.
|
|
8214
|
-
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8019
|
+
fontSize: sectionproperties.noprod_iconfontSize + 'px',
|
|
8020
|
+
color: sectionproperties.noprod_iconcolor
|
|
8215
8021
|
}
|
|
8216
|
-
}
|
|
8217
|
-
|
|
8218
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8219
|
-
"class": sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2',
|
|
8022
|
+
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8023
|
+
"class": "m-0 p-0 mt-2",
|
|
8220
8024
|
style: {
|
|
8221
8025
|
fontWeight: sectionproperties.noprod_fontWeight,
|
|
8222
8026
|
color: sectionproperties.noprod_color,
|
|
8223
8027
|
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
8224
8028
|
}
|
|
8225
|
-
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8226
|
-
className: ' col-lg-
|
|
8227
|
-
},
|
|
8228
|
-
"class": "".concat(viewcart_cssstyles.btnstyles),
|
|
8229
|
-
onClick: function onClick() {
|
|
8230
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
8231
|
-
}
|
|
8232
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
|
|
8029
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8030
|
+
className: langdetect == 'en' ? ' col-lg-3 pr-0 px-sm-0 mb-4 ' : ' col-lg-3 pl-0 px-sm-0 mb-4'
|
|
8031
|
+
}, Summary()))))));
|
|
8233
8032
|
};
|
|
8234
8033
|
|
|
8235
8034
|
var css_248z$G = "/* Forms */\n.form-module_form_control__4-RGw {\n display: block;\n width: 100%;\n /* height: 25px; */\n /* font-size: 1rem; */\n font-weight: 500;\n /* color: #444054; */\n /* background-color: white; */\n /* border-radius: 20px; */\n /* box-shadow: 0 0 10px #e6e6e6; */\n /* height: 40px; */\n padding-left: 0;\n padding-right: 0;\n /* font-size: 14px; */\n transition: background 0s ease-out;\n padding: 0 10px;\n}\n.form-module_textarea__zG0ed{\n resize: none;\n /* background-color: #eee; */\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .form-module_form_control__4-RGw {\n transition: none;\n }\n}\n.form-module_form_control__4-RGw::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.form-module_form_control__4-RGw::placeholder {\n color: #eac435;\n opacity: 1;\n}\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.form-module_form_control__4-RGw {\n /* min-height: 100px !important; */\n padding-top: 10px;\n padding-bottom: 10px;\n}\n.form-module_form_control__4-RGw:focus {\n transition-duration: 0.3s;\n box-shadow: none;\n /* box-shadow: 0 0 10px #ccc; */\n}\n.form-module_form_control__4-RGw::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n\n.form-module_form_control_border_none__TJvdZ {\n background-image: none;\n}\n.form-module_form_control__4-RGw.form-module_disabled__AtvSI,\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[disabled] {\n cursor: not-allowed;\n}\n.form-module_input_label_name__416wN {\n font-size: 16px;\n text-transform: capitalize;\n color: var(--cardheader);\n font-weight: 500;\n}\n.form-module_input_label_name-bolder__UQn0a {\n font-weight: 500;\n}\n.form-module_input_icon__X-CzC {\n position: absolute;\n bottom: 5px;\n left: 0;\n color: #d9d9d9;\n}\n/* Radio Buttons */\n.form-module_radiobtn_label__-4Hoi {\n display: flex;\n cursor: pointer;\n font-weight: 500;\n position: relative;\n overflow: hidden;\n margin-bottom: 0;\n}\n.form-module_radiobtn_label__-4Hoi input {\n position: absolute;\n left: -9999px;\n display: none;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span {\n background-color: #f0f5f5;\n color: var(--focus);\n font-weight: 500;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span:before {\n box-shadow: inset 0 0 0 0.3em #eac435;\n}\n.form-module_radiobtn_label__-4Hoi span {\n display: flex;\n align-items: center;\n text-transform: capitalize;\n padding: 0.375em 0.75em 0.375em 0.375em;\n border-radius: 99em;\n transition: 0.25s ease;\n font-weight: normal;\n color: var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi span:hover {\n background-color: #e6e6e6;\n}\n.form-module_radiobtn_label__-4Hoi span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-right: 0.375em;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi.form-module_text-grey__JdZMY span:before {\n box-shadow: inset 0 0 0 0.125em grey;\n}\n.form-module_radiobtn_label__-4Hoi input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n.form-module_radiobtn_label_translated__WN5Jj span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-left: 0.375em;\n margin-right: 0;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label_translated__WN5Jj input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n\n/* Checkbox */\n.form-module_checkbox__XPkWy {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.form-module_checkbox_label__VvcKs {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.form-module_checkbox__XPkWy:hover {\n /* color: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input,\n.form-module_checkbox__XPkWy svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.form-module_checkbox_sub__QWYil input {\n width: 15px;\n height: 15px;\n}\n.form-module_checkbox__XPkWy input {\n -webkit-appearance: none;\n -moz-appearance: none;\n position: relative;\n outline: none;\n background: white;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n transition: box-shadow 0.3s;\n box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));\n}\n.form-module_checkbox__XPkWy input:disabled {\n cursor: not-allowed;\n}\n.form-module_checkbox__XPkWy input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input:checked {\n /* --b: var(--secondary); */\n}\n.form-module_checkbox__XPkWy svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n /* stroke: var(--stroke, var(--secondary)); */\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkbox_sub__QWYil svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: var(--stroke, var(--secondary));\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkboxtranslated__zvEV- svg {\n right: 0;\n}\n.form-module_checkbox__XPkWy input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.form-module_checkbox__XPkWy input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.form-module_checkbox__XPkWy svg {\n stroke-dasharray: var(--a, 86.12);\n stroke-dashoffset: var(--o, 86.12);\n transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;\n}\n";
|
|
@@ -9464,7 +9263,7 @@
|
|
|
9464
9263
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
9465
9264
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9466
9265
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9467
|
-
},
|
|
9266
|
+
}, langdetect == 'en' ? 'Mobile Wallet' : 'المحفظة الإلكترونية')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9468
9267
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
9469
9268
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9470
9269
|
style: {
|
|
@@ -16382,6 +16181,10 @@
|
|
|
16382
16181
|
color: sectionproperties.searchlist_prodNameColorOnHover
|
|
16383
16182
|
}
|
|
16384
16183
|
}),
|
|
16184
|
+
productnamecont: glamor.css({
|
|
16185
|
+
paddingLeft: langdetect == 'en' ? '0.25rem' : 0,
|
|
16186
|
+
paddingRight: langdetect == 'ar' ? '0.25rem' : 0
|
|
16187
|
+
}),
|
|
16385
16188
|
productNameStyles: glamor.css({
|
|
16386
16189
|
fontSize: sectionproperties.searchlist_prodNameFontSize + 'px',
|
|
16387
16190
|
textTransform: sectionproperties.searchlist_prodNameTextTranform,
|
|
@@ -16489,7 +16292,7 @@
|
|
|
16489
16292
|
borderRadius: sectionproperties.searchlist_prodimage_borderradius + 'px'
|
|
16490
16293
|
}
|
|
16491
16294
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16492
|
-
"class": props.srcfromprops == 'StylishHeader' ? 'col-lg-11 col-md-11 col-sm-9
|
|
16295
|
+
"class": props.srcfromprops == 'StylishHeader' ? searchlist_styles.productnamecont + ' col-lg-11 col-md-11 col-sm-9 d-flex ' : props.srcfromprops == 'searchlistsliderheaderfullwidth' ? searchlist_styles.productnamecont + ' col-lg-9 col-md-10 col-sm-9 d-flex ' : searchlist_styles.productnamecont + ' col-lg-10 col-md-11 col-sm-9 d-flex ',
|
|
16493
16296
|
style: {
|
|
16494
16297
|
alignItems: sectionproperties.searchlistshowprice == 'Show' ? 'start' : 'center'
|
|
16495
16298
|
}
|
|
@@ -18232,8 +18035,8 @@
|
|
|
18232
18035
|
setmenuactive = _useState6[1];
|
|
18233
18036
|
var _useState7 = React.useState(false),
|
|
18234
18037
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
18235
|
-
openSearch = _useState8[0]
|
|
18236
|
-
|
|
18038
|
+
openSearch = _useState8[0];
|
|
18039
|
+
_useState8[1];
|
|
18237
18040
|
React.useEffect(function () {
|
|
18238
18041
|
if (props.sectionpropertiesprops != undefined) {
|
|
18239
18042
|
setsectionproperties(_objectSpread$1T({}, props.sectionpropertiesprops));
|
|
@@ -18504,12 +18307,7 @@
|
|
|
18504
18307
|
}
|
|
18505
18308
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18506
18309
|
className: "col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0"
|
|
18507
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
18508
|
-
"class": "h-100 allcentered",
|
|
18509
|
-
onClick: function onClick() {
|
|
18510
|
-
setopenSearch(true);
|
|
18511
|
-
}
|
|
18512
|
-
}, /*#__PURE__*/React__default["default"].createElement(IoSearchOutline.IoSearchOutline, null)), sectionproperties.cartBtnShow == 'Show' && CartButton(), /*#__PURE__*/React__default["default"].createElement("i", {
|
|
18310
|
+
}, sectionproperties.cartBtnShow == 'Show' && CartButton(), /*#__PURE__*/React__default["default"].createElement("i", {
|
|
18513
18311
|
"class": ' h-100 allcentered ',
|
|
18514
18312
|
style: {
|
|
18515
18313
|
color: sectionproperties.cart_BtnTextcolor_resp
|
|
@@ -34485,10 +34283,14 @@
|
|
|
34485
34283
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34486
34284
|
"class": langdetect == 'en' ? "".concat(header_cssstyles.categorydropdownbtn) + ' row w-100 m-0 align-items-center pl-2 ' : "".concat(header_cssstyles.categorydropdownbtn) + ' row w-100 m-0 align-items-center pr-2 ',
|
|
34487
34285
|
style: {
|
|
34488
|
-
display: 'flex'
|
|
34286
|
+
display: 'flex',
|
|
34287
|
+
color: '#000'
|
|
34489
34288
|
}
|
|
34490
34289
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34491
|
-
"class": 'col-lg-10 d-flex justify-content-start m-0 p-0'
|
|
34290
|
+
"class": header_cssstyles.categorydropdownbtn + ' col-lg-10 d-flex justify-content-start m-0 p-0 ',
|
|
34291
|
+
style: {
|
|
34292
|
+
color: '#000'
|
|
34293
|
+
}
|
|
34492
34294
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34493
34295
|
"class": "col-lg-2 p-0 h-100 d-flex align-items-center justify-content-end"
|
|
34494
34296
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|