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.esm.js
CHANGED
|
@@ -51,6 +51,7 @@ import { VscGlobe } from '@react-icons/all-files/vsc/VscGlobe';
|
|
|
51
51
|
import { FiLayers } from '@react-icons/all-files/fi/FiLayers';
|
|
52
52
|
import { HiOutlineTrash } from '@react-icons/all-files/hi/HiOutlineTrash';
|
|
53
53
|
import { BiSad } from '@react-icons/all-files/bi/BiSad';
|
|
54
|
+
import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
|
|
54
55
|
import TextareaAutosize from 'react-textarea-autosize';
|
|
55
56
|
import { HiUser } from '@react-icons/all-files/hi/HiUser';
|
|
56
57
|
import { GrMail } from '@react-icons/all-files/gr/GrMail';
|
|
@@ -75,8 +76,6 @@ import { FiChevronLeft } from '@react-icons/all-files/fi/FiChevronLeft';
|
|
|
75
76
|
import { FiChevronRight } from '@react-icons/all-files/fi/FiChevronRight';
|
|
76
77
|
import ReactPaginate from 'react-paginate';
|
|
77
78
|
import { BiGlobe } from '@react-icons/all-files/bi/BiGlobe';
|
|
78
|
-
import '@react-icons/all-files/hi/HiOutlinePlus';
|
|
79
|
-
import '@react-icons/all-files/ai/AiOutlineMinus';
|
|
80
79
|
import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
|
|
81
80
|
import { FaMoneyBillWave } from '@react-icons/all-files/fa/FaMoneyBillWave';
|
|
82
81
|
import { BiLogOutCircle } from '@react-icons/all-files/bi/BiLogOutCircle';
|
|
@@ -1690,7 +1689,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1690
1689
|
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; }
|
|
1691
1690
|
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(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; }
|
|
1692
1691
|
var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
1693
|
-
var _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24
|
|
1692
|
+
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;
|
|
1694
1693
|
var langdetect = props.actions.langdetect;
|
|
1695
1694
|
var lang = props.actions.lang;
|
|
1696
1695
|
var sectionproperties = props.actions.sectionproperties;
|
|
@@ -1727,6 +1726,36 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
1727
1726
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
1728
1727
|
slots = _useState6[0],
|
|
1729
1728
|
setslots = _useState6[1];
|
|
1729
|
+
useEffect(function () {
|
|
1730
|
+
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1731
|
+
item_type: 'service'
|
|
1732
|
+
}));
|
|
1733
|
+
}, [tabsarray]);
|
|
1734
|
+
useEffect(function () {
|
|
1735
|
+
var date1 = new Date(addtocardpayloadobj.from);
|
|
1736
|
+
var date2 = new Date(addtocardpayloadobj.to);
|
|
1737
|
+
var diffTime = Math.abs(date2 - date1);
|
|
1738
|
+
var diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24));
|
|
1739
|
+
if (diffDays.toString() != 'NaN') {
|
|
1740
|
+
if (date2 <= date1) {
|
|
1741
|
+
NotificationManager.warning('', 'Please choose another date.');
|
|
1742
|
+
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1743
|
+
quantity: 0
|
|
1744
|
+
}));
|
|
1745
|
+
} else {
|
|
1746
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
|
|
1747
|
+
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1748
|
+
quantity: diffDays
|
|
1749
|
+
}));
|
|
1750
|
+
} else {
|
|
1751
|
+
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1752
|
+
quantity: 0
|
|
1753
|
+
}));
|
|
1754
|
+
NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
1755
|
+
}
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
}, [addtocardpayloadobj.from, addtocardpayloadobj.to]);
|
|
1730
1759
|
var TabsStyles = {
|
|
1731
1760
|
sidebar_item: css({
|
|
1732
1761
|
background: sectionproperties.tabcontainerbgcolor,
|
|
@@ -1783,16 +1812,6 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
1783
1812
|
booknow_btn_disabled: css({
|
|
1784
1813
|
opacity: 0.3
|
|
1785
1814
|
}),
|
|
1786
|
-
timeLabel: css({
|
|
1787
|
-
color: sectionproperties.time_laelColor,
|
|
1788
|
-
fontWeight: sectionproperties.time_labelFonweight,
|
|
1789
|
-
fontSize: sectionproperties.time_labelFontsize + 'px'
|
|
1790
|
-
}),
|
|
1791
|
-
time: css({
|
|
1792
|
-
color: sectionproperties.time_timeColor,
|
|
1793
|
-
fontWeight: sectionproperties.time_timeFontweight,
|
|
1794
|
-
fontSize: sectionproperties.time_timeFontsize + 'px'
|
|
1795
|
-
}),
|
|
1796
1815
|
inputfield_label: css({
|
|
1797
1816
|
color: sectionproperties.form_labelcolor,
|
|
1798
1817
|
fontWeight: sectionproperties.form_labelfontweight,
|
|
@@ -1809,43 +1828,45 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
1809
1828
|
':focus': {
|
|
1810
1829
|
borderColor: sectionproperties.inputfeildbordercoloronfocus
|
|
1811
1830
|
}
|
|
1831
|
+
}),
|
|
1832
|
+
timeSlotContainer: css({
|
|
1833
|
+
minWidth: '6vh',
|
|
1834
|
+
height: '5vh',
|
|
1835
|
+
borderRadius: sectionproperties.time_borderRadius + 'px',
|
|
1836
|
+
backgroundColor: sectionproperties.time_bgcolor,
|
|
1837
|
+
border: sectionproperties.time_borderwidth + 'px solid ' + sectionproperties.time_borderColor,
|
|
1838
|
+
color: sectionproperties.time_timeColor,
|
|
1839
|
+
fontWeight: sectionproperties.time_timeFontweight,
|
|
1840
|
+
fontSize: sectionproperties.time_timeFontsize + 'px',
|
|
1841
|
+
':hover': {
|
|
1842
|
+
transition: '.3s',
|
|
1843
|
+
backgroundColor: sectionproperties.time_secondarybgcolor,
|
|
1844
|
+
color: sectionproperties.time_secondarycolor,
|
|
1845
|
+
borderColor: sectionproperties.time_secondarycolor
|
|
1846
|
+
}
|
|
1847
|
+
}),
|
|
1848
|
+
timeSlotContainer_active: css({
|
|
1849
|
+
minWidth: '6vh',
|
|
1850
|
+
height: '5vh',
|
|
1851
|
+
borderRadius: sectionproperties.time_borderRadius + 'px',
|
|
1852
|
+
backgroundColor: sectionproperties.time_activebgcolor,
|
|
1853
|
+
border: sectionproperties.time_borderwidth + 'px solid ' + sectionproperties.time_timeactiveColor,
|
|
1854
|
+
color: sectionproperties.time_timeactiveColor,
|
|
1855
|
+
fontWeight: sectionproperties.time_timeFontweight,
|
|
1856
|
+
fontSize: sectionproperties.time_timeFontsize + 'px',
|
|
1857
|
+
':hover': {
|
|
1858
|
+
transition: '.3s',
|
|
1859
|
+
backgroundColor: sectionproperties.time_secondarybgcolor,
|
|
1860
|
+
color: sectionproperties.time_secondarycolor,
|
|
1861
|
+
borderColor: sectionproperties.time_secondarycolor
|
|
1862
|
+
}
|
|
1812
1863
|
})
|
|
1813
1864
|
};
|
|
1814
|
-
useEffect(function () {
|
|
1815
|
-
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1816
|
-
item_type: 'service'
|
|
1817
|
-
}));
|
|
1818
|
-
}, [tabsarray]);
|
|
1819
|
-
useEffect(function () {
|
|
1820
|
-
var date1 = new Date(addtocardpayloadobj.from);
|
|
1821
|
-
var date2 = new Date(addtocardpayloadobj.to);
|
|
1822
|
-
var diffTime = Math.abs(date2 - date1);
|
|
1823
|
-
var diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24));
|
|
1824
|
-
if (diffDays.toString() != 'NaN') {
|
|
1825
|
-
if (date2 <= date1) {
|
|
1826
|
-
NotificationManager.warning('', 'Please choose another date.');
|
|
1827
|
-
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1828
|
-
quantity: 0
|
|
1829
|
-
}));
|
|
1830
|
-
} else {
|
|
1831
|
-
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
|
|
1832
|
-
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1833
|
-
quantity: diffDays
|
|
1834
|
-
}));
|
|
1835
|
-
} else {
|
|
1836
|
-
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1837
|
-
quantity: 0
|
|
1838
|
-
}));
|
|
1839
|
-
NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
1840
|
-
}
|
|
1841
|
-
}
|
|
1842
|
-
}
|
|
1843
|
-
}, [addtocardpayloadobj.from, addtocardpayloadobj.to]);
|
|
1844
1865
|
return /*#__PURE__*/React.createElement("div", {
|
|
1845
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1866
|
+
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'
|
|
1846
1867
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1847
1868
|
"class": "row m-0 w-100"
|
|
1848
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1869
|
+
}, (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.createElement("div", {
|
|
1849
1870
|
"class": "row m-0 w-100"
|
|
1850
1871
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1851
1872
|
"class": "col-lg-6 col-md-12 col-sm-12 mb-2 pl-1 pr-1"
|
|
@@ -1860,8 +1881,8 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
1860
1881
|
}, /*#__PURE__*/React.createElement("input", {
|
|
1861
1882
|
type: "date",
|
|
1862
1883
|
"class": TabsStyles.inputfield + ' w-100 allcentered pl-1 pr-1 ',
|
|
1863
|
-
min: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1864
|
-
max: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1884
|
+
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,
|
|
1885
|
+
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,
|
|
1865
1886
|
onChange: function onChange(event) {
|
|
1866
1887
|
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
1867
1888
|
from: event.target.value
|
|
@@ -1887,7 +1908,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
1887
1908
|
to: event.target.value
|
|
1888
1909
|
}));
|
|
1889
1910
|
}
|
|
1890
|
-
}))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1911
|
+
}))))), (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.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
1891
1912
|
"class": "col-lg-12 col-md-12 col-sm-12 mb-2"
|
|
1892
1913
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1893
1914
|
"class": "row m-0 w-100"
|
|
@@ -1920,7 +1941,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
1920
1941
|
"class": "col-lg-12 col-md-12 col-sm-12"
|
|
1921
1942
|
}, /*#__PURE__*/React.createElement("p", {
|
|
1922
1943
|
"class": TabsStyles.inputfield_label + ' p-0 d-flex justify-content-start m-0 '
|
|
1923
|
-
},
|
|
1944
|
+
}, langdetect == 'en' ? sectionproperties.reservationslot_titleen : sectionproperties.reservationslot_titlear), GeneralAPIMutationContext.isLoading && GeneralAPIMutationContext.variables.endpointurl == '/fetchserviceslots' && /*#__PURE__*/React.createElement("div", {
|
|
1924
1945
|
className: 'row ml-0 mr-0 w-100 allcentered',
|
|
1925
1946
|
style: {
|
|
1926
1947
|
height: 200
|
|
@@ -1930,7 +1951,9 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
1930
1951
|
width: "10px",
|
|
1931
1952
|
height: "10px",
|
|
1932
1953
|
duration: "1s"
|
|
1933
|
-
})),
|
|
1954
|
+
})), sectionproperties.slots_style == 'Horizontal' && /*#__PURE__*/React.createElement("div", {
|
|
1955
|
+
"class": "w-100"
|
|
1956
|
+
}, slots.map(function (item, index) {
|
|
1934
1957
|
var ischoosed = false;
|
|
1935
1958
|
if (item.slot == addtocardpayloadobj.time) {
|
|
1936
1959
|
ischoosed = true;
|
|
@@ -1990,11 +2013,31 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
1990
2013
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
1991
2014
|
"class": "m-0 mb-3 mt-3"
|
|
1992
2015
|
})));
|
|
1993
|
-
}))
|
|
2016
|
+
})), sectionproperties.slots_style == 'Vertical' && /*#__PURE__*/React.createElement("div", {
|
|
2017
|
+
"class": "row m-0 w-100 mb-4 mt-3"
|
|
2018
|
+
}, slots.map(function (item, index) {
|
|
2019
|
+
var ischoosed = false;
|
|
2020
|
+
if (item.slot == addtocardpayloadobj.time) {
|
|
2021
|
+
ischoosed = true;
|
|
2022
|
+
}
|
|
2023
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
2024
|
+
"class": "col-lg-2 col-md-2 col-sm-4 pl-1 pr-1 mb-2"
|
|
2025
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2026
|
+
"class": ischoosed == true ? TabsStyles.timeSlotContainer_active + ' allcentered cursor-pointer px-1 ' : TabsStyles.timeSlotContainer + ' allcentered cursor-pointer px-1 ',
|
|
2027
|
+
style: {},
|
|
2028
|
+
onClick: function onClick() {
|
|
2029
|
+
setaddtocardpayloadobj(_objectSpread$1Z(_objectSpread$1Z({}, addtocardpayloadobj), {}, {
|
|
2030
|
+
time: item.slot
|
|
2031
|
+
}));
|
|
2032
|
+
}
|
|
2033
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
2034
|
+
"class": ' p-0 m-0 '
|
|
2035
|
+
}, item.slot)));
|
|
2036
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
1994
2037
|
className: "col-lg-12 p-0 mb-3"
|
|
1995
2038
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1996
2039
|
className: "row m-0 w-100"
|
|
1997
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2040
|
+
}, (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.createElement("div", {
|
|
1998
2041
|
className: "col-lg-12 p-0"
|
|
1999
2042
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2000
2043
|
className: "row m-0 w-100"
|
|
@@ -2054,12 +2097,12 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2054
2097
|
}, /*#__PURE__*/React.createElement("button", {
|
|
2055
2098
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 ',
|
|
2056
2099
|
onClick: function onClick() {
|
|
2057
|
-
var
|
|
2058
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2100
|
+
var _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32;
|
|
2101
|
+
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') {
|
|
2059
2102
|
if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
|
|
2060
2103
|
addtocartfunc();
|
|
2061
2104
|
}
|
|
2062
|
-
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2105
|
+
} 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') {
|
|
2063
2106
|
if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
|
|
2064
2107
|
addtocartfunc();
|
|
2065
2108
|
}
|
|
@@ -2131,12 +2174,12 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2131
2174
|
}, /*#__PURE__*/React.createElement("button", {
|
|
2132
2175
|
className: "".concat(productinfo_cssstyles.cart_btn) + ' w-100 d-flex align-items-center justify-content-center ',
|
|
2133
2176
|
onClick: function onClick() {
|
|
2134
|
-
var
|
|
2135
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2177
|
+
var _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40;
|
|
2178
|
+
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') {
|
|
2136
2179
|
if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
|
|
2137
2180
|
addtocartfunc();
|
|
2138
2181
|
}
|
|
2139
|
-
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2182
|
+
} 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') {
|
|
2140
2183
|
if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
|
|
2141
2184
|
addtocartfunc();
|
|
2142
2185
|
}
|
|
@@ -2210,13 +2253,13 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2210
2253
|
}, /*#__PURE__*/React.createElement("button", {
|
|
2211
2254
|
className: "".concat(productinfo_cssstyles.checkoutbtn, " ") + ' d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 ',
|
|
2212
2255
|
onClick: function onClick() {
|
|
2213
|
-
var
|
|
2214
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2256
|
+
var _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48;
|
|
2257
|
+
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') {
|
|
2215
2258
|
if (addtocardpayloadobj.from.length != 0 && addtocardpayloadobj.to.length != 0 && addtocardpayloadobj.quantity != 0) {
|
|
2216
2259
|
addtocartfunc();
|
|
2217
2260
|
routingcountext(StaticPagesLinksContext.Checkout);
|
|
2218
2261
|
}
|
|
2219
|
-
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2262
|
+
} 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') {
|
|
2220
2263
|
if (addtocardpayloadobj.date.length != 0 && addtocardpayloadobj.time.length != 0) {
|
|
2221
2264
|
addtocartfunc();
|
|
2222
2265
|
routingcountext(StaticPagesLinksContext.Checkout);
|
|
@@ -2234,11 +2277,8 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2234
2277
|
var lang = props.actions.lang;
|
|
2235
2278
|
var langdetect = props.actions.langdetect;
|
|
2236
2279
|
var srcfromprops = props.actions.srcfromprops;
|
|
2237
|
-
props.actions.returnpolicyobj;
|
|
2238
2280
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
2239
2281
|
var addtocartfunc = props.actions.addtocartfunc;
|
|
2240
|
-
props.actions.selectproductoptionvalue;
|
|
2241
|
-
props.actions.relatedproducts;
|
|
2242
2282
|
var productimagesarray = props.actions.productimagesarray;
|
|
2243
2283
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
2244
2284
|
var sectionproperties = props.actions.sectionproperties;
|
|
@@ -2248,29 +2288,24 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2248
2288
|
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
2249
2289
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
2250
2290
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
2251
|
-
props.actions.addtofavoritescontext;
|
|
2291
|
+
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
2252
2292
|
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
2253
2293
|
var NotificationManager = props.actions.NotificationManager;
|
|
2254
2294
|
var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
|
|
2255
2295
|
var quantityconditionfoundobjprops = props.actions.quantityconditionfoundobjprops;
|
|
2256
|
-
props.actions.getQuantityCondition;
|
|
2257
2296
|
var StoreInfoprops = props.actions.StoreInfoprops;
|
|
2258
|
-
var _useState = useState(
|
|
2259
|
-
_useState2 = _slicedToArray(_useState, 2)
|
|
2260
|
-
_useState2[0]
|
|
2261
|
-
_useState2[1];
|
|
2297
|
+
var _useState = useState(''),
|
|
2298
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
2299
|
+
shareUrl = _useState2[0],
|
|
2300
|
+
setshareUrl = _useState2[1];
|
|
2262
2301
|
var _useState3 = useState(''),
|
|
2263
|
-
_useState4 = _slicedToArray(_useState3, 2)
|
|
2264
|
-
_useState4[0]
|
|
2265
|
-
|
|
2266
|
-
var _useState5 = useState(
|
|
2302
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
2303
|
+
title = _useState4[0],
|
|
2304
|
+
settitle = _useState4[1];
|
|
2305
|
+
var _useState5 = useState(fetchProductInfoQueryContext.data.data.productinfo),
|
|
2267
2306
|
_useState6 = _slicedToArray(_useState5, 2);
|
|
2268
2307
|
_useState6[0];
|
|
2269
|
-
var
|
|
2270
|
-
var _useState7 = useState(fetchProductInfoQueryContext.data.data.productinfo),
|
|
2271
|
-
_useState8 = _slicedToArray(_useState7, 2);
|
|
2272
|
-
_useState8[0];
|
|
2273
|
-
var setitem = _useState8[1];
|
|
2308
|
+
var setitem = _useState6[1];
|
|
2274
2309
|
useEffect(function () {
|
|
2275
2310
|
var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
|
|
2276
2311
|
if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
|
|
@@ -2335,7 +2370,46 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2335
2370
|
showNav: false,
|
|
2336
2371
|
showPlayButton: false,
|
|
2337
2372
|
showFullscreenButton: true
|
|
2373
|
+
})), sectionproperties.showShareButton == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2374
|
+
"class": "col-lg-12 d-flex justify-content-center flex-column align-items-center p-0 mt-2"
|
|
2375
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
2376
|
+
"class": "m-0 p-0",
|
|
2377
|
+
style: {
|
|
2378
|
+
fontWeight: sectionproperties.sharebtn_FontWeight,
|
|
2379
|
+
color: sectionproperties.sharebtn_color,
|
|
2380
|
+
fontSize: sectionproperties.sharebtn_fontSize + 'px'
|
|
2381
|
+
}
|
|
2382
|
+
}, langdetect == 'en' ? sectionproperties.sharebtn_contentEn : sectionproperties.sharebtn_contentAr), /*#__PURE__*/React.createElement("div", {
|
|
2383
|
+
className: "Demo__container w-100 m-0 allcentered mt-3"
|
|
2384
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2385
|
+
className: "Demo__some-network ml-2 mr-2"
|
|
2386
|
+
}, /*#__PURE__*/React.createElement(FacebookShareButton, {
|
|
2387
|
+
url: shareUrl,
|
|
2388
|
+
quote: title,
|
|
2389
|
+
className: "Demo__some-network__share-button"
|
|
2390
|
+
}, /*#__PURE__*/React.createElement(FacebookIcon, {
|
|
2391
|
+
size: 40,
|
|
2392
|
+
round: true
|
|
2393
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
2394
|
+
className: "Demo__some-network ml-2 mr-2"
|
|
2395
|
+
}, /*#__PURE__*/React.createElement(TwitterShareButton, {
|
|
2396
|
+
url: shareUrl,
|
|
2397
|
+
title: title,
|
|
2398
|
+
className: "Demo__some-network__share-button"
|
|
2399
|
+
}, /*#__PURE__*/React.createElement(TwitterIcon, {
|
|
2400
|
+
size: 40,
|
|
2401
|
+
round: true
|
|
2338
2402
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
2403
|
+
className: "Demo__some-network ml-2 mr-2"
|
|
2404
|
+
}, /*#__PURE__*/React.createElement(WhatsappShareButton, {
|
|
2405
|
+
url: shareUrl,
|
|
2406
|
+
title: title,
|
|
2407
|
+
separator: ":: ",
|
|
2408
|
+
className: "Demo__some-network__share-button"
|
|
2409
|
+
}, /*#__PURE__*/React.createElement(WhatsappIcon, {
|
|
2410
|
+
size: 40,
|
|
2411
|
+
round: true
|
|
2412
|
+
})))))), /*#__PURE__*/React.createElement("div", {
|
|
2339
2413
|
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'
|
|
2340
2414
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2341
2415
|
"class": "row m-0 w-100"
|
|
@@ -2535,7 +2609,8 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2535
2609
|
getprice_discountpriceprops: getprice_discountpriceprops,
|
|
2536
2610
|
authdetailsContext: authdetailsContext,
|
|
2537
2611
|
routingcountext: routingcountext,
|
|
2538
|
-
StaticPagesLinksContext: StaticPagesLinksContext
|
|
2612
|
+
StaticPagesLinksContext: StaticPagesLinksContext,
|
|
2613
|
+
addtofavoritescontext: addtofavoritescontext
|
|
2539
2614
|
}
|
|
2540
2615
|
})))))), /*#__PURE__*/React.createElement("div", {
|
|
2541
2616
|
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',
|
|
@@ -3057,6 +3132,11 @@ var Productinfo = function Productinfo(props) {
|
|
|
3057
3132
|
textAlign: 'start'
|
|
3058
3133
|
}),
|
|
3059
3134
|
cart_btn: css({
|
|
3135
|
+
position: 'relative',
|
|
3136
|
+
display: 'flex',
|
|
3137
|
+
alignItems: 'center',
|
|
3138
|
+
justifyContent: 'center',
|
|
3139
|
+
overflow: 'hidden',
|
|
3060
3140
|
width: sectionproperties.cartBtnWidth + 'px',
|
|
3061
3141
|
height: sectionproperties.cartBtnHeight + 'px',
|
|
3062
3142
|
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
@@ -3066,18 +3146,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
3066
3146
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
3067
3147
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
3068
3148
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
3069
|
-
transition: '.3s',
|
|
3070
|
-
opacity: sectionproperties.cartbtn_opacity,
|
|
3071
|
-
display: 'flex',
|
|
3072
|
-
alignItems: 'center',
|
|
3073
|
-
justifyContent: 'center',
|
|
3074
|
-
overflow: 'hidden',
|
|
3075
3149
|
margin: 0,
|
|
3076
|
-
|
|
3150
|
+
transition: '.3s',
|
|
3077
3151
|
':hover': {
|
|
3078
3152
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
3079
3153
|
color: sectionproperties.cartBtnTextcoloronhover,
|
|
3080
|
-
|
|
3154
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
3081
3155
|
}
|
|
3082
3156
|
}),
|
|
3083
3157
|
quantitybtn: css({
|
|
@@ -3509,7 +3583,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
3509
3583
|
srcfromprops: props.srcfromprops
|
|
3510
3584
|
}, _defineProperty(_ref2, "returnpolicyobj", returnpolicyobj), _defineProperty(_ref2, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty(_ref2, "addtocartfunc", addtocartfunc), _defineProperty(_ref2, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty(_ref2, "productimagesarray", productimagesarray), _defineProperty(_ref2, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty(_ref2, "sectionproperties", sectionproperties), _defineProperty(_ref2, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty(_ref2, "routingcountext", routingcountext), _defineProperty(_ref2, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty(_ref2, "authdetailsContext", authdetailsContext), _defineProperty(_ref2, "addtofavoritescontext", addtofavoritescontext), _defineProperty(_ref2, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty(_ref2, "variantindexcompleted", variantindexcompleted), _defineProperty(_ref2, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_ref2, "NotificationManager", NotificationManager), _defineProperty(_ref2, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty(_ref2, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_ref2, "relatedproducts", relatedproducts), _defineProperty(_ref2, "getQuantityCondition", getQuantityCondition), _defineProperty(_ref2, "StoreInfoprops", StoreInfo), _ref2)
|
|
3511
3585
|
}), /*#__PURE__*/React.createElement("div", {
|
|
3512
|
-
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 ',
|
|
3586
|
+
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 ',
|
|
3513
3587
|
style: {
|
|
3514
3588
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
3515
3589
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0
|
|
@@ -3776,6 +3850,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
3776
3850
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
3777
3851
|
transition: '.3s',
|
|
3778
3852
|
':hover': {
|
|
3853
|
+
transition: '.3s',
|
|
3779
3854
|
background: sectionproperties.cartBtnbgColoronhover,
|
|
3780
3855
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
3781
3856
|
}
|
|
@@ -3785,6 +3860,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
3785
3860
|
background: sectionproperties.navcontbg_color,
|
|
3786
3861
|
borderRadius: sectionproperties.navcontborderbl + 'px',
|
|
3787
3862
|
':hover': {
|
|
3863
|
+
transition: '.3s',
|
|
3788
3864
|
color: sectionproperties.navigationtextcoloronhover,
|
|
3789
3865
|
background: sectionproperties.navcontbgcoloronhover
|
|
3790
3866
|
},
|
|
@@ -3793,6 +3869,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
3793
3869
|
right: langdetect == 'en' ? 0 : ''
|
|
3794
3870
|
},
|
|
3795
3871
|
':hover:after': {
|
|
3872
|
+
transition: '.3s',
|
|
3796
3873
|
background: sectionproperties.navigationtextcoloronhover,
|
|
3797
3874
|
left: langdetect == 'en' ? '' : 0,
|
|
3798
3875
|
right: langdetect == 'en' ? 0 : ''
|
|
@@ -4038,14 +4115,12 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4038
4115
|
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
4039
4116
|
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
4040
4117
|
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
4041
|
-
boxShadow: sectionproperties.generalbtn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.generalbtn_shadowcolor : '',
|
|
4042
|
-
opacity: sectionproperties.generalbtn_opacity,
|
|
4043
4118
|
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
4044
4119
|
transition: '.3s',
|
|
4045
4120
|
':hover': {
|
|
4046
4121
|
background: sectionproperties.generalbtn_bgColoronhover,
|
|
4047
4122
|
color: sectionproperties.generalbtn_textColoronhover,
|
|
4048
|
-
|
|
4123
|
+
borderColor: sectionproperties.generalbtn_textColoronhover
|
|
4049
4124
|
}
|
|
4050
4125
|
}),
|
|
4051
4126
|
tableimagecont: css({
|
|
@@ -4278,7 +4353,10 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4278
4353
|
}, orderindex.length == 0 && /*#__PURE__*/React.createElement("div", {
|
|
4279
4354
|
className: "row m-0 w-100"
|
|
4280
4355
|
}, sectionproperties.pagedesign == 'Design 1 (Cards)' && /*#__PURE__*/React.createElement("div", {
|
|
4281
|
-
className: "row m-0 w-100"
|
|
4356
|
+
className: "row m-0 w-100 mt-3",
|
|
4357
|
+
style: {
|
|
4358
|
+
minHeight: '70vh'
|
|
4359
|
+
}
|
|
4282
4360
|
}, fetchorderhistoryQueryContext.data.data.ordershistory.map(function (item, index) {
|
|
4283
4361
|
return /*#__PURE__*/React.createElement("div", {
|
|
4284
4362
|
className: ' col-lg-4 col-md-6 col-sm-12 mb-4 pl-md-2 pr-md-2 pr-0 '
|
|
@@ -4304,7 +4382,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4304
4382
|
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
4305
4383
|
textTransform: sectionproperties.generaltext_textTransform
|
|
4306
4384
|
}
|
|
4307
|
-
},
|
|
4385
|
+
}, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ' ', /*#__PURE__*/React.createElement("span", {
|
|
4308
4386
|
style: {
|
|
4309
4387
|
color: sectionproperties.text_secondarycolor
|
|
4310
4388
|
}
|
|
@@ -4316,22 +4394,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4316
4394
|
setorderindex(index);
|
|
4317
4395
|
setopenorderitemsmodalshow(true);
|
|
4318
4396
|
}
|
|
4319
|
-
}, langdetect == 'en' ?
|
|
4320
|
-
className: "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
4321
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
4322
|
-
className: ' m-0 p-0 d-flex justify-content-start module line-clamp ',
|
|
4323
|
-
style: {
|
|
4324
|
-
color: sectionproperties.generaltext_fontColor,
|
|
4325
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
4326
|
-
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
4327
|
-
textTransform: sectionproperties.generaltext_textTransform
|
|
4328
|
-
}
|
|
4329
|
-
}, lang.numberofproducts, ":", ' ', /*#__PURE__*/React.createElement("span", {
|
|
4330
|
-
className: "ml-1 mr-1",
|
|
4331
|
-
style: {
|
|
4332
|
-
color: sectionproperties.text_secondarycolor
|
|
4333
|
-
}
|
|
4334
|
-
}, item.orderitems.length))), /*#__PURE__*/React.createElement("div", {
|
|
4397
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React.createElement("div", {
|
|
4335
4398
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mt-2"
|
|
4336
4399
|
}, /*#__PURE__*/React.createElement("span", {
|
|
4337
4400
|
className: "".concat(generalstyles.pill, " ") + ' pl-2 pr-2 ',
|
|
@@ -4352,18 +4415,19 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4352
4415
|
}
|
|
4353
4416
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4354
4417
|
className: generalstyles.card + ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
|
|
4355
|
-
}, /*#__PURE__*/React.createElement(
|
|
4356
|
-
src: shoppingcart,
|
|
4418
|
+
}, /*#__PURE__*/React.createElement(FiLayers, {
|
|
4357
4419
|
style: {
|
|
4358
|
-
|
|
4359
|
-
|
|
4420
|
+
fontSize: sectionproperties.noprod_iconfontSize + 'px',
|
|
4421
|
+
color: sectionproperties.noprod_iconcolor
|
|
4360
4422
|
}
|
|
4361
4423
|
}), /*#__PURE__*/React.createElement("p", {
|
|
4362
|
-
|
|
4424
|
+
"class": "m-0 p-0 mt-2",
|
|
4363
4425
|
style: {
|
|
4364
|
-
|
|
4426
|
+
fontWeight: sectionproperties.noprod_fontWeight,
|
|
4427
|
+
color: sectionproperties.noprod_color,
|
|
4428
|
+
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
4365
4429
|
}
|
|
4366
|
-
}, langdetect == 'en' ?
|
|
4430
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)))), sectionproperties.pagedesign == 'Design 2 (Table)' && /*#__PURE__*/React.createElement("div", {
|
|
4367
4431
|
className: "w-100",
|
|
4368
4432
|
style: {
|
|
4369
4433
|
background: 'white',
|
|
@@ -4470,7 +4534,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4470
4534
|
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
4471
4535
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4472
4536
|
}
|
|
4473
|
-
},
|
|
4537
|
+
}, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ":", ' ', /*#__PURE__*/React.createElement("span", {
|
|
4474
4538
|
style: {
|
|
4475
4539
|
color: sectionproperties.sectiontitlesecondarycolor,
|
|
4476
4540
|
direction: 'ltr'
|
|
@@ -4494,7 +4558,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4494
4558
|
style: {
|
|
4495
4559
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
4496
4560
|
}
|
|
4497
|
-
},
|
|
4561
|
+
}, langdetect == 'en' ? 'Details' : 'التفاصيل')), /*#__PURE__*/React.createElement("div", {
|
|
4498
4562
|
className: "col-lg-3 col-md-3 col-sm-3 p-0 d-flex align-items-center justify-content-end"
|
|
4499
4563
|
}, /*#__PURE__*/React.createElement("p", {
|
|
4500
4564
|
style: {
|
|
@@ -4678,7 +4742,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4678
4742
|
style: {
|
|
4679
4743
|
color: sectionproperties.userinfotextsecondarycolor
|
|
4680
4744
|
}
|
|
4681
|
-
}, fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].state))), /*#__PURE__*/React.createElement("div", {
|
|
4745
|
+
}, fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].state))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
4682
4746
|
className: "col-lg-12 d-flex fontfamilymedium text-focus mb-2"
|
|
4683
4747
|
}, /*#__PURE__*/React.createElement("i", {
|
|
4684
4748
|
className: "h-100 d-flex align-items-center justify-content-center"
|
|
@@ -4774,7 +4838,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4774
4838
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
4775
4839
|
}, /*#__PURE__*/React.createElement("p", {
|
|
4776
4840
|
className: "".concat(orderhistory_cssstyles.summarysectionstyles) + ' m-0 p-0 '
|
|
4777
|
-
}, 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.createElement("div", {
|
|
4841
|
+
}, 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.createElement("div", {
|
|
4778
4842
|
className: "row m-0 w-100 mb-2"
|
|
4779
4843
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4780
4844
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex p-0"
|
|
@@ -4860,7 +4924,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4860
4924
|
color: sectionproperties.paymenttextcolor,
|
|
4861
4925
|
fontWeight: sectionproperties.paymenttextfontweight
|
|
4862
4926
|
}
|
|
4863
|
-
},
|
|
4927
|
+
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar)))))))), /*#__PURE__*/React.createElement(Modal, {
|
|
4864
4928
|
show: openreviewmodal,
|
|
4865
4929
|
onHide: function onHide() {
|
|
4866
4930
|
return setopenreviewmodal(false);
|
|
@@ -5018,11 +5082,10 @@ var Wishlist = function Wishlist(props) {
|
|
|
5018
5082
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
5019
5083
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
5020
5084
|
transition: '.3s',
|
|
5021
|
-
opacity: sectionproperties.cartbtn_opacity,
|
|
5022
5085
|
':hover': {
|
|
5023
5086
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
5024
5087
|
color: sectionproperties.cartBtnTextcoloronhover,
|
|
5025
|
-
|
|
5088
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
5026
5089
|
}
|
|
5027
5090
|
}),
|
|
5028
5091
|
trash_btn: css({
|
|
@@ -5232,7 +5295,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
5232
5295
|
}, /*#__PURE__*/React.createElement(HiOutlineTrash, {
|
|
5233
5296
|
size: sectionproperties.trashbtn_Textfontsize
|
|
5234
5297
|
})))), /*#__PURE__*/React.createElement("div", {
|
|
5235
|
-
className: "col-lg-12 d-flex align-items-center justify-content-center mt-3"
|
|
5298
|
+
className: "col-lg-12 d-flex align-items-center justify-content-center mt-3 mb-3"
|
|
5236
5299
|
}, /*#__PURE__*/React.createElement("p", {
|
|
5237
5300
|
className: "".concat(wishlist_cssstyles.productNameStyles) + ' wordbreak text-center m-0 p-0 d-flex align-items-center justify-content-center '
|
|
5238
5301
|
}, langdetect == 'en' ? item.name_en : item.name_ar)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -5246,7 +5309,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
5246
5309
|
style: {
|
|
5247
5310
|
fontSize: sectionproperties.cartBtnTextfontsize + 'px'
|
|
5248
5311
|
}
|
|
5249
|
-
},
|
|
5312
|
+
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
|
|
5250
5313
|
})), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React.createElement("div", {
|
|
5251
5314
|
className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100",
|
|
5252
5315
|
style: {
|
|
@@ -5483,7 +5546,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
5483
5546
|
className: "col-lg-12 p-0 d-flex justify-content-end "
|
|
5484
5547
|
}, /*#__PURE__*/React.createElement("p", {
|
|
5485
5548
|
className: "".concat(viewcart_cssstyles.totalstyless) + ' p-0 m-0 '
|
|
5486
|
-
}, 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.createElement("div", {
|
|
5549
|
+
}, 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.createElement("div", {
|
|
5487
5550
|
className: "col-lg-12 p-0 d-flex justify-content-end "
|
|
5488
5551
|
}, /*#__PURE__*/React.createElement("p", {
|
|
5489
5552
|
className: 'font-13 text-light text-capitalize p-0 m-0 '
|
|
@@ -5618,13 +5681,9 @@ var Viewcart = function Viewcart(props) {
|
|
|
5618
5681
|
}),
|
|
5619
5682
|
tableimagecont: css({
|
|
5620
5683
|
width: '70px',
|
|
5621
|
-
height: '60px',
|
|
5684
|
+
height: sectionproperties.prodimage__borderBottomLeftRadius == 100 ? '70px' : '60px',
|
|
5622
5685
|
border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
|
|
5623
5686
|
backgroundColor: sectionproperties.prodimage_bgcolor,
|
|
5624
|
-
borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
|
|
5625
|
-
borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
|
|
5626
|
-
borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
|
|
5627
|
-
borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
|
|
5628
5687
|
display: 'flex',
|
|
5629
5688
|
alignItems: 'center',
|
|
5630
5689
|
justifyContent: 'center',
|
|
@@ -5774,14 +5833,14 @@ var Viewcart = function Viewcart(props) {
|
|
|
5774
5833
|
}
|
|
5775
5834
|
}, /*#__PURE__*/React.createElement("th", {
|
|
5776
5835
|
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'
|
|
5777
|
-
},
|
|
5778
|
-
className: "text-center font-weight-500 font-14 text-
|
|
5836
|
+
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), /*#__PURE__*/React.createElement("th", {
|
|
5837
|
+
className: "text-center font-weight-500 font-14 text-capitalize text-light",
|
|
5779
5838
|
style: {
|
|
5780
5839
|
minWidth: '200px'
|
|
5781
5840
|
}
|
|
5782
5841
|
}, lang.price), /*#__PURE__*/React.createElement("th", {
|
|
5783
5842
|
className: "text-capitalize text-center font-weight-500 font-14 text-uppercase text-light"
|
|
5784
|
-
}, lang.quantity), /*#__PURE__*/React.createElement("th", {
|
|
5843
|
+
}, sectionproperties.producttype == 'Product' ? lang.quantity : langdetect == 'en' ? 'Reservation Time' : 'ميعاد الحجز'), /*#__PURE__*/React.createElement("th", {
|
|
5785
5844
|
className: "text-capitalize text-center font-weight-500 font-14 text-uppercase text-light",
|
|
5786
5845
|
style: {
|
|
5787
5846
|
minWidth: '100px'
|
|
@@ -5804,11 +5863,15 @@ var Viewcart = function Viewcart(props) {
|
|
|
5804
5863
|
style: {
|
|
5805
5864
|
width: '100%',
|
|
5806
5865
|
height: '100%',
|
|
5807
|
-
objectFit: 'contain'
|
|
5866
|
+
objectFit: sectionproperties.prodimage__borderBottomLeftRadius == '100' ? 'cover' : 'contain',
|
|
5867
|
+
borderRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px'
|
|
5808
5868
|
},
|
|
5809
5869
|
loading: "lazy"
|
|
5810
5870
|
})), /*#__PURE__*/React.createElement("div", {
|
|
5811
|
-
className: "col-lg-8 col-sm-8 col-md-8"
|
|
5871
|
+
className: "col-lg-8 col-sm-8 col-md-8 d-flex",
|
|
5872
|
+
style: {
|
|
5873
|
+
alignItems: sectionproperties.prodimage__borderBottomLeftRadius == '100' ? 'center' : 'start'
|
|
5874
|
+
}
|
|
5812
5875
|
}, /*#__PURE__*/React.createElement("p", {
|
|
5813
5876
|
className: "".concat(viewcart_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 d-flex justify-content-start ',
|
|
5814
5877
|
style: {
|
|
@@ -5858,7 +5921,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
5858
5921
|
className: "".concat(viewcart_cssstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-center '
|
|
5859
5922
|
}, 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.createElement("td", {
|
|
5860
5923
|
className: "text-center"
|
|
5861
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
5924
|
+
}, sectionproperties.producttype == 'Product' && /*#__PURE__*/React.createElement("div", {
|
|
5862
5925
|
className: "row m-0 w-100 d-flex align-items-center justify-content-center"
|
|
5863
5926
|
}, /*#__PURE__*/React.createElement("button", {
|
|
5864
5927
|
className: " ".concat(viewcart_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
|
|
@@ -5890,7 +5953,23 @@ var Viewcart = function Viewcart(props) {
|
|
|
5890
5953
|
style: {
|
|
5891
5954
|
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px'
|
|
5892
5955
|
}
|
|
5893
|
-
}))))
|
|
5956
|
+
})))), sectionproperties.producttype == 'Service' && /*#__PURE__*/React.createElement("div", {
|
|
5957
|
+
className: "row m-0 w-100 d-flex align-items-center justify-content-center flex-row text-light"
|
|
5958
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
5959
|
+
className: langdetect == 'en' ? 'text-light opacity-6 fa fa-clock mr-1 ' : ' text-light opacity-6 fa fa-clock ml-1 '
|
|
5960
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
5961
|
+
"class": "flex-column d-flex justify-content-start font_15"
|
|
5962
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
5963
|
+
"class": "m-0 p-0",
|
|
5964
|
+
style: {
|
|
5965
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
5966
|
+
}
|
|
5967
|
+
}, item.reserv_fixeddate), /*#__PURE__*/React.createElement("p", {
|
|
5968
|
+
"class": "m-0 p-0",
|
|
5969
|
+
style: {
|
|
5970
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
5971
|
+
}
|
|
5972
|
+
}, item.reserv_time)))), /*#__PURE__*/React.createElement("td", {
|
|
5894
5973
|
className: "text-center",
|
|
5895
5974
|
style: {
|
|
5896
5975
|
minWidth: '100px'
|
|
@@ -5912,18 +5991,27 @@ var Viewcart = function Viewcart(props) {
|
|
|
5912
5991
|
}
|
|
5913
5992
|
}, /*#__PURE__*/React.createElement("div", {
|
|
5914
5993
|
className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
|
|
5915
|
-
}, /*#__PURE__*/React.createElement("
|
|
5994
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
5995
|
+
className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
|
|
5996
|
+
}, sectionproperties.noproducticontype == 'Cart' && /*#__PURE__*/React.createElement("img", {
|
|
5916
5997
|
src: shoppingcart,
|
|
5917
5998
|
style: {
|
|
5918
5999
|
maxWidth: '250px',
|
|
5919
6000
|
maxHeight: '250px'
|
|
5920
6001
|
}
|
|
6002
|
+
}), sectionproperties.noproducticontype == 'Calendar' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
6003
|
+
style: {
|
|
6004
|
+
fontSize: sectionproperties.noprod_iconfontSize + 'px',
|
|
6005
|
+
color: sectionproperties.noprod_iconcolor
|
|
6006
|
+
}
|
|
5921
6007
|
}), /*#__PURE__*/React.createElement("p", {
|
|
5922
|
-
|
|
6008
|
+
"class": "m-0 p-0 mt-2",
|
|
5923
6009
|
style: {
|
|
5924
|
-
|
|
6010
|
+
fontWeight: sectionproperties.noprod_fontWeight,
|
|
6011
|
+
color: sectionproperties.noprod_color,
|
|
6012
|
+
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
5925
6013
|
}
|
|
5926
|
-
},
|
|
6014
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)))))), /*#__PURE__*/React.createElement("div", {
|
|
5927
6015
|
className: langdetect == 'en' ? ' col-lg-3 pr-0 ' : ' col-lg-3 pl-0 '
|
|
5928
6016
|
}, Summary()))))));
|
|
5929
6017
|
};
|
|
@@ -8440,7 +8528,7 @@ styleInject(css_248z$C);
|
|
|
8440
8528
|
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; }
|
|
8441
8529
|
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(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; }
|
|
8442
8530
|
var CartSlider = function CartSlider(props) {
|
|
8443
|
-
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16, _fetchcustomercartQue17, _fetchcustomercartQue18, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22
|
|
8531
|
+
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16, _fetchcustomercartQue17, _fetchcustomercartQue18, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22;
|
|
8444
8532
|
var lang = props.actions.lang;
|
|
8445
8533
|
var langdetect = props.actions.langdetect;
|
|
8446
8534
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
@@ -8554,7 +8642,8 @@ var CartSlider = function CartSlider(props) {
|
|
|
8554
8642
|
transition: '.3s',
|
|
8555
8643
|
':hover': {
|
|
8556
8644
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
8557
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
8645
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
8646
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
8558
8647
|
}
|
|
8559
8648
|
}),
|
|
8560
8649
|
checkoutbtn: css({
|
|
@@ -8646,11 +8735,9 @@ var CartSlider = function CartSlider(props) {
|
|
|
8646
8735
|
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
8647
8736
|
marginLeft: sectionproperties.sectionTitleMarginLeft + 'px',
|
|
8648
8737
|
marginRight: sectionproperties.sectionTitleMarginRight + 'px',
|
|
8649
|
-
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
8650
8738
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8651
|
-
// justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
8652
8739
|
}
|
|
8653
|
-
}, langdetect == 'en' ?
|
|
8740
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), /*#__PURE__*/React.createElement("div", {
|
|
8654
8741
|
className: "col-lg-12"
|
|
8655
8742
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
8656
8743
|
className: "mt-2 mb-2"
|
|
@@ -8701,30 +8788,35 @@ var CartSlider = function CartSlider(props) {
|
|
|
8701
8788
|
className: "col-lg-12 pt-4"
|
|
8702
8789
|
}, (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.createElement("div", {
|
|
8703
8790
|
className: "row m-0 w-100"
|
|
8704
|
-
}, (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)
|
|
8705
|
-
className: "
|
|
8706
|
-
},
|
|
8791
|
+
}, (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.createElement("div", {
|
|
8792
|
+
className: "col-lg-12 p-0"
|
|
8793
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8707
8794
|
className: "row m-0 w-100 d-flex align-items-center justify-content-center",
|
|
8708
8795
|
style: {
|
|
8709
8796
|
height: '40vh'
|
|
8710
8797
|
}
|
|
8711
8798
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8712
8799
|
className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
|
|
8713
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
8800
|
+
}, sectionproperties.noproducticontype == 'Cart' && /*#__PURE__*/React.createElement("img", {
|
|
8714
8801
|
src: shoppingcart,
|
|
8715
8802
|
style: {
|
|
8716
8803
|
maxWidth: '200px',
|
|
8717
8804
|
maxHeight: '200px'
|
|
8718
8805
|
}
|
|
8806
|
+
}), sectionproperties.noproducticontype == 'Calendar' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
8807
|
+
style: {
|
|
8808
|
+
fontSize: sectionproperties.noprod_iconfontSize + 'px',
|
|
8809
|
+
color: sectionproperties.noprod_iconcolor
|
|
8810
|
+
}
|
|
8719
8811
|
}), /*#__PURE__*/React.createElement("p", {
|
|
8720
|
-
|
|
8812
|
+
"class": "m-0 p-0 mt-2",
|
|
8721
8813
|
style: {
|
|
8722
|
-
|
|
8814
|
+
fontWeight: sectionproperties.noprod_fontWeight,
|
|
8815
|
+
color: sectionproperties.noprod_color,
|
|
8816
|
+
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
8723
8817
|
}
|
|
8724
|
-
},
|
|
8725
|
-
className: "
|
|
8726
|
-
}, /*#__PURE__*/React.createElement("button", {
|
|
8727
|
-
className: " ".concat(cart_cssstyles.cart_btn) + ' mr-1 ml-1 d-flex align-items-center justify-content-center ',
|
|
8818
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar), /*#__PURE__*/React.createElement("button", {
|
|
8819
|
+
className: "".concat(cart_cssstyles.cart_btn) + ' mt-3 d-flex align-items-center justify-content-center ',
|
|
8728
8820
|
onClick: function onClick() {
|
|
8729
8821
|
if (fetchingtype == 'products') {
|
|
8730
8822
|
if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
|
|
@@ -8736,11 +8828,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
8736
8828
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
8737
8829
|
}
|
|
8738
8830
|
}
|
|
8739
|
-
},
|
|
8740
|
-
className: langdetect == 'en' ? 'h-100 d-flex align-items-center mr-2' : 'h-100 d-flex align-items-center ml-2'
|
|
8741
|
-
}, /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
8742
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
8743
|
-
})), 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) {
|
|
8831
|
+
}, 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) {
|
|
8744
8832
|
return /*#__PURE__*/React.createElement("div", {
|
|
8745
8833
|
className: "col-lg-12 mb-3 p-0"
|
|
8746
8834
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -8770,7 +8858,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
8770
8858
|
style: {
|
|
8771
8859
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8772
8860
|
}
|
|
8773
|
-
}, langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar)), /*#__PURE__*/React.createElement("div", {
|
|
8861
|
+
}, langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar)), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
8774
8862
|
className: "".concat(cart_cssstyles.productPricestyles) + ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex '
|
|
8775
8863
|
}, item.quantity, " x", /*#__PURE__*/React.createElement("span", {
|
|
8776
8864
|
className: 'ml-1 mr-1 wordbreak'
|
|
@@ -8791,7 +8879,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
8791
8879
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
8792
8880
|
className: "m-0"
|
|
8793
8881
|
})));
|
|
8794
|
-
}), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8882
|
+
}), (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.createElement("div", {
|
|
8795
8883
|
className: "col-lg-12 mb-3 p-0"
|
|
8796
8884
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8797
8885
|
className: "row m-0 w-100"
|
|
@@ -8815,14 +8903,14 @@ var CartSlider = function CartSlider(props) {
|
|
|
8815
8903
|
textTransform: sectionproperties.total_texttransform,
|
|
8816
8904
|
color: sectionproperties.total_color
|
|
8817
8905
|
}
|
|
8818
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8906
|
+
}, 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.createElement("div", {
|
|
8819
8907
|
className: "col-lg-12 d-flex align-items-center justify-content-center"
|
|
8820
8908
|
}, /*#__PURE__*/React.createElement("button", {
|
|
8821
8909
|
className: " ".concat(cart_cssstyles.cart_btn) + ' mr-1 ml-1 d-flex align-items-center justify-content-center ',
|
|
8822
8910
|
onClick: function onClick() {
|
|
8823
8911
|
routingcountext(StaticPagesLinksContext.viewcart);
|
|
8824
8912
|
}
|
|
8825
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
8913
|
+
}, sectionproperties.cartBtn_iconFontSize != 0 && /*#__PURE__*/React.createElement("i", {
|
|
8826
8914
|
className: langdetect == 'en' ? 'h-100 d-flex align-items-center mr-2' : 'h-100 d-flex align-items-center ml-2'
|
|
8827
8915
|
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
8828
8916
|
className: "",
|
|
@@ -8841,7 +8929,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
8841
8929
|
size: sectionproperties.cartBtn_iconFontSize
|
|
8842
8930
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
8843
8931
|
size: sectionproperties.cartBtn_iconFontSize
|
|
8844
|
-
})),
|
|
8932
|
+
})), langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), /*#__PURE__*/React.createElement("button", {
|
|
8845
8933
|
className: " ".concat(cart_cssstyles.checkoutbtn) + ' ml-1 mr-1 ',
|
|
8846
8934
|
onClick: function onClick() {
|
|
8847
8935
|
// if (fetchAuthorizationQueryContext.data.data.loggedin == true) {
|
|
@@ -9024,7 +9112,7 @@ function ownKeys$1M(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
9024
9112
|
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(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; }
|
|
9025
9113
|
var OrderSuccess = function OrderSuccess(props) {
|
|
9026
9114
|
var _props$actions2;
|
|
9027
|
-
|
|
9115
|
+
props.actions.lang;
|
|
9028
9116
|
var langdetect = props.actions.langdetect;
|
|
9029
9117
|
var routingcountext = props.actions.routingcountext;
|
|
9030
9118
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
@@ -9128,7 +9216,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
9128
9216
|
onClick: function onClick() {
|
|
9129
9217
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
9130
9218
|
}
|
|
9131
|
-
},
|
|
9219
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), !IsOrderSuccess && /*#__PURE__*/React.createElement("div", {
|
|
9132
9220
|
className: "col-lg-12 allcentered flex-column",
|
|
9133
9221
|
style: {
|
|
9134
9222
|
minHeight: '50vh',
|
|
@@ -11093,12 +11181,19 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
11093
11181
|
style: {
|
|
11094
11182
|
height: '100%',
|
|
11095
11183
|
width: '100%',
|
|
11096
|
-
objectFit: 'contain'
|
|
11184
|
+
objectFit: 'contain',
|
|
11185
|
+
borderRadius: sectionproperties.searchlist_prodimage_borderradius + 'px'
|
|
11097
11186
|
}
|
|
11098
11187
|
})), /*#__PURE__*/React.createElement("div", {
|
|
11099
|
-
"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'
|
|
11188
|
+
"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',
|
|
11189
|
+
style: {
|
|
11190
|
+
alignItems: sectionproperties.searchlistshowprice == 'Show' ? 'start' : 'center'
|
|
11191
|
+
}
|
|
11100
11192
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11101
|
-
"class": "row m-0 w-100 d-flex
|
|
11193
|
+
"class": "row m-0 w-100 d-flex",
|
|
11194
|
+
style: {
|
|
11195
|
+
alignItems: sectionproperties.searchlistshowprice == 'Show' ? 'start' : 'center'
|
|
11196
|
+
}
|
|
11102
11197
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11103
11198
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-start"
|
|
11104
11199
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -11922,9 +12017,9 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
11922
12017
|
className: "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
11923
12018
|
}, /*#__PURE__*/React.createElement("p", {
|
|
11924
12019
|
className: ' d-flex align-items-center m-0 p-0 '
|
|
11925
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), /*#__PURE__*/React.createElement("span", {
|
|
12020
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, null), /*#__PURE__*/React.createElement("span", {
|
|
11926
12021
|
className: langdetect == 'en' ? 'ml-2' : 'mr-2'
|
|
11927
|
-
},
|
|
12022
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)))), /*#__PURE__*/React.createElement(Dropdown.Divider, {
|
|
11928
12023
|
style: {
|
|
11929
12024
|
marginBottom: 0,
|
|
11930
12025
|
marginTop: 0
|
|
@@ -12017,6 +12112,8 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
12017
12112
|
size: sectionproperties.cartBtniconresp_size
|
|
12018
12113
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
12019
12114
|
size: sectionproperties.cartBtniconresp_size
|
|
12115
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
12116
|
+
size: sectionproperties.cartBtniconresp_size
|
|
12020
12117
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
12021
12118
|
className: "".concat(header_cssstyles.badge_counter_header_notifications),
|
|
12022
12119
|
style: {
|
|
@@ -12044,8 +12141,10 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
12044
12141
|
}, /*#__PURE__*/React.createElement(RiSearchLine, {
|
|
12045
12142
|
size: 15
|
|
12046
12143
|
}))), /*#__PURE__*/React.createElement("input", {
|
|
12047
|
-
type: "text"
|
|
12048
|
-
placeholder
|
|
12144
|
+
type: "text"
|
|
12145
|
+
// placeholder={langdetect == 'en' ? 'What are you looking for?' : 'بحث...'}
|
|
12146
|
+
,
|
|
12147
|
+
placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
|
|
12049
12148
|
className: "".concat(header_cssstyles.searchbarcont_input),
|
|
12050
12149
|
onChange: function onChange(event) {
|
|
12051
12150
|
setSearchHeaderInputContext(event.target.value);
|
|
@@ -15828,7 +15927,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
15828
15927
|
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink, '_blank');
|
|
15829
15928
|
}
|
|
15830
15929
|
},
|
|
15831
|
-
size: sectionproperties.
|
|
15930
|
+
size: sectionproperties.facebkbtnniconfontsize
|
|
15832
15931
|
}), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement(AiOutlineInstagram, {
|
|
15833
15932
|
"class": header_cssstyles.instagrambtn + ' cursor-pointer ml-3 mr-3 ',
|
|
15834
15933
|
onClick: function onClick() {
|
|
@@ -19552,6 +19651,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
19552
19651
|
searchbarcont: css({
|
|
19553
19652
|
position: 'relative',
|
|
19554
19653
|
width: sectionproperties.searchbarcont_width + '%',
|
|
19654
|
+
height: sectionproperties.searchbarcont_height + 'px',
|
|
19555
19655
|
border: sectionproperties.searchbarcontinput_borderwidth + 'px solid' + sectionproperties.searchbarcontinput_bordercolor,
|
|
19556
19656
|
background: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
|
|
19557
19657
|
borderRadius: sectionproperties.searchbarcont_borderRadius + 'px',
|
|
@@ -19584,6 +19684,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
19584
19684
|
borderBottom: sectionproperties.searchbarcontinput_borderBottom + 'px solid ' + sectionproperties.searchbarcontinput_borderBottomcolor,
|
|
19585
19685
|
paddingLeft: langdetect == 'en' ? sectionproperties.searchbarcont_paddingLeft + 'px' : sectionproperties.searchbarcont_paddingRight + 'px',
|
|
19586
19686
|
paddingRight: langdetect == 'en' ? sectionproperties.searchbarcont_paddingRight + 'px' : sectionproperties.searchbarcont_paddingLeft + 'px',
|
|
19687
|
+
paddingBottom: sectionproperties.searchbarcont_paddingBottom + 'rem',
|
|
19587
19688
|
outline: 'none',
|
|
19588
19689
|
transition: '0.3s',
|
|
19589
19690
|
':focus': {
|
|
@@ -19641,8 +19742,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
19641
19742
|
"class": header_cssstyles.searchbarcont
|
|
19642
19743
|
}, /*#__PURE__*/React.createElement("input", {
|
|
19643
19744
|
type: "text",
|
|
19644
|
-
placeholder:
|
|
19645
|
-
"class": "".concat(header_cssstyles.searchbarcont_input) + '
|
|
19745
|
+
placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
|
|
19746
|
+
"class": "".concat(header_cssstyles.searchbarcont_input) + ' h-100 ',
|
|
19646
19747
|
onChange: function onChange(event) {
|
|
19647
19748
|
setSearchHeaderInputContext(event.target.value);
|
|
19648
19749
|
}
|
|
@@ -19765,9 +19866,11 @@ var Modernheader = function Modernheader(props) {
|
|
|
19765
19866
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
19766
19867
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
19767
19868
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
19869
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
19870
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
19768
19871
|
})), /*#__PURE__*/React.createElement("p", {
|
|
19769
19872
|
"class": ' allcenetered m-0 p-0 '
|
|
19770
|
-
},
|
|
19873
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
19771
19874
|
onClick: function onClick() {
|
|
19772
19875
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
19773
19876
|
}
|
|
@@ -19868,6 +19971,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
19868
19971
|
size: sectionproperties.cartBtn_iconFontSize
|
|
19869
19972
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
19870
19973
|
size: sectionproperties.cartBtn_iconFontSize
|
|
19974
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
19975
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
19871
19976
|
})), /*#__PURE__*/React.createElement("div", {
|
|
19872
19977
|
className: "".concat(headerstyles$7.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center text-center ',
|
|
19873
19978
|
style: {
|
|
@@ -23368,6 +23473,10 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
|
23368
23473
|
}
|
|
23369
23474
|
}
|
|
23370
23475
|
}, [sectionproperties]);
|
|
23476
|
+
var _useState7 = useState(false),
|
|
23477
|
+
_useState8 = _slicedToArray(_useState7, 2);
|
|
23478
|
+
_useState8[0];
|
|
23479
|
+
_useState8[1];
|
|
23371
23480
|
var header_cssstyles = {
|
|
23372
23481
|
headercontainer: css({
|
|
23373
23482
|
position: sectionproperties.headerstyles_position,
|
|
@@ -23618,7 +23727,16 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
|
23618
23727
|
lineHeight: sectionproperties.greetingtextfontsize + 'px',
|
|
23619
23728
|
fontWeight: 400
|
|
23620
23729
|
})
|
|
23730
|
+
// searchicon: css({
|
|
23731
|
+
// color: sectionproperties.searchbaricon_color,
|
|
23732
|
+
// cursor: 'pointer',
|
|
23733
|
+
// transition: '.3s',
|
|
23734
|
+
// ':hover': {
|
|
23735
|
+
// color: sectionproperties.searchbariconcoloronhover,
|
|
23736
|
+
// },
|
|
23737
|
+
// }),
|
|
23621
23738
|
};
|
|
23739
|
+
|
|
23622
23740
|
return /*#__PURE__*/React.createElement("div", {
|
|
23623
23741
|
"class": "row ml-0 mr-0 w-100 d-flex align-items-center justify-content-center ",
|
|
23624
23742
|
style: {
|
|
@@ -23632,7 +23750,7 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
|
23632
23750
|
}, /*#__PURE__*/React.createElement("div", {
|
|
23633
23751
|
"class": ' col-lg-12 d-flex align-items-center p-0 '
|
|
23634
23752
|
}, /*#__PURE__*/React.createElement("div", {
|
|
23635
|
-
"class": header_cssstyles.upperheadersection + ' w-100 plr-1025-
|
|
23753
|
+
"class": header_cssstyles.upperheadersection + ' w-100 plr-1025-1 '
|
|
23636
23754
|
}, /*#__PURE__*/React.createElement("div", {
|
|
23637
23755
|
"class": "row m-0 w-100"
|
|
23638
23756
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -23756,7 +23874,7 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
|
23756
23874
|
})), /*#__PURE__*/React.createElement("div", {
|
|
23757
23875
|
"class": "col-lg-12 p-0"
|
|
23758
23876
|
}, /*#__PURE__*/React.createElement("div", {
|
|
23759
|
-
"class": " ".concat(header_cssstyles.lowerSection) + ' row m-0 w-100 d-flex flex-row align-items-center h-100 '
|
|
23877
|
+
"class": " ".concat(header_cssstyles.lowerSection) + ' row m-0 w-100 d-flex flex-row align-items-center h-100 plr-1025-1 '
|
|
23760
23878
|
}, /*#__PURE__*/React.createElement("div", {
|
|
23761
23879
|
"class": "col-lg-2 p-0 justify-content-start"
|
|
23762
23880
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -23894,7 +24012,9 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
|
23894
24012
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
23895
24013
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
23896
24014
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
23897
|
-
}),
|
|
24015
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
24016
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
24017
|
+
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
23898
24018
|
onClick: function onClick() {
|
|
23899
24019
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
23900
24020
|
}
|
|
@@ -23973,6 +24093,8 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
|
23973
24093
|
size: sectionproperties.cartBtn_iconFontSize
|
|
23974
24094
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
23975
24095
|
size: sectionproperties.cartBtn_iconFontSize
|
|
24096
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
24097
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
23976
24098
|
}))))), /*#__PURE__*/React.createElement("div", {
|
|
23977
24099
|
"class": "col-lg-12 p-0"
|
|
23978
24100
|
}, sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React.createElement(Subheader, {
|
|
@@ -26681,14 +26803,11 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
26681
26803
|
}, /*#__PURE__*/React.createElement("div", {
|
|
26682
26804
|
"class": "col-lg-12 p-0 mb-2"
|
|
26683
26805
|
}, /*#__PURE__*/React.createElement("p", {
|
|
26684
|
-
"class": "m-0 p-0
|
|
26806
|
+
"class": "".concat(footerStyles.sectionTitle) + ' m-0 p-0 wordbreak ',
|
|
26685
26807
|
style: {
|
|
26686
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
26687
|
-
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
26688
|
-
color: sectionproperties.generaltext_fontColor,
|
|
26689
26808
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
26690
26809
|
}
|
|
26691
|
-
}, langdetect == 'en' ? sectionproperties.
|
|
26810
|
+
}, langdetect == 'en' ? sectionproperties.otherinfotitle1en : sectionproperties.otherinfotitle1ar)), /*#__PURE__*/React.createElement("div", {
|
|
26692
26811
|
"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'
|
|
26693
26812
|
}, /*#__PURE__*/React.createElement("img", {
|
|
26694
26813
|
"class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
@@ -26713,7 +26832,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
26713
26832
|
style: {
|
|
26714
26833
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
26715
26834
|
}
|
|
26716
|
-
}, langdetect == 'en' ?
|
|
26835
|
+
}, langdetect == 'en' ? sectionproperties.otherinfotitle2en : sectionproperties.otherinfotitle2ar)), /*#__PURE__*/React.createElement("div", {
|
|
26717
26836
|
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
26718
26837
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
26719
26838
|
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
|
|
@@ -36850,7 +36969,7 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
36850
36969
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
36851
36970
|
}
|
|
36852
36971
|
}, /*#__PURE__*/React.createElement("div", {
|
|
36853
|
-
"class": sectionproperties.width == 100 ? 'row m-0 w-md-100' : 'row m-0 w-md-95',
|
|
36972
|
+
"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',
|
|
36854
36973
|
style: {
|
|
36855
36974
|
width: sectionproperties.width + 'vw',
|
|
36856
36975
|
position: 'relative',
|
|
@@ -36888,10 +37007,10 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
36888
37007
|
style: {
|
|
36889
37008
|
zIndex: 1
|
|
36890
37009
|
}
|
|
36891
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
37010
|
+
}, sectionproperties.cardsdirection == 'Vertical' && /*#__PURE__*/React.createElement("div", {
|
|
36892
37011
|
"class": "row m-0 w-100"
|
|
36893
37012
|
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
36894
|
-
"class":
|
|
37013
|
+
"class": 'col-lg-12 p-0 d-flex align-items-center',
|
|
36895
37014
|
style: {
|
|
36896
37015
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
36897
37016
|
}
|
|
@@ -36912,7 +37031,7 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
36912
37031
|
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
36913
37032
|
}
|
|
36914
37033
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
36915
|
-
"class":
|
|
37034
|
+
"class": 'col-lg-12 p-0 d-flex align-items-center',
|
|
36916
37035
|
style: {
|
|
36917
37036
|
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
|
|
36918
37037
|
}
|
|
@@ -36933,7 +37052,7 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
36933
37052
|
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
36934
37053
|
}
|
|
36935
37054
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr))), /*#__PURE__*/React.createElement("div", {
|
|
36936
|
-
"class":
|
|
37055
|
+
"class": 'col-lg-12 p-0 d-flex align-items-center mt-md-3',
|
|
36937
37056
|
style: {
|
|
36938
37057
|
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
|
|
36939
37058
|
}
|
|
@@ -36950,6 +37069,72 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
36950
37069
|
window.open(sectionproperties.btnlink, '_blank');
|
|
36951
37070
|
}
|
|
36952
37071
|
}
|
|
37072
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), sectionproperties.cardsdirection == 'Horizontal' && /*#__PURE__*/React.createElement("div", {
|
|
37073
|
+
"class": "row m-0 w-100 d-flex align-items-center"
|
|
37074
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
37075
|
+
"class": "col-lg-9 col-md-12 p-0"
|
|
37076
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
37077
|
+
"class": "row m-0 w-100"
|
|
37078
|
+
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
37079
|
+
"class": 'col-lg-12 p-0 d-flex align-items-center justify-content-md-center',
|
|
37080
|
+
style: {
|
|
37081
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
37082
|
+
}
|
|
37083
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
37084
|
+
"class": sectionstyles.sectionTitleStyles + ' p-0 d-flex d-sm-none '
|
|
37085
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
37086
|
+
"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 ',
|
|
37087
|
+
style: {
|
|
37088
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
37089
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
37090
|
+
}
|
|
37091
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
|
|
37092
|
+
"class": sectionstyles.sectionTitleStyles + ' p-0 d-none d-sm-flex '
|
|
37093
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
37094
|
+
"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 ',
|
|
37095
|
+
style: {
|
|
37096
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
37097
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
37098
|
+
}
|
|
37099
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
37100
|
+
"class": 'col-lg-12 p-0 d-flex align-items-center justify-content-md-center',
|
|
37101
|
+
style: {
|
|
37102
|
+
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
|
|
37103
|
+
}
|
|
37104
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
37105
|
+
"class": sectionstyles.descriptionStyles + ' p-0 d-flex d-sm-none '
|
|
37106
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
37107
|
+
"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 ',
|
|
37108
|
+
style: {
|
|
37109
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
37110
|
+
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
37111
|
+
}
|
|
37112
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React.createElement("div", {
|
|
37113
|
+
"class": sectionstyles.descriptionStyles + ' p-0 d-none d-sm-flex '
|
|
37114
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
37115
|
+
"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 ',
|
|
37116
|
+
style: {
|
|
37117
|
+
fontSize: sectionproperties.prodCatFontSizeResp + 'px',
|
|
37118
|
+
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
37119
|
+
}
|
|
37120
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr))))), /*#__PURE__*/React.createElement("div", {
|
|
37121
|
+
"class": 'col-lg-3 col-md-12 p-0 d-flex align-items-center mt-md-3 justify-content-md-center',
|
|
37122
|
+
style: {
|
|
37123
|
+
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
|
|
37124
|
+
}
|
|
37125
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
37126
|
+
"class": sectionstyles.btnStyles,
|
|
37127
|
+
onClick: function onClick() {
|
|
37128
|
+
if (sectionproperties.btntype == 'WhatsApp') {
|
|
37129
|
+
var _authdetailsContext$i3;
|
|
37130
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.whatsappnumber) != null) {
|
|
37131
|
+
var _authdetailsContext$i4;
|
|
37132
|
+
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');
|
|
37133
|
+
}
|
|
37134
|
+
} else {
|
|
37135
|
+
window.open(sectionproperties.btnlink, '_blank');
|
|
37136
|
+
}
|
|
37137
|
+
}
|
|
36953
37138
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))));
|
|
36954
37139
|
};
|
|
36955
37140
|
|
|
@@ -37150,7 +37335,7 @@ var AboutSection = function AboutSection(props) {
|
|
|
37150
37335
|
}
|
|
37151
37336
|
})), cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
37152
37337
|
return /*#__PURE__*/React.createElement("div", {
|
|
37153
|
-
"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-
|
|
37338
|
+
"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'
|
|
37154
37339
|
}, /*#__PURE__*/React.createElement("div", {
|
|
37155
37340
|
"class": sectionproperties.cardsdirection == 'Horizontal' ? 'row m-0 w-100 d-flex flex-column' : 'row m-0 w-100 d-flex flex-row allcentered'
|
|
37156
37341
|
}, cardsarray[cardinfoindex].cardobj_img == null && /*#__PURE__*/React.createElement("p", {
|
|
@@ -37161,10 +37346,12 @@ var AboutSection = function AboutSection(props) {
|
|
|
37161
37346
|
whiteSpace: 'nowrap'
|
|
37162
37347
|
}
|
|
37163
37348
|
}, "0", cardinfoindex + 1), cardsarray[cardinfoindex].cardobj_img != '' && cardsarray[cardinfoindex].cardobj_img != null && /*#__PURE__*/React.createElement("div", {
|
|
37164
|
-
"class": sectionproperties.cardsdirection == 'Horizontal' ? 'p-0 m-0' : 'p-0 m-0 mb-
|
|
37349
|
+
"class": sectionproperties.cardsdirection == 'Horizontal' ? 'p-0 m-0 allcentered' : 'p-0 m-0 mb-2 allcentered',
|
|
37165
37350
|
style: {
|
|
37166
37351
|
width: sectionproperties.iconcontainerwidth + 'vh',
|
|
37167
|
-
height: sectionproperties.iconcontainerheight + 'vh'
|
|
37352
|
+
height: sectionproperties.iconcontainerheight + 'vh',
|
|
37353
|
+
background: sectionproperties.iconcontainerbg,
|
|
37354
|
+
borderRadius: sectionproperties.iconcontainerborderbl + 'px'
|
|
37168
37355
|
}
|
|
37169
37356
|
}, /*#__PURE__*/React.createElement(IKImage, {
|
|
37170
37357
|
"class": "h-sm-auto",
|
|
@@ -37172,8 +37359,8 @@ var AboutSection = function AboutSection(props) {
|
|
|
37172
37359
|
publicKey: IKpublicKey,
|
|
37173
37360
|
path: cardsarray[cardinfoindex].cardobj_img,
|
|
37174
37361
|
style: {
|
|
37175
|
-
width: '
|
|
37176
|
-
height: '
|
|
37362
|
+
width: sectionproperties.icontextfontsize + '%',
|
|
37363
|
+
height: sectionproperties.icontextfontsize + '%',
|
|
37177
37364
|
objectFit: 'contain'
|
|
37178
37365
|
}
|
|
37179
37366
|
})), /*#__PURE__*/React.createElement("div", {
|
|
@@ -38571,7 +38758,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
38571
38758
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React.createElement("span", {
|
|
38572
38759
|
"class": sectionStyles.line_right
|
|
38573
38760
|
})))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
38574
|
-
"class": ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0
|
|
38761
|
+
"class": ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 ',
|
|
38575
38762
|
style: {
|
|
38576
38763
|
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
|
|
38577
38764
|
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
@@ -38611,7 +38798,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
38611
38798
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
38612
38799
|
}
|
|
38613
38800
|
}, /*#__PURE__*/React.createElement("div", {
|
|
38614
|
-
"class":
|
|
38801
|
+
"class": 'd-flex align-items-center',
|
|
38615
38802
|
style: {
|
|
38616
38803
|
width: sectionproperties.image_width + 'px',
|
|
38617
38804
|
height: sectionproperties.image_height + 'px',
|
|
@@ -38620,15 +38807,15 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
38620
38807
|
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
38621
38808
|
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
38622
38809
|
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
|
|
38623
|
-
justifyContent: sectionproperties.
|
|
38810
|
+
justifyContent: sectionproperties.iconcontainerheight == '0' ? 'start' : 'center'
|
|
38624
38811
|
}
|
|
38625
38812
|
}, /*#__PURE__*/React.createElement(IKImage, {
|
|
38626
38813
|
urlEndpoint: IKurlEndpoint,
|
|
38627
38814
|
publicKey: IKpublicKey,
|
|
38628
38815
|
path: cardsarray.length != 0 ? cardsarray[cardinfoindex].cardobj_img : '',
|
|
38629
38816
|
style: {
|
|
38630
|
-
maxHeight: '
|
|
38631
|
-
maxWidth: '
|
|
38817
|
+
maxHeight: sectionproperties.iconcontainerwidth + '%',
|
|
38818
|
+
maxWidth: sectionproperties.iconcontainerwidth + '%',
|
|
38632
38819
|
objectFit: 'contain'
|
|
38633
38820
|
}
|
|
38634
38821
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
@@ -41837,7 +42024,7 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
41837
42024
|
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), /*#__PURE__*/React.createElement("div", {
|
|
41838
42025
|
"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 '
|
|
41839
42026
|
}, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
41840
|
-
"class": "".concat(card_cssstyles.button_styles) + '',
|
|
42027
|
+
"class": sectionproperties.cartBtnShow == 'Hide' ? "".concat(card_cssstyles.button_styles) + ' ml-2 mr-2 ' : "".concat(card_cssstyles.button_styles) + ' ml-2 mr-2 ',
|
|
41841
42028
|
onClick: function onClick(e) {
|
|
41842
42029
|
e.stopPropagation();
|
|
41843
42030
|
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
@@ -41909,10 +42096,13 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
41909
42096
|
}, /*#__PURE__*/React.createElement("i", {
|
|
41910
42097
|
"class": "h-100 allcentered addbtn"
|
|
41911
42098
|
}, /*#__PURE__*/React.createElement(FiPlus, null))))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
41912
|
-
"class": " ".concat(card_cssstyles.wishlist_btn) + '',
|
|
42099
|
+
"class": sectionproperties.cartBtnShow == 'Hide' ? "".concat(card_cssstyles.wishlist_btn) + '' : "".concat(card_cssstyles.wishlist_btn) + ' ml-2 mr-2 ',
|
|
41913
42100
|
onClick: function onClick(e) {
|
|
41914
42101
|
e.stopPropagation();
|
|
41915
42102
|
addtofavoritescontext(item.productid);
|
|
42103
|
+
},
|
|
42104
|
+
style: {
|
|
42105
|
+
background: item.IsFavExists == true ? sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.activebgcolor : ''
|
|
41916
42106
|
}
|
|
41917
42107
|
}, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
41918
42108
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
@@ -44402,7 +44592,11 @@ var Card23 = function Card23(props) {
|
|
|
44402
44592
|
style: {
|
|
44403
44593
|
width: '100%',
|
|
44404
44594
|
height: '100%',
|
|
44405
|
-
objectFit: 'contain'
|
|
44595
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
44596
|
+
borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
|
|
44597
|
+
borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0,
|
|
44598
|
+
borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
|
|
44599
|
+
borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0
|
|
44406
44600
|
},
|
|
44407
44601
|
loading: "lazy",
|
|
44408
44602
|
onClick: function onClick() {
|
|
@@ -46642,7 +46836,7 @@ var Categorycard_withtext = function Categorycard_withtext(props) {
|
|
|
46642
46836
|
}, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar))))));
|
|
46643
46837
|
};
|
|
46644
46838
|
|
|
46645
|
-
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
|
|
46839
|
+
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";
|
|
46646
46840
|
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"};
|
|
46647
46841
|
styleInject(css_248z$6);
|
|
46648
46842
|
|
|
@@ -46671,23 +46865,15 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
|
|
|
46671
46865
|
_useState6[0];
|
|
46672
46866
|
_useState6[1];
|
|
46673
46867
|
useEffect(function () {
|
|
46674
|
-
|
|
46675
|
-
|
|
46676
|
-
|
|
46677
|
-
|
|
46678
|
-
|
|
46679
|
-
|
|
46680
|
-
|
|
46681
|
-
|
|
46682
|
-
|
|
46683
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
46684
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
46685
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
46686
|
-
});
|
|
46687
|
-
}
|
|
46688
|
-
});
|
|
46689
|
-
setsectionproperties(_objectSpread$k({}, secpropobj));
|
|
46690
|
-
}
|
|
46868
|
+
var secpropobj = {};
|
|
46869
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
46870
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
46871
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
46872
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
46873
|
+
});
|
|
46874
|
+
}
|
|
46875
|
+
});
|
|
46876
|
+
setsectionproperties(_objectSpread$k({}, secpropobj));
|
|
46691
46877
|
}, [StatePagePropertiesContext]);
|
|
46692
46878
|
useEffect(function () {
|
|
46693
46879
|
setitem(props.cardinfoitemprops);
|
|
@@ -46733,6 +46919,9 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
|
|
|
46733
46919
|
opacity: sectionproperties.cardtransitionbgopacityonhover
|
|
46734
46920
|
}
|
|
46735
46921
|
}),
|
|
46922
|
+
text: css({
|
|
46923
|
+
bottom: sectionproperties.generaltext_topposition + 'px'
|
|
46924
|
+
}),
|
|
46736
46925
|
categoryname: css({
|
|
46737
46926
|
color: sectionproperties.generaltext_fontColor,
|
|
46738
46927
|
textTransform: sectionproperties.generaltext_textTransform,
|
|
@@ -46756,10 +46945,15 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
|
|
|
46756
46945
|
':hover': {
|
|
46757
46946
|
color: sectionproperties.generalbtn_textColoronhover
|
|
46758
46947
|
}
|
|
46948
|
+
}),
|
|
46949
|
+
container: css({
|
|
46950
|
+
':hover .text': {
|
|
46951
|
+
bottom: parseFloat(parseInt(sectionproperties.generaltext_topposition) + 20) + 'px'
|
|
46952
|
+
}
|
|
46759
46953
|
})
|
|
46760
46954
|
};
|
|
46761
46955
|
return /*#__PURE__*/React.createElement("div", {
|
|
46762
|
-
"class": cardstyles$1.container + ' row m-0 w-100 ',
|
|
46956
|
+
"class": "".concat(cardstyles$1.container, " ").concat(card_cssstyles.container) + ' row m-0 w-100 ',
|
|
46763
46957
|
style: {
|
|
46764
46958
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
46765
46959
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
@@ -46784,19 +46978,22 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
|
|
|
46784
46978
|
loading: "lazy"
|
|
46785
46979
|
}), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React.createElement("ul", {
|
|
46786
46980
|
style: {
|
|
46787
|
-
width: '90%'
|
|
46981
|
+
width: sectionproperties.generaltext_position == 'Centered' ? '100%' : '90%'
|
|
46788
46982
|
},
|
|
46789
|
-
"class": "".concat(cardstyles$1.text) + ' m-0 p-0 '
|
|
46983
|
+
"class": "".concat(cardstyles$1.text, " ").concat(card_cssstyles.text) + ' text m-0 p-0 '
|
|
46790
46984
|
}, /*#__PURE__*/React.createElement("li", {
|
|
46985
|
+
"class": sectionproperties.generaltext_position == 'Centered' ? 'cursor-pointer' : langdetect == 'en' ? 'ml-3 cursor-pointer ' : 'mr-3 cursor-pointer ',
|
|
46791
46986
|
style: {
|
|
46987
|
+
display: 'flex',
|
|
46988
|
+
justifyContent: sectionproperties.generaltext_position == 'Centered' ? 'center' : 'start',
|
|
46792
46989
|
zIndex: 10000
|
|
46793
|
-
}
|
|
46794
|
-
"class": langdetect == 'en' ? 'ml-3 cursor-pointer ' : 'mr-3 cursor-pointer '
|
|
46795
|
-
}, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement("i", {
|
|
46796
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
46990
|
+
}
|
|
46797
46991
|
}, /*#__PURE__*/React.createElement("p", {
|
|
46798
|
-
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak wordbreak1 '
|
|
46799
|
-
|
|
46992
|
+
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak wordbreak1 ',
|
|
46993
|
+
style: {
|
|
46994
|
+
fontStyle: sectionproperties.generaltext_position == 'Centered' ? 'normal' : 'italic'
|
|
46995
|
+
}
|
|
46996
|
+
}, item.name))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("ul", {
|
|
46800
46997
|
"class": "".concat(cardstyles$1.buttons_container) + ' m-0 p-0 '
|
|
46801
46998
|
}, /*#__PURE__*/React.createElement("li", {
|
|
46802
46999
|
style: {
|
|
@@ -46824,19 +47021,22 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
|
|
|
46824
47021
|
loading: "lazy"
|
|
46825
47022
|
}), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React.createElement("ul", {
|
|
46826
47023
|
style: {
|
|
46827
|
-
width: '90%'
|
|
47024
|
+
width: sectionproperties.generaltext_position == 'Centered' ? '100%' : '90%'
|
|
46828
47025
|
},
|
|
46829
|
-
"class": "".concat(cardstyles$1.text) + ' m-0 p-0 '
|
|
47026
|
+
"class": "".concat(cardstyles$1.text, " ").concat(card_cssstyles.text) + ' text m-0 p-0 '
|
|
46830
47027
|
}, /*#__PURE__*/React.createElement("li", {
|
|
47028
|
+
"class": sectionproperties.generaltext_position == 'Centered' ? 'cursor-pointer' : langdetect == 'en' ? 'ml-3 cursor-pointer ' : 'mr-3 cursor-pointer ',
|
|
46831
47029
|
style: {
|
|
47030
|
+
display: 'flex',
|
|
47031
|
+
justifyContent: sectionproperties.generaltext_position == 'Centered' ? 'center' : 'start',
|
|
46832
47032
|
zIndex: 10000
|
|
46833
|
-
}
|
|
46834
|
-
"class": langdetect == 'en' ? 'ml-3 cursor-pointer ' : 'mr-3 cursor-pointer '
|
|
46835
|
-
}, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement("i", {
|
|
46836
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
47033
|
+
}
|
|
46837
47034
|
}, /*#__PURE__*/React.createElement("p", {
|
|
46838
|
-
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak wordbreak1 '
|
|
46839
|
-
|
|
47035
|
+
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak wordbreak1 ',
|
|
47036
|
+
style: {
|
|
47037
|
+
fontStyle: sectionproperties.generaltext_position == 'Centered' ? 'normal' : 'italic'
|
|
47038
|
+
}
|
|
47039
|
+
}, item.name))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("ul", {
|
|
46840
47040
|
"class": "".concat(cardstyles$1.buttons_container) + ' m-0 p-0 '
|
|
46841
47041
|
}, /*#__PURE__*/React.createElement("li", {
|
|
46842
47042
|
style: {
|
|
@@ -47087,7 +47287,8 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
47087
47287
|
transition: '.3s',
|
|
47088
47288
|
':hover': {
|
|
47089
47289
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
47090
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
47290
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
47291
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
47091
47292
|
}
|
|
47092
47293
|
}),
|
|
47093
47294
|
productDescStyles: css({
|
|
@@ -47244,12 +47445,12 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
47244
47445
|
"class": "col-lg-12 p-0 d-flex align-items-center"
|
|
47245
47446
|
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
47246
47447
|
"class": card_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
47247
|
-
}, langdetect == 'en' ?
|
|
47448
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname), item.hassale == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
47248
47449
|
"class": card_cssstyles.productSalePricestyles + ' m-0 p-0 ml-2 mr-2 ',
|
|
47249
47450
|
style: {
|
|
47250
47451
|
textDecoration: 'line-through'
|
|
47251
47452
|
}
|
|
47252
|
-
}, langdetect == 'en' ?
|
|
47453
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React.createElement("div", {
|
|
47253
47454
|
"class": "col-lg-12 p-0 d-flex align-items-center mt-2"
|
|
47254
47455
|
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
47255
47456
|
"class": card_cssstyles.cart_btn,
|
|
@@ -51292,6 +51493,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
51292
51493
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
51293
51494
|
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
51294
51495
|
color: sectionproperties.generaltext_fontColor,
|
|
51496
|
+
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
51295
51497
|
transition: '.3s',
|
|
51296
51498
|
cursor: 'pointer',
|
|
51297
51499
|
':hover .categoryname': {
|
|
@@ -51358,20 +51560,23 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
51358
51560
|
}, /*#__PURE__*/React.createElement("div", {
|
|
51359
51561
|
"class": " row m-0 w-100 allcentered"
|
|
51360
51562
|
}, /*#__PURE__*/React.createElement("div", {
|
|
51361
|
-
"class": card_cssstyles.imagecontainer + ' d-flex d-sm-none '
|
|
51563
|
+
"class": card_cssstyles.imagecontainer + ' d-flex d-sm-none align-items-center justify-content-center ',
|
|
51564
|
+
style: {
|
|
51565
|
+
width: sectionproperties.image_bordertopleftradius == '100' ? sectionproperties.image_height + 'px' : '100%'
|
|
51566
|
+
}
|
|
51362
51567
|
}, /*#__PURE__*/React.createElement(IKImage, {
|
|
51363
51568
|
urlEndpoint: IKurlEndpoint,
|
|
51364
51569
|
publicKey: IKpublicKey,
|
|
51365
51570
|
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
51366
51571
|
style: {
|
|
51367
|
-
width: '
|
|
51368
|
-
height: '
|
|
51572
|
+
width: sectionproperties.image_width + '%',
|
|
51573
|
+
height: sectionproperties.image_width + '%',
|
|
51369
51574
|
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
51370
51575
|
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
|
|
51371
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
51372
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
51373
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
51374
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
|
|
51576
|
+
borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
|
|
51577
|
+
borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0,
|
|
51578
|
+
borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
|
|
51579
|
+
borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0
|
|
51375
51580
|
},
|
|
51376
51581
|
loading: "lazy"
|
|
51377
51582
|
})), /*#__PURE__*/React.createElement("div", {
|