tabexseriescomponents 0.0.448 → 0.0.449
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 +513 -182
- package/dist/index.esm.js +513 -182
- package/dist/index.umd.js +516 -183
- package/package.json +1 -1
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
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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: '
|
|
8058
|
-
height: '
|
|
8059
|
-
border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
|
|
8059
|
+
width: '100px',
|
|
8060
|
+
height: '90px',
|
|
8060
8061
|
backgroundColor: sectionproperties.prodimage_bgcolor,
|
|
8061
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
8178
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
},
|
|
8202
|
-
|
|
8203
|
-
|
|
8204
|
-
|
|
8205
|
-
|
|
8206
|
-
|
|
8207
|
-
|
|
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
|
|
8231
|
-
className: "
|
|
8232
|
-
|
|
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,116 +8320,163 @@ 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: '
|
|
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(
|
|
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)),
|
|
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
|
|
8280
|
-
className:
|
|
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
|
-
|
|
8373
|
+
padding: '20px',
|
|
8374
|
+
minHeight: '70vh'
|
|
8283
8375
|
}
|
|
8284
8376
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8285
|
-
className: '
|
|
8286
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
8287
|
-
|
|
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
|
-
|
|
8293
|
-
|
|
8294
|
-
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
8381
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
8382
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
8295
8383
|
}
|
|
8296
|
-
},
|
|
8297
|
-
|
|
8384
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8385
|
+
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
8298
8386
|
style: {
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
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
|
|
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
|
-
|
|
8400
|
+
color: sectionproperties.sectionTitleColor,
|
|
8401
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor
|
|
8313
8402
|
}
|
|
8314
|
-
}, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8315
|
-
className:
|
|
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
|
|
8409
|
+
}
|
|
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
|
|
8320
8416
|
}
|
|
8321
|
-
}
|
|
8322
|
-
className: "text-center font-weight-500 font-14
|
|
8323
|
-
|
|
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: '
|
|
8442
|
+
objectFit: 'contain'
|
|
8340
8443
|
},
|
|
8341
8444
|
loading: "lazy"
|
|
8342
|
-
})
|
|
8343
|
-
|
|
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
|
|
8346
|
-
|
|
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
|
|
8350
8480
|
}
|
|
8351
8481
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8352
8482
|
className: "".concat(wishlist_cssstyles.cart_btn),
|
|
@@ -8354,29 +8484,11 @@ var Wishlist = function Wishlist(props) {
|
|
|
8354
8484
|
setShowProductInfoModalContext(true);
|
|
8355
8485
|
setProductIdProdutInfoModalContext(item.productid);
|
|
8356
8486
|
}
|
|
8357
|
-
},
|
|
8358
|
-
className: "",
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
-
|
|
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"
|
|
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
|
+
}
|
|
8380
8492
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8381
8493
|
className: " ".concat(wishlist_cssstyles.trash_btn) + ' d-flex align-items-center justify-content-center text-uppercase font-weight-500 m-auto ',
|
|
8382
8494
|
onClick: function onClick() {
|
|
@@ -8385,22 +8497,121 @@ var Wishlist = function Wishlist(props) {
|
|
|
8385
8497
|
style: {
|
|
8386
8498
|
fontSize: sectionproperties.trashbtn_Textfontsize + 'px'
|
|
8387
8499
|
}
|
|
8388
|
-
},
|
|
8389
|
-
|
|
8390
|
-
|
|
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 '
|
|
8391
8505
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8392
|
-
className: '
|
|
8393
|
-
},
|
|
8394
|
-
|
|
8395
|
-
|
|
8396
|
-
|
|
8397
|
-
|
|
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'
|
|
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"
|
|
8550
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8551
|
+
className: " ".concat(wishlist_cssstyles.trash_btnresp) + ' allcentered ',
|
|
8552
|
+
onClick: function onClick() {
|
|
8553
|
+
addtofavoritescontext(item.productid);
|
|
8554
|
+
}
|
|
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"
|
|
8565
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8566
|
+
className: "".concat(wishlist_cssstyles.cart_btn) + ' w-100 ',
|
|
8567
|
+
onClick: function onClick() {
|
|
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",
|
|
8573
|
+
style: {
|
|
8574
|
+
background: '#eee',
|
|
8575
|
+
height: 1,
|
|
8576
|
+
width: '100%'
|
|
8577
|
+
}
|
|
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
|
+
}
|
|
8585
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
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))
|
|
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
|
};
|
|
@@ -17393,7 +17604,7 @@ var InnerGroups = function InnerGroups(props) {
|
|
|
17393
17604
|
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
17605
|
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
17606
|
var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
17396
|
-
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
17607
|
+
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
17397
17608
|
var _useState = React.useState(''),
|
|
17398
17609
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
17399
17610
|
sectionproperties = _useState2[0],
|
|
@@ -17409,12 +17620,13 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
17409
17620
|
props.actions.lang;
|
|
17410
17621
|
var langdetect = props.actions.langdetect;
|
|
17411
17622
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
17412
|
-
props.actions.ikimagecredcontext;
|
|
17623
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
17413
17624
|
props.actions;
|
|
17414
17625
|
var _useState5 = React.useState(''),
|
|
17415
17626
|
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
17416
17627
|
_useState6[0];
|
|
17417
17628
|
var setCurrentPageId = _useState6[1];
|
|
17629
|
+
var routingcountext = props.actions.routingcountext;
|
|
17418
17630
|
React.useEffect(function () {
|
|
17419
17631
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
17420
17632
|
var _StatePagePropertiesC;
|
|
@@ -17440,9 +17652,9 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
17440
17652
|
setFetchQueriesEngineContext(_objectSpread$25({}, tempFetchQueriesEngineContext));
|
|
17441
17653
|
}, []);
|
|
17442
17654
|
var _useState7 = React.useState([]),
|
|
17443
|
-
_useState8 = _slicedToArray__default["default"](_useState7, 2)
|
|
17444
|
-
_useState8[0]
|
|
17445
|
-
|
|
17655
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
17656
|
+
bgimagesarray = _useState8[0],
|
|
17657
|
+
setbgimagesarray = _useState8[1];
|
|
17446
17658
|
React.useEffect(function () {
|
|
17447
17659
|
if (sectionproperties.length != 0) {
|
|
17448
17660
|
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
@@ -17465,11 +17677,12 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
17465
17677
|
};
|
|
17466
17678
|
var policies_cssstyles = {
|
|
17467
17679
|
containerstyle: glamor.css({
|
|
17468
|
-
|
|
17469
|
-
|
|
17470
|
-
|
|
17471
|
-
|
|
17472
|
-
|
|
17680
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
17681
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
17682
|
+
backgroundColor: sectionproperties.backgroundColor,
|
|
17683
|
+
'@media (max-width: 800px)': {
|
|
17684
|
+
paddingTop: sectionproperties.paddingtopresponsive + 'px'
|
|
17685
|
+
}
|
|
17473
17686
|
}),
|
|
17474
17687
|
sectiontitle: glamor.css({
|
|
17475
17688
|
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
@@ -17491,7 +17704,65 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
17491
17704
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17492
17705
|
className: ' col-lg-12 p-0 '
|
|
17493
17706
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17494
|
-
className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100
|
|
17707
|
+
className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 '
|
|
17708
|
+
}, sectionproperties.image_height != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17709
|
+
className: "col-lg-12 p-0 d-flex justify-content-center",
|
|
17710
|
+
style: {
|
|
17711
|
+
cursor: ((_bgimagesarray$ = bgimagesarray[0]) === null || _bgimagesarray$ === void 0 ? void 0 : _bgimagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
|
|
17712
|
+
},
|
|
17713
|
+
onClick: function onClick() {
|
|
17714
|
+
var _bgimagesarray$2;
|
|
17715
|
+
if (((_bgimagesarray$2 = bgimagesarray[0]) === null || _bgimagesarray$2 === void 0 ? void 0 : _bgimagesarray$2.IsClickable) == 'Yes') {
|
|
17716
|
+
var _bgimagesarray$3, _bgimagesarray$4;
|
|
17717
|
+
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) {
|
|
17718
|
+
routingcountext(bgimagesarray[0].clickable_page_route, false, '');
|
|
17719
|
+
} else {
|
|
17720
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
|
|
17721
|
+
}
|
|
17722
|
+
}
|
|
17723
|
+
}
|
|
17724
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17725
|
+
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
|
|
17726
|
+
style: {
|
|
17727
|
+
width: sectionproperties.image_width + 'vw',
|
|
17728
|
+
height: 'auto',
|
|
17729
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
17730
|
+
position: 'relative'
|
|
17731
|
+
}
|
|
17732
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
17733
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
17734
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
17735
|
+
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) : '',
|
|
17736
|
+
"class": "d-flex d-sm-none",
|
|
17737
|
+
style: {
|
|
17738
|
+
height: '100%',
|
|
17739
|
+
width: '100%',
|
|
17740
|
+
margin: 0,
|
|
17741
|
+
padding: 0,
|
|
17742
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
17743
|
+
zIndex: -1,
|
|
17744
|
+
objectFit: 'contain'
|
|
17745
|
+
}
|
|
17746
|
+
}), /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
17747
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
17748
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
17749
|
+
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) : '',
|
|
17750
|
+
"class": "d-none d-sm-flex",
|
|
17751
|
+
style: {
|
|
17752
|
+
height: '100%',
|
|
17753
|
+
width: '100%',
|
|
17754
|
+
margin: 0,
|
|
17755
|
+
padding: 0,
|
|
17756
|
+
objectFit: sectionproperties.bgcovercontainresponsive,
|
|
17757
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
17758
|
+
zIndex: -1
|
|
17759
|
+
}
|
|
17760
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17761
|
+
"class": "row m-0 w-100 pl-md-4 pr-md-4",
|
|
17762
|
+
style: {
|
|
17763
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
17764
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
17765
|
+
}
|
|
17495
17766
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17496
17767
|
"class": ' col-lg-12 p-0 text-start '
|
|
17497
17768
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -17510,13 +17781,13 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
17510
17781
|
style: {
|
|
17511
17782
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
17512
17783
|
}
|
|
17513
|
-
})))));
|
|
17784
|
+
}))))));
|
|
17514
17785
|
};
|
|
17515
17786
|
|
|
17516
17787
|
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
17788
|
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
17789
|
var RefundPolicy = function RefundPolicy(props) {
|
|
17519
|
-
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
17790
|
+
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
17520
17791
|
var _useState = React.useState(''),
|
|
17521
17792
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
17522
17793
|
sectionproperties = _useState2[0],
|
|
@@ -17532,12 +17803,13 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
17532
17803
|
props.actions.lang;
|
|
17533
17804
|
var langdetect = props.actions.langdetect;
|
|
17534
17805
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
17535
|
-
props.actions.ikimagecredcontext;
|
|
17806
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
17536
17807
|
props.actions;
|
|
17537
17808
|
var _useState5 = React.useState(''),
|
|
17538
17809
|
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
17539
17810
|
_useState6[0];
|
|
17540
17811
|
var setCurrentPageId = _useState6[1];
|
|
17812
|
+
var routingcountext = props.actions.routingcountext;
|
|
17541
17813
|
React.useEffect(function () {
|
|
17542
17814
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
17543
17815
|
var _StatePagePropertiesC;
|
|
@@ -17563,9 +17835,9 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
17563
17835
|
setFetchQueriesEngineContext(_objectSpread$24({}, tempFetchQueriesEngineContext));
|
|
17564
17836
|
}, []);
|
|
17565
17837
|
var _useState7 = React.useState([]),
|
|
17566
|
-
_useState8 = _slicedToArray__default["default"](_useState7, 2)
|
|
17567
|
-
_useState8[0]
|
|
17568
|
-
|
|
17838
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
17839
|
+
bgimagesarray = _useState8[0],
|
|
17840
|
+
setbgimagesarray = _useState8[1];
|
|
17569
17841
|
React.useEffect(function () {
|
|
17570
17842
|
if (sectionproperties.length != 0) {
|
|
17571
17843
|
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
@@ -17588,11 +17860,12 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
17588
17860
|
};
|
|
17589
17861
|
var policies_cssstyles = {
|
|
17590
17862
|
containerstyle: glamor.css({
|
|
17591
|
-
|
|
17592
|
-
|
|
17593
|
-
|
|
17594
|
-
|
|
17595
|
-
|
|
17863
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
17864
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
17865
|
+
backgroundColor: sectionproperties.backgroundColor,
|
|
17866
|
+
'@media (max-width: 800px)': {
|
|
17867
|
+
paddingTop: sectionproperties.paddingtopresponsive + 'px'
|
|
17868
|
+
}
|
|
17596
17869
|
}),
|
|
17597
17870
|
sectiontitle: glamor.css({
|
|
17598
17871
|
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
@@ -17614,7 +17887,65 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
17614
17887
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17615
17888
|
className: ' col-lg-12 p-0 '
|
|
17616
17889
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17617
|
-
className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100
|
|
17890
|
+
className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 '
|
|
17891
|
+
}, sectionproperties.image_height != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17892
|
+
className: "col-lg-12 p-0 d-flex justify-content-center",
|
|
17893
|
+
style: {
|
|
17894
|
+
cursor: ((_bgimagesarray$ = bgimagesarray[0]) === null || _bgimagesarray$ === void 0 ? void 0 : _bgimagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
|
|
17895
|
+
},
|
|
17896
|
+
onClick: function onClick() {
|
|
17897
|
+
var _bgimagesarray$2;
|
|
17898
|
+
if (((_bgimagesarray$2 = bgimagesarray[0]) === null || _bgimagesarray$2 === void 0 ? void 0 : _bgimagesarray$2.IsClickable) == 'Yes') {
|
|
17899
|
+
var _bgimagesarray$3, _bgimagesarray$4;
|
|
17900
|
+
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) {
|
|
17901
|
+
routingcountext(bgimagesarray[0].clickable_page_route, false, '');
|
|
17902
|
+
} else {
|
|
17903
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
|
|
17904
|
+
}
|
|
17905
|
+
}
|
|
17906
|
+
}
|
|
17907
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17908
|
+
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
|
|
17909
|
+
style: {
|
|
17910
|
+
width: sectionproperties.image_width + 'vw',
|
|
17911
|
+
height: 'auto',
|
|
17912
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
17913
|
+
position: 'relative'
|
|
17914
|
+
}
|
|
17915
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
17916
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
17917
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
17918
|
+
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) : '',
|
|
17919
|
+
"class": "d-flex d-sm-none",
|
|
17920
|
+
style: {
|
|
17921
|
+
height: '100%',
|
|
17922
|
+
width: '100%',
|
|
17923
|
+
margin: 0,
|
|
17924
|
+
padding: 0,
|
|
17925
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
17926
|
+
zIndex: -1,
|
|
17927
|
+
objectFit: 'contain'
|
|
17928
|
+
}
|
|
17929
|
+
}), /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
17930
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
17931
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
17932
|
+
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) : '',
|
|
17933
|
+
"class": "d-none d-sm-flex",
|
|
17934
|
+
style: {
|
|
17935
|
+
height: '100%',
|
|
17936
|
+
width: '100%',
|
|
17937
|
+
margin: 0,
|
|
17938
|
+
padding: 0,
|
|
17939
|
+
objectFit: sectionproperties.bgcovercontainresponsive,
|
|
17940
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
17941
|
+
zIndex: -1
|
|
17942
|
+
}
|
|
17943
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17944
|
+
"class": "row m-0 w-100 pl-md-4 pr-md-4",
|
|
17945
|
+
style: {
|
|
17946
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
17947
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
17948
|
+
}
|
|
17618
17949
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17619
17950
|
"class": ' col-lg-12 p-0 text-start '
|
|
17620
17951
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -17633,7 +17964,7 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
17633
17964
|
style: {
|
|
17634
17965
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
17635
17966
|
}
|
|
17636
|
-
})))));
|
|
17967
|
+
}))))));
|
|
17637
17968
|
};
|
|
17638
17969
|
|
|
17639
17970
|
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; }
|