@uxf/cms 11.32.0 → 11.33.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -45,6 +45,6 @@ const ForgottenPasswordForm = (props) => {
45
45
  react_1.default.createElement(text_input_1.TextInput, { control: formApi.control, isDisabled: formDisabled, isRequired: true, label: "E-mail", name: "username", type: "text" }),
46
46
  react_1.default.createElement(button_1.Button, { isDisabled: formDisabled || formApi.formState.isSubmitting, isFullWidth: true, isLoading: formApi.formState.isSubmitting, type: "submit" }, "Obnovit heslo"),
47
47
  onLogin && (react_1.default.createElement("div", { className: "text-right" },
48
- react_1.default.createElement(text_link_1.TextLink, { className: "uxf-typo-medium2 text-primary", disabled: formApi.formState.isSubmitting, onClick: onLogin }, "P\u0159ihl\u00E1sit"))))));
48
+ react_1.default.createElement(text_link_1.TextLink, { className: "uxf-typo-medium2 text-primary", isDisabled: formApi.formState.isSubmitting, onClick: onLogin }, "P\u0159ihl\u00E1sit"))))));
49
49
  };
50
50
  exports.ForgottenPasswordForm = ForgottenPasswordForm;
@@ -43,7 +43,7 @@ const LoginForm = (props) => {
43
43
  react_1.default.createElement(text_input_1.TextInput, { control: formApi.control, isDisabled: formDisabled, isRequired: true, label: "E-mail", name: "username", type: "email" }),
44
44
  react_1.default.createElement(text_input_1.TextInput, { control: formApi.control, isDisabled: formDisabled, isRequired: true, label: "Heslo", name: "password", type: "password" }),
45
45
  onForgottenPassword && (react_1.default.createElement("div", { className: "text-right" },
46
- react_1.default.createElement(text_link_1.TextLink, { className: "uxf-typo-medium2 text-primary", disabled: formApi.formState.isSubmitting, onClick: onForgottenPassword }, "Nepamatujete si sv\u00E9 heslo?"))),
46
+ react_1.default.createElement(text_link_1.TextLink, { className: "uxf-typo-medium2 text-primary", isDisabled: formApi.formState.isSubmitting, onClick: onForgottenPassword }, "Nepamatujete si sv\u00E9 heslo?"))),
47
47
  react_1.default.createElement(button_1.Button, { isFullWidth: true, type: "submit" }, "P\u0159ihl\u00E1sit se"))));
48
48
  };
49
49
  exports.LoginForm = LoginForm;
package/lib/menu/model.js CHANGED
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MenuItem = void 0;
4
4
  const empty_array_1 = require("@uxf/core/constants/empty-array");
5
- const is_not_nil_1 = require("@uxf/core/utils/is-not-nil");
6
5
  class MenuItem {
7
6
  static create(title, type) {
8
7
  return new MenuItem(title, type);
@@ -54,7 +53,7 @@ class MenuItem {
54
53
  return this;
55
54
  }
56
55
  isActive(router, activeRoute) {
57
- return (0, is_not_nil_1.isNotNil)(this._activeItemResolver && this._activeItemResolver(router, activeRoute));
56
+ return Boolean(this._activeItemResolver && this._activeItemResolver(router, activeRoute));
58
57
  }
59
58
  hasActiveChildren(router, activeRoute) {
60
59
  return this.children.some((item) => item.isActive(router, activeRoute));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/cms",
3
- "version": "11.32.0",
3
+ "version": "11.33.1",
4
4
  "description": "UXF Cms",
5
5
  "author": "UXFans <dev@uxf.cz>",
6
6
  "homepage": "https://gitlab.com/uxf-npm/cms#readme",
@@ -31,12 +31,12 @@
31
31
  "@floating-ui/react": "0.26.23",
32
32
  "@redux-devtools/extension": "3.3.0",
33
33
  "@uxf/core": "11.32.0",
34
- "@uxf/core-react": "11.32.0",
35
- "@uxf/data-grid": "11.32.0",
36
- "@uxf/form": "11.32.0",
34
+ "@uxf/core-react": "11.33.0",
35
+ "@uxf/data-grid": "11.33.1",
36
+ "@uxf/form": "11.33.0",
37
37
  "@uxf/router": "11.32.0",
38
- "@uxf/ui": "11.32.0",
39
- "@uxf/wysiwyg": "11.32.0",
38
+ "@uxf/ui": "11.33.0",
39
+ "@uxf/wysiwyg": "11.33.0",
40
40
  "axios": "1.7.5",
41
41
  "axios-hooks": "5.0.2",
42
42
  "es6-error": "4.1.1",