tabexseriescomponents 0.2.1411 → 0.2.1412
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 +15 -74
- package/dist/index.esm.js +15 -74
- package/dist/index.umd.js +15 -74
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -8274,7 +8274,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
8274
8274
|
function ownKeys$2D(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
8275
8275
|
function _objectSpread$2D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2D(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8276
8276
|
var Productinfo = function Productinfo(props) {
|
|
8277
|
-
var _css, _fetchProductInfoQuer90, _ref, _fetchProductInfoQuer91, _authdetailsContext$i45, _ref2, _fetchProductInfoQuer92, _authdetailsContext$i46, _ref3, _fetchProductInfoQuer93, _ref4, _authdetailsContext$i47, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i48, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57, _authdetailsContext$i58, _authdetailsContext$i59, _authdetailsContext$i60, _authdetailsContext$i61, _authdetailsContext$i62, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i63, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i64, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _fetchProductInfoQuer105, _fetchProductInfoQuer106,
|
|
8277
|
+
var _css, _fetchProductInfoQuer90, _ref, _fetchProductInfoQuer91, _authdetailsContext$i45, _ref2, _fetchProductInfoQuer92, _authdetailsContext$i46, _ref3, _fetchProductInfoQuer93, _ref4, _authdetailsContext$i47, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i48, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57, _authdetailsContext$i58, _authdetailsContext$i59, _authdetailsContext$i60, _authdetailsContext$i61, _authdetailsContext$i62, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i63, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i64, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _authdetailsContext$i65, _returnpolicyobj35, _returnpolicyobj36, _returnpolicyobj37, _returnpolicyobj38, _fetchProductInfoQuer109, _fetchProductInfoQuer110, _returnpolicyobj39, _returnpolicyobj40, _returnpolicyobj41, _returnpolicyobj42, _authdetailsContext$i66, _fetchProductInfoQuer111, _fetchProductInfoQuer112, _fetchProductInfoQuer113, _fetchProductInfoQuer114, _returnpolicyobj43, _returnpolicyobj44, _returnpolicyobj45, _returnpolicyobj46, _authdetailsContext$i67, _authdetailsContext$i68, _returnpolicyobj47, _returnpolicyobj48, _returnpolicyobj49, _returnpolicyobj50, _authdetailsContext$i69, _authdetailsContext$i70;
|
|
8278
8278
|
var _useState = React.useState({}),
|
|
8279
8279
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
8280
8280
|
ProductInfoObj = _useState2[0],
|
|
@@ -12888,12 +12888,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
12888
12888
|
},
|
|
12889
12889
|
variant: 'fullWidth'
|
|
12890
12890
|
// tabsfullwidth
|
|
12891
|
-
},
|
|
12891
|
+
}, /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12892
12892
|
label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
|
|
12893
12893
|
onClick: function onClick() {
|
|
12894
12894
|
settabname('descriptiontab');
|
|
12895
12895
|
}
|
|
12896
|
-
}),
|
|
12896
|
+
}), /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12897
12897
|
label: langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar,
|
|
12898
12898
|
onClick: function onClick() {
|
|
12899
12899
|
settabname('shortdescriptiontab');
|
|
@@ -12918,65 +12918,6 @@ var Productinfo = function Productinfo(props) {
|
|
|
12918
12918
|
onClick: function onClick() {
|
|
12919
12919
|
settabname('reviewstab');
|
|
12920
12920
|
}
|
|
12921
|
-
}))), sectionproperties.tabsfullwidth != 'Full Width' && /*#__PURE__*/React__default["default"].createElement(material.Box, null, /*#__PURE__*/React__default["default"].createElement(material.Tabs, {
|
|
12922
|
-
value: tabIndex,
|
|
12923
|
-
onChange: handleTabChange,
|
|
12924
|
-
scrollButtons: "auto",
|
|
12925
|
-
TabIndicatorProps: {
|
|
12926
|
-
style: {
|
|
12927
|
-
background: sectionproperties.activetabbordercolor
|
|
12928
|
-
// right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
|
|
12929
|
-
// margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
|
|
12930
|
-
}
|
|
12931
|
-
},
|
|
12932
|
-
sx: {
|
|
12933
|
-
'& button': {
|
|
12934
|
-
color: sectionproperties.tabtextcolor,
|
|
12935
|
-
fontWeight: sectionproperties.tabtextfontweight,
|
|
12936
|
-
background: sectionproperties.tabcontainerbgcolor,
|
|
12937
|
-
textTransform: sectionproperties.tabtexttexttransform,
|
|
12938
|
-
borderRadius: sectionproperties.tabcontainerborderradius + 'px',
|
|
12939
|
-
fontFamily: 'Poppins',
|
|
12940
|
-
transition: '.3s',
|
|
12941
|
-
fontSize: sectionproperties.tabtextfontsize + 'px'
|
|
12942
|
-
},
|
|
12943
|
-
'& button:hover': {
|
|
12944
|
-
color: sectionproperties.tabscoloronhover,
|
|
12945
|
-
fontFamily: 'Poppins',
|
|
12946
|
-
transition: '.3s'
|
|
12947
|
-
},
|
|
12948
|
-
'& button.Mui-selected': {
|
|
12949
|
-
color: sectionproperties.tabtextactivecolor,
|
|
12950
|
-
background: sectionproperties.activetabbgcolor,
|
|
12951
|
-
fontFamily: 'Poppins',
|
|
12952
|
-
transition: '.3s'
|
|
12953
|
-
}
|
|
12954
|
-
}
|
|
12955
|
-
}, sectionproperties.prodCatShow == 'Show' && sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12956
|
-
label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
|
|
12957
|
-
onClick: function onClick() {
|
|
12958
|
-
settabname('descriptiontab');
|
|
12959
|
-
}
|
|
12960
|
-
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12961
|
-
label: langdetect == 'en' ? (_returnpolicyobj35 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj35 === void 0 ? void 0 : _returnpolicyobj35.policypagename_en : (_returnpolicyobj36 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj36 === void 0 ? void 0 : _returnpolicyobj36.policypagename_ar,
|
|
12962
|
-
onClick: function onClick() {
|
|
12963
|
-
settabname('shippingpolicytab');
|
|
12964
|
-
}
|
|
12965
|
-
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12966
|
-
label: langdetect == 'en' ? (_returnpolicyobj37 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj37 === void 0 ? void 0 : _returnpolicyobj37.policypagename_en : (_returnpolicyobj38 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj38 === void 0 ? void 0 : _returnpolicyobj38.policypagename_ar,
|
|
12967
|
-
onClick: function onClick() {
|
|
12968
|
-
settabname('refundpolicytab');
|
|
12969
|
-
}
|
|
12970
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer107 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.productinfo) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.product_videos) === null || _fetchProductInfoQuer107 === void 0 ? void 0 : _fetchProductInfoQuer107.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12971
|
-
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
12972
|
-
onClick: function onClick() {
|
|
12973
|
-
settabname('videostab');
|
|
12974
|
-
}
|
|
12975
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer108 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.productinfo) === null || _fetchProductInfoQuer108 === void 0 ? void 0 : _fetchProductInfoQuer108.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12976
|
-
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
12977
|
-
onClick: function onClick() {
|
|
12978
|
-
settabname('reviewstab');
|
|
12979
|
-
}
|
|
12980
12921
|
}))), /*#__PURE__*/React__default["default"].createElement(material.Box, {
|
|
12981
12922
|
"class": "w-100 mt-5 mb-4"
|
|
12982
12923
|
}, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
@@ -12993,7 +12934,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12993
12934
|
color: sectionproperties.prodCatColor
|
|
12994
12935
|
},
|
|
12995
12936
|
dangerouslySetInnerHTML: {
|
|
12996
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12937
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer107 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.productinfo) === null || _fetchProductInfoQuer107 === void 0 ? void 0 : _fetchProductInfoQuer107.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer108 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.productinfo) === null || _fetchProductInfoQuer108 === void 0 ? void 0 : _fetchProductInfoQuer108.short_description_ar
|
|
12997
12938
|
}
|
|
12998
12939
|
})), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12999
12940
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13086,12 +13027,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
13086
13027
|
settabname('shortdescriptiontab');
|
|
13087
13028
|
}
|
|
13088
13029
|
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
13089
|
-
label: langdetect == 'en' ? (
|
|
13030
|
+
label: langdetect == 'en' ? (_returnpolicyobj35 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj35 === void 0 ? void 0 : _returnpolicyobj35.policypagename_en : (_returnpolicyobj36 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj36 === void 0 ? void 0 : _returnpolicyobj36.policypagename_ar,
|
|
13090
13031
|
onClick: function onClick() {
|
|
13091
13032
|
settabname('shippingpolicytab');
|
|
13092
13033
|
}
|
|
13093
13034
|
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
13094
|
-
label: langdetect == 'en' ? (
|
|
13035
|
+
label: langdetect == 'en' ? (_returnpolicyobj37 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj37 === void 0 ? void 0 : _returnpolicyobj37.policypagename_en : (_returnpolicyobj38 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj38 === void 0 ? void 0 : _returnpolicyobj38.policypagename_ar,
|
|
13095
13036
|
onClick: function onClick() {
|
|
13096
13037
|
settabname('refundpolicytab');
|
|
13097
13038
|
}
|
|
@@ -13111,7 +13052,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13111
13052
|
color: sectionproperties.prodCatColor
|
|
13112
13053
|
},
|
|
13113
13054
|
dangerouslySetInnerHTML: {
|
|
13114
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13055
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer109 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.productinfo) === null || _fetchProductInfoQuer109 === void 0 ? void 0 : _fetchProductInfoQuer109.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer110 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.productinfo) === null || _fetchProductInfoQuer110 === void 0 ? void 0 : _fetchProductInfoQuer110.short_description_ar
|
|
13115
13056
|
}
|
|
13116
13057
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13117
13058
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -13123,7 +13064,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13123
13064
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13124
13065
|
},
|
|
13125
13066
|
dangerouslySetInnerHTML: {
|
|
13126
|
-
__html: langdetect == 'en' ? (
|
|
13067
|
+
__html: langdetect == 'en' ? (_returnpolicyobj39 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj39 === void 0 ? void 0 : _returnpolicyobj39.policycontent_en : (_returnpolicyobj40 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj40 === void 0 ? void 0 : _returnpolicyobj40.policycontent_ar
|
|
13127
13068
|
}
|
|
13128
13069
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13129
13070
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13135,7 +13076,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13135
13076
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13136
13077
|
},
|
|
13137
13078
|
dangerouslySetInnerHTML: {
|
|
13138
|
-
__html: langdetect == 'en' ? (
|
|
13079
|
+
__html: langdetect == 'en' ? (_returnpolicyobj41 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj41 === void 0 ? void 0 : _returnpolicyobj41.policycontent_en : (_returnpolicyobj42 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj42 === void 0 ? void 0 : _returnpolicyobj42.policycontent_ar
|
|
13139
13080
|
}
|
|
13140
13081
|
})), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13141
13082
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13243,7 +13184,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13243
13184
|
color: '#000000'
|
|
13244
13185
|
},
|
|
13245
13186
|
dangerouslySetInnerHTML: {
|
|
13246
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13187
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer111 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.productinfo) === null || _fetchProductInfoQuer111 === void 0 ? void 0 : _fetchProductInfoQuer111.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer112 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.data) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.productinfo) === null || _fetchProductInfoQuer112 === void 0 ? void 0 : _fetchProductInfoQuer112.description_ar
|
|
13247
13188
|
}
|
|
13248
13189
|
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13249
13190
|
"class": "col-lg-12 p-0"
|
|
@@ -13254,7 +13195,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13254
13195
|
color: sectionproperties.prodCatColor
|
|
13255
13196
|
},
|
|
13256
13197
|
dangerouslySetInnerHTML: {
|
|
13257
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13198
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer113 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.productinfo) === null || _fetchProductInfoQuer113 === void 0 ? void 0 : _fetchProductInfoQuer113.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer114 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.productinfo) === null || _fetchProductInfoQuer114 === void 0 ? void 0 : _fetchProductInfoQuer114.short_description_ar
|
|
13258
13199
|
}
|
|
13259
13200
|
}))
|
|
13260
13201
|
// <DescriptionContent
|
|
@@ -13274,7 +13215,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13274
13215
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13275
13216
|
},
|
|
13276
13217
|
dangerouslySetInnerHTML: {
|
|
13277
|
-
__html: langdetect == 'en' ? (
|
|
13218
|
+
__html: langdetect == 'en' ? (_returnpolicyobj43 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj43 === void 0 ? void 0 : _returnpolicyobj43.policycontent_en : (_returnpolicyobj44 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj44 === void 0 ? void 0 : _returnpolicyobj44.policycontent_ar
|
|
13278
13219
|
}
|
|
13279
13220
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13280
13221
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13286,7 +13227,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13286
13227
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13287
13228
|
},
|
|
13288
13229
|
dangerouslySetInnerHTML: {
|
|
13289
|
-
__html: langdetect == 'en' ? (
|
|
13230
|
+
__html: langdetect == 'en' ? (_returnpolicyobj45 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj45 === void 0 ? void 0 : _returnpolicyobj45.policycontent_en : (_returnpolicyobj46 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj46 === void 0 ? void 0 : _returnpolicyobj46.policycontent_ar
|
|
13290
13231
|
}
|
|
13291
13232
|
})), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13292
13233
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13389,7 +13330,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13389
13330
|
className: "col-lg-9 col-md-9 col-sm-9 d-flex justofy-content-start flex-column"
|
|
13390
13331
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13391
13332
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center '
|
|
13392
|
-
}, langdetect == 'en' ? (
|
|
13333
|
+
}, langdetect == 'en' ? (_returnpolicyobj47 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj47 === void 0 ? void 0 : _returnpolicyobj47.policypagename_en : (_returnpolicyobj48 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj48 === void 0 ? void 0 : _returnpolicyobj48.policypagename_ar)))), sectionproperties.showsecondpolicy_storeinfo == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13393
13334
|
"class": "col-3 col-md-12 cursor-pointer textdecorationhover",
|
|
13394
13335
|
onClick: function onClick() {
|
|
13395
13336
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
@@ -13407,7 +13348,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13407
13348
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13408
13349
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
13409
13350
|
style: {}
|
|
13410
|
-
}, langdetect == 'en' ? (
|
|
13351
|
+
}, langdetect == 'en' ? (_returnpolicyobj49 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj49 === void 0 ? void 0 : _returnpolicyobj49.policypagename_en : (_returnpolicyobj50 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj50 === void 0 ? void 0 : _returnpolicyobj50.policypagename_ar))))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i69 = authdetailsContext.instinfo) === null || _authdetailsContext$i69 === void 0 ? void 0 : _authdetailsContext$i69.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13411
13352
|
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 ',
|
|
13412
13353
|
style: {
|
|
13413
13354
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
package/dist/index.esm.js
CHANGED
|
@@ -8223,7 +8223,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
8223
8223
|
function ownKeys$2D(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
8224
8224
|
function _objectSpread$2D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2D(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8225
8225
|
var Productinfo = function Productinfo(props) {
|
|
8226
|
-
var _css, _fetchProductInfoQuer90, _ref, _fetchProductInfoQuer91, _authdetailsContext$i45, _ref2, _fetchProductInfoQuer92, _authdetailsContext$i46, _ref3, _fetchProductInfoQuer93, _ref4, _authdetailsContext$i47, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i48, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57, _authdetailsContext$i58, _authdetailsContext$i59, _authdetailsContext$i60, _authdetailsContext$i61, _authdetailsContext$i62, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i63, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i64, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _fetchProductInfoQuer105, _fetchProductInfoQuer106,
|
|
8226
|
+
var _css, _fetchProductInfoQuer90, _ref, _fetchProductInfoQuer91, _authdetailsContext$i45, _ref2, _fetchProductInfoQuer92, _authdetailsContext$i46, _ref3, _fetchProductInfoQuer93, _ref4, _authdetailsContext$i47, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i48, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57, _authdetailsContext$i58, _authdetailsContext$i59, _authdetailsContext$i60, _authdetailsContext$i61, _authdetailsContext$i62, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i63, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i64, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _authdetailsContext$i65, _returnpolicyobj35, _returnpolicyobj36, _returnpolicyobj37, _returnpolicyobj38, _fetchProductInfoQuer109, _fetchProductInfoQuer110, _returnpolicyobj39, _returnpolicyobj40, _returnpolicyobj41, _returnpolicyobj42, _authdetailsContext$i66, _fetchProductInfoQuer111, _fetchProductInfoQuer112, _fetchProductInfoQuer113, _fetchProductInfoQuer114, _returnpolicyobj43, _returnpolicyobj44, _returnpolicyobj45, _returnpolicyobj46, _authdetailsContext$i67, _authdetailsContext$i68, _returnpolicyobj47, _returnpolicyobj48, _returnpolicyobj49, _returnpolicyobj50, _authdetailsContext$i69, _authdetailsContext$i70;
|
|
8227
8227
|
var _useState = useState({}),
|
|
8228
8228
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8229
8229
|
ProductInfoObj = _useState2[0],
|
|
@@ -12837,12 +12837,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
12837
12837
|
},
|
|
12838
12838
|
variant: 'fullWidth'
|
|
12839
12839
|
// tabsfullwidth
|
|
12840
|
-
},
|
|
12840
|
+
}, /*#__PURE__*/React.createElement(Tab, {
|
|
12841
12841
|
label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
|
|
12842
12842
|
onClick: function onClick() {
|
|
12843
12843
|
settabname('descriptiontab');
|
|
12844
12844
|
}
|
|
12845
|
-
}),
|
|
12845
|
+
}), /*#__PURE__*/React.createElement(Tab, {
|
|
12846
12846
|
label: langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar,
|
|
12847
12847
|
onClick: function onClick() {
|
|
12848
12848
|
settabname('shortdescriptiontab');
|
|
@@ -12867,65 +12867,6 @@ var Productinfo = function Productinfo(props) {
|
|
|
12867
12867
|
onClick: function onClick() {
|
|
12868
12868
|
settabname('reviewstab');
|
|
12869
12869
|
}
|
|
12870
|
-
}))), sectionproperties.tabsfullwidth != 'Full Width' && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Tabs, {
|
|
12871
|
-
value: tabIndex,
|
|
12872
|
-
onChange: handleTabChange,
|
|
12873
|
-
scrollButtons: "auto",
|
|
12874
|
-
TabIndicatorProps: {
|
|
12875
|
-
style: {
|
|
12876
|
-
background: sectionproperties.activetabbordercolor
|
|
12877
|
-
// right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
|
|
12878
|
-
// margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
|
|
12879
|
-
}
|
|
12880
|
-
},
|
|
12881
|
-
sx: {
|
|
12882
|
-
'& button': {
|
|
12883
|
-
color: sectionproperties.tabtextcolor,
|
|
12884
|
-
fontWeight: sectionproperties.tabtextfontweight,
|
|
12885
|
-
background: sectionproperties.tabcontainerbgcolor,
|
|
12886
|
-
textTransform: sectionproperties.tabtexttexttransform,
|
|
12887
|
-
borderRadius: sectionproperties.tabcontainerborderradius + 'px',
|
|
12888
|
-
fontFamily: 'Poppins',
|
|
12889
|
-
transition: '.3s',
|
|
12890
|
-
fontSize: sectionproperties.tabtextfontsize + 'px'
|
|
12891
|
-
},
|
|
12892
|
-
'& button:hover': {
|
|
12893
|
-
color: sectionproperties.tabscoloronhover,
|
|
12894
|
-
fontFamily: 'Poppins',
|
|
12895
|
-
transition: '.3s'
|
|
12896
|
-
},
|
|
12897
|
-
'& button.Mui-selected': {
|
|
12898
|
-
color: sectionproperties.tabtextactivecolor,
|
|
12899
|
-
background: sectionproperties.activetabbgcolor,
|
|
12900
|
-
fontFamily: 'Poppins',
|
|
12901
|
-
transition: '.3s'
|
|
12902
|
-
}
|
|
12903
|
-
}
|
|
12904
|
-
}, sectionproperties.prodCatShow == 'Show' && sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React.createElement(Tab, {
|
|
12905
|
-
label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
|
|
12906
|
-
onClick: function onClick() {
|
|
12907
|
-
settabname('descriptiontab');
|
|
12908
|
-
}
|
|
12909
|
-
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
12910
|
-
label: langdetect == 'en' ? (_returnpolicyobj35 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj35 === void 0 ? void 0 : _returnpolicyobj35.policypagename_en : (_returnpolicyobj36 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj36 === void 0 ? void 0 : _returnpolicyobj36.policypagename_ar,
|
|
12911
|
-
onClick: function onClick() {
|
|
12912
|
-
settabname('shippingpolicytab');
|
|
12913
|
-
}
|
|
12914
|
-
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
12915
|
-
label: langdetect == 'en' ? (_returnpolicyobj37 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj37 === void 0 ? void 0 : _returnpolicyobj37.policypagename_en : (_returnpolicyobj38 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj38 === void 0 ? void 0 : _returnpolicyobj38.policypagename_ar,
|
|
12916
|
-
onClick: function onClick() {
|
|
12917
|
-
settabname('refundpolicytab');
|
|
12918
|
-
}
|
|
12919
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer107 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.productinfo) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.product_videos) === null || _fetchProductInfoQuer107 === void 0 ? void 0 : _fetchProductInfoQuer107.length) != 0 && /*#__PURE__*/React.createElement(Tab, {
|
|
12920
|
-
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
12921
|
-
onClick: function onClick() {
|
|
12922
|
-
settabname('videostab');
|
|
12923
|
-
}
|
|
12924
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer108 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.productinfo) === null || _fetchProductInfoQuer108 === void 0 ? void 0 : _fetchProductInfoQuer108.productcanrate) == 1 && /*#__PURE__*/React.createElement(Tab, {
|
|
12925
|
-
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
12926
|
-
onClick: function onClick() {
|
|
12927
|
-
settabname('reviewstab');
|
|
12928
|
-
}
|
|
12929
12870
|
}))), /*#__PURE__*/React.createElement(Box, {
|
|
12930
12871
|
"class": "w-100 mt-5 mb-4"
|
|
12931
12872
|
}, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React.createElement(DescriptionContent, {
|
|
@@ -12942,7 +12883,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12942
12883
|
color: sectionproperties.prodCatColor
|
|
12943
12884
|
},
|
|
12944
12885
|
dangerouslySetInnerHTML: {
|
|
12945
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12886
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer107 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.productinfo) === null || _fetchProductInfoQuer107 === void 0 ? void 0 : _fetchProductInfoQuer107.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer108 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.productinfo) === null || _fetchProductInfoQuer108 === void 0 ? void 0 : _fetchProductInfoQuer108.short_description_ar
|
|
12946
12887
|
}
|
|
12947
12888
|
})), tabname == 'videostab' && /*#__PURE__*/React.createElement("div", {
|
|
12948
12889
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13035,12 +12976,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
13035
12976
|
settabname('shortdescriptiontab');
|
|
13036
12977
|
}
|
|
13037
12978
|
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
13038
|
-
label: langdetect == 'en' ? (
|
|
12979
|
+
label: langdetect == 'en' ? (_returnpolicyobj35 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj35 === void 0 ? void 0 : _returnpolicyobj35.policypagename_en : (_returnpolicyobj36 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj36 === void 0 ? void 0 : _returnpolicyobj36.policypagename_ar,
|
|
13039
12980
|
onClick: function onClick() {
|
|
13040
12981
|
settabname('shippingpolicytab');
|
|
13041
12982
|
}
|
|
13042
12983
|
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
13043
|
-
label: langdetect == 'en' ? (
|
|
12984
|
+
label: langdetect == 'en' ? (_returnpolicyobj37 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj37 === void 0 ? void 0 : _returnpolicyobj37.policypagename_en : (_returnpolicyobj38 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj38 === void 0 ? void 0 : _returnpolicyobj38.policypagename_ar,
|
|
13044
12985
|
onClick: function onClick() {
|
|
13045
12986
|
settabname('refundpolicytab');
|
|
13046
12987
|
}
|
|
@@ -13060,7 +13001,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13060
13001
|
color: sectionproperties.prodCatColor
|
|
13061
13002
|
},
|
|
13062
13003
|
dangerouslySetInnerHTML: {
|
|
13063
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13004
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer109 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.productinfo) === null || _fetchProductInfoQuer109 === void 0 ? void 0 : _fetchProductInfoQuer109.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer110 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.productinfo) === null || _fetchProductInfoQuer110 === void 0 ? void 0 : _fetchProductInfoQuer110.short_description_ar
|
|
13064
13005
|
}
|
|
13065
13006
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React.createElement("div", {
|
|
13066
13007
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -13072,7 +13013,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13072
13013
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13073
13014
|
},
|
|
13074
13015
|
dangerouslySetInnerHTML: {
|
|
13075
|
-
__html: langdetect == 'en' ? (
|
|
13016
|
+
__html: langdetect == 'en' ? (_returnpolicyobj39 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj39 === void 0 ? void 0 : _returnpolicyobj39.policycontent_en : (_returnpolicyobj40 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj40 === void 0 ? void 0 : _returnpolicyobj40.policycontent_ar
|
|
13076
13017
|
}
|
|
13077
13018
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React.createElement("div", {
|
|
13078
13019
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13084,7 +13025,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13084
13025
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13085
13026
|
},
|
|
13086
13027
|
dangerouslySetInnerHTML: {
|
|
13087
|
-
__html: langdetect == 'en' ? (
|
|
13028
|
+
__html: langdetect == 'en' ? (_returnpolicyobj41 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj41 === void 0 ? void 0 : _returnpolicyobj41.policycontent_en : (_returnpolicyobj42 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj42 === void 0 ? void 0 : _returnpolicyobj42.policycontent_ar
|
|
13088
13029
|
}
|
|
13089
13030
|
})), tabname == 'videostab' && /*#__PURE__*/React.createElement("div", {
|
|
13090
13031
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13192,7 +13133,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13192
13133
|
color: '#000000'
|
|
13193
13134
|
},
|
|
13194
13135
|
dangerouslySetInnerHTML: {
|
|
13195
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13136
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer111 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.productinfo) === null || _fetchProductInfoQuer111 === void 0 ? void 0 : _fetchProductInfoQuer111.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer112 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.data) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.productinfo) === null || _fetchProductInfoQuer112 === void 0 ? void 0 : _fetchProductInfoQuer112.description_ar
|
|
13196
13137
|
}
|
|
13197
13138
|
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React.createElement("div", {
|
|
13198
13139
|
"class": "col-lg-12 p-0"
|
|
@@ -13203,7 +13144,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13203
13144
|
color: sectionproperties.prodCatColor
|
|
13204
13145
|
},
|
|
13205
13146
|
dangerouslySetInnerHTML: {
|
|
13206
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13147
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer113 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.productinfo) === null || _fetchProductInfoQuer113 === void 0 ? void 0 : _fetchProductInfoQuer113.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer114 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.productinfo) === null || _fetchProductInfoQuer114 === void 0 ? void 0 : _fetchProductInfoQuer114.short_description_ar
|
|
13207
13148
|
}
|
|
13208
13149
|
}))
|
|
13209
13150
|
// <DescriptionContent
|
|
@@ -13223,7 +13164,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13223
13164
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13224
13165
|
},
|
|
13225
13166
|
dangerouslySetInnerHTML: {
|
|
13226
|
-
__html: langdetect == 'en' ? (
|
|
13167
|
+
__html: langdetect == 'en' ? (_returnpolicyobj43 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj43 === void 0 ? void 0 : _returnpolicyobj43.policycontent_en : (_returnpolicyobj44 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj44 === void 0 ? void 0 : _returnpolicyobj44.policycontent_ar
|
|
13227
13168
|
}
|
|
13228
13169
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React.createElement("div", {
|
|
13229
13170
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13235,7 +13176,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13235
13176
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13236
13177
|
},
|
|
13237
13178
|
dangerouslySetInnerHTML: {
|
|
13238
|
-
__html: langdetect == 'en' ? (
|
|
13179
|
+
__html: langdetect == 'en' ? (_returnpolicyobj45 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj45 === void 0 ? void 0 : _returnpolicyobj45.policycontent_en : (_returnpolicyobj46 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj46 === void 0 ? void 0 : _returnpolicyobj46.policycontent_ar
|
|
13239
13180
|
}
|
|
13240
13181
|
})), tabname == 'videostab' && /*#__PURE__*/React.createElement("div", {
|
|
13241
13182
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13338,7 +13279,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13338
13279
|
className: "col-lg-9 col-md-9 col-sm-9 d-flex justofy-content-start flex-column"
|
|
13339
13280
|
}, /*#__PURE__*/React.createElement("p", {
|
|
13340
13281
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center '
|
|
13341
|
-
}, langdetect == 'en' ? (
|
|
13282
|
+
}, langdetect == 'en' ? (_returnpolicyobj47 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj47 === void 0 ? void 0 : _returnpolicyobj47.policypagename_en : (_returnpolicyobj48 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj48 === void 0 ? void 0 : _returnpolicyobj48.policypagename_ar)))), sectionproperties.showsecondpolicy_storeinfo == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
13342
13283
|
"class": "col-3 col-md-12 cursor-pointer textdecorationhover",
|
|
13343
13284
|
onClick: function onClick() {
|
|
13344
13285
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
@@ -13356,7 +13297,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13356
13297
|
}, /*#__PURE__*/React.createElement("p", {
|
|
13357
13298
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
13358
13299
|
style: {}
|
|
13359
|
-
}, langdetect == 'en' ? (
|
|
13300
|
+
}, langdetect == 'en' ? (_returnpolicyobj49 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj49 === void 0 ? void 0 : _returnpolicyobj49.policypagename_en : (_returnpolicyobj50 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj50 === void 0 ? void 0 : _returnpolicyobj50.policypagename_ar))))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i69 = authdetailsContext.instinfo) === null || _authdetailsContext$i69 === void 0 ? void 0 : _authdetailsContext$i69.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React.createElement("div", {
|
|
13360
13301
|
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 ',
|
|
13361
13302
|
style: {
|
|
13362
13303
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
package/dist/index.umd.js
CHANGED
|
@@ -8076,7 +8076,7 @@
|
|
|
8076
8076
|
function ownKeys$2D(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
8077
8077
|
function _objectSpread$2D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2D(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8078
8078
|
var Productinfo = function Productinfo(props) {
|
|
8079
|
-
var _css, _fetchProductInfoQuer90, _ref, _fetchProductInfoQuer91, _authdetailsContext$i45, _ref2, _fetchProductInfoQuer92, _authdetailsContext$i46, _ref3, _fetchProductInfoQuer93, _ref4, _authdetailsContext$i47, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i48, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57, _authdetailsContext$i58, _authdetailsContext$i59, _authdetailsContext$i60, _authdetailsContext$i61, _authdetailsContext$i62, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i63, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i64, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _fetchProductInfoQuer105, _fetchProductInfoQuer106,
|
|
8079
|
+
var _css, _fetchProductInfoQuer90, _ref, _fetchProductInfoQuer91, _authdetailsContext$i45, _ref2, _fetchProductInfoQuer92, _authdetailsContext$i46, _ref3, _fetchProductInfoQuer93, _ref4, _authdetailsContext$i47, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i48, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57, _authdetailsContext$i58, _authdetailsContext$i59, _authdetailsContext$i60, _authdetailsContext$i61, _authdetailsContext$i62, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i63, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i64, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _authdetailsContext$i65, _returnpolicyobj35, _returnpolicyobj36, _returnpolicyobj37, _returnpolicyobj38, _fetchProductInfoQuer109, _fetchProductInfoQuer110, _returnpolicyobj39, _returnpolicyobj40, _returnpolicyobj41, _returnpolicyobj42, _authdetailsContext$i66, _fetchProductInfoQuer111, _fetchProductInfoQuer112, _fetchProductInfoQuer113, _fetchProductInfoQuer114, _returnpolicyobj43, _returnpolicyobj44, _returnpolicyobj45, _returnpolicyobj46, _authdetailsContext$i67, _authdetailsContext$i68, _returnpolicyobj47, _returnpolicyobj48, _returnpolicyobj49, _returnpolicyobj50, _authdetailsContext$i69, _authdetailsContext$i70;
|
|
8080
8080
|
var _useState = React.useState({}),
|
|
8081
8081
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
8082
8082
|
ProductInfoObj = _useState2[0],
|
|
@@ -12690,12 +12690,12 @@
|
|
|
12690
12690
|
},
|
|
12691
12691
|
variant: 'fullWidth'
|
|
12692
12692
|
// tabsfullwidth
|
|
12693
|
-
},
|
|
12693
|
+
}, /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12694
12694
|
label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
|
|
12695
12695
|
onClick: function onClick() {
|
|
12696
12696
|
settabname('descriptiontab');
|
|
12697
12697
|
}
|
|
12698
|
-
}),
|
|
12698
|
+
}), /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12699
12699
|
label: langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar,
|
|
12700
12700
|
onClick: function onClick() {
|
|
12701
12701
|
settabname('shortdescriptiontab');
|
|
@@ -12720,65 +12720,6 @@
|
|
|
12720
12720
|
onClick: function onClick() {
|
|
12721
12721
|
settabname('reviewstab');
|
|
12722
12722
|
}
|
|
12723
|
-
}))), sectionproperties.tabsfullwidth != 'Full Width' && /*#__PURE__*/React__default["default"].createElement(material.Box, null, /*#__PURE__*/React__default["default"].createElement(material.Tabs, {
|
|
12724
|
-
value: tabIndex,
|
|
12725
|
-
onChange: handleTabChange,
|
|
12726
|
-
scrollButtons: "auto",
|
|
12727
|
-
TabIndicatorProps: {
|
|
12728
|
-
style: {
|
|
12729
|
-
background: sectionproperties.activetabbordercolor
|
|
12730
|
-
// right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
|
|
12731
|
-
// margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
|
|
12732
|
-
}
|
|
12733
|
-
},
|
|
12734
|
-
sx: {
|
|
12735
|
-
'& button': {
|
|
12736
|
-
color: sectionproperties.tabtextcolor,
|
|
12737
|
-
fontWeight: sectionproperties.tabtextfontweight,
|
|
12738
|
-
background: sectionproperties.tabcontainerbgcolor,
|
|
12739
|
-
textTransform: sectionproperties.tabtexttexttransform,
|
|
12740
|
-
borderRadius: sectionproperties.tabcontainerborderradius + 'px',
|
|
12741
|
-
fontFamily: 'Poppins',
|
|
12742
|
-
transition: '.3s',
|
|
12743
|
-
fontSize: sectionproperties.tabtextfontsize + 'px'
|
|
12744
|
-
},
|
|
12745
|
-
'& button:hover': {
|
|
12746
|
-
color: sectionproperties.tabscoloronhover,
|
|
12747
|
-
fontFamily: 'Poppins',
|
|
12748
|
-
transition: '.3s'
|
|
12749
|
-
},
|
|
12750
|
-
'& button.Mui-selected': {
|
|
12751
|
-
color: sectionproperties.tabtextactivecolor,
|
|
12752
|
-
background: sectionproperties.activetabbgcolor,
|
|
12753
|
-
fontFamily: 'Poppins',
|
|
12754
|
-
transition: '.3s'
|
|
12755
|
-
}
|
|
12756
|
-
}
|
|
12757
|
-
}, sectionproperties.prodCatShow == 'Show' && sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12758
|
-
label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
|
|
12759
|
-
onClick: function onClick() {
|
|
12760
|
-
settabname('descriptiontab');
|
|
12761
|
-
}
|
|
12762
|
-
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12763
|
-
label: langdetect == 'en' ? (_returnpolicyobj35 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj35 === void 0 ? void 0 : _returnpolicyobj35.policypagename_en : (_returnpolicyobj36 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj36 === void 0 ? void 0 : _returnpolicyobj36.policypagename_ar,
|
|
12764
|
-
onClick: function onClick() {
|
|
12765
|
-
settabname('shippingpolicytab');
|
|
12766
|
-
}
|
|
12767
|
-
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12768
|
-
label: langdetect == 'en' ? (_returnpolicyobj37 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj37 === void 0 ? void 0 : _returnpolicyobj37.policypagename_en : (_returnpolicyobj38 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj38 === void 0 ? void 0 : _returnpolicyobj38.policypagename_ar,
|
|
12769
|
-
onClick: function onClick() {
|
|
12770
|
-
settabname('refundpolicytab');
|
|
12771
|
-
}
|
|
12772
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer107 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.productinfo) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.product_videos) === null || _fetchProductInfoQuer107 === void 0 ? void 0 : _fetchProductInfoQuer107.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12773
|
-
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
12774
|
-
onClick: function onClick() {
|
|
12775
|
-
settabname('videostab');
|
|
12776
|
-
}
|
|
12777
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer108 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.productinfo) === null || _fetchProductInfoQuer108 === void 0 ? void 0 : _fetchProductInfoQuer108.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12778
|
-
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
12779
|
-
onClick: function onClick() {
|
|
12780
|
-
settabname('reviewstab');
|
|
12781
|
-
}
|
|
12782
12723
|
}))), /*#__PURE__*/React__default["default"].createElement(material.Box, {
|
|
12783
12724
|
"class": "w-100 mt-5 mb-4"
|
|
12784
12725
|
}, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
@@ -12795,7 +12736,7 @@
|
|
|
12795
12736
|
color: sectionproperties.prodCatColor
|
|
12796
12737
|
},
|
|
12797
12738
|
dangerouslySetInnerHTML: {
|
|
12798
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12739
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer107 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.productinfo) === null || _fetchProductInfoQuer107 === void 0 ? void 0 : _fetchProductInfoQuer107.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer108 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.productinfo) === null || _fetchProductInfoQuer108 === void 0 ? void 0 : _fetchProductInfoQuer108.short_description_ar
|
|
12799
12740
|
}
|
|
12800
12741
|
})), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12801
12742
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -12888,12 +12829,12 @@
|
|
|
12888
12829
|
settabname('shortdescriptiontab');
|
|
12889
12830
|
}
|
|
12890
12831
|
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12891
|
-
label: langdetect == 'en' ? (
|
|
12832
|
+
label: langdetect == 'en' ? (_returnpolicyobj35 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj35 === void 0 ? void 0 : _returnpolicyobj35.policypagename_en : (_returnpolicyobj36 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj36 === void 0 ? void 0 : _returnpolicyobj36.policypagename_ar,
|
|
12892
12833
|
onClick: function onClick() {
|
|
12893
12834
|
settabname('shippingpolicytab');
|
|
12894
12835
|
}
|
|
12895
12836
|
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12896
|
-
label: langdetect == 'en' ? (
|
|
12837
|
+
label: langdetect == 'en' ? (_returnpolicyobj37 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj37 === void 0 ? void 0 : _returnpolicyobj37.policypagename_en : (_returnpolicyobj38 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj38 === void 0 ? void 0 : _returnpolicyobj38.policypagename_ar,
|
|
12897
12838
|
onClick: function onClick() {
|
|
12898
12839
|
settabname('refundpolicytab');
|
|
12899
12840
|
}
|
|
@@ -12913,7 +12854,7 @@
|
|
|
12913
12854
|
color: sectionproperties.prodCatColor
|
|
12914
12855
|
},
|
|
12915
12856
|
dangerouslySetInnerHTML: {
|
|
12916
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12857
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer109 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.productinfo) === null || _fetchProductInfoQuer109 === void 0 ? void 0 : _fetchProductInfoQuer109.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer110 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.productinfo) === null || _fetchProductInfoQuer110 === void 0 ? void 0 : _fetchProductInfoQuer110.short_description_ar
|
|
12917
12858
|
}
|
|
12918
12859
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12919
12860
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -12925,7 +12866,7 @@
|
|
|
12925
12866
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
12926
12867
|
},
|
|
12927
12868
|
dangerouslySetInnerHTML: {
|
|
12928
|
-
__html: langdetect == 'en' ? (
|
|
12869
|
+
__html: langdetect == 'en' ? (_returnpolicyobj39 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj39 === void 0 ? void 0 : _returnpolicyobj39.policycontent_en : (_returnpolicyobj40 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj40 === void 0 ? void 0 : _returnpolicyobj40.policycontent_ar
|
|
12929
12870
|
}
|
|
12930
12871
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12931
12872
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -12937,7 +12878,7 @@
|
|
|
12937
12878
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
12938
12879
|
},
|
|
12939
12880
|
dangerouslySetInnerHTML: {
|
|
12940
|
-
__html: langdetect == 'en' ? (
|
|
12881
|
+
__html: langdetect == 'en' ? (_returnpolicyobj41 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj41 === void 0 ? void 0 : _returnpolicyobj41.policycontent_en : (_returnpolicyobj42 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj42 === void 0 ? void 0 : _returnpolicyobj42.policycontent_ar
|
|
12941
12882
|
}
|
|
12942
12883
|
})), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12943
12884
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13045,7 +12986,7 @@
|
|
|
13045
12986
|
color: '#000000'
|
|
13046
12987
|
},
|
|
13047
12988
|
dangerouslySetInnerHTML: {
|
|
13048
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12989
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer111 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.productinfo) === null || _fetchProductInfoQuer111 === void 0 ? void 0 : _fetchProductInfoQuer111.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer112 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.data) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.productinfo) === null || _fetchProductInfoQuer112 === void 0 ? void 0 : _fetchProductInfoQuer112.description_ar
|
|
13049
12990
|
}
|
|
13050
12991
|
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13051
12992
|
"class": "col-lg-12 p-0"
|
|
@@ -13056,7 +12997,7 @@
|
|
|
13056
12997
|
color: sectionproperties.prodCatColor
|
|
13057
12998
|
},
|
|
13058
12999
|
dangerouslySetInnerHTML: {
|
|
13059
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13000
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer113 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.productinfo) === null || _fetchProductInfoQuer113 === void 0 ? void 0 : _fetchProductInfoQuer113.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer114 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.productinfo) === null || _fetchProductInfoQuer114 === void 0 ? void 0 : _fetchProductInfoQuer114.short_description_ar
|
|
13060
13001
|
}
|
|
13061
13002
|
}))
|
|
13062
13003
|
// <DescriptionContent
|
|
@@ -13076,7 +13017,7 @@
|
|
|
13076
13017
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13077
13018
|
},
|
|
13078
13019
|
dangerouslySetInnerHTML: {
|
|
13079
|
-
__html: langdetect == 'en' ? (
|
|
13020
|
+
__html: langdetect == 'en' ? (_returnpolicyobj43 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj43 === void 0 ? void 0 : _returnpolicyobj43.policycontent_en : (_returnpolicyobj44 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj44 === void 0 ? void 0 : _returnpolicyobj44.policycontent_ar
|
|
13080
13021
|
}
|
|
13081
13022
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13082
13023
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13088,7 +13029,7 @@
|
|
|
13088
13029
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13089
13030
|
},
|
|
13090
13031
|
dangerouslySetInnerHTML: {
|
|
13091
|
-
__html: langdetect == 'en' ? (
|
|
13032
|
+
__html: langdetect == 'en' ? (_returnpolicyobj45 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj45 === void 0 ? void 0 : _returnpolicyobj45.policycontent_en : (_returnpolicyobj46 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj46 === void 0 ? void 0 : _returnpolicyobj46.policycontent_ar
|
|
13092
13033
|
}
|
|
13093
13034
|
})), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13094
13035
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13191,7 +13132,7 @@
|
|
|
13191
13132
|
className: "col-lg-9 col-md-9 col-sm-9 d-flex justofy-content-start flex-column"
|
|
13192
13133
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13193
13134
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center '
|
|
13194
|
-
}, langdetect == 'en' ? (
|
|
13135
|
+
}, langdetect == 'en' ? (_returnpolicyobj47 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj47 === void 0 ? void 0 : _returnpolicyobj47.policypagename_en : (_returnpolicyobj48 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj48 === void 0 ? void 0 : _returnpolicyobj48.policypagename_ar)))), sectionproperties.showsecondpolicy_storeinfo == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13195
13136
|
"class": "col-3 col-md-12 cursor-pointer textdecorationhover",
|
|
13196
13137
|
onClick: function onClick() {
|
|
13197
13138
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
@@ -13209,7 +13150,7 @@
|
|
|
13209
13150
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13210
13151
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
13211
13152
|
style: {}
|
|
13212
|
-
}, langdetect == 'en' ? (
|
|
13153
|
+
}, langdetect == 'en' ? (_returnpolicyobj49 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj49 === void 0 ? void 0 : _returnpolicyobj49.policypagename_en : (_returnpolicyobj50 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj50 === void 0 ? void 0 : _returnpolicyobj50.policypagename_ar))))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i69 = authdetailsContext.instinfo) === null || _authdetailsContext$i69 === void 0 ? void 0 : _authdetailsContext$i69.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13213
13154
|
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 ',
|
|
13214
13155
|
style: {
|
|
13215
13156
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|