tabexseriescomponents 0.0.104 → 0.0.106

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.esm.js CHANGED
@@ -15,7 +15,11 @@ import jwtDecode from 'jwt-decode';
15
15
  import FacebookLogin from 'react-facebook-login/dist/facebook-login-render-props';
16
16
  import { FaFacebookF } from '@react-icons/all-files/fa/FaFacebookF';
17
17
  import { AiOutlineUser } from '@react-icons/all-files/ai/AiOutlineUser';
18
+ import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
19
+ import { Modal, Offcanvas } from 'react-bootstrap';
20
+ import 'react-query';
18
21
  import ImageGallery from 'react-image-gallery';
22
+ import ShowMoreText from 'react-show-more-text';
19
23
  import { useParams } from 'react-router';
20
24
  import { IKImage } from 'imagekitio-react';
21
25
  import { MdAddShoppingCart as MdAddShoppingCart$1 } from '@react-icons/all-files/md/MdAddShoppingCart';
@@ -34,7 +38,6 @@ import { AiOutlineSecurityScan } from '@react-icons/all-files/ai/AiOutlineSecuri
34
38
  import { FiMapPin } from '@react-icons/all-files/fi/FiMapPin';
35
39
  import { FaShippingFast } from '@react-icons/all-files/fa/FaShippingFast';
36
40
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
37
- import { Offcanvas } from 'react-bootstrap';
38
41
  import { FaStar } from '@react-icons/all-files/fa/FaStar';
39
42
  import '@react-icons/all-files/ai/AiOutlineLogout';
40
43
  import { IoLocationSharp } from '@react-icons/all-files/io5/IoLocationSharp';
@@ -43,7 +46,6 @@ import { HiOutlineChevronLeft } from '@react-icons/all-files/hi/HiOutlineChevron
43
46
  import { GoGlobe } from '@react-icons/all-files/go/GoGlobe';
44
47
  import { VscGlobe } from '@react-icons/all-files/vsc/VscGlobe';
45
48
  import { HiOutlineTrash } from '@react-icons/all-files/hi/HiOutlineTrash';
46
- import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
47
49
  import TextareaAutosize from 'react-textarea-autosize';
48
50
  import { HiUser } from '@react-icons/all-files/hi/HiUser';
49
51
  import { GrMail } from '@react-icons/all-files/gr/GrMail';
@@ -55,7 +57,6 @@ import { BsChevronRight } from '@react-icons/all-files/bs/BsChevronRight';
55
57
  import { RiArrowUpSLine } from '@react-icons/all-files/ri/RiArrowUpSLine';
56
58
  import { RiArrowDownSLine } from '@react-icons/all-files/ri/RiArrowDownSLine';
57
59
  import 'react-router-dom';
58
- import 'react-query';
59
60
  import { IoBagCheckOutline } from '@react-icons/all-files/io5/IoBagCheckOutline';
60
61
  import { IoBagRemoveOutline } from '@react-icons/all-files/io5/IoBagRemoveOutline';
61
62
  import Dropdown from 'react-bootstrap/Dropdown';
@@ -583,17 +584,49 @@ var Login = function Login(props) {
583
584
  var routingcountext = props.actions.routingcountext;
584
585
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
585
586
  var SocialLoginMutationContext = props.actions.SocialLoginMutationContext;
587
+ var ForgetpasswordMutationContext = props.actions.ForgetpasswordMutationContext;
586
588
  var LoginMutation = props.actions.LoginMutationContext;
589
+ var NotificationManager = props.actions.NotificationManager;
587
590
  var instapikey = props.actions.instapikey;
588
591
  var actions = props.actions;
589
592
  var _useState = useState(''),
590
- _useState2 = _slicedToArray(_useState, 2);
591
- _useState2[0];
592
- var setCurrentPageId = _useState2[1];
593
- var _useState3 = useState(''),
593
+ _useState2 = _slicedToArray(_useState, 2),
594
+ statusreason = _useState2[0];
595
+ _useState2[1];
596
+ var _useState3 = useState({
597
+ instapikey: instapikey,
598
+ email: '',
599
+ code: '',
600
+ newpassword: '',
601
+ confirmnewpassword: ''
602
+ }),
594
603
  _useState4 = _slicedToArray(_useState3, 2),
595
- sectionproperties = _useState4[0],
596
- setsectionproperties = _useState4[1];
604
+ forgotpasswordpayload = _useState4[0],
605
+ setforgotpasswordpayload = _useState4[1];
606
+ var _useState5 = useState({
607
+ instapikey: instapikey,
608
+ email: '',
609
+ password: ''
610
+ }),
611
+ _useState6 = _slicedToArray(_useState5, 2),
612
+ payloadobj = _useState6[0],
613
+ setpayloadobj = _useState6[1];
614
+ var _useState7 = useState('send'),
615
+ _useState8 = _slicedToArray(_useState7, 2),
616
+ forgetpasswordstage = _useState8[0],
617
+ setforgetpasswordstage = _useState8[1];
618
+ var _useState9 = useState(false),
619
+ _useState10 = _slicedToArray(_useState9, 2),
620
+ forgetpasswordmodal = _useState10[0],
621
+ setforgetpasswordmodal = _useState10[1];
622
+ var _useState11 = useState(''),
623
+ _useState12 = _slicedToArray(_useState11, 2);
624
+ _useState12[0];
625
+ var setCurrentPageId = _useState12[1];
626
+ var _useState13 = useState(''),
627
+ _useState14 = _slicedToArray(_useState13, 2),
628
+ sectionproperties = _useState14[0],
629
+ setsectionproperties = _useState14[1];
597
630
  useEffect(function () {
598
631
  var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
599
632
  return x.staticpageid == '6218bccb77283';
@@ -612,18 +645,26 @@ var Login = function Login(props) {
612
645
  setsectionproperties(_objectSpread$1H({}, secpropobj));
613
646
  }
614
647
  }, [StatePagePropertiesContext]);
615
- var _useState5 = useState(''),
616
- _useState6 = _slicedToArray(_useState5, 2),
617
- statusreason = _useState6[0];
618
- _useState6[1];
619
- var _useState7 = useState({
620
- instapikey: instapikey,
621
- email: '',
622
- password: ''
623
- }),
624
- _useState8 = _slicedToArray(_useState7, 2),
625
- payloadobj = _useState8[0],
626
- setpayloadobj = _useState8[1];
648
+ useEffect(function () {
649
+ if (ForgetpasswordMutationContext.isSuccess) {
650
+ if (ForgetpasswordMutationContext.data.data.status) {
651
+ if (ForgetpasswordMutationContext.data.data.stage == 'send') {
652
+ setforgetpasswordstage('verify');
653
+ } else if (ForgetpasswordMutationContext.data.data.stage == 'verify') {
654
+ setforgetpasswordstage('send');
655
+ setforgotpasswordpayload({
656
+ instapikey: instapikey,
657
+ email: '',
658
+ code: '',
659
+ newpassword: '',
660
+ confirmnewpassword: ''
661
+ });
662
+ setforgetpasswordmodal(false);
663
+ NotificationManager.success('', 'Password changed successfully');
664
+ }
665
+ }
666
+ }
667
+ }, [ForgetpasswordMutationContext.isSuccess]);
627
668
  var loginstyles2 = {
628
669
  loginbtn: css({
629
670
  background: sectionproperties.login_btn_backgroundtransparent == 'Transparent' ? 'transparent' : sectionproperties.login_btn_background,
@@ -750,6 +791,13 @@ var Login = function Login(props) {
750
791
  }, /*#__PURE__*/React.createElement("i", {
751
792
  className: " fa fa-at h-100 d-flex align-items-center justify-content-center"
752
793
  }))), /*#__PURE__*/React.createElement("div", {
794
+ className: "col-lg-12 col-md-12 col-sm-12 mb-3 d-flex justify-content-end mt-1 cursor-pointer text-light text-lighthover font-13 ",
795
+ onClick: function onClick() {
796
+ setforgetpasswordmodal(true);
797
+ }
798
+ }, /*#__PURE__*/React.createElement("p", {
799
+ className: 'm-0 p-0 '
800
+ }, langdetect == 'en' ? 'Forgot Password?' : 'هل نسيت كلمة السر؟')), /*#__PURE__*/React.createElement("div", {
753
801
  className: "col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center font-13 mb-2"
754
802
  }, /*#__PURE__*/React.createElement("p", {
755
803
  style: {
@@ -846,7 +894,151 @@ var Login = function Login(props) {
846
894
  type: "hidden",
847
895
  name: "password",
848
896
  value: payloadobj.password
849
- }))));
897
+ }))), /*#__PURE__*/React.createElement(Modal, {
898
+ show: forgetpasswordmodal,
899
+ onHide: function onHide() {
900
+ return setforgetpasswordmodal(false);
901
+ },
902
+ centered: true,
903
+ size: 'md'
904
+ }, /*#__PURE__*/React.createElement(Modal.Body, null, /*#__PURE__*/React.createElement("div", {
905
+ "class": "d-flex align-items-center justify-content-center bgdanger-hover",
906
+ style: {
907
+ position: 'absolute',
908
+ right: -15,
909
+ top: -15,
910
+ width: '4vh',
911
+ height: '4vh',
912
+ background: '#000',
913
+ borderRadius: '50%'
914
+ },
915
+ onClick: function onClick() {
916
+ return setforgetpasswordmodal(false);
917
+ }
918
+ }, /*#__PURE__*/React.createElement(IoMdClose, {
919
+ size: 15,
920
+ color: "white"
921
+ })), /*#__PURE__*/React.createElement("div", {
922
+ "class": "row m-0 w-100 allcentered"
923
+ }, /*#__PURE__*/React.createElement("div", {
924
+ className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center mt-2 justify-content-center"
925
+ }, /*#__PURE__*/React.createElement("p", {
926
+ className: "text-md-center m-0 p-0 mb-2",
927
+ style: {
928
+ fontSize: '19px',
929
+ color: sectionproperties.sectionTitleColor,
930
+ fontWeight: 600
931
+ }
932
+ }, langdetect == 'en' ? 'Reset Password' : 'إعادة تعيين كلمة المرور')), /*#__PURE__*/React.createElement("div", {
933
+ "class": "col-lg-12 p-0"
934
+ }, /*#__PURE__*/React.createElement("hr", {
935
+ "class": 'm-0 p-0'
936
+ }))), /*#__PURE__*/React.createElement("div", {
937
+ "class": "row w-100 m-0 mb-3 pl-2 pr-2 pt-3 pb-3 pl-sm-3 pr-sm-3"
938
+ }, /*#__PURE__*/React.createElement("div", {
939
+ className: "col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0"
940
+ }, /*#__PURE__*/React.createElement("label", {
941
+ className: "".concat(loginstyles2.logininputLabel) + ' m-0 text-transform-none d-flex justify-content-start '
942
+ }, langdetect == 'en' ? 'E-mail' : 'البريد الإلكترونى'), /*#__PURE__*/React.createElement("input", {
943
+ type: "text",
944
+ className: "".concat(loginstyles2.form_control),
945
+ value: forgotpasswordpayload.email,
946
+ onChange: function onChange(event) {
947
+ var temppayloadobj = _objectSpread$1H({}, forgotpasswordpayload);
948
+ temppayloadobj.email = event.target.value;
949
+ setforgotpasswordpayload(_objectSpread$1H({}, temppayloadobj));
950
+ },
951
+ disabled: forgetpasswordstage == 'verify' ? true : false
952
+ }), /*#__PURE__*/React.createElement("span", {
953
+ className: langdetect == 'en' ? loginstyles$1.login_input_icon + ' login_input_icon ' : loginstyles$1.login_input_icontrans + ' login_input_icon '
954
+ }, /*#__PURE__*/React.createElement("i", {
955
+ className: "h-100 d-flex align-items-center justify-content-center"
956
+ }, /*#__PURE__*/React.createElement(AiOutlineUser, {
957
+ size: 18
958
+ })))), forgetpasswordstage == 'verify' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
959
+ className: "col-lg-12 col-md-12 col-sm-12 mb-3 mt-3 p-sm-0"
960
+ }, /*#__PURE__*/React.createElement("label", {
961
+ className: "".concat(loginstyles2.logininputLabel) + ' m-0 text-transform-none d-flex justify-content-start '
962
+ }, langdetect == 'en' ? 'Code' : ' كود البريد الاكتروني'), /*#__PURE__*/React.createElement("input", {
963
+ type: "text",
964
+ className: "".concat(loginstyles2.form_control),
965
+ value: forgotpasswordpayload.code,
966
+ onChange: function onChange(event) {
967
+ var temppayloadobj = _objectSpread$1H({}, forgotpasswordpayload);
968
+ temppayloadobj.code = event.target.value;
969
+ setforgotpasswordpayload(_objectSpread$1H({}, temppayloadobj));
970
+ }
971
+ })), /*#__PURE__*/React.createElement("div", {
972
+ className: "col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0"
973
+ }, /*#__PURE__*/React.createElement("label", {
974
+ className: "".concat(loginstyles2.logininputLabel) + ' m-0 text-transform-none d-flex justify-content-start '
975
+ }, lang.password), /*#__PURE__*/React.createElement("input", {
976
+ type: "password",
977
+ className: "".concat(loginstyles2.form_control),
978
+ value: forgotpasswordpayload.newpassword,
979
+ onChange: function onChange(event) {
980
+ var temppayloadobj = _objectSpread$1H({}, forgotpasswordpayload);
981
+ temppayloadobj.newpassword = event.target.value;
982
+ setforgotpasswordpayload(_objectSpread$1H({}, temppayloadobj));
983
+ }
984
+ })), /*#__PURE__*/React.createElement("div", {
985
+ className: "col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0"
986
+ }, /*#__PURE__*/React.createElement("label", {
987
+ className: "".concat(loginstyles2.logininputLabel) + ' m-0 text-transform-none d-flex justify-content-start '
988
+ }, lang.confirmpassword), /*#__PURE__*/React.createElement("input", {
989
+ type: "password",
990
+ className: "".concat(loginstyles2.form_control),
991
+ value: forgotpasswordpayload.confirmnewpassword,
992
+ onChange: function onChange(event) {
993
+ var temppayloadobj = _objectSpread$1H({}, forgotpasswordpayload);
994
+ temppayloadobj.confirmnewpassword = event.target.value;
995
+ setforgotpasswordpayload(_objectSpread$1H({}, temppayloadobj));
996
+ }
997
+ }))))), /*#__PURE__*/React.createElement(Modal.Footer, null, /*#__PURE__*/React.createElement("div", {
998
+ className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 "
999
+ }, /*#__PURE__*/React.createElement("button", {
1000
+ className: " ".concat(loginstyles2.loginbtn) + ' d-flex align-items-center justify-content-center ',
1001
+ onClick: function onClick() {
1002
+ if (forgotpasswordpayload.email.length != 0) {
1003
+ var runfunc = false;
1004
+ var tempforgotpasswordpayload = _objectSpread$1H({}, forgotpasswordpayload);
1005
+ tempforgotpasswordpayload.functype = forgetpasswordstage;
1006
+ if (forgetpasswordstage == 'verify') {
1007
+ if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
1008
+ if (tempforgotpasswordpayload.newpassword == tempforgotpasswordpayload.confirmnewpassword) {
1009
+ runfunc = true;
1010
+ } else {
1011
+ NotificationManager.warning('', 'Passwords do not match');
1012
+ }
1013
+ } else {
1014
+ NotificationManager.warning('', 'Please complete the missing fields');
1015
+ }
1016
+ } else {
1017
+ runfunc = true;
1018
+ }
1019
+ if (runfunc) {
1020
+ ForgetpasswordMutationContext.mutate(tempforgotpasswordpayload);
1021
+ }
1022
+ } else {
1023
+ NotificationManager.warning('', 'Please write your email');
1024
+ }
1025
+ },
1026
+ type: 'button',
1027
+ disabled: ForgetpasswordMutationContext.isLoading == true ? true : false,
1028
+ style: {
1029
+ width: '230px'
1030
+ }
1031
+ }, ForgetpasswordMutationContext.isLoading && /*#__PURE__*/React.createElement(CircularProgress, {
1032
+ color: "#fff",
1033
+ width: "20px",
1034
+ height: "20px",
1035
+ duration: "1s"
1036
+ }), !ForgetpasswordMutationContext.isLoading && /*#__PURE__*/React.createElement("span", {
1037
+ style: {
1038
+ letterSpacing: langdetect == 'en' ? '1px' : '',
1039
+ textTransform: sectionproperties.login_btn_texttransform
1040
+ }
1041
+ }, forgetpasswordstage == 'verify' ? langdetect == 'en' ? 'Reset password' : 'إعادة تعيين كلمة المرور' : langdetect == 'en' ? 'Send verification code' : 'أرسل رمز التحقق'))))));
850
1042
  };
851
1043
 
852
1044
  var css_248z$J = ".productinfo-module_variant_container__-y4Uc {\n display: flex;\n align-items: center;\n justify-content: center;\n /* min-width: 10vh;\n height: 5vh; */\n border-radius: 10px;\n background-color: #000;\n color: white;\n padding: 0 6px;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_size_variant_container__vuTAO {\n min-width: 5vh !important;\n max-width: 5vh !important;\n height: 5vh !important;\n border-radius: 50% !important;\n padding: 0 2px !important;\n}\n.productinfo-module_variant_container__-y4Uc:hover {\n transform: scale(1.1);\n}\n.productinfo-module_variant_container_active__OAhmg {\n border: 2px solid green;\n background-color: green;\n}\n.productinfo-module_color_container__c42a9 {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 4vh;\n height: 4vh;\n border: 2px solid #ccc;\n border-radius: 50%;\n overflow: hidden;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_color_container_active__Br2PW {\n padding: 10px;\n border: 2px solid var(--green);\n}\n\n.productinfo-module_color_container_active__Br2PW:before {\n display: flex;\n align-items: center;\n justify-content: center;\n content: '✓';\n color: white;\n}\n.productinfo-module_color_container__c42a9:hover {\n transform: scale(1.1);\n}\n";
@@ -1433,7 +1625,22 @@ var Productinfo = function Productinfo(props) {
1433
1625
  className: "row m-0 w-100 d-flex flex-column"
1434
1626
  }, /*#__PURE__*/React.createElement("p", {
1435
1627
  className: "m-0 p-0 text-light font-15 d-flex justify-content-start"
1436
- }, lang.description, ":"))), langdetect == 'ar' && fetchProductInfoQueryContext.data.data.productinfo.description_ar != '' && /*#__PURE__*/React.createElement("div", {
1628
+ }, lang.description, ":"), /*#__PURE__*/React.createElement(ShowMoreText, {
1629
+ lines: 5,
1630
+ more: lang.showmore,
1631
+ less: lang.showless,
1632
+ anchorClass: "my-anchor-css-className",
1633
+ expanded: false,
1634
+ truncatedEndingComponent: '... '
1635
+ }, /*#__PURE__*/React.createElement("p", {
1636
+ className: 'text-black text-capitalize m-0 p-0 wordbreak',
1637
+ style: {
1638
+ textAlign: langdetect == 'en' ? 'left' : 'right'
1639
+ },
1640
+ dangerouslySetInnerHTML: {
1641
+ __html: langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.description_en : fetchProductInfoQueryContext.data.data.productinfo.description_ar
1642
+ }
1643
+ })))), langdetect == 'ar' && fetchProductInfoQueryContext.data.data.productinfo.description_ar != '' && /*#__PURE__*/React.createElement("div", {
1437
1644
  className: "col-lg-12 p-0 mb-5 d-flex justify-content-center",
1438
1645
  style: {
1439
1646
  minHeight: '15vh'
@@ -1442,7 +1649,22 @@ var Productinfo = function Productinfo(props) {
1442
1649
  className: "row m-0 w-100 d-flex flex-column"
1443
1650
  }, /*#__PURE__*/React.createElement("p", {
1444
1651
  className: "m-0 p-0 text-light font-15 d-flex justify-content-start"
1445
- }, lang.description, ":"))), fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1 && /*#__PURE__*/React.createElement("div", {
1652
+ }, lang.description, ":"), /*#__PURE__*/React.createElement(ShowMoreText, {
1653
+ lines: 5,
1654
+ more: lang.showmore,
1655
+ less: lang.showless,
1656
+ anchorClass: "my-anchor-css-className",
1657
+ expanded: false,
1658
+ truncatedEndingComponent: '... '
1659
+ }, /*#__PURE__*/React.createElement("p", {
1660
+ className: 'text-black text-capitalize m-0 p-0 wordbreak',
1661
+ style: {
1662
+ textAlign: langdetect == 'en' ? 'left' : 'right'
1663
+ },
1664
+ dangerouslySetInnerHTML: {
1665
+ __html: langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.description_en : fetchProductInfoQueryContext.data.data.productinfo.description_ar
1666
+ }
1667
+ })))), fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1 && /*#__PURE__*/React.createElement("div", {
1446
1668
  className: "row m-0 w-100 d-flex align-items-start"
1447
1669
  }, fetchProductInfoQueryContext.data.data.productinfo.productoptions.map(function (item, index) {
1448
1670
  return /*#__PURE__*/React.createElement("div", {
@@ -1537,7 +1759,7 @@ var Productinfo = function Productinfo(props) {
1537
1759
  }
1538
1760
  }))));
1539
1761
  })), /*#__PURE__*/React.createElement("div", {
1540
- className: "col-lg-12 p-0 mb-3"
1762
+ className: "col-lg-12 p-0 mb-3 mt-4"
1541
1763
  }, /*#__PURE__*/React.createElement("div", {
1542
1764
  style: {
1543
1765
  width: sectionproperties.availability_width + 'px',
@@ -20246,23 +20468,13 @@ var SearchHeader = function SearchHeader(props) {
20246
20468
  borderBottomLeftRadius: sectionproperties.uppersection_bblradius + 'px',
20247
20469
  borderBottomRightRadius: sectionproperties.uppersection_bbrradius + 'px'
20248
20470
  }),
20249
- headerMiddleContainer: css({
20250
- backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
20251
- borderBottomLeftRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
20252
- borderBottomRightRadius: sectionproperties.header_BorderBottomRightRadius + 'px',
20253
- borderTopLeftRadius: sectionproperties.header_borderTopLeftRadius + 'px',
20254
- borderTopRightRadius: sectionproperties.header_borderTopRightRadius + 'px',
20255
- paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
20256
- paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
20257
- paddingTop: sectionproperties.header_paddingTop + 'px',
20258
- paddingBottom: sectionproperties.header_paddingBottom + 'px'
20259
- }),
20260
20471
  lowerheaderSection: css({
20261
- backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
20472
+ backgroundColor: sectionproperties.lowersection_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.lowersection_backgroundColor,
20262
20473
  paddingTop: sectionproperties.lowersection_paddingtop + 'px',
20263
20474
  paddingBottom: sectionproperties.lowersection_paddingbottom + 'px',
20264
20475
  paddingLeft: langdetect == 'en' ? sectionproperties.lowersection_paddingleft + 'px' : sectionproperties.lowersection_paddingright + 'px',
20265
- paddingRight: langdetect == 'en' ? sectionproperties.lowersection_paddingright + 'px' : sectionproperties.lowersection_paddingleft + 'px'
20476
+ paddingRight: langdetect == 'en' ? sectionproperties.lowersection_paddingright + 'px' : sectionproperties.lowersection_paddingleft + 'px',
20477
+ zIndex: 200
20266
20478
  }),
20267
20479
  upperheadertext: css({
20268
20480
  fontSize: sectionproperties.footerinfotext_fontsize + 'px',
@@ -20839,8 +21051,10 @@ var SearchHeader = function SearchHeader(props) {
20839
21051
  }, /*#__PURE__*/React.createElement("div", {
20840
21052
  "class": "col-lg-9 p-0 d-flex justify-content-start align-items-center "
20841
21053
  }, /*#__PURE__*/React.createElement("nav", {
20842
- "class": headerstyles$4.navbar
20843
- }, /*#__PURE__*/React.createElement("ul", null, templatepropcontext.pagesnprop.map(function (item, index) {
21054
+ "class": ' row m-0 w-100 '
21055
+ }, /*#__PURE__*/React.createElement("ul", {
21056
+ "class": "row m-0 w-100"
21057
+ }, templatepropcontext.pagesnprop.map(function (item, index) {
20844
21058
  if (item.isnavigation == 1 && item.isactive == 1) {
20845
21059
  return /*#__PURE__*/React.createElement("li", {
20846
21060
  style: {
@@ -22962,9 +23176,10 @@ var Footer3 = function Footer3(props) {
22962
23176
  }),
22963
23177
  divider: css({
22964
23178
  height: sectionproperties.vl_height + 'px',
22965
- width: '100%',
22966
- overflow: 'hidden',
22967
- background: sectionproperties.vl_bg
23179
+ width: sectionproperties.vl_width + '%',
23180
+ background: sectionproperties.vl_bg,
23181
+ marginTop: sectionproperties.divider_mt + 'px',
23182
+ marginBottom: sectionproperties.divider_mb + 'px'
22968
23183
  })
22969
23184
  };
22970
23185
  return /*#__PURE__*/React.createElement("div", {
@@ -23073,7 +23288,7 @@ var Footer3 = function Footer3(props) {
23073
23288
  }, /*#__PURE__*/React.createElement(FaWhatsapp, {
23074
23289
  size: sectionproperties.youtubebtniconfontsize
23075
23290
  })))))), sectionproperties.showcontactinfo == 'Show' && /*#__PURE__*/React.createElement("div", {
23076
- "class": "col-lg-12 pl-3 pr-3 pl-sm-2 pr-sm-2 mt-3"
23291
+ "class": "col-lg-12 p-0 allcentered"
23077
23292
  }, /*#__PURE__*/React.createElement("div", {
23078
23293
  "class": "".concat(footerStyles.divider)
23079
23294
  })), /*#__PURE__*/React.createElement("div", {
@@ -25342,21 +25557,14 @@ var Filter$1 = function Filter(props) {
25342
25557
  boxShadow: sectionproperties.horizontalfilter_cardboxShadow == 'Show' ? sectionproperties.horizontalfilter_cardboxShadowcolor : 'horizontalfilter_cardboxShadow'
25343
25558
  }),
25344
25559
  btn_item: css({
25345
- ':hover': {
25346
- background: sectionproperties.filteritembtn_bghover
25347
- },
25348
25560
  width: '20px',
25349
25561
  height: '20px',
25350
- // borderTopLeftRadius: sectionproperties.filteritembtn_borderTopLeftRadius + 'px',
25351
- // borderTopRightRadius: sectionproperties.filteritembtn_borderTopRightRadius + 'px',
25352
- // borderBottomLeftRadius: sectionproperties.filteritembtn_borderBottomLeftRadius + 'px',
25353
- // borderBottomRightRadius: sectionproperties.filteritembtn_borderBottomRightRadius + 'px',
25354
- background: sectionproperties.filteritembtn_bgcolor
25355
- // marginLeft: sectionproperties.filteritembtn_ml + 'px',
25562
+ background: sectionproperties.filteritembtn_bgcolor,
25563
+ ':hover': {
25564
+ background: sectionproperties.filteritembtn_bghover
25565
+ }
25356
25566
  }),
25357
-
25358
25567
  btn_item_active: css({
25359
- // background: 'green',
25360
25568
  background: sectionproperties.btn_item_activebgcolor
25361
25569
  }),
25362
25570
  timelineinnercont_active: css({
@@ -26560,9 +26768,7 @@ var CardsSection2 = function CardsSection2(props) {
26560
26768
  duration: "1s"
26561
26769
  }) : fetchProductsQuery.hasNextPage ? /*#__PURE__*/React.createElement("i", {
26562
26770
  className: "fa fa-spinner"
26563
- }) : /*#__PURE__*/React.createElement("i", {
26564
- className: "fa fa-spinner"
26565
- })))));
26771
+ }) : ''))));
26566
26772
  }
26567
26773
  }
26568
26774
  }))))));
@@ -32699,7 +32905,8 @@ var Servicesection = function Servicesection(props) {
32699
32905
  width: 50,
32700
32906
  height: 50,
32701
32907
  marginBottom: 'auto',
32702
- marginRight: '10px'
32908
+ marginRight: langdetect == 'en' ? '10px' : 0,
32909
+ marginLeft: langdetect == 'ar' ? '10px' : 0
32703
32910
  }
32704
32911
  }, /*#__PURE__*/React.createElement(IKImage, {
32705
32912
  urlEndpoint: IKurlEndpoint,
@@ -39155,7 +39362,6 @@ var Productcard_animatedbuttons = function Productcard_animatedbuttons(props) {
39155
39362
  background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
39156
39363
  borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
39157
39364
  color: sectionproperties.cart_iconcolor,
39158
- fontSize: sectionproperties.cartBtnTextfontsize + 'px',
39159
39365
  textTransform: sectionproperties.cartBtnTexttransform,
39160
39366
  fontWeight: sectionproperties.cartBtnTextfontweight,
39161
39367
  border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
@@ -41599,7 +41805,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
41599
41805
  style: {
41600
41806
  width: '100%',
41601
41807
  height: '100%',
41602
- objectFit: 'cover',
41808
+ objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
41603
41809
  background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
41604
41810
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
41605
41811
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',