@epam/uui 5.0.0 → 5.0.1
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/assets/styles/buttonLayout.scss +67 -67
- package/assets/styles/controlLayout.scss +28 -28
- package/assets/styles/dnd.scss +9 -9
- package/assets/styles/effects.scss +10 -10
- package/assets/styles/icons.scss +19 -19
- package/assets/styles/index.scss +8 -8
- package/assets/styles/inputs.scss +70 -70
- package/assets/styles/text-size.scss +37 -37
- package/assets/styles/typography.scss +163 -163
- package/components/filters/{FilterDataPickerBody.d.ts → FilterDatePickerBody.d.ts} +2 -2
- package/components/filters/{FilterDataPickerBody.d.ts.map → FilterDatePickerBody.d.ts.map} +1 -1
- package/components/filters/FilterPanelItemToggler.d.ts.map +1 -1
- package/components/filters/FilterPickerBody.d.ts +1 -0
- package/components/filters/FilterPickerBody.d.ts.map +1 -1
- package/components/filters/FilterRangeDatePickerBody.d.ts.map +1 -1
- package/components/filters/FiltersPanel.d.ts +1 -0
- package/components/filters/FiltersPanel.d.ts.map +1 -1
- package/components/filters/FiltersPanelItem.d.ts +1 -0
- package/components/filters/FiltersPanelItem.d.ts.map +1 -1
- package/i18n.d.ts +0 -1
- package/i18n.d.ts.map +1 -1
- package/index.esm.js +461 -440
- package/index.esm.js.map +1 -1
- package/index.js +461 -440
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/readme.md +4 -4
- package/stats.html +19 -1
- package/styles.css +41 -36
- package/styles.css.map +1 -1
package/index.esm.js
CHANGED
|
@@ -7,335 +7,353 @@ import cx from 'classnames';
|
|
|
7
7
|
import FocusLock from 'react-focus-lock';
|
|
8
8
|
import sortBy from 'lodash.sortby';
|
|
9
9
|
|
|
10
|
-
var _path$
|
|
11
|
-
function _extends$
|
|
10
|
+
var _path$12;
|
|
11
|
+
function _extends$15() { _extends$15 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$15.apply(this, arguments); }
|
|
12
12
|
var SvgBtnCross12 = function SvgBtnCross12(props, ref) {
|
|
13
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
13
|
+
return /*#__PURE__*/React.createElement("svg", _extends$15({
|
|
14
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15
15
|
width: 12,
|
|
16
16
|
height: 12,
|
|
17
17
|
viewBox: "0 0 12 12",
|
|
18
18
|
ref: ref
|
|
19
|
-
}, props), _path$
|
|
19
|
+
}, props), _path$12 || (_path$12 = /*#__PURE__*/React.createElement("path", {
|
|
20
20
|
fillRule: "evenodd",
|
|
21
21
|
d: "M9.5 3.205 8.795 2.5 6 5.295 3.205 2.5l-.705.705L5.295 6 2.5 8.795l.705.705L6 6.705 8.795 9.5l.705-.705L6.705 6z"
|
|
22
22
|
})));
|
|
23
23
|
};
|
|
24
|
-
var ForwardRef$
|
|
24
|
+
var ForwardRef$15 = /*#__PURE__*/forwardRef(SvgBtnCross12);
|
|
25
25
|
|
|
26
|
-
var _path$
|
|
27
|
-
function _extends$
|
|
26
|
+
var _path$11;
|
|
27
|
+
function _extends$14() { _extends$14 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$14.apply(this, arguments); }
|
|
28
28
|
var SvgBtnCross18 = function SvgBtnCross18(props, ref) {
|
|
29
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
29
|
+
return /*#__PURE__*/React.createElement("svg", _extends$14({
|
|
30
30
|
xmlns: "http://www.w3.org/2000/svg",
|
|
31
31
|
width: 18,
|
|
32
32
|
height: 18,
|
|
33
33
|
viewBox: "0 0 18 18",
|
|
34
34
|
ref: ref
|
|
35
|
-
}, props), _path$
|
|
35
|
+
}, props), _path$11 || (_path$11 = /*#__PURE__*/React.createElement("path", {
|
|
36
36
|
fillRule: "evenodd",
|
|
37
37
|
d: "M14.25 4.808 13.193 3.75 9 7.942 4.808 3.75 3.75 4.808 7.942 9 3.75 13.193l1.058 1.057L9 10.057l4.193 4.193 1.057-1.057L10.057 9z"
|
|
38
38
|
})));
|
|
39
39
|
};
|
|
40
|
-
var ForwardRef$
|
|
40
|
+
var ForwardRef$14 = /*#__PURE__*/forwardRef(SvgBtnCross18);
|
|
41
41
|
|
|
42
|
-
var _path
|
|
43
|
-
function _extends$
|
|
42
|
+
var _path$10;
|
|
43
|
+
function _extends$13() { _extends$13 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$13.apply(this, arguments); }
|
|
44
44
|
var SvgBtnCross24 = function SvgBtnCross24(props, ref) {
|
|
45
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
45
|
+
return /*#__PURE__*/React.createElement("svg", _extends$13({
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg",
|
|
47
47
|
width: 24,
|
|
48
48
|
height: 24,
|
|
49
49
|
viewBox: "0 0 24 24",
|
|
50
50
|
ref: ref
|
|
51
|
-
}, props), _path
|
|
51
|
+
}, props), _path$10 || (_path$10 = /*#__PURE__*/React.createElement("path", {
|
|
52
52
|
fillRule: "evenodd",
|
|
53
53
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
54
54
|
})));
|
|
55
55
|
};
|
|
56
|
-
var ForwardRef$
|
|
56
|
+
var ForwardRef$13 = /*#__PURE__*/forwardRef(SvgBtnCross24);
|
|
57
57
|
|
|
58
|
-
var _path
|
|
59
|
-
function _extends$
|
|
58
|
+
var _path$$;
|
|
59
|
+
function _extends$12() { _extends$12 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$12.apply(this, arguments); }
|
|
60
60
|
var SvgFoldingArrow12 = function SvgFoldingArrow12(props, ref) {
|
|
61
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
61
|
+
return /*#__PURE__*/React.createElement("svg", _extends$12({
|
|
62
62
|
xmlns: "http://www.w3.org/2000/svg",
|
|
63
63
|
width: 12,
|
|
64
64
|
height: 12,
|
|
65
65
|
viewBox: "0 0 12 12",
|
|
66
66
|
ref: ref
|
|
67
|
-
}, props), _path
|
|
67
|
+
}, props), _path$$ || (_path$$ = /*#__PURE__*/React.createElement("path", {
|
|
68
68
|
fillRule: "evenodd",
|
|
69
69
|
d: "M8.295 4.295 6 6.585l-2.295-2.29L3 5l3 3 3-3z"
|
|
70
70
|
})));
|
|
71
71
|
};
|
|
72
|
-
var ForwardRef$
|
|
72
|
+
var ForwardRef$12 = /*#__PURE__*/forwardRef(SvgFoldingArrow12);
|
|
73
73
|
|
|
74
|
-
var _path$
|
|
75
|
-
function _extends$
|
|
74
|
+
var _path$_;
|
|
75
|
+
function _extends$11() { _extends$11 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$11.apply(this, arguments); }
|
|
76
76
|
var SvgFoldingArrow18 = function SvgFoldingArrow18(props, ref) {
|
|
77
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
77
|
+
return /*#__PURE__*/React.createElement("svg", _extends$11({
|
|
78
78
|
xmlns: "http://www.w3.org/2000/svg",
|
|
79
79
|
width: 18,
|
|
80
80
|
height: 18,
|
|
81
81
|
viewBox: "0 0 18 18",
|
|
82
82
|
ref: ref
|
|
83
|
-
}, props), _path$
|
|
83
|
+
}, props), _path$_ || (_path$_ = /*#__PURE__*/React.createElement("path", {
|
|
84
84
|
fillRule: "evenodd",
|
|
85
85
|
d: "M12.443 6.442 9 9.877 5.558 6.442 4.5 7.5 9 12l4.5-4.5z"
|
|
86
86
|
})));
|
|
87
87
|
};
|
|
88
|
-
var ForwardRef$
|
|
88
|
+
var ForwardRef$11 = /*#__PURE__*/forwardRef(SvgFoldingArrow18);
|
|
89
89
|
|
|
90
|
-
var _path$
|
|
91
|
-
function _extends
|
|
90
|
+
var _path$Z;
|
|
91
|
+
function _extends$10() { _extends$10 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$10.apply(this, arguments); }
|
|
92
92
|
var SvgFoldingArrow24 = function SvgFoldingArrow24(props, ref) {
|
|
93
|
-
return /*#__PURE__*/React.createElement("svg", _extends
|
|
93
|
+
return /*#__PURE__*/React.createElement("svg", _extends$10({
|
|
94
94
|
xmlns: "http://www.w3.org/2000/svg",
|
|
95
95
|
width: 24,
|
|
96
96
|
height: 24,
|
|
97
97
|
viewBox: "0 0 24 24",
|
|
98
98
|
ref: ref
|
|
99
|
-
}, props), _path$
|
|
99
|
+
}, props), _path$Z || (_path$Z = /*#__PURE__*/React.createElement("path", {
|
|
100
100
|
fillRule: "evenodd",
|
|
101
101
|
d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
|
|
102
102
|
})));
|
|
103
103
|
};
|
|
104
|
-
var ForwardRef
|
|
104
|
+
var ForwardRef$10 = /*#__PURE__*/forwardRef(SvgFoldingArrow24);
|
|
105
105
|
|
|
106
|
-
var _path$
|
|
107
|
-
function _extends
|
|
106
|
+
var _path$Y;
|
|
107
|
+
function _extends$$() { _extends$$ = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$$.apply(this, arguments); }
|
|
108
108
|
var SvgAccept12 = function SvgAccept12(props, ref) {
|
|
109
|
-
return /*#__PURE__*/React.createElement("svg", _extends
|
|
109
|
+
return /*#__PURE__*/React.createElement("svg", _extends$$({
|
|
110
110
|
xmlns: "http://www.w3.org/2000/svg",
|
|
111
111
|
width: 12,
|
|
112
112
|
height: 12,
|
|
113
113
|
viewBox: "0 0 12 12",
|
|
114
114
|
ref: ref
|
|
115
|
-
}, props), _path$
|
|
115
|
+
}, props), _path$Y || (_path$Y = /*#__PURE__*/React.createElement("path", {
|
|
116
116
|
fillRule: "evenodd",
|
|
117
117
|
d: "M4.846 6.8 9.462 2 11 3.6 4.846 10l-.77-.8L1 6l1.538-1.6 2.308 2.4z"
|
|
118
118
|
})));
|
|
119
119
|
};
|
|
120
|
-
var ForwardRef
|
|
120
|
+
var ForwardRef$$ = /*#__PURE__*/forwardRef(SvgAccept12);
|
|
121
121
|
|
|
122
|
-
var _path$
|
|
123
|
-
function _extends$
|
|
122
|
+
var _path$X;
|
|
123
|
+
function _extends$_() { _extends$_ = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$_.apply(this, arguments); }
|
|
124
124
|
var SvgAccept18 = function SvgAccept18(props, ref) {
|
|
125
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
125
|
+
return /*#__PURE__*/React.createElement("svg", _extends$_({
|
|
126
126
|
xmlns: "http://www.w3.org/2000/svg",
|
|
127
127
|
width: 18,
|
|
128
128
|
height: 18,
|
|
129
129
|
viewBox: "0 0 18 18",
|
|
130
130
|
ref: ref
|
|
131
|
-
}, props), _path$
|
|
131
|
+
}, props), _path$X || (_path$X = /*#__PURE__*/React.createElement("path", {
|
|
132
132
|
fillRule: "evenodd",
|
|
133
133
|
d: "M7.136 11.91 4.034 8.776 3 9.821 7.136 14 16 5.045 14.966 4z"
|
|
134
134
|
})));
|
|
135
135
|
};
|
|
136
|
-
var ForwardRef$
|
|
136
|
+
var ForwardRef$_ = /*#__PURE__*/forwardRef(SvgAccept18);
|
|
137
137
|
|
|
138
|
-
var _path$
|
|
139
|
-
function _extends$
|
|
138
|
+
var _path$W;
|
|
139
|
+
function _extends$Z() { _extends$Z = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$Z.apply(this, arguments); }
|
|
140
140
|
var SvgAccept24 = function SvgAccept24(props, ref) {
|
|
141
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
141
|
+
return /*#__PURE__*/React.createElement("svg", _extends$Z({
|
|
142
142
|
xmlns: "http://www.w3.org/2000/svg",
|
|
143
143
|
width: 24,
|
|
144
144
|
height: 24,
|
|
145
145
|
viewBox: "0 0 24 24",
|
|
146
146
|
ref: ref
|
|
147
|
-
}, props), _path$
|
|
147
|
+
}, props), _path$W || (_path$W = /*#__PURE__*/React.createElement("path", {
|
|
148
148
|
fillRule: "evenodd",
|
|
149
149
|
d: "m9.727 16.075-4.295-4.388L4 13.149 9.727 19 22 6.463 20.568 5z"
|
|
150
150
|
})));
|
|
151
151
|
};
|
|
152
|
-
var ForwardRef$
|
|
152
|
+
var ForwardRef$Z = /*#__PURE__*/forwardRef(SvgAccept24);
|
|
153
153
|
|
|
154
|
-
var _path$
|
|
155
|
-
function _extends$
|
|
154
|
+
var _path$V;
|
|
155
|
+
function _extends$Y() { _extends$Y = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$Y.apply(this, arguments); }
|
|
156
156
|
var SvgSearch12 = function SvgSearch12(props, ref) {
|
|
157
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
157
|
+
return /*#__PURE__*/React.createElement("svg", _extends$Y({
|
|
158
158
|
xmlns: "http://www.w3.org/2000/svg",
|
|
159
159
|
width: 12,
|
|
160
160
|
height: 12,
|
|
161
161
|
viewBox: "0 0 12 12",
|
|
162
162
|
ref: ref
|
|
163
|
-
}, props), _path$
|
|
163
|
+
}, props), _path$V || (_path$V = /*#__PURE__*/React.createElement("path", {
|
|
164
164
|
fillRule: "evenodd",
|
|
165
165
|
d: "M9.016 8.309 10.707 10l-.707.707-1.691-1.691a4.5 4.5 0 1 1 .707-.707zM5.5 9a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z"
|
|
166
166
|
})));
|
|
167
167
|
};
|
|
168
|
-
var ForwardRef$
|
|
168
|
+
var ForwardRef$Y = /*#__PURE__*/forwardRef(SvgSearch12);
|
|
169
169
|
|
|
170
|
-
var _path$
|
|
171
|
-
function _extends$
|
|
170
|
+
var _path$U;
|
|
171
|
+
function _extends$X() { _extends$X = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$X.apply(this, arguments); }
|
|
172
172
|
var SvgSearch18 = function SvgSearch18(props, ref) {
|
|
173
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
173
|
+
return /*#__PURE__*/React.createElement("svg", _extends$X({
|
|
174
174
|
xmlns: "http://www.w3.org/2000/svg",
|
|
175
175
|
width: 18,
|
|
176
176
|
height: 18,
|
|
177
177
|
viewBox: "0 0 18 18",
|
|
178
178
|
ref: ref
|
|
179
|
-
}, props), _path$
|
|
179
|
+
}, props), _path$U || (_path$U = /*#__PURE__*/React.createElement("path", {
|
|
180
180
|
fillRule: "evenodd",
|
|
181
181
|
d: "M13.749 12.335 16.414 15 15 16.414l-2.665-2.665a6.5 6.5 0 1 1 1.414-1.414zM8.5 13a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9z"
|
|
182
182
|
})));
|
|
183
183
|
};
|
|
184
|
-
var ForwardRef$
|
|
184
|
+
var ForwardRef$X = /*#__PURE__*/forwardRef(SvgSearch18);
|
|
185
185
|
|
|
186
|
-
var _path$
|
|
187
|
-
function _extends$
|
|
186
|
+
var _path$T;
|
|
187
|
+
function _extends$W() { _extends$W = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$W.apply(this, arguments); }
|
|
188
188
|
var SvgSearch24 = function SvgSearch24(props, ref) {
|
|
189
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
189
|
+
return /*#__PURE__*/React.createElement("svg", _extends$W({
|
|
190
190
|
xmlns: "http://www.w3.org/2000/svg",
|
|
191
191
|
width: 24,
|
|
192
192
|
height: 24,
|
|
193
193
|
viewBox: "0 0 24 24",
|
|
194
194
|
ref: ref
|
|
195
|
-
}, props), _path$
|
|
195
|
+
}, props), _path$T || (_path$T = /*#__PURE__*/React.createElement("path", {
|
|
196
196
|
fillRule: "evenodd",
|
|
197
197
|
d: "M17.32 15.906 21.414 20 20 21.414l-4.094-4.094a8 8 0 1 1 1.414-1.414zM11 17a6 6 0 1 0 0-12 6 6 0 0 0 0 12z"
|
|
198
198
|
})));
|
|
199
199
|
};
|
|
200
|
-
var ForwardRef$
|
|
200
|
+
var ForwardRef$W = /*#__PURE__*/forwardRef(SvgSearch24);
|
|
201
201
|
|
|
202
|
-
var _path$
|
|
203
|
-
function _extends$
|
|
202
|
+
var _path$S;
|
|
203
|
+
function _extends$V() { _extends$V = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$V.apply(this, arguments); }
|
|
204
204
|
var SvgCalendar12 = function SvgCalendar12(props, ref) {
|
|
205
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
205
|
+
return /*#__PURE__*/React.createElement("svg", _extends$V({
|
|
206
206
|
xmlns: "http://www.w3.org/2000/svg",
|
|
207
207
|
width: 12,
|
|
208
208
|
height: 12,
|
|
209
209
|
viewBox: "0 0 12 12",
|
|
210
210
|
ref: ref
|
|
211
|
-
}, props), _path$
|
|
211
|
+
}, props), _path$S || (_path$S = /*#__PURE__*/React.createElement("path", {
|
|
212
212
|
fillRule: "evenodd",
|
|
213
213
|
d: "M10 2H9V1H8v1H4V1H3v1H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h8c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm0 8H2V4h8v6z"
|
|
214
214
|
})));
|
|
215
215
|
};
|
|
216
|
-
var ForwardRef$
|
|
216
|
+
var ForwardRef$V = /*#__PURE__*/forwardRef(SvgCalendar12);
|
|
217
217
|
|
|
218
|
-
var _path$
|
|
219
|
-
function _extends$
|
|
218
|
+
var _path$R;
|
|
219
|
+
function _extends$U() { _extends$U = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$U.apply(this, arguments); }
|
|
220
220
|
var SvgCalendar18 = function SvgCalendar18(props, ref) {
|
|
221
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
221
|
+
return /*#__PURE__*/React.createElement("svg", _extends$U({
|
|
222
222
|
xmlns: "http://www.w3.org/2000/svg",
|
|
223
223
|
width: 18,
|
|
224
224
|
height: 18,
|
|
225
225
|
viewBox: "0 0 18 18",
|
|
226
226
|
ref: ref
|
|
227
|
-
}, props), _path$
|
|
227
|
+
}, props), _path$R || (_path$R = /*#__PURE__*/React.createElement("path", {
|
|
228
228
|
fillRule: "evenodd",
|
|
229
229
|
d: "M14 3V1h-2v2H6V1H4v2C3 3 2 4 2 5v10c0 1 1 2 2 2h10c1 0 2-1 2-2V5c0-1-1-2-2-2zm0 12-10 .048V7h10v8z"
|
|
230
230
|
})));
|
|
231
231
|
};
|
|
232
|
-
var ForwardRef$
|
|
232
|
+
var ForwardRef$U = /*#__PURE__*/forwardRef(SvgCalendar18);
|
|
233
233
|
|
|
234
|
-
var _path$
|
|
235
|
-
function _extends$
|
|
234
|
+
var _path$Q;
|
|
235
|
+
function _extends$T() { _extends$T = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$T.apply(this, arguments); }
|
|
236
236
|
var SvgCalendar24 = function SvgCalendar24(props, ref) {
|
|
237
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
237
|
+
return /*#__PURE__*/React.createElement("svg", _extends$T({
|
|
238
238
|
xmlns: "http://www.w3.org/2000/svg",
|
|
239
239
|
width: 24,
|
|
240
240
|
height: 24,
|
|
241
241
|
viewBox: "0 0 24 24",
|
|
242
242
|
ref: ref
|
|
243
|
-
}, props), _path$
|
|
243
|
+
}, props), _path$Q || (_path$Q = /*#__PURE__*/React.createElement("path", {
|
|
244
244
|
fillRule: "evenodd",
|
|
245
245
|
d: "M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"
|
|
246
246
|
})));
|
|
247
247
|
};
|
|
248
|
-
var ForwardRef$
|
|
248
|
+
var ForwardRef$T = /*#__PURE__*/forwardRef(SvgCalendar24);
|
|
249
249
|
|
|
250
|
-
var _path$
|
|
251
|
-
function _extends$
|
|
250
|
+
var _path$P;
|
|
251
|
+
function _extends$S() { _extends$S = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$S.apply(this, arguments); }
|
|
252
252
|
var SvgInfo12 = function SvgInfo12(props, ref) {
|
|
253
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
253
|
+
return /*#__PURE__*/React.createElement("svg", _extends$S({
|
|
254
254
|
width: 12,
|
|
255
255
|
height: 12,
|
|
256
256
|
viewBox: "0 0 12 12",
|
|
257
257
|
xmlns: "http://www.w3.org/2000/svg",
|
|
258
258
|
ref: ref
|
|
259
|
-
}, props), _path$
|
|
259
|
+
}, props), _path$P || (_path$P = /*#__PURE__*/React.createElement("path", {
|
|
260
260
|
d: "M6 1C3.24 1 1 3.24 1 6s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm1 8H5V5h2zm0-5c-.471.471-1.529.471-2 0s-.471-1.529 0-2 1.529-.471 2 0 .471 1.529 0 2z",
|
|
261
261
|
fillRule: "evenodd"
|
|
262
262
|
})));
|
|
263
263
|
};
|
|
264
|
-
var ForwardRef$
|
|
264
|
+
var ForwardRef$S = /*#__PURE__*/forwardRef(SvgInfo12);
|
|
265
265
|
|
|
266
|
-
var _path$
|
|
267
|
-
function _extends$
|
|
266
|
+
var _path$O;
|
|
267
|
+
function _extends$R() { _extends$R = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$R.apply(this, arguments); }
|
|
268
268
|
var SvgInfo18 = function SvgInfo18(props, ref) {
|
|
269
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
269
|
+
return /*#__PURE__*/React.createElement("svg", _extends$R({
|
|
270
270
|
xmlns: "http://www.w3.org/2000/svg",
|
|
271
271
|
width: 18,
|
|
272
272
|
height: 18,
|
|
273
273
|
viewBox: "0 0 18 18",
|
|
274
274
|
ref: ref
|
|
275
|
-
}, props), _path$
|
|
275
|
+
}, props), _path$O || (_path$O = /*#__PURE__*/React.createElement("path", {
|
|
276
276
|
fillRule: "evenodd",
|
|
277
277
|
d: "M8 13h2V8H8v5zM9 1C4.584 1 1 4.584 1 9s3.584 8 8 8 8-3.584 8-8-3.584-8-8-8zm0 15c-3.859 0-7-3.141-7-7s3.141-7 7-7 7 3.141 7 7-3.141 7-7 7zM8 7h2V5H8v2z"
|
|
278
278
|
})));
|
|
279
279
|
};
|
|
280
|
-
var ForwardRef$
|
|
280
|
+
var ForwardRef$R = /*#__PURE__*/forwardRef(SvgInfo18);
|
|
281
281
|
|
|
282
|
-
var _path$
|
|
283
|
-
function _extends$
|
|
282
|
+
var _path$N;
|
|
283
|
+
function _extends$Q() { _extends$Q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$Q.apply(this, arguments); }
|
|
284
284
|
var SvgInfo24 = function SvgInfo24(props, ref) {
|
|
285
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
285
|
+
return /*#__PURE__*/React.createElement("svg", _extends$Q({
|
|
286
286
|
xmlns: "http://www.w3.org/2000/svg",
|
|
287
287
|
width: 24,
|
|
288
288
|
height: 24,
|
|
289
289
|
viewBox: "0 0 24 24",
|
|
290
290
|
ref: ref
|
|
291
|
-
}, props), _path$
|
|
291
|
+
}, props), _path$N || (_path$N = /*#__PURE__*/React.createElement("path", {
|
|
292
292
|
fillRule: "evenodd",
|
|
293
293
|
d: "M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z"
|
|
294
294
|
})));
|
|
295
295
|
};
|
|
296
|
-
var ForwardRef$
|
|
296
|
+
var ForwardRef$Q = /*#__PURE__*/forwardRef(SvgInfo24);
|
|
297
297
|
|
|
298
|
-
var _path$
|
|
299
|
-
function _extends$
|
|
298
|
+
var _path$M;
|
|
299
|
+
function _extends$P() { _extends$P = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$P.apply(this, arguments); }
|
|
300
300
|
var SvgHelpFill10 = function SvgHelpFill10(props, ref) {
|
|
301
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
301
|
+
return /*#__PURE__*/React.createElement("svg", _extends$P({
|
|
302
302
|
width: 10,
|
|
303
303
|
height: 10,
|
|
304
304
|
viewBox: "0 0 10 10",
|
|
305
305
|
xmlns: "http://www.w3.org/2000/svg",
|
|
306
306
|
ref: ref
|
|
307
|
-
}, props), _path$
|
|
307
|
+
}, props), _path$M || (_path$M = /*#__PURE__*/React.createElement("path", {
|
|
308
308
|
d: "M5 0C2.24 0 0 2.24 0 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5Zm.5 7.5h-1v-3h1v3Zm0-4h-1v-1h1v1Z"
|
|
309
309
|
})));
|
|
310
310
|
};
|
|
311
|
-
var ForwardRef$
|
|
311
|
+
var ForwardRef$P = /*#__PURE__*/forwardRef(SvgHelpFill10);
|
|
312
312
|
|
|
313
|
-
var _path$
|
|
314
|
-
function _extends$
|
|
313
|
+
var _path$L;
|
|
314
|
+
function _extends$O() { _extends$O = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$O.apply(this, arguments); }
|
|
315
315
|
var SvgHelpFill16 = function SvgHelpFill16(props, ref) {
|
|
316
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
316
|
+
return /*#__PURE__*/React.createElement("svg", _extends$O({
|
|
317
317
|
width: 16,
|
|
318
318
|
height: 16,
|
|
319
319
|
viewBox: "0 0 16 16",
|
|
320
320
|
xmlns: "http://www.w3.org/2000/svg",
|
|
321
321
|
ref: ref
|
|
322
|
-
}, props), _path$
|
|
322
|
+
}, props), _path$L || (_path$L = /*#__PURE__*/React.createElement("path", {
|
|
323
323
|
d: "M7 12h2V7H7v5ZM8 0C3.584 0 0 3.584 0 8s3.584 8 8 8 8-3.584 8-8-3.584-8-8-8Zm0 15c-3.859 0-7-3.141-7-7s3.141-7 7-7 7 3.141 7 7-3.141 7-7 7ZM7 6h2V4H7v2Z"
|
|
324
324
|
})));
|
|
325
325
|
};
|
|
326
|
-
var ForwardRef$
|
|
326
|
+
var ForwardRef$O = /*#__PURE__*/forwardRef(SvgHelpFill16);
|
|
327
327
|
|
|
328
328
|
const systemIcons = {
|
|
329
329
|
18: {
|
|
330
|
+
clear: ForwardRef$15,
|
|
331
|
+
foldingArrow: ForwardRef$12,
|
|
332
|
+
accept: ForwardRef$$,
|
|
333
|
+
search: ForwardRef$Y,
|
|
334
|
+
calendar: ForwardRef$V,
|
|
335
|
+
info: ForwardRef$S,
|
|
336
|
+
help: ForwardRef$P,
|
|
337
|
+
},
|
|
338
|
+
24: {
|
|
339
|
+
clear: ForwardRef$15,
|
|
340
|
+
foldingArrow: ForwardRef$12,
|
|
341
|
+
accept: ForwardRef$$,
|
|
342
|
+
search: ForwardRef$Y,
|
|
343
|
+
calendar: ForwardRef$V,
|
|
344
|
+
info: ForwardRef$S,
|
|
345
|
+
help: ForwardRef$P,
|
|
346
|
+
},
|
|
347
|
+
30: {
|
|
330
348
|
clear: ForwardRef$14,
|
|
331
349
|
foldingArrow: ForwardRef$11,
|
|
332
350
|
accept: ForwardRef$_,
|
|
333
351
|
search: ForwardRef$X,
|
|
334
352
|
calendar: ForwardRef$U,
|
|
335
353
|
info: ForwardRef$R,
|
|
336
|
-
help: ForwardRef$
|
|
354
|
+
help: ForwardRef$P,
|
|
337
355
|
},
|
|
338
|
-
|
|
356
|
+
36: {
|
|
339
357
|
clear: ForwardRef$14,
|
|
340
358
|
foldingArrow: ForwardRef$11,
|
|
341
359
|
accept: ForwardRef$_,
|
|
@@ -344,59 +362,41 @@ const systemIcons = {
|
|
|
344
362
|
info: ForwardRef$R,
|
|
345
363
|
help: ForwardRef$O,
|
|
346
364
|
},
|
|
347
|
-
|
|
348
|
-
clear: ForwardRef$
|
|
349
|
-
foldingArrow: ForwardRef$
|
|
350
|
-
accept: ForwardRef$
|
|
351
|
-
search: ForwardRef$
|
|
352
|
-
calendar: ForwardRef$
|
|
353
|
-
info: ForwardRef$
|
|
365
|
+
42: {
|
|
366
|
+
clear: ForwardRef$14,
|
|
367
|
+
foldingArrow: ForwardRef$11,
|
|
368
|
+
accept: ForwardRef$_,
|
|
369
|
+
search: ForwardRef$X,
|
|
370
|
+
calendar: ForwardRef$U,
|
|
371
|
+
info: ForwardRef$R,
|
|
354
372
|
help: ForwardRef$O,
|
|
355
373
|
},
|
|
356
|
-
|
|
374
|
+
48: {
|
|
357
375
|
clear: ForwardRef$13,
|
|
358
376
|
foldingArrow: ForwardRef$10,
|
|
359
377
|
accept: ForwardRef$Z,
|
|
360
378
|
search: ForwardRef$W,
|
|
361
379
|
calendar: ForwardRef$T,
|
|
362
380
|
info: ForwardRef$Q,
|
|
363
|
-
help: ForwardRef$
|
|
381
|
+
help: ForwardRef$O,
|
|
364
382
|
},
|
|
365
|
-
|
|
383
|
+
60: {
|
|
366
384
|
clear: ForwardRef$13,
|
|
367
385
|
foldingArrow: ForwardRef$10,
|
|
368
386
|
accept: ForwardRef$Z,
|
|
369
387
|
search: ForwardRef$W,
|
|
370
388
|
calendar: ForwardRef$T,
|
|
371
389
|
info: ForwardRef$Q,
|
|
372
|
-
help: ForwardRef$
|
|
373
|
-
},
|
|
374
|
-
48: {
|
|
375
|
-
clear: ForwardRef$12,
|
|
376
|
-
foldingArrow: ForwardRef$$,
|
|
377
|
-
accept: ForwardRef$Y,
|
|
378
|
-
search: ForwardRef$V,
|
|
379
|
-
calendar: ForwardRef$S,
|
|
380
|
-
info: ForwardRef$P,
|
|
381
|
-
help: ForwardRef$N,
|
|
382
|
-
},
|
|
383
|
-
60: {
|
|
384
|
-
clear: ForwardRef$12,
|
|
385
|
-
foldingArrow: ForwardRef$$,
|
|
386
|
-
accept: ForwardRef$Y,
|
|
387
|
-
search: ForwardRef$V,
|
|
388
|
-
calendar: ForwardRef$S,
|
|
389
|
-
info: ForwardRef$P,
|
|
390
|
-
help: ForwardRef$N,
|
|
390
|
+
help: ForwardRef$O,
|
|
391
391
|
},
|
|
392
392
|
none: {
|
|
393
|
-
clear: ForwardRef$
|
|
394
|
-
foldingArrow: ForwardRef$
|
|
395
|
-
accept: ForwardRef$
|
|
396
|
-
search: ForwardRef$
|
|
397
|
-
calendar: ForwardRef$
|
|
398
|
-
info: ForwardRef$
|
|
399
|
-
help: ForwardRef$
|
|
393
|
+
clear: ForwardRef$14,
|
|
394
|
+
foldingArrow: ForwardRef$11,
|
|
395
|
+
accept: ForwardRef$_,
|
|
396
|
+
search: ForwardRef$X,
|
|
397
|
+
calendar: ForwardRef$U,
|
|
398
|
+
info: ForwardRef$R,
|
|
399
|
+
help: ForwardRef$O,
|
|
400
400
|
},
|
|
401
401
|
};
|
|
402
402
|
|
|
@@ -515,69 +515,69 @@ var EditMode;
|
|
|
515
515
|
EditMode["INLINE"] = "inline";
|
|
516
516
|
})(EditMode || (EditMode = {}));
|
|
517
517
|
|
|
518
|
-
var _path$
|
|
519
|
-
function _extends$
|
|
518
|
+
var _path$K;
|
|
519
|
+
function _extends$N() { _extends$N = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$N.apply(this, arguments); }
|
|
520
520
|
var SvgCheck12 = function SvgCheck12(props, ref) {
|
|
521
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
521
|
+
return /*#__PURE__*/React.createElement("svg", _extends$N({
|
|
522
522
|
width: 12,
|
|
523
523
|
height: 12,
|
|
524
524
|
viewBox: "0 0 12 12",
|
|
525
525
|
xmlns: "http://www.w3.org/2000/svg",
|
|
526
526
|
ref: ref
|
|
527
|
-
}, props), _path$
|
|
527
|
+
}, props), _path$K || (_path$K = /*#__PURE__*/React.createElement("path", {
|
|
528
528
|
fillRule: "evenodd",
|
|
529
529
|
d: "M9.491 3.449 10.51 4.55 5.663 9.024 2.487 6.047l1.026-1.094L5.67 6.975z"
|
|
530
530
|
})));
|
|
531
531
|
};
|
|
532
|
-
var ForwardRef$
|
|
532
|
+
var ForwardRef$N = /*#__PURE__*/forwardRef(SvgCheck12);
|
|
533
533
|
|
|
534
|
-
var _path$
|
|
535
|
-
function _extends$
|
|
534
|
+
var _path$J;
|
|
535
|
+
function _extends$M() { _extends$M = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$M.apply(this, arguments); }
|
|
536
536
|
var SvgCheck18 = function SvgCheck18(props, ref) {
|
|
537
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
537
|
+
return /*#__PURE__*/React.createElement("svg", _extends$M({
|
|
538
538
|
width: 18,
|
|
539
539
|
height: 18,
|
|
540
540
|
viewBox: "0 0 18 18",
|
|
541
541
|
xmlns: "http://www.w3.org/2000/svg",
|
|
542
542
|
ref: ref
|
|
543
|
-
}, props), _path$
|
|
543
|
+
}, props), _path$J || (_path$J = /*#__PURE__*/React.createElement("path", {
|
|
544
544
|
fillRule: "evenodd",
|
|
545
545
|
d: "m14.247 4.341 1.506 1.318-7.704 8.804-4.756-4.756 1.414-1.414 3.244 3.243z"
|
|
546
546
|
})));
|
|
547
547
|
};
|
|
548
|
-
var ForwardRef$
|
|
548
|
+
var ForwardRef$M = /*#__PURE__*/forwardRef(SvgCheck18);
|
|
549
549
|
|
|
550
|
-
var _path$
|
|
551
|
-
function _extends$
|
|
550
|
+
var _path$I;
|
|
551
|
+
function _extends$L() { _extends$L = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$L.apply(this, arguments); }
|
|
552
552
|
var SvgPartlySelect12 = function SvgPartlySelect12(props, ref) {
|
|
553
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
553
|
+
return /*#__PURE__*/React.createElement("svg", _extends$L({
|
|
554
554
|
width: 12,
|
|
555
555
|
height: 12,
|
|
556
556
|
viewBox: "0 0 12 12",
|
|
557
557
|
xmlns: "http://www.w3.org/2000/svg",
|
|
558
558
|
ref: ref
|
|
559
|
-
}, props), _path$
|
|
559
|
+
}, props), _path$I || (_path$I = /*#__PURE__*/React.createElement("path", {
|
|
560
560
|
fillRule: "evenodd",
|
|
561
561
|
d: "M9 5v2H3V5z"
|
|
562
562
|
})));
|
|
563
563
|
};
|
|
564
|
-
var ForwardRef$
|
|
564
|
+
var ForwardRef$L = /*#__PURE__*/forwardRef(SvgPartlySelect12);
|
|
565
565
|
|
|
566
|
-
var _path$
|
|
567
|
-
function _extends$
|
|
566
|
+
var _path$H;
|
|
567
|
+
function _extends$K() { _extends$K = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$K.apply(this, arguments); }
|
|
568
568
|
var SvgPartlySelect18 = function SvgPartlySelect18(props, ref) {
|
|
569
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
569
|
+
return /*#__PURE__*/React.createElement("svg", _extends$K({
|
|
570
570
|
width: 18,
|
|
571
571
|
height: 18,
|
|
572
572
|
viewBox: "0 0 18 18",
|
|
573
573
|
xmlns: "http://www.w3.org/2000/svg",
|
|
574
574
|
ref: ref
|
|
575
|
-
}, props), _path$
|
|
575
|
+
}, props), _path$H || (_path$H = /*#__PURE__*/React.createElement("path", {
|
|
576
576
|
fillRule: "evenodd",
|
|
577
577
|
d: "M14 8v2H4V8z"
|
|
578
578
|
})));
|
|
579
579
|
};
|
|
580
|
-
var ForwardRef$
|
|
580
|
+
var ForwardRef$K = /*#__PURE__*/forwardRef(SvgPartlySelect18);
|
|
581
581
|
|
|
582
582
|
var css$$ = {"root":"Checkbox-module_root__EazHx","size-18":"Checkbox-module_size-18__IUFwO","size-12":"Checkbox-module_size-12__xKb3K","mode-cell":"Checkbox-module_mode-cell__O3Zfg","size18":"Checkbox-module_size-18__IUFwO","size12":"Checkbox-module_size-12__xKb3K","modeCell":"Checkbox-module_mode-cell__O3Zfg"};
|
|
583
583
|
|
|
@@ -587,17 +587,17 @@ function applyCheckboxMods(mods) {
|
|
|
587
587
|
];
|
|
588
588
|
}
|
|
589
589
|
const applyUUICheckboxProps = (props) => ({
|
|
590
|
-
icon: props.size === '12' ? ForwardRef$
|
|
591
|
-
indeterminateIcon: props.size === '12' ? ForwardRef$
|
|
590
|
+
icon: props.size === '12' ? ForwardRef$N : ForwardRef$M,
|
|
591
|
+
indeterminateIcon: props.size === '12' ? ForwardRef$L : ForwardRef$K,
|
|
592
592
|
});
|
|
593
593
|
const Checkbox = withMods(Checkbox$1, applyCheckboxMods, applyUUICheckboxProps);
|
|
594
594
|
|
|
595
595
|
var css$_ = {"root":"RadioInput-module_root__bRFVI","size-18":"RadioInput-module_size-18__UYM5r","size-12":"RadioInput-module_size-12__oYoyV","size18":"RadioInput-module_size-18__UYM5r","size12":"RadioInput-module_size-12__oYoyV"};
|
|
596
596
|
|
|
597
597
|
var _circle;
|
|
598
|
-
function _extends$
|
|
598
|
+
function _extends$J() { _extends$J = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$J.apply(this, arguments); }
|
|
599
599
|
var SvgRadioPoint = function SvgRadioPoint(props, ref) {
|
|
600
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
600
|
+
return /*#__PURE__*/React.createElement("svg", _extends$J({
|
|
601
601
|
width: 18,
|
|
602
602
|
height: 18,
|
|
603
603
|
viewBox: "0 0 18 18",
|
|
@@ -609,12 +609,12 @@ var SvgRadioPoint = function SvgRadioPoint(props, ref) {
|
|
|
609
609
|
r: 6
|
|
610
610
|
})));
|
|
611
611
|
};
|
|
612
|
-
var ForwardRef$
|
|
612
|
+
var ForwardRef$J = /*#__PURE__*/forwardRef(SvgRadioPoint);
|
|
613
613
|
|
|
614
614
|
function applyRadioInputMods(mods) {
|
|
615
615
|
return [css$_.root, css$_['size-' + (mods.size || '18')]];
|
|
616
616
|
}
|
|
617
|
-
const RadioInput = withMods(RadioInput$1, applyRadioInputMods, () => ({ icon: ForwardRef$
|
|
617
|
+
const RadioInput = withMods(RadioInput$1, applyRadioInputMods, () => ({ icon: ForwardRef$J }));
|
|
618
618
|
|
|
619
619
|
var css$Z = {"root":"Switch-module_root__-uM9q","size-12":"Switch-module_size-12__3txg-","size-18":"Switch-module_size-18__RiCkg","size-24":"Switch-module_size-24__XRE9d","size12":"Switch-module_size-12__3txg-","size18":"Switch-module_size-18__RiCkg","size24":"Switch-module_size-24__XRE9d"};
|
|
620
620
|
|
|
@@ -724,85 +724,85 @@ const Panel = withMods(VPanel, (props) => [
|
|
|
724
724
|
'uui-panel', css$V.root, props.shadow && css$V.shadow, props.margin && css$V['margin-' + props.margin],
|
|
725
725
|
]);
|
|
726
726
|
|
|
727
|
-
var _path$
|
|
728
|
-
function _extends$
|
|
727
|
+
var _path$G;
|
|
728
|
+
function _extends$I() { _extends$I = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$I.apply(this, arguments); }
|
|
729
729
|
var SvgNotificationCheckCircleFill24 = function SvgNotificationCheckCircleFill24(props, ref) {
|
|
730
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
730
|
+
return /*#__PURE__*/React.createElement("svg", _extends$I({
|
|
731
731
|
xmlns: "http://www.w3.org/2000/svg",
|
|
732
732
|
width: 24,
|
|
733
733
|
height: 24,
|
|
734
734
|
viewBox: "0 0 24 24",
|
|
735
735
|
ref: ref
|
|
736
|
-
}, props), _path$
|
|
736
|
+
}, props), _path$G || (_path$G = /*#__PURE__*/React.createElement("path", {
|
|
737
737
|
fillRule: "evenodd",
|
|
738
738
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
|
|
739
739
|
})));
|
|
740
740
|
};
|
|
741
|
-
var ForwardRef$
|
|
741
|
+
var ForwardRef$I = /*#__PURE__*/forwardRef(SvgNotificationCheckCircleFill24);
|
|
742
742
|
|
|
743
|
-
var _path$
|
|
744
|
-
function _extends$
|
|
743
|
+
var _path$F;
|
|
744
|
+
function _extends$H() { _extends$H = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$H.apply(this, arguments); }
|
|
745
745
|
var SvgNotificationWarningFill24 = function SvgNotificationWarningFill24(props, ref) {
|
|
746
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
746
|
+
return /*#__PURE__*/React.createElement("svg", _extends$H({
|
|
747
747
|
xmlns: "http://www.w3.org/2000/svg",
|
|
748
748
|
width: 24,
|
|
749
749
|
height: 24,
|
|
750
750
|
viewBox: "0 0 24 24",
|
|
751
751
|
ref: ref
|
|
752
|
-
}, props), _path$
|
|
752
|
+
}, props), _path$F || (_path$F = /*#__PURE__*/React.createElement("path", {
|
|
753
753
|
fillRule: "evenodd",
|
|
754
754
|
d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"
|
|
755
755
|
})));
|
|
756
756
|
};
|
|
757
|
-
var ForwardRef$
|
|
757
|
+
var ForwardRef$H = /*#__PURE__*/forwardRef(SvgNotificationWarningFill24);
|
|
758
758
|
|
|
759
|
-
var _path$
|
|
760
|
-
function _extends$
|
|
759
|
+
var _path$E;
|
|
760
|
+
function _extends$G() { _extends$G = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$G.apply(this, arguments); }
|
|
761
761
|
var SvgNotificationErrorFill24 = function SvgNotificationErrorFill24(props, ref) {
|
|
762
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
762
|
+
return /*#__PURE__*/React.createElement("svg", _extends$G({
|
|
763
763
|
xmlns: "http://www.w3.org/2000/svg",
|
|
764
764
|
width: 24,
|
|
765
765
|
height: 24,
|
|
766
766
|
viewBox: "0 0 24 24",
|
|
767
767
|
ref: ref
|
|
768
|
-
}, props), _path$
|
|
768
|
+
}, props), _path$E || (_path$E = /*#__PURE__*/React.createElement("path", {
|
|
769
769
|
fillRule: "evenodd",
|
|
770
770
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"
|
|
771
771
|
})));
|
|
772
772
|
};
|
|
773
|
-
var ForwardRef$
|
|
773
|
+
var ForwardRef$G = /*#__PURE__*/forwardRef(SvgNotificationErrorFill24);
|
|
774
774
|
|
|
775
|
-
var _path$
|
|
776
|
-
function _extends$
|
|
775
|
+
var _path$D;
|
|
776
|
+
function _extends$F() { _extends$F = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$F.apply(this, arguments); }
|
|
777
777
|
var SvgNotificationHelpFill24 = function SvgNotificationHelpFill24(props, ref) {
|
|
778
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
778
|
+
return /*#__PURE__*/React.createElement("svg", _extends$F({
|
|
779
779
|
xmlns: "http://www.w3.org/2000/svg",
|
|
780
780
|
width: 24,
|
|
781
781
|
height: 24,
|
|
782
782
|
viewBox: "0 0 24 24",
|
|
783
783
|
ref: ref
|
|
784
|
-
}, props), _path$
|
|
784
|
+
}, props), _path$D || (_path$D = /*#__PURE__*/React.createElement("path", {
|
|
785
785
|
fillRule: "evenodd",
|
|
786
786
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"
|
|
787
787
|
})));
|
|
788
788
|
};
|
|
789
|
-
var ForwardRef$
|
|
789
|
+
var ForwardRef$F = /*#__PURE__*/forwardRef(SvgNotificationHelpFill24);
|
|
790
790
|
|
|
791
|
-
var _path$
|
|
792
|
-
function _extends$
|
|
791
|
+
var _path$C;
|
|
792
|
+
function _extends$E() { _extends$E = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$E.apply(this, arguments); }
|
|
793
793
|
var SvgNavigationClose24$1 = function SvgNavigationClose24(props, ref) {
|
|
794
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
794
|
+
return /*#__PURE__*/React.createElement("svg", _extends$E({
|
|
795
795
|
xmlns: "http://www.w3.org/2000/svg",
|
|
796
796
|
width: 24,
|
|
797
797
|
height: 24,
|
|
798
798
|
viewBox: "0 0 24 24",
|
|
799
799
|
ref: ref
|
|
800
|
-
}, props), _path$
|
|
800
|
+
}, props), _path$C || (_path$C = /*#__PURE__*/React.createElement("path", {
|
|
801
801
|
fillRule: "evenodd",
|
|
802
802
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
803
803
|
})));
|
|
804
804
|
};
|
|
805
|
-
var ForwardRef$
|
|
805
|
+
var ForwardRef$E = /*#__PURE__*/forwardRef(SvgNavigationClose24$1);
|
|
806
806
|
|
|
807
807
|
var css$U = {"root":"Alert-module_root__vWIgd","icon-wrapper":"Alert-module_icon-wrapper__eCMNq","alert-wrapper":"Alert-module_alert-wrapper__aSltE","action-wrapper":"Alert-module_action-wrapper__fzVI-","action-icon":"Alert-module_action-icon__PUBtv","action-link":"Alert-module_action-link__S0nRl","close-icon":"Alert-module_close-icon__vtbPn","main-path":"Alert-module_main-path__pW0Ya","content":"Alert-module_content__F-yZG","iconWrapper":"Alert-module_icon-wrapper__eCMNq","alertWrapper":"Alert-module_alert-wrapper__aSltE","actionWrapper":"Alert-module_action-wrapper__fzVI-","actionIcon":"Alert-module_action-icon__PUBtv","actionLink":"Alert-module_action-link__S0nRl","closeIcon":"Alert-module_close-icon__vtbPn","mainPath":"Alert-module_main-path__pW0Ya"};
|
|
808
808
|
|
|
@@ -813,11 +813,11 @@ const Alert = React.forwardRef((props, ref) => (React.createElement("div", Objec
|
|
|
813
813
|
React.createElement("div", { className: css$U.content },
|
|
814
814
|
props.children,
|
|
815
815
|
props.actions && (React.createElement("div", { className: css$U.actionWrapper }, props.actions.map((action) => (React.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$U.actionLink, size: "30" })))))),
|
|
816
|
-
props.onClose && React.createElement(IconButton, { icon: ForwardRef$
|
|
817
|
-
const WarningAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
818
|
-
const SuccessAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
819
|
-
const HintAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
820
|
-
const ErrorAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
816
|
+
props.onClose && React.createElement(IconButton, { icon: ForwardRef$E, color: "default", onClick: props.onClose, cx: css$U.closeIcon })))));
|
|
817
|
+
const WarningAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$H, color: "warning", ref: ref }, props)));
|
|
818
|
+
const SuccessAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$I, color: "success", ref: ref }, props)));
|
|
819
|
+
const HintAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$F, color: "info", ref: ref }, props)));
|
|
820
|
+
const ErrorAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$G, color: "error", ref: ref }, props)));
|
|
821
821
|
|
|
822
822
|
class Dropdown extends React.Component {
|
|
823
823
|
render() {
|
|
@@ -1027,7 +1027,7 @@ class ModalHeader extends React.Component {
|
|
|
1027
1027
|
this.props.children,
|
|
1028
1028
|
this.props.onClose && React.createElement(FlexSpacer, null),
|
|
1029
1029
|
this.props.onClose && (React.createElement(FlexCell, { shrink: 0, width: "auto" },
|
|
1030
|
-
React.createElement(IconButton, { icon: ForwardRef$
|
|
1030
|
+
React.createElement(IconButton, { icon: ForwardRef$E, onClick: this.props.onClose })))));
|
|
1031
1031
|
}
|
|
1032
1032
|
}
|
|
1033
1033
|
class ModalFooter extends React.Component {
|
|
@@ -1113,7 +1113,6 @@ const i18n = Object.assign(Object.assign({}, i18n$1), { dataPickerBody: {
|
|
|
1113
1113
|
},
|
|
1114
1114
|
pickerInput: {
|
|
1115
1115
|
itemsPlaceholder: 'items',
|
|
1116
|
-
emptyValueCaption: 'ALL',
|
|
1117
1116
|
},
|
|
1118
1117
|
}, presetPanel: {
|
|
1119
1118
|
addCaption: 'Add Preset',
|
|
@@ -1122,21 +1121,21 @@ const i18n = Object.assign(Object.assign({}, i18n$1), { dataPickerBody: {
|
|
|
1122
1121
|
saveButton: 'Save',
|
|
1123
1122
|
} });
|
|
1124
1123
|
|
|
1125
|
-
var _path$
|
|
1126
|
-
function _extends$
|
|
1124
|
+
var _path$B;
|
|
1125
|
+
function _extends$D() { _extends$D = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$D.apply(this, arguments); }
|
|
1127
1126
|
var SvgCross = function SvgCross(props, ref) {
|
|
1128
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1127
|
+
return /*#__PURE__*/React.createElement("svg", _extends$D({
|
|
1129
1128
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1130
1129
|
width: 24,
|
|
1131
1130
|
height: 24,
|
|
1132
1131
|
viewBox: "0 0 24 24",
|
|
1133
1132
|
ref: ref
|
|
1134
|
-
}, props), _path$
|
|
1133
|
+
}, props), _path$B || (_path$B = /*#__PURE__*/React.createElement("path", {
|
|
1135
1134
|
fillRule: "evenodd",
|
|
1136
1135
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
1137
1136
|
})));
|
|
1138
1137
|
};
|
|
1139
|
-
var ForwardRef$
|
|
1138
|
+
var ForwardRef$D = /*#__PURE__*/forwardRef(SvgCross);
|
|
1140
1139
|
|
|
1141
1140
|
var css$N = {"root":"NotificationCard-module_root__jT-mn","icon-wrapper":"NotificationCard-module_icon-wrapper__89tan","action-wrapper":"NotificationCard-module_action-wrapper__6Z1Zy","action-link":"NotificationCard-module_action-link__O0HeC","close-icon":"NotificationCard-module_close-icon__DTQiT","main-path":"NotificationCard-module_main-path__npnav","content":"NotificationCard-module_content__-vDj4","clear-button":"NotificationCard-module_clear-button__BjWZo","close-wrapper":"NotificationCard-module_close-wrapper__x3PkP","iconWrapper":"NotificationCard-module_icon-wrapper__89tan","actionWrapper":"NotificationCard-module_action-wrapper__6Z1Zy","actionLink":"NotificationCard-module_action-link__O0HeC","closeIcon":"NotificationCard-module_close-icon__DTQiT","mainPath":"NotificationCard-module_main-path__npnav","clearButton":"NotificationCard-module_clear-button__BjWZo","closeWrapper":"NotificationCard-module_close-wrapper__x3PkP"};
|
|
1142
1141
|
|
|
@@ -1161,12 +1160,12 @@ const NotificationCard = React__default.forwardRef((props, ref) => {
|
|
|
1161
1160
|
props.children,
|
|
1162
1161
|
props.actions && (React__default.createElement("div", { className: css$N.actionWrapper }, props.actions.map((action) => (React__default.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$N.actionLink, size: "36", rawProps: action.rawProps })))))),
|
|
1163
1162
|
props.onClose && (React__default.createElement("div", { className: css$N.closeWrapper },
|
|
1164
|
-
React__default.createElement(IconButton, { icon: ForwardRef$
|
|
1163
|
+
React__default.createElement(IconButton, { icon: ForwardRef$D, color: "default", onClick: props.onClose, cx: css$N.closeIcon }))))));
|
|
1165
1164
|
});
|
|
1166
|
-
const WarningNotification = React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1167
|
-
const SuccessNotification = React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1168
|
-
const HintNotification = React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1169
|
-
const ErrorNotification = React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1165
|
+
const WarningNotification = React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$H, color: "warning" }, props, { ref: ref, cx: props.cx }))));
|
|
1166
|
+
const SuccessNotification = React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$I, color: "success" }, props, { ref: ref, cx: props.cx }))));
|
|
1167
|
+
const HintNotification = React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$F, color: "info" }, props, { ref: ref, cx: props.cx }))));
|
|
1168
|
+
const ErrorNotification = React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$G, color: "error" }, props, { ref: ref, cx: props.cx }))));
|
|
1170
1169
|
class ClearNotification extends React__default.Component {
|
|
1171
1170
|
render() {
|
|
1172
1171
|
return (React__default.createElement("div", { className: cx(css$N.notificationWrapper, css$N.clearButton) },
|
|
@@ -1286,7 +1285,7 @@ var calendarCss = {"root":"Calendar-module_root__ldDAb"};
|
|
|
1286
1285
|
function applyDatePickerBodyMods() {
|
|
1287
1286
|
return [css$E.root, calendarCss.root];
|
|
1288
1287
|
}
|
|
1289
|
-
const DatePickerBody = withMods(DatePickerBody$1, applyDatePickerBodyMods, () => ({ navIconLeft: ForwardRef$
|
|
1288
|
+
const DatePickerBody = withMods(DatePickerBody$1, applyDatePickerBodyMods, () => ({ navIconLeft: ForwardRef$11, navIconRight: ForwardRef$11 }));
|
|
1290
1289
|
|
|
1291
1290
|
const defaultMode$1 = EditMode.FORM;
|
|
1292
1291
|
class DatePicker extends BaseDatePicker {
|
|
@@ -1320,8 +1319,8 @@ function applyRangeDatePickerBodyMods() {
|
|
|
1320
1319
|
];
|
|
1321
1320
|
}
|
|
1322
1321
|
const RangeDatePickerBody = withMods(RangeDatePickerBody$1, applyRangeDatePickerBodyMods, () => ({
|
|
1323
|
-
navIconLeft: ForwardRef$
|
|
1324
|
-
navIconRight: ForwardRef$
|
|
1322
|
+
navIconLeft: ForwardRef$11,
|
|
1323
|
+
navIconRight: ForwardRef$11,
|
|
1325
1324
|
}));
|
|
1326
1325
|
|
|
1327
1326
|
var css$D = {"dropdown-container":"RangeDatePicker-module_dropdown-container__EFIZT","container":"RangeDatePicker-module_container__H7FRF","button-group":"RangeDatePicker-module_button-group__Stksa","date-input":"RangeDatePicker-module_date-input__as2iX","size-24":"RangeDatePicker-module_size-24__yXj-X","size-30":"RangeDatePicker-module_size-30__4sP-J","size-36":"RangeDatePicker-module_size-36__j5YP2","size-42":"RangeDatePicker-module_size-42__nGrsk","size-48":"RangeDatePicker-module_size-48__WKbFa","date-input-group":"RangeDatePicker-module_date-input-group__lJSYu","separator":"RangeDatePicker-module_separator__OZtZc","mode-form":"RangeDatePicker-module_mode-form__KkODO","mode-cell":"RangeDatePicker-module_mode-cell__YvZw5","dropdownContainer":"RangeDatePicker-module_dropdown-container__EFIZT","buttonGroup":"RangeDatePicker-module_button-group__Stksa","dateInput":"RangeDatePicker-module_date-input__as2iX","size24":"RangeDatePicker-module_size-24__yXj-X","size30":"RangeDatePicker-module_size-30__4sP-J","size36":"RangeDatePicker-module_size-36__j5YP2","size42":"RangeDatePicker-module_size-42__nGrsk","size48":"RangeDatePicker-module_size-48__WKbFa","dateInputGroup":"RangeDatePicker-module_date-input-group__lJSYu","modeForm":"RangeDatePicker-module_mode-form__KkODO","modeCell":"RangeDatePicker-module_mode-cell__YvZw5"};
|
|
@@ -1415,35 +1414,35 @@ const DataPickerFooter = React__default.memo(DataPickerFooterImpl);
|
|
|
1415
1414
|
|
|
1416
1415
|
var css$A = {"header":"DataPickerHeader-module_header__TkXlz","close":"DataPickerHeader-module_close__Tiy0j"};
|
|
1417
1416
|
|
|
1418
|
-
var _path$
|
|
1419
|
-
function _extends$
|
|
1417
|
+
var _path$A;
|
|
1418
|
+
function _extends$C() { _extends$C = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$C.apply(this, arguments); }
|
|
1420
1419
|
var SvgNavigationClose24 = function SvgNavigationClose24(props, ref) {
|
|
1421
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1420
|
+
return /*#__PURE__*/React.createElement("svg", _extends$C({
|
|
1422
1421
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1423
1422
|
width: 24,
|
|
1424
1423
|
height: 24,
|
|
1425
1424
|
viewBox: "0 0 24 24",
|
|
1426
1425
|
ref: ref
|
|
1427
|
-
}, props), _path$
|
|
1426
|
+
}, props), _path$A || (_path$A = /*#__PURE__*/React.createElement("path", {
|
|
1428
1427
|
fillRule: "evenodd",
|
|
1429
1428
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z",
|
|
1430
1429
|
clipRule: "evenodd"
|
|
1431
1430
|
})));
|
|
1432
1431
|
};
|
|
1433
|
-
var ForwardRef$
|
|
1432
|
+
var ForwardRef$C = /*#__PURE__*/forwardRef(SvgNavigationClose24);
|
|
1434
1433
|
|
|
1435
1434
|
const DataPickerHeaderImpl = (props) => {
|
|
1436
1435
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
1437
|
-
return (React__default.createElement(FlexRow, { alignItems: "center", borderBottom: true,
|
|
1438
|
-
React__default.createElement(Text, { font: "semibold" }, title),
|
|
1439
|
-
React__default.createElement(IconButton, { icon: ForwardRef$
|
|
1436
|
+
return (React__default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$A.header },
|
|
1437
|
+
React__default.createElement(Text, { size: "48", font: "semibold" }, title),
|
|
1438
|
+
React__default.createElement(IconButton, { icon: ForwardRef$C, onClick: () => { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$A.close })));
|
|
1440
1439
|
};
|
|
1441
1440
|
const DataPickerHeader = React__default.memo(DataPickerHeaderImpl);
|
|
1442
1441
|
|
|
1443
1442
|
var _defs$1, _use;
|
|
1444
|
-
function _extends$
|
|
1443
|
+
function _extends$B() { _extends$B = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$B.apply(this, arguments); }
|
|
1445
1444
|
var SvgTreeFoldingArrow = function SvgTreeFoldingArrow(props, ref) {
|
|
1446
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1445
|
+
return /*#__PURE__*/React.createElement("svg", _extends$B({
|
|
1447
1446
|
width: 18,
|
|
1448
1447
|
height: 18,
|
|
1449
1448
|
viewBox: "0 0 18 18",
|
|
@@ -1461,7 +1460,7 @@ var SvgTreeFoldingArrow = function SvgTreeFoldingArrow(props, ref) {
|
|
|
1461
1460
|
fillRule: "evenodd"
|
|
1462
1461
|
})));
|
|
1463
1462
|
};
|
|
1464
|
-
var ForwardRef$
|
|
1463
|
+
var ForwardRef$B = /*#__PURE__*/forwardRef(SvgTreeFoldingArrow);
|
|
1465
1464
|
|
|
1466
1465
|
var css$z = {"cell":"DataTableCell-module_cell__9v8pk","wrapper":"DataTableCell-module_wrapper__u7ey2","align-widgets-top":"DataTableCell-module_align-widgets-top__-ZRCt","size-24":"DataTableCell-module_size-24__kAlRh","folding-arrow":"DataTableCell-module_folding-arrow__M3UXW","size-30":"DataTableCell-module_size-30__gy4mJ","size-36":"DataTableCell-module_size-36__t3pLn","size-42":"DataTableCell-module_size-42__IXd3P","size-48":"DataTableCell-module_size-48__jCi7Y","size-60":"DataTableCell-module_size-60__O0Mmg","align-widgets-center":"DataTableCell-module_align-widgets-center__l51gX","padding-12":"DataTableCell-module_padding-12__xRP39","padding-24":"DataTableCell-module_padding-24__0aJJb","padding-left-12":"DataTableCell-module_padding-left-12__XINwI","padding-left-24":"DataTableCell-module_padding-left-24__79hBi","padding-right-24":"DataTableCell-module_padding-right-24__BA0Z0","drag-handle":"DataTableCell-module_drag-handle__NiIxM","checkbox":"DataTableCell-module_checkbox__CAENf","indent":"DataTableCell-module_indent__qWJ5l","folding-arrow-12":"DataTableCell-module_folding-arrow-12__YGg1P","folding-arrow-18":"DataTableCell-module_folding-arrow-18__E0R4O","icon-container":"DataTableCell-module_icon-container__IcTL1","alignWidgetsTop":"DataTableCell-module_align-widgets-top__-ZRCt","size24":"DataTableCell-module_size-24__kAlRh","foldingArrow":"DataTableCell-module_folding-arrow__M3UXW","size30":"DataTableCell-module_size-30__gy4mJ","size36":"DataTableCell-module_size-36__t3pLn","size42":"DataTableCell-module_size-42__IXd3P","size48":"DataTableCell-module_size-48__jCi7Y","size60":"DataTableCell-module_size-60__O0Mmg","alignWidgetsCenter":"DataTableCell-module_align-widgets-center__l51gX","padding12":"DataTableCell-module_padding-12__xRP39","padding24":"DataTableCell-module_padding-24__0aJJb","paddingLeft12":"DataTableCell-module_padding-left-12__XINwI","paddingLeft24":"DataTableCell-module_padding-left-24__79hBi","paddingRight24":"DataTableCell-module_padding-right-24__BA0Z0","dragHandle":"DataTableCell-module_drag-handle__NiIxM","foldingArrow12":"DataTableCell-module_folding-arrow-12__YGg1P","foldingArrow18":"DataTableCell-module_folding-arrow-18__E0R4O","iconContainer":"DataTableCell-module_icon-container__IcTL1"};
|
|
1467
1466
|
|
|
@@ -1472,7 +1471,7 @@ function DataTableRowAddons(props) {
|
|
|
1472
1471
|
return (React.createElement(React.Fragment, null,
|
|
1473
1472
|
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React.createElement(DragHandle, { key: "dh", cx: css$z.dragHandle }),
|
|
1474
1473
|
((_b = row === null || row === void 0 ? void 0 : row.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) && (React.createElement(Checkbox, { key: "cb", cx: css$z.checkbox, tabIndex: props.tabIndex, size: additionalItemSize, value: row.isChecked, indeterminate: !row.isChecked && row.isChildrenChecked, onValueChange: () => row.onCheck(row), isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid })),
|
|
1475
|
-
row.indent > 0 && (React.createElement("div", { key: "fold", className: css$z.indent, style: { marginLeft: (row.indent - 1) * 24 } }, row.isFoldable && (React.createElement(IconContainer, { key: "icon", icon: ForwardRef$
|
|
1474
|
+
row.indent > 0 && (React.createElement("div", { key: "fold", className: css$z.indent, style: { marginLeft: (row.indent - 1) * 24 } }, row.isFoldable && (React.createElement(IconContainer, { key: "icon", icon: ForwardRef$B, cx: [
|
|
1476
1475
|
css$z.foldingArrow, css$z[`folding-arrow-${additionalItemSize}`], uuiMarkers.clickable, css$z.iconContainer,
|
|
1477
1476
|
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row) }))))));
|
|
1478
1477
|
}
|
|
@@ -1520,33 +1519,50 @@ const DataTableRow = withMods(DataTableRow$1, ({ borderBottom = true, size }) =>
|
|
|
1520
1519
|
|
|
1521
1520
|
var css$x = {"header-cell":"DataTableHeaderRow-module_header-cell__-GovH","config-icon":"DataTableHeaderRow-module_config-icon__7pmnq","headerCell":"DataTableHeaderRow-module_header-cell__-GovH","configIcon":"DataTableHeaderRow-module_config-icon__7pmnq"};
|
|
1522
1521
|
|
|
1523
|
-
var _path$
|
|
1524
|
-
function _extends$
|
|
1522
|
+
var _path$z;
|
|
1523
|
+
function _extends$A() { _extends$A = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$A.apply(this, arguments); }
|
|
1525
1524
|
var SvgActionSettings18 = function SvgActionSettings18(props, ref) {
|
|
1526
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1525
|
+
return /*#__PURE__*/React.createElement("svg", _extends$A({
|
|
1527
1526
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1528
1527
|
width: 18,
|
|
1529
1528
|
height: 18,
|
|
1530
1529
|
viewBox: "0 0 18 18",
|
|
1531
1530
|
ref: ref
|
|
1532
|
-
}, props), _path$
|
|
1531
|
+
}, props), _path$z || (_path$z = /*#__PURE__*/React.createElement("path", {
|
|
1533
1532
|
fillRule: "evenodd",
|
|
1534
1533
|
d: "M3 9.093a6.083 6.083 0 0 1 0-.186L1.55 7.271a1 1 0 0 1-.118-1.163l1.28-2.216a1 1 0 0 1 1.066-.48l2.14.439a3.81 3.81 0 0 1 .163-.094l.691-2.073A1 1 0 0 1 7.721 1h2.558a1 1 0 0 1 .949.684l.69 2.073c.056.03.11.061.163.094l2.141-.439a1 1 0 0 1 1.067.48l1.279 2.216a1 1 0 0 1-.118 1.163L15 8.907a5.72 5.72 0 0 1 0 .186l1.45 1.636a1 1 0 0 1 .118 1.163l-1.28 2.216a1 1 0 0 1-1.066.48l-2.14-.438a6.215 6.215 0 0 1-.163.093l-.691 2.073a1 1 0 0 1-.949.684H7.721a1 1 0 0 1-.949-.684l-.69-2.073a6.105 6.105 0 0 1-.163-.094l-2.141.439a1 1 0 0 1-1.067-.48l-1.279-2.216a1 1 0 0 1 .118-1.163L3 9.093zM9 12a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",
|
|
1535
1534
|
clipRule: "evenodd"
|
|
1536
1535
|
})));
|
|
1537
1536
|
};
|
|
1538
|
-
var ForwardRef$
|
|
1537
|
+
var ForwardRef$A = /*#__PURE__*/forwardRef(SvgActionSettings18);
|
|
1539
1538
|
|
|
1540
1539
|
const DataTableHeaderRow = withMods(DataTableHeaderRow$1, (mods) => [css$x.root], (mods) => ({
|
|
1541
1540
|
renderCell: (props) => React.createElement(DataTableHeaderCell, Object.assign({}, props, { size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key })),
|
|
1542
|
-
renderConfigButton: () => React.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: css$x.configIcon, color: "default", icon: ForwardRef$
|
|
1541
|
+
renderConfigButton: () => React.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: css$x.configIcon, color: "default", icon: ForwardRef$A }),
|
|
1543
1542
|
}));
|
|
1544
1543
|
|
|
1545
1544
|
var css$w = {"cell":"DataTableHeaderCell-module_cell__AGrCC","sort-icon":"DataTableHeaderCell-module_sort-icon__cDeMX","dropdown-icon":"DataTableHeaderCell-module_dropdown-icon__anyqy","infoIcon":"DataTableHeaderCell-module_infoIcon__ztuKT","resizable":"DataTableHeaderCell-module_resizable__KE4Ta","size-24":"DataTableHeaderCell-module_size-24__xl3Bc","size-30":"DataTableHeaderCell-module_size-30__eNSl8","size-36":"DataTableHeaderCell-module_size-36__uF7G7","size-42":"DataTableHeaderCell-module_size-42__cyLfW","size-48":"DataTableHeaderCell-module_size-48__fgE-c","padding-left-24":"DataTableHeaderCell-module_padding-left-24__y2KH8","padding-right-24":"DataTableHeaderCell-module_padding-right-24__-XKyz","caption":"DataTableHeaderCell-module_caption__ZOlWT","checkbox":"DataTableHeaderCell-module_checkbox__Mm1wC","icon":"DataTableHeaderCell-module_icon__liZ4c","icon-cell":"DataTableHeaderCell-module_icon-cell__9AUCT","align-right":"DataTableHeaderCell-module_align-right__Hzx-a","align-center":"DataTableHeaderCell-module_align-center__Lfdr4","tooltip-wrapper":"DataTableHeaderCell-module_tooltip-wrapper__ulCpX","cell-tooltip":"DataTableHeaderCell-module_cell-tooltip__JHAxY","upper-case":"DataTableHeaderCell-module_upper-case__AdtWJ","font-size-14":"DataTableHeaderCell-module_font-size-14__RSTks","resize-mark":"DataTableHeaderCell-module_resize-mark__NBp0G","draggable":"DataTableHeaderCell-module_draggable__hz5pE","ghost":"DataTableHeaderCell-module_ghost__-iISU","is-dragged-out":"DataTableHeaderCell-module_is-dragged-out__Qicd4","dnd-marker-left":"DataTableHeaderCell-module_dnd-marker-left__tZ1iw","dnd-marker-right":"DataTableHeaderCell-module_dnd-marker-right__nT0Cc","sortIcon":"DataTableHeaderCell-module_sort-icon__cDeMX","dropdownIcon":"DataTableHeaderCell-module_dropdown-icon__anyqy","size24":"DataTableHeaderCell-module_size-24__xl3Bc","size30":"DataTableHeaderCell-module_size-30__eNSl8","size36":"DataTableHeaderCell-module_size-36__uF7G7","size42":"DataTableHeaderCell-module_size-42__cyLfW","size48":"DataTableHeaderCell-module_size-48__fgE-c","paddingLeft24":"DataTableHeaderCell-module_padding-left-24__y2KH8","paddingRight24":"DataTableHeaderCell-module_padding-right-24__-XKyz","iconCell":"DataTableHeaderCell-module_icon-cell__9AUCT","alignRight":"DataTableHeaderCell-module_align-right__Hzx-a","alignCenter":"DataTableHeaderCell-module_align-center__Lfdr4","tooltipWrapper":"DataTableHeaderCell-module_tooltip-wrapper__ulCpX","cellTooltip":"DataTableHeaderCell-module_cell-tooltip__JHAxY","upperCase":"DataTableHeaderCell-module_upper-case__AdtWJ","fontSize14":"DataTableHeaderCell-module_font-size-14__RSTks","resizeMark":"DataTableHeaderCell-module_resize-mark__NBp0G","isDraggedOut":"DataTableHeaderCell-module_is-dragged-out__Qicd4","dndMarkerLeft":"DataTableHeaderCell-module_dnd-marker-left__tZ1iw","dndMarkerRight":"DataTableHeaderCell-module_dnd-marker-right__nT0Cc"};
|
|
1546
1545
|
|
|
1546
|
+
var _path$y;
|
|
1547
|
+
function _extends$z() { _extends$z = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$z.apply(this, arguments); }
|
|
1548
|
+
var SvgTableSwap18 = function SvgTableSwap18(props, ref) {
|
|
1549
|
+
return /*#__PURE__*/React.createElement("svg", _extends$z({
|
|
1550
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1551
|
+
width: 18,
|
|
1552
|
+
height: 18,
|
|
1553
|
+
viewBox: "0 0 18 18",
|
|
1554
|
+
ref: ref
|
|
1555
|
+
}, props), _path$y || (_path$y = /*#__PURE__*/React.createElement("path", {
|
|
1556
|
+
fillRule: "evenodd",
|
|
1557
|
+
d: "M6 1 2 5h3v7h2V5h3L6 1zm7 12V6h-2v7H8l4 4 4-4h-3z",
|
|
1558
|
+
clipRule: "evenodd"
|
|
1559
|
+
})));
|
|
1560
|
+
};
|
|
1561
|
+
var ForwardRef$z = /*#__PURE__*/forwardRef(SvgTableSwap18);
|
|
1562
|
+
|
|
1547
1563
|
var _path$x;
|
|
1548
1564
|
function _extends$y() { _extends$y = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$y.apply(this, arguments); }
|
|
1549
|
-
var
|
|
1565
|
+
var SvgTableSortAsc18 = function SvgTableSortAsc18(props, ref) {
|
|
1550
1566
|
return /*#__PURE__*/React.createElement("svg", _extends$y({
|
|
1551
1567
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1552
1568
|
width: 18,
|
|
@@ -1555,15 +1571,15 @@ var SvgTableSwap18 = function SvgTableSwap18(props, ref) {
|
|
|
1555
1571
|
ref: ref
|
|
1556
1572
|
}, props), _path$x || (_path$x = /*#__PURE__*/React.createElement("path", {
|
|
1557
1573
|
fillRule: "evenodd",
|
|
1558
|
-
d: "
|
|
1574
|
+
d: "M10 6v10H8V6H5l4-4 4 4h-3z",
|
|
1559
1575
|
clipRule: "evenodd"
|
|
1560
1576
|
})));
|
|
1561
1577
|
};
|
|
1562
|
-
var ForwardRef$y = /*#__PURE__*/forwardRef(
|
|
1578
|
+
var ForwardRef$y = /*#__PURE__*/forwardRef(SvgTableSortAsc18);
|
|
1563
1579
|
|
|
1564
1580
|
var _path$w;
|
|
1565
1581
|
function _extends$x() { _extends$x = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$x.apply(this, arguments); }
|
|
1566
|
-
var
|
|
1582
|
+
var SvgTableSortDesc18 = function SvgTableSortDesc18(props, ref) {
|
|
1567
1583
|
return /*#__PURE__*/React.createElement("svg", _extends$x({
|
|
1568
1584
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1569
1585
|
width: 18,
|
|
@@ -1572,15 +1588,15 @@ var SvgTableSortAsc18 = function SvgTableSortAsc18(props, ref) {
|
|
|
1572
1588
|
ref: ref
|
|
1573
1589
|
}, props), _path$w || (_path$w = /*#__PURE__*/React.createElement("path", {
|
|
1574
1590
|
fillRule: "evenodd",
|
|
1575
|
-
d: "M10
|
|
1591
|
+
d: "M10 12V2H8v10H5l4 4 4-4h-3z",
|
|
1576
1592
|
clipRule: "evenodd"
|
|
1577
1593
|
})));
|
|
1578
1594
|
};
|
|
1579
|
-
var ForwardRef$x = /*#__PURE__*/forwardRef(
|
|
1595
|
+
var ForwardRef$x = /*#__PURE__*/forwardRef(SvgTableSortDesc18);
|
|
1580
1596
|
|
|
1581
1597
|
var _path$v;
|
|
1582
1598
|
function _extends$w() { _extends$w = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$w.apply(this, arguments); }
|
|
1583
|
-
var
|
|
1599
|
+
var SvgContentFiltration18 = function SvgContentFiltration18(props, ref) {
|
|
1584
1600
|
return /*#__PURE__*/React.createElement("svg", _extends$w({
|
|
1585
1601
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1586
1602
|
width: 18,
|
|
@@ -1589,15 +1605,15 @@ var SvgTableSortDesc18 = function SvgTableSortDesc18(props, ref) {
|
|
|
1589
1605
|
ref: ref
|
|
1590
1606
|
}, props), _path$v || (_path$v = /*#__PURE__*/React.createElement("path", {
|
|
1591
1607
|
fillRule: "evenodd",
|
|
1592
|
-
d: "
|
|
1608
|
+
d: "m8 14 2 2v-5H8v3zM2 3v2h14V3H2zm6 8h2l6-6H2l6 6z",
|
|
1593
1609
|
clipRule: "evenodd"
|
|
1594
1610
|
})));
|
|
1595
1611
|
};
|
|
1596
|
-
var ForwardRef$w = /*#__PURE__*/forwardRef(
|
|
1612
|
+
var ForwardRef$w = /*#__PURE__*/forwardRef(SvgContentFiltration18);
|
|
1597
1613
|
|
|
1598
1614
|
var _path$u;
|
|
1599
1615
|
function _extends$v() { _extends$v = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$v.apply(this, arguments); }
|
|
1600
|
-
var
|
|
1616
|
+
var SvgNavigationChevronDown18 = function SvgNavigationChevronDown18(props, ref) {
|
|
1601
1617
|
return /*#__PURE__*/React.createElement("svg", _extends$v({
|
|
1602
1618
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1603
1619
|
width: 18,
|
|
@@ -1606,15 +1622,15 @@ var SvgContentFiltration18 = function SvgContentFiltration18(props, ref) {
|
|
|
1606
1622
|
ref: ref
|
|
1607
1623
|
}, props), _path$u || (_path$u = /*#__PURE__*/React.createElement("path", {
|
|
1608
1624
|
fillRule: "evenodd",
|
|
1609
|
-
d: "
|
|
1625
|
+
d: "M12.443 6.442 9 9.877 5.558 6.442 4.5 7.5 9 12l4.5-4.5-1.057-1.058z",
|
|
1610
1626
|
clipRule: "evenodd"
|
|
1611
1627
|
})));
|
|
1612
1628
|
};
|
|
1613
|
-
var ForwardRef$v = /*#__PURE__*/forwardRef(
|
|
1629
|
+
var ForwardRef$v = /*#__PURE__*/forwardRef(SvgNavigationChevronDown18);
|
|
1614
1630
|
|
|
1615
1631
|
var _path$t;
|
|
1616
1632
|
function _extends$u() { _extends$u = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$u.apply(this, arguments); }
|
|
1617
|
-
var
|
|
1633
|
+
var SvgNavigationChevronUp18 = function SvgNavigationChevronUp18(props, ref) {
|
|
1618
1634
|
return /*#__PURE__*/React.createElement("svg", _extends$u({
|
|
1619
1635
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1620
1636
|
width: 18,
|
|
@@ -1623,15 +1639,15 @@ var SvgNavigationChevronDown18 = function SvgNavigationChevronDown18(props, ref)
|
|
|
1623
1639
|
ref: ref
|
|
1624
1640
|
}, props), _path$t || (_path$t = /*#__PURE__*/React.createElement("path", {
|
|
1625
1641
|
fillRule: "evenodd",
|
|
1626
|
-
d: "
|
|
1642
|
+
d: "m9 6-4.5 4.5 1.058 1.057L9 8.123l3.443 3.434L13.5 10.5 9 6z",
|
|
1627
1643
|
clipRule: "evenodd"
|
|
1628
1644
|
})));
|
|
1629
1645
|
};
|
|
1630
|
-
var ForwardRef$u = /*#__PURE__*/forwardRef(
|
|
1646
|
+
var ForwardRef$u = /*#__PURE__*/forwardRef(SvgNavigationChevronUp18);
|
|
1631
1647
|
|
|
1632
1648
|
var _path$s;
|
|
1633
1649
|
function _extends$t() { _extends$t = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$t.apply(this, arguments); }
|
|
1634
|
-
var
|
|
1650
|
+
var SvgNotificationInfoOutline18 = function SvgNotificationInfoOutline18(props, ref) {
|
|
1635
1651
|
return /*#__PURE__*/React.createElement("svg", _extends$t({
|
|
1636
1652
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1637
1653
|
width: 18,
|
|
@@ -1639,29 +1655,12 @@ var SvgNavigationChevronUp18 = function SvgNavigationChevronUp18(props, ref) {
|
|
|
1639
1655
|
viewBox: "0 0 18 18",
|
|
1640
1656
|
ref: ref
|
|
1641
1657
|
}, props), _path$s || (_path$s = /*#__PURE__*/React.createElement("path", {
|
|
1642
|
-
fillRule: "evenodd",
|
|
1643
|
-
d: "m9 6-4.5 4.5 1.058 1.057L9 8.123l3.443 3.434L13.5 10.5 9 6z",
|
|
1644
|
-
clipRule: "evenodd"
|
|
1645
|
-
})));
|
|
1646
|
-
};
|
|
1647
|
-
var ForwardRef$t = /*#__PURE__*/forwardRef(SvgNavigationChevronUp18);
|
|
1648
|
-
|
|
1649
|
-
var _path$r;
|
|
1650
|
-
function _extends$s() { _extends$s = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$s.apply(this, arguments); }
|
|
1651
|
-
var SvgNotificationInfoOutline18 = function SvgNotificationInfoOutline18(props, ref) {
|
|
1652
|
-
return /*#__PURE__*/React.createElement("svg", _extends$s({
|
|
1653
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1654
|
-
width: 18,
|
|
1655
|
-
height: 18,
|
|
1656
|
-
viewBox: "0 0 18 18",
|
|
1657
|
-
ref: ref
|
|
1658
|
-
}, props), _path$r || (_path$r = /*#__PURE__*/React.createElement("path", {
|
|
1659
1658
|
fillRule: "evenodd",
|
|
1660
1659
|
d: "M8 13h2V8H8v5zM9 1C4.584 1 1 4.584 1 9s3.584 8 8 8 8-3.584 8-8-3.584-8-8-8zm0 15c-3.859 0-7-3.141-7-7s3.141-7 7-7 7 3.141 7 7-3.141 7-7 7zM8 7h2V5H8v2z",
|
|
1661
1660
|
clipRule: "evenodd"
|
|
1662
1661
|
})));
|
|
1663
1662
|
};
|
|
1664
|
-
var ForwardRef$
|
|
1663
|
+
var ForwardRef$t = /*#__PURE__*/forwardRef(SvgNotificationInfoOutline18);
|
|
1665
1664
|
|
|
1666
1665
|
class DataTableHeaderCell extends React.Component {
|
|
1667
1666
|
constructor() {
|
|
@@ -1678,10 +1677,10 @@ class DataTableHeaderCell extends React.Component {
|
|
|
1678
1677
|
React.createElement(Tooltip, { trigger: "hover", placement: "bottom-start", renderContent: !this.state.isDropdownOpen && this.props.column.info ? () => this.props.column.info : null, color: "default", cx: css$w.cellTooltip, offset: [-12, 12] },
|
|
1679
1678
|
React.createElement("div", { className: cx$1(css$w.iconCell, css$w['align-' + this.props.column.textAlign], uuiDataTableHeaderCell.uuiTableHeaderCaptionWrapper) },
|
|
1680
1679
|
React.createElement(Text, { key: "text", lineHeight: "30", fontSize: "14", size: "30", cx: cx$1(css$w.caption, this.getTextStyle(), uuiDataTableHeaderCell.uuiTableHeaderCaption) }, this.props.column.caption),
|
|
1681
|
-
this.props.column.info && (React.createElement(IconButton, { key: "info", cx: cx$1(css$w.icon, css$w.infoIcon, this.props.sortDirection && css$w.sortIconActive, uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: "secondary", icon: ForwardRef$
|
|
1682
|
-
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React.createElement(IconButton, { key: "sort", cx: cx$1(css$w.icon, css$w.sortIcon, this.props.sortDirection && css$w.sortIconActive, uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'default' : 'secondary', icon: this.props.sortDirection === 'desc' ? ForwardRef$
|
|
1683
|
-
this.props.isFilterActive && (React.createElement(IconButton, { key: "filter", cx: cx$1(css$w.icon, !this.props.sortDirection && css$w.filterIcon, uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "default", icon: ForwardRef$
|
|
1684
|
-
this.props.column.renderFilter && (React.createElement(IconButton, { key: "dropdown", cx: cx$1(css$w.icon, css$w.dropdownIcon, uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon: this.state.isDropdownOpen ? ForwardRef$
|
|
1680
|
+
this.props.column.info && (React.createElement(IconButton, { key: "info", cx: cx$1(css$w.icon, css$w.infoIcon, this.props.sortDirection && css$w.sortIconActive, uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: "secondary", icon: ForwardRef$t })),
|
|
1681
|
+
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React.createElement(IconButton, { key: "sort", cx: cx$1(css$w.icon, css$w.sortIcon, this.props.sortDirection && css$w.sortIconActive, uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'default' : 'secondary', icon: this.props.sortDirection === 'desc' ? ForwardRef$x : this.props.sortDirection === 'asc' ? ForwardRef$y : ForwardRef$z })),
|
|
1682
|
+
this.props.isFilterActive && (React.createElement(IconButton, { key: "filter", cx: cx$1(css$w.icon, !this.props.sortDirection && css$w.filterIcon, uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "default", icon: ForwardRef$w })),
|
|
1683
|
+
this.props.column.renderFilter && (React.createElement(IconButton, { key: "dropdown", cx: cx$1(css$w.icon, css$w.dropdownIcon, uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon: this.state.isDropdownOpen ? ForwardRef$u : ForwardRef$v }))))));
|
|
1685
1684
|
this.renderHeaderCheckbox = () => this.props.selectAll
|
|
1686
1685
|
&& this.props.isFirstColumn && (React.createElement(Checkbox, Object.assign({ size: +this.props.size < 36 ? '12' : '18' }, this.props.selectAll, { cx: cx$1(css$w.checkbox, uuiDataTableHeaderCell.uuiTableHeaderCheckbox) })));
|
|
1687
1686
|
this.renderResizeMark = (props) => React.createElement("div", { onMouseDown: props.onResizeStart, className: cx$1(css$w.resizeMark, uuiMarkers.draggable) });
|
|
@@ -1726,10 +1725,10 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
1726
1725
|
return columns;
|
|
1727
1726
|
};
|
|
1728
1727
|
|
|
1729
|
-
var _path$
|
|
1730
|
-
function _extends$
|
|
1728
|
+
var _path$r, _path2$1, _path3, _path4, _path5, _path6, _g$1, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _defs;
|
|
1729
|
+
function _extends$s() { _extends$s = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$s.apply(this, arguments); }
|
|
1731
1730
|
var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
1732
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1731
|
+
return /*#__PURE__*/React.createElement("svg", _extends$s({
|
|
1733
1732
|
width: 232,
|
|
1734
1733
|
height: 180,
|
|
1735
1734
|
viewBox: "0 0 232 180",
|
|
@@ -1738,7 +1737,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
1738
1737
|
ref: ref
|
|
1739
1738
|
}, props), /*#__PURE__*/React.createElement("g", {
|
|
1740
1739
|
clipPath: "url(#a)"
|
|
1741
|
-
}, _path$
|
|
1740
|
+
}, _path$r || (_path$r = /*#__PURE__*/React.createElement("path", {
|
|
1742
1741
|
d: "M150.585 1.535C49.483-11.495 27.481 61.805 45.725 97.481c10.581 20.69-39.64 70.792 17.744 81.468 27.538 5.123 36-13.341 62.433-10.655 35.4 3.6 148.167-4.73 88.349-78.915-31.713-39.335 1.026-79.506-63.666-87.844Z",
|
|
1743
1742
|
fill: "#F5F6FA"
|
|
1744
1743
|
})), _path2$1 || (_path2$1 = /*#__PURE__*/React.createElement("path", {
|
|
@@ -1864,7 +1863,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
1864
1863
|
d: "M0 0h230.897v180H0z"
|
|
1865
1864
|
})))));
|
|
1866
1865
|
};
|
|
1867
|
-
var ForwardRef$
|
|
1866
|
+
var ForwardRef$s = /*#__PURE__*/forwardRef(SvgEmptyTable);
|
|
1868
1867
|
|
|
1869
1868
|
var css$v = {"sticky-header":"DataTable-module_sticky-header__g-Ods","listContainer":"DataTable-module_listContainer__yR0QP","table":"DataTable-module_table__UPgfH","no-results":"DataTable-module_no-results__0TI-p","no-results-icon":"DataTable-module_no-results-icon__w-p5I","no-results-title":"DataTable-module_no-results-title__QIMfi","stickyHeader":"DataTable-module_sticky-header__g-Ods","noResults":"DataTable-module_no-results__0TI-p","noResultsIcon":"DataTable-module_no-results-icon__w-p5I","noResultsTitle":"DataTable-module_no-results-title__QIMfi"};
|
|
1870
1869
|
|
|
@@ -1881,7 +1880,7 @@ function DataTable(props) {
|
|
|
1881
1880
|
const renderNoResultsBlock = React.useCallback(() => {
|
|
1882
1881
|
var _a;
|
|
1883
1882
|
return (React.createElement("div", { className: css$v.noResults }, props.renderNoResultsBlock ? ((_a = props.renderNoResultsBlock) === null || _a === void 0 ? void 0 : _a.call(props)) : (React.createElement(React.Fragment, null,
|
|
1884
|
-
React.createElement(IconContainer, { cx: css$v.noResultsIcon, icon: ForwardRef$
|
|
1883
|
+
React.createElement(IconContainer, { cx: css$v.noResultsIcon, icon: ForwardRef$s }),
|
|
1885
1884
|
React.createElement(Text, { cx: css$v.noResultsTitle, fontSize: "24", lineHeight: "30", color: "primary", font: "semibold" }, i18n.tables.noResultsBlock.title),
|
|
1886
1885
|
React.createElement(Text, { fontSize: "16", lineHeight: "24", font: "regular", color: "primary" }, i18n.tables.noResultsBlock.message)))));
|
|
1887
1886
|
}, [props.renderNoResultsBlock]);
|
|
@@ -1915,88 +1914,88 @@ function DataTable(props) {
|
|
|
1915
1914
|
|
|
1916
1915
|
var styles$1 = {"main-panel":"ColumnsConfigurationModal-module_main-panel__4w6PV","group-title":"ColumnsConfigurationModal-module_group-title__YQ24j","group-title-text":"ColumnsConfigurationModal-module_group-title-text__Uu-cT","group-title-badge":"ColumnsConfigurationModal-module_group-title-badge__7PUJ9","group-items":"ColumnsConfigurationModal-module_group-items__gni54","no-data":"ColumnsConfigurationModal-module_no-data__chQEC","h-divider":"ColumnsConfigurationModal-module_h-divider__5NbQX","search-area":"ColumnsConfigurationModal-module_search-area__8lhwH","mainPanel":"ColumnsConfigurationModal-module_main-panel__4w6PV","groupTitle":"ColumnsConfigurationModal-module_group-title__YQ24j","groupTitleText":"ColumnsConfigurationModal-module_group-title-text__Uu-cT","groupTitleBadge":"ColumnsConfigurationModal-module_group-title-badge__7PUJ9","groupItems":"ColumnsConfigurationModal-module_group-items__gni54","noData":"ColumnsConfigurationModal-module_no-data__chQEC","hDivider":"ColumnsConfigurationModal-module_h-divider__5NbQX","searchArea":"ColumnsConfigurationModal-module_search-area__8lhwH"};
|
|
1917
1916
|
|
|
1918
|
-
var _path$
|
|
1919
|
-
function _extends$
|
|
1917
|
+
var _path$q;
|
|
1918
|
+
function _extends$r() { _extends$r = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$r.apply(this, arguments); }
|
|
1920
1919
|
var SvgNavigationMoreVert18 = function SvgNavigationMoreVert18(props, ref) {
|
|
1921
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1920
|
+
return /*#__PURE__*/React.createElement("svg", _extends$r({
|
|
1922
1921
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1923
1922
|
width: 18,
|
|
1924
1923
|
height: 18,
|
|
1925
1924
|
viewBox: "0 0 18 18",
|
|
1926
1925
|
ref: ref
|
|
1927
|
-
}, props), _path$
|
|
1926
|
+
}, props), _path$q || (_path$q = /*#__PURE__*/React.createElement("path", {
|
|
1928
1927
|
fillRule: "evenodd",
|
|
1929
1928
|
d: "M9 6c.825 0 1.5-.675 1.5-1.5S9.825 3 9 3s-1.5.675-1.5 1.5S8.175 6 9 6zm0 1.5c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5 1.5-.675 1.5-1.5S9.825 7.5 9 7.5zM9 12c-.825 0-1.5.675-1.5 1.5S8.175 15 9 15s1.5-.675 1.5-1.5S9.825 12 9 12z",
|
|
1930
1929
|
clipRule: "evenodd"
|
|
1931
1930
|
})));
|
|
1932
1931
|
};
|
|
1933
|
-
var ForwardRef$
|
|
1932
|
+
var ForwardRef$r = /*#__PURE__*/forwardRef(SvgNavigationMoreVert18);
|
|
1934
1933
|
|
|
1935
|
-
var _path$
|
|
1936
|
-
function _extends$
|
|
1934
|
+
var _path$p;
|
|
1935
|
+
function _extends$q() { _extends$q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$q.apply(this, arguments); }
|
|
1937
1936
|
var SvgActionUpdate18 = function SvgActionUpdate18(props, ref) {
|
|
1938
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1937
|
+
return /*#__PURE__*/React.createElement("svg", _extends$q({
|
|
1939
1938
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1940
1939
|
width: 18,
|
|
1941
1940
|
height: 18,
|
|
1942
1941
|
viewBox: "0 0 18 18",
|
|
1943
1942
|
ref: ref
|
|
1944
|
-
}, props), _path$
|
|
1943
|
+
}, props), _path$p || (_path$p = /*#__PURE__*/React.createElement("path", {
|
|
1945
1944
|
fillRule: "evenodd",
|
|
1946
1945
|
d: "M8.007 2A7.004 7.004 0 0 0 1 9a7.004 7.004 0 0 0 11.732 5.16l-1.497-1.347A4.999 4.999 0 0 1 3 9c0-2.763 2.237-5 5-5 2.762 0 5 2.237 5 5h2c0-3.864-3.129-7-6.993-7zM11 9l3 3 3-3h-6z",
|
|
1947
1946
|
clipRule: "evenodd"
|
|
1948
1947
|
})));
|
|
1949
1948
|
};
|
|
1950
|
-
var ForwardRef$
|
|
1949
|
+
var ForwardRef$q = /*#__PURE__*/forwardRef(SvgActionUpdate18);
|
|
1951
1950
|
|
|
1952
|
-
var _path$
|
|
1953
|
-
function _extends$
|
|
1951
|
+
var _path$o;
|
|
1952
|
+
function _extends$p() { _extends$p = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$p.apply(this, arguments); }
|
|
1954
1953
|
var SvgActionLockFill18 = function SvgActionLockFill18(props, ref) {
|
|
1955
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1954
|
+
return /*#__PURE__*/React.createElement("svg", _extends$p({
|
|
1956
1955
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1957
1956
|
width: 18,
|
|
1958
1957
|
height: 18,
|
|
1959
1958
|
viewBox: "0 0 18 18",
|
|
1960
1959
|
ref: ref
|
|
1961
|
-
}, props), _path$
|
|
1960
|
+
}, props), _path$o || (_path$o = /*#__PURE__*/React.createElement("path", {
|
|
1962
1961
|
fillRule: "evenodd",
|
|
1963
1962
|
d: "M5 7V5a4 4 0 1 1 8 0v2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2zm2 0h4V5a2 2 0 1 0-4 0v2zm2 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4z",
|
|
1964
1963
|
clipRule: "evenodd"
|
|
1965
1964
|
})));
|
|
1966
1965
|
};
|
|
1967
|
-
var ForwardRef$
|
|
1966
|
+
var ForwardRef$p = /*#__PURE__*/forwardRef(SvgActionLockFill18);
|
|
1968
1967
|
|
|
1969
|
-
var _path$
|
|
1970
|
-
function _extends$
|
|
1968
|
+
var _path$n;
|
|
1969
|
+
function _extends$o() { _extends$o = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$o.apply(this, arguments); }
|
|
1971
1970
|
var SvgActionPinOn18 = function SvgActionPinOn18(props, ref) {
|
|
1972
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1971
|
+
return /*#__PURE__*/React.createElement("svg", _extends$o({
|
|
1973
1972
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1974
1973
|
width: 18,
|
|
1975
1974
|
height: 18,
|
|
1976
1975
|
viewBox: "0 0 18 18",
|
|
1977
1976
|
ref: ref
|
|
1978
|
-
}, props), _path$
|
|
1977
|
+
}, props), _path$n || (_path$n = /*#__PURE__*/React.createElement("path", {
|
|
1979
1978
|
fillRule: "evenodd",
|
|
1980
1979
|
d: "M12 9V3h1V2H5v1h1v6l-2 1v1h4v5h2v-5h4v-1l-2-1z",
|
|
1981
1980
|
clipRule: "evenodd"
|
|
1982
1981
|
})));
|
|
1983
1982
|
};
|
|
1984
|
-
var ForwardRef$
|
|
1983
|
+
var ForwardRef$o = /*#__PURE__*/forwardRef(SvgActionPinOn18);
|
|
1985
1984
|
|
|
1986
|
-
var _path$
|
|
1987
|
-
function _extends$
|
|
1985
|
+
var _path$m;
|
|
1986
|
+
function _extends$n() { _extends$n = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$n.apply(this, arguments); }
|
|
1988
1987
|
var SvgActionPinOff18 = function SvgActionPinOff18(props, ref) {
|
|
1989
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1988
|
+
return /*#__PURE__*/React.createElement("svg", _extends$n({
|
|
1990
1989
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1991
1990
|
width: 18,
|
|
1992
1991
|
height: 18,
|
|
1993
1992
|
viewBox: "0 0 18 18",
|
|
1994
1993
|
ref: ref
|
|
1995
|
-
}, props), _path$
|
|
1994
|
+
}, props), _path$m || (_path$m = /*#__PURE__*/React.createElement("path", {
|
|
1996
1995
|
d: "M6 4.586 12.414 11H14v-1l-2-1V3h1V2H5v1h1v1.586zM10 16v-4.586l3.743 3.743.707-.707L3.136 3.136l-.707.707L6 7.414V9l-2 1v1h4v5h2z"
|
|
1997
1996
|
})));
|
|
1998
1997
|
};
|
|
1999
|
-
var ForwardRef$
|
|
1998
|
+
var ForwardRef$n = /*#__PURE__*/forwardRef(SvgActionPinOff18);
|
|
2000
1999
|
|
|
2001
2000
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
2002
2001
|
function PinIconButton(props) {
|
|
@@ -2011,12 +2010,12 @@ function PinIconButton(props) {
|
|
|
2011
2010
|
}, [isPinned, isPinnedAlways]);
|
|
2012
2011
|
const pinIcon = useMemo(() => {
|
|
2013
2012
|
if (isPinnedAlways) {
|
|
2014
|
-
return ForwardRef$
|
|
2013
|
+
return ForwardRef$p;
|
|
2015
2014
|
}
|
|
2016
2015
|
if (isPinned) {
|
|
2017
|
-
return isHovered ? ForwardRef$
|
|
2016
|
+
return isHovered ? ForwardRef$n : ForwardRef$o;
|
|
2018
2017
|
}
|
|
2019
|
-
return ForwardRef$
|
|
2018
|
+
return ForwardRef$o;
|
|
2020
2019
|
}, [
|
|
2021
2020
|
isPinnedAlways, isHovered, isPinned,
|
|
2022
2021
|
]);
|
|
@@ -2096,7 +2095,7 @@ function ColumnsConfigurationModal(props) {
|
|
|
2096
2095
|
React.createElement(SearchInput, { size: "30", value: searchValue, onValueChange: setSearchValue, placeholder: i18n$1.searchPlaceholder }),
|
|
2097
2096
|
React.createElement(Dropdown, { closeOnTargetClick: true, renderBody: () => (React.createElement(Panel, { shadow: true },
|
|
2098
2097
|
React.createElement(DropdownMenuButton, { caption: i18n$1.clearAllButton, onClick: uncheckAll }),
|
|
2099
|
-
React.createElement(DropdownMenuButton, { caption: i18n$1.selectAllButton, onClick: checkAll }))), renderTarget: (props) => React.createElement(Button, Object.assign({}, props, { mode: "none", icon: ForwardRef$
|
|
2098
|
+
React.createElement(DropdownMenuButton, { caption: i18n$1.selectAllButton, onClick: checkAll }))), renderTarget: (props) => React.createElement(Button, Object.assign({}, props, { mode: "none", icon: ForwardRef$r, size: "30", color: "secondary", isDropdown: false })) })),
|
|
2100
2099
|
React.createElement(Panel, { cx: styles$1.mainPanel },
|
|
2101
2100
|
React.createElement(ScrollBars, null,
|
|
2102
2101
|
renderVisible(),
|
|
@@ -2105,7 +2104,7 @@ function ColumnsConfigurationModal(props) {
|
|
|
2105
2104
|
React.createElement(Text, { fontSize: "24", lineHeight: "30", color: "primary", font: "semibold" }, i18n$1.noResultsFound.text),
|
|
2106
2105
|
React.createElement(Text, { fontSize: "16", lineHeight: "24", font: "regular", color: "primary" }, i18n$1.noResultsFound.subText))))),
|
|
2107
2106
|
React.createElement(ModalFooter, { borderTop: true },
|
|
2108
|
-
React.createElement(LinkButton, { icon: ForwardRef$
|
|
2107
|
+
React.createElement(LinkButton, { icon: ForwardRef$q, caption: i18n$1.resetToDefaultButton, onClick: reset }),
|
|
2109
2108
|
React.createElement(FlexSpacer, null),
|
|
2110
2109
|
React.createElement(Button, { mode: "none", color: "secondary", caption: i18n$1.cancelButton, onClick: close }),
|
|
2111
2110
|
noVisibleColumns ? (React.createElement(Tooltip, { content: i18n$1.enableAtLeastOneColumnMessage, placement: "top-end", color: "critical" }, applyButton)) : (applyButton)))));
|
|
@@ -2119,8 +2118,8 @@ const SortingPanelImpl = ({ sortDirection, onSort }) => {
|
|
|
2119
2118
|
const sortAsc = useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
|
|
2120
2119
|
const sortDesc = useCallback(() => onSort(sortDirection === 'desc' ? undefined : 'desc'), [onSort]);
|
|
2121
2120
|
return (React__default.createElement(FlexCell, { cx: css$t.sortingPanelContainer },
|
|
2122
|
-
React__default.createElement(DropdownMenuButton, { isActive: sortDirection === 'asc', caption: i18n.pickerFilterHeader.sortAscending, icon: ForwardRef$
|
|
2123
|
-
React__default.createElement(DropdownMenuButton, { isActive: sortDirection === 'desc', caption: i18n.pickerFilterHeader.sortDescending, icon: ForwardRef$
|
|
2121
|
+
React__default.createElement(DropdownMenuButton, { isActive: sortDirection === 'asc', caption: i18n.pickerFilterHeader.sortAscending, icon: ForwardRef$y, onClick: sortAsc }),
|
|
2122
|
+
React__default.createElement(DropdownMenuButton, { isActive: sortDirection === 'desc', caption: i18n.pickerFilterHeader.sortDescending, icon: ForwardRef$x, onClick: sortDesc })));
|
|
2124
2123
|
};
|
|
2125
2124
|
const SortingPanel = React__default.memo(SortingPanelImpl);
|
|
2126
2125
|
|
|
@@ -2142,54 +2141,54 @@ const ColumnHeaderDropdownImpl = (props) => {
|
|
|
2142
2141
|
};
|
|
2143
2142
|
const ColumnHeaderDropdown = React__default.memo(ColumnHeaderDropdownImpl);
|
|
2144
2143
|
|
|
2145
|
-
var _path$
|
|
2146
|
-
function _extends$
|
|
2144
|
+
var _path$l;
|
|
2145
|
+
function _extends$m() { _extends$m = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$m.apply(this, arguments); }
|
|
2147
2146
|
var SvgNotificationDone24 = function SvgNotificationDone24(props, ref) {
|
|
2148
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2147
|
+
return /*#__PURE__*/React.createElement("svg", _extends$m({
|
|
2149
2148
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2150
2149
|
width: 24,
|
|
2151
2150
|
height: 24,
|
|
2152
2151
|
viewBox: "0 0 24 24",
|
|
2153
2152
|
ref: ref
|
|
2154
|
-
}, props), _path$
|
|
2153
|
+
}, props), _path$l || (_path$l = /*#__PURE__*/React.createElement("path", {
|
|
2155
2154
|
fillRule: "evenodd",
|
|
2156
2155
|
d: "m9.727 16.075-4.295-4.388L4 13.149 9.727 19 22 6.463 20.568 5 9.728 16.075z",
|
|
2157
2156
|
clipRule: "evenodd"
|
|
2158
2157
|
})));
|
|
2159
2158
|
};
|
|
2160
|
-
var ForwardRef$
|
|
2159
|
+
var ForwardRef$m = /*#__PURE__*/forwardRef(SvgNotificationDone24);
|
|
2161
2160
|
|
|
2162
|
-
var _path$
|
|
2163
|
-
function _extends$
|
|
2161
|
+
var _path$k;
|
|
2162
|
+
function _extends$l() { _extends$l = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$l.apply(this, arguments); }
|
|
2164
2163
|
var SvgNotificationDone18 = function SvgNotificationDone18(props, ref) {
|
|
2165
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2164
|
+
return /*#__PURE__*/React.createElement("svg", _extends$l({
|
|
2166
2165
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2167
2166
|
width: 18,
|
|
2168
2167
|
height: 18,
|
|
2169
2168
|
viewBox: "0 0 18 18",
|
|
2170
2169
|
ref: ref
|
|
2171
|
-
}, props), _path$
|
|
2170
|
+
}, props), _path$k || (_path$k = /*#__PURE__*/React.createElement("path", {
|
|
2172
2171
|
fillRule: "evenodd",
|
|
2173
2172
|
d: "M7.136 11.91 4.034 8.776 3 9.821 7.136 14 16 5.045 14.966 4l-7.83 7.91z",
|
|
2174
2173
|
clipRule: "evenodd"
|
|
2175
2174
|
})));
|
|
2176
2175
|
};
|
|
2177
|
-
var ForwardRef$
|
|
2176
|
+
var ForwardRef$l = /*#__PURE__*/forwardRef(SvgNotificationDone18);
|
|
2178
2177
|
|
|
2179
|
-
var _path$
|
|
2180
|
-
function _extends$
|
|
2178
|
+
var _path$j;
|
|
2179
|
+
function _extends$k() { _extends$k = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
|
|
2181
2180
|
var SvgNotificationDone12 = function SvgNotificationDone12(props, ref) {
|
|
2182
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2181
|
+
return /*#__PURE__*/React.createElement("svg", _extends$k({
|
|
2183
2182
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2184
2183
|
width: 12,
|
|
2185
2184
|
height: 12,
|
|
2186
2185
|
viewBox: "0 0 12 12",
|
|
2187
2186
|
ref: ref
|
|
2188
|
-
}, props), _path$
|
|
2187
|
+
}, props), _path$j || (_path$j = /*#__PURE__*/React.createElement("path", {
|
|
2189
2188
|
d: "M11 3.6 9.462 2 4.846 6.8 2.538 4.4 1 6l3.846 4L11 3.6z"
|
|
2190
2189
|
})));
|
|
2191
2190
|
};
|
|
2192
|
-
var ForwardRef$
|
|
2191
|
+
var ForwardRef$k = /*#__PURE__*/forwardRef(SvgNotificationDone12);
|
|
2193
2192
|
|
|
2194
2193
|
var css$s = {"render-item":"DataPickerRow-module_render-item__Xg-KM","icon-wrapper":"DataPickerRow-module_icon-wrapper__2iHGZ","picker-row":"DataPickerRow-module_picker-row__dKixb","icon-default":"DataPickerRow-module_icon-default__gW-Xp","icon-primary":"DataPickerRow-module_icon-primary__QfDbw","renderItem":"DataPickerRow-module_render-item__Xg-KM","iconWrapper":"DataPickerRow-module_icon-wrapper__2iHGZ","pickerRow":"DataPickerRow-module_picker-row__dKixb","iconDefault":"DataPickerRow-module_icon-default__gW-Xp","iconPrimary":"DataPickerRow-module_icon-primary__QfDbw"};
|
|
2195
2194
|
|
|
@@ -2199,15 +2198,15 @@ class DataPickerRow extends React.Component {
|
|
|
2199
2198
|
this.getIcon = (size) => {
|
|
2200
2199
|
switch (size) {
|
|
2201
2200
|
case '24':
|
|
2202
|
-
return ForwardRef$j;
|
|
2203
|
-
case '30':
|
|
2204
2201
|
return ForwardRef$k;
|
|
2202
|
+
case '30':
|
|
2203
|
+
return ForwardRef$l;
|
|
2205
2204
|
case '36':
|
|
2206
|
-
return ForwardRef$k;
|
|
2207
|
-
case '42':
|
|
2208
2205
|
return ForwardRef$l;
|
|
2206
|
+
case '42':
|
|
2207
|
+
return ForwardRef$m;
|
|
2209
2208
|
default:
|
|
2210
|
-
return ForwardRef$
|
|
2209
|
+
return ForwardRef$l;
|
|
2211
2210
|
}
|
|
2212
2211
|
};
|
|
2213
2212
|
this.column = {
|
|
@@ -2242,17 +2241,17 @@ const MobileDropdownWrapper = (props) => {
|
|
|
2242
2241
|
|
|
2243
2242
|
var css$q = {"sub-header-wrapper":"PickerModal-module_sub-header-wrapper__PVjxt","switch":"PickerModal-module_switch__4ZWZ-","no-found-modal-container":"PickerModal-module_no-found-modal-container__zufRW","no-found-modal-container-icon":"PickerModal-module_no-found-modal-container-icon__RXBf4","no-found-modal-container-text":"PickerModal-module_no-found-modal-container-text__TgKzv","subHeaderWrapper":"PickerModal-module_sub-header-wrapper__PVjxt","$switch$":"PickerModal-module_switch__4ZWZ-","noFoundModalContainer":"PickerModal-module_no-found-modal-container__zufRW","noFoundModalContainerIcon":"PickerModal-module_no-found-modal-container-icon__RXBf4","noFoundModalContainerText":"PickerModal-module_no-found-modal-container-text__TgKzv"};
|
|
2244
2243
|
|
|
2245
|
-
var _path$
|
|
2246
|
-
function _extends$
|
|
2244
|
+
var _path$i, _path2;
|
|
2245
|
+
function _extends$j() { _extends$j = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$j.apply(this, arguments); }
|
|
2247
2246
|
var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
2248
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2247
|
+
return /*#__PURE__*/React.createElement("svg", _extends$j({
|
|
2249
2248
|
width: 66,
|
|
2250
2249
|
height: 67,
|
|
2251
2250
|
viewBox: "0 0 66 67",
|
|
2252
2251
|
fill: "none",
|
|
2253
2252
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2254
2253
|
ref: ref
|
|
2255
|
-
}, props), _path$
|
|
2254
|
+
}, props), _path$i || (_path$i = /*#__PURE__*/React.createElement("path", {
|
|
2256
2255
|
d: "M0 33.5C0 15.275 14.775.5 33 .5s33 14.775 33 33-14.775 33-33 33-33-14.775-33-33Z",
|
|
2257
2256
|
fill: "#EBEDF5"
|
|
2258
2257
|
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
@@ -2262,14 +2261,14 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
|
2262
2261
|
fill: "#6C6F80"
|
|
2263
2262
|
})));
|
|
2264
2263
|
};
|
|
2265
|
-
var ForwardRef$
|
|
2264
|
+
var ForwardRef$j = /*#__PURE__*/forwardRef(SvgSearchWithBackground);
|
|
2266
2265
|
|
|
2267
2266
|
class PickerModalImpl extends PickerModalBase {
|
|
2268
2267
|
constructor() {
|
|
2269
2268
|
super(...arguments);
|
|
2270
2269
|
this.renderNotFound = () => {
|
|
2271
2270
|
return this.props.renderNotFound ? (this.props.renderNotFound({ search: this.state.dataSourceState.search, onClose: () => this.props.success(null) })) : (React.createElement("div", { className: css$q.noFoundModalContainer },
|
|
2272
|
-
React.createElement(IconContainer, { cx: css$q.noFoundModalContainerIcon, icon: ForwardRef$
|
|
2271
|
+
React.createElement(IconContainer, { cx: css$q.noFoundModalContainerIcon, icon: ForwardRef$j }),
|
|
2273
2272
|
React.createElement(Text, { cx: css$q.noFoundModalContainerText, font: "semibold", fontSize: "16", lineHeight: "24", color: "primary", size: "36" }, i18n.dataPickerBody.noRecordsMessage),
|
|
2274
2273
|
React.createElement(Text, { cx: css$q.noFoundModalContainerText, fontSize: "12", lineHeight: "18", font: "regular", color: "primary", size: "36" }, i18n.dataPickerBody.noRecordsSubTitle)));
|
|
2275
2274
|
};
|
|
@@ -2368,79 +2367,79 @@ const Tag = withMods(Button$1, applyTagMods, (props) => ({
|
|
|
2368
2367
|
|
|
2369
2368
|
var css$m = {"root":"Paginator-module_root__d1jwS","spacer":"Paginator-module_spacer__8AhYN","mode-ghost":"Paginator-module_mode-ghost__-NfIp","size-24":"Paginator-module_size-24__zPh-d","size-30":"Paginator-module_size-30__R4PVg","navigation-size-24":"Paginator-module_navigation-size-24__gxUQ8","navigation-size-30":"Paginator-module_navigation-size-30__ZRsLp","modeGhost":"Paginator-module_mode-ghost__-NfIp","size24":"Paginator-module_size-24__zPh-d","size30":"Paginator-module_size-30__R4PVg","navigationSize24":"Paginator-module_navigation-size-24__gxUQ8","navigationSize30":"Paginator-module_navigation-size-30__ZRsLp"};
|
|
2370
2369
|
|
|
2371
|
-
var _path$
|
|
2372
|
-
function _extends$
|
|
2370
|
+
var _path$h;
|
|
2371
|
+
function _extends$i() { _extends$i = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$i.apply(this, arguments); }
|
|
2373
2372
|
var SvgNavigationChevronLeft12 = function SvgNavigationChevronLeft12(props, ref) {
|
|
2374
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2373
|
+
return /*#__PURE__*/React.createElement("svg", _extends$i({
|
|
2375
2374
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2376
2375
|
width: 12,
|
|
2377
2376
|
height: 12,
|
|
2378
2377
|
viewBox: "0 0 12 12",
|
|
2379
2378
|
ref: ref
|
|
2380
|
-
}, props), _path$
|
|
2379
|
+
}, props), _path$h || (_path$h = /*#__PURE__*/React.createElement("path", {
|
|
2381
2380
|
fillRule: "evenodd",
|
|
2382
2381
|
d: "M7.705 3.705 7 3 4 6l3 3 .705-.705L5.415 6l2.29-2.295z",
|
|
2383
2382
|
clipRule: "evenodd"
|
|
2384
2383
|
})));
|
|
2385
2384
|
};
|
|
2386
|
-
var ForwardRef$
|
|
2385
|
+
var ForwardRef$i = /*#__PURE__*/forwardRef(SvgNavigationChevronLeft12);
|
|
2387
2386
|
|
|
2388
|
-
var _path$
|
|
2389
|
-
function _extends$
|
|
2387
|
+
var _path$g;
|
|
2388
|
+
function _extends$h() { _extends$h = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$h.apply(this, arguments); }
|
|
2390
2389
|
var SvgNavigationChevronRight12 = function SvgNavigationChevronRight12(props, ref) {
|
|
2391
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2390
|
+
return /*#__PURE__*/React.createElement("svg", _extends$h({
|
|
2392
2391
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2393
2392
|
width: 12,
|
|
2394
2393
|
height: 12,
|
|
2395
2394
|
viewBox: "0 0 12 12",
|
|
2396
2395
|
ref: ref
|
|
2397
|
-
}, props), _path$
|
|
2396
|
+
}, props), _path$g || (_path$g = /*#__PURE__*/React.createElement("path", {
|
|
2398
2397
|
fillRule: "evenodd",
|
|
2399
2398
|
d: "m5 3-.705.705L6.585 6l-2.29 2.295L5 9l3-3-3-3z",
|
|
2400
2399
|
clipRule: "evenodd"
|
|
2401
2400
|
})));
|
|
2402
2401
|
};
|
|
2403
|
-
var ForwardRef$
|
|
2402
|
+
var ForwardRef$h = /*#__PURE__*/forwardRef(SvgNavigationChevronRight12);
|
|
2404
2403
|
|
|
2405
|
-
var _path$
|
|
2406
|
-
function _extends$
|
|
2404
|
+
var _path$f;
|
|
2405
|
+
function _extends$g() { _extends$g = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
|
|
2407
2406
|
var SvgNavigationChevronLeft18 = function SvgNavigationChevronLeft18(props, ref) {
|
|
2408
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2407
|
+
return /*#__PURE__*/React.createElement("svg", _extends$g({
|
|
2409
2408
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2410
2409
|
width: 18,
|
|
2411
2410
|
height: 18,
|
|
2412
2411
|
viewBox: "0 0 18 18",
|
|
2413
2412
|
ref: ref
|
|
2414
|
-
}, props), _path$
|
|
2413
|
+
}, props), _path$f || (_path$f = /*#__PURE__*/React.createElement("path", {
|
|
2415
2414
|
fillRule: "evenodd",
|
|
2416
2415
|
d: "M11.557 5.558 10.5 4.5 6 9l4.5 4.5 1.057-1.057L8.123 9l3.434-3.442z",
|
|
2417
2416
|
clipRule: "evenodd"
|
|
2418
2417
|
})));
|
|
2419
2418
|
};
|
|
2420
|
-
var ForwardRef$
|
|
2419
|
+
var ForwardRef$g = /*#__PURE__*/forwardRef(SvgNavigationChevronLeft18);
|
|
2421
2420
|
|
|
2422
|
-
var _path$
|
|
2423
|
-
function _extends$
|
|
2421
|
+
var _path$e;
|
|
2422
|
+
function _extends$f() { _extends$f = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$f.apply(this, arguments); }
|
|
2424
2423
|
var SvgNavigationChevronRight18 = function SvgNavigationChevronRight18(props, ref) {
|
|
2425
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2424
|
+
return /*#__PURE__*/React.createElement("svg", _extends$f({
|
|
2426
2425
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2427
2426
|
width: 18,
|
|
2428
2427
|
height: 18,
|
|
2429
2428
|
viewBox: "0 0 18 18",
|
|
2430
2429
|
ref: ref
|
|
2431
|
-
}, props), _path$
|
|
2430
|
+
}, props), _path$e || (_path$e = /*#__PURE__*/React.createElement("path", {
|
|
2432
2431
|
fillRule: "evenodd",
|
|
2433
2432
|
d: "M7.5 4.5 6.442 5.558 9.877 9l-3.435 3.443L7.5 13.5 12 9 7.5 4.5z",
|
|
2434
2433
|
clipRule: "evenodd"
|
|
2435
2434
|
})));
|
|
2436
2435
|
};
|
|
2437
|
-
var ForwardRef$
|
|
2436
|
+
var ForwardRef$f = /*#__PURE__*/forwardRef(SvgNavigationChevronRight18);
|
|
2438
2437
|
|
|
2439
2438
|
function Paginator(props) {
|
|
2440
2439
|
const renderPaginator = (params) => {
|
|
2441
2440
|
var _a, _b;
|
|
2442
2441
|
return (React__default.createElement("nav", Object.assign({ role: "navigation", className: css$m.root }, params.rawProps),
|
|
2443
|
-
React__default.createElement(Button, { cx: css$m[`navigation-size-${(_a = params.size) !== null && _a !== void 0 ? _a : '30'}`], size: params.size, icon: params.size === '30' ? ForwardRef$
|
|
2442
|
+
React__default.createElement(Button, { cx: css$m[`navigation-size-${(_a = params.size) !== null && _a !== void 0 ? _a : '30'}`], size: params.size, icon: params.size === '30' ? ForwardRef$g : ForwardRef$i, onClick: params.goToPrev, isDisabled: params.isFirst, mode: "outline", color: "secondary" }),
|
|
2444
2443
|
params.pages.map((page, index) => {
|
|
2445
2444
|
var _a, _b;
|
|
2446
2445
|
if (page.type === 'spacer') {
|
|
@@ -2450,7 +2449,7 @@ function Paginator(props) {
|
|
|
2450
2449
|
return (React__default.createElement(Button, { cx: cx(css$m[`size-${(_b = params.size) !== null && _b !== void 0 ? _b : '30'}`], css$m[`mode-${!page.isActive && 'ghost'}`]), size: params.size, key: page.pageNumber, caption: page.pageNumber, onClick: () => { var _a; return (_a = page.onClick) === null || _a === void 0 ? void 0 : _a.call(page); }, rawProps: { 'aria-current': page.isActive }, mode: (page.isActive && 'outline') || 'ghost', color: "primary" }));
|
|
2451
2450
|
}
|
|
2452
2451
|
}),
|
|
2453
|
-
React__default.createElement(Button, { cx: css$m[`navigation-size-${(_b = params.size) !== null && _b !== void 0 ? _b : '30'}`], size: params.size, icon: params.size === '30' ? ForwardRef$
|
|
2452
|
+
React__default.createElement(Button, { cx: css$m[`navigation-size-${(_b = params.size) !== null && _b !== void 0 ? _b : '30'}`], size: params.size, icon: params.size === '30' ? ForwardRef$f : ForwardRef$h, onClick: params.goToNext, isDisabled: params.isLast, mode: "outline", color: "secondary" })));
|
|
2454
2453
|
};
|
|
2455
2454
|
return React__default.createElement(Paginator$1, Object.assign({}, props, { render: renderPaginator }));
|
|
2456
2455
|
}
|
|
@@ -2686,16 +2685,16 @@ const FilterPanelItemToggler = React.forwardRef((props, ref) => {
|
|
|
2686
2685
|
e.preventDefault();
|
|
2687
2686
|
(_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
2688
2687
|
};
|
|
2689
|
-
const getTitle = props.predicateName ? `${props.title} ${props.predicateName}` : `${props.title}
|
|
2688
|
+
const getTitle = props.predicateName ? `${props.title} ${props.predicateName}` : `${props.title}${props.selection ? ':' : ''}`;
|
|
2690
2689
|
return (React.createElement(FlexRow$1, Object.assign({}, props, { rawProps: {
|
|
2691
2690
|
style: { maxWidth: `${props.maxWidth ? props.maxWidth + 'px' : 'auto'}` },
|
|
2692
2691
|
role: 'button',
|
|
2693
2692
|
}, cx: cx(css$h.root, uuiElement.inputBox, uuiMarkers.clickable, props.isOpen && uuiMod.opened, ['size-' + (props.size || defaultSize)], props.cx), onClick: togglerPickerOpened, ref: ref }),
|
|
2694
2693
|
React.createElement(FlexRow$1, { cx: css$h.titleWrapper },
|
|
2695
|
-
React.createElement(Text, { cx: css$h.title }, getTitle),
|
|
2696
|
-
React.createElement("div", { className: css$h.textWrapper },
|
|
2697
|
-
React.createElement(Text, { color: "brand", cx: css$h.selection }, props.selection),
|
|
2698
|
-
props.postfix && (React.createElement(Text, { color: "brand", cx: css$h.postfix }, props.postfix)))),
|
|
2694
|
+
React.createElement(Text, { size: props.size, cx: css$h.title }, getTitle),
|
|
2695
|
+
props.selection && (React.createElement("div", { className: css$h.textWrapper },
|
|
2696
|
+
React.createElement(Text, { color: "brand", size: props.size, cx: css$h.selection }, props.selection),
|
|
2697
|
+
props.postfix && (React.createElement(Text, { color: "brand", size: props.size, cx: css$h.postfix }, props.postfix))))),
|
|
2699
2698
|
!props.isDisabled && React.createElement(IconContainer, { icon: systemIcons[props.size || defaultSize].foldingArrow, flipY: props.isOpen, cx: "uui-icon-dropdown" })));
|
|
2700
2699
|
});
|
|
2701
2700
|
|
|
@@ -2733,16 +2732,17 @@ class FilterPickerBody extends PickerInputBase {
|
|
|
2733
2732
|
const maxHeight = isMobile() ? document.documentElement.clientHeight : this.props.dropdownHeight || pickerHeight;
|
|
2734
2733
|
const minBodyWidth = isMobile() ? document.documentElement.clientWidth : this.props.minBodyWidth || pickerWidth;
|
|
2735
2734
|
return (React.createElement(Panel, { style: { width: minBodyWidth }, rawProps: { tabIndex: -1 }, cx: [uuiMarkers.lockFocus] },
|
|
2736
|
-
React.createElement(DataPickerBody, Object.assign({}, props, { selectionMode: this.props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, searchSize: "36", editMode: "dropdown"
|
|
2735
|
+
React.createElement(DataPickerBody, Object.assign({}, props, { selectionMode: this.props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, searchSize: "36", editMode: "dropdown" })),
|
|
2737
2736
|
this.renderFooter()));
|
|
2738
2737
|
}
|
|
2739
2738
|
render() {
|
|
2739
|
+
var _a;
|
|
2740
2740
|
const rows = this.getRows();
|
|
2741
|
-
return this.renderBody(Object.assign(Object.assign({}, this.getPickerBodyProps(rows)), this.getListProps()), rows);
|
|
2741
|
+
return this.renderBody(Object.assign(Object.assign(Object.assign({}, this.getPickerBodyProps(rows)), this.getListProps()), { showSearch: (_a = this.props.showSearch) !== null && _a !== void 0 ? _a : true }), rows);
|
|
2742
2742
|
}
|
|
2743
2743
|
}
|
|
2744
2744
|
|
|
2745
|
-
class
|
|
2745
|
+
class FilterDatePickerBody extends BaseDatePicker {
|
|
2746
2746
|
constructor() {
|
|
2747
2747
|
super(...arguments);
|
|
2748
2748
|
this.state = Object.assign(Object.assign({}, super.getValue()), { isOpen: false, inputValue: null });
|
|
@@ -2844,17 +2844,17 @@ function FilterNumericBody(props) {
|
|
|
2844
2844
|
if (isInRangePredicate) {
|
|
2845
2845
|
const value = props.value;
|
|
2846
2846
|
return (React__default.createElement("div", null,
|
|
2847
|
-
React__default.createElement(FlexRow, { padding: "12", vPadding: "24", alignItems: "center", spacing: "12", borderBottom: true },
|
|
2847
|
+
React__default.createElement(FlexRow, { padding: "12", vPadding: "24", alignItems: "center", spacing: "12", borderBottom: true, rawProps: { style: { paddingTop: '3px' } } },
|
|
2848
2848
|
React__default.createElement(FlexCell, { width: "100%" },
|
|
2849
|
-
React__default.createElement(NumericInput, { value: (_a = value === null || value === void 0 ? void 0 : value.from) !== null && _a !== void 0 ? _a : null, onValueChange: rangeValueHandler('from'), size: "
|
|
2849
|
+
React__default.createElement(NumericInput, { value: (_a = value === null || value === void 0 ? void 0 : value.from) !== null && _a !== void 0 ? _a : null, onValueChange: rangeValueHandler('from'), size: "36", placeholder: "Min", formatOptions: { maximumFractionDigits: 2 } })),
|
|
2850
2850
|
React__default.createElement(FlexCell, { width: "100%" },
|
|
2851
|
-
React__default.createElement(NumericInput, { value: (_b = value === null || value === void 0 ? void 0 : value.to) !== null && _b !== void 0 ? _b : null, onValueChange: rangeValueHandler('to'), size: "
|
|
2851
|
+
React__default.createElement(NumericInput, { value: (_b = value === null || value === void 0 ? void 0 : value.to) !== null && _b !== void 0 ? _b : null, onValueChange: rangeValueHandler('to'), size: "36", placeholder: "Max", formatOptions: { maximumFractionDigits: 2 } }))),
|
|
2852
2852
|
renderFooter()));
|
|
2853
2853
|
}
|
|
2854
2854
|
return (React__default.createElement("div", null,
|
|
2855
|
-
React__default.createElement(FlexRow, { padding: "12", vPadding: "24", alignItems: "center", borderBottom: true },
|
|
2855
|
+
React__default.createElement(FlexRow, { padding: "12", vPadding: "24", alignItems: "center", borderBottom: true, rawProps: { style: { paddingTop: '3px' } } },
|
|
2856
2856
|
React__default.createElement(FlexCell, { width: 130 },
|
|
2857
|
-
React__default.createElement(NumericInput, { value: typeof props.value === 'number' ? props.value : null, onValueChange: props.onValueChange, size: "
|
|
2857
|
+
React__default.createElement(NumericInput, { value: typeof props.value === 'number' ? props.value : null, onValueChange: props.onValueChange, size: "36", placeholder: "Enter a number", formatOptions: { maximumFractionDigits: 2 } }))),
|
|
2858
2858
|
renderFooter()));
|
|
2859
2859
|
}
|
|
2860
2860
|
|
|
@@ -2867,29 +2867,29 @@ function FilterItemBody(props) {
|
|
|
2867
2867
|
case 'multiPicker':
|
|
2868
2868
|
return React__default.createElement(FilterPickerBody, Object.assign({}, props, { selectionMode: "multi", valueType: "id" }));
|
|
2869
2869
|
case 'datePicker':
|
|
2870
|
-
return React__default.createElement(
|
|
2870
|
+
return React__default.createElement(FilterDatePickerBody, Object.assign({}, props, { format: props.format || 'DD/MM/YYYY' }));
|
|
2871
2871
|
case 'rangeDatePicker':
|
|
2872
2872
|
return React__default.createElement(FilterRangeDatePickerBody, Object.assign({}, props, { format: props.format || 'DD/MM/YYYY', value: props.value || { from: null, to: null } }));
|
|
2873
2873
|
}
|
|
2874
2874
|
}
|
|
2875
2875
|
|
|
2876
|
-
var _path$
|
|
2877
|
-
function _extends$
|
|
2876
|
+
var _path$d;
|
|
2877
|
+
function _extends$e() { _extends$e = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$e.apply(this, arguments); }
|
|
2878
2878
|
var SvgActionDeleteforever12 = function SvgActionDeleteforever12(props, ref) {
|
|
2879
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2879
|
+
return /*#__PURE__*/React.createElement("svg", _extends$e({
|
|
2880
2880
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2881
2881
|
width: 12,
|
|
2882
2882
|
height: 12,
|
|
2883
2883
|
viewBox: "0 0 18 18",
|
|
2884
2884
|
ref: ref
|
|
2885
|
-
}, props), _path$
|
|
2885
|
+
}, props), _path$d || (_path$d = /*#__PURE__*/React.createElement("path", {
|
|
2886
2886
|
fillRule: "evenodd",
|
|
2887
2887
|
d: "M14 6v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6h10zm-3-4 1 1h3v2H3V3h3l1-1h4zm-.24 12.1L9 12.36 7.24 14.1l-1.16-1.16 1.74-1.76-1.78-1.8 1.2-1.18L9 10l1.76-1.8 1.18 1.18-1.76 1.8 1.76 1.76-1.18 1.16z"
|
|
2888
2888
|
})));
|
|
2889
2889
|
};
|
|
2890
|
-
var ForwardRef$
|
|
2890
|
+
var ForwardRef$e = /*#__PURE__*/forwardRef(SvgActionDeleteforever12);
|
|
2891
2891
|
|
|
2892
|
-
var css$f = {"header":"FiltersPanelItem-module_header__hqSIh","removeButton":"FiltersPanelItem-module_removeButton__dWD-9","panel":"FiltersPanelItem-module_panel__EfHsL"};
|
|
2892
|
+
var css$f = {"header":"FiltersPanelItem-module_header__hqSIh","removeButton":"FiltersPanelItem-module_removeButton__dWD-9","with-search":"FiltersPanelItem-module_with-search__sPAwy","panel":"FiltersPanelItem-module_panel__EfHsL","withSearch":"FiltersPanelItem-module_with-search__sPAwy"};
|
|
2893
2893
|
|
|
2894
2894
|
function FiltersToolbarItemImpl(props) {
|
|
2895
2895
|
const isPickersType = (props === null || props === void 0 ? void 0 : props.type) === 'multiPicker' || (props === null || props === void 0 ? void 0 : props.type) === 'singlePicker';
|
|
@@ -2962,16 +2962,21 @@ function FiltersToolbarItemImpl(props) {
|
|
|
2962
2962
|
}
|
|
2963
2963
|
setPredicate(val);
|
|
2964
2964
|
};
|
|
2965
|
-
const renderHeader = () =>
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2965
|
+
const renderHeader = (hideTitle) => {
|
|
2966
|
+
var _a;
|
|
2967
|
+
return (React__default.createElement("div", { className: cx(css$f.header, isPickersType && ((_a = props.showSearch) !== null && _a !== void 0 ? _a : css$f.withSearch)) },
|
|
2968
|
+
props.predicates ? (React__default.createElement(MultiSwitch, { items: props.predicates.map((i) => ({ id: i.predicate, caption: i.name })), value: predicate, onValueChange: changePredicate, size: "24" })) : (!hideTitle && (React__default.createElement(Text, { color: "secondary", size: "24", fontSize: "14" }, props.title))),
|
|
2969
|
+
!(props === null || props === void 0 ? void 0 : props.isAlwaysVisible) && (React__default.createElement(LinkButton, { cx: css$f.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size: "24", icon: ForwardRef$e }))));
|
|
2970
|
+
};
|
|
2971
|
+
const renderBody = (dropdownProps) => {
|
|
2972
|
+
const hideHeaderTitle = isPickersType && isMobileScreen;
|
|
2973
|
+
return (React__default.createElement(DropdownContainer, Object.assign({}, dropdownProps),
|
|
2974
|
+
React__default.createElement(Panel, { cx: css$f.panel }, isPickersType ? (React__default.createElement(MobileDropdownWrapper, { title: props.title, close: () => isOpenChange(false) },
|
|
2975
|
+
renderHeader(hideHeaderTitle),
|
|
2972
2976
|
React__default.createElement(FilterItemBody, Object.assign({}, props, dropdownProps, { selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange })))) : (React__default.createElement(React__default.Fragment, null,
|
|
2973
|
-
renderHeader(),
|
|
2974
|
-
React__default.createElement(FilterItemBody, Object.assign({}, props, dropdownProps, { selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange })))))))
|
|
2977
|
+
renderHeader(hideHeaderTitle),
|
|
2978
|
+
React__default.createElement(FilterItemBody, Object.assign({}, props, dropdownProps, { selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange })))))));
|
|
2979
|
+
};
|
|
2975
2980
|
const getValue = () => {
|
|
2976
2981
|
var _a;
|
|
2977
2982
|
return predicate ? (_a = props.value) === null || _a === void 0 ? void 0 : _a[predicate] : props.value;
|
|
@@ -2999,7 +3004,7 @@ function FiltersToolbarItemImpl(props) {
|
|
|
2999
3004
|
isLoading = item.isLoading;
|
|
3000
3005
|
return getPickerItemName(item, props);
|
|
3001
3006
|
})
|
|
3002
|
-
: [
|
|
3007
|
+
: [currentValue];
|
|
3003
3008
|
const selectionText = isLoading ? selection : selection.join(', ');
|
|
3004
3009
|
return { selection: selectionText, postfix };
|
|
3005
3010
|
}
|
|
@@ -3007,7 +3012,7 @@ function FiltersToolbarItemImpl(props) {
|
|
|
3007
3012
|
const isRangePredicate = predicate === 'inRange' || predicate === 'notInRange';
|
|
3008
3013
|
const decimalFormat = (val) => getSeparatedValue(val, { maximumFractionDigits: 2 });
|
|
3009
3014
|
if ((isRangePredicate && !currentValue) || (!isRangePredicate && !currentValue && currentValue !== 0)) {
|
|
3010
|
-
return { selection:
|
|
3015
|
+
return { selection: currentValue };
|
|
3011
3016
|
}
|
|
3012
3017
|
const selection = isRangePredicate
|
|
3013
3018
|
? `${!(currentValue === null || currentValue === void 0 ? void 0 : currentValue.from) && (currentValue === null || currentValue === void 0 ? void 0 : currentValue.from) !== 0 ? 'Min' : decimalFormat(currentValue === null || currentValue === void 0 ? void 0 : currentValue.from)} - ${!(currentValue === null || currentValue === void 0 ? void 0 : currentValue.to) && (currentValue === null || currentValue === void 0 ? void 0 : currentValue.to) !== 0 ? 'Max' : decimalFormat(currentValue === null || currentValue === void 0 ? void 0 : currentValue.to)}`
|
|
@@ -3017,7 +3022,7 @@ function FiltersToolbarItemImpl(props) {
|
|
|
3017
3022
|
case 'singlePicker': {
|
|
3018
3023
|
const view = props.dataSource.getView({}, forceUpdate);
|
|
3019
3024
|
if (currentValue === null || currentValue === undefined) {
|
|
3020
|
-
return { selection:
|
|
3025
|
+
return { selection: currentValue };
|
|
3021
3026
|
}
|
|
3022
3027
|
const item = view.getById(currentValue, null);
|
|
3023
3028
|
const selection = getPickerItemName(item, props);
|
|
@@ -3041,25 +3046,25 @@ function FiltersToolbarItemImpl(props) {
|
|
|
3041
3046
|
}
|
|
3042
3047
|
}
|
|
3043
3048
|
};
|
|
3044
|
-
const renderTarget = (dropdownProps) => (React__default.createElement(FilterPanelItemToggler, Object.assign({}, dropdownProps, getTogglerValue(), { title: props.title, predicateName: props.value ? predicateName : null, maxWidth: props.type === 'datePicker' || props.type === 'rangeDatePicker' ? null : '300' })));
|
|
3049
|
+
const renderTarget = (dropdownProps) => (React__default.createElement(FilterPanelItemToggler, Object.assign({}, dropdownProps, getTogglerValue(), { title: props.title, predicateName: props.value ? predicateName : null, maxWidth: props.type === 'datePicker' || props.type === 'rangeDatePicker' ? null : '300', size: props.size })));
|
|
3045
3050
|
return (React__default.createElement(Dropdown$1, { renderTarget: renderTarget, renderBody: renderBody, closeBodyOnTogglerHidden: !isMobile(), value: isOpen, onValueChange: isOpenChange, modifiers: popperModifiers }));
|
|
3046
3051
|
}
|
|
3047
3052
|
const FiltersPanelItem = React__default.memo(FiltersToolbarItemImpl);
|
|
3048
3053
|
|
|
3049
|
-
var _path$
|
|
3050
|
-
function _extends$
|
|
3051
|
-
var
|
|
3052
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
3054
|
+
var _path$c;
|
|
3055
|
+
function _extends$d() { _extends$d = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$d.apply(this, arguments); }
|
|
3056
|
+
var SvgActionAdd18 = function SvgActionAdd18(props, ref) {
|
|
3057
|
+
return /*#__PURE__*/React.createElement("svg", _extends$d({
|
|
3053
3058
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3054
3059
|
width: 18,
|
|
3055
3060
|
height: 18,
|
|
3056
3061
|
viewBox: "0 0 18 18",
|
|
3057
3062
|
ref: ref
|
|
3058
|
-
}, props), _path$
|
|
3059
|
-
d: "M10
|
|
3063
|
+
}, props), _path$c || (_path$c = /*#__PURE__*/React.createElement("path", {
|
|
3064
|
+
d: "M10 2H8v6H2v2h6v6h2v-6h6V8h-6V2z"
|
|
3060
3065
|
})));
|
|
3061
3066
|
};
|
|
3062
|
-
var ForwardRef$
|
|
3067
|
+
var ForwardRef$d = /*#__PURE__*/forwardRef(SvgActionAdd18);
|
|
3063
3068
|
|
|
3064
3069
|
const normalizeFilterWithPredicates = (filter) => {
|
|
3065
3070
|
if (!filter) {
|
|
@@ -3106,13 +3111,13 @@ function FiltersToolbarImpl(props) {
|
|
|
3106
3111
|
items: filters,
|
|
3107
3112
|
getId: (item) => item.field,
|
|
3108
3113
|
}, []);
|
|
3109
|
-
const onFiltersChange = (
|
|
3114
|
+
const onFiltersChange = (updatedFilters) => {
|
|
3110
3115
|
var _a;
|
|
3111
3116
|
const newConfig = {};
|
|
3112
3117
|
const newFilter = {};
|
|
3113
3118
|
const sortedOrders = tableState.filtersConfig && sortBy(tableState.filtersConfig, (f) => f === null || f === void 0 ? void 0 : f.order);
|
|
3114
3119
|
let order = (sortedOrders === null || sortedOrders === void 0 ? void 0 : sortedOrders.length) ? (_a = sortedOrders[sortedOrders.length - 1]) === null || _a === void 0 ? void 0 : _a.order : null;
|
|
3115
|
-
|
|
3120
|
+
updatedFilters.forEach((filter) => {
|
|
3116
3121
|
var _a, _b;
|
|
3117
3122
|
const newOrder = ((_b = (_a = tableState === null || tableState === void 0 ? void 0 : tableState.filtersConfig) === null || _a === void 0 ? void 0 : _a[filter === null || filter === void 0 ? void 0 : filter.field]) === null || _b === void 0 ? void 0 : _b.order) || getOrderBetween(order, null);
|
|
3118
3123
|
order = newOrder;
|
|
@@ -3145,8 +3150,9 @@ function FiltersToolbarImpl(props) {
|
|
|
3145
3150
|
const sortedActiveFilters = useMemo(() => {
|
|
3146
3151
|
return sortBy(selectedFilters, (f) => { var _a, _b; return (_b = (_a = tableState.filtersConfig) === null || _a === void 0 ? void 0 : _a[f.field]) === null || _b === void 0 ? void 0 : _b.order; });
|
|
3147
3152
|
}, [filters, tableState.filtersConfig]);
|
|
3148
|
-
const renderAddFilterToggler = useCallback((
|
|
3149
|
-
|
|
3153
|
+
const renderAddFilterToggler = useCallback((togglerProps) => {
|
|
3154
|
+
var _a;
|
|
3155
|
+
return (React__default.createElement(Button, { size: (_a = props.size) !== null && _a !== void 0 ? _a : '36', onClick: togglerProps.onClick, ref: togglerProps.ref, caption: i18n.filterToolbar.addCaption, icon: ForwardRef$d, iconPosition: "left", mode: "ghost", color: "primary" }));
|
|
3150
3156
|
}, []);
|
|
3151
3157
|
const getRowOptions = useCallback((item) => ({
|
|
3152
3158
|
isDisabled: item.isAlwaysVisible,
|
|
@@ -3164,12 +3170,12 @@ function FiltersToolbarImpl(props) {
|
|
|
3164
3170
|
sortedActiveFilters.map((f) => {
|
|
3165
3171
|
var _a;
|
|
3166
3172
|
return (React__default.createElement(FlexCell$1, { width: "auto", key: f.field },
|
|
3167
|
-
React__default.createElement(FiltersPanelItem, Object.assign({}, f, { value: (_a = tableState.filter) === null || _a === void 0 ? void 0 : _a[f.field], onValueChange: handleFilterChange, key: f.field, autoFocus: newFilterId === f.field, removeFilter: removeFilter }))));
|
|
3173
|
+
React__default.createElement(FiltersPanelItem, Object.assign({}, f, { value: (_a = tableState.filter) === null || _a === void 0 ? void 0 : _a[f.field], onValueChange: handleFilterChange, key: f.field, autoFocus: newFilterId === f.field, removeFilter: removeFilter, size: props.size }))));
|
|
3168
3174
|
}),
|
|
3169
3175
|
!isAllFiltersAlwaysVisible && (React__default.createElement(PickerInput, { dataSource: dataSource, value: selectedFilters, onValueChange: onFiltersChange, selectionMode: "multi", valueType: "entity", key: newFilterId, renderRow: (props) => (React__default.createElement(DataPickerRow, Object.assign({}, props, { padding: "12", key: props.key, onCheck: (row) => {
|
|
3170
3176
|
props.onCheck(row);
|
|
3171
3177
|
!row.isChecked && setNewFilterId(row.value.field);
|
|
3172
|
-
}, renderItem: (item, rowProps) => React__default.createElement(PickerItem, Object.assign({}, rowProps, { title: item.title })) }))), getName: (i) => i.title, renderToggler: renderAddFilterToggler, emptyValue: [], getRowOptions: getRowOptions, fixedBodyPosition: true }))));
|
|
3178
|
+
}, renderItem: (item, rowProps) => React__default.createElement(PickerItem, Object.assign({}, rowProps, { title: item.title })) }))), getName: (i) => i.title, renderToggler: renderAddFilterToggler, emptyValue: [], getRowOptions: getRowOptions, fixedBodyPosition: true, size: props.size }))));
|
|
3173
3179
|
}
|
|
3174
3180
|
const FiltersPanel = React__default.memo(FiltersToolbarImpl);
|
|
3175
3181
|
|
|
@@ -3177,105 +3183,105 @@ var css$e = {"divider":"PresetsPanel-module_divider__vk5zN","dropdownDeleteIcon"
|
|
|
3177
3183
|
|
|
3178
3184
|
var css$d = {"preset-dropdown-panel":"PresetActionsDropdown-module_preset-dropdown-panel__7QqJq","delete-row":"PresetActionsDropdown-module_delete-row__Akkel","delete-button":"PresetActionsDropdown-module_delete-button__PUypn","targetOpen":"PresetActionsDropdown-module_targetOpen__d1eob","presetDropdownPanel":"PresetActionsDropdown-module_preset-dropdown-panel__7QqJq","deleteRow":"PresetActionsDropdown-module_delete-row__Akkel","deleteButton":"PresetActionsDropdown-module_delete-button__PUypn"};
|
|
3179
3185
|
|
|
3180
|
-
var _path$
|
|
3181
|
-
function _extends$
|
|
3186
|
+
var _path$b;
|
|
3187
|
+
function _extends$c() { _extends$c = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$c.apply(this, arguments); }
|
|
3182
3188
|
var SvgSaveOutline18 = function SvgSaveOutline18(props, ref) {
|
|
3183
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
3189
|
+
return /*#__PURE__*/React.createElement("svg", _extends$c({
|
|
3184
3190
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3185
3191
|
width: 18,
|
|
3186
3192
|
height: 18,
|
|
3187
3193
|
viewBox: "0 0 18 18",
|
|
3188
3194
|
ref: ref
|
|
3189
|
-
}, props), _path$
|
|
3195
|
+
}, props), _path$b || (_path$b = /*#__PURE__*/React.createElement("path", {
|
|
3190
3196
|
d: "M12.75 2.25h-9a1.5 1.5 0 0 0-1.5 1.5v10.5a1.5 1.5 0 0 0 1.5 1.5h10.5c.825 0 1.5-.675 1.5-1.5v-9l-3-3zm1.5 12H3.75V3.75h8.377l2.123 2.122v8.378zM9 9a2.247 2.247 0 0 0-2.25 2.25A2.247 2.247 0 0 0 9 13.5a2.247 2.247 0 0 0 2.25-2.25A2.247 2.247 0 0 0 9 9zM4.5 4.5h6.75v3H4.5v-3z"
|
|
3191
3197
|
})));
|
|
3192
3198
|
};
|
|
3193
|
-
var ForwardRef$
|
|
3199
|
+
var ForwardRef$c = /*#__PURE__*/forwardRef(SvgSaveOutline18);
|
|
3194
3200
|
|
|
3195
|
-
var _path$
|
|
3196
|
-
function _extends$
|
|
3201
|
+
var _path$a;
|
|
3202
|
+
function _extends$b() { _extends$b = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$b.apply(this, arguments); }
|
|
3197
3203
|
var SvgContentEditUndo18 = function SvgContentEditUndo18(props, ref) {
|
|
3198
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
3204
|
+
return /*#__PURE__*/React.createElement("svg", _extends$b({
|
|
3199
3205
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3200
3206
|
width: 18,
|
|
3201
3207
|
height: 18,
|
|
3202
3208
|
viewBox: "0 0 18 18",
|
|
3203
3209
|
ref: ref
|
|
3204
|
-
}, props), _path$
|
|
3210
|
+
}, props), _path$a || (_path$a = /*#__PURE__*/React.createElement("path", {
|
|
3205
3211
|
fillRule: "evenodd",
|
|
3206
3212
|
d: "M9.375 6A7.848 7.848 0 0 0 4.2 7.95l-2.7-2.7V12h6.75L5.535 9.285a5.965 5.965 0 0 1 3.84-1.41 6.009 6.009 0 0 1 5.7 4.125l1.777-.585C15.81 8.273 12.862 6 9.375 6z",
|
|
3207
3213
|
clipRule: "evenodd"
|
|
3208
3214
|
})));
|
|
3209
3215
|
};
|
|
3210
|
-
var ForwardRef$
|
|
3216
|
+
var ForwardRef$b = /*#__PURE__*/forwardRef(SvgContentEditUndo18);
|
|
3211
3217
|
|
|
3212
|
-
var _path$
|
|
3213
|
-
function _extends$
|
|
3218
|
+
var _path$9;
|
|
3219
|
+
function _extends$a() { _extends$a = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$a.apply(this, arguments); }
|
|
3214
3220
|
var SvgActionCopyContent18 = function SvgActionCopyContent18(props, ref) {
|
|
3215
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
3221
|
+
return /*#__PURE__*/React.createElement("svg", _extends$a({
|
|
3216
3222
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3217
3223
|
width: 18,
|
|
3218
3224
|
height: 18,
|
|
3219
3225
|
viewBox: "0 0 18 18",
|
|
3220
3226
|
ref: ref
|
|
3221
|
-
}, props), _path$
|
|
3227
|
+
}, props), _path$9 || (_path$9 = /*#__PURE__*/React.createElement("path", {
|
|
3222
3228
|
fillRule: "evenodd",
|
|
3223
3229
|
d: "M3 1h8v2H3v8H1V3a2 2 0 0 1 2-2zm2 6a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V7zm10 8H7V7h8v8z",
|
|
3224
3230
|
clipRule: "evenodd"
|
|
3225
3231
|
})));
|
|
3226
3232
|
};
|
|
3227
|
-
var ForwardRef$
|
|
3233
|
+
var ForwardRef$a = /*#__PURE__*/forwardRef(SvgActionCopyContent18);
|
|
3228
3234
|
|
|
3229
|
-
var _path$
|
|
3230
|
-
function _extends$
|
|
3235
|
+
var _path$8;
|
|
3236
|
+
function _extends$9() { _extends$9 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
|
|
3231
3237
|
var SvgContentEdit18 = function SvgContentEdit18(props, ref) {
|
|
3232
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
3238
|
+
return /*#__PURE__*/React.createElement("svg", _extends$9({
|
|
3233
3239
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3234
3240
|
width: 18,
|
|
3235
3241
|
height: 18,
|
|
3236
3242
|
viewBox: "0 0 18 18",
|
|
3237
3243
|
ref: ref
|
|
3238
|
-
}, props), _path$
|
|
3244
|
+
}, props), _path$8 || (_path$8 = /*#__PURE__*/React.createElement("path", {
|
|
3239
3245
|
fillRule: "evenodd",
|
|
3240
3246
|
d: "M2.25 12.94v2.812h2.813l8.294-8.295-2.812-2.813L2.25 12.94zm13.283-7.658a.747.747 0 0 0 0-1.058L13.777 2.47a.747.747 0 0 0-1.058 0l-1.373 1.373 2.813 2.812 1.373-1.372z",
|
|
3241
3247
|
clipRule: "evenodd"
|
|
3242
3248
|
})));
|
|
3243
3249
|
};
|
|
3244
|
-
var ForwardRef$
|
|
3250
|
+
var ForwardRef$9 = /*#__PURE__*/forwardRef(SvgContentEdit18);
|
|
3245
3251
|
|
|
3246
|
-
var _path$
|
|
3247
|
-
function _extends$
|
|
3252
|
+
var _path$7;
|
|
3253
|
+
function _extends$8() { _extends$8 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
|
|
3248
3254
|
var SvgContentLink18 = function SvgContentLink18(props, ref) {
|
|
3249
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
3255
|
+
return /*#__PURE__*/React.createElement("svg", _extends$8({
|
|
3250
3256
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3251
3257
|
width: 18,
|
|
3252
3258
|
height: 18,
|
|
3253
3259
|
viewBox: "0 0 18 18",
|
|
3254
3260
|
ref: ref
|
|
3255
|
-
}, props), _path$
|
|
3261
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/React.createElement("path", {
|
|
3256
3262
|
fillRule: "evenodd",
|
|
3257
3263
|
d: "M7.943 10.057a.73.73 0 0 1 0 1.066.756.756 0 0 1-1.065 0 3.753 3.753 0 0 1 0-5.303l2.655-2.655a3.753 3.753 0 0 1 5.302 0 3.753 3.753 0 0 1 0 5.302l-1.118 1.118a5.18 5.18 0 0 0-.3-1.815l.353-.36a2.236 2.236 0 0 0 0-3.18 2.236 2.236 0 0 0-3.18 0L7.943 6.877a2.236 2.236 0 0 0 0 3.18zm2.114-3.18a.756.756 0 0 1 1.066 0 3.753 3.753 0 0 1 0 5.303l-2.655 2.655a3.753 3.753 0 0 1-5.303 0 3.753 3.753 0 0 1 0-5.303l1.118-1.117a5.25 5.25 0 0 0 .3 1.823l-.353.352a2.236 2.236 0 0 0 0 3.18 2.236 2.236 0 0 0 3.18 0l2.647-2.647a2.236 2.236 0 0 0 0-3.18.73.73 0 0 1 0-1.066z",
|
|
3258
3264
|
clipRule: "evenodd"
|
|
3259
3265
|
})));
|
|
3260
3266
|
};
|
|
3261
|
-
var ForwardRef$
|
|
3267
|
+
var ForwardRef$8 = /*#__PURE__*/forwardRef(SvgContentLink18);
|
|
3262
3268
|
|
|
3263
|
-
var _path$
|
|
3264
|
-
function _extends$
|
|
3269
|
+
var _path$6;
|
|
3270
|
+
function _extends$7() { _extends$7 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
|
|
3265
3271
|
var SvgActionDeleteforever18 = function SvgActionDeleteforever18(props, ref) {
|
|
3266
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
3272
|
+
return /*#__PURE__*/React.createElement("svg", _extends$7({
|
|
3267
3273
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3268
3274
|
width: 18,
|
|
3269
3275
|
height: 18,
|
|
3270
3276
|
viewBox: "0 0 18 18",
|
|
3271
3277
|
ref: ref
|
|
3272
|
-
}, props), _path$
|
|
3278
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/React.createElement("path", {
|
|
3273
3279
|
fillRule: "evenodd",
|
|
3274
3280
|
d: "M7 2h4l1 1h3v2H3V3h3l1-1zM4 6h10v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6zm6.76 8.1L9 12.36 7.24 14.1l-1.16-1.16 1.74-1.76-1.78-1.8 1.2-1.18L9 10l1.76-1.8 1.18 1.18-1.76 1.8 1.76 1.76-1.18 1.16z",
|
|
3275
3281
|
clipRule: "evenodd"
|
|
3276
3282
|
})));
|
|
3277
3283
|
};
|
|
3278
|
-
var ForwardRef$
|
|
3284
|
+
var ForwardRef$7 = /*#__PURE__*/forwardRef(SvgActionDeleteforever18);
|
|
3279
3285
|
|
|
3280
3286
|
function PresetActionsDropdown(props) {
|
|
3281
3287
|
const { uuiNotifications } = useUuiContext();
|
|
@@ -3315,22 +3321,22 @@ function PresetActionsDropdown(props) {
|
|
|
3315
3321
|
return (React__default.createElement(Panel, { shadow: true, cx: css$d.presetDropdownPanel },
|
|
3316
3322
|
props.activePresetId === props.preset.id && props.hasPresetChanged(props.preset) && (React__default.createElement(React__default.Fragment, null,
|
|
3317
3323
|
!isReadonlyPreset && (React__default.createElement(FlexRow, { key: `${props.preset.id}-save-in-current` },
|
|
3318
|
-
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3324
|
+
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$q, caption: "Save in current", onClick: saveInCurrentHandler }))),
|
|
3319
3325
|
React__default.createElement(FlexRow, { key: `${props.preset.id}-save-as-new` },
|
|
3320
|
-
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3326
|
+
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$c, caption: "Save as new", onClick: props.addPreset })),
|
|
3321
3327
|
React__default.createElement(FlexRow, { key: `${props.preset.id}-discard`, borderBottom: true },
|
|
3322
|
-
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3328
|
+
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$b, caption: "Discard all changes", onClick: discardAllChangesHandler })))),
|
|
3323
3329
|
props.preset.id === props.activePresetId && !isReadonlyPreset && (React__default.createElement(FlexRow, { key: `${props.preset.id}-rename` },
|
|
3324
|
-
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3330
|
+
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$9, caption: "Rename", onClick: props.renamePreset }))),
|
|
3325
3331
|
React__default.createElement(FlexRow, { key: `${props.preset.id}-duplicate` },
|
|
3326
|
-
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3332
|
+
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$a, caption: "Duplicate", onClick: duplicateHandler })),
|
|
3327
3333
|
React__default.createElement(FlexRow, { borderBottom: true, key: `${props.preset.id}-copyLink` },
|
|
3328
|
-
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3334
|
+
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$8, caption: "Copy Link", onClick: copyUrlToClipboard })),
|
|
3329
3335
|
!isReadonlyPreset && (React__default.createElement(FlexRow, { key: `${props.preset.id}-delete`, cx: css$d.deleteRow },
|
|
3330
|
-
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3336
|
+
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$7, caption: "Delete", cx: css$d.deleteButton, onClick: deleteHandler })))));
|
|
3331
3337
|
};
|
|
3332
3338
|
const renderTarget = useCallback((dropdownProps) => {
|
|
3333
|
-
return (React__default.createElement(IconButton, Object.assign({ cx: dropdownProps.isOpen && css$d.targetOpen, color: props.preset.id === props.activePresetId ? 'info' : 'default' }, dropdownProps, { icon: ForwardRef$
|
|
3339
|
+
return (React__default.createElement(IconButton, Object.assign({ cx: dropdownProps.isOpen && css$d.targetOpen, color: props.preset.id === props.activePresetId ? 'info' : 'default' }, dropdownProps, { icon: ForwardRef$r })));
|
|
3334
3340
|
}, []);
|
|
3335
3341
|
return (React__default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
3336
3342
|
}
|
|
@@ -3381,6 +3387,21 @@ function Preset(props) {
|
|
|
3381
3387
|
return (React__default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__default.createElement(TabButton, { caption: props.preset.name, onClick: !isPresetActive && choosePresetHandler, cx: [css$b.preset, isPresetActive && css$b.activePreset], size: "60", withNotify: isPresetActive && props.hasPresetChanged(props.preset), icon: () => React__default.createElement(PresetActionsDropdown, Object.assign({ renamePreset: setPresetForRename }, props)), iconPosition: "right", isLinkActive: isPresetActive }))));
|
|
3382
3388
|
}
|
|
3383
3389
|
|
|
3390
|
+
var _path$5;
|
|
3391
|
+
function _extends$6() { _extends$6 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
|
|
3392
|
+
var SvgContentPlusBold18 = function SvgContentPlusBold18(props, ref) {
|
|
3393
|
+
return /*#__PURE__*/React.createElement("svg", _extends$6({
|
|
3394
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3395
|
+
width: 18,
|
|
3396
|
+
height: 18,
|
|
3397
|
+
viewBox: "0 0 18 18",
|
|
3398
|
+
ref: ref
|
|
3399
|
+
}, props), _path$5 || (_path$5 = /*#__PURE__*/React.createElement("path", {
|
|
3400
|
+
d: "M10.5 3h-3v4.5H3v3h4.5V15h3v-4.5H15v-3h-4.5V3z"
|
|
3401
|
+
})));
|
|
3402
|
+
};
|
|
3403
|
+
var ForwardRef$6 = /*#__PURE__*/forwardRef(SvgContentPlusBold18);
|
|
3404
|
+
|
|
3384
3405
|
function PresetsPanel(props) {
|
|
3385
3406
|
const [isAddingPreset, setIsAddingPreset] = useState(false);
|
|
3386
3407
|
const setAddingPreset = useCallback(() => {
|
|
@@ -3394,7 +3415,7 @@ function PresetsPanel(props) {
|
|
|
3394
3415
|
return React__default.createElement(Preset, Object.assign({ key: preset.id, preset: preset, addPreset: setAddingPreset }, presetApi));
|
|
3395
3416
|
};
|
|
3396
3417
|
const renderAddPresetButton = useCallback(() => {
|
|
3397
|
-
return (React__default.createElement("div", { key: "addingPresetBlock", className: css$e.addPresetContainer }, !isAddingPreset ? (React__default.createElement(Button, { size: "36", onClick: setAddingPreset, caption: i18n.presetPanel.addCaption, icon: ForwardRef$
|
|
3418
|
+
return (React__default.createElement("div", { key: "addingPresetBlock", className: css$e.addPresetContainer }, !isAddingPreset ? (React__default.createElement(Button, { size: "36", onClick: setAddingPreset, caption: i18n.presetPanel.addCaption, icon: ForwardRef$6, iconPosition: "left", mode: "ghost", color: "primary" })) : (React__default.createElement(PresetInput, { onCancel: cancelAddingPreset, onSuccess: props.createNewPreset }))));
|
|
3398
3419
|
}, [isAddingPreset]);
|
|
3399
3420
|
const onPresetDropdownSelect = (preset) => {
|
|
3400
3421
|
props.choosePreset(preset.preset);
|
|
@@ -3403,7 +3424,7 @@ function PresetsPanel(props) {
|
|
|
3403
3424
|
return (React__default.createElement(Dropdown, { key: "more", renderTarget: (props) => (React__default.createElement(FlexRow, null,
|
|
3404
3425
|
React__default.createElement("div", { className: css$e.divider }),
|
|
3405
3426
|
React__default.createElement(Button, Object.assign({ mode: "ghost", color: "secondary", caption: `${(hiddenItems === null || hiddenItems === void 0 ? void 0 : hiddenItems.length) || ''} more` }, props)))), renderBody: () => (React__default.createElement(DropdownContainer, { cx: cx$1(css$e.dropContainer), width: 230 },
|
|
3406
|
-
React__default.createElement(ScrollBars$1, null, hiddenItems.map((
|
|
3427
|
+
React__default.createElement(ScrollBars$1, null, hiddenItems.map((hiddenItem) => (React__default.createElement(DropdownMenuButton, { key: hiddenItem.preset.id, onClick: () => onPresetDropdownSelect(hiddenItem), caption: hiddenItem.preset.name, icon: !hiddenItem.preset.isReadonly && ForwardRef$7, iconPosition: "right", cx: css$e.dropdownDeleteIcon, onIconClick: !hiddenItem.preset.isReadonly && (() => props.deletePreset(hiddenItem.preset)) })))))) }));
|
|
3407
3428
|
};
|
|
3408
3429
|
const getPresetPriority = (preset, index) => {
|
|
3409
3430
|
return preset.id === props.activePresetId ? 100499 : 1000 - index;
|
|
@@ -3586,7 +3607,7 @@ var ForwardRef$1 = /*#__PURE__*/forwardRef(SvgMenuInputCancel);
|
|
|
3586
3607
|
var css$6 = {"search-input":"BurgerSearch-module_search-input__ot3xM","searchInput":"BurgerSearch-module_search-input__ot3xM"};
|
|
3587
3608
|
|
|
3588
3609
|
function BurgerSearch(props) {
|
|
3589
|
-
return (React.createElement(TextInput$1, { cx: css$6.searchInput, iconPosition: "left", icon: ForwardRef$
|
|
3610
|
+
return (React.createElement(TextInput$1, { cx: css$6.searchInput, iconPosition: "left", icon: ForwardRef$X, placeholder: props.placeholder, value: props.value, onValueChange: props.onValueChange, onCancel: props.onCancel, cancelIcon: props.value && ForwardRef$1, autoFocus: true }));
|
|
3590
3611
|
}
|
|
3591
3612
|
|
|
3592
3613
|
var css$5 = {"group-header":"BurgerGroupHeader-module_group-header__RPFIE","group-name":"BurgerGroupHeader-module_group-name__9SbW-","line":"BurgerGroupHeader-module_line__i1Bu-","groupHeader":"BurgerGroupHeader-module_group-header__RPFIE","groupName":"BurgerGroupHeader-module_group-name__9SbW-"};
|
|
@@ -3603,13 +3624,13 @@ const MainMenuAvatar = React.forwardRef((props, ref) => (React.createElement("bu
|
|
|
3603
3624
|
React.createElement(Avatar$1, { size: "36", img: props.avatarUrl }),
|
|
3604
3625
|
props.icon && React.createElement(IconContainer, { icon: props.icon }),
|
|
3605
3626
|
props.isDropdown && (React.createElement("div", null,
|
|
3606
|
-
React.createElement(IconContainer, { icon: ForwardRef$
|
|
3627
|
+
React.createElement(IconContainer, { icon: ForwardRef$11, flipY: props.isOpen }))))));
|
|
3607
3628
|
|
|
3608
3629
|
var css$3 = {"search-input":"MainMenuSearch-module_search-input__AdkL1","searchInput":"MainMenuSearch-module_search-input__AdkL1"};
|
|
3609
3630
|
|
|
3610
3631
|
const MainMenuSearch = React.forwardRef((props, ref) => (React.createElement(IEditableDebouncer, Object.assign({}, props, { render: (iEditable) => {
|
|
3611
3632
|
var _a;
|
|
3612
|
-
return (React.createElement(TextInput$1, Object.assign({ iconPosition: "left", icon: ForwardRef$
|
|
3633
|
+
return (React.createElement(TextInput$1, Object.assign({ iconPosition: "left", icon: ForwardRef$X, cancelIcon: ((_a = props.value) === null || _a === void 0 ? void 0 : _a.length) > 0 && ForwardRef$1 }, props, iEditable, { ref: ref, cx: cx$1(css$3.searchInput, props.cx) }, props.rawProps)));
|
|
3613
3634
|
} }))));
|
|
3614
3635
|
|
|
3615
3636
|
var css$2 = {"container":"MainMenuIcon-module_container__6NlKF"};
|