tabexseriescomponents 0.0.497 → 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 +129 -45
- package/dist/index.esm.js +129 -45
- package/dist/index.umd.js +129 -45
- 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',
|
|
@@ -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',
|
|
@@ -28267,7 +28281,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28267
28281
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28268
28282
|
"class": "col-lg-12 p-0"
|
|
28269
28283
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28270
|
-
"class": header_cssstyles.headerinnercontainer + ' row m-0 w-100 '
|
|
28284
|
+
"class": header_cssstyles.headerinnercontainer + ' row m-0 w-100 px-1025-1 '
|
|
28271
28285
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28272
28286
|
"class": "col-lg-12 p-0"
|
|
28273
28287
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -28280,7 +28294,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28280
28294
|
cursor: 'pointer'
|
|
28281
28295
|
},
|
|
28282
28296
|
onClick: function onClick() {
|
|
28283
|
-
routingcountext(
|
|
28297
|
+
routingcountext(sectionproperties.logoonclickroute);
|
|
28284
28298
|
}
|
|
28285
28299
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
28286
28300
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -28352,7 +28366,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28352
28366
|
fontSize: sectionproperties.favBtnIconfontsize + 'px'
|
|
28353
28367
|
}
|
|
28354
28368
|
})), sectionproperties.showfavbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28355
|
-
"class": "".concat(
|
|
28369
|
+
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.favbadge)
|
|
28356
28370
|
}, /*#__PURE__*/React__default["default"].createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28357
28371
|
style: {
|
|
28358
28372
|
position: 'relative'
|
|
@@ -28543,16 +28557,6 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28543
28557
|
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
28544
28558
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28545
28559
|
}), " ", lang.wishlist))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
28546
|
-
onClick: function onClick() {
|
|
28547
|
-
routingcountext(StaticPagesLinksContext.Policies);
|
|
28548
|
-
}
|
|
28549
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28550
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
28551
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28552
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
28553
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineSecurityScan.AiOutlineSecurityScan, {
|
|
28554
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28555
|
-
}), lang.policies))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
28556
28560
|
onClick: function onClick() {
|
|
28557
28561
|
LogoutMutationContext.mutate();
|
|
28558
28562
|
}
|
|
@@ -28562,7 +28566,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28562
28566
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
28563
28567
|
}, /*#__PURE__*/React__default["default"].createElement(BiLogOutCircle.BiLogOutCircle, {
|
|
28564
28568
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28565
|
-
}), 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", {
|
|
28566
28570
|
"class": langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-3 ' : ' m-0 cursor-pointer mr-3 ',
|
|
28567
28571
|
style: {
|
|
28568
28572
|
minWidth: '30px'
|
|
@@ -28586,7 +28590,57 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28586
28590
|
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
28587
28591
|
}, "\u0639", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
28588
28592
|
"class": "h-100 allcentered mr-auto pr-3"
|
|
28589
|
-
}, /*#__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", {
|
|
28590
28644
|
"class": "col-lg-12 p-0"
|
|
28591
28645
|
}, /*#__PURE__*/React__default["default"].createElement(Subheader, {
|
|
28592
28646
|
actions: actions,
|
|
@@ -45929,7 +45983,10 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
45929
45983
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.address_en)));
|
|
45930
45984
|
};
|
|
45931
45985
|
return /*#__PURE__*/React__default["default"].createElement("footer", {
|
|
45932
|
-
"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
|
+
}
|
|
45933
45990
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45934
45991
|
style: {
|
|
45935
45992
|
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
@@ -55800,6 +55857,12 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
55800
55857
|
});
|
|
55801
55858
|
setdynamicform(tempitem);
|
|
55802
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;
|
|
55803
55866
|
var inputitem = function inputitem(item, index) {
|
|
55804
55867
|
var type = 'input';
|
|
55805
55868
|
if (item.type == 'date') {
|
|
@@ -55809,23 +55872,44 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
55809
55872
|
} else if (item.type == 'text') {
|
|
55810
55873
|
type = 'text';
|
|
55811
55874
|
}
|
|
55812
|
-
|
|
55813
|
-
"
|
|
55814
|
-
|
|
55815
|
-
"
|
|
55816
|
-
|
|
55817
|
-
"
|
|
55818
|
-
|
|
55819
|
-
|
|
55820
|
-
"
|
|
55821
|
-
|
|
55822
|
-
|
|
55823
|
-
|
|
55824
|
-
|
|
55825
|
-
|
|
55826
|
-
|
|
55827
|
-
|
|
55828
|
-
|
|
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
|
+
}
|
|
55829
55913
|
};
|
|
55830
55914
|
var textareaitem = function textareaitem(item, index) {
|
|
55831
55915
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -55867,7 +55951,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
55867
55951
|
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
55868
55952
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
55869
55953
|
value: ""
|
|
55870
|
-
},
|
|
55954
|
+
}, langdetect == 'en' ? 'Choose' : 'إختر'), decoditems === null || decoditems === void 0 ? void 0 : decoditems.map(function (sitem) {
|
|
55871
55955
|
return /*#__PURE__*/React__default["default"].createElement("option", {
|
|
55872
55956
|
value: sitem.optionname_en
|
|
55873
55957
|
}, langdetect == 'en' ? sitem.optionname_en : sitem.optionname_ar);
|
|
@@ -58766,7 +58850,7 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
58766
58850
|
onClick: function onClick() {
|
|
58767
58851
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
|
|
58768
58852
|
}
|
|
58769
|
-
}, langdetect == 'en' ? sectionproperties.
|
|
58853
|
+
}, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar, ' ')));
|
|
58770
58854
|
};
|
|
58771
58855
|
var slideshow_styles = {
|
|
58772
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',
|
|
@@ -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',
|
|
@@ -28218,7 +28232,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28218
28232
|
})), /*#__PURE__*/React.createElement("div", {
|
|
28219
28233
|
"class": "col-lg-12 p-0"
|
|
28220
28234
|
}, /*#__PURE__*/React.createElement("div", {
|
|
28221
|
-
"class": header_cssstyles.headerinnercontainer + ' row m-0 w-100 '
|
|
28235
|
+
"class": header_cssstyles.headerinnercontainer + ' row m-0 w-100 px-1025-1 '
|
|
28222
28236
|
}, /*#__PURE__*/React.createElement("div", {
|
|
28223
28237
|
"class": "col-lg-12 p-0"
|
|
28224
28238
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -28231,7 +28245,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28231
28245
|
cursor: 'pointer'
|
|
28232
28246
|
},
|
|
28233
28247
|
onClick: function onClick() {
|
|
28234
|
-
routingcountext(
|
|
28248
|
+
routingcountext(sectionproperties.logoonclickroute);
|
|
28235
28249
|
}
|
|
28236
28250
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
28237
28251
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -28303,7 +28317,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28303
28317
|
fontSize: sectionproperties.favBtnIconfontsize + 'px'
|
|
28304
28318
|
}
|
|
28305
28319
|
})), sectionproperties.showfavbadge == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
28306
|
-
"class": "".concat(
|
|
28320
|
+
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.favbadge)
|
|
28307
28321
|
}, /*#__PURE__*/React.createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
28308
28322
|
style: {
|
|
28309
28323
|
position: 'relative'
|
|
@@ -28494,16 +28508,6 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28494
28508
|
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar$1, {
|
|
28495
28509
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28496
28510
|
}), " ", lang.wishlist))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
28497
|
-
onClick: function onClick() {
|
|
28498
|
-
routingcountext(StaticPagesLinksContext.Policies);
|
|
28499
|
-
}
|
|
28500
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
28501
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
28502
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
28503
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
28504
|
-
}, /*#__PURE__*/React.createElement(AiOutlineSecurityScan, {
|
|
28505
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28506
|
-
}), lang.policies))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
28507
28511
|
onClick: function onClick() {
|
|
28508
28512
|
LogoutMutationContext.mutate();
|
|
28509
28513
|
}
|
|
@@ -28513,7 +28517,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28513
28517
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
28514
28518
|
}, /*#__PURE__*/React.createElement(BiLogOutCircle, {
|
|
28515
28519
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28516
|
-
}), lang.logout))))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
28520
|
+
}), lang.logout))))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.languagecontainertype != 'Dropdown' && /*#__PURE__*/React.createElement("div", {
|
|
28517
28521
|
"class": langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-3 ' : ' m-0 cursor-pointer mr-3 ',
|
|
28518
28522
|
style: {
|
|
28519
28523
|
minWidth: '30px'
|
|
@@ -28537,7 +28541,57 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
28537
28541
|
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
28538
28542
|
}, "\u0639", ' ', /*#__PURE__*/React.createElement("i", {
|
|
28539
28543
|
"class": "h-100 allcentered mr-auto pr-3"
|
|
28540
|
-
}, /*#__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", {
|
|
28541
28595
|
"class": "col-lg-12 p-0"
|
|
28542
28596
|
}, /*#__PURE__*/React.createElement(Subheader, {
|
|
28543
28597
|
actions: actions,
|
|
@@ -45880,7 +45934,10 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
45880
45934
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.address_en)));
|
|
45881
45935
|
};
|
|
45882
45936
|
return /*#__PURE__*/React.createElement("footer", {
|
|
45883
|
-
"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
|
+
}
|
|
45884
45941
|
}, /*#__PURE__*/React.createElement("div", {
|
|
45885
45942
|
style: {
|
|
45886
45943
|
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
@@ -55751,6 +55808,12 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
55751
55808
|
});
|
|
55752
55809
|
setdynamicform(tempitem);
|
|
55753
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;
|
|
55754
55817
|
var inputitem = function inputitem(item, index) {
|
|
55755
55818
|
var type = 'input';
|
|
55756
55819
|
if (item.type == 'date') {
|
|
@@ -55760,23 +55823,44 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
55760
55823
|
} else if (item.type == 'text') {
|
|
55761
55824
|
type = 'text';
|
|
55762
55825
|
}
|
|
55763
|
-
|
|
55764
|
-
"
|
|
55765
|
-
|
|
55766
|
-
"
|
|
55767
|
-
|
|
55768
|
-
|
|
55769
|
-
|
|
55770
|
-
|
|
55771
|
-
"
|
|
55772
|
-
|
|
55773
|
-
|
|
55774
|
-
|
|
55775
|
-
|
|
55776
|
-
|
|
55777
|
-
|
|
55778
|
-
|
|
55779
|
-
|
|
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
|
+
}
|
|
55780
55864
|
};
|
|
55781
55865
|
var textareaitem = function textareaitem(item, index) {
|
|
55782
55866
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -55818,7 +55902,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
55818
55902
|
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
55819
55903
|
}, /*#__PURE__*/React.createElement("option", {
|
|
55820
55904
|
value: ""
|
|
55821
|
-
},
|
|
55905
|
+
}, langdetect == 'en' ? 'Choose' : 'إختر'), decoditems === null || decoditems === void 0 ? void 0 : decoditems.map(function (sitem) {
|
|
55822
55906
|
return /*#__PURE__*/React.createElement("option", {
|
|
55823
55907
|
value: sitem.optionname_en
|
|
55824
55908
|
}, langdetect == 'en' ? sitem.optionname_en : sitem.optionname_ar);
|
|
@@ -58717,7 +58801,7 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
58717
58801
|
onClick: function onClick() {
|
|
58718
58802
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
|
|
58719
58803
|
}
|
|
58720
|
-
}, langdetect == 'en' ? sectionproperties.
|
|
58804
|
+
}, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar, ' ')));
|
|
58721
58805
|
};
|
|
58722
58806
|
var slideshow_styles = {
|
|
58723
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',
|
|
@@ -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',
|
|
@@ -28093,7 +28107,7 @@
|
|
|
28093
28107
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28094
28108
|
"class": "col-lg-12 p-0"
|
|
28095
28109
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28096
|
-
"class": header_cssstyles.headerinnercontainer + ' row m-0 w-100 '
|
|
28110
|
+
"class": header_cssstyles.headerinnercontainer + ' row m-0 w-100 px-1025-1 '
|
|
28097
28111
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28098
28112
|
"class": "col-lg-12 p-0"
|
|
28099
28113
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -28106,7 +28120,7 @@
|
|
|
28106
28120
|
cursor: 'pointer'
|
|
28107
28121
|
},
|
|
28108
28122
|
onClick: function onClick() {
|
|
28109
|
-
routingcountext(
|
|
28123
|
+
routingcountext(sectionproperties.logoonclickroute);
|
|
28110
28124
|
}
|
|
28111
28125
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
28112
28126
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -28178,7 +28192,7 @@
|
|
|
28178
28192
|
fontSize: sectionproperties.favBtnIconfontsize + 'px'
|
|
28179
28193
|
}
|
|
28180
28194
|
})), sectionproperties.showfavbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28181
|
-
"class": "".concat(
|
|
28195
|
+
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.favbadge)
|
|
28182
28196
|
}, /*#__PURE__*/React__default["default"].createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28183
28197
|
style: {
|
|
28184
28198
|
position: 'relative'
|
|
@@ -28369,16 +28383,6 @@
|
|
|
28369
28383
|
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
28370
28384
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28371
28385
|
}), " ", lang.wishlist))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
28372
|
-
onClick: function onClick() {
|
|
28373
|
-
routingcountext(StaticPagesLinksContext.Policies);
|
|
28374
|
-
}
|
|
28375
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28376
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
28377
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28378
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
28379
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineSecurityScan.AiOutlineSecurityScan, {
|
|
28380
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28381
|
-
}), lang.policies))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
28382
28386
|
onClick: function onClick() {
|
|
28383
28387
|
LogoutMutationContext.mutate();
|
|
28384
28388
|
}
|
|
@@ -28388,7 +28392,7 @@
|
|
|
28388
28392
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
28389
28393
|
}, /*#__PURE__*/React__default["default"].createElement(BiLogOutCircle.BiLogOutCircle, {
|
|
28390
28394
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
28391
|
-
}), 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", {
|
|
28392
28396
|
"class": langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-3 ' : ' m-0 cursor-pointer mr-3 ',
|
|
28393
28397
|
style: {
|
|
28394
28398
|
minWidth: '30px'
|
|
@@ -28412,7 +28416,57 @@
|
|
|
28412
28416
|
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
28413
28417
|
}, "\u0639", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
28414
28418
|
"class": "h-100 allcentered mr-auto pr-3"
|
|
28415
|
-
}, /*#__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", {
|
|
28416
28470
|
"class": "col-lg-12 p-0"
|
|
28417
28471
|
}, /*#__PURE__*/React__default["default"].createElement(Subheader, {
|
|
28418
28472
|
actions: actions,
|
|
@@ -45755,7 +45809,10 @@
|
|
|
45755
45809
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.address_en)));
|
|
45756
45810
|
};
|
|
45757
45811
|
return /*#__PURE__*/React__default["default"].createElement("footer", {
|
|
45758
|
-
"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
|
+
}
|
|
45759
45816
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45760
45817
|
style: {
|
|
45761
45818
|
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
@@ -55626,6 +55683,12 @@
|
|
|
55626
55683
|
});
|
|
55627
55684
|
setdynamicform(tempitem);
|
|
55628
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;
|
|
55629
55692
|
var inputitem = function inputitem(item, index) {
|
|
55630
55693
|
var type = 'input';
|
|
55631
55694
|
if (item.type == 'date') {
|
|
@@ -55635,23 +55698,44 @@
|
|
|
55635
55698
|
} else if (item.type == 'text') {
|
|
55636
55699
|
type = 'text';
|
|
55637
55700
|
}
|
|
55638
|
-
|
|
55639
|
-
"
|
|
55640
|
-
|
|
55641
|
-
"
|
|
55642
|
-
|
|
55643
|
-
"
|
|
55644
|
-
|
|
55645
|
-
|
|
55646
|
-
"
|
|
55647
|
-
|
|
55648
|
-
|
|
55649
|
-
|
|
55650
|
-
|
|
55651
|
-
|
|
55652
|
-
|
|
55653
|
-
|
|
55654
|
-
|
|
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
|
+
}
|
|
55655
55739
|
};
|
|
55656
55740
|
var textareaitem = function textareaitem(item, index) {
|
|
55657
55741
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -55693,7 +55777,7 @@
|
|
|
55693
55777
|
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
55694
55778
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
55695
55779
|
value: ""
|
|
55696
|
-
},
|
|
55780
|
+
}, langdetect == 'en' ? 'Choose' : 'إختر'), decoditems === null || decoditems === void 0 ? void 0 : decoditems.map(function (sitem) {
|
|
55697
55781
|
return /*#__PURE__*/React__default["default"].createElement("option", {
|
|
55698
55782
|
value: sitem.optionname_en
|
|
55699
55783
|
}, langdetect == 'en' ? sitem.optionname_en : sitem.optionname_ar);
|
|
@@ -58592,7 +58676,7 @@
|
|
|
58592
58676
|
onClick: function onClick() {
|
|
58593
58677
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
|
|
58594
58678
|
}
|
|
58595
|
-
}, langdetect == 'en' ? sectionproperties.
|
|
58679
|
+
}, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar, ' ')));
|
|
58596
58680
|
};
|
|
58597
58681
|
var slideshow_styles = {
|
|
58598
58682
|
slideshow_btn: glamor.css({
|