tabexseriescomponents 0.2.784 → 0.2.786

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.umd.js CHANGED
@@ -1067,71 +1067,6 @@
1067
1067
 
1068
1068
  function ownKeys$2C(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; }
1069
1069
  function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1070
- var selectcustomStyles = {
1071
- option: function option(provided, state) {
1072
- return _objectSpread$2C(_objectSpread$2C({}, provided), {}, {
1073
- borderBottom: '1px solid #e6e6e6',
1074
- backgroundColor: state.isSelected ? '' : '',
1075
- padding: 5,
1076
- textTransform: 'capitalize',
1077
- color: state.isSelected ? '#eac435' : '#022648',
1078
- transition: '.3s',
1079
- '&:hover': {
1080
- color: '#eac435',
1081
- cursor: 'pointer'
1082
- }
1083
- });
1084
- },
1085
- control: function control() {
1086
- return {
1087
- border: '1px solid #e6e6e6',
1088
- // boxShadow: '0 0 10px #e6e6e6',
1089
- borderRadius: '5px',
1090
- display: 'flex',
1091
- cursor: 'pointer',
1092
- transition: '.3s',
1093
- '&:hover': {
1094
- // boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
1095
- }
1096
- };
1097
- }
1098
- };
1099
- var selectcustomStylesTranslated = {
1100
- option: function option(provided, state) {
1101
- return _objectSpread$2C(_objectSpread$2C({}, provided), {}, {
1102
- borderBottom: '1px solid #e6e6e6',
1103
- backgroundColor: state.isSelected ? '' : '',
1104
- padding: 5,
1105
- textTransform: 'capitalize',
1106
- color: state.isSelected ? '#eac435' : '#ffffff',
1107
- transition: '.3s',
1108
- textAlign: 'right',
1109
- '&:hover': {
1110
- color: '#eac435',
1111
- cursor: 'pointer'
1112
- }
1113
- });
1114
- },
1115
- control: function control() {
1116
- return {
1117
- border: '2px solid #e6e6e6',
1118
- // boxShadow: '0 0 10px #e6e6e6',
1119
- borderRadius: '10px',
1120
- display: 'flex',
1121
- cursor: 'pointer',
1122
- transition: '.3s',
1123
- textAlign: 'right',
1124
- '&:hover': {
1125
- // boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
1126
- }
1127
- };
1128
- },
1129
- placeholder: function placeholder(provided, state) {
1130
- return _objectSpread$2C(_objectSpread$2C({}, provided), {}, {
1131
- textAlign: 'right'
1132
- });
1133
- }
1134
- };
1135
1070
  var defaultstyles = {
1136
1071
  option: function option(provided, state) {
1137
1072
  return _objectSpread$2C(_objectSpread$2C({}, provided), {}, {
@@ -13504,7 +13439,7 @@
13504
13439
  className: formstyles.input_label_name + ' d-flex justify-content-start '
13505
13440
  }, lang.phonenumber), /*#__PURE__*/React__default["default"].createElement(PhoneInput__default["default"], {
13506
13441
  className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
13507
- country: 'eg',
13442
+ country: sectionproperties.countrycode == 'SA' ? 'sa' : 'eg',
13508
13443
  enableSearch: true,
13509
13444
  autoFormat: true,
13510
13445
  value: payloadobj.mobile,
@@ -13519,6 +13454,7 @@
13519
13454
  // payloadobjchange('mobile', event);
13520
13455
 
13521
13456
  // alert(JSON.stringify(country));
13457
+ // alert(JSON.stringify(country));
13522
13458
  },
13523
13459
  style: {
13524
13460
  direction: 'ltr',
@@ -16351,14 +16287,14 @@
16351
16287
  function ownKeys$2i(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; }
16352
16288
  function _objectSpread$2i(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2i(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2i(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16353
16289
  var OrderSuccess = function OrderSuccess(props) {
16354
- var _props$actions2, _logoarrayofobjects$, _logoarrayofobjects$2, _lastOrderinfoObj$dat, _lastOrderinfoObj$dat2, _lastOrderinfoObj$dat3, _lastOrderinfoObj$dat4, _lastOrderinfoObj$dat5, _lastOrderinfoObj$dat6, _lastOrderinfoObj$dat7, _lastOrderinfoObj$dat8, _lastOrderinfoObj$dat11, _lastOrderinfoObj$dat12, _lastOrderinfoObj$dat13, _lastOrderinfoObj$dat14, _lastOrderinfoObj$dat15, _lastOrderinfoObj$dat16, _lastOrderinfoObj$dat17, _lastOrderinfoObj$dat18, _lastOrderinfoObj$dat19;
16355
- var lang = props.actions.lang;
16290
+ var _props$actions2;
16291
+ props.actions.lang;
16356
16292
  var langdetect = props.actions.langdetect;
16357
16293
  var routingcountext = props.actions.routingcountext;
16358
16294
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
16359
16295
  var templatepropcontext = props.actions.templatepropcontext;
16360
16296
  var uselocation = props.actions.uselocation;
16361
- var ikimagecredcontext = props.actions.ikimagecredcontext;
16297
+ props.actions.ikimagecredcontext;
16362
16298
  var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
16363
16299
  var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
16364
16300
  props.actions.fetchorderhistoryQueryContext;
@@ -16384,9 +16320,9 @@
16384
16320
  var setCurrentPageId = _useState10[1];
16385
16321
  var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
16386
16322
  var _useState11 = React.useState([]),
16387
- _useState12 = _slicedToArray__default["default"](_useState11, 2),
16388
- logoarrayofobjects = _useState12[0],
16389
- setlogoarrayofobjects = _useState12[1];
16323
+ _useState12 = _slicedToArray__default["default"](_useState11, 2);
16324
+ _useState12[0];
16325
+ var setlogoarrayofobjects = _useState12[1];
16390
16326
  var templateproperties_context = props.actions.templateproperties_context;
16391
16327
 
16392
16328
  // useEffect(() => {
@@ -16520,226 +16456,7 @@
16520
16456
  borderRadius: sectionproperties.cardstyletype != 'Style 2' ? '10px' : 0,
16521
16457
  color: '#000'
16522
16458
  }
16523
- }, lastOrderinfoObj != null && lastOrderinfoObj.status && sectionproperties.cardstyletype == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
16524
- "class": "row m-0 w-100 px-5 py-5 px-1025-1 px-md-0",
16525
- style: {
16526
- paddingLeft: 200,
16527
- paddingRight: 200
16528
- }
16529
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16530
- "class": "col-12 p-0 text-start mb-4"
16531
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16532
- "class": ' text-start',
16533
- style: {
16534
- width: '15%'
16535
- }
16536
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
16537
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
16538
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
16539
- path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
16540
- style: {
16541
- maxWidth: '100%',
16542
- maxHeight: '100%'
16543
- }
16544
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
16545
- "class": "col-6 col-md-12 text-start border-md-none",
16546
- style: {
16547
- borderRight: langdetect == 'en' ? '1px solid #ccc' : '',
16548
- borderLeft: langdetect == 'ar' ? '1px solid #ccc' : ''
16549
- }
16550
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16551
- "class": "row m-0 w-100"
16552
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16553
- "class": "col-12 p-0 text-start mb-1 font-weight-500",
16554
- style: {
16555
- fontSize: 15
16556
- }
16557
- }, "Order #", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat === void 0 || (_lastOrderinfoObj$dat = _lastOrderinfoObj$dat.orderinfo) === null || _lastOrderinfoObj$dat === void 0 ? void 0 : _lastOrderinfoObj$dat.orderid), /*#__PURE__*/React__default["default"].createElement("div", {
16558
- "class": "col-12 p-0 text-start mb-4 font-weight-500"
16559
- }, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat2 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat2 === void 0 || (_lastOrderinfoObj$dat2 = _lastOrderinfoObj$dat2.orderinfo) === null || _lastOrderinfoObj$dat2 === void 0 ? void 0 : _lastOrderinfoObj$dat2.customername), /*#__PURE__*/React__default["default"].createElement("div", {
16560
- "class": "col-12 p-0 text-start font-weight-500"
16561
- }, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React__default["default"].createElement("div", {
16562
- "class": "col-12 p-0 text-start font-weight-500"
16563
- }, langdetect == 'en' ? 'You’ll receive a confirmation email with your order details shortly.' : 'ستتلقى رسالة تأكيد عبر البريد الإلكتروني تحتوي على تفاصيل طلبك قريبًا.'), /*#__PURE__*/React__default["default"].createElement("div", {
16564
- "class": "col-lg-12 p-0 mt-4",
16565
- style: {
16566
- border: '1px solid #ccc',
16567
- borderRadius: 10
16568
- }
16569
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16570
- "class": "row m-0 w-100 px-3 py-4"
16571
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16572
- "class": "col-12 text-start mb-3"
16573
- }, /*#__PURE__*/React__default["default"].createElement("p", {
16574
- "class": "m-0",
16575
- style: {
16576
- fontSize: 16,
16577
- fontWeight: 600
16578
- }
16579
- }, langdetect == 'en' ? 'Order details' : 'تفاصيل الطلب')), /*#__PURE__*/React__default["default"].createElement("div", {
16580
- "class": "col-6 col-md-12"
16581
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16582
- "class": "row m-0 w-100"
16583
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16584
- "class": "col-12 p-0 text-start mb-2"
16585
- }, /*#__PURE__*/React__default["default"].createElement("p", {
16586
- "class": "m-0",
16587
- style: {
16588
- fontSize: 15,
16589
- fontWeight: 600
16590
- }
16591
- }, langdetect == 'en' ? 'Contact Information' : 'بياتات العميل')), /*#__PURE__*/React__default["default"].createElement("div", {
16592
- "class": "col-12 p-0 text-start"
16593
- }, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat3 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat3 === void 0 || (_lastOrderinfoObj$dat3 = _lastOrderinfoObj$dat3.orderinfo) === null || _lastOrderinfoObj$dat3 === void 0 ? void 0 : _lastOrderinfoObj$dat3.customeremail)), /*#__PURE__*/React__default["default"].createElement("div", {
16594
- "class": "col-12 p-0 text-start"
16595
- }, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat4 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat4 === void 0 || (_lastOrderinfoObj$dat4 = _lastOrderinfoObj$dat4.orderinfo) === null || _lastOrderinfoObj$dat4 === void 0 ? void 0 : _lastOrderinfoObj$dat4.customerphonenumber)), /*#__PURE__*/React__default["default"].createElement("div", {
16596
- "class": "col-12 p-0 text-start mb-2"
16597
- }, /*#__PURE__*/React__default["default"].createElement("p", {
16598
- style: {
16599
- fontSize: 15,
16600
- fontWeight: 600
16601
- },
16602
- "class": "m-0"
16603
- }, langdetect == 'en' ? 'Shipping address' : 'عنوان الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
16604
- "class": "col-12 p-0 text-start"
16605
- }, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat5 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat5 === void 0 || (_lastOrderinfoObj$dat5 = _lastOrderinfoObj$dat5.orderinfo) === null || _lastOrderinfoObj$dat5 === void 0 ? void 0 : _lastOrderinfoObj$dat5.address)))), /*#__PURE__*/React__default["default"].createElement("div", {
16606
- "class": "col-6 col-md-12"
16607
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16608
- "class": "col-12 p-0 text-start mb-2"
16609
- }, /*#__PURE__*/React__default["default"].createElement("p", {
16610
- style: {
16611
- fontSize: 15,
16612
- fontWeight: 600
16613
- },
16614
- "class": "m-0"
16615
- }, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع')), /*#__PURE__*/React__default["default"].createElement("div", {
16616
- "class": "col-12 p-0 text-start"
16617
- }, /*#__PURE__*/React__default["default"].createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat6 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat6 === void 0 || (_lastOrderinfoObj$dat6 = _lastOrderinfoObj$dat6.orderinfo) === null || _lastOrderinfoObj$dat6 === void 0 ? void 0 : _lastOrderinfoObj$dat6.paymentmethod) == 'cod' ? langdetect == 'en' ? 'Cash on delivery' : 'الدفع عند الاستلام' : lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat7 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat7 === void 0 || (_lastOrderinfoObj$dat7 = _lastOrderinfoObj$dat7.orderinfo) === null || _lastOrderinfoObj$dat7 === void 0 ? void 0 : _lastOrderinfoObj$dat7.paymentmethod))))))), /*#__PURE__*/React__default["default"].createElement("div", {
16618
- "class": "col-6 col-md-12 p-md-0"
16619
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16620
- "class": "row m-0 w-100 mb-auto mt-md-4"
16621
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16622
- "class": "col-lg-12 text-start mb-3"
16623
- }, /*#__PURE__*/React__default["default"].createElement("p", {
16624
- "class": "m-0 p-0",
16625
- style: {
16626
- fontSize: 20,
16627
- fontWeight: 600
16628
- }
16629
- }, langdetect == 'en' ? 'Items Ordered' : 'المنتجات')), /*#__PURE__*/React__default["default"].createElement("div", {
16630
- "class": "col-12 p-0"
16631
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16632
- "class": "row m-0 w-100",
16633
- style: {
16634
- maxHeight: '40vh',
16635
- overflowY: 'scroll'
16636
- }
16637
- }, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat8 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat8 === void 0 ? void 0 : _lastOrderinfoObj$dat8.orderitems.map(function (item, index) {
16638
- var _lastOrderinfoObj$dat9, _lastOrderinfoObj$dat10;
16639
- var variantoptions = [];
16640
- if (item.isvariant == 1) {
16641
- var decodevariantoptions = JSON.parse(item.variantoptions);
16642
- variantoptions = decodevariantoptions;
16643
- }
16644
- return /*#__PURE__*/React__default["default"].createElement("div", {
16645
- className: "col-lg-12 p-0"
16646
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16647
- className: "row m-0 w-100 d-flex",
16648
- style: {
16649
- fontSize: 15
16650
- }
16651
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16652
- className: "col-8 d-flex"
16653
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16654
- className: "row m-0 w-100"
16655
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16656
- "class": "col-lg-12 p-0 text-start"
16657
- }, /*#__PURE__*/React__default["default"].createElement("p", {
16658
- className: ' m-0 p-0 ',
16659
- style: {
16660
- textAlign: langdetect == 'en' ? 'left' : 'right'
16661
- }
16662
- }, langdetect == 'en' ? item.productname_en : item.productname_ar)), (item === null || item === void 0 ? void 0 : item.isvariant) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
16663
- className: "col-lg-12 p-0 d-flex justify-content-start"
16664
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16665
- "class": "row m-0 w-100"
16666
- }, variantoptions.map(function (variantitem, variantindex) {
16667
- return /*#__PURE__*/React__default["default"].createElement("div", {
16668
- className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
16669
- }, /*#__PURE__*/React__default["default"].createElement("p", {
16670
- className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 font-13 '
16671
- }, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue));
16672
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
16673
- className: "col-lg-12 p-0 d-flex justify-content-start"
16674
- }, /*#__PURE__*/React__default["default"].createElement("p", {
16675
- className: "m-0 p-0 font-weight-500"
16676
- }, lang.qty, ": ", item.quantity)))), /*#__PURE__*/React__default["default"].createElement("div", {
16677
- className: "col-4 d-flex text-end"
16678
- }, /*#__PURE__*/React__default["default"].createElement("p", {
16679
- "class": "m-0 p-0 font-weight-500 mb-auto"
16680
- }, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat9 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat9 === void 0 || (_lastOrderinfoObj$dat9 = _lastOrderinfoObj$dat9.orderinfo) === null || _lastOrderinfoObj$dat9 === void 0 ? void 0 : _lastOrderinfoObj$dat9.currencyname_en : '', " ", item.finalprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat10 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat10 === void 0 || (_lastOrderinfoObj$dat10 = _lastOrderinfoObj$dat10.orderinfo) === null || _lastOrderinfoObj$dat10 === void 0 ? void 0 : _lastOrderinfoObj$dat10.currencyname_ar : '')), /*#__PURE__*/React__default["default"].createElement("div", {
16681
- "class": "col-12 my-2"
16682
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16683
- style: {
16684
- width: '100%',
16685
- height: 1,
16686
- background: '#eee'
16687
- }
16688
- }))));
16689
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
16690
- "class": "col-lg-12 p-0 mt-5",
16691
- style: {
16692
- fontSize: 16
16693
- }
16694
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16695
- className: "row m-0 w-100 font-weight-600"
16696
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16697
- "class": "col-6 text-start"
16698
- }, /*#__PURE__*/React__default["default"].createElement("p", {
16699
- className: "m-0 p-0"
16700
- }, langdetect == 'en' ? 'Sub total' : 'الاجمالي')), /*#__PURE__*/React__default["default"].createElement("div", {
16701
- "class": "col-6 text-end"
16702
- }, /*#__PURE__*/React__default["default"].createElement("p", {
16703
- className: "m-0 p-0 font-weight-500"
16704
- }, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat11 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat11 === void 0 || (_lastOrderinfoObj$dat11 = _lastOrderinfoObj$dat11.orderinfo) === null || _lastOrderinfoObj$dat11 === void 0 ? void 0 : _lastOrderinfoObj$dat11.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat12 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat12 === void 0 ? void 0 : _lastOrderinfoObj$dat12.totalitemsprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat13 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat13 === void 0 || (_lastOrderinfoObj$dat13 = _lastOrderinfoObj$dat13.orderinfo) === null || _lastOrderinfoObj$dat13 === void 0 ? void 0 : _lastOrderinfoObj$dat13.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
16705
- "class": "col-lg-12 p-0 mt-1",
16706
- style: {
16707
- fontSize: 16
16708
- }
16709
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16710
- className: "row m-0 w-100 font-weight-600"
16711
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16712
- "class": "col-6 text-start"
16713
- }, /*#__PURE__*/React__default["default"].createElement("p", {
16714
- className: "m-0 p-0"
16715
- }, langdetect == 'en' ? 'Shipping' : 'الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
16716
- "class": "col-6 text-end"
16717
- }, /*#__PURE__*/React__default["default"].createElement("p", {
16718
- className: "m-0 p-0 font-weight-500"
16719
- }, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat14 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat14 === void 0 || (_lastOrderinfoObj$dat14 = _lastOrderinfoObj$dat14.orderinfo) === null || _lastOrderinfoObj$dat14 === void 0 ? void 0 : _lastOrderinfoObj$dat14.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat15 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat15 === void 0 ? void 0 : _lastOrderinfoObj$dat15.ordershippingfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat16 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat16 === void 0 || (_lastOrderinfoObj$dat16 = _lastOrderinfoObj$dat16.orderinfo) === null || _lastOrderinfoObj$dat16 === void 0 ? void 0 : _lastOrderinfoObj$dat16.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
16720
- "class": "col-lg-12 p-0 my-3"
16721
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16722
- style: {
16723
- width: '100%',
16724
- height: 1,
16725
- background: '#eee'
16726
- }
16727
- })), /*#__PURE__*/React__default["default"].createElement("div", {
16728
- "class": "col-lg-12 p-0 mt-1",
16729
- style: {
16730
- fontSize: 16
16731
- }
16732
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16733
- className: "row m-0 w-100 font-weight-600"
16734
- }, /*#__PURE__*/React__default["default"].createElement("div", {
16735
- "class": "col-6 text-start"
16736
- }, /*#__PURE__*/React__default["default"].createElement("p", {
16737
- className: "m-0 p-0"
16738
- }, langdetect == 'en' ? 'Total' : 'الاجمالي')), /*#__PURE__*/React__default["default"].createElement("div", {
16739
- "class": "col-6 text-end"
16740
- }, /*#__PURE__*/React__default["default"].createElement("p", {
16741
- className: "m-0 p-0 font-weight-500"
16742
- }, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat17 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat17 === void 0 || (_lastOrderinfoObj$dat17 = _lastOrderinfoObj$dat17.orderinfo) === null || _lastOrderinfoObj$dat17 === void 0 ? void 0 : _lastOrderinfoObj$dat17.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat18 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat18 === void 0 ? void 0 : _lastOrderinfoObj$dat18.totalorderfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat19 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat19 === void 0 || (_lastOrderinfoObj$dat19 = _lastOrderinfoObj$dat19.orderinfo) === null || _lastOrderinfoObj$dat19 === void 0 ? void 0 : _lastOrderinfoObj$dat19.currencyname_ar : ''))))))), sectionproperties.cardstyletype != 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
16459
+ }, sectionproperties.cardstyletype != 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
16743
16460
  className: "col-lg-12 allcentered flex-column "
16744
16461
  }, /*#__PURE__*/React__default["default"].createElement(IoBagCheckOutline.IoBagCheckOutline, {
16745
16462
  size: sectionproperties.icontextfontsize,
@@ -32997,15 +32714,15 @@
32997
32714
  }, /*#__PURE__*/React__default["default"].createElement(FloatingIcons, {
32998
32715
  sectionpropertiesprops: sectionproperties,
32999
32716
  actions: actions
33000
- }), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
33001
- sectionpropertiesprops: sectionproperties,
33002
- templateproperties_contextprops: templateproperties_context,
33003
- actions: actions
33004
32717
  }), /*#__PURE__*/React__default["default"].createElement("div", {
33005
32718
  "class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
33006
32719
  }, /*#__PURE__*/React__default["default"].createElement("div", {
33007
32720
  "class": "row m-0 w-100 "
33008
- }, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
32721
+ }, templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
32722
+ sectionpropertiesprops: sectionproperties,
32723
+ templateproperties_contextprops: templateproperties_context,
32724
+ actions: actions
32725
+ }), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
33009
32726
  "class": "col-lg-12 p-0 d-flex d-md-none"
33010
32727
  }, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
33011
32728
  sectionpropertiesprops: sectionproperties,
@@ -52661,7 +52378,7 @@
52661
52378
  function ownKeys$1v(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; }
52662
52379
  function _objectSpread$1v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1v(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
52663
52380
  var Newsletterfooter = function Newsletterfooter(props) {
52664
- var _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$i26, _authdetailsContext$i28, _authdetailsContext$i30, _authdetailsContext$i32, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i42, _authdetailsContext$i43, _fetchcustomercartQue, _fetchcustomercartQue2;
52381
+ var _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$i26, _authdetailsContext$i28, _authdetailsContext$i30, _authdetailsContext$i32, _authdetailsContext$i34, _authdetailsContext$i39, _authdetailsContext$i40, _fetchcustomercartQue, _fetchcustomercartQue2;
52665
52382
  var _useState = React.useState(''),
52666
52383
  _useState2 = _slicedToArray__default["default"](_useState, 2),
52667
52384
  sectionproperties = _useState2[0],
@@ -53331,17 +53048,6 @@
53331
53048
  }
53332
53049
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
53333
53050
  size: sectionproperties.youtubebtniconfontsize
53334
- })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.googlemapslink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
53335
- "class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 mb-2 ',
53336
- onClick: function onClick() {
53337
- var _authdetailsContext$i38;
53338
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.googlemapslink) != null) {
53339
- var _authdetailsContext$i39;
53340
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.googlemapslink, '_blank');
53341
- }
53342
- }
53343
- }, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
53344
- size: sectionproperties.youtubebtniconfontsize
53345
53051
  }))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
53346
53052
  "class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
53347
53053
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -53357,15 +53063,15 @@
53357
53063
  "class": langdetect == 'en' ? "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mr-2 ' : "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ml-2 ',
53358
53064
  src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
53359
53065
  onClick: function onClick() {
53360
- var _authdetailsContext$i40;
53361
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.mobileapplink_appstore, '_blank');
53066
+ var _authdetailsContext$i37;
53067
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.mobileapplink_appstore, '_blank');
53362
53068
  }
53363
53069
  }), sectionproperties.showplaystore == 'Show' && /*#__PURE__*/React__default["default"].createElement("img", {
53364
53070
  "class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
53365
53071
  src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
53366
53072
  onClick: function onClick() {
53367
- var _authdetailsContext$i41;
53368
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.mobileapplink_playstore, '_blank');
53073
+ var _authdetailsContext$i38;
53074
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.mobileapplink_playstore, '_blank');
53369
53075
  }
53370
53076
  }))), sectionproperties.showfooteraddress == 'Show' && sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
53371
53077
  "class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
@@ -53382,7 +53088,7 @@
53382
53088
  "class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
53383
53089
  }, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
53384
53090
  size: 30
53385
- })), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.address_ar)))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
53091
+ })), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.address_ar)))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
53386
53092
  "class": "col-lg-12 p-0 d-block my-3"
53387
53093
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
53388
53094
  "class": "m-0 p-0"
@@ -60162,7 +59868,7 @@
60162
59868
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
60163
59869
  placeholder: '',
60164
59870
  isSearchable: true
60165
- })), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
59871
+ })), sectionproperties.hidecountrystatecity == 'Show' && props.srcfrom != 'filter' && /*#__PURE__*/React__default["default"].createElement("div", {
60166
59872
  className: props.srcfrom == 'filter' ? ' col-lg-4 col-md-12 col-sm-12 mb-sm-3 ' : sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
60167
59873
  }, /*#__PURE__*/React__default["default"].createElement("label", {
60168
59874
  className: formstyles.input_label_name + ' d-flex justify-content-start '
@@ -60221,7 +59927,7 @@
60221
59927
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
60222
59928
  placeholder: '',
60223
59929
  isSearchable: true
60224
- })), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
59930
+ })), sectionproperties.hidecountrystatecity == 'Show' && props.srcfrom != 'filter' && /*#__PURE__*/React__default["default"].createElement("div", {
60225
59931
  className: props.srcfrom == 'filter' ? ' col-lg-4 col-md-12 col-sm-12 mb-sm-3 ' : sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
60226
59932
  }, /*#__PURE__*/React__default["default"].createElement("label", {
60227
59933
  className: formstyles.input_label_name + ' d-flex justify-content-start '
@@ -60307,7 +60013,7 @@
60307
60013
  function ownKeys$1f(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; }
60308
60014
  function _objectSpread$1f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1f(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
60309
60015
  var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props) {
60310
- var _css, _fetchProductFeatures;
60016
+ var _css;
60311
60017
  var _useState = React.useState(''),
60312
60018
  _useState2 = _slicedToArray__default["default"](_useState, 2),
60313
60019
  sectionproperties = _useState2[0],
@@ -60334,7 +60040,7 @@
60334
60040
  var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
60335
60041
  var fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
60336
60042
  var fetchproductsfilerobjcontext = props.actions.fetchproductsfilerobjcontext;
60337
- var fetchProductFeaturesQueryContext = props.actions.fetchProductFeaturesQueryContext;
60043
+ props.actions.fetchProductFeaturesQueryContext;
60338
60044
  var routingcountext = props.actions.routingcountext;
60339
60045
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
60340
60046
  // const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
@@ -60355,21 +60061,21 @@
60355
60061
  _useState12[0];
60356
60062
  _useState12[1];
60357
60063
  var _useState13 = React.useState([]),
60358
- _useState14 = _slicedToArray__default["default"](_useState13, 2),
60359
- productfeatuesarr = _useState14[0],
60360
- setproductfeatuesarr = _useState14[1];
60064
+ _useState14 = _slicedToArray__default["default"](_useState13, 2);
60065
+ _useState14[0];
60066
+ _useState14[1];
60361
60067
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
60362
60068
  var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
60363
60069
  var authdetailsContext = props.actions.authdetailsContext;
60364
60070
  props.actions.fetchcollectionsQueryContext;
60365
60071
  var _useState15 = React.useState(''),
60366
- _useState16 = _slicedToArray__default["default"](_useState15, 2),
60367
- from_date_filter_input = _useState16[0],
60368
- setfrom_date_filter_input = _useState16[1];
60072
+ _useState16 = _slicedToArray__default["default"](_useState15, 2);
60073
+ _useState16[0];
60074
+ _useState16[1];
60369
60075
  var _useState17 = React.useState(''),
60370
- _useState18 = _slicedToArray__default["default"](_useState17, 2),
60371
- to_date_filter_input = _useState18[0],
60372
- setto_date_filter_input = _useState18[1];
60076
+ _useState18 = _slicedToArray__default["default"](_useState17, 2);
60077
+ _useState18[0];
60078
+ _useState18[1];
60373
60079
  React.useEffect(function () {
60374
60080
  var tempFetchQueriesEngineContext = _objectSpread$1f({}, FetchQueriesEngineContext);
60375
60081
  tempFetchQueriesEngineContext.fetchtabexcountries = true;
@@ -60735,299 +60441,7 @@
60735
60441
  routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
60736
60442
  }
60737
60443
  }
60738
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), sectionproperties.sectionstyletype == 'Style 3' && /*#__PURE__*/React__default["default"].createElement("div", {
60739
- "class": "row m-0 w-100 allcentered mt-auto mb-4 px-4",
60740
- style: {
60741
- zIndex: 2
60742
- }
60743
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60744
- "class": imagesarray.length != 0 ? 'row m-0 w-100 d-flex align-items-center justify-content-start' : 'row m-0 w-100 d-flex align-items-center justify-content-center'
60745
- }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
60746
- "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
60747
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60748
- "class": "wordbreak",
60749
- style: {
60750
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
60751
- color: sectionproperties.sectionTitleColor,
60752
- textTransform: sectionproperties.sectionTitleTextTransform,
60753
- fontWeight: sectionproperties.sectionTitleFontWeight,
60754
- textAlign: langdetect == 'en' ? 'left' : 'right',
60755
- marginBottom: sectionproperties.prodCatShow == 'Show' ? 0 : 20
60756
- }
60757
- }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
60758
- "class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
60759
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60760
- style: {
60761
- fontSize: sectionproperties.prodCatFontSize + 'px',
60762
- color: sectionproperties.prodCatColor,
60763
- textTransform: sectionproperties.prodCatTextTranform,
60764
- fontWeight: sectionproperties.prodCatFontWeight,
60765
- maxWidth: '500px'
60766
- }
60767
- }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
60768
- "class": 'col-lg-11 col-md-12 col-sm-12 allcentered mt-3',
60769
- style: {
60770
- backgroundColor: sectionproperties.reservation_bgcolor,
60771
- borderRadius: sectionproperties.reservation_borderradius + 'px',
60772
- paddingTop: sectionproperties.reservation_padding_top + 'px',
60773
- paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
60774
- paddingLeft: sectionproperties.reservation_padding_left + 'px',
60775
- paddingRight: sectionproperties.reservation_padding_right + 'px'
60776
- }
60777
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60778
- "class": "row m-0 w-100 allcentered"
60779
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60780
- "class": "col-lg-12 p-0"
60781
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60782
- "class": "row m-0 w-100 d-flex align-items-center justify-content-start"
60783
- }, (fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 ? void 0 : fetchProductFeaturesQueryContext.isSuccess) && (fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 || (_fetchProductFeatures = fetchProductFeaturesQueryContext.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.productfeatues) === null || _fetchProductFeatures === void 0 ? void 0 : _fetchProductFeatures.map(function (item, index) {
60784
- if (item.type == 'Selectbox') {
60785
- var _item$featuresselectb;
60786
- var selectboxarr = [];
60787
- item === null || item === void 0 || (_item$featuresselectb = item.featuresselectbovalue) === null || _item$featuresselectb === void 0 || _item$featuresselectb.forEach(function (slecitem) {
60788
- var itemlabel = '';
60789
- if (langdetect == 'en') {
60790
- itemlabel = slecitem.value_en;
60791
- } else {
60792
- itemlabel = slecitem.value_ar;
60793
- }
60794
- selectboxarr.push({
60795
- label: itemlabel,
60796
- value: slecitem.value_en
60797
- });
60798
- });
60799
- return /*#__PURE__*/React__default["default"].createElement("div", {
60800
- "class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
60801
- }, /*#__PURE__*/React__default["default"].createElement("label", {
60802
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
60803
- style: {
60804
- textAlign: langdetect == 'en' ? 'left' : 'right'
60805
- }
60806
- }, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
60807
- "class": 'col-lg-12 p-0'
60808
- }, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
60809
- options: selectboxarr,
60810
- styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
60811
- placeholder: '',
60812
- onChange: function onChange(e) {
60813
- var isattrexists = false;
60814
- var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
60815
- tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
60816
- if (attritem.id == item.id) {
60817
- tempproductfeatuesarr[attrindex].value = e.value;
60818
- isattrexists = true;
60819
- }
60820
- });
60821
- if (isattrexists == false) {
60822
- tempproductfeatuesarr.push({
60823
- id: item.id,
60824
- value: e.value
60825
- });
60826
- }
60827
- setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
60828
- }
60829
- })));
60830
- }
60831
- if (item.type == 'Number') {
60832
- return /*#__PURE__*/React__default["default"].createElement("div", {
60833
- "class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
60834
- }, /*#__PURE__*/React__default["default"].createElement("label", {
60835
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
60836
- style: {
60837
- textAlign: langdetect == 'en' ? 'left' : 'right'
60838
- }
60839
- }, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
60840
- "class": 'col-lg-12 p-0 mt-1'
60841
- }, /*#__PURE__*/React__default["default"].createElement("input", {
60842
- type: "number",
60843
- className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control),
60844
- placeholder: '',
60845
- onChange: function onChange(e) {
60846
- var isattrexists = false;
60847
- var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
60848
- tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
60849
- if (attritem.id == item.id) {
60850
- tempproductfeatuesarr[attrindex].value = e.target.value;
60851
- isattrexists = true;
60852
- }
60853
- });
60854
- if (isattrexists == false) {
60855
- tempproductfeatuesarr.push({
60856
- id: item.id,
60857
- value: e.target.value
60858
- });
60859
- }
60860
- setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
60861
- }
60862
- })));
60863
- }
60864
- if (item.type == 'NumberRange') {
60865
- var temppricevalue = {
60866
- min: 0,
60867
- max: 10000
60868
- };
60869
- var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
60870
- tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
60871
- if (attritem.id == item.id) {
60872
- var _attritem$value, _attritem$valuemax;
60873
- if (attritem.value != undefined && attritem.value != null && (attritem === null || attritem === void 0 || (_attritem$value = attritem.value) === null || _attritem$value === void 0 ? void 0 : _attritem$value.length) != 0) {
60874
- temppricevalue.min = attritem.value;
60875
- }
60876
- if (attritem.valuemax != undefined && attritem.valuemax != null && (attritem === null || attritem === void 0 || (_attritem$valuemax = attritem.valuemax) === null || _attritem$valuemax === void 0 ? void 0 : _attritem$valuemax.length) != 0) {
60877
- temppricevalue.max = attritem.valuemax;
60878
- }
60879
- }
60880
- });
60881
- return /*#__PURE__*/React__default["default"].createElement("div", {
60882
- className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-3 '
60883
- }, /*#__PURE__*/React__default["default"].createElement("label", {
60884
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
60885
- style: {
60886
- textAlign: langdetect == 'en' ? 'left' : 'right'
60887
- }
60888
- }, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
60889
- "class": 'col-lg-12 pl-4 pr-4 mt-2 mb-2',
60890
- style: {
60891
- direction: 'ltr'
60892
- }
60893
- }, /*#__PURE__*/React__default["default"].createElement(InputRange__default["default"], {
60894
- draggableTrack: true,
60895
- formatLabel: function formatLabel(value) {
60896
- return "".concat(value);
60897
- },
60898
- maxValue: parseInt(sectionproperties.filterpricemaxvalue),
60899
- minValue: parseInt(sectionproperties.filterpriceminvalue),
60900
- value: temppricevalue,
60901
- onChange: function onChange(e) {
60902
- // setpricevalue({ ...value });
60903
- var isattrexists = false;
60904
- var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
60905
- tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
60906
- if (attritem.id == item.id) {
60907
- tempproductfeatuesarr[attrindex].value = e.min;
60908
- tempproductfeatuesarr[attrindex].valuemax = e.max;
60909
- isattrexists = true;
60910
- }
60911
- });
60912
- if (isattrexists == false) {
60913
- tempproductfeatuesarr.push({
60914
- id: item.id,
60915
- value: e.min,
60916
- valuemax: e.max
60917
- });
60918
- }
60919
- setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
60920
- }
60921
- })));
60922
- }
60923
- })), /*#__PURE__*/React__default["default"].createElement("div", {
60924
- "class": "col-lg-3 col-md-12"
60925
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60926
- "class": "row m-0 w-100"
60927
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60928
- "class": "col-lg-12 p-0 text-start"
60929
- }, /*#__PURE__*/React__default["default"].createElement("label", {
60930
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
60931
- style: {
60932
- color: sectionproperties.form_labelcolor,
60933
- textTransform: sectionproperties.form_labeltexttransform,
60934
- fontWeight: sectionproperties.form_labelfontweight,
60935
- fontSize: sectionproperties.form_labelfontsize + 'px',
60936
- marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
60937
- }
60938
- }, langdetect == 'en' ? 'From' : 'من')), /*#__PURE__*/React__default["default"].createElement("div", {
60939
- "class": "col-lg-12 p-0 text-start"
60940
- }, /*#__PURE__*/React__default["default"].createElement("input", {
60941
- type: 'date',
60942
- onChange: function onChange(e) {
60943
- setfrom_date_filter_input(e.target.value);
60944
- },
60945
- value: from_date_filter_input,
60946
- className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
60947
- })))), /*#__PURE__*/React__default["default"].createElement("div", {
60948
- "class": "col-lg-3 col-md-12"
60949
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60950
- "class": "col-lg-12 p-0 text-start"
60951
- }, /*#__PURE__*/React__default["default"].createElement("label", {
60952
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
60953
- style: {
60954
- color: sectionproperties.form_labelcolor,
60955
- textTransform: sectionproperties.form_labeltexttransform,
60956
- fontWeight: sectionproperties.form_labelfontweight,
60957
- fontSize: sectionproperties.form_labelfontsize + 'px',
60958
- marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
60959
- }
60960
- }, langdetect == 'en' ? 'To' : 'الى')), /*#__PURE__*/React__default["default"].createElement("div", {
60961
- "class": "col-lg-12 p-0 text-start"
60962
- }, /*#__PURE__*/React__default["default"].createElement("input", {
60963
- type: 'date',
60964
- onChange: function onChange(e) {
60965
- setto_date_filter_input(e.target.value);
60966
- },
60967
- value: to_date_filter_input,
60968
- className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
60969
- })), "\xA0"), /*#__PURE__*/React__default["default"].createElement("div", {
60970
- "class": "col-lg-2 col-md-12 text-end",
60971
- style: {
60972
- marginLeft: langdetect == 'en' ? 'auto' : '',
60973
- marginRight: langdetect == 'ar' ? 'auto' : ''
60974
- }
60975
- }, /*#__PURE__*/React__default["default"].createElement("button", {
60976
- "class": sectionstyles.btnstyles + ' allcentered ',
60977
- onClick: function onClick() {
60978
- var _payloadobj$countryid2, _payloadobj$stateid2, _payloadobj$cityid2, _pricevalue$min2, _pricevalue$max2;
60979
- var tempfetchproductsfilerobjcontext = _objectSpread$1f({}, fetchproductsfilerobjcontext);
60980
- if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.countryid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$countryid2 = payloadobj.countryid) === null || _payloadobj$countryid2 === void 0 ? void 0 : _payloadobj$countryid2.length) != 0) {
60981
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
60982
- tempfetchproductsfilerobjcontext.country_ids = [payloadobj.countryid];
60983
- } else {
60984
- tempfetchproductsfilerobjcontext.countryid = payloadobj.countryid;
60985
- }
60986
- }
60987
- if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.stateid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$stateid2 = payloadobj.stateid) === null || _payloadobj$stateid2 === void 0 ? void 0 : _payloadobj$stateid2.length) != 0) {
60988
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
60989
- tempfetchproductsfilerobjcontext.state_ids = [payloadobj.stateid];
60990
- } else {
60991
- tempfetchproductsfilerobjcontext.stateid = payloadobj.stateid;
60992
- }
60993
- }
60994
- if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.cityid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$cityid2 = payloadobj.cityid) === null || _payloadobj$cityid2 === void 0 ? void 0 : _payloadobj$cityid2.length) != 0) {
60995
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
60996
- tempfetchproductsfilerobjcontext.city_ids = [payloadobj.cityid];
60997
- } else {
60998
- tempfetchproductsfilerobjcontext.cityid = payloadobj.cityid;
60999
- }
61000
- }
61001
- if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.collections) != null && payloadobj.collections.length != 0) {
61002
- tempfetchproductsfilerobjcontext.collections = payloadobj.collections;
61003
- }
61004
- if ((pricevalue === null || pricevalue === void 0 ? void 0 : pricevalue.min) != null && (pricevalue === null || pricevalue === void 0 || (_pricevalue$min2 = pricevalue.min) === null || _pricevalue$min2 === void 0 ? void 0 : _pricevalue$min2.length) != 0) {
61005
- tempfetchproductsfilerobjcontext.price_min = pricevalue.min;
61006
- }
61007
- if ((pricevalue === null || pricevalue === void 0 ? void 0 : pricevalue.max) != null && (pricevalue === null || pricevalue === void 0 || (_pricevalue$max2 = pricevalue.max) === null || _pricevalue$max2 === void 0 ? void 0 : _pricevalue$max2.length) != 0) {
61008
- if (sectionproperties.showpricerange == 'Hide') {
61009
- tempfetchproductsfilerobjcontext.price_max = 99999999999999;
61010
- } else {
61011
- tempfetchproductsfilerobjcontext.price_max = pricevalue.max;
61012
- }
61013
- }
61014
- if (productfeatuesarr != undefined && productfeatuesarr != null && Array.isArray(productfeatuesarr) && (productfeatuesarr === null || productfeatuesarr === void 0 ? void 0 : productfeatuesarr.length) != 0) {
61015
- tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
61016
- }
61017
- if (from_date_filter_input != undefined && from_date_filter_input != null && (from_date_filter_input === null || from_date_filter_input === void 0 ? void 0 : from_date_filter_input.length) != 0) {
61018
- tempfetchproductsfilerobjcontext.from_date_filter = from_date_filter_input;
61019
- }
61020
- if (to_date_filter_input != undefined && to_date_filter_input != null && (to_date_filter_input === null || to_date_filter_input === void 0 ? void 0 : to_date_filter_input.length) != 0) {
61021
- tempfetchproductsfilerobjcontext.to_date_filter = to_date_filter_input;
61022
- }
61023
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
61024
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
61025
- }
61026
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Vendors') {
61027
- routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
61028
- }
61029
- }
61030
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))))));
60444
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
61031
60445
  };
61032
60446
 
61033
60447
  function ownKeys$1e(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; }
@@ -65980,7 +65394,9 @@
65980
65394
  style: {
65981
65395
  position: 'relative',
65982
65396
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
65983
- fontSize: sectionproperties.prodCatFontSize + 'px'
65397
+ fontSize: sectionproperties.prodCatFontSize + 'px',
65398
+ marginLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
65399
+ marginRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px'
65984
65400
  // paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
65985
65401
  // paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
65986
65402
  }
@@ -68946,10 +68362,11 @@
68946
68362
  }, sectionproperties.slideshowtext2_show && /*#__PURE__*/React__default["default"].createElement("p", {
68947
68363
  "class": "m-0 wordbreak",
68948
68364
  style: {
68949
- color: sectionproperties.slideshowText2ContentColor,
68365
+ // color: sectionproperties.slideshowText2ContentColor,
68950
68366
  fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
68951
68367
  fontWeight: sectionproperties.slideshowText2ContentFontWeight,
68952
- textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
68368
+ textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
68369
+ color: cardinfoitem.text2colorfromarray
68953
68370
  }
68954
68371
  }, langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar))))));
68955
68372
  }))))));
@@ -85746,7 +85163,19 @@
85746
85163
  style: {
85747
85164
  fontWeight: sectionproperties.profitcontainersecondaryfontweight
85748
85165
  }
85749
- }, langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.hassale == 1 ? item.defaultsaleprice : item.defaultprice) * (item.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
85166
+ }, langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.hassale == 1 ? item.defaultsaleprice : item.defaultprice) * (item.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.quantityshow == 'Show' && item.currentquantity > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
85167
+ "class": "col-lg-12 p-0 d-flex align-items-center",
85168
+ style: {
85169
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
85170
+ }
85171
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
85172
+ "class": "m-0 p-0",
85173
+ style: {
85174
+ fontSize: sectionproperties.quantityfontsize,
85175
+ color: sectionproperties.quantitycolor,
85176
+ fontWeight: sectionproperties.quantityfontweight
85177
+ }
85178
+ }, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
85750
85179
  "class": "col-lg-12 p-0 d-flex align-items-center",
85751
85180
  style: {
85752
85181
  justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
@@ -85785,19 +85214,7 @@
85785
85214
  }
85786
85215
  }
85787
85216
  // disabled={AddtoCartMutationContext.isLoading == true ? true : false}
85788
- }, addtocartbuttonrender())), sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
85789
- "class": "col-lg-12 p-0 d-flex align-items-center",
85790
- style: {
85791
- justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
85792
- }
85793
- }, /*#__PURE__*/React__default["default"].createElement("p", {
85794
- "class": "m-0 p-0",
85795
- style: {
85796
- fontSize: sectionproperties.quantityfontsize,
85797
- color: sectionproperties.quantitycolor,
85798
- fontWeight: sectionproperties.quantityfontweight
85799
- }
85800
- }, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
85217
+ }, addtocartbuttonrender())))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
85801
85218
  "class": "col-lg-12 d-flex align-items-center p-0",
85802
85219
  style: {
85803
85220
  justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'