tabexseriescomponents 0.0.320 → 0.0.322

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
@@ -2055,7 +2055,7 @@
2055
2055
  }
2056
2056
  }, /*#__PURE__*/React__default["default"].createElement("span", {
2057
2057
  className: "ml-1 mr-1"
2058
- }, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity))), sectionproperties.btnposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
2058
+ }, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity))), sectionproperties.btnposition == 'Top' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2059
2059
  className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 ',
2060
2060
  onClick: function onClick() {
2061
2061
  addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
@@ -2316,7 +2316,7 @@
2316
2316
  width: "20px",
2317
2317
  height: "20px",
2318
2318
  duration: "1s"
2319
- }))), sectionproperties.btnposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
2319
+ }))), sectionproperties.btnposition == 'Bottom' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2320
2320
  className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 ',
2321
2321
  onClick: function onClick() {
2322
2322
  addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
@@ -2344,7 +2344,17 @@
2344
2344
  size: sectionproperties.favBtnIconfontsize
2345
2345
  }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
2346
2346
  size: sectionproperties.favBtnIconfontsize
2347
- }))))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : (_fetchProductInfoQuer73 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : (_fetchProductInfoQuer74 = _fetchProductInfoQuer73.productinfo) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2347
+ }))), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
2348
+ "class": "m-0 p-0",
2349
+ style: {
2350
+ fontSize: sectionproperties.favBtnTextfontsize + 'px'
2351
+ }
2352
+ }, langdetect == 'en' ? sectionproperties.favbtncontent_en : sectionproperties.favbtncontent_ar), fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
2353
+ "class": "m-0 p-0",
2354
+ style: {
2355
+ fontSize: sectionproperties.favBtnTextfontsize + 'px'
2356
+ }
2357
+ }, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : (_fetchProductInfoQuer73 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : (_fetchProductInfoQuer74 = _fetchProductInfoQuer73.productinfo) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2348
2358
  "class": "row m-0 w-100 mt-3",
2349
2359
  style: {
2350
2360
  overflow: 'hidden'
@@ -2390,7 +2400,7 @@
2390
2400
  width: "20px",
2391
2401
  height: "20px",
2392
2402
  duration: "1s"
2393
- }))), sectionproperties.btnposition == 'Besides Cart Button' && /*#__PURE__*/React__default["default"].createElement("div", {
2403
+ }))), sectionproperties.btnposition == 'Besides Cart Button' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2394
2404
  className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',
2395
2405
  onClick: function onClick() {
2396
2406
  addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
@@ -2490,7 +2500,23 @@
2490
2500
  }
2491
2501
  })), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
2492
2502
  "class": "col-lg-12 mt-2 p-0"
2493
- }, ShareButtonsContainer()))))), /*#__PURE__*/React__default["default"].createElement("div", {
2503
+ }, ShareButtonsContainer()), sectionproperties.storeinfoposition == 'Below Information' && /*#__PURE__*/React__default["default"].createElement("div", {
2504
+ className: productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 ',
2505
+ style: {}
2506
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2507
+ "class": "row m-0 w-100",
2508
+ style: {
2509
+ paddingLeft: langdetect == 'en' ? '.5em' : 0,
2510
+ paddingRight: langdetect == 'ar' ? '.5rem' : 0
2511
+ }
2512
+ }, StoreInfoprops(), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
2513
+ "class": productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 ',
2514
+ style: {}
2515
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
2516
+ "class": "my-3"
2517
+ })), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
2518
+ "class": "col-lg-12 p-0 allcentered mt-2"
2519
+ }, ShareButtonsContainer()))))))), sectionproperties.storeinfoposition == 'On The Right' && /*#__PURE__*/React__default["default"].createElement("div", {
2494
2520
  className: langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0' : 'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',
2495
2521
  style: {
2496
2522
  borderLeft: langdetect == 'en' ? '1px solid #eee' : 0,
@@ -4666,7 +4692,7 @@
4666
4692
  // </div>
4667
4693
  // );
4668
4694
  // };
4669
- var productinfo_cssstyles = {
4695
+ var productinfo_cssstyles = _defineProperty__default["default"]({
4670
4696
  containerstyles: glamor.css({
4671
4697
  marginTop: sectionproperties.marginTop + 'px',
4672
4698
  '@media (max-width: 800px)': {
@@ -4856,6 +4882,7 @@
4856
4882
  marginBottom: sectionproperties.marginBottom + 'px'
4857
4883
  }),
4858
4884
  wishlist_btn: glamor.css({
4885
+ // marginTop: sectionproperties.favbtnmargintop + 'px',
4859
4886
  width: sectionproperties.favBtnWidth + 'px',
4860
4887
  height: sectionproperties.favBtnHeight + 'px',
4861
4888
  background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
@@ -4873,7 +4900,11 @@
4873
4900
  color: sectionproperties.favBtnTextcoloronhover,
4874
4901
  borderColor: sectionproperties.favBtnTextcoloronhover
4875
4902
  }
4903
+ // '@media (max-width: 800px)': {
4904
+ // marginTop: sectionproperties.favbtnmargintopresp + 'px',
4905
+ // },
4876
4906
  }),
4907
+
4877
4908
  productname: glamor.css({
4878
4909
  fontSize: sectionproperties.prodNameFontSize + 'px',
4879
4910
  textTransform: sectionproperties.prodNameTextTranform,
@@ -4979,7 +5010,12 @@
4979
5010
  background: sectionproperties.storeinfobtnbgcoloronhover
4980
5011
  }
4981
5012
  })
4982
- };
5013
+ }, "storeinfocontainer", glamor.css({
5014
+ marginTop: sectionproperties.storeinfomarginvertical + 'px',
5015
+ '@media (max-width: 800px)': {
5016
+ marginTop: sectionproperties.storeinfomarginverticalresp + 'px'
5017
+ }
5018
+ }));
4983
5019
  var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
4984
5020
  var _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32;
4985
5021
  var price = 0;
@@ -15508,7 +15544,7 @@
15508
15544
  }
15509
15545
  })));
15510
15546
  }
15511
- }), authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
15547
+ }), authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
15512
15548
  className: "row m-0 w-100"
15513
15549
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15514
15550
  className: "col-lg-12 d-flex justify-content-start",
@@ -15524,7 +15560,7 @@
15524
15560
  style: {
15525
15561
  borderColor: sectionproperties.resp_header_separatorbg
15526
15562
  }
15527
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
15563
+ }))), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
15528
15564
  className: "row m-0 w-100"
15529
15565
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15530
15566
  className: "col-lg-12 d-flex justify-content-start",
@@ -15540,7 +15576,7 @@
15540
15576
  style: {
15541
15577
  borderColor: sectionproperties.resp_header_separatorbg
15542
15578
  }
15543
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
15579
+ }))), templateproperties_context.showpolicies == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
15544
15580
  className: "row m-0 w-100"
15545
15581
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15546
15582
  className: "col-lg-12 d-flex justify-content-start",
@@ -30401,7 +30437,7 @@
30401
30437
  function ownKeys$1w(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
30402
30438
  function _objectSpread$1w(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1w(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1w(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
30403
30439
  var TwoTieredHeader = function TwoTieredHeader(props) {
30404
- var _css, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$c5, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12;
30440
+ var _css, _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i3, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$c5, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12;
30405
30441
  var lang = props.actions.lang;
30406
30442
  var langdetect = props.actions.langdetect;
30407
30443
  var setlang = props.actions.setlang;
@@ -30735,7 +30771,28 @@
30735
30771
  marginTop: sectionproperties.header_marginTop + 'px',
30736
30772
  marginBottom: sectionproperties.header_marginBottom + 'px'
30737
30773
  }
30738
- }, /*#__PURE__*/React__default["default"].createElement("div", {
30774
+ }, sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
30775
+ href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber),
30776
+ target: '_blank',
30777
+ style: {
30778
+ position: 'fixed',
30779
+ bottom: 10,
30780
+ right: 10,
30781
+ zIndex: 999999,
30782
+ transition: 'all 0.3s ease-out'
30783
+ }
30784
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
30785
+ src: 'https://tabex-co.com/storage/StaticImages/whatsapp.png',
30786
+ style: {
30787
+ width: '40px',
30788
+ height: '40px',
30789
+ cursor: 'pointer'
30790
+ }
30791
+ })), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
30792
+ sectionpropertiesprops: sectionproperties,
30793
+ templateproperties_contextprops: templateproperties_context,
30794
+ actions: actions
30795
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
30739
30796
  "class": "".concat(header_cssstyles.header_outercontainer) + ' d-flex d-md-none row ml-0 mr-0 '
30740
30797
  }, /*#__PURE__*/React__default["default"].createElement("div", {
30741
30798
  "class": "".concat(headerstyles$4.upperheadersection, " ").concat(header_cssstyles.upperheadersection) + ' row m-0 w-100 d-flex align-items-center plr-1025-1 ',
@@ -30743,7 +30800,7 @@
30743
30800
  zIndex: 201
30744
30801
  }
30745
30802
  }, /*#__PURE__*/React__default["default"].createElement("div", {
30746
- "class": "col-lg-2 p-0 d-flex align-items-center justify-content-start"
30803
+ "class": sectionproperties.centeredpartitions == 'Yes' ? 'col-lg-3 p-0 d-flex align-items-center justify-content-start' : 'col-lg-2 p-0 d-flex align-items-center justify-content-start'
30747
30804
  }, /*#__PURE__*/React__default["default"].createElement("div", {
30748
30805
  "class": "".concat(header_cssstyles.header_logo) + ' d-flex align-items-center justify-content-center ',
30749
30806
  style: {
@@ -30761,13 +30818,13 @@
30761
30818
  maxHeight: '100%'
30762
30819
  }
30763
30820
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
30764
- "class": "col-xl-7 col-lg-6 p-0 d-flex align-items-center justify-content-center"
30821
+ "class": sectionproperties.centeredpartitions == 'Yes' ? 'col-xl-6 col-lg-6 p-0 d-flex align-items-center justify-content-center' : 'col-xl-7 col-lg-6 p-0 d-flex align-items-center justify-content-center'
30765
30822
  }, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
30766
30823
  "class": ' row d-flex justify-content-center m-0 ',
30767
30824
  style: {
30768
30825
  width: sectionproperties.searchbarcont_width + '%'
30769
30826
  }
30770
- }, /*#__PURE__*/React__default["default"].createElement("div", {
30827
+ }, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
30771
30828
  "class": 'col-xl-3 col-lg-4 p-0 d-flex align-items-center justify-content-start ',
30772
30829
  onClick: function onClick() {
30773
30830
  setdropdownselect(!dropdownselect);
@@ -30801,7 +30858,7 @@
30801
30858
  minWidth: '250px',
30802
30859
  marginLeft: '0px'
30803
30860
  }
30804
- }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : (_authdetailsContext$i2 = _authdetailsContext$i.instcollections) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.map(function (item, index) {
30861
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : (_authdetailsContext$i3 = _authdetailsContext$i2.instcollections) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
30805
30862
  return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
30806
30863
  onClick: function onClick() {
30807
30864
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
@@ -30814,7 +30871,7 @@
30814
30871
  "class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem text-overflow m-0 p-0 '
30815
30872
  }, langdetect == 'en' ? item.title_en : item.title_ar)))), index != authdetailsContext.instinfo.instcollections.length - 1 && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null));
30816
30873
  }))))), /*#__PURE__*/React__default["default"].createElement("div", {
30817
- "class": "col-xl-9 col-lg-8 p-0 d-flex justify-content-start align-items-center"
30874
+ "class": sectionproperties.generalbtn_show == 'Show' ? 'col-xl-9 col-lg-8 p-0 d-flex justify-content-start align-items-center' : 'col-xl-12 col-lg-12 p-0 d-flex justify-content-start align-items-center'
30818
30875
  }, /*#__PURE__*/React__default["default"].createElement("div", {
30819
30876
  "class": header_cssstyles.searchbarcont + ' p-0 m-0 w-100 ',
30820
30877
  style: {
@@ -30822,14 +30879,17 @@
30822
30879
  }
30823
30880
  }, /*#__PURE__*/React__default["default"].createElement("input", {
30824
30881
  type: "text",
30825
- placeholder: lang.searchproducts,
30826
- "class": "".concat(header_cssstyles.searchbarcont_input) + ' p-1 ',
30882
+ placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
30883
+ "class": "".concat(header_cssstyles.searchbarcont_input),
30827
30884
  onChange: function onChange(event) {
30828
30885
  setSearchHeaderInputContext(event.target.value);
30886
+ },
30887
+ style: {
30888
+ paddingLeft: sectionproperties.searchbarcont_paddingLeft + 'px'
30829
30889
  }
30830
30890
  }), /*#__PURE__*/React__default["default"].createElement("div", {
30831
30891
  "class": "".concat(header_cssstyles.searchbar_icon_cont) + ' d-flex align-items-center justify-content-center m-0 p-0 '
30832
- }, /*#__PURE__*/React__default["default"].createElement(BsSearch.BsSearch, {
30892
+ }, /*#__PURE__*/React__default["default"].createElement(BiSearch.BiSearch, {
30833
30893
  color: sectionproperties.searchbaricon_color,
30834
30894
  size: sectionproperties.searchbaricon_fontsize,
30835
30895
  style: {
@@ -30840,7 +30900,7 @@
30840
30900
  srcfromprops: 'headerfullwidth',
30841
30901
  actions: actions
30842
30902
  }))))), /*#__PURE__*/React__default["default"].createElement("div", {
30843
- "class": sectionproperties.btnsposition == 'Top' ? 'col-xl-3 col-lg-4 plr-1025-0' : 'col-xl-3 col-lg-4 plr-1025-1',
30903
+ "class": sectionproperties.centeredpartitions == 'Yes' ? 'col-xl-3 col-lg-3 plr-1025-0' : sectionproperties.btnsposition == 'Top' ? 'col-xl-3 col-lg-4 plr-1025-0' : 'col-xl-3 col-lg-4 plr-1025-1',
30844
30904
  style: {
30845
30905
  paddingLeft: langdetect == 'en' ? sectionproperties.btnsposition == 'Top' ? authdetailsContext.loggedin == true ? 0 : '2rem' : '3rem' : 0,
30846
30906
  paddingRight: langdetect == 'ar' ? sectionproperties.btnsposition == 'Top' ? authdetailsContext.loggedin == true ? 0 : '2rem' : '3rem' : 0
@@ -30882,7 +30942,7 @@
30882
30942
  letterSpacing: '2px'
30883
30943
  },
30884
30944
  "class": ' p-0 m-0 '
30885
- }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)))), sectionproperties.btnsposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
30945
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)))), sectionproperties.btnsposition == 'Top' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
30886
30946
  "class": "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center cursor-pointer ',
30887
30947
  onClick: function onClick() {
30888
30948
  routingcountext(StaticPagesLinksContext.Wishlist);
@@ -30924,7 +30984,7 @@
30924
30984
  size: sectionproperties.cartBtn_iconFontSize
30925
30985
  }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
30926
30986
  size: sectionproperties.cartBtn_iconFontSize
30927
- })), /*#__PURE__*/React__default["default"].createElement("div", {
30987
+ })), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
30928
30988
  "class": langdetect == 'en' ? 'headerdropdownml dropdown-toggle_w100' : 'headerdropdownmr dropdown-toggle_w100',
30929
30989
  style: {
30930
30990
  width: authdetailsContext.loggedin == true ? 'auto' : langdetect == 'en' ? '105px' : '120px',
@@ -31191,7 +31251,7 @@
31191
31251
  paddingRightprops: '35px',
31192
31252
  subheadercontentpositionprops: 'start'
31193
31253
  }
31194
- })), sectionproperties.btnsposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
31254
+ })), sectionproperties.btnsposition == 'Bottom' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
31195
31255
  "class": "col-lg-3 d-flex align-items-center justify-content-end"
31196
31256
  }, /*#__PURE__*/React__default["default"].createElement("div", {
31197
31257
  "class": "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center cursor-pointer ',
@@ -36256,6 +36316,7 @@
36256
36316
  var authdetailsContext = props.actions.authdetailsContext;
36257
36317
  var templatepropcontext = props.actions.templatepropcontext;
36258
36318
  props.actions.ikimagecredcontext;
36319
+ var templateproperties_context = props.actions.templateproperties_context;
36259
36320
  React.useEffect(function () {
36260
36321
  var secpropobj = {};
36261
36322
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -36401,7 +36462,7 @@
36401
36462
  }
36402
36463
  }, langdetect == 'en' ? item.pagename : item.pagename_ar)));
36403
36464
  }
36404
- }), /*#__PURE__*/React__default["default"].createElement("div", {
36465
+ }), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
36405
36466
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
36406
36467
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36407
36468
  onClick: function onClick() {
@@ -36412,7 +36473,7 @@
36412
36473
  style: {
36413
36474
  textAlign: langdetect == 'en' ? 'left' : 'right'
36414
36475
  }
36415
- }, lang.wishlist))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
36476
+ }, lang.wishlist))), authdetailsContext.loggedin && templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
36416
36477
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
36417
36478
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36418
36479
  onClick: function onClick() {
@@ -36423,7 +36484,7 @@
36423
36484
  style: {
36424
36485
  textAlign: langdetect == 'en' ? 'left' : 'right'
36425
36486
  }
36426
- }, lang.orderhistory))), /*#__PURE__*/React__default["default"].createElement("div", {
36487
+ }, lang.orderhistory))), templateproperties_context.showpolicies == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
36427
36488
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
36428
36489
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36429
36490
  onClick: function onClick() {
@@ -42344,6 +42405,40 @@
42344
42405
  borderBottomWidth: sectionproperties.inputfieldborderWidth + 'px',
42345
42406
  borderBottomColor: sectionproperties.inputfieldborderColor,
42346
42407
  width: '100%'
42408
+ }),
42409
+ imgcontainer: glamor.css({
42410
+ position: 'absolute',
42411
+ top: 0,
42412
+ bottom: 0,
42413
+ right: 0,
42414
+ left: 0,
42415
+ zIndex: 1,
42416
+ ':before': {
42417
+ width: '100%',
42418
+ height: '100%',
42419
+ background: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')',
42420
+ zIndex: 1,
42421
+ position: 'absolute',
42422
+ content: 's',
42423
+ fontSize: 0,
42424
+ left: 0,
42425
+ right: 0,
42426
+ top: 0,
42427
+ bottom: 0
42428
+ }
42429
+ }),
42430
+ container: glamor.css({
42431
+ backgroundSize: sectionproperties.bgcovercontain,
42432
+ width: '100%',
42433
+ height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'vh',
42434
+ marginTop: sectionproperties.marginTop + 'px',
42435
+ marginBottom: sectionproperties.marginBottom + 'px',
42436
+ position: 'relative',
42437
+ marginLeft: sectionproperties.card_marginLeft + 'px',
42438
+ marginRight: sectionproperties.card_marginRight + 'px',
42439
+ '@media (max-width: 800px)': {
42440
+ height: sectionproperties.height_responsive + 'vh'
42441
+ }
42347
42442
  })
42348
42443
  };
42349
42444
  var countries = [{
@@ -42370,27 +42465,23 @@
42370
42465
  label: 'Alabama'
42371
42466
  }];
42372
42467
  return /*#__PURE__*/React__default["default"].createElement("div", {
42373
- "class": "allcentered h-sm-auto",
42468
+ "class": sectionstyles.container + ' allcentered mx-md-0 '
42469
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
42470
+ "class": sectionstyles.imgcontainer,
42374
42471
  style: {
42375
- // background: `linearGradient(0deg, rgba(255, 0, 150, 0.3), rgba(255, 0, 150, 0.3))`,
42376
- // backgroundImage: imagesarray.length != 0 ? 'url(' + serverbaselink + imagesarray[0].bgsection_image + ')' : '',
42377
- backgroundSize: sectionproperties.bgcovercontain,
42378
42472
  width: '100%',
42379
- height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'vh',
42380
- marginTop: sectionproperties.marginTop + 'px',
42381
- marginBottom: sectionproperties.marginBottom + 'px',
42382
- position: 'relative'
42473
+ height: 'auto'
42383
42474
  }
42384
42475
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
42385
42476
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
42386
42477
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
42387
- path: imagesarray.length != 0 ? langdetect == 'en' ? imagesarray[0].bgsection_image : imagesarray[0].bgsection_image_ar : '',
42478
+ path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + imagesarray[0].bgsection_image : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + imagesarray[0].bgsection_image_ar : '',
42388
42479
  style: {
42389
42480
  width: '100%',
42390
42481
  height: '100%',
42391
- objectFit: sectionproperties.bgcovercontain
42482
+ objectFit: 'cover'
42392
42483
  }
42393
- }), sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
42484
+ })), sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
42394
42485
  "class": "row m-0 w-100 justify-content-center mt-sm-5 mb-sm-5"
42395
42486
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42396
42487
  "class": "col-lg-6 col-md-9 col-sm-9 p-0 mt-auto mb-auto text-align-start"
@@ -42489,11 +42580,7 @@
42489
42580
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), sectionproperties.cardstyletype == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
42490
42581
  "class": "row m-0 w-100 allcentered",
42491
42582
  style: {
42492
- position: 'absolute',
42493
- top: 0,
42494
- bottom: 0,
42495
- right: 0,
42496
- left: 0
42583
+ zIndex: 2
42497
42584
  }
42498
42585
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42499
42586
  "class": "row m-0 w-100 allcentered"
@@ -42519,7 +42606,7 @@
42519
42606
  maxWidth: '500px'
42520
42607
  }
42521
42608
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
42522
- "class": "col-lg-10 col-md-12 col-sm-12 allcentered mt-3",
42609
+ "class": "col-lg-9 col-md-10 col-sm-10 allcentered mt-3",
42523
42610
  style: {
42524
42611
  backgroundColor: sectionproperties.reservation_bgcolor,
42525
42612
  borderRadius: sectionproperties.reservation_borderradius + 'px',
@@ -42535,33 +42622,33 @@
42535
42622
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42536
42623
  "class": "row m-0 w-100 allcentered"
42537
42624
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42538
- className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 '
42625
+ className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-sm-3 '
42539
42626
  }, /*#__PURE__*/React__default["default"].createElement("label", {
42540
42627
  className: "".concat(sectionstyles.input_label_name) + ' mb-2 '
42541
42628
  }, lang.country), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
42542
42629
  options: countries,
42543
42630
  styles: langdetect == 'en' ? defaultstylestransparent : defaultstylestranslatedtransparent
42544
42631
  })), /*#__PURE__*/React__default["default"].createElement("div", {
42545
- className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 '
42632
+ className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-sm-3 '
42546
42633
  }, /*#__PURE__*/React__default["default"].createElement("label", {
42547
42634
  className: "".concat(sectionstyles.input_label_name) + ' mb-2 '
42548
- }, langdetect == 'en' ? 'State' : 'الولاية'), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
42635
+ }, langdetect == 'en' ? 'State/Gov' : 'الولاية/المحافظة'), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
42549
42636
  options: states,
42550
42637
  styles: langdetect == 'en' ? defaultstylestransparent : defaultstylestranslatedtransparent
42551
42638
  })), /*#__PURE__*/React__default["default"].createElement("div", {
42552
- className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 '
42639
+ className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-sm-3 '
42553
42640
  }, /*#__PURE__*/React__default["default"].createElement("label", {
42554
42641
  className: "".concat(sectionstyles.input_label_name) + ' mb-2 '
42555
42642
  }, langdetect == 'en' ? 'City' : 'المدينة'), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
42556
42643
  options: states,
42557
42644
  styles: langdetect == 'en' ? defaultstylestransparent : defaultstylestranslatedtransparent
42558
42645
  })), /*#__PURE__*/React__default["default"].createElement("div", {
42559
- className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 '
42646
+ className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-sm-3 '
42560
42647
  }, /*#__PURE__*/React__default["default"].createElement("label", {
42561
- className: "".concat(sectionstyles.input_label_name) + ' mb-2 '
42562
- }, langdetect == 'en' ? 'To' : 'إلى'), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("input", {
42648
+ className: "".concat(sectionstyles.input_label_name) + ' mb-3 '
42649
+ }, langdetect == 'en' ? 'Price' : 'السعر'), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("input", {
42563
42650
  className: "".concat(sectionstyles.dateInput),
42564
- type: "date"
42651
+ type: "number"
42565
42652
  }))))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42566
42653
  "class": "col-lg-12 p-0 allcentered mt-3"
42567
42654
  }, /*#__PURE__*/React__default["default"].createElement("button", {
@@ -43927,7 +44014,7 @@
43927
44014
  }
43928
44015
  }, Object.keys(videosarrayofobjs).length != 0 && videosarrayofobjs.map(function (item, index) {
43929
44016
  return /*#__PURE__*/React__default["default"].createElement("div", {
43930
- className: 'd-flex align-items-stretch col-md-6 col-sm-12 col-lg-' + item.numberofcols,
44017
+ className: 'd-flex align-items-stretch col-md-12 col-sm-12 col-lg-' + item.numberofcols,
43931
44018
  style: {
43932
44019
  marginBottom: sectionproperties.image_mb + 'px',
43933
44020
  padding: item.numberofcols == '12' ? 0 : ''
@@ -45177,7 +45264,10 @@
45177
45264
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))));
45178
45265
  };
45179
45266
  return /*#__PURE__*/React__default["default"].createElement("div", {
45180
- "class": "w-100 allcentered"
45267
+ "class": "w-100 allcentered",
45268
+ style: {
45269
+ background: sectionproperties.outerbgcolor
45270
+ }
45181
45271
  }, /*#__PURE__*/React__default["default"].createElement("div", {
45182
45272
  "class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-flex d-md-none justify-content-center align-items-center ',
45183
45273
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.320",
3
+ "version": "0.0.322",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {