tabexseriescomponents 0.2.888 → 0.2.889
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 +21 -13
- package/dist/index.esm.js +21 -13
- package/dist/index.umd.js +21 -13
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -26972,7 +26972,7 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
26972
26972
|
function ownKeys$1Y(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; }
|
|
26973
26973
|
function _objectSpread$1Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26974
26974
|
var Simpleheader = function Simpleheader(props) {
|
|
26975
|
-
var _authdetailsContext$i, _header_cssstyles, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$
|
|
26975
|
+
var _authdetailsContext$i, _header_cssstyles, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i0, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$c2, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
26976
26976
|
var actions = props.actions;
|
|
26977
26977
|
var _useState = React.useState(''),
|
|
26978
26978
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -27394,20 +27394,28 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27394
27394
|
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
27395
27395
|
if (item.isselected) ;
|
|
27396
27396
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
27397
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9
|
|
27397
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
|
|
27398
27398
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27399
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '67b1bb900a541' ? 'cursor-pointer p-2' :
|
|
27399
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '67b1bb900a541' ? 'cursor-pointer p-2' :
|
|
27400
|
+
// : authdetailsContext?.instinfo?.instid == '67d6bda67adf6'
|
|
27401
|
+
// ? 'cursor-pointer p-2'
|
|
27402
|
+
'cursor-pointer'
|
|
27400
27403
|
// scrollhorizontalcard
|
|
27401
27404
|
,
|
|
27402
27405
|
onClick: function onClick() {
|
|
27403
27406
|
routingcountext(item.navigationroute, false, '');
|
|
27404
27407
|
},
|
|
27405
27408
|
style: {
|
|
27406
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27409
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instid) == '67b1bb900a541' ? window.location.pathname == '/' + item.navigationroute ? '#36322c' : 'transparent' :
|
|
27410
|
+
// : authdetailsContext?.instinfo?.instid == '67d6bda67adf6'
|
|
27411
|
+
// ? window.location.pathname == '/' + item.navigationroute
|
|
27412
|
+
// ? '#14730D'
|
|
27413
|
+
// : 'tranparent'
|
|
27414
|
+
'transprent',
|
|
27407
27415
|
borderRadius: 100
|
|
27408
27416
|
}
|
|
27409
27417
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27410
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27418
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) == '67b1bb900a541' && window.location.pathname == '/' + item.navigationroute ? "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text, " ").concat(header_cssstyles.navbar_item_textactive) + ' p-0 mb-0 ' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '67d6bda67adf6' && window.location.pathname == '/' + item.navigationroute ? "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text, " ").concat(header_cssstyles.navbar_item_textactive) + ' p-0 mb-0 ' : "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 '
|
|
27411
27419
|
}, langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
27412
27420
|
}
|
|
27413
27421
|
})), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && /*#__PURE__*/React__default["default"].createElement(Subheader, {
|
|
@@ -27420,7 +27428,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27420
27428
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
27421
27429
|
}
|
|
27422
27430
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27423
|
-
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27431
|
+
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 || (_authdetailsContext$i0 = _authdetailsContext$i0.instcurrencies) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.length) > 1 ? 'col-lg-4 p-0 d-flex align-items-center justify-content-end' : 'col-lg-2 p-0 d-flex align-items-center justify-content-end' : 'col-lg-2 p-0 d-flex align-items-center justify-content-end'
|
|
27424
27432
|
}, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27425
27433
|
"class": sectionproperties.searchbaricon_fontsize == 0 ? header_cssstyles.searchicon + ' m-0 p-0 mx-2 ' : header_cssstyles.searchicon + ' m-0 p-0 mx-1 ',
|
|
27426
27434
|
style: {
|
|
@@ -27552,7 +27560,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27552
27560
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27553
27561
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
27554
27562
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27555
|
-
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27563
|
+
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) == '68248846ec6bc' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instid) == '68248846ec6bc' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
27556
27564
|
onClick: function onClick() {
|
|
27557
27565
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
27558
27566
|
}
|
|
@@ -27608,7 +27616,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27608
27616
|
"class": ' h-100 d-flex align-items-center '
|
|
27609
27617
|
}, /*#__PURE__*/React__default["default"].createElement(HiUserCircle.HiUserCircle, {
|
|
27610
27618
|
size: sectionproperties.userBtnTextfontsize
|
|
27611
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27619
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) == '67b1bb900a541' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
27612
27620
|
className: "mx-2",
|
|
27613
27621
|
style: {
|
|
27614
27622
|
fontSize: 18
|
|
@@ -27661,7 +27669,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27661
27669
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27662
27670
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
27663
27671
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27664
|
-
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27672
|
+
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) == '68248846ec6bc' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instid) == '68248846ec6bc' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
27665
27673
|
onClick: function onClick() {
|
|
27666
27674
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
27667
27675
|
}
|
|
@@ -27801,7 +27809,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27801
27809
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
27802
27810
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
27803
27811
|
"class": "ml-2 mr-2"
|
|
27804
|
-
}, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27812
|
+
}, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 || (_authdetailsContext$i14 = _authdetailsContext$i14.instcurrencies) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.length) > 1 && sectionproperties.showcurrency == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27805
27813
|
"class": ' d-flex align-items-center justify-content-end '
|
|
27806
27814
|
}, /*#__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", {
|
|
27807
27815
|
"class": ' d-flex align-items-center justify-content-center '
|
|
@@ -27813,8 +27821,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27813
27821
|
"class": header_cssstyles.currencycont + ' row m-0 w-100 d-flex align-items-center '
|
|
27814
27822
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27815
27823
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
27816
|
-
}, 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$
|
|
27817
|
-
var _authdetailsContext$
|
|
27824
|
+
}, 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$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 || (_authdetailsContext$i15 = _authdetailsContext$i15.instcurrencies) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.map(function (item, index) {
|
|
27825
|
+
var _authdetailsContext$i16;
|
|
27818
27826
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
27819
27827
|
onClick: function onClick() {
|
|
27820
27828
|
setcurrencyfunccontext(item);
|
|
@@ -27830,7 +27838,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27830
27838
|
style: {}
|
|
27831
27839
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
27832
27840
|
"class": 'ml-2 mr-2'
|
|
27833
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27841
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 || (_authdetailsContext$i16 = _authdetailsContext$i16.instcurrencies) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27834
27842
|
"class": "col-lg-12 p-0"
|
|
27835
27843
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
27836
27844
|
"class": "m-0"
|
package/dist/index.esm.js
CHANGED
|
@@ -26925,7 +26925,7 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
26925
26925
|
function ownKeys$1Y(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; }
|
|
26926
26926
|
function _objectSpread$1Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Y(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26927
26927
|
var Simpleheader = function Simpleheader(props) {
|
|
26928
|
-
var _authdetailsContext$i, _header_cssstyles, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$
|
|
26928
|
+
var _authdetailsContext$i, _header_cssstyles, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i0, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$c2, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
26929
26929
|
var actions = props.actions;
|
|
26930
26930
|
var _useState = useState(''),
|
|
26931
26931
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -27347,20 +27347,28 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27347
27347
|
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
27348
27348
|
if (item.isselected) ;
|
|
27349
27349
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
27350
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9
|
|
27350
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
|
|
27351
27351
|
return /*#__PURE__*/React.createElement("div", {
|
|
27352
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '67b1bb900a541' ? 'cursor-pointer p-2' :
|
|
27352
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '67b1bb900a541' ? 'cursor-pointer p-2' :
|
|
27353
|
+
// : authdetailsContext?.instinfo?.instid == '67d6bda67adf6'
|
|
27354
|
+
// ? 'cursor-pointer p-2'
|
|
27355
|
+
'cursor-pointer'
|
|
27353
27356
|
// scrollhorizontalcard
|
|
27354
27357
|
,
|
|
27355
27358
|
onClick: function onClick() {
|
|
27356
27359
|
routingcountext(item.navigationroute, false, '');
|
|
27357
27360
|
},
|
|
27358
27361
|
style: {
|
|
27359
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27362
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instid) == '67b1bb900a541' ? window.location.pathname == '/' + item.navigationroute ? '#36322c' : 'transparent' :
|
|
27363
|
+
// : authdetailsContext?.instinfo?.instid == '67d6bda67adf6'
|
|
27364
|
+
// ? window.location.pathname == '/' + item.navigationroute
|
|
27365
|
+
// ? '#14730D'
|
|
27366
|
+
// : 'tranparent'
|
|
27367
|
+
'transprent',
|
|
27360
27368
|
borderRadius: 100
|
|
27361
27369
|
}
|
|
27362
27370
|
}, /*#__PURE__*/React.createElement("p", {
|
|
27363
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27371
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) == '67b1bb900a541' && window.location.pathname == '/' + item.navigationroute ? "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text, " ").concat(header_cssstyles.navbar_item_textactive) + ' p-0 mb-0 ' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '67d6bda67adf6' && window.location.pathname == '/' + item.navigationroute ? "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text, " ").concat(header_cssstyles.navbar_item_textactive) + ' p-0 mb-0 ' : "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 '
|
|
27364
27372
|
}, langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
27365
27373
|
}
|
|
27366
27374
|
})), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && /*#__PURE__*/React.createElement(Subheader, {
|
|
@@ -27373,7 +27381,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27373
27381
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
27374
27382
|
}
|
|
27375
27383
|
})), /*#__PURE__*/React.createElement("div", {
|
|
27376
|
-
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27384
|
+
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 || (_authdetailsContext$i0 = _authdetailsContext$i0.instcurrencies) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.length) > 1 ? 'col-lg-4 p-0 d-flex align-items-center justify-content-end' : 'col-lg-2 p-0 d-flex align-items-center justify-content-end' : 'col-lg-2 p-0 d-flex align-items-center justify-content-end'
|
|
27377
27385
|
}, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
27378
27386
|
"class": sectionproperties.searchbaricon_fontsize == 0 ? header_cssstyles.searchicon + ' m-0 p-0 mx-2 ' : header_cssstyles.searchicon + ' m-0 p-0 mx-1 ',
|
|
27379
27387
|
style: {
|
|
@@ -27505,7 +27513,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27505
27513
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27506
27514
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
27507
27515
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27508
|
-
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27516
|
+
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) == '68248846ec6bc' && /*#__PURE__*/React.createElement(Dropdown.Divider, null), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instid) == '68248846ec6bc' && /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
27509
27517
|
onClick: function onClick() {
|
|
27510
27518
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
27511
27519
|
}
|
|
@@ -27561,7 +27569,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27561
27569
|
"class": ' h-100 d-flex align-items-center '
|
|
27562
27570
|
}, /*#__PURE__*/React.createElement(HiUserCircle, {
|
|
27563
27571
|
size: sectionproperties.userBtnTextfontsize
|
|
27564
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27572
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) == '67b1bb900a541' && /*#__PURE__*/React.createElement("span", {
|
|
27565
27573
|
className: "mx-2",
|
|
27566
27574
|
style: {
|
|
27567
27575
|
fontSize: 18
|
|
@@ -27614,7 +27622,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27614
27622
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27615
27623
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
27616
27624
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27617
|
-
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27625
|
+
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) == '68248846ec6bc' && /*#__PURE__*/React.createElement(Dropdown.Divider, null), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instid) == '68248846ec6bc' && /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
27618
27626
|
onClick: function onClick() {
|
|
27619
27627
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
27620
27628
|
}
|
|
@@ -27754,7 +27762,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27754
27762
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
27755
27763
|
}, /*#__PURE__*/React.createElement("span", {
|
|
27756
27764
|
"class": "ml-2 mr-2"
|
|
27757
|
-
}, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27765
|
+
}, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 || (_authdetailsContext$i14 = _authdetailsContext$i14.instcurrencies) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.length) > 1 && sectionproperties.showcurrency == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
27758
27766
|
"class": ' d-flex align-items-center justify-content-end '
|
|
27759
27767
|
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
27760
27768
|
"class": ' d-flex align-items-center justify-content-center '
|
|
@@ -27766,8 +27774,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27766
27774
|
"class": header_cssstyles.currencycont + ' row m-0 w-100 d-flex align-items-center '
|
|
27767
27775
|
}, /*#__PURE__*/React.createElement("p", {
|
|
27768
27776
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
27769
|
-
}, 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$
|
|
27770
|
-
var _authdetailsContext$
|
|
27777
|
+
}, 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$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 || (_authdetailsContext$i15 = _authdetailsContext$i15.instcurrencies) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.map(function (item, index) {
|
|
27778
|
+
var _authdetailsContext$i16;
|
|
27771
27779
|
return /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
27772
27780
|
onClick: function onClick() {
|
|
27773
27781
|
setcurrencyfunccontext(item);
|
|
@@ -27783,7 +27791,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27783
27791
|
style: {}
|
|
27784
27792
|
}, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("span", {
|
|
27785
27793
|
"class": 'ml-2 mr-2'
|
|
27786
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27794
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 || (_authdetailsContext$i16 = _authdetailsContext$i16.instcurrencies) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.length) - 1 && /*#__PURE__*/React.createElement("div", {
|
|
27787
27795
|
"class": "col-lg-12 p-0"
|
|
27788
27796
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
27789
27797
|
"class": "m-0"
|
package/dist/index.umd.js
CHANGED
|
@@ -26782,7 +26782,7 @@
|
|
|
26782
26782
|
function ownKeys$1Y(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; }
|
|
26783
26783
|
function _objectSpread$1Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26784
26784
|
var Simpleheader = function Simpleheader(props) {
|
|
26785
|
-
var _authdetailsContext$i, _header_cssstyles, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$
|
|
26785
|
+
var _authdetailsContext$i, _header_cssstyles, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i0, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$c2, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
26786
26786
|
var actions = props.actions;
|
|
26787
26787
|
var _useState = React.useState(''),
|
|
26788
26788
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -27204,20 +27204,28 @@
|
|
|
27204
27204
|
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
27205
27205
|
if (item.isselected) ;
|
|
27206
27206
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
27207
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9
|
|
27207
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
|
|
27208
27208
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27209
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '67b1bb900a541' ? 'cursor-pointer p-2' :
|
|
27209
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '67b1bb900a541' ? 'cursor-pointer p-2' :
|
|
27210
|
+
// : authdetailsContext?.instinfo?.instid == '67d6bda67adf6'
|
|
27211
|
+
// ? 'cursor-pointer p-2'
|
|
27212
|
+
'cursor-pointer'
|
|
27210
27213
|
// scrollhorizontalcard
|
|
27211
27214
|
,
|
|
27212
27215
|
onClick: function onClick() {
|
|
27213
27216
|
routingcountext(item.navigationroute, false, '');
|
|
27214
27217
|
},
|
|
27215
27218
|
style: {
|
|
27216
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27219
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instid) == '67b1bb900a541' ? window.location.pathname == '/' + item.navigationroute ? '#36322c' : 'transparent' :
|
|
27220
|
+
// : authdetailsContext?.instinfo?.instid == '67d6bda67adf6'
|
|
27221
|
+
// ? window.location.pathname == '/' + item.navigationroute
|
|
27222
|
+
// ? '#14730D'
|
|
27223
|
+
// : 'tranparent'
|
|
27224
|
+
'transprent',
|
|
27217
27225
|
borderRadius: 100
|
|
27218
27226
|
}
|
|
27219
27227
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27220
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27228
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) == '67b1bb900a541' && window.location.pathname == '/' + item.navigationroute ? "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text, " ").concat(header_cssstyles.navbar_item_textactive) + ' p-0 mb-0 ' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '67d6bda67adf6' && window.location.pathname == '/' + item.navigationroute ? "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text, " ").concat(header_cssstyles.navbar_item_textactive) + ' p-0 mb-0 ' : "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 '
|
|
27221
27229
|
}, langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
27222
27230
|
}
|
|
27223
27231
|
})), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && /*#__PURE__*/React__default["default"].createElement(Subheader, {
|
|
@@ -27230,7 +27238,7 @@
|
|
|
27230
27238
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
27231
27239
|
}
|
|
27232
27240
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27233
|
-
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27241
|
+
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 || (_authdetailsContext$i0 = _authdetailsContext$i0.instcurrencies) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.length) > 1 ? 'col-lg-4 p-0 d-flex align-items-center justify-content-end' : 'col-lg-2 p-0 d-flex align-items-center justify-content-end' : 'col-lg-2 p-0 d-flex align-items-center justify-content-end'
|
|
27234
27242
|
}, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27235
27243
|
"class": sectionproperties.searchbaricon_fontsize == 0 ? header_cssstyles.searchicon + ' m-0 p-0 mx-2 ' : header_cssstyles.searchicon + ' m-0 p-0 mx-1 ',
|
|
27236
27244
|
style: {
|
|
@@ -27362,7 +27370,7 @@
|
|
|
27362
27370
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27363
27371
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
27364
27372
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27365
|
-
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27373
|
+
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) == '68248846ec6bc' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instid) == '68248846ec6bc' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
27366
27374
|
onClick: function onClick() {
|
|
27367
27375
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
27368
27376
|
}
|
|
@@ -27418,7 +27426,7 @@
|
|
|
27418
27426
|
"class": ' h-100 d-flex align-items-center '
|
|
27419
27427
|
}, /*#__PURE__*/React__default["default"].createElement(HiUserCircle.HiUserCircle, {
|
|
27420
27428
|
size: sectionproperties.userBtnTextfontsize
|
|
27421
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27429
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) == '67b1bb900a541' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
27422
27430
|
className: "mx-2",
|
|
27423
27431
|
style: {
|
|
27424
27432
|
fontSize: 18
|
|
@@ -27471,7 +27479,7 @@
|
|
|
27471
27479
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27472
27480
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
27473
27481
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
27474
|
-
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27482
|
+
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) == '68248846ec6bc' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instid) == '68248846ec6bc' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
27475
27483
|
onClick: function onClick() {
|
|
27476
27484
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
27477
27485
|
}
|
|
@@ -27611,7 +27619,7 @@
|
|
|
27611
27619
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
27612
27620
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
27613
27621
|
"class": "ml-2 mr-2"
|
|
27614
|
-
}, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27622
|
+
}, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 || (_authdetailsContext$i14 = _authdetailsContext$i14.instcurrencies) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.length) > 1 && sectionproperties.showcurrency == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27615
27623
|
"class": ' d-flex align-items-center justify-content-end '
|
|
27616
27624
|
}, /*#__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", {
|
|
27617
27625
|
"class": ' d-flex align-items-center justify-content-center '
|
|
@@ -27623,8 +27631,8 @@
|
|
|
27623
27631
|
"class": header_cssstyles.currencycont + ' row m-0 w-100 d-flex align-items-center '
|
|
27624
27632
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27625
27633
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
27626
|
-
}, 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$
|
|
27627
|
-
var _authdetailsContext$
|
|
27634
|
+
}, 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$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 || (_authdetailsContext$i15 = _authdetailsContext$i15.instcurrencies) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.map(function (item, index) {
|
|
27635
|
+
var _authdetailsContext$i16;
|
|
27628
27636
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
27629
27637
|
onClick: function onClick() {
|
|
27630
27638
|
setcurrencyfunccontext(item);
|
|
@@ -27640,7 +27648,7 @@
|
|
|
27640
27648
|
style: {}
|
|
27641
27649
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
27642
27650
|
"class": 'ml-2 mr-2'
|
|
27643
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
27651
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 || (_authdetailsContext$i16 = _authdetailsContext$i16.instcurrencies) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27644
27652
|
"class": "col-lg-12 p-0"
|
|
27645
27653
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
27646
27654
|
"class": "m-0"
|