@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.
- package/CHANGELOG.md +72 -0
- package/finalreleasechangelog.py +48 -0
- package/locales/ca/LC_MESSAGES/volto.po +8 -12
- package/locales/ca.json +1 -1
- package/locales/de/LC_MESSAGES/volto.po +9 -13
- package/locales/de.json +1 -1
- package/locales/en/LC_MESSAGES/volto.po +8 -12
- package/locales/en.json +1 -1
- package/locales/es/LC_MESSAGES/volto.po +9 -13
- package/locales/es.json +1 -1
- package/locales/eu/LC_MESSAGES/volto.po +9 -13
- package/locales/eu.json +1 -1
- package/locales/fi/LC_MESSAGES/volto.po +9 -13
- package/locales/fi.json +1 -1
- package/locales/fr/LC_MESSAGES/volto.po +9 -13
- package/locales/fr.json +1 -1
- package/locales/hi/LC_MESSAGES/volto.po +9 -13
- package/locales/hi.json +1 -1
- package/locales/it/LC_MESSAGES/volto.po +9 -13
- package/locales/it.json +1 -1
- package/locales/ja/LC_MESSAGES/volto.po +8 -12
- package/locales/ja.json +1 -1
- package/locales/nl/LC_MESSAGES/volto.po +8 -12
- package/locales/nl.json +1 -1
- package/locales/pt/LC_MESSAGES/volto.po +8 -12
- package/locales/pt.json +1 -1
- package/locales/pt_BR/LC_MESSAGES/volto.po +9 -13
- package/locales/pt_BR.json +1 -1
- package/locales/ro/LC_MESSAGES/volto.po +8 -12
- package/locales/ro.json +1 -1
- package/locales/volto.pot +9 -13
- package/locales/zh_CN/LC_MESSAGES/volto.po +9 -13
- package/locales/zh_CN.json +1 -1
- package/package.json +3 -3
- package/razzle.config.js +1 -1
- package/src/components/manage/Actions/Actions.stories.jsx +138 -0
- package/src/components/manage/Add/Add.jsx +7 -4
- package/src/components/manage/BlockChooser/BlockChooser.jsx +9 -1
- package/src/components/manage/Blocks/Block/Edit.jsx +24 -8
- package/src/components/manage/Blocks/Block/EditBlockWrapper.jsx +17 -1
- package/src/components/manage/Blocks/Block/Order/Item.jsx +3 -1
- package/src/components/manage/Blocks/Grid/View.jsx +3 -0
- package/src/components/manage/Blocks/LeadImage/Edit.jsx +74 -126
- package/src/components/manage/Blocks/Search/components/SortOn.jsx +82 -55
- package/src/components/manage/Blocks/Search/widgets/SelectMetadataField.jsx +107 -176
- package/src/components/manage/Blocks/Teaser/DefaultBody.jsx +15 -8
- package/src/components/manage/Blocks/ToC/Edit.jsx +36 -29
- package/src/components/manage/Blocks/Video/Edit.jsx +105 -172
- package/src/components/manage/Blocks/Video/Edit.stories.jsx +57 -0
- package/src/components/manage/Contents/Contents.jsx +3 -0
- package/src/components/manage/Contents/ContentsBreadcrumbs.stories.jsx +46 -0
- package/src/components/manage/Contents/ContentsPropertiesModal.jsx +85 -52
- package/src/components/manage/Contents/ContentsUploadModal.jsx +230 -323
- package/src/components/manage/Contents/ContentsUploadModal.stories.jsx +56 -0
- package/src/components/manage/Controlpanels/AddonsControlpanel.jsx +323 -441
- package/src/components/manage/Controlpanels/Aliases.jsx +452 -580
- package/src/components/manage/Controlpanels/Aliases.stories.jsx +74 -0
- package/src/components/manage/Controlpanels/Controlpanel.jsx +41 -2
- package/src/components/manage/Controlpanels/Controlpanel.test.jsx +55 -24
- package/src/components/manage/Controlpanels/DatabaseInformation.jsx +162 -229
- package/src/components/manage/Controlpanels/Groups/RenderGroups.jsx +74 -122
- package/src/components/manage/Display/Display.jsx +92 -148
- package/src/components/manage/Display/Display.stories.jsx +46 -0
- package/src/components/manage/Edit/Edit.jsx +2 -4
- package/src/components/manage/Preferences/ChangePassword.jsx +94 -172
- package/src/components/manage/Preferences/ChangePassword.stories.jsx +41 -0
- package/src/components/manage/Preferences/PersonalInformation.jsx +50 -115
- package/src/components/manage/Preferences/PersonalPreferences.jsx +46 -100
- package/src/components/manage/Preferences/PersonalPreferences.stories.jsx +48 -0
- package/src/components/manage/Toolbar/More.jsx +308 -399
- package/src/components/manage/Widgets/DatetimeWidget.jsx +121 -175
- package/src/components/manage/Widgets/ReferenceWidget.jsx +134 -210
- package/src/components/theme/Register/Register.jsx +70 -142
- package/src/components/theme/Register/Register.stories.jsx +49 -0
- package/src/components/theme/Tags/Tags.jsx +19 -10
- package/src/components/theme/Tags/Tags.test.jsx +9 -11
- package/src/components/theme/View/AlbumView.jsx +122 -167
- package/src/components/theme/View/LinkView.jsx +4 -0
- package/src/components/theme/View/LinkView.test.jsx +2 -0
- package/src/components/theme/View/View.jsx +0 -6
- package/src/config/ControlPanels.js +49 -43
- package/src/config/config.test.js +1 -0
- package/src/config/index.js +16 -0
- package/src/config/slots.js +12 -0
- package/src/helpers/Blocks/Blocks.js +12 -7
- package/src/helpers/Blocks/Blocks.test.js +15 -0
- package/src/helpers/Blocks/cloneBlocks.ts +1 -1
- package/src/helpers/FormValidation/FormValidation.jsx +19 -2
- package/src/helpers/FormValidation/validators.ts +1 -1
- package/src/helpers/Url/Url.test.js +15 -2
- package/src/helpers/Url/urlRegex.js +1 -1
- package/src/helpers/index.js +2 -0
- package/src/middleware/api.js +4 -2
- package/src/middleware/index.js +1 -0
- package/src/middleware/userSessionReset.js +46 -0
- package/src/store.js +2 -0
- package/test-setup-config.jsx +3 -0
- package/theme/themes/pastanaga/extras/blocks.less +6 -0
- package/types/components/manage/Actions/Actions.stories.d.ts +8 -0
- package/types/components/manage/Blocks/LeadImage/Edit.d.ts +14 -5
- package/types/components/manage/Blocks/Search/widgets/SelectMetadataField.d.ts +0 -5
- package/types/components/manage/Blocks/ToC/Edit.d.ts +1 -6
- package/types/components/manage/Blocks/Video/Edit.d.ts +1 -1
- package/types/components/manage/Blocks/Video/Edit.stories.d.ts +8 -0
- package/types/components/manage/Contents/ContentsBreadcrumbs.stories.d.ts +8 -0
- package/types/components/manage/Contents/ContentsUploadModal.d.ts +14 -2
- package/types/components/manage/Contents/ContentsUploadModal.stories.d.ts +8 -0
- package/types/components/manage/Contents/index.d.ts +1 -1
- package/types/components/manage/Controlpanels/AddonsControlpanel.d.ts +2 -2
- package/types/components/manage/Controlpanels/Aliases.d.ts +2 -2
- package/types/components/manage/Controlpanels/Aliases.stories.d.ts +8 -0
- package/types/components/manage/Controlpanels/DatabaseInformation.d.ts +2 -2
- package/types/components/manage/Controlpanels/Groups/RenderGroups.d.ts +10 -5
- package/types/components/manage/Controlpanels/index.d.ts +4 -4
- package/types/components/manage/Display/Display.stories.d.ts +8 -0
- package/types/components/manage/Preferences/ChangePassword.d.ts +2 -2
- package/types/components/manage/Preferences/ChangePassword.stories.d.ts +8 -0
- package/types/components/manage/Preferences/PersonalInformation.d.ts +7 -2
- package/types/components/manage/Preferences/PersonalPreferences.d.ts +5 -1
- package/types/components/manage/Preferences/PersonalPreferences.stories.d.ts +8 -0
- package/types/components/manage/Toolbar/More.d.ts +8 -5
- package/types/components/manage/Widgets/DatetimeWidget.d.ts +0 -85
- package/types/components/manage/Widgets/DatetimeWidget.stories.d.ts +0 -1
- package/types/components/manage/Widgets/ReferenceWidget.d.ts +27 -2
- package/types/components/manage/Widgets/index.d.ts +1 -1
- package/types/components/theme/Register/Register.d.ts +2 -2
- package/types/components/theme/Register/Register.stories.d.ts +9 -0
- package/types/components/theme/Tags/Tags.d.ts +15 -7
- package/types/components/theme/View/AlbumView.d.ts +3 -17
- package/types/config/ControlPanels.d.ts +8 -0
- package/types/config/Widgets.d.ts +1 -1
- package/types/config/slots.d.ts +21 -0
- package/types/helpers/Blocks/Blocks.d.ts +6 -0
- package/types/helpers/FormValidation/FormValidation.d.ts +1 -0
- package/types/helpers/index.d.ts +2 -2
- package/types/middleware/index.d.ts +1 -0
- 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
|
-
|
|
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
|
|
201
|
-
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { map, keys, intersection, isEmpty } from 'lodash';
|
|
2
|
-
import { messages } from '
|
|
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
|
-
|
|
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
|
+
};
|
|
@@ -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(
|
|
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(
|
|
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')
|
package/src/helpers/index.js
CHANGED
|
@@ -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,
|
package/src/middleware/api.js
CHANGED
|
@@ -222,7 +222,8 @@ const apiMiddlewareFactory =
|
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
const { settings } = config;
|
|
225
|
-
|
|
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
|
-
|
|
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(
|
package/src/middleware/index.js
CHANGED
|
@@ -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 })]
|
package/test-setup-config.jsx
CHANGED
|
@@ -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 {
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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,7 +1,2 @@
|
|
|
1
1
|
export default Edit;
|
|
2
|
-
declare
|
|
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 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
|
-
|
|
2
|
-
|
|
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").
|
|
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
|
-
|
|
2
|
-
|
|
1
|
+
export default AddonsControlpanel;
|
|
2
|
+
declare function AddonsControlpanel(props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export default Aliases;
|
|
2
|
+
declare function Aliases(props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export default DatabaseInformation;
|
|
2
|
+
declare function DatabaseInformation(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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<
|
|
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").
|
|
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").
|
|
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").
|
|
32
|
+
export declare const DatabaseInformation: import("@loadable/component").LoadableComponent<unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
-
|
|
2
|
-
|
|
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
|
+
}
|
|
@@ -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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
}
|