dtable-statistic 4.4.24 → 5.0.0-alpha.0
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/es/assets/css/dashboard.css +1 -0
- package/es/assets/css/dialog.css +35 -0
- package/es/components/dialog/chart-edit-dialog.js +93 -0
- package/es/components/dialog/enlarged-chart-dialog.js +8 -13
- package/es/components/dialog/statistic-record-dialog/index.js +26 -33
- package/es/components/dropdown-menu/statistic-dropdown-menu.js +2 -2
- package/es/constants/index.js +3 -499
- package/es/dashboard.js +9 -87
- package/es/desktop-dashboard.js +51 -32
- package/es/index.js +56 -1
- package/es/mobile-dashboard.js +8 -16
- package/es/model/conver-statItem.js +124 -0
- package/es/service/chart-service.js +8 -27
- package/es/service/dashboard-service.js +25 -29
- package/es/stat-list/chart-preview.js +19 -20
- package/es/stat-list/index.js +15 -21
- package/es/stat-view/index.js +47 -156
- package/es/tabs/tab.js +17 -14
- package/es/utils/common-utils.js +2 -352
- package/es/utils/export-table-utils.js +0 -69
- package/es/utils/index.js +0 -89
- package/package.json +5 -7
- package/es/assets/css/color-picker.css +0 -53
- package/es/assets/css/color-rules-popover.css +0 -144
- package/es/assets/css/slider.css +0 -77
- package/es/assets/css/statistic-chart.module.css +0 -11
- package/es/assets/css/statistic-custom-title.module.css +0 -3
- package/es/assets/css/statistic-custom.module.css +0 -4
- package/es/assets/css/statistic-numeric-column-item.module.css +0 -43
- package/es/assets/css/statistic-time-picker.module.css +0 -21
- package/es/calculator/base-calculator.js +0 -80
- package/es/calculator/basic-chart-calculator.js +0 -349
- package/es/calculator/combination-calculator.js +0 -246
- package/es/calculator/compare-bar-calculator.js +0 -197
- package/es/calculator/completeness-calculator.js +0 -215
- package/es/calculator/copy-value.js +0 -53
- package/es/calculator/dashboard-calculator.js +0 -70
- package/es/calculator/heat-map-calculator.js +0 -148
- package/es/calculator/horizontal-bar-calculator.js +0 -67
- package/es/calculator/index.js +0 -81
- package/es/calculator/map-calculator.js +0 -103
- package/es/calculator/mirror-calculator.js +0 -146
- package/es/calculator/number-card-calculator.js +0 -60
- package/es/calculator/pivot-table-calculator.js +0 -821
- package/es/calculator/scatter-calculator.js +0 -75
- package/es/calculator/thread-manager.js +0 -57
- package/es/calculator/trend-calculator.js +0 -113
- package/es/calculator/workers/basic-chart-calculator-worker.js +0 -495
- package/es/calculator/workers/calculator.worker.js +0 -44
- package/es/calculator/workers/card-calculator-worker.js +0 -40
- package/es/calculator/workers/combination-calculator-worker.js +0 -276
- package/es/calculator/workers/compare-bar-chart-calculator-worker.js +0 -150
- package/es/calculator/workers/completeness-calculator-worker.js +0 -208
- package/es/calculator/workers/dashboard-calculator-worker.js +0 -68
- package/es/calculator/workers/mirror-calculator-worker.js +0 -152
- package/es/calculator/workers/pivot-table-calculator-worker.js +0 -718
- package/es/calculator/workers/scatter-calculator-worker.js +0 -80
- package/es/calculator/workers/trend-calculator-worker.js +0 -108
- package/es/calculator/world-map-calculator.js +0 -124
- package/es/components/common-add-tool.js +0 -28
- package/es/components/dialog/chart-addition-edit-dialog.js +0 -90
- package/es/components/dialog/chart-addition-widgets/chart-selector.js +0 -259
- package/es/components/dialog/chart-addition-widgets/statistic-chart-selector.module.css +0 -83
- package/es/components/dialog/statistic-types-dialog/index.css +0 -14
- package/es/components/dialog/statistic-types-dialog/index.js +0 -62
- package/es/components/dtable-popover.js +0 -97
- package/es/components/dtable-search-input.js +0 -135
- package/es/components/index.js +0 -55
- package/es/components/loading.js +0 -15
- package/es/components/modal-portal.js +0 -26
- package/es/components/popover/color-rules/color-rule.js +0 -183
- package/es/components/popover/color-rules/index.js +0 -87
- package/es/components/popover/color-rules/rule-filters/filter.js +0 -221
- package/es/components/popover/color-rules/rule-filters/index.css +0 -210
- package/es/components/popover/color-rules/rule-filters/index.js +0 -97
- package/es/components/popover/color-rules/rule-filters/number-input.js +0 -78
- package/es/components/popover/color-rules-popover.js +0 -217
- package/es/components/popover/color-selector-popover.js +0 -82
- package/es/components/seatable-radio/index.css +0 -51
- package/es/components/seatable-radio/index.js +0 -35
- package/es/constants/color-rules.js +0 -17
- package/es/constants/map.js +0 -13
- package/es/constants/model.js +0 -26
- package/es/constants/regions.js +0 -2111
- package/es/constants/zIndexes.js +0 -7
- package/es/custom-g2.js +0 -644
- package/es/model/bar-group.js +0 -58
- package/es/model/bar.js +0 -47
- package/es/model/base-model.js +0 -18
- package/es/model/basic-number-card.js +0 -25
- package/es/model/combination.js +0 -48
- package/es/model/compare-bar.js +0 -56
- package/es/model/completeness-group.js +0 -31
- package/es/model/completeness.js +0 -25
- package/es/model/custom-bar.js +0 -25
- package/es/model/dashboard.js +0 -20
- package/es/model/generic-model.js +0 -222
- package/es/model/heat-map.js +0 -33
- package/es/model/horizontal-bar-group.js +0 -55
- package/es/model/horizontal-bar.js +0 -47
- package/es/model/index.js +0 -187
- package/es/model/map.js +0 -38
- package/es/model/mirror.js +0 -33
- package/es/model/pie.js +0 -38
- package/es/model/ring.js +0 -40
- package/es/model/scatter.js +0 -22
- package/es/model/table.js +0 -32
- package/es/model/trend.js +0 -32
- package/es/model/world-map.js +0 -34
- package/es/service/map-json.js +0 -140
- package/es/stat-editor/chart-name-editor.js +0 -68
- package/es/stat-editor/index.js +0 -75
- package/es/stat-editor/stat-settings/advance-chart-settings/basic-number-card-settings.js +0 -153
- package/es/stat-editor/stat-settings/advance-chart-settings/combination-settings.js +0 -422
- package/es/stat-editor/stat-settings/advance-chart-settings/dashboard-chart-settings.js +0 -203
- package/es/stat-editor/stat-settings/advance-chart-settings/geo-granularity-settings.js +0 -23
- package/es/stat-editor/stat-settings/advance-chart-settings/heat-map-settings.js +0 -104
- package/es/stat-editor/stat-settings/advance-chart-settings/index.js +0 -334
- package/es/stat-editor/stat-settings/advance-chart-settings/map-settings.js +0 -119
- package/es/stat-editor/stat-settings/advance-chart-settings/mirror-settings.js +0 -132
- package/es/stat-editor/stat-settings/advance-chart-settings/style-setting/combination-style-setting.js +0 -240
- package/es/stat-editor/stat-settings/advance-chart-settings/style-setting/heat-map-settings.js +0 -89
- package/es/stat-editor/stat-settings/advance-chart-settings/style-setting/map-setting.js +0 -138
- package/es/stat-editor/stat-settings/advance-chart-settings/summary-settings.js +0 -331
- package/es/stat-editor/stat-settings/advance-chart-settings/trend-chart-settings.js +0 -143
- package/es/stat-editor/stat-settings/advance-chart-settings/world-map-settings.js +0 -109
- package/es/stat-editor/stat-settings/basic-chart-settings/advance-bar-chart-settings.js +0 -153
- package/es/stat-editor/stat-settings/basic-chart-settings/bar-settings.js +0 -144
- package/es/stat-editor/stat-settings/basic-chart-settings/completeness-chart-settings.js +0 -214
- package/es/stat-editor/stat-settings/basic-chart-settings/custom-bar-settings.js +0 -121
- package/es/stat-editor/stat-settings/basic-chart-settings/groupby-settings.js +0 -172
- package/es/stat-editor/stat-settings/basic-chart-settings/horizontal-axis-group-settings.js +0 -366
- package/es/stat-editor/stat-settings/basic-chart-settings/horizontal-bar-settings.js +0 -142
- package/es/stat-editor/stat-settings/basic-chart-settings/horizontal-group-chart-settings.js +0 -150
- package/es/stat-editor/stat-settings/basic-chart-settings/index.js +0 -473
- package/es/stat-editor/stat-settings/basic-chart-settings/pie-settings.js +0 -182
- package/es/stat-editor/stat-settings/basic-chart-settings/pivot-table-settings.js +0 -564
- package/es/stat-editor/stat-settings/basic-chart-settings/scatter-settings.js +0 -112
- package/es/stat-editor/stat-settings/basic-chart-settings/stack-item-settings.js +0 -87
- package/es/stat-editor/stat-settings/basic-chart-settings/stacks-settings.js +0 -187
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/bar-chart-style-setting.js +0 -300
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/completeness-style.js +0 -113
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/horizontal-bar-chart-style.js +0 -289
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/label-font-size-editor.js +0 -58
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/pie-chart-style-settings.js +0 -359
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/time-compare-style.js +0 -48
- package/es/stat-editor/stat-settings/basic-chart-settings/summary-method-setting.js +0 -121
- package/es/stat-editor/stat-settings/basic-chart-settings/summary-settings.js +0 -143
- package/es/stat-editor/stat-settings/basic-chart-settings/time-comparison-settings.js +0 -269
- package/es/stat-editor/stat-settings/basic-chart-settings/timer-picker.js +0 -104
- package/es/stat-editor/stat-settings/basic-chart-settings/y-axis-group-settings.js +0 -366
- package/es/stat-editor/stat-settings/color-setting/color-group-selector.js +0 -55
- package/es/stat-editor/stat-settings/color-setting/color-picker.js +0 -130
- package/es/stat-editor/stat-settings/color-setting/color-use-type-selector.js +0 -374
- package/es/stat-editor/stat-settings/map/map-level.js +0 -72
- package/es/stat-editor/stat-settings/map/map-province-city.js +0 -151
- package/es/stat-editor/stat-settings/public-setting/axis-label-position-setting.js +0 -108
- package/es/stat-editor/stat-settings/public-setting/base-settings.js +0 -154
- package/es/stat-editor/stat-settings/public-setting/calender.js +0 -125
- package/es/stat-editor/stat-settings/public-setting/column-settings.js +0 -24
- package/es/stat-editor/stat-settings/public-setting/custom-title-setting.js +0 -62
- package/es/stat-editor/stat-settings/public-setting/data-sort-setting.js +0 -61
- package/es/stat-editor/stat-settings/public-setting/ind-toggle-setting.js +0 -35
- package/es/stat-editor/stat-settings/public-setting/min-max-setting.js +0 -60
- package/es/stat-editor/stat-settings/public-setting/numeric-summary-item.js +0 -123
- package/es/stat-editor/stat-settings/public-setting/toggle-setting.js +0 -33
- package/es/stat-editor/stat-settings/public-setting/type-settings/index.css +0 -29
- package/es/stat-editor/stat-settings/public-setting/type-settings/index.js +0 -82
- package/es/stat-view/area-chart.js +0 -551
- package/es/stat-view/bar-chart.js +0 -582
- package/es/stat-view/base-chart.js +0 -132
- package/es/stat-view/basic-number-card.js +0 -201
- package/es/stat-view/combination-chart.js +0 -546
- package/es/stat-view/compare-chart.js +0 -483
- package/es/stat-view/completeness-chart.js +0 -390
- package/es/stat-view/custom-bar.js +0 -418
- package/es/stat-view/dashboard-chart.js +0 -266
- package/es/stat-view/heat-map.js +0 -463
- package/es/stat-view/horizontal-bar-chart.js +0 -562
- package/es/stat-view/line-chart.js +0 -518
- package/es/stat-view/map.js +0 -448
- package/es/stat-view/mirror.js +0 -275
- package/es/stat-view/pie-chart.js +0 -290
- package/es/stat-view/pivot-table/index.js +0 -196
- package/es/stat-view/pivot-table/one-dimension-table-no-numeric-columns.js +0 -156
- package/es/stat-view/pivot-table/one-dimension-table-with-numeric-columns.js +0 -176
- package/es/stat-view/pivot-table/pivot-table-display-name.js +0 -215
- package/es/stat-view/pivot-table/statistic-pivot-table.module.css +0 -132
- package/es/stat-view/pivot-table/two-dimension-table.js +0 -384
- package/es/stat-view/ring-chart.js +0 -392
- package/es/stat-view/scatter-chart.js +0 -306
- package/es/stat-view/treemap-chart.js +0 -253
- package/es/stat-view/trend-chart.js +0 -249
- package/es/stat-view/world-map.js +0 -431
- package/es/utils/basic-chart-utils.js +0 -29
- package/es/utils/cell-format.js +0 -115
- package/es/utils/collaborator.js +0 -50
- package/es/utils/color-utils.js +0 -134
- package/es/utils/column-utils.js +0 -110
- package/es/utils/column.js +0 -20
- package/es/utils/date-format.js +0 -71
- package/es/utils/map.js +0 -114
- package/es/utils/model.js +0 -19
- package/es/utils/row-utils.js +0 -134
- package/es/utils/search.js +0 -73
- package/es/utils/sql-utils.js +0 -359
- package/es/utils/stat-utils.js +0 -351
- package/es/utils/trend-utils.js +0 -135
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
.statistic-types-container {
|
|
2
|
-
position: relative;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.statistic-type-image-container {
|
|
6
|
-
padding: 0 12px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.statistic-type {
|
|
10
|
-
position: relative;
|
|
11
|
-
padding: 0 16px 16px 16px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.statistic-type::before {
|
|
15
|
-
content: '';
|
|
16
|
-
display: block;
|
|
17
|
-
width: 100%;
|
|
18
|
-
height: 20px;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.statistic-type-demo-chart-image {
|
|
22
|
-
width: 100%;
|
|
23
|
-
height: 125px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.statistic-type-title {
|
|
27
|
-
font-weight: 600;
|
|
28
|
-
font-size: 18px;
|
|
29
|
-
color: #212529;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.chart-categories-nav {
|
|
33
|
-
border-bottom: 1px solid #e9ecef;
|
|
34
|
-
background-color: #f9f9f9;
|
|
35
|
-
height: 50px;
|
|
36
|
-
box-sizing: border-box;
|
|
37
|
-
margin: 0;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.chart-cat-nav-item {
|
|
41
|
-
font-size: 14px;
|
|
42
|
-
color: #666;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.statistic-type-item {
|
|
46
|
-
height: 172px;
|
|
47
|
-
width: 250px;
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
border: 1px solid #dcdade;
|
|
50
|
-
border-radius: 4px;
|
|
51
|
-
box-shadow: 0 0 2px 0 rgba(0,0,0,.1);
|
|
52
|
-
margin: 20px 17px 0 0;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.statistic-type-item:hover {
|
|
56
|
-
border-color: #FFBF7F;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.statistic-type-item-selected,
|
|
60
|
-
.statistic-type-item-selected:hover {
|
|
61
|
-
border-color: #FF8000;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.statistic-type-description {
|
|
65
|
-
font-weight: 500;
|
|
66
|
-
font-size: 14px;
|
|
67
|
-
margin-top: 14px;
|
|
68
|
-
padding: 0 15px;
|
|
69
|
-
margin-bottom: 10px;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.chart-icon {
|
|
73
|
-
cursor: pointer;
|
|
74
|
-
color: #666666;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.chart-icon:not(.icon-highlight):hover {
|
|
78
|
-
color: #212529;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.icon-highlight {
|
|
82
|
-
color: #ff8000;
|
|
83
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
.statistic-types-dialog {
|
|
2
|
-
max-width: 1102px;
|
|
3
|
-
width: 1102px;
|
|
4
|
-
height: calc(100% - 56px);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.statistic-types-dialog .modal-content {
|
|
8
|
-
height: 100%;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.statistic-types-dialog .statistic-types-body {
|
|
12
|
-
padding: 0;
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _reactIntlUniversal = _interopRequireDefault(require("react-intl-universal"));
|
|
11
|
-
var _reactstrap = require("reactstrap");
|
|
12
|
-
var _chartSelector = _interopRequireDefault(require("../chart-addition-widgets/chart-selector"));
|
|
13
|
-
require("./index.css");
|
|
14
|
-
class StatisticTypesDialog extends _react.Component {
|
|
15
|
-
constructor(props) {
|
|
16
|
-
super(props);
|
|
17
|
-
this.onToggle = () => {
|
|
18
|
-
this.props.onToggle();
|
|
19
|
-
};
|
|
20
|
-
this.onSelectStatisticType = type => {
|
|
21
|
-
if (type === this.state.selectedType) return;
|
|
22
|
-
this.setState({
|
|
23
|
-
selectedType: type
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
this.onSubmit = () => {
|
|
27
|
-
const {
|
|
28
|
-
selectedType
|
|
29
|
-
} = this.state;
|
|
30
|
-
this.props.onChange(selectedType);
|
|
31
|
-
this.onToggle();
|
|
32
|
-
};
|
|
33
|
-
this.state = {
|
|
34
|
-
selectedType: props.type
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
render() {
|
|
38
|
-
const {
|
|
39
|
-
selectedType
|
|
40
|
-
} = this.state;
|
|
41
|
-
return /*#__PURE__*/_react.default.createElement(_reactstrap.Modal, {
|
|
42
|
-
isOpen: true,
|
|
43
|
-
toggle: this.onToggle,
|
|
44
|
-
className: "statistic-types-dialog",
|
|
45
|
-
zIndex: 1048
|
|
46
|
-
}, /*#__PURE__*/_react.default.createElement(_reactstrap.ModalHeader, {
|
|
47
|
-
toggle: this.onToggle
|
|
48
|
-
}, _reactIntlUniversal.default.get('Edit_type')), /*#__PURE__*/_react.default.createElement(_reactstrap.ModalBody, {
|
|
49
|
-
className: "statistic-types-body"
|
|
50
|
-
}, /*#__PURE__*/_react.default.createElement(_chartSelector.default, {
|
|
51
|
-
selectedType: selectedType,
|
|
52
|
-
addEditingChart: this.onSelectStatisticType
|
|
53
|
-
})), /*#__PURE__*/_react.default.createElement(_reactstrap.ModalFooter, null, /*#__PURE__*/_react.default.createElement(_reactstrap.Button, {
|
|
54
|
-
color: "secondary",
|
|
55
|
-
onClick: this.onToggle
|
|
56
|
-
}, _reactIntlUniversal.default.get('Cancel')), /*#__PURE__*/_react.default.createElement(_reactstrap.Button, {
|
|
57
|
-
color: "primary",
|
|
58
|
-
onClick: this.onSubmit
|
|
59
|
-
}, _reactIntlUniversal.default.get('Submit'))));
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
var _default = exports.default = StatisticTypesDialog;
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _reactstrap = require("reactstrap");
|
|
10
|
-
var _utils = require("../utils");
|
|
11
|
-
var _constants = require("../constants");
|
|
12
|
-
class DTablePopover extends _react.default.Component {
|
|
13
|
-
constructor() {
|
|
14
|
-
super(...arguments);
|
|
15
|
-
this.dtablePopoverRef = null;
|
|
16
|
-
this.isSelectOpen = false;
|
|
17
|
-
this.onHistoryState = e => {
|
|
18
|
-
e.preventDefault();
|
|
19
|
-
this.props.hideDTablePopover(e);
|
|
20
|
-
};
|
|
21
|
-
this.onKeyDown = e => {
|
|
22
|
-
const {
|
|
23
|
-
canHideDTablePopover,
|
|
24
|
-
hideDTablePopoverWithEsc
|
|
25
|
-
} = this.props;
|
|
26
|
-
if (e.keyCode === _constants.KeyCodes.Escape && typeof hideDTablePopoverWithEsc === 'function' && !this.isSelectOpen) {
|
|
27
|
-
e.preventDefault();
|
|
28
|
-
hideDTablePopoverWithEsc();
|
|
29
|
-
} else if (e.keyCode === _constants.KeyCodes.Enter) {
|
|
30
|
-
// Resolve the default behavior of the enter key when entering formulas is blocked
|
|
31
|
-
if (canHideDTablePopover) return;
|
|
32
|
-
e.stopImmediatePropagation();
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
this.setSelectStatus = status => {
|
|
36
|
-
this.isSelectOpen = status;
|
|
37
|
-
};
|
|
38
|
-
this.onMouseDown = e => {
|
|
39
|
-
const {
|
|
40
|
-
canHideDTablePopover
|
|
41
|
-
} = this.props;
|
|
42
|
-
if (!canHideDTablePopover) return;
|
|
43
|
-
if (this.dtablePopoverRef && e && (0, _utils.getEventClassName)(e).indexOf('popover') === -1 && !this.dtablePopoverRef.contains(e.target)) {
|
|
44
|
-
this.props.hideDTablePopover(e);
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
this.onPopoverInsideClick = e => {
|
|
48
|
-
e.stopPropagation();
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
componentDidMount() {
|
|
52
|
-
document.addEventListener('mousedown', this.onMouseDown);
|
|
53
|
-
document.addEventListener('keydown', this.onKeyDown);
|
|
54
|
-
window.addEventListener('popstate', this.onHistoryState);
|
|
55
|
-
this.unsubscribeOpenSelect = window.app.eventBus.subscribe(_constants.CommonEventTypes.OPEN_SELECT, this.setSelectStatus);
|
|
56
|
-
}
|
|
57
|
-
componentWillUnmount() {
|
|
58
|
-
document.removeEventListener('mousedown', this.onMouseDown);
|
|
59
|
-
document.removeEventListener('keydown', this.onKeyDown);
|
|
60
|
-
window.removeEventListener('popstate', this.onHistoryState);
|
|
61
|
-
this.unsubscribeOpenSelect();
|
|
62
|
-
}
|
|
63
|
-
render() {
|
|
64
|
-
const {
|
|
65
|
-
target,
|
|
66
|
-
boundariesElement,
|
|
67
|
-
innerClassName,
|
|
68
|
-
popoverClassName,
|
|
69
|
-
hideArrow,
|
|
70
|
-
modifiers,
|
|
71
|
-
placement
|
|
72
|
-
} = this.props;
|
|
73
|
-
let additionalProps = {};
|
|
74
|
-
if (boundariesElement) {
|
|
75
|
-
additionalProps.boundariesElement = boundariesElement;
|
|
76
|
-
}
|
|
77
|
-
return /*#__PURE__*/_react.default.createElement(_reactstrap.Popover, Object.assign({
|
|
78
|
-
placement: placement,
|
|
79
|
-
isOpen: true,
|
|
80
|
-
target: target,
|
|
81
|
-
fade: false,
|
|
82
|
-
hideArrow: hideArrow,
|
|
83
|
-
innerClassName: innerClassName,
|
|
84
|
-
className: popoverClassName,
|
|
85
|
-
modifiers: modifiers
|
|
86
|
-
}, additionalProps), /*#__PURE__*/_react.default.createElement("div", {
|
|
87
|
-
ref: ref => this.dtablePopoverRef = ref,
|
|
88
|
-
onClick: this.onPopoverInsideClick
|
|
89
|
-
}, this.props.children));
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
DTablePopover.defaultProps = {
|
|
93
|
-
placement: 'bottom-start',
|
|
94
|
-
hideArrow: true,
|
|
95
|
-
canHideDTablePopover: true
|
|
96
|
-
};
|
|
97
|
-
var _default = exports.default = DTablePopover;
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
-
var _utils = require("../utils");
|
|
12
|
-
class DtableSearchInput extends _react.Component {
|
|
13
|
-
constructor(props) {
|
|
14
|
-
super(props);
|
|
15
|
-
this.onCompositionStart = () => {
|
|
16
|
-
this.isInputtingChinese = true;
|
|
17
|
-
};
|
|
18
|
-
this.onChange = e => {
|
|
19
|
-
this.timer && clearTimeout(this.timer);
|
|
20
|
-
const {
|
|
21
|
-
onChange,
|
|
22
|
-
wait
|
|
23
|
-
} = this.props;
|
|
24
|
-
let text = e.target.value;
|
|
25
|
-
this.setState({
|
|
26
|
-
searchValue: text || ''
|
|
27
|
-
}, () => {
|
|
28
|
-
if (this.isInputtingChinese) return;
|
|
29
|
-
this.timer = setTimeout(() => {
|
|
30
|
-
onChange && onChange(this.state.searchValue.trim());
|
|
31
|
-
}, wait);
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
|
-
this.onCompositionEnd = e => {
|
|
35
|
-
this.isInputtingChinese = false;
|
|
36
|
-
this.onChange(e);
|
|
37
|
-
};
|
|
38
|
-
this.clearSearch = () => {
|
|
39
|
-
const {
|
|
40
|
-
clearValue
|
|
41
|
-
} = this.props;
|
|
42
|
-
this.setState({
|
|
43
|
-
searchValue: ''
|
|
44
|
-
}, () => {
|
|
45
|
-
clearValue && clearValue();
|
|
46
|
-
});
|
|
47
|
-
};
|
|
48
|
-
this.setFocus = isSelectAllText => {
|
|
49
|
-
if (this.inputRef === document.activeElement) return;
|
|
50
|
-
this.inputRef.focus();
|
|
51
|
-
if (isSelectAllText) {
|
|
52
|
-
const txtLength = this.state.searchValue.length;
|
|
53
|
-
this.inputRef.setSelectionRange(0, txtLength);
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
this.renderClear = () => {
|
|
57
|
-
const {
|
|
58
|
-
isClearable,
|
|
59
|
-
clearClassName,
|
|
60
|
-
components = {}
|
|
61
|
-
} = this.props;
|
|
62
|
-
const {
|
|
63
|
-
searchValue
|
|
64
|
-
} = this.state;
|
|
65
|
-
if (!isClearable || !searchValue) return null;
|
|
66
|
-
const {
|
|
67
|
-
ClearIndicator
|
|
68
|
-
} = components;
|
|
69
|
-
if ( /*#__PURE__*/_react.default.isValidElement(ClearIndicator)) {
|
|
70
|
-
return /*#__PURE__*/_react.default.cloneElement(ClearIndicator, {
|
|
71
|
-
clearValue: this.clearSearch
|
|
72
|
-
});
|
|
73
|
-
} else if ((0, _utils.isFunction)(ClearIndicator)) {
|
|
74
|
-
return /*#__PURE__*/_react.default.createElement(ClearIndicator, {
|
|
75
|
-
clearValue: this.clearSearch
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
return /*#__PURE__*/_react.default.createElement("i", {
|
|
79
|
-
className: (0, _classnames.default)('search-text-clear input-icon-addon', clearClassName),
|
|
80
|
-
onClick: this.clearSearch
|
|
81
|
-
}, "\xD7");
|
|
82
|
-
};
|
|
83
|
-
this.state = {
|
|
84
|
-
searchValue: props.value
|
|
85
|
-
};
|
|
86
|
-
this.isInputtingChinese = false;
|
|
87
|
-
this.timer = null;
|
|
88
|
-
this.inputRef = null;
|
|
89
|
-
}
|
|
90
|
-
componentWillReceiveProps(nextProps) {
|
|
91
|
-
if (nextProps.value !== this.props.value) {
|
|
92
|
-
this.setState({
|
|
93
|
-
searchValue: nextProps.value
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
componentWillUnmount() {
|
|
98
|
-
this.timer && clearTimeout(this.timer);
|
|
99
|
-
this.timer = null;
|
|
100
|
-
this.inputRef = null;
|
|
101
|
-
}
|
|
102
|
-
render() {
|
|
103
|
-
const {
|
|
104
|
-
placeholder,
|
|
105
|
-
autoFocus,
|
|
106
|
-
className,
|
|
107
|
-
onKeyDown,
|
|
108
|
-
disabled,
|
|
109
|
-
style
|
|
110
|
-
} = this.props;
|
|
111
|
-
const {
|
|
112
|
-
searchValue
|
|
113
|
-
} = this.state;
|
|
114
|
-
return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement("input", {
|
|
115
|
-
type: "text",
|
|
116
|
-
value: searchValue,
|
|
117
|
-
className: (0, _classnames.default)('form-control', className),
|
|
118
|
-
onChange: this.onChange,
|
|
119
|
-
autoFocus: autoFocus,
|
|
120
|
-
placeholder: placeholder,
|
|
121
|
-
onCompositionStart: this.onCompositionStart,
|
|
122
|
-
onCompositionEnd: this.onCompositionEnd,
|
|
123
|
-
onKeyDown: onKeyDown,
|
|
124
|
-
disabled: disabled,
|
|
125
|
-
style: style,
|
|
126
|
-
ref: ref => this.inputRef = ref
|
|
127
|
-
}), this.renderClear());
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
DtableSearchInput.defaultProps = {
|
|
131
|
-
wait: 100,
|
|
132
|
-
disabled: false,
|
|
133
|
-
value: ''
|
|
134
|
-
};
|
|
135
|
-
var _default = exports.default = DtableSearchInput;
|
package/es/components/index.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
Object.defineProperty(exports, "CommonAddTool", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () {
|
|
10
|
-
return _commonAddTool.default;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, "DTablePopover", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () {
|
|
16
|
-
return _dtablePopover.default;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports, "DtableSearchInput", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function () {
|
|
22
|
-
return _dtableSearchInput.default;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
Object.defineProperty(exports, "Loading", {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function () {
|
|
28
|
-
return _loading.default;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
Object.defineProperty(exports, "ModalPortal", {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function () {
|
|
34
|
-
return _modalPortal.default;
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
Object.defineProperty(exports, "NewTableDialog", {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
get: function () {
|
|
40
|
-
return _newTableDialog.default;
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
Object.defineProperty(exports, "SeaTableRadio", {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function () {
|
|
46
|
-
return _seatableRadio.default;
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
var _commonAddTool = _interopRequireDefault(require("./common-add-tool"));
|
|
50
|
-
var _dtablePopover = _interopRequireDefault(require("./dtable-popover"));
|
|
51
|
-
var _dtableSearchInput = _interopRequireDefault(require("./dtable-search-input"));
|
|
52
|
-
var _loading = _interopRequireDefault(require("./loading"));
|
|
53
|
-
var _modalPortal = _interopRequireDefault(require("./modal-portal"));
|
|
54
|
-
var _newTableDialog = _interopRequireDefault(require("./dialog/new-table-dialog"));
|
|
55
|
-
var _seatableRadio = _interopRequireDefault(require("./seatable-radio"));
|
package/es/components/loading.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
function Loading() {
|
|
10
|
-
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
11
|
-
return /*#__PURE__*/_react.default.createElement("span", Object.assign({}, props, {
|
|
12
|
-
className: "loading-icon loading-tip"
|
|
13
|
-
}));
|
|
14
|
-
}
|
|
15
|
-
var _default = exports.default = Loading;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _reactDom = _interopRequireDefault(require("react-dom"));
|
|
10
|
-
const modalRoot = document.getElementById('modal-wrapper');
|
|
11
|
-
class ModalPortal extends _react.default.Component {
|
|
12
|
-
constructor(props) {
|
|
13
|
-
super(props);
|
|
14
|
-
this.el = document.createElement('div');
|
|
15
|
-
}
|
|
16
|
-
componentDidMount() {
|
|
17
|
-
modalRoot.appendChild(this.el);
|
|
18
|
-
}
|
|
19
|
-
componentWillUnmount() {
|
|
20
|
-
modalRoot.removeChild(this.el);
|
|
21
|
-
}
|
|
22
|
-
render() {
|
|
23
|
-
return /*#__PURE__*/_reactDom.default.createPortal(this.props.children, this.el);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
var _default = exports.default = ModalPortal;
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
-
var _reactIntlUniversal = _interopRequireDefault(require("react-intl-universal"));
|
|
12
|
-
var _ruleFilters = _interopRequireDefault(require("./rule-filters"));
|
|
13
|
-
var _colorSelectorPopover = _interopRequireDefault(require("../color-selector-popover"));
|
|
14
|
-
var _index = require("../../index");
|
|
15
|
-
class ColorRule extends _react.Component {
|
|
16
|
-
constructor(props) {
|
|
17
|
-
super(props);
|
|
18
|
-
this.onColorPopoverToggle = event => {
|
|
19
|
-
event.stopPropagation();
|
|
20
|
-
event.nativeEvent.stopImmediatePropagation();
|
|
21
|
-
this.setState({
|
|
22
|
-
isColorPopoverShow: !this.state.isColorPopoverShow
|
|
23
|
-
});
|
|
24
|
-
};
|
|
25
|
-
this.hideColorPopover = () => {
|
|
26
|
-
this.setState({
|
|
27
|
-
isColorPopoverShow: false
|
|
28
|
-
});
|
|
29
|
-
};
|
|
30
|
-
this.onSelectColor = color => {
|
|
31
|
-
const {
|
|
32
|
-
rule,
|
|
33
|
-
ruleIndex
|
|
34
|
-
} = this.props;
|
|
35
|
-
const updatedRule = Object.assign({}, rule, {
|
|
36
|
-
color
|
|
37
|
-
});
|
|
38
|
-
this.props.updateRule(ruleIndex, updatedRule);
|
|
39
|
-
};
|
|
40
|
-
this.deleteRule = e => {
|
|
41
|
-
e.nativeEvent.stopImmediatePropagation();
|
|
42
|
-
e.stopPropagation();
|
|
43
|
-
const {
|
|
44
|
-
ruleIndex
|
|
45
|
-
} = this.props;
|
|
46
|
-
this.props.deleteRule(ruleIndex);
|
|
47
|
-
};
|
|
48
|
-
this.addFilter = () => {
|
|
49
|
-
const {
|
|
50
|
-
colorRuleTypes,
|
|
51
|
-
rule
|
|
52
|
-
} = this.props;
|
|
53
|
-
const {
|
|
54
|
-
filters
|
|
55
|
-
} = rule;
|
|
56
|
-
const defaultFilter = this.props.generateDefaultFilter(colorRuleTypes[0]);
|
|
57
|
-
if (!defaultFilter || filters.length >= 8) return;
|
|
58
|
-
let updatedFilters = [...filters];
|
|
59
|
-
updatedFilters.push(defaultFilter);
|
|
60
|
-
this.updateFilters(updatedFilters);
|
|
61
|
-
};
|
|
62
|
-
this.updateFilter = (filterIndex, updatedFilter) => {
|
|
63
|
-
const {
|
|
64
|
-
rule
|
|
65
|
-
} = this.props;
|
|
66
|
-
const {
|
|
67
|
-
filters
|
|
68
|
-
} = rule;
|
|
69
|
-
let updatedFilters = [...filters];
|
|
70
|
-
updatedFilters[filterIndex] = updatedFilter;
|
|
71
|
-
this.updateFilters(updatedFilters);
|
|
72
|
-
};
|
|
73
|
-
this.modifyFilterConjunction = filterConjunction => {
|
|
74
|
-
const {
|
|
75
|
-
rule,
|
|
76
|
-
ruleIndex
|
|
77
|
-
} = this.props;
|
|
78
|
-
const updatedRule = Object.assign({}, rule, {
|
|
79
|
-
filter_conjunction: filterConjunction
|
|
80
|
-
});
|
|
81
|
-
this.props.updateRule(ruleIndex, updatedRule);
|
|
82
|
-
};
|
|
83
|
-
this.updateFilters = filters => {
|
|
84
|
-
const {
|
|
85
|
-
rule,
|
|
86
|
-
ruleIndex
|
|
87
|
-
} = this.props;
|
|
88
|
-
if (filters.length === 0) {
|
|
89
|
-
this.props.deleteRule(ruleIndex);
|
|
90
|
-
} else {
|
|
91
|
-
const updatedRule = Object.assign({}, rule, {
|
|
92
|
-
filters
|
|
93
|
-
});
|
|
94
|
-
this.props.updateRule(ruleIndex, updatedRule);
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
this.onMouseDown = e => {
|
|
98
|
-
e.stopPropagation();
|
|
99
|
-
e.nativeEvent.stopImmediatePropagation();
|
|
100
|
-
};
|
|
101
|
-
this.state = {
|
|
102
|
-
isColorPopoverShow: false
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
render() {
|
|
106
|
-
const {
|
|
107
|
-
labelColorConfigs,
|
|
108
|
-
colorRuleTypes,
|
|
109
|
-
rule,
|
|
110
|
-
isEditing,
|
|
111
|
-
ruleIndex,
|
|
112
|
-
ruleName
|
|
113
|
-
} = this.props;
|
|
114
|
-
const {
|
|
115
|
-
color,
|
|
116
|
-
filter_conjunction,
|
|
117
|
-
filters
|
|
118
|
-
} = rule;
|
|
119
|
-
const target = "row-color-rule-".concat(ruleIndex);
|
|
120
|
-
const selectedColorConfig = this.props.getColorConfigByColor(color);
|
|
121
|
-
const ruleTitle = ruleName || _reactIntlUniversal.default.get('Define_rule');
|
|
122
|
-
const canAddFilter = filters.length < 8;
|
|
123
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
124
|
-
className: (0, _classnames.default)('statistic-color-rule-item', {
|
|
125
|
-
'editing': isEditing
|
|
126
|
-
})
|
|
127
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
128
|
-
className: "d-flex justify-content-between pr-4"
|
|
129
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
130
|
-
className: "statistic-color-rule-title",
|
|
131
|
-
onClick: () => this.props.setEditingRuleIndex(ruleIndex)
|
|
132
|
-
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
133
|
-
ref: ref => this.rowColorRule = ref,
|
|
134
|
-
className: "statistic-color-rule-dropdown",
|
|
135
|
-
style: {
|
|
136
|
-
backgroundColor: color
|
|
137
|
-
},
|
|
138
|
-
onMouseDown: this.onMouseDown,
|
|
139
|
-
onClick: this.onColorPopoverToggle,
|
|
140
|
-
id: target
|
|
141
|
-
}, /*#__PURE__*/_react.default.createElement("i", {
|
|
142
|
-
className: "dtable-font dtable-icon-drop-down",
|
|
143
|
-
style: {
|
|
144
|
-
color: selectedColorConfig.text_color
|
|
145
|
-
}
|
|
146
|
-
}), this.state.isColorPopoverShow && /*#__PURE__*/_react.default.createElement(_colorSelectorPopover.default, {
|
|
147
|
-
placement: "bottom-start",
|
|
148
|
-
hideArrow: false,
|
|
149
|
-
target: target,
|
|
150
|
-
selectedColor: color,
|
|
151
|
-
colorConfigs: labelColorConfigs,
|
|
152
|
-
toggle: this.hideColorPopover,
|
|
153
|
-
onSelectColor: this.onSelectColor
|
|
154
|
-
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
155
|
-
className: (0, _classnames.default)('statistic-color-rule-name text-truncate', {
|
|
156
|
-
'invalid': !!ruleName
|
|
157
|
-
}),
|
|
158
|
-
title: ruleTitle
|
|
159
|
-
}, ruleTitle)), /*#__PURE__*/_react.default.createElement("span", {
|
|
160
|
-
className: "statistic-delete-color-rule"
|
|
161
|
-
}, /*#__PURE__*/_react.default.createElement("i", {
|
|
162
|
-
className: "dtable-font dtable-icon-delete",
|
|
163
|
-
onClick: this.deleteRule
|
|
164
|
-
}))), isEditing && /*#__PURE__*/_react.default.createElement("div", {
|
|
165
|
-
className: "statistic-color-rule-filters-wrapper"
|
|
166
|
-
}, /*#__PURE__*/_react.default.createElement(_ruleFilters.default, {
|
|
167
|
-
filterTypes: colorRuleTypes,
|
|
168
|
-
filters: rule.filters,
|
|
169
|
-
filterConjunction: filter_conjunction,
|
|
170
|
-
getFilterConfigByType: this.props.getFilterConfigByType,
|
|
171
|
-
modifyConjunction: this.modifyFilterConjunction,
|
|
172
|
-
updateFilters: this.updateFilters
|
|
173
|
-
}), /*#__PURE__*/_react.default.createElement(_index.CommonAddTool, {
|
|
174
|
-
className: (0, _classnames.default)('statistic-btn-add-color-rule-filter', {
|
|
175
|
-
'disabled': !canAddFilter
|
|
176
|
-
}),
|
|
177
|
-
callBack: this.addFilter,
|
|
178
|
-
footerName: _reactIntlUniversal.default.get('Add_condition'),
|
|
179
|
-
addIconClassName: "popover-add-icon"
|
|
180
|
-
})));
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
var _default = exports.default = ColorRule;
|