tabexseriescomponents 0.2.1153 → 0.2.1154
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 +121 -67
- package/dist/index.esm.js +121 -67
- package/dist/index.umd.js +121 -67
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -38008,7 +38008,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
38008
38008
|
function ownKeys$1_(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; }
|
|
38009
38009
|
function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
38010
38010
|
var Header8 = function Header8(props) {
|
|
38011
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$i0, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i1, _authdetailsContext$i10, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i15, _authdetailsContext$
|
|
38011
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$i0, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i1, _authdetailsContext$i10, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i18, _authdetailsContext$i20, _fetchcustomercartQue4, _fetchcustomercartQue5;
|
|
38012
38012
|
var actions = props.actions;
|
|
38013
38013
|
props.actions.history;
|
|
38014
38014
|
var lang = props.actions.lang;
|
|
@@ -38596,6 +38596,19 @@ var Header8 = function Header8(props) {
|
|
|
38596
38596
|
width: '50%'
|
|
38597
38597
|
}
|
|
38598
38598
|
}),
|
|
38599
|
+
header_menu2: glamor.css({
|
|
38600
|
+
width: 30,
|
|
38601
|
+
height: 30,
|
|
38602
|
+
borderRadius: 10,
|
|
38603
|
+
backgroundColor: '#787f3b',
|
|
38604
|
+
color: '#fff',
|
|
38605
|
+
fontSize: 13,
|
|
38606
|
+
':hover': {
|
|
38607
|
+
transition: '.3s',
|
|
38608
|
+
backgroundColor: '#793c1c',
|
|
38609
|
+
color: 'white'
|
|
38610
|
+
}
|
|
38611
|
+
}),
|
|
38599
38612
|
header_menu: glamor.css({
|
|
38600
38613
|
width: 40,
|
|
38601
38614
|
height: 35,
|
|
@@ -38990,7 +39003,7 @@ var Header8 = function Header8(props) {
|
|
|
38990
39003
|
fontWeight: sectionproperties.secondaryfontweight,
|
|
38991
39004
|
cursor: 'pointer'
|
|
38992
39005
|
}
|
|
38993
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", subtotalcart(), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) != '68c69dcc53e94' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39006
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", subtotalcart(), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) != '68c69dcc53e94' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) != '696691293c2a6' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38994
39007
|
"class": "d-flex flex-row justify-content-end align-items-center",
|
|
38995
39008
|
onClick: function onClick() {
|
|
38996
39009
|
if (langdetect == 'en') {
|
|
@@ -39011,7 +39024,45 @@ var Header8 = function Header8(props) {
|
|
|
39011
39024
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
39012
39025
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
39013
39026
|
"class": "mx-2"
|
|
39014
|
-
}, sectionproperties.englishlanguagetext))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39027
|
+
}, sectionproperties.englishlanguagetext))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '696691293c2a6' && /*#__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", {
|
|
39028
|
+
"class": "".concat(header_cssstyles.header_menu2) + ' allcentered mx-2 '
|
|
39029
|
+
}, langdetect == 'ar' &&
|
|
39030
|
+
/*#__PURE__*/
|
|
39031
|
+
// <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
39032
|
+
React__default["default"].createElement("p", {
|
|
39033
|
+
"class": "m-0 p-0"
|
|
39034
|
+
}, "\u0639")
|
|
39035
|
+
// </div>
|
|
39036
|
+
, langdetect == 'en' &&
|
|
39037
|
+
/*#__PURE__*/
|
|
39038
|
+
// <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
39039
|
+
React__default["default"].createElement("p", {
|
|
39040
|
+
"class": "m-0 p-0"
|
|
39041
|
+
}, "En")
|
|
39042
|
+
// </div>
|
|
39043
|
+
)), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
39044
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
39045
|
+
onClick: function onClick() {
|
|
39046
|
+
setlang('ar');
|
|
39047
|
+
}
|
|
39048
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39049
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
39050
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
39051
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
39052
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
39053
|
+
"class": "ml-2 mr-2"
|
|
39054
|
+
}, lang.arabic)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
39055
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
39056
|
+
onClick: function onClick() {
|
|
39057
|
+
setlang('en');
|
|
39058
|
+
}
|
|
39059
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39060
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
39061
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
39062
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
39063
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
39064
|
+
"class": "ml-2 mr-2"
|
|
39065
|
+
}, lang.english)))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '68c69dcc53e94' && /*#__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", {
|
|
39015
39066
|
"class": "".concat(header_cssstyles.header_menu) + ' allcentered mx-2 '
|
|
39016
39067
|
}, langdetect == 'ar' &&
|
|
39017
39068
|
/*#__PURE__*/
|
|
@@ -39049,7 +39100,48 @@ var Header8 = function Header8(props) {
|
|
|
39049
39100
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
39050
39101
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
39051
39102
|
"class": "ml-2 mr-2"
|
|
39052
|
-
}, lang.english))))))))
|
|
39103
|
+
}, lang.english)))))), 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", {
|
|
39104
|
+
"class": langdetect == 'en' ? 'col-lasdg-2 d-flex align-items-center justify-content-end ml-2 ' : 'col-lasdg-2 d-flex align-items-center justify-content-end mr-2 '
|
|
39105
|
+
}, /*#__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", {
|
|
39106
|
+
"class": ' d-flex align-items-center justify-content-center ',
|
|
39107
|
+
style: {
|
|
39108
|
+
color: sectionproperties.language_container_color
|
|
39109
|
+
}
|
|
39110
|
+
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39111
|
+
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
39112
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
39113
|
+
"class": "m-0 p-0 mr-2 ml-2"
|
|
39114
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39115
|
+
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
39116
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
39117
|
+
"class": "m-0 p-0 ml-2 mr-2"
|
|
39118
|
+
}, 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) {
|
|
39119
|
+
var _authdetailsContext$i17;
|
|
39120
|
+
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
39121
|
+
onClick: function onClick() {
|
|
39122
|
+
setcurrencyfunccontext(item);
|
|
39123
|
+
}
|
|
39124
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39125
|
+
"class": "row m-0 w-100"
|
|
39126
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39127
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
39128
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39129
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer)
|
|
39130
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
39131
|
+
"class": 'dropdownitem d-flex align-items-center justify-content-center m-0 p-0',
|
|
39132
|
+
style: {
|
|
39133
|
+
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
39134
|
+
fontWeight: sectionproperties.dropdown_fontweight,
|
|
39135
|
+
textTransform: sectionproperties.dropdown_texttransform
|
|
39136
|
+
}
|
|
39137
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
39138
|
+
"class": 'ml-2 mr-2'
|
|
39139
|
+
}, 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", {
|
|
39140
|
+
"class": "col-lg-12 p-0"
|
|
39141
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
39142
|
+
"class": "m-0"
|
|
39143
|
+
}))));
|
|
39144
|
+
})))))))), sectionproperties.showlowerheadersection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39053
39145
|
"class": "col-lg-12 p-0 d-flex justify-content-center",
|
|
39054
39146
|
style: {
|
|
39055
39147
|
background: sectionproperties.uppersection_bgcolor
|
|
@@ -39076,9 +39168,9 @@ var Header8 = function Header8(props) {
|
|
|
39076
39168
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
39077
39169
|
"class": "w-100 mt-2",
|
|
39078
39170
|
style: {}
|
|
39079
|
-
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39080
|
-
var _authdetailsContext$
|
|
39081
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39171
|
+
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.instcategories) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.map(function (item, index) {
|
|
39172
|
+
var _authdetailsContext$i19;
|
|
39173
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.instcategories;
|
|
39082
39174
|
if (item.isshowntocustomers == 1) {
|
|
39083
39175
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39084
39176
|
"class": "w-100"
|
|
@@ -39091,16 +39183,16 @@ var Header8 = function Header8(props) {
|
|
|
39091
39183
|
"class": "w-100"
|
|
39092
39184
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
39093
39185
|
}
|
|
39094
|
-
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39095
|
-
var _authdetailsContext$
|
|
39096
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39186
|
+
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 || (_authdetailsContext$i20 = _authdetailsContext$i20.instcollections) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.map(function (item, index) {
|
|
39187
|
+
var _authdetailsContext$i21;
|
|
39188
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.instcollections;
|
|
39097
39189
|
if (item.isshowntocustomers == 1) {
|
|
39098
39190
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39099
39191
|
"class": "w-100"
|
|
39100
39192
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
39101
39193
|
}
|
|
39102
39194
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39103
|
-
"class":
|
|
39195
|
+
"class": 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'
|
|
39104
39196
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39105
39197
|
"class": ' w-100 align-items-center ',
|
|
39106
39198
|
style: {
|
|
@@ -39109,15 +39201,15 @@ var Header8 = function Header8(props) {
|
|
|
39109
39201
|
justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
39110
39202
|
}
|
|
39111
39203
|
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
39112
|
-
var _authdetailsContext$
|
|
39204
|
+
var _authdetailsContext$i22;
|
|
39113
39205
|
var activeclass = '';
|
|
39114
39206
|
if (item.isselected) {
|
|
39115
39207
|
activeclass = header_cssstyles.navbar_item_active;
|
|
39116
39208
|
}
|
|
39117
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39209
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.instid) == '68c69dcc53e94') {
|
|
39118
39210
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
39119
39211
|
if (item.pagename != 'Services' && item.pagename != 'Isolation' && item.pagename != 'Flooring' && item.pagename != 'Projects') {
|
|
39120
|
-
var _authdetailsContext$
|
|
39212
|
+
var _authdetailsContext$i23, _authdetailsContext$i24;
|
|
39121
39213
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39122
39214
|
"class": "".concat(activeclass) + ' cursor-pointer scrollhorizontalcard ',
|
|
39123
39215
|
onClick: function onClick() {
|
|
@@ -39126,21 +39218,21 @@ var Header8 = function Header8(props) {
|
|
|
39126
39218
|
style: {
|
|
39127
39219
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
39128
39220
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
39129
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39130
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39221
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39222
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
39131
39223
|
}
|
|
39132
39224
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39133
39225
|
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
39134
39226
|
}, " ", langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
39135
39227
|
} else if (item.pagename == 'Services') {
|
|
39136
|
-
var _authdetailsContext$
|
|
39228
|
+
var _authdetailsContext$i25, _authdetailsContext$i26;
|
|
39137
39229
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39138
39230
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
39139
39231
|
style: {
|
|
39140
39232
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
39141
39233
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
39142
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39143
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39234
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39235
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
39144
39236
|
},
|
|
39145
39237
|
onMouseEnter: function onMouseEnter() {
|
|
39146
39238
|
setservicesmenu(true);
|
|
@@ -39316,14 +39408,14 @@ var Header8 = function Header8(props) {
|
|
|
39316
39408
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
39317
39409
|
}, langdetect == 'en' ? 'Soil drying' : 'تجفيف التربة'))))))));
|
|
39318
39410
|
} else if (item.pagename == 'Isolation') {
|
|
39319
|
-
var _authdetailsContext$
|
|
39411
|
+
var _authdetailsContext$i27, _authdetailsContext$i28;
|
|
39320
39412
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39321
39413
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
39322
39414
|
style: {
|
|
39323
39415
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
39324
39416
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
39325
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39326
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39417
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39418
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
39327
39419
|
},
|
|
39328
39420
|
onMouseEnter: function onMouseEnter() {
|
|
39329
39421
|
setisolationmenu(true);
|
|
@@ -39727,14 +39819,14 @@ var Header8 = function Header8(props) {
|
|
|
39727
39819
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
39728
39820
|
}, "\u0641\u064A\u0646\u064A\u0644")))))))))))));
|
|
39729
39821
|
} else if (item.pagename == 'Flooring') {
|
|
39730
|
-
var _authdetailsContext$
|
|
39822
|
+
var _authdetailsContext$i29, _authdetailsContext$i30;
|
|
39731
39823
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39732
39824
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
39733
39825
|
style: {
|
|
39734
39826
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
39735
39827
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
39736
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39737
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39828
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39829
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
39738
39830
|
},
|
|
39739
39831
|
onMouseEnter: function onMouseEnter() {
|
|
39740
39832
|
setflooringmenu(true);
|
|
@@ -40071,14 +40163,14 @@ var Header8 = function Header8(props) {
|
|
|
40071
40163
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
40072
40164
|
}, "\u0627\u0631\u0636\u064A\u0627\u062A \u0627\u0644\u0635\u0627\u0644\u0627\u062A \u0627\u0644\u0631\u064A\u0627\u0636\u064A\u0629"))))))));
|
|
40073
40165
|
} else if (item.pagename == 'Projects') {
|
|
40074
|
-
var _authdetailsContext$
|
|
40166
|
+
var _authdetailsContext$i31, _authdetailsContext$i32;
|
|
40075
40167
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40076
40168
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
40077
40169
|
style: {
|
|
40078
40170
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
40079
40171
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
40080
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
40081
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
40172
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
40173
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
40082
40174
|
},
|
|
40083
40175
|
onMouseEnter: function onMouseEnter() {
|
|
40084
40176
|
setflooringmenu2(true);
|
|
@@ -40148,45 +40240,7 @@ var Header8 = function Header8(props) {
|
|
|
40148
40240
|
paddingRightprops: '25px',
|
|
40149
40241
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
40150
40242
|
}
|
|
40151
|
-
})),
|
|
40152
|
-
"class": 'col-lg-2 d-flex align-items-center justify-content-end '
|
|
40153
|
-
}, /*#__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", {
|
|
40154
|
-
"class": ' d-flex align-items-center justify-content-center '
|
|
40155
|
-
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40156
|
-
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
40157
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
40158
|
-
"class": "m-0 p-0 mr-2 ml-2"
|
|
40159
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40160
|
-
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
40161
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
40162
|
-
"class": "m-0 p-0 ml-2 mr-2"
|
|
40163
|
-
}, 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$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 || (_authdetailsContext$i30 = _authdetailsContext$i30.instcurrencies) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.map(function (item, index) {
|
|
40164
|
-
var _authdetailsContext$i31;
|
|
40165
|
-
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
40166
|
-
onClick: function onClick() {
|
|
40167
|
-
setcurrencyfunccontext(item);
|
|
40168
|
-
}
|
|
40169
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40170
|
-
"class": "row m-0 w-100"
|
|
40171
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40172
|
-
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
40173
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40174
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer)
|
|
40175
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
40176
|
-
"class": 'dropdownitem d-flex align-items-center justify-content-center m-0 p-0',
|
|
40177
|
-
style: {
|
|
40178
|
-
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
40179
|
-
fontWeight: sectionproperties.dropdown_fontweight,
|
|
40180
|
-
textTransform: sectionproperties.dropdown_texttransform
|
|
40181
|
-
}
|
|
40182
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
40183
|
-
"class": 'ml-2 mr-2'
|
|
40184
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 || (_authdetailsContext$i31 = _authdetailsContext$i31.instcurrencies) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40185
|
-
"class": "col-lg-12 p-0"
|
|
40186
|
-
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
40187
|
-
"class": "m-0"
|
|
40188
|
-
}))));
|
|
40189
|
-
})))), sectionproperties.btninsearch == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40243
|
+
})), sectionproperties.btninsearch == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40190
40244
|
"class": 'col-lg-3 d-none d-lg-flex flex-row justify-content-end align-items-center',
|
|
40191
40245
|
style: {
|
|
40192
40246
|
position: 'relative'
|
package/dist/index.esm.js
CHANGED
|
@@ -37957,7 +37957,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
37957
37957
|
function ownKeys$1_(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; }
|
|
37958
37958
|
function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
37959
37959
|
var Header8 = function Header8(props) {
|
|
37960
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$i0, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i1, _authdetailsContext$i10, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i15, _authdetailsContext$
|
|
37960
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$i0, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i1, _authdetailsContext$i10, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i18, _authdetailsContext$i20, _fetchcustomercartQue4, _fetchcustomercartQue5;
|
|
37961
37961
|
var actions = props.actions;
|
|
37962
37962
|
props.actions.history;
|
|
37963
37963
|
var lang = props.actions.lang;
|
|
@@ -38545,6 +38545,19 @@ var Header8 = function Header8(props) {
|
|
|
38545
38545
|
width: '50%'
|
|
38546
38546
|
}
|
|
38547
38547
|
}),
|
|
38548
|
+
header_menu2: css({
|
|
38549
|
+
width: 30,
|
|
38550
|
+
height: 30,
|
|
38551
|
+
borderRadius: 10,
|
|
38552
|
+
backgroundColor: '#787f3b',
|
|
38553
|
+
color: '#fff',
|
|
38554
|
+
fontSize: 13,
|
|
38555
|
+
':hover': {
|
|
38556
|
+
transition: '.3s',
|
|
38557
|
+
backgroundColor: '#793c1c',
|
|
38558
|
+
color: 'white'
|
|
38559
|
+
}
|
|
38560
|
+
}),
|
|
38548
38561
|
header_menu: css({
|
|
38549
38562
|
width: 40,
|
|
38550
38563
|
height: 35,
|
|
@@ -38939,7 +38952,7 @@ var Header8 = function Header8(props) {
|
|
|
38939
38952
|
fontWeight: sectionproperties.secondaryfontweight,
|
|
38940
38953
|
cursor: 'pointer'
|
|
38941
38954
|
}
|
|
38942
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", subtotalcart(), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) != '68c69dcc53e94' && /*#__PURE__*/React.createElement("div", {
|
|
38955
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", subtotalcart(), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) != '68c69dcc53e94' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) != '696691293c2a6' && /*#__PURE__*/React.createElement("div", {
|
|
38943
38956
|
"class": "d-flex flex-row justify-content-end align-items-center",
|
|
38944
38957
|
onClick: function onClick() {
|
|
38945
38958
|
if (langdetect == 'en') {
|
|
@@ -38960,7 +38973,45 @@ var Header8 = function Header8(props) {
|
|
|
38960
38973
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
38961
38974
|
}, /*#__PURE__*/React.createElement("span", {
|
|
38962
38975
|
"class": "mx-2"
|
|
38963
|
-
}, sectionproperties.englishlanguagetext))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38976
|
+
}, sectionproperties.englishlanguagetext))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '696691293c2a6' && /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
38977
|
+
"class": "".concat(header_cssstyles.header_menu2) + ' allcentered mx-2 '
|
|
38978
|
+
}, langdetect == 'ar' &&
|
|
38979
|
+
/*#__PURE__*/
|
|
38980
|
+
// <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
38981
|
+
React.createElement("p", {
|
|
38982
|
+
"class": "m-0 p-0"
|
|
38983
|
+
}, "\u0639")
|
|
38984
|
+
// </div>
|
|
38985
|
+
, langdetect == 'en' &&
|
|
38986
|
+
/*#__PURE__*/
|
|
38987
|
+
// <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
38988
|
+
React.createElement("p", {
|
|
38989
|
+
"class": "m-0 p-0"
|
|
38990
|
+
}, "En")
|
|
38991
|
+
// </div>
|
|
38992
|
+
)), /*#__PURE__*/React.createElement(Dropdown.Menu, null, /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
38993
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
38994
|
+
onClick: function onClick() {
|
|
38995
|
+
setlang('ar');
|
|
38996
|
+
}
|
|
38997
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
38998
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
38999
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
39000
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
39001
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
39002
|
+
"class": "ml-2 mr-2"
|
|
39003
|
+
}, lang.arabic)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
39004
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
39005
|
+
onClick: function onClick() {
|
|
39006
|
+
setlang('en');
|
|
39007
|
+
}
|
|
39008
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
39009
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
39010
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
39011
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
39012
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
39013
|
+
"class": "ml-2 mr-2"
|
|
39014
|
+
}, lang.english)))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '68c69dcc53e94' && /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
38964
39015
|
"class": "".concat(header_cssstyles.header_menu) + ' allcentered mx-2 '
|
|
38965
39016
|
}, langdetect == 'ar' &&
|
|
38966
39017
|
/*#__PURE__*/
|
|
@@ -38998,7 +39049,48 @@ var Header8 = function Header8(props) {
|
|
|
38998
39049
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38999
39050
|
}, /*#__PURE__*/React.createElement("span", {
|
|
39000
39051
|
"class": "ml-2 mr-2"
|
|
39001
|
-
}, lang.english))))))))
|
|
39052
|
+
}, lang.english)))))), 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", {
|
|
39053
|
+
"class": langdetect == 'en' ? 'col-lasdg-2 d-flex align-items-center justify-content-end ml-2 ' : 'col-lasdg-2 d-flex align-items-center justify-content-end mr-2 '
|
|
39054
|
+
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
39055
|
+
"class": ' d-flex align-items-center justify-content-center ',
|
|
39056
|
+
style: {
|
|
39057
|
+
color: sectionproperties.language_container_color
|
|
39058
|
+
}
|
|
39059
|
+
}, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
39060
|
+
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
39061
|
+
}, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("p", {
|
|
39062
|
+
"class": "m-0 p-0 mr-2 ml-2"
|
|
39063
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
39064
|
+
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
39065
|
+
}, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("p", {
|
|
39066
|
+
"class": "m-0 p-0 ml-2 mr-2"
|
|
39067
|
+
}, 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) {
|
|
39068
|
+
var _authdetailsContext$i17;
|
|
39069
|
+
return /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
39070
|
+
onClick: function onClick() {
|
|
39071
|
+
setcurrencyfunccontext(item);
|
|
39072
|
+
}
|
|
39073
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
39074
|
+
"class": "row m-0 w-100"
|
|
39075
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
39076
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
39077
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
39078
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer)
|
|
39079
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
39080
|
+
"class": 'dropdownitem d-flex align-items-center justify-content-center m-0 p-0',
|
|
39081
|
+
style: {
|
|
39082
|
+
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
39083
|
+
fontWeight: sectionproperties.dropdown_fontweight,
|
|
39084
|
+
textTransform: sectionproperties.dropdown_texttransform
|
|
39085
|
+
}
|
|
39086
|
+
}, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("span", {
|
|
39087
|
+
"class": 'ml-2 mr-2'
|
|
39088
|
+
}, 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", {
|
|
39089
|
+
"class": "col-lg-12 p-0"
|
|
39090
|
+
}, /*#__PURE__*/React.createElement("hr", {
|
|
39091
|
+
"class": "m-0"
|
|
39092
|
+
}))));
|
|
39093
|
+
})))))))), sectionproperties.showlowerheadersection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
39002
39094
|
"class": "col-lg-12 p-0 d-flex justify-content-center",
|
|
39003
39095
|
style: {
|
|
39004
39096
|
background: sectionproperties.uppersection_bgcolor
|
|
@@ -39025,9 +39117,9 @@ var Header8 = function Header8(props) {
|
|
|
39025
39117
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React.createElement("ul", {
|
|
39026
39118
|
"class": "w-100 mt-2",
|
|
39027
39119
|
style: {}
|
|
39028
|
-
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39029
|
-
var _authdetailsContext$
|
|
39030
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39120
|
+
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.instcategories) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.map(function (item, index) {
|
|
39121
|
+
var _authdetailsContext$i19;
|
|
39122
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.instcategories;
|
|
39031
39123
|
if (item.isshowntocustomers == 1) {
|
|
39032
39124
|
return /*#__PURE__*/React.createElement("div", {
|
|
39033
39125
|
"class": "w-100"
|
|
@@ -39040,16 +39132,16 @@ var Header8 = function Header8(props) {
|
|
|
39040
39132
|
"class": "w-100"
|
|
39041
39133
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
39042
39134
|
}
|
|
39043
|
-
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39044
|
-
var _authdetailsContext$
|
|
39045
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39135
|
+
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 || (_authdetailsContext$i20 = _authdetailsContext$i20.instcollections) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.map(function (item, index) {
|
|
39136
|
+
var _authdetailsContext$i21;
|
|
39137
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.instcollections;
|
|
39046
39138
|
if (item.isshowntocustomers == 1) {
|
|
39047
39139
|
return /*#__PURE__*/React.createElement("div", {
|
|
39048
39140
|
"class": "w-100"
|
|
39049
39141
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
39050
39142
|
}
|
|
39051
39143
|
}))))), /*#__PURE__*/React.createElement("div", {
|
|
39052
|
-
"class":
|
|
39144
|
+
"class": 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'
|
|
39053
39145
|
}, /*#__PURE__*/React.createElement("div", {
|
|
39054
39146
|
"class": ' w-100 align-items-center ',
|
|
39055
39147
|
style: {
|
|
@@ -39058,15 +39150,15 @@ var Header8 = function Header8(props) {
|
|
|
39058
39150
|
justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
39059
39151
|
}
|
|
39060
39152
|
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
39061
|
-
var _authdetailsContext$
|
|
39153
|
+
var _authdetailsContext$i22;
|
|
39062
39154
|
var activeclass = '';
|
|
39063
39155
|
if (item.isselected) {
|
|
39064
39156
|
activeclass = header_cssstyles.navbar_item_active;
|
|
39065
39157
|
}
|
|
39066
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39158
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.instid) == '68c69dcc53e94') {
|
|
39067
39159
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
39068
39160
|
if (item.pagename != 'Services' && item.pagename != 'Isolation' && item.pagename != 'Flooring' && item.pagename != 'Projects') {
|
|
39069
|
-
var _authdetailsContext$
|
|
39161
|
+
var _authdetailsContext$i23, _authdetailsContext$i24;
|
|
39070
39162
|
return /*#__PURE__*/React.createElement("div", {
|
|
39071
39163
|
"class": "".concat(activeclass) + ' cursor-pointer scrollhorizontalcard ',
|
|
39072
39164
|
onClick: function onClick() {
|
|
@@ -39075,21 +39167,21 @@ var Header8 = function Header8(props) {
|
|
|
39075
39167
|
style: {
|
|
39076
39168
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
39077
39169
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
39078
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39079
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39170
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39171
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
39080
39172
|
}
|
|
39081
39173
|
}, /*#__PURE__*/React.createElement("div", {
|
|
39082
39174
|
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
39083
39175
|
}, " ", langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
39084
39176
|
} else if (item.pagename == 'Services') {
|
|
39085
|
-
var _authdetailsContext$
|
|
39177
|
+
var _authdetailsContext$i25, _authdetailsContext$i26;
|
|
39086
39178
|
return /*#__PURE__*/React.createElement("div", {
|
|
39087
39179
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
39088
39180
|
style: {
|
|
39089
39181
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
39090
39182
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
39091
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39092
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39183
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39184
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
39093
39185
|
},
|
|
39094
39186
|
onMouseEnter: function onMouseEnter() {
|
|
39095
39187
|
setservicesmenu(true);
|
|
@@ -39265,14 +39357,14 @@ var Header8 = function Header8(props) {
|
|
|
39265
39357
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
39266
39358
|
}, langdetect == 'en' ? 'Soil drying' : 'تجفيف التربة'))))))));
|
|
39267
39359
|
} else if (item.pagename == 'Isolation') {
|
|
39268
|
-
var _authdetailsContext$
|
|
39360
|
+
var _authdetailsContext$i27, _authdetailsContext$i28;
|
|
39269
39361
|
return /*#__PURE__*/React.createElement("div", {
|
|
39270
39362
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
39271
39363
|
style: {
|
|
39272
39364
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
39273
39365
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
39274
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39275
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39366
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39367
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
39276
39368
|
},
|
|
39277
39369
|
onMouseEnter: function onMouseEnter() {
|
|
39278
39370
|
setisolationmenu(true);
|
|
@@ -39676,14 +39768,14 @@ var Header8 = function Header8(props) {
|
|
|
39676
39768
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
39677
39769
|
}, "\u0641\u064A\u0646\u064A\u0644")))))))))))));
|
|
39678
39770
|
} else if (item.pagename == 'Flooring') {
|
|
39679
|
-
var _authdetailsContext$
|
|
39771
|
+
var _authdetailsContext$i29, _authdetailsContext$i30;
|
|
39680
39772
|
return /*#__PURE__*/React.createElement("div", {
|
|
39681
39773
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
39682
39774
|
style: {
|
|
39683
39775
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
39684
39776
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
39685
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39686
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39777
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39778
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
39687
39779
|
},
|
|
39688
39780
|
onMouseEnter: function onMouseEnter() {
|
|
39689
39781
|
setflooringmenu(true);
|
|
@@ -40020,14 +40112,14 @@ var Header8 = function Header8(props) {
|
|
|
40020
40112
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
40021
40113
|
}, "\u0627\u0631\u0636\u064A\u0627\u062A \u0627\u0644\u0635\u0627\u0644\u0627\u062A \u0627\u0644\u0631\u064A\u0627\u0636\u064A\u0629"))))))));
|
|
40022
40114
|
} else if (item.pagename == 'Projects') {
|
|
40023
|
-
var _authdetailsContext$
|
|
40115
|
+
var _authdetailsContext$i31, _authdetailsContext$i32;
|
|
40024
40116
|
return /*#__PURE__*/React.createElement("div", {
|
|
40025
40117
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
40026
40118
|
style: {
|
|
40027
40119
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
40028
40120
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
40029
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
40030
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
40121
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
40122
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
40031
40123
|
},
|
|
40032
40124
|
onMouseEnter: function onMouseEnter() {
|
|
40033
40125
|
setflooringmenu2(true);
|
|
@@ -40097,45 +40189,7 @@ var Header8 = function Header8(props) {
|
|
|
40097
40189
|
paddingRightprops: '25px',
|
|
40098
40190
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
40099
40191
|
}
|
|
40100
|
-
})),
|
|
40101
|
-
"class": 'col-lg-2 d-flex align-items-center justify-content-end '
|
|
40102
|
-
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
40103
|
-
"class": ' d-flex align-items-center justify-content-center '
|
|
40104
|
-
}, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
40105
|
-
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
40106
|
-
}, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("p", {
|
|
40107
|
-
"class": "m-0 p-0 mr-2 ml-2"
|
|
40108
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
40109
|
-
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
40110
|
-
}, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("p", {
|
|
40111
|
-
"class": "m-0 p-0 ml-2 mr-2"
|
|
40112
|
-
}, 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$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 || (_authdetailsContext$i30 = _authdetailsContext$i30.instcurrencies) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.map(function (item, index) {
|
|
40113
|
-
var _authdetailsContext$i31;
|
|
40114
|
-
return /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
40115
|
-
onClick: function onClick() {
|
|
40116
|
-
setcurrencyfunccontext(item);
|
|
40117
|
-
}
|
|
40118
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
40119
|
-
"class": "row m-0 w-100"
|
|
40120
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
40121
|
-
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
40122
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
40123
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer)
|
|
40124
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
40125
|
-
"class": 'dropdownitem d-flex align-items-center justify-content-center m-0 p-0',
|
|
40126
|
-
style: {
|
|
40127
|
-
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
40128
|
-
fontWeight: sectionproperties.dropdown_fontweight,
|
|
40129
|
-
textTransform: sectionproperties.dropdown_texttransform
|
|
40130
|
-
}
|
|
40131
|
-
}, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("span", {
|
|
40132
|
-
"class": 'ml-2 mr-2'
|
|
40133
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 || (_authdetailsContext$i31 = _authdetailsContext$i31.instcurrencies) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.length) - 1 && /*#__PURE__*/React.createElement("div", {
|
|
40134
|
-
"class": "col-lg-12 p-0"
|
|
40135
|
-
}, /*#__PURE__*/React.createElement("hr", {
|
|
40136
|
-
"class": "m-0"
|
|
40137
|
-
}))));
|
|
40138
|
-
})))), sectionproperties.btninsearch == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
40192
|
+
})), sectionproperties.btninsearch == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
40139
40193
|
"class": 'col-lg-3 d-none d-lg-flex flex-row justify-content-end align-items-center',
|
|
40140
40194
|
style: {
|
|
40141
40195
|
position: 'relative'
|
package/dist/index.umd.js
CHANGED
|
@@ -37817,7 +37817,7 @@
|
|
|
37817
37817
|
function ownKeys$1_(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; }
|
|
37818
37818
|
function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
37819
37819
|
var Header8 = function Header8(props) {
|
|
37820
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$i0, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i1, _authdetailsContext$i10, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i15, _authdetailsContext$
|
|
37820
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$i0, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i1, _authdetailsContext$i10, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i18, _authdetailsContext$i20, _fetchcustomercartQue4, _fetchcustomercartQue5;
|
|
37821
37821
|
var actions = props.actions;
|
|
37822
37822
|
props.actions.history;
|
|
37823
37823
|
var lang = props.actions.lang;
|
|
@@ -38405,6 +38405,19 @@
|
|
|
38405
38405
|
width: '50%'
|
|
38406
38406
|
}
|
|
38407
38407
|
}),
|
|
38408
|
+
header_menu2: glamor.css({
|
|
38409
|
+
width: 30,
|
|
38410
|
+
height: 30,
|
|
38411
|
+
borderRadius: 10,
|
|
38412
|
+
backgroundColor: '#787f3b',
|
|
38413
|
+
color: '#fff',
|
|
38414
|
+
fontSize: 13,
|
|
38415
|
+
':hover': {
|
|
38416
|
+
transition: '.3s',
|
|
38417
|
+
backgroundColor: '#793c1c',
|
|
38418
|
+
color: 'white'
|
|
38419
|
+
}
|
|
38420
|
+
}),
|
|
38408
38421
|
header_menu: glamor.css({
|
|
38409
38422
|
width: 40,
|
|
38410
38423
|
height: 35,
|
|
@@ -38799,7 +38812,7 @@
|
|
|
38799
38812
|
fontWeight: sectionproperties.secondaryfontweight,
|
|
38800
38813
|
cursor: 'pointer'
|
|
38801
38814
|
}
|
|
38802
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", subtotalcart(), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) != '68c69dcc53e94' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38815
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", subtotalcart(), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) != '68c69dcc53e94' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) != '696691293c2a6' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38803
38816
|
"class": "d-flex flex-row justify-content-end align-items-center",
|
|
38804
38817
|
onClick: function onClick() {
|
|
38805
38818
|
if (langdetect == 'en') {
|
|
@@ -38820,7 +38833,45 @@
|
|
|
38820
38833
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
38821
38834
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38822
38835
|
"class": "mx-2"
|
|
38823
|
-
}, sectionproperties.englishlanguagetext))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38836
|
+
}, sectionproperties.englishlanguagetext))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '696691293c2a6' && /*#__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", {
|
|
38837
|
+
"class": "".concat(header_cssstyles.header_menu2) + ' allcentered mx-2 '
|
|
38838
|
+
}, langdetect == 'ar' &&
|
|
38839
|
+
/*#__PURE__*/
|
|
38840
|
+
// <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
38841
|
+
React__default["default"].createElement("p", {
|
|
38842
|
+
"class": "m-0 p-0"
|
|
38843
|
+
}, "\u0639")
|
|
38844
|
+
// </div>
|
|
38845
|
+
, langdetect == 'en' &&
|
|
38846
|
+
/*#__PURE__*/
|
|
38847
|
+
// <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
38848
|
+
React__default["default"].createElement("p", {
|
|
38849
|
+
"class": "m-0 p-0"
|
|
38850
|
+
}, "En")
|
|
38851
|
+
// </div>
|
|
38852
|
+
)), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
38853
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
38854
|
+
onClick: function onClick() {
|
|
38855
|
+
setlang('ar');
|
|
38856
|
+
}
|
|
38857
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38858
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
38859
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38860
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38861
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38862
|
+
"class": "ml-2 mr-2"
|
|
38863
|
+
}, lang.arabic)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
38864
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
38865
|
+
onClick: function onClick() {
|
|
38866
|
+
setlang('en');
|
|
38867
|
+
}
|
|
38868
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38869
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
38870
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38871
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38872
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38873
|
+
"class": "ml-2 mr-2"
|
|
38874
|
+
}, lang.english)))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '68c69dcc53e94' && /*#__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", {
|
|
38824
38875
|
"class": "".concat(header_cssstyles.header_menu) + ' allcentered mx-2 '
|
|
38825
38876
|
}, langdetect == 'ar' &&
|
|
38826
38877
|
/*#__PURE__*/
|
|
@@ -38858,7 +38909,48 @@
|
|
|
38858
38909
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38859
38910
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38860
38911
|
"class": "ml-2 mr-2"
|
|
38861
|
-
}, lang.english))))))))
|
|
38912
|
+
}, lang.english)))))), 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", {
|
|
38913
|
+
"class": langdetect == 'en' ? 'col-lasdg-2 d-flex align-items-center justify-content-end ml-2 ' : 'col-lasdg-2 d-flex align-items-center justify-content-end mr-2 '
|
|
38914
|
+
}, /*#__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", {
|
|
38915
|
+
"class": ' d-flex align-items-center justify-content-center ',
|
|
38916
|
+
style: {
|
|
38917
|
+
color: sectionproperties.language_container_color
|
|
38918
|
+
}
|
|
38919
|
+
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38920
|
+
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
38921
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38922
|
+
"class": "m-0 p-0 mr-2 ml-2"
|
|
38923
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38924
|
+
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
38925
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38926
|
+
"class": "m-0 p-0 ml-2 mr-2"
|
|
38927
|
+
}, 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) {
|
|
38928
|
+
var _authdetailsContext$i17;
|
|
38929
|
+
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
38930
|
+
onClick: function onClick() {
|
|
38931
|
+
setcurrencyfunccontext(item);
|
|
38932
|
+
}
|
|
38933
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38934
|
+
"class": "row m-0 w-100"
|
|
38935
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38936
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
38937
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38938
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer)
|
|
38939
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38940
|
+
"class": 'dropdownitem d-flex align-items-center justify-content-center m-0 p-0',
|
|
38941
|
+
style: {
|
|
38942
|
+
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
38943
|
+
fontWeight: sectionproperties.dropdown_fontweight,
|
|
38944
|
+
textTransform: sectionproperties.dropdown_texttransform
|
|
38945
|
+
}
|
|
38946
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38947
|
+
"class": 'ml-2 mr-2'
|
|
38948
|
+
}, 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", {
|
|
38949
|
+
"class": "col-lg-12 p-0"
|
|
38950
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
38951
|
+
"class": "m-0"
|
|
38952
|
+
}))));
|
|
38953
|
+
})))))))), sectionproperties.showlowerheadersection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38862
38954
|
"class": "col-lg-12 p-0 d-flex justify-content-center",
|
|
38863
38955
|
style: {
|
|
38864
38956
|
background: sectionproperties.uppersection_bgcolor
|
|
@@ -38885,9 +38977,9 @@
|
|
|
38885
38977
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
38886
38978
|
"class": "w-100 mt-2",
|
|
38887
38979
|
style: {}
|
|
38888
|
-
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38889
|
-
var _authdetailsContext$
|
|
38890
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38980
|
+
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.instcategories) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.map(function (item, index) {
|
|
38981
|
+
var _authdetailsContext$i19;
|
|
38982
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.instcategories;
|
|
38891
38983
|
if (item.isshowntocustomers == 1) {
|
|
38892
38984
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38893
38985
|
"class": "w-100"
|
|
@@ -38900,16 +38992,16 @@
|
|
|
38900
38992
|
"class": "w-100"
|
|
38901
38993
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
38902
38994
|
}
|
|
38903
|
-
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38904
|
-
var _authdetailsContext$
|
|
38905
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38995
|
+
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 || (_authdetailsContext$i20 = _authdetailsContext$i20.instcollections) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.map(function (item, index) {
|
|
38996
|
+
var _authdetailsContext$i21;
|
|
38997
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.instcollections;
|
|
38906
38998
|
if (item.isshowntocustomers == 1) {
|
|
38907
38999
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38908
39000
|
"class": "w-100"
|
|
38909
39001
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
38910
39002
|
}
|
|
38911
39003
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38912
|
-
"class":
|
|
39004
|
+
"class": 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'
|
|
38913
39005
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38914
39006
|
"class": ' w-100 align-items-center ',
|
|
38915
39007
|
style: {
|
|
@@ -38918,15 +39010,15 @@
|
|
|
38918
39010
|
justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
38919
39011
|
}
|
|
38920
39012
|
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
38921
|
-
var _authdetailsContext$
|
|
39013
|
+
var _authdetailsContext$i22;
|
|
38922
39014
|
var activeclass = '';
|
|
38923
39015
|
if (item.isselected) {
|
|
38924
39016
|
activeclass = header_cssstyles.navbar_item_active;
|
|
38925
39017
|
}
|
|
38926
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39018
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.instid) == '68c69dcc53e94') {
|
|
38927
39019
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
38928
39020
|
if (item.pagename != 'Services' && item.pagename != 'Isolation' && item.pagename != 'Flooring' && item.pagename != 'Projects') {
|
|
38929
|
-
var _authdetailsContext$
|
|
39021
|
+
var _authdetailsContext$i23, _authdetailsContext$i24;
|
|
38930
39022
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38931
39023
|
"class": "".concat(activeclass) + ' cursor-pointer scrollhorizontalcard ',
|
|
38932
39024
|
onClick: function onClick() {
|
|
@@ -38935,21 +39027,21 @@
|
|
|
38935
39027
|
style: {
|
|
38936
39028
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
38937
39029
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
38938
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38939
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39030
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39031
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
38940
39032
|
}
|
|
38941
39033
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38942
39034
|
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
38943
39035
|
}, " ", langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
38944
39036
|
} else if (item.pagename == 'Services') {
|
|
38945
|
-
var _authdetailsContext$
|
|
39037
|
+
var _authdetailsContext$i25, _authdetailsContext$i26;
|
|
38946
39038
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38947
39039
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
38948
39040
|
style: {
|
|
38949
39041
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
38950
39042
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
38951
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38952
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39043
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39044
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
38953
39045
|
},
|
|
38954
39046
|
onMouseEnter: function onMouseEnter() {
|
|
38955
39047
|
setservicesmenu(true);
|
|
@@ -39125,14 +39217,14 @@
|
|
|
39125
39217
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
39126
39218
|
}, langdetect == 'en' ? 'Soil drying' : 'تجفيف التربة'))))))));
|
|
39127
39219
|
} else if (item.pagename == 'Isolation') {
|
|
39128
|
-
var _authdetailsContext$
|
|
39220
|
+
var _authdetailsContext$i27, _authdetailsContext$i28;
|
|
39129
39221
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39130
39222
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
39131
39223
|
style: {
|
|
39132
39224
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
39133
39225
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
39134
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39135
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39226
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39227
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
39136
39228
|
},
|
|
39137
39229
|
onMouseEnter: function onMouseEnter() {
|
|
39138
39230
|
setisolationmenu(true);
|
|
@@ -39536,14 +39628,14 @@
|
|
|
39536
39628
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
39537
39629
|
}, "\u0641\u064A\u0646\u064A\u0644")))))))))))));
|
|
39538
39630
|
} else if (item.pagename == 'Flooring') {
|
|
39539
|
-
var _authdetailsContext$
|
|
39631
|
+
var _authdetailsContext$i29, _authdetailsContext$i30;
|
|
39540
39632
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39541
39633
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
39542
39634
|
style: {
|
|
39543
39635
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
39544
39636
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
39545
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39546
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39637
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39638
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
39547
39639
|
},
|
|
39548
39640
|
onMouseEnter: function onMouseEnter() {
|
|
39549
39641
|
setflooringmenu(true);
|
|
@@ -39880,14 +39972,14 @@
|
|
|
39880
39972
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
39881
39973
|
}, "\u0627\u0631\u0636\u064A\u0627\u062A \u0627\u0644\u0635\u0627\u0644\u0627\u062A \u0627\u0644\u0631\u064A\u0627\u0636\u064A\u0629"))))))));
|
|
39882
39974
|
} else if (item.pagename == 'Projects') {
|
|
39883
|
-
var _authdetailsContext$
|
|
39975
|
+
var _authdetailsContext$i31, _authdetailsContext$i32;
|
|
39884
39976
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39885
39977
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
39886
39978
|
style: {
|
|
39887
39979
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
39888
39980
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
39889
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39890
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39981
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39982
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
39891
39983
|
},
|
|
39892
39984
|
onMouseEnter: function onMouseEnter() {
|
|
39893
39985
|
setflooringmenu2(true);
|
|
@@ -39957,45 +40049,7 @@
|
|
|
39957
40049
|
paddingRightprops: '25px',
|
|
39958
40050
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
39959
40051
|
}
|
|
39960
|
-
})),
|
|
39961
|
-
"class": 'col-lg-2 d-flex align-items-center justify-content-end '
|
|
39962
|
-
}, /*#__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", {
|
|
39963
|
-
"class": ' d-flex align-items-center justify-content-center '
|
|
39964
|
-
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39965
|
-
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
39966
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
39967
|
-
"class": "m-0 p-0 mr-2 ml-2"
|
|
39968
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39969
|
-
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
39970
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
39971
|
-
"class": "m-0 p-0 ml-2 mr-2"
|
|
39972
|
-
}, 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$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 || (_authdetailsContext$i30 = _authdetailsContext$i30.instcurrencies) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.map(function (item, index) {
|
|
39973
|
-
var _authdetailsContext$i31;
|
|
39974
|
-
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
39975
|
-
onClick: function onClick() {
|
|
39976
|
-
setcurrencyfunccontext(item);
|
|
39977
|
-
}
|
|
39978
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39979
|
-
"class": "row m-0 w-100"
|
|
39980
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39981
|
-
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
39982
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39983
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer)
|
|
39984
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
39985
|
-
"class": 'dropdownitem d-flex align-items-center justify-content-center m-0 p-0',
|
|
39986
|
-
style: {
|
|
39987
|
-
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
39988
|
-
fontWeight: sectionproperties.dropdown_fontweight,
|
|
39989
|
-
textTransform: sectionproperties.dropdown_texttransform
|
|
39990
|
-
}
|
|
39991
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
39992
|
-
"class": 'ml-2 mr-2'
|
|
39993
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 || (_authdetailsContext$i31 = _authdetailsContext$i31.instcurrencies) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39994
|
-
"class": "col-lg-12 p-0"
|
|
39995
|
-
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
39996
|
-
"class": "m-0"
|
|
39997
|
-
}))));
|
|
39998
|
-
})))), sectionproperties.btninsearch == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40052
|
+
})), sectionproperties.btninsearch == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39999
40053
|
"class": 'col-lg-3 d-none d-lg-flex flex-row justify-content-end align-items-center',
|
|
40000
40054
|
style: {
|
|
40001
40055
|
position: 'relative'
|