tabexseriescomponents 0.0.552 → 0.0.553
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 +109 -55
- package/dist/index.esm.js +109 -55
- package/dist/index.umd.js +109 -55
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -56452,7 +56452,6 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
56452
56452
|
|
|
56453
56453
|
function ownKeys$$(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; }
|
|
56454
56454
|
function _objectSpread$$(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$$(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$$(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
56455
|
-
// 49
|
|
56456
56455
|
var DynamicForm = function DynamicForm(props) {
|
|
56457
56456
|
var _css, _dynamicform$fields, _dynamicform$fields2, _dynamicform$fields3, _dynamicform$fields4, _dynamicform$fields5;
|
|
56458
56457
|
props.actions.lang;
|
|
@@ -56482,30 +56481,38 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
56482
56481
|
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
56483
56482
|
confirmationtext = _useState10[0],
|
|
56484
56483
|
setconfirmationtext = _useState10[1];
|
|
56485
|
-
var _useState11 = React.useState(
|
|
56486
|
-
_useState12 = _slicedToArray__default["default"](_useState11, 2)
|
|
56487
|
-
|
|
56488
|
-
|
|
56489
|
-
var _useState13 = React.useState(
|
|
56490
|
-
_useState14 = _slicedToArray__default["default"](_useState13, 2)
|
|
56491
|
-
_useState14[0]
|
|
56492
|
-
|
|
56493
|
-
var _useState15 = React.useState(
|
|
56484
|
+
var _useState11 = React.useState(false),
|
|
56485
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2);
|
|
56486
|
+
_useState12[0];
|
|
56487
|
+
_useState12[1];
|
|
56488
|
+
var _useState13 = React.useState(25),
|
|
56489
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
56490
|
+
percentage = _useState14[0],
|
|
56491
|
+
setpercentage = _useState14[1];
|
|
56492
|
+
var _useState15 = React.useState(''),
|
|
56494
56493
|
_useState16 = _slicedToArray__default["default"](_useState15, 2);
|
|
56495
56494
|
_useState16[0];
|
|
56496
|
-
var
|
|
56495
|
+
var setnumberoffields = _useState16[1];
|
|
56497
56496
|
var _useState17 = React.useState(0),
|
|
56498
56497
|
_useState18 = _slicedToArray__default["default"](_useState17, 2);
|
|
56499
56498
|
_useState18[0];
|
|
56500
|
-
_useState18[1];
|
|
56499
|
+
var setnumberofslides = _useState18[1];
|
|
56501
56500
|
var _useState19 = React.useState(0),
|
|
56502
|
-
_useState20 = _slicedToArray__default["default"](_useState19, 2)
|
|
56503
|
-
|
|
56504
|
-
|
|
56501
|
+
_useState20 = _slicedToArray__default["default"](_useState19, 2);
|
|
56502
|
+
_useState20[0];
|
|
56503
|
+
_useState20[1];
|
|
56505
56504
|
var _useState21 = React.useState(0),
|
|
56506
|
-
_useState22 = _slicedToArray__default["default"](_useState21, 2)
|
|
56507
|
-
_useState22[0]
|
|
56508
|
-
|
|
56505
|
+
_useState22 = _slicedToArray__default["default"](_useState21, 2),
|
|
56506
|
+
currentindex = _useState22[0],
|
|
56507
|
+
setcurrentindex = _useState22[1];
|
|
56508
|
+
var _useState23 = React.useState(0),
|
|
56509
|
+
_useState24 = _slicedToArray__default["default"](_useState23, 2);
|
|
56510
|
+
_useState24[0];
|
|
56511
|
+
var setnumberoffiledinslide = _useState24[1];
|
|
56512
|
+
var _useState25 = React.useState(false),
|
|
56513
|
+
_useState26 = _slicedToArray__default["default"](_useState25, 2),
|
|
56514
|
+
showpopup = _useState26[0],
|
|
56515
|
+
setshowpopup = _useState26[1];
|
|
56509
56516
|
React.useEffect(function () {
|
|
56510
56517
|
var secpropobj = {};
|
|
56511
56518
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -56571,6 +56578,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
56571
56578
|
// setslots(data.data.slots);
|
|
56572
56579
|
// alert('done');
|
|
56573
56580
|
clearform();
|
|
56581
|
+
setshowpopup(true);
|
|
56574
56582
|
setconfirmationtext(langdetect == 'en' ? 'We have recieved your message' : 'تم استقبال رسالتك');
|
|
56575
56583
|
}
|
|
56576
56584
|
});
|
|
@@ -56907,15 +56915,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
56907
56915
|
width: "20px",
|
|
56908
56916
|
height: "20px",
|
|
56909
56917
|
duration: "1s"
|
|
56910
|
-
}) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56911
|
-
"class": "col-lg-12 allcentered my-4"
|
|
56912
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
56913
|
-
"class": "m-0 p-0",
|
|
56914
|
-
style: {
|
|
56915
|
-
fontSize: 20,
|
|
56916
|
-
color: '#000'
|
|
56917
|
-
}
|
|
56918
|
-
}, confirmationtext))))), dynamicformid != '49' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56918
|
+
}) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))), dynamicformid != '49' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56919
56919
|
"class": "row m-0 w-100"
|
|
56920
56920
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56921
56921
|
"class": "col-lg-12 text-start",
|
|
@@ -56957,15 +56957,41 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
56957
56957
|
width: "20px",
|
|
56958
56958
|
height: "20px",
|
|
56959
56959
|
duration: "1s"
|
|
56960
|
-
}) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement(
|
|
56961
|
-
|
|
56960
|
+
}) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
|
|
56961
|
+
show: showpopup,
|
|
56962
|
+
onHide: function onHide() {
|
|
56963
|
+
setshowpopup(false);
|
|
56964
|
+
},
|
|
56965
|
+
centered: true,
|
|
56966
|
+
size: 'md'
|
|
56967
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56968
|
+
className: "allcentered bgdanger-hover cursor-pointer",
|
|
56969
|
+
onClick: function onClick() {
|
|
56970
|
+
setshowpopup(false);
|
|
56971
|
+
},
|
|
56972
|
+
style: {
|
|
56973
|
+
position: 'absolute',
|
|
56974
|
+
top: -40,
|
|
56975
|
+
backgroundColor: '#000',
|
|
56976
|
+
width: 35,
|
|
56977
|
+
height: 35,
|
|
56978
|
+
right: 0
|
|
56979
|
+
}
|
|
56980
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
56981
|
+
"class": "h-100 allcentered text-black"
|
|
56982
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
56983
|
+
size: 20,
|
|
56984
|
+
"class": "",
|
|
56985
|
+
color: '#fff'
|
|
56986
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56987
|
+
"class": "col-lg-12 allcentered my-4 py-4"
|
|
56962
56988
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
56963
56989
|
"class": "m-0 p-0",
|
|
56964
56990
|
style: {
|
|
56965
56991
|
fontSize: 20,
|
|
56966
56992
|
color: '#000'
|
|
56967
56993
|
}
|
|
56968
|
-
}, confirmationtext)))));
|
|
56994
|
+
}, confirmationtext))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
56969
56995
|
};
|
|
56970
56996
|
|
|
56971
56997
|
function ownKeys$_(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; }
|
|
@@ -59672,17 +59698,18 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59672
59698
|
color: sectionproperties.generalbtn_bgColoronhover
|
|
59673
59699
|
})
|
|
59674
59700
|
};
|
|
59675
|
-
var setcurrlang = function setcurrlang() {
|
|
59701
|
+
var setcurrlang = function setcurrlang(item) {
|
|
59676
59702
|
setlang(langg);
|
|
59677
59703
|
setcurrencyfunccontext(curr);
|
|
59678
|
-
if (item.IsClickableimg == 'Yes') {
|
|
59679
|
-
|
|
59680
|
-
|
|
59681
|
-
|
|
59682
|
-
|
|
59683
|
-
|
|
59684
|
-
}
|
|
59704
|
+
// if (item.IsClickableimg == 'Yes') {
|
|
59705
|
+
// if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
59706
|
+
// routingcountext(item.clickableimg_page_route, true, '');
|
|
59707
|
+
// } else {
|
|
59708
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
59709
|
+
// }
|
|
59710
|
+
// }
|
|
59685
59711
|
};
|
|
59712
|
+
|
|
59686
59713
|
var LanguageCurrencyCont = function LanguageCurrencyCont(item) {
|
|
59687
59714
|
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
59688
59715
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -59690,7 +59717,7 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59690
59717
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59691
59718
|
"class": "col-lg-12 mb-3 text-start"
|
|
59692
59719
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59693
|
-
"class":
|
|
59720
|
+
"class": langdetect == 'en' ? 'm-0 p-0 mr-auto' : 'm-0 p-0 ml-auto',
|
|
59694
59721
|
style: {
|
|
59695
59722
|
fontSize: 20
|
|
59696
59723
|
}
|
|
@@ -59702,6 +59729,9 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59702
59729
|
setlangg('en');
|
|
59703
59730
|
setactive(true);
|
|
59704
59731
|
setactive2(false);
|
|
59732
|
+
},
|
|
59733
|
+
style: {
|
|
59734
|
+
marginLeft: langdetect == 'en' ? '' : 'auto'
|
|
59705
59735
|
}
|
|
59706
59736
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59707
59737
|
"class": "m-0 p-0"
|
|
@@ -59717,7 +59747,7 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59717
59747
|
}, "\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", {
|
|
59718
59748
|
"class": "col-lg-12 mb-3 text-start"
|
|
59719
59749
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59720
|
-
"class":
|
|
59750
|
+
"class": langdetect == 'en' ? 'm-0 p-0 mr-auto' : 'm-0 p-0 ml-auto',
|
|
59721
59751
|
style: {
|
|
59722
59752
|
fontSize: 20
|
|
59723
59753
|
}
|
|
@@ -59734,6 +59764,9 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59734
59764
|
onClick: function onClick() {
|
|
59735
59765
|
setcurr(item);
|
|
59736
59766
|
temparr[index].isactive = true;
|
|
59767
|
+
},
|
|
59768
|
+
style: {
|
|
59769
|
+
marginLeft: langdetect == 'en' ? '' : 'auto'
|
|
59737
59770
|
}
|
|
59738
59771
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59739
59772
|
"class": "m-0 p-0"
|
|
@@ -59743,12 +59776,27 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59743
59776
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59744
59777
|
"class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
|
|
59745
59778
|
style: {
|
|
59746
|
-
letterSpacing: langdetect == 'en' ? '1px' : 0
|
|
59779
|
+
letterSpacing: langdetect == 'en' ? '1px' : 0,
|
|
59780
|
+
marginLeft: langdetect == 'en' ? '' : 'auto'
|
|
59747
59781
|
},
|
|
59748
59782
|
onClick: function onClick() {
|
|
59749
59783
|
setcurrlang();
|
|
59750
59784
|
}
|
|
59751
|
-
}, langdetect == 'en' ? 'Confirm' : 'تأكيد', ' ')
|
|
59785
|
+
}, langdetect == 'en' ? 'Confirm' : 'تأكيد', ' '), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59786
|
+
"class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered mx-3 ',
|
|
59787
|
+
style: {
|
|
59788
|
+
letterSpacing: langdetect == 'en' ? '1px' : 0
|
|
59789
|
+
},
|
|
59790
|
+
onClick: function onClick() {
|
|
59791
|
+
if (item.IsClickableimg == 'Yes') {
|
|
59792
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
59793
|
+
routingcountext(item.clickableimg_page_route, true, '');
|
|
59794
|
+
} else {
|
|
59795
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
59796
|
+
}
|
|
59797
|
+
}
|
|
59798
|
+
}
|
|
59799
|
+
}, langdetect == 'en' ? 'SHOP' : 'تسوق', ' ')));
|
|
59752
59800
|
};
|
|
59753
59801
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59754
59802
|
"class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
|
|
@@ -59785,11 +59833,13 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59785
59833
|
}
|
|
59786
59834
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59787
59835
|
onClick: function onClick() {
|
|
59788
|
-
if (
|
|
59789
|
-
if (item.
|
|
59790
|
-
|
|
59791
|
-
|
|
59792
|
-
|
|
59836
|
+
if (sectionproperties.showcurrencylangcont != 'Show') {
|
|
59837
|
+
if (item.IsClickableimg == 'Yes') {
|
|
59838
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
59839
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
59840
|
+
} else {
|
|
59841
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
59842
|
+
}
|
|
59793
59843
|
}
|
|
59794
59844
|
}
|
|
59795
59845
|
},
|
|
@@ -59812,7 +59862,8 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59812
59862
|
margin: 0,
|
|
59813
59863
|
padding: 0,
|
|
59814
59864
|
width: '100%',
|
|
59815
|
-
height: '100%'
|
|
59865
|
+
height: '100%',
|
|
59866
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
59816
59867
|
}
|
|
59817
59868
|
}), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59818
59869
|
"class": 'row m-0 w-100 pl-md-2 pr-md-2',
|
|
@@ -59824,13 +59875,15 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59824
59875
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
59825
59876
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
59826
59877
|
}
|
|
59827
|
-
}, LanguageCurrencyCont()), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59878
|
+
}, LanguageCurrencyCont(item)), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59828
59879
|
onClick: function onClick() {
|
|
59829
|
-
if (
|
|
59830
|
-
if (item.
|
|
59831
|
-
|
|
59832
|
-
|
|
59833
|
-
|
|
59880
|
+
if (sectionproperties.showcurrencylangcont != 'Show') {
|
|
59881
|
+
if (item.IsClickableimg == 'Yes') {
|
|
59882
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
59883
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
59884
|
+
} else {
|
|
59885
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
59886
|
+
}
|
|
59834
59887
|
}
|
|
59835
59888
|
}
|
|
59836
59889
|
},
|
|
@@ -59854,7 +59907,8 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59854
59907
|
margin: 0,
|
|
59855
59908
|
padding: 0,
|
|
59856
59909
|
width: '100%',
|
|
59857
|
-
height: '100%'
|
|
59910
|
+
height: '100%',
|
|
59911
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
59858
59912
|
}
|
|
59859
59913
|
}), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59860
59914
|
"class": 'row m-0 w-100 pl-md-2 pr-md-2',
|
package/dist/index.esm.js
CHANGED
|
@@ -56403,7 +56403,6 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
56403
56403
|
|
|
56404
56404
|
function ownKeys$$(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; }
|
|
56405
56405
|
function _objectSpread$$(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$$(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$$(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
56406
|
-
// 49
|
|
56407
56406
|
var DynamicForm = function DynamicForm(props) {
|
|
56408
56407
|
var _css, _dynamicform$fields, _dynamicform$fields2, _dynamicform$fields3, _dynamicform$fields4, _dynamicform$fields5;
|
|
56409
56408
|
props.actions.lang;
|
|
@@ -56433,30 +56432,38 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
56433
56432
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
56434
56433
|
confirmationtext = _useState10[0],
|
|
56435
56434
|
setconfirmationtext = _useState10[1];
|
|
56436
|
-
var _useState11 = useState(
|
|
56437
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
56438
|
-
|
|
56439
|
-
|
|
56440
|
-
var _useState13 = useState(
|
|
56441
|
-
_useState14 = _slicedToArray(_useState13, 2)
|
|
56442
|
-
_useState14[0]
|
|
56443
|
-
|
|
56444
|
-
var _useState15 = useState(
|
|
56435
|
+
var _useState11 = useState(false),
|
|
56436
|
+
_useState12 = _slicedToArray(_useState11, 2);
|
|
56437
|
+
_useState12[0];
|
|
56438
|
+
_useState12[1];
|
|
56439
|
+
var _useState13 = useState(25),
|
|
56440
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
56441
|
+
percentage = _useState14[0],
|
|
56442
|
+
setpercentage = _useState14[1];
|
|
56443
|
+
var _useState15 = useState(''),
|
|
56445
56444
|
_useState16 = _slicedToArray(_useState15, 2);
|
|
56446
56445
|
_useState16[0];
|
|
56447
|
-
var
|
|
56446
|
+
var setnumberoffields = _useState16[1];
|
|
56448
56447
|
var _useState17 = useState(0),
|
|
56449
56448
|
_useState18 = _slicedToArray(_useState17, 2);
|
|
56450
56449
|
_useState18[0];
|
|
56451
|
-
_useState18[1];
|
|
56450
|
+
var setnumberofslides = _useState18[1];
|
|
56452
56451
|
var _useState19 = useState(0),
|
|
56453
|
-
_useState20 = _slicedToArray(_useState19, 2)
|
|
56454
|
-
|
|
56455
|
-
|
|
56452
|
+
_useState20 = _slicedToArray(_useState19, 2);
|
|
56453
|
+
_useState20[0];
|
|
56454
|
+
_useState20[1];
|
|
56456
56455
|
var _useState21 = useState(0),
|
|
56457
|
-
_useState22 = _slicedToArray(_useState21, 2)
|
|
56458
|
-
_useState22[0]
|
|
56459
|
-
|
|
56456
|
+
_useState22 = _slicedToArray(_useState21, 2),
|
|
56457
|
+
currentindex = _useState22[0],
|
|
56458
|
+
setcurrentindex = _useState22[1];
|
|
56459
|
+
var _useState23 = useState(0),
|
|
56460
|
+
_useState24 = _slicedToArray(_useState23, 2);
|
|
56461
|
+
_useState24[0];
|
|
56462
|
+
var setnumberoffiledinslide = _useState24[1];
|
|
56463
|
+
var _useState25 = useState(false),
|
|
56464
|
+
_useState26 = _slicedToArray(_useState25, 2),
|
|
56465
|
+
showpopup = _useState26[0],
|
|
56466
|
+
setshowpopup = _useState26[1];
|
|
56460
56467
|
useEffect(function () {
|
|
56461
56468
|
var secpropobj = {};
|
|
56462
56469
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -56522,6 +56529,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
56522
56529
|
// setslots(data.data.slots);
|
|
56523
56530
|
// alert('done');
|
|
56524
56531
|
clearform();
|
|
56532
|
+
setshowpopup(true);
|
|
56525
56533
|
setconfirmationtext(langdetect == 'en' ? 'We have recieved your message' : 'تم استقبال رسالتك');
|
|
56526
56534
|
}
|
|
56527
56535
|
});
|
|
@@ -56858,15 +56866,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
56858
56866
|
width: "20px",
|
|
56859
56867
|
height: "20px",
|
|
56860
56868
|
duration: "1s"
|
|
56861
|
-
}) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React.createElement("div", {
|
|
56862
|
-
"class": "col-lg-12 allcentered my-4"
|
|
56863
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
56864
|
-
"class": "m-0 p-0",
|
|
56865
|
-
style: {
|
|
56866
|
-
fontSize: 20,
|
|
56867
|
-
color: '#000'
|
|
56868
|
-
}
|
|
56869
|
-
}, confirmationtext))))), dynamicformid != '49' && /*#__PURE__*/React.createElement("div", {
|
|
56869
|
+
}) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))), dynamicformid != '49' && /*#__PURE__*/React.createElement("div", {
|
|
56870
56870
|
"class": "row m-0 w-100"
|
|
56871
56871
|
}, /*#__PURE__*/React.createElement("div", {
|
|
56872
56872
|
"class": "col-lg-12 text-start",
|
|
@@ -56908,15 +56908,41 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
56908
56908
|
width: "20px",
|
|
56909
56909
|
height: "20px",
|
|
56910
56910
|
duration: "1s"
|
|
56911
|
-
}) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React.createElement(
|
|
56912
|
-
|
|
56911
|
+
}) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), /*#__PURE__*/React.createElement(Modal, {
|
|
56912
|
+
show: showpopup,
|
|
56913
|
+
onHide: function onHide() {
|
|
56914
|
+
setshowpopup(false);
|
|
56915
|
+
},
|
|
56916
|
+
centered: true,
|
|
56917
|
+
size: 'md'
|
|
56918
|
+
}, /*#__PURE__*/React.createElement(Modal.Body, null, /*#__PURE__*/React.createElement("div", {
|
|
56919
|
+
className: "allcentered bgdanger-hover cursor-pointer",
|
|
56920
|
+
onClick: function onClick() {
|
|
56921
|
+
setshowpopup(false);
|
|
56922
|
+
},
|
|
56923
|
+
style: {
|
|
56924
|
+
position: 'absolute',
|
|
56925
|
+
top: -40,
|
|
56926
|
+
backgroundColor: '#000',
|
|
56927
|
+
width: 35,
|
|
56928
|
+
height: 35,
|
|
56929
|
+
right: 0
|
|
56930
|
+
}
|
|
56931
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
56932
|
+
"class": "h-100 allcentered text-black"
|
|
56933
|
+
}, /*#__PURE__*/React.createElement(IoMdClose, {
|
|
56934
|
+
size: 20,
|
|
56935
|
+
"class": "",
|
|
56936
|
+
color: '#fff'
|
|
56937
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
56938
|
+
"class": "col-lg-12 allcentered my-4 py-4"
|
|
56913
56939
|
}, /*#__PURE__*/React.createElement("p", {
|
|
56914
56940
|
"class": "m-0 p-0",
|
|
56915
56941
|
style: {
|
|
56916
56942
|
fontSize: 20,
|
|
56917
56943
|
color: '#000'
|
|
56918
56944
|
}
|
|
56919
|
-
}, confirmationtext)))));
|
|
56945
|
+
}, confirmationtext))), /*#__PURE__*/React.createElement(Modal.Footer, null)));
|
|
56920
56946
|
};
|
|
56921
56947
|
|
|
56922
56948
|
function ownKeys$_(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; }
|
|
@@ -59623,17 +59649,18 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59623
59649
|
color: sectionproperties.generalbtn_bgColoronhover
|
|
59624
59650
|
})
|
|
59625
59651
|
};
|
|
59626
|
-
var setcurrlang = function setcurrlang() {
|
|
59652
|
+
var setcurrlang = function setcurrlang(item) {
|
|
59627
59653
|
setlang(langg);
|
|
59628
59654
|
setcurrencyfunccontext(curr);
|
|
59629
|
-
if (item.IsClickableimg == 'Yes') {
|
|
59630
|
-
|
|
59631
|
-
|
|
59632
|
-
|
|
59633
|
-
|
|
59634
|
-
|
|
59635
|
-
}
|
|
59655
|
+
// if (item.IsClickableimg == 'Yes') {
|
|
59656
|
+
// if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
59657
|
+
// routingcountext(item.clickableimg_page_route, true, '');
|
|
59658
|
+
// } else {
|
|
59659
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
59660
|
+
// }
|
|
59661
|
+
// }
|
|
59636
59662
|
};
|
|
59663
|
+
|
|
59637
59664
|
var LanguageCurrencyCont = function LanguageCurrencyCont(item) {
|
|
59638
59665
|
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
59639
59666
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -59641,7 +59668,7 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59641
59668
|
}, /*#__PURE__*/React.createElement("div", {
|
|
59642
59669
|
"class": "col-lg-12 mb-3 text-start"
|
|
59643
59670
|
}, /*#__PURE__*/React.createElement("p", {
|
|
59644
|
-
"class":
|
|
59671
|
+
"class": langdetect == 'en' ? 'm-0 p-0 mr-auto' : 'm-0 p-0 ml-auto',
|
|
59645
59672
|
style: {
|
|
59646
59673
|
fontSize: 20
|
|
59647
59674
|
}
|
|
@@ -59653,6 +59680,9 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59653
59680
|
setlangg('en');
|
|
59654
59681
|
setactive(true);
|
|
59655
59682
|
setactive2(false);
|
|
59683
|
+
},
|
|
59684
|
+
style: {
|
|
59685
|
+
marginLeft: langdetect == 'en' ? '' : 'auto'
|
|
59656
59686
|
}
|
|
59657
59687
|
}, /*#__PURE__*/React.createElement("p", {
|
|
59658
59688
|
"class": "m-0 p-0"
|
|
@@ -59668,7 +59698,7 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59668
59698
|
}, "\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", {
|
|
59669
59699
|
"class": "col-lg-12 mb-3 text-start"
|
|
59670
59700
|
}, /*#__PURE__*/React.createElement("p", {
|
|
59671
|
-
"class":
|
|
59701
|
+
"class": langdetect == 'en' ? 'm-0 p-0 mr-auto' : 'm-0 p-0 ml-auto',
|
|
59672
59702
|
style: {
|
|
59673
59703
|
fontSize: 20
|
|
59674
59704
|
}
|
|
@@ -59685,6 +59715,9 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59685
59715
|
onClick: function onClick() {
|
|
59686
59716
|
setcurr(item);
|
|
59687
59717
|
temparr[index].isactive = true;
|
|
59718
|
+
},
|
|
59719
|
+
style: {
|
|
59720
|
+
marginLeft: langdetect == 'en' ? '' : 'auto'
|
|
59688
59721
|
}
|
|
59689
59722
|
}, /*#__PURE__*/React.createElement("p", {
|
|
59690
59723
|
"class": "m-0 p-0"
|
|
@@ -59694,12 +59727,27 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59694
59727
|
}, /*#__PURE__*/React.createElement("button", {
|
|
59695
59728
|
"class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
|
|
59696
59729
|
style: {
|
|
59697
|
-
letterSpacing: langdetect == 'en' ? '1px' : 0
|
|
59730
|
+
letterSpacing: langdetect == 'en' ? '1px' : 0,
|
|
59731
|
+
marginLeft: langdetect == 'en' ? '' : 'auto'
|
|
59698
59732
|
},
|
|
59699
59733
|
onClick: function onClick() {
|
|
59700
59734
|
setcurrlang();
|
|
59701
59735
|
}
|
|
59702
|
-
}, langdetect == 'en' ? 'Confirm' : 'تأكيد', ' ')
|
|
59736
|
+
}, langdetect == 'en' ? 'Confirm' : 'تأكيد', ' '), /*#__PURE__*/React.createElement("button", {
|
|
59737
|
+
"class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered mx-3 ',
|
|
59738
|
+
style: {
|
|
59739
|
+
letterSpacing: langdetect == 'en' ? '1px' : 0
|
|
59740
|
+
},
|
|
59741
|
+
onClick: function onClick() {
|
|
59742
|
+
if (item.IsClickableimg == 'Yes') {
|
|
59743
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
59744
|
+
routingcountext(item.clickableimg_page_route, true, '');
|
|
59745
|
+
} else {
|
|
59746
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
59747
|
+
}
|
|
59748
|
+
}
|
|
59749
|
+
}
|
|
59750
|
+
}, langdetect == 'en' ? 'SHOP' : 'تسوق', ' ')));
|
|
59703
59751
|
};
|
|
59704
59752
|
return /*#__PURE__*/React.createElement("div", {
|
|
59705
59753
|
"class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
|
|
@@ -59736,11 +59784,13 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59736
59784
|
}
|
|
59737
59785
|
}, /*#__PURE__*/React.createElement("div", {
|
|
59738
59786
|
onClick: function onClick() {
|
|
59739
|
-
if (
|
|
59740
|
-
if (item.
|
|
59741
|
-
|
|
59742
|
-
|
|
59743
|
-
|
|
59787
|
+
if (sectionproperties.showcurrencylangcont != 'Show') {
|
|
59788
|
+
if (item.IsClickableimg == 'Yes') {
|
|
59789
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
59790
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
59791
|
+
} else {
|
|
59792
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
59793
|
+
}
|
|
59744
59794
|
}
|
|
59745
59795
|
}
|
|
59746
59796
|
},
|
|
@@ -59763,7 +59813,8 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59763
59813
|
margin: 0,
|
|
59764
59814
|
padding: 0,
|
|
59765
59815
|
width: '100%',
|
|
59766
|
-
height: '100%'
|
|
59816
|
+
height: '100%',
|
|
59817
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
59767
59818
|
}
|
|
59768
59819
|
}), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
59769
59820
|
"class": 'row m-0 w-100 pl-md-2 pr-md-2',
|
|
@@ -59775,13 +59826,15 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59775
59826
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
59776
59827
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
59777
59828
|
}
|
|
59778
|
-
}, LanguageCurrencyCont()), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React.createElement("div", {
|
|
59829
|
+
}, LanguageCurrencyCont(item)), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React.createElement("div", {
|
|
59779
59830
|
onClick: function onClick() {
|
|
59780
|
-
if (
|
|
59781
|
-
if (item.
|
|
59782
|
-
|
|
59783
|
-
|
|
59784
|
-
|
|
59831
|
+
if (sectionproperties.showcurrencylangcont != 'Show') {
|
|
59832
|
+
if (item.IsClickableimg == 'Yes') {
|
|
59833
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
59834
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
59835
|
+
} else {
|
|
59836
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
59837
|
+
}
|
|
59785
59838
|
}
|
|
59786
59839
|
}
|
|
59787
59840
|
},
|
|
@@ -59805,7 +59858,8 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
59805
59858
|
margin: 0,
|
|
59806
59859
|
padding: 0,
|
|
59807
59860
|
width: '100%',
|
|
59808
|
-
height: '100%'
|
|
59861
|
+
height: '100%',
|
|
59862
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
59809
59863
|
}
|
|
59810
59864
|
}), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
59811
59865
|
"class": 'row m-0 w-100 pl-md-2 pr-md-2',
|
package/dist/index.umd.js
CHANGED
|
@@ -56276,7 +56276,6 @@
|
|
|
56276
56276
|
|
|
56277
56277
|
function ownKeys$$(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; }
|
|
56278
56278
|
function _objectSpread$$(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$$(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$$(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
56279
|
-
// 49
|
|
56280
56279
|
var DynamicForm = function DynamicForm(props) {
|
|
56281
56280
|
var _css, _dynamicform$fields, _dynamicform$fields2, _dynamicform$fields3, _dynamicform$fields4, _dynamicform$fields5;
|
|
56282
56281
|
props.actions.lang;
|
|
@@ -56306,30 +56305,38 @@
|
|
|
56306
56305
|
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
56307
56306
|
confirmationtext = _useState10[0],
|
|
56308
56307
|
setconfirmationtext = _useState10[1];
|
|
56309
|
-
var _useState11 = React.useState(
|
|
56310
|
-
_useState12 = _slicedToArray__default["default"](_useState11, 2)
|
|
56311
|
-
|
|
56312
|
-
|
|
56313
|
-
var _useState13 = React.useState(
|
|
56314
|
-
_useState14 = _slicedToArray__default["default"](_useState13, 2)
|
|
56315
|
-
_useState14[0]
|
|
56316
|
-
|
|
56317
|
-
var _useState15 = React.useState(
|
|
56308
|
+
var _useState11 = React.useState(false),
|
|
56309
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2);
|
|
56310
|
+
_useState12[0];
|
|
56311
|
+
_useState12[1];
|
|
56312
|
+
var _useState13 = React.useState(25),
|
|
56313
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
56314
|
+
percentage = _useState14[0],
|
|
56315
|
+
setpercentage = _useState14[1];
|
|
56316
|
+
var _useState15 = React.useState(''),
|
|
56318
56317
|
_useState16 = _slicedToArray__default["default"](_useState15, 2);
|
|
56319
56318
|
_useState16[0];
|
|
56320
|
-
var
|
|
56319
|
+
var setnumberoffields = _useState16[1];
|
|
56321
56320
|
var _useState17 = React.useState(0),
|
|
56322
56321
|
_useState18 = _slicedToArray__default["default"](_useState17, 2);
|
|
56323
56322
|
_useState18[0];
|
|
56324
|
-
_useState18[1];
|
|
56323
|
+
var setnumberofslides = _useState18[1];
|
|
56325
56324
|
var _useState19 = React.useState(0),
|
|
56326
|
-
_useState20 = _slicedToArray__default["default"](_useState19, 2)
|
|
56327
|
-
|
|
56328
|
-
|
|
56325
|
+
_useState20 = _slicedToArray__default["default"](_useState19, 2);
|
|
56326
|
+
_useState20[0];
|
|
56327
|
+
_useState20[1];
|
|
56329
56328
|
var _useState21 = React.useState(0),
|
|
56330
|
-
_useState22 = _slicedToArray__default["default"](_useState21, 2)
|
|
56331
|
-
_useState22[0]
|
|
56332
|
-
|
|
56329
|
+
_useState22 = _slicedToArray__default["default"](_useState21, 2),
|
|
56330
|
+
currentindex = _useState22[0],
|
|
56331
|
+
setcurrentindex = _useState22[1];
|
|
56332
|
+
var _useState23 = React.useState(0),
|
|
56333
|
+
_useState24 = _slicedToArray__default["default"](_useState23, 2);
|
|
56334
|
+
_useState24[0];
|
|
56335
|
+
var setnumberoffiledinslide = _useState24[1];
|
|
56336
|
+
var _useState25 = React.useState(false),
|
|
56337
|
+
_useState26 = _slicedToArray__default["default"](_useState25, 2),
|
|
56338
|
+
showpopup = _useState26[0],
|
|
56339
|
+
setshowpopup = _useState26[1];
|
|
56333
56340
|
React.useEffect(function () {
|
|
56334
56341
|
var secpropobj = {};
|
|
56335
56342
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -56395,6 +56402,7 @@
|
|
|
56395
56402
|
// setslots(data.data.slots);
|
|
56396
56403
|
// alert('done');
|
|
56397
56404
|
clearform();
|
|
56405
|
+
setshowpopup(true);
|
|
56398
56406
|
setconfirmationtext(langdetect == 'en' ? 'We have recieved your message' : 'تم استقبال رسالتك');
|
|
56399
56407
|
}
|
|
56400
56408
|
});
|
|
@@ -56731,15 +56739,7 @@
|
|
|
56731
56739
|
width: "20px",
|
|
56732
56740
|
height: "20px",
|
|
56733
56741
|
duration: "1s"
|
|
56734
|
-
}) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56735
|
-
"class": "col-lg-12 allcentered my-4"
|
|
56736
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
56737
|
-
"class": "m-0 p-0",
|
|
56738
|
-
style: {
|
|
56739
|
-
fontSize: 20,
|
|
56740
|
-
color: '#000'
|
|
56741
|
-
}
|
|
56742
|
-
}, confirmationtext))))), dynamicformid != '49' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56742
|
+
}) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))), dynamicformid != '49' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56743
56743
|
"class": "row m-0 w-100"
|
|
56744
56744
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56745
56745
|
"class": "col-lg-12 text-start",
|
|
@@ -56781,15 +56781,41 @@
|
|
|
56781
56781
|
width: "20px",
|
|
56782
56782
|
height: "20px",
|
|
56783
56783
|
duration: "1s"
|
|
56784
|
-
}) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement(
|
|
56785
|
-
|
|
56784
|
+
}) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
|
|
56785
|
+
show: showpopup,
|
|
56786
|
+
onHide: function onHide() {
|
|
56787
|
+
setshowpopup(false);
|
|
56788
|
+
},
|
|
56789
|
+
centered: true,
|
|
56790
|
+
size: 'md'
|
|
56791
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56792
|
+
className: "allcentered bgdanger-hover cursor-pointer",
|
|
56793
|
+
onClick: function onClick() {
|
|
56794
|
+
setshowpopup(false);
|
|
56795
|
+
},
|
|
56796
|
+
style: {
|
|
56797
|
+
position: 'absolute',
|
|
56798
|
+
top: -40,
|
|
56799
|
+
backgroundColor: '#000',
|
|
56800
|
+
width: 35,
|
|
56801
|
+
height: 35,
|
|
56802
|
+
right: 0
|
|
56803
|
+
}
|
|
56804
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
56805
|
+
"class": "h-100 allcentered text-black"
|
|
56806
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
56807
|
+
size: 20,
|
|
56808
|
+
"class": "",
|
|
56809
|
+
color: '#fff'
|
|
56810
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56811
|
+
"class": "col-lg-12 allcentered my-4 py-4"
|
|
56786
56812
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
56787
56813
|
"class": "m-0 p-0",
|
|
56788
56814
|
style: {
|
|
56789
56815
|
fontSize: 20,
|
|
56790
56816
|
color: '#000'
|
|
56791
56817
|
}
|
|
56792
|
-
}, confirmationtext)))));
|
|
56818
|
+
}, confirmationtext))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
56793
56819
|
};
|
|
56794
56820
|
|
|
56795
56821
|
function ownKeys$_(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; }
|
|
@@ -59496,17 +59522,18 @@
|
|
|
59496
59522
|
color: sectionproperties.generalbtn_bgColoronhover
|
|
59497
59523
|
})
|
|
59498
59524
|
};
|
|
59499
|
-
var setcurrlang = function setcurrlang() {
|
|
59525
|
+
var setcurrlang = function setcurrlang(item) {
|
|
59500
59526
|
setlang(langg);
|
|
59501
59527
|
setcurrencyfunccontext(curr);
|
|
59502
|
-
if (item.IsClickableimg == 'Yes') {
|
|
59503
|
-
|
|
59504
|
-
|
|
59505
|
-
|
|
59506
|
-
|
|
59507
|
-
|
|
59508
|
-
}
|
|
59528
|
+
// if (item.IsClickableimg == 'Yes') {
|
|
59529
|
+
// if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
59530
|
+
// routingcountext(item.clickableimg_page_route, true, '');
|
|
59531
|
+
// } else {
|
|
59532
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
59533
|
+
// }
|
|
59534
|
+
// }
|
|
59509
59535
|
};
|
|
59536
|
+
|
|
59510
59537
|
var LanguageCurrencyCont = function LanguageCurrencyCont(item) {
|
|
59511
59538
|
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
59512
59539
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -59514,7 +59541,7 @@
|
|
|
59514
59541
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59515
59542
|
"class": "col-lg-12 mb-3 text-start"
|
|
59516
59543
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59517
|
-
"class":
|
|
59544
|
+
"class": langdetect == 'en' ? 'm-0 p-0 mr-auto' : 'm-0 p-0 ml-auto',
|
|
59518
59545
|
style: {
|
|
59519
59546
|
fontSize: 20
|
|
59520
59547
|
}
|
|
@@ -59526,6 +59553,9 @@
|
|
|
59526
59553
|
setlangg('en');
|
|
59527
59554
|
setactive(true);
|
|
59528
59555
|
setactive2(false);
|
|
59556
|
+
},
|
|
59557
|
+
style: {
|
|
59558
|
+
marginLeft: langdetect == 'en' ? '' : 'auto'
|
|
59529
59559
|
}
|
|
59530
59560
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59531
59561
|
"class": "m-0 p-0"
|
|
@@ -59541,7 +59571,7 @@
|
|
|
59541
59571
|
}, "\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", {
|
|
59542
59572
|
"class": "col-lg-12 mb-3 text-start"
|
|
59543
59573
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59544
|
-
"class":
|
|
59574
|
+
"class": langdetect == 'en' ? 'm-0 p-0 mr-auto' : 'm-0 p-0 ml-auto',
|
|
59545
59575
|
style: {
|
|
59546
59576
|
fontSize: 20
|
|
59547
59577
|
}
|
|
@@ -59558,6 +59588,9 @@
|
|
|
59558
59588
|
onClick: function onClick() {
|
|
59559
59589
|
setcurr(item);
|
|
59560
59590
|
temparr[index].isactive = true;
|
|
59591
|
+
},
|
|
59592
|
+
style: {
|
|
59593
|
+
marginLeft: langdetect == 'en' ? '' : 'auto'
|
|
59561
59594
|
}
|
|
59562
59595
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59563
59596
|
"class": "m-0 p-0"
|
|
@@ -59567,12 +59600,27 @@
|
|
|
59567
59600
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59568
59601
|
"class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
|
|
59569
59602
|
style: {
|
|
59570
|
-
letterSpacing: langdetect == 'en' ? '1px' : 0
|
|
59603
|
+
letterSpacing: langdetect == 'en' ? '1px' : 0,
|
|
59604
|
+
marginLeft: langdetect == 'en' ? '' : 'auto'
|
|
59571
59605
|
},
|
|
59572
59606
|
onClick: function onClick() {
|
|
59573
59607
|
setcurrlang();
|
|
59574
59608
|
}
|
|
59575
|
-
}, langdetect == 'en' ? 'Confirm' : 'تأكيد', ' ')
|
|
59609
|
+
}, langdetect == 'en' ? 'Confirm' : 'تأكيد', ' '), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59610
|
+
"class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered mx-3 ',
|
|
59611
|
+
style: {
|
|
59612
|
+
letterSpacing: langdetect == 'en' ? '1px' : 0
|
|
59613
|
+
},
|
|
59614
|
+
onClick: function onClick() {
|
|
59615
|
+
if (item.IsClickableimg == 'Yes') {
|
|
59616
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
59617
|
+
routingcountext(item.clickableimg_page_route, true, '');
|
|
59618
|
+
} else {
|
|
59619
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
59620
|
+
}
|
|
59621
|
+
}
|
|
59622
|
+
}
|
|
59623
|
+
}, langdetect == 'en' ? 'SHOP' : 'تسوق', ' ')));
|
|
59576
59624
|
};
|
|
59577
59625
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59578
59626
|
"class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
|
|
@@ -59609,11 +59657,13 @@
|
|
|
59609
59657
|
}
|
|
59610
59658
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59611
59659
|
onClick: function onClick() {
|
|
59612
|
-
if (
|
|
59613
|
-
if (item.
|
|
59614
|
-
|
|
59615
|
-
|
|
59616
|
-
|
|
59660
|
+
if (sectionproperties.showcurrencylangcont != 'Show') {
|
|
59661
|
+
if (item.IsClickableimg == 'Yes') {
|
|
59662
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
59663
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
59664
|
+
} else {
|
|
59665
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
59666
|
+
}
|
|
59617
59667
|
}
|
|
59618
59668
|
}
|
|
59619
59669
|
},
|
|
@@ -59636,7 +59686,8 @@
|
|
|
59636
59686
|
margin: 0,
|
|
59637
59687
|
padding: 0,
|
|
59638
59688
|
width: '100%',
|
|
59639
|
-
height: '100%'
|
|
59689
|
+
height: '100%',
|
|
59690
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
59640
59691
|
}
|
|
59641
59692
|
}), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59642
59693
|
"class": 'row m-0 w-100 pl-md-2 pr-md-2',
|
|
@@ -59648,13 +59699,15 @@
|
|
|
59648
59699
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
59649
59700
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
59650
59701
|
}
|
|
59651
|
-
}, LanguageCurrencyCont()), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59702
|
+
}, LanguageCurrencyCont(item)), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59652
59703
|
onClick: function onClick() {
|
|
59653
|
-
if (
|
|
59654
|
-
if (item.
|
|
59655
|
-
|
|
59656
|
-
|
|
59657
|
-
|
|
59704
|
+
if (sectionproperties.showcurrencylangcont != 'Show') {
|
|
59705
|
+
if (item.IsClickableimg == 'Yes') {
|
|
59706
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
59707
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
59708
|
+
} else {
|
|
59709
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
|
|
59710
|
+
}
|
|
59658
59711
|
}
|
|
59659
59712
|
}
|
|
59660
59713
|
},
|
|
@@ -59678,7 +59731,8 @@
|
|
|
59678
59731
|
margin: 0,
|
|
59679
59732
|
padding: 0,
|
|
59680
59733
|
width: '100%',
|
|
59681
|
-
height: '100%'
|
|
59734
|
+
height: '100%',
|
|
59735
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
59682
59736
|
}
|
|
59683
59737
|
}), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59684
59738
|
"class": 'row m-0 w-100 pl-md-2 pr-md-2',
|