tabexseriescomponents 0.2.1021 → 0.2.1022
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 +90 -16
- package/dist/index.esm.js +90 -16
- package/dist/index.umd.js +90 -16
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -33020,7 +33020,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
33020
33020
|
function ownKeys$1Z(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; }
|
|
33021
33021
|
function _objectSpread$1Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
33022
33022
|
var Header8 = function Header8(props) {
|
|
33023
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i9, _authdetailsContext$i0, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i1, _authdetailsContext$i11, _authdetailsContext$i13, _authdetailsContext$
|
|
33023
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i9, _authdetailsContext$i0, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i1, _authdetailsContext$i11, _authdetailsContext$i13, _authdetailsContext$i15, _authdetailsContext$i16, _fetchcustomercartQue4, _fetchcustomercartQue5;
|
|
33024
33024
|
var actions = props.actions;
|
|
33025
33025
|
props.actions.history;
|
|
33026
33026
|
var lang = props.actions.lang;
|
|
@@ -33059,6 +33059,10 @@ var Header8 = function Header8(props) {
|
|
|
33059
33059
|
pcollarray = _useState0[0],
|
|
33060
33060
|
setpcollarray = _useState0[1];
|
|
33061
33061
|
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
33062
|
+
var _useState1 = React.useState(false),
|
|
33063
|
+
_useState10 = _slicedToArray__default["default"](_useState1, 2),
|
|
33064
|
+
inqmenushowabout33 = _useState10[0],
|
|
33065
|
+
setinqmenushowabout33 = _useState10[1];
|
|
33062
33066
|
React.useEffect(function () {
|
|
33063
33067
|
var _StatePagePropertiesC;
|
|
33064
33068
|
var secpropobj = {};
|
|
@@ -34013,18 +34017,88 @@ var Header8 = function Header8(props) {
|
|
|
34013
34017
|
activeclass = header_cssstyles.navbar_item_active;
|
|
34014
34018
|
}
|
|
34015
34019
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
34016
|
-
|
|
34017
|
-
|
|
34018
|
-
|
|
34019
|
-
|
|
34020
|
-
|
|
34021
|
-
|
|
34022
|
-
|
|
34023
|
-
|
|
34020
|
+
var _authdetailsContext$i14;
|
|
34021
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '68c6bc629acb2') {
|
|
34022
|
+
if (item.pagename != 'About Us') {
|
|
34023
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34024
|
+
"class": "".concat(activeclass) + ' cursor-pointer scrollhorizontalcard ',
|
|
34025
|
+
onClick: function onClick() {
|
|
34026
|
+
routingcountext(item.navigationroute);
|
|
34027
|
+
},
|
|
34028
|
+
style: {
|
|
34029
|
+
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
34030
|
+
marginLeft: langdetect == 'en' ? 0 : '25px'
|
|
34031
|
+
}
|
|
34032
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34033
|
+
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
34034
|
+
}, " ", langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
34035
|
+
} else {
|
|
34036
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34037
|
+
"class": "".concat(activeclass) + ' cursor-pointer scrollhorizontalcard ',
|
|
34038
|
+
onClick: function onClick() {
|
|
34039
|
+
routingcountext(item.navigationroute);
|
|
34040
|
+
},
|
|
34041
|
+
style: {
|
|
34042
|
+
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
34043
|
+
marginLeft: langdetect == 'en' ? 0 : '25px'
|
|
34044
|
+
},
|
|
34045
|
+
onMouseEnter: function onMouseEnter() {
|
|
34046
|
+
setinqmenushowabout33(true);
|
|
34047
|
+
setcld(false);
|
|
34048
|
+
}
|
|
34049
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34050
|
+
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
34051
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar), inqmenushowabout33 == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34052
|
+
"class": "w-100"
|
|
34053
|
+
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
34054
|
+
"class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100',
|
|
34055
|
+
style: {
|
|
34056
|
+
left: langdetect == 'en' ? '10%' : '',
|
|
34057
|
+
right: langdetect == 'ar' ? '10%' : ''
|
|
34058
|
+
}
|
|
34059
|
+
}, /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
34060
|
+
"class": "mt-2",
|
|
34061
|
+
sytle: {
|
|
34062
|
+
width: '200px'
|
|
34063
|
+
}
|
|
34064
|
+
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
34065
|
+
"class": "dropdown d-flex align-items-center w-100"
|
|
34066
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34067
|
+
"class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
|
|
34068
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34069
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
|
|
34070
|
+
onClick: function onClick() {
|
|
34071
|
+
routingcountext('overview', false, '');
|
|
34072
|
+
}
|
|
34073
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
34074
|
+
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
34075
|
+
}, langdetect == 'en' ? 'Overview' : 'ملخص')))), /*#__PURE__*/React__default["default"].createElement("li", {
|
|
34076
|
+
"class": "dropdown d-flex align-items-center w-100"
|
|
34077
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34078
|
+
"class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
|
|
34079
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34080
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
|
|
34081
|
+
onClick: function onClick() {
|
|
34082
|
+
routingcountext('equipment', false, '');
|
|
34083
|
+
}
|
|
34084
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
34085
|
+
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
34086
|
+
}, langdetect == 'en' ? 'Equipment' : 'معدات'))))))));
|
|
34024
34087
|
}
|
|
34025
|
-
}
|
|
34026
|
-
|
|
34027
|
-
|
|
34088
|
+
} else {
|
|
34089
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34090
|
+
"class": "".concat(activeclass) + ' cursor-pointer scrollhorizontalcard ',
|
|
34091
|
+
onClick: function onClick() {
|
|
34092
|
+
routingcountext(item.navigationroute);
|
|
34093
|
+
},
|
|
34094
|
+
style: {
|
|
34095
|
+
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
34096
|
+
marginLeft: langdetect == 'en' ? 0 : '25px'
|
|
34097
|
+
}
|
|
34098
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34099
|
+
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
34100
|
+
}, " ", langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
34101
|
+
}
|
|
34028
34102
|
}
|
|
34029
34103
|
})), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && /*#__PURE__*/React__default["default"].createElement(Subheader, {
|
|
34030
34104
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -34035,7 +34109,7 @@ var Header8 = function Header8(props) {
|
|
|
34035
34109
|
paddingRightprops: '25px',
|
|
34036
34110
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
34037
34111
|
}
|
|
34038
|
-
})), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
34112
|
+
})), authdetailsContext != undefined && (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.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34039
34113
|
"class": 'col-lg-2 d-flex align-items-center justify-content-end '
|
|
34040
34114
|
}, /*#__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", {
|
|
34041
34115
|
"class": ' d-flex align-items-center justify-content-center '
|
|
@@ -34047,8 +34121,8 @@ var Header8 = function Header8(props) {
|
|
|
34047
34121
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
34048
34122
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
34049
34123
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
34050
|
-
}, 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$
|
|
34051
|
-
var _authdetailsContext$
|
|
34124
|
+
}, 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$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 || (_authdetailsContext$i16 = _authdetailsContext$i16.instcurrencies) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.map(function (item, index) {
|
|
34125
|
+
var _authdetailsContext$i17;
|
|
34052
34126
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
34053
34127
|
onClick: function onClick() {
|
|
34054
34128
|
setcurrencyfunccontext(item);
|
|
@@ -34068,7 +34142,7 @@ var Header8 = function Header8(props) {
|
|
|
34068
34142
|
}
|
|
34069
34143
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
34070
34144
|
"class": 'ml-2 mr-2'
|
|
34071
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
34145
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.instcurrencies) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34072
34146
|
"class": "col-lg-12 p-0"
|
|
34073
34147
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
34074
34148
|
"class": "m-0"
|
package/dist/index.esm.js
CHANGED
|
@@ -32969,7 +32969,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
32969
32969
|
function ownKeys$1Z(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; }
|
|
32970
32970
|
function _objectSpread$1Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
32971
32971
|
var Header8 = function Header8(props) {
|
|
32972
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i9, _authdetailsContext$i0, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i1, _authdetailsContext$i11, _authdetailsContext$i13, _authdetailsContext$
|
|
32972
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i9, _authdetailsContext$i0, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i1, _authdetailsContext$i11, _authdetailsContext$i13, _authdetailsContext$i15, _authdetailsContext$i16, _fetchcustomercartQue4, _fetchcustomercartQue5;
|
|
32973
32973
|
var actions = props.actions;
|
|
32974
32974
|
props.actions.history;
|
|
32975
32975
|
var lang = props.actions.lang;
|
|
@@ -33008,6 +33008,10 @@ var Header8 = function Header8(props) {
|
|
|
33008
33008
|
pcollarray = _useState0[0],
|
|
33009
33009
|
setpcollarray = _useState0[1];
|
|
33010
33010
|
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
33011
|
+
var _useState1 = useState(false),
|
|
33012
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
33013
|
+
inqmenushowabout33 = _useState10[0],
|
|
33014
|
+
setinqmenushowabout33 = _useState10[1];
|
|
33011
33015
|
useEffect(function () {
|
|
33012
33016
|
var _StatePagePropertiesC;
|
|
33013
33017
|
var secpropobj = {};
|
|
@@ -33962,18 +33966,88 @@ var Header8 = function Header8(props) {
|
|
|
33962
33966
|
activeclass = header_cssstyles.navbar_item_active;
|
|
33963
33967
|
}
|
|
33964
33968
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
33965
|
-
|
|
33966
|
-
|
|
33967
|
-
|
|
33968
|
-
|
|
33969
|
-
|
|
33970
|
-
|
|
33971
|
-
|
|
33972
|
-
|
|
33969
|
+
var _authdetailsContext$i14;
|
|
33970
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '68c6bc629acb2') {
|
|
33971
|
+
if (item.pagename != 'About Us') {
|
|
33972
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
33973
|
+
"class": "".concat(activeclass) + ' cursor-pointer scrollhorizontalcard ',
|
|
33974
|
+
onClick: function onClick() {
|
|
33975
|
+
routingcountext(item.navigationroute);
|
|
33976
|
+
},
|
|
33977
|
+
style: {
|
|
33978
|
+
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
33979
|
+
marginLeft: langdetect == 'en' ? 0 : '25px'
|
|
33980
|
+
}
|
|
33981
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
33982
|
+
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
33983
|
+
}, " ", langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
33984
|
+
} else {
|
|
33985
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
33986
|
+
"class": "".concat(activeclass) + ' cursor-pointer scrollhorizontalcard ',
|
|
33987
|
+
onClick: function onClick() {
|
|
33988
|
+
routingcountext(item.navigationroute);
|
|
33989
|
+
},
|
|
33990
|
+
style: {
|
|
33991
|
+
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
33992
|
+
marginLeft: langdetect == 'en' ? 0 : '25px'
|
|
33993
|
+
},
|
|
33994
|
+
onMouseEnter: function onMouseEnter() {
|
|
33995
|
+
setinqmenushowabout33(true);
|
|
33996
|
+
setcld(false);
|
|
33997
|
+
}
|
|
33998
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
33999
|
+
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
34000
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar), inqmenushowabout33 == true && /*#__PURE__*/React.createElement("div", {
|
|
34001
|
+
"class": "w-100"
|
|
34002
|
+
}, /*#__PURE__*/React.createElement("li", {
|
|
34003
|
+
"class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100',
|
|
34004
|
+
style: {
|
|
34005
|
+
left: langdetect == 'en' ? '10%' : '',
|
|
34006
|
+
right: langdetect == 'ar' ? '10%' : ''
|
|
34007
|
+
}
|
|
34008
|
+
}, /*#__PURE__*/React.createElement("ul", {
|
|
34009
|
+
"class": "mt-2",
|
|
34010
|
+
sytle: {
|
|
34011
|
+
width: '200px'
|
|
34012
|
+
}
|
|
34013
|
+
}, /*#__PURE__*/React.createElement("li", {
|
|
34014
|
+
"class": "dropdown d-flex align-items-center w-100"
|
|
34015
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
34016
|
+
"class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
|
|
34017
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
34018
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
|
|
34019
|
+
onClick: function onClick() {
|
|
34020
|
+
routingcountext('overview', false, '');
|
|
34021
|
+
}
|
|
34022
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
34023
|
+
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
34024
|
+
}, langdetect == 'en' ? 'Overview' : 'ملخص')))), /*#__PURE__*/React.createElement("li", {
|
|
34025
|
+
"class": "dropdown d-flex align-items-center w-100"
|
|
34026
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
34027
|
+
"class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
|
|
34028
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
34029
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
|
|
34030
|
+
onClick: function onClick() {
|
|
34031
|
+
routingcountext('equipment', false, '');
|
|
34032
|
+
}
|
|
34033
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
34034
|
+
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
34035
|
+
}, langdetect == 'en' ? 'Equipment' : 'معدات'))))))));
|
|
33973
34036
|
}
|
|
33974
|
-
}
|
|
33975
|
-
"
|
|
33976
|
-
|
|
34037
|
+
} else {
|
|
34038
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
34039
|
+
"class": "".concat(activeclass) + ' cursor-pointer scrollhorizontalcard ',
|
|
34040
|
+
onClick: function onClick() {
|
|
34041
|
+
routingcountext(item.navigationroute);
|
|
34042
|
+
},
|
|
34043
|
+
style: {
|
|
34044
|
+
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
34045
|
+
marginLeft: langdetect == 'en' ? 0 : '25px'
|
|
34046
|
+
}
|
|
34047
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
34048
|
+
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
34049
|
+
}, " ", langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
34050
|
+
}
|
|
33977
34051
|
}
|
|
33978
34052
|
})), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && /*#__PURE__*/React.createElement(Subheader, {
|
|
33979
34053
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -33984,7 +34058,7 @@ var Header8 = function Header8(props) {
|
|
|
33984
34058
|
paddingRightprops: '25px',
|
|
33985
34059
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
33986
34060
|
}
|
|
33987
|
-
})), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
34061
|
+
})), authdetailsContext != undefined && (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.length) > 1 && /*#__PURE__*/React.createElement("div", {
|
|
33988
34062
|
"class": 'col-lg-2 d-flex align-items-center justify-content-end '
|
|
33989
34063
|
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
33990
34064
|
"class": ' d-flex align-items-center justify-content-center '
|
|
@@ -33996,8 +34070,8 @@ var Header8 = function Header8(props) {
|
|
|
33996
34070
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
33997
34071
|
}, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("p", {
|
|
33998
34072
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
33999
|
-
}, 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$
|
|
34000
|
-
var _authdetailsContext$
|
|
34073
|
+
}, 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$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 || (_authdetailsContext$i16 = _authdetailsContext$i16.instcurrencies) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.map(function (item, index) {
|
|
34074
|
+
var _authdetailsContext$i17;
|
|
34001
34075
|
return /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
34002
34076
|
onClick: function onClick() {
|
|
34003
34077
|
setcurrencyfunccontext(item);
|
|
@@ -34017,7 +34091,7 @@ var Header8 = function Header8(props) {
|
|
|
34017
34091
|
}
|
|
34018
34092
|
}, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("span", {
|
|
34019
34093
|
"class": 'ml-2 mr-2'
|
|
34020
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
34094
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.instcurrencies) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.length) - 1 && /*#__PURE__*/React.createElement("div", {
|
|
34021
34095
|
"class": "col-lg-12 p-0"
|
|
34022
34096
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
34023
34097
|
"class": "m-0"
|
package/dist/index.umd.js
CHANGED
|
@@ -32828,7 +32828,7 @@
|
|
|
32828
32828
|
function ownKeys$1Z(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; }
|
|
32829
32829
|
function _objectSpread$1Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
32830
32830
|
var Header8 = function Header8(props) {
|
|
32831
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i9, _authdetailsContext$i0, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i1, _authdetailsContext$i11, _authdetailsContext$i13, _authdetailsContext$
|
|
32831
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i9, _authdetailsContext$i0, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i1, _authdetailsContext$i11, _authdetailsContext$i13, _authdetailsContext$i15, _authdetailsContext$i16, _fetchcustomercartQue4, _fetchcustomercartQue5;
|
|
32832
32832
|
var actions = props.actions;
|
|
32833
32833
|
props.actions.history;
|
|
32834
32834
|
var lang = props.actions.lang;
|
|
@@ -32867,6 +32867,10 @@
|
|
|
32867
32867
|
pcollarray = _useState0[0],
|
|
32868
32868
|
setpcollarray = _useState0[1];
|
|
32869
32869
|
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
32870
|
+
var _useState1 = React.useState(false),
|
|
32871
|
+
_useState10 = _slicedToArray__default["default"](_useState1, 2),
|
|
32872
|
+
inqmenushowabout33 = _useState10[0],
|
|
32873
|
+
setinqmenushowabout33 = _useState10[1];
|
|
32870
32874
|
React.useEffect(function () {
|
|
32871
32875
|
var _StatePagePropertiesC;
|
|
32872
32876
|
var secpropobj = {};
|
|
@@ -33821,18 +33825,88 @@
|
|
|
33821
33825
|
activeclass = header_cssstyles.navbar_item_active;
|
|
33822
33826
|
}
|
|
33823
33827
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
33824
|
-
|
|
33825
|
-
|
|
33826
|
-
|
|
33827
|
-
|
|
33828
|
-
|
|
33829
|
-
|
|
33830
|
-
|
|
33831
|
-
|
|
33828
|
+
var _authdetailsContext$i14;
|
|
33829
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '68c6bc629acb2') {
|
|
33830
|
+
if (item.pagename != 'About Us') {
|
|
33831
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33832
|
+
"class": "".concat(activeclass) + ' cursor-pointer scrollhorizontalcard ',
|
|
33833
|
+
onClick: function onClick() {
|
|
33834
|
+
routingcountext(item.navigationroute);
|
|
33835
|
+
},
|
|
33836
|
+
style: {
|
|
33837
|
+
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
33838
|
+
marginLeft: langdetect == 'en' ? 0 : '25px'
|
|
33839
|
+
}
|
|
33840
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33841
|
+
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
33842
|
+
}, " ", langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
33843
|
+
} else {
|
|
33844
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33845
|
+
"class": "".concat(activeclass) + ' cursor-pointer scrollhorizontalcard ',
|
|
33846
|
+
onClick: function onClick() {
|
|
33847
|
+
routingcountext(item.navigationroute);
|
|
33848
|
+
},
|
|
33849
|
+
style: {
|
|
33850
|
+
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
33851
|
+
marginLeft: langdetect == 'en' ? 0 : '25px'
|
|
33852
|
+
},
|
|
33853
|
+
onMouseEnter: function onMouseEnter() {
|
|
33854
|
+
setinqmenushowabout33(true);
|
|
33855
|
+
setcld(false);
|
|
33856
|
+
}
|
|
33857
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33858
|
+
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
33859
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar), inqmenushowabout33 == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33860
|
+
"class": "w-100"
|
|
33861
|
+
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
33862
|
+
"class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100',
|
|
33863
|
+
style: {
|
|
33864
|
+
left: langdetect == 'en' ? '10%' : '',
|
|
33865
|
+
right: langdetect == 'ar' ? '10%' : ''
|
|
33866
|
+
}
|
|
33867
|
+
}, /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
33868
|
+
"class": "mt-2",
|
|
33869
|
+
sytle: {
|
|
33870
|
+
width: '200px'
|
|
33871
|
+
}
|
|
33872
|
+
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
33873
|
+
"class": "dropdown d-flex align-items-center w-100"
|
|
33874
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33875
|
+
"class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
|
|
33876
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33877
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
|
|
33878
|
+
onClick: function onClick() {
|
|
33879
|
+
routingcountext('overview', false, '');
|
|
33880
|
+
}
|
|
33881
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33882
|
+
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
33883
|
+
}, langdetect == 'en' ? 'Overview' : 'ملخص')))), /*#__PURE__*/React__default["default"].createElement("li", {
|
|
33884
|
+
"class": "dropdown d-flex align-items-center w-100"
|
|
33885
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33886
|
+
"class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
|
|
33887
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33888
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
|
|
33889
|
+
onClick: function onClick() {
|
|
33890
|
+
routingcountext('equipment', false, '');
|
|
33891
|
+
}
|
|
33892
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33893
|
+
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
33894
|
+
}, langdetect == 'en' ? 'Equipment' : 'معدات'))))))));
|
|
33832
33895
|
}
|
|
33833
|
-
}
|
|
33834
|
-
|
|
33835
|
-
|
|
33896
|
+
} else {
|
|
33897
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33898
|
+
"class": "".concat(activeclass) + ' cursor-pointer scrollhorizontalcard ',
|
|
33899
|
+
onClick: function onClick() {
|
|
33900
|
+
routingcountext(item.navigationroute);
|
|
33901
|
+
},
|
|
33902
|
+
style: {
|
|
33903
|
+
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
33904
|
+
marginLeft: langdetect == 'en' ? 0 : '25px'
|
|
33905
|
+
}
|
|
33906
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33907
|
+
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
33908
|
+
}, " ", langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
33909
|
+
}
|
|
33836
33910
|
}
|
|
33837
33911
|
})), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && /*#__PURE__*/React__default["default"].createElement(Subheader, {
|
|
33838
33912
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -33843,7 +33917,7 @@
|
|
|
33843
33917
|
paddingRightprops: '25px',
|
|
33844
33918
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
33845
33919
|
}
|
|
33846
|
-
})), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33920
|
+
})), authdetailsContext != undefined && (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.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33847
33921
|
"class": 'col-lg-2 d-flex align-items-center justify-content-end '
|
|
33848
33922
|
}, /*#__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", {
|
|
33849
33923
|
"class": ' d-flex align-items-center justify-content-center '
|
|
@@ -33855,8 +33929,8 @@
|
|
|
33855
33929
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
33856
33930
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33857
33931
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
33858
|
-
}, 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$
|
|
33859
|
-
var _authdetailsContext$
|
|
33932
|
+
}, 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$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 || (_authdetailsContext$i16 = _authdetailsContext$i16.instcurrencies) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.map(function (item, index) {
|
|
33933
|
+
var _authdetailsContext$i17;
|
|
33860
33934
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
33861
33935
|
onClick: function onClick() {
|
|
33862
33936
|
setcurrencyfunccontext(item);
|
|
@@ -33876,7 +33950,7 @@
|
|
|
33876
33950
|
}
|
|
33877
33951
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
33878
33952
|
"class": 'ml-2 mr-2'
|
|
33879
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33953
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.instcurrencies) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33880
33954
|
"class": "col-lg-12 p-0"
|
|
33881
33955
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
33882
33956
|
"class": "m-0"
|