tabexseriescomponents 0.0.547 → 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 +206 -5
- package/dist/index.esm.js +206 -5
- package/dist/index.umd.js +206 -5
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -53215,6 +53215,14 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53215
53215
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
53216
53216
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
53217
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];
|
|
53218
53226
|
React.useEffect(function () {
|
|
53219
53227
|
var tempFetchQueriesEngineContext = _objectSpread$1a({}, FetchQueriesEngineContext);
|
|
53220
53228
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
@@ -53333,8 +53341,11 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53333
53341
|
})
|
|
53334
53342
|
};
|
|
53335
53343
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53336
|
-
"class": sectionstyles.container + ' allcentered mx-md-0 '
|
|
53337
|
-
|
|
53344
|
+
"class": sectionstyles.container + ' allcentered mx-md-0 ',
|
|
53345
|
+
style: {
|
|
53346
|
+
backgroundColor: '#f2f6f7'
|
|
53347
|
+
}
|
|
53348
|
+
}, imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53338
53349
|
"class": sectionstyles.imgcontainer,
|
|
53339
53350
|
style: {
|
|
53340
53351
|
width: '100%',
|
|
@@ -53583,7 +53594,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53583
53594
|
zIndex: 2
|
|
53584
53595
|
}
|
|
53585
53596
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53586
|
-
"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'
|
|
53587
53598
|
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53588
53599
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
|
|
53589
53600
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -53763,6 +53774,52 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53763
53774
|
})));
|
|
53764
53775
|
}
|
|
53765
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", {
|
|
53766
53823
|
"class": "col-lg-2 col-md-12 text-end",
|
|
53767
53824
|
style: {
|
|
53768
53825
|
marginLeft: langdetect == 'en' ? 'auto' : '',
|
|
@@ -53810,6 +53867,12 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53810
53867
|
if (productfeatuesarr != undefined && productfeatuesarr != null && Array.isArray(productfeatuesarr) && (productfeatuesarr === null || productfeatuesarr === void 0 ? void 0 : productfeatuesarr.length) != 0) {
|
|
53811
53868
|
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
53812
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
|
+
}
|
|
53813
53876
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
53814
53877
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
53815
53878
|
}
|
|
@@ -59355,12 +59418,35 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59355
59418
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
59356
59419
|
bgimagearrayofobjs = _useState6[0],
|
|
59357
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];
|
|
59358
59441
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
59359
59442
|
props.actions.lang;
|
|
59360
59443
|
var langdetect = props.actions.langdetect;
|
|
59361
59444
|
var routingcountext = props.actions.routingcountext;
|
|
59362
59445
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
59363
59446
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
59447
|
+
var setlang = props.actions.setlang;
|
|
59448
|
+
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
59449
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
59364
59450
|
React.useEffect(function () {
|
|
59365
59451
|
if (props.srcfrom == 'addsectionform') {
|
|
59366
59452
|
var secpropobj = {};
|
|
@@ -59483,8 +59569,103 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59483
59569
|
paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
|
|
59484
59570
|
paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
|
|
59485
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
|
|
59486
59589
|
})
|
|
59487
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
|
+
};
|
|
59488
59669
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59489
59670
|
"class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
|
|
59490
59671
|
style: {
|
|
@@ -59549,7 +59730,17 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59549
59730
|
width: '100%',
|
|
59550
59731
|
height: '100%'
|
|
59551
59732
|
}
|
|
59552
|
-
}),
|
|
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", {
|
|
59553
59744
|
onClick: function onClick() {
|
|
59554
59745
|
if (item.IsClickableimg == 'Yes') {
|
|
59555
59746
|
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
@@ -59581,7 +59772,17 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59581
59772
|
width: '100%',
|
|
59582
59773
|
height: '100%'
|
|
59583
59774
|
}
|
|
59584
|
-
}),
|
|
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)));
|
|
59585
59786
|
})), cardsarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59586
59787
|
"class": "".concat(slideshow_styles.innerSection) + ' col-lg-9 col-md-10 col-sm-10 ml-auto mr-auto '
|
|
59587
59788
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
package/dist/index.esm.js
CHANGED
|
@@ -53166,6 +53166,14 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53166
53166
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
53167
53167
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
53168
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];
|
|
53169
53177
|
useEffect(function () {
|
|
53170
53178
|
var tempFetchQueriesEngineContext = _objectSpread$1a({}, FetchQueriesEngineContext);
|
|
53171
53179
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
@@ -53284,8 +53292,11 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53284
53292
|
})
|
|
53285
53293
|
};
|
|
53286
53294
|
return /*#__PURE__*/React.createElement("div", {
|
|
53287
|
-
"class": sectionstyles.container + ' allcentered mx-md-0 '
|
|
53288
|
-
|
|
53295
|
+
"class": sectionstyles.container + ' allcentered mx-md-0 ',
|
|
53296
|
+
style: {
|
|
53297
|
+
backgroundColor: '#f2f6f7'
|
|
53298
|
+
}
|
|
53299
|
+
}, imagesarray.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
53289
53300
|
"class": sectionstyles.imgcontainer,
|
|
53290
53301
|
style: {
|
|
53291
53302
|
width: '100%',
|
|
@@ -53534,7 +53545,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53534
53545
|
zIndex: 2
|
|
53535
53546
|
}
|
|
53536
53547
|
}, /*#__PURE__*/React.createElement("div", {
|
|
53537
|
-
"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'
|
|
53538
53549
|
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
53539
53550
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
|
|
53540
53551
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -53714,6 +53725,52 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53714
53725
|
})));
|
|
53715
53726
|
}
|
|
53716
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", {
|
|
53717
53774
|
"class": "col-lg-2 col-md-12 text-end",
|
|
53718
53775
|
style: {
|
|
53719
53776
|
marginLeft: langdetect == 'en' ? 'auto' : '',
|
|
@@ -53761,6 +53818,12 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
53761
53818
|
if (productfeatuesarr != undefined && productfeatuesarr != null && Array.isArray(productfeatuesarr) && (productfeatuesarr === null || productfeatuesarr === void 0 ? void 0 : productfeatuesarr.length) != 0) {
|
|
53762
53819
|
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
53763
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
|
+
}
|
|
53764
53827
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
53765
53828
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
53766
53829
|
}
|
|
@@ -59306,12 +59369,35 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59306
59369
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
59307
59370
|
bgimagearrayofobjs = _useState6[0],
|
|
59308
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];
|
|
59309
59392
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
59310
59393
|
props.actions.lang;
|
|
59311
59394
|
var langdetect = props.actions.langdetect;
|
|
59312
59395
|
var routingcountext = props.actions.routingcountext;
|
|
59313
59396
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
59314
59397
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
59398
|
+
var setlang = props.actions.setlang;
|
|
59399
|
+
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
59400
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
59315
59401
|
useEffect(function () {
|
|
59316
59402
|
if (props.srcfrom == 'addsectionform') {
|
|
59317
59403
|
var secpropobj = {};
|
|
@@ -59434,8 +59520,103 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59434
59520
|
paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
|
|
59435
59521
|
paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
|
|
59436
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
|
|
59437
59540
|
})
|
|
59438
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
|
+
};
|
|
59439
59620
|
return /*#__PURE__*/React.createElement("div", {
|
|
59440
59621
|
"class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
|
|
59441
59622
|
style: {
|
|
@@ -59500,7 +59681,17 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59500
59681
|
width: '100%',
|
|
59501
59682
|
height: '100%'
|
|
59502
59683
|
}
|
|
59503
|
-
}),
|
|
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", {
|
|
59504
59695
|
onClick: function onClick() {
|
|
59505
59696
|
if (item.IsClickableimg == 'Yes') {
|
|
59506
59697
|
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
@@ -59532,7 +59723,17 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59532
59723
|
width: '100%',
|
|
59533
59724
|
height: '100%'
|
|
59534
59725
|
}
|
|
59535
|
-
}),
|
|
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)));
|
|
59536
59737
|
})), cardsarray.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
59537
59738
|
"class": "".concat(slideshow_styles.innerSection) + ' col-lg-9 col-md-10 col-sm-10 ml-auto mr-auto '
|
|
59538
59739
|
}, /*#__PURE__*/React.createElement("div", {
|
package/dist/index.umd.js
CHANGED
|
@@ -53041,6 +53041,14 @@
|
|
|
53041
53041
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
53042
53042
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
53043
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];
|
|
53044
53052
|
React.useEffect(function () {
|
|
53045
53053
|
var tempFetchQueriesEngineContext = _objectSpread$1a({}, FetchQueriesEngineContext);
|
|
53046
53054
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
@@ -53159,8 +53167,11 @@
|
|
|
53159
53167
|
})
|
|
53160
53168
|
};
|
|
53161
53169
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53162
|
-
"class": sectionstyles.container + ' allcentered mx-md-0 '
|
|
53163
|
-
|
|
53170
|
+
"class": sectionstyles.container + ' allcentered mx-md-0 ',
|
|
53171
|
+
style: {
|
|
53172
|
+
backgroundColor: '#f2f6f7'
|
|
53173
|
+
}
|
|
53174
|
+
}, imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53164
53175
|
"class": sectionstyles.imgcontainer,
|
|
53165
53176
|
style: {
|
|
53166
53177
|
width: '100%',
|
|
@@ -53409,7 +53420,7 @@
|
|
|
53409
53420
|
zIndex: 2
|
|
53410
53421
|
}
|
|
53411
53422
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53412
|
-
"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'
|
|
53413
53424
|
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53414
53425
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
|
|
53415
53426
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -53589,6 +53600,52 @@
|
|
|
53589
53600
|
})));
|
|
53590
53601
|
}
|
|
53591
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", {
|
|
53592
53649
|
"class": "col-lg-2 col-md-12 text-end",
|
|
53593
53650
|
style: {
|
|
53594
53651
|
marginLeft: langdetect == 'en' ? 'auto' : '',
|
|
@@ -53636,6 +53693,12 @@
|
|
|
53636
53693
|
if (productfeatuesarr != undefined && productfeatuesarr != null && Array.isArray(productfeatuesarr) && (productfeatuesarr === null || productfeatuesarr === void 0 ? void 0 : productfeatuesarr.length) != 0) {
|
|
53637
53694
|
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
53638
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
|
+
}
|
|
53639
53702
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
53640
53703
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
53641
53704
|
}
|
|
@@ -59181,12 +59244,35 @@
|
|
|
59181
59244
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
59182
59245
|
bgimagearrayofobjs = _useState6[0],
|
|
59183
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];
|
|
59184
59267
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
59185
59268
|
props.actions.lang;
|
|
59186
59269
|
var langdetect = props.actions.langdetect;
|
|
59187
59270
|
var routingcountext = props.actions.routingcountext;
|
|
59188
59271
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
59189
59272
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
59273
|
+
var setlang = props.actions.setlang;
|
|
59274
|
+
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
59275
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
59190
59276
|
React.useEffect(function () {
|
|
59191
59277
|
if (props.srcfrom == 'addsectionform') {
|
|
59192
59278
|
var secpropobj = {};
|
|
@@ -59309,8 +59395,103 @@
|
|
|
59309
59395
|
paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
|
|
59310
59396
|
paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
|
|
59311
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
|
|
59312
59415
|
})
|
|
59313
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
|
+
};
|
|
59314
59495
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59315
59496
|
"class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
|
|
59316
59497
|
style: {
|
|
@@ -59375,7 +59556,17 @@
|
|
|
59375
59556
|
width: '100%',
|
|
59376
59557
|
height: '100%'
|
|
59377
59558
|
}
|
|
59378
|
-
}),
|
|
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", {
|
|
59379
59570
|
onClick: function onClick() {
|
|
59380
59571
|
if (item.IsClickableimg == 'Yes') {
|
|
59381
59572
|
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
@@ -59407,7 +59598,17 @@
|
|
|
59407
59598
|
width: '100%',
|
|
59408
59599
|
height: '100%'
|
|
59409
59600
|
}
|
|
59410
|
-
}),
|
|
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)));
|
|
59411
59612
|
})), cardsarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59412
59613
|
"class": "".concat(slideshow_styles.innerSection) + ' col-lg-9 col-md-10 col-sm-10 ml-auto mr-auto '
|
|
59413
59614
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|