@epam/uui 5.12.0-rc.1 → 5.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/styles/effects.scss +1 -2
- package/assets/styles/typography.scss +2 -1
- package/components/errors/ErrorPage.d.ts.map +1 -1
- package/components/errors/config.d.ts +4 -0
- package/components/errors/config.d.ts.map +1 -1
- package/components/filters/PresetPanel/Preset.d.ts.map +1 -1
- package/components/filters/PresetPanel/PresetActionsDropdown.d.ts.map +1 -1
- package/components/inputs/Rating.d.ts +25 -0
- package/components/inputs/Rating.d.ts.map +1 -0
- package/components/inputs/index.d.ts +1 -0
- package/components/inputs/index.d.ts.map +1 -1
- package/components/overlays/Alert.d.ts.map +1 -1
- package/i18n.d.ts +2 -0
- package/i18n.d.ts.map +1 -1
- package/index.esm.js +456 -409
- package/index.esm.js.map +1 -1
- package/index.js +456 -408
- package/index.js.map +1 -1
- package/package.json +5 -6
- package/settings.d.ts.map +1 -1
- package/settings.types.d.ts +6 -0
- package/settings.types.d.ts.map +1 -1
- package/stats.html +1 -19
- package/styles.css +2675 -2649
- package/styles.css.map +1 -1
package/index.esm.js
CHANGED
|
@@ -16,176 +16,176 @@ import customParseFormat from 'dayjs/plugin/customParseFormat.js';
|
|
|
16
16
|
import isoWeek from 'dayjs/plugin/isoWeek.js';
|
|
17
17
|
import FocusLock from 'react-focus-lock';
|
|
18
18
|
|
|
19
|
-
var _path$
|
|
20
|
-
function _extends$
|
|
19
|
+
var _path$R;
|
|
20
|
+
function _extends$R() { return _extends$R = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$R.apply(null, arguments); }
|
|
21
21
|
var SvgNavigationCloseOutline = function SvgNavigationCloseOutline(props, ref) {
|
|
22
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
22
|
+
return /*#__PURE__*/React.createElement("svg", _extends$R({
|
|
23
23
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24
24
|
width: 24,
|
|
25
25
|
height: 24,
|
|
26
26
|
viewBox: "0 0 24 24",
|
|
27
27
|
ref: ref
|
|
28
|
-
}, props), _path$
|
|
28
|
+
}, props), _path$R || (_path$R = /*#__PURE__*/React.createElement("path", {
|
|
29
29
|
d: "M6.4 19 5 17.6l5.6-5.6L5 6.4 6.4 5l5.6 5.6L17.6 5 19 6.4 13.4 12l5.6 5.6-1.4 1.4-5.6-5.6L6.4 19z"
|
|
30
30
|
})));
|
|
31
31
|
};
|
|
32
|
-
var ForwardRef$
|
|
32
|
+
var ForwardRef$R = /*#__PURE__*/forwardRef(SvgNavigationCloseOutline);
|
|
33
33
|
|
|
34
|
-
var _path$
|
|
35
|
-
function _extends$
|
|
34
|
+
var _path$Q;
|
|
35
|
+
function _extends$Q() { return _extends$Q = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$Q.apply(null, arguments); }
|
|
36
36
|
var SvgNavigationChevronDownOutline = function SvgNavigationChevronDownOutline(props, ref) {
|
|
37
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
37
|
+
return /*#__PURE__*/React.createElement("svg", _extends$Q({
|
|
38
38
|
xmlns: "http://www.w3.org/2000/svg",
|
|
39
39
|
width: 24,
|
|
40
40
|
height: 24,
|
|
41
41
|
viewBox: "0 0 24 24",
|
|
42
42
|
ref: ref
|
|
43
|
-
}, props), _path$
|
|
43
|
+
}, props), _path$Q || (_path$Q = /*#__PURE__*/React.createElement("path", {
|
|
44
44
|
d: "M5.414 8.086 4 9.5l8 8 8-8-1.414-1.414L12 14.672 5.414 8.086z"
|
|
45
45
|
})));
|
|
46
46
|
};
|
|
47
|
-
var ForwardRef$
|
|
47
|
+
var ForwardRef$Q = /*#__PURE__*/forwardRef(SvgNavigationChevronDownOutline);
|
|
48
48
|
|
|
49
|
-
var _path$
|
|
50
|
-
function _extends$
|
|
49
|
+
var _path$P;
|
|
50
|
+
function _extends$P() { return _extends$P = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$P.apply(null, arguments); }
|
|
51
51
|
var SvgNotificationDoneOutline = function SvgNotificationDoneOutline(props, ref) {
|
|
52
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
52
|
+
return /*#__PURE__*/React.createElement("svg", _extends$P({
|
|
53
53
|
xmlns: "http://www.w3.org/2000/svg",
|
|
54
54
|
width: 24,
|
|
55
55
|
height: 24,
|
|
56
56
|
viewBox: "0 0 24 24",
|
|
57
57
|
ref: ref
|
|
58
|
-
}, props), _path$
|
|
58
|
+
}, props), _path$P || (_path$P = /*#__PURE__*/React.createElement("path", {
|
|
59
59
|
d: "m20.503 7.4-1.778-1.78-9.175 9.176-4.275-4.275L3.496 12.3l6.054 6.053L20.503 7.4z"
|
|
60
60
|
})));
|
|
61
61
|
};
|
|
62
|
-
var ForwardRef$
|
|
62
|
+
var ForwardRef$P = /*#__PURE__*/forwardRef(SvgNotificationDoneOutline);
|
|
63
63
|
|
|
64
|
-
var _path$
|
|
65
|
-
function _extends$
|
|
64
|
+
var _path$O;
|
|
65
|
+
function _extends$O() { return _extends$O = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$O.apply(null, arguments); }
|
|
66
66
|
var SvgActionSearchOutline = function SvgActionSearchOutline(props, ref) {
|
|
67
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
67
|
+
return /*#__PURE__*/React.createElement("svg", _extends$O({
|
|
68
68
|
xmlns: "http://www.w3.org/2000/svg",
|
|
69
69
|
width: 24,
|
|
70
70
|
height: 24,
|
|
71
71
|
viewBox: "0 0 24 24",
|
|
72
72
|
ref: ref
|
|
73
|
-
}, props), _path$
|
|
73
|
+
}, props), _path$O || (_path$O = /*#__PURE__*/React.createElement("path", {
|
|
74
74
|
fillRule: "evenodd",
|
|
75
75
|
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",
|
|
76
76
|
clipRule: "evenodd"
|
|
77
77
|
})));
|
|
78
78
|
};
|
|
79
|
-
var ForwardRef$
|
|
79
|
+
var ForwardRef$O = /*#__PURE__*/forwardRef(SvgActionSearchOutline);
|
|
80
80
|
|
|
81
|
-
var _path$
|
|
82
|
-
function _extends$
|
|
81
|
+
var _path$N;
|
|
82
|
+
function _extends$N() { return _extends$N = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$N.apply(null, arguments); }
|
|
83
83
|
var SvgActionCalendarFill = function SvgActionCalendarFill(props, ref) {
|
|
84
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
84
|
+
return /*#__PURE__*/React.createElement("svg", _extends$N({
|
|
85
85
|
xmlns: "http://www.w3.org/2000/svg",
|
|
86
86
|
width: 24,
|
|
87
87
|
height: 24,
|
|
88
88
|
viewBox: "0 0 24 24",
|
|
89
89
|
ref: ref
|
|
90
|
-
}, props), _path$
|
|
90
|
+
}, props), _path$N || (_path$N = /*#__PURE__*/React.createElement("path", {
|
|
91
91
|
d: "M5 22a1.93 1.93 0 0 1-1.413-.587A1.928 1.928 0 0 1 3 20V6c0-.55.196-1.02.587-1.412A1.927 1.927 0 0 1 5 4h1V2h2v2h8V2h2v2h1c.55 0 1.021.196 1.413.588.391.391.587.862.587 1.412v14a1.93 1.93 0 0 1-.587 1.413A1.928 1.928 0 0 1 19 22H5zm0-2h14V10H5v10z"
|
|
92
92
|
})));
|
|
93
93
|
};
|
|
94
|
-
var ForwardRef$
|
|
94
|
+
var ForwardRef$N = /*#__PURE__*/forwardRef(SvgActionCalendarFill);
|
|
95
95
|
|
|
96
|
-
var _path$
|
|
97
|
-
function _extends$
|
|
96
|
+
var _path$M;
|
|
97
|
+
function _extends$M() { return _extends$M = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$M.apply(null, arguments); }
|
|
98
98
|
var SvgNotificationInfoOutline = function SvgNotificationInfoOutline(props, ref) {
|
|
99
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
99
|
+
return /*#__PURE__*/React.createElement("svg", _extends$M({
|
|
100
100
|
xmlns: "http://www.w3.org/2000/svg",
|
|
101
101
|
width: 24,
|
|
102
102
|
height: 24,
|
|
103
103
|
viewBox: "0 0 24 24",
|
|
104
104
|
ref: ref
|
|
105
|
-
}, props), _path$
|
|
105
|
+
}, props), _path$M || (_path$M = /*#__PURE__*/React.createElement("path", {
|
|
106
106
|
d: "M11 17h2v-6h-2v6zm1-8a.968.968 0 0 0 .713-.288A.967.967 0 0 0 13 8a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 7a.967.967 0 0 0-.712.287A.968.968 0 0 0 11 8c0 .283.096.52.288.712A.965.965 0 0 0 12 9zm0 13a9.733 9.733 0 0 1-3.9-.788 10.092 10.092 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.733 9.733 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.092 10.092 0 0 1 2.137-3.175c.9-.9 1.958-1.613 3.175-2.138A9.743 9.743 0 0 1 12 2a9.74 9.74 0 0 1 3.9.787 10.105 10.105 0 0 1 3.175 2.138c.9.9 1.612 1.958 2.137 3.175A9.733 9.733 0 0 1 22 12a9.733 9.733 0 0 1-.788 3.9 10.092 10.092 0 0 1-2.137 3.175c-.9.9-1.958 1.612-3.175 2.137A9.733 9.733 0 0 1 12 22zm0-2c2.233 0 4.125-.775 5.675-2.325C19.225 16.125 20 14.233 20 12c0-2.233-.775-4.125-2.325-5.675C16.125 4.775 14.233 4 12 4c-2.233 0-4.125.775-5.675 2.325C4.775 7.875 4 9.767 4 12c0 2.233.775 4.125 2.325 5.675C7.875 19.225 9.767 20 12 20z"
|
|
107
107
|
})));
|
|
108
108
|
};
|
|
109
|
-
var ForwardRef$
|
|
109
|
+
var ForwardRef$M = /*#__PURE__*/forwardRef(SvgNotificationInfoOutline);
|
|
110
110
|
|
|
111
|
-
var _path$
|
|
112
|
-
function _extends$
|
|
111
|
+
var _path$L;
|
|
112
|
+
function _extends$L() { return _extends$L = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$L.apply(null, arguments); }
|
|
113
113
|
var SvgFileFileWordFill = function SvgFileFileWordFill(props, ref) {
|
|
114
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
114
|
+
return /*#__PURE__*/React.createElement("svg", _extends$L({
|
|
115
115
|
xmlns: "http://www.w3.org/2000/svg",
|
|
116
116
|
width: 24,
|
|
117
117
|
height: 24,
|
|
118
118
|
viewBox: "0 0 24 24",
|
|
119
119
|
ref: ref
|
|
120
|
-
}, props), _path$
|
|
120
|
+
}, props), _path$L || (_path$L = /*#__PURE__*/React.createElement("path", {
|
|
121
121
|
fillRule: "evenodd",
|
|
122
122
|
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm1.2 18h-1.4L12 13.2 10.2 20H8.8l-2.2-9h1.5l1.4 6.8 1.8-6.8h1.3l1.8 6.8 1.4-6.8h1.5l-2.1 9zM13 9V3.5L18.5 9H13z",
|
|
123
123
|
clipRule: "evenodd"
|
|
124
124
|
})));
|
|
125
125
|
};
|
|
126
|
-
var ForwardRef$
|
|
126
|
+
var ForwardRef$L = /*#__PURE__*/forwardRef(SvgFileFileWordFill);
|
|
127
127
|
|
|
128
|
-
var _path$
|
|
129
|
-
function _extends$
|
|
128
|
+
var _path$K;
|
|
129
|
+
function _extends$K() { return _extends$K = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$K.apply(null, arguments); }
|
|
130
130
|
var SvgFileFileExcelFill = function SvgFileFileExcelFill(props, ref) {
|
|
131
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
131
|
+
return /*#__PURE__*/React.createElement("svg", _extends$K({
|
|
132
132
|
xmlns: "http://www.w3.org/2000/svg",
|
|
133
133
|
width: 24,
|
|
134
134
|
height: 24,
|
|
135
135
|
viewBox: "0 0 24 24",
|
|
136
136
|
ref: ref
|
|
137
|
-
}, props), _path$
|
|
137
|
+
}, props), _path$K || (_path$K = /*#__PURE__*/React.createElement("path", {
|
|
138
138
|
fillRule: "evenodd",
|
|
139
139
|
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm1.8 18H14l-2-3.4-2 3.4H8.2l2.9-4.5L8.2 11H10l2 3.4 2-3.4h1.8l-2.9 4.5 2.9 4.5zM13 9V3.5L18.5 9H13z",
|
|
140
140
|
clipRule: "evenodd"
|
|
141
141
|
})));
|
|
142
142
|
};
|
|
143
|
-
var ForwardRef$
|
|
143
|
+
var ForwardRef$K = /*#__PURE__*/forwardRef(SvgFileFileExcelFill);
|
|
144
144
|
|
|
145
|
-
var _path$
|
|
146
|
-
function _extends$
|
|
145
|
+
var _path$J;
|
|
146
|
+
function _extends$J() { return _extends$J = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$J.apply(null, arguments); }
|
|
147
147
|
var SvgFileFilePdfFill = function SvgFileFilePdfFill(props, ref) {
|
|
148
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
148
|
+
return /*#__PURE__*/React.createElement("svg", _extends$J({
|
|
149
149
|
xmlns: "http://www.w3.org/2000/svg",
|
|
150
150
|
width: 24,
|
|
151
151
|
height: 24,
|
|
152
152
|
viewBox: "0 0 24 24",
|
|
153
153
|
ref: ref
|
|
154
|
-
}, props), _path$
|
|
154
|
+
}, props), _path$J || (_path$J = /*#__PURE__*/React.createElement("path", {
|
|
155
155
|
fillRule: "evenodd",
|
|
156
156
|
d: "M13 9h5.5L13 3.5V9zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm4.1 9.4c-.02.04-.29 1.76-2.1 4.69 0 0-3.5 1.82-2.67 3.18.67 1.08 2.32-.04 3.74-2.68 0 0 1.82-.64 4.24-.82 0 0 3.86 1.73 4.39-.11.52-1.86-3.06-1.44-3.7-1.25 0 0-2-1.35-2.5-3.21 0 0 1.14-3.95-.61-3.9-1.75.05-1.09 3.13-.79 4.1zm.81 1.04c.03.01.47 1.21 1.89 2.46 0 0-2.33.46-3.39.9 0 0 1-1.73 1.5-3.36zm3.93 2.72c.58-.16 2.33.15 2.26.48-.06.33-2.26-.48-2.26-.48zM7.77 17c-.53 1.24-1.44 2-1.67 2-.23 0 .7-1.6 1.67-2zm3.14-6.93c0-.07-.36-2.2 0-2.15.54.08 0 2.08 0 2.15z",
|
|
157
157
|
clipRule: "evenodd"
|
|
158
158
|
})));
|
|
159
159
|
};
|
|
160
|
-
var ForwardRef$
|
|
160
|
+
var ForwardRef$J = /*#__PURE__*/forwardRef(SvgFileFilePdfFill);
|
|
161
161
|
|
|
162
|
-
var _path$
|
|
163
|
-
function _extends$
|
|
162
|
+
var _path$I;
|
|
163
|
+
function _extends$I() { return _extends$I = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$I.apply(null, arguments); }
|
|
164
164
|
var SvgFileFileImageFill = function SvgFileFileImageFill(props, ref) {
|
|
165
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
165
|
+
return /*#__PURE__*/React.createElement("svg", _extends$I({
|
|
166
166
|
xmlns: "http://www.w3.org/2000/svg",
|
|
167
167
|
width: 24,
|
|
168
168
|
height: 24,
|
|
169
169
|
viewBox: "0 0 24 24",
|
|
170
170
|
ref: ref
|
|
171
|
-
}, props), _path$
|
|
171
|
+
}, props), _path$I || (_path$I = /*#__PURE__*/React.createElement("path", {
|
|
172
172
|
fillRule: "evenodd",
|
|
173
173
|
d: "M13 9h5.5L13 3.5V9zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2zm0 18h12v-8l-4 4-2-2-6 6zM8 9a2 2 0 1 0 0 4 2 2 0 0 0 0-4z",
|
|
174
174
|
clipRule: "evenodd"
|
|
175
175
|
})));
|
|
176
176
|
};
|
|
177
|
-
var ForwardRef$
|
|
177
|
+
var ForwardRef$I = /*#__PURE__*/forwardRef(SvgFileFileImageFill);
|
|
178
178
|
|
|
179
|
-
var _path$
|
|
180
|
-
function _extends$
|
|
179
|
+
var _path$H, _path2$5;
|
|
180
|
+
function _extends$H() { return _extends$H = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$H.apply(null, arguments); }
|
|
181
181
|
var SvgFileFileVideoFill = function SvgFileFileVideoFill(props, ref) {
|
|
182
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
182
|
+
return /*#__PURE__*/React.createElement("svg", _extends$H({
|
|
183
183
|
xmlns: "http://www.w3.org/2000/svg",
|
|
184
184
|
width: 24,
|
|
185
185
|
height: 24,
|
|
186
186
|
viewBox: "0 0 24 24",
|
|
187
187
|
ref: ref
|
|
188
|
-
}, props), _path$
|
|
188
|
+
}, props), _path$H || (_path$H = /*#__PURE__*/React.createElement("path", {
|
|
189
189
|
d: "M14.992 14 9.5 17.138v-6.276L14.992 14z"
|
|
190
190
|
})), _path2$5 || (_path2$5 = /*#__PURE__*/React.createElement("path", {
|
|
191
191
|
fillRule: "evenodd",
|
|
@@ -193,97 +193,98 @@ var SvgFileFileVideoFill = function SvgFileFileVideoFill(props, ref) {
|
|
|
193
193
|
clipRule: "evenodd"
|
|
194
194
|
})));
|
|
195
195
|
};
|
|
196
|
-
var ForwardRef$
|
|
196
|
+
var ForwardRef$H = /*#__PURE__*/forwardRef(SvgFileFileVideoFill);
|
|
197
197
|
|
|
198
|
-
var _path$
|
|
199
|
-
function _extends$
|
|
198
|
+
var _path$G;
|
|
199
|
+
function _extends$G() { return _extends$G = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$G.apply(null, arguments); }
|
|
200
200
|
var SvgFileFileTableFill = function SvgFileFileTableFill(props, ref) {
|
|
201
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
201
|
+
return /*#__PURE__*/React.createElement("svg", _extends$G({
|
|
202
202
|
xmlns: "http://www.w3.org/2000/svg",
|
|
203
203
|
width: 24,
|
|
204
204
|
height: 24,
|
|
205
205
|
viewBox: "0 0 24 24",
|
|
206
206
|
ref: ref
|
|
207
|
-
}, props), _path$
|
|
207
|
+
}, props), _path$G || (_path$G = /*#__PURE__*/React.createElement("path", {
|
|
208
208
|
fillRule: "evenodd",
|
|
209
209
|
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm-4 17H7v-2h3v2zm0-3H7v-2h3v2zm0-3H7v-2h3v2zm4 6h-3v-2h3v2zm0-3h-3v-2h3v2zm0-3h-3v-2h3v2zm-1-4V3.5L18.5 9H13z",
|
|
210
210
|
clipRule: "evenodd"
|
|
211
211
|
})));
|
|
212
212
|
};
|
|
213
|
-
var ForwardRef$
|
|
213
|
+
var ForwardRef$G = /*#__PURE__*/forwardRef(SvgFileFileTableFill);
|
|
214
214
|
|
|
215
|
-
var _path$
|
|
216
|
-
function _extends$
|
|
215
|
+
var _path$F;
|
|
216
|
+
function _extends$F() { return _extends$F = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$F.apply(null, arguments); }
|
|
217
217
|
var SvgFileFileTextFill = function SvgFileFileTextFill(props, ref) {
|
|
218
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
218
|
+
return /*#__PURE__*/React.createElement("svg", _extends$F({
|
|
219
219
|
xmlns: "http://www.w3.org/2000/svg",
|
|
220
220
|
width: 24,
|
|
221
221
|
height: 24,
|
|
222
222
|
viewBox: "0 0 24 24",
|
|
223
223
|
ref: ref
|
|
224
|
-
}, props), _path$
|
|
224
|
+
}, props), _path$F || (_path$F = /*#__PURE__*/React.createElement("path", {
|
|
225
225
|
fillRule: "evenodd",
|
|
226
226
|
d: "M13 9h5.5L13 3.5V9zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2zm9 16v-2H6v2h9zm3-4v-2H6v2h12z",
|
|
227
227
|
clipRule: "evenodd"
|
|
228
228
|
})));
|
|
229
229
|
};
|
|
230
|
-
var ForwardRef$
|
|
230
|
+
var ForwardRef$F = /*#__PURE__*/forwardRef(SvgFileFileTextFill);
|
|
231
231
|
|
|
232
|
-
var _path$
|
|
233
|
-
function _extends$
|
|
232
|
+
var _path$E;
|
|
233
|
+
function _extends$E() { return _extends$E = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$E.apply(null, arguments); }
|
|
234
234
|
var SvgFileFileEmlFill = function SvgFileFileEmlFill(props, ref) {
|
|
235
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
235
|
+
return /*#__PURE__*/React.createElement("svg", _extends$E({
|
|
236
236
|
xmlns: "http://www.w3.org/2000/svg",
|
|
237
237
|
width: 24,
|
|
238
238
|
height: 24,
|
|
239
239
|
viewBox: "0 0 24 24",
|
|
240
240
|
ref: ref
|
|
241
|
-
}, props), _path$
|
|
241
|
+
}, props), _path$E || (_path$E = /*#__PURE__*/React.createElement("path", {
|
|
242
242
|
fillRule: "evenodd",
|
|
243
243
|
d: "M4 4c0-1.11.89-2 2-2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4zm9-.5V9h5.5L13 3.5zM7 18v-4.732l5 3.333 5-3.333V18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1zm5-2.6 4.688-3.126A.997.997 0 0 0 16 12H8a.997.997 0 0 0-.688.274L12 15.399z",
|
|
244
244
|
clipRule: "evenodd"
|
|
245
245
|
})));
|
|
246
246
|
};
|
|
247
|
-
var ForwardRef$
|
|
247
|
+
var ForwardRef$E = /*#__PURE__*/forwardRef(SvgFileFileEmlFill);
|
|
248
248
|
|
|
249
|
-
var _path$
|
|
250
|
-
function _extends$
|
|
249
|
+
var _path$D;
|
|
250
|
+
function _extends$D() { return _extends$D = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$D.apply(null, arguments); }
|
|
251
251
|
var SvgFileFileFill = function SvgFileFileFill(props, ref) {
|
|
252
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
252
|
+
return /*#__PURE__*/React.createElement("svg", _extends$D({
|
|
253
253
|
xmlns: "http://www.w3.org/2000/svg",
|
|
254
254
|
width: 24,
|
|
255
255
|
height: 24,
|
|
256
256
|
viewBox: "0 0 24 24",
|
|
257
257
|
ref: ref
|
|
258
|
-
}, props), _path$
|
|
258
|
+
}, props), _path$D || (_path$D = /*#__PURE__*/React.createElement("path", {
|
|
259
259
|
d: "M6 22c-.55 0-1.02-.196-1.412-.587A1.927 1.927 0 0 1 4 20V4c0-.55.196-1.021.588-1.413A1.925 1.925 0 0 1 6 2h8l6 6v12a1.93 1.93 0 0 1-.587 1.413A1.928 1.928 0 0 1 18 22H6zm7-13h5l-5-5v5z"
|
|
260
260
|
})));
|
|
261
261
|
};
|
|
262
|
-
var ForwardRef$
|
|
262
|
+
var ForwardRef$D = /*#__PURE__*/forwardRef(SvgFileFileFill);
|
|
263
263
|
|
|
264
264
|
const fileIcons = {
|
|
265
|
-
docIcon: ForwardRef$
|
|
266
|
-
exelIcon: ForwardRef$
|
|
267
|
-
pdfIcon: ForwardRef$
|
|
268
|
-
imgIcon: ForwardRef$
|
|
269
|
-
videoIcon: ForwardRef$
|
|
270
|
-
tableIcon: ForwardRef$
|
|
271
|
-
textIcon: ForwardRef$
|
|
272
|
-
mailIcon: ForwardRef$
|
|
273
|
-
fileIcon: ForwardRef$
|
|
265
|
+
docIcon: ForwardRef$L,
|
|
266
|
+
exelIcon: ForwardRef$K,
|
|
267
|
+
pdfIcon: ForwardRef$J,
|
|
268
|
+
imgIcon: ForwardRef$I,
|
|
269
|
+
videoIcon: ForwardRef$H,
|
|
270
|
+
tableIcon: ForwardRef$G,
|
|
271
|
+
textIcon: ForwardRef$F,
|
|
272
|
+
mailIcon: ForwardRef$E,
|
|
273
|
+
fileIcon: ForwardRef$D,
|
|
274
274
|
};
|
|
275
275
|
const systemIcons = {
|
|
276
|
-
clear: ForwardRef$
|
|
277
|
-
foldingArrow: ForwardRef$
|
|
278
|
-
accept: ForwardRef$
|
|
279
|
-
search: ForwardRef$
|
|
280
|
-
calendar: ForwardRef$
|
|
281
|
-
info: ForwardRef$
|
|
276
|
+
clear: ForwardRef$R,
|
|
277
|
+
foldingArrow: ForwardRef$Q,
|
|
278
|
+
accept: ForwardRef$P,
|
|
279
|
+
search: ForwardRef$O,
|
|
280
|
+
calendar: ForwardRef$N,
|
|
281
|
+
info: ForwardRef$M,
|
|
282
282
|
};
|
|
283
283
|
|
|
284
284
|
const settings = {
|
|
285
285
|
sizes: {
|
|
286
286
|
defaults: {
|
|
287
|
+
alert: '48',
|
|
287
288
|
badge: '36',
|
|
288
289
|
button: '36',
|
|
289
290
|
checkbox: '18',
|
|
@@ -302,6 +303,13 @@ const settings = {
|
|
|
302
303
|
labeledInput: '36',
|
|
303
304
|
statusIndicator: '24',
|
|
304
305
|
paginator: '30',
|
|
306
|
+
rating: '18',
|
|
307
|
+
},
|
|
308
|
+
alert: {
|
|
309
|
+
action: {
|
|
310
|
+
36: '24',
|
|
311
|
+
48: '30',
|
|
312
|
+
},
|
|
305
313
|
},
|
|
306
314
|
tag: {
|
|
307
315
|
countIndicator: {
|
|
@@ -581,11 +589,11 @@ const settings = {
|
|
|
581
589
|
},
|
|
582
590
|
};
|
|
583
591
|
|
|
584
|
-
var css$
|
|
592
|
+
var css$1y = {"uui-typography":"BLa8lF","uuiTypography":"BLa8lF","hero-header":"_85rhtM","heroHeader":"_85rhtM","promo-header":"mEmWKX","promoHeader":"mEmWKX","uui-critical":"l56Qog","uuiCritical":"l56Qog","uui-info":"b5EVQU","uuiInfo":"b5EVQU","uui-success":"L5c5t5","uuiSuccess":"L5c5t5","uui-warning":"UmI9Rd","uuiWarning":"UmI9Rd","uui-highlight":"v6mRbk","uuiHighlight":"v6mRbk","uui-typography-size-12":"_6GTW6C","uuiTypographySize12":"_6GTW6C","uui-typography-size-14":"RaO9pV","uuiTypographySize14":"RaO9pV","uui-typography-size-16":"-xf5Fz","uuiTypographySize16":"-xf5Fz","root":"Sd8wUq"};
|
|
585
593
|
|
|
586
594
|
function applyButtonMods(mods) {
|
|
587
595
|
return [
|
|
588
|
-
css$
|
|
596
|
+
css$1y.root,
|
|
589
597
|
'uui-button',
|
|
590
598
|
`uui-fill-${mods.fill || 'solid'}`,
|
|
591
599
|
`uui-color-${mods.color || 'primary'}`,
|
|
@@ -599,10 +607,10 @@ const Button = /* @__PURE__ */withMods(uuiComponents.Button, applyButtonMods, ()
|
|
|
599
607
|
};
|
|
600
608
|
});
|
|
601
609
|
|
|
602
|
-
var css$
|
|
610
|
+
var css$1x = {"root":"ceu4Jl"};
|
|
603
611
|
|
|
604
612
|
function applyIconButtonMods(props) {
|
|
605
|
-
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$
|
|
613
|
+
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1x.root];
|
|
606
614
|
}
|
|
607
615
|
const IconButton = /* @__PURE__ */withMods(uuiComponents.IconButton, applyIconButtonMods, (props) => {
|
|
608
616
|
const isDeprecated = ['info', 'success', 'error', 'warning'].includes(props.color);
|
|
@@ -636,7 +644,7 @@ function getIconClass(props) {
|
|
|
636
644
|
return [classList['has-left-icon'] ? 'uui-has-left-icon' : 'uui-no-left-icon', classList['has-right-icon'] ? 'uui-has-right-icon' : 'uui-no-right-icon'];
|
|
637
645
|
}
|
|
638
646
|
|
|
639
|
-
var css$
|
|
647
|
+
var css$1w = {"uui-typography":"Mcf8PD","uuiTypography":"Mcf8PD","hero-header":"MRFvdy","heroHeader":"MRFvdy","promo-header":"_3JCoue","promoHeader":"_3JCoue","uui-critical":"_60ld5v","uuiCritical":"_60ld5v","uui-info":"EOZAqo","uuiInfo":"EOZAqo","uui-success":"pTKEcf","uuiSuccess":"pTKEcf","uui-warning":"Kh6Nqy","uuiWarning":"Kh6Nqy","uui-highlight":"DFEJcW","uuiHighlight":"DFEJcW","uui-typography-size-12":"mvKHRF","uuiTypographySize12":"mvKHRF","uui-typography-size-14":"i-WTso","uuiTypographySize14":"i-WTso","uui-typography-size-16":"J1RW9l","uuiTypographySize16":"J1RW9l","root":"QA3aGj"};
|
|
640
648
|
|
|
641
649
|
const DEFAULT_COLOR = 'primary';
|
|
642
650
|
const DEFAULT_WEIGHT = 'semibold';
|
|
@@ -652,7 +660,7 @@ const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
652
660
|
}
|
|
653
661
|
const rootStyles = [
|
|
654
662
|
'uui-link_button',
|
|
655
|
-
css$
|
|
663
|
+
css$1w.root,
|
|
656
664
|
`uui-size-${props.size || settings.sizes.defaults.linkButton}`,
|
|
657
665
|
...getIconClass(props),
|
|
658
666
|
`uui-color-${props.color || DEFAULT_COLOR}`,
|
|
@@ -667,11 +675,11 @@ const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
667
675
|
props.isDropdown && (React.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
668
676
|
});
|
|
669
677
|
|
|
670
|
-
var css$
|
|
678
|
+
var css$1v = {"root":"ijU3T6"};
|
|
671
679
|
|
|
672
680
|
const CountIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
673
681
|
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
674
|
-
css$
|
|
682
|
+
css$1v.root,
|
|
675
683
|
'uui-count_indicator',
|
|
676
684
|
`uui-size-${props.size || settings.sizes.defaults.countIndicator}`,
|
|
677
685
|
props.color && `uui-color-${props.color}`,
|
|
@@ -679,11 +687,11 @@ const CountIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
|
679
687
|
]) }, props.caption));
|
|
680
688
|
});
|
|
681
689
|
|
|
682
|
-
var css$
|
|
690
|
+
var css$1u = {"uui-typography":"K4BCuG","uuiTypography":"K4BCuG","hero-header":"_3ztadS","heroHeader":"_3ztadS","promo-header":"WU0Fwo","promoHeader":"WU0Fwo","uui-critical":"_2B780H","uuiCritical":"_2B780H","uui-info":"dnVppf","uuiInfo":"dnVppf","uui-success":"u-LjWn","uuiSuccess":"u-LjWn","uui-warning":"RFH7I2","uuiWarning":"RFH7I2","uui-highlight":"YkTVN7","uuiHighlight":"YkTVN7","uui-typography-size-12":"_5R973l","uuiTypographySize12":"_5R973l","uui-typography-size-14":"hImHWJ","uuiTypographySize14":"hImHWJ","uui-typography-size-16":"zTqlny","uuiTypographySize16":"zTqlny","root":"GBNWjd","withNotify":"jJfu9k"};
|
|
683
691
|
|
|
684
692
|
const TabButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
685
693
|
const styles = [
|
|
686
|
-
css$
|
|
694
|
+
css$1u.root,
|
|
687
695
|
'uui-tab-button',
|
|
688
696
|
`uui-size-${props.size || settings.sizes.defaults.tabButton}`,
|
|
689
697
|
...getIconClass(props),
|
|
@@ -695,48 +703,48 @@ const TabButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
695
703
|
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
696
704
|
(props.caption || props.withNotify) && (React__default.createElement("div", { className: cx$1(uuiElement.caption) },
|
|
697
705
|
props.caption,
|
|
698
|
-
props.withNotify && React__default.createElement("div", { className: css$
|
|
706
|
+
props.withNotify && React__default.createElement("div", { className: css$1u.withNotify }))),
|
|
699
707
|
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
700
708
|
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { color: "neutral", size: settings.sizes.tabButton.countIndicator[props.size || settings.sizes.defaults.tabButton], caption: props.count })),
|
|
701
709
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
702
710
|
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
703
711
|
});
|
|
704
712
|
|
|
705
|
-
var css$
|
|
713
|
+
var css$1t = {"uui-typography":"_39kwba","uuiTypography":"_39kwba","hero-header":"UZRX3R","heroHeader":"UZRX3R","promo-header":"yfxkWl","promoHeader":"yfxkWl","uui-critical":"hueuAZ","uuiCritical":"hueuAZ","uui-info":"UkFDEB","uuiInfo":"UkFDEB","uui-success":"vDIsUT","uuiSuccess":"vDIsUT","uui-warning":"izh9oU","uuiWarning":"izh9oU","uui-highlight":"q2go0J","uuiHighlight":"q2go0J","uui-typography-size-12":"dlRMag","uuiTypographySize12":"dlRMag","uui-typography-size-14":"PKHpAV","uuiTypographySize14":"PKHpAV","uui-typography-size-16":"bGl9CC","uuiTypographySize16":"bGl9CC","root":"EK9DMf"};
|
|
706
714
|
|
|
707
715
|
function applyVerticalTabButtonMods() {
|
|
708
|
-
return [css$
|
|
716
|
+
return [css$1t.root, 'uui-vertical-tab-button'];
|
|
709
717
|
}
|
|
710
718
|
const VerticalTabButton = /* @__PURE__ */withMods(TabButton, applyVerticalTabButtonMods);
|
|
711
719
|
|
|
712
|
-
var _path$
|
|
713
|
-
function _extends$
|
|
720
|
+
var _path$C;
|
|
721
|
+
function _extends$C() { return _extends$C = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$C.apply(null, arguments); }
|
|
714
722
|
var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
715
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
723
|
+
return /*#__PURE__*/React.createElement("svg", _extends$C({
|
|
716
724
|
xmlns: "http://www.w3.org/2000/svg",
|
|
717
725
|
width: 24,
|
|
718
726
|
height: 24,
|
|
719
727
|
viewBox: "0 0 24 24",
|
|
720
728
|
ref: ref
|
|
721
|
-
}, props), _path$
|
|
729
|
+
}, props), _path$C || (_path$C = /*#__PURE__*/React.createElement("path", {
|
|
722
730
|
d: "M19 10.5H5v3h14v-3z"
|
|
723
731
|
})));
|
|
724
732
|
};
|
|
725
|
-
var ForwardRef$
|
|
733
|
+
var ForwardRef$C = /*#__PURE__*/forwardRef(SvgContentMinusOutline);
|
|
726
734
|
|
|
727
|
-
var css$
|
|
735
|
+
var css$1s = {"uui-typography":"yv-DuJ","uuiTypography":"yv-DuJ","hero-header":"-HI3ft","heroHeader":"-HI3ft","promo-header":"oCYW32","promoHeader":"oCYW32","uui-critical":"O3gHrK","uuiCritical":"O3gHrK","uui-info":"es4Xts","uuiInfo":"es4Xts","uui-success":"_6gee-u","uuiSuccess":"_6gee-u","uui-warning":"teVG2Y","uuiWarning":"teVG2Y","uui-highlight":"_45e4sr","uuiHighlight":"_45e4sr","uui-typography-size-12":"_8gq8Ha","uuiTypographySize12":"_8gq8Ha","uui-typography-size-14":"JyqOLB","uuiTypographySize14":"JyqOLB","uui-typography-size-16":"vEzUiO","uuiTypographySize16":"vEzUiO","root":"bXXMWv","mode-cell":"VNLE04","modeCell":"VNLE04"};
|
|
728
736
|
|
|
729
737
|
function applyCheckboxMods(mods) {
|
|
730
738
|
return [
|
|
731
|
-
css$
|
|
739
|
+
css$1s.root,
|
|
732
740
|
`uui-size-${mods.size || settings.sizes.defaults.checkbox}`,
|
|
733
|
-
css$
|
|
741
|
+
css$1s['mode-' + (mods.mode || 'form')],
|
|
734
742
|
'uui-color-primary',
|
|
735
743
|
];
|
|
736
744
|
}
|
|
737
745
|
const applyUUICheckboxProps = (props) => {
|
|
738
|
-
const defaultIcon = ForwardRef$
|
|
739
|
-
const defaultIndeterminateIcon = ForwardRef$
|
|
746
|
+
const defaultIcon = ForwardRef$P;
|
|
747
|
+
const defaultIndeterminateIcon = ForwardRef$C;
|
|
740
748
|
return {
|
|
741
749
|
icon: props.icon ? props.icon : defaultIcon,
|
|
742
750
|
indeterminateIcon: props.indeterminateIcon ? props.indeterminateIcon : defaultIndeterminateIcon,
|
|
@@ -744,38 +752,38 @@ const applyUUICheckboxProps = (props) => {
|
|
|
744
752
|
};
|
|
745
753
|
const Checkbox = /* @__PURE__ */withMods(uuiComponents.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
746
754
|
|
|
747
|
-
var _path$
|
|
748
|
-
function _extends$
|
|
755
|
+
var _path$B;
|
|
756
|
+
function _extends$B() { return _extends$B = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$B.apply(null, arguments); }
|
|
749
757
|
var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
750
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
758
|
+
return /*#__PURE__*/React.createElement("svg", _extends$B({
|
|
751
759
|
xmlns: "http://www.w3.org/2000/svg",
|
|
752
760
|
width: 24,
|
|
753
761
|
height: 24,
|
|
754
762
|
viewBox: "0 0 24 24",
|
|
755
763
|
ref: ref
|
|
756
|
-
}, props), _path$
|
|
764
|
+
}, props), _path$B || (_path$B = /*#__PURE__*/React.createElement("path", {
|
|
757
765
|
d: "M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14z"
|
|
758
766
|
})));
|
|
759
767
|
};
|
|
760
|
-
var ForwardRef$
|
|
768
|
+
var ForwardRef$B = /*#__PURE__*/forwardRef(SvgRadioDotFill);
|
|
761
769
|
|
|
762
|
-
var css$
|
|
770
|
+
var css$1r = {"uui-typography":"_5RRAli","uuiTypography":"_5RRAli","hero-header":"EWMTQT","heroHeader":"EWMTQT","promo-header":"Vq9gAZ","promoHeader":"Vq9gAZ","uui-critical":"uTgGng","uuiCritical":"uTgGng","uui-info":"FzoMGA","uuiInfo":"FzoMGA","uui-success":"L194ld","uuiSuccess":"L194ld","uui-warning":"_9pPojW","uuiWarning":"_9pPojW","uui-highlight":"OVtSEv","uuiHighlight":"OVtSEv","uui-typography-size-12":"cYRsaj","uuiTypographySize12":"cYRsaj","uui-typography-size-14":"B-fPp-","uuiTypographySize14":"B-fPp-","uui-typography-size-16":"jfJ6QJ","uuiTypographySize16":"jfJ6QJ","root":"wKm1mK"};
|
|
763
771
|
|
|
764
772
|
function applyRadioInputMods(mods) {
|
|
765
773
|
return [
|
|
766
|
-
css$
|
|
774
|
+
css$1r.root,
|
|
767
775
|
`uui-size-${mods.size || settings.sizes.defaults.radioInput}`,
|
|
768
776
|
'uui-radio-input-container',
|
|
769
777
|
'uui-color-primary',
|
|
770
778
|
];
|
|
771
779
|
}
|
|
772
|
-
const RadioInput = /* @__PURE__ */withMods(RadioInput$1, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : ForwardRef$
|
|
780
|
+
const RadioInput = /* @__PURE__ */withMods(RadioInput$1, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : ForwardRef$B }));
|
|
773
781
|
|
|
774
|
-
var css$
|
|
782
|
+
var css$1q = {"root":"_2NyyeX"};
|
|
775
783
|
|
|
776
784
|
function applySwitchMods(mods) {
|
|
777
785
|
return [
|
|
778
|
-
css$
|
|
786
|
+
css$1q.root,
|
|
779
787
|
`uui-size-${mods.size || settings.sizes.defaults.switch}`,
|
|
780
788
|
'uui-color-primary',
|
|
781
789
|
];
|
|
@@ -839,7 +847,7 @@ var EditMode;
|
|
|
839
847
|
EditMode["INLINE"] = "inline";
|
|
840
848
|
})(EditMode || (EditMode = {}));
|
|
841
849
|
|
|
842
|
-
var textInputCss = {"uui-typography":"
|
|
850
|
+
var textInputCss = {"uui-typography":"iWXZu-","uuiTypography":"iWXZu-","hero-header":"_5uezzr","heroHeader":"_5uezzr","promo-header":"X9Slxh","promoHeader":"X9Slxh","uui-critical":"VmmGKx","uuiCritical":"VmmGKx","uui-info":"_0qg8iv","uuiInfo":"_0qg8iv","uui-success":"_0ebf7c","uuiSuccess":"_0ebf7c","uui-warning":"GObQv-","uuiWarning":"GObQv-","uui-highlight":"zwdGYi","uuiHighlight":"zwdGYi","uui-typography-size-12":"HD-CaN","uuiTypographySize12":"HD-CaN","uui-typography-size-14":"MFXj7w","uuiTypographySize14":"MFXj7w","uui-typography-size-16":"_3xPCzg","uuiTypographySize16":"_3xPCzg","root":"BDthH6","mode-form":"NePwUu","modeForm":"NePwUu","mode-inline":"ZGRPIq","modeInline":"ZGRPIq","mode-cell":"KFwhF8","modeCell":"KFwhF8"};
|
|
843
851
|
|
|
844
852
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
845
853
|
function applyTextInputMods(mods) {
|
|
@@ -865,22 +873,22 @@ const SearchInput = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
865
873
|
} })));
|
|
866
874
|
});
|
|
867
875
|
|
|
868
|
-
var css$
|
|
876
|
+
var css$1p = {"root":"R-ZSiv"};
|
|
869
877
|
|
|
870
|
-
const ControlGroup = /* @__PURE__ */withMods(ControlGroup$1, () => [css$
|
|
878
|
+
const ControlGroup = /* @__PURE__ */withMods(ControlGroup$1, () => [css$1p.root, 'uui-control-group']);
|
|
871
879
|
|
|
872
880
|
function MultiSwitchComponent(props, ref) {
|
|
873
881
|
return (React.createElement(ControlGroup, { ref: ref, rawProps: Object.assign(Object.assign({}, props.rawProps), { role: 'tablist', 'aria-invalid': props.isInvalid, 'aria-required': props.isRequired, 'aria-disabled': props.isDisabled, 'aria-readonly': props.isReadonly }) }, props.items.map((item, index) => (React.createElement(Button, Object.assign({}, props, item, { isDisabled: props.isDisabled, key: index + '-' + item.id, onClick: () => props.onValueChange(item.id), fill: props.value === item.id ? 'solid' : 'outline', color: props.color, size: props.size, rawProps: { 'aria-current': props.value === item.id, role: 'tab' } }))))));
|
|
874
882
|
}
|
|
875
883
|
const MultiSwitch = /* @__PURE__ */React.forwardRef(MultiSwitchComponent);
|
|
876
884
|
|
|
877
|
-
var css$
|
|
885
|
+
var css$1o = {"uui-typography":"GGyqfr","uuiTypography":"GGyqfr","hero-header":"UcytAy","heroHeader":"UcytAy","promo-header":"jDKX-P","promoHeader":"jDKX-P","uui-critical":"yw9QJI","uuiCritical":"yw9QJI","uui-info":"_3Vz73g","uuiInfo":"_3Vz73g","uui-success":"Zkef9Y","uuiSuccess":"Zkef9Y","uui-warning":"_7787PR","uuiWarning":"_7787PR","uui-highlight":"-xsBLt","uuiHighlight":"-xsBLt","uui-typography-size-12":"AlsmoF","uuiTypographySize12":"AlsmoF","uui-typography-size-14":"_5BGm53","uuiTypographySize14":"_5BGm53","uui-typography-size-16":"uwW-LF","uuiTypographySize16":"uwW-LF","root":"FKZ8jR","mode-form":"RjMPcd","modeForm":"RjMPcd","mode-cell":"rHtho2","modeCell":"rHtho2"};
|
|
878
886
|
|
|
879
887
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
880
888
|
function applyNumericInputMods(mods) {
|
|
881
889
|
return [
|
|
882
890
|
textInputCss.root,
|
|
883
|
-
css$
|
|
891
|
+
css$1o.root,
|
|
884
892
|
`uui-size-${mods.size || settings.sizes.defaults.numericInput}`,
|
|
885
893
|
textInputCss['mode-' + (mods.mode || DEFAULT_MODE$2)],
|
|
886
894
|
];
|
|
@@ -895,15 +903,15 @@ const NumericInput = /* @__PURE__ */withMods(NumericInput$1, applyNumericInputMo
|
|
|
895
903
|
};
|
|
896
904
|
});
|
|
897
905
|
|
|
898
|
-
var css$
|
|
906
|
+
var css$1n = {"uui-typography":"cA7h6S","uuiTypography":"cA7h6S","hero-header":"F8qx3R","heroHeader":"F8qx3R","promo-header":"BZlQFf","promoHeader":"BZlQFf","uui-critical":"yFWyBd","uuiCritical":"yFWyBd","uui-info":"lzf-zw","uuiInfo":"lzf-zw","uui-success":"_8um-Pg","uuiSuccess":"_8um-Pg","uui-warning":"_8nt2SN","uuiWarning":"_8nt2SN","uui-highlight":"N1fhjf","uuiHighlight":"N1fhjf","uui-typography-size-12":"vB6Kaq","uuiTypographySize12":"vB6Kaq","uui-typography-size-14":"_2d12zr","uuiTypographySize14":"_2d12zr","uui-typography-size-16":"vCAtt4","uuiTypographySize16":"vCAtt4","root":"t20qlB","mode-form":"W4H7oe","modeForm":"W4H7oe","mode-cell":"VgHz5c","modeCell":"VgHz5c","mode-inline":"TcTUTY","modeInline":"TcTUTY"};
|
|
899
907
|
|
|
900
908
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
901
909
|
function applyTextAreaMods(mods) {
|
|
902
910
|
return [
|
|
903
|
-
css$
|
|
911
|
+
css$1n.root,
|
|
904
912
|
'uui-textarea',
|
|
905
913
|
'uui-size-' + (mods.size || settings.sizes.defaults.textArea),
|
|
906
|
-
css$
|
|
914
|
+
css$1n['mode-' + (mods.mode || DEFAULT_MODE$1)],
|
|
907
915
|
];
|
|
908
916
|
}
|
|
909
917
|
const TextArea = /* @__PURE__ */withMods(TextArea$1, applyTextAreaMods, (props) => {
|
|
@@ -936,95 +944,96 @@ function TREE_SHAKEABLE_INIT$1() {
|
|
|
936
944
|
};
|
|
937
945
|
}
|
|
938
946
|
|
|
939
|
-
var _path$
|
|
940
|
-
function _extends$
|
|
947
|
+
var _path$A;
|
|
948
|
+
function _extends$A() { return _extends$A = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$A.apply(null, arguments); }
|
|
941
949
|
var SvgNotificationCheckFill = function SvgNotificationCheckFill(props, ref) {
|
|
942
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
950
|
+
return /*#__PURE__*/React.createElement("svg", _extends$A({
|
|
943
951
|
xmlns: "http://www.w3.org/2000/svg",
|
|
944
952
|
width: 24,
|
|
945
953
|
height: 24,
|
|
946
954
|
viewBox: "0 0 24 24",
|
|
947
955
|
ref: ref
|
|
948
|
-
}, props), _path$
|
|
956
|
+
}, props), _path$A || (_path$A = /*#__PURE__*/React.createElement("path", {
|
|
949
957
|
d: "m10.6 16.6 7.05-7.05-1.4-1.4-5.65 5.65-2.85-2.85-1.4 1.4 4.25 4.25zM12 22a9.733 9.733 0 0 1-3.9-.788 10.092 10.092 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.733 9.733 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.092 10.092 0 0 1 2.137-3.175c.9-.9 1.958-1.613 3.175-2.138A9.743 9.743 0 0 1 12 2a9.74 9.74 0 0 1 3.9.787 10.105 10.105 0 0 1 3.175 2.138c.9.9 1.612 1.958 2.137 3.175A9.733 9.733 0 0 1 22 12a9.733 9.733 0 0 1-.788 3.9 10.092 10.092 0 0 1-2.137 3.175c-.9.9-1.958 1.612-3.175 2.137A9.733 9.733 0 0 1 12 22z"
|
|
950
958
|
})));
|
|
951
959
|
};
|
|
952
|
-
var ForwardRef$
|
|
960
|
+
var ForwardRef$A = /*#__PURE__*/forwardRef(SvgNotificationCheckFill);
|
|
953
961
|
|
|
954
|
-
var _path$
|
|
955
|
-
function _extends$
|
|
962
|
+
var _path$z;
|
|
963
|
+
function _extends$z() { return _extends$z = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$z.apply(null, arguments); }
|
|
956
964
|
var SvgNotificationWarningFill = function SvgNotificationWarningFill(props, ref) {
|
|
957
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
965
|
+
return /*#__PURE__*/React.createElement("svg", _extends$z({
|
|
958
966
|
xmlns: "http://www.w3.org/2000/svg",
|
|
959
967
|
width: 24,
|
|
960
968
|
height: 24,
|
|
961
969
|
viewBox: "0 0 24 24",
|
|
962
970
|
ref: ref
|
|
963
|
-
}, props), _path$
|
|
971
|
+
}, props), _path$z || (_path$z = /*#__PURE__*/React.createElement("path", {
|
|
964
972
|
d: "M1 21 12 2l11 19H1zm11-3a.968.968 0 0 0 .713-.288A.967.967 0 0 0 13 17a.967.967 0 0 0-.287-.712A.968.968 0 0 0 12 16a.965.965 0 0 0-.712.288A.965.965 0 0 0 11 17c0 .283.096.52.288.712A.965.965 0 0 0 12 18zm-1-3h2v-5h-2v5z"
|
|
965
973
|
})));
|
|
966
974
|
};
|
|
967
|
-
var ForwardRef$
|
|
975
|
+
var ForwardRef$z = /*#__PURE__*/forwardRef(SvgNotificationWarningFill);
|
|
968
976
|
|
|
969
|
-
var _path$
|
|
970
|
-
function _extends$
|
|
977
|
+
var _path$y;
|
|
978
|
+
function _extends$y() { return _extends$y = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$y.apply(null, arguments); }
|
|
971
979
|
var SvgNotificationErrorFill = function SvgNotificationErrorFill(props, ref) {
|
|
972
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
980
|
+
return /*#__PURE__*/React.createElement("svg", _extends$y({
|
|
973
981
|
xmlns: "http://www.w3.org/2000/svg",
|
|
974
982
|
width: 24,
|
|
975
983
|
height: 24,
|
|
976
984
|
viewBox: "0 0 24 24",
|
|
977
985
|
ref: ref
|
|
978
|
-
}, props), _path$
|
|
986
|
+
}, props), _path$y || (_path$y = /*#__PURE__*/React.createElement("path", {
|
|
979
987
|
d: "M12 17a.968.968 0 0 0 .713-.288A.967.967 0 0 0 13 16a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 15a.967.967 0 0 0-.712.287A.968.968 0 0 0 11 16c0 .283.096.52.288.712A.965.965 0 0 0 12 17zm-1-4h2V7h-2v6zm1 9a9.733 9.733 0 0 1-3.9-.788 10.092 10.092 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.733 9.733 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.092 10.092 0 0 1 2.137-3.175c.9-.9 1.958-1.613 3.175-2.138A9.743 9.743 0 0 1 12 2a9.74 9.74 0 0 1 3.9.787 10.105 10.105 0 0 1 3.175 2.138c.9.9 1.612 1.958 2.137 3.175A9.733 9.733 0 0 1 22 12a9.733 9.733 0 0 1-.788 3.9 10.092 10.092 0 0 1-2.137 3.175c-.9.9-1.958 1.612-3.175 2.137A9.733 9.733 0 0 1 12 22z"
|
|
980
988
|
})));
|
|
981
989
|
};
|
|
982
|
-
var ForwardRef$
|
|
990
|
+
var ForwardRef$y = /*#__PURE__*/forwardRef(SvgNotificationErrorFill);
|
|
983
991
|
|
|
984
|
-
var _path$
|
|
985
|
-
function _extends$
|
|
992
|
+
var _path$x;
|
|
993
|
+
function _extends$x() { return _extends$x = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$x.apply(null, arguments); }
|
|
986
994
|
var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
987
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
995
|
+
return /*#__PURE__*/React.createElement("svg", _extends$x({
|
|
988
996
|
xmlns: "http://www.w3.org/2000/svg",
|
|
989
997
|
width: 24,
|
|
990
998
|
height: 24,
|
|
991
999
|
viewBox: "0 0 24 24",
|
|
992
1000
|
ref: ref
|
|
993
|
-
}, props), _path$
|
|
1001
|
+
}, props), _path$x || (_path$x = /*#__PURE__*/React.createElement("path", {
|
|
994
1002
|
d: "M11 17h2v-6h-2v6zm1-8a.968.968 0 0 0 .713-.288A.967.967 0 0 0 13 8a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 7a.967.967 0 0 0-.712.287A.968.968 0 0 0 11 8c0 .283.096.52.288.712A.965.965 0 0 0 12 9zm0 13a9.733 9.733 0 0 1-3.9-.788 10.092 10.092 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.733 9.733 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.092 10.092 0 0 1 2.137-3.175c.9-.9 1.958-1.613 3.175-2.138A9.743 9.743 0 0 1 12 2a9.74 9.74 0 0 1 3.9.787 10.105 10.105 0 0 1 3.175 2.138c.9.9 1.612 1.958 2.137 3.175A9.733 9.733 0 0 1 22 12a9.733 9.733 0 0 1-.788 3.9 10.092 10.092 0 0 1-2.137 3.175c-.9.9-1.958 1.612-3.175 2.137A9.733 9.733 0 0 1 12 22z"
|
|
995
1003
|
})));
|
|
996
1004
|
};
|
|
997
|
-
var ForwardRef$
|
|
998
|
-
|
|
999
|
-
var css$
|
|
1000
|
-
|
|
1001
|
-
const Alert = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("div", Object.assign({ role: "alert", ref: ref, className: cx('uui-alert', css$
|
|
1002
|
-
React.createElement("div", { className: css$
|
|
1003
|
-
|
|
1004
|
-
React.createElement(
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
const
|
|
1011
|
-
const
|
|
1012
|
-
const
|
|
1005
|
+
var ForwardRef$x = /*#__PURE__*/forwardRef(SvgNotificationInfoFill);
|
|
1006
|
+
|
|
1007
|
+
var css$1m = {"uui-typography":"PqaoD5","uuiTypography":"PqaoD5","hero-header":"DFRVgZ","heroHeader":"DFRVgZ","promo-header":"mgXinB","promoHeader":"mgXinB","uui-critical":"BllGxR","uuiCritical":"BllGxR","uui-info":"E67UGS","uuiInfo":"E67UGS","uui-success":"vFjaoB","uuiSuccess":"vFjaoB","uui-warning":"FBC-yv","uuiWarning":"FBC-yv","uui-highlight":"_7nFLcv","uuiHighlight":"_7nFLcv","uui-typography-size-12":"C3XNEo","uuiTypographySize12":"C3XNEo","uui-typography-size-14":"aeC91A","uuiTypographySize14":"aeC91A","uui-typography-size-16":"bFXxis","uuiTypographySize16":"bFXxis","root":"okzeuZ","main-path":"SONtwS","mainPath":"SONtwS","content-wrapper":"hIcDrj","contentWrapper":"hIcDrj","content":"tKbVNs","action-wrapper":"_9w-dxZ","actionWrapper":"_9w-dxZ","icon-wrapper":"HhUFnr","iconWrapper":"HhUFnr","icon":"RQvXSQ","close-icon":"it98vz","closeIcon":"it98vz"};
|
|
1008
|
+
|
|
1009
|
+
const Alert = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("div", Object.assign({ role: "alert", ref: ref, className: cx('uui-alert', css$1m.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.sizes.defaults.alert}`) }, props.rawProps),
|
|
1010
|
+
React.createElement("div", { className: css$1m.mainPath },
|
|
1011
|
+
React.createElement("div", { className: css$1m.contentWrapper },
|
|
1012
|
+
props.icon && (React.createElement("div", { className: css$1m.iconWrapper },
|
|
1013
|
+
React.createElement(IconContainer, { icon: props.icon, cx: css$1m.icon }))),
|
|
1014
|
+
React.createElement("div", { className: css$1m.content },
|
|
1015
|
+
props.children,
|
|
1016
|
+
props.actions && (React.createElement("div", { className: css$1m.actionWrapper }, props.actions.map((action) => (React.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$1m.actionLink, size: settings.sizes.alert.action[props.size || settings.sizes.defaults.alert] }))))))),
|
|
1017
|
+
props.onClose && React.createElement(IconButton, { icon: ForwardRef$R, color: "neutral", onClick: props.onClose, cx: css$1m.closeIcon })))));
|
|
1018
|
+
const WarningAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$z, color: "warning", ref: ref }, props)));
|
|
1019
|
+
const SuccessAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$A, color: "success", ref: ref }, props)));
|
|
1020
|
+
const HintAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$x, color: "info", ref: ref }, props)));
|
|
1021
|
+
const ErrorAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$y, color: "error", ref: ref }, props)));
|
|
1013
1022
|
|
|
1014
1023
|
const Dropdown = /* @__PURE__ */withMods(Dropdown$1);
|
|
1015
1024
|
|
|
1016
|
-
var css$
|
|
1025
|
+
var css$1l = {"root":"EL-Gur"};
|
|
1017
1026
|
|
|
1018
1027
|
function applyDropdownContainerMods(mods) {
|
|
1019
1028
|
return [
|
|
1020
|
-
css$
|
|
1029
|
+
css$1l.root,
|
|
1021
1030
|
mods.vPadding && `vPadding-${mods.vPadding}`,
|
|
1022
1031
|
mods.padding && `padding-${mods.padding}`,
|
|
1023
1032
|
];
|
|
1024
1033
|
}
|
|
1025
1034
|
const DropdownContainer = /* @__PURE__ */withMods(uuiComponents.DropdownContainer, applyDropdownContainerMods);
|
|
1026
1035
|
|
|
1027
|
-
var css$
|
|
1036
|
+
var css$1k = {"uui-typography":"tForgf","uuiTypography":"tForgf","hero-header":"ahTXrJ","heroHeader":"ahTXrJ","promo-header":"QR49-U","promoHeader":"QR49-U","uui-critical":"_9baVYH","uuiCritical":"_9baVYH","uui-info":"GqsbtO","uuiInfo":"GqsbtO","uui-success":"uBMfy1","uuiSuccess":"uBMfy1","uui-warning":"kaY7on","uuiWarning":"kaY7on","uui-highlight":"_0KAQHh","uuiHighlight":"_0KAQHh","uui-typography-size-12":"tnqi0-","uuiTypographySize12":"tnqi0-","uui-typography-size-14":"ZQxTfn","uuiTypographySize14":"ZQxTfn","uui-typography-size-16":"UOi0dK","uuiTypographySize16":"UOi0dK","submenu-root-item-rtl":"GbsI4x","submenuRootItemRtl":"GbsI4x","icon-after":"_2LeNI4","iconAfter":"_2LeNI4","submenu-root-item":"N3oV-C","submenuRootItem":"N3oV-C","icon-check":"oBb52i","iconCheck":"oBb52i","splitter-root":"_7GLM1G","splitterRoot":"_7GLM1G","splitter":"W2jfdF","header-root":"qHrmPe","headerRoot":"qHrmPe","item-root":"chwpSE","itemRoot":"chwpSE","icon":"_6pXzTN","link":"dKfjgQ","indent":"_2uTVBI","selected-mark":"Ot7d7U","selectedMark":"Ot7d7U"};
|
|
1028
1037
|
|
|
1029
1038
|
var IDropdownControlKeys;
|
|
1030
1039
|
(function (IDropdownControlKeys) {
|
|
@@ -1085,17 +1094,17 @@ const DropdownMenuButton = /* @__PURE__ */React__default.forwardRef((props, ref)
|
|
|
1085
1094
|
const getMenuButtonContent = () => {
|
|
1086
1095
|
const isIconBefore = Boolean(icon && iconPosition !== 'right');
|
|
1087
1096
|
const isIconAfter = Boolean(icon && iconPosition === 'right');
|
|
1088
|
-
const iconElement = (React__default.createElement(IconButton, { icon: icon, color: isActive ? 'primary' : 'neutral', onClick: onIconClick, isDisabled: isDisabled, cx: cx$1(css$
|
|
1097
|
+
const iconElement = (React__default.createElement(IconButton, { icon: icon, color: isActive ? 'primary' : 'neutral', onClick: onIconClick, isDisabled: isDisabled, cx: cx$1(css$1k.icon, iconPosition === 'right' ? css$1k.iconAfter : css$1k.iconBefore) }));
|
|
1089
1098
|
return (React__default.createElement(React__default.Fragment, null,
|
|
1090
1099
|
isIconBefore && iconElement,
|
|
1091
|
-
React__default.createElement(Text$1, { cx: props.indent && css$
|
|
1100
|
+
React__default.createElement(Text$1, { cx: props.indent && css$1k.indent }, caption),
|
|
1092
1101
|
isIconAfter && (React__default.createElement(React__default.Fragment, null,
|
|
1093
1102
|
React__default.createElement(FlexSpacer, null),
|
|
1094
1103
|
iconElement))));
|
|
1095
1104
|
};
|
|
1096
1105
|
const isAnchor = Boolean(link || href);
|
|
1097
|
-
const itemClassNames = cx$1(props.cx, css$
|
|
1098
|
-
return isAnchor ? (React__default.createElement(Anchor$1, { cx: cx$1(css$
|
|
1106
|
+
const itemClassNames = cx$1(props.cx, css$1k.itemRoot, isDisabled && uuiMod.disabled, isActive && uuiMod.active, isOpen && uuiMod.opened);
|
|
1107
|
+
return isAnchor ? (React__default.createElement(Anchor$1, { cx: cx$1(css$1k.link, itemClassNames), link: link, href: href, rawProps: { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 }, onClick: handleClick, isLinkActive: isActive, isDisabled: isDisabled, target: target }, getMenuButtonContent())) : (React__default.createElement(FlexRow$1, { rawProps: {
|
|
1099
1108
|
tabIndex: isDisabled ? -1 : 0,
|
|
1100
1109
|
role: 'menuitem',
|
|
1101
1110
|
onKeyDown: isDisabled ? null : handleOpenDropdown,
|
|
@@ -1103,15 +1112,15 @@ const DropdownMenuButton = /* @__PURE__ */React__default.forwardRef((props, ref)
|
|
|
1103
1112
|
getMenuButtonContent(),
|
|
1104
1113
|
isSelected && (React__default.createElement(React__default.Fragment, null,
|
|
1105
1114
|
React__default.createElement(FlexSpacer, null),
|
|
1106
|
-
React__default.createElement(IconContainer, { icon: systemIcons.accept, cx: css$
|
|
1115
|
+
React__default.createElement(IconContainer, { icon: systemIcons.accept, cx: css$1k.selectedMark })))));
|
|
1107
1116
|
});
|
|
1108
1117
|
function DropdownMenuSplitter(props) {
|
|
1109
|
-
return (React__default.createElement("div", { className: cx$1(props.cx, css$
|
|
1110
|
-
React__default.createElement("hr", { className: css$
|
|
1118
|
+
return (React__default.createElement("div", { className: cx$1(props.cx, css$1k.splitterRoot) },
|
|
1119
|
+
React__default.createElement("hr", { className: css$1k.splitter })));
|
|
1111
1120
|
}
|
|
1112
1121
|
function DropdownMenuHeader(props) {
|
|
1113
|
-
return (React__default.createElement("div", { className: cx$1('uui-dropdown-menu-header', props.cx, css$
|
|
1114
|
-
React__default.createElement("span", { className: css$
|
|
1122
|
+
return (React__default.createElement("div", { className: cx$1('uui-dropdown-menu-header', props.cx, css$1k.headerRoot) },
|
|
1123
|
+
React__default.createElement("span", { className: css$1k.header }, props.caption)));
|
|
1115
1124
|
}
|
|
1116
1125
|
function DropdownSubMenu(props) {
|
|
1117
1126
|
const subMenuModifiers = [
|
|
@@ -1133,7 +1142,7 @@ function DropdownSubMenu(props) {
|
|
|
1133
1142
|
const isRtl = (window === null || window === void 0 ? void 0 : window.document.dir) === 'rtl';
|
|
1134
1143
|
return (React__default.createElement(Dropdown$1, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", openDelay: 400, closeDelay: 400, placement: isRtl ? 'left-start' : 'right-start', modifiers: subMenuModifiers, renderBody: (dropdownProps) => !props.isDisabled && (React__default.createElement(DropdownMenuBody, Object.assign({ closeOnKey: IDropdownControlKeys.LEFT_ARROW }, props, dropdownProps))), renderTarget: (_a) => {
|
|
1135
1144
|
var { toggleDropdownOpening } = _a, targetProps = __rest(_a, ["toggleDropdownOpening"]);
|
|
1136
|
-
return (React__default.createElement(DropdownMenuButton, Object.assign({ cx: cx$1(isRtl ? css$
|
|
1145
|
+
return (React__default.createElement(DropdownMenuButton, Object.assign({ cx: cx$1(isRtl ? css$1k.submenuRootItemRtl : css$1k.submenuRootItem), icon: systemIcons.foldingArrow, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening }, props, targetProps)));
|
|
1137
1146
|
} }));
|
|
1138
1147
|
}
|
|
1139
1148
|
function DropdownMenuSwitchButton(props) {
|
|
@@ -1150,29 +1159,29 @@ function DropdownMenuSwitchButton(props) {
|
|
|
1150
1159
|
onHandleValueChange(!isSelected);
|
|
1151
1160
|
}
|
|
1152
1161
|
};
|
|
1153
|
-
return (React__default.createElement(FlexRow$1, { cx: cx$1(props.cx, css$
|
|
1154
|
-
icon && React__default.createElement(IconContainer, { icon: icon, cx: css$
|
|
1162
|
+
return (React__default.createElement(FlexRow$1, { cx: cx$1(props.cx, css$1k.itemRoot, isDisabled && uuiMod.disabled), onClick: () => onHandleValueChange(!isSelected), rawProps: { role: 'menuitem', onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 } },
|
|
1163
|
+
icon && React__default.createElement(IconContainer, { icon: icon, cx: css$1k.iconBefore }),
|
|
1155
1164
|
React__default.createElement(Text$1, null, caption),
|
|
1156
1165
|
React__default.createElement(FlexSpacer, null),
|
|
1157
1166
|
React__default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
1158
1167
|
}
|
|
1159
1168
|
|
|
1160
|
-
var css$
|
|
1169
|
+
var css$1j = {"uui-typography":"PLU4-E","uuiTypography":"PLU4-E","hero-header":"ifpP47","heroHeader":"ifpP47","promo-header":"_6wEJLr","promoHeader":"_6wEJLr","uui-critical":"glez-i","uuiCritical":"glez-i","uui-info":"R6dJNT","uuiInfo":"R6dJNT","uui-success":"DBF1uj","uuiSuccess":"DBF1uj","uui-warning":"t2sdIf","uuiWarning":"t2sdIf","uui-highlight":"dbOfXp","uuiHighlight":"dbOfXp","uui-typography-size-12":"fuvIn2","uuiTypographySize12":"fuvIn2","uui-typography-size-14":"sXvsC2","uuiTypographySize14":"sXvsC2","uui-typography-size-16":"NwYweU","uuiTypographySize16":"NwYweU","root":"yO4n7C","mode-block":"dZihJj","modeBlock":"dZihJj","mode-inline":"O4quU6","modeInline":"O4quU6","padding-0":"O6g4jR","padding0":"O6g4jR","padding-6":"KPC0sT","padding6":"KPC0sT","padding-12":"f-ng5D","padding12":"f-ng5D","padding-18":"BJGznu","padding18":"BJGznu"};
|
|
1161
1170
|
|
|
1162
1171
|
function applyAccordionMods(mods) {
|
|
1163
1172
|
return [
|
|
1164
|
-
css$
|
|
1165
|
-
css$
|
|
1166
|
-
mods.padding && css$
|
|
1173
|
+
css$1j.root,
|
|
1174
|
+
css$1j[`mode-${mods.mode || 'block'}`],
|
|
1175
|
+
mods.padding && css$1j['padding-' + mods.padding],
|
|
1167
1176
|
];
|
|
1168
1177
|
}
|
|
1169
1178
|
const Accordion = /* @__PURE__ */withMods(uuiComponents.Accordion, applyAccordionMods, (mods) => ({
|
|
1170
1179
|
dropdownIcon: mods.dropdownIcon !== null && systemIcons.foldingArrow,
|
|
1171
1180
|
}));
|
|
1172
1181
|
|
|
1173
|
-
var css$
|
|
1182
|
+
var css$1i = {"uui-typography":"i6xK7M","uuiTypography":"i6xK7M","hero-header":"wdItIn","heroHeader":"wdItIn","promo-header":"j9ZJhK","promoHeader":"j9ZJhK","uui-critical":"qf-c5g","uuiCritical":"qf-c5g","uui-info":"pCIEae","uuiInfo":"pCIEae","uui-success":"NnIqeK","uuiSuccess":"NnIqeK","uui-warning":"_268msu","uuiWarning":"_268msu","uui-highlight":"Vqryez","uuiHighlight":"Vqryez","uui-typography-size-12":"u5yeZU","uuiTypographySize12":"u5yeZU","uui-typography-size-14":"bxeTgs","uuiTypographySize14":"bxeTgs","uui-typography-size-16":"H-PlAV","uuiTypographySize16":"H-PlAV","root":"eIDA6n","border-top":"ciDgHQ","borderTop":"ciDgHQ","border-bottom":"jWh1EI","borderBottom":"jWh1EI","top-shadow":"p3K2XG","topShadow":"p3K2XG","padding-6":"OPDJfD","padding6":"OPDJfD","padding-12":"A8Thk8","padding12":"A8Thk8","padding-18":"U-wwWD","padding18":"U-wwWD","padding-24":"EfnV6b","padding24":"EfnV6b","margin-24":"sgLzpb","margin24":"sgLzpb","margin-12":"els8y2","margin12":"els8y2","vPadding-12":"_1HXgBH","vPadding12":"_1HXgBH","vPadding-18":"ojERDU","vPadding18":"ojERDU","vPadding-24":"Y9Lilo","vPadding24":"Y9Lilo","vPadding-36":"Zu0MVq","vPadding36":"Zu0MVq","vPadding-48":"-tPZwT","vPadding48":"-tPZwT","spacing-6":"-eKd8p","spacing6":"-eKd8p","spacing-12":"O2HN-t","spacing12":"O2HN-t","spacing-18":"c286rj","spacing18":"c286rj","uui-surface-main":"W0Hekf","uuiSurfaceMain":"W0Hekf"};
|
|
1174
1183
|
|
|
1175
|
-
const FlexCell = /* @__PURE__ */withMods(FlexCell$1, () => [css$
|
|
1184
|
+
const FlexCell = /* @__PURE__ */withMods(FlexCell$1, () => [css$1i.flexCell]);
|
|
1176
1185
|
|
|
1177
1186
|
const FlexRow = /* @__PURE__ */withMods(FlexRow$1, (props) => {
|
|
1178
1187
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -1181,54 +1190,54 @@ const FlexRow = /* @__PURE__ */withMods(FlexRow$1, (props) => {
|
|
|
1181
1190
|
}
|
|
1182
1191
|
}
|
|
1183
1192
|
return [
|
|
1184
|
-
css$
|
|
1193
|
+
css$1i.root,
|
|
1185
1194
|
props.size !== null && 'uui-size-' + (props.size || '36'),
|
|
1186
|
-
props.padding && css$
|
|
1187
|
-
props.vPadding && css$
|
|
1188
|
-
props.margin && css$
|
|
1189
|
-
props.topShadow && css$
|
|
1190
|
-
props.borderBottom && css$
|
|
1191
|
-
props.borderTop && css$
|
|
1192
|
-
props.spacing && css$
|
|
1193
|
-
props.background && css$
|
|
1195
|
+
props.padding && css$1i['padding-' + props.padding],
|
|
1196
|
+
props.vPadding && css$1i['vPadding-' + props.vPadding],
|
|
1197
|
+
props.margin && css$1i['margin-' + props.margin],
|
|
1198
|
+
props.topShadow && css$1i.topShadow,
|
|
1199
|
+
props.borderBottom && css$1i.borderBottom,
|
|
1200
|
+
props.borderTop && css$1i.borderTop,
|
|
1201
|
+
props.spacing && css$1i['spacing-' + props.spacing],
|
|
1202
|
+
props.background && css$1i[`uui-${props.background}`],
|
|
1194
1203
|
];
|
|
1195
1204
|
});
|
|
1196
1205
|
|
|
1197
|
-
var css$
|
|
1206
|
+
var css$1h = {"root":"CRqbyG","margin-24":"nB3-Kd","margin24":"nB3-Kd","padding-12":"lTNKpE","padding12":"lTNKpE","padding-24":"ymG--Q","padding24":"ymG--Q","shadow":"i2xMMw","uui-surface-main":"_0yRNW7","uuiSurfaceMain":"_0yRNW7"};
|
|
1198
1207
|
|
|
1199
1208
|
const Panel = /* @__PURE__ */withMods(VPanel, (props) => [
|
|
1200
1209
|
'uui-panel',
|
|
1201
|
-
css$
|
|
1202
|
-
props.shadow && css$
|
|
1203
|
-
props.margin && css$
|
|
1204
|
-
props.background && css$
|
|
1210
|
+
css$1h.root,
|
|
1211
|
+
props.shadow && css$1h.shadow,
|
|
1212
|
+
props.margin && css$1h['margin-' + props.margin],
|
|
1213
|
+
props.background && css$1h[`uui-${props.background}`],
|
|
1205
1214
|
]);
|
|
1206
1215
|
|
|
1207
|
-
var css$
|
|
1216
|
+
var css$1g = {"root":"hGx0XO"};
|
|
1208
1217
|
|
|
1209
1218
|
function applyTooltipMods(mods) {
|
|
1210
1219
|
return [
|
|
1211
|
-
css$
|
|
1220
|
+
css$1g.root,
|
|
1212
1221
|
`uui-color-${mods.color || 'inverted'}`,
|
|
1213
1222
|
];
|
|
1214
1223
|
}
|
|
1215
1224
|
const Tooltip = /* @__PURE__ */withMods(uuiComponents.Tooltip, applyTooltipMods);
|
|
1216
1225
|
|
|
1217
|
-
var css$
|
|
1226
|
+
var css$1f = {"uui-typography":"ajVxEf","uuiTypography":"ajVxEf","hero-header":"_2WuukQ","heroHeader":"_2WuukQ","promo-header":"R-wtf0","promoHeader":"R-wtf0","uui-critical":"JqLC6c","uuiCritical":"JqLC6c","uui-info":"EUL-a-","uuiInfo":"EUL-a-","uui-success":"VTc1wb","uuiSuccess":"VTc1wb","uui-warning":"Sn5b94","uuiWarning":"Sn5b94","uui-highlight":"I1JuGM","uuiHighlight":"I1JuGM","uui-typography-size-12":"_15hyF-","uuiTypographySize12":"_15hyF-","uui-typography-size-14":"Qvd2Jq","uuiTypographySize14":"Qvd2Jq","uui-typography-size-16":"bIOS7c","uuiTypographySize16":"bIOS7c","root":"zowzQl"};
|
|
1218
1227
|
|
|
1219
1228
|
function applyLabeledInputMods(mods) {
|
|
1220
1229
|
return [
|
|
1221
1230
|
'uui-labeled-input',
|
|
1222
|
-
css$
|
|
1231
|
+
css$1f.root,
|
|
1223
1232
|
'uui-size-' + (mods.size || settings.sizes.defaults.labeledInput),
|
|
1224
1233
|
];
|
|
1225
1234
|
}
|
|
1226
1235
|
const LabeledInput = /* @__PURE__ */withMods(uuiComponents.LabeledInput, applyLabeledInputMods, (props) => ({
|
|
1227
1236
|
Tooltip: props.Tooltip || Tooltip,
|
|
1228
|
-
infoIcon: props.infoIcon || (settings.sizes.labeledInput.fillIcon.includes(props.size) ? ForwardRef$
|
|
1237
|
+
infoIcon: props.infoIcon || (settings.sizes.labeledInput.fillIcon.includes(props.size) ? ForwardRef$x : ForwardRef$M),
|
|
1229
1238
|
}));
|
|
1230
1239
|
|
|
1231
|
-
var css$
|
|
1240
|
+
var css$1e = {"root":"_06KKh9"};
|
|
1232
1241
|
|
|
1233
1242
|
function RadioGroup(props) {
|
|
1234
1243
|
const direction = props.direction || 'vertical';
|
|
@@ -1237,34 +1246,34 @@ function RadioGroup(props) {
|
|
|
1237
1246
|
props.onValueChange(newVal);
|
|
1238
1247
|
}
|
|
1239
1248
|
};
|
|
1240
|
-
return (React.createElement("fieldset", Object.assign({ ref: props.forwardedRef, className: cx$1(css$
|
|
1249
|
+
return (React.createElement("fieldset", Object.assign({ ref: props.forwardedRef, className: cx$1(css$1e.root, directionMode[direction], props.cx), onFocus: props.onFocus, onBlur: props.onBlur }, props.rawProps), props.items.map((i) => {
|
|
1241
1250
|
const restItemProps = __rest(i, ["id", "name", "renderName"]);
|
|
1242
1251
|
return (React.createElement(RadioInput, Object.assign({ name: props.name, renderLabel: i.renderName ? i.renderName : () => i.name, value: props.value === i.id, onValueChange: () => handleChange(i.id), isDisabled: props.isDisabled || i.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, isRequired: props.isRequired, key: i.id.toString(), size: props.size || i.size }, restItemProps)));
|
|
1243
1252
|
})));
|
|
1244
1253
|
}
|
|
1245
1254
|
|
|
1246
|
-
var css$
|
|
1255
|
+
var css$1d = {"root":"P7A5BI"};
|
|
1247
1256
|
|
|
1248
1257
|
function applyScrollBarsMods() {
|
|
1249
1258
|
return [
|
|
1250
|
-
css$
|
|
1259
|
+
css$1d.root, 'uui-scroll-bars', 'uui-shadow-top', 'uui-shadow-bottom',
|
|
1251
1260
|
];
|
|
1252
1261
|
}
|
|
1253
1262
|
const ScrollBars = /* @__PURE__ */withMods(ScrollBars$1, applyScrollBarsMods);
|
|
1254
1263
|
|
|
1255
|
-
var css$
|
|
1264
|
+
var css$1c = {"scroll-container":"_6CE4b9","scrollContainer":"_6CE4b9","list-container":"KpAAnb","listContainer":"KpAAnb"};
|
|
1256
1265
|
|
|
1257
|
-
var css$
|
|
1266
|
+
var css$1b = {"root":"mYs8JU"};
|
|
1258
1267
|
|
|
1259
|
-
const AvatarStack = /* @__PURE__ */withMods(AvatarStack$1, () => [css$
|
|
1268
|
+
const AvatarStack = /* @__PURE__ */withMods(AvatarStack$1, () => [css$1b.root]);
|
|
1260
1269
|
|
|
1261
|
-
var css$
|
|
1270
|
+
var css$1a = {"uui-typography":"obptu2","uuiTypography":"obptu2","hero-header":"ZFPmGs","heroHeader":"ZFPmGs","promo-header":"cWyTE0","promoHeader":"cWyTE0","uui-critical":"q1lAJe","uuiCritical":"q1lAJe","uui-info":"tUnPFO","uuiInfo":"tUnPFO","uui-success":"_8kM-MO","uuiSuccess":"_8kM-MO","uui-warning":"Fk7L1G","uuiWarning":"Fk7L1G","uui-highlight":"e-R45N","uuiHighlight":"e-R45N","uui-typography-size-12":"XThKzz","uuiTypographySize12":"XThKzz","uui-typography-size-14":"nulr01","uuiTypographySize14":"nulr01","uui-typography-size-16":"jevBwv","uuiTypographySize16":"jevBwv","root":"n5sQKD"};
|
|
1262
1271
|
|
|
1263
1272
|
const DEFAULT_FILL = 'solid';
|
|
1264
1273
|
function applyBadgeMods(mods) {
|
|
1265
1274
|
return [
|
|
1266
1275
|
'uui-badge',
|
|
1267
|
-
css$
|
|
1276
|
+
css$1a.root,
|
|
1268
1277
|
`uui-size-${mods.size || settings.sizes.defaults.badge}`,
|
|
1269
1278
|
`uui-fill-${mods.fill || DEFAULT_FILL}`,
|
|
1270
1279
|
`uui-color-${mods.color || 'info'}`,
|
|
@@ -1282,11 +1291,11 @@ const Badge = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
1282
1291
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1283
1292
|
});
|
|
1284
1293
|
|
|
1285
|
-
var css$
|
|
1294
|
+
var css$19 = {"uui-typography":"D1bcLf","uuiTypography":"D1bcLf","hero-header":"zRwH7F","heroHeader":"zRwH7F","promo-header":"-RBK8Y","promoHeader":"-RBK8Y","uui-critical":"ZHOQFX","uuiCritical":"ZHOQFX","uui-info":"t4GC6P","uuiInfo":"t4GC6P","uui-success":"WbZEuW","uuiSuccess":"WbZEuW","uui-warning":"cHCPrL","uuiWarning":"cHCPrL","uui-highlight":"KTZpH7","uuiHighlight":"KTZpH7","uui-typography-size-12":"TA1okT","uuiTypographySize12":"TA1okT","uui-typography-size-14":"saCWD0","uuiTypographySize14":"saCWD0","uui-typography-size-16":"uU-enQ","uuiTypographySize16":"uU-enQ","root":"xr8P1o"};
|
|
1286
1295
|
|
|
1287
1296
|
function applyTagMods(props) {
|
|
1288
1297
|
return [
|
|
1289
|
-
css$
|
|
1298
|
+
css$19.root,
|
|
1290
1299
|
`uui-size-${props.size || settings.sizes.defaults.tag}`,
|
|
1291
1300
|
`uui-color-${props.color || 'neutral'}`,
|
|
1292
1301
|
`uui-fill-${props.fill || 'solid'}`,
|
|
@@ -1306,94 +1315,94 @@ const Tag = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
1306
1315
|
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1307
1316
|
});
|
|
1308
1317
|
|
|
1309
|
-
var css$
|
|
1318
|
+
var css$18 = {"root":"TLGpeM","uui-spinner":"_0sqre6","uuiSpinner":"_0sqre6"};
|
|
1310
1319
|
|
|
1311
1320
|
function applySpinnerMods() {
|
|
1312
|
-
return [css$
|
|
1321
|
+
return [css$18.root, 'uui-spinner'];
|
|
1313
1322
|
}
|
|
1314
1323
|
const Spinner = /* @__PURE__ */withMods(Spinner$1, applySpinnerMods);
|
|
1315
1324
|
|
|
1316
|
-
var _path$
|
|
1317
|
-
function _extends$
|
|
1325
|
+
var _path$w;
|
|
1326
|
+
function _extends$w() { return _extends$w = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$w.apply(null, arguments); }
|
|
1318
1327
|
var SvgNavigationChevronLeftOutline = function SvgNavigationChevronLeftOutline(props, ref) {
|
|
1319
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1328
|
+
return /*#__PURE__*/React.createElement("svg", _extends$w({
|
|
1320
1329
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1321
1330
|
width: 24,
|
|
1322
1331
|
height: 24,
|
|
1323
1332
|
viewBox: "0 0 24 24",
|
|
1324
1333
|
ref: ref
|
|
1325
|
-
}, props), _path$
|
|
1334
|
+
}, props), _path$w || (_path$w = /*#__PURE__*/React.createElement("path", {
|
|
1326
1335
|
d: "M15.914 5.414 14.5 4l-8 8 8 8 1.414-1.414L9.328 12l6.586-6.586z"
|
|
1327
1336
|
})));
|
|
1328
1337
|
};
|
|
1329
|
-
var ForwardRef$
|
|
1338
|
+
var ForwardRef$w = /*#__PURE__*/forwardRef(SvgNavigationChevronLeftOutline);
|
|
1330
1339
|
|
|
1331
|
-
var _path$
|
|
1332
|
-
function _extends$
|
|
1340
|
+
var _path$v;
|
|
1341
|
+
function _extends$v() { return _extends$v = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$v.apply(null, arguments); }
|
|
1333
1342
|
var SvgNavigationChevronRightOutline = function SvgNavigationChevronRightOutline(props, ref) {
|
|
1334
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1343
|
+
return /*#__PURE__*/React.createElement("svg", _extends$v({
|
|
1335
1344
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1336
1345
|
width: 24,
|
|
1337
1346
|
height: 24,
|
|
1338
1347
|
viewBox: "0 0 24 24",
|
|
1339
1348
|
ref: ref
|
|
1340
|
-
}, props), _path$
|
|
1349
|
+
}, props), _path$v || (_path$v = /*#__PURE__*/React.createElement("path", {
|
|
1341
1350
|
d: "M8.086 18.586 9.5 20l8-8-8-8-1.414 1.414L14.672 12l-6.586 6.586z"
|
|
1342
1351
|
})));
|
|
1343
1352
|
};
|
|
1344
|
-
var ForwardRef$
|
|
1353
|
+
var ForwardRef$v = /*#__PURE__*/forwardRef(SvgNavigationChevronRightOutline);
|
|
1345
1354
|
|
|
1346
|
-
var css$
|
|
1355
|
+
var css$17 = {"root":"osQYsV","page":"R-u0Q5","spacer":"mSvIuJ","mode-ghost":"Vw3AsL","modeGhost":"Vw3AsL"};
|
|
1347
1356
|
|
|
1348
1357
|
function Paginator(props) {
|
|
1349
|
-
const renderPaginator = (params) => (React__default.createElement("nav", Object.assign({ role: "navigation", className: cx(css$
|
|
1350
|
-
React__default.createElement(Button, { size: props.size || settings.sizes.defaults.paginator, icon: ForwardRef$
|
|
1358
|
+
const renderPaginator = (params) => (React__default.createElement("nav", Object.assign({ role: "navigation", className: cx(css$17.root, 'uui-paginator', `uui-size-${props.size || settings.sizes.defaults.paginator}`) }, params.rawProps),
|
|
1359
|
+
React__default.createElement(Button, { size: props.size || settings.sizes.defaults.paginator, icon: ForwardRef$w, onClick: params.goToPrev, isDisabled: params.isFirst || props.isDisabled, fill: "outline", color: "secondary" }),
|
|
1351
1360
|
params.pages.map((page, index) => {
|
|
1352
1361
|
if (page.type === 'spacer') {
|
|
1353
|
-
return (React__default.createElement(Button, { cx: cx(css$
|
|
1362
|
+
return (React__default.createElement(Button, { cx: cx(css$17.spacer, css$17.page), size: props.size || settings.sizes.defaults.paginator, key: `${index}_spacer`, caption: "...", fill: "ghost", color: "secondary", tabIndex: -1, isDisabled: props.isDisabled }));
|
|
1354
1363
|
}
|
|
1355
1364
|
else {
|
|
1356
|
-
return (React__default.createElement(Button, { cx: cx(css$
|
|
1365
|
+
return (React__default.createElement(Button, { cx: cx(css$17[`mode-${!page.isActive && 'ghost'}`], css$17.page), size: props.size || settings.sizes.defaults.paginator, 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 }, fill: (page.isActive && 'outline') || 'ghost', color: "primary", isDisabled: props.isDisabled }));
|
|
1357
1366
|
}
|
|
1358
1367
|
}),
|
|
1359
|
-
React__default.createElement(Button, { size: props.size || settings.sizes.defaults.paginator, icon: ForwardRef$
|
|
1368
|
+
React__default.createElement(Button, { size: props.size || settings.sizes.defaults.paginator, icon: ForwardRef$v, onClick: params.goToNext, isDisabled: params.isLast || props.isDisabled, fill: "outline", color: "secondary" })));
|
|
1360
1369
|
return React__default.createElement(Paginator$1, Object.assign({}, props, { render: renderPaginator }));
|
|
1361
1370
|
}
|
|
1362
1371
|
|
|
1363
|
-
var css$
|
|
1372
|
+
var css$16 = {"root":"AoahmD","progress-bar":"XSpG4Q","progressBar":"XSpG4Q","progressBar-indeterminate":"eOBJpW","progressBarIndeterminate":"eOBJpW","size-12":"-jGTpr","size12":"-jGTpr","size-18":"IIkMw8","size18":"IIkMw8","size-24":"_5-m3JV","size24":"_5-m3JV"};
|
|
1364
1373
|
|
|
1365
1374
|
const IndeterminateBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1366
|
-
return (React.createElement("div", { ref: ref, className: cx('uui-indeterminate_bar', props.cx, css$
|
|
1367
|
-
React.createElement("div", { className: cx(css$
|
|
1375
|
+
return (React.createElement("div", { ref: ref, className: cx('uui-indeterminate_bar', props.cx, css$16.root, css$16[`size-${props.size || 12}`]) },
|
|
1376
|
+
React.createElement("div", { className: cx(css$16.progressBar) })));
|
|
1368
1377
|
});
|
|
1369
1378
|
|
|
1370
|
-
var css$
|
|
1379
|
+
var css$15 = {"root":"J8RXA6","striped":"Hj0QrT","animate-stripes":"CE2Mq4","animateStripes":"CE2Mq4","size-12":"Vgk3M3","size12":"Vgk3M3","size-18":"HPpV2Z","size18":"HPpV2Z","size-24":"V-MJV4","size24":"V-MJV4"};
|
|
1371
1380
|
|
|
1372
1381
|
const DEFAULT_SIZE = '12';
|
|
1373
1382
|
function applyProgressBarMods(mods) {
|
|
1374
1383
|
const size = mods.size || DEFAULT_SIZE;
|
|
1375
1384
|
return [
|
|
1376
|
-
css$
|
|
1377
|
-
css$
|
|
1378
|
-
mods.striped && css$
|
|
1385
|
+
css$15.root,
|
|
1386
|
+
css$15[`size-${size}`],
|
|
1387
|
+
mods.striped && css$15.striped,
|
|
1379
1388
|
];
|
|
1380
1389
|
}
|
|
1381
1390
|
const ProgressBar = /* @__PURE__ */withMods(uuiComponents.ProgressBar, applyProgressBarMods, (props) => ({
|
|
1382
1391
|
hideLabel: props.hideLabel || props.striped,
|
|
1383
1392
|
}));
|
|
1384
1393
|
|
|
1385
|
-
var css$
|
|
1394
|
+
var css$14 = {"root":"X-B-bF"};
|
|
1386
1395
|
|
|
1387
1396
|
const IndicatorBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1388
1397
|
const { progress } = props;
|
|
1389
|
-
return progress || progress === 0 ? (React.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx(css$
|
|
1398
|
+
return progress || progress === 0 ? (React.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx(css$14.root, props.cx), hideLabel: true })) : (React.createElement(IndeterminateBar, { ref: ref, cx: cx(css$14.root, props.cx) }));
|
|
1390
1399
|
});
|
|
1391
1400
|
|
|
1392
|
-
var css$
|
|
1401
|
+
var css$13 = {"root":"xs7YlJ"};
|
|
1393
1402
|
|
|
1394
1403
|
const StatusIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
1395
1404
|
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
1396
|
-
css$
|
|
1405
|
+
css$13.root,
|
|
1397
1406
|
`uui-size-${props.size || settings.sizes.defaults.statusIndicator}`,
|
|
1398
1407
|
'uui-status_indicator',
|
|
1399
1408
|
`uui-color-${props.color || 'neutral'}`,
|
|
@@ -1404,7 +1413,7 @@ const StatusIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
|
1404
1413
|
React__default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
1405
1414
|
});
|
|
1406
1415
|
|
|
1407
|
-
var css$
|
|
1416
|
+
var css$12 = {"drag-handle":"_76NMMz","dragHandle":"_76NMMz","icon-container":"j536Cz","iconContainer":"j536Cz"};
|
|
1408
1417
|
|
|
1409
1418
|
function DataRowAddons(props) {
|
|
1410
1419
|
var _a, _b;
|
|
@@ -1416,19 +1425,19 @@ function DataRowAddons(props) {
|
|
|
1416
1425
|
return settings.sizes.rowAddons.indentWidth[props.size] || settings.sizes.rowAddons.defaults.indentWidth;
|
|
1417
1426
|
};
|
|
1418
1427
|
return (React__default.createElement(React__default.Fragment, null,
|
|
1419
|
-
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React__default.createElement(DragHandle, { key: "dh", cx: css$
|
|
1428
|
+
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React__default.createElement(DragHandle, { key: "dh", cx: css$12.dragHandle, rawProps: Object.assign({}, props.eventHandlers) }),
|
|
1420
1429
|
((_b = row === null || row === void 0 ? void 0 : row.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) && (React__default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size: settings.sizes.rowAddons.checkbox[props.size], value: row.isChecked, indeterminate: !row.isChecked && row.isChildrenChecked, onValueChange: () => { var _a; return (_a = row.onCheck) === null || _a === void 0 ? void 0 : _a.call(row, row); }, isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid })),
|
|
1421
1430
|
row.indent > 0 && (React__default.createElement("div", { key: "fold", className: cx('uui-dr_addons-indent', `uui-size-${props.size}`), style: { marginInlineStart: getIndent(), width: getWidth() } }, row.isFoldable && (React__default.createElement(IconContainer, { rawProps: {
|
|
1422
1431
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
1423
1432
|
role: 'button',
|
|
1424
|
-
}, key: "icon", icon: ForwardRef$
|
|
1425
|
-
uuiElement.foldingArrow, uuiMarkers.clickable, css$
|
|
1433
|
+
}, key: "icon", icon: ForwardRef$Q, cx: [
|
|
1434
|
+
uuiElement.foldingArrow, uuiMarkers.clickable, css$12.iconContainer,
|
|
1426
1435
|
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.sizes.rowAddons.icon[props.size] || settings.sizes.rowAddons.defaults.icon }))))));
|
|
1427
1436
|
}
|
|
1428
1437
|
|
|
1429
|
-
var css$
|
|
1438
|
+
var css$11 = {"root":"SQUzil"};
|
|
1430
1439
|
|
|
1431
|
-
const Blocker = /* @__PURE__ */withMods(Blocker$1, () => [css$
|
|
1440
|
+
const Blocker = /* @__PURE__ */withMods(Blocker$1, () => [css$11.root], (cmpProps) => ({ renderSpinner: cmpProps.renderSpinner || (() => React__default.createElement(Spinner, null)) }));
|
|
1432
1441
|
|
|
1433
1442
|
const VirtualList = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1434
1443
|
const { listContainerRef, offsetY, handleScroll, estimatedHeight, scrollContainerRef, } = useVirtualList({
|
|
@@ -1444,7 +1453,7 @@ const VirtualList = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1444
1453
|
var _a;
|
|
1445
1454
|
return ((_a = props.renderRows) === null || _a === void 0 ? void 0 : _a.call(props, {
|
|
1446
1455
|
listContainerRef, estimatedHeight, offsetY, scrollShadows,
|
|
1447
|
-
})) || (React.createElement("div", { className: css$
|
|
1456
|
+
})) || (React.createElement("div", { className: css$1c.listContainer, style: { minHeight: `${estimatedHeight}px` } },
|
|
1448
1457
|
React.createElement("div", { ref: listContainerRef, role: props.role, style: { marginTop: offsetY } }, props.rows)));
|
|
1449
1458
|
};
|
|
1450
1459
|
const renderView = ({ style }) => (React.createElement(VirtualListView, { isLoading: props.isLoading, style: style, rawProps: props.rawProps }));
|
|
@@ -1454,7 +1463,7 @@ const VirtualList = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1454
1463
|
return;
|
|
1455
1464
|
scrollContainerRef.current = scrollbars.container.firstChild;
|
|
1456
1465
|
}, []);
|
|
1457
|
-
return (React.createElement(ScrollBars, { cx: cx$1(css$
|
|
1466
|
+
return (React.createElement(ScrollBars, { cx: cx$1(css$1c.scrollContainer, props.cx, {
|
|
1458
1467
|
[uuiMarkers.scrolledLeft]: scrollShadows.horizontalLeft,
|
|
1459
1468
|
[uuiMarkers.scrolledRight]: scrollShadows.horizontalRight,
|
|
1460
1469
|
[uuiMarkers.scrolledTop]: scrollShadows.verticalTop,
|
|
@@ -1467,7 +1476,7 @@ const VirtualListView = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1467
1476
|
React.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
1468
1477
|
});
|
|
1469
1478
|
|
|
1470
|
-
var css
|
|
1479
|
+
var css$10 = {"root":"iHw-h-"};
|
|
1471
1480
|
|
|
1472
1481
|
function CheckboxGroup(props) {
|
|
1473
1482
|
const currentValue = props.value || [];
|
|
@@ -1483,16 +1492,16 @@ function CheckboxGroup(props) {
|
|
|
1483
1492
|
}
|
|
1484
1493
|
props.onValueChange(newSelection);
|
|
1485
1494
|
};
|
|
1486
|
-
return (React.createElement("fieldset", Object.assign({ ref: props.forwardedRef, className: cx$1(css
|
|
1495
|
+
return (React.createElement("fieldset", Object.assign({ ref: props.forwardedRef, className: cx$1(css$10.root, directionMode[direction], props.cx) }, props.rawProps), props.items.map((i) => {
|
|
1487
1496
|
const restItemProps = __rest(i, ["id", "name", "renderName"]);
|
|
1488
1497
|
return (React.createElement(Checkbox, Object.assign({ renderLabel: i.renderName ? i.renderName : () => i.name, value: currentValue.indexOf(i.id) !== -1, onValueChange: (selected) => handleChange(selected, i.id), isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, isRequired: props.isRequired, key: i.id.toString(), size: props.size || i.size }, restItemProps)));
|
|
1489
1498
|
})));
|
|
1490
1499
|
}
|
|
1491
1500
|
|
|
1492
|
-
var css
|
|
1501
|
+
var css$$ = {"uui-typography":"d-EMCo","uuiTypography":"d-EMCo","hero-header":"E6kuus","heroHeader":"E6kuus","promo-header":"EMOInY","promoHeader":"EMOInY","uui-critical":"oszFfG","uuiCritical":"oszFfG","uui-info":"dkYqHD","uuiInfo":"dkYqHD","uui-success":"VtAT-R","uuiSuccess":"VtAT-R","uui-warning":"p7n702","uuiWarning":"p7n702","uui-highlight":"_4qfoTf","uuiHighlight":"_4qfoTf","uui-typography-size-12":"_1rYmX7","uuiTypographySize12":"_1rYmX7","uui-typography-size-14":"c-N2su","uuiTypographySize14":"c-N2su","uui-typography-size-16":"V9C8NQ","uuiTypographySize16":"V9C8NQ","root":"_7fjSjH","modal-blocker":"tUA4nY","modalBlocker":"tUA4nY","animateModalBlocker":"_5jCSqC","modal":"noNQ7p","modal-footer":"SH5mWX","modalFooter":"SH5mWX","modal-header":"BkL-FB","modalHeader":"BkL-FB"};
|
|
1493
1502
|
|
|
1494
|
-
const ModalBlocker = /* @__PURE__ */withMods(ModalBlocker$1, () => [css
|
|
1495
|
-
const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css
|
|
1503
|
+
const ModalBlocker = /* @__PURE__ */withMods(ModalBlocker$1, () => [css$$.modalBlocker]);
|
|
1504
|
+
const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css$$.root, css$$.modal], (props) => {
|
|
1496
1505
|
const width = props.width || settings.sizes.modal.window.defaults.width;
|
|
1497
1506
|
const height = props.height || 'auto';
|
|
1498
1507
|
const maxHeight = isMobile() ? '100dvh' : (props.maxHeight || '80dvh');
|
|
@@ -1504,19 +1513,19 @@ const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css$_.root, cs
|
|
|
1504
1513
|
});
|
|
1505
1514
|
class ModalHeader extends React__default.Component {
|
|
1506
1515
|
render() {
|
|
1507
|
-
return (React__default.createElement(FlexRow, { padding: this.props.padding || '24', size: null, vPadding: "36", borderBottom: this.props.borderBottom, cx: [css
|
|
1516
|
+
return (React__default.createElement(FlexRow, { padding: this.props.padding || '24', size: null, vPadding: "36", borderBottom: this.props.borderBottom, cx: [css$$.root, css$$.modalHeader, this.props.cx], columnGap: "12", rawProps: this.props.rawProps },
|
|
1508
1517
|
this.props.title && (React__default.createElement("div", { className: cx('uui-modal-title', 'uui-typography') }, this.props.title)),
|
|
1509
1518
|
this.props.children,
|
|
1510
1519
|
this.props.onClose && React__default.createElement(FlexSpacer, null),
|
|
1511
1520
|
this.props.onClose && (React__default.createElement(FlexCell, { shrink: 0, width: "auto" },
|
|
1512
|
-
React__default.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: ForwardRef$
|
|
1521
|
+
React__default.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: ForwardRef$R, onClick: this.props.onClose })))));
|
|
1513
1522
|
}
|
|
1514
1523
|
}
|
|
1515
1524
|
class ModalFooter extends React__default.Component {
|
|
1516
1525
|
render() {
|
|
1517
1526
|
return (React__default.createElement(FlexRow, { columnGap: this.props.columnGap || '12', cx: [
|
|
1518
|
-
css
|
|
1519
|
-
css
|
|
1527
|
+
css$$.root,
|
|
1528
|
+
css$$.modalFooter,
|
|
1520
1529
|
this.props.cx,
|
|
1521
1530
|
], borderTop: this.props.borderTop, padding: this.props.padding || '24', vPadding: this.props.vPadding || '24', rawProps: this.props.rawProps }, this.props.children));
|
|
1522
1531
|
}
|
|
@@ -1660,25 +1669,26 @@ const TREE_SHAKEABLE_INIT = () => (Object.assign(Object.assign({}, i18n$1), { da
|
|
|
1660
1669
|
subtitle: 'We are trying to recover. Please wait.',
|
|
1661
1670
|
},
|
|
1662
1671
|
},
|
|
1672
|
+
supportMessage: undefined,
|
|
1663
1673
|
} }));
|
|
1664
1674
|
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
1665
1675
|
|
|
1666
|
-
var _path$
|
|
1667
|
-
function _extends$
|
|
1676
|
+
var _path$u;
|
|
1677
|
+
function _extends$u() { return _extends$u = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$u.apply(null, arguments); }
|
|
1668
1678
|
var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
1669
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1679
|
+
return /*#__PURE__*/React.createElement("svg", _extends$u({
|
|
1670
1680
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1671
1681
|
width: 24,
|
|
1672
1682
|
height: 24,
|
|
1673
1683
|
viewBox: "0 0 24 24",
|
|
1674
1684
|
ref: ref
|
|
1675
|
-
}, props), _path$
|
|
1685
|
+
}, props), _path$u || (_path$u = /*#__PURE__*/React.createElement("path", {
|
|
1676
1686
|
d: "M11.95 18c.35 0 .646-.121.888-.363.241-.241.362-.537.362-.887s-.12-.646-.362-.887a1.208 1.208 0 0 0-.888-.363c-.35 0-.646.121-.888.363a1.206 1.206 0 0 0-.362.887c0 .35.12.646.362.887.242.242.538.363.888.363zm-.9-3.85h1.85c0-.55.063-.983.188-1.3.125-.317.479-.75 1.062-1.3a7.483 7.483 0 0 0 1.025-1.238c.25-.391.375-.862.375-1.412 0-.933-.342-1.65-1.025-2.15-.683-.5-1.492-.75-2.425-.75-.95 0-1.72.25-2.312.75-.592.5-1.005 1.1-1.238 1.8l1.65.65c.083-.3.271-.625.563-.975.291-.35.737-.525 1.337-.525.533 0 .933.146 1.2.437.267.292.4.613.4.963 0 .333-.1.646-.3.937-.2.292-.45.563-.75.813-.733.65-1.183 1.142-1.35 1.475-.167.333-.25.942-.25 1.825zM12 22a9.733 9.733 0 0 1-3.9-.788 10.092 10.092 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.733 9.733 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.092 10.092 0 0 1 2.137-3.175c.9-.9 1.958-1.613 3.175-2.138A9.743 9.743 0 0 1 12 2a9.74 9.74 0 0 1 3.9.787 10.105 10.105 0 0 1 3.175 2.138c.9.9 1.612 1.958 2.137 3.175A9.733 9.733 0 0 1 22 12a9.733 9.733 0 0 1-.788 3.9 10.092 10.092 0 0 1-2.137 3.175c-.9.9-1.958 1.612-3.175 2.137A9.733 9.733 0 0 1 12 22z"
|
|
1677
1687
|
})));
|
|
1678
1688
|
};
|
|
1679
|
-
var ForwardRef$
|
|
1689
|
+
var ForwardRef$u = /*#__PURE__*/forwardRef(SvgNotificationHelpFill);
|
|
1680
1690
|
|
|
1681
|
-
var css$
|
|
1691
|
+
var css$_ = {"uui-typography":"cOgR5z","uuiTypography":"cOgR5z","hero-header":"PhvdhL","heroHeader":"PhvdhL","promo-header":"PLeV9B","promoHeader":"PLeV9B","uui-critical":"SLEqUH","uuiCritical":"SLEqUH","uui-info":"vvbYes","uuiInfo":"vvbYes","uui-success":"MYD2kE","uuiSuccess":"MYD2kE","uui-warning":"fpS7nt","uuiWarning":"fpS7nt","uui-highlight":"N-KzZE","uuiHighlight":"N-KzZE","uui-typography-size-12":"_7eBhZX","uuiTypographySize12":"_7eBhZX","uui-typography-size-14":"-xytXs","uuiTypographySize14":"-xytXs","uui-typography-size-16":"msc6lw","uuiTypographySize16":"msc6lw","root":"o5cCRt","icon-wrapper":"LyNbOu","iconWrapper":"LyNbOu","action-wrapper":"g1fV9K","actionWrapper":"g1fV9K","action-link":"_3alFXz","actionLink":"_3alFXz","close-icon":"_9UhlU0","closeIcon":"_9UhlU0","main-path":"_0Ib--9","mainPath":"_0Ib--9","content":"pqr3el","close-wrapper":"Z0T4Pq","closeWrapper":"Z0T4Pq","notification-wrapper":"EEEUG9","notificationWrapper":"EEEUG9","clear-button":"bNAyGc","clearButton":"bNAyGc"};
|
|
1682
1692
|
|
|
1683
1693
|
const NotificationCard = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
1684
1694
|
const notificationCardNode = React__default.useRef(null);
|
|
@@ -1693,27 +1703,27 @@ const NotificationCard = /* @__PURE__ */React__default.forwardRef((props, ref) =
|
|
|
1693
1703
|
(_b = notificationCardNode.current) === null || _b === void 0 ? void 0 : _b.removeEventListener('mouseleave', props.refreshTimer);
|
|
1694
1704
|
};
|
|
1695
1705
|
}, []);
|
|
1696
|
-
return (React__default.createElement("div", Object.assign({ role: "alert", className: cx('uui-notification_card', props.color && `uui-color-${props.color}`, css$
|
|
1697
|
-
React__default.createElement("div", { className: css$
|
|
1698
|
-
props.icon && (React__default.createElement("div", { className: css$
|
|
1706
|
+
return (React__default.createElement("div", Object.assign({ role: "alert", className: cx('uui-notification_card', props.color && `uui-color-${props.color}`, css$_.root, props.cx), ref: notificationCardNode }, props.rawProps),
|
|
1707
|
+
React__default.createElement("div", { className: css$_.mainPath },
|
|
1708
|
+
props.icon && (React__default.createElement("div", { className: css$_.iconWrapper },
|
|
1699
1709
|
React__default.createElement(IconContainer, { size: 24, icon: props.icon }))),
|
|
1700
|
-
React__default.createElement("div", { className: css$
|
|
1710
|
+
React__default.createElement("div", { className: css$_.content },
|
|
1701
1711
|
props.children,
|
|
1702
|
-
props.actions && (React__default.createElement("div", { className: css$
|
|
1703
|
-
props.onClose && (React__default.createElement("div", { className: css$
|
|
1704
|
-
React__default.createElement(IconButton, { icon: ForwardRef$
|
|
1712
|
+
props.actions && (React__default.createElement("div", { className: css$_.actionWrapper }, props.actions.map((action) => (React__default.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$_.actionLink, size: "36", rawProps: action.rawProps })))))),
|
|
1713
|
+
props.onClose && (React__default.createElement("div", { className: css$_.closeWrapper },
|
|
1714
|
+
React__default.createElement(IconButton, { icon: ForwardRef$R, color: "neutral", onClick: props.onClose, cx: css$_.closeIcon }))))));
|
|
1705
1715
|
});
|
|
1706
|
-
const WarningNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1707
|
-
const SuccessNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1708
|
-
const HintNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1709
|
-
const ErrorNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1716
|
+
const WarningNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$z, color: "warning" }, props, { ref: ref, cx: props.cx }))));
|
|
1717
|
+
const SuccessNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$A, color: "success" }, props, { ref: ref, cx: props.cx }))));
|
|
1718
|
+
const HintNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$u, color: "info" }, props, { ref: ref, cx: props.cx }))));
|
|
1719
|
+
const ErrorNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$y, color: "error" }, props, { ref: ref, cx: props.cx }))));
|
|
1710
1720
|
function ClearNotification() {
|
|
1711
1721
|
const uuiCtx = useUuiContext();
|
|
1712
|
-
return (React__default.createElement("div", { className: cx(css$
|
|
1722
|
+
return (React__default.createElement("div", { className: cx(css$_.notificationWrapper, css$_.clearButton) },
|
|
1713
1723
|
React__default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
|
|
1714
1724
|
}
|
|
1715
1725
|
|
|
1716
|
-
var css$
|
|
1726
|
+
var css$Z = {"footer":"_7WWSUZ"};
|
|
1717
1727
|
|
|
1718
1728
|
class ConfirmationModal extends React.Component {
|
|
1719
1729
|
render() {
|
|
@@ -1725,7 +1735,7 @@ class ConfirmationModal extends React.Component {
|
|
|
1725
1735
|
React.createElement(ModalWindow, { width: 420 },
|
|
1726
1736
|
React.createElement(ModalHeader, { borderBottom: true, title: this.props.caption, onClose: () => this.props.abort() }),
|
|
1727
1737
|
React.createElement(ScrollBars, null, bodyContent),
|
|
1728
|
-
React.createElement(ModalFooter, { cx: css$
|
|
1738
|
+
React.createElement(ModalFooter, { cx: css$Z.footer },
|
|
1729
1739
|
this.props.hideCancelButton || (React.createElement(Button, { caption: i18n.form.modals.discardButton, onClick: () => this.props.success(false), fill: "outline", color: "secondary" })),
|
|
1730
1740
|
React.createElement(Button, { caption: i18n.form.modals.saveButton, onClick: () => this.props.success(true), color: "primary" })))));
|
|
1731
1741
|
}
|
|
@@ -1755,7 +1765,7 @@ function useReliableForceUpdate() {
|
|
|
1755
1765
|
return red[1];
|
|
1756
1766
|
}
|
|
1757
1767
|
|
|
1758
|
-
var css$
|
|
1768
|
+
var css$Y = {"root":"nt7CmI","timepicker-input":"MRghmu","timepickerInput":"MRghmu","ltr-always":"zQnFxp","ltrAlways":"zQnFxp"};
|
|
1759
1769
|
|
|
1760
1770
|
const uuiTimePicker = {
|
|
1761
1771
|
container: 'uui-timepicker-container',
|
|
@@ -1794,23 +1804,23 @@ function TimePickerBody(props) {
|
|
|
1794
1804
|
const minutesToSubtract = value.minute() % minutesStep === 0 ? minutesStep : value.minute() % minutesStep;
|
|
1795
1805
|
onMinutesChange(value.subtract(minutesToSubtract, 'm').minute());
|
|
1796
1806
|
};
|
|
1797
|
-
return (React.createElement("div", Object.assign({ className: cx$1(css$
|
|
1798
|
-
React.createElement("div", { className: css$
|
|
1807
|
+
return (React.createElement("div", Object.assign({ className: cx$1(css$Y.root, uuiTimePicker.container, props.cx), ref: props.forwardedRef }, props.rawProps),
|
|
1808
|
+
React.createElement("div", { className: css$Y.ltrAlways },
|
|
1799
1809
|
React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
1800
|
-
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment hours' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$
|
|
1810
|
+
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment hours' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$Q, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).add(1, 'h').hour()) }),
|
|
1801
1811
|
React.createElement(NumericInput$1, { cx: uuiTimePicker.input, onValueChange: onHoursChange, value: +(uuiDayjs.dayjs()
|
|
1802
1812
|
.set(props.value)
|
|
1803
1813
|
.format(MAX_HOURS === FORMAT_12H ? 'hh' : 'HH')), min: MIN_HOURS, max: MAX_HOURS }),
|
|
1804
|
-
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement hours' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$
|
|
1814
|
+
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement hours' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$Q, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).subtract(1, 'h').hour()) })),
|
|
1805
1815
|
React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
1806
|
-
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment minutes' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$
|
|
1816
|
+
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment minutes' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$Q, onClick: handleMinutesUpClick }),
|
|
1807
1817
|
React.createElement(NumericInput$1, { cx: uuiTimePicker.input, onValueChange: onMinutesChange, value: +uuiDayjs.dayjs().set(props.value).format('m'), min: MIN_MINUTES, max: MAX_MINUTES }),
|
|
1808
|
-
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement minutes' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$
|
|
1818
|
+
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement minutes' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$Q, onClick: handleMinutesDownClick }))),
|
|
1809
1819
|
MAX_HOURS === FORMAT_12H && (React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
1810
|
-
React.createElement(IconContainer, { size: 18, cx: uuiTimePicker.iconUp, icon: ForwardRef$
|
|
1820
|
+
React.createElement(IconContainer, { size: 18, cx: uuiTimePicker.iconUp, icon: ForwardRef$Q, onClick: onTimeTypeChange }),
|
|
1811
1821
|
React.createElement(TextInput$1, { cx: uuiTimePicker.input, onValueChange: () => {
|
|
1812
1822
|
}, isReadonly: true, value: uuiDayjs.dayjs().set(props.value).format('A') }),
|
|
1813
|
-
React.createElement(IconContainer, { size: 18, cx: uuiTimePicker.iconDown, icon: ForwardRef$
|
|
1823
|
+
React.createElement(IconContainer, { size: 18, cx: uuiTimePicker.iconDown, icon: ForwardRef$Q, onClick: onTimeTypeChange })))));
|
|
1814
1824
|
}
|
|
1815
1825
|
|
|
1816
1826
|
const getMeridian = (newValue, format) => {
|
|
@@ -1937,7 +1947,7 @@ function TimePicker(props) {
|
|
|
1937
1947
|
};
|
|
1938
1948
|
const renderInput = (inputProps) => {
|
|
1939
1949
|
var _a;
|
|
1940
|
-
return (React__default.createElement(TextInput, Object.assign({}, inputProps, { onClick: null, size: props.size || '36', isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, cx: [css$
|
|
1950
|
+
return (React__default.createElement(TextInput, Object.assign({}, inputProps, { onClick: null, size: props.size || '36', isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, cx: [css$Y.root, css$Y.timepickerInput, props.inputCx], value: state.inputValue, onValueChange: handleInputChange, onCancel: !props.disableClear && onClear, onFocus: handleFocus, onBlur: handleBlur, isDropdown: false, placeholder: props.placeholder ? props.placeholder : getFormat(), mode: props.mode || DEFAULT_MODE, rawProps: (_a = props.rawProps) === null || _a === void 0 ? void 0 : _a.input })));
|
|
1941
1951
|
};
|
|
1942
1952
|
const renderBody = (bodyProps) => {
|
|
1943
1953
|
var _a;
|
|
@@ -1948,22 +1958,52 @@ function TimePicker(props) {
|
|
|
1948
1958
|
return (React__default.createElement(Dropdown, { renderTarget: (targetProps) => (props.renderTarget ? props.renderTarget(targetProps) : renderInput(targetProps)), renderBody: (bodyProps) => !props.isDisabled && !props.isReadonly && renderBody(bodyProps), onValueChange: !props.isDisabled && !props.isReadonly ? onToggle : null, value: state.isOpen, modifiers: [{ name: 'offset', options: { offset: [0, 6] } }], forwardedRef: props.forwardedRef }));
|
|
1949
1959
|
}
|
|
1950
1960
|
|
|
1951
|
-
var css$
|
|
1961
|
+
var css$X = {"root":"Zd7G1e"};
|
|
1952
1962
|
|
|
1953
1963
|
function applyInputAddonMods() {
|
|
1954
1964
|
return [
|
|
1955
|
-
css$
|
|
1965
|
+
css$X.root,
|
|
1956
1966
|
];
|
|
1957
1967
|
}
|
|
1958
1968
|
const InputAddon = /* @__PURE__ */withMods(InputAddon$1, applyInputAddonMods);
|
|
1959
1969
|
|
|
1960
|
-
var css$
|
|
1970
|
+
var css$W = {"root":"weJlKp"};
|
|
1961
1971
|
|
|
1962
1972
|
function applySliderMods() {
|
|
1963
|
-
return [css$
|
|
1973
|
+
return [css$W.root, 'uui-color-neutral'];
|
|
1964
1974
|
}
|
|
1965
1975
|
const Slider = /* @__PURE__ */withMods(Slider$1, applySliderMods);
|
|
1966
1976
|
|
|
1977
|
+
var _path$t;
|
|
1978
|
+
function _extends$t() { return _extends$t = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$t.apply(null, arguments); }
|
|
1979
|
+
var SvgStarFilled = function SvgStarFilled(props, ref) {
|
|
1980
|
+
return /*#__PURE__*/React.createElement("svg", _extends$t({
|
|
1981
|
+
width: 24,
|
|
1982
|
+
height: 24,
|
|
1983
|
+
viewBox: "0 0 24 24",
|
|
1984
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1985
|
+
ref: ref
|
|
1986
|
+
}, props), _path$t || (_path$t = /*#__PURE__*/React.createElement("path", {
|
|
1987
|
+
fillRule: "evenodd",
|
|
1988
|
+
d: "M8.917 8.268 12.01 2l3.093 6.268 6.917 1.005-5.005 4.878 1.182 6.889-6.187-3.252-6.186 3.252 1.181-6.889L2 9.273z"
|
|
1989
|
+
})));
|
|
1990
|
+
};
|
|
1991
|
+
var ForwardRef$t = /*#__PURE__*/forwardRef(SvgStarFilled);
|
|
1992
|
+
|
|
1993
|
+
var css$V = {"root":"i25jPE","tooltip":"mpBWKd"};
|
|
1994
|
+
|
|
1995
|
+
function applyRatingMods(mods) {
|
|
1996
|
+
return [
|
|
1997
|
+
css$V.root,
|
|
1998
|
+
`uui-size-${mods.size || settings.sizes.defaults.rating}`,
|
|
1999
|
+
];
|
|
2000
|
+
}
|
|
2001
|
+
const Rating = /* @__PURE__ */withMods(uuiComponents.Rating, applyRatingMods, (props) => ({
|
|
2002
|
+
filledStarIcon: props.icon || ForwardRef$t,
|
|
2003
|
+
emptyStarIcon: props.icon || ForwardRef$t,
|
|
2004
|
+
Tooltip,
|
|
2005
|
+
}));
|
|
2006
|
+
|
|
1967
2007
|
const defaultFormat = 'MMM D, YYYY';
|
|
1968
2008
|
const valueFormat = 'YYYY-MM-DD';
|
|
1969
2009
|
const supportedDateFormats = (format) => {
|
|
@@ -2092,7 +2132,7 @@ const getNextYearsList = (currentDate) => {
|
|
|
2092
2132
|
return currentDate.add(16, 'year');
|
|
2093
2133
|
};
|
|
2094
2134
|
|
|
2095
|
-
var css$U = {"root":"
|
|
2135
|
+
var css$U = {"root":"nZHMO-","container":"tSNtgm"};
|
|
2096
2136
|
|
|
2097
2137
|
const uuiHeader = {
|
|
2098
2138
|
container: 'uui-datepicker-header-container',
|
|
@@ -2171,19 +2211,19 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2171
2211
|
const disableNext = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getNextYearsList(month));
|
|
2172
2212
|
return (React.createElement("div", { className: cx(css$U.root, uuiHeader.container, cx) },
|
|
2173
2213
|
React.createElement("header", { className: uuiHeader.headerNav },
|
|
2174
|
-
React.createElement(Button, { icon: navIconLeft || ForwardRef$
|
|
2214
|
+
React.createElement(Button, { icon: navIconLeft || ForwardRef$w, color: "secondary", fill: "ghost", cx: uuiHeader.navIconLeft, onClick: !isDisabled && (() => onLeftNavigationArrow()), isDisabled: disablePrev }),
|
|
2175
2215
|
React.createElement(Button, { caption: title, fill: "ghost", cx: uuiHeader.navTitle, onClick: !isDisabled && (() => onCaptionClick(view)) }),
|
|
2176
|
-
React.createElement(Button, { icon: navIconRight || ForwardRef$
|
|
2216
|
+
React.createElement(Button, { icon: navIconRight || ForwardRef$v, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
|
|
2177
2217
|
}
|
|
2178
2218
|
|
|
2179
|
-
var css$T = {"uui-typography":"
|
|
2219
|
+
var css$T = {"uui-typography":"RxmyXw","uuiTypography":"RxmyXw","hero-header":"_2hP1Cc","heroHeader":"_2hP1Cc","promo-header":"IMp-zl","promoHeader":"IMp-zl","uui-critical":"fRrKwv","uuiCritical":"fRrKwv","uui-info":"EX8OCo","uuiInfo":"EX8OCo","uui-success":"acBTMA","uuiSuccess":"acBTMA","uui-warning":"WKdJ5k","uuiWarning":"WKdJ5k","uui-highlight":"C6vXpu","uuiHighlight":"C6vXpu","uui-typography-size-12":"M8e4uu","uuiTypographySize12":"M8e4uu","uui-typography-size-14":"QCXE2c","uuiTypographySize14":"QCXE2c","uui-typography-size-16":"zjCcMo","uuiTypographySize16":"zjCcMo","root":"kv8y2T"};
|
|
2180
2220
|
|
|
2181
2221
|
function applyDateSelectionMods() {
|
|
2182
2222
|
return [css$T.root, `uui-size-${settings.sizes.defaults.datePicker}`];
|
|
2183
2223
|
}
|
|
2184
2224
|
const Calendar = /* @__PURE__ */withMods(Calendar$1, applyDateSelectionMods);
|
|
2185
2225
|
|
|
2186
|
-
var css$S = {"uui-typography":"
|
|
2226
|
+
var css$S = {"uui-typography":"Ji7hMe","uuiTypography":"Ji7hMe","hero-header":"wbSEqM","heroHeader":"wbSEqM","promo-header":"_3dC6s2","promoHeader":"_3dC6s2","uui-critical":"nIokgE","uuiCritical":"nIokgE","uui-info":"_09cHr2","uuiInfo":"_09cHr2","uui-success":"QnR1Ct","uuiSuccess":"QnR1Ct","uui-warning":"DL1I8e","uuiWarning":"DL1I8e","uui-highlight":"_4-LQd-","uuiHighlight":"_4-LQd-","uui-typography-size-12":"KpVkWw","uuiTypographySize12":"KpVkWw","uui-typography-size-14":"Rs22eM","uuiTypographySize14":"Rs22eM","uui-typography-size-16":"j3mXg5","uuiTypographySize16":"j3mXg5","root":"_3Fv7gH"};
|
|
2187
2227
|
|
|
2188
2228
|
const uuiDatePickerBody = {
|
|
2189
2229
|
wrapper: 'uui-datepicker-body-wrapper',
|
|
@@ -2314,7 +2354,7 @@ function DatePickerComponent(props, ref) {
|
|
|
2314
2354
|
}
|
|
2315
2355
|
const DatePicker = /* @__PURE__ */React__default.forwardRef(DatePickerComponent);
|
|
2316
2356
|
|
|
2317
|
-
var css$R = {"uui-typography":"
|
|
2357
|
+
var css$R = {"uui-typography":"_7jm6rF","uuiTypography":"_7jm6rF","hero-header":"fYM8gC","heroHeader":"fYM8gC","promo-header":"evMyY9","promoHeader":"evMyY9","uui-critical":"fzJUhP","uuiCritical":"fzJUhP","uui-info":"QA-38N","uuiInfo":"QA-38N","uui-success":"lPPIT9","uuiSuccess":"lPPIT9","uui-warning":"chAZ1W","uuiWarning":"chAZ1W","uui-highlight":"_5bYXhR","uuiHighlight":"_5bYXhR","uui-typography-size-12":"RLZ9vw","uuiTypographySize12":"RLZ9vw","uui-typography-size-14":"_0Neu5-","uuiTypographySize14":"_0Neu5-","uui-typography-size-16":"DWZrJt","uuiTypographySize16":"DWZrJt","date-input":"_3w1f1a","dateInput":"_3w1f1a","root":"_8mGcVu","separator":"D6rbyl","mode-form":"_0v2QBC","modeForm":"_0v2QBC","mode-cell":"_3OA4tH","modeCell":"_3OA4tH"};
|
|
2318
2358
|
|
|
2319
2359
|
const RangeDatePickerInput = /* @__PURE__ */forwardRef(({ isDisabled, isInvalid, isReadonly, size, disableClear, rawProps, value, inFocus, format, onValueChange, onFocusInput, onBlurInput, onClick, getPlaceholder, filter, onKeyDown, id, cx: classes, }, ref) => {
|
|
2320
2360
|
const [inputValue, setInputValue] = useState(toCustomDateRangeFormat(value, format));
|
|
@@ -2356,7 +2396,7 @@ const RangeDatePickerInput = /* @__PURE__ */forwardRef(({ isDisabled, isInvalid,
|
|
|
2356
2396
|
} : undefined, onValueChange: (v) => onInputChange(v || '', 'to'), onFocus: (e) => handleFocus(e, 'to'), onBlur: (e) => handleBlur(e, 'to'), isInvalid: isInvalid, isDisabled: isDisabled, isReadonly: isReadonly, isDropdown: false, rawProps: rawProps === null || rawProps === void 0 ? void 0 : rawProps.to, onClick: onClick, onKeyDown: onInputKeyDown })));
|
|
2357
2397
|
});
|
|
2358
2398
|
|
|
2359
|
-
var css$Q = {"uui-typography":"
|
|
2399
|
+
var css$Q = {"uui-typography":"E067-e","uuiTypography":"E067-e","hero-header":"IdbxS0","heroHeader":"IdbxS0","promo-header":"izZfe-","promoHeader":"izZfe-","uui-critical":"cIAmFv","uuiCritical":"cIAmFv","uui-info":"_1iIBgg","uuiInfo":"_1iIBgg","uui-success":"CZMGVc","uuiSuccess":"CZMGVc","uui-warning":"TT2Oct","uuiWarning":"TT2Oct","uui-highlight":"wMOhjJ","uuiHighlight":"wMOhjJ","uui-typography-size-12":"_4n7xES","uuiTypographySize12":"_4n7xES","uui-typography-size-14":"P6GOAt","uuiTypographySize14":"P6GOAt","uui-typography-size-16":"OOH2BA","uuiTypographySize16":"OOH2BA","root":"_2oSBGs"};
|
|
2360
2400
|
|
|
2361
2401
|
const uuiPresets = {
|
|
2362
2402
|
container: 'uui-presets-container',
|
|
@@ -2372,7 +2412,7 @@ function CalendarPresets(props) {
|
|
|
2372
2412
|
getPresets(props.presets).map((item) => (React.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: "24" })))));
|
|
2373
2413
|
}
|
|
2374
2414
|
|
|
2375
|
-
var css$P = {"uui-typography":"
|
|
2415
|
+
var css$P = {"uui-typography":"naqfn4","uuiTypography":"naqfn4","hero-header":"pVI63u","heroHeader":"pVI63u","promo-header":"Tp74Er","promoHeader":"Tp74Er","uui-critical":"tqXu-S","uuiCritical":"tqXu-S","uui-info":"xEwT3u","uuiInfo":"xEwT3u","uui-success":"SOtoyh","uuiSuccess":"SOtoyh","uui-warning":"smSqsf","uuiWarning":"smSqsf","uui-highlight":"Pb1QOr","uuiHighlight":"Pb1QOr","uui-typography-size-12":"hVEkJl","uuiTypographySize12":"hVEkJl","uui-typography-size-14":"wubGgz","uuiTypographySize14":"wubGgz","uui-typography-size-16":"iQ5Igt","uuiTypographySize16":"iQ5Igt","root":"ZzvnK1","container":"Xit8iB","day-selection":"_9tX6YE","daySelection":"_9tX6YE","from-picker":"W0hUUl","fromPicker":"W0hUUl","to-picker":"sgMh9h","toPicker":"sgMh9h","bodes-wrapper":"RDJaqR","bodesWrapper":"RDJaqR","blocker":"EblefW"};
|
|
2376
2416
|
|
|
2377
2417
|
const uuiRangeDatePickerBody = {
|
|
2378
2418
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -2547,7 +2587,7 @@ const getDayCX = (day, selectedDate) => {
|
|
|
2547
2587
|
return [cx$1(inRange && uuiRangeDatePickerBody.inRange, isFirst && uuiRangeDatePickerBody.firstDayInRangeWrapper, !inRange && isFirst && uuiRangeDatePickerBody.lastDayInRangeWrapper, isLast && uuiRangeDatePickerBody.lastDayInRangeWrapper, !inRange && isLast && uuiRangeDatePickerBody.firstDayInRangeWrapper, (dayValue === fromValue || dayValue === toValue) && uuiDaySelection.selectedDay)];
|
|
2548
2588
|
};
|
|
2549
2589
|
|
|
2550
|
-
var css$O = {"dropdown-container":"
|
|
2590
|
+
var css$O = {"dropdown-container":"qrWCmZ","dropdownContainer":"qrWCmZ"};
|
|
2551
2591
|
|
|
2552
2592
|
const modifiers = [{
|
|
2553
2593
|
name: 'offset',
|
|
@@ -2624,7 +2664,7 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
2624
2664
|
}
|
|
2625
2665
|
const RangeDatePicker = /* @__PURE__ */React__default.forwardRef(RangeDatePickerComponent);
|
|
2626
2666
|
|
|
2627
|
-
var css$N = {"root":"
|
|
2667
|
+
var css$N = {"root":"mW4uXA","blocker":"flHM18","marker":"zpzqb8","top":"NfaWDa","bottom":"jAWf9p","left":"LXLbAx","right":"r-hCHn","inside":"DEONND"};
|
|
2628
2668
|
|
|
2629
2669
|
function DropMarker(props) {
|
|
2630
2670
|
return props.isDndInProgress
|
|
@@ -2639,7 +2679,7 @@ function DropMarker(props) {
|
|
|
2639
2679
|
: null;
|
|
2640
2680
|
}
|
|
2641
2681
|
|
|
2642
|
-
var css$M = {"root":"
|
|
2682
|
+
var css$M = {"root":"tn3Q-w","line-height":"InYYE3","lineHeight":"InYYE3","font-size":"_8G4Fy1","fontSize":"_8G4Fy1"};
|
|
2643
2683
|
|
|
2644
2684
|
function applyTextMods(mods) {
|
|
2645
2685
|
return [
|
|
@@ -2664,7 +2704,7 @@ const Text = /* @__PURE__ */withMods(uuiComponents.Text, applyTextMods, (props)
|
|
|
2664
2704
|
};
|
|
2665
2705
|
});
|
|
2666
2706
|
|
|
2667
|
-
var css$L = {"root":"
|
|
2707
|
+
var css$L = {"root":"Yq7ZBu","loading-word":"YnZYUY","loadingWord":"YnZYUY","animated-loading":"Fde1WZ","animatedLoading":"Fde1WZ","skeleton_loading":"_95DHCz","skeletonLoading":"_95DHCz"};
|
|
2668
2708
|
|
|
2669
2709
|
const TextPlaceholder = (props) => {
|
|
2670
2710
|
const pattern = ' ';
|
|
@@ -2683,7 +2723,7 @@ const TextPlaceholder = (props) => {
|
|
|
2683
2723
|
|
|
2684
2724
|
const RichTextView = /* @__PURE__ */withMods(uuiComponents.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || '14'}`]);
|
|
2685
2725
|
|
|
2686
|
-
var css$K = {"uui-typography":"
|
|
2726
|
+
var css$K = {"uui-typography":"WnYGEz","uuiTypography":"WnYGEz","hero-header":"_8Y0tec","heroHeader":"_8Y0tec","promo-header":"e2sgzG","promoHeader":"e2sgzG","uui-critical":"_-9g8my","uuiCritical":"_-9g8my","uui-info":"ElVZCq","uuiInfo":"ElVZCq","uui-success":"ebPFDa","uuiSuccess":"ebPFDa","uui-warning":"DrzF3u","uuiWarning":"DrzF3u","uui-highlight":"_6npFSw","uuiHighlight":"_6npFSw","uui-typography-size-12":"hUFHdC","uuiTypographySize12":"hUFHdC","uui-typography-size-14":"ARS-Fr","uuiTypographySize14":"ARS-Fr","uui-typography-size-16":"DT9JJr","uuiTypographySize16":"DT9JJr","modal":"iraZNK","search-wrapper":"kWf5l0","searchWrapper":"kWf5l0","no-data":"H1Ak-Z","noData":"H1Ak-Z","type-search-to-load-size-24":"_3U-S-g","typeSearchToLoadSize24":"_3U-S-g"};
|
|
2687
2727
|
|
|
2688
2728
|
class DataPickerBody extends PickerBodyBase {
|
|
2689
2729
|
constructor() {
|
|
@@ -2731,7 +2771,7 @@ class DataPickerBody extends PickerBodyBase {
|
|
|
2731
2771
|
}
|
|
2732
2772
|
}
|
|
2733
2773
|
|
|
2734
|
-
var css$J = {"footer":"
|
|
2774
|
+
var css$J = {"footer":"BeE37f"};
|
|
2735
2775
|
|
|
2736
2776
|
function DataPickerFooterImpl(props) {
|
|
2737
2777
|
const { search, clearSelection, view, showSelected, selectionMode, isSearchTooShort, } = props;
|
|
@@ -2756,18 +2796,18 @@ function DataPickerFooterImpl(props) {
|
|
|
2756
2796
|
}
|
|
2757
2797
|
const DataPickerFooter = /* @__PURE__ */React__default.memo(DataPickerFooterImpl);
|
|
2758
2798
|
|
|
2759
|
-
var css$I = {"header":"
|
|
2799
|
+
var css$I = {"header":"hlpFx5","title":"eJxt-D","close":"NU2dtq"};
|
|
2760
2800
|
|
|
2761
2801
|
const DataPickerHeaderImpl = (props) => {
|
|
2762
2802
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
2763
2803
|
return (React__default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$I.header },
|
|
2764
2804
|
React__default.createElement(Text, { size: settings.sizes.pickerInput.body.mobile.header.titleSize, cx: css$I.title }, title),
|
|
2765
|
-
React__default.createElement(IconButton, { icon: ForwardRef$
|
|
2805
|
+
React__default.createElement(IconButton, { icon: ForwardRef$R, onClick: () => { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$I.close })));
|
|
2766
2806
|
};
|
|
2767
2807
|
const DataPickerHeader = /* @__PURE__ */React__default.memo(DataPickerHeaderImpl);
|
|
2768
2808
|
|
|
2769
2809
|
var _path$s;
|
|
2770
|
-
function _extends$s() { _extends$s = Object.assign ? Object.assign.bind() : function (
|
|
2810
|
+
function _extends$s() { return _extends$s = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$s.apply(null, arguments); }
|
|
2771
2811
|
var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
2772
2812
|
return /*#__PURE__*/React.createElement("svg", _extends$s({
|
|
2773
2813
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2781,7 +2821,7 @@ var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
|
2781
2821
|
};
|
|
2782
2822
|
var ForwardRef$s = /*#__PURE__*/forwardRef(SvgNotificationDoneFill);
|
|
2783
2823
|
|
|
2784
|
-
var css$H = {"uui-typography":"
|
|
2824
|
+
var css$H = {"uui-typography":"BQ3YYf","uuiTypography":"BQ3YYf","hero-header":"D3TRnK","heroHeader":"D3TRnK","promo-header":"N49cpn","promoHeader":"N49cpn","uui-critical":"egqf3q","uuiCritical":"egqf3q","uui-info":"-n5cjr","uuiInfo":"-n5cjr","uui-success":"HvKuuE","uuiSuccess":"HvKuuE","uui-warning":"A5iJLg","uuiWarning":"A5iJLg","uui-highlight":"KhrUcy","uuiHighlight":"KhrUcy","uui-typography-size-12":"cGQPyJ","uuiTypographySize12":"cGQPyJ","uui-typography-size-14":"zZshgs","uuiTypographySize14":"zZshgs","uui-typography-size-16":"yC3nQg","uuiTypographySize16":"yC3nQg","root":"_5bRaXP","align-widgets-top":"t44Re8","alignWidgetsTop":"t44Re8","align-widgets-center":"DKTIQY","alignWidgetsCenter":"DKTIQY","icon-container":"g3SOwQ","iconContainer":"g3SOwQ","loading-cell":"LZMtwK","loadingCell":"LZMtwK","content-wrapper":"Q8XcMJ","contentWrapper":"Q8XcMJ","render-item":"b35hLx","renderItem":"b35hLx","icon-wrapper":"jlom8V","iconWrapper":"jlom8V","icon-default":"X4w1Jn","iconDefault":"X4w1Jn","selected-mark":"_3Bp9hW","selectedMark":"_3Bp9hW"};
|
|
2785
2825
|
|
|
2786
2826
|
function DataPickerCell(props) {
|
|
2787
2827
|
const ref = React.useRef();
|
|
@@ -2800,7 +2840,7 @@ function DataPickerCell(props) {
|
|
|
2800
2840
|
props.renderItem(props.rowProps.value, props.rowProps),
|
|
2801
2841
|
React.createElement(FlexSpacer, null),
|
|
2802
2842
|
(props.rowProps.isChildrenSelected || props.rowProps.isSelected) && (React.createElement("div", { className: cx$1(css$H.iconWrapper, uuiMod.selected) },
|
|
2803
|
-
React.createElement(IconContainer, { size: settings.sizes.pickerInput.body.dropdown.row.cell.icon[props.size], icon: settings.sizes.pickerInput.body.dropdown.row.cell.isBoldSelectionIcon[props.size] ? ForwardRef$s : ForwardRef$
|
|
2843
|
+
React.createElement(IconContainer, { size: settings.sizes.pickerInput.body.dropdown.row.cell.icon[props.size], icon: settings.sizes.pickerInput.body.dropdown.row.cell.isBoldSelectionIcon[props.size] ? ForwardRef$s : ForwardRef$P, cx: props.rowProps.isChildrenSelected ? css$H.iconDefault : css$H.selectedMark, rawProps: { 'aria-label': props.rowProps.isChildrenSelected
|
|
2804
2844
|
? 'Child is selected'
|
|
2805
2845
|
: 'Selected' } })))));
|
|
2806
2846
|
}
|
|
@@ -2818,7 +2858,7 @@ function DataPickerCell(props) {
|
|
|
2818
2858
|
getWrappedContent()));
|
|
2819
2859
|
}
|
|
2820
2860
|
|
|
2821
|
-
var css$G = {"uui-typography":"
|
|
2861
|
+
var css$G = {"uui-typography":"b-mwtp","uuiTypography":"b-mwtp","hero-header":"dgccWf","heroHeader":"dgccWf","promo-header":"XkM-yB","promoHeader":"XkM-yB","uui-critical":"gNL4rk","uuiCritical":"gNL4rk","uui-info":"PnERQ-","uuiInfo":"PnERQ-","uui-success":"LqNyzI","uuiSuccess":"LqNyzI","uui-warning":"fWyvsb","uuiWarning":"fWyvsb","uui-highlight":"yL-6i9","uuiHighlight":"yL-6i9","uui-typography-size-12":"wT4u5y","uuiTypographySize12":"wT4u5y","uui-typography-size-14":"FbjFMB","uuiTypographySize14":"FbjFMB","uui-typography-size-16":"X0lTj6","uuiTypographySize16":"X0lTj6","picker-row":"GjErwI","pickerRow":"GjErwI"};
|
|
2822
2862
|
|
|
2823
2863
|
class DataPickerRow extends React.Component {
|
|
2824
2864
|
constructor() {
|
|
@@ -2832,7 +2872,7 @@ class DataPickerRow extends React.Component {
|
|
|
2832
2872
|
}
|
|
2833
2873
|
}
|
|
2834
2874
|
|
|
2835
|
-
var css$F = {"uui-typography":"
|
|
2875
|
+
var css$F = {"uui-typography":"vUkUCl","uuiTypography":"vUkUCl","hero-header":"JasYw5","heroHeader":"JasYw5","promo-header":"jI5OXh","promoHeader":"jI5OXh","uui-critical":"nkRAbM","uuiCritical":"nkRAbM","uui-info":"JA1nbC","uuiInfo":"JA1nbC","uui-success":"jtui8Y","uuiSuccess":"jtui8Y","uui-warning":"EWQttu","uuiWarning":"EWQttu","uui-highlight":"UjaJZH","uuiHighlight":"UjaJZH","uui-typography-size-12":"QI4T5j","uuiTypographySize12":"QI4T5j","uui-typography-size-14":"JFh3S5","uuiTypographySize14":"JFh3S5","uui-typography-size-16":"gUNO50","uuiTypographySize16":"gUNO50","done":"GZNhSx","container":"uQgk-V"};
|
|
2836
2876
|
|
|
2837
2877
|
const PickerBodyMobileView = (props) => {
|
|
2838
2878
|
const isMobileView = isMobile();
|
|
@@ -2845,7 +2885,7 @@ const PickerBodyMobileView = (props) => {
|
|
|
2845
2885
|
};
|
|
2846
2886
|
|
|
2847
2887
|
var _path$r, _path2$4;
|
|
2848
|
-
function _extends$r() { _extends$r = Object.assign ? Object.assign.bind() : function (
|
|
2888
|
+
function _extends$r() { return _extends$r = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$r.apply(null, arguments); }
|
|
2849
2889
|
var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
2850
2890
|
return /*#__PURE__*/React.createElement("svg", _extends$r({
|
|
2851
2891
|
width: 66,
|
|
@@ -2866,7 +2906,7 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
|
2866
2906
|
};
|
|
2867
2907
|
var ForwardRef$r = /*#__PURE__*/forwardRef(SvgSearchWithBackground);
|
|
2868
2908
|
|
|
2869
|
-
var css$E = {"uui-typography":"
|
|
2909
|
+
var css$E = {"uui-typography":"OTF2sO","uuiTypography":"OTF2sO","hero-header":"Yj9nQH","heroHeader":"Yj9nQH","promo-header":"zQGN57","promoHeader":"zQGN57","uui-critical":"_--3x25","uuiCritical":"_--3x25","uui-info":"X-nCtd","uuiInfo":"X-nCtd","uui-success":"KCa-zn","uuiSuccess":"KCa-zn","uui-warning":"Cp8wUQ","uuiWarning":"Cp8wUQ","uui-highlight":"fMdh8E","uuiHighlight":"fMdh8E","uui-typography-size-12":"bdeYvN","uuiTypographySize12":"bdeYvN","uui-typography-size-14":"j3zZ2W","uuiTypographySize14":"j3zZ2W","uui-typography-size-16":"HKFf2I","uuiTypographySize16":"HKFf2I","sub-header-wrapper":"YAxKWI","subHeaderWrapper":"YAxKWI","switch":"Q5AVYe","no-found-modal-container":"_2s3NJ4","noFoundModalContainer":"_2s3NJ4","no-found-modal-container-icon":"_9B8u5x","noFoundModalContainerIcon":"_9B8u5x","no-found-modal-container-text":"Xkw5Hv","noFoundModalContainerText":"Xkw5Hv"};
|
|
2870
2910
|
|
|
2871
2911
|
const mergeHighlightRanges = (ranges) => {
|
|
2872
2912
|
const mergedRanges = [];
|
|
@@ -2933,7 +2973,7 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
2933
2973
|
return getDecoratedText(str, ranges);
|
|
2934
2974
|
};
|
|
2935
2975
|
|
|
2936
|
-
var css$D = {"root":"
|
|
2976
|
+
var css$D = {"root":"V8MCO5","column-gap":"_1QGnll","columnGap":"_1QGnll","multiline":"gtVVcW","text":"_7Cyfto"};
|
|
2937
2977
|
|
|
2938
2978
|
function PickerItem(props) {
|
|
2939
2979
|
var _a;
|
|
@@ -3008,7 +3048,7 @@ function PickerModal(props) {
|
|
|
3008
3048
|
React__default.createElement(ModalFooter, { padding: "24", vPadding: "24" }, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
3009
3049
|
}
|
|
3010
3050
|
|
|
3011
|
-
var css$C = {"tooltip":"
|
|
3051
|
+
var css$C = {"tooltip":"Fqq6gv"};
|
|
3012
3052
|
|
|
3013
3053
|
const PickerTogglerTag = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3014
3054
|
var _a;
|
|
@@ -3023,7 +3063,7 @@ const PickerTogglerTag = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
3023
3063
|
}
|
|
3024
3064
|
});
|
|
3025
3065
|
|
|
3026
|
-
var css$B = {"uui-typography":"
|
|
3066
|
+
var css$B = {"uui-typography":"zpy91k","uuiTypography":"zpy91k","hero-header":"_6W6NkC","heroHeader":"_6W6NkC","promo-header":"ixVP3J","promoHeader":"ixVP3J","uui-critical":"AxHN0A","uuiCritical":"AxHN0A","uui-info":"EPpdIw","uuiInfo":"EPpdIw","uui-success":"_-1c1h0","uuiSuccess":"_-1c1h0","uui-warning":"-MpRAS","uuiWarning":"-MpRAS","uui-highlight":"xl-lFv","uuiHighlight":"xl-lFv","uui-typography-size-12":"FEFup5","uuiTypographySize12":"FEFup5","uui-typography-size-14":"_1TlqOl","uuiTypographySize14":"_1TlqOl","uui-typography-size-16":"o1rh8Q","uuiTypographySize16":"o1rh8Q","root":"-qSL3U","mode-form":"qJymlS","modeForm":"qJymlS","mode-cell":"Um94TG","modeCell":"Um94TG","mode-inline":"wGYNBH","modeInline":"wGYNBH"};
|
|
3027
3067
|
|
|
3028
3068
|
const defaultMode = EditMode.FORM;
|
|
3029
3069
|
function applyPickerTogglerMods(mods) {
|
|
@@ -3120,7 +3160,7 @@ function PickerInputComponent(_a, ref) {
|
|
|
3120
3160
|
}
|
|
3121
3161
|
const PickerInput = /* @__PURE__ */React__default.forwardRef(PickerInputComponent);
|
|
3122
3162
|
|
|
3123
|
-
var css$A = {"row":"
|
|
3163
|
+
var css$A = {"row":"qA9Yw5"};
|
|
3124
3164
|
|
|
3125
3165
|
function PickerListItem(props) {
|
|
3126
3166
|
var _a;
|
|
@@ -3141,7 +3181,7 @@ function PickerListItem(props) {
|
|
|
3141
3181
|
return (React__default.createElement("div", Object.assign({ role: "option", "aria-selected": props.isSelectable ? props.isSelected : undefined, "aria-busy": props.isLoading, "aria-posinset": props.index + 1 }, (((_a = props.checkbox) === null || _a === void 0 ? void 0 : _a.isVisible) && { 'aria-checked': props.isChecked }), { className: css$A.row }), component));
|
|
3142
3182
|
}
|
|
3143
3183
|
|
|
3144
|
-
var css$z = {"root":"
|
|
3184
|
+
var css$z = {"root":"d-pW1W"};
|
|
3145
3185
|
|
|
3146
3186
|
function PickerList(props) {
|
|
3147
3187
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, dataSourceState, getModalTogglerCaption, } = usePickerList(props);
|
|
@@ -3176,7 +3216,7 @@ function PickerList(props) {
|
|
|
3176
3216
|
}, selectedRows)));
|
|
3177
3217
|
}
|
|
3178
3218
|
|
|
3179
|
-
var css$y = {"uui-typography":"
|
|
3219
|
+
var css$y = {"uui-typography":"KpzHRj","uuiTypography":"KpzHRj","hero-header":"tXW-AJ","heroHeader":"tXW-AJ","promo-header":"JW06y2","promoHeader":"JW06y2","uui-critical":"hnTuyk","uuiCritical":"hnTuyk","uui-info":"-Y1sSh","uuiInfo":"-Y1sSh","uui-success":"TR9WjX","uuiSuccess":"TR9WjX","uui-warning":"-ghmOr","uuiWarning":"-ghmOr","uui-highlight":"hYnq1P","uuiHighlight":"hYnq1P","uui-typography-size-12":"vqqWKP","uuiTypographySize12":"vqqWKP","uui-typography-size-14":"T8Kj0i","uuiTypographySize14":"T8Kj0i","uui-typography-size-16":"_9OMdop","uuiTypographySize16":"_9OMdop","root":"O-zBPM","wrapper":"E46HiQ","align-widgets-top":"Z9IvSz","alignWidgetsTop":"Z9IvSz","align-widgets-center":"GbWjCk","alignWidgetsCenter":"GbWjCk"};
|
|
3180
3220
|
|
|
3181
3221
|
function DataTableCell(initialProps) {
|
|
3182
3222
|
const props = Object.assign({}, initialProps);
|
|
@@ -3225,7 +3265,7 @@ function DataTableCell(initialProps) {
|
|
|
3225
3265
|
return React.createElement(DataTableCell$1, Object.assign({}, props));
|
|
3226
3266
|
}
|
|
3227
3267
|
|
|
3228
|
-
var css$x = {"uui-typography":"
|
|
3268
|
+
var css$x = {"uui-typography":"aC95DY","uuiTypography":"aC95DY","hero-header":"LxXhZu","heroHeader":"LxXhZu","promo-header":"-Omku0","promoHeader":"-Omku0","uui-critical":"GdqCn6","uuiCritical":"GdqCn6","uui-info":"h1OCJR","uuiInfo":"h1OCJR","uui-success":"Fra2gi","uuiSuccess":"Fra2gi","uui-warning":"jPMAkD","uuiWarning":"jPMAkD","uui-highlight":"nzkSGS","uuiHighlight":"nzkSGS","uui-typography-size-12":"mJ7v6Q","uuiTypographySize12":"mJ7v6Q","uui-typography-size-14":"uFZYtj","uuiTypographySize14":"uFZYtj","uui-typography-size-16":"d0qPde","uuiTypographySize16":"d0qPde","root":"_1MV9Iv"};
|
|
3229
3269
|
|
|
3230
3270
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3231
3271
|
// As we need our mods to style the cell properly, we extract them from DataTableCellProps.rowProps, which is a hack, but it's reliable enough.
|
|
@@ -3241,10 +3281,10 @@ const DataTableRow = /* @__PURE__ */withMods(DataTableRow$1, ({ borderBottom = t
|
|
|
3241
3281
|
];
|
|
3242
3282
|
}, () => propsMods);
|
|
3243
3283
|
|
|
3244
|
-
var css$w = {"uui-typography":"
|
|
3284
|
+
var css$w = {"uui-typography":"ZtrKMB","uuiTypography":"ZtrKMB","hero-header":"dbPhP1","heroHeader":"dbPhP1","promo-header":"_3x4It3","promoHeader":"_3x4It3","uui-critical":"xSTjiM","uuiCritical":"xSTjiM","uui-info":"r6LMnu","uuiInfo":"r6LMnu","uui-success":"_9ks43j","uuiSuccess":"_9ks43j","uui-warning":"Sakv-k","uuiWarning":"Sakv-k","uui-highlight":"hV69JG","uuiHighlight":"hV69JG","uui-typography-size-12":"PJKfDU","uuiTypographySize12":"PJKfDU","uui-typography-size-14":"uF-eFx","uuiTypographySize14":"uF-eFx","uui-typography-size-16":"Ogmbkn","uuiTypographySize16":"Ogmbkn","sorting-panel-container":"NDKCK6","sortingPanelContainer":"NDKCK6"};
|
|
3245
3285
|
|
|
3246
3286
|
var _path$q;
|
|
3247
|
-
function _extends$q() { _extends$q = Object.assign ? Object.assign.bind() : function (
|
|
3287
|
+
function _extends$q() { return _extends$q = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$q.apply(null, arguments); }
|
|
3248
3288
|
var SvgTableSortAscOutline = function SvgTableSortAscOutline(props, ref) {
|
|
3249
3289
|
return /*#__PURE__*/React.createElement("svg", _extends$q({
|
|
3250
3290
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3259,7 +3299,7 @@ var SvgTableSortAscOutline = function SvgTableSortAscOutline(props, ref) {
|
|
|
3259
3299
|
var ForwardRef$q = /*#__PURE__*/forwardRef(SvgTableSortAscOutline);
|
|
3260
3300
|
|
|
3261
3301
|
var _path$p;
|
|
3262
|
-
function _extends$p() { _extends$p = Object.assign ? Object.assign.bind() : function (
|
|
3302
|
+
function _extends$p() { return _extends$p = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$p.apply(null, arguments); }
|
|
3263
3303
|
var SvgTableSortDescOutline = function SvgTableSortDescOutline(props, ref) {
|
|
3264
3304
|
return /*#__PURE__*/React.createElement("svg", _extends$p({
|
|
3265
3305
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3297,7 +3337,7 @@ const ColumnHeaderDropdownImpl = (props) => {
|
|
|
3297
3337
|
const ColumnHeaderDropdown = /* @__PURE__ */React__default.memo(ColumnHeaderDropdownImpl);
|
|
3298
3338
|
|
|
3299
3339
|
var _path$o;
|
|
3300
|
-
function _extends$o() { _extends$o = Object.assign ? Object.assign.bind() : function (
|
|
3340
|
+
function _extends$o() { return _extends$o = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$o.apply(null, arguments); }
|
|
3301
3341
|
var SvgTableSwapOutline = function SvgTableSwapOutline(props, ref) {
|
|
3302
3342
|
return /*#__PURE__*/React.createElement("svg", _extends$o({
|
|
3303
3343
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3312,7 +3352,7 @@ var SvgTableSwapOutline = function SvgTableSwapOutline(props, ref) {
|
|
|
3312
3352
|
var ForwardRef$o = /*#__PURE__*/forwardRef(SvgTableSwapOutline);
|
|
3313
3353
|
|
|
3314
3354
|
var _path$n;
|
|
3315
|
-
function _extends$n() { _extends$n = Object.assign ? Object.assign.bind() : function (
|
|
3355
|
+
function _extends$n() { return _extends$n = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$n.apply(null, arguments); }
|
|
3316
3356
|
var SvgContentFiltrationFill = function SvgContentFiltrationFill(props, ref) {
|
|
3317
3357
|
return /*#__PURE__*/React.createElement("svg", _extends$n({
|
|
3318
3358
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3327,7 +3367,7 @@ var SvgContentFiltrationFill = function SvgContentFiltrationFill(props, ref) {
|
|
|
3327
3367
|
var ForwardRef$n = /*#__PURE__*/forwardRef(SvgContentFiltrationFill);
|
|
3328
3368
|
|
|
3329
3369
|
var _path$m;
|
|
3330
|
-
function _extends$m() { _extends$m = Object.assign ? Object.assign.bind() : function (
|
|
3370
|
+
function _extends$m() { return _extends$m = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$m.apply(null, arguments); }
|
|
3331
3371
|
var SvgNavigationChevronUpOutline = function SvgNavigationChevronUpOutline(props, ref) {
|
|
3332
3372
|
return /*#__PURE__*/React.createElement("svg", _extends$m({
|
|
3333
3373
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3342,7 +3382,7 @@ var SvgNavigationChevronUpOutline = function SvgNavigationChevronUpOutline(props
|
|
|
3342
3382
|
var ForwardRef$m = /*#__PURE__*/forwardRef(SvgNavigationChevronUpOutline);
|
|
3343
3383
|
|
|
3344
3384
|
var _path$l;
|
|
3345
|
-
function _extends$l() { _extends$l = Object.assign ? Object.assign.bind() : function (
|
|
3385
|
+
function _extends$l() { return _extends$l = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$l.apply(null, arguments); }
|
|
3346
3386
|
var SvgNavigationCollapseAllOutline = function SvgNavigationCollapseAllOutline(props, ref) {
|
|
3347
3387
|
return /*#__PURE__*/React.createElement("svg", _extends$l({
|
|
3348
3388
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3357,7 +3397,7 @@ var SvgNavigationCollapseAllOutline = function SvgNavigationCollapseAllOutline(p
|
|
|
3357
3397
|
var ForwardRef$l = /*#__PURE__*/forwardRef(SvgNavigationCollapseAllOutline);
|
|
3358
3398
|
|
|
3359
3399
|
var _path$k;
|
|
3360
|
-
function _extends$k() { _extends$k = Object.assign ? Object.assign.bind() : function (
|
|
3400
|
+
function _extends$k() { return _extends$k = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$k.apply(null, arguments); }
|
|
3361
3401
|
var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props, ref) {
|
|
3362
3402
|
return /*#__PURE__*/React.createElement("svg", _extends$k({
|
|
3363
3403
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3371,7 +3411,7 @@ var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props
|
|
|
3371
3411
|
};
|
|
3372
3412
|
var ForwardRef$k = /*#__PURE__*/forwardRef(SvgNavigationExpandAllOutline);
|
|
3373
3413
|
|
|
3374
|
-
var css$v = {"uui-typography":"
|
|
3414
|
+
var css$v = {"uui-typography":"oRF7OT","uuiTypography":"oRF7OT","hero-header":"YcMwvF","heroHeader":"YcMwvF","promo-header":"ojZBTI","promoHeader":"ojZBTI","uui-critical":"Mclxmn","uuiCritical":"Mclxmn","uui-info":"DBzRfW","uuiInfo":"DBzRfW","uui-success":"X7pGoE","uuiSuccess":"X7pGoE","uui-warning":"t1phN1","uuiWarning":"t1phN1","uui-highlight":"Kb2vYP","uuiHighlight":"Kb2vYP","uui-typography-size-12":"aefYtl","uuiTypographySize12":"aefYtl","uui-typography-size-14":"PpqycP","uuiTypographySize14":"PpqycP","uui-typography-size-16":"Jj-LyA","uuiTypographySize16":"Jj-LyA","root":"nEQ9Mr","caption-wrapper":"k41PRZ","captionWrapper":"k41PRZ","sort-icon":"VIokxE","sortIcon":"VIokxE","dropdown-icon":"kSyBg8","dropdownIcon":"kSyBg8","infoIcon":"d43wW5","resizable":"_4AF6CK","align-right":"CWxS5r","alignRight":"CWxS5r","align-center":"jcnyr7","alignCenter":"jcnyr7","caption":"lXvrMb","truncate":"_2jCbeW","checkbox":"R5ArEb","icon":"ntSUOj","fold-all-icon":"_0NJhUk","foldAllIcon":"_0NJhUk","cell-tooltip":"IVad45","cellTooltip":"IVad45","upper-case":"DvPpM-","upperCase":"DvPpM-","resizing-marker":"qOBdwy","resizingMarker":"qOBdwy","pinned-right":"JkwY-A","pinnedRight":"JkwY-A","draggable":"F0D1wZ","ghost":"hRn5o4","is-dragged-out":"aGtfR1","isDraggedOut":"aGtfR1","dnd-marker-left":"_4QaGfn","dndMarkerLeft":"_4QaGfn","dnd-marker-right":"f-CVFD","dndMarkerRight":"f-CVFD","cell-tooltip-wrapper":"MDLJVA","cellTooltipWrapper":"MDLJVA","cell-tooltip-text":"PmDI3S","cellTooltipText":"PmDI3S","tooltip-caption":"JguU8a","tooltipCaption":"JguU8a","tooltip-info":"hPfBpr","tooltipInfo":"hPfBpr"};
|
|
3375
3415
|
|
|
3376
3416
|
class DataTableHeaderCell extends React.Component {
|
|
3377
3417
|
constructor() {
|
|
@@ -3395,7 +3435,7 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3395
3435
|
React.createElement(Text, { key: "text", fontSize: settings.sizes.dataTable.header.row.cell.columnCaption[this.props.textCase === 'upper' ? 'uppercase' : 'fontSize'], size: settings.sizes.dataTable.header.row.cell.columnCaption.size, cx: captionCx }, this.props.column.caption)),
|
|
3396
3436
|
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React.createElement(IconButton, { key: "sort", cx: cx$1(css$v.icon, css$v.sortIcon, this.props.sortDirection && css$v.sortIconActive, uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'neutral' : 'secondary', icon: this.props.sortDirection === 'desc' ? ForwardRef$p : this.props.sortDirection === 'asc' ? ForwardRef$q : ForwardRef$o })),
|
|
3397
3437
|
this.props.isFilterActive && (React.createElement(IconButton, { key: "filter", cx: cx$1(css$v.icon, !this.props.sortDirection && css$v.filterIcon, uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "neutral", icon: ForwardRef$n })),
|
|
3398
|
-
this.props.column.renderFilter && (React.createElement(IconButton, { key: "dropdown", cx: cx$1(css$v.icon, css$v.dropdownIcon, uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon: this.state.isDropdownOpen ? ForwardRef$m : ForwardRef$
|
|
3438
|
+
this.props.column.renderFilter && (React.createElement(IconButton, { key: "dropdown", cx: cx$1(css$v.icon, css$v.dropdownIcon, uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon: this.state.isDropdownOpen ? ForwardRef$m : ForwardRef$Q }))));
|
|
3399
3439
|
};
|
|
3400
3440
|
this.renderHeaderCheckbox = () => {
|
|
3401
3441
|
if (this.props.selectAll && this.props.isFirstColumn) {
|
|
@@ -3463,7 +3503,7 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3463
3503
|
}
|
|
3464
3504
|
|
|
3465
3505
|
var _path$j;
|
|
3466
|
-
function _extends$j() { _extends$j = Object.assign ? Object.assign.bind() : function (
|
|
3506
|
+
function _extends$j() { return _extends$j = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$j.apply(null, arguments); }
|
|
3467
3507
|
var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
3468
3508
|
return /*#__PURE__*/React.createElement("svg", _extends$j({
|
|
3469
3509
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3477,9 +3517,9 @@ var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
|
3477
3517
|
};
|
|
3478
3518
|
var ForwardRef$j = /*#__PURE__*/forwardRef(SvgActionSettingsFill);
|
|
3479
3519
|
|
|
3480
|
-
var css$u = {"uui-typography":"
|
|
3520
|
+
var css$u = {"uui-typography":"_1YLLVH","uuiTypography":"_1YLLVH","hero-header":"fmIUpZ","heroHeader":"fmIUpZ","promo-header":"SUm-6v","promoHeader":"SUm-6v","uui-critical":"_9keztR","uuiCritical":"_9keztR","uui-info":"_-2jaGi","uuiInfo":"_-2jaGi","uui-success":"sWo6y0","uuiSuccess":"sWo6y0","uui-warning":"_7xSClx","uuiWarning":"_7xSClx","uui-highlight":"_--rokK","uuiHighlight":"_--rokK","uui-typography-size-12":"vU7UVl","uuiTypographySize12":"vU7UVl","uui-typography-size-14":"_1wv-Oi","uuiTypographySize14":"_1wv-Oi","uui-typography-size-16":"_4r6j0m","uuiTypographySize16":"_4r6j0m","root":"n4Fw0D"};
|
|
3481
3521
|
|
|
3482
|
-
var css$t = {"uui-typography":"
|
|
3522
|
+
var css$t = {"uui-typography":"GIt4Ka","uuiTypography":"GIt4Ka","hero-header":"HbthCq","heroHeader":"HbthCq","promo-header":"Jxa9u3","promoHeader":"Jxa9u3","uui-critical":"wNBArw","uuiCritical":"wNBArw","uui-info":"ah4JfU","uuiInfo":"ah4JfU","uui-success":"h4Lv4Q","uuiSuccess":"h4Lv4Q","uui-warning":"rzhvW-","uuiWarning":"rzhvW-","uui-highlight":"wma7aU","uuiHighlight":"wma7aU","uui-typography-size-12":"_1J-Vxx","uuiTypographySize12":"_1J-Vxx","uui-typography-size-14":"m-6l6z","uuiTypographySize14":"m-6l6z","uui-typography-size-16":"-Mpd-g","uuiTypographySize16":"-Mpd-g","root":"tdz7Yw","caption-wrapper":"h2--nJ","captionWrapper":"h2--nJ","align-center":"fQHDw1","alignCenter":"fQHDw1","caption":"wfqCPg","truncate":"ukvS7J","group-cell-tooltip":"IV6fkQ","groupCellTooltip":"IV6fkQ","upper-case":"_6u4fu2","upperCase":"_6u4fu2","group-cell-tooltip-wrapper":"xq5ZBO","groupCellTooltipWrapper":"xq5ZBO","group-cell-tooltip-text":"K2rsf4","groupCellTooltipText":"K2rsf4","tooltip-caption":"_7mFQBs","tooltipCaption":"_7mFQBs","tooltip-info":"tcyiSD","tooltipInfo":"tcyiSD"};
|
|
3483
3523
|
|
|
3484
3524
|
class DataTableHeaderGroupCell extends React.Component {
|
|
3485
3525
|
constructor() {
|
|
@@ -3544,7 +3584,7 @@ const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
|
3544
3584
|
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
3545
3585
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
3546
3586
|
|
|
3547
|
-
var css$s = {"uui-typography":"
|
|
3587
|
+
var css$s = {"uui-typography":"ioPrhF","uuiTypography":"ioPrhF","hero-header":"Ei78zO","heroHeader":"Ei78zO","promo-header":"_66Ib0o","promoHeader":"_66Ib0o","uui-critical":"rBesM0","uuiCritical":"rBesM0","uui-info":"_8G-tiD","uuiInfo":"_8G-tiD","uui-success":"jvH3uw","uuiSuccess":"jvH3uw","uui-warning":"RB2GRK","uuiWarning":"RB2GRK","uui-highlight":"yxQZGS","uuiHighlight":"yxQZGS","uui-typography-size-12":"_1zJ-4T","uuiTypographySize12":"_1zJ-4T","uui-typography-size-14":"_8mK9JG","uuiTypographySize14":"_8mK9JG","uui-typography-size-16":"dhRlv4","uuiTypographySize16":"dhRlv4","root":"ZAhtyX","title-wrapper":"NiuJvN","titleWrapper":"NiuJvN","title":"n1kMq-","text-wrapper":"a9jwPV","textWrapper":"a9jwPV","selection":"z3jUBt","postfix":"CS7rq3","selected":"_76kvfE"};
|
|
3548
3588
|
|
|
3549
3589
|
const defaultSize = '36';
|
|
3550
3590
|
const FilterPanelItemToggler = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
@@ -3675,7 +3715,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
3675
3715
|
const context = useUuiContext();
|
|
3676
3716
|
const onOpenChange = (newIsOpen) => {
|
|
3677
3717
|
var _a, _b;
|
|
3678
|
-
|
|
3718
|
+
{
|
|
3679
3719
|
(_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
3680
3720
|
}
|
|
3681
3721
|
(_b = props.onOpenChange) === null || _b === void 0 ? void 0 : _b.call(props, newIsOpen);
|
|
@@ -3722,7 +3762,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
3722
3762
|
React__default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.pickerModal.clearAllButton, onClick: () => onValueChange(defaultRangeValue) })))));
|
|
3723
3763
|
}
|
|
3724
3764
|
|
|
3725
|
-
var css$r = {"container":"
|
|
3765
|
+
var css$r = {"container":"_0hEbmk"};
|
|
3726
3766
|
|
|
3727
3767
|
function FilterNumericBody(props) {
|
|
3728
3768
|
var _a, _b;
|
|
@@ -3806,7 +3846,7 @@ function FilterItemBody(props) {
|
|
|
3806
3846
|
}
|
|
3807
3847
|
|
|
3808
3848
|
var _path$i;
|
|
3809
|
-
function _extends$i() { _extends$i = Object.assign ? Object.assign.bind() : function (
|
|
3849
|
+
function _extends$i() { return _extends$i = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$i.apply(null, arguments); }
|
|
3810
3850
|
var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
3811
3851
|
return /*#__PURE__*/React.createElement("svg", _extends$i({
|
|
3812
3852
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3820,7 +3860,7 @@ var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
|
3820
3860
|
};
|
|
3821
3861
|
var ForwardRef$i = /*#__PURE__*/forwardRef(SvgActionDeleteOutline);
|
|
3822
3862
|
|
|
3823
|
-
var css$q = {"uui-typography":"
|
|
3863
|
+
var css$q = {"uui-typography":"EZ-kov","uuiTypography":"EZ-kov","hero-header":"Dffwh9","heroHeader":"Dffwh9","promo-header":"cpJYqc","promoHeader":"cpJYqc","uui-critical":"ZZI3Xd","uuiCritical":"ZZI3Xd","uui-info":"QZ-lrA","uuiInfo":"QZ-lrA","uui-success":"_5-DW-J","uuiSuccess":"_5-DW-J","uui-warning":"EcnUml","uuiWarning":"EcnUml","uui-highlight":"_-7ZZti","uuiHighlight":"_-7ZZti","uui-typography-size-12":"bhb8D5","uuiTypographySize12":"bhb8D5","uui-typography-size-14":"T-qmOf","uuiTypographySize14":"T-qmOf","uui-typography-size-16":"R6WMy6","uuiTypographySize16":"R6WMy6","header":"TAnkVl","removeButton":"_4qetCv","with-search":"mK09-w","withSearch":"mK09-w"};
|
|
3824
3864
|
|
|
3825
3865
|
function useView(props, value) {
|
|
3826
3866
|
const forceUpdate = useForceUpdate();
|
|
@@ -4004,7 +4044,7 @@ function FiltersToolbarItemImpl(props) {
|
|
|
4004
4044
|
const FiltersPanelItem = /* @__PURE__ */React__default.memo(FiltersToolbarItemImpl);
|
|
4005
4045
|
|
|
4006
4046
|
var _path$h;
|
|
4007
|
-
function _extends$h() { _extends$h = Object.assign ? Object.assign.bind() : function (
|
|
4047
|
+
function _extends$h() { return _extends$h = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$h.apply(null, arguments); }
|
|
4008
4048
|
var SvgActionAddOutline = function SvgActionAddOutline(props, ref) {
|
|
4009
4049
|
return /*#__PURE__*/React.createElement("svg", _extends$h({
|
|
4010
4050
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4141,10 +4181,10 @@ function FiltersToolbarImpl(props) {
|
|
|
4141
4181
|
}
|
|
4142
4182
|
const FiltersPanel = /* @__PURE__ */React__default.memo(FiltersToolbarImpl);
|
|
4143
4183
|
|
|
4144
|
-
var css$p = {"divider":"
|
|
4184
|
+
var css$p = {"divider":"yO5QiF","dropdownDeleteIcon":"_8YemMj","presetsWrapper":"_9sstl-","addPresetContainer":"zwqSft","dropContainer":"_1fS5KC"};
|
|
4145
4185
|
|
|
4146
4186
|
var _path$g;
|
|
4147
|
-
function _extends$g() { _extends$g = Object.assign ? Object.assign.bind() : function (
|
|
4187
|
+
function _extends$g() { return _extends$g = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$g.apply(null, arguments); }
|
|
4148
4188
|
var SvgNavigationMoreVertOutline = function SvgNavigationMoreVertOutline(props, ref) {
|
|
4149
4189
|
return /*#__PURE__*/React.createElement("svg", _extends$g({
|
|
4150
4190
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4161,7 +4201,7 @@ var SvgNavigationMoreVertOutline = function SvgNavigationMoreVertOutline(props,
|
|
|
4161
4201
|
var ForwardRef$g = /*#__PURE__*/forwardRef(SvgNavigationMoreVertOutline);
|
|
4162
4202
|
|
|
4163
4203
|
var _path$f;
|
|
4164
|
-
function _extends$f() { _extends$f = Object.assign ? Object.assign.bind() : function (
|
|
4204
|
+
function _extends$f() { return _extends$f = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$f.apply(null, arguments); }
|
|
4165
4205
|
var SvgNavigationRefreshOutline = function SvgNavigationRefreshOutline(props, ref) {
|
|
4166
4206
|
return /*#__PURE__*/React.createElement("svg", _extends$f({
|
|
4167
4207
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4176,7 +4216,7 @@ var SvgNavigationRefreshOutline = function SvgNavigationRefreshOutline(props, re
|
|
|
4176
4216
|
var ForwardRef$f = /*#__PURE__*/forwardRef(SvgNavigationRefreshOutline);
|
|
4177
4217
|
|
|
4178
4218
|
var _path$e;
|
|
4179
|
-
function _extends$e() { _extends$e = Object.assign ? Object.assign.bind() : function (
|
|
4219
|
+
function _extends$e() { return _extends$e = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$e.apply(null, arguments); }
|
|
4180
4220
|
var SvgActionSaveOutline = function SvgActionSaveOutline(props, ref) {
|
|
4181
4221
|
return /*#__PURE__*/React.createElement("svg", _extends$e({
|
|
4182
4222
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4191,7 +4231,7 @@ var SvgActionSaveOutline = function SvgActionSaveOutline(props, ref) {
|
|
|
4191
4231
|
var ForwardRef$e = /*#__PURE__*/forwardRef(SvgActionSaveOutline);
|
|
4192
4232
|
|
|
4193
4233
|
var _path$d;
|
|
4194
|
-
function _extends$d() { _extends$d = Object.assign ? Object.assign.bind() : function (
|
|
4234
|
+
function _extends$d() { return _extends$d = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$d.apply(null, arguments); }
|
|
4195
4235
|
var SvgContentEditUndoOutline = function SvgContentEditUndoOutline(props, ref) {
|
|
4196
4236
|
return /*#__PURE__*/React.createElement("svg", _extends$d({
|
|
4197
4237
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4206,7 +4246,7 @@ var SvgContentEditUndoOutline = function SvgContentEditUndoOutline(props, ref) {
|
|
|
4206
4246
|
var ForwardRef$d = /*#__PURE__*/forwardRef(SvgContentEditUndoOutline);
|
|
4207
4247
|
|
|
4208
4248
|
var _path$c;
|
|
4209
|
-
function _extends$c() { _extends$c = Object.assign ? Object.assign.bind() : function (
|
|
4249
|
+
function _extends$c() { return _extends$c = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$c.apply(null, arguments); }
|
|
4210
4250
|
var SvgActionCopyContentOutline = function SvgActionCopyContentOutline(props, ref) {
|
|
4211
4251
|
return /*#__PURE__*/React.createElement("svg", _extends$c({
|
|
4212
4252
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4223,7 +4263,7 @@ var SvgActionCopyContentOutline = function SvgActionCopyContentOutline(props, re
|
|
|
4223
4263
|
var ForwardRef$c = /*#__PURE__*/forwardRef(SvgActionCopyContentOutline);
|
|
4224
4264
|
|
|
4225
4265
|
var _path$b;
|
|
4226
|
-
function _extends$b() { _extends$b = Object.assign ? Object.assign.bind() : function (
|
|
4266
|
+
function _extends$b() { return _extends$b = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$b.apply(null, arguments); }
|
|
4227
4267
|
var SvgContentEditFill = function SvgContentEditFill(props, ref) {
|
|
4228
4268
|
return /*#__PURE__*/React.createElement("svg", _extends$b({
|
|
4229
4269
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4238,7 +4278,7 @@ var SvgContentEditFill = function SvgContentEditFill(props, ref) {
|
|
|
4238
4278
|
var ForwardRef$b = /*#__PURE__*/forwardRef(SvgContentEditFill);
|
|
4239
4279
|
|
|
4240
4280
|
var _path$a, _path2$3;
|
|
4241
|
-
function _extends$a() { _extends$a = Object.assign ? Object.assign.bind() : function (
|
|
4281
|
+
function _extends$a() { return _extends$a = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$a.apply(null, arguments); }
|
|
4242
4282
|
var SvgContentLinkOutline = function SvgContentLinkOutline(props, ref) {
|
|
4243
4283
|
return /*#__PURE__*/React.createElement("svg", _extends$a({
|
|
4244
4284
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4254,7 +4294,7 @@ var SvgContentLinkOutline = function SvgContentLinkOutline(props, ref) {
|
|
|
4254
4294
|
};
|
|
4255
4295
|
var ForwardRef$a = /*#__PURE__*/forwardRef(SvgContentLinkOutline);
|
|
4256
4296
|
|
|
4257
|
-
var css$o = {"delete-button":"
|
|
4297
|
+
var css$o = {"delete-button":"GRiqS5","deleteButton":"GRiqS5","tab-button":"R5YP2C","tabButton":"R5YP2C","targetOpen":"_7Sh9e5"};
|
|
4258
4298
|
|
|
4259
4299
|
function PresetActionsDropdown(props) {
|
|
4260
4300
|
const { uuiNotifications } = useUuiContext();
|
|
@@ -4295,12 +4335,14 @@ function PresetActionsDropdown(props) {
|
|
|
4295
4335
|
const isRenameAvailable = props.preset.id === props.activePresetId && !isReadonlyPreset;
|
|
4296
4336
|
return (React__default.createElement(DropdownMenuBody, Object.assign({}, dropdownProps),
|
|
4297
4337
|
isPresetChanged && (React__default.createElement(React__default.Fragment, null,
|
|
4298
|
-
!isReadonlyPreset && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon: ForwardRef$f, caption: "Save in current", onClick: saveInCurrentHandler })),
|
|
4299
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon: ForwardRef$e, caption: "Save as new",
|
|
4300
|
-
|
|
4338
|
+
!isReadonlyPreset && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon: ForwardRef$f, caption: "Save in current", onClick: () => { dropdownProps.onClose(); saveInCurrentHandler(); } })),
|
|
4339
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon: ForwardRef$e, caption: "Save as new",
|
|
4340
|
+
// We add setTimeout to call addPreset after dropdown will be closed, since dropdown has focus lock, and it broke autofocus on add new preset input
|
|
4341
|
+
onClick: () => { dropdownProps.onClose(); setTimeout(() => props.addPreset(), 0); } }),
|
|
4342
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-discard`, icon: ForwardRef$d, caption: "Discard all changes", onClick: () => { dropdownProps.onClose(); discardAllChangesHandler(); } }),
|
|
4301
4343
|
React__default.createElement(DropdownMenuSplitter, { key: "discard-splitter" }))),
|
|
4302
4344
|
isRenameAvailable && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-rename`, icon: ForwardRef$b, caption: "Rename", onClick: props.renamePreset })),
|
|
4303
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon: ForwardRef$c, caption: "Duplicate", onClick: duplicateHandler }),
|
|
4345
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon: ForwardRef$c, caption: "Duplicate", onClick: () => { dropdownProps.onClose(); duplicateHandler(); } }),
|
|
4304
4346
|
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon: ForwardRef$a, caption: "Copy Link", onClick: copyUrlToClipboard }),
|
|
4305
4347
|
!isReadonlyPreset && (React__default.createElement(React__default.Fragment, null,
|
|
4306
4348
|
React__default.createElement(DropdownMenuSplitter, { key: "delete-splitter" }),
|
|
@@ -4312,7 +4354,7 @@ function PresetActionsDropdown(props) {
|
|
|
4312
4354
|
return (React__default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
4313
4355
|
}
|
|
4314
4356
|
|
|
4315
|
-
var css$n = {"preset-input-cell":"
|
|
4357
|
+
var css$n = {"preset-input-cell":"OOHGVC","presetInputCell":"OOHGVC","preset-input":"GTtqXo","presetInput":"GTtqXo"};
|
|
4316
4358
|
|
|
4317
4359
|
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
4318
4360
|
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
@@ -4345,7 +4387,7 @@ function PresetInput(props) {
|
|
|
4345
4387
|
React__default.createElement(TextInput, { cx: css$n.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50, isReadonly: readonly })));
|
|
4346
4388
|
}
|
|
4347
4389
|
|
|
4348
|
-
var css$m = {"preset":"
|
|
4390
|
+
var css$m = {"preset":"_9t-Ad7","activePreset":"zFp29n"};
|
|
4349
4391
|
|
|
4350
4392
|
function Preset(props) {
|
|
4351
4393
|
const [isRenamePreset, setIsRenamePreset] = useState(false);
|
|
@@ -4363,11 +4405,12 @@ function Preset(props) {
|
|
|
4363
4405
|
return props.updatePreset(newPreset);
|
|
4364
4406
|
}, [props.preset]);
|
|
4365
4407
|
const isPresetActive = props.activePresetId === props.preset.id;
|
|
4366
|
-
|
|
4408
|
+
const PresetActionsDropdownComponent = useCallback(() => React__default.createElement(PresetActionsDropdown, Object.assign({ renamePreset: setPresetForRename }, props)), [props.preset, props.tableState, props.activePresetId]);
|
|
4409
|
+
return (React__default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__default.createElement(TabButton, { caption: props.preset.name, onClick: !isPresetActive && choosePresetHandler, cx: [css$m.preset, isPresetActive && css$m.activePreset, UUI_PRESETS_PANEL_PRESET], size: "60", withNotify: isPresetActive && props.hasPresetChanged(props.preset), icon: PresetActionsDropdownComponent, iconPosition: "right", isLinkActive: isPresetActive }))));
|
|
4367
4410
|
}
|
|
4368
4411
|
|
|
4369
4412
|
var _path$9;
|
|
4370
|
-
function _extends$9() { _extends$9 = Object.assign ? Object.assign.bind() : function (
|
|
4413
|
+
function _extends$9() { return _extends$9 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$9.apply(null, arguments); }
|
|
4371
4414
|
var SvgActionDeleteForeverFill = function SvgActionDeleteForeverFill(props, ref) {
|
|
4372
4415
|
return /*#__PURE__*/React.createElement("svg", _extends$9({
|
|
4373
4416
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4465,7 +4508,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
4465
4508
|
};
|
|
4466
4509
|
|
|
4467
4510
|
var _path$8;
|
|
4468
|
-
function _extends$8() { _extends$8 = Object.assign ? Object.assign.bind() : function (
|
|
4511
|
+
function _extends$8() { return _extends$8 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$8.apply(null, arguments); }
|
|
4469
4512
|
var SvgActionLockFill = function SvgActionLockFill(props, ref) {
|
|
4470
4513
|
return /*#__PURE__*/React.createElement("svg", _extends$8({
|
|
4471
4514
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4482,7 +4525,7 @@ var SvgActionLockFill = function SvgActionLockFill(props, ref) {
|
|
|
4482
4525
|
var ForwardRef$8 = /*#__PURE__*/forwardRef(SvgActionLockFill);
|
|
4483
4526
|
|
|
4484
4527
|
var _path$7, _path2$2;
|
|
4485
|
-
function _extends$7() { _extends$7 = Object.assign ? Object.assign.bind() : function (
|
|
4528
|
+
function _extends$7() { return _extends$7 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$7.apply(null, arguments); }
|
|
4486
4529
|
var SvgTableGroupColumnLeftFill = function SvgTableGroupColumnLeftFill(props, ref) {
|
|
4487
4530
|
return /*#__PURE__*/React.createElement("svg", _extends$7({
|
|
4488
4531
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4501,7 +4544,7 @@ var SvgTableGroupColumnLeftFill = function SvgTableGroupColumnLeftFill(props, re
|
|
|
4501
4544
|
var ForwardRef$7 = /*#__PURE__*/forwardRef(SvgTableGroupColumnLeftFill);
|
|
4502
4545
|
|
|
4503
4546
|
var _path$6, _path2$1;
|
|
4504
|
-
function _extends$6() { _extends$6 = Object.assign ? Object.assign.bind() : function (
|
|
4547
|
+
function _extends$6() { return _extends$6 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$6.apply(null, arguments); }
|
|
4505
4548
|
var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props, ref) {
|
|
4506
4549
|
return /*#__PURE__*/React.createElement("svg", _extends$6({
|
|
4507
4550
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4519,7 +4562,7 @@ var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props,
|
|
|
4519
4562
|
};
|
|
4520
4563
|
var ForwardRef$6 = /*#__PURE__*/forwardRef(SvgTableGroupColumnRightFill);
|
|
4521
4564
|
|
|
4522
|
-
var css$l = {"unpin-icon":"
|
|
4565
|
+
var css$l = {"unpin-icon":"cYHcqw","unpinIcon":"cYHcqw","pin-toggler-icon":"r1OJGN","pinTogglerIcon":"r1OJGN"};
|
|
4523
4566
|
|
|
4524
4567
|
function PinIconButton(props) {
|
|
4525
4568
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4562,7 +4605,7 @@ function getUnpinIcon(params) {
|
|
|
4562
4605
|
}
|
|
4563
4606
|
|
|
4564
4607
|
var _path$5;
|
|
4565
|
-
function _extends$5() { _extends$5 = Object.assign ? Object.assign.bind() : function (
|
|
4608
|
+
function _extends$5() { return _extends$5 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$5.apply(null, arguments); }
|
|
4566
4609
|
var SvgActionDragIndicator18 = function SvgActionDragIndicator18(props, ref) {
|
|
4567
4610
|
return /*#__PURE__*/React.createElement("svg", _extends$5({
|
|
4568
4611
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4578,7 +4621,7 @@ var SvgActionDragIndicator18 = function SvgActionDragIndicator18(props, ref) {
|
|
|
4578
4621
|
};
|
|
4579
4622
|
var ForwardRef$5 = /*#__PURE__*/forwardRef(SvgActionDragIndicator18);
|
|
4580
4623
|
|
|
4581
|
-
var css$k = {"uui-typography":"
|
|
4624
|
+
var css$k = {"uui-typography":"tCJ-44","uuiTypography":"tCJ-44","hero-header":"tZW5WP","heroHeader":"tZW5WP","promo-header":"U20tzc","promoHeader":"U20tzc","uui-critical":"SJR1oQ","uuiCritical":"SJR1oQ","uui-info":"Km2CDD","uuiInfo":"Km2CDD","uui-success":"V5IiWC","uuiSuccess":"V5IiWC","uui-warning":"_5wfKau","uuiWarning":"_5wfKau","uui-highlight":"T1Iq9w","uuiHighlight":"T1Iq9w","uui-typography-size-12":"WaIUNv","uuiTypographySize12":"WaIUNv","uui-typography-size-14":"vP8-HK","uuiTypographySize14":"vP8-HK","uui-typography-size-16":"AEQWTT","uuiTypographySize16":"AEQWTT","row-wrapper":"jI1vxJ","rowWrapper":"jI1vxJ","pin-icon-button":"qwZsBF","pinIconButton":"qwZsBF","not-pinned":"Y9KYNM","notPinned":"Y9KYNM","checkbox":"h-4oIy","drag-handle":"J9Tngf","dragHandle":"J9Tngf","dnd-disabled":"u-vgTf","dndDisabled":"u-vgTf"};
|
|
4582
4625
|
|
|
4583
4626
|
const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
4584
4627
|
const { column } = props;
|
|
@@ -4601,7 +4644,7 @@ const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
|
4601
4644
|
return (React.createElement(DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
|
|
4602
4645
|
});
|
|
4603
4646
|
|
|
4604
|
-
var css$j = {"uui-typography":"
|
|
4647
|
+
var css$j = {"uui-typography":"Zr7Skp","uuiTypography":"Zr7Skp","hero-header":"POkOsN","heroHeader":"POkOsN","promo-header":"EpqCBA","promoHeader":"EpqCBA","uui-critical":"BfZP3F","uuiCritical":"BfZP3F","uui-info":"LA7sfr","uuiInfo":"LA7sfr","uui-success":"_8a4gk2","uuiSuccess":"_8a4gk2","uui-warning":"Dv7Il4","uuiWarning":"Dv7Il4","uui-highlight":"KUWMWS","uuiHighlight":"KUWMWS","uui-typography-size-12":"ZJeKGN","uuiTypographySize12":"ZJeKGN","uui-typography-size-14":"_4Wo8bU","uuiTypographySize14":"_4Wo8bU","uui-typography-size-16":"nDSwEl","uuiTypographySize16":"nDSwEl","root":"iKBnFF","main-panel":"U-g-h-","mainPanel":"U-g-h-","group":"sS-nY0","group-title":"f9D237","groupTitle":"f9D237","group-items":"qhZR5S","groupItems":"qhZR5S","no-data":"bHaIYJ","noData":"bHaIYJ","no-data-title":"WbXaFa","noDataTitle":"WbXaFa","no-data-sub-title":"wJrwTq","noDataSubTitle":"wJrwTq","h-divider":"jKY4Ww","hDivider":"jKY4Ww","search-area":"-Bk2lp","searchArea":"-Bk2lp","subgroup-accordion":"YPr48O","subgroupAccordion":"YPr48O","subgroup":"_54c60u","subgroup-title":"hq03XH","subgroupTitle":"hq03XH"};
|
|
4605
4648
|
|
|
4606
4649
|
const renderGroupTitle = (title, amount) => (React.createElement(FlexRow, { cx: css$j.group },
|
|
4607
4650
|
React.createElement(Text, { size: "none", cx: css$j.groupTitle }, title),
|
|
@@ -4678,7 +4721,7 @@ function SubGroup(props) {
|
|
|
4678
4721
|
const content = (React.createElement(FlexRow, { cx: css$j.groupItems, size: settings.sizes.dataTable.columnsConfigurationModal.columnRow }, items.map((c) => (React.createElement(ColumnRow, { column: c, key: c.key, renderItem: renderItem })))));
|
|
4679
4722
|
if (isCollapsible) {
|
|
4680
4723
|
const renderTitle = (isOpened) => {
|
|
4681
|
-
const toggleIcon = isOpened ? ForwardRef$
|
|
4724
|
+
const toggleIcon = isOpened ? ForwardRef$Q : ForwardRef$v;
|
|
4682
4725
|
return (React.createElement(FlexRow, { cx: cx$1(css$j.subgroup) },
|
|
4683
4726
|
React.createElement(IconContainer, { size: settings.sizes.dataTable.columnsConfigurationModal.subgroupIcon, icon: toggleIcon }),
|
|
4684
4727
|
React.createElement(Text, { size: "none", color: "tertiary", cx: css$j.subgroupTitle }, title)));
|
|
@@ -4690,7 +4733,7 @@ function SubGroup(props) {
|
|
|
4690
4733
|
return null;
|
|
4691
4734
|
}
|
|
4692
4735
|
|
|
4693
|
-
var css$i = {"listContainer":"
|
|
4736
|
+
var css$i = {"listContainer":"g6pPbA","header":"-Jr3iP","group":"GGu1Vv","stickyHeader":"TAnWDa"};
|
|
4694
4737
|
|
|
4695
4738
|
const getChildrenAndRest = (row, rows) => {
|
|
4696
4739
|
const firstNotChildIndex = rows.findIndex((other) => other.depth < row.depth || (row.depth === other.depth && other.isPinned));
|
|
@@ -4746,7 +4789,7 @@ function DataRowsContainer({ estimatedHeight, listContainerRef, offsetY, rows, r
|
|
|
4746
4789
|
}
|
|
4747
4790
|
|
|
4748
4791
|
var _path$4, _path2, _path3, _path4, _path5, _path6, _g, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _defs;
|
|
4749
|
-
function _extends$4() { _extends$4 = Object.assign ? Object.assign.bind() : function (
|
|
4792
|
+
function _extends$4() { return _extends$4 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$4.apply(null, arguments); }
|
|
4750
4793
|
var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
4751
4794
|
return /*#__PURE__*/React.createElement("svg", _extends$4({
|
|
4752
4795
|
width: 232,
|
|
@@ -4756,7 +4799,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4756
4799
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4757
4800
|
ref: ref
|
|
4758
4801
|
}, props), /*#__PURE__*/React.createElement("g", {
|
|
4759
|
-
clipPath: "url(#
|
|
4802
|
+
clipPath: "url(#ljdi1z6n0zidggsov_a)"
|
|
4760
4803
|
}, _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
|
|
4761
4804
|
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",
|
|
4762
4805
|
fill: "#F5F6FA"
|
|
@@ -4777,7 +4820,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4777
4820
|
d: "M86.786 22.982c-2.55 0-4.965 2.07-4.965 4.552V120.6c0 2.484 2.4 4.572 4.965 4.572h88.101c2.582 0 4.986-2.089 4.986-4.572V27.534c0-2.464-2.418-4.552-4.986-4.552h-88.1Zm-5.793 4.552c0-3.022 2.874-5.38 5.793-5.38h88.101c2.935 0 5.814 2.374 5.814 5.38V120.6c0 3.021-2.86 5.4-5.814 5.4h-88.1c-2.94 0-5.794-2.381-5.794-5.4V27.534Z",
|
|
4778
4821
|
fill: "#1D1E26"
|
|
4779
4822
|
})), /*#__PURE__*/React.createElement("mask", {
|
|
4780
|
-
id: "
|
|
4823
|
+
id: "ljdi1zpeaxvfg4fv_b",
|
|
4781
4824
|
style: {
|
|
4782
4825
|
maskType: "alpha"
|
|
4783
4826
|
},
|
|
@@ -4790,7 +4833,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4790
4833
|
d: "M174.887 125.586h-88.1c-2.752 0-5.38-2.234-5.38-4.986V27.534c0-2.752 2.644-4.966 5.38-4.966h88.1c2.752 0 5.4 2.23 5.4 4.966V120.6c0 2.752-2.632 4.986-5.4 4.986Z",
|
|
4791
4834
|
fill: "#9BDEFF"
|
|
4792
4835
|
}))), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
4793
|
-
mask: "url(#
|
|
4836
|
+
mask: "url(#ljdi1zpeaxvfg4fv_b)",
|
|
4794
4837
|
fillRule: "evenodd",
|
|
4795
4838
|
clipRule: "evenodd"
|
|
4796
4839
|
}, /*#__PURE__*/React.createElement("path", {
|
|
@@ -4876,7 +4919,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4876
4919
|
d: "M24.73 96.184a.414.414 0 0 1 .581.06l48.646 59.751a.413.413 0 1 1-.642.523L24.67 96.766a.414.414 0 0 1 .06-.582Z",
|
|
4877
4920
|
fill: "#fff"
|
|
4878
4921
|
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
4879
|
-
id: "
|
|
4922
|
+
id: "ljdi1z6n0zidggsov_a"
|
|
4880
4923
|
}, /*#__PURE__*/React.createElement("path", {
|
|
4881
4924
|
fill: "#fff",
|
|
4882
4925
|
transform: "translate(.552)",
|
|
@@ -4885,7 +4928,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4885
4928
|
};
|
|
4886
4929
|
var ForwardRef$4 = /*#__PURE__*/forwardRef(SvgEmptyTable);
|
|
4887
4930
|
|
|
4888
|
-
var css$h = {"root":"
|
|
4931
|
+
var css$h = {"root":"QeVOHa","sticky-header":"aWhV4b","stickyHeader":"aWhV4b","no-results":"BokJ1y","noResults":"BokJ1y","icon":"tFGEnG","title":"y6EvmD"};
|
|
4889
4932
|
|
|
4890
4933
|
function DataTable(props) {
|
|
4891
4934
|
var _a, _b, _c, _d;
|
|
@@ -4936,12 +4979,12 @@ function DataTable(props) {
|
|
|
4936
4979
|
} }))));
|
|
4937
4980
|
}
|
|
4938
4981
|
|
|
4939
|
-
var css$g = {"root":"
|
|
4982
|
+
var css$g = {"root":"HVbFiO"};
|
|
4940
4983
|
|
|
4941
|
-
var css$f = {"root":"
|
|
4984
|
+
var css$f = {"root":"_8P3o8x","burger-content":"QWiOwR","burgerContent":"QWiOwR"};
|
|
4942
4985
|
|
|
4943
4986
|
var _path$3;
|
|
4944
|
-
function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (
|
|
4987
|
+
function _extends$3() { return _extends$3 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$3.apply(null, arguments); }
|
|
4945
4988
|
var SvgNavigationOpenSideMenuOutline = function SvgNavigationOpenSideMenuOutline(props, ref) {
|
|
4946
4989
|
return /*#__PURE__*/React.createElement("svg", _extends$3({
|
|
4947
4990
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4960,12 +5003,12 @@ function applyBurgerMods() {
|
|
|
4960
5003
|
}
|
|
4961
5004
|
const Burger = /* @__PURE__ */withMods(Burger$1, applyBurgerMods, () => ({
|
|
4962
5005
|
burgerIcon: ForwardRef$3,
|
|
4963
|
-
crossIcon: ForwardRef$
|
|
5006
|
+
crossIcon: ForwardRef$R,
|
|
4964
5007
|
burgerContentCx: css$f.burgerContent,
|
|
4965
5008
|
}));
|
|
4966
5009
|
|
|
4967
5010
|
var _path$2;
|
|
4968
|
-
function _extends$2() { _extends$2 = Object.assign ? Object.assign.bind() : function (
|
|
5011
|
+
function _extends$2() { return _extends$2 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$2.apply(null, arguments); }
|
|
4969
5012
|
var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props, ref) {
|
|
4970
5013
|
return /*#__PURE__*/React.createElement("svg", _extends$2({
|
|
4971
5014
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4981,7 +5024,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
4981
5024
|
};
|
|
4982
5025
|
var ForwardRef$2 = /*#__PURE__*/forwardRef(SvgNavigationArrowDownOutline);
|
|
4983
5026
|
|
|
4984
|
-
var css$e = {"uui-typography":"
|
|
5027
|
+
var css$e = {"uui-typography":"yB9OaF","uuiTypography":"yB9OaF","hero-header":"FRXUG5","heroHeader":"FRXUG5","promo-header":"DmMLBg","promoHeader":"DmMLBg","uui-critical":"v3SiCF","uuiCritical":"v3SiCF","uui-info":"s4Reph","uuiInfo":"s4Reph","uui-success":"wjLBKB","uuiSuccess":"wjLBKB","uui-warning":"N3LDfn","uuiWarning":"N3LDfn","uui-highlight":"T9Js7M","uuiHighlight":"T9Js7M","uui-typography-size-12":"_6Uvb3J","uuiTypographySize12":"_6Uvb3J","uui-typography-size-14":"wIhk6o","uuiTypographySize14":"wIhk6o","uui-typography-size-16":"_0b1Hd8","uuiTypographySize16":"_0b1Hd8","root":"BbZ2dy","button-primary":"Gaw91J","buttonPrimary":"Gaw91J","button-secondary":"A5Ys9B","buttonSecondary":"A5Ys9B","hasIcon":"U7N-SM","dropdown":"TAe8ki"};
|
|
4985
5028
|
|
|
4986
5029
|
const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
4987
5030
|
css$e.root,
|
|
@@ -4992,13 +5035,13 @@ const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
|
4992
5035
|
props.icon && css$e.hasIcon,
|
|
4993
5036
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
4994
5037
|
|
|
4995
|
-
var css$d = {"search-input":"
|
|
5038
|
+
var css$d = {"search-input":"Yl6vtN","searchInput":"Yl6vtN"};
|
|
4996
5039
|
|
|
4997
5040
|
function BurgerSearch(props) {
|
|
4998
|
-
return (React.createElement(TextInput$1, { cx: cx(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$
|
|
5041
|
+
return (React.createElement(TextInput$1, { cx: cx(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$O, placeholder: props.placeholder, value: props.value, onValueChange: props.onValueChange, onCancel: props.onCancel, cancelIcon: props.value && ForwardRef$R }));
|
|
4999
5042
|
}
|
|
5000
5043
|
|
|
5001
|
-
var css$c = {"root":"
|
|
5044
|
+
var css$c = {"root":"XYlNa6","group-header":"OuRecK","groupHeader":"OuRecK","group-name":"ujUEa-","groupName":"ujUEa-","line":"OGPHW-"};
|
|
5002
5045
|
|
|
5003
5046
|
function BurgerGroupHeader(props) {
|
|
5004
5047
|
return (React.createElement("div", { className: cx(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -5006,7 +5049,7 @@ function BurgerGroupHeader(props) {
|
|
|
5006
5049
|
React.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
5007
5050
|
}
|
|
5008
5051
|
|
|
5009
|
-
var css$b = {"uui-typography":"
|
|
5052
|
+
var css$b = {"uui-typography":"jVeOyu","uuiTypography":"jVeOyu","hero-header":"_6UOqNb","heroHeader":"_6UOqNb","promo-header":"Br5hHo","promoHeader":"Br5hHo","uui-critical":"n6GWk7","uuiCritical":"n6GWk7","uui-info":"_7sULpP","uuiInfo":"_7sULpP","uui-success":"HlrHyD","uuiSuccess":"HlrHyD","uui-warning":"QLF1HO","uuiWarning":"QLF1HO","uui-highlight":"_-2nHuI","uuiHighlight":"_-2nHuI","uui-typography-size-12":"cSE2-q","uuiTypographySize12":"cSE2-q","uui-typography-size-14":"QXy8ik","uuiTypographySize14":"QXy8ik","uui-typography-size-16":"jQbgBM","uuiTypographySize16":"jQbgBM","root":"HaIjhf","type-primary":"RNqpAJ","typePrimary":"RNqpAJ","type-secondary":"_5SAOkf","typeSecondary":"_5SAOkf"};
|
|
5010
5053
|
|
|
5011
5054
|
const MainMenuButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5012
5055
|
const { type } = props, clickableProps = __rest(props, ["type"]);
|
|
@@ -5019,10 +5062,10 @@ const MainMenuButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5019
5062
|
props.caption && (React.createElement("div", { className: uuiElement.caption }, props.caption)),
|
|
5020
5063
|
props.count !== undefined && props.count !== null && (React.createElement(CountIndicator, { caption: props.count, color: "neutral", size: "18" })),
|
|
5021
5064
|
props.icon && props.iconPosition === 'right' && (React.createElement(IconContainer, { icon: props.icon, onClick: props.onIconClick })),
|
|
5022
|
-
props.isDropdown && (React.createElement(IconContainer, { icon: ForwardRef$
|
|
5065
|
+
props.isDropdown && (React.createElement(IconContainer, { icon: ForwardRef$Q, flipY: props.isOpen }))));
|
|
5023
5066
|
});
|
|
5024
5067
|
|
|
5025
|
-
var css$a = {"dropdown-body":"
|
|
5068
|
+
var css$a = {"dropdown-body":"LUOvvE","dropdownBody":"LUOvvE"};
|
|
5026
5069
|
|
|
5027
5070
|
class MainMenuDropdown extends React.Component {
|
|
5028
5071
|
render() {
|
|
@@ -5061,7 +5104,7 @@ const MainMenu = /* @__PURE__ */withMods(uuiComponents.MainMenu, applyMainMenuMo
|
|
|
5061
5104
|
}));
|
|
5062
5105
|
|
|
5063
5106
|
var _path$1;
|
|
5064
|
-
function _extends$1() { _extends$1 = Object.assign ? Object.assign.bind() : function (
|
|
5107
|
+
function _extends$1() { return _extends$1 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$1.apply(null, arguments); }
|
|
5065
5108
|
var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutlineOutline(props, ref) {
|
|
5066
5109
|
return /*#__PURE__*/React.createElement("svg", _extends$1({
|
|
5067
5110
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5077,31 +5120,31 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
5077
5120
|
};
|
|
5078
5121
|
var ForwardRef$1 = /*#__PURE__*/forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
5079
5122
|
|
|
5080
|
-
var css$9 = {"global-menu-btn":"
|
|
5123
|
+
var css$9 = {"global-menu-btn":"PvQ3e1","globalMenuBtn":"PvQ3e1","global-menu-icon":"_5394-E","globalMenuIcon":"_5394-E"};
|
|
5081
5124
|
|
|
5082
5125
|
const GlobalMenu = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("button", Object.assign({ ref: ref, id: "global_menu_toggle", className: cx(css$9.globalMenuBtn, props.cx) }, props.rawProps),
|
|
5083
5126
|
React.createElement(IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
5084
5127
|
|
|
5085
|
-
var css$8 = {"container":"
|
|
5128
|
+
var css$8 = {"container":"B7yrBF","open":"E4xaSe","folding-arrow":"FciINo","foldingArrow":"FciINo"};
|
|
5086
5129
|
|
|
5087
5130
|
const MainMenuAvatar = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("button", { ref: ref, className: cx(css$8.container, props.isDropdown && css$8.dropdown, props.isOpen && css$8.open, props.onClick && uuiMarkers.clickable, props.cx), onClick: props.onClick },
|
|
5088
5131
|
React.createElement(Avatar, { size: "36", img: props.avatarUrl }),
|
|
5089
5132
|
props.icon && React.createElement(IconContainer, { icon: props.icon }),
|
|
5090
5133
|
props.isDropdown && (React.createElement("div", null,
|
|
5091
|
-
React.createElement(IconContainer, { size: 18, icon: ForwardRef$
|
|
5134
|
+
React.createElement(IconContainer, { size: 18, icon: ForwardRef$Q, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
|
|
5092
5135
|
|
|
5093
|
-
var css$7 = {"search-input":"
|
|
5136
|
+
var css$7 = {"search-input":"Z69ayg","searchInput":"Z69ayg"};
|
|
5094
5137
|
|
|
5095
5138
|
const MainMenuSearch = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IEditableDebouncer, Object.assign({}, props, { render: (iEditable) => {
|
|
5096
5139
|
var _a;
|
|
5097
|
-
return (React.createElement(TextInput$1, Object.assign({ iconPosition: "left", icon: ForwardRef$
|
|
5140
|
+
return (React.createElement(TextInput$1, Object.assign({ iconPosition: "left", icon: ForwardRef$O, cancelIcon: ((_a = props.value) === null || _a === void 0 ? void 0 : _a.length) > 0 && ForwardRef$R }, props, iEditable, { ref: ref, cx: cx$1(css$7.searchInput, props.cx) }, props.rawProps)));
|
|
5098
5141
|
} }))));
|
|
5099
5142
|
|
|
5100
|
-
var css$6 = {"container":"
|
|
5143
|
+
var css$6 = {"container":"j3Y1P4"};
|
|
5101
5144
|
|
|
5102
5145
|
const MainMenuIcon = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IconButton, Object.assign({ ref: ref, icon: props.icon, cx: cx$1(props.cx, css$6.container) }, props))));
|
|
5103
5146
|
|
|
5104
|
-
var css$5 = {"root":"
|
|
5147
|
+
var css$5 = {"root":"_2DQLx-"};
|
|
5105
5148
|
|
|
5106
5149
|
const Anchor = /* @__PURE__ */withMods(Anchor$1, () => [css$5.root]);
|
|
5107
5150
|
|
|
@@ -5143,7 +5186,7 @@ function useForm(props) {
|
|
|
5143
5186
|
}
|
|
5144
5187
|
|
|
5145
5188
|
var _path;
|
|
5146
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
5189
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
5147
5190
|
var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
5148
5191
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
5149
5192
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5159,7 +5202,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
5159
5202
|
};
|
|
5160
5203
|
var ForwardRef = /*#__PURE__*/forwardRef(SvgFileCloudUploadFill);
|
|
5161
5204
|
|
|
5162
|
-
var css$4 = {"root":"
|
|
5205
|
+
var css$4 = {"root":"sx-MUO","drop-start":"W1US79","dropStart":"W1US79","drop-over":"ysLVHE","dropOver":"ysLVHE","link":"_5uSUyH","drop-area":"bGSoFG","dropArea":"bGSoFG","drop-caption":"OhbHHw","dropCaption":"OhbHHw","icon-blue":"-Vot1u","iconBlue":"-Vot1u"};
|
|
5163
5206
|
|
|
5164
5207
|
function DropSpot(props) {
|
|
5165
5208
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -5177,9 +5220,9 @@ function DropSpot(props) {
|
|
|
5177
5220
|
return React.createElement(DropSpot$1, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
5178
5221
|
}
|
|
5179
5222
|
|
|
5180
|
-
var css$3 = {"uui-typography":"
|
|
5223
|
+
var css$3 = {"uui-typography":"CVgoB9","uuiTypography":"CVgoB9","hero-header":"Yq3uLm","heroHeader":"Yq3uLm","promo-header":"Pmdocg","promoHeader":"Pmdocg","uui-critical":"Hkw6KM","uuiCritical":"Hkw6KM","uui-info":"cEdtXJ","uuiInfo":"cEdtXJ","uui-success":"Hn0IRx","uuiSuccess":"Hn0IRx","uui-warning":"BUQiyf","uuiWarning":"BUQiyf","uui-highlight":"pyXoIt","uuiHighlight":"pyXoIt","uui-typography-size-12":"wDRbu-","uuiTypographySize12":"wDRbu-","uui-typography-size-14":"N1vLdB","uuiTypographySize14":"N1vLdB","uui-typography-size-16":"f8rWCl","uuiTypographySize16":"f8rWCl","root":"oV4aS5","file-name":"BL3-6K","fileName":"BL3-6K","default-color":"qt5swD","defaultColor":"qt5swD","doc-color":"_84-62F","docColor":"_84-62F","xls-color":"Le-KtU","xlsColor":"Le-KtU","pdf-color":"mpprBI","pdfColor":"mpprBI","movie-color":"xCSK6L","movieColor":"xCSK6L","img-color":"_2QokRp","imgColor":"_2QokRp","mov-color":"LUUpwl","movColor":"LUUpwl","error-block":"pyKzfh","errorBlock":"pyKzfh","icons-block":"kKrRJ-","iconsBlock":"kKrRJ-"};
|
|
5181
5224
|
|
|
5182
|
-
var css$2 = {"root":"
|
|
5225
|
+
var css$2 = {"root":"ogcEK2"};
|
|
5183
5226
|
|
|
5184
5227
|
const SvgCircleProgress = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5185
5228
|
const outsetRadius = props.size / 2 - 1;
|
|
@@ -5244,7 +5287,7 @@ const FileCard = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5244
5287
|
};
|
|
5245
5288
|
const renderErrorContent = () => (React.createElement(Tooltip, { content: file.error.message, placement: "bottom-start" },
|
|
5246
5289
|
React.createElement("div", { className: css$3.errorBlock },
|
|
5247
|
-
React.createElement(IconContainer, { icon: ForwardRef$
|
|
5290
|
+
React.createElement(IconContainer, { icon: ForwardRef$y, size: 12 }),
|
|
5248
5291
|
i18n.fileCard.failedUploadErrorMessage)));
|
|
5249
5292
|
const renderSuccessfulContent = () => (React.createElement(Text, { size: "18", fontSize: "14", lineHeight: "18", color: "tertiary" },
|
|
5250
5293
|
fileExtension && `${fileExtension.toUpperCase()}, `,
|
|
@@ -5262,7 +5305,7 @@ const FileCard = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5262
5305
|
(error === null || error === void 0 ? void 0 : error.isError) ? renderErrorContent() : renderSuccessfulContent()),
|
|
5263
5306
|
React.createElement("div", { className: cx$1(css$3.iconsBlock), onMouseEnter: mouseEnterHandler, onMouseLeave: mouseLeaveHandler },
|
|
5264
5307
|
isLoadingShow && isLoading && React.createElement(SvgCircleProgress, { progress: progress, size: 18 }),
|
|
5265
|
-
isCrossShow && React.createElement(IconButton, { icon: ForwardRef$
|
|
5308
|
+
isCrossShow && React.createElement(IconButton, { icon: ForwardRef$R, onClick: removeHandler })))));
|
|
5266
5309
|
});
|
|
5267
5310
|
|
|
5268
5311
|
const getRecoveryMessageConfig = () => ({
|
|
@@ -5289,33 +5332,37 @@ const getErrorPageConfig = () => ({
|
|
|
5289
5332
|
mobileImageUrl: 'https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/error-pages-illustrations/L_Error_500_Monochrome.svg',
|
|
5290
5333
|
title: i18n.errorHandler.errorPageConfig.serverError.title,
|
|
5291
5334
|
subtitle: i18n.errorHandler.errorPageConfig.serverError.subtitle,
|
|
5335
|
+
supportLink: i18n.errorHandler.supportMessage,
|
|
5292
5336
|
},
|
|
5293
5337
|
serviceUnavailable: {
|
|
5294
5338
|
imageUrl: 'https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/error-pages-illustrations/L_Error_503_Monochrome.svg',
|
|
5295
5339
|
mobileImageUrl: 'https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/error-pages-illustrations/L_Error_503_Monochrome.svg',
|
|
5296
5340
|
title: i18n.errorHandler.errorPageConfig.serviceUnavailable.title,
|
|
5297
5341
|
subtitle: i18n.errorHandler.errorPageConfig.serviceUnavailable.subtitle,
|
|
5342
|
+
supportLink: i18n.errorHandler.supportMessage,
|
|
5298
5343
|
},
|
|
5299
5344
|
default: {
|
|
5300
5345
|
imageUrl: 'https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/error-pages-illustrations/L_Empty_Monochrome.svg',
|
|
5301
5346
|
mobileImageUrl: 'https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/error-pages-illustrations/L_Empty_Monochrome.svg',
|
|
5302
5347
|
title: i18n.errorHandler.errorPageConfig.default.title,
|
|
5303
5348
|
subtitle: i18n.errorHandler.errorPageConfig.default.subtitle,
|
|
5349
|
+
supportLink: i18n.errorHandler.supportMessage,
|
|
5304
5350
|
},
|
|
5305
5351
|
});
|
|
5306
5352
|
|
|
5307
|
-
var css$1 = {"container":"
|
|
5353
|
+
var css$1 = {"container":"rp4vzb"};
|
|
5308
5354
|
|
|
5309
5355
|
const ErrorPage = (props) => {
|
|
5310
5356
|
const isMobileScreen = isMobile();
|
|
5311
5357
|
return (React__default.createElement("div", { className: cx$1(css$1.container, props.cx) },
|
|
5312
|
-
React__default.createElement("div", { className:
|
|
5358
|
+
React__default.createElement("div", { className: cx$1('uui-error-content', 'uui-typography') },
|
|
5313
5359
|
React__default.createElement("img", { className: "uui-error-image", src: isMobileScreen && props.mobileImageUrl ? props.mobileImageUrl : props.imageUrl, alt: "ERROR OCCURRED!" }),
|
|
5314
5360
|
React__default.createElement("div", { className: "uui-error-title" }, props.title),
|
|
5315
|
-
React__default.createElement("div", { className: "uui-error-subtitle" }, props.subtitle)
|
|
5361
|
+
React__default.createElement("div", { className: "uui-error-subtitle" }, props.subtitle),
|
|
5362
|
+
(props === null || props === void 0 ? void 0 : props.supportLink) && React__default.createElement("div", { className: "uui-error-support-link" }, props === null || props === void 0 ? void 0 : props.supportLink))));
|
|
5316
5363
|
};
|
|
5317
5364
|
|
|
5318
|
-
var css = {"recovery-spinner":"
|
|
5365
|
+
var css = {"recovery-spinner":"H3oT0G","recoverySpinner":"H3oT0G","recovery-message":"GdYH0b","recoveryMessage":"GdYH0b","modal-blocker":"JF3BmL","modalBlocker":"JF3BmL","modalFadeIn":"aLBsyz"};
|
|
5319
5366
|
|
|
5320
5367
|
function ErrorHandler(props) {
|
|
5321
5368
|
const { uuiNotifications, uuiModals, uuiApi } = useUuiContext();
|
|
@@ -5366,5 +5413,5 @@ function ErrorHandler(props) {
|
|
|
5366
5413
|
errorType === 'recovery' && renderRecoveryBlocker(errorInfo)));
|
|
5367
5414
|
}
|
|
5368
5415
|
|
|
5369
|
-
export { Accordion, Alert, Anchor, AvatarStack, Badge, Blocker, Burger, BurgerButton, BurgerGroupHeader, BurgerSearch, Button, Calendar, Checkbox, CheckboxGroup, ClearNotification, ColumnHeaderDropdown, ColumnsConfigurationModal, ConfirmationModal, ControlGroup, CountIndicator, DataPickerBody, DataPickerFooter, DataPickerHeader, DataPickerRow, DataRowAddons, DataRowsContainer, DataTable, DataTableCell, DataTableHeaderCell, DataTableHeaderRow, DataTableRow, DatePicker, DatePickerBody, DatePickerComponent, DropMarker, DropSpot, Dropdown, DropdownContainer, DropdownMenuBody, DropdownMenuButton, DropdownMenuHeader, DropdownMenuSplitter, DropdownMenuSwitchButton, DropdownSubMenu, ErrorAlert, ErrorHandler, ErrorNotification, ErrorPage, FileCard, FilterItemBody, FilterPickerBody, FiltersPanel, FlexCell, FlexRow, Form, GlobalMenu, HintAlert, HintNotification, IDropdownControlKeys, IconButton, IndeterminateBar, IndicatorBar, InputAddon, LabeledInput, LinkButton, MainMenu, MainMenuAvatar, MainMenuButton, MainMenuDropdown, MainMenuIcon, MainMenuSearch, ModalBlocker, ModalFooter, ModalHeader, ModalWindow, MultiSwitch, NotificationCard, NumericInput, Paginator, Panel, PickerBodyMobileView, PickerInput, PickerItem, PickerList, PickerListItem, PickerModal, PickerToggler, PickerTogglerTag, PresetsPanel, ProgressBar, RadioGroup, RadioInput, RangeDatePicker, RangeDatePickerBody, RangeDatePickerInput, RichTextView, ScrollBars, SearchInput, Slider, Snackbar, Spinner, StatusIndicator, SuccessAlert, SuccessNotification, SvgCircleProgress, Switch, TabButton, Tag, Text, TextArea, TextInput, TextPlaceholder, TimePicker, TimePickerBody, Tooltip, VerticalTabButton, VirtualList, WarningAlert, WarningNotification, applyDateSelectionMods, defaultPredicates, getErrorPageConfig, getHighlightRanges, getHighlightedSearchMatches, getRecoveryMessageConfig, i18n, propsMods, rangeDatePickerPresets, renderCell, renderDropMarkers, settings, useColumnsWithFilters, useForm, uuiDatePickerBody, uuiRangeDatePickerBody, uuiTimePicker };
|
|
5416
|
+
export { Accordion, Alert, Anchor, AvatarStack, Badge, Blocker, Burger, BurgerButton, BurgerGroupHeader, BurgerSearch, Button, Calendar, Checkbox, CheckboxGroup, ClearNotification, ColumnHeaderDropdown, ColumnsConfigurationModal, ConfirmationModal, ControlGroup, CountIndicator, DataPickerBody, DataPickerFooter, DataPickerHeader, DataPickerRow, DataRowAddons, DataRowsContainer, DataTable, DataTableCell, DataTableHeaderCell, DataTableHeaderRow, DataTableRow, DatePicker, DatePickerBody, DatePickerComponent, DropMarker, DropSpot, Dropdown, DropdownContainer, DropdownMenuBody, DropdownMenuButton, DropdownMenuHeader, DropdownMenuSplitter, DropdownMenuSwitchButton, DropdownSubMenu, ErrorAlert, ErrorHandler, ErrorNotification, ErrorPage, FileCard, FilterItemBody, FilterPickerBody, FiltersPanel, FlexCell, FlexRow, Form, GlobalMenu, HintAlert, HintNotification, IDropdownControlKeys, IconButton, IndeterminateBar, IndicatorBar, InputAddon, LabeledInput, LinkButton, MainMenu, MainMenuAvatar, MainMenuButton, MainMenuDropdown, MainMenuIcon, MainMenuSearch, ModalBlocker, ModalFooter, ModalHeader, ModalWindow, MultiSwitch, NotificationCard, NumericInput, Paginator, Panel, PickerBodyMobileView, PickerInput, PickerItem, PickerList, PickerListItem, PickerModal, PickerToggler, PickerTogglerTag, PresetsPanel, ProgressBar, RadioGroup, RadioInput, RangeDatePicker, RangeDatePickerBody, RangeDatePickerInput, Rating, RichTextView, ScrollBars, SearchInput, Slider, Snackbar, Spinner, StatusIndicator, SuccessAlert, SuccessNotification, SvgCircleProgress, Switch, TabButton, Tag, Text, TextArea, TextInput, TextPlaceholder, TimePicker, TimePickerBody, Tooltip, VerticalTabButton, VirtualList, WarningAlert, WarningNotification, applyDateSelectionMods, defaultPredicates, getErrorPageConfig, getHighlightRanges, getHighlightedSearchMatches, getRecoveryMessageConfig, i18n, propsMods, rangeDatePickerPresets, renderCell, renderDropMarkers, settings, useColumnsWithFilters, useForm, uuiDatePickerBody, uuiRangeDatePickerBody, uuiTimePicker };
|
|
5370
5417
|
//# sourceMappingURL=index.esm.js.map
|