@plone/volto 18.0.0-alpha.42 → 18.0.0-alpha.43

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 (137) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/finalreleasechangelog.py +48 -0
  3. package/locales/ca/LC_MESSAGES/volto.po +8 -12
  4. package/locales/ca.json +1 -1
  5. package/locales/de/LC_MESSAGES/volto.po +9 -13
  6. package/locales/de.json +1 -1
  7. package/locales/en/LC_MESSAGES/volto.po +8 -12
  8. package/locales/en.json +1 -1
  9. package/locales/es/LC_MESSAGES/volto.po +9 -13
  10. package/locales/es.json +1 -1
  11. package/locales/eu/LC_MESSAGES/volto.po +9 -13
  12. package/locales/eu.json +1 -1
  13. package/locales/fi/LC_MESSAGES/volto.po +9 -13
  14. package/locales/fi.json +1 -1
  15. package/locales/fr/LC_MESSAGES/volto.po +9 -13
  16. package/locales/fr.json +1 -1
  17. package/locales/hi/LC_MESSAGES/volto.po +9 -13
  18. package/locales/hi.json +1 -1
  19. package/locales/it/LC_MESSAGES/volto.po +9 -13
  20. package/locales/it.json +1 -1
  21. package/locales/ja/LC_MESSAGES/volto.po +8 -12
  22. package/locales/ja.json +1 -1
  23. package/locales/nl/LC_MESSAGES/volto.po +8 -12
  24. package/locales/nl.json +1 -1
  25. package/locales/pt/LC_MESSAGES/volto.po +8 -12
  26. package/locales/pt.json +1 -1
  27. package/locales/pt_BR/LC_MESSAGES/volto.po +9 -13
  28. package/locales/pt_BR.json +1 -1
  29. package/locales/ro/LC_MESSAGES/volto.po +8 -12
  30. package/locales/ro.json +1 -1
  31. package/locales/volto.pot +9 -13
  32. package/locales/zh_CN/LC_MESSAGES/volto.po +9 -13
  33. package/locales/zh_CN.json +1 -1
  34. package/package.json +3 -3
  35. package/razzle.config.js +1 -1
  36. package/src/components/manage/Actions/Actions.stories.jsx +138 -0
  37. package/src/components/manage/Add/Add.jsx +7 -4
  38. package/src/components/manage/BlockChooser/BlockChooser.jsx +9 -1
  39. package/src/components/manage/Blocks/Block/Edit.jsx +24 -8
  40. package/src/components/manage/Blocks/Block/EditBlockWrapper.jsx +17 -1
  41. package/src/components/manage/Blocks/Block/Order/Item.jsx +3 -1
  42. package/src/components/manage/Blocks/Grid/View.jsx +3 -0
  43. package/src/components/manage/Blocks/LeadImage/Edit.jsx +74 -126
  44. package/src/components/manage/Blocks/Search/components/SortOn.jsx +82 -55
  45. package/src/components/manage/Blocks/Search/widgets/SelectMetadataField.jsx +107 -176
  46. package/src/components/manage/Blocks/Teaser/DefaultBody.jsx +15 -8
  47. package/src/components/manage/Blocks/ToC/Edit.jsx +36 -29
  48. package/src/components/manage/Blocks/Video/Edit.jsx +105 -172
  49. package/src/components/manage/Blocks/Video/Edit.stories.jsx +57 -0
  50. package/src/components/manage/Contents/Contents.jsx +3 -0
  51. package/src/components/manage/Contents/ContentsBreadcrumbs.stories.jsx +46 -0
  52. package/src/components/manage/Contents/ContentsPropertiesModal.jsx +85 -52
  53. package/src/components/manage/Contents/ContentsUploadModal.jsx +230 -323
  54. package/src/components/manage/Contents/ContentsUploadModal.stories.jsx +56 -0
  55. package/src/components/manage/Controlpanels/AddonsControlpanel.jsx +323 -441
  56. package/src/components/manage/Controlpanels/Aliases.jsx +452 -580
  57. package/src/components/manage/Controlpanels/Aliases.stories.jsx +74 -0
  58. package/src/components/manage/Controlpanels/Controlpanel.jsx +41 -2
  59. package/src/components/manage/Controlpanels/Controlpanel.test.jsx +55 -24
  60. package/src/components/manage/Controlpanels/DatabaseInformation.jsx +162 -229
  61. package/src/components/manage/Controlpanels/Groups/RenderGroups.jsx +74 -122
  62. package/src/components/manage/Display/Display.jsx +92 -148
  63. package/src/components/manage/Display/Display.stories.jsx +46 -0
  64. package/src/components/manage/Edit/Edit.jsx +2 -4
  65. package/src/components/manage/Preferences/ChangePassword.jsx +94 -172
  66. package/src/components/manage/Preferences/ChangePassword.stories.jsx +41 -0
  67. package/src/components/manage/Preferences/PersonalInformation.jsx +50 -115
  68. package/src/components/manage/Preferences/PersonalPreferences.jsx +46 -100
  69. package/src/components/manage/Preferences/PersonalPreferences.stories.jsx +48 -0
  70. package/src/components/manage/Toolbar/More.jsx +308 -399
  71. package/src/components/manage/Widgets/DatetimeWidget.jsx +121 -175
  72. package/src/components/manage/Widgets/ReferenceWidget.jsx +134 -210
  73. package/src/components/theme/Register/Register.jsx +70 -142
  74. package/src/components/theme/Register/Register.stories.jsx +49 -0
  75. package/src/components/theme/Tags/Tags.jsx +19 -10
  76. package/src/components/theme/Tags/Tags.test.jsx +9 -11
  77. package/src/components/theme/View/AlbumView.jsx +122 -167
  78. package/src/components/theme/View/LinkView.jsx +4 -0
  79. package/src/components/theme/View/LinkView.test.jsx +2 -0
  80. package/src/components/theme/View/View.jsx +0 -6
  81. package/src/config/ControlPanels.js +49 -43
  82. package/src/config/config.test.js +1 -0
  83. package/src/config/index.js +16 -0
  84. package/src/config/slots.js +12 -0
  85. package/src/helpers/Blocks/Blocks.js +12 -7
  86. package/src/helpers/Blocks/Blocks.test.js +15 -0
  87. package/src/helpers/Blocks/cloneBlocks.ts +1 -1
  88. package/src/helpers/FormValidation/FormValidation.jsx +19 -2
  89. package/src/helpers/FormValidation/validators.ts +1 -1
  90. package/src/helpers/Url/Url.test.js +15 -2
  91. package/src/helpers/Url/urlRegex.js +1 -1
  92. package/src/helpers/index.js +2 -0
  93. package/src/middleware/api.js +4 -2
  94. package/src/middleware/index.js +1 -0
  95. package/src/middleware/userSessionReset.js +46 -0
  96. package/src/store.js +2 -0
  97. package/test-setup-config.jsx +3 -0
  98. package/theme/themes/pastanaga/extras/blocks.less +6 -0
  99. package/types/components/manage/Actions/Actions.stories.d.ts +8 -0
  100. package/types/components/manage/Blocks/LeadImage/Edit.d.ts +14 -5
  101. package/types/components/manage/Blocks/Search/widgets/SelectMetadataField.d.ts +0 -5
  102. package/types/components/manage/Blocks/ToC/Edit.d.ts +1 -6
  103. package/types/components/manage/Blocks/Video/Edit.d.ts +1 -1
  104. package/types/components/manage/Blocks/Video/Edit.stories.d.ts +8 -0
  105. package/types/components/manage/Contents/ContentsBreadcrumbs.stories.d.ts +8 -0
  106. package/types/components/manage/Contents/ContentsUploadModal.d.ts +14 -2
  107. package/types/components/manage/Contents/ContentsUploadModal.stories.d.ts +8 -0
  108. package/types/components/manage/Contents/index.d.ts +1 -1
  109. package/types/components/manage/Controlpanels/AddonsControlpanel.d.ts +2 -2
  110. package/types/components/manage/Controlpanels/Aliases.d.ts +2 -2
  111. package/types/components/manage/Controlpanels/Aliases.stories.d.ts +8 -0
  112. package/types/components/manage/Controlpanels/DatabaseInformation.d.ts +2 -2
  113. package/types/components/manage/Controlpanels/Groups/RenderGroups.d.ts +10 -5
  114. package/types/components/manage/Controlpanels/index.d.ts +4 -4
  115. package/types/components/manage/Display/Display.stories.d.ts +8 -0
  116. package/types/components/manage/Preferences/ChangePassword.d.ts +2 -2
  117. package/types/components/manage/Preferences/ChangePassword.stories.d.ts +8 -0
  118. package/types/components/manage/Preferences/PersonalInformation.d.ts +7 -2
  119. package/types/components/manage/Preferences/PersonalPreferences.d.ts +5 -1
  120. package/types/components/manage/Preferences/PersonalPreferences.stories.d.ts +8 -0
  121. package/types/components/manage/Toolbar/More.d.ts +8 -5
  122. package/types/components/manage/Widgets/DatetimeWidget.d.ts +0 -85
  123. package/types/components/manage/Widgets/DatetimeWidget.stories.d.ts +0 -1
  124. package/types/components/manage/Widgets/ReferenceWidget.d.ts +27 -2
  125. package/types/components/manage/Widgets/index.d.ts +1 -1
  126. package/types/components/theme/Register/Register.d.ts +2 -2
  127. package/types/components/theme/Register/Register.stories.d.ts +9 -0
  128. package/types/components/theme/Tags/Tags.d.ts +15 -7
  129. package/types/components/theme/View/AlbumView.d.ts +3 -17
  130. package/types/config/ControlPanels.d.ts +8 -0
  131. package/types/config/Widgets.d.ts +1 -1
  132. package/types/config/slots.d.ts +21 -0
  133. package/types/helpers/Blocks/Blocks.d.ts +6 -0
  134. package/types/helpers/FormValidation/FormValidation.d.ts +1 -0
  135. package/types/helpers/index.d.ts +2 -2
  136. package/types/middleware/index.d.ts +1 -0
  137. package/types/middleware/userSessionReset.d.ts +5 -0
@@ -161,7 +161,7 @@ export function addBlock(formData, type, index, blocksConfig) {
161
161
 
162
162
  return [
163
163
  id,
164
- _applyBlockInitialValue({
164
+ applyBlockInitialValue({
165
165
  id,
166
166
  value,
167
167
  blocksConfig,
@@ -197,8 +197,12 @@ export function addBlock(formData, type, index, blocksConfig) {
197
197
  * to call `onChangeBlock` at their creation time, as this is prone to racing
198
198
  * issue on block data storage.
199
199
  */
200
- const _applyBlockInitialValue = ({ id, value, blocksConfig, formData }) => {
201
- const blocksFieldname = getBlocksFieldname(formData);
200
+ export const applyBlockInitialValue = ({
201
+ id,
202
+ value,
203
+ blocksConfig,
204
+ formData,
205
+ }) => {
202
206
  const type = value['@type'];
203
207
  blocksConfig = blocksConfig || config.blocks.blocksConfig;
204
208
 
@@ -208,6 +212,7 @@ const _applyBlockInitialValue = ({ id, value, blocksConfig, formData }) => {
208
212
  value,
209
213
  formData,
210
214
  });
215
+ const blocksFieldname = getBlocksFieldname(formData);
211
216
  formData[blocksFieldname][id] = value;
212
217
  }
213
218
 
@@ -238,7 +243,7 @@ export function mutateBlock(formData, id, value, blocksConfig) {
238
243
  const trailId = formData[blocksLayoutFieldname].items[index];
239
244
  if (trailId) {
240
245
  const block = formData[blocksFieldname][trailId];
241
- newFormData = _applyBlockInitialValue({
246
+ newFormData = applyBlockInitialValue({
242
247
  id,
243
248
  value,
244
249
  blocksConfig,
@@ -256,7 +261,7 @@ export function mutateBlock(formData, id, value, blocksConfig) {
256
261
  }
257
262
 
258
263
  const idTrailingBlock = uuid();
259
- newFormData = _applyBlockInitialValue({
264
+ newFormData = applyBlockInitialValue({
260
265
  id,
261
266
  value,
262
267
  blocksConfig,
@@ -307,8 +312,8 @@ export function insertBlock(
307
312
  });
308
313
 
309
314
  const newBlockId = uuid();
310
- const newFormData = _applyBlockInitialValue({
311
- id,
315
+ const newFormData = applyBlockInitialValue({
316
+ id: newBlockId,
312
317
  value,
313
318
  blocksConfig,
314
319
  formData: {
@@ -511,6 +511,21 @@ describe('Blocks', () => {
511
511
  });
512
512
  });
513
513
 
514
+ it('initializes data for new block with initialValue in insertBlock', () => {
515
+ const [newId, form] = insertBlock(
516
+ {
517
+ blocks: { a: { value: 1 }, b: { value: 2 } },
518
+ blocks_layout: { items: ['a', 'b'] },
519
+ },
520
+ 'b',
521
+ { '@type': 'dummyText' },
522
+ );
523
+ expect(form.blocks[newId]).toStrictEqual({
524
+ '@type': 'dummyText',
525
+ marker: true,
526
+ });
527
+ });
528
+
514
529
  it('initializes data for new block based on schema defaults', () => {
515
530
  const [newId, form] = addBlock(
516
531
  {
@@ -4,7 +4,7 @@ import {
4
4
  getBlocksFieldname,
5
5
  getBlocksLayoutFieldname,
6
6
  hasBlocksData,
7
- } from './Blocks';
7
+ } from '@plone/volto/helpers/Blocks/Blocks';
8
8
  import config from '@plone/registry';
9
9
 
10
10
  export function cloneBlocks(blocksData) {
@@ -1,5 +1,5 @@
1
1
  import { map, keys, intersection, isEmpty } from 'lodash';
2
- import { messages } from '../MessageLabels/MessageLabels';
2
+ import { messages } from '@plone/volto/helpers/MessageLabels/MessageLabels';
3
3
  import config from '@plone/volto/registry';
4
4
  import { toast } from 'react-toastify';
5
5
  import Toast from '@plone/volto/components/manage/Toast/Toast';
@@ -35,7 +35,14 @@ export const tryParseJSON = (requestItem) => {
35
35
  try {
36
36
  resultObj = JSON.parse(requestItem.replace(/'/g, '"'));
37
37
  } catch (e) {
38
- resultObj = null;
38
+ try {
39
+ // Treats strings like: `'String "double quotes"'`
40
+ resultObj = JSON.parse(
41
+ requestItem.replace(/"/g, '\\"').replace(/'/g, '"'),
42
+ );
43
+ } catch (e) {
44
+ resultObj = null;
45
+ }
39
46
  }
40
47
  }
41
48
  return resultObj;
@@ -338,3 +345,13 @@ export const validateFileUploadSize = (file, intlFunc) => {
338
345
  }
339
346
  return isValid;
340
347
  };
348
+
349
+ /**
350
+ * Extract invariant errors given an array of errors.
351
+ * @param {Array} erros
352
+ */
353
+ export const extractInvariantErrors = (erros) => {
354
+ return erros
355
+ .filter((errorItem) => !('field' in errorItem))
356
+ .map((errorItem) => errorItem['message']);
357
+ };
@@ -1,4 +1,4 @@
1
- import { validationMessage } from './FormValidation';
1
+ import { validationMessage } from '@plone/volto/helpers/FormValidation/FormValidation';
2
2
  import { messages } from '@plone/volto/helpers/MessageLabels/MessageLabels';
3
3
 
4
4
  type MinMaxValidator = {
@@ -255,11 +255,24 @@ describe('Url', () => {
255
255
  });
256
256
  it('isUrl test 4', () => {
257
257
  const href = `https://www`;
258
- expect(isUrl(href)).toBe(false);
258
+ expect(isUrl(href)).toBe(true);
259
259
  });
260
260
  it('isUrl test 5', () => {
261
+ const href = `https://www/foo/bar`;
262
+ expect(isUrl(href)).toBe(true);
263
+ });
264
+ it('isUrl test 6', () => {
265
+ // at the end of the day, this is a strange, but valid, URL
261
266
  const href = `www.e`;
262
- expect(isUrl(href)).toBe(false);
267
+ expect(isUrl(href)).toBe(true);
268
+ });
269
+ it('isUrl test 7', () => {
270
+ const href = `file://server/folder/file.txt`;
271
+ expect(isUrl(href)).toBe(true);
272
+ });
273
+ it('isUrl test 8', () => {
274
+ const href = `file://server.dir.internal/folder/file.txt`;
275
+ expect(isUrl(href)).toBe(true);
263
276
  });
264
277
  });
265
278
  describe('getFieldURL', () => {
@@ -52,7 +52,7 @@ export const urlRegex = (_opts) => {
52
52
  })\\.?`;
53
53
  const port = '(?::\\d{2,5})?';
54
54
  const path = '(?:[/?#][^\\s"]*)?';
55
- const regex = `(?:${protocol}|www\\.)${auth}(?:localhost|${ip}|${host}${domain}${tld})${port}${path}`;
55
+ const regex = `(?:${protocol}|www\\.)${auth}(?:localhost|${ip}|${host}${domain}${tld}|${host})${port}${path}`;
56
56
 
57
57
  return opts.exact
58
58
  ? new RegExp(`(?:^${regex}$)`, 'i')
@@ -40,6 +40,7 @@ export {
40
40
  getLanguageIndependentFields,
41
41
  } from '@plone/volto/helpers/Content/Content';
42
42
  export {
43
+ applyBlockInitialValue,
43
44
  addBlock,
44
45
  insertBlock,
45
46
  blockHasValue,
@@ -85,6 +86,7 @@ export { default as Helmet } from './Helmet/Helmet';
85
86
  export { default as FormValidation } from './FormValidation/FormValidation';
86
87
  export { validateFileUploadSize } from './FormValidation/FormValidation';
87
88
  export { tryParseJSON } from './FormValidation/FormValidation';
89
+ export { extractInvariantErrors } from './FormValidation/FormValidation';
88
90
  export {
89
91
  difference,
90
92
  getColor,
@@ -222,7 +222,8 @@ const apiMiddlewareFactory =
222
222
  }
223
223
 
224
224
  const { settings } = config;
225
- if (getState().apierror.connectionRefused) {
225
+ const state = getState();
226
+ if (state.apierror.connectionRefused) {
226
227
  next({
227
228
  ...rest,
228
229
  type: RESET_APIERROR,
@@ -232,7 +233,7 @@ const apiMiddlewareFactory =
232
233
  const lang = result?.language?.token;
233
234
  if (
234
235
  lang &&
235
- getState().intl.locale !== toReactIntlLang(lang) &&
236
+ state.intl.locale !== toReactIntlLang(lang) &&
236
237
  !subrequest &&
237
238
  config.settings.supportedLanguages.includes(lang)
238
239
  ) {
@@ -244,6 +245,7 @@ const apiMiddlewareFactory =
244
245
  });
245
246
  }
246
247
  }
248
+
247
249
  if (type === LOGIN && settings.websockets) {
248
250
  const cookies = new Cookies();
249
251
  cookies.set(
@@ -11,3 +11,4 @@ export {
11
11
  protectLoadEnd,
12
12
  loadProtector,
13
13
  } from '@plone/volto/middleware/storeProtectLoadUtils';
14
+ export { default as userSessionReset } from './userSessionReset';
@@ -0,0 +1,46 @@
1
+ import Cookies from 'universal-cookie';
2
+
3
+ const LOCATION_CHANGE = '@@router/LOCATION_CHANGE';
4
+
5
+ const userSessionReset =
6
+ ({ dispatch, getState }) =>
7
+ (next) =>
8
+ (action) => {
9
+ if (typeof action === 'function') {
10
+ return next(action);
11
+ }
12
+
13
+ switch (action.type) {
14
+ case LOCATION_CHANGE:
15
+ if (action.request?.subrequest || __SERVER__) {
16
+ return next(action);
17
+ }
18
+
19
+ const cookies = new Cookies();
20
+ const token = cookies.get('auth_token');
21
+ const state = getState();
22
+
23
+ if (token && !state.userSession?.token) {
24
+ const loginAction = {
25
+ type: 'LOGIN_SUCCESS',
26
+ result: {
27
+ token,
28
+ },
29
+ };
30
+ dispatch(loginAction);
31
+ } else if (!token && state.userSession?.token) {
32
+ const logoutAction = {
33
+ type: 'LOGOUT_SUCCESS',
34
+ result: {
35
+ token,
36
+ },
37
+ };
38
+ dispatch(logoutAction);
39
+ }
40
+ return next(action);
41
+ default:
42
+ return next(action);
43
+ }
44
+ };
45
+
46
+ export default userSessionReset;
package/src/store.js CHANGED
@@ -13,6 +13,7 @@ import {
13
13
  protectLoadStart,
14
14
  protectLoadEnd,
15
15
  loadProtector,
16
+ userSessionReset,
16
17
  } from '@plone/volto/middleware';
17
18
 
18
19
  const configureStore = (initialState, history, apiHelper) => {
@@ -22,6 +23,7 @@ const configureStore = (initialState, history, apiHelper) => {
22
23
  routerMiddleware(history),
23
24
  thunk,
24
25
  ...(apiHelper ? [api(apiHelper)] : []),
26
+ userSessionReset,
25
27
  protectLoadEnd,
26
28
  ...(__CLIENT__
27
29
  ? [save({ states: config.settings.persistentReducers, debounce: 500 })]
@@ -20,6 +20,7 @@ import {
20
20
  controlPanelsIcons,
21
21
  filterControlPanels,
22
22
  filterControlPanelsSchema,
23
+ unwantedControlPanelsFields,
23
24
  } from '@plone/volto/config/ControlPanels';
24
25
 
25
26
  import ListingBlockSchema from '@plone/volto/components/manage/Blocks/Listing/schema';
@@ -31,6 +32,7 @@ config.set('settings', {
31
32
  defaultLanguage: 'en',
32
33
  supportedLanguages: ['en'],
33
34
  defaultPageSize: 25,
35
+ showTags: true,
34
36
  isMultilingual: false,
35
37
  nonContentRoutes,
36
38
  contentIcons: contentIcons,
@@ -49,6 +51,7 @@ config.set('settings', {
49
51
  controlPanelsIcons,
50
52
  filterControlPanels,
51
53
  filterControlPanelsSchema,
54
+ unwantedControlPanelsFields,
52
55
  apiExpanders: [],
53
56
  downloadableObjects: ['File'],
54
57
  viewableInBrowserObjects: [],
@@ -1120,6 +1120,12 @@ div.image-upload-widget-image {
1120
1120
  flex-direction: row;
1121
1121
  align-items: center;
1122
1122
  margin-right: 0.5em;
1123
+
1124
+ .sorted-label-value {
1125
+ margin-right: 0.5em;
1126
+ margin-left: 0.7em;
1127
+ color: @lightGrey;
1128
+ }
1123
1129
  }
1124
1130
 
1125
1131
  .sort-label {
@@ -0,0 +1,8 @@
1
+ export const Actions: any;
2
+ declare namespace _default {
3
+ export let title: string;
4
+ export { Actions as component };
5
+ export let decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
6
+ export let argTypes: {};
7
+ }
8
+ export default _default;
@@ -1,5 +1,14 @@
1
- declare const _default: React.FC<import("react-intl").WithIntlProps<any>> & {
2
- WrappedComponent: React.ComponentType<any>;
3
- };
4
- export default _default;
5
- import React from 'react';
1
+ export default Edit;
2
+ declare function Edit(props: any): import("react/jsx-runtime").JSX.Element;
3
+ declare namespace Edit {
4
+ namespace propTypes {
5
+ let properties: any;
6
+ let selected: any;
7
+ let block: any;
8
+ let index: any;
9
+ let data: any;
10
+ let pathname: any;
11
+ let onChangeBlock: any;
12
+ let openObjectBrowser: any;
13
+ }
14
+ }
@@ -1,10 +1,5 @@
1
1
  declare const _default: {
2
2
  (props: any): import("react/jsx-runtime").JSX.Element;
3
- /**
4
- * Property types.
5
- * @property {Object} propTypes Property types.
6
- * @static
7
- */
8
3
  displayName: string;
9
4
  };
10
5
  export default _default;
@@ -1,7 +1,2 @@
1
1
  export default Edit;
2
- declare class Edit extends React.Component<any, any, any> {
3
- constructor(props: any);
4
- constructor(props: any, context: any);
5
- render(): import("react/jsx-runtime").JSX.Element;
6
- }
7
- import React from 'react';
2
+ declare function Edit(props: any): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- declare const _default: any;
1
+ declare const _default: (props: any) => import("react/jsx-runtime").JSX.Element;
2
2
  export default _default;
@@ -0,0 +1,8 @@
1
+ export const Video: any;
2
+ declare namespace _default {
3
+ export let title: string;
4
+ export { Video as component };
5
+ export let decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
6
+ export let argTypes: {};
7
+ }
8
+ export default _default;
@@ -0,0 +1,8 @@
1
+ export const ContentBreadcrumbs: any;
2
+ declare namespace _default {
3
+ export let title: string;
4
+ export { ContentBreadcrumbs as component };
5
+ export let decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
6
+ export let argTypes: {};
7
+ }
8
+ export default _default;
@@ -1,2 +1,14 @@
1
- declare const _default: any;
2
- export default _default;
1
+ export default ContentsUploadModal;
2
+ declare function ContentsUploadModal(props: any): import("react/jsx-runtime").JSX.Element;
3
+ declare namespace ContentsUploadModal {
4
+ namespace propTypes {
5
+ let pathname: any;
6
+ let open: any;
7
+ let onOk: any;
8
+ let onCancel: any;
9
+ let multiple: any;
10
+ let minSize: any;
11
+ let maxSize: any;
12
+ let accept: any;
13
+ }
14
+ }
@@ -0,0 +1,8 @@
1
+ export const ContentUploadModal: any;
2
+ declare namespace _default {
3
+ export let title: string;
4
+ export { ContentUploadModal as component };
5
+ export let decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
6
+ export let argTypes: {};
7
+ }
8
+ export default _default;
@@ -3,7 +3,7 @@ export declare const ContentsRenameModal: import("@loadable/component").Loadable
3
3
  export declare const ContentsBreadcrumbs: import("@loadable/component").LoadableComponent<any>;
4
4
  export declare const ContentsIndexHeader: import("@loadable/component").LoadableClassComponent<any>;
5
5
  export declare const ContentsItem: import("@loadable/component").LoadableClassComponent<any>;
6
- export declare const ContentsUploadModal: import("@loadable/component").LoadableClassComponent<any>;
6
+ export declare const ContentsUploadModal: import("@loadable/component").LoadableComponent<any>;
7
7
  export declare const ContentsPropertiesModal: import("@loadable/component").LoadableComponent<any>;
8
8
  export declare const ContentsWorkflowModal: import("@loadable/component").LoadableComponent<any>;
9
9
  export declare const ContentsTagsModal: import("@loadable/component").LoadableComponent<any>;
@@ -1,2 +1,2 @@
1
- declare const _default: any;
2
- export default _default;
1
+ export default AddonsControlpanel;
2
+ declare function AddonsControlpanel(props: any): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- declare const _default: any;
2
- export default _default;
1
+ export default Aliases;
2
+ declare function Aliases(props: any): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export const Aliases: any;
2
+ declare namespace _default {
3
+ export let title: string;
4
+ export { Aliases as component };
5
+ export let decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
6
+ export let argTypes: {};
7
+ }
8
+ export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: any;
2
- export default _default;
1
+ export default DatabaseInformation;
2
+ declare function DatabaseInformation(): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,10 @@
1
- declare const _default: React.FC<import("react-intl").WithIntlProps<any>> & {
2
- WrappedComponent: React.ComponentType<any>;
3
- };
4
- export default _default;
5
- import React from 'react';
1
+ export default RenderGroups;
2
+ declare function RenderGroups(props: any): import("react/jsx-runtime").JSX.Element;
3
+ declare namespace RenderGroups {
4
+ namespace propTypes {
5
+ let group: any;
6
+ let roles: any;
7
+ let inheritedRole: any;
8
+ let onDelete: any;
9
+ }
10
+ }
@@ -9,11 +9,11 @@ export declare const UsersControlpanel: import("@loadable/component").LoadableCl
9
9
  export declare const RenderUsers: import("@loadable/component").LoadableClassComponent<any>;
10
10
  export declare const UserGroupMembershipControlPanel: import("@loadable/component").LoadableComponent<unknown>;
11
11
  export declare const GroupsControlpanel: import("@loadable/component").LoadableClassComponent<any>;
12
- export declare const RenderGroups: import("@loadable/component").LoadableComponent<import("react-intl").WithIntlProps<any>>;
12
+ export declare const RenderGroups: import("@loadable/component").LoadableComponent<any>;
13
13
  export declare const RelationsControlpanel: import("@loadable/component").LoadableComponent<unknown>;
14
- export declare const AliasesControlpanel: import("@loadable/component").LoadableClassComponent<any>;
14
+ export declare const AliasesControlpanel: import("@loadable/component").LoadableComponent<any>;
15
15
  export declare const UndoControlpanel: import("@loadable/component").LoadableClassComponent<any>;
16
- export declare const AddonsControlpanel: import("@loadable/component").LoadableClassComponent<any>;
16
+ export declare const AddonsControlpanel: import("@loadable/component").LoadableComponent<any>;
17
17
  export declare const ContentType: import("@loadable/component").LoadableClassComponent<any>;
18
18
  export declare const ContentTypeLayout: import("@loadable/component").LoadableClassComponent<any>;
19
19
  export declare const ContentTypeSchema: import("@loadable/component").LoadableClassComponent<any>;
@@ -29,4 +29,4 @@ export declare const VersionOverview: import("@loadable/component").LoadableComp
29
29
  }>;
30
30
  export declare const UpgradeControlPanel: import("@loadable/component").LoadableClassComponent<any>;
31
31
  export declare const ModerateComments: import("@loadable/component").LoadableClassComponent<any>;
32
- export declare const DatabaseInformation: import("@loadable/component").LoadableClassComponent<any>;
32
+ export declare const DatabaseInformation: import("@loadable/component").LoadableComponent<unknown>;
@@ -0,0 +1,8 @@
1
+ export const Display: any;
2
+ declare namespace _default {
3
+ export let title: string;
4
+ export { Display as component };
5
+ export let decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
6
+ export let argTypes: {};
7
+ }
8
+ export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: any;
2
- export default _default;
1
+ export default ChangePassword;
2
+ declare function ChangePassword(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export const ChangePassword: any;
2
+ declare namespace _default {
3
+ export let title: string;
4
+ export { ChangePassword as component };
5
+ export let decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
6
+ export let argTypes: {};
7
+ }
8
+ export default _default;
@@ -1,2 +1,7 @@
1
- declare const _default: any;
2
- export default _default;
1
+ export default PersonalInformation;
2
+ declare function PersonalInformation(props: any): import("react/jsx-runtime").JSX.Element;
3
+ declare namespace PersonalInformation {
4
+ namespace propTypes {
5
+ let closeMenu: any;
6
+ }
7
+ }
@@ -1,2 +1,6 @@
1
- declare const _default: any;
1
+ declare const _default: import("react").ComponentType<{
2
+ [x: string]: any;
3
+ [x: number]: any;
4
+ [x: symbol]: any;
5
+ }>;
2
6
  export default _default;
@@ -0,0 +1,8 @@
1
+ export const PersonalPreferences: any;
2
+ declare namespace _default {
3
+ export let title: string;
4
+ export { PersonalPreferences as component };
5
+ export let decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
6
+ export let argTypes: {};
7
+ }
8
+ export default _default;
@@ -1,5 +1,8 @@
1
- declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
- WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
- };
4
- export default _default;
5
- import React from 'react';
1
+ export default More;
2
+ declare function More(props: any): import("react/jsx-runtime").JSX.Element;
3
+ declare namespace More {
4
+ namespace propTypes {
5
+ let loadComponent: any;
6
+ let closeMenu: any;
7
+ }
8
+ }