tabexseriescomponents 0.0.650 → 0.0.652
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 +141 -76
- package/dist/index.esm.js +141 -76
- package/dist/index.umd.js +141 -76
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -8380,7 +8380,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
8380
8380
|
style: {
|
|
8381
8381
|
minWidth: '200px'
|
|
8382
8382
|
}
|
|
8383
|
-
},
|
|
8383
|
+
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8384
8384
|
className: "text-capitalize text-center font-weight-500 font-14 text-uppercase text-light"
|
|
8385
8385
|
}, lang.showmore)), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchorderhistoryQueryContext.data.data.ordershistory.map(function (item, index) {
|
|
8386
8386
|
return /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", {
|
|
@@ -10715,7 +10715,29 @@ var Checkout = function Checkout(props) {
|
|
|
10715
10715
|
style: {
|
|
10716
10716
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10717
10717
|
}
|
|
10718
|
-
}, lang.qty, ": ", item.quantity))
|
|
10718
|
+
}, lang.qty, ": ", item.quantity)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10719
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex mt-2 flex-column p-0"
|
|
10720
|
+
}, item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantoptions.map(function (variantitem, variantindex) {
|
|
10721
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10722
|
+
"class": "row m-0 w-100"
|
|
10723
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10724
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
10725
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10726
|
+
className: 'text-capitalize text-dark m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
10727
|
+
}, variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10728
|
+
className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 '
|
|
10729
|
+
}, variantitem.optionvalue == '#c9b0a1' ? 'Beige' : variantitem.optionvalue == '#000000' ? 'Black' : variantitem.optionvalue)));
|
|
10730
|
+
}), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
|
|
10731
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10732
|
+
"class": "row m-0 w-100"
|
|
10733
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10734
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
10735
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10736
|
+
className: 'text-capitalize text-dark m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
10737
|
+
}, langdetect == 'en' ? extrafielditem.title_en : extrafielditem.title_ar, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10738
|
+
className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 '
|
|
10739
|
+
}, " ", extrafielditem.value)));
|
|
10740
|
+
})))), sectionproperties.prodPriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10719
10741
|
className: "col-lg-3 col-md-3 col-sm-2 p-0"
|
|
10720
10742
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10721
10743
|
className: "row m-0 w-100 h-100"
|
|
@@ -10753,29 +10775,7 @@ var Checkout = function Checkout(props) {
|
|
|
10753
10775
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
10754
10776
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10755
10777
|
className: langdetect == 'en' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
|
|
10756
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))))
|
|
10757
|
-
className: "col-lg-12 col-md-12 col-sm-12 d-flex mt-2 flex-column"
|
|
10758
|
-
}, item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantoptions.map(function (variantitem, variantindex) {
|
|
10759
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10760
|
-
"class": "row m-0 w-100"
|
|
10761
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10762
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
10763
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10764
|
-
className: 'text-capitalize text-dark m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
10765
|
-
}, variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10766
|
-
className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 '
|
|
10767
|
-
}, variantitem.optionvalue == '#c9b0a1' ? 'Beige' : variantitem.optionvalue == '#000000' ? 'Black' : variantitem.optionvalue)));
|
|
10768
|
-
}), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
|
|
10769
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10770
|
-
"class": "row m-0 w-100"
|
|
10771
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10772
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
10773
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10774
|
-
className: 'text-capitalize text-dark m-0 p-0 font-weight-500 font-13 m-0 p-0 '
|
|
10775
|
-
}, langdetect == 'en' ? extrafielditem.title_en : extrafielditem.title_ar, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10776
|
-
className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 '
|
|
10777
|
-
}, " ", extrafielditem.value)));
|
|
10778
|
-
}))));
|
|
10778
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))))));
|
|
10779
10779
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10780
10780
|
"class": "".concat(checkoutstyles.innersection) + ' row m-0 w-100 p-3 '
|
|
10781
10781
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -12284,6 +12284,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
12284
12284
|
enableSearch: true,
|
|
12285
12285
|
autoFormat: true,
|
|
12286
12286
|
value: payloadobj.mobile,
|
|
12287
|
+
inputStyle: {
|
|
12288
|
+
color: sectionproperties.inputfieldcolor
|
|
12289
|
+
},
|
|
12287
12290
|
onChange: function onChange(event, country) {
|
|
12288
12291
|
var temp = _objectSpread$2j({}, payloadobj);
|
|
12289
12292
|
temp.mobile = event;
|
|
@@ -17989,7 +17992,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
17989
17992
|
marginTop: sectionproperties.marginTop + 'px',
|
|
17990
17993
|
'@media (max-width: 800px)': {
|
|
17991
17994
|
marginTop: sectionproperties.marginTopResp != undefined && sectionproperties.marginTopResp != undefined ? sectionproperties.marginTopResp + 'px' : sectionproperties.marginTop + 'px',
|
|
17992
|
-
width: sectionproperties.widthresponsive + '
|
|
17995
|
+
width: sectionproperties.widthresponsive + '%'
|
|
17993
17996
|
}
|
|
17994
17997
|
}),
|
|
17995
17998
|
innercardssection: glamor.css({
|
|
@@ -30751,7 +30754,7 @@ var Header8 = function Header8(props) {
|
|
|
30751
30754
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
30752
30755
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
30753
30756
|
}
|
|
30754
|
-
},
|
|
30757
|
+
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30755
30758
|
"class": "col-lg-12 p-0 d-md-none d-sm-none"
|
|
30756
30759
|
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
30757
30760
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -44775,7 +44778,7 @@ var Footer4 = function Footer4(props) {
|
|
|
44775
44778
|
function ownKeys$1y(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; }
|
|
44776
44779
|
function _objectSpread$1y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
44777
44780
|
var Footer5 = function Footer5(props) {
|
|
44778
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$
|
|
44781
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$i26, _authdetailsContext$i28, _authdetailsContext$i31, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i40, _authdetailsContext$i43, _authdetailsContext$i46;
|
|
44779
44782
|
var _useState = React.useState(''),
|
|
44780
44783
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
44781
44784
|
sectionproperties = _useState2[0],
|
|
@@ -45204,7 +45207,7 @@ var Footer5 = function Footer5(props) {
|
|
|
45204
45207
|
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
|
|
45205
45208
|
onClick: function onClick() {
|
|
45206
45209
|
var _authdetailsContext$i21;
|
|
45207
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.
|
|
45210
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.youtubelink) != null) {
|
|
45208
45211
|
var _authdetailsContext$i22;
|
|
45209
45212
|
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.youtubelink, '_blank');
|
|
45210
45213
|
}
|
|
@@ -45213,7 +45216,21 @@ var Footer5 = function Footer5(props) {
|
|
|
45213
45216
|
className: "h-100 allcentered"
|
|
45214
45217
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube.AiFillYoutube, {
|
|
45215
45218
|
size: sectionproperties.instgrambtniconfontsize
|
|
45216
|
-
})))))
|
|
45219
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.twitterlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45220
|
+
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
|
|
45221
|
+
onClick: function onClick() {
|
|
45222
|
+
var _authdetailsContext$i24;
|
|
45223
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.twitterlink) != null) {
|
|
45224
|
+
var _authdetailsContext$i25;
|
|
45225
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.twitterlink, '_blank');
|
|
45226
|
+
}
|
|
45227
|
+
}
|
|
45228
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
45229
|
+
className: "h-100 allcentered",
|
|
45230
|
+
style: {
|
|
45231
|
+
fontSize: 20
|
|
45232
|
+
}
|
|
45233
|
+
}, "x"))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45217
45234
|
className: "col-lg-4 mt-4 pl-md-2 pr-md-2",
|
|
45218
45235
|
style: {
|
|
45219
45236
|
paddingLeft: langdetect == 'en' ? '80px' : 0,
|
|
@@ -45232,11 +45249,11 @@ var Footer5 = function Footer5(props) {
|
|
|
45232
45249
|
size: 20
|
|
45233
45250
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
45234
45251
|
className: ' p-0 m-0 wordbreak '
|
|
45235
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45252
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.address_en)), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45236
45253
|
className: "".concat(footerStyles.footerinformationstyles) + ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start justify-content-md-center align-items-center mb-3 storeinfotext cursor-pointer ',
|
|
45237
45254
|
onClick: function onClick() {
|
|
45238
|
-
var _authdetailsContext$
|
|
45239
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45255
|
+
var _authdetailsContext$i27;
|
|
45256
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 || (_authdetailsContext$i27 = _authdetailsContext$i27.contactinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.email), '_self');
|
|
45240
45257
|
}
|
|
45241
45258
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
45242
45259
|
className: "h-100 d-flex justify-content-center align-items-center"
|
|
@@ -45245,7 +45262,7 @@ var Footer5 = function Footer5(props) {
|
|
|
45245
45262
|
size: 20
|
|
45246
45263
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
45247
45264
|
className: ' p-0 m-0 wordbreak text-transform-none storeinfotext '
|
|
45248
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45265
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 || (_authdetailsContext$i28 = _authdetailsContext$i28.contactinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.email)), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45249
45266
|
className: "".concat(footerStyles.footerinformationstyles) + ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start justify-content-md-center align-items-center mb-md-3 storeinfotext ',
|
|
45250
45267
|
onClick: function onClick() {
|
|
45251
45268
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
@@ -45300,8 +45317,8 @@ var Footer5 = function Footer5(props) {
|
|
|
45300
45317
|
"class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
45301
45318
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
45302
45319
|
onClick: function onClick() {
|
|
45303
|
-
var _authdetailsContext$
|
|
45304
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45320
|
+
var _authdetailsContext$i29;
|
|
45321
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.mobileapplink_appstore, '_blank');
|
|
45305
45322
|
},
|
|
45306
45323
|
style: {
|
|
45307
45324
|
width: '80%',
|
|
@@ -45313,8 +45330,8 @@ var Footer5 = function Footer5(props) {
|
|
|
45313
45330
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-start align-items-center cursor-pointer ',
|
|
45314
45331
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
45315
45332
|
onClick: function onClick() {
|
|
45316
|
-
var _authdetailsContext$
|
|
45317
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45333
|
+
var _authdetailsContext$i30;
|
|
45334
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.mobileapplink_playstore, '_blank');
|
|
45318
45335
|
},
|
|
45319
45336
|
style: {
|
|
45320
45337
|
width: '80%',
|
|
@@ -45327,78 +45344,78 @@ var Footer5 = function Footer5(props) {
|
|
|
45327
45344
|
}
|
|
45328
45345
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45329
45346
|
className: "col-lg-12 allcentered"
|
|
45330
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45347
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45331
45348
|
className: langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.facebook_btn) + ' allcentered ml-3 ml-sm-4 ',
|
|
45332
45349
|
onClick: function onClick() {
|
|
45333
|
-
var _authdetailsContext$
|
|
45334
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45335
|
-
var _authdetailsContext$
|
|
45336
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45350
|
+
var _authdetailsContext$i32;
|
|
45351
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.facebooklink) != null) {
|
|
45352
|
+
var _authdetailsContext$i33;
|
|
45353
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.facebooklink, '_blank');
|
|
45337
45354
|
}
|
|
45338
45355
|
}
|
|
45339
45356
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
45340
45357
|
className: "h-100 allcentered"
|
|
45341
45358
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
45342
45359
|
size: sectionproperties.facebkbtnniconfontsize
|
|
45343
|
-
}))), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45360
|
+
}))), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45344
45361
|
className: langdetect == 'en' ? "".concat(footerStyles.instgram_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.instgram_btn) + ' allcentered ml-3 ml-sm-4',
|
|
45345
45362
|
onClick: function onClick() {
|
|
45346
|
-
var _authdetailsContext$
|
|
45347
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45348
|
-
var _authdetailsContext$
|
|
45349
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45363
|
+
var _authdetailsContext$i35;
|
|
45364
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.instagramlink) != null) {
|
|
45365
|
+
var _authdetailsContext$i36;
|
|
45366
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.instagramlink, '_blank');
|
|
45350
45367
|
}
|
|
45351
45368
|
}
|
|
45352
45369
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
45353
45370
|
className: "h-100 allcentered"
|
|
45354
45371
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
45355
45372
|
size: sectionproperties.instgrambtniconfontsize
|
|
45356
|
-
}))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45373
|
+
}))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45357
45374
|
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
|
|
45358
45375
|
onClick: function onClick() {
|
|
45359
|
-
var _authdetailsContext$
|
|
45360
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45361
|
-
var _authdetailsContext$
|
|
45362
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45376
|
+
var _authdetailsContext$i38;
|
|
45377
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.whatsappnumber) != null) {
|
|
45378
|
+
var _authdetailsContext$i39;
|
|
45379
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.whatsappnumber), '_blank');
|
|
45363
45380
|
}
|
|
45364
45381
|
}
|
|
45365
45382
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
45366
45383
|
className: "h-100 allcentered"
|
|
45367
45384
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
45368
45385
|
size: sectionproperties.youtubebtniconfontsize
|
|
45369
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45386
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45370
45387
|
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
|
|
45371
45388
|
onClick: function onClick() {
|
|
45372
|
-
var _authdetailsContext$
|
|
45373
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45374
|
-
var _authdetailsContext$
|
|
45375
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45389
|
+
var _authdetailsContext$i41;
|
|
45390
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.linkedinlink) != null) {
|
|
45391
|
+
var _authdetailsContext$i42;
|
|
45392
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.linkedinlink, '_blank');
|
|
45376
45393
|
}
|
|
45377
45394
|
}
|
|
45378
45395
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
45379
45396
|
className: "h-100 allcentered"
|
|
45380
45397
|
}, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, {
|
|
45381
45398
|
size: sectionproperties.instgrambtniconfontsize
|
|
45382
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45399
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45383
45400
|
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
|
|
45384
45401
|
onClick: function onClick() {
|
|
45385
|
-
var _authdetailsContext$
|
|
45386
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45387
|
-
var _authdetailsContext$
|
|
45388
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45402
|
+
var _authdetailsContext$i44;
|
|
45403
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.tiktoklink) != null) {
|
|
45404
|
+
var _authdetailsContext$i45;
|
|
45405
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.tiktoklink, '_blank');
|
|
45389
45406
|
}
|
|
45390
45407
|
}
|
|
45391
45408
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
45392
45409
|
className: "h-100 allcentered"
|
|
45393
45410
|
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
45394
45411
|
size: sectionproperties.instgrambtniconfontsize
|
|
45395
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45412
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45396
45413
|
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
|
|
45397
45414
|
onClick: function onClick() {
|
|
45398
|
-
var _authdetailsContext$
|
|
45399
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45400
|
-
var _authdetailsContext$
|
|
45401
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
45415
|
+
var _authdetailsContext$i47;
|
|
45416
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.tiktoklink) != null) {
|
|
45417
|
+
var _authdetailsContext$i48;
|
|
45418
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.youtubelink, '_blank');
|
|
45402
45419
|
}
|
|
45403
45420
|
}
|
|
45404
45421
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -47668,6 +47685,10 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
47668
47685
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
47669
47686
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
47670
47687
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
47688
|
+
var _useState5 = React.useState([]),
|
|
47689
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
47690
|
+
maincontainerarrayofobjs = _useState6[0],
|
|
47691
|
+
setmaincontainerarrayofobjs = _useState6[1];
|
|
47671
47692
|
React.useEffect(function () {
|
|
47672
47693
|
var secpropobj = {};
|
|
47673
47694
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -47690,6 +47711,21 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
47690
47711
|
return policyobj;
|
|
47691
47712
|
};
|
|
47692
47713
|
var footerStyles = (_footerStyles = {
|
|
47714
|
+
imgcontainer: glamor.css({
|
|
47715
|
+
':before': {
|
|
47716
|
+
width: '100%',
|
|
47717
|
+
height: '100%',
|
|
47718
|
+
background: 'rgba(0,0,0,' + sectionproperties.cardbg_opacity + ')',
|
|
47719
|
+
zIndex: 1,
|
|
47720
|
+
position: 'absolute',
|
|
47721
|
+
content: 's',
|
|
47722
|
+
fontSize: 0,
|
|
47723
|
+
left: 0,
|
|
47724
|
+
right: 0,
|
|
47725
|
+
top: 0,
|
|
47726
|
+
bottom: 0
|
|
47727
|
+
}
|
|
47728
|
+
}),
|
|
47693
47729
|
divider: glamor.css({
|
|
47694
47730
|
height: '1px',
|
|
47695
47731
|
width: '100%',
|
|
@@ -47705,7 +47741,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
47705
47741
|
objectFit: 'contain'
|
|
47706
47742
|
}),
|
|
47707
47743
|
footerContainer: glamor.css({
|
|
47708
|
-
background: sectionproperties.footerbgcolor,
|
|
47744
|
+
// background: sectionproperties.footerbgcolor,
|
|
47709
47745
|
paddingTop: sectionproperties.footer_paddingTop + 'px',
|
|
47710
47746
|
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
47711
47747
|
paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
|
|
@@ -47826,10 +47862,10 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
47826
47862
|
}
|
|
47827
47863
|
}
|
|
47828
47864
|
}, [templateproperties_context]);
|
|
47829
|
-
var
|
|
47830
|
-
|
|
47831
|
-
bgimagearrayofobjs =
|
|
47832
|
-
setbgimagearrayofobjs =
|
|
47865
|
+
var _useState7 = React.useState([]),
|
|
47866
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
47867
|
+
bgimagearrayofobjs = _useState8[0],
|
|
47868
|
+
setbgimagearrayofobjs = _useState8[1];
|
|
47833
47869
|
React.useEffect(function () {
|
|
47834
47870
|
if (sectionproperties.length != 0 && sectionproperties.logoarrayofobjects != undefined) {
|
|
47835
47871
|
var bg1_arrayofobjsparsed = JSON.parse(sectionproperties.logoarrayofobjects);
|
|
@@ -47838,6 +47874,14 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
47838
47874
|
}
|
|
47839
47875
|
}
|
|
47840
47876
|
}, [sectionproperties]);
|
|
47877
|
+
React.useEffect(function () {
|
|
47878
|
+
if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
|
|
47879
|
+
var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
|
|
47880
|
+
if (Array.isArray(maincontainerarrayofobjsparsed)) {
|
|
47881
|
+
setmaincontainerarrayofobjs(_toConsumableArray__default["default"](maincontainerarrayofobjsparsed));
|
|
47882
|
+
}
|
|
47883
|
+
}
|
|
47884
|
+
}, [sectionproperties]);
|
|
47841
47885
|
var Section1Title = function Section1Title() {
|
|
47842
47886
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47843
47887
|
"class": "col-lg-12 p-0"
|
|
@@ -48067,12 +48111,33 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
48067
48111
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
48068
48112
|
"class": "row m-0 w-md-100",
|
|
48069
48113
|
style: {
|
|
48070
|
-
width: sectionproperties.footerwidth + 'vw'
|
|
48114
|
+
width: sectionproperties.footerwidth + 'vw',
|
|
48115
|
+
position: 'relative',
|
|
48116
|
+
background: sectionproperties.footerbgcolor
|
|
48071
48117
|
}
|
|
48072
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
48118
|
+
}, maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
48119
|
+
className: footerStyles.imgcontainer
|
|
48120
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
48121
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
48122
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
48123
|
+
path: maincontainerarrayofobjs[0].back_bgimage,
|
|
48124
|
+
style: {
|
|
48125
|
+
height: '100%',
|
|
48126
|
+
width: '100%',
|
|
48127
|
+
objectFit: 'cover',
|
|
48128
|
+
margin: 0,
|
|
48129
|
+
padding: 0,
|
|
48130
|
+
position: 'absolute',
|
|
48131
|
+
top: 0,
|
|
48132
|
+
bottom: 0,
|
|
48133
|
+
right: 0,
|
|
48134
|
+
left: 0
|
|
48135
|
+
}
|
|
48136
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
48073
48137
|
style: {
|
|
48074
48138
|
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
48075
|
-
paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px'
|
|
48139
|
+
paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
|
|
48140
|
+
zIndex: 1
|
|
48076
48141
|
},
|
|
48077
48142
|
"class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3 px-2015-3 py-lg-3 '
|
|
48078
48143
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|