@plone/volto 19.0.0-alpha.18 → 19.0.0-alpha.19

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 (109) hide show
  1. package/CHANGELOG.md +22 -5
  2. package/locales/af.json +1 -1
  3. package/locales/ar.json +1 -1
  4. package/locales/bg.json +1 -1
  5. package/locales/bn.json +1 -1
  6. package/locales/ca/LC_MESSAGES/volto.po +33 -0
  7. package/locales/ca.json +1 -1
  8. package/locales/cs.json +1 -1
  9. package/locales/cy.json +1 -1
  10. package/locales/da.json +1 -1
  11. package/locales/de/LC_MESSAGES/volto.po +33 -0
  12. package/locales/de.json +1 -1
  13. package/locales/el.json +1 -1
  14. package/locales/en/LC_MESSAGES/volto.po +33 -0
  15. package/locales/en.json +1 -1
  16. package/locales/en_AU.json +1 -1
  17. package/locales/en_GB.json +1 -1
  18. package/locales/eo.json +1 -1
  19. package/locales/es/LC_MESSAGES/volto.po +33 -0
  20. package/locales/es.json +1 -1
  21. package/locales/et.json +1 -1
  22. package/locales/eu/LC_MESSAGES/volto.po +33 -0
  23. package/locales/eu.json +1 -1
  24. package/locales/fa.json +1 -1
  25. package/locales/fi/LC_MESSAGES/volto.po +33 -0
  26. package/locales/fi.json +1 -1
  27. package/locales/fr/LC_MESSAGES/volto.po +33 -0
  28. package/locales/fr.json +1 -1
  29. package/locales/fu.json +1 -1
  30. package/locales/gl.json +1 -1
  31. package/locales/he.json +1 -1
  32. package/locales/hi/LC_MESSAGES/volto.po +33 -0
  33. package/locales/hi.json +1 -1
  34. package/locales/hr.json +1 -1
  35. package/locales/hu.json +1 -1
  36. package/locales/hy.json +1 -1
  37. package/locales/id.json +1 -1
  38. package/locales/it/LC_MESSAGES/volto.po +33 -0
  39. package/locales/it.json +1 -1
  40. package/locales/ja/LC_MESSAGES/volto.po +33 -0
  41. package/locales/ja.json +1 -1
  42. package/locales/ka.json +1 -1
  43. package/locales/kn.json +1 -1
  44. package/locales/ko.json +1 -1
  45. package/locales/lt.json +1 -1
  46. package/locales/lv.json +1 -1
  47. package/locales/mi.json +1 -1
  48. package/locales/mk.json +1 -1
  49. package/locales/my.json +1 -1
  50. package/locales/nb_NO.json +1 -1
  51. package/locales/nl/LC_MESSAGES/volto.po +33 -0
  52. package/locales/nl.json +1 -1
  53. package/locales/nn.json +1 -1
  54. package/locales/pl.json +1 -1
  55. package/locales/pt/LC_MESSAGES/volto.po +33 -0
  56. package/locales/pt.json +1 -1
  57. package/locales/pt_BR/LC_MESSAGES/volto.po +33 -0
  58. package/locales/pt_BR.json +1 -1
  59. package/locales/rm.json +1 -1
  60. package/locales/ro/LC_MESSAGES/volto.po +33 -0
  61. package/locales/ro.json +1 -1
  62. package/locales/ru/LC_MESSAGES/volto.po +33 -0
  63. package/locales/ru.json +1 -1
  64. package/locales/sk.json +1 -1
  65. package/locales/sl.json +1 -1
  66. package/locales/sm.json +1 -1
  67. package/locales/sq.json +1 -1
  68. package/locales/sr.json +1 -1
  69. package/locales/sr@cyrl.json +1 -1
  70. package/locales/sr@latn.json +1 -1
  71. package/locales/sv.json +1 -1
  72. package/locales/ta.json +1 -1
  73. package/locales/te.json +1 -1
  74. package/locales/th.json +1 -1
  75. package/locales/to.json +1 -1
  76. package/locales/tr.json +1 -1
  77. package/locales/uk.json +1 -1
  78. package/locales/vi.json +1 -1
  79. package/locales/volto.pot +34 -1
  80. package/locales/zh_CN/LC_MESSAGES/volto.po +33 -0
  81. package/locales/zh_CN.json +1 -1
  82. package/locales/zh_Hant.json +1 -1
  83. package/locales/zh_Hant_HK.json +1 -1
  84. package/package.json +5 -5
  85. package/src/components/manage/BlockChooser/BlockChooser.jsx +1 -0
  86. package/src/components/manage/Contents/Contents.jsx +685 -671
  87. package/src/components/manage/Contents/DropZoneContent.jsx +323 -0
  88. package/src/components/manage/Form/ModalForm.jsx +12 -10
  89. package/src/components/manage/Form/ModalForm.test.jsx +26 -0
  90. package/src/components/manage/Sidebar/ObjectBrowser.jsx +3 -0
  91. package/src/components/manage/Sidebar/ObjectBrowserBody.jsx +13 -1
  92. package/src/components/manage/Widgets/ObjectBrowserWidget.jsx +5 -0
  93. package/src/components/manage/Widgets/QueryWidget.jsx +136 -9
  94. package/src/components/theme/Unauthorized/Unauthorized.jsx +5 -2
  95. package/src/components/theme/View/View.jsx +7 -0
  96. package/src/reducers/querystring/querystring.js +8 -1
  97. package/theme/themes/pastanaga/extras/contents.less +63 -0
  98. package/theme/themes/pastanaga/extras/widgets.less +34 -0
  99. package/types/components/manage/Contents/DropZoneContent.d.ts +2 -0
  100. package/types/components/manage/Controlpanels/Relations/RelationsMatrix.d.ts +1 -1
  101. package/types/components/manage/Multilingual/ManageTranslations.d.ts +1 -1
  102. package/types/components/manage/Sidebar/ObjectBrowser.d.ts +1 -1
  103. package/types/components/manage/Widgets/ImageWidget.d.ts +1 -1
  104. package/types/components/manage/Widgets/InternalUrlWidget.d.ts +1 -1
  105. package/types/components/manage/Widgets/ObjectBrowserWidget.d.ts +2 -0
  106. package/types/components/manage/Widgets/QueryWidget.d.ts +5 -2
  107. package/types/components/manage/Widgets/UrlWidget.d.ts +1 -1
  108. package/types/components/manage/Widgets/index.d.ts +3 -3
  109. package/types/components/theme/Unauthorized/Unauthorized.d.ts +2 -2
@@ -1,8 +1,3 @@
1
- /**
2
- * Contents component.
3
- * @module components/manage/Contents/Contents
4
- */
5
-
6
1
  import React, { Component } from 'react';
7
2
  import PropTypes from 'prop-types';
8
3
  import { connect } from 'react-redux';
@@ -90,6 +85,7 @@ import sortUpSVG from '@plone/volto/icons/sort-up.svg';
90
85
  import downKeySVG from '@plone/volto/icons/down-key.svg';
91
86
  import moreSVG from '@plone/volto/icons/more.svg';
92
87
  import clearSVG from '@plone/volto/icons/clear.svg';
88
+ import DropzoneContent from './DropZoneContent';
93
89
 
94
90
  const messages = defineMessages({
95
91
  back: {
@@ -1153,699 +1149,717 @@ class Contents extends Component {
1153
1149
  {this.props.intl.formatMessage(messages.loading)}
1154
1150
  </Loader>
1155
1151
  </Dimmer>
1156
-
1157
1152
  <Helmet
1158
1153
  title={this.props.intl.formatMessage(messages.contents)}
1159
1154
  />
1160
- <div className="container">
1161
- <article id="content">
1162
- <ContentsDeleteModal
1163
- open={this.state.showDelete}
1164
- onCancel={this.onDeleteCancel}
1165
- onOk={this.onDeleteOk}
1166
- items={this.state.items}
1167
- itemsToDelete={this.state.itemsToDelete}
1168
- hasMultiplePages={
1169
- Math.ceil(this.props.total / this.state.pageSize) > 1
1170
- }
1171
- />
1172
- <ContentsUploadModal
1173
- open={this.state.showUpload}
1174
- onCancel={this.onUploadCancel}
1175
- onOk={this.onUploadOk}
1176
- pathname={getBaseUrl(this.props.pathname)}
1177
- />
1178
- <ContentsRenameModal
1179
- open={this.state.showRename}
1180
- onCancel={this.onRenameCancel}
1181
- onOk={this.onRenameOk}
1182
- items={map(this.state.selected, (item) => ({
1183
- url: item,
1184
- title: this.getFieldById(item, 'title'),
1185
- id: this.getFieldById(item, 'id'),
1186
- }))}
1187
- />
1188
- <ContentsTagsModal
1189
- open={this.state.showTags}
1190
- onCancel={this.onTagsCancel}
1191
- onOk={this.onTagsOk}
1192
- items={map(this.state.selected, (item) => ({
1193
- url: item,
1194
- subjects: this.getFieldById(item, 'Subject'),
1195
- }))}
1196
- />
1197
- <ContentsPropertiesModal
1198
- open={this.state.showProperties}
1199
- onCancel={this.onPropertiesCancel}
1200
- onOk={this.onPropertiesOk}
1201
- items={this.state.selected}
1202
- values={map(this.state.selected, (id) =>
1203
- find(this.state.items, { '@id': id }),
1204
- ).filter((item) => item)}
1205
- />
1206
- {this.state.showWorkflow && (
1207
- <ContentsWorkflowModal
1208
- open={this.state.showWorkflow}
1209
- onCancel={this.onWorkflowCancel}
1210
- onOk={this.onWorkflowOk}
1155
+ <DropzoneContent
1156
+ onOk={this.onUploadOk}
1157
+ onCancel={this.onUploadCancel}
1158
+ pathname={getBaseUrl(this.props.pathname)}
1159
+ >
1160
+ <div className="container">
1161
+ <article id="content">
1162
+ <ContentsDeleteModal
1163
+ open={this.state.showDelete}
1164
+ onCancel={this.onDeleteCancel}
1165
+ onOk={this.onDeleteOk}
1166
+ items={this.state.items}
1167
+ itemsToDelete={this.state.itemsToDelete}
1168
+ hasMultiplePages={
1169
+ Math.ceil(this.props.total / this.state.pageSize) > 1
1170
+ }
1171
+ />
1172
+ <ContentsUploadModal
1173
+ open={this.state.showUpload}
1174
+ onCancel={this.onUploadCancel}
1175
+ onOk={this.onUploadOk}
1176
+ pathname={getBaseUrl(this.props.pathname)}
1177
+ />
1178
+ <ContentsRenameModal
1179
+ open={this.state.showRename}
1180
+ onCancel={this.onRenameCancel}
1181
+ onOk={this.onRenameOk}
1182
+ items={map(this.state.selected, (item) => ({
1183
+ url: item,
1184
+ title: this.getFieldById(item, 'title'),
1185
+ id: this.getFieldById(item, 'id'),
1186
+ }))}
1187
+ />
1188
+ <ContentsTagsModal
1189
+ open={this.state.showTags}
1190
+ onCancel={this.onTagsCancel}
1191
+ onOk={this.onTagsOk}
1192
+ items={map(this.state.selected, (item) => ({
1193
+ url: item,
1194
+ subjects: this.getFieldById(item, 'Subject'),
1195
+ }))}
1196
+ />
1197
+ <ContentsPropertiesModal
1198
+ open={this.state.showProperties}
1199
+ onCancel={this.onPropertiesCancel}
1200
+ onOk={this.onPropertiesOk}
1211
1201
  items={this.state.selected}
1202
+ values={map(this.state.selected, (id) =>
1203
+ find(this.state.items, { '@id': id }),
1204
+ ).filter((item) => item)}
1212
1205
  />
1213
- )}
1214
- <section id="content-core">
1215
- <Segment.Group raised>
1216
- <Menu secondary attached className="top-menu">
1217
- <Menu.Menu className="top-menu-menu">
1218
- <Popup
1219
- trigger={
1220
- <Menu.Item
1221
- icon
1222
- as={Button}
1223
- onClick={this.upload}
1224
- className="upload"
1225
- aria-controls="contents-table-wrapper"
1226
- aria-label={this.props.intl.formatMessage(
1227
- messages.filter,
1228
- )}
1229
- >
1230
- <Icon
1231
- name={uploadSVG}
1232
- color="#007eb1"
1233
- size="24px"
1206
+ {this.state.showWorkflow && (
1207
+ <ContentsWorkflowModal
1208
+ open={this.state.showWorkflow}
1209
+ onCancel={this.onWorkflowCancel}
1210
+ onOk={this.onWorkflowOk}
1211
+ items={this.state.selected}
1212
+ />
1213
+ )}
1214
+ <section id="content-core">
1215
+ <Segment.Group raised>
1216
+ <Menu secondary attached className="top-menu">
1217
+ <Menu.Menu className="top-menu-menu">
1218
+ <Popup
1219
+ trigger={
1220
+ <Menu.Item
1221
+ icon
1222
+ as={Button}
1223
+ onClick={this.upload}
1234
1224
  className="upload"
1235
- />
1236
- </Menu.Item>
1237
- }
1238
- position="top center"
1239
- content={this.props.intl.formatMessage(
1240
- messages.upload,
1241
- )}
1242
- size="mini"
1243
- />
1244
- </Menu.Menu>
1245
- <Menu.Menu className="top-menu-menu">
1246
- <Popup
1247
- trigger={
1248
- <Menu.Item
1249
- icon
1250
- as={Button}
1251
- onClick={this.rename}
1252
- disabled={!selected}
1253
- aria-label={this.props.intl.formatMessage(
1254
- messages.rename,
1255
- )}
1256
- >
1257
- <Icon
1258
- name={renameSVG}
1259
- color={selected ? '#826a6a' : 'grey'}
1260
- size="24px"
1261
- className="rename"
1262
- />
1263
- </Menu.Item>
1264
- }
1265
- position="top center"
1266
- content={this.props.intl.formatMessage(
1267
- messages.rename,
1268
- )}
1269
- size="mini"
1270
- />
1271
- <Popup
1272
- trigger={
1273
- <Menu.Item
1274
- icon
1275
- as={Button}
1276
- onClick={this.workflow}
1277
- disabled={!selected}
1278
- aria-label={this.props.intl.formatMessage(
1279
- messages.state,
1280
- )}
1281
- >
1282
- <Icon
1283
- name={semaphoreSVG}
1284
- color={selected ? '#826a6a' : 'grey'}
1285
- size="24px"
1286
- className="semaphore"
1287
- />
1288
- </Menu.Item>
1289
- }
1290
- position="top center"
1291
- content={this.props.intl.formatMessage(
1292
- messages.state,
1293
- )}
1294
- size="mini"
1295
- />
1296
- <Popup
1297
- trigger={
1298
- <Menu.Item
1299
- icon
1300
- as={Button}
1301
- onClick={this.tags}
1302
- disabled={!selected}
1303
- aria-label={this.props.intl.formatMessage(
1304
- messages.tags,
1305
- )}
1306
- >
1307
- <Icon
1308
- name={tagSVG}
1309
- color={selected ? '#826a6a' : 'grey'}
1310
- size="24px"
1311
- className="tag"
1312
- />
1313
- </Menu.Item>
1314
- }
1315
- position="top center"
1316
- content={this.props.intl.formatMessage(
1317
- messages.tags,
1318
- )}
1319
- size="mini"
1320
- />
1321
-
1322
- <Popup
1323
- trigger={
1324
- <Menu.Item
1325
- icon
1326
- as={Button}
1327
- onClick={this.properties}
1328
- disabled={!selected}
1329
- aria-label={this.props.intl.formatMessage(
1330
- messages.properties,
1331
- )}
1332
- >
1333
- <Icon
1334
- name={propertiesSVG}
1335
- color={selected ? '#826a6a' : 'grey'}
1336
- size="24px"
1337
- className="properties"
1338
- />
1339
- </Menu.Item>
1340
- }
1341
- position="top center"
1342
- content={this.props.intl.formatMessage(
1343
- messages.properties,
1344
- )}
1345
- size="mini"
1346
- />
1347
- </Menu.Menu>
1348
- <Menu.Menu className="top-menu-menu">
1349
- <Popup
1350
- trigger={
1351
- <Menu.Item
1352
- icon
1353
- as={Button}
1354
- onClick={this.cut}
1355
- disabled={!selected}
1356
- aria-label={this.props.intl.formatMessage(
1357
- messages.cut,
1358
- )}
1359
- >
1360
- <Icon
1361
- name={cutSVG}
1362
- color={selected ? '#826a6a' : 'grey'}
1363
- size="24px"
1364
- className="cut"
1365
- />
1366
- </Menu.Item>
1367
- }
1368
- position="top center"
1369
- content={this.props.intl.formatMessage(
1370
- messages.cut,
1371
- )}
1372
- size="mini"
1373
- />
1374
- <Popup
1375
- trigger={
1376
- <Menu.Item
1377
- icon
1378
- as={Button}
1379
- onClick={this.copy}
1380
- disabled={!selected}
1381
- aria-label={this.props.intl.formatMessage(
1382
- messages.copy,
1383
- )}
1384
- >
1385
- <Icon
1386
- name={copySVG}
1387
- color={selected ? '#826a6a' : 'grey'}
1388
- size="24px"
1389
- className="copy"
1390
- />
1391
- </Menu.Item>
1392
- }
1393
- position="top center"
1394
- content={this.props.intl.formatMessage(
1395
- messages.copy,
1396
- )}
1397
- size="mini"
1398
- />
1399
-
1400
- <Popup
1401
- trigger={
1402
- <Menu.Item
1403
- icon
1404
- as={Button}
1405
- onClick={this.paste}
1406
- disabled={!this.props.action}
1407
- aria-label={this.props.intl.formatMessage(
1408
- messages.paste,
1409
- )}
1410
- >
1411
- <Icon
1412
- name={pasteSVG}
1413
- color={selected ? '#826a6a' : 'grey'}
1414
- size="24px"
1415
- className="paste"
1416
- />
1417
- </Menu.Item>
1418
- }
1419
- position="top center"
1420
- content={this.props.intl.formatMessage(
1421
- messages.paste,
1422
- )}
1423
- size="mini"
1424
- />
1225
+ aria-controls="contents-table-wrapper"
1226
+ aria-label={this.props.intl.formatMessage(
1227
+ messages.filter,
1228
+ )}
1229
+ >
1230
+ <Icon
1231
+ name={uploadSVG}
1232
+ color="#007eb1"
1233
+ size="24px"
1234
+ className="upload"
1235
+ />
1236
+ </Menu.Item>
1237
+ }
1238
+ position="top center"
1239
+ content={this.props.intl.formatMessage(
1240
+ messages.upload,
1241
+ )}
1242
+ size="mini"
1243
+ />
1244
+ </Menu.Menu>
1245
+ <Menu.Menu className="top-menu-menu">
1246
+ <Popup
1247
+ trigger={
1248
+ <Menu.Item
1249
+ icon
1250
+ as={Button}
1251
+ onClick={this.rename}
1252
+ disabled={!selected}
1253
+ aria-label={this.props.intl.formatMessage(
1254
+ messages.rename,
1255
+ )}
1256
+ >
1257
+ <Icon
1258
+ name={renameSVG}
1259
+ color={selected ? '#826a6a' : 'grey'}
1260
+ size="24px"
1261
+ className="rename"
1262
+ />
1263
+ </Menu.Item>
1264
+ }
1265
+ position="top center"
1266
+ content={this.props.intl.formatMessage(
1267
+ messages.rename,
1268
+ )}
1269
+ size="mini"
1270
+ />
1271
+ <Popup
1272
+ trigger={
1273
+ <Menu.Item
1274
+ icon
1275
+ as={Button}
1276
+ onClick={this.workflow}
1277
+ disabled={!selected}
1278
+ aria-label={this.props.intl.formatMessage(
1279
+ messages.state,
1280
+ )}
1281
+ >
1282
+ <Icon
1283
+ name={semaphoreSVG}
1284
+ color={selected ? '#826a6a' : 'grey'}
1285
+ size="24px"
1286
+ className="semaphore"
1287
+ />
1288
+ </Menu.Item>
1289
+ }
1290
+ position="top center"
1291
+ content={this.props.intl.formatMessage(
1292
+ messages.state,
1293
+ )}
1294
+ size="mini"
1295
+ />
1296
+ <Popup
1297
+ trigger={
1298
+ <Menu.Item
1299
+ icon
1300
+ as={Button}
1301
+ onClick={this.tags}
1302
+ disabled={!selected}
1303
+ aria-label={this.props.intl.formatMessage(
1304
+ messages.tags,
1305
+ )}
1306
+ >
1307
+ <Icon
1308
+ name={tagSVG}
1309
+ color={selected ? '#826a6a' : 'grey'}
1310
+ size="24px"
1311
+ className="tag"
1312
+ />
1313
+ </Menu.Item>
1314
+ }
1315
+ position="top center"
1316
+ content={this.props.intl.formatMessage(
1317
+ messages.tags,
1318
+ )}
1319
+ size="mini"
1320
+ />
1425
1321
 
1426
- <Popup
1427
- trigger={
1428
- <Menu.Item
1429
- icon
1430
- as={Button}
1431
- onClick={this.delete}
1432
- disabled={!selected}
1433
- aria-label={this.props.intl.formatMessage(
1434
- messages.delete,
1435
- )}
1436
- >
1437
- <Icon
1438
- name={deleteSVG}
1439
- color={selected ? '#e40166' : 'grey'}
1440
- size="24px"
1441
- className="delete"
1442
- />
1443
- </Menu.Item>
1444
- }
1445
- position="top center"
1446
- content={this.props.intl.formatMessage(
1447
- messages.delete,
1448
- )}
1449
- size="mini"
1450
- />
1451
- </Menu.Menu>
1452
- <Menu.Menu
1453
- position="right"
1454
- className="top-menu-searchbox"
1455
- >
1456
- <div className="ui right aligned category search item">
1457
- <Input
1458
- type="text"
1459
- transparent
1460
- placeholder={this.props.intl.formatMessage(
1461
- messages.filter,
1322
+ <Popup
1323
+ trigger={
1324
+ <Menu.Item
1325
+ icon
1326
+ as={Button}
1327
+ onClick={this.properties}
1328
+ disabled={!selected}
1329
+ aria-label={this.props.intl.formatMessage(
1330
+ messages.properties,
1331
+ )}
1332
+ >
1333
+ <Icon
1334
+ name={propertiesSVG}
1335
+ color={selected ? '#826a6a' : 'grey'}
1336
+ size="24px"
1337
+ className="properties"
1338
+ />
1339
+ </Menu.Item>
1340
+ }
1341
+ position="top center"
1342
+ content={this.props.intl.formatMessage(
1343
+ messages.properties,
1462
1344
  )}
1463
- size="small"
1464
- value={this.state.filter}
1465
- onChange={this.onChangeFilter}
1345
+ size="mini"
1466
1346
  />
1467
- {this.state.filter && (
1468
- <Button
1469
- className="icon icon-container"
1470
- onClick={() => {
1471
- this.onChangeFilter('', { value: '' });
1472
- }}
1473
- >
1474
- <Icon
1475
- name={clearSVG}
1476
- size="30px"
1477
- color="#e40166"
1478
- />
1479
- </Button>
1480
- )}
1481
- <Icon
1482
- name={zoomSVG}
1483
- size="30px"
1484
- color="#007eb1"
1485
- className="zoom"
1486
- style={{ flexShrink: '0' }}
1347
+ </Menu.Menu>
1348
+ <Menu.Menu className="top-menu-menu">
1349
+ <Popup
1350
+ trigger={
1351
+ <Menu.Item
1352
+ icon
1353
+ as={Button}
1354
+ onClick={this.cut}
1355
+ disabled={!selected}
1356
+ aria-label={this.props.intl.formatMessage(
1357
+ messages.cut,
1358
+ )}
1359
+ >
1360
+ <Icon
1361
+ name={cutSVG}
1362
+ color={selected ? '#826a6a' : 'grey'}
1363
+ size="24px"
1364
+ className="cut"
1365
+ />
1366
+ </Menu.Item>
1367
+ }
1368
+ position="top center"
1369
+ content={this.props.intl.formatMessage(
1370
+ messages.cut,
1371
+ )}
1372
+ size="mini"
1487
1373
  />
1488
- <div className="results" />
1489
- </div>
1490
- </Menu.Menu>
1491
- </Menu>
1492
- <Segment
1493
- secondary
1494
- attached
1495
- className="contents-breadcrumbs"
1496
- >
1497
- <ContentsBreadcrumbs items={this.props.breadcrumbs} />
1498
- <Dropdown
1499
- item
1500
- upward={false}
1501
- icon={
1502
- <Icon name={moreSVG} size="24px" color="#826a6a" />
1503
- }
1504
- className="right floating selectIndex"
1505
- >
1506
- <Dropdown.Menu className="left">
1507
- <Dropdown.Header
1374
+ <Popup
1375
+ trigger={
1376
+ <Menu.Item
1377
+ icon
1378
+ as={Button}
1379
+ onClick={this.copy}
1380
+ disabled={!selected}
1381
+ aria-label={this.props.intl.formatMessage(
1382
+ messages.copy,
1383
+ )}
1384
+ >
1385
+ <Icon
1386
+ name={copySVG}
1387
+ color={selected ? '#826a6a' : 'grey'}
1388
+ size="24px"
1389
+ className="copy"
1390
+ />
1391
+ </Menu.Item>
1392
+ }
1393
+ position="top center"
1508
1394
  content={this.props.intl.formatMessage(
1509
- messages.selectColumns,
1395
+ messages.copy,
1510
1396
  )}
1397
+ size="mini"
1511
1398
  />
1512
- <Dropdown.Menu scrolling>
1513
- {map(
1514
- filter(
1515
- this.state.index.order,
1516
- (index) => index !== 'sortable_title',
1517
- ),
1518
- (index) => (
1519
- <Dropdown.Item
1520
- key={index}
1521
- value={index}
1522
- onClick={this.onSelectIndex}
1523
- className="iconAlign"
1524
- >
1525
- {this.state.index.values[index].selected ? (
1526
- <Icon
1527
- name={checkboxCheckedSVG}
1528
- size="24px"
1529
- color="#007eb1"
1530
- className={
1531
- this.state.index.values[index].label
1532
- }
1533
- />
1534
- ) : (
1535
- <Icon
1536
- name={checkboxUncheckedSVG}
1537
- className={
1538
- this.state.index.values[index].label
1539
- }
1540
- size="24px"
1541
- />
1542
- )}
1543
- <span>
1544
- {' '}
1545
- {this.props.intl.formatMessage({
1546
- id: this.state.index.values[index]
1547
- .label,
1548
- defaultMessage:
1549
- this.state.index.values[index].label,
1550
- })}
1551
- </span>
1552
- </Dropdown.Item>
1553
- ),
1399
+
1400
+ <Popup
1401
+ trigger={
1402
+ <Menu.Item
1403
+ icon
1404
+ as={Button}
1405
+ onClick={this.paste}
1406
+ disabled={!this.props.action}
1407
+ aria-label={this.props.intl.formatMessage(
1408
+ messages.paste,
1409
+ )}
1410
+ >
1411
+ <Icon
1412
+ name={pasteSVG}
1413
+ color={selected ? '#826a6a' : 'grey'}
1414
+ size="24px"
1415
+ className="paste"
1416
+ />
1417
+ </Menu.Item>
1418
+ }
1419
+ position="top center"
1420
+ content={this.props.intl.formatMessage(
1421
+ messages.paste,
1554
1422
  )}
1555
- </Dropdown.Menu>
1556
- </Dropdown.Menu>
1557
- </Dropdown>
1558
- </Segment>
1559
- <div
1560
- id="contents-table-wrapper"
1561
- className="contents-table-wrapper"
1562
- role="region"
1563
- >
1564
- <span
1565
- aria-live="polite"
1566
- className="search-feedback"
1567
- role="status"
1568
- >
1569
- {`${this.props.intl.formatMessage(
1570
- messages.resultCount,
1571
- )}: ${this.props.total || 0}`}
1572
- </span>
1573
- <Table selectable compact singleLine attached>
1574
- <Table.Header>
1575
- <Table.Row>
1576
- <Table.HeaderCell>
1577
- <Popup
1578
- menu={true}
1579
- position="bottom left"
1580
- flowing={true}
1581
- basic={true}
1582
- on="click"
1583
- popper={{
1584
- className: 'dropdown-popup',
1423
+ size="mini"
1424
+ />
1425
+
1426
+ <Popup
1427
+ trigger={
1428
+ <Menu.Item
1429
+ icon
1430
+ as={Button}
1431
+ onClick={this.delete}
1432
+ disabled={!selected}
1433
+ aria-label={this.props.intl.formatMessage(
1434
+ messages.delete,
1435
+ )}
1436
+ >
1437
+ <Icon
1438
+ name={deleteSVG}
1439
+ color={selected ? '#e40166' : 'grey'}
1440
+ size="24px"
1441
+ className="delete"
1442
+ />
1443
+ </Menu.Item>
1444
+ }
1445
+ position="top center"
1446
+ content={this.props.intl.formatMessage(
1447
+ messages.delete,
1448
+ )}
1449
+ size="mini"
1450
+ />
1451
+ </Menu.Menu>
1452
+ <Menu.Menu
1453
+ position="right"
1454
+ className="top-menu-searchbox"
1455
+ >
1456
+ <div className="ui right aligned category search item">
1457
+ <Input
1458
+ type="text"
1459
+ transparent
1460
+ placeholder={this.props.intl.formatMessage(
1461
+ messages.filter,
1462
+ )}
1463
+ size="small"
1464
+ value={this.state.filter}
1465
+ onChange={this.onChangeFilter}
1466
+ />
1467
+ {this.state.filter && (
1468
+ <Button
1469
+ className="icon icon-container"
1470
+ onClick={() => {
1471
+ this.onChangeFilter('', { value: '' });
1585
1472
  }}
1586
- trigger={
1587
- <Icon
1588
- name={configurationSVG}
1589
- size="24px"
1590
- color="#826a6a"
1591
- className="dropdown-popup-trigger configuration-svg"
1592
- />
1593
- }
1594
1473
  >
1595
- <Menu vertical borderless fluid>
1596
- <Menu.Header
1597
- content={this.props.intl.formatMessage(
1598
- messages.rearrangeBy,
1599
- )}
1600
- />
1601
- {map(
1602
- [
1603
- 'id',
1604
- 'sortable_title',
1605
- 'EffectiveDate',
1606
- 'CreationDate',
1607
- 'ModificationDate',
1608
- 'portal_type',
1609
- ],
1610
- (index) => (
1611
- <Dropdown
1612
- key={index}
1613
- item
1614
- simple
1615
- className={`sort_${index} icon-align`}
1616
- icon={
1617
- <Icon
1618
- name={downKeySVG}
1619
- size="24px"
1620
- className="left"
1621
- />
1474
+ <Icon
1475
+ name={clearSVG}
1476
+ size="30px"
1477
+ color="#e40166"
1478
+ />
1479
+ </Button>
1480
+ )}
1481
+ <Icon
1482
+ name={zoomSVG}
1483
+ size="30px"
1484
+ color="#007eb1"
1485
+ className="zoom"
1486
+ style={{ flexShrink: '0' }}
1487
+ />
1488
+ <div className="results" />
1489
+ </div>
1490
+ </Menu.Menu>
1491
+ </Menu>
1492
+ <Segment
1493
+ secondary
1494
+ attached
1495
+ className="contents-breadcrumbs"
1496
+ >
1497
+ <ContentsBreadcrumbs items={this.props.breadcrumbs} />
1498
+ <Dropdown
1499
+ item
1500
+ upward={false}
1501
+ icon={
1502
+ <Icon
1503
+ name={moreSVG}
1504
+ size="24px"
1505
+ color="#826a6a"
1506
+ />
1507
+ }
1508
+ className="right floating selectIndex"
1509
+ >
1510
+ <Dropdown.Menu className="left">
1511
+ <Dropdown.Header
1512
+ content={this.props.intl.formatMessage(
1513
+ messages.selectColumns,
1514
+ )}
1515
+ />
1516
+ <Dropdown.Menu scrolling>
1517
+ {map(
1518
+ filter(
1519
+ this.state.index.order,
1520
+ (index) => index !== 'sortable_title',
1521
+ ),
1522
+ (index) => (
1523
+ <Dropdown.Item
1524
+ key={index}
1525
+ value={index}
1526
+ onClick={this.onSelectIndex}
1527
+ className="iconAlign"
1528
+ >
1529
+ {this.state.index.values[index]
1530
+ .selected ? (
1531
+ <Icon
1532
+ name={checkboxCheckedSVG}
1533
+ size="24px"
1534
+ color="#007eb1"
1535
+ className={
1536
+ this.state.index.values[index].label
1622
1537
  }
1623
- text={this.props.intl.formatMessage({
1624
- id: Indexes[index].label,
1625
- })}
1626
- >
1627
- <Dropdown.Menu>
1628
- <Dropdown.Item
1629
- onClick={this.onSortItems}
1630
- value={`${Indexes[index].sort_on}|ascending`}
1631
- className={`sort_${Indexes[index].sort_on}_ascending icon-align`}
1632
- >
1633
- <Icon
1634
- name={sortDownSVG}
1635
- size="24px"
1636
- />{' '}
1637
- <FormattedMessage
1638
- id="Ascending"
1639
- defaultMessage="Ascending"
1640
- />
1641
- </Dropdown.Item>
1642
- <Dropdown.Item
1643
- onClick={this.onSortItems}
1644
- value={`${Indexes[index].sort_on}|descending`}
1645
- className={`sort_${Indexes[index].sort_on}_descending icon-align`}
1646
- >
1538
+ />
1539
+ ) : (
1540
+ <Icon
1541
+ name={checkboxUncheckedSVG}
1542
+ className={
1543
+ this.state.index.values[index].label
1544
+ }
1545
+ size="24px"
1546
+ />
1547
+ )}
1548
+ <span>
1549
+ {' '}
1550
+ {this.props.intl.formatMessage({
1551
+ id: this.state.index.values[index]
1552
+ .label,
1553
+ defaultMessage:
1554
+ this.state.index.values[index]
1555
+ .label,
1556
+ })}
1557
+ </span>
1558
+ </Dropdown.Item>
1559
+ ),
1560
+ )}
1561
+ </Dropdown.Menu>
1562
+ </Dropdown.Menu>
1563
+ </Dropdown>
1564
+ </Segment>
1565
+ <div
1566
+ id="contents-table-wrapper"
1567
+ className="contents-table-wrapper"
1568
+ role="region"
1569
+ >
1570
+ <span
1571
+ aria-live="polite"
1572
+ className="search-feedback"
1573
+ role="status"
1574
+ >
1575
+ {`${this.props.intl.formatMessage(
1576
+ messages.resultCount,
1577
+ )}: ${this.props.total || 0}`}
1578
+ </span>
1579
+ <Table selectable compact singleLine attached>
1580
+ <Table.Header>
1581
+ <Table.Row>
1582
+ <Table.HeaderCell>
1583
+ <Popup
1584
+ menu={true}
1585
+ position="bottom left"
1586
+ flowing={true}
1587
+ basic={true}
1588
+ on="click"
1589
+ popper={{
1590
+ className: 'dropdown-popup',
1591
+ }}
1592
+ trigger={
1593
+ <Icon
1594
+ name={configurationSVG}
1595
+ size="24px"
1596
+ color="#826a6a"
1597
+ className="dropdown-popup-trigger configuration-svg"
1598
+ />
1599
+ }
1600
+ >
1601
+ <Menu vertical borderless fluid>
1602
+ <Menu.Header
1603
+ content={this.props.intl.formatMessage(
1604
+ messages.rearrangeBy,
1605
+ )}
1606
+ />
1607
+ {map(
1608
+ [
1609
+ 'id',
1610
+ 'sortable_title',
1611
+ 'EffectiveDate',
1612
+ 'CreationDate',
1613
+ 'ModificationDate',
1614
+ 'portal_type',
1615
+ ],
1616
+ (index) => (
1617
+ <Dropdown
1618
+ key={index}
1619
+ item
1620
+ simple
1621
+ className={`sort_${index} icon-align`}
1622
+ icon={
1647
1623
  <Icon
1648
- name={sortUpSVG}
1624
+ name={downKeySVG}
1649
1625
  size="24px"
1650
- />{' '}
1651
- <FormattedMessage
1652
- id="Descending"
1653
- defaultMessage="Descending"
1626
+ className="left"
1654
1627
  />
1655
- </Dropdown.Item>
1656
- </Dropdown.Menu>
1657
- </Dropdown>
1658
- ),
1659
- )}
1660
- </Menu>
1661
- </Popup>
1662
- </Table.HeaderCell>
1663
- <Table.HeaderCell>
1664
- <Popup
1665
- menu={true}
1666
- position="bottom left"
1667
- flowing={true}
1668
- basic={true}
1669
- on="click"
1670
- popper={{
1671
- className: 'dropdown-popup',
1672
- }}
1673
- trigger={
1674
- <Icon
1675
- name={
1676
- this.state.selected.length === 0
1677
- ? checkboxUncheckedSVG
1678
- : this.state.selected.length ===
1679
- this.state.items.length
1680
- ? checkboxCheckedSVG
1681
- : checkboxIndeterminateSVG
1682
- }
1683
- color={
1684
- this.state.selected.length > 0
1685
- ? '#007eb1'
1686
- : '#826a6a'
1687
- }
1688
- className="dropdown-popup-trigger"
1689
- size="24px"
1690
- />
1691
- }
1692
- >
1693
- <Menu vertical borderless fluid>
1694
- <Menu.Header
1695
- content={this.props.intl.formatMessage(
1696
- messages.select,
1628
+ }
1629
+ text={this.props.intl.formatMessage(
1630
+ {
1631
+ id: Indexes[index].label,
1632
+ },
1633
+ )}
1634
+ >
1635
+ <Dropdown.Menu>
1636
+ <Dropdown.Item
1637
+ onClick={this.onSortItems}
1638
+ value={`${Indexes[index].sort_on}|ascending`}
1639
+ className={`sort_${Indexes[index].sort_on}_ascending icon-align`}
1640
+ >
1641
+ <Icon
1642
+ name={sortDownSVG}
1643
+ size="24px"
1644
+ />{' '}
1645
+ <FormattedMessage
1646
+ id="Ascending"
1647
+ defaultMessage="Ascending"
1648
+ />
1649
+ </Dropdown.Item>
1650
+ <Dropdown.Item
1651
+ onClick={this.onSortItems}
1652
+ value={`${Indexes[index].sort_on}|descending`}
1653
+ className={`sort_${Indexes[index].sort_on}_descending icon-align`}
1654
+ >
1655
+ <Icon
1656
+ name={sortUpSVG}
1657
+ size="24px"
1658
+ />{' '}
1659
+ <FormattedMessage
1660
+ id="Descending"
1661
+ defaultMessage="Descending"
1662
+ />
1663
+ </Dropdown.Item>
1664
+ </Dropdown.Menu>
1665
+ </Dropdown>
1666
+ ),
1697
1667
  )}
1698
- />
1699
- <Menu.Item onClick={this.onSelectAll}>
1668
+ </Menu>
1669
+ </Popup>
1670
+ </Table.HeaderCell>
1671
+ <Table.HeaderCell>
1672
+ <Popup
1673
+ menu={true}
1674
+ position="bottom left"
1675
+ flowing={true}
1676
+ basic={true}
1677
+ on="click"
1678
+ popper={{
1679
+ className: 'dropdown-popup',
1680
+ }}
1681
+ trigger={
1700
1682
  <Icon
1701
- name={checkboxCheckedSVG}
1702
- color="#007eb1"
1683
+ name={
1684
+ this.state.selected.length === 0
1685
+ ? checkboxUncheckedSVG
1686
+ : this.state.selected.length ===
1687
+ this.state.items.length
1688
+ ? checkboxCheckedSVG
1689
+ : checkboxIndeterminateSVG
1690
+ }
1691
+ color={
1692
+ this.state.selected.length > 0
1693
+ ? '#007eb1'
1694
+ : '#826a6a'
1695
+ }
1696
+ className="dropdown-popup-trigger"
1703
1697
  size="24px"
1704
- />{' '}
1705
- <FormattedMessage
1706
- id="All"
1707
- defaultMessage="All"
1708
1698
  />
1709
- </Menu.Item>
1710
- <Menu.Item onClick={this.onSelectNone}>
1711
- <Icon
1712
- name={checkboxUncheckedSVG}
1713
- size="24px"
1714
- />{' '}
1715
- <FormattedMessage
1716
- id="None"
1717
- defaultMessage="None"
1699
+ }
1700
+ >
1701
+ <Menu vertical borderless fluid>
1702
+ <Menu.Header
1703
+ content={this.props.intl.formatMessage(
1704
+ messages.select,
1705
+ )}
1718
1706
  />
1719
- </Menu.Item>
1720
- <Divider />
1721
- <Menu.Header
1722
- content={this.props.intl.formatMessage(
1723
- messages.selected,
1724
- {
1725
- count: this.state.selected.length,
1726
- },
1727
- )}
1728
- />
1729
- <Input
1730
- icon={<Icon name={zoomSVG} size="24px" />}
1731
- iconPosition="left"
1732
- className="item search"
1733
- placeholder={this.props.intl.formatMessage(
1734
- messages.filter,
1735
- )}
1736
- value={
1737
- this.state.selectedMenuFilter || ''
1738
- }
1739
- onChange={this.onChangeSelected}
1740
- onClick={(e) => {
1741
- e.preventDefault();
1742
- e.stopPropagation();
1743
- }}
1744
- />
1745
- <Menu.Menu scrolling>
1746
- {map(filteredItems, (item) => (
1747
- <Menu.Item
1748
- key={item}
1749
- value={item}
1750
- onClick={this.onDeselect}
1751
- >
1752
- <Icon
1753
- name={deleteSVG}
1754
- color="#e40166"
1755
- size="24px"
1756
- />{' '}
1757
- {this.getFieldById(item, 'title')}
1758
- </Menu.Item>
1759
- ))}
1760
- </Menu.Menu>
1761
- </Menu>
1762
- </Popup>
1763
- </Table.HeaderCell>
1764
- <Table.HeaderCell
1765
- width={Math.ceil(
1766
- 16 / this.state.index.selectedCount,
1707
+ <Menu.Item onClick={this.onSelectAll}>
1708
+ <Icon
1709
+ name={checkboxCheckedSVG}
1710
+ color="#007eb1"
1711
+ size="24px"
1712
+ />{' '}
1713
+ <FormattedMessage
1714
+ id="All"
1715
+ defaultMessage="All"
1716
+ />
1717
+ </Menu.Item>
1718
+ <Menu.Item onClick={this.onSelectNone}>
1719
+ <Icon
1720
+ name={checkboxUncheckedSVG}
1721
+ size="24px"
1722
+ />{' '}
1723
+ <FormattedMessage
1724
+ id="None"
1725
+ defaultMessage="None"
1726
+ />
1727
+ </Menu.Item>
1728
+ <Divider />
1729
+ <Menu.Header
1730
+ content={this.props.intl.formatMessage(
1731
+ messages.selected,
1732
+ {
1733
+ count: this.state.selected.length,
1734
+ },
1735
+ )}
1736
+ />
1737
+ <Input
1738
+ icon={
1739
+ <Icon name={zoomSVG} size="24px" />
1740
+ }
1741
+ iconPosition="left"
1742
+ className="item search"
1743
+ placeholder={this.props.intl.formatMessage(
1744
+ messages.filter,
1745
+ )}
1746
+ value={
1747
+ this.state.selectedMenuFilter || ''
1748
+ }
1749
+ onChange={this.onChangeSelected}
1750
+ onClick={(e) => {
1751
+ e.preventDefault();
1752
+ e.stopPropagation();
1753
+ }}
1754
+ />
1755
+ <Menu.Menu scrolling>
1756
+ {map(filteredItems, (item) => (
1757
+ <Menu.Item
1758
+ key={item}
1759
+ value={item}
1760
+ onClick={this.onDeselect}
1761
+ >
1762
+ <Icon
1763
+ name={deleteSVG}
1764
+ color="#e40166"
1765
+ size="24px"
1766
+ />{' '}
1767
+ {this.getFieldById(item, 'title')}
1768
+ </Menu.Item>
1769
+ ))}
1770
+ </Menu.Menu>
1771
+ </Menu>
1772
+ </Popup>
1773
+ </Table.HeaderCell>
1774
+ <Table.HeaderCell
1775
+ width={Math.ceil(
1776
+ 16 / this.state.index.selectedCount,
1777
+ )}
1778
+ >
1779
+ <FormattedMessage
1780
+ id="Title"
1781
+ defaultMessage="Title"
1782
+ />
1783
+ </Table.HeaderCell>
1784
+ {map(
1785
+ this.state.index.order,
1786
+ (index, order) =>
1787
+ this.state.index.values[index].selected && (
1788
+ <ContentsIndexHeader
1789
+ key={index}
1790
+ width={Math.ceil(
1791
+ 16 / this.state.index.selectedCount,
1792
+ )}
1793
+ label={
1794
+ this.state.index.values[index].label
1795
+ }
1796
+ order={order}
1797
+ onOrderIndex={this.onOrderIndex}
1798
+ />
1799
+ ),
1767
1800
  )}
1768
- >
1769
- <FormattedMessage
1770
- id="Title"
1771
- defaultMessage="Title"
1772
- />
1773
- </Table.HeaderCell>
1774
- {map(
1775
- this.state.index.order,
1776
- (index, order) =>
1777
- this.state.index.values[index].selected && (
1778
- <ContentsIndexHeader
1779
- key={index}
1780
- width={Math.ceil(
1781
- 16 / this.state.index.selectedCount,
1782
- )}
1783
- label={
1784
- this.state.index.values[index].label
1785
- }
1786
- order={order}
1787
- onOrderIndex={this.onOrderIndex}
1788
- />
1789
- ),
1790
- )}
1791
- <Table.HeaderCell textAlign="right">
1792
- <FormattedMessage
1793
- id="Actions"
1794
- defaultMessage="Actions"
1801
+ <Table.HeaderCell textAlign="right">
1802
+ <FormattedMessage
1803
+ id="Actions"
1804
+ defaultMessage="Actions"
1805
+ />
1806
+ </Table.HeaderCell>
1807
+ </Table.Row>
1808
+ </Table.Header>
1809
+ <Table.Body>
1810
+ {this.state.items.map((item, order) => (
1811
+ <ContentsItem
1812
+ key={item['@id']}
1813
+ item={item}
1814
+ order={order}
1815
+ selected={
1816
+ indexOf(
1817
+ this.state.selected,
1818
+ item['@id'],
1819
+ ) !== -1
1820
+ }
1821
+ onClick={this.onSelect}
1822
+ indexes={filter(
1823
+ map(this.state.index.order, (index) => ({
1824
+ id: index,
1825
+ type: this.state.index.values[index].type,
1826
+ })),
1827
+ (index) =>
1828
+ this.state.index.values[index.id]
1829
+ .selected,
1830
+ )}
1831
+ onCut={this.cut}
1832
+ onCopy={this.copy}
1833
+ onDelete={this.delete}
1834
+ onOrderItem={this.onOrderItem}
1835
+ onMoveToTop={this.onMoveToTop}
1836
+ onMoveToBottom={this.onMoveToBottom}
1795
1837
  />
1796
- </Table.HeaderCell>
1797
- </Table.Row>
1798
- </Table.Header>
1799
- <Table.Body>
1800
- {this.state.items.map((item, order) => (
1801
- <ContentsItem
1802
- key={item['@id']}
1803
- item={item}
1804
- order={order}
1805
- selected={
1806
- indexOf(this.state.selected, item['@id']) !==
1807
- -1
1808
- }
1809
- onClick={this.onSelect}
1810
- indexes={filter(
1811
- map(this.state.index.order, (index) => ({
1812
- id: index,
1813
- type: this.state.index.values[index].type,
1814
- })),
1815
- (index) =>
1816
- this.state.index.values[index.id].selected,
1817
- )}
1818
- onCut={this.cut}
1819
- onCopy={this.copy}
1820
- onDelete={this.delete}
1821
- onOrderItem={this.onOrderItem}
1822
- onMoveToTop={this.onMoveToTop}
1823
- onMoveToBottom={this.onMoveToBottom}
1824
- />
1825
- ))}
1826
- </Table.Body>
1827
- </Table>
1828
- </div>
1829
-
1830
- <div className="contents-pagination">
1831
- <Pagination
1832
- current={this.state.currentPage}
1833
- total={Math.ceil(
1834
- this.props.total / this.state.pageSize,
1835
- )}
1836
- pageSize={this.state.pageSize}
1837
- pageSizes={[
1838
- 50,
1839
- this.props.intl.formatMessage(messages.all),
1840
- ]}
1841
- onChangePage={this.onChangePage}
1842
- onChangePageSize={this.onChangePageSize}
1843
- />
1844
- </div>
1845
- </Segment.Group>
1846
- </section>
1847
- </article>
1848
- </div>
1838
+ ))}
1839
+ </Table.Body>
1840
+ </Table>
1841
+ </div>
1842
+
1843
+ <div className="contents-pagination">
1844
+ <Pagination
1845
+ current={this.state.currentPage}
1846
+ total={Math.ceil(
1847
+ this.props.total / this.state.pageSize,
1848
+ )}
1849
+ pageSize={this.state.pageSize}
1850
+ pageSizes={[
1851
+ 50,
1852
+ this.props.intl.formatMessage(messages.all),
1853
+ ]}
1854
+ onChangePage={this.onChangePage}
1855
+ onChangePageSize={this.onChangePageSize}
1856
+ />
1857
+ </div>
1858
+ </Segment.Group>
1859
+ </section>
1860
+ </article>
1861
+ </div>
1862
+ </DropzoneContent>
1849
1863
  {this.state.isClient &&
1850
1864
  createPortal(
1851
1865
  <Toolbar