tabexseriescomponents 0.0.522 → 0.0.523
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 +31 -27
- package/dist/index.esm.js +31 -27
- package/dist/index.umd.js +31 -27
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -17271,36 +17271,40 @@ var CardsSection = function CardsSection(props) {
|
|
|
17271
17271
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, pasturl + encodeURIComponent(JSON.stringify(tempProductFilterObjContext)));
|
|
17272
17272
|
};
|
|
17273
17273
|
function PaginatedItems(_ref) {
|
|
17274
|
-
var _fetchProductsQuery$d7, _fetchProductsQuery$d8;
|
|
17274
|
+
var _fetchProductsQuery$d7, _fetchProductsQuery$d8, _fetchProductsQuery$d9;
|
|
17275
17275
|
_ref.itemsPerPage;
|
|
17276
17276
|
// const pageCount = Math.ceil(fetchProductsQuery?.data?.data?.productscou / 12);
|
|
17277
17277
|
var pageCount = Math.ceil((fetchProductsQuery === null || fetchProductsQuery === void 0 || (_fetchProductsQuery$d7 = fetchProductsQuery.data) === null || _fetchProductsQuery$d7 === void 0 || (_fetchProductsQuery$d7 = _fetchProductsQuery$d7.data) === null || _fetchProductsQuery$d7 === void 0 ? void 0 : _fetchProductsQuery$d7.productscou) / perpageItems);
|
|
17278
|
-
|
|
17279
|
-
|
|
17280
|
-
|
|
17281
|
-
|
|
17282
|
-
|
|
17283
|
-
|
|
17284
|
-
|
|
17285
|
-
|
|
17286
|
-
|
|
17287
|
-
|
|
17288
|
-
|
|
17289
|
-
|
|
17290
|
-
|
|
17291
|
-
|
|
17292
|
-
|
|
17293
|
-
|
|
17294
|
-
|
|
17295
|
-
|
|
17296
|
-
|
|
17297
|
-
|
|
17298
|
-
|
|
17299
|
-
|
|
17300
|
-
|
|
17301
|
-
|
|
17302
|
-
|
|
17303
|
-
|
|
17278
|
+
if ((fetchProductsQuery === null || fetchProductsQuery === void 0 || (_fetchProductsQuery$d8 = fetchProductsQuery.data) === null || _fetchProductsQuery$d8 === void 0 || (_fetchProductsQuery$d8 = _fetchProductsQuery$d8.data) === null || _fetchProductsQuery$d8 === void 0 ? void 0 : _fetchProductsQuery$d8.page) != undefined && (fetchProductsQuery === null || fetchProductsQuery === void 0 || (_fetchProductsQuery$d9 = fetchProductsQuery.data) === null || _fetchProductsQuery$d9 === void 0 || (_fetchProductsQuery$d9 = _fetchProductsQuery$d9.data) === null || _fetchProductsQuery$d9 === void 0 ? void 0 : _fetchProductsQuery$d9.page) != null) {
|
|
17279
|
+
var _fetchProductsQuery$d10;
|
|
17280
|
+
var currentpage = parseInt(fetchProductsQuery === null || fetchProductsQuery === void 0 || (_fetchProductsQuery$d10 = fetchProductsQuery.data) === null || _fetchProductsQuery$d10 === void 0 || (_fetchProductsQuery$d10 = _fetchProductsQuery$d10.data) === null || _fetchProductsQuery$d10 === void 0 ? void 0 : _fetchProductsQuery$d10.page);
|
|
17281
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17282
|
+
"class": "d-flex containerClassName"
|
|
17283
|
+
}, /*#__PURE__*/React__default["default"].createElement(ReactPaginate__default["default"], {
|
|
17284
|
+
breakLabel: "...",
|
|
17285
|
+
forcePage: currentpage,
|
|
17286
|
+
nextLabel: /*#__PURE__*/React__default["default"].createElement(FiChevronRight.FiChevronRight, {
|
|
17287
|
+
size: parseInt(sectionproperties.paginationFontSize) + 3
|
|
17288
|
+
}),
|
|
17289
|
+
onPageChange: handlePageClick,
|
|
17290
|
+
active: true,
|
|
17291
|
+
pageRangeDisplayed: 5,
|
|
17292
|
+
pageCount: pageCount,
|
|
17293
|
+
previousLabel: /*#__PURE__*/React__default["default"].createElement(FiChevronLeft.FiChevronLeft, {
|
|
17294
|
+
size: parseInt(sectionproperties.paginationFontSize) + 3
|
|
17295
|
+
}),
|
|
17296
|
+
renderOnZeroPageCount: null,
|
|
17297
|
+
pageLinkClassName: section_cssstyles.pageLinkClassName,
|
|
17298
|
+
nextLinkClassName: section_cssstyles.nextLinkClassName,
|
|
17299
|
+
previousLinkClassName: section_cssstyles.previousLinkClassName,
|
|
17300
|
+
activeClassName: section_cssstyles.activeClassName,
|
|
17301
|
+
activeLinkClassName: section_cssstyles.activeLinkClassName,
|
|
17302
|
+
previousClassName: section_cssstyles.previousClassName,
|
|
17303
|
+
nextClassName: section_cssstyles.nextClassName,
|
|
17304
|
+
disabledClassName: section_cssstyles.disabledClassName,
|
|
17305
|
+
disabledLinkClassName: section_cssstyles.disabledLinkClassName
|
|
17306
|
+
}));
|
|
17307
|
+
}
|
|
17304
17308
|
}
|
|
17305
17309
|
var section_cssstyles = {
|
|
17306
17310
|
sectioncontainerr: glamor.css({
|
package/dist/index.esm.js
CHANGED
|
@@ -17222,36 +17222,40 @@ var CardsSection = function CardsSection(props) {
|
|
|
17222
17222
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, pasturl + encodeURIComponent(JSON.stringify(tempProductFilterObjContext)));
|
|
17223
17223
|
};
|
|
17224
17224
|
function PaginatedItems(_ref) {
|
|
17225
|
-
var _fetchProductsQuery$d7, _fetchProductsQuery$d8;
|
|
17225
|
+
var _fetchProductsQuery$d7, _fetchProductsQuery$d8, _fetchProductsQuery$d9;
|
|
17226
17226
|
_ref.itemsPerPage;
|
|
17227
17227
|
// const pageCount = Math.ceil(fetchProductsQuery?.data?.data?.productscou / 12);
|
|
17228
17228
|
var pageCount = Math.ceil((fetchProductsQuery === null || fetchProductsQuery === void 0 || (_fetchProductsQuery$d7 = fetchProductsQuery.data) === null || _fetchProductsQuery$d7 === void 0 || (_fetchProductsQuery$d7 = _fetchProductsQuery$d7.data) === null || _fetchProductsQuery$d7 === void 0 ? void 0 : _fetchProductsQuery$d7.productscou) / perpageItems);
|
|
17229
|
-
|
|
17230
|
-
|
|
17231
|
-
|
|
17232
|
-
|
|
17233
|
-
|
|
17234
|
-
|
|
17235
|
-
|
|
17236
|
-
|
|
17237
|
-
|
|
17238
|
-
|
|
17239
|
-
|
|
17240
|
-
|
|
17241
|
-
|
|
17242
|
-
|
|
17243
|
-
|
|
17244
|
-
|
|
17245
|
-
|
|
17246
|
-
|
|
17247
|
-
|
|
17248
|
-
|
|
17249
|
-
|
|
17250
|
-
|
|
17251
|
-
|
|
17252
|
-
|
|
17253
|
-
|
|
17254
|
-
|
|
17229
|
+
if ((fetchProductsQuery === null || fetchProductsQuery === void 0 || (_fetchProductsQuery$d8 = fetchProductsQuery.data) === null || _fetchProductsQuery$d8 === void 0 || (_fetchProductsQuery$d8 = _fetchProductsQuery$d8.data) === null || _fetchProductsQuery$d8 === void 0 ? void 0 : _fetchProductsQuery$d8.page) != undefined && (fetchProductsQuery === null || fetchProductsQuery === void 0 || (_fetchProductsQuery$d9 = fetchProductsQuery.data) === null || _fetchProductsQuery$d9 === void 0 || (_fetchProductsQuery$d9 = _fetchProductsQuery$d9.data) === null || _fetchProductsQuery$d9 === void 0 ? void 0 : _fetchProductsQuery$d9.page) != null) {
|
|
17230
|
+
var _fetchProductsQuery$d10;
|
|
17231
|
+
var currentpage = parseInt(fetchProductsQuery === null || fetchProductsQuery === void 0 || (_fetchProductsQuery$d10 = fetchProductsQuery.data) === null || _fetchProductsQuery$d10 === void 0 || (_fetchProductsQuery$d10 = _fetchProductsQuery$d10.data) === null || _fetchProductsQuery$d10 === void 0 ? void 0 : _fetchProductsQuery$d10.page);
|
|
17232
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
17233
|
+
"class": "d-flex containerClassName"
|
|
17234
|
+
}, /*#__PURE__*/React.createElement(ReactPaginate, {
|
|
17235
|
+
breakLabel: "...",
|
|
17236
|
+
forcePage: currentpage,
|
|
17237
|
+
nextLabel: /*#__PURE__*/React.createElement(FiChevronRight, {
|
|
17238
|
+
size: parseInt(sectionproperties.paginationFontSize) + 3
|
|
17239
|
+
}),
|
|
17240
|
+
onPageChange: handlePageClick,
|
|
17241
|
+
active: true,
|
|
17242
|
+
pageRangeDisplayed: 5,
|
|
17243
|
+
pageCount: pageCount,
|
|
17244
|
+
previousLabel: /*#__PURE__*/React.createElement(FiChevronLeft, {
|
|
17245
|
+
size: parseInt(sectionproperties.paginationFontSize) + 3
|
|
17246
|
+
}),
|
|
17247
|
+
renderOnZeroPageCount: null,
|
|
17248
|
+
pageLinkClassName: section_cssstyles.pageLinkClassName,
|
|
17249
|
+
nextLinkClassName: section_cssstyles.nextLinkClassName,
|
|
17250
|
+
previousLinkClassName: section_cssstyles.previousLinkClassName,
|
|
17251
|
+
activeClassName: section_cssstyles.activeClassName,
|
|
17252
|
+
activeLinkClassName: section_cssstyles.activeLinkClassName,
|
|
17253
|
+
previousClassName: section_cssstyles.previousClassName,
|
|
17254
|
+
nextClassName: section_cssstyles.nextClassName,
|
|
17255
|
+
disabledClassName: section_cssstyles.disabledClassName,
|
|
17256
|
+
disabledLinkClassName: section_cssstyles.disabledLinkClassName
|
|
17257
|
+
}));
|
|
17258
|
+
}
|
|
17255
17259
|
}
|
|
17256
17260
|
var section_cssstyles = {
|
|
17257
17261
|
sectioncontainerr: css({
|
package/dist/index.umd.js
CHANGED
|
@@ -17097,36 +17097,40 @@
|
|
|
17097
17097
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, pasturl + encodeURIComponent(JSON.stringify(tempProductFilterObjContext)));
|
|
17098
17098
|
};
|
|
17099
17099
|
function PaginatedItems(_ref) {
|
|
17100
|
-
var _fetchProductsQuery$d7, _fetchProductsQuery$d8;
|
|
17100
|
+
var _fetchProductsQuery$d7, _fetchProductsQuery$d8, _fetchProductsQuery$d9;
|
|
17101
17101
|
_ref.itemsPerPage;
|
|
17102
17102
|
// const pageCount = Math.ceil(fetchProductsQuery?.data?.data?.productscou / 12);
|
|
17103
17103
|
var pageCount = Math.ceil((fetchProductsQuery === null || fetchProductsQuery === void 0 || (_fetchProductsQuery$d7 = fetchProductsQuery.data) === null || _fetchProductsQuery$d7 === void 0 || (_fetchProductsQuery$d7 = _fetchProductsQuery$d7.data) === null || _fetchProductsQuery$d7 === void 0 ? void 0 : _fetchProductsQuery$d7.productscou) / perpageItems);
|
|
17104
|
-
|
|
17105
|
-
|
|
17106
|
-
|
|
17107
|
-
|
|
17108
|
-
|
|
17109
|
-
|
|
17110
|
-
|
|
17111
|
-
|
|
17112
|
-
|
|
17113
|
-
|
|
17114
|
-
|
|
17115
|
-
|
|
17116
|
-
|
|
17117
|
-
|
|
17118
|
-
|
|
17119
|
-
|
|
17120
|
-
|
|
17121
|
-
|
|
17122
|
-
|
|
17123
|
-
|
|
17124
|
-
|
|
17125
|
-
|
|
17126
|
-
|
|
17127
|
-
|
|
17128
|
-
|
|
17129
|
-
|
|
17104
|
+
if ((fetchProductsQuery === null || fetchProductsQuery === void 0 || (_fetchProductsQuery$d8 = fetchProductsQuery.data) === null || _fetchProductsQuery$d8 === void 0 || (_fetchProductsQuery$d8 = _fetchProductsQuery$d8.data) === null || _fetchProductsQuery$d8 === void 0 ? void 0 : _fetchProductsQuery$d8.page) != undefined && (fetchProductsQuery === null || fetchProductsQuery === void 0 || (_fetchProductsQuery$d9 = fetchProductsQuery.data) === null || _fetchProductsQuery$d9 === void 0 || (_fetchProductsQuery$d9 = _fetchProductsQuery$d9.data) === null || _fetchProductsQuery$d9 === void 0 ? void 0 : _fetchProductsQuery$d9.page) != null) {
|
|
17105
|
+
var _fetchProductsQuery$d10;
|
|
17106
|
+
var currentpage = parseInt(fetchProductsQuery === null || fetchProductsQuery === void 0 || (_fetchProductsQuery$d10 = fetchProductsQuery.data) === null || _fetchProductsQuery$d10 === void 0 || (_fetchProductsQuery$d10 = _fetchProductsQuery$d10.data) === null || _fetchProductsQuery$d10 === void 0 ? void 0 : _fetchProductsQuery$d10.page);
|
|
17107
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17108
|
+
"class": "d-flex containerClassName"
|
|
17109
|
+
}, /*#__PURE__*/React__default["default"].createElement(ReactPaginate__default["default"], {
|
|
17110
|
+
breakLabel: "...",
|
|
17111
|
+
forcePage: currentpage,
|
|
17112
|
+
nextLabel: /*#__PURE__*/React__default["default"].createElement(FiChevronRight.FiChevronRight, {
|
|
17113
|
+
size: parseInt(sectionproperties.paginationFontSize) + 3
|
|
17114
|
+
}),
|
|
17115
|
+
onPageChange: handlePageClick,
|
|
17116
|
+
active: true,
|
|
17117
|
+
pageRangeDisplayed: 5,
|
|
17118
|
+
pageCount: pageCount,
|
|
17119
|
+
previousLabel: /*#__PURE__*/React__default["default"].createElement(FiChevronLeft.FiChevronLeft, {
|
|
17120
|
+
size: parseInt(sectionproperties.paginationFontSize) + 3
|
|
17121
|
+
}),
|
|
17122
|
+
renderOnZeroPageCount: null,
|
|
17123
|
+
pageLinkClassName: section_cssstyles.pageLinkClassName,
|
|
17124
|
+
nextLinkClassName: section_cssstyles.nextLinkClassName,
|
|
17125
|
+
previousLinkClassName: section_cssstyles.previousLinkClassName,
|
|
17126
|
+
activeClassName: section_cssstyles.activeClassName,
|
|
17127
|
+
activeLinkClassName: section_cssstyles.activeLinkClassName,
|
|
17128
|
+
previousClassName: section_cssstyles.previousClassName,
|
|
17129
|
+
nextClassName: section_cssstyles.nextClassName,
|
|
17130
|
+
disabledClassName: section_cssstyles.disabledClassName,
|
|
17131
|
+
disabledLinkClassName: section_cssstyles.disabledLinkClassName
|
|
17132
|
+
}));
|
|
17133
|
+
}
|
|
17130
17134
|
}
|
|
17131
17135
|
var section_cssstyles = {
|
|
17132
17136
|
sectioncontainerr: glamor.css({
|