tabexseriescomponents 0.0.496 → 0.0.498
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 +148 -47
- package/dist/index.esm.js +148 -47
- package/dist/index.umd.js +148 -47
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1536,7 +1536,10 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1536
1536
|
}
|
|
1537
1537
|
if (item.optionname == 'color' || item.optionname == 'Color') {
|
|
1538
1538
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1539
|
-
className: productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(
|
|
1539
|
+
className: productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active)
|
|
1540
|
+
// `${isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''}`
|
|
1541
|
+
,
|
|
1542
|
+
|
|
1540
1543
|
onClick: function onClick() {
|
|
1541
1544
|
// here
|
|
1542
1545
|
if (optionvaluesitem.isenabled == 1) {
|
|
@@ -1547,8 +1550,11 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1547
1550
|
},
|
|
1548
1551
|
style: {
|
|
1549
1552
|
background: optionvaluesitem.valuename,
|
|
1550
|
-
|
|
1551
|
-
|
|
1553
|
+
border: isoptionvalueselected == 1 ? '2px solid green' : ''
|
|
1554
|
+
|
|
1555
|
+
// borderWidth: isoptionvalueselected == 1 ? '2px' : 0,
|
|
1556
|
+
// opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
|
|
1557
|
+
// cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
1552
1558
|
}
|
|
1553
1559
|
}));
|
|
1554
1560
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
@@ -10968,7 +10974,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10968
10974
|
email: '',
|
|
10969
10975
|
code: '',
|
|
10970
10976
|
step: 'sendcode',
|
|
10971
|
-
isvalidated: false
|
|
10977
|
+
isvalidated: props.srcfromprops == 'accountinfo' ? true : false
|
|
10972
10978
|
}),
|
|
10973
10979
|
_useState18 = _slicedToArray__default["default"](_useState17, 2),
|
|
10974
10980
|
validateemailpayload = _useState18[0],
|
|
@@ -15476,7 +15482,7 @@ var Filter$1 = function Filter(props) {
|
|
|
15476
15482
|
// }, []);
|
|
15477
15483
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15478
15484
|
// className={sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 p-0 w-100 filter mt-md-0 ' : 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none'}
|
|
15479
|
-
className: 'row
|
|
15485
|
+
className: 'row mx-0 p-0 w-100 mt-md-2',
|
|
15480
15486
|
style: {
|
|
15481
15487
|
marginTop: sectionproperties.filtersection_mt + 'px',
|
|
15482
15488
|
minHeight: sectionproperties.filterminheight == 0 ? 'auto' : sectionproperties.filterminheight + 'vh'
|
|
@@ -16415,7 +16421,7 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
16415
16421
|
}
|
|
16416
16422
|
};
|
|
16417
16423
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16418
|
-
className: 'col-lg-12 p-0 w-100 allcentered ',
|
|
16424
|
+
className: 'col-lg-12 p-0 w-100 allcentered mt-md-2 ',
|
|
16419
16425
|
style: {
|
|
16420
16426
|
marginTop: sectionproperties.filtersection_mt + 'px'
|
|
16421
16427
|
}
|
|
@@ -17077,7 +17083,10 @@ var CardsSection = function CardsSection(props) {
|
|
|
17077
17083
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
17078
17084
|
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
17079
17085
|
borderColor: sectionproperties.sectioncardbordercolor,
|
|
17080
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
17086
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid',
|
|
17087
|
+
'@media (max-width: 600px)': {
|
|
17088
|
+
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
17089
|
+
}
|
|
17081
17090
|
}),
|
|
17082
17091
|
filterbtn: glamor.css({
|
|
17083
17092
|
width: sectionproperties.filterbtn_Width + 'px',
|
|
@@ -27958,7 +27967,7 @@ styleInject(css_248z$v);
|
|
|
27958
27967
|
function ownKeys$1R(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; }
|
|
27959
27968
|
function _objectSpread$1R(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1R(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1R(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
27960
27969
|
var Simpleheader = function Simpleheader(props) {
|
|
27961
|
-
var _css, _css2, _header_cssstyles, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
27970
|
+
var _css, _css2, _header_cssstyles, _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
27962
27971
|
var actions = props.actions;
|
|
27963
27972
|
var _useState = React.useState(''),
|
|
27964
27973
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -28099,7 +28108,9 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28099
28108
|
}),
|
|
28100
28109
|
header_logo: glamor.css({
|
|
28101
28110
|
width: templateproperties_context.logo_width + 'px',
|
|
28102
|
-
height: templateproperties_context.logo_height + 'px'
|
|
28111
|
+
height: templateproperties_context.logo_height + 'px',
|
|
28112
|
+
maxWidth: '100%',
|
|
28113
|
+
maxHeight: '100%'
|
|
28103
28114
|
})
|
|
28104
28115
|
}, _defineProperty__default["default"](_header_cssstyles, "wishlist_btn", glamor.css({
|
|
28105
28116
|
width: sectionproperties.favBtnWidth + 'px',
|
|
@@ -28119,13 +28130,16 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28119
28130
|
})), _defineProperty__default["default"](_header_cssstyles, "cartbadge", glamor.css({
|
|
28120
28131
|
top: sectionproperties.cartbadgetop + 'px',
|
|
28121
28132
|
right: sectionproperties.cartbadgeright + 'px'
|
|
28133
|
+
})), _defineProperty__default["default"](_header_cssstyles, "favbadge", glamor.css({
|
|
28134
|
+
top: sectionproperties.wishlistbadgetop + 'px',
|
|
28135
|
+
right: sectionproperties.wishlistbadgeright + 'px'
|
|
28122
28136
|
})), _defineProperty__default["default"](_header_cssstyles, "badge_counter_header_notifications", glamor.css({
|
|
28123
28137
|
display: 'flex',
|
|
28124
28138
|
justifyContent: 'center',
|
|
28125
28139
|
alignItems: 'center',
|
|
28126
28140
|
position: 'absolute',
|
|
28127
|
-
top: sectionproperties.badge_top + 'px',
|
|
28128
|
-
right: sectionproperties.badge_right + 'px',
|
|
28141
|
+
// top: sectionproperties.badge_top + 'px',
|
|
28142
|
+
// right: sectionproperties.badge_right + 'px',
|
|
28129
28143
|
background: sectionproperties.badge_bgcolor,
|
|
28130
28144
|
width: sectionproperties.badge_width + 'px',
|
|
28131
28145
|
height: sectionproperties.badge_height + 'px',
|
|
@@ -28232,7 +28246,24 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28232
28246
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
28233
28247
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
28234
28248
|
}
|
|
28235
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
28249
|
+
}, sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
28250
|
+
href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber),
|
|
28251
|
+
target: '_blank',
|
|
28252
|
+
style: {
|
|
28253
|
+
position: 'fixed',
|
|
28254
|
+
bottom: 10,
|
|
28255
|
+
right: 10,
|
|
28256
|
+
zIndex: 999999,
|
|
28257
|
+
transition: 'all 0.3s ease-out'
|
|
28258
|
+
}
|
|
28259
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
28260
|
+
src: 'https://tabex-co.com/storage/StaticImages/whatsapp.png',
|
|
28261
|
+
style: {
|
|
28262
|
+
width: '40px',
|
|
28263
|
+
height: '40px',
|
|
28264
|
+
cursor: 'pointer'
|
|
28265
|
+
}
|
|
28266
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28236
28267
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
28237
28268
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28238
28269
|
"class": "row m-0 w-100 "
|
|
@@ -28250,7 +28281,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28250
28281
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28251
28282
|
"class": "col-lg-12 p-0"
|
|
28252
28283
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28253
|
-
"class": header_cssstyles.headerinnercontainer + ' row m-0 w-100 '
|
|
28284
|
+
"class": header_cssstyles.headerinnercontainer + ' row m-0 w-100 px-1025-1 '
|
|
28254
28285
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28255
28286
|
"class": "col-lg-12 p-0"
|
|
28256
28287
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -28263,7 +28294,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28263
28294
|
cursor: 'pointer'
|
|
28264
28295
|
},
|
|
28265
28296
|
onClick: function onClick() {
|
|
28266
|
-
routingcountext(
|
|
28297
|
+
routingcountext(sectionproperties.logoonclickroute);
|
|
28267
28298
|
}
|
|
28268
28299
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
28269
28300
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -28335,7 +28366,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28335
28366
|
fontSize: sectionproperties.favBtnIconfontsize + 'px'
|
|
28336
28367
|
}
|
|
28337
28368
|
})), sectionproperties.showfavbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28338
|
-
"class": "".concat(
|
|
28369
|
+
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.favbadge)
|
|
28339
28370
|
}, /*#__PURE__*/React__default["default"].createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28340
28371
|
style: {
|
|
28341
28372
|
position: 'relative'
|
|
@@ -28526,16 +28557,6 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28526
28557
|
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
28527
28558
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28528
28559
|
}), " ", lang.wishlist))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
28529
|
-
onClick: function onClick() {
|
|
28530
|
-
routingcountext(StaticPagesLinksContext.Policies);
|
|
28531
|
-
}
|
|
28532
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28533
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
28534
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28535
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
28536
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineSecurityScan.AiOutlineSecurityScan, {
|
|
28537
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28538
|
-
}), lang.policies))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
28539
28560
|
onClick: function onClick() {
|
|
28540
28561
|
LogoutMutationContext.mutate();
|
|
28541
28562
|
}
|
|
@@ -28545,7 +28566,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28545
28566
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
28546
28567
|
}, /*#__PURE__*/React__default["default"].createElement(BiLogOutCircle.BiLogOutCircle, {
|
|
28547
28568
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28548
|
-
}), lang.logout))))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28569
|
+
}), lang.logout))))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.languagecontainertype != 'Dropdown' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28549
28570
|
"class": langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-3 ' : ' m-0 cursor-pointer mr-3 ',
|
|
28550
28571
|
style: {
|
|
28551
28572
|
minWidth: '30px'
|
|
@@ -28569,7 +28590,57 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28569
28590
|
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
28570
28591
|
}, "\u0639", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
28571
28592
|
"class": "h-100 allcentered mr-auto pr-3"
|
|
28572
|
-
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))))
|
|
28593
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null))))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.languagecontainertype == 'Dropdown' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28594
|
+
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
28595
|
+
}, /*#__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", {
|
|
28596
|
+
"class": "".concat(headerstyles$9.header_menu) + ' allcentered '
|
|
28597
|
+
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28598
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 pr-3'
|
|
28599
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28600
|
+
"class": "m-0 p-0 d-flex align-items-center "
|
|
28601
|
+
}, "En", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
28602
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
28603
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28604
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 pl-3 '
|
|
28605
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28606
|
+
"class": "m-0 p-0 d-flex align-items-center"
|
|
28607
|
+
}, "\u0639", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
28608
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
28609
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
28610
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
28611
|
+
onClick: function onClick() {
|
|
28612
|
+
setlang('ar');
|
|
28613
|
+
}
|
|
28614
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28615
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
28616
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28617
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
28618
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
28619
|
+
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
28620
|
+
style: {
|
|
28621
|
+
maxWidth: '2vh',
|
|
28622
|
+
maxHeight: '2vh'
|
|
28623
|
+
}
|
|
28624
|
+
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
28625
|
+
"class": "ml-2 mr-2"
|
|
28626
|
+
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
28627
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
28628
|
+
onClick: function onClick() {
|
|
28629
|
+
setlang('en');
|
|
28630
|
+
}
|
|
28631
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28632
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
28633
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28634
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
28635
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
28636
|
+
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
28637
|
+
style: {
|
|
28638
|
+
maxWidth: '2vh',
|
|
28639
|
+
maxHeight: '2vh'
|
|
28640
|
+
}
|
|
28641
|
+
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
28642
|
+
"class": "ml-2 mr-2"
|
|
28643
|
+
}, "English")))))))))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28573
28644
|
"class": "col-lg-12 p-0"
|
|
28574
28645
|
}, /*#__PURE__*/React__default["default"].createElement(Subheader, {
|
|
28575
28646
|
actions: actions,
|
|
@@ -45912,7 +45983,10 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
45912
45983
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.address_en)));
|
|
45913
45984
|
};
|
|
45914
45985
|
return /*#__PURE__*/React__default["default"].createElement("footer", {
|
|
45915
|
-
"class": "row m-0 w-100 justify-content-center"
|
|
45986
|
+
"class": "row m-0 w-100 justify-content-center",
|
|
45987
|
+
style: {
|
|
45988
|
+
display: window.location.pathname == '/home' && sectionproperties.showfooterinhome == 'Hide' ? 'none' : 'flex'
|
|
45989
|
+
}
|
|
45916
45990
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45917
45991
|
style: {
|
|
45918
45992
|
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
@@ -55783,6 +55857,12 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
55783
55857
|
});
|
|
55784
55858
|
setdynamicform(tempitem);
|
|
55785
55859
|
};
|
|
55860
|
+
var today = new Date();
|
|
55861
|
+
var year = today.getFullYear();
|
|
55862
|
+
var month = (today.getMonth() + 1).toString().padStart(2, '0'); // Adding leading zero if necessary
|
|
55863
|
+
var day = today.getDate().toString().padStart(2, '0'); // Adding leading zero if necessary
|
|
55864
|
+
|
|
55865
|
+
var currentDate = year + '-' + month + '-' + day;
|
|
55786
55866
|
var inputitem = function inputitem(item, index) {
|
|
55787
55867
|
var type = 'input';
|
|
55788
55868
|
if (item.type == 'date') {
|
|
@@ -55792,23 +55872,44 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
55792
55872
|
} else if (item.type == 'text') {
|
|
55793
55873
|
type = 'text';
|
|
55794
55874
|
}
|
|
55795
|
-
|
|
55796
|
-
"
|
|
55797
|
-
|
|
55798
|
-
"
|
|
55799
|
-
|
|
55800
|
-
"
|
|
55801
|
-
|
|
55802
|
-
|
|
55803
|
-
"
|
|
55804
|
-
|
|
55805
|
-
|
|
55806
|
-
|
|
55807
|
-
|
|
55808
|
-
|
|
55809
|
-
|
|
55810
|
-
|
|
55811
|
-
|
|
55875
|
+
if (item.type == 'date') {
|
|
55876
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
55877
|
+
"class": "row m-0 w-100 mb-3"
|
|
55878
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
55879
|
+
"class": "col-lg-12 text-start mb-2"
|
|
55880
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
55881
|
+
"class": form_cssstyles.formlabel + ' m-0 p-0 ',
|
|
55882
|
+
style: {}
|
|
55883
|
+
}, currentDate, " ", langdetect == 'en' ? item.title_en : item.title_ar, " ", item.isrequired == 1 ? '*' : '')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
55884
|
+
"class": "col-lg-12 text-start"
|
|
55885
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
55886
|
+
type: type,
|
|
55887
|
+
value: item.value,
|
|
55888
|
+
onChange: function onChange(event) {
|
|
55889
|
+
updateformfield(event.target.value, index);
|
|
55890
|
+
},
|
|
55891
|
+
min: currentDate,
|
|
55892
|
+
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
55893
|
+
})));
|
|
55894
|
+
} else {
|
|
55895
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
55896
|
+
"class": "row m-0 w-100 mb-3"
|
|
55897
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
55898
|
+
"class": "col-lg-12 text-start mb-2"
|
|
55899
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
55900
|
+
"class": form_cssstyles.formlabel + ' m-0 p-0 ',
|
|
55901
|
+
style: {}
|
|
55902
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar, " ", item.isrequired == 1 ? '*' : '')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
55903
|
+
"class": "col-lg-12 text-start"
|
|
55904
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
55905
|
+
type: type,
|
|
55906
|
+
value: item.value,
|
|
55907
|
+
onChange: function onChange(event) {
|
|
55908
|
+
updateformfield(event.target.value, index);
|
|
55909
|
+
},
|
|
55910
|
+
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
55911
|
+
})));
|
|
55912
|
+
}
|
|
55812
55913
|
};
|
|
55813
55914
|
var textareaitem = function textareaitem(item, index) {
|
|
55814
55915
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -55850,7 +55951,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
55850
55951
|
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
55851
55952
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
55852
55953
|
value: ""
|
|
55853
|
-
},
|
|
55954
|
+
}, langdetect == 'en' ? 'Choose' : 'إختر'), decoditems === null || decoditems === void 0 ? void 0 : decoditems.map(function (sitem) {
|
|
55854
55955
|
return /*#__PURE__*/React__default["default"].createElement("option", {
|
|
55855
55956
|
value: sitem.optionname_en
|
|
55856
55957
|
}, langdetect == 'en' ? sitem.optionname_en : sitem.optionname_ar);
|
|
@@ -58749,7 +58850,7 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
58749
58850
|
onClick: function onClick() {
|
|
58750
58851
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
|
|
58751
58852
|
}
|
|
58752
|
-
}, langdetect == 'en' ? sectionproperties.
|
|
58853
|
+
}, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar, ' ')));
|
|
58753
58854
|
};
|
|
58754
58855
|
var slideshow_styles = {
|
|
58755
58856
|
slideshow_btn: glamor.css({
|
package/dist/index.esm.js
CHANGED
|
@@ -1487,7 +1487,10 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1487
1487
|
}
|
|
1488
1488
|
if (item.optionname == 'color' || item.optionname == 'Color') {
|
|
1489
1489
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
1490
|
-
className: productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(
|
|
1490
|
+
className: productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active)
|
|
1491
|
+
// `${isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''}`
|
|
1492
|
+
,
|
|
1493
|
+
|
|
1491
1494
|
onClick: function onClick() {
|
|
1492
1495
|
// here
|
|
1493
1496
|
if (optionvaluesitem.isenabled == 1) {
|
|
@@ -1498,8 +1501,11 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1498
1501
|
},
|
|
1499
1502
|
style: {
|
|
1500
1503
|
background: optionvaluesitem.valuename,
|
|
1501
|
-
|
|
1502
|
-
|
|
1504
|
+
border: isoptionvalueselected == 1 ? '2px solid green' : ''
|
|
1505
|
+
|
|
1506
|
+
// borderWidth: isoptionvalueselected == 1 ? '2px' : 0,
|
|
1507
|
+
// opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
|
|
1508
|
+
// cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
1503
1509
|
}
|
|
1504
1510
|
}));
|
|
1505
1511
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
@@ -10919,7 +10925,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10919
10925
|
email: '',
|
|
10920
10926
|
code: '',
|
|
10921
10927
|
step: 'sendcode',
|
|
10922
|
-
isvalidated: false
|
|
10928
|
+
isvalidated: props.srcfromprops == 'accountinfo' ? true : false
|
|
10923
10929
|
}),
|
|
10924
10930
|
_useState18 = _slicedToArray(_useState17, 2),
|
|
10925
10931
|
validateemailpayload = _useState18[0],
|
|
@@ -15427,7 +15433,7 @@ var Filter$1 = function Filter(props) {
|
|
|
15427
15433
|
// }, []);
|
|
15428
15434
|
return /*#__PURE__*/React.createElement("div", {
|
|
15429
15435
|
// className={sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 p-0 w-100 filter mt-md-0 ' : 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none'}
|
|
15430
|
-
className: 'row
|
|
15436
|
+
className: 'row mx-0 p-0 w-100 mt-md-2',
|
|
15431
15437
|
style: {
|
|
15432
15438
|
marginTop: sectionproperties.filtersection_mt + 'px',
|
|
15433
15439
|
minHeight: sectionproperties.filterminheight == 0 ? 'auto' : sectionproperties.filterminheight + 'vh'
|
|
@@ -16366,7 +16372,7 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
16366
16372
|
}
|
|
16367
16373
|
};
|
|
16368
16374
|
return /*#__PURE__*/React.createElement("div", {
|
|
16369
|
-
className: 'col-lg-12 p-0 w-100 allcentered ',
|
|
16375
|
+
className: 'col-lg-12 p-0 w-100 allcentered mt-md-2 ',
|
|
16370
16376
|
style: {
|
|
16371
16377
|
marginTop: sectionproperties.filtersection_mt + 'px'
|
|
16372
16378
|
}
|
|
@@ -17028,7 +17034,10 @@ var CardsSection = function CardsSection(props) {
|
|
|
17028
17034
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
17029
17035
|
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
17030
17036
|
borderColor: sectionproperties.sectioncardbordercolor,
|
|
17031
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
17037
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid',
|
|
17038
|
+
'@media (max-width: 600px)': {
|
|
17039
|
+
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
17040
|
+
}
|
|
17032
17041
|
}),
|
|
17033
17042
|
filterbtn: css({
|
|
17034
17043
|
width: sectionproperties.filterbtn_Width + 'px',
|
|
@@ -27909,7 +27918,7 @@ styleInject(css_248z$v);
|
|
|
27909
27918
|
function ownKeys$1R(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; }
|
|
27910
27919
|
function _objectSpread$1R(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1R(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1R(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
27911
27920
|
var Simpleheader = function Simpleheader(props) {
|
|
27912
|
-
var _css, _css2, _header_cssstyles, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
27921
|
+
var _css, _css2, _header_cssstyles, _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
27913
27922
|
var actions = props.actions;
|
|
27914
27923
|
var _useState = useState(''),
|
|
27915
27924
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -28050,7 +28059,9 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28050
28059
|
}),
|
|
28051
28060
|
header_logo: css({
|
|
28052
28061
|
width: templateproperties_context.logo_width + 'px',
|
|
28053
|
-
height: templateproperties_context.logo_height + 'px'
|
|
28062
|
+
height: templateproperties_context.logo_height + 'px',
|
|
28063
|
+
maxWidth: '100%',
|
|
28064
|
+
maxHeight: '100%'
|
|
28054
28065
|
})
|
|
28055
28066
|
}, _defineProperty(_header_cssstyles, "wishlist_btn", css({
|
|
28056
28067
|
width: sectionproperties.favBtnWidth + 'px',
|
|
@@ -28070,13 +28081,16 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28070
28081
|
})), _defineProperty(_header_cssstyles, "cartbadge", css({
|
|
28071
28082
|
top: sectionproperties.cartbadgetop + 'px',
|
|
28072
28083
|
right: sectionproperties.cartbadgeright + 'px'
|
|
28084
|
+
})), _defineProperty(_header_cssstyles, "favbadge", css({
|
|
28085
|
+
top: sectionproperties.wishlistbadgetop + 'px',
|
|
28086
|
+
right: sectionproperties.wishlistbadgeright + 'px'
|
|
28073
28087
|
})), _defineProperty(_header_cssstyles, "badge_counter_header_notifications", css({
|
|
28074
28088
|
display: 'flex',
|
|
28075
28089
|
justifyContent: 'center',
|
|
28076
28090
|
alignItems: 'center',
|
|
28077
28091
|
position: 'absolute',
|
|
28078
|
-
top: sectionproperties.badge_top + 'px',
|
|
28079
|
-
right: sectionproperties.badge_right + 'px',
|
|
28092
|
+
// top: sectionproperties.badge_top + 'px',
|
|
28093
|
+
// right: sectionproperties.badge_right + 'px',
|
|
28080
28094
|
background: sectionproperties.badge_bgcolor,
|
|
28081
28095
|
width: sectionproperties.badge_width + 'px',
|
|
28082
28096
|
height: sectionproperties.badge_height + 'px',
|
|
@@ -28183,7 +28197,24 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28183
28197
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
28184
28198
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
28185
28199
|
}
|
|
28186
|
-
}, /*#__PURE__*/React.createElement("
|
|
28200
|
+
}, sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("a", {
|
|
28201
|
+
href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber),
|
|
28202
|
+
target: '_blank',
|
|
28203
|
+
style: {
|
|
28204
|
+
position: 'fixed',
|
|
28205
|
+
bottom: 10,
|
|
28206
|
+
right: 10,
|
|
28207
|
+
zIndex: 999999,
|
|
28208
|
+
transition: 'all 0.3s ease-out'
|
|
28209
|
+
}
|
|
28210
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
28211
|
+
src: 'https://tabex-co.com/storage/StaticImages/whatsapp.png',
|
|
28212
|
+
style: {
|
|
28213
|
+
width: '40px',
|
|
28214
|
+
height: '40px',
|
|
28215
|
+
cursor: 'pointer'
|
|
28216
|
+
}
|
|
28217
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
28187
28218
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
28188
28219
|
}, /*#__PURE__*/React.createElement("div", {
|
|
28189
28220
|
"class": "row m-0 w-100 "
|
|
@@ -28201,7 +28232,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28201
28232
|
})), /*#__PURE__*/React.createElement("div", {
|
|
28202
28233
|
"class": "col-lg-12 p-0"
|
|
28203
28234
|
}, /*#__PURE__*/React.createElement("div", {
|
|
28204
|
-
"class": header_cssstyles.headerinnercontainer + ' row m-0 w-100 '
|
|
28235
|
+
"class": header_cssstyles.headerinnercontainer + ' row m-0 w-100 px-1025-1 '
|
|
28205
28236
|
}, /*#__PURE__*/React.createElement("div", {
|
|
28206
28237
|
"class": "col-lg-12 p-0"
|
|
28207
28238
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -28214,7 +28245,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28214
28245
|
cursor: 'pointer'
|
|
28215
28246
|
},
|
|
28216
28247
|
onClick: function onClick() {
|
|
28217
|
-
routingcountext(
|
|
28248
|
+
routingcountext(sectionproperties.logoonclickroute);
|
|
28218
28249
|
}
|
|
28219
28250
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
28220
28251
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -28286,7 +28317,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28286
28317
|
fontSize: sectionproperties.favBtnIconfontsize + 'px'
|
|
28287
28318
|
}
|
|
28288
28319
|
})), sectionproperties.showfavbadge == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
28289
|
-
"class": "".concat(
|
|
28320
|
+
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.favbadge)
|
|
28290
28321
|
}, /*#__PURE__*/React.createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
28291
28322
|
style: {
|
|
28292
28323
|
position: 'relative'
|
|
@@ -28477,16 +28508,6 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28477
28508
|
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar$1, {
|
|
28478
28509
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28479
28510
|
}), " ", lang.wishlist))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
28480
|
-
onClick: function onClick() {
|
|
28481
|
-
routingcountext(StaticPagesLinksContext.Policies);
|
|
28482
|
-
}
|
|
28483
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
28484
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
28485
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
28486
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
28487
|
-
}, /*#__PURE__*/React.createElement(AiOutlineSecurityScan, {
|
|
28488
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28489
|
-
}), lang.policies))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
28490
28511
|
onClick: function onClick() {
|
|
28491
28512
|
LogoutMutationContext.mutate();
|
|
28492
28513
|
}
|
|
@@ -28496,7 +28517,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28496
28517
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
28497
28518
|
}, /*#__PURE__*/React.createElement(BiLogOutCircle, {
|
|
28498
28519
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28499
|
-
}), lang.logout))))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
28520
|
+
}), lang.logout))))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.languagecontainertype != 'Dropdown' && /*#__PURE__*/React.createElement("div", {
|
|
28500
28521
|
"class": langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-3 ' : ' m-0 cursor-pointer mr-3 ',
|
|
28501
28522
|
style: {
|
|
28502
28523
|
minWidth: '30px'
|
|
@@ -28520,7 +28541,57 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28520
28541
|
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
28521
28542
|
}, "\u0639", ' ', /*#__PURE__*/React.createElement("i", {
|
|
28522
28543
|
"class": "h-100 allcentered mr-auto pr-3"
|
|
28523
|
-
}, /*#__PURE__*/React.createElement(BsChevronDown, null)))))
|
|
28544
|
+
}, /*#__PURE__*/React.createElement(BsChevronDown, null))))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.languagecontainertype == 'Dropdown' && /*#__PURE__*/React.createElement("div", {
|
|
28545
|
+
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
28546
|
+
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
28547
|
+
"class": "".concat(headerstyles$9.header_menu) + ' allcentered '
|
|
28548
|
+
}, langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
28549
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 pr-3'
|
|
28550
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
28551
|
+
"class": "m-0 p-0 d-flex align-items-center "
|
|
28552
|
+
}, "En", ' ', /*#__PURE__*/React.createElement("i", {
|
|
28553
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
28554
|
+
}, /*#__PURE__*/React.createElement(BsChevronDown, null)))), langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
28555
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 pl-3 '
|
|
28556
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
28557
|
+
"class": "m-0 p-0 d-flex align-items-center"
|
|
28558
|
+
}, "\u0639", ' ', /*#__PURE__*/React.createElement("i", {
|
|
28559
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
28560
|
+
}, /*#__PURE__*/React.createElement(BsChevronDown, null)))))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
28561
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
28562
|
+
onClick: function onClick() {
|
|
28563
|
+
setlang('ar');
|
|
28564
|
+
}
|
|
28565
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
28566
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
28567
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
28568
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
28569
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
28570
|
+
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
28571
|
+
style: {
|
|
28572
|
+
maxWidth: '2vh',
|
|
28573
|
+
maxHeight: '2vh'
|
|
28574
|
+
}
|
|
28575
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
28576
|
+
"class": "ml-2 mr-2"
|
|
28577
|
+
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629")))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
28578
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
28579
|
+
onClick: function onClick() {
|
|
28580
|
+
setlang('en');
|
|
28581
|
+
}
|
|
28582
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
28583
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
28584
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
28585
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
28586
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
28587
|
+
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
28588
|
+
style: {
|
|
28589
|
+
maxWidth: '2vh',
|
|
28590
|
+
maxHeight: '2vh'
|
|
28591
|
+
}
|
|
28592
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
28593
|
+
"class": "ml-2 mr-2"
|
|
28594
|
+
}, "English")))))))))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React.createElement("div", {
|
|
28524
28595
|
"class": "col-lg-12 p-0"
|
|
28525
28596
|
}, /*#__PURE__*/React.createElement(Subheader, {
|
|
28526
28597
|
actions: actions,
|
|
@@ -45863,7 +45934,10 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
45863
45934
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.address_en)));
|
|
45864
45935
|
};
|
|
45865
45936
|
return /*#__PURE__*/React.createElement("footer", {
|
|
45866
|
-
"class": "row m-0 w-100 justify-content-center"
|
|
45937
|
+
"class": "row m-0 w-100 justify-content-center",
|
|
45938
|
+
style: {
|
|
45939
|
+
display: window.location.pathname == '/home' && sectionproperties.showfooterinhome == 'Hide' ? 'none' : 'flex'
|
|
45940
|
+
}
|
|
45867
45941
|
}, /*#__PURE__*/React.createElement("div", {
|
|
45868
45942
|
style: {
|
|
45869
45943
|
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
@@ -55734,6 +55808,12 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
55734
55808
|
});
|
|
55735
55809
|
setdynamicform(tempitem);
|
|
55736
55810
|
};
|
|
55811
|
+
var today = new Date();
|
|
55812
|
+
var year = today.getFullYear();
|
|
55813
|
+
var month = (today.getMonth() + 1).toString().padStart(2, '0'); // Adding leading zero if necessary
|
|
55814
|
+
var day = today.getDate().toString().padStart(2, '0'); // Adding leading zero if necessary
|
|
55815
|
+
|
|
55816
|
+
var currentDate = year + '-' + month + '-' + day;
|
|
55737
55817
|
var inputitem = function inputitem(item, index) {
|
|
55738
55818
|
var type = 'input';
|
|
55739
55819
|
if (item.type == 'date') {
|
|
@@ -55743,23 +55823,44 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
55743
55823
|
} else if (item.type == 'text') {
|
|
55744
55824
|
type = 'text';
|
|
55745
55825
|
}
|
|
55746
|
-
|
|
55747
|
-
"
|
|
55748
|
-
|
|
55749
|
-
"
|
|
55750
|
-
|
|
55751
|
-
|
|
55752
|
-
|
|
55753
|
-
|
|
55754
|
-
"
|
|
55755
|
-
|
|
55756
|
-
|
|
55757
|
-
|
|
55758
|
-
|
|
55759
|
-
|
|
55760
|
-
|
|
55761
|
-
|
|
55762
|
-
|
|
55826
|
+
if (item.type == 'date') {
|
|
55827
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
55828
|
+
"class": "row m-0 w-100 mb-3"
|
|
55829
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
55830
|
+
"class": "col-lg-12 text-start mb-2"
|
|
55831
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
55832
|
+
"class": form_cssstyles.formlabel + ' m-0 p-0 ',
|
|
55833
|
+
style: {}
|
|
55834
|
+
}, currentDate, " ", langdetect == 'en' ? item.title_en : item.title_ar, " ", item.isrequired == 1 ? '*' : '')), /*#__PURE__*/React.createElement("div", {
|
|
55835
|
+
"class": "col-lg-12 text-start"
|
|
55836
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
55837
|
+
type: type,
|
|
55838
|
+
value: item.value,
|
|
55839
|
+
onChange: function onChange(event) {
|
|
55840
|
+
updateformfield(event.target.value, index);
|
|
55841
|
+
},
|
|
55842
|
+
min: currentDate,
|
|
55843
|
+
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
55844
|
+
})));
|
|
55845
|
+
} else {
|
|
55846
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
55847
|
+
"class": "row m-0 w-100 mb-3"
|
|
55848
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
55849
|
+
"class": "col-lg-12 text-start mb-2"
|
|
55850
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
55851
|
+
"class": form_cssstyles.formlabel + ' m-0 p-0 ',
|
|
55852
|
+
style: {}
|
|
55853
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar, " ", item.isrequired == 1 ? '*' : '')), /*#__PURE__*/React.createElement("div", {
|
|
55854
|
+
"class": "col-lg-12 text-start"
|
|
55855
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
55856
|
+
type: type,
|
|
55857
|
+
value: item.value,
|
|
55858
|
+
onChange: function onChange(event) {
|
|
55859
|
+
updateformfield(event.target.value, index);
|
|
55860
|
+
},
|
|
55861
|
+
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
55862
|
+
})));
|
|
55863
|
+
}
|
|
55763
55864
|
};
|
|
55764
55865
|
var textareaitem = function textareaitem(item, index) {
|
|
55765
55866
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -55801,7 +55902,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
55801
55902
|
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
55802
55903
|
}, /*#__PURE__*/React.createElement("option", {
|
|
55803
55904
|
value: ""
|
|
55804
|
-
},
|
|
55905
|
+
}, langdetect == 'en' ? 'Choose' : 'إختر'), decoditems === null || decoditems === void 0 ? void 0 : decoditems.map(function (sitem) {
|
|
55805
55906
|
return /*#__PURE__*/React.createElement("option", {
|
|
55806
55907
|
value: sitem.optionname_en
|
|
55807
55908
|
}, langdetect == 'en' ? sitem.optionname_en : sitem.optionname_ar);
|
|
@@ -58700,7 +58801,7 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
58700
58801
|
onClick: function onClick() {
|
|
58701
58802
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
|
|
58702
58803
|
}
|
|
58703
|
-
}, langdetect == 'en' ? sectionproperties.
|
|
58804
|
+
}, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar, ' ')));
|
|
58704
58805
|
};
|
|
58705
58806
|
var slideshow_styles = {
|
|
58706
58807
|
slideshow_btn: css({
|
package/dist/index.umd.js
CHANGED
|
@@ -1362,7 +1362,10 @@
|
|
|
1362
1362
|
}
|
|
1363
1363
|
if (item.optionname == 'color' || item.optionname == 'Color') {
|
|
1364
1364
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1365
|
-
className: productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(
|
|
1365
|
+
className: productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active)
|
|
1366
|
+
// `${isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''}`
|
|
1367
|
+
,
|
|
1368
|
+
|
|
1366
1369
|
onClick: function onClick() {
|
|
1367
1370
|
// here
|
|
1368
1371
|
if (optionvaluesitem.isenabled == 1) {
|
|
@@ -1373,8 +1376,11 @@
|
|
|
1373
1376
|
},
|
|
1374
1377
|
style: {
|
|
1375
1378
|
background: optionvaluesitem.valuename,
|
|
1376
|
-
|
|
1377
|
-
|
|
1379
|
+
border: isoptionvalueselected == 1 ? '2px solid green' : ''
|
|
1380
|
+
|
|
1381
|
+
// borderWidth: isoptionvalueselected == 1 ? '2px' : 0,
|
|
1382
|
+
// opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
|
|
1383
|
+
// cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
1378
1384
|
}
|
|
1379
1385
|
}));
|
|
1380
1386
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
@@ -10794,7 +10800,7 @@
|
|
|
10794
10800
|
email: '',
|
|
10795
10801
|
code: '',
|
|
10796
10802
|
step: 'sendcode',
|
|
10797
|
-
isvalidated: false
|
|
10803
|
+
isvalidated: props.srcfromprops == 'accountinfo' ? true : false
|
|
10798
10804
|
}),
|
|
10799
10805
|
_useState18 = _slicedToArray__default["default"](_useState17, 2),
|
|
10800
10806
|
validateemailpayload = _useState18[0],
|
|
@@ -15302,7 +15308,7 @@
|
|
|
15302
15308
|
// }, []);
|
|
15303
15309
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15304
15310
|
// className={sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 p-0 w-100 filter mt-md-0 ' : 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none'}
|
|
15305
|
-
className: 'row
|
|
15311
|
+
className: 'row mx-0 p-0 w-100 mt-md-2',
|
|
15306
15312
|
style: {
|
|
15307
15313
|
marginTop: sectionproperties.filtersection_mt + 'px',
|
|
15308
15314
|
minHeight: sectionproperties.filterminheight == 0 ? 'auto' : sectionproperties.filterminheight + 'vh'
|
|
@@ -16241,7 +16247,7 @@
|
|
|
16241
16247
|
}
|
|
16242
16248
|
};
|
|
16243
16249
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16244
|
-
className: 'col-lg-12 p-0 w-100 allcentered ',
|
|
16250
|
+
className: 'col-lg-12 p-0 w-100 allcentered mt-md-2 ',
|
|
16245
16251
|
style: {
|
|
16246
16252
|
marginTop: sectionproperties.filtersection_mt + 'px'
|
|
16247
16253
|
}
|
|
@@ -16903,7 +16909,10 @@
|
|
|
16903
16909
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
16904
16910
|
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
16905
16911
|
borderColor: sectionproperties.sectioncardbordercolor,
|
|
16906
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
16912
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid',
|
|
16913
|
+
'@media (max-width: 600px)': {
|
|
16914
|
+
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
16915
|
+
}
|
|
16907
16916
|
}),
|
|
16908
16917
|
filterbtn: glamor.css({
|
|
16909
16918
|
width: sectionproperties.filterbtn_Width + 'px',
|
|
@@ -27784,7 +27793,7 @@
|
|
|
27784
27793
|
function ownKeys$1R(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; }
|
|
27785
27794
|
function _objectSpread$1R(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1R(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1R(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
27786
27795
|
var Simpleheader = function Simpleheader(props) {
|
|
27787
|
-
var _css, _css2, _header_cssstyles, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
27796
|
+
var _css, _css2, _header_cssstyles, _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
27788
27797
|
var actions = props.actions;
|
|
27789
27798
|
var _useState = React.useState(''),
|
|
27790
27799
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -27925,7 +27934,9 @@
|
|
|
27925
27934
|
}),
|
|
27926
27935
|
header_logo: glamor.css({
|
|
27927
27936
|
width: templateproperties_context.logo_width + 'px',
|
|
27928
|
-
height: templateproperties_context.logo_height + 'px'
|
|
27937
|
+
height: templateproperties_context.logo_height + 'px',
|
|
27938
|
+
maxWidth: '100%',
|
|
27939
|
+
maxHeight: '100%'
|
|
27929
27940
|
})
|
|
27930
27941
|
}, _defineProperty__default["default"](_header_cssstyles, "wishlist_btn", glamor.css({
|
|
27931
27942
|
width: sectionproperties.favBtnWidth + 'px',
|
|
@@ -27945,13 +27956,16 @@
|
|
|
27945
27956
|
})), _defineProperty__default["default"](_header_cssstyles, "cartbadge", glamor.css({
|
|
27946
27957
|
top: sectionproperties.cartbadgetop + 'px',
|
|
27947
27958
|
right: sectionproperties.cartbadgeright + 'px'
|
|
27959
|
+
})), _defineProperty__default["default"](_header_cssstyles, "favbadge", glamor.css({
|
|
27960
|
+
top: sectionproperties.wishlistbadgetop + 'px',
|
|
27961
|
+
right: sectionproperties.wishlistbadgeright + 'px'
|
|
27948
27962
|
})), _defineProperty__default["default"](_header_cssstyles, "badge_counter_header_notifications", glamor.css({
|
|
27949
27963
|
display: 'flex',
|
|
27950
27964
|
justifyContent: 'center',
|
|
27951
27965
|
alignItems: 'center',
|
|
27952
27966
|
position: 'absolute',
|
|
27953
|
-
top: sectionproperties.badge_top + 'px',
|
|
27954
|
-
right: sectionproperties.badge_right + 'px',
|
|
27967
|
+
// top: sectionproperties.badge_top + 'px',
|
|
27968
|
+
// right: sectionproperties.badge_right + 'px',
|
|
27955
27969
|
background: sectionproperties.badge_bgcolor,
|
|
27956
27970
|
width: sectionproperties.badge_width + 'px',
|
|
27957
27971
|
height: sectionproperties.badge_height + 'px',
|
|
@@ -28058,7 +28072,24 @@
|
|
|
28058
28072
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
28059
28073
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
28060
28074
|
}
|
|
28061
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
28075
|
+
}, sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
28076
|
+
href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber),
|
|
28077
|
+
target: '_blank',
|
|
28078
|
+
style: {
|
|
28079
|
+
position: 'fixed',
|
|
28080
|
+
bottom: 10,
|
|
28081
|
+
right: 10,
|
|
28082
|
+
zIndex: 999999,
|
|
28083
|
+
transition: 'all 0.3s ease-out'
|
|
28084
|
+
}
|
|
28085
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
28086
|
+
src: 'https://tabex-co.com/storage/StaticImages/whatsapp.png',
|
|
28087
|
+
style: {
|
|
28088
|
+
width: '40px',
|
|
28089
|
+
height: '40px',
|
|
28090
|
+
cursor: 'pointer'
|
|
28091
|
+
}
|
|
28092
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28062
28093
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
28063
28094
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28064
28095
|
"class": "row m-0 w-100 "
|
|
@@ -28076,7 +28107,7 @@
|
|
|
28076
28107
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28077
28108
|
"class": "col-lg-12 p-0"
|
|
28078
28109
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28079
|
-
"class": header_cssstyles.headerinnercontainer + ' row m-0 w-100 '
|
|
28110
|
+
"class": header_cssstyles.headerinnercontainer + ' row m-0 w-100 px-1025-1 '
|
|
28080
28111
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28081
28112
|
"class": "col-lg-12 p-0"
|
|
28082
28113
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -28089,7 +28120,7 @@
|
|
|
28089
28120
|
cursor: 'pointer'
|
|
28090
28121
|
},
|
|
28091
28122
|
onClick: function onClick() {
|
|
28092
|
-
routingcountext(
|
|
28123
|
+
routingcountext(sectionproperties.logoonclickroute);
|
|
28093
28124
|
}
|
|
28094
28125
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
28095
28126
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -28161,7 +28192,7 @@
|
|
|
28161
28192
|
fontSize: sectionproperties.favBtnIconfontsize + 'px'
|
|
28162
28193
|
}
|
|
28163
28194
|
})), sectionproperties.showfavbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28164
|
-
"class": "".concat(
|
|
28195
|
+
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.favbadge)
|
|
28165
28196
|
}, /*#__PURE__*/React__default["default"].createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28166
28197
|
style: {
|
|
28167
28198
|
position: 'relative'
|
|
@@ -28352,16 +28383,6 @@
|
|
|
28352
28383
|
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
28353
28384
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28354
28385
|
}), " ", lang.wishlist))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
28355
|
-
onClick: function onClick() {
|
|
28356
|
-
routingcountext(StaticPagesLinksContext.Policies);
|
|
28357
|
-
}
|
|
28358
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28359
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
28360
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28361
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
28362
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineSecurityScan.AiOutlineSecurityScan, {
|
|
28363
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28364
|
-
}), lang.policies))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
28365
28386
|
onClick: function onClick() {
|
|
28366
28387
|
LogoutMutationContext.mutate();
|
|
28367
28388
|
}
|
|
@@ -28371,7 +28392,7 @@
|
|
|
28371
28392
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
28372
28393
|
}, /*#__PURE__*/React__default["default"].createElement(BiLogOutCircle.BiLogOutCircle, {
|
|
28373
28394
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28374
|
-
}), lang.logout))))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28395
|
+
}), lang.logout))))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.languagecontainertype != 'Dropdown' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28375
28396
|
"class": langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-3 ' : ' m-0 cursor-pointer mr-3 ',
|
|
28376
28397
|
style: {
|
|
28377
28398
|
minWidth: '30px'
|
|
@@ -28395,7 +28416,57 @@
|
|
|
28395
28416
|
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
28396
28417
|
}, "\u0639", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
28397
28418
|
"class": "h-100 allcentered mr-auto pr-3"
|
|
28398
|
-
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))))
|
|
28419
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null))))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.languagecontainertype == 'Dropdown' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28420
|
+
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
28421
|
+
}, /*#__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", {
|
|
28422
|
+
"class": "".concat(headerstyles$9.header_menu) + ' allcentered '
|
|
28423
|
+
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28424
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 pr-3'
|
|
28425
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28426
|
+
"class": "m-0 p-0 d-flex align-items-center "
|
|
28427
|
+
}, "En", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
28428
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
28429
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28430
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 pl-3 '
|
|
28431
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28432
|
+
"class": "m-0 p-0 d-flex align-items-center"
|
|
28433
|
+
}, "\u0639", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
28434
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
28435
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
28436
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
28437
|
+
onClick: function onClick() {
|
|
28438
|
+
setlang('ar');
|
|
28439
|
+
}
|
|
28440
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28441
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
28442
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28443
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
28444
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
28445
|
+
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
28446
|
+
style: {
|
|
28447
|
+
maxWidth: '2vh',
|
|
28448
|
+
maxHeight: '2vh'
|
|
28449
|
+
}
|
|
28450
|
+
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
28451
|
+
"class": "ml-2 mr-2"
|
|
28452
|
+
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
28453
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
28454
|
+
onClick: function onClick() {
|
|
28455
|
+
setlang('en');
|
|
28456
|
+
}
|
|
28457
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28458
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
28459
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28460
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
28461
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
28462
|
+
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
28463
|
+
style: {
|
|
28464
|
+
maxWidth: '2vh',
|
|
28465
|
+
maxHeight: '2vh'
|
|
28466
|
+
}
|
|
28467
|
+
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
28468
|
+
"class": "ml-2 mr-2"
|
|
28469
|
+
}, "English")))))))))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28399
28470
|
"class": "col-lg-12 p-0"
|
|
28400
28471
|
}, /*#__PURE__*/React__default["default"].createElement(Subheader, {
|
|
28401
28472
|
actions: actions,
|
|
@@ -45738,7 +45809,10 @@
|
|
|
45738
45809
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.address_en)));
|
|
45739
45810
|
};
|
|
45740
45811
|
return /*#__PURE__*/React__default["default"].createElement("footer", {
|
|
45741
|
-
"class": "row m-0 w-100 justify-content-center"
|
|
45812
|
+
"class": "row m-0 w-100 justify-content-center",
|
|
45813
|
+
style: {
|
|
45814
|
+
display: window.location.pathname == '/home' && sectionproperties.showfooterinhome == 'Hide' ? 'none' : 'flex'
|
|
45815
|
+
}
|
|
45742
45816
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45743
45817
|
style: {
|
|
45744
45818
|
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
@@ -55609,6 +55683,12 @@
|
|
|
55609
55683
|
});
|
|
55610
55684
|
setdynamicform(tempitem);
|
|
55611
55685
|
};
|
|
55686
|
+
var today = new Date();
|
|
55687
|
+
var year = today.getFullYear();
|
|
55688
|
+
var month = (today.getMonth() + 1).toString().padStart(2, '0'); // Adding leading zero if necessary
|
|
55689
|
+
var day = today.getDate().toString().padStart(2, '0'); // Adding leading zero if necessary
|
|
55690
|
+
|
|
55691
|
+
var currentDate = year + '-' + month + '-' + day;
|
|
55612
55692
|
var inputitem = function inputitem(item, index) {
|
|
55613
55693
|
var type = 'input';
|
|
55614
55694
|
if (item.type == 'date') {
|
|
@@ -55618,23 +55698,44 @@
|
|
|
55618
55698
|
} else if (item.type == 'text') {
|
|
55619
55699
|
type = 'text';
|
|
55620
55700
|
}
|
|
55621
|
-
|
|
55622
|
-
"
|
|
55623
|
-
|
|
55624
|
-
"
|
|
55625
|
-
|
|
55626
|
-
"
|
|
55627
|
-
|
|
55628
|
-
|
|
55629
|
-
"
|
|
55630
|
-
|
|
55631
|
-
|
|
55632
|
-
|
|
55633
|
-
|
|
55634
|
-
|
|
55635
|
-
|
|
55636
|
-
|
|
55637
|
-
|
|
55701
|
+
if (item.type == 'date') {
|
|
55702
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
55703
|
+
"class": "row m-0 w-100 mb-3"
|
|
55704
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
55705
|
+
"class": "col-lg-12 text-start mb-2"
|
|
55706
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
55707
|
+
"class": form_cssstyles.formlabel + ' m-0 p-0 ',
|
|
55708
|
+
style: {}
|
|
55709
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar, " ", item.isrequired == 1 ? '*' : '')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
55710
|
+
"class": "col-lg-12 text-start"
|
|
55711
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
55712
|
+
type: type,
|
|
55713
|
+
value: item.value,
|
|
55714
|
+
onChange: function onChange(event) {
|
|
55715
|
+
updateformfield(event.target.value, index);
|
|
55716
|
+
},
|
|
55717
|
+
min: currentDate,
|
|
55718
|
+
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
55719
|
+
})));
|
|
55720
|
+
} else {
|
|
55721
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
55722
|
+
"class": "row m-0 w-100 mb-3"
|
|
55723
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
55724
|
+
"class": "col-lg-12 text-start mb-2"
|
|
55725
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
55726
|
+
"class": form_cssstyles.formlabel + ' m-0 p-0 ',
|
|
55727
|
+
style: {}
|
|
55728
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar, " ", item.isrequired == 1 ? '*' : '')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
55729
|
+
"class": "col-lg-12 text-start"
|
|
55730
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
55731
|
+
type: type,
|
|
55732
|
+
value: item.value,
|
|
55733
|
+
onChange: function onChange(event) {
|
|
55734
|
+
updateformfield(event.target.value, index);
|
|
55735
|
+
},
|
|
55736
|
+
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
55737
|
+
})));
|
|
55738
|
+
}
|
|
55638
55739
|
};
|
|
55639
55740
|
var textareaitem = function textareaitem(item, index) {
|
|
55640
55741
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -55676,7 +55777,7 @@
|
|
|
55676
55777
|
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
55677
55778
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
55678
55779
|
value: ""
|
|
55679
|
-
},
|
|
55780
|
+
}, langdetect == 'en' ? 'Choose' : 'إختر'), decoditems === null || decoditems === void 0 ? void 0 : decoditems.map(function (sitem) {
|
|
55680
55781
|
return /*#__PURE__*/React__default["default"].createElement("option", {
|
|
55681
55782
|
value: sitem.optionname_en
|
|
55682
55783
|
}, langdetect == 'en' ? sitem.optionname_en : sitem.optionname_ar);
|
|
@@ -58575,7 +58676,7 @@
|
|
|
58575
58676
|
onClick: function onClick() {
|
|
58576
58677
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
|
|
58577
58678
|
}
|
|
58578
|
-
}, langdetect == 'en' ? sectionproperties.
|
|
58679
|
+
}, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar, ' ')));
|
|
58579
58680
|
};
|
|
58580
58681
|
var slideshow_styles = {
|
|
58581
58682
|
slideshow_btn: glamor.css({
|