tabexseriescomponents 0.0.279 → 0.0.280
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 +335 -104
- package/dist/index.esm.js +336 -105
- package/dist/index.umd.js +336 -105
- package/package.json +1 -1
- package/{srclibrary31-3.zip → srclibrary.zip} +0 -0
package/dist/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/assertThisInitialized'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('@react-icons/all-files/fa/FaFacebookF'), require('@react-icons/all-files/ai/AiOutlineUser'), require('@react-icons/all-files/io/IoMdClose'), require('react-bootstrap'), require('react-query'), require('react-image-gallery'), require('@react-icons/all-files/md/MdAddShoppingCart'), require('@react-icons/all-files/io5/IoBagHandleOutline'), require('@react-icons/all-files/bs/BsBag'), require('@react-icons/all-files/cg/CgShoppingBag'), require('@react-icons/all-files/fa/FaRegHeart'), require('@react-icons/all-files/fa/FaHeart'), require('@react-icons/all-files/fi/FiShoppingBag'), require('@react-icons/all-files/fi/FiShoppingCart'), require('@react-icons/all-files/ai/AiFillStar'), require('@react-icons/all-files/ai/AiOutlineStar'), require('react-share'), require('imagekitio-react'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('@mui/material'), require('@babel/runtime/helpers/toConsumableArray'), require('react-textarea-autosize'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-horizontal-scrolling-menu'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineMail'), require('@react-icons/all-files/fa/FaShippingFast'), require('@react-icons/all-files/ri/RiSecurePaymentLine'), require('@react-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fa/FaStar'), require('@react-icons/all-files/io5/IoLocationSharp'), require('@react-icons/all-files/hi/HiOutlineChevronRight'), require('@react-icons/all-files/hi/HiOutlineChevronLeft'), require('@react-icons/all-files/go/GoGlobe'), require('@react-icons/all-files/vsc/VscGlobe'), require('@react-icons/all-files/hi/HiOutlineTrash'), require('@react-icons/all-files/bi/BiSad'), require('@react-icons/all-files/fi/FiCalendar'), require('react-bootstrap/Dropdown'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('react-phone-input-2'), require('react-accessible-accordion'), require('@react-icons/all-files/bs/BsChevronLeft'), require('@react-icons/all-files/bs/BsChevronRight'), require('@react-icons/all-files/ri/RiArrowUpSLine'), require('@react-icons/all-files/ri/RiArrowDownSLine'), require('react-router-dom'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('@react-icons/all-files/fi/FiChevronUp'), require('@react-icons/all-files/fi/FiChevronDown'), require('react-input-range'), require('react-intersection-observer'), require('@react-icons/all-files/fa/FaArrowAltCircleRight'), require('@react-icons/all-files/fa/FaArrowAltCircleLeft'), require('@react-icons/all-files/fi/FiFilter'), require('@react-icons/all-files/fi/FiChevronLeft'), require('@react-icons/all-files/fi/FiChevronRight'), require('@react-icons/all-files/hi/HiOutlineArrowRight'), require('@react-icons/all-files/hi/HiOutlineArrowLeft'), require('react-paginate'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/hi/HiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineMinus'), require('@react-icons/all-files/md/MdKeyboardArrowDown'), require('@react-icons/all-files/fa/FaMoneyBillWave'), require('@react-icons/all-files/bi/BiLogOutCircle'), require('@react-icons/all-files/bi/BiChevronDown'), require('@react-icons/all-files/bi/BiUser'), require('@react-icons/all-files/ai/AiOutlineLogin'), require('@react-icons/all-files/ai/AiOutlineUserAdd'), require('@react-icons/all-files/ri/RiSearchLine'), require('@react-icons/all-files/cg/CgMenuLeft'), require('@react-icons/all-files/cg/CgMenuRight'), require('@react-icons/all-files/hi/HiOutlineShoppingBag'), require('@react-icons/all-files/ri/RiHandbagLine'), require('@react-icons/all-files/bi/BiSearch'), require('@react-icons/all-files/fi/FiUser'), require('@react-icons/all-files/ai/AiOutlineHeart'), require('@react-icons/all-files/fi/FiPhone'), require('@react-icons/all-files/hi/HiMenuAlt4'), require('@react-icons/all-files/fi/FiSearch'), require('@react-icons/all-files/bs/BsSearch'), require('@react-icons/all-files/ai/AiFillInstagram'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/go/GoSearch'), require('@react-icons/all-files/ai/AiOutlineInstagram'), require('@react-icons/all-files/bs/BsChevronDown'), require('@react-icons/all-files/bs/BsChevronUp'), require('@react-icons/all-files/ri/RiUserSettingsLine'), require('@react-icons/all-files/io5/IoClose'), require('@react-icons/all-files/hi/HiUserCircle'), require('@react-icons/all-files/md/MdKeyboardArrowUp'), require('@react-icons/all-files/bs/BsInfoCircle'), require('@react-icons/all-files/ai/AiFillPhone'), require('@react-icons/all-files/fa/FaTelegramPlane'), require('@react-icons/all-files/fa/FaPhoneAlt'), require('@react-icons/all-files/fa/FaPhone'), require('@react-icons/all-files/ai/AiOutlinePhone'), require('@react-icons/all-files/go/GoLocation'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('react-select'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), require('react-player'), require('react-background-slideshow'), require('@babel/runtime/helpers/extends'), require('react-slideshow-image'), require('@react-icons/all-files/hi/HiOutlineLocationMarker'), require('@react-icons/all-files/fi/FiPhoneCall'), require('@react-icons/all-files/fa/FaRegEye'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('@react-icons/all-files/bs/BsArrowRight'), require('@react-icons/all-files/bs/BsArrowLeft'), require('@react-icons/all-files/bs/BsEye'), require('@react-icons/all-files/bi/BiTimeFive'), require('@react-icons/all-files/io/IoIosArrowUp')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'react-query', 'react-image-gallery', '@react-icons/all-files/md/MdAddShoppingCart', '@react-icons/all-files/io5/IoBagHandleOutline', '@react-icons/all-files/bs/BsBag', '@react-icons/all-files/cg/CgShoppingBag', '@react-icons/all-files/fa/FaRegHeart', '@react-icons/all-files/fa/FaHeart', '@react-icons/all-files/fi/FiShoppingBag', '@react-icons/all-files/fi/FiShoppingCart', '@react-icons/all-files/ai/AiFillStar', '@react-icons/all-files/ai/AiOutlineStar', 'react-share', 'imagekitio-react', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', '@mui/material', '@babel/runtime/helpers/toConsumableArray', 'react-textarea-autosize', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-horizontal-scrolling-menu', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineMail', '@react-icons/all-files/fa/FaShippingFast', '@react-icons/all-files/ri/RiSecurePaymentLine', '@react-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fa/FaStar', '@react-icons/all-files/io5/IoLocationSharp', '@react-icons/all-files/hi/HiOutlineChevronRight', '@react-icons/all-files/hi/HiOutlineChevronLeft', '@react-icons/all-files/go/GoGlobe', '@react-icons/all-files/vsc/VscGlobe', '@react-icons/all-files/hi/HiOutlineTrash', '@react-icons/all-files/bi/BiSad', '@react-icons/all-files/fi/FiCalendar', 'react-bootstrap/Dropdown', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', 'react-phone-input-2', 'react-accessible-accordion', '@react-icons/all-files/bs/BsChevronLeft', '@react-icons/all-files/bs/BsChevronRight', '@react-icons/all-files/ri/RiArrowUpSLine', '@react-icons/all-files/ri/RiArrowDownSLine', 'react-router-dom', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', '@react-icons/all-files/fi/FiChevronUp', '@react-icons/all-files/fi/FiChevronDown', 'react-input-range', 'react-intersection-observer', '@react-icons/all-files/fa/FaArrowAltCircleRight', '@react-icons/all-files/fa/FaArrowAltCircleLeft', '@react-icons/all-files/fi/FiFilter', '@react-icons/all-files/fi/FiChevronLeft', '@react-icons/all-files/fi/FiChevronRight', '@react-icons/all-files/hi/HiOutlineArrowRight', '@react-icons/all-files/hi/HiOutlineArrowLeft', 'react-paginate', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/hi/HiOutlinePlus', '@react-icons/all-files/ai/AiOutlineMinus', '@react-icons/all-files/md/MdKeyboardArrowDown', '@react-icons/all-files/fa/FaMoneyBillWave', '@react-icons/all-files/bi/BiLogOutCircle', '@react-icons/all-files/bi/BiChevronDown', '@react-icons/all-files/bi/BiUser', '@react-icons/all-files/ai/AiOutlineLogin', '@react-icons/all-files/ai/AiOutlineUserAdd', '@react-icons/all-files/ri/RiSearchLine', '@react-icons/all-files/cg/CgMenuLeft', '@react-icons/all-files/cg/CgMenuRight', '@react-icons/all-files/hi/HiOutlineShoppingBag', '@react-icons/all-files/ri/RiHandbagLine', '@react-icons/all-files/bi/BiSearch', '@react-icons/all-files/fi/FiUser', '@react-icons/all-files/ai/AiOutlineHeart', '@react-icons/all-files/fi/FiPhone', '@react-icons/all-files/hi/HiMenuAlt4', '@react-icons/all-files/fi/FiSearch', '@react-icons/all-files/bs/BsSearch', '@react-icons/all-files/ai/AiFillInstagram', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/go/GoSearch', '@react-icons/all-files/ai/AiOutlineInstagram', '@react-icons/all-files/bs/BsChevronDown', '@react-icons/all-files/bs/BsChevronUp', '@react-icons/all-files/ri/RiUserSettingsLine', '@react-icons/all-files/io5/IoClose', '@react-icons/all-files/hi/HiUserCircle', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/fa/FaTelegramPlane', '@react-icons/all-files/fa/FaPhoneAlt', '@react-icons/all-files/fa/FaPhone', '@react-icons/all-files/ai/AiOutlinePhone', '@react-icons/all-files/go/GoLocation', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', 'react-select', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', 'react-player', 'react-background-slideshow', '@babel/runtime/helpers/extends', 'react-slideshow-image', '@react-icons/all-files/hi/HiOutlineLocationMarker', '@react-icons/all-files/fi/FiPhoneCall', '@react-icons/all-files/fa/FaRegEye', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', '@react-icons/all-files/bs/BsArrowRight', '@react-icons/all-files/bs/BsArrowLeft', '@react-icons/all-files/bs/BsEye', '@react-icons/all-files/bi/BiTimeFive', '@react-icons/all-files/io/IoIosArrowUp'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, null, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar, global.AiOutlineStar, global.reactShare, global.imagekitioReact, global.ReactStars, global.FiLayers, global.material, global._toConsumableArray, global.TextareaAutosize, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.HiOutlineTrash, global.BiSad, global.FiCalendar, global.Dropdown, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.reactAccessibleAccordion, global.BsChevronLeft, global.BsChevronRight, global.RiArrowUpSLine, global.RiArrowDownSLine, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.FiChevronUp, global.FiChevronDown, global.InputRange, global.reactIntersectionObserver, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.FiFilter, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.BiGlobe, null, null, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiFillInstagram, global.FaWhatsapp, global.GoSearch, global.AiOutlineInstagram, global.BsChevronDown, null, global.RiUserSettingsLine, global.IoClose, global.HiUserCircle, global.MdKeyboardArrowUp, global.BsInfoCircle, global.AiFillPhone, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.AiOutlinePhone, global.GoLocation, global.RiRoadMapLine, global.HiOutlineClock, global.Select$
|
|
5
|
-
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, reactQuery, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart, FiShoppingBag, FiShoppingCart, AiFillStar, AiOutlineStar, reactShare, imagekitioReact, ReactStars, FiLayers, material, _toConsumableArray, TextareaAutosize, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, HiOutlineTrash, BiSad, FiCalendar, Dropdown, HiUser, GrMail, FiCheckCircle, BiPhone, PhoneInput, reactAccessibleAccordion, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, reactRouterDom, IoBagCheckOutline, IoBagRemoveOutline, FiChevronUp, FiChevronDown, InputRange, reactIntersectionObserver, FaArrowAltCircleRight, FaArrowAltCircleLeft, FiFilter, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, BiGlobe, HiOutlinePlus, AiOutlineMinus, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiFillInstagram, FaWhatsapp, GoSearch, AiOutlineInstagram, BsChevronDown, BsChevronUp, RiUserSettingsLine, IoClose, HiUserCircle, MdKeyboardArrowUp, BsInfoCircle, AiFillPhone, FaTelegramPlane, FaPhoneAlt, FaPhone, AiOutlinePhone, GoLocation, RiRoadMapLine, HiOutlineClock, Select$
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, null, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar, global.AiOutlineStar, global.reactShare, global.imagekitioReact, global.ReactStars, global.FiLayers, global.material, global._toConsumableArray, global.TextareaAutosize, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.HiOutlineTrash, global.BiSad, global.FiCalendar, global.Dropdown, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.reactAccessibleAccordion, global.BsChevronLeft, global.BsChevronRight, global.RiArrowUpSLine, global.RiArrowDownSLine, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.FiChevronUp, global.FiChevronDown, global.InputRange, global.reactIntersectionObserver, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.FiFilter, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.BiGlobe, null, null, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiFillInstagram, global.FaWhatsapp, global.GoSearch, global.AiOutlineInstagram, global.BsChevronDown, null, global.RiUserSettingsLine, global.IoClose, global.HiUserCircle, global.MdKeyboardArrowUp, global.BsInfoCircle, global.AiFillPhone, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.AiOutlinePhone, global.GoLocation, global.RiRoadMapLine, global.HiOutlineClock, global.Select$3, global.IoIosArrowRoundForward, global.IoIosArrowRoundBack, global.ReactPlayer, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.FaRegEye, global.FiMinus, global.FiPlus, global.BsArrowRight, global.BsArrowLeft, global.BsEye, global.BiTimeFive, global.IoIosArrowUp));
|
|
5
|
+
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, reactQuery, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart, FiShoppingBag, FiShoppingCart, AiFillStar, AiOutlineStar, reactShare, imagekitioReact, ReactStars, FiLayers, material, _toConsumableArray, TextareaAutosize, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, HiOutlineTrash, BiSad, FiCalendar, Dropdown, HiUser, GrMail, FiCheckCircle, BiPhone, PhoneInput, reactAccessibleAccordion, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, reactRouterDom, IoBagCheckOutline, IoBagRemoveOutline, FiChevronUp, FiChevronDown, InputRange, reactIntersectionObserver, FaArrowAltCircleRight, FaArrowAltCircleLeft, FiFilter, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, BiGlobe, HiOutlinePlus, AiOutlineMinus, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiFillInstagram, FaWhatsapp, GoSearch, AiOutlineInstagram, BsChevronDown, BsChevronUp, RiUserSettingsLine, IoClose, HiUserCircle, MdKeyboardArrowUp, BsInfoCircle, AiFillPhone, FaTelegramPlane, FaPhoneAlt, FaPhone, AiOutlinePhone, GoLocation, RiRoadMapLine, HiOutlineClock, Select$3, IoIosArrowRoundForward, IoIosArrowRoundBack, ReactPlayer, BackgroundSlideshow, _extends, reactSlideshowImage, HiOutlineLocationMarker, FiPhoneCall, FaRegEye, FiMinus, FiPlus, BsArrowRight, BsArrowLeft, BsEye, BiTimeFive, IoIosArrowUp) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
var PhoneInput__default = /*#__PURE__*/_interopDefaultLegacy(PhoneInput);
|
|
27
27
|
var InputRange__default = /*#__PURE__*/_interopDefaultLegacy(InputRange);
|
|
28
28
|
var ReactPaginate__default = /*#__PURE__*/_interopDefaultLegacy(ReactPaginate);
|
|
29
|
-
var Select__default = /*#__PURE__*/_interopDefaultLegacy(Select$
|
|
29
|
+
var Select__default = /*#__PURE__*/_interopDefaultLegacy(Select$3);
|
|
30
30
|
var ReactPlayer__default = /*#__PURE__*/_interopDefaultLegacy(ReactPlayer);
|
|
31
31
|
var BackgroundSlideshow__default = /*#__PURE__*/_interopDefaultLegacy(BackgroundSlideshow);
|
|
32
32
|
var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
|
|
@@ -3391,7 +3391,7 @@
|
|
|
3391
3391
|
props.actions.TabexSectionsComponentsContext;
|
|
3392
3392
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
3393
3393
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
3394
|
-
|
|
3394
|
+
props.actions.serverbaselink;
|
|
3395
3395
|
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
3396
3396
|
var ProductIdProdutInfoModalContext = props.actions.ProductIdProdutInfoModalContext;
|
|
3397
3397
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
@@ -3541,15 +3541,15 @@
|
|
|
3541
3541
|
setfetchproductinfoObjContext(_objectSpread$1$({}, tempfetchproductinfoObjContext));
|
|
3542
3542
|
};
|
|
3543
3543
|
React.useEffect(function () {
|
|
3544
|
-
if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess) {
|
|
3544
|
+
if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
|
|
3545
3545
|
if (fetchProductInfoQueryContext.data.data.productinfo != null) {
|
|
3546
3546
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7;
|
|
3547
3547
|
var tempproductimagesarray = [];
|
|
3548
3548
|
if (Array.isArray(fetchProductInfoQueryContext.data.data.productinfo.productimages)) {
|
|
3549
3549
|
fetchProductInfoQueryContext.data.data.productinfo.productimages.forEach(function (arrayItem, arrayindex) {
|
|
3550
3550
|
var productimagesarrayobj = {
|
|
3551
|
-
thumbnail:
|
|
3552
|
-
original:
|
|
3551
|
+
thumbnail: (ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + arrayItem.path,
|
|
3552
|
+
original: (ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + arrayItem.path,
|
|
3553
3553
|
galleryid: arrayItem.galleryid
|
|
3554
3554
|
// description:
|
|
3555
3555
|
// // { dangerouslySetInnerHTML={{
|
|
@@ -3581,7 +3581,7 @@
|
|
|
3581
3581
|
}
|
|
3582
3582
|
}
|
|
3583
3583
|
}
|
|
3584
|
-
}, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data]);
|
|
3584
|
+
}, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data, ikimagecredcontext]);
|
|
3585
3585
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
3586
3586
|
var _productarr$data, _productarr$data$prod, _productarr$data$prod2;
|
|
3587
3587
|
var productarr = ProductInfoObj;
|
|
@@ -4885,7 +4885,7 @@
|
|
|
4885
4885
|
function ownKeys$1Z(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4886
4886
|
function _objectSpread$1Z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1Z(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1Z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4887
4887
|
var Ordershistory = function Ordershistory(props) {
|
|
4888
|
-
var _props$actions2, _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchorderhistoryQue4, _fetchorderhistoryQue5, _fetchorderhistoryQue6, _fetchorderhistoryQue7, _fetchorderhistoryQue8;
|
|
4888
|
+
var _props$actions2, _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchorderhistoryQue4, _fetchorderhistoryQue5, _fetchorderhistoryQue6, _fetchorderhistoryQue7, _fetchorderhistoryQue8, _fetchorderhistoryQue9, _fetchorderhistoryQue10, _fetchorderhistoryQue11, _fetchorderhistoryQue12, _fetchorderhistoryQue13, _fetchorderhistoryQue14;
|
|
4889
4889
|
var lang = props.actions.lang;
|
|
4890
4890
|
var langdetect = props.actions.langdetect;
|
|
4891
4891
|
var routingcountext = props.actions.routingcountext;
|
|
@@ -5700,7 +5700,20 @@
|
|
|
5700
5700
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
5701
5701
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5702
5702
|
className: "".concat(orderhistory_cssstyles.summarysectionstyles) + ' m-0 p-0 text-capitalize '
|
|
5703
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].orderitemstotalprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].
|
|
5703
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].orderitemstotalprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchorderhistoryQueryContext === null || fetchorderhistoryQueryContext === void 0 ? void 0 : (_fetchorderhistoryQue9 = fetchorderhistoryQueryContext.data) === null || _fetchorderhistoryQue9 === void 0 ? void 0 : (_fetchorderhistoryQue10 = _fetchorderhistoryQue9.data) === null || _fetchorderhistoryQue10 === void 0 ? void 0 : (_fetchorderhistoryQue11 = _fetchorderhistoryQue10.ordershistory[orderindex]) === null || _fetchorderhistoryQue11 === void 0 ? void 0 : _fetchorderhistoryQue11.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5704
|
+
className: "row m-0 w-100 mb-2"
|
|
5705
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5706
|
+
className: "col-lg-6 col-md-6 col-sm-6 d-flex p-0"
|
|
5707
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5708
|
+
className: "".concat(orderhistory_cssstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-center '
|
|
5709
|
+
}, langdetect == 'en' ? 'Wallet discount' : 'خصم المحفظة')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5710
|
+
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
5711
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5712
|
+
className: "".concat(orderhistory_cssstyles.summarysectionstyles) + ' m-0 p-0 text-capitalize ',
|
|
5713
|
+
style: {
|
|
5714
|
+
color: 'red'
|
|
5715
|
+
}
|
|
5716
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', fetchorderhistoryQueryContext === null || fetchorderhistoryQueryContext === void 0 ? void 0 : (_fetchorderhistoryQue12 = fetchorderhistoryQueryContext.data) === null || _fetchorderhistoryQue12 === void 0 ? void 0 : (_fetchorderhistoryQue13 = _fetchorderhistoryQue12.data) === null || _fetchorderhistoryQue13 === void 0 ? void 0 : (_fetchorderhistoryQue14 = _fetchorderhistoryQue13.ordershistory[orderindex]) === null || _fetchorderhistoryQue14 === void 0 ? void 0 : _fetchorderhistoryQue14.walletpointsused, langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].haspromocode == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5704
5717
|
className: "row m-0 w-100 mb-2"
|
|
5705
5718
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5706
5719
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex p-0"
|
|
@@ -6956,11 +6969,11 @@
|
|
|
6956
6969
|
|
|
6957
6970
|
function ownKeys$1V(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6958
6971
|
function _objectSpread$1V(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1V(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1V(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6959
|
-
var Select$
|
|
6972
|
+
var Select$2 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
6960
6973
|
return import('react-select');
|
|
6961
6974
|
});
|
|
6962
6975
|
var Checkout = function Checkout(props) {
|
|
6963
|
-
var _css, _checkoutstyles,
|
|
6976
|
+
var _css, _checkoutstyles, _fetchcustomercartQue91, _fetchcustomercartQue92, _fetchcustomercartQue93, _fetchcustomercartQue94, _fetchcustomercartQue95, _fetchcustomercartQue96, _fetchcustomercartQue105, _fetchcustomercartQue106, _fetchcustomercartQue107, _fetchcustomercartQue108, _fetchcustomercartQue109, _fetchcustomercartQue110, _fetchcustomercartQue111, _fetchcustomercartQue112, _fetchcustomercartQue113, _fetchcustomercartQue116, _fetchcustomercartQue117, _fetchcustomercartQue120, _fetchcustomercartQue121, _fetchcustomercartQue124, _fetchcustomercartQue125;
|
|
6964
6977
|
var _useState = React.useState(null),
|
|
6965
6978
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
6966
6979
|
timer = _useState2[0],
|
|
@@ -6974,6 +6987,7 @@
|
|
|
6974
6987
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
6975
6988
|
var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
6976
6989
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
6990
|
+
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
6977
6991
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
6978
6992
|
var fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
|
|
6979
6993
|
var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
@@ -7085,6 +7099,19 @@
|
|
|
7085
7099
|
ChooseState_CountryMutationContext.mutate(payloadobj);
|
|
7086
7100
|
}
|
|
7087
7101
|
};
|
|
7102
|
+
var usewalletpoints = function usewalletpoints() {
|
|
7103
|
+
GeneralAPIMutationContext.mutate({
|
|
7104
|
+
endpointurl: '/usewalletpoints',
|
|
7105
|
+
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
7106
|
+
if (data.data.status) {
|
|
7107
|
+
NotificationManager.success('', 'Success');
|
|
7108
|
+
fetchcustomercartQueryContext.refetch();
|
|
7109
|
+
} else {
|
|
7110
|
+
NotificationManager.warning('', data.data.reason);
|
|
7111
|
+
}
|
|
7112
|
+
}
|
|
7113
|
+
});
|
|
7114
|
+
};
|
|
7088
7115
|
var checkoutstyles = (_checkoutstyles = {
|
|
7089
7116
|
Salepricestyless: glamor.css({
|
|
7090
7117
|
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
@@ -7253,7 +7280,7 @@
|
|
|
7253
7280
|
border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
|
|
7254
7281
|
})), _checkoutstyles);
|
|
7255
7282
|
var Mycart = function Mycart() {
|
|
7256
|
-
var _fetchcustomercartQue37, _fetchcustomercartQue38, _fetchcustomercartQue39, _fetchcustomercartQue40, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _fetchcustomercartQue67, _fetchcustomercartQue68, _fetchcustomercartQue69, _fetchcustomercartQue70, _fetchcustomercartQue71, _fetchcustomercartQue72;
|
|
7283
|
+
var _fetchcustomercartQue37, _fetchcustomercartQue38, _fetchcustomercartQue39, _fetchcustomercartQue40, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _fetchcustomercartQue67, _fetchcustomercartQue68, _fetchcustomercartQue69, _fetchcustomercartQue70, _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue79, _fetchcustomercartQue80, _fetchcustomercartQue81, _fetchcustomercartQue82, _fetchcustomercartQue83, _fetchcustomercartQue84, _fetchcustomercartQue85, _fetchcustomercartQue86, _fetchcustomercartQue87, _fetchcustomercartQue88, _fetchcustomercartQue89, _fetchcustomercartQue90;
|
|
7257
7284
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7258
7285
|
className: "row m-0 w-100"
|
|
7259
7286
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -7421,7 +7448,39 @@
|
|
|
7421
7448
|
width: "20px",
|
|
7422
7449
|
height: "20px",
|
|
7423
7450
|
duration: "1s"
|
|
7424
|
-
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7451
|
+
})))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 ? void 0 : (_fetchcustomercartQue52 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue52 === void 0 ? void 0 : (_fetchcustomercartQue53 = _fetchcustomercartQue52.customercart) === null || _fetchcustomercartQue53 === void 0 ? void 0 : _fetchcustomercartQue53.availablewalletbalance) > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7452
|
+
className: "row m-0 w-100"
|
|
7453
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7454
|
+
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
7455
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7456
|
+
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-center wordbreak '
|
|
7457
|
+
}, langdetect == 'en' ? 'Wallet balance' : 'حساب المحفظة')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7458
|
+
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
7459
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7460
|
+
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
7461
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue54 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue54 === void 0 ? void 0 : (_fetchcustomercartQue55 = _fetchcustomercartQue54.data) === null || _fetchcustomercartQue55 === void 0 ? void 0 : (_fetchcustomercartQue56 = _fetchcustomercartQue55.customercart) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.availablewalletbalance, langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue57 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue57 === void 0 ? void 0 : (_fetchcustomercartQue58 = _fetchcustomercartQue57.data) === null || _fetchcustomercartQue58 === void 0 ? void 0 : (_fetchcustomercartQue59 = _fetchcustomercartQue58.customercart) === null || _fetchcustomercartQue59 === void 0 ? void 0 : _fetchcustomercartQue59.usewalletpoints) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7462
|
+
className: "col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0"
|
|
7463
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7464
|
+
style: {
|
|
7465
|
+
color: 'green',
|
|
7466
|
+
cursor: 'pointer'
|
|
7467
|
+
},
|
|
7468
|
+
onClick: function onClick() {
|
|
7469
|
+
usewalletpoints();
|
|
7470
|
+
}
|
|
7471
|
+
}, langdetect == 'en' ? 'Use Points' : 'إستخدام النقاط'))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue60 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : (_fetchcustomercartQue61 = _fetchcustomercartQue60.data) === null || _fetchcustomercartQue61 === void 0 ? void 0 : (_fetchcustomercartQue62 = _fetchcustomercartQue61.customercart) === null || _fetchcustomercartQue62 === void 0 ? void 0 : _fetchcustomercartQue62.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7472
|
+
className: "row m-0 w-100"
|
|
7473
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7474
|
+
className: "col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0"
|
|
7475
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7476
|
+
style: {
|
|
7477
|
+
color: 'red',
|
|
7478
|
+
cursor: 'pointer'
|
|
7479
|
+
},
|
|
7480
|
+
onClick: function onClick() {
|
|
7481
|
+
usewalletpoints();
|
|
7482
|
+
}
|
|
7483
|
+
}, langdetect == 'en' ? 'Remove Points' : 'حذف النقاط'))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7425
7484
|
className: "row m-0 w-100"
|
|
7426
7485
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7427
7486
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -7431,7 +7490,20 @@
|
|
|
7431
7490
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
7432
7491
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7433
7492
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
7434
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
7493
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue63 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue63 === void 0 ? void 0 : (_fetchcustomercartQue64 = _fetchcustomercartQue63.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue65 === void 0 ? void 0 : (_fetchcustomercartQue66 = _fetchcustomercartQue65.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : (_fetchcustomercartQue67 = _fetchcustomercartQue66.customercart) === null || _fetchcustomercartQue67 === void 0 ? void 0 : _fetchcustomercartQue67.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7494
|
+
className: "row m-0 w-100"
|
|
7495
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7496
|
+
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
7497
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7498
|
+
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-center wordbreak '
|
|
7499
|
+
}, "Wallet points used")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7500
|
+
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
7501
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7502
|
+
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left ',
|
|
7503
|
+
style: {
|
|
7504
|
+
color: 'red'
|
|
7505
|
+
}
|
|
7506
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue68 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : (_fetchcustomercartQue69 = _fetchcustomercartQue68.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : (_fetchcustomercartQue70 = _fetchcustomercartQue69.customercart) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.walletpointsused), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue71 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue71 === void 0 ? void 0 : (_fetchcustomercartQue72 = _fetchcustomercartQue71.data) === null || _fetchcustomercartQue72 === void 0 ? void 0 : _fetchcustomercartQue72.customercart.couponexists) && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 ? void 0 : (_fetchcustomercartQue74 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7435
7507
|
className: "col-lg-12 p-0 mb-1"
|
|
7436
7508
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7437
7509
|
className: "row m-0 w-100"
|
|
@@ -7443,7 +7515,7 @@
|
|
|
7443
7515
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
7444
7516
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7445
7517
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-left '
|
|
7446
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
7518
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : (_fetchcustomercartQue76 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "- ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : (_fetchcustomercartQue78 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.discountprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : (_fetchcustomercartQue80 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.discountprice) == 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "0"))))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7447
7519
|
className: "col-lg-12 p-0"
|
|
7448
7520
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7449
7521
|
className: "row m-0 w-100"
|
|
@@ -7451,11 +7523,11 @@
|
|
|
7451
7523
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
7452
7524
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7453
7525
|
className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
|
|
7454
|
-
}, lang.shippingfees)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
7526
|
+
}, lang.shippingfees)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : (_fetchcustomercartQue82 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7455
7527
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
7456
7528
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7457
7529
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
7458
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
7530
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : (_fetchcustomercartQue84 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.customercart.zoneprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue85 !== void 0 && (_fetchcustomercartQue86 = _fetchcustomercartQue85.data) !== null && _fetchcustomercartQue86 !== void 0 && _fetchcustomercartQue86.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7459
7531
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
7460
7532
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7461
7533
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
|
|
@@ -7494,7 +7566,7 @@
|
|
|
7494
7566
|
textTransform: sectionproperties.total_texttransform,
|
|
7495
7567
|
color: sectionproperties.total_color
|
|
7496
7568
|
}
|
|
7497
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
7569
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 ? void 0 : (_fetchcustomercartQue88 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.customercart.totalpriceafterdiscount).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7498
7570
|
"class": "col-lg-12 p-0 my-2 p-2 allcentered mb-3",
|
|
7499
7571
|
style: {
|
|
7500
7572
|
background: '#eee',
|
|
@@ -7524,7 +7596,7 @@
|
|
|
7524
7596
|
width: "20px",
|
|
7525
7597
|
height: "20px",
|
|
7526
7598
|
duration: "1s"
|
|
7527
|
-
}), !AddOrderMutationContext.isLoading ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
7599
|
+
}), !AddOrderMutationContext.isLoading ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 ? void 0 : (_fetchcustomercartQue90 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : lang.confirmorder + ' ' + lang.asaguest : ''))))));
|
|
7528
7600
|
};
|
|
7529
7601
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7530
7602
|
className: 'row m-0 w-100 d-flex justify-content-center p-sm-0 '
|
|
@@ -7681,7 +7753,7 @@
|
|
|
7681
7753
|
}, lang.name), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
7682
7754
|
type: 'text',
|
|
7683
7755
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
7684
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
7756
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 ? void 0 : (_fetchcustomercartQue92 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.customercart.name,
|
|
7685
7757
|
onChange: function onChange(event) {
|
|
7686
7758
|
cartinfoupdater('name', event.target.value);
|
|
7687
7759
|
},
|
|
@@ -7696,7 +7768,7 @@
|
|
|
7696
7768
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
7697
7769
|
type: 'text',
|
|
7698
7770
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
7699
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
7771
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 ? void 0 : (_fetchcustomercartQue94 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.customercart.mobile,
|
|
7700
7772
|
onChange: function onChange(event) {
|
|
7701
7773
|
cartinfoupdater('mobile', event.target.value);
|
|
7702
7774
|
},
|
|
@@ -7711,7 +7783,7 @@
|
|
|
7711
7783
|
}, lang.email), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
7712
7784
|
type: 'text',
|
|
7713
7785
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
7714
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
7786
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 ? void 0 : (_fetchcustomercartQue96 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.customercart.email,
|
|
7715
7787
|
onChange: function onChange(event) {
|
|
7716
7788
|
cartinfoupdater('email', event.target.value);
|
|
7717
7789
|
},
|
|
@@ -7733,7 +7805,7 @@
|
|
|
7733
7805
|
width: "20px",
|
|
7734
7806
|
height: "20px",
|
|
7735
7807
|
duration: "1s"
|
|
7736
|
-
})), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$
|
|
7808
|
+
})), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
7737
7809
|
options: fetchTabexCountriesQueryContext.data.data.countries,
|
|
7738
7810
|
getOptionLabel: function getOptionLabel(option) {
|
|
7739
7811
|
var crname = '';
|
|
@@ -7752,8 +7824,8 @@
|
|
|
7752
7824
|
return option.id;
|
|
7753
7825
|
},
|
|
7754
7826
|
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
7755
|
-
var
|
|
7756
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
7827
|
+
var _fetchcustomercartQue97, _fetchcustomercartQue98;
|
|
7828
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue97 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue97 === void 0 ? void 0 : (_fetchcustomercartQue98 = _fetchcustomercartQue97.data) === null || _fetchcustomercartQue98 === void 0 ? void 0 : _fetchcustomercartQue98.customercart.countryid);
|
|
7757
7829
|
}),
|
|
7758
7830
|
onChange: function onChange(option) {
|
|
7759
7831
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1V({}, FetchTabexStatesPayloadobjContext);
|
|
@@ -7776,7 +7848,7 @@
|
|
|
7776
7848
|
width: "20px",
|
|
7777
7849
|
height: "20px",
|
|
7778
7850
|
duration: "1s"
|
|
7779
|
-
})), !fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$
|
|
7851
|
+
})), !fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
7780
7852
|
options: fetchTabexStatesQueryContext.data.data.states
|
|
7781
7853
|
// getOptionLabel={(option) => option.name}
|
|
7782
7854
|
// getOptionValue={(option) => option.id}
|
|
@@ -7798,12 +7870,12 @@
|
|
|
7798
7870
|
return option.id;
|
|
7799
7871
|
},
|
|
7800
7872
|
value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
|
|
7801
|
-
var
|
|
7802
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
7873
|
+
var _fetchcustomercartQue99, _fetchcustomercartQue100;
|
|
7874
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue99 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue99 === void 0 ? void 0 : (_fetchcustomercartQue100 = _fetchcustomercartQue99.data) === null || _fetchcustomercartQue100 === void 0 ? void 0 : _fetchcustomercartQue100.customercart.stateid);
|
|
7803
7875
|
}),
|
|
7804
7876
|
onChange: function onChange(option) {
|
|
7805
|
-
var
|
|
7806
|
-
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
7877
|
+
var _fetchcustomercartQue101, _fetchcustomercartQue102;
|
|
7878
|
+
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue101 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue101 === void 0 ? void 0 : (_fetchcustomercartQue102 = _fetchcustomercartQue101.data) === null || _fetchcustomercartQue102 === void 0 ? void 0 : _fetchcustomercartQue102.customercart.countryid.length) != 0) {
|
|
7807
7879
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1V({}, FetchTabexStatesPayloadobjContext);
|
|
7808
7880
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
7809
7881
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
@@ -7827,7 +7899,7 @@
|
|
|
7827
7899
|
width: "20px",
|
|
7828
7900
|
height: "20px",
|
|
7829
7901
|
duration: "1s"
|
|
7830
|
-
})), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$
|
|
7902
|
+
})), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
7831
7903
|
options: fetchTabexCitiesQueryContext.data.data.cities,
|
|
7832
7904
|
getOptionLabel: function getOptionLabel(option) {
|
|
7833
7905
|
var crname = '';
|
|
@@ -7846,8 +7918,8 @@
|
|
|
7846
7918
|
return option.id;
|
|
7847
7919
|
},
|
|
7848
7920
|
value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
|
|
7849
|
-
var
|
|
7850
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
7921
|
+
var _fetchcustomercartQue103, _fetchcustomercartQue104;
|
|
7922
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue103 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue103 === void 0 ? void 0 : (_fetchcustomercartQue104 = _fetchcustomercartQue103.data) === null || _fetchcustomercartQue104 === void 0 ? void 0 : _fetchcustomercartQue104.customercart.cityid);
|
|
7851
7923
|
}),
|
|
7852
7924
|
onChange: function onChange(option) {
|
|
7853
7925
|
cartinfoupdater('cityid', option.id);
|
|
@@ -7862,7 +7934,7 @@
|
|
|
7862
7934
|
}, lang.shippingaddress), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
7863
7935
|
type: 'text',
|
|
7864
7936
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
7865
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
7937
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue105 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue105 === void 0 ? void 0 : (_fetchcustomercartQue106 = _fetchcustomercartQue105.data) === null || _fetchcustomercartQue106 === void 0 ? void 0 : _fetchcustomercartQue106.customercart.address,
|
|
7866
7938
|
onChange: function onChange(event) {
|
|
7867
7939
|
cartinfoupdater('address', event.target.value);
|
|
7868
7940
|
},
|
|
@@ -7877,7 +7949,7 @@
|
|
|
7877
7949
|
}, langdetect == 'en' ? 'Notes' : 'الملاحظات'), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
7878
7950
|
type: 'text',
|
|
7879
7951
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
7880
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
7952
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue107 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue107 === void 0 ? void 0 : (_fetchcustomercartQue108 = _fetchcustomercartQue107.data) === null || _fetchcustomercartQue108 === void 0 ? void 0 : _fetchcustomercartQue108.customercart.notes,
|
|
7881
7953
|
onChange: function onChange(event) {
|
|
7882
7954
|
cartinfoupdater('notes', event.target.value);
|
|
7883
7955
|
},
|
|
@@ -7892,7 +7964,7 @@
|
|
|
7892
7964
|
}, langdetect == 'en' ? 'Affiliate code' : 'رمز المسوق'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
7893
7965
|
type: 'number',
|
|
7894
7966
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
7895
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
7967
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue109 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue109 === void 0 ? void 0 : (_fetchcustomercartQue110 = _fetchcustomercartQue109.data) === null || _fetchcustomercartQue110 === void 0 ? void 0 : (_fetchcustomercartQue111 = _fetchcustomercartQue110.customercart) === null || _fetchcustomercartQue111 === void 0 ? void 0 : _fetchcustomercartQue111.aff_code,
|
|
7896
7968
|
onChange: function onChange(event) {
|
|
7897
7969
|
cartinfoupdater('aff_code', event.target.value);
|
|
7898
7970
|
},
|
|
@@ -7923,10 +7995,10 @@
|
|
|
7923
7995
|
id: 'codcheckbox',
|
|
7924
7996
|
type: "checkbox",
|
|
7925
7997
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
7926
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
7998
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue112 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue112 === void 0 ? void 0 : (_fetchcustomercartQue113 = _fetchcustomercartQue112.data) === null || _fetchcustomercartQue113 === void 0 ? void 0 : _fetchcustomercartQue113.customercart.paymentmethod) == 'cod' ? true : false,
|
|
7927
7999
|
onChange: function onChange() {
|
|
7928
|
-
var
|
|
7929
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8000
|
+
var _fetchcustomercartQue114, _fetchcustomercartQue115;
|
|
8001
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue114 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue114 === void 0 ? void 0 : (_fetchcustomercartQue115 = _fetchcustomercartQue114.data) === null || _fetchcustomercartQue115 === void 0 ? void 0 : _fetchcustomercartQue115.customercart.paymentmethod) != 'cod') {
|
|
7930
8002
|
cartinfoupdater('paymentmethod', 'cod');
|
|
7931
8003
|
}
|
|
7932
8004
|
}
|
|
@@ -7945,10 +8017,10 @@
|
|
|
7945
8017
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
7946
8018
|
type: "checkbox",
|
|
7947
8019
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
7948
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8020
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue116 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue116 === void 0 ? void 0 : (_fetchcustomercartQue117 = _fetchcustomercartQue116.data) === null || _fetchcustomercartQue117 === void 0 ? void 0 : _fetchcustomercartQue117.customercart.paymentmethod) == 'cardondelivery' ? true : false,
|
|
7949
8021
|
onChange: function onChange() {
|
|
7950
|
-
var
|
|
7951
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8022
|
+
var _fetchcustomercartQue118, _fetchcustomercartQue119;
|
|
8023
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue118 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue118 === void 0 ? void 0 : (_fetchcustomercartQue119 = _fetchcustomercartQue118.data) === null || _fetchcustomercartQue119 === void 0 ? void 0 : _fetchcustomercartQue119.customercart.paymentmethod) != 'cardondelivery') {
|
|
7952
8024
|
cartinfoupdater('paymentmethod', 'cardondelivery');
|
|
7953
8025
|
}
|
|
7954
8026
|
}
|
|
@@ -7966,10 +8038,10 @@
|
|
|
7966
8038
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
7967
8039
|
type: "checkbox",
|
|
7968
8040
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
7969
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8041
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue120 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue120 === void 0 ? void 0 : (_fetchcustomercartQue121 = _fetchcustomercartQue120.data) === null || _fetchcustomercartQue121 === void 0 ? void 0 : _fetchcustomercartQue121.customercart.paymentmethod) == 'onlinepayment' ? true : false,
|
|
7970
8042
|
onChange: function onChange() {
|
|
7971
|
-
var
|
|
7972
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8043
|
+
var _fetchcustomercartQue122, _fetchcustomercartQue123;
|
|
8044
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue122 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue122 === void 0 ? void 0 : (_fetchcustomercartQue123 = _fetchcustomercartQue122.data) === null || _fetchcustomercartQue123 === void 0 ? void 0 : _fetchcustomercartQue123.customercart.paymentmethod) != 'onlinepayment') {
|
|
7973
8045
|
cartinfoupdater('paymentmethod', 'onlinepayment');
|
|
7974
8046
|
}
|
|
7975
8047
|
}
|
|
@@ -7980,7 +8052,7 @@
|
|
|
7980
8052
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
7981
8053
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7982
8054
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
7983
|
-
}, " ", lang.onlinepayment)))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8055
|
+
}, " ", lang.onlinepayment)))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue124 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue124 === void 0 ? void 0 : (_fetchcustomercartQue125 = _fetchcustomercartQue124.data) === null || _fetchcustomercartQue125 === void 0 ? void 0 : _fetchcustomercartQue125.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7984
8056
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
7985
8057
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7986
8058
|
style: {
|
|
@@ -8087,7 +8159,7 @@
|
|
|
8087
8159
|
|
|
8088
8160
|
function ownKeys$1U(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8089
8161
|
function _objectSpread$1U(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1U(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1U(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8090
|
-
var Select = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
8162
|
+
var Select$1 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
8091
8163
|
return import('react-select');
|
|
8092
8164
|
});
|
|
8093
8165
|
var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
@@ -8454,7 +8526,7 @@
|
|
|
8454
8526
|
width: "20px",
|
|
8455
8527
|
height: "20px",
|
|
8456
8528
|
duration: "1s"
|
|
8457
|
-
})), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
8529
|
+
})), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$1, {
|
|
8458
8530
|
options: fetchTabexCountriesQueryContext.data.data.countries,
|
|
8459
8531
|
getOptionLabel: function getOptionLabel(option) {
|
|
8460
8532
|
var crname = '';
|
|
@@ -8502,11 +8574,11 @@
|
|
|
8502
8574
|
width: "20px",
|
|
8503
8575
|
height: "20px",
|
|
8504
8576
|
duration: "1s"
|
|
8505
|
-
})), FetchTabexStatesPayloadobjContext.country_id == '' && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
8577
|
+
})), FetchTabexStatesPayloadobjContext.country_id == '' && /*#__PURE__*/React__default["default"].createElement(Select$1, {
|
|
8506
8578
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
8507
8579
|
placeholder: lang.choosestategov,
|
|
8508
8580
|
isSearchable: true
|
|
8509
|
-
}), !fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
8581
|
+
}), !fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$1, {
|
|
8510
8582
|
options: fetchTabexStatesQueryContext.data.data.states,
|
|
8511
8583
|
getOptionLabel: function getOptionLabel(option) {
|
|
8512
8584
|
var crname = '';
|
|
@@ -8554,11 +8626,11 @@
|
|
|
8554
8626
|
width: "20px",
|
|
8555
8627
|
height: "20px",
|
|
8556
8628
|
duration: "1s"
|
|
8557
|
-
})), FetchTabexStatesPayloadobjContext.country_id == '' && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
8629
|
+
})), FetchTabexStatesPayloadobjContext.country_id == '' && /*#__PURE__*/React__default["default"].createElement(Select$1, {
|
|
8558
8630
|
placeholder: lang.choosecity,
|
|
8559
8631
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
8560
8632
|
isSearchable: true
|
|
8561
|
-
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
8633
|
+
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$1, {
|
|
8562
8634
|
options: fetchTabexCitiesQueryContext.data.data.cities,
|
|
8563
8635
|
getOptionLabel: function getOptionLabel(option) {
|
|
8564
8636
|
var crname = '';
|
|
@@ -10749,8 +10821,11 @@
|
|
|
10749
10821
|
|
|
10750
10822
|
function ownKeys$1N(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10751
10823
|
function _objectSpread$1N(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1N(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1N(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10824
|
+
var Select = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
10825
|
+
return import('react-select');
|
|
10826
|
+
});
|
|
10752
10827
|
var Filter$1 = function Filter(props) {
|
|
10753
|
-
var _authdetailsContext$i;
|
|
10828
|
+
var _authdetailsContext$i, _fetchTabexCountriesQ, _fetchTabexCountriesQ2, _fetchTabexStatesQuer, _fetchTabexStatesQuer2, _fetchTabexStatesQuer3, _fetchTabexStatesQuer4, _fetchTabexCitiesQuer, _fetchTabexCitiesQuer2, _fetchTabexCitiesQuer3, _fetchTabexCitiesQuer4;
|
|
10754
10829
|
var lang = props.actions.lang;
|
|
10755
10830
|
var langdetect = props.actions.langdetect;
|
|
10756
10831
|
props.actions.productfiltercontext;
|
|
@@ -10761,6 +10836,13 @@
|
|
|
10761
10836
|
var routingcountext = props.actions.routingcountext;
|
|
10762
10837
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
10763
10838
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
10839
|
+
var fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
|
|
10840
|
+
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
10841
|
+
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
10842
|
+
var fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
|
|
10843
|
+
var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
10844
|
+
var FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
|
|
10845
|
+
var setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
|
|
10764
10846
|
var _useState = React.useState(''),
|
|
10765
10847
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
10766
10848
|
sectionproperties = _useState2[0],
|
|
@@ -10788,9 +10870,6 @@
|
|
|
10788
10870
|
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
10789
10871
|
raterangevalue = _useState12[0],
|
|
10790
10872
|
setraterangevalue = _useState12[1];
|
|
10791
|
-
props.actions.fetchTabexCountriesQueryContext;
|
|
10792
|
-
props.actions.FetchQueriesEngineContext;
|
|
10793
|
-
props.actions.setFetchQueriesEngineContext;
|
|
10794
10873
|
var timeoutRef = React__default["default"].useRef(null);
|
|
10795
10874
|
var _useState13 = React.useState([{
|
|
10796
10875
|
payloadvalue: 'sortprice',
|
|
@@ -10852,19 +10931,28 @@
|
|
|
10852
10931
|
}
|
|
10853
10932
|
}, 500);
|
|
10854
10933
|
}, [raterangevalue]);
|
|
10855
|
-
|
|
10856
|
-
|
|
10857
|
-
|
|
10858
|
-
|
|
10859
|
-
|
|
10860
|
-
|
|
10861
|
-
|
|
10862
|
-
|
|
10863
|
-
|
|
10864
|
-
|
|
10865
|
-
// alert(JSON.stringify(FetchQueriesEngineContext));
|
|
10866
|
-
// }, []);
|
|
10934
|
+
React.useEffect(function () {
|
|
10935
|
+
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
10936
|
+
if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
|
|
10937
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1N({}, FetchTabexStatesPayloadobjContext);
|
|
10938
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
10939
|
+
tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
|
|
10940
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$1N({}, tempFetchTabexStatesPayloadobjContext));
|
|
10941
|
+
}
|
|
10942
|
+
}
|
|
10943
|
+
}, [fetchTabexStatesQueryContext.isSuccess]);
|
|
10867
10944
|
var filterupdater = function filterupdater() {
|
|
10945
|
+
setTimeout(function () {
|
|
10946
|
+
var tempFetchQueriesEngineContext = _objectSpread$1N({}, FetchQueriesEngineContext);
|
|
10947
|
+
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
10948
|
+
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
10949
|
+
}, 100);
|
|
10950
|
+
if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
|
|
10951
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1N({}, FetchTabexStatesPayloadobjContext);
|
|
10952
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
10953
|
+
tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
|
|
10954
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$1N({}, tempFetchTabexStatesPayloadobjContext));
|
|
10955
|
+
}
|
|
10868
10956
|
if (instfilters.length != 0) {
|
|
10869
10957
|
var _ProductFilterObjCont;
|
|
10870
10958
|
var tempinstfilters = _toConsumableArray__default["default"](instfilters);
|
|
@@ -10950,8 +11038,10 @@
|
|
|
10950
11038
|
}
|
|
10951
11039
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
10952
11040
|
setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
|
|
10953
|
-
|
|
11041
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
11042
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
10954
11043
|
};
|
|
11044
|
+
|
|
10955
11045
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
10956
11046
|
var _tempfetchproductsfil2;
|
|
10957
11047
|
var tempfetchproductsfilerobjcontext = _objectSpread$1N({}, ProductFilterObjContext);
|
|
@@ -10967,8 +11057,10 @@
|
|
|
10967
11057
|
}
|
|
10968
11058
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
10969
11059
|
setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
|
|
10970
|
-
|
|
11060
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
11061
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
10971
11062
|
};
|
|
11063
|
+
|
|
10972
11064
|
var CategoriesFilter = function CategoriesFilter() {
|
|
10973
11065
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10974
11066
|
"class": "col-lg-12 p-0"
|
|
@@ -11297,6 +11389,19 @@
|
|
|
11297
11389
|
}
|
|
11298
11390
|
})
|
|
11299
11391
|
};
|
|
11392
|
+
var filterrouting = function filterrouting(tempfetchproductsfilerobjcontext) {
|
|
11393
|
+
var path = window.location.pathname.split('/');
|
|
11394
|
+
var currentpagepath = path[1];
|
|
11395
|
+
var pagenamepathinstaticpagelinkcont = '';
|
|
11396
|
+
for (var key in StaticPagesLinksContext) {
|
|
11397
|
+
if (StaticPagesLinksContext[key] == currentpagepath) {
|
|
11398
|
+
pagenamepathinstaticpagelinkcont = key;
|
|
11399
|
+
}
|
|
11400
|
+
}
|
|
11401
|
+
if (pagenamepathinstaticpagelinkcont != undefined && pagenamepathinstaticpagelinkcont != '') {
|
|
11402
|
+
routingcountext(StaticPagesLinksContext[pagenamepathinstaticpagelinkcont], true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
11403
|
+
}
|
|
11404
|
+
};
|
|
11300
11405
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11301
11406
|
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 p-0 w-100 filter mt-md-0 ' : 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none',
|
|
11302
11407
|
style: {
|
|
@@ -11448,7 +11553,6 @@
|
|
|
11448
11553
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11449
11554
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
11450
11555
|
onClick: function onClick() {
|
|
11451
|
-
// setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
11452
11556
|
var tempfetchproductsfilerobjcontext = _objectSpread$1N({}, ProductFilterObjContext);
|
|
11453
11557
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
11454
11558
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
@@ -11457,7 +11561,7 @@
|
|
|
11457
11561
|
}
|
|
11458
11562
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
11459
11563
|
setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
|
|
11460
|
-
|
|
11564
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
11461
11565
|
}
|
|
11462
11566
|
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11463
11567
|
className: " ".concat(ischecked ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
|
|
@@ -11524,11 +11628,145 @@
|
|
|
11524
11628
|
className: "mt-2 mb-3"
|
|
11525
11629
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11526
11630
|
className: filter_cssstyles.filteraccordion + ' col-lg-12 filter-accordion p-md-0 pl-4 pr-4 '
|
|
11527
|
-
}, sectionproperties.
|
|
11631
|
+
}, sectionproperties.showcountriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11528
11632
|
"class": "row m-0 w-100"
|
|
11529
|
-
},
|
|
11633
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11634
|
+
"class": "col-lg-12 p-0 mt-3"
|
|
11635
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11636
|
+
"class": "row m-0 w-100"
|
|
11637
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11638
|
+
"class": "col-lg-12 p-0 mb-3"
|
|
11639
|
+
}, (fetchTabexCountriesQueryContext === null || fetchTabexCountriesQueryContext === void 0 ? void 0 : fetchTabexCountriesQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11640
|
+
className: "w-100 allcentered mt-1"
|
|
11641
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
11642
|
+
color: "#000",
|
|
11643
|
+
width: "20px",
|
|
11644
|
+
height: "20px",
|
|
11645
|
+
duration: "1s"
|
|
11646
|
+
})), !(fetchTabexCountriesQueryContext !== null && fetchTabexCountriesQueryContext !== void 0 && fetchTabexCountriesQueryContext.isFetching) && (fetchTabexCountriesQueryContext === null || fetchTabexCountriesQueryContext === void 0 ? void 0 : fetchTabexCountriesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
11647
|
+
options: fetchTabexCountriesQueryContext === null || fetchTabexCountriesQueryContext === void 0 ? void 0 : (_fetchTabexCountriesQ = fetchTabexCountriesQueryContext.data) === null || _fetchTabexCountriesQ === void 0 ? void 0 : (_fetchTabexCountriesQ2 = _fetchTabexCountriesQ.data) === null || _fetchTabexCountriesQ2 === void 0 ? void 0 : _fetchTabexCountriesQ2.countries,
|
|
11648
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
11649
|
+
var crname = '';
|
|
11650
|
+
if (langdetect == 'en') {
|
|
11651
|
+
crname = option.name;
|
|
11652
|
+
} else if (langdetect == 'ar') {
|
|
11653
|
+
if (option.name_ar != null) {
|
|
11654
|
+
crname = option.name_ar;
|
|
11655
|
+
} else {
|
|
11656
|
+
crname = option.name;
|
|
11657
|
+
}
|
|
11658
|
+
}
|
|
11659
|
+
return crname;
|
|
11660
|
+
},
|
|
11661
|
+
getOptionValue: function getOptionValue(option) {
|
|
11662
|
+
return option.id;
|
|
11663
|
+
},
|
|
11664
|
+
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
11665
|
+
return option.id == ProductFilterObjContext.countryid;
|
|
11666
|
+
}),
|
|
11667
|
+
onChange: function onChange(option) {
|
|
11668
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1N({}, FetchTabexStatesPayloadobjContext);
|
|
11669
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
11670
|
+
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
11671
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$1N({}, tempFetchTabexStatesPayloadobjContext));
|
|
11672
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1N({}, ProductFilterObjContext);
|
|
11673
|
+
tempfetchproductsfilerobjcontext.countryid = option.id;
|
|
11674
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
11675
|
+
setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
|
|
11676
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
11677
|
+
},
|
|
11678
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
11679
|
+
placeholder: lang.choosecountry,
|
|
11680
|
+
isSearchable: true
|
|
11681
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11682
|
+
"class": "col-lg-12 mb-3 p-0"
|
|
11683
|
+
}, (fetchTabexStatesQueryContext === null || fetchTabexStatesQueryContext === void 0 ? void 0 : fetchTabexStatesQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11684
|
+
className: "w-100 allcentered mt-1"
|
|
11685
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
11686
|
+
color: "#000",
|
|
11687
|
+
width: "20px",
|
|
11688
|
+
height: "20px",
|
|
11689
|
+
duration: "1s"
|
|
11690
|
+
})), !(fetchTabexStatesQueryContext !== null && fetchTabexStatesQueryContext !== void 0 && fetchTabexStatesQueryContext.isFetching) && (fetchTabexStatesQueryContext === null || fetchTabexStatesQueryContext === void 0 ? void 0 : fetchTabexStatesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
11691
|
+
options: fetchTabexStatesQueryContext === null || fetchTabexStatesQueryContext === void 0 ? void 0 : (_fetchTabexStatesQuer = fetchTabexStatesQueryContext.data) === null || _fetchTabexStatesQuer === void 0 ? void 0 : (_fetchTabexStatesQuer2 = _fetchTabexStatesQuer.data) === null || _fetchTabexStatesQuer2 === void 0 ? void 0 : _fetchTabexStatesQuer2.states,
|
|
11692
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
11693
|
+
var crname = '';
|
|
11694
|
+
if (langdetect == 'en') {
|
|
11695
|
+
crname = option.name;
|
|
11696
|
+
} else if (langdetect == 'ar') {
|
|
11697
|
+
if (option.name_ar != null) {
|
|
11698
|
+
crname = option.name_ar;
|
|
11699
|
+
} else {
|
|
11700
|
+
crname = option.name;
|
|
11701
|
+
}
|
|
11702
|
+
}
|
|
11703
|
+
return crname;
|
|
11704
|
+
},
|
|
11705
|
+
getOptionValue: function getOptionValue(option) {
|
|
11706
|
+
return option.id;
|
|
11707
|
+
},
|
|
11708
|
+
value: fetchTabexStatesQueryContext === null || fetchTabexStatesQueryContext === void 0 ? void 0 : (_fetchTabexStatesQuer3 = fetchTabexStatesQueryContext.data) === null || _fetchTabexStatesQuer3 === void 0 ? void 0 : (_fetchTabexStatesQuer4 = _fetchTabexStatesQuer3.data) === null || _fetchTabexStatesQuer4 === void 0 ? void 0 : _fetchTabexStatesQuer4.states.filter(function (option) {
|
|
11709
|
+
return option.id == ProductFilterObjContext.stateid;
|
|
11710
|
+
}),
|
|
11711
|
+
onChange: function onChange(option) {
|
|
11712
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1N({}, FetchTabexStatesPayloadobjContext);
|
|
11713
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
11714
|
+
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
11715
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$1N({}, tempFetchTabexStatesPayloadobjContext));
|
|
11716
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1N({}, ProductFilterObjContext);
|
|
11717
|
+
tempfetchproductsfilerobjcontext.stateid = option.id;
|
|
11718
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
11719
|
+
setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
|
|
11720
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
11721
|
+
},
|
|
11722
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
11723
|
+
placeholder: lang.choosestategov,
|
|
11724
|
+
isSearchable: true
|
|
11725
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11726
|
+
"class": "col-lg-12 mb-3 p-0"
|
|
11727
|
+
}, (fetchTabexCitiesQueryContext === null || fetchTabexCitiesQueryContext === void 0 ? void 0 : fetchTabexCitiesQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11728
|
+
className: "w-100 allcentered mt-1"
|
|
11729
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
11730
|
+
color: "#000",
|
|
11731
|
+
width: "20px",
|
|
11732
|
+
height: "20px",
|
|
11733
|
+
duration: "1s"
|
|
11734
|
+
})), !(fetchTabexCitiesQueryContext !== null && fetchTabexCitiesQueryContext !== void 0 && fetchTabexCitiesQueryContext.isFetching) && (fetchTabexCitiesQueryContext === null || fetchTabexCitiesQueryContext === void 0 ? void 0 : fetchTabexCitiesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
11735
|
+
options: fetchTabexCitiesQueryContext === null || fetchTabexCitiesQueryContext === void 0 ? void 0 : (_fetchTabexCitiesQuer = fetchTabexCitiesQueryContext.data) === null || _fetchTabexCitiesQuer === void 0 ? void 0 : (_fetchTabexCitiesQuer2 = _fetchTabexCitiesQuer.data) === null || _fetchTabexCitiesQuer2 === void 0 ? void 0 : _fetchTabexCitiesQuer2.cities,
|
|
11736
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
11737
|
+
var crname = '';
|
|
11738
|
+
if (langdetect == 'en') {
|
|
11739
|
+
crname = option.name;
|
|
11740
|
+
} else if (langdetect == 'ar') {
|
|
11741
|
+
if (option.name_ar != null) {
|
|
11742
|
+
crname = option.name_ar;
|
|
11743
|
+
} else {
|
|
11744
|
+
crname = option.name;
|
|
11745
|
+
}
|
|
11746
|
+
}
|
|
11747
|
+
return crname;
|
|
11748
|
+
},
|
|
11749
|
+
getOptionValue: function getOptionValue(option) {
|
|
11750
|
+
return option.id;
|
|
11751
|
+
},
|
|
11752
|
+
value: fetchTabexCitiesQueryContext === null || fetchTabexCitiesQueryContext === void 0 ? void 0 : (_fetchTabexCitiesQuer3 = fetchTabexCitiesQueryContext.data) === null || _fetchTabexCitiesQuer3 === void 0 ? void 0 : (_fetchTabexCitiesQuer4 = _fetchTabexCitiesQuer3.data) === null || _fetchTabexCitiesQuer4 === void 0 ? void 0 : _fetchTabexCitiesQuer4.cities.filter(function (option) {
|
|
11753
|
+
return option.id == ProductFilterObjContext.cityid;
|
|
11754
|
+
}),
|
|
11755
|
+
onChange: function onChange(option) {
|
|
11756
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1N({}, ProductFilterObjContext);
|
|
11757
|
+
tempfetchproductsfilerobjcontext.cityid = option.id;
|
|
11758
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
11759
|
+
setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
|
|
11760
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
11761
|
+
},
|
|
11762
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
11763
|
+
placeholder: lang.choosecity,
|
|
11764
|
+
isSearchable: true
|
|
11765
|
+
}))))), sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11530
11766
|
"class": "row m-0 w-100"
|
|
11531
|
-
},
|
|
11767
|
+
}, CategoriesFilter()), sectionproperties.filterType == 'Collections' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11768
|
+
"class": "row m-0 w-100"
|
|
11769
|
+
}, CollectionsFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters()))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11532
11770
|
className: "col-lg-12"
|
|
11533
11771
|
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
11534
11772
|
show: props === null || props === void 0 ? void 0 : props.openFilterSlider,
|
|
@@ -22469,7 +22707,7 @@
|
|
|
22469
22707
|
var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
|
|
22470
22708
|
var routingcountext = props.actions.routingcountext;
|
|
22471
22709
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
22472
|
-
|
|
22710
|
+
props.actions.history;
|
|
22473
22711
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
22474
22712
|
var actions = props.actions;
|
|
22475
22713
|
React.useEffect(function () {
|
|
@@ -23042,32 +23280,29 @@
|
|
|
23042
23280
|
display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex'
|
|
23043
23281
|
}
|
|
23044
23282
|
}, /*#__PURE__*/React__default["default"].createElement("ul", null, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
23045
|
-
|
|
23046
|
-
|
|
23047
|
-
|
|
23048
|
-
|
|
23049
|
-
|
|
23050
|
-
activeclass2 = header_cssstyles.topbar_item_active;
|
|
23051
|
-
activeclass3 = header_cssstyles.topbar_item_text_active;
|
|
23052
|
-
}
|
|
23283
|
+
// if (item.isselected) {
|
|
23284
|
+
// activeclass = headerstyles.navbar_item_active;
|
|
23285
|
+
// activeclass2 = header_cssstyles.topbar_item_active;
|
|
23286
|
+
// activeclass3 = header_cssstyles.topbar_item_text_active;
|
|
23287
|
+
// }
|
|
23053
23288
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
23054
23289
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23055
23290
|
"class": "cursor-pointer",
|
|
23056
23291
|
onClick: function onClick() {
|
|
23057
|
-
|
|
23292
|
+
routingcountext(item.navigationroute, false, '');
|
|
23058
23293
|
}
|
|
23059
23294
|
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
23060
|
-
"class": "".concat(headerstyles$7.topbar_item_container) + ' nav-item '
|
|
23061
|
-
|
|
23062
|
-
|
|
23063
|
-
|
|
23064
|
-
|
|
23065
|
-
|
|
23066
|
-
}
|
|
23295
|
+
"class": "".concat(headerstyles$7.topbar_item_container) + ' nav-item '
|
|
23296
|
+
// onClick={() => {
|
|
23297
|
+
// fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.pages.forEach(function (pageitem, pageindex) {
|
|
23298
|
+
// pageitem.isselected = false;
|
|
23299
|
+
// });
|
|
23300
|
+
// fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.pages[index].isselected = true;
|
|
23301
|
+
// }}
|
|
23067
23302
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23068
|
-
"class": "".concat(headerstyles$7.topbar_item, " ").concat(header_cssstyles.topbar_item, " ").concat(header_cssstyles.nav_link
|
|
23303
|
+
"class": "".concat(headerstyles$7.topbar_item, " ").concat(header_cssstyles.topbar_item, " ").concat(header_cssstyles.nav_link)
|
|
23069
23304
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
23070
|
-
"class": "".concat(headerstyles$7.topbar_item_text, " ").concat(header_cssstyles.topbar_item_text
|
|
23305
|
+
"class": "".concat(headerstyles$7.topbar_item_text, " ").concat(header_cssstyles.topbar_item_text)
|
|
23071
23306
|
}, langdetect == 'en' ? item.pagename : item.pagename_ar))));
|
|
23072
23307
|
}
|
|
23073
23308
|
}))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && /*#__PURE__*/React__default["default"].createElement(Subheader, {
|
|
@@ -53484,22 +53719,18 @@
|
|
|
53484
53719
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
53485
53720
|
overflow: 'hidden',
|
|
53486
53721
|
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
|
|
53487
|
-
padding: sectionproperties.imagepadding + 'px'
|
|
53722
|
+
padding: sectionproperties.imagepadding + 'px',
|
|
53723
|
+
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor
|
|
53488
53724
|
}
|
|
53489
53725
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
53490
53726
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
53491
53727
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
53492
|
-
path: '/tr:w-
|
|
53728
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
53493
53729
|
loading: "lazy",
|
|
53494
53730
|
style: {
|
|
53495
|
-
height: '
|
|
53496
|
-
width: '
|
|
53497
|
-
objectFit: sectionproperties.bgcovercontain
|
|
53498
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
53499
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
53500
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
53501
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
53502
|
-
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor
|
|
53731
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
53732
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
53733
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
53503
53734
|
}
|
|
53504
53735
|
}))), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53505
53736
|
"class": "col-lg-12 d-flex align-items-center justify-content-center",
|