@epam/uui 5.13.3-beta.2 → 5.13.3-rc.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/components/buttons/Button.d.ts +1 -1
- package/components/buttons/Button.d.ts.map +1 -1
- package/components/buttons/LinkButton.d.ts.map +1 -1
- package/components/datePickers/CalendarPresets.d.ts.map +1 -1
- package/components/datePickers/DatePicker.d.ts.map +1 -1
- package/components/datePickers/DatePickerBody.d.ts.map +1 -1
- package/components/datePickers/DatePickerHeader.d.ts +1 -1
- package/components/datePickers/DatePickerHeader.d.ts.map +1 -1
- package/components/datePickers/RangeDatePicker.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerBody.d.ts +1 -1
- package/components/datePickers/RangeDatePickerBody.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerInput.d.ts.map +1 -1
- package/components/errors/ErrorHandler.d.ts +1 -2
- package/components/errors/ErrorHandler.d.ts.map +1 -1
- package/components/fileUpload/FileCard.d.ts.map +1 -1
- package/components/filters/FilterDatePickerBody.d.ts.map +1 -1
- package/components/filters/FilterItemBody.d.ts.map +1 -1
- package/components/filters/FilterNumericBody.d.ts.map +1 -1
- package/components/filters/FilterPanelItemToggler.d.ts +1 -1
- package/components/filters/FilterPanelItemToggler.d.ts.map +1 -1
- package/components/filters/FilterPickerBody.d.ts.map +1 -1
- package/components/filters/FiltersPanel.d.ts.map +1 -1
- package/components/inputs/Checkbox.d.ts.map +1 -1
- package/components/inputs/MultiSwitch.d.ts +13 -12
- package/components/inputs/MultiSwitch.d.ts.map +1 -1
- package/components/inputs/Rating.d.ts.map +1 -1
- package/components/inputs/Switch.d.ts.map +1 -1
- package/components/inputs/TextArea.d.ts.map +1 -1
- package/components/inputs/timePicker/types.d.ts +0 -1
- package/components/inputs/timePicker/types.d.ts.map +1 -1
- package/components/layout/Accordion.d.ts.map +1 -1
- package/components/layout/FlexItems/FlexRow.d.ts +8 -21
- package/components/layout/FlexItems/FlexRow.d.ts.map +1 -1
- package/components/layout/LabeledInput.d.ts +0 -1
- package/components/layout/LabeledInput.d.ts.map +1 -1
- package/components/overlays/Alert.d.ts +2 -4
- package/components/overlays/Alert.d.ts.map +1 -1
- package/components/overlays/Dropdown.d.ts +1 -1
- package/components/overlays/Dropdown.d.ts.map +1 -1
- package/components/overlays/DropdownMenu.d.ts.map +1 -1
- package/components/overlays/Modals.d.ts +8 -15
- package/components/overlays/Modals.d.ts.map +1 -1
- package/components/overlays/NotificationCard.d.ts.map +1 -1
- package/components/pickers/DataPickerBody.d.ts +1 -1
- package/components/pickers/DataPickerBody.d.ts.map +1 -1
- package/components/pickers/DataPickerCell.d.ts +3 -5
- package/components/pickers/DataPickerCell.d.ts.map +1 -1
- package/components/pickers/DataPickerFooter.d.ts +1 -1
- package/components/pickers/DataPickerFooter.d.ts.map +1 -1
- package/components/pickers/DataPickerHeader.d.ts.map +1 -1
- package/components/pickers/DataPickerRow.d.ts +1 -1
- package/components/pickers/DataPickerRow.d.ts.map +1 -1
- package/components/pickers/PickerBodyMobileView.d.ts +5 -25
- package/components/pickers/PickerBodyMobileView.d.ts.map +1 -1
- package/components/pickers/PickerInput.d.ts +1 -1
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/components/pickers/PickerItem.d.ts.map +1 -1
- package/components/pickers/PickerList.d.ts +2 -2
- package/components/pickers/PickerList.d.ts.map +1 -1
- package/components/pickers/{PickerListItem.d.ts → PickerListRow.d.ts} +2 -2
- package/components/pickers/PickerListRow.d.ts.map +1 -0
- package/components/pickers/PickerModal.d.ts +1 -1
- package/components/pickers/PickerModal.d.ts.map +1 -1
- package/components/pickers/PickerToggler.d.ts +4 -5
- package/components/pickers/PickerToggler.d.ts.map +1 -1
- package/components/pickers/PickerTogglerTag.d.ts +3 -3
- package/components/pickers/PickerTogglerTag.d.ts.map +1 -1
- package/components/pickers/index.d.ts +1 -2
- package/components/pickers/index.d.ts.map +1 -1
- package/components/pickers/types.d.ts +1 -1
- package/components/pickers/types.d.ts.map +1 -1
- package/components/tables/ColumnHeaderDropdown/SortingPanel.d.ts.map +1 -1
- package/components/tables/DataRowsContainer/DataRowsContainer.d.ts.map +1 -1
- package/components/tables/DataRowsContainer/DataRowsGroups.d.ts.map +1 -1
- package/components/tables/DataTable.d.ts +5 -13
- package/components/tables/DataTable.d.ts.map +1 -1
- package/components/tables/DataTableCell.d.ts +3 -7
- package/components/tables/DataTableCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderCell.d.ts +6 -8
- package/components/tables/DataTableHeaderCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderGroupCell.d.ts +5 -3
- package/components/tables/DataTableHeaderGroupCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderRow.d.ts +1 -1
- package/components/tables/DataTableHeaderRow.d.ts.map +1 -1
- package/components/tables/DataTableRow.d.ts +4 -6
- package/components/tables/DataTableRow.d.ts.map +1 -1
- package/components/tables/columnsConfigurationModal/ColumnRow.d.ts.map +1 -1
- package/components/tables/columnsConfigurationModal/ColumnsConfigurationModal.d.ts.map +1 -1
- package/components/tables/columnsConfigurationModal/PinIconButton.d.ts.map +1 -1
- package/components/tables/types.d.ts +5 -3
- package/components/tables/types.d.ts.map +1 -1
- package/components/types.d.ts +0 -1
- package/components/types.d.ts.map +1 -1
- package/components/typography/RichTextView.d.ts +1 -1
- package/components/typography/RichTextView.d.ts.map +1 -1
- package/components/typography/Text.d.ts +5 -5
- package/components/typography/Text.d.ts.map +1 -1
- package/components/widgets/CountIndicator.d.ts +3 -5
- package/components/widgets/CountIndicator.d.ts.map +1 -1
- package/components/widgets/DataRowAddons.d.ts +8 -15
- package/components/widgets/DataRowAddons.d.ts.map +1 -1
- package/components/widgets/Paginator.d.ts +1 -1
- package/components/widgets/Paginator.d.ts.map +1 -1
- package/components/widgets/StatusIndicator.d.ts +3 -5
- package/components/widgets/StatusIndicator.d.ts.map +1 -1
- package/icons/icons.d.ts +21 -0
- package/icons/icons.d.ts.map +1 -0
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.esm.js +1361 -1468
- package/index.esm.js.map +1 -1
- package/index.js +1359 -1467
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/settings.d.ts +2 -417
- package/settings.d.ts.map +1 -1
- package/settings.types.d.ts +238 -0
- package/settings.types.d.ts.map +1 -0
- package/stats.html +1 -19
- package/styles.css +1091 -1181
- package/styles.css.map +1 -1
- package/components/pickers/PickerListItem.d.ts.map +0 -1
package/index.js
CHANGED
|
@@ -96,7 +96,7 @@ var ForwardRef$P = /*#__PURE__*/React.forwardRef(SvgNotificationDoneOutline);
|
|
|
96
96
|
|
|
97
97
|
var _path$O;
|
|
98
98
|
function _extends$O() { return _extends$O = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$O.apply(null, arguments); }
|
|
99
|
-
var
|
|
99
|
+
var SvgActionSearchOutline = function SvgActionSearchOutline(props, ref) {
|
|
100
100
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$O({
|
|
101
101
|
xmlns: "http://www.w3.org/2000/svg",
|
|
102
102
|
width: 24,
|
|
@@ -104,14 +104,16 @@ var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
|
104
104
|
viewBox: "0 0 24 24",
|
|
105
105
|
ref: ref
|
|
106
106
|
}, props), _path$O || (_path$O = /*#__PURE__*/React__namespace.createElement("path", {
|
|
107
|
-
|
|
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"
|
|
108
110
|
})));
|
|
109
111
|
};
|
|
110
|
-
var ForwardRef$O = /*#__PURE__*/React.forwardRef(
|
|
112
|
+
var ForwardRef$O = /*#__PURE__*/React.forwardRef(SvgActionSearchOutline);
|
|
111
113
|
|
|
112
114
|
var _path$N;
|
|
113
115
|
function _extends$N() { return _extends$N = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$N.apply(null, arguments); }
|
|
114
|
-
var
|
|
116
|
+
var SvgActionCalendarFill = function SvgActionCalendarFill(props, ref) {
|
|
115
117
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$N({
|
|
116
118
|
xmlns: "http://www.w3.org/2000/svg",
|
|
117
119
|
width: 24,
|
|
@@ -119,16 +121,14 @@ var SvgActionSearchOutline = function SvgActionSearchOutline(props, ref) {
|
|
|
119
121
|
viewBox: "0 0 24 24",
|
|
120
122
|
ref: ref
|
|
121
123
|
}, props), _path$N || (_path$N = /*#__PURE__*/React__namespace.createElement("path", {
|
|
122
|
-
|
|
123
|
-
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",
|
|
124
|
-
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"
|
|
125
125
|
})));
|
|
126
126
|
};
|
|
127
|
-
var ForwardRef$N = /*#__PURE__*/React.forwardRef(
|
|
127
|
+
var ForwardRef$N = /*#__PURE__*/React.forwardRef(SvgActionCalendarFill);
|
|
128
128
|
|
|
129
129
|
var _path$M;
|
|
130
130
|
function _extends$M() { return _extends$M = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$M.apply(null, arguments); }
|
|
131
|
-
var
|
|
131
|
+
var SvgNotificationInfoOutline = function SvgNotificationInfoOutline(props, ref) {
|
|
132
132
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$M({
|
|
133
133
|
xmlns: "http://www.w3.org/2000/svg",
|
|
134
134
|
width: 24,
|
|
@@ -136,14 +136,14 @@ var SvgActionCalendarFill = function SvgActionCalendarFill(props, ref) {
|
|
|
136
136
|
viewBox: "0 0 24 24",
|
|
137
137
|
ref: ref
|
|
138
138
|
}, props), _path$M || (_path$M = /*#__PURE__*/React__namespace.createElement("path", {
|
|
139
|
-
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"
|
|
140
140
|
})));
|
|
141
141
|
};
|
|
142
|
-
var ForwardRef$M = /*#__PURE__*/React.forwardRef(
|
|
142
|
+
var ForwardRef$M = /*#__PURE__*/React.forwardRef(SvgNotificationInfoOutline);
|
|
143
143
|
|
|
144
144
|
var _path$L;
|
|
145
145
|
function _extends$L() { return _extends$L = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$L.apply(null, arguments); }
|
|
146
|
-
var
|
|
146
|
+
var SvgFileFileWordFill = function SvgFileFileWordFill(props, ref) {
|
|
147
147
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$L({
|
|
148
148
|
xmlns: "http://www.w3.org/2000/svg",
|
|
149
149
|
width: 24,
|
|
@@ -151,14 +151,16 @@ var SvgNotificationInfoOutline = function SvgNotificationInfoOutline(props, ref)
|
|
|
151
151
|
viewBox: "0 0 24 24",
|
|
152
152
|
ref: ref
|
|
153
153
|
}, props), _path$L || (_path$L = /*#__PURE__*/React__namespace.createElement("path", {
|
|
154
|
-
|
|
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"
|
|
155
157
|
})));
|
|
156
158
|
};
|
|
157
|
-
var ForwardRef$L = /*#__PURE__*/React.forwardRef(
|
|
159
|
+
var ForwardRef$L = /*#__PURE__*/React.forwardRef(SvgFileFileWordFill);
|
|
158
160
|
|
|
159
161
|
var _path$K;
|
|
160
162
|
function _extends$K() { return _extends$K = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$K.apply(null, arguments); }
|
|
161
|
-
var
|
|
163
|
+
var SvgFileFileExcelFill = function SvgFileFileExcelFill(props, ref) {
|
|
162
164
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$K({
|
|
163
165
|
xmlns: "http://www.w3.org/2000/svg",
|
|
164
166
|
width: 24,
|
|
@@ -166,154 +168,33 @@ var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
|
166
168
|
viewBox: "0 0 24 24",
|
|
167
169
|
ref: ref
|
|
168
170
|
}, props), _path$K || (_path$K = /*#__PURE__*/React__namespace.createElement("path", {
|
|
169
|
-
|
|
171
|
+
fillRule: "evenodd",
|
|
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",
|
|
173
|
+
clipRule: "evenodd"
|
|
170
174
|
})));
|
|
171
175
|
};
|
|
172
|
-
var ForwardRef$K = /*#__PURE__*/React.forwardRef(
|
|
176
|
+
var ForwardRef$K = /*#__PURE__*/React.forwardRef(SvgFileFileExcelFill);
|
|
173
177
|
|
|
174
|
-
var _path$J
|
|
178
|
+
var _path$J;
|
|
175
179
|
function _extends$J() { return _extends$J = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$J.apply(null, arguments); }
|
|
176
|
-
var
|
|
180
|
+
var SvgFileFilePdfFill = function SvgFileFilePdfFill(props, ref) {
|
|
177
181
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$J({
|
|
178
|
-
width: 232,
|
|
179
|
-
height: 180,
|
|
180
|
-
viewBox: "0 0 232 180",
|
|
181
|
-
fill: "none",
|
|
182
182
|
xmlns: "http://www.w3.org/2000/svg",
|
|
183
|
+
width: 24,
|
|
184
|
+
height: 24,
|
|
185
|
+
viewBox: "0 0 24 24",
|
|
183
186
|
ref: ref
|
|
184
|
-
}, props), /*#__PURE__*/React__namespace.createElement("
|
|
185
|
-
clipPath: "url(#fzcpn6kqbeyz4m8m_a)"
|
|
186
|
-
}, _path$J || (_path$J = /*#__PURE__*/React__namespace.createElement("path", {
|
|
187
|
-
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",
|
|
188
|
-
fill: "#F5F6FA"
|
|
189
|
-
})), _path2$5 || (_path2$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
190
|
-
d: "m58.069 136.51-.654 4.238-1.27-5.38a58.934 58.934 0 0 0-11.462-4.965l-.083 5.636-2.545-6.393a55.094 55.094 0 0 0-13.655-1.854l.704 6.178-3.356-6.108c-4.151.183-8.256.946-12.195 2.268l2.33 3.525s-2.173-1.597-4.084-2.896a40.951 40.951 0 0 0-10.833 6.285 85.492 85.492 0 0 0 12.575 10.527c2.482-.637 5.127-1.279 5.127-1.279l-3.261 2.537a69.366 69.366 0 0 0 13.283 6.865c2.346-1.353 5.416-3.269 5.416-3.269l-3.554 3.931a42.226 42.226 0 0 0 15.45 2.359l4.259-4.213-1.697 4.001c7.002-.848 14.144-3.902 20.95-10.344-1.621-3.869-5.768-8.073-11.445-11.649Z",
|
|
191
|
-
fill: "#9BDEFF"
|
|
192
|
-
})), _path3 || (_path3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
193
|
-
fillRule: "evenodd",
|
|
194
|
-
clipRule: "evenodd",
|
|
195
|
-
d: "M.557 136.978a.413.413 0 0 1 .475-.342l68.549 11.118a.414.414 0 0 1-.133.817L.9 137.453a.415.415 0 0 1-.342-.475Z",
|
|
196
|
-
fill: "#fff"
|
|
197
|
-
})), _path4 || (_path4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
198
|
-
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",
|
|
199
|
-
fill: "#9BDEFF"
|
|
200
|
-
})), _path5 || (_path5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
201
|
-
fillRule: "evenodd",
|
|
202
|
-
clipRule: "evenodd",
|
|
203
|
-
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",
|
|
204
|
-
fill: "#1D1E26"
|
|
205
|
-
})), /*#__PURE__*/React__namespace.createElement("mask", {
|
|
206
|
-
id: "fzcpn68pzmby2ixpk_b",
|
|
207
|
-
style: {
|
|
208
|
-
maskType: "alpha"
|
|
209
|
-
},
|
|
210
|
-
maskUnits: "userSpaceOnUse",
|
|
211
|
-
x: 81,
|
|
212
|
-
y: 22,
|
|
213
|
-
width: 100,
|
|
214
|
-
height: 104
|
|
215
|
-
}, _path6 || (_path6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
216
|
-
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",
|
|
217
|
-
fill: "#9BDEFF"
|
|
218
|
-
}))), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
219
|
-
mask: "url(#fzcpn68pzmby2ixpk_b)",
|
|
187
|
+
}, props), _path$J || (_path$J = /*#__PURE__*/React__namespace.createElement("path", {
|
|
220
188
|
fillRule: "evenodd",
|
|
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",
|
|
221
190
|
clipRule: "evenodd"
|
|
222
|
-
}
|
|
223
|
-
d: "M69.817 99.247a.414.414 0 0 1 .585-.003l50.88 50.483a.414.414 0 0 1-.583.588l-50.88-50.483a.414.414 0 0 1-.002-.585ZM72.802 28.407a.414.414 0 0 1 .553.192l63.6 131.172a.413.413 0 1 1-.745.361L72.61 28.96a.414.414 0 0 1 .192-.553Z",
|
|
224
|
-
fill: "#fff"
|
|
225
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
226
|
-
d: "M142.576 6.515a.415.415 0 0 1 .087.58L60.185 118.817a.413.413 0 1 1-.665-.491L141.997 6.603a.414.414 0 0 1 .579-.088ZM197.977 60.314c.181.14.214.4.075.58l-76.734 99.311a.414.414 0 0 1-.655-.506l76.734-99.31a.413.413 0 0 1 .58-.075ZM192.316 43.44a.413.413 0 0 1-.103.576L60.089 135.878a.414.414 0 0 1-.473-.68L191.74 43.336a.414.414 0 0 1 .576.104Z",
|
|
227
|
-
fill: "#fff"
|
|
228
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
229
|
-
d: "M91.966 11.532a.414.414 0 0 1 .585-.021l129.252 120a.414.414 0 0 1-.563.606l-129.252-120a.414.414 0 0 1-.022-.585ZM75.232 2.769a.414.414 0 0 1 .568.143l93.554 156.828a.414.414 0 1 1-.711.424L75.089 3.336a.414.414 0 0 1 .143-.567ZM125.643.329a.414.414 0 0 1 .584.041l71.81 82.759a.413.413 0 1 1-.625.542L125.602.913a.414.414 0 0 1 .041-.584Z",
|
|
230
|
-
fill: "#fff"
|
|
231
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
232
|
-
d: "M67.271 75.369a.414.414 0 0 1 .547-.209l156.745 70.345a.413.413 0 1 1-.339.755L67.479 75.916a.414.414 0 0 1-.208-.547Z",
|
|
233
|
-
fill: "#fff"
|
|
234
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
235
|
-
d: "M159.279 8.938a.414.414 0 0 1 .265.522L101.278 187.39a.413.413 0 1 1-.787-.258l58.266-177.93a.414.414 0 0 1 .522-.265Z",
|
|
236
|
-
fill: "#fff"
|
|
237
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
238
|
-
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",
|
|
239
|
-
fill: "#1D1E26"
|
|
240
|
-
}))), _path7 || (_path7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
241
|
-
d: "M180.287 30.828H81.39v-3.724a4.966 4.966 0 0 1 4.966-4.966H175.3a4.963 4.963 0 0 1 4.986 4.965v3.725Z",
|
|
242
|
-
fill: "#fff"
|
|
243
|
-
})), _path8 || (_path8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
244
|
-
fillRule: "evenodd",
|
|
245
|
-
clipRule: "evenodd",
|
|
246
|
-
d: "M177.05 22.893a4.548 4.548 0 0 0-1.748-.341H86.356a4.552 4.552 0 0 0-4.552 4.552v3.31h98.069v-3.31a4.55 4.55 0 0 0-2.823-4.211Zm-1.75-1.169a5.375 5.375 0 0 1 4.989 3.316c.272.654.412 1.355.412 2.064v3.724a.414.414 0 0 1-.414.413H81.39a.414.414 0 0 1-.413-.413v-3.724a5.38 5.38 0 0 1 5.379-5.38H175.3Z",
|
|
247
|
-
fill: "#1D1E26"
|
|
248
|
-
})), _path9 || (_path9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
249
|
-
d: "M87.324 28.217a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6ZM93.597 28.217a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6ZM99.866 28.217a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6Z",
|
|
250
|
-
fill: "#1D1E26"
|
|
251
|
-
})), _path10 || (_path10 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
252
|
-
d: "M151.71 47.806H63.614a4.986 4.986 0 0 0-4.986 4.986v93.062a4.986 4.986 0 0 0 4.986 4.986h88.096a4.986 4.986 0 0 0 4.987-4.986V52.792a4.987 4.987 0 0 0-4.987-4.986Z",
|
|
253
|
-
fill: "#fff"
|
|
254
|
-
})), _path11 || (_path11 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
255
|
-
fillRule: "evenodd",
|
|
256
|
-
clipRule: "evenodd",
|
|
257
|
-
d: "M63.614 48.22a4.572 4.572 0 0 0-4.572 4.572v93.062a4.572 4.572 0 0 0 4.572 4.572h88.096a4.572 4.572 0 0 0 4.573-4.572V52.792a4.572 4.572 0 0 0-4.573-4.573H63.614Zm-5.4 4.572a5.4 5.4 0 0 1 5.4-5.4h88.096a5.4 5.4 0 0 1 5.4 5.4v93.062a5.4 5.4 0 0 1-5.4 5.4H63.614a5.4 5.4 0 0 1-5.4-5.4V52.792Z",
|
|
258
|
-
fill: "#1D1E26"
|
|
259
|
-
})), _path12 || (_path12 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
260
|
-
d: "M157.11 56.081H58.214v-3.724a4.986 4.986 0 0 1 4.986-4.965h88.924a4.988 4.988 0 0 1 4.986 4.965v3.724Z",
|
|
261
|
-
fill: "#008ACE"
|
|
262
|
-
})), _path13 || (_path13 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
263
|
-
d: "M64.566 53.474a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6ZM70.835 53.474a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6ZM77.103 53.474a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6Z",
|
|
264
|
-
fill: "#1D1E26"
|
|
265
|
-
})), _path14 || (_path14 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
266
|
-
fillRule: "evenodd",
|
|
267
|
-
clipRule: "evenodd",
|
|
268
|
-
d: "M48.968 36.067a.414.414 0 0 1 .585.018l7.005 7.448a.414.414 0 1 1-.603.567l-7.005-7.448a.414.414 0 0 1 .018-.585ZM46.99 44.047a.414.414 0 0 1 .554-.188l6.269 3.104a.414.414 0 0 1-.367.742l-6.27-3.104a.414.414 0 0 1-.187-.554ZM183.97 9.366a.414.414 0 0 1 .213.545l-2.896 6.62a.414.414 0 0 1-.759-.331l2.897-6.621a.414.414 0 0 1 .545-.213ZM192.373 9.866a.415.415 0 0 1 0 .585l-8.276 8.276a.414.414 0 1 1-.585-.585l8.275-8.276a.415.415 0 0 1 .586 0ZM192.464 19.108a.413.413 0 0 1-.23.538l-6.207 2.483a.414.414 0 0 1-.308-.768l6.207-2.483a.414.414 0 0 1 .538.23ZM182.977 54.848c.228 0 .413.185.413.414v58.345a.414.414 0 1 1-.827 0V55.262c0-.229.185-.414.414-.414Z",
|
|
269
|
-
fill: "#1D1E26"
|
|
270
|
-
})), _path15 || (_path15 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
271
|
-
d: "M133.371 157.945c23.196 0 42-18.804 42-42s-18.804-42-42-42-42 18.804-42 42 18.804 42 42 42Z",
|
|
272
|
-
fill: "#008ACE"
|
|
273
|
-
})), _path16 || (_path16 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
274
|
-
d: "M133.371 149.669c18.625 0 33.724-15.099 33.724-33.724 0-18.625-15.099-33.724-33.724-33.724-18.625 0-33.724 15.099-33.724 33.724 0 18.625 15.099 33.724 33.724 33.724Z",
|
|
275
|
-
fill: "#fff"
|
|
276
|
-
})), _path17 || (_path17 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
277
|
-
d: "M117.312 113.565a3.807 3.807 0 1 0 0-7.614 3.807 3.807 0 0 0 0 7.614ZM149.435 113.565a3.806 3.806 0 1 0 0-7.612 3.806 3.806 0 0 0 0 7.612Z",
|
|
278
|
-
fill: "#1D1E26"
|
|
279
|
-
})), _path18 || (_path18 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
280
|
-
fillRule: "evenodd",
|
|
281
|
-
clipRule: "evenodd",
|
|
282
|
-
d: "M133.38 123.952c-4.592 0-8.525 2.259-10.468 5.423a.827.827 0 1 1-1.41-.866c2.27-3.697 6.762-6.212 11.878-6.212 5.108 0 9.646 2.485 11.882 6.22a.827.827 0 1 1-1.42.85c-1.902-3.176-5.863-5.415-10.462-5.415Z",
|
|
283
|
-
fill: "#1D1E26"
|
|
284
|
-
})), _path19 || (_path19 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
285
|
-
d: "m170.965 137.356-7.822 9.777 1.668 1.334 7.822-9.777-1.668-1.334Z",
|
|
286
|
-
fill: "#1D1E26"
|
|
287
|
-
})), _path20 || (_path20 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
288
|
-
d: "M200.774 163.345c.579 2.143-3.331 6.852-5.553 6.939-7.035.277-28.73-23.913-28.73-23.913l4.44-5.553s28.122 16.142 29.843 22.527Z",
|
|
289
|
-
fill: "#9BDEFF"
|
|
290
|
-
})), _path21 || (_path21 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
291
|
-
d: "M204.424 178.378a6.223 6.223 0 0 0 6.223-6.224 6.224 6.224 0 1 0-6.223 6.224Z",
|
|
292
|
-
fill: "#9BDEFF"
|
|
293
|
-
})), _path22 || (_path22 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
294
|
-
d: "M199.586 168.269a6.173 6.173 0 0 1 3.311-2.131l-2.123-1.697c-.464 2.069-2.959 4.995-4.837 5.69l2.296 1.837a6.173 6.173 0 0 1 1.353-3.699Z",
|
|
295
|
-
fill: "#1D1E26"
|
|
296
|
-
})), _path23 || (_path23 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
297
|
-
d: "m72.357 138.314-3.5 2.955 2.722-5.317a67.379 67.379 0 0 0-5.958-12.509l-4.014 4.514 2.38-7.076a63.412 63.412 0 0 0-9.932-11.611l-3.724 5.549 1.54-7.448a50.152 50.152 0 0 0-11.628-7.179l-.567 4.605s-.675-2.896-1.333-5.38a44.62 44.62 0 0 0-13.315-2.896 96.722 96.722 0 0 0 2.983 17.856c2.483 1.311 5.119 2.751 5.119 2.751l-4.461-.347a79.474 79.474 0 0 0 6.091 15.385c2.897.637 6.745 1.353 6.745 1.353l-5.677.55c2.871 4.965 6.492 9.6 11.069 13.349l6.45-.269-4.191 1.99c6.356 4.49 14.37 7.3 24.48 7.105 1.398-4.332.902-10.816-1.279-17.93Z",
|
|
298
|
-
fill: "#008ACE"
|
|
299
|
-
})), _path24 || (_path24 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
300
|
-
fillRule: "evenodd",
|
|
301
|
-
clipRule: "evenodd",
|
|
302
|
-
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",
|
|
303
|
-
fill: "#fff"
|
|
304
|
-
}))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
305
|
-
id: "fzcpn6kqbeyz4m8m_a"
|
|
306
|
-
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
307
|
-
fill: "#fff",
|
|
308
|
-
transform: "translate(.552)",
|
|
309
|
-
d: "M0 0h230.897v180H0z"
|
|
310
|
-
})))));
|
|
191
|
+
})));
|
|
311
192
|
};
|
|
312
|
-
var ForwardRef$J = /*#__PURE__*/React.forwardRef(
|
|
193
|
+
var ForwardRef$J = /*#__PURE__*/React.forwardRef(SvgFileFilePdfFill);
|
|
313
194
|
|
|
314
195
|
var _path$I;
|
|
315
196
|
function _extends$I() { return _extends$I = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$I.apply(null, arguments); }
|
|
316
|
-
var
|
|
197
|
+
var SvgFileFileImageFill = function SvgFileFileImageFill(props, ref) {
|
|
317
198
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$I({
|
|
318
199
|
xmlns: "http://www.w3.org/2000/svg",
|
|
319
200
|
width: 24,
|
|
@@ -321,14 +202,16 @@ var SvgTableSortAscOutline = function SvgTableSortAscOutline(props, ref) {
|
|
|
321
202
|
viewBox: "0 0 24 24",
|
|
322
203
|
ref: ref
|
|
323
204
|
}, props), _path$I || (_path$I = /*#__PURE__*/React__namespace.createElement("path", {
|
|
324
|
-
|
|
205
|
+
fillRule: "evenodd",
|
|
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",
|
|
207
|
+
clipRule: "evenodd"
|
|
325
208
|
})));
|
|
326
209
|
};
|
|
327
|
-
var ForwardRef$I = /*#__PURE__*/React.forwardRef(
|
|
210
|
+
var ForwardRef$I = /*#__PURE__*/React.forwardRef(SvgFileFileImageFill);
|
|
328
211
|
|
|
329
|
-
var _path$H;
|
|
212
|
+
var _path$H, _path2$5;
|
|
330
213
|
function _extends$H() { return _extends$H = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$H.apply(null, arguments); }
|
|
331
|
-
var
|
|
214
|
+
var SvgFileFileVideoFill = function SvgFileFileVideoFill(props, ref) {
|
|
332
215
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
|
|
333
216
|
xmlns: "http://www.w3.org/2000/svg",
|
|
334
217
|
width: 24,
|
|
@@ -336,14 +219,18 @@ var SvgTableSortDescOutline = function SvgTableSortDescOutline(props, ref) {
|
|
|
336
219
|
viewBox: "0 0 24 24",
|
|
337
220
|
ref: ref
|
|
338
221
|
}, props), _path$H || (_path$H = /*#__PURE__*/React__namespace.createElement("path", {
|
|
339
|
-
d: "
|
|
222
|
+
d: "M14.992 14 9.5 17.138v-6.276L14.992 14z"
|
|
223
|
+
})), _path2$5 || (_path2$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
224
|
+
fillRule: "evenodd",
|
|
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",
|
|
226
|
+
clipRule: "evenodd"
|
|
340
227
|
})));
|
|
341
228
|
};
|
|
342
|
-
var ForwardRef$H = /*#__PURE__*/React.forwardRef(
|
|
229
|
+
var ForwardRef$H = /*#__PURE__*/React.forwardRef(SvgFileFileVideoFill);
|
|
343
230
|
|
|
344
231
|
var _path$G;
|
|
345
232
|
function _extends$G() { return _extends$G = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$G.apply(null, arguments); }
|
|
346
|
-
var
|
|
233
|
+
var SvgFileFileTableFill = function SvgFileFileTableFill(props, ref) {
|
|
347
234
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
|
|
348
235
|
xmlns: "http://www.w3.org/2000/svg",
|
|
349
236
|
width: 24,
|
|
@@ -351,14 +238,16 @@ var SvgActionDragIndicatorOutline = function SvgActionDragIndicatorOutline(props
|
|
|
351
238
|
viewBox: "0 0 24 24",
|
|
352
239
|
ref: ref
|
|
353
240
|
}, props), _path$G || (_path$G = /*#__PURE__*/React__namespace.createElement("path", {
|
|
354
|
-
|
|
241
|
+
fillRule: "evenodd",
|
|
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",
|
|
243
|
+
clipRule: "evenodd"
|
|
355
244
|
})));
|
|
356
245
|
};
|
|
357
|
-
var ForwardRef$G = /*#__PURE__*/React.forwardRef(
|
|
246
|
+
var ForwardRef$G = /*#__PURE__*/React.forwardRef(SvgFileFileTableFill);
|
|
358
247
|
|
|
359
248
|
var _path$F;
|
|
360
249
|
function _extends$F() { return _extends$F = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$F.apply(null, arguments); }
|
|
361
|
-
var
|
|
250
|
+
var SvgFileFileTextFill = function SvgFileFileTextFill(props, ref) {
|
|
362
251
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
|
|
363
252
|
xmlns: "http://www.w3.org/2000/svg",
|
|
364
253
|
width: 24,
|
|
@@ -367,15 +256,15 @@ var SvgNavigationMoreVertOutline = function SvgNavigationMoreVertOutline(props,
|
|
|
367
256
|
ref: ref
|
|
368
257
|
}, props), _path$F || (_path$F = /*#__PURE__*/React__namespace.createElement("path", {
|
|
369
258
|
fillRule: "evenodd",
|
|
370
|
-
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",
|
|
371
260
|
clipRule: "evenodd"
|
|
372
261
|
})));
|
|
373
262
|
};
|
|
374
|
-
var ForwardRef$F = /*#__PURE__*/React.forwardRef(
|
|
263
|
+
var ForwardRef$F = /*#__PURE__*/React.forwardRef(SvgFileFileTextFill);
|
|
375
264
|
|
|
376
265
|
var _path$E;
|
|
377
266
|
function _extends$E() { return _extends$E = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$E.apply(null, arguments); }
|
|
378
|
-
var
|
|
267
|
+
var SvgFileFileEmlFill = function SvgFileFileEmlFill(props, ref) {
|
|
379
268
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
|
|
380
269
|
xmlns: "http://www.w3.org/2000/svg",
|
|
381
270
|
width: 24,
|
|
@@ -383,582 +272,205 @@ var SvgNavigationRefreshOutline = function SvgNavigationRefreshOutline(props, re
|
|
|
383
272
|
viewBox: "0 0 24 24",
|
|
384
273
|
ref: ref
|
|
385
274
|
}, props), _path$E || (_path$E = /*#__PURE__*/React__namespace.createElement("path", {
|
|
386
|
-
d: "M12 20c-2.233 0-4.125-.775-5.675-2.325C4.775 16.125 4 14.233 4 12c0-2.233.775-4.125 2.325-5.675C7.875 4.775 9.767 4 12 4c1.15 0 2.25.238 3.3.713A7.617 7.617 0 0 1 18 6.75V4h2v7h-7V9h4.2a5.837 5.837 0 0 0-2.187-2.2A5.93 5.93 0 0 0 12 6c-1.667 0-3.083.583-4.25 1.75C6.583 8.917 6 10.333 6 12c0 1.667.583 3.083 1.75 4.25C8.917 17.417 10.333 18 12 18a5.863 5.863 0 0 0 3.475-1.1A5.81 5.81 0 0 0 17.65 14h2.1c-.467 1.767-1.417 3.208-2.85 4.325S13.833 20 12 20z"
|
|
387
|
-
})));
|
|
388
|
-
};
|
|
389
|
-
var ForwardRef$E = /*#__PURE__*/React.forwardRef(SvgNavigationRefreshOutline);
|
|
390
|
-
|
|
391
|
-
var _path$D;
|
|
392
|
-
function _extends$D() { return _extends$D = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$D.apply(null, arguments); }
|
|
393
|
-
var SvgActionLockFill = function SvgActionLockFill(props, ref) {
|
|
394
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
|
|
395
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
396
|
-
width: 24,
|
|
397
|
-
height: 24,
|
|
398
|
-
viewBox: "0 0 24 24",
|
|
399
|
-
ref: ref
|
|
400
|
-
}, props), _path$D || (_path$D = /*#__PURE__*/React__namespace.createElement("path", {
|
|
401
|
-
fillRule: "evenodd",
|
|
402
|
-
d: "M12 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4zM7 9V7a5 5 0 0 1 10 0v2h1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V11a2 2 0 0 1 2-2h1zm2 0h6V7a3 3 0 1 0-6 0v2z",
|
|
403
|
-
clipRule: "evenodd"
|
|
404
|
-
})));
|
|
405
|
-
};
|
|
406
|
-
var ForwardRef$D = /*#__PURE__*/React.forwardRef(SvgActionLockFill);
|
|
407
|
-
|
|
408
|
-
var _path$C, _path2$4;
|
|
409
|
-
function _extends$C() { return _extends$C = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$C.apply(null, arguments); }
|
|
410
|
-
var SvgTableGroupColumnLeftFill = function SvgTableGroupColumnLeftFill(props, ref) {
|
|
411
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
|
|
412
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
413
|
-
width: 24,
|
|
414
|
-
height: 24,
|
|
415
|
-
viewBox: "0 0 24 24",
|
|
416
|
-
ref: ref
|
|
417
|
-
}, props), _path$C || (_path$C = /*#__PURE__*/React__namespace.createElement("path", {
|
|
418
|
-
d: "M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6V3H5z"
|
|
419
|
-
})), _path2$4 || (_path2$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
420
|
-
fillRule: "evenodd",
|
|
421
|
-
d: "M13 21V3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-6zm2-16h4v14h-4V5z",
|
|
422
|
-
clipRule: "evenodd"
|
|
423
|
-
})));
|
|
424
|
-
};
|
|
425
|
-
var ForwardRef$C = /*#__PURE__*/React.forwardRef(SvgTableGroupColumnLeftFill);
|
|
426
|
-
|
|
427
|
-
var _path$B, _path2$3;
|
|
428
|
-
function _extends$B() { return _extends$B = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$B.apply(null, arguments); }
|
|
429
|
-
var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props, ref) {
|
|
430
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
|
|
431
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
432
|
-
width: 24,
|
|
433
|
-
height: 24,
|
|
434
|
-
viewBox: "0 0 24 24",
|
|
435
|
-
ref: ref
|
|
436
|
-
}, props), _path$B || (_path$B = /*#__PURE__*/React__namespace.createElement("path", {
|
|
437
|
-
d: "M13 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-6V3z"
|
|
438
|
-
})), _path2$3 || (_path2$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
439
275
|
fillRule: "evenodd",
|
|
440
|
-
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",
|
|
441
277
|
clipRule: "evenodd"
|
|
442
278
|
})));
|
|
443
279
|
};
|
|
444
|
-
var ForwardRef$
|
|
445
|
-
|
|
446
|
-
var _path$A;
|
|
447
|
-
function _extends$A() { return _extends$A = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$A.apply(null, arguments); }
|
|
448
|
-
var SvgTableSwapOutline = function SvgTableSwapOutline(props, ref) {
|
|
449
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
|
|
450
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
451
|
-
width: 24,
|
|
452
|
-
height: 24,
|
|
453
|
-
viewBox: "0 0 24 24",
|
|
454
|
-
ref: ref
|
|
455
|
-
}, props), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
|
|
456
|
-
d: "M7 6.825V20h2V6.825L10.6 8.4 12 7 8 3 4 7l1.4 1.4L7 6.825zm10 10.35V4h-2v13.175L13.4 15.6 12 17l4 4 4-4-1.4-1.4-1.6 1.575z"
|
|
457
|
-
})));
|
|
458
|
-
};
|
|
459
|
-
var ForwardRef$A = /*#__PURE__*/React.forwardRef(SvgTableSwapOutline);
|
|
280
|
+
var ForwardRef$E = /*#__PURE__*/React.forwardRef(SvgFileFileEmlFill);
|
|
460
281
|
|
|
461
|
-
var _path$
|
|
462
|
-
function _extends$
|
|
463
|
-
var SvgContentFiltrationFill = function SvgContentFiltrationFill(props, ref) {
|
|
464
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
|
|
465
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
466
|
-
width: 24,
|
|
467
|
-
height: 24,
|
|
468
|
-
viewBox: "0 0 24 24",
|
|
469
|
-
ref: ref
|
|
470
|
-
}, props), _path$z || (_path$z = /*#__PURE__*/React__namespace.createElement("path", {
|
|
471
|
-
d: "M14 13v8l-4-2v-6L2.95 4h18.1L14 13z"
|
|
472
|
-
})));
|
|
473
|
-
};
|
|
474
|
-
var ForwardRef$z = /*#__PURE__*/React.forwardRef(SvgContentFiltrationFill);
|
|
475
|
-
|
|
476
|
-
var _path$y;
|
|
477
|
-
function _extends$y() { return _extends$y = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$y.apply(null, arguments); }
|
|
478
|
-
var SvgNavigationChevronUpOutline = function SvgNavigationChevronUpOutline(props, ref) {
|
|
479
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
|
|
480
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
481
|
-
width: 24,
|
|
482
|
-
height: 24,
|
|
483
|
-
viewBox: "0 0 24 24",
|
|
484
|
-
ref: ref
|
|
485
|
-
}, props), _path$y || (_path$y = /*#__PURE__*/React__namespace.createElement("path", {
|
|
486
|
-
d: "M18.586 15.914 20 14.5l-8-8-8 8 1.414 1.414L12 9.328l6.586 6.586z"
|
|
487
|
-
})));
|
|
488
|
-
};
|
|
489
|
-
var ForwardRef$y = /*#__PURE__*/React.forwardRef(SvgNavigationChevronUpOutline);
|
|
490
|
-
|
|
491
|
-
var _path$x;
|
|
492
|
-
function _extends$x() { return _extends$x = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$x.apply(null, arguments); }
|
|
493
|
-
var SvgNavigationCollapseAllOutline = function SvgNavigationCollapseAllOutline(props, ref) {
|
|
494
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
|
|
495
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
496
|
-
width: 24,
|
|
497
|
-
height: 24,
|
|
498
|
-
viewBox: "0 0 24 24",
|
|
499
|
-
ref: ref
|
|
500
|
-
}, props), _path$x || (_path$x = /*#__PURE__*/React__namespace.createElement("path", {
|
|
501
|
-
d: "M16.5 4.414 15.086 3 12 6.086 8.914 3 7.5 4.414l4.5 4.5 4.5-4.5zM9 13v-2h6v2H9zm6.086 8 1.414-1.414-4.5-4.5-4.5 4.5L8.914 21 12 17.914 15.086 21z"
|
|
502
|
-
})));
|
|
503
|
-
};
|
|
504
|
-
var ForwardRef$x = /*#__PURE__*/React.forwardRef(SvgNavigationCollapseAllOutline);
|
|
505
|
-
|
|
506
|
-
var _path$w;
|
|
507
|
-
function _extends$w() { return _extends$w = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$w.apply(null, arguments); }
|
|
508
|
-
var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props, ref) {
|
|
509
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
|
|
510
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
511
|
-
width: 24,
|
|
512
|
-
height: 24,
|
|
513
|
-
viewBox: "0 0 24 24",
|
|
514
|
-
ref: ref
|
|
515
|
-
}, props), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
|
|
516
|
-
d: "m16.5 7.5-1.414 1.414L12 5.828 8.914 8.914 7.5 7.5 12 3l4.5 4.5zM9 13v-2h6v2H9zm6.086 2.086L16.5 16.5 12 21l-4.5-4.5 1.414-1.414L12 18.17l3.086-3.085z"
|
|
517
|
-
})));
|
|
518
|
-
};
|
|
519
|
-
var ForwardRef$w = /*#__PURE__*/React.forwardRef(SvgNavigationExpandAllOutline);
|
|
520
|
-
|
|
521
|
-
var _path$v;
|
|
522
|
-
function _extends$v() { return _extends$v = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$v.apply(null, arguments); }
|
|
523
|
-
var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
524
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
|
|
525
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
526
|
-
width: 24,
|
|
527
|
-
height: 24,
|
|
528
|
-
viewBox: "0 0 24 24",
|
|
529
|
-
ref: ref
|
|
530
|
-
}, props), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
|
|
531
|
-
d: "m9.25 22-.4-3.2a3.771 3.771 0 0 1-.612-.3 8.194 8.194 0 0 1-.563-.375L4.7 19.375l-2.75-4.75 2.575-1.95a2.39 2.39 0 0 1-.025-.338v-.675c0-.108.009-.22.025-.337L1.95 9.375l2.75-4.75 2.975 1.25c.184-.133.375-.258.575-.375.2-.117.4-.217.6-.3l.4-3.2h5.5l.4 3.2c.217.083.421.183.613.3.191.117.379.242.562.375l2.975-1.25 2.75 4.75-2.575 1.95c.017.117.025.229.025.337v.675c0 .109-.017.221-.05.338l2.575 1.95-2.75 4.75-2.95-1.25a6.826 6.826 0 0 1-.575.375c-.2.117-.4.217-.6.3l-.4 3.2h-5.5zm2.8-6.5c.967 0 1.792-.342 2.475-1.025A3.372 3.372 0 0 0 15.55 12c0-.967-.341-1.792-1.025-2.475A3.372 3.372 0 0 0 12.05 8.5c-.983 0-1.813.342-2.488 1.025A3.394 3.394 0 0 0 8.55 12c0 .967.338 1.792 1.012 2.475.676.683 1.505 1.025 2.488 1.025z"
|
|
532
|
-
})));
|
|
533
|
-
};
|
|
534
|
-
var ForwardRef$v = /*#__PURE__*/React.forwardRef(SvgActionSettingsFill);
|
|
535
|
-
|
|
536
|
-
var _path$u;
|
|
537
|
-
function _extends$u() { return _extends$u = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$u.apply(null, arguments); }
|
|
538
|
-
var SvgNavigationChevronLeftOutline = function SvgNavigationChevronLeftOutline(props, ref) {
|
|
539
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
|
|
540
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
541
|
-
width: 24,
|
|
542
|
-
height: 24,
|
|
543
|
-
viewBox: "0 0 24 24",
|
|
544
|
-
ref: ref
|
|
545
|
-
}, props), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
|
|
546
|
-
d: "M15.914 5.414 14.5 4l-8 8 8 8 1.414-1.414L9.328 12l6.586-6.586z"
|
|
547
|
-
})));
|
|
548
|
-
};
|
|
549
|
-
var ForwardRef$u = /*#__PURE__*/React.forwardRef(SvgNavigationChevronLeftOutline);
|
|
550
|
-
|
|
551
|
-
var _path$t;
|
|
552
|
-
function _extends$t() { return _extends$t = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$t.apply(null, arguments); }
|
|
553
|
-
var SvgNavigationChevronRightOutline = function SvgNavigationChevronRightOutline(props, ref) {
|
|
554
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
|
|
555
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
556
|
-
width: 24,
|
|
557
|
-
height: 24,
|
|
558
|
-
viewBox: "0 0 24 24",
|
|
559
|
-
ref: ref
|
|
560
|
-
}, props), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
|
|
561
|
-
d: "M8.086 18.586 9.5 20l8-8-8-8-1.414 1.414L14.672 12l-6.586 6.586z"
|
|
562
|
-
})));
|
|
563
|
-
};
|
|
564
|
-
var ForwardRef$t = /*#__PURE__*/React.forwardRef(SvgNavigationChevronRightOutline);
|
|
565
|
-
|
|
566
|
-
var _path$s;
|
|
567
|
-
function _extends$s() { return _extends$s = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$s.apply(null, arguments); }
|
|
568
|
-
var SvgActionAddOutline = function SvgActionAddOutline(props, ref) {
|
|
569
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
|
|
570
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
571
|
-
width: 24,
|
|
572
|
-
height: 24,
|
|
573
|
-
viewBox: "0 0 24 24",
|
|
574
|
-
ref: ref
|
|
575
|
-
}, props), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
|
|
576
|
-
d: "M13.286 3h-2.572v7.714H3v2.572h7.714V21h2.572v-7.714H21v-2.572h-7.714V3z"
|
|
577
|
-
})));
|
|
578
|
-
};
|
|
579
|
-
var ForwardRef$s = /*#__PURE__*/React.forwardRef(SvgActionAddOutline);
|
|
580
|
-
|
|
581
|
-
var _path$r;
|
|
582
|
-
function _extends$r() { return _extends$r = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$r.apply(null, arguments); }
|
|
583
|
-
var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
584
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
|
|
585
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
586
|
-
width: 24,
|
|
587
|
-
height: 24,
|
|
588
|
-
viewBox: "0 0 24 24",
|
|
589
|
-
ref: ref
|
|
590
|
-
}, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
|
|
591
|
-
d: "m2 12 3.077-3.2 4.615 4.8L18.923 4 22 7.2 9.692 20 2 12z"
|
|
592
|
-
})));
|
|
593
|
-
};
|
|
594
|
-
var ForwardRef$r = /*#__PURE__*/React.forwardRef(SvgNotificationDoneFill);
|
|
595
|
-
|
|
596
|
-
var _path$q;
|
|
597
|
-
function _extends$q() { return _extends$q = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$q.apply(null, arguments); }
|
|
598
|
-
var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
599
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
|
|
600
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
601
|
-
width: 24,
|
|
602
|
-
height: 24,
|
|
603
|
-
viewBox: "0 0 24 24",
|
|
604
|
-
ref: ref
|
|
605
|
-
}, props), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
|
|
606
|
-
d: "M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14z"
|
|
607
|
-
})));
|
|
608
|
-
};
|
|
609
|
-
var ForwardRef$q = /*#__PURE__*/React.forwardRef(SvgRadioDotFill);
|
|
610
|
-
|
|
611
|
-
var _path$p;
|
|
612
|
-
function _extends$p() { return _extends$p = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$p.apply(null, arguments); }
|
|
613
|
-
var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
614
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
|
|
615
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
616
|
-
width: 24,
|
|
617
|
-
height: 24,
|
|
618
|
-
viewBox: "0 0 24 24",
|
|
619
|
-
ref: ref
|
|
620
|
-
}, props), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
|
|
621
|
-
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"
|
|
622
|
-
})));
|
|
623
|
-
};
|
|
624
|
-
var ForwardRef$p = /*#__PURE__*/React.forwardRef(SvgNotificationHelpFill);
|
|
625
|
-
|
|
626
|
-
var _path$o;
|
|
627
|
-
function _extends$o() { return _extends$o = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$o.apply(null, arguments); }
|
|
628
|
-
var SvgNotificationCheckFill = function SvgNotificationCheckFill(props, ref) {
|
|
629
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
|
|
630
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
631
|
-
width: 24,
|
|
632
|
-
height: 24,
|
|
633
|
-
viewBox: "0 0 24 24",
|
|
634
|
-
ref: ref
|
|
635
|
-
}, props), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
|
|
636
|
-
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"
|
|
637
|
-
})));
|
|
638
|
-
};
|
|
639
|
-
var ForwardRef$o = /*#__PURE__*/React.forwardRef(SvgNotificationCheckFill);
|
|
640
|
-
|
|
641
|
-
var _path$n;
|
|
642
|
-
function _extends$n() { return _extends$n = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$n.apply(null, arguments); }
|
|
643
|
-
var SvgNotificationWarningFill = function SvgNotificationWarningFill(props, ref) {
|
|
644
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
|
|
645
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
646
|
-
width: 24,
|
|
647
|
-
height: 24,
|
|
648
|
-
viewBox: "0 0 24 24",
|
|
649
|
-
ref: ref
|
|
650
|
-
}, props), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
|
|
651
|
-
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"
|
|
652
|
-
})));
|
|
653
|
-
};
|
|
654
|
-
var ForwardRef$n = /*#__PURE__*/React.forwardRef(SvgNotificationWarningFill);
|
|
655
|
-
|
|
656
|
-
var _path$m;
|
|
657
|
-
function _extends$m() { return _extends$m = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$m.apply(null, arguments); }
|
|
658
|
-
var SvgNotificationErrorFill = function SvgNotificationErrorFill(props, ref) {
|
|
659
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
|
|
660
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
661
|
-
width: 24,
|
|
662
|
-
height: 24,
|
|
663
|
-
viewBox: "0 0 24 24",
|
|
664
|
-
ref: ref
|
|
665
|
-
}, props), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
|
|
666
|
-
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"
|
|
667
|
-
})));
|
|
668
|
-
};
|
|
669
|
-
var ForwardRef$m = /*#__PURE__*/React.forwardRef(SvgNotificationErrorFill);
|
|
670
|
-
|
|
671
|
-
var _path$l;
|
|
672
|
-
function _extends$l() { return _extends$l = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$l.apply(null, arguments); }
|
|
673
|
-
var SvgFileFileWordFill = function SvgFileFileWordFill(props, ref) {
|
|
674
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
|
|
675
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
676
|
-
width: 24,
|
|
677
|
-
height: 24,
|
|
678
|
-
viewBox: "0 0 24 24",
|
|
679
|
-
ref: ref
|
|
680
|
-
}, props), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
|
|
681
|
-
fillRule: "evenodd",
|
|
682
|
-
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",
|
|
683
|
-
clipRule: "evenodd"
|
|
684
|
-
})));
|
|
685
|
-
};
|
|
686
|
-
var ForwardRef$l = /*#__PURE__*/React.forwardRef(SvgFileFileWordFill);
|
|
687
|
-
|
|
688
|
-
var _path$k;
|
|
689
|
-
function _extends$k() { return _extends$k = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$k.apply(null, arguments); }
|
|
690
|
-
var SvgFileFileExcelFill = function SvgFileFileExcelFill(props, ref) {
|
|
691
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
|
|
692
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
693
|
-
width: 24,
|
|
694
|
-
height: 24,
|
|
695
|
-
viewBox: "0 0 24 24",
|
|
696
|
-
ref: ref
|
|
697
|
-
}, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
|
|
698
|
-
fillRule: "evenodd",
|
|
699
|
-
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",
|
|
700
|
-
clipRule: "evenodd"
|
|
701
|
-
})));
|
|
702
|
-
};
|
|
703
|
-
var ForwardRef$k = /*#__PURE__*/React.forwardRef(SvgFileFileExcelFill);
|
|
704
|
-
|
|
705
|
-
var _path$j;
|
|
706
|
-
function _extends$j() { return _extends$j = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$j.apply(null, arguments); }
|
|
707
|
-
var SvgFileFilePdfFill = function SvgFileFilePdfFill(props, ref) {
|
|
708
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
|
|
709
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
710
|
-
width: 24,
|
|
711
|
-
height: 24,
|
|
712
|
-
viewBox: "0 0 24 24",
|
|
713
|
-
ref: ref
|
|
714
|
-
}, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
|
|
715
|
-
fillRule: "evenodd",
|
|
716
|
-
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",
|
|
717
|
-
clipRule: "evenodd"
|
|
718
|
-
})));
|
|
719
|
-
};
|
|
720
|
-
var ForwardRef$j = /*#__PURE__*/React.forwardRef(SvgFileFilePdfFill);
|
|
721
|
-
|
|
722
|
-
var _path$i;
|
|
723
|
-
function _extends$i() { return _extends$i = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$i.apply(null, arguments); }
|
|
724
|
-
var SvgFileFileImageFill = function SvgFileFileImageFill(props, ref) {
|
|
725
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
|
|
726
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
727
|
-
width: 24,
|
|
728
|
-
height: 24,
|
|
729
|
-
viewBox: "0 0 24 24",
|
|
730
|
-
ref: ref
|
|
731
|
-
}, props), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
|
|
732
|
-
fillRule: "evenodd",
|
|
733
|
-
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",
|
|
734
|
-
clipRule: "evenodd"
|
|
735
|
-
})));
|
|
736
|
-
};
|
|
737
|
-
var ForwardRef$i = /*#__PURE__*/React.forwardRef(SvgFileFileImageFill);
|
|
738
|
-
|
|
739
|
-
var _path$h, _path2$2;
|
|
740
|
-
function _extends$h() { return _extends$h = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$h.apply(null, arguments); }
|
|
741
|
-
var SvgFileFileVideoFill = function SvgFileFileVideoFill(props, ref) {
|
|
742
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
|
|
743
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
744
|
-
width: 24,
|
|
745
|
-
height: 24,
|
|
746
|
-
viewBox: "0 0 24 24",
|
|
747
|
-
ref: ref
|
|
748
|
-
}, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
|
|
749
|
-
d: "M14.992 14 9.5 17.138v-6.276L14.992 14z"
|
|
750
|
-
})), _path2$2 || (_path2$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
751
|
-
fillRule: "evenodd",
|
|
752
|
-
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",
|
|
753
|
-
clipRule: "evenodd"
|
|
754
|
-
})));
|
|
755
|
-
};
|
|
756
|
-
var ForwardRef$h = /*#__PURE__*/React.forwardRef(SvgFileFileVideoFill);
|
|
757
|
-
|
|
758
|
-
var _path$g;
|
|
759
|
-
function _extends$g() { return _extends$g = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$g.apply(null, arguments); }
|
|
760
|
-
var SvgFileFileTableFill = function SvgFileFileTableFill(props, ref) {
|
|
761
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
|
|
762
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
763
|
-
width: 24,
|
|
764
|
-
height: 24,
|
|
765
|
-
viewBox: "0 0 24 24",
|
|
766
|
-
ref: ref
|
|
767
|
-
}, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
|
|
768
|
-
fillRule: "evenodd",
|
|
769
|
-
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",
|
|
770
|
-
clipRule: "evenodd"
|
|
771
|
-
})));
|
|
772
|
-
};
|
|
773
|
-
var ForwardRef$g = /*#__PURE__*/React.forwardRef(SvgFileFileTableFill);
|
|
774
|
-
|
|
775
|
-
var _path$f;
|
|
776
|
-
function _extends$f() { return _extends$f = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$f.apply(null, arguments); }
|
|
777
|
-
var SvgFileFileTextFill = function SvgFileFileTextFill(props, ref) {
|
|
778
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
|
|
779
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
780
|
-
width: 24,
|
|
781
|
-
height: 24,
|
|
782
|
-
viewBox: "0 0 24 24",
|
|
783
|
-
ref: ref
|
|
784
|
-
}, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
|
|
785
|
-
fillRule: "evenodd",
|
|
786
|
-
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",
|
|
787
|
-
clipRule: "evenodd"
|
|
788
|
-
})));
|
|
789
|
-
};
|
|
790
|
-
var ForwardRef$f = /*#__PURE__*/React.forwardRef(SvgFileFileTextFill);
|
|
791
|
-
|
|
792
|
-
var _path$e;
|
|
793
|
-
function _extends$e() { return _extends$e = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$e.apply(null, arguments); }
|
|
794
|
-
var SvgFileFileEmlFill = function SvgFileFileEmlFill(props, ref) {
|
|
795
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
|
|
796
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
797
|
-
width: 24,
|
|
798
|
-
height: 24,
|
|
799
|
-
viewBox: "0 0 24 24",
|
|
800
|
-
ref: ref
|
|
801
|
-
}, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
|
|
802
|
-
fillRule: "evenodd",
|
|
803
|
-
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",
|
|
804
|
-
clipRule: "evenodd"
|
|
805
|
-
})));
|
|
806
|
-
};
|
|
807
|
-
var ForwardRef$e = /*#__PURE__*/React.forwardRef(SvgFileFileEmlFill);
|
|
808
|
-
|
|
809
|
-
var _path$d;
|
|
810
|
-
function _extends$d() { return _extends$d = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$d.apply(null, arguments); }
|
|
282
|
+
var _path$D;
|
|
283
|
+
function _extends$D() { return _extends$D = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$D.apply(null, arguments); }
|
|
811
284
|
var SvgFileFileFill = function SvgFileFileFill(props, ref) {
|
|
812
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
813
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
814
|
-
width: 24,
|
|
815
|
-
height: 24,
|
|
816
|
-
viewBox: "0 0 24 24",
|
|
817
|
-
ref: ref
|
|
818
|
-
}, props), _path$
|
|
819
|
-
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"
|
|
820
|
-
})));
|
|
821
|
-
};
|
|
822
|
-
var ForwardRef$d = /*#__PURE__*/React.forwardRef(SvgFileFileFill);
|
|
823
|
-
|
|
824
|
-
var _path$c;
|
|
825
|
-
function _extends$c() { return _extends$c = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$c.apply(null, arguments); }
|
|
826
|
-
var SvgStarFilled = function SvgStarFilled(props, ref) {
|
|
827
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
|
|
828
|
-
width: 24,
|
|
829
|
-
height: 24,
|
|
830
|
-
viewBox: "0 0 24 24",
|
|
831
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
832
|
-
ref: ref
|
|
833
|
-
}, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
|
|
834
|
-
fillRule: "evenodd",
|
|
835
|
-
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"
|
|
836
|
-
})));
|
|
837
|
-
};
|
|
838
|
-
var ForwardRef$c = /*#__PURE__*/React.forwardRef(SvgStarFilled);
|
|
839
|
-
|
|
840
|
-
var _path$b, _path2$1;
|
|
841
|
-
function _extends$b() { return _extends$b = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$b.apply(null, arguments); }
|
|
842
|
-
var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
843
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
|
|
844
|
-
width: 66,
|
|
845
|
-
height: 67,
|
|
846
|
-
viewBox: "0 0 66 67",
|
|
847
|
-
fill: "none",
|
|
848
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
849
|
-
ref: ref
|
|
850
|
-
}, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
|
|
851
|
-
d: "M0 33.5C0 15.275 14.775.5 33 .5s33 14.775 33 33-14.775 33-33 33-33-14.775-33-33Z",
|
|
852
|
-
fill: "#EBEDF5"
|
|
853
|
-
})), _path2$1 || (_path2$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
854
|
-
fillRule: "evenodd",
|
|
855
|
-
clipRule: "evenodd",
|
|
856
|
-
d: "m42.31 40.335 7.165 7.165L47 49.975l-7.165-7.165a13.94 13.94 0 0 1-8.585 2.94c-7.732 0-14-6.268-14-14s6.268-14 14-14 14 6.268 14 14a13.94 13.94 0 0 1-2.94 8.585ZM31.25 42.25c5.799 0 10.5-4.701 10.5-10.5s-4.701-10.5-10.5-10.5-10.5 4.701-10.5 10.5 4.701 10.5 10.5 10.5Z",
|
|
857
|
-
fill: "#6C6F80"
|
|
858
|
-
})));
|
|
859
|
-
};
|
|
860
|
-
var ForwardRef$b = /*#__PURE__*/React.forwardRef(SvgSearchWithBackground);
|
|
861
|
-
|
|
862
|
-
const accordionSettings = {
|
|
863
|
-
icons: {
|
|
864
|
-
dropdownIcon: ForwardRef$Q,
|
|
865
|
-
},
|
|
866
|
-
};
|
|
867
|
-
const alertSettings = {
|
|
868
|
-
icons: {
|
|
869
|
-
closeIcon: ForwardRef$R,
|
|
870
|
-
infoIcon: ForwardRef$K,
|
|
871
|
-
successIcon: ForwardRef$o,
|
|
872
|
-
warningIcon: ForwardRef$n,
|
|
873
|
-
errorIcon: ForwardRef$m,
|
|
874
|
-
},
|
|
875
|
-
sizes: {
|
|
876
|
-
default: '48',
|
|
877
|
-
actionMap: {
|
|
878
|
-
36: '24',
|
|
879
|
-
48: '30',
|
|
880
|
-
},
|
|
881
|
-
},
|
|
882
|
-
};
|
|
883
|
-
const badgeSettings = {
|
|
884
|
-
icons: {
|
|
885
|
-
dropdownIcon: ForwardRef$Q,
|
|
886
|
-
},
|
|
887
|
-
sizes: {
|
|
888
|
-
default: '36',
|
|
889
|
-
countIndicatorMap: {
|
|
890
|
-
18: '12',
|
|
891
|
-
24: '18',
|
|
892
|
-
30: '18',
|
|
893
|
-
36: '18',
|
|
894
|
-
42: '24',
|
|
895
|
-
48: '24',
|
|
896
|
-
},
|
|
897
|
-
},
|
|
285
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
|
|
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$D || (_path$D = /*#__PURE__*/React__namespace.createElement("path", {
|
|
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
|
+
})));
|
|
898
294
|
};
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
295
|
+
var ForwardRef$D = /*#__PURE__*/React.forwardRef(SvgFileFileFill);
|
|
296
|
+
|
|
297
|
+
const fileIcons = {
|
|
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,
|
|
907
307
|
};
|
|
908
|
-
const
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
},
|
|
308
|
+
const systemIcons = {
|
|
309
|
+
clear: ForwardRef$R,
|
|
310
|
+
foldingArrow: ForwardRef$Q,
|
|
311
|
+
accept: ForwardRef$P,
|
|
312
|
+
search: ForwardRef$O,
|
|
313
|
+
calendar: ForwardRef$N,
|
|
314
|
+
info: ForwardRef$M,
|
|
916
315
|
};
|
|
917
|
-
|
|
316
|
+
|
|
317
|
+
const settings = {
|
|
918
318
|
sizes: {
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
319
|
+
defaults: {
|
|
320
|
+
alert: '48',
|
|
321
|
+
badge: '36',
|
|
322
|
+
button: '36',
|
|
323
|
+
checkbox: '18',
|
|
324
|
+
countIndicator: '24',
|
|
325
|
+
flexRow: '36',
|
|
326
|
+
filtersPanel: '36',
|
|
327
|
+
linkButton: '36',
|
|
328
|
+
numericInput: '36',
|
|
329
|
+
radioInput: '18',
|
|
330
|
+
richTextView: '14',
|
|
331
|
+
switch: '18',
|
|
332
|
+
tabButton: '48',
|
|
333
|
+
tag: '36',
|
|
334
|
+
text: '36',
|
|
335
|
+
textArea: '36',
|
|
336
|
+
textInput: '36',
|
|
337
|
+
rangeDatePicker: '36',
|
|
338
|
+
datePicker: '36',
|
|
339
|
+
labeledInput: '36',
|
|
340
|
+
statusIndicator: '24',
|
|
341
|
+
paginator: '30',
|
|
342
|
+
rating: '18',
|
|
935
343
|
},
|
|
936
|
-
|
|
937
|
-
|
|
344
|
+
alert: {
|
|
345
|
+
action: {
|
|
346
|
+
36: '24',
|
|
347
|
+
48: '30',
|
|
348
|
+
},
|
|
938
349
|
},
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
lockIcon: ForwardRef$D,
|
|
942
|
-
pinLeftIcon: ForwardRef$C,
|
|
943
|
-
pinRightIcon: ForwardRef$B,
|
|
944
|
-
collapsedIcon: ForwardRef$t,
|
|
945
|
-
expandedIcon: ForwardRef$Q,
|
|
946
|
-
menuIcon: ForwardRef$F,
|
|
947
|
-
resetIcon: ForwardRef$E,
|
|
350
|
+
notificationCard: {
|
|
351
|
+
action: '30',
|
|
948
352
|
},
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
353
|
+
tag: {
|
|
354
|
+
countIndicator: {
|
|
355
|
+
18: '12',
|
|
356
|
+
24: '18',
|
|
357
|
+
30: '18',
|
|
954
358
|
36: '18',
|
|
955
|
-
|
|
956
|
-
|
|
359
|
+
42: '24',
|
|
360
|
+
48: '24',
|
|
957
361
|
},
|
|
958
362
|
},
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
363
|
+
pickerInput: {
|
|
364
|
+
toggler: {
|
|
365
|
+
defaults: {
|
|
366
|
+
size: '36',
|
|
367
|
+
tag: '36',
|
|
368
|
+
},
|
|
369
|
+
tag: {
|
|
370
|
+
24: '18',
|
|
371
|
+
30: '18',
|
|
372
|
+
36: '24',
|
|
373
|
+
42: '30',
|
|
374
|
+
48: '36',
|
|
375
|
+
60: '42',
|
|
376
|
+
},
|
|
377
|
+
},
|
|
378
|
+
body: {
|
|
379
|
+
dropdown: {
|
|
380
|
+
height: 300,
|
|
381
|
+
width: 360,
|
|
382
|
+
padding: '12',
|
|
383
|
+
row: {
|
|
384
|
+
default: '36',
|
|
385
|
+
cell: {
|
|
386
|
+
padding: '24',
|
|
387
|
+
text: {
|
|
388
|
+
24: '24',
|
|
389
|
+
30: '30',
|
|
390
|
+
36: '36',
|
|
391
|
+
42: '42',
|
|
392
|
+
48: '48',
|
|
393
|
+
60: '48',
|
|
394
|
+
},
|
|
395
|
+
icon: {
|
|
396
|
+
24: '12',
|
|
397
|
+
30: '18',
|
|
398
|
+
36: '18',
|
|
399
|
+
42: '24',
|
|
400
|
+
48: '24',
|
|
401
|
+
60: '24',
|
|
402
|
+
},
|
|
403
|
+
isBoldSelectionIcon: {
|
|
404
|
+
24: true,
|
|
405
|
+
},
|
|
406
|
+
item: {
|
|
407
|
+
default: '36',
|
|
408
|
+
verticalPadding: {
|
|
409
|
+
24: '3',
|
|
410
|
+
30: '6',
|
|
411
|
+
36: '9',
|
|
412
|
+
42: '6',
|
|
413
|
+
48: '9',
|
|
414
|
+
},
|
|
415
|
+
avatar: {
|
|
416
|
+
rest: {
|
|
417
|
+
24: '18',
|
|
418
|
+
30: '24',
|
|
419
|
+
36: '30',
|
|
420
|
+
42: '36',
|
|
421
|
+
48: '36', // no design
|
|
422
|
+
},
|
|
423
|
+
multiline: {
|
|
424
|
+
24: '30',
|
|
425
|
+
30: '30',
|
|
426
|
+
36: '36',
|
|
427
|
+
42: '42',
|
|
428
|
+
48: '48', // no design
|
|
429
|
+
},
|
|
430
|
+
},
|
|
431
|
+
},
|
|
432
|
+
},
|
|
433
|
+
},
|
|
434
|
+
footer: {
|
|
435
|
+
switch: {
|
|
436
|
+
24: '12',
|
|
437
|
+
30: '18',
|
|
438
|
+
36: '18',
|
|
439
|
+
42: '24',
|
|
440
|
+
48: '24',
|
|
441
|
+
},
|
|
442
|
+
linkButton: {
|
|
443
|
+
24: '24',
|
|
444
|
+
30: '30',
|
|
445
|
+
36: '36',
|
|
446
|
+
42: '42',
|
|
447
|
+
48: '48',
|
|
448
|
+
},
|
|
449
|
+
},
|
|
450
|
+
},
|
|
451
|
+
mobile: {
|
|
452
|
+
header: {
|
|
453
|
+
titleSize: '48',
|
|
454
|
+
},
|
|
455
|
+
footer: {
|
|
456
|
+
linkButton: '48',
|
|
457
|
+
},
|
|
458
|
+
row: '48',
|
|
459
|
+
searchInput: '48',
|
|
460
|
+
},
|
|
461
|
+
modal: {
|
|
462
|
+
row: '36',
|
|
463
|
+
padding: '24',
|
|
464
|
+
},
|
|
465
|
+
},
|
|
466
|
+
},
|
|
467
|
+
rowAddons: {
|
|
468
|
+
defaults: {
|
|
469
|
+
icon: '18',
|
|
470
|
+
indentUnit: 24,
|
|
471
|
+
indentWidth: 18,
|
|
472
|
+
},
|
|
473
|
+
checkbox: {
|
|
962
474
|
24: '12',
|
|
963
475
|
30: '18',
|
|
964
476
|
36: '18',
|
|
@@ -966,7 +478,7 @@ const dataTableSettings = {
|
|
|
966
478
|
48: '18',
|
|
967
479
|
60: '18',
|
|
968
480
|
},
|
|
969
|
-
|
|
481
|
+
icon: {
|
|
970
482
|
24: '12',
|
|
971
483
|
30: '18',
|
|
972
484
|
36: '18',
|
|
@@ -974,7 +486,7 @@ const dataTableSettings = {
|
|
|
974
486
|
48: '24',
|
|
975
487
|
60: '24',
|
|
976
488
|
},
|
|
977
|
-
|
|
489
|
+
indentUnit: {
|
|
978
490
|
24: 6,
|
|
979
491
|
30: 12,
|
|
980
492
|
36: 12,
|
|
@@ -982,7 +494,7 @@ const dataTableSettings = {
|
|
|
982
494
|
48: 24,
|
|
983
495
|
60: 24,
|
|
984
496
|
},
|
|
985
|
-
|
|
497
|
+
indentWidth: {
|
|
986
498
|
24: 12,
|
|
987
499
|
30: 18,
|
|
988
500
|
36: 18,
|
|
@@ -991,321 +503,132 @@ const dataTableSettings = {
|
|
|
991
503
|
60: 24,
|
|
992
504
|
},
|
|
993
505
|
},
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
}
|
|
1002
|
-
const dropdownMenuSettings = {
|
|
1003
|
-
icons: {
|
|
1004
|
-
acceptIcon: ForwardRef$P,
|
|
1005
|
-
dropdownIcon: ForwardRef$Q,
|
|
1006
|
-
},
|
|
1007
|
-
};
|
|
1008
|
-
const datePickerSettings = {
|
|
1009
|
-
icons: {
|
|
1010
|
-
body: {
|
|
1011
|
-
prevIcon: ForwardRef$u,
|
|
1012
|
-
nextIcon: ForwardRef$t,
|
|
1013
|
-
},
|
|
1014
|
-
input: {
|
|
1015
|
-
calendarIcon: ForwardRef$M,
|
|
506
|
+
text: {
|
|
507
|
+
18: { lineHeight: 12, fontSize: 10 },
|
|
508
|
+
24: { lineHeight: 18, fontSize: 12 },
|
|
509
|
+
30: { lineHeight: 18, fontSize: 14 },
|
|
510
|
+
36: { lineHeight: 18, fontSize: 14 },
|
|
511
|
+
42: { lineHeight: 24, fontSize: 16 },
|
|
512
|
+
48: { lineHeight: 24, fontSize: 16 },
|
|
513
|
+
60: { lineHeight: 30, fontSize: 24 },
|
|
1016
514
|
},
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
}
|
|
1023
|
-
const fileCardSettings = {
|
|
1024
|
-
icons: {
|
|
1025
|
-
docIcon: ForwardRef$l,
|
|
1026
|
-
exelIcon: ForwardRef$k,
|
|
1027
|
-
pdfIcon: ForwardRef$j,
|
|
1028
|
-
imgIcon: ForwardRef$i,
|
|
1029
|
-
videoIcon: ForwardRef$h,
|
|
1030
|
-
tableIcon: ForwardRef$g,
|
|
1031
|
-
textIcon: ForwardRef$f,
|
|
1032
|
-
mailIcon: ForwardRef$e,
|
|
1033
|
-
fileIcon: ForwardRef$d,
|
|
1034
|
-
closeIcon: ForwardRef$R,
|
|
1035
|
-
errorIcon: ForwardRef$m,
|
|
1036
|
-
},
|
|
1037
|
-
};
|
|
1038
|
-
const flexRowSettings = {
|
|
1039
|
-
sizes: {
|
|
1040
|
-
default: '36',
|
|
1041
|
-
},
|
|
1042
|
-
};
|
|
1043
|
-
const filtersPanelSettings = {
|
|
1044
|
-
icons: {
|
|
1045
|
-
addFilterIcon: ForwardRef$s,
|
|
1046
|
-
itemDropdownIcon: ForwardRef$Q,
|
|
1047
|
-
},
|
|
1048
|
-
sizes: {
|
|
1049
|
-
default: '36',
|
|
1050
|
-
},
|
|
1051
|
-
};
|
|
1052
|
-
const iconButtonSettings = {
|
|
1053
|
-
icons: {
|
|
1054
|
-
dropdownIcon: ForwardRef$Q,
|
|
1055
|
-
},
|
|
1056
|
-
};
|
|
1057
|
-
const labeledInputSettings = {
|
|
1058
|
-
icons: {
|
|
1059
|
-
infoIcon: ForwardRef$L,
|
|
1060
|
-
fillInfoIcon: ForwardRef$K,
|
|
1061
|
-
},
|
|
1062
|
-
sizes: {
|
|
1063
|
-
default: '36',
|
|
1064
|
-
},
|
|
1065
|
-
};
|
|
1066
|
-
const linkButtonSettings = {
|
|
1067
|
-
icons: {
|
|
1068
|
-
dropdownIcon: ForwardRef$Q,
|
|
1069
|
-
},
|
|
1070
|
-
sizes: {
|
|
1071
|
-
default: '36',
|
|
1072
|
-
},
|
|
1073
|
-
weight: 'semibold',
|
|
1074
|
-
};
|
|
1075
|
-
const modalSettings = {
|
|
1076
|
-
icons: {
|
|
1077
|
-
closeIcon: ForwardRef$R,
|
|
1078
|
-
},
|
|
1079
|
-
};
|
|
1080
|
-
const notificationCardSettings = {
|
|
1081
|
-
icons: {
|
|
1082
|
-
closeIcon: ForwardRef$R,
|
|
1083
|
-
hintIcon: ForwardRef$p,
|
|
1084
|
-
successIcon: ForwardRef$o,
|
|
1085
|
-
warningIcon: ForwardRef$n,
|
|
1086
|
-
errorIcon: ForwardRef$m,
|
|
1087
|
-
},
|
|
1088
|
-
sizes: {
|
|
1089
|
-
action: '30',
|
|
1090
|
-
},
|
|
1091
|
-
};
|
|
1092
|
-
const numericInputSettings = {
|
|
1093
|
-
icons: {
|
|
1094
|
-
arrowIcon: ForwardRef$Q,
|
|
1095
|
-
},
|
|
1096
|
-
sizes: {
|
|
1097
|
-
default: '36',
|
|
1098
|
-
},
|
|
1099
|
-
};
|
|
1100
|
-
const paginatorSettings = {
|
|
1101
|
-
icons: {
|
|
1102
|
-
leftArrowIcon: ForwardRef$u,
|
|
1103
|
-
rightArrowIcon: ForwardRef$t,
|
|
1104
|
-
},
|
|
1105
|
-
sizes: {
|
|
1106
|
-
default: '36',
|
|
1107
|
-
},
|
|
1108
|
-
};
|
|
1109
|
-
const pickerInputSettings = {
|
|
1110
|
-
icons: {
|
|
1111
|
-
toggler: {
|
|
1112
|
-
clearIcon: ForwardRef$R,
|
|
1113
|
-
dropdownIcon: ForwardRef$Q,
|
|
515
|
+
filtersPanel: {
|
|
516
|
+
pickerInput: {
|
|
517
|
+
body: {
|
|
518
|
+
default: '36',
|
|
519
|
+
},
|
|
520
|
+
},
|
|
1114
521
|
},
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
pickerBodyMobileHeaderCloseIcon: ForwardRef$R,
|
|
1118
|
-
modalNotFoundSearchIcon: ForwardRef$b,
|
|
522
|
+
labeledInput: {
|
|
523
|
+
fillIcon: ['24', '30'],
|
|
1119
524
|
},
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
default: '36',
|
|
1124
|
-
tag: '36',
|
|
1125
|
-
tagMap: {
|
|
525
|
+
badge: {
|
|
526
|
+
countIndicator: {
|
|
527
|
+
18: '12',
|
|
1126
528
|
24: '18',
|
|
1127
529
|
30: '18',
|
|
1128
|
-
36: '
|
|
1129
|
-
42: '
|
|
1130
|
-
48: '
|
|
530
|
+
36: '18',
|
|
531
|
+
42: '24',
|
|
532
|
+
48: '24',
|
|
1131
533
|
},
|
|
1132
534
|
},
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
535
|
+
dataTable: {
|
|
536
|
+
header: {
|
|
537
|
+
row: {
|
|
538
|
+
default: '36',
|
|
539
|
+
cell: {
|
|
540
|
+
defaults: {
|
|
541
|
+
size: '36',
|
|
542
|
+
resizeMarker: '12',
|
|
543
|
+
padding: '12',
|
|
544
|
+
paddingEdge: '24',
|
|
545
|
+
},
|
|
546
|
+
checkbox: {
|
|
547
|
+
36: '18',
|
|
548
|
+
48: '18',
|
|
549
|
+
60: '18',
|
|
550
|
+
},
|
|
551
|
+
columnCaption: {
|
|
552
|
+
fontSize: '14',
|
|
553
|
+
fontWeight: '400',
|
|
554
|
+
size: '18',
|
|
555
|
+
uppercase: '12',
|
|
556
|
+
},
|
|
557
|
+
iconSize: {
|
|
558
|
+
36: '18',
|
|
559
|
+
48: '18',
|
|
560
|
+
60: '18',
|
|
561
|
+
},
|
|
562
|
+
truncate: ['48'],
|
|
563
|
+
},
|
|
564
|
+
groupCell: {
|
|
565
|
+
defaults: {
|
|
566
|
+
size: '36',
|
|
567
|
+
padding: '12',
|
|
568
|
+
paddingEdge: '24',
|
|
569
|
+
},
|
|
570
|
+
columnCaption: {
|
|
571
|
+
fontSize: '14',
|
|
572
|
+
fontWeight: '400',
|
|
573
|
+
size: '18',
|
|
574
|
+
uppercase: '12',
|
|
575
|
+
},
|
|
576
|
+
iconSize: {
|
|
577
|
+
36: '18',
|
|
578
|
+
48: '18',
|
|
579
|
+
60: '18',
|
|
580
|
+
},
|
|
581
|
+
truncate: ['48'],
|
|
582
|
+
},
|
|
583
|
+
},
|
|
1144
584
|
},
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
585
|
+
body: {
|
|
586
|
+
row: {
|
|
587
|
+
default: '36',
|
|
588
|
+
cell: {
|
|
589
|
+
defaults: {
|
|
590
|
+
size: '36',
|
|
591
|
+
padding: '12',
|
|
592
|
+
paddingEdge: '24',
|
|
593
|
+
},
|
|
594
|
+
text: {
|
|
595
|
+
18: '18',
|
|
596
|
+
24: '24',
|
|
597
|
+
30: '30',
|
|
598
|
+
36: '36',
|
|
599
|
+
42: '42',
|
|
600
|
+
48: '48',
|
|
601
|
+
60: '48',
|
|
602
|
+
},
|
|
603
|
+
},
|
|
604
|
+
},
|
|
1151
605
|
},
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
606
|
+
columnsConfigurationModal: {
|
|
607
|
+
columnRow: '30',
|
|
608
|
+
countIndicator: '18',
|
|
609
|
+
subgroupIcon: '18',
|
|
610
|
+
search: '30',
|
|
611
|
+
width: 560,
|
|
1158
612
|
},
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
613
|
+
},
|
|
614
|
+
modal: {
|
|
615
|
+
window: {
|
|
616
|
+
defaults: {
|
|
617
|
+
width: 420,
|
|
618
|
+
},
|
|
1165
619
|
},
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
620
|
+
},
|
|
621
|
+
tabButton: {
|
|
622
|
+
countIndicator: {
|
|
1169
623
|
36: '18',
|
|
1170
|
-
|
|
1171
|
-
|
|
624
|
+
48: '18',
|
|
625
|
+
60: '18',
|
|
1172
626
|
},
|
|
1173
|
-
mobileFooterLinkButton: '48',
|
|
1174
|
-
mobileRow: '48',
|
|
1175
|
-
mobileSearchInput: '48',
|
|
1176
|
-
},
|
|
1177
|
-
},
|
|
1178
|
-
};
|
|
1179
|
-
const radioInputSettings = {
|
|
1180
|
-
icons: {
|
|
1181
|
-
dotIcon: ForwardRef$q,
|
|
1182
|
-
},
|
|
1183
|
-
sizes: {
|
|
1184
|
-
default: '18',
|
|
1185
|
-
},
|
|
1186
|
-
};
|
|
1187
|
-
const rangeDatePickerSettings = {
|
|
1188
|
-
icons: {
|
|
1189
|
-
input: {
|
|
1190
|
-
calendarIcon: ForwardRef$M,
|
|
1191
|
-
},
|
|
1192
|
-
},
|
|
1193
|
-
sizes: {
|
|
1194
|
-
default: '36',
|
|
1195
|
-
preset: '24',
|
|
1196
|
-
},
|
|
1197
|
-
};
|
|
1198
|
-
const ratingSettings = {
|
|
1199
|
-
icons: {
|
|
1200
|
-
filledRatingIcon: ForwardRef$c,
|
|
1201
|
-
emptyRatingIcon: ForwardRef$c,
|
|
1202
|
-
},
|
|
1203
|
-
sizes: {
|
|
1204
|
-
default: 18,
|
|
1205
|
-
},
|
|
1206
|
-
};
|
|
1207
|
-
const richTextViewSettings = {
|
|
1208
|
-
sizes: {
|
|
1209
|
-
default: '14',
|
|
1210
|
-
},
|
|
1211
|
-
};
|
|
1212
|
-
const statusIndicatorSettings = {
|
|
1213
|
-
sizes: {
|
|
1214
|
-
default: '24',
|
|
1215
|
-
},
|
|
1216
|
-
};
|
|
1217
|
-
const switchSettings = {
|
|
1218
|
-
sizes: {
|
|
1219
|
-
default: '18',
|
|
1220
|
-
},
|
|
1221
|
-
};
|
|
1222
|
-
const tabButtonSettings = {
|
|
1223
|
-
icons: {
|
|
1224
|
-
clearIcon: ForwardRef$R,
|
|
1225
|
-
dropdownIcon: ForwardRef$Q,
|
|
1226
|
-
},
|
|
1227
|
-
sizes: {
|
|
1228
|
-
default: '48',
|
|
1229
|
-
countIndicatorMap: {
|
|
1230
|
-
36: '18',
|
|
1231
|
-
48: '18',
|
|
1232
|
-
60: '18',
|
|
1233
|
-
},
|
|
1234
|
-
},
|
|
1235
|
-
};
|
|
1236
|
-
const tagSettings = {
|
|
1237
|
-
icons: {
|
|
1238
|
-
clearIcon: ForwardRef$R,
|
|
1239
|
-
dropdownIcon: ForwardRef$Q,
|
|
1240
|
-
},
|
|
1241
|
-
sizes: {
|
|
1242
|
-
default: '36',
|
|
1243
|
-
countIndicatorMap: {
|
|
1244
|
-
18: '12',
|
|
1245
|
-
24: '18',
|
|
1246
|
-
30: '18',
|
|
1247
|
-
36: '18',
|
|
1248
|
-
42: '24',
|
|
1249
|
-
48: '24',
|
|
1250
627
|
},
|
|
1251
628
|
},
|
|
1252
629
|
};
|
|
1253
|
-
const textSettings = {
|
|
1254
|
-
sizes: {
|
|
1255
|
-
default: '36',
|
|
1256
|
-
},
|
|
1257
|
-
};
|
|
1258
|
-
const textAreaSettings = {
|
|
1259
|
-
sizes: {
|
|
1260
|
-
default: '36',
|
|
1261
|
-
},
|
|
1262
|
-
};
|
|
1263
|
-
const textInputSettings = {
|
|
1264
|
-
icons: {
|
|
1265
|
-
acceptIcon: ForwardRef$P,
|
|
1266
|
-
clearIcon: ForwardRef$R,
|
|
1267
|
-
dropdownIcon: ForwardRef$Q,
|
|
1268
|
-
searchIcon: ForwardRef$N,
|
|
1269
|
-
},
|
|
1270
|
-
sizes: {
|
|
1271
|
-
default: '36',
|
|
1272
|
-
},
|
|
1273
|
-
};
|
|
1274
|
-
const settings = {
|
|
1275
|
-
accordion: accordionSettings,
|
|
1276
|
-
alert: alertSettings,
|
|
1277
|
-
badge: badgeSettings,
|
|
1278
|
-
button: buttonSettings,
|
|
1279
|
-
checkbox: checkboxSettings,
|
|
1280
|
-
countIndicator: countIndicatorSettings,
|
|
1281
|
-
dataTable: dataTableSettings,
|
|
1282
|
-
datePicker: datePickerSettings,
|
|
1283
|
-
dropdownMenu: dropdownMenuSettings,
|
|
1284
|
-
flexRow: flexRowSettings,
|
|
1285
|
-
fileCard: fileCardSettings,
|
|
1286
|
-
filtersPanel: filtersPanelSettings,
|
|
1287
|
-
iconButton: iconButtonSettings,
|
|
1288
|
-
labeledInput: labeledInputSettings,
|
|
1289
|
-
linkButton: linkButtonSettings,
|
|
1290
|
-
modal: modalSettings,
|
|
1291
|
-
notificationCard: notificationCardSettings,
|
|
1292
|
-
numericInput: numericInputSettings,
|
|
1293
|
-
paginator: paginatorSettings,
|
|
1294
|
-
pickerInput: pickerInputSettings,
|
|
1295
|
-
radioInput: radioInputSettings,
|
|
1296
|
-
rangeDatePicker: rangeDatePickerSettings,
|
|
1297
|
-
rating: ratingSettings,
|
|
1298
|
-
richTextView: richTextViewSettings,
|
|
1299
|
-
statusIndicator: statusIndicatorSettings,
|
|
1300
|
-
switch: switchSettings,
|
|
1301
|
-
tabButton: tabButtonSettings,
|
|
1302
|
-
tag: tagSettings,
|
|
1303
|
-
text: textSettings,
|
|
1304
|
-
textArea: textAreaSettings,
|
|
1305
|
-
textInput: textInputSettings,
|
|
1306
|
-
};
|
|
1307
630
|
|
|
1308
|
-
var css$1y = {"root":"
|
|
631
|
+
var css$1y = {"root":"ONwMpi"};
|
|
1309
632
|
|
|
1310
633
|
function applyButtonMods(mods) {
|
|
1311
634
|
return [
|
|
@@ -1313,17 +636,17 @@ function applyButtonMods(mods) {
|
|
|
1313
636
|
'uui-button',
|
|
1314
637
|
`uui-fill-${mods.fill || 'solid'}`,
|
|
1315
638
|
`uui-color-${mods.color || 'primary'}`,
|
|
1316
|
-
`uui-size-${mods.size || settings.
|
|
639
|
+
`uui-size-${mods.size || settings.sizes.defaults.button}`,
|
|
1317
640
|
];
|
|
1318
641
|
}
|
|
1319
642
|
const Button = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Button, applyButtonMods, () => {
|
|
1320
643
|
return {
|
|
1321
|
-
dropdownIcon:
|
|
1322
|
-
clearIcon:
|
|
644
|
+
dropdownIcon: systemIcons.foldingArrow,
|
|
645
|
+
clearIcon: systemIcons.clear,
|
|
1323
646
|
};
|
|
1324
647
|
});
|
|
1325
648
|
|
|
1326
|
-
var css$1x = {"root":"
|
|
649
|
+
var css$1x = {"root":"mE0AcZ"};
|
|
1327
650
|
|
|
1328
651
|
function applyIconButtonMods(props) {
|
|
1329
652
|
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1x.root];
|
|
@@ -1339,7 +662,7 @@ const IconButton = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Icon
|
|
|
1339
662
|
});
|
|
1340
663
|
}
|
|
1341
664
|
return {
|
|
1342
|
-
dropdownIcon: props.dropdownIcon ||
|
|
665
|
+
dropdownIcon: props.dropdownIcon || systemIcons.foldingArrow,
|
|
1343
666
|
};
|
|
1344
667
|
});
|
|
1345
668
|
|
|
@@ -1360,9 +683,10 @@ function getIconClass(props) {
|
|
|
1360
683
|
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'];
|
|
1361
684
|
}
|
|
1362
685
|
|
|
1363
|
-
var css$1w = {"root":"
|
|
686
|
+
var css$1w = {"root":"ftBCxH"};
|
|
1364
687
|
|
|
1365
688
|
const DEFAULT_COLOR = 'primary';
|
|
689
|
+
const DEFAULT_WEIGHT = 'semibold';
|
|
1366
690
|
const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1367
691
|
if (process.env.NODE_ENV !== "production" && props.color === 'contrast') {
|
|
1368
692
|
uuiCore.devLogger.warnAboutDeprecatedPropValue({
|
|
@@ -1376,13 +700,13 @@ const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
1376
700
|
const rootStyles = [
|
|
1377
701
|
'uui-link_button',
|
|
1378
702
|
css$1w.root,
|
|
1379
|
-
`uui-size-${props.size || settings.
|
|
703
|
+
`uui-size-${props.size || settings.sizes.defaults.linkButton}`,
|
|
1380
704
|
...getIconClass(props),
|
|
1381
705
|
`uui-color-${props.color || DEFAULT_COLOR}`,
|
|
1382
706
|
props.cx,
|
|
1383
707
|
];
|
|
1384
|
-
const captionStyles = cx__default.default(uuiCore.uuiElement.caption, props.underline && `uui-underline-${props.underline}`, `uui-link-button-weight-${props.weight ||
|
|
1385
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon :
|
|
708
|
+
const captionStyles = cx__default.default(uuiCore.uuiElement.caption, props.underline && `uui-underline-${props.underline}`, `uui-link-button-weight-${props.weight || DEFAULT_WEIGHT}`);
|
|
709
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : systemIcons.foldingArrow;
|
|
1386
710
|
return (React__namespace.createElement(uuiComponents.Clickable, { ...props, type: "button", cx: rootStyles, ref: ref },
|
|
1387
711
|
props.icon && props.iconPosition !== 'right' && (React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1388
712
|
props.caption && (React__namespace.createElement("div", { className: captionStyles }, props.caption)),
|
|
@@ -1390,30 +714,30 @@ const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
1390
714
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1391
715
|
});
|
|
1392
716
|
|
|
1393
|
-
var css$1v = {"root":"
|
|
717
|
+
var css$1v = {"root":"Udyiom"};
|
|
1394
718
|
|
|
1395
719
|
const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1396
720
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
1397
721
|
css$1v.root,
|
|
1398
722
|
'uui-count_indicator',
|
|
1399
|
-
`uui-size-${props.size || settings.
|
|
723
|
+
`uui-size-${props.size || settings.sizes.defaults.countIndicator}`,
|
|
1400
724
|
props.color && `uui-color-${props.color}`,
|
|
1401
725
|
props.cx,
|
|
1402
726
|
]) }, props.caption));
|
|
1403
727
|
});
|
|
1404
728
|
|
|
1405
|
-
var css$1u = {"root":"
|
|
729
|
+
var css$1u = {"root":"-O-GyB","withNotify":"M9NRoy"};
|
|
1406
730
|
|
|
1407
731
|
const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
1408
732
|
const styles = [
|
|
1409
733
|
css$1u.root,
|
|
1410
734
|
'uui-tab-button',
|
|
1411
|
-
`uui-size-${props.size || settings.
|
|
735
|
+
`uui-size-${props.size || settings.sizes.defaults.tabButton}`,
|
|
1412
736
|
...getIconClass(props),
|
|
1413
737
|
props.cx,
|
|
1414
738
|
];
|
|
1415
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon :
|
|
1416
|
-
const ClearIcon = props.clearIcon ? props.clearIcon :
|
|
739
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : systemIcons.foldingArrow;
|
|
740
|
+
const ClearIcon = props.clearIcon ? props.clearIcon : systemIcons.clear;
|
|
1417
741
|
return (React__namespace.default.createElement(uuiComponents.Clickable, { ...props, rawProps: {
|
|
1418
742
|
role: 'tab',
|
|
1419
743
|
'aria-haspopup': props.isDropdown,
|
|
@@ -1425,54 +749,86 @@ const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref
|
|
|
1425
749
|
props.caption,
|
|
1426
750
|
props.withNotify && React__namespace.default.createElement("div", { className: css$1u.withNotify }))),
|
|
1427
751
|
props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1428
|
-
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { color: "neutral", size: settings.tabButton.
|
|
752
|
+
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 })),
|
|
1429
753
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
1430
754
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1431
755
|
});
|
|
1432
756
|
|
|
1433
|
-
var css$1t = {"root":"
|
|
757
|
+
var css$1t = {"root":"OHlQiv"};
|
|
1434
758
|
|
|
1435
759
|
function applyVerticalTabButtonMods() {
|
|
1436
760
|
return [css$1t.root, 'uui-vertical-tab-button'];
|
|
1437
761
|
}
|
|
1438
762
|
const VerticalTabButton = /* @__PURE__ */uuiCore.withMods(TabButton, applyVerticalTabButtonMods);
|
|
1439
763
|
|
|
1440
|
-
var
|
|
764
|
+
var _path$C;
|
|
765
|
+
function _extends$C() { return _extends$C = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$C.apply(null, arguments); }
|
|
766
|
+
var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
767
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
|
|
768
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
769
|
+
width: 24,
|
|
770
|
+
height: 24,
|
|
771
|
+
viewBox: "0 0 24 24",
|
|
772
|
+
ref: ref
|
|
773
|
+
}, props), _path$C || (_path$C = /*#__PURE__*/React__namespace.createElement("path", {
|
|
774
|
+
d: "M19 10.5H5v3h14v-3z"
|
|
775
|
+
})));
|
|
776
|
+
};
|
|
777
|
+
var ForwardRef$C = /*#__PURE__*/React.forwardRef(SvgContentMinusOutline);
|
|
778
|
+
|
|
779
|
+
var css$1s = {"root":"LfgQiY","mode-cell":"-M703n","modeCell":"-M703n"};
|
|
1441
780
|
|
|
1442
781
|
function applyCheckboxMods(mods) {
|
|
1443
782
|
return [
|
|
1444
783
|
css$1s.root,
|
|
1445
|
-
`uui-size-${mods.size || settings.
|
|
784
|
+
`uui-size-${mods.size || settings.sizes.defaults.checkbox}`,
|
|
1446
785
|
css$1s['mode-' + (mods.mode || 'form')],
|
|
1447
786
|
'uui-color-primary',
|
|
1448
787
|
];
|
|
1449
788
|
}
|
|
1450
789
|
const applyUUICheckboxProps = (props) => {
|
|
790
|
+
const defaultIcon = ForwardRef$P;
|
|
791
|
+
const defaultIndeterminateIcon = ForwardRef$C;
|
|
1451
792
|
return {
|
|
1452
|
-
icon: props.icon ? props.icon :
|
|
1453
|
-
indeterminateIcon: props.indeterminateIcon ? props.indeterminateIcon :
|
|
793
|
+
icon: props.icon ? props.icon : defaultIcon,
|
|
794
|
+
indeterminateIcon: props.indeterminateIcon ? props.indeterminateIcon : defaultIndeterminateIcon,
|
|
1454
795
|
};
|
|
1455
796
|
};
|
|
1456
797
|
const Checkbox = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
1457
798
|
|
|
1458
|
-
var
|
|
799
|
+
var _path$B;
|
|
800
|
+
function _extends$B() { return _extends$B = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$B.apply(null, arguments); }
|
|
801
|
+
var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
802
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
|
|
803
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
804
|
+
width: 24,
|
|
805
|
+
height: 24,
|
|
806
|
+
viewBox: "0 0 24 24",
|
|
807
|
+
ref: ref
|
|
808
|
+
}, props), _path$B || (_path$B = /*#__PURE__*/React__namespace.createElement("path", {
|
|
809
|
+
d: "M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14z"
|
|
810
|
+
})));
|
|
811
|
+
};
|
|
812
|
+
var ForwardRef$B = /*#__PURE__*/React.forwardRef(SvgRadioDotFill);
|
|
813
|
+
|
|
814
|
+
var css$1r = {"root":"FHkXx7"};
|
|
1459
815
|
|
|
1460
816
|
function applyRadioInputMods(mods) {
|
|
1461
817
|
return [
|
|
1462
818
|
css$1r.root,
|
|
1463
|
-
`uui-size-${mods.size || settings.
|
|
819
|
+
`uui-size-${mods.size || settings.sizes.defaults.radioInput}`,
|
|
1464
820
|
'uui-radio-input-container',
|
|
1465
821
|
'uui-color-primary',
|
|
1466
822
|
];
|
|
1467
823
|
}
|
|
1468
|
-
const RadioInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon :
|
|
824
|
+
const RadioInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : ForwardRef$B }));
|
|
1469
825
|
|
|
1470
|
-
var css$1q = {"root":"
|
|
826
|
+
var css$1q = {"root":"Pr-yuV"};
|
|
1471
827
|
|
|
1472
828
|
function applySwitchMods(mods) {
|
|
1473
829
|
return [
|
|
1474
830
|
css$1q.root,
|
|
1475
|
-
`uui-size-${mods.size || settings.
|
|
831
|
+
`uui-size-${mods.size || settings.sizes.defaults.switch}`,
|
|
1476
832
|
'uui-color-primary',
|
|
1477
833
|
];
|
|
1478
834
|
}
|
|
@@ -1491,20 +847,20 @@ var EditMode;
|
|
|
1491
847
|
EditMode["INLINE"] = "inline";
|
|
1492
848
|
})(EditMode || (EditMode = {}));
|
|
1493
849
|
|
|
1494
|
-
var textInputCss = {"root":"
|
|
850
|
+
var textInputCss = {"root":"fuqk1R","mode-form":"_5YShjc","modeForm":"_5YShjc","mode-inline":"fT2q-y","modeInline":"fT2q-y","mode-cell":"TftuG0","modeCell":"TftuG0"};
|
|
1495
851
|
|
|
1496
852
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
1497
853
|
function applyTextInputMods(mods) {
|
|
1498
854
|
return [
|
|
1499
855
|
textInputCss.root,
|
|
1500
|
-
`uui-size-${mods.size || settings.
|
|
856
|
+
`uui-size-${mods.size || settings.sizes.defaults.textInput}`,
|
|
1501
857
|
textInputCss['mode-' + (mods.mode || DEFAULT_MODE$3)],
|
|
1502
858
|
];
|
|
1503
859
|
}
|
|
1504
860
|
const TextInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.TextInput, applyTextInputMods, () => ({
|
|
1505
|
-
acceptIcon:
|
|
1506
|
-
cancelIcon:
|
|
1507
|
-
dropdownIcon:
|
|
861
|
+
acceptIcon: systemIcons.accept,
|
|
862
|
+
cancelIcon: systemIcons.clear,
|
|
863
|
+
dropdownIcon: systemIcons.foldingArrow,
|
|
1508
864
|
}));
|
|
1509
865
|
const SearchInput = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
1510
866
|
// analytics events are sending in IEditableDebouncer, so we need to avoid sending events in TextInput
|
|
@@ -1512,11 +868,11 @@ const SearchInput = /* @__PURE__ */React__namespace.default.forwardRef((props, r
|
|
|
1512
868
|
delete textInputProps.getValueChangeAnalyticsEvent;
|
|
1513
869
|
return (React__namespace.default.createElement(uuiCore.IEditableDebouncer, { ...props, render: (iEditable) => {
|
|
1514
870
|
const defaultOnCancel = () => iEditable.onValueChange('');
|
|
1515
|
-
return (React__namespace.default.createElement(TextInput, { icon:
|
|
871
|
+
return (React__namespace.default.createElement(TextInput, { icon: systemIcons.search, onCancel: props.onCancel ?? defaultOnCancel, type: "search", inputMode: "search", ref: ref, ...textInputProps, ...iEditable }));
|
|
1516
872
|
} }));
|
|
1517
873
|
});
|
|
1518
874
|
|
|
1519
|
-
var css$1p = {"root":"
|
|
875
|
+
var css$1p = {"root":"LWNmIs"};
|
|
1520
876
|
|
|
1521
877
|
const ControlGroup = /* @__PURE__ */uuiCore.withMods(uuiComponents.ControlGroup, () => [css$1p.root, 'uui-control-group']);
|
|
1522
878
|
|
|
@@ -1532,34 +888,34 @@ function MultiSwitchComponent(props, ref) {
|
|
|
1532
888
|
}
|
|
1533
889
|
const MultiSwitch = /* @__PURE__ */React__namespace.forwardRef(MultiSwitchComponent);
|
|
1534
890
|
|
|
1535
|
-
var css$1o = {"root":"
|
|
891
|
+
var css$1o = {"root":"_3Lne8p","mode-form":"XDtT7N","modeForm":"XDtT7N","mode-cell":"J9iGzK","modeCell":"J9iGzK"};
|
|
1536
892
|
|
|
1537
893
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
1538
894
|
function applyNumericInputMods(mods) {
|
|
1539
895
|
return [
|
|
1540
896
|
textInputCss.root,
|
|
1541
897
|
css$1o.root,
|
|
1542
|
-
`uui-size-${mods.size || settings.
|
|
898
|
+
`uui-size-${mods.size || settings.sizes.defaults.numericInput}`,
|
|
1543
899
|
textInputCss['mode-' + (mods.mode || DEFAULT_MODE$2)],
|
|
1544
900
|
];
|
|
1545
901
|
}
|
|
1546
902
|
const NumericInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.NumericInput, applyNumericInputMods, (props) => {
|
|
1547
903
|
return {
|
|
1548
|
-
upIcon:
|
|
1549
|
-
downIcon:
|
|
904
|
+
upIcon: systemIcons.foldingArrow,
|
|
905
|
+
downIcon: systemIcons.foldingArrow,
|
|
1550
906
|
align: props.align ?? (props.mode === 'cell' ? 'right' : 'left'),
|
|
1551
907
|
disableArrows: props.disableArrows ?? props.mode === 'cell',
|
|
1552
908
|
};
|
|
1553
909
|
});
|
|
1554
910
|
|
|
1555
|
-
var css$1n = {"root":"
|
|
911
|
+
var css$1n = {"root":"-Q3OAF","mode-form":"XocBRU","modeForm":"XocBRU","mode-cell":"dWmwXh","modeCell":"dWmwXh","mode-inline":"E43d1k","modeInline":"E43d1k"};
|
|
1556
912
|
|
|
1557
913
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
1558
914
|
function applyTextAreaMods(mods) {
|
|
1559
915
|
return [
|
|
1560
916
|
css$1n.root,
|
|
1561
917
|
'uui-textarea',
|
|
1562
|
-
'uui-size-' + (mods.size || settings.
|
|
918
|
+
'uui-size-' + (mods.size || settings.sizes.defaults.textArea),
|
|
1563
919
|
css$1n['mode-' + (mods.mode || DEFAULT_MODE$1)],
|
|
1564
920
|
];
|
|
1565
921
|
}
|
|
@@ -1593,25 +949,85 @@ function TREE_SHAKEABLE_INIT$1() {
|
|
|
1593
949
|
};
|
|
1594
950
|
}
|
|
1595
951
|
|
|
1596
|
-
var
|
|
952
|
+
var _path$A;
|
|
953
|
+
function _extends$A() { return _extends$A = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$A.apply(null, arguments); }
|
|
954
|
+
var SvgNotificationCheckFill = function SvgNotificationCheckFill(props, ref) {
|
|
955
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
|
|
956
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
957
|
+
width: 24,
|
|
958
|
+
height: 24,
|
|
959
|
+
viewBox: "0 0 24 24",
|
|
960
|
+
ref: ref
|
|
961
|
+
}, props), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
|
|
962
|
+
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"
|
|
963
|
+
})));
|
|
964
|
+
};
|
|
965
|
+
var ForwardRef$A = /*#__PURE__*/React.forwardRef(SvgNotificationCheckFill);
|
|
966
|
+
|
|
967
|
+
var _path$z;
|
|
968
|
+
function _extends$z() { return _extends$z = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$z.apply(null, arguments); }
|
|
969
|
+
var SvgNotificationWarningFill = function SvgNotificationWarningFill(props, ref) {
|
|
970
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
|
|
971
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
972
|
+
width: 24,
|
|
973
|
+
height: 24,
|
|
974
|
+
viewBox: "0 0 24 24",
|
|
975
|
+
ref: ref
|
|
976
|
+
}, props), _path$z || (_path$z = /*#__PURE__*/React__namespace.createElement("path", {
|
|
977
|
+
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"
|
|
978
|
+
})));
|
|
979
|
+
};
|
|
980
|
+
var ForwardRef$z = /*#__PURE__*/React.forwardRef(SvgNotificationWarningFill);
|
|
981
|
+
|
|
982
|
+
var _path$y;
|
|
983
|
+
function _extends$y() { return _extends$y = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$y.apply(null, arguments); }
|
|
984
|
+
var SvgNotificationErrorFill = function SvgNotificationErrorFill(props, ref) {
|
|
985
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
|
|
986
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
987
|
+
width: 24,
|
|
988
|
+
height: 24,
|
|
989
|
+
viewBox: "0 0 24 24",
|
|
990
|
+
ref: ref
|
|
991
|
+
}, props), _path$y || (_path$y = /*#__PURE__*/React__namespace.createElement("path", {
|
|
992
|
+
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"
|
|
993
|
+
})));
|
|
994
|
+
};
|
|
995
|
+
var ForwardRef$y = /*#__PURE__*/React.forwardRef(SvgNotificationErrorFill);
|
|
996
|
+
|
|
997
|
+
var _path$x;
|
|
998
|
+
function _extends$x() { return _extends$x = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$x.apply(null, arguments); }
|
|
999
|
+
var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
1000
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
|
|
1001
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1002
|
+
width: 24,
|
|
1003
|
+
height: 24,
|
|
1004
|
+
viewBox: "0 0 24 24",
|
|
1005
|
+
ref: ref
|
|
1006
|
+
}, props), _path$x || (_path$x = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1007
|
+
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"
|
|
1008
|
+
})));
|
|
1009
|
+
};
|
|
1010
|
+
var ForwardRef$x = /*#__PURE__*/React.forwardRef(SvgNotificationInfoFill);
|
|
1011
|
+
|
|
1012
|
+
var css$1m = {"root":"oXU-At","main-path":"wkp469","mainPath":"wkp469","content-wrapper":"OjClvP","contentWrapper":"OjClvP","content":"T5wjNQ","action-wrapper":"H13oQC","actionWrapper":"H13oQC","icon-wrapper":"_4e2Y1d","iconWrapper":"_4e2Y1d","icon":"pCTOJL","close-icon":"BJh2m6","closeIcon":"BJh2m6"};
|
|
1597
1013
|
|
|
1598
|
-
const Alert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("div", { role: "alert", ref: ref, className: cx__default.default('uui-alert', css$1m.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.
|
|
1014
|
+
const Alert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("div", { role: "alert", ref: ref, className: cx__default.default('uui-alert', css$1m.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.sizes.defaults.alert}`), ...props.rawProps },
|
|
1599
1015
|
React__namespace.createElement("div", { className: css$1m.mainPath },
|
|
1600
1016
|
React__namespace.createElement("div", { className: css$1m.contentWrapper },
|
|
1601
1017
|
props.icon && (React__namespace.createElement("div", { className: css$1m.iconWrapper },
|
|
1602
1018
|
React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, cx: css$1m.icon }))),
|
|
1603
1019
|
React__namespace.createElement("div", { className: css$1m.content },
|
|
1604
1020
|
props.children,
|
|
1605
|
-
props.actions && (React__namespace.createElement("div", { className: css$1m.actionWrapper }, props.actions.map((action) => (React__namespace.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$1m.actionLink, size: settings.alert.
|
|
1606
|
-
props.onClose && React__namespace.createElement(IconButton, { icon:
|
|
1607
|
-
const WarningAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon:
|
|
1608
|
-
const SuccessAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon:
|
|
1609
|
-
const HintAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon:
|
|
1610
|
-
const ErrorAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon:
|
|
1021
|
+
props.actions && (React__namespace.createElement("div", { className: css$1m.actionWrapper }, props.actions.map((action) => (React__namespace.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$1m.actionLink, size: settings.sizes.alert.action[props.size || settings.sizes.defaults.alert] }))))))),
|
|
1022
|
+
props.onClose && React__namespace.createElement(IconButton, { icon: ForwardRef$R, color: "neutral", onClick: props.onClose, cx: css$1m.closeIcon })))));
|
|
1023
|
+
const WarningAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon: ForwardRef$z, color: "warning", ref: ref, ...props }));
|
|
1024
|
+
const SuccessAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon: ForwardRef$A, color: "success", ref: ref, ...props }));
|
|
1025
|
+
const HintAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon: ForwardRef$x, color: "info", ref: ref, ...props }));
|
|
1026
|
+
const ErrorAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon: ForwardRef$y, color: "error", ref: ref, ...props }));
|
|
1611
1027
|
|
|
1612
1028
|
const Dropdown = /* @__PURE__ */uuiCore.withMods(uuiComponents.Dropdown);
|
|
1613
1029
|
|
|
1614
|
-
var css$1l = {"root":"
|
|
1030
|
+
var css$1l = {"root":"KONO6-"};
|
|
1615
1031
|
|
|
1616
1032
|
function applyDropdownContainerMods(mods) {
|
|
1617
1033
|
return [
|
|
@@ -1622,7 +1038,7 @@ function applyDropdownContainerMods(mods) {
|
|
|
1622
1038
|
}
|
|
1623
1039
|
const DropdownContainer = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.DropdownContainer, applyDropdownContainerMods);
|
|
1624
1040
|
|
|
1625
|
-
var css$1k = {"submenu-root-item-rtl":"
|
|
1041
|
+
var css$1k = {"submenu-root-item-rtl":"-yN4U9","submenuRootItemRtl":"-yN4U9","icon-after":"FiC-7H","iconAfter":"FiC-7H","submenu-root-item":"RdBetY","submenuRootItem":"RdBetY","icon-check":"mRkc1F","iconCheck":"mRkc1F","splitter-root":"ODmVuq","splitterRoot":"ODmVuq","splitter":"ZL311Q","header-root":"ZnC2GX","headerRoot":"ZnC2GX","item-root":"_9t-3dL","itemRoot":"_9t-3dL","icon":"ekOe0m","link":"UK0cB3","indent":"uVq9Oi","selected-mark":"rJ8W1a","selectedMark":"rJ8W1a"};
|
|
1626
1042
|
|
|
1627
1043
|
exports.IDropdownControlKeys = void 0;
|
|
1628
1044
|
(function (IDropdownControlKeys) {
|
|
@@ -1669,7 +1085,7 @@ const DropdownMenuButton = /* @__PURE__ */React__namespace.default.forwardRef((p
|
|
|
1669
1085
|
const handleClick = (event) => {
|
|
1670
1086
|
if (isDisabled || !onClick)
|
|
1671
1087
|
return;
|
|
1672
|
-
|
|
1088
|
+
onClick(event);
|
|
1673
1089
|
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
1674
1090
|
};
|
|
1675
1091
|
const handleOpenDropdown = (event) => {
|
|
@@ -1696,12 +1112,16 @@ const DropdownMenuButton = /* @__PURE__ */React__namespace.default.forwardRef((p
|
|
|
1696
1112
|
iconElement))));
|
|
1697
1113
|
};
|
|
1698
1114
|
const isAnchor = Boolean(link || href);
|
|
1699
|
-
const itemClassNames = uuiCore.cx(props.cx, css$1k.itemRoot, isDisabled && uuiCore.uuiMod.disabled, isActive && uuiCore.uuiMod.active, isOpen && uuiCore.uuiMod.opened
|
|
1700
|
-
return isAnchor ? (React__namespace.default.createElement(uuiComponents.Anchor, { cx: uuiCore.cx(css$1k.link, itemClassNames), link: link, href: href, rawProps: { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 }, onClick: handleClick, isLinkActive: isActive, isDisabled: isDisabled, target: target }, getMenuButtonContent())) : (React__namespace.default.createElement(
|
|
1115
|
+
const itemClassNames = uuiCore.cx(props.cx, css$1k.itemRoot, isDisabled && uuiCore.uuiMod.disabled, isActive && uuiCore.uuiMod.active, isOpen && uuiCore.uuiMod.opened);
|
|
1116
|
+
return isAnchor ? (React__namespace.default.createElement(uuiComponents.Anchor, { cx: uuiCore.cx(css$1k.link, itemClassNames), link: link, href: href, rawProps: { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 }, onClick: handleClick, isLinkActive: isActive, isDisabled: isDisabled, target: target }, getMenuButtonContent())) : (React__namespace.default.createElement(uuiComponents.FlexRow, { rawProps: {
|
|
1117
|
+
tabIndex: isDisabled ? -1 : 0,
|
|
1118
|
+
role: 'menuitem',
|
|
1119
|
+
onKeyDown: isDisabled ? null : handleOpenDropdown,
|
|
1120
|
+
}, cx: itemClassNames, onClick: handleClick, ref: ref },
|
|
1701
1121
|
getMenuButtonContent(),
|
|
1702
1122
|
isSelected && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1703
1123
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
1704
|
-
React__namespace.default.createElement(uuiComponents.IconContainer, { icon:
|
|
1124
|
+
React__namespace.default.createElement(uuiComponents.IconContainer, { icon: systemIcons.accept, cx: css$1k.selectedMark })))));
|
|
1705
1125
|
});
|
|
1706
1126
|
function DropdownMenuSplitter(props) {
|
|
1707
1127
|
return (React__namespace.default.createElement("div", { className: uuiCore.cx(props.cx, css$1k.splitterRoot) },
|
|
@@ -1729,7 +1149,7 @@ function DropdownSubMenu(props) {
|
|
|
1729
1149
|
},
|
|
1730
1150
|
];
|
|
1731
1151
|
const isRtl = uuiCore.getDir() === 'rtl';
|
|
1732
|
-
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, { closeOnKey: exports.IDropdownControlKeys.LEFT_ARROW, ...props, ...dropdownProps })), renderTarget: ({ toggleDropdownOpening, ...targetProps }) => (React__namespace.default.createElement(DropdownMenuButton, { cx: uuiCore.cx(isRtl ? css$1k.submenuRootItemRtl : css$1k.submenuRootItem), icon:
|
|
1152
|
+
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, { closeOnKey: exports.IDropdownControlKeys.LEFT_ARROW, ...props, ...dropdownProps })), renderTarget: ({ toggleDropdownOpening, ...targetProps }) => (React__namespace.default.createElement(DropdownMenuButton, { cx: uuiCore.cx(isRtl ? css$1k.submenuRootItemRtl : css$1k.submenuRootItem), icon: systemIcons.foldingArrow, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening, ...props, ...targetProps })) }));
|
|
1733
1153
|
}
|
|
1734
1154
|
function DropdownMenuSwitchButton(props) {
|
|
1735
1155
|
const context = React.useContext(uuiCore.UuiContext);
|
|
@@ -1745,14 +1165,14 @@ function DropdownMenuSwitchButton(props) {
|
|
|
1745
1165
|
onHandleValueChange(!isSelected);
|
|
1746
1166
|
}
|
|
1747
1167
|
};
|
|
1748
|
-
return (React__namespace.default.createElement(
|
|
1168
|
+
return (React__namespace.default.createElement(uuiComponents.FlexRow, { cx: uuiCore.cx(props.cx, css$1k.itemRoot, isDisabled && uuiCore.uuiMod.disabled), onClick: () => onHandleValueChange(!isSelected), rawProps: { role: 'menuitem', onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 } },
|
|
1749
1169
|
icon && React__namespace.default.createElement(uuiComponents.IconContainer, { icon: icon, cx: css$1k.iconBefore }),
|
|
1750
1170
|
React__namespace.default.createElement(uuiComponents.Text, null, caption),
|
|
1751
1171
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
1752
1172
|
React__namespace.default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
1753
1173
|
}
|
|
1754
1174
|
|
|
1755
|
-
var css$1j = {"root":"
|
|
1175
|
+
var css$1j = {"root":"pYHJWO","mode-block":"b8gqmM","modeBlock":"b8gqmM","mode-inline":"OD6N41","modeInline":"OD6N41","padding-0":"u4yrLi","padding0":"u4yrLi","padding-6":"mRx-Dq","padding6":"mRx-Dq","padding-12":"_4mdTtt","padding12":"_4mdTtt","padding-18":"pCJTri","padding18":"pCJTri"};
|
|
1756
1176
|
|
|
1757
1177
|
function applyAccordionMods(mods) {
|
|
1758
1178
|
return [
|
|
@@ -1762,55 +1182,34 @@ function applyAccordionMods(mods) {
|
|
|
1762
1182
|
];
|
|
1763
1183
|
}
|
|
1764
1184
|
const Accordion = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Accordion, applyAccordionMods, (mods) => ({
|
|
1765
|
-
dropdownIcon: mods.dropdownIcon !== null &&
|
|
1185
|
+
dropdownIcon: mods.dropdownIcon !== null && systemIcons.foldingArrow,
|
|
1766
1186
|
}));
|
|
1767
1187
|
|
|
1768
|
-
var css$1i = {"root":"
|
|
1188
|
+
var css$1i = {"root":"_06nnLL","border-top":"ebFH31","borderTop":"ebFH31","border-bottom":"_4Pc7J5","borderBottom":"_4Pc7J5","top-shadow":"h8YUds","topShadow":"h8YUds","padding-6":"NaZ6Wv","padding6":"NaZ6Wv","padding-12":"un2SH9","padding12":"un2SH9","padding-18":"vN0g0e","padding18":"vN0g0e","padding-24":"Xpj2Lz","padding24":"Xpj2Lz","margin-24":"_9Xdiru","margin24":"_9Xdiru","margin-12":"nVOvma","margin12":"nVOvma","vPadding-12":"UmX-nx","vPadding12":"UmX-nx","vPadding-18":"e9Sp45","vPadding18":"e9Sp45","vPadding-24":"_1eYlic","vPadding24":"_1eYlic","vPadding-36":"_90S6b1","vPadding36":"_90S6b1","vPadding-48":"s7iZ-L","vPadding48":"s7iZ-L","spacing-6":"reEmMA","spacing6":"reEmMA","spacing-12":"GuHqek","spacing12":"GuHqek","spacing-18":"b3oxbR","spacing18":"b3oxbR","uui-surface-main":"_1KtJp7","uuiSurfaceMain":"_1KtJp7"};
|
|
1769
1189
|
|
|
1770
1190
|
const FlexCell = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexCell, () => [css$1i.flexCell]);
|
|
1771
1191
|
|
|
1772
|
-
const FlexRow = /* @__PURE__ */
|
|
1192
|
+
const FlexRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexRow, (props) => {
|
|
1773
1193
|
if (process.env.NODE_ENV !== "production") {
|
|
1774
1194
|
if (props.spacing) {
|
|
1775
1195
|
uuiCore.devLogger.warn('[FlexRow]: The `spacing` property is deprecated and will be removed in future versions. Please use `columnGap` instead.');
|
|
1776
1196
|
}
|
|
1777
1197
|
}
|
|
1778
|
-
|
|
1198
|
+
return [
|
|
1779
1199
|
css$1i.root,
|
|
1780
|
-
'uui-
|
|
1781
|
-
props.
|
|
1782
|
-
props.
|
|
1783
|
-
props.
|
|
1784
|
-
props.alignItems && css$1i.alignItems,
|
|
1785
|
-
props.justifyContent && css$1i.justifyContent,
|
|
1786
|
-
props.padding && css$1i.padding,
|
|
1787
|
-
props.vPadding && css$1i.vPadding,
|
|
1788
|
-
props.margin && css$1i.margin,
|
|
1200
|
+
props.size !== null && 'uui-size-' + (props.size || settings.sizes.defaults.flexRow),
|
|
1201
|
+
props.padding && css$1i['padding-' + props.padding],
|
|
1202
|
+
props.vPadding && css$1i['vPadding-' + props.vPadding],
|
|
1203
|
+
props.margin && css$1i['margin-' + props.margin],
|
|
1789
1204
|
props.topShadow && css$1i.topShadow,
|
|
1790
1205
|
props.borderBottom && css$1i.borderBottom,
|
|
1791
1206
|
props.borderTop && css$1i.borderTop,
|
|
1792
|
-
props.
|
|
1793
|
-
props.
|
|
1794
|
-
|
|
1795
|
-
props.background && css$1i[`uui-bg-${props.background}`],
|
|
1796
|
-
]);
|
|
1797
|
-
const style = {
|
|
1798
|
-
...(props.alignItems && { '--uui-flex-row-align-items': props.alignItems }),
|
|
1799
|
-
...(props.justifyContent && { '--uui-flex-row-justify-content': props.justifyContent }),
|
|
1800
|
-
...(props.columnGap && { '--uui-flex-row-column-gap': `${props.columnGap}px` }),
|
|
1801
|
-
...(props.rowGap && { '--uui-flex-row-row-gap': `${props.rowGap}px` }),
|
|
1802
|
-
...(props.padding && { '--uui-flex-row-padding': `${props.padding}px` }),
|
|
1803
|
-
...(props.vPadding && { '--uui-flex-row-v-padding': `${props.vPadding}px` }),
|
|
1804
|
-
...(props.margin && { '--uui-flex-row-margin': `${props.margin}px` }),
|
|
1805
|
-
...(props.spacing && { '--uui-flex-row-spacing': `${props.spacing}px` }),
|
|
1806
|
-
};
|
|
1807
|
-
return (React__namespace.default.createElement("div", { ref: ref, onClick: props.onClick ? (e) => !uuiCore.isEventTargetInsideClickable(e) && props.onClick(e) : undefined, className: classNames, ...props.rawProps, style: {
|
|
1808
|
-
...style,
|
|
1809
|
-
...props.rawProps?.style,
|
|
1810
|
-
} }, props.children));
|
|
1207
|
+
props.spacing && css$1i['spacing-' + props.spacing],
|
|
1208
|
+
props.background && css$1i[`uui-${props.background}`],
|
|
1209
|
+
];
|
|
1811
1210
|
});
|
|
1812
1211
|
|
|
1813
|
-
var css$1h = {"root":"
|
|
1212
|
+
var css$1h = {"root":"Qvw8Lt","margin-24":"q6nB1N","margin24":"q6nB1N","padding-12":"VHVEr1","padding12":"VHVEr1","padding-24":"u2rA4v","padding24":"u2rA4v","shadow":"EnVRp4","uui-surface-main":"_2plXwp","uuiSurfaceMain":"_2plXwp"};
|
|
1814
1213
|
|
|
1815
1214
|
const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
1816
1215
|
'uui-panel',
|
|
@@ -1820,7 +1219,7 @@ const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
|
1820
1219
|
props.background && css$1h[`uui-${props.background}`],
|
|
1821
1220
|
]);
|
|
1822
1221
|
|
|
1823
|
-
var css$1g = {"root":"
|
|
1222
|
+
var css$1g = {"root":"h7gSgH"};
|
|
1824
1223
|
|
|
1825
1224
|
function applyTooltipMods(mods) {
|
|
1826
1225
|
return [
|
|
@@ -1830,24 +1229,21 @@ function applyTooltipMods(mods) {
|
|
|
1830
1229
|
}
|
|
1831
1230
|
const Tooltip = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Tooltip, applyTooltipMods);
|
|
1832
1231
|
|
|
1833
|
-
var css$1f = {"root":"
|
|
1232
|
+
var css$1f = {"root":"tbkdLD"};
|
|
1834
1233
|
|
|
1835
1234
|
function applyLabeledInputMods(mods) {
|
|
1836
1235
|
return [
|
|
1837
1236
|
'uui-labeled-input',
|
|
1838
1237
|
css$1f.root,
|
|
1839
|
-
'uui-size-' + (mods.size || settings.
|
|
1238
|
+
'uui-size-' + (mods.size || settings.sizes.defaults.labeledInput),
|
|
1840
1239
|
];
|
|
1841
1240
|
}
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
});
|
|
1847
|
-
}
|
|
1848
|
-
const LabeledInput = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.LabeledInput, applyLabeledInputMods, applyLabeledInputProps);
|
|
1241
|
+
const LabeledInput = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.LabeledInput, applyLabeledInputMods, (props) => ({
|
|
1242
|
+
Tooltip: props.Tooltip || Tooltip,
|
|
1243
|
+
infoIcon: props.infoIcon || (settings.sizes.labeledInput.fillIcon.includes(props.size) ? ForwardRef$x : ForwardRef$M),
|
|
1244
|
+
}));
|
|
1849
1245
|
|
|
1850
|
-
var css$1e = {"root":"
|
|
1246
|
+
var css$1e = {"root":"NNaX-q"};
|
|
1851
1247
|
|
|
1852
1248
|
function RadioGroup(props) {
|
|
1853
1249
|
const direction = props.direction || 'vertical';
|
|
@@ -1862,7 +1258,7 @@ function RadioGroup(props) {
|
|
|
1862
1258
|
})));
|
|
1863
1259
|
}
|
|
1864
1260
|
|
|
1865
|
-
var css$1d = {"root":"
|
|
1261
|
+
var css$1d = {"root":"_0OXyc8"};
|
|
1866
1262
|
|
|
1867
1263
|
function applyScrollBarsMods() {
|
|
1868
1264
|
return [
|
|
@@ -1871,27 +1267,27 @@ function applyScrollBarsMods() {
|
|
|
1871
1267
|
}
|
|
1872
1268
|
const ScrollBars = /* @__PURE__ */uuiCore.withMods(uuiComponents.ScrollBars, applyScrollBarsMods);
|
|
1873
1269
|
|
|
1874
|
-
var css$1c = {"scroll-container":"
|
|
1270
|
+
var css$1c = {"scroll-container":"kmMez3","scrollContainer":"kmMez3","list-container":"PviiMC","listContainer":"PviiMC"};
|
|
1875
1271
|
|
|
1876
|
-
var css$1b = {"root":"
|
|
1272
|
+
var css$1b = {"root":"eq7TjD"};
|
|
1877
1273
|
|
|
1878
1274
|
const AvatarStack = /* @__PURE__ */uuiCore.withMods(uuiComponents.AvatarStack, () => [css$1b.root]);
|
|
1879
1275
|
|
|
1880
|
-
var css$1a = {"root":"
|
|
1276
|
+
var css$1a = {"root":"ubVIta"};
|
|
1881
1277
|
|
|
1882
1278
|
const DEFAULT_FILL = 'solid';
|
|
1883
1279
|
function applyBadgeMods(mods) {
|
|
1884
1280
|
return [
|
|
1885
1281
|
'uui-badge',
|
|
1886
1282
|
css$1a.root,
|
|
1887
|
-
`uui-size-${mods.size || settings.
|
|
1283
|
+
`uui-size-${mods.size || settings.sizes.defaults.badge}`,
|
|
1888
1284
|
`uui-fill-${mods.fill || DEFAULT_FILL}`,
|
|
1889
1285
|
`uui-color-${mods.color || 'info'}`,
|
|
1890
1286
|
];
|
|
1891
1287
|
}
|
|
1892
1288
|
const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
1893
1289
|
const styles = [applyBadgeMods(props), props.cx];
|
|
1894
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon :
|
|
1290
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : systemIcons.foldingArrow;
|
|
1895
1291
|
return (React__namespace.default.createElement(uuiComponents.Clickable, { ...props, rawProps: {
|
|
1896
1292
|
'aria-haspopup': props.isDropdown,
|
|
1897
1293
|
'aria-expanded': props.isOpen,
|
|
@@ -1900,17 +1296,17 @@ const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) =>
|
|
|
1900
1296
|
(props.indicator && props.fill === 'outline') && (React__namespace.default.createElement("div", { className: "uui-indicator" })),
|
|
1901
1297
|
props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1902
1298
|
props.caption && (React__namespace.default.createElement("div", { className: uuiCore.uuiElement.caption }, props.caption)),
|
|
1903
|
-
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { key: "count-indicator", color: null, size: settings.badge.
|
|
1299
|
+
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { key: "count-indicator", color: null, size: settings.sizes.badge.countIndicator[props.size || settings.sizes.defaults.badge], caption: props.count })),
|
|
1904
1300
|
props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1905
1301
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1906
1302
|
});
|
|
1907
1303
|
|
|
1908
|
-
var css$19 = {"root":"
|
|
1304
|
+
var css$19 = {"root":"-k4kiw"};
|
|
1909
1305
|
|
|
1910
1306
|
function applyTagMods(props) {
|
|
1911
1307
|
return [
|
|
1912
1308
|
css$19.root,
|
|
1913
|
-
`uui-size-${props.size || settings.
|
|
1309
|
+
`uui-size-${props.size || settings.sizes.defaults.tag}`,
|
|
1914
1310
|
`uui-color-${props.color || 'neutral'}`,
|
|
1915
1311
|
`uui-fill-${props.fill || 'solid'}`,
|
|
1916
1312
|
'uui-tag',
|
|
@@ -1918,8 +1314,8 @@ function applyTagMods(props) {
|
|
|
1918
1314
|
}
|
|
1919
1315
|
const Tag = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
1920
1316
|
const styles = [applyTagMods(props), props.cx];
|
|
1921
|
-
const ClearIcon = props.clearIcon ? props.clearIcon :
|
|
1922
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon :
|
|
1317
|
+
const ClearIcon = props.clearIcon ? props.clearIcon : systemIcons.clear;
|
|
1318
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : systemIcons.foldingArrow;
|
|
1923
1319
|
return (React__namespace.default.createElement(uuiComponents.Clickable, { ...props, rawProps: {
|
|
1924
1320
|
'aria-haspopup': props.isDropdown,
|
|
1925
1321
|
'aria-expanded': props.isOpen,
|
|
@@ -1927,44 +1323,74 @@ const Tag = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
|
1927
1323
|
}, cx: styles, ref: ref },
|
|
1928
1324
|
props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1929
1325
|
props.caption && (React__namespace.default.createElement("div", { className: uuiCore.uuiElement.caption }, props.caption)),
|
|
1930
|
-
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { color: (!props.color || props.color === 'neutral') ? 'white' : props.color, size: settings.tag.
|
|
1326
|
+
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { color: (!props.color || props.color === 'neutral') ? 'white' : props.color, size: settings.sizes.tag.countIndicator[(props.size || settings.sizes.defaults.tag)], caption: props.count })),
|
|
1931
1327
|
props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1932
1328
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
1933
1329
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1934
1330
|
});
|
|
1935
1331
|
|
|
1936
|
-
var css$18 = {"root":"-
|
|
1332
|
+
var css$18 = {"root":"qmx-Z-","uui-spinner":"_06zJA5","uuiSpinner":"_06zJA5"};
|
|
1937
1333
|
|
|
1938
1334
|
function applySpinnerMods() {
|
|
1939
1335
|
return [css$18.root, 'uui-spinner'];
|
|
1940
1336
|
}
|
|
1941
1337
|
const Spinner = /* @__PURE__ */uuiCore.withMods(uuiComponents.Spinner, applySpinnerMods);
|
|
1942
1338
|
|
|
1943
|
-
var
|
|
1339
|
+
var _path$w;
|
|
1340
|
+
function _extends$w() { return _extends$w = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$w.apply(null, arguments); }
|
|
1341
|
+
var SvgNavigationChevronLeftOutline = function SvgNavigationChevronLeftOutline(props, ref) {
|
|
1342
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
|
|
1343
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1344
|
+
width: 24,
|
|
1345
|
+
height: 24,
|
|
1346
|
+
viewBox: "0 0 24 24",
|
|
1347
|
+
ref: ref
|
|
1348
|
+
}, props), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1349
|
+
d: "M15.914 5.414 14.5 4l-8 8 8 8 1.414-1.414L9.328 12l6.586-6.586z"
|
|
1350
|
+
})));
|
|
1351
|
+
};
|
|
1352
|
+
var ForwardRef$w = /*#__PURE__*/React.forwardRef(SvgNavigationChevronLeftOutline);
|
|
1353
|
+
|
|
1354
|
+
var _path$v;
|
|
1355
|
+
function _extends$v() { return _extends$v = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$v.apply(null, arguments); }
|
|
1356
|
+
var SvgNavigationChevronRightOutline = function SvgNavigationChevronRightOutline(props, ref) {
|
|
1357
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
|
|
1358
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1359
|
+
width: 24,
|
|
1360
|
+
height: 24,
|
|
1361
|
+
viewBox: "0 0 24 24",
|
|
1362
|
+
ref: ref
|
|
1363
|
+
}, props), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1364
|
+
d: "M8.086 18.586 9.5 20l8-8-8-8-1.414 1.414L14.672 12l-6.586 6.586z"
|
|
1365
|
+
})));
|
|
1366
|
+
};
|
|
1367
|
+
var ForwardRef$v = /*#__PURE__*/React.forwardRef(SvgNavigationChevronRightOutline);
|
|
1368
|
+
|
|
1369
|
+
var css$17 = {"root":"_6bIo3e","page":"dv7b83","spacer":"jurJRk","mode-ghost":"dTMMr3","modeGhost":"dTMMr3"};
|
|
1944
1370
|
|
|
1945
1371
|
function Paginator(props) {
|
|
1946
|
-
const renderPaginator = (params) => (React__namespace.default.createElement("nav", { role: "navigation", className: cx__default.default(css$17.root, 'uui-paginator', `uui-size-${props.size || settings.
|
|
1947
|
-
React__namespace.default.createElement(Button, { size: props.size || settings.
|
|
1372
|
+
const renderPaginator = (params) => (React__namespace.default.createElement("nav", { role: "navigation", className: cx__default.default(css$17.root, 'uui-paginator', `uui-size-${props.size || settings.sizes.defaults.paginator}`), ...params.rawProps },
|
|
1373
|
+
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" }),
|
|
1948
1374
|
params.pages.map((page, index) => {
|
|
1949
1375
|
if (page.type === 'spacer') {
|
|
1950
|
-
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$17.spacer, css$17.page), size: props.size || settings.
|
|
1376
|
+
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$17.spacer, css$17.page), size: props.size || settings.sizes.defaults.paginator, key: `${index}_spacer`, caption: "...", fill: "ghost", color: "secondary", tabIndex: -1, isDisabled: props.isDisabled }));
|
|
1951
1377
|
}
|
|
1952
1378
|
else {
|
|
1953
|
-
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$17[`mode-${!page.isActive && 'ghost'}`], css$17.page), size: props.size || settings.
|
|
1379
|
+
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$17[`mode-${!page.isActive && 'ghost'}`], css$17.page), size: props.size || settings.sizes.defaults.paginator, key: page.pageNumber, caption: page.pageNumber, onClick: () => page.onClick?.(), rawProps: { 'aria-current': page.isActive }, fill: (page.isActive && 'outline') || 'ghost', color: "primary", isDisabled: props.isDisabled }));
|
|
1954
1380
|
}
|
|
1955
1381
|
}),
|
|
1956
|
-
React__namespace.default.createElement(Button, { size: props.size || settings.
|
|
1382
|
+
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" })));
|
|
1957
1383
|
return React__namespace.default.createElement(uuiComponents.Paginator, { ...props, render: renderPaginator });
|
|
1958
1384
|
}
|
|
1959
1385
|
|
|
1960
|
-
var css$16 = {"root":"
|
|
1386
|
+
var css$16 = {"root":"M4-P0O","progress-bar":"_490FHk","progressBar":"_490FHk","progressBar-indeterminate":"_21wtnY","progressBarIndeterminate":"_21wtnY","size-12":"DWxqwz","size12":"DWxqwz","size-18":"ucyWf-","size18":"ucyWf-","size-24":"fasxJ5","size24":"fasxJ5"};
|
|
1961
1387
|
|
|
1962
1388
|
const IndeterminateBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1963
1389
|
return (React__namespace.createElement("div", { ref: ref, className: cx__default.default('uui-indeterminate_bar', props.cx, css$16.root, css$16[`size-${props.size || 12}`]) },
|
|
1964
1390
|
React__namespace.createElement("div", { className: cx__default.default(css$16.progressBar) })));
|
|
1965
1391
|
});
|
|
1966
1392
|
|
|
1967
|
-
var css$15 = {"root":"
|
|
1393
|
+
var css$15 = {"root":"ETybpW","striped":"VzJobp","animate-stripes":"l4m6hP","animateStripes":"l4m6hP","size-12":"BdrKJU","size12":"BdrKJU","size-18":"_9-QiAV","size18":"_9-QiAV","size-24":"cyk9VN","size24":"cyk9VN"};
|
|
1968
1394
|
|
|
1969
1395
|
const DEFAULT_SIZE = '12';
|
|
1970
1396
|
function applyProgressBarMods(mods) {
|
|
@@ -1979,19 +1405,19 @@ const ProgressBar = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Pro
|
|
|
1979
1405
|
hideLabel: props.hideLabel || props.striped,
|
|
1980
1406
|
}));
|
|
1981
1407
|
|
|
1982
|
-
var css$14 = {"root":"
|
|
1408
|
+
var css$14 = {"root":"_46BVfa"};
|
|
1983
1409
|
|
|
1984
1410
|
const IndicatorBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1985
1411
|
const { progress } = props;
|
|
1986
1412
|
return progress || progress === 0 ? (React__namespace.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx__default.default(css$14.root, props.cx), hideLabel: true })) : (React__namespace.createElement(IndeterminateBar, { ref: ref, cx: cx__default.default(css$14.root, props.cx) }));
|
|
1987
1413
|
});
|
|
1988
1414
|
|
|
1989
|
-
var css$13 = {"root":"
|
|
1415
|
+
var css$13 = {"root":"wwuE5N"};
|
|
1990
1416
|
|
|
1991
1417
|
const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1992
1418
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
1993
1419
|
css$13.root,
|
|
1994
|
-
`uui-size-${props.size || settings.
|
|
1420
|
+
`uui-size-${props.size || settings.sizes.defaults.statusIndicator}`,
|
|
1995
1421
|
'uui-status_indicator',
|
|
1996
1422
|
`uui-color-${props.color || 'neutral'}`,
|
|
1997
1423
|
`uui-fill-${props.fill || 'solid'}`,
|
|
@@ -2001,28 +1427,28 @@ const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
2001
1427
|
React__namespace.default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
2002
1428
|
});
|
|
2003
1429
|
|
|
2004
|
-
var css$12 = {"drag-handle":"
|
|
1430
|
+
var css$12 = {"drag-handle":"fgPdf4","dragHandle":"fgPdf4","icon-container":"Wfc45a","iconContainer":"Wfc45a"};
|
|
2005
1431
|
|
|
2006
1432
|
function DataRowAddons(props) {
|
|
2007
1433
|
const row = props.rowProps;
|
|
2008
1434
|
const getIndent = () => {
|
|
2009
|
-
return (row.indent - 1) * settings.
|
|
1435
|
+
return (row.indent - 1) * (settings.sizes.rowAddons.indentUnit[props.size] || settings.sizes.rowAddons.defaults.indentUnit);
|
|
2010
1436
|
};
|
|
2011
1437
|
const getWidth = () => {
|
|
2012
|
-
return settings.
|
|
1438
|
+
return settings.sizes.rowAddons.indentWidth[props.size] || settings.sizes.rowAddons.defaults.indentWidth;
|
|
2013
1439
|
};
|
|
2014
1440
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
2015
1441
|
row.dnd?.srcData && React__namespace.default.createElement(uuiComponents.DragHandle, { key: "dh", cx: css$12.dragHandle, rawProps: { ...props.eventHandlers } }),
|
|
2016
|
-
row?.checkbox?.isVisible && (React__namespace.default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size: settings.
|
|
1442
|
+
row?.checkbox?.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: () => row.onCheck?.(row), isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid })),
|
|
2017
1443
|
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: {
|
|
2018
1444
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
2019
1445
|
role: 'button',
|
|
2020
|
-
}, key: "icon", icon:
|
|
1446
|
+
}, key: "icon", icon: ForwardRef$Q, cx: [
|
|
2021
1447
|
uuiCore.uuiElement.foldingArrow, uuiCore.uuiMarkers.clickable, css$12.iconContainer,
|
|
2022
|
-
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.
|
|
1448
|
+
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.sizes.rowAddons.icon[props.size] || settings.sizes.rowAddons.defaults.icon }))))));
|
|
2023
1449
|
}
|
|
2024
1450
|
|
|
2025
|
-
var css$11 = {"root":"
|
|
1451
|
+
var css$11 = {"root":"UAZdQJ"};
|
|
2026
1452
|
|
|
2027
1453
|
const Blocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.Blocker, () => [css$11.root], (cmpProps) => ({ renderSpinner: cmpProps.renderSpinner || (() => React__namespace.default.createElement(Spinner, null)) }));
|
|
2028
1454
|
|
|
@@ -2068,7 +1494,7 @@ const VirtualListView = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
2068
1494
|
React__namespace.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
2069
1495
|
});
|
|
2070
1496
|
|
|
2071
|
-
var css$10 = {"root":"
|
|
1497
|
+
var css$10 = {"root":"Nvwpad"};
|
|
2072
1498
|
|
|
2073
1499
|
function CheckboxGroup(props) {
|
|
2074
1500
|
const currentValue = props.value || [];
|
|
@@ -2090,13 +1516,13 @@ function CheckboxGroup(props) {
|
|
|
2090
1516
|
})));
|
|
2091
1517
|
}
|
|
2092
1518
|
|
|
2093
|
-
var css$$ = {"root":"
|
|
1519
|
+
var css$$ = {"root":"LzIFiN","modal-blocker":"d9czWi","modalBlocker":"d9czWi","animateModalBlocker":"EIvRP-","modal":"OnIeq4","modal-footer":"A9NwAu","modalFooter":"A9NwAu","modal-header":"xfUuw8","modalHeader":"xfUuw8"};
|
|
2094
1520
|
|
|
2095
1521
|
const ModalBlocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$$.modalBlocker]);
|
|
2096
1522
|
const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, () => [css$$.root, css$$.modal], (props) => {
|
|
2097
|
-
const width = props.width;
|
|
1523
|
+
const width = props.width || settings.sizes.modal.window.defaults.width;
|
|
2098
1524
|
const height = props.height || 'auto';
|
|
2099
|
-
const maxHeight = uuiCore.isMobile() ? '
|
|
1525
|
+
const maxHeight = uuiCore.isMobile() ? '100dvh' : (props.maxHeight || '80dvh');
|
|
2100
1526
|
return {
|
|
2101
1527
|
style: {
|
|
2102
1528
|
...props.style,
|
|
@@ -2106,20 +1532,24 @@ const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, (
|
|
|
2106
1532
|
},
|
|
2107
1533
|
};
|
|
2108
1534
|
});
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
1535
|
+
class ModalHeader extends React__namespace.default.Component {
|
|
1536
|
+
render() {
|
|
1537
|
+
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 },
|
|
1538
|
+
this.props.title && (React__namespace.default.createElement("div", { className: cx__default.default('uui-modal-title', 'uui-typography') }, this.props.title)),
|
|
1539
|
+
this.props.children,
|
|
1540
|
+
this.props.onClose && React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
1541
|
+
this.props.onClose && (React__namespace.default.createElement(FlexCell, { shrink: 0, width: "auto" },
|
|
1542
|
+
React__namespace.default.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: ForwardRef$R, onClick: this.props.onClose })))));
|
|
1543
|
+
}
|
|
2118
1544
|
}
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
1545
|
+
class ModalFooter extends React__namespace.default.Component {
|
|
1546
|
+
render() {
|
|
1547
|
+
return (React__namespace.default.createElement(FlexRow, { columnGap: this.props.columnGap || '12', cx: [
|
|
1548
|
+
css$$.root,
|
|
1549
|
+
css$$.modalFooter,
|
|
1550
|
+
this.props.cx,
|
|
1551
|
+
], borderTop: this.props.borderTop, padding: this.props.padding || '24', vPadding: this.props.vPadding || '24', rawProps: this.props.rawProps }, this.props.children));
|
|
1552
|
+
}
|
|
2123
1553
|
}
|
|
2124
1554
|
|
|
2125
1555
|
const TREE_SHAKEABLE_INIT = () => ({
|
|
@@ -2280,7 +1710,22 @@ const TREE_SHAKEABLE_INIT = () => ({
|
|
|
2280
1710
|
});
|
|
2281
1711
|
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
2282
1712
|
|
|
2283
|
-
var
|
|
1713
|
+
var _path$u;
|
|
1714
|
+
function _extends$u() { return _extends$u = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$u.apply(null, arguments); }
|
|
1715
|
+
var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
1716
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
|
|
1717
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1718
|
+
width: 24,
|
|
1719
|
+
height: 24,
|
|
1720
|
+
viewBox: "0 0 24 24",
|
|
1721
|
+
ref: ref
|
|
1722
|
+
}, props), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1723
|
+
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"
|
|
1724
|
+
})));
|
|
1725
|
+
};
|
|
1726
|
+
var ForwardRef$u = /*#__PURE__*/React.forwardRef(SvgNotificationHelpFill);
|
|
1727
|
+
|
|
1728
|
+
var css$_ = {"root":"DUBgDz","icon-wrapper":"G8rvY3","iconWrapper":"G8rvY3","action-wrapper":"jIP--6","actionWrapper":"jIP--6","action-link":"E3p6K4","actionLink":"E3p6K4","close-icon":"WBCha8","closeIcon":"WBCha8","main-path":"_79iJvH","mainPath":"_79iJvH","content":"thNgmV","close-wrapper":"F0m-7e","closeWrapper":"F0m-7e","notification-wrapper":"_0VLmt6","notificationWrapper":"_0VLmt6","clear-button":"Qcz5pN","clearButton":"Qcz5pN"};
|
|
2284
1729
|
|
|
2285
1730
|
const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
2286
1731
|
const notificationCardNode = React__namespace.default.useRef(null);
|
|
@@ -2299,21 +1744,21 @@ const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((pro
|
|
|
2299
1744
|
React__namespace.default.createElement(uuiComponents.IconContainer, { size: 24, icon: props.icon }))),
|
|
2300
1745
|
React__namespace.default.createElement("div", { className: css$_.content },
|
|
2301
1746
|
props.children,
|
|
2302
|
-
props.actions && (React__namespace.default.createElement("div", { className: css$_.actionWrapper }, props.actions.map((action) => (React__namespace.default.createElement(LinkButton, { key: action.name, caption: action.name, onClick: action.action, cx: css$_.actionLink, size: settings.notificationCard.
|
|
1747
|
+
props.actions && (React__namespace.default.createElement("div", { className: css$_.actionWrapper }, props.actions.map((action) => (React__namespace.default.createElement(LinkButton, { key: action.name, caption: action.name, onClick: action.action, cx: css$_.actionLink, size: settings.sizes.notificationCard.action, rawProps: action.rawProps })))))),
|
|
2303
1748
|
props.onClose && (React__namespace.default.createElement("div", { className: css$_.closeWrapper },
|
|
2304
|
-
React__namespace.default.createElement(IconButton, { icon:
|
|
1749
|
+
React__namespace.default.createElement(IconButton, { icon: ForwardRef$R, color: "neutral", onClick: props.onClose, cx: css$_.closeIcon }))))));
|
|
2305
1750
|
});
|
|
2306
|
-
const WarningNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon:
|
|
2307
|
-
const SuccessNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon:
|
|
2308
|
-
const HintNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon:
|
|
2309
|
-
const ErrorNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon:
|
|
1751
|
+
const WarningNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon: ForwardRef$z, color: "warning", ...props, ref: ref, cx: props.cx })));
|
|
1752
|
+
const SuccessNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon: ForwardRef$A, color: "success", ...props, ref: ref, cx: props.cx })));
|
|
1753
|
+
const HintNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon: ForwardRef$u, color: "info", ...props, ref: ref, cx: props.cx })));
|
|
1754
|
+
const ErrorNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon: ForwardRef$y, color: "error", ...props, ref: ref, cx: props.cx })));
|
|
2310
1755
|
function ClearNotification() {
|
|
2311
1756
|
const uuiCtx = uuiCore.useUuiContext();
|
|
2312
1757
|
return (React__namespace.default.createElement("div", { className: cx__default.default(css$_.notificationWrapper, css$_.clearButton) },
|
|
2313
1758
|
React__namespace.default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
|
|
2314
1759
|
}
|
|
2315
1760
|
|
|
2316
|
-
var css$Z = {"footer":"
|
|
1761
|
+
var css$Z = {"footer":"_7eeblS"};
|
|
2317
1762
|
|
|
2318
1763
|
class ConfirmationModal extends React__namespace.Component {
|
|
2319
1764
|
render() {
|
|
@@ -2355,7 +1800,7 @@ function useReliableForceUpdate() {
|
|
|
2355
1800
|
return red[1];
|
|
2356
1801
|
}
|
|
2357
1802
|
|
|
2358
|
-
var css$Y = {"root":"
|
|
1803
|
+
var css$Y = {"root":"_6Hn-lr","timepicker-input":"u6uKrB","timepickerInput":"u6uKrB","ltr-always":"rEXUhQ","ltrAlways":"rEXUhQ"};
|
|
2359
1804
|
|
|
2360
1805
|
const uuiTimePicker = {
|
|
2361
1806
|
container: 'uui-timepicker-container',
|
|
@@ -2538,7 +1983,7 @@ function TimePicker(props) {
|
|
|
2538
1983
|
state.value && state.inputValue && saveTime(state.value);
|
|
2539
1984
|
};
|
|
2540
1985
|
const renderInput = (inputProps) => {
|
|
2541
|
-
return (React__namespace.default.createElement(TextInput, { ...inputProps, onClick: null, size: props.size, isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, cx: [css$Y.root, css$Y.timepickerInput, props.inputCx], value: state.inputValue, onValueChange: handleInputChange, onCancel: !props.disableClear && onClear, onFocus: handleFocus, onBlur: handleBlur, isDropdown: false, placeholder: props.placeholder ? props.placeholder : getFormat(), mode: props.mode || DEFAULT_MODE, rawProps: props.rawProps?.input }));
|
|
1986
|
+
return (React__namespace.default.createElement(TextInput, { ...inputProps, onClick: null, size: props.size || '36', isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, cx: [css$Y.root, css$Y.timepickerInput, props.inputCx], value: state.inputValue, onValueChange: handleInputChange, onCancel: !props.disableClear && onClear, onFocus: handleFocus, onBlur: handleBlur, isDropdown: false, placeholder: props.placeholder ? props.placeholder : getFormat(), mode: props.mode || DEFAULT_MODE, rawProps: props.rawProps?.input }));
|
|
2542
1987
|
};
|
|
2543
1988
|
const renderBody = (bodyProps) => {
|
|
2544
1989
|
const { forwardedRef, onValueChange, ...timePickerBodyProps } = props;
|
|
@@ -2548,7 +1993,7 @@ function TimePicker(props) {
|
|
|
2548
1993
|
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 }));
|
|
2549
1994
|
}
|
|
2550
1995
|
|
|
2551
|
-
var css$X = {"root":"
|
|
1996
|
+
var css$X = {"root":"myjuUj"};
|
|
2552
1997
|
|
|
2553
1998
|
function applyInputAddonMods() {
|
|
2554
1999
|
return [
|
|
@@ -2557,29 +2002,43 @@ function applyInputAddonMods() {
|
|
|
2557
2002
|
}
|
|
2558
2003
|
const InputAddon = /* @__PURE__ */uuiCore.withMods(uuiComponents.InputAddon, applyInputAddonMods);
|
|
2559
2004
|
|
|
2560
|
-
var css$W = {"root":"
|
|
2005
|
+
var css$W = {"root":"e-7MGJ"};
|
|
2561
2006
|
|
|
2562
2007
|
function applySliderMods() {
|
|
2563
2008
|
return [css$W.root, 'uui-color-neutral'];
|
|
2564
2009
|
}
|
|
2565
2010
|
const Slider = /* @__PURE__ */uuiCore.withMods(uuiComponents.Slider, applySliderMods);
|
|
2566
2011
|
|
|
2567
|
-
var
|
|
2012
|
+
var _path$t;
|
|
2013
|
+
function _extends$t() { return _extends$t = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$t.apply(null, arguments); }
|
|
2014
|
+
var SvgStarFilled = function SvgStarFilled(props, ref) {
|
|
2015
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
|
|
2016
|
+
width: 24,
|
|
2017
|
+
height: 24,
|
|
2018
|
+
viewBox: "0 0 24 24",
|
|
2019
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2020
|
+
ref: ref
|
|
2021
|
+
}, props), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2022
|
+
fillRule: "evenodd",
|
|
2023
|
+
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"
|
|
2024
|
+
})));
|
|
2025
|
+
};
|
|
2026
|
+
var ForwardRef$t = /*#__PURE__*/React.forwardRef(SvgStarFilled);
|
|
2027
|
+
|
|
2028
|
+
var css$V = {"root":"HXEl4-","tooltip":"_1EnEDH"};
|
|
2568
2029
|
|
|
2569
2030
|
function applyRatingMods(mods) {
|
|
2570
2031
|
return [
|
|
2571
2032
|
css$V.root,
|
|
2572
|
-
`uui-size-${mods.size || settings.
|
|
2033
|
+
`uui-size-${mods.size || settings.sizes.defaults.rating}`,
|
|
2573
2034
|
];
|
|
2574
2035
|
}
|
|
2575
2036
|
const Rating = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Rating, applyRatingMods, (props) => ({
|
|
2576
|
-
filledStarIcon: props.icon ||
|
|
2577
|
-
emptyStarIcon: props.icon ||
|
|
2037
|
+
filledStarIcon: props.icon || ForwardRef$t,
|
|
2038
|
+
emptyStarIcon: props.icon || ForwardRef$t,
|
|
2578
2039
|
Tooltip,
|
|
2579
2040
|
}));
|
|
2580
2041
|
|
|
2581
|
-
var css$U = {"root":"D9xlKC","container":"FlrTrC"};
|
|
2582
|
-
|
|
2583
2042
|
const defaultFormat = 'MMM D, YYYY';
|
|
2584
2043
|
const valueFormat = 'YYYY-MM-DD';
|
|
2585
2044
|
const supportedDateFormats = (format) => {
|
|
@@ -2707,6 +2166,8 @@ const getNextYearsList = (currentDate) => {
|
|
|
2707
2166
|
return currentDate.add(16, 'year');
|
|
2708
2167
|
};
|
|
2709
2168
|
|
|
2169
|
+
var css$U = {"root":"_4ypA5X","container":"N7dFbL"};
|
|
2170
|
+
|
|
2710
2171
|
const uuiHeader = {
|
|
2711
2172
|
container: 'uui-datepicker-header-container',
|
|
2712
2173
|
headerNav: 'uui-datepicker-header-nav',
|
|
@@ -2784,19 +2245,19 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2784
2245
|
const disableNext = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getNextYearsList(month));
|
|
2785
2246
|
return (React__namespace.createElement("div", { className: cx__default.default(css$U.root, uuiHeader.container, cx__default.default) },
|
|
2786
2247
|
React__namespace.createElement("header", { className: uuiHeader.headerNav },
|
|
2787
|
-
React__namespace.createElement(Button, { icon: navIconLeft ||
|
|
2248
|
+
React__namespace.createElement(Button, { icon: navIconLeft || ForwardRef$w, color: "secondary", fill: "ghost", cx: uuiHeader.navIconLeft, onClick: !isDisabled && (() => onLeftNavigationArrow()), isDisabled: disablePrev }),
|
|
2788
2249
|
React__namespace.createElement(Button, { caption: title, fill: "ghost", cx: uuiHeader.navTitle, onClick: !isDisabled && (() => onCaptionClick(view)) }),
|
|
2789
|
-
React__namespace.createElement(Button, { icon: navIconRight ||
|
|
2250
|
+
React__namespace.createElement(Button, { icon: navIconRight || ForwardRef$v, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
|
|
2790
2251
|
}
|
|
2791
2252
|
|
|
2792
|
-
var css$T = {"root":"
|
|
2253
|
+
var css$T = {"root":"e5YrEL"};
|
|
2793
2254
|
|
|
2794
2255
|
function applyDateSelectionMods() {
|
|
2795
|
-
return [css$T.root, `uui-size-${settings.
|
|
2256
|
+
return [css$T.root, `uui-size-${settings.sizes.defaults.datePicker}`];
|
|
2796
2257
|
}
|
|
2797
2258
|
const Calendar = /* @__PURE__ */uuiCore.withMods(uuiComponents.Calendar, applyDateSelectionMods);
|
|
2798
2259
|
|
|
2799
|
-
var css$S = {"root":"
|
|
2260
|
+
var css$S = {"root":"_9uVXrx"};
|
|
2800
2261
|
|
|
2801
2262
|
const uuiDatePickerBody = {
|
|
2802
2263
|
wrapper: 'uui-datepicker-body-wrapper',
|
|
@@ -2839,7 +2300,7 @@ function StatelessDatePickerBodyComp({ renderDay, isHoliday, cx: classes, filter
|
|
|
2839
2300
|
return (React__namespace.default.createElement(Calendar, { value: selectedDate, month: month, onValueChange: onDayClick, filter: filter, renderDay: renderDay, isHoliday: isHoliday, isDisabled: isDisabled }));
|
|
2840
2301
|
}
|
|
2841
2302
|
};
|
|
2842
|
-
return (React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(uuiDatePickerBodyBase.container, `uui-size-${settings.
|
|
2303
|
+
return (React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(uuiDatePickerBodyBase.container, `uui-size-${settings.sizes.defaults.datePicker}`, classes), ...rawProps },
|
|
2843
2304
|
React__namespace.default.createElement("div", { className: uuiCore.cx(css$S.root, uuiDatePickerBody.wrapper) },
|
|
2844
2305
|
React__namespace.default.createElement(DatePickerHeader, { value: {
|
|
2845
2306
|
view,
|
|
@@ -2857,7 +2318,7 @@ const modifiers$1 = [{
|
|
|
2857
2318
|
options: { offset: [0, 6] },
|
|
2858
2319
|
}];
|
|
2859
2320
|
function DatePickerComponent(props, ref) {
|
|
2860
|
-
const { format = defaultFormat, value, size = settings.
|
|
2321
|
+
const { format = defaultFormat, value, size = settings.sizes.defaults.datePicker } = props;
|
|
2861
2322
|
const context = uuiCore.useUuiContext();
|
|
2862
2323
|
const [inputValue, setInputValue] = React.useState(toCustomDateFormat(value, format));
|
|
2863
2324
|
const [isBodyOpen, setBodyIsOpen] = React.useState(false);
|
|
@@ -2897,7 +2358,7 @@ function DatePickerComponent(props, ref) {
|
|
|
2897
2358
|
};
|
|
2898
2359
|
const renderInput = (renderProps) => {
|
|
2899
2360
|
const allowClear = !props.disableClear && !!inputValue;
|
|
2900
|
-
return (React__namespace.default.createElement(TextInput, { ...renderProps, isDropdown: false, cx: uuiCore.cx(props.inputCx, isBodyOpen && uuiCore.uuiMod.focus), icon: props.mode !== EditMode.CELL ?
|
|
2361
|
+
return (React__namespace.default.createElement(TextInput, { ...renderProps, isDropdown: false, cx: uuiCore.cx(props.inputCx, isBodyOpen && uuiCore.uuiMod.focus), icon: props.mode !== EditMode.CELL && systemIcons.calendar ? systemIcons.calendar : undefined, iconPosition: props.iconPosition || 'left', placeholder: props.placeholder ? props.placeholder : format, size: size, value: inputValue || undefined, onValueChange: (v) => {
|
|
2901
2362
|
setInputValue(v || '');
|
|
2902
2363
|
}, onCancel: allowClear ? () => {
|
|
2903
2364
|
if (!props.disableClear && !!inputValue) {
|
|
@@ -2922,7 +2383,7 @@ function DatePickerComponent(props, ref) {
|
|
|
2922
2383
|
}
|
|
2923
2384
|
const DatePicker = /* @__PURE__ */React__namespace.default.forwardRef(DatePickerComponent);
|
|
2924
2385
|
|
|
2925
|
-
var css$R = {"date-input":"
|
|
2386
|
+
var css$R = {"date-input":"dH4gVV","dateInput":"dH4gVV","root":"neyXnD","separator":"_3X9vC5","mode-form":"_4qNoZE","modeForm":"_4qNoZE","mode-cell":"UQA4Uy","modeCell":"UQA4Uy"};
|
|
2926
2387
|
|
|
2927
2388
|
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) => {
|
|
2928
2389
|
const [inputValue, setInputValue] = React.useState(toCustomDateRangeFormat(value, format));
|
|
@@ -2965,15 +2426,15 @@ const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isIn
|
|
|
2965
2426
|
const clearAllowed = !disableClear && inputValue.from && inputValue.to;
|
|
2966
2427
|
return (
|
|
2967
2428
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
2968
|
-
React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(`uui-size-${size || settings.
|
|
2969
|
-
React__namespace.default.createElement(TextInput, { icon:
|
|
2429
|
+
React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(`uui-size-${size || settings.sizes.defaults.rangeDatePicker}`, 'uui-range-date-picker', classes, css$R.root, isDisabled && uuiCore.uuiMod.disabled, isReadonly && uuiCore.uuiMod.readonly, isInvalid && uuiCore.uuiMod.invalid, inFocus && uuiCore.uuiMod.focus), onKeyDown: onKeyDown },
|
|
2430
|
+
React__namespace.default.createElement(TextInput, { icon: systemIcons.calendar, cx: uuiCore.cx(css$R.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?.from, onClick: onClick, onKeyDown: onInputKeyDown, id: id }),
|
|
2970
2431
|
React__namespace.default.createElement("div", { className: css$R.separator }),
|
|
2971
|
-
React__namespace.default.createElement(TextInput, { cx: uuiCore.cx(css$R.dateInput, inFocus === 'to' && uuiCore.uuiMod.focus), placeholder: getPlaceholder ? getPlaceholder('to') : i18n.rangeDatePicker.pickerPlaceholderTo, size: size || settings.
|
|
2432
|
+
React__namespace.default.createElement(TextInput, { cx: uuiCore.cx(css$R.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 ? () => {
|
|
2972
2433
|
onValueChange(defaultRangeValue);
|
|
2973
2434
|
} : 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?.to, onClick: onClick, onKeyDown: onInputKeyDown })));
|
|
2974
2435
|
});
|
|
2975
2436
|
|
|
2976
|
-
var css$Q = {"root":"
|
|
2437
|
+
var css$Q = {"root":"zMRxgH"};
|
|
2977
2438
|
|
|
2978
2439
|
const uuiPresets = {
|
|
2979
2440
|
container: 'uui-presets-container',
|
|
@@ -2990,10 +2451,10 @@ const getPresets = (presets) => {
|
|
|
2990
2451
|
function CalendarPresets(props) {
|
|
2991
2452
|
return (React__namespace.createElement("div", { ref: props.forwardedRef, className: uuiCore.cx(uuiPresets.container, css$Q.root, props.cx), ...props.rawProps },
|
|
2992
2453
|
React__namespace.createElement("div", { className: uuiPresets.header }, "Presets"),
|
|
2993
|
-
getPresets(props.presets).map((item) => (React__namespace.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size:
|
|
2454
|
+
getPresets(props.presets).map((item) => (React__namespace.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: "24" })))));
|
|
2994
2455
|
}
|
|
2995
2456
|
|
|
2996
|
-
var css$P = {"root":"
|
|
2457
|
+
var css$P = {"root":"XClPqD","container":"DXc3kH","day-selection":"H-8t1O","daySelection":"H-8t1O","from-picker":"TjrvVl","fromPicker":"TjrvVl","to-picker":"MEo-Ze","toPicker":"MEo-Ze","bodes-wrapper":"BUuU4W","bodesWrapper":"BUuU4W","blocker":"_1-bM21"};
|
|
2997
2458
|
|
|
2998
2459
|
const uuiRangeDatePickerBody = {
|
|
2999
2460
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -3168,14 +2629,14 @@ const getDayCX = (day, selectedDate) => {
|
|
|
3168
2629
|
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)];
|
|
3169
2630
|
};
|
|
3170
2631
|
|
|
3171
|
-
var css$O = {"dropdown-container":"
|
|
2632
|
+
var css$O = {"dropdown-container":"GHL5ok","dropdownContainer":"GHL5ok"};
|
|
3172
2633
|
|
|
3173
2634
|
const modifiers = [{
|
|
3174
2635
|
name: 'offset',
|
|
3175
2636
|
options: { offset: [0, 6] },
|
|
3176
2637
|
}];
|
|
3177
2638
|
function RangeDatePickerComponent(props, ref) {
|
|
3178
|
-
const { value: _value, format = defaultFormat, size = settings.
|
|
2639
|
+
const { value: _value, format = defaultFormat, size = settings.sizes.defaults.rangeDatePicker } = props;
|
|
3179
2640
|
const value = _value || defaultRangeValue; // also handles null in comparison to default value
|
|
3180
2641
|
const context = uuiCore.useUuiContext();
|
|
3181
2642
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
@@ -3236,7 +2697,7 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3236
2697
|
}
|
|
3237
2698
|
const RangeDatePicker = /* @__PURE__ */React__namespace.default.forwardRef(RangeDatePickerComponent);
|
|
3238
2699
|
|
|
3239
|
-
var css$N = {"root":"
|
|
2700
|
+
var css$N = {"root":"_5yiDsR","blocker":"sgn9Xa","marker":"fQ8q-G","top":"-lQHdP","bottom":"_3Y606X","left":"HSDxed","right":"_58AYsU","inside":"nqm8Df"};
|
|
3240
2701
|
|
|
3241
2702
|
function DropMarker(props) {
|
|
3242
2703
|
return props.isDndInProgress
|
|
@@ -3251,13 +2712,13 @@ function DropMarker(props) {
|
|
|
3251
2712
|
: null;
|
|
3252
2713
|
}
|
|
3253
2714
|
|
|
3254
|
-
var css$M = {"root":"
|
|
2715
|
+
var css$M = {"root":"Zl7Ux5","line-height":"RsQtVA","lineHeight":"RsQtVA","font-size":"_44skul","fontSize":"_44skul"};
|
|
3255
2716
|
|
|
3256
2717
|
function applyTextMods(mods) {
|
|
3257
2718
|
return [
|
|
3258
2719
|
css$M.root,
|
|
3259
2720
|
'uui-text',
|
|
3260
|
-
`uui-size-${mods.size || settings.
|
|
2721
|
+
`uui-size-${mods.size || settings.sizes.defaults.text}`,
|
|
3261
2722
|
(mods.size !== 'none' || mods.lineHeight) && css$M.lineHeight,
|
|
3262
2723
|
(mods.size !== 'none' || mods.fontSize) && css$M.fontSize,
|
|
3263
2724
|
`uui-color-${mods.color || 'primary'}`,
|
|
@@ -3278,7 +2739,7 @@ const Text = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Text, appl
|
|
|
3278
2739
|
};
|
|
3279
2740
|
});
|
|
3280
2741
|
|
|
3281
|
-
var css$L = {"root":"
|
|
2742
|
+
var css$L = {"root":"KhCAsw","loading-word":"WlCzEg","loadingWord":"WlCzEg","animated-loading":"K-JiKe","animatedLoading":"K-JiKe","skeleton_loading":"_25l87O","skeletonLoading":"_25l87O"};
|
|
3282
2743
|
|
|
3283
2744
|
const TextPlaceholder = (props) => {
|
|
3284
2745
|
const pattern = ' ';
|
|
@@ -3295,16 +2756,16 @@ const TextPlaceholder = (props) => {
|
|
|
3295
2756
|
]), dangerouslySetInnerHTML: { __html: it } })))));
|
|
3296
2757
|
};
|
|
3297
2758
|
|
|
3298
|
-
const RichTextView = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.
|
|
2759
|
+
const RichTextView = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.sizes.defaults.richTextView}`]);
|
|
3299
2760
|
|
|
3300
|
-
var css$K = {"modal":"
|
|
2761
|
+
var css$K = {"modal":"n8vGj1","search-wrapper":"OhLspV","searchWrapper":"OhLspV","no-data":"gHwm-T","noData":"gHwm-T","type-search-to-load-size-24":"zYWjFU","typeSearchToLoadSize24":"zYWjFU"};
|
|
3301
2762
|
|
|
3302
2763
|
class DataPickerBody extends uuiComponents.PickerBodyBase {
|
|
3303
2764
|
constructor() {
|
|
3304
2765
|
super(...arguments);
|
|
3305
2766
|
this.lens = uuiCore.Lens.onEditableComponent(this);
|
|
3306
2767
|
this.searchLens = this.lens.prop('search').default('');
|
|
3307
|
-
this.getSearchSize = () => (uuiCore.isMobile() ? settings.pickerInput.
|
|
2768
|
+
this.getSearchSize = () => (uuiCore.isMobile() ? settings.sizes.pickerInput.body.mobile.searchInput : this.props.searchSize);
|
|
3308
2769
|
}
|
|
3309
2770
|
renderEmpty() {
|
|
3310
2771
|
const search = this.searchLens.get();
|
|
@@ -3338,7 +2799,7 @@ class DataPickerBody extends uuiComponents.PickerBodyBase {
|
|
|
3338
2799
|
render() {
|
|
3339
2800
|
const searchSize = this.getSearchSize();
|
|
3340
2801
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
3341
|
-
this.showSearch() && (React__namespace.default.createElement("div", { key: "search", className:
|
|
2802
|
+
this.showSearch() && (React__namespace.default.createElement("div", { key: "search", className: css$K.searchWrapper },
|
|
3342
2803
|
React__namespace.default.createElement(uuiComponents.FlexCell, { grow: 1 },
|
|
3343
2804
|
React__namespace.default.createElement(SearchInput, { ref: this.searchRef, placeholder: i18n.dataPickerBody.searchPlaceholder, ...this.searchLens.toProps(), onKeyDown: this.searchKeyDown, size: searchSize, debounceDelay: this.props.searchDebounceDelay, rawProps: { dir: 'auto' } })))),
|
|
3344
2805
|
React__namespace.default.createElement(FlexRow, { key: "body", cx: uuiCore.cx('uui-picker_input-body', css$K[this.props.editMode], css$K[this.props.selectionMode]), rawProps: { style: { maxHeight: this.props.maxHeight, maxWidth: this.props.maxWidth } } }, this.props.rows.length === 0 && this.props.value.topIndex === 0
|
|
@@ -3348,11 +2809,11 @@ class DataPickerBody extends uuiComponents.PickerBodyBase {
|
|
|
3348
2809
|
}
|
|
3349
2810
|
}
|
|
3350
2811
|
|
|
3351
|
-
var css$J = {"footer":"
|
|
2812
|
+
var css$J = {"footer":"e-K07I"};
|
|
3352
2813
|
|
|
3353
2814
|
function DataPickerFooterImpl(props) {
|
|
3354
2815
|
const { search, clearSelection, view, showSelected, selectionMode, isSearchTooShort, } = props;
|
|
3355
|
-
const size = uuiCore.isMobile() ? settings.pickerInput.
|
|
2816
|
+
const size = uuiCore.isMobile() ? settings.sizes.pickerInput.body.mobile.footer.linkButton : props.size;
|
|
3356
2817
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
3357
2818
|
const rowsCount = view.getListProps().rowsCount;
|
|
3358
2819
|
const isSinglePicker = selectionMode === 'single';
|
|
@@ -3364,7 +2825,7 @@ function DataPickerFooterImpl(props) {
|
|
|
3364
2825
|
const showClear = !props.disableClear && (isSinglePicker ? true : (!view.selectAll || hasSelection));
|
|
3365
2826
|
return !hideFooter && (React__namespace.default.createElement(FlexRow, { cx: css$J.footer },
|
|
3366
2827
|
!isSinglePicker && !isSearchTooShort && ( // Show this switch only for multi mode and when some rows rendered
|
|
3367
|
-
React__namespace.default.createElement(Switch, { size: settings.pickerInput.
|
|
2828
|
+
React__namespace.default.createElement(Switch, { size: settings.sizes.pickerInput.body.dropdown.footer.switch[props.size], value: showSelected.value, isDisabled: !hasSelection, onValueChange: showSelected.onValueChange, label: i18n.pickerInput.showOnlySelectedLabel })),
|
|
3368
2829
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
3369
2830
|
React__namespace.default.createElement(FlexCell, { width: "auto", alignSelf: "center" },
|
|
3370
2831
|
view.selectAll && !hasSelection && (React__namespace.default.createElement(LinkButton, { key: "SelectAll/ClearAll" // We use the same key for these buttons, because we need to leave focus on it after click, so we need to react doesn't remount it.
|
|
@@ -3374,17 +2835,32 @@ function DataPickerFooterImpl(props) {
|
|
|
3374
2835
|
}
|
|
3375
2836
|
const DataPickerFooter = /* @__PURE__ */React__namespace.default.memo(DataPickerFooterImpl);
|
|
3376
2837
|
|
|
3377
|
-
var css$I = {"header":"
|
|
2838
|
+
var css$I = {"header":"AvnO9I","title":"sPzeaz","close":"n0VTEH"};
|
|
3378
2839
|
|
|
3379
2840
|
const DataPickerHeaderImpl = (props) => {
|
|
3380
2841
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
3381
|
-
return (React__namespace.default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx:
|
|
3382
|
-
React__namespace.default.createElement(
|
|
3383
|
-
React__namespace.default.createElement(IconButton, { icon:
|
|
2842
|
+
return (React__namespace.default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$I.header },
|
|
2843
|
+
React__namespace.default.createElement(Text, { size: settings.sizes.pickerInput.body.mobile.header.titleSize, cx: css$I.title }, title),
|
|
2844
|
+
React__namespace.default.createElement(IconButton, { icon: ForwardRef$R, onClick: () => props.close?.(), cx: css$I.close })));
|
|
3384
2845
|
};
|
|
3385
2846
|
const DataPickerHeader = /* @__PURE__ */React__namespace.default.memo(DataPickerHeaderImpl);
|
|
3386
2847
|
|
|
3387
|
-
var
|
|
2848
|
+
var _path$s;
|
|
2849
|
+
function _extends$s() { return _extends$s = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$s.apply(null, arguments); }
|
|
2850
|
+
var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
2851
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
|
|
2852
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2853
|
+
width: 24,
|
|
2854
|
+
height: 24,
|
|
2855
|
+
viewBox: "0 0 24 24",
|
|
2856
|
+
ref: ref
|
|
2857
|
+
}, props), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2858
|
+
d: "m2 12 3.077-3.2 4.615 4.8L18.923 4 22 7.2 9.692 20 2 12z"
|
|
2859
|
+
})));
|
|
2860
|
+
};
|
|
2861
|
+
var ForwardRef$s = /*#__PURE__*/React.forwardRef(SvgNotificationDoneFill);
|
|
2862
|
+
|
|
2863
|
+
var css$H = {"root":"nKLrRT","align-widgets-top":"txq341","alignWidgetsTop":"txq341","align-widgets-center":"eK8pfv","alignWidgetsCenter":"eK8pfv","icon-container":"fyNjQn","iconContainer":"fyNjQn","loading-cell":"RHcDAE","loadingCell":"RHcDAE","content-wrapper":"HxQFPQ","contentWrapper":"HxQFPQ","render-item":"c8DwSP","renderItem":"c8DwSP","icon-wrapper":"CzaRce","iconWrapper":"CzaRce","icon-default":"e8li5c","iconDefault":"e8li5c","selected-mark":"LY-FnE","selectedMark":"LY-FnE"};
|
|
3388
2864
|
|
|
3389
2865
|
function DataPickerCell(props) {
|
|
3390
2866
|
const ref = React__namespace.useRef();
|
|
@@ -3392,21 +2868,18 @@ function DataPickerCell(props) {
|
|
|
3392
2868
|
if (props.rowProps.isLoading) {
|
|
3393
2869
|
content = (
|
|
3394
2870
|
// remove `css.loadingCell` after` removing `margin: 0 3px 3px 0` from `TextPlaceholder` `loadingWord` class styles.
|
|
3395
|
-
React__namespace.createElement(Text, { key: "t", size: props.size, cx: css$H.loadingCell },
|
|
2871
|
+
React__namespace.createElement(Text, { key: "t", size: settings.sizes.pickerInput.body.dropdown.row.cell.text[props.size], cx: css$H.loadingCell },
|
|
3396
2872
|
React__namespace.createElement(TextPlaceholder, null)));
|
|
3397
2873
|
}
|
|
3398
2874
|
else if (props.rowProps.isUnknown) {
|
|
3399
|
-
content = (React__namespace.createElement(Text, { key: "t", size: props.size }, "Unknown"));
|
|
2875
|
+
content = (React__namespace.createElement(Text, { key: "t", size: settings.sizes.pickerInput.body.dropdown.row.cell.text[props.size] }, "Unknown"));
|
|
3400
2876
|
}
|
|
3401
2877
|
else {
|
|
3402
|
-
const SelectIcon = (typeof settings.pickerInput.icons.body.selectIcon === 'function'
|
|
3403
|
-
? settings.pickerInput.icons.body.selectIcon(props.size)
|
|
3404
|
-
: settings.pickerInput.icons.body.selectIcon);
|
|
3405
2878
|
content = (React__namespace.createElement("div", { key: `${props.rowProps.id}`, className: css$H.renderItem },
|
|
3406
2879
|
props.renderItem(props.rowProps.value, props.rowProps),
|
|
3407
2880
|
React__namespace.createElement(uuiComponents.FlexSpacer, null),
|
|
3408
|
-
(props.rowProps.isChildrenSelected || props.rowProps.isSelected) && (React__namespace.createElement("div", { className: uuiCore.cx(css$H.iconWrapper,
|
|
3409
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: settings.pickerInput.
|
|
2881
|
+
(props.rowProps.isChildrenSelected || props.rowProps.isSelected) && (React__namespace.createElement("div", { className: uuiCore.cx(css$H.iconWrapper, uuiCore.uuiMod.selected) },
|
|
2882
|
+
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$H.iconDefault : css$H.selectedMark, rawProps: { 'aria-label': props.rowProps.isChildrenSelected
|
|
3410
2883
|
? 'Child is selected'
|
|
3411
2884
|
: 'Selected' } })))));
|
|
3412
2885
|
}
|
|
@@ -3414,32 +2887,31 @@ function DataPickerCell(props) {
|
|
|
3414
2887
|
return (React__namespace.createElement(FlexCell, { ref: ref, grow: 1, width: 0, minWidth: 0, rawProps: { role: 'cell' }, cx: [
|
|
3415
2888
|
css$H.root,
|
|
3416
2889
|
props.cx,
|
|
3417
|
-
'uui-picker_input-cell',
|
|
3418
2890
|
'data-picker-cell',
|
|
3419
2891
|
props.size && `uui-size-${props.size}`,
|
|
3420
2892
|
css$H[`align-widgets-${props.alignActions || 'top'}`],
|
|
3421
2893
|
], style: props.padding && {
|
|
3422
|
-
'--uui-
|
|
2894
|
+
'--uui-data_picker_cell-horizontal-padding': `${props.padding}px`,
|
|
3423
2895
|
} },
|
|
3424
2896
|
React__namespace.createElement(DataRowAddons, { size: props.size, ...props, tabIndex: -1 }),
|
|
3425
2897
|
getWrappedContent()));
|
|
3426
2898
|
}
|
|
3427
2899
|
|
|
3428
|
-
var css$G = {"picker-row":"
|
|
2900
|
+
var css$G = {"picker-row":"KBS1EC","pickerRow":"KBS1EC"};
|
|
3429
2901
|
|
|
3430
2902
|
class DataPickerRow extends React__namespace.Component {
|
|
3431
2903
|
constructor() {
|
|
3432
2904
|
super(...arguments);
|
|
3433
2905
|
this.renderContent = () => {
|
|
3434
|
-
return (React__namespace.createElement(DataPickerCell, { key: "name", size: this.props.size || settings.pickerInput.
|
|
2906
|
+
return (React__namespace.createElement(DataPickerCell, { key: "name", size: this.props.size || settings.sizes.pickerInput.body.dropdown.row.default, padding: this.props.padding || settings.sizes.pickerInput.body.dropdown.row.cell.padding, rowProps: this.props, alignActions: this.props.alignActions || 'top', renderItem: this.props.renderItem }));
|
|
3435
2907
|
};
|
|
3436
2908
|
}
|
|
3437
2909
|
render() {
|
|
3438
|
-
return (React__namespace.createElement(uuiComponents.DataPickerRow, { ...this.props, cx: [css$G.pickerRow,
|
|
2910
|
+
return (React__namespace.createElement(uuiComponents.DataPickerRow, { ...this.props, cx: [css$G.pickerRow, this.props.cx], renderContent: this.renderContent }));
|
|
3439
2911
|
}
|
|
3440
2912
|
}
|
|
3441
2913
|
|
|
3442
|
-
var css$F = {"done":"
|
|
2914
|
+
var css$F = {"done":"IekJsd","container":"Rcq7v3"};
|
|
3443
2915
|
|
|
3444
2916
|
const PickerBodyMobileView = (props) => {
|
|
3445
2917
|
const isMobileView = uuiCore.isMobile();
|
|
@@ -3448,8 +2920,32 @@ const PickerBodyMobileView = (props) => {
|
|
|
3448
2920
|
return (React__namespace.default.createElement(DropdownContainer, { ...props, maxWidth: maxWidth, maxHeight: maxHeight, cx: [css$F.container, props.cx], autoFocus: true },
|
|
3449
2921
|
isMobileView && React__namespace.default.createElement(DataPickerHeader, { title: props.title, close: props.onClose }),
|
|
3450
2922
|
props.children,
|
|
3451
|
-
isMobileView &&
|
|
2923
|
+
isMobileView && React__namespace.default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => props.onClose?.(), cx: css$F.done, size: settings.sizes.pickerInput.body.mobile.footer.linkButton })));
|
|
2924
|
+
};
|
|
2925
|
+
|
|
2926
|
+
var _path$r, _path2$4;
|
|
2927
|
+
function _extends$r() { return _extends$r = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$r.apply(null, arguments); }
|
|
2928
|
+
var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
2929
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
|
|
2930
|
+
width: 66,
|
|
2931
|
+
height: 67,
|
|
2932
|
+
viewBox: "0 0 66 67",
|
|
2933
|
+
fill: "none",
|
|
2934
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2935
|
+
ref: ref
|
|
2936
|
+
}, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2937
|
+
d: "M0 33.5C0 15.275 14.775.5 33 .5s33 14.775 33 33-14.775 33-33 33-33-14.775-33-33Z",
|
|
2938
|
+
fill: "#EBEDF5"
|
|
2939
|
+
})), _path2$4 || (_path2$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2940
|
+
fillRule: "evenodd",
|
|
2941
|
+
clipRule: "evenodd",
|
|
2942
|
+
d: "m42.31 40.335 7.165 7.165L47 49.975l-7.165-7.165a13.94 13.94 0 0 1-8.585 2.94c-7.732 0-14-6.268-14-14s6.268-14 14-14 14 6.268 14 14a13.94 13.94 0 0 1-2.94 8.585ZM31.25 42.25c5.799 0 10.5-4.701 10.5-10.5s-4.701-10.5-10.5-10.5-10.5 4.701-10.5 10.5 4.701 10.5 10.5 10.5Z",
|
|
2943
|
+
fill: "#6C6F80"
|
|
2944
|
+
})));
|
|
3452
2945
|
};
|
|
2946
|
+
var ForwardRef$r = /*#__PURE__*/React.forwardRef(SvgSearchWithBackground);
|
|
2947
|
+
|
|
2948
|
+
var css$E = {"sub-header-wrapper":"AS2n5F","subHeaderWrapper":"AS2n5F","switch":"_9gGPnt","no-found-modal-container":"lREtGV","noFoundModalContainer":"lREtGV","no-found-modal-container-icon":"JV9rT6","noFoundModalContainerIcon":"JV9rT6","no-found-modal-container-text":"Jt0R6a","noFoundModalContainerText":"Jt0R6a"};
|
|
3453
2949
|
|
|
3454
2950
|
const mergeHighlightRanges = (ranges) => {
|
|
3455
2951
|
const mergedRanges = [];
|
|
@@ -3516,29 +3012,27 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
3516
3012
|
return getDecoratedText(str, ranges);
|
|
3517
3013
|
};
|
|
3518
3014
|
|
|
3519
|
-
var css$
|
|
3015
|
+
var css$D = {"root":"-i2COf","column-gap":"Y-K4tS","columnGap":"Y-K4tS","multiline":"ySpF-g","text":"DBa0dX"};
|
|
3520
3016
|
|
|
3521
3017
|
function PickerItem(props) {
|
|
3522
|
-
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, } = props;
|
|
3523
|
-
const itemSize = size || settings.pickerInput.
|
|
3018
|
+
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, cx, } = props;
|
|
3019
|
+
const itemSize = size || settings.sizes.pickerInput.body.dropdown.row.cell.item.default;
|
|
3524
3020
|
const isMultiline = !!(props.title && props.subtitle);
|
|
3525
3021
|
const { search } = props.dataSourceState ?? {};
|
|
3526
3022
|
const title = highlightSearchMatches ? getHighlightedSearchMatches(props.title, search) : props.title;
|
|
3527
3023
|
const subtitle = highlightSearchMatches ? getHighlightedSearchMatches(props.subtitle, search) : props.subtitle;
|
|
3528
|
-
return (React__namespace.createElement(FlexCell, { width: "auto", cx: [css$
|
|
3529
|
-
React__namespace.createElement(FlexRow, { size: itemSize, cx: [isMultiline && css$
|
|
3530
|
-
avatarUrl && (React__namespace.createElement(uuiComponents.Avatar, { isLoading: isLoading, img: avatarUrl, size: getAvatarSize(itemSize, isMultiline) })),
|
|
3024
|
+
return (React__namespace.createElement(FlexCell, { width: "auto", cx: [css$D.root, 'uui-typography', cx] },
|
|
3025
|
+
React__namespace.createElement(FlexRow, { size: itemSize, cx: [isMultiline && css$D.multiline, css$D.columnGap], rawProps: { style: { '--uui-picker_item-vertical-padding': `${settings.sizes.pickerInput.body.dropdown.row.cell.item.verticalPadding[itemSize]}px` } } },
|
|
3026
|
+
avatarUrl && (React__namespace.createElement(uuiComponents.Avatar, { isLoading: isLoading, img: avatarUrl, size: getAvatarSize(itemSize, isMultiline).toString() })),
|
|
3531
3027
|
icon && React__namespace.createElement(uuiComponents.IconContainer, { icon: icon }),
|
|
3532
3028
|
React__namespace.createElement(FlexCell, { width: "auto" },
|
|
3533
|
-
title && (React__namespace.createElement(
|
|
3534
|
-
subtitle && (React__namespace.createElement(
|
|
3029
|
+
title && (React__namespace.createElement(Text, { size: itemSize, cx: css$D.text, color: isDisabled ? 'disabled' : 'primary' }, isLoading ? React__namespace.createElement(TextPlaceholder, { wordsCount: 2 }) : title)),
|
|
3030
|
+
subtitle && (React__namespace.createElement(Text, { size: itemSize, color: isDisabled ? 'disabled' : 'secondary', cx: css$D.text }, isLoading ? React__namespace.createElement(TextPlaceholder, { wordsCount: 2 }) : subtitle))))));
|
|
3535
3031
|
}
|
|
3536
3032
|
function getAvatarSize(size, isMultiline) {
|
|
3537
|
-
return settings.pickerInput.
|
|
3033
|
+
return settings.sizes.pickerInput.body.dropdown.row.cell.item.avatar[isMultiline ? 'multiline' : 'rest'][size];
|
|
3538
3034
|
}
|
|
3539
3035
|
|
|
3540
|
-
var css$D = {"sub-header-wrapper":"BBReRi","subHeaderWrapper":"BBReRi","switch":"cTAJSU","no-found-modal-container":"_7uV74u","noFoundModalContainer":"_7uV74u","no-found-modal-container-icon":"_5FdGu4","noFoundModalContainerIcon":"_5FdGu4","no-found-modal-container-text":"TqSgHT","noFoundModalContainerText":"TqSgHT"};
|
|
3541
|
-
|
|
3542
3036
|
function PickerModal(props) {
|
|
3543
3037
|
const { view, selection, dataSourceStateLens, dataSourceState, getDataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = uuiComponents.usePickerModal(props);
|
|
3544
3038
|
const getSubtitle = ({ path }, { search }) => {
|
|
@@ -3551,10 +3045,10 @@ function PickerModal(props) {
|
|
|
3551
3045
|
};
|
|
3552
3046
|
const renderItem = (item, rowProps, dsState) => {
|
|
3553
3047
|
const { flattenSearchResults } = view.getConfig();
|
|
3554
|
-
return (React__namespace.default.createElement(PickerItem, { title: getName(item), dataSourceState: dsState, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dataSourceState) } : {}), ...rowProps }));
|
|
3048
|
+
return (React__namespace.default.createElement(PickerItem, { title: getName(item), size: "36", dataSourceState: dsState, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dataSourceState) } : {}), ...rowProps }));
|
|
3555
3049
|
};
|
|
3556
3050
|
const renderRow = (rowProps) => {
|
|
3557
|
-
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React__namespace.default.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, padding: "24", renderItem: (item, itemProps) => renderItem(item, itemProps, dataSourceState) }));
|
|
3051
|
+
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React__namespace.default.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, padding: "24", size: "36", renderItem: (item, itemProps) => renderItem(item, itemProps, dataSourceState) }));
|
|
3558
3052
|
};
|
|
3559
3053
|
const renderFooter = () => {
|
|
3560
3054
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
@@ -3567,17 +3061,17 @@ function PickerModal(props) {
|
|
|
3567
3061
|
React__namespace.default.createElement(Button, { color: "primary", caption: i18n.pickerModal.selectButton, onClick: () => props.success(selection) })));
|
|
3568
3062
|
};
|
|
3569
3063
|
const renderNotFound = () => {
|
|
3570
|
-
return props.renderNotFound ? (props.renderNotFound({ search: dataSourceState.search, onClose: () => props.success(null) })) : (React__namespace.default.createElement("div", { className: css$
|
|
3571
|
-
React__namespace.default.createElement(uuiComponents.IconContainer, { cx: css$
|
|
3572
|
-
React__namespace.default.createElement(Text, { cx: css$
|
|
3573
|
-
React__namespace.default.createElement(Text, { cx: css$
|
|
3064
|
+
return props.renderNotFound ? (props.renderNotFound({ search: dataSourceState.search, onClose: () => props.success(null) })) : (React__namespace.default.createElement("div", { className: css$E.noFoundModalContainer },
|
|
3065
|
+
React__namespace.default.createElement(uuiComponents.IconContainer, { cx: css$E.noFoundModalContainerIcon, icon: ForwardRef$r }),
|
|
3066
|
+
React__namespace.default.createElement(Text, { cx: css$E.noFoundModalContainerText, fontWeight: "600", fontSize: "16", lineHeight: "24", color: "primary", size: "36" }, i18n.dataPickerBody.noRecordsMessage),
|
|
3067
|
+
React__namespace.default.createElement(Text, { cx: css$E.noFoundModalContainerText, fontSize: "12", lineHeight: "18", color: "primary", size: "36" }, i18n.dataPickerBody.noRecordsSubTitle)));
|
|
3574
3068
|
};
|
|
3575
3069
|
const dataRows = getRows();
|
|
3576
3070
|
const rows = dataRows.map((row) => renderRow(row));
|
|
3577
3071
|
return (React__namespace.default.createElement(ModalBlocker, { ...props },
|
|
3578
3072
|
React__namespace.default.createElement(ModalWindow, { width: 600, height: 700 },
|
|
3579
3073
|
React__namespace.default.createElement(ModalHeader, { title: props.caption || i18n.pickerModal.headerTitle, onClose: () => props.abort() }),
|
|
3580
|
-
React__namespace.default.createElement(FlexCell, { cx: css$
|
|
3074
|
+
React__namespace.default.createElement(FlexCell, { cx: css$E.subHeaderWrapper },
|
|
3581
3075
|
React__namespace.default.createElement(FlexRow, { vPadding: "24" },
|
|
3582
3076
|
React__namespace.default.createElement(SearchInput, { ...dataSourceStateLens.prop('search').toProps(), onKeyDown: (e) => uuiComponents.handleDataSourceKeyboard({
|
|
3583
3077
|
value: getDataSourceState(),
|
|
@@ -3586,19 +3080,19 @@ function PickerModal(props) {
|
|
|
3586
3080
|
rows: dataRows,
|
|
3587
3081
|
searchPosition: 'body',
|
|
3588
3082
|
}, e), autoFocus: true, placeholder: i18n.pickerModal.searchPlaceholder, rawProps: { dir: 'auto' } })),
|
|
3589
|
-
!isSingleSelect() && (React__namespace.default.createElement(Switch, { cx: css$
|
|
3083
|
+
!isSingleSelect() && (React__namespace.default.createElement(Switch, { cx: css$E.switch, size: "18", ...getFooterProps().showSelected, isDisabled: view.getSelectedRowsCount() < 1, label: "Show only selected" })),
|
|
3590
3084
|
props.renderFilter && React__namespace.default.createElement(FlexCell, { grow: 2 }, props.renderFilter(dataSourceStateLens.prop('filter').toProps()))),
|
|
3591
3085
|
React__namespace.default.createElement(DataPickerBody, { ...getListProps(), value: getDataSourceState(), onValueChange: handleDataSourceValueChange, search: dataSourceStateLens.prop('search').toProps(), showSearch: false, rows: rows, renderNotFound: renderNotFound, editMode: "modal" }),
|
|
3592
|
-
React__namespace.default.createElement(ModalFooter,
|
|
3086
|
+
React__namespace.default.createElement(ModalFooter, { padding: "24", vPadding: "24" }, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
3593
3087
|
}
|
|
3594
3088
|
|
|
3595
|
-
var css$C = {"tooltip":"
|
|
3089
|
+
var css$C = {"tooltip":"BOQQ3r"};
|
|
3596
3090
|
|
|
3597
3091
|
const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
3598
3092
|
const tagProps = {
|
|
3599
3093
|
...props,
|
|
3600
3094
|
tabIndex: -1,
|
|
3601
|
-
size: settings.pickerInput.
|
|
3095
|
+
size: settings.sizes.pickerInput.toggler.tag[props.size],
|
|
3602
3096
|
caption: props.rowProps?.isLoading ? React__namespace.createElement(TextPlaceholder, null) : props.caption,
|
|
3603
3097
|
};
|
|
3604
3098
|
if (props.isCollapsed) {
|
|
@@ -3611,26 +3105,26 @@ const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
3611
3105
|
}
|
|
3612
3106
|
});
|
|
3613
3107
|
|
|
3614
|
-
var css$B = {"root":"
|
|
3108
|
+
var css$B = {"root":"P7wOy2","mode-form":"KwYUq0","modeForm":"KwYUq0","mode-cell":"CJ7owm","modeCell":"CJ7owm","mode-inline":"_9pji1F","modeInline":"_9pji1F"};
|
|
3615
3109
|
|
|
3616
3110
|
const defaultMode = EditMode.FORM;
|
|
3617
3111
|
function applyPickerTogglerMods(mods) {
|
|
3618
3112
|
return [
|
|
3619
3113
|
css$B.root,
|
|
3620
3114
|
'uui-picker_toggler',
|
|
3621
|
-
`uui-size-${mods.size || settings.pickerInput.
|
|
3115
|
+
`uui-size-${mods.size || settings.sizes.pickerInput.toggler.defaults.size}`,
|
|
3622
3116
|
css$B['mode-' + (mods.mode || defaultMode)],
|
|
3623
3117
|
];
|
|
3624
3118
|
}
|
|
3625
3119
|
function PickerTogglerComponent(props, ref) {
|
|
3626
3120
|
const renderItem = (itemProps) => {
|
|
3627
|
-
const itemPropsWithSize = { ...itemProps, size: props.size || settings.pickerInput.
|
|
3121
|
+
const itemPropsWithSize = { ...itemProps, size: (props.size || settings.sizes.pickerInput.toggler.defaults.tag) };
|
|
3628
3122
|
if (!!props.renderItem) {
|
|
3629
3123
|
return props.renderItem(itemPropsWithSize);
|
|
3630
3124
|
}
|
|
3631
3125
|
return (React__namespace.createElement(PickerTogglerTag, { ...itemPropsWithSize, getName: props.getName }));
|
|
3632
3126
|
};
|
|
3633
|
-
return (React__namespace.createElement(uuiComponents.PickerToggler, { ...props, ref: ref, cx: [applyPickerTogglerMods(props), props.cx], renderItem: renderItem, getName: props.getName, cancelIcon:
|
|
3127
|
+
return (React__namespace.createElement(uuiComponents.PickerToggler, { ...props, ref: ref, cx: [applyPickerTogglerMods(props), props.cx], renderItem: renderItem, getName: props.getName, cancelIcon: systemIcons.clear, dropdownIcon: systemIcons.foldingArrow }));
|
|
3634
3128
|
}
|
|
3635
3129
|
const PickerToggler = /* @__PURE__ */React__namespace.forwardRef(PickerTogglerComponent);
|
|
3636
3130
|
|
|
@@ -3670,15 +3164,15 @@ function PickerInputComponent({ highlightSearchMatches = true, ...props }, ref)
|
|
|
3670
3164
|
};
|
|
3671
3165
|
const renderFooter = () => {
|
|
3672
3166
|
const footerProps = getFooterProps();
|
|
3673
|
-
return props.renderFooter
|
|
3674
|
-
? props.renderFooter(footerProps)
|
|
3675
|
-
: React__namespace.default.createElement(DataPickerFooter, { ...footerProps, size: props.size || settings.pickerInput.sizes.body.row });
|
|
3167
|
+
return props.renderFooter ? props.renderFooter(footerProps) : React__namespace.default.createElement(DataPickerFooter, { ...footerProps, size: props.size });
|
|
3676
3168
|
};
|
|
3677
3169
|
const getRowSize = () => {
|
|
3678
3170
|
if (uuiCore.isMobile()) {
|
|
3679
|
-
return settings.pickerInput.
|
|
3171
|
+
return settings.sizes.pickerInput.body.mobile.row;
|
|
3680
3172
|
}
|
|
3681
|
-
return props.
|
|
3173
|
+
return props.editMode === 'modal'
|
|
3174
|
+
? settings.sizes.pickerInput.body.modal.row
|
|
3175
|
+
: (props.size || settings.sizes.pickerInput.body.dropdown.row.default);
|
|
3682
3176
|
};
|
|
3683
3177
|
const getSubtitle = ({ path }, { search }) => {
|
|
3684
3178
|
if (!search)
|
|
@@ -3693,13 +3187,13 @@ function PickerInputComponent({ highlightSearchMatches = true, ...props }, ref)
|
|
|
3693
3187
|
return (React__namespace.default.createElement(PickerItem, { title: getName(item), size: getRowSize(), dataSourceState: dsState, highlightSearchMatches: highlightSearchMatches, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dataSourceState) } : {}), ...rowProps }));
|
|
3694
3188
|
};
|
|
3695
3189
|
const renderRow = (rowProps, dsState) => {
|
|
3696
|
-
return props.renderRow ? (props.renderRow(rowProps, dsState)) : (React__namespace.default.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: getRowSize(), padding: props.editMode === '
|
|
3190
|
+
return props.renderRow ? (props.renderRow(rowProps, dsState)) : (React__namespace.default.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: getRowSize(), padding: (props.editMode === 'modal' ? settings.sizes.pickerInput.body.modal.padding : settings.sizes.pickerInput.body.dropdown.padding), renderItem: (item, itemProps) => renderRowItem(item, itemProps, dsState) }));
|
|
3697
3191
|
};
|
|
3698
3192
|
const renderBody = (bodyProps, rows) => {
|
|
3699
3193
|
const renderedDataRows = rows.map((row) => renderRow(row, dataSourceState));
|
|
3700
|
-
const bodyHeight = uuiCore.isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || settings.pickerInput.
|
|
3701
|
-
const minBodyWidth = props.minBodyWidth || settings.pickerInput.
|
|
3702
|
-
return (React__namespace.default.createElement(PickerBodyMobileView, { title: props.entityName, onClose: () => toggleBodyOpening(false), cx: [props.bodyCx
|
|
3194
|
+
const bodyHeight = uuiCore.isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || settings.sizes.pickerInput.body.dropdown.height;
|
|
3195
|
+
const minBodyWidth = props.minBodyWidth || settings.sizes.pickerInput.body.dropdown.width;
|
|
3196
|
+
return (React__namespace.default.createElement(PickerBodyMobileView, { title: props.entityName, onClose: () => toggleBodyOpening(false), cx: [props.bodyCx], onKeyDown: bodyProps.onKeyDown, width: bodyProps.togglerWidth > minBodyWidth ? bodyProps.togglerWidth : minBodyWidth, focusLock: getSearchPosition() === 'body' },
|
|
3703
3197
|
React__namespace.default.createElement(DataPickerBody, { ...bodyProps, rows: renderedDataRows, maxHeight: bodyHeight, searchSize: props.size, editMode: "dropdown", selectionMode: props.selectionMode }),
|
|
3704
3198
|
renderFooter()));
|
|
3705
3199
|
};
|
|
@@ -3712,9 +3206,9 @@ function PickerInputComponent({ highlightSearchMatches = true, ...props }, ref)
|
|
|
3712
3206
|
}
|
|
3713
3207
|
const PickerInput = /* @__PURE__ */React__namespace.default.forwardRef(PickerInputComponent);
|
|
3714
3208
|
|
|
3715
|
-
var css$A = {"row":"
|
|
3209
|
+
var css$A = {"row":"Wc5NHy"};
|
|
3716
3210
|
|
|
3717
|
-
function
|
|
3211
|
+
function PickerListRow(props) {
|
|
3718
3212
|
let label;
|
|
3719
3213
|
if (props.isLoading) {
|
|
3720
3214
|
label = React__namespace.default.createElement(TextPlaceholder, { wordsCount: 2 });
|
|
@@ -3732,12 +3226,12 @@ function PickerListItem(props) {
|
|
|
3732
3226
|
return (React__namespace.default.createElement("div", { role: "option", "aria-selected": props.isSelectable ? props.isSelected : undefined, "aria-busy": props.isLoading, "aria-posinset": props.index + 1, ...(props.checkbox?.isVisible && { 'aria-checked': props.isChecked }), className: css$A.row }, component));
|
|
3733
3227
|
}
|
|
3734
3228
|
|
|
3735
|
-
var css$z = {"root":"
|
|
3229
|
+
var css$z = {"root":"pWxSdA"};
|
|
3736
3230
|
|
|
3737
3231
|
function PickerList(props) {
|
|
3738
|
-
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems,
|
|
3739
|
-
const
|
|
3740
|
-
return React__namespace.default.createElement(
|
|
3232
|
+
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, getModalTogglerCaption, } = uuiComponents.usePickerList(props);
|
|
3233
|
+
const defaultListRenderRow = (row) => {
|
|
3234
|
+
return React__namespace.default.createElement(PickerListRow, { getName: (item) => getName(item), ...row, key: row.rowKey });
|
|
3741
3235
|
};
|
|
3742
3236
|
const handleShowPicker = () => {
|
|
3743
3237
|
context.uuiModals
|
|
@@ -3754,11 +3248,11 @@ function PickerList(props) {
|
|
|
3754
3248
|
const rows = buildRowsList();
|
|
3755
3249
|
const showPicker = viewProps.totalCount == null || viewProps.totalCount > getMaxDefaultItems();
|
|
3756
3250
|
const renderToggler = props.renderModalToggler || defaultRenderToggler;
|
|
3757
|
-
const renderRow = props.
|
|
3251
|
+
const renderRow = props.renderListRow || defaultListRenderRow;
|
|
3758
3252
|
return (React__namespace.default.createElement("div", { className: cx__default.default('uui-picker-list', css$z.root) },
|
|
3759
3253
|
!rows.length
|
|
3760
3254
|
&& (props.noOptionsMessage || (React__namespace.default.createElement(Text, { color: "secondary", size: props.size }, "No options available"))),
|
|
3761
|
-
rows.map((row) => renderRow({ ...row, isDisabled: props.isDisabled }
|
|
3255
|
+
rows.map((row) => renderRow({ ...row, isDisabled: props.isDisabled })),
|
|
3762
3256
|
showPicker
|
|
3763
3257
|
&& renderToggler({
|
|
3764
3258
|
onClick: handleShowPicker,
|
|
@@ -3767,7 +3261,7 @@ function PickerList(props) {
|
|
|
3767
3261
|
}, selectedRows)));
|
|
3768
3262
|
}
|
|
3769
3263
|
|
|
3770
|
-
var css$y = {"root":"
|
|
3264
|
+
var css$y = {"root":"KPVU9N","wrapper":"PebLR2","align-widgets-top":"W-UlXF","alignWidgetsTop":"W-UlXF","align-widgets-center":"mmz4Ap","alignWidgetsCenter":"mmz4Ap"};
|
|
3771
3265
|
|
|
3772
3266
|
function DataTableCell(initialProps) {
|
|
3773
3267
|
const props = { ...initialProps };
|
|
@@ -3775,48 +3269,48 @@ function DataTableCell(initialProps) {
|
|
|
3775
3269
|
props.addons = React__namespace.createElement(DataRowAddons, { size: props.size, ...props });
|
|
3776
3270
|
}
|
|
3777
3271
|
props.renderPlaceholder = props.renderPlaceholder
|
|
3778
|
-
|| (() => (React__namespace.createElement(Text, { key: "t", size: props.size },
|
|
3272
|
+
|| (() => (React__namespace.createElement(Text, { key: "t", size: settings.sizes.dataTable.body.row.cell.text[props.size] },
|
|
3779
3273
|
React__namespace.createElement(TextPlaceholder, { isNotAnimated: true }))));
|
|
3780
3274
|
props.renderUnknown = props.renderUnknown
|
|
3781
|
-
|| (() => (React__namespace.createElement(Text, { key: "t", size: props.size }, "Unknown")));
|
|
3275
|
+
|| (() => (React__namespace.createElement(Text, { key: "t", size: settings.sizes.dataTable.body.row.cell.text[props.size] }, "Unknown")));
|
|
3782
3276
|
props.renderTooltip = (tooltipProps) => React__namespace.createElement(Tooltip, { color: "critical", ...tooltipProps });
|
|
3783
3277
|
const isEditable = !!props.onValueChange;
|
|
3784
3278
|
const getLeftPadding = () => {
|
|
3785
3279
|
const { rowProps: { isLoading }, columnsGap, isFirstColumn } = props;
|
|
3786
3280
|
if (isFirstColumn && isEditable && !isLoading)
|
|
3787
|
-
return
|
|
3281
|
+
return settings.sizes.dataTable.body.row.cell.defaults.padding;
|
|
3788
3282
|
if (isEditable && !isLoading)
|
|
3789
|
-
return '
|
|
3283
|
+
return '0';
|
|
3790
3284
|
if (columnsGap)
|
|
3791
|
-
return isFirstColumn ?
|
|
3792
|
-
return
|
|
3285
|
+
return isFirstColumn ? columnsGap : +columnsGap / 2;
|
|
3286
|
+
return isFirstColumn ? settings.sizes.dataTable.body.row.cell.defaults.paddingEdge : settings.sizes.dataTable.body.row.cell.defaults.padding;
|
|
3793
3287
|
};
|
|
3794
3288
|
const getRightPadding = () => {
|
|
3795
3289
|
const { rowProps: { isLoading }, columnsGap, isLastColumn } = props;
|
|
3796
3290
|
if (isEditable && !isLoading)
|
|
3797
|
-
return '
|
|
3291
|
+
return '0';
|
|
3798
3292
|
if (columnsGap)
|
|
3799
|
-
return isLastColumn ?
|
|
3800
|
-
return
|
|
3293
|
+
return isLastColumn ? columnsGap : +columnsGap / 2;
|
|
3294
|
+
return isLastColumn ? settings.sizes.dataTable.body.row.cell.defaults.paddingEdge : settings.sizes.dataTable.body.row.cell.defaults.padding;
|
|
3801
3295
|
};
|
|
3802
3296
|
props.cx = [
|
|
3803
3297
|
'data-table-cell',
|
|
3804
3298
|
css$y.root,
|
|
3805
3299
|
props.cx,
|
|
3806
|
-
'uui-size-' + (props.size || settings.dataTable.
|
|
3300
|
+
'uui-size-' + (props.size || settings.sizes.dataTable.body.row.cell.defaults.size),
|
|
3807
3301
|
props.isFirstColumn && 'uui-dt-first-column',
|
|
3808
3302
|
props.isLastColumn && 'uui-dt-last-column',
|
|
3809
3303
|
css$y[`align-widgets-${props.alignActions || 'top'}`],
|
|
3810
3304
|
(props.border || isEditable) && 'uui-dt-vertical-cell-border',
|
|
3811
3305
|
];
|
|
3812
3306
|
props.style = {
|
|
3813
|
-
'--uui-dt-cell-padding-start': getLeftPadding()
|
|
3814
|
-
'--uui-dt-cell-padding-end': getRightPadding()
|
|
3307
|
+
'--uui-dt-cell-padding-start': `${getLeftPadding()}px`,
|
|
3308
|
+
'--uui-dt-cell-padding-end': `${getRightPadding()}px`,
|
|
3815
3309
|
};
|
|
3816
3310
|
return React__namespace.createElement(uuiComponents.DataTableCell, { ...props });
|
|
3817
3311
|
}
|
|
3818
3312
|
|
|
3819
|
-
var css$x = {"root":"
|
|
3313
|
+
var css$x = {"root":"xQrb9K"};
|
|
3820
3314
|
|
|
3821
3315
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3822
3316
|
// 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.
|
|
@@ -3828,18 +3322,48 @@ const renderDropMarkers = ({ ref, ...props }) => React__namespace.createElement(
|
|
|
3828
3322
|
const propsMods = { renderCell, renderDropMarkers };
|
|
3829
3323
|
const DataTableRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableRow, ({ borderBottom = true, size }) => {
|
|
3830
3324
|
return [
|
|
3831
|
-
css$x.root, 'uui-dt-vars', borderBottom && 'uui-dt-row-border', `uui-size-${size || settings.dataTable.
|
|
3325
|
+
css$x.root, 'uui-dt-vars', borderBottom && 'uui-dt-row-border', `uui-size-${size || settings.sizes.dataTable.body.row.default}`,
|
|
3832
3326
|
];
|
|
3833
3327
|
}, () => propsMods);
|
|
3834
3328
|
|
|
3835
|
-
var css$w = {"sorting-panel-container":"
|
|
3329
|
+
var css$w = {"sorting-panel-container":"_1eDK5T","sortingPanelContainer":"_1eDK5T"};
|
|
3330
|
+
|
|
3331
|
+
var _path$q;
|
|
3332
|
+
function _extends$q() { return _extends$q = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$q.apply(null, arguments); }
|
|
3333
|
+
var SvgTableSortAscOutline = function SvgTableSortAscOutline(props, ref) {
|
|
3334
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
|
|
3335
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3336
|
+
width: 24,
|
|
3337
|
+
height: 24,
|
|
3338
|
+
viewBox: "0 0 24 24",
|
|
3339
|
+
ref: ref
|
|
3340
|
+
}, props), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3341
|
+
d: "M11 21V6.825L9.4 8.4 8 7l4-4 4 4-1.4 1.4L13 6.825V21h-2z"
|
|
3342
|
+
})));
|
|
3343
|
+
};
|
|
3344
|
+
var ForwardRef$q = /*#__PURE__*/React.forwardRef(SvgTableSortAscOutline);
|
|
3345
|
+
|
|
3346
|
+
var _path$p;
|
|
3347
|
+
function _extends$p() { return _extends$p = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$p.apply(null, arguments); }
|
|
3348
|
+
var SvgTableSortDescOutline = function SvgTableSortDescOutline(props, ref) {
|
|
3349
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
|
|
3350
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3351
|
+
width: 24,
|
|
3352
|
+
height: 24,
|
|
3353
|
+
viewBox: "0 0 24 24",
|
|
3354
|
+
ref: ref
|
|
3355
|
+
}, props), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3356
|
+
d: "M13 3v14.175l1.6-1.575L16 17l-4 4-4-4 1.4-1.4 1.6 1.575V3h2z"
|
|
3357
|
+
})));
|
|
3358
|
+
};
|
|
3359
|
+
var ForwardRef$p = /*#__PURE__*/React.forwardRef(SvgTableSortDescOutline);
|
|
3836
3360
|
|
|
3837
3361
|
const SortingPanelImpl = ({ sortDirection, onSort }) => {
|
|
3838
3362
|
const sortAsc = React.useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
|
|
3839
3363
|
const sortDesc = React.useCallback(() => onSort(sortDirection === 'desc' ? undefined : 'desc'), [onSort]);
|
|
3840
3364
|
return (React__namespace.default.createElement(FlexCell, { cx: uuiCore.cx(css$w.sortingPanelContainer, 'uui-dropdownMenu-body') },
|
|
3841
|
-
React__namespace.default.createElement(DropdownMenuButton, { isActive: sortDirection === 'asc', caption: i18n.pickerFilterHeader.sortAscending, icon:
|
|
3842
|
-
React__namespace.default.createElement(DropdownMenuButton, { isActive: sortDirection === 'desc', caption: i18n.pickerFilterHeader.sortDescending, icon:
|
|
3365
|
+
React__namespace.default.createElement(DropdownMenuButton, { isActive: sortDirection === 'asc', caption: i18n.pickerFilterHeader.sortAscending, icon: ForwardRef$q, onClick: sortAsc }),
|
|
3366
|
+
React__namespace.default.createElement(DropdownMenuButton, { isActive: sortDirection === 'desc', caption: i18n.pickerFilterHeader.sortDescending, icon: ForwardRef$p, onClick: sortDesc })));
|
|
3843
3367
|
};
|
|
3844
3368
|
const SortingPanel = /* @__PURE__ */React__namespace.default.memo(SortingPanelImpl);
|
|
3845
3369
|
|
|
@@ -3857,7 +3381,82 @@ const ColumnHeaderDropdownImpl = (props) => {
|
|
|
3857
3381
|
};
|
|
3858
3382
|
const ColumnHeaderDropdown = /* @__PURE__ */React__namespace.default.memo(ColumnHeaderDropdownImpl);
|
|
3859
3383
|
|
|
3860
|
-
var
|
|
3384
|
+
var _path$o;
|
|
3385
|
+
function _extends$o() { return _extends$o = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$o.apply(null, arguments); }
|
|
3386
|
+
var SvgTableSwapOutline = function SvgTableSwapOutline(props, ref) {
|
|
3387
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
|
|
3388
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3389
|
+
width: 24,
|
|
3390
|
+
height: 24,
|
|
3391
|
+
viewBox: "0 0 24 24",
|
|
3392
|
+
ref: ref
|
|
3393
|
+
}, props), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3394
|
+
d: "M7 6.825V20h2V6.825L10.6 8.4 12 7 8 3 4 7l1.4 1.4L7 6.825zm10 10.35V4h-2v13.175L13.4 15.6 12 17l4 4 4-4-1.4-1.4-1.6 1.575z"
|
|
3395
|
+
})));
|
|
3396
|
+
};
|
|
3397
|
+
var ForwardRef$o = /*#__PURE__*/React.forwardRef(SvgTableSwapOutline);
|
|
3398
|
+
|
|
3399
|
+
var _path$n;
|
|
3400
|
+
function _extends$n() { return _extends$n = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$n.apply(null, arguments); }
|
|
3401
|
+
var SvgContentFiltrationFill = function SvgContentFiltrationFill(props, ref) {
|
|
3402
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
|
|
3403
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3404
|
+
width: 24,
|
|
3405
|
+
height: 24,
|
|
3406
|
+
viewBox: "0 0 24 24",
|
|
3407
|
+
ref: ref
|
|
3408
|
+
}, props), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3409
|
+
d: "M14 13v8l-4-2v-6L2.95 4h18.1L14 13z"
|
|
3410
|
+
})));
|
|
3411
|
+
};
|
|
3412
|
+
var ForwardRef$n = /*#__PURE__*/React.forwardRef(SvgContentFiltrationFill);
|
|
3413
|
+
|
|
3414
|
+
var _path$m;
|
|
3415
|
+
function _extends$m() { return _extends$m = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$m.apply(null, arguments); }
|
|
3416
|
+
var SvgNavigationChevronUpOutline = function SvgNavigationChevronUpOutline(props, ref) {
|
|
3417
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
|
|
3418
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3419
|
+
width: 24,
|
|
3420
|
+
height: 24,
|
|
3421
|
+
viewBox: "0 0 24 24",
|
|
3422
|
+
ref: ref
|
|
3423
|
+
}, props), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3424
|
+
d: "M18.586 15.914 20 14.5l-8-8-8 8 1.414 1.414L12 9.328l6.586 6.586z"
|
|
3425
|
+
})));
|
|
3426
|
+
};
|
|
3427
|
+
var ForwardRef$m = /*#__PURE__*/React.forwardRef(SvgNavigationChevronUpOutline);
|
|
3428
|
+
|
|
3429
|
+
var _path$l;
|
|
3430
|
+
function _extends$l() { return _extends$l = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$l.apply(null, arguments); }
|
|
3431
|
+
var SvgNavigationCollapseAllOutline = function SvgNavigationCollapseAllOutline(props, ref) {
|
|
3432
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
|
|
3433
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3434
|
+
width: 24,
|
|
3435
|
+
height: 24,
|
|
3436
|
+
viewBox: "0 0 24 24",
|
|
3437
|
+
ref: ref
|
|
3438
|
+
}, props), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3439
|
+
d: "M16.5 4.414 15.086 3 12 6.086 8.914 3 7.5 4.414l4.5 4.5 4.5-4.5zM9 13v-2h6v2H9zm6.086 8 1.414-1.414-4.5-4.5-4.5 4.5L8.914 21 12 17.914 15.086 21z"
|
|
3440
|
+
})));
|
|
3441
|
+
};
|
|
3442
|
+
var ForwardRef$l = /*#__PURE__*/React.forwardRef(SvgNavigationCollapseAllOutline);
|
|
3443
|
+
|
|
3444
|
+
var _path$k;
|
|
3445
|
+
function _extends$k() { return _extends$k = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$k.apply(null, arguments); }
|
|
3446
|
+
var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props, ref) {
|
|
3447
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
|
|
3448
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3449
|
+
width: 24,
|
|
3450
|
+
height: 24,
|
|
3451
|
+
viewBox: "0 0 24 24",
|
|
3452
|
+
ref: ref
|
|
3453
|
+
}, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3454
|
+
d: "m16.5 7.5-1.414 1.414L12 5.828 8.914 8.914 7.5 7.5 12 3l4.5 4.5zM9 13v-2h6v2H9zm6.086 2.086L16.5 16.5 12 21l-4.5-4.5 1.414-1.414L12 18.17l3.086-3.085z"
|
|
3455
|
+
})));
|
|
3456
|
+
};
|
|
3457
|
+
var ForwardRef$k = /*#__PURE__*/React.forwardRef(SvgNavigationExpandAllOutline);
|
|
3458
|
+
|
|
3459
|
+
var css$v = {"root":"-qPWIf","caption-wrapper":"zWxjT8","captionWrapper":"zWxjT8","sort-icon":"iTW1hy","sortIcon":"iTW1hy","dropdown-icon":"pU4nuA","dropdownIcon":"pU4nuA","infoIcon":"_8UofpF","resizable":"_5NAwqM","align-right":"sL9EB9","alignRight":"sL9EB9","align-center":"K54Ke2","alignCenter":"K54Ke2","caption":"e93oo1","truncate":"uGFkY-","checkbox":"sG17hV","icon":"VOxXr3","fold-all-icon":"rMxdCO","foldAllIcon":"rMxdCO","cell-tooltip":"zRIOT5","cellTooltip":"zRIOT5","upper-case":"Rfkegk","upperCase":"Rfkegk","resizing-marker":"wk4UxN","resizingMarker":"wk4UxN","pinned-right":"_02pqhV","pinnedRight":"_02pqhV","draggable":"S-r-Rm","ghost":"hGlhps","is-dragged-out":"ORCRTM","isDraggedOut":"ORCRTM","dnd-marker-left":"pcKSRm","dndMarkerLeft":"pcKSRm","dnd-marker-right":"_6sX2H2","dndMarkerRight":"_6sX2H2","cell-tooltip-wrapper":"BiQsVh","cellTooltipWrapper":"BiQsVh","cell-tooltip-text":"jBE0jn","cellTooltipText":"jBE0jn","tooltip-caption":"nuPmjF","tooltipCaption":"nuPmjF","tooltip-info":"FpzGDH","tooltipInfo":"FpzGDH"};
|
|
3861
3460
|
|
|
3862
3461
|
class DataTableHeaderCell extends React__namespace.Component {
|
|
3863
3462
|
constructor() {
|
|
@@ -3870,23 +3469,22 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
3870
3469
|
column.info && (React__namespace.createElement(Text, { cx: [css$v.cellTooltipText, css$v.tooltipInfo] }, column.info))));
|
|
3871
3470
|
this.getColumnCaption = () => {
|
|
3872
3471
|
const renderTooltip = this.props.column.renderTooltip || this.getTooltipContent;
|
|
3873
|
-
const captionCx =
|
|
3472
|
+
const captionCx = [
|
|
3874
3473
|
css$v.caption,
|
|
3875
3474
|
this.props.textCase === 'upper' && css$v.upperCase,
|
|
3876
3475
|
uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCaption,
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
]);
|
|
3476
|
+
settings.sizes.dataTable.header.row.cell.truncate.includes(this.props.size) && css$v.truncate,
|
|
3477
|
+
];
|
|
3880
3478
|
return (React__namespace.createElement("div", { className: uuiCore.cx(css$v.captionWrapper, css$v['align-' + this.props.column.textAlign], uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCaptionWrapper) },
|
|
3881
3479
|
React__namespace.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.column), cx: css$v.cellTooltip, openDelay: 600 },
|
|
3882
|
-
React__namespace.createElement(
|
|
3883
|
-
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React__namespace.createElement(IconButton, { key: "sort", cx: uuiCore.cx(css$v.icon, css$v.sortIcon, this.props.sortDirection && css$v.sortIconActive, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'neutral' : 'secondary', icon:
|
|
3884
|
-
this.props.isFilterActive && (React__namespace.createElement(IconButton, { key: "filter", cx: uuiCore.cx(css$v.icon, !this.props.sortDirection && css$v.filterIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "neutral", icon:
|
|
3885
|
-
this.props.column.renderFilter && (React__namespace.createElement(IconButton, { key: "dropdown", cx: uuiCore.cx(css$v.icon, css$v.dropdownIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon:
|
|
3480
|
+
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)),
|
|
3481
|
+
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React__namespace.createElement(IconButton, { key: "sort", cx: uuiCore.cx(css$v.icon, css$v.sortIcon, this.props.sortDirection && css$v.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 })),
|
|
3482
|
+
this.props.isFilterActive && (React__namespace.createElement(IconButton, { key: "filter", cx: uuiCore.cx(css$v.icon, !this.props.sortDirection && css$v.filterIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "neutral", icon: ForwardRef$n })),
|
|
3483
|
+
this.props.column.renderFilter && (React__namespace.createElement(IconButton, { key: "dropdown", cx: uuiCore.cx(css$v.icon, css$v.dropdownIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon: this.state.isDropdownOpen ? ForwardRef$m : ForwardRef$Q }))));
|
|
3886
3484
|
};
|
|
3887
3485
|
this.renderHeaderCheckbox = () => {
|
|
3888
3486
|
if (this.props.selectAll && this.props.isFirstColumn) {
|
|
3889
|
-
return (React__namespace.createElement(Checkbox, { size: settings.dataTable.
|
|
3487
|
+
return (React__namespace.createElement(Checkbox, { size: settings.sizes.dataTable.header.row.cell.checkbox[this.props.size], ...this.props.selectAll, cx: uuiCore.cx(css$v.checkbox, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCheckbox) }));
|
|
3890
3488
|
}
|
|
3891
3489
|
};
|
|
3892
3490
|
this.renderFoldAllIcon = () => {
|
|
@@ -3894,7 +3492,7 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
3894
3492
|
return (React__namespace.createElement(Tooltip, { content: this.props.areAllFolded
|
|
3895
3493
|
? i18n.tables.columnHeader.expandAllTooltip
|
|
3896
3494
|
: i18n.tables.columnHeader.collapseAllTooltip },
|
|
3897
|
-
React__namespace.createElement(IconButton, { color: "secondary", cx: uuiCore.cx(css$v.icon, css$v.foldAllIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderFoldAllIcon), icon:
|
|
3495
|
+
React__namespace.createElement(IconButton, { color: "secondary", cx: uuiCore.cx(css$v.icon, css$v.foldAllIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderFoldAllIcon), icon: this.props.areAllFolded ? ForwardRef$k : ForwardRef$l, onClick: this.props.onFoldAll, rawProps: {
|
|
3898
3496
|
'aria-label': this.props.areAllFolded ? 'Expand All' : 'Collapse All',
|
|
3899
3497
|
'aria-expanded': !!this.props.areAllFolded,
|
|
3900
3498
|
} })));
|
|
@@ -3906,32 +3504,32 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
3906
3504
|
this.getLeftPadding = () => {
|
|
3907
3505
|
const { columnsGap, isFirstColumn } = this.props;
|
|
3908
3506
|
if (columnsGap)
|
|
3909
|
-
return isFirstColumn ?
|
|
3910
|
-
return
|
|
3507
|
+
return isFirstColumn ? columnsGap : +columnsGap / 2;
|
|
3508
|
+
return isFirstColumn ? settings.sizes.dataTable.header.row.cell.defaults.paddingEdge : settings.sizes.dataTable.header.row.cell.defaults.padding;
|
|
3911
3509
|
};
|
|
3912
3510
|
this.getRightPadding = () => {
|
|
3913
3511
|
const { columnsGap, isLastColumn } = this.props;
|
|
3914
3512
|
if (columnsGap)
|
|
3915
|
-
return isLastColumn ?
|
|
3916
|
-
return
|
|
3513
|
+
return isLastColumn ? columnsGap : +columnsGap / 2;
|
|
3514
|
+
return isLastColumn ? settings.sizes.dataTable.header.row.cell.defaults.paddingEdge : settings.sizes.dataTable.header.row.cell.defaults.padding;
|
|
3917
3515
|
};
|
|
3918
3516
|
this.getResizingMarkerWidth = () => {
|
|
3919
3517
|
const { columnsGap } = this.props;
|
|
3920
|
-
return columnsGap ?
|
|
3518
|
+
return columnsGap ? +columnsGap / 2 : settings.sizes.dataTable.header.row.cell.defaults.resizeMarker;
|
|
3921
3519
|
};
|
|
3922
3520
|
this.renderCellContent = (props, dropdownProps) => {
|
|
3923
3521
|
const isResizable = this.props.column.allowResizing ?? this.props.allowColumnsResizing;
|
|
3924
3522
|
const onClickEvent = !props.isResizing && (!this.props.column.renderFilter ? props.toggleSort : dropdownProps?.onClick);
|
|
3925
3523
|
const computeStyles = {
|
|
3926
|
-
'--uui-dt-header-cell-icon-size': `${settings.dataTable.
|
|
3927
|
-
'--uui-dt-header-cell-padding-start': this.getLeftPadding()
|
|
3928
|
-
'--uui-dt-header-cell-padding-end': this.getRightPadding()
|
|
3929
|
-
'--uui-dt-header-cell-resizing-marker-width': this.getResizingMarkerWidth()
|
|
3524
|
+
'--uui-dt-header-cell-icon-size': `${settings.sizes.dataTable.header.row.cell.iconSize[this.props.size || settings.sizes.dataTable.header.row.cell.defaults.size]}px`,
|
|
3525
|
+
'--uui-dt-header-cell-padding-start': `${this.getLeftPadding()}px`,
|
|
3526
|
+
'--uui-dt-header-cell-padding-end': `${this.getRightPadding()}px`,
|
|
3527
|
+
'--uui-dt-header-cell-resizing-marker-width': `${this.getResizingMarkerWidth()}px`,
|
|
3930
3528
|
};
|
|
3931
3529
|
return (React__namespace.createElement(uuiComponents.DataTableCellContainer, { column: this.props.column, ref: (ref) => {
|
|
3932
3530
|
props.ref(ref);
|
|
3933
3531
|
dropdownProps?.ref?.(ref);
|
|
3934
|
-
}, cx: uuiCore.cx(uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCell, (this.props.column.isSortable || this.props.isDropdown) && uuiCore.uuiMarkers.clickable, css$v.root, `uui-size-${this.props.size || settings.dataTable.
|
|
3532
|
+
}, cx: uuiCore.cx(uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCell, (this.props.column.isSortable || this.props.isDropdown) && uuiCore.uuiMarkers.clickable, css$v.root, `uui-size-${this.props.size || settings.sizes.dataTable.header.row.cell.defaults.size}`, this.props.isFirstColumn && 'uui-dt-header-first-column', this.props.isLastColumn && 'uui-dt-header-last-column', this.props.column.fix && css$v['pinned-' + this.props.column.fix], isResizable && css$v.resizable, props.isDraggable && css$v.draggable, props.isDragGhost && css$v.ghost, props.isDraggedOut && css$v.isDraggedOut, props.isDndInProgress && css$v['dnd-marker-' + props.position]), onClick: onClickEvent, rawProps: {
|
|
3935
3533
|
role: 'columnheader',
|
|
3936
3534
|
'aria-sort': this.props.sortDirection === 'asc' ? 'ascending' : this.props.sortDirection ? 'descending' : 'none',
|
|
3937
3535
|
...props.eventHandlers,
|
|
@@ -3951,32 +3549,66 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
3951
3549
|
}
|
|
3952
3550
|
}
|
|
3953
3551
|
|
|
3954
|
-
var
|
|
3552
|
+
var _path$j;
|
|
3553
|
+
function _extends$j() { return _extends$j = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$j.apply(null, arguments); }
|
|
3554
|
+
var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
3555
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
|
|
3556
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3557
|
+
width: 24,
|
|
3558
|
+
height: 24,
|
|
3559
|
+
viewBox: "0 0 24 24",
|
|
3560
|
+
ref: ref
|
|
3561
|
+
}, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3562
|
+
d: "m9.25 22-.4-3.2a3.771 3.771 0 0 1-.612-.3 8.194 8.194 0 0 1-.563-.375L4.7 19.375l-2.75-4.75 2.575-1.95a2.39 2.39 0 0 1-.025-.338v-.675c0-.108.009-.22.025-.337L1.95 9.375l2.75-4.75 2.975 1.25c.184-.133.375-.258.575-.375.2-.117.4-.217.6-.3l.4-3.2h5.5l.4 3.2c.217.083.421.183.613.3.191.117.379.242.562.375l2.975-1.25 2.75 4.75-2.575 1.95c.017.117.025.229.025.337v.675c0 .109-.017.221-.05.338l2.575 1.95-2.75 4.75-2.95-1.25a6.826 6.826 0 0 1-.575.375c-.2.117-.4.217-.6.3l-.4 3.2h-5.5zm2.8-6.5c.967 0 1.792-.342 2.475-1.025A3.372 3.372 0 0 0 15.55 12c0-.967-.341-1.792-1.025-2.475A3.372 3.372 0 0 0 12.05 8.5c-.983 0-1.813.342-2.488 1.025A3.394 3.394 0 0 0 8.55 12c0 .967.338 1.792 1.012 2.475.676.683 1.505 1.025 2.488 1.025z"
|
|
3563
|
+
})));
|
|
3564
|
+
};
|
|
3565
|
+
var ForwardRef$j = /*#__PURE__*/React.forwardRef(SvgActionSettingsFill);
|
|
3566
|
+
|
|
3567
|
+
var css$u = {"root":"j8INbi"};
|
|
3568
|
+
|
|
3569
|
+
var css$t = {"root":"JXPagk","caption-wrapper":"Nj7-uX","captionWrapper":"Nj7-uX","align-center":"_0f5-tV","alignCenter":"_0f5-tV","caption":"Nthg7g","truncate":"aQwD9s","group-cell-tooltip":"eGuSTX","groupCellTooltip":"eGuSTX","upper-case":"IIZQsl","upperCase":"IIZQsl","group-cell-tooltip-wrapper":"yzjufS","groupCellTooltipWrapper":"yzjufS","group-cell-tooltip-text":"Kfu1rh","groupCellTooltipText":"Kfu1rh","tooltip-caption":"rWKM7y","tooltipCaption":"rWKM7y","tooltip-info":"JtC1YE","tooltipInfo":"JtC1YE"};
|
|
3955
3570
|
|
|
3956
3571
|
class DataTableHeaderGroupCell extends React__namespace.Component {
|
|
3957
3572
|
constructor() {
|
|
3958
3573
|
super(...arguments);
|
|
3959
|
-
this.getTooltipContent = (column) => (React__namespace.createElement("div", { className: uuiCore.cx(css$
|
|
3960
|
-
React__namespace.createElement(Text, { cx: [css$
|
|
3961
|
-
column.info && (React__namespace.createElement(Text, { cx: [css$
|
|
3574
|
+
this.getTooltipContent = (column) => (React__namespace.createElement("div", { className: uuiCore.cx(css$t.groupCellTooltipWrapper, uuiCore.uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCaptionTooltip) },
|
|
3575
|
+
React__namespace.createElement(Text, { cx: [css$t.groupCellTooltipText, css$t.tooltipCaption] }, column.caption),
|
|
3576
|
+
column.info && (React__namespace.createElement(Text, { cx: [css$t.groupCellTooltipText, css$t.tooltipInfo] }, column.info))));
|
|
3962
3577
|
this.getColumnCaption = () => {
|
|
3963
3578
|
const renderTooltip = this.props.group.renderTooltip || this.getTooltipContent;
|
|
3964
|
-
const captionCx =
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3579
|
+
const captionCx = [
|
|
3580
|
+
css$t.caption,
|
|
3581
|
+
this.props.textCase === 'upper' && css$t.upperCase,
|
|
3582
|
+
uuiCore.uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCaption,
|
|
3583
|
+
settings.sizes.dataTable.header.row.groupCell.truncate.includes(this.props.size) && css$t.truncate,
|
|
3584
|
+
];
|
|
3585
|
+
return (React__namespace.createElement("div", { className: uuiCore.cx(css$t.captionWrapper, css$t['align-' + this.props.group.textAlign], uuiCore.uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCaptionWrapper) },
|
|
3586
|
+
React__namespace.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.group), cx: css$t.groupCellTooltip, openDelay: 600 },
|
|
3587
|
+
React__namespace.createElement(Text, { key: "text", fontSize: settings.sizes.dataTable.header.row.groupCell.columnCaption[this.props.textCase === 'upper' ? 'uppercase' : 'fontSize'], size: settings.sizes.dataTable.header.row.groupCell.columnCaption.size, cx: captionCx }, this.props.group.caption))));
|
|
3968
3588
|
};
|
|
3969
3589
|
this.getLeftPadding = () => {
|
|
3970
3590
|
const { columnsGap, isFirstCell } = this.props;
|
|
3971
3591
|
if (columnsGap)
|
|
3972
|
-
return isFirstCell ?
|
|
3973
|
-
return
|
|
3592
|
+
return isFirstCell ? columnsGap : +columnsGap / 2;
|
|
3593
|
+
return isFirstCell ? settings.sizes.dataTable.header.row.groupCell.defaults.paddingEdge : settings.sizes.dataTable.header.row.groupCell.defaults.padding;
|
|
3974
3594
|
};
|
|
3975
3595
|
this.getRightPadding = () => {
|
|
3976
3596
|
const { columnsGap, isLastCell } = this.props;
|
|
3977
3597
|
if (columnsGap)
|
|
3978
|
-
return isLastCell ?
|
|
3979
|
-
return
|
|
3598
|
+
return isLastCell ? columnsGap : +columnsGap / 2;
|
|
3599
|
+
return isLastCell ? settings.sizes.dataTable.header.row.groupCell.defaults.paddingEdge : settings.sizes.dataTable.header.row.groupCell.defaults.padding;
|
|
3600
|
+
};
|
|
3601
|
+
this.renderCellContent = (props) => {
|
|
3602
|
+
const computeStyles = {
|
|
3603
|
+
'--uui-dt-header-group-cell-padding-start': `${this.getLeftPadding()}px`,
|
|
3604
|
+
'--uui-dt-header-group-cell-padding-end': `${this.getRightPadding()}px`,
|
|
3605
|
+
};
|
|
3606
|
+
return (React__namespace.createElement(uuiComponents.DataTableCellContainer, { column: this.props.group, ref: (ref) => {
|
|
3607
|
+
props.ref(ref);
|
|
3608
|
+
}, cx: uuiCore.cx(uuiCore.uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCell, css$t.root, `uui-size-${this.props.size || settings.sizes.dataTable.header.row.groupCell.defaults.size}`, this.props.isFirstCell && 'uui-dt-header-first-column', this.props.isLastCell && 'uui-dt-header-last-column'), rawProps: {
|
|
3609
|
+
role: 'columnheader',
|
|
3610
|
+
...props.eventHandlers,
|
|
3611
|
+
}, style: computeStyles }, this.getColumnCaption()));
|
|
3980
3612
|
};
|
|
3981
3613
|
}
|
|
3982
3614
|
render() {
|
|
@@ -3984,19 +3616,17 @@ class DataTableHeaderGroupCell extends React__namespace.Component {
|
|
|
3984
3616
|
return this.props.group.renderHeaderCell(this.props);
|
|
3985
3617
|
}
|
|
3986
3618
|
const computeStyles = {
|
|
3987
|
-
'--uui-dt-header-group-cell-padding-start': this.getLeftPadding()
|
|
3988
|
-
'--uui-dt-header-group-cell-padding-end': this.getRightPadding()
|
|
3619
|
+
'--uui-dt-header-group-cell-padding-start': `${this.getLeftPadding()}px`,
|
|
3620
|
+
'--uui-dt-header-group-cell-padding-end': `${this.getRightPadding()}px`,
|
|
3989
3621
|
};
|
|
3990
|
-
return (React__namespace.createElement(uuiComponents.DataTableCellContainer, { column: this.props.group, cx: uuiCore.cx(uuiCore.uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCell, css$
|
|
3622
|
+
return (React__namespace.createElement(uuiComponents.DataTableCellContainer, { column: this.props.group, cx: uuiCore.cx(uuiCore.uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCell, css$t.root, `uui-size-${this.props.size || settings.sizes.dataTable.header.row.groupCell.defaults.size}`, this.props.isFirstCell && 'uui-dt-header-first-column', this.props.isLastCell && 'uui-dt-header-last-column'), rawProps: { role: 'columnheader' }, style: computeStyles }, this.getColumnCaption()));
|
|
3991
3623
|
}
|
|
3992
3624
|
}
|
|
3993
3625
|
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
const DataTableHeaderRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableHeaderRow, () => [css$t.root, 'uui-dt-vars'], (mods) => ({
|
|
3626
|
+
const DataTableHeaderRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableHeaderRow, () => [css$u.root, 'uui-dt-vars'], (mods) => ({
|
|
3997
3627
|
renderCell: (props) => (React__namespace.createElement(DataTableHeaderCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
|
|
3998
3628
|
renderGroupCell: (props) => (React__namespace.createElement(DataTableHeaderGroupCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.key, columnsGap: mods.columnsGap })),
|
|
3999
|
-
renderConfigButton: () => (React__namespace.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: ['config-icon', `uui-size-${settings.dataTable.
|
|
3629
|
+
renderConfigButton: () => (React__namespace.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: ['config-icon', `uui-size-${settings.sizes.dataTable.header.row.cell.iconSize[mods.size || settings.sizes.dataTable.header.row.default]}`], color: "neutral", icon: ForwardRef$j })),
|
|
4000
3630
|
}));
|
|
4001
3631
|
|
|
4002
3632
|
const UUI_FILTERS_PANEL_ADD_BUTTON = 'uui-filters-panel-add-button';
|
|
@@ -4004,14 +3634,15 @@ const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
|
4004
3634
|
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
4005
3635
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
4006
3636
|
|
|
4007
|
-
var css$s = {"root":"
|
|
3637
|
+
var css$s = {"root":"uYvCRM","title-wrapper":"eHTSDd","titleWrapper":"eHTSDd","title":"_3wpWsB","text-wrapper":"ZmZzWj","textWrapper":"ZmZzWj","selection":"_4M016R","postfix":"_06NoXz","selected":"gFn5NU"};
|
|
4008
3638
|
|
|
3639
|
+
const defaultSize = '36';
|
|
4009
3640
|
const FilterPanelItemToggler = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
4010
3641
|
const togglerPickerOpened = (e) => {
|
|
4011
3642
|
if (props.isDisabled)
|
|
4012
3643
|
return;
|
|
4013
3644
|
e.preventDefault();
|
|
4014
|
-
|
|
3645
|
+
props.onClick?.();
|
|
4015
3646
|
};
|
|
4016
3647
|
const onKeyDownHandler = (e) => {
|
|
4017
3648
|
if (props.isDisabled)
|
|
@@ -4029,13 +3660,18 @@ const FilterPanelItemToggler = /* @__PURE__ */React__namespace.forwardRef((props
|
|
|
4029
3660
|
const getSelectionText = () => props.selection.map((i, index) => (React__namespace.createElement(React__namespace.Fragment, { key: `${i}${index}` },
|
|
4030
3661
|
React__namespace.createElement(Text, { color: "primary", size: props.size, cx: css$s.selection }, i),
|
|
4031
3662
|
(props.postfix || index !== props.selection.length - 1) && React__namespace.createElement("span", null, ",\u00A0"))));
|
|
4032
|
-
return (React__namespace.createElement(
|
|
4033
|
-
|
|
3663
|
+
return (React__namespace.createElement(uuiComponents.FlexRow, { ...props, rawProps: {
|
|
3664
|
+
style: { maxWidth: `${props.maxWidth ? props.maxWidth + 'px' : 'auto'}` },
|
|
3665
|
+
role: 'button',
|
|
3666
|
+
tabIndex: props.isDisabled ? -1 : 0,
|
|
3667
|
+
onKeyDown: onKeyDownHandler,
|
|
3668
|
+
}, cx: cx__default.default(UUI_FILTERS_PANEL_ITEM_TOGGLER, css$s.root, uuiCore.uuiElement.inputBox, uuiCore.uuiMarkers.clickable, props.isOpen && uuiCore.uuiMod.opened, `uui-size-${props.size || defaultSize}`, props.cx), onClick: togglerPickerOpened, ref: ref },
|
|
3669
|
+
React__namespace.createElement(uuiComponents.FlexRow, { cx: css$s.titleWrapper },
|
|
4034
3670
|
React__namespace.createElement(Text, { size: props.size, cx: css$s.title }, getTitle),
|
|
4035
3671
|
props.selection && (React__namespace.createElement("div", { className: css$s.textWrapper },
|
|
4036
3672
|
getSelectionText(),
|
|
4037
3673
|
props.postfix && (React__namespace.createElement(Text, { color: "primary", size: props.size, cx: css$s.postfix }, props.postfix))))),
|
|
4038
|
-
!props.isDisabled && React__namespace.createElement(uuiComponents.IconContainer, { icon:
|
|
3674
|
+
!props.isDisabled && React__namespace.createElement(uuiComponents.IconContainer, { icon: systemIcons.foldingArrow, flipY: props.isOpen, cx: "uui-icon-dropdown" })));
|
|
4039
3675
|
});
|
|
4040
3676
|
|
|
4041
3677
|
const pickerHeight = 300;
|
|
@@ -4062,7 +3698,7 @@ function FilterPickerBody({ highlightSearchMatches = true, ...restProps }) {
|
|
|
4062
3698
|
};
|
|
4063
3699
|
const renderItem = (item, rowProps, dsState) => {
|
|
4064
3700
|
const { flattenSearchResults } = view.getConfig();
|
|
4065
|
-
return (React__namespace.createElement(PickerItem, { title: getName(item), highlightSearchMatches: highlightSearchMatches, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dsState) } : {}), dataSourceState: dsState, size: settings.pickerInput.
|
|
3701
|
+
return (React__namespace.createElement(PickerItem, { title: getName(item), highlightSearchMatches: highlightSearchMatches, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dsState) } : {}), dataSourceState: dsState, size: settings.sizes.filtersPanel.pickerInput.body.default, ...rowProps }));
|
|
4066
3702
|
};
|
|
4067
3703
|
const onSelect = (row) => {
|
|
4068
3704
|
handleDataSourceValueChange((currentDataSourceState) => ({ ...currentDataSourceState, search: '', selectedId: row.id }));
|
|
@@ -4071,20 +3707,18 @@ function FilterPickerBody({ highlightSearchMatches = true, ...restProps }) {
|
|
|
4071
3707
|
if (rowProps.isSelectable && isSingleSelect() && props.editMode !== 'modal') {
|
|
4072
3708
|
rowProps.onSelect = onSelect;
|
|
4073
3709
|
}
|
|
4074
|
-
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React__namespace.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: settings.pickerInput.
|
|
3710
|
+
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React__namespace.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: settings.sizes.filtersPanel.pickerInput.body.default, padding: "12", renderItem: (item, itemProps) => renderItem(item, itemProps, dsState) }));
|
|
4075
3711
|
};
|
|
4076
3712
|
const renderFooter = () => {
|
|
4077
3713
|
const footerProps = getFooterProps();
|
|
4078
|
-
return props.renderFooter
|
|
4079
|
-
? props.renderFooter(footerProps)
|
|
4080
|
-
: React__namespace.createElement(DataPickerFooter, { ...footerProps, size: settings.pickerInput.sizes.body.row });
|
|
3714
|
+
return props.renderFooter ? props.renderFooter(footerProps) : React__namespace.createElement(DataPickerFooter, { ...footerProps, size: settings.sizes.filtersPanel.pickerInput.body.default });
|
|
4081
3715
|
};
|
|
4082
3716
|
const renderBody = (bodyProps, rows) => {
|
|
4083
3717
|
const renderedDataRows = rows.map((props) => renderRow(props, dataSourceState));
|
|
4084
3718
|
const maxHeight = uuiCore.isMobile() ? document.documentElement.clientHeight : props.maxBodyHeight || pickerHeight;
|
|
4085
3719
|
const maxWidth = uuiCore.isMobile() ? undefined : 360;
|
|
4086
3720
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
4087
|
-
React__namespace.createElement(DataPickerBody, { ...bodyProps, selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize: settings.pickerInput.
|
|
3721
|
+
React__namespace.createElement(DataPickerBody, { ...bodyProps, selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize: settings.sizes.filtersPanel.pickerInput.body.default, editMode: "dropdown" }),
|
|
4088
3722
|
renderFooter()));
|
|
4089
3723
|
};
|
|
4090
3724
|
const rows = getRows();
|
|
@@ -4172,7 +3806,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
4172
3806
|
React__namespace.default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.pickerModal.clearAllButton, onClick: () => onValueChange(defaultRangeValue) })))));
|
|
4173
3807
|
}
|
|
4174
3808
|
|
|
4175
|
-
var css$r = {"container":"
|
|
3809
|
+
var css$r = {"container":"WgX7HC"};
|
|
4176
3810
|
|
|
4177
3811
|
function FilterNumericBody(props) {
|
|
4178
3812
|
const isInRangePredicate = props?.selectedPredicate === 'inRange' || props?.selectedPredicate === 'notInRange';
|
|
@@ -4253,22 +3887,22 @@ function FilterItemBody(props) {
|
|
|
4253
3887
|
}
|
|
4254
3888
|
}
|
|
4255
3889
|
|
|
4256
|
-
var _path$
|
|
4257
|
-
function _extends$
|
|
3890
|
+
var _path$i;
|
|
3891
|
+
function _extends$i() { return _extends$i = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$i.apply(null, arguments); }
|
|
4258
3892
|
var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
4259
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
3893
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
|
|
4260
3894
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4261
3895
|
width: 24,
|
|
4262
3896
|
height: 24,
|
|
4263
3897
|
viewBox: "0 0 24 24",
|
|
4264
3898
|
ref: ref
|
|
4265
|
-
}, props), _path$
|
|
3899
|
+
}, props), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4266
3900
|
d: "M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3H9zM7 6h10v13H7V6zm2 2v9h2V8H9zm4 0v9h2V8h-2z"
|
|
4267
3901
|
})));
|
|
4268
3902
|
};
|
|
4269
|
-
var ForwardRef$
|
|
3903
|
+
var ForwardRef$i = /*#__PURE__*/React.forwardRef(SvgActionDeleteOutline);
|
|
4270
3904
|
|
|
4271
|
-
var css$q = {"header":"
|
|
3905
|
+
var css$q = {"header":"hm52GA","removeButton":"_1qM-60","with-search":"sx1K3G","withSearch":"sx1K3G"};
|
|
4272
3906
|
|
|
4273
3907
|
function useView(props, value) {
|
|
4274
3908
|
const forceUpdate = uuiCore.useForceUpdate();
|
|
@@ -4357,7 +3991,7 @@ function FiltersToolbarItemImpl(props) {
|
|
|
4357
3991
|
};
|
|
4358
3992
|
const renderHeader = (hideTitle) => (React__namespace.default.createElement("div", { className: cx__default.default(css$q.header, isPickersType && (props.showSearch ?? css$q.withSearch)) },
|
|
4359
3993
|
props.predicates ? (React__namespace.default.createElement(MultiSwitch, { items: props.predicates.map((i) => ({ id: i.predicate, caption: i.name })), value: predicate, onValueChange: changePredicate, size: "24" })) : (!hideTitle && (React__namespace.default.createElement(Text, { color: "secondary", size: "24", fontSize: "14" }, props.title))),
|
|
4360
|
-
!props?.isAlwaysVisible && (React__namespace.default.createElement(LinkButton, { cx: css$q.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size: "24", icon: ForwardRef$
|
|
3994
|
+
!props?.isAlwaysVisible && (React__namespace.default.createElement(LinkButton, { cx: css$q.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size: "24", icon: ForwardRef$i }))));
|
|
4361
3995
|
const renderBody = (dropdownProps) => {
|
|
4362
3996
|
const hideHeaderTitle = isPickersType && isMobileScreen;
|
|
4363
3997
|
return isPickersType ? (React__namespace.default.createElement(PickerBodyMobileView, { ...dropdownProps, cx: UUI_FILTERS_PANEL_ITEM_BODY, title: props.title, width: 360, onClose: () => isOpenChange(false) },
|
|
@@ -4446,6 +4080,21 @@ function FiltersToolbarItemImpl(props) {
|
|
|
4446
4080
|
}
|
|
4447
4081
|
const FiltersPanelItem = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarItemImpl);
|
|
4448
4082
|
|
|
4083
|
+
var _path$h;
|
|
4084
|
+
function _extends$h() { return _extends$h = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$h.apply(null, arguments); }
|
|
4085
|
+
var SvgActionAddOutline = function SvgActionAddOutline(props, ref) {
|
|
4086
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
|
|
4087
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4088
|
+
width: 24,
|
|
4089
|
+
height: 24,
|
|
4090
|
+
viewBox: "0 0 24 24",
|
|
4091
|
+
ref: ref
|
|
4092
|
+
}, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4093
|
+
d: "M13.286 3h-2.572v7.714H3v2.572h7.714V21h2.572v-7.714H21v-2.572h-7.714V3z"
|
|
4094
|
+
})));
|
|
4095
|
+
};
|
|
4096
|
+
var ForwardRef$h = /*#__PURE__*/React.forwardRef(SvgActionAddOutline);
|
|
4097
|
+
|
|
4449
4098
|
const normalizeFilterWithPredicates = (filter) => {
|
|
4450
4099
|
if (!filter) {
|
|
4451
4100
|
return {};
|
|
@@ -4485,7 +4134,7 @@ const normalizeFilterWithPredicates = (filter) => {
|
|
|
4485
4134
|
return result;
|
|
4486
4135
|
};
|
|
4487
4136
|
function FiltersToolbarImpl(props) {
|
|
4488
|
-
const { filters, tableState, setTableState, size =
|
|
4137
|
+
const { filters, tableState, setTableState, size = settings.sizes.defaults.filtersPanel } = props;
|
|
4489
4138
|
const [newFilterId, setNewFilterId] = React.useState(null);
|
|
4490
4139
|
const pickerInputRef = React.useRef(null);
|
|
4491
4140
|
const dataSource = uuiCore.useArrayDataSource({
|
|
@@ -4545,7 +4194,7 @@ function FiltersToolbarImpl(props) {
|
|
|
4545
4194
|
return uuiCore.orderBy(selectedFilters, (f) => tableState.filtersConfig?.[f.field]?.order);
|
|
4546
4195
|
}, [filters, tableState.filtersConfig]);
|
|
4547
4196
|
const renderAddFilterToggler = React.useCallback((togglerProps) => {
|
|
4548
|
-
return (React__namespace.default.createElement(Button, { size: size, onClick: togglerProps.onClick, ref: togglerProps.ref, caption: i18n.filterToolbar.addCaption, icon:
|
|
4197
|
+
return (React__namespace.default.createElement(Button, { size: size, onClick: togglerProps.onClick, ref: togglerProps.ref, caption: i18n.filterToolbar.addCaption, icon: ForwardRef$h, iconPosition: "left", fill: "ghost", color: "primary", cx: UUI_FILTERS_PANEL_ADD_BUTTON }));
|
|
4549
4198
|
}, []);
|
|
4550
4199
|
const getRowOptions = React.useCallback((item) => ({
|
|
4551
4200
|
isDisabled: item.isAlwaysVisible,
|
|
@@ -4574,88 +4223,120 @@ function FiltersToolbarImpl(props) {
|
|
|
4574
4223
|
}
|
|
4575
4224
|
const FiltersPanel = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarImpl);
|
|
4576
4225
|
|
|
4577
|
-
var css$p = {"divider":"
|
|
4226
|
+
var css$p = {"divider":"rrZMUl","dropdownDeleteIcon":"_3P4k8Z","presetsWrapper":"dbCskh","addPresetContainer":"FFG-f1","dropContainer":"_62-Nr1"};
|
|
4227
|
+
|
|
4228
|
+
var _path$g;
|
|
4229
|
+
function _extends$g() { return _extends$g = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$g.apply(null, arguments); }
|
|
4230
|
+
var SvgNavigationMoreVertOutline = function SvgNavigationMoreVertOutline(props, ref) {
|
|
4231
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
|
|
4232
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4233
|
+
width: 24,
|
|
4234
|
+
height: 24,
|
|
4235
|
+
viewBox: "0 0 24 24",
|
|
4236
|
+
ref: ref
|
|
4237
|
+
}, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4238
|
+
fillRule: "evenodd",
|
|
4239
|
+
d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",
|
|
4240
|
+
clipRule: "evenodd"
|
|
4241
|
+
})));
|
|
4242
|
+
};
|
|
4243
|
+
var ForwardRef$g = /*#__PURE__*/React.forwardRef(SvgNavigationMoreVertOutline);
|
|
4244
|
+
|
|
4245
|
+
var _path$f;
|
|
4246
|
+
function _extends$f() { return _extends$f = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$f.apply(null, arguments); }
|
|
4247
|
+
var SvgNavigationRefreshOutline = function SvgNavigationRefreshOutline(props, ref) {
|
|
4248
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
|
|
4249
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4250
|
+
width: 24,
|
|
4251
|
+
height: 24,
|
|
4252
|
+
viewBox: "0 0 24 24",
|
|
4253
|
+
ref: ref
|
|
4254
|
+
}, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4255
|
+
d: "M12 20c-2.233 0-4.125-.775-5.675-2.325C4.775 16.125 4 14.233 4 12c0-2.233.775-4.125 2.325-5.675C7.875 4.775 9.767 4 12 4c1.15 0 2.25.238 3.3.713A7.617 7.617 0 0 1 18 6.75V4h2v7h-7V9h4.2a5.837 5.837 0 0 0-2.187-2.2A5.93 5.93 0 0 0 12 6c-1.667 0-3.083.583-4.25 1.75C6.583 8.917 6 10.333 6 12c0 1.667.583 3.083 1.75 4.25C8.917 17.417 10.333 18 12 18a5.863 5.863 0 0 0 3.475-1.1A5.81 5.81 0 0 0 17.65 14h2.1c-.467 1.767-1.417 3.208-2.85 4.325S13.833 20 12 20z"
|
|
4256
|
+
})));
|
|
4257
|
+
};
|
|
4258
|
+
var ForwardRef$f = /*#__PURE__*/React.forwardRef(SvgNavigationRefreshOutline);
|
|
4578
4259
|
|
|
4579
|
-
var _path$
|
|
4580
|
-
function _extends$
|
|
4260
|
+
var _path$e;
|
|
4261
|
+
function _extends$e() { return _extends$e = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$e.apply(null, arguments); }
|
|
4581
4262
|
var SvgActionSaveOutline = function SvgActionSaveOutline(props, ref) {
|
|
4582
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
4263
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
|
|
4583
4264
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4584
4265
|
width: 24,
|
|
4585
4266
|
height: 24,
|
|
4586
4267
|
viewBox: "0 0 24 24",
|
|
4587
4268
|
ref: ref
|
|
4588
|
-
}, props), _path$
|
|
4269
|
+
}, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4589
4270
|
d: "M17 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm2 16H5V5h11.17L19 7.83V19zm-7-7c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zM6 6h9v4H6V6z"
|
|
4590
4271
|
})));
|
|
4591
4272
|
};
|
|
4592
|
-
var ForwardRef$
|
|
4273
|
+
var ForwardRef$e = /*#__PURE__*/React.forwardRef(SvgActionSaveOutline);
|
|
4593
4274
|
|
|
4594
|
-
var _path$
|
|
4595
|
-
function _extends$
|
|
4275
|
+
var _path$d;
|
|
4276
|
+
function _extends$d() { return _extends$d = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$d.apply(null, arguments); }
|
|
4596
4277
|
var SvgContentEditUndoOutline = function SvgContentEditUndoOutline(props, ref) {
|
|
4597
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
4278
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
|
|
4598
4279
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4599
4280
|
width: 24,
|
|
4600
4281
|
height: 24,
|
|
4601
4282
|
viewBox: "0 0 24 24",
|
|
4602
4283
|
ref: ref
|
|
4603
|
-
}, props), _path$
|
|
4284
|
+
}, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4604
4285
|
d: "M22.5 15a8.71 8.71 0 0 0-.712-3.513 9.158 9.158 0 0 0-1.926-2.85 9.152 9.152 0 0 0-2.85-1.925A8.709 8.709 0 0 0 13.5 6a8.71 8.71 0 0 0-3.513.712 9.167 9.167 0 0 0-2.85 1.925 9.154 9.154 0 0 0-1.924 2.85A8.705 8.705 0 0 0 4.5 15v.15L2.95 13.6 1.5 15l4 4 4-4-1.45-1.4-1.55 1.55V15c0-1.95.679-3.604 2.037-4.962C9.896 8.679 11.55 8 13.5 8c1.95 0 3.604.68 4.962 2.038C19.821 11.396 20.5 13.05 20.5 15h2z"
|
|
4605
4286
|
})));
|
|
4606
4287
|
};
|
|
4607
|
-
var ForwardRef$
|
|
4288
|
+
var ForwardRef$d = /*#__PURE__*/React.forwardRef(SvgContentEditUndoOutline);
|
|
4608
4289
|
|
|
4609
|
-
var _path$
|
|
4610
|
-
function _extends$
|
|
4290
|
+
var _path$c;
|
|
4291
|
+
function _extends$c() { return _extends$c = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$c.apply(null, arguments); }
|
|
4611
4292
|
var SvgActionCopyContentOutline = function SvgActionCopyContentOutline(props, ref) {
|
|
4612
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
4293
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
|
|
4613
4294
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4614
4295
|
width: 24,
|
|
4615
4296
|
height: 24,
|
|
4616
4297
|
viewBox: "0 0 24 24",
|
|
4617
4298
|
ref: ref
|
|
4618
|
-
}, props), _path$
|
|
4299
|
+
}, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4619
4300
|
fillRule: "evenodd",
|
|
4620
4301
|
d: "M19 19H9V9h10M9 7a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H9zm5-4H5a2 2 0 0 0-2 2v9h2V5h9V3z",
|
|
4621
4302
|
clipRule: "evenodd"
|
|
4622
4303
|
})));
|
|
4623
4304
|
};
|
|
4624
|
-
var ForwardRef$
|
|
4305
|
+
var ForwardRef$c = /*#__PURE__*/React.forwardRef(SvgActionCopyContentOutline);
|
|
4625
4306
|
|
|
4626
|
-
var _path$
|
|
4627
|
-
function _extends$
|
|
4307
|
+
var _path$b;
|
|
4308
|
+
function _extends$b() { return _extends$b = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$b.apply(null, arguments); }
|
|
4628
4309
|
var SvgContentEditFill = function SvgContentEditFill(props, ref) {
|
|
4629
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
4310
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
|
|
4630
4311
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4631
4312
|
width: 24,
|
|
4632
4313
|
height: 24,
|
|
4633
4314
|
viewBox: "0 0 24 24",
|
|
4634
4315
|
ref: ref
|
|
4635
|
-
}, props), _path$
|
|
4316
|
+
}, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4636
4317
|
d: "m19.3 8.925-4.25-4.2 1.4-1.4a1.92 1.92 0 0 1 1.413-.575 1.92 1.92 0 0 1 1.412.575l1.4 1.4c.383.383.583.846.6 1.388a1.806 1.806 0 0 1-.55 1.387L19.3 8.925zM17.85 10.4 7.25 21H3v-4.25l10.6-10.6 4.25 4.25z"
|
|
4637
4318
|
})));
|
|
4638
4319
|
};
|
|
4639
|
-
var ForwardRef$
|
|
4320
|
+
var ForwardRef$b = /*#__PURE__*/React.forwardRef(SvgContentEditFill);
|
|
4640
4321
|
|
|
4641
|
-
var _path$
|
|
4642
|
-
function _extends$
|
|
4322
|
+
var _path$a, _path2$3;
|
|
4323
|
+
function _extends$a() { return _extends$a = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$a.apply(null, arguments); }
|
|
4643
4324
|
var SvgContentLinkOutline = function SvgContentLinkOutline(props, ref) {
|
|
4644
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
4325
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
|
|
4645
4326
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4646
4327
|
width: 24,
|
|
4647
4328
|
height: 24,
|
|
4648
4329
|
viewBox: "0 0 24 24",
|
|
4649
4330
|
ref: ref
|
|
4650
|
-
}, props), _path$
|
|
4331
|
+
}, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4651
4332
|
d: "M12 4.93A5 5 0 0 1 19.07 12l-1.06 1.06c.12-.85.022-1.725-.295-2.534a3 3 0 0 0-4.302-4.182l-2.828 2.828a3 3 0 0 0-.07 4.17l.07.073-1.415 1.414a5 5 0 0 1 0-7.071L12 4.929z"
|
|
4652
|
-
})), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4333
|
+
})), _path2$3 || (_path2$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4653
4334
|
d: "m4.93 12 .989-.99a5.018 5.018 0 0 0 .297 2.54 3 3 0 0 0 4.37 4.107l2.829-2.828a3 3 0 0 0-.828-4.83l1.464-1.463a5 5 0 0 1 .778 7.707L12 19.071a5 5 0 0 1-7.07-7.07z"
|
|
4654
4335
|
})));
|
|
4655
4336
|
};
|
|
4656
|
-
var ForwardRef$
|
|
4337
|
+
var ForwardRef$a = /*#__PURE__*/React.forwardRef(SvgContentLinkOutline);
|
|
4657
4338
|
|
|
4658
|
-
var css$o = {"delete-button":"
|
|
4339
|
+
var css$o = {"delete-button":"SAWSYe","deleteButton":"SAWSYe","tab-button":"Y2Ht6n","tabButton":"Y2Ht6n","targetOpen":"u-TFk9"};
|
|
4659
4340
|
|
|
4660
4341
|
function PresetActionsDropdown(props) {
|
|
4661
4342
|
const { uuiNotifications } = uuiCore.useUuiContext();
|
|
@@ -4703,26 +4384,26 @@ function PresetActionsDropdown(props) {
|
|
|
4703
4384
|
const isRenameAvailable = props.preset.id === props.activePresetId && !isReadonlyPreset;
|
|
4704
4385
|
return (React__namespace.default.createElement(DropdownMenuBody, { ...dropdownProps },
|
|
4705
4386
|
isPresetChanged && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
4706
|
-
!isReadonlyPreset && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon: ForwardRef$
|
|
4707
|
-
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon: ForwardRef$
|
|
4387
|
+
!isReadonlyPreset && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon: ForwardRef$f, caption: "Save in current", onClick: () => { dropdownProps.onClose(); saveInCurrentHandler(); } })),
|
|
4388
|
+
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon: ForwardRef$e, caption: "Save as new",
|
|
4708
4389
|
// 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
|
|
4709
4390
|
onClick: () => { dropdownProps.onClose(); setTimeout(() => props.addPreset(), 0); } }),
|
|
4710
|
-
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-discard`, icon: ForwardRef$
|
|
4391
|
+
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-discard`, icon: ForwardRef$d, caption: "Discard all changes", onClick: () => { dropdownProps.onClose(); discardAllChangesHandler(); } }),
|
|
4711
4392
|
React__namespace.default.createElement(DropdownMenuSplitter, { key: "discard-splitter" }))),
|
|
4712
|
-
isRenameAvailable && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-rename`, icon: ForwardRef$
|
|
4713
|
-
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon: ForwardRef$
|
|
4714
|
-
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon: ForwardRef$
|
|
4393
|
+
isRenameAvailable && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-rename`, icon: ForwardRef$b, caption: "Rename", onClick: props.renamePreset })),
|
|
4394
|
+
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon: ForwardRef$c, caption: "Duplicate", onClick: () => { dropdownProps.onClose(); duplicateHandler(); } }),
|
|
4395
|
+
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon: ForwardRef$a, caption: "Copy Link", onClick: copyUrlToClipboard }),
|
|
4715
4396
|
!isReadonlyPreset && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
4716
4397
|
React__namespace.default.createElement(DropdownMenuSplitter, { key: "delete-splitter" }),
|
|
4717
|
-
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
4398
|
+
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$i, caption: "Delete", cx: css$o.deleteButton, onClick: deleteHandler })))));
|
|
4718
4399
|
};
|
|
4719
4400
|
const renderTarget = React.useCallback((dropdownProps) => {
|
|
4720
|
-
return (React__namespace.default.createElement(IconButton, { cx: [css$o.tabButton, dropdownProps.isOpen && css$o.targetOpen], color: props.preset.id === props.activePresetId ? 'primary' : 'neutral', ...dropdownProps, icon: ForwardRef$
|
|
4401
|
+
return (React__namespace.default.createElement(IconButton, { cx: [css$o.tabButton, dropdownProps.isOpen && css$o.targetOpen], color: props.preset.id === props.activePresetId ? 'primary' : 'neutral', ...dropdownProps, icon: ForwardRef$g, size: "18" }));
|
|
4721
4402
|
}, []);
|
|
4722
4403
|
return (React__namespace.default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
4723
4404
|
}
|
|
4724
4405
|
|
|
4725
|
-
var css$n = {"preset-input-cell":"
|
|
4406
|
+
var css$n = {"preset-input-cell":"lYiRnX","presetInputCell":"lYiRnX","preset-input":"_78GF2l","presetInput":"_78GF2l"};
|
|
4726
4407
|
|
|
4727
4408
|
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
4728
4409
|
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
@@ -4754,7 +4435,7 @@ function PresetInput(props) {
|
|
|
4754
4435
|
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 })));
|
|
4755
4436
|
}
|
|
4756
4437
|
|
|
4757
|
-
var css$m = {"preset":"
|
|
4438
|
+
var css$m = {"preset":"yi-2dc","activePreset":"B-Ib2k"};
|
|
4758
4439
|
|
|
4759
4440
|
function Preset(props) {
|
|
4760
4441
|
const [isRenamePreset, setIsRenamePreset] = React.useState(false);
|
|
@@ -4779,22 +4460,22 @@ function Preset(props) {
|
|
|
4779
4460
|
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 }))));
|
|
4780
4461
|
}
|
|
4781
4462
|
|
|
4782
|
-
var _path$
|
|
4783
|
-
function _extends$
|
|
4463
|
+
var _path$9;
|
|
4464
|
+
function _extends$9() { return _extends$9 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$9.apply(null, arguments); }
|
|
4784
4465
|
var SvgActionDeleteForeverFill = function SvgActionDeleteForeverFill(props, ref) {
|
|
4785
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
4466
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
|
|
4786
4467
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4787
4468
|
width: 24,
|
|
4788
4469
|
height: 24,
|
|
4789
4470
|
viewBox: "0 0 24 24",
|
|
4790
4471
|
ref: ref
|
|
4791
|
-
}, props), _path$
|
|
4472
|
+
}, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4792
4473
|
fillRule: "evenodd",
|
|
4793
4474
|
d: "M7 21c-1.1 0-2-.9-2-2V8h14v11c0 1.1-.9 2-2 2H7zm8-17h5v2H4V4h5V3h6v1zM9.4 18.5l2.6-2.6 2.6 2.6 1.4-1.4-2.6-2.6 2.6-2.6-1.4-1.4-2.6 2.6-2.6-2.6L8 11.9l2.6 2.6L8 17.1l1.4 1.4z",
|
|
4794
4475
|
clipRule: "evenodd"
|
|
4795
4476
|
})));
|
|
4796
4477
|
};
|
|
4797
|
-
var ForwardRef$
|
|
4478
|
+
var ForwardRef$9 = /*#__PURE__*/React.forwardRef(SvgActionDeleteForeverFill);
|
|
4798
4479
|
|
|
4799
4480
|
function PresetsPanel(props) {
|
|
4800
4481
|
const [isAddingPreset, setIsAddingPreset] = React.useState(false);
|
|
@@ -4809,7 +4490,7 @@ function PresetsPanel(props) {
|
|
|
4809
4490
|
return React__namespace.default.createElement(Preset, { key: preset.id, preset: preset, addPreset: setAddingPreset, ...presetApi });
|
|
4810
4491
|
};
|
|
4811
4492
|
const renderAddPresetButton = React.useCallback(() => {
|
|
4812
|
-
return (React__namespace.default.createElement("div", { key: "addingPresetBlock", className: css$p.addPresetContainer }, !isAddingPreset ? (React__namespace.default.createElement(Button, { cx: UUI_PRESETS_PANEL_ADD_BUTTON, onClick: setAddingPreset, caption: i18n.presetPanel.addCaption, icon: ForwardRef$
|
|
4493
|
+
return (React__namespace.default.createElement("div", { key: "addingPresetBlock", className: css$p.addPresetContainer }, !isAddingPreset ? (React__namespace.default.createElement(Button, { cx: UUI_PRESETS_PANEL_ADD_BUTTON, onClick: setAddingPreset, caption: i18n.presetPanel.addCaption, icon: ForwardRef$h, iconPosition: "left", fill: "ghost", color: "primary" })) : (React__namespace.default.createElement(PresetInput, { onCancel: cancelAddingPreset, onSuccess: props.createNewPreset }))));
|
|
4813
4494
|
}, [isAddingPreset]);
|
|
4814
4495
|
const onPresetDropdownSelect = (preset) => {
|
|
4815
4496
|
props.choosePreset(preset.preset);
|
|
@@ -4818,7 +4499,7 @@ function PresetsPanel(props) {
|
|
|
4818
4499
|
return (React__namespace.default.createElement(Dropdown, { key: "more", renderTarget: (props) => (React__namespace.default.createElement(FlexRow, null,
|
|
4819
4500
|
React__namespace.default.createElement("div", { className: css$p.divider }),
|
|
4820
4501
|
React__namespace.default.createElement(Button, { cx: UUI_PRESETS_PANEL_MORE_BUTTON, fill: "ghost", color: "secondary", caption: `${hiddenItems?.length || ''} more`, ...props }))), renderBody: (propsBody) => (React__namespace.default.createElement(DropdownMenuBody, { minWidth: 230, maxHeight: 300, ...propsBody },
|
|
4821
|
-
React__namespace.default.createElement(ScrollBars, null, hiddenItems.map((hiddenItem) => (React__namespace.default.createElement(DropdownMenuButton, { key: hiddenItem.preset.id, onClick: () => onPresetDropdownSelect(hiddenItem), caption: hiddenItem.preset.name, icon: !hiddenItem.preset.isReadonly && ForwardRef$
|
|
4502
|
+
React__namespace.default.createElement(ScrollBars, null, hiddenItems.map((hiddenItem) => (React__namespace.default.createElement(DropdownMenuButton, { key: hiddenItem.preset.id, onClick: () => onPresetDropdownSelect(hiddenItem), caption: hiddenItem.preset.name, icon: !hiddenItem.preset.isReadonly && ForwardRef$9, iconPosition: "right", cx: css$p.dropdownDeleteIcon, onIconClick: !hiddenItem.preset.isReadonly && (() => props.deletePreset(hiddenItem.preset)) })))))) }));
|
|
4822
4503
|
};
|
|
4823
4504
|
const getPresetPriority = (preset, index) => {
|
|
4824
4505
|
return preset.id === props.activePresetId ? 100499 : 1000 - index;
|
|
@@ -4880,7 +4561,62 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
4880
4561
|
return columns;
|
|
4881
4562
|
};
|
|
4882
4563
|
|
|
4883
|
-
var
|
|
4564
|
+
var _path$8;
|
|
4565
|
+
function _extends$8() { return _extends$8 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$8.apply(null, arguments); }
|
|
4566
|
+
var SvgActionLockFill = function SvgActionLockFill(props, ref) {
|
|
4567
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
|
|
4568
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4569
|
+
width: 24,
|
|
4570
|
+
height: 24,
|
|
4571
|
+
viewBox: "0 0 24 24",
|
|
4572
|
+
ref: ref
|
|
4573
|
+
}, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4574
|
+
fillRule: "evenodd",
|
|
4575
|
+
d: "M12 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4zM7 9V7a5 5 0 0 1 10 0v2h1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V11a2 2 0 0 1 2-2h1zm2 0h6V7a3 3 0 1 0-6 0v2z",
|
|
4576
|
+
clipRule: "evenodd"
|
|
4577
|
+
})));
|
|
4578
|
+
};
|
|
4579
|
+
var ForwardRef$8 = /*#__PURE__*/React.forwardRef(SvgActionLockFill);
|
|
4580
|
+
|
|
4581
|
+
var _path$7, _path2$2;
|
|
4582
|
+
function _extends$7() { return _extends$7 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$7.apply(null, arguments); }
|
|
4583
|
+
var SvgTableGroupColumnLeftFill = function SvgTableGroupColumnLeftFill(props, ref) {
|
|
4584
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
|
|
4585
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4586
|
+
width: 24,
|
|
4587
|
+
height: 24,
|
|
4588
|
+
viewBox: "0 0 24 24",
|
|
4589
|
+
ref: ref
|
|
4590
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4591
|
+
d: "M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6V3H5z"
|
|
4592
|
+
})), _path2$2 || (_path2$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4593
|
+
fillRule: "evenodd",
|
|
4594
|
+
d: "M13 21V3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-6zm2-16h4v14h-4V5z",
|
|
4595
|
+
clipRule: "evenodd"
|
|
4596
|
+
})));
|
|
4597
|
+
};
|
|
4598
|
+
var ForwardRef$7 = /*#__PURE__*/React.forwardRef(SvgTableGroupColumnLeftFill);
|
|
4599
|
+
|
|
4600
|
+
var _path$6, _path2$1;
|
|
4601
|
+
function _extends$6() { return _extends$6 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$6.apply(null, arguments); }
|
|
4602
|
+
var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props, ref) {
|
|
4603
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
|
|
4604
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4605
|
+
width: 24,
|
|
4606
|
+
height: 24,
|
|
4607
|
+
viewBox: "0 0 24 24",
|
|
4608
|
+
ref: ref
|
|
4609
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4610
|
+
d: "M13 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-6V3z"
|
|
4611
|
+
})), _path2$1 || (_path2$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4612
|
+
fillRule: "evenodd",
|
|
4613
|
+
d: "M9 5H5v14h4V5zM5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6V3H5z",
|
|
4614
|
+
clipRule: "evenodd"
|
|
4615
|
+
})));
|
|
4616
|
+
};
|
|
4617
|
+
var ForwardRef$6 = /*#__PURE__*/React.forwardRef(SvgTableGroupColumnRightFill);
|
|
4618
|
+
|
|
4619
|
+
var css$l = {"unpin-icon":"ysWut0","unpinIcon":"ysWut0","pin-toggler-icon":"Rh0XSv","pinTogglerIcon":"Rh0XSv"};
|
|
4884
4620
|
|
|
4885
4621
|
function PinIconButton(props) {
|
|
4886
4622
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4898,23 +4634,23 @@ function PinIconButton(props) {
|
|
|
4898
4634
|
else {
|
|
4899
4635
|
pinUnpinNode = (React__namespace.createElement(React__namespace.Fragment, null,
|
|
4900
4636
|
React__namespace.createElement(Tooltip, { content: i18nLocal.pinColumnToTheLeftButton, placement: "bottom", color: "inverted" },
|
|
4901
|
-
React__namespace.createElement(IconButton, { cx: css$l.pinTogglerIcon, icon:
|
|
4637
|
+
React__namespace.createElement(IconButton, { cx: css$l.pinTogglerIcon, icon: ForwardRef$7, onClick: () => onTogglePin('left'), isDisabled: isPinnedAlways })),
|
|
4902
4638
|
React__namespace.createElement(Tooltip, { content: i18nLocal.pinColumnToTheRightButton, placement: "bottom", color: "inverted" },
|
|
4903
|
-
React__namespace.createElement(IconButton, { cx: css$l.pinTogglerIcon, icon:
|
|
4639
|
+
React__namespace.createElement(IconButton, { cx: css$l.pinTogglerIcon, icon: ForwardRef$6, onClick: () => onTogglePin('right'), isDisabled: isPinnedAlways }))));
|
|
4904
4640
|
}
|
|
4905
4641
|
return pinUnpinNode;
|
|
4906
4642
|
}
|
|
4907
4643
|
function getUnpinIcon(params) {
|
|
4908
4644
|
const { isPinnedAlways, pinPosition } = params;
|
|
4909
4645
|
if (isPinnedAlways) {
|
|
4910
|
-
return
|
|
4646
|
+
return ForwardRef$8;
|
|
4911
4647
|
}
|
|
4912
4648
|
switch (pinPosition) {
|
|
4913
4649
|
case 'left': {
|
|
4914
|
-
return
|
|
4650
|
+
return ForwardRef$7;
|
|
4915
4651
|
}
|
|
4916
4652
|
case 'right': {
|
|
4917
|
-
return
|
|
4653
|
+
return ForwardRef$6;
|
|
4918
4654
|
}
|
|
4919
4655
|
default: {
|
|
4920
4656
|
return;
|
|
@@ -4922,7 +4658,24 @@ function getUnpinIcon(params) {
|
|
|
4922
4658
|
}
|
|
4923
4659
|
}
|
|
4924
4660
|
|
|
4925
|
-
var
|
|
4661
|
+
var _path$5;
|
|
4662
|
+
function _extends$5() { return _extends$5 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$5.apply(null, arguments); }
|
|
4663
|
+
var SvgActionDragIndicator18 = function SvgActionDragIndicator18(props, ref) {
|
|
4664
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
|
|
4665
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4666
|
+
width: 18,
|
|
4667
|
+
height: 18,
|
|
4668
|
+
viewBox: "0 0 18 18",
|
|
4669
|
+
ref: ref
|
|
4670
|
+
}, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4671
|
+
fillRule: "evenodd",
|
|
4672
|
+
d: "M8 13.5c0 .825-.675 1.5-1.5 1.5S5 14.325 5 13.5 5.675 12 6.5 12s1.5.675 1.5 1.5zm-1.5-6C5.675 7.5 5 8.175 5 9s.675 1.5 1.5 1.5S8 9.825 8 9s-.675-1.5-1.5-1.5zm0-4.5C5.675 3 5 3.675 5 4.5S5.675 6 6.5 6 8 5.325 8 4.5 7.325 3 6.5 3zm5 3c.825 0 1.5-.675 1.5-1.5S12.325 3 11.5 3 10 3.675 10 4.5 10.675 6 11.5 6zm0 1.5c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5S13 9.825 13 9s-.675-1.5-1.5-1.5zm0 4.5c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5 1.5-.675 1.5-1.5-.675-1.5-1.5-1.5z",
|
|
4673
|
+
clipRule: "evenodd"
|
|
4674
|
+
})));
|
|
4675
|
+
};
|
|
4676
|
+
var ForwardRef$5 = /*#__PURE__*/React.forwardRef(SvgActionDragIndicator18);
|
|
4677
|
+
|
|
4678
|
+
var css$k = {"row-wrapper":"_9LPYoM","rowWrapper":"_9LPYoM","pin-icon-button":"DMtst-","pinIconButton":"DMtst-","not-pinned":"L0h6Av","notPinned":"L0h6Av","checkbox":"_3lw6ta","drag-handle":"zdwvaO","dragHandle":"zdwvaO","dnd-disabled":"ddJFmc","dndDisabled":"ddJFmc"};
|
|
4926
4679
|
|
|
4927
4680
|
const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props) {
|
|
4928
4681
|
const { column } = props;
|
|
@@ -4935,8 +4688,8 @@ const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props)
|
|
|
4935
4688
|
const wrapperClasses = uuiCore.cx(css$k.rowWrapper, !isPinned && css$k.notPinned, dndActorParams.isDragGhost && uuiCore.uuiDndState.dragGhost, 'uui-dt-columns-config-row');
|
|
4936
4689
|
const { onTouchStart, onPointerDown, ...restEventHandlers } = dndActorParams.eventHandlers;
|
|
4937
4690
|
const { ref, ...dndActorPropsWithoutRef } = dndActorParams;
|
|
4938
|
-
return (React__namespace.createElement(FlexRow, { size: settings.dataTable.
|
|
4939
|
-
React__namespace.createElement(uuiComponents.DragHandle, { dragHandleIcon:
|
|
4691
|
+
return (React__namespace.createElement(FlexRow, { size: settings.sizes.dataTable.columnsConfigurationModal.columnRow, cx: wrapperClasses, ref: dndActorParams.ref, rawProps: { ...restEventHandlers }, alignItems: "top" },
|
|
4692
|
+
React__namespace.createElement(uuiComponents.DragHandle, { dragHandleIcon: ForwardRef$5, rawProps: { onTouchStart, onPointerDown }, isDisabled: !isDndAllowed, cx: uuiCore.cx(css$k.dragHandle, !isDndAllowed && css$k.dndDisabled) }),
|
|
4940
4693
|
React__namespace.createElement(Checkbox, { key: column.key, label: props.renderItem ? props.renderItem(props.column) : column.caption, value: isVisible, onValueChange: toggleVisibility, isReadonly: column.isAlwaysVisible || column.isLocked, cx: css$k.checkbox }),
|
|
4941
4694
|
React__namespace.createElement(FlexRow, { size: null, cx: css$k.pinIconButton },
|
|
4942
4695
|
React__namespace.createElement(PinIconButton, { pinPosition: pinPosition, canUnpin: !isPinnedAlways, onTogglePin: togglePin })),
|
|
@@ -4945,11 +4698,11 @@ const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props)
|
|
|
4945
4698
|
return (React__namespace.createElement(uuiCore.DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
|
|
4946
4699
|
});
|
|
4947
4700
|
|
|
4948
|
-
var css$j = {"root":"
|
|
4701
|
+
var css$j = {"root":"_34usSb","main-panel":"tFE07k","mainPanel":"tFE07k","group":"TNQxZQ","group-title":"ZmdI-4","groupTitle":"ZmdI-4","group-items":"w2bVG-","groupItems":"w2bVG-","no-data":"WZ4Mdd","noData":"WZ4Mdd","no-data-title":"_-7iFgQ","noDataTitle":"_-7iFgQ","no-data-sub-title":"z3dKfW","noDataSubTitle":"z3dKfW","h-divider":"MgAQE6","hDivider":"MgAQE6","search-area":"qHlqOe","searchArea":"qHlqOe","subgroup-accordion":"lVhHDG","subgroupAccordion":"lVhHDG","subgroup":"n33Vcd","subgroup-title":"tT74NN","subgroupTitle":"tT74NN"};
|
|
4949
4702
|
|
|
4950
4703
|
const renderGroupTitle = (title, amount) => (React__namespace.createElement(FlexRow, { cx: css$j.group },
|
|
4951
4704
|
React__namespace.createElement(Text, { size: "none", cx: css$j.groupTitle }, title),
|
|
4952
|
-
React__namespace.createElement(CountIndicator, { caption: amount, color: "neutral", size: settings.dataTable.
|
|
4705
|
+
React__namespace.createElement(CountIndicator, { caption: amount, color: "neutral", size: settings.sizes.dataTable.columnsConfigurationModal.countIndicator }),
|
|
4953
4706
|
React__namespace.createElement(uuiComponents.FlexSpacer, null)));
|
|
4954
4707
|
function ColumnsConfigurationModal(props) {
|
|
4955
4708
|
const i18n$1 = i18n.tables.columnsConfigurationModal;
|
|
@@ -4994,13 +4747,13 @@ function ColumnsConfigurationModal(props) {
|
|
|
4994
4747
|
};
|
|
4995
4748
|
const applyButton = React__namespace.createElement(Button, { caption: i18n$1.applyButton, isDisabled: !hasAnySelectedColumns, color: "primary", onClick: apply });
|
|
4996
4749
|
return (React__namespace.createElement(ModalBlocker, { ...modalProps },
|
|
4997
|
-
React__namespace.createElement(ModalWindow, { cx:
|
|
4750
|
+
React__namespace.createElement(ModalWindow, { cx: css$j.root, height: "95dvh", maxHeight: "95dvh", width: settings.sizes.dataTable.columnsConfigurationModal.width },
|
|
4998
4751
|
React__namespace.createElement(ModalHeader, { title: i18n$1.configureColumnsTitle, onClose: close }),
|
|
4999
4752
|
React__namespace.createElement(FlexRow, { borderBottom: true, cx: css$j.searchArea },
|
|
5000
|
-
React__namespace.createElement(SearchInput, { size: settings.dataTable.
|
|
4753
|
+
React__namespace.createElement(SearchInput, { size: settings.sizes.dataTable.columnsConfigurationModal.search, value: searchValue, onValueChange: setSearchValue, placeholder: i18n$1.searchPlaceholder }),
|
|
5001
4754
|
React__namespace.createElement(Dropdown, { closeOnTargetClick: true, renderBody: () => (React__namespace.createElement(DropdownMenuBody, { minWidth: 100 },
|
|
5002
4755
|
React__namespace.createElement(DropdownMenuButton, { caption: i18n$1.clearAllButton, onClick: uncheckAll }),
|
|
5003
|
-
React__namespace.createElement(DropdownMenuButton, { caption: i18n$1.selectAllButton, onClick: checkAll }))), renderTarget: (props) => (React__namespace.createElement(Button, { ...props, fill: "none", icon:
|
|
4756
|
+
React__namespace.createElement(DropdownMenuButton, { caption: i18n$1.selectAllButton, onClick: checkAll }))), renderTarget: (props) => (React__namespace.createElement(Button, { ...props, fill: "none", icon: ForwardRef$g, size: settings.sizes.dataTable.columnsConfigurationModal.search, color: "secondary", isDropdown: false })) })),
|
|
5004
4757
|
React__namespace.createElement(Panel, { background: "surface-main", cx: css$j.mainPanel },
|
|
5005
4758
|
React__namespace.createElement(ScrollBars, null,
|
|
5006
4759
|
renderVisible(),
|
|
@@ -5009,7 +4762,7 @@ function ColumnsConfigurationModal(props) {
|
|
|
5009
4762
|
React__namespace.createElement(Text, { cx: css$j.noDataTitle }, i18n$1.noResultsFound.title),
|
|
5010
4763
|
React__namespace.createElement(Text, { cx: css$j.noDataSubTitle }, i18n$1.noResultsFound.subTitle))))),
|
|
5011
4764
|
React__namespace.createElement(ModalFooter, { borderTop: true },
|
|
5012
|
-
React__namespace.createElement(LinkButton, { icon:
|
|
4765
|
+
React__namespace.createElement(LinkButton, { icon: ForwardRef$f, caption: i18n$1.resetToDefaultButton, onClick: reset }),
|
|
5013
4766
|
React__namespace.createElement(uuiComponents.FlexSpacer, null),
|
|
5014
4767
|
React__namespace.createElement(Button, { fill: "none", color: "secondary", caption: i18n$1.cancelButton, onClick: close }),
|
|
5015
4768
|
!hasAnySelectedColumns ? (React__namespace.createElement(Tooltip, { content: i18n$1.enableAtLeastOneColumnMessage, placement: "top-end", color: "critical" }, applyButton)) : (applyButton)))));
|
|
@@ -5019,12 +4772,12 @@ function SubGroup(props) {
|
|
|
5019
4772
|
const { title, items, renderItem } = props;
|
|
5020
4773
|
const isCollapsible = !!title;
|
|
5021
4774
|
if (items.length) {
|
|
5022
|
-
const content = (React__namespace.createElement(FlexRow, { cx: css$j.groupItems, size: settings.dataTable.
|
|
4775
|
+
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 })))));
|
|
5023
4776
|
if (isCollapsible) {
|
|
5024
4777
|
const renderTitle = (isOpened) => {
|
|
5025
|
-
const toggleIcon =
|
|
4778
|
+
const toggleIcon = isOpened ? ForwardRef$Q : ForwardRef$v;
|
|
5026
4779
|
return (React__namespace.createElement(FlexRow, { cx: uuiCore.cx(css$j.subgroup) },
|
|
5027
|
-
React__namespace.createElement(uuiComponents.IconContainer, { icon: toggleIcon }),
|
|
4780
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: settings.sizes.dataTable.columnsConfigurationModal.subgroupIcon, icon: toggleIcon }),
|
|
5028
4781
|
React__namespace.createElement(Text, { size: "none", color: "tertiary", cx: css$j.subgroupTitle }, title)));
|
|
5029
4782
|
};
|
|
5030
4783
|
return (React__namespace.createElement(uuiComponents.Accordion, { value: isExpanded, onValueChange: setIsExpanded, renderTitle: renderTitle, cx: css$j.subgroupAccordion }, content));
|
|
@@ -5034,6 +4787,8 @@ function SubGroup(props) {
|
|
|
5034
4787
|
return null;
|
|
5035
4788
|
}
|
|
5036
4789
|
|
|
4790
|
+
var css$i = {"listContainer":"dNolJx","header":"HvUXWk","group":"_9sfer-","stickyHeader":"gEt26-"};
|
|
4791
|
+
|
|
5037
4792
|
const getChildrenAndRest = (row, rows) => {
|
|
5038
4793
|
const firstNotChildIndex = rows.findIndex((other) => other.depth < row.depth || (row.depth === other.depth && other.isPinned));
|
|
5039
4794
|
if (firstNotChildIndex === -1) {
|
|
@@ -5047,8 +4802,6 @@ const getChildrenAndRest = (row, rows) => {
|
|
|
5047
4802
|
return [children, rest];
|
|
5048
4803
|
};
|
|
5049
4804
|
|
|
5050
|
-
var css$i = {"listContainer":"_1ShK6U","header":"L6bPJ0","group":"dGb1lq","stickyHeader":"z1s1hv"};
|
|
5051
|
-
|
|
5052
4805
|
function DataRowsGroup({ row, childRows, renderRow, top = 1, }) {
|
|
5053
4806
|
const rowRef = React.useRef();
|
|
5054
4807
|
const childrenPinnedTop = row.isPinned ? (top + (rowRef.current?.clientHeight ?? 0)) : top;
|
|
@@ -5087,7 +4840,147 @@ function DataRowsContainer({ estimatedHeight, listContainerRef, offsetY, rows, r
|
|
|
5087
4840
|
React__namespace.default.createElement(DataRowsGroups, { rows: rows, renderRow: renderRow, top: headerRef?.current?.clientHeight }))));
|
|
5088
4841
|
}
|
|
5089
4842
|
|
|
5090
|
-
var
|
|
4843
|
+
var _path$4, _path2, _path3, _path4, _path5, _path6, _g, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _defs;
|
|
4844
|
+
function _extends$4() { return _extends$4 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$4.apply(null, arguments); }
|
|
4845
|
+
var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
4846
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
|
|
4847
|
+
width: 232,
|
|
4848
|
+
height: 180,
|
|
4849
|
+
viewBox: "0 0 232 180",
|
|
4850
|
+
fill: "none",
|
|
4851
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4852
|
+
ref: ref
|
|
4853
|
+
}, props), /*#__PURE__*/React__namespace.createElement("g", {
|
|
4854
|
+
clipPath: "url(#hhlv34u68tyvn02z_a)"
|
|
4855
|
+
}, _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4856
|
+
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",
|
|
4857
|
+
fill: "#F5F6FA"
|
|
4858
|
+
})), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4859
|
+
d: "m58.069 136.51-.654 4.238-1.27-5.38a58.934 58.934 0 0 0-11.462-4.965l-.083 5.636-2.545-6.393a55.094 55.094 0 0 0-13.655-1.854l.704 6.178-3.356-6.108c-4.151.183-8.256.946-12.195 2.268l2.33 3.525s-2.173-1.597-4.084-2.896a40.951 40.951 0 0 0-10.833 6.285 85.492 85.492 0 0 0 12.575 10.527c2.482-.637 5.127-1.279 5.127-1.279l-3.261 2.537a69.366 69.366 0 0 0 13.283 6.865c2.346-1.353 5.416-3.269 5.416-3.269l-3.554 3.931a42.226 42.226 0 0 0 15.45 2.359l4.259-4.213-1.697 4.001c7.002-.848 14.144-3.902 20.95-10.344-1.621-3.869-5.768-8.073-11.445-11.649Z",
|
|
4860
|
+
fill: "#9BDEFF"
|
|
4861
|
+
})), _path3 || (_path3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4862
|
+
fillRule: "evenodd",
|
|
4863
|
+
clipRule: "evenodd",
|
|
4864
|
+
d: "M.557 136.978a.413.413 0 0 1 .475-.342l68.549 11.118a.414.414 0 0 1-.133.817L.9 137.453a.415.415 0 0 1-.342-.475Z",
|
|
4865
|
+
fill: "#fff"
|
|
4866
|
+
})), _path4 || (_path4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4867
|
+
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",
|
|
4868
|
+
fill: "#9BDEFF"
|
|
4869
|
+
})), _path5 || (_path5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4870
|
+
fillRule: "evenodd",
|
|
4871
|
+
clipRule: "evenodd",
|
|
4872
|
+
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",
|
|
4873
|
+
fill: "#1D1E26"
|
|
4874
|
+
})), /*#__PURE__*/React__namespace.createElement("mask", {
|
|
4875
|
+
id: "hhlv3430y8ih0mnts_b",
|
|
4876
|
+
style: {
|
|
4877
|
+
maskType: "alpha"
|
|
4878
|
+
},
|
|
4879
|
+
maskUnits: "userSpaceOnUse",
|
|
4880
|
+
x: 81,
|
|
4881
|
+
y: 22,
|
|
4882
|
+
width: 100,
|
|
4883
|
+
height: 104
|
|
4884
|
+
}, _path6 || (_path6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4885
|
+
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",
|
|
4886
|
+
fill: "#9BDEFF"
|
|
4887
|
+
}))), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
4888
|
+
mask: "url(#hhlv3430y8ih0mnts_b)",
|
|
4889
|
+
fillRule: "evenodd",
|
|
4890
|
+
clipRule: "evenodd"
|
|
4891
|
+
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
4892
|
+
d: "M69.817 99.247a.414.414 0 0 1 .585-.003l50.88 50.483a.414.414 0 0 1-.583.588l-50.88-50.483a.414.414 0 0 1-.002-.585ZM72.802 28.407a.414.414 0 0 1 .553.192l63.6 131.172a.413.413 0 1 1-.745.361L72.61 28.96a.414.414 0 0 1 .192-.553Z",
|
|
4893
|
+
fill: "#fff"
|
|
4894
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
4895
|
+
d: "M142.576 6.515a.415.415 0 0 1 .087.58L60.185 118.817a.413.413 0 1 1-.665-.491L141.997 6.603a.414.414 0 0 1 .579-.088ZM197.977 60.314c.181.14.214.4.075.58l-76.734 99.311a.414.414 0 0 1-.655-.506l76.734-99.31a.413.413 0 0 1 .58-.075ZM192.316 43.44a.413.413 0 0 1-.103.576L60.089 135.878a.414.414 0 0 1-.473-.68L191.74 43.336a.414.414 0 0 1 .576.104Z",
|
|
4896
|
+
fill: "#fff"
|
|
4897
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
4898
|
+
d: "M91.966 11.532a.414.414 0 0 1 .585-.021l129.252 120a.414.414 0 0 1-.563.606l-129.252-120a.414.414 0 0 1-.022-.585ZM75.232 2.769a.414.414 0 0 1 .568.143l93.554 156.828a.414.414 0 1 1-.711.424L75.089 3.336a.414.414 0 0 1 .143-.567ZM125.643.329a.414.414 0 0 1 .584.041l71.81 82.759a.413.413 0 1 1-.625.542L125.602.913a.414.414 0 0 1 .041-.584Z",
|
|
4899
|
+
fill: "#fff"
|
|
4900
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
4901
|
+
d: "M67.271 75.369a.414.414 0 0 1 .547-.209l156.745 70.345a.413.413 0 1 1-.339.755L67.479 75.916a.414.414 0 0 1-.208-.547Z",
|
|
4902
|
+
fill: "#fff"
|
|
4903
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
4904
|
+
d: "M159.279 8.938a.414.414 0 0 1 .265.522L101.278 187.39a.413.413 0 1 1-.787-.258l58.266-177.93a.414.414 0 0 1 .522-.265Z",
|
|
4905
|
+
fill: "#fff"
|
|
4906
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
4907
|
+
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",
|
|
4908
|
+
fill: "#1D1E26"
|
|
4909
|
+
}))), _path7 || (_path7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4910
|
+
d: "M180.287 30.828H81.39v-3.724a4.966 4.966 0 0 1 4.966-4.966H175.3a4.963 4.963 0 0 1 4.986 4.965v3.725Z",
|
|
4911
|
+
fill: "#fff"
|
|
4912
|
+
})), _path8 || (_path8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4913
|
+
fillRule: "evenodd",
|
|
4914
|
+
clipRule: "evenodd",
|
|
4915
|
+
d: "M177.05 22.893a4.548 4.548 0 0 0-1.748-.341H86.356a4.552 4.552 0 0 0-4.552 4.552v3.31h98.069v-3.31a4.55 4.55 0 0 0-2.823-4.211Zm-1.75-1.169a5.375 5.375 0 0 1 4.989 3.316c.272.654.412 1.355.412 2.064v3.724a.414.414 0 0 1-.414.413H81.39a.414.414 0 0 1-.413-.413v-3.724a5.38 5.38 0 0 1 5.379-5.38H175.3Z",
|
|
4916
|
+
fill: "#1D1E26"
|
|
4917
|
+
})), _path9 || (_path9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4918
|
+
d: "M87.324 28.217a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6ZM93.597 28.217a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6ZM99.866 28.217a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6Z",
|
|
4919
|
+
fill: "#1D1E26"
|
|
4920
|
+
})), _path10 || (_path10 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4921
|
+
d: "M151.71 47.806H63.614a4.986 4.986 0 0 0-4.986 4.986v93.062a4.986 4.986 0 0 0 4.986 4.986h88.096a4.986 4.986 0 0 0 4.987-4.986V52.792a4.987 4.987 0 0 0-4.987-4.986Z",
|
|
4922
|
+
fill: "#fff"
|
|
4923
|
+
})), _path11 || (_path11 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4924
|
+
fillRule: "evenodd",
|
|
4925
|
+
clipRule: "evenodd",
|
|
4926
|
+
d: "M63.614 48.22a4.572 4.572 0 0 0-4.572 4.572v93.062a4.572 4.572 0 0 0 4.572 4.572h88.096a4.572 4.572 0 0 0 4.573-4.572V52.792a4.572 4.572 0 0 0-4.573-4.573H63.614Zm-5.4 4.572a5.4 5.4 0 0 1 5.4-5.4h88.096a5.4 5.4 0 0 1 5.4 5.4v93.062a5.4 5.4 0 0 1-5.4 5.4H63.614a5.4 5.4 0 0 1-5.4-5.4V52.792Z",
|
|
4927
|
+
fill: "#1D1E26"
|
|
4928
|
+
})), _path12 || (_path12 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4929
|
+
d: "M157.11 56.081H58.214v-3.724a4.986 4.986 0 0 1 4.986-4.965h88.924a4.988 4.988 0 0 1 4.986 4.965v3.724Z",
|
|
4930
|
+
fill: "#008ACE"
|
|
4931
|
+
})), _path13 || (_path13 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4932
|
+
d: "M64.566 53.474a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6ZM70.835 53.474a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6ZM77.103 53.474a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6Z",
|
|
4933
|
+
fill: "#1D1E26"
|
|
4934
|
+
})), _path14 || (_path14 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4935
|
+
fillRule: "evenodd",
|
|
4936
|
+
clipRule: "evenodd",
|
|
4937
|
+
d: "M48.968 36.067a.414.414 0 0 1 .585.018l7.005 7.448a.414.414 0 1 1-.603.567l-7.005-7.448a.414.414 0 0 1 .018-.585ZM46.99 44.047a.414.414 0 0 1 .554-.188l6.269 3.104a.414.414 0 0 1-.367.742l-6.27-3.104a.414.414 0 0 1-.187-.554ZM183.97 9.366a.414.414 0 0 1 .213.545l-2.896 6.62a.414.414 0 0 1-.759-.331l2.897-6.621a.414.414 0 0 1 .545-.213ZM192.373 9.866a.415.415 0 0 1 0 .585l-8.276 8.276a.414.414 0 1 1-.585-.585l8.275-8.276a.415.415 0 0 1 .586 0ZM192.464 19.108a.413.413 0 0 1-.23.538l-6.207 2.483a.414.414 0 0 1-.308-.768l6.207-2.483a.414.414 0 0 1 .538.23ZM182.977 54.848c.228 0 .413.185.413.414v58.345a.414.414 0 1 1-.827 0V55.262c0-.229.185-.414.414-.414Z",
|
|
4938
|
+
fill: "#1D1E26"
|
|
4939
|
+
})), _path15 || (_path15 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4940
|
+
d: "M133.371 157.945c23.196 0 42-18.804 42-42s-18.804-42-42-42-42 18.804-42 42 18.804 42 42 42Z",
|
|
4941
|
+
fill: "#008ACE"
|
|
4942
|
+
})), _path16 || (_path16 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4943
|
+
d: "M133.371 149.669c18.625 0 33.724-15.099 33.724-33.724 0-18.625-15.099-33.724-33.724-33.724-18.625 0-33.724 15.099-33.724 33.724 0 18.625 15.099 33.724 33.724 33.724Z",
|
|
4944
|
+
fill: "#fff"
|
|
4945
|
+
})), _path17 || (_path17 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4946
|
+
d: "M117.312 113.565a3.807 3.807 0 1 0 0-7.614 3.807 3.807 0 0 0 0 7.614ZM149.435 113.565a3.806 3.806 0 1 0 0-7.612 3.806 3.806 0 0 0 0 7.612Z",
|
|
4947
|
+
fill: "#1D1E26"
|
|
4948
|
+
})), _path18 || (_path18 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4949
|
+
fillRule: "evenodd",
|
|
4950
|
+
clipRule: "evenodd",
|
|
4951
|
+
d: "M133.38 123.952c-4.592 0-8.525 2.259-10.468 5.423a.827.827 0 1 1-1.41-.866c2.27-3.697 6.762-6.212 11.878-6.212 5.108 0 9.646 2.485 11.882 6.22a.827.827 0 1 1-1.42.85c-1.902-3.176-5.863-5.415-10.462-5.415Z",
|
|
4952
|
+
fill: "#1D1E26"
|
|
4953
|
+
})), _path19 || (_path19 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4954
|
+
d: "m170.965 137.356-7.822 9.777 1.668 1.334 7.822-9.777-1.668-1.334Z",
|
|
4955
|
+
fill: "#1D1E26"
|
|
4956
|
+
})), _path20 || (_path20 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4957
|
+
d: "M200.774 163.345c.579 2.143-3.331 6.852-5.553 6.939-7.035.277-28.73-23.913-28.73-23.913l4.44-5.553s28.122 16.142 29.843 22.527Z",
|
|
4958
|
+
fill: "#9BDEFF"
|
|
4959
|
+
})), _path21 || (_path21 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4960
|
+
d: "M204.424 178.378a6.223 6.223 0 0 0 6.223-6.224 6.224 6.224 0 1 0-6.223 6.224Z",
|
|
4961
|
+
fill: "#9BDEFF"
|
|
4962
|
+
})), _path22 || (_path22 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4963
|
+
d: "M199.586 168.269a6.173 6.173 0 0 1 3.311-2.131l-2.123-1.697c-.464 2.069-2.959 4.995-4.837 5.69l2.296 1.837a6.173 6.173 0 0 1 1.353-3.699Z",
|
|
4964
|
+
fill: "#1D1E26"
|
|
4965
|
+
})), _path23 || (_path23 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4966
|
+
d: "m72.357 138.314-3.5 2.955 2.722-5.317a67.379 67.379 0 0 0-5.958-12.509l-4.014 4.514 2.38-7.076a63.412 63.412 0 0 0-9.932-11.611l-3.724 5.549 1.54-7.448a50.152 50.152 0 0 0-11.628-7.179l-.567 4.605s-.675-2.896-1.333-5.38a44.62 44.62 0 0 0-13.315-2.896 96.722 96.722 0 0 0 2.983 17.856c2.483 1.311 5.119 2.751 5.119 2.751l-4.461-.347a79.474 79.474 0 0 0 6.091 15.385c2.897.637 6.745 1.353 6.745 1.353l-5.677.55c2.871 4.965 6.492 9.6 11.069 13.349l6.45-.269-4.191 1.99c6.356 4.49 14.37 7.3 24.48 7.105 1.398-4.332.902-10.816-1.279-17.93Z",
|
|
4967
|
+
fill: "#008ACE"
|
|
4968
|
+
})), _path24 || (_path24 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4969
|
+
fillRule: "evenodd",
|
|
4970
|
+
clipRule: "evenodd",
|
|
4971
|
+
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",
|
|
4972
|
+
fill: "#fff"
|
|
4973
|
+
}))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
4974
|
+
id: "hhlv34u68tyvn02z_a"
|
|
4975
|
+
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
4976
|
+
fill: "#fff",
|
|
4977
|
+
transform: "translate(.552)",
|
|
4978
|
+
d: "M0 0h230.897v180H0z"
|
|
4979
|
+
})))));
|
|
4980
|
+
};
|
|
4981
|
+
var ForwardRef$4 = /*#__PURE__*/React.forwardRef(SvgEmptyTable);
|
|
4982
|
+
|
|
4983
|
+
var css$h = {"root":"SFW5QM","sticky-header":"TRWsOr","stickyHeader":"TRWsOr","no-results":"waW0l7","noResults":"waW0l7","icon":"isJ5qq","title":"sMIN7t"};
|
|
5091
4984
|
|
|
5092
4985
|
function DataTable(props) {
|
|
5093
4986
|
const { uuiModals } = uuiCore.useUuiContext();
|
|
@@ -5095,13 +4988,13 @@ function DataTable(props) {
|
|
|
5095
4988
|
const columnsWithFilters = useColumnsWithFilters(props.columns, props.filters);
|
|
5096
4989
|
const { columns, config, defaultConfig } = uuiCore.useColumnsConfig(columnsWithFilters, props.value?.columnsConfig);
|
|
5097
4990
|
const defaultRenderRow = React__namespace.useCallback((rowProps) => {
|
|
5098
|
-
return (React__namespace.createElement(DataTableRow, { size: props.size || settings.dataTable.
|
|
4991
|
+
return (React__namespace.createElement(DataTableRow, { size: props.size || settings.sizes.dataTable.body.row.default, columnsGap: props.columnsGap, borderBottom: props.border, ...rowProps, key: rowProps.rowKey, cx: css$h.cell }));
|
|
5099
4992
|
}, []);
|
|
5100
4993
|
const renderRow = (row) => (props.renderRow ?? defaultRenderRow)({ ...row, columns });
|
|
5101
4994
|
const rows = props.getRows?.() ?? props.rows ?? [];
|
|
5102
4995
|
const renderNoResultsBlock = React__namespace.useCallback(() => {
|
|
5103
4996
|
return (React__namespace.createElement("div", { className: css$h.noResults }, props.renderNoResultsBlock ? (props.renderNoResultsBlock?.()) : (React__namespace.createElement(React__namespace.Fragment, null,
|
|
5104
|
-
React__namespace.createElement(uuiComponents.IconContainer, { cx: css$h.icon, icon:
|
|
4997
|
+
React__namespace.createElement(uuiComponents.IconContainer, { cx: css$h.icon, icon: ForwardRef$4 }),
|
|
5105
4998
|
React__namespace.createElement(Text, { cx: css$h.title, fontSize: "24", lineHeight: "30", color: "primary", fontWeight: "600" }, i18n.tables.noResultsBlock.title),
|
|
5106
4999
|
React__namespace.createElement(Text, { fontSize: "16", lineHeight: "24", color: "primary" }, i18n.tables.noResultsBlock.message)))));
|
|
5107
5000
|
}, [props.renderNoResultsBlock]);
|
|
@@ -5120,7 +5013,7 @@ function DataTable(props) {
|
|
|
5120
5013
|
]);
|
|
5121
5014
|
const renderRowsContainer = React__namespace.useCallback(({ listContainerRef, estimatedHeight, offsetY, scrollShadows }) => (React__namespace.createElement(React__namespace.Fragment, null,
|
|
5122
5015
|
React__namespace.createElement("div", { className: css$h.stickyHeader, ref: headerRef },
|
|
5123
|
-
React__namespace.createElement(DataTableHeaderRow, { columns: columns, columnGroups: props.columnGroups, onConfigButtonClick: props.showColumnsConfig && onConfigurationButtonClick, selectAll: props.selectAll, size: props.headerSize || settings.dataTable.
|
|
5016
|
+
React__namespace.createElement(DataTableHeaderRow, { columns: columns, columnGroups: props.columnGroups, onConfigButtonClick: props.showColumnsConfig && onConfigurationButtonClick, selectAll: props.selectAll, size: props.headerSize || settings.sizes.dataTable.header.row.default, textCase: props.headerTextCase, allowColumnsReordering: props.allowColumnsReordering, allowColumnsResizing: props.allowColumnsResizing, showFoldAll: props.showFoldAll, value: { ...props.value, columnsConfig: config }, onValueChange: props.onValueChange, columnsGap: props.columnsGap }),
|
|
5124
5017
|
React__namespace.createElement("div", { className: uuiCore.cx(uuiCore.uuiScrollShadows.top, {
|
|
5125
5018
|
[uuiCore.uuiScrollShadows.topVisible]: scrollShadows.verticalTop,
|
|
5126
5019
|
}) })),
|
|
@@ -5136,9 +5029,9 @@ function DataTable(props) {
|
|
|
5136
5029
|
} }))));
|
|
5137
5030
|
}
|
|
5138
5031
|
|
|
5139
|
-
var css$g = {"root":"
|
|
5032
|
+
var css$g = {"root":"_4X2Q75"};
|
|
5140
5033
|
|
|
5141
|
-
var css$f = {"root":"
|
|
5034
|
+
var css$f = {"root":"TsvX05","burger-content":"_2lytht","burgerContent":"_2lytht"};
|
|
5142
5035
|
|
|
5143
5036
|
var _path$3;
|
|
5144
5037
|
function _extends$3() { return _extends$3 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$3.apply(null, arguments); }
|
|
@@ -5181,7 +5074,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
5181
5074
|
};
|
|
5182
5075
|
var ForwardRef$2 = /*#__PURE__*/React.forwardRef(SvgNavigationArrowDownOutline);
|
|
5183
5076
|
|
|
5184
|
-
var css$e = {"root":"
|
|
5077
|
+
var css$e = {"root":"mKTtlw","button-primary":"Z6AQay","buttonPrimary":"Z6AQay","button-secondary":"_8wVmR9","buttonSecondary":"_8wVmR9","hasIcon":"_2hwIFt","dropdown":"tja-v1"};
|
|
5185
5078
|
|
|
5186
5079
|
const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (props) => [
|
|
5187
5080
|
css$e.root,
|
|
@@ -5192,13 +5085,13 @@ const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (prop
|
|
|
5192
5085
|
props.icon && css$e.hasIcon,
|
|
5193
5086
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
5194
5087
|
|
|
5195
|
-
var css$d = {"search-input":"
|
|
5088
|
+
var css$d = {"search-input":"ZmvXKA","searchInput":"ZmvXKA"};
|
|
5196
5089
|
|
|
5197
5090
|
function BurgerSearch(props) {
|
|
5198
|
-
return (React__namespace.createElement(uuiComponents.TextInput, { cx: cx__default.default(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$
|
|
5091
|
+
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 }));
|
|
5199
5092
|
}
|
|
5200
5093
|
|
|
5201
|
-
var css$c = {"root":"
|
|
5094
|
+
var css$c = {"root":"p-qyR-","group-header":"R0Ldu5","groupHeader":"R0Ldu5","group-name":"VMJaVC","groupName":"VMJaVC","line":"oiQyxP"};
|
|
5202
5095
|
|
|
5203
5096
|
function BurgerGroupHeader(props) {
|
|
5204
5097
|
return (React__namespace.createElement("div", { className: cx__default.default(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -5206,7 +5099,7 @@ function BurgerGroupHeader(props) {
|
|
|
5206
5099
|
React__namespace.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
5207
5100
|
}
|
|
5208
5101
|
|
|
5209
|
-
var css$b = {"root":"
|
|
5102
|
+
var css$b = {"root":"_2gPlAZ","type-primary":"_2i74T5","typePrimary":"_2i74T5","type-secondary":"lGbLz1","typeSecondary":"lGbLz1"};
|
|
5210
5103
|
|
|
5211
5104
|
const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5212
5105
|
const { type, ...clickableProps } = props;
|
|
@@ -5228,7 +5121,7 @@ const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
|
|
|
5228
5121
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$Q, flipY: props.isOpen }))));
|
|
5229
5122
|
});
|
|
5230
5123
|
|
|
5231
|
-
var css$a = {"dropdown-body":"
|
|
5124
|
+
var css$a = {"dropdown-body":"Z2j47i","dropdownBody":"Z2j47i"};
|
|
5232
5125
|
|
|
5233
5126
|
class MainMenuDropdown extends React__namespace.Component {
|
|
5234
5127
|
render() {
|
|
@@ -5286,12 +5179,12 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
5286
5179
|
};
|
|
5287
5180
|
var ForwardRef$1 = /*#__PURE__*/React.forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
5288
5181
|
|
|
5289
|
-
var css$9 = {"global-menu-btn":"
|
|
5182
|
+
var css$9 = {"global-menu-btn":"wNUZop","globalMenuBtn":"wNUZop","global-menu-icon":"JNzjPq","globalMenuIcon":"JNzjPq"};
|
|
5290
5183
|
|
|
5291
5184
|
const GlobalMenu = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("button", { ref: ref, id: "global_menu_toggle", className: cx__default.default(css$9.globalMenuBtn, props.cx), ...props.rawProps },
|
|
5292
5185
|
React__namespace.createElement(uuiComponents.IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
5293
5186
|
|
|
5294
|
-
var css$8 = {"container":"
|
|
5187
|
+
var css$8 = {"container":"cRJ-ai","open":"VKzsYJ","folding-arrow":"_8yChxM","foldingArrow":"_8yChxM"};
|
|
5295
5188
|
|
|
5296
5189
|
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, ...props.rawProps },
|
|
5297
5190
|
React__namespace.createElement(uuiComponents.Avatar, { size: "36", img: props.avatarUrl }),
|
|
@@ -5299,15 +5192,15 @@ const MainMenuAvatar = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
|
|
|
5299
5192
|
props.isDropdown && (React__namespace.createElement("div", null,
|
|
5300
5193
|
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, icon: ForwardRef$Q, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
|
|
5301
5194
|
|
|
5302
|
-
var css$7 = {"search-input":"
|
|
5195
|
+
var css$7 = {"search-input":"WMhNvn","searchInput":"WMhNvn"};
|
|
5303
5196
|
|
|
5304
|
-
const MainMenuSearch = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement(uuiCore.IEditableDebouncer, { ...props, render: (iEditable) => (React__namespace.createElement(uuiComponents.TextInput, { iconPosition: "left", icon: ForwardRef$
|
|
5197
|
+
const MainMenuSearch = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement(uuiCore.IEditableDebouncer, { ...props, render: (iEditable) => (React__namespace.createElement(uuiComponents.TextInput, { iconPosition: "left", icon: ForwardRef$O, cancelIcon: props.value?.length > 0 && ForwardRef$R, ...props, ...iEditable, ref: ref, cx: uuiCore.cx(css$7.searchInput, props.cx), ...props.rawProps })) })));
|
|
5305
5198
|
|
|
5306
|
-
var css$6 = {"container":"
|
|
5199
|
+
var css$6 = {"container":"p811VD"};
|
|
5307
5200
|
|
|
5308
5201
|
const MainMenuIcon = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement(IconButton, { ref: ref, icon: props.icon, cx: uuiCore.cx(props.cx, css$6.container), ...props })));
|
|
5309
5202
|
|
|
5310
|
-
var css$5 = {"root":"
|
|
5203
|
+
var css$5 = {"root":"dO7-tb"};
|
|
5311
5204
|
|
|
5312
5205
|
const Anchor = /* @__PURE__ */uuiCore.withMods(uuiComponents.Anchor, () => [css$5.root]);
|
|
5313
5206
|
|
|
@@ -5365,7 +5258,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
5365
5258
|
};
|
|
5366
5259
|
var ForwardRef = /*#__PURE__*/React.forwardRef(SvgFileCloudUploadFill);
|
|
5367
5260
|
|
|
5368
|
-
var css$4 = {"root":"
|
|
5261
|
+
var css$4 = {"root":"wiBpBK","drop-start":"LRtNmY","dropStart":"LRtNmY","drop-over":"_-0fVrd","dropOver":"_-0fVrd","link":"QPedgC","drop-area":"FmarRc","dropArea":"FmarRc","drop-caption":"jtcgFR","dropCaption":"jtcgFR","icon-blue":"Y-VxcI","iconBlue":"Y-VxcI"};
|
|
5369
5262
|
|
|
5370
5263
|
function DropSpot(props) {
|
|
5371
5264
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -5383,19 +5276,19 @@ function DropSpot(props) {
|
|
|
5383
5276
|
return React__namespace.createElement(uuiComponents.DropSpot, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
5384
5277
|
}
|
|
5385
5278
|
|
|
5386
|
-
var css$3 = {"root":"
|
|
5279
|
+
var css$3 = {"root":"nD-H3Z","file-name":"unuYec","fileName":"unuYec","default-color":"_9nUO79","defaultColor":"_9nUO79","doc-color":"UaW9F0","docColor":"UaW9F0","xls-color":"M5K7qY","xlsColor":"M5K7qY","pdf-color":"bz0M3f","pdfColor":"bz0M3f","movie-color":"Gd5ynl","movieColor":"Gd5ynl","img-color":"znYdGw","imgColor":"znYdGw","mov-color":"Wz4lRA","movColor":"Wz4lRA","error-block":"dzn5Px","errorBlock":"dzn5Px","icons-block":"i4ZRyZ","iconsBlock":"i4ZRyZ"};
|
|
5280
|
+
|
|
5281
|
+
var css$2 = {"root":"PhHXD-"};
|
|
5387
5282
|
|
|
5388
5283
|
const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5389
5284
|
const outsetRadius = props.size / 2 - 1;
|
|
5390
5285
|
const insetRadius = props.size / 2 - 3;
|
|
5391
5286
|
const circumference = insetRadius * Math.PI;
|
|
5392
|
-
return (React__namespace.createElement("svg", { className: css$
|
|
5287
|
+
return (React__namespace.createElement("svg", { className: css$2.root, width: props.size, height: props.size, ref: ref, ...props.rawProps },
|
|
5393
5288
|
React__namespace.createElement("circle", { strokeDasharray: circumference, strokeDashoffset: circumference - (props.progress / 100) * circumference, strokeWidth: insetRadius, fill: "transparent", r: insetRadius / 2, cx: props.size / 2, cy: props.size / 2 }),
|
|
5394
5289
|
React__namespace.createElement("circle", { strokeWidth: 1, fill: "transparent", r: outsetRadius, cx: props.size / 2, cy: props.size / 2 })));
|
|
5395
5290
|
});
|
|
5396
5291
|
|
|
5397
|
-
var css$2 = {"root":"HJtz6I","file-name":"nBw-Gu","fileName":"nBw-Gu","default-color":"A0vyNi","defaultColor":"A0vyNi","doc-color":"_4gcU3Q","docColor":"_4gcU3Q","xls-color":"CVZ2X8","xlsColor":"CVZ2X8","pdf-color":"_0T-m1f","pdfColor":"_0T-m1f","movie-color":"KJrzAy","movieColor":"KJrzAy","img-color":"tHyFw-","imgColor":"tHyFw-","mov-color":"wwxsbU","movColor":"wwxsbU","error-block":"_9AxFhU","errorBlock":"_9AxFhU","icons-block":"_47KjER","iconsBlock":"_47KjER"};
|
|
5398
|
-
|
|
5399
5292
|
const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5400
5293
|
const [isLoadingShow, setIsLoadingShow] = React__namespace.useState(true);
|
|
5401
5294
|
const { file } = props;
|
|
@@ -5403,36 +5296,36 @@ const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
5403
5296
|
switch (extension) {
|
|
5404
5297
|
case 'doc':
|
|
5405
5298
|
case 'docx':
|
|
5406
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5299
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: fileIcons.docIcon, cx: css$3.docColor });
|
|
5407
5300
|
case 'xls':
|
|
5408
5301
|
case 'xlsx':
|
|
5409
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5302
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: fileIcons.exelIcon, cx: css$3.xlsColor });
|
|
5410
5303
|
case 'pdf':
|
|
5411
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5304
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: fileIcons.pdfIcon, cx: css$3.pdfColor });
|
|
5412
5305
|
case 'gif':
|
|
5413
5306
|
case 'jpg':
|
|
5414
5307
|
case 'jpeg':
|
|
5415
5308
|
case 'svg':
|
|
5416
5309
|
case 'png':
|
|
5417
5310
|
case 'webp':
|
|
5418
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5311
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: fileIcons.imgIcon, cx: css$3.imgColor });
|
|
5419
5312
|
case 'avi':
|
|
5420
5313
|
case 'mov':
|
|
5421
5314
|
case 'mp4':
|
|
5422
5315
|
case 'wmw':
|
|
5423
5316
|
case 'mkv':
|
|
5424
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5317
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: fileIcons.videoIcon, cx: css$3.movColor });
|
|
5425
5318
|
case 'csv':
|
|
5426
5319
|
case 'xml':
|
|
5427
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5320
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: fileIcons.tableIcon, cx: css$3.defaultColor });
|
|
5428
5321
|
case 'rtf':
|
|
5429
5322
|
case 'txt':
|
|
5430
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5323
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: fileIcons.textIcon, cx: css$3.defaultColor });
|
|
5431
5324
|
case 'eml':
|
|
5432
5325
|
case 'emlx':
|
|
5433
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5326
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: fileIcons.mailIcon, cx: css$3.defaultColor });
|
|
5434
5327
|
default:
|
|
5435
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5328
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: fileIcons.fileIcon, cx: css$3.defaultColor });
|
|
5436
5329
|
}
|
|
5437
5330
|
};
|
|
5438
5331
|
const { cx: componentCx, width, file: { progress, size, name, extension, error, abortXHR, }, onClick, } = props;
|
|
@@ -5449,10 +5342,10 @@ const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
5449
5342
|
setIsLoadingShow(() => false);
|
|
5450
5343
|
};
|
|
5451
5344
|
const renderErrorContent = () => (React__namespace.createElement(Tooltip, { content: file.error.message, placement: "bottom-start" },
|
|
5452
|
-
React__namespace.createElement("div", { className: css$
|
|
5453
|
-
React__namespace.createElement(uuiComponents.IconContainer, { icon:
|
|
5345
|
+
React__namespace.createElement("div", { className: css$3.errorBlock },
|
|
5346
|
+
React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$y, size: 12 }),
|
|
5454
5347
|
i18n.fileCard.failedUploadErrorMessage)));
|
|
5455
|
-
const renderSuccessfulContent = () => (React__namespace.createElement(Text, { size: "
|
|
5348
|
+
const renderSuccessfulContent = () => (React__namespace.createElement(Text, { size: "18", fontSize: "14", lineHeight: "18", color: "tertiary" },
|
|
5456
5349
|
fileExtension && `${fileExtension.toUpperCase()}, `,
|
|
5457
5350
|
isLoading && uuiCore.formatBytes((size / 100) * progress, 2, false) + i18n.fileCard.fileSizeProgress,
|
|
5458
5351
|
uuiCore.formatBytes(size)));
|
|
@@ -5460,15 +5353,15 @@ const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
5460
5353
|
progress && progress < 100 && abortXHR();
|
|
5461
5354
|
onClick();
|
|
5462
5355
|
};
|
|
5463
|
-
return (React__namespace.createElement(FlexCell, { ref: ref, cx: uuiCore.cx(css$
|
|
5356
|
+
return (React__namespace.createElement(FlexCell, { ref: ref, cx: uuiCore.cx(css$3.root, 'uui-file_card', (isLoading || error?.isError) && uuiCore.uuiMod.loading, componentCx, error?.isError && uuiCore.uuiMod.error), minWidth: width, width: !width ? '100%' : undefined },
|
|
5464
5357
|
React__namespace.createElement(FlexRow, { alignItems: "top", columnGap: "6" },
|
|
5465
5358
|
fileExtension && getIcon(fileExtension),
|
|
5466
5359
|
React__namespace.createElement(FlexCell, { width: "100%" },
|
|
5467
|
-
React__namespace.createElement(Text, { size: "
|
|
5360
|
+
React__namespace.createElement(Text, { size: "18", fontSize: "14", lineHeight: "18", color: (progress < 100 || error?.isError) ? 'tertiary' : 'primary', cx: css$3.fileName }, fileName),
|
|
5468
5361
|
error?.isError ? renderErrorContent() : renderSuccessfulContent()),
|
|
5469
|
-
React__namespace.createElement("div", { className: uuiCore.cx(css$
|
|
5362
|
+
React__namespace.createElement("div", { className: uuiCore.cx(css$3.iconsBlock), onMouseEnter: mouseEnterHandler, onMouseLeave: mouseLeaveHandler },
|
|
5470
5363
|
isLoadingShow && isLoading && React__namespace.createElement(SvgCircleProgress, { progress: progress, size: 18 }),
|
|
5471
|
-
isCrossShow && React__namespace.createElement(IconButton, { icon:
|
|
5364
|
+
isCrossShow && React__namespace.createElement(IconButton, { icon: ForwardRef$R, onClick: removeHandler })))));
|
|
5472
5365
|
});
|
|
5473
5366
|
|
|
5474
5367
|
const getRecoveryMessageConfig = () => ({
|
|
@@ -5513,7 +5406,7 @@ const getErrorPageConfig = () => ({
|
|
|
5513
5406
|
},
|
|
5514
5407
|
});
|
|
5515
5408
|
|
|
5516
|
-
var css$1 = {"container":"
|
|
5409
|
+
var css$1 = {"container":"_3xPq9N"};
|
|
5517
5410
|
|
|
5518
5411
|
const ErrorPage = (props) => {
|
|
5519
5412
|
const isMobileScreen = uuiCore.isMobile();
|
|
@@ -5525,7 +5418,7 @@ const ErrorPage = (props) => {
|
|
|
5525
5418
|
props?.supportLink && React__namespace.default.createElement("div", { className: "uui-error-support-link" }, props?.supportLink))));
|
|
5526
5419
|
};
|
|
5527
5420
|
|
|
5528
|
-
var css = {"recovery-spinner":"
|
|
5421
|
+
var css = {"recovery-spinner":"-dl2zQ","recoverySpinner":"-dl2zQ","recovery-message":"-PEZGp","recoveryMessage":"-PEZGp","modal-blocker":"u19foY","modalBlocker":"u19foY","modalFadeIn":"_1HM822"};
|
|
5529
5422
|
|
|
5530
5423
|
function ErrorHandler(props) {
|
|
5531
5424
|
const { uuiNotifications, uuiModals, uuiApi } = uuiCore.useUuiContext();
|
|
@@ -5613,7 +5506,6 @@ exports.ConfirmationModal = ConfirmationModal;
|
|
|
5613
5506
|
exports.ControlGroup = ControlGroup;
|
|
5614
5507
|
exports.CountIndicator = CountIndicator;
|
|
5615
5508
|
exports.DataPickerBody = DataPickerBody;
|
|
5616
|
-
exports.DataPickerCell = DataPickerCell;
|
|
5617
5509
|
exports.DataPickerFooter = DataPickerFooter;
|
|
5618
5510
|
exports.DataPickerHeader = DataPickerHeader;
|
|
5619
5511
|
exports.DataPickerRow = DataPickerRow;
|
|
@@ -5676,7 +5568,7 @@ exports.PickerBodyMobileView = PickerBodyMobileView;
|
|
|
5676
5568
|
exports.PickerInput = PickerInput;
|
|
5677
5569
|
exports.PickerItem = PickerItem;
|
|
5678
5570
|
exports.PickerList = PickerList;
|
|
5679
|
-
exports.
|
|
5571
|
+
exports.PickerListRow = PickerListRow;
|
|
5680
5572
|
exports.PickerModal = PickerModal;
|
|
5681
5573
|
exports.PickerToggler = PickerToggler;
|
|
5682
5574
|
exports.PickerTogglerTag = PickerTogglerTag;
|