@uxf/cms 11.93.3 → 11.94.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/cms",
3
- "version": "11.93.3",
3
+ "version": "11.94.0",
4
4
  "description": "UXF Cms",
5
5
  "author": "UXFans <dev@uxf.cz>",
6
6
  "homepage": "https://gitlab.com/uxf-npm/cms#readme",
@@ -31,11 +31,11 @@
31
31
  "@floating-ui/react": "0.27.16",
32
32
  "@uxf/core": "11.93.0",
33
33
  "@uxf/core-react": "11.93.0",
34
- "@uxf/data-grid": "11.93.3",
35
- "@uxf/form": "11.93.3",
34
+ "@uxf/data-grid": "11.94.0",
35
+ "@uxf/form": "11.94.0",
36
36
  "@uxf/router": "11.92.0",
37
- "@uxf/ui": "11.93.3",
38
- "@uxf/wysiwyg": "11.93.3",
37
+ "@uxf/ui": "11.94.0",
38
+ "@uxf/wysiwyg": "11.94.0",
39
39
  "axios": "1.13.2",
40
40
  "axios-hooks": "5.1.1",
41
41
  "es6-error": "4.1.1",
@@ -107,6 +107,7 @@ function GridPageComponent(props) {
107
107
  const actionColumnButtonsCount = (props.onEdit || props.getEditUrl ? 1 : 0) +
108
108
  (props.onOpen || props.getOpenUrl ? 1 : 0) +
109
109
  (props.onRemove ? 1 : 0);
110
+ // typing not done -> will be deleted completely soon!
110
111
  const actionCell = (_f = (_e = props.ui) === null || _e === void 0 ? void 0 : _e.actionCell) !== null && _f !== void 0 ? _f : (actionColumnButtonsCount > 0
111
112
  ? {
112
113
  width: actionColumnButtonsCount * 40 + 8,
@@ -9,10 +9,10 @@ export type ActionsBag = {
9
9
  };
10
10
  export type LayoutComponent = FC<LayoutProps>;
11
11
  type UIComponents = {
12
- BodyCells?: DataGridProps<any, any>["bodyCells"];
13
- FilterHandlers?: DataGridProps<any, any>["filterHandlers"];
14
- NoRowsFallback?: DataGridProps<any, any>["NoRowsFallback"];
15
- SelectedRowsToolbarActions?: DataGridProps<any, any>["SelectedRowsToolbarActions"];
12
+ BodyCells?: DataGridProps<any>["bodyCells"];
13
+ FilterHandlers?: DataGridProps<any>["filterHandlers"];
14
+ NoRowsFallback?: DataGridProps<any>["NoRowsFallback"];
15
+ SelectedRowsToolbarActions?: DataGridProps<any>["SelectedRowsToolbarActions"];
16
16
  Layout?: LayoutComponent;
17
17
  actionCell?: {
18
18
  Component: ActionCellComponent<any>;
@@ -35,11 +35,11 @@ export type GridPageComponentProps = {
35
35
  loader?: Loader;
36
36
  gridSchema: Schema<any>;
37
37
  metaSchema?: EntityMetaSchema;
38
- rowHeight?: DataGridProps<any, any>["rowHeight"];
38
+ rowHeight?: DataGridProps<any>["rowHeight"];
39
39
  AddIcon?: ReactElement;
40
40
  onAddTitle?: string;
41
41
  selectable?: boolean;
42
- customActions?: DataGridProps<any, any>["customActions"];
42
+ customActions?: DataGridProps<any>["customActions"];
43
43
  initialUserConfig?: DataGridUserConfig<any> | Nullish;
44
44
  };
45
45
  export type GridPageConfig<T extends object = any> = {
@@ -55,11 +55,11 @@ export type GridPageConfig<T extends object = any> = {
55
55
  onRemove?: (entityAlias: string, row: T, actions: ActionsBag) => void;
56
56
  allowedRoles?: string[];
57
57
  loader?: Loader;
58
- rowHeight?: DataGridProps<any, any>["rowHeight"];
58
+ rowHeight?: DataGridProps<any>["rowHeight"];
59
59
  AddIcon?: ReactElement;
60
60
  onAddTitle?: string;
61
61
  selectable?: boolean;
62
- customActions?: DataGridProps<any, any>["customActions"];
62
+ customActions?: DataGridProps<any>["customActions"];
63
63
  initialUserConfig?: DataGridUserConfig<any> | Nullish;
64
64
  };
65
65
  export {};