tabexseriescomponents 0.0.265 → 0.0.267
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 +490 -136
- package/dist/index.esm.js +490 -136
- package/dist/index.umd.js +493 -139
- package/package.json +1 -1
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('react-query'), 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('imagekitio-react'), require('react-rating-stars-component'), require('@mui/material'), 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('@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-textarea-autosize'), require('@babel/runtime/helpers/toConsumableArray'), 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/
|
|
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', 'react-query', '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', 'imagekitio-react', 'react-rating-stars-component', '@mui/material', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-horizontal-scrolling-menu', '@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-textarea-autosize', '@babel/runtime/helpers/toConsumableArray', '@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/
|
|
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, null, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar, global.AiOutlineStar, global.reactShare, global.imagekitioReact, global.ReactStars, global.material, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.TextareaAutosize, global._toConsumableArray, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.
|
|
5
|
-
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, reactQuery, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart, FiShoppingBag, FiShoppingCart, AiFillStar, AiOutlineStar, reactShare, imagekitioReact, ReactStars, material, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, TextareaAutosize, _toConsumableArray, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe,
|
|
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('react-query'), 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('imagekitio-react'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('@mui/material'), 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('@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-textarea-autosize'), require('@babel/runtime/helpers/toConsumableArray'), 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-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-accessible-accordion'), 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-router-dom'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('react-bootstrap/Dropdown'), require('@react-icons/all-files/fi/FiChevronUp'), require('@react-icons/all-files/fi/FiChevronDown'), require('react-input-range'), require('react-intersection-observer'), require('@react-icons/all-files/fa/FaArrowAltCircleRight'), require('@react-icons/all-files/fa/FaArrowAltCircleLeft'), 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/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/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/ai/AiFillInstagram'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/go/GoSearch'), require('@react-icons/all-files/ai/AiOutlineInstagram'), 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/io5/IoClose'), 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/go/GoLocation'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('react-select'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), 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/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), 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', 'react-query', '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', 'imagekitio-react', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', '@mui/material', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-horizontal-scrolling-menu', '@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-textarea-autosize', '@babel/runtime/helpers/toConsumableArray', '@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-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-accessible-accordion', '@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-router-dom', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-bootstrap/Dropdown', '@react-icons/all-files/fi/FiChevronUp', '@react-icons/all-files/fi/FiChevronDown', 'react-input-range', 'react-intersection-observer', '@react-icons/all-files/fa/FaArrowAltCircleRight', '@react-icons/all-files/fa/FaArrowAltCircleLeft', '@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/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/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/ai/AiFillInstagram', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/go/GoSearch', '@react-icons/all-files/ai/AiOutlineInstagram', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/io5/IoClose', '@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/go/GoLocation', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', 'react-select', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', '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/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', '@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, null, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar, global.AiOutlineStar, global.reactShare, global.imagekitioReact, global.ReactStars, global.FiLayers, global.material, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.TextareaAutosize, global._toConsumableArray, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.HiOutlineTrash, global.BiSad, global.FiCalendar, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.reactAccessibleAccordion, global.BsChevronLeft, global.BsChevronRight, global.RiArrowUpSLine, global.RiArrowDownSLine, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.Dropdown, global.FiChevronUp, global.FiChevronDown, global.InputRange, global.reactIntersectionObserver, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.FiFilter, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, 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.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiFillInstagram, global.FaWhatsapp, global.GoSearch, global.AiOutlineInstagram, global.MdKeyboardArrowUp, global.BsInfoCircle, global.AiFillPhone, global.IoClose, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.AiOutlinePhone, global.GoLocation, global.RiRoadMapLine, global.HiOutlineClock, global.Select$2, global.IoIosArrowRoundForward, global.IoIosArrowRoundBack, global.ReactPlayer, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.FaRegEye, global.FiMinus, global.FiPlus, 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, reactQuery, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart, FiShoppingBag, FiShoppingCart, AiFillStar, AiOutlineStar, reactShare, imagekitioReact, ReactStars, FiLayers, material, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, TextareaAutosize, _toConsumableArray, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, HiOutlineTrash, BiSad, FiCalendar, HiUser, GrMail, FiCheckCircle, BiPhone, PhoneInput, reactAccessibleAccordion, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, reactRouterDom, IoBagCheckOutline, IoBagRemoveOutline, Dropdown, FiChevronUp, FiChevronDown, InputRange, reactIntersectionObserver, FaArrowAltCircleRight, FaArrowAltCircleLeft, FiFilter, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, BiGlobe, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiFillInstagram, FaWhatsapp, GoSearch, AiOutlineInstagram, MdKeyboardArrowUp, BsInfoCircle, AiFillPhone, IoClose, FaTelegramPlane, FaPhoneAlt, FaPhone, AiOutlinePhone, GoLocation, RiRoadMapLine, HiOutlineClock, Select$2, IoIosArrowRoundForward, IoIosArrowRoundBack, ReactPlayer, BackgroundSlideshow, _extends, reactSlideshowImage, HiOutlineLocationMarker, FiPhoneCall, FaRegEye, FiMinus, FiPlus, 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
|
|
|
@@ -1177,7 +1177,7 @@
|
|
|
1177
1177
|
function ownKeys$20(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
1178
1178
|
function _objectSpread$20(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$20(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$20(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1179
1179
|
var Product_itemtype = function Product_itemtype(props) {
|
|
1180
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2,
|
|
1180
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45;
|
|
1181
1181
|
var lang = props.actions.lang;
|
|
1182
1182
|
var langdetect = props.actions.langdetect;
|
|
1183
1183
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -1263,10 +1263,10 @@
|
|
|
1263
1263
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1264
1264
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
1265
1265
|
style: {
|
|
1266
|
-
minHeight: '
|
|
1266
|
+
minHeight: sectionproperties.height + 'vh'
|
|
1267
1267
|
}
|
|
1268
1268
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1269
|
-
className: langdetect == 'en' ? 'col-lg-9 pl-0 mb-md-3 p-md-0' : 'col-lg-9 pr-0 mb-md-3 p-md-0'
|
|
1269
|
+
className: sectionproperties.showfooterphonenumber == 'Hide' && sectionproperties.showfooteremail == 'Hide' && sectionproperties.showstoreinfo2 == 'Hide' && sectionproperties.showstoreinfo1 == 'Hide' ? 'col-lg-12' : langdetect == 'en' ? 'col-lg-9 pl-0 mb-md-3 p-md-0' : 'col-lg-9 pr-0 mb-md-3 p-md-0'
|
|
1270
1270
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1271
1271
|
className: 'row m-0 w-100'
|
|
1272
1272
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1277,7 +1277,18 @@
|
|
|
1277
1277
|
width: '100%',
|
|
1278
1278
|
height: 'auto'
|
|
1279
1279
|
}
|
|
1280
|
-
}, productimagesarray.length
|
|
1280
|
+
}, productimagesarray.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1281
|
+
style: {
|
|
1282
|
+
width: '100%',
|
|
1283
|
+
height: '30vh',
|
|
1284
|
+
background: '#eee',
|
|
1285
|
+
borderRadius: 10
|
|
1286
|
+
}
|
|
1287
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
1288
|
+
"class": "h-100 allcentered text-light"
|
|
1289
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
1290
|
+
size: 26
|
|
1291
|
+
}))), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
|
|
1281
1292
|
items: productimagesarray,
|
|
1282
1293
|
thumbnailPosition: sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left',
|
|
1283
1294
|
showNav: false,
|
|
@@ -1360,9 +1371,9 @@
|
|
|
1360
1371
|
style: {
|
|
1361
1372
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
1362
1373
|
}
|
|
1363
|
-
}, langdetect == 'en' ? 'Delivery Time' : 'مدة الشحن', ": ", fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : (_fetchProductInfoQuer17 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : (_fetchProductInfoQuer18 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.deliverydatetext)), /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
1374
|
+
}, langdetect == 'en' ? 'Delivery Time' : 'مدة الشحن', ": ", fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : (_fetchProductInfoQuer17 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : (_fetchProductInfoQuer18 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.deliverydatetext)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : (_fetchProductInfoQuer20 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : (_fetchProductInfoQuer21 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
1364
1375
|
actions: props.actions
|
|
1365
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1376
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : (_fetchProductInfoQuer23 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : (_fetchProductInfoQuer24 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1366
1377
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
1367
1378
|
}, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : (_ProductInfoObj$data$ = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data$ === void 0 ? void 0 : (_ProductInfoObj$data$2 = _ProductInfoObj$data$.productoptions) === null || _ProductInfoObj$data$2 === void 0 ? void 0 : _ProductInfoObj$data$2.map(function (item, index) {
|
|
1368
1379
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1435,7 +1446,7 @@
|
|
|
1435
1446
|
}
|
|
1436
1447
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1437
1448
|
className: "row m-0 w-100 d-flex align-items-center"
|
|
1438
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1449
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : (_fetchProductInfoQuer26 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : (_fetchProductInfoQuer27 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : (_fetchProductInfoQuer29 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : (_fetchProductInfoQuer30 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1439
1450
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
1440
1451
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1441
1452
|
className: "m-0 p-0",
|
|
@@ -1445,7 +1456,7 @@
|
|
|
1445
1456
|
textTransform: sectionproperties.generaltext_textTransform,
|
|
1446
1457
|
fontWeight: sectionproperties.generaltext_fontWeight
|
|
1447
1458
|
}
|
|
1448
|
-
}, lang.quantity, ":")), sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1459
|
+
}, lang.quantity, ":")), sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : (_fetchProductInfoQuer32 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : (_fetchProductInfoQuer33 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : (_fetchProductInfoQuer35 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : (_fetchProductInfoQuer36 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
1449
1460
|
className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
1450
1461
|
style: {
|
|
1451
1462
|
height: sectionproperties.quantitybtn_height + 'px',
|
|
@@ -1481,7 +1492,7 @@
|
|
|
1481
1492
|
style: {
|
|
1482
1493
|
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px'
|
|
1483
1494
|
}
|
|
1484
|
-
}))), sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1495
|
+
}))), sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : (_fetchProductInfoQuer38 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : (_fetchProductInfoQuer39 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
1485
1496
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
1486
1497
|
onClick: function onClick() {
|
|
1487
1498
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
@@ -1547,7 +1558,7 @@
|
|
|
1547
1558
|
size: sectionproperties.favBtnIconfontsize
|
|
1548
1559
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
1549
1560
|
size: sectionproperties.favBtnIconfontsize
|
|
1550
|
-
})))))), sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1561
|
+
})))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : (_fetchProductInfoQuer41 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : (_fetchProductInfoQuer42 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1551
1562
|
className: "col-lg-12 p-0 mb-3"
|
|
1552
1563
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1553
1564
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -1584,7 +1595,7 @@
|
|
|
1584
1595
|
style: {
|
|
1585
1596
|
textDecoration: 'none'
|
|
1586
1597
|
}
|
|
1587
|
-
}, "-"), 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.show_availability == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1598
|
+
}, "-"), 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.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : (_fetchProductInfoQuer44 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : (_fetchProductInfoQuer45 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1588
1599
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
1589
1600
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1590
1601
|
style: {
|
|
@@ -1664,7 +1675,8 @@
|
|
|
1664
1675
|
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',
|
|
1665
1676
|
style: {
|
|
1666
1677
|
borderLeft: langdetect == 'en' ? '1px solid #eee' : 0,
|
|
1667
|
-
borderRight: langdetect == 'ar' ? '1px solid #eee' : 0
|
|
1678
|
+
borderRight: langdetect == 'ar' ? '1px solid #eee' : 0,
|
|
1679
|
+
display: sectionproperties.showfooterphonenumber == 'Hide' && sectionproperties.showfooteremail == 'Hide' && sectionproperties.showstoreinfo2 == 'Hide' && sectionproperties.showstoreinfo1 == 'Hide' ? 'none' : 'block'
|
|
1668
1680
|
}
|
|
1669
1681
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1670
1682
|
"class": "row m-0 w-100",
|
|
@@ -4155,7 +4167,8 @@
|
|
|
4155
4167
|
textTransform: sectionproperties.tabtexttexttransform,
|
|
4156
4168
|
borderRadius: sectionproperties.tabcontainerborderradius + 'px',
|
|
4157
4169
|
fontFamily: 'Poppins',
|
|
4158
|
-
transition: '.3s'
|
|
4170
|
+
transition: '.3s',
|
|
4171
|
+
fontSize: sectionproperties.tabtextfontsize + 'px'
|
|
4159
4172
|
},
|
|
4160
4173
|
'& button:hover': {
|
|
4161
4174
|
color: sectionproperties.tabscoloronhover,
|
|
@@ -11289,6 +11302,8 @@
|
|
|
11289
11302
|
cardobj.quantity = itemquantity;
|
|
11290
11303
|
cardobj.timestamp = arrayItem.productinfo.timestamp;
|
|
11291
11304
|
cardobj.productquantity = arrayItem.productinfo.productquantity;
|
|
11305
|
+
cardobj.quantavailtype = arrayItem.productinfo.quantavailtype;
|
|
11306
|
+
cardobj.isproducttobesold = arrayItem.productinfo.isproducttobesold;
|
|
11292
11307
|
if (langdetect == 'en') {
|
|
11293
11308
|
cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.data.data.currencyname_en;
|
|
11294
11309
|
} else {
|
|
@@ -11672,19 +11687,24 @@
|
|
|
11672
11687
|
} else {
|
|
11673
11688
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
11674
11689
|
}
|
|
11690
|
+
},
|
|
11691
|
+
style: {
|
|
11692
|
+
flexDirection: 'row'
|
|
11675
11693
|
}
|
|
11676
|
-
},
|
|
11694
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
11677
11695
|
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-flex justify-content-center align-items-center' : 'd-flex justify-content-center align-items-center d-md-none'
|
|
11678
11696
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
11679
11697
|
"class": sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : ''
|
|
11680
|
-
}, langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar)
|
|
11681
|
-
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-flex justify-content-center align-items-center' : 'd-flex justify-content-center align-items-center d-md-none'
|
|
11682
|
-
|
|
11683
|
-
|
|
11698
|
+
}, langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar), sectionproperties.showIcon == 'Show' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
11699
|
+
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-flex justify-content-center align-items-center h-100 allcentered' : 'd-flex justify-content-center align-items-center d-md-none h-100',
|
|
11700
|
+
style: {
|
|
11701
|
+
marginLeft: 5,
|
|
11702
|
+
marginRight: 5
|
|
11703
|
+
}
|
|
11684
11704
|
}, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(HiOutlineArrowRight.HiOutlineArrowRight, {
|
|
11685
|
-
size: sectionproperties.
|
|
11705
|
+
size: sectionproperties.viewmoreiconfontsize
|
|
11686
11706
|
}) : /*#__PURE__*/React__default["default"].createElement(HiOutlineArrowLeft.HiOutlineArrowLeft, {
|
|
11687
|
-
size: sectionproperties.
|
|
11707
|
+
size: sectionproperties.viewmoreiconfontsize
|
|
11688
11708
|
}))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
11689
11709
|
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-none align-items-center justify-content-center' : 'd-none d-md-flex align-items-center justify-content-center'
|
|
11690
11710
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -20644,7 +20664,7 @@
|
|
|
20644
20664
|
function ownKeys$1y(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
20645
20665
|
function _objectSpread$1y(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1y(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1y(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
20646
20666
|
var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
20647
|
-
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$
|
|
20667
|
+
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i13, _authdetailsContext$i14, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
20648
20668
|
var _useState = React.useState(''),
|
|
20649
20669
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
20650
20670
|
sectionproperties = _useState2[0],
|
|
@@ -20976,21 +20996,19 @@
|
|
|
20976
20996
|
})), sectionproperties.showtelegrambtn == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.telegramlink) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20977
20997
|
"class": header_cssstyles.fbbtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
|
|
20978
20998
|
onClick: function onClick() {
|
|
20979
|
-
|
|
20980
|
-
|
|
20981
|
-
|
|
20982
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.telegramlink, '_blank');
|
|
20983
|
-
}
|
|
20999
|
+
// if (authdetailsContext?.instinfo?.telegramlink != null) {
|
|
21000
|
+
window.open('https://t.me/puplicbeorganization741', '_blank');
|
|
21001
|
+
// }
|
|
20984
21002
|
}
|
|
20985
21003
|
}, /*#__PURE__*/React__default["default"].createElement(FaTelegramPlane.FaTelegramPlane, {
|
|
20986
21004
|
size: sectionproperties.facebkbtnniconfontsize
|
|
20987
|
-
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
21005
|
+
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20988
21006
|
"class": header_cssstyles.instagrambtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
|
|
20989
21007
|
onClick: function onClick() {
|
|
20990
|
-
var _authdetailsContext$
|
|
20991
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
20992
|
-
var _authdetailsContext$
|
|
20993
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
21008
|
+
var _authdetailsContext$i9;
|
|
21009
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instagramlink) != null) {
|
|
21010
|
+
var _authdetailsContext$i10;
|
|
21011
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instagramlink, '_blank');
|
|
20994
21012
|
}
|
|
20995
21013
|
}
|
|
20996
21014
|
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineInstagram.AiOutlineInstagram, {
|
|
@@ -21019,15 +21037,15 @@
|
|
|
21019
21037
|
borderRight: sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg
|
|
21020
21038
|
},
|
|
21021
21039
|
onClick: function onClick() {
|
|
21022
|
-
var _authdetailsContext$
|
|
21023
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
21040
|
+
var _authdetailsContext$i11, _authdetailsContext$i12;
|
|
21041
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : (_authdetailsContext$i12 = _authdetailsContext$i11.contactinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.email), '_self');
|
|
21024
21042
|
}
|
|
21025
21043
|
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineMail.AiOutlineMail, {
|
|
21026
21044
|
"class": header_cssstyles.upperheadertext + ' ml-1 mr-1 storeinfotext ',
|
|
21027
21045
|
size: sectionproperties.footerinfotext_fontsize
|
|
21028
21046
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
21029
21047
|
"class": header_cssstyles.upperheadertext + ' storeinfotext '
|
|
21030
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
21048
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : (_authdetailsContext$i14 = _authdetailsContext$i13.contactinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.email)), sectionproperties.showopeninghours == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21031
21049
|
"class": "d-flex align-items-center justify-content-center pl-3 pr-3 h-100",
|
|
21032
21050
|
style: {
|
|
21033
21051
|
borderRight: sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg
|
|
@@ -23772,7 +23790,7 @@
|
|
|
23772
23790
|
function ownKeys$1u(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
23773
23791
|
function _objectSpread$1u(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1u(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1u(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
23774
23792
|
var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
23775
|
-
var _css, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$
|
|
23793
|
+
var _css, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$i14, _authdetailsContext$i15, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
23776
23794
|
var lang = props.actions.lang;
|
|
23777
23795
|
var langdetect = props.actions.langdetect;
|
|
23778
23796
|
var setlang = props.actions.setlang;
|
|
@@ -24239,35 +24257,35 @@
|
|
|
24239
24257
|
"class": "col-lg-3 d-flex align-items-center p-0"
|
|
24240
24258
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24241
24259
|
"class": "row m-0 d-flex justify-content-end w-100"
|
|
24242
|
-
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24260
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24243
24261
|
"class": header_cssstyles.fbbtn + ' p-0 allcentered cursor-pointer ',
|
|
24244
24262
|
onClick: function onClick() {
|
|
24245
|
-
var _authdetailsContext$
|
|
24246
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
24247
|
-
var _authdetailsContext$
|
|
24248
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
24263
|
+
var _authdetailsContext$i6;
|
|
24264
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.facebooklink) != null) {
|
|
24265
|
+
var _authdetailsContext$i7;
|
|
24266
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.facebooklink, '_blank');
|
|
24249
24267
|
}
|
|
24250
24268
|
}
|
|
24251
24269
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
24252
24270
|
size: sectionproperties.facebkbtnniconfontsize
|
|
24253
|
-
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24271
|
+
})), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24254
24272
|
"class": header_cssstyles.whatsappbtn + ' p-0 allcentered cursor-pointer ',
|
|
24255
24273
|
onClick: function onClick() {
|
|
24256
|
-
var _authdetailsContext$
|
|
24257
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
24258
|
-
var _authdetailsContext$
|
|
24259
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
24274
|
+
var _authdetailsContext$i9;
|
|
24275
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.whatsappnumber) != null) {
|
|
24276
|
+
var _authdetailsContext$i10;
|
|
24277
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.whatsappnumber), '_blank');
|
|
24260
24278
|
}
|
|
24261
24279
|
}
|
|
24262
24280
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
24263
24281
|
size: sectionproperties.youtubebtniconfontsize
|
|
24264
|
-
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24282
|
+
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instagramlink) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24265
24283
|
"class": header_cssstyles.instagrambtn + ' p-0 allcentered cursor-pointer ',
|
|
24266
24284
|
onClick: function onClick() {
|
|
24267
|
-
var _authdetailsContext$
|
|
24268
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
24269
|
-
var _authdetailsContext$
|
|
24270
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
24285
|
+
var _authdetailsContext$i12;
|
|
24286
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instagramlink) != null) {
|
|
24287
|
+
var _authdetailsContext$i13;
|
|
24288
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instagramlink, '_blank');
|
|
24271
24289
|
}
|
|
24272
24290
|
}
|
|
24273
24291
|
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineInstagram.AiOutlineInstagram, {
|
|
@@ -24388,7 +24406,7 @@
|
|
|
24388
24406
|
onClick: function onClick() {
|
|
24389
24407
|
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
24390
24408
|
}
|
|
24391
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
24409
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : (_authdetailsContext$i15 = _authdetailsContext$i14.customerinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.name))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
24392
24410
|
onClick: function onClick() {
|
|
24393
24411
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
24394
24412
|
}
|
|
@@ -24564,7 +24582,7 @@
|
|
|
24564
24582
|
minWidth: '250px',
|
|
24565
24583
|
marginLeft: '0px'
|
|
24566
24584
|
}
|
|
24567
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
24585
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : (_authdetailsContext$i17 = _authdetailsContext$i16.instcollections) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.map(function (item, index) {
|
|
24568
24586
|
return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
24569
24587
|
onClick: function onClick() {
|
|
24570
24588
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
@@ -34370,105 +34388,381 @@
|
|
|
34370
34388
|
function ownKeys$19(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
34371
34389
|
function _objectSpread$19(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$19(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$19(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
34372
34390
|
var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCards(props) {
|
|
34373
|
-
var
|
|
34374
|
-
_useInView.ref;
|
|
34375
|
-
var inView = _useInView.inView;
|
|
34391
|
+
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
34376
34392
|
props.actions.lang;
|
|
34377
34393
|
var langdetect = props.actions.langdetect;
|
|
34378
|
-
var
|
|
34394
|
+
var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
34395
|
+
var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
|
|
34396
|
+
var routingcountext = props.actions.routingcountext;
|
|
34397
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
34398
|
+
var ProductFilterObjContext = props.actions.ProductFilterObjContext;
|
|
34399
|
+
var setProductFilterObjContext = props.actions.setProductFilterObjContext;
|
|
34379
34400
|
props.actions.TabexSectionsComponentsContext;
|
|
34380
|
-
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
34381
|
-
var fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
|
|
34382
34401
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
34383
34402
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
34384
|
-
var
|
|
34385
|
-
var
|
|
34403
|
+
var fetchProductsQuery = props.actions.fetchProductsQuery;
|
|
34404
|
+
var fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
|
|
34405
|
+
var setParentCollectionsForCollectionQueryArr = props.actions.setParentCollectionsForCollectionQueryArr;
|
|
34406
|
+
props.actions.ParentCollectionsForCollectionQueryArr;
|
|
34386
34407
|
var setfetchingtype = props.actions.setfetchingtype;
|
|
34387
34408
|
var fetchingtype = props.actions.fetchingtype;
|
|
34409
|
+
props.actions.addtofavoritescontext;
|
|
34410
|
+
var fetchAuthorizationQueryContext = props.actions.fetchAuthorizationQueryContext;
|
|
34411
|
+
var FetchVendorsQuery = props.actions.FetchVendorsQuery;
|
|
34388
34412
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
34413
|
+
var _useState = React.useState(false),
|
|
34414
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
34415
|
+
_useState2[0];
|
|
34416
|
+
_useState2[1];
|
|
34389
34417
|
props.actions;
|
|
34390
|
-
var
|
|
34391
|
-
props.actions.ParentCollectionsForCollectionQueryArr;
|
|
34392
|
-
var _useState = React.useState(''),
|
|
34393
|
-
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
34394
|
-
sectionproperties = _useState2[0],
|
|
34395
|
-
setsectionproperties = _useState2[1];
|
|
34396
|
-
var _useState3 = React.useState([]),
|
|
34418
|
+
var _useState3 = React.useState(''),
|
|
34397
34419
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
34398
|
-
|
|
34399
|
-
|
|
34400
|
-
var _useState5 = React.useState(
|
|
34420
|
+
sectionproperties = _useState4[0],
|
|
34421
|
+
setsectionproperties = _useState4[1];
|
|
34422
|
+
var _useState5 = React.useState([]),
|
|
34423
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
34424
|
+
cardsarray = _useState6[0],
|
|
34425
|
+
setcardsarray = _useState6[1];
|
|
34426
|
+
var _useState7 = React.useState(''),
|
|
34427
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
34428
|
+
sectionitem = _useState8[0],
|
|
34429
|
+
setsectionitem = _useState8[1];
|
|
34430
|
+
var _useState9 = React.useState({
|
|
34401
34431
|
productfetchingtype: 'Random',
|
|
34402
|
-
collectionid: ''
|
|
34432
|
+
collectionid: '',
|
|
34433
|
+
grouptype: ''
|
|
34403
34434
|
}),
|
|
34404
|
-
|
|
34405
|
-
ProductsFetchingTypeSectionObj =
|
|
34406
|
-
setProductsFetchingTypeSectionObj =
|
|
34407
|
-
|
|
34408
|
-
|
|
34409
|
-
|
|
34410
|
-
|
|
34411
|
-
|
|
34435
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
34436
|
+
ProductsFetchingTypeSectionObj = _useState10[0],
|
|
34437
|
+
setProductsFetchingTypeSectionObj = _useState10[1];
|
|
34438
|
+
var _useState11 = React.useState([]),
|
|
34439
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2);
|
|
34440
|
+
_useState12[0];
|
|
34441
|
+
var setmaincontainerarrayofobjs = _useState12[1];
|
|
34442
|
+
// React.useEffect(() => {
|
|
34443
|
+
// if (inView) {
|
|
34444
|
+
// fetchProductsQuery.fetchNextPage();
|
|
34445
|
+
// }
|
|
34446
|
+
// }, [inView]);
|
|
34412
34447
|
React.useEffect(function () {
|
|
34448
|
+
var productfilerobjtemp = ProductFilterObjContext;
|
|
34449
|
+
if (props.filterparamsprops != undefined) {
|
|
34450
|
+
var filterpar = decodeURIComponent(props.filterparamsprops);
|
|
34451
|
+
var filterparsed = JSON.parse(filterpar);
|
|
34452
|
+
if (filterparsed != undefined) {
|
|
34453
|
+
productfilerobjtemp = filterparsed;
|
|
34454
|
+
setProductFilterObjContext(filterparsed);
|
|
34455
|
+
}
|
|
34456
|
+
}
|
|
34413
34457
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
34414
34458
|
if (sectionitem.sectionid == props.sectionidprops) {
|
|
34415
34459
|
var secpropobj = {};
|
|
34460
|
+
setsectionitem(sectionitem);
|
|
34416
34461
|
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
34417
34462
|
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
34418
34463
|
});
|
|
34419
34464
|
setsectionproperties(_objectSpread$19({}, secpropobj));
|
|
34420
|
-
|
|
34421
|
-
|
|
34422
|
-
|
|
34423
|
-
|
|
34424
|
-
|
|
34465
|
+
if (props.srcfromprops == 'GeneralProductsComponent') {
|
|
34466
|
+
setfetchingtype('products');
|
|
34467
|
+
var lcproductfetchingtype = 'Random';
|
|
34468
|
+
if (productfilerobjtemp.ProductFetchingType != undefined && productfilerobjtemp.ProductFetchingType != null && productfilerobjtemp.ProductFetchingType.length != 0) {
|
|
34469
|
+
lcproductfetchingtype = productfilerobjtemp.ProductFetchingType;
|
|
34470
|
+
}
|
|
34471
|
+
setProductsFetchingTypeSectionObj({
|
|
34472
|
+
productfetchingtype: lcproductfetchingtype,
|
|
34473
|
+
collectionid: props.collectionidprops,
|
|
34474
|
+
grouptype: props.grouptypeprops,
|
|
34475
|
+
grouptyperefid: props.grouptyperefidprops
|
|
34476
|
+
});
|
|
34477
|
+
} else if (props.srcfromprops == 'InnerGroups' || props.srcfromprops == 'InnerCategory' || props.srcfromprops == 'InnerParentCollection') {
|
|
34478
|
+
setfetchingtype(props.grouptypeprops);
|
|
34479
|
+
} else {
|
|
34480
|
+
setfetchingtype(sectionitem.fetchingtype);
|
|
34481
|
+
setProductsFetchingTypeSectionObj({
|
|
34482
|
+
productfetchingtype: sectionitem.productsfetchingtype,
|
|
34483
|
+
collectionid: sectionitem.productsfetchingtypeCollectioncollectionid,
|
|
34484
|
+
grouptype: props.grouptypeprops,
|
|
34485
|
+
grouptyperefid: props.grouptyperefidprops
|
|
34486
|
+
});
|
|
34487
|
+
}
|
|
34425
34488
|
}
|
|
34426
34489
|
});
|
|
34427
34490
|
}, [StatePagePropertiesContext]);
|
|
34428
34491
|
React.useEffect(function () {
|
|
34429
34492
|
if (sectionproperties.length != 0) {
|
|
34430
34493
|
if (cardsarray.length == 0) {
|
|
34431
|
-
if (
|
|
34432
|
-
|
|
34494
|
+
if (fetchingtype == 'collections') {
|
|
34495
|
+
if (fetchcollectionsQueryContext.isSuccess) {
|
|
34496
|
+
cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
|
|
34497
|
+
}
|
|
34498
|
+
} else if (fetchingtype == 'products') {
|
|
34499
|
+
if (fetchProductsQuery.isSuccess) {
|
|
34500
|
+
var _fetchProductsQuery$d, _fetchProductsQuery$d2, _fetchProductsQuery$d3;
|
|
34501
|
+
var allpagesarr = [];
|
|
34502
|
+
// fetchProductsQuery.data.pages.forEach((page) => {
|
|
34503
|
+
// page.data.products.forEach((productobj) => {
|
|
34504
|
+
// allpagesarr.push(productobj);
|
|
34505
|
+
// });
|
|
34506
|
+
// });
|
|
34507
|
+
fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d = fetchProductsQuery.data) === null || _fetchProductsQuery$d === void 0 ? void 0 : (_fetchProductsQuery$d2 = _fetchProductsQuery$d.data) === null || _fetchProductsQuery$d2 === void 0 ? void 0 : (_fetchProductsQuery$d3 = _fetchProductsQuery$d2.products) === null || _fetchProductsQuery$d3 === void 0 ? void 0 : _fetchProductsQuery$d3.forEach(function (item) {
|
|
34508
|
+
allpagesarr.push(item);
|
|
34509
|
+
});
|
|
34510
|
+
cardobjassigner(allpagesarr);
|
|
34511
|
+
}
|
|
34512
|
+
} else if (fetchingtype == 'vendors') {
|
|
34513
|
+
if (FetchVendorsQuery.isSuccess) {
|
|
34514
|
+
var _FetchVendorsQuery$da, _FetchVendorsQuery$da2;
|
|
34515
|
+
cardobjassigner(FetchVendorsQuery === null || FetchVendorsQuery === void 0 ? void 0 : (_FetchVendorsQuery$da = FetchVendorsQuery.data) === null || _FetchVendorsQuery$da === void 0 ? void 0 : (_FetchVendorsQuery$da2 = _FetchVendorsQuery$da.data) === null || _FetchVendorsQuery$da2 === void 0 ? void 0 : _FetchVendorsQuery$da2.vendors);
|
|
34516
|
+
}
|
|
34433
34517
|
}
|
|
34434
34518
|
}
|
|
34435
34519
|
}
|
|
34436
34520
|
}, [sectionproperties]);
|
|
34437
34521
|
React.useEffect(function () {
|
|
34438
|
-
if (fetchingtype.length != 0) {
|
|
34522
|
+
if ((fetchingtype === null || fetchingtype === void 0 ? void 0 : fetchingtype.length) != 0) {
|
|
34439
34523
|
var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
|
|
34440
|
-
if (
|
|
34441
|
-
|
|
34442
|
-
|
|
34443
|
-
|
|
34524
|
+
if (fetchingtype == 'collections') {
|
|
34525
|
+
if (ProductsFetchingTypeSectionObj.collectionid == 'all' || ProductsFetchingTypeSectionObj.collectionid == null || ProductsFetchingTypeSectionObj.collectionid == undefined) {
|
|
34526
|
+
setParentCollectionsForCollectionQueryArr('all');
|
|
34527
|
+
} else {
|
|
34528
|
+
setParentCollectionsForCollectionQueryArr([ProductsFetchingTypeSectionObj.collectionid]);
|
|
34529
|
+
}
|
|
34530
|
+
}
|
|
34531
|
+
if (fetchingtype == 'products') {
|
|
34532
|
+
var tempfetchproductsfilerobjcontext = ProductFilterObjContext;
|
|
34533
|
+
tempfetchproductsfilerobjcontext.ProductFetchingType = ProductsFetchingTypeSectionObj.productfetchingtype;
|
|
34534
|
+
if (ProductsFetchingTypeSectionObj.grouptype == 'collections' || ProductsFetchingTypeSectionObj.grouptype == 'categories' || ProductsFetchingTypeSectionObj.grouptype == 'parentcollections') ; else {
|
|
34535
|
+
if (tempfetchproductsfilerobjcontext.collections != undefined) {
|
|
34536
|
+
tempfetchproductsfilerobjcontext.collections.push(ProductsFetchingTypeSectionObj.collectionid);
|
|
34537
|
+
}
|
|
34538
|
+
}
|
|
34539
|
+
tempfetchproductsfilerobjcontext.grouptype = ProductsFetchingTypeSectionObj.grouptype;
|
|
34540
|
+
tempfetchproductsfilerobjcontext.grouptyperefid = ProductsFetchingTypeSectionObj.grouptyperefid;
|
|
34541
|
+
setProductFilterObjContext(_objectSpread$19({}, tempfetchproductsfilerobjcontext));
|
|
34542
|
+
}
|
|
34543
|
+
if (fetchingtype == 'categories') {
|
|
34544
|
+
if (fetchAuthorizationQueryContext !== null && fetchAuthorizationQueryContext !== void 0 && fetchAuthorizationQueryContext.isSuccess) {
|
|
34545
|
+
var categories = fetchAuthorizationQueryContext.data.data.instinfo.instcategories;
|
|
34546
|
+
cardobjassigner(categories);
|
|
34547
|
+
}
|
|
34548
|
+
}
|
|
34549
|
+
if (fetchingtype == 'parentcollections' || fetchingtype == 'innercategories') {
|
|
34550
|
+
if (fetchAuthorizationQueryContext !== null && fetchAuthorizationQueryContext !== void 0 && fetchAuthorizationQueryContext.isSuccess) {
|
|
34551
|
+
var _categories;
|
|
34552
|
+
var categories = fetchAuthorizationQueryContext.data.data.instinfo.instcategories;
|
|
34553
|
+
var parentcollections = [];
|
|
34554
|
+
(_categories = categories) === null || _categories === void 0 ? void 0 : _categories.forEach(function (catitem, catindex) {
|
|
34555
|
+
catitem === null || catitem === void 0 ? void 0 : catitem.parentcolletions.forEach(function (parentcolitem) {
|
|
34556
|
+
parentcolitem.categoryid = catitem.categoryid;
|
|
34557
|
+
parentcollections.push(parentcolitem);
|
|
34558
|
+
});
|
|
34559
|
+
});
|
|
34560
|
+
if (fetchingtype == 'parentcollections') {
|
|
34561
|
+
if ((sectionitem === null || sectionitem === void 0 ? void 0 : sectionitem.productsfetchingtypeparentcollectioncategoryid) != null && (sectionitem === null || sectionitem === void 0 ? void 0 : sectionitem.productsfetchingtypeparentcollectioncategoryid) != undefined && (sectionitem === null || sectionitem === void 0 ? void 0 : sectionitem.productsfetchingtypeparentcollectioncategoryid) != 'all') {
|
|
34562
|
+
var arrafterfilter = [];
|
|
34563
|
+
parentcollections.forEach(function (parentcolitem, parcolindex) {
|
|
34564
|
+
if (parentcolitem.categoryid == (sectionitem === null || sectionitem === void 0 ? void 0 : sectionitem.productsfetchingtypeparentcollectioncategoryid)) {
|
|
34565
|
+
arrafterfilter.push(parentcolitem);
|
|
34566
|
+
}
|
|
34567
|
+
});
|
|
34568
|
+
parentcollections = arrafterfilter;
|
|
34569
|
+
}
|
|
34570
|
+
}
|
|
34571
|
+
if (fetchingtype == 'innercategories') {
|
|
34572
|
+
var arrafterfilter = [];
|
|
34573
|
+
parentcollections.forEach(function (parentcolitem, parcolindex) {
|
|
34574
|
+
if (parentcolitem.categoryid == props.collectionidprops) {
|
|
34575
|
+
arrafterfilter.push(parentcolitem);
|
|
34576
|
+
}
|
|
34577
|
+
});
|
|
34578
|
+
parentcollections = arrafterfilter;
|
|
34579
|
+
}
|
|
34580
|
+
cardobjassigner(parentcollections);
|
|
34581
|
+
}
|
|
34582
|
+
} else if (fetchingtype == 'innerparentcollections') {
|
|
34583
|
+
if (fetchAuthorizationQueryContext !== null && fetchAuthorizationQueryContext !== void 0 && fetchAuthorizationQueryContext.isSuccess) {
|
|
34584
|
+
var _categories2;
|
|
34585
|
+
var categories = fetchAuthorizationQueryContext.data.data.instinfo.instcategories;
|
|
34586
|
+
var collections = [];
|
|
34587
|
+
(_categories2 = categories) === null || _categories2 === void 0 ? void 0 : _categories2.forEach(function (catitem, catindex) {
|
|
34588
|
+
catitem === null || catitem === void 0 ? void 0 : catitem.parentcolletions.forEach(function (parentcolitem) {
|
|
34589
|
+
var _parentcolitem$collec;
|
|
34590
|
+
parentcolitem.categoryid = catitem.categoryid;
|
|
34591
|
+
parentcolitem === null || parentcolitem === void 0 ? void 0 : (_parentcolitem$collec = parentcolitem.collections) === null || _parentcolitem$collec === void 0 ? void 0 : _parentcolitem$collec.forEach(function (collitem, colindex) {
|
|
34592
|
+
collitem.parentcollectionid = parentcolitem.parentcollectionid;
|
|
34593
|
+
collections.push(collitem);
|
|
34594
|
+
});
|
|
34595
|
+
});
|
|
34596
|
+
});
|
|
34597
|
+
if (fetchingtype == 'innerparentcollections') {
|
|
34598
|
+
var collectionsafterfilter = [];
|
|
34599
|
+
collections.forEach(function (colitem, colindex) {
|
|
34600
|
+
if (colitem.parentcollectionid == props.collectionidprops) {
|
|
34601
|
+
var iscollexists = false;
|
|
34602
|
+
collectionsafterfilter.forEach(function (existcolitem) {
|
|
34603
|
+
if (colitem.collectionid == existcolitem.collectionid) {
|
|
34604
|
+
iscollexists = true;
|
|
34605
|
+
}
|
|
34606
|
+
});
|
|
34607
|
+
if (iscollexists == false) {
|
|
34608
|
+
collectionsafterfilter.push(colitem);
|
|
34609
|
+
}
|
|
34610
|
+
}
|
|
34611
|
+
});
|
|
34612
|
+
collections = collectionsafterfilter;
|
|
34613
|
+
}
|
|
34614
|
+
cardobjassigner(collections);
|
|
34615
|
+
}
|
|
34444
34616
|
}
|
|
34445
34617
|
setFetchQueriesEngineContext(_objectSpread$19({}, tempFetchQueriesEngineContext));
|
|
34446
34618
|
}
|
|
34447
34619
|
}, [fetchingtype, ProductsFetchingTypeSectionObj]);
|
|
34448
34620
|
React.useEffect(function () {
|
|
34449
|
-
if (
|
|
34450
|
-
|
|
34621
|
+
if (fetchingtype == 'products') {
|
|
34622
|
+
if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
|
|
34623
|
+
var _fetchProductsQuery$d4, _fetchProductsQuery$d5, _fetchProductsQuery$d6;
|
|
34624
|
+
var allpagesarr = [];
|
|
34625
|
+
fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d4 = fetchProductsQuery.data) === null || _fetchProductsQuery$d4 === void 0 ? void 0 : (_fetchProductsQuery$d5 = _fetchProductsQuery$d4.data) === null || _fetchProductsQuery$d5 === void 0 ? void 0 : (_fetchProductsQuery$d6 = _fetchProductsQuery$d5.products) === null || _fetchProductsQuery$d6 === void 0 ? void 0 : _fetchProductsQuery$d6.forEach(function (item) {
|
|
34626
|
+
allpagesarr.push(item);
|
|
34627
|
+
});
|
|
34628
|
+
cardobjassigner(allpagesarr);
|
|
34629
|
+
}
|
|
34451
34630
|
}
|
|
34452
|
-
}, [
|
|
34631
|
+
}, [fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : fetchProductsQuery.isSuccess, fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : fetchProductsQuery.dataUpdatedAt, fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : fetchProductsQuery.data, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : fetchcustomercartQueryContext.dataUpdatedAt]);
|
|
34632
|
+
React.useEffect(function () {
|
|
34633
|
+
if (fetchingtype == 'collections') {
|
|
34634
|
+
if (fetchcollectionsQueryContext.isSuccess) {
|
|
34635
|
+
cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
|
|
34636
|
+
}
|
|
34637
|
+
}
|
|
34638
|
+
}, [fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 ? void 0 : fetchcollectionsQueryContext.isSuccess]);
|
|
34639
|
+
React.useEffect(function () {
|
|
34640
|
+
if (fetchingtype == 'vendors') {
|
|
34641
|
+
if (FetchVendorsQuery.isSuccess) {
|
|
34642
|
+
if (FetchVendorsQuery.data.data.vendors != undefined && FetchVendorsQuery.data.data.vendors.length != 0) {
|
|
34643
|
+
var _FetchVendorsQuery$da3, _FetchVendorsQuery$da4;
|
|
34644
|
+
cardobjassigner(FetchVendorsQuery === null || FetchVendorsQuery === void 0 ? void 0 : (_FetchVendorsQuery$da3 = FetchVendorsQuery.data) === null || _FetchVendorsQuery$da3 === void 0 ? void 0 : (_FetchVendorsQuery$da4 = _FetchVendorsQuery$da3.data) === null || _FetchVendorsQuery$da4 === void 0 ? void 0 : _FetchVendorsQuery$da4.vendors);
|
|
34645
|
+
}
|
|
34646
|
+
}
|
|
34647
|
+
}
|
|
34648
|
+
}, [FetchVendorsQuery.isSuccess]);
|
|
34649
|
+
React.useEffect(function () {
|
|
34650
|
+
favassigner();
|
|
34651
|
+
}, [favoriteprojectscountContext]);
|
|
34652
|
+
React.useEffect(function () {
|
|
34653
|
+
if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
|
|
34654
|
+
var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
|
|
34655
|
+
if (Array.isArray(maincontainerarrayofobjsparsed)) {
|
|
34656
|
+
setmaincontainerarrayofobjs(_toConsumableArray__default["default"](maincontainerarrayofobjsparsed));
|
|
34657
|
+
}
|
|
34658
|
+
}
|
|
34659
|
+
}, [sectionproperties]);
|
|
34660
|
+
var favassigner = function favassigner() {
|
|
34661
|
+
if (fetchingtype == 'products') {
|
|
34662
|
+
if (cardsarray.length != 0) {
|
|
34663
|
+
if (favoriteprojectscountContext != undefined && Array.isArray(favoriteprojectscountContext)) {
|
|
34664
|
+
var tempcardsarray = _toConsumableArray__default["default"](cardsarray);
|
|
34665
|
+
tempcardsarray.forEach(function (arrayItem, arrayindex) {
|
|
34666
|
+
arrayItem.IsFavExists = false;
|
|
34667
|
+
});
|
|
34668
|
+
tempcardsarray.forEach(function (arrayItem, arrayindex) {
|
|
34669
|
+
favoriteprojectscountContext.forEach(function (favitem, favindex) {
|
|
34670
|
+
if (arrayItem.productid == favitem) {
|
|
34671
|
+
arrayItem.IsFavExists = true;
|
|
34672
|
+
}
|
|
34673
|
+
});
|
|
34674
|
+
});
|
|
34675
|
+
setcardsarray(_toConsumableArray__default["default"](tempcardsarray));
|
|
34676
|
+
}
|
|
34677
|
+
}
|
|
34678
|
+
}
|
|
34679
|
+
};
|
|
34453
34680
|
var cardobjassigner = function cardobjassigner(fetchedarray) {
|
|
34454
34681
|
var temparray = [];
|
|
34455
34682
|
fetchedarray.forEach(function (arrayItem, arrayindex) {
|
|
34456
34683
|
var cardobj = {
|
|
34457
34684
|
name: '',
|
|
34458
|
-
image: ''
|
|
34459
|
-
index: arrayindex,
|
|
34460
|
-
collectionid: ''
|
|
34685
|
+
image: ''
|
|
34461
34686
|
};
|
|
34462
|
-
|
|
34463
|
-
|
|
34464
|
-
|
|
34465
|
-
|
|
34466
|
-
|
|
34467
|
-
|
|
34468
|
-
|
|
34687
|
+
if (fetchingtype == 'products') {
|
|
34688
|
+
var itemquantity = 0;
|
|
34689
|
+
if (langdetect == 'en') {
|
|
34690
|
+
cardobj.name = arrayItem.productinfo.name_en;
|
|
34691
|
+
} else {
|
|
34692
|
+
cardobj.name = arrayItem.productinfo.name_ar;
|
|
34693
|
+
}
|
|
34694
|
+
if (langdetect == 'en') {
|
|
34695
|
+
cardobj.description = arrayItem.productinfo.description_en;
|
|
34696
|
+
} else {
|
|
34697
|
+
cardobj.description = arrayItem.productinfo.description_ar;
|
|
34698
|
+
}
|
|
34699
|
+
if (arrayItem.productinfo.hasvariants == 0) {
|
|
34700
|
+
fetchcustomercartQueryContext.data.data.customercart.cartitems.forEach(function (cartitem, cartindex) {
|
|
34701
|
+
if (cartitem.productid == arrayItem.productinfo.productid) {
|
|
34702
|
+
itemquantity = cartitem.quantity;
|
|
34703
|
+
}
|
|
34704
|
+
});
|
|
34705
|
+
}
|
|
34706
|
+
cardobj.image = arrayItem.productinfo.productmainimage;
|
|
34707
|
+
cardobj.hassale = arrayItem.productinfo.hassale;
|
|
34708
|
+
cardobj.productid = arrayItem.productinfo.productid;
|
|
34709
|
+
cardobj.hasvariants = arrayItem.productinfo.hasvariants;
|
|
34710
|
+
cardobj.description_en = arrayItem.productinfo.description_en;
|
|
34711
|
+
cardobj.description_ar = arrayItem.productinfo.description_ar;
|
|
34712
|
+
cardobj.defaultprice = arrayItem.productinfo.defaultprice;
|
|
34713
|
+
cardobj.defaultsaleprice = arrayItem.productinfo.defaultsaleprice;
|
|
34714
|
+
cardobj.productimages = arrayItem.productinfo.productimages;
|
|
34715
|
+
cardobj.quantity = itemquantity;
|
|
34716
|
+
cardobj.timestamp = arrayItem.productinfo.timestamp;
|
|
34717
|
+
cardobj.productquantity = arrayItem.productinfo.productquantity;
|
|
34718
|
+
cardobj.quantavailtype = arrayItem.productinfo.quantavailtype;
|
|
34719
|
+
if (langdetect == 'en') {
|
|
34720
|
+
cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.data.data.currencyname_en;
|
|
34721
|
+
} else {
|
|
34722
|
+
cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.data.data.currencyname_ar;
|
|
34723
|
+
}
|
|
34724
|
+
if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
|
|
34725
|
+
favoriteprojectscountContext.forEach(function (favitem, favindex) {
|
|
34726
|
+
if (arrayItem.productinfo.productid == favitem) {
|
|
34727
|
+
cardobj.IsFavExists = true;
|
|
34728
|
+
}
|
|
34729
|
+
});
|
|
34730
|
+
}
|
|
34731
|
+
} else if (fetchingtype == 'collections' || fetchingtype == 'innerparentcollections') {
|
|
34732
|
+
cardobj.collectionid = arrayItem.collectionid;
|
|
34733
|
+
if (langdetect == 'en') {
|
|
34734
|
+
cardobj.name = arrayItem.title_en;
|
|
34735
|
+
cardobj.description = arrayItem.description_en;
|
|
34736
|
+
} else if (langdetect == 'ar') {
|
|
34737
|
+
cardobj.name = arrayItem.title_ar;
|
|
34738
|
+
cardobj.description = arrayItem.description_ar;
|
|
34739
|
+
}
|
|
34740
|
+
cardobj.image = arrayItem.collectionlogo;
|
|
34741
|
+
} else if (fetchingtype == 'categories') {
|
|
34742
|
+
cardobj.collectionid = arrayItem.categoryid;
|
|
34743
|
+
if (langdetect == 'en') {
|
|
34744
|
+
cardobj.name = arrayItem.title_en;
|
|
34745
|
+
cardobj.description = arrayItem.description_en;
|
|
34746
|
+
} else if (langdetect == 'ar') {
|
|
34747
|
+
cardobj.name = arrayItem.title_ar;
|
|
34748
|
+
cardobj.description = arrayItem.description_ar;
|
|
34749
|
+
}
|
|
34750
|
+
cardobj.image = arrayItem.categorylogo;
|
|
34751
|
+
} else if (fetchingtype == 'parentcollections' || fetchingtype == 'innercategories') {
|
|
34752
|
+
cardobj.collectionid = arrayItem.parentcollectionid;
|
|
34753
|
+
if (langdetect == 'en') {
|
|
34754
|
+
cardobj.name = arrayItem.title_en;
|
|
34755
|
+
cardobj.description = arrayItem.description_en;
|
|
34756
|
+
} else if (langdetect == 'ar') {
|
|
34757
|
+
cardobj.name = arrayItem.title_ar;
|
|
34758
|
+
cardobj.description = arrayItem.description_ar;
|
|
34759
|
+
}
|
|
34760
|
+
cardobj.image = arrayItem.parentcollectionlogo;
|
|
34761
|
+
} else if (fetchingtype == 'custom') ; else if (fetchingtype == 'vendors') {
|
|
34762
|
+
cardobj.name = arrayItem.vendorname;
|
|
34763
|
+
cardobj.collectionid = arrayItem.vendorid;
|
|
34764
|
+
cardobj.image = arrayItem.vendorlogourl;
|
|
34469
34765
|
}
|
|
34470
|
-
cardobj.image = arrayItem.collectionlogo;
|
|
34471
|
-
cardobj.collectionid = arrayItem.collectionid;
|
|
34472
34766
|
temparray.push(cardobj);
|
|
34473
34767
|
});
|
|
34474
34768
|
setcardsarray([].concat(temparray));
|
|
@@ -37145,22 +37439,24 @@
|
|
|
37145
37439
|
};
|
|
37146
37440
|
var Text1 = function Text1() {
|
|
37147
37441
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37148
|
-
"class": "p-0 wordbreak text-md-center",
|
|
37442
|
+
"class": "p-0 wordbreak text-md-center w-100",
|
|
37149
37443
|
style: {
|
|
37150
37444
|
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
37151
37445
|
color: sectionproperties.slideshowText1ContentColor,
|
|
37152
37446
|
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
|
|
37153
|
-
marginTop: sectionproperties.slideshowText1Content_marginTop + 'px'
|
|
37447
|
+
marginTop: sectionproperties.slideshowText1Content_marginTop + 'px',
|
|
37448
|
+
textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : 'start'
|
|
37154
37449
|
}
|
|
37155
37450
|
}, langdetect == 'en' ? sectionproperties.slideshowText1Content : sectionproperties.slideshowText1Content_ar);
|
|
37156
37451
|
};
|
|
37157
37452
|
var Text2 = function Text2() {
|
|
37158
37453
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37159
|
-
"class": "p-0 wordbreak text-md-center",
|
|
37454
|
+
"class": "p-0 wordbreak text-md-center w-100",
|
|
37160
37455
|
style: {
|
|
37161
37456
|
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
37162
37457
|
color: sectionproperties.slideshowText2ContentColor,
|
|
37163
|
-
marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px'
|
|
37458
|
+
marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
|
|
37459
|
+
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start'
|
|
37164
37460
|
}
|
|
37165
37461
|
}, langdetect == 'en' ? sectionproperties.slideshowText2Content : sectionproperties.slideshowText2Content_Ar);
|
|
37166
37462
|
};
|
|
@@ -40293,19 +40589,19 @@
|
|
|
40293
40589
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40294
40590
|
"class": sectionproperties.image_height == 0 ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center h-auto p-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-0',
|
|
40295
40591
|
style: {
|
|
40296
|
-
cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.
|
|
40592
|
+
cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickableimg) == 'Yes' ? 'pointer' : 'default',
|
|
40297
40593
|
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor
|
|
40298
40594
|
},
|
|
40299
40595
|
onClick: function onClick() {
|
|
40300
40596
|
var _imagesarray$2;
|
|
40301
|
-
if (((_imagesarray$2 = imagesarray[0]) === null || _imagesarray$2 === void 0 ? void 0 : _imagesarray$2.
|
|
40597
|
+
if (((_imagesarray$2 = imagesarray[0]) === null || _imagesarray$2 === void 0 ? void 0 : _imagesarray$2.IsClickableimg) == 'Yes') {
|
|
40302
40598
|
var _imagesarray$3, _imagesarray$4;
|
|
40303
|
-
if ((_imagesarray$3 = imagesarray[0]) !== null && _imagesarray$3 !== void 0 && _imagesarray$3.
|
|
40599
|
+
if ((_imagesarray$3 = imagesarray[0]) !== null && _imagesarray$3 !== void 0 && _imagesarray$3.clickableimg_page_route && ((_imagesarray$4 = imagesarray[0]) === null || _imagesarray$4 === void 0 ? void 0 : _imagesarray$4.clickableimg_page_route.length) != 0) {
|
|
40304
40600
|
var _imagesarray$5;
|
|
40305
|
-
routingcountext((_imagesarray$5 = imagesarray[0]) === null || _imagesarray$5 === void 0 ? void 0 : _imagesarray$5.
|
|
40601
|
+
routingcountext((_imagesarray$5 = imagesarray[0]) === null || _imagesarray$5 === void 0 ? void 0 : _imagesarray$5.clickableimg_page_route, false, '');
|
|
40306
40602
|
} else {
|
|
40307
40603
|
var _imagesarray$6;
|
|
40308
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_imagesarray$6 = imagesarray[0]) === null || _imagesarray$6 === void 0 ? void 0 : _imagesarray$6.
|
|
40604
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_imagesarray$6 = imagesarray[0]) === null || _imagesarray$6 === void 0 ? void 0 : _imagesarray$6.Clickableimg_getcoection));
|
|
40309
40605
|
}
|
|
40310
40606
|
}
|
|
40311
40607
|
}
|
|
@@ -42287,8 +42583,7 @@
|
|
|
42287
42583
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
42288
42584
|
}
|
|
42289
42585
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42290
|
-
|
|
42291
|
-
"class": 'p-0 align-items-center d-flex ',
|
|
42586
|
+
"class": 'p-0 align-items-center d-flex d-sm-none',
|
|
42292
42587
|
key: index,
|
|
42293
42588
|
onClick: function onClick() {
|
|
42294
42589
|
if (item.IsClickableimg == 'Yes') {
|
|
@@ -42317,6 +42612,28 @@
|
|
|
42317
42612
|
width: '100%',
|
|
42318
42613
|
height: '100%'
|
|
42319
42614
|
}
|
|
42615
|
+
}), SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42616
|
+
"class": 'p-0 align-items-center d-none d-sm-flex ',
|
|
42617
|
+
key: index,
|
|
42618
|
+
style: {
|
|
42619
|
+
width: '100%',
|
|
42620
|
+
height: '100%',
|
|
42621
|
+
direction: langdetect == 'en' ? 'ltr' : 'rtl',
|
|
42622
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
42623
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
42624
|
+
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
42625
|
+
}
|
|
42626
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
42627
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
42628
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
42629
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_en : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_ar,
|
|
42630
|
+
style: {
|
|
42631
|
+
objectFit: 'contain',
|
|
42632
|
+
margin: 0,
|
|
42633
|
+
padding: 0,
|
|
42634
|
+
width: '100%',
|
|
42635
|
+
height: '100%'
|
|
42636
|
+
}
|
|
42320
42637
|
}), SlideShowTextContainer(item)));
|
|
42321
42638
|
}))))));
|
|
42322
42639
|
};
|
|
@@ -42334,14 +42651,21 @@
|
|
|
42334
42651
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42335
42652
|
"class": "col-lg-12 p-0"
|
|
42336
42653
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42337
|
-
|
|
42338
|
-
"class": "row m-0 w-100 d-flex",
|
|
42654
|
+
"class": "row m-0 w-100 d-flex d-md-none",
|
|
42339
42655
|
style: {
|
|
42340
42656
|
paddingTop: sectionproperties.marginTop + 'px'
|
|
42341
42657
|
},
|
|
42342
42658
|
onMouseLeave: function onMouseLeave() {
|
|
42343
42659
|
setChoosenindex('');
|
|
42344
42660
|
}
|
|
42661
|
+
}, SlideshowContent()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42662
|
+
"class": "row m-0 w-100 d-none d-md-flex",
|
|
42663
|
+
style: {
|
|
42664
|
+
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
42665
|
+
},
|
|
42666
|
+
onMouseLeave: function onMouseLeave() {
|
|
42667
|
+
setChoosenindex('');
|
|
42668
|
+
}
|
|
42345
42669
|
}, SlideshowContent())));
|
|
42346
42670
|
};
|
|
42347
42671
|
|
|
@@ -47496,7 +47820,6 @@
|
|
|
47496
47820
|
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
|
|
47497
47821
|
color: sectionproperties.favBtniconcolor,
|
|
47498
47822
|
fontSize: sectionproperties.favBtnTextfontsize + 'px',
|
|
47499
|
-
textTransform: sectionproperties.favBtnTexttransform,
|
|
47500
47823
|
fontWeight: sectionproperties.favBtnTextfontweight,
|
|
47501
47824
|
transition: '.3s',
|
|
47502
47825
|
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
@@ -47528,7 +47851,8 @@
|
|
|
47528
47851
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
47529
47852
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
47530
47853
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
47531
|
-
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor
|
|
47854
|
+
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
|
|
47855
|
+
opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' ? 0.4 : 1
|
|
47532
47856
|
}),
|
|
47533
47857
|
quantitybtn: glamor.css({
|
|
47534
47858
|
flex: 1,
|
|
@@ -47583,6 +47907,21 @@
|
|
|
47583
47907
|
color: sectionproperties.remove_quantitybtn_textcoloronhover,
|
|
47584
47908
|
background: sectionproperties.remove_quantitybtn_bgcoloronhover
|
|
47585
47909
|
}
|
|
47910
|
+
}),
|
|
47911
|
+
outstockbadge: glamor.css({
|
|
47912
|
+
width: sectionproperties.outstock_width + 'px',
|
|
47913
|
+
height: sectionproperties.outstock_height + 'px',
|
|
47914
|
+
background: sectionproperties.outstock_bg,
|
|
47915
|
+
color: sectionproperties.outstock_color,
|
|
47916
|
+
fontSize: sectionproperties.outstock_fontSize + 'px',
|
|
47917
|
+
borderRadius: sectionproperties.outstock_borderradius + 'px',
|
|
47918
|
+
position: 'absolute',
|
|
47919
|
+
zIndex: 2,
|
|
47920
|
+
top: 0,
|
|
47921
|
+
bottom: 0,
|
|
47922
|
+
left: 0,
|
|
47923
|
+
right: 0,
|
|
47924
|
+
margin: 'auto'
|
|
47586
47925
|
})
|
|
47587
47926
|
};
|
|
47588
47927
|
var addtocartbuttonrender = function addtocartbuttonrender() {
|
|
@@ -47642,7 +47981,7 @@
|
|
|
47642
47981
|
size: sectionproperties.cartBtn_iconFontSize
|
|
47643
47982
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
47644
47983
|
size: sectionproperties.cartBtn_iconFontSize
|
|
47645
|
-
})),
|
|
47984
|
+
})), langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic);
|
|
47646
47985
|
}
|
|
47647
47986
|
};
|
|
47648
47987
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -47658,7 +47997,10 @@
|
|
|
47658
47997
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47659
47998
|
"class": "".concat(cardsstyles$4.card_inner)
|
|
47660
47999
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47661
|
-
"class": "".concat(cardsstyles$4.card_thumbnail)
|
|
48000
|
+
"class": "".concat(cardsstyles$4.card_thumbnail),
|
|
48001
|
+
style: {
|
|
48002
|
+
position: 'relative'
|
|
48003
|
+
}
|
|
47662
48004
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47663
48005
|
"class": "".concat(cardsstyles$4.img_container, " ").concat(cardsstyles2.img_container) + ' w-100 allcentered ',
|
|
47664
48006
|
onClick: function onClick() {
|
|
@@ -47732,7 +48074,11 @@
|
|
|
47732
48074
|
color: sectionproperties.badge_color,
|
|
47733
48075
|
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
47734
48076
|
}
|
|
47735
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))
|
|
48077
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
48078
|
+
"class": "".concat(cardsstyles2.outstockbadge) + ' allcentered '
|
|
48079
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
48080
|
+
"class": "m-0 p-0"
|
|
48081
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47736
48082
|
"class": "".concat(cardsstyles$4.product_details) + ' mb-2 '
|
|
47737
48083
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47738
48084
|
"class": "col-lg-12"
|
|
@@ -47768,7 +48114,9 @@
|
|
|
47768
48114
|
transform: ' rotate(-180deg)'
|
|
47769
48115
|
},
|
|
47770
48116
|
onClick: function onClick() {
|
|
47771
|
-
if (item.
|
|
48117
|
+
if (item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit') {
|
|
48118
|
+
NotificationManager.warning('', langdetect == 'en' ? 'Sold Out' : 'نفذت الكمية');
|
|
48119
|
+
} else if (item.hasvariants == 0) {
|
|
47772
48120
|
updatequantity('remove');
|
|
47773
48121
|
} else {
|
|
47774
48122
|
setShowProductInfoModalContext(true);
|
|
@@ -47780,7 +48128,9 @@
|
|
|
47780
48128
|
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
47781
48129
|
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container) + ' m-1 ',
|
|
47782
48130
|
onClick: function onClick() {
|
|
47783
|
-
if (item.
|
|
48131
|
+
if (item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit') {
|
|
48132
|
+
NotificationManager.warning('', langdetect == 'en' ? 'Sold Out' : 'نفذت الكمية');
|
|
48133
|
+
} else if (item.hasvariants == 0) {
|
|
47784
48134
|
updatequantity('add');
|
|
47785
48135
|
} else {
|
|
47786
48136
|
setShowProductInfoModalContext(true);
|
|
@@ -47797,7 +48147,9 @@
|
|
|
47797
48147
|
transform: ' rotate(-180deg)'
|
|
47798
48148
|
},
|
|
47799
48149
|
onClick: function onClick() {
|
|
47800
|
-
if (item.
|
|
48150
|
+
if (item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit') {
|
|
48151
|
+
NotificationManager.warning('', langdetect == 'en' ? 'Sold Out' : 'نفذت الكمية');
|
|
48152
|
+
} else if (item.hasvariants == 0) {
|
|
47801
48153
|
updatequantity('remove');
|
|
47802
48154
|
} else {
|
|
47803
48155
|
setShowProductInfoModalContext(true);
|
|
@@ -47809,7 +48161,9 @@
|
|
|
47809
48161
|
})), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
47810
48162
|
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container) + ' m-1 ',
|
|
47811
48163
|
onClick: function onClick() {
|
|
47812
|
-
if (item.
|
|
48164
|
+
if (item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit') {
|
|
48165
|
+
NotificationManager.warning('', langdetect == 'en' ? 'Sold Out' : 'نفذت الكمية');
|
|
48166
|
+
} else if (item.hasvariants == 0) {
|
|
47813
48167
|
updatequantity('add');
|
|
47814
48168
|
} else {
|
|
47815
48169
|
setShowProductInfoModalContext(true);
|
|
@@ -49554,11 +49908,11 @@
|
|
|
49554
49908
|
setShowProductInfoModalContext(true);
|
|
49555
49909
|
setProductIdProdutInfoModalContext(item.productid);
|
|
49556
49910
|
}
|
|
49557
|
-
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49911
|
+
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)), item.isproducttobesold == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49558
49912
|
"class": "col-lg-12 p-0 d-flex align-items-center"
|
|
49559
49913
|
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
49560
49914
|
"class": card_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
49561
|
-
}, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice,
|
|
49915
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname), item.hassale == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
49562
49916
|
"class": card_cssstyles.productSalePricestyles + ' m-0 p-0 ml-2 mr-2 ',
|
|
49563
49917
|
style: {
|
|
49564
49918
|
textDecoration: 'line-through'
|
|
@@ -51983,8 +52337,8 @@
|
|
|
51983
52337
|
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_w + '/' + item.image,
|
|
51984
52338
|
loading: "lazy",
|
|
51985
52339
|
style: {
|
|
51986
|
-
width: '
|
|
51987
|
-
height: '
|
|
52340
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
52341
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
51988
52342
|
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
51989
52343
|
background: sectionproperties.image_bgcolortransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
|
|
51990
52344
|
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
@@ -53805,7 +54159,7 @@
|
|
|
53805
54159
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
53806
54160
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
53807
54161
|
transition: '.3s',
|
|
53808
|
-
opacity: item.productquantity < 1 ? 0.4 : 1
|
|
54162
|
+
opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' ? 0.4 : 1
|
|
53809
54163
|
}),
|
|
53810
54164
|
productNameStyles: glamor.css({
|
|
53811
54165
|
color: sectionproperties.prodNameColor,
|
|
@@ -53997,7 +54351,7 @@
|
|
|
53997
54351
|
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
53998
54352
|
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
53999
54353
|
}
|
|
54000
|
-
})), item.productquantity < 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54354
|
+
})), item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54001
54355
|
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
54002
54356
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54003
54357
|
"class": "m-0 p-0"
|
|
@@ -54030,7 +54384,7 @@
|
|
|
54030
54384
|
}, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'))))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54031
54385
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
54032
54386
|
onClick: function onClick() {
|
|
54033
|
-
if (item.productquantity
|
|
54387
|
+
if (item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit') {
|
|
54034
54388
|
setShowProductInfoModalContext(true);
|
|
54035
54389
|
setProductIdProdutInfoModalContext(item.productid);
|
|
54036
54390
|
} else {
|