tabexseriescomponents 0.0.805 → 0.0.807
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 +116 -22
- package/dist/index.esm.js +116 -22
- package/dist/index.umd.js +116 -22
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -11719,7 +11719,7 @@ var Checkout = function Checkout(props) {
|
|
|
11719
11719
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
11720
11720
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
11721
11721
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11722
|
-
type: '
|
|
11722
|
+
type: 'text',
|
|
11723
11723
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
11724
11724
|
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.mobile,
|
|
11725
11725
|
onChange: function onChange(event) {
|
|
@@ -32327,7 +32327,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
32327
32327
|
function ownKeys$1U(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; }
|
|
32328
32328
|
function _objectSpread$1U(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1U(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1U(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
32329
32329
|
var Header8 = function Header8(props) {
|
|
32330
|
-
var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$
|
|
32330
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i9, _authdetailsContext$i11, _authdetailsContext$i13, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i14, _authdetailsContext$i16, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _fetchcustomercartQue4, _fetchcustomercartQue5;
|
|
32331
32331
|
var actions = props.actions;
|
|
32332
32332
|
props.actions.history;
|
|
32333
32333
|
var lang = props.actions.lang;
|
|
@@ -32510,6 +32510,42 @@ var Header8 = function Header8(props) {
|
|
|
32510
32510
|
})));
|
|
32511
32511
|
};
|
|
32512
32512
|
var header_cssstyles = {
|
|
32513
|
+
floatingwaicon: glamor.css({
|
|
32514
|
+
position: 'fixed',
|
|
32515
|
+
bottom: sectionproperties.floatingwhatsapppositionfrombottom + 'px',
|
|
32516
|
+
right: sectionproperties.floatingwhatsapppositionfromright + 'px',
|
|
32517
|
+
zIndex: 999999,
|
|
32518
|
+
transition: 'all 0.3s ease-out',
|
|
32519
|
+
width: sectionproperties.floatingwhatsappiconwidth + 'px',
|
|
32520
|
+
height: sectionproperties.floatingwhatappiconheight + 'px',
|
|
32521
|
+
background: sectionproperties.floatingwhatappiconbgcolor,
|
|
32522
|
+
borderRadius: sectionproperties.floatingwhatsappiconborderradius + 'px',
|
|
32523
|
+
fontSize: sectionproperties.floatingwhatsappiconfontsize + 'px',
|
|
32524
|
+
color: sectionproperties.floatingwhatsappiconcolor,
|
|
32525
|
+
':hover': {
|
|
32526
|
+
color: sectionproperties.floatingwhatsappiconcoloronhover,
|
|
32527
|
+
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
32528
|
+
}
|
|
32529
|
+
}),
|
|
32530
|
+
fbfloatingicon: glamor.css({
|
|
32531
|
+
position: 'fixed',
|
|
32532
|
+
bottom: sectionproperties.floatingfbfrombottom + 'px',
|
|
32533
|
+
right: sectionproperties.floatingfbfromright + 'px',
|
|
32534
|
+
zIndex: 999999,
|
|
32535
|
+
transition: 'all 0.3s ease-out',
|
|
32536
|
+
width: sectionproperties.floatingfbiconwidth + 'px',
|
|
32537
|
+
height: sectionproperties.floatingfbiconheight + 'px',
|
|
32538
|
+
background: sectionproperties.floatingwhatappiconbgcolor,
|
|
32539
|
+
borderRadius: sectionproperties.floatingfbiconborderradius + 'px',
|
|
32540
|
+
fontSize: sectionproperties.floatingfbiconfontsize + 'px',
|
|
32541
|
+
color: sectionproperties.floatingfbiconiconcolor,
|
|
32542
|
+
':hover': {
|
|
32543
|
+
// color: 'white',
|
|
32544
|
+
// background: '#1877F2',
|
|
32545
|
+
color: sectionproperties.floatingfbiconiconcoloronhover,
|
|
32546
|
+
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
32547
|
+
}
|
|
32548
|
+
}),
|
|
32513
32549
|
headercontainer: glamor.css({
|
|
32514
32550
|
position: sectionproperties.headerstyles_position,
|
|
32515
32551
|
width: sectionproperties.header_width + 'vw',
|
|
@@ -32814,6 +32850,8 @@ var Header8 = function Header8(props) {
|
|
|
32814
32850
|
}
|
|
32815
32851
|
})
|
|
32816
32852
|
};
|
|
32853
|
+
var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessageen);
|
|
32854
|
+
var whatsappUrl_ar = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessagear);
|
|
32817
32855
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32818
32856
|
"class": "row w-100 ml-0 mr-0 d-flex justify-content-center",
|
|
32819
32857
|
style: {
|
|
@@ -32831,7 +32869,7 @@ var Header8 = function Header8(props) {
|
|
|
32831
32869
|
templateproperties_contextprops: templateproperties_context,
|
|
32832
32870
|
actions: actions
|
|
32833
32871
|
}), sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
32834
|
-
href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32872
|
+
href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.whatsappnumber),
|
|
32835
32873
|
target: '_blank',
|
|
32836
32874
|
style: {
|
|
32837
32875
|
position: 'fixed',
|
|
@@ -32847,7 +32885,63 @@ var Header8 = function Header8(props) {
|
|
|
32847
32885
|
height: '40px',
|
|
32848
32886
|
cursor: 'pointer'
|
|
32849
32887
|
}
|
|
32850
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
32888
|
+
})), sectionproperties.showfloatingwaicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
32889
|
+
href: langdetect == 'en' ? whatsappUrl : whatsappUrl_ar,
|
|
32890
|
+
target: "_blank",
|
|
32891
|
+
rel: "noopener noreferrer",
|
|
32892
|
+
style: {},
|
|
32893
|
+
"class": header_cssstyles.floatingwaicon + ' allcentered px-2 py-1 cursor-pointer '
|
|
32894
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
32895
|
+
size: sectionproperties.floatingwhatsappiconiconfontsize
|
|
32896
|
+
}), sectionproperties.floatingwhatsappiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
32897
|
+
"class": langdetect == 'en' ? 'ml-1' : 'mr-1'
|
|
32898
|
+
}, langdetect == 'en' ? sectionproperties.floatingwhatsappicontexten : sectionproperties.floatingwhatsappicontextar)), sectionproperties.instagramfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32899
|
+
"class": "".concat(header_cssstyles.fbfloatingicon) + ' allcentered cursor-pointer ',
|
|
32900
|
+
onClick: function onClick() {
|
|
32901
|
+
var _authdetailsContext$i5;
|
|
32902
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
32903
|
+
var _authdetailsContext$i6;
|
|
32904
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
|
|
32905
|
+
}
|
|
32906
|
+
},
|
|
32907
|
+
style: {
|
|
32908
|
+
bottom: 140
|
|
32909
|
+
}
|
|
32910
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
32911
|
+
size: 20
|
|
32912
|
+
})), sectionproperties.tiktonfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32913
|
+
"class": "".concat(header_cssstyles.fbfloatingicon) + ' allcentered cursor-pointer ',
|
|
32914
|
+
onClick: function onClick() {
|
|
32915
|
+
var _authdetailsContext$i7;
|
|
32916
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.tiktoklink) != null) {
|
|
32917
|
+
var _authdetailsContext$i8;
|
|
32918
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.tiktoklink, '_blank');
|
|
32919
|
+
}
|
|
32920
|
+
},
|
|
32921
|
+
style: {
|
|
32922
|
+
bottom: 80
|
|
32923
|
+
}
|
|
32924
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
32925
|
+
size: 20
|
|
32926
|
+
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32927
|
+
style: {
|
|
32928
|
+
position: 'fixed',
|
|
32929
|
+
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
32930
|
+
right: sectionproperties.floatingbtnfromright + 'px',
|
|
32931
|
+
zIndex: 999999,
|
|
32932
|
+
transition: 'all 0.3s ease-out',
|
|
32933
|
+
width: '100%'
|
|
32934
|
+
},
|
|
32935
|
+
"class": "text-end"
|
|
32936
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32937
|
+
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
32938
|
+
style: {},
|
|
32939
|
+
onClick: function onClick() {
|
|
32940
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
32941
|
+
}
|
|
32942
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
32943
|
+
"class": "m-0 p-0"
|
|
32944
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32851
32945
|
"class": "".concat(header_cssstyles.headercontainer) + ' row ml-0 mr-0 d-flex d-md-none align-items-center ',
|
|
32852
32946
|
style: {
|
|
32853
32947
|
position: sectionproperties.headerstyles_position,
|
|
@@ -32915,9 +33009,9 @@ var Header8 = function Header8(props) {
|
|
|
32915
33009
|
sytle: {
|
|
32916
33010
|
width: '200px'
|
|
32917
33011
|
}
|
|
32918
|
-
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32919
|
-
var _authdetailsContext$
|
|
32920
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33012
|
+
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.instcategories) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.map(function (item, index) {
|
|
33013
|
+
var _authdetailsContext$i10;
|
|
33014
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instcategories;
|
|
32921
33015
|
if (item.isshowntocustomers == 1) {
|
|
32922
33016
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32923
33017
|
"class": "w-100"
|
|
@@ -32930,9 +33024,9 @@ var Header8 = function Header8(props) {
|
|
|
32930
33024
|
"class": "w-100"
|
|
32931
33025
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
32932
33026
|
}
|
|
32933
|
-
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32934
|
-
var _authdetailsContext$
|
|
32935
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33027
|
+
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 || (_authdetailsContext$i11 = _authdetailsContext$i11.instcollections) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.map(function (item, index) {
|
|
33028
|
+
var _authdetailsContext$i12;
|
|
33029
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instcollections;
|
|
32936
33030
|
if (item.isshowntocustomers == 1) {
|
|
32937
33031
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32938
33032
|
"class": "w-100"
|
|
@@ -32983,7 +33077,7 @@ var Header8 = function Header8(props) {
|
|
|
32983
33077
|
"class": "d-flex align-items-center flex-column"
|
|
32984
33078
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
32985
33079
|
"class": header_cssstyles.storeinfotext + ' m-0 storeinfotext '
|
|
32986
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33080
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 || (_authdetailsContext$i13 = _authdetailsContext$i13.contactinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.mobile), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
32987
33081
|
"class": "mb-0 w-100",
|
|
32988
33082
|
style: {
|
|
32989
33083
|
textAlign: langdetect == 'en' ? 'right' : 'left',
|
|
@@ -33273,9 +33367,9 @@ var Header8 = function Header8(props) {
|
|
|
33273
33367
|
"class": langdetect == 'en' ? ' m-0 p-0 ml-2' : ' m-0 p-0 mr-2 '
|
|
33274
33368
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
33275
33369
|
"class": "w-100 mt-2"
|
|
33276
|
-
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33277
|
-
var _authdetailsContext$
|
|
33278
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33370
|
+
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 || (_authdetailsContext$i14 = _authdetailsContext$i14.instcategories) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.map(function (item, index) {
|
|
33371
|
+
var _authdetailsContext$i15;
|
|
33372
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.instcategories;
|
|
33279
33373
|
if (item.isshowntocustomers == 1) {
|
|
33280
33374
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33281
33375
|
"class": "w-100"
|
|
@@ -33288,16 +33382,16 @@ var Header8 = function Header8(props) {
|
|
|
33288
33382
|
"class": "w-100"
|
|
33289
33383
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
33290
33384
|
}
|
|
33291
|
-
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33292
|
-
var _authdetailsContext$
|
|
33293
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33385
|
+
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 || (_authdetailsContext$i16 = _authdetailsContext$i16.instcollections) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.map(function (item, index) {
|
|
33386
|
+
var _authdetailsContext$i17;
|
|
33387
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instcollections;
|
|
33294
33388
|
if (item.isshowntocustomers == 1) {
|
|
33295
33389
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33296
33390
|
"class": "w-100"
|
|
33297
33391
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
33298
33392
|
}
|
|
33299
33393
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33300
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33394
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.instcurrencies) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.length) > 1 ? 'col-lg-8' : sectionproperties.btninsearch != 'Show' && sectionproperties.generalbtn_show == 'Show' ? 'col-xl-10 col-lg-9 flex-row d-flex align-items-center justify-content-start' : 'col-xl-12 col-lg-9 flex-row d-flex align-items-center justify-content-start'
|
|
33301
33395
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33302
33396
|
"class": ' scrollhorizontal w-100 align-items-center justify-content-start ',
|
|
33303
33397
|
style: {
|
|
@@ -33330,7 +33424,7 @@ var Header8 = function Header8(props) {
|
|
|
33330
33424
|
paddingLeftprops: '25px',
|
|
33331
33425
|
paddingRightprops: '25px'
|
|
33332
33426
|
}
|
|
33333
|
-
})), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33427
|
+
})), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 || (_authdetailsContext$i19 = _authdetailsContext$i19.instcurrencies) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33334
33428
|
"class": 'col-lg-2 d-flex align-items-center justify-content-end '
|
|
33335
33429
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
33336
33430
|
"class": ' d-flex align-items-center justify-content-center '
|
|
@@ -33342,8 +33436,8 @@ var Header8 = function Header8(props) {
|
|
|
33342
33436
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
33343
33437
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33344
33438
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
33345
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33346
|
-
var _authdetailsContext$
|
|
33439
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 || (_authdetailsContext$i20 = _authdetailsContext$i20.instcurrencies) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.map(function (item, index) {
|
|
33440
|
+
var _authdetailsContext$i21;
|
|
33347
33441
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
33348
33442
|
onClick: function onClick() {
|
|
33349
33443
|
setcurrencyfunccontext(item);
|
|
@@ -33363,7 +33457,7 @@ var Header8 = function Header8(props) {
|
|
|
33363
33457
|
}
|
|
33364
33458
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
33365
33459
|
"class": 'ml-2 mr-2'
|
|
33366
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33460
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.instcurrencies) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33367
33461
|
"class": "col-lg-12 p-0"
|
|
33368
33462
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
33369
33463
|
"class": "m-0"
|
package/dist/index.esm.js
CHANGED
|
@@ -11670,7 +11670,7 @@ var Checkout = function Checkout(props) {
|
|
|
11670
11670
|
}, /*#__PURE__*/React.createElement("label", {
|
|
11671
11671
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
11672
11672
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React.createElement("input", {
|
|
11673
|
-
type: '
|
|
11673
|
+
type: 'text',
|
|
11674
11674
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
11675
11675
|
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.mobile,
|
|
11676
11676
|
onChange: function onChange(event) {
|
|
@@ -32278,7 +32278,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
32278
32278
|
function ownKeys$1U(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; }
|
|
32279
32279
|
function _objectSpread$1U(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1U(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1U(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
32280
32280
|
var Header8 = function Header8(props) {
|
|
32281
|
-
var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$
|
|
32281
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i9, _authdetailsContext$i11, _authdetailsContext$i13, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i14, _authdetailsContext$i16, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _fetchcustomercartQue4, _fetchcustomercartQue5;
|
|
32282
32282
|
var actions = props.actions;
|
|
32283
32283
|
props.actions.history;
|
|
32284
32284
|
var lang = props.actions.lang;
|
|
@@ -32461,6 +32461,42 @@ var Header8 = function Header8(props) {
|
|
|
32461
32461
|
})));
|
|
32462
32462
|
};
|
|
32463
32463
|
var header_cssstyles = {
|
|
32464
|
+
floatingwaicon: css({
|
|
32465
|
+
position: 'fixed',
|
|
32466
|
+
bottom: sectionproperties.floatingwhatsapppositionfrombottom + 'px',
|
|
32467
|
+
right: sectionproperties.floatingwhatsapppositionfromright + 'px',
|
|
32468
|
+
zIndex: 999999,
|
|
32469
|
+
transition: 'all 0.3s ease-out',
|
|
32470
|
+
width: sectionproperties.floatingwhatsappiconwidth + 'px',
|
|
32471
|
+
height: sectionproperties.floatingwhatappiconheight + 'px',
|
|
32472
|
+
background: sectionproperties.floatingwhatappiconbgcolor,
|
|
32473
|
+
borderRadius: sectionproperties.floatingwhatsappiconborderradius + 'px',
|
|
32474
|
+
fontSize: sectionproperties.floatingwhatsappiconfontsize + 'px',
|
|
32475
|
+
color: sectionproperties.floatingwhatsappiconcolor,
|
|
32476
|
+
':hover': {
|
|
32477
|
+
color: sectionproperties.floatingwhatsappiconcoloronhover,
|
|
32478
|
+
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
32479
|
+
}
|
|
32480
|
+
}),
|
|
32481
|
+
fbfloatingicon: css({
|
|
32482
|
+
position: 'fixed',
|
|
32483
|
+
bottom: sectionproperties.floatingfbfrombottom + 'px',
|
|
32484
|
+
right: sectionproperties.floatingfbfromright + 'px',
|
|
32485
|
+
zIndex: 999999,
|
|
32486
|
+
transition: 'all 0.3s ease-out',
|
|
32487
|
+
width: sectionproperties.floatingfbiconwidth + 'px',
|
|
32488
|
+
height: sectionproperties.floatingfbiconheight + 'px',
|
|
32489
|
+
background: sectionproperties.floatingwhatappiconbgcolor,
|
|
32490
|
+
borderRadius: sectionproperties.floatingfbiconborderradius + 'px',
|
|
32491
|
+
fontSize: sectionproperties.floatingfbiconfontsize + 'px',
|
|
32492
|
+
color: sectionproperties.floatingfbiconiconcolor,
|
|
32493
|
+
':hover': {
|
|
32494
|
+
// color: 'white',
|
|
32495
|
+
// background: '#1877F2',
|
|
32496
|
+
color: sectionproperties.floatingfbiconiconcoloronhover,
|
|
32497
|
+
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
32498
|
+
}
|
|
32499
|
+
}),
|
|
32464
32500
|
headercontainer: css({
|
|
32465
32501
|
position: sectionproperties.headerstyles_position,
|
|
32466
32502
|
width: sectionproperties.header_width + 'vw',
|
|
@@ -32765,6 +32801,8 @@ var Header8 = function Header8(props) {
|
|
|
32765
32801
|
}
|
|
32766
32802
|
})
|
|
32767
32803
|
};
|
|
32804
|
+
var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessageen);
|
|
32805
|
+
var whatsappUrl_ar = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessagear);
|
|
32768
32806
|
return /*#__PURE__*/React.createElement("div", {
|
|
32769
32807
|
"class": "row w-100 ml-0 mr-0 d-flex justify-content-center",
|
|
32770
32808
|
style: {
|
|
@@ -32782,7 +32820,7 @@ var Header8 = function Header8(props) {
|
|
|
32782
32820
|
templateproperties_contextprops: templateproperties_context,
|
|
32783
32821
|
actions: actions
|
|
32784
32822
|
}), sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React.createElement("a", {
|
|
32785
|
-
href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32823
|
+
href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.whatsappnumber),
|
|
32786
32824
|
target: '_blank',
|
|
32787
32825
|
style: {
|
|
32788
32826
|
position: 'fixed',
|
|
@@ -32798,7 +32836,63 @@ var Header8 = function Header8(props) {
|
|
|
32798
32836
|
height: '40px',
|
|
32799
32837
|
cursor: 'pointer'
|
|
32800
32838
|
}
|
|
32801
|
-
})), /*#__PURE__*/React.createElement("
|
|
32839
|
+
})), sectionproperties.showfloatingwaicon == 'Show' && /*#__PURE__*/React.createElement("a", {
|
|
32840
|
+
href: langdetect == 'en' ? whatsappUrl : whatsappUrl_ar,
|
|
32841
|
+
target: "_blank",
|
|
32842
|
+
rel: "noopener noreferrer",
|
|
32843
|
+
style: {},
|
|
32844
|
+
"class": header_cssstyles.floatingwaicon + ' allcentered px-2 py-1 cursor-pointer '
|
|
32845
|
+
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
32846
|
+
size: sectionproperties.floatingwhatsappiconiconfontsize
|
|
32847
|
+
}), sectionproperties.floatingwhatsappiconfontsize != 0 && /*#__PURE__*/React.createElement("span", {
|
|
32848
|
+
"class": langdetect == 'en' ? 'ml-1' : 'mr-1'
|
|
32849
|
+
}, langdetect == 'en' ? sectionproperties.floatingwhatsappicontexten : sectionproperties.floatingwhatsappicontextar)), sectionproperties.instagramfloatingbtnshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
32850
|
+
"class": "".concat(header_cssstyles.fbfloatingicon) + ' allcentered cursor-pointer ',
|
|
32851
|
+
onClick: function onClick() {
|
|
32852
|
+
var _authdetailsContext$i5;
|
|
32853
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
32854
|
+
var _authdetailsContext$i6;
|
|
32855
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
|
|
32856
|
+
}
|
|
32857
|
+
},
|
|
32858
|
+
style: {
|
|
32859
|
+
bottom: 140
|
|
32860
|
+
}
|
|
32861
|
+
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
32862
|
+
size: 20
|
|
32863
|
+
})), sectionproperties.tiktonfloatingbtnshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
32864
|
+
"class": "".concat(header_cssstyles.fbfloatingicon) + ' allcentered cursor-pointer ',
|
|
32865
|
+
onClick: function onClick() {
|
|
32866
|
+
var _authdetailsContext$i7;
|
|
32867
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.tiktoklink) != null) {
|
|
32868
|
+
var _authdetailsContext$i8;
|
|
32869
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.tiktoklink, '_blank');
|
|
32870
|
+
}
|
|
32871
|
+
},
|
|
32872
|
+
style: {
|
|
32873
|
+
bottom: 80
|
|
32874
|
+
}
|
|
32875
|
+
}, /*#__PURE__*/React.createElement(IoLogoTiktok, {
|
|
32876
|
+
size: 20
|
|
32877
|
+
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
32878
|
+
style: {
|
|
32879
|
+
position: 'fixed',
|
|
32880
|
+
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
32881
|
+
right: sectionproperties.floatingbtnfromright + 'px',
|
|
32882
|
+
zIndex: 999999,
|
|
32883
|
+
transition: 'all 0.3s ease-out',
|
|
32884
|
+
width: '100%'
|
|
32885
|
+
},
|
|
32886
|
+
"class": "text-end"
|
|
32887
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
32888
|
+
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
32889
|
+
style: {},
|
|
32890
|
+
onClick: function onClick() {
|
|
32891
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
32892
|
+
}
|
|
32893
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
32894
|
+
"class": "m-0 p-0"
|
|
32895
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), /*#__PURE__*/React.createElement("div", {
|
|
32802
32896
|
"class": "".concat(header_cssstyles.headercontainer) + ' row ml-0 mr-0 d-flex d-md-none align-items-center ',
|
|
32803
32897
|
style: {
|
|
32804
32898
|
position: sectionproperties.headerstyles_position,
|
|
@@ -32866,9 +32960,9 @@ var Header8 = function Header8(props) {
|
|
|
32866
32960
|
sytle: {
|
|
32867
32961
|
width: '200px'
|
|
32868
32962
|
}
|
|
32869
|
-
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32870
|
-
var _authdetailsContext$
|
|
32871
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32963
|
+
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.instcategories) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.map(function (item, index) {
|
|
32964
|
+
var _authdetailsContext$i10;
|
|
32965
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instcategories;
|
|
32872
32966
|
if (item.isshowntocustomers == 1) {
|
|
32873
32967
|
return /*#__PURE__*/React.createElement("div", {
|
|
32874
32968
|
"class": "w-100"
|
|
@@ -32881,9 +32975,9 @@ var Header8 = function Header8(props) {
|
|
|
32881
32975
|
"class": "w-100"
|
|
32882
32976
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
32883
32977
|
}
|
|
32884
|
-
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32885
|
-
var _authdetailsContext$
|
|
32886
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32978
|
+
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 || (_authdetailsContext$i11 = _authdetailsContext$i11.instcollections) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.map(function (item, index) {
|
|
32979
|
+
var _authdetailsContext$i12;
|
|
32980
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instcollections;
|
|
32887
32981
|
if (item.isshowntocustomers == 1) {
|
|
32888
32982
|
return /*#__PURE__*/React.createElement("div", {
|
|
32889
32983
|
"class": "w-100"
|
|
@@ -32934,7 +33028,7 @@ var Header8 = function Header8(props) {
|
|
|
32934
33028
|
"class": "d-flex align-items-center flex-column"
|
|
32935
33029
|
}, /*#__PURE__*/React.createElement("p", {
|
|
32936
33030
|
"class": header_cssstyles.storeinfotext + ' m-0 storeinfotext '
|
|
32937
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33031
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 || (_authdetailsContext$i13 = _authdetailsContext$i13.contactinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.mobile), /*#__PURE__*/React.createElement("p", {
|
|
32938
33032
|
"class": "mb-0 w-100",
|
|
32939
33033
|
style: {
|
|
32940
33034
|
textAlign: langdetect == 'en' ? 'right' : 'left',
|
|
@@ -33224,9 +33318,9 @@ var Header8 = function Header8(props) {
|
|
|
33224
33318
|
"class": langdetect == 'en' ? ' m-0 p-0 ml-2' : ' m-0 p-0 mr-2 '
|
|
33225
33319
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React.createElement("ul", {
|
|
33226
33320
|
"class": "w-100 mt-2"
|
|
33227
|
-
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33228
|
-
var _authdetailsContext$
|
|
33229
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33321
|
+
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 || (_authdetailsContext$i14 = _authdetailsContext$i14.instcategories) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.map(function (item, index) {
|
|
33322
|
+
var _authdetailsContext$i15;
|
|
33323
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.instcategories;
|
|
33230
33324
|
if (item.isshowntocustomers == 1) {
|
|
33231
33325
|
return /*#__PURE__*/React.createElement("div", {
|
|
33232
33326
|
"class": "w-100"
|
|
@@ -33239,16 +33333,16 @@ var Header8 = function Header8(props) {
|
|
|
33239
33333
|
"class": "w-100"
|
|
33240
33334
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
33241
33335
|
}
|
|
33242
|
-
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33243
|
-
var _authdetailsContext$
|
|
33244
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33336
|
+
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 || (_authdetailsContext$i16 = _authdetailsContext$i16.instcollections) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.map(function (item, index) {
|
|
33337
|
+
var _authdetailsContext$i17;
|
|
33338
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instcollections;
|
|
33245
33339
|
if (item.isshowntocustomers == 1) {
|
|
33246
33340
|
return /*#__PURE__*/React.createElement("div", {
|
|
33247
33341
|
"class": "w-100"
|
|
33248
33342
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
33249
33343
|
}
|
|
33250
33344
|
}))))), /*#__PURE__*/React.createElement("div", {
|
|
33251
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33345
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.instcurrencies) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.length) > 1 ? 'col-lg-8' : sectionproperties.btninsearch != 'Show' && sectionproperties.generalbtn_show == 'Show' ? 'col-xl-10 col-lg-9 flex-row d-flex align-items-center justify-content-start' : 'col-xl-12 col-lg-9 flex-row d-flex align-items-center justify-content-start'
|
|
33252
33346
|
}, /*#__PURE__*/React.createElement("div", {
|
|
33253
33347
|
"class": ' scrollhorizontal w-100 align-items-center justify-content-start ',
|
|
33254
33348
|
style: {
|
|
@@ -33281,7 +33375,7 @@ var Header8 = function Header8(props) {
|
|
|
33281
33375
|
paddingLeftprops: '25px',
|
|
33282
33376
|
paddingRightprops: '25px'
|
|
33283
33377
|
}
|
|
33284
|
-
})), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33378
|
+
})), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 || (_authdetailsContext$i19 = _authdetailsContext$i19.instcurrencies) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.length) > 1 && /*#__PURE__*/React.createElement("div", {
|
|
33285
33379
|
"class": 'col-lg-2 d-flex align-items-center justify-content-end '
|
|
33286
33380
|
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
33287
33381
|
"class": ' d-flex align-items-center justify-content-center '
|
|
@@ -33293,8 +33387,8 @@ var Header8 = function Header8(props) {
|
|
|
33293
33387
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
33294
33388
|
}, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("p", {
|
|
33295
33389
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
33296
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33297
|
-
var _authdetailsContext$
|
|
33390
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 || (_authdetailsContext$i20 = _authdetailsContext$i20.instcurrencies) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.map(function (item, index) {
|
|
33391
|
+
var _authdetailsContext$i21;
|
|
33298
33392
|
return /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
33299
33393
|
onClick: function onClick() {
|
|
33300
33394
|
setcurrencyfunccontext(item);
|
|
@@ -33314,7 +33408,7 @@ var Header8 = function Header8(props) {
|
|
|
33314
33408
|
}
|
|
33315
33409
|
}, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("span", {
|
|
33316
33410
|
"class": 'ml-2 mr-2'
|
|
33317
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33411
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.instcurrencies) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.length) - 1 && /*#__PURE__*/React.createElement("div", {
|
|
33318
33412
|
"class": "col-lg-12 p-0"
|
|
33319
33413
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
33320
33414
|
"class": "m-0"
|
package/dist/index.umd.js
CHANGED
|
@@ -11535,7 +11535,7 @@
|
|
|
11535
11535
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
11536
11536
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
11537
11537
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
11538
|
-
type: '
|
|
11538
|
+
type: 'text',
|
|
11539
11539
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
11540
11540
|
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.mobile,
|
|
11541
11541
|
onChange: function onChange(event) {
|
|
@@ -32143,7 +32143,7 @@
|
|
|
32143
32143
|
function ownKeys$1U(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; }
|
|
32144
32144
|
function _objectSpread$1U(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1U(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1U(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
32145
32145
|
var Header8 = function Header8(props) {
|
|
32146
|
-
var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$
|
|
32146
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i9, _authdetailsContext$i11, _authdetailsContext$i13, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i14, _authdetailsContext$i16, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _fetchcustomercartQue4, _fetchcustomercartQue5;
|
|
32147
32147
|
var actions = props.actions;
|
|
32148
32148
|
props.actions.history;
|
|
32149
32149
|
var lang = props.actions.lang;
|
|
@@ -32326,6 +32326,42 @@
|
|
|
32326
32326
|
})));
|
|
32327
32327
|
};
|
|
32328
32328
|
var header_cssstyles = {
|
|
32329
|
+
floatingwaicon: glamor.css({
|
|
32330
|
+
position: 'fixed',
|
|
32331
|
+
bottom: sectionproperties.floatingwhatsapppositionfrombottom + 'px',
|
|
32332
|
+
right: sectionproperties.floatingwhatsapppositionfromright + 'px',
|
|
32333
|
+
zIndex: 999999,
|
|
32334
|
+
transition: 'all 0.3s ease-out',
|
|
32335
|
+
width: sectionproperties.floatingwhatsappiconwidth + 'px',
|
|
32336
|
+
height: sectionproperties.floatingwhatappiconheight + 'px',
|
|
32337
|
+
background: sectionproperties.floatingwhatappiconbgcolor,
|
|
32338
|
+
borderRadius: sectionproperties.floatingwhatsappiconborderradius + 'px',
|
|
32339
|
+
fontSize: sectionproperties.floatingwhatsappiconfontsize + 'px',
|
|
32340
|
+
color: sectionproperties.floatingwhatsappiconcolor,
|
|
32341
|
+
':hover': {
|
|
32342
|
+
color: sectionproperties.floatingwhatsappiconcoloronhover,
|
|
32343
|
+
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
32344
|
+
}
|
|
32345
|
+
}),
|
|
32346
|
+
fbfloatingicon: glamor.css({
|
|
32347
|
+
position: 'fixed',
|
|
32348
|
+
bottom: sectionproperties.floatingfbfrombottom + 'px',
|
|
32349
|
+
right: sectionproperties.floatingfbfromright + 'px',
|
|
32350
|
+
zIndex: 999999,
|
|
32351
|
+
transition: 'all 0.3s ease-out',
|
|
32352
|
+
width: sectionproperties.floatingfbiconwidth + 'px',
|
|
32353
|
+
height: sectionproperties.floatingfbiconheight + 'px',
|
|
32354
|
+
background: sectionproperties.floatingwhatappiconbgcolor,
|
|
32355
|
+
borderRadius: sectionproperties.floatingfbiconborderradius + 'px',
|
|
32356
|
+
fontSize: sectionproperties.floatingfbiconfontsize + 'px',
|
|
32357
|
+
color: sectionproperties.floatingfbiconiconcolor,
|
|
32358
|
+
':hover': {
|
|
32359
|
+
// color: 'white',
|
|
32360
|
+
// background: '#1877F2',
|
|
32361
|
+
color: sectionproperties.floatingfbiconiconcoloronhover,
|
|
32362
|
+
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
32363
|
+
}
|
|
32364
|
+
}),
|
|
32329
32365
|
headercontainer: glamor.css({
|
|
32330
32366
|
position: sectionproperties.headerstyles_position,
|
|
32331
32367
|
width: sectionproperties.header_width + 'vw',
|
|
@@ -32630,6 +32666,8 @@
|
|
|
32630
32666
|
}
|
|
32631
32667
|
})
|
|
32632
32668
|
};
|
|
32669
|
+
var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessageen);
|
|
32670
|
+
var whatsappUrl_ar = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessagear);
|
|
32633
32671
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32634
32672
|
"class": "row w-100 ml-0 mr-0 d-flex justify-content-center",
|
|
32635
32673
|
style: {
|
|
@@ -32647,7 +32685,7 @@
|
|
|
32647
32685
|
templateproperties_contextprops: templateproperties_context,
|
|
32648
32686
|
actions: actions
|
|
32649
32687
|
}), sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
32650
|
-
href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32688
|
+
href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.whatsappnumber),
|
|
32651
32689
|
target: '_blank',
|
|
32652
32690
|
style: {
|
|
32653
32691
|
position: 'fixed',
|
|
@@ -32663,7 +32701,63 @@
|
|
|
32663
32701
|
height: '40px',
|
|
32664
32702
|
cursor: 'pointer'
|
|
32665
32703
|
}
|
|
32666
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
32704
|
+
})), sectionproperties.showfloatingwaicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
32705
|
+
href: langdetect == 'en' ? whatsappUrl : whatsappUrl_ar,
|
|
32706
|
+
target: "_blank",
|
|
32707
|
+
rel: "noopener noreferrer",
|
|
32708
|
+
style: {},
|
|
32709
|
+
"class": header_cssstyles.floatingwaicon + ' allcentered px-2 py-1 cursor-pointer '
|
|
32710
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
32711
|
+
size: sectionproperties.floatingwhatsappiconiconfontsize
|
|
32712
|
+
}), sectionproperties.floatingwhatsappiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
32713
|
+
"class": langdetect == 'en' ? 'ml-1' : 'mr-1'
|
|
32714
|
+
}, langdetect == 'en' ? sectionproperties.floatingwhatsappicontexten : sectionproperties.floatingwhatsappicontextar)), sectionproperties.instagramfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32715
|
+
"class": "".concat(header_cssstyles.fbfloatingicon) + ' allcentered cursor-pointer ',
|
|
32716
|
+
onClick: function onClick() {
|
|
32717
|
+
var _authdetailsContext$i5;
|
|
32718
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
32719
|
+
var _authdetailsContext$i6;
|
|
32720
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
|
|
32721
|
+
}
|
|
32722
|
+
},
|
|
32723
|
+
style: {
|
|
32724
|
+
bottom: 140
|
|
32725
|
+
}
|
|
32726
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
32727
|
+
size: 20
|
|
32728
|
+
})), sectionproperties.tiktonfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32729
|
+
"class": "".concat(header_cssstyles.fbfloatingicon) + ' allcentered cursor-pointer ',
|
|
32730
|
+
onClick: function onClick() {
|
|
32731
|
+
var _authdetailsContext$i7;
|
|
32732
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.tiktoklink) != null) {
|
|
32733
|
+
var _authdetailsContext$i8;
|
|
32734
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.tiktoklink, '_blank');
|
|
32735
|
+
}
|
|
32736
|
+
},
|
|
32737
|
+
style: {
|
|
32738
|
+
bottom: 80
|
|
32739
|
+
}
|
|
32740
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
32741
|
+
size: 20
|
|
32742
|
+
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32743
|
+
style: {
|
|
32744
|
+
position: 'fixed',
|
|
32745
|
+
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
32746
|
+
right: sectionproperties.floatingbtnfromright + 'px',
|
|
32747
|
+
zIndex: 999999,
|
|
32748
|
+
transition: 'all 0.3s ease-out',
|
|
32749
|
+
width: '100%'
|
|
32750
|
+
},
|
|
32751
|
+
"class": "text-end"
|
|
32752
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32753
|
+
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
32754
|
+
style: {},
|
|
32755
|
+
onClick: function onClick() {
|
|
32756
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
32757
|
+
}
|
|
32758
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
32759
|
+
"class": "m-0 p-0"
|
|
32760
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32667
32761
|
"class": "".concat(header_cssstyles.headercontainer) + ' row ml-0 mr-0 d-flex d-md-none align-items-center ',
|
|
32668
32762
|
style: {
|
|
32669
32763
|
position: sectionproperties.headerstyles_position,
|
|
@@ -32731,9 +32825,9 @@
|
|
|
32731
32825
|
sytle: {
|
|
32732
32826
|
width: '200px'
|
|
32733
32827
|
}
|
|
32734
|
-
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32735
|
-
var _authdetailsContext$
|
|
32736
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32828
|
+
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.instcategories) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.map(function (item, index) {
|
|
32829
|
+
var _authdetailsContext$i10;
|
|
32830
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instcategories;
|
|
32737
32831
|
if (item.isshowntocustomers == 1) {
|
|
32738
32832
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32739
32833
|
"class": "w-100"
|
|
@@ -32746,9 +32840,9 @@
|
|
|
32746
32840
|
"class": "w-100"
|
|
32747
32841
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
32748
32842
|
}
|
|
32749
|
-
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32750
|
-
var _authdetailsContext$
|
|
32751
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32843
|
+
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 || (_authdetailsContext$i11 = _authdetailsContext$i11.instcollections) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.map(function (item, index) {
|
|
32844
|
+
var _authdetailsContext$i12;
|
|
32845
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instcollections;
|
|
32752
32846
|
if (item.isshowntocustomers == 1) {
|
|
32753
32847
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32754
32848
|
"class": "w-100"
|
|
@@ -32799,7 +32893,7 @@
|
|
|
32799
32893
|
"class": "d-flex align-items-center flex-column"
|
|
32800
32894
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
32801
32895
|
"class": header_cssstyles.storeinfotext + ' m-0 storeinfotext '
|
|
32802
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32896
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 || (_authdetailsContext$i13 = _authdetailsContext$i13.contactinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.mobile), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
32803
32897
|
"class": "mb-0 w-100",
|
|
32804
32898
|
style: {
|
|
32805
32899
|
textAlign: langdetect == 'en' ? 'right' : 'left',
|
|
@@ -33089,9 +33183,9 @@
|
|
|
33089
33183
|
"class": langdetect == 'en' ? ' m-0 p-0 ml-2' : ' m-0 p-0 mr-2 '
|
|
33090
33184
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
33091
33185
|
"class": "w-100 mt-2"
|
|
33092
|
-
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33093
|
-
var _authdetailsContext$
|
|
33094
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33186
|
+
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 || (_authdetailsContext$i14 = _authdetailsContext$i14.instcategories) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.map(function (item, index) {
|
|
33187
|
+
var _authdetailsContext$i15;
|
|
33188
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.instcategories;
|
|
33095
33189
|
if (item.isshowntocustomers == 1) {
|
|
33096
33190
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33097
33191
|
"class": "w-100"
|
|
@@ -33104,16 +33198,16 @@
|
|
|
33104
33198
|
"class": "w-100"
|
|
33105
33199
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
33106
33200
|
}
|
|
33107
|
-
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33108
|
-
var _authdetailsContext$
|
|
33109
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33201
|
+
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 || (_authdetailsContext$i16 = _authdetailsContext$i16.instcollections) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.map(function (item, index) {
|
|
33202
|
+
var _authdetailsContext$i17;
|
|
33203
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instcollections;
|
|
33110
33204
|
if (item.isshowntocustomers == 1) {
|
|
33111
33205
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33112
33206
|
"class": "w-100"
|
|
33113
33207
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
33114
33208
|
}
|
|
33115
33209
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33116
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33210
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.instcurrencies) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.length) > 1 ? 'col-lg-8' : sectionproperties.btninsearch != 'Show' && sectionproperties.generalbtn_show == 'Show' ? 'col-xl-10 col-lg-9 flex-row d-flex align-items-center justify-content-start' : 'col-xl-12 col-lg-9 flex-row d-flex align-items-center justify-content-start'
|
|
33117
33211
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33118
33212
|
"class": ' scrollhorizontal w-100 align-items-center justify-content-start ',
|
|
33119
33213
|
style: {
|
|
@@ -33146,7 +33240,7 @@
|
|
|
33146
33240
|
paddingLeftprops: '25px',
|
|
33147
33241
|
paddingRightprops: '25px'
|
|
33148
33242
|
}
|
|
33149
|
-
})), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33243
|
+
})), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 || (_authdetailsContext$i19 = _authdetailsContext$i19.instcurrencies) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33150
33244
|
"class": 'col-lg-2 d-flex align-items-center justify-content-end '
|
|
33151
33245
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
33152
33246
|
"class": ' d-flex align-items-center justify-content-center '
|
|
@@ -33158,8 +33252,8 @@
|
|
|
33158
33252
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
33159
33253
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33160
33254
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
33161
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33162
|
-
var _authdetailsContext$
|
|
33255
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 || (_authdetailsContext$i20 = _authdetailsContext$i20.instcurrencies) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.map(function (item, index) {
|
|
33256
|
+
var _authdetailsContext$i21;
|
|
33163
33257
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
33164
33258
|
onClick: function onClick() {
|
|
33165
33259
|
setcurrencyfunccontext(item);
|
|
@@ -33179,7 +33273,7 @@
|
|
|
33179
33273
|
}
|
|
33180
33274
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
33181
33275
|
"class": 'ml-2 mr-2'
|
|
33182
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33276
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.instcurrencies) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33183
33277
|
"class": "col-lg-12 p-0"
|
|
33184
33278
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
33185
33279
|
"class": "m-0"
|