tabexseriescomponents 0.0.378 → 0.0.379
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 +114 -58
- package/dist/index.esm.js +114 -58
- package/dist/index.umd.js +114 -58
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1693,7 +1693,11 @@
|
|
|
1693
1693
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1694
1694
|
"class": "col-lg-12 p-0"
|
|
1695
1695
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1696
|
-
"class": "row
|
|
1696
|
+
"class": "row mx-0 w-100",
|
|
1697
|
+
style: {
|
|
1698
|
+
marginBottom: sectionproperties.reservationmarginvertical + 'px',
|
|
1699
|
+
marginTop: sectionproperties.reservationmarginvertical + 'px'
|
|
1700
|
+
}
|
|
1697
1701
|
}, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1698
1702
|
"class": "col-lg-12 p-0 mb-3 d-flex justift-content-start",
|
|
1699
1703
|
style: {
|
|
@@ -2258,12 +2262,13 @@
|
|
|
2258
2262
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2259
2263
|
className: 'row m-0 w-100'
|
|
2260
2264
|
}, sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2261
|
-
className: sectionproperties.evencols == 'Yes' ? 'col-xl-6 col-lg-6 col-md-12 col-sm-12 mb-md-5 pb-md-5 pl-1 pr-1 evencols' : 'col-xl-5 col-lg-4 col-md-12 col-sm-12 mb-md-5 pb-md-4 pl-1 pr-1'
|
|
2265
|
+
className: sectionproperties.evencols == 'Yes' ? productinfo_cssstyles.evencols + ' col-xl-6 col-lg-6 col-md-12 col-sm-12 mb-md-5 pb-md-5 pl-1 pr-1 evencols ' : 'col-xl-5 col-lg-4 col-md-12 col-sm-12 mb-md-5 pb-md-4 pl-1 pr-1'
|
|
2262
2266
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2263
2267
|
className: sectionproperties.maximizegalleryfullscreen == 'Yes' ? ' col-lg-12 p-0 maximize ' : 'col-lg-12 p-0',
|
|
2264
2268
|
style: {
|
|
2265
2269
|
width: '100%',
|
|
2266
|
-
height: 'auto'
|
|
2270
|
+
// height: 'auto',
|
|
2271
|
+
height: sectionproperties.evencols == 'Yes' ? '550px' : 'auto'
|
|
2267
2272
|
}
|
|
2268
2273
|
}, productimagesarray.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2269
2274
|
style: {
|
|
@@ -2277,13 +2282,17 @@
|
|
|
2277
2282
|
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
2278
2283
|
size: 26
|
|
2279
2284
|
}))), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2280
|
-
"class": "w-100 d-block d-md-none"
|
|
2285
|
+
"class": "w-100 d-block d-md-none",
|
|
2286
|
+
style: {
|
|
2287
|
+
// height: '500px',
|
|
2288
|
+
height: sectionproperties.evencols == 'Yes' ? '550px' : ''
|
|
2289
|
+
}
|
|
2281
2290
|
}, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
|
|
2282
2291
|
items: productimagesarray,
|
|
2283
2292
|
thumbnailPosition: sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left',
|
|
2284
2293
|
showNav: false,
|
|
2285
2294
|
showPlayButton: false,
|
|
2286
|
-
showFullscreenButton: true,
|
|
2295
|
+
showFullscreenButton: sectionproperties.showgalleryfullscreenbtn == 'Yes' ? true : false,
|
|
2287
2296
|
startIndex: currentshowingimageindex
|
|
2288
2297
|
})), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2289
2298
|
"class": "w-100 d-none d-md-block"
|
|
@@ -2308,7 +2317,7 @@
|
|
|
2308
2317
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2309
2318
|
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
|
|
2310
2319
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2311
|
-
className: "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ',
|
|
2320
|
+
className: props.srcfromprops == 'templatedraftrouter' ? "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ' : "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 ',
|
|
2312
2321
|
onClick: function onClick() {
|
|
2313
2322
|
routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
2314
2323
|
},
|
|
@@ -2527,7 +2536,11 @@
|
|
|
2527
2536
|
display: sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'none' : 'flex'
|
|
2528
2537
|
}
|
|
2529
2538
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2530
|
-
className: "row
|
|
2539
|
+
className: "row mx-0 w-100 d-flex align-items-center",
|
|
2540
|
+
style: {
|
|
2541
|
+
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
2542
|
+
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
2543
|
+
}
|
|
2531
2544
|
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2532
2545
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
2533
2546
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -17269,10 +17282,14 @@
|
|
|
17269
17282
|
onClick: function onClick() {
|
|
17270
17283
|
routingcountext(item.navigationroute);
|
|
17271
17284
|
},
|
|
17285
|
+
onMouseEnter: function onMouseEnter() {
|
|
17286
|
+
setshowdownheadermenu(false);
|
|
17287
|
+
setChoosenindex('');
|
|
17288
|
+
},
|
|
17272
17289
|
"class": "scrollhorizontalcard mb-0 pb-0",
|
|
17273
17290
|
style: {
|
|
17274
|
-
marginLeft:
|
|
17275
|
-
marginRight:
|
|
17291
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope4 = props.subheaderpropertiesprops) === null || _props$subheaderprope4 === void 0 ? void 0 : _props$subheaderprope4.paddingLeftprops,
|
|
17292
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope5 = props.subheaderpropertiesprops) === null || _props$subheaderprope5 === void 0 ? void 0 : _props$subheaderprope5.paddingLeftprops
|
|
17276
17293
|
}
|
|
17277
17294
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17278
17295
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 '
|
|
@@ -17291,8 +17308,8 @@
|
|
|
17291
17308
|
setChoosenindex(index);
|
|
17292
17309
|
},
|
|
17293
17310
|
style: {
|
|
17294
|
-
marginLeft:
|
|
17295
|
-
marginRight:
|
|
17311
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope6 = props.subheaderpropertiesprops) === null || _props$subheaderprope6 === void 0 ? void 0 : _props$subheaderprope6.paddingLeftprops,
|
|
17312
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope7 = props.subheaderpropertiesprops) === null || _props$subheaderprope7 === void 0 ? void 0 : _props$subheaderprope7.paddingLeftprops
|
|
17296
17313
|
}
|
|
17297
17314
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
17298
17315
|
}
|
|
@@ -17309,8 +17326,8 @@
|
|
|
17309
17326
|
setChoosenindex(index);
|
|
17310
17327
|
},
|
|
17311
17328
|
style: {
|
|
17312
|
-
marginLeft:
|
|
17313
|
-
marginRight:
|
|
17329
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope8 = props.subheaderpropertiesprops) === null || _props$subheaderprope8 === void 0 ? void 0 : _props$subheaderprope8.paddingLeftprops,
|
|
17330
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.paddingLeftprops,
|
|
17314
17331
|
position: sectionproperties.subheaderstyle == 'Style 2' ? 'relative' : ''
|
|
17315
17332
|
}
|
|
17316
17333
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
@@ -17324,8 +17341,8 @@
|
|
|
17324
17341
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
17325
17342
|
},
|
|
17326
17343
|
style: {
|
|
17327
|
-
marginLeft:
|
|
17328
|
-
marginRight:
|
|
17344
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope10 = props.subheaderpropertiesprops) === null || _props$subheaderprope10 === void 0 ? void 0 : _props$subheaderprope10.paddingLeftprops,
|
|
17345
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope11 = props.subheaderpropertiesprops) === null || _props$subheaderprope11 === void 0 ? void 0 : _props$subheaderprope11.paddingLeftprops,
|
|
17329
17346
|
position: sectionproperties.subheaderstyle == 'Style 2' ? 'relative' : ''
|
|
17330
17347
|
}
|
|
17331
17348
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
@@ -17337,10 +17354,14 @@
|
|
|
17337
17354
|
onClick: function onClick() {
|
|
17338
17355
|
routingcountext(item.navigationroute);
|
|
17339
17356
|
},
|
|
17357
|
+
onMouseEnter: function onMouseEnter() {
|
|
17358
|
+
setshowdownheadermenu(false);
|
|
17359
|
+
setChoosenindex('');
|
|
17360
|
+
},
|
|
17340
17361
|
"class": "scrollhorizontalcard",
|
|
17341
17362
|
style: {
|
|
17342
|
-
marginLeft:
|
|
17343
|
-
marginRight:
|
|
17363
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope13 = props.subheaderpropertiesprops) === null || _props$subheaderprope13 === void 0 ? void 0 : _props$subheaderprope13.paddingLeftprops,
|
|
17364
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope14 = props.subheaderpropertiesprops) === null || _props$subheaderprope14 === void 0 ? void 0 : _props$subheaderprope14.paddingLeftprops
|
|
17344
17365
|
}
|
|
17345
17366
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17346
17367
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 '
|
|
@@ -17359,10 +17380,14 @@
|
|
|
17359
17380
|
onClick: function onClick() {
|
|
17360
17381
|
routingcountext(item.navigationroute);
|
|
17361
17382
|
},
|
|
17383
|
+
onMouseEnter: function onMouseEnter() {
|
|
17384
|
+
setshowdownheadermenu(false);
|
|
17385
|
+
setChoosenindex('');
|
|
17386
|
+
},
|
|
17362
17387
|
"class": "scrollhorizontalcard",
|
|
17363
17388
|
style: {
|
|
17364
|
-
marginLeft:
|
|
17365
|
-
marginRight:
|
|
17389
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope17 = props.subheaderpropertiesprops) === null || _props$subheaderprope17 === void 0 ? void 0 : _props$subheaderprope17.paddingLeftprops,
|
|
17390
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope18 = props.subheaderpropertiesprops) === null || _props$subheaderprope18 === void 0 ? void 0 : _props$subheaderprope18.paddingLeftprops
|
|
17366
17391
|
}
|
|
17367
17392
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17368
17393
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 '
|
|
@@ -17381,8 +17406,8 @@
|
|
|
17381
17406
|
setChoosenindex(index);
|
|
17382
17407
|
},
|
|
17383
17408
|
style: {
|
|
17384
|
-
marginLeft:
|
|
17385
|
-
marginRight:
|
|
17409
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope19 = props.subheaderpropertiesprops) === null || _props$subheaderprope19 === void 0 ? void 0 : _props$subheaderprope19.paddingLeftprops,
|
|
17410
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope20 = props.subheaderpropertiesprops) === null || _props$subheaderprope20 === void 0 ? void 0 : _props$subheaderprope20.paddingLeftprops
|
|
17386
17411
|
}
|
|
17387
17412
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
17388
17413
|
}
|
|
@@ -17399,8 +17424,8 @@
|
|
|
17399
17424
|
setChoosenindex(index);
|
|
17400
17425
|
},
|
|
17401
17426
|
style: {
|
|
17402
|
-
marginLeft:
|
|
17403
|
-
marginRight:
|
|
17427
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope21 = props.subheaderpropertiesprops) === null || _props$subheaderprope21 === void 0 ? void 0 : _props$subheaderprope21.paddingLeftprops,
|
|
17428
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope22 = props.subheaderpropertiesprops) === null || _props$subheaderprope22 === void 0 ? void 0 : _props$subheaderprope22.paddingLeftprops
|
|
17404
17429
|
}
|
|
17405
17430
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
17406
17431
|
}
|
|
@@ -17413,8 +17438,8 @@
|
|
|
17413
17438
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
17414
17439
|
},
|
|
17415
17440
|
style: {
|
|
17416
|
-
marginLeft:
|
|
17417
|
-
marginRight:
|
|
17441
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope23 = props.subheaderpropertiesprops) === null || _props$subheaderprope23 === void 0 ? void 0 : _props$subheaderprope23.paddingLeftprops,
|
|
17442
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope24 = props.subheaderpropertiesprops) === null || _props$subheaderprope24 === void 0 ? void 0 : _props$subheaderprope24.paddingLeftprops,
|
|
17418
17443
|
color: sectionproperties.subheader_categorytitle_fontColor_resp,
|
|
17419
17444
|
fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
|
|
17420
17445
|
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
@@ -17453,8 +17478,8 @@
|
|
|
17453
17478
|
setChoosenindex(index);
|
|
17454
17479
|
},
|
|
17455
17480
|
style: {
|
|
17456
|
-
marginLeft:
|
|
17457
|
-
marginRight:
|
|
17481
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope25 = props.subheaderpropertiesprops) === null || _props$subheaderprope25 === void 0 ? void 0 : _props$subheaderprope25.paddingLeftprops,
|
|
17482
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope26 = props.subheaderpropertiesprops) === null || _props$subheaderprope26 === void 0 ? void 0 : _props$subheaderprope26.paddingLeftprops,
|
|
17458
17483
|
color: sectionproperties.subheader_categorytitle_fontColor_resp,
|
|
17459
17484
|
fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
|
|
17460
17485
|
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
@@ -17475,8 +17500,8 @@
|
|
|
17475
17500
|
setChoosenindex(index);
|
|
17476
17501
|
},
|
|
17477
17502
|
style: {
|
|
17478
|
-
marginLeft:
|
|
17479
|
-
marginRight:
|
|
17503
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope27 = props.subheaderpropertiesprops) === null || _props$subheaderprope27 === void 0 ? void 0 : _props$subheaderprope27.paddingLeftprops,
|
|
17504
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope28 = props.subheaderpropertiesprops) === null || _props$subheaderprope28 === void 0 ? void 0 : _props$subheaderprope28.paddingLeftprops,
|
|
17480
17505
|
color: sectionproperties.subheader_categorytitle_fontColor_resp,
|
|
17481
17506
|
fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
|
|
17482
17507
|
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
@@ -17493,8 +17518,8 @@
|
|
|
17493
17518
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
17494
17519
|
},
|
|
17495
17520
|
style: {
|
|
17496
|
-
marginLeft:
|
|
17497
|
-
marginRight:
|
|
17521
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope29 = props.subheaderpropertiesprops) === null || _props$subheaderprope29 === void 0 ? void 0 : _props$subheaderprope29.paddingLeftprops,
|
|
17522
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope30 = props.subheaderpropertiesprops) === null || _props$subheaderprope30 === void 0 ? void 0 : _props$subheaderprope30.paddingLeftprops,
|
|
17498
17523
|
color: sectionproperties.subheader_categorytitle_fontColor_resp,
|
|
17499
17524
|
fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
|
|
17500
17525
|
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
@@ -17506,6 +17531,7 @@
|
|
|
17506
17531
|
"class": "".concat(headerstyles$f.dropmenu, " ").concat(header_cssstyles.dropdownmenu, " ").concat(showdownheadermenu ? 'd-flex' : 'd-none') + ' col-lg-12 ml-auto mr-auto flex-row justify-content-center align-items-center pl-lg-3 pr-lg-3 pl-md-2 pr-md-2 p-sm-0 position-md-relative ',
|
|
17507
17532
|
onMouseLeave: function onMouseLeave() {
|
|
17508
17533
|
setshowdownheadermenu(false);
|
|
17534
|
+
setChoosenindex('');
|
|
17509
17535
|
},
|
|
17510
17536
|
style: {
|
|
17511
17537
|
width: sectionproperties.subheader_width + '%',
|
|
@@ -17538,9 +17564,9 @@
|
|
|
17538
17564
|
"class": "font-16 font-weight-500 m-0 p-0"
|
|
17539
17565
|
}, langdetect == 'en' ? 'No collections' : 'لا توجد مجموعات')), sectionproperties.subheaderParentType == 'Categories' && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery7 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery7 === void 0 || (_fetchCategoriesQuery7 = _fetchCategoriesQuery7.data) === null || _fetchCategoriesQuery7 === void 0 || (_fetchCategoriesQuery7 = _fetchCategoriesQuery7.categories[Choosenindex]) === null || _fetchCategoriesQuery7 === void 0 ? void 0 : _fetchCategoriesQuery7.parentcolletions.map(function (item, index) {
|
|
17540
17566
|
if (item.isshowntocustomers == 1) {
|
|
17541
|
-
var _fetchCategoriesQuery8;
|
|
17567
|
+
var _fetchCategoriesQuery8, _props$subheaderprope35, _props$subheaderprope36;
|
|
17542
17568
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17543
|
-
"class": (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery8 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery8 === void 0 || (_fetchCategoriesQuery8 = _fetchCategoriesQuery8.data) === null || _fetchCategoriesQuery8 === void 0 || (_fetchCategoriesQuery8 = _fetchCategoriesQuery8.categories[Choosenindex]) === null || _fetchCategoriesQuery8 === void 0 ? void 0 : _fetchCategoriesQuery8.parentcolletions.length) >= 5 ? 'col-lg-2 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4' : 'col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4',
|
|
17569
|
+
"class": (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery8 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery8 === void 0 || (_fetchCategoriesQuery8 = _fetchCategoriesQuery8.data) === null || _fetchCategoriesQuery8 === void 0 || (_fetchCategoriesQuery8 = _fetchCategoriesQuery8.categories[Choosenindex]) === null || _fetchCategoriesQuery8 === void 0 ? void 0 : _fetchCategoriesQuery8.parentcolletions.length) >= 5 ? 'col-lg-2 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4' : ((_props$subheaderprope35 = props.subheaderpropertiesprops) === null || _props$subheaderprope35 === void 0 ? void 0 : _props$subheaderprope35.numofcolsinlistprops) != undefined ? ' pl-2 pr-2 col-md-6 col-sm-12 mb-md-4 col-lg-' + ((_props$subheaderprope36 = props.subheaderpropertiesprops) === null || _props$subheaderprope36 === void 0 ? void 0 : _props$subheaderprope36.numofcolsinlistprops) : 'col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4',
|
|
17544
17570
|
style: {
|
|
17545
17571
|
cursor: 'pointer'
|
|
17546
17572
|
}
|
|
@@ -18034,12 +18060,12 @@
|
|
|
18034
18060
|
className: langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
18035
18061
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
18036
18062
|
className: "text-transform-none"
|
|
18037
|
-
}, lang.signup)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, {
|
|
18063
|
+
}, lang.signup)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, {
|
|
18038
18064
|
style: {
|
|
18039
18065
|
marginBottom: 0,
|
|
18040
18066
|
marginTop: 0
|
|
18041
18067
|
}
|
|
18042
|
-
}), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
18068
|
+
}), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
18043
18069
|
onClick: function onClick() {
|
|
18044
18070
|
routingcountext(StaticPagesLinksContext.viewcart);
|
|
18045
18071
|
}
|
|
@@ -18985,7 +19011,7 @@
|
|
|
18985
19011
|
}
|
|
18986
19012
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18987
19013
|
className: "col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0"
|
|
18988
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19014
|
+
}, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18989
19015
|
style: {
|
|
18990
19016
|
width: '30px',
|
|
18991
19017
|
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
@@ -36276,8 +36302,8 @@
|
|
|
36276
36302
|
return /*#__PURE__*/React__default["default"].createElement("li", {
|
|
36277
36303
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' cursor-pointer allcentered ',
|
|
36278
36304
|
style: {
|
|
36279
|
-
marginLeft:
|
|
36280
|
-
marginRight:
|
|
36305
|
+
marginLeft: sectionproperties.navbar_item_textpaddingleft + 'px',
|
|
36306
|
+
marginRight: sectionproperties.navbar_item_textpaddingleft + 'px'
|
|
36281
36307
|
},
|
|
36282
36308
|
onClick: function onClick() {
|
|
36283
36309
|
routingcountext(item.navigationroute, false, '');
|
|
@@ -36291,9 +36317,10 @@
|
|
|
36291
36317
|
actions: actions,
|
|
36292
36318
|
subheaderpropertiesprops: {
|
|
36293
36319
|
subheaderpositionprops: 'in nav',
|
|
36294
|
-
paddingLeftprops: '
|
|
36295
|
-
paddingRightprops: '
|
|
36296
|
-
subheadercontentpositionprops: 'center'
|
|
36320
|
+
paddingLeftprops: sectionproperties.navbar_item_textpaddingleft + 'px',
|
|
36321
|
+
paddingRightprops: sectionproperties.navbar_item_textpaddingleft + 'px',
|
|
36322
|
+
subheadercontentpositionprops: 'center',
|
|
36323
|
+
numofcolsinlistprops: '4'
|
|
36297
36324
|
}
|
|
36298
36325
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36299
36326
|
"class": "col-lg-4 col-md-4 p-0 d-flex align-items-center justify-content-end"
|
|
@@ -36390,7 +36417,8 @@
|
|
|
36390
36417
|
subheaderpositionprops: 'Full Width',
|
|
36391
36418
|
paddingLeftprops: '20px',
|
|
36392
36419
|
paddingRightprops: '20px',
|
|
36393
|
-
subheadercontentpositionprops: 'center'
|
|
36420
|
+
subheadercontentpositionprops: 'center',
|
|
36421
|
+
numofcols: '6'
|
|
36394
36422
|
}
|
|
36395
36423
|
})))), /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
|
|
36396
36424
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -41482,7 +41510,7 @@
|
|
|
41482
41510
|
function ownKeys$1o(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; }
|
|
41483
41511
|
function _objectSpread$1o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1o(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41484
41512
|
var ModernFooter = function ModernFooter(props) {
|
|
41485
|
-
var _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17;
|
|
41513
|
+
var _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23;
|
|
41486
41514
|
var _useState = React.useState(''),
|
|
41487
41515
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
41488
41516
|
sectionproperties = _useState2[0],
|
|
@@ -41803,7 +41831,35 @@
|
|
|
41803
41831
|
}, sectionproperties.linkedinbtniconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(AiOutlineLinkedin.AiOutlineLinkedin, {
|
|
41804
41832
|
"class": 'mr-2',
|
|
41805
41833
|
size: sectionproperties.linkedinbtniconfontsize
|
|
41806
|
-
}), sectionproperties.linkedinlinktext))))
|
|
41834
|
+
}), sectionproperties.linkedinlinktext)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41835
|
+
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
41836
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41837
|
+
"class": footerStyles.instgram_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
41838
|
+
onClick: function onClick() {
|
|
41839
|
+
var _authdetailsContext$i15;
|
|
41840
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.tiktoklink) != null) {
|
|
41841
|
+
var _authdetailsContext$i16;
|
|
41842
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.tiktoklink, '_blank');
|
|
41843
|
+
}
|
|
41844
|
+
}
|
|
41845
|
+
}, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
41846
|
+
"class": 'mr-2',
|
|
41847
|
+
size: sectionproperties.instagramiconfontsize
|
|
41848
|
+
}), langdetect == 'en' ? 'TikTok' : 'TikTok')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.telegramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41849
|
+
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
41850
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41851
|
+
"class": footerStyles.instgram_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
41852
|
+
onClick: function onClick() {
|
|
41853
|
+
var _authdetailsContext$i18;
|
|
41854
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.telegramlink) != null) {
|
|
41855
|
+
var _authdetailsContext$i19;
|
|
41856
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.telegramlink, '_blank');
|
|
41857
|
+
}
|
|
41858
|
+
}
|
|
41859
|
+
}, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(FaTelegramPlane.FaTelegramPlane, {
|
|
41860
|
+
"class": 'mr-2',
|
|
41861
|
+
size: sectionproperties.instagramiconfontsize
|
|
41862
|
+
}), langdetect == 'en' ? 'Telegram' : 'Telegram')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41807
41863
|
"class": sectionproperties.showdownloadsection == 'Show' || sectionproperties.showpaymentfooter == 'Show' ? 'col-lg-3 col-md-12 col-sm-12 mt-md-3' : 'col-lg-4 col-md-12 col-sm-12 mt-md-3',
|
|
41808
41864
|
style: {
|
|
41809
41865
|
display: sectionproperties.showfooteraddress == 'Hide' && sectionproperties.showfooterphonenumber == 'Hide' && sectionproperties.showfooteremail == 'Hide' ? 'none' : 'block'
|
|
@@ -41829,7 +41885,7 @@
|
|
|
41829
41885
|
}
|
|
41830
41886
|
}, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
|
|
41831
41887
|
size: sectionproperties.footerinfoicon_fontsize
|
|
41832
|
-
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41888
|
+
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.address_en)), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41833
41889
|
"class": "".concat(footerStyles.footerinfotext) + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 ',
|
|
41834
41890
|
onClick: function onClick() {
|
|
41835
41891
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
@@ -41848,14 +41904,14 @@
|
|
|
41848
41904
|
}), authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41849
41905
|
"class": "".concat(footerStyles.footerinfotext) + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 ',
|
|
41850
41906
|
onClick: function onClick() {
|
|
41851
|
-
var _authdetailsContext$
|
|
41852
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41907
|
+
var _authdetailsContext$i21;
|
|
41908
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.contactinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.email), '_self');
|
|
41853
41909
|
}
|
|
41854
41910
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41855
41911
|
"class": ' footerinfotext d-flex align-items-center justify-content-start m-0 p-0 cursor-pointer ',
|
|
41856
41912
|
onClick: function onClick() {
|
|
41857
|
-
var _authdetailsContext$
|
|
41858
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41913
|
+
var _authdetailsContext$i22;
|
|
41914
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.contactinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.email), '_self');
|
|
41859
41915
|
},
|
|
41860
41916
|
style: {
|
|
41861
41917
|
textTransform: 'none'
|
|
@@ -41866,7 +41922,7 @@
|
|
|
41866
41922
|
marginRight: langdetect == 'en' ? '0.5rem' : 0,
|
|
41867
41923
|
marginLeft: langdetect == 'ar' ? '0.5rem' : 0
|
|
41868
41924
|
}
|
|
41869
|
-
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41925
|
+
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 || (_authdetailsContext$i23 = _authdetailsContext$i23.contactinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.email)))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41870
41926
|
"class": sectionproperties.showfooteraddress == 'Hide' && sectionproperties.showfooterphonenumber == 'Hide' && sectionproperties.showfooteremail == 'Hide' ? 'col-lg-4 col-md-12 col-sm-12 mt-md-3' : 'col-lg-3 col-md-12 col-sm-12 mt-md-3'
|
|
41871
41927
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41872
41928
|
className: "col-lg-12 p-0 d-flex justify-content-start mb-3"
|
|
@@ -41878,15 +41934,15 @@
|
|
|
41878
41934
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-flex d-md-none ',
|
|
41879
41935
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
41880
41936
|
onClick: function onClick() {
|
|
41881
|
-
var _authdetailsContext$
|
|
41882
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41937
|
+
var _authdetailsContext$i24;
|
|
41938
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.mobileapplink_appstore, '_blank');
|
|
41883
41939
|
}
|
|
41884
41940
|
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
41885
41941
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-none d-md-flex ',
|
|
41886
41942
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
41887
41943
|
onClick: function onClick() {
|
|
41888
|
-
var _authdetailsContext$
|
|
41889
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41944
|
+
var _authdetailsContext$i25;
|
|
41945
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.mobileapplink_appstore, '_blank');
|
|
41890
41946
|
}
|
|
41891
41947
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41892
41948
|
"class": 'col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start'
|
|
@@ -41894,15 +41950,15 @@
|
|
|
41894
41950
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer d-flex d-md-none ',
|
|
41895
41951
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
41896
41952
|
onClick: function onClick() {
|
|
41897
|
-
var _authdetailsContext$
|
|
41898
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41953
|
+
var _authdetailsContext$i26;
|
|
41954
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.mobileapplink_playstore, '_blank');
|
|
41899
41955
|
}
|
|
41900
41956
|
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
41901
41957
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer d-none d-md-flex ',
|
|
41902
41958
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
41903
41959
|
onClick: function onClick() {
|
|
41904
|
-
var _authdetailsContext$
|
|
41905
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41960
|
+
var _authdetailsContext$i27;
|
|
41961
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.mobileapplink_playstore, '_blank');
|
|
41906
41962
|
}
|
|
41907
41963
|
}))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41908
41964
|
"class": "col-lg-3 col-md-12 col-sm-12 mt-md-3 px-lg-5 px-md-2",
|