@uxf/cms 11.34.0 → 11.35.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.34.0",
3
+ "version": "11.35.0",
4
4
  "description": "UXF Cms",
5
5
  "author": "UXFans <dev@uxf.cz>",
6
6
  "homepage": "https://gitlab.com/uxf-npm/cms#readme",
@@ -30,13 +30,13 @@
30
30
  "@dnd-kit/utilities": "3.2.2",
31
31
  "@floating-ui/react": "0.26.23",
32
32
  "@redux-devtools/extension": "3.3.0",
33
- "@uxf/core": "11.32.0",
34
- "@uxf/core-react": "11.33.0",
35
- "@uxf/data-grid": "11.34.0",
36
- "@uxf/form": "11.34.0",
33
+ "@uxf/core": "11.35.0",
34
+ "@uxf/core-react": "11.35.0",
35
+ "@uxf/data-grid": "11.35.0",
36
+ "@uxf/form": "11.35.0",
37
37
  "@uxf/router": "11.32.0",
38
- "@uxf/ui": "11.34.0",
39
- "@uxf/wysiwyg": "11.34.0",
38
+ "@uxf/ui": "11.35.0",
39
+ "@uxf/wysiwyg": "11.35.0",
40
40
  "axios": "1.7.5",
41
41
  "axios-hooks": "5.0.2",
42
42
  "es6-error": "4.1.1",
@@ -36,6 +36,7 @@ const use_data_grid_control_1 = require("@uxf/data-grid/use-data-grid-control");
36
36
  const use_data_grid_fetching_1 = require("@uxf/data-grid/use-data-grid-fetching");
37
37
  const router_1 = require("@uxf/router");
38
38
  const icon_1 = require("@uxf/ui/icon");
39
+ const link_1 = __importDefault(require("next/link"));
39
40
  const router_2 = __importDefault(require("next/router"));
40
41
  const qs_1 = require("qs");
41
42
  const react_1 = __importStar(require("react"));
@@ -103,6 +104,7 @@ const GridPageComponent = (props) => {
103
104
  .when((0, is_not_nil_1.isNotNil)((_a = props.onOpen) !== null && _a !== void 0 ? _a : props.getOpenUrl), {
104
105
  icon: "circle-info",
105
106
  onClick: () => { var _a; return (_a = props.onOpen) === null || _a === void 0 ? void 0 : _a.call(props, props.entityAlias, actionCellProps.row, actionsBag); },
107
+ as: props.getOpenUrl ? link_1.default : undefined,
106
108
  href: (_c = (_b = props.getOpenUrl) === null || _b === void 0 ? void 0 : _b.call(props, props.entityAlias, actionCellProps.row)) !== null && _c !== void 0 ? _c : undefined,
107
109
  isIconButton: true,
108
110
  title: "Detail",
@@ -110,6 +112,7 @@ const GridPageComponent = (props) => {
110
112
  .when((0, is_not_nil_1.isNotNil)((_d = props.onEdit) !== null && _d !== void 0 ? _d : props.getEditUrl), {
111
113
  icon: "pen",
112
114
  onClick: () => { var _a; return (_a = props.onEdit) === null || _a === void 0 ? void 0 : _a.call(props, props.entityAlias, actionCellProps.row, actionsBag); },
115
+ as: props.getEditUrl ? link_1.default : undefined,
113
116
  href: (_f = (_e = props.getEditUrl) === null || _e === void 0 ? void 0 : _e.call(props, props.entityAlias, actionCellProps.row)) !== null && _f !== void 0 ? _f : undefined,
114
117
  isIconButton: true,
115
118
  title: "Upravit",