dtable-ui-component 4.3.3 → 4.3.5
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.
|
@@ -115,15 +115,6 @@
|
|
|
115
115
|
white-space: nowrap;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.dtable-select.selector-collaborator .option-group .option-group-content {
|
|
119
|
-
padding: 10px;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.dtable-select.selector-collaborator .option {
|
|
123
|
-
padding: 5px 0 5px 10px !important;
|
|
124
|
-
line-height: 20px;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
118
|
.dtable-select .option.option-active {
|
|
128
119
|
background-color: #20a0ff;
|
|
129
120
|
color: #fff;
|
|
@@ -5,7 +5,7 @@ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
|
5
5
|
import React, { Component } from 'react';
|
|
6
6
|
import SelectOptionGroup from '../SelectOptionGroup';
|
|
7
7
|
import classnames from 'classnames';
|
|
8
|
-
import '
|
|
8
|
+
import './index.css';
|
|
9
9
|
var DTableCustomizeSelect = /*#__PURE__*/function (_Component) {
|
|
10
10
|
_inherits(DTableCustomizeSelect, _Component);
|
|
11
11
|
var _super = _createSuper(DTableCustomizeSelect);
|
|
@@ -5,7 +5,9 @@ var frFR = require('@seafile/seafile-calendar/lib/locale/fr_FR');
|
|
|
5
5
|
var deDE = require('@seafile/seafile-calendar/lib/locale/de_DE');
|
|
6
6
|
var esES = require('@seafile/seafile-calendar/lib/locale/es_ES');
|
|
7
7
|
var plPL = require('@seafile/seafile-calendar/lib/locale/pl_PL');
|
|
8
|
+
var ptBR = require('@seafile/seafile-calendar/lib/locale/pt_BR');
|
|
8
9
|
var csCZ = require('@seafile/seafile-calendar/lib/locale/cs_CZ');
|
|
10
|
+
var ruRU = require('@seafile/seafile-calendar/lib/locale/ru_RU');
|
|
9
11
|
export var initDateEditorLanguage = function initDateEditorLanguage(lang) {
|
|
10
12
|
var language;
|
|
11
13
|
switch (lang) {
|
|
@@ -36,9 +38,15 @@ export var initDateEditorLanguage = function initDateEditorLanguage(lang) {
|
|
|
36
38
|
case 'pl':
|
|
37
39
|
language = plPL;
|
|
38
40
|
break;
|
|
41
|
+
case 'pt-br':
|
|
42
|
+
language = ptBR;
|
|
43
|
+
break;
|
|
39
44
|
case 'cs':
|
|
40
45
|
language = csCZ;
|
|
41
46
|
break;
|
|
47
|
+
case 'ru':
|
|
48
|
+
language = ruRU;
|
|
49
|
+
break;
|
|
42
50
|
default:
|
|
43
51
|
language = zhCN;
|
|
44
52
|
}
|