@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.js
CHANGED
|
@@ -32,335 +32,353 @@ var cx__default = /*#__PURE__*/_interopDefault(cx);
|
|
|
32
32
|
var FocusLock__default = /*#__PURE__*/_interopDefault(FocusLock);
|
|
33
33
|
var sortBy__default = /*#__PURE__*/_interopDefault(sortBy);
|
|
34
34
|
|
|
35
|
-
var _path$
|
|
36
|
-
function _extends$
|
|
35
|
+
var _path$12;
|
|
36
|
+
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); }
|
|
37
37
|
var SvgBtnCross12 = function SvgBtnCross12(props, ref) {
|
|
38
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
38
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$15({
|
|
39
39
|
xmlns: "http://www.w3.org/2000/svg",
|
|
40
40
|
width: 12,
|
|
41
41
|
height: 12,
|
|
42
42
|
viewBox: "0 0 12 12",
|
|
43
43
|
ref: ref
|
|
44
|
-
}, props), _path$
|
|
44
|
+
}, props), _path$12 || (_path$12 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
45
45
|
fillRule: "evenodd",
|
|
46
46
|
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"
|
|
47
47
|
})));
|
|
48
48
|
};
|
|
49
|
-
var ForwardRef$
|
|
49
|
+
var ForwardRef$15 = /*#__PURE__*/React.forwardRef(SvgBtnCross12);
|
|
50
50
|
|
|
51
|
-
var _path$
|
|
52
|
-
function _extends$
|
|
51
|
+
var _path$11;
|
|
52
|
+
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); }
|
|
53
53
|
var SvgBtnCross18 = function SvgBtnCross18(props, ref) {
|
|
54
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
54
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$14({
|
|
55
55
|
xmlns: "http://www.w3.org/2000/svg",
|
|
56
56
|
width: 18,
|
|
57
57
|
height: 18,
|
|
58
58
|
viewBox: "0 0 18 18",
|
|
59
59
|
ref: ref
|
|
60
|
-
}, props), _path$
|
|
60
|
+
}, props), _path$11 || (_path$11 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
61
61
|
fillRule: "evenodd",
|
|
62
62
|
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"
|
|
63
63
|
})));
|
|
64
64
|
};
|
|
65
|
-
var ForwardRef$
|
|
65
|
+
var ForwardRef$14 = /*#__PURE__*/React.forwardRef(SvgBtnCross18);
|
|
66
66
|
|
|
67
|
-
var _path
|
|
68
|
-
function _extends$
|
|
67
|
+
var _path$10;
|
|
68
|
+
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); }
|
|
69
69
|
var SvgBtnCross24 = function SvgBtnCross24(props, ref) {
|
|
70
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
70
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$13({
|
|
71
71
|
xmlns: "http://www.w3.org/2000/svg",
|
|
72
72
|
width: 24,
|
|
73
73
|
height: 24,
|
|
74
74
|
viewBox: "0 0 24 24",
|
|
75
75
|
ref: ref
|
|
76
|
-
}, props), _path
|
|
76
|
+
}, props), _path$10 || (_path$10 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
77
77
|
fillRule: "evenodd",
|
|
78
78
|
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"
|
|
79
79
|
})));
|
|
80
80
|
};
|
|
81
|
-
var ForwardRef$
|
|
81
|
+
var ForwardRef$13 = /*#__PURE__*/React.forwardRef(SvgBtnCross24);
|
|
82
82
|
|
|
83
|
-
var _path
|
|
84
|
-
function _extends$
|
|
83
|
+
var _path$$;
|
|
84
|
+
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); }
|
|
85
85
|
var SvgFoldingArrow12 = function SvgFoldingArrow12(props, ref) {
|
|
86
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
86
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$12({
|
|
87
87
|
xmlns: "http://www.w3.org/2000/svg",
|
|
88
88
|
width: 12,
|
|
89
89
|
height: 12,
|
|
90
90
|
viewBox: "0 0 12 12",
|
|
91
91
|
ref: ref
|
|
92
|
-
}, props), _path
|
|
92
|
+
}, props), _path$$ || (_path$$ = /*#__PURE__*/React__namespace.createElement("path", {
|
|
93
93
|
fillRule: "evenodd",
|
|
94
94
|
d: "M8.295 4.295 6 6.585l-2.295-2.29L3 5l3 3 3-3z"
|
|
95
95
|
})));
|
|
96
96
|
};
|
|
97
|
-
var ForwardRef$
|
|
97
|
+
var ForwardRef$12 = /*#__PURE__*/React.forwardRef(SvgFoldingArrow12);
|
|
98
98
|
|
|
99
|
-
var _path$
|
|
100
|
-
function _extends$
|
|
99
|
+
var _path$_;
|
|
100
|
+
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); }
|
|
101
101
|
var SvgFoldingArrow18 = function SvgFoldingArrow18(props, ref) {
|
|
102
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
102
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$11({
|
|
103
103
|
xmlns: "http://www.w3.org/2000/svg",
|
|
104
104
|
width: 18,
|
|
105
105
|
height: 18,
|
|
106
106
|
viewBox: "0 0 18 18",
|
|
107
107
|
ref: ref
|
|
108
|
-
}, props), _path$
|
|
108
|
+
}, props), _path$_ || (_path$_ = /*#__PURE__*/React__namespace.createElement("path", {
|
|
109
109
|
fillRule: "evenodd",
|
|
110
110
|
d: "M12.443 6.442 9 9.877 5.558 6.442 4.5 7.5 9 12l4.5-4.5z"
|
|
111
111
|
})));
|
|
112
112
|
};
|
|
113
|
-
var ForwardRef$
|
|
113
|
+
var ForwardRef$11 = /*#__PURE__*/React.forwardRef(SvgFoldingArrow18);
|
|
114
114
|
|
|
115
|
-
var _path$
|
|
116
|
-
function _extends
|
|
115
|
+
var _path$Z;
|
|
116
|
+
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); }
|
|
117
117
|
var SvgFoldingArrow24 = function SvgFoldingArrow24(props, ref) {
|
|
118
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends
|
|
118
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$10({
|
|
119
119
|
xmlns: "http://www.w3.org/2000/svg",
|
|
120
120
|
width: 24,
|
|
121
121
|
height: 24,
|
|
122
122
|
viewBox: "0 0 24 24",
|
|
123
123
|
ref: ref
|
|
124
|
-
}, props), _path$
|
|
124
|
+
}, props), _path$Z || (_path$Z = /*#__PURE__*/React__namespace.createElement("path", {
|
|
125
125
|
fillRule: "evenodd",
|
|
126
126
|
d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
|
|
127
127
|
})));
|
|
128
128
|
};
|
|
129
|
-
var ForwardRef
|
|
129
|
+
var ForwardRef$10 = /*#__PURE__*/React.forwardRef(SvgFoldingArrow24);
|
|
130
130
|
|
|
131
|
-
var _path$
|
|
132
|
-
function _extends
|
|
131
|
+
var _path$Y;
|
|
132
|
+
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); }
|
|
133
133
|
var SvgAccept12 = function SvgAccept12(props, ref) {
|
|
134
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends
|
|
134
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$$({
|
|
135
135
|
xmlns: "http://www.w3.org/2000/svg",
|
|
136
136
|
width: 12,
|
|
137
137
|
height: 12,
|
|
138
138
|
viewBox: "0 0 12 12",
|
|
139
139
|
ref: ref
|
|
140
|
-
}, props), _path$
|
|
140
|
+
}, props), _path$Y || (_path$Y = /*#__PURE__*/React__namespace.createElement("path", {
|
|
141
141
|
fillRule: "evenodd",
|
|
142
142
|
d: "M4.846 6.8 9.462 2 11 3.6 4.846 10l-.77-.8L1 6l1.538-1.6 2.308 2.4z"
|
|
143
143
|
})));
|
|
144
144
|
};
|
|
145
|
-
var ForwardRef
|
|
145
|
+
var ForwardRef$$ = /*#__PURE__*/React.forwardRef(SvgAccept12);
|
|
146
146
|
|
|
147
|
-
var _path$
|
|
148
|
-
function _extends$
|
|
147
|
+
var _path$X;
|
|
148
|
+
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); }
|
|
149
149
|
var SvgAccept18 = function SvgAccept18(props, ref) {
|
|
150
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
150
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$_({
|
|
151
151
|
xmlns: "http://www.w3.org/2000/svg",
|
|
152
152
|
width: 18,
|
|
153
153
|
height: 18,
|
|
154
154
|
viewBox: "0 0 18 18",
|
|
155
155
|
ref: ref
|
|
156
|
-
}, props), _path$
|
|
156
|
+
}, props), _path$X || (_path$X = /*#__PURE__*/React__namespace.createElement("path", {
|
|
157
157
|
fillRule: "evenodd",
|
|
158
158
|
d: "M7.136 11.91 4.034 8.776 3 9.821 7.136 14 16 5.045 14.966 4z"
|
|
159
159
|
})));
|
|
160
160
|
};
|
|
161
|
-
var ForwardRef$
|
|
161
|
+
var ForwardRef$_ = /*#__PURE__*/React.forwardRef(SvgAccept18);
|
|
162
162
|
|
|
163
|
-
var _path$
|
|
164
|
-
function _extends$
|
|
163
|
+
var _path$W;
|
|
164
|
+
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); }
|
|
165
165
|
var SvgAccept24 = function SvgAccept24(props, ref) {
|
|
166
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
166
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$Z({
|
|
167
167
|
xmlns: "http://www.w3.org/2000/svg",
|
|
168
168
|
width: 24,
|
|
169
169
|
height: 24,
|
|
170
170
|
viewBox: "0 0 24 24",
|
|
171
171
|
ref: ref
|
|
172
|
-
}, props), _path$
|
|
172
|
+
}, props), _path$W || (_path$W = /*#__PURE__*/React__namespace.createElement("path", {
|
|
173
173
|
fillRule: "evenodd",
|
|
174
174
|
d: "m9.727 16.075-4.295-4.388L4 13.149 9.727 19 22 6.463 20.568 5z"
|
|
175
175
|
})));
|
|
176
176
|
};
|
|
177
|
-
var ForwardRef$
|
|
177
|
+
var ForwardRef$Z = /*#__PURE__*/React.forwardRef(SvgAccept24);
|
|
178
178
|
|
|
179
|
-
var _path$
|
|
180
|
-
function _extends$
|
|
179
|
+
var _path$V;
|
|
180
|
+
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); }
|
|
181
181
|
var SvgSearch12 = function SvgSearch12(props, ref) {
|
|
182
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
182
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$Y({
|
|
183
183
|
xmlns: "http://www.w3.org/2000/svg",
|
|
184
184
|
width: 12,
|
|
185
185
|
height: 12,
|
|
186
186
|
viewBox: "0 0 12 12",
|
|
187
187
|
ref: ref
|
|
188
|
-
}, props), _path$
|
|
188
|
+
}, props), _path$V || (_path$V = /*#__PURE__*/React__namespace.createElement("path", {
|
|
189
189
|
fillRule: "evenodd",
|
|
190
190
|
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"
|
|
191
191
|
})));
|
|
192
192
|
};
|
|
193
|
-
var ForwardRef$
|
|
193
|
+
var ForwardRef$Y = /*#__PURE__*/React.forwardRef(SvgSearch12);
|
|
194
194
|
|
|
195
|
-
var _path$
|
|
196
|
-
function _extends$
|
|
195
|
+
var _path$U;
|
|
196
|
+
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); }
|
|
197
197
|
var SvgSearch18 = function SvgSearch18(props, ref) {
|
|
198
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
198
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$X({
|
|
199
199
|
xmlns: "http://www.w3.org/2000/svg",
|
|
200
200
|
width: 18,
|
|
201
201
|
height: 18,
|
|
202
202
|
viewBox: "0 0 18 18",
|
|
203
203
|
ref: ref
|
|
204
|
-
}, props), _path$
|
|
204
|
+
}, props), _path$U || (_path$U = /*#__PURE__*/React__namespace.createElement("path", {
|
|
205
205
|
fillRule: "evenodd",
|
|
206
206
|
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"
|
|
207
207
|
})));
|
|
208
208
|
};
|
|
209
|
-
var ForwardRef$
|
|
209
|
+
var ForwardRef$X = /*#__PURE__*/React.forwardRef(SvgSearch18);
|
|
210
210
|
|
|
211
|
-
var _path$
|
|
212
|
-
function _extends$
|
|
211
|
+
var _path$T;
|
|
212
|
+
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); }
|
|
213
213
|
var SvgSearch24 = function SvgSearch24(props, ref) {
|
|
214
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
214
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$W({
|
|
215
215
|
xmlns: "http://www.w3.org/2000/svg",
|
|
216
216
|
width: 24,
|
|
217
217
|
height: 24,
|
|
218
218
|
viewBox: "0 0 24 24",
|
|
219
219
|
ref: ref
|
|
220
|
-
}, props), _path$
|
|
220
|
+
}, props), _path$T || (_path$T = /*#__PURE__*/React__namespace.createElement("path", {
|
|
221
221
|
fillRule: "evenodd",
|
|
222
222
|
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"
|
|
223
223
|
})));
|
|
224
224
|
};
|
|
225
|
-
var ForwardRef$
|
|
225
|
+
var ForwardRef$W = /*#__PURE__*/React.forwardRef(SvgSearch24);
|
|
226
226
|
|
|
227
|
-
var _path$
|
|
228
|
-
function _extends$
|
|
227
|
+
var _path$S;
|
|
228
|
+
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); }
|
|
229
229
|
var SvgCalendar12 = function SvgCalendar12(props, ref) {
|
|
230
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
230
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$V({
|
|
231
231
|
xmlns: "http://www.w3.org/2000/svg",
|
|
232
232
|
width: 12,
|
|
233
233
|
height: 12,
|
|
234
234
|
viewBox: "0 0 12 12",
|
|
235
235
|
ref: ref
|
|
236
|
-
}, props), _path$
|
|
236
|
+
}, props), _path$S || (_path$S = /*#__PURE__*/React__namespace.createElement("path", {
|
|
237
237
|
fillRule: "evenodd",
|
|
238
238
|
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"
|
|
239
239
|
})));
|
|
240
240
|
};
|
|
241
|
-
var ForwardRef$
|
|
241
|
+
var ForwardRef$V = /*#__PURE__*/React.forwardRef(SvgCalendar12);
|
|
242
242
|
|
|
243
|
-
var _path$
|
|
244
|
-
function _extends$
|
|
243
|
+
var _path$R;
|
|
244
|
+
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); }
|
|
245
245
|
var SvgCalendar18 = function SvgCalendar18(props, ref) {
|
|
246
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
246
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$U({
|
|
247
247
|
xmlns: "http://www.w3.org/2000/svg",
|
|
248
248
|
width: 18,
|
|
249
249
|
height: 18,
|
|
250
250
|
viewBox: "0 0 18 18",
|
|
251
251
|
ref: ref
|
|
252
|
-
}, props), _path$
|
|
252
|
+
}, props), _path$R || (_path$R = /*#__PURE__*/React__namespace.createElement("path", {
|
|
253
253
|
fillRule: "evenodd",
|
|
254
254
|
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"
|
|
255
255
|
})));
|
|
256
256
|
};
|
|
257
|
-
var ForwardRef$
|
|
257
|
+
var ForwardRef$U = /*#__PURE__*/React.forwardRef(SvgCalendar18);
|
|
258
258
|
|
|
259
|
-
var _path$
|
|
260
|
-
function _extends$
|
|
259
|
+
var _path$Q;
|
|
260
|
+
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); }
|
|
261
261
|
var SvgCalendar24 = function SvgCalendar24(props, ref) {
|
|
262
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
262
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$T({
|
|
263
263
|
xmlns: "http://www.w3.org/2000/svg",
|
|
264
264
|
width: 24,
|
|
265
265
|
height: 24,
|
|
266
266
|
viewBox: "0 0 24 24",
|
|
267
267
|
ref: ref
|
|
268
|
-
}, props), _path$
|
|
268
|
+
}, props), _path$Q || (_path$Q = /*#__PURE__*/React__namespace.createElement("path", {
|
|
269
269
|
fillRule: "evenodd",
|
|
270
270
|
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"
|
|
271
271
|
})));
|
|
272
272
|
};
|
|
273
|
-
var ForwardRef$
|
|
273
|
+
var ForwardRef$T = /*#__PURE__*/React.forwardRef(SvgCalendar24);
|
|
274
274
|
|
|
275
|
-
var _path$
|
|
276
|
-
function _extends$
|
|
275
|
+
var _path$P;
|
|
276
|
+
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); }
|
|
277
277
|
var SvgInfo12 = function SvgInfo12(props, ref) {
|
|
278
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
278
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$S({
|
|
279
279
|
width: 12,
|
|
280
280
|
height: 12,
|
|
281
281
|
viewBox: "0 0 12 12",
|
|
282
282
|
xmlns: "http://www.w3.org/2000/svg",
|
|
283
283
|
ref: ref
|
|
284
|
-
}, props), _path$
|
|
284
|
+
}, props), _path$P || (_path$P = /*#__PURE__*/React__namespace.createElement("path", {
|
|
285
285
|
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",
|
|
286
286
|
fillRule: "evenodd"
|
|
287
287
|
})));
|
|
288
288
|
};
|
|
289
|
-
var ForwardRef$
|
|
289
|
+
var ForwardRef$S = /*#__PURE__*/React.forwardRef(SvgInfo12);
|
|
290
290
|
|
|
291
|
-
var _path$
|
|
292
|
-
function _extends$
|
|
291
|
+
var _path$O;
|
|
292
|
+
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); }
|
|
293
293
|
var SvgInfo18 = function SvgInfo18(props, ref) {
|
|
294
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
294
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$R({
|
|
295
295
|
xmlns: "http://www.w3.org/2000/svg",
|
|
296
296
|
width: 18,
|
|
297
297
|
height: 18,
|
|
298
298
|
viewBox: "0 0 18 18",
|
|
299
299
|
ref: ref
|
|
300
|
-
}, props), _path$
|
|
300
|
+
}, props), _path$O || (_path$O = /*#__PURE__*/React__namespace.createElement("path", {
|
|
301
301
|
fillRule: "evenodd",
|
|
302
302
|
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"
|
|
303
303
|
})));
|
|
304
304
|
};
|
|
305
|
-
var ForwardRef$
|
|
305
|
+
var ForwardRef$R = /*#__PURE__*/React.forwardRef(SvgInfo18);
|
|
306
306
|
|
|
307
|
-
var _path$
|
|
308
|
-
function _extends$
|
|
307
|
+
var _path$N;
|
|
308
|
+
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); }
|
|
309
309
|
var SvgInfo24 = function SvgInfo24(props, ref) {
|
|
310
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
310
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$Q({
|
|
311
311
|
xmlns: "http://www.w3.org/2000/svg",
|
|
312
312
|
width: 24,
|
|
313
313
|
height: 24,
|
|
314
314
|
viewBox: "0 0 24 24",
|
|
315
315
|
ref: ref
|
|
316
|
-
}, props), _path$
|
|
316
|
+
}, props), _path$N || (_path$N = /*#__PURE__*/React__namespace.createElement("path", {
|
|
317
317
|
fillRule: "evenodd",
|
|
318
318
|
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"
|
|
319
319
|
})));
|
|
320
320
|
};
|
|
321
|
-
var ForwardRef$
|
|
321
|
+
var ForwardRef$Q = /*#__PURE__*/React.forwardRef(SvgInfo24);
|
|
322
322
|
|
|
323
|
-
var _path$
|
|
324
|
-
function _extends$
|
|
323
|
+
var _path$M;
|
|
324
|
+
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); }
|
|
325
325
|
var SvgHelpFill10 = function SvgHelpFill10(props, ref) {
|
|
326
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
326
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$P({
|
|
327
327
|
width: 10,
|
|
328
328
|
height: 10,
|
|
329
329
|
viewBox: "0 0 10 10",
|
|
330
330
|
xmlns: "http://www.w3.org/2000/svg",
|
|
331
331
|
ref: ref
|
|
332
|
-
}, props), _path$
|
|
332
|
+
}, props), _path$M || (_path$M = /*#__PURE__*/React__namespace.createElement("path", {
|
|
333
333
|
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"
|
|
334
334
|
})));
|
|
335
335
|
};
|
|
336
|
-
var ForwardRef$
|
|
336
|
+
var ForwardRef$P = /*#__PURE__*/React.forwardRef(SvgHelpFill10);
|
|
337
337
|
|
|
338
|
-
var _path$
|
|
339
|
-
function _extends$
|
|
338
|
+
var _path$L;
|
|
339
|
+
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); }
|
|
340
340
|
var SvgHelpFill16 = function SvgHelpFill16(props, ref) {
|
|
341
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
341
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$O({
|
|
342
342
|
width: 16,
|
|
343
343
|
height: 16,
|
|
344
344
|
viewBox: "0 0 16 16",
|
|
345
345
|
xmlns: "http://www.w3.org/2000/svg",
|
|
346
346
|
ref: ref
|
|
347
|
-
}, props), _path$
|
|
347
|
+
}, props), _path$L || (_path$L = /*#__PURE__*/React__namespace.createElement("path", {
|
|
348
348
|
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"
|
|
349
349
|
})));
|
|
350
350
|
};
|
|
351
|
-
var ForwardRef$
|
|
351
|
+
var ForwardRef$O = /*#__PURE__*/React.forwardRef(SvgHelpFill16);
|
|
352
352
|
|
|
353
353
|
const systemIcons = {
|
|
354
354
|
18: {
|
|
355
|
+
clear: ForwardRef$15,
|
|
356
|
+
foldingArrow: ForwardRef$12,
|
|
357
|
+
accept: ForwardRef$$,
|
|
358
|
+
search: ForwardRef$Y,
|
|
359
|
+
calendar: ForwardRef$V,
|
|
360
|
+
info: ForwardRef$S,
|
|
361
|
+
help: ForwardRef$P,
|
|
362
|
+
},
|
|
363
|
+
24: {
|
|
364
|
+
clear: ForwardRef$15,
|
|
365
|
+
foldingArrow: ForwardRef$12,
|
|
366
|
+
accept: ForwardRef$$,
|
|
367
|
+
search: ForwardRef$Y,
|
|
368
|
+
calendar: ForwardRef$V,
|
|
369
|
+
info: ForwardRef$S,
|
|
370
|
+
help: ForwardRef$P,
|
|
371
|
+
},
|
|
372
|
+
30: {
|
|
355
373
|
clear: ForwardRef$14,
|
|
356
374
|
foldingArrow: ForwardRef$11,
|
|
357
375
|
accept: ForwardRef$_,
|
|
358
376
|
search: ForwardRef$X,
|
|
359
377
|
calendar: ForwardRef$U,
|
|
360
378
|
info: ForwardRef$R,
|
|
361
|
-
help: ForwardRef$
|
|
379
|
+
help: ForwardRef$P,
|
|
362
380
|
},
|
|
363
|
-
|
|
381
|
+
36: {
|
|
364
382
|
clear: ForwardRef$14,
|
|
365
383
|
foldingArrow: ForwardRef$11,
|
|
366
384
|
accept: ForwardRef$_,
|
|
@@ -369,59 +387,41 @@ const systemIcons = {
|
|
|
369
387
|
info: ForwardRef$R,
|
|
370
388
|
help: ForwardRef$O,
|
|
371
389
|
},
|
|
372
|
-
|
|
373
|
-
clear: ForwardRef$
|
|
374
|
-
foldingArrow: ForwardRef$
|
|
375
|
-
accept: ForwardRef$
|
|
376
|
-
search: ForwardRef$
|
|
377
|
-
calendar: ForwardRef$
|
|
378
|
-
info: ForwardRef$
|
|
390
|
+
42: {
|
|
391
|
+
clear: ForwardRef$14,
|
|
392
|
+
foldingArrow: ForwardRef$11,
|
|
393
|
+
accept: ForwardRef$_,
|
|
394
|
+
search: ForwardRef$X,
|
|
395
|
+
calendar: ForwardRef$U,
|
|
396
|
+
info: ForwardRef$R,
|
|
379
397
|
help: ForwardRef$O,
|
|
380
398
|
},
|
|
381
|
-
|
|
399
|
+
48: {
|
|
382
400
|
clear: ForwardRef$13,
|
|
383
401
|
foldingArrow: ForwardRef$10,
|
|
384
402
|
accept: ForwardRef$Z,
|
|
385
403
|
search: ForwardRef$W,
|
|
386
404
|
calendar: ForwardRef$T,
|
|
387
405
|
info: ForwardRef$Q,
|
|
388
|
-
help: ForwardRef$
|
|
406
|
+
help: ForwardRef$O,
|
|
389
407
|
},
|
|
390
|
-
|
|
408
|
+
60: {
|
|
391
409
|
clear: ForwardRef$13,
|
|
392
410
|
foldingArrow: ForwardRef$10,
|
|
393
411
|
accept: ForwardRef$Z,
|
|
394
412
|
search: ForwardRef$W,
|
|
395
413
|
calendar: ForwardRef$T,
|
|
396
414
|
info: ForwardRef$Q,
|
|
397
|
-
help: ForwardRef$
|
|
398
|
-
},
|
|
399
|
-
48: {
|
|
400
|
-
clear: ForwardRef$12,
|
|
401
|
-
foldingArrow: ForwardRef$$,
|
|
402
|
-
accept: ForwardRef$Y,
|
|
403
|
-
search: ForwardRef$V,
|
|
404
|
-
calendar: ForwardRef$S,
|
|
405
|
-
info: ForwardRef$P,
|
|
406
|
-
help: ForwardRef$N,
|
|
407
|
-
},
|
|
408
|
-
60: {
|
|
409
|
-
clear: ForwardRef$12,
|
|
410
|
-
foldingArrow: ForwardRef$$,
|
|
411
|
-
accept: ForwardRef$Y,
|
|
412
|
-
search: ForwardRef$V,
|
|
413
|
-
calendar: ForwardRef$S,
|
|
414
|
-
info: ForwardRef$P,
|
|
415
|
-
help: ForwardRef$N,
|
|
415
|
+
help: ForwardRef$O,
|
|
416
416
|
},
|
|
417
417
|
none: {
|
|
418
|
-
clear: ForwardRef$
|
|
419
|
-
foldingArrow: ForwardRef$
|
|
420
|
-
accept: ForwardRef$
|
|
421
|
-
search: ForwardRef$
|
|
422
|
-
calendar: ForwardRef$
|
|
423
|
-
info: ForwardRef$
|
|
424
|
-
help: ForwardRef$
|
|
418
|
+
clear: ForwardRef$14,
|
|
419
|
+
foldingArrow: ForwardRef$11,
|
|
420
|
+
accept: ForwardRef$_,
|
|
421
|
+
search: ForwardRef$X,
|
|
422
|
+
calendar: ForwardRef$U,
|
|
423
|
+
info: ForwardRef$R,
|
|
424
|
+
help: ForwardRef$O,
|
|
425
425
|
},
|
|
426
426
|
};
|
|
427
427
|
|
|
@@ -540,69 +540,69 @@ exports.EditMode = void 0;
|
|
|
540
540
|
EditMode["INLINE"] = "inline";
|
|
541
541
|
})(exports.EditMode || (exports.EditMode = {}));
|
|
542
542
|
|
|
543
|
-
var _path$
|
|
544
|
-
function _extends$
|
|
543
|
+
var _path$K;
|
|
544
|
+
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); }
|
|
545
545
|
var SvgCheck12 = function SvgCheck12(props, ref) {
|
|
546
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
546
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$N({
|
|
547
547
|
width: 12,
|
|
548
548
|
height: 12,
|
|
549
549
|
viewBox: "0 0 12 12",
|
|
550
550
|
xmlns: "http://www.w3.org/2000/svg",
|
|
551
551
|
ref: ref
|
|
552
|
-
}, props), _path$
|
|
552
|
+
}, props), _path$K || (_path$K = /*#__PURE__*/React__namespace.createElement("path", {
|
|
553
553
|
fillRule: "evenodd",
|
|
554
554
|
d: "M9.491 3.449 10.51 4.55 5.663 9.024 2.487 6.047l1.026-1.094L5.67 6.975z"
|
|
555
555
|
})));
|
|
556
556
|
};
|
|
557
|
-
var ForwardRef$
|
|
557
|
+
var ForwardRef$N = /*#__PURE__*/React.forwardRef(SvgCheck12);
|
|
558
558
|
|
|
559
|
-
var _path$
|
|
560
|
-
function _extends$
|
|
559
|
+
var _path$J;
|
|
560
|
+
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); }
|
|
561
561
|
var SvgCheck18 = function SvgCheck18(props, ref) {
|
|
562
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
562
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$M({
|
|
563
563
|
width: 18,
|
|
564
564
|
height: 18,
|
|
565
565
|
viewBox: "0 0 18 18",
|
|
566
566
|
xmlns: "http://www.w3.org/2000/svg",
|
|
567
567
|
ref: ref
|
|
568
|
-
}, props), _path$
|
|
568
|
+
}, props), _path$J || (_path$J = /*#__PURE__*/React__namespace.createElement("path", {
|
|
569
569
|
fillRule: "evenodd",
|
|
570
570
|
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"
|
|
571
571
|
})));
|
|
572
572
|
};
|
|
573
|
-
var ForwardRef$
|
|
573
|
+
var ForwardRef$M = /*#__PURE__*/React.forwardRef(SvgCheck18);
|
|
574
574
|
|
|
575
|
-
var _path$
|
|
576
|
-
function _extends$
|
|
575
|
+
var _path$I;
|
|
576
|
+
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); }
|
|
577
577
|
var SvgPartlySelect12 = function SvgPartlySelect12(props, ref) {
|
|
578
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
578
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$L({
|
|
579
579
|
width: 12,
|
|
580
580
|
height: 12,
|
|
581
581
|
viewBox: "0 0 12 12",
|
|
582
582
|
xmlns: "http://www.w3.org/2000/svg",
|
|
583
583
|
ref: ref
|
|
584
|
-
}, props), _path$
|
|
584
|
+
}, props), _path$I || (_path$I = /*#__PURE__*/React__namespace.createElement("path", {
|
|
585
585
|
fillRule: "evenodd",
|
|
586
586
|
d: "M9 5v2H3V5z"
|
|
587
587
|
})));
|
|
588
588
|
};
|
|
589
|
-
var ForwardRef$
|
|
589
|
+
var ForwardRef$L = /*#__PURE__*/React.forwardRef(SvgPartlySelect12);
|
|
590
590
|
|
|
591
|
-
var _path$
|
|
592
|
-
function _extends$
|
|
591
|
+
var _path$H;
|
|
592
|
+
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); }
|
|
593
593
|
var SvgPartlySelect18 = function SvgPartlySelect18(props, ref) {
|
|
594
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
594
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$K({
|
|
595
595
|
width: 18,
|
|
596
596
|
height: 18,
|
|
597
597
|
viewBox: "0 0 18 18",
|
|
598
598
|
xmlns: "http://www.w3.org/2000/svg",
|
|
599
599
|
ref: ref
|
|
600
|
-
}, props), _path$
|
|
600
|
+
}, props), _path$H || (_path$H = /*#__PURE__*/React__namespace.createElement("path", {
|
|
601
601
|
fillRule: "evenodd",
|
|
602
602
|
d: "M14 8v2H4V8z"
|
|
603
603
|
})));
|
|
604
604
|
};
|
|
605
|
-
var ForwardRef$
|
|
605
|
+
var ForwardRef$K = /*#__PURE__*/React.forwardRef(SvgPartlySelect18);
|
|
606
606
|
|
|
607
607
|
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"};
|
|
608
608
|
|
|
@@ -612,17 +612,17 @@ function applyCheckboxMods(mods) {
|
|
|
612
612
|
];
|
|
613
613
|
}
|
|
614
614
|
const applyUUICheckboxProps = (props) => ({
|
|
615
|
-
icon: props.size === '12' ? ForwardRef$
|
|
616
|
-
indeterminateIcon: props.size === '12' ? ForwardRef$
|
|
615
|
+
icon: props.size === '12' ? ForwardRef$N : ForwardRef$M,
|
|
616
|
+
indeterminateIcon: props.size === '12' ? ForwardRef$L : ForwardRef$K,
|
|
617
617
|
});
|
|
618
618
|
const Checkbox = uuiCore.withMods(uuiComponents.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
619
619
|
|
|
620
620
|
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"};
|
|
621
621
|
|
|
622
622
|
var _circle;
|
|
623
|
-
function _extends$
|
|
623
|
+
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); }
|
|
624
624
|
var SvgRadioPoint = function SvgRadioPoint(props, ref) {
|
|
625
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
625
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$J({
|
|
626
626
|
width: 18,
|
|
627
627
|
height: 18,
|
|
628
628
|
viewBox: "0 0 18 18",
|
|
@@ -634,12 +634,12 @@ var SvgRadioPoint = function SvgRadioPoint(props, ref) {
|
|
|
634
634
|
r: 6
|
|
635
635
|
})));
|
|
636
636
|
};
|
|
637
|
-
var ForwardRef$
|
|
637
|
+
var ForwardRef$J = /*#__PURE__*/React.forwardRef(SvgRadioPoint);
|
|
638
638
|
|
|
639
639
|
function applyRadioInputMods(mods) {
|
|
640
640
|
return [css$_.root, css$_['size-' + (mods.size || '18')]];
|
|
641
641
|
}
|
|
642
|
-
const RadioInput = uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, () => ({ icon: ForwardRef$
|
|
642
|
+
const RadioInput = uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, () => ({ icon: ForwardRef$J }));
|
|
643
643
|
|
|
644
644
|
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"};
|
|
645
645
|
|
|
@@ -749,85 +749,85 @@ const Panel = uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
|
749
749
|
'uui-panel', css$V.root, props.shadow && css$V.shadow, props.margin && css$V['margin-' + props.margin],
|
|
750
750
|
]);
|
|
751
751
|
|
|
752
|
-
var _path$
|
|
753
|
-
function _extends$
|
|
752
|
+
var _path$G;
|
|
753
|
+
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); }
|
|
754
754
|
var SvgNotificationCheckCircleFill24 = function SvgNotificationCheckCircleFill24(props, ref) {
|
|
755
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
755
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$I({
|
|
756
756
|
xmlns: "http://www.w3.org/2000/svg",
|
|
757
757
|
width: 24,
|
|
758
758
|
height: 24,
|
|
759
759
|
viewBox: "0 0 24 24",
|
|
760
760
|
ref: ref
|
|
761
|
-
}, props), _path$
|
|
761
|
+
}, props), _path$G || (_path$G = /*#__PURE__*/React__namespace.createElement("path", {
|
|
762
762
|
fillRule: "evenodd",
|
|
763
763
|
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"
|
|
764
764
|
})));
|
|
765
765
|
};
|
|
766
|
-
var ForwardRef$
|
|
766
|
+
var ForwardRef$I = /*#__PURE__*/React.forwardRef(SvgNotificationCheckCircleFill24);
|
|
767
767
|
|
|
768
|
-
var _path$
|
|
769
|
-
function _extends$
|
|
768
|
+
var _path$F;
|
|
769
|
+
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); }
|
|
770
770
|
var SvgNotificationWarningFill24 = function SvgNotificationWarningFill24(props, ref) {
|
|
771
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
771
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
|
|
772
772
|
xmlns: "http://www.w3.org/2000/svg",
|
|
773
773
|
width: 24,
|
|
774
774
|
height: 24,
|
|
775
775
|
viewBox: "0 0 24 24",
|
|
776
776
|
ref: ref
|
|
777
|
-
}, props), _path$
|
|
777
|
+
}, props), _path$F || (_path$F = /*#__PURE__*/React__namespace.createElement("path", {
|
|
778
778
|
fillRule: "evenodd",
|
|
779
779
|
d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"
|
|
780
780
|
})));
|
|
781
781
|
};
|
|
782
|
-
var ForwardRef$
|
|
782
|
+
var ForwardRef$H = /*#__PURE__*/React.forwardRef(SvgNotificationWarningFill24);
|
|
783
783
|
|
|
784
|
-
var _path$
|
|
785
|
-
function _extends$
|
|
784
|
+
var _path$E;
|
|
785
|
+
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); }
|
|
786
786
|
var SvgNotificationErrorFill24 = function SvgNotificationErrorFill24(props, ref) {
|
|
787
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
787
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
|
|
788
788
|
xmlns: "http://www.w3.org/2000/svg",
|
|
789
789
|
width: 24,
|
|
790
790
|
height: 24,
|
|
791
791
|
viewBox: "0 0 24 24",
|
|
792
792
|
ref: ref
|
|
793
|
-
}, props), _path$
|
|
793
|
+
}, props), _path$E || (_path$E = /*#__PURE__*/React__namespace.createElement("path", {
|
|
794
794
|
fillRule: "evenodd",
|
|
795
795
|
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"
|
|
796
796
|
})));
|
|
797
797
|
};
|
|
798
|
-
var ForwardRef$
|
|
798
|
+
var ForwardRef$G = /*#__PURE__*/React.forwardRef(SvgNotificationErrorFill24);
|
|
799
799
|
|
|
800
|
-
var _path$
|
|
801
|
-
function _extends$
|
|
800
|
+
var _path$D;
|
|
801
|
+
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); }
|
|
802
802
|
var SvgNotificationHelpFill24 = function SvgNotificationHelpFill24(props, ref) {
|
|
803
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
803
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
|
|
804
804
|
xmlns: "http://www.w3.org/2000/svg",
|
|
805
805
|
width: 24,
|
|
806
806
|
height: 24,
|
|
807
807
|
viewBox: "0 0 24 24",
|
|
808
808
|
ref: ref
|
|
809
|
-
}, props), _path$
|
|
809
|
+
}, props), _path$D || (_path$D = /*#__PURE__*/React__namespace.createElement("path", {
|
|
810
810
|
fillRule: "evenodd",
|
|
811
811
|
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"
|
|
812
812
|
})));
|
|
813
813
|
};
|
|
814
|
-
var ForwardRef$
|
|
814
|
+
var ForwardRef$F = /*#__PURE__*/React.forwardRef(SvgNotificationHelpFill24);
|
|
815
815
|
|
|
816
|
-
var _path$
|
|
817
|
-
function _extends$
|
|
816
|
+
var _path$C;
|
|
817
|
+
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); }
|
|
818
818
|
var SvgNavigationClose24$1 = function SvgNavigationClose24(props, ref) {
|
|
819
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
819
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
|
|
820
820
|
xmlns: "http://www.w3.org/2000/svg",
|
|
821
821
|
width: 24,
|
|
822
822
|
height: 24,
|
|
823
823
|
viewBox: "0 0 24 24",
|
|
824
824
|
ref: ref
|
|
825
|
-
}, props), _path$
|
|
825
|
+
}, props), _path$C || (_path$C = /*#__PURE__*/React__namespace.createElement("path", {
|
|
826
826
|
fillRule: "evenodd",
|
|
827
827
|
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"
|
|
828
828
|
})));
|
|
829
829
|
};
|
|
830
|
-
var ForwardRef$
|
|
830
|
+
var ForwardRef$E = /*#__PURE__*/React.forwardRef(SvgNavigationClose24$1);
|
|
831
831
|
|
|
832
832
|
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"};
|
|
833
833
|
|
|
@@ -838,11 +838,11 @@ const Alert = React__namespace.forwardRef((props, ref) => (React__namespace.crea
|
|
|
838
838
|
React__namespace.createElement("div", { className: css$U.content },
|
|
839
839
|
props.children,
|
|
840
840
|
props.actions && (React__namespace.createElement("div", { className: css$U.actionWrapper }, props.actions.map((action) => (React__namespace.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$U.actionLink, size: "30" })))))),
|
|
841
|
-
props.onClose && React__namespace.createElement(IconButton, { icon: ForwardRef$
|
|
842
|
-
const WarningAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
843
|
-
const SuccessAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
844
|
-
const HintAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
845
|
-
const ErrorAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
841
|
+
props.onClose && React__namespace.createElement(IconButton, { icon: ForwardRef$E, color: "default", onClick: props.onClose, cx: css$U.closeIcon })))));
|
|
842
|
+
const WarningAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$H, color: "warning", ref: ref }, props)));
|
|
843
|
+
const SuccessAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$I, color: "success", ref: ref }, props)));
|
|
844
|
+
const HintAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$F, color: "info", ref: ref }, props)));
|
|
845
|
+
const ErrorAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$G, color: "error", ref: ref }, props)));
|
|
846
846
|
|
|
847
847
|
class Dropdown extends React__namespace.Component {
|
|
848
848
|
render() {
|
|
@@ -1052,7 +1052,7 @@ class ModalHeader extends React__namespace.Component {
|
|
|
1052
1052
|
this.props.children,
|
|
1053
1053
|
this.props.onClose && React__namespace.createElement(uuiComponents.FlexSpacer, null),
|
|
1054
1054
|
this.props.onClose && (React__namespace.createElement(FlexCell, { shrink: 0, width: "auto" },
|
|
1055
|
-
React__namespace.createElement(IconButton, { icon: ForwardRef$
|
|
1055
|
+
React__namespace.createElement(IconButton, { icon: ForwardRef$E, onClick: this.props.onClose })))));
|
|
1056
1056
|
}
|
|
1057
1057
|
}
|
|
1058
1058
|
class ModalFooter extends React__namespace.Component {
|
|
@@ -1138,7 +1138,6 @@ const i18n = Object.assign(Object.assign({}, uuiCore.i18n), { dataPickerBody: {
|
|
|
1138
1138
|
},
|
|
1139
1139
|
pickerInput: {
|
|
1140
1140
|
itemsPlaceholder: 'items',
|
|
1141
|
-
emptyValueCaption: 'ALL',
|
|
1142
1141
|
},
|
|
1143
1142
|
}, presetPanel: {
|
|
1144
1143
|
addCaption: 'Add Preset',
|
|
@@ -1147,21 +1146,21 @@ const i18n = Object.assign(Object.assign({}, uuiCore.i18n), { dataPickerBody: {
|
|
|
1147
1146
|
saveButton: 'Save',
|
|
1148
1147
|
} });
|
|
1149
1148
|
|
|
1150
|
-
var _path$
|
|
1151
|
-
function _extends$
|
|
1149
|
+
var _path$B;
|
|
1150
|
+
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); }
|
|
1152
1151
|
var SvgCross = function SvgCross(props, ref) {
|
|
1153
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1152
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
|
|
1154
1153
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1155
1154
|
width: 24,
|
|
1156
1155
|
height: 24,
|
|
1157
1156
|
viewBox: "0 0 24 24",
|
|
1158
1157
|
ref: ref
|
|
1159
|
-
}, props), _path$
|
|
1158
|
+
}, props), _path$B || (_path$B = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1160
1159
|
fillRule: "evenodd",
|
|
1161
1160
|
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"
|
|
1162
1161
|
})));
|
|
1163
1162
|
};
|
|
1164
|
-
var ForwardRef$
|
|
1163
|
+
var ForwardRef$D = /*#__PURE__*/React.forwardRef(SvgCross);
|
|
1165
1164
|
|
|
1166
1165
|
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"};
|
|
1167
1166
|
|
|
@@ -1186,12 +1185,12 @@ const NotificationCard = React__namespace.default.forwardRef((props, ref) => {
|
|
|
1186
1185
|
props.children,
|
|
1187
1186
|
props.actions && (React__namespace.default.createElement("div", { className: css$N.actionWrapper }, props.actions.map((action) => (React__namespace.default.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$N.actionLink, size: "36", rawProps: action.rawProps })))))),
|
|
1188
1187
|
props.onClose && (React__namespace.default.createElement("div", { className: css$N.closeWrapper },
|
|
1189
|
-
React__namespace.default.createElement(IconButton, { icon: ForwardRef$
|
|
1188
|
+
React__namespace.default.createElement(IconButton, { icon: ForwardRef$D, color: "default", onClick: props.onClose, cx: css$N.closeIcon }))))));
|
|
1190
1189
|
});
|
|
1191
|
-
const WarningNotification = React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1192
|
-
const SuccessNotification = React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1193
|
-
const HintNotification = React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1194
|
-
const ErrorNotification = React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1190
|
+
const WarningNotification = React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$H, color: "warning" }, props, { ref: ref, cx: props.cx }))));
|
|
1191
|
+
const SuccessNotification = React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$I, color: "success" }, props, { ref: ref, cx: props.cx }))));
|
|
1192
|
+
const HintNotification = React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$F, color: "info" }, props, { ref: ref, cx: props.cx }))));
|
|
1193
|
+
const ErrorNotification = React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$G, color: "error" }, props, { ref: ref, cx: props.cx }))));
|
|
1195
1194
|
class ClearNotification extends React__namespace.default.Component {
|
|
1196
1195
|
render() {
|
|
1197
1196
|
return (React__namespace.default.createElement("div", { className: cx__default.default(css$N.notificationWrapper, css$N.clearButton) },
|
|
@@ -1311,7 +1310,7 @@ var calendarCss = {"root":"Calendar-module_root__ldDAb"};
|
|
|
1311
1310
|
function applyDatePickerBodyMods() {
|
|
1312
1311
|
return [css$E.root, calendarCss.root];
|
|
1313
1312
|
}
|
|
1314
|
-
const DatePickerBody = uuiCore.withMods(uuiComponents.DatePickerBody, applyDatePickerBodyMods, () => ({ navIconLeft: ForwardRef$
|
|
1313
|
+
const DatePickerBody = uuiCore.withMods(uuiComponents.DatePickerBody, applyDatePickerBodyMods, () => ({ navIconLeft: ForwardRef$11, navIconRight: ForwardRef$11 }));
|
|
1315
1314
|
|
|
1316
1315
|
const defaultMode$1 = exports.EditMode.FORM;
|
|
1317
1316
|
class DatePicker extends uuiComponents.BaseDatePicker {
|
|
@@ -1345,8 +1344,8 @@ function applyRangeDatePickerBodyMods() {
|
|
|
1345
1344
|
];
|
|
1346
1345
|
}
|
|
1347
1346
|
const RangeDatePickerBody = uuiCore.withMods(uuiComponents.RangeDatePickerBody, applyRangeDatePickerBodyMods, () => ({
|
|
1348
|
-
navIconLeft: ForwardRef$
|
|
1349
|
-
navIconRight: ForwardRef$
|
|
1347
|
+
navIconLeft: ForwardRef$11,
|
|
1348
|
+
navIconRight: ForwardRef$11,
|
|
1350
1349
|
}));
|
|
1351
1350
|
|
|
1352
1351
|
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"};
|
|
@@ -1440,35 +1439,35 @@ const DataPickerFooter = React__namespace.default.memo(DataPickerFooterImpl);
|
|
|
1440
1439
|
|
|
1441
1440
|
var css$A = {"header":"DataPickerHeader-module_header__TkXlz","close":"DataPickerHeader-module_close__Tiy0j"};
|
|
1442
1441
|
|
|
1443
|
-
var _path$
|
|
1444
|
-
function _extends$
|
|
1442
|
+
var _path$A;
|
|
1443
|
+
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); }
|
|
1445
1444
|
var SvgNavigationClose24 = function SvgNavigationClose24(props, ref) {
|
|
1446
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1445
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
|
|
1447
1446
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1448
1447
|
width: 24,
|
|
1449
1448
|
height: 24,
|
|
1450
1449
|
viewBox: "0 0 24 24",
|
|
1451
1450
|
ref: ref
|
|
1452
|
-
}, props), _path$
|
|
1451
|
+
}, props), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1453
1452
|
fillRule: "evenodd",
|
|
1454
1453
|
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",
|
|
1455
1454
|
clipRule: "evenodd"
|
|
1456
1455
|
})));
|
|
1457
1456
|
};
|
|
1458
|
-
var ForwardRef$
|
|
1457
|
+
var ForwardRef$C = /*#__PURE__*/React.forwardRef(SvgNavigationClose24);
|
|
1459
1458
|
|
|
1460
1459
|
const DataPickerHeaderImpl = (props) => {
|
|
1461
1460
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
1462
|
-
return (React__namespace.default.createElement(FlexRow, { alignItems: "center", borderBottom: true,
|
|
1463
|
-
React__namespace.default.createElement(Text, { font: "semibold" }, title),
|
|
1464
|
-
React__namespace.default.createElement(IconButton, { icon: ForwardRef$
|
|
1461
|
+
return (React__namespace.default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$A.header },
|
|
1462
|
+
React__namespace.default.createElement(Text, { size: "48", font: "semibold" }, title),
|
|
1463
|
+
React__namespace.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 })));
|
|
1465
1464
|
};
|
|
1466
1465
|
const DataPickerHeader = React__namespace.default.memo(DataPickerHeaderImpl);
|
|
1467
1466
|
|
|
1468
1467
|
var _defs$1, _use;
|
|
1469
|
-
function _extends$
|
|
1468
|
+
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); }
|
|
1470
1469
|
var SvgTreeFoldingArrow = function SvgTreeFoldingArrow(props, ref) {
|
|
1471
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1470
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
|
|
1472
1471
|
width: 18,
|
|
1473
1472
|
height: 18,
|
|
1474
1473
|
viewBox: "0 0 18 18",
|
|
@@ -1486,7 +1485,7 @@ var SvgTreeFoldingArrow = function SvgTreeFoldingArrow(props, ref) {
|
|
|
1486
1485
|
fillRule: "evenodd"
|
|
1487
1486
|
})));
|
|
1488
1487
|
};
|
|
1489
|
-
var ForwardRef$
|
|
1488
|
+
var ForwardRef$B = /*#__PURE__*/React.forwardRef(SvgTreeFoldingArrow);
|
|
1490
1489
|
|
|
1491
1490
|
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"};
|
|
1492
1491
|
|
|
@@ -1497,7 +1496,7 @@ function DataTableRowAddons(props) {
|
|
|
1497
1496
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
1498
1497
|
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React__namespace.createElement(uuiComponents.DragHandle, { key: "dh", cx: css$z.dragHandle }),
|
|
1499
1498
|
((_b = row === null || row === void 0 ? void 0 : row.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) && (React__namespace.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 })),
|
|
1500
|
-
row.indent > 0 && (React__namespace.createElement("div", { key: "fold", className: css$z.indent, style: { marginLeft: (row.indent - 1) * 24 } }, row.isFoldable && (React__namespace.createElement(uuiComponents.IconContainer, { key: "icon", icon: ForwardRef$
|
|
1499
|
+
row.indent > 0 && (React__namespace.createElement("div", { key: "fold", className: css$z.indent, style: { marginLeft: (row.indent - 1) * 24 } }, row.isFoldable && (React__namespace.createElement(uuiComponents.IconContainer, { key: "icon", icon: ForwardRef$B, cx: [
|
|
1501
1500
|
css$z.foldingArrow, css$z[`folding-arrow-${additionalItemSize}`], uuiCore.uuiMarkers.clickable, css$z.iconContainer,
|
|
1502
1501
|
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row) }))))));
|
|
1503
1502
|
}
|
|
@@ -1545,33 +1544,50 @@ const DataTableRow = uuiCore.withMods(uuiComponents.DataTableRow, ({ borderBotto
|
|
|
1545
1544
|
|
|
1546
1545
|
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"};
|
|
1547
1546
|
|
|
1548
|
-
var _path$
|
|
1549
|
-
function _extends$
|
|
1547
|
+
var _path$z;
|
|
1548
|
+
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); }
|
|
1550
1549
|
var SvgActionSettings18 = function SvgActionSettings18(props, ref) {
|
|
1551
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1550
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
|
|
1552
1551
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1553
1552
|
width: 18,
|
|
1554
1553
|
height: 18,
|
|
1555
1554
|
viewBox: "0 0 18 18",
|
|
1556
1555
|
ref: ref
|
|
1557
|
-
}, props), _path$
|
|
1556
|
+
}, props), _path$z || (_path$z = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1558
1557
|
fillRule: "evenodd",
|
|
1559
1558
|
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",
|
|
1560
1559
|
clipRule: "evenodd"
|
|
1561
1560
|
})));
|
|
1562
1561
|
};
|
|
1563
|
-
var ForwardRef$
|
|
1562
|
+
var ForwardRef$A = /*#__PURE__*/React.forwardRef(SvgActionSettings18);
|
|
1564
1563
|
|
|
1565
1564
|
const DataTableHeaderRow = uuiCore.withMods(uuiComponents.DataTableHeaderRow, (mods) => [css$x.root], (mods) => ({
|
|
1566
1565
|
renderCell: (props) => React__namespace.createElement(DataTableHeaderCell, Object.assign({}, props, { size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key })),
|
|
1567
|
-
renderConfigButton: () => React__namespace.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: css$x.configIcon, color: "default", icon: ForwardRef$
|
|
1566
|
+
renderConfigButton: () => React__namespace.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: css$x.configIcon, color: "default", icon: ForwardRef$A }),
|
|
1568
1567
|
}));
|
|
1569
1568
|
|
|
1570
1569
|
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"};
|
|
1571
1570
|
|
|
1571
|
+
var _path$y;
|
|
1572
|
+
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); }
|
|
1573
|
+
var SvgTableSwap18 = function SvgTableSwap18(props, ref) {
|
|
1574
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
|
|
1575
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1576
|
+
width: 18,
|
|
1577
|
+
height: 18,
|
|
1578
|
+
viewBox: "0 0 18 18",
|
|
1579
|
+
ref: ref
|
|
1580
|
+
}, props), _path$y || (_path$y = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1581
|
+
fillRule: "evenodd",
|
|
1582
|
+
d: "M6 1 2 5h3v7h2V5h3L6 1zm7 12V6h-2v7H8l4 4 4-4h-3z",
|
|
1583
|
+
clipRule: "evenodd"
|
|
1584
|
+
})));
|
|
1585
|
+
};
|
|
1586
|
+
var ForwardRef$z = /*#__PURE__*/React.forwardRef(SvgTableSwap18);
|
|
1587
|
+
|
|
1572
1588
|
var _path$x;
|
|
1573
1589
|
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); }
|
|
1574
|
-
var
|
|
1590
|
+
var SvgTableSortAsc18 = function SvgTableSortAsc18(props, ref) {
|
|
1575
1591
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
|
|
1576
1592
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1577
1593
|
width: 18,
|
|
@@ -1580,15 +1596,15 @@ var SvgTableSwap18 = function SvgTableSwap18(props, ref) {
|
|
|
1580
1596
|
ref: ref
|
|
1581
1597
|
}, props), _path$x || (_path$x = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1582
1598
|
fillRule: "evenodd",
|
|
1583
|
-
d: "
|
|
1599
|
+
d: "M10 6v10H8V6H5l4-4 4 4h-3z",
|
|
1584
1600
|
clipRule: "evenodd"
|
|
1585
1601
|
})));
|
|
1586
1602
|
};
|
|
1587
|
-
var ForwardRef$y = /*#__PURE__*/React.forwardRef(
|
|
1603
|
+
var ForwardRef$y = /*#__PURE__*/React.forwardRef(SvgTableSortAsc18);
|
|
1588
1604
|
|
|
1589
1605
|
var _path$w;
|
|
1590
1606
|
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); }
|
|
1591
|
-
var
|
|
1607
|
+
var SvgTableSortDesc18 = function SvgTableSortDesc18(props, ref) {
|
|
1592
1608
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
|
|
1593
1609
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1594
1610
|
width: 18,
|
|
@@ -1597,15 +1613,15 @@ var SvgTableSortAsc18 = function SvgTableSortAsc18(props, ref) {
|
|
|
1597
1613
|
ref: ref
|
|
1598
1614
|
}, props), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1599
1615
|
fillRule: "evenodd",
|
|
1600
|
-
d: "M10
|
|
1616
|
+
d: "M10 12V2H8v10H5l4 4 4-4h-3z",
|
|
1601
1617
|
clipRule: "evenodd"
|
|
1602
1618
|
})));
|
|
1603
1619
|
};
|
|
1604
|
-
var ForwardRef$x = /*#__PURE__*/React.forwardRef(
|
|
1620
|
+
var ForwardRef$x = /*#__PURE__*/React.forwardRef(SvgTableSortDesc18);
|
|
1605
1621
|
|
|
1606
1622
|
var _path$v;
|
|
1607
1623
|
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); }
|
|
1608
|
-
var
|
|
1624
|
+
var SvgContentFiltration18 = function SvgContentFiltration18(props, ref) {
|
|
1609
1625
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
|
|
1610
1626
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1611
1627
|
width: 18,
|
|
@@ -1614,15 +1630,15 @@ var SvgTableSortDesc18 = function SvgTableSortDesc18(props, ref) {
|
|
|
1614
1630
|
ref: ref
|
|
1615
1631
|
}, props), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1616
1632
|
fillRule: "evenodd",
|
|
1617
|
-
d: "
|
|
1633
|
+
d: "m8 14 2 2v-5H8v3zM2 3v2h14V3H2zm6 8h2l6-6H2l6 6z",
|
|
1618
1634
|
clipRule: "evenodd"
|
|
1619
1635
|
})));
|
|
1620
1636
|
};
|
|
1621
|
-
var ForwardRef$w = /*#__PURE__*/React.forwardRef(
|
|
1637
|
+
var ForwardRef$w = /*#__PURE__*/React.forwardRef(SvgContentFiltration18);
|
|
1622
1638
|
|
|
1623
1639
|
var _path$u;
|
|
1624
1640
|
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); }
|
|
1625
|
-
var
|
|
1641
|
+
var SvgNavigationChevronDown18 = function SvgNavigationChevronDown18(props, ref) {
|
|
1626
1642
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
|
|
1627
1643
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1628
1644
|
width: 18,
|
|
@@ -1631,15 +1647,15 @@ var SvgContentFiltration18 = function SvgContentFiltration18(props, ref) {
|
|
|
1631
1647
|
ref: ref
|
|
1632
1648
|
}, props), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1633
1649
|
fillRule: "evenodd",
|
|
1634
|
-
d: "
|
|
1650
|
+
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",
|
|
1635
1651
|
clipRule: "evenodd"
|
|
1636
1652
|
})));
|
|
1637
1653
|
};
|
|
1638
|
-
var ForwardRef$v = /*#__PURE__*/React.forwardRef(
|
|
1654
|
+
var ForwardRef$v = /*#__PURE__*/React.forwardRef(SvgNavigationChevronDown18);
|
|
1639
1655
|
|
|
1640
1656
|
var _path$t;
|
|
1641
1657
|
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); }
|
|
1642
|
-
var
|
|
1658
|
+
var SvgNavigationChevronUp18 = function SvgNavigationChevronUp18(props, ref) {
|
|
1643
1659
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
|
|
1644
1660
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1645
1661
|
width: 18,
|
|
@@ -1648,15 +1664,15 @@ var SvgNavigationChevronDown18 = function SvgNavigationChevronDown18(props, ref)
|
|
|
1648
1664
|
ref: ref
|
|
1649
1665
|
}, props), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1650
1666
|
fillRule: "evenodd",
|
|
1651
|
-
d: "
|
|
1667
|
+
d: "m9 6-4.5 4.5 1.058 1.057L9 8.123l3.443 3.434L13.5 10.5 9 6z",
|
|
1652
1668
|
clipRule: "evenodd"
|
|
1653
1669
|
})));
|
|
1654
1670
|
};
|
|
1655
|
-
var ForwardRef$u = /*#__PURE__*/React.forwardRef(
|
|
1671
|
+
var ForwardRef$u = /*#__PURE__*/React.forwardRef(SvgNavigationChevronUp18);
|
|
1656
1672
|
|
|
1657
1673
|
var _path$s;
|
|
1658
1674
|
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); }
|
|
1659
|
-
var
|
|
1675
|
+
var SvgNotificationInfoOutline18 = function SvgNotificationInfoOutline18(props, ref) {
|
|
1660
1676
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
|
|
1661
1677
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1662
1678
|
width: 18,
|
|
@@ -1664,29 +1680,12 @@ var SvgNavigationChevronUp18 = function SvgNavigationChevronUp18(props, ref) {
|
|
|
1664
1680
|
viewBox: "0 0 18 18",
|
|
1665
1681
|
ref: ref
|
|
1666
1682
|
}, props), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1667
|
-
fillRule: "evenodd",
|
|
1668
|
-
d: "m9 6-4.5 4.5 1.058 1.057L9 8.123l3.443 3.434L13.5 10.5 9 6z",
|
|
1669
|
-
clipRule: "evenodd"
|
|
1670
|
-
})));
|
|
1671
|
-
};
|
|
1672
|
-
var ForwardRef$t = /*#__PURE__*/React.forwardRef(SvgNavigationChevronUp18);
|
|
1673
|
-
|
|
1674
|
-
var _path$r;
|
|
1675
|
-
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); }
|
|
1676
|
-
var SvgNotificationInfoOutline18 = function SvgNotificationInfoOutline18(props, ref) {
|
|
1677
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
|
|
1678
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1679
|
-
width: 18,
|
|
1680
|
-
height: 18,
|
|
1681
|
-
viewBox: "0 0 18 18",
|
|
1682
|
-
ref: ref
|
|
1683
|
-
}, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1684
1683
|
fillRule: "evenodd",
|
|
1685
1684
|
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",
|
|
1686
1685
|
clipRule: "evenodd"
|
|
1687
1686
|
})));
|
|
1688
1687
|
};
|
|
1689
|
-
var ForwardRef$
|
|
1688
|
+
var ForwardRef$t = /*#__PURE__*/React.forwardRef(SvgNotificationInfoOutline18);
|
|
1690
1689
|
|
|
1691
1690
|
class DataTableHeaderCell extends React__namespace.Component {
|
|
1692
1691
|
constructor() {
|
|
@@ -1703,10 +1702,10 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
1703
1702
|
React__namespace.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] },
|
|
1704
1703
|
React__namespace.createElement("div", { className: uuiCore.cx(css$w.iconCell, css$w['align-' + this.props.column.textAlign], uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCaptionWrapper) },
|
|
1705
1704
|
React__namespace.createElement(Text, { key: "text", lineHeight: "30", fontSize: "14", size: "30", cx: uuiCore.cx(css$w.caption, this.getTextStyle(), uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCaption) }, this.props.column.caption),
|
|
1706
|
-
this.props.column.info && (React__namespace.createElement(IconButton, { key: "info", cx: uuiCore.cx(css$w.icon, css$w.infoIcon, this.props.sortDirection && css$w.sortIconActive, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: "secondary", icon: ForwardRef$
|
|
1707
|
-
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React__namespace.createElement(IconButton, { key: "sort", cx: uuiCore.cx(css$w.icon, css$w.sortIcon, this.props.sortDirection && css$w.sortIconActive, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'default' : 'secondary', icon: this.props.sortDirection === 'desc' ? ForwardRef$
|
|
1708
|
-
this.props.isFilterActive && (React__namespace.createElement(IconButton, { key: "filter", cx: uuiCore.cx(css$w.icon, !this.props.sortDirection && css$w.filterIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "default", icon: ForwardRef$
|
|
1709
|
-
this.props.column.renderFilter && (React__namespace.createElement(IconButton, { key: "dropdown", cx: uuiCore.cx(css$w.icon, css$w.dropdownIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon: this.state.isDropdownOpen ? ForwardRef$
|
|
1705
|
+
this.props.column.info && (React__namespace.createElement(IconButton, { key: "info", cx: uuiCore.cx(css$w.icon, css$w.infoIcon, this.props.sortDirection && css$w.sortIconActive, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: "secondary", icon: ForwardRef$t })),
|
|
1706
|
+
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React__namespace.createElement(IconButton, { key: "sort", cx: uuiCore.cx(css$w.icon, css$w.sortIcon, this.props.sortDirection && css$w.sortIconActive, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'default' : 'secondary', icon: this.props.sortDirection === 'desc' ? ForwardRef$x : this.props.sortDirection === 'asc' ? ForwardRef$y : ForwardRef$z })),
|
|
1707
|
+
this.props.isFilterActive && (React__namespace.createElement(IconButton, { key: "filter", cx: uuiCore.cx(css$w.icon, !this.props.sortDirection && css$w.filterIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "default", icon: ForwardRef$w })),
|
|
1708
|
+
this.props.column.renderFilter && (React__namespace.createElement(IconButton, { key: "dropdown", cx: uuiCore.cx(css$w.icon, css$w.dropdownIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon: this.state.isDropdownOpen ? ForwardRef$u : ForwardRef$v }))))));
|
|
1710
1709
|
this.renderHeaderCheckbox = () => this.props.selectAll
|
|
1711
1710
|
&& this.props.isFirstColumn && (React__namespace.createElement(Checkbox, Object.assign({ size: +this.props.size < 36 ? '12' : '18' }, this.props.selectAll, { cx: uuiCore.cx(css$w.checkbox, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCheckbox) })));
|
|
1712
1711
|
this.renderResizeMark = (props) => React__namespace.createElement("div", { onMouseDown: props.onResizeStart, className: uuiCore.cx(css$w.resizeMark, uuiCore.uuiMarkers.draggable) });
|
|
@@ -1751,10 +1750,10 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
1751
1750
|
return columns;
|
|
1752
1751
|
};
|
|
1753
1752
|
|
|
1754
|
-
var _path$
|
|
1755
|
-
function _extends$
|
|
1753
|
+
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;
|
|
1754
|
+
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); }
|
|
1756
1755
|
var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
1757
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1756
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
|
|
1758
1757
|
width: 232,
|
|
1759
1758
|
height: 180,
|
|
1760
1759
|
viewBox: "0 0 232 180",
|
|
@@ -1763,7 +1762,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
1763
1762
|
ref: ref
|
|
1764
1763
|
}, props), /*#__PURE__*/React__namespace.createElement("g", {
|
|
1765
1764
|
clipPath: "url(#a)"
|
|
1766
|
-
}, _path$
|
|
1765
|
+
}, _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1767
1766
|
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",
|
|
1768
1767
|
fill: "#F5F6FA"
|
|
1769
1768
|
})), _path2$1 || (_path2$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -1889,7 +1888,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
1889
1888
|
d: "M0 0h230.897v180H0z"
|
|
1890
1889
|
})))));
|
|
1891
1890
|
};
|
|
1892
|
-
var ForwardRef$
|
|
1891
|
+
var ForwardRef$s = /*#__PURE__*/React.forwardRef(SvgEmptyTable);
|
|
1893
1892
|
|
|
1894
1893
|
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"};
|
|
1895
1894
|
|
|
@@ -1906,7 +1905,7 @@ function DataTable(props) {
|
|
|
1906
1905
|
const renderNoResultsBlock = React__namespace.useCallback(() => {
|
|
1907
1906
|
var _a;
|
|
1908
1907
|
return (React__namespace.createElement("div", { className: css$v.noResults }, props.renderNoResultsBlock ? ((_a = props.renderNoResultsBlock) === null || _a === void 0 ? void 0 : _a.call(props)) : (React__namespace.createElement(React__namespace.Fragment, null,
|
|
1909
|
-
React__namespace.createElement(uuiComponents.IconContainer, { cx: css$v.noResultsIcon, icon: ForwardRef$
|
|
1908
|
+
React__namespace.createElement(uuiComponents.IconContainer, { cx: css$v.noResultsIcon, icon: ForwardRef$s }),
|
|
1910
1909
|
React__namespace.createElement(Text, { cx: css$v.noResultsTitle, fontSize: "24", lineHeight: "30", color: "primary", font: "semibold" }, i18n.tables.noResultsBlock.title),
|
|
1911
1910
|
React__namespace.createElement(Text, { fontSize: "16", lineHeight: "24", font: "regular", color: "primary" }, i18n.tables.noResultsBlock.message)))));
|
|
1912
1911
|
}, [props.renderNoResultsBlock]);
|
|
@@ -1940,88 +1939,88 @@ function DataTable(props) {
|
|
|
1940
1939
|
|
|
1941
1940
|
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"};
|
|
1942
1941
|
|
|
1943
|
-
var _path$
|
|
1944
|
-
function _extends$
|
|
1942
|
+
var _path$q;
|
|
1943
|
+
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); }
|
|
1945
1944
|
var SvgNavigationMoreVert18 = function SvgNavigationMoreVert18(props, ref) {
|
|
1946
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1945
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
|
|
1947
1946
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1948
1947
|
width: 18,
|
|
1949
1948
|
height: 18,
|
|
1950
1949
|
viewBox: "0 0 18 18",
|
|
1951
1950
|
ref: ref
|
|
1952
|
-
}, props), _path$
|
|
1951
|
+
}, props), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1953
1952
|
fillRule: "evenodd",
|
|
1954
1953
|
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",
|
|
1955
1954
|
clipRule: "evenodd"
|
|
1956
1955
|
})));
|
|
1957
1956
|
};
|
|
1958
|
-
var ForwardRef$
|
|
1957
|
+
var ForwardRef$r = /*#__PURE__*/React.forwardRef(SvgNavigationMoreVert18);
|
|
1959
1958
|
|
|
1960
|
-
var _path$
|
|
1961
|
-
function _extends$
|
|
1959
|
+
var _path$p;
|
|
1960
|
+
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); }
|
|
1962
1961
|
var SvgActionUpdate18 = function SvgActionUpdate18(props, ref) {
|
|
1963
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1962
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
|
|
1964
1963
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1965
1964
|
width: 18,
|
|
1966
1965
|
height: 18,
|
|
1967
1966
|
viewBox: "0 0 18 18",
|
|
1968
1967
|
ref: ref
|
|
1969
|
-
}, props), _path$
|
|
1968
|
+
}, props), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1970
1969
|
fillRule: "evenodd",
|
|
1971
1970
|
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",
|
|
1972
1971
|
clipRule: "evenodd"
|
|
1973
1972
|
})));
|
|
1974
1973
|
};
|
|
1975
|
-
var ForwardRef$
|
|
1974
|
+
var ForwardRef$q = /*#__PURE__*/React.forwardRef(SvgActionUpdate18);
|
|
1976
1975
|
|
|
1977
|
-
var _path$
|
|
1978
|
-
function _extends$
|
|
1976
|
+
var _path$o;
|
|
1977
|
+
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); }
|
|
1979
1978
|
var SvgActionLockFill18 = function SvgActionLockFill18(props, ref) {
|
|
1980
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1979
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
|
|
1981
1980
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1982
1981
|
width: 18,
|
|
1983
1982
|
height: 18,
|
|
1984
1983
|
viewBox: "0 0 18 18",
|
|
1985
1984
|
ref: ref
|
|
1986
|
-
}, props), _path$
|
|
1985
|
+
}, props), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1987
1986
|
fillRule: "evenodd",
|
|
1988
1987
|
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",
|
|
1989
1988
|
clipRule: "evenodd"
|
|
1990
1989
|
})));
|
|
1991
1990
|
};
|
|
1992
|
-
var ForwardRef$
|
|
1991
|
+
var ForwardRef$p = /*#__PURE__*/React.forwardRef(SvgActionLockFill18);
|
|
1993
1992
|
|
|
1994
|
-
var _path$
|
|
1995
|
-
function _extends$
|
|
1993
|
+
var _path$n;
|
|
1994
|
+
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); }
|
|
1996
1995
|
var SvgActionPinOn18 = function SvgActionPinOn18(props, ref) {
|
|
1997
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1996
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
|
|
1998
1997
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1999
1998
|
width: 18,
|
|
2000
1999
|
height: 18,
|
|
2001
2000
|
viewBox: "0 0 18 18",
|
|
2002
2001
|
ref: ref
|
|
2003
|
-
}, props), _path$
|
|
2002
|
+
}, props), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2004
2003
|
fillRule: "evenodd",
|
|
2005
2004
|
d: "M12 9V3h1V2H5v1h1v6l-2 1v1h4v5h2v-5h4v-1l-2-1z",
|
|
2006
2005
|
clipRule: "evenodd"
|
|
2007
2006
|
})));
|
|
2008
2007
|
};
|
|
2009
|
-
var ForwardRef$
|
|
2008
|
+
var ForwardRef$o = /*#__PURE__*/React.forwardRef(SvgActionPinOn18);
|
|
2010
2009
|
|
|
2011
|
-
var _path$
|
|
2012
|
-
function _extends$
|
|
2010
|
+
var _path$m;
|
|
2011
|
+
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); }
|
|
2013
2012
|
var SvgActionPinOff18 = function SvgActionPinOff18(props, ref) {
|
|
2014
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
2013
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
|
|
2015
2014
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2016
2015
|
width: 18,
|
|
2017
2016
|
height: 18,
|
|
2018
2017
|
viewBox: "0 0 18 18",
|
|
2019
2018
|
ref: ref
|
|
2020
|
-
}, props), _path$
|
|
2019
|
+
}, props), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2021
2020
|
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"
|
|
2022
2021
|
})));
|
|
2023
2022
|
};
|
|
2024
|
-
var ForwardRef$
|
|
2023
|
+
var ForwardRef$n = /*#__PURE__*/React.forwardRef(SvgActionPinOff18);
|
|
2025
2024
|
|
|
2026
2025
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
2027
2026
|
function PinIconButton(props) {
|
|
@@ -2036,12 +2035,12 @@ function PinIconButton(props) {
|
|
|
2036
2035
|
}, [isPinned, isPinnedAlways]);
|
|
2037
2036
|
const pinIcon = React.useMemo(() => {
|
|
2038
2037
|
if (isPinnedAlways) {
|
|
2039
|
-
return ForwardRef$
|
|
2038
|
+
return ForwardRef$p;
|
|
2040
2039
|
}
|
|
2041
2040
|
if (isPinned) {
|
|
2042
|
-
return isHovered ? ForwardRef$
|
|
2041
|
+
return isHovered ? ForwardRef$n : ForwardRef$o;
|
|
2043
2042
|
}
|
|
2044
|
-
return ForwardRef$
|
|
2043
|
+
return ForwardRef$o;
|
|
2045
2044
|
}, [
|
|
2046
2045
|
isPinnedAlways, isHovered, isPinned,
|
|
2047
2046
|
]);
|
|
@@ -2121,7 +2120,7 @@ function ColumnsConfigurationModal(props) {
|
|
|
2121
2120
|
React__namespace.createElement(SearchInput, { size: "30", value: searchValue, onValueChange: setSearchValue, placeholder: i18n$1.searchPlaceholder }),
|
|
2122
2121
|
React__namespace.createElement(Dropdown, { closeOnTargetClick: true, renderBody: () => (React__namespace.createElement(Panel, { shadow: true },
|
|
2123
2122
|
React__namespace.createElement(DropdownMenuButton, { caption: i18n$1.clearAllButton, onClick: uncheckAll }),
|
|
2124
|
-
React__namespace.createElement(DropdownMenuButton, { caption: i18n$1.selectAllButton, onClick: checkAll }))), renderTarget: (props) => React__namespace.createElement(Button, Object.assign({}, props, { mode: "none", icon: ForwardRef$
|
|
2123
|
+
React__namespace.createElement(DropdownMenuButton, { caption: i18n$1.selectAllButton, onClick: checkAll }))), renderTarget: (props) => React__namespace.createElement(Button, Object.assign({}, props, { mode: "none", icon: ForwardRef$r, size: "30", color: "secondary", isDropdown: false })) })),
|
|
2125
2124
|
React__namespace.createElement(Panel, { cx: styles$1.mainPanel },
|
|
2126
2125
|
React__namespace.createElement(ScrollBars, null,
|
|
2127
2126
|
renderVisible(),
|
|
@@ -2130,7 +2129,7 @@ function ColumnsConfigurationModal(props) {
|
|
|
2130
2129
|
React__namespace.createElement(Text, { fontSize: "24", lineHeight: "30", color: "primary", font: "semibold" }, i18n$1.noResultsFound.text),
|
|
2131
2130
|
React__namespace.createElement(Text, { fontSize: "16", lineHeight: "24", font: "regular", color: "primary" }, i18n$1.noResultsFound.subText))))),
|
|
2132
2131
|
React__namespace.createElement(ModalFooter, { borderTop: true },
|
|
2133
|
-
React__namespace.createElement(LinkButton, { icon: ForwardRef$
|
|
2132
|
+
React__namespace.createElement(LinkButton, { icon: ForwardRef$q, caption: i18n$1.resetToDefaultButton, onClick: reset }),
|
|
2134
2133
|
React__namespace.createElement(uuiComponents.FlexSpacer, null),
|
|
2135
2134
|
React__namespace.createElement(Button, { mode: "none", color: "secondary", caption: i18n$1.cancelButton, onClick: close }),
|
|
2136
2135
|
noVisibleColumns ? (React__namespace.createElement(Tooltip, { content: i18n$1.enableAtLeastOneColumnMessage, placement: "top-end", color: "critical" }, applyButton)) : (applyButton)))));
|
|
@@ -2144,8 +2143,8 @@ const SortingPanelImpl = ({ sortDirection, onSort }) => {
|
|
|
2144
2143
|
const sortAsc = React.useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
|
|
2145
2144
|
const sortDesc = React.useCallback(() => onSort(sortDirection === 'desc' ? undefined : 'desc'), [onSort]);
|
|
2146
2145
|
return (React__namespace.default.createElement(FlexCell, { cx: css$t.sortingPanelContainer },
|
|
2147
|
-
React__namespace.default.createElement(DropdownMenuButton, { isActive: sortDirection === 'asc', caption: i18n.pickerFilterHeader.sortAscending, icon: ForwardRef$
|
|
2148
|
-
React__namespace.default.createElement(DropdownMenuButton, { isActive: sortDirection === 'desc', caption: i18n.pickerFilterHeader.sortDescending, icon: ForwardRef$
|
|
2146
|
+
React__namespace.default.createElement(DropdownMenuButton, { isActive: sortDirection === 'asc', caption: i18n.pickerFilterHeader.sortAscending, icon: ForwardRef$y, onClick: sortAsc }),
|
|
2147
|
+
React__namespace.default.createElement(DropdownMenuButton, { isActive: sortDirection === 'desc', caption: i18n.pickerFilterHeader.sortDescending, icon: ForwardRef$x, onClick: sortDesc })));
|
|
2149
2148
|
};
|
|
2150
2149
|
const SortingPanel = React__namespace.default.memo(SortingPanelImpl);
|
|
2151
2150
|
|
|
@@ -2167,54 +2166,54 @@ const ColumnHeaderDropdownImpl = (props) => {
|
|
|
2167
2166
|
};
|
|
2168
2167
|
const ColumnHeaderDropdown = React__namespace.default.memo(ColumnHeaderDropdownImpl);
|
|
2169
2168
|
|
|
2170
|
-
var _path$
|
|
2171
|
-
function _extends$
|
|
2169
|
+
var _path$l;
|
|
2170
|
+
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); }
|
|
2172
2171
|
var SvgNotificationDone24 = function SvgNotificationDone24(props, ref) {
|
|
2173
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
2172
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
|
|
2174
2173
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2175
2174
|
width: 24,
|
|
2176
2175
|
height: 24,
|
|
2177
2176
|
viewBox: "0 0 24 24",
|
|
2178
2177
|
ref: ref
|
|
2179
|
-
}, props), _path$
|
|
2178
|
+
}, props), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2180
2179
|
fillRule: "evenodd",
|
|
2181
2180
|
d: "m9.727 16.075-4.295-4.388L4 13.149 9.727 19 22 6.463 20.568 5 9.728 16.075z",
|
|
2182
2181
|
clipRule: "evenodd"
|
|
2183
2182
|
})));
|
|
2184
2183
|
};
|
|
2185
|
-
var ForwardRef$
|
|
2184
|
+
var ForwardRef$m = /*#__PURE__*/React.forwardRef(SvgNotificationDone24);
|
|
2186
2185
|
|
|
2187
|
-
var _path$
|
|
2188
|
-
function _extends$
|
|
2186
|
+
var _path$k;
|
|
2187
|
+
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); }
|
|
2189
2188
|
var SvgNotificationDone18 = function SvgNotificationDone18(props, ref) {
|
|
2190
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
2189
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
|
|
2191
2190
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2192
2191
|
width: 18,
|
|
2193
2192
|
height: 18,
|
|
2194
2193
|
viewBox: "0 0 18 18",
|
|
2195
2194
|
ref: ref
|
|
2196
|
-
}, props), _path$
|
|
2195
|
+
}, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2197
2196
|
fillRule: "evenodd",
|
|
2198
2197
|
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",
|
|
2199
2198
|
clipRule: "evenodd"
|
|
2200
2199
|
})));
|
|
2201
2200
|
};
|
|
2202
|
-
var ForwardRef$
|
|
2201
|
+
var ForwardRef$l = /*#__PURE__*/React.forwardRef(SvgNotificationDone18);
|
|
2203
2202
|
|
|
2204
|
-
var _path$
|
|
2205
|
-
function _extends$
|
|
2203
|
+
var _path$j;
|
|
2204
|
+
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); }
|
|
2206
2205
|
var SvgNotificationDone12 = function SvgNotificationDone12(props, ref) {
|
|
2207
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
2206
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
|
|
2208
2207
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2209
2208
|
width: 12,
|
|
2210
2209
|
height: 12,
|
|
2211
2210
|
viewBox: "0 0 12 12",
|
|
2212
2211
|
ref: ref
|
|
2213
|
-
}, props), _path$
|
|
2212
|
+
}, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2214
2213
|
d: "M11 3.6 9.462 2 4.846 6.8 2.538 4.4 1 6l3.846 4L11 3.6z"
|
|
2215
2214
|
})));
|
|
2216
2215
|
};
|
|
2217
|
-
var ForwardRef$
|
|
2216
|
+
var ForwardRef$k = /*#__PURE__*/React.forwardRef(SvgNotificationDone12);
|
|
2218
2217
|
|
|
2219
2218
|
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"};
|
|
2220
2219
|
|
|
@@ -2224,15 +2223,15 @@ class DataPickerRow extends React__namespace.Component {
|
|
|
2224
2223
|
this.getIcon = (size) => {
|
|
2225
2224
|
switch (size) {
|
|
2226
2225
|
case '24':
|
|
2227
|
-
return ForwardRef$j;
|
|
2228
|
-
case '30':
|
|
2229
2226
|
return ForwardRef$k;
|
|
2227
|
+
case '30':
|
|
2228
|
+
return ForwardRef$l;
|
|
2230
2229
|
case '36':
|
|
2231
|
-
return ForwardRef$k;
|
|
2232
|
-
case '42':
|
|
2233
2230
|
return ForwardRef$l;
|
|
2231
|
+
case '42':
|
|
2232
|
+
return ForwardRef$m;
|
|
2234
2233
|
default:
|
|
2235
|
-
return ForwardRef$
|
|
2234
|
+
return ForwardRef$l;
|
|
2236
2235
|
}
|
|
2237
2236
|
};
|
|
2238
2237
|
this.column = {
|
|
@@ -2267,17 +2266,17 @@ const MobileDropdownWrapper = (props) => {
|
|
|
2267
2266
|
|
|
2268
2267
|
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"};
|
|
2269
2268
|
|
|
2270
|
-
var _path$
|
|
2271
|
-
function _extends$
|
|
2269
|
+
var _path$i, _path2;
|
|
2270
|
+
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); }
|
|
2272
2271
|
var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
2273
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
2272
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
|
|
2274
2273
|
width: 66,
|
|
2275
2274
|
height: 67,
|
|
2276
2275
|
viewBox: "0 0 66 67",
|
|
2277
2276
|
fill: "none",
|
|
2278
2277
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2279
2278
|
ref: ref
|
|
2280
|
-
}, props), _path$
|
|
2279
|
+
}, props), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2281
2280
|
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",
|
|
2282
2281
|
fill: "#EBEDF5"
|
|
2283
2282
|
})), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -2287,14 +2286,14 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
|
2287
2286
|
fill: "#6C6F80"
|
|
2288
2287
|
})));
|
|
2289
2288
|
};
|
|
2290
|
-
var ForwardRef$
|
|
2289
|
+
var ForwardRef$j = /*#__PURE__*/React.forwardRef(SvgSearchWithBackground);
|
|
2291
2290
|
|
|
2292
2291
|
class PickerModalImpl extends uuiComponents.PickerModalBase {
|
|
2293
2292
|
constructor() {
|
|
2294
2293
|
super(...arguments);
|
|
2295
2294
|
this.renderNotFound = () => {
|
|
2296
2295
|
return this.props.renderNotFound ? (this.props.renderNotFound({ search: this.state.dataSourceState.search, onClose: () => this.props.success(null) })) : (React__namespace.createElement("div", { className: css$q.noFoundModalContainer },
|
|
2297
|
-
React__namespace.createElement(uuiComponents.IconContainer, { cx: css$q.noFoundModalContainerIcon, icon: ForwardRef$
|
|
2296
|
+
React__namespace.createElement(uuiComponents.IconContainer, { cx: css$q.noFoundModalContainerIcon, icon: ForwardRef$j }),
|
|
2298
2297
|
React__namespace.createElement(Text, { cx: css$q.noFoundModalContainerText, font: "semibold", fontSize: "16", lineHeight: "24", color: "primary", size: "36" }, i18n.dataPickerBody.noRecordsMessage),
|
|
2299
2298
|
React__namespace.createElement(Text, { cx: css$q.noFoundModalContainerText, fontSize: "12", lineHeight: "18", font: "regular", color: "primary", size: "36" }, i18n.dataPickerBody.noRecordsSubTitle)));
|
|
2300
2299
|
};
|
|
@@ -2393,79 +2392,79 @@ const Tag = uuiCore.withMods(uuiComponents.Button, applyTagMods, (props) => ({
|
|
|
2393
2392
|
|
|
2394
2393
|
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"};
|
|
2395
2394
|
|
|
2396
|
-
var _path$
|
|
2397
|
-
function _extends$
|
|
2395
|
+
var _path$h;
|
|
2396
|
+
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); }
|
|
2398
2397
|
var SvgNavigationChevronLeft12 = function SvgNavigationChevronLeft12(props, ref) {
|
|
2399
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
2398
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
|
|
2400
2399
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2401
2400
|
width: 12,
|
|
2402
2401
|
height: 12,
|
|
2403
2402
|
viewBox: "0 0 12 12",
|
|
2404
2403
|
ref: ref
|
|
2405
|
-
}, props), _path$
|
|
2404
|
+
}, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2406
2405
|
fillRule: "evenodd",
|
|
2407
2406
|
d: "M7.705 3.705 7 3 4 6l3 3 .705-.705L5.415 6l2.29-2.295z",
|
|
2408
2407
|
clipRule: "evenodd"
|
|
2409
2408
|
})));
|
|
2410
2409
|
};
|
|
2411
|
-
var ForwardRef$
|
|
2410
|
+
var ForwardRef$i = /*#__PURE__*/React.forwardRef(SvgNavigationChevronLeft12);
|
|
2412
2411
|
|
|
2413
|
-
var _path$
|
|
2414
|
-
function _extends$
|
|
2412
|
+
var _path$g;
|
|
2413
|
+
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); }
|
|
2415
2414
|
var SvgNavigationChevronRight12 = function SvgNavigationChevronRight12(props, ref) {
|
|
2416
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
2415
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
|
|
2417
2416
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2418
2417
|
width: 12,
|
|
2419
2418
|
height: 12,
|
|
2420
2419
|
viewBox: "0 0 12 12",
|
|
2421
2420
|
ref: ref
|
|
2422
|
-
}, props), _path$
|
|
2421
|
+
}, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2423
2422
|
fillRule: "evenodd",
|
|
2424
2423
|
d: "m5 3-.705.705L6.585 6l-2.29 2.295L5 9l3-3-3-3z",
|
|
2425
2424
|
clipRule: "evenodd"
|
|
2426
2425
|
})));
|
|
2427
2426
|
};
|
|
2428
|
-
var ForwardRef$
|
|
2427
|
+
var ForwardRef$h = /*#__PURE__*/React.forwardRef(SvgNavigationChevronRight12);
|
|
2429
2428
|
|
|
2430
|
-
var _path$
|
|
2431
|
-
function _extends$
|
|
2429
|
+
var _path$f;
|
|
2430
|
+
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); }
|
|
2432
2431
|
var SvgNavigationChevronLeft18 = function SvgNavigationChevronLeft18(props, ref) {
|
|
2433
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
2432
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
|
|
2434
2433
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2435
2434
|
width: 18,
|
|
2436
2435
|
height: 18,
|
|
2437
2436
|
viewBox: "0 0 18 18",
|
|
2438
2437
|
ref: ref
|
|
2439
|
-
}, props), _path$
|
|
2438
|
+
}, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2440
2439
|
fillRule: "evenodd",
|
|
2441
2440
|
d: "M11.557 5.558 10.5 4.5 6 9l4.5 4.5 1.057-1.057L8.123 9l3.434-3.442z",
|
|
2442
2441
|
clipRule: "evenodd"
|
|
2443
2442
|
})));
|
|
2444
2443
|
};
|
|
2445
|
-
var ForwardRef$
|
|
2444
|
+
var ForwardRef$g = /*#__PURE__*/React.forwardRef(SvgNavigationChevronLeft18);
|
|
2446
2445
|
|
|
2447
|
-
var _path$
|
|
2448
|
-
function _extends$
|
|
2446
|
+
var _path$e;
|
|
2447
|
+
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); }
|
|
2449
2448
|
var SvgNavigationChevronRight18 = function SvgNavigationChevronRight18(props, ref) {
|
|
2450
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
2449
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
|
|
2451
2450
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2452
2451
|
width: 18,
|
|
2453
2452
|
height: 18,
|
|
2454
2453
|
viewBox: "0 0 18 18",
|
|
2455
2454
|
ref: ref
|
|
2456
|
-
}, props), _path$
|
|
2455
|
+
}, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2457
2456
|
fillRule: "evenodd",
|
|
2458
2457
|
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",
|
|
2459
2458
|
clipRule: "evenodd"
|
|
2460
2459
|
})));
|
|
2461
2460
|
};
|
|
2462
|
-
var ForwardRef$
|
|
2461
|
+
var ForwardRef$f = /*#__PURE__*/React.forwardRef(SvgNavigationChevronRight18);
|
|
2463
2462
|
|
|
2464
2463
|
function Paginator(props) {
|
|
2465
2464
|
const renderPaginator = (params) => {
|
|
2466
2465
|
var _a, _b;
|
|
2467
2466
|
return (React__namespace.default.createElement("nav", Object.assign({ role: "navigation", className: css$m.root }, params.rawProps),
|
|
2468
|
-
React__namespace.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$
|
|
2467
|
+
React__namespace.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" }),
|
|
2469
2468
|
params.pages.map((page, index) => {
|
|
2470
2469
|
var _a, _b;
|
|
2471
2470
|
if (page.type === 'spacer') {
|
|
@@ -2475,7 +2474,7 @@ function Paginator(props) {
|
|
|
2475
2474
|
return (React__namespace.default.createElement(Button, { cx: cx__default.default(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" }));
|
|
2476
2475
|
}
|
|
2477
2476
|
}),
|
|
2478
|
-
React__namespace.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$
|
|
2477
|
+
React__namespace.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" })));
|
|
2479
2478
|
};
|
|
2480
2479
|
return React__namespace.default.createElement(uuiComponents.Paginator, Object.assign({}, props, { render: renderPaginator }));
|
|
2481
2480
|
}
|
|
@@ -2711,16 +2710,16 @@ const FilterPanelItemToggler = React__namespace.forwardRef((props, ref) => {
|
|
|
2711
2710
|
e.preventDefault();
|
|
2712
2711
|
(_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
2713
2712
|
};
|
|
2714
|
-
const getTitle = props.predicateName ? `${props.title} ${props.predicateName}` : `${props.title}
|
|
2713
|
+
const getTitle = props.predicateName ? `${props.title} ${props.predicateName}` : `${props.title}${props.selection ? ':' : ''}`;
|
|
2715
2714
|
return (React__namespace.createElement(uuiComponents.FlexRow, Object.assign({}, props, { rawProps: {
|
|
2716
2715
|
style: { maxWidth: `${props.maxWidth ? props.maxWidth + 'px' : 'auto'}` },
|
|
2717
2716
|
role: 'button',
|
|
2718
2717
|
}, cx: cx__default.default(css$h.root, uuiCore.uuiElement.inputBox, uuiCore.uuiMarkers.clickable, props.isOpen && uuiCore.uuiMod.opened, ['size-' + (props.size || defaultSize)], props.cx), onClick: togglerPickerOpened, ref: ref }),
|
|
2719
2718
|
React__namespace.createElement(uuiComponents.FlexRow, { cx: css$h.titleWrapper },
|
|
2720
|
-
React__namespace.createElement(Text, { cx: css$h.title }, getTitle),
|
|
2721
|
-
React__namespace.createElement("div", { className: css$h.textWrapper },
|
|
2722
|
-
React__namespace.createElement(Text, { color: "brand", cx: css$h.selection }, props.selection),
|
|
2723
|
-
props.postfix && (React__namespace.createElement(Text, { color: "brand", cx: css$h.postfix }, props.postfix)))),
|
|
2719
|
+
React__namespace.createElement(Text, { size: props.size, cx: css$h.title }, getTitle),
|
|
2720
|
+
props.selection && (React__namespace.createElement("div", { className: css$h.textWrapper },
|
|
2721
|
+
React__namespace.createElement(Text, { color: "brand", size: props.size, cx: css$h.selection }, props.selection),
|
|
2722
|
+
props.postfix && (React__namespace.createElement(Text, { color: "brand", size: props.size, cx: css$h.postfix }, props.postfix))))),
|
|
2724
2723
|
!props.isDisabled && React__namespace.createElement(uuiComponents.IconContainer, { icon: systemIcons[props.size || defaultSize].foldingArrow, flipY: props.isOpen, cx: "uui-icon-dropdown" })));
|
|
2725
2724
|
});
|
|
2726
2725
|
|
|
@@ -2758,16 +2757,17 @@ class FilterPickerBody extends uuiComponents.PickerInputBase {
|
|
|
2758
2757
|
const maxHeight = uuiCore.isMobile() ? document.documentElement.clientHeight : this.props.dropdownHeight || pickerHeight;
|
|
2759
2758
|
const minBodyWidth = uuiCore.isMobile() ? document.documentElement.clientWidth : this.props.minBodyWidth || pickerWidth;
|
|
2760
2759
|
return (React__namespace.createElement(Panel, { style: { width: minBodyWidth }, rawProps: { tabIndex: -1 }, cx: [uuiCore.uuiMarkers.lockFocus] },
|
|
2761
|
-
React__namespace.createElement(DataPickerBody, Object.assign({}, props, { selectionMode: this.props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, searchSize: "36", editMode: "dropdown"
|
|
2760
|
+
React__namespace.createElement(DataPickerBody, Object.assign({}, props, { selectionMode: this.props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, searchSize: "36", editMode: "dropdown" })),
|
|
2762
2761
|
this.renderFooter()));
|
|
2763
2762
|
}
|
|
2764
2763
|
render() {
|
|
2764
|
+
var _a;
|
|
2765
2765
|
const rows = this.getRows();
|
|
2766
|
-
return this.renderBody(Object.assign(Object.assign({}, this.getPickerBodyProps(rows)), this.getListProps()), rows);
|
|
2766
|
+
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);
|
|
2767
2767
|
}
|
|
2768
2768
|
}
|
|
2769
2769
|
|
|
2770
|
-
class
|
|
2770
|
+
class FilterDatePickerBody extends uuiComponents.BaseDatePicker {
|
|
2771
2771
|
constructor() {
|
|
2772
2772
|
super(...arguments);
|
|
2773
2773
|
this.state = Object.assign(Object.assign({}, super.getValue()), { isOpen: false, inputValue: null });
|
|
@@ -2869,17 +2869,17 @@ function FilterNumericBody(props) {
|
|
|
2869
2869
|
if (isInRangePredicate) {
|
|
2870
2870
|
const value = props.value;
|
|
2871
2871
|
return (React__namespace.default.createElement("div", null,
|
|
2872
|
-
React__namespace.default.createElement(FlexRow, { padding: "12", vPadding: "24", alignItems: "center", spacing: "12", borderBottom: true },
|
|
2872
|
+
React__namespace.default.createElement(FlexRow, { padding: "12", vPadding: "24", alignItems: "center", spacing: "12", borderBottom: true, rawProps: { style: { paddingTop: '3px' } } },
|
|
2873
2873
|
React__namespace.default.createElement(FlexCell, { width: "100%" },
|
|
2874
|
-
React__namespace.default.createElement(NumericInput, { value: (_a = value === null || value === void 0 ? void 0 : value.from) !== null && _a !== void 0 ? _a : null, onValueChange: rangeValueHandler('from'), size: "
|
|
2874
|
+
React__namespace.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 } })),
|
|
2875
2875
|
React__namespace.default.createElement(FlexCell, { width: "100%" },
|
|
2876
|
-
React__namespace.default.createElement(NumericInput, { value: (_b = value === null || value === void 0 ? void 0 : value.to) !== null && _b !== void 0 ? _b : null, onValueChange: rangeValueHandler('to'), size: "
|
|
2876
|
+
React__namespace.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 } }))),
|
|
2877
2877
|
renderFooter()));
|
|
2878
2878
|
}
|
|
2879
2879
|
return (React__namespace.default.createElement("div", null,
|
|
2880
|
-
React__namespace.default.createElement(FlexRow, { padding: "12", vPadding: "24", alignItems: "center", borderBottom: true },
|
|
2880
|
+
React__namespace.default.createElement(FlexRow, { padding: "12", vPadding: "24", alignItems: "center", borderBottom: true, rawProps: { style: { paddingTop: '3px' } } },
|
|
2881
2881
|
React__namespace.default.createElement(FlexCell, { width: 130 },
|
|
2882
|
-
React__namespace.default.createElement(NumericInput, { value: typeof props.value === 'number' ? props.value : null, onValueChange: props.onValueChange, size: "
|
|
2882
|
+
React__namespace.default.createElement(NumericInput, { value: typeof props.value === 'number' ? props.value : null, onValueChange: props.onValueChange, size: "36", placeholder: "Enter a number", formatOptions: { maximumFractionDigits: 2 } }))),
|
|
2883
2883
|
renderFooter()));
|
|
2884
2884
|
}
|
|
2885
2885
|
|
|
@@ -2892,29 +2892,29 @@ function FilterItemBody(props) {
|
|
|
2892
2892
|
case 'multiPicker':
|
|
2893
2893
|
return React__namespace.default.createElement(FilterPickerBody, Object.assign({}, props, { selectionMode: "multi", valueType: "id" }));
|
|
2894
2894
|
case 'datePicker':
|
|
2895
|
-
return React__namespace.default.createElement(
|
|
2895
|
+
return React__namespace.default.createElement(FilterDatePickerBody, Object.assign({}, props, { format: props.format || 'DD/MM/YYYY' }));
|
|
2896
2896
|
case 'rangeDatePicker':
|
|
2897
2897
|
return React__namespace.default.createElement(FilterRangeDatePickerBody, Object.assign({}, props, { format: props.format || 'DD/MM/YYYY', value: props.value || { from: null, to: null } }));
|
|
2898
2898
|
}
|
|
2899
2899
|
}
|
|
2900
2900
|
|
|
2901
|
-
var _path$
|
|
2902
|
-
function _extends$
|
|
2901
|
+
var _path$d;
|
|
2902
|
+
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); }
|
|
2903
2903
|
var SvgActionDeleteforever12 = function SvgActionDeleteforever12(props, ref) {
|
|
2904
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
2904
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
|
|
2905
2905
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2906
2906
|
width: 12,
|
|
2907
2907
|
height: 12,
|
|
2908
2908
|
viewBox: "0 0 18 18",
|
|
2909
2909
|
ref: ref
|
|
2910
|
-
}, props), _path$
|
|
2910
|
+
}, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2911
2911
|
fillRule: "evenodd",
|
|
2912
2912
|
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"
|
|
2913
2913
|
})));
|
|
2914
2914
|
};
|
|
2915
|
-
var ForwardRef$
|
|
2915
|
+
var ForwardRef$e = /*#__PURE__*/React.forwardRef(SvgActionDeleteforever12);
|
|
2916
2916
|
|
|
2917
|
-
var css$f = {"header":"FiltersPanelItem-module_header__hqSIh","removeButton":"FiltersPanelItem-module_removeButton__dWD-9","panel":"FiltersPanelItem-module_panel__EfHsL"};
|
|
2917
|
+
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"};
|
|
2918
2918
|
|
|
2919
2919
|
function FiltersToolbarItemImpl(props) {
|
|
2920
2920
|
const isPickersType = (props === null || props === void 0 ? void 0 : props.type) === 'multiPicker' || (props === null || props === void 0 ? void 0 : props.type) === 'singlePicker';
|
|
@@ -2987,16 +2987,21 @@ function FiltersToolbarItemImpl(props) {
|
|
|
2987
2987
|
}
|
|
2988
2988
|
setPredicate(val);
|
|
2989
2989
|
};
|
|
2990
|
-
const renderHeader = () =>
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2990
|
+
const renderHeader = (hideTitle) => {
|
|
2991
|
+
var _a;
|
|
2992
|
+
return (React__namespace.default.createElement("div", { className: cx__default.default(css$f.header, isPickersType && ((_a = props.showSearch) !== null && _a !== void 0 ? _a : css$f.withSearch)) },
|
|
2993
|
+
props.predicates ? (React__namespace.default.createElement(MultiSwitch, { items: props.predicates.map((i) => ({ id: i.predicate, caption: i.name })), value: predicate, onValueChange: changePredicate, size: "24" })) : (!hideTitle && (React__namespace.default.createElement(Text, { color: "secondary", size: "24", fontSize: "14" }, props.title))),
|
|
2994
|
+
!(props === null || props === void 0 ? void 0 : props.isAlwaysVisible) && (React__namespace.default.createElement(LinkButton, { cx: css$f.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size: "24", icon: ForwardRef$e }))));
|
|
2995
|
+
};
|
|
2996
|
+
const renderBody = (dropdownProps) => {
|
|
2997
|
+
const hideHeaderTitle = isPickersType && isMobileScreen;
|
|
2998
|
+
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, dropdownProps),
|
|
2999
|
+
React__namespace.default.createElement(Panel, { cx: css$f.panel }, isPickersType ? (React__namespace.default.createElement(MobileDropdownWrapper, { title: props.title, close: () => isOpenChange(false) },
|
|
3000
|
+
renderHeader(hideHeaderTitle),
|
|
2997
3001
|
React__namespace.default.createElement(FilterItemBody, Object.assign({}, props, dropdownProps, { selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange })))) : (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
2998
|
-
renderHeader(),
|
|
2999
|
-
React__namespace.default.createElement(FilterItemBody, Object.assign({}, props, dropdownProps, { selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange })))))))
|
|
3002
|
+
renderHeader(hideHeaderTitle),
|
|
3003
|
+
React__namespace.default.createElement(FilterItemBody, Object.assign({}, props, dropdownProps, { selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange })))))));
|
|
3004
|
+
};
|
|
3000
3005
|
const getValue = () => {
|
|
3001
3006
|
var _a;
|
|
3002
3007
|
return predicate ? (_a = props.value) === null || _a === void 0 ? void 0 : _a[predicate] : props.value;
|
|
@@ -3024,7 +3029,7 @@ function FiltersToolbarItemImpl(props) {
|
|
|
3024
3029
|
isLoading = item.isLoading;
|
|
3025
3030
|
return getPickerItemName(item, props);
|
|
3026
3031
|
})
|
|
3027
|
-
: [
|
|
3032
|
+
: [currentValue];
|
|
3028
3033
|
const selectionText = isLoading ? selection : selection.join(', ');
|
|
3029
3034
|
return { selection: selectionText, postfix };
|
|
3030
3035
|
}
|
|
@@ -3032,7 +3037,7 @@ function FiltersToolbarItemImpl(props) {
|
|
|
3032
3037
|
const isRangePredicate = predicate === 'inRange' || predicate === 'notInRange';
|
|
3033
3038
|
const decimalFormat = (val) => uuiCore.getSeparatedValue(val, { maximumFractionDigits: 2 });
|
|
3034
3039
|
if ((isRangePredicate && !currentValue) || (!isRangePredicate && !currentValue && currentValue !== 0)) {
|
|
3035
|
-
return { selection:
|
|
3040
|
+
return { selection: currentValue };
|
|
3036
3041
|
}
|
|
3037
3042
|
const selection = isRangePredicate
|
|
3038
3043
|
? `${!(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)}`
|
|
@@ -3042,7 +3047,7 @@ function FiltersToolbarItemImpl(props) {
|
|
|
3042
3047
|
case 'singlePicker': {
|
|
3043
3048
|
const view = props.dataSource.getView({}, forceUpdate);
|
|
3044
3049
|
if (currentValue === null || currentValue === undefined) {
|
|
3045
|
-
return { selection:
|
|
3050
|
+
return { selection: currentValue };
|
|
3046
3051
|
}
|
|
3047
3052
|
const item = view.getById(currentValue, null);
|
|
3048
3053
|
const selection = getPickerItemName(item, props);
|
|
@@ -3066,25 +3071,25 @@ function FiltersToolbarItemImpl(props) {
|
|
|
3066
3071
|
}
|
|
3067
3072
|
}
|
|
3068
3073
|
};
|
|
3069
|
-
const renderTarget = (dropdownProps) => (React__namespace.default.createElement(FilterPanelItemToggler, Object.assign({}, dropdownProps, getTogglerValue(), { title: props.title, predicateName: props.value ? predicateName : null, maxWidth: props.type === 'datePicker' || props.type === 'rangeDatePicker' ? null : '300' })));
|
|
3074
|
+
const renderTarget = (dropdownProps) => (React__namespace.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 })));
|
|
3070
3075
|
return (React__namespace.default.createElement(uuiComponents.Dropdown, { renderTarget: renderTarget, renderBody: renderBody, closeBodyOnTogglerHidden: !uuiCore.isMobile(), value: isOpen, onValueChange: isOpenChange, modifiers: popperModifiers }));
|
|
3071
3076
|
}
|
|
3072
3077
|
const FiltersPanelItem = React__namespace.default.memo(FiltersToolbarItemImpl);
|
|
3073
3078
|
|
|
3074
|
-
var _path$
|
|
3075
|
-
function _extends$
|
|
3076
|
-
var
|
|
3077
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
3079
|
+
var _path$c;
|
|
3080
|
+
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); }
|
|
3081
|
+
var SvgActionAdd18 = function SvgActionAdd18(props, ref) {
|
|
3082
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
|
|
3078
3083
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3079
3084
|
width: 18,
|
|
3080
3085
|
height: 18,
|
|
3081
3086
|
viewBox: "0 0 18 18",
|
|
3082
3087
|
ref: ref
|
|
3083
|
-
}, props), _path$
|
|
3084
|
-
d: "M10
|
|
3088
|
+
}, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3089
|
+
d: "M10 2H8v6H2v2h6v6h2v-6h6V8h-6V2z"
|
|
3085
3090
|
})));
|
|
3086
3091
|
};
|
|
3087
|
-
var ForwardRef$
|
|
3092
|
+
var ForwardRef$d = /*#__PURE__*/React.forwardRef(SvgActionAdd18);
|
|
3088
3093
|
|
|
3089
3094
|
const normalizeFilterWithPredicates = (filter) => {
|
|
3090
3095
|
if (!filter) {
|
|
@@ -3131,13 +3136,13 @@ function FiltersToolbarImpl(props) {
|
|
|
3131
3136
|
items: filters,
|
|
3132
3137
|
getId: (item) => item.field,
|
|
3133
3138
|
}, []);
|
|
3134
|
-
const onFiltersChange = (
|
|
3139
|
+
const onFiltersChange = (updatedFilters) => {
|
|
3135
3140
|
var _a;
|
|
3136
3141
|
const newConfig = {};
|
|
3137
3142
|
const newFilter = {};
|
|
3138
3143
|
const sortedOrders = tableState.filtersConfig && sortBy__default.default(tableState.filtersConfig, (f) => f === null || f === void 0 ? void 0 : f.order);
|
|
3139
3144
|
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;
|
|
3140
|
-
|
|
3145
|
+
updatedFilters.forEach((filter) => {
|
|
3141
3146
|
var _a, _b;
|
|
3142
3147
|
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) || uuiCore.getOrderBetween(order, null);
|
|
3143
3148
|
order = newOrder;
|
|
@@ -3170,8 +3175,9 @@ function FiltersToolbarImpl(props) {
|
|
|
3170
3175
|
const sortedActiveFilters = React.useMemo(() => {
|
|
3171
3176
|
return sortBy__default.default(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; });
|
|
3172
3177
|
}, [filters, tableState.filtersConfig]);
|
|
3173
|
-
const renderAddFilterToggler = React.useCallback((
|
|
3174
|
-
|
|
3178
|
+
const renderAddFilterToggler = React.useCallback((togglerProps) => {
|
|
3179
|
+
var _a;
|
|
3180
|
+
return (React__namespace.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" }));
|
|
3175
3181
|
}, []);
|
|
3176
3182
|
const getRowOptions = React.useCallback((item) => ({
|
|
3177
3183
|
isDisabled: item.isAlwaysVisible,
|
|
@@ -3189,12 +3195,12 @@ function FiltersToolbarImpl(props) {
|
|
|
3189
3195
|
sortedActiveFilters.map((f) => {
|
|
3190
3196
|
var _a;
|
|
3191
3197
|
return (React__namespace.default.createElement(uuiComponents.FlexCell, { width: "auto", key: f.field },
|
|
3192
|
-
React__namespace.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 }))));
|
|
3198
|
+
React__namespace.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 }))));
|
|
3193
3199
|
}),
|
|
3194
3200
|
!isAllFiltersAlwaysVisible && (React__namespace.default.createElement(PickerInput, { dataSource: dataSource, value: selectedFilters, onValueChange: onFiltersChange, selectionMode: "multi", valueType: "entity", key: newFilterId, renderRow: (props) => (React__namespace.default.createElement(DataPickerRow, Object.assign({}, props, { padding: "12", key: props.key, onCheck: (row) => {
|
|
3195
3201
|
props.onCheck(row);
|
|
3196
3202
|
!row.isChecked && setNewFilterId(row.value.field);
|
|
3197
|
-
}, renderItem: (item, rowProps) => React__namespace.default.createElement(PickerItem, Object.assign({}, rowProps, { title: item.title })) }))), getName: (i) => i.title, renderToggler: renderAddFilterToggler, emptyValue: [], getRowOptions: getRowOptions, fixedBodyPosition: true }))));
|
|
3203
|
+
}, renderItem: (item, rowProps) => React__namespace.default.createElement(PickerItem, Object.assign({}, rowProps, { title: item.title })) }))), getName: (i) => i.title, renderToggler: renderAddFilterToggler, emptyValue: [], getRowOptions: getRowOptions, fixedBodyPosition: true, size: props.size }))));
|
|
3198
3204
|
}
|
|
3199
3205
|
const FiltersPanel = React__namespace.default.memo(FiltersToolbarImpl);
|
|
3200
3206
|
|
|
@@ -3202,105 +3208,105 @@ var css$e = {"divider":"PresetsPanel-module_divider__vk5zN","dropdownDeleteIcon"
|
|
|
3202
3208
|
|
|
3203
3209
|
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"};
|
|
3204
3210
|
|
|
3205
|
-
var _path$
|
|
3206
|
-
function _extends$
|
|
3211
|
+
var _path$b;
|
|
3212
|
+
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); }
|
|
3207
3213
|
var SvgSaveOutline18 = function SvgSaveOutline18(props, ref) {
|
|
3208
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
3214
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
|
|
3209
3215
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3210
3216
|
width: 18,
|
|
3211
3217
|
height: 18,
|
|
3212
3218
|
viewBox: "0 0 18 18",
|
|
3213
3219
|
ref: ref
|
|
3214
|
-
}, props), _path$
|
|
3220
|
+
}, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3215
3221
|
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"
|
|
3216
3222
|
})));
|
|
3217
3223
|
};
|
|
3218
|
-
var ForwardRef$
|
|
3224
|
+
var ForwardRef$c = /*#__PURE__*/React.forwardRef(SvgSaveOutline18);
|
|
3219
3225
|
|
|
3220
|
-
var _path$
|
|
3221
|
-
function _extends$
|
|
3226
|
+
var _path$a;
|
|
3227
|
+
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); }
|
|
3222
3228
|
var SvgContentEditUndo18 = function SvgContentEditUndo18(props, ref) {
|
|
3223
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
3229
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
|
|
3224
3230
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3225
3231
|
width: 18,
|
|
3226
3232
|
height: 18,
|
|
3227
3233
|
viewBox: "0 0 18 18",
|
|
3228
3234
|
ref: ref
|
|
3229
|
-
}, props), _path$
|
|
3235
|
+
}, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3230
3236
|
fillRule: "evenodd",
|
|
3231
3237
|
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",
|
|
3232
3238
|
clipRule: "evenodd"
|
|
3233
3239
|
})));
|
|
3234
3240
|
};
|
|
3235
|
-
var ForwardRef$
|
|
3241
|
+
var ForwardRef$b = /*#__PURE__*/React.forwardRef(SvgContentEditUndo18);
|
|
3236
3242
|
|
|
3237
|
-
var _path$
|
|
3238
|
-
function _extends$
|
|
3243
|
+
var _path$9;
|
|
3244
|
+
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); }
|
|
3239
3245
|
var SvgActionCopyContent18 = function SvgActionCopyContent18(props, ref) {
|
|
3240
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
3246
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
|
|
3241
3247
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3242
3248
|
width: 18,
|
|
3243
3249
|
height: 18,
|
|
3244
3250
|
viewBox: "0 0 18 18",
|
|
3245
3251
|
ref: ref
|
|
3246
|
-
}, props), _path$
|
|
3252
|
+
}, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3247
3253
|
fillRule: "evenodd",
|
|
3248
3254
|
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",
|
|
3249
3255
|
clipRule: "evenodd"
|
|
3250
3256
|
})));
|
|
3251
3257
|
};
|
|
3252
|
-
var ForwardRef$
|
|
3258
|
+
var ForwardRef$a = /*#__PURE__*/React.forwardRef(SvgActionCopyContent18);
|
|
3253
3259
|
|
|
3254
|
-
var _path$
|
|
3255
|
-
function _extends$
|
|
3260
|
+
var _path$8;
|
|
3261
|
+
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); }
|
|
3256
3262
|
var SvgContentEdit18 = function SvgContentEdit18(props, ref) {
|
|
3257
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
3263
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
|
|
3258
3264
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3259
3265
|
width: 18,
|
|
3260
3266
|
height: 18,
|
|
3261
3267
|
viewBox: "0 0 18 18",
|
|
3262
3268
|
ref: ref
|
|
3263
|
-
}, props), _path$
|
|
3269
|
+
}, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3264
3270
|
fillRule: "evenodd",
|
|
3265
3271
|
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",
|
|
3266
3272
|
clipRule: "evenodd"
|
|
3267
3273
|
})));
|
|
3268
3274
|
};
|
|
3269
|
-
var ForwardRef$
|
|
3275
|
+
var ForwardRef$9 = /*#__PURE__*/React.forwardRef(SvgContentEdit18);
|
|
3270
3276
|
|
|
3271
|
-
var _path$
|
|
3272
|
-
function _extends$
|
|
3277
|
+
var _path$7;
|
|
3278
|
+
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); }
|
|
3273
3279
|
var SvgContentLink18 = function SvgContentLink18(props, ref) {
|
|
3274
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
3280
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
|
|
3275
3281
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3276
3282
|
width: 18,
|
|
3277
3283
|
height: 18,
|
|
3278
3284
|
viewBox: "0 0 18 18",
|
|
3279
3285
|
ref: ref
|
|
3280
|
-
}, props), _path$
|
|
3286
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3281
3287
|
fillRule: "evenodd",
|
|
3282
3288
|
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",
|
|
3283
3289
|
clipRule: "evenodd"
|
|
3284
3290
|
})));
|
|
3285
3291
|
};
|
|
3286
|
-
var ForwardRef$
|
|
3292
|
+
var ForwardRef$8 = /*#__PURE__*/React.forwardRef(SvgContentLink18);
|
|
3287
3293
|
|
|
3288
|
-
var _path$
|
|
3289
|
-
function _extends$
|
|
3294
|
+
var _path$6;
|
|
3295
|
+
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); }
|
|
3290
3296
|
var SvgActionDeleteforever18 = function SvgActionDeleteforever18(props, ref) {
|
|
3291
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
3297
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
|
|
3292
3298
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3293
3299
|
width: 18,
|
|
3294
3300
|
height: 18,
|
|
3295
3301
|
viewBox: "0 0 18 18",
|
|
3296
3302
|
ref: ref
|
|
3297
|
-
}, props), _path$
|
|
3303
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3298
3304
|
fillRule: "evenodd",
|
|
3299
3305
|
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",
|
|
3300
3306
|
clipRule: "evenodd"
|
|
3301
3307
|
})));
|
|
3302
3308
|
};
|
|
3303
|
-
var ForwardRef$
|
|
3309
|
+
var ForwardRef$7 = /*#__PURE__*/React.forwardRef(SvgActionDeleteforever18);
|
|
3304
3310
|
|
|
3305
3311
|
function PresetActionsDropdown(props) {
|
|
3306
3312
|
const { uuiNotifications } = uuiCore.useUuiContext();
|
|
@@ -3340,22 +3346,22 @@ function PresetActionsDropdown(props) {
|
|
|
3340
3346
|
return (React__namespace.default.createElement(Panel, { shadow: true, cx: css$d.presetDropdownPanel },
|
|
3341
3347
|
props.activePresetId === props.preset.id && props.hasPresetChanged(props.preset) && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
3342
3348
|
!isReadonlyPreset && (React__namespace.default.createElement(FlexRow, { key: `${props.preset.id}-save-in-current` },
|
|
3343
|
-
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3349
|
+
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$q, caption: "Save in current", onClick: saveInCurrentHandler }))),
|
|
3344
3350
|
React__namespace.default.createElement(FlexRow, { key: `${props.preset.id}-save-as-new` },
|
|
3345
|
-
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3351
|
+
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$c, caption: "Save as new", onClick: props.addPreset })),
|
|
3346
3352
|
React__namespace.default.createElement(FlexRow, { key: `${props.preset.id}-discard`, borderBottom: true },
|
|
3347
|
-
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3353
|
+
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$b, caption: "Discard all changes", onClick: discardAllChangesHandler })))),
|
|
3348
3354
|
props.preset.id === props.activePresetId && !isReadonlyPreset && (React__namespace.default.createElement(FlexRow, { key: `${props.preset.id}-rename` },
|
|
3349
|
-
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3355
|
+
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$9, caption: "Rename", onClick: props.renamePreset }))),
|
|
3350
3356
|
React__namespace.default.createElement(FlexRow, { key: `${props.preset.id}-duplicate` },
|
|
3351
|
-
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3357
|
+
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$a, caption: "Duplicate", onClick: duplicateHandler })),
|
|
3352
3358
|
React__namespace.default.createElement(FlexRow, { borderBottom: true, key: `${props.preset.id}-copyLink` },
|
|
3353
|
-
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3359
|
+
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$8, caption: "Copy Link", onClick: copyUrlToClipboard })),
|
|
3354
3360
|
!isReadonlyPreset && (React__namespace.default.createElement(FlexRow, { key: `${props.preset.id}-delete`, cx: css$d.deleteRow },
|
|
3355
|
-
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3361
|
+
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$7, caption: "Delete", cx: css$d.deleteButton, onClick: deleteHandler })))));
|
|
3356
3362
|
};
|
|
3357
3363
|
const renderTarget = React.useCallback((dropdownProps) => {
|
|
3358
|
-
return (React__namespace.default.createElement(IconButton, Object.assign({ cx: dropdownProps.isOpen && css$d.targetOpen, color: props.preset.id === props.activePresetId ? 'info' : 'default' }, dropdownProps, { icon: ForwardRef$
|
|
3364
|
+
return (React__namespace.default.createElement(IconButton, Object.assign({ cx: dropdownProps.isOpen && css$d.targetOpen, color: props.preset.id === props.activePresetId ? 'info' : 'default' }, dropdownProps, { icon: ForwardRef$r })));
|
|
3359
3365
|
}, []);
|
|
3360
3366
|
return (React__namespace.default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
3361
3367
|
}
|
|
@@ -3406,6 +3412,21 @@ function Preset(props) {
|
|
|
3406
3412
|
return (React__namespace.default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__namespace.default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__namespace.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__namespace.default.createElement(PresetActionsDropdown, Object.assign({ renamePreset: setPresetForRename }, props)), iconPosition: "right", isLinkActive: isPresetActive }))));
|
|
3407
3413
|
}
|
|
3408
3414
|
|
|
3415
|
+
var _path$5;
|
|
3416
|
+
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); }
|
|
3417
|
+
var SvgContentPlusBold18 = function SvgContentPlusBold18(props, ref) {
|
|
3418
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
|
|
3419
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3420
|
+
width: 18,
|
|
3421
|
+
height: 18,
|
|
3422
|
+
viewBox: "0 0 18 18",
|
|
3423
|
+
ref: ref
|
|
3424
|
+
}, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3425
|
+
d: "M10.5 3h-3v4.5H3v3h4.5V15h3v-4.5H15v-3h-4.5V3z"
|
|
3426
|
+
})));
|
|
3427
|
+
};
|
|
3428
|
+
var ForwardRef$6 = /*#__PURE__*/React.forwardRef(SvgContentPlusBold18);
|
|
3429
|
+
|
|
3409
3430
|
function PresetsPanel(props) {
|
|
3410
3431
|
const [isAddingPreset, setIsAddingPreset] = React.useState(false);
|
|
3411
3432
|
const setAddingPreset = React.useCallback(() => {
|
|
@@ -3419,7 +3440,7 @@ function PresetsPanel(props) {
|
|
|
3419
3440
|
return React__namespace.default.createElement(Preset, Object.assign({ key: preset.id, preset: preset, addPreset: setAddingPreset }, presetApi));
|
|
3420
3441
|
};
|
|
3421
3442
|
const renderAddPresetButton = React.useCallback(() => {
|
|
3422
|
-
return (React__namespace.default.createElement("div", { key: "addingPresetBlock", className: css$e.addPresetContainer }, !isAddingPreset ? (React__namespace.default.createElement(Button, { size: "36", onClick: setAddingPreset, caption: i18n.presetPanel.addCaption, icon: ForwardRef$
|
|
3443
|
+
return (React__namespace.default.createElement("div", { key: "addingPresetBlock", className: css$e.addPresetContainer }, !isAddingPreset ? (React__namespace.default.createElement(Button, { size: "36", onClick: setAddingPreset, caption: i18n.presetPanel.addCaption, icon: ForwardRef$6, iconPosition: "left", mode: "ghost", color: "primary" })) : (React__namespace.default.createElement(PresetInput, { onCancel: cancelAddingPreset, onSuccess: props.createNewPreset }))));
|
|
3423
3444
|
}, [isAddingPreset]);
|
|
3424
3445
|
const onPresetDropdownSelect = (preset) => {
|
|
3425
3446
|
props.choosePreset(preset.preset);
|
|
@@ -3428,7 +3449,7 @@ function PresetsPanel(props) {
|
|
|
3428
3449
|
return (React__namespace.default.createElement(Dropdown, { key: "more", renderTarget: (props) => (React__namespace.default.createElement(FlexRow, null,
|
|
3429
3450
|
React__namespace.default.createElement("div", { className: css$e.divider }),
|
|
3430
3451
|
React__namespace.default.createElement(Button, Object.assign({ mode: "ghost", color: "secondary", caption: `${(hiddenItems === null || hiddenItems === void 0 ? void 0 : hiddenItems.length) || ''} more` }, props)))), renderBody: () => (React__namespace.default.createElement(DropdownContainer, { cx: uuiCore.cx(css$e.dropContainer), width: 230 },
|
|
3431
|
-
React__namespace.default.createElement(uuiComponents.ScrollBars, null, hiddenItems.map((
|
|
3452
|
+
React__namespace.default.createElement(uuiComponents.ScrollBars, null, hiddenItems.map((hiddenItem) => (React__namespace.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)) })))))) }));
|
|
3432
3453
|
};
|
|
3433
3454
|
const getPresetPriority = (preset, index) => {
|
|
3434
3455
|
return preset.id === props.activePresetId ? 100499 : 1000 - index;
|
|
@@ -3611,7 +3632,7 @@ var ForwardRef$1 = /*#__PURE__*/React.forwardRef(SvgMenuInputCancel);
|
|
|
3611
3632
|
var css$6 = {"search-input":"BurgerSearch-module_search-input__ot3xM","searchInput":"BurgerSearch-module_search-input__ot3xM"};
|
|
3612
3633
|
|
|
3613
3634
|
function BurgerSearch(props) {
|
|
3614
|
-
return (React__namespace.createElement(uuiComponents.TextInput, { cx: css$6.searchInput, iconPosition: "left", icon: ForwardRef$
|
|
3635
|
+
return (React__namespace.createElement(uuiComponents.TextInput, { 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 }));
|
|
3615
3636
|
}
|
|
3616
3637
|
|
|
3617
3638
|
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-"};
|
|
@@ -3628,13 +3649,13 @@ const MainMenuAvatar = React__namespace.forwardRef((props, ref) => (React__names
|
|
|
3628
3649
|
React__namespace.createElement(uuiComponents.Avatar, { size: "36", img: props.avatarUrl }),
|
|
3629
3650
|
props.icon && React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon }),
|
|
3630
3651
|
props.isDropdown && (React__namespace.createElement("div", null,
|
|
3631
|
-
React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$
|
|
3652
|
+
React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$11, flipY: props.isOpen }))))));
|
|
3632
3653
|
|
|
3633
3654
|
var css$3 = {"search-input":"MainMenuSearch-module_search-input__AdkL1","searchInput":"MainMenuSearch-module_search-input__AdkL1"};
|
|
3634
3655
|
|
|
3635
3656
|
const MainMenuSearch = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(uuiCore.IEditableDebouncer, Object.assign({}, props, { render: (iEditable) => {
|
|
3636
3657
|
var _a;
|
|
3637
|
-
return (React__namespace.createElement(uuiComponents.TextInput, Object.assign({ iconPosition: "left", icon: ForwardRef$
|
|
3658
|
+
return (React__namespace.createElement(uuiComponents.TextInput, 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: uuiCore.cx(css$3.searchInput, props.cx) }, props.rawProps)));
|
|
3638
3659
|
} }))));
|
|
3639
3660
|
|
|
3640
3661
|
var css$2 = {"container":"MainMenuIcon-module_container__6NlKF"};
|