tabexseriescomponents 0.50.198 → 0.50.200
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 +103 -233
- package/dist/index.esm.js +103 -233
- package/dist/index.umd.js +103 -233
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2966,35 +2966,9 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2966
2966
|
var isValueinStock = isOptionInStock(optionvaluesitem.valueid);
|
|
2967
2967
|
var is_value_permdisabled = 0;
|
|
2968
2968
|
if ((optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.perm_disabled) == 1) {
|
|
2969
|
-
var _authdetailsContext$i
|
|
2969
|
+
var _authdetailsContext$i;
|
|
2970
2970
|
// if()
|
|
2971
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '
|
|
2972
|
-
is_value_permdisabled = 1;
|
|
2973
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '67c050d72cbe7') {
|
|
2974
|
-
is_value_permdisabled = 1;
|
|
2975
|
-
}
|
|
2976
|
-
// amiga
|
|
2977
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '670fc18477599') {
|
|
2978
|
-
is_value_permdisabled = 1;
|
|
2979
|
-
}
|
|
2980
|
-
// vout
|
|
2981
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '68f918a4ccb85') {
|
|
2982
|
-
is_value_permdisabled = 1;
|
|
2983
|
-
}
|
|
2984
|
-
// puff
|
|
2985
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '6899e604db87f') {
|
|
2986
|
-
is_value_permdisabled = 1;
|
|
2987
|
-
}
|
|
2988
|
-
// dija
|
|
2989
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '682cbb9bdcd57') {
|
|
2990
|
-
is_value_permdisabled = 1;
|
|
2991
|
-
}
|
|
2992
|
-
// angel
|
|
2993
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '67bda57bca71d') {
|
|
2994
|
-
is_value_permdisabled = 1;
|
|
2995
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '69244cc88aa0a') {
|
|
2996
|
-
is_value_permdisabled = 1;
|
|
2997
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '687ca57cc78e8') {
|
|
2971
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '67c050d72cbe7') {
|
|
2998
2972
|
is_value_permdisabled = 1;
|
|
2999
2973
|
}
|
|
3000
2974
|
}
|
|
@@ -3023,7 +2997,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
3023
2997
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
3024
2998
|
// if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
|
|
3025
2999
|
if (is_value_permdisabled == 0) {
|
|
3026
|
-
var _authdetailsContext$
|
|
3000
|
+
var _authdetailsContext$i2, _authdetailsContext$i4;
|
|
3027
3001
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3028
3002
|
// className={
|
|
3029
3003
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
@@ -3035,58 +3009,11 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
3035
3009
|
// ' mr-2 variabttcontainer allcentered ' +
|
|
3036
3010
|
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
3037
3011
|
// }
|
|
3038
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3012
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '68f918a4ccb85' ? " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered linethroughshowcrossicon ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : '') : " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
3039
3013
|
onClick: function onClick() {
|
|
3040
3014
|
if (isoptionvalueselected == 0) {
|
|
3041
|
-
var _authdetailsContext$
|
|
3042
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3043
|
-
if (isValueinStock == 0) {
|
|
3044
|
-
return;
|
|
3045
|
-
}
|
|
3046
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '67c050d72cbe7') {
|
|
3047
|
-
if (isValueinStock == 0) {
|
|
3048
|
-
return;
|
|
3049
|
-
}
|
|
3050
|
-
}
|
|
3051
|
-
|
|
3052
|
-
// amiga
|
|
3053
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '670fc18477599') {
|
|
3054
|
-
if (isValueinStock == 0) {
|
|
3055
|
-
return;
|
|
3056
|
-
}
|
|
3057
|
-
}
|
|
3058
|
-
// vout
|
|
3059
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68f918a4ccb85') {
|
|
3060
|
-
if (isValueinStock == 0) {
|
|
3061
|
-
return;
|
|
3062
|
-
}
|
|
3063
|
-
}
|
|
3064
|
-
// puff
|
|
3065
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6899e604db87f') {
|
|
3066
|
-
if (isValueinStock == 0) {
|
|
3067
|
-
return;
|
|
3068
|
-
}
|
|
3069
|
-
}
|
|
3070
|
-
// angel
|
|
3071
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '67bda57bca71d') {
|
|
3072
|
-
if (isValueinStock == 0) {
|
|
3073
|
-
return;
|
|
3074
|
-
}
|
|
3075
|
-
}
|
|
3076
|
-
// dija
|
|
3077
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '682cbb9bdcd57') {
|
|
3078
|
-
if (isValueinStock == 0) {
|
|
3079
|
-
return;
|
|
3080
|
-
}
|
|
3081
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '69244cc88aa0a') {
|
|
3082
|
-
if (isValueinStock == 0) {
|
|
3083
|
-
return;
|
|
3084
|
-
}
|
|
3085
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '687ca57cc78e8') {
|
|
3086
|
-
if (isValueinStock == 0) {
|
|
3087
|
-
return;
|
|
3088
|
-
}
|
|
3089
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6899e604db87f') {
|
|
3015
|
+
var _authdetailsContext$i3;
|
|
3016
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '67c050d72cbe7') {
|
|
3090
3017
|
if (isValueinStock == 0) {
|
|
3091
3018
|
return;
|
|
3092
3019
|
}
|
|
@@ -3130,19 +3057,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
3130
3057
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3131
3058
|
"class": "h-100 allcentered"
|
|
3132
3059
|
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3133
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3134
|
-
//
|
|
3135
|
-
// amiga
|
|
3136
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
3137
|
-
// vout
|
|
3138
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
3139
|
-
// puff
|
|
3140
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
3141
|
-
// angel
|
|
3142
|
-
|
|
3143
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
3144
|
-
// dija
|
|
3145
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '682cbb9bdcd57' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '69244cc88aa0a' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '687ca57cc78e8' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
3060
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '67c050d72cbe7' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
3146
3061
|
style: {
|
|
3147
3062
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
3148
3063
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -3151,59 +3066,13 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
3151
3066
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
3152
3067
|
}
|
|
3153
3068
|
} else {
|
|
3154
|
-
var _authdetailsContext$
|
|
3069
|
+
var _authdetailsContext$i5, _authdetailsContext$i7;
|
|
3155
3070
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3156
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3071
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '68f918a4ccb85' ? " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered linethroughshowcrossicon ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : '') : " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
3157
3072
|
onClick: function onClick() {
|
|
3158
3073
|
if (isoptionvalueselected == 0) {
|
|
3159
|
-
var _authdetailsContext$
|
|
3160
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3161
|
-
if (isValueinStock == 0) {
|
|
3162
|
-
return;
|
|
3163
|
-
}
|
|
3164
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '67c050d72cbe7') {
|
|
3165
|
-
if (isValueinStock == 0) {
|
|
3166
|
-
return;
|
|
3167
|
-
}
|
|
3168
|
-
}
|
|
3169
|
-
// amiga
|
|
3170
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '670fc18477599') {
|
|
3171
|
-
if (isValueinStock == 0) {
|
|
3172
|
-
return;
|
|
3173
|
-
}
|
|
3174
|
-
}
|
|
3175
|
-
// vout
|
|
3176
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '68f918a4ccb85') {
|
|
3177
|
-
if (isValueinStock == 0) {
|
|
3178
|
-
return;
|
|
3179
|
-
}
|
|
3180
|
-
}
|
|
3181
|
-
// puff n stuff
|
|
3182
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '6899e604db87f') {
|
|
3183
|
-
if (isValueinStock == 0) {
|
|
3184
|
-
return;
|
|
3185
|
-
}
|
|
3186
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '69244cc88aa0a') {
|
|
3187
|
-
if (isValueinStock == 0) {
|
|
3188
|
-
return;
|
|
3189
|
-
}
|
|
3190
|
-
}
|
|
3191
|
-
// angel
|
|
3192
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '67bda57bca71d') {
|
|
3193
|
-
if (isValueinStock == 0) {
|
|
3194
|
-
return;
|
|
3195
|
-
}
|
|
3196
|
-
}
|
|
3197
|
-
// dija
|
|
3198
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '682cbb9bdcd57') {
|
|
3199
|
-
if (isValueinStock == 0) {
|
|
3200
|
-
return;
|
|
3201
|
-
}
|
|
3202
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '687ca57cc78e8') {
|
|
3203
|
-
if (isValueinStock == 0) {
|
|
3204
|
-
return;
|
|
3205
|
-
}
|
|
3206
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '6899e604db87f') {
|
|
3074
|
+
var _authdetailsContext$i6;
|
|
3075
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '67c050d72cbe7') {
|
|
3207
3076
|
if (isValueinStock == 0) {
|
|
3208
3077
|
return;
|
|
3209
3078
|
}
|
|
@@ -3227,17 +3096,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
3227
3096
|
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
3228
3097
|
}
|
|
3229
3098
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3230
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3231
|
-
// amiga
|
|
3232
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
3233
|
-
// vout
|
|
3234
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
3235
|
-
// puff
|
|
3236
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
3237
|
-
// angel
|
|
3238
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
3239
|
-
// dija
|
|
3240
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '682cbb9bdcd57' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '69244cc88aa0a' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '687ca57cc78e8' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
3099
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '67c050d72cbe7' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
3241
3100
|
style: {
|
|
3242
3101
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
3243
3102
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -12008,7 +11867,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12008
11867
|
langdetect: langdetect,
|
|
12009
11868
|
lang: lang,
|
|
12010
11869
|
srcfromprops: props.srcfromprops
|
|
12011
|
-
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "productpdfsarray", productpdfsarray), "addtocartfunc_extras", addtocartfunc_extras))
|
|
11870
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "productpdfsarray", productpdfsarray), "addtocartfunc_extras", addtocartfunc_extras), "isOptionInStock", isOptionInStock))
|
|
12012
11871
|
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
12013
11872
|
actions: (_ref2 = {
|
|
12014
11873
|
product_prod_extras_array: product_prod_extras_array,
|
|
@@ -12020,7 +11879,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12020
11879
|
langdetect: langdetect,
|
|
12021
11880
|
lang: lang,
|
|
12022
11881
|
srcfromprops: props.srcfromprops
|
|
12023
|
-
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray), "addtocartfunc_extras", addtocartfunc_extras))
|
|
11882
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray), "addtocartfunc_extras", addtocartfunc_extras), "isOptionInStock", isOptionInStock))
|
|
12024
11883
|
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
|
|
12025
11884
|
actions: (_ref3 = {
|
|
12026
11885
|
product_prod_extras_array: product_prod_extras_array,
|
|
@@ -12033,7 +11892,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12033
11892
|
langdetect: langdetect,
|
|
12034
11893
|
lang: lang,
|
|
12035
11894
|
srcfromprops: props.srcfromprops
|
|
12036
|
-
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty__default["default"](_ref3, "addtocartfunc_extras", addtocartfunc_extras))
|
|
11895
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty__default["default"](_defineProperty__default["default"](_ref3, "addtocartfunc_extras", addtocartfunc_extras), "isOptionInStock", isOptionInStock))
|
|
12037
11896
|
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.instid) != '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12038
11897
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
12039
11898
|
style: {
|
|
@@ -27088,13 +26947,13 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
27088
26947
|
var SearchHeaderMutationContext = props.actions.SearchHeaderMutationContext;
|
|
27089
26948
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
27090
26949
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
27091
|
-
var _useState = React.useState(
|
|
26950
|
+
var _useState = React.useState(''),
|
|
27092
26951
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
27093
26952
|
sectionproperties = _useState2[0],
|
|
27094
26953
|
setsectionproperties = _useState2[1];
|
|
27095
26954
|
var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
|
|
27096
26955
|
var setsearchbarCanvasContext = props.actions.setsearchbarCanvasContext;
|
|
27097
|
-
var _useState3 = React.useState(props.srcfromprops ==
|
|
26956
|
+
var _useState3 = React.useState(props.srcfromprops == 'cardssection' ? props.searchinputprops : SearchHeaderInputContext),
|
|
27098
26957
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
27099
26958
|
searchinput = _useState4[0],
|
|
27100
26959
|
setsearchinput = _useState4[1];
|
|
@@ -27102,70 +26961,70 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
27102
26961
|
setsectionproperties(props.sectionpropertiesprops);
|
|
27103
26962
|
}, [props.sectionpropertiesprops]);
|
|
27104
26963
|
React.useEffect(function () {
|
|
27105
|
-
if (props.srcfromprops !=
|
|
26964
|
+
if (props.srcfromprops != 'cardssection') {
|
|
27106
26965
|
setsearchinput(SearchHeaderInputContext);
|
|
27107
26966
|
}
|
|
27108
26967
|
}, [SearchHeaderInputContext]);
|
|
27109
26968
|
React.useEffect(function () {
|
|
27110
|
-
if (props.srcfromprops ==
|
|
26969
|
+
if (props.srcfromprops == 'cardssection') {
|
|
27111
26970
|
setsearchinput(props.searchinputprops);
|
|
27112
26971
|
}
|
|
27113
26972
|
}, [props.searchinputprops]);
|
|
27114
26973
|
var searchlist_styles = {
|
|
27115
26974
|
searchcont: glamor.css({
|
|
27116
26975
|
color: sectionproperties.searchlist_prodNameColor,
|
|
27117
|
-
|
|
26976
|
+
':hover': {
|
|
27118
26977
|
color: sectionproperties.searchlist_prodNameColorOnHover
|
|
27119
26978
|
}
|
|
27120
26979
|
}),
|
|
27121
26980
|
productnamecont: glamor.css({
|
|
27122
|
-
paddingLeft: langdetect !=
|
|
27123
|
-
paddingRight: langdetect ==
|
|
26981
|
+
paddingLeft: langdetect != 'ar' ? '0.25rem' : 0,
|
|
26982
|
+
paddingRight: langdetect == 'ar' ? '0.25rem' : 0
|
|
27124
26983
|
}),
|
|
27125
26984
|
productNameStyles: glamor.css({
|
|
27126
|
-
fontSize: sectionproperties.searchlist_prodNameFontSize +
|
|
26985
|
+
fontSize: sectionproperties.searchlist_prodNameFontSize + 'px',
|
|
27127
26986
|
textTransform: sectionproperties.searchlist_prodNameTextTranform,
|
|
27128
26987
|
fontWeight: sectionproperties.searchlist_prodNameFontWeight,
|
|
27129
26988
|
marginBottom: 4,
|
|
27130
|
-
transition:
|
|
27131
|
-
cursor:
|
|
27132
|
-
|
|
26989
|
+
transition: '.3s',
|
|
26990
|
+
cursor: 'pointer',
|
|
26991
|
+
':hover': {
|
|
27133
26992
|
color: sectionproperties.searchlist_prodNameColorOnHover
|
|
27134
26993
|
}
|
|
27135
26994
|
}),
|
|
27136
26995
|
productPricestyles: glamor.css({
|
|
27137
26996
|
color: sectionproperties.searchlist_prodPriceColor,
|
|
27138
|
-
fontSize: sectionproperties.searchlist_prodpriceFontSize +
|
|
26997
|
+
fontSize: sectionproperties.searchlist_prodpriceFontSize + 'px',
|
|
27139
26998
|
fontWeight: sectionproperties.searchlist_prodPriceFontWeight
|
|
27140
26999
|
}),
|
|
27141
27000
|
productSalePricestyles: glamor.css({
|
|
27142
27001
|
color: sectionproperties.searchlist_prodsalePriceColor,
|
|
27143
|
-
fontSize: sectionproperties.searchlist_prodsalepriceFontSize +
|
|
27002
|
+
fontSize: sectionproperties.searchlist_prodsalepriceFontSize + 'px',
|
|
27144
27003
|
fontWeight: sectionproperties.searchlist_prodsalePriceFontWeight
|
|
27145
27004
|
}),
|
|
27146
27005
|
imagecont: glamor.css({
|
|
27147
|
-
width: props.srcfromprops ==
|
|
27148
|
-
height: props.srcfromprops ==
|
|
27006
|
+
width: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '120px' : sectionproperties.searchlist_prodimage_width + 'px',
|
|
27007
|
+
height: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '120px' : sectionproperties.searchlist_prodimage_height + 'px',
|
|
27149
27008
|
// width: '200px',
|
|
27150
27009
|
// height: '80px',
|
|
27151
|
-
borderRadius: sectionproperties.searchlist_prodimage_borderradius +
|
|
27152
|
-
display:
|
|
27153
|
-
alignItems:
|
|
27154
|
-
justifyContent:
|
|
27155
|
-
position:
|
|
27010
|
+
borderRadius: sectionproperties.searchlist_prodimage_borderradius + 'px',
|
|
27011
|
+
display: 'flex',
|
|
27012
|
+
alignItems: 'center',
|
|
27013
|
+
justifyContent: 'center',
|
|
27014
|
+
position: 'relative'
|
|
27156
27015
|
}),
|
|
27157
27016
|
searchlist_outercontainer: glamor.css({
|
|
27158
|
-
position:
|
|
27017
|
+
position: 'absolute',
|
|
27159
27018
|
background: sectionproperties.searchlistcontainer_bgcolor,
|
|
27160
|
-
borderRadius: sectionproperties.searchlistcontainer_borderradius +
|
|
27161
|
-
border: sectionproperties.searchlistcontainer_borderwidth +
|
|
27019
|
+
borderRadius: sectionproperties.searchlistcontainer_borderradius + 'px',
|
|
27020
|
+
border: sectionproperties.searchlistcontainer_borderwidth + 'px solid ' + sectionproperties.searchlistcontainer_bordercolor,
|
|
27162
27021
|
zIndex: 1000,
|
|
27163
|
-
maxHeight: props.srcfromprops ==
|
|
27164
|
-
minHeight: props.srcfromprops ==
|
|
27022
|
+
maxHeight: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '100vh' : props.srcfromprops == 'cardssection' ? '30vh' : props.srcfromprops == 'ElegantHeader' ? '50vh' : '50vh',
|
|
27023
|
+
minHeight: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '100vh' : props.srcfromprops == 'cardssection' ? '30vh' : props.srcfromprops == 'ElegantHeader' ? '50vh' : '30vh'
|
|
27165
27024
|
}),
|
|
27166
27025
|
searchlist_innercontainer: glamor.css({
|
|
27167
|
-
height: props.srcfromprops ==
|
|
27168
|
-
overflowY:
|
|
27026
|
+
height: props.srcfromprops == 'cardssection' ? '25vh' : props.srcfromprops == 'ElegantHeader' ? '48vh' : props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '100vh' : '30vh',
|
|
27027
|
+
overflowY: 'scroll'
|
|
27169
27028
|
// height: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '100vh' : props.srcfromprops == 'cardssection' ? '25vh' : '30vh',
|
|
27170
27029
|
// overflowY: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? 'scroll' : 'hidden',
|
|
27171
27030
|
})
|
|
@@ -27176,14 +27035,14 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
27176
27035
|
zIndex: 1000
|
|
27177
27036
|
}
|
|
27178
27037
|
}, sectionproperties.length != 0 && searchinput != undefined && searchinput != null && searchinput.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27179
|
-
className: props.srcfromprops ==
|
|
27038
|
+
className: props.srcfromprops == 'header' ? "".concat(searchlist_styles.searchlist_outercontainer) + ' m-0 row d-flex d-md-none justify-content-center p-1 ' : "".concat(searchlist_styles.searchlist_outercontainer) + ' m-0 row d-flex justify-content-center p-1 ',
|
|
27180
27039
|
style: {
|
|
27181
27040
|
zIndex: 1000,
|
|
27182
|
-
width: props.srcfromprops ==
|
|
27183
|
-
top: props.headernameprops ==
|
|
27184
|
-
left: props.srcfromprops ==
|
|
27185
|
-
right: props.srcfromprops ==
|
|
27186
|
-
margin: props.srcfromprops ==
|
|
27041
|
+
width: props.srcfromprops == 'header' ? '300px' : props.srcfromprops == 'headerfullwidth' ? '100%' : props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '100%' : props.srcfromprops == 'headerfullwidth-200' ? '270px' : props.srcfromprops == 'respheader' ? '100%' : props.srcfromprops == 'header-400' ? '400px' : props.srcfromprops == 'header-250' ? '250px' : props.srcfromprops == 'header-300' ? '300px' : props.srcfromprops == 'StylishHeader' ? '90%' : props.srcfromprops == 'ElegantHeader' ? '90%' : '100%',
|
|
27042
|
+
top: props.headernameprops == 'categoryfeaturingheader' || props.headernameprops == 'Header_threesectionslogocentered' ? 20 : props.srcfromprops == 'respheader' ? 10 : props.srcfromprops == 'StylishHeader' ? 50 : props.srcfromprops == 'ElegantHeader' ? 50 : 10,
|
|
27043
|
+
left: props.srcfromprops == 'respheader' ? 0 : props.srcfromprops == 'header-400' || props.srcfromprops == 'header-300' || props.srcfromprops == 'header-250' ? langdetect != 'ar' ? '' : 0 : props.srcfromprops == 'StylishHeader' ? langdetect != 'ar' ? '5%' : '' : props.srcfromprops == 'ElegantHeader' ? langdetect != 'ar' ? '5%' : '' : '',
|
|
27044
|
+
right: props.srcfromprops == 'respheader' ? 0 : props.srcfromprops == 'header-400' || props.srcfromprops == 'header-300' || props.srcfromprops == 'header-250' ? langdetect != 'ar' ? 0 : '' : props.srcfromprops == 'ElegantHeader' ? langdetect == 'ar' ? '5%' : '' : props.srcfromprops == 'Elegant' ? langdetect == 'ar' ? '5%' : '' : '',
|
|
27045
|
+
margin: props.srcfromprops == 'respheader' ? 'auto' : ''
|
|
27187
27046
|
}
|
|
27188
27047
|
}, SearchHeaderMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27189
27048
|
"class": "row m-0 w-100 d-flex align-items-center justify-content-center h-100 mt-auto mb-auto"
|
|
@@ -27195,10 +27054,10 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
27195
27054
|
height: "10px",
|
|
27196
27055
|
duration: "1s"
|
|
27197
27056
|
}))), !SearchHeaderMutationContext.isLoading && SearchHeaderMutationContext.isSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27198
|
-
"class": props.srcfromprops ==
|
|
27057
|
+
"class": props.srcfromprops == 'searchlistsliderheaderfullwidth' ? ' row m-0 w-100 d-flex justify-content-center ' : "".concat(searchlist_styles.searchlist_innercontainer) + ' subscrollbar row m-0 w-100 d-flex justify-content-center ',
|
|
27199
27058
|
style: {
|
|
27200
|
-
overflowX:
|
|
27201
|
-
paddingBottom: props.srcfromprops ==
|
|
27059
|
+
overflowX: 'hidden',
|
|
27060
|
+
paddingBottom: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '50px' : '0.25rem'
|
|
27202
27061
|
}
|
|
27203
27062
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27204
27063
|
"class": "col-lg-12 m-0 w-100 p-0"
|
|
@@ -27206,105 +27065,116 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
27206
27065
|
"class": "row m-0 w-100"
|
|
27207
27066
|
}, SearchHeaderMutationContext.data.data.products.map(function (item, index) {
|
|
27208
27067
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27209
|
-
"class": sectionproperties.searchliststyle ==
|
|
27068
|
+
"class": sectionproperties.searchliststyle == 'Vertical' ? 'col-lg-12 m-0 w-100 p-1 pt-0 pb-0' : 'col-lg-12 m-0 w-100 p-1 pt-0 pb-0 d-none d-md-flex',
|
|
27210
27069
|
style: {
|
|
27211
27070
|
zIndex: 1000
|
|
27212
27071
|
},
|
|
27213
27072
|
onClick: function onClick() {
|
|
27214
|
-
routingcountext(
|
|
27215
|
-
|
|
27216
|
-
|
|
27073
|
+
// routingcountext(
|
|
27074
|
+
// StaticPagesLinksContext.productinfo,
|
|
27075
|
+
// true,
|
|
27076
|
+
// item.productid
|
|
27077
|
+
// );
|
|
27078
|
+
var productidtobesend = null;
|
|
27079
|
+
if (authdetailsContext.instinfo.instid == '67c050d72cbe7') {
|
|
27080
|
+
productidtobesend = item.productendpointurl;
|
|
27081
|
+
} else {
|
|
27082
|
+
productidtobesend = item.productid;
|
|
27083
|
+
}
|
|
27084
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, productidtobesend);
|
|
27085
|
+
setSearchHeaderInputContext('');
|
|
27086
|
+
setsearchinput('');
|
|
27217
27087
|
setsearchbarCanvasContext(false);
|
|
27218
27088
|
}
|
|
27219
27089
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27220
|
-
"class": "".concat(searchlist_styles.searchcont) +
|
|
27090
|
+
"class": "".concat(searchlist_styles.searchcont) + ' col-lg-12 col-md-12 d-flex p-0 cursor-pointer '
|
|
27221
27091
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27222
27092
|
"class": searchlist_styles.imagecont
|
|
27223
27093
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
27224
27094
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
27225
27095
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
27226
|
-
path:
|
|
27096
|
+
path: '/tr:w-' + sectionproperties.searchlistimagetr_w + ',h-' + sectionproperties.searchlistimagetr_h + '/' + item.defaultimagepath,
|
|
27227
27097
|
loading: "lazy",
|
|
27228
27098
|
style: {
|
|
27229
|
-
height:
|
|
27230
|
-
width:
|
|
27231
|
-
objectFit:
|
|
27232
|
-
borderRadius: sectionproperties.searchlist_prodimage_borderradius +
|
|
27099
|
+
height: '100%',
|
|
27100
|
+
width: '100%',
|
|
27101
|
+
objectFit: 'contain',
|
|
27102
|
+
borderRadius: sectionproperties.searchlist_prodimage_borderradius + 'px'
|
|
27233
27103
|
}
|
|
27234
27104
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27235
|
-
"class": props.srcfromprops ==
|
|
27105
|
+
"class": props.srcfromprops == 'StylishHeader' ? searchlist_styles.productnamecont + ' col-lg-11 col-md-11 col-sm-9 d-flex ' : props.srcfromprops == 'searchlistsliderheaderfullwidth' ? searchlist_styles.productnamecont + ' col-lg-9 col-md-10 col-sm-9 d-flex ' : searchlist_styles.productnamecont + ' col-lg-10 col-md-11 col-sm-9 d-flex ',
|
|
27236
27106
|
style: {
|
|
27237
|
-
alignItems: sectionproperties.searchlistshowprice ==
|
|
27107
|
+
alignItems: sectionproperties.searchlistshowprice == 'Show' ? 'start' : 'center'
|
|
27238
27108
|
}
|
|
27239
27109
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27240
|
-
"class": props.srcfromprops ==
|
|
27110
|
+
"class": props.srcfromprops == 'searchlistsliderheaderfullwidth' ? 'row m-0 w-100 d-flex' : 'row m-0 w-100 d-flex',
|
|
27241
27111
|
style: {
|
|
27242
|
-
alignItems: sectionproperties.searchlistshowprice ==
|
|
27112
|
+
alignItems: sectionproperties.searchlistshowprice == 'Show' ? 'start' : 'center'
|
|
27243
27113
|
}
|
|
27244
27114
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27245
27115
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-start"
|
|
27246
27116
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27247
|
-
"class": "".concat(searchlist_styles.productNameStyles) +
|
|
27248
|
-
}, item["name_".concat(langdetect)] || item.name_en)), sectionproperties.searchlistshowprice ==
|
|
27117
|
+
"class": "".concat(searchlist_styles.productNameStyles) + ' m-0 text-overflow p-0 '
|
|
27118
|
+
}, item["name_".concat(langdetect)] || item.name_en)), sectionproperties.searchlistshowprice == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27249
27119
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center",
|
|
27250
27120
|
style: {
|
|
27251
|
-
marginTop: sectionproperties.pricingmargintop != undefined ? sectionproperties.pricingmargintop +
|
|
27252
|
-
display:
|
|
27121
|
+
marginTop: sectionproperties.pricingmargintop != undefined ? sectionproperties.pricingmargintop + 'px' : '-0.25rem',
|
|
27122
|
+
display: 'row'
|
|
27253
27123
|
}
|
|
27254
27124
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27255
|
-
"class": "".concat(searchlist_styles.productPricestyles) +
|
|
27256
|
-
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect !=
|
|
27257
|
-
"class": props.srcfromprops ==
|
|
27258
|
-
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, " ", item.defaultprice,
|
|
27125
|
+
"class": "".concat(searchlist_styles.productPricestyles) + ' m-0 '
|
|
27126
|
+
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27127
|
+
"class": props.srcfromprops == 'searchlistsliderheaderfullwidth' ? "".concat(searchlist_styles.productSalePricestyles) + ' linethrough mb-0 ml-2 mr-2' : "".concat(searchlist_styles.productSalePricestyles) + ' linethrough ml-2 mr-2 mb-0'
|
|
27128
|
+
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, " ", item.defaultprice, ' ', langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), index != SearchHeaderMutationContext.data.data.products.length - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27259
27129
|
className: "col-lg-12 col-md-12 p-0"
|
|
27260
27130
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
27261
27131
|
className: "mt-2 mb-1"
|
|
27262
27132
|
})));
|
|
27263
|
-
}), sectionproperties.searchliststyle ==
|
|
27133
|
+
}), sectionproperties.searchliststyle == 'Cards' && SearchHeaderMutationContext.data.data.products.map(function (item, index) {
|
|
27264
27134
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27265
|
-
"class": (props === null || props === void 0 ? void 0 : props.numofcardsprops) != undefined ?
|
|
27135
|
+
"class": (props === null || props === void 0 ? void 0 : props.numofcardsprops) != undefined ? ' m-0 w-100 mb-3 d-flex d-md-none col-lg-' + (props === null || props === void 0 ? void 0 : props.numofcardsprops) : 'col-lg-4 m-0 w-100 mb-3 d-flex d-md-none',
|
|
27266
27136
|
style: {
|
|
27267
27137
|
zIndex: 1000
|
|
27268
27138
|
},
|
|
27269
27139
|
onClick: function onClick() {
|
|
27270
27140
|
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
27271
|
-
setSearchHeaderInputContext(
|
|
27272
|
-
setsearchinput(
|
|
27141
|
+
setSearchHeaderInputContext('');
|
|
27142
|
+
setsearchinput('');
|
|
27273
27143
|
setsearchbarCanvasContext(false);
|
|
27274
27144
|
}
|
|
27275
27145
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27276
|
-
"class": "".concat(searchlist_styles.searchcont) +
|
|
27146
|
+
"class": "".concat(searchlist_styles.searchcont) + ' row m-0 w-100 cursor-pointer '
|
|
27277
27147
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27278
|
-
"class":
|
|
27148
|
+
"class": ' col-lg-12 col-md-12 d-flex p-0 '
|
|
27279
27149
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27280
|
-
"class": searchlist_styles.imagecont +
|
|
27150
|
+
"class": searchlist_styles.imagecont + ' w-100 ',
|
|
27281
27151
|
style: {
|
|
27282
|
-
borderRadius: sectionproperties.searchlist_prodimage_borderradius +
|
|
27152
|
+
borderRadius: sectionproperties.searchlist_prodimage_borderradius + 'px'
|
|
27283
27153
|
}
|
|
27284
27154
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
27285
27155
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
27286
27156
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
27287
|
-
path:
|
|
27157
|
+
path: '/tr:w-' + sectionproperties.searchlistimagetr_w + ',h-' + sectionproperties.searchlistimagetr_h + '/' + item.defaultimagepath,
|
|
27288
27158
|
loading: "lazy",
|
|
27289
27159
|
style: {
|
|
27290
|
-
height: sectionproperties.searchlist_prodimage_width +
|
|
27291
|
-
width: sectionproperties.searchlist_prodimage_width +
|
|
27292
|
-
objectFit:
|
|
27160
|
+
height: sectionproperties.searchlist_prodimage_width + '%',
|
|
27161
|
+
width: sectionproperties.searchlist_prodimage_width + '%',
|
|
27162
|
+
objectFit: 'contain'
|
|
27293
27163
|
}
|
|
27294
27164
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27295
27165
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
|
|
27296
27166
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27297
|
-
"class": props.srcfromprops ==
|
|
27167
|
+
"class": props.srcfromprops == 'ElegantHeader' ? "".concat(searchlist_styles.productNameStyles) + ' m-0 wordbreak wordbreak2 p-0 ' : "".concat(searchlist_styles.productNameStyles) + ' m-0 text-overflow p-0 ',
|
|
27298
27168
|
style: {
|
|
27299
|
-
textAlign:
|
|
27169
|
+
textAlign: 'center'
|
|
27300
27170
|
}
|
|
27301
|
-
}, item["name_".concat(langdetect)] || item.name_en)), sectionproperties.searchlistshowprice ==
|
|
27171
|
+
}, item["name_".concat(langdetect)] || item.name_en)), sectionproperties.searchlistshowprice == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27302
27172
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered mt-2"
|
|
27303
27173
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27304
|
-
"class": "".concat(searchlist_styles.productPricestyles) +
|
|
27305
|
-
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect !=
|
|
27306
|
-
"class": "".concat(searchlist_styles.productSalePricestyles) +
|
|
27307
|
-
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, item.defaultprice, " ", langdetect !=
|
|
27174
|
+
"class": "".concat(searchlist_styles.productPricestyles) + ' m-0 '
|
|
27175
|
+
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27176
|
+
"class": "".concat(searchlist_styles.productSalePricestyles) + ' linethrough ml-2 mr-2 mb-0'
|
|
27177
|
+
}, authdetailsContext["currencyname".concat(langdetect)] || authdetailsContext.currencyname_en, item.defaultprice, " ", langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))));
|
|
27308
27178
|
})), SearchHeaderMutationContext.data.data.products.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27309
27179
|
className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100"
|
|
27310
27180
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|