tabexseriescomponents 0.0.546 → 0.0.548
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 +234 -38
- package/dist/index.esm.js +234 -38
- package/dist/index.umd.js +234 -38
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2346,25 +2346,29 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2346
2346
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
2347
2347
|
var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
|
|
2348
2348
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
2349
|
-
var
|
|
2349
|
+
var currentshowingimageindex_pro = props.actions.currentshowingimageindex;
|
|
2350
2350
|
var StoreInfoprops = props.actions.StoreInfoprops;
|
|
2351
|
-
|
|
2352
|
-
var _useState = React.useState(''),
|
|
2351
|
+
var _useState = React.useState(currentshowingimageindex_pro),
|
|
2353
2352
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
2354
|
-
|
|
2355
|
-
|
|
2353
|
+
currentshowingimageindex = _useState2[0],
|
|
2354
|
+
setcurrentshowingimageindex = _useState2[1];
|
|
2355
|
+
// const DescriptionContent = props.actions.DescriptionContent;
|
|
2356
2356
|
var _useState3 = React.useState(''),
|
|
2357
2357
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
var _useState5 = React.useState(
|
|
2361
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2)
|
|
2362
|
-
_useState6[0]
|
|
2363
|
-
|
|
2364
|
-
var _useState7 = React.useState(
|
|
2358
|
+
shareUrl = _useState4[0],
|
|
2359
|
+
setshareUrl = _useState4[1];
|
|
2360
|
+
var _useState5 = React.useState(''),
|
|
2361
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
2362
|
+
title = _useState6[0],
|
|
2363
|
+
settitle = _useState6[1];
|
|
2364
|
+
var _useState7 = React.useState(fetchProductInfoQueryContext.data.data.productinfo),
|
|
2365
2365
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
2366
2366
|
_useState8[0];
|
|
2367
|
-
var
|
|
2367
|
+
var setitem = _useState8[1];
|
|
2368
|
+
var _useState9 = React.useState(''),
|
|
2369
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2);
|
|
2370
|
+
_useState10[0];
|
|
2371
|
+
var settotalprice = _useState10[1];
|
|
2368
2372
|
React.useEffect(function () {
|
|
2369
2373
|
var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
|
|
2370
2374
|
if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
|
|
@@ -2469,6 +2473,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2469
2473
|
totalprice = parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2);
|
|
2470
2474
|
}
|
|
2471
2475
|
settotalprice(totalprice);
|
|
2476
|
+
setcurrentshowingimageindex(props.actions.currentshowingimageindex);
|
|
2472
2477
|
}, [variantindexcompleted]);
|
|
2473
2478
|
var ProductsSKUContainer = function ProductsSKUContainer() {
|
|
2474
2479
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -2574,7 +2579,10 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2574
2579
|
showNav: true,
|
|
2575
2580
|
showPlayButton: false,
|
|
2576
2581
|
showFullscreenButton: sectionproperties.showgalleryfullscreenbtn == 'Yes' ? true : false,
|
|
2577
|
-
startIndex: currentshowingimageindex
|
|
2582
|
+
startIndex: currentshowingimageindex,
|
|
2583
|
+
onSlide: function onSlide(d) {
|
|
2584
|
+
setcurrentshowingimageindex(d);
|
|
2585
|
+
}
|
|
2578
2586
|
})), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2579
2587
|
"class": "w-100 d-none d-md-block"
|
|
2580
2588
|
}, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
|
|
@@ -2583,7 +2591,10 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2583
2591
|
showNav: false,
|
|
2584
2592
|
showPlayButton: false,
|
|
2585
2593
|
showFullscreenButton: true,
|
|
2586
|
-
startIndex: currentshowingimageindex
|
|
2594
|
+
startIndex: currentshowingimageindex,
|
|
2595
|
+
onSlide: function onSlide(d) {
|
|
2596
|
+
setcurrentshowingimageindex(d);
|
|
2597
|
+
}
|
|
2587
2598
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2588
2599
|
className: sectionproperties.gallerystyle == 'Style 1' ? sectionproperties.evencols == 'Yes' ? langdetect == 'en' ? 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-4 pr-0 pl-md-0 pr-md-0 pt-md-5' : 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-0 pr-4 pl-md-0 pr-md-0 pt-md-5' : langdetect == 'en' ? 'col-xl-7 col-lg-7 col-md-12 col-sm-12 pl-4 pr-0 p-md-0' : 'col-xl-7 col-lg-7 col-md-12 col-sm-12 pl-0 pr-4 p-md-0' : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
|
|
2589
2600
|
// className={
|
|
@@ -47182,7 +47193,7 @@ var Newsletterincenter = function Newsletterincenter(props) {
|
|
|
47182
47193
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47183
47194
|
"class": "col-lg-12 p-0"
|
|
47184
47195
|
}, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47185
|
-
"class": "col-lg-
|
|
47196
|
+
"class": "col-lg-12 col-md-12 d-flex justify-content-center align-items-center flex-row d-md-none"
|
|
47186
47197
|
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
47187
47198
|
"class": footerStyles.facebook_btn + ' m-0 p-0 allcentered mx-3 ',
|
|
47188
47199
|
onClick: function onClick() {
|
|
@@ -47246,23 +47257,7 @@ var Newsletterincenter = function Newsletterincenter(props) {
|
|
|
47246
47257
|
}
|
|
47247
47258
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
47248
47259
|
size: sectionproperties.youtubebtniconfontsize
|
|
47249
|
-
})))
|
|
47250
|
-
"class": "col-lg-6 col-md-12 d-flex align-items-center justify-content-end justify-content-md-center flex-row"
|
|
47251
|
-
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
47252
|
-
"class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
47253
|
-
src: 'https://tabex-co.com/storage/StaticImages/appstore2.png',
|
|
47254
|
-
onClick: function onClick() {
|
|
47255
|
-
var _authdetailsContext$i24;
|
|
47256
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.mobileapplink_appstore, '_blank');
|
|
47257
|
-
}
|
|
47258
|
-
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
47259
|
-
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
47260
|
-
src: 'https://tabex-co.com/storage/StaticImages/googleplay2.png',
|
|
47261
|
-
onClick: function onClick() {
|
|
47262
|
-
var _authdetailsContext$i25;
|
|
47263
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.mobileapplink_playstore, '_blank');
|
|
47264
|
-
}
|
|
47265
|
-
})))));
|
|
47260
|
+
}))))));
|
|
47266
47261
|
};
|
|
47267
47262
|
|
|
47268
47263
|
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; }
|
|
@@ -53220,6 +53215,14 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53220
53215
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
53221
53216
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
53222
53217
|
props.actions.fetchcollectionsQueryContext;
|
|
53218
|
+
var _useState15 = React.useState(''),
|
|
53219
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
53220
|
+
from_date_filter_input = _useState16[0],
|
|
53221
|
+
setfrom_date_filter_input = _useState16[1];
|
|
53222
|
+
var _useState17 = React.useState(''),
|
|
53223
|
+
_useState18 = _slicedToArray__default["default"](_useState17, 2),
|
|
53224
|
+
to_date_filter_input = _useState18[0],
|
|
53225
|
+
setto_date_filter_input = _useState18[1];
|
|
53223
53226
|
React.useEffect(function () {
|
|
53224
53227
|
var tempFetchQueriesEngineContext = _objectSpread$1a({}, FetchQueriesEngineContext);
|
|
53225
53228
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
@@ -53338,8 +53341,11 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53338
53341
|
})
|
|
53339
53342
|
};
|
|
53340
53343
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53341
|
-
"class": sectionstyles.container + ' allcentered mx-md-0 '
|
|
53342
|
-
|
|
53344
|
+
"class": sectionstyles.container + ' allcentered mx-md-0 ',
|
|
53345
|
+
style: {
|
|
53346
|
+
backgroundColor: '#f2f6f7'
|
|
53347
|
+
}
|
|
53348
|
+
}, imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53343
53349
|
"class": sectionstyles.imgcontainer,
|
|
53344
53350
|
style: {
|
|
53345
53351
|
width: '100%',
|
|
@@ -53588,7 +53594,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53588
53594
|
zIndex: 2
|
|
53589
53595
|
}
|
|
53590
53596
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53591
|
-
"class":
|
|
53597
|
+
"class": imagesarray.length != 0 ? 'row m-0 w-100 d-flex align-items-center justify-content-start' : 'row m-0 w-100 d-flex align-items-center justify-content-center'
|
|
53592
53598
|
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53593
53599
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
|
|
53594
53600
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -53768,6 +53774,52 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53768
53774
|
})));
|
|
53769
53775
|
}
|
|
53770
53776
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53777
|
+
"class": "col-lg-3 col-md-12"
|
|
53778
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53779
|
+
"class": "row m-0 w-100"
|
|
53780
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53781
|
+
"class": "col-lg-12 p-0 text-start"
|
|
53782
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
53783
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
|
|
53784
|
+
style: {
|
|
53785
|
+
color: sectionproperties.form_labelcolor,
|
|
53786
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
53787
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
53788
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
53789
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
|
|
53790
|
+
}
|
|
53791
|
+
}, langdetect == 'en' ? 'From' : 'من')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53792
|
+
"class": "col-lg-12 p-0 text-start"
|
|
53793
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
53794
|
+
type: 'date',
|
|
53795
|
+
onChange: function onChange(e) {
|
|
53796
|
+
setfrom_date_filter_input(e.target.value);
|
|
53797
|
+
},
|
|
53798
|
+
value: from_date_filter_input,
|
|
53799
|
+
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
|
|
53800
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53801
|
+
"class": "col-lg-3 col-md-12"
|
|
53802
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53803
|
+
"class": "col-lg-12 p-0 text-start"
|
|
53804
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
53805
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
|
|
53806
|
+
style: {
|
|
53807
|
+
color: sectionproperties.form_labelcolor,
|
|
53808
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
53809
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
53810
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
53811
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
|
|
53812
|
+
}
|
|
53813
|
+
}, langdetect == 'en' ? 'To' : 'الى')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53814
|
+
"class": "col-lg-12 p-0 text-start"
|
|
53815
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
53816
|
+
type: 'date',
|
|
53817
|
+
onChange: function onChange(e) {
|
|
53818
|
+
setto_date_filter_input(e.target.value);
|
|
53819
|
+
},
|
|
53820
|
+
value: to_date_filter_input,
|
|
53821
|
+
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
|
|
53822
|
+
})), "\xA0"), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53771
53823
|
"class": "col-lg-2 col-md-12 text-end",
|
|
53772
53824
|
style: {
|
|
53773
53825
|
marginLeft: langdetect == 'en' ? 'auto' : '',
|
|
@@ -53815,6 +53867,12 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53815
53867
|
if (productfeatuesarr != undefined && productfeatuesarr != null && Array.isArray(productfeatuesarr) && (productfeatuesarr === null || productfeatuesarr === void 0 ? void 0 : productfeatuesarr.length) != 0) {
|
|
53816
53868
|
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
53817
53869
|
}
|
|
53870
|
+
if (from_date_filter_input != undefined && from_date_filter_input != null && (from_date_filter_input === null || from_date_filter_input === void 0 ? void 0 : from_date_filter_input.length) != 0) {
|
|
53871
|
+
tempfetchproductsfilerobjcontext.from_date_filter = from_date_filter_input;
|
|
53872
|
+
}
|
|
53873
|
+
if (to_date_filter_input != undefined && to_date_filter_input != null && (to_date_filter_input === null || to_date_filter_input === void 0 ? void 0 : to_date_filter_input.length) != 0) {
|
|
53874
|
+
tempfetchproductsfilerobjcontext.to_date_filter = to_date_filter_input;
|
|
53875
|
+
}
|
|
53818
53876
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
53819
53877
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
53820
53878
|
}
|
|
@@ -59360,12 +59418,35 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59360
59418
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
59361
59419
|
bgimagearrayofobjs = _useState6[0],
|
|
59362
59420
|
setbgimagearrayofobjs = _useState6[1];
|
|
59421
|
+
var _useState7 = React.useState(''),
|
|
59422
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
59423
|
+
langg = _useState8[0],
|
|
59424
|
+
setlangg = _useState8[1];
|
|
59425
|
+
var _useState9 = React.useState(''),
|
|
59426
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
59427
|
+
curr = _useState10[0],
|
|
59428
|
+
setcurr = _useState10[1];
|
|
59429
|
+
var _useState11 = React.useState(false),
|
|
59430
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
59431
|
+
active = _useState12[0],
|
|
59432
|
+
setactive = _useState12[1];
|
|
59433
|
+
var _useState13 = React.useState(false),
|
|
59434
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
59435
|
+
active2 = _useState14[0],
|
|
59436
|
+
setactive2 = _useState14[1];
|
|
59437
|
+
var _useState15 = React.useState(false),
|
|
59438
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2);
|
|
59439
|
+
_useState16[0];
|
|
59440
|
+
_useState16[1];
|
|
59363
59441
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
59364
59442
|
props.actions.lang;
|
|
59365
59443
|
var langdetect = props.actions.langdetect;
|
|
59366
59444
|
var routingcountext = props.actions.routingcountext;
|
|
59367
59445
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
59368
59446
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
59447
|
+
var setlang = props.actions.setlang;
|
|
59448
|
+
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
59449
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
59369
59450
|
React.useEffect(function () {
|
|
59370
59451
|
if (props.srcfrom == 'addsectionform') {
|
|
59371
59452
|
var secpropobj = {};
|
|
@@ -59488,8 +59569,103 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59488
59569
|
paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
|
|
59489
59570
|
paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
|
|
59490
59571
|
border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
|
|
59572
|
+
}),
|
|
59573
|
+
choice: glamor.css({
|
|
59574
|
+
width: 100,
|
|
59575
|
+
height: 40,
|
|
59576
|
+
border: '1px solid #000',
|
|
59577
|
+
color: '#000',
|
|
59578
|
+
':hover': {
|
|
59579
|
+
borderColor: sectionproperties.generalbtn_bgColoronhover,
|
|
59580
|
+
color: sectionproperties.generalbtn_bgColoronhover,
|
|
59581
|
+
transition: '.3s'
|
|
59582
|
+
}
|
|
59583
|
+
}),
|
|
59584
|
+
choiceactive: glamor.css({
|
|
59585
|
+
width: 100,
|
|
59586
|
+
height: 40,
|
|
59587
|
+
border: '1px solid ' + sectionproperties.generalbtn_bgColoronhover,
|
|
59588
|
+
color: sectionproperties.generalbtn_bgColoronhover
|
|
59491
59589
|
})
|
|
59492
59590
|
};
|
|
59591
|
+
var setcurrlang = function setcurrlang() {
|
|
59592
|
+
setlang(langg);
|
|
59593
|
+
setcurrencyfunccontext(curr);
|
|
59594
|
+
if (item.IsClickableimg == 'Yes') {
|
|
59595
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
59596
|
+
routingcountext(item.clickableimg_page_route, true, '');
|
|
59597
|
+
} else {
|
|
59598
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
59599
|
+
}
|
|
59600
|
+
}
|
|
59601
|
+
};
|
|
59602
|
+
var LanguageCurrencyCont = function LanguageCurrencyCont(item) {
|
|
59603
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
59604
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59605
|
+
"class": "row m-0 w-100 mt-3"
|
|
59606
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59607
|
+
"class": "col-lg-12 mb-3 text-start"
|
|
59608
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59609
|
+
"class": "m-0 p-0",
|
|
59610
|
+
style: {
|
|
59611
|
+
fontSize: 20
|
|
59612
|
+
}
|
|
59613
|
+
}, langdetect == 'en' ? 'Language' : 'اللغة')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59614
|
+
"class": "col-lg-12 d-flex flex row mb-5 "
|
|
59615
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59616
|
+
"class": active ? slideshow_styles.choiceactive + ' allcentered mx-2 ' : slideshow_styles.choice + ' allcentered mx-2 ',
|
|
59617
|
+
onClick: function onClick() {
|
|
59618
|
+
setlangg('en');
|
|
59619
|
+
setactive(true);
|
|
59620
|
+
setactive2(false);
|
|
59621
|
+
}
|
|
59622
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59623
|
+
"class": "m-0 p-0"
|
|
59624
|
+
}, "English")), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59625
|
+
"class": active2 ? slideshow_styles.choiceactive + ' allcentered mx-2 ' : slideshow_styles.choice + ' allcentered mx-2 ',
|
|
59626
|
+
onClick: function onClick() {
|
|
59627
|
+
setlangg('ar');
|
|
59628
|
+
setactive(false);
|
|
59629
|
+
setactive2(true);
|
|
59630
|
+
}
|
|
59631
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59632
|
+
"class": "m-0 p-0"
|
|
59633
|
+
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629"))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instcurrencies) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59634
|
+
"class": "col-lg-12 mb-3 text-start"
|
|
59635
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59636
|
+
"class": "m-0 p-0",
|
|
59637
|
+
style: {
|
|
59638
|
+
fontSize: 20
|
|
59639
|
+
}
|
|
59640
|
+
}, langdetect == 'en' ? 'Currency' : 'العملة')), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59641
|
+
"class": "col-lg-12 d-flex flex row mb-5"
|
|
59642
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
|
|
59643
|
+
var _authdetailsContext$i4;
|
|
59644
|
+
var temparr = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instcurrencies;
|
|
59645
|
+
temparr.forEach(function (getselcitem, getselindex) {
|
|
59646
|
+
getselcitem.isactive = false;
|
|
59647
|
+
});
|
|
59648
|
+
return /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59649
|
+
"class": item.isactive ? slideshow_styles.choiceactive + ' allcentered mx-2 ' : slideshow_styles.choice + ' allcentered mx-2 ',
|
|
59650
|
+
onClick: function onClick() {
|
|
59651
|
+
setcurr(item);
|
|
59652
|
+
temparr[index].isactive = true;
|
|
59653
|
+
}
|
|
59654
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59655
|
+
"class": "m-0 p-0"
|
|
59656
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar));
|
|
59657
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59658
|
+
"class": "col-lg-12 text-start"
|
|
59659
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59660
|
+
"class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
|
|
59661
|
+
style: {
|
|
59662
|
+
letterSpacing: langdetect == 'en' ? '1px' : 0
|
|
59663
|
+
},
|
|
59664
|
+
onClick: function onClick() {
|
|
59665
|
+
setcurrlang();
|
|
59666
|
+
}
|
|
59667
|
+
}, langdetect == 'en' ? 'Confirm' : 'تأكيد', ' ')));
|
|
59668
|
+
};
|
|
59493
59669
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59494
59670
|
"class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
|
|
59495
59671
|
style: {
|
|
@@ -59554,7 +59730,17 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59554
59730
|
width: '100%',
|
|
59555
59731
|
height: '100%'
|
|
59556
59732
|
}
|
|
59557
|
-
}),
|
|
59733
|
+
}), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59734
|
+
"class": 'row m-0 w-100 pl-md-2 pr-md-2',
|
|
59735
|
+
style: {
|
|
59736
|
+
position: 'absolute',
|
|
59737
|
+
top: '20%',
|
|
59738
|
+
zIndex: 1000,
|
|
59739
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
59740
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
59741
|
+
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
59742
|
+
}
|
|
59743
|
+
}, LanguageCurrencyCont()), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59558
59744
|
onClick: function onClick() {
|
|
59559
59745
|
if (item.IsClickableimg == 'Yes') {
|
|
59560
59746
|
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
@@ -59586,7 +59772,17 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59586
59772
|
width: '100%',
|
|
59587
59773
|
height: '100%'
|
|
59588
59774
|
}
|
|
59589
|
-
}),
|
|
59775
|
+
}), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59776
|
+
"class": 'row m-0 w-100 pl-md-2 pr-md-2',
|
|
59777
|
+
style: {
|
|
59778
|
+
position: 'absolute',
|
|
59779
|
+
top: '20%',
|
|
59780
|
+
zIndex: 1000,
|
|
59781
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
59782
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
59783
|
+
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
59784
|
+
}
|
|
59785
|
+
}, LanguageCurrencyCont()), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)));
|
|
59590
59786
|
})), cardsarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59591
59787
|
"class": "".concat(slideshow_styles.innerSection) + ' col-lg-9 col-md-10 col-sm-10 ml-auto mr-auto '
|
|
59592
59788
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
package/dist/index.esm.js
CHANGED
|
@@ -2297,25 +2297,29 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2297
2297
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
2298
2298
|
var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
|
|
2299
2299
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
2300
|
-
var
|
|
2300
|
+
var currentshowingimageindex_pro = props.actions.currentshowingimageindex;
|
|
2301
2301
|
var StoreInfoprops = props.actions.StoreInfoprops;
|
|
2302
|
-
|
|
2303
|
-
var _useState = useState(''),
|
|
2302
|
+
var _useState = useState(currentshowingimageindex_pro),
|
|
2304
2303
|
_useState2 = _slicedToArray(_useState, 2),
|
|
2305
|
-
|
|
2306
|
-
|
|
2304
|
+
currentshowingimageindex = _useState2[0],
|
|
2305
|
+
setcurrentshowingimageindex = _useState2[1];
|
|
2306
|
+
// const DescriptionContent = props.actions.DescriptionContent;
|
|
2307
2307
|
var _useState3 = useState(''),
|
|
2308
2308
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
var _useState5 = useState(
|
|
2312
|
-
_useState6 = _slicedToArray(_useState5, 2)
|
|
2313
|
-
_useState6[0]
|
|
2314
|
-
|
|
2315
|
-
var _useState7 = useState(
|
|
2309
|
+
shareUrl = _useState4[0],
|
|
2310
|
+
setshareUrl = _useState4[1];
|
|
2311
|
+
var _useState5 = useState(''),
|
|
2312
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
2313
|
+
title = _useState6[0],
|
|
2314
|
+
settitle = _useState6[1];
|
|
2315
|
+
var _useState7 = useState(fetchProductInfoQueryContext.data.data.productinfo),
|
|
2316
2316
|
_useState8 = _slicedToArray(_useState7, 2);
|
|
2317
2317
|
_useState8[0];
|
|
2318
|
-
var
|
|
2318
|
+
var setitem = _useState8[1];
|
|
2319
|
+
var _useState9 = useState(''),
|
|
2320
|
+
_useState10 = _slicedToArray(_useState9, 2);
|
|
2321
|
+
_useState10[0];
|
|
2322
|
+
var settotalprice = _useState10[1];
|
|
2319
2323
|
useEffect(function () {
|
|
2320
2324
|
var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
|
|
2321
2325
|
if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
|
|
@@ -2420,6 +2424,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2420
2424
|
totalprice = parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2);
|
|
2421
2425
|
}
|
|
2422
2426
|
settotalprice(totalprice);
|
|
2427
|
+
setcurrentshowingimageindex(props.actions.currentshowingimageindex);
|
|
2423
2428
|
}, [variantindexcompleted]);
|
|
2424
2429
|
var ProductsSKUContainer = function ProductsSKUContainer() {
|
|
2425
2430
|
return /*#__PURE__*/React.createElement("p", {
|
|
@@ -2525,7 +2530,10 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2525
2530
|
showNav: true,
|
|
2526
2531
|
showPlayButton: false,
|
|
2527
2532
|
showFullscreenButton: sectionproperties.showgalleryfullscreenbtn == 'Yes' ? true : false,
|
|
2528
|
-
startIndex: currentshowingimageindex
|
|
2533
|
+
startIndex: currentshowingimageindex,
|
|
2534
|
+
onSlide: function onSlide(d) {
|
|
2535
|
+
setcurrentshowingimageindex(d);
|
|
2536
|
+
}
|
|
2529
2537
|
})), productimagesarray.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
2530
2538
|
"class": "w-100 d-none d-md-block"
|
|
2531
2539
|
}, /*#__PURE__*/React.createElement(ImageGallery, {
|
|
@@ -2534,7 +2542,10 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2534
2542
|
showNav: false,
|
|
2535
2543
|
showPlayButton: false,
|
|
2536
2544
|
showFullscreenButton: true,
|
|
2537
|
-
startIndex: currentshowingimageindex
|
|
2545
|
+
startIndex: currentshowingimageindex,
|
|
2546
|
+
onSlide: function onSlide(d) {
|
|
2547
|
+
setcurrentshowingimageindex(d);
|
|
2548
|
+
}
|
|
2538
2549
|
})))), /*#__PURE__*/React.createElement("div", {
|
|
2539
2550
|
className: sectionproperties.gallerystyle == 'Style 1' ? sectionproperties.evencols == 'Yes' ? langdetect == 'en' ? 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-4 pr-0 pl-md-0 pr-md-0 pt-md-5' : 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-0 pr-4 pl-md-0 pr-md-0 pt-md-5' : langdetect == 'en' ? 'col-xl-7 col-lg-7 col-md-12 col-sm-12 pl-4 pr-0 p-md-0' : 'col-xl-7 col-lg-7 col-md-12 col-sm-12 pl-0 pr-4 p-md-0' : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
|
|
2540
2551
|
// className={
|
|
@@ -47133,7 +47144,7 @@ var Newsletterincenter = function Newsletterincenter(props) {
|
|
|
47133
47144
|
}, /*#__PURE__*/React.createElement("div", {
|
|
47134
47145
|
"class": "col-lg-12 p-0"
|
|
47135
47146
|
}, /*#__PURE__*/React.createElement("hr", null)), /*#__PURE__*/React.createElement("div", {
|
|
47136
|
-
"class": "col-lg-
|
|
47147
|
+
"class": "col-lg-12 col-md-12 d-flex justify-content-center align-items-center flex-row d-md-none"
|
|
47137
47148
|
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.facebooklink) != null && /*#__PURE__*/React.createElement("p", {
|
|
47138
47149
|
"class": footerStyles.facebook_btn + ' m-0 p-0 allcentered mx-3 ',
|
|
47139
47150
|
onClick: function onClick() {
|
|
@@ -47197,23 +47208,7 @@ var Newsletterincenter = function Newsletterincenter(props) {
|
|
|
47197
47208
|
}
|
|
47198
47209
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
47199
47210
|
size: sectionproperties.youtubebtniconfontsize
|
|
47200
|
-
})))
|
|
47201
|
-
"class": "col-lg-6 col-md-12 d-flex align-items-center justify-content-end justify-content-md-center flex-row"
|
|
47202
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
47203
|
-
"class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
47204
|
-
src: 'https://tabex-co.com/storage/StaticImages/appstore2.png',
|
|
47205
|
-
onClick: function onClick() {
|
|
47206
|
-
var _authdetailsContext$i24;
|
|
47207
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.mobileapplink_appstore, '_blank');
|
|
47208
|
-
}
|
|
47209
|
-
}), /*#__PURE__*/React.createElement("img", {
|
|
47210
|
-
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
47211
|
-
src: 'https://tabex-co.com/storage/StaticImages/googleplay2.png',
|
|
47212
|
-
onClick: function onClick() {
|
|
47213
|
-
var _authdetailsContext$i25;
|
|
47214
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.mobileapplink_playstore, '_blank');
|
|
47215
|
-
}
|
|
47216
|
-
})))));
|
|
47211
|
+
}))))));
|
|
47217
47212
|
};
|
|
47218
47213
|
|
|
47219
47214
|
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; }
|
|
@@ -53171,6 +53166,14 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53171
53166
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
53172
53167
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
53173
53168
|
props.actions.fetchcollectionsQueryContext;
|
|
53169
|
+
var _useState15 = useState(''),
|
|
53170
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
53171
|
+
from_date_filter_input = _useState16[0],
|
|
53172
|
+
setfrom_date_filter_input = _useState16[1];
|
|
53173
|
+
var _useState17 = useState(''),
|
|
53174
|
+
_useState18 = _slicedToArray(_useState17, 2),
|
|
53175
|
+
to_date_filter_input = _useState18[0],
|
|
53176
|
+
setto_date_filter_input = _useState18[1];
|
|
53174
53177
|
useEffect(function () {
|
|
53175
53178
|
var tempFetchQueriesEngineContext = _objectSpread$1a({}, FetchQueriesEngineContext);
|
|
53176
53179
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
@@ -53289,8 +53292,11 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53289
53292
|
})
|
|
53290
53293
|
};
|
|
53291
53294
|
return /*#__PURE__*/React.createElement("div", {
|
|
53292
|
-
"class": sectionstyles.container + ' allcentered mx-md-0 '
|
|
53293
|
-
|
|
53295
|
+
"class": sectionstyles.container + ' allcentered mx-md-0 ',
|
|
53296
|
+
style: {
|
|
53297
|
+
backgroundColor: '#f2f6f7'
|
|
53298
|
+
}
|
|
53299
|
+
}, imagesarray.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
53294
53300
|
"class": sectionstyles.imgcontainer,
|
|
53295
53301
|
style: {
|
|
53296
53302
|
width: '100%',
|
|
@@ -53539,7 +53545,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53539
53545
|
zIndex: 2
|
|
53540
53546
|
}
|
|
53541
53547
|
}, /*#__PURE__*/React.createElement("div", {
|
|
53542
|
-
"class":
|
|
53548
|
+
"class": imagesarray.length != 0 ? 'row m-0 w-100 d-flex align-items-center justify-content-start' : 'row m-0 w-100 d-flex align-items-center justify-content-center'
|
|
53543
53549
|
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
53544
53550
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
|
|
53545
53551
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -53719,6 +53725,52 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53719
53725
|
})));
|
|
53720
53726
|
}
|
|
53721
53727
|
})), /*#__PURE__*/React.createElement("div", {
|
|
53728
|
+
"class": "col-lg-3 col-md-12"
|
|
53729
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
53730
|
+
"class": "row m-0 w-100"
|
|
53731
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
53732
|
+
"class": "col-lg-12 p-0 text-start"
|
|
53733
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
53734
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
|
|
53735
|
+
style: {
|
|
53736
|
+
color: sectionproperties.form_labelcolor,
|
|
53737
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
53738
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
53739
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
53740
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
|
|
53741
|
+
}
|
|
53742
|
+
}, langdetect == 'en' ? 'From' : 'من')), /*#__PURE__*/React.createElement("div", {
|
|
53743
|
+
"class": "col-lg-12 p-0 text-start"
|
|
53744
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
53745
|
+
type: 'date',
|
|
53746
|
+
onChange: function onChange(e) {
|
|
53747
|
+
setfrom_date_filter_input(e.target.value);
|
|
53748
|
+
},
|
|
53749
|
+
value: from_date_filter_input,
|
|
53750
|
+
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
|
|
53751
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
53752
|
+
"class": "col-lg-3 col-md-12"
|
|
53753
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
53754
|
+
"class": "col-lg-12 p-0 text-start"
|
|
53755
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
53756
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
|
|
53757
|
+
style: {
|
|
53758
|
+
color: sectionproperties.form_labelcolor,
|
|
53759
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
53760
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
53761
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
53762
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
|
|
53763
|
+
}
|
|
53764
|
+
}, langdetect == 'en' ? 'To' : 'الى')), /*#__PURE__*/React.createElement("div", {
|
|
53765
|
+
"class": "col-lg-12 p-0 text-start"
|
|
53766
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
53767
|
+
type: 'date',
|
|
53768
|
+
onChange: function onChange(e) {
|
|
53769
|
+
setto_date_filter_input(e.target.value);
|
|
53770
|
+
},
|
|
53771
|
+
value: to_date_filter_input,
|
|
53772
|
+
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
|
|
53773
|
+
})), "\xA0"), /*#__PURE__*/React.createElement("div", {
|
|
53722
53774
|
"class": "col-lg-2 col-md-12 text-end",
|
|
53723
53775
|
style: {
|
|
53724
53776
|
marginLeft: langdetect == 'en' ? 'auto' : '',
|
|
@@ -53766,6 +53818,12 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53766
53818
|
if (productfeatuesarr != undefined && productfeatuesarr != null && Array.isArray(productfeatuesarr) && (productfeatuesarr === null || productfeatuesarr === void 0 ? void 0 : productfeatuesarr.length) != 0) {
|
|
53767
53819
|
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
53768
53820
|
}
|
|
53821
|
+
if (from_date_filter_input != undefined && from_date_filter_input != null && (from_date_filter_input === null || from_date_filter_input === void 0 ? void 0 : from_date_filter_input.length) != 0) {
|
|
53822
|
+
tempfetchproductsfilerobjcontext.from_date_filter = from_date_filter_input;
|
|
53823
|
+
}
|
|
53824
|
+
if (to_date_filter_input != undefined && to_date_filter_input != null && (to_date_filter_input === null || to_date_filter_input === void 0 ? void 0 : to_date_filter_input.length) != 0) {
|
|
53825
|
+
tempfetchproductsfilerobjcontext.to_date_filter = to_date_filter_input;
|
|
53826
|
+
}
|
|
53769
53827
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
53770
53828
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
53771
53829
|
}
|
|
@@ -59311,12 +59369,35 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59311
59369
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
59312
59370
|
bgimagearrayofobjs = _useState6[0],
|
|
59313
59371
|
setbgimagearrayofobjs = _useState6[1];
|
|
59372
|
+
var _useState7 = useState(''),
|
|
59373
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
59374
|
+
langg = _useState8[0],
|
|
59375
|
+
setlangg = _useState8[1];
|
|
59376
|
+
var _useState9 = useState(''),
|
|
59377
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
59378
|
+
curr = _useState10[0],
|
|
59379
|
+
setcurr = _useState10[1];
|
|
59380
|
+
var _useState11 = useState(false),
|
|
59381
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
59382
|
+
active = _useState12[0],
|
|
59383
|
+
setactive = _useState12[1];
|
|
59384
|
+
var _useState13 = useState(false),
|
|
59385
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
59386
|
+
active2 = _useState14[0],
|
|
59387
|
+
setactive2 = _useState14[1];
|
|
59388
|
+
var _useState15 = useState(false),
|
|
59389
|
+
_useState16 = _slicedToArray(_useState15, 2);
|
|
59390
|
+
_useState16[0];
|
|
59391
|
+
_useState16[1];
|
|
59314
59392
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
59315
59393
|
props.actions.lang;
|
|
59316
59394
|
var langdetect = props.actions.langdetect;
|
|
59317
59395
|
var routingcountext = props.actions.routingcountext;
|
|
59318
59396
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
59319
59397
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
59398
|
+
var setlang = props.actions.setlang;
|
|
59399
|
+
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
59400
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
59320
59401
|
useEffect(function () {
|
|
59321
59402
|
if (props.srcfrom == 'addsectionform') {
|
|
59322
59403
|
var secpropobj = {};
|
|
@@ -59439,8 +59520,103 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59439
59520
|
paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
|
|
59440
59521
|
paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
|
|
59441
59522
|
border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
|
|
59523
|
+
}),
|
|
59524
|
+
choice: css({
|
|
59525
|
+
width: 100,
|
|
59526
|
+
height: 40,
|
|
59527
|
+
border: '1px solid #000',
|
|
59528
|
+
color: '#000',
|
|
59529
|
+
':hover': {
|
|
59530
|
+
borderColor: sectionproperties.generalbtn_bgColoronhover,
|
|
59531
|
+
color: sectionproperties.generalbtn_bgColoronhover,
|
|
59532
|
+
transition: '.3s'
|
|
59533
|
+
}
|
|
59534
|
+
}),
|
|
59535
|
+
choiceactive: css({
|
|
59536
|
+
width: 100,
|
|
59537
|
+
height: 40,
|
|
59538
|
+
border: '1px solid ' + sectionproperties.generalbtn_bgColoronhover,
|
|
59539
|
+
color: sectionproperties.generalbtn_bgColoronhover
|
|
59442
59540
|
})
|
|
59443
59541
|
};
|
|
59542
|
+
var setcurrlang = function setcurrlang() {
|
|
59543
|
+
setlang(langg);
|
|
59544
|
+
setcurrencyfunccontext(curr);
|
|
59545
|
+
if (item.IsClickableimg == 'Yes') {
|
|
59546
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
59547
|
+
routingcountext(item.clickableimg_page_route, true, '');
|
|
59548
|
+
} else {
|
|
59549
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
59550
|
+
}
|
|
59551
|
+
}
|
|
59552
|
+
};
|
|
59553
|
+
var LanguageCurrencyCont = function LanguageCurrencyCont(item) {
|
|
59554
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
59555
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
59556
|
+
"class": "row m-0 w-100 mt-3"
|
|
59557
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
59558
|
+
"class": "col-lg-12 mb-3 text-start"
|
|
59559
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
59560
|
+
"class": "m-0 p-0",
|
|
59561
|
+
style: {
|
|
59562
|
+
fontSize: 20
|
|
59563
|
+
}
|
|
59564
|
+
}, langdetect == 'en' ? 'Language' : 'اللغة')), /*#__PURE__*/React.createElement("div", {
|
|
59565
|
+
"class": "col-lg-12 d-flex flex row mb-5 "
|
|
59566
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
59567
|
+
"class": active ? slideshow_styles.choiceactive + ' allcentered mx-2 ' : slideshow_styles.choice + ' allcentered mx-2 ',
|
|
59568
|
+
onClick: function onClick() {
|
|
59569
|
+
setlangg('en');
|
|
59570
|
+
setactive(true);
|
|
59571
|
+
setactive2(false);
|
|
59572
|
+
}
|
|
59573
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
59574
|
+
"class": "m-0 p-0"
|
|
59575
|
+
}, "English")), /*#__PURE__*/React.createElement("button", {
|
|
59576
|
+
"class": active2 ? slideshow_styles.choiceactive + ' allcentered mx-2 ' : slideshow_styles.choice + ' allcentered mx-2 ',
|
|
59577
|
+
onClick: function onClick() {
|
|
59578
|
+
setlangg('ar');
|
|
59579
|
+
setactive(false);
|
|
59580
|
+
setactive2(true);
|
|
59581
|
+
}
|
|
59582
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
59583
|
+
"class": "m-0 p-0"
|
|
59584
|
+
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629"))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instcurrencies) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.length) > 1 && /*#__PURE__*/React.createElement("div", {
|
|
59585
|
+
"class": "col-lg-12 mb-3 text-start"
|
|
59586
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
59587
|
+
"class": "m-0 p-0",
|
|
59588
|
+
style: {
|
|
59589
|
+
fontSize: 20
|
|
59590
|
+
}
|
|
59591
|
+
}, langdetect == 'en' ? 'Currency' : 'العملة')), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) > 1 && /*#__PURE__*/React.createElement("div", {
|
|
59592
|
+
"class": "col-lg-12 d-flex flex row mb-5"
|
|
59593
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
|
|
59594
|
+
var _authdetailsContext$i4;
|
|
59595
|
+
var temparr = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instcurrencies;
|
|
59596
|
+
temparr.forEach(function (getselcitem, getselindex) {
|
|
59597
|
+
getselcitem.isactive = false;
|
|
59598
|
+
});
|
|
59599
|
+
return /*#__PURE__*/React.createElement("button", {
|
|
59600
|
+
"class": item.isactive ? slideshow_styles.choiceactive + ' allcentered mx-2 ' : slideshow_styles.choice + ' allcentered mx-2 ',
|
|
59601
|
+
onClick: function onClick() {
|
|
59602
|
+
setcurr(item);
|
|
59603
|
+
temparr[index].isactive = true;
|
|
59604
|
+
}
|
|
59605
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
59606
|
+
"class": "m-0 p-0"
|
|
59607
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar));
|
|
59608
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
59609
|
+
"class": "col-lg-12 text-start"
|
|
59610
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
59611
|
+
"class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
|
|
59612
|
+
style: {
|
|
59613
|
+
letterSpacing: langdetect == 'en' ? '1px' : 0
|
|
59614
|
+
},
|
|
59615
|
+
onClick: function onClick() {
|
|
59616
|
+
setcurrlang();
|
|
59617
|
+
}
|
|
59618
|
+
}, langdetect == 'en' ? 'Confirm' : 'تأكيد', ' ')));
|
|
59619
|
+
};
|
|
59444
59620
|
return /*#__PURE__*/React.createElement("div", {
|
|
59445
59621
|
"class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
|
|
59446
59622
|
style: {
|
|
@@ -59505,7 +59681,17 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59505
59681
|
width: '100%',
|
|
59506
59682
|
height: '100%'
|
|
59507
59683
|
}
|
|
59508
|
-
}),
|
|
59684
|
+
}), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
59685
|
+
"class": 'row m-0 w-100 pl-md-2 pr-md-2',
|
|
59686
|
+
style: {
|
|
59687
|
+
position: 'absolute',
|
|
59688
|
+
top: '20%',
|
|
59689
|
+
zIndex: 1000,
|
|
59690
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
59691
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
59692
|
+
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
59693
|
+
}
|
|
59694
|
+
}, LanguageCurrencyCont()), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React.createElement("div", {
|
|
59509
59695
|
onClick: function onClick() {
|
|
59510
59696
|
if (item.IsClickableimg == 'Yes') {
|
|
59511
59697
|
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
@@ -59537,7 +59723,17 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59537
59723
|
width: '100%',
|
|
59538
59724
|
height: '100%'
|
|
59539
59725
|
}
|
|
59540
|
-
}),
|
|
59726
|
+
}), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
59727
|
+
"class": 'row m-0 w-100 pl-md-2 pr-md-2',
|
|
59728
|
+
style: {
|
|
59729
|
+
position: 'absolute',
|
|
59730
|
+
top: '20%',
|
|
59731
|
+
zIndex: 1000,
|
|
59732
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
59733
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
59734
|
+
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
59735
|
+
}
|
|
59736
|
+
}, LanguageCurrencyCont()), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)));
|
|
59541
59737
|
})), cardsarray.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
59542
59738
|
"class": "".concat(slideshow_styles.innerSection) + ' col-lg-9 col-md-10 col-sm-10 ml-auto mr-auto '
|
|
59543
59739
|
}, /*#__PURE__*/React.createElement("div", {
|
package/dist/index.umd.js
CHANGED
|
@@ -2172,25 +2172,29 @@
|
|
|
2172
2172
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
2173
2173
|
var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
|
|
2174
2174
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
2175
|
-
var
|
|
2175
|
+
var currentshowingimageindex_pro = props.actions.currentshowingimageindex;
|
|
2176
2176
|
var StoreInfoprops = props.actions.StoreInfoprops;
|
|
2177
|
-
|
|
2178
|
-
var _useState = React.useState(''),
|
|
2177
|
+
var _useState = React.useState(currentshowingimageindex_pro),
|
|
2179
2178
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
2180
|
-
|
|
2181
|
-
|
|
2179
|
+
currentshowingimageindex = _useState2[0],
|
|
2180
|
+
setcurrentshowingimageindex = _useState2[1];
|
|
2181
|
+
// const DescriptionContent = props.actions.DescriptionContent;
|
|
2182
2182
|
var _useState3 = React.useState(''),
|
|
2183
2183
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
var _useState5 = React.useState(
|
|
2187
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2)
|
|
2188
|
-
_useState6[0]
|
|
2189
|
-
|
|
2190
|
-
var _useState7 = React.useState(
|
|
2184
|
+
shareUrl = _useState4[0],
|
|
2185
|
+
setshareUrl = _useState4[1];
|
|
2186
|
+
var _useState5 = React.useState(''),
|
|
2187
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
2188
|
+
title = _useState6[0],
|
|
2189
|
+
settitle = _useState6[1];
|
|
2190
|
+
var _useState7 = React.useState(fetchProductInfoQueryContext.data.data.productinfo),
|
|
2191
2191
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
2192
2192
|
_useState8[0];
|
|
2193
|
-
var
|
|
2193
|
+
var setitem = _useState8[1];
|
|
2194
|
+
var _useState9 = React.useState(''),
|
|
2195
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2);
|
|
2196
|
+
_useState10[0];
|
|
2197
|
+
var settotalprice = _useState10[1];
|
|
2194
2198
|
React.useEffect(function () {
|
|
2195
2199
|
var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
|
|
2196
2200
|
if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
|
|
@@ -2295,6 +2299,7 @@
|
|
|
2295
2299
|
totalprice = parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2);
|
|
2296
2300
|
}
|
|
2297
2301
|
settotalprice(totalprice);
|
|
2302
|
+
setcurrentshowingimageindex(props.actions.currentshowingimageindex);
|
|
2298
2303
|
}, [variantindexcompleted]);
|
|
2299
2304
|
var ProductsSKUContainer = function ProductsSKUContainer() {
|
|
2300
2305
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -2400,7 +2405,10 @@
|
|
|
2400
2405
|
showNav: true,
|
|
2401
2406
|
showPlayButton: false,
|
|
2402
2407
|
showFullscreenButton: sectionproperties.showgalleryfullscreenbtn == 'Yes' ? true : false,
|
|
2403
|
-
startIndex: currentshowingimageindex
|
|
2408
|
+
startIndex: currentshowingimageindex,
|
|
2409
|
+
onSlide: function onSlide(d) {
|
|
2410
|
+
setcurrentshowingimageindex(d);
|
|
2411
|
+
}
|
|
2404
2412
|
})), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2405
2413
|
"class": "w-100 d-none d-md-block"
|
|
2406
2414
|
}, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
|
|
@@ -2409,7 +2417,10 @@
|
|
|
2409
2417
|
showNav: false,
|
|
2410
2418
|
showPlayButton: false,
|
|
2411
2419
|
showFullscreenButton: true,
|
|
2412
|
-
startIndex: currentshowingimageindex
|
|
2420
|
+
startIndex: currentshowingimageindex,
|
|
2421
|
+
onSlide: function onSlide(d) {
|
|
2422
|
+
setcurrentshowingimageindex(d);
|
|
2423
|
+
}
|
|
2413
2424
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2414
2425
|
className: sectionproperties.gallerystyle == 'Style 1' ? sectionproperties.evencols == 'Yes' ? langdetect == 'en' ? 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-4 pr-0 pl-md-0 pr-md-0 pt-md-5' : 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-0 pr-4 pl-md-0 pr-md-0 pt-md-5' : langdetect == 'en' ? 'col-xl-7 col-lg-7 col-md-12 col-sm-12 pl-4 pr-0 p-md-0' : 'col-xl-7 col-lg-7 col-md-12 col-sm-12 pl-0 pr-4 p-md-0' : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
|
|
2415
2426
|
// className={
|
|
@@ -47008,7 +47019,7 @@
|
|
|
47008
47019
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47009
47020
|
"class": "col-lg-12 p-0"
|
|
47010
47021
|
}, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47011
|
-
"class": "col-lg-
|
|
47022
|
+
"class": "col-lg-12 col-md-12 d-flex justify-content-center align-items-center flex-row d-md-none"
|
|
47012
47023
|
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
47013
47024
|
"class": footerStyles.facebook_btn + ' m-0 p-0 allcentered mx-3 ',
|
|
47014
47025
|
onClick: function onClick() {
|
|
@@ -47072,23 +47083,7 @@
|
|
|
47072
47083
|
}
|
|
47073
47084
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
47074
47085
|
size: sectionproperties.youtubebtniconfontsize
|
|
47075
|
-
})))
|
|
47076
|
-
"class": "col-lg-6 col-md-12 d-flex align-items-center justify-content-end justify-content-md-center flex-row"
|
|
47077
|
-
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
47078
|
-
"class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
47079
|
-
src: 'https://tabex-co.com/storage/StaticImages/appstore2.png',
|
|
47080
|
-
onClick: function onClick() {
|
|
47081
|
-
var _authdetailsContext$i24;
|
|
47082
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.mobileapplink_appstore, '_blank');
|
|
47083
|
-
}
|
|
47084
|
-
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
47085
|
-
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
47086
|
-
src: 'https://tabex-co.com/storage/StaticImages/googleplay2.png',
|
|
47087
|
-
onClick: function onClick() {
|
|
47088
|
-
var _authdetailsContext$i25;
|
|
47089
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.mobileapplink_playstore, '_blank');
|
|
47090
|
-
}
|
|
47091
|
-
})))));
|
|
47086
|
+
}))))));
|
|
47092
47087
|
};
|
|
47093
47088
|
|
|
47094
47089
|
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; }
|
|
@@ -53046,6 +53041,14 @@
|
|
|
53046
53041
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
53047
53042
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
53048
53043
|
props.actions.fetchcollectionsQueryContext;
|
|
53044
|
+
var _useState15 = React.useState(''),
|
|
53045
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
53046
|
+
from_date_filter_input = _useState16[0],
|
|
53047
|
+
setfrom_date_filter_input = _useState16[1];
|
|
53048
|
+
var _useState17 = React.useState(''),
|
|
53049
|
+
_useState18 = _slicedToArray__default["default"](_useState17, 2),
|
|
53050
|
+
to_date_filter_input = _useState18[0],
|
|
53051
|
+
setto_date_filter_input = _useState18[1];
|
|
53049
53052
|
React.useEffect(function () {
|
|
53050
53053
|
var tempFetchQueriesEngineContext = _objectSpread$1a({}, FetchQueriesEngineContext);
|
|
53051
53054
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
@@ -53164,8 +53167,11 @@
|
|
|
53164
53167
|
})
|
|
53165
53168
|
};
|
|
53166
53169
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53167
|
-
"class": sectionstyles.container + ' allcentered mx-md-0 '
|
|
53168
|
-
|
|
53170
|
+
"class": sectionstyles.container + ' allcentered mx-md-0 ',
|
|
53171
|
+
style: {
|
|
53172
|
+
backgroundColor: '#f2f6f7'
|
|
53173
|
+
}
|
|
53174
|
+
}, imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53169
53175
|
"class": sectionstyles.imgcontainer,
|
|
53170
53176
|
style: {
|
|
53171
53177
|
width: '100%',
|
|
@@ -53414,7 +53420,7 @@
|
|
|
53414
53420
|
zIndex: 2
|
|
53415
53421
|
}
|
|
53416
53422
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53417
|
-
"class":
|
|
53423
|
+
"class": imagesarray.length != 0 ? 'row m-0 w-100 d-flex align-items-center justify-content-start' : 'row m-0 w-100 d-flex align-items-center justify-content-center'
|
|
53418
53424
|
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53419
53425
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
|
|
53420
53426
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -53594,6 +53600,52 @@
|
|
|
53594
53600
|
})));
|
|
53595
53601
|
}
|
|
53596
53602
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53603
|
+
"class": "col-lg-3 col-md-12"
|
|
53604
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53605
|
+
"class": "row m-0 w-100"
|
|
53606
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53607
|
+
"class": "col-lg-12 p-0 text-start"
|
|
53608
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
53609
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
|
|
53610
|
+
style: {
|
|
53611
|
+
color: sectionproperties.form_labelcolor,
|
|
53612
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
53613
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
53614
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
53615
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
|
|
53616
|
+
}
|
|
53617
|
+
}, langdetect == 'en' ? 'From' : 'من')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53618
|
+
"class": "col-lg-12 p-0 text-start"
|
|
53619
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
53620
|
+
type: 'date',
|
|
53621
|
+
onChange: function onChange(e) {
|
|
53622
|
+
setfrom_date_filter_input(e.target.value);
|
|
53623
|
+
},
|
|
53624
|
+
value: from_date_filter_input,
|
|
53625
|
+
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
|
|
53626
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53627
|
+
"class": "col-lg-3 col-md-12"
|
|
53628
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53629
|
+
"class": "col-lg-12 p-0 text-start"
|
|
53630
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
53631
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
|
|
53632
|
+
style: {
|
|
53633
|
+
color: sectionproperties.form_labelcolor,
|
|
53634
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
53635
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
53636
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
53637
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
|
|
53638
|
+
}
|
|
53639
|
+
}, langdetect == 'en' ? 'To' : 'الى')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53640
|
+
"class": "col-lg-12 p-0 text-start"
|
|
53641
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
53642
|
+
type: 'date',
|
|
53643
|
+
onChange: function onChange(e) {
|
|
53644
|
+
setto_date_filter_input(e.target.value);
|
|
53645
|
+
},
|
|
53646
|
+
value: to_date_filter_input,
|
|
53647
|
+
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
|
|
53648
|
+
})), "\xA0"), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53597
53649
|
"class": "col-lg-2 col-md-12 text-end",
|
|
53598
53650
|
style: {
|
|
53599
53651
|
marginLeft: langdetect == 'en' ? 'auto' : '',
|
|
@@ -53641,6 +53693,12 @@
|
|
|
53641
53693
|
if (productfeatuesarr != undefined && productfeatuesarr != null && Array.isArray(productfeatuesarr) && (productfeatuesarr === null || productfeatuesarr === void 0 ? void 0 : productfeatuesarr.length) != 0) {
|
|
53642
53694
|
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
53643
53695
|
}
|
|
53696
|
+
if (from_date_filter_input != undefined && from_date_filter_input != null && (from_date_filter_input === null || from_date_filter_input === void 0 ? void 0 : from_date_filter_input.length) != 0) {
|
|
53697
|
+
tempfetchproductsfilerobjcontext.from_date_filter = from_date_filter_input;
|
|
53698
|
+
}
|
|
53699
|
+
if (to_date_filter_input != undefined && to_date_filter_input != null && (to_date_filter_input === null || to_date_filter_input === void 0 ? void 0 : to_date_filter_input.length) != 0) {
|
|
53700
|
+
tempfetchproductsfilerobjcontext.to_date_filter = to_date_filter_input;
|
|
53701
|
+
}
|
|
53644
53702
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
53645
53703
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
53646
53704
|
}
|
|
@@ -59186,12 +59244,35 @@
|
|
|
59186
59244
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
59187
59245
|
bgimagearrayofobjs = _useState6[0],
|
|
59188
59246
|
setbgimagearrayofobjs = _useState6[1];
|
|
59247
|
+
var _useState7 = React.useState(''),
|
|
59248
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
59249
|
+
langg = _useState8[0],
|
|
59250
|
+
setlangg = _useState8[1];
|
|
59251
|
+
var _useState9 = React.useState(''),
|
|
59252
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
59253
|
+
curr = _useState10[0],
|
|
59254
|
+
setcurr = _useState10[1];
|
|
59255
|
+
var _useState11 = React.useState(false),
|
|
59256
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
59257
|
+
active = _useState12[0],
|
|
59258
|
+
setactive = _useState12[1];
|
|
59259
|
+
var _useState13 = React.useState(false),
|
|
59260
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
59261
|
+
active2 = _useState14[0],
|
|
59262
|
+
setactive2 = _useState14[1];
|
|
59263
|
+
var _useState15 = React.useState(false),
|
|
59264
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2);
|
|
59265
|
+
_useState16[0];
|
|
59266
|
+
_useState16[1];
|
|
59189
59267
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
59190
59268
|
props.actions.lang;
|
|
59191
59269
|
var langdetect = props.actions.langdetect;
|
|
59192
59270
|
var routingcountext = props.actions.routingcountext;
|
|
59193
59271
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
59194
59272
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
59273
|
+
var setlang = props.actions.setlang;
|
|
59274
|
+
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
59275
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
59195
59276
|
React.useEffect(function () {
|
|
59196
59277
|
if (props.srcfrom == 'addsectionform') {
|
|
59197
59278
|
var secpropobj = {};
|
|
@@ -59314,8 +59395,103 @@
|
|
|
59314
59395
|
paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
|
|
59315
59396
|
paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
|
|
59316
59397
|
border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
|
|
59398
|
+
}),
|
|
59399
|
+
choice: glamor.css({
|
|
59400
|
+
width: 100,
|
|
59401
|
+
height: 40,
|
|
59402
|
+
border: '1px solid #000',
|
|
59403
|
+
color: '#000',
|
|
59404
|
+
':hover': {
|
|
59405
|
+
borderColor: sectionproperties.generalbtn_bgColoronhover,
|
|
59406
|
+
color: sectionproperties.generalbtn_bgColoronhover,
|
|
59407
|
+
transition: '.3s'
|
|
59408
|
+
}
|
|
59409
|
+
}),
|
|
59410
|
+
choiceactive: glamor.css({
|
|
59411
|
+
width: 100,
|
|
59412
|
+
height: 40,
|
|
59413
|
+
border: '1px solid ' + sectionproperties.generalbtn_bgColoronhover,
|
|
59414
|
+
color: sectionproperties.generalbtn_bgColoronhover
|
|
59317
59415
|
})
|
|
59318
59416
|
};
|
|
59417
|
+
var setcurrlang = function setcurrlang() {
|
|
59418
|
+
setlang(langg);
|
|
59419
|
+
setcurrencyfunccontext(curr);
|
|
59420
|
+
if (item.IsClickableimg == 'Yes') {
|
|
59421
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
59422
|
+
routingcountext(item.clickableimg_page_route, true, '');
|
|
59423
|
+
} else {
|
|
59424
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
59425
|
+
}
|
|
59426
|
+
}
|
|
59427
|
+
};
|
|
59428
|
+
var LanguageCurrencyCont = function LanguageCurrencyCont(item) {
|
|
59429
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
59430
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59431
|
+
"class": "row m-0 w-100 mt-3"
|
|
59432
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59433
|
+
"class": "col-lg-12 mb-3 text-start"
|
|
59434
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59435
|
+
"class": "m-0 p-0",
|
|
59436
|
+
style: {
|
|
59437
|
+
fontSize: 20
|
|
59438
|
+
}
|
|
59439
|
+
}, langdetect == 'en' ? 'Language' : 'اللغة')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59440
|
+
"class": "col-lg-12 d-flex flex row mb-5 "
|
|
59441
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59442
|
+
"class": active ? slideshow_styles.choiceactive + ' allcentered mx-2 ' : slideshow_styles.choice + ' allcentered mx-2 ',
|
|
59443
|
+
onClick: function onClick() {
|
|
59444
|
+
setlangg('en');
|
|
59445
|
+
setactive(true);
|
|
59446
|
+
setactive2(false);
|
|
59447
|
+
}
|
|
59448
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59449
|
+
"class": "m-0 p-0"
|
|
59450
|
+
}, "English")), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59451
|
+
"class": active2 ? slideshow_styles.choiceactive + ' allcentered mx-2 ' : slideshow_styles.choice + ' allcentered mx-2 ',
|
|
59452
|
+
onClick: function onClick() {
|
|
59453
|
+
setlangg('ar');
|
|
59454
|
+
setactive(false);
|
|
59455
|
+
setactive2(true);
|
|
59456
|
+
}
|
|
59457
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59458
|
+
"class": "m-0 p-0"
|
|
59459
|
+
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629"))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instcurrencies) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59460
|
+
"class": "col-lg-12 mb-3 text-start"
|
|
59461
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59462
|
+
"class": "m-0 p-0",
|
|
59463
|
+
style: {
|
|
59464
|
+
fontSize: 20
|
|
59465
|
+
}
|
|
59466
|
+
}, langdetect == 'en' ? 'Currency' : 'العملة')), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59467
|
+
"class": "col-lg-12 d-flex flex row mb-5"
|
|
59468
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
|
|
59469
|
+
var _authdetailsContext$i4;
|
|
59470
|
+
var temparr = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instcurrencies;
|
|
59471
|
+
temparr.forEach(function (getselcitem, getselindex) {
|
|
59472
|
+
getselcitem.isactive = false;
|
|
59473
|
+
});
|
|
59474
|
+
return /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59475
|
+
"class": item.isactive ? slideshow_styles.choiceactive + ' allcentered mx-2 ' : slideshow_styles.choice + ' allcentered mx-2 ',
|
|
59476
|
+
onClick: function onClick() {
|
|
59477
|
+
setcurr(item);
|
|
59478
|
+
temparr[index].isactive = true;
|
|
59479
|
+
}
|
|
59480
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59481
|
+
"class": "m-0 p-0"
|
|
59482
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar));
|
|
59483
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59484
|
+
"class": "col-lg-12 text-start"
|
|
59485
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59486
|
+
"class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
|
|
59487
|
+
style: {
|
|
59488
|
+
letterSpacing: langdetect == 'en' ? '1px' : 0
|
|
59489
|
+
},
|
|
59490
|
+
onClick: function onClick() {
|
|
59491
|
+
setcurrlang();
|
|
59492
|
+
}
|
|
59493
|
+
}, langdetect == 'en' ? 'Confirm' : 'تأكيد', ' ')));
|
|
59494
|
+
};
|
|
59319
59495
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59320
59496
|
"class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
|
|
59321
59497
|
style: {
|
|
@@ -59380,7 +59556,17 @@
|
|
|
59380
59556
|
width: '100%',
|
|
59381
59557
|
height: '100%'
|
|
59382
59558
|
}
|
|
59383
|
-
}),
|
|
59559
|
+
}), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59560
|
+
"class": 'row m-0 w-100 pl-md-2 pr-md-2',
|
|
59561
|
+
style: {
|
|
59562
|
+
position: 'absolute',
|
|
59563
|
+
top: '20%',
|
|
59564
|
+
zIndex: 1000,
|
|
59565
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
59566
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
59567
|
+
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
59568
|
+
}
|
|
59569
|
+
}, LanguageCurrencyCont()), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59384
59570
|
onClick: function onClick() {
|
|
59385
59571
|
if (item.IsClickableimg == 'Yes') {
|
|
59386
59572
|
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
@@ -59412,7 +59598,17 @@
|
|
|
59412
59598
|
width: '100%',
|
|
59413
59599
|
height: '100%'
|
|
59414
59600
|
}
|
|
59415
|
-
}),
|
|
59601
|
+
}), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59602
|
+
"class": 'row m-0 w-100 pl-md-2 pr-md-2',
|
|
59603
|
+
style: {
|
|
59604
|
+
position: 'absolute',
|
|
59605
|
+
top: '20%',
|
|
59606
|
+
zIndex: 1000,
|
|
59607
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
59608
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
59609
|
+
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
59610
|
+
}
|
|
59611
|
+
}, LanguageCurrencyCont()), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)));
|
|
59416
59612
|
})), cardsarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59417
59613
|
"class": "".concat(slideshow_styles.innerSection) + ' col-lg-9 col-md-10 col-sm-10 ml-auto mr-auto '
|
|
59418
59614
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|