tabexseriescomponents 0.0.320 → 0.0.321

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -2211,7 +2211,7 @@ var Product_itemtype = function Product_itemtype(props) {
2211
2211
  }
2212
2212
  }, /*#__PURE__*/React__default["default"].createElement("span", {
2213
2213
  className: "ml-1 mr-1"
2214
- }, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity))), sectionproperties.btnposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
2214
+ }, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity))), sectionproperties.btnposition == 'Top' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2215
2215
  className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 ',
2216
2216
  onClick: function onClick() {
2217
2217
  addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
@@ -2472,7 +2472,7 @@ var Product_itemtype = function Product_itemtype(props) {
2472
2472
  width: "20px",
2473
2473
  height: "20px",
2474
2474
  duration: "1s"
2475
- }))), sectionproperties.btnposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
2475
+ }))), sectionproperties.btnposition == 'Bottom' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2476
2476
  className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 ',
2477
2477
  onClick: function onClick() {
2478
2478
  addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
@@ -2500,7 +2500,17 @@ var Product_itemtype = function Product_itemtype(props) {
2500
2500
  size: sectionproperties.favBtnIconfontsize
2501
2501
  }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
2502
2502
  size: sectionproperties.favBtnIconfontsize
2503
- }))))), 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", {
2503
+ }))), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
2504
+ "class": "m-0 p-0",
2505
+ style: {
2506
+ fontSize: sectionproperties.favBtnTextfontsize + 'px'
2507
+ }
2508
+ }, langdetect == 'en' ? sectionproperties.favbtncontent_en : sectionproperties.favbtncontent_ar), fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
2509
+ "class": "m-0 p-0",
2510
+ style: {
2511
+ fontSize: sectionproperties.favBtnTextfontsize + 'px'
2512
+ }
2513
+ }, 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", {
2504
2514
  "class": "row m-0 w-100 mt-3",
2505
2515
  style: {
2506
2516
  overflow: 'hidden'
@@ -2546,7 +2556,7 @@ var Product_itemtype = function Product_itemtype(props) {
2546
2556
  width: "20px",
2547
2557
  height: "20px",
2548
2558
  duration: "1s"
2549
- }))), sectionproperties.btnposition == 'Besides Cart Button' && /*#__PURE__*/React__default["default"].createElement("div", {
2559
+ }))), sectionproperties.btnposition == 'Besides Cart Button' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2550
2560
  className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',
2551
2561
  onClick: function onClick() {
2552
2562
  addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
@@ -2646,7 +2656,23 @@ var Product_itemtype = function Product_itemtype(props) {
2646
2656
  }
2647
2657
  })), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
2648
2658
  "class": "col-lg-12 mt-2 p-0"
2649
- }, ShareButtonsContainer()))))), /*#__PURE__*/React__default["default"].createElement("div", {
2659
+ }, ShareButtonsContainer()), sectionproperties.storeinfoposition == 'Below Information' && /*#__PURE__*/React__default["default"].createElement("div", {
2660
+ className: productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 ',
2661
+ style: {}
2662
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2663
+ "class": "row m-0 w-100",
2664
+ style: {
2665
+ paddingLeft: langdetect == 'en' ? '.5em' : 0,
2666
+ paddingRight: langdetect == 'ar' ? '.5rem' : 0
2667
+ }
2668
+ }, StoreInfoprops(), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
2669
+ "class": productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 ',
2670
+ style: {}
2671
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
2672
+ "class": "my-3"
2673
+ })), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
2674
+ "class": "col-lg-12 p-0 allcentered mt-2"
2675
+ }, ShareButtonsContainer()))))))), sectionproperties.storeinfoposition == 'On The Right' && /*#__PURE__*/React__default["default"].createElement("div", {
2650
2676
  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',
2651
2677
  style: {
2652
2678
  borderLeft: langdetect == 'en' ? '1px solid #eee' : 0,
@@ -4822,7 +4848,7 @@ var Productinfo = function Productinfo(props) {
4822
4848
  // </div>
4823
4849
  // );
4824
4850
  // };
4825
- var productinfo_cssstyles = {
4851
+ var productinfo_cssstyles = _defineProperty__default["default"]({
4826
4852
  containerstyles: glamor.css({
4827
4853
  marginTop: sectionproperties.marginTop + 'px',
4828
4854
  '@media (max-width: 800px)': {
@@ -5012,6 +5038,7 @@ var Productinfo = function Productinfo(props) {
5012
5038
  marginBottom: sectionproperties.marginBottom + 'px'
5013
5039
  }),
5014
5040
  wishlist_btn: glamor.css({
5041
+ // marginTop: sectionproperties.favbtnmargintop + 'px',
5015
5042
  width: sectionproperties.favBtnWidth + 'px',
5016
5043
  height: sectionproperties.favBtnHeight + 'px',
5017
5044
  background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
@@ -5029,7 +5056,11 @@ var Productinfo = function Productinfo(props) {
5029
5056
  color: sectionproperties.favBtnTextcoloronhover,
5030
5057
  borderColor: sectionproperties.favBtnTextcoloronhover
5031
5058
  }
5059
+ // '@media (max-width: 800px)': {
5060
+ // marginTop: sectionproperties.favbtnmargintopresp + 'px',
5061
+ // },
5032
5062
  }),
5063
+
5033
5064
  productname: glamor.css({
5034
5065
  fontSize: sectionproperties.prodNameFontSize + 'px',
5035
5066
  textTransform: sectionproperties.prodNameTextTranform,
@@ -5135,7 +5166,12 @@ var Productinfo = function Productinfo(props) {
5135
5166
  background: sectionproperties.storeinfobtnbgcoloronhover
5136
5167
  }
5137
5168
  })
5138
- };
5169
+ }, "storeinfocontainer", glamor.css({
5170
+ marginTop: sectionproperties.storeinfomarginvertical + 'px',
5171
+ '@media (max-width: 800px)': {
5172
+ marginTop: sectionproperties.storeinfomarginverticalresp + 'px'
5173
+ }
5174
+ }));
5139
5175
  var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
5140
5176
  var _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32;
5141
5177
  var price = 0;
@@ -15664,7 +15700,7 @@ var Headerresponsive = function Headerresponsive(props) {
15664
15700
  }
15665
15701
  })));
15666
15702
  }
15667
- }), authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
15703
+ }), authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
15668
15704
  className: "row m-0 w-100"
15669
15705
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15670
15706
  className: "col-lg-12 d-flex justify-content-start",
@@ -15680,7 +15716,7 @@ var Headerresponsive = function Headerresponsive(props) {
15680
15716
  style: {
15681
15717
  borderColor: sectionproperties.resp_header_separatorbg
15682
15718
  }
15683
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
15719
+ }))), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
15684
15720
  className: "row m-0 w-100"
15685
15721
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15686
15722
  className: "col-lg-12 d-flex justify-content-start",
@@ -15696,7 +15732,7 @@ var Headerresponsive = function Headerresponsive(props) {
15696
15732
  style: {
15697
15733
  borderColor: sectionproperties.resp_header_separatorbg
15698
15734
  }
15699
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
15735
+ }))), templateproperties_context.showpolicies == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
15700
15736
  className: "row m-0 w-100"
15701
15737
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15702
15738
  className: "col-lg-12 d-flex justify-content-start",
@@ -30557,7 +30593,7 @@ var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
30557
30593
  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; }
30558
30594
  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; }
30559
30595
  var TwoTieredHeader = function TwoTieredHeader(props) {
30560
- 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;
30596
+ 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;
30561
30597
  var lang = props.actions.lang;
30562
30598
  var langdetect = props.actions.langdetect;
30563
30599
  var setlang = props.actions.setlang;
@@ -30891,7 +30927,28 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
30891
30927
  marginTop: sectionproperties.header_marginTop + 'px',
30892
30928
  marginBottom: sectionproperties.header_marginBottom + 'px'
30893
30929
  }
30894
- }, /*#__PURE__*/React__default["default"].createElement("div", {
30930
+ }, sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
30931
+ 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),
30932
+ target: '_blank',
30933
+ style: {
30934
+ position: 'fixed',
30935
+ bottom: 10,
30936
+ right: 10,
30937
+ zIndex: 999999,
30938
+ transition: 'all 0.3s ease-out'
30939
+ }
30940
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
30941
+ src: 'https://tabex-co.com/storage/StaticImages/whatsapp.png',
30942
+ style: {
30943
+ width: '40px',
30944
+ height: '40px',
30945
+ cursor: 'pointer'
30946
+ }
30947
+ })), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
30948
+ sectionpropertiesprops: sectionproperties,
30949
+ templateproperties_contextprops: templateproperties_context,
30950
+ actions: actions
30951
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
30895
30952
  "class": "".concat(header_cssstyles.header_outercontainer) + ' d-flex d-md-none row ml-0 mr-0 '
30896
30953
  }, /*#__PURE__*/React__default["default"].createElement("div", {
30897
30954
  "class": "".concat(headerstyles$4.upperheadersection, " ").concat(header_cssstyles.upperheadersection) + ' row m-0 w-100 d-flex align-items-center plr-1025-1 ',
@@ -30899,7 +30956,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
30899
30956
  zIndex: 201
30900
30957
  }
30901
30958
  }, /*#__PURE__*/React__default["default"].createElement("div", {
30902
- "class": "col-lg-2 p-0 d-flex align-items-center justify-content-start"
30959
+ "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'
30903
30960
  }, /*#__PURE__*/React__default["default"].createElement("div", {
30904
30961
  "class": "".concat(header_cssstyles.header_logo) + ' d-flex align-items-center justify-content-center ',
30905
30962
  style: {
@@ -30917,13 +30974,13 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
30917
30974
  maxHeight: '100%'
30918
30975
  }
30919
30976
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
30920
- "class": "col-xl-7 col-lg-6 p-0 d-flex align-items-center justify-content-center"
30977
+ "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'
30921
30978
  }, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
30922
30979
  "class": ' row d-flex justify-content-center m-0 ',
30923
30980
  style: {
30924
30981
  width: sectionproperties.searchbarcont_width + '%'
30925
30982
  }
30926
- }, /*#__PURE__*/React__default["default"].createElement("div", {
30983
+ }, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
30927
30984
  "class": 'col-xl-3 col-lg-4 p-0 d-flex align-items-center justify-content-start ',
30928
30985
  onClick: function onClick() {
30929
30986
  setdropdownselect(!dropdownselect);
@@ -30957,7 +31014,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
30957
31014
  minWidth: '250px',
30958
31015
  marginLeft: '0px'
30959
31016
  }
30960
- }, 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) {
31017
+ }, 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) {
30961
31018
  return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
30962
31019
  onClick: function onClick() {
30963
31020
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
@@ -30970,7 +31027,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
30970
31027
  "class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem text-overflow m-0 p-0 '
30971
31028
  }, langdetect == 'en' ? item.title_en : item.title_ar)))), index != authdetailsContext.instinfo.instcollections.length - 1 && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null));
30972
31029
  }))))), /*#__PURE__*/React__default["default"].createElement("div", {
30973
- "class": "col-xl-9 col-lg-8 p-0 d-flex justify-content-start align-items-center"
31030
+ "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'
30974
31031
  }, /*#__PURE__*/React__default["default"].createElement("div", {
30975
31032
  "class": header_cssstyles.searchbarcont + ' p-0 m-0 w-100 ',
30976
31033
  style: {
@@ -30978,14 +31035,17 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
30978
31035
  }
30979
31036
  }, /*#__PURE__*/React__default["default"].createElement("input", {
30980
31037
  type: "text",
30981
- placeholder: lang.searchproducts,
30982
- "class": "".concat(header_cssstyles.searchbarcont_input) + ' p-1 ',
31038
+ placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
31039
+ "class": "".concat(header_cssstyles.searchbarcont_input),
30983
31040
  onChange: function onChange(event) {
30984
31041
  setSearchHeaderInputContext(event.target.value);
31042
+ },
31043
+ style: {
31044
+ paddingLeft: sectionproperties.searchbarcont_paddingLeft + 'px'
30985
31045
  }
30986
31046
  }), /*#__PURE__*/React__default["default"].createElement("div", {
30987
31047
  "class": "".concat(header_cssstyles.searchbar_icon_cont) + ' d-flex align-items-center justify-content-center m-0 p-0 '
30988
- }, /*#__PURE__*/React__default["default"].createElement(BsSearch.BsSearch, {
31048
+ }, /*#__PURE__*/React__default["default"].createElement(BiSearch.BiSearch, {
30989
31049
  color: sectionproperties.searchbaricon_color,
30990
31050
  size: sectionproperties.searchbaricon_fontsize,
30991
31051
  style: {
@@ -30996,7 +31056,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
30996
31056
  srcfromprops: 'headerfullwidth',
30997
31057
  actions: actions
30998
31058
  }))))), /*#__PURE__*/React__default["default"].createElement("div", {
30999
- "class": sectionproperties.btnsposition == 'Top' ? 'col-xl-3 col-lg-4 plr-1025-0' : 'col-xl-3 col-lg-4 plr-1025-1',
31059
+ "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',
31000
31060
  style: {
31001
31061
  paddingLeft: langdetect == 'en' ? sectionproperties.btnsposition == 'Top' ? authdetailsContext.loggedin == true ? 0 : '2rem' : '3rem' : 0,
31002
31062
  paddingRight: langdetect == 'ar' ? sectionproperties.btnsposition == 'Top' ? authdetailsContext.loggedin == true ? 0 : '2rem' : '3rem' : 0
@@ -31038,7 +31098,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
31038
31098
  letterSpacing: '2px'
31039
31099
  },
31040
31100
  "class": ' p-0 m-0 '
31041
- }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)))), sectionproperties.btnsposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
31101
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)))), sectionproperties.btnsposition == 'Top' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
31042
31102
  "class": "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center cursor-pointer ',
31043
31103
  onClick: function onClick() {
31044
31104
  routingcountext(StaticPagesLinksContext.Wishlist);
@@ -31080,7 +31140,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
31080
31140
  size: sectionproperties.cartBtn_iconFontSize
31081
31141
  }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
31082
31142
  size: sectionproperties.cartBtn_iconFontSize
31083
- })), /*#__PURE__*/React__default["default"].createElement("div", {
31143
+ })), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
31084
31144
  "class": langdetect == 'en' ? 'headerdropdownml dropdown-toggle_w100' : 'headerdropdownmr dropdown-toggle_w100',
31085
31145
  style: {
31086
31146
  width: authdetailsContext.loggedin == true ? 'auto' : langdetect == 'en' ? '105px' : '120px',
@@ -31347,7 +31407,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
31347
31407
  paddingRightprops: '35px',
31348
31408
  subheadercontentpositionprops: 'start'
31349
31409
  }
31350
- })), sectionproperties.btnsposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
31410
+ })), sectionproperties.btnsposition == 'Bottom' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
31351
31411
  "class": "col-lg-3 d-flex align-items-center justify-content-end"
31352
31412
  }, /*#__PURE__*/React__default["default"].createElement("div", {
31353
31413
  "class": "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center cursor-pointer ',
@@ -36412,6 +36472,7 @@ var ModernFooter = function ModernFooter(props) {
36412
36472
  var authdetailsContext = props.actions.authdetailsContext;
36413
36473
  var templatepropcontext = props.actions.templatepropcontext;
36414
36474
  props.actions.ikimagecredcontext;
36475
+ var templateproperties_context = props.actions.templateproperties_context;
36415
36476
  React.useEffect(function () {
36416
36477
  var secpropobj = {};
36417
36478
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -36557,7 +36618,7 @@ var ModernFooter = function ModernFooter(props) {
36557
36618
  }
36558
36619
  }, langdetect == 'en' ? item.pagename : item.pagename_ar)));
36559
36620
  }
36560
- }), /*#__PURE__*/React__default["default"].createElement("div", {
36621
+ }), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
36561
36622
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
36562
36623
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36563
36624
  onClick: function onClick() {
@@ -36568,7 +36629,7 @@ var ModernFooter = function ModernFooter(props) {
36568
36629
  style: {
36569
36630
  textAlign: langdetect == 'en' ? 'left' : 'right'
36570
36631
  }
36571
- }, lang.wishlist))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
36632
+ }, lang.wishlist))), authdetailsContext.loggedin && templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
36572
36633
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
36573
36634
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36574
36635
  onClick: function onClick() {
@@ -36579,7 +36640,7 @@ var ModernFooter = function ModernFooter(props) {
36579
36640
  style: {
36580
36641
  textAlign: langdetect == 'en' ? 'left' : 'right'
36581
36642
  }
36582
- }, lang.orderhistory))), /*#__PURE__*/React__default["default"].createElement("div", {
36643
+ }, lang.orderhistory))), templateproperties_context.showpolicies == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
36583
36644
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
36584
36645
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36585
36646
  onClick: function onClick() {
@@ -42500,6 +42561,40 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
42500
42561
  borderBottomWidth: sectionproperties.inputfieldborderWidth + 'px',
42501
42562
  borderBottomColor: sectionproperties.inputfieldborderColor,
42502
42563
  width: '100%'
42564
+ }),
42565
+ imgcontainer: glamor.css({
42566
+ position: 'absolute',
42567
+ top: 0,
42568
+ bottom: 0,
42569
+ right: 0,
42570
+ left: 0,
42571
+ zIndex: 1,
42572
+ ':before': {
42573
+ width: '100%',
42574
+ height: '100%',
42575
+ background: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')',
42576
+ zIndex: 1,
42577
+ position: 'absolute',
42578
+ content: 's',
42579
+ fontSize: 0,
42580
+ left: 0,
42581
+ right: 0,
42582
+ top: 0,
42583
+ bottom: 0
42584
+ }
42585
+ }),
42586
+ container: glamor.css({
42587
+ backgroundSize: sectionproperties.bgcovercontain,
42588
+ width: '100%',
42589
+ height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'vh',
42590
+ marginTop: sectionproperties.marginTop + 'px',
42591
+ marginBottom: sectionproperties.marginBottom + 'px',
42592
+ position: 'relative',
42593
+ marginLeft: sectionproperties.card_marginLeft + 'px',
42594
+ marginRight: sectionproperties.card_marginRight + 'px',
42595
+ '@media (max-width: 800px)': {
42596
+ height: sectionproperties.height_responsive + 'vh'
42597
+ }
42503
42598
  })
42504
42599
  };
42505
42600
  var countries = [{
@@ -42526,27 +42621,23 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
42526
42621
  label: 'Alabama'
42527
42622
  }];
42528
42623
  return /*#__PURE__*/React__default["default"].createElement("div", {
42529
- "class": "allcentered h-sm-auto",
42624
+ "class": sectionstyles.container + ' allcentered mx-md-0 '
42625
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
42626
+ "class": sectionstyles.imgcontainer,
42530
42627
  style: {
42531
- // background: `linearGradient(0deg, rgba(255, 0, 150, 0.3), rgba(255, 0, 150, 0.3))`,
42532
- // backgroundImage: imagesarray.length != 0 ? 'url(' + serverbaselink + imagesarray[0].bgsection_image + ')' : '',
42533
- backgroundSize: sectionproperties.bgcovercontain,
42534
42628
  width: '100%',
42535
- height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'vh',
42536
- marginTop: sectionproperties.marginTop + 'px',
42537
- marginBottom: sectionproperties.marginBottom + 'px',
42538
- position: 'relative'
42629
+ height: 'auto'
42539
42630
  }
42540
42631
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
42541
42632
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
42542
42633
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
42543
- path: imagesarray.length != 0 ? langdetect == 'en' ? imagesarray[0].bgsection_image : imagesarray[0].bgsection_image_ar : '',
42634
+ 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 : '',
42544
42635
  style: {
42545
42636
  width: '100%',
42546
42637
  height: '100%',
42547
- objectFit: sectionproperties.bgcovercontain
42638
+ objectFit: 'cover'
42548
42639
  }
42549
- }), sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
42640
+ })), sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
42550
42641
  "class": "row m-0 w-100 justify-content-center mt-sm-5 mb-sm-5"
42551
42642
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42552
42643
  "class": "col-lg-6 col-md-9 col-sm-9 p-0 mt-auto mb-auto text-align-start"
@@ -42645,11 +42736,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
42645
42736
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), sectionproperties.cardstyletype == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
42646
42737
  "class": "row m-0 w-100 allcentered",
42647
42738
  style: {
42648
- position: 'absolute',
42649
- top: 0,
42650
- bottom: 0,
42651
- right: 0,
42652
- left: 0
42739
+ zIndex: 2
42653
42740
  }
42654
42741
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42655
42742
  "class": "row m-0 w-100 allcentered"
@@ -42675,7 +42762,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
42675
42762
  maxWidth: '500px'
42676
42763
  }
42677
42764
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
42678
- "class": "col-lg-10 col-md-12 col-sm-12 allcentered mt-3",
42765
+ "class": "col-lg-9 col-md-10 col-sm-10 allcentered mt-3",
42679
42766
  style: {
42680
42767
  backgroundColor: sectionproperties.reservation_bgcolor,
42681
42768
  borderRadius: sectionproperties.reservation_borderradius + 'px',
@@ -42691,33 +42778,33 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
42691
42778
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42692
42779
  "class": "row m-0 w-100 allcentered"
42693
42780
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42694
- className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 '
42781
+ className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-sm-3 '
42695
42782
  }, /*#__PURE__*/React__default["default"].createElement("label", {
42696
42783
  className: "".concat(sectionstyles.input_label_name) + ' mb-2 '
42697
42784
  }, lang.country), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
42698
42785
  options: countries,
42699
42786
  styles: langdetect == 'en' ? defaultstylestransparent : defaultstylestranslatedtransparent
42700
42787
  })), /*#__PURE__*/React__default["default"].createElement("div", {
42701
- className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 '
42788
+ className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-sm-3 '
42702
42789
  }, /*#__PURE__*/React__default["default"].createElement("label", {
42703
42790
  className: "".concat(sectionstyles.input_label_name) + ' mb-2 '
42704
- }, langdetect == 'en' ? 'State' : 'الولاية'), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
42791
+ }, langdetect == 'en' ? 'State/Gov' : 'الولاية/المحافظة'), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
42705
42792
  options: states,
42706
42793
  styles: langdetect == 'en' ? defaultstylestransparent : defaultstylestranslatedtransparent
42707
42794
  })), /*#__PURE__*/React__default["default"].createElement("div", {
42708
- className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 '
42795
+ className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-sm-3 '
42709
42796
  }, /*#__PURE__*/React__default["default"].createElement("label", {
42710
42797
  className: "".concat(sectionstyles.input_label_name) + ' mb-2 '
42711
42798
  }, langdetect == 'en' ? 'City' : 'المدينة'), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
42712
42799
  options: states,
42713
42800
  styles: langdetect == 'en' ? defaultstylestransparent : defaultstylestranslatedtransparent
42714
42801
  })), /*#__PURE__*/React__default["default"].createElement("div", {
42715
- className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 '
42802
+ className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-sm-3 '
42716
42803
  }, /*#__PURE__*/React__default["default"].createElement("label", {
42717
- className: "".concat(sectionstyles.input_label_name) + ' mb-2 '
42718
- }, langdetect == 'en' ? 'To' : 'إلى'), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("input", {
42804
+ className: "".concat(sectionstyles.input_label_name) + ' mb-3 '
42805
+ }, langdetect == 'en' ? 'Price' : 'السعر'), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("input", {
42719
42806
  className: "".concat(sectionstyles.dateInput),
42720
- type: "date"
42807
+ type: "number"
42721
42808
  }))))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42722
42809
  "class": "col-lg-12 p-0 allcentered mt-3"
42723
42810
  }, /*#__PURE__*/React__default["default"].createElement("button", {
@@ -45333,7 +45420,10 @@ var Freetextsection = function Freetextsection(props) {
45333
45420
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))));
45334
45421
  };
45335
45422
  return /*#__PURE__*/React__default["default"].createElement("div", {
45336
- "class": "w-100 allcentered"
45423
+ "class": "w-100 allcentered",
45424
+ style: {
45425
+ background: sectionproperties.outerbgcolor
45426
+ }
45337
45427
  }, /*#__PURE__*/React__default["default"].createElement("div", {
45338
45428
  "class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-flex d-md-none justify-content-center align-items-center ',
45339
45429
  style: {