tabexseriescomponents 0.0.288 → 0.0.291
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 +448 -258
- package/dist/index.esm.js +449 -259
- package/dist/index.umd.js +450 -260
- package/package.json +1 -1
- package/src.zip +0 -0
package/dist/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/assertThisInitialized'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('@react-icons/all-files/fa/FaFacebookF'), require('@react-icons/all-files/ai/AiOutlineUser'), require('@react-icons/all-files/io/IoMdClose'), require('react-bootstrap'), require('react-query'), require('react-image-gallery'), require('@react-icons/all-files/md/MdAddShoppingCart'), require('@react-icons/all-files/io5/IoBagHandleOutline'), require('@react-icons/all-files/bs/BsBag'), require('@react-icons/all-files/cg/CgShoppingBag'), require('@react-icons/all-files/fa/FaRegHeart'), require('@react-icons/all-files/fa/FaHeart'), require('@react-icons/all-files/fi/FiShoppingBag'), require('@react-icons/all-files/fi/FiShoppingCart'), require('@react-icons/all-files/ai/AiFillStar'), require('@react-icons/all-files/ai/AiOutlineStar'), require('react-share'), require('imagekitio-react'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('@
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'react-query', 'react-image-gallery', '@react-icons/all-files/md/MdAddShoppingCart', '@react-icons/all-files/io5/IoBagHandleOutline', '@react-icons/all-files/bs/BsBag', '@react-icons/all-files/cg/CgShoppingBag', '@react-icons/all-files/fa/FaRegHeart', '@react-icons/all-files/fa/FaHeart', '@react-icons/all-files/fi/FiShoppingBag', '@react-icons/all-files/fi/FiShoppingCart', '@react-icons/all-files/ai/AiFillStar', '@react-icons/all-files/ai/AiOutlineStar', 'react-share', 'imagekitio-react', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', '@
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, null, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar, global.AiOutlineStar, global.reactShare, global.imagekitioReact, global.ReactStars, global.FiLayers, global.
|
|
5
|
-
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, reactQuery, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart, FiShoppingBag, FiShoppingCart, AiFillStar, AiOutlineStar, reactShare, imagekitioReact, ReactStars, FiLayers,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/assertThisInitialized'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('@react-icons/all-files/fa/FaFacebookF'), require('@react-icons/all-files/ai/AiOutlineUser'), require('@react-icons/all-files/io/IoMdClose'), require('react-bootstrap'), require('react-query'), require('react-image-gallery'), require('@react-icons/all-files/md/MdAddShoppingCart'), require('@react-icons/all-files/io5/IoBagHandleOutline'), require('@react-icons/all-files/bs/BsBag'), require('@react-icons/all-files/cg/CgShoppingBag'), require('@react-icons/all-files/fa/FaRegHeart'), require('@react-icons/all-files/fa/FaHeart'), require('@react-icons/all-files/fi/FiShoppingBag'), require('@react-icons/all-files/fi/FiShoppingCart'), require('@react-icons/all-files/ai/AiFillStar'), require('@react-icons/all-files/ai/AiOutlineStar'), require('react-share'), require('imagekitio-react'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('@babel/runtime/helpers/toConsumableArray'), require('react-textarea-autosize'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-horizontal-scrolling-menu'), require('@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-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fa/FaStar'), require('@react-icons/all-files/io5/IoLocationSharp'), require('@react-icons/all-files/hi/HiOutlineChevronRight'), require('@react-icons/all-files/hi/HiOutlineChevronLeft'), require('@react-icons/all-files/go/GoGlobe'), require('@react-icons/all-files/vsc/VscGlobe'), require('@react-icons/all-files/hi/HiOutlineTrash'), require('@react-icons/all-files/bi/BiSad'), require('@react-icons/all-files/fi/FiCalendar'), require('react-bootstrap/Dropdown'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('react-phone-input-2'), require('@react-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-accessible-accordion'), 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-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/fa/FaArrowAltCircleRight'), require('@react-icons/all-files/fa/FaArrowAltCircleLeft'), require('@react-icons/all-files/fi/FiFilter'), require('@react-icons/all-files/fi/FiChevronLeft'), require('@react-icons/all-files/fi/FiChevronRight'), require('@react-icons/all-files/hi/HiOutlineArrowRight'), require('@react-icons/all-files/hi/HiOutlineArrowLeft'), require('react-paginate'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/md/MdKeyboardArrowDown'), require('@react-icons/all-files/fa/FaMoneyBillWave'), require('@react-icons/all-files/bi/BiLogOutCircle'), require('@react-icons/all-files/bi/BiChevronDown'), require('@react-icons/all-files/bi/BiUser'), require('@react-icons/all-files/ai/AiOutlineLogin'), require('@react-icons/all-files/ai/AiOutlineUserAdd'), require('@react-icons/all-files/ri/RiSearchLine'), require('@react-icons/all-files/cg/CgMenuLeft'), require('@react-icons/all-files/cg/CgMenuRight'), require('@react-icons/all-files/hi/HiOutlineShoppingBag'), require('@react-icons/all-files/ri/RiHandbagLine'), require('@react-icons/all-files/bi/BiSearch'), require('@react-icons/all-files/fi/FiUser'), require('@react-icons/all-files/ai/AiOutlineHeart'), require('@react-icons/all-files/fi/FiPhone'), require('@react-icons/all-files/hi/HiMenuAlt4'), require('@react-icons/all-files/fi/FiSearch'), require('@react-icons/all-files/bs/BsSearch'), require('@react-icons/all-files/ai/AiFillInstagram'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/go/GoSearch'), require('@react-icons/all-files/ai/AiOutlineInstagram'), require('@react-icons/all-files/bs/BsChevronDown'), require('@react-icons/all-files/bs/BsChevronUp'), require('@react-icons/all-files/ri/RiUserSettingsLine'), require('@react-icons/all-files/io5/IoClose'), require('@react-icons/all-files/hi/HiUserCircle'), require('@react-icons/all-files/md/MdKeyboardArrowUp'), require('@react-icons/all-files/bs/BsInfoCircle'), require('@react-icons/all-files/ai/AiFillPhone'), require('@react-icons/all-files/fa/FaTelegramPlane'), require('@react-icons/all-files/fa/FaPhoneAlt'), require('@react-icons/all-files/fa/FaPhone'), require('@react-icons/all-files/ai/AiOutlinePhone'), require('@react-icons/all-files/go/GoLocation'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('react-select'), require('react-player'), require('react-background-slideshow'), require('@babel/runtime/helpers/extends'), require('react-slideshow-image'), require('@react-icons/all-files/hi/HiOutlineLocationMarker'), require('@react-icons/all-files/fi/FiPhoneCall'), require('@react-icons/all-files/fa/FaRegEye'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('@react-icons/all-files/bs/BsArrowRight'), require('@react-icons/all-files/bs/BsArrowLeft'), require('@react-icons/all-files/bs/BsEye'), require('@react-icons/all-files/bi/BiTimeFive'), require('@react-icons/all-files/io/IoIosArrowUp')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'react-query', 'react-image-gallery', '@react-icons/all-files/md/MdAddShoppingCart', '@react-icons/all-files/io5/IoBagHandleOutline', '@react-icons/all-files/bs/BsBag', '@react-icons/all-files/cg/CgShoppingBag', '@react-icons/all-files/fa/FaRegHeart', '@react-icons/all-files/fa/FaHeart', '@react-icons/all-files/fi/FiShoppingBag', '@react-icons/all-files/fi/FiShoppingCart', '@react-icons/all-files/ai/AiFillStar', '@react-icons/all-files/ai/AiOutlineStar', 'react-share', 'imagekitio-react', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', '@babel/runtime/helpers/toConsumableArray', 'react-textarea-autosize', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-horizontal-scrolling-menu', '@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-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fa/FaStar', '@react-icons/all-files/io5/IoLocationSharp', '@react-icons/all-files/hi/HiOutlineChevronRight', '@react-icons/all-files/hi/HiOutlineChevronLeft', '@react-icons/all-files/go/GoGlobe', '@react-icons/all-files/vsc/VscGlobe', '@react-icons/all-files/hi/HiOutlineTrash', '@react-icons/all-files/bi/BiSad', '@react-icons/all-files/fi/FiCalendar', 'react-bootstrap/Dropdown', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', 'react-phone-input-2', '@react-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-accessible-accordion', '@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-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-input-range', 'react-intersection-observer', '@react-icons/all-files/fa/FaArrowAltCircleRight', '@react-icons/all-files/fa/FaArrowAltCircleLeft', '@react-icons/all-files/fi/FiFilter', '@react-icons/all-files/fi/FiChevronLeft', '@react-icons/all-files/fi/FiChevronRight', '@react-icons/all-files/hi/HiOutlineArrowRight', '@react-icons/all-files/hi/HiOutlineArrowLeft', 'react-paginate', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/md/MdKeyboardArrowDown', '@react-icons/all-files/fa/FaMoneyBillWave', '@react-icons/all-files/bi/BiLogOutCircle', '@react-icons/all-files/bi/BiChevronDown', '@react-icons/all-files/bi/BiUser', '@react-icons/all-files/ai/AiOutlineLogin', '@react-icons/all-files/ai/AiOutlineUserAdd', '@react-icons/all-files/ri/RiSearchLine', '@react-icons/all-files/cg/CgMenuLeft', '@react-icons/all-files/cg/CgMenuRight', '@react-icons/all-files/hi/HiOutlineShoppingBag', '@react-icons/all-files/ri/RiHandbagLine', '@react-icons/all-files/bi/BiSearch', '@react-icons/all-files/fi/FiUser', '@react-icons/all-files/ai/AiOutlineHeart', '@react-icons/all-files/fi/FiPhone', '@react-icons/all-files/hi/HiMenuAlt4', '@react-icons/all-files/fi/FiSearch', '@react-icons/all-files/bs/BsSearch', '@react-icons/all-files/ai/AiFillInstagram', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/go/GoSearch', '@react-icons/all-files/ai/AiOutlineInstagram', '@react-icons/all-files/bs/BsChevronDown', '@react-icons/all-files/bs/BsChevronUp', '@react-icons/all-files/ri/RiUserSettingsLine', '@react-icons/all-files/io5/IoClose', '@react-icons/all-files/hi/HiUserCircle', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/fa/FaTelegramPlane', '@react-icons/all-files/fa/FaPhoneAlt', '@react-icons/all-files/fa/FaPhone', '@react-icons/all-files/ai/AiOutlinePhone', '@react-icons/all-files/go/GoLocation', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', 'react-select', 'react-player', 'react-background-slideshow', '@babel/runtime/helpers/extends', 'react-slideshow-image', '@react-icons/all-files/hi/HiOutlineLocationMarker', '@react-icons/all-files/fi/FiPhoneCall', '@react-icons/all-files/fa/FaRegEye', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', '@react-icons/all-files/bs/BsArrowRight', '@react-icons/all-files/bs/BsArrowLeft', '@react-icons/all-files/bs/BsEye', '@react-icons/all-files/bi/BiTimeFive', '@react-icons/all-files/io/IoIosArrowUp'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, null, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar, global.AiOutlineStar, global.reactShare, global.imagekitioReact, global.ReactStars, global.FiLayers, global._toConsumableArray, global.TextareaAutosize, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.material, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.HiOutlineTrash, global.BiSad, global.FiCalendar, global.Dropdown, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.BsChevronLeft, global.BsChevronRight, null, null, global.IoIosArrowRoundForward, global.IoIosArrowRoundBack, global.reactAccessibleAccordion, global.FiChevronUp, global.FiChevronDown, global.HiOutlinePlus, global.AiOutlineMinus, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.InputRange, global.reactIntersectionObserver, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.FiFilter, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.BiGlobe, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiFillInstagram, global.FaWhatsapp, global.GoSearch, global.AiOutlineInstagram, global.BsChevronDown, null, global.RiUserSettingsLine, global.IoClose, global.HiUserCircle, global.MdKeyboardArrowUp, global.BsInfoCircle, global.AiFillPhone, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.AiOutlinePhone, global.GoLocation, global.RiRoadMapLine, global.HiOutlineClock, global.Select$4, global.ReactPlayer, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.FaRegEye, global.FiMinus, global.FiPlus, global.BsArrowRight, global.BsArrowLeft, global.BsEye, global.BiTimeFive, global.IoIosArrowUp));
|
|
5
|
+
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, reactQuery, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart, FiShoppingBag, FiShoppingCart, AiFillStar, AiOutlineStar, reactShare, imagekitioReact, ReactStars, FiLayers, _toConsumableArray, TextareaAutosize, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, material, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, HiOutlineTrash, BiSad, FiCalendar, Dropdown, HiUser, GrMail, FiCheckCircle, BiPhone, PhoneInput, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, IoIosArrowRoundForward, IoIosArrowRoundBack, reactAccessibleAccordion, FiChevronUp, FiChevronDown, HiOutlinePlus, AiOutlineMinus, reactRouterDom, IoBagCheckOutline, IoBagRemoveOutline, InputRange, reactIntersectionObserver, FaArrowAltCircleRight, FaArrowAltCircleLeft, FiFilter, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, BiGlobe, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiFillInstagram, FaWhatsapp, GoSearch, AiOutlineInstagram, BsChevronDown, BsChevronUp, RiUserSettingsLine, IoClose, HiUserCircle, MdKeyboardArrowUp, BsInfoCircle, AiFillPhone, FaTelegramPlane, FaPhoneAlt, FaPhone, AiOutlinePhone, GoLocation, RiRoadMapLine, HiOutlineClock, Select$4, ReactPlayer, BackgroundSlideshow, _extends, reactSlideshowImage, HiOutlineLocationMarker, FiPhoneCall, FaRegEye, FiMinus, FiPlus, BsArrowRight, BsArrowLeft, BsEye, BiTimeFive, IoIosArrowUp) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
var PhoneInput__default = /*#__PURE__*/_interopDefaultLegacy(PhoneInput);
|
|
27
27
|
var InputRange__default = /*#__PURE__*/_interopDefaultLegacy(InputRange);
|
|
28
28
|
var ReactPaginate__default = /*#__PURE__*/_interopDefaultLegacy(ReactPaginate);
|
|
29
|
-
var Select__default = /*#__PURE__*/_interopDefaultLegacy(Select$
|
|
29
|
+
var Select__default = /*#__PURE__*/_interopDefaultLegacy(Select$4);
|
|
30
30
|
var ReactPlayer__default = /*#__PURE__*/_interopDefaultLegacy(ReactPlayer);
|
|
31
31
|
var BackgroundSlideshow__default = /*#__PURE__*/_interopDefaultLegacy(BackgroundSlideshow);
|
|
32
32
|
var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
|
|
@@ -369,8 +369,8 @@
|
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
|
|
372
|
-
var css_248z$L = ".login-module_login_input_icon__hETpJ {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 10px;\n left: 0;\n padding-left: 15px;\n pointer-events: none;\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n}\n.login-module_login_input_icontrans__8whFD{\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 10px;\n right: 5;\n pointer-events: none;\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n\n}\n.login-module_form_control__-41tV:focus + .login-module_login_input_icontrans__8whFD {\n /* padding-right: 10px; */\n}\n@media screen and (max-width: 500px) {\n .login-module_login_input_icon__hETpJ {\n padding-left: 0 !important;\n }\n .login-module_rightContainer__Nt9tD {\n border-radius: 0 0 15px 15px !important;\n }\n .login-module_leftcontainer__Rlat- {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.login-module_form_control__-41tV:focus {\n -webkit-animation: login-module_anim-shadow__4SiKH 0.5s ease-in-out forwards;\n animation: login-module_anim-shadow__4SiKH 0.5s ease-in-out forwards;\n}\n.login-module_form_control__-41tV:focus + .login-module_login_input_icon__hETpJ {\n /* padding-left: 20px; */\n}\n\n/* Forms */\n@media screen and (prefers-reduced-motion: reduce) {\n .login-module_form_control__-41tV {\n transition: none;\n }\n}\n.login-module_form_control__-41tV::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.login-module_form_control__-41tV:focus {\n outline: 0;\n}\n.login-module_form_control__-41tV::placeholder {\n opacity: 1;\n}\n.login-module_form_control__-41tV:disabled,\n.login-module_form_control__-41tV[readonly] {\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.login-module_form_control__-41tV {\n height: auto;\n}\n.login-module_form_control__-41tV:focus {\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.login-module_form_control__-41tV::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control_border_none__dkr-m {\n background-image: none;\n}\n.login-module_form_control__-41tV.login-module_disabled__fUlAg,\n.login-module_form_control__-41tV:disabled,\n.login-module_form_control__-41tV[disabled] {\n cursor: not-allowed;\n}\n";
|
|
373
|
-
var loginstyles$1 = {"login_input_icon":"login-module_login_input_icon__hETpJ","login_input_icontrans":"login-module_login_input_icontrans__8whFD","form_control":"login-module_form_control__-41tV","rightContainer":"login-module_rightContainer__Nt9tD","leftcontainer":"login-module_leftcontainer__Rlat-","anim-shadow":"login-module_anim-shadow__4SiKH","form_control_border_none":"login-module_form_control_border_none__dkr-m","disabled":"login-module_disabled__fUlAg"};
|
|
372
|
+
var css_248z$L = ".login-module_login_input_icon__hETpJ {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 10px;\n left: 0;\n padding-left: 15px;\n pointer-events: none;\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n}\n.login-module_showpassword_input_icon__5lPiH {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 15px;\n right: 25px;\n padding-left: 15px;\n\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n cursor: pointer !important;\n z-index: 10000000000000000000000 !important;\n}\n.login-module_login_input_icontrans__8whFD {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 10px;\n right: 5;\n pointer-events: none;\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n}\n.login-module_showpassword_input_icontrans__hKlPg {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 15px;\n left: 25px;\n\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n cursor: pointer !important;\n z-index: 10000000000000000000000 !important;\n}\n.login-module_form_control__-41tV:focus + .login-module_login_input_icontrans__8whFD {\n /* padding-right: 10px; */\n}\n@media screen and (max-width: 500px) {\n .login-module_login_input_icon__hETpJ {\n padding-left: 0 !important;\n }\n .login-module_rightContainer__Nt9tD {\n border-radius: 0 0 15px 15px !important;\n }\n .login-module_leftcontainer__Rlat- {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.login-module_form_control__-41tV:focus {\n -webkit-animation: login-module_anim-shadow__4SiKH 0.5s ease-in-out forwards;\n animation: login-module_anim-shadow__4SiKH 0.5s ease-in-out forwards;\n}\n.login-module_form_control__-41tV:focus + .login-module_login_input_icon__hETpJ {\n /* padding-left: 20px; */\n}\n\n/* Forms */\n@media screen and (prefers-reduced-motion: reduce) {\n .login-module_form_control__-41tV {\n transition: none;\n }\n}\n.login-module_form_control__-41tV::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.login-module_form_control__-41tV:focus {\n outline: 0;\n}\n.login-module_form_control__-41tV::placeholder {\n opacity: 1;\n}\n.login-module_form_control__-41tV:disabled,\n.login-module_form_control__-41tV[readonly] {\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.login-module_form_control__-41tV {\n height: auto;\n}\n.login-module_form_control__-41tV:focus {\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.login-module_form_control__-41tV::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control_border_none__dkr-m {\n background-image: none;\n}\n.login-module_form_control__-41tV.login-module_disabled__fUlAg,\n.login-module_form_control__-41tV:disabled,\n.login-module_form_control__-41tV[disabled] {\n cursor: not-allowed;\n}\n";
|
|
373
|
+
var loginstyles$1 = {"login_input_icon":"login-module_login_input_icon__hETpJ","showpassword_input_icon":"login-module_showpassword_input_icon__5lPiH","login_input_icontrans":"login-module_login_input_icontrans__8whFD","showpassword_input_icontrans":"login-module_showpassword_input_icontrans__hKlPg","form_control":"login-module_form_control__-41tV","rightContainer":"login-module_rightContainer__Nt9tD","leftcontainer":"login-module_leftcontainer__Rlat-","anim-shadow":"login-module_anim-shadow__4SiKH","form_control_border_none":"login-module_form_control_border_none__dkr-m","disabled":"login-module_disabled__fUlAg"};
|
|
374
374
|
styleInject(css_248z$L);
|
|
375
375
|
|
|
376
376
|
var GoogleLoginButton = function GoogleLoginButton(props) {
|
|
@@ -471,40 +471,44 @@
|
|
|
471
471
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
472
472
|
statusreason = _useState2[0];
|
|
473
473
|
_useState2[1];
|
|
474
|
-
var _useState3 = React.useState(
|
|
474
|
+
var _useState3 = React.useState(false),
|
|
475
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
476
|
+
showpassword = _useState4[0],
|
|
477
|
+
setshowpassword = _useState4[1];
|
|
478
|
+
var _useState5 = React.useState({
|
|
475
479
|
instapikey: instapikey,
|
|
476
480
|
email: '',
|
|
477
481
|
code: '',
|
|
478
482
|
newpassword: '',
|
|
479
483
|
confirmnewpassword: ''
|
|
480
484
|
}),
|
|
481
|
-
|
|
482
|
-
forgotpasswordpayload =
|
|
483
|
-
setforgotpasswordpayload =
|
|
484
|
-
var
|
|
485
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
486
|
+
forgotpasswordpayload = _useState6[0],
|
|
487
|
+
setforgotpasswordpayload = _useState6[1];
|
|
488
|
+
var _useState7 = React.useState({
|
|
485
489
|
instapikey: instapikey,
|
|
486
490
|
email: '',
|
|
487
491
|
password: ''
|
|
488
492
|
}),
|
|
489
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
490
|
-
payloadobj = _useState6[0],
|
|
491
|
-
setpayloadobj = _useState6[1];
|
|
492
|
-
var _useState7 = React.useState('send'),
|
|
493
493
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
var _useState9 = React.useState(
|
|
494
|
+
payloadobj = _useState8[0],
|
|
495
|
+
setpayloadobj = _useState8[1];
|
|
496
|
+
var _useState9 = React.useState('send'),
|
|
497
497
|
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
var _useState11 = React.useState(
|
|
501
|
-
_useState12 = _slicedToArray__default["default"](_useState11, 2)
|
|
502
|
-
_useState12[0]
|
|
503
|
-
|
|
498
|
+
forgetpasswordstage = _useState10[0],
|
|
499
|
+
setforgetpasswordstage = _useState10[1];
|
|
500
|
+
var _useState11 = React.useState(false),
|
|
501
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
502
|
+
forgetpasswordmodal = _useState12[0],
|
|
503
|
+
setforgetpasswordmodal = _useState12[1];
|
|
504
504
|
var _useState13 = React.useState(''),
|
|
505
|
-
_useState14 = _slicedToArray__default["default"](_useState13, 2)
|
|
506
|
-
|
|
507
|
-
|
|
505
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2);
|
|
506
|
+
_useState14[0];
|
|
507
|
+
var setCurrentPageId = _useState14[1];
|
|
508
|
+
var _useState15 = React.useState(''),
|
|
509
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
510
|
+
sectionproperties = _useState16[0],
|
|
511
|
+
setsectionproperties = _useState16[1];
|
|
508
512
|
React.useEffect(function () {
|
|
509
513
|
var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
|
|
510
514
|
return x.staticpageid == '6218bccb77283';
|
|
@@ -690,9 +694,16 @@
|
|
|
690
694
|
className: "col-lg-12 col-md-12 col-sm-12 p-sm-0"
|
|
691
695
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
692
696
|
className: "".concat(loginstyles2.logininputLabel) + ' text-transform-none d-flex justify-content-start '
|
|
693
|
-
}, langdetect == 'en' ? 'Password' : 'كلمة السر'), /*#__PURE__*/React__default["default"].createElement("
|
|
697
|
+
}, langdetect == 'en' ? 'Password' : 'كلمة السر'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
698
|
+
onClick: function onClick() {
|
|
699
|
+
setshowpassword(!showpassword);
|
|
700
|
+
},
|
|
701
|
+
className: langdetect == 'en' ? loginstyles$1.showpassword_input_icon : loginstyles$1.showpassword_input_icontrans
|
|
702
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
703
|
+
className: "fa fa-eye h-100 d-flex align-items-center justify-content-center"
|
|
704
|
+
})), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
694
705
|
className: "".concat(loginstyles$1.form_control, " ").concat(loginstyles2.form_control),
|
|
695
|
-
type:
|
|
706
|
+
type: showpassword ? 'text' : 'password',
|
|
696
707
|
textplaceholder: "",
|
|
697
708
|
value: payloadobj.password,
|
|
698
709
|
onChange: function onChange(event) {
|
|
@@ -960,8 +971,133 @@
|
|
|
960
971
|
var loginstyles = {"rightContainer":"signup-module_rightContainer__yEcoL","rightContainerTrans":"signup-module_rightContainerTrans__fkdBH","rightContainerText":"signup-module_rightContainerText__-pvN-","form_control":"signup-module_form_control__7s76W","anim-shadow":"signup-module_anim-shadow__CsxhG","login_input_icon":"signup-module_login_input_icon__RDTS0","form_control_border_none":"signup-module_form_control_border_none__HjUMS","disabled":"signup-module_disabled__h55ao","leftcontainer":"signup-module_leftcontainer__bqfnN","form_controltextarea":"signup-module_form_controltextarea__-LGz6","checkbox":"signup-module_checkbox__8ejBx","checkbox_label":"signup-module_checkbox_label__d84Q2","checkbox_sub":"signup-module_checkbox_sub__WQLUX","checkboxtranslated":"signup-module_checkboxtranslated__4xHR-"};
|
|
961
972
|
styleInject(css_248z$H);
|
|
962
973
|
|
|
974
|
+
function ownKeys$29(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
975
|
+
function _objectSpread$29(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$29(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$29(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
976
|
+
var defaultstyles = {
|
|
977
|
+
option: function option(provided, state) {
|
|
978
|
+
return _objectSpread$29(_objectSpread$29({}, provided), {}, {
|
|
979
|
+
borderBottom: '1px solid #e6e6e6',
|
|
980
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
981
|
+
padding: 5,
|
|
982
|
+
textTransform: 'capitalize',
|
|
983
|
+
color: state.isSelected ? '#eac435' : 'black',
|
|
984
|
+
transition: '.3s',
|
|
985
|
+
'&:hover': {
|
|
986
|
+
// color: '#eac435',
|
|
987
|
+
cursor: 'pointer'
|
|
988
|
+
}
|
|
989
|
+
});
|
|
990
|
+
},
|
|
991
|
+
control: function control() {
|
|
992
|
+
return {
|
|
993
|
+
borderBottom: '1px solid #ccc',
|
|
994
|
+
backgroundColor: 'white',
|
|
995
|
+
display: 'flex',
|
|
996
|
+
cursor: 'pointer',
|
|
997
|
+
padding: 0,
|
|
998
|
+
transition: '.3s',
|
|
999
|
+
'&:hover': {
|
|
1000
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1001
|
+
// borderRadius: '10px',
|
|
1002
|
+
}
|
|
1003
|
+
};
|
|
1004
|
+
},
|
|
1005
|
+
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1006
|
+
return _objectSpread$29(_objectSpread$29({}, provided), {}, {
|
|
1007
|
+
'&:hover': {
|
|
1008
|
+
// color: '#eac435',
|
|
1009
|
+
}
|
|
1010
|
+
});
|
|
1011
|
+
}
|
|
1012
|
+
};
|
|
1013
|
+
var defaultstylestranslated = {
|
|
1014
|
+
option: function option(provided, state) {
|
|
1015
|
+
return _objectSpread$29(_objectSpread$29({}, provided), {}, {
|
|
1016
|
+
borderBottom: '1px solid #e6e6e6',
|
|
1017
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
1018
|
+
padding: 5,
|
|
1019
|
+
textTransform: 'capitalize',
|
|
1020
|
+
// color: state.isSelected ? '#eac435' : '#022648',
|
|
1021
|
+
color: state.isSelected ? '#eac435' : 'black',
|
|
1022
|
+
transition: '.3s',
|
|
1023
|
+
textAlign: 'right',
|
|
1024
|
+
'&:hover': {
|
|
1025
|
+
// color: '#eac435',
|
|
1026
|
+
cursor: 'pointer'
|
|
1027
|
+
}
|
|
1028
|
+
});
|
|
1029
|
+
},
|
|
1030
|
+
control: function control() {
|
|
1031
|
+
return {
|
|
1032
|
+
borderBottom: '1px solid #ccc',
|
|
1033
|
+
backgroundColor: 'white',
|
|
1034
|
+
display: 'flex',
|
|
1035
|
+
cursor: 'pointer',
|
|
1036
|
+
padding: 0,
|
|
1037
|
+
transition: '.3s',
|
|
1038
|
+
textAlign: 'right',
|
|
1039
|
+
'&:hover': {
|
|
1040
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1041
|
+
// borderRadius: '10px',
|
|
1042
|
+
}
|
|
1043
|
+
};
|
|
1044
|
+
},
|
|
1045
|
+
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1046
|
+
return _objectSpread$29(_objectSpread$29({}, provided), {}, {
|
|
1047
|
+
'&:hover': {
|
|
1048
|
+
// color: '#eac435',
|
|
1049
|
+
}
|
|
1050
|
+
});
|
|
1051
|
+
},
|
|
1052
|
+
placeholder: function placeholder(provided, state) {
|
|
1053
|
+
return _objectSpread$29(_objectSpread$29({}, provided), {}, {
|
|
1054
|
+
textAlign: 'right'
|
|
1055
|
+
});
|
|
1056
|
+
}
|
|
1057
|
+
};
|
|
1058
|
+
var defaultstylesnone = {
|
|
1059
|
+
option: function option(provided, state) {
|
|
1060
|
+
return _objectSpread$29(_objectSpread$29({}, provided), {}, {
|
|
1061
|
+
borderBottom: '1px solid #e6e6e6',
|
|
1062
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
1063
|
+
padding: 5,
|
|
1064
|
+
textTransform: 'capitalize',
|
|
1065
|
+
color: state.isSelected ? '#eac435' : 'black',
|
|
1066
|
+
transition: '.3s',
|
|
1067
|
+
'&:hover': {
|
|
1068
|
+
// color: '#eac435',
|
|
1069
|
+
cursor: 'pointer'
|
|
1070
|
+
}
|
|
1071
|
+
});
|
|
1072
|
+
},
|
|
1073
|
+
control: function control() {
|
|
1074
|
+
return {
|
|
1075
|
+
borderBottom: 'none',
|
|
1076
|
+
backgroundColor: 'transparent',
|
|
1077
|
+
display: 'flex',
|
|
1078
|
+
cursor: 'pointer',
|
|
1079
|
+
padding: 0,
|
|
1080
|
+
transition: '.3s',
|
|
1081
|
+
'&:hover': {
|
|
1082
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1083
|
+
// borderRadius: '10px',
|
|
1084
|
+
}
|
|
1085
|
+
};
|
|
1086
|
+
},
|
|
1087
|
+
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1088
|
+
return _objectSpread$29(_objectSpread$29({}, provided), {}, {
|
|
1089
|
+
'&:hover': {
|
|
1090
|
+
// color: '#eac435',
|
|
1091
|
+
}
|
|
1092
|
+
});
|
|
1093
|
+
}
|
|
1094
|
+
};
|
|
1095
|
+
|
|
1096
|
+
var Select$3 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
1097
|
+
return import('react-select');
|
|
1098
|
+
});
|
|
963
1099
|
var Variantoptions = function Variantoptions(props) {
|
|
964
|
-
var _css, _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2;
|
|
1100
|
+
var _css, _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _ProductInfoObj$data2, _ProductInfoObj$data3, _ProductInfoObj$data4;
|
|
965
1101
|
var lang = props.actions.lang;
|
|
966
1102
|
var langdetect = props.actions.langdetect;
|
|
967
1103
|
var selectproductoptionvalue = props.actions.selectproductoptionvalue;
|
|
@@ -1117,23 +1253,74 @@
|
|
|
1117
1253
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1118
1254
|
}
|
|
1119
1255
|
}))));
|
|
1120
|
-
})), sectionproperties.variantstyle == 'Select Box' &&
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1256
|
+
})), sectionproperties.variantstyle == 'Select Box' && (ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : (_ProductInfoObj$data3 = _ProductInfoObj$data2.productinfo) === null || _ProductInfoObj$data3 === void 0 ? void 0 : (_ProductInfoObj$data4 = _ProductInfoObj$data3.productoptions) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.map(function (item, index) {
|
|
1257
|
+
var orgselectoptions = [];
|
|
1258
|
+
var selecteditemid = null;
|
|
1259
|
+
var placeholdervalue = '';
|
|
1260
|
+
placeholdervalue = 'Choose' + ' ' + (langdetect == 'en' ? item.optionname : item.optionname_ar);
|
|
1261
|
+
if (item.optionvalues != undefined && Array.isArray(item.optionvalues)) {
|
|
1262
|
+
orgselectoptions = item.optionvalues;
|
|
1263
|
+
// optionvaluesitem.isselected
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
orgselectoptions.forEach(function (getselcitem, getselindex) {
|
|
1267
|
+
if (getselcitem.isselected == 1) {
|
|
1268
|
+
selecteditemid = getselcitem.valueid;
|
|
1269
|
+
}
|
|
1270
|
+
});
|
|
1271
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1272
|
+
"class": sectionproperties.numberofcolsperrow == '2' ? 'col-lg-2 col-md-3 col-sm-12 mb-3 p-sm-0' : sectionproperties.numberofcolsperrow == '3' ? ' col-lg-3 col-md-3 col-sm-12 mb-3 p-sm-0' : sectionproperties.numberofcolsperrow == '4' ? 'col-lg-4 col-md-4 col-sm-12 mb-3 p-sm-0' : sectionproperties.numberofcolsperrow == '6' ? 'col-lg-6 col-md-6 col-sm-12 mb-3 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0'
|
|
1273
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
1274
|
+
className: ' d-flex align-items-start mb-2 ',
|
|
1275
|
+
style: {
|
|
1276
|
+
color: sectionproperties.varianttitle_color,
|
|
1277
|
+
fontWeight: sectionproperties.varianttitle_fontweight,
|
|
1278
|
+
textTransform: sectionproperties.varianttitle_texttransform,
|
|
1279
|
+
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
1280
|
+
}
|
|
1281
|
+
}, langdetect == 'en' ? item.optionname : item.optionname_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1282
|
+
style: {
|
|
1283
|
+
width: '100%'
|
|
1284
|
+
},
|
|
1285
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control) + ' variantselectbox '
|
|
1286
|
+
}, /*#__PURE__*/React__default["default"].createElement(Select$3, {
|
|
1287
|
+
options: orgselectoptions,
|
|
1288
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
1289
|
+
var crname = '';
|
|
1290
|
+
if (langdetect == 'en') {
|
|
1291
|
+
crname = option.valuename;
|
|
1292
|
+
} else if (langdetect == 'ar') {
|
|
1293
|
+
crname = option.valuename_ar;
|
|
1294
|
+
}
|
|
1295
|
+
return crname;
|
|
1296
|
+
},
|
|
1297
|
+
getOptionValue: function getOptionValue(option) {
|
|
1298
|
+
return option.valueid;
|
|
1299
|
+
},
|
|
1300
|
+
value: orgselectoptions.filter(function (option) {
|
|
1301
|
+
return option.valueid == selecteditemid;
|
|
1302
|
+
}),
|
|
1303
|
+
onChange: function onChange(optionvaluesitem) {
|
|
1304
|
+
var _orgselectoptions;
|
|
1305
|
+
var optionvaluesindex = null;
|
|
1306
|
+
(_orgselectoptions = orgselectoptions) === null || _orgselectoptions === void 0 ? void 0 : _orgselectoptions.forEach(function (tempitm, tempind) {
|
|
1307
|
+
if (tempitm.valueid == optionvaluesitem.valueid) {
|
|
1308
|
+
optionvaluesindex = tempind;
|
|
1309
|
+
}
|
|
1310
|
+
});
|
|
1311
|
+
if (optionvaluesindex != null) {
|
|
1312
|
+
if (optionvaluesitem.isenabled == 1) {
|
|
1313
|
+
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1314
|
+
} else {
|
|
1315
|
+
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
1318
|
+
},
|
|
1319
|
+
styles: defaultstylesnone,
|
|
1320
|
+
placeholder: placeholdervalue,
|
|
1321
|
+
isSearchable: true
|
|
1322
|
+
})));
|
|
1323
|
+
}))));
|
|
1137
1324
|
};
|
|
1138
1325
|
|
|
1139
1326
|
//productidprops
|
|
@@ -1144,10 +1331,26 @@
|
|
|
1144
1331
|
var sectionproperties = props.actions.sectionproperties;
|
|
1145
1332
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
1146
1333
|
var variantindexcompleted = props.actions.variantindexcompleted;
|
|
1147
|
-
props.actions.ikimagecredcontext;
|
|
1148
1334
|
var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
|
|
1149
1335
|
var quantityconditionfoundobjprops = props.actions.quantityconditionfoundobjprops;
|
|
1150
|
-
|
|
1336
|
+
var productinfo_cssstyles = {
|
|
1337
|
+
profitcontainer: glamor.css({
|
|
1338
|
+
width: sectionproperties.profitcontainerwidth + '%',
|
|
1339
|
+
height: sectionproperties.profitcontainerheight + 'px',
|
|
1340
|
+
background: sectionproperties.profitcontainerbgcolor,
|
|
1341
|
+
border: sectionproperties.profitcontainerborderwidth + 'px solid' + sectionproperties.profitcontainerbordercolor,
|
|
1342
|
+
borderRadius: sectionproperties.profitcontainerborderradius + 'px',
|
|
1343
|
+
color: sectionproperties.profitcontainercolor,
|
|
1344
|
+
'@media (max-width: 800px)': {
|
|
1345
|
+
width: '90%'
|
|
1346
|
+
}
|
|
1347
|
+
})
|
|
1348
|
+
};
|
|
1349
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1350
|
+
"class": "col-lg-12 p-0"
|
|
1351
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1352
|
+
"class": "row m-0 w-100"
|
|
1353
|
+
}, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1151
1354
|
"class": "col-lg-12 p-0 mb-3 d-flex justift-content-start",
|
|
1152
1355
|
style: {
|
|
1153
1356
|
background: sectionproperties.reservation_bgcolor,
|
|
@@ -1224,11 +1427,26 @@
|
|
|
1224
1427
|
fontSize: '13px',
|
|
1225
1428
|
lineHeight: '25px'
|
|
1226
1429
|
}
|
|
1227
|
-
}, '-' + parseFloat(Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0).toFixed(0) + '%')))))
|
|
1430
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0).toFixed(0) + '%'))))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1431
|
+
"class": "col-lg-12 p-0 mb-2"
|
|
1432
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1433
|
+
"class": productinfo_cssstyles.profitcontainer + ' allcentered '
|
|
1434
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1435
|
+
"class": ' m-0 p-0 d-flex align-items-center justify-content-center '
|
|
1436
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1437
|
+
style: {
|
|
1438
|
+
fontWeight: sectionproperties.profitcontainerfontweight
|
|
1439
|
+
}
|
|
1440
|
+
}, langdetect == 'en' ? sectionproperties.profitcontainercontenten : sectionproperties.profitcontainercontentar, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1441
|
+
"class": "mx-1",
|
|
1442
|
+
style: {
|
|
1443
|
+
fontWeight: sectionproperties.profitcontainersecondaryfontweight
|
|
1444
|
+
}
|
|
1445
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(Math.round(parseInt(fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2) : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)) * (fetchProductInfoQueryContext.data.data.productinfo.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))));
|
|
1228
1446
|
};
|
|
1229
1447
|
|
|
1230
|
-
function ownKeys$
|
|
1231
|
-
function _objectSpread$
|
|
1448
|
+
function ownKeys$28(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
1449
|
+
function _objectSpread$28(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$28(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$28(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1232
1450
|
var ProductExtraFields = function ProductExtraFields(props) {
|
|
1233
1451
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _css, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7;
|
|
1234
1452
|
props.actions.lang;
|
|
@@ -1282,9 +1500,9 @@
|
|
|
1282
1500
|
});
|
|
1283
1501
|
}
|
|
1284
1502
|
setproductextravaluesarray(_toConsumableArray__default["default"](tempproductextravaluesarray));
|
|
1285
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
1503
|
+
var tempaddtocardpayloadobj = _objectSpread$28({}, addtocardpayloadobj);
|
|
1286
1504
|
tempaddtocardpayloadobj.extrafields = tempproductextravaluesarray;
|
|
1287
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
1505
|
+
setaddtocardpayloadobj(_objectSpread$28({}, tempaddtocardpayloadobj));
|
|
1288
1506
|
};
|
|
1289
1507
|
var formstyles = {
|
|
1290
1508
|
loginbtn: glamor.css({
|
|
@@ -1467,8 +1685,8 @@
|
|
|
1467
1685
|
}))));
|
|
1468
1686
|
};
|
|
1469
1687
|
|
|
1470
|
-
function ownKeys$
|
|
1471
|
-
function _objectSpread$
|
|
1688
|
+
function ownKeys$27(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
1689
|
+
function _objectSpread$27(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$27(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$27(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1472
1690
|
var Product_itemtype = function Product_itemtype(props) {
|
|
1473
1691
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52;
|
|
1474
1692
|
var lang = props.actions.lang;
|
|
@@ -1774,11 +1992,11 @@
|
|
|
1774
1992
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1775
1993
|
className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
1776
1994
|
onClick: function onClick() {
|
|
1777
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
1995
|
+
var tempaddtocardpayloadobj = _objectSpread$27({}, addtocardpayloadobj);
|
|
1778
1996
|
if (tempaddtocardpayloadobj.quantity > 0) {
|
|
1779
1997
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
|
|
1780
1998
|
}
|
|
1781
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
1999
|
+
setaddtocardpayloadobj(_objectSpread$27({}, tempaddtocardpayloadobj));
|
|
1782
2000
|
}
|
|
1783
2001
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
1784
2002
|
className: "fa fa-chevron-down",
|
|
@@ -1790,9 +2008,9 @@
|
|
|
1790
2008
|
}, addtocardpayloadobj.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1791
2009
|
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
1792
2010
|
onClick: function onClick() {
|
|
1793
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2011
|
+
var tempaddtocardpayloadobj = _objectSpread$27({}, addtocardpayloadobj);
|
|
1794
2012
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
|
|
1795
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2013
|
+
setaddtocardpayloadobj(_objectSpread$27({}, tempaddtocardpayloadobj));
|
|
1796
2014
|
}
|
|
1797
2015
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
1798
2016
|
className: "fa fa-chevron-up",
|
|
@@ -1830,7 +2048,7 @@
|
|
|
1830
2048
|
size: sectionproperties.cartBtn_iconFontSize
|
|
1831
2049
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
1832
2050
|
size: sectionproperties.cartBtn_iconFontSize
|
|
1833
|
-
})),
|
|
2051
|
+
})), langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1834
2052
|
className: ' d-flex align-items-center justify-content-center '
|
|
1835
2053
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
1836
2054
|
color: "white",
|
|
@@ -1994,8 +2212,8 @@
|
|
|
1994
2212
|
}, StoreInfoprops())))));
|
|
1995
2213
|
};
|
|
1996
2214
|
|
|
1997
|
-
function ownKeys$
|
|
1998
|
-
function _objectSpread$
|
|
2215
|
+
function ownKeys$26(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2216
|
+
function _objectSpread$26(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$26(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$26(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1999
2217
|
var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
2000
2218
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24;
|
|
2001
2219
|
var langdetect = props.actions.langdetect;
|
|
@@ -2036,7 +2254,7 @@
|
|
|
2036
2254
|
slots = _useState6[0],
|
|
2037
2255
|
setslots = _useState6[1];
|
|
2038
2256
|
React.useEffect(function () {
|
|
2039
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2257
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2040
2258
|
item_type: 'service'
|
|
2041
2259
|
}));
|
|
2042
2260
|
}, [tabsarray]);
|
|
@@ -2048,16 +2266,16 @@
|
|
|
2048
2266
|
if (diffDays.toString() != 'NaN') {
|
|
2049
2267
|
if (date2 <= date1) {
|
|
2050
2268
|
NotificationManager.warning('', 'Please choose another date.');
|
|
2051
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2269
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2052
2270
|
quantity: 0
|
|
2053
2271
|
}));
|
|
2054
2272
|
} else {
|
|
2055
2273
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
|
|
2056
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2274
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2057
2275
|
quantity: diffDays
|
|
2058
2276
|
}));
|
|
2059
2277
|
} else {
|
|
2060
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2278
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2061
2279
|
quantity: 0
|
|
2062
2280
|
}));
|
|
2063
2281
|
NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
@@ -2193,7 +2411,7 @@
|
|
|
2193
2411
|
min: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : (_fetchProductInfoQuer10 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.serviceinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.reservationstarts,
|
|
2194
2412
|
max: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : (_fetchProductInfoQuer14 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : (_fetchProductInfoQuer15 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : (_fetchProductInfoQuer16 = _fetchProductInfoQuer15.serviceinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.reservationends,
|
|
2195
2413
|
onChange: function onChange(event) {
|
|
2196
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2414
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2197
2415
|
from: event.target.value
|
|
2198
2416
|
}));
|
|
2199
2417
|
}
|
|
@@ -2213,7 +2431,7 @@
|
|
|
2213
2431
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
2214
2432
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
2215
2433
|
onChange: function onChange(event) {
|
|
2216
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2434
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2217
2435
|
to: event.target.value
|
|
2218
2436
|
}));
|
|
2219
2437
|
}
|
|
@@ -2233,7 +2451,7 @@
|
|
|
2233
2451
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
2234
2452
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
2235
2453
|
onChange: function onChange(event) {
|
|
2236
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2454
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2237
2455
|
date: event.target.value
|
|
2238
2456
|
}));
|
|
2239
2457
|
setcurrentmutatestate('/fetchserviceslots');
|
|
@@ -2284,7 +2502,7 @@
|
|
|
2284
2502
|
color: ischoosed ? sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? sectionproperties.generalbtn_textColoronhover : sectionproperties.generalbtn_textColor : ''
|
|
2285
2503
|
},
|
|
2286
2504
|
onClick: function onClick() {
|
|
2287
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2505
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2288
2506
|
time: item.slot
|
|
2289
2507
|
}));
|
|
2290
2508
|
}
|
|
@@ -2293,7 +2511,7 @@
|
|
|
2293
2511
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2294
2512
|
"class": TabsStyles.booknow_btn_resp + ' allcentered ',
|
|
2295
2513
|
onClick: function onClick() {
|
|
2296
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2514
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2297
2515
|
time: item.slot
|
|
2298
2516
|
}));
|
|
2299
2517
|
}
|
|
@@ -2335,7 +2553,7 @@
|
|
|
2335
2553
|
"class": ischoosed == true ? TabsStyles.timeSlotContainer_active + ' allcentered cursor-pointer px-1 ' : TabsStyles.timeSlotContainer + ' allcentered cursor-pointer px-1 ',
|
|
2336
2554
|
style: {},
|
|
2337
2555
|
onClick: function onClick() {
|
|
2338
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2556
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2339
2557
|
time: item.slot
|
|
2340
2558
|
}));
|
|
2341
2559
|
}
|
|
@@ -2920,8 +3138,8 @@
|
|
|
2920
3138
|
}, StoreInfoprops()))));
|
|
2921
3139
|
};
|
|
2922
3140
|
|
|
2923
|
-
function ownKeys$
|
|
2924
|
-
function _objectSpread$
|
|
3141
|
+
function ownKeys$25(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3142
|
+
function _objectSpread$25(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$25(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$25(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2925
3143
|
var AddReview = function AddReview(props) {
|
|
2926
3144
|
var _css;
|
|
2927
3145
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -2975,7 +3193,7 @@
|
|
|
2975
3193
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
2976
3194
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
2977
3195
|
});
|
|
2978
|
-
setsectionproperties(_objectSpread$
|
|
3196
|
+
setsectionproperties(_objectSpread$25({}, secpropobj));
|
|
2979
3197
|
}
|
|
2980
3198
|
}, [StatePagePropertiesContext]);
|
|
2981
3199
|
React.useEffect(function () {
|
|
@@ -2984,7 +3202,7 @@
|
|
|
2984
3202
|
templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
|
|
2985
3203
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
2986
3204
|
});
|
|
2987
|
-
setsectionproperties(_objectSpread$
|
|
3205
|
+
setsectionproperties(_objectSpread$25({}, secpropobj));
|
|
2988
3206
|
}, [pageindexcontext]);
|
|
2989
3207
|
var reviewstyles = {
|
|
2990
3208
|
submitreviewbtn: glamor.css({
|
|
@@ -3110,9 +3328,9 @@
|
|
|
3110
3328
|
}),
|
|
3111
3329
|
activeColor: "#ffd700",
|
|
3112
3330
|
onChange: function onChange(event) {
|
|
3113
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
3331
|
+
var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
|
|
3114
3332
|
tempreviewpayloadobj.reviewrate = event;
|
|
3115
|
-
setreviewpayloadobj(_objectSpread$
|
|
3333
|
+
setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
|
|
3116
3334
|
}
|
|
3117
3335
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3118
3336
|
"class": "col-lg-12"
|
|
@@ -3126,9 +3344,9 @@
|
|
|
3126
3344
|
"class": reviewstyles.form_control,
|
|
3127
3345
|
value: reviewpayloadobj.reviewname,
|
|
3128
3346
|
onChange: function onChange(event) {
|
|
3129
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
3347
|
+
var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
|
|
3130
3348
|
tempreviewpayloadobj.reviewname = event.target.value;
|
|
3131
|
-
setreviewpayloadobj(_objectSpread$
|
|
3349
|
+
setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
|
|
3132
3350
|
}
|
|
3133
3351
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3134
3352
|
"class": "col-lg-12 mb-4"
|
|
@@ -3138,9 +3356,9 @@
|
|
|
3138
3356
|
"class": reviewstyles.form_control,
|
|
3139
3357
|
value: reviewpayloadobj.reviewtitle,
|
|
3140
3358
|
onChange: function onChange(event) {
|
|
3141
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
3359
|
+
var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
|
|
3142
3360
|
tempreviewpayloadobj.reviewtitle = event.target.value;
|
|
3143
|
-
setreviewpayloadobj(_objectSpread$
|
|
3361
|
+
setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
|
|
3144
3362
|
}
|
|
3145
3363
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3146
3364
|
"class": "col-lg-12 mb-4"
|
|
@@ -3151,9 +3369,9 @@
|
|
|
3151
3369
|
"class": reviewstyles.form_control + ' form_control ',
|
|
3152
3370
|
value: reviewpayloadobj.reviewbody,
|
|
3153
3371
|
onChange: function onChange(event) {
|
|
3154
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
3372
|
+
var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
|
|
3155
3373
|
tempreviewpayloadobj.reviewbody = event.target.value;
|
|
3156
|
-
setreviewpayloadobj(_objectSpread$
|
|
3374
|
+
setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
|
|
3157
3375
|
},
|
|
3158
3376
|
style: {
|
|
3159
3377
|
resize: 'none',
|
|
@@ -3188,8 +3406,8 @@
|
|
|
3188
3406
|
}, langdetect == 'en' ? sectionproperties.reviewbtn_contenten : sectionproperties.reviewbtn_contentar)));
|
|
3189
3407
|
};
|
|
3190
3408
|
|
|
3191
|
-
function ownKeys$
|
|
3192
|
-
function _objectSpread$
|
|
3409
|
+
function ownKeys$24(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3410
|
+
function _objectSpread$24(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$24(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$24(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3193
3411
|
var ProductReviews = function ProductReviews(props) {
|
|
3194
3412
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12;
|
|
3195
3413
|
props.actions.lang;
|
|
@@ -3423,7 +3641,7 @@
|
|
|
3423
3641
|
size: "md",
|
|
3424
3642
|
"class": "reviewmodal"
|
|
3425
3643
|
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement(AddReview, {
|
|
3426
|
-
actions: _objectSpread$
|
|
3644
|
+
actions: _objectSpread$24(_objectSpread$24({}, actions), {}, {
|
|
3427
3645
|
productid: productid,
|
|
3428
3646
|
canuserreview: canuserreview,
|
|
3429
3647
|
addreviewcallback: addreviewcallback
|
|
@@ -3431,8 +3649,8 @@
|
|
|
3431
3649
|
}))));
|
|
3432
3650
|
};
|
|
3433
3651
|
|
|
3434
|
-
function ownKeys$
|
|
3435
|
-
function _objectSpread$
|
|
3652
|
+
function ownKeys$23(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3653
|
+
function _objectSpread$23(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$23(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$23(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3436
3654
|
var Productinfo = function Productinfo(props) {
|
|
3437
3655
|
var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer78, _fetchProductInfoQuer79, _fetchProductInfoQuer80, _fetchProductInfoQuer81, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
|
|
3438
3656
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -3545,7 +3763,7 @@
|
|
|
3545
3763
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
3546
3764
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
3547
3765
|
});
|
|
3548
|
-
setsectionproperties(_objectSpread$
|
|
3766
|
+
setsectionproperties(_objectSpread$23({}, secpropobj));
|
|
3549
3767
|
}
|
|
3550
3768
|
}, [StatePagePropertiesContext]);
|
|
3551
3769
|
React.useEffect(function () {
|
|
@@ -3566,7 +3784,7 @@
|
|
|
3566
3784
|
templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
|
|
3567
3785
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
3568
3786
|
});
|
|
3569
|
-
setsectionproperties(_objectSpread$
|
|
3787
|
+
setsectionproperties(_objectSpread$23({}, secpropobj));
|
|
3570
3788
|
}, [pageindexcontext]);
|
|
3571
3789
|
React.useEffect(function () {
|
|
3572
3790
|
if (productidparam == undefined) {
|
|
@@ -3586,12 +3804,12 @@
|
|
|
3586
3804
|
}
|
|
3587
3805
|
}, [ProductInfoObj, isloaded]);
|
|
3588
3806
|
var productidassigner = function productidassigner(productid) {
|
|
3589
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
3807
|
+
var tempFetchQueriesEngineContext = _objectSpread$23({}, FetchQueriesEngineContext);
|
|
3590
3808
|
tempFetchQueriesEngineContext.fetchproductinfo = true;
|
|
3591
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
3592
|
-
var tempfetchproductinfoObjContext = _objectSpread$
|
|
3809
|
+
setFetchQueriesEngineContext(_objectSpread$23({}, tempFetchQueriesEngineContext));
|
|
3810
|
+
var tempfetchproductinfoObjContext = _objectSpread$23({}, fetchproductinfoObjContext);
|
|
3593
3811
|
tempfetchproductinfoObjContext.productid = productid;
|
|
3594
|
-
setfetchproductinfoObjContext(_objectSpread$
|
|
3812
|
+
setfetchproductinfoObjContext(_objectSpread$23({}, tempfetchproductinfoObjContext));
|
|
3595
3813
|
};
|
|
3596
3814
|
React.useEffect(function () {
|
|
3597
3815
|
if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
|
|
@@ -3617,9 +3835,9 @@
|
|
|
3617
3835
|
}
|
|
3618
3836
|
setproductimagesarray([].concat(tempproductimagesarray));
|
|
3619
3837
|
variantchecker();
|
|
3620
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
3838
|
+
var tempaddtocardpayloadobj = _objectSpread$23({}, addtocardpayloadobj);
|
|
3621
3839
|
tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext.data.data.productinfo.productid;
|
|
3622
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3840
|
+
setaddtocardpayloadobj(_objectSpread$23({}, tempaddtocardpayloadobj));
|
|
3623
3841
|
setRelatedProductsTagid(fetchProductInfoQueryContext.data.data.productinfo.maintagid);
|
|
3624
3842
|
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.maintagid) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : (_fetchProductInfoQuer5 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : (_fetchProductInfoQuer6 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : (_fetchProductInfoQuer7 = _fetchProductInfoQuer6.maintagid) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.length) != 0) {
|
|
3625
3843
|
GeneralAPIMutationContext.mutate({
|
|
@@ -3666,7 +3884,7 @@
|
|
|
3666
3884
|
});
|
|
3667
3885
|
variantchecker();
|
|
3668
3886
|
variantcompleting();
|
|
3669
|
-
setProductInfoObj(_objectSpread$
|
|
3887
|
+
setProductInfoObj(_objectSpread$23({}, productarr));
|
|
3670
3888
|
};
|
|
3671
3889
|
var variantchecker = function variantchecker() {
|
|
3672
3890
|
var productarr = ProductInfoObj;
|
|
@@ -3740,16 +3958,16 @@
|
|
|
3740
3958
|
});
|
|
3741
3959
|
}
|
|
3742
3960
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
3743
|
-
setProductInfoObj(_objectSpread$
|
|
3961
|
+
setProductInfoObj(_objectSpread$23({}, productarr));
|
|
3744
3962
|
setisloaded(true);
|
|
3745
3963
|
}
|
|
3746
3964
|
}
|
|
3747
3965
|
};
|
|
3748
3966
|
var variantcompleting = function variantcompleting() {
|
|
3749
3967
|
setvariantindexcompleted('');
|
|
3750
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
3968
|
+
var tempaddtocardpayloadobj = _objectSpread$23({}, addtocardpayloadobj);
|
|
3751
3969
|
tempaddtocardpayloadobj.variantid = '';
|
|
3752
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3970
|
+
setaddtocardpayloadobj(_objectSpread$23({}, tempaddtocardpayloadobj));
|
|
3753
3971
|
var productarr = ProductInfoObj;
|
|
3754
3972
|
var selectedoptionsvalues = [];
|
|
3755
3973
|
productarr.data.productinfo.productoptions.forEach(function (productoptionsitem, productoptionsindex) {
|
|
@@ -3781,7 +3999,7 @@
|
|
|
3781
3999
|
NotificationManager.warning('', 'Variant Not Found');
|
|
3782
4000
|
} else {
|
|
3783
4001
|
variantid = variantobj.variantid;
|
|
3784
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
4002
|
+
var tempaddtocardpayloadobj = _objectSpread$23({}, addtocardpayloadobj);
|
|
3785
4003
|
tempaddtocardpayloadobj.variantid = variantid;
|
|
3786
4004
|
var variantimageindex = 0;
|
|
3787
4005
|
productimagesarray === null || productimagesarray === void 0 ? void 0 : productimagesarray.forEach(function (tempimageitem, tempimageindex) {
|
|
@@ -3790,13 +4008,13 @@
|
|
|
3790
4008
|
}
|
|
3791
4009
|
});
|
|
3792
4010
|
setcurrentshowingimageindex(variantimageindex);
|
|
3793
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
4011
|
+
setaddtocardpayloadobj(_objectSpread$23({}, tempaddtocardpayloadobj));
|
|
3794
4012
|
setvariantindexcompleted(ProductVariantIndex);
|
|
3795
4013
|
}
|
|
3796
4014
|
}
|
|
3797
4015
|
});
|
|
3798
4016
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
3799
|
-
setProductInfoObj(_objectSpread$
|
|
4017
|
+
setProductInfoObj(_objectSpread$23({}, productarr));
|
|
3800
4018
|
};
|
|
3801
4019
|
var addtocartfunc = function addtocartfunc() {
|
|
3802
4020
|
var runfunc = false;
|
|
@@ -3816,7 +4034,7 @@
|
|
|
3816
4034
|
}
|
|
3817
4035
|
if (runfunc == true) {
|
|
3818
4036
|
var _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13;
|
|
3819
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
4037
|
+
var tempaddtocardpayloadobj = _objectSpread$23({}, addtocardpayloadobj);
|
|
3820
4038
|
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : (_fetchProductInfoQuer13 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.isproductforcedtocheckout;
|
|
3821
4039
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
3822
4040
|
if (Extrafieldvalidationresponse.status) {
|
|
@@ -3826,7 +4044,7 @@
|
|
|
3826
4044
|
};
|
|
3827
4045
|
var validateextrafields = function validateextrafields() {
|
|
3828
4046
|
var _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16;
|
|
3829
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
4047
|
+
var tempaddtocardpayloadobj = _objectSpread$23({}, addtocardpayloadobj);
|
|
3830
4048
|
var status = false;
|
|
3831
4049
|
var reason = '';
|
|
3832
4050
|
var missingitemsfound = [];
|
|
@@ -4719,7 +4937,7 @@
|
|
|
4719
4937
|
})), tabname == 'reviewstab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4720
4938
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
4721
4939
|
}, /*#__PURE__*/React__default["default"].createElement(ProductReviews, {
|
|
4722
|
-
actions: _objectSpread$
|
|
4940
|
+
actions: _objectSpread$23(_objectSpread$23({}, actions), {}, {
|
|
4723
4941
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
4724
4942
|
sectionproperties: sectionproperties
|
|
4725
4943
|
})
|
|
@@ -4736,8 +4954,8 @@
|
|
|
4736
4954
|
var staticroutersidenav = {"vertical_nav_menu":"staticroutersidenav-module_vertical_nav_menu__p0mIj","sidebar_item":"staticroutersidenav-module_sidebar_item__3F9Q1","sidenav_page_name":"staticroutersidenav-module_sidenav_page_name__46AJV","sidenav_icon_cont":"staticroutersidenav-module_sidenav_icon_cont__O8YSe","metismenu_icon":"staticroutersidenav-module_metismenu_icon__EcRZ1","sidenav_active":"staticroutersidenav-module_sidenav_active__IjRo0","horizontal_nav_menu":"staticroutersidenav-module_horizontal_nav_menu__6V32S","sidebar_itemlastchild":"staticroutersidenav-module_sidebar_itemlastchild__9O187"};
|
|
4737
4955
|
styleInject(css_248z$G);
|
|
4738
4956
|
|
|
4739
|
-
function ownKeys$
|
|
4740
|
-
function _objectSpread$
|
|
4957
|
+
function ownKeys$22(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4958
|
+
function _objectSpread$22(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$22(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$22(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4741
4959
|
var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
4742
4960
|
var _useState = React.useState(props.currentpageprops),
|
|
4743
4961
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -4773,7 +4991,7 @@
|
|
|
4773
4991
|
templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
|
|
4774
4992
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4775
4993
|
});
|
|
4776
|
-
setsectionproperties(_objectSpread$
|
|
4994
|
+
setsectionproperties(_objectSpread$22({}, secpropobj));
|
|
4777
4995
|
}
|
|
4778
4996
|
}, [CurrentPageId]);
|
|
4779
4997
|
var styles = {
|
|
@@ -4935,8 +5153,8 @@
|
|
|
4935
5153
|
}))))));
|
|
4936
5154
|
};
|
|
4937
5155
|
|
|
4938
|
-
function ownKeys$
|
|
4939
|
-
function _objectSpread$
|
|
5156
|
+
function ownKeys$21(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5157
|
+
function _objectSpread$21(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$21(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$21(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4940
5158
|
var Ordershistory = function Ordershistory(props) {
|
|
4941
5159
|
var _props$actions2, _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchorderhistoryQue4, _fetchorderhistoryQue5, _fetchorderhistoryQue6, _fetchorderhistoryQue7, _fetchorderhistoryQue8, _fetchorderhistoryQue9, _fetchorderhistoryQue10, _fetchorderhistoryQue11, _fetchorderhistoryQue12, _fetchorderhistoryQue13, _fetchorderhistoryQue14;
|
|
4942
5160
|
var lang = props.actions.lang;
|
|
@@ -4989,9 +5207,9 @@
|
|
|
4989
5207
|
setorderindex = _useState14[1];
|
|
4990
5208
|
React.useEffect(function () {
|
|
4991
5209
|
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) == true) {
|
|
4992
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
5210
|
+
var tempFetchQueriesEngineContext = _objectSpread$21({}, FetchQueriesEngineContext);
|
|
4993
5211
|
tempFetchQueriesEngineContext.orderhistory = true;
|
|
4994
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
5212
|
+
setFetchQueriesEngineContext(_objectSpread$21({}, tempFetchQueriesEngineContext));
|
|
4995
5213
|
}
|
|
4996
5214
|
}, []);
|
|
4997
5215
|
var _useState15 = React.useState(''),
|
|
@@ -5012,7 +5230,7 @@
|
|
|
5012
5230
|
props === null || props === void 0 ? void 0 : (_props$actions = props.actions) === null || _props$actions === void 0 ? void 0 : (_props$actions$StateP = _props$actions.StatePagePropertiesContext) === null || _props$actions$StateP === void 0 ? void 0 : (_props$actions$StateP2 = _props$actions$StateP.pageobj) === null || _props$actions$StateP2 === void 0 ? void 0 : (_props$actions$StateP3 = _props$actions$StateP2.pageproperties) === null || _props$actions$StateP3 === void 0 ? void 0 : _props$actions$StateP3.forEach(function (arrayItem, arrayindex) {
|
|
5013
5231
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
5014
5232
|
});
|
|
5015
|
-
setsectionproperties(_objectSpread$
|
|
5233
|
+
setsectionproperties(_objectSpread$21({}, secpropobj));
|
|
5016
5234
|
}, [props === null || props === void 0 ? void 0 : (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
5017
5235
|
var orderhistory_cssstyles = {
|
|
5018
5236
|
variantcontainer: glamor.css({
|
|
@@ -5869,8 +6087,8 @@
|
|
|
5869
6087
|
var wishliststyles = {"wishlist_card":"wishlist-module_wishlist_card__sUXul","image_container":"wishlist-module_image_container__FuptA","floatbtn":"wishlist-module_floatbtn__PZDvQ"};
|
|
5870
6088
|
styleInject(css_248z$F);
|
|
5871
6089
|
|
|
5872
|
-
function ownKeys$
|
|
5873
|
-
function _objectSpread$
|
|
6090
|
+
function ownKeys$20(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6091
|
+
function _objectSpread$20(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$20(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$20(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5874
6092
|
var Wishlist = function Wishlist(props) {
|
|
5875
6093
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
5876
6094
|
var lang = props.actions.lang;
|
|
@@ -5898,13 +6116,13 @@
|
|
|
5898
6116
|
StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
5899
6117
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
5900
6118
|
});
|
|
5901
|
-
setsectionproperties(_objectSpread$
|
|
6119
|
+
setsectionproperties(_objectSpread$20({}, secpropobj));
|
|
5902
6120
|
}
|
|
5903
6121
|
}, [StatePagePropertiesContext]);
|
|
5904
6122
|
React.useEffect(function () {
|
|
5905
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
6123
|
+
var tempFetchQueriesEngineContext = _objectSpread$20({}, FetchQueriesEngineContext);
|
|
5906
6124
|
tempFetchQueriesEngineContext.fetchfavoriteproducts = true;
|
|
5907
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
6125
|
+
setFetchQueriesEngineContext(_objectSpread$20({}, tempFetchQueriesEngineContext));
|
|
5908
6126
|
}, []);
|
|
5909
6127
|
React.useEffect(function () {
|
|
5910
6128
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
@@ -5913,7 +6131,7 @@
|
|
|
5913
6131
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 ? void 0 : (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 ? void 0 : (_StatePagePropertiesC2 = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC2 === void 0 ? void 0 : _StatePagePropertiesC2.forEach(function (arrayItem, arrayindex) {
|
|
5914
6132
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
5915
6133
|
});
|
|
5916
|
-
setsectionproperties(_objectSpread$
|
|
6134
|
+
setsectionproperties(_objectSpread$20({}, secpropobj));
|
|
5917
6135
|
}
|
|
5918
6136
|
}, [StatePagePropertiesContext]);
|
|
5919
6137
|
var wishlist_cssstyles = {
|
|
@@ -6318,8 +6536,8 @@
|
|
|
6318
6536
|
})));
|
|
6319
6537
|
};
|
|
6320
6538
|
|
|
6321
|
-
function ownKeys$
|
|
6322
|
-
function _objectSpread$
|
|
6539
|
+
function ownKeys$1$(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6540
|
+
function _objectSpread$1$(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1$(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1$(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6323
6541
|
var Viewcart = function Viewcart(props) {
|
|
6324
6542
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25;
|
|
6325
6543
|
var lang = props.actions.lang;
|
|
@@ -6351,7 +6569,7 @@
|
|
|
6351
6569
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 ? void 0 : (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 ? void 0 : (_StatePagePropertiesC2 = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC2 === void 0 ? void 0 : _StatePagePropertiesC2.forEach(function (arrayItem, arrayindex) {
|
|
6352
6570
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6353
6571
|
});
|
|
6354
|
-
setsectionproperties(_objectSpread$
|
|
6572
|
+
setsectionproperties(_objectSpread$1$({}, secpropobj));
|
|
6355
6573
|
}
|
|
6356
6574
|
}, [StatePagePropertiesContext]);
|
|
6357
6575
|
React.useEffect(function () {
|
|
@@ -6935,91 +7153,6 @@
|
|
|
6935
7153
|
var formstyles = {"form_control":"form-module_form_control__4-RGw","textarea":"form-module_textarea__zG0ed","form_control_border_none":"form-module_form_control_border_none__TJvdZ","disabled":"form-module_disabled__AtvSI","input_label_name":"form-module_input_label_name__416wN","input_label_name-bolder":"form-module_input_label_name-bolder__UQn0a","input_icon":"form-module_input_icon__X-CzC","radiobtn_label":"form-module_radiobtn_label__-4Hoi","text-grey":"form-module_text-grey__JdZMY","radiobtn_label_translated":"form-module_radiobtn_label_translated__WN5Jj","checkbox":"form-module_checkbox__XPkWy","checkbox_label":"form-module_checkbox_label__VvcKs","checkbox_sub":"form-module_checkbox_sub__QWYil","checkboxtranslated":"form-module_checkboxtranslated__zvEV-"};
|
|
6936
7154
|
styleInject(css_248z$E);
|
|
6937
7155
|
|
|
6938
|
-
function ownKeys$1$(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6939
|
-
function _objectSpread$1$(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1$(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1$(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6940
|
-
var defaultstyles = {
|
|
6941
|
-
option: function option(provided, state) {
|
|
6942
|
-
return _objectSpread$1$(_objectSpread$1$({}, provided), {}, {
|
|
6943
|
-
borderBottom: '1px solid #e6e6e6',
|
|
6944
|
-
backgroundColor: state.isSelected ? '' : '',
|
|
6945
|
-
padding: 5,
|
|
6946
|
-
textTransform: 'capitalize',
|
|
6947
|
-
color: state.isSelected ? '#eac435' : 'black',
|
|
6948
|
-
transition: '.3s',
|
|
6949
|
-
'&:hover': {
|
|
6950
|
-
// color: '#eac435',
|
|
6951
|
-
cursor: 'pointer'
|
|
6952
|
-
}
|
|
6953
|
-
});
|
|
6954
|
-
},
|
|
6955
|
-
control: function control() {
|
|
6956
|
-
return {
|
|
6957
|
-
borderBottom: '1px solid #ccc',
|
|
6958
|
-
backgroundColor: 'white',
|
|
6959
|
-
display: 'flex',
|
|
6960
|
-
cursor: 'pointer',
|
|
6961
|
-
padding: 0,
|
|
6962
|
-
transition: '.3s',
|
|
6963
|
-
'&:hover': {
|
|
6964
|
-
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
6965
|
-
// borderRadius: '10px',
|
|
6966
|
-
}
|
|
6967
|
-
};
|
|
6968
|
-
},
|
|
6969
|
-
dropdownIndicator: function dropdownIndicator(provided) {
|
|
6970
|
-
return _objectSpread$1$(_objectSpread$1$({}, provided), {}, {
|
|
6971
|
-
'&:hover': {
|
|
6972
|
-
// color: '#eac435',
|
|
6973
|
-
}
|
|
6974
|
-
});
|
|
6975
|
-
}
|
|
6976
|
-
};
|
|
6977
|
-
var defaultstylestranslated = {
|
|
6978
|
-
option: function option(provided, state) {
|
|
6979
|
-
return _objectSpread$1$(_objectSpread$1$({}, provided), {}, {
|
|
6980
|
-
borderBottom: '1px solid #e6e6e6',
|
|
6981
|
-
backgroundColor: state.isSelected ? '' : '',
|
|
6982
|
-
padding: 5,
|
|
6983
|
-
textTransform: 'capitalize',
|
|
6984
|
-
// color: state.isSelected ? '#eac435' : '#022648',
|
|
6985
|
-
color: state.isSelected ? '#eac435' : 'black',
|
|
6986
|
-
transition: '.3s',
|
|
6987
|
-
textAlign: 'right',
|
|
6988
|
-
'&:hover': {
|
|
6989
|
-
// color: '#eac435',
|
|
6990
|
-
cursor: 'pointer'
|
|
6991
|
-
}
|
|
6992
|
-
});
|
|
6993
|
-
},
|
|
6994
|
-
control: function control() {
|
|
6995
|
-
return {
|
|
6996
|
-
borderBottom: '1px solid #ccc',
|
|
6997
|
-
backgroundColor: 'white',
|
|
6998
|
-
display: 'flex',
|
|
6999
|
-
cursor: 'pointer',
|
|
7000
|
-
padding: 0,
|
|
7001
|
-
transition: '.3s',
|
|
7002
|
-
textAlign: 'right',
|
|
7003
|
-
'&:hover': {
|
|
7004
|
-
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
7005
|
-
// borderRadius: '10px',
|
|
7006
|
-
}
|
|
7007
|
-
};
|
|
7008
|
-
},
|
|
7009
|
-
dropdownIndicator: function dropdownIndicator(provided) {
|
|
7010
|
-
return _objectSpread$1$(_objectSpread$1$({}, provided), {}, {
|
|
7011
|
-
'&:hover': {
|
|
7012
|
-
// color: '#eac435',
|
|
7013
|
-
}
|
|
7014
|
-
});
|
|
7015
|
-
},
|
|
7016
|
-
placeholder: function placeholder(provided, state) {
|
|
7017
|
-
return _objectSpread$1$(_objectSpread$1$({}, provided), {}, {
|
|
7018
|
-
textAlign: 'right'
|
|
7019
|
-
});
|
|
7020
|
-
}
|
|
7021
|
-
};
|
|
7022
|
-
|
|
7023
7156
|
function ownKeys$1_(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7024
7157
|
function _objectSpread$1_(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1_(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1_(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7025
7158
|
var Select$2 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
@@ -12415,6 +12548,7 @@
|
|
|
12415
12548
|
cardobj.quantavailtype = arrayItem.productinfo.quantavailtype;
|
|
12416
12549
|
cardobj.isproducttobesold = arrayItem.productinfo.isproducttobesold;
|
|
12417
12550
|
cardobj.measurmentunit = arrayItem.productinfo.measurmentunit;
|
|
12551
|
+
cardobj.prodaffpercentprofit = arrayItem.productinfo.prodaffpercentprofit;
|
|
12418
12552
|
if (langdetect == 'en') {
|
|
12419
12553
|
cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.data.data.currencyname_en;
|
|
12420
12554
|
} else {
|
|
@@ -43180,7 +43314,18 @@
|
|
|
43180
43314
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43181
43315
|
"class": "col-lg-12 p-0"
|
|
43182
43316
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
43183
|
-
"class": "".concat(section_styles.btn)
|
|
43317
|
+
"class": "".concat(section_styles.btn),
|
|
43318
|
+
onClick: function onClick() {
|
|
43319
|
+
if (sectionproperties.btntype == 'WhatsApp') {
|
|
43320
|
+
var _authdetailsContext$i;
|
|
43321
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber) != null) {
|
|
43322
|
+
var _authdetailsContext$i2;
|
|
43323
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber), '_blank');
|
|
43324
|
+
}
|
|
43325
|
+
} else {
|
|
43326
|
+
window.open(sectionproperties.btnlink, '_blank');
|
|
43327
|
+
}
|
|
43328
|
+
}
|
|
43184
43329
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43185
43330
|
"class": "col-lg-12 p-0 d-flex justify-content-sm-center mb-sm-4 align-items-center",
|
|
43186
43331
|
style: {
|
|
@@ -43190,10 +43335,10 @@
|
|
|
43190
43335
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43191
43336
|
"class": "".concat(section_styles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
43192
43337
|
onClick: function onClick() {
|
|
43193
|
-
var _authdetailsContext$
|
|
43194
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
43195
|
-
var _authdetailsContext$
|
|
43196
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
43338
|
+
var _authdetailsContext$i3;
|
|
43339
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
|
|
43340
|
+
var _authdetailsContext$i4;
|
|
43341
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
|
|
43197
43342
|
}
|
|
43198
43343
|
}
|
|
43199
43344
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
@@ -43201,10 +43346,10 @@
|
|
|
43201
43346
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43202
43347
|
"class": "".concat(section_styles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
43203
43348
|
onClick: function onClick() {
|
|
43204
|
-
var _authdetailsContext$
|
|
43205
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
43206
|
-
var _authdetailsContext$
|
|
43207
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
43349
|
+
var _authdetailsContext$i5;
|
|
43350
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
43351
|
+
var _authdetailsContext$i6;
|
|
43352
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
|
|
43208
43353
|
}
|
|
43209
43354
|
}
|
|
43210
43355
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
@@ -43212,10 +43357,10 @@
|
|
|
43212
43357
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43213
43358
|
"class": "".concat(section_styles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
43214
43359
|
onClick: function onClick() {
|
|
43215
|
-
var _authdetailsContext$
|
|
43216
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
43217
|
-
var _authdetailsContext$
|
|
43218
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
43360
|
+
var _authdetailsContext$i7;
|
|
43361
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber) != null) {
|
|
43362
|
+
var _authdetailsContext$i8;
|
|
43363
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber), '_blank');
|
|
43219
43364
|
}
|
|
43220
43365
|
}
|
|
43221
43366
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
@@ -48032,6 +48177,21 @@
|
|
|
48032
48177
|
transition: '.3s',
|
|
48033
48178
|
color: sectionproperties.remove_quantitybtn_textcoloronhover
|
|
48034
48179
|
}
|
|
48180
|
+
}),
|
|
48181
|
+
outstockbadge: glamor.css({
|
|
48182
|
+
width: sectionproperties.outstock_width + 'px',
|
|
48183
|
+
height: sectionproperties.outstock_height + 'px',
|
|
48184
|
+
background: sectionproperties.outstock_bg,
|
|
48185
|
+
color: sectionproperties.outstock_color,
|
|
48186
|
+
fontSize: sectionproperties.outstock_fontSize + 'px',
|
|
48187
|
+
borderRadius: sectionproperties.outstock_borderradius + 'px',
|
|
48188
|
+
position: 'absolute',
|
|
48189
|
+
zIndex: 2,
|
|
48190
|
+
top: 0,
|
|
48191
|
+
bottom: 0,
|
|
48192
|
+
left: 0,
|
|
48193
|
+
right: 0,
|
|
48194
|
+
margin: 'auto'
|
|
48035
48195
|
})
|
|
48036
48196
|
};
|
|
48037
48197
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -48086,7 +48246,9 @@
|
|
|
48086
48246
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
48087
48247
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
48088
48248
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
48089
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
48249
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
48250
|
+
opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1
|
|
48251
|
+
|
|
48090
48252
|
// border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
48091
48253
|
},
|
|
48092
48254
|
|
|
@@ -48118,7 +48280,11 @@
|
|
|
48118
48280
|
fontSize: sectionproperties.pillfontSize + 'px',
|
|
48119
48281
|
direction: 'ltr'
|
|
48120
48282
|
}
|
|
48121
|
-
}, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%'))
|
|
48283
|
+
}, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
48284
|
+
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
48285
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
48286
|
+
"class": "m-0 p-0"
|
|
48287
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
48122
48288
|
"class": "col-lg-12 p-0"
|
|
48123
48289
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
48124
48290
|
"class": "row m-0 w-100 align-items-center justify-content-center text-center mb-2"
|
|
@@ -48165,7 +48331,9 @@
|
|
|
48165
48331
|
}))), sectionproperties.cartBtnShow == 'Show' && showquantity == false && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
48166
48332
|
"class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-md-130px w-sm-100px font-sm-12 ',
|
|
48167
48333
|
onClick: function onClick() {
|
|
48168
|
-
if (sectionproperties.
|
|
48334
|
+
if (item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0) {
|
|
48335
|
+
NotificationManager.warning('', langdetect == 'en' ? 'Sold Out' : 'نفذت الكمية');
|
|
48336
|
+
} else if (sectionproperties.quantitybtn_show == 'Show') {
|
|
48169
48337
|
setshowquantity(true);
|
|
48170
48338
|
} else {
|
|
48171
48339
|
setShowProductInfoModalContext(true);
|
|
@@ -57418,7 +57586,10 @@
|
|
|
57418
57586
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
57419
57587
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
57420
57588
|
transition: '.3s',
|
|
57421
|
-
opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1
|
|
57589
|
+
opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1,
|
|
57590
|
+
'@media (max-width: 800px)': {
|
|
57591
|
+
height: sectionproperties.height_responsive != null ? sectionproperties.height_responsive + 'px' : sectionproperties.image_height + 'px'
|
|
57592
|
+
}
|
|
57422
57593
|
}),
|
|
57423
57594
|
productNameStyles: glamor.css({
|
|
57424
57595
|
color: sectionproperties.prodNameColor,
|
|
@@ -57488,6 +57659,17 @@
|
|
|
57488
57659
|
left: 0,
|
|
57489
57660
|
right: 0,
|
|
57490
57661
|
margin: 'auto'
|
|
57662
|
+
}),
|
|
57663
|
+
profitcontainer: glamor.css({
|
|
57664
|
+
width: sectionproperties.profitcontainerwidth + '%',
|
|
57665
|
+
height: sectionproperties.profitcontainerheight + 'px',
|
|
57666
|
+
background: sectionproperties.profitcontainerbgcolor,
|
|
57667
|
+
border: sectionproperties.profitcontainerborderwidth + 'px solid' + sectionproperties.profitcontainerbordercolor,
|
|
57668
|
+
borderRadius: sectionproperties.profitcontainerborderradius + 'px',
|
|
57669
|
+
color: sectionproperties.profitcontainercolor,
|
|
57670
|
+
'@media (max-width: 800px)': {
|
|
57671
|
+
width: '100%'
|
|
57672
|
+
}
|
|
57491
57673
|
})
|
|
57492
57674
|
};
|
|
57493
57675
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -57600,7 +57782,7 @@
|
|
|
57600
57782
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
57601
57783
|
}
|
|
57602
57784
|
},
|
|
57603
|
-
"class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center
|
|
57785
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center ',
|
|
57604
57786
|
style: {
|
|
57605
57787
|
zIndex: 1,
|
|
57606
57788
|
marginBottom: sectionproperties.image_mb + 'px'
|
|
@@ -57615,31 +57797,6 @@
|
|
|
57615
57797
|
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
57616
57798
|
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
57617
57799
|
}
|
|
57618
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57619
|
-
onClick: function onClick() {
|
|
57620
|
-
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
|
|
57621
|
-
setShowProductInfoModalContext(true);
|
|
57622
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
57623
|
-
} else {
|
|
57624
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
57625
|
-
}
|
|
57626
|
-
},
|
|
57627
|
-
"class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-none d-md-flex align-items-center justify-content-center ',
|
|
57628
|
-
style: {
|
|
57629
|
-
zIndex: 1,
|
|
57630
|
-
marginBottom: sectionproperties.image_mb + 'px',
|
|
57631
|
-
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive
|
|
57632
|
-
}
|
|
57633
|
-
}, item.image != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
57634
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
57635
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
57636
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
57637
|
-
loading: "lazy",
|
|
57638
|
-
style: {
|
|
57639
|
-
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
57640
|
-
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
57641
|
-
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
57642
|
-
}
|
|
57643
57800
|
})), item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57644
57801
|
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
57645
57802
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -57652,7 +57809,10 @@
|
|
|
57652
57809
|
onClick: function onClick() {
|
|
57653
57810
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
57654
57811
|
},
|
|
57655
|
-
"class": "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1
|
|
57812
|
+
"class": "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 ',
|
|
57813
|
+
style: {
|
|
57814
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
57815
|
+
}
|
|
57656
57816
|
}, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57657
57817
|
style: {
|
|
57658
57818
|
flexDirection: 'column'
|
|
@@ -57661,16 +57821,46 @@
|
|
|
57661
57821
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57662
57822
|
"class": "row m-0 w-100 "
|
|
57663
57823
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57664
|
-
"class": "d-flex flex-row col-lg-12 m-0 p-0 align-items-center
|
|
57824
|
+
"class": "d-flex flex-row col-lg-12 m-0 p-0 align-items-center mb-1 ",
|
|
57825
|
+
style: {
|
|
57826
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
57827
|
+
}
|
|
57665
57828
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57666
|
-
"class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center
|
|
57829
|
+
"class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center p-0 mb-0 ',
|
|
57830
|
+
style: {
|
|
57831
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
57832
|
+
}
|
|
57667
57833
|
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
57668
57834
|
"class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
|
|
57669
|
-
}, langdetect == 'en' ?
|
|
57670
|
-
"class": " d-flex align-items-center
|
|
57835
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57836
|
+
"class": " d-flex align-items-center p-0 mb-0"
|
|
57671
57837
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
57672
57838
|
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
57673
|
-
}, langdetect == 'en' ?
|
|
57839
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57840
|
+
"class": "col-lg-12 p-0",
|
|
57841
|
+
style: {
|
|
57842
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
57843
|
+
}
|
|
57844
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57845
|
+
"class": card_cssstyles.profitcontainer + ' d-flex align-items-center flex-sm-column px-2',
|
|
57846
|
+
style: {
|
|
57847
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
57848
|
+
}
|
|
57849
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
57850
|
+
"class": ' m-0 p-0 d-flex align-items-center ',
|
|
57851
|
+
style: {
|
|
57852
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
57853
|
+
}
|
|
57854
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
57855
|
+
style: {
|
|
57856
|
+
fontWeight: sectionproperties.profitcontainerfontweight
|
|
57857
|
+
}
|
|
57858
|
+
}, langdetect == 'en' ? sectionproperties.profitcontainercontenten : sectionproperties.profitcontainercontentar, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
57859
|
+
"class": "mx-1",
|
|
57860
|
+
style: {
|
|
57861
|
+
fontWeight: sectionproperties.profitcontainersecondaryfontweight
|
|
57862
|
+
}
|
|
57863
|
+
}, langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.hassale == 1 ? item.defaultsaleprice : item.defaultprice) * (item.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname))))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
57674
57864
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
57675
57865
|
onClick: function onClick() {
|
|
57676
57866
|
if (item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0) {
|