@epam/uui 5.11.0-rc.0 → 5.11.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/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/Modals.d.ts.map +1 -1
- package/index.esm.js +458 -424
- package/index.esm.js.map +1 -1
- package/index.js +458 -423
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/settings.d.ts.map +1 -1
- package/settings.types.d.ts +1 -0
- package/settings.types.d.ts.map +1 -1
- package/stats.html +19 -1
- package/styles.css +2682 -2630
- package/styles.css.map +1 -1
package/index.js
CHANGED
|
@@ -49,9 +49,24 @@ var customParseFormat__default = /*#__PURE__*/_interopDefault(customParseFormat)
|
|
|
49
49
|
var isoWeek__default = /*#__PURE__*/_interopDefault(isoWeek);
|
|
50
50
|
var FocusLock__default = /*#__PURE__*/_interopDefault(FocusLock);
|
|
51
51
|
|
|
52
|
+
var _path$R;
|
|
53
|
+
function _extends$R() { _extends$R = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$R.apply(this, arguments); }
|
|
54
|
+
var SvgNavigationCloseOutline = function SvgNavigationCloseOutline(props, ref) {
|
|
55
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$R({
|
|
56
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
57
|
+
width: 24,
|
|
58
|
+
height: 24,
|
|
59
|
+
viewBox: "0 0 24 24",
|
|
60
|
+
ref: ref
|
|
61
|
+
}, props), _path$R || (_path$R = /*#__PURE__*/React__namespace.createElement("path", {
|
|
62
|
+
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"
|
|
63
|
+
})));
|
|
64
|
+
};
|
|
65
|
+
var ForwardRef$R = /*#__PURE__*/React.forwardRef(SvgNavigationCloseOutline);
|
|
66
|
+
|
|
52
67
|
var _path$Q;
|
|
53
68
|
function _extends$Q() { _extends$Q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$Q.apply(this, arguments); }
|
|
54
|
-
var
|
|
69
|
+
var SvgNavigationChevronDownOutline = function SvgNavigationChevronDownOutline(props, ref) {
|
|
55
70
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$Q({
|
|
56
71
|
xmlns: "http://www.w3.org/2000/svg",
|
|
57
72
|
width: 24,
|
|
@@ -59,14 +74,14 @@ var SvgNavigationCloseOutline = function SvgNavigationCloseOutline(props, ref) {
|
|
|
59
74
|
viewBox: "0 0 24 24",
|
|
60
75
|
ref: ref
|
|
61
76
|
}, props), _path$Q || (_path$Q = /*#__PURE__*/React__namespace.createElement("path", {
|
|
62
|
-
d: "
|
|
77
|
+
d: "M5.414 8.086 4 9.5l8 8 8-8-1.414-1.414L12 14.672 5.414 8.086z"
|
|
63
78
|
})));
|
|
64
79
|
};
|
|
65
|
-
var ForwardRef$Q = /*#__PURE__*/React.forwardRef(
|
|
80
|
+
var ForwardRef$Q = /*#__PURE__*/React.forwardRef(SvgNavigationChevronDownOutline);
|
|
66
81
|
|
|
67
82
|
var _path$P;
|
|
68
83
|
function _extends$P() { _extends$P = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$P.apply(this, arguments); }
|
|
69
|
-
var
|
|
84
|
+
var SvgNotificationDoneOutline = function SvgNotificationDoneOutline(props, ref) {
|
|
70
85
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$P({
|
|
71
86
|
xmlns: "http://www.w3.org/2000/svg",
|
|
72
87
|
width: 24,
|
|
@@ -74,14 +89,14 @@ var SvgNavigationChevronDownOutline = function SvgNavigationChevronDownOutline(p
|
|
|
74
89
|
viewBox: "0 0 24 24",
|
|
75
90
|
ref: ref
|
|
76
91
|
}, props), _path$P || (_path$P = /*#__PURE__*/React__namespace.createElement("path", {
|
|
77
|
-
d: "
|
|
92
|
+
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"
|
|
78
93
|
})));
|
|
79
94
|
};
|
|
80
|
-
var ForwardRef$P = /*#__PURE__*/React.forwardRef(
|
|
95
|
+
var ForwardRef$P = /*#__PURE__*/React.forwardRef(SvgNotificationDoneOutline);
|
|
81
96
|
|
|
82
97
|
var _path$O;
|
|
83
98
|
function _extends$O() { _extends$O = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$O.apply(this, arguments); }
|
|
84
|
-
var
|
|
99
|
+
var SvgActionSearchOutline = function SvgActionSearchOutline(props, ref) {
|
|
85
100
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$O({
|
|
86
101
|
xmlns: "http://www.w3.org/2000/svg",
|
|
87
102
|
width: 24,
|
|
@@ -89,14 +104,16 @@ var SvgNotificationDoneOutline = function SvgNotificationDoneOutline(props, ref)
|
|
|
89
104
|
viewBox: "0 0 24 24",
|
|
90
105
|
ref: ref
|
|
91
106
|
}, props), _path$O || (_path$O = /*#__PURE__*/React__namespace.createElement("path", {
|
|
92
|
-
|
|
107
|
+
fillRule: "evenodd",
|
|
108
|
+
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",
|
|
109
|
+
clipRule: "evenodd"
|
|
93
110
|
})));
|
|
94
111
|
};
|
|
95
|
-
var ForwardRef$O = /*#__PURE__*/React.forwardRef(
|
|
112
|
+
var ForwardRef$O = /*#__PURE__*/React.forwardRef(SvgActionSearchOutline);
|
|
96
113
|
|
|
97
114
|
var _path$N;
|
|
98
115
|
function _extends$N() { _extends$N = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$N.apply(this, arguments); }
|
|
99
|
-
var
|
|
116
|
+
var SvgActionCalendarFill = function SvgActionCalendarFill(props, ref) {
|
|
100
117
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$N({
|
|
101
118
|
xmlns: "http://www.w3.org/2000/svg",
|
|
102
119
|
width: 24,
|
|
@@ -104,16 +121,14 @@ var SvgActionSearchOutline = function SvgActionSearchOutline(props, ref) {
|
|
|
104
121
|
viewBox: "0 0 24 24",
|
|
105
122
|
ref: ref
|
|
106
123
|
}, props), _path$N || (_path$N = /*#__PURE__*/React__namespace.createElement("path", {
|
|
107
|
-
|
|
108
|
-
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",
|
|
109
|
-
clipRule: "evenodd"
|
|
124
|
+
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"
|
|
110
125
|
})));
|
|
111
126
|
};
|
|
112
|
-
var ForwardRef$N = /*#__PURE__*/React.forwardRef(
|
|
127
|
+
var ForwardRef$N = /*#__PURE__*/React.forwardRef(SvgActionCalendarFill);
|
|
113
128
|
|
|
114
129
|
var _path$M;
|
|
115
130
|
function _extends$M() { _extends$M = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$M.apply(this, arguments); }
|
|
116
|
-
var
|
|
131
|
+
var SvgNotificationInfoOutline = function SvgNotificationInfoOutline(props, ref) {
|
|
117
132
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$M({
|
|
118
133
|
xmlns: "http://www.w3.org/2000/svg",
|
|
119
134
|
width: 24,
|
|
@@ -121,14 +136,14 @@ var SvgActionCalendarFill = function SvgActionCalendarFill(props, ref) {
|
|
|
121
136
|
viewBox: "0 0 24 24",
|
|
122
137
|
ref: ref
|
|
123
138
|
}, props), _path$M || (_path$M = /*#__PURE__*/React__namespace.createElement("path", {
|
|
124
|
-
d: "
|
|
139
|
+
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"
|
|
125
140
|
})));
|
|
126
141
|
};
|
|
127
|
-
var ForwardRef$M = /*#__PURE__*/React.forwardRef(
|
|
142
|
+
var ForwardRef$M = /*#__PURE__*/React.forwardRef(SvgNotificationInfoOutline);
|
|
128
143
|
|
|
129
144
|
var _path$L;
|
|
130
145
|
function _extends$L() { _extends$L = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$L.apply(this, arguments); }
|
|
131
|
-
var
|
|
146
|
+
var SvgFileFileWordFill = function SvgFileFileWordFill(props, ref) {
|
|
132
147
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$L({
|
|
133
148
|
xmlns: "http://www.w3.org/2000/svg",
|
|
134
149
|
width: 24,
|
|
@@ -136,14 +151,16 @@ var SvgNotificationInfoOutline = function SvgNotificationInfoOutline(props, ref)
|
|
|
136
151
|
viewBox: "0 0 24 24",
|
|
137
152
|
ref: ref
|
|
138
153
|
}, props), _path$L || (_path$L = /*#__PURE__*/React__namespace.createElement("path", {
|
|
139
|
-
|
|
154
|
+
fillRule: "evenodd",
|
|
155
|
+
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",
|
|
156
|
+
clipRule: "evenodd"
|
|
140
157
|
})));
|
|
141
158
|
};
|
|
142
|
-
var ForwardRef$L = /*#__PURE__*/React.forwardRef(
|
|
159
|
+
var ForwardRef$L = /*#__PURE__*/React.forwardRef(SvgFileFileWordFill);
|
|
143
160
|
|
|
144
161
|
var _path$K;
|
|
145
162
|
function _extends$K() { _extends$K = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$K.apply(this, arguments); }
|
|
146
|
-
var
|
|
163
|
+
var SvgFileFileExcelFill = function SvgFileFileExcelFill(props, ref) {
|
|
147
164
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$K({
|
|
148
165
|
xmlns: "http://www.w3.org/2000/svg",
|
|
149
166
|
width: 24,
|
|
@@ -152,15 +169,15 @@ var SvgFileFileWordFill = function SvgFileFileWordFill(props, ref) {
|
|
|
152
169
|
ref: ref
|
|
153
170
|
}, props), _path$K || (_path$K = /*#__PURE__*/React__namespace.createElement("path", {
|
|
154
171
|
fillRule: "evenodd",
|
|
155
|
-
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm1.
|
|
172
|
+
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",
|
|
156
173
|
clipRule: "evenodd"
|
|
157
174
|
})));
|
|
158
175
|
};
|
|
159
|
-
var ForwardRef$K = /*#__PURE__*/React.forwardRef(
|
|
176
|
+
var ForwardRef$K = /*#__PURE__*/React.forwardRef(SvgFileFileExcelFill);
|
|
160
177
|
|
|
161
178
|
var _path$J;
|
|
162
179
|
function _extends$J() { _extends$J = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$J.apply(this, arguments); }
|
|
163
|
-
var
|
|
180
|
+
var SvgFileFilePdfFill = function SvgFileFilePdfFill(props, ref) {
|
|
164
181
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$J({
|
|
165
182
|
xmlns: "http://www.w3.org/2000/svg",
|
|
166
183
|
width: 24,
|
|
@@ -169,15 +186,15 @@ var SvgFileFileExcelFill = function SvgFileFileExcelFill(props, ref) {
|
|
|
169
186
|
ref: ref
|
|
170
187
|
}, props), _path$J || (_path$J = /*#__PURE__*/React__namespace.createElement("path", {
|
|
171
188
|
fillRule: "evenodd",
|
|
172
|
-
d: "
|
|
189
|
+
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",
|
|
173
190
|
clipRule: "evenodd"
|
|
174
191
|
})));
|
|
175
192
|
};
|
|
176
|
-
var ForwardRef$J = /*#__PURE__*/React.forwardRef(
|
|
193
|
+
var ForwardRef$J = /*#__PURE__*/React.forwardRef(SvgFileFilePdfFill);
|
|
177
194
|
|
|
178
195
|
var _path$I;
|
|
179
196
|
function _extends$I() { _extends$I = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$I.apply(this, arguments); }
|
|
180
|
-
var
|
|
197
|
+
var SvgFileFileImageFill = function SvgFileFileImageFill(props, ref) {
|
|
181
198
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$I({
|
|
182
199
|
xmlns: "http://www.w3.org/2000/svg",
|
|
183
200
|
width: 24,
|
|
@@ -186,15 +203,15 @@ var SvgFileFilePdfFill = function SvgFileFilePdfFill(props, ref) {
|
|
|
186
203
|
ref: ref
|
|
187
204
|
}, props), _path$I || (_path$I = /*#__PURE__*/React__namespace.createElement("path", {
|
|
188
205
|
fillRule: "evenodd",
|
|
189
|
-
d: "M13 9h5.5L13 3.5V9zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-
|
|
206
|
+
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",
|
|
190
207
|
clipRule: "evenodd"
|
|
191
208
|
})));
|
|
192
209
|
};
|
|
193
|
-
var ForwardRef$I = /*#__PURE__*/React.forwardRef(
|
|
210
|
+
var ForwardRef$I = /*#__PURE__*/React.forwardRef(SvgFileFileImageFill);
|
|
194
211
|
|
|
195
|
-
var _path$H;
|
|
212
|
+
var _path$H, _path2$5;
|
|
196
213
|
function _extends$H() { _extends$H = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$H.apply(this, arguments); }
|
|
197
|
-
var
|
|
214
|
+
var SvgFileFileVideoFill = function SvgFileFileVideoFill(props, ref) {
|
|
198
215
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
|
|
199
216
|
xmlns: "http://www.w3.org/2000/svg",
|
|
200
217
|
width: 24,
|
|
@@ -202,16 +219,18 @@ var SvgFileFileImageFill = function SvgFileFileImageFill(props, ref) {
|
|
|
202
219
|
viewBox: "0 0 24 24",
|
|
203
220
|
ref: ref
|
|
204
221
|
}, props), _path$H || (_path$H = /*#__PURE__*/React__namespace.createElement("path", {
|
|
222
|
+
d: "M14.992 14 9.5 17.138v-6.276L14.992 14z"
|
|
223
|
+
})), _path2$5 || (_path2$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
205
224
|
fillRule: "evenodd",
|
|
206
|
-
d: "
|
|
225
|
+
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.5zM8.5 9.138v9.724L17.008 14 8.5 9.138z",
|
|
207
226
|
clipRule: "evenodd"
|
|
208
227
|
})));
|
|
209
228
|
};
|
|
210
|
-
var ForwardRef$H = /*#__PURE__*/React.forwardRef(
|
|
229
|
+
var ForwardRef$H = /*#__PURE__*/React.forwardRef(SvgFileFileVideoFill);
|
|
211
230
|
|
|
212
|
-
var _path$G
|
|
231
|
+
var _path$G;
|
|
213
232
|
function _extends$G() { _extends$G = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$G.apply(this, arguments); }
|
|
214
|
-
var
|
|
233
|
+
var SvgFileFileTableFill = function SvgFileFileTableFill(props, ref) {
|
|
215
234
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
|
|
216
235
|
xmlns: "http://www.w3.org/2000/svg",
|
|
217
236
|
width: 24,
|
|
@@ -219,18 +238,16 @@ var SvgFileFileVideoFill = function SvgFileFileVideoFill(props, ref) {
|
|
|
219
238
|
viewBox: "0 0 24 24",
|
|
220
239
|
ref: ref
|
|
221
240
|
}, props), _path$G || (_path$G = /*#__PURE__*/React__namespace.createElement("path", {
|
|
222
|
-
d: "M14.992 14 9.5 17.138v-6.276L14.992 14z"
|
|
223
|
-
})), _path2$5 || (_path2$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
224
241
|
fillRule: "evenodd",
|
|
225
|
-
d: "
|
|
242
|
+
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",
|
|
226
243
|
clipRule: "evenodd"
|
|
227
244
|
})));
|
|
228
245
|
};
|
|
229
|
-
var ForwardRef$G = /*#__PURE__*/React.forwardRef(
|
|
246
|
+
var ForwardRef$G = /*#__PURE__*/React.forwardRef(SvgFileFileTableFill);
|
|
230
247
|
|
|
231
248
|
var _path$F;
|
|
232
249
|
function _extends$F() { _extends$F = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$F.apply(this, arguments); }
|
|
233
|
-
var
|
|
250
|
+
var SvgFileFileTextFill = function SvgFileFileTextFill(props, ref) {
|
|
234
251
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
|
|
235
252
|
xmlns: "http://www.w3.org/2000/svg",
|
|
236
253
|
width: 24,
|
|
@@ -239,15 +256,15 @@ var SvgFileFileTableFill = function SvgFileFileTableFill(props, ref) {
|
|
|
239
256
|
ref: ref
|
|
240
257
|
}, props), _path$F || (_path$F = /*#__PURE__*/React__namespace.createElement("path", {
|
|
241
258
|
fillRule: "evenodd",
|
|
242
|
-
d: "
|
|
259
|
+
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",
|
|
243
260
|
clipRule: "evenodd"
|
|
244
261
|
})));
|
|
245
262
|
};
|
|
246
|
-
var ForwardRef$F = /*#__PURE__*/React.forwardRef(
|
|
263
|
+
var ForwardRef$F = /*#__PURE__*/React.forwardRef(SvgFileFileTextFill);
|
|
247
264
|
|
|
248
265
|
var _path$E;
|
|
249
266
|
function _extends$E() { _extends$E = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$E.apply(this, arguments); }
|
|
250
|
-
var
|
|
267
|
+
var SvgFileFileEmlFill = function SvgFileFileEmlFill(props, ref) {
|
|
251
268
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
|
|
252
269
|
xmlns: "http://www.w3.org/2000/svg",
|
|
253
270
|
width: 24,
|
|
@@ -256,15 +273,15 @@ var SvgFileFileTextFill = function SvgFileFileTextFill(props, ref) {
|
|
|
256
273
|
ref: ref
|
|
257
274
|
}, props), _path$E || (_path$E = /*#__PURE__*/React__namespace.createElement("path", {
|
|
258
275
|
fillRule: "evenodd",
|
|
259
|
-
d: "
|
|
276
|
+
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",
|
|
260
277
|
clipRule: "evenodd"
|
|
261
278
|
})));
|
|
262
279
|
};
|
|
263
|
-
var ForwardRef$E = /*#__PURE__*/React.forwardRef(
|
|
280
|
+
var ForwardRef$E = /*#__PURE__*/React.forwardRef(SvgFileFileEmlFill);
|
|
264
281
|
|
|
265
282
|
var _path$D;
|
|
266
283
|
function _extends$D() { _extends$D = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$D.apply(this, arguments); }
|
|
267
|
-
var
|
|
284
|
+
var SvgFileFileFill = function SvgFileFileFill(props, ref) {
|
|
268
285
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
|
|
269
286
|
xmlns: "http://www.w3.org/2000/svg",
|
|
270
287
|
width: 24,
|
|
@@ -272,46 +289,29 @@ var SvgFileFileEmlFill = function SvgFileFileEmlFill(props, ref) {
|
|
|
272
289
|
viewBox: "0 0 24 24",
|
|
273
290
|
ref: ref
|
|
274
291
|
}, props), _path$D || (_path$D = /*#__PURE__*/React__namespace.createElement("path", {
|
|
275
|
-
fillRule: "evenodd",
|
|
276
|
-
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",
|
|
277
|
-
clipRule: "evenodd"
|
|
278
|
-
})));
|
|
279
|
-
};
|
|
280
|
-
var ForwardRef$D = /*#__PURE__*/React.forwardRef(SvgFileFileEmlFill);
|
|
281
|
-
|
|
282
|
-
var _path$C;
|
|
283
|
-
function _extends$C() { _extends$C = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$C.apply(this, arguments); }
|
|
284
|
-
var SvgFileFileFill = function SvgFileFileFill(props, ref) {
|
|
285
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
|
|
286
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
287
|
-
width: 24,
|
|
288
|
-
height: 24,
|
|
289
|
-
viewBox: "0 0 24 24",
|
|
290
|
-
ref: ref
|
|
291
|
-
}, props), _path$C || (_path$C = /*#__PURE__*/React__namespace.createElement("path", {
|
|
292
292
|
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"
|
|
293
293
|
})));
|
|
294
294
|
};
|
|
295
|
-
var ForwardRef$
|
|
295
|
+
var ForwardRef$D = /*#__PURE__*/React.forwardRef(SvgFileFileFill);
|
|
296
296
|
|
|
297
297
|
const fileIcons = {
|
|
298
|
-
docIcon: ForwardRef$
|
|
299
|
-
exelIcon: ForwardRef$
|
|
300
|
-
pdfIcon: ForwardRef$
|
|
301
|
-
imgIcon: ForwardRef$
|
|
302
|
-
videoIcon: ForwardRef$
|
|
303
|
-
tableIcon: ForwardRef$
|
|
304
|
-
textIcon: ForwardRef$
|
|
305
|
-
mailIcon: ForwardRef$
|
|
306
|
-
fileIcon: ForwardRef$
|
|
298
|
+
docIcon: ForwardRef$L,
|
|
299
|
+
exelIcon: ForwardRef$K,
|
|
300
|
+
pdfIcon: ForwardRef$J,
|
|
301
|
+
imgIcon: ForwardRef$I,
|
|
302
|
+
videoIcon: ForwardRef$H,
|
|
303
|
+
tableIcon: ForwardRef$G,
|
|
304
|
+
textIcon: ForwardRef$F,
|
|
305
|
+
mailIcon: ForwardRef$E,
|
|
306
|
+
fileIcon: ForwardRef$D,
|
|
307
307
|
};
|
|
308
308
|
const systemIcons = {
|
|
309
|
-
clear: ForwardRef$
|
|
310
|
-
foldingArrow: ForwardRef$
|
|
311
|
-
accept: ForwardRef$
|
|
312
|
-
search: ForwardRef$
|
|
313
|
-
calendar: ForwardRef$
|
|
314
|
-
info: ForwardRef$
|
|
309
|
+
clear: ForwardRef$R,
|
|
310
|
+
foldingArrow: ForwardRef$Q,
|
|
311
|
+
accept: ForwardRef$P,
|
|
312
|
+
search: ForwardRef$O,
|
|
313
|
+
calendar: ForwardRef$N,
|
|
314
|
+
info: ForwardRef$M,
|
|
315
315
|
};
|
|
316
316
|
|
|
317
317
|
const settings = {
|
|
@@ -335,6 +335,7 @@ const settings = {
|
|
|
335
335
|
labeledInput: '36',
|
|
336
336
|
statusIndicator: '24',
|
|
337
337
|
paginator: '30',
|
|
338
|
+
rating: '18',
|
|
338
339
|
},
|
|
339
340
|
tag: {
|
|
340
341
|
countIndicator: {
|
|
@@ -595,11 +596,11 @@ const settings = {
|
|
|
595
596
|
},
|
|
596
597
|
};
|
|
597
598
|
|
|
598
|
-
var css$
|
|
599
|
+
var css$1x = {"uui-typography":"a9wva6","uuiTypography":"a9wva6","hero-header":"X46M0q","heroHeader":"X46M0q","promo-header":"NUIsoK","promoHeader":"NUIsoK","uui-critical":"AQwg9j","uuiCritical":"AQwg9j","uui-info":"HzZTlP","uuiInfo":"HzZTlP","uui-success":"pRmDn-","uuiSuccess":"pRmDn-","uui-warning":"JH4oZ-","uuiWarning":"JH4oZ-","uui-highlight":"ZhMviw","uuiHighlight":"ZhMviw","uui-typography-size-12":"IfHll8","uuiTypographySize12":"IfHll8","uui-typography-size-14":"uw16o-","uuiTypographySize14":"uw16o-","uui-typography-size-16":"h2NZLY","uuiTypographySize16":"h2NZLY","root":"Dm8T20"};
|
|
599
600
|
|
|
600
601
|
function applyButtonMods(mods) {
|
|
601
602
|
return [
|
|
602
|
-
css$
|
|
603
|
+
css$1x.root,
|
|
603
604
|
'uui-button',
|
|
604
605
|
`uui-fill-${mods.fill || 'solid'}`,
|
|
605
606
|
`uui-color-${mods.color || 'primary'}`,
|
|
@@ -613,10 +614,10 @@ const Button = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Button,
|
|
|
613
614
|
};
|
|
614
615
|
});
|
|
615
616
|
|
|
616
|
-
var css$
|
|
617
|
+
var css$1w = {"root":"_6qKT9r"};
|
|
617
618
|
|
|
618
619
|
function applyIconButtonMods(props) {
|
|
619
|
-
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$
|
|
620
|
+
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1w.root];
|
|
620
621
|
}
|
|
621
622
|
const IconButton = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.IconButton, applyIconButtonMods, (props) => {
|
|
622
623
|
const isDeprecated = ['info', 'success', 'error', 'warning'].includes(props.color);
|
|
@@ -650,7 +651,7 @@ function getIconClass(props) {
|
|
|
650
651
|
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'];
|
|
651
652
|
}
|
|
652
653
|
|
|
653
|
-
var css$
|
|
654
|
+
var css$1v = {"uui-typography":"fwvPe6","uuiTypography":"fwvPe6","hero-header":"_7iTb-4","heroHeader":"_7iTb-4","promo-header":"HuIpM6","promoHeader":"HuIpM6","uui-critical":"_9w2dx7","uuiCritical":"_9w2dx7","uui-info":"r61F36","uuiInfo":"r61F36","uui-success":"kamLnq","uuiSuccess":"kamLnq","uui-warning":"C4bVzT","uuiWarning":"C4bVzT","uui-highlight":"k9yHem","uuiHighlight":"k9yHem","uui-typography-size-12":"y8zKpO","uuiTypographySize12":"y8zKpO","uui-typography-size-14":"b24yFN","uuiTypographySize14":"b24yFN","uui-typography-size-16":"V1lhsy","uuiTypographySize16":"V1lhsy","root":"OiOfQB"};
|
|
654
655
|
|
|
655
656
|
const DEFAULT_COLOR = 'primary';
|
|
656
657
|
const DEFAULT_WEIGHT = 'semibold';
|
|
@@ -666,7 +667,7 @@ const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
666
667
|
}
|
|
667
668
|
const rootStyles = [
|
|
668
669
|
'uui-link_button',
|
|
669
|
-
css$
|
|
670
|
+
css$1v.root,
|
|
670
671
|
`uui-size-${props.size || settings.sizes.defaults.linkButton}`,
|
|
671
672
|
...getIconClass(props),
|
|
672
673
|
`uui-color-${props.color || DEFAULT_COLOR}`,
|
|
@@ -681,11 +682,11 @@ const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
681
682
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
682
683
|
});
|
|
683
684
|
|
|
684
|
-
var css$
|
|
685
|
+
var css$1u = {"root":"bTawbL"};
|
|
685
686
|
|
|
686
687
|
const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
687
688
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
688
|
-
css$
|
|
689
|
+
css$1u.root,
|
|
689
690
|
'uui-count_indicator',
|
|
690
691
|
`uui-size-${props.size || settings.sizes.defaults.countIndicator}`,
|
|
691
692
|
props.color && `uui-color-${props.color}`,
|
|
@@ -693,11 +694,11 @@ const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
693
694
|
]) }, props.caption));
|
|
694
695
|
});
|
|
695
696
|
|
|
696
|
-
var css$
|
|
697
|
+
var css$1t = {"uui-typography":"mldBhE","uuiTypography":"mldBhE","hero-header":"kbhjMN","heroHeader":"kbhjMN","promo-header":"rXUjVj","promoHeader":"rXUjVj","uui-critical":"_0BSgMS","uuiCritical":"_0BSgMS","uui-info":"tbKHpF","uuiInfo":"tbKHpF","uui-success":"_9tXgAo","uuiSuccess":"_9tXgAo","uui-warning":"x3JxPY","uuiWarning":"x3JxPY","uui-highlight":"DcBG7n","uuiHighlight":"DcBG7n","uui-typography-size-12":"BRC8Rt","uuiTypographySize12":"BRC8Rt","uui-typography-size-14":"Gj6MQO","uuiTypographySize14":"Gj6MQO","uui-typography-size-16":"GzkPdu","uuiTypographySize16":"GzkPdu","root":"gBDtPi","withNotify":"ynnjAp"};
|
|
697
698
|
|
|
698
699
|
const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
699
700
|
const styles = [
|
|
700
|
-
css$
|
|
701
|
+
css$1t.root,
|
|
701
702
|
'uui-tab-button',
|
|
702
703
|
`uui-size-${props.size || settings.sizes.defaults.tabButton}`,
|
|
703
704
|
...getIconClass(props),
|
|
@@ -709,48 +710,48 @@ const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref
|
|
|
709
710
|
props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
710
711
|
(props.caption || props.withNotify) && (React__namespace.default.createElement("div", { className: uuiCore.cx(uuiCore.uuiElement.caption) },
|
|
711
712
|
props.caption,
|
|
712
|
-
props.withNotify && React__namespace.default.createElement("div", { className: css$
|
|
713
|
+
props.withNotify && React__namespace.default.createElement("div", { className: css$1t.withNotify }))),
|
|
713
714
|
props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
714
715
|
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { color: "neutral", size: settings.sizes.tabButton.countIndicator[props.size || settings.sizes.defaults.tabButton], caption: props.count })),
|
|
715
716
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
716
717
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
717
718
|
});
|
|
718
719
|
|
|
719
|
-
var css$
|
|
720
|
+
var css$1s = {"uui-typography":"EBYp5w","uuiTypography":"EBYp5w","hero-header":"z6pug3","heroHeader":"z6pug3","promo-header":"D28h84","promoHeader":"D28h84","uui-critical":"xLKd-N","uuiCritical":"xLKd-N","uui-info":"n8qxRt","uuiInfo":"n8qxRt","uui-success":"ogcEe9","uuiSuccess":"ogcEe9","uui-warning":"hCWidl","uuiWarning":"hCWidl","uui-highlight":"kUWwyd","uuiHighlight":"kUWwyd","uui-typography-size-12":"hXqrBs","uuiTypographySize12":"hXqrBs","uui-typography-size-14":"NgXYwQ","uuiTypographySize14":"NgXYwQ","uui-typography-size-16":"gM89kW","uuiTypographySize16":"gM89kW","root":"DLwggy"};
|
|
720
721
|
|
|
721
722
|
function applyVerticalTabButtonMods() {
|
|
722
|
-
return [css$
|
|
723
|
+
return [css$1s.root, 'uui-vertical-tab-button'];
|
|
723
724
|
}
|
|
724
725
|
const VerticalTabButton = /* @__PURE__ */uuiCore.withMods(TabButton, applyVerticalTabButtonMods);
|
|
725
726
|
|
|
726
|
-
var _path$
|
|
727
|
-
function _extends$
|
|
727
|
+
var _path$C;
|
|
728
|
+
function _extends$C() { _extends$C = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$C.apply(this, arguments); }
|
|
728
729
|
var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
729
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
730
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
|
|
730
731
|
xmlns: "http://www.w3.org/2000/svg",
|
|
731
732
|
width: 24,
|
|
732
733
|
height: 24,
|
|
733
734
|
viewBox: "0 0 24 24",
|
|
734
735
|
ref: ref
|
|
735
|
-
}, props), _path$
|
|
736
|
+
}, props), _path$C || (_path$C = /*#__PURE__*/React__namespace.createElement("path", {
|
|
736
737
|
d: "M19 10.5H5v3h14v-3z"
|
|
737
738
|
})));
|
|
738
739
|
};
|
|
739
|
-
var ForwardRef$
|
|
740
|
+
var ForwardRef$C = /*#__PURE__*/React.forwardRef(SvgContentMinusOutline);
|
|
740
741
|
|
|
741
|
-
var css$
|
|
742
|
+
var css$1r = {"uui-typography":"CFiruR","uuiTypography":"CFiruR","hero-header":"Oeg92u","heroHeader":"Oeg92u","promo-header":"Aes-oj","promoHeader":"Aes-oj","uui-critical":"d6z7aT","uuiCritical":"d6z7aT","uui-info":"L6BN4Y","uuiInfo":"L6BN4Y","uui-success":"FHGHjv","uuiSuccess":"FHGHjv","uui-warning":"_27EX4t","uuiWarning":"_27EX4t","uui-highlight":"iFimV9","uuiHighlight":"iFimV9","uui-typography-size-12":"u83Y0o","uuiTypographySize12":"u83Y0o","uui-typography-size-14":"QtpgQO","uuiTypographySize14":"QtpgQO","uui-typography-size-16":"_5b1D25","uuiTypographySize16":"_5b1D25","root":"U-1YV9","mode-cell":"_3QC-iZ","modeCell":"_3QC-iZ"};
|
|
742
743
|
|
|
743
744
|
function applyCheckboxMods(mods) {
|
|
744
745
|
return [
|
|
745
|
-
css$
|
|
746
|
+
css$1r.root,
|
|
746
747
|
`uui-size-${mods.size || settings.sizes.defaults.checkbox}`,
|
|
747
|
-
css$
|
|
748
|
+
css$1r['mode-' + (mods.mode || 'form')],
|
|
748
749
|
'uui-color-primary',
|
|
749
750
|
];
|
|
750
751
|
}
|
|
751
752
|
const applyUUICheckboxProps = (props) => {
|
|
752
|
-
const defaultIcon = ForwardRef$
|
|
753
|
-
const defaultIndeterminateIcon = ForwardRef$
|
|
753
|
+
const defaultIcon = ForwardRef$P;
|
|
754
|
+
const defaultIndeterminateIcon = ForwardRef$C;
|
|
754
755
|
return {
|
|
755
756
|
icon: props.icon ? props.icon : defaultIcon,
|
|
756
757
|
indeterminateIcon: props.indeterminateIcon ? props.indeterminateIcon : defaultIndeterminateIcon,
|
|
@@ -758,38 +759,38 @@ const applyUUICheckboxProps = (props) => {
|
|
|
758
759
|
};
|
|
759
760
|
const Checkbox = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
760
761
|
|
|
761
|
-
var _path$
|
|
762
|
-
function _extends$
|
|
762
|
+
var _path$B;
|
|
763
|
+
function _extends$B() { _extends$B = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$B.apply(this, arguments); }
|
|
763
764
|
var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
764
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
765
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
|
|
765
766
|
xmlns: "http://www.w3.org/2000/svg",
|
|
766
767
|
width: 24,
|
|
767
768
|
height: 24,
|
|
768
769
|
viewBox: "0 0 24 24",
|
|
769
770
|
ref: ref
|
|
770
|
-
}, props), _path$
|
|
771
|
+
}, props), _path$B || (_path$B = /*#__PURE__*/React__namespace.createElement("path", {
|
|
771
772
|
d: "M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14z"
|
|
772
773
|
})));
|
|
773
774
|
};
|
|
774
|
-
var ForwardRef$
|
|
775
|
+
var ForwardRef$B = /*#__PURE__*/React.forwardRef(SvgRadioDotFill);
|
|
775
776
|
|
|
776
|
-
var css$
|
|
777
|
+
var css$1q = {"uui-typography":"vmcn1G","uuiTypography":"vmcn1G","hero-header":"avzDTp","heroHeader":"avzDTp","promo-header":"vVPV1L","promoHeader":"vVPV1L","uui-critical":"oFTvwp","uuiCritical":"oFTvwp","uui-info":"_79xamv","uuiInfo":"_79xamv","uui-success":"PTKTDQ","uuiSuccess":"PTKTDQ","uui-warning":"aa9RsC","uuiWarning":"aa9RsC","uui-highlight":"cfCFqS","uuiHighlight":"cfCFqS","uui-typography-size-12":"FeP-yo","uuiTypographySize12":"FeP-yo","uui-typography-size-14":"OOskJF","uuiTypographySize14":"OOskJF","uui-typography-size-16":"Hz9BNR","uuiTypographySize16":"Hz9BNR","root":"XSzyGV"};
|
|
777
778
|
|
|
778
779
|
function applyRadioInputMods(mods) {
|
|
779
780
|
return [
|
|
780
|
-
css$
|
|
781
|
+
css$1q.root,
|
|
781
782
|
`uui-size-${mods.size || settings.sizes.defaults.radioInput}`,
|
|
782
783
|
'uui-radio-input-container',
|
|
783
784
|
'uui-color-primary',
|
|
784
785
|
];
|
|
785
786
|
}
|
|
786
|
-
const RadioInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : ForwardRef$
|
|
787
|
+
const RadioInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : ForwardRef$B }));
|
|
787
788
|
|
|
788
|
-
var css$
|
|
789
|
+
var css$1p = {"root":"_7VxhFL"};
|
|
789
790
|
|
|
790
791
|
function applySwitchMods(mods) {
|
|
791
792
|
return [
|
|
792
|
-
css$
|
|
793
|
+
css$1p.root,
|
|
793
794
|
`uui-size-${mods.size || settings.sizes.defaults.switch}`,
|
|
794
795
|
'uui-color-primary',
|
|
795
796
|
];
|
|
@@ -853,7 +854,7 @@ var EditMode;
|
|
|
853
854
|
EditMode["INLINE"] = "inline";
|
|
854
855
|
})(EditMode || (EditMode = {}));
|
|
855
856
|
|
|
856
|
-
var textInputCss = {"uui-typography":"
|
|
857
|
+
var textInputCss = {"uui-typography":"zDnnZf","uuiTypography":"zDnnZf","hero-header":"_1cIJNw","heroHeader":"_1cIJNw","promo-header":"LKvEuX","promoHeader":"LKvEuX","uui-critical":"CBjUnZ","uuiCritical":"CBjUnZ","uui-info":"HQGUZv","uuiInfo":"HQGUZv","uui-success":"bJ-dEU","uuiSuccess":"bJ-dEU","uui-warning":"tJKLiL","uuiWarning":"tJKLiL","uui-highlight":"_77Ac0n","uuiHighlight":"_77Ac0n","uui-typography-size-12":"FaUZLX","uuiTypographySize12":"FaUZLX","uui-typography-size-14":"B5FC4G","uuiTypographySize14":"B5FC4G","uui-typography-size-16":"kh1bII","uuiTypographySize16":"kh1bII","root":"I5Ynue","mode-form":"imDvWc","modeForm":"imDvWc","mode-inline":"Yb7xb8","modeInline":"Yb7xb8","mode-cell":"_-3t6Uw","modeCell":"_-3t6Uw"};
|
|
857
858
|
|
|
858
859
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
859
860
|
function applyTextInputMods(mods) {
|
|
@@ -879,22 +880,22 @@ const SearchInput = /* @__PURE__ */React__namespace.default.forwardRef((props, r
|
|
|
879
880
|
} })));
|
|
880
881
|
});
|
|
881
882
|
|
|
882
|
-
var css$
|
|
883
|
+
var css$1o = {"root":"BjIkf6"};
|
|
883
884
|
|
|
884
|
-
const ControlGroup = /* @__PURE__ */uuiCore.withMods(uuiComponents.ControlGroup, () => [css$
|
|
885
|
+
const ControlGroup = /* @__PURE__ */uuiCore.withMods(uuiComponents.ControlGroup, () => [css$1o.root, 'uui-control-group']);
|
|
885
886
|
|
|
886
887
|
function MultiSwitchComponent(props, ref) {
|
|
887
888
|
return (React__namespace.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__namespace.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' } }))))));
|
|
888
889
|
}
|
|
889
890
|
const MultiSwitch = /* @__PURE__ */React__namespace.forwardRef(MultiSwitchComponent);
|
|
890
891
|
|
|
891
|
-
var css$
|
|
892
|
+
var css$1n = {"uui-typography":"_07QUA-","uuiTypography":"_07QUA-","hero-header":"_4nCj2x","heroHeader":"_4nCj2x","promo-header":"eIwlmQ","promoHeader":"eIwlmQ","uui-critical":"rC7DcV","uuiCritical":"rC7DcV","uui-info":"zYZCcQ","uuiInfo":"zYZCcQ","uui-success":"_6Qvtgo","uuiSuccess":"_6Qvtgo","uui-warning":"g9OlnU","uuiWarning":"g9OlnU","uui-highlight":"WXXFsD","uuiHighlight":"WXXFsD","uui-typography-size-12":"B4aknu","uuiTypographySize12":"B4aknu","uui-typography-size-14":"f15cx-","uuiTypographySize14":"f15cx-","uui-typography-size-16":"m15NFk","uuiTypographySize16":"m15NFk","root":"Wx5Bqs","mode-form":"D6dno8","modeForm":"D6dno8","mode-cell":"YgAODU","modeCell":"YgAODU"};
|
|
892
893
|
|
|
893
894
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
894
895
|
function applyNumericInputMods(mods) {
|
|
895
896
|
return [
|
|
896
897
|
textInputCss.root,
|
|
897
|
-
css$
|
|
898
|
+
css$1n.root,
|
|
898
899
|
`uui-size-${mods.size || settings.sizes.defaults.numericInput}`,
|
|
899
900
|
textInputCss['mode-' + (mods.mode || DEFAULT_MODE$2)],
|
|
900
901
|
];
|
|
@@ -909,15 +910,15 @@ const NumericInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.NumericInput,
|
|
|
909
910
|
};
|
|
910
911
|
});
|
|
911
912
|
|
|
912
|
-
var css$
|
|
913
|
+
var css$1m = {"uui-typography":"Vd69Cv","uuiTypography":"Vd69Cv","hero-header":"Eonr3J","heroHeader":"Eonr3J","promo-header":"uiJDJN","promoHeader":"uiJDJN","uui-critical":"H8C7Vn","uuiCritical":"H8C7Vn","uui-info":"NFgVzG","uuiInfo":"NFgVzG","uui-success":"E7tiPT","uuiSuccess":"E7tiPT","uui-warning":"qZLwLB","uuiWarning":"qZLwLB","uui-highlight":"_7gcHhs","uuiHighlight":"_7gcHhs","uui-typography-size-12":"-AnmE-","uuiTypographySize12":"-AnmE-","uui-typography-size-14":"yat1zH","uuiTypographySize14":"yat1zH","uui-typography-size-16":"tyJdsC","uuiTypographySize16":"tyJdsC","root":"OfpLWo","mode-form":"_8YiUGA","modeForm":"_8YiUGA","mode-cell":"VT1TO-","modeCell":"VT1TO-","mode-inline":"q6yMr3","modeInline":"q6yMr3"};
|
|
913
914
|
|
|
914
915
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
915
916
|
function applyTextAreaMods(mods) {
|
|
916
917
|
return [
|
|
917
|
-
css$
|
|
918
|
+
css$1m.root,
|
|
918
919
|
'uui-textarea',
|
|
919
920
|
'uui-size-' + (mods.size || settings.sizes.defaults.textArea),
|
|
920
|
-
css$
|
|
921
|
+
css$1m['mode-' + (mods.mode || DEFAULT_MODE$1)],
|
|
921
922
|
];
|
|
922
923
|
}
|
|
923
924
|
const TextArea = /* @__PURE__ */uuiCore.withMods(uuiComponents.TextArea, applyTextAreaMods, (props) => {
|
|
@@ -950,95 +951,95 @@ function TREE_SHAKEABLE_INIT$1() {
|
|
|
950
951
|
};
|
|
951
952
|
}
|
|
952
953
|
|
|
953
|
-
var _path$
|
|
954
|
-
function _extends$
|
|
954
|
+
var _path$A;
|
|
955
|
+
function _extends$A() { _extends$A = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$A.apply(this, arguments); }
|
|
955
956
|
var SvgNotificationCheckFill = function SvgNotificationCheckFill(props, ref) {
|
|
956
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
957
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
|
|
957
958
|
xmlns: "http://www.w3.org/2000/svg",
|
|
958
959
|
width: 24,
|
|
959
960
|
height: 24,
|
|
960
961
|
viewBox: "0 0 24 24",
|
|
961
962
|
ref: ref
|
|
962
|
-
}, props), _path$
|
|
963
|
+
}, props), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
|
|
963
964
|
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"
|
|
964
965
|
})));
|
|
965
966
|
};
|
|
966
|
-
var ForwardRef$
|
|
967
|
+
var ForwardRef$A = /*#__PURE__*/React.forwardRef(SvgNotificationCheckFill);
|
|
967
968
|
|
|
968
|
-
var _path$
|
|
969
|
-
function _extends$
|
|
969
|
+
var _path$z;
|
|
970
|
+
function _extends$z() { _extends$z = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$z.apply(this, arguments); }
|
|
970
971
|
var SvgNotificationWarningFill = function SvgNotificationWarningFill(props, ref) {
|
|
971
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
972
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
|
|
972
973
|
xmlns: "http://www.w3.org/2000/svg",
|
|
973
974
|
width: 24,
|
|
974
975
|
height: 24,
|
|
975
976
|
viewBox: "0 0 24 24",
|
|
976
977
|
ref: ref
|
|
977
|
-
}, props), _path$
|
|
978
|
+
}, props), _path$z || (_path$z = /*#__PURE__*/React__namespace.createElement("path", {
|
|
978
979
|
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"
|
|
979
980
|
})));
|
|
980
981
|
};
|
|
981
|
-
var ForwardRef$
|
|
982
|
+
var ForwardRef$z = /*#__PURE__*/React.forwardRef(SvgNotificationWarningFill);
|
|
982
983
|
|
|
983
|
-
var _path$
|
|
984
|
-
function _extends$
|
|
984
|
+
var _path$y;
|
|
985
|
+
function _extends$y() { _extends$y = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$y.apply(this, arguments); }
|
|
985
986
|
var SvgNotificationErrorFill = function SvgNotificationErrorFill(props, ref) {
|
|
986
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
987
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
|
|
987
988
|
xmlns: "http://www.w3.org/2000/svg",
|
|
988
989
|
width: 24,
|
|
989
990
|
height: 24,
|
|
990
991
|
viewBox: "0 0 24 24",
|
|
991
992
|
ref: ref
|
|
992
|
-
}, props), _path$
|
|
993
|
+
}, props), _path$y || (_path$y = /*#__PURE__*/React__namespace.createElement("path", {
|
|
993
994
|
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"
|
|
994
995
|
})));
|
|
995
996
|
};
|
|
996
|
-
var ForwardRef$
|
|
997
|
+
var ForwardRef$y = /*#__PURE__*/React.forwardRef(SvgNotificationErrorFill);
|
|
997
998
|
|
|
998
|
-
var _path$
|
|
999
|
-
function _extends$
|
|
999
|
+
var _path$x;
|
|
1000
|
+
function _extends$x() { _extends$x = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$x.apply(this, arguments); }
|
|
1000
1001
|
var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
1001
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1002
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
|
|
1002
1003
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1003
1004
|
width: 24,
|
|
1004
1005
|
height: 24,
|
|
1005
1006
|
viewBox: "0 0 24 24",
|
|
1006
1007
|
ref: ref
|
|
1007
|
-
}, props), _path$
|
|
1008
|
+
}, props), _path$x || (_path$x = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1008
1009
|
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"
|
|
1009
1010
|
})));
|
|
1010
1011
|
};
|
|
1011
|
-
var ForwardRef$
|
|
1012
|
+
var ForwardRef$x = /*#__PURE__*/React.forwardRef(SvgNotificationInfoFill);
|
|
1012
1013
|
|
|
1013
|
-
var css$
|
|
1014
|
+
var css$1l = {"uui-typography":"jpIPF-","uuiTypography":"jpIPF-","hero-header":"FmaBgn","heroHeader":"FmaBgn","promo-header":"MG2hmQ","promoHeader":"MG2hmQ","uui-critical":"l4B2tG","uuiCritical":"l4B2tG","uui-info":"_1pTkjs","uuiInfo":"_1pTkjs","uui-success":"yDEZEB","uuiSuccess":"yDEZEB","uui-warning":"_8yZqWS","uuiWarning":"_8yZqWS","uui-highlight":"_5bju26","uuiHighlight":"_5bju26","uui-typography-size-12":"eRkyG1","uuiTypographySize12":"eRkyG1","uui-typography-size-14":"NmFQzV","uuiTypographySize14":"NmFQzV","uui-typography-size-16":"PBe6G-","uuiTypographySize16":"PBe6G-","root":"YB-b4Q","icon-wrapper":"Gxttm-","iconWrapper":"Gxttm-","alert-wrapper":"_8I4FeV","alertWrapper":"_8I4FeV","size-48":"_0jdVu1","size48":"_0jdVu1","size-36":"HLpITV","size36":"HLpITV","action-wrapper":"_3lp57F","actionWrapper":"_3lp57F","action-icon":"ZPPCm-","actionIcon":"ZPPCm-","action-link":"nx8V27","actionLink":"nx8V27","close-icon":"FI9g85","closeIcon":"FI9g85","main-path":"_8pPcfU","mainPath":"_8pPcfU","content":"K7QjdV"};
|
|
1014
1015
|
|
|
1015
|
-
const Alert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("div", Object.assign({ role: "alert", ref: ref, className: cx__default.default('uui-alert', css$
|
|
1016
|
-
React__namespace.createElement("div", { className: css$
|
|
1017
|
-
props.icon && (React__namespace.createElement("div", { className: css$
|
|
1018
|
-
React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, cx: css$
|
|
1019
|
-
React__namespace.createElement("div", { className: css$
|
|
1016
|
+
const Alert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("div", Object.assign({ role: "alert", ref: ref, className: cx__default.default('uui-alert', css$1l.root, css$1l.alertWrapper, props.color && `uui-color-${props.color}`, props.cx, (props.size === '36' ? css$1l.size36 : css$1l.size48)) }, props.rawProps),
|
|
1017
|
+
React__namespace.createElement("div", { className: css$1l.mainPath },
|
|
1018
|
+
props.icon && (React__namespace.createElement("div", { className: css$1l.iconWrapper },
|
|
1019
|
+
React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, cx: css$1l.actionIcon }))),
|
|
1020
|
+
React__namespace.createElement("div", { className: css$1l.content },
|
|
1020
1021
|
props.children,
|
|
1021
|
-
props.actions && (React__namespace.createElement("div", { className: css$
|
|
1022
|
-
props.onClose && React__namespace.createElement(IconButton, { icon: ForwardRef$
|
|
1023
|
-
const WarningAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
1024
|
-
const SuccessAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
1025
|
-
const HintAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
1026
|
-
const ErrorAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
1022
|
+
props.actions && (React__namespace.createElement("div", { className: css$1l.actionWrapper }, props.actions.map((action) => (React__namespace.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$1l.actionLink, size: (props === null || props === void 0 ? void 0 : props.size) === '36' ? '24' : '30' })))))),
|
|
1023
|
+
props.onClose && React__namespace.createElement(IconButton, { icon: ForwardRef$R, color: "neutral", onClick: props.onClose, cx: css$1l.closeIcon })))));
|
|
1024
|
+
const WarningAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$z, color: "warning", ref: ref }, props)));
|
|
1025
|
+
const SuccessAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$A, color: "success", ref: ref }, props)));
|
|
1026
|
+
const HintAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$x, color: "info", ref: ref }, props)));
|
|
1027
|
+
const ErrorAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$y, color: "error", ref: ref }, props)));
|
|
1027
1028
|
|
|
1028
1029
|
const Dropdown = /* @__PURE__ */uuiCore.withMods(uuiComponents.Dropdown);
|
|
1029
1030
|
|
|
1030
|
-
var css$
|
|
1031
|
+
var css$1k = {"root":"_6D2bo6"};
|
|
1031
1032
|
|
|
1032
1033
|
function applyDropdownContainerMods(mods) {
|
|
1033
1034
|
return [
|
|
1034
|
-
css$
|
|
1035
|
+
css$1k.root,
|
|
1035
1036
|
mods.vPadding && `vPadding-${mods.vPadding}`,
|
|
1036
1037
|
mods.padding && `padding-${mods.padding}`,
|
|
1037
1038
|
];
|
|
1038
1039
|
}
|
|
1039
1040
|
const DropdownContainer = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.DropdownContainer, applyDropdownContainerMods);
|
|
1040
1041
|
|
|
1041
|
-
var css$
|
|
1042
|
+
var css$1j = {"uui-typography":"IYNJwq","uuiTypography":"IYNJwq","hero-header":"bVkGlx","heroHeader":"bVkGlx","promo-header":"a3tjA1","promoHeader":"a3tjA1","uui-critical":"NtHO4A","uuiCritical":"NtHO4A","uui-info":"_1YtnDv","uuiInfo":"_1YtnDv","uui-success":"WJ9409","uuiSuccess":"WJ9409","uui-warning":"PHz64d","uuiWarning":"PHz64d","uui-highlight":"_9a31Ya","uuiHighlight":"_9a31Ya","uui-typography-size-12":"_0zDWfT","uuiTypographySize12":"_0zDWfT","uui-typography-size-14":"IEiK88","uuiTypographySize14":"IEiK88","uui-typography-size-16":"a8bR-a","uuiTypographySize16":"a8bR-a","submenu-root-item-rtl":"toYNAR","submenuRootItemRtl":"toYNAR","icon-after":"-axF-B","iconAfter":"-axF-B","submenu-root-item":"-iHo-x","submenuRootItem":"-iHo-x","icon-check":"_56GJQd","iconCheck":"_56GJQd","splitter-root":"Un9aye","splitterRoot":"Un9aye","splitter":"_18WUL5","header-root":"fLapyK","headerRoot":"fLapyK","item-root":"UV0NzG","itemRoot":"UV0NzG","icon":"v8QuZY","link":"qCcVJl","indent":"mLl3Py","selected-mark":"mingzZ","selectedMark":"mingzZ"};
|
|
1042
1043
|
|
|
1043
1044
|
exports.IDropdownControlKeys = void 0;
|
|
1044
1045
|
(function (IDropdownControlKeys) {
|
|
@@ -1099,17 +1100,17 @@ const DropdownMenuButton = /* @__PURE__ */React__namespace.default.forwardRef((p
|
|
|
1099
1100
|
const getMenuButtonContent = () => {
|
|
1100
1101
|
const isIconBefore = Boolean(icon && iconPosition !== 'right');
|
|
1101
1102
|
const isIconAfter = Boolean(icon && iconPosition === 'right');
|
|
1102
|
-
const iconElement = (React__namespace.default.createElement(IconButton, { icon: icon, color: isActive ? 'primary' : 'neutral', onClick: onIconClick, isDisabled: isDisabled, cx: uuiCore.cx(css$
|
|
1103
|
+
const iconElement = (React__namespace.default.createElement(IconButton, { icon: icon, color: isActive ? 'primary' : 'neutral', onClick: onIconClick, isDisabled: isDisabled, cx: uuiCore.cx(css$1j.icon, iconPosition === 'right' ? css$1j.iconAfter : css$1j.iconBefore) }));
|
|
1103
1104
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1104
1105
|
isIconBefore && iconElement,
|
|
1105
|
-
React__namespace.default.createElement(uuiComponents.Text, { cx: props.indent && css$
|
|
1106
|
+
React__namespace.default.createElement(uuiComponents.Text, { cx: props.indent && css$1j.indent }, caption),
|
|
1106
1107
|
isIconAfter && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1107
1108
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
1108
1109
|
iconElement))));
|
|
1109
1110
|
};
|
|
1110
1111
|
const isAnchor = Boolean(link || href);
|
|
1111
|
-
const itemClassNames = uuiCore.cx(props.cx, css$
|
|
1112
|
-
return isAnchor ? (React__namespace.default.createElement(uuiComponents.Anchor, { cx: uuiCore.cx(css$
|
|
1112
|
+
const itemClassNames = uuiCore.cx(props.cx, css$1j.itemRoot, isDisabled && uuiCore.uuiMod.disabled, isActive && uuiCore.uuiMod.active, isOpen && uuiCore.uuiMod.opened);
|
|
1113
|
+
return isAnchor ? (React__namespace.default.createElement(uuiComponents.Anchor, { cx: uuiCore.cx(css$1j.link, itemClassNames), link: link, href: href, rawProps: { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 }, onClick: handleClick, isLinkActive: isActive, isDisabled: isDisabled, target: target }, getMenuButtonContent())) : (React__namespace.default.createElement(uuiComponents.FlexRow, { rawProps: {
|
|
1113
1114
|
tabIndex: isDisabled ? -1 : 0,
|
|
1114
1115
|
role: 'menuitem',
|
|
1115
1116
|
onKeyDown: isDisabled ? null : handleOpenDropdown,
|
|
@@ -1117,15 +1118,15 @@ const DropdownMenuButton = /* @__PURE__ */React__namespace.default.forwardRef((p
|
|
|
1117
1118
|
getMenuButtonContent(),
|
|
1118
1119
|
isSelected && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1119
1120
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
1120
|
-
React__namespace.default.createElement(uuiComponents.IconContainer, { icon: systemIcons.accept, cx: css$
|
|
1121
|
+
React__namespace.default.createElement(uuiComponents.IconContainer, { icon: systemIcons.accept, cx: css$1j.selectedMark })))));
|
|
1121
1122
|
});
|
|
1122
1123
|
function DropdownMenuSplitter(props) {
|
|
1123
|
-
return (React__namespace.default.createElement("div", { className: uuiCore.cx(props.cx, css$
|
|
1124
|
-
React__namespace.default.createElement("hr", { className: css$
|
|
1124
|
+
return (React__namespace.default.createElement("div", { className: uuiCore.cx(props.cx, css$1j.splitterRoot) },
|
|
1125
|
+
React__namespace.default.createElement("hr", { className: css$1j.splitter })));
|
|
1125
1126
|
}
|
|
1126
1127
|
function DropdownMenuHeader(props) {
|
|
1127
|
-
return (React__namespace.default.createElement("div", { className: uuiCore.cx('uui-dropdown-menu-header', props.cx, css$
|
|
1128
|
-
React__namespace.default.createElement("span", { className: css$
|
|
1128
|
+
return (React__namespace.default.createElement("div", { className: uuiCore.cx('uui-dropdown-menu-header', props.cx, css$1j.headerRoot) },
|
|
1129
|
+
React__namespace.default.createElement("span", { className: css$1j.header }, props.caption)));
|
|
1129
1130
|
}
|
|
1130
1131
|
function DropdownSubMenu(props) {
|
|
1131
1132
|
const subMenuModifiers = [
|
|
@@ -1147,7 +1148,7 @@ function DropdownSubMenu(props) {
|
|
|
1147
1148
|
const isRtl = (window === null || window === void 0 ? void 0 : window.document.dir) === 'rtl';
|
|
1148
1149
|
return (React__namespace.default.createElement(uuiComponents.Dropdown, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", openDelay: 400, closeDelay: 400, placement: isRtl ? 'left-start' : 'right-start', modifiers: subMenuModifiers, renderBody: (dropdownProps) => !props.isDisabled && (React__namespace.default.createElement(DropdownMenuBody, Object.assign({ closeOnKey: exports.IDropdownControlKeys.LEFT_ARROW }, props, dropdownProps))), renderTarget: (_a) => {
|
|
1149
1150
|
var { toggleDropdownOpening } = _a, targetProps = __rest(_a, ["toggleDropdownOpening"]);
|
|
1150
|
-
return (React__namespace.default.createElement(DropdownMenuButton, Object.assign({ cx: uuiCore.cx(isRtl ? css$
|
|
1151
|
+
return (React__namespace.default.createElement(DropdownMenuButton, Object.assign({ cx: uuiCore.cx(isRtl ? css$1j.submenuRootItemRtl : css$1j.submenuRootItem), icon: systemIcons.foldingArrow, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening }, props, targetProps)));
|
|
1151
1152
|
} }));
|
|
1152
1153
|
}
|
|
1153
1154
|
function DropdownMenuSwitchButton(props) {
|
|
@@ -1164,29 +1165,29 @@ function DropdownMenuSwitchButton(props) {
|
|
|
1164
1165
|
onHandleValueChange(!isSelected);
|
|
1165
1166
|
}
|
|
1166
1167
|
};
|
|
1167
|
-
return (React__namespace.default.createElement(uuiComponents.FlexRow, { cx: uuiCore.cx(props.cx, css$
|
|
1168
|
-
icon && React__namespace.default.createElement(uuiComponents.IconContainer, { icon: icon, cx: css$
|
|
1168
|
+
return (React__namespace.default.createElement(uuiComponents.FlexRow, { cx: uuiCore.cx(props.cx, css$1j.itemRoot, isDisabled && uuiCore.uuiMod.disabled), onClick: () => onHandleValueChange(!isSelected), rawProps: { role: 'menuitem', onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 } },
|
|
1169
|
+
icon && React__namespace.default.createElement(uuiComponents.IconContainer, { icon: icon, cx: css$1j.iconBefore }),
|
|
1169
1170
|
React__namespace.default.createElement(uuiComponents.Text, null, caption),
|
|
1170
1171
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
1171
1172
|
React__namespace.default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
1172
1173
|
}
|
|
1173
1174
|
|
|
1174
|
-
var css$
|
|
1175
|
+
var css$1i = {"uui-typography":"x6CbcU","uuiTypography":"x6CbcU","hero-header":"JLvEOP","heroHeader":"JLvEOP","promo-header":"JTQzKx","promoHeader":"JTQzKx","uui-critical":"_5Ybnsq","uuiCritical":"_5Ybnsq","uui-info":"WWurVA","uuiInfo":"WWurVA","uui-success":"l9QRyS","uuiSuccess":"l9QRyS","uui-warning":"Mc-yo3","uuiWarning":"Mc-yo3","uui-highlight":"oPbab0","uuiHighlight":"oPbab0","uui-typography-size-12":"AFI8JP","uuiTypographySize12":"AFI8JP","uui-typography-size-14":"fdIox-","uuiTypographySize14":"fdIox-","uui-typography-size-16":"Q6YKW9","uuiTypographySize16":"Q6YKW9","root":"CJl-In","mode-block":"oLZagb","modeBlock":"oLZagb","mode-inline":"huUMiB","modeInline":"huUMiB","padding-0":"-rz93r","padding0":"-rz93r","padding-6":"KwK5cj","padding6":"KwK5cj","padding-12":"tulnC5","padding12":"tulnC5","padding-18":"_3eGtcw","padding18":"_3eGtcw"};
|
|
1175
1176
|
|
|
1176
1177
|
function applyAccordionMods(mods) {
|
|
1177
1178
|
return [
|
|
1178
|
-
css$
|
|
1179
|
-
css$
|
|
1180
|
-
mods.padding && css$
|
|
1179
|
+
css$1i.root,
|
|
1180
|
+
css$1i[`mode-${mods.mode || 'block'}`],
|
|
1181
|
+
mods.padding && css$1i['padding-' + mods.padding],
|
|
1181
1182
|
];
|
|
1182
1183
|
}
|
|
1183
1184
|
const Accordion = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Accordion, applyAccordionMods, (mods) => ({
|
|
1184
1185
|
dropdownIcon: mods.dropdownIcon !== null && systemIcons.foldingArrow,
|
|
1185
1186
|
}));
|
|
1186
1187
|
|
|
1187
|
-
var css$
|
|
1188
|
+
var css$1h = {"uui-typography":"oHfyMC","uuiTypography":"oHfyMC","hero-header":"HqnB5k","heroHeader":"HqnB5k","promo-header":"EsIgU9","promoHeader":"EsIgU9","uui-critical":"UjOHeb","uuiCritical":"UjOHeb","uui-info":"TbltJK","uuiInfo":"TbltJK","uui-success":"dbia6-","uuiSuccess":"dbia6-","uui-warning":"cFSXUb","uuiWarning":"cFSXUb","uui-highlight":"m8E7zA","uuiHighlight":"m8E7zA","uui-typography-size-12":"W8wlwt","uuiTypographySize12":"W8wlwt","uui-typography-size-14":"_9eodOg","uuiTypographySize14":"_9eodOg","uui-typography-size-16":"n3kdlb","uuiTypographySize16":"n3kdlb","root":"Wki18O","border-top":"hjjUlx","borderTop":"hjjUlx","border-bottom":"SFfln5","borderBottom":"SFfln5","top-shadow":"Veyx7x","topShadow":"Veyx7x","padding-6":"YXQndc","padding6":"YXQndc","padding-12":"b-bgAB","padding12":"b-bgAB","padding-18":"_6oo4ZD","padding18":"_6oo4ZD","padding-24":"URnri9","padding24":"URnri9","margin-24":"GDy6D6","margin24":"GDy6D6","margin-12":"PZLxNu","margin12":"PZLxNu","vPadding-12":"oesCt-","vPadding12":"oesCt-","vPadding-18":"A5VH9M","vPadding18":"A5VH9M","vPadding-24":"w8bcfi","vPadding24":"w8bcfi","vPadding-36":"yulwz3","vPadding36":"yulwz3","vPadding-48":"emNUD4","vPadding48":"emNUD4","spacing-6":"_37Z7U0","spacing6":"_37Z7U0","spacing-12":"_7uwos8","spacing12":"_7uwos8","spacing-18":"r5x4tF","spacing18":"r5x4tF","uui-surface-main":"oUxZTj","uuiSurfaceMain":"oUxZTj"};
|
|
1188
1189
|
|
|
1189
|
-
const FlexCell = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexCell, () => [css$
|
|
1190
|
+
const FlexCell = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexCell, () => [css$1h.flexCell]);
|
|
1190
1191
|
|
|
1191
1192
|
const FlexRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexRow, (props) => {
|
|
1192
1193
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -1195,54 +1196,54 @@ const FlexRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexRow, (props) =
|
|
|
1195
1196
|
}
|
|
1196
1197
|
}
|
|
1197
1198
|
return [
|
|
1198
|
-
css$
|
|
1199
|
+
css$1h.root,
|
|
1199
1200
|
props.size !== null && 'uui-size-' + (props.size || '36'),
|
|
1200
|
-
props.padding && css$
|
|
1201
|
-
props.vPadding && css$
|
|
1202
|
-
props.margin && css$
|
|
1203
|
-
props.topShadow && css$
|
|
1204
|
-
props.borderBottom && css$
|
|
1205
|
-
props.borderTop && css$
|
|
1206
|
-
props.spacing && css$
|
|
1207
|
-
props.background && css$
|
|
1201
|
+
props.padding && css$1h['padding-' + props.padding],
|
|
1202
|
+
props.vPadding && css$1h['vPadding-' + props.vPadding],
|
|
1203
|
+
props.margin && css$1h['margin-' + props.margin],
|
|
1204
|
+
props.topShadow && css$1h.topShadow,
|
|
1205
|
+
props.borderBottom && css$1h.borderBottom,
|
|
1206
|
+
props.borderTop && css$1h.borderTop,
|
|
1207
|
+
props.spacing && css$1h['spacing-' + props.spacing],
|
|
1208
|
+
props.background && css$1h[`uui-${props.background}`],
|
|
1208
1209
|
];
|
|
1209
1210
|
});
|
|
1210
1211
|
|
|
1211
|
-
var css$
|
|
1212
|
+
var css$1g = {"root":"_8FmHb6","margin-24":"qAIvJR","margin24":"qAIvJR","padding-12":"_5-WhZw","padding12":"_5-WhZw","padding-24":"TN7x8L","padding24":"TN7x8L","shadow":"Hq0j4J","uui-surface-main":"HmbF37","uuiSurfaceMain":"HmbF37"};
|
|
1212
1213
|
|
|
1213
1214
|
const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
1214
1215
|
'uui-panel',
|
|
1215
|
-
css$
|
|
1216
|
-
props.shadow && css$
|
|
1217
|
-
props.margin && css$
|
|
1218
|
-
props.background && css$
|
|
1216
|
+
css$1g.root,
|
|
1217
|
+
props.shadow && css$1g.shadow,
|
|
1218
|
+
props.margin && css$1g['margin-' + props.margin],
|
|
1219
|
+
props.background && css$1g[`uui-${props.background}`],
|
|
1219
1220
|
]);
|
|
1220
1221
|
|
|
1221
|
-
var css$
|
|
1222
|
+
var css$1f = {"root":"ELavfQ"};
|
|
1222
1223
|
|
|
1223
1224
|
function applyTooltipMods(mods) {
|
|
1224
1225
|
return [
|
|
1225
|
-
css$
|
|
1226
|
+
css$1f.root,
|
|
1226
1227
|
`uui-color-${mods.color || 'inverted'}`,
|
|
1227
1228
|
];
|
|
1228
1229
|
}
|
|
1229
1230
|
const Tooltip = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Tooltip, applyTooltipMods);
|
|
1230
1231
|
|
|
1231
|
-
var css$
|
|
1232
|
+
var css$1e = {"uui-typography":"TnXYPE","uuiTypography":"TnXYPE","hero-header":"b-F4cn","heroHeader":"b-F4cn","promo-header":"vSg2rL","promoHeader":"vSg2rL","uui-critical":"-VxxmG","uuiCritical":"-VxxmG","uui-info":"jia2UF","uuiInfo":"jia2UF","uui-success":"_0ktCeE","uuiSuccess":"_0ktCeE","uui-warning":"WuRMx2","uuiWarning":"WuRMx2","uui-highlight":"jiMhkg","uuiHighlight":"jiMhkg","uui-typography-size-12":"_1QhafP","uuiTypographySize12":"_1QhafP","uui-typography-size-14":"wmh5hG","uuiTypographySize14":"wmh5hG","uui-typography-size-16":"LMsx-n","uuiTypographySize16":"LMsx-n","root":"FOVz-i"};
|
|
1232
1233
|
|
|
1233
1234
|
function applyLabeledInputMods(mods) {
|
|
1234
1235
|
return [
|
|
1235
1236
|
'uui-labeled-input',
|
|
1236
|
-
css$
|
|
1237
|
+
css$1e.root,
|
|
1237
1238
|
'uui-size-' + (mods.size || settings.sizes.defaults.labeledInput),
|
|
1238
1239
|
];
|
|
1239
1240
|
}
|
|
1240
1241
|
const LabeledInput = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.LabeledInput, applyLabeledInputMods, (props) => ({
|
|
1241
1242
|
Tooltip: props.Tooltip || Tooltip,
|
|
1242
|
-
infoIcon: props.infoIcon || (settings.sizes.labeledInput.fillIcon.includes(props.size) ? ForwardRef$
|
|
1243
|
+
infoIcon: props.infoIcon || (settings.sizes.labeledInput.fillIcon.includes(props.size) ? ForwardRef$x : ForwardRef$M),
|
|
1243
1244
|
}));
|
|
1244
1245
|
|
|
1245
|
-
var css$
|
|
1246
|
+
var css$1d = {"root":"hmqj4U"};
|
|
1246
1247
|
|
|
1247
1248
|
function RadioGroup(props) {
|
|
1248
1249
|
const direction = props.direction || 'vertical';
|
|
@@ -1251,34 +1252,34 @@ function RadioGroup(props) {
|
|
|
1251
1252
|
props.onValueChange(newVal);
|
|
1252
1253
|
}
|
|
1253
1254
|
};
|
|
1254
|
-
return (React__namespace.createElement("fieldset", Object.assign({ ref: props.forwardedRef, className: uuiCore.cx(css$
|
|
1255
|
+
return (React__namespace.createElement("fieldset", Object.assign({ ref: props.forwardedRef, className: uuiCore.cx(css$1d.root, uuiCore.directionMode[direction], props.cx), onFocus: props.onFocus, onBlur: props.onBlur }, props.rawProps), props.items.map((i) => {
|
|
1255
1256
|
const restItemProps = __rest(i, ["id", "name", "renderName"]);
|
|
1256
1257
|
return (React__namespace.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)));
|
|
1257
1258
|
})));
|
|
1258
1259
|
}
|
|
1259
1260
|
|
|
1260
|
-
var css$
|
|
1261
|
+
var css$1c = {"root":"KM9qJu"};
|
|
1261
1262
|
|
|
1262
1263
|
function applyScrollBarsMods() {
|
|
1263
1264
|
return [
|
|
1264
|
-
css$
|
|
1265
|
+
css$1c.root, 'uui-scroll-bars', 'uui-shadow-top', 'uui-shadow-bottom',
|
|
1265
1266
|
];
|
|
1266
1267
|
}
|
|
1267
1268
|
const ScrollBars = /* @__PURE__ */uuiCore.withMods(uuiComponents.ScrollBars, applyScrollBarsMods);
|
|
1268
1269
|
|
|
1269
|
-
var css$
|
|
1270
|
+
var css$1b = {"scroll-container":"ARCi7J","scrollContainer":"ARCi7J","list-container":"z9sHZe","listContainer":"z9sHZe"};
|
|
1270
1271
|
|
|
1271
|
-
var css$
|
|
1272
|
+
var css$1a = {"root":"mzsARs"};
|
|
1272
1273
|
|
|
1273
|
-
const AvatarStack = /* @__PURE__ */uuiCore.withMods(uuiComponents.AvatarStack, () => [css$
|
|
1274
|
+
const AvatarStack = /* @__PURE__ */uuiCore.withMods(uuiComponents.AvatarStack, () => [css$1a.root]);
|
|
1274
1275
|
|
|
1275
|
-
var css$
|
|
1276
|
+
var css$19 = {"uui-typography":"_9b8h-3","uuiTypography":"_9b8h-3","hero-header":"EiW0w6","heroHeader":"EiW0w6","promo-header":"_95Zxf-","promoHeader":"_95Zxf-","uui-critical":"-sHhFn","uuiCritical":"-sHhFn","uui-info":"_-7O-Ex","uuiInfo":"_-7O-Ex","uui-success":"Bi-5Rx","uuiSuccess":"Bi-5Rx","uui-warning":"_6mBCWb","uuiWarning":"_6mBCWb","uui-highlight":"_94bwj-","uuiHighlight":"_94bwj-","uui-typography-size-12":"zHd6zC","uuiTypographySize12":"zHd6zC","uui-typography-size-14":"CgxWcD","uuiTypographySize14":"CgxWcD","uui-typography-size-16":"AAkfv2","uuiTypographySize16":"AAkfv2","root":"JY-5V4"};
|
|
1276
1277
|
|
|
1277
1278
|
const DEFAULT_FILL = 'solid';
|
|
1278
1279
|
function applyBadgeMods(mods) {
|
|
1279
1280
|
return [
|
|
1280
1281
|
'uui-badge',
|
|
1281
|
-
css$
|
|
1282
|
+
css$19.root,
|
|
1282
1283
|
`uui-size-${mods.size || settings.sizes.defaults.badge}`,
|
|
1283
1284
|
`uui-fill-${mods.fill || DEFAULT_FILL}`,
|
|
1284
1285
|
`uui-color-${mods.color || 'info'}`,
|
|
@@ -1296,11 +1297,11 @@ const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) =>
|
|
|
1296
1297
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1297
1298
|
});
|
|
1298
1299
|
|
|
1299
|
-
var css$
|
|
1300
|
+
var css$18 = {"uui-typography":"bHUTqc","uuiTypography":"bHUTqc","hero-header":"PoueDO","heroHeader":"PoueDO","promo-header":"_0HjPyh","promoHeader":"_0HjPyh","uui-critical":"ygZvLa","uuiCritical":"ygZvLa","uui-info":"Sv61Ed","uuiInfo":"Sv61Ed","uui-success":"Dmtbt-","uuiSuccess":"Dmtbt-","uui-warning":"Ye9ESy","uuiWarning":"Ye9ESy","uui-highlight":"li1wob","uuiHighlight":"li1wob","uui-typography-size-12":"RK2Zv6","uuiTypographySize12":"RK2Zv6","uui-typography-size-14":"_1p9N6q","uuiTypographySize14":"_1p9N6q","uui-typography-size-16":"Y-avZH","uuiTypographySize16":"Y-avZH","root":"WAHKHZ"};
|
|
1300
1301
|
|
|
1301
1302
|
function applyTagMods(props) {
|
|
1302
1303
|
return [
|
|
1303
|
-
css$
|
|
1304
|
+
css$18.root,
|
|
1304
1305
|
`uui-size-${props.size || settings.sizes.defaults.tag}`,
|
|
1305
1306
|
`uui-color-${props.color || 'neutral'}`,
|
|
1306
1307
|
`uui-fill-${props.fill || 'solid'}`,
|
|
@@ -1320,94 +1321,94 @@ const Tag = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
|
1320
1321
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1321
1322
|
});
|
|
1322
1323
|
|
|
1323
|
-
var css$
|
|
1324
|
+
var css$17 = {"root":"i27qdq","uui-spinner":"_62n3C-","uuiSpinner":"_62n3C-"};
|
|
1324
1325
|
|
|
1325
1326
|
function applySpinnerMods() {
|
|
1326
|
-
return [css$
|
|
1327
|
+
return [css$17.root, 'uui-spinner'];
|
|
1327
1328
|
}
|
|
1328
1329
|
const Spinner = /* @__PURE__ */uuiCore.withMods(uuiComponents.Spinner, applySpinnerMods);
|
|
1329
1330
|
|
|
1330
|
-
var _path$
|
|
1331
|
-
function _extends$
|
|
1331
|
+
var _path$w;
|
|
1332
|
+
function _extends$w() { _extends$w = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$w.apply(this, arguments); }
|
|
1332
1333
|
var SvgNavigationChevronLeftOutline = function SvgNavigationChevronLeftOutline(props, ref) {
|
|
1333
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1334
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
|
|
1334
1335
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1335
1336
|
width: 24,
|
|
1336
1337
|
height: 24,
|
|
1337
1338
|
viewBox: "0 0 24 24",
|
|
1338
1339
|
ref: ref
|
|
1339
|
-
}, props), _path$
|
|
1340
|
+
}, props), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1340
1341
|
d: "M15.914 5.414 14.5 4l-8 8 8 8 1.414-1.414L9.328 12l6.586-6.586z"
|
|
1341
1342
|
})));
|
|
1342
1343
|
};
|
|
1343
|
-
var ForwardRef$
|
|
1344
|
+
var ForwardRef$w = /*#__PURE__*/React.forwardRef(SvgNavigationChevronLeftOutline);
|
|
1344
1345
|
|
|
1345
|
-
var _path$
|
|
1346
|
-
function _extends$
|
|
1346
|
+
var _path$v;
|
|
1347
|
+
function _extends$v() { _extends$v = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$v.apply(this, arguments); }
|
|
1347
1348
|
var SvgNavigationChevronRightOutline = function SvgNavigationChevronRightOutline(props, ref) {
|
|
1348
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1349
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
|
|
1349
1350
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1350
1351
|
width: 24,
|
|
1351
1352
|
height: 24,
|
|
1352
1353
|
viewBox: "0 0 24 24",
|
|
1353
1354
|
ref: ref
|
|
1354
|
-
}, props), _path$
|
|
1355
|
+
}, props), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1355
1356
|
d: "M8.086 18.586 9.5 20l8-8-8-8-1.414 1.414L14.672 12l-6.586 6.586z"
|
|
1356
1357
|
})));
|
|
1357
1358
|
};
|
|
1358
|
-
var ForwardRef$
|
|
1359
|
+
var ForwardRef$v = /*#__PURE__*/React.forwardRef(SvgNavigationChevronRightOutline);
|
|
1359
1360
|
|
|
1360
|
-
var css$
|
|
1361
|
+
var css$16 = {"root":"-J3zd-","page":"-g-B82","spacer":"_5QbgpA","mode-ghost":"nUJ23j","modeGhost":"nUJ23j"};
|
|
1361
1362
|
|
|
1362
1363
|
function Paginator(props) {
|
|
1363
|
-
const renderPaginator = (params) => (React__namespace.default.createElement("nav", Object.assign({ role: "navigation", className: cx__default.default(css$
|
|
1364
|
-
React__namespace.default.createElement(Button, { size: props.size || settings.sizes.defaults.paginator, icon: ForwardRef$
|
|
1364
|
+
const renderPaginator = (params) => (React__namespace.default.createElement("nav", Object.assign({ role: "navigation", className: cx__default.default(css$16.root, 'uui-paginator', `uui-size-${props.size || settings.sizes.defaults.paginator}`) }, params.rawProps),
|
|
1365
|
+
React__namespace.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" }),
|
|
1365
1366
|
params.pages.map((page, index) => {
|
|
1366
1367
|
if (page.type === 'spacer') {
|
|
1367
|
-
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$
|
|
1368
|
+
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$16.spacer, css$16.page), size: props.size || settings.sizes.defaults.paginator, key: `${index}_spacer`, caption: "...", fill: "ghost", color: "secondary", tabIndex: -1, isDisabled: props.isDisabled }));
|
|
1368
1369
|
}
|
|
1369
1370
|
else {
|
|
1370
|
-
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$
|
|
1371
|
+
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$16[`mode-${!page.isActive && 'ghost'}`], css$16.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 }));
|
|
1371
1372
|
}
|
|
1372
1373
|
}),
|
|
1373
|
-
React__namespace.default.createElement(Button, { size: props.size || settings.sizes.defaults.paginator, icon: ForwardRef$
|
|
1374
|
+
React__namespace.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" })));
|
|
1374
1375
|
return React__namespace.default.createElement(uuiComponents.Paginator, Object.assign({}, props, { render: renderPaginator }));
|
|
1375
1376
|
}
|
|
1376
1377
|
|
|
1377
|
-
var css$
|
|
1378
|
+
var css$15 = {"root":"HdV07u","progress-bar":"J6BXUx","progressBar":"J6BXUx","progressBar-indeterminate":"L9XDP7","progressBarIndeterminate":"L9XDP7","size-12":"bPJA9a","size12":"bPJA9a","size-18":"BuhaHx","size18":"BuhaHx","size-24":"_7pMgnu","size24":"_7pMgnu"};
|
|
1378
1379
|
|
|
1379
1380
|
const IndeterminateBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1380
|
-
return (React__namespace.createElement("div", { ref: ref, className: cx__default.default('uui-indeterminate_bar', props.cx, css$
|
|
1381
|
-
React__namespace.createElement("div", { className: cx__default.default(css$
|
|
1381
|
+
return (React__namespace.createElement("div", { ref: ref, className: cx__default.default('uui-indeterminate_bar', props.cx, css$15.root, css$15[`size-${props.size || 12}`]) },
|
|
1382
|
+
React__namespace.createElement("div", { className: cx__default.default(css$15.progressBar) })));
|
|
1382
1383
|
});
|
|
1383
1384
|
|
|
1384
|
-
var css$
|
|
1385
|
+
var css$14 = {"root":"_1YCdxB","striped":"jRJs9L","animate-stripes":"_2j3HVg","animateStripes":"_2j3HVg","size-12":"MmxsHd","size12":"MmxsHd","size-18":"s4A05l","size18":"s4A05l","size-24":"_7P1Awi","size24":"_7P1Awi"};
|
|
1385
1386
|
|
|
1386
1387
|
const DEFAULT_SIZE = '12';
|
|
1387
1388
|
function applyProgressBarMods(mods) {
|
|
1388
1389
|
const size = mods.size || DEFAULT_SIZE;
|
|
1389
1390
|
return [
|
|
1390
|
-
css$
|
|
1391
|
-
css$
|
|
1392
|
-
mods.striped && css$
|
|
1391
|
+
css$14.root,
|
|
1392
|
+
css$14[`size-${size}`],
|
|
1393
|
+
mods.striped && css$14.striped,
|
|
1393
1394
|
];
|
|
1394
1395
|
}
|
|
1395
1396
|
const ProgressBar = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.ProgressBar, applyProgressBarMods, (props) => ({
|
|
1396
1397
|
hideLabel: props.hideLabel || props.striped,
|
|
1397
1398
|
}));
|
|
1398
1399
|
|
|
1399
|
-
var css$
|
|
1400
|
+
var css$13 = {"root":"FwszS8"};
|
|
1400
1401
|
|
|
1401
1402
|
const IndicatorBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1402
1403
|
const { progress } = props;
|
|
1403
|
-
return progress || progress === 0 ? (React__namespace.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx__default.default(css$
|
|
1404
|
+
return progress || progress === 0 ? (React__namespace.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx__default.default(css$13.root, props.cx), hideLabel: true })) : (React__namespace.createElement(IndeterminateBar, { ref: ref, cx: cx__default.default(css$13.root, props.cx) }));
|
|
1404
1405
|
});
|
|
1405
1406
|
|
|
1406
|
-
var css$
|
|
1407
|
+
var css$12 = {"root":"kipjiY"};
|
|
1407
1408
|
|
|
1408
1409
|
const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1409
1410
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
1410
|
-
css$
|
|
1411
|
+
css$12.root,
|
|
1411
1412
|
`uui-size-${props.size || settings.sizes.defaults.statusIndicator}`,
|
|
1412
1413
|
'uui-status_indicator',
|
|
1413
1414
|
`uui-color-${props.color || 'neutral'}`,
|
|
@@ -1418,7 +1419,7 @@ const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1418
1419
|
React__namespace.default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
1419
1420
|
});
|
|
1420
1421
|
|
|
1421
|
-
var css$
|
|
1422
|
+
var css$11 = {"drag-handle":"qeEuet","dragHandle":"qeEuet","icon-container":"I-ZiwZ","iconContainer":"I-ZiwZ"};
|
|
1422
1423
|
|
|
1423
1424
|
function DataRowAddons(props) {
|
|
1424
1425
|
var _a, _b;
|
|
@@ -1430,19 +1431,19 @@ function DataRowAddons(props) {
|
|
|
1430
1431
|
return settings.sizes.rowAddons.indentWidth[props.size] || settings.sizes.rowAddons.defaults.indentWidth;
|
|
1431
1432
|
};
|
|
1432
1433
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1433
|
-
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React__namespace.default.createElement(uuiComponents.DragHandle, { key: "dh", cx: css$
|
|
1434
|
+
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React__namespace.default.createElement(uuiComponents.DragHandle, { key: "dh", cx: css$11.dragHandle, rawProps: Object.assign({}, props.eventHandlers) }),
|
|
1434
1435
|
((_b = row === null || row === void 0 ? void 0 : row.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) && (React__namespace.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 })),
|
|
1435
1436
|
row.indent > 0 && (React__namespace.default.createElement("div", { key: "fold", className: cx__default.default('uui-dr_addons-indent', `uui-size-${props.size}`), style: { marginInlineStart: getIndent(), width: getWidth() } }, row.isFoldable && (React__namespace.default.createElement(uuiComponents.IconContainer, { rawProps: {
|
|
1436
1437
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
1437
1438
|
role: 'button',
|
|
1438
|
-
}, key: "icon", icon: ForwardRef$
|
|
1439
|
-
uuiCore.uuiElement.foldingArrow, uuiCore.uuiMarkers.clickable, css$
|
|
1439
|
+
}, key: "icon", icon: ForwardRef$Q, cx: [
|
|
1440
|
+
uuiCore.uuiElement.foldingArrow, uuiCore.uuiMarkers.clickable, css$11.iconContainer,
|
|
1440
1441
|
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.sizes.rowAddons.icon[props.size] || settings.sizes.rowAddons.defaults.icon }))))));
|
|
1441
1442
|
}
|
|
1442
1443
|
|
|
1443
|
-
var css
|
|
1444
|
+
var css$10 = {"root":"EBnQe3"};
|
|
1444
1445
|
|
|
1445
|
-
const Blocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.Blocker, () => [css
|
|
1446
|
+
const Blocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.Blocker, () => [css$10.root], (cmpProps) => ({ renderSpinner: cmpProps.renderSpinner || (() => React__namespace.default.createElement(Spinner, null)) }));
|
|
1446
1447
|
|
|
1447
1448
|
const VirtualList = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1448
1449
|
const { listContainerRef, offsetY, handleScroll, estimatedHeight, scrollContainerRef, } = uuiCore.useVirtualList({
|
|
@@ -1458,7 +1459,7 @@ const VirtualList = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
1458
1459
|
var _a;
|
|
1459
1460
|
return ((_a = props.renderRows) === null || _a === void 0 ? void 0 : _a.call(props, {
|
|
1460
1461
|
listContainerRef, estimatedHeight, offsetY, scrollShadows,
|
|
1461
|
-
})) || (React__namespace.createElement("div", { className: css$
|
|
1462
|
+
})) || (React__namespace.createElement("div", { className: css$1b.listContainer, style: { minHeight: `${estimatedHeight}px` } },
|
|
1462
1463
|
React__namespace.createElement("div", { ref: listContainerRef, role: props.role, style: { marginTop: offsetY } }, props.rows)));
|
|
1463
1464
|
};
|
|
1464
1465
|
const renderView = ({ style }) => (React__namespace.createElement(VirtualListView, { isLoading: props.isLoading, style: style, rawProps: props.rawProps }));
|
|
@@ -1468,7 +1469,7 @@ const VirtualList = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
1468
1469
|
return;
|
|
1469
1470
|
scrollContainerRef.current = scrollbars.container.firstChild;
|
|
1470
1471
|
}, []);
|
|
1471
|
-
return (React__namespace.createElement(ScrollBars, { cx: uuiCore.cx(css$
|
|
1472
|
+
return (React__namespace.createElement(ScrollBars, { cx: uuiCore.cx(css$1b.scrollContainer, props.cx, {
|
|
1472
1473
|
[uuiCore.uuiMarkers.scrolledLeft]: scrollShadows.horizontalLeft,
|
|
1473
1474
|
[uuiCore.uuiMarkers.scrolledRight]: scrollShadows.horizontalRight,
|
|
1474
1475
|
[uuiCore.uuiMarkers.scrolledTop]: scrollShadows.verticalTop,
|
|
@@ -1481,7 +1482,7 @@ const VirtualListView = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
1481
1482
|
React__namespace.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
1482
1483
|
});
|
|
1483
1484
|
|
|
1484
|
-
var css
|
|
1485
|
+
var css$$ = {"root":"PD3ZlP"};
|
|
1485
1486
|
|
|
1486
1487
|
function CheckboxGroup(props) {
|
|
1487
1488
|
const currentValue = props.value || [];
|
|
@@ -1497,60 +1498,16 @@ function CheckboxGroup(props) {
|
|
|
1497
1498
|
}
|
|
1498
1499
|
props.onValueChange(newSelection);
|
|
1499
1500
|
};
|
|
1500
|
-
return (React__namespace.createElement("fieldset", Object.assign({ ref: props.forwardedRef, className: uuiCore.cx(css
|
|
1501
|
+
return (React__namespace.createElement("fieldset", Object.assign({ ref: props.forwardedRef, className: uuiCore.cx(css$$.root, uuiCore.directionMode[direction], props.cx) }, props.rawProps), props.items.map((i) => {
|
|
1501
1502
|
const restItemProps = __rest(i, ["id", "name", "renderName"]);
|
|
1502
1503
|
return (React__namespace.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)));
|
|
1503
1504
|
})));
|
|
1504
1505
|
}
|
|
1505
1506
|
|
|
1506
|
-
var css$
|
|
1507
|
+
var css$_ = {"uui-typography":"_8ANzWI","uuiTypography":"_8ANzWI","hero-header":"_0r-X1m","heroHeader":"_0r-X1m","promo-header":"Fz1F6o","promoHeader":"Fz1F6o","uui-critical":"_8gTHM9","uuiCritical":"_8gTHM9","uui-info":"z3Jfik","uuiInfo":"z3Jfik","uui-success":"UxsD8t","uuiSuccess":"UxsD8t","uui-warning":"NI4hIV","uuiWarning":"NI4hIV","uui-highlight":"_8bRjon","uuiHighlight":"_8bRjon","uui-typography-size-12":"QksPrt","uuiTypographySize12":"QksPrt","uui-typography-size-14":"czV-Hi","uuiTypographySize14":"czV-Hi","uui-typography-size-16":"rkIy1X","uuiTypographySize16":"rkIy1X","root":"EV8sxD","modal-blocker":"wbzbp9","modalBlocker":"wbzbp9","animateModalBlocker":"IIErRL","modal":"ZS-IJ5","modal-footer":"bFjO8k","modalFooter":"bFjO8k","modal-header":"f3ZQNt","modalHeader":"f3ZQNt"};
|
|
1507
1508
|
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
css$Z.root,
|
|
1511
|
-
'uui-text',
|
|
1512
|
-
`uui-size-${mods.size || settings.sizes.defaults.text}`,
|
|
1513
|
-
(mods.size !== 'none' || mods.lineHeight) && css$Z.lineHeight,
|
|
1514
|
-
(mods.size !== 'none' || mods.fontSize) && css$Z.fontSize,
|
|
1515
|
-
`uui-color-${mods.color || 'primary'}`,
|
|
1516
|
-
`uui-font-weight-${mods.fontWeight || '400'}`,
|
|
1517
|
-
`uui-font-style-${mods.fontStyle || 'normal'}`,
|
|
1518
|
-
'uui-typography',
|
|
1519
|
-
];
|
|
1520
|
-
}
|
|
1521
|
-
const Text = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Text, applyTextMods, (props) => {
|
|
1522
|
-
var _a;
|
|
1523
|
-
const style = ((_a = props === null || props === void 0 ? void 0 : props.rawProps) === null || _a === void 0 ? void 0 : _a.style) || {};
|
|
1524
|
-
props.fontSize && (style['--uui-text-font-size'] = `${props.fontSize}px`);
|
|
1525
|
-
props.lineHeight && (style['--uui-text-line-height'] = `${props.lineHeight}px`);
|
|
1526
|
-
return {
|
|
1527
|
-
rawProps: Object.assign(Object.assign({}, props === null || props === void 0 ? void 0 : props.rawProps), { style: style }),
|
|
1528
|
-
};
|
|
1529
|
-
});
|
|
1530
|
-
|
|
1531
|
-
var css$Y = {"root":"St4c-s","loading-word":"-DYCSx","animated-loading":"d0oAb0","skeleton_loading":"_2oky-D","loadingWord":"-DYCSx","animatedLoading":"d0oAb0","skeletonLoading":"_2oky-D"};
|
|
1532
|
-
|
|
1533
|
-
const TextPlaceholder = (props) => {
|
|
1534
|
-
const pattern = ' ';
|
|
1535
|
-
const text = React__namespace.useMemo(() => {
|
|
1536
|
-
const words = [];
|
|
1537
|
-
for (let i = 0; i < (props.wordsCount || 1); i++) {
|
|
1538
|
-
const lengthWord = Math.floor(Math.random() * 10 + 8);
|
|
1539
|
-
words.push(pattern.repeat(lengthWord));
|
|
1540
|
-
}
|
|
1541
|
-
return words;
|
|
1542
|
-
}, [props.wordsCount]);
|
|
1543
|
-
return (React__namespace.createElement("div", Object.assign({ "aria-busy": true, className: cx__default.default(css$Y.root, 'uui-text-placeholder') }, props.rawProps), text.map((it, index) => (React__namespace.createElement("span", { key: index, className: cx__default.default([
|
|
1544
|
-
props.cx, css$Y.loadingWord, !props.isNotAnimated && css$Y.animatedLoading,
|
|
1545
|
-
]), dangerouslySetInnerHTML: { __html: it } })))));
|
|
1546
|
-
};
|
|
1547
|
-
|
|
1548
|
-
const RichTextView = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || '14'}`]);
|
|
1549
|
-
|
|
1550
|
-
var css$X = {"uui-typography":"_0ccqKC","hero-header":"KckQiI","promo-header":"KxKPiL","uui-critical":"k1dXpL","uui-info":"zMB1fH","uui-success":"SUU4Hp","uui-warning":"pNaUE-","uui-highlight":"UfmBTR","uui-typography-size-12":"ywb3fi","uui-typography-size-14":"_4FQGnt","uui-typography-size-16":"_7NAAYY","root":"ckpq2c","modal-blocker":"axZzJa","animateModalBlocker":"X6GbLJ","modal":"ICz2Zj","modal-footer":"y8VUNA","modal-header":"r-aW-Z","uuiTypography":"_0ccqKC","heroHeader":"KckQiI","promoHeader":"KxKPiL","uuiCritical":"k1dXpL","uuiInfo":"zMB1fH","uuiSuccess":"SUU4Hp","uuiWarning":"pNaUE-","uuiHighlight":"UfmBTR","uuiTypographySize12":"ywb3fi","uuiTypographySize14":"_4FQGnt","uuiTypographySize16":"_7NAAYY","modalBlocker":"axZzJa","modalFooter":"y8VUNA","modalHeader":"r-aW-Z"};
|
|
1551
|
-
|
|
1552
|
-
const ModalBlocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$X.modalBlocker]);
|
|
1553
|
-
const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, () => [css$X.root, css$X.modal], (props) => {
|
|
1509
|
+
const ModalBlocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$_.modalBlocker]);
|
|
1510
|
+
const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, () => [css$_.root, css$_.modal], (props) => {
|
|
1554
1511
|
const width = props.width || settings.sizes.modal.window.defaults.width;
|
|
1555
1512
|
const height = props.height || 'auto';
|
|
1556
1513
|
const maxHeight = uuiCore.isMobile() ? '100dvh' : (props.maxHeight || '80dvh');
|
|
@@ -1562,19 +1519,19 @@ const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, (
|
|
|
1562
1519
|
});
|
|
1563
1520
|
class ModalHeader extends React__namespace.default.Component {
|
|
1564
1521
|
render() {
|
|
1565
|
-
return (React__namespace.default.createElement(FlexRow, { padding: this.props.padding || '24', vPadding: "
|
|
1566
|
-
this.props.title && (React__namespace.default.createElement(
|
|
1522
|
+
return (React__namespace.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 },
|
|
1523
|
+
this.props.title && (React__namespace.default.createElement("div", { className: cx__default.default('uui-modal-title', 'uui-typography') }, this.props.title)),
|
|
1567
1524
|
this.props.children,
|
|
1568
1525
|
this.props.onClose && React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
1569
1526
|
this.props.onClose && (React__namespace.default.createElement(FlexCell, { shrink: 0, width: "auto" },
|
|
1570
|
-
React__namespace.default.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: ForwardRef$
|
|
1527
|
+
React__namespace.default.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: ForwardRef$R, onClick: this.props.onClose })))));
|
|
1571
1528
|
}
|
|
1572
1529
|
}
|
|
1573
1530
|
class ModalFooter extends React__namespace.default.Component {
|
|
1574
1531
|
render() {
|
|
1575
1532
|
return (React__namespace.default.createElement(FlexRow, { columnGap: this.props.columnGap || '12', cx: [
|
|
1576
|
-
css$
|
|
1577
|
-
css$
|
|
1533
|
+
css$_.root,
|
|
1534
|
+
css$_.modalFooter,
|
|
1578
1535
|
this.props.cx,
|
|
1579
1536
|
], borderTop: this.props.borderTop, padding: this.props.padding || '24', vPadding: this.props.vPadding || '24', rawProps: this.props.rawProps }, this.props.children));
|
|
1580
1537
|
}
|
|
@@ -1721,22 +1678,22 @@ const TREE_SHAKEABLE_INIT = () => (Object.assign(Object.assign({}, uuiCore.i18n)
|
|
|
1721
1678
|
} }));
|
|
1722
1679
|
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
1723
1680
|
|
|
1724
|
-
var _path$
|
|
1725
|
-
function _extends$
|
|
1681
|
+
var _path$u;
|
|
1682
|
+
function _extends$u() { _extends$u = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$u.apply(this, arguments); }
|
|
1726
1683
|
var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
1727
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1684
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
|
|
1728
1685
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1729
1686
|
width: 24,
|
|
1730
1687
|
height: 24,
|
|
1731
1688
|
viewBox: "0 0 24 24",
|
|
1732
1689
|
ref: ref
|
|
1733
|
-
}, props), _path$
|
|
1690
|
+
}, props), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1734
1691
|
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"
|
|
1735
1692
|
})));
|
|
1736
1693
|
};
|
|
1737
|
-
var ForwardRef$
|
|
1694
|
+
var ForwardRef$u = /*#__PURE__*/React.forwardRef(SvgNotificationHelpFill);
|
|
1738
1695
|
|
|
1739
|
-
var css$
|
|
1696
|
+
var css$Z = {"uui-typography":"BJT4Ga","uuiTypography":"BJT4Ga","hero-header":"onxFU4","heroHeader":"onxFU4","promo-header":"G2R4Ye","promoHeader":"G2R4Ye","uui-critical":"XSCgTG","uuiCritical":"XSCgTG","uui-info":"fY8wTf","uuiInfo":"fY8wTf","uui-success":"-Lx0i7","uuiSuccess":"-Lx0i7","uui-warning":"liVTsM","uuiWarning":"liVTsM","uui-highlight":"b7spcI","uuiHighlight":"b7spcI","uui-typography-size-12":"jqihgi","uuiTypographySize12":"jqihgi","uui-typography-size-14":"-S1ZPY","uuiTypographySize14":"-S1ZPY","uui-typography-size-16":"iehGRS","uuiTypographySize16":"iehGRS","root":"cQjQsj","icon-wrapper":"SgADQu","iconWrapper":"SgADQu","action-wrapper":"CgejM8","actionWrapper":"CgejM8","action-link":"_68L8Kf","actionLink":"_68L8Kf","close-icon":"RFYjNa","closeIcon":"RFYjNa","main-path":"_1BtyvV","mainPath":"_1BtyvV","content":"G3C2zJ","close-wrapper":"VqzVi-","closeWrapper":"VqzVi-","notification-wrapper":"CNKzL9","notificationWrapper":"CNKzL9","clear-button":"-W8dut","clearButton":"-W8dut"};
|
|
1740
1697
|
|
|
1741
1698
|
const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
1742
1699
|
const notificationCardNode = React__namespace.default.useRef(null);
|
|
@@ -1751,27 +1708,27 @@ const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((pro
|
|
|
1751
1708
|
(_b = notificationCardNode.current) === null || _b === void 0 ? void 0 : _b.removeEventListener('mouseleave', props.refreshTimer);
|
|
1752
1709
|
};
|
|
1753
1710
|
}, []);
|
|
1754
|
-
return (React__namespace.default.createElement("div", Object.assign({ role: "alert", className: cx__default.default('uui-notification_card', props.color && `uui-color-${props.color}`, css$
|
|
1755
|
-
React__namespace.default.createElement("div", { className: css$
|
|
1756
|
-
props.icon && (React__namespace.default.createElement("div", { className: css$
|
|
1711
|
+
return (React__namespace.default.createElement("div", Object.assign({ role: "alert", className: cx__default.default('uui-notification_card', props.color && `uui-color-${props.color}`, css$Z.root, props.cx), ref: notificationCardNode }, props.rawProps),
|
|
1712
|
+
React__namespace.default.createElement("div", { className: css$Z.mainPath },
|
|
1713
|
+
props.icon && (React__namespace.default.createElement("div", { className: css$Z.iconWrapper },
|
|
1757
1714
|
React__namespace.default.createElement(uuiComponents.IconContainer, { size: 24, icon: props.icon }))),
|
|
1758
|
-
React__namespace.default.createElement("div", { className: css$
|
|
1715
|
+
React__namespace.default.createElement("div", { className: css$Z.content },
|
|
1759
1716
|
props.children,
|
|
1760
|
-
props.actions && (React__namespace.default.createElement("div", { className: css$
|
|
1761
|
-
props.onClose && (React__namespace.default.createElement("div", { className: css$
|
|
1762
|
-
React__namespace.default.createElement(IconButton, { icon: ForwardRef$
|
|
1717
|
+
props.actions && (React__namespace.default.createElement("div", { className: css$Z.actionWrapper }, props.actions.map((action) => (React__namespace.default.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$Z.actionLink, size: "36", rawProps: action.rawProps })))))),
|
|
1718
|
+
props.onClose && (React__namespace.default.createElement("div", { className: css$Z.closeWrapper },
|
|
1719
|
+
React__namespace.default.createElement(IconButton, { icon: ForwardRef$R, color: "neutral", onClick: props.onClose, cx: css$Z.closeIcon }))))));
|
|
1763
1720
|
});
|
|
1764
|
-
const WarningNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1765
|
-
const SuccessNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1766
|
-
const HintNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1767
|
-
const ErrorNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1721
|
+
const WarningNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$z, color: "warning" }, props, { ref: ref, cx: props.cx }))));
|
|
1722
|
+
const SuccessNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$A, color: "success" }, props, { ref: ref, cx: props.cx }))));
|
|
1723
|
+
const HintNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$u, color: "info" }, props, { ref: ref, cx: props.cx }))));
|
|
1724
|
+
const ErrorNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$y, color: "error" }, props, { ref: ref, cx: props.cx }))));
|
|
1768
1725
|
function ClearNotification() {
|
|
1769
1726
|
const uuiCtx = uuiCore.useUuiContext();
|
|
1770
|
-
return (React__namespace.default.createElement("div", { className: cx__default.default(css$
|
|
1727
|
+
return (React__namespace.default.createElement("div", { className: cx__default.default(css$Z.notificationWrapper, css$Z.clearButton) },
|
|
1771
1728
|
React__namespace.default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
|
|
1772
1729
|
}
|
|
1773
1730
|
|
|
1774
|
-
var css$
|
|
1731
|
+
var css$Y = {"footer":"ZiE-I1"};
|
|
1775
1732
|
|
|
1776
1733
|
class ConfirmationModal extends React__namespace.Component {
|
|
1777
1734
|
render() {
|
|
@@ -1783,7 +1740,7 @@ class ConfirmationModal extends React__namespace.Component {
|
|
|
1783
1740
|
React__namespace.createElement(ModalWindow, { width: 420 },
|
|
1784
1741
|
React__namespace.createElement(ModalHeader, { borderBottom: true, title: this.props.caption, onClose: () => this.props.abort() }),
|
|
1785
1742
|
React__namespace.createElement(ScrollBars, null, bodyContent),
|
|
1786
|
-
React__namespace.createElement(ModalFooter, { cx: css$
|
|
1743
|
+
React__namespace.createElement(ModalFooter, { cx: css$Y.footer },
|
|
1787
1744
|
this.props.hideCancelButton || (React__namespace.createElement(Button, { caption: i18n.form.modals.discardButton, onClick: () => this.props.success(false), fill: "outline", color: "secondary" })),
|
|
1788
1745
|
React__namespace.createElement(Button, { caption: i18n.form.modals.saveButton, onClick: () => this.props.success(true), color: "primary" })))));
|
|
1789
1746
|
}
|
|
@@ -1813,7 +1770,7 @@ function useReliableForceUpdate() {
|
|
|
1813
1770
|
return red[1];
|
|
1814
1771
|
}
|
|
1815
1772
|
|
|
1816
|
-
var css$
|
|
1773
|
+
var css$X = {"root":"_8lNo6Q","timepicker-input":"hGynS5","timepickerInput":"hGynS5","ltr-always":"EaNOsO","ltrAlways":"EaNOsO"};
|
|
1817
1774
|
|
|
1818
1775
|
const uuiTimePicker = {
|
|
1819
1776
|
container: 'uui-timepicker-container',
|
|
@@ -1852,23 +1809,23 @@ function TimePickerBody(props) {
|
|
|
1852
1809
|
const minutesToSubtract = value.minute() % minutesStep === 0 ? minutesStep : value.minute() % minutesStep;
|
|
1853
1810
|
onMinutesChange(value.subtract(minutesToSubtract, 'm').minute());
|
|
1854
1811
|
};
|
|
1855
|
-
return (React__namespace.createElement("div", Object.assign({ className: uuiCore.cx(css$
|
|
1856
|
-
React__namespace.createElement("div", { className: css$
|
|
1812
|
+
return (React__namespace.createElement("div", Object.assign({ className: uuiCore.cx(css$X.root, uuiTimePicker.container, props.cx), ref: props.forwardedRef }, props.rawProps),
|
|
1813
|
+
React__namespace.createElement("div", { className: css$X.ltrAlways },
|
|
1857
1814
|
React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
1858
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment hours' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$
|
|
1815
|
+
React__namespace.createElement(uuiComponents.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()) }),
|
|
1859
1816
|
React__namespace.createElement(uuiComponents.NumericInput, { cx: uuiTimePicker.input, onValueChange: onHoursChange, value: +(uuiDayjs.dayjs()
|
|
1860
1817
|
.set(props.value)
|
|
1861
1818
|
.format(MAX_HOURS === FORMAT_12H ? 'hh' : 'HH')), min: MIN_HOURS, max: MAX_HOURS }),
|
|
1862
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement hours' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$
|
|
1819
|
+
React__namespace.createElement(uuiComponents.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()) })),
|
|
1863
1820
|
React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
1864
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment minutes' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$
|
|
1821
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment minutes' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$Q, onClick: handleMinutesUpClick }),
|
|
1865
1822
|
React__namespace.createElement(uuiComponents.NumericInput, { cx: uuiTimePicker.input, onValueChange: onMinutesChange, value: +uuiDayjs.dayjs().set(props.value).format('m'), min: MIN_MINUTES, max: MAX_MINUTES }),
|
|
1866
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement minutes' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$
|
|
1823
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement minutes' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$Q, onClick: handleMinutesDownClick }))),
|
|
1867
1824
|
MAX_HOURS === FORMAT_12H && (React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
1868
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, cx: uuiTimePicker.iconUp, icon: ForwardRef$
|
|
1825
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, cx: uuiTimePicker.iconUp, icon: ForwardRef$Q, onClick: onTimeTypeChange }),
|
|
1869
1826
|
React__namespace.createElement(uuiComponents.TextInput, { cx: uuiTimePicker.input, onValueChange: () => {
|
|
1870
1827
|
}, isReadonly: true, value: uuiDayjs.dayjs().set(props.value).format('A') }),
|
|
1871
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, cx: uuiTimePicker.iconDown, icon: ForwardRef$
|
|
1828
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, cx: uuiTimePicker.iconDown, icon: ForwardRef$Q, onClick: onTimeTypeChange })))));
|
|
1872
1829
|
}
|
|
1873
1830
|
|
|
1874
1831
|
const getMeridian = (newValue, format) => {
|
|
@@ -1995,7 +1952,7 @@ function TimePicker(props) {
|
|
|
1995
1952
|
};
|
|
1996
1953
|
const renderInput = (inputProps) => {
|
|
1997
1954
|
var _a;
|
|
1998
|
-
return (React__namespace.default.createElement(TextInput, Object.assign({}, inputProps, { onClick: null, size: props.size || '36', isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, cx: [css$
|
|
1955
|
+
return (React__namespace.default.createElement(TextInput, Object.assign({}, inputProps, { onClick: null, size: props.size || '36', isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, cx: [css$X.root, css$X.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 })));
|
|
1999
1956
|
};
|
|
2000
1957
|
const renderBody = (bodyProps) => {
|
|
2001
1958
|
var _a;
|
|
@@ -2006,22 +1963,52 @@ function TimePicker(props) {
|
|
|
2006
1963
|
return (React__namespace.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 }));
|
|
2007
1964
|
}
|
|
2008
1965
|
|
|
2009
|
-
var css$
|
|
1966
|
+
var css$W = {"root":"_--uM47"};
|
|
2010
1967
|
|
|
2011
1968
|
function applyInputAddonMods() {
|
|
2012
1969
|
return [
|
|
2013
|
-
css$
|
|
1970
|
+
css$W.root,
|
|
2014
1971
|
];
|
|
2015
1972
|
}
|
|
2016
1973
|
const InputAddon = /* @__PURE__ */uuiCore.withMods(uuiComponents.InputAddon, applyInputAddonMods);
|
|
2017
1974
|
|
|
2018
|
-
var css$
|
|
1975
|
+
var css$V = {"root":"aKGPxT"};
|
|
2019
1976
|
|
|
2020
1977
|
function applySliderMods() {
|
|
2021
|
-
return [css$
|
|
1978
|
+
return [css$V.root, 'uui-color-neutral'];
|
|
2022
1979
|
}
|
|
2023
1980
|
const Slider = /* @__PURE__ */uuiCore.withMods(uuiComponents.Slider, applySliderMods);
|
|
2024
1981
|
|
|
1982
|
+
var _path$t;
|
|
1983
|
+
function _extends$t() { _extends$t = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$t.apply(this, arguments); }
|
|
1984
|
+
var SvgStarFilled = function SvgStarFilled(props, ref) {
|
|
1985
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
|
|
1986
|
+
width: 24,
|
|
1987
|
+
height: 24,
|
|
1988
|
+
viewBox: "0 0 24 24",
|
|
1989
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1990
|
+
ref: ref
|
|
1991
|
+
}, props), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1992
|
+
fillRule: "evenodd",
|
|
1993
|
+
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"
|
|
1994
|
+
})));
|
|
1995
|
+
};
|
|
1996
|
+
var ForwardRef$t = /*#__PURE__*/React.forwardRef(SvgStarFilled);
|
|
1997
|
+
|
|
1998
|
+
var css$U = {"root":"Sgbu2C","tooltip":"Nit79W"};
|
|
1999
|
+
|
|
2000
|
+
function applyRatingMods(mods) {
|
|
2001
|
+
return [
|
|
2002
|
+
css$U.root,
|
|
2003
|
+
`uui-size-${mods.size || settings.sizes.defaults.rating}`,
|
|
2004
|
+
];
|
|
2005
|
+
}
|
|
2006
|
+
const Rating = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Rating, applyRatingMods, (props) => ({
|
|
2007
|
+
filledStarIcon: props.icon || ForwardRef$t,
|
|
2008
|
+
emptyStarIcon: props.icon || ForwardRef$t,
|
|
2009
|
+
Tooltip,
|
|
2010
|
+
}));
|
|
2011
|
+
|
|
2025
2012
|
const defaultFormat = 'MMM D, YYYY';
|
|
2026
2013
|
const valueFormat = 'YYYY-MM-DD';
|
|
2027
2014
|
const supportedDateFormats = (format) => {
|
|
@@ -2150,7 +2137,7 @@ const getNextYearsList = (currentDate) => {
|
|
|
2150
2137
|
return currentDate.add(16, 'year');
|
|
2151
2138
|
};
|
|
2152
2139
|
|
|
2153
|
-
var css$
|
|
2140
|
+
var css$T = {"root":"szxv-D","container":"w2rfmQ"};
|
|
2154
2141
|
|
|
2155
2142
|
const uuiHeader = {
|
|
2156
2143
|
container: 'uui-datepicker-header-container',
|
|
@@ -2227,21 +2214,21 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2227
2214
|
}, [view, month]);
|
|
2228
2215
|
const disablePrev = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getPrevYearsList(month));
|
|
2229
2216
|
const disableNext = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getNextYearsList(month));
|
|
2230
|
-
return (React__namespace.createElement("div", { className: cx__default.default(css$
|
|
2217
|
+
return (React__namespace.createElement("div", { className: cx__default.default(css$T.root, uuiHeader.container, cx__default.default) },
|
|
2231
2218
|
React__namespace.createElement("header", { className: uuiHeader.headerNav },
|
|
2232
|
-
React__namespace.createElement(Button, { icon: navIconLeft || ForwardRef$
|
|
2219
|
+
React__namespace.createElement(Button, { icon: navIconLeft || ForwardRef$w, color: "secondary", fill: "ghost", cx: uuiHeader.navIconLeft, onClick: !isDisabled && (() => onLeftNavigationArrow()), isDisabled: disablePrev }),
|
|
2233
2220
|
React__namespace.createElement(Button, { caption: title, fill: "ghost", cx: uuiHeader.navTitle, onClick: !isDisabled && (() => onCaptionClick(view)) }),
|
|
2234
|
-
React__namespace.createElement(Button, { icon: navIconRight || ForwardRef$
|
|
2221
|
+
React__namespace.createElement(Button, { icon: navIconRight || ForwardRef$v, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
|
|
2235
2222
|
}
|
|
2236
2223
|
|
|
2237
|
-
var css$
|
|
2224
|
+
var css$S = {"uui-typography":"yVjM1c","uuiTypography":"yVjM1c","hero-header":"umDTgw","heroHeader":"umDTgw","promo-header":"qaZfMT","promoHeader":"qaZfMT","uui-critical":"K-znIq","uuiCritical":"K-znIq","uui-info":"mQAywT","uuiInfo":"mQAywT","uui-success":"Nok88N","uuiSuccess":"Nok88N","uui-warning":"XDsTjB","uuiWarning":"XDsTjB","uui-highlight":"Y0RpfP","uuiHighlight":"Y0RpfP","uui-typography-size-12":"Bl9vR9","uuiTypographySize12":"Bl9vR9","uui-typography-size-14":"iEZedx","uuiTypographySize14":"iEZedx","uui-typography-size-16":"oYGwMX","uuiTypographySize16":"oYGwMX","root":"VMH1iG"};
|
|
2238
2225
|
|
|
2239
2226
|
function applyDateSelectionMods() {
|
|
2240
|
-
return [css$
|
|
2227
|
+
return [css$S.root, `uui-size-${settings.sizes.defaults.datePicker}`];
|
|
2241
2228
|
}
|
|
2242
2229
|
const Calendar = /* @__PURE__ */uuiCore.withMods(uuiComponents.Calendar, applyDateSelectionMods);
|
|
2243
2230
|
|
|
2244
|
-
var css$
|
|
2231
|
+
var css$R = {"uui-typography":"aUSsNZ","uuiTypography":"aUSsNZ","hero-header":"_-17Yio","heroHeader":"_-17Yio","promo-header":"mMyfG7","promoHeader":"mMyfG7","uui-critical":"KsbagP","uuiCritical":"KsbagP","uui-info":"JygviN","uuiInfo":"JygviN","uui-success":"Bhw6jZ","uuiSuccess":"Bhw6jZ","uui-warning":"DnWG8j","uuiWarning":"DnWG8j","uui-highlight":"HyXau-","uuiHighlight":"HyXau-","uui-typography-size-12":"IQaP8B","uuiTypographySize12":"IQaP8B","uui-typography-size-14":"Arx3eF","uuiTypographySize14":"Arx3eF","uui-typography-size-16":"rk-h79","uuiTypographySize16":"rk-h79","root":"LTObrm"};
|
|
2245
2232
|
|
|
2246
2233
|
const uuiDatePickerBody = {
|
|
2247
2234
|
wrapper: 'uui-datepicker-body-wrapper',
|
|
@@ -2285,7 +2272,7 @@ function StatelessDatePickerBodyComp({ renderDay, isHoliday, cx: classes, filter
|
|
|
2285
2272
|
}
|
|
2286
2273
|
};
|
|
2287
2274
|
return (React__namespace.default.createElement("div", Object.assign({ ref: ref, className: uuiCore.cx(uuiDatePickerBodyBase.container, `uui-size-${settings.sizes.defaults.datePicker}`, classes) }, rawProps),
|
|
2288
|
-
React__namespace.default.createElement("div", { className: uuiCore.cx(css$
|
|
2275
|
+
React__namespace.default.createElement("div", { className: uuiCore.cx(css$R.root, uuiDatePickerBody.wrapper) },
|
|
2289
2276
|
React__namespace.default.createElement(DatePickerHeader, { value: {
|
|
2290
2277
|
view,
|
|
2291
2278
|
month,
|
|
@@ -2372,7 +2359,7 @@ function DatePickerComponent(props, ref) {
|
|
|
2372
2359
|
}
|
|
2373
2360
|
const DatePicker = /* @__PURE__ */React__namespace.default.forwardRef(DatePickerComponent);
|
|
2374
2361
|
|
|
2375
|
-
var css$
|
|
2362
|
+
var css$Q = {"uui-typography":"-R4ukp","uuiTypography":"-R4ukp","hero-header":"P3f4SQ","heroHeader":"P3f4SQ","promo-header":"iq-Wcj","promoHeader":"iq-Wcj","uui-critical":"NXynpn","uuiCritical":"NXynpn","uui-info":"CktR8i","uuiInfo":"CktR8i","uui-success":"-IyCeS","uuiSuccess":"-IyCeS","uui-warning":"_5w7ozd","uuiWarning":"_5w7ozd","uui-highlight":"s-AL30","uuiHighlight":"s-AL30","uui-typography-size-12":"JdLIiv","uuiTypographySize12":"JdLIiv","uui-typography-size-14":"szhirX","uuiTypographySize14":"szhirX","uui-typography-size-16":"_6G65Do","uuiTypographySize16":"_6G65Do","date-input":"LfUiBl","dateInput":"LfUiBl","root":"bToO6r","separator":"h9hza2","mode-form":"_17FaqQ","modeForm":"_17FaqQ","mode-cell":"_1New-i","modeCell":"_1New-i"};
|
|
2376
2363
|
|
|
2377
2364
|
const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isInvalid, isReadonly, size, disableClear, rawProps, value, inFocus, format, onValueChange, onFocusInput, onBlurInput, onClick, getPlaceholder, filter, onKeyDown, id, cx: classes, }, ref) => {
|
|
2378
2365
|
const [inputValue, setInputValue] = React.useState(toCustomDateRangeFormat(value, format));
|
|
@@ -2406,15 +2393,15 @@ const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isIn
|
|
|
2406
2393
|
const clearAllowed = !disableClear && inputValue.from && inputValue.to;
|
|
2407
2394
|
return (
|
|
2408
2395
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
2409
|
-
React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(`uui-size-${size || settings.sizes.defaults.rangeDatePicker}`, 'uui-range-date-picker', classes, css$
|
|
2410
|
-
React__namespace.default.createElement(TextInput, { icon: systemIcons.calendar, cx: uuiCore.cx(css$
|
|
2411
|
-
React__namespace.default.createElement("div", { className: css$
|
|
2412
|
-
React__namespace.default.createElement(TextInput, { cx: uuiCore.cx(css$
|
|
2396
|
+
React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(`uui-size-${size || settings.sizes.defaults.rangeDatePicker}`, 'uui-range-date-picker', classes, css$Q.root, isDisabled && uuiCore.uuiMod.disabled, isReadonly && uuiCore.uuiMod.readonly, isInvalid && uuiCore.uuiMod.invalid, inFocus && uuiCore.uuiMod.focus), onKeyDown: onKeyDown },
|
|
2397
|
+
React__namespace.default.createElement(TextInput, { icon: systemIcons.calendar, cx: uuiCore.cx(css$Q.dateInput, inFocus === 'from' && uuiCore.uuiMod.focus), size: size || settings.sizes.defaults.rangeDatePicker, placeholder: getPlaceholder ? getPlaceholder('from') : i18n.rangeDatePicker.pickerPlaceholderFrom, value: inputValue.from || undefined, onValueChange: (v) => onInputChange(v || '', 'from'), onFocus: (event) => handleFocus(event, 'from'), onBlur: (event) => handleBlur(event, 'from'), isInvalid: isInvalid, isDisabled: isDisabled, isReadonly: isReadonly, isDropdown: false, rawProps: rawProps === null || rawProps === void 0 ? void 0 : rawProps.from, onClick: onClick, onKeyDown: onInputKeyDown, id: id }),
|
|
2398
|
+
React__namespace.default.createElement("div", { className: css$Q.separator }),
|
|
2399
|
+
React__namespace.default.createElement(TextInput, { cx: uuiCore.cx(css$Q.dateInput, inFocus === 'to' && uuiCore.uuiMod.focus), placeholder: getPlaceholder ? getPlaceholder('to') : i18n.rangeDatePicker.pickerPlaceholderTo, size: size || settings.sizes.defaults.rangeDatePicker, value: inputValue.to || undefined, onCancel: clearAllowed ? () => {
|
|
2413
2400
|
onValueChange(defaultRangeValue);
|
|
2414
2401
|
} : 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 })));
|
|
2415
2402
|
});
|
|
2416
2403
|
|
|
2417
|
-
var css$
|
|
2404
|
+
var css$P = {"uui-typography":"PQrlUZ","uuiTypography":"PQrlUZ","hero-header":"_-7iuND","heroHeader":"_-7iuND","promo-header":"r2b1AK","promoHeader":"r2b1AK","uui-critical":"yy048r","uuiCritical":"yy048r","uui-info":"cydC7a","uuiInfo":"cydC7a","uui-success":"j5OTwp","uuiSuccess":"j5OTwp","uui-warning":"HgOcoC","uuiWarning":"HgOcoC","uui-highlight":"tm4F0W","uuiHighlight":"tm4F0W","uui-typography-size-12":"FNz65V","uuiTypographySize12":"FNz65V","uui-typography-size-14":"x40xv8","uuiTypographySize14":"x40xv8","uui-typography-size-16":"_9qo9Lj","uuiTypographySize16":"_9qo9Lj","root":"CMjgXr"};
|
|
2418
2405
|
|
|
2419
2406
|
const uuiPresets = {
|
|
2420
2407
|
container: 'uui-presets-container',
|
|
@@ -2425,12 +2412,12 @@ const getPresets = (presets) => {
|
|
|
2425
2412
|
return Object.keys(presets).map((key) => (Object.assign(Object.assign({}, presets[key].getRange()), { name: presets[key].name, key }))).sort((a, b) => a.order - b.order);
|
|
2426
2413
|
};
|
|
2427
2414
|
function CalendarPresets(props) {
|
|
2428
|
-
return (React__namespace.createElement("div", Object.assign({ ref: props.forwardedRef, className: uuiCore.cx(uuiPresets.container, css$
|
|
2415
|
+
return (React__namespace.createElement("div", Object.assign({ ref: props.forwardedRef, className: uuiCore.cx(uuiPresets.container, css$P.root, props.cx) }, props.rawProps),
|
|
2429
2416
|
React__namespace.createElement("div", { className: uuiPresets.header }, "Presets"),
|
|
2430
2417
|
getPresets(props.presets).map((item) => (React__namespace.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: "24" })))));
|
|
2431
2418
|
}
|
|
2432
2419
|
|
|
2433
|
-
var css$
|
|
2420
|
+
var css$O = {"uui-typography":"eiBmCW","uuiTypography":"eiBmCW","hero-header":"piyQax","heroHeader":"piyQax","promo-header":"q1t5dU","promoHeader":"q1t5dU","uui-critical":"md7arB","uuiCritical":"md7arB","uui-info":"_0-d-op","uuiInfo":"_0-d-op","uui-success":"xHWylb","uuiSuccess":"xHWylb","uui-warning":"kCXS3M","uuiWarning":"kCXS3M","uui-highlight":"mndSAg","uuiHighlight":"mndSAg","uui-typography-size-12":"C2-pYU","uuiTypographySize12":"C2-pYU","uui-typography-size-14":"EPSjnu","uuiTypographySize14":"EPSjnu","uui-typography-size-16":"Lf-uR2","uuiTypographySize16":"Lf-uR2","root":"U2JA-f","container":"rNGuSL","day-selection":"_4ix4HF","daySelection":"_4ix4HF","from-picker":"_4K1OeW","fromPicker":"_4K1OeW","to-picker":"v8pPq4","toPicker":"v8pPq4","bodes-wrapper":"nIDU0y","bodesWrapper":"nIDU0y","blocker":"K536mM"};
|
|
2434
2421
|
|
|
2435
2422
|
const uuiRangeDatePickerBody = {
|
|
2436
2423
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -2571,21 +2558,21 @@ function RangeDatePickerBodyComp(props, ref) {
|
|
|
2571
2558
|
});
|
|
2572
2559
|
}, presets: presets })));
|
|
2573
2560
|
};
|
|
2574
|
-
return (React__namespace.default.createElement("div", Object.assign({ ref: ref, className: uuiCore.cx(css$
|
|
2575
|
-
React__namespace.default.createElement(FlexRow, { cx: [view === 'DAY_SELECTION' && css$
|
|
2561
|
+
return (React__namespace.default.createElement("div", Object.assign({ ref: ref, className: uuiCore.cx(css$O.root, uuiDatePickerBodyBase.container, props.cx) }, props.rawProps),
|
|
2562
|
+
React__namespace.default.createElement(FlexRow, { cx: [view === 'DAY_SELECTION' && css$O.daySelection, css$O.container], alignItems: "top" },
|
|
2576
2563
|
React__namespace.default.createElement(FlexCell, { width: "auto" },
|
|
2577
2564
|
React__namespace.default.createElement(FlexRow, null,
|
|
2578
|
-
React__namespace.default.createElement(FlexRow, { cx: css$
|
|
2579
|
-
React__namespace.default.createElement(StatelessDatePickerBody, Object.assign({ key: "date-picker-body-left", cx: uuiCore.cx(css$
|
|
2565
|
+
React__namespace.default.createElement(FlexRow, { cx: css$O.bodesWrapper, alignItems: "top" },
|
|
2566
|
+
React__namespace.default.createElement(StatelessDatePickerBody, Object.assign({ key: "date-picker-body-left", cx: uuiCore.cx(css$O.fromPicker) }, from, { onValueChange: (v) => onBodyValueChange(v, 'from'), onMonthChange: (m) => {
|
|
2580
2567
|
setMonth(m);
|
|
2581
2568
|
}, onViewChange: (v) => setView(v), filter: props.filter, isHoliday: props.isHoliday, renderDay: props.renderDay || renderDay, isDisabled: view !== 'DAY_SELECTION' && activeMonth === 'to' })),
|
|
2582
|
-
React__namespace.default.createElement(StatelessDatePickerBody, Object.assign({ key: "date-picker-body-right", cx: uuiCore.cx(css$
|
|
2569
|
+
React__namespace.default.createElement(StatelessDatePickerBody, Object.assign({ key: "date-picker-body-right", cx: uuiCore.cx(css$O.toPicker) }, to, { onValueChange: (v) => onBodyValueChange(v, 'to'), onMonthChange: (m) => {
|
|
2583
2570
|
setMonth(m.subtract(1, 'month'));
|
|
2584
2571
|
}, onViewChange: (v) => setView(v), filter: props.filter, renderDay: props.renderDay || renderDay, isHoliday: props.isHoliday, isDisabled: view !== 'DAY_SELECTION' && activeMonth === 'from' })),
|
|
2585
2572
|
view !== 'DAY_SELECTION' && (React__namespace.default.createElement("div", { style: {
|
|
2586
2573
|
left: activeMonth === 'from' ? '50%' : undefined,
|
|
2587
2574
|
right: activeMonth === 'to' ? '50%' : undefined,
|
|
2588
|
-
}, className: css$
|
|
2575
|
+
}, className: css$O.blocker }))),
|
|
2589
2576
|
props.presets && renderPresets(props.presets)),
|
|
2590
2577
|
props.renderFooter && props.renderFooter()))));
|
|
2591
2578
|
}
|
|
@@ -2605,7 +2592,7 @@ const getDayCX = (day, selectedDate) => {
|
|
|
2605
2592
|
return [uuiCore.cx(inRange && uuiRangeDatePickerBody.inRange, isFirst && uuiRangeDatePickerBody.firstDayInRangeWrapper, !inRange && isFirst && uuiRangeDatePickerBody.lastDayInRangeWrapper, isLast && uuiRangeDatePickerBody.lastDayInRangeWrapper, !inRange && isLast && uuiRangeDatePickerBody.firstDayInRangeWrapper, (dayValue === fromValue || dayValue === toValue) && uuiComponents.uuiDaySelection.selectedDay)];
|
|
2606
2593
|
};
|
|
2607
2594
|
|
|
2608
|
-
var css$
|
|
2595
|
+
var css$N = {"dropdown-container":"_8EGDM5","dropdownContainer":"_8EGDM5"};
|
|
2609
2596
|
|
|
2610
2597
|
const modifiers = [{
|
|
2611
2598
|
name: 'offset',
|
|
@@ -2652,7 +2639,7 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
2652
2639
|
};
|
|
2653
2640
|
const renderBody = (renderProps) => {
|
|
2654
2641
|
var _a;
|
|
2655
|
-
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, renderProps, { cx: cx__default.default(css$
|
|
2642
|
+
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, renderProps, { cx: cx__default.default(css$N.dropdownContainer), shards: [targetRef], returnFocus: (node) => {
|
|
2656
2643
|
console.log('lock', node);
|
|
2657
2644
|
return true;
|
|
2658
2645
|
} }),
|
|
@@ -2682,22 +2669,66 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
2682
2669
|
}
|
|
2683
2670
|
const RangeDatePicker = /* @__PURE__ */React__namespace.default.forwardRef(RangeDatePickerComponent);
|
|
2684
2671
|
|
|
2685
|
-
var css$
|
|
2672
|
+
var css$M = {"root":"amJHPU","blocker":"J0ttvg","marker":"Us8vLQ","top":"f29Dpz","bottom":"CWYmdx","left":"QNc0Hq","right":"kS015b","inside":"hnFgUs"};
|
|
2686
2673
|
|
|
2687
2674
|
function DropMarker(props) {
|
|
2688
2675
|
return props.isDndInProgress
|
|
2689
2676
|
? (React__namespace.createElement(React__namespace.Fragment, null,
|
|
2690
|
-
props.enableBlocker && React__namespace.createElement("div", { className: css$
|
|
2677
|
+
props.enableBlocker && React__namespace.createElement("div", { className: css$M.blocker }),
|
|
2691
2678
|
React__namespace.createElement("div", { className: cx__default.default([
|
|
2692
|
-
css$
|
|
2693
|
-
css$
|
|
2694
|
-
css$
|
|
2679
|
+
css$M.root,
|
|
2680
|
+
css$M.marker,
|
|
2681
|
+
css$M[props.position],
|
|
2695
2682
|
props === null || props === void 0 ? void 0 : props.cx,
|
|
2696
2683
|
]) })))
|
|
2697
2684
|
: null;
|
|
2698
2685
|
}
|
|
2699
2686
|
|
|
2700
|
-
var css$
|
|
2687
|
+
var css$L = {"root":"pxbV8N","line-height":"J7DtPY","lineHeight":"J7DtPY","font-size":"bDGiEa","fontSize":"bDGiEa"};
|
|
2688
|
+
|
|
2689
|
+
function applyTextMods(mods) {
|
|
2690
|
+
return [
|
|
2691
|
+
css$L.root,
|
|
2692
|
+
'uui-text',
|
|
2693
|
+
`uui-size-${mods.size || settings.sizes.defaults.text}`,
|
|
2694
|
+
(mods.size !== 'none' || mods.lineHeight) && css$L.lineHeight,
|
|
2695
|
+
(mods.size !== 'none' || mods.fontSize) && css$L.fontSize,
|
|
2696
|
+
`uui-color-${mods.color || 'primary'}`,
|
|
2697
|
+
`uui-font-weight-${mods.fontWeight || '400'}`,
|
|
2698
|
+
`uui-font-style-${mods.fontStyle || 'normal'}`,
|
|
2699
|
+
'uui-typography',
|
|
2700
|
+
];
|
|
2701
|
+
}
|
|
2702
|
+
const Text = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Text, applyTextMods, (props) => {
|
|
2703
|
+
var _a;
|
|
2704
|
+
const style = ((_a = props === null || props === void 0 ? void 0 : props.rawProps) === null || _a === void 0 ? void 0 : _a.style) || {};
|
|
2705
|
+
props.fontSize && (style['--uui-text-font-size'] = `${props.fontSize}px`);
|
|
2706
|
+
props.lineHeight && (style['--uui-text-line-height'] = `${props.lineHeight}px`);
|
|
2707
|
+
return {
|
|
2708
|
+
rawProps: Object.assign(Object.assign({}, props === null || props === void 0 ? void 0 : props.rawProps), { style: style }),
|
|
2709
|
+
};
|
|
2710
|
+
});
|
|
2711
|
+
|
|
2712
|
+
var css$K = {"root":"xKLHQC","loading-word":"_07302B","loadingWord":"_07302B","animated-loading":"-PDPj9","animatedLoading":"-PDPj9","skeleton_loading":"_1G6SuV","skeletonLoading":"_1G6SuV"};
|
|
2713
|
+
|
|
2714
|
+
const TextPlaceholder = (props) => {
|
|
2715
|
+
const pattern = ' ';
|
|
2716
|
+
const text = React__namespace.useMemo(() => {
|
|
2717
|
+
const words = [];
|
|
2718
|
+
for (let i = 0; i < (props.wordsCount || 1); i++) {
|
|
2719
|
+
const lengthWord = Math.floor(Math.random() * 10 + 8);
|
|
2720
|
+
words.push(pattern.repeat(lengthWord));
|
|
2721
|
+
}
|
|
2722
|
+
return words;
|
|
2723
|
+
}, [props.wordsCount]);
|
|
2724
|
+
return (React__namespace.createElement("div", Object.assign({ "aria-busy": true, className: cx__default.default(css$K.root, 'uui-text-placeholder') }, props.rawProps), text.map((it, index) => (React__namespace.createElement("span", { key: index, className: cx__default.default([
|
|
2725
|
+
props.cx, css$K.loadingWord, !props.isNotAnimated && css$K.animatedLoading,
|
|
2726
|
+
]), dangerouslySetInnerHTML: { __html: it } })))));
|
|
2727
|
+
};
|
|
2728
|
+
|
|
2729
|
+
const RichTextView = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || '14'}`]);
|
|
2730
|
+
|
|
2731
|
+
var css$J = {"uui-typography":"IUYT8q","uuiTypography":"IUYT8q","hero-header":"v9yLmi","heroHeader":"v9yLmi","promo-header":"pMtXMA","promoHeader":"pMtXMA","uui-critical":"hCnP9W","uuiCritical":"hCnP9W","uui-info":"wrElQl","uuiInfo":"wrElQl","uui-success":"VFcyTw","uuiSuccess":"VFcyTw","uui-warning":"Jm06oh","uuiWarning":"Jm06oh","uui-highlight":"IxaFVr","uuiHighlight":"IxaFVr","uui-typography-size-12":"_5GQdfx","uuiTypographySize12":"_5GQdfx","uui-typography-size-14":"-t8c-f","uuiTypographySize14":"-t8c-f","uui-typography-size-16":"ZNNh2J","uuiTypographySize16":"ZNNh2J","modal":"yf4IP9","search-wrapper":"ul4kUn","searchWrapper":"ul4kUn","no-data":"AEf2C6","noData":"AEf2C6","type-search-to-load-size-24":"nRjCYN","typeSearchToLoadSize24":"nRjCYN"};
|
|
2701
2732
|
|
|
2702
2733
|
class DataPickerBody extends uuiComponents.PickerBodyBase {
|
|
2703
2734
|
constructor() {
|
|
@@ -2745,7 +2776,7 @@ class DataPickerBody extends uuiComponents.PickerBodyBase {
|
|
|
2745
2776
|
}
|
|
2746
2777
|
}
|
|
2747
2778
|
|
|
2748
|
-
var css$I = {"footer":"
|
|
2779
|
+
var css$I = {"footer":"jsrYpw"};
|
|
2749
2780
|
|
|
2750
2781
|
function DataPickerFooterImpl(props) {
|
|
2751
2782
|
const { search, clearSelection, view, showSelected, selectionMode, isSearchTooShort, } = props;
|
|
@@ -2770,13 +2801,13 @@ function DataPickerFooterImpl(props) {
|
|
|
2770
2801
|
}
|
|
2771
2802
|
const DataPickerFooter = /* @__PURE__ */React__namespace.default.memo(DataPickerFooterImpl);
|
|
2772
2803
|
|
|
2773
|
-
var css$H = {"header":"
|
|
2804
|
+
var css$H = {"header":"_9-GjJD","title":"wlsnYy","close":"JSP4n1"};
|
|
2774
2805
|
|
|
2775
2806
|
const DataPickerHeaderImpl = (props) => {
|
|
2776
2807
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
2777
2808
|
return (React__namespace.default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$H.header },
|
|
2778
2809
|
React__namespace.default.createElement(Text, { size: settings.sizes.pickerInput.body.mobile.header.titleSize, cx: css$H.title }, title),
|
|
2779
|
-
React__namespace.default.createElement(IconButton, { icon: ForwardRef$
|
|
2810
|
+
React__namespace.default.createElement(IconButton, { icon: ForwardRef$R, onClick: () => { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$H.close })));
|
|
2780
2811
|
};
|
|
2781
2812
|
const DataPickerHeader = /* @__PURE__ */React__namespace.default.memo(DataPickerHeaderImpl);
|
|
2782
2813
|
|
|
@@ -2795,7 +2826,7 @@ var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
|
2795
2826
|
};
|
|
2796
2827
|
var ForwardRef$s = /*#__PURE__*/React.forwardRef(SvgNotificationDoneFill);
|
|
2797
2828
|
|
|
2798
|
-
var css$G = {"uui-typography":"
|
|
2829
|
+
var css$G = {"uui-typography":"ftoqeT","uuiTypography":"ftoqeT","hero-header":"TZXufz","heroHeader":"TZXufz","promo-header":"rKVz6H","promoHeader":"rKVz6H","uui-critical":"ttj0oX","uuiCritical":"ttj0oX","uui-info":"p-u4HK","uuiInfo":"p-u4HK","uui-success":"j8uB7S","uuiSuccess":"j8uB7S","uui-warning":"Enc7KB","uuiWarning":"Enc7KB","uui-highlight":"NnPErn","uuiHighlight":"NnPErn","uui-typography-size-12":"RXyDR3","uuiTypographySize12":"RXyDR3","uui-typography-size-14":"t9K14N","uuiTypographySize14":"t9K14N","uui-typography-size-16":"s8bzMC","uuiTypographySize16":"s8bzMC","root":"_1XKLH4","align-widgets-top":"_3nFqes","alignWidgetsTop":"_3nFqes","align-widgets-center":"Z7KV92","alignWidgetsCenter":"Z7KV92","icon-container":"CDTwyo","iconContainer":"CDTwyo","loading-cell":"ikZeHN","loadingCell":"ikZeHN","content-wrapper":"r37x-E","contentWrapper":"r37x-E","render-item":"omEOf9","renderItem":"omEOf9","icon-wrapper":"PlP8--","iconWrapper":"PlP8--","icon-default":"BNMDdu","iconDefault":"BNMDdu","selected-mark":"n74ywA","selectedMark":"n74ywA"};
|
|
2799
2830
|
|
|
2800
2831
|
function DataPickerCell(props) {
|
|
2801
2832
|
const ref = React__namespace.useRef();
|
|
@@ -2814,7 +2845,7 @@ function DataPickerCell(props) {
|
|
|
2814
2845
|
props.renderItem(props.rowProps.value, props.rowProps),
|
|
2815
2846
|
React__namespace.createElement(uuiComponents.FlexSpacer, null),
|
|
2816
2847
|
(props.rowProps.isChildrenSelected || props.rowProps.isSelected) && (React__namespace.createElement("div", { className: uuiCore.cx(css$G.iconWrapper, uuiCore.uuiMod.selected) },
|
|
2817
|
-
React__namespace.createElement(uuiComponents.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$
|
|
2848
|
+
React__namespace.createElement(uuiComponents.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$G.iconDefault : css$G.selectedMark, rawProps: { 'aria-label': props.rowProps.isChildrenSelected
|
|
2818
2849
|
? 'Child is selected'
|
|
2819
2850
|
: 'Selected' } })))));
|
|
2820
2851
|
}
|
|
@@ -2832,7 +2863,7 @@ function DataPickerCell(props) {
|
|
|
2832
2863
|
getWrappedContent()));
|
|
2833
2864
|
}
|
|
2834
2865
|
|
|
2835
|
-
var css$F = {"uui-typography":"
|
|
2866
|
+
var css$F = {"uui-typography":"qkK8TA","uuiTypography":"qkK8TA","hero-header":"pZHAFs","heroHeader":"pZHAFs","promo-header":"Sp2wrG","promoHeader":"Sp2wrG","uui-critical":"sfYtT-","uuiCritical":"sfYtT-","uui-info":"n59E05","uuiInfo":"n59E05","uui-success":"QcXceC","uuiSuccess":"QcXceC","uui-warning":"FzgzHW","uuiWarning":"FzgzHW","uui-highlight":"PSDki4","uuiHighlight":"PSDki4","uui-typography-size-12":"_6JV5dY","uuiTypographySize12":"_6JV5dY","uui-typography-size-14":"XGy1RU","uuiTypographySize14":"XGy1RU","uui-typography-size-16":"_9I-Kmo","uuiTypographySize16":"_9I-Kmo","picker-row":"ECXD70","pickerRow":"ECXD70"};
|
|
2836
2867
|
|
|
2837
2868
|
class DataPickerRow extends React__namespace.Component {
|
|
2838
2869
|
constructor() {
|
|
@@ -2846,7 +2877,7 @@ class DataPickerRow extends React__namespace.Component {
|
|
|
2846
2877
|
}
|
|
2847
2878
|
}
|
|
2848
2879
|
|
|
2849
|
-
var css$E = {"uui-typography":"
|
|
2880
|
+
var css$E = {"uui-typography":"_5VuYHA","uuiTypography":"_5VuYHA","hero-header":"_9-1GvG","heroHeader":"_9-1GvG","promo-header":"Tnfxa7","promoHeader":"Tnfxa7","uui-critical":"M4jw-f","uuiCritical":"M4jw-f","uui-info":"_9Ytvj0","uuiInfo":"_9Ytvj0","uui-success":"ZVfVIK","uuiSuccess":"ZVfVIK","uui-warning":"_97of9P","uuiWarning":"_97of9P","uui-highlight":"UR2Bzt","uuiHighlight":"UR2Bzt","uui-typography-size-12":"_9s7gCE","uuiTypographySize12":"_9s7gCE","uui-typography-size-14":"_5iY75R","uuiTypographySize14":"_5iY75R","uui-typography-size-16":"nyOC7G","uuiTypographySize16":"nyOC7G","done":"NeYQx4","container":"DvjV1V"};
|
|
2850
2881
|
|
|
2851
2882
|
const PickerBodyMobileView = (props) => {
|
|
2852
2883
|
const isMobileView = uuiCore.isMobile();
|
|
@@ -2880,7 +2911,7 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
|
2880
2911
|
};
|
|
2881
2912
|
var ForwardRef$r = /*#__PURE__*/React.forwardRef(SvgSearchWithBackground);
|
|
2882
2913
|
|
|
2883
|
-
var css$D = {"uui-typography":"
|
|
2914
|
+
var css$D = {"uui-typography":"O2O9Yv","uuiTypography":"O2O9Yv","hero-header":"_08Ld6-","heroHeader":"_08Ld6-","promo-header":"Xl6xgZ","promoHeader":"Xl6xgZ","uui-critical":"VAiTSx","uuiCritical":"VAiTSx","uui-info":"ViaoWI","uuiInfo":"ViaoWI","uui-success":"nqEZPy","uuiSuccess":"nqEZPy","uui-warning":"HPGzrX","uuiWarning":"HPGzrX","uui-highlight":"L2e7vz","uuiHighlight":"L2e7vz","uui-typography-size-12":"qjs--8","uuiTypographySize12":"qjs--8","uui-typography-size-14":"Kvb2CS","uuiTypographySize14":"Kvb2CS","uui-typography-size-16":"OQlShX","uuiTypographySize16":"OQlShX","sub-header-wrapper":"fXUWhf","subHeaderWrapper":"fXUWhf","switch":"hjhh40","no-found-modal-container":"_8MsYtS","noFoundModalContainer":"_8MsYtS","no-found-modal-container-icon":"P3HeZu","noFoundModalContainerIcon":"P3HeZu","no-found-modal-container-text":"NlEvrD","noFoundModalContainerText":"NlEvrD"};
|
|
2884
2915
|
|
|
2885
2916
|
const mergeHighlightRanges = (ranges) => {
|
|
2886
2917
|
const mergedRanges = [];
|
|
@@ -2947,7 +2978,7 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
2947
2978
|
return getDecoratedText(str, ranges);
|
|
2948
2979
|
};
|
|
2949
2980
|
|
|
2950
|
-
var css$C = {"root":"
|
|
2981
|
+
var css$C = {"root":"nIqccQ","column-gap":"r-acSI","columnGap":"r-acSI","multiline":"FweHeM","text":"Z-PORy"};
|
|
2951
2982
|
|
|
2952
2983
|
function PickerItem(props) {
|
|
2953
2984
|
var _a;
|
|
@@ -3022,7 +3053,7 @@ function PickerModal(props) {
|
|
|
3022
3053
|
React__namespace.default.createElement(ModalFooter, { padding: "24", vPadding: "24" }, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
3023
3054
|
}
|
|
3024
3055
|
|
|
3025
|
-
var css$B = {"tooltip":"
|
|
3056
|
+
var css$B = {"tooltip":"gCXaJa"};
|
|
3026
3057
|
|
|
3027
3058
|
const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
3028
3059
|
var _a;
|
|
@@ -3037,7 +3068,7 @@ const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
3037
3068
|
}
|
|
3038
3069
|
});
|
|
3039
3070
|
|
|
3040
|
-
var css$A = {"uui-typography":"
|
|
3071
|
+
var css$A = {"uui-typography":"zvw7k8","uuiTypography":"zvw7k8","hero-header":"sHkmMR","heroHeader":"sHkmMR","promo-header":"xjS5jn","promoHeader":"xjS5jn","uui-critical":"IhPZ3p","uuiCritical":"IhPZ3p","uui-info":"vMlzMW","uuiInfo":"vMlzMW","uui-success":"_8Xh-jv","uuiSuccess":"_8Xh-jv","uui-warning":"VzeSu9","uuiWarning":"VzeSu9","uui-highlight":"UPo2Zc","uuiHighlight":"UPo2Zc","uui-typography-size-12":"gwNjwH","uuiTypographySize12":"gwNjwH","uui-typography-size-14":"SjKGPM","uuiTypographySize14":"SjKGPM","uui-typography-size-16":"sBE35t","uuiTypographySize16":"sBE35t","root":"ShPHNh","mode-form":"JFKtBt","modeForm":"JFKtBt","mode-cell":"FfkBal","modeCell":"FfkBal","mode-inline":"CI1XLX","modeInline":"CI1XLX"};
|
|
3041
3072
|
|
|
3042
3073
|
const defaultMode = EditMode.FORM;
|
|
3043
3074
|
function applyPickerTogglerMods(mods) {
|
|
@@ -3134,7 +3165,7 @@ function PickerInputComponent(_a, ref) {
|
|
|
3134
3165
|
}
|
|
3135
3166
|
const PickerInput = /* @__PURE__ */React__namespace.default.forwardRef(PickerInputComponent);
|
|
3136
3167
|
|
|
3137
|
-
var css$z = {"row":"
|
|
3168
|
+
var css$z = {"row":"l7xfMW"};
|
|
3138
3169
|
|
|
3139
3170
|
function PickerListItem(props) {
|
|
3140
3171
|
var _a;
|
|
@@ -3155,7 +3186,7 @@ function PickerListItem(props) {
|
|
|
3155
3186
|
return (React__namespace.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$z.row }), component));
|
|
3156
3187
|
}
|
|
3157
3188
|
|
|
3158
|
-
var css$y = {"root":"
|
|
3189
|
+
var css$y = {"root":"sGLTPF"};
|
|
3159
3190
|
|
|
3160
3191
|
function PickerList(props) {
|
|
3161
3192
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, dataSourceState, getModalTogglerCaption, } = uuiComponents.usePickerList(props);
|
|
@@ -3190,7 +3221,7 @@ function PickerList(props) {
|
|
|
3190
3221
|
}, selectedRows)));
|
|
3191
3222
|
}
|
|
3192
3223
|
|
|
3193
|
-
var css$x = {"uui-typography":"
|
|
3224
|
+
var css$x = {"uui-typography":"jVO8Qs","uuiTypography":"jVO8Qs","hero-header":"rGwWFS","heroHeader":"rGwWFS","promo-header":"bxuVH7","promoHeader":"bxuVH7","uui-critical":"sxAC4T","uuiCritical":"sxAC4T","uui-info":"OPMr-G","uuiInfo":"OPMr-G","uui-success":"_30FFQ9","uuiSuccess":"_30FFQ9","uui-warning":"pdUnGa","uuiWarning":"pdUnGa","uui-highlight":"BhAKXa","uuiHighlight":"BhAKXa","uui-typography-size-12":"s-8Idg","uuiTypographySize12":"s-8Idg","uui-typography-size-14":"_4Soimw","uuiTypographySize14":"_4Soimw","uui-typography-size-16":"GJDr49","uuiTypographySize16":"GJDr49","root":"gF-oYQ","wrapper":"MusYVu","align-widgets-top":"BzCWbF","alignWidgetsTop":"BzCWbF","align-widgets-center":"F4K3Nc","alignWidgetsCenter":"F4K3Nc"};
|
|
3194
3225
|
|
|
3195
3226
|
function DataTableCell(initialProps) {
|
|
3196
3227
|
const props = Object.assign({}, initialProps);
|
|
@@ -3239,7 +3270,7 @@ function DataTableCell(initialProps) {
|
|
|
3239
3270
|
return React__namespace.createElement(uuiComponents.DataTableCell, Object.assign({}, props));
|
|
3240
3271
|
}
|
|
3241
3272
|
|
|
3242
|
-
var css$w = {"uui-typography":"
|
|
3273
|
+
var css$w = {"uui-typography":"IGqwPJ","uuiTypography":"IGqwPJ","hero-header":"-fYpv5","heroHeader":"-fYpv5","promo-header":"O2rMRJ","promoHeader":"O2rMRJ","uui-critical":"FDYQUR","uuiCritical":"FDYQUR","uui-info":"_4XCAy8","uuiInfo":"_4XCAy8","uui-success":"L7GsH0","uuiSuccess":"L7GsH0","uui-warning":"_29k0X2","uuiWarning":"_29k0X2","uui-highlight":"JWZloF","uuiHighlight":"JWZloF","uui-typography-size-12":"ydvdmM","uuiTypographySize12":"ydvdmM","uui-typography-size-14":"Rjq7Mu","uuiTypographySize14":"Rjq7Mu","uui-typography-size-16":"wJcvx4","uuiTypographySize16":"wJcvx4","root":"ZvoHuY"};
|
|
3243
3274
|
|
|
3244
3275
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3245
3276
|
// 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.
|
|
@@ -3255,7 +3286,7 @@ const DataTableRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableRow,
|
|
|
3255
3286
|
];
|
|
3256
3287
|
}, () => propsMods);
|
|
3257
3288
|
|
|
3258
|
-
var css$v = {"uui-typography":"
|
|
3289
|
+
var css$v = {"uui-typography":"dmA7C-","uuiTypography":"dmA7C-","hero-header":"BUi5JU","heroHeader":"BUi5JU","promo-header":"sN1It-","promoHeader":"sN1It-","uui-critical":"PnOkK5","uuiCritical":"PnOkK5","uui-info":"Exmyma","uuiInfo":"Exmyma","uui-success":"mSL2UK","uuiSuccess":"mSL2UK","uui-warning":"_5uPiJW","uuiWarning":"_5uPiJW","uui-highlight":"MV7G09","uuiHighlight":"MV7G09","uui-typography-size-12":"H8AVPM","uuiTypographySize12":"H8AVPM","uui-typography-size-14":"HrZX2p","uuiTypographySize14":"HrZX2p","uui-typography-size-16":"U-Vk76","uuiTypographySize16":"U-Vk76","sorting-panel-container":"q0XLwx","sortingPanelContainer":"q0XLwx"};
|
|
3259
3290
|
|
|
3260
3291
|
var _path$q;
|
|
3261
3292
|
function _extends$q() { _extends$q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$q.apply(this, arguments); }
|
|
@@ -3385,7 +3416,7 @@ var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props
|
|
|
3385
3416
|
};
|
|
3386
3417
|
var ForwardRef$k = /*#__PURE__*/React.forwardRef(SvgNavigationExpandAllOutline);
|
|
3387
3418
|
|
|
3388
|
-
var css$u = {"uui-typography":"
|
|
3419
|
+
var css$u = {"uui-typography":"_3iuO1T","uuiTypography":"_3iuO1T","hero-header":"j40-ev","heroHeader":"j40-ev","promo-header":"Ns5Z-W","promoHeader":"Ns5Z-W","uui-critical":"HKTLGG","uuiCritical":"HKTLGG","uui-info":"_2FUPfm","uuiInfo":"_2FUPfm","uui-success":"qtfaki","uuiSuccess":"qtfaki","uui-warning":"yWkRwr","uuiWarning":"yWkRwr","uui-highlight":"gMog6M","uuiHighlight":"gMog6M","uui-typography-size-12":"KaM--N","uuiTypographySize12":"KaM--N","uui-typography-size-14":"vU6ZuN","uuiTypographySize14":"vU6ZuN","uui-typography-size-16":"_5jB1RO","uuiTypographySize16":"_5jB1RO","root":"ihYDgJ","caption-wrapper":"ZXlTl-","captionWrapper":"ZXlTl-","sort-icon":"R2flhi","sortIcon":"R2flhi","dropdown-icon":"NGYjr-","dropdownIcon":"NGYjr-","infoIcon":"Z-gpMW","resizable":"_0Vy1jM","align-right":"_7GQcgo","alignRight":"_7GQcgo","align-center":"jCQAxD","alignCenter":"jCQAxD","caption":"gydiq9","truncate":"reVv4Y","checkbox":"TA-WDO","icon":"CVU3cC","fold-all-icon":"ZSSI5d","foldAllIcon":"ZSSI5d","cell-tooltip":"_0DOOS6","cellTooltip":"_0DOOS6","upper-case":"czviB3","upperCase":"czviB3","resizing-marker":"NRv4aX","resizingMarker":"NRv4aX","pinned-right":"oZSpBK","pinnedRight":"oZSpBK","draggable":"zVJLb4","ghost":"NjCtB9","is-dragged-out":"ITBRvj","isDraggedOut":"ITBRvj","dnd-marker-left":"CIOrQw","dndMarkerLeft":"CIOrQw","dnd-marker-right":"jHsd9T","dndMarkerRight":"jHsd9T","cell-tooltip-wrapper":"AILd5s","cellTooltipWrapper":"AILd5s","cell-tooltip-text":"XE0itx","cellTooltipText":"XE0itx","tooltip-caption":"-Ejt4B","tooltipCaption":"-Ejt4B","tooltip-info":"qSbWLI","tooltipInfo":"qSbWLI"};
|
|
3389
3420
|
|
|
3390
3421
|
class DataTableHeaderCell extends React__namespace.Component {
|
|
3391
3422
|
constructor() {
|
|
@@ -3409,7 +3440,7 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
3409
3440
|
React__namespace.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)),
|
|
3410
3441
|
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React__namespace.createElement(IconButton, { key: "sort", cx: uuiCore.cx(css$u.icon, css$u.sortIcon, this.props.sortDirection && css$u.sortIconActive, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'neutral' : 'secondary', icon: this.props.sortDirection === 'desc' ? ForwardRef$p : this.props.sortDirection === 'asc' ? ForwardRef$q : ForwardRef$o })),
|
|
3411
3442
|
this.props.isFilterActive && (React__namespace.createElement(IconButton, { key: "filter", cx: uuiCore.cx(css$u.icon, !this.props.sortDirection && css$u.filterIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "neutral", icon: ForwardRef$n })),
|
|
3412
|
-
this.props.column.renderFilter && (React__namespace.createElement(IconButton, { key: "dropdown", cx: uuiCore.cx(css$u.icon, css$u.dropdownIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon: this.state.isDropdownOpen ? ForwardRef$m : ForwardRef$
|
|
3443
|
+
this.props.column.renderFilter && (React__namespace.createElement(IconButton, { key: "dropdown", cx: uuiCore.cx(css$u.icon, css$u.dropdownIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon: this.state.isDropdownOpen ? ForwardRef$m : ForwardRef$Q }))));
|
|
3413
3444
|
};
|
|
3414
3445
|
this.renderHeaderCheckbox = () => {
|
|
3415
3446
|
if (this.props.selectAll && this.props.isFirstColumn) {
|
|
@@ -3491,7 +3522,7 @@ var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
|
3491
3522
|
};
|
|
3492
3523
|
var ForwardRef$j = /*#__PURE__*/React.forwardRef(SvgActionSettingsFill);
|
|
3493
3524
|
|
|
3494
|
-
var css$t = {"uui-typography":"
|
|
3525
|
+
var css$t = {"uui-typography":"k4fKti","uuiTypography":"k4fKti","hero-header":"BoHshy","heroHeader":"BoHshy","promo-header":"_19w13S","promoHeader":"_19w13S","uui-critical":"Y7fs1l","uuiCritical":"Y7fs1l","uui-info":"pmsLv-","uuiInfo":"pmsLv-","uui-success":"gTtblb","uuiSuccess":"gTtblb","uui-warning":"T701Fo","uuiWarning":"T701Fo","uui-highlight":"vQ0enm","uuiHighlight":"vQ0enm","uui-typography-size-12":"mYz2ma","uuiTypographySize12":"mYz2ma","uui-typography-size-14":"rY4G8o","uuiTypographySize14":"rY4G8o","uui-typography-size-16":"QJnMR-","uuiTypographySize16":"QJnMR-","root":"LaGAoE"};
|
|
3495
3526
|
|
|
3496
3527
|
const DataTableHeaderRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableHeaderRow, () => [css$t.root, 'uui-dt-vars'], (mods) => ({
|
|
3497
3528
|
renderCell: (props) => (React__namespace.createElement(DataTableHeaderCell, Object.assign({}, props, { size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap }))),
|
|
@@ -3503,7 +3534,7 @@ const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
|
3503
3534
|
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
3504
3535
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
3505
3536
|
|
|
3506
|
-
var css$s = {"uui-typography":"
|
|
3537
|
+
var css$s = {"uui-typography":"xGnsmL","uuiTypography":"xGnsmL","hero-header":"_1-qR6o","heroHeader":"_1-qR6o","promo-header":"JDIkUb","promoHeader":"JDIkUb","uui-critical":"HI4nkh","uuiCritical":"HI4nkh","uui-info":"Ucvnh-","uuiInfo":"Ucvnh-","uui-success":"iKXEjC","uuiSuccess":"iKXEjC","uui-warning":"bKQdHk","uuiWarning":"bKQdHk","uui-highlight":"KOBzRx","uuiHighlight":"KOBzRx","uui-typography-size-12":"zTNMsc","uuiTypographySize12":"zTNMsc","uui-typography-size-14":"n9Dp-E","uuiTypographySize14":"n9Dp-E","uui-typography-size-16":"fphABN","uuiTypographySize16":"fphABN","root":"luZ9eH","title-wrapper":"-exLGv","titleWrapper":"-exLGv","title":"zK2IHF","text-wrapper":"NZXbcM","textWrapper":"NZXbcM","selection":"rlxmpy","postfix":"Bee87m","selected":"xBXX2o"};
|
|
3507
3538
|
|
|
3508
3539
|
const defaultSize = '36';
|
|
3509
3540
|
const FilterPanelItemToggler = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
@@ -3681,7 +3712,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
3681
3712
|
React__namespace.default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.pickerModal.clearAllButton, onClick: () => onValueChange(defaultRangeValue) })))));
|
|
3682
3713
|
}
|
|
3683
3714
|
|
|
3684
|
-
var css$r = {"container":"
|
|
3715
|
+
var css$r = {"container":"_35-Hf5"};
|
|
3685
3716
|
|
|
3686
3717
|
function FilterNumericBody(props) {
|
|
3687
3718
|
var _a, _b;
|
|
@@ -3779,7 +3810,7 @@ var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
|
3779
3810
|
};
|
|
3780
3811
|
var ForwardRef$i = /*#__PURE__*/React.forwardRef(SvgActionDeleteOutline);
|
|
3781
3812
|
|
|
3782
|
-
var css$q = {"uui-typography":"
|
|
3813
|
+
var css$q = {"uui-typography":"LYkD-U","uuiTypography":"LYkD-U","hero-header":"_3SCLv0","heroHeader":"_3SCLv0","promo-header":"ao5Iz1","promoHeader":"ao5Iz1","uui-critical":"geIe9N","uuiCritical":"geIe9N","uui-info":"xwIHTE","uuiInfo":"xwIHTE","uui-success":"RhWIe2","uuiSuccess":"RhWIe2","uui-warning":"mDunoL","uuiWarning":"mDunoL","uui-highlight":"jVO1Nd","uuiHighlight":"jVO1Nd","uui-typography-size-12":"cab24Y","uuiTypographySize12":"cab24Y","uui-typography-size-14":"_6P1lzN","uuiTypographySize14":"_6P1lzN","uui-typography-size-16":"_1gYEzH","uuiTypographySize16":"_1gYEzH","header":"B-vrqc","removeButton":"lA0D3a","with-search":"_9nNXLs","withSearch":"_9nNXLs"};
|
|
3783
3814
|
|
|
3784
3815
|
function useView(props, value) {
|
|
3785
3816
|
const forceUpdate = uuiCore.useForceUpdate();
|
|
@@ -4100,7 +4131,7 @@ function FiltersToolbarImpl(props) {
|
|
|
4100
4131
|
}
|
|
4101
4132
|
const FiltersPanel = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarImpl);
|
|
4102
4133
|
|
|
4103
|
-
var css$p = {"divider":"
|
|
4134
|
+
var css$p = {"divider":"_3fkZWS","dropdownDeleteIcon":"XkxKNw","presetsWrapper":"FOdokW","addPresetContainer":"QT3CDN","dropContainer":"iQynkI"};
|
|
4104
4135
|
|
|
4105
4136
|
var _path$g;
|
|
4106
4137
|
function _extends$g() { _extends$g = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
|
|
@@ -4213,7 +4244,7 @@ var SvgContentLinkOutline = function SvgContentLinkOutline(props, ref) {
|
|
|
4213
4244
|
};
|
|
4214
4245
|
var ForwardRef$a = /*#__PURE__*/React.forwardRef(SvgContentLinkOutline);
|
|
4215
4246
|
|
|
4216
|
-
var css$o = {"delete-button":"
|
|
4247
|
+
var css$o = {"delete-button":"VfW9p1","deleteButton":"VfW9p1","tab-button":"GMxFqX","tabButton":"GMxFqX","targetOpen":"y0OpGE"};
|
|
4217
4248
|
|
|
4218
4249
|
function PresetActionsDropdown(props) {
|
|
4219
4250
|
const { uuiNotifications } = uuiCore.useUuiContext();
|
|
@@ -4254,12 +4285,14 @@ function PresetActionsDropdown(props) {
|
|
|
4254
4285
|
const isRenameAvailable = props.preset.id === props.activePresetId && !isReadonlyPreset;
|
|
4255
4286
|
return (React__namespace.default.createElement(DropdownMenuBody, Object.assign({}, dropdownProps),
|
|
4256
4287
|
isPresetChanged && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
4257
|
-
!isReadonlyPreset && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon: ForwardRef$f, caption: "Save in current", onClick: saveInCurrentHandler })),
|
|
4258
|
-
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon: ForwardRef$e, caption: "Save as new",
|
|
4259
|
-
|
|
4288
|
+
!isReadonlyPreset && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon: ForwardRef$f, caption: "Save in current", onClick: () => { dropdownProps.onClose(); saveInCurrentHandler(); } })),
|
|
4289
|
+
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon: ForwardRef$e, caption: "Save as new",
|
|
4290
|
+
// 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
|
|
4291
|
+
onClick: () => { dropdownProps.onClose(); setTimeout(() => props.addPreset(), 0); } }),
|
|
4292
|
+
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-discard`, icon: ForwardRef$d, caption: "Discard all changes", onClick: () => { dropdownProps.onClose(); discardAllChangesHandler(); } }),
|
|
4260
4293
|
React__namespace.default.createElement(DropdownMenuSplitter, { key: "discard-splitter" }))),
|
|
4261
4294
|
isRenameAvailable && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-rename`, icon: ForwardRef$b, caption: "Rename", onClick: props.renamePreset })),
|
|
4262
|
-
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon: ForwardRef$c, caption: "Duplicate", onClick: duplicateHandler }),
|
|
4295
|
+
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon: ForwardRef$c, caption: "Duplicate", onClick: () => { dropdownProps.onClose(); duplicateHandler(); } }),
|
|
4263
4296
|
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon: ForwardRef$a, caption: "Copy Link", onClick: copyUrlToClipboard }),
|
|
4264
4297
|
!isReadonlyPreset && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
4265
4298
|
React__namespace.default.createElement(DropdownMenuSplitter, { key: "delete-splitter" }),
|
|
@@ -4271,7 +4304,7 @@ function PresetActionsDropdown(props) {
|
|
|
4271
4304
|
return (React__namespace.default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
4272
4305
|
}
|
|
4273
4306
|
|
|
4274
|
-
var css$n = {"preset-input-cell":"
|
|
4307
|
+
var css$n = {"preset-input-cell":"BwjaAV","presetInputCell":"BwjaAV","preset-input":"iySDJT","presetInput":"iySDJT"};
|
|
4275
4308
|
|
|
4276
4309
|
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
4277
4310
|
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
@@ -4304,7 +4337,7 @@ function PresetInput(props) {
|
|
|
4304
4337
|
React__namespace.default.createElement(TextInput, { cx: css$n.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50, isReadonly: readonly })));
|
|
4305
4338
|
}
|
|
4306
4339
|
|
|
4307
|
-
var css$m = {"preset":"
|
|
4340
|
+
var css$m = {"preset":"_6X5y3z","activePreset":"tSWayU"};
|
|
4308
4341
|
|
|
4309
4342
|
function Preset(props) {
|
|
4310
4343
|
const [isRenamePreset, setIsRenamePreset] = React.useState(false);
|
|
@@ -4322,7 +4355,8 @@ function Preset(props) {
|
|
|
4322
4355
|
return props.updatePreset(newPreset);
|
|
4323
4356
|
}, [props.preset]);
|
|
4324
4357
|
const isPresetActive = props.activePresetId === props.preset.id;
|
|
4325
|
-
|
|
4358
|
+
const PresetActionsDropdownComponent = React.useCallback(() => React__namespace.default.createElement(PresetActionsDropdown, Object.assign({ renamePreset: setPresetForRename }, props)), [props.preset, props.tableState, props.activePresetId]);
|
|
4359
|
+
return (React__namespace.default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__namespace.default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__namespace.default.createElement(TabButton, { caption: props.preset.name, onClick: !isPresetActive && choosePresetHandler, cx: [css$m.preset, isPresetActive && css$m.activePreset, UUI_PRESETS_PANEL_PRESET], size: "60", withNotify: isPresetActive && props.hasPresetChanged(props.preset), icon: PresetActionsDropdownComponent, iconPosition: "right", isLinkActive: isPresetActive }))));
|
|
4326
4360
|
}
|
|
4327
4361
|
|
|
4328
4362
|
var _path$9;
|
|
@@ -4478,7 +4512,7 @@ var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props,
|
|
|
4478
4512
|
};
|
|
4479
4513
|
var ForwardRef$6 = /*#__PURE__*/React.forwardRef(SvgTableGroupColumnRightFill);
|
|
4480
4514
|
|
|
4481
|
-
var css$l = {"unpin-icon":"
|
|
4515
|
+
var css$l = {"unpin-icon":"V7-RQt","unpinIcon":"V7-RQt","pin-toggler-icon":"bkr42U","pinTogglerIcon":"bkr42U"};
|
|
4482
4516
|
|
|
4483
4517
|
function PinIconButton(props) {
|
|
4484
4518
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4537,7 +4571,7 @@ var SvgActionDragIndicator18 = function SvgActionDragIndicator18(props, ref) {
|
|
|
4537
4571
|
};
|
|
4538
4572
|
var ForwardRef$5 = /*#__PURE__*/React.forwardRef(SvgActionDragIndicator18);
|
|
4539
4573
|
|
|
4540
|
-
var css$k = {"uui-typography":"
|
|
4574
|
+
var css$k = {"uui-typography":"jXMP5e","uuiTypography":"jXMP5e","hero-header":"cr-s6b","heroHeader":"cr-s6b","promo-header":"pqIj2S","promoHeader":"pqIj2S","uui-critical":"KgXHgt","uuiCritical":"KgXHgt","uui-info":"-wxEps","uuiInfo":"-wxEps","uui-success":"DEQ-Ax","uuiSuccess":"DEQ-Ax","uui-warning":"_9-lghP","uuiWarning":"_9-lghP","uui-highlight":"MhfNOp","uuiHighlight":"MhfNOp","uui-typography-size-12":"U9pdcF","uuiTypographySize12":"U9pdcF","uui-typography-size-14":"VBkyC0","uuiTypographySize14":"VBkyC0","uui-typography-size-16":"r9jeRD","uuiTypographySize16":"r9jeRD","row-wrapper":"jB7yeO","rowWrapper":"jB7yeO","pin-icon-button":"lW3w9a","pinIconButton":"lW3w9a","not-pinned":"KJuJbu","notPinned":"KJuJbu","checkbox":"nu8H4j","drag-handle":"ruAldc","dragHandle":"ruAldc","dnd-disabled":"hJ4IO2","dndDisabled":"hJ4IO2"};
|
|
4541
4575
|
|
|
4542
4576
|
const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props) {
|
|
4543
4577
|
const { column } = props;
|
|
@@ -4560,7 +4594,7 @@ const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props)
|
|
|
4560
4594
|
return (React__namespace.createElement(uuiCore.DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
|
|
4561
4595
|
});
|
|
4562
4596
|
|
|
4563
|
-
var css$j = {"uui-typography":"
|
|
4597
|
+
var css$j = {"uui-typography":"KgplVh","uuiTypography":"KgplVh","hero-header":"_3z46oz","heroHeader":"_3z46oz","promo-header":"aSfByy","promoHeader":"aSfByy","uui-critical":"-kmN6-","uuiCritical":"-kmN6-","uui-info":"gOCbKz","uuiInfo":"gOCbKz","uui-success":"s-j7wm","uuiSuccess":"s-j7wm","uui-warning":"bRdLIi","uuiWarning":"bRdLIi","uui-highlight":"_5ba1TS","uuiHighlight":"_5ba1TS","uui-typography-size-12":"aSpUTB","uuiTypographySize12":"aSpUTB","uui-typography-size-14":"GFCfcM","uuiTypographySize14":"GFCfcM","uui-typography-size-16":"M7tamb","uuiTypographySize16":"M7tamb","root":"YEj2G-","main-panel":"bvOmDB","mainPanel":"bvOmDB","group":"pJeATj","group-title":"_6xZk0n","groupTitle":"_6xZk0n","group-items":"LtZM3k","groupItems":"LtZM3k","no-data":"fXSkXm","noData":"fXSkXm","no-data-title":"JRLihe","noDataTitle":"JRLihe","no-data-sub-title":"OZtEVV","noDataSubTitle":"OZtEVV","h-divider":"A-jcwa","hDivider":"A-jcwa","search-area":"E01avZ","searchArea":"E01avZ","subgroup-accordion":"YXOcM0","subgroupAccordion":"YXOcM0","subgroup":"V7cY7x","subgroup-title":"k6Ccd1","subgroupTitle":"k6Ccd1"};
|
|
4564
4598
|
|
|
4565
4599
|
const renderGroupTitle = (title, amount) => (React__namespace.createElement(FlexRow, { cx: css$j.group },
|
|
4566
4600
|
React__namespace.createElement(Text, { size: "none", cx: css$j.groupTitle }, title),
|
|
@@ -4637,7 +4671,7 @@ function SubGroup(props) {
|
|
|
4637
4671
|
const content = (React__namespace.createElement(FlexRow, { cx: css$j.groupItems, size: settings.sizes.dataTable.columnsConfigurationModal.columnRow }, items.map((c) => (React__namespace.createElement(ColumnRow, { column: c, key: c.key, renderItem: renderItem })))));
|
|
4638
4672
|
if (isCollapsible) {
|
|
4639
4673
|
const renderTitle = (isOpened) => {
|
|
4640
|
-
const toggleIcon = isOpened ? ForwardRef$
|
|
4674
|
+
const toggleIcon = isOpened ? ForwardRef$Q : ForwardRef$v;
|
|
4641
4675
|
return (React__namespace.createElement(FlexRow, { cx: uuiCore.cx(css$j.subgroup) },
|
|
4642
4676
|
React__namespace.createElement(uuiComponents.IconContainer, { size: settings.sizes.dataTable.columnsConfigurationModal.subgroupIcon, icon: toggleIcon }),
|
|
4643
4677
|
React__namespace.createElement(Text, { size: "none", color: "tertiary", cx: css$j.subgroupTitle }, title)));
|
|
@@ -4649,7 +4683,7 @@ function SubGroup(props) {
|
|
|
4649
4683
|
return null;
|
|
4650
4684
|
}
|
|
4651
4685
|
|
|
4652
|
-
var css$i = {"listContainer":"
|
|
4686
|
+
var css$i = {"listContainer":"GsO4aE","header":"RkAzZ1","group":"kfxV4L","stickyHeader":"yhqWI-"};
|
|
4653
4687
|
|
|
4654
4688
|
const getChildrenAndRest = (row, rows) => {
|
|
4655
4689
|
const firstNotChildIndex = rows.findIndex((other) => other.depth < row.depth || (row.depth === other.depth && other.isPinned));
|
|
@@ -4715,7 +4749,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4715
4749
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4716
4750
|
ref: ref
|
|
4717
4751
|
}, props), /*#__PURE__*/React__namespace.createElement("g", {
|
|
4718
|
-
clipPath: "url(#
|
|
4752
|
+
clipPath: "url(#irbdyv3sdbmavwq4s_a)"
|
|
4719
4753
|
}, _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4720
4754
|
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",
|
|
4721
4755
|
fill: "#F5F6FA"
|
|
@@ -4736,7 +4770,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4736
4770
|
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",
|
|
4737
4771
|
fill: "#1D1E26"
|
|
4738
4772
|
})), /*#__PURE__*/React__namespace.createElement("mask", {
|
|
4739
|
-
id: "
|
|
4773
|
+
id: "irbdyvz3fm0pkcuyb_b",
|
|
4740
4774
|
style: {
|
|
4741
4775
|
maskType: "alpha"
|
|
4742
4776
|
},
|
|
@@ -4749,7 +4783,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4749
4783
|
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",
|
|
4750
4784
|
fill: "#9BDEFF"
|
|
4751
4785
|
}))), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
4752
|
-
mask: "url(#
|
|
4786
|
+
mask: "url(#irbdyvz3fm0pkcuyb_b)",
|
|
4753
4787
|
fillRule: "evenodd",
|
|
4754
4788
|
clipRule: "evenodd"
|
|
4755
4789
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -4835,7 +4869,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4835
4869
|
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",
|
|
4836
4870
|
fill: "#fff"
|
|
4837
4871
|
}))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
4838
|
-
id: "
|
|
4872
|
+
id: "irbdyv3sdbmavwq4s_a"
|
|
4839
4873
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
4840
4874
|
fill: "#fff",
|
|
4841
4875
|
transform: "translate(.552)",
|
|
@@ -4844,7 +4878,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4844
4878
|
};
|
|
4845
4879
|
var ForwardRef$4 = /*#__PURE__*/React.forwardRef(SvgEmptyTable);
|
|
4846
4880
|
|
|
4847
|
-
var css$h = {"root":"
|
|
4881
|
+
var css$h = {"root":"GhBgB9","sticky-header":"OGC4-1","stickyHeader":"OGC4-1","no-results":"iRlySz","noResults":"iRlySz","icon":"tvWspJ","title":"Ryu-Nk"};
|
|
4848
4882
|
|
|
4849
4883
|
function DataTable(props) {
|
|
4850
4884
|
var _a, _b, _c, _d;
|
|
@@ -4895,9 +4929,9 @@ function DataTable(props) {
|
|
|
4895
4929
|
} }))));
|
|
4896
4930
|
}
|
|
4897
4931
|
|
|
4898
|
-
var css$g = {"root":"
|
|
4932
|
+
var css$g = {"root":"xeC7LW"};
|
|
4899
4933
|
|
|
4900
|
-
var css$f = {"root":"
|
|
4934
|
+
var css$f = {"root":"oCeI3l","burger-content":"gSsPDf","burgerContent":"gSsPDf"};
|
|
4901
4935
|
|
|
4902
4936
|
var _path$3;
|
|
4903
4937
|
function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
|
|
@@ -4919,7 +4953,7 @@ function applyBurgerMods() {
|
|
|
4919
4953
|
}
|
|
4920
4954
|
const Burger = /* @__PURE__ */uuiCore.withMods(uuiComponents.Burger, applyBurgerMods, () => ({
|
|
4921
4955
|
burgerIcon: ForwardRef$3,
|
|
4922
|
-
crossIcon: ForwardRef$
|
|
4956
|
+
crossIcon: ForwardRef$R,
|
|
4923
4957
|
burgerContentCx: css$f.burgerContent,
|
|
4924
4958
|
}));
|
|
4925
4959
|
|
|
@@ -4940,7 +4974,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
4940
4974
|
};
|
|
4941
4975
|
var ForwardRef$2 = /*#__PURE__*/React.forwardRef(SvgNavigationArrowDownOutline);
|
|
4942
4976
|
|
|
4943
|
-
var css$e = {"uui-typography":"
|
|
4977
|
+
var css$e = {"uui-typography":"ZzTofE","uuiTypography":"ZzTofE","hero-header":"wKBlr8","heroHeader":"wKBlr8","promo-header":"eIX-Cs","promoHeader":"eIX-Cs","uui-critical":"gpRqdU","uuiCritical":"gpRqdU","uui-info":"FFRb4n","uuiInfo":"FFRb4n","uui-success":"m-T41J","uuiSuccess":"m-T41J","uui-warning":"gzGKsY","uuiWarning":"gzGKsY","uui-highlight":"-dM322","uuiHighlight":"-dM322","uui-typography-size-12":"mAHoK8","uuiTypographySize12":"mAHoK8","uui-typography-size-14":"bRb0Xu","uuiTypographySize14":"bRb0Xu","uui-typography-size-16":"ycDlYm","uuiTypographySize16":"ycDlYm","root":"j4lRmx","button-primary":"_6RLX2S","buttonPrimary":"_6RLX2S","button-secondary":"cmMp21","buttonSecondary":"cmMp21","hasIcon":"_5QJOdw","dropdown":"_6l0Nke"};
|
|
4944
4978
|
|
|
4945
4979
|
const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (props) => [
|
|
4946
4980
|
css$e.root,
|
|
@@ -4951,13 +4985,13 @@ const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (prop
|
|
|
4951
4985
|
props.icon && css$e.hasIcon,
|
|
4952
4986
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
4953
4987
|
|
|
4954
|
-
var css$d = {"search-input":"
|
|
4988
|
+
var css$d = {"search-input":"Wk-6Jm","searchInput":"Wk-6Jm"};
|
|
4955
4989
|
|
|
4956
4990
|
function BurgerSearch(props) {
|
|
4957
|
-
return (React__namespace.createElement(uuiComponents.TextInput, { cx: cx__default.default(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$
|
|
4991
|
+
return (React__namespace.createElement(uuiComponents.TextInput, { cx: cx__default.default(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 }));
|
|
4958
4992
|
}
|
|
4959
4993
|
|
|
4960
|
-
var css$c = {"root":"
|
|
4994
|
+
var css$c = {"root":"eqs-qS","group-header":"ghB25R","groupHeader":"ghB25R","group-name":"_1fFoue","groupName":"_1fFoue","line":"sUZFjx"};
|
|
4961
4995
|
|
|
4962
4996
|
function BurgerGroupHeader(props) {
|
|
4963
4997
|
return (React__namespace.createElement("div", { className: cx__default.default(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -4965,7 +4999,7 @@ function BurgerGroupHeader(props) {
|
|
|
4965
4999
|
React__namespace.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
4966
5000
|
}
|
|
4967
5001
|
|
|
4968
|
-
var css$b = {"uui-typography":"
|
|
5002
|
+
var css$b = {"uui-typography":"Qchoss","uuiTypography":"Qchoss","hero-header":"T0ggUo","heroHeader":"T0ggUo","promo-header":"tAt5t-","promoHeader":"tAt5t-","uui-critical":"O0h2-7","uuiCritical":"O0h2-7","uui-info":"IPeckj","uuiInfo":"IPeckj","uui-success":"WzVRDr","uuiSuccess":"WzVRDr","uui-warning":"HqWyOG","uuiWarning":"HqWyOG","uui-highlight":"_209B6v","uuiHighlight":"_209B6v","uui-typography-size-12":"Fp3viP","uuiTypographySize12":"Fp3viP","uui-typography-size-14":"e7SxT-","uuiTypographySize14":"e7SxT-","uui-typography-size-16":"JVj2cm","uuiTypographySize16":"JVj2cm","root":"RVJUZD","type-primary":"Z5-8e-","typePrimary":"Z5-8e-","type-secondary":"-Ztepj","typeSecondary":"-Ztepj"};
|
|
4969
5003
|
|
|
4970
5004
|
const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
4971
5005
|
const { type } = props, clickableProps = __rest(props, ["type"]);
|
|
@@ -4978,10 +5012,10 @@ const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
|
|
|
4978
5012
|
props.caption && (React__namespace.createElement("div", { className: uuiCore.uuiElement.caption }, props.caption)),
|
|
4979
5013
|
props.count !== undefined && props.count !== null && (React__namespace.createElement(CountIndicator, { caption: props.count, color: "neutral", size: "18" })),
|
|
4980
5014
|
props.icon && props.iconPosition === 'right' && (React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: props.onIconClick })),
|
|
4981
|
-
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$
|
|
5015
|
+
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$Q, flipY: props.isOpen }))));
|
|
4982
5016
|
});
|
|
4983
5017
|
|
|
4984
|
-
var css$a = {"dropdown-body":"
|
|
5018
|
+
var css$a = {"dropdown-body":"Q8Hvew","dropdownBody":"Q8Hvew"};
|
|
4985
5019
|
|
|
4986
5020
|
class MainMenuDropdown extends React__namespace.Component {
|
|
4987
5021
|
render() {
|
|
@@ -5036,31 +5070,31 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
5036
5070
|
};
|
|
5037
5071
|
var ForwardRef$1 = /*#__PURE__*/React.forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
5038
5072
|
|
|
5039
|
-
var css$9 = {"global-menu-btn":"
|
|
5073
|
+
var css$9 = {"global-menu-btn":"HNp83b","globalMenuBtn":"HNp83b","global-menu-icon":"J8g7-p","globalMenuIcon":"J8g7-p"};
|
|
5040
5074
|
|
|
5041
5075
|
const GlobalMenu = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("button", Object.assign({ ref: ref, id: "global_menu_toggle", className: cx__default.default(css$9.globalMenuBtn, props.cx) }, props.rawProps),
|
|
5042
5076
|
React__namespace.createElement(uuiComponents.IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
5043
5077
|
|
|
5044
|
-
var css$8 = {"container":"
|
|
5078
|
+
var css$8 = {"container":"Wt8sGJ","open":"X-D-Un","folding-arrow":"K7lbt4","foldingArrow":"K7lbt4"};
|
|
5045
5079
|
|
|
5046
5080
|
const MainMenuAvatar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("button", { ref: ref, className: cx__default.default(css$8.container, props.isDropdown && css$8.dropdown, props.isOpen && css$8.open, props.onClick && uuiCore.uuiMarkers.clickable, props.cx), onClick: props.onClick },
|
|
5047
5081
|
React__namespace.createElement(uuiComponents.Avatar, { size: "36", img: props.avatarUrl }),
|
|
5048
5082
|
props.icon && React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon }),
|
|
5049
5083
|
props.isDropdown && (React__namespace.createElement("div", null,
|
|
5050
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, icon: ForwardRef$
|
|
5084
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, icon: ForwardRef$Q, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
|
|
5051
5085
|
|
|
5052
|
-
var css$7 = {"search-input":"
|
|
5086
|
+
var css$7 = {"search-input":"TZAcG7","searchInput":"TZAcG7"};
|
|
5053
5087
|
|
|
5054
5088
|
const MainMenuSearch = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement(uuiCore.IEditableDebouncer, Object.assign({}, props, { render: (iEditable) => {
|
|
5055
5089
|
var _a;
|
|
5056
|
-
return (React__namespace.createElement(uuiComponents.TextInput, Object.assign({ iconPosition: "left", icon: ForwardRef$
|
|
5090
|
+
return (React__namespace.createElement(uuiComponents.TextInput, 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: uuiCore.cx(css$7.searchInput, props.cx) }, props.rawProps)));
|
|
5057
5091
|
} }))));
|
|
5058
5092
|
|
|
5059
|
-
var css$6 = {"container":"
|
|
5093
|
+
var css$6 = {"container":"MCIorh"};
|
|
5060
5094
|
|
|
5061
5095
|
const MainMenuIcon = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement(IconButton, Object.assign({ ref: ref, icon: props.icon, cx: uuiCore.cx(props.cx, css$6.container) }, props))));
|
|
5062
5096
|
|
|
5063
|
-
var css$5 = {"root":"
|
|
5097
|
+
var css$5 = {"root":"J-24yd"};
|
|
5064
5098
|
|
|
5065
5099
|
const Anchor = /* @__PURE__ */uuiCore.withMods(uuiComponents.Anchor, () => [css$5.root]);
|
|
5066
5100
|
|
|
@@ -5118,7 +5152,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
5118
5152
|
};
|
|
5119
5153
|
var ForwardRef = /*#__PURE__*/React.forwardRef(SvgFileCloudUploadFill);
|
|
5120
5154
|
|
|
5121
|
-
var css$4 = {"root":"
|
|
5155
|
+
var css$4 = {"root":"E3-Aah","drop-start":"Zj2nIn","dropStart":"Zj2nIn","drop-over":"W5zanS","dropOver":"W5zanS","link":"KkFQ7O","drop-area":"T-0TCs","dropArea":"T-0TCs","drop-caption":"yXyVlu","dropCaption":"yXyVlu","icon-blue":"-UJ5SO","iconBlue":"-UJ5SO"};
|
|
5122
5156
|
|
|
5123
5157
|
function DropSpot(props) {
|
|
5124
5158
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -5136,9 +5170,9 @@ function DropSpot(props) {
|
|
|
5136
5170
|
return React__namespace.createElement(uuiComponents.DropSpot, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
5137
5171
|
}
|
|
5138
5172
|
|
|
5139
|
-
var css$3 = {"uui-typography":"
|
|
5173
|
+
var css$3 = {"uui-typography":"D5I0Oj","uuiTypography":"D5I0Oj","hero-header":"MTh9Av","heroHeader":"MTh9Av","promo-header":"n-bTJX","promoHeader":"n-bTJX","uui-critical":"BRkqX1","uuiCritical":"BRkqX1","uui-info":"PCDl5S","uuiInfo":"PCDl5S","uui-success":"vkAd2j","uuiSuccess":"vkAd2j","uui-warning":"xg5ERg","uuiWarning":"xg5ERg","uui-highlight":"q2J0zc","uuiHighlight":"q2J0zc","uui-typography-size-12":"-nQyq9","uuiTypographySize12":"-nQyq9","uui-typography-size-14":"ii5gKm","uuiTypographySize14":"ii5gKm","uui-typography-size-16":"dJxzdw","uuiTypographySize16":"dJxzdw","root":"VWKwjk","file-name":"je5VsA","fileName":"je5VsA","default-color":"iVxlBa","defaultColor":"iVxlBa","doc-color":"aQwxNR","docColor":"aQwxNR","xls-color":"fU6Z4p","xlsColor":"fU6Z4p","pdf-color":"dQ0yRR","pdfColor":"dQ0yRR","movie-color":"_953Ltv","movieColor":"_953Ltv","img-color":"BaiaC-","imgColor":"BaiaC-","mov-color":"VCzps1","movColor":"VCzps1","error-block":"QG506f","errorBlock":"QG506f","icons-block":"z46Bwc","iconsBlock":"z46Bwc"};
|
|
5140
5174
|
|
|
5141
|
-
var css$2 = {"root":"
|
|
5175
|
+
var css$2 = {"root":"-Duubg"};
|
|
5142
5176
|
|
|
5143
5177
|
const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5144
5178
|
const outsetRadius = props.size / 2 - 1;
|
|
@@ -5203,7 +5237,7 @@ const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
5203
5237
|
};
|
|
5204
5238
|
const renderErrorContent = () => (React__namespace.createElement(Tooltip, { content: file.error.message, placement: "bottom-start" },
|
|
5205
5239
|
React__namespace.createElement("div", { className: css$3.errorBlock },
|
|
5206
|
-
React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$
|
|
5240
|
+
React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$y, size: 12 }),
|
|
5207
5241
|
i18n.fileCard.failedUploadErrorMessage)));
|
|
5208
5242
|
const renderSuccessfulContent = () => (React__namespace.createElement(Text, { size: "18", fontSize: "14", lineHeight: "18", color: "tertiary" },
|
|
5209
5243
|
fileExtension && `${fileExtension.toUpperCase()}, `,
|
|
@@ -5221,7 +5255,7 @@ const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
5221
5255
|
(error === null || error === void 0 ? void 0 : error.isError) ? renderErrorContent() : renderSuccessfulContent()),
|
|
5222
5256
|
React__namespace.createElement("div", { className: uuiCore.cx(css$3.iconsBlock), onMouseEnter: mouseEnterHandler, onMouseLeave: mouseLeaveHandler },
|
|
5223
5257
|
isLoadingShow && isLoading && React__namespace.createElement(SvgCircleProgress, { progress: progress, size: 18 }),
|
|
5224
|
-
isCrossShow && React__namespace.createElement(IconButton, { icon: ForwardRef$
|
|
5258
|
+
isCrossShow && React__namespace.createElement(IconButton, { icon: ForwardRef$R, onClick: removeHandler })))));
|
|
5225
5259
|
});
|
|
5226
5260
|
|
|
5227
5261
|
const getRecoveryMessageConfig = () => ({
|
|
@@ -5263,7 +5297,7 @@ const getErrorPageConfig = () => ({
|
|
|
5263
5297
|
},
|
|
5264
5298
|
});
|
|
5265
5299
|
|
|
5266
|
-
var css$1 = {"container":"
|
|
5300
|
+
var css$1 = {"container":"kJ9Qbx"};
|
|
5267
5301
|
|
|
5268
5302
|
const ErrorPage = (props) => {
|
|
5269
5303
|
const isMobileScreen = uuiCore.isMobile();
|
|
@@ -5274,7 +5308,7 @@ const ErrorPage = (props) => {
|
|
|
5274
5308
|
React__namespace.default.createElement("div", { className: "uui-error-subtitle" }, props.subtitle))));
|
|
5275
5309
|
};
|
|
5276
5310
|
|
|
5277
|
-
var css = {"recovery-spinner":"
|
|
5311
|
+
var css = {"recovery-spinner":"Hn84-t","recoverySpinner":"Hn84-t","recovery-message":"Ta1Jnl","recoveryMessage":"Ta1Jnl","modal-blocker":"eqyz2j","modalBlocker":"eqyz2j","modalFadeIn":"_-90gZ1"};
|
|
5278
5312
|
|
|
5279
5313
|
function ErrorHandler(props) {
|
|
5280
5314
|
const { uuiNotifications, uuiModals, uuiApi } = uuiCore.useUuiContext();
|
|
@@ -5435,6 +5469,7 @@ exports.RadioInput = RadioInput;
|
|
|
5435
5469
|
exports.RangeDatePicker = RangeDatePicker;
|
|
5436
5470
|
exports.RangeDatePickerBody = RangeDatePickerBody;
|
|
5437
5471
|
exports.RangeDatePickerInput = RangeDatePickerInput;
|
|
5472
|
+
exports.Rating = Rating;
|
|
5438
5473
|
exports.RichTextView = RichTextView;
|
|
5439
5474
|
exports.ScrollBars = ScrollBars;
|
|
5440
5475
|
exports.SearchInput = SearchInput;
|