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.esm.js
CHANGED
|
@@ -58,10 +58,8 @@ import { HiOutlineChevronRight } from '@react-icons/all-files/hi/HiOutlineChevro
|
|
|
58
58
|
import { HiOutlineChevronLeft } from '@react-icons/all-files/hi/HiOutlineChevronLeft';
|
|
59
59
|
import { GoGlobe } from '@react-icons/all-files/go/GoGlobe';
|
|
60
60
|
import { VscGlobe } from '@react-icons/all-files/vsc/VscGlobe';
|
|
61
|
-
import { HiOutlineTrash } from '@react-icons/all-files/hi/HiOutlineTrash';
|
|
62
|
-
import { BiSad } from '@react-icons/all-files/bi/BiSad';
|
|
63
|
-
import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
|
|
64
61
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
62
|
+
import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
|
|
65
63
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
66
64
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
67
65
|
import { HiUser } from '@react-icons/all-files/hi/HiUser';
|
|
@@ -7899,7 +7897,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
7899
7897
|
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))))))))))))));
|
|
7900
7898
|
};
|
|
7901
7899
|
|
|
7902
|
-
var css_248z$H = ".wishlist-module_wishlist_card__sUXul .wishlist-module_image_container__FuptA {\n height: 300px
|
|
7900
|
+
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";
|
|
7903
7901
|
var wishliststyles = {"wishlist_card":"wishlist-module_wishlist_card__sUXul","image_container":"wishlist-module_image_container__FuptA","floatbtn":"wishlist-module_floatbtn__PZDvQ"};
|
|
7904
7902
|
styleInject(css_248z$H);
|
|
7905
7903
|
|
|
@@ -7907,14 +7905,16 @@ function ownKeys$2l(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySym
|
|
|
7907
7905
|
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(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; }
|
|
7908
7906
|
var Wishlist = function Wishlist(props) {
|
|
7909
7907
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
7910
|
-
|
|
7908
|
+
props.actions.lang;
|
|
7911
7909
|
var langdetect = props.actions.langdetect;
|
|
7910
|
+
var routingcountext = props.actions.routingcountext;
|
|
7912
7911
|
var fetchFavoriteProductsQueryContext = props.actions.fetchFavoriteProductsQueryContext;
|
|
7913
7912
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
7914
7913
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
7915
7914
|
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
7916
7915
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
7917
7916
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
7917
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
7918
7918
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
7919
7919
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
7920
7920
|
var actions = props.actions;
|
|
@@ -7926,6 +7926,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7926
7926
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
7927
7927
|
bgimagesarray = _useState4[0],
|
|
7928
7928
|
setbgimagesarray = _useState4[1];
|
|
7929
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
7929
7930
|
useEffect(function () {
|
|
7930
7931
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
7931
7932
|
var secpropobj = {};
|
|
@@ -7978,22 +7979,23 @@ var Wishlist = function Wishlist(props) {
|
|
|
7978
7979
|
cart_btn: css({
|
|
7979
7980
|
width: sectionproperties.cartBtnWidth + 'px',
|
|
7980
7981
|
height: sectionproperties.cartBtnHeight + 'px',
|
|
7981
|
-
background: sectionproperties.
|
|
7982
|
+
background: sectionproperties.cartBtnbgColor,
|
|
7982
7983
|
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
7983
7984
|
color: sectionproperties.cartBtnTextcolor,
|
|
7984
7985
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
7985
7986
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
7986
7987
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
7988
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
7987
7989
|
transition: '.3s',
|
|
7988
7990
|
':hover': {
|
|
7989
|
-
background: sectionproperties.
|
|
7991
|
+
background: sectionproperties.cartBtnbgColoronhover,
|
|
7990
7992
|
color: sectionproperties.cartBtnTextcoloronhover,
|
|
7991
7993
|
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
7992
7994
|
}
|
|
7993
7995
|
}),
|
|
7994
7996
|
trash_btn: css({
|
|
7995
|
-
width: sectionproperties.trashbtn_Width + 'px',
|
|
7996
|
-
height: sectionproperties.trashbtn_Height + 'px',
|
|
7997
|
+
width: sectionproperties.trashbtn_Width == 0 ? 'auto' : sectionproperties.trashbtn_Width + 'px',
|
|
7998
|
+
height: sectionproperties.trashbtn_Height == 0 ? 'auto' : sectionproperties.trashbtn_Height + 'px',
|
|
7997
7999
|
background: sectionproperties.trashbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.trashbtn_bgColor,
|
|
7998
8000
|
color: sectionproperties.trashbtn_Textcolor,
|
|
7999
8001
|
borderRadius: sectionproperties.trashbtn_borderBottomLeftRadius + 'px',
|
|
@@ -8005,20 +8007,13 @@ var Wishlist = function Wishlist(props) {
|
|
|
8005
8007
|
}
|
|
8006
8008
|
}),
|
|
8007
8009
|
imagecont: css({
|
|
8008
|
-
width: '
|
|
8009
|
-
height: '
|
|
8010
|
-
border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
|
|
8010
|
+
width: '100px',
|
|
8011
|
+
height: '90px',
|
|
8011
8012
|
backgroundColor: sectionproperties.prodimage_bgcolor,
|
|
8012
|
-
|
|
8013
|
-
borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
|
|
8014
|
-
borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
|
|
8015
|
-
borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
|
|
8013
|
+
borderRadius: sectionproperties.productimageborderradius + 'px',
|
|
8016
8014
|
display: 'flex',
|
|
8017
8015
|
alignItems: 'center',
|
|
8018
8016
|
justifyContent: 'center',
|
|
8019
|
-
backgroundRepeat: 'no-repeat',
|
|
8020
|
-
backgroundSize: 'cover',
|
|
8021
|
-
backgroundPosition: 'center',
|
|
8022
8017
|
position: 'relative'
|
|
8023
8018
|
}),
|
|
8024
8019
|
containerstyle: css({
|
|
@@ -8028,6 +8023,26 @@ var Wishlist = function Wishlist(props) {
|
|
|
8028
8023
|
'@media (max-width: 800px)': {
|
|
8029
8024
|
marginTop: sectionproperties.marginTopResp + 'px'
|
|
8030
8025
|
}
|
|
8026
|
+
}),
|
|
8027
|
+
btnstyles: css({
|
|
8028
|
+
width: sectionproperties.generalbtn_width + '%',
|
|
8029
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
8030
|
+
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
8031
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
8032
|
+
color: sectionproperties.generalbtn_textColor,
|
|
8033
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
8034
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
8035
|
+
':hover': {
|
|
8036
|
+
transition: '.3s',
|
|
8037
|
+
color: sectionproperties.generalbtn_textColoronhover,
|
|
8038
|
+
backgroundColor: sectionproperties.generalbtn_bgColoronhover
|
|
8039
|
+
},
|
|
8040
|
+
'@media (max-width: 800px)': {
|
|
8041
|
+
width: '80%'
|
|
8042
|
+
},
|
|
8043
|
+
prodimage: css({
|
|
8044
|
+
height: sectionproperties.prodimage_height
|
|
8045
|
+
})
|
|
8031
8046
|
})
|
|
8032
8047
|
};
|
|
8033
8048
|
useEffect(function () {
|
|
@@ -8042,7 +8057,9 @@ var Wishlist = function Wishlist(props) {
|
|
|
8042
8057
|
}, [sectionproperties]);
|
|
8043
8058
|
return /*#__PURE__*/React.createElement("div", {
|
|
8044
8059
|
className: wishlist_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 ',
|
|
8045
|
-
style: {
|
|
8060
|
+
style: {
|
|
8061
|
+
minHeight: '60vh'
|
|
8062
|
+
}
|
|
8046
8063
|
}, sectionproperties.showbgimage == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
8047
8064
|
className: "col-lg-12 p-0 d-flex justify-content-center",
|
|
8048
8065
|
style: {
|
|
@@ -8078,10 +8095,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
8078
8095
|
margin: 0,
|
|
8079
8096
|
padding: 0,
|
|
8080
8097
|
background: sectionproperties.image_bgcolor,
|
|
8081
|
-
|
|
8082
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
8083
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
8084
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
8098
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
8085
8099
|
zIndex: -1,
|
|
8086
8100
|
objectFit: sectionproperties.bgcovercontain
|
|
8087
8101
|
}
|
|
@@ -8097,45 +8111,19 @@ var Wishlist = function Wishlist(props) {
|
|
|
8097
8111
|
padding: 0,
|
|
8098
8112
|
objectFit: sectionproperties.bgcovercontainresponsive,
|
|
8099
8113
|
background: sectionproperties.image_bgcolor,
|
|
8100
|
-
|
|
8101
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
8102
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
8103
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
8114
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
8104
8115
|
zIndex: -1
|
|
8105
8116
|
}
|
|
8106
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
8107
|
-
className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
|
|
8108
|
-
style: {
|
|
8109
|
-
position: 'absolute',
|
|
8110
|
-
top: 0,
|
|
8111
|
-
right: 0,
|
|
8112
|
-
bottom: 0,
|
|
8113
|
-
left: 0
|
|
8114
|
-
}
|
|
8115
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
8116
|
-
className: ' m-0 p-0 ',
|
|
8117
|
-
style: {
|
|
8118
|
-
fontSize: sectionproperties.imagetextfontsize + 'px',
|
|
8119
|
-
color: sectionproperties.imagetextcolor,
|
|
8120
|
-
textTransform: sectionproperties.imagetexttextTransform,
|
|
8121
|
-
fontWeight: sectionproperties.imagetextfontWeight
|
|
8122
|
-
}
|
|
8123
|
-
}, lang.mywishlist)))), /*#__PURE__*/React.createElement("div", {
|
|
8117
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
8124
8118
|
className: "col-lg-12 p-0"
|
|
8125
8119
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8126
8120
|
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',
|
|
8127
8121
|
style: {
|
|
8128
|
-
|
|
8129
|
-
|
|
8130
|
-
paddingRight: sectionproperties.paddingRight + 'px',
|
|
8122
|
+
paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
|
|
8123
|
+
paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
|
|
8131
8124
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
8132
8125
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
8133
|
-
|
|
8134
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
8135
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
8136
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
8137
|
-
borderColor: sectionproperties.sectioncardbordercolor,
|
|
8138
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
8126
|
+
borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
|
|
8139
8127
|
}
|
|
8140
8128
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8141
8129
|
className: 'col-lg-12 p-0'
|
|
@@ -8145,42 +8133,137 @@ var Wishlist = function Wishlist(props) {
|
|
|
8145
8133
|
})), /*#__PURE__*/React.createElement("div", {
|
|
8146
8134
|
className: 'col-lg-12 p-0'
|
|
8147
8135
|
}, fetchFavoriteProductsQueryContext.isFetching && /*#__PURE__*/React.createElement("div", {
|
|
8148
|
-
className: "w-100
|
|
8136
|
+
className: "row m-0 w-100 align-items-center justify-content-center",
|
|
8137
|
+
style: {
|
|
8138
|
+
height: '50vh',
|
|
8139
|
+
padding: '20px'
|
|
8140
|
+
}
|
|
8141
|
+
}, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React.createElement("div", {
|
|
8142
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
8143
|
+
style: {
|
|
8144
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
8145
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
8146
|
+
}
|
|
8147
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8148
|
+
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
8149
|
+
style: {
|
|
8150
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8151
|
+
color: sectionproperties.sectionTitleColor,
|
|
8152
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8153
|
+
}
|
|
8154
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
|
|
8155
|
+
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
8156
|
+
}, /*#__PURE__*/React.createElement("table", {
|
|
8157
|
+
className: 'table'
|
|
8158
|
+
}, /*#__PURE__*/React.createElement("thead", {
|
|
8159
|
+
className: ""
|
|
8160
|
+
}, /*#__PURE__*/React.createElement("th", {
|
|
8161
|
+
className: 'mw-150 mw-md-300'
|
|
8162
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8163
|
+
"class": "my-1 is-loading"
|
|
8164
|
+
})), /*#__PURE__*/React.createElement("th", {
|
|
8165
|
+
className: "text-center",
|
|
8166
|
+
style: {
|
|
8167
|
+
minWidth: '100px'
|
|
8168
|
+
}
|
|
8169
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8170
|
+
"class": "my-1 is-loading"
|
|
8171
|
+
})), /*#__PURE__*/React.createElement("th", {
|
|
8172
|
+
className: "text-center"
|
|
8173
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8174
|
+
"class": "my-1 is-loading"
|
|
8175
|
+
}))), /*#__PURE__*/React.createElement("tbody", null, _toConsumableArray(Array(3)).map(function (item, index) {
|
|
8176
|
+
return /*#__PURE__*/React.createElement("tr", {
|
|
8177
|
+
className: ""
|
|
8178
|
+
}, /*#__PURE__*/React.createElement("td", {
|
|
8179
|
+
className: "mw-150 mw-md-300"
|
|
8180
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8181
|
+
"class": "my-1 is-loading"
|
|
8182
|
+
})), /*#__PURE__*/React.createElement("td", {
|
|
8183
|
+
className: "text-center",
|
|
8184
|
+
style: {
|
|
8185
|
+
minWidth: '100px'
|
|
8186
|
+
}
|
|
8187
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8188
|
+
"class": "my-1 is-loading"
|
|
8189
|
+
})), /*#__PURE__*/React.createElement("td", {
|
|
8190
|
+
className: "text-center",
|
|
8191
|
+
style: {
|
|
8192
|
+
minWidth: '100px'
|
|
8193
|
+
}
|
|
8194
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8195
|
+
"class": "my-1 is-loading"
|
|
8196
|
+
})));
|
|
8197
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
8198
|
+
"class": "col-lg-12 p-0 d-none d-md-flex"
|
|
8199
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8200
|
+
className: "row m-0 w-100 align-items-center justify-content-center",
|
|
8149
8201
|
style: {
|
|
8150
8202
|
height: '50vh'
|
|
8151
8203
|
}
|
|
8152
|
-
},
|
|
8153
|
-
|
|
8154
|
-
|
|
8155
|
-
|
|
8156
|
-
|
|
8157
|
-
|
|
8158
|
-
|
|
8204
|
+
}, _toConsumableArray(Array(3)).map(function (item, index) {
|
|
8205
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
8206
|
+
"class": "col-lg-12 p-0"
|
|
8207
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8208
|
+
"class": "row m-0 w-100"
|
|
8209
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8210
|
+
className: ' col-3 p-0 '
|
|
8211
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8212
|
+
className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 is-loading image '
|
|
8213
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
8214
|
+
className: "col-9 pt-2"
|
|
8215
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8216
|
+
"class": "row m-0 w-100 d-flex"
|
|
8217
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8218
|
+
"class": "col-10 p-0 mb-1"
|
|
8219
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8220
|
+
className: ' m-0 p-0 is-loading mb-auto '
|
|
8221
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
8222
|
+
"class": "col-lg-12 p-0"
|
|
8223
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8224
|
+
"class": ' m-0 p-0 is-loading '
|
|
8225
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
8226
|
+
"class": "col-lg-12 allcentered p-0 mt-4"
|
|
8227
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
8228
|
+
className: ' w-100 is-loading ',
|
|
8229
|
+
style: {
|
|
8230
|
+
height: sectionproperties.cartBtnHeight + 'px'
|
|
8231
|
+
}
|
|
8232
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
8233
|
+
"class": "col-lg-12 p-0 my-3",
|
|
8234
|
+
style: {
|
|
8235
|
+
background: '#eee',
|
|
8236
|
+
height: 1,
|
|
8237
|
+
width: '100%'
|
|
8238
|
+
}
|
|
8239
|
+
})));
|
|
8240
|
+
})))), !fetchFavoriteProductsQueryContext.isFetching && fetchFavoriteProductsQueryContext.isSuccess && /*#__PURE__*/React.createElement("div", {
|
|
8241
|
+
className: "row m-0 w-100 "
|
|
8159
8242
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8160
8243
|
className: 'col-lg-12 d-flex w-100 p-0'
|
|
8161
|
-
}, sectionproperties.pagedesign == 'Design 1 (Cards)' && /*#__PURE__*/React.createElement("div", {
|
|
8244
|
+
}, sectionproperties.pagedesign == 'Design 1 (Cards)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
8162
8245
|
className: 'row m-0 d-flex justify-content-center w-100',
|
|
8163
8246
|
style: {
|
|
8164
8247
|
background: sectionproperties.reservation_bgcolor,
|
|
8165
|
-
border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor,
|
|
8166
8248
|
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
8167
8249
|
padding: '20px',
|
|
8168
8250
|
minHeight: '70vh'
|
|
8169
8251
|
}
|
|
8170
8252
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8171
|
-
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0",
|
|
8172
|
-
style: {
|
|
8173
|
-
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
8174
|
-
}
|
|
8175
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
8253
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 mb-3",
|
|
8176
8254
|
style: {
|
|
8177
8255
|
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8178
8256
|
color: sectionproperties.sectionTitleColor,
|
|
8179
8257
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8180
8258
|
}
|
|
8181
|
-
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar
|
|
8182
|
-
className: "
|
|
8183
|
-
|
|
8259
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), /*#__PURE__*/React.createElement("div", {
|
|
8260
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0",
|
|
8261
|
+
style: {
|
|
8262
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
8263
|
+
color: sectionproperties.badge_color,
|
|
8264
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
8265
|
+
}
|
|
8266
|
+
}, fetchFavoriteProductsQueryContext.data.data.products.length, " Item(s)"), /*#__PURE__*/React.createElement("div", {
|
|
8184
8267
|
className: ' col-lg-12 co-md-12 p-0 '
|
|
8185
8268
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8186
8269
|
className: "row m-0 w-100"
|
|
@@ -8188,116 +8271,163 @@ var Wishlist = function Wishlist(props) {
|
|
|
8188
8271
|
return /*#__PURE__*/React.createElement("div", {
|
|
8189
8272
|
className: "col-lg-3 col-md-6 col-sm-12 mb-5"
|
|
8190
8273
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8191
|
-
className: "".concat(wishliststyles.wishlist_card) + ' row m-0 w-100 '
|
|
8274
|
+
className: "".concat(wishliststyles.wishlist_card) + ' row m-0 w-100 ',
|
|
8275
|
+
onClick: function onClick() {
|
|
8276
|
+
setShowProductInfoModalContext(true);
|
|
8277
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
8278
|
+
}
|
|
8192
8279
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8193
8280
|
className: "col-lg-12 d-flex align-items-center justify-content-center p-0"
|
|
8194
8281
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8195
|
-
className: "".concat(wishliststyles.image_container)
|
|
8282
|
+
className: "".concat(wishliststyles.image_container).concat(wishlist_cssstyles.prodimage)
|
|
8196
8283
|
// style={{ backgroundImage: `url(${serverbaselink + item.productmainimage})` }}
|
|
8197
8284
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
8198
8285
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
8199
8286
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
8200
|
-
path: item.productmainimage,
|
|
8287
|
+
path: '/tr:w-' + sectionproperties.prodimage__width + ',h-' + sectionproperties.prodimage__height + '/' + item.productmainimage,
|
|
8201
8288
|
style: {
|
|
8202
8289
|
width: '100%',
|
|
8203
8290
|
height: '100%',
|
|
8204
|
-
objectFit: '
|
|
8291
|
+
objectFit: 'contain'
|
|
8205
8292
|
},
|
|
8206
8293
|
loading: "lazy"
|
|
8207
8294
|
}), /*#__PURE__*/React.createElement("span", {
|
|
8208
8295
|
className: "".concat(wishliststyles.floatbtn, " ").concat(wishlist_cssstyles.trash_btn),
|
|
8209
|
-
onClick: function onClick() {
|
|
8296
|
+
onClick: function onClick(e) {
|
|
8297
|
+
e.stopPropagation();
|
|
8210
8298
|
addtofavoritescontext(item.productid);
|
|
8211
8299
|
}
|
|
8212
|
-
}, /*#__PURE__*/React.createElement(
|
|
8300
|
+
}, /*#__PURE__*/React.createElement(IoMdClose, {
|
|
8213
8301
|
size: sectionproperties.trashbtn_Textfontsize
|
|
8214
8302
|
})))), /*#__PURE__*/React.createElement("div", {
|
|
8215
8303
|
className: "col-lg-12 d-flex align-items-center justify-content-center mt-3 mb-3"
|
|
8216
8304
|
}, /*#__PURE__*/React.createElement("p", {
|
|
8217
8305
|
className: "".concat(wishlist_cssstyles.productNameStyles) + ' wordbreak text-center m-0 p-0 d-flex align-items-center justify-content-center '
|
|
8218
|
-
}, langdetect == 'en' ? item.name_en : item.name_ar)),
|
|
8306
|
+
}, langdetect == 'en' ? item.name_en : item.name_ar)), /*#__PURE__*/React.createElement("div", {
|
|
8307
|
+
className: "col-lg-12 d-flex align-items-center justify-content-center mt-3 mb-3 flex-row"
|
|
8308
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8309
|
+
"class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
8310
|
+
}, 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.createElement("p", {
|
|
8311
|
+
"class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mt-2 '
|
|
8312
|
+
}, 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.createElement("div", {
|
|
8219
8313
|
className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
8220
8314
|
}, /*#__PURE__*/React.createElement("button", {
|
|
8221
8315
|
className: " ".concat(wishlist_cssstyles.cart_btn),
|
|
8222
|
-
onClick: function onClick() {
|
|
8223
|
-
setShowProductInfoModalContext(true);
|
|
8224
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
8225
|
-
},
|
|
8226
8316
|
style: {
|
|
8227
|
-
fontSize: sectionproperties.cartBtnTextfontsize + 'px'
|
|
8317
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
8318
|
+
width: sectionproperties.cartBtnWidth + '%'
|
|
8228
8319
|
}
|
|
8229
8320
|
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
|
|
8230
|
-
})), fetchFavoriteProductsQueryContext.data.data.products.length
|
|
8231
|
-
className:
|
|
8321
|
+
})))), sectionproperties.pagedesign == 'Design 2 (Table)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
8322
|
+
className: ' row m-0 w-100 p-sm-3 ',
|
|
8232
8323
|
style: {
|
|
8233
|
-
|
|
8324
|
+
padding: '20px',
|
|
8325
|
+
minHeight: '70vh'
|
|
8234
8326
|
}
|
|
8235
8327
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8236
|
-
className: '
|
|
8237
|
-
}, /*#__PURE__*/React.createElement(
|
|
8238
|
-
|
|
8239
|
-
color: sectionproperties.noprod_iconcolor
|
|
8240
|
-
}), /*#__PURE__*/React.createElement("p", {
|
|
8241
|
-
"class": "m-0 p-0 mt-2",
|
|
8328
|
+
className: ' row m-0 w-100 d-block '
|
|
8329
|
+
}, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React.createElement("div", {
|
|
8330
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
8242
8331
|
style: {
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
8332
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
8333
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
8246
8334
|
}
|
|
8247
|
-
},
|
|
8248
|
-
|
|
8335
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8336
|
+
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
8249
8337
|
style: {
|
|
8250
|
-
|
|
8251
|
-
|
|
8252
|
-
|
|
8253
|
-
padding: '20px',
|
|
8254
|
-
minHeight: '70vh'
|
|
8338
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8339
|
+
color: sectionproperties.sectionTitleColor,
|
|
8340
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8255
8341
|
}
|
|
8256
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
8257
|
-
className: ' col-lg-12 table_responsive p-0 '
|
|
8342
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
|
|
8343
|
+
className: ' col-lg-12 table_responsive p-0 d-block d-md-none '
|
|
8258
8344
|
}, /*#__PURE__*/React.createElement("table", {
|
|
8259
|
-
className: 'table
|
|
8345
|
+
className: 'table'
|
|
8260
8346
|
}, /*#__PURE__*/React.createElement("thead", {
|
|
8261
|
-
className: ""
|
|
8347
|
+
className: ""
|
|
8348
|
+
}, /*#__PURE__*/React.createElement("th", {
|
|
8349
|
+
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',
|
|
8262
8350
|
style: {
|
|
8263
|
-
|
|
8351
|
+
color: sectionproperties.sectionTitleColor,
|
|
8352
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor
|
|
8264
8353
|
}
|
|
8265
|
-
}, /*#__PURE__*/React.createElement("th", {
|
|
8266
|
-
className:
|
|
8267
|
-
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("th", {
|
|
8268
|
-
className: "text-center font-weight-500 font-14 text-light",
|
|
8354
|
+
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("th", {
|
|
8355
|
+
className: "text-center font-weight-500 font-14",
|
|
8269
8356
|
style: {
|
|
8270
|
-
minWidth: '100px'
|
|
8357
|
+
minWidth: '100px',
|
|
8358
|
+
color: sectionproperties.sectionTitleColor,
|
|
8359
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor
|
|
8360
|
+
}
|
|
8361
|
+
}, langdetect == 'en' ? 'Unit Price' : 'السعر'), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("th", {
|
|
8362
|
+
className: "text-center font-weight-500 font-14",
|
|
8363
|
+
style: {
|
|
8364
|
+
minWidth: '100px',
|
|
8365
|
+
color: sectionproperties.sectionTitleColor,
|
|
8366
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor
|
|
8271
8367
|
}
|
|
8272
|
-
}
|
|
8273
|
-
className: "text-center font-weight-500 font-14
|
|
8274
|
-
|
|
8368
|
+
}), /*#__PURE__*/React.createElement("th", {
|
|
8369
|
+
className: "text-center font-weight-500 font-14",
|
|
8370
|
+
style: {
|
|
8371
|
+
color: sectionproperties.sectionTitleColor,
|
|
8372
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor
|
|
8373
|
+
}
|
|
8374
|
+
})), /*#__PURE__*/React.createElement("tbody", null, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
|
|
8275
8375
|
return /*#__PURE__*/React.createElement("tr", {
|
|
8276
8376
|
className: "border-none"
|
|
8277
8377
|
}, /*#__PURE__*/React.createElement("td", {
|
|
8278
|
-
className: "mw-150 mw-md-300"
|
|
8378
|
+
className: "mw-150 mw-md-300",
|
|
8379
|
+
style: {
|
|
8380
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor
|
|
8381
|
+
}
|
|
8279
8382
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8280
8383
|
className: "row m-0 w-100 d-flex"
|
|
8281
8384
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8282
8385
|
className: "".concat(wishlist_cssstyles.imagecont)
|
|
8283
|
-
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
8386
|
+
}, item.productmainimage != '' && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
8284
8387
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
8285
8388
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
8286
8389
|
path: item.productmainimage,
|
|
8287
8390
|
style: {
|
|
8288
8391
|
width: '100%',
|
|
8289
8392
|
height: '100%',
|
|
8290
|
-
objectFit: '
|
|
8393
|
+
objectFit: 'contain'
|
|
8291
8394
|
},
|
|
8292
8395
|
loading: "lazy"
|
|
8293
|
-
})
|
|
8294
|
-
|
|
8396
|
+
}), item.productmainimage == '' && /*#__PURE__*/React.createElement("div", {
|
|
8397
|
+
style: {
|
|
8398
|
+
width: '100%',
|
|
8399
|
+
height: '100%',
|
|
8400
|
+
background: '#eee',
|
|
8401
|
+
borderRadius: 10
|
|
8402
|
+
}
|
|
8403
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
8404
|
+
"class": "h-100 allcentered text-light"
|
|
8405
|
+
}, /*#__PURE__*/React.createElement(FiLayers, {
|
|
8406
|
+
size: 26
|
|
8407
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
8408
|
+
className: "col-lg-9 col-md-9 col-sm-8 pt-2"
|
|
8295
8409
|
}, /*#__PURE__*/React.createElement("p", {
|
|
8296
|
-
className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3
|
|
8297
|
-
|
|
8410
|
+
className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
|
|
8411
|
+
style: {
|
|
8412
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8413
|
+
}
|
|
8414
|
+
}, item.name_en)))), sectionproperties.prodPriceShow = /*#__PURE__*/React.createElement("td", {
|
|
8298
8415
|
className: "text-center",
|
|
8299
8416
|
style: {
|
|
8300
|
-
minWidth: '100px'
|
|
8417
|
+
minWidth: '100px',
|
|
8418
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor
|
|
8419
|
+
}
|
|
8420
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8421
|
+
"class": "row m-0 w-100 allcentered flex-column"
|
|
8422
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8423
|
+
"class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
8424
|
+
}, 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.createElement("p", {
|
|
8425
|
+
"class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mt-2 '
|
|
8426
|
+
}, 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.createElement("td", {
|
|
8427
|
+
className: "text-center",
|
|
8428
|
+
style: {
|
|
8429
|
+
minWidth: '100px',
|
|
8430
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor
|
|
8301
8431
|
}
|
|
8302
8432
|
}, /*#__PURE__*/React.createElement("button", {
|
|
8303
8433
|
className: "".concat(wishlist_cssstyles.cart_btn),
|
|
@@ -8305,29 +8435,11 @@ var Wishlist = function Wishlist(props) {
|
|
|
8305
8435
|
setShowProductInfoModalContext(true);
|
|
8306
8436
|
setProductIdProdutInfoModalContext(item.productid);
|
|
8307
8437
|
}
|
|
8308
|
-
},
|
|
8309
|
-
className: "",
|
|
8310
|
-
|
|
8311
|
-
|
|
8312
|
-
|
|
8313
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
8314
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
|
|
8315
|
-
className: "",
|
|
8316
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
8317
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(IoBagHandleOutline, {
|
|
8318
|
-
className: "",
|
|
8319
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
8320
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
8321
|
-
className: "",
|
|
8322
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
8323
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
8324
|
-
className: "",
|
|
8325
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
8326
|
-
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
8327
|
-
className: "",
|
|
8328
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
8329
|
-
}))), /*#__PURE__*/React.createElement("td", {
|
|
8330
|
-
className: "text-center"
|
|
8438
|
+
}, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React.createElement("td", {
|
|
8439
|
+
className: "text-center",
|
|
8440
|
+
style: {
|
|
8441
|
+
borderBottomColor: sectionproperties.sectioncardbordercolor
|
|
8442
|
+
}
|
|
8331
8443
|
}, /*#__PURE__*/React.createElement("button", {
|
|
8332
8444
|
className: " ".concat(wishlist_cssstyles.trash_btn) + ' d-flex align-items-center justify-content-center text-uppercase font-weight-500 m-auto ',
|
|
8333
8445
|
onClick: function onClick() {
|
|
@@ -8336,22 +8448,121 @@ var Wishlist = function Wishlist(props) {
|
|
|
8336
8448
|
style: {
|
|
8337
8449
|
fontSize: sectionproperties.trashbtn_Textfontsize + 'px'
|
|
8338
8450
|
}
|
|
8339
|
-
},
|
|
8340
|
-
|
|
8341
|
-
|
|
8451
|
+
}, /*#__PURE__*/React.createElement(IoMdClose, {
|
|
8452
|
+
size: sectionproperties.trashbtn_Textfontsize
|
|
8453
|
+
}))));
|
|
8454
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
8455
|
+
className: ' col-lg-12 p-0 d-none d-md-flex align-items-center justify-content-start '
|
|
8342
8456
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8343
|
-
className: '
|
|
8344
|
-
},
|
|
8345
|
-
|
|
8346
|
-
|
|
8347
|
-
|
|
8348
|
-
|
|
8457
|
+
className: ' row m-0 w-100 d-flex align-items-center justify-content-start '
|
|
8458
|
+
}, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
|
|
8459
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
8460
|
+
"class": "col-lg-12 p-0"
|
|
8461
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8462
|
+
"class": "row m-0 w-100"
|
|
8463
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8464
|
+
className: ' col-3 p-0 '
|
|
8465
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8466
|
+
className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 '
|
|
8467
|
+
}, item.productmainimage != '' && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
8468
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
8469
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
8470
|
+
path: item.productmainimage,
|
|
8471
|
+
style: {
|
|
8472
|
+
width: '100%',
|
|
8473
|
+
height: '100%',
|
|
8474
|
+
objectFit: 'contain'
|
|
8475
|
+
},
|
|
8476
|
+
loading: "lazy"
|
|
8477
|
+
}), item.productmainimage == '' && /*#__PURE__*/React.createElement("div", {
|
|
8478
|
+
style: {
|
|
8479
|
+
width: '100%',
|
|
8480
|
+
height: '100%',
|
|
8481
|
+
background: '#eee',
|
|
8482
|
+
borderRadius: 10
|
|
8483
|
+
}
|
|
8484
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
8485
|
+
"class": "h-100 allcentered text-light"
|
|
8486
|
+
}, /*#__PURE__*/React.createElement(FiLayers, {
|
|
8487
|
+
size: 26
|
|
8488
|
+
}))))), /*#__PURE__*/React.createElement("div", {
|
|
8489
|
+
className: "col-9 pt-2"
|
|
8490
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8491
|
+
"class": "row m-0 w-100 d-flex"
|
|
8492
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8493
|
+
"class": "col-10 p-0 d-flex align-items-center justify-content-start"
|
|
8494
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8495
|
+
className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
|
|
8496
|
+
style: {
|
|
8497
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8498
|
+
}
|
|
8499
|
+
}, item.name_en)), /*#__PURE__*/React.createElement("div", {
|
|
8500
|
+
"class": "col-2 p-0 d-flex align-items-center justify-content-end"
|
|
8501
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
8502
|
+
className: " ".concat(wishlist_cssstyles.trash_btnresp) + ' allcentered ',
|
|
8503
|
+
onClick: function onClick() {
|
|
8504
|
+
addtofavoritescontext(item.productid);
|
|
8505
|
+
}
|
|
8506
|
+
}, /*#__PURE__*/React.createElement(IoMdClose, {
|
|
8507
|
+
size: sectionproperties.trashbtn_Textfontsize
|
|
8508
|
+
}))), sectionproperties.prodPriceShow = /*#__PURE__*/React.createElement("div", {
|
|
8509
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
8510
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8511
|
+
"class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
8512
|
+
}, 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.createElement("p", {
|
|
8513
|
+
"class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mx-2 mt-auto '
|
|
8514
|
+
}, 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.createElement("div", {
|
|
8515
|
+
"class": "col-lg-12 allcentered p-0 mt-4"
|
|
8516
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
8517
|
+
className: "".concat(wishlist_cssstyles.cart_btn) + ' w-100 ',
|
|
8518
|
+
onClick: function onClick() {
|
|
8519
|
+
setShowProductInfoModalContext(true);
|
|
8520
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
8521
|
+
}
|
|
8522
|
+
}, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React.createElement("div", {
|
|
8523
|
+
"class": "col-lg-12 p-0 my-3",
|
|
8524
|
+
style: {
|
|
8525
|
+
background: '#eee',
|
|
8526
|
+
height: 1,
|
|
8527
|
+
width: '100%'
|
|
8528
|
+
}
|
|
8529
|
+
})));
|
|
8530
|
+
}))))), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React.createElement("div", {
|
|
8531
|
+
className: "row m-0 w-100 d-flex justify-content-center pb-5",
|
|
8532
|
+
style: {
|
|
8533
|
+
maxHeight: '60vh',
|
|
8534
|
+
padding: '20px'
|
|
8535
|
+
}
|
|
8536
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8537
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
8538
|
+
style: {
|
|
8539
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
8540
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
8541
|
+
}
|
|
8542
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8543
|
+
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
8544
|
+
style: {
|
|
8545
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8546
|
+
color: sectionproperties.sectionTitleColor,
|
|
8547
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8548
|
+
}
|
|
8549
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
|
|
8550
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-3 '
|
|
8551
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8552
|
+
"class": sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2',
|
|
8349
8553
|
style: {
|
|
8350
8554
|
fontWeight: sectionproperties.noprod_fontWeight,
|
|
8351
8555
|
color: sectionproperties.noprod_color,
|
|
8352
8556
|
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
8353
8557
|
}
|
|
8354
|
-
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))
|
|
8558
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)), /*#__PURE__*/React.createElement("div", {
|
|
8559
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-5 '
|
|
8560
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
8561
|
+
"class": "".concat(wishlist_cssstyles.btnstyles),
|
|
8562
|
+
onClick: function onClick() {
|
|
8563
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
8564
|
+
}
|
|
8565
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))), /*#__PURE__*/React.createElement("div", {
|
|
8355
8566
|
className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
8356
8567
|
})));
|
|
8357
8568
|
};
|
|
@@ -17344,7 +17555,7 @@ var InnerGroups = function InnerGroups(props) {
|
|
|
17344
17555
|
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; }
|
|
17345
17556
|
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(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; }
|
|
17346
17557
|
var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
17347
|
-
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
17558
|
+
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
17348
17559
|
var _useState = useState(''),
|
|
17349
17560
|
_useState2 = _slicedToArray(_useState, 2),
|
|
17350
17561
|
sectionproperties = _useState2[0],
|
|
@@ -17360,12 +17571,13 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
17360
17571
|
props.actions.lang;
|
|
17361
17572
|
var langdetect = props.actions.langdetect;
|
|
17362
17573
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
17363
|
-
props.actions.ikimagecredcontext;
|
|
17574
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
17364
17575
|
props.actions;
|
|
17365
17576
|
var _useState5 = useState(''),
|
|
17366
17577
|
_useState6 = _slicedToArray(_useState5, 2);
|
|
17367
17578
|
_useState6[0];
|
|
17368
17579
|
var setCurrentPageId = _useState6[1];
|
|
17580
|
+
var routingcountext = props.actions.routingcountext;
|
|
17369
17581
|
useEffect(function () {
|
|
17370
17582
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
17371
17583
|
var _StatePagePropertiesC;
|
|
@@ -17391,9 +17603,9 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
17391
17603
|
setFetchQueriesEngineContext(_objectSpread$25({}, tempFetchQueriesEngineContext));
|
|
17392
17604
|
}, []);
|
|
17393
17605
|
var _useState7 = useState([]),
|
|
17394
|
-
_useState8 = _slicedToArray(_useState7, 2)
|
|
17395
|
-
_useState8[0]
|
|
17396
|
-
|
|
17606
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
17607
|
+
bgimagesarray = _useState8[0],
|
|
17608
|
+
setbgimagesarray = _useState8[1];
|
|
17397
17609
|
useEffect(function () {
|
|
17398
17610
|
if (sectionproperties.length != 0) {
|
|
17399
17611
|
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
@@ -17416,11 +17628,12 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
17416
17628
|
};
|
|
17417
17629
|
var policies_cssstyles = {
|
|
17418
17630
|
containerstyle: css({
|
|
17419
|
-
|
|
17420
|
-
|
|
17421
|
-
|
|
17422
|
-
|
|
17423
|
-
|
|
17631
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
17632
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
17633
|
+
backgroundColor: sectionproperties.backgroundColor,
|
|
17634
|
+
'@media (max-width: 800px)': {
|
|
17635
|
+
paddingTop: sectionproperties.paddingtopresponsive + 'px'
|
|
17636
|
+
}
|
|
17424
17637
|
}),
|
|
17425
17638
|
sectiontitle: css({
|
|
17426
17639
|
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
@@ -17442,7 +17655,65 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
17442
17655
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17443
17656
|
className: ' col-lg-12 p-0 '
|
|
17444
17657
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17445
|
-
className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100
|
|
17658
|
+
className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 '
|
|
17659
|
+
}, sectionproperties.image_height != 0 && /*#__PURE__*/React.createElement("div", {
|
|
17660
|
+
className: "col-lg-12 p-0 d-flex justify-content-center",
|
|
17661
|
+
style: {
|
|
17662
|
+
cursor: ((_bgimagesarray$ = bgimagesarray[0]) === null || _bgimagesarray$ === void 0 ? void 0 : _bgimagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
|
|
17663
|
+
},
|
|
17664
|
+
onClick: function onClick() {
|
|
17665
|
+
var _bgimagesarray$2;
|
|
17666
|
+
if (((_bgimagesarray$2 = bgimagesarray[0]) === null || _bgimagesarray$2 === void 0 ? void 0 : _bgimagesarray$2.IsClickable) == 'Yes') {
|
|
17667
|
+
var _bgimagesarray$3, _bgimagesarray$4;
|
|
17668
|
+
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) {
|
|
17669
|
+
routingcountext(bgimagesarray[0].clickable_page_route, false, '');
|
|
17670
|
+
} else {
|
|
17671
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
|
|
17672
|
+
}
|
|
17673
|
+
}
|
|
17674
|
+
}
|
|
17675
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
17676
|
+
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
|
|
17677
|
+
style: {
|
|
17678
|
+
width: sectionproperties.image_width + 'vw',
|
|
17679
|
+
height: 'auto',
|
|
17680
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
17681
|
+
position: 'relative'
|
|
17682
|
+
}
|
|
17683
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
17684
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
17685
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
17686
|
+
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) : '',
|
|
17687
|
+
"class": "d-flex d-sm-none",
|
|
17688
|
+
style: {
|
|
17689
|
+
height: '100%',
|
|
17690
|
+
width: '100%',
|
|
17691
|
+
margin: 0,
|
|
17692
|
+
padding: 0,
|
|
17693
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
17694
|
+
zIndex: -1,
|
|
17695
|
+
objectFit: 'contain'
|
|
17696
|
+
}
|
|
17697
|
+
}), /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
17698
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
17699
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
17700
|
+
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) : '',
|
|
17701
|
+
"class": "d-none d-sm-flex",
|
|
17702
|
+
style: {
|
|
17703
|
+
height: '100%',
|
|
17704
|
+
width: '100%',
|
|
17705
|
+
margin: 0,
|
|
17706
|
+
padding: 0,
|
|
17707
|
+
objectFit: sectionproperties.bgcovercontainresponsive,
|
|
17708
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
17709
|
+
zIndex: -1
|
|
17710
|
+
}
|
|
17711
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
17712
|
+
"class": "row m-0 w-100 pl-md-4 pr-md-4",
|
|
17713
|
+
style: {
|
|
17714
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
17715
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
17716
|
+
}
|
|
17446
17717
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17447
17718
|
"class": ' col-lg-12 p-0 text-start '
|
|
17448
17719
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -17461,13 +17732,13 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
17461
17732
|
style: {
|
|
17462
17733
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
17463
17734
|
}
|
|
17464
|
-
})))));
|
|
17735
|
+
}))))));
|
|
17465
17736
|
};
|
|
17466
17737
|
|
|
17467
17738
|
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; }
|
|
17468
17739
|
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(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; }
|
|
17469
17740
|
var RefundPolicy = function RefundPolicy(props) {
|
|
17470
|
-
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
17741
|
+
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
17471
17742
|
var _useState = useState(''),
|
|
17472
17743
|
_useState2 = _slicedToArray(_useState, 2),
|
|
17473
17744
|
sectionproperties = _useState2[0],
|
|
@@ -17483,12 +17754,13 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
17483
17754
|
props.actions.lang;
|
|
17484
17755
|
var langdetect = props.actions.langdetect;
|
|
17485
17756
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
17486
|
-
props.actions.ikimagecredcontext;
|
|
17757
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
17487
17758
|
props.actions;
|
|
17488
17759
|
var _useState5 = useState(''),
|
|
17489
17760
|
_useState6 = _slicedToArray(_useState5, 2);
|
|
17490
17761
|
_useState6[0];
|
|
17491
17762
|
var setCurrentPageId = _useState6[1];
|
|
17763
|
+
var routingcountext = props.actions.routingcountext;
|
|
17492
17764
|
useEffect(function () {
|
|
17493
17765
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
17494
17766
|
var _StatePagePropertiesC;
|
|
@@ -17514,9 +17786,9 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
17514
17786
|
setFetchQueriesEngineContext(_objectSpread$24({}, tempFetchQueriesEngineContext));
|
|
17515
17787
|
}, []);
|
|
17516
17788
|
var _useState7 = useState([]),
|
|
17517
|
-
_useState8 = _slicedToArray(_useState7, 2)
|
|
17518
|
-
_useState8[0]
|
|
17519
|
-
|
|
17789
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
17790
|
+
bgimagesarray = _useState8[0],
|
|
17791
|
+
setbgimagesarray = _useState8[1];
|
|
17520
17792
|
useEffect(function () {
|
|
17521
17793
|
if (sectionproperties.length != 0) {
|
|
17522
17794
|
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
@@ -17539,11 +17811,12 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
17539
17811
|
};
|
|
17540
17812
|
var policies_cssstyles = {
|
|
17541
17813
|
containerstyle: css({
|
|
17542
|
-
|
|
17543
|
-
|
|
17544
|
-
|
|
17545
|
-
|
|
17546
|
-
|
|
17814
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
17815
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
17816
|
+
backgroundColor: sectionproperties.backgroundColor,
|
|
17817
|
+
'@media (max-width: 800px)': {
|
|
17818
|
+
paddingTop: sectionproperties.paddingtopresponsive + 'px'
|
|
17819
|
+
}
|
|
17547
17820
|
}),
|
|
17548
17821
|
sectiontitle: css({
|
|
17549
17822
|
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
@@ -17565,7 +17838,65 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
17565
17838
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17566
17839
|
className: ' col-lg-12 p-0 '
|
|
17567
17840
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17568
|
-
className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100
|
|
17841
|
+
className: policies_cssstyles.containerstyle + ' row ml-0 mr-0 w-100 '
|
|
17842
|
+
}, sectionproperties.image_height != 0 && /*#__PURE__*/React.createElement("div", {
|
|
17843
|
+
className: "col-lg-12 p-0 d-flex justify-content-center",
|
|
17844
|
+
style: {
|
|
17845
|
+
cursor: ((_bgimagesarray$ = bgimagesarray[0]) === null || _bgimagesarray$ === void 0 ? void 0 : _bgimagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
|
|
17846
|
+
},
|
|
17847
|
+
onClick: function onClick() {
|
|
17848
|
+
var _bgimagesarray$2;
|
|
17849
|
+
if (((_bgimagesarray$2 = bgimagesarray[0]) === null || _bgimagesarray$2 === void 0 ? void 0 : _bgimagesarray$2.IsClickable) == 'Yes') {
|
|
17850
|
+
var _bgimagesarray$3, _bgimagesarray$4;
|
|
17851
|
+
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) {
|
|
17852
|
+
routingcountext(bgimagesarray[0].clickable_page_route, false, '');
|
|
17853
|
+
} else {
|
|
17854
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
|
|
17855
|
+
}
|
|
17856
|
+
}
|
|
17857
|
+
}
|
|
17858
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
17859
|
+
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
|
|
17860
|
+
style: {
|
|
17861
|
+
width: sectionproperties.image_width + 'vw',
|
|
17862
|
+
height: 'auto',
|
|
17863
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
17864
|
+
position: 'relative'
|
|
17865
|
+
}
|
|
17866
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
17867
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
17868
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
17869
|
+
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) : '',
|
|
17870
|
+
"class": "d-flex d-sm-none",
|
|
17871
|
+
style: {
|
|
17872
|
+
height: '100%',
|
|
17873
|
+
width: '100%',
|
|
17874
|
+
margin: 0,
|
|
17875
|
+
padding: 0,
|
|
17876
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
17877
|
+
zIndex: -1,
|
|
17878
|
+
objectFit: 'contain'
|
|
17879
|
+
}
|
|
17880
|
+
}), /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
17881
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
17882
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
17883
|
+
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) : '',
|
|
17884
|
+
"class": "d-none d-sm-flex",
|
|
17885
|
+
style: {
|
|
17886
|
+
height: '100%',
|
|
17887
|
+
width: '100%',
|
|
17888
|
+
margin: 0,
|
|
17889
|
+
padding: 0,
|
|
17890
|
+
objectFit: sectionproperties.bgcovercontainresponsive,
|
|
17891
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
17892
|
+
zIndex: -1
|
|
17893
|
+
}
|
|
17894
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
17895
|
+
"class": "row m-0 w-100 pl-md-4 pr-md-4",
|
|
17896
|
+
style: {
|
|
17897
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
17898
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
17899
|
+
}
|
|
17569
17900
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17570
17901
|
"class": ' col-lg-12 p-0 text-start '
|
|
17571
17902
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -17584,7 +17915,7 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
17584
17915
|
style: {
|
|
17585
17916
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
17586
17917
|
}
|
|
17587
|
-
})))));
|
|
17918
|
+
}))))));
|
|
17588
17919
|
};
|
|
17589
17920
|
|
|
17590
17921
|
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; }
|