dtable-ui-component 6.0.117-beta.9 → 6.0.117

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.
@@ -20,9 +20,7 @@ const DTableDropdownMenu = _ref => {
20
20
  menuProps,
21
21
  children
22
22
  } = _ref;
23
- let customMenuProps = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, menuProps), {}, {
24
- flip: false
25
- });
23
+ let customMenuProps = (0, _objectSpread2.default)({}, menuProps);
26
24
  customMenuProps.modifiers = [{
27
25
  name: 'preventOverflow',
28
26
  options: {
@@ -20,9 +20,7 @@ const DTableSubDropdownMenu = _ref => {
20
20
  menuProps,
21
21
  children
22
22
  } = _ref;
23
- let customMenuProps = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, menuProps), {}, {
24
- flip: false
25
- });
23
+ let customMenuProps = (0, _objectSpread2.default)({}, menuProps);
26
24
  if (container) {
27
25
  customMenuProps.container = container;
28
26
  }
@@ -40,11 +38,6 @@ const DTableSubDropdownMenu = _ref => {
40
38
  className: (0, _classnames.default)('dtable-sub-dropdown-menu', className),
41
39
  menuProps: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, customMenuProps), {}, {
42
40
  modifiers: [{
43
- name: 'preventOverflow',
44
- options: {
45
- boundary: document.body
46
- }
47
- }, {
48
41
  name: 'offset',
49
42
  options: {
50
43
  offset: [-8, -1]
@@ -124,7 +124,10 @@ function ImagePreviewerLightbox(props) {
124
124
  zoomOutTip: (0, _lang.getLocale)('Zoom_out'),
125
125
  rotateTip: (0, _lang.getLocale)('Rotate_image'),
126
126
  deleteTip: (0, _lang.getLocale)('Delete_image'),
127
- downloadImageTip: (0, _lang.getLocale)('Download_image')
127
+ downloadImageTip: (0, _lang.getLocale)('Download_image'),
128
+ preLineMetadaTip: (0, _lang.getLocale)('Pre_Line'),
129
+ nextLineMetadaTip: (0, _lang.getLocale)('Next_Line'),
130
+ closeMetadataTip: (0, _lang.getLocale)('Close')
128
131
  });
129
132
  }
130
133
  var _default = exports.default = ImagePreviewerLightbox;
@@ -12,6 +12,8 @@
12
12
  "Rotate_image": "Rotate image",
13
13
  "Delete_image": "delete image",
14
14
  "Download_image": "Download image",
15
+ "Pre_Line": "previous Line",
16
+ "Next_Line": "next Line",
15
17
  "Zoom_in": "Zoom in",
16
18
  "Zoom_out": "Zoom out",
17
19
  "Choose_a_collaborator": "Wählen Sie einen Mitarbeiter",
@@ -12,6 +12,8 @@
12
12
  "Rotate_image": "Rotate image",
13
13
  "Delete_image": "delete image",
14
14
  "Download_image": "Download image",
15
+ "Pre_Line": "previous Line",
16
+ "Next_Line": "next Line",
15
17
  "Zoom_in": "Zoom in",
16
18
  "Zoom_out": "Zoom out",
17
19
  "Choose_a_collaborator": "Choose a collaborator",
@@ -12,6 +12,8 @@
12
12
  "Rotate_image": "Rotate image",
13
13
  "Delete_image": "delete image",
14
14
  "Download_image": "Download image",
15
+ "Pre_Line": "previous Line",
16
+ "Next_Line": "next Line",
15
17
  "Zoom_in": "Zoom in",
16
18
  "Zoom_out": "Zoom out",
17
19
  "Choose_a_collaborator": "Choose a collaborator",
@@ -12,6 +12,8 @@
12
12
  "Rotate_image": "Rotate image",
13
13
  "Delete_image": "delete image",
14
14
  "Download_image": "Download image",
15
+ "Pre_Line": "previous Line",
16
+ "Next_Line": "next Line",
15
17
  "Zoom_in": "Zoom in",
16
18
  "Zoom_out": "Zoom out",
17
19
  "Choose_a_collaborator": "Choisissez un collaborateur",
@@ -12,6 +12,8 @@
12
12
  "Rotate_image": "Rotate image",
13
13
  "Delete_image": "delete image",
14
14
  "Download_image": "Download image",
15
+ "Pre_Line": "previous Line",
16
+ "Next_Line": "next Line",
15
17
  "Zoom_in": "Zoom in",
16
18
  "Zoom_out": "Zoom out",
17
19
  "Choose_a_collaborator": "Choose a collaborator",
@@ -12,6 +12,8 @@
12
12
  "Rotate_image": "Rotate image",
13
13
  "Delete_image": "delete image",
14
14
  "Download_image": "Download image",
15
+ "Pre_Line": "previous Line",
16
+ "Next_Line": "next Line",
15
17
  "Zoom_in": "Zoom in",
16
18
  "Zoom_out": "Zoom out",
17
19
  "Choose_a_collaborator": "Choose a collaborator",
@@ -12,6 +12,8 @@
12
12
  "Rotate_image": "旋转",
13
13
  "Delete_image": "删除",
14
14
  "Download_image": "下载",
15
+ "Pre_Line": "上一行",
16
+ "Next_Line": "下一行",
15
17
  "Zoom_in": "放大",
16
18
  "Zoom_out": "缩小",
17
19
  "Choose_a_collaborator": "选择一个协作人",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "6.0.117-beta.9",
3
+ "version": "6.0.117",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "^5.0.8",