@uxf/cms 11.72.5 → 11.74.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 +6 -6
- package/translations/translations.d.ts +429 -0
- package/translations/translations.js +31 -0
- package/api/index.d.ts +0 -165
- package/api/index.js +0 -100
- package/api/swr.d.ts +0 -76
- package/api/swr.js +0 -43
- package/config/container.d.ts +0 -29
- package/config/container.js +0 -24
- package/config/index.d.ts +0 -2
- package/config/index.js +0 -6
- package/content-builder/content-builder-body.d.ts +0 -6
- package/content-builder/content-builder-body.js +0 -10
- package/content-builder/content-builder-header.d.ts +0 -7
- package/content-builder/content-builder-header.js +0 -13
- package/content-builder/content-builder-root.d.ts +0 -11
- package/content-builder/content-builder-root.js +0 -13
- package/content-builder/content-builder-sidebar.d.ts +0 -7
- package/content-builder/content-builder-sidebar.js +0 -12
- package/content-builder/content-builder.d.ts +0 -14
- package/content-builder/content-builder.js +0 -55
- package/content-builder/forms/content-builder-basic-form.d.ts +0 -10
- package/content-builder/forms/content-builder-basic-form.js +0 -47
- package/content-builder/forms/content-builder-seo-form.d.ts +0 -10
- package/content-builder/forms/content-builder-seo-form.js +0 -20
- package/content-builder/index.d.ts +0 -4
- package/content-builder/index.js +0 -20
- package/content-builder/map-content-response-to-form-data.d.ts +0 -3
- package/content-builder/map-content-response-to-form-data.js +0 -44
- package/content-builder/map-form-data-to-content-request.d.ts +0 -2
- package/content-builder/map-form-data-to-content-request.js +0 -28
- package/content-builder/types.d.ts +0 -186
- package/content-builder/types.js +0 -2
- package/content-builder/use-content-builder-form-api.d.ts +0 -3
- package/content-builder/use-content-builder-form-api.js +0 -7
- package/context/cms-provider.d.ts +0 -7
- package/context/cms-provider.js +0 -18
- package/deprecated/api/api-client.d.ts +0 -15
- package/deprecated/api/api-client.js +0 -86
- package/deprecated/hoc/with-authenticate.d.ts +0 -6
- package/deprecated/hoc/with-authenticate.js +0 -61
- package/deprecated/redux/configure-store.d.ts +0 -3
- package/deprecated/redux/configure-store.js +0 -16
- package/deprecated/redux/entities/actions.d.ts +0 -30
- package/deprecated/redux/entities/actions.js +0 -15
- package/deprecated/redux/entities/index.d.ts +0 -2
- package/deprecated/redux/entities/index.js +0 -18
- package/deprecated/redux/entities/reducer.d.ts +0 -3
- package/deprecated/redux/entities/reducer.js +0 -36
- package/deprecated/redux/entities/selectors.d.ts +0 -10
- package/deprecated/redux/entities/selectors.js +0 -16
- package/deprecated/redux/index.d.ts +0 -3
- package/deprecated/redux/index.js +0 -22
- package/deprecated/redux/redux-helper.d.ts +0 -15
- package/deprecated/redux/redux-helper.js +0 -6
- package/deprecated/redux/types.d.ts +0 -7
- package/deprecated/redux/types.js +0 -2
- package/deprecated/redux/user/actions.d.ts +0 -19
- package/deprecated/redux/user/actions.js +0 -14
- package/deprecated/redux/user/index.d.ts +0 -2
- package/deprecated/redux/user/index.js +0 -18
- package/deprecated/redux/user/reducer.d.ts +0 -3
- package/deprecated/redux/user/reducer.js +0 -21
- package/deprecated/redux/user/selectors.d.ts +0 -3
- package/deprecated/redux/user/selectors.js +0 -5
- package/deprecated/redux/with-redux-store.d.ts +0 -1
- package/deprecated/redux/with-redux-store.js +0 -70
- package/deprecated/security/cms-authorizator.d.ts +0 -3
- package/deprecated/security/cms-authorizator.js +0 -8
- package/deprecated/types/app.d.ts +0 -6
- package/deprecated/types/app.js +0 -2
- package/deprecated/types/form.d.ts +0 -25
- package/deprecated/types/form.js +0 -16
- package/errors/BadRequestError.d.ts +0 -18
- package/errors/BadRequestError.js +0 -14
- package/errors/ForbiddenError.d.ts +0 -4
- package/errors/ForbiddenError.js +0 -13
- package/errors/NetworkError.d.ts +0 -4
- package/errors/NetworkError.js +0 -13
- package/errors/UnauthorizedError.d.ts +0 -4
- package/errors/UnauthorizedError.js +0 -13
- package/errors/ValidationError.d.ts +0 -7
- package/errors/ValidationError.js +0 -17
- package/form-renderer/field/content-dynamic.d.ts +0 -8
- package/form-renderer/field/content-dynamic.js +0 -15
- package/form-renderer/field/content.d.ts +0 -5
- package/form-renderer/field/content.js +0 -38
- package/forms/change-password-form/change-password-form.d.ts +0 -3
- package/forms/change-password-form/change-password-form.js +0 -26
- package/forms/change-password-form/index.d.ts +0 -2
- package/forms/change-password-form/index.js +0 -18
- package/forms/change-password-form/types.d.ts +0 -13
- package/forms/change-password-form/types.js +0 -2
- package/forms/components/wysiwyg-input/index.d.ts +0 -1
- package/forms/components/wysiwyg-input/index.js +0 -17
- package/forms/components/wysiwyg-input/wysiwyg-input.d.ts +0 -26
- package/forms/components/wysiwyg-input/wysiwyg-input.js +0 -83
- package/forms/forgotten-password-form/forgotten-password-form.d.ts +0 -3
- package/forms/forgotten-password-form/forgotten-password-form.js +0 -50
- package/forms/forgotten-password-form/index.d.ts +0 -2
- package/forms/forgotten-password-form/index.js +0 -18
- package/forms/forgotten-password-form/types.d.ts +0 -10
- package/forms/forgotten-password-form/types.js +0 -2
- package/forms/invite-user-form/index.d.ts +0 -2
- package/forms/invite-user-form/index.js +0 -18
- package/forms/invite-user-form/invite-user-form.d.ts +0 -3
- package/forms/invite-user-form/invite-user-form.js +0 -31
- package/forms/invite-user-form/types.d.ts +0 -15
- package/forms/invite-user-form/types.js +0 -2
- package/forms/login-form/index.d.ts +0 -2
- package/forms/login-form/index.js +0 -18
- package/forms/login-form/login-form.d.ts +0 -3
- package/forms/login-form/login-form.js +0 -49
- package/forms/login-form/types.d.ts +0 -11
- package/forms/login-form/types.js +0 -2
- package/forms/renew-password-form/index.d.ts +0 -2
- package/forms/renew-password-form/index.js +0 -18
- package/forms/renew-password-form/renew-password-form.d.ts +0 -3
- package/forms/renew-password-form/renew-password-form.js +0 -48
- package/forms/renew-password-form/types.d.ts +0 -11
- package/forms/renew-password-form/types.js +0 -2
- package/lib/api/create-axios-instance.d.ts +0 -6
- package/lib/api/create-axios-instance.js +0 -17
- package/lib/api/create-axios-request.d.ts +0 -3
- package/lib/api/create-axios-request.js +0 -39
- package/lib/api/create-use-axios-request.d.ts +0 -5
- package/lib/api/create-use-axios-request.js +0 -35
- package/lib/api/index.d.ts +0 -2
- package/lib/api/index.js +0 -19
- package/lib/api/types.d.ts +0 -18
- package/lib/api/types.js +0 -2
- package/lib/layout/breadcrumbs.d.ts +0 -9
- package/lib/layout/breadcrumbs.js +0 -21
- package/lib/layout/index.d.ts +0 -3
- package/lib/layout/index.js +0 -19
- package/lib/layout/layout-container.d.ts +0 -3
- package/lib/layout/layout-container.js +0 -22
- package/lib/layout/layout.d.ts +0 -3
- package/lib/layout/layout.js +0 -47
- package/lib/layout/sidebar.d.ts +0 -3
- package/lib/layout/sidebar.js +0 -77
- package/lib/layout/styles.d.ts +0 -1
- package/lib/layout/styles.js +0 -4
- package/lib/layout/types.d.ts +0 -36
- package/lib/layout/types.js +0 -2
- package/lib/login-layout/index.d.ts +0 -2
- package/lib/login-layout/index.js +0 -18
- package/lib/login-layout/login-layout.d.ts +0 -3
- package/lib/login-layout/login-layout.js +0 -19
- package/lib/login-layout/types.d.ts +0 -9
- package/lib/login-layout/types.js +0 -2
- package/lib/menu/active-item-resolver.d.ts +0 -7
- package/lib/menu/active-item-resolver.js +0 -42
- package/lib/menu/factory.d.ts +0 -10
- package/lib/menu/factory.js +0 -40
- package/lib/menu/index.d.ts +0 -5
- package/lib/menu/index.js +0 -21
- package/lib/menu/mobile-bar.d.ts +0 -8
- package/lib/menu/mobile-bar.js +0 -54
- package/lib/menu/model.d.ts +0 -56
- package/lib/menu/model.js +0 -112
- package/lib/menu/types.d.ts +0 -5
- package/lib/menu/types.js +0 -2
- package/lib/menu/ui/list-item/index.d.ts +0 -2
- package/lib/menu/ui/list-item/index.js +0 -18
- package/lib/menu/ui/list-item/list-item.d.ts +0 -3
- package/lib/menu/ui/list-item/list-item.js +0 -37
- package/lib/menu/ui/list-item/types.d.ts +0 -19
- package/lib/menu/ui/list-item/types.js +0 -2
- package/lib/menu/ui/menu-custom-item.d.ts +0 -6
- package/lib/menu/ui/menu-custom-item.js +0 -17
- package/lib/menu/ui/menu-item.d.ts +0 -6
- package/lib/menu/ui/menu-item.js +0 -55
- package/lib/menu/ui/menu-super-section-item.d.ts +0 -6
- package/lib/menu/ui/menu-super-section-item.js +0 -40
- package/lib/menu/ui/menu.d.ts +0 -6
- package/lib/menu/ui/menu.js +0 -37
- package/lib/menu/ui/sub-menu/sub-menu-item.d.ts +0 -7
- package/lib/menu/ui/sub-menu/sub-menu-item.js +0 -23
- package/lib/menu/ui/sub-menu/sub-menu-mobile.d.ts +0 -8
- package/lib/menu/ui/sub-menu/sub-menu-mobile.js +0 -48
- package/lib/menu/ui/sub-menu/sub-menu.d.ts +0 -7
- package/lib/menu/ui/sub-menu/sub-menu.js +0 -46
- package/lib/menu/ui/sub-menu/use-sub-menu.d.ts +0 -49
- package/lib/menu/ui/sub-menu/use-sub-menu.js +0 -45
- package/lib/menu/ui/user-menu.d.ts +0 -6
- package/lib/menu/ui/user-menu.js +0 -53
- package/pages/content-builder/components/form-content.d.ts +0 -12
- package/pages/content-builder/components/form-content.js +0 -64
- package/pages/content-builder/components/form-root-fields.d.ts +0 -16
- package/pages/content-builder/components/form-root-fields.js +0 -62
- package/pages/content-builder/components/form.d.ts +0 -12
- package/pages/content-builder/components/form.js +0 -83
- package/pages/content-builder/components/header.d.ts +0 -6
- package/pages/content-builder/components/header.js +0 -16
- package/pages/content-builder/constants.d.ts +0 -6
- package/pages/content-builder/constants.js +0 -10
- package/pages/content-builder/content/feature-section.d.ts +0 -17
- package/pages/content-builder/content/feature-section.js +0 -59
- package/pages/content-builder/content/gallery.d.ts +0 -9
- package/pages/content-builder/content/gallery.js +0 -27
- package/pages/content-builder/content/hero-section.d.ts +0 -12
- package/pages/content-builder/content/hero-section.js +0 -31
- package/pages/content-builder/content/people.d.ts +0 -17
- package/pages/content-builder/content/people.js +0 -57
- package/pages/content-builder/content/wysiwyg.d.ts +0 -15
- package/pages/content-builder/content/wysiwyg.js +0 -28
- package/pages/content-builder/content-builder-page.d.ts +0 -3
- package/pages/content-builder/content-builder-page.js +0 -107
- package/pages/content-builder/content-field.d.ts +0 -10
- package/pages/content-builder/content-field.js +0 -62
- package/pages/content-builder/content-header.d.ts +0 -3
- package/pages/content-builder/content-header.js +0 -53
- package/pages/content-builder/context/details-visibility-context.d.ts +0 -4
- package/pages/content-builder/context/details-visibility-context.js +0 -58
- package/pages/content-builder/hooks/use-sortable.d.ts +0 -15
- package/pages/content-builder/hooks/use-sortable.js +0 -57
- package/pages/content-builder/index.d.ts +0 -5
- package/pages/content-builder/index.js +0 -21
- package/pages/content-builder/mapper.d.ts +0 -4
- package/pages/content-builder/mapper.js +0 -69
- package/pages/content-builder/types.d.ts +0 -94
- package/pages/content-builder/types.js +0 -2
- package/pages/forgotten-password-page/forgotten-password-page.d.ts +0 -5
- package/pages/forgotten-password-page/forgotten-password-page.js +0 -49
- package/pages/forgotten-password-page/index.d.ts +0 -2
- package/pages/forgotten-password-page/index.js +0 -18
- package/pages/forgotten-password-page/types.d.ts +0 -11
- package/pages/forgotten-password-page/types.js +0 -2
- package/pages/grid-page/get-initial-props-helper.d.ts +0 -4
- package/pages/grid-page/get-initial-props-helper.js +0 -20
- package/pages/grid-page/grid-page.d.ts +0 -6
- package/pages/grid-page/grid-page.js +0 -159
- package/pages/grid-page/index.d.ts +0 -1
- package/pages/grid-page/index.js +0 -5
- package/pages/grid-page/types.d.ts +0 -65
- package/pages/grid-page/types.js +0 -2
- package/pages/grid-page/use-hidden-columns.d.ts +0 -4
- package/pages/grid-page/use-hidden-columns.js +0 -17
- package/pages/invite-user-page/index.d.ts +0 -2
- package/pages/invite-user-page/index.js +0 -18
- package/pages/invite-user-page/invite-user-page.d.ts +0 -2
- package/pages/invite-user-page/invite-user-page.js +0 -57
- package/pages/invite-user-page/types.d.ts +0 -12
- package/pages/invite-user-page/types.js +0 -2
- package/pages/login-page/index.d.ts +0 -2
- package/pages/login-page/index.js +0 -18
- package/pages/login-page/login-page.d.ts +0 -5
- package/pages/login-page/login-page.js +0 -80
- package/pages/login-page/types.d.ts +0 -21
- package/pages/login-page/types.js +0 -2
- package/pages/renew-password-page/index.d.ts +0 -2
- package/pages/renew-password-page/index.js +0 -18
- package/pages/renew-password-page/renew-password-page.d.ts +0 -9
- package/pages/renew-password-page/renew-password-page.js +0 -53
- package/pages/renew-password-page/types.d.ts +0 -14
- package/pages/renew-password-page/types.js +0 -2
- package/security/restricted-page.d.ts +0 -9
- package/security/restricted-page.js +0 -38
- package/security/use-logged-user.d.ts +0 -5
- package/security/use-logged-user.js +0 -17
- package/ui/avatar/avatar.d.ts +0 -11
- package/ui/avatar/avatar.js +0 -47
- package/ui/avatar/get-avatar-user-letters.d.ts +0 -1
- package/ui/avatar/get-avatar-user-letters.js +0 -18
- package/ui/avatar/index.d.ts +0 -3
- package/ui/avatar/index.js +0 -5
- package/ui/avatar/theme.d.ts +0 -11
- package/ui/avatar/theme.js +0 -2
- package/ui/copy-to-clipboard/copy-to-clipboard.d.ts +0 -3
- package/ui/copy-to-clipboard/copy-to-clipboard.js +0 -45
- package/ui/copy-to-clipboard/index.d.ts +0 -2
- package/ui/copy-to-clipboard/index.js +0 -18
- package/ui/copy-to-clipboard/types.d.ts +0 -7
- package/ui/copy-to-clipboard/types.js +0 -2
- package/ui/copy-to-clipboard-button/copy-to-clipboard-button.d.ts +0 -3
- package/ui/copy-to-clipboard-button/copy-to-clipboard-button.js +0 -44
- package/ui/copy-to-clipboard-button/index.d.ts +0 -2
- package/ui/copy-to-clipboard-button/index.js +0 -18
- package/ui/copy-to-clipboard-button/types.d.ts +0 -6
- package/ui/copy-to-clipboard-button/types.js +0 -2
- package/ui/index.d.ts +0 -1
- package/ui/index.js +0 -6
- package/ui/tw-tokens/tw-box-shadow.d.ts +0 -12
- package/ui/tw-tokens/tw-box-shadow.js +0 -15
- package/ui/tw-tokens/tw-colors.d.ts +0 -475
- package/ui/tw-tokens/tw-colors.js +0 -474
- package/ui/tw-tokens/tw-containers.d.ts +0 -8
- package/ui/tw-tokens/tw-containers.js +0 -5
- package/ui/tw-tokens/tw-font-size.d.ts +0 -55
- package/ui/tw-tokens/tw-font-size.js +0 -32
- package/ui/tw-tokens/tw-font-weight.d.ts +0 -12
- package/ui/tw-tokens/tw-font-weight.js +0 -15
- package/ui/tw-tokens/tw-line-height.d.ts +0 -17
- package/ui/tw-tokens/tw-line-height.js +0 -20
- package/ui/tw-tokens/tw-screens.d.ts +0 -8
- package/ui/tw-tokens/tw-screens.js +0 -5
- package/ui/tw-tokens/tw-spacing.d.ts +0 -39
- package/ui/tw-tokens/tw-spacing.js +0 -42
- package/ui/tw-tokens/tw-z-index.d.ts +0 -21
- package/ui/tw-tokens/tw-z-index.js +0 -24
- package/ui/widget/index.d.ts +0 -2
- package/ui/widget/index.js +0 -18
- package/ui/widget/types.d.ts +0 -6
- package/ui/widget/types.js +0 -2
- package/ui/widget/widget.d.ts +0 -3
- package/ui/widget/widget.js +0 -15
- package/utils/remove-confirm-handler.d.ts +0 -1
- package/utils/remove-confirm-handler.js +0 -26
- package/utils/use-viewport-height.d.ts +0 -3
- package/utils/use-viewport-height.js +0 -28
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uxf/cms",
|
3
|
-
"version": "11.
|
3
|
+
"version": "11.74.0",
|
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.28",
|
32
32
|
"@redux-devtools/extension": "3.3.0",
|
33
33
|
"@uxf/core": "11.72.3",
|
34
|
-
"@uxf/core-react": "11.
|
35
|
-
"@uxf/data-grid": "11.
|
36
|
-
"@uxf/form": "11.
|
34
|
+
"@uxf/core-react": "11.74.0",
|
35
|
+
"@uxf/data-grid": "11.74.0",
|
36
|
+
"@uxf/form": "11.74.0",
|
37
37
|
"@uxf/router": "11.72.5",
|
38
|
-
"@uxf/ui": "11.
|
39
|
-
"@uxf/wysiwyg": "11.
|
38
|
+
"@uxf/ui": "11.74.0",
|
39
|
+
"@uxf/wysiwyg": "11.74.0",
|
40
40
|
"axios": "1.7.5",
|
41
41
|
"axios-hooks": "5.0.2",
|
42
42
|
"es6-error": "4.1.1",
|
@@ -0,0 +1,429 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
"uxf-cms-restricted-page": {
|
3
|
+
login: {
|
4
|
+
cs: string;
|
5
|
+
en: string;
|
6
|
+
sk: string;
|
7
|
+
de: string;
|
8
|
+
};
|
9
|
+
"login-required": {
|
10
|
+
cs: string;
|
11
|
+
en: string;
|
12
|
+
sk: string;
|
13
|
+
de: string;
|
14
|
+
};
|
15
|
+
"unknown-error": {
|
16
|
+
cs: string;
|
17
|
+
en: string;
|
18
|
+
sk: string;
|
19
|
+
de: string;
|
20
|
+
};
|
21
|
+
forbidden: {
|
22
|
+
cs: string;
|
23
|
+
en: string;
|
24
|
+
sk: string;
|
25
|
+
de: string;
|
26
|
+
};
|
27
|
+
};
|
28
|
+
"uxf-cms-pages-content-builder": {
|
29
|
+
components: {
|
30
|
+
"content-header": {
|
31
|
+
"confirm-delete-section": {
|
32
|
+
cs: string;
|
33
|
+
};
|
34
|
+
};
|
35
|
+
header: {
|
36
|
+
save: {
|
37
|
+
cs: string;
|
38
|
+
};
|
39
|
+
};
|
40
|
+
};
|
41
|
+
content: {
|
42
|
+
"hero-section": {
|
43
|
+
title: {
|
44
|
+
cs: string;
|
45
|
+
};
|
46
|
+
subtitle: {
|
47
|
+
cs: string;
|
48
|
+
};
|
49
|
+
};
|
50
|
+
"feature-section": {
|
51
|
+
title: {
|
52
|
+
cs: string;
|
53
|
+
};
|
54
|
+
subtitle: {
|
55
|
+
cs: string;
|
56
|
+
};
|
57
|
+
"add-feature": {
|
58
|
+
cs: string;
|
59
|
+
};
|
60
|
+
"confirm-delete-feature": {
|
61
|
+
cs: string;
|
62
|
+
};
|
63
|
+
"feature-title": {
|
64
|
+
cs: string;
|
65
|
+
};
|
66
|
+
"delete-feature": {
|
67
|
+
cs: string;
|
68
|
+
};
|
69
|
+
"feature-name": {
|
70
|
+
cs: string;
|
71
|
+
};
|
72
|
+
image: {
|
73
|
+
cs: string;
|
74
|
+
};
|
75
|
+
};
|
76
|
+
people: {
|
77
|
+
"confirm-delete-person": {
|
78
|
+
cs: string;
|
79
|
+
};
|
80
|
+
"person-title": {
|
81
|
+
cs: string;
|
82
|
+
};
|
83
|
+
"delete-person": {
|
84
|
+
cs: string;
|
85
|
+
};
|
86
|
+
name: {
|
87
|
+
cs: string;
|
88
|
+
};
|
89
|
+
image: {
|
90
|
+
cs: string;
|
91
|
+
};
|
92
|
+
description: {
|
93
|
+
cs: string;
|
94
|
+
};
|
95
|
+
text: {
|
96
|
+
cs: string;
|
97
|
+
};
|
98
|
+
phone: {
|
99
|
+
cs: string;
|
100
|
+
};
|
101
|
+
"add-person": {
|
102
|
+
cs: string;
|
103
|
+
};
|
104
|
+
};
|
105
|
+
wysiwyg: {
|
106
|
+
text: {
|
107
|
+
cs: string;
|
108
|
+
};
|
109
|
+
placeholder: {
|
110
|
+
cs: string;
|
111
|
+
};
|
112
|
+
};
|
113
|
+
};
|
114
|
+
"confirm-delete-section": {
|
115
|
+
cs: string;
|
116
|
+
};
|
117
|
+
};
|
118
|
+
"uxf-cms-copy-to-clipboard": {
|
119
|
+
"text-copied": {
|
120
|
+
cs: string;
|
121
|
+
en: string;
|
122
|
+
sk: string;
|
123
|
+
de: string;
|
124
|
+
};
|
125
|
+
"copy-failed": {
|
126
|
+
cs: string;
|
127
|
+
en: string;
|
128
|
+
sk: string;
|
129
|
+
de: string;
|
130
|
+
};
|
131
|
+
};
|
132
|
+
"uxf-cms-copy-to-clipboard-button": {
|
133
|
+
"text-copied": {
|
134
|
+
cs: string;
|
135
|
+
en: string;
|
136
|
+
sk: string;
|
137
|
+
de: string;
|
138
|
+
};
|
139
|
+
"copy-failed": {
|
140
|
+
cs: string;
|
141
|
+
en: string;
|
142
|
+
sk: string;
|
143
|
+
de: string;
|
144
|
+
};
|
145
|
+
};
|
146
|
+
"uxf-cms-remove-confirm-handler": {
|
147
|
+
cancel: {
|
148
|
+
cs: string;
|
149
|
+
en: string;
|
150
|
+
sk: string;
|
151
|
+
de: string;
|
152
|
+
};
|
153
|
+
"confirm-delete": {
|
154
|
+
cs: string;
|
155
|
+
en: string;
|
156
|
+
sk: string;
|
157
|
+
de: string;
|
158
|
+
};
|
159
|
+
"confirm-delete-message": {
|
160
|
+
cs: string;
|
161
|
+
en: string;
|
162
|
+
sk: string;
|
163
|
+
de: string;
|
164
|
+
};
|
165
|
+
};
|
166
|
+
"uxf-cms-user-menu": {
|
167
|
+
"default-user": {
|
168
|
+
cs: string;
|
169
|
+
en: string;
|
170
|
+
sk: string;
|
171
|
+
de: string;
|
172
|
+
};
|
173
|
+
"not-logged-in": {
|
174
|
+
cs: string;
|
175
|
+
en: string;
|
176
|
+
sk: string;
|
177
|
+
de: string;
|
178
|
+
};
|
179
|
+
};
|
180
|
+
"uxf-cms-renew-password-form": {
|
181
|
+
"new-password": {
|
182
|
+
cs: string;
|
183
|
+
en: string;
|
184
|
+
sk: string;
|
185
|
+
de: string;
|
186
|
+
};
|
187
|
+
"new-password-again": {
|
188
|
+
cs: string;
|
189
|
+
en: string;
|
190
|
+
sk: string;
|
191
|
+
de: string;
|
192
|
+
};
|
193
|
+
"passwords-must-match": {
|
194
|
+
cs: string;
|
195
|
+
en: string;
|
196
|
+
sk: string;
|
197
|
+
de: string;
|
198
|
+
};
|
199
|
+
"change-password": {
|
200
|
+
cs: string;
|
201
|
+
en: string;
|
202
|
+
sk: string;
|
203
|
+
de: string;
|
204
|
+
};
|
205
|
+
};
|
206
|
+
"uxf-cms-invite-user-form": {
|
207
|
+
save: {
|
208
|
+
cs: string;
|
209
|
+
en: string;
|
210
|
+
sk: string;
|
211
|
+
de: string;
|
212
|
+
};
|
213
|
+
name: {
|
214
|
+
cs: string;
|
215
|
+
en: string;
|
216
|
+
sk: string;
|
217
|
+
de: string;
|
218
|
+
};
|
219
|
+
surname: {
|
220
|
+
cs: string;
|
221
|
+
en: string;
|
222
|
+
sk: string;
|
223
|
+
de: string;
|
224
|
+
};
|
225
|
+
roles: {
|
226
|
+
cs: string;
|
227
|
+
en: string;
|
228
|
+
sk: string;
|
229
|
+
de: string;
|
230
|
+
};
|
231
|
+
"send-invitation": {
|
232
|
+
cs: string;
|
233
|
+
en: string;
|
234
|
+
sk: string;
|
235
|
+
de: string;
|
236
|
+
};
|
237
|
+
};
|
238
|
+
"uxf-cms-login-form": {
|
239
|
+
password: {
|
240
|
+
cs: string;
|
241
|
+
en: string;
|
242
|
+
sk: string;
|
243
|
+
de: string;
|
244
|
+
};
|
245
|
+
"forgot-password": {
|
246
|
+
cs: string;
|
247
|
+
en: string;
|
248
|
+
sk: string;
|
249
|
+
de: string;
|
250
|
+
};
|
251
|
+
login: {
|
252
|
+
cs: string;
|
253
|
+
en: string;
|
254
|
+
sk: string;
|
255
|
+
de: string;
|
256
|
+
};
|
257
|
+
};
|
258
|
+
"uxf-cms-forgotten-password-form": {
|
259
|
+
"reset-password": {
|
260
|
+
cs: string;
|
261
|
+
en: string;
|
262
|
+
sk: string;
|
263
|
+
de: string;
|
264
|
+
};
|
265
|
+
login: {
|
266
|
+
cs: string;
|
267
|
+
en: string;
|
268
|
+
sk: string;
|
269
|
+
de: string;
|
270
|
+
};
|
271
|
+
};
|
272
|
+
"uxf-cms-change-password-form": {
|
273
|
+
save: {
|
274
|
+
cs: string;
|
275
|
+
en: string;
|
276
|
+
sk: string;
|
277
|
+
de: string;
|
278
|
+
};
|
279
|
+
"original-password": {
|
280
|
+
cs: string;
|
281
|
+
en: string;
|
282
|
+
sk: string;
|
283
|
+
de: string;
|
284
|
+
};
|
285
|
+
"new-password": {
|
286
|
+
cs: string;
|
287
|
+
en: string;
|
288
|
+
sk: string;
|
289
|
+
de: string;
|
290
|
+
};
|
291
|
+
"new-password-again": {
|
292
|
+
cs: string;
|
293
|
+
en: string;
|
294
|
+
sk: string;
|
295
|
+
de: string;
|
296
|
+
};
|
297
|
+
"passwords-must-match": {
|
298
|
+
cs: string;
|
299
|
+
en: string;
|
300
|
+
sk: string;
|
301
|
+
de: string;
|
302
|
+
};
|
303
|
+
};
|
304
|
+
"uxf-cms-content-builder": {
|
305
|
+
header: {
|
306
|
+
save: {
|
307
|
+
cs: string;
|
308
|
+
en: string;
|
309
|
+
sk: string;
|
310
|
+
de: string;
|
311
|
+
};
|
312
|
+
};
|
313
|
+
settings: {
|
314
|
+
"default-title": {
|
315
|
+
cs: string;
|
316
|
+
en: string;
|
317
|
+
sk: string;
|
318
|
+
de: string;
|
319
|
+
};
|
320
|
+
settings: {
|
321
|
+
cs: string;
|
322
|
+
en: string;
|
323
|
+
sk: string;
|
324
|
+
de: string;
|
325
|
+
};
|
326
|
+
basic: {
|
327
|
+
cs: string;
|
328
|
+
en: string;
|
329
|
+
sk: string;
|
330
|
+
de: string;
|
331
|
+
};
|
332
|
+
};
|
333
|
+
"basic-form": {
|
334
|
+
title: {
|
335
|
+
cs: string;
|
336
|
+
en: string;
|
337
|
+
sk: string;
|
338
|
+
de: string;
|
339
|
+
};
|
340
|
+
perex: {
|
341
|
+
cs: string;
|
342
|
+
en: string;
|
343
|
+
sk: string;
|
344
|
+
de: string;
|
345
|
+
};
|
346
|
+
author: {
|
347
|
+
cs: string;
|
348
|
+
en: string;
|
349
|
+
sk: string;
|
350
|
+
de: string;
|
351
|
+
};
|
352
|
+
"main-image": {
|
353
|
+
cs: string;
|
354
|
+
en: string;
|
355
|
+
sk: string;
|
356
|
+
de: string;
|
357
|
+
};
|
358
|
+
active: {
|
359
|
+
cs: string;
|
360
|
+
en: string;
|
361
|
+
sk: string;
|
362
|
+
de: string;
|
363
|
+
};
|
364
|
+
"parent-article": {
|
365
|
+
cs: string;
|
366
|
+
en: string;
|
367
|
+
sk: string;
|
368
|
+
de: string;
|
369
|
+
};
|
370
|
+
"published-at": {
|
371
|
+
cs: string;
|
372
|
+
en: string;
|
373
|
+
sk: string;
|
374
|
+
de: string;
|
375
|
+
};
|
376
|
+
};
|
377
|
+
"seo-form": {
|
378
|
+
slug: {
|
379
|
+
cs: string;
|
380
|
+
en: string;
|
381
|
+
sk: string;
|
382
|
+
de: string;
|
383
|
+
};
|
384
|
+
"slug-helper": {
|
385
|
+
cs: string;
|
386
|
+
en: string;
|
387
|
+
sk: string;
|
388
|
+
de: string;
|
389
|
+
};
|
390
|
+
title: {
|
391
|
+
cs: string;
|
392
|
+
en: string;
|
393
|
+
sk: string;
|
394
|
+
de: string;
|
395
|
+
};
|
396
|
+
description: {
|
397
|
+
cs: string;
|
398
|
+
en: string;
|
399
|
+
sk: string;
|
400
|
+
de: string;
|
401
|
+
};
|
402
|
+
"og-title-helper": {
|
403
|
+
cs: string;
|
404
|
+
en: string;
|
405
|
+
sk: string;
|
406
|
+
de: string;
|
407
|
+
};
|
408
|
+
"og-description-helper": {
|
409
|
+
cs: string;
|
410
|
+
en: string;
|
411
|
+
sk: string;
|
412
|
+
de: string;
|
413
|
+
};
|
414
|
+
"og-image": {
|
415
|
+
cs: string;
|
416
|
+
en: string;
|
417
|
+
sk: string;
|
418
|
+
de: string;
|
419
|
+
};
|
420
|
+
"og-image-helper": {
|
421
|
+
cs: string;
|
422
|
+
en: string;
|
423
|
+
sk: string;
|
424
|
+
de: string;
|
425
|
+
};
|
426
|
+
};
|
427
|
+
};
|
428
|
+
};
|
429
|
+
export default _default;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
const translations_1 = __importDefault(require("@uxf/cms/content-builder/translations"));
|
7
|
+
const translations_2 = __importDefault(require("@uxf/cms/forms/change-password-form/translations"));
|
8
|
+
const translations_3 = __importDefault(require("@uxf/cms/forms/forgotten-password-form/translations"));
|
9
|
+
const translations_4 = __importDefault(require("@uxf/cms/forms/invite-user-form/translations"));
|
10
|
+
const translations_5 = __importDefault(require("@uxf/cms/forms/login-form/translations"));
|
11
|
+
const translations_6 = __importDefault(require("@uxf/cms/forms/renew-password-form/translations"));
|
12
|
+
const translations_7 = __importDefault(require("@uxf/cms/lib/menu/ui/translations"));
|
13
|
+
const translations_8 = __importDefault(require("@uxf/cms/pages/translations"));
|
14
|
+
const translations_9 = __importDefault(require("@uxf/cms/security/translations"));
|
15
|
+
const translations_10 = __importDefault(require("@uxf/cms/ui/copy-to-clipboard-button/translations"));
|
16
|
+
const translations_11 = __importDefault(require("@uxf/cms/ui/copy-to-clipboard/translations"));
|
17
|
+
const translations_12 = __importDefault(require("@uxf/cms/utils/translations"));
|
18
|
+
exports.default = {
|
19
|
+
...translations_1.default,
|
20
|
+
...translations_2.default,
|
21
|
+
...translations_3.default,
|
22
|
+
...translations_5.default,
|
23
|
+
...translations_4.default,
|
24
|
+
...translations_6.default,
|
25
|
+
...translations_7.default,
|
26
|
+
...translations_12.default,
|
27
|
+
...translations_10.default,
|
28
|
+
...translations_11.default,
|
29
|
+
...translations_8.default,
|
30
|
+
...translations_9.default,
|
31
|
+
};
|
package/api/index.d.ts
DELETED
@@ -1,165 +0,0 @@
|
|
1
|
-
import { FileResponse } from "@uxf/core/types";
|
2
|
-
import { Schema } from "@uxf/data-grid";
|
3
|
-
export type VisibilityLevel = "PUBLIC" | "PUBLIC_WITHOUT_SITEMAP" | "PRIVATE";
|
4
|
-
export interface ContentSeoResponse {
|
5
|
-
name: string | null;
|
6
|
-
title: string;
|
7
|
-
description: string;
|
8
|
-
ogTitle: string;
|
9
|
-
ogDescription: string;
|
10
|
-
ogImage: FileResponse | null;
|
11
|
-
}
|
12
|
-
export interface ContentAuthorResponse {
|
13
|
-
id: number;
|
14
|
-
firstName: string;
|
15
|
-
surname: string;
|
16
|
-
avatar: FileResponse | null;
|
17
|
-
}
|
18
|
-
export interface ContentCategoryResponse {
|
19
|
-
id: number;
|
20
|
-
name: string;
|
21
|
-
}
|
22
|
-
export interface ContentTagResponse {
|
23
|
-
id: number;
|
24
|
-
code: string;
|
25
|
-
label: string;
|
26
|
-
}
|
27
|
-
export interface ContentResponse {
|
28
|
-
id: number;
|
29
|
-
type: string;
|
30
|
-
name: string;
|
31
|
-
perex: string;
|
32
|
-
parent?: {
|
33
|
-
id: number;
|
34
|
-
label: string;
|
35
|
-
} | null;
|
36
|
-
seo: ContentSeoResponse;
|
37
|
-
visibilityLevel: VisibilityLevel;
|
38
|
-
hidden: boolean;
|
39
|
-
image: FileResponse | null;
|
40
|
-
publishedAt: string | null;
|
41
|
-
author: ContentAuthorResponse | null;
|
42
|
-
category: ContentCategoryResponse | null;
|
43
|
-
content: any[];
|
44
|
-
tags: ContentTagResponse[];
|
45
|
-
createdAt: string;
|
46
|
-
updatedAt: string;
|
47
|
-
}
|
48
|
-
export interface ContentSeoRequestBody {
|
49
|
-
name: string | null;
|
50
|
-
title: string;
|
51
|
-
description: string;
|
52
|
-
ogTitle: string;
|
53
|
-
ogDescription: string;
|
54
|
-
ogImage: number | null;
|
55
|
-
}
|
56
|
-
export interface ContentRequestBody {
|
57
|
-
type: string;
|
58
|
-
name: string;
|
59
|
-
perex: string;
|
60
|
-
parent: number | null;
|
61
|
-
seo: ContentSeoRequestBody;
|
62
|
-
visibilityLevel: VisibilityLevel;
|
63
|
-
hidden: boolean;
|
64
|
-
image: number | null;
|
65
|
-
publishedAt: string | null;
|
66
|
-
author: number | null;
|
67
|
-
category: number | null;
|
68
|
-
content: any;
|
69
|
-
tags: number[];
|
70
|
-
}
|
71
|
-
export interface FieldSchemaResponse {
|
72
|
-
autocomplete: string | null;
|
73
|
-
name: string;
|
74
|
-
type: string;
|
75
|
-
label: string;
|
76
|
-
required: boolean;
|
77
|
-
readOnly: boolean;
|
78
|
-
editable: boolean;
|
79
|
-
fields: FieldSchemaResponse[];
|
80
|
-
options: Array<{
|
81
|
-
id: string | number;
|
82
|
-
label: string;
|
83
|
-
}> | null;
|
84
|
-
}
|
85
|
-
export interface FormSchemaResponse {
|
86
|
-
fields: FieldSchemaResponse[];
|
87
|
-
}
|
88
|
-
export default interface UserResponse {
|
89
|
-
id: number | string;
|
90
|
-
email: string;
|
91
|
-
name: string;
|
92
|
-
roles: string[];
|
93
|
-
}
|
94
|
-
export interface UserInfoResponse {
|
95
|
-
user: UserResponse;
|
96
|
-
}
|
97
|
-
export interface EntityMetaSchema {
|
98
|
-
title: string;
|
99
|
-
entityAlias: string;
|
100
|
-
actions: string[];
|
101
|
-
}
|
102
|
-
export interface EntityMetaSchemasResponse {
|
103
|
-
[entityAlias: string]: EntityMetaSchema;
|
104
|
-
}
|
105
|
-
export interface AutocompleteResultResponse {
|
106
|
-
id: number | string;
|
107
|
-
label: string;
|
108
|
-
}
|
109
|
-
export interface LoginRequestBody {
|
110
|
-
username: string;
|
111
|
-
password: string;
|
112
|
-
}
|
113
|
-
export interface LoginResponse {
|
114
|
-
access_token: string;
|
115
|
-
refresh_token: string;
|
116
|
-
expires_in: number;
|
117
|
-
token_type: string;
|
118
|
-
}
|
119
|
-
export interface UserConfigResponse<T> {
|
120
|
-
id: number;
|
121
|
-
name: string;
|
122
|
-
data: T;
|
123
|
-
}
|
124
|
-
export interface UserConfigBagResponse {
|
125
|
-
[name: string]: UserConfigResponse<any>;
|
126
|
-
}
|
127
|
-
export declare function contentGet(ctx: any, contentId: number): Promise<import("axios").AxiosResponse<ContentResponse, any>>;
|
128
|
-
export declare function contentCreate(ctx: any, content: ContentRequestBody): Promise<import("axios").AxiosResponse<ContentResponse, any>>;
|
129
|
-
export declare function contentUpdate(ctx: any, contentId: number, content: ContentRequestBody): Promise<import("axios").AxiosResponse<ContentResponse, any>>;
|
130
|
-
export declare function dataGridSchemaGet(ctx: any, gridName: string): Promise<import("axios").AxiosResponse<Schema<any>, any>>;
|
131
|
-
export declare const dataGridAutocompleteGet: (ctx: any, gridName: string, filterName: string, text: string) => Promise<{
|
132
|
-
value: number;
|
133
|
-
label: string;
|
134
|
-
}[]>;
|
135
|
-
export declare function forgottenPassword(ctx: any, email: string, cms?: boolean): Promise<void>;
|
136
|
-
export declare function getLoggedUser(ctx?: any): Promise<UserResponse>;
|
137
|
-
export declare function getEntityMetaSchemas(ctx: any): Promise<import("axios").AxiosResponse<EntityMetaSchemasResponse, any>>;
|
138
|
-
export declare function getFormSchema(ctx: any, path: {
|
139
|
-
entityAlias: string;
|
140
|
-
}): Promise<import("axios").AxiosResponse<FormSchemaResponse, any>>;
|
141
|
-
export declare function getFormValues(ctx: any, path: {
|
142
|
-
entityAlias: string;
|
143
|
-
id: number;
|
144
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
145
|
-
export declare function login(ctx: any, body: LoginRequestBody): Promise<import("axios").AxiosResponse<LoginResponse, any>>;
|
146
|
-
export declare function autocomplete(ctx: any, path: {
|
147
|
-
name: string;
|
148
|
-
}, query: {
|
149
|
-
term: string;
|
150
|
-
}): Promise<import("axios").AxiosResponse<AutocompleteResultResponse[], any>>;
|
151
|
-
export declare function saveFormValues<T extends Record<string, any>>(ctx: any, path: {
|
152
|
-
entityAlias: string;
|
153
|
-
id?: number | null;
|
154
|
-
}, body: T): Promise<import("axios").AxiosResponse<T, any>>;
|
155
|
-
export declare function removeEntity(ctx: any, path: {
|
156
|
-
entityAlias: string;
|
157
|
-
id: number;
|
158
|
-
}): Promise<import("axios").AxiosResponse<undefined, any>>;
|
159
|
-
export declare function userConfigSave(name: string, data: any): Promise<import("axios").AxiosResponse<UserConfigBagResponse, any>>;
|
160
|
-
export declare function userConfigGetAll(ctx: any): Promise<import("axios").AxiosResponse<UserConfigBagResponse, any>>;
|
161
|
-
export declare function userConfigGet<T>(ctx: any, name: string, defaultValue?: T): Promise<T | undefined>;
|
162
|
-
/**
|
163
|
-
* @deprecated use import { uploadFile } from "@uxf/core/api/upload-file" or createUploadHandler
|
164
|
-
*/
|
165
|
-
export declare function uploadFile(file: File, namespace?: string | null): Promise<FileResponse>;
|