dtable-statistic 4.0.2-test-2
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/README.md +3 -0
- package/es/api/dtable-db-api.js +43 -0
- package/es/assets/css/color-picker.css +53 -0
- package/es/assets/css/color-rules-popover.css +144 -0
- package/es/assets/css/color-theme-dialog.css +40 -0
- package/es/assets/css/dashboard.css +562 -0
- package/es/assets/css/dialog.css +415 -0
- package/es/assets/css/mobile-dashboard.module.css +91 -0
- package/es/assets/css/slider.css +77 -0
- package/es/assets/css/statistic-chart.module.css +11 -0
- package/es/assets/css/statistic-custom-title.module.css +3 -0
- package/es/assets/css/statistic-custom.module.css +4 -0
- package/es/assets/css/statistic-numeric-column-item.module.css +43 -0
- package/es/assets/css/statistic-time-picker.module.css +21 -0
- package/es/assets/css/theme.css +61 -0
- package/es/assets/images/icon.png +0 -0
- package/es/calculator/base-calculator.js +111 -0
- package/es/calculator/basic-chart-calculator.js +571 -0
- package/es/calculator/combination-calculator.js +296 -0
- package/es/calculator/compare-bar-calculator.js +291 -0
- package/es/calculator/completeness-calculator.js +307 -0
- package/es/calculator/copy-value.js +47 -0
- package/es/calculator/dashboard-calculator.js +146 -0
- package/es/calculator/heat-map-calculator.js +225 -0
- package/es/calculator/horizontal-bar-calculator.js +100 -0
- package/es/calculator/index.js +88 -0
- package/es/calculator/map-calculator.js +169 -0
- package/es/calculator/mirror-calculator.js +217 -0
- package/es/calculator/number-card-calculator.js +135 -0
- package/es/calculator/pivot-table-calculator.js +810 -0
- package/es/calculator/scatter-calculator.js +150 -0
- package/es/calculator/thread-manager.js +70 -0
- package/es/calculator/trend-calculator.js +204 -0
- package/es/calculator/workers/basic-chart-calculator-worker.js +410 -0
- package/es/calculator/workers/calculator.worker.js +22 -0
- package/es/calculator/workers/card-calculator-worker.js +28 -0
- package/es/calculator/workers/combination-calculator-worker.js +257 -0
- package/es/calculator/workers/compare-bar-chart-calculator-worker.js +149 -0
- package/es/calculator/workers/completeness-calculator-worker.js +153 -0
- package/es/calculator/workers/dashboard-calculator-worker.js +56 -0
- package/es/calculator/workers/mirror-calculator-worker.js +132 -0
- package/es/calculator/workers/pivot-table-calculator-worker.js +615 -0
- package/es/calculator/workers/scatter-calculator-worker.js +67 -0
- package/es/calculator/workers/trend-calculator-worker.js +93 -0
- package/es/calculator/world-map-calculator.js +193 -0
- package/es/components/common-add-tool.js +19 -0
- package/es/components/dialog/chart-addition-edit-dialog.js +89 -0
- package/es/components/dialog/chart-addition-widgets/chart-selector.js +261 -0
- package/es/components/dialog/chart-addition-widgets/statistic-chart-selector.module.css +74 -0
- package/es/components/dialog/color-theme-dialog.js +71 -0
- package/es/components/dialog/enlarged-chart-dialog.js +73 -0
- package/es/components/dialog/new-table-dialog.js +113 -0
- package/es/components/dialog/new-view-dialog.js +87 -0
- package/es/components/dialog/rename-view-dialog.js +87 -0
- package/es/components/dialog/statistic-record-dialog/index.css +114 -0
- package/es/components/dialog/statistic-record-dialog/index.js +174 -0
- package/es/components/dialog/table-select-dialog.js +93 -0
- package/es/components/dropdown-menu/statistic-dropdown-menu.js +94 -0
- package/es/components/dtable-popover.js +109 -0
- package/es/components/dtable-search-input.js +137 -0
- package/es/components/dtable-select.js +104 -0
- package/es/components/index.js +11 -0
- package/es/components/loading.js +8 -0
- package/es/components/modal-portal.js +36 -0
- package/es/components/popover/color-rules/color-rule.js +179 -0
- package/es/components/popover/color-rules/index.js +87 -0
- package/es/components/popover/color-rules/rule-filters/filter.js +214 -0
- package/es/components/popover/color-rules/rule-filters/index.css +214 -0
- package/es/components/popover/color-rules/rule-filters/index.js +97 -0
- package/es/components/popover/color-rules/rule-filters/number-input.js +85 -0
- package/es/components/popover/color-rules-popover.js +213 -0
- package/es/components/popover/color-selector-popover.js +85 -0
- package/es/components/seatable-radio/index.css +51 -0
- package/es/components/seatable-radio/index.js +28 -0
- package/es/components/select/index.js +2 -0
- package/es/components/select/option-group.css +104 -0
- package/es/components/select/option-group.js +225 -0
- package/es/components/select/option.js +51 -0
- package/es/components/select/select.css +211 -0
- package/es/components/select/select.js +157 -0
- package/es/components/toast/alert.js +130 -0
- package/es/components/toast/index.js +3 -0
- package/es/components/toast/toast.js +164 -0
- package/es/components/toast/toastManager.js +150 -0
- package/es/components/toast/toaster.js +64 -0
- package/es/constants/color-rules.js +8 -0
- package/es/constants/dtable-select-style.js +61 -0
- package/es/constants/event-types.js +1 -0
- package/es/constants/index.js +501 -0
- package/es/constants/key-codes.js +102 -0
- package/es/constants/zIndexes.js +1 -0
- package/es/custom-g2.js +614 -0
- package/es/dashboard.js +408 -0
- package/es/desktop-dashboard.js +299 -0
- package/es/index.js +33 -0
- package/es/locale/index.js +17 -0
- package/es/locale/lang/de.js +237 -0
- package/es/locale/lang/en.js +237 -0
- package/es/locale/lang/fr.js +237 -0
- package/es/locale/lang/zh_CN.js +237 -0
- package/es/mobile-dashboard.js +103 -0
- package/es/model/collaborators.js +11 -0
- package/es/model/stat-item.js +340 -0
- package/es/model/statistic-dashboard.js +8 -0
- package/es/service/chart-service.js +192 -0
- package/es/service/dashboard-service.js +415 -0
- package/es/stat-editor/chart-name-editor.js +75 -0
- package/es/stat-editor/index.js +74 -0
- package/es/stat-editor/stat-settings/advance-chart-settings/basic-number-card-settings.js +149 -0
- package/es/stat-editor/stat-settings/advance-chart-settings/combination-settings.js +415 -0
- package/es/stat-editor/stat-settings/advance-chart-settings/dashboard-chart-settings.js +193 -0
- package/es/stat-editor/stat-settings/advance-chart-settings/geo-granularity-settings.js +13 -0
- package/es/stat-editor/stat-settings/advance-chart-settings/heat-map-settings.js +107 -0
- package/es/stat-editor/stat-settings/advance-chart-settings/index.js +332 -0
- package/es/stat-editor/stat-settings/advance-chart-settings/map-settings.js +170 -0
- package/es/stat-editor/stat-settings/advance-chart-settings/mirror-settings.js +141 -0
- package/es/stat-editor/stat-settings/advance-chart-settings/style-setting/combination-style-setting.js +219 -0
- package/es/stat-editor/stat-settings/advance-chart-settings/style-setting/heat-map-settings.js +89 -0
- package/es/stat-editor/stat-settings/advance-chart-settings/style-setting/map-setting.js +132 -0
- package/es/stat-editor/stat-settings/advance-chart-settings/summary-settings.js +319 -0
- package/es/stat-editor/stat-settings/advance-chart-settings/trend-chart-settings.js +138 -0
- package/es/stat-editor/stat-settings/advance-chart-settings/world-map-settings.js +135 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/advance-bar-chart-settings.js +156 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/bar-settings.js +147 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/completeness-chart-settings.js +195 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/custom-bar-settings.js +126 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/groupby-settings.js +169 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/horizontal-axis-group-settings.js +352 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/horizontal-bar-settings.js +145 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/horizontal-group-chart-settings.js +153 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/index.js +466 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/pie-settings.js +183 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/pivot-table-settings.js +542 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/scatter-settings.js +111 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/stack-item-settings.js +86 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/stacks-settings.js +169 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/bar-chart-style-setting.js +273 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/completeness-style.js +105 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/horizontal-bar-chart-style.js +243 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/label-font-size-editor.js +65 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/pie-chart-style-settings.js +318 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/time-compare-style.js +49 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/summary-method-setting.js +124 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/summary-settings.js +150 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/time-comparison-settings.js +267 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/timer-picker.js +109 -0
- package/es/stat-editor/stat-settings/basic-chart-settings/y-axis-group-settings.js +351 -0
- package/es/stat-editor/stat-settings/color-setting/color-group-selector.js +60 -0
- package/es/stat-editor/stat-settings/color-setting/color-picker.js +129 -0
- package/es/stat-editor/stat-settings/color-setting/color-use-type-selector.js +348 -0
- package/es/stat-editor/stat-settings/public-setting/axis-label-position-setting.js +102 -0
- package/es/stat-editor/stat-settings/public-setting/base-settings.js +124 -0
- package/es/stat-editor/stat-settings/public-setting/calender.js +124 -0
- package/es/stat-editor/stat-settings/public-setting/column-settings.js +15 -0
- package/es/stat-editor/stat-settings/public-setting/custom-title-setting.js +60 -0
- package/es/stat-editor/stat-settings/public-setting/data-sort-setting.js +57 -0
- package/es/stat-editor/stat-settings/public-setting/ind-toggle-setting.js +41 -0
- package/es/stat-editor/stat-settings/public-setting/min-max-setting.js +64 -0
- package/es/stat-editor/stat-settings/public-setting/numeric-summary-item.js +118 -0
- package/es/stat-editor/stat-settings/public-setting/toggle-setting.js +39 -0
- package/es/stat-list/chart-preview.js +139 -0
- package/es/stat-list/index.js +275 -0
- package/es/stat-view/area-chart.js +521 -0
- package/es/stat-view/bar-chart.js +568 -0
- package/es/stat-view/base-chart.js +44 -0
- package/es/stat-view/basic-number-card.js +255 -0
- package/es/stat-view/combination-chart.js +558 -0
- package/es/stat-view/compare-chart.js +485 -0
- package/es/stat-view/completeness-chart.js +389 -0
- package/es/stat-view/custom-bar.js +433 -0
- package/es/stat-view/dashboard-chart.js +317 -0
- package/es/stat-view/heat-map.js +501 -0
- package/es/stat-view/horizontal-bar-chart.js +569 -0
- package/es/stat-view/index.js +183 -0
- package/es/stat-view/line-chart.js +505 -0
- package/es/stat-view/map.js +428 -0
- package/es/stat-view/mirror.js +285 -0
- package/es/stat-view/pie-chart.js +326 -0
- package/es/stat-view/pivot-table/index.js +206 -0
- package/es/stat-view/pivot-table/one-dimension-table-no-numeric-columns.js +133 -0
- package/es/stat-view/pivot-table/one-dimension-table-with-numeric-columns.js +164 -0
- package/es/stat-view/pivot-table/statistic-pivot-table.module.css +132 -0
- package/es/stat-view/pivot-table/two-dimension-table.js +344 -0
- package/es/stat-view/ring-chart.js +416 -0
- package/es/stat-view/scatter-chart.js +367 -0
- package/es/stat-view/treemap-chart.js +318 -0
- package/es/stat-view/trend-chart.js +299 -0
- package/es/stat-view/world-map.js +443 -0
- package/es/tabs/index.js +252 -0
- package/es/tabs/statistic-tabs.module.css +154 -0
- package/es/tabs/tab.js +167 -0
- package/es/utils/basic-chart-utils.js +24 -0
- package/es/utils/cell-format.js +110 -0
- package/es/utils/cell-value.js +27 -0
- package/es/utils/collaborator.js +31 -0
- package/es/utils/color-utils.js +112 -0
- package/es/utils/column-utils.js +18 -0
- package/es/utils/column.js +13 -0
- package/es/utils/common-utils.js +303 -0
- package/es/utils/date-format.js +65 -0
- package/es/utils/export-table-utils.js +632 -0
- package/es/utils/index.js +26 -0
- package/es/utils/object.js +26 -0
- package/es/utils/row-utils.js +115 -0
- package/es/utils/search.js +67 -0
- package/es/utils/sql-utils.js +293 -0
- package/es/utils/stat-utils.js +353 -0
- package/es/utils/trend-utils.js +136 -0
- package/index.js +1 -0
- package/package.json +188 -0
package/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
2
|
+
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
3
|
+
import axios from 'axios';
|
|
4
|
+
var DTableDbAPI = /*#__PURE__*/function () {
|
|
5
|
+
function DTableDbAPI() {
|
|
6
|
+
_classCallCheck(this, DTableDbAPI);
|
|
7
|
+
this.req = null;
|
|
8
|
+
}
|
|
9
|
+
_createClass(DTableDbAPI, [{
|
|
10
|
+
key: "init",
|
|
11
|
+
value: function init() {
|
|
12
|
+
if (this.req) return;
|
|
13
|
+
var _window$dtable = window.dtable,
|
|
14
|
+
accessToken = _window$dtable.accessToken,
|
|
15
|
+
dtableDb = _window$dtable.dtableDb;
|
|
16
|
+
this.req = axios.create({
|
|
17
|
+
baseURL: dtableDb,
|
|
18
|
+
headers: {
|
|
19
|
+
'Authorization': 'Token ' + accessToken
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}, {
|
|
24
|
+
key: "sqlQuery",
|
|
25
|
+
value: function sqlQuery(sql, parameters) {
|
|
26
|
+
var convert_keys = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
27
|
+
this.init();
|
|
28
|
+
var dtableUuid = window.dtable.dtableUuid;
|
|
29
|
+
var url = 'api/v1/query/' + dtableUuid;
|
|
30
|
+
var data = {
|
|
31
|
+
sql: sql,
|
|
32
|
+
convert_keys: convert_keys
|
|
33
|
+
};
|
|
34
|
+
if (parameters) {
|
|
35
|
+
data['parameters'] = parameters;
|
|
36
|
+
}
|
|
37
|
+
return this.req.post(url, data);
|
|
38
|
+
}
|
|
39
|
+
}]);
|
|
40
|
+
return DTableDbAPI;
|
|
41
|
+
}();
|
|
42
|
+
var dtableDbAPI = new DTableDbAPI();
|
|
43
|
+
export default dtableDbAPI;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* color-picker */
|
|
2
|
+
.statistic-chart-color-picker-container {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: block;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 2.375rem;
|
|
7
|
+
line-height: 2.375rem;
|
|
8
|
+
background-clip: padding-box;
|
|
9
|
+
color: #495057;
|
|
10
|
+
background-color: #fff;
|
|
11
|
+
border: 1px solid rgba(0, 40, 100, 0.12);
|
|
12
|
+
border-radius: 3px;
|
|
13
|
+
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.statistic-chart-color-picker-container .picker-control {
|
|
17
|
+
height: 100%;
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.statistic-chart-color-picker-container .picker-control .color-control {
|
|
23
|
+
width: 24px;
|
|
24
|
+
height: 24px;
|
|
25
|
+
margin-left: 10px;
|
|
26
|
+
border-radius: 4px;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.statistic-chart-color-picker-container .picker-control.readOnly,
|
|
31
|
+
.statistic-chart-color-picker-container .picker-control.readOnly .text-control {
|
|
32
|
+
background-color: #f7f7f7;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.statistic-chart-color-picker-container .picker-control .color-control {
|
|
36
|
+
cursor: default;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.statistic-chart-color-picker-container .picker-control .color-control.white-color {
|
|
40
|
+
border: 3px #eee solid;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.statistic-chart-color-picker-container .picker-control .text-control {
|
|
44
|
+
height: 100%;
|
|
45
|
+
border: none;
|
|
46
|
+
outline: none;
|
|
47
|
+
padding-left: 10px;
|
|
48
|
+
font-size: 14px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.statistic-chart-color-picker-container .picker-control.readOnly .text-control {
|
|
52
|
+
cursor: default;
|
|
53
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
.statistic-color-rules-popover .popover {
|
|
2
|
+
max-width: unset;
|
|
3
|
+
min-width: 200px;
|
|
4
|
+
background-color: #fff;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.statistic-color-rules-wrapper {
|
|
8
|
+
max-width: unset;
|
|
9
|
+
min-width: 420px;
|
|
10
|
+
min-height: 60px;
|
|
11
|
+
padding-top: 1rem;
|
|
12
|
+
background-color: #fff;
|
|
13
|
+
border-radius: 2px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.statistic-color-rules-wrapper .no-color-rules {
|
|
17
|
+
padding: 0 1rem 1rem;
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
color: #999;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.statistic-color-rules-popover .statistic-btn-add-color-rule {
|
|
23
|
+
border-top: unset;
|
|
24
|
+
color: #555;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.statistic-color-rules-popover .statistic-btn-add-color-rule:hover {
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
background-color: #f9f9f9;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.statistic-color-rules-popover .statistic-btn-add-color-rule.disabled:hover {
|
|
33
|
+
cursor: default;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.statistic-color-rule-item {
|
|
37
|
+
padding: 8px 0;
|
|
38
|
+
min-height: 30px;
|
|
39
|
+
position: relative;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.statistic-color-rule-item:hover {
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
background-color: #f9f9f9;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.statistic-color-rule-item.editing {
|
|
48
|
+
background-color: #f5f5f5;
|
|
49
|
+
padding-bottom: 2px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.statistic-color-rule-item.editing:hover {
|
|
53
|
+
background-color: #f5f5f5;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.statistic-color-rule-title {
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
flex: 1;
|
|
60
|
+
padding: 0 10px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.statistic-color-rule-dropdown {
|
|
64
|
+
display: inline-block;
|
|
65
|
+
height: 20px;
|
|
66
|
+
width: 20px;
|
|
67
|
+
line-height: 20px;
|
|
68
|
+
border-radius: 3px;
|
|
69
|
+
text-align: center;
|
|
70
|
+
margin: 0 8px;
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
position: relative;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.statistic-color-rule-dropdown .dtable-icon-drop-down {
|
|
76
|
+
display: inline-block;
|
|
77
|
+
font-size: 12px;
|
|
78
|
+
transform: scale(.8);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.statistic-color-rule-name {
|
|
82
|
+
max-width: 344px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.statistic-color-rule-name,
|
|
86
|
+
.statistic-color-rule-filters .add-new-option,
|
|
87
|
+
.statistic-color-rules .add-row-color-rule .add-new-option {
|
|
88
|
+
user-select: none;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.statistic-color-rule-name.invalid,
|
|
92
|
+
.statistic-color-rules-popover .statistic-btn-add-color-rule.disabled {
|
|
93
|
+
opacity: .5;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.statistic-color-rules-popover .statistic-btn-add-color-rule.disabled {
|
|
97
|
+
cursor: default;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.statistic-delete-color-rule {
|
|
101
|
+
width: 20px;
|
|
102
|
+
height: 20px;
|
|
103
|
+
line-height: 20px;
|
|
104
|
+
text-align: center;
|
|
105
|
+
visibility: hidden;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.statistic-color-rule-item:hover .statistic-delete-color-rule {
|
|
109
|
+
visibility: visible;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.statistic-delete-color-rule .dtable-font {
|
|
113
|
+
color: #999;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.statistic-delete-color-rule:hover .dtable-font,
|
|
117
|
+
.statistic-btn-add-color-rule-filter:hover .popover-add-icon,
|
|
118
|
+
.statistic-btn-add-color-rule-filter:hover .add-new-option {
|
|
119
|
+
color: #5a5a5a;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.statistic-btn-add-color-rule-filter.disabled:hover .popover-add-icon,
|
|
123
|
+
.statistic-btn-add-color-rule-filter.disabled:hover .add-new-option {
|
|
124
|
+
color: #999;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.add-item-btn.statistic-btn-add-color-rule-filter {
|
|
128
|
+
border-top: unset;
|
|
129
|
+
background-color: #f5f5f5;
|
|
130
|
+
padding-left: 27px;
|
|
131
|
+
padding-right: 12px;
|
|
132
|
+
height: 30px;
|
|
133
|
+
line-height: 30px;
|
|
134
|
+
font-weight: 400;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.statistic-btn-add-color-rule-filter:hover {
|
|
138
|
+
background-color: unset;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.statistic-btn-add-color-rule-filter .popover-add-icon,
|
|
142
|
+
.statistic-btn-add-color-rule-filter .add-new-option {
|
|
143
|
+
color: #999;
|
|
144
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
.color-theme-setting-dialog {
|
|
2
|
+
width: 550px;
|
|
3
|
+
max-width: 550px;
|
|
4
|
+
height: 500px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.color-theme-setting-dialog .color-theme-container {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-wrap: wrap;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.color-theme-container .color-theme-item {
|
|
14
|
+
height: 38px;
|
|
15
|
+
width: 240px;
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
margin-bottom: 10px;
|
|
19
|
+
border-radius: 5px;
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.color-theme-container .color-theme-item.active {
|
|
24
|
+
border: 2px solid #37BA46;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.color-theme-container .color-theme-item .color-block:first-child {
|
|
28
|
+
border-top-left-radius: 4px;
|
|
29
|
+
border-bottom-left-radius: 4px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.color-theme-container .color-theme-item .color-block:last-child {
|
|
33
|
+
border-top-right-radius: 4px;
|
|
34
|
+
border-bottom-right-radius: 4px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.color-theme-container .color-theme-item .statistic-color-block {
|
|
38
|
+
flex: 1 1;
|
|
39
|
+
height: 34px;
|
|
40
|
+
}
|