@uxf/cms 11.0.0-beta.2 → 11.0.0-beta.5

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/cms",
3
- "version": "11.0.0-beta.2",
3
+ "version": "11.0.0-beta.5",
4
4
  "description": "UXF Cms",
5
5
  "author": "UXFans <dev@uxf.cz>",
6
6
  "homepage": "https://gitlab.com/uxf-npm/cms#readme",
@@ -31,7 +31,7 @@
31
31
  "@floating-ui/react": "0.26.0",
32
32
  "@redux-devtools/extension": "3.2.5",
33
33
  "@uxf/core": "10.0.0",
34
- "@uxf/data-grid": "11.0.0-beta.2",
34
+ "@uxf/data-grid": "11.0.0-beta.5",
35
35
  "@uxf/form": "10.0.9",
36
36
  "@uxf/router": "10.0.0",
37
37
  "@uxf/ui": "10.0.7",
@@ -66,7 +66,12 @@ const GridPageComponent = (props) => {
66
66
  router_2.default.replace(`${(0, url_1.parse)(((_a = window.history.state) === null || _a === void 0 ? void 0 : _a.url) || "").pathname}?${(0, qs_1.stringify)(newQuery)}`, `${(0, url_1.parse)(((_b = window.history.state) === null || _b === void 0 ? void 0 : _b.as) || "").pathname}?${(0, qs_1.stringify)(newQuery)}`, { shallow: true });
67
67
  return response;
68
68
  }, [query]);
69
- const { data, isLoading, error, onReload } = (0, use_data_grid_fetching_1.useDataGridFetching)((_c = props.loader) !== null && _c !== void 0 ? _c : universalLoader, props.gridSchema, (_e = (_d = props.metaSchema) === null || _d === void 0 ? void 0 : _d.entityAlias) !== null && _e !== void 0 ? _e : "", state);
69
+ const { data, isLoading, error, onReload } = (0, use_data_grid_fetching_1.useDataGridFetching)({
70
+ loader: (_c = props.loader) !== null && _c !== void 0 ? _c : universalLoader,
71
+ schema: props.gridSchema,
72
+ gridName: (_e = (_d = props.metaSchema) === null || _d === void 0 ? void 0 : _d.entityAlias) !== null && _e !== void 0 ? _e : "",
73
+ state,
74
+ });
70
75
  const uiContextValues = (0, react_1.useContext)(context_1.UiContext);
71
76
  const actionsBag = (0, react_1.useMemo)(() => ({
72
77
  reload: onReload,