tabexseriescomponents 0.0.448 → 0.0.450

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
@@ -60,10 +60,8 @@ var HiOutlineChevronRight = require('@react-icons/all-files/hi/HiOutlineChevronR
60
60
  var HiOutlineChevronLeft = require('@react-icons/all-files/hi/HiOutlineChevronLeft');
61
61
  var GoGlobe = require('@react-icons/all-files/go/GoGlobe');
62
62
  var VscGlobe = require('@react-icons/all-files/vsc/VscGlobe');
63
- var HiOutlineTrash = require('@react-icons/all-files/hi/HiOutlineTrash');
64
- var BiSad = require('@react-icons/all-files/bi/BiSad');
65
- var FiCalendar = require('@react-icons/all-files/fi/FiCalendar');
66
63
  var Dropdown = require('react-bootstrap/Dropdown');
64
+ var FiCalendar = require('@react-icons/all-files/fi/FiCalendar');
67
65
  var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
68
66
  var _regeneratorRuntime = require('@babel/runtime/regenerator');
69
67
  var HiUser = require('@react-icons/all-files/hi/HiUser');
@@ -7948,7 +7946,7 @@ var Ordershistory = function Ordershistory(props) {
7948
7946
  }, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))))))))))))));
7949
7947
  };
7950
7948
 
7951
- var css_248z$H = ".wishlist-module_wishlist_card__sUXul .wishlist-module_image_container__FuptA {\n height: 300px;\n border-radius: 10px;\n background-size: cover !important;\n background-repeat: no-repeat;\n background-position: center;\n background-color: #e6e6e6;\n width: 100% !important;\n box-shadow: 0 0 10px #e6e6e6;\n}\n.wishlist-module_floatbtn__PZDvQ {\n position: absolute;\n top: 10px;\n right: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: 0.3s;\n opacity: 0;\n}\n.wishlist-module_wishlist_card__sUXul:hover .wishlist-module_floatbtn__PZDvQ {\n opacity: 1;\n}\n@media screen and (max-width: 800px) {\n .wishlist-module_floatbtn__PZDvQ {\n opacity: 1 !important;\n }\n}\n";
7949
+ var css_248z$H = ".wishlist-module_wishlist_card__sUXul .wishlist-module_image_container__FuptA {\n /* height: 300px; */\n border-radius: 10px;\n background-size: cover !important;\n background-repeat: no-repeat;\n background-position: center;\n background-color: #e6e6e6;\n width: 100% !important;\n /* box-shadow: 0 0 10px #e6e6e6; */\n}\n.wishlist-module_floatbtn__PZDvQ {\n position: absolute;\n top: 10px;\n right: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: 0.3s;\n /* opacity: 0; */\n}\n.wishlist-module_wishlist_card__sUXul:hover .wishlist-module_floatbtn__PZDvQ {\n opacity: 1;\n}\n@media screen and (max-width: 800px) {\n .wishlist-module_floatbtn__PZDvQ {\n opacity: 1 !important;\n }\n}\n";
7952
7950
  var wishliststyles = {"wishlist_card":"wishlist-module_wishlist_card__sUXul","image_container":"wishlist-module_image_container__FuptA","floatbtn":"wishlist-module_floatbtn__PZDvQ"};
7953
7951
  styleInject(css_248z$H);
7954
7952
 
@@ -7956,14 +7954,16 @@ function ownKeys$2l(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySym
7956
7954
  function _objectSpread$2l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2l(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7957
7955
  var Wishlist = function Wishlist(props) {
7958
7956
  var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
7959
- var lang = props.actions.lang;
7957
+ props.actions.lang;
7960
7958
  var langdetect = props.actions.langdetect;
7959
+ var routingcountext = props.actions.routingcountext;
7961
7960
  var fetchFavoriteProductsQueryContext = props.actions.fetchFavoriteProductsQueryContext;
7962
7961
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
7963
7962
  var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
7964
7963
  var addtofavoritescontext = props.actions.addtofavoritescontext;
7965
7964
  var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
7966
7965
  var ikimagecredcontext = props.actions.ikimagecredcontext;
7966
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
7967
7967
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
7968
7968
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
7969
7969
  var actions = props.actions;
@@ -7975,6 +7975,7 @@ var Wishlist = function Wishlist(props) {
7975
7975
  _useState4 = _slicedToArray__default["default"](_useState3, 2),
7976
7976
  bgimagesarray = _useState4[0],
7977
7977
  setbgimagesarray = _useState4[1];
7978
+ var authdetailsContext = props.actions.authdetailsContext;
7978
7979
  React.useEffect(function () {
7979
7980
  if (Object.keys(StatePagePropertiesContext).length != 0) {
7980
7981
  var secpropobj = {};
@@ -8027,22 +8028,23 @@ var Wishlist = function Wishlist(props) {
8027
8028
  cart_btn: glamor.css({
8028
8029
  width: sectionproperties.cartBtnWidth + 'px',
8029
8030
  height: sectionproperties.cartBtnHeight + 'px',
8030
- background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
8031
+ background: sectionproperties.cartBtnbgColor,
8031
8032
  borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
8032
8033
  color: sectionproperties.cartBtnTextcolor,
8033
8034
  textTransform: sectionproperties.cartBtnTexttransform,
8034
8035
  fontWeight: sectionproperties.cartBtnTextfontweight,
8035
8036
  border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
8037
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
8036
8038
  transition: '.3s',
8037
8039
  ':hover': {
8038
- background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
8040
+ background: sectionproperties.cartBtnbgColoronhover,
8039
8041
  color: sectionproperties.cartBtnTextcoloronhover,
8040
8042
  borderColor: sectionproperties.cartBtnTextcoloronhover
8041
8043
  }
8042
8044
  }),
8043
8045
  trash_btn: glamor.css({
8044
- width: sectionproperties.trashbtn_Width + 'px',
8045
- height: sectionproperties.trashbtn_Height + 'px',
8046
+ width: sectionproperties.trashbtn_Width == 0 ? 'auto' : sectionproperties.trashbtn_Width + 'px',
8047
+ height: sectionproperties.trashbtn_Height == 0 ? 'auto' : sectionproperties.trashbtn_Height + 'px',
8046
8048
  background: sectionproperties.trashbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.trashbtn_bgColor,
8047
8049
  color: sectionproperties.trashbtn_Textcolor,
8048
8050
  borderRadius: sectionproperties.trashbtn_borderBottomLeftRadius + 'px',
@@ -8054,20 +8056,13 @@ var Wishlist = function Wishlist(props) {
8054
8056
  }
8055
8057
  }),
8056
8058
  imagecont: glamor.css({
8057
- width: '70px',
8058
- height: '60px',
8059
- border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
8059
+ width: '100px',
8060
+ height: '90px',
8060
8061
  backgroundColor: sectionproperties.prodimage_bgcolor,
8061
- borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
8062
- borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
8063
- borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
8064
- borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
8062
+ borderRadius: sectionproperties.productimageborderradius + 'px',
8065
8063
  display: 'flex',
8066
8064
  alignItems: 'center',
8067
8065
  justifyContent: 'center',
8068
- backgroundRepeat: 'no-repeat',
8069
- backgroundSize: 'cover',
8070
- backgroundPosition: 'center',
8071
8066
  position: 'relative'
8072
8067
  }),
8073
8068
  containerstyle: glamor.css({
@@ -8077,6 +8072,26 @@ var Wishlist = function Wishlist(props) {
8077
8072
  '@media (max-width: 800px)': {
8078
8073
  marginTop: sectionproperties.marginTopResp + 'px'
8079
8074
  }
8075
+ }),
8076
+ btnstyles: glamor.css({
8077
+ width: sectionproperties.generalbtn_width + '%',
8078
+ height: sectionproperties.generalbtn_height + 'px',
8079
+ borderRadius: sectionproperties.generalbtnborderradius + 'px',
8080
+ background: sectionproperties.generalbtn_bgColor,
8081
+ color: sectionproperties.generalbtn_textColor,
8082
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
8083
+ fontWeight: sectionproperties.generalbtn_fontweight,
8084
+ ':hover': {
8085
+ transition: '.3s',
8086
+ color: sectionproperties.generalbtn_textColoronhover,
8087
+ backgroundColor: sectionproperties.generalbtn_bgColoronhover
8088
+ },
8089
+ '@media (max-width: 800px)': {
8090
+ width: '80%'
8091
+ },
8092
+ prodimage: glamor.css({
8093
+ height: sectionproperties.prodimage_height
8094
+ })
8080
8095
  })
8081
8096
  };
8082
8097
  React.useEffect(function () {
@@ -8091,7 +8106,9 @@ var Wishlist = function Wishlist(props) {
8091
8106
  }, [sectionproperties]);
8092
8107
  return /*#__PURE__*/React__default["default"].createElement("div", {
8093
8108
  className: wishlist_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 ',
8094
- style: {}
8109
+ style: {
8110
+ minHeight: '60vh'
8111
+ }
8095
8112
  }, sectionproperties.showbgimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
8096
8113
  className: "col-lg-12 p-0 d-flex justify-content-center",
8097
8114
  style: {
@@ -8127,10 +8144,7 @@ var Wishlist = function Wishlist(props) {
8127
8144
  margin: 0,
8128
8145
  padding: 0,
8129
8146
  background: sectionproperties.image_bgcolor,
8130
- borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
8131
- borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
8132
- borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
8133
- borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
8147
+ borderRadius: sectionproperties.imageborderradius + 'px',
8134
8148
  zIndex: -1,
8135
8149
  objectFit: sectionproperties.bgcovercontain
8136
8150
  }
@@ -8146,45 +8160,19 @@ var Wishlist = function Wishlist(props) {
8146
8160
  padding: 0,
8147
8161
  objectFit: sectionproperties.bgcovercontainresponsive,
8148
8162
  background: sectionproperties.image_bgcolor,
8149
- borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
8150
- borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
8151
- borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
8152
- borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
8163
+ borderRadius: sectionproperties.imageborderradius + 'px',
8153
8164
  zIndex: -1
8154
8165
  }
8155
- }), /*#__PURE__*/React__default["default"].createElement("div", {
8156
- className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
8157
- style: {
8158
- position: 'absolute',
8159
- top: 0,
8160
- right: 0,
8161
- bottom: 0,
8162
- left: 0
8163
- }
8164
- }, /*#__PURE__*/React__default["default"].createElement("p", {
8165
- className: ' m-0 p-0 ',
8166
- style: {
8167
- fontSize: sectionproperties.imagetextfontsize + 'px',
8168
- color: sectionproperties.imagetextcolor,
8169
- textTransform: sectionproperties.imagetexttextTransform,
8170
- fontWeight: sectionproperties.imagetextfontWeight
8171
- }
8172
- }, lang.mywishlist)))), /*#__PURE__*/React__default["default"].createElement("div", {
8166
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
8173
8167
  className: "col-lg-12 p-0"
8174
8168
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8175
8169
  className: 'row ml-0 mr-0 d-flex justify-content-center w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
8176
8170
  style: {
8177
- width: sectionproperties.width + 'vw',
8178
- paddingLeft: sectionproperties.paddingLeft + 'px',
8179
- paddingRight: sectionproperties.paddingRight + 'px',
8171
+ paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
8172
+ paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
8180
8173
  paddingTop: sectionproperties.paddingTop + 'px',
8181
8174
  paddingBottom: sectionproperties.paddingBottom + 'px',
8182
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
8183
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
8184
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
8185
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
8186
- borderColor: sectionproperties.sectioncardbordercolor,
8187
- border: sectionproperties.sectioncardborderwidth + 'px solid'
8175
+ borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
8188
8176
  }
8189
8177
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8190
8178
  className: 'col-lg-12 p-0'
@@ -8194,42 +8182,137 @@ var Wishlist = function Wishlist(props) {
8194
8182
  })), /*#__PURE__*/React__default["default"].createElement("div", {
8195
8183
  className: 'col-lg-12 p-0'
8196
8184
  }, fetchFavoriteProductsQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
8197
- className: "w-100 d-flex align-items-center justify-content-center",
8185
+ className: "row m-0 w-100 align-items-center justify-content-center",
8186
+ style: {
8187
+ height: '50vh',
8188
+ padding: '20px'
8189
+ }
8190
+ }, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
8191
+ className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
8192
+ style: {
8193
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
8194
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
8195
+ }
8196
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
8197
+ "class": "m-0 p-0 mt-5 mt-sm-2",
8198
+ style: {
8199
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
8200
+ color: sectionproperties.sectionTitleColor,
8201
+ fontWeight: sectionproperties.sectionTitleFontWeight
8202
+ }
8203
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
8204
+ "class": "col-lg-12 p-0 d-flex d-md-none"
8205
+ }, /*#__PURE__*/React__default["default"].createElement("table", {
8206
+ className: 'table'
8207
+ }, /*#__PURE__*/React__default["default"].createElement("thead", {
8208
+ className: ""
8209
+ }, /*#__PURE__*/React__default["default"].createElement("th", {
8210
+ className: 'mw-150 mw-md-300'
8211
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
8212
+ "class": "my-1 is-loading"
8213
+ })), /*#__PURE__*/React__default["default"].createElement("th", {
8214
+ className: "text-center",
8215
+ style: {
8216
+ minWidth: '100px'
8217
+ }
8218
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
8219
+ "class": "my-1 is-loading"
8220
+ })), /*#__PURE__*/React__default["default"].createElement("th", {
8221
+ className: "text-center"
8222
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
8223
+ "class": "my-1 is-loading"
8224
+ }))), /*#__PURE__*/React__default["default"].createElement("tbody", null, _toConsumableArray__default["default"](Array(3)).map(function (item, index) {
8225
+ return /*#__PURE__*/React__default["default"].createElement("tr", {
8226
+ className: ""
8227
+ }, /*#__PURE__*/React__default["default"].createElement("td", {
8228
+ className: "mw-150 mw-md-300"
8229
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
8230
+ "class": "my-1 is-loading"
8231
+ })), /*#__PURE__*/React__default["default"].createElement("td", {
8232
+ className: "text-center",
8233
+ style: {
8234
+ minWidth: '100px'
8235
+ }
8236
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
8237
+ "class": "my-1 is-loading"
8238
+ })), /*#__PURE__*/React__default["default"].createElement("td", {
8239
+ className: "text-center",
8240
+ style: {
8241
+ minWidth: '100px'
8242
+ }
8243
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
8244
+ "class": "my-1 is-loading"
8245
+ })));
8246
+ })))), /*#__PURE__*/React__default["default"].createElement("div", {
8247
+ "class": "col-lg-12 p-0 d-none d-md-flex"
8248
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8249
+ className: "row m-0 w-100 align-items-center justify-content-center",
8198
8250
  style: {
8199
8251
  height: '50vh'
8200
8252
  }
8201
- }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.Messaging, {
8202
- color: "#ccc",
8203
- width: "10px",
8204
- height: "10px",
8205
- duration: "1s"
8206
- })), !fetchFavoriteProductsQueryContext.isFetching && fetchFavoriteProductsQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
8207
- className: "row ml-0 mr-0 w-100 "
8253
+ }, _toConsumableArray__default["default"](Array(3)).map(function (item, index) {
8254
+ return /*#__PURE__*/React__default["default"].createElement("div", {
8255
+ "class": "col-lg-12 p-0"
8256
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8257
+ "class": "row m-0 w-100"
8258
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8259
+ className: ' col-3 p-0 '
8260
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8261
+ className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 is-loading image '
8262
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
8263
+ className: "col-9 pt-2"
8264
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8265
+ "class": "row m-0 w-100 d-flex"
8266
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8267
+ "class": "col-10 p-0 mb-1"
8268
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
8269
+ className: ' m-0 p-0 is-loading mb-auto '
8270
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
8271
+ "class": "col-lg-12 p-0"
8272
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
8273
+ "class": ' m-0 p-0 is-loading '
8274
+ })))), /*#__PURE__*/React__default["default"].createElement("div", {
8275
+ "class": "col-lg-12 allcentered p-0 mt-4"
8276
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
8277
+ className: ' w-100 is-loading ',
8278
+ style: {
8279
+ height: sectionproperties.cartBtnHeight + 'px'
8280
+ }
8281
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
8282
+ "class": "col-lg-12 p-0 my-3",
8283
+ style: {
8284
+ background: '#eee',
8285
+ height: 1,
8286
+ width: '100%'
8287
+ }
8288
+ })));
8289
+ })))), !fetchFavoriteProductsQueryContext.isFetching && fetchFavoriteProductsQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
8290
+ className: "row m-0 w-100 "
8208
8291
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8209
8292
  className: 'col-lg-12 d-flex w-100 p-0'
8210
- }, sectionproperties.pagedesign == 'Design 1 (Cards)' && /*#__PURE__*/React__default["default"].createElement("div", {
8293
+ }, sectionproperties.pagedesign == 'Design 1 (Cards)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
8211
8294
  className: 'row m-0 d-flex justify-content-center w-100',
8212
8295
  style: {
8213
8296
  background: sectionproperties.reservation_bgcolor,
8214
- border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor,
8215
8297
  borderRadius: sectionproperties.reservation_borderradius + 'px',
8216
8298
  padding: '20px',
8217
8299
  minHeight: '70vh'
8218
8300
  }
8219
8301
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8220
- className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0",
8221
- style: {
8222
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
8223
- }
8224
- }, /*#__PURE__*/React__default["default"].createElement("span", {
8302
+ className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 mb-3",
8225
8303
  style: {
8226
8304
  fontSize: sectionproperties.sectionTitleFontSize + 'px',
8227
8305
  color: sectionproperties.sectionTitleColor,
8228
8306
  fontWeight: sectionproperties.sectionTitleFontWeight
8229
8307
  }
8230
- }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar, ":"), /*#__PURE__*/React__default["default"].createElement("span", {
8231
- className: " ".concat(wishlist_cssstyles.pill) + ' ml-1 mr-1 d-flex align-items-center justify-content-center '
8232
- }, fetchFavoriteProductsQueryContext.data.data.products.length)), /*#__PURE__*/React__default["default"].createElement("div", {
8308
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), /*#__PURE__*/React__default["default"].createElement("div", {
8309
+ className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0",
8310
+ style: {
8311
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
8312
+ color: sectionproperties.badge_color,
8313
+ fontSize: sectionproperties.badge_fontsize + 'px'
8314
+ }
8315
+ }, fetchFavoriteProductsQueryContext.data.data.products.length, " Item(s)"), /*#__PURE__*/React__default["default"].createElement("div", {
8233
8316
  className: ' col-lg-12 co-md-12 p-0 '
8234
8317
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8235
8318
  className: "row m-0 w-100"
@@ -8237,170 +8320,298 @@ var Wishlist = function Wishlist(props) {
8237
8320
  return /*#__PURE__*/React__default["default"].createElement("div", {
8238
8321
  className: "col-lg-3 col-md-6 col-sm-12 mb-5"
8239
8322
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8240
- className: "".concat(wishliststyles.wishlist_card) + ' row m-0 w-100 '
8323
+ className: "".concat(wishliststyles.wishlist_card) + ' row m-0 w-100 ',
8324
+ onClick: function onClick() {
8325
+ setShowProductInfoModalContext(true);
8326
+ setProductIdProdutInfoModalContext(item.productid);
8327
+ }
8241
8328
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8242
8329
  className: "col-lg-12 d-flex align-items-center justify-content-center p-0"
8243
8330
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8244
- className: "".concat(wishliststyles.image_container)
8331
+ className: "".concat(wishliststyles.image_container).concat(wishlist_cssstyles.prodimage)
8245
8332
  // style={{ backgroundImage: `url(${serverbaselink + item.productmainimage})` }}
8246
8333
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
8247
8334
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
8248
8335
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
8249
- path: item.productmainimage,
8336
+ path: '/tr:w-' + sectionproperties.prodimage__width + ',h-' + sectionproperties.prodimage__height + '/' + item.productmainimage,
8250
8337
  style: {
8251
8338
  width: '100%',
8252
8339
  height: '100%',
8253
- objectFit: 'cover'
8340
+ objectFit: 'contain'
8254
8341
  },
8255
8342
  loading: "lazy"
8256
8343
  }), /*#__PURE__*/React__default["default"].createElement("span", {
8257
8344
  className: "".concat(wishliststyles.floatbtn, " ").concat(wishlist_cssstyles.trash_btn),
8258
- onClick: function onClick() {
8345
+ onClick: function onClick(e) {
8346
+ e.stopPropagation();
8259
8347
  addtofavoritescontext(item.productid);
8260
8348
  }
8261
- }, /*#__PURE__*/React__default["default"].createElement(HiOutlineTrash.HiOutlineTrash, {
8349
+ }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
8262
8350
  size: sectionproperties.trashbtn_Textfontsize
8263
8351
  })))), /*#__PURE__*/React__default["default"].createElement("div", {
8264
8352
  className: "col-lg-12 d-flex align-items-center justify-content-center mt-3 mb-3"
8265
8353
  }, /*#__PURE__*/React__default["default"].createElement("p", {
8266
8354
  className: "".concat(wishlist_cssstyles.productNameStyles) + ' wordbreak text-center m-0 p-0 d-flex align-items-center justify-content-center '
8267
- }, langdetect == 'en' ? item.name_en : item.name_ar)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
8355
+ }, langdetect == 'en' ? item.name_en : item.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
8356
+ className: "col-lg-12 d-flex align-items-center justify-content-center mt-3 mb-3 flex-row"
8357
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
8358
+ "class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
8359
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
8360
+ "class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mt-2 '
8361
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : '')), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
8268
8362
  className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
8269
8363
  }, /*#__PURE__*/React__default["default"].createElement("button", {
8270
8364
  className: " ".concat(wishlist_cssstyles.cart_btn),
8271
- onClick: function onClick() {
8272
- setShowProductInfoModalContext(true);
8273
- setProductIdProdutInfoModalContext(item.productid);
8274
- },
8275
8365
  style: {
8276
- fontSize: sectionproperties.cartBtnTextfontsize + 'px'
8366
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
8367
+ width: sectionproperties.cartBtnWidth + '%'
8277
8368
  }
8278
8369
  }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
8279
- })), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
8280
- className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100",
8370
+ })))), sectionproperties.pagedesign == 'Design 2 (Table)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
8371
+ className: ' row m-0 w-100 p-sm-3 ',
8281
8372
  style: {
8282
- height: '50vh'
8373
+ padding: '20px',
8374
+ minHeight: '70vh'
8283
8375
  }
8284
8376
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8285
- className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
8286
- }, /*#__PURE__*/React__default["default"].createElement(BiSad.BiSad, {
8287
- size: sectionproperties.noprod_iconfontSize,
8288
- color: sectionproperties.noprod_iconcolor
8289
- }), /*#__PURE__*/React__default["default"].createElement("p", {
8290
- "class": "m-0 p-0 mt-2",
8377
+ className: ' row m-0 w-100 d-block '
8378
+ }, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
8379
+ className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
8291
8380
  style: {
8292
- fontWeight: sectionproperties.noprod_fontWeight,
8293
- color: sectionproperties.noprod_color,
8294
- fontSize: sectionproperties.noprod_fontSize + 'px'
8381
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
8382
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
8295
8383
  }
8296
- }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))))), sectionproperties.pagedesign == 'Design 2 (Table)' && /*#__PURE__*/React__default["default"].createElement("div", {
8297
- className: ' row m-0 w-100 p-sm-3 ',
8384
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
8385
+ "class": "m-0 p-0 mt-5 mt-sm-2",
8298
8386
  style: {
8299
- background: sectionproperties.reservation_bgcolor,
8300
- border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor,
8301
- borderRadius: sectionproperties.reservation_borderradius + 'px',
8302
- padding: '20px',
8303
- minHeight: '70vh'
8387
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
8388
+ color: sectionproperties.sectionTitleColor,
8389
+ fontWeight: sectionproperties.sectionTitleFontWeight
8304
8390
  }
8305
- }, /*#__PURE__*/React__default["default"].createElement("div", {
8306
- className: ' col-lg-12 table_responsive p-0 '
8391
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
8392
+ className: ' col-lg-12 table_responsive p-0 d-block d-md-none '
8307
8393
  }, /*#__PURE__*/React__default["default"].createElement("table", {
8308
- className: 'table table_thbg'
8394
+ className: 'table'
8309
8395
  }, /*#__PURE__*/React__default["default"].createElement("thead", {
8310
- className: "",
8396
+ className: ""
8397
+ }, /*#__PURE__*/React__default["default"].createElement("th", {
8398
+ className: langdetect == 'en' ? 'text-left font-weight-500 font-14 mw-150 mw-md-300' : 'text-right font-weight-500 font-14 mw-150 mw-md-300',
8311
8399
  style: {
8312
- background: '#eee'
8400
+ color: sectionproperties.sectionTitleColor,
8401
+ borderBottomColor: sectionproperties.sectioncardbordercolor
8313
8402
  }
8314
- }, /*#__PURE__*/React__default["default"].createElement("th", {
8315
- className: langdetect == 'en' ? 'text-left font-weight-500 font-14 text-light mw-150 mw-md-300' : 'text-right font-weight-500 font-14 text-light mw-150 mw-md-300'
8316
- }, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
8317
- className: "text-center font-weight-500 font-14 text-light",
8403
+ }, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
8404
+ className: "text-center font-weight-500 font-14",
8318
8405
  style: {
8319
- minWidth: '100px'
8406
+ minWidth: '100px',
8407
+ color: sectionproperties.sectionTitleColor,
8408
+ borderBottomColor: sectionproperties.sectioncardbordercolor
8320
8409
  }
8321
- }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), /*#__PURE__*/React__default["default"].createElement("th", {
8322
- className: "text-center font-weight-500 font-14 text-light"
8323
- }, lang.remove)), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
8410
+ }, langdetect == 'en' ? 'Unit Price' : 'السعر'), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
8411
+ className: "text-center font-weight-500 font-14",
8412
+ style: {
8413
+ minWidth: '100px',
8414
+ color: sectionproperties.sectionTitleColor,
8415
+ borderBottomColor: sectionproperties.sectioncardbordercolor
8416
+ }
8417
+ }), /*#__PURE__*/React__default["default"].createElement("th", {
8418
+ className: "text-center font-weight-500 font-14",
8419
+ style: {
8420
+ color: sectionproperties.sectionTitleColor,
8421
+ borderBottomColor: sectionproperties.sectioncardbordercolor
8422
+ }
8423
+ })), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
8324
8424
  return /*#__PURE__*/React__default["default"].createElement("tr", {
8325
8425
  className: "border-none"
8326
8426
  }, /*#__PURE__*/React__default["default"].createElement("td", {
8327
- className: "mw-150 mw-md-300"
8427
+ className: "mw-150 mw-md-300",
8428
+ style: {
8429
+ borderBottomColor: sectionproperties.sectioncardbordercolor
8430
+ }
8328
8431
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8329
8432
  className: "row m-0 w-100 d-flex"
8330
8433
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8331
8434
  className: "".concat(wishlist_cssstyles.imagecont)
8332
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
8435
+ }, item.productmainimage != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
8333
8436
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
8334
8437
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
8335
8438
  path: item.productmainimage,
8336
8439
  style: {
8337
8440
  width: '100%',
8338
8441
  height: '100%',
8339
- objectFit: 'cover'
8442
+ objectFit: 'contain'
8340
8443
  },
8341
8444
  loading: "lazy"
8342
- })), /*#__PURE__*/React__default["default"].createElement("div", {
8343
- className: "col-lg-9 col-md-9 col-sm-8"
8445
+ }), item.productmainimage == '' && /*#__PURE__*/React__default["default"].createElement("div", {
8446
+ style: {
8447
+ width: '100%',
8448
+ height: '100%',
8449
+ background: '#eee',
8450
+ borderRadius: 10
8451
+ }
8452
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
8453
+ "class": "h-100 allcentered text-light"
8454
+ }, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
8455
+ size: 26
8456
+ })))), /*#__PURE__*/React__default["default"].createElement("div", {
8457
+ className: "col-lg-9 col-md-9 col-sm-8 pt-2"
8344
8458
  }, /*#__PURE__*/React__default["default"].createElement("p", {
8345
- className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 d-flex justify-content-start mb-auto '
8346
- }, item.name_en)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("td", {
8459
+ className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
8460
+ style: {
8461
+ textAlign: langdetect == 'en' ? 'left' : 'right'
8462
+ }
8463
+ }, item.name_en)))), sectionproperties.prodPriceShow = /*#__PURE__*/React__default["default"].createElement("td", {
8347
8464
  className: "text-center",
8348
8465
  style: {
8349
- minWidth: '100px'
8466
+ minWidth: '100px',
8467
+ borderBottomColor: sectionproperties.sectioncardbordercolor
8468
+ }
8469
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8470
+ "class": "row m-0 w-100 allcentered flex-column"
8471
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
8472
+ "class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
8473
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
8474
+ "class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mt-2 '
8475
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("td", {
8476
+ className: "text-center",
8477
+ style: {
8478
+ minWidth: '100px',
8479
+ borderBottomColor: sectionproperties.sectioncardbordercolor
8480
+ }
8481
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
8482
+ className: "".concat(wishlist_cssstyles.cart_btn),
8483
+ onClick: function onClick() {
8484
+ setShowProductInfoModalContext(true);
8485
+ setProductIdProdutInfoModalContext(item.productid);
8486
+ }
8487
+ }, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React__default["default"].createElement("td", {
8488
+ className: "text-center",
8489
+ style: {
8490
+ borderBottomColor: sectionproperties.sectioncardbordercolor
8491
+ }
8492
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
8493
+ className: " ".concat(wishlist_cssstyles.trash_btn) + ' d-flex align-items-center justify-content-center text-uppercase font-weight-500 m-auto ',
8494
+ onClick: function onClick() {
8495
+ addtofavoritescontext(item.productid);
8496
+ },
8497
+ style: {
8498
+ fontSize: sectionproperties.trashbtn_Textfontsize + 'px'
8499
+ }
8500
+ }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
8501
+ size: sectionproperties.trashbtn_Textfontsize
8502
+ }))));
8503
+ })))), /*#__PURE__*/React__default["default"].createElement("div", {
8504
+ className: ' col-lg-12 p-0 d-none d-md-flex align-items-center justify-content-start '
8505
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8506
+ className: ' row m-0 w-100 d-flex align-items-center justify-content-start '
8507
+ }, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
8508
+ return /*#__PURE__*/React__default["default"].createElement("div", {
8509
+ "class": "col-lg-12 p-0"
8510
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8511
+ "class": "row m-0 w-100"
8512
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8513
+ className: ' col-3 p-0 '
8514
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8515
+ className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 '
8516
+ }, item.productmainimage != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
8517
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
8518
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
8519
+ path: item.productmainimage,
8520
+ style: {
8521
+ width: '100%',
8522
+ height: '100%',
8523
+ objectFit: 'contain'
8524
+ },
8525
+ loading: "lazy"
8526
+ }), item.productmainimage == '' && /*#__PURE__*/React__default["default"].createElement("div", {
8527
+ style: {
8528
+ width: '100%',
8529
+ height: '100%',
8530
+ background: '#eee',
8531
+ borderRadius: 10
8532
+ }
8533
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
8534
+ "class": "h-100 allcentered text-light"
8535
+ }, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
8536
+ size: 26
8537
+ }))))), /*#__PURE__*/React__default["default"].createElement("div", {
8538
+ className: "col-9 pt-2"
8539
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8540
+ "class": "row m-0 w-100 d-flex"
8541
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8542
+ "class": "col-10 p-0 d-flex align-items-center justify-content-start"
8543
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
8544
+ className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
8545
+ style: {
8546
+ textAlign: langdetect == 'en' ? 'left' : 'right'
8350
8547
  }
8548
+ }, item.name_en)), /*#__PURE__*/React__default["default"].createElement("div", {
8549
+ "class": "col-2 p-0 d-flex align-items-center justify-content-end"
8351
8550
  }, /*#__PURE__*/React__default["default"].createElement("button", {
8352
- className: "".concat(wishlist_cssstyles.cart_btn),
8551
+ className: " ".concat(wishlist_cssstyles.trash_btnresp) + ' allcentered ',
8353
8552
  onClick: function onClick() {
8354
- setShowProductInfoModalContext(true);
8355
- setProductIdProdutInfoModalContext(item.productid);
8553
+ addtofavoritescontext(item.productid);
8356
8554
  }
8357
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
8358
- className: "",
8359
- size: sectionproperties.cartBtn_iconFontSize
8360
- }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
8361
- className: "",
8362
- size: sectionproperties.cartBtn_iconFontSize
8363
- }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
8364
- className: "",
8365
- size: sectionproperties.cartBtn_iconFontSize
8366
- }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
8367
- className: "",
8368
- size: sectionproperties.cartBtn_iconFontSize
8369
- }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
8370
- className: "",
8371
- size: sectionproperties.cartBtn_iconFontSize
8372
- }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
8373
- className: "",
8374
- size: sectionproperties.cartBtn_iconFontSize
8375
- }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
8376
- className: "",
8377
- size: sectionproperties.cartBtn_iconFontSize
8378
- }))), /*#__PURE__*/React__default["default"].createElement("td", {
8379
- className: "text-center"
8555
+ }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
8556
+ size: sectionproperties.trashbtn_Textfontsize
8557
+ }))), sectionproperties.prodPriceShow = /*#__PURE__*/React__default["default"].createElement("div", {
8558
+ "class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
8559
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
8560
+ "class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
8561
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
8562
+ "class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mx-2 mt-auto '
8563
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : '')))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
8564
+ "class": "col-lg-12 allcentered p-0 mt-4"
8380
8565
  }, /*#__PURE__*/React__default["default"].createElement("button", {
8381
- className: " ".concat(wishlist_cssstyles.trash_btn) + ' d-flex align-items-center justify-content-center text-uppercase font-weight-500 m-auto ',
8566
+ className: "".concat(wishlist_cssstyles.cart_btn) + ' w-100 ',
8382
8567
  onClick: function onClick() {
8383
- addtofavoritescontext(item.productid);
8384
- },
8568
+ setShowProductInfoModalContext(true);
8569
+ setProductIdProdutInfoModalContext(item.productid);
8570
+ }
8571
+ }, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
8572
+ "class": "col-lg-12 p-0 my-3",
8385
8573
  style: {
8386
- fontSize: sectionproperties.trashbtn_Textfontsize + 'px'
8574
+ background: '#eee',
8575
+ height: 1,
8576
+ width: '100%'
8387
8577
  }
8388
- }, lang.remove)));
8389
- }))), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
8390
- className: "row m-0 w-100 d-flex align-items-center justify-content-center pt-5 pb-5"
8578
+ })));
8579
+ }))))), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
8580
+ className: "row m-0 w-100 d-flex justify-content-center pb-5",
8581
+ style: {
8582
+ maxHeight: '60vh',
8583
+ padding: '20px'
8584
+ }
8391
8585
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8392
- className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
8393
- }, /*#__PURE__*/React__default["default"].createElement(BiSad.BiSad, {
8394
- size: sectionproperties.noprod_iconfontSize,
8395
- color: sectionproperties.noprod_iconcolor
8396
- }), /*#__PURE__*/React__default["default"].createElement("p", {
8397
- "class": "m-0 p-0 mt-2",
8586
+ className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
8587
+ style: {
8588
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
8589
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
8590
+ }
8591
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
8592
+ "class": "m-0 p-0 mt-5 mt-sm-2",
8593
+ style: {
8594
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
8595
+ color: sectionproperties.sectionTitleColor,
8596
+ fontWeight: sectionproperties.sectionTitleFontWeight
8597
+ }
8598
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
8599
+ className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-3 '
8600
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
8601
+ "class": sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2',
8398
8602
  style: {
8399
8603
  fontWeight: sectionproperties.noprod_fontWeight,
8400
8604
  color: sectionproperties.noprod_color,
8401
8605
  fontSize: sectionproperties.noprod_fontSize + 'px'
8402
8606
  }
8403
- }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
8607
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
8608
+ className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-5 '
8609
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
8610
+ "class": "".concat(wishlist_cssstyles.btnstyles),
8611
+ onClick: function onClick() {
8612
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
8613
+ }
8614
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))), /*#__PURE__*/React__default["default"].createElement("div", {
8404
8615
  className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
8405
8616
  })));
8406
8617
  };
@@ -9032,7 +9243,7 @@ var Select$3 = /*#__PURE__*/React__default["default"].lazy(function () {
9032
9243
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
9033
9244
  });
9034
9245
  var Checkout = function Checkout(props) {
9035
- var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _authdetailsContext$i4, _fetchcustomercartQue75, _authdetailsContext$i5, _fetchcustomercartQue77, _fetchcustomercartQue79;
9246
+ var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _authdetailsContext$i4, _fetchcustomercartQue75, _authdetailsContext$i5, _fetchcustomercartQue77, _authdetailsContext$i6, _fetchcustomercartQue79, _fetchcustomercartQue81;
9036
9247
  var _useState = React.useState(null),
9037
9248
  _useState2 = _slicedToArray__default["default"](_useState, 2);
9038
9249
  _useState2[0];
@@ -10303,7 +10514,28 @@ var Checkout = function Checkout(props) {
10303
10514
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
10304
10515
  })), /*#__PURE__*/React__default["default"].createElement("p", {
10305
10516
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
10306
- }, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
10517
+ }, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
10518
+ className: "col-xl-4 col-lg-4 col-md-12 mb-3"
10519
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
10520
+ className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
10521
+ }, /*#__PURE__*/React__default["default"].createElement("input", {
10522
+ type: "checkbox",
10523
+ className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
10524
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.customercart) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.paymentmethod) == 'Aman' ? true : false,
10525
+ onChange: function onChange() {
10526
+ var _fetchcustomercartQue80;
10527
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.customercart) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.paymentmethod) != 'Aman') {
10528
+ cartinfoupdater('paymentmethod', 'Aman');
10529
+ }
10530
+ }
10531
+ }), /*#__PURE__*/React__default["default"].createElement("svg", {
10532
+ viewBox: "0 0 21 21",
10533
+ className: checkoutstyles.svgstyles + ' h-100 '
10534
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
10535
+ d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
10536
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
10537
+ className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
10538
+ }, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
10307
10539
  className: "col-lg-12 p-0 w-100 mb-3"
10308
10540
  }, /*#__PURE__*/React__default["default"].createElement("div", {
10309
10541
  style: {
@@ -14747,32 +14979,48 @@ var Filter$1 = function Filter(props) {
14747
14979
  "class": "thwvsf-wrapper-ul"
14748
14980
  }, /*#__PURE__*/React__default["default"].createElement("div", {
14749
14981
  className: langdetect == 'en' ? "".concat(filterstyles.timeline) + ' p-sm-0 ' : "".concat(filterstyles.timeline, " ").concat(filterstyles.timelinetrans) + ' p-sm-0 '
14982
+ }, /*#__PURE__*/React__default["default"].createElement("ul", {
14983
+ "class": " d-flex list-none flex-row flex-wrap overflow-auto px-6 pb-5 pt-2 lg:px-0"
14750
14984
  }, item.productvaluesfilter.map(function (valueitem, valueindex) {
14751
- return /*#__PURE__*/React__default["default"].createElement("div", {
14752
- className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(valueitem.isfilterselected ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
14985
+ return /*#__PURE__*/React__default["default"].createElement("li", {
14986
+ className:
14987
+ // `${filterstyles.border_left_line} ${filterstyles.timelineinnercont} ${filter_cssstyles.timelineinnercont}
14988
+ // ${valueitem.isfilterselected ? `${filter_cssstyles.timelineinnercont_active} ${filterstyles.timelineinnercont_active}` : ''}
14989
+ // ` +
14990
+ item.optionname == 'Color' ? "".concat(filter_cssstyles.filteroptionvertical, " ").concat(valueitem.isfilterselected ? "".concat(filter_cssstyles.filteroptionverticalactive, " ") : '') + ' mx-3 mb-3 cursor-pointer allcentered ' : ' mx-3 mb-3 cursor-pointer allcentered ',
14753
14991
  onClick: function onClick() {
14754
14992
  setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
14755
14993
  }
14756
- }, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
14757
- className: " ".concat(valueitem.isfilterselected ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
14758
- }, /*#__PURE__*/React__default["default"].createElement("i", {
14759
- className: "h-100 d-flex align-items-center"
14760
- }))), item.optionname == 'Color' && /*#__PURE__*/React__default["default"].createElement("div", {
14761
- className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
14994
+ }, item.optionname == 'Color' && /*#__PURE__*/React__default["default"].createElement("div", {
14995
+ className: 'mx-3'
14996
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
14997
+ "class": "row m-0 w-100"
14998
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
14999
+ "class": "col-lg-12 p-0 allcentered"
15000
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
15001
+ style: {
15002
+ width: 30,
15003
+ height: 30,
15004
+ background: valueitem.valuename,
15005
+ borderRadius: 100,
15006
+ padding: valueitem.isfilterselected ? 10 : 0,
15007
+ borderWidth: valueitem.isfilterselected ? 1 : 0,
15008
+ borderColor: valueitem.isfilterselected ? 'red' : ''
15009
+ }
15010
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
15011
+ "class": "col-lg-12 p-0 allcentered"
14762
15012
  }, /*#__PURE__*/React__default["default"].createElement("p", {
14763
15013
  className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
14764
15014
  style: {
14765
15015
  color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
14766
15016
  }
14767
- }, valueitem.value_identifier)), item.optionname != 'Color' && /*#__PURE__*/React__default["default"].createElement("div", {
14768
- className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
14769
- }, /*#__PURE__*/React__default["default"].createElement("p", {
14770
- className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
15017
+ }, valueitem.value_identifier)))), item.optionname != 'Color' && /*#__PURE__*/React__default["default"].createElement("p", {
15018
+ className: ' m-0 p-0 ',
14771
15019
  style: {
14772
15020
  color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
14773
15021
  }
14774
- }, langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar)));
14775
- })))))));
15022
+ }, langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar));
15023
+ }))))))));
14776
15024
  }))
14777
15025
  );
14778
15026
  };
@@ -14899,6 +15147,19 @@ var Filter$1 = function Filter(props) {
14899
15147
  filtercard: glamor.css({
14900
15148
  minWidth: sectionproperties.filtercardwidth + 'px',
14901
15149
  maxWidth: sectionproperties.filtercardwidth + 'px'
15150
+ }),
15151
+ filteroptionvertical: glamor.css({
15152
+ border: sectionproperties.filter_optionborderwidth + 'px solid ' + sectionproperties.filter_optionbordercolor,
15153
+ color: sectionproperties.timeline_text_color,
15154
+ ':hover': {
15155
+ color: sectionproperties.timeline_text_coloronhover
15156
+ }
15157
+ // filter_activebackgroundtransparent
15158
+ }),
15159
+
15160
+ filteroptionverticalactive: glamor.css({
15161
+ background: sectionproperties.btn_item_activebgcolor,
15162
+ color: sectionproperties.activecat_color
14902
15163
  })
14903
15164
  };
14904
15165
  var filterrouting = function filterrouting(tempfetchproductsfilerobjcontext) {
@@ -17297,7 +17558,7 @@ var CardsSection = function CardsSection(props) {
17297
17558
  color: sectionproperties.sectionTitleColor
17298
17559
  }
17299
17560
  }, show_product_group_titles()['title_en'])), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
17300
- "class": "col-lg-12 mb-3"
17561
+ "class": "col-lg-12 mb-5"
17301
17562
  }, /*#__PURE__*/React__default["default"].createElement("p", {
17302
17563
  "class": "m-0",
17303
17564
  style: {
@@ -17393,7 +17654,7 @@ var InnerGroups = function InnerGroups(props) {
17393
17654
  function ownKeys$25(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; }
17394
17655
  function _objectSpread$25(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$25(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$25(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17395
17656
  var PrivacyPolicy = function PrivacyPolicy(props) {
17396
- var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
17657
+ var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
17397
17658
  var _useState = React.useState(''),
17398
17659
  _useState2 = _slicedToArray__default["default"](_useState, 2),
17399
17660
  sectionproperties = _useState2[0],
@@ -17409,12 +17670,13 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
17409
17670
  props.actions.lang;
17410
17671
  var langdetect = props.actions.langdetect;
17411
17672
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
17412
- props.actions.ikimagecredcontext;
17673
+ var ikimagecredcontext = props.actions.ikimagecredcontext;
17413
17674
  props.actions;
17414
17675
  var _useState5 = React.useState(''),
17415
17676
  _useState6 = _slicedToArray__default["default"](_useState5, 2);
17416
17677
  _useState6[0];
17417
17678
  var setCurrentPageId = _useState6[1];
17679
+ var routingcountext = props.actions.routingcountext;
17418
17680
  React.useEffect(function () {
17419
17681
  if (Object.keys(StatePagePropertiesContext).length != 0) {
17420
17682
  var _StatePagePropertiesC;
@@ -17440,9 +17702,9 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
17440
17702
  setFetchQueriesEngineContext(_objectSpread$25({}, tempFetchQueriesEngineContext));
17441
17703
  }, []);
17442
17704
  var _useState7 = React.useState([]),
17443
- _useState8 = _slicedToArray__default["default"](_useState7, 2);
17444
- _useState8[0];
17445
- var setbgimagesarray = _useState8[1];
17705
+ _useState8 = _slicedToArray__default["default"](_useState7, 2),
17706
+ bgimagesarray = _useState8[0],
17707
+ setbgimagesarray = _useState8[1];
17446
17708
  React.useEffect(function () {
17447
17709
  if (sectionproperties.length != 0) {
17448
17710
  if (sectionproperties.arrayofobjectimagesonly != null) {
@@ -17465,11 +17727,12 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
17465
17727
  };
17466
17728
  var policies_cssstyles = {
17467
17729
  containerstyle: glamor.css({
17468
- paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
17469
- paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
17470
- paddingTop: sectionproperties.cardpaddingvertical + 'px',
17471
- paddingBottom: sectionproperties.cardpaddingvertical + 'px',
17472
- backgroundColor: sectionproperties.backgroundColor
17730
+ paddingTop: sectionproperties.paddingTop + 'px',
17731
+ paddingBottom: sectionproperties.paddingBottom + 'px',
17732
+ backgroundColor: sectionproperties.backgroundColor,
17733
+ '@media (max-width: 800px)': {
17734
+ paddingTop: sectionproperties.paddingtopresponsive + 'px'
17735
+ }
17473
17736
  }),
17474
17737
  sectiontitle: glamor.css({
17475
17738
  fontSize: sectionproperties.sectionTitleFontSize + 'px',
@@ -17491,7 +17754,65 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
17491
17754
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17492
17755
  className: ' col-lg-12 p-0 '
17493
17756
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17494
- className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 '
17757
+ className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 '
17758
+ }, sectionproperties.image_height != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
17759
+ className: "col-lg-12 p-0 d-flex justify-content-center",
17760
+ style: {
17761
+ cursor: ((_bgimagesarray$ = bgimagesarray[0]) === null || _bgimagesarray$ === void 0 ? void 0 : _bgimagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
17762
+ },
17763
+ onClick: function onClick() {
17764
+ var _bgimagesarray$2;
17765
+ if (((_bgimagesarray$2 = bgimagesarray[0]) === null || _bgimagesarray$2 === void 0 ? void 0 : _bgimagesarray$2.IsClickable) == 'Yes') {
17766
+ var _bgimagesarray$3, _bgimagesarray$4;
17767
+ if ((_bgimagesarray$3 = bgimagesarray[0]) !== null && _bgimagesarray$3 !== void 0 && _bgimagesarray$3.clickable_page_route && ((_bgimagesarray$4 = bgimagesarray[0]) === null || _bgimagesarray$4 === void 0 ? void 0 : _bgimagesarray$4.clickable_page_route.length) != 0) {
17768
+ routingcountext(bgimagesarray[0].clickable_page_route, false, '');
17769
+ } else {
17770
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
17771
+ }
17772
+ }
17773
+ }
17774
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
17775
+ "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
17776
+ style: {
17777
+ width: sectionproperties.image_width + 'vw',
17778
+ height: 'auto',
17779
+ marginBottom: sectionproperties.image_mb + 'px',
17780
+ position: 'relative'
17781
+ }
17782
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
17783
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
17784
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
17785
+ path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$5 = bgimagesarray[0]) === null || _bgimagesarray$5 === void 0 ? void 0 : _bgimagesarray$5.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$6 = bgimagesarray[0]) === null || _bgimagesarray$6 === void 0 ? void 0 : _bgimagesarray$6.bgsection_image_ar) : '',
17786
+ "class": "d-flex d-sm-none",
17787
+ style: {
17788
+ height: '100%',
17789
+ width: '100%',
17790
+ margin: 0,
17791
+ padding: 0,
17792
+ borderRadius: sectionproperties.imageborderradius + 'px',
17793
+ zIndex: -1,
17794
+ objectFit: 'contain'
17795
+ }
17796
+ }), /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
17797
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
17798
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
17799
+ path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$7 = bgimagesarray[0]) === null || _bgimagesarray$7 === void 0 ? void 0 : _bgimagesarray$7.bgsection_imageresponsive) : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$8 = bgimagesarray[0]) === null || _bgimagesarray$8 === void 0 ? void 0 : _bgimagesarray$8.bgsection_imageresponsive_ar) : '',
17800
+ "class": "d-none d-sm-flex",
17801
+ style: {
17802
+ height: '100%',
17803
+ width: '100%',
17804
+ margin: 0,
17805
+ padding: 0,
17806
+ objectFit: sectionproperties.bgcovercontainresponsive,
17807
+ borderRadius: sectionproperties.imageborderradius + 'px',
17808
+ zIndex: -1
17809
+ }
17810
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
17811
+ "class": "row m-0 w-100 pl-md-4 pr-md-4",
17812
+ style: {
17813
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
17814
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
17815
+ }
17495
17816
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17496
17817
  "class": ' col-lg-12 p-0 text-start '
17497
17818
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -17510,13 +17831,13 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
17510
17831
  style: {
17511
17832
  textAlign: langdetect == 'en' ? 'left' : 'right'
17512
17833
  }
17513
- })))));
17834
+ }))))));
17514
17835
  };
17515
17836
 
17516
17837
  function ownKeys$24(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; }
17517
17838
  function _objectSpread$24(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$24(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$24(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17518
17839
  var RefundPolicy = function RefundPolicy(props) {
17519
- var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
17840
+ var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
17520
17841
  var _useState = React.useState(''),
17521
17842
  _useState2 = _slicedToArray__default["default"](_useState, 2),
17522
17843
  sectionproperties = _useState2[0],
@@ -17532,12 +17853,13 @@ var RefundPolicy = function RefundPolicy(props) {
17532
17853
  props.actions.lang;
17533
17854
  var langdetect = props.actions.langdetect;
17534
17855
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
17535
- props.actions.ikimagecredcontext;
17856
+ var ikimagecredcontext = props.actions.ikimagecredcontext;
17536
17857
  props.actions;
17537
17858
  var _useState5 = React.useState(''),
17538
17859
  _useState6 = _slicedToArray__default["default"](_useState5, 2);
17539
17860
  _useState6[0];
17540
17861
  var setCurrentPageId = _useState6[1];
17862
+ var routingcountext = props.actions.routingcountext;
17541
17863
  React.useEffect(function () {
17542
17864
  if (Object.keys(StatePagePropertiesContext).length != 0) {
17543
17865
  var _StatePagePropertiesC;
@@ -17563,9 +17885,9 @@ var RefundPolicy = function RefundPolicy(props) {
17563
17885
  setFetchQueriesEngineContext(_objectSpread$24({}, tempFetchQueriesEngineContext));
17564
17886
  }, []);
17565
17887
  var _useState7 = React.useState([]),
17566
- _useState8 = _slicedToArray__default["default"](_useState7, 2);
17567
- _useState8[0];
17568
- var setbgimagesarray = _useState8[1];
17888
+ _useState8 = _slicedToArray__default["default"](_useState7, 2),
17889
+ bgimagesarray = _useState8[0],
17890
+ setbgimagesarray = _useState8[1];
17569
17891
  React.useEffect(function () {
17570
17892
  if (sectionproperties.length != 0) {
17571
17893
  if (sectionproperties.arrayofobjectimagesonly != null) {
@@ -17588,11 +17910,12 @@ var RefundPolicy = function RefundPolicy(props) {
17588
17910
  };
17589
17911
  var policies_cssstyles = {
17590
17912
  containerstyle: glamor.css({
17591
- paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
17592
- paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
17593
- paddingTop: sectionproperties.cardpaddingvertical + 'px',
17594
- paddingBottom: sectionproperties.cardpaddingvertical + 'px',
17595
- backgroundColor: sectionproperties.backgroundColor
17913
+ paddingTop: sectionproperties.paddingTop + 'px',
17914
+ paddingBottom: sectionproperties.paddingBottom + 'px',
17915
+ backgroundColor: sectionproperties.backgroundColor,
17916
+ '@media (max-width: 800px)': {
17917
+ paddingTop: sectionproperties.paddingtopresponsive + 'px'
17918
+ }
17596
17919
  }),
17597
17920
  sectiontitle: glamor.css({
17598
17921
  fontSize: sectionproperties.sectionTitleFontSize + 'px',
@@ -17614,7 +17937,65 @@ var RefundPolicy = function RefundPolicy(props) {
17614
17937
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17615
17938
  className: ' col-lg-12 p-0 '
17616
17939
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17617
- className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 '
17940
+ className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 '
17941
+ }, sectionproperties.image_height != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
17942
+ className: "col-lg-12 p-0 d-flex justify-content-center",
17943
+ style: {
17944
+ cursor: ((_bgimagesarray$ = bgimagesarray[0]) === null || _bgimagesarray$ === void 0 ? void 0 : _bgimagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
17945
+ },
17946
+ onClick: function onClick() {
17947
+ var _bgimagesarray$2;
17948
+ if (((_bgimagesarray$2 = bgimagesarray[0]) === null || _bgimagesarray$2 === void 0 ? void 0 : _bgimagesarray$2.IsClickable) == 'Yes') {
17949
+ var _bgimagesarray$3, _bgimagesarray$4;
17950
+ if ((_bgimagesarray$3 = bgimagesarray[0]) !== null && _bgimagesarray$3 !== void 0 && _bgimagesarray$3.clickable_page_route && ((_bgimagesarray$4 = bgimagesarray[0]) === null || _bgimagesarray$4 === void 0 ? void 0 : _bgimagesarray$4.clickable_page_route.length) != 0) {
17951
+ routingcountext(bgimagesarray[0].clickable_page_route, false, '');
17952
+ } else {
17953
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
17954
+ }
17955
+ }
17956
+ }
17957
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
17958
+ "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
17959
+ style: {
17960
+ width: sectionproperties.image_width + 'vw',
17961
+ height: 'auto',
17962
+ marginBottom: sectionproperties.image_mb + 'px',
17963
+ position: 'relative'
17964
+ }
17965
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
17966
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
17967
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
17968
+ path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$5 = bgimagesarray[0]) === null || _bgimagesarray$5 === void 0 ? void 0 : _bgimagesarray$5.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_bgimagesarray$6 = bgimagesarray[0]) === null || _bgimagesarray$6 === void 0 ? void 0 : _bgimagesarray$6.bgsection_image_ar) : '',
17969
+ "class": "d-flex d-sm-none",
17970
+ style: {
17971
+ height: '100%',
17972
+ width: '100%',
17973
+ margin: 0,
17974
+ padding: 0,
17975
+ borderRadius: sectionproperties.imageborderradius + 'px',
17976
+ zIndex: -1,
17977
+ objectFit: 'contain'
17978
+ }
17979
+ }), /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
17980
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
17981
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
17982
+ path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$7 = bgimagesarray[0]) === null || _bgimagesarray$7 === void 0 ? void 0 : _bgimagesarray$7.bgsection_imageresponsive) : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + ((_bgimagesarray$8 = bgimagesarray[0]) === null || _bgimagesarray$8 === void 0 ? void 0 : _bgimagesarray$8.bgsection_imageresponsive_ar) : '',
17983
+ "class": "d-none d-sm-flex",
17984
+ style: {
17985
+ height: '100%',
17986
+ width: '100%',
17987
+ margin: 0,
17988
+ padding: 0,
17989
+ objectFit: sectionproperties.bgcovercontainresponsive,
17990
+ borderRadius: sectionproperties.imageborderradius + 'px',
17991
+ zIndex: -1
17992
+ }
17993
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
17994
+ "class": "row m-0 w-100 pl-md-4 pr-md-4",
17995
+ style: {
17996
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
17997
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
17998
+ }
17618
17999
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17619
18000
  "class": ' col-lg-12 p-0 text-start '
17620
18001
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -17633,7 +18014,7 @@ var RefundPolicy = function RefundPolicy(props) {
17633
18014
  style: {
17634
18015
  textAlign: langdetect == 'en' ? 'left' : 'right'
17635
18016
  }
17636
- })))));
18017
+ }))))));
17637
18018
  };
17638
18019
 
17639
18020
  function ownKeys$23(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; }