@uxf/cms 11.113.0 → 11.114.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/config/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.container = void 0;
4
- // eslint-disable-next-line import/no-cycle
5
4
  const container_1 = require("./container");
6
5
  exports.container = new container_1.Container();
@@ -24,6 +24,7 @@ const visibilityLevelOptions = [
24
24
  { id: "PUBLIC_WITHOUT_SITEMAP", label: "Veřejný bez sitemapy" },
25
25
  { id: "PUBLIC", label: "Veřejný" },
26
26
  ];
27
+ // eslint-disable-next-line complexity
27
28
  function ContentBuilderBasicForm(props) {
28
29
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
29
30
  const seoName = props.formApi.watch("seo.name");
@@ -9,6 +9,7 @@ const file_input_1 = require("@uxf/form/file-input");
9
9
  const text_input_1 = require("@uxf/form/text-input");
10
10
  const react_1 = __importDefault(require("react"));
11
11
  const api_1 = require("../../api");
12
+ // eslint-disable-next-line complexity
12
13
  function ContentBuilderSeoForm(props) {
13
14
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
14
15
  const t = (0, translations_1.useUxfTranslation)();
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.mapContentResponseToFormData = mapContentResponseToFormData;
4
4
  const is_not_empty_1 = require("@uxf/core/utils/is-not-empty");
5
5
  const is_not_nil_1 = require("@uxf/core/utils/is-not-nil");
6
+ // eslint-disable-next-line complexity
6
7
  function mapContentResponseToFormData(content) {
7
8
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
8
9
  return {
@@ -47,8 +47,7 @@ const cms_authorizator_1 = __importDefault(require("../security/cms-authorizator
47
47
  */
48
48
  const withAuthenticate = (config) => (Component) => {
49
49
  var _a;
50
- // eslint-disable-next-line import/no-named-as-default-member
51
- return (_a = class extends react_1.Component {
50
+ return _a = class extends react_1.Component {
52
51
  static async getInitialProps(ctx) {
53
52
  const user = config_1.container.has("api.getLoggedUser")
54
53
  ? await config_1.container.get("api.getLoggedUser")(ctx)
@@ -63,6 +62,6 @@ const withAuthenticate = (config) => (Component) => {
63
62
  }
64
63
  },
65
64
  _a.displayName = "withAuthenticateHOC",
66
- _a);
65
+ _a;
67
66
  }; // TODO!
68
67
  exports.withAuthenticate = withAuthenticate;
package/lib/api/index.js CHANGED
@@ -14,6 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- // eslint-disable-next-line import/no-cycle
18
17
  __exportStar(require("./create-axios-instance"), exports);
19
18
  __exportStar(require("./types"), exports);
@@ -1,3 +1,4 @@
1
+ import { AnyObject } from "@uxf/core/types";
1
2
  import { ReactElement } from "react";
2
3
  import { ListItemProps } from "./types";
3
- export declare function ListItem<T extends Record<string, any>>(props: ListItemProps<T>): ReactElement;
4
+ export declare function ListItem<T extends AnyObject>(props: ListItemProps<T>): ReactElement;
@@ -11,6 +11,7 @@ const link_1 = __importDefault(require("next/link"));
11
11
  const react_1 = __importDefault(require("react"));
12
12
  const config_1 = require("../../../../config");
13
13
  const sub_menu_1 = require("../sub-menu/sub-menu");
14
+ // eslint-disable-next-line complexity
14
15
  function ListItem(props) {
15
16
  var _a, _b, _c, _d;
16
17
  const hasSubMenu = Boolean((_a = props.subMenu) === null || _a === void 0 ? void 0 : _a.length);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/cms",
3
- "version": "11.113.0",
3
+ "version": "11.114.0",
4
4
  "description": "UXF Cms",
5
5
  "author": "UXFans <dev@uxf.cz>",
6
6
  "homepage": "https://gitlab.com/uxf-npm/cms#readme",
@@ -32,14 +32,14 @@
32
32
  "@dnd-kit/sortable": "^10.0.0",
33
33
  "@dnd-kit/utilities": "^3.2.2",
34
34
  "@floating-ui/react": "^0.27.17",
35
- "@uxf/core": "11.111.2",
36
- "@uxf/core-react": "11.111.2",
37
- "@uxf/data-grid": "11.113.0",
38
- "@uxf/form": "11.113.0",
39
- "@uxf/router": "11.111.2",
40
- "@uxf/styles": "11.111.2",
41
- "@uxf/ui": "11.113.0",
42
- "@uxf/wysiwyg": "11.113.0",
35
+ "@uxf/core": "11.114.0",
36
+ "@uxf/core-react": "11.114.0",
37
+ "@uxf/data-grid": "11.114.0",
38
+ "@uxf/form": "11.114.0",
39
+ "@uxf/router": "11.114.0",
40
+ "@uxf/styles": "11.114.0",
41
+ "@uxf/ui": "11.114.0",
42
+ "@uxf/wysiwyg": "11.114.0",
43
43
  "axios": "^1.13.4",
44
44
  "axios-hooks": "^5.1.1",
45
45
  "next": ">=13.2.0",
@@ -56,14 +56,14 @@
56
56
  "@types/node": "24",
57
57
  "@types/react": "18.3.27",
58
58
  "@types/react-dom": "18.3.7",
59
- "@uxf/core": "11.111.2",
60
- "@uxf/core-react": "11.111.2",
61
- "@uxf/data-grid": "11.113.0",
62
- "@uxf/form": "11.113.0",
63
- "@uxf/router": "11.111.2",
64
- "@uxf/styles": "11.111.2",
65
- "@uxf/ui": "11.113.0",
66
- "@uxf/wysiwyg": "11.113.0",
59
+ "@uxf/core": "11.114.0",
60
+ "@uxf/core-react": "11.114.0",
61
+ "@uxf/data-grid": "11.114.0",
62
+ "@uxf/form": "11.114.0",
63
+ "@uxf/router": "11.114.0",
64
+ "@uxf/styles": "11.114.0",
65
+ "@uxf/ui": "11.114.0",
66
+ "@uxf/wysiwyg": "11.114.0",
67
67
  "axios": "^1.13.4",
68
68
  "axios-hooks": "^5.1.1",
69
69
  "next": "16.1.6",
@@ -64,6 +64,7 @@ const dataGridLoader = (gridName, request) => {
64
64
  };
65
65
  exports.dataGridLoader = dataGridLoader;
66
66
  const DefaultLayout = (props) => react_1.default.createElement("div", { ...props });
67
+ // eslint-disable-next-line complexity
67
68
  function GridPageComponent(props) {
68
69
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
69
70
  // eslint-disable-next-line react/destructuring-assignment