tabexseriescomponents 0.0.347 → 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 +642 -481
- package/dist/index.esm.js +643 -482
- package/dist/index.umd.js +645 -482
- 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',
|
|
@@ -2601,7 +2323,7 @@
|
|
|
2601
2323
|
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2602
2324
|
actions: props.actions,
|
|
2603
2325
|
srcfromprops: 'undername'
|
|
2604
|
-
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
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", {
|
|
2605
2327
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
2606
2328
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2607
2329
|
"class": "m-0 p-0",
|
|
@@ -2612,15 +2334,32 @@
|
|
|
2612
2334
|
style: {
|
|
2613
2335
|
fontWeight: 600
|
|
2614
2336
|
}
|
|
2615
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2616
|
-
"class":
|
|
2617
|
-
},
|
|
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", {
|
|
2618
2357
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
2619
2358
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2620
2359
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
2621
2360
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2622
2361
|
"class": "m-0 p-0"
|
|
2623
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 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", {
|
|
2624
2363
|
"class": "mb-4 col-lg-12 allcentered",
|
|
2625
2364
|
style: {
|
|
2626
2365
|
width: '100%',
|
|
@@ -2641,9 +2380,9 @@
|
|
|
2641
2380
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2642
2381
|
color: sectionproperties.deliverytimecontainercolor
|
|
2643
2382
|
}
|
|
2644
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
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, {
|
|
2645
2384
|
actions: props.actions
|
|
2646
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
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", {
|
|
2647
2386
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
2648
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) {
|
|
2649
2388
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -2707,7 +2446,9 @@
|
|
|
2707
2446
|
actions: props.actions
|
|
2708
2447
|
}), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductExtraFields, {
|
|
2709
2448
|
actions: props.actions
|
|
2710
|
-
}), sectionproperties.
|
|
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", {
|
|
2711
2452
|
className: "col-lg-12 p-0 mb-3"
|
|
2712
2453
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
2713
2454
|
className: "mb-0 mt-2"
|
|
@@ -2718,8 +2459,8 @@
|
|
|
2718
2459
|
}
|
|
2719
2460
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2720
2461
|
className: "row m-0 w-100 d-flex align-items-center"
|
|
2721
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2722
|
-
className: "col-lg-12 p-0 mb-2 d-flex
|
|
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"
|
|
2723
2464
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2724
2465
|
className: "m-0 p-0",
|
|
2725
2466
|
style: {
|
|
@@ -2728,7 +2469,216 @@
|
|
|
2728
2469
|
textTransform: sectionproperties.generaltext_textTransform,
|
|
2729
2470
|
fontWeight: sectionproperties.generaltext_fontWeight
|
|
2730
2471
|
}
|
|
2731
|
-
}, lang.quantity, ":")),
|
|
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',
|
|
@@ -7359,9 +7314,12 @@
|
|
|
7359
7314
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7360
7315
|
className: ' col-lg-12 table_responsive p-0 '
|
|
7361
7316
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
7362
|
-
className: 'table'
|
|
7317
|
+
className: 'table table_thbg'
|
|
7363
7318
|
}, /*#__PURE__*/React__default["default"].createElement("thead", {
|
|
7364
|
-
className: ""
|
|
7319
|
+
className: "",
|
|
7320
|
+
style: {
|
|
7321
|
+
background: '#eee'
|
|
7322
|
+
}
|
|
7365
7323
|
}, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7366
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'
|
|
7367
7325
|
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
|
|
@@ -7459,7 +7417,7 @@
|
|
|
7459
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; }
|
|
7460
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; }
|
|
7461
7419
|
var Viewcart = function Viewcart(props) {
|
|
7462
|
-
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;
|
|
7463
7421
|
var lang = props.actions.lang;
|
|
7464
7422
|
var langdetect = props.actions.langdetect;
|
|
7465
7423
|
var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
@@ -7699,8 +7657,10 @@
|
|
|
7699
7657
|
}
|
|
7700
7658
|
}),
|
|
7701
7659
|
tableimagecont: glamor.css({
|
|
7702
|
-
width:
|
|
7703
|
-
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,
|
|
7704
7664
|
display: 'flex',
|
|
7705
7665
|
alignItems: 'center',
|
|
7706
7666
|
justifyContent: 'center',
|
|
@@ -7713,22 +7673,6 @@
|
|
|
7713
7673
|
'@media (max-width: 800px)': {
|
|
7714
7674
|
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
7715
7675
|
}
|
|
7716
|
-
}),
|
|
7717
|
-
shopbuttonstyles: glamor.css({
|
|
7718
|
-
width: sectionproperties.generalbtn_width == 0 ? '100%' : sectionproperties.generalbtn_width + '%',
|
|
7719
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
7720
|
-
borderRadius: sectionproperties.generalbtnborderradius,
|
|
7721
|
-
backgroundColor: sectionproperties.generalbtn_bgColor,
|
|
7722
|
-
color: sectionproperties.generalbtn_textColor,
|
|
7723
|
-
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
7724
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
7725
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
7726
|
-
':hover': {
|
|
7727
|
-
transition: '.3s',
|
|
7728
|
-
backgroundColor: sectionproperties.generalbtn_bgColoronhover,
|
|
7729
|
-
color: sectionproperties.generalbtn_textColoronhover,
|
|
7730
|
-
borderColor: sectionproperties.generalbtn_textColoronhover
|
|
7731
|
-
}
|
|
7732
7676
|
})
|
|
7733
7677
|
};
|
|
7734
7678
|
var _useState5 = React.useState([]),
|
|
@@ -7768,7 +7712,7 @@
|
|
|
7768
7712
|
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
|
|
7769
7713
|
style: {
|
|
7770
7714
|
width: sectionproperties.image_width + 'vw',
|
|
7771
|
-
height: 'auto',
|
|
7715
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'vh',
|
|
7772
7716
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
7773
7717
|
position: 'relative'
|
|
7774
7718
|
}
|
|
@@ -7780,11 +7724,15 @@
|
|
|
7780
7724
|
style: {
|
|
7781
7725
|
height: '100%',
|
|
7782
7726
|
width: '100%',
|
|
7783
|
-
objectFit: 'contain',
|
|
7784
7727
|
margin: 0,
|
|
7785
7728
|
padding: 0,
|
|
7786
|
-
|
|
7787
|
-
|
|
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
|
|
7788
7736
|
}
|
|
7789
7737
|
}), /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
7790
7738
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -7794,13 +7742,34 @@
|
|
|
7794
7742
|
style: {
|
|
7795
7743
|
height: '100%',
|
|
7796
7744
|
width: '100%',
|
|
7797
|
-
objectFit: 'contain',
|
|
7798
7745
|
margin: 0,
|
|
7799
7746
|
padding: 0,
|
|
7800
|
-
|
|
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',
|
|
7801
7753
|
zIndex: -1
|
|
7802
7754
|
}
|
|
7803
|
-
})
|
|
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", {
|
|
7804
7773
|
className: "col-lg-12 p-0"
|
|
7805
7774
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7806
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',
|
|
@@ -7812,9 +7781,9 @@
|
|
|
7812
7781
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
7813
7782
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
7814
7783
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
7815
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px'
|
|
7816
|
-
borderColor: sectionproperties.sectioncardbordercolor,
|
|
7817
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
7784
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px'
|
|
7785
|
+
// borderColor: sectionproperties.sectioncardbordercolor,
|
|
7786
|
+
// border: sectionproperties.sectioncardborderwidth + 'px solid',
|
|
7818
7787
|
}
|
|
7819
7788
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7820
7789
|
className: 'col-lg-12 p-0'
|
|
@@ -7823,7 +7792,7 @@
|
|
|
7823
7792
|
actions: actions
|
|
7824
7793
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7825
7794
|
className: 'col-lg-12 d-flex w-100 p-0'
|
|
7826
|
-
},
|
|
7795
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7827
7796
|
className: "row m-0 w-100"
|
|
7828
7797
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7829
7798
|
className: langdetect == 'en' ? 'col-lg-9 pr-0' : 'col-lg-9 pl-0'
|
|
@@ -7839,7 +7808,10 @@
|
|
|
7839
7808
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
7840
7809
|
className: 'table table_thbg'
|
|
7841
7810
|
}, /*#__PURE__*/React__default["default"].createElement("thead", {
|
|
7842
|
-
className: ""
|
|
7811
|
+
className: "",
|
|
7812
|
+
style: {
|
|
7813
|
+
background: '#eee'
|
|
7814
|
+
}
|
|
7843
7815
|
}, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7844
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'
|
|
7845
7817
|
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
@@ -7856,7 +7828,7 @@
|
|
|
7856
7828
|
}
|
|
7857
7829
|
}, lang.total), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7858
7830
|
className: "text-capitalize text-center font-weight-500 font-14 text-uppercase text-light"
|
|
7859
|
-
}, 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) {
|
|
7860
7832
|
return /*#__PURE__*/React__default["default"].createElement("tr", {
|
|
7861
7833
|
className: "border-none"
|
|
7862
7834
|
}, /*#__PURE__*/React__default["default"].createElement("td", {
|
|
@@ -7872,7 +7844,8 @@
|
|
|
7872
7844
|
style: {
|
|
7873
7845
|
width: '100%',
|
|
7874
7846
|
height: '100%',
|
|
7875
|
-
objectFit: 'contain'
|
|
7847
|
+
objectFit: sectionproperties.prodimage__borderBottomLeftRadius == '100' ? 'cover' : 'contain',
|
|
7848
|
+
borderRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px'
|
|
7876
7849
|
},
|
|
7877
7850
|
loading: "lazy"
|
|
7878
7851
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -8026,18 +7999,16 @@
|
|
|
8026
7999
|
deletecartitemContext(item);
|
|
8027
8000
|
}
|
|
8028
8001
|
}, lang.remove)));
|
|
8029
|
-
}))))))
|
|
8030
|
-
className:
|
|
8031
|
-
}, 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", {
|
|
8032
|
-
className: "row m-0 w-100 d-flex align-items-center 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",
|
|
8033
8004
|
style: {
|
|
8034
|
-
height: '
|
|
8005
|
+
height: '50vh'
|
|
8035
8006
|
}
|
|
8036
8007
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8037
8008
|
className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
|
|
8038
8009
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8039
8010
|
className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
|
|
8040
|
-
}, sectionproperties.noproducticontype == 'Cart' &&
|
|
8011
|
+
}, sectionproperties.noproducticontype == 'Cart' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
8041
8012
|
src: 'https://tabex-co.com/storage/StaticImages/shoppingcart.png',
|
|
8042
8013
|
style: {
|
|
8043
8014
|
maxWidth: '250px',
|
|
@@ -8055,12 +8026,9 @@
|
|
|
8055
8026
|
color: sectionproperties.noprod_color,
|
|
8056
8027
|
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
8057
8028
|
}
|
|
8058
|
-
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar), /*#__PURE__*/React__default["default"].createElement("
|
|
8059
|
-
className:
|
|
8060
|
-
|
|
8061
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
8062
|
-
}
|
|
8063
|
-
}, 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()))))));
|
|
8064
8032
|
};
|
|
8065
8033
|
|
|
8066
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";
|
|
@@ -8376,15 +8344,13 @@
|
|
|
8376
8344
|
})), _defineProperty__default["default"](_checkoutstyles, "containerstyles", glamor.css({
|
|
8377
8345
|
marginTop: sectionproperties.marginTop + 'px',
|
|
8378
8346
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
8379
|
-
paddingLeft: sectionproperties.
|
|
8380
|
-
paddingRight: sectionproperties.
|
|
8347
|
+
paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
|
|
8348
|
+
paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
|
|
8381
8349
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
8382
8350
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
8383
8351
|
background: sectionproperties.backgroundColor,
|
|
8384
|
-
|
|
8385
|
-
|
|
8386
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
8387
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
8352
|
+
borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
8353
|
+
minHeight: '70vh',
|
|
8388
8354
|
'@media (max-width: 800px)': {
|
|
8389
8355
|
marginTop: sectionproperties.marginTopResp + 'px'
|
|
8390
8356
|
}
|
|
@@ -8782,13 +8748,16 @@
|
|
|
8782
8748
|
__html: langdetect == 'en' ? sectionproperties.text1editortexten : sectionproperties.text1editortextar
|
|
8783
8749
|
}
|
|
8784
8750
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8785
|
-
className: "col-lg-12 d-flex align-items-center justify-content-center mb-2 mt-sm-3",
|
|
8751
|
+
className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
|
|
8786
8752
|
style: {
|
|
8787
8753
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
8788
8754
|
}
|
|
8789
8755
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8790
8756
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
8791
8757
|
onClick: function onClick() {
|
|
8758
|
+
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
8759
|
+
cartinfoupdater('paymentmethod', 'cod');
|
|
8760
|
+
}
|
|
8792
8761
|
addorderfuncrunner();
|
|
8793
8762
|
// AddOrderMutationContext.mutate(payloadobj);
|
|
8794
8763
|
},
|
|
@@ -8804,7 +8773,9 @@
|
|
|
8804
8773
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8805
8774
|
className: 'row m-0 w-100 d-flex justify-content-center p-sm-0 '
|
|
8806
8775
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8807
|
-
className:
|
|
8776
|
+
className: ' col-lg-12 w-100 d-flex justify-content-center p-0 '
|
|
8777
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8778
|
+
className: checkoutstyles.containerstyles + ' w-100 d-flex justify-content-center px-md-2 '
|
|
8808
8779
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8809
8780
|
className: 'row m-0 w-100 justify-content-center '
|
|
8810
8781
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -9168,7 +9139,7 @@
|
|
|
9168
9139
|
resize: 'none',
|
|
9169
9140
|
boxShadow: 'none'
|
|
9170
9141
|
}
|
|
9171
|
-
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9142
|
+
}))))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9172
9143
|
className: "col-lg-12 p-0 w-100"
|
|
9173
9144
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9174
9145
|
"class": "".concat(checkoutstyles.innersection) + ' w-100 mb-3 '
|
|
@@ -9292,7 +9263,7 @@
|
|
|
9292
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"
|
|
9293
9264
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9294
9265
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9295
|
-
},
|
|
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", {
|
|
9296
9267
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
9297
9268
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9298
9269
|
style: {
|
|
@@ -9394,7 +9365,7 @@
|
|
|
9394
9365
|
}
|
|
9395
9366
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9396
9367
|
className: langdetect == 'en' ? 'col-lg-4 col-md-12 pr-0' : 'col-lg-4 col-md-12 pl-0'
|
|
9397
|
-
}, Mycart()))));
|
|
9368
|
+
}, Mycart())))));
|
|
9398
9369
|
};
|
|
9399
9370
|
|
|
9400
9371
|
function ownKeys$2d(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; }
|
|
@@ -11865,7 +11836,7 @@
|
|
|
11865
11836
|
setsidecartnavshowWorkplaceDesigncontext(false);
|
|
11866
11837
|
setsidecartnavshowcontext(false);
|
|
11867
11838
|
},
|
|
11868
|
-
placement:
|
|
11839
|
+
placement: langdetect == 'en' ? 'end' : 'start',
|
|
11869
11840
|
scroll: true,
|
|
11870
11841
|
style: {
|
|
11871
11842
|
backgroundColor: sectionproperties.backgroundColor,
|
|
@@ -12056,25 +12027,39 @@
|
|
|
12056
12027
|
"class": "col-9 p-0 d-flex justify-content-start align-items-center"
|
|
12057
12028
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
12058
12029
|
className: " ".concat(cart_cssstyles.quantitybtn) + ' px-2 d-flex align-items-center justify-content-center '
|
|
12059
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12030
|
+
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12060
12031
|
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
12061
12032
|
onClick: function onClick() {
|
|
12062
12033
|
ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
12063
12034
|
}
|
|
12064
12035
|
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
12065
12036
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
12037
|
+
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12038
|
+
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
12039
|
+
onClick: function onClick() {
|
|
12040
|
+
ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
|
|
12041
|
+
}
|
|
12042
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
12043
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
12066
12044
|
})), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12067
12045
|
className: "".concat(cart_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
|
|
12068
12046
|
style: {
|
|
12069
12047
|
background: 'transparent'
|
|
12070
12048
|
}
|
|
12071
|
-
}, item.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12049
|
+
}, item.quantity), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12072
12050
|
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
12073
12051
|
onClick: function onClick() {
|
|
12074
12052
|
ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
|
|
12075
12053
|
}
|
|
12076
12054
|
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
12077
12055
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
12056
|
+
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12057
|
+
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
12058
|
+
onClick: function onClick() {
|
|
12059
|
+
ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
12060
|
+
}
|
|
12061
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
12062
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
12078
12063
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12079
12064
|
"class": "col-3 p-0 d-flex justify-content-end align-items-center"
|
|
12080
12065
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -15100,7 +15085,7 @@
|
|
|
15100
15085
|
} else if (item.tabexsectioninfo.sectioncompname == 'Card20') {
|
|
15101
15086
|
bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto';
|
|
15102
15087
|
} else if (item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow') {
|
|
15103
|
-
bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4
|
|
15088
|
+
bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
15104
15089
|
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition') {
|
|
15105
15090
|
bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ';
|
|
15106
15091
|
} else if (item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard') {
|
|
@@ -16196,6 +16181,10 @@
|
|
|
16196
16181
|
color: sectionproperties.searchlist_prodNameColorOnHover
|
|
16197
16182
|
}
|
|
16198
16183
|
}),
|
|
16184
|
+
productnamecont: glamor.css({
|
|
16185
|
+
paddingLeft: langdetect == 'en' ? '0.25rem' : 0,
|
|
16186
|
+
paddingRight: langdetect == 'ar' ? '0.25rem' : 0
|
|
16187
|
+
}),
|
|
16199
16188
|
productNameStyles: glamor.css({
|
|
16200
16189
|
fontSize: sectionproperties.searchlist_prodNameFontSize + 'px',
|
|
16201
16190
|
textTransform: sectionproperties.searchlist_prodNameTextTranform,
|
|
@@ -16303,7 +16292,7 @@
|
|
|
16303
16292
|
borderRadius: sectionproperties.searchlist_prodimage_borderradius + 'px'
|
|
16304
16293
|
}
|
|
16305
16294
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16306
|
-
"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 ',
|
|
16307
16296
|
style: {
|
|
16308
16297
|
alignItems: sectionproperties.searchlistshowprice == 'Show' ? 'start' : 'center'
|
|
16309
16298
|
}
|
|
@@ -18046,8 +18035,8 @@
|
|
|
18046
18035
|
setmenuactive = _useState6[1];
|
|
18047
18036
|
var _useState7 = React.useState(false),
|
|
18048
18037
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
18049
|
-
openSearch = _useState8[0]
|
|
18050
|
-
|
|
18038
|
+
openSearch = _useState8[0];
|
|
18039
|
+
_useState8[1];
|
|
18051
18040
|
React.useEffect(function () {
|
|
18052
18041
|
if (props.sectionpropertiesprops != undefined) {
|
|
18053
18042
|
setsectionproperties(_objectSpread$1T({}, props.sectionpropertiesprops));
|
|
@@ -18318,12 +18307,7 @@
|
|
|
18318
18307
|
}
|
|
18319
18308
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18320
18309
|
className: "col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0"
|
|
18321
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
18322
|
-
"class": "h-100 allcentered",
|
|
18323
|
-
onClick: function onClick() {
|
|
18324
|
-
setopenSearch(true);
|
|
18325
|
-
}
|
|
18326
|
-
}, /*#__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", {
|
|
18327
18311
|
"class": ' h-100 allcentered ',
|
|
18328
18312
|
style: {
|
|
18329
18313
|
color: sectionproperties.cart_BtnTextcolor_resp
|
|
@@ -18498,7 +18482,7 @@
|
|
|
18498
18482
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
18499
18483
|
var lang = props.actions.lang;
|
|
18500
18484
|
var langdetect = props.actions.langdetect;
|
|
18501
|
-
props.actions.setlang;
|
|
18485
|
+
var setlang = props.actions.setlang;
|
|
18502
18486
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
18503
18487
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
18504
18488
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
@@ -18829,7 +18813,10 @@
|
|
|
18829
18813
|
}, langdetect == 'en' ? (_textarray$ = textarray[0]) === null || _textarray$ === void 0 ? void 0 : _textarray$.textEnglish : (_textarray$2 = textarray[0]) === null || _textarray$2 === void 0 ? void 0 : _textarray$2.textArabic))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18830
18814
|
"class": "col-lg-4 p-0 text-end"
|
|
18831
18815
|
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18832
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 '
|
|
18816
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
|
|
18817
|
+
onClick: function onClick() {
|
|
18818
|
+
setlang('en');
|
|
18819
|
+
}
|
|
18833
18820
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
18834
18821
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
18835
18822
|
style: {
|
|
@@ -18846,7 +18833,10 @@
|
|
|
18846
18833
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18847
18834
|
"class": "m-0 p-0"
|
|
18848
18835
|
}, "\u0639")), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18849
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 '
|
|
18836
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
|
|
18837
|
+
onClick: function onClick() {
|
|
18838
|
+
setlang('ar');
|
|
18839
|
+
}
|
|
18850
18840
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
18851
18841
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
18852
18842
|
style: {
|
|
@@ -18865,7 +18855,7 @@
|
|
|
18865
18855
|
}, "En")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18866
18856
|
"class": "allcentered"
|
|
18867
18857
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18868
|
-
"class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
|
|
18858
|
+
"class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center pt-1 ',
|
|
18869
18859
|
sytle: {
|
|
18870
18860
|
position: 'relative'
|
|
18871
18861
|
},
|
|
@@ -19002,7 +18992,7 @@
|
|
|
19002
18992
|
top: sectionproperties.wishlistbadgetop + 'px',
|
|
19003
18993
|
right: sectionproperties.wishlistbadgeright + 'px'
|
|
19004
18994
|
}
|
|
19005
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", null, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18995
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", null, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length == 0 ? 0 : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19006
18996
|
"class": " ".concat(header_cssstyles.cart_btn) + ' cursor-pointer allcentered ',
|
|
19007
18997
|
onClick: function onClick() {
|
|
19008
18998
|
setsidecartnavshowcontext(true);
|
|
@@ -24199,16 +24189,6 @@
|
|
|
24199
24189
|
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
24200
24190
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
24201
24191
|
}), " ", lang.wishlist))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
24202
|
-
onClick: function onClick() {
|
|
24203
|
-
routingcountext(StaticPagesLinksContext.Policies);
|
|
24204
|
-
}
|
|
24205
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24206
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
24207
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24208
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
24209
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineSecurityScan.AiOutlineSecurityScan, {
|
|
24210
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
24211
|
-
}), lang.policies))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
24212
24192
|
onClick: function onClick() {
|
|
24213
24193
|
LogoutMutationContext.mutate();
|
|
24214
24194
|
}
|
|
@@ -34303,10 +34283,14 @@
|
|
|
34303
34283
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34304
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 ',
|
|
34305
34285
|
style: {
|
|
34306
|
-
display: 'flex'
|
|
34286
|
+
display: 'flex',
|
|
34287
|
+
color: '#000'
|
|
34307
34288
|
}
|
|
34308
34289
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34309
|
-
"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
|
+
}
|
|
34310
34294
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34311
34295
|
"class": "col-lg-2 p-0 h-100 d-flex align-items-center justify-content-end"
|
|
34312
34296
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -42858,7 +42842,7 @@
|
|
|
42858
42842
|
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
42859
42843
|
}
|
|
42860
42844
|
}, SectionTitle()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42861
|
-
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 d-flex align-items-center justify-content-center mb-md-0' : 'col-lg-12 d-flex align-items-center justify-content-start justify-content-md-center mb-md-0',
|
|
42845
|
+
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 d-flex align-items-center justify-content-center mb-md-0' : 'col-lg-12 d-flex align-items-center justify-content-start justify-content-md-center mb-md-0 p-0',
|
|
42862
42846
|
style: {
|
|
42863
42847
|
marginBottom: sectionproperties.descriptionMarginBottom + 'px'
|
|
42864
42848
|
}
|
|
@@ -42921,7 +42905,10 @@
|
|
|
42921
42905
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
42922
42906
|
transitionBehavior: 'auto',
|
|
42923
42907
|
wrapperClassName: '',
|
|
42924
|
-
itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' :
|
|
42908
|
+
itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' :
|
|
42909
|
+
// : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard'
|
|
42910
|
+
// ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard '
|
|
42911
|
+
item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg' ? 'scrollmenuclassnameitemCategorycard_with_trianglebg' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover' ? 'scrollmenuclassnameitemProductcard_with_textonhover' : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled' ? 'scrollmenuclassnameitemCategorycard_slidebgscaled' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard' ? 'scrollmenuclassnameitemUpSlideEffectCard' : '',
|
|
42925
42912
|
scrollContainerClassName: 'scrollmenuclasssubscrollbar'
|
|
42926
42913
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
42927
42914
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -47111,18 +47098,14 @@
|
|
|
47111
47098
|
}, [sectionproperties]);
|
|
47112
47099
|
var sectionstyles = {
|
|
47113
47100
|
btnstyles: glamor.css({
|
|
47114
|
-
width: sectionproperties.generalbtn_width + '
|
|
47101
|
+
width: sectionproperties.generalbtn_width + '%',
|
|
47115
47102
|
height: sectionproperties.generalbtn_height + 'px',
|
|
47116
47103
|
background: sectionproperties.generalbtn_bgColor,
|
|
47117
|
-
|
|
47118
|
-
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
47119
|
-
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
47120
|
-
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
47104
|
+
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
47121
47105
|
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
47122
47106
|
color: sectionproperties.generalbtn_textColor,
|
|
47123
47107
|
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
47124
47108
|
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
47125
|
-
textTransform: sectionproperties.generalbtn_texttransform,
|
|
47126
47109
|
':hover': {
|
|
47127
47110
|
transition: '.3s',
|
|
47128
47111
|
background: sectionproperties.generalbtn_bgColoronhover,
|
|
@@ -47180,6 +47163,7 @@
|
|
|
47180
47163
|
position: 'relative',
|
|
47181
47164
|
marginLeft: sectionproperties.card_marginLeft + 'px',
|
|
47182
47165
|
marginRight: sectionproperties.card_marginRight + 'px',
|
|
47166
|
+
backgroundColor: 'white',
|
|
47183
47167
|
'@media (max-width: 800px)': {
|
|
47184
47168
|
height: sectionproperties.height_responsive + 'vh'
|
|
47185
47169
|
}
|
|
@@ -47202,7 +47186,7 @@
|
|
|
47202
47186
|
height: '100%',
|
|
47203
47187
|
objectFit: 'cover'
|
|
47204
47188
|
}
|
|
47205
|
-
})), sectionproperties.
|
|
47189
|
+
})), sectionproperties.sectionstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47206
47190
|
"class": "row m-0 w-100 justify-content-center mt-sm-5 mb-sm-5"
|
|
47207
47191
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47208
47192
|
"class": "col-lg-6 col-md-9 col-sm-9 p-0 mt-auto mb-auto text-align-start"
|
|
@@ -47268,7 +47252,7 @@
|
|
|
47268
47252
|
// onClick={() => {
|
|
47269
47253
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
|
|
47270
47254
|
// }}
|
|
47271
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), sectionproperties.
|
|
47255
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), sectionproperties.sectionstyletype == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47272
47256
|
"class": "row m-0 w-100 allcentered",
|
|
47273
47257
|
style: {
|
|
47274
47258
|
zIndex: 2
|
|
@@ -47337,9 +47321,7 @@
|
|
|
47337
47321
|
getOptionValue: function getOptionValue(option) {
|
|
47338
47322
|
return option.collectionid;
|
|
47339
47323
|
},
|
|
47340
|
-
autocomplete: "new-password"
|
|
47341
|
-
// value={fetchTabexCountriesQueryContext.data.data.countries.filter((option) => option.id == props?.payloadobj?.countryid)}
|
|
47342
|
-
,
|
|
47324
|
+
autocomplete: "new-password",
|
|
47343
47325
|
onChange: function onChange(option) {
|
|
47344
47326
|
var temp = payloadobj;
|
|
47345
47327
|
temp.collections = [];
|
|
@@ -47351,10 +47333,7 @@
|
|
|
47351
47333
|
placeholder: ''
|
|
47352
47334
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47353
47335
|
"class": sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Show' && sectionproperties.showpricerange == 'Show' ? 'col-lg-8 p-0' : sectionproperties.showpricerange == 'Show' ? 'col-lg-9 p-0' : sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Hide' ? 'col-lg-8 p-0' : 'col-lg-12 p-0'
|
|
47354
|
-
}, /*#__PURE__*/React__default["default"].createElement(CustomerAddressForm
|
|
47355
|
-
// customeraddressrequierd={customeraddressrequierd}
|
|
47356
|
-
// payloadobj={payloadobj}
|
|
47357
|
-
, {
|
|
47336
|
+
}, /*#__PURE__*/React__default["default"].createElement(CustomerAddressForm, {
|
|
47358
47337
|
payloadobj: payloadobj,
|
|
47359
47338
|
setpayloadobj: setpayloadobj,
|
|
47360
47339
|
sectionproperties: sectionproperties
|
|
@@ -47435,7 +47414,191 @@
|
|
|
47435
47414
|
routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
47436
47415
|
}
|
|
47437
47416
|
}
|
|
47438
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))
|
|
47417
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), sectionproperties.sectionstyletype == 'Style 3' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47418
|
+
"class": "row m-0 w-100 allcentered mt-auto mb-4 px-4",
|
|
47419
|
+
style: {
|
|
47420
|
+
zIndex: 2
|
|
47421
|
+
}
|
|
47422
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47423
|
+
"class": "row m-0 w-100 d-flex align-items-center justify-content-start"
|
|
47424
|
+
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47425
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
|
|
47426
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47427
|
+
"class": "wordbreak",
|
|
47428
|
+
style: {
|
|
47429
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
47430
|
+
color: sectionproperties.sectionTitleColor,
|
|
47431
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
47432
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
47433
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
47434
|
+
marginBottom: sectionproperties.prodCatShow == 'Show' ? 0 : 20
|
|
47435
|
+
}
|
|
47436
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47437
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
|
|
47438
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47439
|
+
style: {
|
|
47440
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
47441
|
+
color: sectionproperties.prodCatColor,
|
|
47442
|
+
textTransform: sectionproperties.prodCatTextTranform,
|
|
47443
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
47444
|
+
maxWidth: '500px'
|
|
47445
|
+
}
|
|
47446
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47447
|
+
"class": 'col-lg-10 col-md-12 col-sm-12 allcentered mt-3',
|
|
47448
|
+
style: {
|
|
47449
|
+
backgroundColor: sectionproperties.reservation_bgcolor,
|
|
47450
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
47451
|
+
paddingTop: sectionproperties.reservation_padding_top + 'px',
|
|
47452
|
+
paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
|
|
47453
|
+
paddingLeft: sectionproperties.reservation_padding_left + 'px',
|
|
47454
|
+
paddingRight: sectionproperties.reservation_padding_right + 'px'
|
|
47455
|
+
}
|
|
47456
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47457
|
+
"class": "row m-0 w-100 allcentered"
|
|
47458
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47459
|
+
"class": "col-lg-12 p-0"
|
|
47460
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47461
|
+
"class": "row m-0 w-100 d-flex align-items-center justify-content-start"
|
|
47462
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47463
|
+
"class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
|
|
47464
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
47465
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
47466
|
+
style: {
|
|
47467
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
47468
|
+
}
|
|
47469
|
+
}, langdetect == 'en' ? 'Brand' : 'الماركة'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47470
|
+
"class": 'col-lg-12 p-0'
|
|
47471
|
+
}, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
47472
|
+
options: [{
|
|
47473
|
+
label: 'Tesla',
|
|
47474
|
+
value: 1
|
|
47475
|
+
}, {
|
|
47476
|
+
label: 'VW',
|
|
47477
|
+
value: 0
|
|
47478
|
+
}, {
|
|
47479
|
+
label: 'BYD',
|
|
47480
|
+
value: 0
|
|
47481
|
+
}],
|
|
47482
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
47483
|
+
placeholder: ''
|
|
47484
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47485
|
+
"class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
|
|
47486
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
47487
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
47488
|
+
style: {
|
|
47489
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
47490
|
+
}
|
|
47491
|
+
}, langdetect == 'en' ? 'KM' : 'KM'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47492
|
+
"class": 'col-lg-12 p-0'
|
|
47493
|
+
}, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
47494
|
+
options: [{
|
|
47495
|
+
label: '100000',
|
|
47496
|
+
value: 1
|
|
47497
|
+
}, {
|
|
47498
|
+
label: '50000',
|
|
47499
|
+
value: 0
|
|
47500
|
+
}, {
|
|
47501
|
+
label: '30000',
|
|
47502
|
+
value: 0
|
|
47503
|
+
}],
|
|
47504
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
47505
|
+
placeholder: ''
|
|
47506
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47507
|
+
"class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
|
|
47508
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
47509
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
47510
|
+
style: {
|
|
47511
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
47512
|
+
}
|
|
47513
|
+
}, langdetect == 'en' ? 'Model Year' : 'السنة'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47514
|
+
"class": 'col-lg-12 p-0'
|
|
47515
|
+
}, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
47516
|
+
options: [{
|
|
47517
|
+
label: '2023',
|
|
47518
|
+
value: 1
|
|
47519
|
+
}, {
|
|
47520
|
+
label: '2022',
|
|
47521
|
+
value: 0
|
|
47522
|
+
}, {
|
|
47523
|
+
label: '2021',
|
|
47524
|
+
value: 0
|
|
47525
|
+
}],
|
|
47526
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
47527
|
+
placeholder: ''
|
|
47528
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47529
|
+
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-md-3 '
|
|
47530
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
47531
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
|
|
47532
|
+
style: {
|
|
47533
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
47534
|
+
}
|
|
47535
|
+
}, langdetect == 'en' ? 'Price' : 'السعر'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47536
|
+
"class": 'col-lg-12 pl-4 pr-4 mt-2 mb-2',
|
|
47537
|
+
style: {
|
|
47538
|
+
direction: 'ltr'
|
|
47539
|
+
}
|
|
47540
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputRange__default["default"], {
|
|
47541
|
+
draggableTrack: true,
|
|
47542
|
+
formatLabel: function formatLabel(value) {
|
|
47543
|
+
return "".concat(value);
|
|
47544
|
+
},
|
|
47545
|
+
maxValue: parseInt(sectionproperties.filterpricemaxvalue),
|
|
47546
|
+
minValue: parseInt(sectionproperties.filterpriceminvalue),
|
|
47547
|
+
value: pricevalue,
|
|
47548
|
+
onChange: function onChange(value) {
|
|
47549
|
+
setpricevalue(_objectSpread$16({}, value));
|
|
47550
|
+
}
|
|
47551
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47552
|
+
"class": "col-lg-1"
|
|
47553
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47554
|
+
"class": "col-lg-2 col-md-12 d-flex align-items-center justify-content-end"
|
|
47555
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
47556
|
+
"class": sectionstyles.btnstyles + ' allcentered ',
|
|
47557
|
+
onClick: function onClick() {
|
|
47558
|
+
var _payloadobj$countryid2, _payloadobj$stateid2, _payloadobj$cityid2, _pricevalue$min2, _pricevalue$max2;
|
|
47559
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$16({}, fetchproductsfilerobjcontext);
|
|
47560
|
+
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.countryid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$countryid2 = payloadobj.countryid) === null || _payloadobj$countryid2 === void 0 ? void 0 : _payloadobj$countryid2.length) != 0) {
|
|
47561
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
47562
|
+
tempfetchproductsfilerobjcontext.country_ids = [payloadobj.countryid];
|
|
47563
|
+
} else {
|
|
47564
|
+
tempfetchproductsfilerobjcontext.countryid = payloadobj.countryid;
|
|
47565
|
+
}
|
|
47566
|
+
}
|
|
47567
|
+
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.stateid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$stateid2 = payloadobj.stateid) === null || _payloadobj$stateid2 === void 0 ? void 0 : _payloadobj$stateid2.length) != 0) {
|
|
47568
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
47569
|
+
tempfetchproductsfilerobjcontext.state_ids = [payloadobj.stateid];
|
|
47570
|
+
} else {
|
|
47571
|
+
tempfetchproductsfilerobjcontext.stateid = payloadobj.stateid;
|
|
47572
|
+
}
|
|
47573
|
+
}
|
|
47574
|
+
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.cityid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$cityid2 = payloadobj.cityid) === null || _payloadobj$cityid2 === void 0 ? void 0 : _payloadobj$cityid2.length) != 0) {
|
|
47575
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
47576
|
+
tempfetchproductsfilerobjcontext.city_ids = [payloadobj.cityid];
|
|
47577
|
+
} else {
|
|
47578
|
+
tempfetchproductsfilerobjcontext.cityid = payloadobj.cityid;
|
|
47579
|
+
}
|
|
47580
|
+
}
|
|
47581
|
+
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.collections) != null && payloadobj.collections.length != 0) {
|
|
47582
|
+
tempfetchproductsfilerobjcontext.collections = payloadobj.collections;
|
|
47583
|
+
}
|
|
47584
|
+
if ((pricevalue === null || pricevalue === void 0 ? void 0 : pricevalue.min) != null && (pricevalue === null || pricevalue === void 0 || (_pricevalue$min2 = pricevalue.min) === null || _pricevalue$min2 === void 0 ? void 0 : _pricevalue$min2.length) != 0) {
|
|
47585
|
+
tempfetchproductsfilerobjcontext.price_min = pricevalue.min;
|
|
47586
|
+
}
|
|
47587
|
+
if ((pricevalue === null || pricevalue === void 0 ? void 0 : pricevalue.max) != null && (pricevalue === null || pricevalue === void 0 || (_pricevalue$max2 = pricevalue.max) === null || _pricevalue$max2 === void 0 ? void 0 : _pricevalue$max2.length) != 0) {
|
|
47588
|
+
if (sectionproperties.showpricerange == 'Hide') {
|
|
47589
|
+
tempfetchproductsfilerobjcontext.price_max = 99999999999999;
|
|
47590
|
+
} else {
|
|
47591
|
+
tempfetchproductsfilerobjcontext.price_max = pricevalue.max;
|
|
47592
|
+
}
|
|
47593
|
+
}
|
|
47594
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
47595
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
47596
|
+
}
|
|
47597
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Vendors') {
|
|
47598
|
+
routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
47599
|
+
}
|
|
47600
|
+
}
|
|
47601
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))))));
|
|
47439
47602
|
};
|
|
47440
47603
|
|
|
47441
47604
|
function ownKeys$15(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; }
|
|
@@ -65284,7 +65447,7 @@
|
|
|
65284
65447
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
65285
65448
|
size: sectionproperties.cartBtn_iconFontSize
|
|
65286
65449
|
})), langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
65287
|
-
"class": "col-lg-12 d-flex align-items-center",
|
|
65450
|
+
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
65288
65451
|
style: {
|
|
65289
65452
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
65290
65453
|
}
|