@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.
Files changed (311) hide show
  1. package/package.json +6 -6
  2. package/translations/translations.d.ts +429 -0
  3. package/translations/translations.js +31 -0
  4. package/api/index.d.ts +0 -165
  5. package/api/index.js +0 -100
  6. package/api/swr.d.ts +0 -76
  7. package/api/swr.js +0 -43
  8. package/config/container.d.ts +0 -29
  9. package/config/container.js +0 -24
  10. package/config/index.d.ts +0 -2
  11. package/config/index.js +0 -6
  12. package/content-builder/content-builder-body.d.ts +0 -6
  13. package/content-builder/content-builder-body.js +0 -10
  14. package/content-builder/content-builder-header.d.ts +0 -7
  15. package/content-builder/content-builder-header.js +0 -13
  16. package/content-builder/content-builder-root.d.ts +0 -11
  17. package/content-builder/content-builder-root.js +0 -13
  18. package/content-builder/content-builder-sidebar.d.ts +0 -7
  19. package/content-builder/content-builder-sidebar.js +0 -12
  20. package/content-builder/content-builder.d.ts +0 -14
  21. package/content-builder/content-builder.js +0 -55
  22. package/content-builder/forms/content-builder-basic-form.d.ts +0 -10
  23. package/content-builder/forms/content-builder-basic-form.js +0 -47
  24. package/content-builder/forms/content-builder-seo-form.d.ts +0 -10
  25. package/content-builder/forms/content-builder-seo-form.js +0 -20
  26. package/content-builder/index.d.ts +0 -4
  27. package/content-builder/index.js +0 -20
  28. package/content-builder/map-content-response-to-form-data.d.ts +0 -3
  29. package/content-builder/map-content-response-to-form-data.js +0 -44
  30. package/content-builder/map-form-data-to-content-request.d.ts +0 -2
  31. package/content-builder/map-form-data-to-content-request.js +0 -28
  32. package/content-builder/types.d.ts +0 -186
  33. package/content-builder/types.js +0 -2
  34. package/content-builder/use-content-builder-form-api.d.ts +0 -3
  35. package/content-builder/use-content-builder-form-api.js +0 -7
  36. package/context/cms-provider.d.ts +0 -7
  37. package/context/cms-provider.js +0 -18
  38. package/deprecated/api/api-client.d.ts +0 -15
  39. package/deprecated/api/api-client.js +0 -86
  40. package/deprecated/hoc/with-authenticate.d.ts +0 -6
  41. package/deprecated/hoc/with-authenticate.js +0 -61
  42. package/deprecated/redux/configure-store.d.ts +0 -3
  43. package/deprecated/redux/configure-store.js +0 -16
  44. package/deprecated/redux/entities/actions.d.ts +0 -30
  45. package/deprecated/redux/entities/actions.js +0 -15
  46. package/deprecated/redux/entities/index.d.ts +0 -2
  47. package/deprecated/redux/entities/index.js +0 -18
  48. package/deprecated/redux/entities/reducer.d.ts +0 -3
  49. package/deprecated/redux/entities/reducer.js +0 -36
  50. package/deprecated/redux/entities/selectors.d.ts +0 -10
  51. package/deprecated/redux/entities/selectors.js +0 -16
  52. package/deprecated/redux/index.d.ts +0 -3
  53. package/deprecated/redux/index.js +0 -22
  54. package/deprecated/redux/redux-helper.d.ts +0 -15
  55. package/deprecated/redux/redux-helper.js +0 -6
  56. package/deprecated/redux/types.d.ts +0 -7
  57. package/deprecated/redux/types.js +0 -2
  58. package/deprecated/redux/user/actions.d.ts +0 -19
  59. package/deprecated/redux/user/actions.js +0 -14
  60. package/deprecated/redux/user/index.d.ts +0 -2
  61. package/deprecated/redux/user/index.js +0 -18
  62. package/deprecated/redux/user/reducer.d.ts +0 -3
  63. package/deprecated/redux/user/reducer.js +0 -21
  64. package/deprecated/redux/user/selectors.d.ts +0 -3
  65. package/deprecated/redux/user/selectors.js +0 -5
  66. package/deprecated/redux/with-redux-store.d.ts +0 -1
  67. package/deprecated/redux/with-redux-store.js +0 -70
  68. package/deprecated/security/cms-authorizator.d.ts +0 -3
  69. package/deprecated/security/cms-authorizator.js +0 -8
  70. package/deprecated/types/app.d.ts +0 -6
  71. package/deprecated/types/app.js +0 -2
  72. package/deprecated/types/form.d.ts +0 -25
  73. package/deprecated/types/form.js +0 -16
  74. package/errors/BadRequestError.d.ts +0 -18
  75. package/errors/BadRequestError.js +0 -14
  76. package/errors/ForbiddenError.d.ts +0 -4
  77. package/errors/ForbiddenError.js +0 -13
  78. package/errors/NetworkError.d.ts +0 -4
  79. package/errors/NetworkError.js +0 -13
  80. package/errors/UnauthorizedError.d.ts +0 -4
  81. package/errors/UnauthorizedError.js +0 -13
  82. package/errors/ValidationError.d.ts +0 -7
  83. package/errors/ValidationError.js +0 -17
  84. package/form-renderer/field/content-dynamic.d.ts +0 -8
  85. package/form-renderer/field/content-dynamic.js +0 -15
  86. package/form-renderer/field/content.d.ts +0 -5
  87. package/form-renderer/field/content.js +0 -38
  88. package/forms/change-password-form/change-password-form.d.ts +0 -3
  89. package/forms/change-password-form/change-password-form.js +0 -26
  90. package/forms/change-password-form/index.d.ts +0 -2
  91. package/forms/change-password-form/index.js +0 -18
  92. package/forms/change-password-form/types.d.ts +0 -13
  93. package/forms/change-password-form/types.js +0 -2
  94. package/forms/components/wysiwyg-input/index.d.ts +0 -1
  95. package/forms/components/wysiwyg-input/index.js +0 -17
  96. package/forms/components/wysiwyg-input/wysiwyg-input.d.ts +0 -26
  97. package/forms/components/wysiwyg-input/wysiwyg-input.js +0 -83
  98. package/forms/forgotten-password-form/forgotten-password-form.d.ts +0 -3
  99. package/forms/forgotten-password-form/forgotten-password-form.js +0 -50
  100. package/forms/forgotten-password-form/index.d.ts +0 -2
  101. package/forms/forgotten-password-form/index.js +0 -18
  102. package/forms/forgotten-password-form/types.d.ts +0 -10
  103. package/forms/forgotten-password-form/types.js +0 -2
  104. package/forms/invite-user-form/index.d.ts +0 -2
  105. package/forms/invite-user-form/index.js +0 -18
  106. package/forms/invite-user-form/invite-user-form.d.ts +0 -3
  107. package/forms/invite-user-form/invite-user-form.js +0 -31
  108. package/forms/invite-user-form/types.d.ts +0 -15
  109. package/forms/invite-user-form/types.js +0 -2
  110. package/forms/login-form/index.d.ts +0 -2
  111. package/forms/login-form/index.js +0 -18
  112. package/forms/login-form/login-form.d.ts +0 -3
  113. package/forms/login-form/login-form.js +0 -49
  114. package/forms/login-form/types.d.ts +0 -11
  115. package/forms/login-form/types.js +0 -2
  116. package/forms/renew-password-form/index.d.ts +0 -2
  117. package/forms/renew-password-form/index.js +0 -18
  118. package/forms/renew-password-form/renew-password-form.d.ts +0 -3
  119. package/forms/renew-password-form/renew-password-form.js +0 -48
  120. package/forms/renew-password-form/types.d.ts +0 -11
  121. package/forms/renew-password-form/types.js +0 -2
  122. package/lib/api/create-axios-instance.d.ts +0 -6
  123. package/lib/api/create-axios-instance.js +0 -17
  124. package/lib/api/create-axios-request.d.ts +0 -3
  125. package/lib/api/create-axios-request.js +0 -39
  126. package/lib/api/create-use-axios-request.d.ts +0 -5
  127. package/lib/api/create-use-axios-request.js +0 -35
  128. package/lib/api/index.d.ts +0 -2
  129. package/lib/api/index.js +0 -19
  130. package/lib/api/types.d.ts +0 -18
  131. package/lib/api/types.js +0 -2
  132. package/lib/layout/breadcrumbs.d.ts +0 -9
  133. package/lib/layout/breadcrumbs.js +0 -21
  134. package/lib/layout/index.d.ts +0 -3
  135. package/lib/layout/index.js +0 -19
  136. package/lib/layout/layout-container.d.ts +0 -3
  137. package/lib/layout/layout-container.js +0 -22
  138. package/lib/layout/layout.d.ts +0 -3
  139. package/lib/layout/layout.js +0 -47
  140. package/lib/layout/sidebar.d.ts +0 -3
  141. package/lib/layout/sidebar.js +0 -77
  142. package/lib/layout/styles.d.ts +0 -1
  143. package/lib/layout/styles.js +0 -4
  144. package/lib/layout/types.d.ts +0 -36
  145. package/lib/layout/types.js +0 -2
  146. package/lib/login-layout/index.d.ts +0 -2
  147. package/lib/login-layout/index.js +0 -18
  148. package/lib/login-layout/login-layout.d.ts +0 -3
  149. package/lib/login-layout/login-layout.js +0 -19
  150. package/lib/login-layout/types.d.ts +0 -9
  151. package/lib/login-layout/types.js +0 -2
  152. package/lib/menu/active-item-resolver.d.ts +0 -7
  153. package/lib/menu/active-item-resolver.js +0 -42
  154. package/lib/menu/factory.d.ts +0 -10
  155. package/lib/menu/factory.js +0 -40
  156. package/lib/menu/index.d.ts +0 -5
  157. package/lib/menu/index.js +0 -21
  158. package/lib/menu/mobile-bar.d.ts +0 -8
  159. package/lib/menu/mobile-bar.js +0 -54
  160. package/lib/menu/model.d.ts +0 -56
  161. package/lib/menu/model.js +0 -112
  162. package/lib/menu/types.d.ts +0 -5
  163. package/lib/menu/types.js +0 -2
  164. package/lib/menu/ui/list-item/index.d.ts +0 -2
  165. package/lib/menu/ui/list-item/index.js +0 -18
  166. package/lib/menu/ui/list-item/list-item.d.ts +0 -3
  167. package/lib/menu/ui/list-item/list-item.js +0 -37
  168. package/lib/menu/ui/list-item/types.d.ts +0 -19
  169. package/lib/menu/ui/list-item/types.js +0 -2
  170. package/lib/menu/ui/menu-custom-item.d.ts +0 -6
  171. package/lib/menu/ui/menu-custom-item.js +0 -17
  172. package/lib/menu/ui/menu-item.d.ts +0 -6
  173. package/lib/menu/ui/menu-item.js +0 -55
  174. package/lib/menu/ui/menu-super-section-item.d.ts +0 -6
  175. package/lib/menu/ui/menu-super-section-item.js +0 -40
  176. package/lib/menu/ui/menu.d.ts +0 -6
  177. package/lib/menu/ui/menu.js +0 -37
  178. package/lib/menu/ui/sub-menu/sub-menu-item.d.ts +0 -7
  179. package/lib/menu/ui/sub-menu/sub-menu-item.js +0 -23
  180. package/lib/menu/ui/sub-menu/sub-menu-mobile.d.ts +0 -8
  181. package/lib/menu/ui/sub-menu/sub-menu-mobile.js +0 -48
  182. package/lib/menu/ui/sub-menu/sub-menu.d.ts +0 -7
  183. package/lib/menu/ui/sub-menu/sub-menu.js +0 -46
  184. package/lib/menu/ui/sub-menu/use-sub-menu.d.ts +0 -49
  185. package/lib/menu/ui/sub-menu/use-sub-menu.js +0 -45
  186. package/lib/menu/ui/user-menu.d.ts +0 -6
  187. package/lib/menu/ui/user-menu.js +0 -53
  188. package/pages/content-builder/components/form-content.d.ts +0 -12
  189. package/pages/content-builder/components/form-content.js +0 -64
  190. package/pages/content-builder/components/form-root-fields.d.ts +0 -16
  191. package/pages/content-builder/components/form-root-fields.js +0 -62
  192. package/pages/content-builder/components/form.d.ts +0 -12
  193. package/pages/content-builder/components/form.js +0 -83
  194. package/pages/content-builder/components/header.d.ts +0 -6
  195. package/pages/content-builder/components/header.js +0 -16
  196. package/pages/content-builder/constants.d.ts +0 -6
  197. package/pages/content-builder/constants.js +0 -10
  198. package/pages/content-builder/content/feature-section.d.ts +0 -17
  199. package/pages/content-builder/content/feature-section.js +0 -59
  200. package/pages/content-builder/content/gallery.d.ts +0 -9
  201. package/pages/content-builder/content/gallery.js +0 -27
  202. package/pages/content-builder/content/hero-section.d.ts +0 -12
  203. package/pages/content-builder/content/hero-section.js +0 -31
  204. package/pages/content-builder/content/people.d.ts +0 -17
  205. package/pages/content-builder/content/people.js +0 -57
  206. package/pages/content-builder/content/wysiwyg.d.ts +0 -15
  207. package/pages/content-builder/content/wysiwyg.js +0 -28
  208. package/pages/content-builder/content-builder-page.d.ts +0 -3
  209. package/pages/content-builder/content-builder-page.js +0 -107
  210. package/pages/content-builder/content-field.d.ts +0 -10
  211. package/pages/content-builder/content-field.js +0 -62
  212. package/pages/content-builder/content-header.d.ts +0 -3
  213. package/pages/content-builder/content-header.js +0 -53
  214. package/pages/content-builder/context/details-visibility-context.d.ts +0 -4
  215. package/pages/content-builder/context/details-visibility-context.js +0 -58
  216. package/pages/content-builder/hooks/use-sortable.d.ts +0 -15
  217. package/pages/content-builder/hooks/use-sortable.js +0 -57
  218. package/pages/content-builder/index.d.ts +0 -5
  219. package/pages/content-builder/index.js +0 -21
  220. package/pages/content-builder/mapper.d.ts +0 -4
  221. package/pages/content-builder/mapper.js +0 -69
  222. package/pages/content-builder/types.d.ts +0 -94
  223. package/pages/content-builder/types.js +0 -2
  224. package/pages/forgotten-password-page/forgotten-password-page.d.ts +0 -5
  225. package/pages/forgotten-password-page/forgotten-password-page.js +0 -49
  226. package/pages/forgotten-password-page/index.d.ts +0 -2
  227. package/pages/forgotten-password-page/index.js +0 -18
  228. package/pages/forgotten-password-page/types.d.ts +0 -11
  229. package/pages/forgotten-password-page/types.js +0 -2
  230. package/pages/grid-page/get-initial-props-helper.d.ts +0 -4
  231. package/pages/grid-page/get-initial-props-helper.js +0 -20
  232. package/pages/grid-page/grid-page.d.ts +0 -6
  233. package/pages/grid-page/grid-page.js +0 -159
  234. package/pages/grid-page/index.d.ts +0 -1
  235. package/pages/grid-page/index.js +0 -5
  236. package/pages/grid-page/types.d.ts +0 -65
  237. package/pages/grid-page/types.js +0 -2
  238. package/pages/grid-page/use-hidden-columns.d.ts +0 -4
  239. package/pages/grid-page/use-hidden-columns.js +0 -17
  240. package/pages/invite-user-page/index.d.ts +0 -2
  241. package/pages/invite-user-page/index.js +0 -18
  242. package/pages/invite-user-page/invite-user-page.d.ts +0 -2
  243. package/pages/invite-user-page/invite-user-page.js +0 -57
  244. package/pages/invite-user-page/types.d.ts +0 -12
  245. package/pages/invite-user-page/types.js +0 -2
  246. package/pages/login-page/index.d.ts +0 -2
  247. package/pages/login-page/index.js +0 -18
  248. package/pages/login-page/login-page.d.ts +0 -5
  249. package/pages/login-page/login-page.js +0 -80
  250. package/pages/login-page/types.d.ts +0 -21
  251. package/pages/login-page/types.js +0 -2
  252. package/pages/renew-password-page/index.d.ts +0 -2
  253. package/pages/renew-password-page/index.js +0 -18
  254. package/pages/renew-password-page/renew-password-page.d.ts +0 -9
  255. package/pages/renew-password-page/renew-password-page.js +0 -53
  256. package/pages/renew-password-page/types.d.ts +0 -14
  257. package/pages/renew-password-page/types.js +0 -2
  258. package/security/restricted-page.d.ts +0 -9
  259. package/security/restricted-page.js +0 -38
  260. package/security/use-logged-user.d.ts +0 -5
  261. package/security/use-logged-user.js +0 -17
  262. package/ui/avatar/avatar.d.ts +0 -11
  263. package/ui/avatar/avatar.js +0 -47
  264. package/ui/avatar/get-avatar-user-letters.d.ts +0 -1
  265. package/ui/avatar/get-avatar-user-letters.js +0 -18
  266. package/ui/avatar/index.d.ts +0 -3
  267. package/ui/avatar/index.js +0 -5
  268. package/ui/avatar/theme.d.ts +0 -11
  269. package/ui/avatar/theme.js +0 -2
  270. package/ui/copy-to-clipboard/copy-to-clipboard.d.ts +0 -3
  271. package/ui/copy-to-clipboard/copy-to-clipboard.js +0 -45
  272. package/ui/copy-to-clipboard/index.d.ts +0 -2
  273. package/ui/copy-to-clipboard/index.js +0 -18
  274. package/ui/copy-to-clipboard/types.d.ts +0 -7
  275. package/ui/copy-to-clipboard/types.js +0 -2
  276. package/ui/copy-to-clipboard-button/copy-to-clipboard-button.d.ts +0 -3
  277. package/ui/copy-to-clipboard-button/copy-to-clipboard-button.js +0 -44
  278. package/ui/copy-to-clipboard-button/index.d.ts +0 -2
  279. package/ui/copy-to-clipboard-button/index.js +0 -18
  280. package/ui/copy-to-clipboard-button/types.d.ts +0 -6
  281. package/ui/copy-to-clipboard-button/types.js +0 -2
  282. package/ui/index.d.ts +0 -1
  283. package/ui/index.js +0 -6
  284. package/ui/tw-tokens/tw-box-shadow.d.ts +0 -12
  285. package/ui/tw-tokens/tw-box-shadow.js +0 -15
  286. package/ui/tw-tokens/tw-colors.d.ts +0 -475
  287. package/ui/tw-tokens/tw-colors.js +0 -474
  288. package/ui/tw-tokens/tw-containers.d.ts +0 -8
  289. package/ui/tw-tokens/tw-containers.js +0 -5
  290. package/ui/tw-tokens/tw-font-size.d.ts +0 -55
  291. package/ui/tw-tokens/tw-font-size.js +0 -32
  292. package/ui/tw-tokens/tw-font-weight.d.ts +0 -12
  293. package/ui/tw-tokens/tw-font-weight.js +0 -15
  294. package/ui/tw-tokens/tw-line-height.d.ts +0 -17
  295. package/ui/tw-tokens/tw-line-height.js +0 -20
  296. package/ui/tw-tokens/tw-screens.d.ts +0 -8
  297. package/ui/tw-tokens/tw-screens.js +0 -5
  298. package/ui/tw-tokens/tw-spacing.d.ts +0 -39
  299. package/ui/tw-tokens/tw-spacing.js +0 -42
  300. package/ui/tw-tokens/tw-z-index.d.ts +0 -21
  301. package/ui/tw-tokens/tw-z-index.js +0 -24
  302. package/ui/widget/index.d.ts +0 -2
  303. package/ui/widget/index.js +0 -18
  304. package/ui/widget/types.d.ts +0 -6
  305. package/ui/widget/types.js +0 -2
  306. package/ui/widget/widget.d.ts +0 -3
  307. package/ui/widget/widget.js +0 -15
  308. package/utils/remove-confirm-handler.d.ts +0 -1
  309. package/utils/remove-confirm-handler.js +0 -26
  310. package/utils/use-viewport-height.d.ts +0 -3
  311. 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.72.5",
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.72.3",
35
- "@uxf/data-grid": "11.72.3",
36
- "@uxf/form": "11.72.3",
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.72.3",
39
- "@uxf/wysiwyg": "11.72.3",
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>;