tabexseriescomponents 0.0.411 → 0.0.412
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 +28 -1
- package/dist/index.esm.js +28 -1
- package/dist/index.umd.js +28 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -15828,6 +15828,23 @@ var CardsSection = function CardsSection(props) {
|
|
|
15828
15828
|
"class": section_cssstyles.line_right
|
|
15829
15829
|
}));
|
|
15830
15830
|
};
|
|
15831
|
+
var isCardsectionloading = function isCardsectionloading() {
|
|
15832
|
+
var isloading = false;
|
|
15833
|
+
if (fetchingtype == 'products') {
|
|
15834
|
+
if (fetchProductsQuery !== null && fetchProductsQuery !== void 0 && fetchProductsQuery.isFetching) {
|
|
15835
|
+
isloading = true;
|
|
15836
|
+
}
|
|
15837
|
+
} else if (fetchingtype == 'vendors') {
|
|
15838
|
+
if (FetchVendorsQuery !== null && FetchVendorsQuery !== void 0 && FetchVendorsQuery.isFetching) {
|
|
15839
|
+
isloading = true;
|
|
15840
|
+
}
|
|
15841
|
+
} else {
|
|
15842
|
+
if ((fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.isFetching) == true || (fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 ? void 0 : fetchcollectionsQueryContext.isFetching) == true) {
|
|
15843
|
+
isloading = true;
|
|
15844
|
+
}
|
|
15845
|
+
}
|
|
15846
|
+
return isloading;
|
|
15847
|
+
};
|
|
15831
15848
|
var cardsrender = function cardsrender() {
|
|
15832
15849
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15833
15850
|
"class": sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical' ? sectionproperties.numofcols == '2' ? 'col-lg-10 col-md-12 col-sm-12 p-sm-0' : 'col-lg-9 col-md-12 col-sm-12 p-sm-0' : 'row m-0 w-100 p-sm-0'
|
|
@@ -16019,7 +16036,17 @@ var CardsSection = function CardsSection(props) {
|
|
|
16019
16036
|
actions: actions,
|
|
16020
16037
|
openFilterSlider: openFilterSlider,
|
|
16021
16038
|
setopenFilterSlider: setopenFilterSlider
|
|
16022
|
-
}))),
|
|
16039
|
+
}))), isCardsectionloading() && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16040
|
+
"class": "col-lg-12 allcentered",
|
|
16041
|
+
style: {
|
|
16042
|
+
height: 100
|
|
16043
|
+
}
|
|
16044
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
16045
|
+
color: '#eeeeee',
|
|
16046
|
+
width: "30px",
|
|
16047
|
+
height: "30px",
|
|
16048
|
+
duration: "1s"
|
|
16049
|
+
})), !isCardsectionloading && cardsarray.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16023
16050
|
className: "row m-0 w-100 d-flex align-items-center",
|
|
16024
16051
|
style: {
|
|
16025
16052
|
height: '30vh'
|
package/dist/index.esm.js
CHANGED
|
@@ -15779,6 +15779,23 @@ var CardsSection = function CardsSection(props) {
|
|
|
15779
15779
|
"class": section_cssstyles.line_right
|
|
15780
15780
|
}));
|
|
15781
15781
|
};
|
|
15782
|
+
var isCardsectionloading = function isCardsectionloading() {
|
|
15783
|
+
var isloading = false;
|
|
15784
|
+
if (fetchingtype == 'products') {
|
|
15785
|
+
if (fetchProductsQuery !== null && fetchProductsQuery !== void 0 && fetchProductsQuery.isFetching) {
|
|
15786
|
+
isloading = true;
|
|
15787
|
+
}
|
|
15788
|
+
} else if (fetchingtype == 'vendors') {
|
|
15789
|
+
if (FetchVendorsQuery !== null && FetchVendorsQuery !== void 0 && FetchVendorsQuery.isFetching) {
|
|
15790
|
+
isloading = true;
|
|
15791
|
+
}
|
|
15792
|
+
} else {
|
|
15793
|
+
if ((fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.isFetching) == true || (fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 ? void 0 : fetchcollectionsQueryContext.isFetching) == true) {
|
|
15794
|
+
isloading = true;
|
|
15795
|
+
}
|
|
15796
|
+
}
|
|
15797
|
+
return isloading;
|
|
15798
|
+
};
|
|
15782
15799
|
var cardsrender = function cardsrender() {
|
|
15783
15800
|
return /*#__PURE__*/React.createElement("div", {
|
|
15784
15801
|
"class": sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical' ? sectionproperties.numofcols == '2' ? 'col-lg-10 col-md-12 col-sm-12 p-sm-0' : 'col-lg-9 col-md-12 col-sm-12 p-sm-0' : 'row m-0 w-100 p-sm-0'
|
|
@@ -15970,7 +15987,17 @@ var CardsSection = function CardsSection(props) {
|
|
|
15970
15987
|
actions: actions,
|
|
15971
15988
|
openFilterSlider: openFilterSlider,
|
|
15972
15989
|
setopenFilterSlider: setopenFilterSlider
|
|
15973
|
-
}))),
|
|
15990
|
+
}))), isCardsectionloading() && /*#__PURE__*/React.createElement("div", {
|
|
15991
|
+
"class": "col-lg-12 allcentered",
|
|
15992
|
+
style: {
|
|
15993
|
+
height: 100
|
|
15994
|
+
}
|
|
15995
|
+
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
15996
|
+
color: '#eeeeee',
|
|
15997
|
+
width: "30px",
|
|
15998
|
+
height: "30px",
|
|
15999
|
+
duration: "1s"
|
|
16000
|
+
})), !isCardsectionloading && cardsarray.length == 0 && /*#__PURE__*/React.createElement("div", {
|
|
15974
16001
|
className: "row m-0 w-100 d-flex align-items-center",
|
|
15975
16002
|
style: {
|
|
15976
16003
|
height: '30vh'
|
package/dist/index.umd.js
CHANGED
|
@@ -15660,6 +15660,23 @@
|
|
|
15660
15660
|
"class": section_cssstyles.line_right
|
|
15661
15661
|
}));
|
|
15662
15662
|
};
|
|
15663
|
+
var isCardsectionloading = function isCardsectionloading() {
|
|
15664
|
+
var isloading = false;
|
|
15665
|
+
if (fetchingtype == 'products') {
|
|
15666
|
+
if (fetchProductsQuery !== null && fetchProductsQuery !== void 0 && fetchProductsQuery.isFetching) {
|
|
15667
|
+
isloading = true;
|
|
15668
|
+
}
|
|
15669
|
+
} else if (fetchingtype == 'vendors') {
|
|
15670
|
+
if (FetchVendorsQuery !== null && FetchVendorsQuery !== void 0 && FetchVendorsQuery.isFetching) {
|
|
15671
|
+
isloading = true;
|
|
15672
|
+
}
|
|
15673
|
+
} else {
|
|
15674
|
+
if ((fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.isFetching) == true || (fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 ? void 0 : fetchcollectionsQueryContext.isFetching) == true) {
|
|
15675
|
+
isloading = true;
|
|
15676
|
+
}
|
|
15677
|
+
}
|
|
15678
|
+
return isloading;
|
|
15679
|
+
};
|
|
15663
15680
|
var cardsrender = function cardsrender() {
|
|
15664
15681
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15665
15682
|
"class": sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical' ? sectionproperties.numofcols == '2' ? 'col-lg-10 col-md-12 col-sm-12 p-sm-0' : 'col-lg-9 col-md-12 col-sm-12 p-sm-0' : 'row m-0 w-100 p-sm-0'
|
|
@@ -15851,7 +15868,17 @@
|
|
|
15851
15868
|
actions: actions,
|
|
15852
15869
|
openFilterSlider: openFilterSlider,
|
|
15853
15870
|
setopenFilterSlider: setopenFilterSlider
|
|
15854
|
-
}))),
|
|
15871
|
+
}))), isCardsectionloading() && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15872
|
+
"class": "col-lg-12 allcentered",
|
|
15873
|
+
style: {
|
|
15874
|
+
height: 100
|
|
15875
|
+
}
|
|
15876
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
15877
|
+
color: '#eeeeee',
|
|
15878
|
+
width: "30px",
|
|
15879
|
+
height: "30px",
|
|
15880
|
+
duration: "1s"
|
|
15881
|
+
})), !isCardsectionloading && cardsarray.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15855
15882
|
className: "row m-0 w-100 d-flex align-items-center",
|
|
15856
15883
|
style: {
|
|
15857
15884
|
height: '30vh'
|