tabexseriescomponents 0.0.752 → 0.0.754
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 +30 -13
- package/dist/index.esm.js +30 -13
- package/dist/index.umd.js +30 -13
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3006,7 +3006,23 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3006
3006
|
size: sectionproperties.favBtnIconfontsize
|
|
3007
3007
|
}))))), sectionproperties.showSKU == 'Show' && sectionproperties.skuposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3008
3008
|
"class": 'col-lg-12 p-0 my-3 d-flex justify-content-start'
|
|
3009
|
-
}, ProductsSKUContainer()), sectionproperties.
|
|
3009
|
+
}, ProductsSKUContainer()), sectionproperties.descriptionposition == 'Under Name' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3010
|
+
"class": "col-lg-12 p-0"
|
|
3011
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3012
|
+
"class": "row m-0 w-100"
|
|
3013
|
+
}, sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3014
|
+
"class": "col-lg-12 p-0 mb-2"
|
|
3015
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3016
|
+
style: {
|
|
3017
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3018
|
+
color: sectionproperties.generaltext_fontColor
|
|
3019
|
+
}
|
|
3020
|
+
}, langdetect == 'en' ? 'Description' : 'التفاصيل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3021
|
+
"class": "col-lg-12 p-0"
|
|
3022
|
+
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
3023
|
+
actions: props.actions,
|
|
3024
|
+
srcfromprops: 'undername'
|
|
3025
|
+
})))), sectionproperties.featuresposition == 'Under Name' && sectionproperties.featurestyle == 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3010
3026
|
"class": "col-lg-12 text-start p-md-0"
|
|
3011
3027
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3012
3028
|
"class": "row m-0 w-100"
|
|
@@ -3098,7 +3114,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3098
3114
|
}
|
|
3099
3115
|
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', 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.deliverydatetext)), sectionproperties.defaultpricingposition != 'Under Name' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
3100
3116
|
actions: props.actions
|
|
3101
|
-
}), sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3117
|
+
}), sectionproperties.descriptionposition != 'Under Name' && sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3102
3118
|
"class": "col-lg-12 p-0"
|
|
3103
3119
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3104
3120
|
"class": "row m-0 w-100"
|
|
@@ -12311,7 +12327,7 @@ var Select$2 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
|
12311
12327
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
12312
12328
|
});
|
|
12313
12329
|
var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
12314
|
-
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$
|
|
12330
|
+
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$i2, _authdetailsContext$c, _authdetailsContext$c2;
|
|
12315
12331
|
var lang = props.actions.lang;
|
|
12316
12332
|
var langdetect = props.actions.langdetect;
|
|
12317
12333
|
props.actions.routingcountext;
|
|
@@ -12710,7 +12726,6 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
12710
12726
|
})));
|
|
12711
12727
|
};
|
|
12712
12728
|
var Address = function Address() {
|
|
12713
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
12714
12729
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12715
12730
|
className: "row m-0 w-100",
|
|
12716
12731
|
style: {
|
|
@@ -12732,7 +12747,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
12732
12747
|
width: "20px",
|
|
12733
12748
|
height: "20px",
|
|
12734
12749
|
duration: "1s"
|
|
12735
|
-
})), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess &&
|
|
12750
|
+
})), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && sectionproperties.inputfieldcolor != '#ffffff' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
12736
12751
|
options: fetchTabexCountriesQueryContext.data.data.countries,
|
|
12737
12752
|
getOptionLabel: function getOptionLabel(option) {
|
|
12738
12753
|
var crname = '';
|
|
@@ -12764,7 +12779,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
12764
12779
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
12765
12780
|
placeholder: langdetect == 'en' ? 'Choose Country' : 'إختر البلد',
|
|
12766
12781
|
isSearchable: true
|
|
12767
|
-
}), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess &&
|
|
12782
|
+
}), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && sectionproperties.inputfieldcolor == '#ffffff' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
12768
12783
|
options: fetchTabexCountriesQueryContext.data.data.countries,
|
|
12769
12784
|
getOptionLabel: function getOptionLabel(option) {
|
|
12770
12785
|
var crname = '';
|
|
@@ -12900,7 +12915,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
12900
12915
|
placeholder: lang.choosecity,
|
|
12901
12916
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
12902
12917
|
isSearchable: true
|
|
12903
|
-
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess &&
|
|
12918
|
+
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && sectionproperties.inputfieldcolor != '#ffffff' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
12904
12919
|
options: fetchTabexCitiesQueryContext.data.data.cities,
|
|
12905
12920
|
getOptionLabel: function getOptionLabel(option) {
|
|
12906
12921
|
var crname = '';
|
|
@@ -12928,7 +12943,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
12928
12943
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
12929
12944
|
placeholder: lang.choosecity,
|
|
12930
12945
|
isSearchable: true
|
|
12931
|
-
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess &&
|
|
12946
|
+
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && sectionproperties.inputfieldcolor == '#ffffff' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
12932
12947
|
options: fetchTabexCitiesQueryContext.data.data.cities,
|
|
12933
12948
|
getOptionLabel: function getOptionLabel(option) {
|
|
12934
12949
|
var crname = '';
|
|
@@ -13171,7 +13186,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
13171
13186
|
style: {
|
|
13172
13187
|
background: sectionproperties.formLeftbgColor
|
|
13173
13188
|
}
|
|
13174
|
-
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13189
|
+
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.ispasswordrequired_signup) == 1 && Password()), dataloaded && props.srcfromprops == 'accountinfo' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13175
13190
|
className: "col-lg-12 p-0"
|
|
13176
13191
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13177
13192
|
className: "row ml-0 mr-0 w-100"
|
|
@@ -18647,7 +18662,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
18647
18662
|
};
|
|
18648
18663
|
if (fetchingtype == 'products') {
|
|
18649
18664
|
var _arrayItem$features3;
|
|
18650
|
-
var itemquantity = 1;
|
|
18665
|
+
// var itemquantity = 1;
|
|
18666
|
+
var itemquantity = 0;
|
|
18651
18667
|
if (langdetect == 'en') {
|
|
18652
18668
|
cardobj.name = arrayItem.productinfo.name_en;
|
|
18653
18669
|
} else {
|
|
@@ -72763,7 +72779,8 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
72763
72779
|
transition: '.3s',
|
|
72764
72780
|
':hover': {
|
|
72765
72781
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
72766
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
72782
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
72783
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
72767
72784
|
}
|
|
72768
72785
|
}),
|
|
72769
72786
|
img_container: glamor.css({
|
|
@@ -73037,7 +73054,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
73037
73054
|
"class": "m-0 p-0"
|
|
73038
73055
|
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
73039
73056
|
"class": "".concat(cardsstyles$4.product_details) + ' mb-2 '
|
|
73040
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
73057
|
+
}, sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
73041
73058
|
"class": "col-lg-12 p-0 allcentered"
|
|
73042
73059
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
73043
73060
|
"class": "m-0 p-0",
|
|
@@ -73046,7 +73063,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
73046
73063
|
color: sectionproperties.quantitycolor,
|
|
73047
73064
|
fontWeight: sectionproperties.quantityfontweight
|
|
73048
73065
|
}
|
|
73049
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, "
|
|
73066
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity)), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
73050
73067
|
"class": "col-lg-12"
|
|
73051
73068
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
73052
73069
|
onClick: function onClick() {
|
package/dist/index.esm.js
CHANGED
|
@@ -2957,7 +2957,23 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2957
2957
|
size: sectionproperties.favBtnIconfontsize
|
|
2958
2958
|
}))))), sectionproperties.showSKU == 'Show' && sectionproperties.skuposition == 'Top' && /*#__PURE__*/React.createElement("div", {
|
|
2959
2959
|
"class": 'col-lg-12 p-0 my-3 d-flex justify-content-start'
|
|
2960
|
-
}, ProductsSKUContainer()), sectionproperties.
|
|
2960
|
+
}, ProductsSKUContainer()), sectionproperties.descriptionposition == 'Under Name' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
2961
|
+
"class": "col-lg-12 p-0"
|
|
2962
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2963
|
+
"class": "row m-0 w-100"
|
|
2964
|
+
}, sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2965
|
+
"class": "col-lg-12 p-0 mb-2"
|
|
2966
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
2967
|
+
style: {
|
|
2968
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2969
|
+
color: sectionproperties.generaltext_fontColor
|
|
2970
|
+
}
|
|
2971
|
+
}, langdetect == 'en' ? 'Description' : 'التفاصيل')), /*#__PURE__*/React.createElement("div", {
|
|
2972
|
+
"class": "col-lg-12 p-0"
|
|
2973
|
+
}, /*#__PURE__*/React.createElement(DescriptionContent, {
|
|
2974
|
+
actions: props.actions,
|
|
2975
|
+
srcfromprops: 'undername'
|
|
2976
|
+
})))), sectionproperties.featuresposition == 'Under Name' && sectionproperties.featurestyle == 'Table' && /*#__PURE__*/React.createElement("div", {
|
|
2961
2977
|
"class": "col-lg-12 text-start p-md-0"
|
|
2962
2978
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2963
2979
|
"class": "row m-0 w-100"
|
|
@@ -3049,7 +3065,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3049
3065
|
}
|
|
3050
3066
|
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React.createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', 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.deliverydatetext)), sectionproperties.defaultpricingposition != 'Under Name' && (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.isproducttobesold) == 1 && /*#__PURE__*/React.createElement(ProductHeaderPricing, {
|
|
3051
3067
|
actions: props.actions
|
|
3052
|
-
}), sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
3068
|
+
}), sectionproperties.descriptionposition != 'Under Name' && sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
3053
3069
|
"class": "col-lg-12 p-0"
|
|
3054
3070
|
}, /*#__PURE__*/React.createElement("div", {
|
|
3055
3071
|
"class": "row m-0 w-100"
|
|
@@ -12262,7 +12278,7 @@ var Select$2 = /*#__PURE__*/React.lazy(function () {
|
|
|
12262
12278
|
return import('react-select');
|
|
12263
12279
|
});
|
|
12264
12280
|
var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
12265
|
-
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$
|
|
12281
|
+
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$i2, _authdetailsContext$c, _authdetailsContext$c2;
|
|
12266
12282
|
var lang = props.actions.lang;
|
|
12267
12283
|
var langdetect = props.actions.langdetect;
|
|
12268
12284
|
props.actions.routingcountext;
|
|
@@ -12661,7 +12677,6 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
12661
12677
|
})));
|
|
12662
12678
|
};
|
|
12663
12679
|
var Address = function Address() {
|
|
12664
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
12665
12680
|
return /*#__PURE__*/React.createElement("div", {
|
|
12666
12681
|
className: "row m-0 w-100",
|
|
12667
12682
|
style: {
|
|
@@ -12683,7 +12698,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
12683
12698
|
width: "20px",
|
|
12684
12699
|
height: "20px",
|
|
12685
12700
|
duration: "1s"
|
|
12686
|
-
})), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess &&
|
|
12701
|
+
})), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && sectionproperties.inputfieldcolor != '#ffffff' && /*#__PURE__*/React.createElement(Select$2, {
|
|
12687
12702
|
options: fetchTabexCountriesQueryContext.data.data.countries,
|
|
12688
12703
|
getOptionLabel: function getOptionLabel(option) {
|
|
12689
12704
|
var crname = '';
|
|
@@ -12715,7 +12730,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
12715
12730
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
12716
12731
|
placeholder: langdetect == 'en' ? 'Choose Country' : 'إختر البلد',
|
|
12717
12732
|
isSearchable: true
|
|
12718
|
-
}), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess &&
|
|
12733
|
+
}), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && sectionproperties.inputfieldcolor == '#ffffff' && /*#__PURE__*/React.createElement(Select$2, {
|
|
12719
12734
|
options: fetchTabexCountriesQueryContext.data.data.countries,
|
|
12720
12735
|
getOptionLabel: function getOptionLabel(option) {
|
|
12721
12736
|
var crname = '';
|
|
@@ -12851,7 +12866,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
12851
12866
|
placeholder: lang.choosecity,
|
|
12852
12867
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
12853
12868
|
isSearchable: true
|
|
12854
|
-
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess &&
|
|
12869
|
+
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && sectionproperties.inputfieldcolor != '#ffffff' && /*#__PURE__*/React.createElement(Select$2, {
|
|
12855
12870
|
options: fetchTabexCitiesQueryContext.data.data.cities,
|
|
12856
12871
|
getOptionLabel: function getOptionLabel(option) {
|
|
12857
12872
|
var crname = '';
|
|
@@ -12879,7 +12894,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
12879
12894
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
12880
12895
|
placeholder: lang.choosecity,
|
|
12881
12896
|
isSearchable: true
|
|
12882
|
-
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess &&
|
|
12897
|
+
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && sectionproperties.inputfieldcolor == '#ffffff' && /*#__PURE__*/React.createElement(Select$2, {
|
|
12883
12898
|
options: fetchTabexCitiesQueryContext.data.data.cities,
|
|
12884
12899
|
getOptionLabel: function getOptionLabel(option) {
|
|
12885
12900
|
var crname = '';
|
|
@@ -13122,7 +13137,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
13122
13137
|
style: {
|
|
13123
13138
|
background: sectionproperties.formLeftbgColor
|
|
13124
13139
|
}
|
|
13125
|
-
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13140
|
+
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.ispasswordrequired_signup) == 1 && Password()), dataloaded && props.srcfromprops == 'accountinfo' && /*#__PURE__*/React.createElement("div", {
|
|
13126
13141
|
className: "col-lg-12 p-0"
|
|
13127
13142
|
}, /*#__PURE__*/React.createElement("div", {
|
|
13128
13143
|
className: "row ml-0 mr-0 w-100"
|
|
@@ -18598,7 +18613,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
18598
18613
|
};
|
|
18599
18614
|
if (fetchingtype == 'products') {
|
|
18600
18615
|
var _arrayItem$features3;
|
|
18601
|
-
var itemquantity = 1;
|
|
18616
|
+
// var itemquantity = 1;
|
|
18617
|
+
var itemquantity = 0;
|
|
18602
18618
|
if (langdetect == 'en') {
|
|
18603
18619
|
cardobj.name = arrayItem.productinfo.name_en;
|
|
18604
18620
|
} else {
|
|
@@ -72714,7 +72730,8 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
72714
72730
|
transition: '.3s',
|
|
72715
72731
|
':hover': {
|
|
72716
72732
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
72717
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
72733
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
72734
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
72718
72735
|
}
|
|
72719
72736
|
}),
|
|
72720
72737
|
img_container: css({
|
|
@@ -72988,7 +73005,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
72988
73005
|
"class": "m-0 p-0"
|
|
72989
73006
|
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React.createElement("div", {
|
|
72990
73007
|
"class": "".concat(cardsstyles$4.product_details) + ' mb-2 '
|
|
72991
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
73008
|
+
}, sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
72992
73009
|
"class": "col-lg-12 p-0 allcentered"
|
|
72993
73010
|
}, /*#__PURE__*/React.createElement("p", {
|
|
72994
73011
|
"class": "m-0 p-0",
|
|
@@ -72997,7 +73014,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
72997
73014
|
color: sectionproperties.quantitycolor,
|
|
72998
73015
|
fontWeight: sectionproperties.quantityfontweight
|
|
72999
73016
|
}
|
|
73000
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, "
|
|
73017
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity)), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
73001
73018
|
"class": "col-lg-12"
|
|
73002
73019
|
}, /*#__PURE__*/React.createElement("p", {
|
|
73003
73020
|
onClick: function onClick() {
|
package/dist/index.umd.js
CHANGED
|
@@ -2827,7 +2827,23 @@
|
|
|
2827
2827
|
size: sectionproperties.favBtnIconfontsize
|
|
2828
2828
|
}))))), sectionproperties.showSKU == 'Show' && sectionproperties.skuposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2829
2829
|
"class": 'col-lg-12 p-0 my-3 d-flex justify-content-start'
|
|
2830
|
-
}, ProductsSKUContainer()), sectionproperties.
|
|
2830
|
+
}, ProductsSKUContainer()), sectionproperties.descriptionposition == 'Under Name' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2831
|
+
"class": "col-lg-12 p-0"
|
|
2832
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2833
|
+
"class": "row m-0 w-100"
|
|
2834
|
+
}, sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2835
|
+
"class": "col-lg-12 p-0 mb-2"
|
|
2836
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2837
|
+
style: {
|
|
2838
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2839
|
+
color: sectionproperties.generaltext_fontColor
|
|
2840
|
+
}
|
|
2841
|
+
}, langdetect == 'en' ? 'Description' : 'التفاصيل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2842
|
+
"class": "col-lg-12 p-0"
|
|
2843
|
+
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2844
|
+
actions: props.actions,
|
|
2845
|
+
srcfromprops: 'undername'
|
|
2846
|
+
})))), sectionproperties.featuresposition == 'Under Name' && sectionproperties.featurestyle == 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2831
2847
|
"class": "col-lg-12 text-start p-md-0"
|
|
2832
2848
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2833
2849
|
"class": "row m-0 w-100"
|
|
@@ -2919,7 +2935,7 @@
|
|
|
2919
2935
|
}
|
|
2920
2936
|
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', 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.deliverydatetext)), sectionproperties.defaultpricingposition != 'Under Name' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
2921
2937
|
actions: props.actions
|
|
2922
|
-
}), sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2938
|
+
}), sectionproperties.descriptionposition != 'Under Name' && sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2923
2939
|
"class": "col-lg-12 p-0"
|
|
2924
2940
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2925
2941
|
"class": "row m-0 w-100"
|
|
@@ -12132,7 +12148,7 @@
|
|
|
12132
12148
|
return import('react-select');
|
|
12133
12149
|
});
|
|
12134
12150
|
var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
12135
|
-
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$
|
|
12151
|
+
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$i2, _authdetailsContext$c, _authdetailsContext$c2;
|
|
12136
12152
|
var lang = props.actions.lang;
|
|
12137
12153
|
var langdetect = props.actions.langdetect;
|
|
12138
12154
|
props.actions.routingcountext;
|
|
@@ -12531,7 +12547,6 @@
|
|
|
12531
12547
|
})));
|
|
12532
12548
|
};
|
|
12533
12549
|
var Address = function Address() {
|
|
12534
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
12535
12550
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12536
12551
|
className: "row m-0 w-100",
|
|
12537
12552
|
style: {
|
|
@@ -12553,7 +12568,7 @@
|
|
|
12553
12568
|
width: "20px",
|
|
12554
12569
|
height: "20px",
|
|
12555
12570
|
duration: "1s"
|
|
12556
|
-
})), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess &&
|
|
12571
|
+
})), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && sectionproperties.inputfieldcolor != '#ffffff' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
12557
12572
|
options: fetchTabexCountriesQueryContext.data.data.countries,
|
|
12558
12573
|
getOptionLabel: function getOptionLabel(option) {
|
|
12559
12574
|
var crname = '';
|
|
@@ -12585,7 +12600,7 @@
|
|
|
12585
12600
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
12586
12601
|
placeholder: langdetect == 'en' ? 'Choose Country' : 'إختر البلد',
|
|
12587
12602
|
isSearchable: true
|
|
12588
|
-
}), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess &&
|
|
12603
|
+
}), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && sectionproperties.inputfieldcolor == '#ffffff' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
12589
12604
|
options: fetchTabexCountriesQueryContext.data.data.countries,
|
|
12590
12605
|
getOptionLabel: function getOptionLabel(option) {
|
|
12591
12606
|
var crname = '';
|
|
@@ -12721,7 +12736,7 @@
|
|
|
12721
12736
|
placeholder: lang.choosecity,
|
|
12722
12737
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
12723
12738
|
isSearchable: true
|
|
12724
|
-
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess &&
|
|
12739
|
+
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && sectionproperties.inputfieldcolor != '#ffffff' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
12725
12740
|
options: fetchTabexCitiesQueryContext.data.data.cities,
|
|
12726
12741
|
getOptionLabel: function getOptionLabel(option) {
|
|
12727
12742
|
var crname = '';
|
|
@@ -12749,7 +12764,7 @@
|
|
|
12749
12764
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
12750
12765
|
placeholder: lang.choosecity,
|
|
12751
12766
|
isSearchable: true
|
|
12752
|
-
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess &&
|
|
12767
|
+
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && sectionproperties.inputfieldcolor == '#ffffff' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
|
|
12753
12768
|
options: fetchTabexCitiesQueryContext.data.data.cities,
|
|
12754
12769
|
getOptionLabel: function getOptionLabel(option) {
|
|
12755
12770
|
var crname = '';
|
|
@@ -12992,7 +13007,7 @@
|
|
|
12992
13007
|
style: {
|
|
12993
13008
|
background: sectionproperties.formLeftbgColor
|
|
12994
13009
|
}
|
|
12995
|
-
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13010
|
+
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.ispasswordrequired_signup) == 1 && Password()), dataloaded && props.srcfromprops == 'accountinfo' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12996
13011
|
className: "col-lg-12 p-0"
|
|
12997
13012
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12998
13013
|
className: "row ml-0 mr-0 w-100"
|
|
@@ -18468,7 +18483,8 @@
|
|
|
18468
18483
|
};
|
|
18469
18484
|
if (fetchingtype == 'products') {
|
|
18470
18485
|
var _arrayItem$features3;
|
|
18471
|
-
var itemquantity = 1;
|
|
18486
|
+
// var itemquantity = 1;
|
|
18487
|
+
var itemquantity = 0;
|
|
18472
18488
|
if (langdetect == 'en') {
|
|
18473
18489
|
cardobj.name = arrayItem.productinfo.name_en;
|
|
18474
18490
|
} else {
|
|
@@ -72584,7 +72600,8 @@
|
|
|
72584
72600
|
transition: '.3s',
|
|
72585
72601
|
':hover': {
|
|
72586
72602
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
72587
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
72603
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
72604
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
72588
72605
|
}
|
|
72589
72606
|
}),
|
|
72590
72607
|
img_container: glamor.css({
|
|
@@ -72858,7 +72875,7 @@
|
|
|
72858
72875
|
"class": "m-0 p-0"
|
|
72859
72876
|
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72860
72877
|
"class": "".concat(cardsstyles$4.product_details) + ' mb-2 '
|
|
72861
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72878
|
+
}, sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72862
72879
|
"class": "col-lg-12 p-0 allcentered"
|
|
72863
72880
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
72864
72881
|
"class": "m-0 p-0",
|
|
@@ -72867,7 +72884,7 @@
|
|
|
72867
72884
|
color: sectionproperties.quantitycolor,
|
|
72868
72885
|
fontWeight: sectionproperties.quantityfontweight
|
|
72869
72886
|
}
|
|
72870
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, "
|
|
72887
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity)), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72871
72888
|
"class": "col-lg-12"
|
|
72872
72889
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
72873
72890
|
onClick: function onClick() {
|