tabexseriescomponents 0.0.447 → 0.0.449
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 +1170 -1084
- package/dist/index.esm.js +1170 -1084
- package/dist/index.umd.js +1173 -1085
- 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('imagekitio-react'), require('@babel/runtime/helpers/toConsumableArray'), 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-icons/all-files/fa/FaPlus'), require('@react-icons/all-files/fa/FaMinus'), require('@react-icons/all-files/fi/FiBox'), require('@react-icons/all-files/ri/RiArrowGoBackLine'), require('react-accessible-accordion'), require('react-share'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('react-textarea-autosize'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-horizontal-scrolling-menu'), require('@mui/material'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineMail'), require('@react-icons/all-files/fa/FaShippingFast'), require('@react-icons/all-files/ri/RiSecurePaymentLine'), require('react-player'), 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('
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'imagekitio-react', '@babel/runtime/helpers/toConsumableArray', '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-icons/all-files/fa/FaPlus', '@react-icons/all-files/fa/FaMinus', '@react-icons/all-files/fi/FiBox', '@react-icons/all-files/ri/RiArrowGoBackLine', 'react-accessible-accordion', 'react-share', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', 'react-textarea-autosize', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-horizontal-scrolling-menu', '@mui/material', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineMail', '@react-icons/all-files/fa/FaShippingFast', '@react-icons/all-files/ri/RiSecurePaymentLine', 'react-player', '@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', '
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, global.imagekitioReact, global._toConsumableArray, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart$1, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar$1, global.AiOutlineStar, global.FaPlus, global.FaMinus, global.FiBox, global.RiArrowGoBackLine, global.reactAccessibleAccordion, global.reactShare, global.FiMinus, global.FiPlus, global.ReactStars, global.FiLayers, global.TextareaAutosize, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.material, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.ReactPlayer, 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, imagekitioReact, _toConsumableArray, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart$1, FiShoppingBag, FiShoppingCart, AiFillStar$1, AiOutlineStar, FaPlus, FaMinus, FiBox, RiArrowGoBackLine, reactAccessibleAccordion, reactShare, FiMinus, FiPlus, ReactStars, FiLayers, TextareaAutosize, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, material, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, ReactPlayer, 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('imagekitio-react'), require('@babel/runtime/helpers/toConsumableArray'), 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-icons/all-files/fa/FaPlus'), require('@react-icons/all-files/fa/FaMinus'), require('@react-icons/all-files/fi/FiBox'), require('@react-icons/all-files/ri/RiArrowGoBackLine'), require('react-accessible-accordion'), require('react-share'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('react-textarea-autosize'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-horizontal-scrolling-menu'), require('@mui/material'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineMail'), require('@react-icons/all-files/fa/FaShippingFast'), require('@react-icons/all-files/ri/RiSecurePaymentLine'), require('react-player'), 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-bootstrap/Dropdown'), require('@react-icons/all-files/fi/FiCalendar'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('react-phone-input-2'), require('@react-icons/all-files/bs/BsChevronLeft'), require('@react-icons/all-files/bs/BsChevronRight'), require('@react-icons/all-files/ri/RiArrowUpSLine'), require('@react-icons/all-files/ri/RiArrowDownSLine'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), require('@react-icons/all-files/fi/FiChevronUp'), require('@react-icons/all-files/fi/FiChevronDown'), require('@react-icons/all-files/hi/HiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineMinus'), require('react-router-dom'), require('react-query'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('react-input-range'), require('react-intersection-observer'), require('@react-icons/all-files/fi/FiFilter'), require('@react-icons/all-files/fi/FiChevronLeft'), require('@react-icons/all-files/fi/FiChevronRight'), require('@react-icons/all-files/hi/HiOutlineArrowRight'), require('@react-icons/all-files/hi/HiOutlineArrowLeft'), require('react-paginate'), require('@react-icons/all-files/fa/FaFacebook'), require('@react-icons/all-files/ai/AiFillInstagram'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/md/MdKeyboardArrowDown'), require('@react-icons/all-files/fa/FaMoneyBillWave'), require('@react-icons/all-files/bi/BiLogOutCircle'), require('@react-icons/all-files/bi/BiChevronDown'), require('@react-icons/all-files/bi/BiUser'), require('@react-icons/all-files/ai/AiOutlineLogin'), require('@react-icons/all-files/ai/AiOutlineUserAdd'), require('@react-icons/all-files/ri/RiSearchLine'), require('@react-icons/all-files/cg/CgMenuLeft'), require('@react-icons/all-files/cg/CgMenuRight'), require('@react-icons/all-files/hi/HiOutlineShoppingBag'), require('@react-icons/all-files/ri/RiHandbagLine'), require('@react-icons/all-files/ai/AiOutlineClose'), require('@react-icons/all-files/vsc/VscMenu'), require('@react-icons/all-files/vsc/VscHeart'), require('@react-icons/all-files/io5/IoSearchOutline'), require('@react-icons/all-files/ai/AiFillYoutube'), require('@react-icons/all-files/io5/IoLogoTiktok'), require('@react-icons/all-files/fi/FiMenu'), require('@react-icons/all-files/io5/IoClose'), 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/AiOutlinePhone'), require('@react-icons/all-files/go/GoSearch'), require('@react-icons/all-files/ai/AiOutlineInstagram'), require('@react-icons/all-files/bs/BsChevronDown'), require('@react-icons/all-files/ri/RiUserSettingsLine'), require('@react-icons/all-files/hi/HiUserCircle'), require('@react-icons/all-files/md/MdKeyboardArrowUp'), require('@react-icons/all-files/bs/BsInfoCircle'), require('@react-icons/all-files/ai/AiFillPhone'), require('@react-icons/all-files/fa/FaTelegramPlane'), require('@react-icons/all-files/fa/FaPhoneAlt'), require('@react-icons/all-files/fa/FaPhone'), require('@react-icons/all-files/fi/FiGlobe'), require('@react-icons/all-files/bi/BiUserCircle'), require('@react-icons/all-files/go/GoLocation'), require('@react-icons/all-files/fa/FaLinkedinIn'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('@react-icons/all-files/ai/AiOutlineLinkedin'), require('@react-icons/all-files/fa/FaArrowAltCircleRight'), require('@react-icons/all-files/fa/FaArrowAltCircleLeft'), require('react-select'), require('@react-icons/all-files/go/GoStar'), require('@react-icons/all-files/io/IoIosStar'), require('react-background-slideshow'), require('@babel/runtime/helpers/extends'), require('react-slideshow-image'), require('@react-icons/all-files/hi/HiOutlineLocationMarker'), require('@react-icons/all-files/fi/FiPhoneCall'), require('@react-icons/all-files/fa/FaRegEye'), require('@react-icons/all-files/bs/BsArrowRight'), require('@react-icons/all-files/bs/BsArrowLeft'), require('@react-icons/all-files/bs/BsEye'), require('@react-icons/all-files/bi/BiTimeFive'), require('@react-icons/all-files/io/IoIosArrowUp')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'imagekitio-react', '@babel/runtime/helpers/toConsumableArray', '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-icons/all-files/fa/FaPlus', '@react-icons/all-files/fa/FaMinus', '@react-icons/all-files/fi/FiBox', '@react-icons/all-files/ri/RiArrowGoBackLine', 'react-accessible-accordion', 'react-share', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', 'react-textarea-autosize', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-horizontal-scrolling-menu', '@mui/material', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineMail', '@react-icons/all-files/fa/FaShippingFast', '@react-icons/all-files/ri/RiSecurePaymentLine', 'react-player', '@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-bootstrap/Dropdown', '@react-icons/all-files/fi/FiCalendar', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', 'react-phone-input-2', '@react-icons/all-files/bs/BsChevronLeft', '@react-icons/all-files/bs/BsChevronRight', '@react-icons/all-files/ri/RiArrowUpSLine', '@react-icons/all-files/ri/RiArrowDownSLine', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', '@react-icons/all-files/fi/FiChevronUp', '@react-icons/all-files/fi/FiChevronDown', '@react-icons/all-files/hi/HiOutlinePlus', '@react-icons/all-files/ai/AiOutlineMinus', 'react-router-dom', 'react-query', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-input-range', 'react-intersection-observer', '@react-icons/all-files/fi/FiFilter', '@react-icons/all-files/fi/FiChevronLeft', '@react-icons/all-files/fi/FiChevronRight', '@react-icons/all-files/hi/HiOutlineArrowRight', '@react-icons/all-files/hi/HiOutlineArrowLeft', 'react-paginate', '@react-icons/all-files/fa/FaFacebook', '@react-icons/all-files/ai/AiFillInstagram', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/md/MdKeyboardArrowDown', '@react-icons/all-files/fa/FaMoneyBillWave', '@react-icons/all-files/bi/BiLogOutCircle', '@react-icons/all-files/bi/BiChevronDown', '@react-icons/all-files/bi/BiUser', '@react-icons/all-files/ai/AiOutlineLogin', '@react-icons/all-files/ai/AiOutlineUserAdd', '@react-icons/all-files/ri/RiSearchLine', '@react-icons/all-files/cg/CgMenuLeft', '@react-icons/all-files/cg/CgMenuRight', '@react-icons/all-files/hi/HiOutlineShoppingBag', '@react-icons/all-files/ri/RiHandbagLine', '@react-icons/all-files/ai/AiOutlineClose', '@react-icons/all-files/vsc/VscMenu', '@react-icons/all-files/vsc/VscHeart', '@react-icons/all-files/io5/IoSearchOutline', '@react-icons/all-files/ai/AiFillYoutube', '@react-icons/all-files/io5/IoLogoTiktok', '@react-icons/all-files/fi/FiMenu', '@react-icons/all-files/io5/IoClose', '@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/AiOutlinePhone', '@react-icons/all-files/go/GoSearch', '@react-icons/all-files/ai/AiOutlineInstagram', '@react-icons/all-files/bs/BsChevronDown', '@react-icons/all-files/ri/RiUserSettingsLine', '@react-icons/all-files/hi/HiUserCircle', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/fa/FaTelegramPlane', '@react-icons/all-files/fa/FaPhoneAlt', '@react-icons/all-files/fa/FaPhone', '@react-icons/all-files/fi/FiGlobe', '@react-icons/all-files/bi/BiUserCircle', '@react-icons/all-files/go/GoLocation', '@react-icons/all-files/fa/FaLinkedinIn', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', '@react-icons/all-files/ai/AiOutlineLinkedin', '@react-icons/all-files/fa/FaArrowAltCircleRight', '@react-icons/all-files/fa/FaArrowAltCircleLeft', 'react-select', '@react-icons/all-files/go/GoStar', '@react-icons/all-files/io/IoIosStar', 'react-background-slideshow', '@babel/runtime/helpers/extends', 'react-slideshow-image', '@react-icons/all-files/hi/HiOutlineLocationMarker', '@react-icons/all-files/fi/FiPhoneCall', '@react-icons/all-files/fa/FaRegEye', '@react-icons/all-files/bs/BsArrowRight', '@react-icons/all-files/bs/BsArrowLeft', '@react-icons/all-files/bs/BsEye', '@react-icons/all-files/bi/BiTimeFive', '@react-icons/all-files/io/IoIosArrowUp'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, global.imagekitioReact, global._toConsumableArray, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart$1, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar$1, global.AiOutlineStar, global.FaPlus, global.FaMinus, global.FiBox, global.RiArrowGoBackLine, global.reactAccessibleAccordion, global.reactShare, global.FiMinus, global.FiPlus, global.ReactStars, global.FiLayers, global.TextareaAutosize, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.material, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.ReactPlayer, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.Dropdown, global.FiCalendar, global._asyncToGenerator, global._regeneratorRuntime, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.BsChevronLeft, global.BsChevronRight, null, null, global.IoIosArrowRoundForward, global.IoIosArrowRoundBack, global.FiChevronUp, global.FiChevronDown, global.HiOutlinePlus, global.AiOutlineMinus, null, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.InputRange, global.reactIntersectionObserver, global.FiFilter, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.FaFacebook, global.AiFillInstagram, global.FaWhatsapp, global.BiGlobe, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.AiOutlineClose, global.VscMenu, global.VscHeart, global.IoSearchOutline, global.AiFillYoutube, global.IoLogoTiktok, global.FiMenu, global.IoClose, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiOutlinePhone, global.GoSearch, global.AiOutlineInstagram, global.BsChevronDown, global.RiUserSettingsLine, global.HiUserCircle, global.MdKeyboardArrowUp, global.BsInfoCircle, global.AiFillPhone, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.FiGlobe, global.BiUserCircle, global.GoLocation, global.FaLinkedinIn, global.RiRoadMapLine, global.HiOutlineClock, global.AiOutlineLinkedin, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.Select$5, global.GoStar, global.IoIosStar, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.FaRegEye, global.BsArrowRight, global.BsArrowLeft, global.BsEye, global.BiTimeFive, global.IoIosArrowUp));
|
|
5
|
+
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, imagekitioReact, _toConsumableArray, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart$1, FiShoppingBag, FiShoppingCart, AiFillStar$1, AiOutlineStar, FaPlus, FaMinus, FiBox, RiArrowGoBackLine, reactAccessibleAccordion, reactShare, FiMinus, FiPlus, ReactStars, FiLayers, TextareaAutosize, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, material, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, ReactPlayer, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, Dropdown, FiCalendar, _asyncToGenerator, _regeneratorRuntime, HiUser, GrMail, FiCheckCircle, BiPhone, PhoneInput, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, IoIosArrowRoundForward, IoIosArrowRoundBack, FiChevronUp, FiChevronDown, HiOutlinePlus, AiOutlineMinus, reactRouterDom, reactQuery, IoBagCheckOutline, IoBagRemoveOutline, InputRange, reactIntersectionObserver, FiFilter, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, FaFacebook, AiFillInstagram, FaWhatsapp, BiGlobe, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, AiOutlineClose, VscMenu, VscHeart, IoSearchOutline, AiFillYoutube, IoLogoTiktok, FiMenu, IoClose, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiOutlinePhone, GoSearch, AiOutlineInstagram, BsChevronDown, RiUserSettingsLine, HiUserCircle, MdKeyboardArrowUp, BsInfoCircle, AiFillPhone, FaTelegramPlane, FaPhoneAlt, FaPhone, FiGlobe, BiUserCircle, GoLocation, FaLinkedinIn, RiRoadMapLine, HiOutlineClock, AiOutlineLinkedin, FaArrowAltCircleRight, FaArrowAltCircleLeft, Select$5, GoStar, IoIosStar, BackgroundSlideshow, _extends, reactSlideshowImage, HiOutlineLocationMarker, FiPhoneCall, FaRegEye, BsArrowRight, BsArrowLeft, BsEye, BiTimeFive, IoIosArrowUp) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -505,8 +505,8 @@
|
|
|
505
505
|
}));
|
|
506
506
|
};
|
|
507
507
|
|
|
508
|
-
function ownKeys$
|
|
509
|
-
function _objectSpread$
|
|
508
|
+
function ownKeys$2v(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
509
|
+
function _objectSpread$2v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2v(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
510
510
|
var Login = function Login(props) {
|
|
511
511
|
var _css;
|
|
512
512
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -582,7 +582,7 @@
|
|
|
582
582
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
583
583
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
584
584
|
});
|
|
585
|
-
setsectionproperties(_objectSpread$
|
|
585
|
+
setsectionproperties(_objectSpread$2v({}, secpropobj));
|
|
586
586
|
}
|
|
587
587
|
}, [StatePagePropertiesContext]);
|
|
588
588
|
React.useEffect(function () {
|
|
@@ -749,9 +749,9 @@
|
|
|
749
749
|
className: "".concat(loginstyles2.form_control),
|
|
750
750
|
value: payloadobj.email,
|
|
751
751
|
onChange: function onChange(event) {
|
|
752
|
-
var temppayloadobj = _objectSpread$
|
|
752
|
+
var temppayloadobj = _objectSpread$2v({}, payloadobj);
|
|
753
753
|
temppayloadobj.email = event.target.value;
|
|
754
|
-
setpayloadobj(_objectSpread$
|
|
754
|
+
setpayloadobj(_objectSpread$2v({}, temppayloadobj));
|
|
755
755
|
},
|
|
756
756
|
style: {
|
|
757
757
|
background: sectionproperties.input_bgcolor
|
|
@@ -773,9 +773,9 @@
|
|
|
773
773
|
textplaceholder: "",
|
|
774
774
|
value: payloadobj.password,
|
|
775
775
|
onChange: function onChange(event) {
|
|
776
|
-
var temppayloadobj = _objectSpread$
|
|
776
|
+
var temppayloadobj = _objectSpread$2v({}, payloadobj);
|
|
777
777
|
temppayloadobj.password = event.target.value;
|
|
778
|
-
setpayloadobj(_objectSpread$
|
|
778
|
+
setpayloadobj(_objectSpread$2v({}, temppayloadobj));
|
|
779
779
|
},
|
|
780
780
|
style: {
|
|
781
781
|
background: sectionproperties.input_bgcolor
|
|
@@ -952,9 +952,9 @@
|
|
|
952
952
|
className: "".concat(loginstyles2.form_control),
|
|
953
953
|
value: forgotpasswordpayload.email,
|
|
954
954
|
onChange: function onChange(event) {
|
|
955
|
-
var temppayloadobj = _objectSpread$
|
|
955
|
+
var temppayloadobj = _objectSpread$2v({}, forgotpasswordpayload);
|
|
956
956
|
temppayloadobj.email = event.target.value;
|
|
957
|
-
setforgotpasswordpayload(_objectSpread$
|
|
957
|
+
setforgotpasswordpayload(_objectSpread$2v({}, temppayloadobj));
|
|
958
958
|
},
|
|
959
959
|
disabled: forgetpasswordstage == 'verify' ? true : false,
|
|
960
960
|
style: {
|
|
@@ -969,9 +969,9 @@
|
|
|
969
969
|
className: "".concat(loginstyles2.form_control),
|
|
970
970
|
value: forgotpasswordpayload.code,
|
|
971
971
|
onChange: function onChange(event) {
|
|
972
|
-
var temppayloadobj = _objectSpread$
|
|
972
|
+
var temppayloadobj = _objectSpread$2v({}, forgotpasswordpayload);
|
|
973
973
|
temppayloadobj.code = event.target.value;
|
|
974
|
-
setforgotpasswordpayload(_objectSpread$
|
|
974
|
+
setforgotpasswordpayload(_objectSpread$2v({}, temppayloadobj));
|
|
975
975
|
},
|
|
976
976
|
style: {
|
|
977
977
|
background: sectionproperties.input_bgcolor
|
|
@@ -985,9 +985,9 @@
|
|
|
985
985
|
className: "".concat(loginstyles2.form_control),
|
|
986
986
|
value: forgotpasswordpayload.newpassword,
|
|
987
987
|
onChange: function onChange(event) {
|
|
988
|
-
var temppayloadobj = _objectSpread$
|
|
988
|
+
var temppayloadobj = _objectSpread$2v({}, forgotpasswordpayload);
|
|
989
989
|
temppayloadobj.newpassword = event.target.value;
|
|
990
|
-
setforgotpasswordpayload(_objectSpread$
|
|
990
|
+
setforgotpasswordpayload(_objectSpread$2v({}, temppayloadobj));
|
|
991
991
|
},
|
|
992
992
|
style: {
|
|
993
993
|
background: sectionproperties.input_bgcolor
|
|
@@ -1001,9 +1001,9 @@
|
|
|
1001
1001
|
className: "".concat(loginstyles2.form_control),
|
|
1002
1002
|
value: forgotpasswordpayload.confirmnewpassword,
|
|
1003
1003
|
onChange: function onChange(event) {
|
|
1004
|
-
var temppayloadobj = _objectSpread$
|
|
1004
|
+
var temppayloadobj = _objectSpread$2v({}, forgotpasswordpayload);
|
|
1005
1005
|
temppayloadobj.confirmnewpassword = event.target.value;
|
|
1006
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1006
|
+
setforgotpasswordpayload(_objectSpread$2v({}, temppayloadobj));
|
|
1007
1007
|
},
|
|
1008
1008
|
style: {
|
|
1009
1009
|
background: sectionproperties.input_bgcolor
|
|
@@ -1015,7 +1015,7 @@
|
|
|
1015
1015
|
onClick: function onClick() {
|
|
1016
1016
|
if (forgotpasswordpayload.email.length != 0) {
|
|
1017
1017
|
var runfunc = false;
|
|
1018
|
-
var tempforgotpasswordpayload = _objectSpread$
|
|
1018
|
+
var tempforgotpasswordpayload = _objectSpread$2v({}, forgotpasswordpayload);
|
|
1019
1019
|
tempforgotpasswordpayload.functype = forgetpasswordstage;
|
|
1020
1020
|
if (forgetpasswordstage == 'verify') {
|
|
1021
1021
|
if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
|
|
@@ -1066,11 +1066,11 @@
|
|
|
1066
1066
|
var loginstyles = {"rightContainer":"signup-module_rightContainer__yEcoL","rightContainerTrans":"signup-module_rightContainerTrans__fkdBH","rightContainerText":"signup-module_rightContainerText__-pvN-","form_control":"signup-module_form_control__7s76W","anim-shadow":"signup-module_anim-shadow__CsxhG","login_input_icon":"signup-module_login_input_icon__RDTS0","form_control_border_none":"signup-module_form_control_border_none__HjUMS","disabled":"signup-module_disabled__h55ao","leftcontainer":"signup-module_leftcontainer__bqfnN","form_controltextarea":"signup-module_form_controltextarea__-LGz6","checkbox":"signup-module_checkbox__8ejBx","checkbox_label":"signup-module_checkbox_label__d84Q2","checkbox_sub":"signup-module_checkbox_sub__WQLUX","checkboxtranslated":"signup-module_checkboxtranslated__4xHR-","showpassword_input_icon":"signup-module_showpassword_input_icon__cVHRS","showpassword_input_icontrans":"signup-module_showpassword_input_icontrans__vmV5q"};
|
|
1067
1067
|
styleInject(css_248z$J);
|
|
1068
1068
|
|
|
1069
|
-
function ownKeys$
|
|
1070
|
-
function _objectSpread$
|
|
1069
|
+
function ownKeys$2u(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1070
|
+
function _objectSpread$2u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2u(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1071
1071
|
var selectcustomStyles = {
|
|
1072
1072
|
option: function option(provided, state) {
|
|
1073
|
-
return _objectSpread$
|
|
1073
|
+
return _objectSpread$2u(_objectSpread$2u({}, provided), {}, {
|
|
1074
1074
|
borderBottom: '1px solid #e6e6e6',
|
|
1075
1075
|
backgroundColor: state.isSelected ? '' : '',
|
|
1076
1076
|
padding: 5,
|
|
@@ -1099,7 +1099,7 @@
|
|
|
1099
1099
|
};
|
|
1100
1100
|
var selectcustomStylesTranslated = {
|
|
1101
1101
|
option: function option(provided, state) {
|
|
1102
|
-
return _objectSpread$
|
|
1102
|
+
return _objectSpread$2u(_objectSpread$2u({}, provided), {}, {
|
|
1103
1103
|
borderBottom: '1px solid #e6e6e6',
|
|
1104
1104
|
backgroundColor: state.isSelected ? '' : '',
|
|
1105
1105
|
padding: 5,
|
|
@@ -1128,14 +1128,14 @@
|
|
|
1128
1128
|
};
|
|
1129
1129
|
},
|
|
1130
1130
|
placeholder: function placeholder(provided, state) {
|
|
1131
|
-
return _objectSpread$
|
|
1131
|
+
return _objectSpread$2u(_objectSpread$2u({}, provided), {}, {
|
|
1132
1132
|
textAlign: 'right'
|
|
1133
1133
|
});
|
|
1134
1134
|
}
|
|
1135
1135
|
};
|
|
1136
1136
|
var defaultstyles = {
|
|
1137
1137
|
option: function option(provided, state) {
|
|
1138
|
-
return _objectSpread$
|
|
1138
|
+
return _objectSpread$2u(_objectSpread$2u({}, provided), {}, {
|
|
1139
1139
|
borderBottom: '1px solid #e6e6e6',
|
|
1140
1140
|
backgroundColor: state.isSelected ? '' : '',
|
|
1141
1141
|
padding: 5,
|
|
@@ -1163,7 +1163,7 @@
|
|
|
1163
1163
|
}), _ref;
|
|
1164
1164
|
},
|
|
1165
1165
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1166
|
-
return _objectSpread$
|
|
1166
|
+
return _objectSpread$2u(_objectSpread$2u({}, provided), {}, {
|
|
1167
1167
|
'&:hover': {
|
|
1168
1168
|
// color: '#eac435',
|
|
1169
1169
|
}
|
|
@@ -1172,7 +1172,7 @@
|
|
|
1172
1172
|
};
|
|
1173
1173
|
var defaultstylestranslated = {
|
|
1174
1174
|
option: function option(provided, state) {
|
|
1175
|
-
return _objectSpread$
|
|
1175
|
+
return _objectSpread$2u(_objectSpread$2u({}, provided), {}, {
|
|
1176
1176
|
borderBottom: '1px solid #e6e6e6',
|
|
1177
1177
|
backgroundColor: state.isSelected ? '' : '',
|
|
1178
1178
|
padding: 5,
|
|
@@ -1203,21 +1203,21 @@
|
|
|
1203
1203
|
};
|
|
1204
1204
|
},
|
|
1205
1205
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1206
|
-
return _objectSpread$
|
|
1206
|
+
return _objectSpread$2u(_objectSpread$2u({}, provided), {}, {
|
|
1207
1207
|
'&:hover': {
|
|
1208
1208
|
// color: '#eac435',
|
|
1209
1209
|
}
|
|
1210
1210
|
});
|
|
1211
1211
|
},
|
|
1212
1212
|
placeholder: function placeholder(provided, state) {
|
|
1213
|
-
return _objectSpread$
|
|
1213
|
+
return _objectSpread$2u(_objectSpread$2u({}, provided), {}, {
|
|
1214
1214
|
textAlign: 'right'
|
|
1215
1215
|
});
|
|
1216
1216
|
}
|
|
1217
1217
|
};
|
|
1218
1218
|
var defaultstylesnone = {
|
|
1219
1219
|
option: function option(provided, state) {
|
|
1220
|
-
return _objectSpread$
|
|
1220
|
+
return _objectSpread$2u(_objectSpread$2u({}, provided), {}, {
|
|
1221
1221
|
borderBottom: '1px solid #e6e6e6',
|
|
1222
1222
|
backgroundColor: state.isSelected ? '' : '',
|
|
1223
1223
|
padding: 5,
|
|
@@ -1245,7 +1245,7 @@
|
|
|
1245
1245
|
};
|
|
1246
1246
|
},
|
|
1247
1247
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1248
|
-
return _objectSpread$
|
|
1248
|
+
return _objectSpread$2u(_objectSpread$2u({}, provided), {}, {
|
|
1249
1249
|
'&:hover': {
|
|
1250
1250
|
// color: '#eac435',
|
|
1251
1251
|
}
|
|
@@ -1838,8 +1838,8 @@
|
|
|
1838
1838
|
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(Math.round(parseInt(fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2) : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)) * (fetchProductInfoQueryContext.data.data.productinfo.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))));
|
|
1839
1839
|
};
|
|
1840
1840
|
|
|
1841
|
-
function ownKeys$
|
|
1842
|
-
function _objectSpread$
|
|
1841
|
+
function ownKeys$2t(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1842
|
+
function _objectSpread$2t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2t(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1843
1843
|
var ProductExtraFields = function ProductExtraFields(props) {
|
|
1844
1844
|
var _fetchProductInfoQuer, _css, _fetchProductInfoQuer2;
|
|
1845
1845
|
props.actions.lang;
|
|
@@ -1894,9 +1894,9 @@
|
|
|
1894
1894
|
});
|
|
1895
1895
|
}
|
|
1896
1896
|
setproductextravaluesarray(_toConsumableArray__default["default"](tempproductextravaluesarray));
|
|
1897
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
1897
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
1898
1898
|
tempaddtocardpayloadobj.extrafields = tempproductextravaluesarray;
|
|
1899
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
1899
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
1900
1900
|
};
|
|
1901
1901
|
var formstyles = {
|
|
1902
1902
|
input_label_name: glamor.css({
|
|
@@ -2111,8 +2111,8 @@
|
|
|
2111
2111
|
})))));
|
|
2112
2112
|
};
|
|
2113
2113
|
|
|
2114
|
-
function ownKeys$
|
|
2115
|
-
function _objectSpread$
|
|
2114
|
+
function ownKeys$2s(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2115
|
+
function _objectSpread$2s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2s(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2116
2116
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2117
2117
|
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42;
|
|
2118
2118
|
var lang = props.actions.lang;
|
|
@@ -2672,11 +2672,11 @@
|
|
|
2672
2672
|
}, sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2673
2673
|
className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
2674
2674
|
onClick: function onClick() {
|
|
2675
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2675
|
+
var tempaddtocardpayloadobj = _objectSpread$2s({}, addtocardpayloadobj);
|
|
2676
2676
|
if (tempaddtocardpayloadobj.quantity > 0) {
|
|
2677
2677
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
|
|
2678
2678
|
}
|
|
2679
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2679
|
+
setaddtocardpayloadobj(_objectSpread$2s({}, tempaddtocardpayloadobj));
|
|
2680
2680
|
}
|
|
2681
2681
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2682
2682
|
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
|
|
@@ -2690,9 +2690,9 @@
|
|
|
2690
2690
|
}, addtocardpayloadobj.quantity), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2691
2691
|
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
2692
2692
|
onClick: function onClick() {
|
|
2693
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2693
|
+
var tempaddtocardpayloadobj = _objectSpread$2s({}, addtocardpayloadobj);
|
|
2694
2694
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
|
|
2695
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2695
|
+
setaddtocardpayloadobj(_objectSpread$2s({}, tempaddtocardpayloadobj));
|
|
2696
2696
|
}
|
|
2697
2697
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2698
2698
|
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'
|
|
@@ -2717,13 +2717,13 @@
|
|
|
2717
2717
|
value: addtocardpayloadobj.quantity,
|
|
2718
2718
|
onChange: function onChange(event) {
|
|
2719
2719
|
if (event.target.value == NaN || event.target.value == undefined || event.target.value == null || event.target.value == '') {
|
|
2720
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2720
|
+
var tempaddtocardpayloadobj = _objectSpread$2s({}, addtocardpayloadobj);
|
|
2721
2721
|
tempaddtocardpayloadobj.quantity = 1;
|
|
2722
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2722
|
+
setaddtocardpayloadobj(_objectSpread$2s({}, tempaddtocardpayloadobj));
|
|
2723
2723
|
} else {
|
|
2724
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2724
|
+
var tempaddtocardpayloadobj = _objectSpread$2s({}, addtocardpayloadobj);
|
|
2725
2725
|
tempaddtocardpayloadobj.quantity = parseInt(event.target.value);
|
|
2726
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2726
|
+
setaddtocardpayloadobj(_objectSpread$2s({}, tempaddtocardpayloadobj));
|
|
2727
2727
|
}
|
|
2728
2728
|
}
|
|
2729
2729
|
})), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
@@ -3239,8 +3239,8 @@
|
|
|
3239
3239
|
}, ShareButtonsContainer()))))))));
|
|
3240
3240
|
};
|
|
3241
3241
|
|
|
3242
|
-
function ownKeys$
|
|
3243
|
-
function _objectSpread$
|
|
3242
|
+
function ownKeys$2r(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3243
|
+
function _objectSpread$2r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2r(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3244
3244
|
var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
3245
3245
|
var _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer17, _fetchProductInfoQuer18;
|
|
3246
3246
|
var langdetect = props.actions.langdetect;
|
|
@@ -3281,7 +3281,7 @@
|
|
|
3281
3281
|
slots = _useState6[0],
|
|
3282
3282
|
setslots = _useState6[1];
|
|
3283
3283
|
React.useEffect(function () {
|
|
3284
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3284
|
+
setaddtocardpayloadobj(_objectSpread$2r(_objectSpread$2r({}, addtocardpayloadobj), {}, {
|
|
3285
3285
|
item_type: 'service'
|
|
3286
3286
|
}));
|
|
3287
3287
|
}, [tabsarray]);
|
|
@@ -3293,16 +3293,16 @@
|
|
|
3293
3293
|
if (diffDays.toString() != 'NaN') {
|
|
3294
3294
|
if (date2 <= date1) {
|
|
3295
3295
|
NotificationManager.warning('', 'Please choose another date.');
|
|
3296
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3296
|
+
setaddtocardpayloadobj(_objectSpread$2r(_objectSpread$2r({}, addtocardpayloadobj), {}, {
|
|
3297
3297
|
quantity: 0
|
|
3298
3298
|
}));
|
|
3299
3299
|
} else {
|
|
3300
3300
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
|
|
3301
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3301
|
+
setaddtocardpayloadobj(_objectSpread$2r(_objectSpread$2r({}, addtocardpayloadobj), {}, {
|
|
3302
3302
|
quantity: diffDays
|
|
3303
3303
|
}));
|
|
3304
3304
|
} else {
|
|
3305
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3305
|
+
setaddtocardpayloadobj(_objectSpread$2r(_objectSpread$2r({}, addtocardpayloadobj), {}, {
|
|
3306
3306
|
quantity: 0
|
|
3307
3307
|
}));
|
|
3308
3308
|
NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
@@ -3516,7 +3516,7 @@
|
|
|
3516
3516
|
});
|
|
3517
3517
|
if (reservedslotArrtobetaken.length != 0) {
|
|
3518
3518
|
reservedslottobetaken = reservedslotArrtobetaken[0].slot;
|
|
3519
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3519
|
+
setaddtocardpayloadobj(_objectSpread$2r(_objectSpread$2r({}, addtocardpayloadobj), {}, {
|
|
3520
3520
|
time: reservedslottobetaken,
|
|
3521
3521
|
reserved_slots: reservedslotArrtobetaken,
|
|
3522
3522
|
quantity: parseInt(reservedslotArrtobetaken.length)
|
|
@@ -3575,7 +3575,7 @@
|
|
|
3575
3575
|
min: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.serviceinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.reservationstarts,
|
|
3576
3576
|
max: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.serviceinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.reservationends,
|
|
3577
3577
|
onChange: function onChange(event) {
|
|
3578
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3578
|
+
setaddtocardpayloadobj(_objectSpread$2r(_objectSpread$2r({}, addtocardpayloadobj), {}, {
|
|
3579
3579
|
from: event.target.value
|
|
3580
3580
|
}));
|
|
3581
3581
|
}
|
|
@@ -3595,7 +3595,7 @@
|
|
|
3595
3595
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
3596
3596
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
3597
3597
|
onChange: function onChange(event) {
|
|
3598
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3598
|
+
setaddtocardpayloadobj(_objectSpread$2r(_objectSpread$2r({}, addtocardpayloadobj), {}, {
|
|
3599
3599
|
to: event.target.value
|
|
3600
3600
|
}));
|
|
3601
3601
|
}
|
|
@@ -3615,7 +3615,7 @@
|
|
|
3615
3615
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
3616
3616
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
3617
3617
|
onChange: function onChange(event) {
|
|
3618
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3618
|
+
setaddtocardpayloadobj(_objectSpread$2r(_objectSpread$2r({}, addtocardpayloadobj), {}, {
|
|
3619
3619
|
date: event.target.value
|
|
3620
3620
|
}));
|
|
3621
3621
|
setcurrentmutatestate('/fetchserviceslots');
|
|
@@ -3674,7 +3674,7 @@
|
|
|
3674
3674
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3675
3675
|
"class": TabsStyles.booknow_btn_resp + ' allcentered ',
|
|
3676
3676
|
onClick: function onClick() {
|
|
3677
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3677
|
+
setaddtocardpayloadobj(_objectSpread$2r(_objectSpread$2r({}, addtocardpayloadobj), {}, {
|
|
3678
3678
|
time: item.slot
|
|
3679
3679
|
}));
|
|
3680
3680
|
}
|
|
@@ -4452,8 +4452,8 @@
|
|
|
4452
4452
|
}, StoreInfoprops()))));
|
|
4453
4453
|
};
|
|
4454
4454
|
|
|
4455
|
-
function ownKeys$
|
|
4456
|
-
function _objectSpread$
|
|
4455
|
+
function ownKeys$2q(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4456
|
+
function _objectSpread$2q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4457
4457
|
var AddReview = function AddReview(props) {
|
|
4458
4458
|
var _css;
|
|
4459
4459
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -4505,7 +4505,7 @@
|
|
|
4505
4505
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
4506
4506
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4507
4507
|
});
|
|
4508
|
-
setsectionproperties(_objectSpread$
|
|
4508
|
+
setsectionproperties(_objectSpread$2q({}, secpropobj));
|
|
4509
4509
|
}
|
|
4510
4510
|
}, [StatePagePropertiesContext]);
|
|
4511
4511
|
React.useEffect(function () {
|
|
@@ -4514,7 +4514,7 @@
|
|
|
4514
4514
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
4515
4515
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4516
4516
|
});
|
|
4517
|
-
setsectionproperties(_objectSpread$
|
|
4517
|
+
setsectionproperties(_objectSpread$2q({}, secpropobj));
|
|
4518
4518
|
}, [pageindexcontext]);
|
|
4519
4519
|
var reviewstyles = {
|
|
4520
4520
|
submitreviewbtn: glamor.css({
|
|
@@ -4640,9 +4640,9 @@
|
|
|
4640
4640
|
}),
|
|
4641
4641
|
activeColor: "#ffd700",
|
|
4642
4642
|
onChange: function onChange(event) {
|
|
4643
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4643
|
+
var tempreviewpayloadobj = _objectSpread$2q({}, reviewpayloadobj);
|
|
4644
4644
|
tempreviewpayloadobj.reviewrate = event;
|
|
4645
|
-
setreviewpayloadobj(_objectSpread$
|
|
4645
|
+
setreviewpayloadobj(_objectSpread$2q({}, tempreviewpayloadobj));
|
|
4646
4646
|
}
|
|
4647
4647
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4648
4648
|
"class": "col-lg-12"
|
|
@@ -4656,9 +4656,9 @@
|
|
|
4656
4656
|
"class": reviewstyles.form_control,
|
|
4657
4657
|
value: reviewpayloadobj.reviewname,
|
|
4658
4658
|
onChange: function onChange(event) {
|
|
4659
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4659
|
+
var tempreviewpayloadobj = _objectSpread$2q({}, reviewpayloadobj);
|
|
4660
4660
|
tempreviewpayloadobj.reviewname = event.target.value;
|
|
4661
|
-
setreviewpayloadobj(_objectSpread$
|
|
4661
|
+
setreviewpayloadobj(_objectSpread$2q({}, tempreviewpayloadobj));
|
|
4662
4662
|
}
|
|
4663
4663
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4664
4664
|
"class": "col-lg-12 mb-4"
|
|
@@ -4668,9 +4668,9 @@
|
|
|
4668
4668
|
"class": reviewstyles.form_control,
|
|
4669
4669
|
value: reviewpayloadobj.reviewtitle,
|
|
4670
4670
|
onChange: function onChange(event) {
|
|
4671
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4671
|
+
var tempreviewpayloadobj = _objectSpread$2q({}, reviewpayloadobj);
|
|
4672
4672
|
tempreviewpayloadobj.reviewtitle = event.target.value;
|
|
4673
|
-
setreviewpayloadobj(_objectSpread$
|
|
4673
|
+
setreviewpayloadobj(_objectSpread$2q({}, tempreviewpayloadobj));
|
|
4674
4674
|
}
|
|
4675
4675
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4676
4676
|
"class": "col-lg-12 mb-4"
|
|
@@ -4681,9 +4681,9 @@
|
|
|
4681
4681
|
"class": reviewstyles.form_control + ' form_control ',
|
|
4682
4682
|
value: reviewpayloadobj.reviewbody,
|
|
4683
4683
|
onChange: function onChange(event) {
|
|
4684
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4684
|
+
var tempreviewpayloadobj = _objectSpread$2q({}, reviewpayloadobj);
|
|
4685
4685
|
tempreviewpayloadobj.reviewbody = event.target.value;
|
|
4686
|
-
setreviewpayloadobj(_objectSpread$
|
|
4686
|
+
setreviewpayloadobj(_objectSpread$2q({}, tempreviewpayloadobj));
|
|
4687
4687
|
},
|
|
4688
4688
|
style: {
|
|
4689
4689
|
resize: 'none',
|
|
@@ -4718,8 +4718,8 @@
|
|
|
4718
4718
|
}, langdetect == 'en' ? sectionproperties.reviewbtn_contenten : sectionproperties.reviewbtn_contentar)));
|
|
4719
4719
|
};
|
|
4720
4720
|
|
|
4721
|
-
function ownKeys$
|
|
4722
|
-
function _objectSpread$
|
|
4721
|
+
function ownKeys$2p(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4722
|
+
function _objectSpread$2p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2p(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4723
4723
|
var ProductReviews = function ProductReviews(props) {
|
|
4724
4724
|
var _fetchProductInfoQuer, _fetchProductInfoQuer3, _fetchProductInfoQuer4;
|
|
4725
4725
|
props.actions.lang;
|
|
@@ -4953,7 +4953,7 @@
|
|
|
4953
4953
|
size: "md",
|
|
4954
4954
|
"class": "reviewmodal"
|
|
4955
4955
|
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement(AddReview, {
|
|
4956
|
-
actions: _objectSpread$
|
|
4956
|
+
actions: _objectSpread$2p(_objectSpread$2p({}, actions), {}, {
|
|
4957
4957
|
productid: productid,
|
|
4958
4958
|
canuserreview: canuserreview,
|
|
4959
4959
|
addreviewcallback: addreviewcallback
|
|
@@ -4961,8 +4961,8 @@
|
|
|
4961
4961
|
}))));
|
|
4962
4962
|
};
|
|
4963
4963
|
|
|
4964
|
-
function ownKeys$
|
|
4965
|
-
function _objectSpread$
|
|
4964
|
+
function ownKeys$2o(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4965
|
+
function _objectSpread$2o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2o(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4966
4966
|
var Productinfo = function Productinfo(props) {
|
|
4967
4967
|
var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
|
|
4968
4968
|
var _useState = React.useState({}),
|
|
@@ -4991,7 +4991,7 @@
|
|
|
4991
4991
|
setfetchProductInfoQueryContext = _useState4[1];
|
|
4992
4992
|
React.useEffect(function () {
|
|
4993
4993
|
if (fetchProductInfoQueryContextProps.isSuccess) {
|
|
4994
|
-
setProductInfoObj(_objectSpread$
|
|
4994
|
+
setProductInfoObj(_objectSpread$2o({}, fetchProductInfoQueryContextProps.data));
|
|
4995
4995
|
setfetchProductInfoQueryContext(fetchProductInfoQueryContextProps);
|
|
4996
4996
|
}
|
|
4997
4997
|
}, [props.actions, props, fetchProductInfoQueryContextProps.data, fetchProductInfoQueryContextProps.isSuccess]);
|
|
@@ -5107,7 +5107,7 @@
|
|
|
5107
5107
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
5108
5108
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
5109
5109
|
});
|
|
5110
|
-
setsectionproperties(_objectSpread$
|
|
5110
|
+
setsectionproperties(_objectSpread$2o({}, secpropobj));
|
|
5111
5111
|
setTabIndex(0);
|
|
5112
5112
|
settabname('descriptiontab');
|
|
5113
5113
|
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom') {
|
|
@@ -5147,7 +5147,7 @@
|
|
|
5147
5147
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
5148
5148
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
5149
5149
|
});
|
|
5150
|
-
setsectionproperties(_objectSpread$
|
|
5150
|
+
setsectionproperties(_objectSpread$2o({}, secpropobj));
|
|
5151
5151
|
}, [pageindexcontext]);
|
|
5152
5152
|
React.useEffect(function () {
|
|
5153
5153
|
if (productidparam == undefined) {
|
|
@@ -5167,12 +5167,12 @@
|
|
|
5167
5167
|
}
|
|
5168
5168
|
}, [ProductInfoObj, isloaded]);
|
|
5169
5169
|
var productidassigner = function productidassigner(productid) {
|
|
5170
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
5170
|
+
var tempFetchQueriesEngineContext = _objectSpread$2o({}, FetchQueriesEngineContext);
|
|
5171
5171
|
tempFetchQueriesEngineContext.fetchproductinfo = true;
|
|
5172
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
5173
|
-
var tempfetchproductinfoObjContext = _objectSpread$
|
|
5172
|
+
setFetchQueriesEngineContext(_objectSpread$2o({}, tempFetchQueriesEngineContext));
|
|
5173
|
+
var tempfetchproductinfoObjContext = _objectSpread$2o({}, fetchproductinfoObjContext);
|
|
5174
5174
|
tempfetchproductinfoObjContext.productid = productid;
|
|
5175
|
-
setfetchproductinfoObjContext(_objectSpread$
|
|
5175
|
+
setfetchproductinfoObjContext(_objectSpread$2o({}, tempfetchproductinfoObjContext));
|
|
5176
5176
|
};
|
|
5177
5177
|
React.useEffect(function () {
|
|
5178
5178
|
if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
|
|
@@ -5209,9 +5209,9 @@
|
|
|
5209
5209
|
}
|
|
5210
5210
|
setproductimagesarray([].concat(tempproductimagesarray));
|
|
5211
5211
|
variantchecker();
|
|
5212
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5212
|
+
var tempaddtocardpayloadobj = _objectSpread$2o({}, addtocardpayloadobj);
|
|
5213
5213
|
tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext.data.data.productinfo.productid;
|
|
5214
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
5214
|
+
setaddtocardpayloadobj(_objectSpread$2o({}, tempaddtocardpayloadobj));
|
|
5215
5215
|
setRelatedProductsTagid(fetchProductInfoQueryContext.data.data.productinfo.maintagid);
|
|
5216
5216
|
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.maintagid) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.maintagid) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.length) != 0) {
|
|
5217
5217
|
GeneralAPIMutationContext.mutate({
|
|
@@ -5262,7 +5262,7 @@
|
|
|
5262
5262
|
});
|
|
5263
5263
|
variantchecker();
|
|
5264
5264
|
variantcompleting();
|
|
5265
|
-
setProductInfoObj(_objectSpread$
|
|
5265
|
+
setProductInfoObj(_objectSpread$2o({}, productarr));
|
|
5266
5266
|
};
|
|
5267
5267
|
var variantchecker = function variantchecker() {
|
|
5268
5268
|
var productarr = ProductInfoObj;
|
|
@@ -5336,16 +5336,16 @@
|
|
|
5336
5336
|
});
|
|
5337
5337
|
}
|
|
5338
5338
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
5339
|
-
setProductInfoObj(_objectSpread$
|
|
5339
|
+
setProductInfoObj(_objectSpread$2o({}, productarr));
|
|
5340
5340
|
setisloaded(true);
|
|
5341
5341
|
}
|
|
5342
5342
|
}
|
|
5343
5343
|
};
|
|
5344
5344
|
var variantcompleting = function variantcompleting() {
|
|
5345
5345
|
setvariantindexcompleted('');
|
|
5346
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5346
|
+
var tempaddtocardpayloadobj = _objectSpread$2o({}, addtocardpayloadobj);
|
|
5347
5347
|
tempaddtocardpayloadobj.variantid = '';
|
|
5348
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
5348
|
+
setaddtocardpayloadobj(_objectSpread$2o({}, tempaddtocardpayloadobj));
|
|
5349
5349
|
var productarr = ProductInfoObj;
|
|
5350
5350
|
var selectedoptionsvalues = [];
|
|
5351
5351
|
productarr.data.productinfo.productoptions.forEach(function (productoptionsitem, productoptionsindex) {
|
|
@@ -5378,7 +5378,7 @@
|
|
|
5378
5378
|
NotificationManager.warning('', 'Variant Not Found');
|
|
5379
5379
|
} else {
|
|
5380
5380
|
variantid = variantobj.variantid;
|
|
5381
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5381
|
+
var tempaddtocardpayloadobj = _objectSpread$2o({}, addtocardpayloadobj);
|
|
5382
5382
|
tempaddtocardpayloadobj.variantid = variantid;
|
|
5383
5383
|
var variantimageindex = 0;
|
|
5384
5384
|
productimagesarray === null || productimagesarray === void 0 || productimagesarray.forEach(function (tempimageitem, tempimageindex) {
|
|
@@ -5393,14 +5393,14 @@
|
|
|
5393
5393
|
}
|
|
5394
5394
|
setvariantsku(variantobj === null || variantobj === void 0 ? void 0 : variantobj.sku);
|
|
5395
5395
|
setcurrentshowingimageindex(variantimageindex);
|
|
5396
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
5396
|
+
setaddtocardpayloadobj(_objectSpread$2o({}, tempaddtocardpayloadobj));
|
|
5397
5397
|
setvariantindexcompleted(ProductVariantIndex);
|
|
5398
5398
|
setvariantindex(ProductVariantIndex);
|
|
5399
5399
|
}
|
|
5400
5400
|
}
|
|
5401
5401
|
});
|
|
5402
5402
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
5403
|
-
setProductInfoObj(_objectSpread$
|
|
5403
|
+
setProductInfoObj(_objectSpread$2o({}, productarr));
|
|
5404
5404
|
};
|
|
5405
5405
|
var addtocartfunc = function addtocartfunc(forcetocheckout) {
|
|
5406
5406
|
var runfunc = false;
|
|
@@ -5419,7 +5419,7 @@
|
|
|
5419
5419
|
}
|
|
5420
5420
|
if (runfunc == true) {
|
|
5421
5421
|
var _fetchProductInfoQuer7, _fetchProductInfoQuer8;
|
|
5422
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5422
|
+
var tempaddtocardpayloadobj = _objectSpread$2o({}, addtocardpayloadobj);
|
|
5423
5423
|
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.isproductforcedtocheckout;
|
|
5424
5424
|
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.vendorproviderid;
|
|
5425
5425
|
if (forcetocheckoutvalue != undefined) {
|
|
@@ -5443,7 +5443,7 @@
|
|
|
5443
5443
|
};
|
|
5444
5444
|
var validateextrafields = function validateextrafields() {
|
|
5445
5445
|
var _fetchProductInfoQuer15;
|
|
5446
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5446
|
+
var tempaddtocardpayloadobj = _objectSpread$2o({}, addtocardpayloadobj);
|
|
5447
5447
|
var status = false;
|
|
5448
5448
|
var reason = '';
|
|
5449
5449
|
var missingitemsfound = [];
|
|
@@ -6482,7 +6482,7 @@
|
|
|
6482
6482
|
}))), /*#__PURE__*/React__default["default"].createElement(material.Box, {
|
|
6483
6483
|
"class": "w-100 mt-5 mb-4"
|
|
6484
6484
|
}, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
6485
|
-
actions: _objectSpread$
|
|
6485
|
+
actions: _objectSpread$2o(_objectSpread$2o({}, actions), {}, {
|
|
6486
6486
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
6487
6487
|
sectionproperties: sectionproperties
|
|
6488
6488
|
})
|
|
@@ -6530,7 +6530,7 @@
|
|
|
6530
6530
|
})), tabname == 'reviewstab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6531
6531
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
6532
6532
|
}, /*#__PURE__*/React__default["default"].createElement(ProductReviews, {
|
|
6533
|
-
actions: _objectSpread$
|
|
6533
|
+
actions: _objectSpread$2o(_objectSpread$2o({}, actions), {}, {
|
|
6534
6534
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
6535
6535
|
sectionproperties: sectionproperties
|
|
6536
6536
|
})
|
|
@@ -6547,8 +6547,8 @@
|
|
|
6547
6547
|
var staticroutersidenav = {"vertical_nav_menu":"staticroutersidenav-module_vertical_nav_menu__p0mIj","sidebar_item":"staticroutersidenav-module_sidebar_item__3F9Q1","sidenav_page_name":"staticroutersidenav-module_sidenav_page_name__46AJV","sidenav_icon_cont":"staticroutersidenav-module_sidenav_icon_cont__O8YSe","metismenu_icon":"staticroutersidenav-module_metismenu_icon__EcRZ1","sidenav_active":"staticroutersidenav-module_sidenav_active__IjRo0","horizontal_nav_menu":"staticroutersidenav-module_horizontal_nav_menu__6V32S","sidebar_itemlastchild":"staticroutersidenav-module_sidebar_itemlastchild__9O187"};
|
|
6548
6548
|
styleInject(css_248z$I);
|
|
6549
6549
|
|
|
6550
|
-
function ownKeys$
|
|
6551
|
-
function _objectSpread$
|
|
6550
|
+
function ownKeys$2n(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6551
|
+
function _objectSpread$2n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2n(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6552
6552
|
var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
6553
6553
|
var _useState = React.useState(props.currentpageprops),
|
|
6554
6554
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -6584,7 +6584,7 @@
|
|
|
6584
6584
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
6585
6585
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6586
6586
|
});
|
|
6587
|
-
setsectionproperties(_objectSpread$
|
|
6587
|
+
setsectionproperties(_objectSpread$2n({}, secpropobj));
|
|
6588
6588
|
}
|
|
6589
6589
|
}, [CurrentPageId]);
|
|
6590
6590
|
var styles = {
|
|
@@ -6750,8 +6750,8 @@
|
|
|
6750
6750
|
}))))));
|
|
6751
6751
|
};
|
|
6752
6752
|
|
|
6753
|
-
function ownKeys$
|
|
6754
|
-
function _objectSpread$
|
|
6753
|
+
function ownKeys$2m(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6754
|
+
function _objectSpread$2m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2m(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6755
6755
|
var Ordershistory = function Ordershistory(props) {
|
|
6756
6756
|
var _props$actions2, _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchorderhistoryQue2, _fetchorderhistoryQue3, _fetchorderhistoryQue4, _fetchorderhistoryQue5;
|
|
6757
6757
|
var lang = props.actions.lang;
|
|
@@ -6804,9 +6804,9 @@
|
|
|
6804
6804
|
setorderindex = _useState14[1];
|
|
6805
6805
|
React.useEffect(function () {
|
|
6806
6806
|
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) == true) {
|
|
6807
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
6807
|
+
var tempFetchQueriesEngineContext = _objectSpread$2m({}, FetchQueriesEngineContext);
|
|
6808
6808
|
tempFetchQueriesEngineContext.orderhistory = true;
|
|
6809
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
6809
|
+
setFetchQueriesEngineContext(_objectSpread$2m({}, tempFetchQueriesEngineContext));
|
|
6810
6810
|
}
|
|
6811
6811
|
}, []);
|
|
6812
6812
|
var _useState15 = React.useState(''),
|
|
@@ -6827,7 +6827,7 @@
|
|
|
6827
6827
|
props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.StatePagePropertiesContext) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageobj) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageproperties) === null || _props$actions === void 0 || _props$actions.forEach(function (arrayItem, arrayindex) {
|
|
6828
6828
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6829
6829
|
});
|
|
6830
|
-
setsectionproperties(_objectSpread$
|
|
6830
|
+
setsectionproperties(_objectSpread$2m({}, secpropobj));
|
|
6831
6831
|
}, [props === null || props === void 0 || (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
6832
6832
|
var orderhistory_cssstyles = {
|
|
6833
6833
|
variantcontainer: glamor.css({
|
|
@@ -7774,22 +7774,24 @@
|
|
|
7774
7774
|
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))))))))))))));
|
|
7775
7775
|
};
|
|
7776
7776
|
|
|
7777
|
-
var css_248z$H = ".wishlist-module_wishlist_card__sUXul .wishlist-module_image_container__FuptA {\n height: 300px
|
|
7777
|
+
var css_248z$H = ".wishlist-module_wishlist_card__sUXul .wishlist-module_image_container__FuptA {\n /* height: 300px; */\n border-radius: 10px;\n background-size: cover !important;\n background-repeat: no-repeat;\n background-position: center;\n background-color: #e6e6e6;\n width: 100% !important;\n /* box-shadow: 0 0 10px #e6e6e6; */\n}\n.wishlist-module_floatbtn__PZDvQ {\n position: absolute;\n top: 10px;\n right: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: 0.3s;\n /* opacity: 0; */\n}\n.wishlist-module_wishlist_card__sUXul:hover .wishlist-module_floatbtn__PZDvQ {\n opacity: 1;\n}\n@media screen and (max-width: 800px) {\n .wishlist-module_floatbtn__PZDvQ {\n opacity: 1 !important;\n }\n}\n";
|
|
7778
7778
|
var wishliststyles = {"wishlist_card":"wishlist-module_wishlist_card__sUXul","image_container":"wishlist-module_image_container__FuptA","floatbtn":"wishlist-module_floatbtn__PZDvQ"};
|
|
7779
7779
|
styleInject(css_248z$H);
|
|
7780
7780
|
|
|
7781
|
-
function ownKeys$
|
|
7782
|
-
function _objectSpread$
|
|
7781
|
+
function ownKeys$2l(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7782
|
+
function _objectSpread$2l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2l(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7783
7783
|
var Wishlist = function Wishlist(props) {
|
|
7784
7784
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
7785
|
-
|
|
7785
|
+
props.actions.lang;
|
|
7786
7786
|
var langdetect = props.actions.langdetect;
|
|
7787
|
+
var routingcountext = props.actions.routingcountext;
|
|
7787
7788
|
var fetchFavoriteProductsQueryContext = props.actions.fetchFavoriteProductsQueryContext;
|
|
7788
7789
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
7789
7790
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
7790
7791
|
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
7791
7792
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
7792
7793
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
7794
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
7793
7795
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
7794
7796
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
7795
7797
|
var actions = props.actions;
|
|
@@ -7801,19 +7803,20 @@
|
|
|
7801
7803
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
7802
7804
|
bgimagesarray = _useState4[0],
|
|
7803
7805
|
setbgimagesarray = _useState4[1];
|
|
7806
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
7804
7807
|
React.useEffect(function () {
|
|
7805
7808
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
7806
7809
|
var secpropobj = {};
|
|
7807
7810
|
StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
7808
7811
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
7809
7812
|
});
|
|
7810
|
-
setsectionproperties(_objectSpread$
|
|
7813
|
+
setsectionproperties(_objectSpread$2l({}, secpropobj));
|
|
7811
7814
|
}
|
|
7812
7815
|
}, [StatePagePropertiesContext]);
|
|
7813
7816
|
React.useEffect(function () {
|
|
7814
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
7817
|
+
var tempFetchQueriesEngineContext = _objectSpread$2l({}, FetchQueriesEngineContext);
|
|
7815
7818
|
tempFetchQueriesEngineContext.fetchfavoriteproducts = true;
|
|
7816
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
7819
|
+
setFetchQueriesEngineContext(_objectSpread$2l({}, tempFetchQueriesEngineContext));
|
|
7817
7820
|
}, []);
|
|
7818
7821
|
React.useEffect(function () {
|
|
7819
7822
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
@@ -7822,7 +7825,7 @@
|
|
|
7822
7825
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
7823
7826
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
7824
7827
|
});
|
|
7825
|
-
setsectionproperties(_objectSpread$
|
|
7828
|
+
setsectionproperties(_objectSpread$2l({}, secpropobj));
|
|
7826
7829
|
}
|
|
7827
7830
|
}, [StatePagePropertiesContext]);
|
|
7828
7831
|
var wishlist_cssstyles = {
|
|
@@ -7853,22 +7856,23 @@
|
|
|
7853
7856
|
cart_btn: glamor.css({
|
|
7854
7857
|
width: sectionproperties.cartBtnWidth + 'px',
|
|
7855
7858
|
height: sectionproperties.cartBtnHeight + 'px',
|
|
7856
|
-
background: sectionproperties.
|
|
7859
|
+
background: sectionproperties.cartBtnbgColor,
|
|
7857
7860
|
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
7858
7861
|
color: sectionproperties.cartBtnTextcolor,
|
|
7859
7862
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
7860
7863
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
7861
7864
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
7865
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
7862
7866
|
transition: '.3s',
|
|
7863
7867
|
':hover': {
|
|
7864
|
-
background: sectionproperties.
|
|
7868
|
+
background: sectionproperties.cartBtnbgColoronhover,
|
|
7865
7869
|
color: sectionproperties.cartBtnTextcoloronhover,
|
|
7866
7870
|
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
7867
7871
|
}
|
|
7868
7872
|
}),
|
|
7869
7873
|
trash_btn: glamor.css({
|
|
7870
|
-
width: sectionproperties.trashbtn_Width + 'px',
|
|
7871
|
-
height: sectionproperties.trashbtn_Height + 'px',
|
|
7874
|
+
width: sectionproperties.trashbtn_Width == 0 ? 'auto' : sectionproperties.trashbtn_Width + 'px',
|
|
7875
|
+
height: sectionproperties.trashbtn_Height == 0 ? 'auto' : sectionproperties.trashbtn_Height + 'px',
|
|
7872
7876
|
background: sectionproperties.trashbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.trashbtn_bgColor,
|
|
7873
7877
|
color: sectionproperties.trashbtn_Textcolor,
|
|
7874
7878
|
borderRadius: sectionproperties.trashbtn_borderBottomLeftRadius + 'px',
|
|
@@ -7880,20 +7884,13 @@
|
|
|
7880
7884
|
}
|
|
7881
7885
|
}),
|
|
7882
7886
|
imagecont: glamor.css({
|
|
7883
|
-
width: '
|
|
7884
|
-
height: '
|
|
7885
|
-
border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
|
|
7887
|
+
width: '100px',
|
|
7888
|
+
height: '90px',
|
|
7886
7889
|
backgroundColor: sectionproperties.prodimage_bgcolor,
|
|
7887
|
-
|
|
7888
|
-
borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
|
|
7889
|
-
borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
|
|
7890
|
-
borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
|
|
7890
|
+
borderRadius: sectionproperties.productimageborderradius + 'px',
|
|
7891
7891
|
display: 'flex',
|
|
7892
7892
|
alignItems: 'center',
|
|
7893
7893
|
justifyContent: 'center',
|
|
7894
|
-
backgroundRepeat: 'no-repeat',
|
|
7895
|
-
backgroundSize: 'cover',
|
|
7896
|
-
backgroundPosition: 'center',
|
|
7897
7894
|
position: 'relative'
|
|
7898
7895
|
}),
|
|
7899
7896
|
containerstyle: glamor.css({
|
|
@@ -7903,6 +7900,26 @@
|
|
|
7903
7900
|
'@media (max-width: 800px)': {
|
|
7904
7901
|
marginTop: sectionproperties.marginTopResp + 'px'
|
|
7905
7902
|
}
|
|
7903
|
+
}),
|
|
7904
|
+
btnstyles: glamor.css({
|
|
7905
|
+
width: sectionproperties.generalbtn_width + '%',
|
|
7906
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
7907
|
+
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
7908
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
7909
|
+
color: sectionproperties.generalbtn_textColor,
|
|
7910
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
7911
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
7912
|
+
':hover': {
|
|
7913
|
+
transition: '.3s',
|
|
7914
|
+
color: sectionproperties.generalbtn_textColoronhover,
|
|
7915
|
+
backgroundColor: sectionproperties.generalbtn_bgColoronhover
|
|
7916
|
+
},
|
|
7917
|
+
'@media (max-width: 800px)': {
|
|
7918
|
+
width: '80%'
|
|
7919
|
+
},
|
|
7920
|
+
prodimage: glamor.css({
|
|
7921
|
+
height: sectionproperties.prodimage_height
|
|
7922
|
+
})
|
|
7906
7923
|
})
|
|
7907
7924
|
};
|
|
7908
7925
|
React.useEffect(function () {
|
|
@@ -7917,7 +7934,9 @@
|
|
|
7917
7934
|
}, [sectionproperties]);
|
|
7918
7935
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7919
7936
|
className: wishlist_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 ',
|
|
7920
|
-
style: {
|
|
7937
|
+
style: {
|
|
7938
|
+
minHeight: '60vh'
|
|
7939
|
+
}
|
|
7921
7940
|
}, sectionproperties.showbgimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7922
7941
|
className: "col-lg-12 p-0 d-flex justify-content-center",
|
|
7923
7942
|
style: {
|
|
@@ -7953,10 +7972,7 @@
|
|
|
7953
7972
|
margin: 0,
|
|
7954
7973
|
padding: 0,
|
|
7955
7974
|
background: sectionproperties.image_bgcolor,
|
|
7956
|
-
|
|
7957
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
7958
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
7959
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
7975
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
7960
7976
|
zIndex: -1,
|
|
7961
7977
|
objectFit: sectionproperties.bgcovercontain
|
|
7962
7978
|
}
|
|
@@ -7972,45 +7988,19 @@
|
|
|
7972
7988
|
padding: 0,
|
|
7973
7989
|
objectFit: sectionproperties.bgcovercontainresponsive,
|
|
7974
7990
|
background: sectionproperties.image_bgcolor,
|
|
7975
|
-
|
|
7976
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
7977
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
7978
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
7991
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
7979
7992
|
zIndex: -1
|
|
7980
7993
|
}
|
|
7981
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7982
|
-
className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
|
|
7983
|
-
style: {
|
|
7984
|
-
position: 'absolute',
|
|
7985
|
-
top: 0,
|
|
7986
|
-
right: 0,
|
|
7987
|
-
bottom: 0,
|
|
7988
|
-
left: 0
|
|
7989
|
-
}
|
|
7990
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7991
|
-
className: ' m-0 p-0 ',
|
|
7992
|
-
style: {
|
|
7993
|
-
fontSize: sectionproperties.imagetextfontsize + 'px',
|
|
7994
|
-
color: sectionproperties.imagetextcolor,
|
|
7995
|
-
textTransform: sectionproperties.imagetexttextTransform,
|
|
7996
|
-
fontWeight: sectionproperties.imagetextfontWeight
|
|
7997
|
-
}
|
|
7998
|
-
}, lang.mywishlist)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7994
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7999
7995
|
className: "col-lg-12 p-0"
|
|
8000
7996
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8001
7997
|
className: 'row ml-0 mr-0 d-flex justify-content-center w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
|
|
8002
7998
|
style: {
|
|
8003
|
-
|
|
8004
|
-
|
|
8005
|
-
paddingRight: sectionproperties.paddingRight + 'px',
|
|
7999
|
+
paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
|
|
8000
|
+
paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
|
|
8006
8001
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
8007
8002
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
8008
|
-
|
|
8009
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
8010
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
8011
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
8012
|
-
borderColor: sectionproperties.sectioncardbordercolor,
|
|
8013
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
8003
|
+
borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
|
|
8014
8004
|
}
|
|
8015
8005
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8016
8006
|
className: 'col-lg-12 p-0'
|
|
@@ -8020,42 +8010,137 @@
|
|
|
8020
8010
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8021
8011
|
className: 'col-lg-12 p-0'
|
|
8022
8012
|
}, fetchFavoriteProductsQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8023
|
-
className: "w-100
|
|
8013
|
+
className: "row m-0 w-100 align-items-center justify-content-center",
|
|
8014
|
+
style: {
|
|
8015
|
+
height: '50vh',
|
|
8016
|
+
padding: '20px'
|
|
8017
|
+
}
|
|
8018
|
+
}, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8019
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
8020
|
+
style: {
|
|
8021
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
8022
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
8023
|
+
}
|
|
8024
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8025
|
+
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
8026
|
+
style: {
|
|
8027
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8028
|
+
color: sectionproperties.sectionTitleColor,
|
|
8029
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8030
|
+
}
|
|
8031
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8032
|
+
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
8033
|
+
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
8034
|
+
className: 'table'
|
|
8035
|
+
}, /*#__PURE__*/React__default["default"].createElement("thead", {
|
|
8036
|
+
className: ""
|
|
8037
|
+
}, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8038
|
+
className: 'mw-150 mw-md-300'
|
|
8039
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8040
|
+
"class": "my-1 is-loading"
|
|
8041
|
+
})), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8042
|
+
className: "text-center",
|
|
8043
|
+
style: {
|
|
8044
|
+
minWidth: '100px'
|
|
8045
|
+
}
|
|
8046
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8047
|
+
"class": "my-1 is-loading"
|
|
8048
|
+
})), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8049
|
+
className: "text-center"
|
|
8050
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8051
|
+
"class": "my-1 is-loading"
|
|
8052
|
+
}))), /*#__PURE__*/React__default["default"].createElement("tbody", null, _toConsumableArray__default["default"](Array(3)).map(function (item, index) {
|
|
8053
|
+
return /*#__PURE__*/React__default["default"].createElement("tr", {
|
|
8054
|
+
className: ""
|
|
8055
|
+
}, /*#__PURE__*/React__default["default"].createElement("td", {
|
|
8056
|
+
className: "mw-150 mw-md-300"
|
|
8057
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8058
|
+
"class": "my-1 is-loading"
|
|
8059
|
+
})), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
8060
|
+
className: "text-center",
|
|
8061
|
+
style: {
|
|
8062
|
+
minWidth: '100px'
|
|
8063
|
+
}
|
|
8064
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8065
|
+
"class": "my-1 is-loading"
|
|
8066
|
+
})), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
8067
|
+
className: "text-center",
|
|
8068
|
+
style: {
|
|
8069
|
+
minWidth: '100px'
|
|
8070
|
+
}
|
|
8071
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8072
|
+
"class": "my-1 is-loading"
|
|
8073
|
+
})));
|
|
8074
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8075
|
+
"class": "col-lg-12 p-0 d-none d-md-flex"
|
|
8076
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8077
|
+
className: "row m-0 w-100 align-items-center justify-content-center",
|
|
8024
8078
|
style: {
|
|
8025
8079
|
height: '50vh'
|
|
8026
8080
|
}
|
|
8027
|
-
},
|
|
8028
|
-
|
|
8029
|
-
|
|
8030
|
-
|
|
8031
|
-
|
|
8032
|
-
|
|
8033
|
-
|
|
8081
|
+
}, _toConsumableArray__default["default"](Array(3)).map(function (item, index) {
|
|
8082
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8083
|
+
"class": "col-lg-12 p-0"
|
|
8084
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8085
|
+
"class": "row m-0 w-100"
|
|
8086
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8087
|
+
className: ' col-3 p-0 '
|
|
8088
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8089
|
+
className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 is-loading image '
|
|
8090
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8091
|
+
className: "col-9 pt-2"
|
|
8092
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8093
|
+
"class": "row m-0 w-100 d-flex"
|
|
8094
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8095
|
+
"class": "col-10 p-0 mb-1"
|
|
8096
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8097
|
+
className: ' m-0 p-0 is-loading mb-auto '
|
|
8098
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8099
|
+
"class": "col-lg-12 p-0"
|
|
8100
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8101
|
+
"class": ' m-0 p-0 is-loading '
|
|
8102
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8103
|
+
"class": "col-lg-12 allcentered p-0 mt-4"
|
|
8104
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8105
|
+
className: ' w-100 is-loading ',
|
|
8106
|
+
style: {
|
|
8107
|
+
height: sectionproperties.cartBtnHeight + 'px'
|
|
8108
|
+
}
|
|
8109
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8110
|
+
"class": "col-lg-12 p-0 my-3",
|
|
8111
|
+
style: {
|
|
8112
|
+
background: '#eee',
|
|
8113
|
+
height: 1,
|
|
8114
|
+
width: '100%'
|
|
8115
|
+
}
|
|
8116
|
+
})));
|
|
8117
|
+
})))), !fetchFavoriteProductsQueryContext.isFetching && fetchFavoriteProductsQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8118
|
+
className: "row m-0 w-100 "
|
|
8034
8119
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8035
8120
|
className: 'col-lg-12 d-flex w-100 p-0'
|
|
8036
|
-
}, sectionproperties.pagedesign == 'Design 1 (Cards)' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8121
|
+
}, sectionproperties.pagedesign == 'Design 1 (Cards)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8037
8122
|
className: 'row m-0 d-flex justify-content-center w-100',
|
|
8038
8123
|
style: {
|
|
8039
8124
|
background: sectionproperties.reservation_bgcolor,
|
|
8040
|
-
border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor,
|
|
8041
8125
|
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
8042
8126
|
padding: '20px',
|
|
8043
8127
|
minHeight: '70vh'
|
|
8044
8128
|
}
|
|
8045
8129
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8046
|
-
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0",
|
|
8047
|
-
style: {
|
|
8048
|
-
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
8049
|
-
}
|
|
8050
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8130
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 mb-3",
|
|
8051
8131
|
style: {
|
|
8052
8132
|
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8053
8133
|
color: sectionproperties.sectionTitleColor,
|
|
8054
8134
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8055
8135
|
}
|
|
8056
|
-
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar
|
|
8057
|
-
className: "
|
|
8058
|
-
|
|
8136
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8137
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0",
|
|
8138
|
+
style: {
|
|
8139
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
8140
|
+
color: sectionproperties.badge_color,
|
|
8141
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
8142
|
+
}
|
|
8143
|
+
}, fetchFavoriteProductsQueryContext.data.data.products.length, " Item(s)"), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8059
8144
|
className: ' col-lg-12 co-md-12 p-0 '
|
|
8060
8145
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8061
8146
|
className: "row m-0 w-100"
|
|
@@ -8063,116 +8148,163 @@
|
|
|
8063
8148
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8064
8149
|
className: "col-lg-3 col-md-6 col-sm-12 mb-5"
|
|
8065
8150
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8066
|
-
className: "".concat(wishliststyles.wishlist_card) + ' row m-0 w-100 '
|
|
8151
|
+
className: "".concat(wishliststyles.wishlist_card) + ' row m-0 w-100 ',
|
|
8152
|
+
onClick: function onClick() {
|
|
8153
|
+
setShowProductInfoModalContext(true);
|
|
8154
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
8155
|
+
}
|
|
8067
8156
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8068
8157
|
className: "col-lg-12 d-flex align-items-center justify-content-center p-0"
|
|
8069
8158
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8070
|
-
className: "".concat(wishliststyles.image_container)
|
|
8159
|
+
className: "".concat(wishliststyles.image_container).concat(wishlist_cssstyles.prodimage)
|
|
8071
8160
|
// style={{ backgroundImage: `url(${serverbaselink + item.productmainimage})` }}
|
|
8072
8161
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
8073
8162
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
8074
8163
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
8075
|
-
path: item.productmainimage,
|
|
8164
|
+
path: '/tr:w-' + sectionproperties.prodimage__width + ',h-' + sectionproperties.prodimage__height + '/' + item.productmainimage,
|
|
8076
8165
|
style: {
|
|
8077
8166
|
width: '100%',
|
|
8078
8167
|
height: '100%',
|
|
8079
|
-
objectFit: '
|
|
8168
|
+
objectFit: 'contain'
|
|
8080
8169
|
},
|
|
8081
8170
|
loading: "lazy"
|
|
8082
8171
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8083
8172
|
className: "".concat(wishliststyles.floatbtn, " ").concat(wishlist_cssstyles.trash_btn),
|
|
8084
|
-
onClick: function onClick() {
|
|
8173
|
+
onClick: function onClick(e) {
|
|
8174
|
+
e.stopPropagation();
|
|
8085
8175
|
addtofavoritescontext(item.productid);
|
|
8086
8176
|
}
|
|
8087
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
8177
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
8088
8178
|
size: sectionproperties.trashbtn_Textfontsize
|
|
8089
8179
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8090
8180
|
className: "col-lg-12 d-flex align-items-center justify-content-center mt-3 mb-3"
|
|
8091
8181
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8092
8182
|
className: "".concat(wishlist_cssstyles.productNameStyles) + ' wordbreak text-center m-0 p-0 d-flex align-items-center justify-content-center '
|
|
8093
|
-
}, langdetect == 'en' ? item.name_en : item.name_ar)),
|
|
8183
|
+
}, langdetect == 'en' ? item.name_en : item.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8184
|
+
className: "col-lg-12 d-flex align-items-center justify-content-center mt-3 mb-3 flex-row"
|
|
8185
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8186
|
+
"class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
8187
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8188
|
+
"class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mt-2 '
|
|
8189
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : '')), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8094
8190
|
className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
8095
8191
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8096
8192
|
className: " ".concat(wishlist_cssstyles.cart_btn),
|
|
8097
|
-
onClick: function onClick() {
|
|
8098
|
-
setShowProductInfoModalContext(true);
|
|
8099
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
8100
|
-
},
|
|
8101
8193
|
style: {
|
|
8102
|
-
fontSize: sectionproperties.cartBtnTextfontsize + 'px'
|
|
8194
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
8195
|
+
width: sectionproperties.cartBtnWidth + '%'
|
|
8103
8196
|
}
|
|
8104
8197
|
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
|
|
8105
|
-
})), fetchFavoriteProductsQueryContext.data.data.products.length
|
|
8106
|
-
className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100",
|
|
8107
|
-
style: {
|
|
8108
|
-
height: '50vh'
|
|
8109
|
-
}
|
|
8110
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8111
|
-
className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
|
|
8112
|
-
}, /*#__PURE__*/React__default["default"].createElement(BiSad.BiSad, {
|
|
8113
|
-
size: sectionproperties.noprod_iconfontSize,
|
|
8114
|
-
color: sectionproperties.noprod_iconcolor
|
|
8115
|
-
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8116
|
-
"class": "m-0 p-0 mt-2",
|
|
8117
|
-
style: {
|
|
8118
|
-
fontWeight: sectionproperties.noprod_fontWeight,
|
|
8119
|
-
color: sectionproperties.noprod_color,
|
|
8120
|
-
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
8121
|
-
}
|
|
8122
|
-
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))))), sectionproperties.pagedesign == 'Design 2 (Table)' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8198
|
+
})))), sectionproperties.pagedesign == 'Design 2 (Table)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8123
8199
|
className: ' row m-0 w-100 p-sm-3 ',
|
|
8124
8200
|
style: {
|
|
8125
|
-
background: sectionproperties.reservation_bgcolor,
|
|
8126
|
-
border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor,
|
|
8127
|
-
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
8128
8201
|
padding: '20px',
|
|
8129
8202
|
minHeight: '70vh'
|
|
8130
8203
|
}
|
|
8131
8204
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8132
|
-
className: '
|
|
8133
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
8134
|
-
className:
|
|
8135
|
-
}, /*#__PURE__*/React__default["default"].createElement("thead", {
|
|
8136
|
-
className: "",
|
|
8205
|
+
className: ' row m-0 w-100 d-block '
|
|
8206
|
+
}, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8207
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
8137
8208
|
style: {
|
|
8138
|
-
|
|
8209
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
8210
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
8139
8211
|
}
|
|
8140
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
8141
|
-
|
|
8142
|
-
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8143
|
-
className: "text-center font-weight-500 font-14 text-light",
|
|
8212
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8213
|
+
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
8144
8214
|
style: {
|
|
8145
|
-
|
|
8215
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8216
|
+
color: sectionproperties.sectionTitleColor,
|
|
8217
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8218
|
+
}
|
|
8219
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8220
|
+
className: ' col-lg-12 table_responsive p-0 d-block d-md-none '
|
|
8221
|
+
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
8222
|
+
className: 'table'
|
|
8223
|
+
}, /*#__PURE__*/React__default["default"].createElement("thead", {
|
|
8224
|
+
className: ""
|
|
8225
|
+
}, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8226
|
+
className: langdetect == 'en' ? 'text-left font-weight-500 font-14 mw-150 mw-md-300' : 'text-right font-weight-500 font-14 mw-150 mw-md-300',
|
|
8227
|
+
style: {
|
|
8228
|
+
color: sectionproperties.sectionTitleColor,
|
|
8229
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor
|
|
8230
|
+
}
|
|
8231
|
+
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8232
|
+
className: "text-center font-weight-500 font-14",
|
|
8233
|
+
style: {
|
|
8234
|
+
minWidth: '100px',
|
|
8235
|
+
color: sectionproperties.sectionTitleColor,
|
|
8236
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor
|
|
8237
|
+
}
|
|
8238
|
+
}, langdetect == 'en' ? 'Unit Price' : 'السعر'), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8239
|
+
className: "text-center font-weight-500 font-14",
|
|
8240
|
+
style: {
|
|
8241
|
+
minWidth: '100px',
|
|
8242
|
+
color: sectionproperties.sectionTitleColor,
|
|
8243
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor
|
|
8244
|
+
}
|
|
8245
|
+
}), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8246
|
+
className: "text-center font-weight-500 font-14",
|
|
8247
|
+
style: {
|
|
8248
|
+
color: sectionproperties.sectionTitleColor,
|
|
8249
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor
|
|
8146
8250
|
}
|
|
8147
|
-
}
|
|
8148
|
-
className: "text-center font-weight-500 font-14 text-light"
|
|
8149
|
-
}, lang.remove)), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
|
|
8251
|
+
})), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
|
|
8150
8252
|
return /*#__PURE__*/React__default["default"].createElement("tr", {
|
|
8151
8253
|
className: "border-none"
|
|
8152
8254
|
}, /*#__PURE__*/React__default["default"].createElement("td", {
|
|
8153
|
-
className: "mw-150 mw-md-300"
|
|
8255
|
+
className: "mw-150 mw-md-300",
|
|
8256
|
+
style: {
|
|
8257
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor
|
|
8258
|
+
}
|
|
8154
8259
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8155
8260
|
className: "row m-0 w-100 d-flex"
|
|
8156
8261
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8157
8262
|
className: "".concat(wishlist_cssstyles.imagecont)
|
|
8158
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
8263
|
+
}, item.productmainimage != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
8159
8264
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
8160
8265
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
8161
8266
|
path: item.productmainimage,
|
|
8162
8267
|
style: {
|
|
8163
8268
|
width: '100%',
|
|
8164
8269
|
height: '100%',
|
|
8165
|
-
objectFit: '
|
|
8270
|
+
objectFit: 'contain'
|
|
8166
8271
|
},
|
|
8167
8272
|
loading: "lazy"
|
|
8168
|
-
})
|
|
8169
|
-
|
|
8273
|
+
}), item.productmainimage == '' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8274
|
+
style: {
|
|
8275
|
+
width: '100%',
|
|
8276
|
+
height: '100%',
|
|
8277
|
+
background: '#eee',
|
|
8278
|
+
borderRadius: 10
|
|
8279
|
+
}
|
|
8280
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8281
|
+
"class": "h-100 allcentered text-light"
|
|
8282
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
8283
|
+
size: 26
|
|
8284
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8285
|
+
className: "col-lg-9 col-md-9 col-sm-8 pt-2"
|
|
8170
8286
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8171
|
-
className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3
|
|
8172
|
-
|
|
8287
|
+
className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
|
|
8288
|
+
style: {
|
|
8289
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8290
|
+
}
|
|
8291
|
+
}, item.name_en)))), sectionproperties.prodPriceShow = /*#__PURE__*/React__default["default"].createElement("td", {
|
|
8173
8292
|
className: "text-center",
|
|
8174
8293
|
style: {
|
|
8175
|
-
minWidth: '100px'
|
|
8294
|
+
minWidth: '100px',
|
|
8295
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor
|
|
8296
|
+
}
|
|
8297
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8298
|
+
"class": "row m-0 w-100 allcentered flex-column"
|
|
8299
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8300
|
+
"class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
8301
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8302
|
+
"class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mt-2 '
|
|
8303
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("td", {
|
|
8304
|
+
className: "text-center",
|
|
8305
|
+
style: {
|
|
8306
|
+
minWidth: '100px',
|
|
8307
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor
|
|
8176
8308
|
}
|
|
8177
8309
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8178
8310
|
className: "".concat(wishlist_cssstyles.cart_btn),
|
|
@@ -8180,29 +8312,11 @@
|
|
|
8180
8312
|
setShowProductInfoModalContext(true);
|
|
8181
8313
|
setProductIdProdutInfoModalContext(item.productid);
|
|
8182
8314
|
}
|
|
8183
|
-
},
|
|
8184
|
-
className: "",
|
|
8185
|
-
|
|
8186
|
-
|
|
8187
|
-
|
|
8188
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
8189
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
8190
|
-
className: "",
|
|
8191
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
8192
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
|
|
8193
|
-
className: "",
|
|
8194
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
8195
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
8196
|
-
className: "",
|
|
8197
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
8198
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
8199
|
-
className: "",
|
|
8200
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
8201
|
-
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
8202
|
-
className: "",
|
|
8203
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
8204
|
-
}))), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
8205
|
-
className: "text-center"
|
|
8315
|
+
}, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
8316
|
+
className: "text-center",
|
|
8317
|
+
style: {
|
|
8318
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor
|
|
8319
|
+
}
|
|
8206
8320
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8207
8321
|
className: " ".concat(wishlist_cssstyles.trash_btn) + ' d-flex align-items-center justify-content-center text-uppercase font-weight-500 m-auto ',
|
|
8208
8322
|
onClick: function onClick() {
|
|
@@ -8211,28 +8325,127 @@
|
|
|
8211
8325
|
style: {
|
|
8212
8326
|
fontSize: sectionproperties.trashbtn_Textfontsize + 'px'
|
|
8213
8327
|
}
|
|
8214
|
-
},
|
|
8215
|
-
|
|
8216
|
-
|
|
8328
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
8329
|
+
size: sectionproperties.trashbtn_Textfontsize
|
|
8330
|
+
}))));
|
|
8331
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8332
|
+
className: ' col-lg-12 p-0 d-none d-md-flex align-items-center justify-content-start '
|
|
8217
8333
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8218
|
-
className: '
|
|
8219
|
-
},
|
|
8220
|
-
|
|
8221
|
-
|
|
8222
|
-
|
|
8223
|
-
|
|
8334
|
+
className: ' row m-0 w-100 d-flex align-items-center justify-content-start '
|
|
8335
|
+
}, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
|
|
8336
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8337
|
+
"class": "col-lg-12 p-0"
|
|
8338
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8339
|
+
"class": "row m-0 w-100"
|
|
8340
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8341
|
+
className: ' col-3 p-0 '
|
|
8342
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8343
|
+
className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 '
|
|
8344
|
+
}, item.productmainimage != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
8345
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
8346
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
8347
|
+
path: item.productmainimage,
|
|
8348
|
+
style: {
|
|
8349
|
+
width: '100%',
|
|
8350
|
+
height: '100%',
|
|
8351
|
+
objectFit: 'contain'
|
|
8352
|
+
},
|
|
8353
|
+
loading: "lazy"
|
|
8354
|
+
}), item.productmainimage == '' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8355
|
+
style: {
|
|
8356
|
+
width: '100%',
|
|
8357
|
+
height: '100%',
|
|
8358
|
+
background: '#eee',
|
|
8359
|
+
borderRadius: 10
|
|
8360
|
+
}
|
|
8361
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8362
|
+
"class": "h-100 allcentered text-light"
|
|
8363
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
8364
|
+
size: 26
|
|
8365
|
+
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8366
|
+
className: "col-9 pt-2"
|
|
8367
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8368
|
+
"class": "row m-0 w-100 d-flex"
|
|
8369
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8370
|
+
"class": "col-10 p-0 d-flex align-items-center justify-content-start"
|
|
8371
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8372
|
+
className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
|
|
8373
|
+
style: {
|
|
8374
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8375
|
+
}
|
|
8376
|
+
}, item.name_en)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8377
|
+
"class": "col-2 p-0 d-flex align-items-center justify-content-end"
|
|
8378
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8379
|
+
className: " ".concat(wishlist_cssstyles.trash_btnresp) + ' allcentered ',
|
|
8380
|
+
onClick: function onClick() {
|
|
8381
|
+
addtofavoritescontext(item.productid);
|
|
8382
|
+
}
|
|
8383
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
8384
|
+
size: sectionproperties.trashbtn_Textfontsize
|
|
8385
|
+
}))), sectionproperties.prodPriceShow = /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8386
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
8387
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8388
|
+
"class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
8389
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8390
|
+
"class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mx-2 mt-auto '
|
|
8391
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : '')))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8392
|
+
"class": "col-lg-12 allcentered p-0 mt-4"
|
|
8393
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8394
|
+
className: "".concat(wishlist_cssstyles.cart_btn) + ' w-100 ',
|
|
8395
|
+
onClick: function onClick() {
|
|
8396
|
+
setShowProductInfoModalContext(true);
|
|
8397
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
8398
|
+
}
|
|
8399
|
+
}, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8400
|
+
"class": "col-lg-12 p-0 my-3",
|
|
8401
|
+
style: {
|
|
8402
|
+
background: '#eee',
|
|
8403
|
+
height: 1,
|
|
8404
|
+
width: '100%'
|
|
8405
|
+
}
|
|
8406
|
+
})));
|
|
8407
|
+
}))))), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8408
|
+
className: "row m-0 w-100 d-flex justify-content-center pb-5",
|
|
8409
|
+
style: {
|
|
8410
|
+
maxHeight: '60vh',
|
|
8411
|
+
padding: '20px'
|
|
8412
|
+
}
|
|
8413
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8414
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
8415
|
+
style: {
|
|
8416
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
8417
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
8418
|
+
}
|
|
8419
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8420
|
+
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
8421
|
+
style: {
|
|
8422
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8423
|
+
color: sectionproperties.sectionTitleColor,
|
|
8424
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8425
|
+
}
|
|
8426
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8427
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-3 '
|
|
8428
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8429
|
+
"class": sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2',
|
|
8224
8430
|
style: {
|
|
8225
8431
|
fontWeight: sectionproperties.noprod_fontWeight,
|
|
8226
8432
|
color: sectionproperties.noprod_color,
|
|
8227
8433
|
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
8228
8434
|
}
|
|
8229
|
-
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))
|
|
8435
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8436
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-5 '
|
|
8437
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8438
|
+
"class": "".concat(wishlist_cssstyles.btnstyles),
|
|
8439
|
+
onClick: function onClick() {
|
|
8440
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
8441
|
+
}
|
|
8442
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8230
8443
|
className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
8231
8444
|
})));
|
|
8232
8445
|
};
|
|
8233
8446
|
|
|
8234
|
-
function ownKeys$
|
|
8235
|
-
function _objectSpread$
|
|
8447
|
+
function ownKeys$2k(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
8448
|
+
function _objectSpread$2k(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2k(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2k(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8236
8449
|
var Viewcart = function Viewcart(props) {
|
|
8237
8450
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8;
|
|
8238
8451
|
var lang = props.actions.lang;
|
|
@@ -8264,7 +8477,7 @@
|
|
|
8264
8477
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
8265
8478
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
8266
8479
|
});
|
|
8267
|
-
setsectionproperties(_objectSpread$
|
|
8480
|
+
setsectionproperties(_objectSpread$2k({}, secpropobj));
|
|
8268
8481
|
}
|
|
8269
8482
|
}, [StatePagePropertiesContext]);
|
|
8270
8483
|
React.useEffect(function () {
|
|
@@ -8852,8 +9065,8 @@
|
|
|
8852
9065
|
var formstyles = {"form_control":"form-module_form_control__4-RGw","textarea":"form-module_textarea__zG0ed","form_control_border_none":"form-module_form_control_border_none__TJvdZ","disabled":"form-module_disabled__AtvSI","input_label_name":"form-module_input_label_name__416wN","input_label_name-bolder":"form-module_input_label_name-bolder__UQn0a","input_icon":"form-module_input_icon__X-CzC","radiobtn_label":"form-module_radiobtn_label__-4Hoi","text-grey":"form-module_text-grey__JdZMY","radiobtn_label_translated":"form-module_radiobtn_label_translated__WN5Jj","checkbox":"form-module_checkbox__XPkWy","checkbox_label":"form-module_checkbox_label__VvcKs","checkbox_sub":"form-module_checkbox_sub__QWYil","checkboxtranslated":"form-module_checkboxtranslated__zvEV-"};
|
|
8853
9066
|
styleInject(css_248z$G);
|
|
8854
9067
|
|
|
8855
|
-
function ownKeys$
|
|
8856
|
-
function _objectSpread$
|
|
9068
|
+
function ownKeys$2j(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9069
|
+
function _objectSpread$2j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2j(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8857
9070
|
var Select$3 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
8858
9071
|
return import('react-select');
|
|
8859
9072
|
});
|
|
@@ -8912,7 +9125,7 @@
|
|
|
8912
9125
|
props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.StatePagePropertiesContext) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageobj) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageproperties) === null || _props$actions === void 0 || _props$actions.forEach(function (arrayItem, arrayindex) {
|
|
8913
9126
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
8914
9127
|
});
|
|
8915
|
-
setsectionproperties(_objectSpread$
|
|
9128
|
+
setsectionproperties(_objectSpread$2j({}, secpropobj));
|
|
8916
9129
|
}, [props.actions.StatePagePropertiesContext]);
|
|
8917
9130
|
React.useEffect(function () {
|
|
8918
9131
|
var Canorder = false;
|
|
@@ -8932,10 +9145,10 @@
|
|
|
8932
9145
|
}
|
|
8933
9146
|
if (Canorder == true) {
|
|
8934
9147
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7;
|
|
8935
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
9148
|
+
var tempFetchQueriesEngineContext = _objectSpread$2j({}, FetchQueriesEngineContext);
|
|
8936
9149
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
8937
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
8938
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
9150
|
+
setFetchQueriesEngineContext(_objectSpread$2j({}, tempFetchQueriesEngineContext));
|
|
9151
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2j({}, FetchTabexStatesPayloadobjContext);
|
|
8939
9152
|
if (
|
|
8940
9153
|
// Aya
|
|
8941
9154
|
!fetchcustomercartQueryContext.isFetching && fetchcustomercartQueryContext.isSuccess && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart.countryid) != null &&
|
|
@@ -8952,7 +9165,7 @@
|
|
|
8952
9165
|
var _fetchcustomercartQue8;
|
|
8953
9166
|
tempFetchTabexStatesPayloadobjContext.state_id = fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue8 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.customercart.stateid;
|
|
8954
9167
|
}
|
|
8955
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
9168
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2j({}, tempFetchTabexStatesPayloadobjContext));
|
|
8956
9169
|
} else {
|
|
8957
9170
|
// NotificationManager.warning('', lang.pleaselogintocheckout);
|
|
8958
9171
|
routingcountext(StaticPagesLinksContext.Login);
|
|
@@ -9819,10 +10032,10 @@
|
|
|
9819
10032
|
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.customercart.countryid);
|
|
9820
10033
|
}),
|
|
9821
10034
|
onChange: function onChange(option) {
|
|
9822
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10035
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2j({}, FetchTabexStatesPayloadobjContext);
|
|
9823
10036
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
9824
10037
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
9825
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10038
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2j({}, tempFetchTabexStatesPayloadobjContext));
|
|
9826
10039
|
cartinfoupdater('countryid', option.id);
|
|
9827
10040
|
},
|
|
9828
10041
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -9867,10 +10080,10 @@
|
|
|
9867
10080
|
onChange: function onChange(option) {
|
|
9868
10081
|
var _fetchcustomercartQue60;
|
|
9869
10082
|
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue60 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue60 === void 0 || (_fetchcustomercartQue60 = _fetchcustomercartQue60.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.customercart.countryid.length) != 0) {
|
|
9870
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10083
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2j({}, FetchTabexStatesPayloadobjContext);
|
|
9871
10084
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
9872
10085
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
9873
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10086
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2j({}, tempFetchTabexStatesPayloadobjContext));
|
|
9874
10087
|
cartinfoupdater('stateid', option.id);
|
|
9875
10088
|
} else {
|
|
9876
10089
|
NotificationManager.warning('', 'Please Choose Country Or State');
|
|
@@ -10234,8 +10447,8 @@
|
|
|
10234
10447
|
}, Mycart())))));
|
|
10235
10448
|
};
|
|
10236
10449
|
|
|
10237
|
-
function ownKeys$
|
|
10238
|
-
function _objectSpread$
|
|
10450
|
+
function ownKeys$2i(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
10451
|
+
function _objectSpread$2i(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2i(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2i(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10239
10452
|
var VendorPage = function VendorPage(props) {
|
|
10240
10453
|
var _useState = React.useState(''),
|
|
10241
10454
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -10268,7 +10481,7 @@
|
|
|
10268
10481
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
10269
10482
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
10270
10483
|
});
|
|
10271
|
-
setsectionproperties(_objectSpread$
|
|
10484
|
+
setsectionproperties(_objectSpread$2i({}, secpropobj));
|
|
10272
10485
|
}
|
|
10273
10486
|
}, [StatePagePropertiesContext]);
|
|
10274
10487
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -10391,8 +10604,8 @@
|
|
|
10391
10604
|
})));
|
|
10392
10605
|
};
|
|
10393
10606
|
|
|
10394
|
-
function ownKeys$
|
|
10395
|
-
function _objectSpread$
|
|
10607
|
+
function ownKeys$2h(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
10608
|
+
function _objectSpread$2h(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2h(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2h(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10396
10609
|
var Select$2 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
10397
10610
|
return import('react-select');
|
|
10398
10611
|
});
|
|
@@ -10502,46 +10715,46 @@
|
|
|
10502
10715
|
}
|
|
10503
10716
|
}, [fetchAuthorizationQueryContext.isSuccess]);
|
|
10504
10717
|
React.useEffect(function () {
|
|
10505
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
10718
|
+
var tempFetchQueriesEngineContext = _objectSpread$2h({}, FetchQueriesEngineContext);
|
|
10506
10719
|
tempFetchQueriesEngineContext.institutecustomerinfosignup = true;
|
|
10507
10720
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
10508
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
10509
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
10721
|
+
setFetchQueriesEngineContext(_objectSpread$2h({}, tempFetchQueriesEngineContext));
|
|
10722
|
+
var tempFetchQueriesEngineContext = _objectSpread$2h({}, FetchQueriesEngineContext);
|
|
10510
10723
|
}, []);
|
|
10511
10724
|
React.useEffect(function () {
|
|
10512
10725
|
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
10513
|
-
setsectionproperties(_objectSpread$
|
|
10726
|
+
setsectionproperties(_objectSpread$2h({}, props.sectionpropertiesprops));
|
|
10514
10727
|
}
|
|
10515
10728
|
}, [props.sectionpropertiesprops]);
|
|
10516
10729
|
React.useEffect(function () {
|
|
10517
10730
|
if (fetchinstitutecustomerinfosignupQueryContext.isSuccess) {
|
|
10518
10731
|
if (authdetailsContext.loggedin == true) {
|
|
10519
|
-
var tempcustomerinfoobj = _objectSpread$
|
|
10520
|
-
setpayloadobj(_objectSpread$
|
|
10521
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10732
|
+
var tempcustomerinfoobj = _objectSpread$2h({}, fetchinstitutecustomerinfosignupQueryContext.data.data.customerinfo);
|
|
10733
|
+
setpayloadobj(_objectSpread$2h({}, tempcustomerinfoobj));
|
|
10734
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2h({}, FetchTabexStatesPayloadobjContext);
|
|
10522
10735
|
if (tempcustomerinfoobj.countryid != null) {
|
|
10523
10736
|
tempFetchTabexStatesPayloadobjContext.country_id = tempcustomerinfoobj.countryid;
|
|
10524
10737
|
}
|
|
10525
10738
|
if (tempcustomerinfoobj.stateid != null) {
|
|
10526
10739
|
tempFetchTabexStatesPayloadobjContext.state_id = tempcustomerinfoobj.stateid;
|
|
10527
10740
|
}
|
|
10528
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10741
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2h({}, tempFetchTabexStatesPayloadobjContext));
|
|
10529
10742
|
setdataloaded(true);
|
|
10530
10743
|
} else {
|
|
10531
10744
|
var _fetchinstitutecustom;
|
|
10532
|
-
var tempcustomerinfoobj = _objectSpread$
|
|
10745
|
+
var tempcustomerinfoobj = _objectSpread$2h({}, payloadobj);
|
|
10533
10746
|
if (Array.isArray(fetchinstitutecustomerinfosignupQueryContext === null || fetchinstitutecustomerinfosignupQueryContext === void 0 || (_fetchinstitutecustom = fetchinstitutecustomerinfosignupQueryContext.data) === null || _fetchinstitutecustom === void 0 || (_fetchinstitutecustom = _fetchinstitutecustom.data) === null || _fetchinstitutecustom === void 0 ? void 0 : _fetchinstitutecustom.instsignupformvalues)) {
|
|
10534
10747
|
tempcustomerinfoobj.instsignupformvalues = _toConsumableArray__default["default"](fetchinstitutecustomerinfosignupQueryContext.data.data.instsignupformvalues);
|
|
10535
10748
|
}
|
|
10536
|
-
setpayloadobj(_objectSpread$
|
|
10749
|
+
setpayloadobj(_objectSpread$2h({}, tempcustomerinfoobj));
|
|
10537
10750
|
setdataloaded(true);
|
|
10538
10751
|
}
|
|
10539
10752
|
}
|
|
10540
10753
|
}, [fetchinstitutecustomerinfosignupQueryContext.isSuccess, fetchinstitutecustomerinfosignupQueryContext.data, authdetailsContext]);
|
|
10541
10754
|
var payloadobjchange = function payloadobjchange(key, value) {
|
|
10542
|
-
var temppayloadobj = _objectSpread$
|
|
10755
|
+
var temppayloadobj = _objectSpread$2h({}, payloadobj);
|
|
10543
10756
|
temppayloadobj[key] = value;
|
|
10544
|
-
setpayloadobj(_objectSpread$
|
|
10757
|
+
setpayloadobj(_objectSpread$2h({}, temppayloadobj));
|
|
10545
10758
|
};
|
|
10546
10759
|
var validateEmailstring = function validateEmailstring(email) {
|
|
10547
10760
|
return String(email).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);
|
|
@@ -10613,7 +10826,7 @@
|
|
|
10613
10826
|
};
|
|
10614
10827
|
var signupbuttonfunc = function signupbuttonfunc() {
|
|
10615
10828
|
if (verifypayload() == true) {
|
|
10616
|
-
var temppayloadobj = _objectSpread$
|
|
10829
|
+
var temppayloadobj = _objectSpread$2h({}, payloadobj);
|
|
10617
10830
|
if (authdetailsContext.loggedin == true) {
|
|
10618
10831
|
temppayloadobj.functype = 'edit';
|
|
10619
10832
|
} else {
|
|
@@ -10770,10 +10983,10 @@
|
|
|
10770
10983
|
autoFormat: true,
|
|
10771
10984
|
value: payloadobj.mobile,
|
|
10772
10985
|
onChange: function onChange(event, country) {
|
|
10773
|
-
var temp = _objectSpread$
|
|
10986
|
+
var temp = _objectSpread$2h({}, payloadobj);
|
|
10774
10987
|
temp.mobile = event;
|
|
10775
10988
|
temp.countrydialcode = country.dialCode;
|
|
10776
|
-
setpayloadobj(_objectSpread$
|
|
10989
|
+
setpayloadobj(_objectSpread$2h({}, temp));
|
|
10777
10990
|
// payloadobjchange('mobile', event);
|
|
10778
10991
|
|
|
10779
10992
|
// alert(JSON.stringify(country));
|
|
@@ -10830,10 +11043,10 @@
|
|
|
10830
11043
|
return option.id == payloadobj.countryid;
|
|
10831
11044
|
}),
|
|
10832
11045
|
onChange: function onChange(option) {
|
|
10833
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
11046
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2h({}, FetchTabexStatesPayloadobjContext);
|
|
10834
11047
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
10835
11048
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
10836
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
11049
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2h({}, tempFetchTabexStatesPayloadobjContext));
|
|
10837
11050
|
payloadobjchange('countryid', option.id);
|
|
10838
11051
|
},
|
|
10839
11052
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -10882,10 +11095,10 @@
|
|
|
10882
11095
|
return option.id == payloadobj.stateid;
|
|
10883
11096
|
}),
|
|
10884
11097
|
onChange: function onChange(option) {
|
|
10885
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
11098
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2h({}, FetchTabexStatesPayloadobjContext);
|
|
10886
11099
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
10887
11100
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
10888
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
11101
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2h({}, tempFetchTabexStatesPayloadobjContext));
|
|
10889
11102
|
payloadobjchange('stateid', option.id);
|
|
10890
11103
|
},
|
|
10891
11104
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -11027,9 +11240,9 @@
|
|
|
11027
11240
|
value: item.customersignupvalue,
|
|
11028
11241
|
textplaceholder: "",
|
|
11029
11242
|
onChange: function onChange(event) {
|
|
11030
|
-
var temppayloadobj = _objectSpread$
|
|
11243
|
+
var temppayloadobj = _objectSpread$2h({}, payloadobj);
|
|
11031
11244
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
11032
|
-
setpayloadobj(_objectSpread$
|
|
11245
|
+
setpayloadobj(_objectSpread$2h({}, temppayloadobj));
|
|
11033
11246
|
},
|
|
11034
11247
|
style: {
|
|
11035
11248
|
background: 'transparent'
|
|
@@ -11043,13 +11256,13 @@
|
|
|
11043
11256
|
className: formstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11044
11257
|
checked: item.customersignupvalue == 1 ? true : false,
|
|
11045
11258
|
onChange: function onChange() {
|
|
11046
|
-
var temppayloadobj = _objectSpread$
|
|
11259
|
+
var temppayloadobj = _objectSpread$2h({}, payloadobj);
|
|
11047
11260
|
if (temppayloadobj.instsignupformvalues[index].customersignupvalue == 1) {
|
|
11048
11261
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = 0;
|
|
11049
11262
|
} else {
|
|
11050
11263
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = 1;
|
|
11051
11264
|
}
|
|
11052
|
-
setpayloadobj(_objectSpread$
|
|
11265
|
+
setpayloadobj(_objectSpread$2h({}, temppayloadobj));
|
|
11053
11266
|
}
|
|
11054
11267
|
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
11055
11268
|
viewBox: "0 0 21 21",
|
|
@@ -11066,9 +11279,9 @@
|
|
|
11066
11279
|
value: item.customersignupvalue,
|
|
11067
11280
|
textplaceholder: "",
|
|
11068
11281
|
onChange: function onChange(event) {
|
|
11069
|
-
var temppayloadobj = _objectSpread$
|
|
11282
|
+
var temppayloadobj = _objectSpread$2h({}, payloadobj);
|
|
11070
11283
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
11071
|
-
setpayloadobj(_objectSpread$
|
|
11284
|
+
setpayloadobj(_objectSpread$2h({}, temppayloadobj));
|
|
11072
11285
|
}
|
|
11073
11286
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
11074
11287
|
value: '',
|
|
@@ -11083,9 +11296,9 @@
|
|
|
11083
11296
|
value: item.customersignupvalue,
|
|
11084
11297
|
textplaceholder: "",
|
|
11085
11298
|
onChange: function onChange(event) {
|
|
11086
|
-
var temppayloadobj = _objectSpread$
|
|
11299
|
+
var temppayloadobj = _objectSpread$2h({}, payloadobj);
|
|
11087
11300
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
11088
|
-
setpayloadobj(_objectSpread$
|
|
11301
|
+
setpayloadobj(_objectSpread$2h({}, temppayloadobj));
|
|
11089
11302
|
},
|
|
11090
11303
|
style: {
|
|
11091
11304
|
resize: 'none'
|
|
@@ -11439,7 +11652,7 @@
|
|
|
11439
11652
|
className: "".concat(formstyles.form_control),
|
|
11440
11653
|
value: validateemailpayload.code,
|
|
11441
11654
|
onChange: function onChange(event) {
|
|
11442
|
-
setvalidateemailpayload(_objectSpread$
|
|
11655
|
+
setvalidateemailpayload(_objectSpread$2h(_objectSpread$2h({}, validateemailpayload), {}, {
|
|
11443
11656
|
code: event.target.value
|
|
11444
11657
|
}));
|
|
11445
11658
|
},
|
|
@@ -11466,12 +11679,12 @@
|
|
|
11466
11679
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
11467
11680
|
if (data.data.status) {
|
|
11468
11681
|
if (data.data.functype == 'sendcode') {
|
|
11469
|
-
setvalidateemailpayload(_objectSpread$
|
|
11682
|
+
setvalidateemailpayload(_objectSpread$2h(_objectSpread$2h({}, validateemailpayload), {}, {
|
|
11470
11683
|
step: 'verifycode'
|
|
11471
11684
|
}));
|
|
11472
11685
|
}
|
|
11473
11686
|
if (data.data.functype == 'verifycode') {
|
|
11474
|
-
setvalidateemailpayload(_objectSpread$
|
|
11687
|
+
setvalidateemailpayload(_objectSpread$2h(_objectSpread$2h({}, validateemailpayload), {}, {
|
|
11475
11688
|
isvalidated: true
|
|
11476
11689
|
}));
|
|
11477
11690
|
setvalidateemailmodal(false);
|
|
@@ -11566,7 +11779,7 @@
|
|
|
11566
11779
|
className: "".concat(formstyles.form_control),
|
|
11567
11780
|
value: validatephonenumberpayload.code,
|
|
11568
11781
|
onChange: function onChange(event) {
|
|
11569
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11782
|
+
setvalidatephonenumberpayload(_objectSpread$2h(_objectSpread$2h({}, validatephonenumberpayload), {}, {
|
|
11570
11783
|
code: event.target.value
|
|
11571
11784
|
}));
|
|
11572
11785
|
},
|
|
@@ -11593,12 +11806,12 @@
|
|
|
11593
11806
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
11594
11807
|
if (data.data.status) {
|
|
11595
11808
|
if (data.data.functype == 'sendcode') {
|
|
11596
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11809
|
+
setvalidatephonenumberpayload(_objectSpread$2h(_objectSpread$2h({}, validatephonenumberpayload), {}, {
|
|
11597
11810
|
step: 'verifycode'
|
|
11598
11811
|
}));
|
|
11599
11812
|
}
|
|
11600
11813
|
if (data.data.functype == 'verifycode') {
|
|
11601
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11814
|
+
setvalidatephonenumberpayload(_objectSpread$2h(_objectSpread$2h({}, validatephonenumberpayload), {}, {
|
|
11602
11815
|
isvalidated: true
|
|
11603
11816
|
}));
|
|
11604
11817
|
setvalidatephonenumbermodal(false);
|
|
@@ -11634,8 +11847,8 @@
|
|
|
11634
11847
|
}, validatephonenumberpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
11635
11848
|
};
|
|
11636
11849
|
|
|
11637
|
-
function ownKeys$
|
|
11638
|
-
function _objectSpread$
|
|
11850
|
+
function ownKeys$2g(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11851
|
+
function _objectSpread$2g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2g(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11639
11852
|
var Signup = function Signup(props) {
|
|
11640
11853
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
11641
11854
|
props.actions.CurrentSrcTypeContext;
|
|
@@ -11683,7 +11896,7 @@
|
|
|
11683
11896
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
11684
11897
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11685
11898
|
});
|
|
11686
|
-
setsectionproperties(_objectSpread$
|
|
11899
|
+
setsectionproperties(_objectSpread$2g({}, secpropobj));
|
|
11687
11900
|
}
|
|
11688
11901
|
}, [StatePagePropertiesContext]);
|
|
11689
11902
|
var loginstyles2 = {
|
|
@@ -11826,8 +12039,8 @@
|
|
|
11826
12039
|
}, SignupContent()));
|
|
11827
12040
|
};
|
|
11828
12041
|
|
|
11829
|
-
function ownKeys$
|
|
11830
|
-
function _objectSpread$
|
|
12042
|
+
function ownKeys$2f(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12043
|
+
function _objectSpread$2f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2f(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11831
12044
|
var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
11832
12045
|
var _css;
|
|
11833
12046
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -11893,7 +12106,7 @@
|
|
|
11893
12106
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
11894
12107
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11895
12108
|
});
|
|
11896
|
-
setsectionproperties(_objectSpread$
|
|
12109
|
+
setsectionproperties(_objectSpread$2f({}, secpropobj));
|
|
11897
12110
|
}
|
|
11898
12111
|
}, [StatePagePropertiesContext]);
|
|
11899
12112
|
var loginstyles2 = {
|
|
@@ -11994,7 +12207,7 @@
|
|
|
11994
12207
|
className: "".concat(loginstyles2.form_control),
|
|
11995
12208
|
value: affsignuppayload.name,
|
|
11996
12209
|
onChange: function onChange(event) {
|
|
11997
|
-
setaffsignuppayload(_objectSpread$
|
|
12210
|
+
setaffsignuppayload(_objectSpread$2f(_objectSpread$2f({}, affsignuppayload), {}, {
|
|
11998
12211
|
name: event.target.value
|
|
11999
12212
|
}));
|
|
12000
12213
|
},
|
|
@@ -12010,7 +12223,7 @@
|
|
|
12010
12223
|
className: "".concat(loginstyles2.form_control),
|
|
12011
12224
|
value: affsignuppayload.email,
|
|
12012
12225
|
onChange: function onChange(event) {
|
|
12013
|
-
setaffsignuppayload(_objectSpread$
|
|
12226
|
+
setaffsignuppayload(_objectSpread$2f(_objectSpread$2f({}, affsignuppayload), {}, {
|
|
12014
12227
|
email: event.target.value
|
|
12015
12228
|
}));
|
|
12016
12229
|
},
|
|
@@ -12028,10 +12241,10 @@
|
|
|
12028
12241
|
autoFormat: true,
|
|
12029
12242
|
value: affsignuppayload.phonenumber,
|
|
12030
12243
|
onChange: function onChange(event, country) {
|
|
12031
|
-
var temp = _objectSpread$
|
|
12244
|
+
var temp = _objectSpread$2f({}, affsignuppayload);
|
|
12032
12245
|
temp.phonenumber = event;
|
|
12033
12246
|
temp.countrydialcode = country.dialCode;
|
|
12034
|
-
setaffsignuppayload(_objectSpread$
|
|
12247
|
+
setaffsignuppayload(_objectSpread$2f({}, temp));
|
|
12035
12248
|
// setaffsignuppayload({ ...affsignuppayload, phonenumber: event.target.value });
|
|
12036
12249
|
},
|
|
12037
12250
|
|
|
@@ -12047,7 +12260,7 @@
|
|
|
12047
12260
|
className: "".concat(loginstyles2.form_control),
|
|
12048
12261
|
value: affsignuppayload.ssn,
|
|
12049
12262
|
onChange: function onChange(event) {
|
|
12050
|
-
setaffsignuppayload(_objectSpread$
|
|
12263
|
+
setaffsignuppayload(_objectSpread$2f(_objectSpread$2f({}, affsignuppayload), {}, {
|
|
12051
12264
|
ssn: event.target.value
|
|
12052
12265
|
}));
|
|
12053
12266
|
},
|
|
@@ -12063,7 +12276,7 @@
|
|
|
12063
12276
|
className: "".concat(loginstyles2.form_control),
|
|
12064
12277
|
value: affsignuppayload.password,
|
|
12065
12278
|
onChange: function onChange(event) {
|
|
12066
|
-
setaffsignuppayload(_objectSpread$
|
|
12279
|
+
setaffsignuppayload(_objectSpread$2f(_objectSpread$2f({}, affsignuppayload), {}, {
|
|
12067
12280
|
password: event.target.value
|
|
12068
12281
|
}));
|
|
12069
12282
|
},
|
|
@@ -12079,7 +12292,7 @@
|
|
|
12079
12292
|
className: "".concat(loginstyles2.form_control),
|
|
12080
12293
|
value: affsignuppayload.confirmpassword,
|
|
12081
12294
|
onChange: function onChange(event) {
|
|
12082
|
-
setaffsignuppayload(_objectSpread$
|
|
12295
|
+
setaffsignuppayload(_objectSpread$2f(_objectSpread$2f({}, affsignuppayload), {}, {
|
|
12083
12296
|
confirmpassword: event.target.value
|
|
12084
12297
|
}));
|
|
12085
12298
|
},
|
|
@@ -12132,8 +12345,8 @@
|
|
|
12132
12345
|
}), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.signupbtn_contenten : sectionproperties.signupbtn_contentar)))))))));
|
|
12133
12346
|
};
|
|
12134
12347
|
|
|
12135
|
-
function ownKeys$
|
|
12136
|
-
function _objectSpread$
|
|
12348
|
+
function ownKeys$2e(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12349
|
+
function _objectSpread$2e(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2e(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2e(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12137
12350
|
var AccountInformation = function AccountInformation(props) {
|
|
12138
12351
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
12139
12352
|
var lang = props.actions.lang;
|
|
@@ -12160,7 +12373,7 @@
|
|
|
12160
12373
|
props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.StatePagePropertiesContext) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageobj) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageproperties) === null || _props$actions === void 0 || _props$actions.forEach(function (arrayItem, arrayindex) {
|
|
12161
12374
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12162
12375
|
});
|
|
12163
|
-
setsectionproperties(_objectSpread$
|
|
12376
|
+
setsectionproperties(_objectSpread$2e({}, secpropobj));
|
|
12164
12377
|
}, [props.actions.StatePagePropertiesContext]);
|
|
12165
12378
|
React.useEffect(function () {
|
|
12166
12379
|
var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
|
|
@@ -12322,8 +12535,8 @@
|
|
|
12322
12535
|
var tabstyles = {"tabs":"tabs-module_tabs__36dMY","tabsul":"tabs-module_tabsul__wNZqy","tabsli":"tabs-module_tabsli__-uR10","active":"tabs-module_active__6wLfI","tabsliheaderresp":"tabs-module_tabsliheaderresp__TPNhh","accordionContainer":"tabs-module_accordionContainer__-MSW5","policiestabs":"tabs-module_policiestabs__nopXD"};
|
|
12323
12536
|
styleInject(css_248z$F);
|
|
12324
12537
|
|
|
12325
|
-
function ownKeys$
|
|
12326
|
-
function _objectSpread$
|
|
12538
|
+
function ownKeys$2d(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12539
|
+
function _objectSpread$2d(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2d(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2d(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12327
12540
|
var Policies = function Policies(props) {
|
|
12328
12541
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchInstitutePolici, _fetchInstitutePolici2, _fetchInstitutePolici3;
|
|
12329
12542
|
var _useState = React.useState(''),
|
|
@@ -12354,7 +12567,7 @@
|
|
|
12354
12567
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
12355
12568
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12356
12569
|
});
|
|
12357
|
-
setsectionproperties(_objectSpread$
|
|
12570
|
+
setsectionproperties(_objectSpread$2d({}, secpropobj));
|
|
12358
12571
|
}
|
|
12359
12572
|
}, [StatePagePropertiesContext]);
|
|
12360
12573
|
React.useEffect(function () {
|
|
@@ -12367,9 +12580,9 @@
|
|
|
12367
12580
|
}
|
|
12368
12581
|
}, []);
|
|
12369
12582
|
React.useEffect(function () {
|
|
12370
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
12583
|
+
var tempFetchQueriesEngineContext = _objectSpread$2d({}, FetchQueriesEngineContext);
|
|
12371
12584
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
12372
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
12585
|
+
setFetchQueriesEngineContext(_objectSpread$2d({}, tempFetchQueriesEngineContext));
|
|
12373
12586
|
}, []);
|
|
12374
12587
|
var _useState7 = React.useState([]),
|
|
12375
12588
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
@@ -12599,8 +12812,8 @@
|
|
|
12599
12812
|
var cartstyles = {"cartslider_container":"cart-module_cartslider_container__idend","close_menu_icon_cont":"cart-module_close_menu_icon_cont__uh-pE","cart_slider_imagecont":"cart-module_cart_slider_imagecont__tnHMt","checkout_cart_slider_imagecont":"cart-module_checkout_cart_slider_imagecont__UX2ct","checkout_quantity_cont":"cart-module_checkout_quantity_cont__Rr3RO","btn_circle":"cart-module_btn_circle__p-BDZ","cart_progress_card":"cart-module_cart_progress_card__jEFwg","cart_progress_card_active":"cart-module_cart_progress_card_active__gQzWT","trash_btn":"cart-module_trash_btn__bHQxy","btn_apply":"cart-module_btn_apply__phbo8","checkout_card_card":"cart-module_checkout_card_card__4zUo9"};
|
|
12600
12813
|
styleInject(css_248z$E);
|
|
12601
12814
|
|
|
12602
|
-
function ownKeys$
|
|
12603
|
-
function _objectSpread$
|
|
12815
|
+
function ownKeys$2c(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12816
|
+
function _objectSpread$2c(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2c(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2c(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12604
12817
|
var CartSlider = function CartSlider(props) {
|
|
12605
12818
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12;
|
|
12606
12819
|
var lang = props.actions.lang;
|
|
@@ -12666,7 +12879,7 @@
|
|
|
12666
12879
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
12667
12880
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12668
12881
|
});
|
|
12669
|
-
setsectionproperties(_objectSpread$
|
|
12882
|
+
setsectionproperties(_objectSpread$2c({}, secpropobj));
|
|
12670
12883
|
}, [CurrentPageId]);
|
|
12671
12884
|
React.useEffect(function () {
|
|
12672
12885
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -12676,7 +12889,7 @@
|
|
|
12676
12889
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
12677
12890
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12678
12891
|
});
|
|
12679
|
-
setsectionproperties(_objectSpread$
|
|
12892
|
+
setsectionproperties(_objectSpread$2c({}, secpropobj));
|
|
12680
12893
|
}
|
|
12681
12894
|
}
|
|
12682
12895
|
}, [StatePagePropertiesContext]);
|
|
@@ -13246,8 +13459,8 @@
|
|
|
13246
13459
|
}, langdetect == 'en' ? sectionproperties.checkoutButtonContenten : sectionproperties.checkoutButtonContentar))))))))));
|
|
13247
13460
|
};
|
|
13248
13461
|
|
|
13249
|
-
function ownKeys$
|
|
13250
|
-
function _objectSpread$
|
|
13462
|
+
function ownKeys$2b(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13463
|
+
function _objectSpread$2b(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2b(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2b(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13251
13464
|
var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
13252
13465
|
var _useState = React.useState(''),
|
|
13253
13466
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
@@ -13291,7 +13504,7 @@
|
|
|
13291
13504
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
13292
13505
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13293
13506
|
});
|
|
13294
|
-
setsectionproperties(_objectSpread$
|
|
13507
|
+
setsectionproperties(_objectSpread$2b({}, secpropobj));
|
|
13295
13508
|
}, [CurrentPageId]);
|
|
13296
13509
|
React.useEffect(function () {
|
|
13297
13510
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -13301,7 +13514,7 @@
|
|
|
13301
13514
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
13302
13515
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13303
13516
|
});
|
|
13304
|
-
setsectionproperties(_objectSpread$
|
|
13517
|
+
setsectionproperties(_objectSpread$2b({}, secpropobj));
|
|
13305
13518
|
}
|
|
13306
13519
|
}
|
|
13307
13520
|
}, [StatePagePropertiesContext]);
|
|
@@ -13529,8 +13742,8 @@
|
|
|
13529
13742
|
}, CategoriesDropdown()));
|
|
13530
13743
|
};
|
|
13531
13744
|
|
|
13532
|
-
function ownKeys$
|
|
13533
|
-
function _objectSpread$
|
|
13745
|
+
function ownKeys$2a(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13746
|
+
function _objectSpread$2a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2a(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13534
13747
|
var OrderSuccess = function OrderSuccess(props) {
|
|
13535
13748
|
var _props$actions2;
|
|
13536
13749
|
props.actions.lang;
|
|
@@ -13580,7 +13793,7 @@
|
|
|
13580
13793
|
props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.StatePagePropertiesContext) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageobj) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageproperties) === null || _props$actions === void 0 || _props$actions.forEach(function (arrayItem, arrayindex) {
|
|
13581
13794
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13582
13795
|
});
|
|
13583
|
-
setsectionproperties(_objectSpread$
|
|
13796
|
+
setsectionproperties(_objectSpread$2a({}, secpropobj));
|
|
13584
13797
|
}, [props === null || props === void 0 || (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
13585
13798
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
13586
13799
|
var ordersuccessstyle = {
|
|
@@ -13677,12 +13890,12 @@
|
|
|
13677
13890
|
var filterstyles = {"timeline":"filter-module_timeline__ROm9Q","border_left_line":"filter-module_border_left_line__IkxXK","btn_item":"filter-module_btn_item__GoKTf","timelineinnercont_active":"filter-module_timelineinnercont_active__2sLI7","timeline_text":"filter-module_timeline_text__NgaGy","timelineinnercont":"filter-module_timelineinnercont__Zme9K","timelinetrans":"filter-module_timelinetrans__KzVCg","filterslider_container":"filter-module_filterslider_container__I-7sG","filterslider_container_opened":"filter-module_filterslider_container_opened__2eZes","outercontainer":"filter-module_outercontainer__kmY9b","innercontainer":"filter-module_innercontainer__VKukp","card":"filter-module_card__7yDs0"};
|
|
13678
13891
|
styleInject(css_248z$D);
|
|
13679
13892
|
|
|
13680
|
-
function ownKeys$
|
|
13681
|
-
function _objectSpread$
|
|
13893
|
+
function ownKeys$29(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13894
|
+
function _objectSpread$29(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$29(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$29(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13682
13895
|
var Select$1 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
13683
13896
|
return import('react-select');
|
|
13684
13897
|
});
|
|
13685
|
-
var Filter$
|
|
13898
|
+
var Filter$1 = function Filter(props) {
|
|
13686
13899
|
var _css;
|
|
13687
13900
|
var lang = props.actions.lang;
|
|
13688
13901
|
var langdetect = props.actions.langdetect;
|
|
@@ -13818,11 +14031,11 @@
|
|
|
13818
14031
|
}
|
|
13819
14032
|
timeoutRef.current = setTimeout(function () {
|
|
13820
14033
|
if (raterangevalue.min != 0 || raterangevalue.max != 5) {
|
|
13821
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14034
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
13822
14035
|
tempfetchproductsfilerobjcontext.minrate = raterangevalue.min;
|
|
13823
14036
|
tempfetchproductsfilerobjcontext.maxrate = raterangevalue.max;
|
|
13824
14037
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
13825
|
-
setProductFilterObjContext(_objectSpread$
|
|
14038
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
13826
14039
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
13827
14040
|
}
|
|
13828
14041
|
}, 500);
|
|
@@ -13908,33 +14121,33 @@
|
|
|
13908
14121
|
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcategories, instcollections]);
|
|
13909
14122
|
React.useEffect(function () {
|
|
13910
14123
|
if (productfeatuesarr.length != 0) {
|
|
13911
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14124
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
13912
14125
|
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
13913
|
-
setProductFilterObjContext(_objectSpread$
|
|
14126
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
13914
14127
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
13915
14128
|
}
|
|
13916
14129
|
}, [productfeatuesarr]);
|
|
13917
14130
|
React.useEffect(function () {
|
|
13918
14131
|
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
13919
14132
|
if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
|
|
13920
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
14133
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
13921
14134
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
13922
14135
|
tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
|
|
13923
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
14136
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
13924
14137
|
}
|
|
13925
14138
|
}
|
|
13926
14139
|
}, [fetchTabexStatesQueryContext.isSuccess]);
|
|
13927
14140
|
var filterupdater = function filterupdater() {
|
|
13928
14141
|
setTimeout(function () {
|
|
13929
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
14142
|
+
var tempFetchQueriesEngineContext = _objectSpread$29({}, FetchQueriesEngineContext);
|
|
13930
14143
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
13931
14144
|
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
13932
14145
|
}, 100);
|
|
13933
14146
|
if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
|
|
13934
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
14147
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
13935
14148
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
13936
14149
|
tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
|
|
13937
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
14150
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
13938
14151
|
}
|
|
13939
14152
|
if (instfilters.length != 0) {
|
|
13940
14153
|
var _ProductFilterObjCont3;
|
|
@@ -13996,7 +14209,7 @@
|
|
|
13996
14209
|
}
|
|
13997
14210
|
};
|
|
13998
14211
|
var setfilterfunc = function setfilterfunc(valueid, valueindex, mainparentindex, type) {
|
|
13999
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14212
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
14000
14213
|
if (type == 'clearfilters') {
|
|
14001
14214
|
tempfetchproductsfilerobjcontext.FilterOptions = [];
|
|
14002
14215
|
} else {
|
|
@@ -14020,14 +14233,14 @@
|
|
|
14020
14233
|
tempfetchproductsfilerobjcontext.isfilter = 1;
|
|
14021
14234
|
}
|
|
14022
14235
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14023
|
-
setProductFilterObjContext(_objectSpread$
|
|
14236
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
14024
14237
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14025
14238
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
14026
14239
|
};
|
|
14027
14240
|
|
|
14028
14241
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
14029
14242
|
var _tempfetchproductsfil2;
|
|
14030
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14243
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
14031
14244
|
var CollectionExists = false;
|
|
14032
14245
|
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil2 = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil2 === void 0 || _tempfetchproductsfil2.forEach(function (filteritem, filterindex) {
|
|
14033
14246
|
if (filteritem == collectionid) {
|
|
@@ -14049,7 +14262,7 @@
|
|
|
14049
14262
|
}
|
|
14050
14263
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14051
14264
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
14052
|
-
setProductFilterObjContext(_objectSpread$
|
|
14265
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
14053
14266
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14054
14267
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
14055
14268
|
};
|
|
@@ -14070,11 +14283,11 @@
|
|
|
14070
14283
|
if (state.expanded == true) {
|
|
14071
14284
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14072
14285
|
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
14073
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
14286
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
|
|
14074
14287
|
} else {
|
|
14075
14288
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14076
14289
|
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
14077
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
14290
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
|
|
14078
14291
|
}
|
|
14079
14292
|
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
14080
14293
|
className: "p-0"
|
|
@@ -14132,11 +14345,11 @@
|
|
|
14132
14345
|
if (state.expanded == true) {
|
|
14133
14346
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14134
14347
|
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
14135
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
14348
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
|
|
14136
14349
|
} else {
|
|
14137
14350
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14138
14351
|
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
14139
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
14352
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
|
|
14140
14353
|
}
|
|
14141
14354
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14142
14355
|
className: "col-lg-12 p-0"
|
|
@@ -14210,11 +14423,11 @@
|
|
|
14210
14423
|
if (state.expanded == true) {
|
|
14211
14424
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14212
14425
|
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
14213
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
14426
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
|
|
14214
14427
|
} else {
|
|
14215
14428
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14216
14429
|
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
14217
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
14430
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
|
|
14218
14431
|
}
|
|
14219
14432
|
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
14220
14433
|
className: "p-0"
|
|
@@ -14253,9 +14466,7 @@
|
|
|
14253
14466
|
setcollectionstobevisible(instcollections);
|
|
14254
14467
|
}
|
|
14255
14468
|
// style={{ cursor: 'pointer' }}
|
|
14256
|
-
}, langdetect == 'en' ? sectionproperties.showalltexten : sectionproperties.showalltextar)))))))
|
|
14257
|
-
className: "mt-3 mb-3"
|
|
14258
|
-
})));
|
|
14469
|
+
}, langdetect == 'en' ? sectionproperties.showalltexten : sectionproperties.showalltextar)))))))));
|
|
14259
14470
|
};
|
|
14260
14471
|
var DynamicFilter = function DynamicFilter() {
|
|
14261
14472
|
var _fetchProductFeatures;
|
|
@@ -14264,66 +14475,192 @@
|
|
|
14264
14475
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14265
14476
|
"class": "col-lg-12 p-0 mb-3"
|
|
14266
14477
|
}, (fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 ? void 0 : fetchProductFeaturesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14267
|
-
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
|
|
14478
|
+
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3 w-100"
|
|
14268
14479
|
}, fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 || (_fetchProductFeatures = fetchProductFeaturesQueryContext.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.productfeatues) === null || _fetchProductFeatures === void 0 ? void 0 : _fetchProductFeatures.map(function (item, index) {
|
|
14480
|
+
// if (item.type == 'Selectbox') {
|
|
14481
|
+
// var selectboxarr = [];
|
|
14482
|
+
// item?.featuresselectbovalue?.forEach(function (slecitem) {
|
|
14483
|
+
// var itemlabel = '';
|
|
14484
|
+
// if (langdetect == 'en') {
|
|
14485
|
+
// itemlabel = slecitem.value_en;
|
|
14486
|
+
// } else {
|
|
14487
|
+
// itemlabel = slecitem.value_ar;
|
|
14488
|
+
// }
|
|
14489
|
+
// selectboxarr.push({ label: itemlabel, value: slecitem.value_en });
|
|
14490
|
+
// });
|
|
14491
|
+
// return (
|
|
14492
|
+
// <div class="col-lg-12 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3 p-0">
|
|
14493
|
+
// <label
|
|
14494
|
+
// className={' mb-3 w-100 '}
|
|
14495
|
+
// style={{
|
|
14496
|
+
// textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
14497
|
+
// color: sectionproperties.filtertitle_color,
|
|
14498
|
+
// color: sectionproperties.filtertitle_color,
|
|
14499
|
+
// fontSize: sectionproperties.filtertitle_fontsize + 'px',
|
|
14500
|
+
// fontWeight: sectionproperties.filtertitle_fontweight,
|
|
14501
|
+
// color: sectionproperties.filtertitle_color,
|
|
14502
|
+
// textTransform: 'capitalize',
|
|
14503
|
+
// }}
|
|
14504
|
+
// >
|
|
14505
|
+
// {langdetect == 'en' ? item.name_en : item.name_ar}
|
|
14506
|
+
// </label>
|
|
14507
|
+
// <div class={'col-lg-12 p-0'}>
|
|
14508
|
+
// <Select
|
|
14509
|
+
// options={selectboxarr}
|
|
14510
|
+
// styles={langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated}
|
|
14511
|
+
// placeholder={''}
|
|
14512
|
+
// onChange={(e) => {
|
|
14513
|
+
// var isattrexists = false;
|
|
14514
|
+
// var tempproductfeatuesarr = [...productfeatuesarr];
|
|
14515
|
+
// tempproductfeatuesarr?.forEach(function (attritem, attrindex) {
|
|
14516
|
+
// if (attritem.id == item.id) {
|
|
14517
|
+
// tempproductfeatuesarr[attrindex].value = e.value;
|
|
14518
|
+
// isattrexists = true;
|
|
14519
|
+
// }
|
|
14520
|
+
// });
|
|
14521
|
+
// if (isattrexists == false) {
|
|
14522
|
+
// tempproductfeatuesarr.push({
|
|
14523
|
+
// id: item.id,
|
|
14524
|
+
// value: e.value,
|
|
14525
|
+
// });
|
|
14526
|
+
// }
|
|
14527
|
+
// setproductfeatuesarr([...tempproductfeatuesarr]);
|
|
14528
|
+
// }}
|
|
14529
|
+
// />
|
|
14530
|
+
// </div>
|
|
14531
|
+
// </div>
|
|
14532
|
+
// );
|
|
14533
|
+
// }
|
|
14269
14534
|
if (item.type == 'Selectbox') {
|
|
14270
|
-
var _item$featuresselectb
|
|
14271
|
-
|
|
14272
|
-
|
|
14273
|
-
|
|
14274
|
-
|
|
14275
|
-
|
|
14535
|
+
var _item$featuresselectb;
|
|
14536
|
+
// item?.featuresselectbovalue?.forEach(function (slecitem) {
|
|
14537
|
+
// var itemlabel = '';
|
|
14538
|
+
// var itemlabelar = '';
|
|
14539
|
+
// if (langdetect == 'en') {
|
|
14540
|
+
// itemlabel = slecitem.value_en;
|
|
14541
|
+
// } else {
|
|
14542
|
+
// itemlabel = slecitem.value_ar;
|
|
14543
|
+
// }
|
|
14544
|
+
// selectboxarr.push({ label: itemlabel, value: slecitem.value_en });
|
|
14545
|
+
// });
|
|
14546
|
+
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
14547
|
+
allowMultipleExpanded: true,
|
|
14548
|
+
allowZeroExpanded: true,
|
|
14549
|
+
preExpanded: [0, 1, 2, 3]
|
|
14550
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
14551
|
+
uuid: index
|
|
14552
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14553
|
+
className: filter_cssstyles.titlecontainer + ' row m-0 w-100 p-0 mb-2 pl-md-3 pr-md-3 '
|
|
14554
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14555
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0"
|
|
14556
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14557
|
+
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 ' : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
|
|
14558
|
+
}, langdetect == 'en' ? item.name_en : item.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14559
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
14560
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
14561
|
+
if (state.expanded == true) {
|
|
14562
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14563
|
+
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
14564
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
|
|
14276
14565
|
} else {
|
|
14277
|
-
|
|
14566
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14567
|
+
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
14568
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
|
|
14278
14569
|
}
|
|
14279
|
-
|
|
14280
|
-
|
|
14281
|
-
|
|
14282
|
-
|
|
14283
|
-
}
|
|
14284
|
-
|
|
14285
|
-
|
|
14286
|
-
|
|
14287
|
-
|
|
14288
|
-
|
|
14289
|
-
|
|
14290
|
-
|
|
14291
|
-
|
|
14292
|
-
|
|
14293
|
-
|
|
14294
|
-
|
|
14295
|
-
|
|
14296
|
-
styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
|
|
14297
|
-
placeholder: '',
|
|
14298
|
-
onChange: function onChange(e) {
|
|
14299
|
-
var isattrexists = false;
|
|
14300
|
-
var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
|
|
14301
|
-
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
14302
|
-
if (attritem.id == item.id) {
|
|
14303
|
-
tempproductfeatuesarr[attrindex].value = e.value;
|
|
14304
|
-
isattrexists = true;
|
|
14305
|
-
}
|
|
14306
|
-
});
|
|
14307
|
-
if (isattrexists == false) {
|
|
14308
|
-
tempproductfeatuesarr.push({
|
|
14309
|
-
id: item.id,
|
|
14310
|
-
value: e.value
|
|
14570
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
14571
|
+
className: "p-0"
|
|
14572
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14573
|
+
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
|
|
14574
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14575
|
+
className: langdetect == 'en' ? "".concat(filterstyles.timeline) + ' p-sm-0 ' : "".concat(filterstyles.timeline, " ").concat(filterstyles.timelinetrans) + ' p-sm-0 '
|
|
14576
|
+
}, item === null || item === void 0 || (_item$featuresselectb = item.featuresselectbovalue) === null || _item$featuresselectb === void 0 ? void 0 : _item$featuresselectb.map(function (slecitem, slecindex) {
|
|
14577
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14578
|
+
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(slecitem.isfilterselected ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
14579
|
+
onClick: function onClick(e) {
|
|
14580
|
+
var isattrexists = false;
|
|
14581
|
+
var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
|
|
14582
|
+
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
14583
|
+
if (attritem.id == slecitem.id) {
|
|
14584
|
+
tempproductfeatuesarr[attrindex].value = slecitem.value_en;
|
|
14585
|
+
isattrexists = true;
|
|
14586
|
+
}
|
|
14311
14587
|
});
|
|
14588
|
+
if (isattrexists == false) {
|
|
14589
|
+
tempproductfeatuesarr.push({
|
|
14590
|
+
id: slecitem.id,
|
|
14591
|
+
value: slecitem.value_en
|
|
14592
|
+
});
|
|
14593
|
+
}
|
|
14594
|
+
setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
|
|
14595
|
+
|
|
14596
|
+
// setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
14312
14597
|
}
|
|
14313
|
-
|
|
14314
|
-
|
|
14315
|
-
|
|
14316
|
-
|
|
14598
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14599
|
+
className: " ".concat(slecitem.isfilterselected ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
|
|
14600
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14601
|
+
className: "h-100 d-flex align-items-center"
|
|
14602
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14603
|
+
className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
|
|
14604
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14605
|
+
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
14606
|
+
style: {
|
|
14607
|
+
color: slecitem.isfilterselected ? sectionproperties.activecat_color : ''
|
|
14608
|
+
}
|
|
14609
|
+
}, langdetect == 'en' ? slecitem.value_en : slecitem.value_ar)));
|
|
14610
|
+
}))))))
|
|
14611
|
+
// <div class="col-lg-12 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3 p-0">
|
|
14612
|
+
// <label
|
|
14613
|
+
// className={' mb-3 w-100 '}
|
|
14614
|
+
// style={{
|
|
14615
|
+
// textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
14616
|
+
// color: sectionproperties.filtertitle_color,
|
|
14617
|
+
// color: sectionproperties.filtertitle_color,
|
|
14618
|
+
// fontSize: sectionproperties.filtertitle_fontsize + 'px',
|
|
14619
|
+
// fontWeight: sectionproperties.filtertitle_fontweight,
|
|
14620
|
+
// color: sectionproperties.filtertitle_color,
|
|
14621
|
+
// textTransform: 'capitalize',
|
|
14622
|
+
// }}
|
|
14623
|
+
// >
|
|
14624
|
+
// {langdetect == 'en' ? item.name_en : item.name_ar}
|
|
14625
|
+
// </label>
|
|
14626
|
+
// <div class={'col-lg-12 p-0'}>
|
|
14627
|
+
// <Select
|
|
14628
|
+
// options={selectboxarr}
|
|
14629
|
+
// styles={langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated}
|
|
14630
|
+
// placeholder={''}
|
|
14631
|
+
// onChange={(e) => {
|
|
14632
|
+
// var isattrexists = false;
|
|
14633
|
+
// var tempproductfeatuesarr = [...productfeatuesarr];
|
|
14634
|
+
// tempproductfeatuesarr?.forEach(function (attritem, attrindex) {
|
|
14635
|
+
// if (attritem.id == item.id) {
|
|
14636
|
+
// tempproductfeatuesarr[attrindex].value = e.value;
|
|
14637
|
+
// isattrexists = true;
|
|
14638
|
+
// }
|
|
14639
|
+
// });
|
|
14640
|
+
// if (isattrexists == false) {
|
|
14641
|
+
// tempproductfeatuesarr.push({
|
|
14642
|
+
// id: item.id,
|
|
14643
|
+
// value: e.value,
|
|
14644
|
+
// });
|
|
14645
|
+
// }
|
|
14646
|
+
// setproductfeatuesarr([...tempproductfeatuesarr]);
|
|
14647
|
+
// }}
|
|
14648
|
+
// />
|
|
14649
|
+
// </div>
|
|
14650
|
+
// </div>
|
|
14651
|
+
;
|
|
14652
|
+
}
|
|
14653
|
+
// up here
|
|
14317
14654
|
if (item.type == 'Number') {
|
|
14318
|
-
var
|
|
14655
|
+
var _ref;
|
|
14319
14656
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14320
14657
|
"class": "col-lg-12 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3 p-0"
|
|
14321
14658
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
14322
14659
|
className: "".concat(filter_cssstyles.input_label_name) + ' mb-3 w-100 ',
|
|
14323
|
-
style: (
|
|
14660
|
+
style: (_ref = {
|
|
14324
14661
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
14325
14662
|
color: sectionproperties.filtertitle_color
|
|
14326
|
-
}, _defineProperty__default["default"](
|
|
14663
|
+
}, _defineProperty__default["default"](_ref, "color", sectionproperties.filtertitle_color), _defineProperty__default["default"](_ref, "fontSize", sectionproperties.filtertitle_fontsize + 'px'), _defineProperty__default["default"](_ref, "fontWeight", sectionproperties.filtertitle_fontweight), _defineProperty__default["default"](_ref, "color", sectionproperties.filtertitle_color), _defineProperty__default["default"](_ref, "textTransform", 'capitalize'), _ref)
|
|
14327
14664
|
}, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14328
14665
|
"class": 'col-lg-12 p-0'
|
|
14329
14666
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
@@ -14350,7 +14687,7 @@
|
|
|
14350
14687
|
})));
|
|
14351
14688
|
}
|
|
14352
14689
|
if (item.type == 'NumberRange') {
|
|
14353
|
-
var
|
|
14690
|
+
var _ref2;
|
|
14354
14691
|
var temppricevalue = {
|
|
14355
14692
|
min: 0,
|
|
14356
14693
|
max: 10000
|
|
@@ -14371,10 +14708,10 @@
|
|
|
14371
14708
|
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-12 col-md-12 col-sm-12 mb-3 '
|
|
14372
14709
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
14373
14710
|
className: "".concat(filter_cssstyles.input_label_name) + ' mb-3 w-100',
|
|
14374
|
-
style: (
|
|
14711
|
+
style: (_ref2 = {
|
|
14375
14712
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
14376
14713
|
color: sectionproperties.filtertitle_color
|
|
14377
|
-
}, _defineProperty__default["default"](
|
|
14714
|
+
}, _defineProperty__default["default"](_ref2, "color", sectionproperties.filtertitle_color), _defineProperty__default["default"](_ref2, "fontSize", sectionproperties.filtertitle_fontsize + 'px'), _defineProperty__default["default"](_ref2, "fontWeight", sectionproperties.filtertitle_fontweight), _defineProperty__default["default"](_ref2, "color", sectionproperties.filtertitle_color), _defineProperty__default["default"](_ref2, "textTransform", 'capitalize'), _ref2)
|
|
14378
14715
|
}, langdetect == 'en' ? item.name_en : item.name_ar, item.type), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14379
14716
|
"class": 'col-lg-12 pl-4 pr-4 mt-2 mb-2',
|
|
14380
14717
|
style: {
|
|
@@ -14413,60 +14750,70 @@
|
|
|
14413
14750
|
}))));
|
|
14414
14751
|
};
|
|
14415
14752
|
var InstFilters = function InstFilters() {
|
|
14416
|
-
return
|
|
14417
|
-
|
|
14418
|
-
|
|
14419
|
-
|
|
14420
|
-
|
|
14421
|
-
|
|
14422
|
-
|
|
14423
|
-
|
|
14424
|
-
|
|
14425
|
-
|
|
14426
|
-
|
|
14427
|
-
|
|
14428
|
-
|
|
14429
|
-
|
|
14430
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
14431
|
-
if (state.expanded == true) {
|
|
14432
|
-
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14433
|
-
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
14434
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
|
|
14435
|
-
} else {
|
|
14436
|
-
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14437
|
-
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
14438
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
|
|
14439
|
-
}
|
|
14440
|
-
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
14441
|
-
className: "p-0"
|
|
14442
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14443
|
-
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
|
|
14444
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14445
|
-
className: 'col-lg-12'
|
|
14446
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14447
|
-
className: langdetect == 'en' ? "".concat(filterstyles.timeline) + ' p-sm-0 ' : "".concat(filterstyles.timeline, " ").concat(filterstyles.timelinetrans) + ' p-sm-0 '
|
|
14448
|
-
}, item.productvaluesfilter.map(function (valueitem, valueindex) {
|
|
14449
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14450
|
-
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(valueitem.isfilterselected ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
14451
|
-
onClick: function onClick() {
|
|
14452
|
-
setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
14453
|
-
}
|
|
14454
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14455
|
-
className: " ".concat(valueitem.isfilterselected ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
|
|
14456
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14457
|
-
className: "h-100 d-flex align-items-center"
|
|
14458
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14459
|
-
className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
|
|
14753
|
+
return (
|
|
14754
|
+
/*#__PURE__*/
|
|
14755
|
+
// <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
|
|
14756
|
+
React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
14757
|
+
allowMultipleExpanded: true,
|
|
14758
|
+
allowZeroExpanded: true,
|
|
14759
|
+
preExpanded: [0, 1, 2, 3]
|
|
14760
|
+
}, instfilters.map(function (item, index) {
|
|
14761
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
14762
|
+
uuid: index
|
|
14763
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14764
|
+
className: filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 mb-4 '
|
|
14765
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14766
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0"
|
|
14460
14767
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14461
|
-
className:
|
|
14462
|
-
|
|
14463
|
-
|
|
14768
|
+
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 ' : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
|
|
14769
|
+
}, langdetect == 'en' ? item.optionname : item.optionname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14770
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
14771
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
14772
|
+
if (state.expanded == true) {
|
|
14773
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14774
|
+
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
14775
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
|
|
14776
|
+
} else {
|
|
14777
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14778
|
+
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
14779
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
|
|
14464
14780
|
}
|
|
14465
|
-
},
|
|
14466
|
-
|
|
14467
|
-
|
|
14468
|
-
|
|
14469
|
-
|
|
14781
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
14782
|
+
className: "p-0"
|
|
14783
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14784
|
+
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
|
|
14785
|
+
}, /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
14786
|
+
"class": "thwvsf-wrapper-ul"
|
|
14787
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14788
|
+
className: langdetect == 'en' ? "".concat(filterstyles.timeline) + ' p-sm-0 ' : "".concat(filterstyles.timeline, " ").concat(filterstyles.timelinetrans) + ' p-sm-0 '
|
|
14789
|
+
}, item.productvaluesfilter.map(function (valueitem, valueindex) {
|
|
14790
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14791
|
+
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(valueitem.isfilterselected ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
14792
|
+
onClick: function onClick() {
|
|
14793
|
+
setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
14794
|
+
}
|
|
14795
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14796
|
+
className: " ".concat(valueitem.isfilterselected ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
|
|
14797
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14798
|
+
className: "h-100 d-flex align-items-center"
|
|
14799
|
+
}))), item.optionname == 'Color' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14800
|
+
className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
|
|
14801
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14802
|
+
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
14803
|
+
style: {
|
|
14804
|
+
color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
|
|
14805
|
+
}
|
|
14806
|
+
}, valueitem.value_identifier)), item.optionname != 'Color' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14807
|
+
className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
|
|
14808
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14809
|
+
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
14810
|
+
style: {
|
|
14811
|
+
color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
|
|
14812
|
+
}
|
|
14813
|
+
}, langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar)));
|
|
14814
|
+
})))))));
|
|
14815
|
+
}))
|
|
14816
|
+
);
|
|
14470
14817
|
};
|
|
14471
14818
|
var filter_cssstyles = {
|
|
14472
14819
|
form_control: glamor.css((_css = {
|
|
@@ -14645,14 +14992,14 @@
|
|
|
14645
14992
|
return option.id == ProductFilterObjContext.countryid;
|
|
14646
14993
|
}),
|
|
14647
14994
|
onChange: function onChange(option) {
|
|
14648
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
14995
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
14649
14996
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
14650
14997
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
14651
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
14652
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14998
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
14999
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
14653
15000
|
tempfetchproductsfilerobjcontext.countryid = option.id;
|
|
14654
15001
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14655
|
-
setProductFilterObjContext(_objectSpread$
|
|
15002
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
14656
15003
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14657
15004
|
},
|
|
14658
15005
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14689,14 +15036,14 @@
|
|
|
14689
15036
|
return option.id == ProductFilterObjContext.stateid;
|
|
14690
15037
|
}),
|
|
14691
15038
|
onChange: function onChange(option) {
|
|
14692
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
15039
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
14693
15040
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
14694
15041
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
14695
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
14696
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
15042
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
15043
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
14697
15044
|
tempfetchproductsfilerobjcontext.stateid = option.id;
|
|
14698
15045
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14699
|
-
setProductFilterObjContext(_objectSpread$
|
|
15046
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
14700
15047
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14701
15048
|
},
|
|
14702
15049
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14733,10 +15080,10 @@
|
|
|
14733
15080
|
return option.id == ProductFilterObjContext.cityid;
|
|
14734
15081
|
}),
|
|
14735
15082
|
onChange: function onChange(option) {
|
|
14736
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
15083
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
14737
15084
|
tempfetchproductsfilerobjcontext.cityid = option.id;
|
|
14738
15085
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14739
|
-
setProductFilterObjContext(_objectSpread$
|
|
15086
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
14740
15087
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14741
15088
|
},
|
|
14742
15089
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14760,11 +15107,14 @@
|
|
|
14760
15107
|
// }
|
|
14761
15108
|
// }, []);
|
|
14762
15109
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14763
|
-
className
|
|
15110
|
+
// className={sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 p-0 w-100 filter mt-md-0 ' : 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none'}
|
|
15111
|
+
className: 'row m-0 p-0 w-100',
|
|
14764
15112
|
style: {
|
|
14765
15113
|
marginTop: sectionproperties.filtersection_mt + 'px',
|
|
14766
15114
|
minHeight: sectionproperties.filterminheight == 0 ? 'auto' : sectionproperties.filterminheight + 'vh'
|
|
14767
15115
|
}
|
|
15116
|
+
}, props.typeprops != 'vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15117
|
+
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 p-0 w-100 filter mt-md-0 ' : 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none'
|
|
14768
15118
|
}, sectionproperties.filterType == 'Title & Sort By Only' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14769
15119
|
"class": "row mx-0 w-100",
|
|
14770
15120
|
style: {
|
|
@@ -14840,14 +15190,14 @@
|
|
|
14840
15190
|
color: ischecked ? sectionproperties.activecat_color : ''
|
|
14841
15191
|
},
|
|
14842
15192
|
onClick: function onClick() {
|
|
14843
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
15193
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
14844
15194
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14845
15195
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14846
15196
|
} else {
|
|
14847
15197
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14848
15198
|
}
|
|
14849
15199
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14850
|
-
setProductFilterObjContext(_objectSpread$
|
|
15200
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
14851
15201
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14852
15202
|
setsortbycontext(valueitem.name);
|
|
14853
15203
|
}
|
|
@@ -14992,11 +15342,11 @@
|
|
|
14992
15342
|
if (state.expanded == true) {
|
|
14993
15343
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14994
15344
|
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
14995
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
15345
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
|
|
14996
15346
|
} else {
|
|
14997
15347
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14998
15348
|
className: filter_cssstyles.collapsetitle + ' h-100 d-flex align-items-center justify-content-end '
|
|
14999
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
15349
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
|
|
15000
15350
|
}
|
|
15001
15351
|
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
15002
15352
|
className: "p-0"
|
|
@@ -15020,14 +15370,14 @@
|
|
|
15020
15370
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15021
15371
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
15022
15372
|
onClick: function onClick() {
|
|
15023
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
15373
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15024
15374
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
15025
15375
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
15026
15376
|
} else {
|
|
15027
15377
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
15028
15378
|
}
|
|
15029
15379
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
15030
|
-
setProductFilterObjContext(_objectSpread$
|
|
15380
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15031
15381
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15032
15382
|
}
|
|
15033
15383
|
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -15062,7 +15412,7 @@
|
|
|
15062
15412
|
minValue: 0,
|
|
15063
15413
|
value: raterangevalue,
|
|
15064
15414
|
onChange: function onChange(value) {
|
|
15065
|
-
setraterangevalue(_objectSpread$
|
|
15415
|
+
setraterangevalue(_objectSpread$29({}, value));
|
|
15066
15416
|
}
|
|
15067
15417
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15068
15418
|
className: "col-lg-9 col-md-9 col-sm-9 d-flex align-items-center d-md-none"
|
|
@@ -15176,11 +15526,11 @@
|
|
|
15176
15526
|
if (state.expanded == true) {
|
|
15177
15527
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15178
15528
|
className: filter_cssstyles.collapsetitle + ' h-100 d-flex align-items-center justify-content-end '
|
|
15179
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
15529
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
|
|
15180
15530
|
} else {
|
|
15181
15531
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15182
15532
|
className: filter_cssstyles.collapsetitle + ' h-100 d-flex align-items-center justify-content-end '
|
|
15183
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
15533
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
|
|
15184
15534
|
}
|
|
15185
15535
|
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
15186
15536
|
className: "p-0"
|
|
@@ -15205,13 +15555,13 @@
|
|
|
15205
15555
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
15206
15556
|
onClick: function onClick() {
|
|
15207
15557
|
// setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
15208
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
15558
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15209
15559
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
15210
15560
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
15211
15561
|
} else {
|
|
15212
15562
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
15213
15563
|
}
|
|
15214
|
-
setProductFilterObjContext(_objectSpread$
|
|
15564
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15215
15565
|
}
|
|
15216
15566
|
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15217
15567
|
className: " ".concat(ischecked ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
|
|
@@ -15225,9 +15575,7 @@
|
|
|
15225
15575
|
color: ischecked ? sectionproperties.activecat_color : ''
|
|
15226
15576
|
}
|
|
15227
15577
|
}, valueitem.name)));
|
|
15228
|
-
})))))))
|
|
15229
|
-
className: "mt-3 mb-3"
|
|
15230
|
-
}));
|
|
15578
|
+
}))))))));
|
|
15231
15579
|
}), sectionproperties.otherfilters == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15232
15580
|
className: "col-lg-12"
|
|
15233
15581
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
@@ -15240,570 +15588,188 @@
|
|
|
15240
15588
|
"class": "row m-0 w-100"
|
|
15241
15589
|
}, CollectionsFilter()), sectionproperties.showdynamicfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15242
15590
|
"class": "row m-0 w-100"
|
|
15243
|
-
}, DynamicFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters())))))))
|
|
15244
|
-
|
|
15245
|
-
|
|
15246
|
-
|
|
15247
|
-
|
|
15248
|
-
|
|
15249
|
-
|
|
15250
|
-
|
|
15251
|
-
var langdetect = props.actions.langdetect;
|
|
15252
|
-
props.actions.productfiltercontext;
|
|
15253
|
-
props.actions.setproductfiltercontext;
|
|
15254
|
-
var ProductFilterObjContext = props.actions.ProductFilterObjContext;
|
|
15255
|
-
var setProductFilterObjContext = props.actions.setProductFilterObjContext;
|
|
15256
|
-
props.actions.authdetailsContext;
|
|
15257
|
-
var fetchproductoptionsQueryContext = props.actions.fetchproductoptionsQueryContext;
|
|
15258
|
-
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
15259
|
-
var routingcountext = props.actions.routingcountext;
|
|
15260
|
-
var fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
|
|
15261
|
-
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
15262
|
-
props.actions.ikimagecredcontext;
|
|
15263
|
-
var _useState = React.useState({
|
|
15264
|
-
min: 0,
|
|
15265
|
-
max: 10000
|
|
15266
|
-
}),
|
|
15267
|
-
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
15268
|
-
_useState2[0];
|
|
15269
|
-
_useState2[1];
|
|
15270
|
-
var _useState3 = React.useState([]),
|
|
15271
|
-
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
15272
|
-
productfeatuesarr = _useState4[0];
|
|
15273
|
-
_useState4[1];
|
|
15274
|
-
props.actions.fetchTabexCountriesQueryContext;
|
|
15275
|
-
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
15276
|
-
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
15277
|
-
props.actions.fetchTabexCitiesQueryContext;
|
|
15278
|
-
var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
15279
|
-
var FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
|
|
15280
|
-
var setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
|
|
15281
|
-
props.actions.fetchProductFeaturesQueryContext;
|
|
15282
|
-
var _useState5 = React.useState(''),
|
|
15283
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
15284
|
-
sectionproperties = _useState6[0],
|
|
15285
|
-
setsectionproperties = _useState6[1];
|
|
15286
|
-
// const [instfilters, setinstfilters] = useState([...authdetailsContext.instinfo.instfilters]);
|
|
15287
|
-
var _useState7 = React.useState([]),
|
|
15288
|
-
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
15289
|
-
instfilters = _useState8[0],
|
|
15290
|
-
setinstfilters = _useState8[1];
|
|
15291
|
-
var _useState9 = React.useState([]),
|
|
15292
|
-
_useState10 = _slicedToArray__default["default"](_useState9, 2);
|
|
15293
|
-
_useState10[0];
|
|
15294
|
-
var setcollectionstobevisible = _useState10[1];
|
|
15295
|
-
var _useState11 = React.useState([]),
|
|
15296
|
-
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
15297
|
-
instcollections = _useState12[0],
|
|
15298
|
-
setinstcollections = _useState12[1];
|
|
15299
|
-
var _useState13 = React.useState([]),
|
|
15300
|
-
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
15301
|
-
instcategories = _useState14[0],
|
|
15302
|
-
setinstcategories = _useState14[1];
|
|
15303
|
-
// const [sortby, setSortby] = useState('Sort by');
|
|
15304
|
-
var _useState15 = React.useState({
|
|
15305
|
-
min: 0,
|
|
15306
|
-
max: 5
|
|
15307
|
-
}),
|
|
15308
|
-
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
15309
|
-
raterangevalue = _useState16[0];
|
|
15310
|
-
_useState16[1];
|
|
15311
|
-
var timeoutRef = React__default["default"].useRef(null);
|
|
15312
|
-
var _useState17 = React.useState(''),
|
|
15313
|
-
_useState18 = _slicedToArray__default["default"](_useState17, 2);
|
|
15314
|
-
_useState18[0];
|
|
15315
|
-
_useState18[1];
|
|
15316
|
-
var _useState19 = React.useState([{
|
|
15317
|
-
payloadvalue: 'sortprice',
|
|
15318
|
-
name: lang.price,
|
|
15319
|
-
filterarray: [{
|
|
15320
|
-
name: lang.pricehightolow,
|
|
15321
|
-
value: 'hightolow',
|
|
15322
|
-
isfilterselected: false
|
|
15323
|
-
}, {
|
|
15324
|
-
name: lang.pricelowtohigh,
|
|
15325
|
-
value: 'lowtohigh',
|
|
15326
|
-
isfilterselected: false
|
|
15327
|
-
}]
|
|
15328
|
-
}, {
|
|
15329
|
-
payloadvalue: 'sortdates',
|
|
15330
|
-
name: lang.dates,
|
|
15331
|
-
filterarray: [{
|
|
15332
|
-
name: lang.recent,
|
|
15333
|
-
value: 'recent',
|
|
15334
|
-
isfilterselected: false
|
|
15335
|
-
}, {
|
|
15336
|
-
name: lang.oldest,
|
|
15337
|
-
value: 'old',
|
|
15338
|
-
isfilterselected: false
|
|
15339
|
-
}]
|
|
15340
|
-
}]),
|
|
15341
|
-
_useState20 = _slicedToArray__default["default"](_useState19, 2);
|
|
15342
|
-
_useState20[0];
|
|
15343
|
-
_useState20[1];
|
|
15344
|
-
React.useEffect(function () {
|
|
15345
|
-
filterupdater();
|
|
15346
|
-
}, []);
|
|
15347
|
-
React.useEffect(function () {
|
|
15348
|
-
if (fetchproductoptionsQueryContext.isSuccess) {
|
|
15349
|
-
var _fetchproductoptionsQ;
|
|
15350
|
-
setinstfilters(_toConsumableArray__default["default"](fetchproductoptionsQueryContext === null || fetchproductoptionsQueryContext === void 0 || (_fetchproductoptionsQ = fetchproductoptionsQueryContext.data) === null || _fetchproductoptionsQ === void 0 || (_fetchproductoptionsQ = _fetchproductoptionsQ.data) === null || _fetchproductoptionsQ === void 0 ? void 0 : _fetchproductoptionsQ.productoptions));
|
|
15351
|
-
}
|
|
15352
|
-
}, [fetchproductoptionsQueryContext.isSuccess]);
|
|
15353
|
-
React.useEffect(function () {
|
|
15354
|
-
if (fetchCategoriesQueryContext.isSuccess) {
|
|
15355
|
-
var _fetchCategoriesQuery;
|
|
15356
|
-
setinstcategories(_toConsumableArray__default["default"](fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : _fetchCategoriesQuery.categories));
|
|
15591
|
+
}, DynamicFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters()))))))), props.typeprops == 'vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15592
|
+
className: 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none'
|
|
15593
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15594
|
+
className: "".concat(filterstyles.filterslider_container) + ' pb-md-5 ',
|
|
15595
|
+
id: "filterslider",
|
|
15596
|
+
style: {
|
|
15597
|
+
background: sectionproperties.filter_backgroundcolor,
|
|
15598
|
+
borderRadius: sectionproperties.filter_borderBottomLeftRadius + 'px'
|
|
15357
15599
|
}
|
|
15358
|
-
}, [
|
|
15359
|
-
|
|
15360
|
-
|
|
15361
|
-
|
|
15362
|
-
|
|
15600
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15601
|
+
className: filter_cssstyles.filteraccordion + ' row m-0 w-100 pt-2 pb-3 filter-accordion '
|
|
15602
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15603
|
+
className: "col-lg-9 col-md-9 col-sm-9 d-none align-items-center d-md-flex"
|
|
15604
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15605
|
+
className: "m-0 p-0 font-16 font-weight-600",
|
|
15606
|
+
style: {
|
|
15607
|
+
color: sectionproperties.filter_titlecolor,
|
|
15608
|
+
fontSize: sectionproperties.filter_titlefontsize + 'px',
|
|
15609
|
+
fontWeight: sectionproperties.filter_titlefontweight,
|
|
15610
|
+
textTransform: sectionproperties.filter_titletextransform
|
|
15363
15611
|
}
|
|
15364
|
-
}, [
|
|
15365
|
-
|
|
15366
|
-
|
|
15367
|
-
|
|
15368
|
-
|
|
15369
|
-
|
|
15370
|
-
|
|
15371
|
-
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
15372
|
-
setsectionproperties(props.sectionpropertiesprops);
|
|
15612
|
+
}, langdetect == 'en' ? 'Filter' : 'فلترة')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15613
|
+
className: "col-lg-3 col-md-3 col-sm-3 d-none d-md-flex align-items-center justify-content-end p-0"
|
|
15614
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15615
|
+
className: "".concat(filterstyles.close_menu_icon_cont, " ").concat(filter_cssstyles.close_menu_icon_cont) + ' d-none d-md-flex align-items-center justify-content-center ',
|
|
15616
|
+
onClick: function onClick() {
|
|
15617
|
+
var element = document.getElementById('filterslider');
|
|
15618
|
+
element.classList.remove(filterstyles.filterslider_container_opened);
|
|
15373
15619
|
}
|
|
15374
|
-
}, [
|
|
15375
|
-
|
|
15376
|
-
|
|
15377
|
-
|
|
15378
|
-
|
|
15379
|
-
|
|
15380
|
-
clearTimeout(timeoutRef.current);
|
|
15620
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15621
|
+
className: "h-100 d-flex align-items-center justify-content-center"
|
|
15622
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
15623
|
+
size: sectionproperties.closeSlider_fontSize,
|
|
15624
|
+
style: {
|
|
15625
|
+
color: sectionproperties.closeSlider_color
|
|
15381
15626
|
}
|
|
15382
|
-
|
|
15383
|
-
|
|
15384
|
-
|
|
15385
|
-
|
|
15386
|
-
|
|
15387
|
-
|
|
15388
|
-
|
|
15389
|
-
|
|
15390
|
-
|
|
15391
|
-
|
|
15392
|
-
}, [
|
|
15393
|
-
|
|
15394
|
-
|
|
15395
|
-
|
|
15396
|
-
|
|
15397
|
-
|
|
15398
|
-
|
|
15399
|
-
|
|
15400
|
-
|
|
15401
|
-
|
|
15402
|
-
|
|
15403
|
-
|
|
15404
|
-
|
|
15405
|
-
|
|
15406
|
-
|
|
15407
|
-
|
|
15408
|
-
|
|
15409
|
-
|
|
15410
|
-
|
|
15411
|
-
|
|
15412
|
-
|
|
15413
|
-
|
|
15414
|
-
|
|
15415
|
-
|
|
15416
|
-
var _catitem$parentcollet2;
|
|
15417
|
-
catitem === null || catitem === void 0 || (_catitem$parentcollet2 = catitem.parentcolletions) === null || _catitem$parentcollet2 === void 0 || _catitem$parentcollet2.forEach(function (parentcolitem, parentcolindex) {
|
|
15418
|
-
var _parentcolitem$collec;
|
|
15419
|
-
parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec = parentcolitem.collections) === null || _parentcolitem$collec === void 0 || _parentcolitem$collec.forEach(function (colitem, colindex) {
|
|
15420
|
-
var _ProductFilterObjCont2;
|
|
15421
|
-
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont2 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont2 === void 0 || _ProductFilterObjCont2.forEach(function (colitem2, colindex2) {
|
|
15422
|
-
if (colitem.collectionid == colitem2) {
|
|
15423
|
-
parentidsfound.push(parentcolitem.parentcollectionid);
|
|
15424
|
-
}
|
|
15425
|
-
});
|
|
15426
|
-
});
|
|
15427
|
-
});
|
|
15428
|
-
});
|
|
15429
|
-
}
|
|
15430
|
-
parentidsfound = parentidsfound.filter(function (val, id, array) {
|
|
15431
|
-
return array.indexOf(val) == id;
|
|
15432
|
-
});
|
|
15433
|
-
if (((_parentidsfound = parentidsfound) === null || _parentidsfound === void 0 ? void 0 : _parentidsfound.length) != 0) {
|
|
15434
|
-
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15435
|
-
var _catitem$parentcollet3;
|
|
15436
|
-
catitem === null || catitem === void 0 || (_catitem$parentcollet3 = catitem.parentcolletions) === null || _catitem$parentcollet3 === void 0 || _catitem$parentcollet3.forEach(function (parentcolitem, parentcolindex) {
|
|
15437
|
-
var _parentidsfound2;
|
|
15438
|
-
(_parentidsfound2 = parentidsfound) === null || _parentidsfound2 === void 0 || _parentidsfound2.forEach(function (parentidfounditem, parentidfoundindex) {
|
|
15439
|
-
if (parentidfounditem == (parentcolitem === null || parentcolitem === void 0 ? void 0 : parentcolitem.parentcollectionid)) {
|
|
15440
|
-
var _parentcolitem$collec2;
|
|
15441
|
-
parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec2 = parentcolitem.collections) === null || _parentcolitem$collec2 === void 0 || _parentcolitem$collec2.forEach(function (colitem, colindex) {
|
|
15442
|
-
var iscolexists = false;
|
|
15443
|
-
collectiontobevisible === null || collectiontobevisible === void 0 || collectiontobevisible.forEach(function (colitemex, colindexex) {
|
|
15444
|
-
if (colitemex.collectionid == colitem.collectionid) {
|
|
15445
|
-
iscolexists = true;
|
|
15446
|
-
}
|
|
15447
|
-
});
|
|
15448
|
-
if (iscolexists == false) {
|
|
15449
|
-
collectiontobevisible.push(colitem);
|
|
15450
|
-
}
|
|
15451
|
-
});
|
|
15452
|
-
}
|
|
15453
|
-
});
|
|
15454
|
-
});
|
|
15455
|
-
});
|
|
15456
|
-
if ((collectiontobevisible === null || collectiontobevisible === void 0 ? void 0 : collectiontobevisible.length) != 0) {
|
|
15457
|
-
setcollectionstobevisible(collectiontobevisible);
|
|
15458
|
-
} else {
|
|
15459
|
-
setcollectionstobevisible(instcollections);
|
|
15460
|
-
}
|
|
15461
|
-
} else {
|
|
15462
|
-
setcollectionstobevisible(instcollections);
|
|
15463
|
-
}
|
|
15464
|
-
} else {
|
|
15465
|
-
setcollectionstobevisible(instcollections);
|
|
15466
|
-
}
|
|
15467
|
-
} else {
|
|
15468
|
-
setcollectionstobevisible(instcollections);
|
|
15469
|
-
}
|
|
15470
|
-
}
|
|
15471
|
-
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcategories, instcollections]);
|
|
15472
|
-
React.useEffect(function () {
|
|
15473
|
-
if (productfeatuesarr.length != 0) {
|
|
15474
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15475
|
-
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
15476
|
-
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15477
|
-
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15478
|
-
}
|
|
15479
|
-
}, [productfeatuesarr]);
|
|
15480
|
-
React.useEffect(function () {
|
|
15481
|
-
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
15482
|
-
if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
|
|
15483
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
15484
|
-
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
15485
|
-
tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
|
|
15486
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
15487
|
-
}
|
|
15488
|
-
}
|
|
15489
|
-
}, [fetchTabexStatesQueryContext.isSuccess]);
|
|
15490
|
-
var filterupdater = function filterupdater() {
|
|
15491
|
-
setTimeout(function () {
|
|
15492
|
-
var tempFetchQueriesEngineContext = _objectSpread$29({}, FetchQueriesEngineContext);
|
|
15493
|
-
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
15494
|
-
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
15495
|
-
}, 100);
|
|
15496
|
-
if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
|
|
15497
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
15498
|
-
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
15499
|
-
tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
|
|
15500
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
15501
|
-
}
|
|
15502
|
-
if (instfilters.length != 0) {
|
|
15503
|
-
var _ProductFilterObjCont3;
|
|
15504
|
-
var tempinstfilters = _toConsumableArray__default["default"](instfilters);
|
|
15505
|
-
tempinstfilters === null || tempinstfilters === void 0 || tempinstfilters.forEach(function (instfilteritem, instfilterindex) {
|
|
15506
|
-
instfilteritem.productvaluesfilter.forEach(function (valefilteritem, valefilteritemindex) {
|
|
15507
|
-
valefilteritem.isfilterselected = false;
|
|
15508
|
-
});
|
|
15509
|
-
});
|
|
15510
|
-
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont3 = ProductFilterObjContext.FilterOptions) === null || _ProductFilterObjCont3 === void 0 || _ProductFilterObjCont3.forEach(function (filteritem, filterindex) {
|
|
15511
|
-
tempinstfilters === null || tempinstfilters === void 0 || tempinstfilters.forEach(function (instfilteritem, instfilterindex) {
|
|
15512
|
-
var _instfilteritem$produ;
|
|
15513
|
-
instfilteritem === null || instfilteritem === void 0 || (_instfilteritem$produ = instfilteritem.productvaluesfilter) === null || _instfilteritem$produ === void 0 || _instfilteritem$produ.forEach(function (valefilteritem, valefilteritemindex) {
|
|
15514
|
-
if (filteritem.valueid == valefilteritem.valueid) {
|
|
15515
|
-
valefilteritem.isfilterselected = true;
|
|
15516
|
-
}
|
|
15517
|
-
});
|
|
15518
|
-
});
|
|
15519
|
-
});
|
|
15520
|
-
setinstfilters(_toConsumableArray__default["default"](tempinstfilters));
|
|
15521
|
-
}
|
|
15522
|
-
if (instcategories.length != 0) {
|
|
15523
|
-
var _ProductFilterObjCont4;
|
|
15524
|
-
var tempInstcategories = _toConsumableArray__default["default"](instcategories);
|
|
15525
|
-
tempInstcategories.forEach(function (catitem, catindex) {
|
|
15526
|
-
catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
15527
|
-
parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
15528
|
-
colitem.isfilterselected = false;
|
|
15529
|
-
});
|
|
15530
|
-
});
|
|
15531
|
-
});
|
|
15532
|
-
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont4 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont4 === void 0 || _ProductFilterObjCont4.forEach(function (filteritem, filterindex) {
|
|
15533
|
-
tempInstcategories.forEach(function (catitem, catindex) {
|
|
15534
|
-
catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
15535
|
-
parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
15536
|
-
if (colitem.collectionid == filteritem) {
|
|
15537
|
-
colitem.isfilterselected = true;
|
|
15538
|
-
}
|
|
15539
|
-
});
|
|
15540
|
-
});
|
|
15541
|
-
});
|
|
15542
|
-
});
|
|
15543
|
-
setinstcategories(_toConsumableArray__default["default"](tempInstcategories));
|
|
15544
|
-
}
|
|
15545
|
-
if (instcollections.length != 0) {
|
|
15546
|
-
var _ProductFilterObjCont5;
|
|
15547
|
-
var tempInstcollections = _toConsumableArray__default["default"](instcollections);
|
|
15548
|
-
tempInstcollections.forEach(function (instfilteritem, valefilteritemindex) {
|
|
15549
|
-
instfilteritem.isfilterselected = false;
|
|
15550
|
-
});
|
|
15551
|
-
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont5 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont5 === void 0 || _ProductFilterObjCont5.forEach(function (filteritem, filterindex) {
|
|
15552
|
-
tempInstcollections === null || tempInstcollections === void 0 || tempInstcollections.forEach(function (instfilteritem, instfilterindex) {
|
|
15553
|
-
if (instfilteritem.collectionid == filteritem) {
|
|
15554
|
-
instfilteritem.isfilterselected = true;
|
|
15555
|
-
}
|
|
15556
|
-
});
|
|
15557
|
-
});
|
|
15558
|
-
setinstcollections(_toConsumableArray__default["default"](tempInstcollections));
|
|
15559
|
-
}
|
|
15560
|
-
};
|
|
15561
|
-
var setfilterfunc = function setfilterfunc(valueid, valueindex, mainparentindex, type) {
|
|
15562
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15563
|
-
if (type == 'clearfilters') {
|
|
15564
|
-
tempfetchproductsfilerobjcontext.FilterOptions = [];
|
|
15565
|
-
} else {
|
|
15566
|
-
var _tempfetchproductsfil;
|
|
15567
|
-
var FilterExists = false;
|
|
15568
|
-
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.FilterOptions) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
|
|
15569
|
-
if (filteritem.valueid == valueid) {
|
|
15570
|
-
FilterExists = true;
|
|
15571
|
-
tempfetchproductsfilerobjcontext.FilterOptions.splice(filterindex, 1);
|
|
15572
|
-
}
|
|
15573
|
-
});
|
|
15574
|
-
if (!FilterExists) {
|
|
15575
|
-
tempfetchproductsfilerobjcontext.FilterOptions.push({
|
|
15576
|
-
valueid: valueid
|
|
15577
|
-
});
|
|
15578
|
-
}
|
|
15579
|
-
}
|
|
15580
|
-
if (tempfetchproductsfilerobjcontext.FilterOptions.length == 0) {
|
|
15581
|
-
tempfetchproductsfilerobjcontext.isfilter = 0;
|
|
15582
|
-
} else {
|
|
15583
|
-
tempfetchproductsfilerobjcontext.isfilter = 1;
|
|
15584
|
-
}
|
|
15585
|
-
tempfetchproductsfilerobjcontext.page = 0;
|
|
15586
|
-
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15587
|
-
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15588
|
-
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15589
|
-
};
|
|
15590
|
-
var InstFilters = function InstFilters() {
|
|
15591
|
-
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
15592
|
-
allowMultipleExpanded: true,
|
|
15593
|
-
allowZeroExpanded: true
|
|
15594
|
-
}, instfilters.map(function (item, index) {
|
|
15595
|
-
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
15596
|
-
uuid: index
|
|
15597
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15598
|
-
className: filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '
|
|
15599
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15600
|
-
className: "col-lg-10 col-md-10 col-sm-10 p-0"
|
|
15601
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15602
|
-
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 ' : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
|
|
15603
|
-
}, langdetect == 'en' ? item.optionname : item.optionname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15604
|
-
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
15605
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
15606
|
-
if (state.expanded == true) {
|
|
15607
|
-
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15608
|
-
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
15609
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
|
|
15610
|
-
} else {
|
|
15611
|
-
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15612
|
-
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
15613
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
|
|
15614
|
-
}
|
|
15615
|
-
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
15616
|
-
className: "p-0"
|
|
15617
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15618
|
-
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
|
|
15619
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15620
|
-
className: 'col-lg-12'
|
|
15621
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15622
|
-
className: langdetect == 'en' ? "".concat(filterstyles.timeline) + ' p-sm-0 ' : "".concat(filterstyles.timeline, " ").concat(filterstyles.timelinetrans) + ' p-sm-0 '
|
|
15623
|
-
}, item.productvaluesfilter.map(function (valueitem, valueindex) {
|
|
15624
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15625
|
-
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(valueitem.isfilterselected ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
15626
|
-
onClick: function onClick() {
|
|
15627
|
-
setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
15628
|
-
}
|
|
15629
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15630
|
-
className: " ".concat(valueitem.isfilterselected ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
|
|
15631
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15632
|
-
className: "h-100 d-flex align-items-center"
|
|
15633
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15634
|
-
className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
|
|
15635
|
-
}, item.optionname == 'Color' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15636
|
-
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
15637
|
-
style: {
|
|
15638
|
-
color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
|
|
15639
|
-
}
|
|
15640
|
-
}, valueitem.value_identifier), item.optionname != 'Color' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15641
|
-
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
15642
|
-
style: {
|
|
15643
|
-
color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
|
|
15644
|
-
}
|
|
15645
|
-
}, langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar)));
|
|
15646
|
-
})))))), /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
15647
|
-
className: "mt-3 mb-3"
|
|
15648
|
-
}));
|
|
15649
|
-
}));
|
|
15650
|
-
};
|
|
15651
|
-
var filter_cssstyles = {
|
|
15652
|
-
form_control: glamor.css((_css = {
|
|
15653
|
-
position: 'relative',
|
|
15654
|
-
display: 'flex',
|
|
15655
|
-
alignItems: 'center'
|
|
15656
|
-
}, _defineProperty__default["default"](_css, "display", 'block'), _defineProperty__default["default"](_css, "width", '100%'), _defineProperty__default["default"](_css, "padding", '0 30px'), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, "fontWeight", 500), _defineProperty__default["default"](_css, "border", '1px solid #ccc'), _defineProperty__default["default"](_css, "borderRadius", '5px'), _defineProperty__default["default"](_css, "height", '40px'), _defineProperty__default["default"](_css, "background", 'transparent'), _defineProperty__default["default"](_css, "color", '#000'), _defineProperty__default["default"](_css, "fontSize", '14px'), _defineProperty__default["default"](_css, ':focus', {
|
|
15657
|
-
// borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
15658
|
-
borderColor: '#eac435',
|
|
15659
|
-
boxShadow: 'none'
|
|
15660
|
-
}), _css)),
|
|
15661
|
-
collapsetitle: glamor.css({
|
|
15662
|
-
fontSize: sectionproperties.filtertitle_fontsize + 'px',
|
|
15663
|
-
fontWeight: sectionproperties.filtertitle_fontweight,
|
|
15664
|
-
textTransform: sectionproperties.filtertitle_texttransform,
|
|
15665
|
-
color: sectionproperties.filtertitle_color,
|
|
15666
|
-
':hover': {
|
|
15667
|
-
color: sectionproperties.filtertitle_coloronhover
|
|
15668
|
-
}
|
|
15669
|
-
}),
|
|
15670
|
-
titlecontainer: glamor.css({
|
|
15671
|
-
color: sectionproperties.filtertitle_color,
|
|
15672
|
-
':hover .collapsetitle': {
|
|
15673
|
-
color: sectionproperties.filtertitle_coloronhover
|
|
15674
|
-
}
|
|
15675
|
-
}),
|
|
15676
|
-
timeline_text: glamor.css({
|
|
15677
|
-
fontSize: sectionproperties.timeline_text_fontsize + 'px',
|
|
15678
|
-
fontWeight: sectionproperties.timeline_text_fontweight,
|
|
15679
|
-
textTransform: sectionproperties.timeline_text_texttransform,
|
|
15680
|
-
color: sectionproperties.timeline_text_color,
|
|
15681
|
-
transition: '.3s',
|
|
15682
|
-
':hover': {
|
|
15683
|
-
color: sectionproperties.timeline_text_coloronhover
|
|
15684
|
-
}
|
|
15685
|
-
}),
|
|
15686
|
-
btnstyles: glamor.css({
|
|
15687
|
-
color: sectionproperties.generalbtn_textColor,
|
|
15688
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
15689
|
-
textTransform: sectionproperties.generalbtn_texttransform,
|
|
15690
|
-
width: sectionproperties.generalbtn_width + 'px',
|
|
15691
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
15692
|
-
background: sectionproperties.generalbtn_bgColor,
|
|
15693
|
-
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
15694
|
-
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
15695
|
-
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
15696
|
-
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
15697
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
15698
|
-
transition: '.3s',
|
|
15699
|
-
':hover': {
|
|
15700
|
-
background: sectionproperties.generalbtn_bgColoronhover,
|
|
15701
|
-
color: sectionproperties.generalbtn_textColoronhover
|
|
15702
|
-
}
|
|
15703
|
-
}),
|
|
15704
|
-
close_menu_icon_cont: glamor.css({
|
|
15705
|
-
background: sectionproperties.closeSliderBgColor,
|
|
15706
|
-
width: sectionproperties.closeSliderWidth + 'px',
|
|
15707
|
-
height: sectionproperties.closeSliderHeight + 'px',
|
|
15708
|
-
borderRadius: sectionproperties.closeSlider_borderBottomLeftRadius + 'px',
|
|
15709
|
-
':hover': {
|
|
15710
|
-
background: sectionproperties.closeSliderBgColorHover
|
|
15711
|
-
}
|
|
15712
|
-
}),
|
|
15713
|
-
horizontalfilter_card: glamor.css({
|
|
15714
|
-
marginBottom: sectionproperties.horizontalfilter_mb + 'px',
|
|
15715
|
-
marginTop: sectionproperties.horizontalfilter_mt + 'px',
|
|
15716
|
-
background: sectionproperties.horizontalfilter_cardbg,
|
|
15717
|
-
border: sectionproperties.horizontalfilter_cardborderwidth + 'px solid ' + sectionproperties.horizontalfilter_cardbordercolor,
|
|
15718
|
-
boxShadow: sectionproperties.horizontalfilter_cardboxShadow == 'Show' ? sectionproperties.horizontalfilter_cardboxShadowcolor : 'horizontalfilter_cardboxShadow'
|
|
15719
|
-
}),
|
|
15720
|
-
btn_item: glamor.css({
|
|
15721
|
-
width: '20px',
|
|
15722
|
-
height: '20px',
|
|
15723
|
-
background: sectionproperties.filteritembtn_bgcolor,
|
|
15724
|
-
':hover': {
|
|
15725
|
-
background: sectionproperties.filteritembtn_bghover
|
|
15726
|
-
}
|
|
15727
|
-
}),
|
|
15728
|
-
btn_item_active: glamor.css({
|
|
15729
|
-
background: sectionproperties.btn_item_activebgcolor
|
|
15730
|
-
}),
|
|
15731
|
-
timelineinnercont_active: glamor.css({
|
|
15732
|
-
fontWeight: sectionproperties.activecat_fontweight,
|
|
15733
|
-
color: sectionproperties.activecat_color
|
|
15734
|
-
}),
|
|
15735
|
-
categoryName: glamor.css({
|
|
15736
|
-
color: sectionproperties.filtertitle_color,
|
|
15737
|
-
fontWeight: sectionproperties.filterCatFontWeight,
|
|
15738
|
-
fontSize: sectionproperties.filterCatFontSize + 'px'
|
|
15739
|
-
}),
|
|
15740
|
-
pCollectionName: glamor.css({
|
|
15741
|
-
color: sectionproperties.filtertitle_color,
|
|
15742
|
-
fontWeight: sectionproperties.filterPCollFontWeight,
|
|
15743
|
-
fontSize: sectionproperties.filterPCollFontSize + 'px'
|
|
15744
|
-
}),
|
|
15745
|
-
explorebtn: glamor.css({
|
|
15746
|
-
fontSize: sectionproperties.explorebtnfontsize + 'px',
|
|
15747
|
-
fontWeight: 600,
|
|
15748
|
-
color: sectionproperties.explorebtncolor,
|
|
15749
|
-
transition: '.3s',
|
|
15750
|
-
':hover': {
|
|
15751
|
-
color: sectionproperties.explorebtncoloronhover
|
|
15752
|
-
}
|
|
15753
|
-
}),
|
|
15754
|
-
showallbtn: glamor.css({
|
|
15755
|
-
color: sectionproperties.showallcolor,
|
|
15756
|
-
':hover': {
|
|
15757
|
-
transition: '.3s',
|
|
15758
|
-
cursor: 'pointer',
|
|
15759
|
-
color: sectionproperties.showallcolorhover
|
|
15760
|
-
}
|
|
15761
|
-
}),
|
|
15762
|
-
sectiontitle: glamor.css({
|
|
15763
|
-
position: 'relative',
|
|
15764
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
15765
|
-
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
15766
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
15767
|
-
'@media (max-width: 800px)': {
|
|
15768
|
-
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
15769
|
-
}
|
|
15770
|
-
})
|
|
15771
|
-
};
|
|
15772
|
-
var filterrouting = function filterrouting(tempfetchproductsfilerobjcontext) {
|
|
15773
|
-
var path = window.location.pathname.split('/');
|
|
15774
|
-
var currentpagepath = path[1];
|
|
15775
|
-
var pagenamepathinstaticpagelinkcont = '';
|
|
15776
|
-
for (var key in StaticPagesLinksContext) {
|
|
15777
|
-
if (StaticPagesLinksContext[key] == currentpagepath) {
|
|
15778
|
-
pagenamepathinstaticpagelinkcont = key;
|
|
15779
|
-
}
|
|
15627
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15628
|
+
className: filter_cssstyles.filteraccordion + ' col-lg-12 filter-accordion p-md-0 pl-4 pr-4 '
|
|
15629
|
+
}, sectionproperties.showcountriesfilter == 'Show' && Countriesfilter(), sectionproperties.showvariantsfilter == 'Show' && InstFilters(), sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15630
|
+
"class": "row m-0 w-100 mb-3"
|
|
15631
|
+
}, CategoriesFilter()), sectionproperties.filterType == 'Collections' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15632
|
+
"class": "row m-0 w-100 mb-3"
|
|
15633
|
+
}, CollectionsFilter()), sectionproperties.showdynamicfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15634
|
+
"class": "row m-0 w-100 mb-3"
|
|
15635
|
+
}, DynamicFilter())))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15636
|
+
className: "col-lg-12"
|
|
15637
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
15638
|
+
show: props === null || props === void 0 ? void 0 : props.openFilterSlider,
|
|
15639
|
+
onHide: function onHide() {
|
|
15640
|
+
props.setopenFilterSlider(false);
|
|
15641
|
+
},
|
|
15642
|
+
placement: "end",
|
|
15643
|
+
scroll: true,
|
|
15644
|
+
style: {
|
|
15645
|
+
minWidth: '200px',
|
|
15646
|
+
background: sectionproperties.filter_backgroundcolor,
|
|
15647
|
+
borderRadius: sectionproperties.filter_borderBottomLeftRadius + 'px'
|
|
15648
|
+
},
|
|
15649
|
+
backdrop: true
|
|
15650
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15651
|
+
className: "row m-0 w-100 mt-2"
|
|
15652
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15653
|
+
className: "col-lg-9 col-md-9 col-sm-9 d-none align-items-center d-md-flex"
|
|
15654
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15655
|
+
className: "m-0 p-0 font-16 font-weight-600",
|
|
15656
|
+
style: {
|
|
15657
|
+
color: sectionproperties.filter_titlecolor,
|
|
15658
|
+
fontSize: sectionproperties.filter_titlefontsize + 'px',
|
|
15659
|
+
fontWeight: sectionproperties.filter_titlefontweight,
|
|
15660
|
+
textTransform: sectionproperties.filter_titletextransform
|
|
15780
15661
|
}
|
|
15781
|
-
|
|
15782
|
-
|
|
15662
|
+
}, langdetect == 'en' ? 'Filter' : 'فلترة')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15663
|
+
className: "col-lg-3 col-md-3 col-sm-3 d-none d-md-flex align-items-center justify-content-end p-0"
|
|
15664
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15665
|
+
className: "".concat(filterstyles.close_menu_icon_cont, " ").concat(filter_cssstyles.close_menu_icon_cont) + ' d-none d-md-flex align-items-center justify-content-center ',
|
|
15666
|
+
onClick: function onClick() {
|
|
15667
|
+
props.setopenFilterSlider(false);
|
|
15783
15668
|
}
|
|
15784
|
-
}
|
|
15785
|
-
|
|
15786
|
-
|
|
15787
|
-
|
|
15788
|
-
_useState22[1];
|
|
15789
|
-
// const queryParameters = new URLSearchParams(window.location.search);
|
|
15790
|
-
// useEffect(() => {
|
|
15791
|
-
// // setsortbycontext('Sort By');
|
|
15792
|
-
// if (queryParameters.get('sortprice') == undefined) {
|
|
15793
|
-
// setsortbycontext('Sort By');
|
|
15794
|
-
// } else {
|
|
15795
|
-
// var temp = { ...sortbycontext };
|
|
15796
|
-
// temp = queryParameters.get('sortprice');
|
|
15797
|
-
// alert(temp);
|
|
15798
|
-
// }
|
|
15799
|
-
// }, []);
|
|
15800
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15801
|
-
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 p-0 w-100 filter mt-md-0 ' : 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none',
|
|
15669
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15670
|
+
className: "h-100 d-flex align-items-center justify-content-center"
|
|
15671
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
15672
|
+
size: sectionproperties.closeSlider_fontSize,
|
|
15802
15673
|
style: {
|
|
15803
|
-
|
|
15804
|
-
|
|
15674
|
+
color: sectionproperties.closeSlider_color
|
|
15675
|
+
}
|
|
15676
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15677
|
+
"class": "col-lg-12"
|
|
15678
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
15679
|
+
"class": "mt-2 mb-2"
|
|
15680
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15681
|
+
className: ' pb-md-5 ',
|
|
15682
|
+
style: {
|
|
15683
|
+
background: sectionproperties.filter_backgroundcolor,
|
|
15684
|
+
borderRadius: sectionproperties.filter_borderBottomLeftRadius + 'px'
|
|
15805
15685
|
}
|
|
15806
|
-
},
|
|
15686
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15687
|
+
className: filter_cssstyles.filteraccordion + ' row m-0 w-100 pt-2 pb-3 filter-accordion '
|
|
15688
|
+
}, sectionproperties.otherfilters == 'Show' && otherfilters.map(function (item, index) {
|
|
15689
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
15690
|
+
allowMultipleExpanded: true,
|
|
15691
|
+
allowZeroExpanded: true,
|
|
15692
|
+
preExpanded: [0, 1, 2, 3],
|
|
15693
|
+
style: {
|
|
15694
|
+
width: '100%'
|
|
15695
|
+
}
|
|
15696
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
15697
|
+
uuid: index
|
|
15698
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15699
|
+
className: filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '
|
|
15700
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15701
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0"
|
|
15702
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15703
|
+
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
|
|
15704
|
+
}, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15705
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
15706
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
15707
|
+
if (state.expanded == true) {
|
|
15708
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15709
|
+
className: filter_cssstyles.collapsetitle + ' h-100 d-flex align-items-center justify-content-end '
|
|
15710
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
|
|
15711
|
+
} else {
|
|
15712
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15713
|
+
className: filter_cssstyles.collapsetitle + ' h-100 d-flex align-items-center justify-content-end '
|
|
15714
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
|
|
15715
|
+
}
|
|
15716
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
15717
|
+
className: "p-0"
|
|
15718
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15719
|
+
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex"
|
|
15720
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15721
|
+
className: 'col-lg-12'
|
|
15722
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15723
|
+
className: langdetect == 'en' ? "".concat(filterstyles.timeline) + ' p-sm-0 ' : "".concat(filterstyles.timeline, " ").concat(filterstyles.timelinetrans) + ' p-sm-0 '
|
|
15724
|
+
}, item.filterarray.map(function (valueitem, valueindex) {
|
|
15725
|
+
var ischecked = false;
|
|
15726
|
+
if (item.payloadvalue == 'sortprice') {
|
|
15727
|
+
if (valueitem.value == ProductFilterObjContext.sortprice) {
|
|
15728
|
+
ischecked = true;
|
|
15729
|
+
}
|
|
15730
|
+
} else if (item.payloadvalue == 'sortdates') {
|
|
15731
|
+
if (valueitem.value == ProductFilterObjContext.sortdates) {
|
|
15732
|
+
ischecked = true;
|
|
15733
|
+
}
|
|
15734
|
+
}
|
|
15735
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15736
|
+
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
15737
|
+
onClick: function onClick() {
|
|
15738
|
+
// setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
15739
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15740
|
+
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
15741
|
+
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
15742
|
+
} else {
|
|
15743
|
+
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
15744
|
+
}
|
|
15745
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15746
|
+
}
|
|
15747
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15748
|
+
className: " ".concat(ischecked ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
|
|
15749
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15750
|
+
className: "h-100 d-flex align-items-center"
|
|
15751
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15752
|
+
className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
|
|
15753
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15754
|
+
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
15755
|
+
style: {
|
|
15756
|
+
color: ischecked ? sectionproperties.activecat_color : ''
|
|
15757
|
+
}
|
|
15758
|
+
}, valueitem.name)));
|
|
15759
|
+
}))))))));
|
|
15760
|
+
}), sectionproperties.otherfilters == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15761
|
+
className: "col-lg-12"
|
|
15762
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
15763
|
+
className: "mt-2 mb-3"
|
|
15764
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15765
|
+
className: filter_cssstyles.filteraccordion + ' col-lg-12 filter-accordion p-md-0 '
|
|
15766
|
+
}, sectionproperties.showcountriesfilter == 'Show' && Countriesfilter(), sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15767
|
+
"class": "row m-0 w-100"
|
|
15768
|
+
}, CategoriesFilter()), sectionproperties.filterType == 'Collections' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15769
|
+
"class": "row m-0 w-100"
|
|
15770
|
+
}, CollectionsFilter()), sectionproperties.showdynamicfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15771
|
+
"class": "row m-0 w-100"
|
|
15772
|
+
}, DynamicFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters()))))))));
|
|
15807
15773
|
};
|
|
15808
15774
|
|
|
15809
15775
|
function ownKeys$28(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -17381,19 +17347,21 @@
|
|
|
17381
17347
|
}
|
|
17382
17348
|
}, plainString(show_product_group_titles()['description_en']))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17383
17349
|
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex p-0' : sectionproperties.numofcols == '2' ? 'col-lg-2 d-flex' : 'col-lg-3 d-flex'
|
|
17384
|
-
}, /*#__PURE__*/React__default["default"].createElement(Filter$
|
|
17350
|
+
}, /*#__PURE__*/React__default["default"].createElement(Filter$1, {
|
|
17385
17351
|
sectionpropertiesprops: sectionproperties,
|
|
17386
17352
|
actions: actions,
|
|
17387
17353
|
openFilterSlider: openFilterSlider,
|
|
17388
17354
|
setopenFilterSlider: setopenFilterSlider,
|
|
17389
17355
|
show_product_group_titles: show_product_group_titles
|
|
17390
17356
|
})), sectionproperties.showvariantfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17391
|
-
className: 'col-lg-
|
|
17357
|
+
className: sectionproperties.numofcols == '2' ? 'col-lg-2 d-flex' : 'col-lg-3 d-flex'
|
|
17392
17358
|
}, /*#__PURE__*/React__default["default"].createElement(Filter$1, {
|
|
17393
17359
|
sectionpropertiesprops: sectionproperties,
|
|
17394
17360
|
actions: actions,
|
|
17395
17361
|
openFilterSlider: openFilterSlider,
|
|
17396
|
-
setopenFilterSlider: setopenFilterSlider
|
|
17362
|
+
setopenFilterSlider: setopenFilterSlider,
|
|
17363
|
+
show_product_group_titles: show_product_group_titles,
|
|
17364
|
+
typeprops: 'vertical'
|
|
17397
17365
|
})), fetchingtype == 'custom' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, cardsrender()), fetchingtype != 'custom' && cardsrender()));
|
|
17398
17366
|
};
|
|
17399
17367
|
|
|
@@ -17464,7 +17432,7 @@
|
|
|
17464
17432
|
function ownKeys$25(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
17465
17433
|
function _objectSpread$25(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$25(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$25(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17466
17434
|
var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
17467
|
-
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
17435
|
+
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
17468
17436
|
var _useState = React.useState(''),
|
|
17469
17437
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
17470
17438
|
sectionproperties = _useState2[0],
|
|
@@ -17480,12 +17448,13 @@
|
|
|
17480
17448
|
props.actions.lang;
|
|
17481
17449
|
var langdetect = props.actions.langdetect;
|
|
17482
17450
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
17483
|
-
props.actions.ikimagecredcontext;
|
|
17451
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
17484
17452
|
props.actions;
|
|
17485
17453
|
var _useState5 = React.useState(''),
|
|
17486
17454
|
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
17487
17455
|
_useState6[0];
|
|
17488
17456
|
var setCurrentPageId = _useState6[1];
|
|
17457
|
+
var routingcountext = props.actions.routingcountext;
|
|
17489
17458
|
React.useEffect(function () {
|
|
17490
17459
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
17491
17460
|
var _StatePagePropertiesC;
|
|
@@ -17511,9 +17480,9 @@
|
|
|
17511
17480
|
setFetchQueriesEngineContext(_objectSpread$25({}, tempFetchQueriesEngineContext));
|
|
17512
17481
|
}, []);
|
|
17513
17482
|
var _useState7 = React.useState([]),
|
|
17514
|
-
_useState8 = _slicedToArray__default["default"](_useState7, 2)
|
|
17515
|
-
_useState8[0]
|
|
17516
|
-
|
|
17483
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
17484
|
+
bgimagesarray = _useState8[0],
|
|
17485
|
+
setbgimagesarray = _useState8[1];
|
|
17517
17486
|
React.useEffect(function () {
|
|
17518
17487
|
if (sectionproperties.length != 0) {
|
|
17519
17488
|
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
@@ -17536,11 +17505,12 @@
|
|
|
17536
17505
|
};
|
|
17537
17506
|
var policies_cssstyles = {
|
|
17538
17507
|
containerstyle: glamor.css({
|
|
17539
|
-
|
|
17540
|
-
|
|
17541
|
-
|
|
17542
|
-
|
|
17543
|
-
|
|
17508
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
17509
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
17510
|
+
backgroundColor: sectionproperties.backgroundColor,
|
|
17511
|
+
'@media (max-width: 800px)': {
|
|
17512
|
+
paddingTop: sectionproperties.paddingtopresponsive + 'px'
|
|
17513
|
+
}
|
|
17544
17514
|
}),
|
|
17545
17515
|
sectiontitle: glamor.css({
|
|
17546
17516
|
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
@@ -17562,7 +17532,65 @@
|
|
|
17562
17532
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17563
17533
|
className: ' col-lg-12 p-0 '
|
|
17564
17534
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17565
|
-
className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100
|
|
17535
|
+
className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 '
|
|
17536
|
+
}, sectionproperties.image_height != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17537
|
+
className: "col-lg-12 p-0 d-flex justify-content-center",
|
|
17538
|
+
style: {
|
|
17539
|
+
cursor: ((_bgimagesarray$ = bgimagesarray[0]) === null || _bgimagesarray$ === void 0 ? void 0 : _bgimagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
|
|
17540
|
+
},
|
|
17541
|
+
onClick: function onClick() {
|
|
17542
|
+
var _bgimagesarray$2;
|
|
17543
|
+
if (((_bgimagesarray$2 = bgimagesarray[0]) === null || _bgimagesarray$2 === void 0 ? void 0 : _bgimagesarray$2.IsClickable) == 'Yes') {
|
|
17544
|
+
var _bgimagesarray$3, _bgimagesarray$4;
|
|
17545
|
+
if ((_bgimagesarray$3 = bgimagesarray[0]) !== null && _bgimagesarray$3 !== void 0 && _bgimagesarray$3.clickable_page_route && ((_bgimagesarray$4 = bgimagesarray[0]) === null || _bgimagesarray$4 === void 0 ? void 0 : _bgimagesarray$4.clickable_page_route.length) != 0) {
|
|
17546
|
+
routingcountext(bgimagesarray[0].clickable_page_route, false, '');
|
|
17547
|
+
} else {
|
|
17548
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
|
|
17549
|
+
}
|
|
17550
|
+
}
|
|
17551
|
+
}
|
|
17552
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17553
|
+
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
|
|
17554
|
+
style: {
|
|
17555
|
+
width: sectionproperties.image_width + 'vw',
|
|
17556
|
+
height: 'auto',
|
|
17557
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
17558
|
+
position: 'relative'
|
|
17559
|
+
}
|
|
17560
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
17561
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
17562
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
17563
|
+
path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$5 = bgimagesarray[0]) === null || _bgimagesarray$5 === void 0 ? void 0 : _bgimagesarray$5.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$6 = bgimagesarray[0]) === null || _bgimagesarray$6 === void 0 ? void 0 : _bgimagesarray$6.bgsection_image_ar) : '',
|
|
17564
|
+
"class": "d-flex d-sm-none",
|
|
17565
|
+
style: {
|
|
17566
|
+
height: '100%',
|
|
17567
|
+
width: '100%',
|
|
17568
|
+
margin: 0,
|
|
17569
|
+
padding: 0,
|
|
17570
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
17571
|
+
zIndex: -1,
|
|
17572
|
+
objectFit: 'contain'
|
|
17573
|
+
}
|
|
17574
|
+
}), /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
17575
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
17576
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
17577
|
+
path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$7 = bgimagesarray[0]) === null || _bgimagesarray$7 === void 0 ? void 0 : _bgimagesarray$7.bgsection_imageresponsive) : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$8 = bgimagesarray[0]) === null || _bgimagesarray$8 === void 0 ? void 0 : _bgimagesarray$8.bgsection_imageresponsive_ar) : '',
|
|
17578
|
+
"class": "d-none d-sm-flex",
|
|
17579
|
+
style: {
|
|
17580
|
+
height: '100%',
|
|
17581
|
+
width: '100%',
|
|
17582
|
+
margin: 0,
|
|
17583
|
+
padding: 0,
|
|
17584
|
+
objectFit: sectionproperties.bgcovercontainresponsive,
|
|
17585
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
17586
|
+
zIndex: -1
|
|
17587
|
+
}
|
|
17588
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17589
|
+
"class": "row m-0 w-100 pl-md-4 pr-md-4",
|
|
17590
|
+
style: {
|
|
17591
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
17592
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
17593
|
+
}
|
|
17566
17594
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17567
17595
|
"class": ' col-lg-12 p-0 text-start '
|
|
17568
17596
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -17581,13 +17609,13 @@
|
|
|
17581
17609
|
style: {
|
|
17582
17610
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
17583
17611
|
}
|
|
17584
|
-
})))));
|
|
17612
|
+
}))))));
|
|
17585
17613
|
};
|
|
17586
17614
|
|
|
17587
17615
|
function ownKeys$24(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
17588
17616
|
function _objectSpread$24(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$24(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$24(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17589
17617
|
var RefundPolicy = function RefundPolicy(props) {
|
|
17590
|
-
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
17618
|
+
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
17591
17619
|
var _useState = React.useState(''),
|
|
17592
17620
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
17593
17621
|
sectionproperties = _useState2[0],
|
|
@@ -17603,12 +17631,13 @@
|
|
|
17603
17631
|
props.actions.lang;
|
|
17604
17632
|
var langdetect = props.actions.langdetect;
|
|
17605
17633
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
17606
|
-
props.actions.ikimagecredcontext;
|
|
17634
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
17607
17635
|
props.actions;
|
|
17608
17636
|
var _useState5 = React.useState(''),
|
|
17609
17637
|
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
17610
17638
|
_useState6[0];
|
|
17611
17639
|
var setCurrentPageId = _useState6[1];
|
|
17640
|
+
var routingcountext = props.actions.routingcountext;
|
|
17612
17641
|
React.useEffect(function () {
|
|
17613
17642
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
17614
17643
|
var _StatePagePropertiesC;
|
|
@@ -17634,9 +17663,9 @@
|
|
|
17634
17663
|
setFetchQueriesEngineContext(_objectSpread$24({}, tempFetchQueriesEngineContext));
|
|
17635
17664
|
}, []);
|
|
17636
17665
|
var _useState7 = React.useState([]),
|
|
17637
|
-
_useState8 = _slicedToArray__default["default"](_useState7, 2)
|
|
17638
|
-
_useState8[0]
|
|
17639
|
-
|
|
17666
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
17667
|
+
bgimagesarray = _useState8[0],
|
|
17668
|
+
setbgimagesarray = _useState8[1];
|
|
17640
17669
|
React.useEffect(function () {
|
|
17641
17670
|
if (sectionproperties.length != 0) {
|
|
17642
17671
|
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
@@ -17659,11 +17688,12 @@
|
|
|
17659
17688
|
};
|
|
17660
17689
|
var policies_cssstyles = {
|
|
17661
17690
|
containerstyle: glamor.css({
|
|
17662
|
-
|
|
17663
|
-
|
|
17664
|
-
|
|
17665
|
-
|
|
17666
|
-
|
|
17691
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
17692
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
17693
|
+
backgroundColor: sectionproperties.backgroundColor,
|
|
17694
|
+
'@media (max-width: 800px)': {
|
|
17695
|
+
paddingTop: sectionproperties.paddingtopresponsive + 'px'
|
|
17696
|
+
}
|
|
17667
17697
|
}),
|
|
17668
17698
|
sectiontitle: glamor.css({
|
|
17669
17699
|
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
@@ -17685,7 +17715,65 @@
|
|
|
17685
17715
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17686
17716
|
className: ' col-lg-12 p-0 '
|
|
17687
17717
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17688
|
-
className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100
|
|
17718
|
+
className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 '
|
|
17719
|
+
}, sectionproperties.image_height != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17720
|
+
className: "col-lg-12 p-0 d-flex justify-content-center",
|
|
17721
|
+
style: {
|
|
17722
|
+
cursor: ((_bgimagesarray$ = bgimagesarray[0]) === null || _bgimagesarray$ === void 0 ? void 0 : _bgimagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
|
|
17723
|
+
},
|
|
17724
|
+
onClick: function onClick() {
|
|
17725
|
+
var _bgimagesarray$2;
|
|
17726
|
+
if (((_bgimagesarray$2 = bgimagesarray[0]) === null || _bgimagesarray$2 === void 0 ? void 0 : _bgimagesarray$2.IsClickable) == 'Yes') {
|
|
17727
|
+
var _bgimagesarray$3, _bgimagesarray$4;
|
|
17728
|
+
if ((_bgimagesarray$3 = bgimagesarray[0]) !== null && _bgimagesarray$3 !== void 0 && _bgimagesarray$3.clickable_page_route && ((_bgimagesarray$4 = bgimagesarray[0]) === null || _bgimagesarray$4 === void 0 ? void 0 : _bgimagesarray$4.clickable_page_route.length) != 0) {
|
|
17729
|
+
routingcountext(bgimagesarray[0].clickable_page_route, false, '');
|
|
17730
|
+
} else {
|
|
17731
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
|
|
17732
|
+
}
|
|
17733
|
+
}
|
|
17734
|
+
}
|
|
17735
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17736
|
+
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
|
|
17737
|
+
style: {
|
|
17738
|
+
width: sectionproperties.image_width + 'vw',
|
|
17739
|
+
height: 'auto',
|
|
17740
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
17741
|
+
position: 'relative'
|
|
17742
|
+
}
|
|
17743
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
17744
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
17745
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
17746
|
+
path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$5 = bgimagesarray[0]) === null || _bgimagesarray$5 === void 0 ? void 0 : _bgimagesarray$5.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$6 = bgimagesarray[0]) === null || _bgimagesarray$6 === void 0 ? void 0 : _bgimagesarray$6.bgsection_image_ar) : '',
|
|
17747
|
+
"class": "d-flex d-sm-none",
|
|
17748
|
+
style: {
|
|
17749
|
+
height: '100%',
|
|
17750
|
+
width: '100%',
|
|
17751
|
+
margin: 0,
|
|
17752
|
+
padding: 0,
|
|
17753
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
17754
|
+
zIndex: -1,
|
|
17755
|
+
objectFit: 'contain'
|
|
17756
|
+
}
|
|
17757
|
+
}), /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
17758
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
17759
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
17760
|
+
path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$7 = bgimagesarray[0]) === null || _bgimagesarray$7 === void 0 ? void 0 : _bgimagesarray$7.bgsection_imageresponsive) : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$8 = bgimagesarray[0]) === null || _bgimagesarray$8 === void 0 ? void 0 : _bgimagesarray$8.bgsection_imageresponsive_ar) : '',
|
|
17761
|
+
"class": "d-none d-sm-flex",
|
|
17762
|
+
style: {
|
|
17763
|
+
height: '100%',
|
|
17764
|
+
width: '100%',
|
|
17765
|
+
margin: 0,
|
|
17766
|
+
padding: 0,
|
|
17767
|
+
objectFit: sectionproperties.bgcovercontainresponsive,
|
|
17768
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
17769
|
+
zIndex: -1
|
|
17770
|
+
}
|
|
17771
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17772
|
+
"class": "row m-0 w-100 pl-md-4 pr-md-4",
|
|
17773
|
+
style: {
|
|
17774
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
17775
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
17776
|
+
}
|
|
17689
17777
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17690
17778
|
"class": ' col-lg-12 p-0 text-start '
|
|
17691
17779
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -17704,7 +17792,7 @@
|
|
|
17704
17792
|
style: {
|
|
17705
17793
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
17706
17794
|
}
|
|
17707
|
-
})))));
|
|
17795
|
+
}))))));
|
|
17708
17796
|
};
|
|
17709
17797
|
|
|
17710
17798
|
function ownKeys$23(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|