tabexseriescomponents 0.0.593 → 0.0.595
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 +204 -93
- package/dist/index.esm.js +204 -93
- package/dist/index.umd.js +207 -96
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/assertThisInitialized'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('@react-icons/all-files/fa/FaFacebookF'), require('@react-icons/all-files/ai/AiOutlineUser'), require('@react-icons/all-files/io/IoMdClose'), require('react-bootstrap'), require('imagekitio-react'), require('@babel/runtime/helpers/toConsumableArray'), require('react-image-gallery'), require('@react-icons/all-files/md/MdAddShoppingCart'), require('@react-icons/all-files/io5/IoBagHandleOutline'), require('@react-icons/all-files/bs/BsBag'), require('@react-icons/all-files/cg/CgShoppingBag'), require('@react-icons/all-files/fa/FaRegHeart'), require('@react-icons/all-files/fa/FaHeart'), require('@react-icons/all-files/fi/FiShoppingBag'), require('@react-icons/all-files/fi/FiShoppingCart'), require('@react-icons/all-files/ai/AiFillStar'), require('@react-icons/all-files/ai/AiOutlineStar'), require('@react-icons/all-files/fa/FaPlus'), require('@react-icons/all-files/fa/FaMinus'), require('@react-icons/all-files/fi/FiBox'), require('@react-icons/all-files/ri/RiArrowGoBackLine'), require('react-accessible-accordion'), require('react-share'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('@react-icons/all-files/hi/HiOutlinePlusCircle'), require('@react-icons/all-files/hi/HiOutlineMinusCircle'), require('react-textarea-autosize'), require('@mui/system'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-horizontal-scrolling-menu'), require('@mui/material'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineMail'), require('@react-icons/all-files/fa/FaShippingFast'), require('@react-icons/all-files/ri/RiSecurePaymentLine'), require('react-player'), require('@react-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fa/FaStar'), require('@react-icons/all-files/io5/IoLocationSharp'), require('@react-icons/all-files/hi/HiOutlineChevronRight'), require('@react-icons/all-files/hi/HiOutlineChevronLeft'), require('@react-icons/all-files/go/GoGlobe'), require('@react-icons/all-files/vsc/VscGlobe'), require('react-bootstrap/Dropdown'), require('@react-icons/all-files/fi/FiCalendar'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('react-phone-input-2'), require('@react-icons/all-files/bs/BsChevronLeft'), require('@react-icons/all-files/bs/BsChevronRight'), require('@react-icons/all-files/ri/RiArrowUpSLine'), require('@react-icons/all-files/ri/RiArrowDownSLine'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), require('@react-icons/all-files/fi/FiChevronUp'), require('@react-icons/all-files/fi/FiChevronDown'), require('@react-icons/all-files/hi/HiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineMinus'), require('react-router-dom'), require('react-query'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('react-input-range'), require('react-intersection-observer'), require('@react-icons/all-files/fi/FiFilter'), require('@react-icons/all-files/fi/FiSliders'), require('@react-icons/all-files/fi/FiChevronLeft'), require('@react-icons/all-files/fi/FiChevronRight'), require('@react-icons/all-files/hi/HiOutlineArrowRight'), require('@react-icons/all-files/hi/HiOutlineArrowLeft'), require('react-paginate'), require('@react-icons/all-files/fa/FaFacebook'), require('@react-icons/all-files/ai/AiFillInstagram'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/md/MdKeyboardArrowDown'), require('@react-icons/all-files/fa/FaMoneyBillWave'), require('@react-icons/all-files/bi/BiLogOutCircle'), require('@react-icons/all-files/bi/BiChevronDown'), require('@react-icons/all-files/bi/BiUser'), require('@react-icons/all-files/ai/AiOutlineLogin'), require('@react-icons/all-files/ai/AiOutlineUserAdd'), require('@react-icons/all-files/ri/RiSearchLine'), require('@react-icons/all-files/cg/CgMenuLeft'), require('@react-icons/all-files/cg/CgMenuRight'), require('@react-icons/all-files/hi/HiOutlineShoppingBag'), require('@react-icons/all-files/ri/RiHandbagLine'), require('@react-icons/all-files/ai/AiOutlineClose'), require('@react-icons/all-files/vsc/VscMenu'), require('@react-icons/all-files/vsc/VscHeart'), require('@react-icons/all-files/io5/IoSearchOutline'), require('@react-icons/all-files/ai/AiFillYoutube'), require('@react-icons/all-files/io5/IoLogoTiktok'), require('@react-icons/all-files/fi/FiMenu'), require('@react-icons/all-files/io5/IoClose'), require('@react-icons/all-files/bi/BiSearch'), require('@react-icons/all-files/fi/FiUser'), require('@react-icons/all-files/ai/AiOutlineHeart'), require('@react-icons/all-files/fi/FiPhone'), require('@react-icons/all-files/hi/HiMenuAlt4'), require('@react-icons/all-files/fi/FiSearch'), require('@react-icons/all-files/bs/BsSearch'), require('@react-icons/all-files/ai/AiOutlinePhone'), require('@react-icons/all-files/go/GoSearch'), require('@react-icons/all-files/ai/AiOutlineInstagram'), require('@react-icons/all-files/
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'imagekitio-react', '@babel/runtime/helpers/toConsumableArray', 'react-image-gallery', '@react-icons/all-files/md/MdAddShoppingCart', '@react-icons/all-files/io5/IoBagHandleOutline', '@react-icons/all-files/bs/BsBag', '@react-icons/all-files/cg/CgShoppingBag', '@react-icons/all-files/fa/FaRegHeart', '@react-icons/all-files/fa/FaHeart', '@react-icons/all-files/fi/FiShoppingBag', '@react-icons/all-files/fi/FiShoppingCart', '@react-icons/all-files/ai/AiFillStar', '@react-icons/all-files/ai/AiOutlineStar', '@react-icons/all-files/fa/FaPlus', '@react-icons/all-files/fa/FaMinus', '@react-icons/all-files/fi/FiBox', '@react-icons/all-files/ri/RiArrowGoBackLine', 'react-accessible-accordion', 'react-share', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', '@react-icons/all-files/hi/HiOutlinePlusCircle', '@react-icons/all-files/hi/HiOutlineMinusCircle', 'react-textarea-autosize', '@mui/system', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-horizontal-scrolling-menu', '@mui/material', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineMail', '@react-icons/all-files/fa/FaShippingFast', '@react-icons/all-files/ri/RiSecurePaymentLine', 'react-player', '@react-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fa/FaStar', '@react-icons/all-files/io5/IoLocationSharp', '@react-icons/all-files/hi/HiOutlineChevronRight', '@react-icons/all-files/hi/HiOutlineChevronLeft', '@react-icons/all-files/go/GoGlobe', '@react-icons/all-files/vsc/VscGlobe', 'react-bootstrap/Dropdown', '@react-icons/all-files/fi/FiCalendar', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', 'react-phone-input-2', '@react-icons/all-files/bs/BsChevronLeft', '@react-icons/all-files/bs/BsChevronRight', '@react-icons/all-files/ri/RiArrowUpSLine', '@react-icons/all-files/ri/RiArrowDownSLine', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', '@react-icons/all-files/fi/FiChevronUp', '@react-icons/all-files/fi/FiChevronDown', '@react-icons/all-files/hi/HiOutlinePlus', '@react-icons/all-files/ai/AiOutlineMinus', 'react-router-dom', 'react-query', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-input-range', 'react-intersection-observer', '@react-icons/all-files/fi/FiFilter', '@react-icons/all-files/fi/FiSliders', '@react-icons/all-files/fi/FiChevronLeft', '@react-icons/all-files/fi/FiChevronRight', '@react-icons/all-files/hi/HiOutlineArrowRight', '@react-icons/all-files/hi/HiOutlineArrowLeft', 'react-paginate', '@react-icons/all-files/fa/FaFacebook', '@react-icons/all-files/ai/AiFillInstagram', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/md/MdKeyboardArrowDown', '@react-icons/all-files/fa/FaMoneyBillWave', '@react-icons/all-files/bi/BiLogOutCircle', '@react-icons/all-files/bi/BiChevronDown', '@react-icons/all-files/bi/BiUser', '@react-icons/all-files/ai/AiOutlineLogin', '@react-icons/all-files/ai/AiOutlineUserAdd', '@react-icons/all-files/ri/RiSearchLine', '@react-icons/all-files/cg/CgMenuLeft', '@react-icons/all-files/cg/CgMenuRight', '@react-icons/all-files/hi/HiOutlineShoppingBag', '@react-icons/all-files/ri/RiHandbagLine', '@react-icons/all-files/ai/AiOutlineClose', '@react-icons/all-files/vsc/VscMenu', '@react-icons/all-files/vsc/VscHeart', '@react-icons/all-files/io5/IoSearchOutline', '@react-icons/all-files/ai/AiFillYoutube', '@react-icons/all-files/io5/IoLogoTiktok', '@react-icons/all-files/fi/FiMenu', '@react-icons/all-files/io5/IoClose', '@react-icons/all-files/bi/BiSearch', '@react-icons/all-files/fi/FiUser', '@react-icons/all-files/ai/AiOutlineHeart', '@react-icons/all-files/fi/FiPhone', '@react-icons/all-files/hi/HiMenuAlt4', '@react-icons/all-files/fi/FiSearch', '@react-icons/all-files/bs/BsSearch', '@react-icons/all-files/ai/AiOutlinePhone', '@react-icons/all-files/go/GoSearch', '@react-icons/all-files/ai/AiOutlineInstagram', '@react-icons/all-files/
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, global.imagekitioReact, global._toConsumableArray, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart$1, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar$1, global.AiOutlineStar, global.FaPlus, global.FaMinus, global.FiBox$1, global.RiArrowGoBackLine, global.reactAccessibleAccordion, global.reactShare, global.FiMinus, global.FiPlus, global.ReactStars, global.FiLayers, global.HiOutlinePlusCircle, null, global.TextareaAutosize, null, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.material, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.ReactPlayer, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.Dropdown, global.FiCalendar, global._asyncToGenerator, global._regeneratorRuntime, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.BsChevronLeft, global.BsChevronRight, null, null, null, null, global.FiChevronUp, global.FiChevronDown, global.HiOutlinePlus, global.AiOutlineMinus, null, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.InputRange, global.reactIntersectionObserver, global.FiFilter, global.FiSliders, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.FaFacebook, global.AiFillInstagram, global.FaWhatsapp, global.BiGlobe, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.AiOutlineClose, global.VscMenu, global.VscHeart, global.IoSearchOutline, global.AiFillYoutube, global.IoLogoTiktok, global.FiMenu, global.IoClose, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiOutlinePhone, global.GoSearch, global.AiOutlineInstagram, global.
|
|
5
|
-
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, imagekitioReact, _toConsumableArray, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart$1, FiShoppingBag, FiShoppingCart, AiFillStar$1, AiOutlineStar, FaPlus, FaMinus, FiBox$1, RiArrowGoBackLine, reactAccessibleAccordion, reactShare, FiMinus, FiPlus, ReactStars, FiLayers, HiOutlinePlusCircle, HiOutlineMinusCircle, TextareaAutosize, system, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, material, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, ReactPlayer, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, Dropdown, FiCalendar, _asyncToGenerator, _regeneratorRuntime, HiUser, GrMail, FiCheckCircle, BiPhone, PhoneInput, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, IoIosArrowRoundForward, IoIosArrowRoundBack, FiChevronUp, FiChevronDown, HiOutlinePlus, AiOutlineMinus, reactRouterDom, reactQuery, IoBagCheckOutline, IoBagRemoveOutline, InputRange, reactIntersectionObserver, FiFilter, FiSliders, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, FaFacebook, AiFillInstagram, FaWhatsapp, BiGlobe, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, AiOutlineClose, VscMenu, VscHeart, IoSearchOutline, AiFillYoutube, IoLogoTiktok, FiMenu, IoClose, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiOutlinePhone, GoSearch, AiOutlineInstagram,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/assertThisInitialized'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('@react-icons/all-files/fa/FaFacebookF'), require('@react-icons/all-files/ai/AiOutlineUser'), require('@react-icons/all-files/io/IoMdClose'), require('react-bootstrap'), require('imagekitio-react'), require('@babel/runtime/helpers/toConsumableArray'), require('react-image-gallery'), require('@react-icons/all-files/md/MdAddShoppingCart'), require('@react-icons/all-files/io5/IoBagHandleOutline'), require('@react-icons/all-files/bs/BsBag'), require('@react-icons/all-files/cg/CgShoppingBag'), require('@react-icons/all-files/fa/FaRegHeart'), require('@react-icons/all-files/fa/FaHeart'), require('@react-icons/all-files/fi/FiShoppingBag'), require('@react-icons/all-files/fi/FiShoppingCart'), require('@react-icons/all-files/ai/AiFillStar'), require('@react-icons/all-files/ai/AiOutlineStar'), require('@react-icons/all-files/fa/FaPlus'), require('@react-icons/all-files/fa/FaMinus'), require('@react-icons/all-files/fi/FiBox'), require('@react-icons/all-files/ri/RiArrowGoBackLine'), require('react-accessible-accordion'), require('react-share'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('@react-icons/all-files/hi/HiOutlinePlusCircle'), require('@react-icons/all-files/hi/HiOutlineMinusCircle'), require('react-textarea-autosize'), require('@mui/system'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-horizontal-scrolling-menu'), require('@mui/material'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineMail'), require('@react-icons/all-files/fa/FaShippingFast'), require('@react-icons/all-files/ri/RiSecurePaymentLine'), require('react-player'), require('@react-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fa/FaStar'), require('@react-icons/all-files/io5/IoLocationSharp'), require('@react-icons/all-files/hi/HiOutlineChevronRight'), require('@react-icons/all-files/hi/HiOutlineChevronLeft'), require('@react-icons/all-files/go/GoGlobe'), require('@react-icons/all-files/vsc/VscGlobe'), require('react-bootstrap/Dropdown'), require('@react-icons/all-files/fi/FiCalendar'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('react-phone-input-2'), require('@react-icons/all-files/bs/BsChevronLeft'), require('@react-icons/all-files/bs/BsChevronRight'), require('@react-icons/all-files/ri/RiArrowUpSLine'), require('@react-icons/all-files/ri/RiArrowDownSLine'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), require('@react-icons/all-files/fi/FiChevronUp'), require('@react-icons/all-files/fi/FiChevronDown'), require('@react-icons/all-files/hi/HiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineMinus'), require('react-router-dom'), require('react-query'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('react-input-range'), require('react-intersection-observer'), require('@react-icons/all-files/fi/FiFilter'), require('@react-icons/all-files/fi/FiSliders'), require('@react-icons/all-files/fi/FiChevronLeft'), require('@react-icons/all-files/fi/FiChevronRight'), require('@react-icons/all-files/hi/HiOutlineArrowRight'), require('@react-icons/all-files/hi/HiOutlineArrowLeft'), require('react-paginate'), require('@react-icons/all-files/fa/FaFacebook'), require('@react-icons/all-files/ai/AiFillInstagram'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/md/MdKeyboardArrowDown'), require('@react-icons/all-files/fa/FaMoneyBillWave'), require('@react-icons/all-files/bi/BiLogOutCircle'), require('@react-icons/all-files/bi/BiChevronDown'), require('@react-icons/all-files/bi/BiUser'), require('@react-icons/all-files/ai/AiOutlineLogin'), require('@react-icons/all-files/ai/AiOutlineUserAdd'), require('@react-icons/all-files/ri/RiSearchLine'), require('@react-icons/all-files/cg/CgMenuLeft'), require('@react-icons/all-files/cg/CgMenuRight'), require('@react-icons/all-files/hi/HiOutlineShoppingBag'), require('@react-icons/all-files/ri/RiHandbagLine'), require('@react-icons/all-files/ai/AiOutlineClose'), require('@react-icons/all-files/vsc/VscMenu'), require('@react-icons/all-files/vsc/VscHeart'), require('@react-icons/all-files/io5/IoSearchOutline'), require('@react-icons/all-files/ai/AiFillYoutube'), require('@react-icons/all-files/io5/IoLogoTiktok'), require('@react-icons/all-files/fi/FiMenu'), require('@react-icons/all-files/bs/BsChevronDown'), require('@react-icons/all-files/io5/IoClose'), require('@react-icons/all-files/bi/BiSearch'), require('@react-icons/all-files/fi/FiUser'), require('@react-icons/all-files/ai/AiOutlineHeart'), require('@react-icons/all-files/fi/FiPhone'), require('@react-icons/all-files/hi/HiMenuAlt4'), require('@react-icons/all-files/fi/FiSearch'), require('@react-icons/all-files/bs/BsSearch'), require('@react-icons/all-files/ai/AiOutlinePhone'), require('@react-icons/all-files/go/GoSearch'), require('@react-icons/all-files/ai/AiOutlineInstagram'), require('@react-icons/all-files/ri/RiUserSettingsLine'), require('@react-icons/all-files/hi/HiUserCircle'), require('@react-icons/all-files/md/MdKeyboardArrowUp'), require('@react-icons/all-files/bs/BsInfoCircle'), require('@react-icons/all-files/ai/AiFillPhone'), require('@react-icons/all-files/fa/FaTelegramPlane'), require('@react-icons/all-files/fa/FaPhoneAlt'), require('@react-icons/all-files/fa/FaPhone'), require('@react-icons/all-files/fi/FiGlobe'), require('@react-icons/all-files/bi/BiUserCircle'), require('@react-icons/all-files/go/GoLocation'), require('@react-icons/all-files/fa/FaLinkedinIn'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('@react-icons/all-files/ai/AiOutlineLinkedin'), require('@react-icons/all-files/fa/FaArrowAltCircleRight'), require('@react-icons/all-files/fa/FaArrowAltCircleLeft'), require('react-select'), require('@react-icons/all-files/go/GoStar'), require('@react-icons/all-files/io/IoIosStar'), require('react-background-slideshow'), require('@babel/runtime/helpers/extends'), require('react-slideshow-image'), require('@react-icons/all-files/hi/HiOutlineLocationMarker'), require('@react-icons/all-files/fi/FiPhoneCall'), require('@react-icons/all-files/fa/FaRegEye'), require('@react-icons/all-files/bs/BsArrowRight'), require('@react-icons/all-files/bs/BsArrowLeft'), require('@react-icons/all-files/bs/BsEye'), require('@react-icons/all-files/bi/BiTimeFive'), require('@react-icons/all-files/io/IoIosArrowUp')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'imagekitio-react', '@babel/runtime/helpers/toConsumableArray', 'react-image-gallery', '@react-icons/all-files/md/MdAddShoppingCart', '@react-icons/all-files/io5/IoBagHandleOutline', '@react-icons/all-files/bs/BsBag', '@react-icons/all-files/cg/CgShoppingBag', '@react-icons/all-files/fa/FaRegHeart', '@react-icons/all-files/fa/FaHeart', '@react-icons/all-files/fi/FiShoppingBag', '@react-icons/all-files/fi/FiShoppingCart', '@react-icons/all-files/ai/AiFillStar', '@react-icons/all-files/ai/AiOutlineStar', '@react-icons/all-files/fa/FaPlus', '@react-icons/all-files/fa/FaMinus', '@react-icons/all-files/fi/FiBox', '@react-icons/all-files/ri/RiArrowGoBackLine', 'react-accessible-accordion', 'react-share', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', '@react-icons/all-files/hi/HiOutlinePlusCircle', '@react-icons/all-files/hi/HiOutlineMinusCircle', 'react-textarea-autosize', '@mui/system', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-horizontal-scrolling-menu', '@mui/material', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineMail', '@react-icons/all-files/fa/FaShippingFast', '@react-icons/all-files/ri/RiSecurePaymentLine', 'react-player', '@react-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fa/FaStar', '@react-icons/all-files/io5/IoLocationSharp', '@react-icons/all-files/hi/HiOutlineChevronRight', '@react-icons/all-files/hi/HiOutlineChevronLeft', '@react-icons/all-files/go/GoGlobe', '@react-icons/all-files/vsc/VscGlobe', 'react-bootstrap/Dropdown', '@react-icons/all-files/fi/FiCalendar', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', 'react-phone-input-2', '@react-icons/all-files/bs/BsChevronLeft', '@react-icons/all-files/bs/BsChevronRight', '@react-icons/all-files/ri/RiArrowUpSLine', '@react-icons/all-files/ri/RiArrowDownSLine', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', '@react-icons/all-files/fi/FiChevronUp', '@react-icons/all-files/fi/FiChevronDown', '@react-icons/all-files/hi/HiOutlinePlus', '@react-icons/all-files/ai/AiOutlineMinus', 'react-router-dom', 'react-query', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-input-range', 'react-intersection-observer', '@react-icons/all-files/fi/FiFilter', '@react-icons/all-files/fi/FiSliders', '@react-icons/all-files/fi/FiChevronLeft', '@react-icons/all-files/fi/FiChevronRight', '@react-icons/all-files/hi/HiOutlineArrowRight', '@react-icons/all-files/hi/HiOutlineArrowLeft', 'react-paginate', '@react-icons/all-files/fa/FaFacebook', '@react-icons/all-files/ai/AiFillInstagram', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/md/MdKeyboardArrowDown', '@react-icons/all-files/fa/FaMoneyBillWave', '@react-icons/all-files/bi/BiLogOutCircle', '@react-icons/all-files/bi/BiChevronDown', '@react-icons/all-files/bi/BiUser', '@react-icons/all-files/ai/AiOutlineLogin', '@react-icons/all-files/ai/AiOutlineUserAdd', '@react-icons/all-files/ri/RiSearchLine', '@react-icons/all-files/cg/CgMenuLeft', '@react-icons/all-files/cg/CgMenuRight', '@react-icons/all-files/hi/HiOutlineShoppingBag', '@react-icons/all-files/ri/RiHandbagLine', '@react-icons/all-files/ai/AiOutlineClose', '@react-icons/all-files/vsc/VscMenu', '@react-icons/all-files/vsc/VscHeart', '@react-icons/all-files/io5/IoSearchOutline', '@react-icons/all-files/ai/AiFillYoutube', '@react-icons/all-files/io5/IoLogoTiktok', '@react-icons/all-files/fi/FiMenu', '@react-icons/all-files/bs/BsChevronDown', '@react-icons/all-files/io5/IoClose', '@react-icons/all-files/bi/BiSearch', '@react-icons/all-files/fi/FiUser', '@react-icons/all-files/ai/AiOutlineHeart', '@react-icons/all-files/fi/FiPhone', '@react-icons/all-files/hi/HiMenuAlt4', '@react-icons/all-files/fi/FiSearch', '@react-icons/all-files/bs/BsSearch', '@react-icons/all-files/ai/AiOutlinePhone', '@react-icons/all-files/go/GoSearch', '@react-icons/all-files/ai/AiOutlineInstagram', '@react-icons/all-files/ri/RiUserSettingsLine', '@react-icons/all-files/hi/HiUserCircle', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/fa/FaTelegramPlane', '@react-icons/all-files/fa/FaPhoneAlt', '@react-icons/all-files/fa/FaPhone', '@react-icons/all-files/fi/FiGlobe', '@react-icons/all-files/bi/BiUserCircle', '@react-icons/all-files/go/GoLocation', '@react-icons/all-files/fa/FaLinkedinIn', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', '@react-icons/all-files/ai/AiOutlineLinkedin', '@react-icons/all-files/fa/FaArrowAltCircleRight', '@react-icons/all-files/fa/FaArrowAltCircleLeft', 'react-select', '@react-icons/all-files/go/GoStar', '@react-icons/all-files/io/IoIosStar', 'react-background-slideshow', '@babel/runtime/helpers/extends', 'react-slideshow-image', '@react-icons/all-files/hi/HiOutlineLocationMarker', '@react-icons/all-files/fi/FiPhoneCall', '@react-icons/all-files/fa/FaRegEye', '@react-icons/all-files/bs/BsArrowRight', '@react-icons/all-files/bs/BsArrowLeft', '@react-icons/all-files/bs/BsEye', '@react-icons/all-files/bi/BiTimeFive', '@react-icons/all-files/io/IoIosArrowUp'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, global.imagekitioReact, global._toConsumableArray, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart$1, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar$1, global.AiOutlineStar, global.FaPlus, global.FaMinus, global.FiBox$1, global.RiArrowGoBackLine, global.reactAccessibleAccordion, global.reactShare, global.FiMinus, global.FiPlus, global.ReactStars, global.FiLayers, global.HiOutlinePlusCircle, null, global.TextareaAutosize, null, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.material, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.ReactPlayer, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.Dropdown, global.FiCalendar, global._asyncToGenerator, global._regeneratorRuntime, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.BsChevronLeft, global.BsChevronRight, null, null, null, null, global.FiChevronUp, global.FiChevronDown, global.HiOutlinePlus, global.AiOutlineMinus, null, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.InputRange, global.reactIntersectionObserver, global.FiFilter, global.FiSliders, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.FaFacebook, global.AiFillInstagram, global.FaWhatsapp, global.BiGlobe, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.AiOutlineClose, global.VscMenu, global.VscHeart, global.IoSearchOutline, global.AiFillYoutube, global.IoLogoTiktok, global.FiMenu, global.BsChevronDown, global.IoClose, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiOutlinePhone, global.GoSearch, global.AiOutlineInstagram, global.RiUserSettingsLine, global.HiUserCircle, global.MdKeyboardArrowUp, global.BsInfoCircle, global.AiFillPhone, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.FiGlobe, global.BiUserCircle, global.GoLocation, global.FaLinkedinIn, global.RiRoadMapLine, global.HiOutlineClock, global.AiOutlineLinkedin, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.Select$5, global.GoStar, global.IoIosStar, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.FaRegEye, global.BsArrowRight, global.BsArrowLeft, global.BsEye, global.BiTimeFive, global.IoIosArrowUp));
|
|
5
|
+
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, imagekitioReact, _toConsumableArray, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart$1, FiShoppingBag, FiShoppingCart, AiFillStar$1, AiOutlineStar, FaPlus, FaMinus, FiBox$1, RiArrowGoBackLine, reactAccessibleAccordion, reactShare, FiMinus, FiPlus, ReactStars, FiLayers, HiOutlinePlusCircle, HiOutlineMinusCircle, TextareaAutosize, system, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, material, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, ReactPlayer, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, Dropdown, FiCalendar, _asyncToGenerator, _regeneratorRuntime, HiUser, GrMail, FiCheckCircle, BiPhone, PhoneInput, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, IoIosArrowRoundForward, IoIosArrowRoundBack, FiChevronUp, FiChevronDown, HiOutlinePlus, AiOutlineMinus, reactRouterDom, reactQuery, IoBagCheckOutline, IoBagRemoveOutline, InputRange, reactIntersectionObserver, FiFilter, FiSliders, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, FaFacebook, AiFillInstagram, FaWhatsapp, BiGlobe, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, AiOutlineClose, VscMenu, VscHeart, IoSearchOutline, AiFillYoutube, IoLogoTiktok, FiMenu, BsChevronDown, IoClose, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiOutlinePhone, GoSearch, AiOutlineInstagram, RiUserSettingsLine, HiUserCircle, MdKeyboardArrowUp, BsInfoCircle, AiFillPhone, FaTelegramPlane, FaPhoneAlt, FaPhone, FiGlobe, BiUserCircle, GoLocation, FaLinkedinIn, RiRoadMapLine, HiOutlineClock, AiOutlineLinkedin, FaArrowAltCircleRight, FaArrowAltCircleLeft, Select$5, GoStar, IoIosStar, BackgroundSlideshow, _extends, reactSlideshowImage, HiOutlineLocationMarker, FiPhoneCall, FaRegEye, BsArrowRight, BsArrowLeft, BsEye, BiTimeFive, IoIosArrowUp) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -9940,7 +9940,7 @@
|
|
|
9940
9940
|
return import('react-select');
|
|
9941
9941
|
});
|
|
9942
9942
|
var Checkout = function Checkout(props) {
|
|
9943
|
-
var _css, _checkoutstyles, _ref,
|
|
9943
|
+
var _css, _checkoutstyles, _ref, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue65, _fetchcustomercartQue66, _fetchcustomercartQue67, _fetchcustomercartQue68, _fetchcustomercartQue70, _fetchcustomercartQue72, _fetchcustomercartQue74, _fetchcustomercartQue76, _authdetailsContext$i4, _fetchcustomercartQue78, _authdetailsContext$i5, _fetchcustomercartQue80, _authdetailsContext$i6, _fetchcustomercartQue82, _fetchcustomercartQue84;
|
|
9944
9944
|
var _useState = React.useState(null),
|
|
9945
9945
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
9946
9946
|
_useState2[0];
|
|
@@ -9979,6 +9979,14 @@
|
|
|
9979
9979
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
9980
9980
|
insthasaffiliate = _useState8[0],
|
|
9981
9981
|
setinsthasaffiliate = _useState8[1];
|
|
9982
|
+
var _useState9 = React.useState(false),
|
|
9983
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
9984
|
+
land = _useState10[0],
|
|
9985
|
+
setland = _useState10[1];
|
|
9986
|
+
var _useState11 = React.useState(false),
|
|
9987
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
9988
|
+
air = _useState12[0],
|
|
9989
|
+
setair = _useState12[1];
|
|
9982
9990
|
React.useEffect(function () {
|
|
9983
9991
|
var _templatepropcontext$;
|
|
9984
9992
|
var cartindex = templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.findIndex(function (x) {
|
|
@@ -10047,7 +10055,7 @@
|
|
|
10047
10055
|
});
|
|
10048
10056
|
}, [authdetailsContext]);
|
|
10049
10057
|
var cartinfoupdater = function cartinfoupdater(key, value) {
|
|
10050
|
-
var _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16, _fetchcustomercartQue17, _fetchcustomercartQue18;
|
|
10058
|
+
var _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16, _fetchcustomercartQue17, _fetchcustomercartQue18, _fetchcustomercartQue19;
|
|
10051
10059
|
var cartarr = queryClient.getQueryData('fetchcustomercart_API');
|
|
10052
10060
|
cartarr.data.customercart[key] = value;
|
|
10053
10061
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
@@ -10061,7 +10069,8 @@
|
|
|
10061
10069
|
email: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue15 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue15 === void 0 || (_fetchcustomercartQue15 = _fetchcustomercartQue15.data) === null || _fetchcustomercartQue15 === void 0 ? void 0 : _fetchcustomercartQue15.customercart.email,
|
|
10062
10070
|
mobile: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue16 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue16 === void 0 || (_fetchcustomercartQue16 = _fetchcustomercartQue16.data) === null || _fetchcustomercartQue16 === void 0 ? void 0 : _fetchcustomercartQue16.customercart.mobile,
|
|
10063
10071
|
notes: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue17 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue17 === void 0 || (_fetchcustomercartQue17 = _fetchcustomercartQue17.data) === null || _fetchcustomercartQue17 === void 0 ? void 0 : _fetchcustomercartQue17.customercart.notes,
|
|
10064
|
-
aff_code: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue18 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue18 === void 0 || (_fetchcustomercartQue18 = _fetchcustomercartQue18.data) === null || _fetchcustomercartQue18 === void 0 ? void 0 : _fetchcustomercartQue18.customercart.aff_code
|
|
10072
|
+
aff_code: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue18 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue18 === void 0 || (_fetchcustomercartQue18 = _fetchcustomercartQue18.data) === null || _fetchcustomercartQue18 === void 0 ? void 0 : _fetchcustomercartQue18.customercart.aff_code,
|
|
10073
|
+
shippingmethod: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue19 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue19 === void 0 || (_fetchcustomercartQue19 = _fetchcustomercartQue19.data) === null || _fetchcustomercartQue19 === void 0 ? void 0 : _fetchcustomercartQue19.customercart.shippingmethod
|
|
10065
10074
|
};
|
|
10066
10075
|
if (key == 'address' || key == 'name' || key == 'mobile' || key == 'email' || key == 'notes' || key == 'aff_code') ; else {
|
|
10067
10076
|
ChooseState_CountryMutationContext.mutate(payloadobj);
|
|
@@ -10260,7 +10269,7 @@
|
|
|
10260
10269
|
})), _checkoutstyles);
|
|
10261
10270
|
var addorderfuncrunner = function addorderfuncrunner() {
|
|
10262
10271
|
return (_ref = _ref || _asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee() {
|
|
10263
|
-
var
|
|
10272
|
+
var _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25, _fetchcustomercartQue26, _fetchcustomercartQue27, _fetchcustomercartQue28, _fetchcustomercartQue29;
|
|
10264
10273
|
return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
|
|
10265
10274
|
while (1) switch (_context.prev = _context.next) {
|
|
10266
10275
|
case 0:
|
|
@@ -10269,19 +10278,19 @@
|
|
|
10269
10278
|
// temppayload.endpointurl = '/ChooseState_Country';
|
|
10270
10279
|
GeneralAPIMutationContext.mutate({
|
|
10271
10280
|
endpointurl: '/ChooseState_Country',
|
|
10272
|
-
stateid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10273
|
-
countryid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10274
|
-
cityid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10275
|
-
address: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10276
|
-
paymentmethod: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10277
|
-
name: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10278
|
-
email: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10279
|
-
mobile: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10280
|
-
notes: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10281
|
-
aff_code: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10281
|
+
stateid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue20 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue20 === void 0 || (_fetchcustomercartQue20 = _fetchcustomercartQue20.data) === null || _fetchcustomercartQue20 === void 0 ? void 0 : _fetchcustomercartQue20.customercart.stateid,
|
|
10282
|
+
countryid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue21 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue21 === void 0 || (_fetchcustomercartQue21 = _fetchcustomercartQue21.data) === null || _fetchcustomercartQue21 === void 0 ? void 0 : _fetchcustomercartQue21.customercart.countryid,
|
|
10283
|
+
cityid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue22 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue22 === void 0 || (_fetchcustomercartQue22 = _fetchcustomercartQue22.data) === null || _fetchcustomercartQue22 === void 0 ? void 0 : _fetchcustomercartQue22.customercart.cityid,
|
|
10284
|
+
address: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue23 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue23 === void 0 || (_fetchcustomercartQue23 = _fetchcustomercartQue23.data) === null || _fetchcustomercartQue23 === void 0 ? void 0 : _fetchcustomercartQue23.customercart.address,
|
|
10285
|
+
paymentmethod: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue24 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue24 === void 0 || (_fetchcustomercartQue24 = _fetchcustomercartQue24.data) === null || _fetchcustomercartQue24 === void 0 ? void 0 : _fetchcustomercartQue24.customercart.paymentmethod,
|
|
10286
|
+
name: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue25 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue25 === void 0 || (_fetchcustomercartQue25 = _fetchcustomercartQue25.data) === null || _fetchcustomercartQue25 === void 0 ? void 0 : _fetchcustomercartQue25.customercart.name,
|
|
10287
|
+
email: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue26 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue26 === void 0 || (_fetchcustomercartQue26 = _fetchcustomercartQue26.data) === null || _fetchcustomercartQue26 === void 0 ? void 0 : _fetchcustomercartQue26.customercart.email,
|
|
10288
|
+
mobile: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue27 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue27 === void 0 || (_fetchcustomercartQue27 = _fetchcustomercartQue27.data) === null || _fetchcustomercartQue27 === void 0 ? void 0 : _fetchcustomercartQue27.customercart.mobile,
|
|
10289
|
+
notes: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue28 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue28 === void 0 || (_fetchcustomercartQue28 = _fetchcustomercartQue28.data) === null || _fetchcustomercartQue28 === void 0 ? void 0 : _fetchcustomercartQue28.customercart.notes,
|
|
10290
|
+
aff_code: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue29 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue29 === void 0 || (_fetchcustomercartQue29 = _fetchcustomercartQue29.data) === null || _fetchcustomercartQue29 === void 0 ? void 0 : _fetchcustomercartQue29.customercart.aff_code,
|
|
10282
10291
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
10283
10292
|
if (data.data.status) {
|
|
10284
|
-
var
|
|
10293
|
+
var _fetchcustomercartQue30, _fetchcustomercartQue31;
|
|
10285
10294
|
var cartarr = queryClient.getQueryData('fetchcustomercart_API');
|
|
10286
10295
|
cartarr.data = data.data.cartresponse;
|
|
10287
10296
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
@@ -10289,9 +10298,9 @@
|
|
|
10289
10298
|
// const cookies = new Cookies();
|
|
10290
10299
|
localStorage.setItem('cdata', data.data.cdata);
|
|
10291
10300
|
}
|
|
10292
|
-
if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10301
|
+
if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue30 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue30 === void 0 || (_fetchcustomercartQue30 = _fetchcustomercartQue30.data) === null || _fetchcustomercartQue30 === void 0 ? void 0 : _fetchcustomercartQue30.customercart.name.length) < 3) {
|
|
10293
10302
|
NotificationManager.warning('', langdetect == 'en' ? 'Write your full name' : 'اكتب الاسم كاملا');
|
|
10294
|
-
} else if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10303
|
+
} else if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue31 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue31 === void 0 || (_fetchcustomercartQue31 = _fetchcustomercartQue31.data) === null || _fetchcustomercartQue31 === void 0 ? void 0 : _fetchcustomercartQue31.customercart.mobile.length) < 11) {
|
|
10295
10304
|
NotificationManager.warning('', langdetect == 'en' ? 'Write valid mobile number' : 'اكتب رقم تليفون صحيح');
|
|
10296
10305
|
} else {
|
|
10297
10306
|
AddOrderMutationContext.mutate();
|
|
@@ -10319,7 +10328,7 @@
|
|
|
10319
10328
|
return isloading;
|
|
10320
10329
|
};
|
|
10321
10330
|
var Mycart = function Mycart() {
|
|
10322
|
-
var
|
|
10331
|
+
var _fetchcustomercartQue32, _fetchcustomercartQue33, _fetchcustomercartQue34, _fetchcustomercartQue38, _fetchcustomercartQue39, _fetchcustomercartQue40, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44, _fetchcustomercartQue45, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57;
|
|
10323
10332
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10324
10333
|
className: "row m-0 w-100 mb-md-3"
|
|
10325
10334
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -10344,7 +10353,7 @@
|
|
|
10344
10353
|
className: "row m-0 w-100"
|
|
10345
10354
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10346
10355
|
className: "col-lg-12 p-0"
|
|
10347
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10356
|
+
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue32 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue32 === void 0 || (_fetchcustomercartQue32 = _fetchcustomercartQue32.data) === null || _fetchcustomercartQue32 === void 0 ? void 0 : _fetchcustomercartQue32.customercart.cartitems.map(function (item, index) {
|
|
10348
10357
|
if (item.product_extrafields != null) {
|
|
10349
10358
|
var product_extrafields = JSON.parse(item.product_extrafields);
|
|
10350
10359
|
// var product_extrafields_parsed = JSON.stringify(product_extrafields);
|
|
@@ -10467,13 +10476,13 @@
|
|
|
10467
10476
|
type: "text",
|
|
10468
10477
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
10469
10478
|
placeholder: lang.giftcarddicountcode,
|
|
10470
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10479
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue33 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue33 === void 0 || (_fetchcustomercartQue33 = _fetchcustomercartQue33.data) === null || _fetchcustomercartQue33 === void 0 ? void 0 : _fetchcustomercartQue33.customercart.couponname,
|
|
10471
10480
|
onChange: function onChange(event) {
|
|
10472
10481
|
var cartarr = queryClient.getQueryData('fetchcustomercart_API');
|
|
10473
10482
|
cartarr.data.customercart.couponname = event.target.value;
|
|
10474
10483
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
10475
10484
|
},
|
|
10476
|
-
disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
10485
|
+
disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue34 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue34 !== void 0 && (_fetchcustomercartQue34 = _fetchcustomercartQue34.data) !== null && _fetchcustomercartQue34 !== void 0 && _fetchcustomercartQue34.customercart.couponexists ? true : false,
|
|
10477
10486
|
style: {
|
|
10478
10487
|
boxShadow: 'none'
|
|
10479
10488
|
}
|
|
@@ -10482,14 +10491,14 @@
|
|
|
10482
10491
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10483
10492
|
className: " ".concat(checkoutstyles.applybtnstyles),
|
|
10484
10493
|
onClick: function onClick() {
|
|
10485
|
-
var
|
|
10486
|
-
if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
10487
|
-
var
|
|
10494
|
+
var _fetchcustomercartQue35;
|
|
10495
|
+
if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue35 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue35 !== void 0 && (_fetchcustomercartQue35 = _fetchcustomercartQue35.data) !== null && _fetchcustomercartQue35 !== void 0 && _fetchcustomercartQue35.customercart.couponexists)) {
|
|
10496
|
+
var _fetchcustomercartQue36, _fetchcustomercartQue37;
|
|
10488
10497
|
var payloadobj = {
|
|
10489
|
-
couponname: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10498
|
+
couponname: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue36 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue36 === void 0 || (_fetchcustomercartQue36 = _fetchcustomercartQue36.data) === null || _fetchcustomercartQue36 === void 0 ? void 0 : _fetchcustomercartQue36.customercart.couponname,
|
|
10490
10499
|
functype: 'add'
|
|
10491
10500
|
};
|
|
10492
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10501
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue37 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue37 === void 0 || (_fetchcustomercartQue37 = _fetchcustomercartQue37.data) === null || _fetchcustomercartQue37 === void 0 ? void 0 : _fetchcustomercartQue37.customercart.couponname.length) != 0) {
|
|
10493
10502
|
ApplyPromoCodeMutationContext.mutate(payloadobj);
|
|
10494
10503
|
} else {
|
|
10495
10504
|
NotificationManager.warning('', langdetect == 'en' ? 'Please Write Your Promo Code' : 'من فضلك اكتب كود الخصم');
|
|
@@ -10504,14 +10513,14 @@
|
|
|
10504
10513
|
disabled: ApplyPromoCodeMutationContext.isLoading ? true : false
|
|
10505
10514
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
10506
10515
|
className: ApplyPromoCodeMutationContext.isLoading ? "".concat(generalstyles.fadeOutButton) : "".concat(generalstyles.fadeInButton)
|
|
10507
|
-
}, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
10516
|
+
}, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue38 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue38 !== void 0 && (_fetchcustomercartQue38 = _fetchcustomercartQue38.data) !== null && _fetchcustomercartQue38 !== void 0 && _fetchcustomercartQue38.customercart.couponexists ? langdetect == 'en' ? 'Remove' : 'حذف' : langdetect == 'en' ? 'Apply' : 'تطبيق'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10508
10517
|
className: ApplyPromoCodeMutationContext.isLoading ? "".concat(generalstyles.fadeInButton, " ").concat(generalstyles.btn_preloader) + ' d-flex align-items-center justify-content-center ' : "".concat(generalstyles.fadeOutButton) + ' align-items-center justify-content-center '
|
|
10509
10518
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
10510
10519
|
color: "#fff",
|
|
10511
10520
|
width: "20px",
|
|
10512
10521
|
height: "20px",
|
|
10513
10522
|
duration: "1s"
|
|
10514
|
-
})))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10523
|
+
})))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue39 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue39 === void 0 || (_fetchcustomercartQue39 = _fetchcustomercartQue39.data) === null || _fetchcustomercartQue39 === void 0 || (_fetchcustomercartQue39 = _fetchcustomercartQue39.customercart) === null || _fetchcustomercartQue39 === void 0 ? void 0 : _fetchcustomercartQue39.availablewalletbalance) > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10515
10524
|
className: "row m-0 w-100"
|
|
10516
10525
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10517
10526
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -10521,7 +10530,7 @@
|
|
|
10521
10530
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
10522
10531
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10523
10532
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
10524
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10533
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue40 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue40 === void 0 || (_fetchcustomercartQue40 = _fetchcustomercartQue40.data) === null || _fetchcustomercartQue40 === void 0 || (_fetchcustomercartQue40 = _fetchcustomercartQue40.customercart) === null || _fetchcustomercartQue40 === void 0 ? void 0 : _fetchcustomercartQue40.availablewalletbalance, langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue41 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue41 === void 0 || (_fetchcustomercartQue41 = _fetchcustomercartQue41.data) === null || _fetchcustomercartQue41 === void 0 || (_fetchcustomercartQue41 = _fetchcustomercartQue41.customercart) === null || _fetchcustomercartQue41 === void 0 ? void 0 : _fetchcustomercartQue41.usewalletpoints) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10525
10534
|
className: "col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0"
|
|
10526
10535
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10527
10536
|
style: {
|
|
@@ -10531,7 +10540,7 @@
|
|
|
10531
10540
|
onClick: function onClick() {
|
|
10532
10541
|
usewalletpoints();
|
|
10533
10542
|
}
|
|
10534
|
-
}, langdetect == 'en' ? 'Use Points' : 'إستخدام النقاط'))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10543
|
+
}, langdetect == 'en' ? 'Use Points' : 'إستخدام النقاط'))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue42 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue42 === void 0 || (_fetchcustomercartQue42 = _fetchcustomercartQue42.data) === null || _fetchcustomercartQue42 === void 0 || (_fetchcustomercartQue42 = _fetchcustomercartQue42.customercart) === null || _fetchcustomercartQue42 === void 0 ? void 0 : _fetchcustomercartQue42.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10535
10544
|
className: "row m-0 w-100"
|
|
10536
10545
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10537
10546
|
className: "col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0"
|
|
@@ -10553,9 +10562,9 @@
|
|
|
10553
10562
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
10554
10563
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10555
10564
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
10556
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10565
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue43 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue43 === void 0 || (_fetchcustomercartQue43 = _fetchcustomercartQue43.data) === null || _fetchcustomercartQue43 === void 0 ? void 0 : _fetchcustomercartQue43.customercart.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), sectionproperties.showtotalsection == 'Show' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue44 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.data) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.customercart) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.genpayments) === null || _fetchcustomercartQue44 === void 0 ? void 0 : _fetchcustomercartQue44.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10557
10566
|
className: "row m-0 w-100"
|
|
10558
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10567
|
+
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue45 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue45 === void 0 || (_fetchcustomercartQue45 = _fetchcustomercartQue45.data) === null || _fetchcustomercartQue45 === void 0 || (_fetchcustomercartQue45 = _fetchcustomercartQue45.customercart) === null || _fetchcustomercartQue45 === void 0 || (_fetchcustomercartQue45 = _fetchcustomercartQue45.genpayments) === null || _fetchcustomercartQue45 === void 0 ? void 0 : _fetchcustomercartQue45.map(function (item, index) {
|
|
10559
10568
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10560
10569
|
"class": "col-lg-12 p-0"
|
|
10561
10570
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -10575,7 +10584,7 @@
|
|
|
10575
10584
|
color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
|
|
10576
10585
|
}
|
|
10577
10586
|
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.value, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "%")))));
|
|
10578
|
-
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10587
|
+
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue46 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue46 === void 0 || (_fetchcustomercartQue46 = _fetchcustomercartQue46.data) === null || _fetchcustomercartQue46 === void 0 || (_fetchcustomercartQue46 = _fetchcustomercartQue46.customercart) === null || _fetchcustomercartQue46 === void 0 ? void 0 : _fetchcustomercartQue46.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10579
10588
|
className: "row m-0 w-100"
|
|
10580
10589
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10581
10590
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -10588,7 +10597,7 @@
|
|
|
10588
10597
|
style: {
|
|
10589
10598
|
color: 'red'
|
|
10590
10599
|
}
|
|
10591
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10600
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue47 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue47 === void 0 || (_fetchcustomercartQue47 = _fetchcustomercartQue47.data) === null || _fetchcustomercartQue47 === void 0 || (_fetchcustomercartQue47 = _fetchcustomercartQue47.customercart) === null || _fetchcustomercartQue47 === void 0 ? void 0 : _fetchcustomercartQue47.walletpointsused), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue48 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue48 === void 0 || (_fetchcustomercartQue48 = _fetchcustomercartQue48.data) === null || _fetchcustomercartQue48 === void 0 ? void 0 : _fetchcustomercartQue48.customercart.couponexists) && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue49 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue49 === void 0 || (_fetchcustomercartQue49 = _fetchcustomercartQue49.data) === null || _fetchcustomercartQue49 === void 0 ? void 0 : _fetchcustomercartQue49.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10592
10601
|
className: "col-lg-12 p-0 mb-1"
|
|
10593
10602
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10594
10603
|
className: "row m-0 w-100"
|
|
@@ -10600,7 +10609,7 @@
|
|
|
10600
10609
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
10601
10610
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10602
10611
|
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 '
|
|
10603
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10612
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue50 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue50 === void 0 || (_fetchcustomercartQue50 = _fetchcustomercartQue50.data) === null || _fetchcustomercartQue50 === void 0 ? void 0 : _fetchcustomercartQue50.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 || (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue51 === void 0 ? void 0 : _fetchcustomercartQue51.customercart.discountprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue52 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.data) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.customercart.discountprice) == 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "0"))))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10604
10613
|
className: "col-lg-12 p-0"
|
|
10605
10614
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10606
10615
|
className: "row m-0 w-100"
|
|
@@ -10608,11 +10617,11 @@
|
|
|
10608
10617
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
10609
10618
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10610
10619
|
className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
|
|
10611
|
-
}, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10620
|
+
}, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue53 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue53 === void 0 || (_fetchcustomercartQue53 = _fetchcustomercartQue53.data) === null || _fetchcustomercartQue53 === void 0 ? void 0 : _fetchcustomercartQue53.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10612
10621
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
10613
10622
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10614
10623
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
10615
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10624
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue54 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue54 === void 0 || (_fetchcustomercartQue54 = _fetchcustomercartQue54.data) === null || _fetchcustomercartQue54 === void 0 ? void 0 : _fetchcustomercartQue54.customercart.zoneprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue55 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue55 !== void 0 && (_fetchcustomercartQue55 = _fetchcustomercartQue55.data) !== null && _fetchcustomercartQue55 !== void 0 && _fetchcustomercartQue55.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10616
10625
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
10617
10626
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10618
10627
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
|
|
@@ -10651,7 +10660,7 @@
|
|
|
10651
10660
|
textTransform: sectionproperties.total_texttransform,
|
|
10652
10661
|
color: sectionproperties.total_color
|
|
10653
10662
|
}
|
|
10654
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10663
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue56 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.data) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.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", {
|
|
10655
10664
|
"class": "col-lg-12 p-0 my-2 p-2 allcentered mb-3",
|
|
10656
10665
|
style: {
|
|
10657
10666
|
background: '#eee',
|
|
@@ -10686,7 +10695,7 @@
|
|
|
10686
10695
|
width: "20px",
|
|
10687
10696
|
height: "20px",
|
|
10688
10697
|
duration: "1s"
|
|
10689
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10698
|
+
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue57 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue57 === void 0 || (_fetchcustomercartQue57 = _fetchcustomercartQue57.data) === null || _fetchcustomercartQue57 === void 0 ? void 0 : _fetchcustomercartQue57.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : '')), authdetailsContext.loggedin == false && sectionproperties.loginbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10690
10699
|
className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
|
|
10691
10700
|
style: {
|
|
10692
10701
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
@@ -10853,7 +10862,7 @@
|
|
|
10853
10862
|
}, lang.name), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
10854
10863
|
type: 'text',
|
|
10855
10864
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
10856
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10865
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.customercart.name,
|
|
10857
10866
|
onChange: function onChange(event) {
|
|
10858
10867
|
cartinfoupdater('name', event.target.value);
|
|
10859
10868
|
},
|
|
@@ -10868,7 +10877,7 @@
|
|
|
10868
10877
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
10869
10878
|
type: 'text',
|
|
10870
10879
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
10871
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10880
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue59 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue59 === void 0 || (_fetchcustomercartQue59 = _fetchcustomercartQue59.data) === null || _fetchcustomercartQue59 === void 0 ? void 0 : _fetchcustomercartQue59.customercart.mobile,
|
|
10872
10881
|
onChange: function onChange(event) {
|
|
10873
10882
|
cartinfoupdater('mobile', event.target.value);
|
|
10874
10883
|
},
|
|
@@ -10883,7 +10892,7 @@
|
|
|
10883
10892
|
}, lang.email), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
10884
10893
|
type: 'text',
|
|
10885
10894
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
10886
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10895
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue60 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue60 === void 0 || (_fetchcustomercartQue60 = _fetchcustomercartQue60.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.customercart.email,
|
|
10887
10896
|
onChange: function onChange(event) {
|
|
10888
10897
|
cartinfoupdater('email', event.target.value);
|
|
10889
10898
|
},
|
|
@@ -10927,8 +10936,8 @@
|
|
|
10927
10936
|
return option.id;
|
|
10928
10937
|
},
|
|
10929
10938
|
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
10930
|
-
var
|
|
10931
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10939
|
+
var _fetchcustomercartQue61;
|
|
10940
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue61 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue61 === void 0 || (_fetchcustomercartQue61 = _fetchcustomercartQue61.data) === null || _fetchcustomercartQue61 === void 0 ? void 0 : _fetchcustomercartQue61.customercart.countryid);
|
|
10932
10941
|
}),
|
|
10933
10942
|
onChange: function onChange(option) {
|
|
10934
10943
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2l({}, FetchTabexStatesPayloadobjContext);
|
|
@@ -10973,12 +10982,12 @@
|
|
|
10973
10982
|
return option.id;
|
|
10974
10983
|
},
|
|
10975
10984
|
value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
|
|
10976
|
-
var
|
|
10977
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10985
|
+
var _fetchcustomercartQue62;
|
|
10986
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue62 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue62 === void 0 || (_fetchcustomercartQue62 = _fetchcustomercartQue62.data) === null || _fetchcustomercartQue62 === void 0 ? void 0 : _fetchcustomercartQue62.customercart.stateid);
|
|
10978
10987
|
}),
|
|
10979
10988
|
onChange: function onChange(option) {
|
|
10980
|
-
var
|
|
10981
|
-
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10989
|
+
var _fetchcustomercartQue63;
|
|
10990
|
+
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue63 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue63 === void 0 || (_fetchcustomercartQue63 = _fetchcustomercartQue63.data) === null || _fetchcustomercartQue63 === void 0 ? void 0 : _fetchcustomercartQue63.customercart.countryid.length) != 0) {
|
|
10982
10991
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2l({}, FetchTabexStatesPayloadobjContext);
|
|
10983
10992
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
10984
10993
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
@@ -11021,8 +11030,8 @@
|
|
|
11021
11030
|
return option.id;
|
|
11022
11031
|
},
|
|
11023
11032
|
value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
|
|
11024
|
-
var
|
|
11025
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11033
|
+
var _fetchcustomercartQue64;
|
|
11034
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue64 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue64 === void 0 || (_fetchcustomercartQue64 = _fetchcustomercartQue64.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.cityid);
|
|
11026
11035
|
}),
|
|
11027
11036
|
onChange: function onChange(option) {
|
|
11028
11037
|
cartinfoupdater('cityid', option.id);
|
|
@@ -11037,7 +11046,7 @@
|
|
|
11037
11046
|
}, langdetect == 'en' ? sectionproperties.shippingaddressen : sectionproperties.shippingaddressar), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
11038
11047
|
type: 'text',
|
|
11039
11048
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
11040
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11049
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue65 === void 0 || (_fetchcustomercartQue65 = _fetchcustomercartQue65.data) === null || _fetchcustomercartQue65 === void 0 ? void 0 : _fetchcustomercartQue65.customercart.address,
|
|
11041
11050
|
onChange: function onChange(event) {
|
|
11042
11051
|
cartinfoupdater('address', event.target.value);
|
|
11043
11052
|
},
|
|
@@ -11052,7 +11061,7 @@
|
|
|
11052
11061
|
}, langdetect == 'en' ? sectionproperties.notesinen : sectionproperties.notesinar), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
11053
11062
|
type: 'text',
|
|
11054
11063
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
11055
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11064
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.notes,
|
|
11056
11065
|
onChange: function onChange(event) {
|
|
11057
11066
|
cartinfoupdater('notes', event.target.value);
|
|
11058
11067
|
},
|
|
@@ -11067,7 +11076,7 @@
|
|
|
11067
11076
|
}, langdetect == 'en' ? 'Affiliate code' : 'رمز المسوق'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11068
11077
|
type: 'number',
|
|
11069
11078
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
11070
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11079
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue67 === void 0 || (_fetchcustomercartQue67 = _fetchcustomercartQue67.data) === null || _fetchcustomercartQue67 === void 0 || (_fetchcustomercartQue67 = _fetchcustomercartQue67.customercart) === null || _fetchcustomercartQue67 === void 0 ? void 0 : _fetchcustomercartQue67.aff_code,
|
|
11071
11080
|
onChange: function onChange(event) {
|
|
11072
11081
|
cartinfoupdater('aff_code', event.target.value);
|
|
11073
11082
|
},
|
|
@@ -11075,7 +11084,64 @@
|
|
|
11075
11084
|
resize: 'none',
|
|
11076
11085
|
boxShadow: 'none'
|
|
11077
11086
|
}
|
|
11078
|
-
}))))), sectionproperties.
|
|
11087
|
+
}))))), sectionproperties.showshippingmethod == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11088
|
+
className: "col-lg-12 p-0 w-100"
|
|
11089
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11090
|
+
"class": "".concat(checkoutstyles.innersection) + ' w-100 mb-3 '
|
|
11091
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11092
|
+
className: "col-lg-12 pl-3 pr-3 pt-2"
|
|
11093
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11094
|
+
className: checkoutstyles.innersectiontitlestyles + ' m-0 p-0 d-flex align-items-start '
|
|
11095
|
+
}, langdetect == 'en' ? 'Shipping Method' : 'طريقة الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11096
|
+
className: "col-lg-12 p-0"
|
|
11097
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
11098
|
+
className: "mt-2 mb-2"
|
|
11099
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11100
|
+
className: "row m-0 w-100 mb-3 pl-3 pr-3"
|
|
11101
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11102
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
11103
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
11104
|
+
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
11105
|
+
"for": "codcheckbox"
|
|
11106
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11107
|
+
id: 'codcheckbox',
|
|
11108
|
+
type: "checkbox",
|
|
11109
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11110
|
+
checked: land == true ? true : false,
|
|
11111
|
+
onChange: function onChange() {
|
|
11112
|
+
setland(true);
|
|
11113
|
+
setair(false);
|
|
11114
|
+
}
|
|
11115
|
+
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
11116
|
+
viewBox: "0 0 21 21",
|
|
11117
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
11118
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
11119
|
+
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"
|
|
11120
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11121
|
+
className: ' ml-2 mb-0 cursor-pointer wordbreak mr-2',
|
|
11122
|
+
style: {
|
|
11123
|
+
color: sectionproperties.checkbox_color
|
|
11124
|
+
}
|
|
11125
|
+
}, langdetect == 'en' ? 'Land Shipping' : 'شحن بري'))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11126
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
11127
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
11128
|
+
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
11129
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11130
|
+
type: "checkbox",
|
|
11131
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11132
|
+
checked: air == true ? true : false,
|
|
11133
|
+
onChange: function onChange() {
|
|
11134
|
+
setland(false);
|
|
11135
|
+
setair(true);
|
|
11136
|
+
}
|
|
11137
|
+
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
11138
|
+
viewBox: "0 0 21 21",
|
|
11139
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
11140
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
11141
|
+
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"
|
|
11142
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11143
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
11144
|
+
}, " ", langdetect == 'en' ? 'Air Shipping' : 'شحن جوي')))))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11079
11145
|
className: "col-lg-12 p-0 w-100"
|
|
11080
11146
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11081
11147
|
"class": "".concat(checkoutstyles.innersection) + ' w-100 mb-3 '
|
|
@@ -11098,10 +11164,10 @@
|
|
|
11098
11164
|
id: 'codcheckbox',
|
|
11099
11165
|
type: "checkbox",
|
|
11100
11166
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11101
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11167
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue68 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue68 === void 0 || (_fetchcustomercartQue68 = _fetchcustomercartQue68.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.paymentmethod) == 'cod' ? true : false,
|
|
11102
11168
|
onChange: function onChange() {
|
|
11103
|
-
var
|
|
11104
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11169
|
+
var _fetchcustomercartQue69;
|
|
11170
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue69 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue69 === void 0 || (_fetchcustomercartQue69 = _fetchcustomercartQue69.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : _fetchcustomercartQue69.customercart.paymentmethod) != 'cod') {
|
|
11105
11171
|
cartinfoupdater('paymentmethod', 'cod');
|
|
11106
11172
|
}
|
|
11107
11173
|
}
|
|
@@ -11122,10 +11188,10 @@
|
|
|
11122
11188
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11123
11189
|
type: "checkbox",
|
|
11124
11190
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11125
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11191
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.paymentmethod) == 'cardondelivery' ? true : false,
|
|
11126
11192
|
onChange: function onChange() {
|
|
11127
|
-
var
|
|
11128
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11193
|
+
var _fetchcustomercartQue71;
|
|
11194
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue71 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue71 === void 0 || (_fetchcustomercartQue71 = _fetchcustomercartQue71.data) === null || _fetchcustomercartQue71 === void 0 ? void 0 : _fetchcustomercartQue71.customercart.paymentmethod) != 'cardondelivery') {
|
|
11129
11195
|
cartinfoupdater('paymentmethod', 'cardondelivery');
|
|
11130
11196
|
}
|
|
11131
11197
|
}
|
|
@@ -11143,10 +11209,10 @@
|
|
|
11143
11209
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11144
11210
|
type: "checkbox",
|
|
11145
11211
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11146
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11212
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue72 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue72 === void 0 || (_fetchcustomercartQue72 = _fetchcustomercartQue72.data) === null || _fetchcustomercartQue72 === void 0 ? void 0 : _fetchcustomercartQue72.customercart.paymentmethod) == 'onlinepayment' ? true : false,
|
|
11147
11213
|
onChange: function onChange() {
|
|
11148
|
-
var
|
|
11149
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11214
|
+
var _fetchcustomercartQue73;
|
|
11215
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 || (_fetchcustomercartQue73 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue73 === void 0 ? void 0 : _fetchcustomercartQue73.customercart.paymentmethod) != 'onlinepayment') {
|
|
11150
11216
|
cartinfoupdater('paymentmethod', 'onlinepayment');
|
|
11151
11217
|
}
|
|
11152
11218
|
}
|
|
@@ -11164,10 +11230,10 @@
|
|
|
11164
11230
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11165
11231
|
type: "checkbox",
|
|
11166
11232
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11167
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11233
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue74 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.data) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.customercart.paymentmethod) == 'valU' ? true : false,
|
|
11168
11234
|
onChange: function onChange() {
|
|
11169
|
-
var
|
|
11170
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11235
|
+
var _fetchcustomercartQue75;
|
|
11236
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.paymentmethod) != 'valU') {
|
|
11171
11237
|
cartinfoupdater('paymentmethod', 'valU');
|
|
11172
11238
|
}
|
|
11173
11239
|
}
|
|
@@ -11185,10 +11251,10 @@
|
|
|
11185
11251
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11186
11252
|
type: "checkbox",
|
|
11187
11253
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11188
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11254
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.paymentmethod) == 'mobilewallet' ? true : false,
|
|
11189
11255
|
onChange: function onChange() {
|
|
11190
|
-
var
|
|
11191
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11256
|
+
var _fetchcustomercartQue77;
|
|
11257
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.customercart.paymentmethod) != 'mobilewallet') {
|
|
11192
11258
|
cartinfoupdater('paymentmethod', 'mobilewallet');
|
|
11193
11259
|
}
|
|
11194
11260
|
}
|
|
@@ -11206,10 +11272,10 @@
|
|
|
11206
11272
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11207
11273
|
type: "checkbox",
|
|
11208
11274
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11209
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11275
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.customercart) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.paymentmethod) == 'forsa' ? true : false,
|
|
11210
11276
|
onChange: function onChange() {
|
|
11211
|
-
var
|
|
11212
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11277
|
+
var _fetchcustomercartQue79;
|
|
11278
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.customercart) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.paymentmethod) != 'forsa') {
|
|
11213
11279
|
cartinfoupdater('paymentmethod', 'forsa');
|
|
11214
11280
|
}
|
|
11215
11281
|
}
|
|
@@ -11227,10 +11293,10 @@
|
|
|
11227
11293
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11228
11294
|
type: "checkbox",
|
|
11229
11295
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11230
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11296
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.customercart) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.paymentmethod) == 'bankinstallments' ? true : false,
|
|
11231
11297
|
onChange: function onChange() {
|
|
11232
|
-
var
|
|
11233
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11298
|
+
var _fetchcustomercartQue81;
|
|
11299
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.customercart) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.paymentmethod) != 'bankinstallments') {
|
|
11234
11300
|
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
11235
11301
|
}
|
|
11236
11302
|
}
|
|
@@ -11248,10 +11314,10 @@
|
|
|
11248
11314
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11249
11315
|
type: "checkbox",
|
|
11250
11316
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
11251
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11317
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.customercart) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.paymentmethod) == 'Aman' ? true : false,
|
|
11252
11318
|
onChange: function onChange() {
|
|
11253
|
-
var
|
|
11254
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11319
|
+
var _fetchcustomercartQue83;
|
|
11320
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.customercart) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.paymentmethod) != 'Aman') {
|
|
11255
11321
|
cartinfoupdater('paymentmethod', 'Aman');
|
|
11256
11322
|
}
|
|
11257
11323
|
}
|
|
@@ -11262,7 +11328,7 @@
|
|
|
11262
11328
|
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"
|
|
11263
11329
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11264
11330
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
11265
|
-
}, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
11331
|
+
}, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11266
11332
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
11267
11333
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11268
11334
|
style: {
|
|
@@ -22232,7 +22298,36 @@
|
|
|
22232
22298
|
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22233
22299
|
})))), sectionproperties.logocentered == 'Not Centered' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22234
22300
|
className: "col-md-6 col-sm-6 d-flex filter align-items-center p-0"
|
|
22235
|
-
},
|
|
22301
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22302
|
+
style: {
|
|
22303
|
+
width: sectionproperties.cart_BtnWidth_resp + 'px',
|
|
22304
|
+
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
22305
|
+
},
|
|
22306
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
22307
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22308
|
+
"class": ' h-100 allcentered ',
|
|
22309
|
+
style: {
|
|
22310
|
+
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22311
|
+
},
|
|
22312
|
+
onClick: function onClick() {
|
|
22313
|
+
if (sectionproperties.responsiveheaderstyle == 'Style 2') {
|
|
22314
|
+
if (menuactive == true) {
|
|
22315
|
+
setmenuactive(false);
|
|
22316
|
+
} else {
|
|
22317
|
+
setmenuactive(true);
|
|
22318
|
+
}
|
|
22319
|
+
} else {
|
|
22320
|
+
setopenmenuCanvas(true);
|
|
22321
|
+
setactiveTab('menu');
|
|
22322
|
+
}
|
|
22323
|
+
}
|
|
22324
|
+
}, menuactive == false && /*#__PURE__*/React__default["default"].createElement(FiMenu.FiMenu, {
|
|
22325
|
+
size: 20,
|
|
22326
|
+
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22327
|
+
}), menuactive == true && /*#__PURE__*/React__default["default"].createElement(AiOutlineClose.AiOutlineClose, {
|
|
22328
|
+
size: 20,
|
|
22329
|
+
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22330
|
+
}))), InstLogoContainer()), sectionproperties.logocentered == 'Centered' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22236
22331
|
className: "col-md-4 col-sm-6 allcentered p-0"
|
|
22237
22332
|
}, InstLogoContainer()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22238
22333
|
className: sectionproperties.logocentered != 'Centered' ? 'col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0' : 'col-md-4 col-sm-3 d-flex align-items-center justify-content-end p-0'
|
|
@@ -22338,7 +22433,31 @@
|
|
|
22338
22433
|
className: "h-100 allcentered"
|
|
22339
22434
|
}, /*#__PURE__*/React__default["default"].createElement(BiChevronDown.BiChevronDown, {
|
|
22340
22435
|
size: 20
|
|
22341
|
-
}))))
|
|
22436
|
+
})))), sectionproperties.logocentered == 'Not Centered' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22437
|
+
"class": langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-1 ' : ' m-0 cursor-pointer mr-1 ',
|
|
22438
|
+
style: {
|
|
22439
|
+
minWidth: '30px'
|
|
22440
|
+
},
|
|
22441
|
+
onClick: function onClick() {
|
|
22442
|
+
if (langdetect == 'en') {
|
|
22443
|
+
setlang('ar');
|
|
22444
|
+
} else {
|
|
22445
|
+
setlang('en');
|
|
22446
|
+
}
|
|
22447
|
+
}
|
|
22448
|
+
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22449
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 allcentered w-100 '
|
|
22450
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22451
|
+
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
22452
|
+
}, "En", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22453
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
22454
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22455
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 allcentered w-100 '
|
|
22456
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22457
|
+
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
22458
|
+
}, "\u0639", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22459
|
+
"class": "h-100 allcentered mr-auto pr-3"
|
|
22460
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))))), menuactive == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22342
22461
|
"class": "px-4 py-4 scrollvertical",
|
|
22343
22462
|
style: {
|
|
22344
22463
|
position: 'fixed',
|
|
@@ -69405,7 +69524,7 @@
|
|
|
69405
69524
|
})
|
|
69406
69525
|
};
|
|
69407
69526
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69408
|
-
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : "".concat(card_cssstyles.productcard)
|
|
69527
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard, " ").concat(cardstyles$1.container, " ") + ' w-100 ' : "".concat(card_cssstyles.productcard, " ").concat(cardstyles$1.container, " ")
|
|
69409
69528
|
// class={`${cardstyles.container} ${card_cssstyles.container}` + ' row m-0 w-100 '}
|
|
69410
69529
|
,
|
|
69411
69530
|
style: {
|
|
@@ -69555,9 +69674,7 @@
|
|
|
69555
69674
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
69556
69675
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
69557
69676
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
69558
|
-
marginBottom: sectionproperties.
|
|
69559
|
-
marginLeft: langdetect == 'en' ? sectionproperties.image_marginleft + 'px' : sectionproperties.image_marginright + 'px',
|
|
69560
|
-
marginRight: langdetect == 'en' ? sectionproperties.image_marginright + 'px' : sectionproperties.image_marginleft + 'px',
|
|
69677
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
69561
69678
|
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
69562
69679
|
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.image_width + 'px',
|
|
69563
69680
|
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.image_width + 'px',
|
|
@@ -69609,13 +69726,7 @@
|
|
|
69609
69726
|
style: {
|
|
69610
69727
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
69611
69728
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
69612
|
-
}
|
|
69613
|
-
// class={
|
|
69614
|
-
// sectionproperties.image_height > 550
|
|
69615
|
-
// ? `${card_cssstyles.imagestyle} ${productcardsstyles.productcard}` + ' p-0 h-md-300 '
|
|
69616
|
-
// : `${card_cssstyles.imagestyle} ${productcardsstyles.productcard}` + ' p-0 '
|
|
69617
|
-
// }
|
|
69618
|
-
,
|
|
69729
|
+
},
|
|
69619
69730
|
onClick: function onClick() {
|
|
69620
69731
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
69621
69732
|
}
|