tabexseriescomponents 0.0.682 → 0.0.683
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 +64 -48
- package/dist/index.esm.js +64 -48
- package/dist/index.umd.js +64 -48
- package/package.json +1 -1
- package/srcoriginal/TabexComponents/Headers/Header8/Header8.jsx +41 -1
package/dist/index.cjs.js
CHANGED
|
@@ -42900,7 +42900,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
42900
42900
|
function ownKeys$1C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
42901
42901
|
function _objectSpread$1C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
42902
42902
|
var Footer1 = function Footer1(props) {
|
|
42903
|
-
var _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2,
|
|
42903
|
+
var _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _bgimagearrayofobjs$3, _bgimagearrayofobjs$4, _logoarrayofobjects$3, _logoarrayofobjects$4, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i11, _authdetailsContext$i12, _bgimagearrayofobjs$5, _bgimagearrayofobjs$6, _logoarrayofobjects$5, _logoarrayofobjects$6, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i21;
|
|
42904
42904
|
var _useState = React.useState(''),
|
|
42905
42905
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
42906
42906
|
sectionproperties = _useState2[0],
|
|
@@ -42919,10 +42919,14 @@ var Footer1 = function Footer1(props) {
|
|
|
42919
42919
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
42920
42920
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
42921
42921
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
42922
|
-
|
|
42922
|
+
// const [newsletter, setnewsletter] = useState('');
|
|
42923
|
+
var _useState5 = React.useState({
|
|
42924
|
+
min: '',
|
|
42925
|
+
max: ''
|
|
42926
|
+
}),
|
|
42923
42927
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
42924
|
-
|
|
42925
|
-
|
|
42928
|
+
pricevalue2 = _useState6[0],
|
|
42929
|
+
setpricevalue2 = _useState6[1];
|
|
42926
42930
|
React.useEffect(function () {
|
|
42927
42931
|
if (props.srcfrom == 'addsectionform') {
|
|
42928
42932
|
var secpropobj = {};
|
|
@@ -42950,6 +42954,18 @@ var Footer1 = function Footer1(props) {
|
|
|
42950
42954
|
}
|
|
42951
42955
|
}
|
|
42952
42956
|
}, [templateproperties_context]);
|
|
42957
|
+
var _useState7 = React.useState([]),
|
|
42958
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
42959
|
+
bgimagearrayofobjs = _useState8[0],
|
|
42960
|
+
setbgimagearrayofobjs = _useState8[1];
|
|
42961
|
+
React.useEffect(function () {
|
|
42962
|
+
if (sectionproperties.length != 0 && sectionproperties.logoarrayofobjects != undefined) {
|
|
42963
|
+
var bg1_arrayofobjsparsed = JSON.parse(sectionproperties.logoarrayofobjects);
|
|
42964
|
+
if (Array.isArray(bg1_arrayofobjsparsed)) {
|
|
42965
|
+
setbgimagearrayofobjs(_toConsumableArray__default["default"](bg1_arrayofobjsparsed));
|
|
42966
|
+
}
|
|
42967
|
+
}
|
|
42968
|
+
}, [sectionproperties]);
|
|
42953
42969
|
var footerStyles = {
|
|
42954
42970
|
footerContainer: glamor.css({
|
|
42955
42971
|
width: '100vw',
|
|
@@ -43130,7 +43146,7 @@ var Footer1 = function Footer1(props) {
|
|
|
43130
43146
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
43131
43147
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
43132
43148
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
43133
|
-
path:
|
|
43149
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$3 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$3 === void 0 ? void 0 : _bgimagearrayofobjs$3.englishlogo : (_bgimagearrayofobjs$4 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$4 === void 0 ? void 0 : _bgimagearrayofobjs$4.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$3 = logoarrayofobjects[0]) === null || _logoarrayofobjects$3 === void 0 ? void 0 : _logoarrayofobjects$3.englishlogo : (_logoarrayofobjects$4 = logoarrayofobjects[0]) === null || _logoarrayofobjects$4 === void 0 ? void 0 : _logoarrayofobjects$4.arabiclogo,
|
|
43134
43150
|
style: {
|
|
43135
43151
|
width: '100%',
|
|
43136
43152
|
height: '100%',
|
|
@@ -43266,10 +43282,10 @@ var Footer1 = function Footer1(props) {
|
|
|
43266
43282
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43267
43283
|
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43268
43284
|
onClick: function onClick() {
|
|
43269
|
-
var _authdetailsContext$
|
|
43270
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43271
|
-
var _authdetailsContext$
|
|
43272
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43285
|
+
var _authdetailsContext$i2;
|
|
43286
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink) != null) {
|
|
43287
|
+
var _authdetailsContext$i3;
|
|
43288
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink, '_blank');
|
|
43273
43289
|
}
|
|
43274
43290
|
}
|
|
43275
43291
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebook.FaFacebook, {
|
|
@@ -43277,10 +43293,10 @@ var Footer1 = function Footer1(props) {
|
|
|
43277
43293
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43278
43294
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
43279
43295
|
onClick: function onClick() {
|
|
43280
|
-
var _authdetailsContext$
|
|
43281
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43282
|
-
var _authdetailsContext$
|
|
43283
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43296
|
+
var _authdetailsContext$i4;
|
|
43297
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instagramlink) != null) {
|
|
43298
|
+
var _authdetailsContext$i5;
|
|
43299
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink, '_blank');
|
|
43284
43300
|
}
|
|
43285
43301
|
}
|
|
43286
43302
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
@@ -43288,10 +43304,10 @@ var Footer1 = function Footer1(props) {
|
|
|
43288
43304
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43289
43305
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43290
43306
|
onClick: function onClick() {
|
|
43291
|
-
var _authdetailsContext$
|
|
43292
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43293
|
-
var _authdetailsContext$
|
|
43294
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43307
|
+
var _authdetailsContext$i6;
|
|
43308
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber) != null) {
|
|
43309
|
+
var _authdetailsContext$i7;
|
|
43310
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber), '_blank');
|
|
43295
43311
|
}
|
|
43296
43312
|
}
|
|
43297
43313
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
@@ -43306,15 +43322,15 @@ var Footer1 = function Footer1(props) {
|
|
|
43306
43322
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer mx-2 ',
|
|
43307
43323
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
43308
43324
|
onClick: function onClick() {
|
|
43309
|
-
var _authdetailsContext$
|
|
43310
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43325
|
+
var _authdetailsContext$i8;
|
|
43326
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.mobileapplink_appstore, '_blank');
|
|
43311
43327
|
}
|
|
43312
43328
|
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
43313
43329
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer mx-2 ',
|
|
43314
43330
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
43315
43331
|
onClick: function onClick() {
|
|
43316
|
-
var _authdetailsContext$
|
|
43317
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43332
|
+
var _authdetailsContext$i9;
|
|
43333
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.mobileapplink_playstore, '_blank');
|
|
43318
43334
|
}
|
|
43319
43335
|
})), sectionproperties.showcontactinfo == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43320
43336
|
"class": "col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0"
|
|
@@ -43331,12 +43347,12 @@ var Footer1 = function Footer1(props) {
|
|
|
43331
43347
|
textTransform: sectionproperties.footerinfotext_textTransform
|
|
43332
43348
|
},
|
|
43333
43349
|
onClick: function onClick() {
|
|
43334
|
-
var _authdetailsContext$
|
|
43335
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43350
|
+
var _authdetailsContext$i10;
|
|
43351
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 || (_authdetailsContext$i10 = _authdetailsContext$i10.contactinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.email), '_self');
|
|
43336
43352
|
}
|
|
43337
43353
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
43338
43354
|
"class": ' fa fa-at mr-2 text-transform-none ml-2 '
|
|
43339
|
-
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43355
|
+
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 || (_authdetailsContext$i11 = _authdetailsContext$i11.contactinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.email)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43340
43356
|
"class": "col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0"
|
|
43341
43357
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
43342
43358
|
"class": "".concat(footerStyles.footerinfotext) + ' d-flex align-items-center justify-content-md-center mr-1 ',
|
|
@@ -43365,7 +43381,7 @@ var Footer1 = function Footer1(props) {
|
|
|
43365
43381
|
"class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
|
|
43366
43382
|
}, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
|
|
43367
43383
|
size: sectionproperties.footerinfoicon_fontsize
|
|
43368
|
-
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43384
|
+
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.address_en)))))), sectionproperties.opencollapsible == 'Not Expanded' && /*#__PURE__*/React__default["default"].createElement("footer", {
|
|
43369
43385
|
"class": "".concat(footerStyles.footerContainer) + ' p-sm-2 p-md-4 '
|
|
43370
43386
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43371
43387
|
"class": "row w-100 m-0 d-flex justify-content-center"
|
|
@@ -43380,7 +43396,7 @@ var Footer1 = function Footer1(props) {
|
|
|
43380
43396
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
43381
43397
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
43382
43398
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
43383
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$
|
|
43399
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$5 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$5 === void 0 ? void 0 : _bgimagearrayofobjs$5.englishlogo : (_bgimagearrayofobjs$6 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$6 === void 0 ? void 0 : _bgimagearrayofobjs$6.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$5 = logoarrayofobjects[0]) === null || _logoarrayofobjects$5 === void 0 ? void 0 : _logoarrayofobjects$5.englishlogo : (_logoarrayofobjects$6 = logoarrayofobjects[0]) === null || _logoarrayofobjects$6 === void 0 ? void 0 : _logoarrayofobjects$6.arabiclogo,
|
|
43384
43400
|
style: {
|
|
43385
43401
|
width: '100%',
|
|
43386
43402
|
height: '100%',
|
|
@@ -43397,15 +43413,15 @@ var Footer1 = function Footer1(props) {
|
|
|
43397
43413
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
43398
43414
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
43399
43415
|
}
|
|
43400
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43416
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.description_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43401
43417
|
"class": "col-lg-12 p-0 flex-row text-start"
|
|
43402
43418
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43403
43419
|
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43404
43420
|
onClick: function onClick() {
|
|
43405
|
-
var _authdetailsContext$
|
|
43406
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43407
|
-
var _authdetailsContext$
|
|
43408
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43421
|
+
var _authdetailsContext$i15;
|
|
43422
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.facebooklink) != null) {
|
|
43423
|
+
var _authdetailsContext$i16;
|
|
43424
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.facebooklink, '_blank');
|
|
43409
43425
|
}
|
|
43410
43426
|
}
|
|
43411
43427
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebook.FaFacebook, {
|
|
@@ -43413,10 +43429,10 @@ var Footer1 = function Footer1(props) {
|
|
|
43413
43429
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43414
43430
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
43415
43431
|
onClick: function onClick() {
|
|
43416
|
-
var _authdetailsContext$
|
|
43417
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43418
|
-
var _authdetailsContext$
|
|
43419
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43432
|
+
var _authdetailsContext$i17;
|
|
43433
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instagramlink) != null) {
|
|
43434
|
+
var _authdetailsContext$i18;
|
|
43435
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instagramlink, '_blank');
|
|
43420
43436
|
}
|
|
43421
43437
|
}
|
|
43422
43438
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
@@ -43424,21 +43440,21 @@ var Footer1 = function Footer1(props) {
|
|
|
43424
43440
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43425
43441
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43426
43442
|
onClick: function onClick() {
|
|
43427
|
-
var _authdetailsContext$
|
|
43428
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43429
|
-
var _authdetailsContext$
|
|
43430
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43443
|
+
var _authdetailsContext$i19;
|
|
43444
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.whatsappnumber) != null) {
|
|
43445
|
+
var _authdetailsContext$i20;
|
|
43446
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.whatsappnumber), '_blank');
|
|
43431
43447
|
}
|
|
43432
43448
|
}
|
|
43433
43449
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
43434
43450
|
size: sectionproperties.youtubebtniconfontsize
|
|
43435
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43451
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.twitterlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43436
43452
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43437
43453
|
onClick: function onClick() {
|
|
43438
|
-
var _authdetailsContext$
|
|
43439
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43440
|
-
var _authdetailsContext$
|
|
43441
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43454
|
+
var _authdetailsContext$i22;
|
|
43455
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.twitterlink) != null) {
|
|
43456
|
+
var _authdetailsContext$i23;
|
|
43457
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.twitterlink, '_blank');
|
|
43442
43458
|
}
|
|
43443
43459
|
}
|
|
43444
43460
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -43475,12 +43491,12 @@ var Footer1 = function Footer1(props) {
|
|
|
43475
43491
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
43476
43492
|
type: "text",
|
|
43477
43493
|
className: "".concat(footerStyles.form_control) + ' w-md-100 ',
|
|
43478
|
-
value:
|
|
43494
|
+
value: pricevalue2.min,
|
|
43479
43495
|
placeholder: "\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",
|
|
43480
43496
|
onChange: function onChange(event) {
|
|
43481
|
-
var
|
|
43482
|
-
|
|
43483
|
-
|
|
43497
|
+
var temppricevalue = _objectSpread$1C({}, pricevalue2);
|
|
43498
|
+
temppricevalue.min = event.target.value;
|
|
43499
|
+
setpricevalue2(_objectSpread$1C({}, temppricevalue));
|
|
43484
43500
|
},
|
|
43485
43501
|
style: {
|
|
43486
43502
|
background: 'white',
|
package/dist/index.esm.js
CHANGED
|
@@ -42851,7 +42851,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
42851
42851
|
function ownKeys$1C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
42852
42852
|
function _objectSpread$1C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1C(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
42853
42853
|
var Footer1 = function Footer1(props) {
|
|
42854
|
-
var _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2,
|
|
42854
|
+
var _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _bgimagearrayofobjs$3, _bgimagearrayofobjs$4, _logoarrayofobjects$3, _logoarrayofobjects$4, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i11, _authdetailsContext$i12, _bgimagearrayofobjs$5, _bgimagearrayofobjs$6, _logoarrayofobjects$5, _logoarrayofobjects$6, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i21;
|
|
42855
42855
|
var _useState = useState(''),
|
|
42856
42856
|
_useState2 = _slicedToArray(_useState, 2),
|
|
42857
42857
|
sectionproperties = _useState2[0],
|
|
@@ -42870,10 +42870,14 @@ var Footer1 = function Footer1(props) {
|
|
|
42870
42870
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
42871
42871
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
42872
42872
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
42873
|
-
|
|
42873
|
+
// const [newsletter, setnewsletter] = useState('');
|
|
42874
|
+
var _useState5 = useState({
|
|
42875
|
+
min: '',
|
|
42876
|
+
max: ''
|
|
42877
|
+
}),
|
|
42874
42878
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
42875
|
-
|
|
42876
|
-
|
|
42879
|
+
pricevalue2 = _useState6[0],
|
|
42880
|
+
setpricevalue2 = _useState6[1];
|
|
42877
42881
|
useEffect(function () {
|
|
42878
42882
|
if (props.srcfrom == 'addsectionform') {
|
|
42879
42883
|
var secpropobj = {};
|
|
@@ -42901,6 +42905,18 @@ var Footer1 = function Footer1(props) {
|
|
|
42901
42905
|
}
|
|
42902
42906
|
}
|
|
42903
42907
|
}, [templateproperties_context]);
|
|
42908
|
+
var _useState7 = useState([]),
|
|
42909
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
42910
|
+
bgimagearrayofobjs = _useState8[0],
|
|
42911
|
+
setbgimagearrayofobjs = _useState8[1];
|
|
42912
|
+
useEffect(function () {
|
|
42913
|
+
if (sectionproperties.length != 0 && sectionproperties.logoarrayofobjects != undefined) {
|
|
42914
|
+
var bg1_arrayofobjsparsed = JSON.parse(sectionproperties.logoarrayofobjects);
|
|
42915
|
+
if (Array.isArray(bg1_arrayofobjsparsed)) {
|
|
42916
|
+
setbgimagearrayofobjs(_toConsumableArray(bg1_arrayofobjsparsed));
|
|
42917
|
+
}
|
|
42918
|
+
}
|
|
42919
|
+
}, [sectionproperties]);
|
|
42904
42920
|
var footerStyles = {
|
|
42905
42921
|
footerContainer: css({
|
|
42906
42922
|
width: '100vw',
|
|
@@ -43081,7 +43097,7 @@ var Footer1 = function Footer1(props) {
|
|
|
43081
43097
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
43082
43098
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
43083
43099
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
43084
|
-
path:
|
|
43100
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$3 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$3 === void 0 ? void 0 : _bgimagearrayofobjs$3.englishlogo : (_bgimagearrayofobjs$4 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$4 === void 0 ? void 0 : _bgimagearrayofobjs$4.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$3 = logoarrayofobjects[0]) === null || _logoarrayofobjects$3 === void 0 ? void 0 : _logoarrayofobjects$3.englishlogo : (_logoarrayofobjects$4 = logoarrayofobjects[0]) === null || _logoarrayofobjects$4 === void 0 ? void 0 : _logoarrayofobjects$4.arabiclogo,
|
|
43085
43101
|
style: {
|
|
43086
43102
|
width: '100%',
|
|
43087
43103
|
height: '100%',
|
|
@@ -43217,10 +43233,10 @@ var Footer1 = function Footer1(props) {
|
|
|
43217
43233
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
43218
43234
|
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43219
43235
|
onClick: function onClick() {
|
|
43220
|
-
var _authdetailsContext$
|
|
43221
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43222
|
-
var _authdetailsContext$
|
|
43223
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43236
|
+
var _authdetailsContext$i2;
|
|
43237
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink) != null) {
|
|
43238
|
+
var _authdetailsContext$i3;
|
|
43239
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink, '_blank');
|
|
43224
43240
|
}
|
|
43225
43241
|
}
|
|
43226
43242
|
}, /*#__PURE__*/React.createElement(FaFacebook, {
|
|
@@ -43228,10 +43244,10 @@ var Footer1 = function Footer1(props) {
|
|
|
43228
43244
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
43229
43245
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
43230
43246
|
onClick: function onClick() {
|
|
43231
|
-
var _authdetailsContext$
|
|
43232
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43233
|
-
var _authdetailsContext$
|
|
43234
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43247
|
+
var _authdetailsContext$i4;
|
|
43248
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instagramlink) != null) {
|
|
43249
|
+
var _authdetailsContext$i5;
|
|
43250
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink, '_blank');
|
|
43235
43251
|
}
|
|
43236
43252
|
}
|
|
43237
43253
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
@@ -43239,10 +43255,10 @@ var Footer1 = function Footer1(props) {
|
|
|
43239
43255
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
43240
43256
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43241
43257
|
onClick: function onClick() {
|
|
43242
|
-
var _authdetailsContext$
|
|
43243
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43244
|
-
var _authdetailsContext$
|
|
43245
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43258
|
+
var _authdetailsContext$i6;
|
|
43259
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber) != null) {
|
|
43260
|
+
var _authdetailsContext$i7;
|
|
43261
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber), '_blank');
|
|
43246
43262
|
}
|
|
43247
43263
|
}
|
|
43248
43264
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
@@ -43257,15 +43273,15 @@ var Footer1 = function Footer1(props) {
|
|
|
43257
43273
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer mx-2 ',
|
|
43258
43274
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
43259
43275
|
onClick: function onClick() {
|
|
43260
|
-
var _authdetailsContext$
|
|
43261
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43276
|
+
var _authdetailsContext$i8;
|
|
43277
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.mobileapplink_appstore, '_blank');
|
|
43262
43278
|
}
|
|
43263
43279
|
}), /*#__PURE__*/React.createElement("img", {
|
|
43264
43280
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer mx-2 ',
|
|
43265
43281
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
43266
43282
|
onClick: function onClick() {
|
|
43267
|
-
var _authdetailsContext$
|
|
43268
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43283
|
+
var _authdetailsContext$i9;
|
|
43284
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.mobileapplink_playstore, '_blank');
|
|
43269
43285
|
}
|
|
43270
43286
|
})), sectionproperties.showcontactinfo == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
43271
43287
|
"class": "col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0"
|
|
@@ -43282,12 +43298,12 @@ var Footer1 = function Footer1(props) {
|
|
|
43282
43298
|
textTransform: sectionproperties.footerinfotext_textTransform
|
|
43283
43299
|
},
|
|
43284
43300
|
onClick: function onClick() {
|
|
43285
|
-
var _authdetailsContext$
|
|
43286
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43301
|
+
var _authdetailsContext$i10;
|
|
43302
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 || (_authdetailsContext$i10 = _authdetailsContext$i10.contactinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.email), '_self');
|
|
43287
43303
|
}
|
|
43288
43304
|
}, /*#__PURE__*/React.createElement("i", {
|
|
43289
43305
|
"class": ' fa fa-at mr-2 text-transform-none ml-2 '
|
|
43290
|
-
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43306
|
+
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 || (_authdetailsContext$i11 = _authdetailsContext$i11.contactinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.email)), /*#__PURE__*/React.createElement("div", {
|
|
43291
43307
|
"class": "col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0"
|
|
43292
43308
|
}, /*#__PURE__*/React.createElement("p", {
|
|
43293
43309
|
"class": "".concat(footerStyles.footerinfotext) + ' d-flex align-items-center justify-content-md-center mr-1 ',
|
|
@@ -43316,7 +43332,7 @@ var Footer1 = function Footer1(props) {
|
|
|
43316
43332
|
"class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
|
|
43317
43333
|
}, /*#__PURE__*/React.createElement(IoLocationSharp, {
|
|
43318
43334
|
size: sectionproperties.footerinfoicon_fontsize
|
|
43319
|
-
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43335
|
+
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.address_en)))))), sectionproperties.opencollapsible == 'Not Expanded' && /*#__PURE__*/React.createElement("footer", {
|
|
43320
43336
|
"class": "".concat(footerStyles.footerContainer) + ' p-sm-2 p-md-4 '
|
|
43321
43337
|
}, /*#__PURE__*/React.createElement("div", {
|
|
43322
43338
|
"class": "row w-100 m-0 d-flex justify-content-center"
|
|
@@ -43331,7 +43347,7 @@ var Footer1 = function Footer1(props) {
|
|
|
43331
43347
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
43332
43348
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
43333
43349
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
43334
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$
|
|
43350
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$5 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$5 === void 0 ? void 0 : _bgimagearrayofobjs$5.englishlogo : (_bgimagearrayofobjs$6 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$6 === void 0 ? void 0 : _bgimagearrayofobjs$6.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$5 = logoarrayofobjects[0]) === null || _logoarrayofobjects$5 === void 0 ? void 0 : _logoarrayofobjects$5.englishlogo : (_logoarrayofobjects$6 = logoarrayofobjects[0]) === null || _logoarrayofobjects$6 === void 0 ? void 0 : _logoarrayofobjects$6.arabiclogo,
|
|
43335
43351
|
style: {
|
|
43336
43352
|
width: '100%',
|
|
43337
43353
|
height: '100%',
|
|
@@ -43348,15 +43364,15 @@ var Footer1 = function Footer1(props) {
|
|
|
43348
43364
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
43349
43365
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
43350
43366
|
}
|
|
43351
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43367
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.description_ar)), /*#__PURE__*/React.createElement("div", {
|
|
43352
43368
|
"class": "col-lg-12 p-0 flex-row text-start"
|
|
43353
43369
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
43354
43370
|
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43355
43371
|
onClick: function onClick() {
|
|
43356
|
-
var _authdetailsContext$
|
|
43357
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43358
|
-
var _authdetailsContext$
|
|
43359
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43372
|
+
var _authdetailsContext$i15;
|
|
43373
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.facebooklink) != null) {
|
|
43374
|
+
var _authdetailsContext$i16;
|
|
43375
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.facebooklink, '_blank');
|
|
43360
43376
|
}
|
|
43361
43377
|
}
|
|
43362
43378
|
}, /*#__PURE__*/React.createElement(FaFacebook, {
|
|
@@ -43364,10 +43380,10 @@ var Footer1 = function Footer1(props) {
|
|
|
43364
43380
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
43365
43381
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
43366
43382
|
onClick: function onClick() {
|
|
43367
|
-
var _authdetailsContext$
|
|
43368
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43369
|
-
var _authdetailsContext$
|
|
43370
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43383
|
+
var _authdetailsContext$i17;
|
|
43384
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instagramlink) != null) {
|
|
43385
|
+
var _authdetailsContext$i18;
|
|
43386
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instagramlink, '_blank');
|
|
43371
43387
|
}
|
|
43372
43388
|
}
|
|
43373
43389
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
@@ -43375,21 +43391,21 @@ var Footer1 = function Footer1(props) {
|
|
|
43375
43391
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
43376
43392
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43377
43393
|
onClick: function onClick() {
|
|
43378
|
-
var _authdetailsContext$
|
|
43379
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43380
|
-
var _authdetailsContext$
|
|
43381
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43394
|
+
var _authdetailsContext$i19;
|
|
43395
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.whatsappnumber) != null) {
|
|
43396
|
+
var _authdetailsContext$i20;
|
|
43397
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.whatsappnumber), '_blank');
|
|
43382
43398
|
}
|
|
43383
43399
|
}
|
|
43384
43400
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
43385
43401
|
size: sectionproperties.youtubebtniconfontsize
|
|
43386
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43402
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.twitterlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
43387
43403
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43388
43404
|
onClick: function onClick() {
|
|
43389
|
-
var _authdetailsContext$
|
|
43390
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43391
|
-
var _authdetailsContext$
|
|
43392
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43405
|
+
var _authdetailsContext$i22;
|
|
43406
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.twitterlink) != null) {
|
|
43407
|
+
var _authdetailsContext$i23;
|
|
43408
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.twitterlink, '_blank');
|
|
43393
43409
|
}
|
|
43394
43410
|
}
|
|
43395
43411
|
}, /*#__PURE__*/React.createElement("i", {
|
|
@@ -43426,12 +43442,12 @@ var Footer1 = function Footer1(props) {
|
|
|
43426
43442
|
}, /*#__PURE__*/React.createElement("input", {
|
|
43427
43443
|
type: "text",
|
|
43428
43444
|
className: "".concat(footerStyles.form_control) + ' w-md-100 ',
|
|
43429
|
-
value:
|
|
43445
|
+
value: pricevalue2.min,
|
|
43430
43446
|
placeholder: "\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",
|
|
43431
43447
|
onChange: function onChange(event) {
|
|
43432
|
-
var
|
|
43433
|
-
|
|
43434
|
-
|
|
43448
|
+
var temppricevalue = _objectSpread$1C({}, pricevalue2);
|
|
43449
|
+
temppricevalue.min = event.target.value;
|
|
43450
|
+
setpricevalue2(_objectSpread$1C({}, temppricevalue));
|
|
43435
43451
|
},
|
|
43436
43452
|
style: {
|
|
43437
43453
|
background: 'white',
|
package/dist/index.umd.js
CHANGED
|
@@ -42723,7 +42723,7 @@
|
|
|
42723
42723
|
function ownKeys$1C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
42724
42724
|
function _objectSpread$1C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
42725
42725
|
var Footer1 = function Footer1(props) {
|
|
42726
|
-
var _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2,
|
|
42726
|
+
var _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _bgimagearrayofobjs$3, _bgimagearrayofobjs$4, _logoarrayofobjects$3, _logoarrayofobjects$4, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i11, _authdetailsContext$i12, _bgimagearrayofobjs$5, _bgimagearrayofobjs$6, _logoarrayofobjects$5, _logoarrayofobjects$6, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i21;
|
|
42727
42727
|
var _useState = React.useState(''),
|
|
42728
42728
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
42729
42729
|
sectionproperties = _useState2[0],
|
|
@@ -42742,10 +42742,14 @@
|
|
|
42742
42742
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
42743
42743
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
42744
42744
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
42745
|
-
|
|
42745
|
+
// const [newsletter, setnewsletter] = useState('');
|
|
42746
|
+
var _useState5 = React.useState({
|
|
42747
|
+
min: '',
|
|
42748
|
+
max: ''
|
|
42749
|
+
}),
|
|
42746
42750
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
42747
|
-
|
|
42748
|
-
|
|
42751
|
+
pricevalue2 = _useState6[0],
|
|
42752
|
+
setpricevalue2 = _useState6[1];
|
|
42749
42753
|
React.useEffect(function () {
|
|
42750
42754
|
if (props.srcfrom == 'addsectionform') {
|
|
42751
42755
|
var secpropobj = {};
|
|
@@ -42773,6 +42777,18 @@
|
|
|
42773
42777
|
}
|
|
42774
42778
|
}
|
|
42775
42779
|
}, [templateproperties_context]);
|
|
42780
|
+
var _useState7 = React.useState([]),
|
|
42781
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
42782
|
+
bgimagearrayofobjs = _useState8[0],
|
|
42783
|
+
setbgimagearrayofobjs = _useState8[1];
|
|
42784
|
+
React.useEffect(function () {
|
|
42785
|
+
if (sectionproperties.length != 0 && sectionproperties.logoarrayofobjects != undefined) {
|
|
42786
|
+
var bg1_arrayofobjsparsed = JSON.parse(sectionproperties.logoarrayofobjects);
|
|
42787
|
+
if (Array.isArray(bg1_arrayofobjsparsed)) {
|
|
42788
|
+
setbgimagearrayofobjs(_toConsumableArray__default["default"](bg1_arrayofobjsparsed));
|
|
42789
|
+
}
|
|
42790
|
+
}
|
|
42791
|
+
}, [sectionproperties]);
|
|
42776
42792
|
var footerStyles = {
|
|
42777
42793
|
footerContainer: glamor.css({
|
|
42778
42794
|
width: '100vw',
|
|
@@ -42953,7 +42969,7 @@
|
|
|
42953
42969
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
42954
42970
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
42955
42971
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
42956
|
-
path:
|
|
42972
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$3 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$3 === void 0 ? void 0 : _bgimagearrayofobjs$3.englishlogo : (_bgimagearrayofobjs$4 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$4 === void 0 ? void 0 : _bgimagearrayofobjs$4.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$3 = logoarrayofobjects[0]) === null || _logoarrayofobjects$3 === void 0 ? void 0 : _logoarrayofobjects$3.englishlogo : (_logoarrayofobjects$4 = logoarrayofobjects[0]) === null || _logoarrayofobjects$4 === void 0 ? void 0 : _logoarrayofobjects$4.arabiclogo,
|
|
42957
42973
|
style: {
|
|
42958
42974
|
width: '100%',
|
|
42959
42975
|
height: '100%',
|
|
@@ -43089,10 +43105,10 @@
|
|
|
43089
43105
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43090
43106
|
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43091
43107
|
onClick: function onClick() {
|
|
43092
|
-
var _authdetailsContext$
|
|
43093
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43094
|
-
var _authdetailsContext$
|
|
43095
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43108
|
+
var _authdetailsContext$i2;
|
|
43109
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink) != null) {
|
|
43110
|
+
var _authdetailsContext$i3;
|
|
43111
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink, '_blank');
|
|
43096
43112
|
}
|
|
43097
43113
|
}
|
|
43098
43114
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebook.FaFacebook, {
|
|
@@ -43100,10 +43116,10 @@
|
|
|
43100
43116
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43101
43117
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
43102
43118
|
onClick: function onClick() {
|
|
43103
|
-
var _authdetailsContext$
|
|
43104
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43105
|
-
var _authdetailsContext$
|
|
43106
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43119
|
+
var _authdetailsContext$i4;
|
|
43120
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instagramlink) != null) {
|
|
43121
|
+
var _authdetailsContext$i5;
|
|
43122
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink, '_blank');
|
|
43107
43123
|
}
|
|
43108
43124
|
}
|
|
43109
43125
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
@@ -43111,10 +43127,10 @@
|
|
|
43111
43127
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43112
43128
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43113
43129
|
onClick: function onClick() {
|
|
43114
|
-
var _authdetailsContext$
|
|
43115
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43116
|
-
var _authdetailsContext$
|
|
43117
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43130
|
+
var _authdetailsContext$i6;
|
|
43131
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber) != null) {
|
|
43132
|
+
var _authdetailsContext$i7;
|
|
43133
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber), '_blank');
|
|
43118
43134
|
}
|
|
43119
43135
|
}
|
|
43120
43136
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
@@ -43129,15 +43145,15 @@
|
|
|
43129
43145
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer mx-2 ',
|
|
43130
43146
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
43131
43147
|
onClick: function onClick() {
|
|
43132
|
-
var _authdetailsContext$
|
|
43133
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43148
|
+
var _authdetailsContext$i8;
|
|
43149
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.mobileapplink_appstore, '_blank');
|
|
43134
43150
|
}
|
|
43135
43151
|
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
43136
43152
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer mx-2 ',
|
|
43137
43153
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
43138
43154
|
onClick: function onClick() {
|
|
43139
|
-
var _authdetailsContext$
|
|
43140
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43155
|
+
var _authdetailsContext$i9;
|
|
43156
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.mobileapplink_playstore, '_blank');
|
|
43141
43157
|
}
|
|
43142
43158
|
})), sectionproperties.showcontactinfo == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43143
43159
|
"class": "col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0"
|
|
@@ -43154,12 +43170,12 @@
|
|
|
43154
43170
|
textTransform: sectionproperties.footerinfotext_textTransform
|
|
43155
43171
|
},
|
|
43156
43172
|
onClick: function onClick() {
|
|
43157
|
-
var _authdetailsContext$
|
|
43158
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43173
|
+
var _authdetailsContext$i10;
|
|
43174
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 || (_authdetailsContext$i10 = _authdetailsContext$i10.contactinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.email), '_self');
|
|
43159
43175
|
}
|
|
43160
43176
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
43161
43177
|
"class": ' fa fa-at mr-2 text-transform-none ml-2 '
|
|
43162
|
-
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43178
|
+
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 || (_authdetailsContext$i11 = _authdetailsContext$i11.contactinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.email)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43163
43179
|
"class": "col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0"
|
|
43164
43180
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
43165
43181
|
"class": "".concat(footerStyles.footerinfotext) + ' d-flex align-items-center justify-content-md-center mr-1 ',
|
|
@@ -43188,7 +43204,7 @@
|
|
|
43188
43204
|
"class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
|
|
43189
43205
|
}, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
|
|
43190
43206
|
size: sectionproperties.footerinfoicon_fontsize
|
|
43191
|
-
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43207
|
+
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.address_en)))))), sectionproperties.opencollapsible == 'Not Expanded' && /*#__PURE__*/React__default["default"].createElement("footer", {
|
|
43192
43208
|
"class": "".concat(footerStyles.footerContainer) + ' p-sm-2 p-md-4 '
|
|
43193
43209
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43194
43210
|
"class": "row w-100 m-0 d-flex justify-content-center"
|
|
@@ -43203,7 +43219,7 @@
|
|
|
43203
43219
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
43204
43220
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
43205
43221
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
43206
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$
|
|
43222
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$5 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$5 === void 0 ? void 0 : _bgimagearrayofobjs$5.englishlogo : (_bgimagearrayofobjs$6 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$6 === void 0 ? void 0 : _bgimagearrayofobjs$6.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$5 = logoarrayofobjects[0]) === null || _logoarrayofobjects$5 === void 0 ? void 0 : _logoarrayofobjects$5.englishlogo : (_logoarrayofobjects$6 = logoarrayofobjects[0]) === null || _logoarrayofobjects$6 === void 0 ? void 0 : _logoarrayofobjects$6.arabiclogo,
|
|
43207
43223
|
style: {
|
|
43208
43224
|
width: '100%',
|
|
43209
43225
|
height: '100%',
|
|
@@ -43220,15 +43236,15 @@
|
|
|
43220
43236
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
43221
43237
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
43222
43238
|
}
|
|
43223
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43239
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.description_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43224
43240
|
"class": "col-lg-12 p-0 flex-row text-start"
|
|
43225
43241
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43226
43242
|
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43227
43243
|
onClick: function onClick() {
|
|
43228
|
-
var _authdetailsContext$
|
|
43229
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43230
|
-
var _authdetailsContext$
|
|
43231
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43244
|
+
var _authdetailsContext$i15;
|
|
43245
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.facebooklink) != null) {
|
|
43246
|
+
var _authdetailsContext$i16;
|
|
43247
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.facebooklink, '_blank');
|
|
43232
43248
|
}
|
|
43233
43249
|
}
|
|
43234
43250
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebook.FaFacebook, {
|
|
@@ -43236,10 +43252,10 @@
|
|
|
43236
43252
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43237
43253
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
43238
43254
|
onClick: function onClick() {
|
|
43239
|
-
var _authdetailsContext$
|
|
43240
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43241
|
-
var _authdetailsContext$
|
|
43242
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43255
|
+
var _authdetailsContext$i17;
|
|
43256
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instagramlink) != null) {
|
|
43257
|
+
var _authdetailsContext$i18;
|
|
43258
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instagramlink, '_blank');
|
|
43243
43259
|
}
|
|
43244
43260
|
}
|
|
43245
43261
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
@@ -43247,21 +43263,21 @@
|
|
|
43247
43263
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43248
43264
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43249
43265
|
onClick: function onClick() {
|
|
43250
|
-
var _authdetailsContext$
|
|
43251
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43252
|
-
var _authdetailsContext$
|
|
43253
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43266
|
+
var _authdetailsContext$i19;
|
|
43267
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.whatsappnumber) != null) {
|
|
43268
|
+
var _authdetailsContext$i20;
|
|
43269
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.whatsappnumber), '_blank');
|
|
43254
43270
|
}
|
|
43255
43271
|
}
|
|
43256
43272
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
43257
43273
|
size: sectionproperties.youtubebtniconfontsize
|
|
43258
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43274
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.twitterlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43259
43275
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43260
43276
|
onClick: function onClick() {
|
|
43261
|
-
var _authdetailsContext$
|
|
43262
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43263
|
-
var _authdetailsContext$
|
|
43264
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43277
|
+
var _authdetailsContext$i22;
|
|
43278
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.twitterlink) != null) {
|
|
43279
|
+
var _authdetailsContext$i23;
|
|
43280
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.twitterlink, '_blank');
|
|
43265
43281
|
}
|
|
43266
43282
|
}
|
|
43267
43283
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -43298,12 +43314,12 @@
|
|
|
43298
43314
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
43299
43315
|
type: "text",
|
|
43300
43316
|
className: "".concat(footerStyles.form_control) + ' w-md-100 ',
|
|
43301
|
-
value:
|
|
43317
|
+
value: pricevalue2.min,
|
|
43302
43318
|
placeholder: "\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",
|
|
43303
43319
|
onChange: function onChange(event) {
|
|
43304
|
-
var
|
|
43305
|
-
|
|
43306
|
-
|
|
43320
|
+
var temppricevalue = _objectSpread$1C({}, pricevalue2);
|
|
43321
|
+
temppricevalue.min = event.target.value;
|
|
43322
|
+
setpricevalue2(_objectSpread$1C({}, temppricevalue));
|
|
43307
43323
|
},
|
|
43308
43324
|
style: {
|
|
43309
43325
|
background: 'white',
|
package/package.json
CHANGED
|
@@ -512,6 +512,23 @@ const Header8 = (props) => {
|
|
|
512
512
|
color: sectionproperties.collectionsectiontextcoloronhover,
|
|
513
513
|
},
|
|
514
514
|
}),
|
|
515
|
+
floatingbtn: css({
|
|
516
|
+
width: sectionproperties.floatingbtnwidth + '%',
|
|
517
|
+
height: sectionproperties.floatingbtnheight + 'px',
|
|
518
|
+
background: sectionproperties.floatingbtnbg,
|
|
519
|
+
fontSize: sectionproperties.floatingbtnfontsize + 'px',
|
|
520
|
+
color: sectionproperties.floatingbtncolor,
|
|
521
|
+
borderRadius: 10,
|
|
522
|
+
':hover': {
|
|
523
|
+
color: sectionproperties.floatingbtncolorhover,
|
|
524
|
+
backgroundColor: sectionproperties.floatingbtnbghover,
|
|
525
|
+
transitions: '.3s',
|
|
526
|
+
cursor: 'pointer',
|
|
527
|
+
},
|
|
528
|
+
'@media (max-width: 800px)': {
|
|
529
|
+
width: '50%',
|
|
530
|
+
},
|
|
531
|
+
}),
|
|
515
532
|
};
|
|
516
533
|
return (
|
|
517
534
|
<div
|
|
@@ -526,7 +543,30 @@ const Header8 = (props) => {
|
|
|
526
543
|
<MarqueeHeader sectionpropertiesprops={sectionproperties} templateproperties_contextprops={templateproperties_context} actions={actions} />
|
|
527
544
|
</div>
|
|
528
545
|
)}
|
|
529
|
-
|
|
546
|
+
{sectionproperties.showfloatingbtn == 'Show' && (
|
|
547
|
+
<div
|
|
548
|
+
style={{
|
|
549
|
+
position: 'fixed',
|
|
550
|
+
bottom: 15,
|
|
551
|
+
right: 15,
|
|
552
|
+
zIndex: 2000,
|
|
553
|
+
transition: 'all 0.3s ease-out',
|
|
554
|
+
width: '100%',
|
|
555
|
+
display: sectionproperties.showfloatingbtn == 'Show when logged in' ? 'none' : 'flex',
|
|
556
|
+
}}
|
|
557
|
+
class="text-end"
|
|
558
|
+
>
|
|
559
|
+
<div
|
|
560
|
+
class={header_cssstyles.floatingbtn + ' allcentered '}
|
|
561
|
+
style={{}}
|
|
562
|
+
onClick={() => {
|
|
563
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
564
|
+
}}
|
|
565
|
+
>
|
|
566
|
+
<p class="m-0 p-0">{langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar}</p>
|
|
567
|
+
</div>
|
|
568
|
+
</div>
|
|
569
|
+
)}
|
|
530
570
|
{sectionproperties.showfloatingcallbtn == 'Show' && (
|
|
531
571
|
<a href={'tel:' + authdetailsContext?.CuContactphonenumber} target={'_self'} style={{ position: 'fixed', bottom: 60, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}>
|
|
532
572
|
<i class={langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'}>
|