tabexseriescomponents 0.0.217 → 0.0.219
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 +214 -115
- package/dist/index.esm.js +214 -115
- package/dist/index.umd.js +214 -115
- package/package.json +2 -1
package/dist/index.umd.js
CHANGED
|
@@ -997,10 +997,6 @@
|
|
|
997
997
|
paddingLeft: srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
998
998
|
paddingRight: srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0
|
|
999
999
|
}
|
|
1000
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1001
|
-
"class": "col-lg-12 p-0"
|
|
1002
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1003
|
-
"class": ' row m-0 w-100 '
|
|
1004
1000
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1005
1001
|
"class": ' col-lg-12 p-0 '
|
|
1006
1002
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1090,7 +1086,7 @@
|
|
|
1090
1086
|
fontWeight: sectionproperties.defaultSalePriceFontWeight,
|
|
1091
1087
|
color: sectionproperties.defaultSalePriceColor
|
|
1092
1088
|
}
|
|
1093
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '',
|
|
1089
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : (_fetchProductInfoQuer9 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.defaultprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && sectionproperties.showpill == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1094
1090
|
"class": "col-lg-12 p-0 d-flex align-items-center justift-content-start"
|
|
1095
1091
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1096
1092
|
"class": "m-0 p-0 d-flex align-items-center justift-content-start"
|
|
@@ -1817,7 +1813,7 @@
|
|
|
1817
1813
|
dangerouslySetInnerHTML: {
|
|
1818
1814
|
__html: langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policycontent_en : (_returnpolicyobj8 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policycontent_ar
|
|
1819
1815
|
}
|
|
1820
|
-
})))))
|
|
1816
|
+
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1821
1817
|
"class": "col-lg-12 p-0"
|
|
1822
1818
|
}, relatedproducts()));
|
|
1823
1819
|
};
|
|
@@ -13322,7 +13318,7 @@
|
|
|
13322
13318
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13323
13319
|
"class": "row m-0 w-100"
|
|
13324
13320
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13325
|
-
"class": ' col-lg-12 d-flex align-items-center '
|
|
13321
|
+
"class": ' col-lg-12 d-flex align-items-center p-0 '
|
|
13326
13322
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13327
13323
|
"class": "".concat(header_cssstyles.upperHeaderSection) + ' row m-0 w-100 d-flex align-items-center '
|
|
13328
13324
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -24905,13 +24901,12 @@
|
|
|
24905
24901
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24906
24902
|
"class": " ".concat(headerstyles.nav__item) + ' col-lg-4 col-md-4 p-0 align-tems-center justify-content-center '
|
|
24907
24903
|
}, /*#__PURE__*/React__default["default"].createElement("nav", {
|
|
24908
|
-
"class": headerstyles.navbar + ' scrollhorizontal align-tems-center justify-content-center ',
|
|
24904
|
+
"class": headerstyles.navbar + ' scrollhorizontal navbar align-tems-center justify-content-center ',
|
|
24909
24905
|
style: {
|
|
24910
24906
|
display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex'
|
|
24911
24907
|
}
|
|
24912
24908
|
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
24913
24909
|
if (item.isselected) ;
|
|
24914
|
-
if (item.isnavigation == 1 && item.isactive == 1) ;
|
|
24915
24910
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
24916
24911
|
return /*#__PURE__*/React__default["default"].createElement("li", {
|
|
24917
24912
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' cursor-pointer allcentered ',
|
|
@@ -28079,7 +28074,7 @@
|
|
|
28079
28074
|
function ownKeys$1f(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
28080
28075
|
function _objectSpread$1f(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1f(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1f(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
28081
28076
|
var Footer8 = function Footer8(props) {
|
|
28082
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$
|
|
28077
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i8, _authdetailsContext$i9, _templatepropcontext$;
|
|
28083
28078
|
var _useState = React.useState(''),
|
|
28084
28079
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
28085
28080
|
sectionproperties = _useState2[0],
|
|
@@ -28232,6 +28227,14 @@
|
|
|
28232
28227
|
backgroundColor: sectionproperties.vl_bg,
|
|
28233
28228
|
marginBottom: sectionproperties.divider_mb + 'px',
|
|
28234
28229
|
marginTop: sectionproperties.divider_mt + 'px'
|
|
28230
|
+
}),
|
|
28231
|
+
appstore: glamor.css({
|
|
28232
|
+
width: '100%',
|
|
28233
|
+
objectFit: 'contain'
|
|
28234
|
+
}),
|
|
28235
|
+
googleplay: glamor.css({
|
|
28236
|
+
width: '100%',
|
|
28237
|
+
objectFit: 'contain'
|
|
28235
28238
|
})
|
|
28236
28239
|
};
|
|
28237
28240
|
React.useEffect(function () {
|
|
@@ -28284,13 +28287,13 @@
|
|
|
28284
28287
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
28285
28288
|
}
|
|
28286
28289
|
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.description_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.description_ar)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28287
|
-
"class": sectionproperties.prodCatShow == 'Show' ? 'col-lg-3 col-md-
|
|
28288
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28290
|
+
"class": sectionproperties.prodCatShow == 'Show' ? 'col-lg-3 col-md-12 col-sm-12 align-items-center mb-md-3' : 'col-lg-4 col-md-12 col-sm-12 align-items-center mb-md-3 p-sm-0'
|
|
28291
|
+
}, sectionproperties.showfooteraddress == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28289
28292
|
"class": "".concat(footerStyles.textStyles) + ' m-0 p-0 mb-3 mb-md-1 wordbreak d-none ',
|
|
28290
28293
|
style: {
|
|
28291
28294
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
28292
28295
|
}
|
|
28293
|
-
}, langdetect == 'en' ?
|
|
28296
|
+
}, langdetect == 'en' ? sectionproperties.addresstitle_en : sectionproperties.addresstitle_ar), sectionproperties.showfooteraddress == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28294
28297
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 mb-3 mb-md-0 d-flex"
|
|
28295
28298
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28296
28299
|
"class": footerStyles.footerinfoContainer + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-md-0 '
|
|
@@ -28299,43 +28302,37 @@
|
|
|
28299
28302
|
style: {
|
|
28300
28303
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
28301
28304
|
}
|
|
28302
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.address_en))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28303
|
-
"class": "col-lg-12
|
|
28304
|
-
},
|
|
28305
|
-
"class": "
|
|
28306
|
-
|
|
28307
|
-
|
|
28308
|
-
|
|
28309
|
-
|
|
28310
|
-
|
|
28311
|
-
|
|
28305
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.address_en))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28306
|
+
"class": "col-lg-12 justify-content-start align-items-center mb-md-4 p-0"
|
|
28307
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28308
|
+
"class": "row m-0 w-100 align-items-center flex-row justify-content-start justify-content-start justify-content-sm-center"
|
|
28309
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28310
|
+
"class": "col-lg-12 p-0 mb-2"
|
|
28311
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28312
|
+
"class": "".concat(footerStyles.textStyles) + ' m-0 p-0 mb-2 mb-md-1 wordbreak ',
|
|
28313
|
+
style: {
|
|
28314
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
28312
28315
|
}
|
|
28313
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
28314
|
-
|
|
28315
|
-
}
|
|
28316
|
-
"class": "".concat(footerStyles.
|
|
28316
|
+
}, langdetect == 'en' ? 'Download The App' : 'حمل التطبيق')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28317
|
+
"class": langdetect == 'en' ? 'col-lg-4 col-md-3 col-sm-6 p-0 pr-2' : 'col-lg-4 col-md-3 col-sm-6 p-0 pl-2'
|
|
28318
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
28319
|
+
"class": "".concat(footerStyles.appstore) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
28320
|
+
src: appstore,
|
|
28317
28321
|
onClick: function onClick() {
|
|
28318
|
-
var _authdetailsContext$
|
|
28319
|
-
|
|
28320
|
-
var _authdetailsContext$i7;
|
|
28321
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink, '_blank');
|
|
28322
|
-
}
|
|
28322
|
+
var _authdetailsContext$i4;
|
|
28323
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.mobileapplink_appstore, '_blank');
|
|
28323
28324
|
}
|
|
28324
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
28325
|
-
|
|
28326
|
-
}
|
|
28327
|
-
"class": "".concat(footerStyles.
|
|
28325
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28326
|
+
"class": langdetect == 'en' ? 'col-lg-4 col-md-3 col-sm-6 pl-0' : 'col-lg-4 col-md-3 col-sm-6 pr-0'
|
|
28327
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
28328
|
+
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
28329
|
+
src: googleplay,
|
|
28328
28330
|
onClick: function onClick() {
|
|
28329
|
-
var _authdetailsContext$
|
|
28330
|
-
|
|
28331
|
-
var _authdetailsContext$i9;
|
|
28332
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.whatsappnumber), '_blank');
|
|
28333
|
-
}
|
|
28331
|
+
var _authdetailsContext$i5;
|
|
28332
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.mobileapplink_playstore, '_blank');
|
|
28334
28333
|
}
|
|
28335
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
28336
|
-
|
|
28337
|
-
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28338
|
-
"class": sectionproperties.prodCatShow == 'Show' ? 'col-lg-3 col-md-3 col-sm-12 mb-md-3' : 'col-lg-4 col-md-4 col-sm-12 mb-md-3 p-sm-0'
|
|
28334
|
+
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28335
|
+
"class": sectionproperties.prodCatShow == 'Show' ? 'col-lg-3 col-md-12 col-sm-12 mb-md-3' : 'col-lg-4 col-md-12 col-sm-12 mb-md-3 p-sm-0'
|
|
28339
28336
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28340
28337
|
"class": "row m-0 w-100"
|
|
28341
28338
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -28345,13 +28342,13 @@
|
|
|
28345
28342
|
style: {
|
|
28346
28343
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
28347
28344
|
}
|
|
28348
|
-
}, langdetect == 'en' ?
|
|
28345
|
+
}, langdetect == 'en' ? sectionproperties.otherinfotitle2en : sectionproperties.otherinfotitle2ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28349
28346
|
"class": "col-lg-12 p-0 mb-2 mb-md-0 d-flex align-items-center justify-content-start"
|
|
28350
28347
|
}, sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28351
|
-
"class":
|
|
28348
|
+
"class": footerStyles.footerinfoContainer + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-md-2 cursor-pointer ',
|
|
28352
28349
|
onClick: function onClick() {
|
|
28353
|
-
var _authdetailsContext$
|
|
28354
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
28350
|
+
var _authdetailsContext$i6, _authdetailsContext$i7;
|
|
28351
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : (_authdetailsContext$i7 = _authdetailsContext$i6.contactinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.email), '_self');
|
|
28355
28352
|
}
|
|
28356
28353
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28357
28354
|
"class": "".concat(footerStyles.iconTextStyle) + ' p-0 m-0 wordbreak text-transform-none footerinfo pb-1 ',
|
|
@@ -28360,10 +28357,10 @@
|
|
|
28360
28357
|
borderBottomStyle: 'solid',
|
|
28361
28358
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
28362
28359
|
}
|
|
28363
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
28360
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : (_authdetailsContext$i9 = _authdetailsContext$i8.contactinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.email))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28364
28361
|
"class": "col-lg-12 p-0 mt-2 mt-md-1 d-flex align-items-center justify-content-start"
|
|
28365
28362
|
}, sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28366
|
-
"class":
|
|
28363
|
+
"class": footerStyles.footerinfoContainer + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-md-0 cursor-pointer ',
|
|
28367
28364
|
onClick: function onClick() {
|
|
28368
28365
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
28369
28366
|
}
|
|
@@ -28372,7 +28369,42 @@
|
|
|
28372
28369
|
style: {
|
|
28373
28370
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
28374
28371
|
}
|
|
28375
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)))
|
|
28372
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28373
|
+
"class": 'col-lg-12 p-0 d-flex align-items-center justify-content-start mt-3'
|
|
28374
|
+
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28375
|
+
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
|
|
28376
|
+
onClick: function onClick() {
|
|
28377
|
+
var _authdetailsContext$i10;
|
|
28378
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.facebooklink) != null) {
|
|
28379
|
+
var _authdetailsContext$i11;
|
|
28380
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.facebooklink, '_blank');
|
|
28381
|
+
}
|
|
28382
|
+
}
|
|
28383
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
28384
|
+
size: sectionproperties.facebkbtnniconfontsize
|
|
28385
|
+
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28386
|
+
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
28387
|
+
onClick: function onClick() {
|
|
28388
|
+
var _authdetailsContext$i12;
|
|
28389
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instagramlink) != null) {
|
|
28390
|
+
var _authdetailsContext$i13;
|
|
28391
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instagramlink, '_blank');
|
|
28392
|
+
}
|
|
28393
|
+
}
|
|
28394
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
28395
|
+
size: sectionproperties.instgrambtniconfontsize
|
|
28396
|
+
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28397
|
+
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
28398
|
+
onClick: function onClick() {
|
|
28399
|
+
var _authdetailsContext$i14;
|
|
28400
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.whatsappnumber) != null) {
|
|
28401
|
+
var _authdetailsContext$i15;
|
|
28402
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.whatsappnumber), '_blank');
|
|
28403
|
+
}
|
|
28404
|
+
}
|
|
28405
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
28406
|
+
size: sectionproperties.youtubebtniconfontsize
|
|
28407
|
+
})))))), sectionproperties.showhidemainpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28376
28408
|
"class": "row m-0 allcentered"
|
|
28377
28409
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28378
28410
|
"class": "".concat(footerStyles.divider) + ' '
|
|
@@ -28383,22 +28415,28 @@
|
|
|
28383
28415
|
paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px'
|
|
28384
28416
|
}
|
|
28385
28417
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28386
|
-
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-md-center flex-row
|
|
28418
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-md-center flex-row "
|
|
28419
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28420
|
+
"class": ' scrollhorizontal-lg w-100 d-flex align-items-center h-100 flex-md-column '
|
|
28387
28421
|
}, templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
|
|
28388
28422
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
28389
|
-
return /*#__PURE__*/React__default["default"].createElement("
|
|
28423
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28424
|
+
"class": "scrollhorizontalcard d-md-flex justify-content-md-start w-md-100"
|
|
28425
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28390
28426
|
onClick: function onClick() {
|
|
28391
28427
|
routingcountext(item.navigationroute);
|
|
28392
28428
|
},
|
|
28393
|
-
"class": "".concat(footerStyles.subPages) + ' wordbreak
|
|
28429
|
+
"class": "".concat(footerStyles.subPages) + ' wordbreak ',
|
|
28394
28430
|
style: {
|
|
28395
28431
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
28396
28432
|
marginRight: langdetect == 'en' ? '20px' : 0,
|
|
28397
28433
|
marginLeft: langdetect == 'ar' ? '20px' : 0
|
|
28398
28434
|
}
|
|
28399
|
-
}, langdetect == 'en' ? item.pagename : item.pagename_ar);
|
|
28435
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
28400
28436
|
}
|
|
28401
|
-
}), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("
|
|
28437
|
+
}), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28438
|
+
"class": "scrollhorizontalcard d-md-flex justify-content-md-start w-md-100"
|
|
28439
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28402
28440
|
onClick: function onClick() {
|
|
28403
28441
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
28404
28442
|
},
|
|
@@ -28408,7 +28446,9 @@
|
|
|
28408
28446
|
marginRight: langdetect == 'en' ? '20px' : 0,
|
|
28409
28447
|
marginLeft: langdetect == 'ar' ? '20px' : 0
|
|
28410
28448
|
}
|
|
28411
|
-
}, lang.policies), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("
|
|
28449
|
+
}, lang.policies)), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28450
|
+
"class": "scrollhorizontalcard d-md-flex justify-content-md-start w-md-100"
|
|
28451
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28412
28452
|
"class": "".concat(footerStyles.subPages) + ' wordbreak ',
|
|
28413
28453
|
style: {
|
|
28414
28454
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
@@ -28418,7 +28458,9 @@
|
|
|
28418
28458
|
onClick: function onClick() {
|
|
28419
28459
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
28420
28460
|
}
|
|
28421
|
-
}, lang.wishlist), authdetailsContext.loggedin && sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("
|
|
28461
|
+
}, lang.wishlist)), authdetailsContext.loggedin && sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28462
|
+
"class": "scrollhorizontalcard d-md-flex justify-content-md-start w-md-100"
|
|
28463
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28422
28464
|
"class": "".concat(footerStyles.subPages) + ' wordbreak ',
|
|
28423
28465
|
style: {
|
|
28424
28466
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
@@ -28428,7 +28470,7 @@
|
|
|
28428
28470
|
onClick: function onClick() {
|
|
28429
28471
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
28430
28472
|
}
|
|
28431
|
-
}, lang.orderhistory)))));
|
|
28473
|
+
}, lang.orderhistory)))))));
|
|
28432
28474
|
};
|
|
28433
28475
|
|
|
28434
28476
|
function ownKeys$1e(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -33983,9 +34025,11 @@
|
|
|
33983
34025
|
"class": ' row m-0 w-100 align-items-center justify-content-center '
|
|
33984
34026
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
33985
34027
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33986
|
-
"class": "col-lg-3 col-md-6 col-sm-12 d-flex align-items-center justify-content-center justify-content-md-start
|
|
34028
|
+
"class": "col-lg-3 col-md-6 col-sm-12 d-flex flex-column align-items-center justify-content-center justify-content-md-start"
|
|
33987
34029
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33988
|
-
"class": "m-
|
|
34030
|
+
"class": "row m-0 w-100"
|
|
34031
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34032
|
+
"class": "col-lg-12 p-0 m-lg-auto d-flex justify-content-center"
|
|
33989
34033
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33990
34034
|
style: {
|
|
33991
34035
|
width: 40,
|
|
@@ -34028,7 +34072,9 @@
|
|
|
34028
34072
|
textTransform: sectionproperties.slideshowText2ContentTextTransform,
|
|
34029
34073
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
34030
34074
|
}
|
|
34031
|
-
}, langdetect == 'en' ? cardsarray[cardinfoindex].cardobj_descripen : cardsarray[cardinfoindex].cardobj_descripar)))
|
|
34075
|
+
}, langdetect == 'en' ? cardsarray[cardinfoindex].cardobj_descripen : cardsarray[cardinfoindex].cardobj_descripar))), cardinfoindex != cardsarray.length - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34076
|
+
"class": "col-lg-12 d-none d-md-block"
|
|
34077
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", null))));
|
|
34032
34078
|
})))));
|
|
34033
34079
|
};
|
|
34034
34080
|
|
|
@@ -36587,6 +36633,7 @@
|
|
|
36587
36633
|
function ownKeys$O(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
36588
36634
|
function _objectSpread$O(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$O(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$O(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
36589
36635
|
var Servicesection = function Servicesection(props) {
|
|
36636
|
+
var _maincontainerarrayof;
|
|
36590
36637
|
var _useState = React.useState(''),
|
|
36591
36638
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
36592
36639
|
sectionproperties = _useState2[0],
|
|
@@ -36619,7 +36666,34 @@
|
|
|
36619
36666
|
}
|
|
36620
36667
|
}
|
|
36621
36668
|
}, [sectionproperties]);
|
|
36669
|
+
var _useState5 = React.useState([]),
|
|
36670
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
36671
|
+
maincontainerarrayofobjs = _useState6[0],
|
|
36672
|
+
setmaincontainerarrayofobjs = _useState6[1];
|
|
36673
|
+
React.useEffect(function () {
|
|
36674
|
+
if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
|
|
36675
|
+
var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
|
|
36676
|
+
if (Array.isArray(maincontainerarrayofobjsparsed)) {
|
|
36677
|
+
setmaincontainerarrayofobjs(_toConsumableArray__default["default"](maincontainerarrayofobjsparsed));
|
|
36678
|
+
}
|
|
36679
|
+
}
|
|
36680
|
+
}, [sectionproperties]);
|
|
36622
36681
|
var section_styles = {
|
|
36682
|
+
imgcontainer: glamor.css({
|
|
36683
|
+
':before': {
|
|
36684
|
+
width: '100%',
|
|
36685
|
+
height: '100%',
|
|
36686
|
+
background: 'rgba(0,0,0,0.6)',
|
|
36687
|
+
zIndex: 1,
|
|
36688
|
+
position: 'absolute',
|
|
36689
|
+
content: 's',
|
|
36690
|
+
fontSize: 0,
|
|
36691
|
+
left: 0,
|
|
36692
|
+
right: 0,
|
|
36693
|
+
top: 0,
|
|
36694
|
+
bottom: 0
|
|
36695
|
+
}
|
|
36696
|
+
}),
|
|
36623
36697
|
sectiontitlespan: glamor.css({
|
|
36624
36698
|
':after': {
|
|
36625
36699
|
width: sectionproperties.sectitle_lineafterwidth + '%',
|
|
@@ -36634,16 +36708,22 @@
|
|
|
36634
36708
|
}
|
|
36635
36709
|
})
|
|
36636
36710
|
};
|
|
36711
|
+
var DescriptionContent = function DescriptionContent() {
|
|
36712
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36713
|
+
"class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak' : ' m-0 p-0 wordbreak',
|
|
36714
|
+
style: {
|
|
36715
|
+
color: sectionproperties.prodCatColor,
|
|
36716
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
36717
|
+
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
36718
|
+
}
|
|
36719
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr);
|
|
36720
|
+
};
|
|
36637
36721
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36638
36722
|
"class": ' row ml-0 mr-0 align-items-center w-md-100 ',
|
|
36639
36723
|
style: {
|
|
36640
36724
|
width: sectionproperties.width + 'vw',
|
|
36641
36725
|
marginTop: sectionproperties.marginTop + 'px',
|
|
36642
36726
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
36643
|
-
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
36644
|
-
paddingRight: sectionproperties.paddingRight + 'px',
|
|
36645
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
36646
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
36647
36727
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
36648
36728
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
36649
36729
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
@@ -36652,8 +36732,38 @@
|
|
|
36652
36732
|
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
36653
36733
|
// border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
36654
36734
|
borderBottom: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
36655
|
-
borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
|
|
36735
|
+
borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
36736
|
+
position: 'relative'
|
|
36656
36737
|
}
|
|
36738
|
+
}, sectionproperties.maincontainerarrayofobjs != undefined && sectionproperties.maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36739
|
+
"class": section_styles.imgcontainer
|
|
36740
|
+
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
36741
|
+
urlEndpoint: IKurlEndpoint,
|
|
36742
|
+
publicKey: IKpublicKey,
|
|
36743
|
+
path: (_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage,
|
|
36744
|
+
style: {
|
|
36745
|
+
height: '100%',
|
|
36746
|
+
width: '100%',
|
|
36747
|
+
objectFit: 'cover',
|
|
36748
|
+
margin: 0,
|
|
36749
|
+
padding: 0,
|
|
36750
|
+
position: 'absolute',
|
|
36751
|
+
top: 0,
|
|
36752
|
+
bottom: 0,
|
|
36753
|
+
right: 0,
|
|
36754
|
+
left: 0
|
|
36755
|
+
}
|
|
36756
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36757
|
+
"class": "col-lg-12 px-1025-1 pl-md-3 pr-md-3 pr-sm-2 pl-sm-2",
|
|
36758
|
+
style: {
|
|
36759
|
+
zIndex: 1,
|
|
36760
|
+
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
36761
|
+
paddingRight: sectionproperties.paddingRight + 'px',
|
|
36762
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
36763
|
+
paddingBottom: sectionproperties.paddingBottom + 'px'
|
|
36764
|
+
}
|
|
36765
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36766
|
+
"class": "row m-0 w-100"
|
|
36657
36767
|
}, sectionproperties.sectiontitleshow == 'Show' && sectionproperties.sectiontitlestyle == 'Line Under Text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36658
36768
|
"class": "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0",
|
|
36659
36769
|
style: {
|
|
@@ -36666,12 +36776,13 @@
|
|
|
36666
36776
|
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
36667
36777
|
}
|
|
36668
36778
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
36669
|
-
"class": "".concat(section_styles.sectiontitlespan),
|
|
36779
|
+
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? "".concat(section_styles.sectiontitlespan) + ' PacificoFont mb-0 pb-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? "".concat(section_styles.sectiontitlespan) + ' PlayfairFont mb-0 pb-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? "".concat(section_styles.sectiontitlespan) + ' GreatvibesFont mb-0 pb-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? "".concat(section_styles.sectiontitlespan) + ' QuicksandFont mb-0 pb-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? "".concat(section_styles.sectiontitlespan) + ' SatisfyFont mb-0 pb-0 wordbreak ' : "".concat(section_styles.sectiontitlespan) + ' mb-0 pb-0 wordbreak ',
|
|
36670
36780
|
style: {
|
|
36671
36781
|
color: sectionproperties.sectionTitleColor,
|
|
36672
36782
|
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
36673
36783
|
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
36674
|
-
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
36784
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
36785
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
36675
36786
|
}
|
|
36676
36787
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.sectiontitleshow == 'Show' && sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36677
36788
|
"class": "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0",
|
|
@@ -36692,7 +36803,25 @@
|
|
|
36692
36803
|
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
36693
36804
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
36694
36805
|
}
|
|
36695
|
-
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36806
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36807
|
+
"class": ' col-lg-12 col-md-12 col-sm-12 d-flex d-md-none align-items-center p-0 ',
|
|
36808
|
+
style: {
|
|
36809
|
+
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
|
|
36810
|
+
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
36811
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
|
|
36812
|
+
paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
|
|
36813
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
36814
|
+
}
|
|
36815
|
+
}, DescriptionContent()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36816
|
+
"class": ' col-lg-12 col-md-12 col-sm-12 d-none d-md-flex align-items-center p-0 ',
|
|
36817
|
+
style: {
|
|
36818
|
+
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
|
|
36819
|
+
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
36820
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
|
|
36821
|
+
paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
|
|
36822
|
+
fontSize: sectionproperties.prodCatFontSizeResp + 'px'
|
|
36823
|
+
}
|
|
36824
|
+
}, DescriptionContent()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36696
36825
|
"class": "row m-0 w-100 d-flex justify-content-center justify-content-md-start"
|
|
36697
36826
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
36698
36827
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -36721,11 +36850,11 @@
|
|
|
36721
36850
|
objectFit: 'cover'
|
|
36722
36851
|
}
|
|
36723
36852
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36724
|
-
"class": "d-none d-sm-flex",
|
|
36853
|
+
"class": "d-none d-sm-flex mt-auto mb-auto",
|
|
36725
36854
|
style: {
|
|
36726
36855
|
width: 35,
|
|
36727
36856
|
height: 35,
|
|
36728
|
-
marginBottom: 'auto',
|
|
36857
|
+
// marginBottom: 'auto',
|
|
36729
36858
|
marginRight: langdetect == 'en' ? '10px' : 0,
|
|
36730
36859
|
marginLeft: langdetect == 'ar' ? '10px' : 0
|
|
36731
36860
|
}
|
|
@@ -36764,7 +36893,7 @@
|
|
|
36764
36893
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
36765
36894
|
}
|
|
36766
36895
|
}, langdetect == 'en' ? cardsarray[cardinfoindex].cardobj_descripen : cardsarray[cardinfoindex].cardobj_descripar))));
|
|
36767
|
-
})));
|
|
36896
|
+
})))));
|
|
36768
36897
|
};
|
|
36769
36898
|
|
|
36770
36899
|
function ownKeys$N(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -39045,7 +39174,7 @@
|
|
|
39045
39174
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr);
|
|
39046
39175
|
};
|
|
39047
39176
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39048
|
-
"class": section_styles.cards_sections + ' row m-0 d-flex align-items-center h-md-
|
|
39177
|
+
"class": section_styles.cards_sections + ' row m-0 d-flex align-items-center h-md-150vh pl-sm-3 pr-sm-3 pb-md-5 '
|
|
39049
39178
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39050
39179
|
"class": ' col-lg-12 p-0 h-100 ',
|
|
39051
39180
|
style: {
|
|
@@ -40467,7 +40596,7 @@
|
|
|
40467
40596
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40468
40597
|
"class": "col-lg-12 p-0 allcentered"
|
|
40469
40598
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40470
|
-
"class": "d-flex
|
|
40599
|
+
"class": "d-flex justify-content-center align-items-center",
|
|
40471
40600
|
style: {
|
|
40472
40601
|
height: sectionproperties.image_height + 'px',
|
|
40473
40602
|
width: sectionproperties.image_height + 'px',
|
|
@@ -40495,41 +40624,6 @@
|
|
|
40495
40624
|
// border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
40496
40625
|
},
|
|
40497
40626
|
|
|
40498
|
-
loading: "lazy"
|
|
40499
|
-
}), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40500
|
-
"class": "".concat(card_cssstyles.badgeStyles) + ' allcentered '
|
|
40501
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
40502
|
-
"class": "m-0 p-0",
|
|
40503
|
-
style: {
|
|
40504
|
-
color: sectionproperties.badge_color,
|
|
40505
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
40506
|
-
}
|
|
40507
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40508
|
-
"class": "d-none d-sm-flex justify-content-center align-items-center",
|
|
40509
|
-
style: {
|
|
40510
|
-
height: '180px',
|
|
40511
|
-
width: '180px',
|
|
40512
|
-
marginBottom: sectionproperties.image_mb + 'px',
|
|
40513
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
40514
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
40515
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
40516
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
40517
|
-
backgroundColor: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
|
|
40518
|
-
position: 'relative'
|
|
40519
|
-
}
|
|
40520
|
-
}, item.image != '' && /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
40521
|
-
urlEndpoint: IKurlEndpoint,
|
|
40522
|
-
publicKey: IKpublicKey,
|
|
40523
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
40524
|
-
style: {
|
|
40525
|
-
width: sectionproperties.image_width + '%',
|
|
40526
|
-
height: sectionproperties.image_width + '%',
|
|
40527
|
-
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
40528
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
40529
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
40530
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
40531
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
40532
|
-
},
|
|
40533
40627
|
loading: "lazy"
|
|
40534
40628
|
}), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40535
40629
|
"class": "".concat(card_cssstyles.badgeStyles) + ' allcentered '
|
|
@@ -40584,12 +40678,17 @@
|
|
|
40584
40678
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
40585
40679
|
size: sectionproperties.favBtnIconfontsize
|
|
40586
40680
|
}))), sectionproperties.cartBtnShow == 'Show' && showquantity == false && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
40587
|
-
"class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-sm-
|
|
40681
|
+
"class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-sm-130px font-sm-12 ',
|
|
40588
40682
|
onClick: function onClick() {
|
|
40589
|
-
|
|
40683
|
+
if (sectionproperties.quantitybtn_show == 'Show') {
|
|
40684
|
+
setshowquantity(true);
|
|
40685
|
+
} else {
|
|
40686
|
+
setShowProductInfoModalContext(true);
|
|
40687
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
40688
|
+
}
|
|
40590
40689
|
}
|
|
40591
40690
|
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), showquantity == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40592
|
-
"class": "".concat(card_cssstyles.quantitybtn) + ' w-sm-
|
|
40691
|
+
"class": "".concat(card_cssstyles.quantitybtn) + ' w-sm-130px p-0 d-flex align-items-center justify-content-center ml-2 mr-2 ml-sm-1 mr-sm-1 ',
|
|
40593
40692
|
style: {
|
|
40594
40693
|
direction: 'ltr'
|
|
40595
40694
|
}
|
|
@@ -44638,7 +44737,7 @@
|
|
|
44638
44737
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
44639
44738
|
urlEndpoint: IKurlEndpoint,
|
|
44640
44739
|
publicKey: IKpublicKey,
|
|
44641
|
-
path: item.image,
|
|
44740
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
44642
44741
|
loading: "lazy",
|
|
44643
44742
|
style: {
|
|
44644
44743
|
width: '100%',
|