tabexseriescomponents 0.0.813 → 0.0.815
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 +113 -13
- package/dist/index.esm.js +113 -13
- package/dist/index.umd.js +113 -13
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1632,7 +1632,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1632
1632
|
textTransform: sectionproperties.varianttitle_texttransform,
|
|
1633
1633
|
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
1634
1634
|
}
|
|
1635
|
-
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":", ' ', item.optionname == 'color'
|
|
1635
|
+
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":", ' ', item.optionname == 'color' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1636
1636
|
style: {
|
|
1637
1637
|
color: '#62554a'
|
|
1638
1638
|
}
|
|
@@ -1690,7 +1690,14 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1690
1690
|
},
|
|
1691
1691
|
style: {
|
|
1692
1692
|
// activeproductcolor
|
|
1693
|
-
cursor:
|
|
1693
|
+
// cursor:
|
|
1694
|
+
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
1695
|
+
// sectionproperties.showoutofstockwithoutselection == 'Show'
|
|
1696
|
+
// ? 'not-allowed'
|
|
1697
|
+
// : isoptionvaluedenabled == 1
|
|
1698
|
+
// ? 'pointer'
|
|
1699
|
+
// : 'not-allowed',
|
|
1700
|
+
cursor: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? 'not-allowed' : 'pointer',
|
|
1694
1701
|
backgroundColor: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
1695
1702
|
minWidth: sectionproperties.variantcontainer_minwidth + 'px',
|
|
1696
1703
|
height: sectionproperties.variantcontainer_height + 'px',
|
|
@@ -1832,8 +1839,8 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1832
1839
|
},
|
|
1833
1840
|
style: {
|
|
1834
1841
|
background: optionvaluesitem.valuename,
|
|
1835
|
-
opacity: isoptionvaluedenabled == 1 ? 1 : 0.2
|
|
1836
|
-
cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed'
|
|
1842
|
+
opacity: isoptionvaluedenabled == 1 ? 1 : 0.2
|
|
1843
|
+
// cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
1837
1844
|
}
|
|
1838
1845
|
}));
|
|
1839
1846
|
} else {
|
|
@@ -1852,7 +1859,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1852
1859
|
}
|
|
1853
1860
|
},
|
|
1854
1861
|
style: {
|
|
1855
|
-
cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
1862
|
+
// cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
1856
1863
|
backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
1857
1864
|
minWidth: sectionproperties.variantcontainer_minwidth + 'px',
|
|
1858
1865
|
height: sectionproperties.variantcontainer_height + 'px',
|
|
@@ -6774,7 +6781,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6774
6781
|
} else {
|
|
6775
6782
|
productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex].isselected = 1;
|
|
6776
6783
|
}
|
|
6777
|
-
if (productarr.data.productinfo.productoptions[optionindex].optionname == 'Color' || productarr.data.productinfo.productoptions[optionindex].optionname == 'Colour') {
|
|
6784
|
+
if (productarr.data.productinfo.productoptions[optionindex].optionname == 'color' || productarr.data.productinfo.productoptions[optionindex].optionname == 'Color' || productarr.data.productinfo.productoptions[optionindex].optionname == 'Colour') {
|
|
6778
6785
|
var _productarr$data$prod;
|
|
6779
6786
|
setvariantvalueidentifier((_productarr$data$prod = productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex]) === null || _productarr$data$prod === void 0 ? void 0 : _productarr$data$prod.value_identifier);
|
|
6780
6787
|
// setvariantnotchosendisclaimer('This field is required');
|
|
@@ -8377,6 +8384,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
8377
8384
|
var NotificationManager = props.actions.NotificationManager;
|
|
8378
8385
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
8379
8386
|
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
8387
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
8380
8388
|
var actions = props.actions;
|
|
8381
8389
|
var _useState = React.useState(''),
|
|
8382
8390
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
@@ -8417,7 +8425,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
8417
8425
|
tempFetchQueriesEngineContext.orderhistory = true;
|
|
8418
8426
|
setFetchQueriesEngineContext(_objectSpread$2s({}, tempFetchQueriesEngineContext));
|
|
8419
8427
|
}
|
|
8420
|
-
}, []);
|
|
8428
|
+
}, [authdetailsContext, FetchQueriesEngineContext]);
|
|
8421
8429
|
var _useState15 = React.useState(''),
|
|
8422
8430
|
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
8423
8431
|
sectionproperties = _useState16[0],
|
|
@@ -8581,6 +8589,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
8581
8589
|
paddingTop: sectionproperties.marginTop + 'px',
|
|
8582
8590
|
paddingBottom: sectionproperties.marginBottom + 'px',
|
|
8583
8591
|
background: sectionproperties.backgroundColor,
|
|
8592
|
+
minHeight: '70vh',
|
|
8584
8593
|
'@media (max-width: 800px)': {
|
|
8585
8594
|
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
8586
8595
|
}
|
|
@@ -8693,8 +8702,94 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
8693
8702
|
fontWeight: sectionproperties.imagetextfontWeight
|
|
8694
8703
|
}
|
|
8695
8704
|
}, lang.previousorders)))), fetchorderhistoryQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8696
|
-
className:
|
|
8697
|
-
|
|
8705
|
+
className: "row m-0 w-100 align-items-center justify-content-center",
|
|
8706
|
+
style: {
|
|
8707
|
+
height: '50vh',
|
|
8708
|
+
padding: '20px'
|
|
8709
|
+
}
|
|
8710
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8711
|
+
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
8712
|
+
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
8713
|
+
className: 'table'
|
|
8714
|
+
}, /*#__PURE__*/React__default["default"].createElement("thead", {
|
|
8715
|
+
className: ""
|
|
8716
|
+
}, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8717
|
+
className: 'mw-150 mw-md-300'
|
|
8718
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8719
|
+
"class": "my-1 is-loading"
|
|
8720
|
+
})), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8721
|
+
className: "text-center",
|
|
8722
|
+
style: {
|
|
8723
|
+
minWidth: '100px'
|
|
8724
|
+
}
|
|
8725
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8726
|
+
"class": "my-1 is-loading"
|
|
8727
|
+
})), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8728
|
+
className: "text-center"
|
|
8729
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8730
|
+
"class": "my-1 is-loading"
|
|
8731
|
+
}))), /*#__PURE__*/React__default["default"].createElement("tbody", null, _toConsumableArray__default["default"](Array(3)).map(function (item, index) {
|
|
8732
|
+
return /*#__PURE__*/React__default["default"].createElement("tr", {
|
|
8733
|
+
className: ""
|
|
8734
|
+
}, /*#__PURE__*/React__default["default"].createElement("td", {
|
|
8735
|
+
className: "mw-150 mw-md-300"
|
|
8736
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8737
|
+
"class": "my-1 is-loading"
|
|
8738
|
+
})), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
8739
|
+
className: "text-center",
|
|
8740
|
+
style: {
|
|
8741
|
+
minWidth: '100px'
|
|
8742
|
+
}
|
|
8743
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8744
|
+
"class": "my-1 is-loading"
|
|
8745
|
+
})), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
8746
|
+
className: "text-center",
|
|
8747
|
+
style: {
|
|
8748
|
+
minWidth: '100px'
|
|
8749
|
+
}
|
|
8750
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8751
|
+
"class": "my-1 is-loading"
|
|
8752
|
+
})));
|
|
8753
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8754
|
+
"class": "col-lg-12 p-0 d-none d-md-flex"
|
|
8755
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8756
|
+
className: "row m-0 w-100 align-items-center justify-content-center",
|
|
8757
|
+
style: {
|
|
8758
|
+
height: '50vh'
|
|
8759
|
+
}
|
|
8760
|
+
}, _toConsumableArray__default["default"](Array(3)).map(function (item, index) {
|
|
8761
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8762
|
+
"class": "col-lg-12 p-0"
|
|
8763
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8764
|
+
"class": "row m-0 w-100"
|
|
8765
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8766
|
+
className: "col-9 pt-2"
|
|
8767
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8768
|
+
"class": "row m-0 w-100 d-flex"
|
|
8769
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8770
|
+
"class": "col-10 p-0 mb-1"
|
|
8771
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8772
|
+
className: ' m-0 p-0 is-loading mb-auto '
|
|
8773
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8774
|
+
"class": "col-lg-12 p-0"
|
|
8775
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8776
|
+
"class": ' m-0 p-0 is-loading '
|
|
8777
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8778
|
+
"class": "col-lg-12 allcentered p-0 mt-4"
|
|
8779
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8780
|
+
className: ' w-100 is-loading ',
|
|
8781
|
+
style: {
|
|
8782
|
+
height: sectionproperties.cartBtnHeight + 'px'
|
|
8783
|
+
}
|
|
8784
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8785
|
+
"class": "col-lg-12 p-0 my-3",
|
|
8786
|
+
style: {
|
|
8787
|
+
background: '#eee',
|
|
8788
|
+
height: 1,
|
|
8789
|
+
width: '100%'
|
|
8790
|
+
}
|
|
8791
|
+
})));
|
|
8792
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8698
8793
|
className: "col-lg-12 p-0"
|
|
8699
8794
|
}, !fetchorderhistoryQueryContext.isFetching && fetchorderhistoryQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8700
8795
|
className: 'row ml-0 mr-0 d-flex justify-content-center w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
|
|
@@ -9051,9 +9146,12 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
9051
9146
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9052
9147
|
className: "col-lg-9 col-md-9 col-sm-9 p-0 d-flex align-items-start"
|
|
9053
9148
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9054
|
-
className: orderhistory_cssstyles.productNameStyles + ' p-0 m-0 wordbreak wordbreak3 ',
|
|
9149
|
+
className: orderhistory_cssstyles.productNameStyles + ' p-0 m-0 wordbreak wordbreak3 cursor-pointer ',
|
|
9055
9150
|
style: {
|
|
9056
9151
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
9152
|
+
},
|
|
9153
|
+
onClick: function onClick() {
|
|
9154
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
9057
9155
|
}
|
|
9058
9156
|
}, item.productname)), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9059
9157
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"
|
|
@@ -66936,7 +67034,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
66936
67034
|
})), sectionproperties.view_as_slider_vertical == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66937
67035
|
"class": "row m-0 w-100"
|
|
66938
67036
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
66939
|
-
var _authdetailsContext$i3;
|
|
67037
|
+
var _authdetailsContext$i3, _authdetailsContext$i4;
|
|
66940
67038
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66941
67039
|
// class={
|
|
66942
67040
|
// sectionproperties.numofcols == '2'
|
|
@@ -66948,7 +67046,9 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
66948
67046
|
// : ' col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' +
|
|
66949
67047
|
// sectionproperties.numberOfColsverticalresp
|
|
66950
67048
|
// }
|
|
66951
|
-
"class":
|
|
67049
|
+
"class":
|
|
67050
|
+
// sectionproperties.evencards
|
|
67051
|
+
(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid) == '6762e6ec9e9f8' ? sectionproperties.numofcols == '2' ? ' h-100 h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' h-100 h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : ' h-100 h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '2' ? ' h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : ' h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp,
|
|
66952
67052
|
style: {
|
|
66953
67053
|
zIndex: 2,
|
|
66954
67054
|
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
|
@@ -66979,7 +67079,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
66979
67079
|
borderRight: cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'en' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '' : '',
|
|
66980
67080
|
borderLeft: sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'ar' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
|
|
66981
67081
|
boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor,
|
|
66982
|
-
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
67082
|
+
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66b4a0338cb14' ? '100%' : ''
|
|
66983
67083
|
},
|
|
66984
67084
|
onClick: function onClick() {
|
|
66985
67085
|
// if (cardinfoitem.iscardclickable == 'Yes') {
|
package/dist/index.esm.js
CHANGED
|
@@ -1583,7 +1583,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1583
1583
|
textTransform: sectionproperties.varianttitle_texttransform,
|
|
1584
1584
|
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
1585
1585
|
}
|
|
1586
|
-
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React.createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":", ' ', item.optionname == 'color'
|
|
1586
|
+
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React.createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":", ' ', item.optionname == 'color' && /*#__PURE__*/React.createElement("span", {
|
|
1587
1587
|
style: {
|
|
1588
1588
|
color: '#62554a'
|
|
1589
1589
|
}
|
|
@@ -1641,7 +1641,14 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1641
1641
|
},
|
|
1642
1642
|
style: {
|
|
1643
1643
|
// activeproductcolor
|
|
1644
|
-
cursor:
|
|
1644
|
+
// cursor:
|
|
1645
|
+
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
1646
|
+
// sectionproperties.showoutofstockwithoutselection == 'Show'
|
|
1647
|
+
// ? 'not-allowed'
|
|
1648
|
+
// : isoptionvaluedenabled == 1
|
|
1649
|
+
// ? 'pointer'
|
|
1650
|
+
// : 'not-allowed',
|
|
1651
|
+
cursor: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? 'not-allowed' : 'pointer',
|
|
1645
1652
|
backgroundColor: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
1646
1653
|
minWidth: sectionproperties.variantcontainer_minwidth + 'px',
|
|
1647
1654
|
height: sectionproperties.variantcontainer_height + 'px',
|
|
@@ -1783,8 +1790,8 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1783
1790
|
},
|
|
1784
1791
|
style: {
|
|
1785
1792
|
background: optionvaluesitem.valuename,
|
|
1786
|
-
opacity: isoptionvaluedenabled == 1 ? 1 : 0.2
|
|
1787
|
-
cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed'
|
|
1793
|
+
opacity: isoptionvaluedenabled == 1 ? 1 : 0.2
|
|
1794
|
+
// cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
1788
1795
|
}
|
|
1789
1796
|
}));
|
|
1790
1797
|
} else {
|
|
@@ -1803,7 +1810,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1803
1810
|
}
|
|
1804
1811
|
},
|
|
1805
1812
|
style: {
|
|
1806
|
-
cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
1813
|
+
// cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
1807
1814
|
backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
1808
1815
|
minWidth: sectionproperties.variantcontainer_minwidth + 'px',
|
|
1809
1816
|
height: sectionproperties.variantcontainer_height + 'px',
|
|
@@ -6725,7 +6732,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6725
6732
|
} else {
|
|
6726
6733
|
productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex].isselected = 1;
|
|
6727
6734
|
}
|
|
6728
|
-
if (productarr.data.productinfo.productoptions[optionindex].optionname == 'Color' || productarr.data.productinfo.productoptions[optionindex].optionname == 'Colour') {
|
|
6735
|
+
if (productarr.data.productinfo.productoptions[optionindex].optionname == 'color' || productarr.data.productinfo.productoptions[optionindex].optionname == 'Color' || productarr.data.productinfo.productoptions[optionindex].optionname == 'Colour') {
|
|
6729
6736
|
var _productarr$data$prod;
|
|
6730
6737
|
setvariantvalueidentifier((_productarr$data$prod = productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex]) === null || _productarr$data$prod === void 0 ? void 0 : _productarr$data$prod.value_identifier);
|
|
6731
6738
|
// setvariantnotchosendisclaimer('This field is required');
|
|
@@ -8328,6 +8335,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
8328
8335
|
var NotificationManager = props.actions.NotificationManager;
|
|
8329
8336
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
8330
8337
|
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
8338
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
8331
8339
|
var actions = props.actions;
|
|
8332
8340
|
var _useState = useState(''),
|
|
8333
8341
|
_useState2 = _slicedToArray(_useState, 2);
|
|
@@ -8368,7 +8376,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
8368
8376
|
tempFetchQueriesEngineContext.orderhistory = true;
|
|
8369
8377
|
setFetchQueriesEngineContext(_objectSpread$2s({}, tempFetchQueriesEngineContext));
|
|
8370
8378
|
}
|
|
8371
|
-
}, []);
|
|
8379
|
+
}, [authdetailsContext, FetchQueriesEngineContext]);
|
|
8372
8380
|
var _useState15 = useState(''),
|
|
8373
8381
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
8374
8382
|
sectionproperties = _useState16[0],
|
|
@@ -8532,6 +8540,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
8532
8540
|
paddingTop: sectionproperties.marginTop + 'px',
|
|
8533
8541
|
paddingBottom: sectionproperties.marginBottom + 'px',
|
|
8534
8542
|
background: sectionproperties.backgroundColor,
|
|
8543
|
+
minHeight: '70vh',
|
|
8535
8544
|
'@media (max-width: 800px)': {
|
|
8536
8545
|
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
8537
8546
|
}
|
|
@@ -8644,8 +8653,94 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
8644
8653
|
fontWeight: sectionproperties.imagetextfontWeight
|
|
8645
8654
|
}
|
|
8646
8655
|
}, lang.previousorders)))), fetchorderhistoryQueryContext.isFetching && /*#__PURE__*/React.createElement("div", {
|
|
8647
|
-
className:
|
|
8648
|
-
|
|
8656
|
+
className: "row m-0 w-100 align-items-center justify-content-center",
|
|
8657
|
+
style: {
|
|
8658
|
+
height: '50vh',
|
|
8659
|
+
padding: '20px'
|
|
8660
|
+
}
|
|
8661
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8662
|
+
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
8663
|
+
}, /*#__PURE__*/React.createElement("table", {
|
|
8664
|
+
className: 'table'
|
|
8665
|
+
}, /*#__PURE__*/React.createElement("thead", {
|
|
8666
|
+
className: ""
|
|
8667
|
+
}, /*#__PURE__*/React.createElement("th", {
|
|
8668
|
+
className: 'mw-150 mw-md-300'
|
|
8669
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8670
|
+
"class": "my-1 is-loading"
|
|
8671
|
+
})), /*#__PURE__*/React.createElement("th", {
|
|
8672
|
+
className: "text-center",
|
|
8673
|
+
style: {
|
|
8674
|
+
minWidth: '100px'
|
|
8675
|
+
}
|
|
8676
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8677
|
+
"class": "my-1 is-loading"
|
|
8678
|
+
})), /*#__PURE__*/React.createElement("th", {
|
|
8679
|
+
className: "text-center"
|
|
8680
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8681
|
+
"class": "my-1 is-loading"
|
|
8682
|
+
}))), /*#__PURE__*/React.createElement("tbody", null, _toConsumableArray(Array(3)).map(function (item, index) {
|
|
8683
|
+
return /*#__PURE__*/React.createElement("tr", {
|
|
8684
|
+
className: ""
|
|
8685
|
+
}, /*#__PURE__*/React.createElement("td", {
|
|
8686
|
+
className: "mw-150 mw-md-300"
|
|
8687
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8688
|
+
"class": "my-1 is-loading"
|
|
8689
|
+
})), /*#__PURE__*/React.createElement("td", {
|
|
8690
|
+
className: "text-center",
|
|
8691
|
+
style: {
|
|
8692
|
+
minWidth: '100px'
|
|
8693
|
+
}
|
|
8694
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8695
|
+
"class": "my-1 is-loading"
|
|
8696
|
+
})), /*#__PURE__*/React.createElement("td", {
|
|
8697
|
+
className: "text-center",
|
|
8698
|
+
style: {
|
|
8699
|
+
minWidth: '100px'
|
|
8700
|
+
}
|
|
8701
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8702
|
+
"class": "my-1 is-loading"
|
|
8703
|
+
})));
|
|
8704
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
8705
|
+
"class": "col-lg-12 p-0 d-none d-md-flex"
|
|
8706
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8707
|
+
className: "row m-0 w-100 align-items-center justify-content-center",
|
|
8708
|
+
style: {
|
|
8709
|
+
height: '50vh'
|
|
8710
|
+
}
|
|
8711
|
+
}, _toConsumableArray(Array(3)).map(function (item, index) {
|
|
8712
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
8713
|
+
"class": "col-lg-12 p-0"
|
|
8714
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8715
|
+
"class": "row m-0 w-100"
|
|
8716
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8717
|
+
className: "col-9 pt-2"
|
|
8718
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8719
|
+
"class": "row m-0 w-100 d-flex"
|
|
8720
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8721
|
+
"class": "col-10 p-0 mb-1"
|
|
8722
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8723
|
+
className: ' m-0 p-0 is-loading mb-auto '
|
|
8724
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
8725
|
+
"class": "col-lg-12 p-0"
|
|
8726
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8727
|
+
"class": ' m-0 p-0 is-loading '
|
|
8728
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
8729
|
+
"class": "col-lg-12 allcentered p-0 mt-4"
|
|
8730
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
8731
|
+
className: ' w-100 is-loading ',
|
|
8732
|
+
style: {
|
|
8733
|
+
height: sectionproperties.cartBtnHeight + 'px'
|
|
8734
|
+
}
|
|
8735
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
8736
|
+
"class": "col-lg-12 p-0 my-3",
|
|
8737
|
+
style: {
|
|
8738
|
+
background: '#eee',
|
|
8739
|
+
height: 1,
|
|
8740
|
+
width: '100%'
|
|
8741
|
+
}
|
|
8742
|
+
})));
|
|
8743
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
8649
8744
|
className: "col-lg-12 p-0"
|
|
8650
8745
|
}, !fetchorderhistoryQueryContext.isFetching && fetchorderhistoryQueryContext.isSuccess && /*#__PURE__*/React.createElement("div", {
|
|
8651
8746
|
className: 'row ml-0 mr-0 d-flex justify-content-center w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
|
|
@@ -9002,9 +9097,12 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
9002
9097
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9003
9098
|
className: "col-lg-9 col-md-9 col-sm-9 p-0 d-flex align-items-start"
|
|
9004
9099
|
}, /*#__PURE__*/React.createElement("p", {
|
|
9005
|
-
className: orderhistory_cssstyles.productNameStyles + ' p-0 m-0 wordbreak wordbreak3 ',
|
|
9100
|
+
className: orderhistory_cssstyles.productNameStyles + ' p-0 m-0 wordbreak wordbreak3 cursor-pointer ',
|
|
9006
9101
|
style: {
|
|
9007
9102
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
9103
|
+
},
|
|
9104
|
+
onClick: function onClick() {
|
|
9105
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
9008
9106
|
}
|
|
9009
9107
|
}, item.productname)), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
9010
9108
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"
|
|
@@ -66887,7 +66985,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
66887
66985
|
})), sectionproperties.view_as_slider_vertical == 'Vertical' && /*#__PURE__*/React.createElement("div", {
|
|
66888
66986
|
"class": "row m-0 w-100"
|
|
66889
66987
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
66890
|
-
var _authdetailsContext$i3;
|
|
66988
|
+
var _authdetailsContext$i3, _authdetailsContext$i4;
|
|
66891
66989
|
return /*#__PURE__*/React.createElement("div", {
|
|
66892
66990
|
// class={
|
|
66893
66991
|
// sectionproperties.numofcols == '2'
|
|
@@ -66899,7 +66997,9 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
66899
66997
|
// : ' col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' +
|
|
66900
66998
|
// sectionproperties.numberOfColsverticalresp
|
|
66901
66999
|
// }
|
|
66902
|
-
"class":
|
|
67000
|
+
"class":
|
|
67001
|
+
// sectionproperties.evencards
|
|
67002
|
+
(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid) == '6762e6ec9e9f8' ? sectionproperties.numofcols == '2' ? ' h-100 h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' h-100 h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : ' h-100 h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '2' ? ' h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : ' h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp,
|
|
66903
67003
|
style: {
|
|
66904
67004
|
zIndex: 2,
|
|
66905
67005
|
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
|
@@ -66930,7 +67030,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
66930
67030
|
borderRight: cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'en' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '' : '',
|
|
66931
67031
|
borderLeft: sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'ar' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
|
|
66932
67032
|
boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor,
|
|
66933
|
-
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
67033
|
+
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66b4a0338cb14' ? '100%' : ''
|
|
66934
67034
|
},
|
|
66935
67035
|
onClick: function onClick() {
|
|
66936
67036
|
// if (cardinfoitem.iscardclickable == 'Yes') {
|
package/dist/index.umd.js
CHANGED
|
@@ -1448,7 +1448,7 @@
|
|
|
1448
1448
|
textTransform: sectionproperties.varianttitle_texttransform,
|
|
1449
1449
|
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
1450
1450
|
}
|
|
1451
|
-
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":", ' ', item.optionname == 'color'
|
|
1451
|
+
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":", ' ', item.optionname == 'color' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1452
1452
|
style: {
|
|
1453
1453
|
color: '#62554a'
|
|
1454
1454
|
}
|
|
@@ -1506,7 +1506,14 @@
|
|
|
1506
1506
|
},
|
|
1507
1507
|
style: {
|
|
1508
1508
|
// activeproductcolor
|
|
1509
|
-
cursor:
|
|
1509
|
+
// cursor:
|
|
1510
|
+
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
1511
|
+
// sectionproperties.showoutofstockwithoutselection == 'Show'
|
|
1512
|
+
// ? 'not-allowed'
|
|
1513
|
+
// : isoptionvaluedenabled == 1
|
|
1514
|
+
// ? 'pointer'
|
|
1515
|
+
// : 'not-allowed',
|
|
1516
|
+
cursor: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? 'not-allowed' : 'pointer',
|
|
1510
1517
|
backgroundColor: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
1511
1518
|
minWidth: sectionproperties.variantcontainer_minwidth + 'px',
|
|
1512
1519
|
height: sectionproperties.variantcontainer_height + 'px',
|
|
@@ -1648,8 +1655,8 @@
|
|
|
1648
1655
|
},
|
|
1649
1656
|
style: {
|
|
1650
1657
|
background: optionvaluesitem.valuename,
|
|
1651
|
-
opacity: isoptionvaluedenabled == 1 ? 1 : 0.2
|
|
1652
|
-
cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed'
|
|
1658
|
+
opacity: isoptionvaluedenabled == 1 ? 1 : 0.2
|
|
1659
|
+
// cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
1653
1660
|
}
|
|
1654
1661
|
}));
|
|
1655
1662
|
} else {
|
|
@@ -1668,7 +1675,7 @@
|
|
|
1668
1675
|
}
|
|
1669
1676
|
},
|
|
1670
1677
|
style: {
|
|
1671
|
-
cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
1678
|
+
// cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
1672
1679
|
backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
1673
1680
|
minWidth: sectionproperties.variantcontainer_minwidth + 'px',
|
|
1674
1681
|
height: sectionproperties.variantcontainer_height + 'px',
|
|
@@ -6590,7 +6597,7 @@
|
|
|
6590
6597
|
} else {
|
|
6591
6598
|
productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex].isselected = 1;
|
|
6592
6599
|
}
|
|
6593
|
-
if (productarr.data.productinfo.productoptions[optionindex].optionname == 'Color' || productarr.data.productinfo.productoptions[optionindex].optionname == 'Colour') {
|
|
6600
|
+
if (productarr.data.productinfo.productoptions[optionindex].optionname == 'color' || productarr.data.productinfo.productoptions[optionindex].optionname == 'Color' || productarr.data.productinfo.productoptions[optionindex].optionname == 'Colour') {
|
|
6594
6601
|
var _productarr$data$prod;
|
|
6595
6602
|
setvariantvalueidentifier((_productarr$data$prod = productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex]) === null || _productarr$data$prod === void 0 ? void 0 : _productarr$data$prod.value_identifier);
|
|
6596
6603
|
// setvariantnotchosendisclaimer('This field is required');
|
|
@@ -8193,6 +8200,7 @@
|
|
|
8193
8200
|
var NotificationManager = props.actions.NotificationManager;
|
|
8194
8201
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
8195
8202
|
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
8203
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
8196
8204
|
var actions = props.actions;
|
|
8197
8205
|
var _useState = React.useState(''),
|
|
8198
8206
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
@@ -8233,7 +8241,7 @@
|
|
|
8233
8241
|
tempFetchQueriesEngineContext.orderhistory = true;
|
|
8234
8242
|
setFetchQueriesEngineContext(_objectSpread$2s({}, tempFetchQueriesEngineContext));
|
|
8235
8243
|
}
|
|
8236
|
-
}, []);
|
|
8244
|
+
}, [authdetailsContext, FetchQueriesEngineContext]);
|
|
8237
8245
|
var _useState15 = React.useState(''),
|
|
8238
8246
|
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
8239
8247
|
sectionproperties = _useState16[0],
|
|
@@ -8397,6 +8405,7 @@
|
|
|
8397
8405
|
paddingTop: sectionproperties.marginTop + 'px',
|
|
8398
8406
|
paddingBottom: sectionproperties.marginBottom + 'px',
|
|
8399
8407
|
background: sectionproperties.backgroundColor,
|
|
8408
|
+
minHeight: '70vh',
|
|
8400
8409
|
'@media (max-width: 800px)': {
|
|
8401
8410
|
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
8402
8411
|
}
|
|
@@ -8509,8 +8518,94 @@
|
|
|
8509
8518
|
fontWeight: sectionproperties.imagetextfontWeight
|
|
8510
8519
|
}
|
|
8511
8520
|
}, lang.previousorders)))), fetchorderhistoryQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8512
|
-
className:
|
|
8513
|
-
|
|
8521
|
+
className: "row m-0 w-100 align-items-center justify-content-center",
|
|
8522
|
+
style: {
|
|
8523
|
+
height: '50vh',
|
|
8524
|
+
padding: '20px'
|
|
8525
|
+
}
|
|
8526
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8527
|
+
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
8528
|
+
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
8529
|
+
className: 'table'
|
|
8530
|
+
}, /*#__PURE__*/React__default["default"].createElement("thead", {
|
|
8531
|
+
className: ""
|
|
8532
|
+
}, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8533
|
+
className: 'mw-150 mw-md-300'
|
|
8534
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8535
|
+
"class": "my-1 is-loading"
|
|
8536
|
+
})), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8537
|
+
className: "text-center",
|
|
8538
|
+
style: {
|
|
8539
|
+
minWidth: '100px'
|
|
8540
|
+
}
|
|
8541
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8542
|
+
"class": "my-1 is-loading"
|
|
8543
|
+
})), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
8544
|
+
className: "text-center"
|
|
8545
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8546
|
+
"class": "my-1 is-loading"
|
|
8547
|
+
}))), /*#__PURE__*/React__default["default"].createElement("tbody", null, _toConsumableArray__default["default"](Array(3)).map(function (item, index) {
|
|
8548
|
+
return /*#__PURE__*/React__default["default"].createElement("tr", {
|
|
8549
|
+
className: ""
|
|
8550
|
+
}, /*#__PURE__*/React__default["default"].createElement("td", {
|
|
8551
|
+
className: "mw-150 mw-md-300"
|
|
8552
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8553
|
+
"class": "my-1 is-loading"
|
|
8554
|
+
})), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
8555
|
+
className: "text-center",
|
|
8556
|
+
style: {
|
|
8557
|
+
minWidth: '100px'
|
|
8558
|
+
}
|
|
8559
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8560
|
+
"class": "my-1 is-loading"
|
|
8561
|
+
})), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
8562
|
+
className: "text-center",
|
|
8563
|
+
style: {
|
|
8564
|
+
minWidth: '100px'
|
|
8565
|
+
}
|
|
8566
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8567
|
+
"class": "my-1 is-loading"
|
|
8568
|
+
})));
|
|
8569
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8570
|
+
"class": "col-lg-12 p-0 d-none d-md-flex"
|
|
8571
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8572
|
+
className: "row m-0 w-100 align-items-center justify-content-center",
|
|
8573
|
+
style: {
|
|
8574
|
+
height: '50vh'
|
|
8575
|
+
}
|
|
8576
|
+
}, _toConsumableArray__default["default"](Array(3)).map(function (item, index) {
|
|
8577
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8578
|
+
"class": "col-lg-12 p-0"
|
|
8579
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8580
|
+
"class": "row m-0 w-100"
|
|
8581
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8582
|
+
className: "col-9 pt-2"
|
|
8583
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8584
|
+
"class": "row m-0 w-100 d-flex"
|
|
8585
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8586
|
+
"class": "col-10 p-0 mb-1"
|
|
8587
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8588
|
+
className: ' m-0 p-0 is-loading mb-auto '
|
|
8589
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8590
|
+
"class": "col-lg-12 p-0"
|
|
8591
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8592
|
+
"class": ' m-0 p-0 is-loading '
|
|
8593
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8594
|
+
"class": "col-lg-12 allcentered p-0 mt-4"
|
|
8595
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8596
|
+
className: ' w-100 is-loading ',
|
|
8597
|
+
style: {
|
|
8598
|
+
height: sectionproperties.cartBtnHeight + 'px'
|
|
8599
|
+
}
|
|
8600
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8601
|
+
"class": "col-lg-12 p-0 my-3",
|
|
8602
|
+
style: {
|
|
8603
|
+
background: '#eee',
|
|
8604
|
+
height: 1,
|
|
8605
|
+
width: '100%'
|
|
8606
|
+
}
|
|
8607
|
+
})));
|
|
8608
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8514
8609
|
className: "col-lg-12 p-0"
|
|
8515
8610
|
}, !fetchorderhistoryQueryContext.isFetching && fetchorderhistoryQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8516
8611
|
className: 'row ml-0 mr-0 d-flex justify-content-center w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
|
|
@@ -8867,9 +8962,12 @@
|
|
|
8867
8962
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8868
8963
|
className: "col-lg-9 col-md-9 col-sm-9 p-0 d-flex align-items-start"
|
|
8869
8964
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8870
|
-
className: orderhistory_cssstyles.productNameStyles + ' p-0 m-0 wordbreak wordbreak3 ',
|
|
8965
|
+
className: orderhistory_cssstyles.productNameStyles + ' p-0 m-0 wordbreak wordbreak3 cursor-pointer ',
|
|
8871
8966
|
style: {
|
|
8872
8967
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8968
|
+
},
|
|
8969
|
+
onClick: function onClick() {
|
|
8970
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
8873
8971
|
}
|
|
8874
8972
|
}, item.productname)), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8875
8973
|
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"
|
|
@@ -66752,7 +66850,7 @@
|
|
|
66752
66850
|
})), sectionproperties.view_as_slider_vertical == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66753
66851
|
"class": "row m-0 w-100"
|
|
66754
66852
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
66755
|
-
var _authdetailsContext$i3;
|
|
66853
|
+
var _authdetailsContext$i3, _authdetailsContext$i4;
|
|
66756
66854
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66757
66855
|
// class={
|
|
66758
66856
|
// sectionproperties.numofcols == '2'
|
|
@@ -66764,7 +66862,9 @@
|
|
|
66764
66862
|
// : ' col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' +
|
|
66765
66863
|
// sectionproperties.numberOfColsverticalresp
|
|
66766
66864
|
// }
|
|
66767
|
-
"class":
|
|
66865
|
+
"class":
|
|
66866
|
+
// sectionproperties.evencards
|
|
66867
|
+
(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid) == '6762e6ec9e9f8' ? sectionproperties.numofcols == '2' ? ' h-100 h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' h-100 h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : ' h-100 h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '2' ? ' h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : ' h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp,
|
|
66768
66868
|
style: {
|
|
66769
66869
|
zIndex: 2,
|
|
66770
66870
|
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
|
@@ -66795,7 +66895,7 @@
|
|
|
66795
66895
|
borderRight: cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'en' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '' : '',
|
|
66796
66896
|
borderLeft: sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'ar' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
|
|
66797
66897
|
boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor,
|
|
66798
|
-
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
66898
|
+
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66b4a0338cb14' ? '100%' : ''
|
|
66799
66899
|
},
|
|
66800
66900
|
onClick: function onClick() {
|
|
66801
66901
|
// if (cardinfoitem.iscardclickable == 'Yes') {
|