tabexseriescomponents 0.0.433 → 0.0.435
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 +499 -96
- package/dist/index.esm.js +499 -96
- package/dist/index.umd.js +498 -97
- 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-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-icons/all-files/hi/HiOutlineTrash'), require('@react-icons/all-files/bi/BiSad'), require('@react-icons/all-files/fi/FiCalendar'), require('react-bootstrap/Dropdown'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('react-phone-input-2'), require('@react-icons/all-files/bs/BsChevronLeft'), require('@react-icons/all-files/bs/BsChevronRight'), require('@react-icons/all-files/ri/RiArrowUpSLine'), require('@react-icons/all-files/ri/RiArrowDownSLine'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), require('
|
|
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-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-icons/all-files/hi/HiOutlineTrash', '@react-icons/all-files/bi/BiSad', '@react-icons/all-files/fi/FiCalendar', 'react-bootstrap/Dropdown', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', 'react-phone-input-2', '@react-icons/all-files/bs/BsChevronLeft', '@react-icons/all-files/bs/BsChevronRight', '@react-icons/all-files/ri/RiArrowUpSLine', '@react-icons/all-files/ri/RiArrowDownSLine', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', '
|
|
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.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.HiOutlineTrash, global.BiSad, global.FiCalendar, global.Dropdown, global._asyncToGenerator, global._regeneratorRuntime, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.BsChevronLeft, global.BsChevronRight, null, null, global.IoIosArrowRoundForward, global.IoIosArrowRoundBack, global.
|
|
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, reactShare, FiMinus, FiPlus, ReactStars, FiLayers, TextareaAutosize, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, material, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, ReactPlayer, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, HiOutlineTrash, BiSad, FiCalendar, Dropdown, _asyncToGenerator, _regeneratorRuntime, HiUser, GrMail, FiCheckCircle, BiPhone, PhoneInput, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, IoIosArrowRoundForward, IoIosArrowRoundBack,
|
|
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-icons/all-files/hi/HiOutlineTrash'), require('@react-icons/all-files/bi/BiSad'), require('@react-icons/all-files/fi/FiCalendar'), require('react-bootstrap/Dropdown'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('react-phone-input-2'), require('@react-icons/all-files/bs/BsChevronLeft'), require('@react-icons/all-files/bs/BsChevronRight'), require('@react-icons/all-files/ri/RiArrowUpSLine'), require('@react-icons/all-files/ri/RiArrowDownSLine'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), require('@react-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-icons/all-files/hi/HiOutlineTrash', '@react-icons/all-files/bi/BiSad', '@react-icons/all-files/fi/FiCalendar', 'react-bootstrap/Dropdown', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', 'react-phone-input-2', '@react-icons/all-files/bs/BsChevronLeft', '@react-icons/all-files/bs/BsChevronRight', '@react-icons/all-files/ri/RiArrowUpSLine', '@react-icons/all-files/ri/RiArrowDownSLine', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', '@react-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.HiOutlineTrash, global.BiSad, global.FiCalendar, global.Dropdown, global._asyncToGenerator, global._regeneratorRuntime, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.BsChevronLeft, global.BsChevronRight, null, null, global.IoIosArrowRoundForward, global.IoIosArrowRoundBack, global.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, HiOutlineTrash, BiSad, FiCalendar, Dropdown, _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
|
|
|
@@ -2027,7 +2027,7 @@
|
|
|
2027
2027
|
setShowMore = _useState2[1];
|
|
2028
2028
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
2029
2029
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2030
|
-
"class": props.srcfromprops == 'undername' ? 'col-lg-12 p-0 w-100' : sectionproperties.gallerystyle == 'Style 1' ? 'col-lg-12 pl-5 pr-5 p-md-0 w-100' : 'col-lg-12 p-0 w-100'
|
|
2030
|
+
"class": props.srcfromprops == 'undername' ? 'col-lg-12 p-0 w-100' : props.srcfromprops == 'undername' ? 'col-lg-12 p-0 w-100' : sectionproperties.gallerystyle == 'Style 1' ? 'col-lg-12 pl-5 pr-5 p-md-0 w-100' : 'col-lg-12 p-0 w-100'
|
|
2031
2031
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2032
2032
|
"class": "row m-0 w-100"
|
|
2033
2033
|
}, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -2040,13 +2040,13 @@
|
|
|
2040
2040
|
fontWeight: sectionproperties.prodCatFontWeight
|
|
2041
2041
|
}
|
|
2042
2042
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.description_en) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.description_en) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2043
|
-
className:
|
|
2043
|
+
className: props.srcfromprops == 'collap' ? 'col-lg-12 p-0 d-flex justify-content-center' : 'col-lg-12 p-0 mb-4 d-flex justify-content-center'
|
|
2044
2044
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2045
2045
|
className: "row m-0 w-100 d-flex"
|
|
2046
2046
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2047
2047
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
2048
2048
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2049
|
-
className: '
|
|
2049
|
+
className: 'm-0 p-0 wordbreak',
|
|
2050
2050
|
style: {
|
|
2051
2051
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2052
2052
|
},
|
|
@@ -2114,11 +2114,11 @@
|
|
|
2114
2114
|
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; }
|
|
2115
2115
|
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; }
|
|
2116
2116
|
var Product_itemtype = function Product_itemtype(props) {
|
|
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, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40;
|
|
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;
|
|
2119
2119
|
var langdetect = props.actions.langdetect;
|
|
2120
2120
|
var srcfromprops = props.actions.srcfromprops;
|
|
2121
|
-
props.actions.returnpolicyobj;
|
|
2121
|
+
var returnpolicyobj = props.actions.returnpolicyobj;
|
|
2122
2122
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
2123
2123
|
var addtocartfunc = props.actions.addtocartfunc;
|
|
2124
2124
|
props.actions.selectproductoptionvalue;
|
|
@@ -2296,8 +2296,11 @@
|
|
|
2296
2296
|
style: {
|
|
2297
2297
|
minHeight: sectionproperties.height + 'vh'
|
|
2298
2298
|
}
|
|
2299
|
-
}, sectionproperties.gallerystyle == 'Style 2' &&
|
|
2300
|
-
|
|
2299
|
+
}, sectionproperties.gallerystyle == 'Style 2' &&
|
|
2300
|
+
/*#__PURE__*/
|
|
2301
|
+
// scrollhorizontalwithscrollbarremove
|
|
2302
|
+
React__default["default"].createElement("div", {
|
|
2303
|
+
"class": "w-100 scrollhorizontalwithscrollbar "
|
|
2301
2304
|
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productimages) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.productimages.map(function (item, index) {
|
|
2302
2305
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2303
2306
|
"class": ' scrollhorizontalcard mx-2 ',
|
|
@@ -2383,7 +2386,17 @@
|
|
|
2383
2386
|
// }
|
|
2384
2387
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2385
2388
|
className: sectionproperties.evencols == 'Yes' ? 'row m-0 w-100 mt-md-5' : 'row m-0 w-100'
|
|
2386
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2389
|
+
}, sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2390
|
+
className: 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-1 mt-3'
|
|
2391
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2392
|
+
className: ' m-0 p-0 wordbreak d-flex justify-content-start ',
|
|
2393
|
+
style: {
|
|
2394
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2395
|
+
fontWeight: 400,
|
|
2396
|
+
color: sectionproperties.measurementunitcolor,
|
|
2397
|
+
fontSize: sectionproperties.measurementunitcolor + 'px'
|
|
2398
|
+
}
|
|
2399
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2387
2400
|
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
|
|
2388
2401
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2389
2402
|
className: props.srcfromprops != 'templatedraftrouter' ? "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ' : "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 ',
|
|
@@ -2469,7 +2482,7 @@
|
|
|
2469
2482
|
size: sectionproperties.favBtnIconfontsize
|
|
2470
2483
|
}))))), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.skuposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2471
2484
|
"class": 'col-lg-12 p-0 my-3 d-flex justify-content-start'
|
|
2472
|
-
}, ProductsSKUContainer()), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.short_description_en) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2485
|
+
}, ProductsSKUContainer()), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.short_description_en) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2473
2486
|
"class": "col-lg-12 p-0"
|
|
2474
2487
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2475
2488
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -2481,7 +2494,7 @@
|
|
|
2481
2494
|
dangerouslySetInnerHTML: {
|
|
2482
2495
|
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.short_description_en
|
|
2483
2496
|
}
|
|
2484
|
-
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.short_description_ar) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2497
|
+
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.short_description_ar) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2485
2498
|
"class": "col-lg-12 p-0"
|
|
2486
2499
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2487
2500
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -2493,7 +2506,7 @@
|
|
|
2493
2506
|
dangerouslySetInnerHTML: {
|
|
2494
2507
|
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.short_description_ar
|
|
2495
2508
|
}
|
|
2496
|
-
}))), sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2509
|
+
}))), sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2497
2510
|
"class": "col-lg-12 p-0"
|
|
2498
2511
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2499
2512
|
"class": "row m-0 w-100"
|
|
@@ -2631,7 +2644,7 @@
|
|
|
2631
2644
|
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
2632
2645
|
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
2633
2646
|
}
|
|
2634
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2647
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.isproducthasquantitychange) == 1 && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2635
2648
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
2636
2649
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2637
2650
|
className: "m-0 p-0",
|
|
@@ -2896,7 +2909,220 @@
|
|
|
2896
2909
|
width: "20px",
|
|
2897
2910
|
height: "20px",
|
|
2898
2911
|
duration: "1s"
|
|
2899
|
-
}))))))), sectionproperties.
|
|
2912
|
+
}))))))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2913
|
+
"class": "col-lg-12 col-md-12 p-md-0 mt-3"
|
|
2914
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
2915
|
+
allowMultipleExpanded: true,
|
|
2916
|
+
allowZeroExpanded: true
|
|
2917
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2918
|
+
"class": "row m-0 w-100"
|
|
2919
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2920
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
|
|
2921
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2922
|
+
"class": "m-0 p-0",
|
|
2923
|
+
style: {
|
|
2924
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2925
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
2926
|
+
color: sectionproperties.prodCatColor,
|
|
2927
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
2928
|
+
}
|
|
2929
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2930
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
2931
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
2932
|
+
if (state.expanded == true) {
|
|
2933
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2934
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
2935
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus, {
|
|
2936
|
+
color: sectionproperties.prodCatColor
|
|
2937
|
+
}));
|
|
2938
|
+
} else {
|
|
2939
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2940
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
2941
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus, {
|
|
2942
|
+
color: sectionproperties.prodCatColor
|
|
2943
|
+
}));
|
|
2944
|
+
}
|
|
2945
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
2946
|
+
className: "p-0"
|
|
2947
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2948
|
+
"class": "col-lg-12 p-0 mt-3"
|
|
2949
|
+
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2950
|
+
actions: props.actions,
|
|
2951
|
+
srcfromprops: 'collap'
|
|
2952
|
+
})))))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2953
|
+
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
2954
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
2955
|
+
"class": "m-0"
|
|
2956
|
+
})), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2957
|
+
"class": "col-lg-12 col-md-12 p-md-0"
|
|
2958
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
2959
|
+
allowMultipleExpanded: true,
|
|
2960
|
+
allowZeroExpanded: true
|
|
2961
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2962
|
+
"class": "row m-0 w-100"
|
|
2963
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2964
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
|
|
2965
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2966
|
+
"class": "m-0 p-0",
|
|
2967
|
+
style: {
|
|
2968
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2969
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
2970
|
+
color: sectionproperties.prodCatColor,
|
|
2971
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
2972
|
+
}
|
|
2973
|
+
}, langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2974
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
2975
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
2976
|
+
if (state.expanded == true) {
|
|
2977
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2978
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
2979
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus, {
|
|
2980
|
+
color: sectionproperties.prodCatColor
|
|
2981
|
+
}));
|
|
2982
|
+
} else {
|
|
2983
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2984
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
2985
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus, {
|
|
2986
|
+
color: sectionproperties.prodCatColor
|
|
2987
|
+
}));
|
|
2988
|
+
}
|
|
2989
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
2990
|
+
className: "p-0"
|
|
2991
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2992
|
+
"class": "col-lg-12 p-0 mt-3"
|
|
2993
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2994
|
+
className: 'm-0 p-0 wordbreak',
|
|
2995
|
+
style: {
|
|
2996
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2997
|
+
color: sectionproperties.prodCatColor
|
|
2998
|
+
},
|
|
2999
|
+
dangerouslySetInnerHTML: {
|
|
3000
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.short_description_ar
|
|
3001
|
+
}
|
|
3002
|
+
})))))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3003
|
+
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
3004
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
3005
|
+
"class": "m-0"
|
|
3006
|
+
})), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3007
|
+
"class": "col-lg-12 col-md-12 p-md-0"
|
|
3008
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
3009
|
+
allowMultipleExpanded: true,
|
|
3010
|
+
allowZeroExpanded: true
|
|
3011
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3012
|
+
"class": "row m-0 w-100"
|
|
3013
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3014
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
|
|
3015
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3016
|
+
"class": "m-0 p-0 ",
|
|
3017
|
+
style: {
|
|
3018
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3019
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
3020
|
+
color: sectionproperties.prodCatColor,
|
|
3021
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
3022
|
+
}
|
|
3023
|
+
}, langdetect == 'en' ? sectionproperties.policiestitleen : sectionproperties.policiestitlear)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3024
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
3025
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
3026
|
+
if (state.expanded == true) {
|
|
3027
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3028
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
3029
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus, {
|
|
3030
|
+
color: sectionproperties.prodCatColor
|
|
3031
|
+
}));
|
|
3032
|
+
} else {
|
|
3033
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3034
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
3035
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus, {
|
|
3036
|
+
color: sectionproperties.prodCatColor
|
|
3037
|
+
}));
|
|
3038
|
+
}
|
|
3039
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
3040
|
+
className: "p-0"
|
|
3041
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3042
|
+
"class": "col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"
|
|
3043
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3044
|
+
"class": "h-100 allcentered mx-2"
|
|
3045
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiBox.FiBox, {
|
|
3046
|
+
size: 15,
|
|
3047
|
+
style: {
|
|
3048
|
+
color: sectionproperties.prodCatColor
|
|
3049
|
+
}
|
|
3050
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3051
|
+
"class": "m-0 p-0 text-uppercase",
|
|
3052
|
+
style: {
|
|
3053
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3054
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
3055
|
+
color: sectionproperties.prodCatColor,
|
|
3056
|
+
fontSize: '14px'
|
|
3057
|
+
}
|
|
3058
|
+
}, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3059
|
+
"class": "col-lg-12 p-0 mb-4 px-4"
|
|
3060
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3061
|
+
className: ' m-0 p-0 wordbreak ',
|
|
3062
|
+
style: {
|
|
3063
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3064
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
3065
|
+
color: sectionproperties.prodCatColor,
|
|
3066
|
+
fontSize: '15px'
|
|
3067
|
+
},
|
|
3068
|
+
dangerouslySetInnerHTML: {
|
|
3069
|
+
__html: langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policysummary_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policysummary_ar
|
|
3070
|
+
}
|
|
3071
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3072
|
+
"class": "col-lg-12 p-0 mb-4 px-4"
|
|
3073
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3074
|
+
className: ' m-0 p-0 wordbreak cursor-pointer ',
|
|
3075
|
+
style: {
|
|
3076
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3077
|
+
textDecoration: 'underline',
|
|
3078
|
+
color: sectionproperties.prodCatColor
|
|
3079
|
+
},
|
|
3080
|
+
onClick: function onClick() {
|
|
3081
|
+
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
3082
|
+
}
|
|
3083
|
+
}, "SEE MORE")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3084
|
+
"class": "col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"
|
|
3085
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3086
|
+
"class": "h-100 allcentered mx-2"
|
|
3087
|
+
}, /*#__PURE__*/React__default["default"].createElement(RiArrowGoBackLine.RiArrowGoBackLine, {
|
|
3088
|
+
size: 15,
|
|
3089
|
+
style: {
|
|
3090
|
+
color: sectionproperties.prodCatColor
|
|
3091
|
+
}
|
|
3092
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3093
|
+
"class": "m-0 p-0 text-uppercase",
|
|
3094
|
+
style: {
|
|
3095
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3096
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
3097
|
+
color: sectionproperties.prodCatColor,
|
|
3098
|
+
fontSize: '14px'
|
|
3099
|
+
}
|
|
3100
|
+
}, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3101
|
+
"class": "col-lg-12 p-0 mb-4 px-4"
|
|
3102
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3103
|
+
className: ' m-0 p-0 wordbreak ',
|
|
3104
|
+
style: {
|
|
3105
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3106
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
3107
|
+
color: sectionproperties.prodCatColor,
|
|
3108
|
+
fontSize: '15px'
|
|
3109
|
+
},
|
|
3110
|
+
dangerouslySetInnerHTML: {
|
|
3111
|
+
__html: langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policysummary_en : (_returnpolicyobj8 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policysummary_ar
|
|
3112
|
+
}
|
|
3113
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3114
|
+
"class": "col-lg-12 p-0 mb-4 px-4"
|
|
3115
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3116
|
+
className: ' m-0 p-0 wordbreak cursor-pointer ',
|
|
3117
|
+
style: {
|
|
3118
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3119
|
+
textDecoration: 'underline',
|
|
3120
|
+
color: sectionproperties.prodCatColor
|
|
3121
|
+
},
|
|
3122
|
+
onClick: function onClick() {
|
|
3123
|
+
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
3124
|
+
}
|
|
3125
|
+
}, "SEE MORE")))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2900
3126
|
className: "col-lg-12 p-0 mb-3"
|
|
2901
3127
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2902
3128
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -2919,7 +3145,7 @@
|
|
|
2919
3145
|
}
|
|
2920
3146
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2921
3147
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right ' : ' d-flex align-items-center justify-content-end wordbreak text-left '
|
|
2922
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3148
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.variants[variantindexcompleted]) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.variants[variantindexcompleted]) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2923
3149
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
2924
3150
|
style: {
|
|
2925
3151
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -2933,14 +3159,14 @@
|
|
|
2933
3159
|
style: {
|
|
2934
3160
|
textDecoration: 'none'
|
|
2935
3161
|
}
|
|
2936
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3162
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.variants[variantindexcompleted]) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2937
3163
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
2938
3164
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2939
3165
|
className: "ml-2 mr-2",
|
|
2940
3166
|
style: {
|
|
2941
3167
|
textDecoration: 'none'
|
|
2942
3168
|
}
|
|
2943
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3169
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2944
3170
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
2945
3171
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2946
3172
|
style: {
|
|
@@ -3016,7 +3242,7 @@
|
|
|
3016
3242
|
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; }
|
|
3017
3243
|
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; }
|
|
3018
3244
|
var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
3019
|
-
var
|
|
3245
|
+
var _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer17, _fetchProductInfoQuer18;
|
|
3020
3246
|
var langdetect = props.actions.langdetect;
|
|
3021
3247
|
var lang = props.actions.lang;
|
|
3022
3248
|
var sectionproperties = props.actions.sectionproperties;
|
|
@@ -3190,11 +3416,148 @@
|
|
|
3190
3416
|
}
|
|
3191
3417
|
})
|
|
3192
3418
|
};
|
|
3419
|
+
function getLastChoosedSlotIndex(slots) {
|
|
3420
|
+
var lastChoosedIndex = -1; // Initialize with -1 indicating no slot is choosed
|
|
3421
|
+
for (var i = 0; i < slots.length; i++) {
|
|
3422
|
+
if (slots[i].ischoosed) {
|
|
3423
|
+
lastChoosedIndex = i;
|
|
3424
|
+
}
|
|
3425
|
+
}
|
|
3426
|
+
return lastChoosedIndex;
|
|
3427
|
+
}
|
|
3428
|
+
var chooseitemslot = function chooseitemslot(slot, index) {
|
|
3429
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4;
|
|
3430
|
+
var reservedslottobetaken = null;
|
|
3431
|
+
var reservedslotArrtobetaken = [];
|
|
3432
|
+
var slotschooosedcounter_tobe_usedonly_in_merge = 0;
|
|
3433
|
+
var is_multi_slots = false;
|
|
3434
|
+
var is_slots_must_be_adjacent = false;
|
|
3435
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.serviceinfo) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.is_slots_adjacent) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.serviceinfo) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.is_slots_adjacent) == 1) {
|
|
3436
|
+
is_slots_must_be_adjacent = true;
|
|
3437
|
+
}
|
|
3438
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.serviceinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.is_slots_multi) != undefined && (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 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.serviceinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.is_slots_multi) == 1) {
|
|
3439
|
+
is_multi_slots = true;
|
|
3440
|
+
}
|
|
3441
|
+
var tempslots = _toConsumableArray__default["default"](slots);
|
|
3442
|
+
if (is_multi_slots == false) {
|
|
3443
|
+
tempslots === null || tempslots === void 0 || tempslots.forEach(function (item, index) {
|
|
3444
|
+
item.ischoosed = false;
|
|
3445
|
+
});
|
|
3446
|
+
}
|
|
3447
|
+
tempslots === null || tempslots === void 0 || tempslots.forEach(function (item, index) {
|
|
3448
|
+
if (item.ischoosed == true) {
|
|
3449
|
+
slotschooosedcounter_tobe_usedonly_in_merge = slotschooosedcounter_tobe_usedonly_in_merge + 1;
|
|
3450
|
+
}
|
|
3451
|
+
});
|
|
3452
|
+
if (is_slots_must_be_adjacent == false) {
|
|
3453
|
+
if (tempslots[index].ischoosed != undefined && tempslots[index].ischoosed != null) {
|
|
3454
|
+
if (tempslots[index].ischoosed == true) {
|
|
3455
|
+
tempslots[index].ischoosed = false;
|
|
3456
|
+
} else {
|
|
3457
|
+
tempslots[index].ischoosed = true;
|
|
3458
|
+
}
|
|
3459
|
+
} else {
|
|
3460
|
+
tempslots[index].ischoosed = true;
|
|
3461
|
+
}
|
|
3462
|
+
} else if (is_slots_must_be_adjacent == true) {
|
|
3463
|
+
var _tempslots$index;
|
|
3464
|
+
// Check if the selected slot is beside the previously selected slots
|
|
3465
|
+
if (slotschooosedcounter_tobe_usedonly_in_merge == 0) {
|
|
3466
|
+
if (tempslots[index].ischoosed != undefined && tempslots[index].ischoosed != null) {
|
|
3467
|
+
if (tempslots[index].ischoosed == true) {
|
|
3468
|
+
tempslots[index].ischoosed = false;
|
|
3469
|
+
} else {
|
|
3470
|
+
tempslots[index].ischoosed = true;
|
|
3471
|
+
}
|
|
3472
|
+
} else {
|
|
3473
|
+
tempslots[index].ischoosed = true;
|
|
3474
|
+
}
|
|
3475
|
+
} else if (slotschooosedcounter_tobe_usedonly_in_merge == 1 && ((_tempslots$index = tempslots[index]) === null || _tempslots$index === void 0 ? void 0 : _tempslots$index.ischoosed) == true) {
|
|
3476
|
+
if (tempslots[index].ischoosed != undefined && tempslots[index].ischoosed != null) {
|
|
3477
|
+
if (tempslots[index].ischoosed == true) {
|
|
3478
|
+
tempslots[index].ischoosed = false;
|
|
3479
|
+
}
|
|
3480
|
+
}
|
|
3481
|
+
} else if (index > 0 && tempslots[index - 1].ischoosed) {
|
|
3482
|
+
// The selected slot is beside the previous slot, mark it as chosen
|
|
3483
|
+
if (tempslots[index].ischoosed == true) {
|
|
3484
|
+
var lastSelectedIndex = getLastChoosedSlotIndex(tempslots);
|
|
3485
|
+
// if (lastSelectedIndex === index) {
|
|
3486
|
+
tempslots[lastSelectedIndex].ischoosed = false;
|
|
3487
|
+
// }
|
|
3488
|
+
} else {
|
|
3489
|
+
tempslots[index].ischoosed = true;
|
|
3490
|
+
}
|
|
3491
|
+
// tempslots[index].ischoosed = !tempslots[index].ischoosed;
|
|
3492
|
+
} else if (index < tempslots.length - 1 && tempslots[index + 1].ischoosed) {
|
|
3493
|
+
// The selected slot is beside the next slot, mark it as chosen
|
|
3494
|
+
if (tempslots[index].ischoosed == true) {
|
|
3495
|
+
var lastSelectedIndex = getLastChoosedSlotIndex(tempslots);
|
|
3496
|
+
// if (lastSelectedIndex === index) {
|
|
3497
|
+
tempslots[lastSelectedIndex].ischoosed = false;
|
|
3498
|
+
// }
|
|
3499
|
+
} else {
|
|
3500
|
+
tempslots[index].ischoosed = true;
|
|
3501
|
+
}
|
|
3502
|
+
// tempslots[index].ischoosed = !tempslots[index].ischoosed;
|
|
3503
|
+
} else {
|
|
3504
|
+
// The selected slot is not beside the previously selected slots
|
|
3505
|
+
// Handle this case according to your requirements (e.g., show an error message)
|
|
3506
|
+
NotificationManager.warning('', 'You can only choose slots beside each other.');
|
|
3507
|
+
}
|
|
3508
|
+
}
|
|
3509
|
+
setslots(_toConsumableArray__default["default"](tempslots));
|
|
3510
|
+
tempslots === null || tempslots === void 0 || tempslots.forEach(function (item, index) {
|
|
3511
|
+
if (item.ischoosed == true) {
|
|
3512
|
+
reservedslotArrtobetaken.push({
|
|
3513
|
+
slot: item.slot
|
|
3514
|
+
});
|
|
3515
|
+
}
|
|
3516
|
+
});
|
|
3517
|
+
if (reservedslotArrtobetaken.length != 0) {
|
|
3518
|
+
reservedslottobetaken = reservedslotArrtobetaken[0].slot;
|
|
3519
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3520
|
+
time: reservedslottobetaken,
|
|
3521
|
+
reserved_slots: reservedslotArrtobetaken,
|
|
3522
|
+
quantity: parseInt(reservedslotArrtobetaken.length)
|
|
3523
|
+
}));
|
|
3524
|
+
} else {
|
|
3525
|
+
NotificationManager.warning('', 'No Slots Reserved');
|
|
3526
|
+
}
|
|
3527
|
+
};
|
|
3528
|
+
// const chooseitemslot = (slot, index) => {
|
|
3529
|
+
// var reservedslottobetaken = null;
|
|
3530
|
+
// var reservedslotArrtobetaken = [];
|
|
3531
|
+
// var tempslots = [...slots];
|
|
3532
|
+
// if (tempslots[index].ischoosed != undefined && tempslots[index].ischoosed != null) {
|
|
3533
|
+
// if (tempslots[index].ischoosed == true) {
|
|
3534
|
+
// tempslots[index].ischoosed = false;
|
|
3535
|
+
// } else {
|
|
3536
|
+
// tempslots[index].ischoosed = true;
|
|
3537
|
+
// }
|
|
3538
|
+
// } else {
|
|
3539
|
+
// tempslots[index].ischoosed = true;
|
|
3540
|
+
// }
|
|
3541
|
+
|
|
3542
|
+
// setslots([...tempslots]);
|
|
3543
|
+
// tempslots?.forEach(function (item, index) {
|
|
3544
|
+
// if (item.ischoosed == true) {
|
|
3545
|
+
// reservedslotArrtobetaken.push({ slot: item.slot });
|
|
3546
|
+
// }
|
|
3547
|
+
// });
|
|
3548
|
+
|
|
3549
|
+
// if (reservedslotArrtobetaken.length != 0) {
|
|
3550
|
+
// reservedslottobetaken = reservedslotArrtobetaken[0].slot;
|
|
3551
|
+
// setaddtocardpayloadobj({ ...addtocardpayloadobj, time: reservedslottobetaken, reserved_slots: reservedslotArrtobetaken, quantity: parseInt(reservedslotArrtobetaken.length) });
|
|
3552
|
+
// } else {
|
|
3553
|
+
// NotificationManager.warning('', 'No Slots Reserved');
|
|
3554
|
+
// }
|
|
3555
|
+
// };
|
|
3193
3556
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3194
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3557
|
+
className: (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.serviceinfo) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.scheduletype) == 'minutes' ? 'col-lg-12 mt-3 p-0' : 'col-lg-10 mt-3 p-0'
|
|
3195
3558
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3196
3559
|
"class": "row m-0 w-100"
|
|
3197
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3560
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.serviceinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.scheduletype) == 'days' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3198
3561
|
"class": "row m-0 w-100"
|
|
3199
3562
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3200
3563
|
"class": "col-lg-6 col-md-12 col-sm-12 mb-2 pl-1 pr-1"
|
|
@@ -3209,8 +3572,8 @@
|
|
|
3209
3572
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
3210
3573
|
type: "date",
|
|
3211
3574
|
"class": TabsStyles.inputfield + ' w-100 allcentered pl-1 pr-1 ',
|
|
3212
|
-
min: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3213
|
-
max: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
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
|
+
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,
|
|
3214
3577
|
onChange: function onChange(event) {
|
|
3215
3578
|
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3216
3579
|
from: event.target.value
|
|
@@ -3236,7 +3599,7 @@
|
|
|
3236
3599
|
to: event.target.value
|
|
3237
3600
|
}));
|
|
3238
3601
|
}
|
|
3239
|
-
}))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3602
|
+
}))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.serviceinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.scheduletype) == 'minutes' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3240
3603
|
"class": "col-lg-12 col-md-12 col-sm-12 mb-2"
|
|
3241
3604
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3242
3605
|
"class": "row m-0 w-100"
|
|
@@ -3283,7 +3646,7 @@
|
|
|
3283
3646
|
"class": "w-100"
|
|
3284
3647
|
}, slots.map(function (item, index) {
|
|
3285
3648
|
var ischoosed = false;
|
|
3286
|
-
if (item.
|
|
3649
|
+
if (item.ischoosed) {
|
|
3287
3650
|
ischoosed = true;
|
|
3288
3651
|
}
|
|
3289
3652
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3303,9 +3666,8 @@
|
|
|
3303
3666
|
color: ischoosed ? sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? sectionproperties.generalbtn_textColoronhover : sectionproperties.generalbtn_textColor : ''
|
|
3304
3667
|
},
|
|
3305
3668
|
onClick: function onClick() {
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
}));
|
|
3669
|
+
chooseitemslot(item.slot, index);
|
|
3670
|
+
// setaddtocardpayloadobj({ ...addtocardpayloadobj, time: item.slot });
|
|
3309
3671
|
}
|
|
3310
3672
|
}, ischoosed == false && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar), ischoosed == true && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.generalbtn_bookedcontent : sectionproperties.generalbtn_bookedcontent_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3311
3673
|
"class": "col-sm-3 p-0 d-none d-sm-flex justify-content-end justify-content-sm-center align-items-sm-center"
|
|
@@ -3346,7 +3708,7 @@
|
|
|
3346
3708
|
}, slots.map(function (item, index) {
|
|
3347
3709
|
var _slot, _slot2;
|
|
3348
3710
|
var ischoosed = false;
|
|
3349
|
-
if (item.
|
|
3711
|
+
if (item.ischoosed) {
|
|
3350
3712
|
ischoosed = true;
|
|
3351
3713
|
}
|
|
3352
3714
|
var slot = item.slot;
|
|
@@ -3386,9 +3748,7 @@
|
|
|
3386
3748
|
"class": ischoosed == true ? TabsStyles.timeSlotContainer_active + ' allcentered cursor-pointer px-1 ' : TabsStyles.timeSlotContainer + ' allcentered cursor-pointer px-1 ',
|
|
3387
3749
|
style: {},
|
|
3388
3750
|
onClick: function onClick() {
|
|
3389
|
-
|
|
3390
|
-
time: item.slot
|
|
3391
|
-
}));
|
|
3751
|
+
chooseitemslot(item.slot, index);
|
|
3392
3752
|
}
|
|
3393
3753
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3394
3754
|
"class": ' p-0 m-0 '
|
|
@@ -3417,7 +3777,7 @@
|
|
|
3417
3777
|
className: "col-lg-12 p-0 mb-3"
|
|
3418
3778
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3419
3779
|
className: "row m-0 w-100"
|
|
3420
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3780
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.serviceinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.scheduletype) == 'days' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3421
3781
|
className: "col-lg-12 p-0"
|
|
3422
3782
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3423
3783
|
className: "row m-0 w-100"
|
|
@@ -3481,15 +3841,15 @@
|
|
|
3481
3841
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3482
3842
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 ',
|
|
3483
3843
|
onClick: function onClick() {
|
|
3484
|
-
var
|
|
3485
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3844
|
+
var _fetchProductInfoQuer11, _fetchProductInfoQuer12;
|
|
3845
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.serviceinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.scheduletype) == 'days') {
|
|
3486
3846
|
if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
|
|
3487
3847
|
addtocartfunc();
|
|
3488
3848
|
// if (sectionproperties.cartbtntype == 'Goes to checkout') {
|
|
3489
3849
|
// routingcountext(StaticPagesLinksContext.Checkout);
|
|
3490
3850
|
// }
|
|
3491
3851
|
}
|
|
3492
|
-
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3852
|
+
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.serviceinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.scheduletype) == 'minutes') {
|
|
3493
3853
|
if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
|
|
3494
3854
|
addtocartfunc();
|
|
3495
3855
|
// if (sectionproperties.cartbtntype == 'Goes to checkout') {
|
|
@@ -3522,7 +3882,7 @@
|
|
|
3522
3882
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3523
3883
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
3524
3884
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3525
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3885
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3526
3886
|
className: ' d-flex align-items-center justify-content-center '
|
|
3527
3887
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
3528
3888
|
color: "white",
|
|
@@ -3564,15 +3924,15 @@
|
|
|
3564
3924
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3565
3925
|
className: "".concat(productinfo_cssstyles.cart_btn) + ' w-100 d-flex align-items-center justify-content-center ',
|
|
3566
3926
|
onClick: function onClick() {
|
|
3567
|
-
var
|
|
3568
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3927
|
+
var _fetchProductInfoQuer15, _fetchProductInfoQuer16;
|
|
3928
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.serviceinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.scheduletype) == 'days') {
|
|
3569
3929
|
if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
|
|
3570
3930
|
addtocartfunc();
|
|
3571
3931
|
if (sectionproperties.cartbtntype == 'Goes to checkout') {
|
|
3572
3932
|
routingcountext(StaticPagesLinksContext.Checkout);
|
|
3573
3933
|
}
|
|
3574
3934
|
}
|
|
3575
|
-
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3935
|
+
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.serviceinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.scheduletype) == 'minutes') {
|
|
3576
3936
|
if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
|
|
3577
3937
|
addtocartfunc();
|
|
3578
3938
|
if (sectionproperties.cartbtntype == 'Goes to checkout') {
|
|
@@ -3605,7 +3965,7 @@
|
|
|
3605
3965
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3606
3966
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
3607
3967
|
size: sectionproperties.cartBtn_iconFontSize
|
|
3608
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3968
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3609
3969
|
className: ' d-flex align-items-center justify-content-center '
|
|
3610
3970
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
3611
3971
|
color: "white",
|
|
@@ -3649,13 +4009,13 @@
|
|
|
3649
4009
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3650
4010
|
className: "".concat(productinfo_cssstyles.checkoutbtn, " ") + ' d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 ',
|
|
3651
4011
|
onClick: function onClick() {
|
|
3652
|
-
var
|
|
3653
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4012
|
+
var _fetchProductInfoQuer19, _fetchProductInfoQuer20;
|
|
4013
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.serviceinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.scheduletype) == 'days') {
|
|
3654
4014
|
if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
|
|
3655
4015
|
addtocartfunc();
|
|
3656
4016
|
routingcountext(StaticPagesLinksContext.Checkout);
|
|
3657
4017
|
}
|
|
3658
|
-
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4018
|
+
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.serviceinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.scheduletype) == 'minutes') {
|
|
3659
4019
|
if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
|
|
3660
4020
|
addtocartfunc();
|
|
3661
4021
|
routingcountext(StaticPagesLinksContext.Checkout);
|
|
@@ -21963,40 +22323,14 @@
|
|
|
21963
22323
|
onClick: function onClick() {
|
|
21964
22324
|
setlang('en');
|
|
21965
22325
|
}
|
|
21966
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
21967
|
-
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
21968
|
-
style: {
|
|
21969
|
-
maxWidth: '2vh',
|
|
21970
|
-
maxHeight: '2vh'
|
|
21971
|
-
}
|
|
21972
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21973
|
-
style: {
|
|
21974
|
-
height: '20px',
|
|
21975
|
-
width: '1.5px',
|
|
21976
|
-
background: '#e6e6e6'
|
|
21977
|
-
},
|
|
21978
|
-
"class": "ml-2 mr-2"
|
|
21979
|
-
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22326
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21980
22327
|
"class": "m-0 p-0"
|
|
21981
22328
|
}, "\u0639")), langdetect == 'en' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21982
22329
|
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
|
|
21983
22330
|
onClick: function onClick() {
|
|
21984
22331
|
setlang('ar');
|
|
21985
22332
|
}
|
|
21986
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
21987
|
-
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
21988
|
-
style: {
|
|
21989
|
-
maxWidth: '2vh',
|
|
21990
|
-
maxHeight: '2vh'
|
|
21991
|
-
}
|
|
21992
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21993
|
-
style: {
|
|
21994
|
-
height: '20px',
|
|
21995
|
-
width: '1.5px',
|
|
21996
|
-
background: '#e6e6e6'
|
|
21997
|
-
},
|
|
21998
|
-
"class": "ml-2 mr-2"
|
|
21999
|
-
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22333
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22000
22334
|
"class": "m-0 p-0"
|
|
22001
22335
|
}, "En")), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22002
22336
|
"class": "allcentered"
|
|
@@ -44952,8 +45286,9 @@
|
|
|
44952
45286
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44953
45287
|
"class": "row m-0 w-100 d-none d-md-flex editor-accordion"
|
|
44954
45288
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
45289
|
+
"class": "w-100",
|
|
44955
45290
|
allowMultipleExpanded: true,
|
|
44956
|
-
|
|
45291
|
+
allowZeroExpanded: true
|
|
44957
45292
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44958
45293
|
"class": "row m-0 w-100"
|
|
44959
45294
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -44984,6 +45319,7 @@
|
|
|
44984
45319
|
"class": "row m-0 w-100 d-none d-md-flex editor-accordion"
|
|
44985
45320
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
44986
45321
|
allowMultipleExpanded: true,
|
|
45322
|
+
allowZeroExpanded: true,
|
|
44987
45323
|
"class": "w-100"
|
|
44988
45324
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44989
45325
|
"class": "row m-0 w-100"
|
|
@@ -45506,7 +45842,9 @@
|
|
|
45506
45842
|
}, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45507
45843
|
"class": "col-lg-12 col-md-12 d-none d-md-flex"
|
|
45508
45844
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
45509
|
-
"class": "w-100"
|
|
45845
|
+
"class": "w-100",
|
|
45846
|
+
allowMultipleExpanded: true,
|
|
45847
|
+
allowZeroExpanded: true
|
|
45510
45848
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45511
45849
|
"class": "row m-0 w-100"
|
|
45512
45850
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -45534,7 +45872,9 @@
|
|
|
45534
45872
|
}, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45535
45873
|
"class": "col-lg-12 col-md-12 d-none d-md-flex"
|
|
45536
45874
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
45537
|
-
"class": "w-100"
|
|
45875
|
+
"class": "w-100",
|
|
45876
|
+
allowMultipleExpanded: true,
|
|
45877
|
+
allowZeroExpanded: true
|
|
45538
45878
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45539
45879
|
"class": "row m-0 w-100"
|
|
45540
45880
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -70928,6 +71268,82 @@
|
|
|
70928
71268
|
fontWeight: sectionproperties.prodCatFontWeight
|
|
70929
71269
|
})
|
|
70930
71270
|
};
|
|
71271
|
+
var _useState5 = React.useState(''),
|
|
71272
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
71273
|
+
secondimage = _useState6[0],
|
|
71274
|
+
setsecondimage = _useState6[1];
|
|
71275
|
+
React.useEffect(function () {
|
|
71276
|
+
var _props$cardinfoitempr;
|
|
71277
|
+
setitem(props.cardinfoitemprops);
|
|
71278
|
+
if ((props === null || props === void 0 || (_props$cardinfoitempr = props.cardinfoitemprops) === null || _props$cardinfoitempr === void 0 || (_props$cardinfoitempr = _props$cardinfoitempr.productimages) === null || _props$cardinfoitempr === void 0 ? void 0 : _props$cardinfoitempr.length) == 1) {
|
|
71279
|
+
var _props$cardinfoitempr2;
|
|
71280
|
+
setsecondimage(props === null || props === void 0 || (_props$cardinfoitempr2 = props.cardinfoitemprops) === null || _props$cardinfoitempr2 === void 0 ? void 0 : _props$cardinfoitempr2.image);
|
|
71281
|
+
} else {
|
|
71282
|
+
var _props$cardinfoitempr3, _props$cardinfoitempr4;
|
|
71283
|
+
if ((props === null || props === void 0 ? void 0 : props.cardinfoitemprops) != undefined && (props === null || props === void 0 || (_props$cardinfoitempr3 = props.cardinfoitemprops) === null || _props$cardinfoitempr3 === void 0 ? void 0 : _props$cardinfoitempr3.productimages) != undefined && Array.isArray(props === null || props === void 0 || (_props$cardinfoitempr4 = props.cardinfoitemprops) === null || _props$cardinfoitempr4 === void 0 ? void 0 : _props$cardinfoitempr4.productimages)) {
|
|
71284
|
+
var _props$cardinfoitempr5, _props$cardinfoitempr6, _props$cardinfoitempr7;
|
|
71285
|
+
if ((props === null || props === void 0 || (_props$cardinfoitempr5 = props.cardinfoitemprops) === null || _props$cardinfoitempr5 === void 0 ? void 0 : _props$cardinfoitempr5.productimages[0]) != undefined && (props === null || props === void 0 || (_props$cardinfoitempr6 = props.cardinfoitemprops) === null || _props$cardinfoitempr6 === void 0 || (_props$cardinfoitempr6 = _props$cardinfoitempr6.productimages[0]) === null || _props$cardinfoitempr6 === void 0 ? void 0 : _props$cardinfoitempr6.path) == (props === null || props === void 0 || (_props$cardinfoitempr7 = props.cardinfoitemprops) === null || _props$cardinfoitempr7 === void 0 ? void 0 : _props$cardinfoitempr7.image)) {
|
|
71286
|
+
var _props$cardinfoitempr8;
|
|
71287
|
+
if ((props === null || props === void 0 || (_props$cardinfoitempr8 = props.cardinfoitemprops) === null || _props$cardinfoitempr8 === void 0 || (_props$cardinfoitempr8 = _props$cardinfoitempr8.productimages[1]) === null || _props$cardinfoitempr8 === void 0 ? void 0 : _props$cardinfoitempr8.length) != 0) {
|
|
71288
|
+
var _props$cardinfoitempr9;
|
|
71289
|
+
setsecondimage(props === null || props === void 0 || (_props$cardinfoitempr9 = props.cardinfoitemprops) === null || _props$cardinfoitempr9 === void 0 || (_props$cardinfoitempr9 = _props$cardinfoitempr9.productimages[1]) === null || _props$cardinfoitempr9 === void 0 ? void 0 : _props$cardinfoitempr9.path);
|
|
71290
|
+
} else {
|
|
71291
|
+
var _props$cardinfoitempr10;
|
|
71292
|
+
setsecondimage(props === null || props === void 0 || (_props$cardinfoitempr10 = props.cardinfoitemprops) === null || _props$cardinfoitempr10 === void 0 ? void 0 : _props$cardinfoitempr10.image);
|
|
71293
|
+
}
|
|
71294
|
+
} else {
|
|
71295
|
+
var _props$cardinfoitempr11;
|
|
71296
|
+
setsecondimage(props === null || props === void 0 || (_props$cardinfoitempr11 = props.cardinfoitemprops) === null || _props$cardinfoitempr11 === void 0 || (_props$cardinfoitempr11 = _props$cardinfoitempr11.productimages[0]) === null || _props$cardinfoitempr11 === void 0 ? void 0 : _props$cardinfoitempr11.path);
|
|
71297
|
+
}
|
|
71298
|
+
}
|
|
71299
|
+
}
|
|
71300
|
+
}, [props.cardinfoitemprops]);
|
|
71301
|
+
var Image = function Image(type) {
|
|
71302
|
+
var transition = false;
|
|
71303
|
+
if (sectionproperties.hideshowcardtransition == 'Show' && type != 'responsive') {
|
|
71304
|
+
transition = true;
|
|
71305
|
+
}
|
|
71306
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71307
|
+
"class": "w-100 cursor-pointer",
|
|
71308
|
+
style: {
|
|
71309
|
+
position: 'relative'
|
|
71310
|
+
}
|
|
71311
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
71312
|
+
"class": transition ? cardstyles$7.intialimage : '',
|
|
71313
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
71314
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
71315
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
71316
|
+
loading: "lazy",
|
|
71317
|
+
style: {
|
|
71318
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
71319
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
71320
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
71321
|
+
},
|
|
71322
|
+
onClick: function onClick(e) {
|
|
71323
|
+
e.stopPropagation();
|
|
71324
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
71325
|
+
}
|
|
71326
|
+
}), transition && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
71327
|
+
"class": cardstyles$7.secondaryimage,
|
|
71328
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
71329
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
71330
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + secondimage,
|
|
71331
|
+
loading: "lazy",
|
|
71332
|
+
style: {
|
|
71333
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
71334
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
71335
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
71336
|
+
},
|
|
71337
|
+
onClick: function onClick(e) {
|
|
71338
|
+
e.stopPropagation();
|
|
71339
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
71340
|
+
|
|
71341
|
+
// setShowProductInfoModalContext(true);
|
|
71342
|
+
// setProductIdProdutInfoModalContext(item.productid);
|
|
71343
|
+
}
|
|
71344
|
+
}));
|
|
71345
|
+
};
|
|
71346
|
+
|
|
70931
71347
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
70932
71348
|
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 px-md-1 ' : " ".concat(card_cssstyles.productcard),
|
|
70933
71349
|
style: {
|
|
@@ -71043,31 +71459,16 @@
|
|
|
71043
71459
|
direction: 'ltr'
|
|
71044
71460
|
}
|
|
71045
71461
|
}, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71046
|
-
|
|
71047
|
-
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
|
|
71048
|
-
// setShowProductInfoModalContext(true);
|
|
71049
|
-
// setProductIdProdutInfoModalContext(item.productid);
|
|
71050
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
71051
|
-
} else {
|
|
71052
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
71053
|
-
}
|
|
71054
|
-
},
|
|
71055
|
-
"class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center ',
|
|
71462
|
+
"class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$7.imagecontainer) + ' d-flex d-md-none ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-flex d-md-none ',
|
|
71056
71463
|
style: {
|
|
71057
|
-
zIndex: 1,
|
|
71058
71464
|
marginBottom: sectionproperties.image_mb + 'px'
|
|
71059
71465
|
}
|
|
71060
|
-
},
|
|
71061
|
-
|
|
71062
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
71063
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
71064
|
-
loading: "lazy",
|
|
71466
|
+
}, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71467
|
+
"class": card_cssstyles.productcardimagecont + ' d-none d-md-flex ',
|
|
71065
71468
|
style: {
|
|
71066
|
-
|
|
71067
|
-
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
71068
|
-
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
71469
|
+
marginBottom: sectionproperties.image_mb + 'px'
|
|
71069
71470
|
}
|
|
71070
|
-
})), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71471
|
+
}, Image('responsive')), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71071
71472
|
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
71072
71473
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
71073
71474
|
"class": "m-0 p-0"
|