tabexseriescomponents 0.50.133 → 0.50.134
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 +32 -3
- package/dist/index.esm.js +32 -3
- package/dist/index.umd.js +32 -3
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3172,7 +3172,7 @@ var ProductExtraFields = function ProductExtraFields(props) {
|
|
|
3172
3172
|
};
|
|
3173
3173
|
|
|
3174
3174
|
var DescriptionContent = function DescriptionContent(props) {
|
|
3175
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20;
|
|
3175
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26;
|
|
3176
3176
|
var lang = props.actions.lang;
|
|
3177
3177
|
var langdetect = props.actions.langdetect;
|
|
3178
3178
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
@@ -3297,7 +3297,36 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3297
3297
|
onClick: function onClick() {
|
|
3298
3298
|
return setShowMore(!showMore);
|
|
3299
3299
|
}
|
|
3300
|
-
}, showMore ? lang.showless : lang.showmore)))),
|
|
3300
|
+
}, showMore ? lang.showless : lang.showmore)))), langdetect == 'chin' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.description_chin) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.description_chin) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3301
|
+
className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
|
|
3302
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3303
|
+
className: "row m-0 w-100 d-flex"
|
|
3304
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3305
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start flex-column text-black "
|
|
3306
|
+
}, props.srcfromprops != 'Articles' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3307
|
+
className: 'm-0 p-0 ',
|
|
3308
|
+
style: {
|
|
3309
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3310
|
+
},
|
|
3311
|
+
dangerouslySetInnerHTML: {
|
|
3312
|
+
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.description_chin : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.description_chin.slice(0, 1000)
|
|
3313
|
+
}
|
|
3314
|
+
}), props.srcfromprops == 'Articles' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3315
|
+
className: ' m-0 p-0 ',
|
|
3316
|
+
style: {
|
|
3317
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3318
|
+
},
|
|
3319
|
+
dangerouslySetInnerHTML: {
|
|
3320
|
+
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.description_chin
|
|
3321
|
+
}
|
|
3322
|
+
})), props.srcfromprops != 'Articles' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3323
|
+
"class": "col-lg-12 allcentered"
|
|
3324
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.description_ar.length) > 1000 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3325
|
+
"class": "m-0 p-0 cursor-pointer text-grey font-weight-600 text-right",
|
|
3326
|
+
onClick: function onClick() {
|
|
3327
|
+
return setShowMore(!showMore);
|
|
3328
|
+
}
|
|
3329
|
+
}, showMore ? lang.showless : lang.showmore)))), props.srcfromprops != 'collap' && sectionproperties.showGallery == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productimages) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3301
3330
|
"class": "col-lg-12 p-0"
|
|
3302
3331
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3303
3332
|
"class": "row m-0 w-100 allcentered pl-md-3 pr-md-3",
|
|
@@ -3305,7 +3334,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3305
3334
|
paddingLeft: sectionproperties.galleryPaddingHorizontal + 'px',
|
|
3306
3335
|
paddingRight: sectionproperties.galleryPaddingHorizontal + 'px'
|
|
3307
3336
|
}
|
|
3308
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3337
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productimages) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.map(function (item, index) {
|
|
3309
3338
|
if (index <= 6) {
|
|
3310
3339
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3311
3340
|
"class": ' col-md-4 col-sm-12 mb-3 col-lg-' + sectionproperties.galleryNoOfCols,
|
package/dist/index.esm.js
CHANGED
|
@@ -3120,7 +3120,7 @@ var ProductExtraFields = function ProductExtraFields(props) {
|
|
|
3120
3120
|
};
|
|
3121
3121
|
|
|
3122
3122
|
var DescriptionContent = function DescriptionContent(props) {
|
|
3123
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20;
|
|
3123
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26;
|
|
3124
3124
|
var lang = props.actions.lang;
|
|
3125
3125
|
var langdetect = props.actions.langdetect;
|
|
3126
3126
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
@@ -3245,7 +3245,36 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3245
3245
|
onClick: function onClick() {
|
|
3246
3246
|
return setShowMore(!showMore);
|
|
3247
3247
|
}
|
|
3248
|
-
}, showMore ? lang.showless : lang.showmore)))),
|
|
3248
|
+
}, showMore ? lang.showless : lang.showmore)))), langdetect == 'chin' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.description_chin) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.description_chin) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
3249
|
+
className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
|
|
3250
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3251
|
+
className: "row m-0 w-100 d-flex"
|
|
3252
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3253
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start flex-column text-black "
|
|
3254
|
+
}, props.srcfromprops != 'Articles' && /*#__PURE__*/React.createElement("p", {
|
|
3255
|
+
className: 'm-0 p-0 ',
|
|
3256
|
+
style: {
|
|
3257
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3258
|
+
},
|
|
3259
|
+
dangerouslySetInnerHTML: {
|
|
3260
|
+
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.description_chin : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.description_chin.slice(0, 1000)
|
|
3261
|
+
}
|
|
3262
|
+
}), props.srcfromprops == 'Articles' && /*#__PURE__*/React.createElement("p", {
|
|
3263
|
+
className: ' m-0 p-0 ',
|
|
3264
|
+
style: {
|
|
3265
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3266
|
+
},
|
|
3267
|
+
dangerouslySetInnerHTML: {
|
|
3268
|
+
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.description_chin
|
|
3269
|
+
}
|
|
3270
|
+
})), props.srcfromprops != 'Articles' && /*#__PURE__*/React.createElement("div", {
|
|
3271
|
+
"class": "col-lg-12 allcentered"
|
|
3272
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.description_ar.length) > 1000 && /*#__PURE__*/React.createElement("p", {
|
|
3273
|
+
"class": "m-0 p-0 cursor-pointer text-grey font-weight-600 text-right",
|
|
3274
|
+
onClick: function onClick() {
|
|
3275
|
+
return setShowMore(!showMore);
|
|
3276
|
+
}
|
|
3277
|
+
}, showMore ? lang.showless : lang.showmore)))), props.srcfromprops != 'collap' && sectionproperties.showGallery == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productimages) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.length) != 0 && /*#__PURE__*/React.createElement("div", {
|
|
3249
3278
|
"class": "col-lg-12 p-0"
|
|
3250
3279
|
}, /*#__PURE__*/React.createElement("div", {
|
|
3251
3280
|
"class": "row m-0 w-100 allcentered pl-md-3 pr-md-3",
|
|
@@ -3253,7 +3282,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3253
3282
|
paddingLeft: sectionproperties.galleryPaddingHorizontal + 'px',
|
|
3254
3283
|
paddingRight: sectionproperties.galleryPaddingHorizontal + 'px'
|
|
3255
3284
|
}
|
|
3256
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3285
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productimages) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.map(function (item, index) {
|
|
3257
3286
|
if (index <= 6) {
|
|
3258
3287
|
return /*#__PURE__*/React.createElement("div", {
|
|
3259
3288
|
"class": ' col-md-4 col-sm-12 mb-3 col-lg-' + sectionproperties.galleryNoOfCols,
|
package/dist/index.umd.js
CHANGED
|
@@ -2979,7 +2979,7 @@
|
|
|
2979
2979
|
};
|
|
2980
2980
|
|
|
2981
2981
|
var DescriptionContent = function DescriptionContent(props) {
|
|
2982
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20;
|
|
2982
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26;
|
|
2983
2983
|
var lang = props.actions.lang;
|
|
2984
2984
|
var langdetect = props.actions.langdetect;
|
|
2985
2985
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
@@ -3104,7 +3104,36 @@
|
|
|
3104
3104
|
onClick: function onClick() {
|
|
3105
3105
|
return setShowMore(!showMore);
|
|
3106
3106
|
}
|
|
3107
|
-
}, showMore ? lang.showless : lang.showmore)))),
|
|
3107
|
+
}, showMore ? lang.showless : lang.showmore)))), langdetect == 'chin' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.description_chin) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.description_chin) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3108
|
+
className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
|
|
3109
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3110
|
+
className: "row m-0 w-100 d-flex"
|
|
3111
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3112
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start flex-column text-black "
|
|
3113
|
+
}, props.srcfromprops != 'Articles' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3114
|
+
className: 'm-0 p-0 ',
|
|
3115
|
+
style: {
|
|
3116
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3117
|
+
},
|
|
3118
|
+
dangerouslySetInnerHTML: {
|
|
3119
|
+
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.description_chin : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.description_chin.slice(0, 1000)
|
|
3120
|
+
}
|
|
3121
|
+
}), props.srcfromprops == 'Articles' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3122
|
+
className: ' m-0 p-0 ',
|
|
3123
|
+
style: {
|
|
3124
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3125
|
+
},
|
|
3126
|
+
dangerouslySetInnerHTML: {
|
|
3127
|
+
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.description_chin
|
|
3128
|
+
}
|
|
3129
|
+
})), props.srcfromprops != 'Articles' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3130
|
+
"class": "col-lg-12 allcentered"
|
|
3131
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.description_ar.length) > 1000 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3132
|
+
"class": "m-0 p-0 cursor-pointer text-grey font-weight-600 text-right",
|
|
3133
|
+
onClick: function onClick() {
|
|
3134
|
+
return setShowMore(!showMore);
|
|
3135
|
+
}
|
|
3136
|
+
}, showMore ? lang.showless : lang.showmore)))), props.srcfromprops != 'collap' && sectionproperties.showGallery == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productimages) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3108
3137
|
"class": "col-lg-12 p-0"
|
|
3109
3138
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3110
3139
|
"class": "row m-0 w-100 allcentered pl-md-3 pr-md-3",
|
|
@@ -3112,7 +3141,7 @@
|
|
|
3112
3141
|
paddingLeft: sectionproperties.galleryPaddingHorizontal + 'px',
|
|
3113
3142
|
paddingRight: sectionproperties.galleryPaddingHorizontal + 'px'
|
|
3114
3143
|
}
|
|
3115
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3144
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productimages) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.map(function (item, index) {
|
|
3116
3145
|
if (index <= 6) {
|
|
3117
3146
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3118
3147
|
"class": ' col-md-4 col-sm-12 mb-3 col-lg-' + sectionproperties.galleryNoOfCols,
|