@bigbinary/neeto-fields-frontend 2.3.10 → 2.3.12
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/FieldsDashboard.js +22 -18
- package/dist/FieldsDashboard.js.map +1 -1
- package/dist/cjs/FieldsDashboard.js +21 -17
- package/dist/cjs/FieldsDashboard.js.map +1 -1
- package/package.json +15 -15
|
@@ -340,8 +340,7 @@ var FieldsTable = function FieldsTable(_ref) {
|
|
|
340
340
|
}
|
|
341
341
|
};
|
|
342
342
|
}
|
|
343
|
-
return /*#__PURE__*/jsxRuntime.jsx(
|
|
344
|
-
hasPagination: totalCount > constants.DEFAULT_PAGE_SIZE,
|
|
343
|
+
return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
345
344
|
children: showNoDataScreen ? /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
346
345
|
className: "flex h-full w-full items-center justify-center",
|
|
347
346
|
children: /*#__PURE__*/jsxRuntime.jsx(NoData, _objectSpread$2({
|
|
@@ -352,20 +351,23 @@ var FieldsTable = function FieldsTable(_ref) {
|
|
|
352
351
|
title: title
|
|
353
352
|
})
|
|
354
353
|
}, noDataProps))
|
|
355
|
-
}) : /*#__PURE__*/jsxRuntime.jsx(
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
354
|
+
}) : /*#__PURE__*/jsxRuntime.jsx(TableWrapper, {
|
|
355
|
+
hasPagination: totalCount > constants.DEFAULT_PAGE_SIZE,
|
|
356
|
+
children: /*#__PURE__*/jsxRuntime.jsx(Table, {
|
|
357
|
+
columnData: columnData,
|
|
358
|
+
rowData: rowData,
|
|
359
|
+
totalCount: totalCount,
|
|
360
|
+
fixedHeight: true,
|
|
361
|
+
allowRowClick: false,
|
|
362
|
+
currentPageNumber: page,
|
|
363
|
+
defaultPageSize: pageSize,
|
|
364
|
+
handlePageChange: function handlePageChange(page) {
|
|
365
|
+
return setPageProps(_objectSpread$2(_objectSpread$2({}, pageProps), {}, {
|
|
366
|
+
page: page
|
|
367
|
+
}));
|
|
368
|
+
},
|
|
369
|
+
loading: isFetching
|
|
370
|
+
})
|
|
369
371
|
})
|
|
370
372
|
});
|
|
371
373
|
};
|
|
@@ -4799,7 +4801,8 @@ var ReorderPane = function ReorderPane(_ref) {
|
|
|
4799
4801
|
};
|
|
4800
4802
|
|
|
4801
4803
|
var Subheader = function Subheader(_ref) {
|
|
4802
|
-
var count = _ref.count,
|
|
4804
|
+
var _ref$count = _ref.count,
|
|
4805
|
+
count = _ref$count === void 0 ? 0 : _ref$count,
|
|
4803
4806
|
reorderable = _ref.reorderable,
|
|
4804
4807
|
searchKeywordProps = _ref.searchKeywordProps,
|
|
4805
4808
|
setIsReorderPaneOpen = _ref.setIsReorderPaneOpen,
|
|
@@ -4816,6 +4819,7 @@ var Subheader = function Subheader(_ref) {
|
|
|
4816
4819
|
count: count
|
|
4817
4820
|
})
|
|
4818
4821
|
}), /*#__PURE__*/jsxRuntime.jsx(FilterBar, {
|
|
4822
|
+
className: "mb-0",
|
|
4819
4823
|
keyword: searchKeywordProps
|
|
4820
4824
|
})]
|
|
4821
4825
|
}),
|