tabexseriescomponents 0.0.236 → 0.0.237
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 +458 -253
- package/dist/index.esm.js +458 -253
- package/dist/index.umd.js +461 -255
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -53,6 +53,7 @@ var VscGlobe = require('@react-icons/all-files/vsc/VscGlobe');
|
|
|
53
53
|
var FiLayers = require('@react-icons/all-files/fi/FiLayers');
|
|
54
54
|
var HiOutlineTrash = require('@react-icons/all-files/hi/HiOutlineTrash');
|
|
55
55
|
var BiSad = require('@react-icons/all-files/bi/BiSad');
|
|
56
|
+
var FiCalendar = require('@react-icons/all-files/fi/FiCalendar');
|
|
56
57
|
var TextareaAutosize = require('react-textarea-autosize');
|
|
57
58
|
var HiUser = require('@react-icons/all-files/hi/HiUser');
|
|
58
59
|
var GrMail = require('@react-icons/all-files/gr/GrMail');
|
|
@@ -77,8 +78,6 @@ var FiChevronLeft = require('@react-icons/all-files/fi/FiChevronLeft');
|
|
|
77
78
|
var FiChevronRight = require('@react-icons/all-files/fi/FiChevronRight');
|
|
78
79
|
var ReactPaginate = require('react-paginate');
|
|
79
80
|
var BiGlobe = require('@react-icons/all-files/bi/BiGlobe');
|
|
80
|
-
require('@react-icons/all-files/hi/HiOutlinePlus');
|
|
81
|
-
require('@react-icons/all-files/ai/AiOutlineMinus');
|
|
82
81
|
var MdKeyboardArrowDown = require('@react-icons/all-files/md/MdKeyboardArrowDown');
|
|
83
82
|
var FaMoneyBillWave = require('@react-icons/all-files/fa/FaMoneyBillWave');
|
|
84
83
|
var BiLogOutCircle = require('@react-icons/all-files/bi/BiLogOutCircle');
|
|
@@ -1734,7 +1733,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1734
1733
|
function ownKeys$1Z(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
1735
1734
|
function _objectSpread$1Z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1Z(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1Z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1736
1735
|
var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
1737
|
-
var _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24
|
|
1736
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24;
|
|
1738
1737
|
var langdetect = props.actions.langdetect;
|
|
1739
1738
|
var lang = props.actions.lang;
|
|
1740
1739
|
var sectionproperties = props.actions.sectionproperties;
|
|
@@ -1771,6 +1770,36 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
1771
1770
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
1772
1771
|
slots = _useState6[0],
|
|
1773
1772
|
setslots = _useState6[1];
|
|
1773
|
+
React.useEffect(function () {
|
|
1774
|
+
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1775
|
+
item_type: 'service'
|
|
1776
|
+
}));
|
|
1777
|
+
}, [tabsarray]);
|
|
1778
|
+
React.useEffect(function () {
|
|
1779
|
+
var date1 = new Date(addtocardpayloadobj.from);
|
|
1780
|
+
var date2 = new Date(addtocardpayloadobj.to);
|
|
1781
|
+
var diffTime = Math.abs(date2 - date1);
|
|
1782
|
+
var diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24));
|
|
1783
|
+
if (diffDays.toString() != 'NaN') {
|
|
1784
|
+
if (date2 <= date1) {
|
|
1785
|
+
NotificationManager.warning('', 'Please choose another date.');
|
|
1786
|
+
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1787
|
+
quantity: 0
|
|
1788
|
+
}));
|
|
1789
|
+
} else {
|
|
1790
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
|
|
1791
|
+
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1792
|
+
quantity: diffDays
|
|
1793
|
+
}));
|
|
1794
|
+
} else {
|
|
1795
|
+
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1796
|
+
quantity: 0
|
|
1797
|
+
}));
|
|
1798
|
+
NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
1799
|
+
}
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
}, [addtocardpayloadobj.from, addtocardpayloadobj.to]);
|
|
1774
1803
|
var TabsStyles = {
|
|
1775
1804
|
sidebar_item: glamor.css({
|
|
1776
1805
|
background: sectionproperties.tabcontainerbgcolor,
|
|
@@ -1827,16 +1856,6 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
1827
1856
|
booknow_btn_disabled: glamor.css({
|
|
1828
1857
|
opacity: 0.3
|
|
1829
1858
|
}),
|
|
1830
|
-
timeLabel: glamor.css({
|
|
1831
|
-
color: sectionproperties.time_laelColor,
|
|
1832
|
-
fontWeight: sectionproperties.time_labelFonweight,
|
|
1833
|
-
fontSize: sectionproperties.time_labelFontsize + 'px'
|
|
1834
|
-
}),
|
|
1835
|
-
time: glamor.css({
|
|
1836
|
-
color: sectionproperties.time_timeColor,
|
|
1837
|
-
fontWeight: sectionproperties.time_timeFontweight,
|
|
1838
|
-
fontSize: sectionproperties.time_timeFontsize + 'px'
|
|
1839
|
-
}),
|
|
1840
1859
|
inputfield_label: glamor.css({
|
|
1841
1860
|
color: sectionproperties.form_labelcolor,
|
|
1842
1861
|
fontWeight: sectionproperties.form_labelfontweight,
|
|
@@ -1853,43 +1872,45 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
1853
1872
|
':focus': {
|
|
1854
1873
|
borderColor: sectionproperties.inputfeildbordercoloronfocus
|
|
1855
1874
|
}
|
|
1875
|
+
}),
|
|
1876
|
+
timeSlotContainer: glamor.css({
|
|
1877
|
+
minWidth: '6vh',
|
|
1878
|
+
height: '5vh',
|
|
1879
|
+
borderRadius: sectionproperties.time_borderRadius + 'px',
|
|
1880
|
+
backgroundColor: sectionproperties.time_bgcolor,
|
|
1881
|
+
border: sectionproperties.time_borderwidth + 'px solid ' + sectionproperties.time_borderColor,
|
|
1882
|
+
color: sectionproperties.time_timeColor,
|
|
1883
|
+
fontWeight: sectionproperties.time_timeFontweight,
|
|
1884
|
+
fontSize: sectionproperties.time_timeFontsize + 'px',
|
|
1885
|
+
':hover': {
|
|
1886
|
+
transition: '.3s',
|
|
1887
|
+
backgroundColor: sectionproperties.time_secondarybgcolor,
|
|
1888
|
+
color: sectionproperties.time_secondarycolor,
|
|
1889
|
+
borderColor: sectionproperties.time_secondarycolor
|
|
1890
|
+
}
|
|
1891
|
+
}),
|
|
1892
|
+
timeSlotContainer_active: glamor.css({
|
|
1893
|
+
minWidth: '6vh',
|
|
1894
|
+
height: '5vh',
|
|
1895
|
+
borderRadius: sectionproperties.time_borderRadius + 'px',
|
|
1896
|
+
backgroundColor: sectionproperties.time_activebgcolor,
|
|
1897
|
+
border: sectionproperties.time_borderwidth + 'px solid ' + sectionproperties.time_timeactiveColor,
|
|
1898
|
+
color: sectionproperties.time_timeactiveColor,
|
|
1899
|
+
fontWeight: sectionproperties.time_timeFontweight,
|
|
1900
|
+
fontSize: sectionproperties.time_timeFontsize + 'px',
|
|
1901
|
+
':hover': {
|
|
1902
|
+
transition: '.3s',
|
|
1903
|
+
backgroundColor: sectionproperties.time_secondarybgcolor,
|
|
1904
|
+
color: sectionproperties.time_secondarycolor,
|
|
1905
|
+
borderColor: sectionproperties.time_secondarycolor
|
|
1906
|
+
}
|
|
1856
1907
|
})
|
|
1857
1908
|
};
|
|
1858
|
-
React.useEffect(function () {
|
|
1859
|
-
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1860
|
-
item_type: 'service'
|
|
1861
|
-
}));
|
|
1862
|
-
}, [tabsarray]);
|
|
1863
|
-
React.useEffect(function () {
|
|
1864
|
-
var date1 = new Date(addtocardpayloadobj.from);
|
|
1865
|
-
var date2 = new Date(addtocardpayloadobj.to);
|
|
1866
|
-
var diffTime = Math.abs(date2 - date1);
|
|
1867
|
-
var diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24));
|
|
1868
|
-
if (diffDays.toString() != 'NaN') {
|
|
1869
|
-
if (date2 <= date1) {
|
|
1870
|
-
NotificationManager.warning('', 'Please choose another date.');
|
|
1871
|
-
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1872
|
-
quantity: 0
|
|
1873
|
-
}));
|
|
1874
|
-
} else {
|
|
1875
|
-
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
|
|
1876
|
-
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1877
|
-
quantity: diffDays
|
|
1878
|
-
}));
|
|
1879
|
-
} else {
|
|
1880
|
-
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1881
|
-
quantity: 0
|
|
1882
|
-
}));
|
|
1883
|
-
NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
1884
|
-
}
|
|
1885
|
-
}
|
|
1886
|
-
}
|
|
1887
|
-
}, [addtocardpayloadobj.from, addtocardpayloadobj.to]);
|
|
1888
1909
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1889
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1910
|
+
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : (_fetchProductInfoQuer4 = _fetchProductInfoQuer3.serviceinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.scheduletype) == 'minutes' ? 'col-lg-12 mt-3 p-0' : 'col-lg-10 mt-3 p-0'
|
|
1890
1911
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1891
1912
|
"class": "row m-0 w-100"
|
|
1892
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1913
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : (_fetchProductInfoQuer6 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : (_fetchProductInfoQuer7 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.serviceinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.scheduletype) == 'days' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1893
1914
|
"class": "row m-0 w-100"
|
|
1894
1915
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1895
1916
|
"class": "col-lg-6 col-md-12 col-sm-12 mb-2 pl-1 pr-1"
|
|
@@ -1904,8 +1925,8 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
1904
1925
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
1905
1926
|
type: "date",
|
|
1906
1927
|
"class": TabsStyles.inputfield + ' w-100 allcentered pl-1 pr-1 ',
|
|
1907
|
-
min: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1908
|
-
max: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1928
|
+
min: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : (_fetchProductInfoQuer10 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.serviceinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.reservationstarts,
|
|
1929
|
+
max: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : (_fetchProductInfoQuer14 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : (_fetchProductInfoQuer15 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : (_fetchProductInfoQuer16 = _fetchProductInfoQuer15.serviceinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.reservationends,
|
|
1909
1930
|
onChange: function onChange(event) {
|
|
1910
1931
|
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1911
1932
|
from: event.target.value
|
|
@@ -1931,7 +1952,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
1931
1952
|
to: event.target.value
|
|
1932
1953
|
}));
|
|
1933
1954
|
}
|
|
1934
|
-
}))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1955
|
+
}))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : (_fetchProductInfoQuer18 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : (_fetchProductInfoQuer19 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : (_fetchProductInfoQuer20 = _fetchProductInfoQuer19.serviceinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.scheduletype) == 'minutes' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1935
1956
|
"class": "col-lg-12 col-md-12 col-sm-12 mb-2"
|
|
1936
1957
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1937
1958
|
"class": "row m-0 w-100"
|
|
@@ -1964,7 +1985,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
1964
1985
|
"class": "col-lg-12 col-md-12 col-sm-12"
|
|
1965
1986
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1966
1987
|
"class": TabsStyles.inputfield_label + ' p-0 d-flex justify-content-start m-0 '
|
|
1967
|
-
},
|
|
1988
|
+
}, langdetect == 'en' ? sectionproperties.reservationslot_titleen : sectionproperties.reservationslot_titlear), GeneralAPIMutationContext.isLoading && GeneralAPIMutationContext.variables.endpointurl == '/fetchserviceslots' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1968
1989
|
className: 'row ml-0 mr-0 w-100 allcentered',
|
|
1969
1990
|
style: {
|
|
1970
1991
|
height: 200
|
|
@@ -1974,7 +1995,9 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
1974
1995
|
width: "10px",
|
|
1975
1996
|
height: "10px",
|
|
1976
1997
|
duration: "1s"
|
|
1977
|
-
})),
|
|
1998
|
+
})), sectionproperties.slots_style == 'Horizontal' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1999
|
+
"class": "w-100"
|
|
2000
|
+
}, slots.map(function (item, index) {
|
|
1978
2001
|
var ischoosed = false;
|
|
1979
2002
|
if (item.slot == addtocardpayloadobj.time) {
|
|
1980
2003
|
ischoosed = true;
|
|
@@ -2034,11 +2057,31 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2034
2057
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
2035
2058
|
"class": "m-0 mb-3 mt-3"
|
|
2036
2059
|
})));
|
|
2037
|
-
}))
|
|
2060
|
+
})), sectionproperties.slots_style == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2061
|
+
"class": "row m-0 w-100 mb-4 mt-3"
|
|
2062
|
+
}, slots.map(function (item, index) {
|
|
2063
|
+
var ischoosed = false;
|
|
2064
|
+
if (item.slot == addtocardpayloadobj.time) {
|
|
2065
|
+
ischoosed = true;
|
|
2066
|
+
}
|
|
2067
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2068
|
+
"class": "col-lg-2 col-md-2 col-sm-4 pl-1 pr-1 mb-2"
|
|
2069
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2070
|
+
"class": ischoosed == true ? TabsStyles.timeSlotContainer_active + ' allcentered cursor-pointer px-1 ' : TabsStyles.timeSlotContainer + ' allcentered cursor-pointer px-1 ',
|
|
2071
|
+
style: {},
|
|
2072
|
+
onClick: function onClick() {
|
|
2073
|
+
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
2074
|
+
time: item.slot
|
|
2075
|
+
}));
|
|
2076
|
+
}
|
|
2077
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2078
|
+
"class": ' p-0 m-0 '
|
|
2079
|
+
}, item.slot)));
|
|
2080
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2038
2081
|
className: "col-lg-12 p-0 mb-3"
|
|
2039
2082
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2040
2083
|
className: "row m-0 w-100"
|
|
2041
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2084
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : (_fetchProductInfoQuer22 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : (_fetchProductInfoQuer23 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : (_fetchProductInfoQuer24 = _fetchProductInfoQuer23.serviceinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.scheduletype) == 'days' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2042
2085
|
className: "col-lg-12 p-0"
|
|
2043
2086
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2044
2087
|
className: "row m-0 w-100"
|
|
@@ -2098,12 +2141,12 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2098
2141
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2099
2142
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 ',
|
|
2100
2143
|
onClick: function onClick() {
|
|
2101
|
-
var
|
|
2102
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2144
|
+
var _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32;
|
|
2145
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : (_fetchProductInfoQuer26 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : (_fetchProductInfoQuer27 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : (_fetchProductInfoQuer28 = _fetchProductInfoQuer27.serviceinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.scheduletype) == 'days') {
|
|
2103
2146
|
if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
|
|
2104
2147
|
addtocartfunc();
|
|
2105
2148
|
}
|
|
2106
|
-
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2149
|
+
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : (_fetchProductInfoQuer30 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : (_fetchProductInfoQuer31 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : (_fetchProductInfoQuer32 = _fetchProductInfoQuer31.serviceinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.scheduletype) == 'minutes') {
|
|
2107
2150
|
if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
|
|
2108
2151
|
addtocartfunc();
|
|
2109
2152
|
}
|
|
@@ -2175,12 +2218,12 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2175
2218
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2176
2219
|
className: "".concat(productinfo_cssstyles.cart_btn) + ' w-100 d-flex align-items-center justify-content-center ',
|
|
2177
2220
|
onClick: function onClick() {
|
|
2178
|
-
var
|
|
2179
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2221
|
+
var _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40;
|
|
2222
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : (_fetchProductInfoQuer34 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : (_fetchProductInfoQuer35 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : (_fetchProductInfoQuer36 = _fetchProductInfoQuer35.serviceinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.scheduletype) == 'days') {
|
|
2180
2223
|
if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
|
|
2181
2224
|
addtocartfunc();
|
|
2182
2225
|
}
|
|
2183
|
-
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2226
|
+
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : (_fetchProductInfoQuer38 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : (_fetchProductInfoQuer39 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : (_fetchProductInfoQuer40 = _fetchProductInfoQuer39.serviceinfo) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.scheduletype) == 'minutes') {
|
|
2184
2227
|
if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
|
|
2185
2228
|
addtocartfunc();
|
|
2186
2229
|
}
|
|
@@ -2254,13 +2297,13 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2254
2297
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2255
2298
|
className: "".concat(productinfo_cssstyles.checkoutbtn, " ") + ' d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 ',
|
|
2256
2299
|
onClick: function onClick() {
|
|
2257
|
-
var
|
|
2258
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2300
|
+
var _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48;
|
|
2301
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : (_fetchProductInfoQuer42 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : (_fetchProductInfoQuer43 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : (_fetchProductInfoQuer44 = _fetchProductInfoQuer43.serviceinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.scheduletype) == 'days') {
|
|
2259
2302
|
if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
|
|
2260
2303
|
addtocartfunc();
|
|
2261
2304
|
routingcountext(StaticPagesLinksContext.Checkout);
|
|
2262
2305
|
}
|
|
2263
|
-
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2306
|
+
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : (_fetchProductInfoQuer46 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : (_fetchProductInfoQuer47 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : (_fetchProductInfoQuer48 = _fetchProductInfoQuer47.serviceinfo) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.scheduletype) == 'minutes') {
|
|
2264
2307
|
if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
|
|
2265
2308
|
addtocartfunc();
|
|
2266
2309
|
routingcountext(StaticPagesLinksContext.Checkout);
|
|
@@ -2278,11 +2321,8 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2278
2321
|
var lang = props.actions.lang;
|
|
2279
2322
|
var langdetect = props.actions.langdetect;
|
|
2280
2323
|
var srcfromprops = props.actions.srcfromprops;
|
|
2281
|
-
props.actions.returnpolicyobj;
|
|
2282
2324
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
2283
2325
|
var addtocartfunc = props.actions.addtocartfunc;
|
|
2284
|
-
props.actions.selectproductoptionvalue;
|
|
2285
|
-
props.actions.relatedproducts;
|
|
2286
2326
|
var productimagesarray = props.actions.productimagesarray;
|
|
2287
2327
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
2288
2328
|
var sectionproperties = props.actions.sectionproperties;
|
|
@@ -2292,29 +2332,24 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2292
2332
|
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
2293
2333
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
2294
2334
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
2295
|
-
props.actions.addtofavoritescontext;
|
|
2335
|
+
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
2296
2336
|
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
2297
2337
|
var NotificationManager = props.actions.NotificationManager;
|
|
2298
2338
|
var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
|
|
2299
2339
|
var quantityconditionfoundobjprops = props.actions.quantityconditionfoundobjprops;
|
|
2300
|
-
props.actions.getQuantityCondition;
|
|
2301
2340
|
var StoreInfoprops = props.actions.StoreInfoprops;
|
|
2302
|
-
var _useState = React.useState(
|
|
2303
|
-
_useState2 = _slicedToArray__default["default"](_useState, 2)
|
|
2304
|
-
_useState2[0]
|
|
2305
|
-
_useState2[1];
|
|
2341
|
+
var _useState = React.useState(''),
|
|
2342
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
2343
|
+
shareUrl = _useState2[0],
|
|
2344
|
+
setshareUrl = _useState2[1];
|
|
2306
2345
|
var _useState3 = React.useState(''),
|
|
2307
|
-
_useState4 = _slicedToArray__default["default"](_useState3, 2)
|
|
2308
|
-
_useState4[0]
|
|
2309
|
-
|
|
2310
|
-
var _useState5 = React.useState(
|
|
2346
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
2347
|
+
title = _useState4[0],
|
|
2348
|
+
settitle = _useState4[1];
|
|
2349
|
+
var _useState5 = React.useState(fetchProductInfoQueryContext.data.data.productinfo),
|
|
2311
2350
|
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
2312
2351
|
_useState6[0];
|
|
2313
|
-
var
|
|
2314
|
-
var _useState7 = React.useState(fetchProductInfoQueryContext.data.data.productinfo),
|
|
2315
|
-
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
2316
|
-
_useState8[0];
|
|
2317
|
-
var setitem = _useState8[1];
|
|
2352
|
+
var setitem = _useState6[1];
|
|
2318
2353
|
React.useEffect(function () {
|
|
2319
2354
|
var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
|
|
2320
2355
|
if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
|
|
@@ -2379,7 +2414,46 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2379
2414
|
showNav: false,
|
|
2380
2415
|
showPlayButton: false,
|
|
2381
2416
|
showFullscreenButton: true
|
|
2417
|
+
})), sectionproperties.showShareButton == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2418
|
+
"class": "col-lg-12 d-flex justify-content-center flex-column align-items-center p-0 mt-2"
|
|
2419
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2420
|
+
"class": "m-0 p-0",
|
|
2421
|
+
style: {
|
|
2422
|
+
fontWeight: sectionproperties.sharebtn_FontWeight,
|
|
2423
|
+
color: sectionproperties.sharebtn_color,
|
|
2424
|
+
fontSize: sectionproperties.sharebtn_fontSize + 'px'
|
|
2425
|
+
}
|
|
2426
|
+
}, langdetect == 'en' ? sectionproperties.sharebtn_contentEn : sectionproperties.sharebtn_contentAr), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2427
|
+
className: "Demo__container w-100 m-0 allcentered mt-3"
|
|
2428
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2429
|
+
className: "Demo__some-network ml-2 mr-2"
|
|
2430
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactShare.FacebookShareButton, {
|
|
2431
|
+
url: shareUrl,
|
|
2432
|
+
quote: title,
|
|
2433
|
+
className: "Demo__some-network__share-button"
|
|
2434
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactShare.FacebookIcon, {
|
|
2435
|
+
size: 40,
|
|
2436
|
+
round: true
|
|
2437
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2438
|
+
className: "Demo__some-network ml-2 mr-2"
|
|
2439
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactShare.TwitterShareButton, {
|
|
2440
|
+
url: shareUrl,
|
|
2441
|
+
title: title,
|
|
2442
|
+
className: "Demo__some-network__share-button"
|
|
2443
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactShare.TwitterIcon, {
|
|
2444
|
+
size: 40,
|
|
2445
|
+
round: true
|
|
2382
2446
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2447
|
+
className: "Demo__some-network ml-2 mr-2"
|
|
2448
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappShareButton, {
|
|
2449
|
+
url: shareUrl,
|
|
2450
|
+
title: title,
|
|
2451
|
+
separator: ":: ",
|
|
2452
|
+
className: "Demo__some-network__share-button"
|
|
2453
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappIcon, {
|
|
2454
|
+
size: 40,
|
|
2455
|
+
round: true
|
|
2456
|
+
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2383
2457
|
className: langdetect == 'en' ? sectionproperties.galleryNumberOfCols == 4 ? 'col-xl-8 col-lg-8 col-md-12 col-sm-12 pl-4 pr-0 p-md-0' : 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-4 pr-0 p-md-0' : sectionproperties.galleryNumberOfCols == 4 ? 'col-xl-8 col-lg-8 col-md-12 col-sm-12 pl-0 pr-4 p-md-0' : 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-0 pr-4 p-md-0'
|
|
2384
2458
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2385
2459
|
"class": "row m-0 w-100"
|
|
@@ -2579,7 +2653,8 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2579
2653
|
getprice_discountpriceprops: getprice_discountpriceprops,
|
|
2580
2654
|
authdetailsContext: authdetailsContext,
|
|
2581
2655
|
routingcountext: routingcountext,
|
|
2582
|
-
StaticPagesLinksContext: StaticPagesLinksContext
|
|
2656
|
+
StaticPagesLinksContext: StaticPagesLinksContext,
|
|
2657
|
+
addtofavoritescontext: addtofavoritescontext
|
|
2583
2658
|
}
|
|
2584
2659
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2585
2660
|
className: langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0' : 'col-lg-3 pl-0 border-md-none p-md-0',
|
|
@@ -3101,6 +3176,11 @@ var Productinfo = function Productinfo(props) {
|
|
|
3101
3176
|
textAlign: 'start'
|
|
3102
3177
|
}),
|
|
3103
3178
|
cart_btn: glamor.css({
|
|
3179
|
+
position: 'relative',
|
|
3180
|
+
display: 'flex',
|
|
3181
|
+
alignItems: 'center',
|
|
3182
|
+
justifyContent: 'center',
|
|
3183
|
+
overflow: 'hidden',
|
|
3104
3184
|
width: sectionproperties.cartBtnWidth + 'px',
|
|
3105
3185
|
height: sectionproperties.cartBtnHeight + 'px',
|
|
3106
3186
|
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
@@ -3110,18 +3190,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
3110
3190
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
3111
3191
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
3112
3192
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
3113
|
-
transition: '.3s',
|
|
3114
|
-
opacity: sectionproperties.cartbtn_opacity,
|
|
3115
|
-
display: 'flex',
|
|
3116
|
-
alignItems: 'center',
|
|
3117
|
-
justifyContent: 'center',
|
|
3118
|
-
overflow: 'hidden',
|
|
3119
3193
|
margin: 0,
|
|
3120
|
-
|
|
3194
|
+
transition: '.3s',
|
|
3121
3195
|
':hover': {
|
|
3122
3196
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
3123
3197
|
color: sectionproperties.cartBtnTextcoloronhover,
|
|
3124
|
-
|
|
3198
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
3125
3199
|
}
|
|
3126
3200
|
}),
|
|
3127
3201
|
quantitybtn: glamor.css({
|
|
@@ -3553,7 +3627,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
3553
3627
|
srcfromprops: props.srcfromprops
|
|
3554
3628
|
}, _defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), _defineProperty__default["default"](_ref2, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty__default["default"](_ref2, "addtocartfunc", addtocartfunc), _defineProperty__default["default"](_ref2, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty__default["default"](_ref2, "productimagesarray", productimagesarray), _defineProperty__default["default"](_ref2, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty__default["default"](_ref2, "sectionproperties", sectionproperties), _defineProperty__default["default"](_ref2, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty__default["default"](_ref2, "routingcountext", routingcountext), _defineProperty__default["default"](_ref2, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty__default["default"](_ref2, "authdetailsContext", authdetailsContext), _defineProperty__default["default"](_ref2, "addtofavoritescontext", addtofavoritescontext), _defineProperty__default["default"](_ref2, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty__default["default"](_ref2, "variantindexcompleted", variantindexcompleted), _defineProperty__default["default"](_ref2, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_ref2, "NotificationManager", NotificationManager), _defineProperty__default["default"](_ref2, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty__default["default"](_ref2, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), _defineProperty__default["default"](_ref2, "getQuantityCondition", getQuantityCondition), _defineProperty__default["default"](_ref2, "StoreInfoprops", StoreInfo), _ref2)
|
|
3555
3629
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3556
|
-
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
3630
|
+
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
3557
3631
|
style: {
|
|
3558
3632
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
3559
3633
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0
|
|
@@ -3820,6 +3894,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
3820
3894
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
3821
3895
|
transition: '.3s',
|
|
3822
3896
|
':hover': {
|
|
3897
|
+
transition: '.3s',
|
|
3823
3898
|
background: sectionproperties.cartBtnbgColoronhover,
|
|
3824
3899
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
3825
3900
|
}
|
|
@@ -3829,6 +3904,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
3829
3904
|
background: sectionproperties.navcontbg_color,
|
|
3830
3905
|
borderRadius: sectionproperties.navcontborderbl + 'px',
|
|
3831
3906
|
':hover': {
|
|
3907
|
+
transition: '.3s',
|
|
3832
3908
|
color: sectionproperties.navigationtextcoloronhover,
|
|
3833
3909
|
background: sectionproperties.navcontbgcoloronhover
|
|
3834
3910
|
},
|
|
@@ -3837,6 +3913,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
3837
3913
|
right: langdetect == 'en' ? 0 : ''
|
|
3838
3914
|
},
|
|
3839
3915
|
':hover:after': {
|
|
3916
|
+
transition: '.3s',
|
|
3840
3917
|
background: sectionproperties.navigationtextcoloronhover,
|
|
3841
3918
|
left: langdetect == 'en' ? '' : 0,
|
|
3842
3919
|
right: langdetect == 'en' ? 0 : ''
|
|
@@ -4082,14 +4159,12 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4082
4159
|
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
4083
4160
|
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
4084
4161
|
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
4085
|
-
boxShadow: sectionproperties.generalbtn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.generalbtn_shadowcolor : '',
|
|
4086
|
-
opacity: sectionproperties.generalbtn_opacity,
|
|
4087
4162
|
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
4088
4163
|
transition: '.3s',
|
|
4089
4164
|
':hover': {
|
|
4090
4165
|
background: sectionproperties.generalbtn_bgColoronhover,
|
|
4091
4166
|
color: sectionproperties.generalbtn_textColoronhover,
|
|
4092
|
-
|
|
4167
|
+
borderColor: sectionproperties.generalbtn_textColoronhover
|
|
4093
4168
|
}
|
|
4094
4169
|
}),
|
|
4095
4170
|
tableimagecont: glamor.css({
|
|
@@ -4322,7 +4397,10 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4322
4397
|
}, orderindex.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4323
4398
|
className: "row m-0 w-100"
|
|
4324
4399
|
}, sectionproperties.pagedesign == 'Design 1 (Cards)' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4325
|
-
className: "row m-0 w-100"
|
|
4400
|
+
className: "row m-0 w-100 mt-3",
|
|
4401
|
+
style: {
|
|
4402
|
+
minHeight: '70vh'
|
|
4403
|
+
}
|
|
4326
4404
|
}, fetchorderhistoryQueryContext.data.data.ordershistory.map(function (item, index) {
|
|
4327
4405
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4328
4406
|
className: ' col-lg-4 col-md-6 col-sm-12 mb-4 pl-md-2 pr-md-2 pr-0 '
|
|
@@ -4348,7 +4426,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4348
4426
|
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
4349
4427
|
textTransform: sectionproperties.generaltext_textTransform
|
|
4350
4428
|
}
|
|
4351
|
-
},
|
|
4429
|
+
}, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4352
4430
|
style: {
|
|
4353
4431
|
color: sectionproperties.text_secondarycolor
|
|
4354
4432
|
}
|
|
@@ -4360,22 +4438,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4360
4438
|
setorderindex(index);
|
|
4361
4439
|
setopenorderitemsmodalshow(true);
|
|
4362
4440
|
}
|
|
4363
|
-
}, langdetect == 'en' ?
|
|
4364
|
-
className: "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
4365
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4366
|
-
className: ' m-0 p-0 d-flex justify-content-start module line-clamp ',
|
|
4367
|
-
style: {
|
|
4368
|
-
color: sectionproperties.generaltext_fontColor,
|
|
4369
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
4370
|
-
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
4371
|
-
textTransform: sectionproperties.generaltext_textTransform
|
|
4372
|
-
}
|
|
4373
|
-
}, lang.numberofproducts, ":", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4374
|
-
className: "ml-1 mr-1",
|
|
4375
|
-
style: {
|
|
4376
|
-
color: sectionproperties.text_secondarycolor
|
|
4377
|
-
}
|
|
4378
|
-
}, item.orderitems.length))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4441
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4379
4442
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mt-2"
|
|
4380
4443
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4381
4444
|
className: "".concat(generalstyles.pill, " ") + ' pl-2 pr-2 ',
|
|
@@ -4396,18 +4459,19 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4396
4459
|
}
|
|
4397
4460
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4398
4461
|
className: generalstyles.card + ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
|
|
4399
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
4400
|
-
src: shoppingcart,
|
|
4462
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
4401
4463
|
style: {
|
|
4402
|
-
|
|
4403
|
-
|
|
4464
|
+
fontSize: sectionproperties.noprod_iconfontSize + 'px',
|
|
4465
|
+
color: sectionproperties.noprod_iconcolor
|
|
4404
4466
|
}
|
|
4405
4467
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4406
|
-
|
|
4468
|
+
"class": "m-0 p-0 mt-2",
|
|
4407
4469
|
style: {
|
|
4408
|
-
|
|
4470
|
+
fontWeight: sectionproperties.noprod_fontWeight,
|
|
4471
|
+
color: sectionproperties.noprod_color,
|
|
4472
|
+
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
4409
4473
|
}
|
|
4410
|
-
}, langdetect == 'en' ?
|
|
4474
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)))), sectionproperties.pagedesign == 'Design 2 (Table)' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4411
4475
|
className: "w-100",
|
|
4412
4476
|
style: {
|
|
4413
4477
|
background: 'white',
|
|
@@ -4514,7 +4578,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4514
4578
|
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
4515
4579
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4516
4580
|
}
|
|
4517
|
-
},
|
|
4581
|
+
}, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ":", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4518
4582
|
style: {
|
|
4519
4583
|
color: sectionproperties.sectiontitlesecondarycolor,
|
|
4520
4584
|
direction: 'ltr'
|
|
@@ -4538,7 +4602,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4538
4602
|
style: {
|
|
4539
4603
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
4540
4604
|
}
|
|
4541
|
-
},
|
|
4605
|
+
}, langdetect == 'en' ? 'Details' : 'التفاصيل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4542
4606
|
className: "col-lg-3 col-md-3 col-sm-3 p-0 d-flex align-items-center justify-content-end"
|
|
4543
4607
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4544
4608
|
style: {
|
|
@@ -4722,7 +4786,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4722
4786
|
style: {
|
|
4723
4787
|
color: sectionproperties.userinfotextsecondarycolor
|
|
4724
4788
|
}
|
|
4725
|
-
}, fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].state))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4789
|
+
}, fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].state))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4726
4790
|
className: "col-lg-12 d-flex fontfamilymedium text-focus mb-2"
|
|
4727
4791
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
4728
4792
|
className: "h-100 d-flex align-items-center justify-content-center"
|
|
@@ -4818,7 +4882,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4818
4882
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
4819
4883
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4820
4884
|
className: "".concat(orderhistory_cssstyles.summarysectionstyles) + ' m-0 p-0 '
|
|
4821
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].discountprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4885
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].discountprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4822
4886
|
className: "row m-0 w-100 mb-2"
|
|
4823
4887
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4824
4888
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex p-0"
|
|
@@ -4904,7 +4968,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4904
4968
|
color: sectionproperties.paymenttextcolor,
|
|
4905
4969
|
fontWeight: sectionproperties.paymenttextfontweight
|
|
4906
4970
|
}
|
|
4907
|
-
},
|
|
4971
|
+
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar)))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
|
|
4908
4972
|
show: openreviewmodal,
|
|
4909
4973
|
onHide: function onHide() {
|
|
4910
4974
|
return setopenreviewmodal(false);
|
|
@@ -5062,11 +5126,10 @@ var Wishlist = function Wishlist(props) {
|
|
|
5062
5126
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
5063
5127
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
5064
5128
|
transition: '.3s',
|
|
5065
|
-
opacity: sectionproperties.cartbtn_opacity,
|
|
5066
5129
|
':hover': {
|
|
5067
5130
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
5068
5131
|
color: sectionproperties.cartBtnTextcoloronhover,
|
|
5069
|
-
|
|
5132
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
5070
5133
|
}
|
|
5071
5134
|
}),
|
|
5072
5135
|
trash_btn: glamor.css({
|
|
@@ -5276,7 +5339,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
5276
5339
|
}, /*#__PURE__*/React__default["default"].createElement(HiOutlineTrash.HiOutlineTrash, {
|
|
5277
5340
|
size: sectionproperties.trashbtn_Textfontsize
|
|
5278
5341
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5279
|
-
className: "col-lg-12 d-flex align-items-center justify-content-center mt-3"
|
|
5342
|
+
className: "col-lg-12 d-flex align-items-center justify-content-center mt-3 mb-3"
|
|
5280
5343
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5281
5344
|
className: "".concat(wishlist_cssstyles.productNameStyles) + ' wordbreak text-center m-0 p-0 d-flex align-items-center justify-content-center '
|
|
5282
5345
|
}, langdetect == 'en' ? item.name_en : item.name_ar)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5290,7 +5353,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
5290
5353
|
style: {
|
|
5291
5354
|
fontSize: sectionproperties.cartBtnTextfontsize + 'px'
|
|
5292
5355
|
}
|
|
5293
|
-
},
|
|
5356
|
+
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
|
|
5294
5357
|
})), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5295
5358
|
className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100",
|
|
5296
5359
|
style: {
|
|
@@ -5527,7 +5590,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
5527
5590
|
className: "col-lg-12 p-0 d-flex justify-content-end "
|
|
5528
5591
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5529
5592
|
className: "".concat(viewcart_cssstyles.totalstyless) + ' p-0 m-0 '
|
|
5530
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue16 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue16 === void 0 ? void 0 : (_fetchcustomercartQue17 = _fetchcustomercartQue16.data) === null || _fetchcustomercartQue17 === void 0 ? void 0 : (_fetchcustomercartQue18 = _fetchcustomercartQue17.customercart) === null || _fetchcustomercartQue18 === void 0 ? void 0 : _fetchcustomercartQue18.totalpriceafterdiscount_noshipping, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5593
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue16 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue16 === void 0 ? void 0 : (_fetchcustomercartQue17 = _fetchcustomercartQue16.data) === null || _fetchcustomercartQue17 === void 0 ? void 0 : (_fetchcustomercartQue18 = _fetchcustomercartQue17.customercart) === null || _fetchcustomercartQue18 === void 0 ? void 0 : _fetchcustomercartQue18.totalpriceafterdiscount_noshipping, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5531
5594
|
className: "col-lg-12 p-0 d-flex justify-content-end "
|
|
5532
5595
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5533
5596
|
className: 'font-13 text-light text-capitalize p-0 m-0 '
|
|
@@ -5662,13 +5725,9 @@ var Viewcart = function Viewcart(props) {
|
|
|
5662
5725
|
}),
|
|
5663
5726
|
tableimagecont: glamor.css({
|
|
5664
5727
|
width: '70px',
|
|
5665
|
-
height: '60px',
|
|
5728
|
+
height: sectionproperties.prodimage__borderBottomLeftRadius == 100 ? '70px' : '60px',
|
|
5666
5729
|
border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
|
|
5667
5730
|
backgroundColor: sectionproperties.prodimage_bgcolor,
|
|
5668
|
-
borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
|
|
5669
|
-
borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
|
|
5670
|
-
borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
|
|
5671
|
-
borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
|
|
5672
5731
|
display: 'flex',
|
|
5673
5732
|
alignItems: 'center',
|
|
5674
5733
|
justifyContent: 'center',
|
|
@@ -5818,14 +5877,14 @@ var Viewcart = function Viewcart(props) {
|
|
|
5818
5877
|
}
|
|
5819
5878
|
}, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
5820
5879
|
className: langdetect == 'en' ? 'text-left font-weight-500 font-14 text-light mw-150 mw-md-300' : 'text-right font-weight-500 font-14 text-light mw-150 mw-md-300'
|
|
5821
|
-
},
|
|
5822
|
-
className: "text-center font-weight-500 font-14 text-
|
|
5880
|
+
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
5881
|
+
className: "text-center font-weight-500 font-14 text-capitalize text-light",
|
|
5823
5882
|
style: {
|
|
5824
5883
|
minWidth: '200px'
|
|
5825
5884
|
}
|
|
5826
5885
|
}, lang.price), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
5827
5886
|
className: "text-capitalize text-center font-weight-500 font-14 text-uppercase text-light"
|
|
5828
|
-
}, lang.quantity), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
5887
|
+
}, sectionproperties.producttype == 'Product' ? lang.quantity : langdetect == 'en' ? 'Reservation Time' : 'ميعاد الحجز'), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
5829
5888
|
className: "text-capitalize text-center font-weight-500 font-14 text-uppercase text-light",
|
|
5830
5889
|
style: {
|
|
5831
5890
|
minWidth: '100px'
|
|
@@ -5848,11 +5907,15 @@ var Viewcart = function Viewcart(props) {
|
|
|
5848
5907
|
style: {
|
|
5849
5908
|
width: '100%',
|
|
5850
5909
|
height: '100%',
|
|
5851
|
-
objectFit: 'contain'
|
|
5910
|
+
objectFit: sectionproperties.prodimage__borderBottomLeftRadius == '100' ? 'cover' : 'contain',
|
|
5911
|
+
borderRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px'
|
|
5852
5912
|
},
|
|
5853
5913
|
loading: "lazy"
|
|
5854
5914
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5855
|
-
className: "col-lg-8 col-sm-8 col-md-8"
|
|
5915
|
+
className: "col-lg-8 col-sm-8 col-md-8 d-flex",
|
|
5916
|
+
style: {
|
|
5917
|
+
alignItems: sectionproperties.prodimage__borderBottomLeftRadius == '100' ? 'center' : 'start'
|
|
5918
|
+
}
|
|
5856
5919
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5857
5920
|
className: "".concat(viewcart_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 d-flex justify-content-start ',
|
|
5858
5921
|
style: {
|
|
@@ -5902,7 +5965,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
5902
5965
|
className: "".concat(viewcart_cssstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-center '
|
|
5903
5966
|
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
5904
5967
|
className: "text-center"
|
|
5905
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5968
|
+
}, sectionproperties.producttype == 'Product' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5906
5969
|
className: "row m-0 w-100 d-flex align-items-center justify-content-center"
|
|
5907
5970
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
5908
5971
|
className: " ".concat(viewcart_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
|
|
@@ -5934,7 +5997,23 @@ var Viewcart = function Viewcart(props) {
|
|
|
5934
5997
|
style: {
|
|
5935
5998
|
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px'
|
|
5936
5999
|
}
|
|
5937
|
-
}))))
|
|
6000
|
+
})))), sectionproperties.producttype == 'Service' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6001
|
+
className: "row m-0 w-100 d-flex align-items-center justify-content-center flex-row text-light"
|
|
6002
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
6003
|
+
className: langdetect == 'en' ? 'text-light opacity-6 fa fa-clock mr-1 ' : ' text-light opacity-6 fa fa-clock ml-1 '
|
|
6004
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6005
|
+
"class": "flex-column d-flex justify-content-start font_15"
|
|
6006
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
6007
|
+
"class": "m-0 p-0",
|
|
6008
|
+
style: {
|
|
6009
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
6010
|
+
}
|
|
6011
|
+
}, item.reserv_fixeddate), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
6012
|
+
"class": "m-0 p-0",
|
|
6013
|
+
style: {
|
|
6014
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
6015
|
+
}
|
|
6016
|
+
}, item.reserv_time)))), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
5938
6017
|
className: "text-center",
|
|
5939
6018
|
style: {
|
|
5940
6019
|
minWidth: '100px'
|
|
@@ -5956,18 +6035,27 @@ var Viewcart = function Viewcart(props) {
|
|
|
5956
6035
|
}
|
|
5957
6036
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5958
6037
|
className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
|
|
5959
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
6038
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6039
|
+
className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
|
|
6040
|
+
}, sectionproperties.noproducticontype == 'Cart' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
5960
6041
|
src: shoppingcart,
|
|
5961
6042
|
style: {
|
|
5962
6043
|
maxWidth: '250px',
|
|
5963
6044
|
maxHeight: '250px'
|
|
5964
6045
|
}
|
|
6046
|
+
}), sectionproperties.noproducticontype == 'Calendar' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
6047
|
+
style: {
|
|
6048
|
+
fontSize: sectionproperties.noprod_iconfontSize + 'px',
|
|
6049
|
+
color: sectionproperties.noprod_iconcolor
|
|
6050
|
+
}
|
|
5965
6051
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5966
|
-
|
|
6052
|
+
"class": "m-0 p-0 mt-2",
|
|
5967
6053
|
style: {
|
|
5968
|
-
|
|
6054
|
+
fontWeight: sectionproperties.noprod_fontWeight,
|
|
6055
|
+
color: sectionproperties.noprod_color,
|
|
6056
|
+
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
5969
6057
|
}
|
|
5970
|
-
},
|
|
6058
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5971
6059
|
className: langdetect == 'en' ? ' col-lg-3 pr-0 ' : ' col-lg-3 pl-0 '
|
|
5972
6060
|
}, Summary()))))));
|
|
5973
6061
|
};
|
|
@@ -8484,7 +8572,7 @@ styleInject(css_248z$C);
|
|
|
8484
8572
|
function ownKeys$1N(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8485
8573
|
function _objectSpread$1N(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1N(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1N(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8486
8574
|
var CartSlider = function CartSlider(props) {
|
|
8487
|
-
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16, _fetchcustomercartQue17, _fetchcustomercartQue18, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22
|
|
8575
|
+
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16, _fetchcustomercartQue17, _fetchcustomercartQue18, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22;
|
|
8488
8576
|
var lang = props.actions.lang;
|
|
8489
8577
|
var langdetect = props.actions.langdetect;
|
|
8490
8578
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
@@ -8598,7 +8686,8 @@ var CartSlider = function CartSlider(props) {
|
|
|
8598
8686
|
transition: '.3s',
|
|
8599
8687
|
':hover': {
|
|
8600
8688
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
8601
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
8689
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
8690
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
8602
8691
|
}
|
|
8603
8692
|
}),
|
|
8604
8693
|
checkoutbtn: glamor.css({
|
|
@@ -8690,11 +8779,9 @@ var CartSlider = function CartSlider(props) {
|
|
|
8690
8779
|
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
8691
8780
|
marginLeft: sectionproperties.sectionTitleMarginLeft + 'px',
|
|
8692
8781
|
marginRight: sectionproperties.sectionTitleMarginRight + 'px',
|
|
8693
|
-
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
8694
8782
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8695
|
-
// justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
8696
8783
|
}
|
|
8697
|
-
}, langdetect == 'en' ?
|
|
8784
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8698
8785
|
className: "col-lg-12"
|
|
8699
8786
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
8700
8787
|
className: "mt-2 mb-2"
|
|
@@ -8745,30 +8832,35 @@ var CartSlider = function CartSlider(props) {
|
|
|
8745
8832
|
className: "col-lg-12 pt-4"
|
|
8746
8833
|
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.customercart) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8747
8834
|
className: "row m-0 w-100"
|
|
8748
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.customercart)
|
|
8749
|
-
className: "
|
|
8750
|
-
},
|
|
8835
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : _fetchcustomercartQue7.cartitems) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8836
|
+
className: "col-lg-12 p-0"
|
|
8837
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8751
8838
|
className: "row m-0 w-100 d-flex align-items-center justify-content-center",
|
|
8752
8839
|
style: {
|
|
8753
8840
|
height: '40vh'
|
|
8754
8841
|
}
|
|
8755
8842
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8756
8843
|
className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
|
|
8757
|
-
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
8844
|
+
}, sectionproperties.noproducticontype == 'Cart' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
8758
8845
|
src: shoppingcart,
|
|
8759
8846
|
style: {
|
|
8760
8847
|
maxWidth: '200px',
|
|
8761
8848
|
maxHeight: '200px'
|
|
8762
8849
|
}
|
|
8850
|
+
}), sectionproperties.noproducticontype == 'Calendar' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
8851
|
+
style: {
|
|
8852
|
+
fontSize: sectionproperties.noprod_iconfontSize + 'px',
|
|
8853
|
+
color: sectionproperties.noprod_iconcolor
|
|
8854
|
+
}
|
|
8763
8855
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8764
|
-
|
|
8856
|
+
"class": "m-0 p-0 mt-2",
|
|
8765
8857
|
style: {
|
|
8766
|
-
|
|
8858
|
+
fontWeight: sectionproperties.noprod_fontWeight,
|
|
8859
|
+
color: sectionproperties.noprod_color,
|
|
8860
|
+
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
8767
8861
|
}
|
|
8768
|
-
},
|
|
8769
|
-
className: "
|
|
8770
|
-
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8771
|
-
className: " ".concat(cart_cssstyles.cart_btn) + ' mr-1 ml-1 d-flex align-items-center justify-content-center ',
|
|
8862
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8863
|
+
className: "".concat(cart_cssstyles.cart_btn) + ' mt-3 d-flex align-items-center justify-content-center ',
|
|
8772
8864
|
onClick: function onClick() {
|
|
8773
8865
|
if (fetchingtype == 'products') {
|
|
8774
8866
|
if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
|
|
@@ -8780,11 +8872,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
8780
8872
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
8781
8873
|
}
|
|
8782
8874
|
}
|
|
8783
|
-
},
|
|
8784
|
-
className: langdetect == 'en' ? 'h-100 d-flex align-items-center mr-2' : 'h-100 d-flex align-items-center ml-2'
|
|
8785
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
8786
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
8787
|
-
})), lang.shopnow))), fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue10 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : (_fetchcustomercartQue11 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue11 === void 0 ? void 0 : (_fetchcustomercartQue12 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : (_fetchcustomercartQue13 = _fetchcustomercartQue12.cartitems) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.map(function (item, index) {
|
|
8875
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue8 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.customercart) === null || _fetchcustomercartQue10 === void 0 ? void 0 : (_fetchcustomercartQue11 = _fetchcustomercartQue10.cartitems) === null || _fetchcustomercartQue11 === void 0 ? void 0 : _fetchcustomercartQue11.map(function (item, index) {
|
|
8788
8876
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8789
8877
|
className: "col-lg-12 mb-3 p-0"
|
|
8790
8878
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -8814,7 +8902,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
8814
8902
|
style: {
|
|
8815
8903
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8816
8904
|
}
|
|
8817
|
-
}, langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8905
|
+
}, langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar)), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8818
8906
|
className: "".concat(cart_cssstyles.productPricestyles) + ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex '
|
|
8819
8907
|
}, item.quantity, " x", /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8820
8908
|
className: 'ml-1 mr-1 wordbreak'
|
|
@@ -8835,7 +8923,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
8835
8923
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
8836
8924
|
className: "m-0"
|
|
8837
8925
|
})));
|
|
8838
|
-
}), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8926
|
+
}), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue12 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue12 === void 0 ? void 0 : (_fetchcustomercartQue13 = _fetchcustomercartQue12.data) === null || _fetchcustomercartQue13 === void 0 ? void 0 : (_fetchcustomercartQue14 = _fetchcustomercartQue13.customercart) === null || _fetchcustomercartQue14 === void 0 ? void 0 : (_fetchcustomercartQue15 = _fetchcustomercartQue14.cartitems) === null || _fetchcustomercartQue15 === void 0 ? void 0 : _fetchcustomercartQue15.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8839
8927
|
className: "col-lg-12 mb-3 p-0"
|
|
8840
8928
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8841
8929
|
className: "row m-0 w-100"
|
|
@@ -8859,14 +8947,14 @@ var CartSlider = function CartSlider(props) {
|
|
|
8859
8947
|
textTransform: sectionproperties.total_texttransform,
|
|
8860
8948
|
color: sectionproperties.total_color
|
|
8861
8949
|
}
|
|
8862
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8950
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue16 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue16 === void 0 ? void 0 : (_fetchcustomercartQue17 = _fetchcustomercartQue16.data) === null || _fetchcustomercartQue17 === void 0 ? void 0 : (_fetchcustomercartQue18 = _fetchcustomercartQue17.customercart) === null || _fetchcustomercartQue18 === void 0 ? void 0 : _fetchcustomercartQue18.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue19 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue19 === void 0 ? void 0 : (_fetchcustomercartQue20 = _fetchcustomercartQue19.data) === null || _fetchcustomercartQue20 === void 0 ? void 0 : (_fetchcustomercartQue21 = _fetchcustomercartQue20.customercart) === null || _fetchcustomercartQue21 === void 0 ? void 0 : (_fetchcustomercartQue22 = _fetchcustomercartQue21.cartitems) === null || _fetchcustomercartQue22 === void 0 ? void 0 : _fetchcustomercartQue22.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8863
8951
|
className: "col-lg-12 d-flex align-items-center justify-content-center"
|
|
8864
8952
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8865
8953
|
className: " ".concat(cart_cssstyles.cart_btn) + ' mr-1 ml-1 d-flex align-items-center justify-content-center ',
|
|
8866
8954
|
onClick: function onClick() {
|
|
8867
8955
|
routingcountext(StaticPagesLinksContext.viewcart);
|
|
8868
8956
|
}
|
|
8869
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8957
|
+
}, sectionproperties.cartBtn_iconFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8870
8958
|
className: langdetect == 'en' ? 'h-100 d-flex align-items-center mr-2' : 'h-100 d-flex align-items-center ml-2'
|
|
8871
8959
|
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
8872
8960
|
className: "",
|
|
@@ -8885,7 +8973,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
8885
8973
|
size: sectionproperties.cartBtn_iconFontSize
|
|
8886
8974
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
8887
8975
|
size: sectionproperties.cartBtn_iconFontSize
|
|
8888
|
-
})),
|
|
8976
|
+
})), langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8889
8977
|
className: " ".concat(cart_cssstyles.checkoutbtn) + ' ml-1 mr-1 ',
|
|
8890
8978
|
onClick: function onClick() {
|
|
8891
8979
|
// if (fetchAuthorizationQueryContext.data.data.loggedin == true) {
|
|
@@ -9068,7 +9156,7 @@ function ownKeys$1M(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
9068
9156
|
function _objectSpread$1M(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1M(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1M(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9069
9157
|
var OrderSuccess = function OrderSuccess(props) {
|
|
9070
9158
|
var _props$actions2;
|
|
9071
|
-
|
|
9159
|
+
props.actions.lang;
|
|
9072
9160
|
var langdetect = props.actions.langdetect;
|
|
9073
9161
|
var routingcountext = props.actions.routingcountext;
|
|
9074
9162
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
@@ -9172,7 +9260,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
9172
9260
|
onClick: function onClick() {
|
|
9173
9261
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
9174
9262
|
}
|
|
9175
|
-
},
|
|
9263
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), !IsOrderSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9176
9264
|
className: "col-lg-12 allcentered flex-column",
|
|
9177
9265
|
style: {
|
|
9178
9266
|
minHeight: '50vh',
|
|
@@ -11137,12 +11225,19 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
11137
11225
|
style: {
|
|
11138
11226
|
height: '100%',
|
|
11139
11227
|
width: '100%',
|
|
11140
|
-
objectFit: 'contain'
|
|
11228
|
+
objectFit: 'contain',
|
|
11229
|
+
borderRadius: sectionproperties.searchlist_prodimage_borderradius + 'px'
|
|
11141
11230
|
}
|
|
11142
11231
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11143
|
-
"class": props.srcfromprops == 'StylishHeader' ? 'col-lg-11 col-md-11 col-sm-9 pl-1 pr-0' : 'col-lg-10 col-md-11 col-sm-9 pl-1 pr-0'
|
|
11232
|
+
"class": props.srcfromprops == 'StylishHeader' ? 'col-lg-11 col-md-11 col-sm-9 pl-1 pr-0 d-flex' : 'col-lg-10 col-md-11 col-sm-9 pl-1 pr-0 d-flex',
|
|
11233
|
+
style: {
|
|
11234
|
+
alignItems: sectionproperties.searchlistshowprice == 'Show' ? 'start' : 'center'
|
|
11235
|
+
}
|
|
11144
11236
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11145
|
-
"class": "row m-0 w-100 d-flex
|
|
11237
|
+
"class": "row m-0 w-100 d-flex",
|
|
11238
|
+
style: {
|
|
11239
|
+
alignItems: sectionproperties.searchlistshowprice == 'Show' ? 'start' : 'center'
|
|
11240
|
+
}
|
|
11146
11241
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11147
11242
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-start"
|
|
11148
11243
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -11966,9 +12061,9 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
11966
12061
|
className: "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
11967
12062
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11968
12063
|
className: ' d-flex align-items-center m-0 p-0 '
|
|
11969
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12064
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
11970
12065
|
className: langdetect == 'en' ? 'ml-2' : 'mr-2'
|
|
11971
|
-
},
|
|
12066
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, {
|
|
11972
12067
|
style: {
|
|
11973
12068
|
marginBottom: 0,
|
|
11974
12069
|
marginTop: 0
|
|
@@ -12061,6 +12156,8 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
12061
12156
|
size: sectionproperties.cartBtniconresp_size
|
|
12062
12157
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
12063
12158
|
size: sectionproperties.cartBtniconresp_size
|
|
12159
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
12160
|
+
size: sectionproperties.cartBtniconresp_size
|
|
12064
12161
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12065
12162
|
className: "".concat(header_cssstyles.badge_counter_header_notifications),
|
|
12066
12163
|
style: {
|
|
@@ -12088,8 +12185,10 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
12088
12185
|
}, /*#__PURE__*/React__default["default"].createElement(RiSearchLine.RiSearchLine, {
|
|
12089
12186
|
size: 15
|
|
12090
12187
|
}))), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
12091
|
-
type: "text"
|
|
12092
|
-
placeholder
|
|
12188
|
+
type: "text"
|
|
12189
|
+
// placeholder={langdetect == 'en' ? 'What are you looking for?' : 'بحث...'}
|
|
12190
|
+
,
|
|
12191
|
+
placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
|
|
12093
12192
|
className: "".concat(header_cssstyles.searchbarcont_input),
|
|
12094
12193
|
onChange: function onChange(event) {
|
|
12095
12194
|
setSearchHeaderInputContext(event.target.value);
|
|
@@ -15872,7 +15971,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
15872
15971
|
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink, '_blank');
|
|
15873
15972
|
}
|
|
15874
15973
|
},
|
|
15875
|
-
size: sectionproperties.
|
|
15974
|
+
size: sectionproperties.facebkbtnniconfontsize
|
|
15876
15975
|
}), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement(AiOutlineInstagram.AiOutlineInstagram, {
|
|
15877
15976
|
"class": header_cssstyles.instagrambtn + ' cursor-pointer ml-3 mr-3 ',
|
|
15878
15977
|
onClick: function onClick() {
|
|
@@ -19596,6 +19695,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
19596
19695
|
searchbarcont: glamor.css({
|
|
19597
19696
|
position: 'relative',
|
|
19598
19697
|
width: sectionproperties.searchbarcont_width + '%',
|
|
19698
|
+
height: sectionproperties.searchbarcont_height + 'px',
|
|
19599
19699
|
border: sectionproperties.searchbarcontinput_borderwidth + 'px solid' + sectionproperties.searchbarcontinput_bordercolor,
|
|
19600
19700
|
background: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
|
|
19601
19701
|
borderRadius: sectionproperties.searchbarcont_borderRadius + 'px',
|
|
@@ -19628,6 +19728,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
19628
19728
|
borderBottom: sectionproperties.searchbarcontinput_borderBottom + 'px solid ' + sectionproperties.searchbarcontinput_borderBottomcolor,
|
|
19629
19729
|
paddingLeft: langdetect == 'en' ? sectionproperties.searchbarcont_paddingLeft + 'px' : sectionproperties.searchbarcont_paddingRight + 'px',
|
|
19630
19730
|
paddingRight: langdetect == 'en' ? sectionproperties.searchbarcont_paddingRight + 'px' : sectionproperties.searchbarcont_paddingLeft + 'px',
|
|
19731
|
+
paddingBottom: sectionproperties.searchbarcont_paddingBottom + 'rem',
|
|
19631
19732
|
outline: 'none',
|
|
19632
19733
|
transition: '0.3s',
|
|
19633
19734
|
':focus': {
|
|
@@ -19685,8 +19786,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
19685
19786
|
"class": header_cssstyles.searchbarcont
|
|
19686
19787
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
19687
19788
|
type: "text",
|
|
19688
|
-
placeholder:
|
|
19689
|
-
"class": "".concat(header_cssstyles.searchbarcont_input) + '
|
|
19789
|
+
placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
|
|
19790
|
+
"class": "".concat(header_cssstyles.searchbarcont_input) + ' h-100 ',
|
|
19690
19791
|
onChange: function onChange(event) {
|
|
19691
19792
|
setSearchHeaderInputContext(event.target.value);
|
|
19692
19793
|
}
|
|
@@ -19809,9 +19910,11 @@ var Modernheader = function Modernheader(props) {
|
|
|
19809
19910
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
19810
19911
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
19811
19912
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
19913
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
19914
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
19812
19915
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19813
19916
|
"class": ' allcenetered m-0 p-0 '
|
|
19814
|
-
},
|
|
19917
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
19815
19918
|
onClick: function onClick() {
|
|
19816
19919
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
19817
19920
|
}
|
|
@@ -19912,6 +20015,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
19912
20015
|
size: sectionproperties.cartBtn_iconFontSize
|
|
19913
20016
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
19914
20017
|
size: sectionproperties.cartBtn_iconFontSize
|
|
20018
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
20019
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
19915
20020
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19916
20021
|
className: "".concat(headerstyles$7.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center text-center ',
|
|
19917
20022
|
style: {
|
|
@@ -23412,6 +23517,10 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
|
23412
23517
|
}
|
|
23413
23518
|
}
|
|
23414
23519
|
}, [sectionproperties]);
|
|
23520
|
+
var _useState7 = React.useState(false),
|
|
23521
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
23522
|
+
_useState8[0];
|
|
23523
|
+
_useState8[1];
|
|
23415
23524
|
var header_cssstyles = {
|
|
23416
23525
|
headercontainer: glamor.css({
|
|
23417
23526
|
position: sectionproperties.headerstyles_position,
|
|
@@ -23662,7 +23771,16 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
|
23662
23771
|
lineHeight: sectionproperties.greetingtextfontsize + 'px',
|
|
23663
23772
|
fontWeight: 400
|
|
23664
23773
|
})
|
|
23774
|
+
// searchicon: css({
|
|
23775
|
+
// color: sectionproperties.searchbaricon_color,
|
|
23776
|
+
// cursor: 'pointer',
|
|
23777
|
+
// transition: '.3s',
|
|
23778
|
+
// ':hover': {
|
|
23779
|
+
// color: sectionproperties.searchbariconcoloronhover,
|
|
23780
|
+
// },
|
|
23781
|
+
// }),
|
|
23665
23782
|
};
|
|
23783
|
+
|
|
23666
23784
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23667
23785
|
"class": "row ml-0 mr-0 w-100 d-flex align-items-center justify-content-center ",
|
|
23668
23786
|
style: {
|
|
@@ -23676,7 +23794,7 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
|
23676
23794
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23677
23795
|
"class": ' col-lg-12 d-flex align-items-center p-0 '
|
|
23678
23796
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23679
|
-
"class": header_cssstyles.upperheadersection + ' w-100 plr-1025-
|
|
23797
|
+
"class": header_cssstyles.upperheadersection + ' w-100 plr-1025-1 '
|
|
23680
23798
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23681
23799
|
"class": "row m-0 w-100"
|
|
23682
23800
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -23800,7 +23918,7 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
|
23800
23918
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23801
23919
|
"class": "col-lg-12 p-0"
|
|
23802
23920
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23803
|
-
"class": " ".concat(header_cssstyles.lowerSection) + ' row m-0 w-100 d-flex flex-row align-items-center h-100 '
|
|
23921
|
+
"class": " ".concat(header_cssstyles.lowerSection) + ' row m-0 w-100 d-flex flex-row align-items-center h-100 plr-1025-1 '
|
|
23804
23922
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23805
23923
|
"class": "col-lg-2 p-0 justify-content-start"
|
|
23806
23924
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -23938,7 +24056,9 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
|
23938
24056
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
23939
24057
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
23940
24058
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
23941
|
-
}),
|
|
24059
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
24060
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
24061
|
+
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
23942
24062
|
onClick: function onClick() {
|
|
23943
24063
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
23944
24064
|
}
|
|
@@ -24017,6 +24137,8 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
|
24017
24137
|
size: sectionproperties.cartBtn_iconFontSize
|
|
24018
24138
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
24019
24139
|
size: sectionproperties.cartBtn_iconFontSize
|
|
24140
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
24141
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
24020
24142
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24021
24143
|
"class": "col-lg-12 p-0"
|
|
24022
24144
|
}, sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React__default["default"].createElement(Subheader, {
|
|
@@ -26725,14 +26847,11 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
26725
26847
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26726
26848
|
"class": "col-lg-12 p-0 mb-2"
|
|
26727
26849
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
26728
|
-
"class": "m-0 p-0
|
|
26850
|
+
"class": "".concat(footerStyles.sectionTitle) + ' m-0 p-0 wordbreak ',
|
|
26729
26851
|
style: {
|
|
26730
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
26731
|
-
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
26732
|
-
color: sectionproperties.generaltext_fontColor,
|
|
26733
26852
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
26734
26853
|
}
|
|
26735
|
-
}, langdetect == 'en' ? sectionproperties.
|
|
26854
|
+
}, langdetect == 'en' ? sectionproperties.otherinfotitle1en : sectionproperties.otherinfotitle1ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26736
26855
|
"class": langdetect == 'en' ? 'col-lg-6 col-md-4 col-sm-6 p-0 pr-2' : 'col-lg-6 col-md-4 col-sm-6 p-0 pl-2'
|
|
26737
26856
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
26738
26857
|
"class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
@@ -26757,7 +26876,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
26757
26876
|
style: {
|
|
26758
26877
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
26759
26878
|
}
|
|
26760
|
-
}, langdetect == 'en' ?
|
|
26879
|
+
}, langdetect == 'en' ? sectionproperties.otherinfotitle2en : sectionproperties.otherinfotitle2ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26761
26880
|
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
26762
26881
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26763
26882
|
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
|
|
@@ -36894,7 +37013,7 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
36894
37013
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
36895
37014
|
}
|
|
36896
37015
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36897
|
-
"class": sectionproperties.width == 100 ? 'row m-0 w-md-100' : 'row m-0 w-md-95',
|
|
37016
|
+
"class": sectionproperties.width == 100 ? 'row m-0 w-md-100 px-1025-1 pl-md-2 pr-md-2' : 'row m-0 w-md-95 px-1025-1 pl-md-2 pr-md-2',
|
|
36898
37017
|
style: {
|
|
36899
37018
|
width: sectionproperties.width + 'vw',
|
|
36900
37019
|
position: 'relative',
|
|
@@ -36932,10 +37051,10 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
36932
37051
|
style: {
|
|
36933
37052
|
zIndex: 1
|
|
36934
37053
|
}
|
|
36935
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37054
|
+
}, sectionproperties.cardsdirection == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36936
37055
|
"class": "row m-0 w-100"
|
|
36937
37056
|
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36938
|
-
"class":
|
|
37057
|
+
"class": 'col-lg-12 p-0 d-flex align-items-center',
|
|
36939
37058
|
style: {
|
|
36940
37059
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
36941
37060
|
}
|
|
@@ -36956,7 +37075,7 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
36956
37075
|
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
36957
37076
|
}
|
|
36958
37077
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36959
|
-
"class":
|
|
37078
|
+
"class": 'col-lg-12 p-0 d-flex align-items-center',
|
|
36960
37079
|
style: {
|
|
36961
37080
|
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
|
|
36962
37081
|
}
|
|
@@ -36977,7 +37096,7 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
36977
37096
|
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
36978
37097
|
}
|
|
36979
37098
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36980
|
-
"class":
|
|
37099
|
+
"class": 'col-lg-12 p-0 d-flex align-items-center mt-md-3',
|
|
36981
37100
|
style: {
|
|
36982
37101
|
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
|
|
36983
37102
|
}
|
|
@@ -36994,6 +37113,72 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
36994
37113
|
window.open(sectionproperties.btnlink, '_blank');
|
|
36995
37114
|
}
|
|
36996
37115
|
}
|
|
37116
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.cardsdirection == 'Horizontal' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37117
|
+
"class": "row m-0 w-100 d-flex align-items-center"
|
|
37118
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37119
|
+
"class": "col-lg-9 col-md-12 p-0"
|
|
37120
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37121
|
+
"class": "row m-0 w-100"
|
|
37122
|
+
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37123
|
+
"class": 'col-lg-12 p-0 d-flex align-items-center justify-content-md-center',
|
|
37124
|
+
style: {
|
|
37125
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
37126
|
+
}
|
|
37127
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37128
|
+
"class": sectionstyles.sectionTitleStyles + ' p-0 d-flex d-sm-none '
|
|
37129
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37130
|
+
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? ' PacificoFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? ' PlayfairFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? ' GreatvibesFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? ' SatisfyFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'ASUL' ? ' ASUL wordbreak m-0 p-0 ' : ' wordbreak m-0 p-0 ',
|
|
37131
|
+
style: {
|
|
37132
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
37133
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
37134
|
+
}
|
|
37135
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37136
|
+
"class": sectionstyles.sectionTitleStyles + ' p-0 d-none d-sm-flex '
|
|
37137
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37138
|
+
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? ' PacificoFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? ' PlayfairFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? ' GreatvibesFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? ' SatisfyFont wordbreak m-0 p-0 ' : sectionproperties.sectiontitlefontfamily == 'ASUL' ? ' ASUL wordbreak m-0 p-0 ' : ' wordbreak m-0 p-0 ',
|
|
37139
|
+
style: {
|
|
37140
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
37141
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
37142
|
+
}
|
|
37143
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37144
|
+
"class": 'col-lg-12 p-0 d-flex align-items-center justify-content-md-center',
|
|
37145
|
+
style: {
|
|
37146
|
+
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
|
|
37147
|
+
}
|
|
37148
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37149
|
+
"class": sectionstyles.descriptionStyles + ' p-0 d-flex d-sm-none '
|
|
37150
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37151
|
+
"class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak' : sectionproperties.descFontFamily == 'ASUL' ? ' ASUL m-0 p-0 wordbreak ' : ' m-0 p-0 wordbreak ',
|
|
37152
|
+
style: {
|
|
37153
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
37154
|
+
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
37155
|
+
}
|
|
37156
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37157
|
+
"class": sectionstyles.descriptionStyles + ' p-0 d-none d-sm-flex '
|
|
37158
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37159
|
+
"class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak' : sectionproperties.descFontFamily == 'ASUL' ? ' ASUL m-0 p-0 wordbreak ' : ' m-0 p-0 wordbreak ',
|
|
37160
|
+
style: {
|
|
37161
|
+
fontSize: sectionproperties.prodCatFontSizeResp + 'px',
|
|
37162
|
+
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
37163
|
+
}
|
|
37164
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37165
|
+
"class": 'col-lg-3 col-md-12 p-0 d-flex align-items-center mt-md-3 justify-content-md-center',
|
|
37166
|
+
style: {
|
|
37167
|
+
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
|
|
37168
|
+
}
|
|
37169
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
37170
|
+
"class": sectionstyles.btnStyles,
|
|
37171
|
+
onClick: function onClick() {
|
|
37172
|
+
if (sectionproperties.btntype == 'WhatsApp') {
|
|
37173
|
+
var _authdetailsContext$i3;
|
|
37174
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.whatsappnumber) != null) {
|
|
37175
|
+
var _authdetailsContext$i4;
|
|
37176
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.whatsappnumber), '_blank');
|
|
37177
|
+
}
|
|
37178
|
+
} else {
|
|
37179
|
+
window.open(sectionproperties.btnlink, '_blank');
|
|
37180
|
+
}
|
|
37181
|
+
}
|
|
36997
37182
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))));
|
|
36998
37183
|
};
|
|
36999
37184
|
|
|
@@ -37194,7 +37379,7 @@ var AboutSection = function AboutSection(props) {
|
|
|
37194
37379
|
}
|
|
37195
37380
|
})), cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
37196
37381
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37197
|
-
"class": sectionproperties.numberOfColsvertical == '6' ? 'col-lg-2 col-md-6 col-sm-12 d-flex mb-3' : sectionproperties.numberOfColsvertical == '1' ? 'col-lg-12 col-md-6 col-sm-12 d-flex mb-3' : sectionproperties.numberOfColsvertical == '2' ? 'col-lg-6 col-md-6 col-sm-12 d-flex mb-
|
|
37382
|
+
"class": sectionproperties.numberOfColsvertical == '6' ? 'col-lg-2 col-md-6 col-sm-12 d-flex mb-3' : sectionproperties.numberOfColsvertical == '1' ? 'col-lg-12 col-md-6 col-sm-12 d-flex mb-3' : sectionproperties.numberOfColsvertical == '2' ? 'col-lg-6 col-md-6 col-sm-12 d-flex mb-4' : sectionproperties.numberOfColsvertical == '3' ? 'col-lg-4 col-md-6 col-sm-12 d-flex mb-3' : sectionproperties.numberOfColsvertical == '4' ? 'col-lg-3 col-md-6 col-sm-12 d-flex mb-3' : 'col-lg-6 col-md-6 col-sm-12 d-flex mb-3'
|
|
37198
37383
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37199
37384
|
"class": sectionproperties.cardsdirection == 'Horizontal' ? 'row m-0 w-100 d-flex flex-column' : 'row m-0 w-100 d-flex flex-row allcentered'
|
|
37200
37385
|
}, cardsarray[cardinfoindex].cardobj_img == null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -37205,10 +37390,12 @@ var AboutSection = function AboutSection(props) {
|
|
|
37205
37390
|
whiteSpace: 'nowrap'
|
|
37206
37391
|
}
|
|
37207
37392
|
}, "0", cardinfoindex + 1), cardsarray[cardinfoindex].cardobj_img != '' && cardsarray[cardinfoindex].cardobj_img != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37208
|
-
"class": sectionproperties.cardsdirection == 'Horizontal' ? 'p-0 m-0' : 'p-0 m-0 mb-
|
|
37393
|
+
"class": sectionproperties.cardsdirection == 'Horizontal' ? 'p-0 m-0 allcentered' : 'p-0 m-0 mb-2 allcentered',
|
|
37209
37394
|
style: {
|
|
37210
37395
|
width: sectionproperties.iconcontainerwidth + 'vh',
|
|
37211
|
-
height: sectionproperties.iconcontainerheight + 'vh'
|
|
37396
|
+
height: sectionproperties.iconcontainerheight + 'vh',
|
|
37397
|
+
background: sectionproperties.iconcontainerbg,
|
|
37398
|
+
borderRadius: sectionproperties.iconcontainerborderbl + 'px'
|
|
37212
37399
|
}
|
|
37213
37400
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
37214
37401
|
"class": "h-sm-auto",
|
|
@@ -37216,8 +37403,8 @@ var AboutSection = function AboutSection(props) {
|
|
|
37216
37403
|
publicKey: IKpublicKey,
|
|
37217
37404
|
path: cardsarray[cardinfoindex].cardobj_img,
|
|
37218
37405
|
style: {
|
|
37219
|
-
width: '
|
|
37220
|
-
height: '
|
|
37406
|
+
width: sectionproperties.icontextfontsize + '%',
|
|
37407
|
+
height: sectionproperties.icontextfontsize + '%',
|
|
37221
37408
|
objectFit: 'contain'
|
|
37222
37409
|
}
|
|
37223
37410
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -38615,7 +38802,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
38615
38802
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38616
38803
|
"class": sectionStyles.line_right
|
|
38617
38804
|
})))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38618
|
-
"class": ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0
|
|
38805
|
+
"class": ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 ',
|
|
38619
38806
|
style: {
|
|
38620
38807
|
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
|
|
38621
38808
|
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
@@ -38655,7 +38842,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
38655
38842
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
38656
38843
|
}
|
|
38657
38844
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38658
|
-
"class":
|
|
38845
|
+
"class": 'd-flex align-items-center',
|
|
38659
38846
|
style: {
|
|
38660
38847
|
width: sectionproperties.image_width + 'px',
|
|
38661
38848
|
height: sectionproperties.image_height + 'px',
|
|
@@ -38664,15 +38851,15 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
38664
38851
|
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
38665
38852
|
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
38666
38853
|
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
|
|
38667
|
-
justifyContent: sectionproperties.
|
|
38854
|
+
justifyContent: sectionproperties.iconcontainerheight == '0' ? 'start' : 'center'
|
|
38668
38855
|
}
|
|
38669
38856
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
38670
38857
|
urlEndpoint: IKurlEndpoint,
|
|
38671
38858
|
publicKey: IKpublicKey,
|
|
38672
38859
|
path: cardsarray.length != 0 ? cardsarray[cardinfoindex].cardobj_img : '',
|
|
38673
38860
|
style: {
|
|
38674
|
-
maxHeight: '
|
|
38675
|
-
maxWidth: '
|
|
38861
|
+
maxHeight: sectionproperties.iconcontainerwidth + '%',
|
|
38862
|
+
maxWidth: sectionproperties.iconcontainerwidth + '%',
|
|
38676
38863
|
objectFit: 'contain'
|
|
38677
38864
|
}
|
|
38678
38865
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -41881,7 +42068,7 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
41881
42068
|
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41882
42069
|
"class": sectionproperties.transition == 'Show By Default' ? "".concat(card_cssstyles.floating_content_show) + ' row m-0 align-items-center justify-content-center ' : "".concat(card_cssstyles.floating_content) + ' row m-0 align-items-center justify-content-center floating_content '
|
|
41883
42070
|
}, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
41884
|
-
"class": "".concat(card_cssstyles.button_styles) + '',
|
|
42071
|
+
"class": sectionproperties.cartBtnShow == 'Hide' ? "".concat(card_cssstyles.button_styles) + ' ml-2 mr-2 ' : "".concat(card_cssstyles.button_styles) + ' ml-2 mr-2 ',
|
|
41885
42072
|
onClick: function onClick(e) {
|
|
41886
42073
|
e.stopPropagation();
|
|
41887
42074
|
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
@@ -41953,10 +42140,13 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
41953
42140
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41954
42141
|
"class": "h-100 allcentered addbtn"
|
|
41955
42142
|
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, null))))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
41956
|
-
"class": " ".concat(card_cssstyles.wishlist_btn) + '',
|
|
42143
|
+
"class": sectionproperties.cartBtnShow == 'Hide' ? "".concat(card_cssstyles.wishlist_btn) + '' : "".concat(card_cssstyles.wishlist_btn) + ' ml-2 mr-2 ',
|
|
41957
42144
|
onClick: function onClick(e) {
|
|
41958
42145
|
e.stopPropagation();
|
|
41959
42146
|
addtofavoritescontext(item.productid);
|
|
42147
|
+
},
|
|
42148
|
+
style: {
|
|
42149
|
+
background: item.IsFavExists == true ? sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.activebgcolor : ''
|
|
41960
42150
|
}
|
|
41961
42151
|
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41962
42152
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
@@ -44446,7 +44636,11 @@ var Card23 = function Card23(props) {
|
|
|
44446
44636
|
style: {
|
|
44447
44637
|
width: '100%',
|
|
44448
44638
|
height: '100%',
|
|
44449
|
-
objectFit: 'contain'
|
|
44639
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
44640
|
+
borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
|
|
44641
|
+
borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0,
|
|
44642
|
+
borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
|
|
44643
|
+
borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0
|
|
44450
44644
|
},
|
|
44451
44645
|
loading: "lazy",
|
|
44452
44646
|
onClick: function onClick() {
|
|
@@ -46686,7 +46880,7 @@ var Categorycard_withtext = function Categorycard_withtext(props) {
|
|
|
46686
46880
|
}, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar))))));
|
|
46687
46881
|
};
|
|
46688
46882
|
|
|
46689
|
-
var css_248z$6 = ".categorycard-module_img__3WuXu{\n width: 100%;\n height: 100%;\n object-fit: cover;\n transition: all .4s ease;\n overflow: hidden !important;\n}\n.categorycard-module_container__pJHqx:hover .categorycard-module_img__3WuXu{\n transform: scale(1.2);\n overflow: hidden;\n}\n.categorycard-module_buttons_container__tZolu {\n position: absolute;\n left: 0;\n bottom: 20px;\n opacity: 0;\n width: 100%;\n text-align: start;\n transition: all, 0.3s;\n -webkit-transition: all, 0.3s;\n -moz-transition: all, 0.3s;\n -ms-transition: all, 0.3s;\n -o-transition: all, 0.3s;\n}\n.categorycard-module_buttons_container__tZolu li {\n list-style: none;\n display: inline-block;\n position: relative;\n transition: all 0.4s ease 0.1s;\n -webkit-transition: all 0.4s ease 0.1s;\n -o-transition: all 0.4s ease 0.1s;\n}\n.categorycard-module_buttons_container__tZolu li span {\n display: block;\n transition: all, 0.3s;\n -webkit-transition: all, 0.3s;\n -moz-transition: all, 0.3s;\n -ms-transition: all, 0.3s;\n -o-transition: all, 0.3s;\n}\n.categorycard-module_container__pJHqx:hover .categorycard-module_buttons_container__tZolu {\n bottom: 40px !important;\n opacity: 1;\n}\n.categorycard-module_text__lXtJq {\n position: absolute;\n
|
|
46883
|
+
var css_248z$6 = ".categorycard-module_img__3WuXu{\n width: 100%;\n height: 100%;\n object-fit: cover;\n transition: all .4s ease;\n overflow: hidden !important;\n}\n.categorycard-module_container__pJHqx:hover .categorycard-module_img__3WuXu{\n transform: scale(1.2);\n overflow: hidden;\n}\n.categorycard-module_buttons_container__tZolu {\n position: absolute;\n left: 0;\n bottom: 20px;\n opacity: 0;\n width: 100%;\n text-align: start;\n transition: all, 0.3s;\n -webkit-transition: all, 0.3s;\n -moz-transition: all, 0.3s;\n -ms-transition: all, 0.3s;\n -o-transition: all, 0.3s;\n}\n.categorycard-module_buttons_container__tZolu li {\n list-style: none;\n display: inline-block;\n position: relative;\n transition: all 0.4s ease 0.1s;\n -webkit-transition: all 0.4s ease 0.1s;\n -o-transition: all 0.4s ease 0.1s;\n}\n.categorycard-module_buttons_container__tZolu li span {\n display: block;\n transition: all, 0.3s;\n -webkit-transition: all, 0.3s;\n -moz-transition: all, 0.3s;\n -ms-transition: all, 0.3s;\n -o-transition: all, 0.3s;\n}\n.categorycard-module_container__pJHqx:hover .categorycard-module_buttons_container__tZolu {\n bottom: 40px !important;\n opacity: 1;\n}\n.categorycard-module_text__lXtJq {\n position: absolute;\n opacity: 1;\n width: 100%;\n text-align: start;\n -webkit-transition: all, 0.3s;\n -moz-transition: all, 0.3s;\n -ms-transition: all, 0.3s;\n -o-transition: all, 0.3s;\n transition: all, 0.3s;\n}\n.categorycard-module_text__lXtJq li {\n list-style: none;\n display: inline-block;\n position: relative;\n -webkit-transition: all 0.4s ease 0.1s;\n -o-transition: all 0.4s ease 0.1s;\n transition: all 0.4s ease 0.1s;\n}\n.categorycard-module_text__lXtJq li span {\n display: block;\n -webkit-transition: all, 0.3s;\n -moz-transition: all, 0.3s;\n -ms-transition: all, 0.3s;\n -o-transition: all, 0.3s;\n transition: all, 0.3s;\n}\n.categorycard-module_text__lXtJq li span i {\n position: relative;\n transform: rotate(0);\n -webkit-transition: all, 0.2s;\n -moz-transition: all, 0.2s;\n -ms-transition: all, 0.2s;\n -o-transition: all, 0.2s;\n transition: all, 0.2s;\n}\n.categorycard-module_container__pJHqx:hover .categorycard-module_text__lXtJq {\n /* bottom: 80px !important; */\n opacity: 1;\n}\n";
|
|
46690
46884
|
var cardstyles$1 = {"img":"categorycard-module_img__3WuXu","container":"categorycard-module_container__pJHqx","buttons_container":"categorycard-module_buttons_container__tZolu","text":"categorycard-module_text__lXtJq"};
|
|
46691
46885
|
styleInject(css_248z$6);
|
|
46692
46886
|
|
|
@@ -46715,23 +46909,15 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
|
|
|
46715
46909
|
_useState6[0];
|
|
46716
46910
|
_useState6[1];
|
|
46717
46911
|
React.useEffect(function () {
|
|
46718
|
-
|
|
46719
|
-
|
|
46720
|
-
|
|
46721
|
-
|
|
46722
|
-
|
|
46723
|
-
|
|
46724
|
-
|
|
46725
|
-
|
|
46726
|
-
|
|
46727
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
46728
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
46729
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
46730
|
-
});
|
|
46731
|
-
}
|
|
46732
|
-
});
|
|
46733
|
-
setsectionproperties(_objectSpread$k({}, secpropobj));
|
|
46734
|
-
}
|
|
46912
|
+
var secpropobj = {};
|
|
46913
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
46914
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
46915
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
46916
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
46917
|
+
});
|
|
46918
|
+
}
|
|
46919
|
+
});
|
|
46920
|
+
setsectionproperties(_objectSpread$k({}, secpropobj));
|
|
46735
46921
|
}, [StatePagePropertiesContext]);
|
|
46736
46922
|
React.useEffect(function () {
|
|
46737
46923
|
setitem(props.cardinfoitemprops);
|
|
@@ -46777,6 +46963,9 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
|
|
|
46777
46963
|
opacity: sectionproperties.cardtransitionbgopacityonhover
|
|
46778
46964
|
}
|
|
46779
46965
|
}),
|
|
46966
|
+
text: glamor.css({
|
|
46967
|
+
bottom: sectionproperties.generaltext_topposition + 'px'
|
|
46968
|
+
}),
|
|
46780
46969
|
categoryname: glamor.css({
|
|
46781
46970
|
color: sectionproperties.generaltext_fontColor,
|
|
46782
46971
|
textTransform: sectionproperties.generaltext_textTransform,
|
|
@@ -46800,10 +46989,15 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
|
|
|
46800
46989
|
':hover': {
|
|
46801
46990
|
color: sectionproperties.generalbtn_textColoronhover
|
|
46802
46991
|
}
|
|
46992
|
+
}),
|
|
46993
|
+
container: glamor.css({
|
|
46994
|
+
':hover .text': {
|
|
46995
|
+
bottom: parseFloat(parseInt(sectionproperties.generaltext_topposition) + 20) + 'px'
|
|
46996
|
+
}
|
|
46803
46997
|
})
|
|
46804
46998
|
};
|
|
46805
46999
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46806
|
-
"class": cardstyles$1.container + ' row m-0 w-100 ',
|
|
47000
|
+
"class": "".concat(cardstyles$1.container, " ").concat(card_cssstyles.container) + ' row m-0 w-100 ',
|
|
46807
47001
|
style: {
|
|
46808
47002
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
46809
47003
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
@@ -46828,19 +47022,22 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
|
|
|
46828
47022
|
loading: "lazy"
|
|
46829
47023
|
}), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
46830
47024
|
style: {
|
|
46831
|
-
width: '90%'
|
|
47025
|
+
width: sectionproperties.generaltext_position == 'Centered' ? '100%' : '90%'
|
|
46832
47026
|
},
|
|
46833
|
-
"class": "".concat(cardstyles$1.text) + ' m-0 p-0 '
|
|
47027
|
+
"class": "".concat(cardstyles$1.text, " ").concat(card_cssstyles.text) + ' text m-0 p-0 '
|
|
46834
47028
|
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
47029
|
+
"class": sectionproperties.generaltext_position == 'Centered' ? 'cursor-pointer' : langdetect == 'en' ? 'ml-3 cursor-pointer ' : 'mr-3 cursor-pointer ',
|
|
46835
47030
|
style: {
|
|
47031
|
+
display: 'flex',
|
|
47032
|
+
justifyContent: sectionproperties.generaltext_position == 'Centered' ? 'center' : 'start',
|
|
46836
47033
|
zIndex: 10000
|
|
46837
|
-
}
|
|
46838
|
-
"class": langdetect == 'en' ? 'ml-3 cursor-pointer ' : 'mr-3 cursor-pointer '
|
|
46839
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", null, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
46840
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
47034
|
+
}
|
|
46841
47035
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
46842
|
-
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak wordbreak1 '
|
|
46843
|
-
|
|
47036
|
+
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak wordbreak1 ',
|
|
47037
|
+
style: {
|
|
47038
|
+
fontStyle: sectionproperties.generaltext_position == 'Centered' ? 'normal' : 'italic'
|
|
47039
|
+
}
|
|
47040
|
+
}, item.name))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
46844
47041
|
"class": "".concat(cardstyles$1.buttons_container) + ' m-0 p-0 '
|
|
46845
47042
|
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
46846
47043
|
style: {
|
|
@@ -46868,19 +47065,22 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
|
|
|
46868
47065
|
loading: "lazy"
|
|
46869
47066
|
}), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
46870
47067
|
style: {
|
|
46871
|
-
width: '90%'
|
|
47068
|
+
width: sectionproperties.generaltext_position == 'Centered' ? '100%' : '90%'
|
|
46872
47069
|
},
|
|
46873
|
-
"class": "".concat(cardstyles$1.text) + ' m-0 p-0 '
|
|
47070
|
+
"class": "".concat(cardstyles$1.text, " ").concat(card_cssstyles.text) + ' text m-0 p-0 '
|
|
46874
47071
|
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
47072
|
+
"class": sectionproperties.generaltext_position == 'Centered' ? 'cursor-pointer' : langdetect == 'en' ? 'ml-3 cursor-pointer ' : 'mr-3 cursor-pointer ',
|
|
46875
47073
|
style: {
|
|
47074
|
+
display: 'flex',
|
|
47075
|
+
justifyContent: sectionproperties.generaltext_position == 'Centered' ? 'center' : 'start',
|
|
46876
47076
|
zIndex: 10000
|
|
46877
|
-
}
|
|
46878
|
-
"class": langdetect == 'en' ? 'ml-3 cursor-pointer ' : 'mr-3 cursor-pointer '
|
|
46879
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", null, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
46880
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
47077
|
+
}
|
|
46881
47078
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
46882
|
-
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak wordbreak1 '
|
|
46883
|
-
|
|
47079
|
+
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak wordbreak1 ',
|
|
47080
|
+
style: {
|
|
47081
|
+
fontStyle: sectionproperties.generaltext_position == 'Centered' ? 'normal' : 'italic'
|
|
47082
|
+
}
|
|
47083
|
+
}, item.name))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
46884
47084
|
"class": "".concat(cardstyles$1.buttons_container) + ' m-0 p-0 '
|
|
46885
47085
|
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
46886
47086
|
style: {
|
|
@@ -47131,7 +47331,8 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
47131
47331
|
transition: '.3s',
|
|
47132
47332
|
':hover': {
|
|
47133
47333
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
47134
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
47334
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
47335
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
47135
47336
|
}
|
|
47136
47337
|
}),
|
|
47137
47338
|
productDescStyles: glamor.css({
|
|
@@ -47288,12 +47489,12 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
47288
47489
|
"class": "col-lg-12 p-0 d-flex align-items-center"
|
|
47289
47490
|
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
47290
47491
|
"class": card_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
47291
|
-
}, langdetect == 'en' ?
|
|
47492
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname), item.hassale == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
47292
47493
|
"class": card_cssstyles.productSalePricestyles + ' m-0 p-0 ml-2 mr-2 ',
|
|
47293
47494
|
style: {
|
|
47294
47495
|
textDecoration: 'line-through'
|
|
47295
47496
|
}
|
|
47296
|
-
}, langdetect == 'en' ?
|
|
47497
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47297
47498
|
"class": "col-lg-12 p-0 d-flex align-items-center mt-2"
|
|
47298
47499
|
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
47299
47500
|
"class": card_cssstyles.cart_btn,
|
|
@@ -51336,6 +51537,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
51336
51537
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
51337
51538
|
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
51338
51539
|
color: sectionproperties.generaltext_fontColor,
|
|
51540
|
+
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
51339
51541
|
transition: '.3s',
|
|
51340
51542
|
cursor: 'pointer',
|
|
51341
51543
|
':hover .categoryname': {
|
|
@@ -51402,20 +51604,23 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
51402
51604
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51403
51605
|
"class": " row m-0 w-100 allcentered"
|
|
51404
51606
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51405
|
-
"class": card_cssstyles.imagecontainer + ' d-flex d-sm-none '
|
|
51607
|
+
"class": card_cssstyles.imagecontainer + ' d-flex d-sm-none align-items-center justify-content-center ',
|
|
51608
|
+
style: {
|
|
51609
|
+
width: sectionproperties.image_bordertopleftradius == '100' ? sectionproperties.image_height + 'px' : '100%'
|
|
51610
|
+
}
|
|
51406
51611
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
51407
51612
|
urlEndpoint: IKurlEndpoint,
|
|
51408
51613
|
publicKey: IKpublicKey,
|
|
51409
51614
|
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
51410
51615
|
style: {
|
|
51411
|
-
width: '
|
|
51412
|
-
height: '
|
|
51616
|
+
width: sectionproperties.image_width + '%',
|
|
51617
|
+
height: sectionproperties.image_width + '%',
|
|
51413
51618
|
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
51414
51619
|
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
|
|
51415
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
51416
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
51417
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
51418
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
|
|
51620
|
+
borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
|
|
51621
|
+
borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0,
|
|
51622
|
+
borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
|
|
51623
|
+
borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0
|
|
51419
51624
|
},
|
|
51420
51625
|
loading: "lazy"
|
|
51421
51626
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|