dtable-statistic 4.0.2-test-2 → 4.0.4
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.
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
opacity: .75;
|
|
50
50
|
font-weight: 500;
|
|
51
51
|
color: var(--add-stat-item-color);
|
|
52
|
-
border-color: var(--add-stat-item-border-color);
|
|
53
|
-
background-color: var(--add-stat-item-bg-color);
|
|
52
|
+
border-color: var(--add-stat-item-border-color) !important;
|
|
53
|
+
background-color: var(--add-stat-item-bg-color) !important;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.statistic-header .add-stat:hover {
|
|
@@ -76,15 +76,14 @@
|
|
|
76
76
|
.statistic-header .op-item-icon-wrapper {
|
|
77
77
|
display: flex;
|
|
78
78
|
align-items: center;
|
|
79
|
-
font-weight: 800;
|
|
80
79
|
cursor: pointer;
|
|
81
|
-
font-size: 14px;
|
|
82
80
|
line-height: 24px;
|
|
83
|
-
color:
|
|
81
|
+
color: var(--dashboard-header-icon-color);
|
|
84
82
|
}
|
|
85
83
|
|
|
86
|
-
.statistic-header .op-item-icon-wrapper:hover
|
|
87
|
-
|
|
84
|
+
.statistic-header .op-item-icon-wrapper:hover,
|
|
85
|
+
.statistic-header .add-stat:hover {
|
|
86
|
+
color: var(--dashboard-header-icon-hover-color);
|
|
88
87
|
}
|
|
89
88
|
|
|
90
89
|
.statistic-header .op-item-icon-wrapper:hover .op-item-icon {
|
package/es/assets/css/theme.css
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
.statistic-dark {
|
|
2
|
+
--dashboard-header-icon-color: #999;
|
|
3
|
+
--dashboard-header-icon-hover-color: #fff;
|
|
2
4
|
--container-bg-color: #1c1c1f;
|
|
3
5
|
--common-font-color: #ffffff;
|
|
4
6
|
--item-wrapper-bg-color: #2c2c30;
|
|
@@ -30,6 +32,8 @@
|
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
.statistic-light {
|
|
35
|
+
--dashboard-header-icon-color: rgba(0, 0, 0, .5);
|
|
36
|
+
--dashboard-header-icon-hover-color: rgba(0, 0, 0, .75);
|
|
33
37
|
--container-bg-color: #f5f5f5;
|
|
34
38
|
--common-font-color: #000000;
|
|
35
39
|
--item-wrapper-bg-color: #ffffff;
|
package/es/desktop-dashboard.js
CHANGED
|
@@ -212,12 +212,7 @@ var DesktopDashboard = /*#__PURE__*/function (_Component) {
|
|
|
212
212
|
moveDashboard: this.props.moveDashboard
|
|
213
213
|
}), /*#__PURE__*/React.createElement("div", {
|
|
214
214
|
className: "statistic-header-operators d-flex align-items-center"
|
|
215
|
-
}, /*#__PURE__*/React.createElement("
|
|
216
|
-
className: "op-item op-item-icon-wrapper mr-4",
|
|
217
|
-
onClick: this.onToggleColorThemeDialog
|
|
218
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
219
|
-
className: "op-item-icon dtable-font dtable-icon-set-up"
|
|
220
|
-
})), !isTableReadOnly && /*#__PURE__*/React.createElement("button", {
|
|
215
|
+
}, !isTableReadOnly && /*#__PURE__*/React.createElement("button", {
|
|
221
216
|
className: "btn btn-secondary op-item add-stat mr-4",
|
|
222
217
|
onClick: this.onToggleChartAddition
|
|
223
218
|
}, /*#__PURE__*/React.createElement("i", {
|
|
@@ -225,6 +220,11 @@ var DesktopDashboard = /*#__PURE__*/function (_Component) {
|
|
|
225
220
|
}), /*#__PURE__*/React.createElement("span", {
|
|
226
221
|
className: "add-new-option"
|
|
227
222
|
}, intl.get('New_chart'))), /*#__PURE__*/React.createElement("div", {
|
|
223
|
+
className: "op-item op-item-icon-wrapper mr-4",
|
|
224
|
+
onClick: this.onToggleColorThemeDialog
|
|
225
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
226
|
+
className: "op-item-icon dtable-font dtable-icon-set-up"
|
|
227
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
228
228
|
className: "op-item op-item-icon-wrapper mr-4",
|
|
229
229
|
id: "btn-statistic-full-screen",
|
|
230
230
|
onClick: this.onToggleFullScreen
|
package/es/locale/lang/de.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var de = {
|
|
2
|
-
'Statistics': '
|
|
2
|
+
'Statistics': 'Statistiken',
|
|
3
3
|
'New_chart': 'Neue Grafik',
|
|
4
4
|
'Close': 'Schließen',
|
|
5
5
|
'Dark_mode': 'Dunkler Modus',
|
|
@@ -51,7 +51,7 @@ var de = {
|
|
|
51
51
|
'Untitled': 'Ohne Titel',
|
|
52
52
|
'Settings': 'Einstellungen',
|
|
53
53
|
'Table': 'Tabelle',
|
|
54
|
-
'
|
|
54
|
+
'Views': 'Views',
|
|
55
55
|
'Display_title': 'Anzeigetitel',
|
|
56
56
|
'X-axis': 'X-Achse',
|
|
57
57
|
'Y-axis': 'Y-Achse',
|
|
@@ -64,7 +64,7 @@ var de = {
|
|
|
64
64
|
'Numeric_column': 'Numerische Spalte',
|
|
65
65
|
'Select_a_column': 'Spalte wählen',
|
|
66
66
|
'No_options': 'Keine Optionen',
|
|
67
|
-
'Counting': '
|
|
67
|
+
'Counting': 'Zählung',
|
|
68
68
|
'Count_by_column': 'Einträge basierend auf einer Spalte gruppieren und Einträge zählen',
|
|
69
69
|
'Display_legend': 'Legende anzeigen',
|
|
70
70
|
'Display_percent': 'Prozentwert anzeigen',
|
package/es/locale/lang/en.js
CHANGED
package/es/locale/lang/fr.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var fr = {
|
|
2
|
-
'Statistics': '
|
|
2
|
+
'Statistics': 'Statistiques',
|
|
3
3
|
'New_chart': 'Nouveau graphique',
|
|
4
4
|
'Close': 'Fermer',
|
|
5
5
|
'Dark_mode': 'Mode sombre',
|
|
@@ -51,7 +51,7 @@ var fr = {
|
|
|
51
51
|
'Untitled': 'Sans titre',
|
|
52
52
|
'Settings': 'Paramètres',
|
|
53
53
|
'Table': 'Tableau',
|
|
54
|
-
'
|
|
54
|
+
'Views': 'Views',
|
|
55
55
|
'Display_title': 'Titre à afficher',
|
|
56
56
|
'X-axis': 'Axe des x',
|
|
57
57
|
'Y-axis': 'Axe des y',
|
|
@@ -64,7 +64,7 @@ var fr = {
|
|
|
64
64
|
'Numeric_column': 'Colonne numérique',
|
|
65
65
|
'Select_a_column': 'Sélectionnner une colonne',
|
|
66
66
|
'No_options': 'Il n\'y a pas d\'options.',
|
|
67
|
-
'Counting': '
|
|
67
|
+
'Counting': 'Nombre',
|
|
68
68
|
'Count_by_column': 'Regrouper les enregistrements en fonction d\'une colonne et les compter',
|
|
69
69
|
'Display_legend': 'Afficher la légende',
|
|
70
70
|
'Display_percent': 'Afficher le pourcentage',
|
package/es/locale/lang/zh_CN.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dtable-statistic",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"description": "statistics",
|
|
5
5
|
"main": "dist/dtable-statistic.js",
|
|
6
6
|
"author": "seafile",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"dayjs": "1.10.7",
|
|
15
15
|
"dtable-store": "4.0.2",
|
|
16
16
|
"dtable-web-api": "4.0.1",
|
|
17
|
+
"glamor": "^2.20.40",
|
|
17
18
|
"html2canvas": "^1.4.1",
|
|
18
19
|
"rc-slider": "^9.7.4",
|
|
19
20
|
"react": "16.14.0",
|