sea-chart 1.1.134 → 1.1.136
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/dist/components/color-popover/color-rules/rule-filters/index.css +1 -46
- package/dist/components/color-popover/color-rules-popover.css +1 -3
- package/dist/components/common-add-tool/index.css +1 -3
- package/dist/components/common-add-tool/index.js +1 -1
- package/dist/components/drill-down-settings/drill-down-fields-popover/index.js +2 -1
- package/dist/components/dtable-popover/index.js +3 -2
- package/dist/components/popover/hide-column-popover/hide-column-popover.js +2 -1
- package/dist/components/popover/sort-popover/sort-popover.css +1 -1
- package/dist/components/popover/sort-popover/sort-popover.js +9 -2
- package/package.json +3 -3
|
@@ -82,39 +82,6 @@
|
|
|
82
82
|
color: #fff;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
.statistic-color-rule-filters .filter-term input {
|
|
86
|
-
display: flex;
|
|
87
|
-
width: 100%;
|
|
88
|
-
height: 30px;
|
|
89
|
-
background-color: #ffffff;
|
|
90
|
-
padding-left: 8px;
|
|
91
|
-
padding-right: 8px;
|
|
92
|
-
outline: none;
|
|
93
|
-
border-radius: 3px;
|
|
94
|
-
font-size: 0.875rem;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.statistic-color-rule-filters .custom-select:hover,
|
|
98
|
-
.statistic-color-rule-filters .filter-term input:hover {
|
|
99
|
-
border-color: rgb(179, 179, 179);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.statistic-color-rule-filters .filter-term input.disabled:hover {
|
|
103
|
-
border-color: rgba(0, 40, 100, 0.12);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.statistic-color-rule-filters .filter-term input:hover:focus {
|
|
107
|
-
border-color: #1991eb;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.statistic-color-rule-filters .filter-term input:focus {
|
|
111
|
-
color: #495057;
|
|
112
|
-
background-color: #fff;
|
|
113
|
-
border-color: #1991eb;
|
|
114
|
-
outline: 0;
|
|
115
|
-
box-shadow: 0 0 0 2px rgba(70, 127, 207, 0.25);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
85
|
.statistic-color-rule-filters .filter-term .date-picker-container input:focus {
|
|
119
86
|
color: #495057;
|
|
120
87
|
background-color: #fff;
|
|
@@ -193,18 +160,6 @@
|
|
|
193
160
|
|
|
194
161
|
.filter-header-icon .dtable-font {
|
|
195
162
|
font-size: 14px;
|
|
196
|
-
color:
|
|
163
|
+
color: var(--bs-icon-secondary-color);
|
|
197
164
|
cursor: default;
|
|
198
165
|
}
|
|
199
|
-
|
|
200
|
-
.statistic-color-rule-filters .custom-select,
|
|
201
|
-
.statistic-color-rule-filters .filter-term,
|
|
202
|
-
.statistic-color-rule-filters .filter-term input,
|
|
203
|
-
.statistic-color-rule-filters .filter-item .condition>div,
|
|
204
|
-
.statistic-color-rule-filters .filter-item .filter-term input:focus {
|
|
205
|
-
height: 30px;
|
|
206
|
-
line-height: 30px;
|
|
207
|
-
background-color: #f5f5f5;
|
|
208
|
-
border-color: rgba(0, 40, 100, 0.12);
|
|
209
|
-
box-shadow: unset;
|
|
210
|
-
}
|
|
@@ -24,11 +24,9 @@
|
|
|
24
24
|
height: 40px;
|
|
25
25
|
font-size: 14px;
|
|
26
26
|
font-weight: 500;
|
|
27
|
-
border-top: 1px solid
|
|
27
|
+
border-top: 1px solid var(--bs-border-secondary-color);
|
|
28
28
|
background: #fff;
|
|
29
29
|
padding: 0 1rem;
|
|
30
|
-
border-bottom-left-radius: 3px;
|
|
31
|
-
border-bottom-right-radius: 3px;
|
|
32
30
|
position: relative;
|
|
33
31
|
}
|
|
34
32
|
|
|
@@ -4,11 +4,9 @@
|
|
|
4
4
|
height: 40px;
|
|
5
5
|
font-size: 14px;
|
|
6
6
|
font-weight: 500;
|
|
7
|
-
border-top: 1px solid
|
|
7
|
+
border-top: 1px solid var(--bs-border-secondary-color);
|
|
8
8
|
background: #fff;
|
|
9
9
|
padding: 0 1rem;
|
|
10
|
-
border-bottom-left-radius: 3px;
|
|
11
|
-
border-bottom-right-radius: 3px;
|
|
12
10
|
position: relative;
|
|
13
11
|
}
|
|
14
12
|
|
|
@@ -8,7 +8,7 @@ function CommonAddTool(props) {
|
|
|
8
8
|
addIconClassName
|
|
9
9
|
} = props;
|
|
10
10
|
return /*#__PURE__*/React.createElement("div", {
|
|
11
|
-
className: `add-item-btn ${className ? className : ''}`,
|
|
11
|
+
className: `dtable-popover-footer add-item-btn ${className ? className : ''}`,
|
|
12
12
|
onClick: e => {
|
|
13
13
|
callBack(e);
|
|
14
14
|
}
|
|
@@ -61,7 +61,8 @@ export default function DrillDownFieldsPopover(_ref) {
|
|
|
61
61
|
boundariesElement: document.body
|
|
62
62
|
}, /*#__PURE__*/React.createElement("div", {
|
|
63
63
|
ref: popoverRef,
|
|
64
|
-
onClick: onPopoverInsideClick
|
|
64
|
+
onClick: onPopoverInsideClick,
|
|
65
|
+
className: "dtable-popover-container"
|
|
65
66
|
}, /*#__PURE__*/React.createElement("div", {
|
|
66
67
|
className: styles['drill-down-fields-container']
|
|
67
68
|
}, /*#__PURE__*/React.createElement("table", {
|
|
@@ -76,11 +76,12 @@ class DTablePopover extends React.Component {
|
|
|
76
76
|
fade: false,
|
|
77
77
|
hideArrow: hideArrow,
|
|
78
78
|
innerClassName: innerClassName,
|
|
79
|
-
className: popoverClassName
|
|
79
|
+
className: `dtable-popover ${popoverClassName}`,
|
|
80
80
|
modifiers: modifiers
|
|
81
81
|
}, additionalProps), /*#__PURE__*/React.createElement("div", {
|
|
82
82
|
ref: ref => this.dtablePopoverRef = ref,
|
|
83
|
-
onClick: this.onPopoverInsideClick
|
|
83
|
+
onClick: this.onPopoverInsideClick,
|
|
84
|
+
className: "dtable-popover-container"
|
|
84
85
|
}, this.props.children));
|
|
85
86
|
}
|
|
86
87
|
}
|
|
@@ -162,7 +162,8 @@ class HideColumnPopover extends React.Component {
|
|
|
162
162
|
boundariesElement: document.body
|
|
163
163
|
}, /*#__PURE__*/React.createElement("div", {
|
|
164
164
|
ref: ref => this.popoverRef = ref,
|
|
165
|
-
onClick: this.onPopoverInsideClick
|
|
165
|
+
onClick: this.onPopoverInsideClick,
|
|
166
|
+
className: "dtable-popover-container"
|
|
166
167
|
}, /*#__PURE__*/React.createElement("div", {
|
|
167
168
|
className: `field-settings ${isEmpty ? 'empty' : ''}`
|
|
168
169
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -167,6 +167,9 @@ class SortPopover extends Component {
|
|
|
167
167
|
readonly
|
|
168
168
|
} = this.props;
|
|
169
169
|
let selectedColumn = {
|
|
170
|
+
value: {
|
|
171
|
+
column
|
|
172
|
+
},
|
|
170
173
|
label: /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("span", {
|
|
171
174
|
className: "filter-header-icon"
|
|
172
175
|
}, /*#__PURE__*/React.createElement(_DTableColumnIcon, {
|
|
@@ -179,6 +182,9 @@ class SortPopover extends Component {
|
|
|
179
182
|
};
|
|
180
183
|
let selectedTypeShow = sort.sort_type;
|
|
181
184
|
let selectedSortType = selectedTypeShow && {
|
|
185
|
+
value: {
|
|
186
|
+
sortType: selectedTypeShow
|
|
187
|
+
},
|
|
182
188
|
label: /*#__PURE__*/React.createElement("span", {
|
|
183
189
|
className: "select-option-name"
|
|
184
190
|
}, intl.get(selectedTypeShow))
|
|
@@ -261,7 +267,8 @@ class SortPopover extends Component {
|
|
|
261
267
|
boundariesElement: document.body
|
|
262
268
|
}, /*#__PURE__*/React.createElement("div", {
|
|
263
269
|
ref: ref => this.sortPopoverRef = ref,
|
|
264
|
-
onClick: this.onPopoverInsideClick
|
|
270
|
+
onClick: this.onPopoverInsideClick,
|
|
271
|
+
className: "dtable-popover-container"
|
|
265
272
|
}, /*#__PURE__*/React.createElement("div", {
|
|
266
273
|
className: `sorts-list ${isEmpty ? 'empty-sorts-container' : ''}`
|
|
267
274
|
}, isEmpty ? /*#__PURE__*/React.createElement("div", {
|
|
@@ -272,7 +279,7 @@ class SortPopover extends Component {
|
|
|
272
279
|
className: "popover-add-tool",
|
|
273
280
|
addIconClassName: "popover-add-icon"
|
|
274
281
|
}), this.isNeedSubmit() && !readonly && /*#__PURE__*/React.createElement("div", {
|
|
275
|
-
className: "sort-popover-footer"
|
|
282
|
+
className: "sort-popover-footer dtable-popover-footer"
|
|
276
283
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
277
284
|
className: "mr-2",
|
|
278
285
|
onClick: this.onClosePopover
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sea-chart",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.136",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@antv/data-set": "0.11.8",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@antv/scale": "0.3.14",
|
|
27
27
|
"d3-composite-projections": "~1.4.*",
|
|
28
|
-
"dtable-ui-component": "~
|
|
28
|
+
"dtable-ui-component": "~7.0.*",
|
|
29
29
|
"dtable-utils": "~5.0.*",
|
|
30
30
|
"prop-types": "15.8.1",
|
|
31
31
|
"react": "^18.3.1",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"dotenv": "6.2.0",
|
|
103
103
|
"dotenv-expand": "5.1.0",
|
|
104
104
|
"dtable-store": "~6.0.11",
|
|
105
|
-
"dtable-ui-component": "
|
|
105
|
+
"dtable-ui-component": "7.0.2",
|
|
106
106
|
"ejs": "3.1.10",
|
|
107
107
|
"eslint": "^6.8.0",
|
|
108
108
|
"eslint-config-react-app": "^5.0.2",
|